(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2e80bb9a"],{ab14:function(t,e,s){"use strict";e["a"]={data:()=>({mainId:Math.floor(1e7*Math.random()),selected:0,elements:[],stateStr:"",rendered:!1,firstSelection:!0}),watch:{menuState(){this.domUpdated()}},created(){window.addEventListener("resize",this.domUpdated)},mounted(){this.$nextTick(()=>{this.crearElementos()})},computed:{menuState(){return this.$store.getters.isMenuOpen}},beforeDestroy(){window.removeEventListener("resize",this.domUpdated)},updated(){this.$nextTick(()=>{this.getStateStr()!=this.stateStr&&this.crearElementos()})},methods:{crearElementos(){return this.$slots.default&&this.$slots.default.length?(this.domUpdated(),this.elements=this.$slots.default.map((t,e)=>{const s=t.data&&t.data.attrs?t.data.attrs:[];return{id:this.mainId+e+1,elm:t.elm,...s}}),this.firstSelection&&(this.selected=this.selected>0?this.selected:this.elements[0].id),void(this.stateStr=this.getStateStr())):[]},getActiveHeight(t){return this.$refs[t][0].scrollHeight+"px"},getStateStr(){return this.$slots.default.map(t=>t.elm.outerHTML).join("")},domUpdated(){this.rendered=!1,setTimeout(()=>{this.rendered=!0},100)}}}},abb4:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"tabs-c"},[s("div",{staticClass:"tabs-c__header"},[s("div",{staticClass:"row m-0"},t._l(t.elements,(function(e,a){return s("div",{key:"tabs-c-menu-"+e.id,staticClass:"col-sm-6 col-lg-4 col-xl tabs-c__tab py-3",class:{"tabs-c__tab--active":t.selected===e.id},attrs:{role:"button"},on:{click:function(s){t.selected=e.id},mouseover:function(e){t.mostrarIndicador=!(t.mostrarIndicador&&a>=1)&&t.mostrarIndicador}}},[t.mostrarIndicador&&1===a?s("div",{staticClass:"indicador__container"},[s("div",{staticClass:"indicador--click"})]):t._e(),s("span",[t._v(t._s(e.titulo))])])})),0)]),t._l(t.elements,(function(e){return s("div",{directives:[{name:"show",rawName:"v-show",value:t.selected===e.id,expression:"selected === elm.id"},{name:"child",rawName:"v-child",value:e.elm,expression:"elm.elm"}],key:"tabs-content-"+e.id,staticClass:"tabs-c__content-item"})})),s("div",{staticClass:"hidden-slot"},[t._t("default")],2)],2)},i=[],d=s("ab14"),n={name:"TabsC",mixins:[d["a"]],data:function(){return{mostrarIndicador:!0}}},r=n,o=s("2877"),c=Object(o["a"])(r,a,i,!1,null,null,null);e["default"]=c.exports}}]);
//# sourceMappingURL=chunk-2e80bb9a.2a38dbf5.js.map