(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["Home"],{"0f0e":function(t,e,a){"use strict";var s=function(){var t=this,e=t._self._c;return t.categorysList.length>0?e("div",{key:t.$route.name,staticClass:"container-carousel-categorys"},[t._m(0),e("carousel",{key:t.innerWidth,staticClass:"col-12 mx-0 position-relative carousel-products-content",attrs:{id:"carousel-banner-category",dots:!0,"lazy-load":!0,nav:!1,responsive:{0:{items:1,nav:!1,stagePadding:60},704:{items:3,nav:!1,stagePadding:60},1030:{items:4,nav:!1,stagePadding:50},1200:{items:5,nav:!1,stagePadding:30}}}},[e("template",{slot:"prev"},[e("span",{staticClass:"prev nav-button d-none d-md-block"},[e("img",{attrs:{src:a("4a90"),alt:"left arrow carousel"}})])]),e("template",{slot:"next"},[e("span",{staticClass:"next nav-button d-none d-md-block"},[e("img",{attrs:{src:a("c5e2"),alt:"right arrow carousel"}})])]),t._l(t.categorysList,(function(s,i){return e("div",{key:i,staticClass:"item-category-home"},[e("router-link",{attrs:{to:{name:"TiendaSubcategory",params:{category:s.departamento,subcategory:s.tipoprenda_slug,nameCreative:"home-category-"+s.tipoprenda_slug,slot:"Home-primary-categories",id:""+s.tipoprenda_slug_singular,name:""+s.tipoprenda_texto}}}},[e("div",{staticClass:"container-img-carousel-category"},[e("img",{attrs:{src:s.img,alt:""}})]),e("div",{staticClass:"item-category"},[e("p",{staticClass:"mb-0"},[t._v(" "+t._s(s.tipoprenda_descripcion.toLowerCase().replace(/^\w/,t=>t.toUpperCase()))+" ")]),1==s.destacado?e("img",{staticClass:"novelity",attrs:{src:a("5084"),alt:s.tipoprenda_slug}}):t._e()])])],1)}))],2)],1):t._e()},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"ps-4"},[e("h2",{staticClass:"title-carousel"},[t._v("Explora nuestras categorías /")])])}],o=a("2f62"),n=a("cf4d"),r=a.n(n),l={components:{carousel:r.a},computed:{...Object(o["c"])("layouts",["categorysList"]),...Object(o["c"])(["innerWidth"])},watch:{innerWidth(){this.validateDotsCarousel()}},async mounted(){this.categorysList||await this.getCategorys()},methods:{...Object(o["b"])("layouts",["getCategorys"]),validateDotsCarousel(){this.products&&setTimeout(()=>{let t=document.getElementById("carousel-banner-category").getElementsByClassName("owl-dot");t.forEach(t=>{t.ariaLabel="Dot carousel",t.style.width=100/(this.innerWidth>=1048?parseInt(this.products.length/2):this.products.length)+"%"})},100)}}},c=l,d=a("2877"),u=Object(d["a"])(c,s,i,!1,null,null,null);e["a"]=u.exports},"7a97":function(t,e,a){"use strict";var s=function(){var t=this;t._self._c;return t._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"container-breakin-cupo"},[e("div",{staticClass:"breking-cupo flex-wrap flex-lg-nowrap"},[e("div",{staticClass:"d-flex align-items-center mr-3"},[e("img",{attrs:{src:a("cb51")}})]),e("p",{staticClass:"breakin-title-cupo pt-4 pt-md-0"},[e("b",[t._v(" Lo quiero y con Quac ¡Lo tengo! ")])]),e("p",{staticClass:"description-breakin-cupo py-3 py-lg-0"},[t._v(" ¿Estás buscando una manera fácil y segura de financiar tus compras? ¡Entonces tienes que conocer a QUAC! ")]),e("div",{staticClass:"container-button-cupo d-flex align-items-center"},[e("a",{staticClass:"btn-cupo-brekin",attrs:{target:"_blank",href:"https://preaprobado.quac.co/?store_business=baguer&slug_store=derek"}},[e("b",[t._v("¡Quiero estrenar!")])])])])])}],o={name:"BrakingCupo"},n=o,r=a("2877"),l=Object(r["a"])(n,s,i,!1,null,null,null);e["a"]=l.exports},bb51:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("div",[t.bannerHome?e("div",[e("banner-large",{staticClass:"container-max-width"}),e("outfits-vitrina",{staticClass:"container-max-width pt-3",attrs:{id:"nav-box-outfit"}}),e("nav-category",{staticClass:"container-max-width pt-3",attrs:{id:"nav-box-categories"}}),e("breakin-cupo"),t._l(t.vitrinasHome,(function(t,a){return e("div",{key:a,attrs:{id:"vitrinas-home-"+a}},[t.banner?e("carousel-products-banner",{attrs:{"products-analytics":t.vitrina.productos_analytics,products:t.vitrina.items,title:t.vitrina.title+" "+t.vitrina.slug,"img-u-r-l":t.banner,"bg-vitrina":t.background_color,slug:t.vitrina.query,position:t.vitrina.query}}):e("carousel-products",{staticClass:"container-max-width",attrs:{"products-analytics":t.vitrina.productos_analytics,products:t.vitrina.items,title:t.vitrina.title+" "+t.vitrina.slug,slug:t.vitrina.query,position:t.vitrina.query}})],1)}))],2):e("div",[e("skeleton-home")],1)])},i=[],o=(a("14d9"),function(){var t,e=this,a=e._self._c;return a("div",[a("div",{staticClass:"d-block d-md-flex"},[a("div",{staticClass:"col-12 col-md-6 content-baner"},[e.bannerHome.subtitulo?a("p",{style:e.bannerHome.style_subtitulo,domProps:{innerHTML:e._s(e.bannerHome.subtitulo)}}):e._e(),e.bannerHome.titulo?a("h1",{staticClass:"text-baner",style:e.bannerHome.style_titulo,domProps:{innerHTML:e._s(e.bannerHome.titulo)}}):e._e(),e.bannerHome.descripcion?a("p",{style:e.bannerHome.style_descripcion,domProps:{innerHTML:e._s(e.bannerHome.descripcion)}}):e._e(),a("button",{staticClass:"btn-primary",staticStyle:{"font-size":"1.18rem"},style:"color: "+e.bannerHome.boton.color_texto+"!important; background-color: "+e.bannerHome.boton.color_fondo+"!important",on:{click:function(t){return e.clicBtn(e.bannerHome.boton.texto)}}},[e._v(" "+e._s(e.bannerHome.boton.texto)+" ")])]),2==e.bannerHome.tipo?a("div",{staticClass:"d-none d-md-flex col-12 col-md-6 baner-large-video",on:{click:function(t){return e.clicBtn("video ecritorio")}}},[a("video",{staticClass:"h-100",attrs:{autoplay:"",loop:"",playsinline:"",muted:"",src:e.bannerHome.imagen_desktop},domProps:{muted:!0}})]):a("div",{staticClass:"d-none d-md-flex col-12 col-md-6 baner-large",style:"background-image: url("+e.bannerHome.imagen_desktop+"); max-height: 972px; background-position: 50% top; cursor: pointer;",on:{click:function(t){return e.clicBtn("imagen escritorio")}}},[a("a",{staticClass:"btn-banner-nav",staticStyle:{position:"relative",color:"transparent"},attrs:{href:"#nav-box"}},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 50 50"}},[a("g",{attrs:{id:"Grupo_4776","data-name":"Grupo 4776",transform:"translate(-658 -718)"}},[a("rect",{attrs:{id:"Rectángulo_2036","data-name":"Rectángulo 2036",width:"50",height:"50",transform:"translate(658 718)",fill:"#fafafa"}}),a("path",{attrs:{id:"Icon_ionic-ios-arrow-back","data-name":"Icon ionic-ios-arrow-back",d:"M14.074,14.382l6.2-6.193a1.171,1.171,0,1,0-1.658-1.653l-7.022,7.017a1.168,1.168,0,0,0-.034,1.614l7.051,7.066a1.171,1.171,0,1,0,1.658-1.653Z",transform:"translate(668.807 758.615) rotate(-90)",fill:"#131314"}})])]),a("span",{staticStyle:{position:"absolute"}},[e._v("Derek")])])]),2==e.bannerHome.tipo?a("div",{staticClass:"d-flex d-md-none col-12 col-md-6 baner-large-video",on:{click:function(t){return e.clicBtn("video movil")}}},[a("video",{staticClass:"w-100",attrs:{autoplay:"",loop:"",playsinline:"",muted:""},domProps:{muted:!0}},[a("source",{attrs:{src:e.bannerHome.imagen_movil,type:"video/mp4"}})])]):a("div",{staticClass:"d-flex d-md-none col-12 col-md-6 baner-large",style:"background-image: url("+e.bannerHome.imagen_movil+"); background-position: 50% top;",on:{click:function(t){return e.clicBtn("imagen movil")}}},[a("a",{staticClass:"btn-banner-nav",staticStyle:{position:"relative",color:"transparent"},attrs:{href:"#nav-box"}},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 50 50"}},[a("g",{attrs:{id:"Grupo_4776","data-name":"Grupo 4776",transform:"translate(-658 -718)"}},[a("rect",{attrs:{id:"Rectángulo_2036","data-name":"Rectángulo 2036",width:"50",height:"50",transform:"translate(658 718)",fill:"#fafafa"}}),a("path",{attrs:{id:"Icon_ionic-ios-arrow-back","data-name":"Icon ionic-ios-arrow-back",d:"M14.074,14.382l6.2-6.193a1.171,1.171,0,1,0-1.658-1.653l-7.022,7.017a1.168,1.168,0,0,0-.034,1.614l7.051,7.066a1.171,1.171,0,1,0,1.658-1.653Z",transform:"translate(668.807 758.615) rotate(-90)",fill:"#131314"}})])]),a("span",{staticStyle:{position:"absolute"}},[e._v("Derek")])])])]),null!==(t=e.bannerHome.vitrinas)&&void 0!==t&&t.length?e._l(e.bannerHome.vitrinas,(function(t,e){return a("carousel-products",{key:e,staticClass:"container-max-width pb-0",attrs:{"products-analytics":t.productos_analytics,products:t.items,title:t.title+" "+t.slug,slug:t.query,position:t.query}})})):e._e()],2)}),n=[],r=a("2f62"),l=a("1d4c"),c=a("14cd"),d={components:{CarouselProducts:c["a"]},computed:{...Object(r["c"])("layouts",["bannerHome"])},mounted(){Object(l["q"])({nameCreative:""+this.bannerHome.titulo,slot:"banner-home-"+this.bannerHome.id,id:"banner-home-page-"+this.bannerHome.id,name:this.bannerHome.nombre_promocion_ga,items:[]})},methods:{clicBtn(t){Object(l["l"])({nameCreative:""+t,slot:"banner-home-"+this.bannerHome.id,id:""+this.bannerHome.id,name:this.bannerHome.nombre_promocion_ga,items:[]}),this.$router.push({path:this.bannerHome.boton.url?this.bannerHome.boton.url:"/novedades"})}}},u=d,m=a("2877"),p=Object(m["a"])(u,o,n,!1,null,null,null),g=p.exports,b=a("0f0e"),v=function(){var t=this,e=t._self._c;return t.outfitsVitrina&&t.outfitsVitrina.outfits.length>0?e("div",{key:t.$route.name,staticClass:"container-carousel-categorys"},[e("div",{staticClass:"ps-4"},[e("h2",{staticClass:"title-carousel"},[t._v(" "+t._s(t.outfitsVitrina.titulo_vitrina)+" "+t._s(t.outfitsVitrina.subtitulo_vitrina)+" ")])]),e("carousel",{key:t.innerWidth,staticClass:"col-12 mx-0 position-relative carousel-products-content",attrs:{id:"carousel-banner-category",dots:!0,"lazy-load":!0,nav:!1,responsive:{0:{items:1,nav:!1,stagePadding:60},704:{items:3,nav:!1,stagePadding:60},1030:{items:4,nav:!1,stagePadding:50},1200:{items:5,nav:!1,stagePadding:30}}}},[e("template",{slot:"prev"},[e("span",{staticClass:"prev nav-button d-none d-md-block"},[e("img",{attrs:{src:a("4a90"),alt:"left arrow carousel"}})])]),e("template",{slot:"next"},[e("span",{staticClass:"next nav-button d-none d-md-block"},[e("img",{attrs:{src:a("c5e2"),alt:"right arrow carousel"}})])]),t._l(t.outfitsVitrina.outfits,(function(a,s){return e("div",{key:s,staticClass:"item-category-home"},[e("router-link",{attrs:{to:{name:"OutfitDetail",params:{category:a.campania_slug,id:a.slug,nameCreative:"home-"+a.slug,slot:"Home-primary-outfits",idCampaign:""+a.campania_slug,name:""+a.nombre}}}},[e("div",{staticClass:"container-img-carousel-category"},[e("img",{attrs:{src:a.img_portada,alt:a.nombre}})]),e("div",{staticClass:"item-category"},[e("p",{staticClass:"mb-0"},[t._v(" "+t._s(a.nombre)+" ")])])])],1)}))],2),e("div",{staticClass:"text-center"},[e("a",{attrs:{href:t.outfitsVitrina.url}},[e("button",{staticClass:"secondary-button"},[t._v(" Ver todos los outfits ")])])])],1):t._e()},h=[],f=a("cf4d"),y=a.n(f),C={components:{carousel:y.a},computed:{...Object(r["c"])("layouts",["outfitsVitrina"]),...Object(r["c"])(["innerWidth"])},watch:{innerWidth(){this.validateDotsCarousel()}},methods:{...Object(r["b"])("layouts",["getCategorys"]),validateDotsCarousel(){this.products&&setTimeout(()=>{let t=document.getElementById("carousel-banner-category").getElementsByClassName("owl-dot");t.forEach(t=>{t.ariaLabel="Dot carousel",t.style.width=100/(this.innerWidth>=1048?parseInt(this.products.length/2):this.products.length)+"%"})},100)}}},_=C,w=Object(m["a"])(_,v,h,!1,null,null,null),k=w.exports,x=a("7a97"),H=function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 d-block d-md-flex mt-5 pb-5 pb-md-0",style:"background-color:"+t.bgVitrina,attrs:{id:"vitrina-banner-"+t.slug}},[e("div",{staticClass:"container-max-width d-flex flex-wrap w-100"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"carousel-products-banner"},[e("div",[e("h2",{staticClass:"title-carousel"},[t._v(t._s(t.title)+" /")])]),e("carousel",{key:t.innerWidth,staticClass:"col-12 px-0 mx-0 position-relative",attrs:{id:"carousel-banner-"+t.slug,dots:!0,nav:!1,"dots-each":!0,responsive:{0:{items:1,nav:!1,stagePadding:30},704:{items:2,nav:!1,stagePadding:60},1030:{items:t.itemsXfila,nav:!1,stagePadding:80}}}},[e("template",{slot:"prev"},[e("span",{staticClass:"prev nav-button d-none d-md-block",on:{click:function(e){t.positionDot<=0?t.positionDot=t.products.length-1:t.positionDot-=1}}},[e("img",{attrs:{src:a("4a90"),alt:"left arrow carousel"}})])]),e("template",{slot:"next"},[e("span",{staticClass:"next nav-button d-none d-md-block",on:{click:function(e){t.positionDot>=t.products.length-1?t.positionDot=0:t.positionDot+=1}}},[e("img",{attrs:{src:a("c5e2"),alt:"right arrow carousel"}})])]),e("router-link",{staticClass:"d-flex w-100 pe-3",attrs:{to:{name:"TiendaCategory",params:{category:t.slug}}}},[e("div",{staticClass:"bg-card-img",style:"background-image: url("+t.imgURL+");"})]),t._l(t.products,(function(a,s){return e("div",{key:s,staticClass:"item-product-carousel",attrs:{to:{name:""}},on:{click:function(e){return t.clicProduct(t.productsAnalytics,a.producto_sku)}}},[e("card-product-hover",{attrs:{id:"box-sizes-carousel-banner",product:a,"vitrina-id":t.position,"vitrina-name":t.title}})],1)})),e("router-link",{staticClass:"w-100",attrs:{to:{name:"TiendaCategory",params:{category:t.slug}}}},[e("div",{staticClass:"last-card-carousel"},[e("p",[t._v(" Descubre aquí más "),e("br"),t._v(" productos similares ")])])])],2)],1)])])])},B=[],O=a("938c"),E={components:{carousel:y.a,CardProductHover:O["a"]},props:{products:{type:Array,required:!1,default:()=>[]},title:{type:String,required:!1,default:""},imgURL:{type:String,required:!1,default:""},bgVitrina:{type:String,required:!1,default:""},slug:{type:String,required:!1,default:""},productsAnalytics:{type:Array,required:!1,default:()=>[]},itemsXfila:{type:Number,required:!1,default:3},position:{type:String,required:!1,default:"carousel"}},data(){return{positionDot:0,showBannerVitrina:!1}},computed:{...Object(r["c"])(["innerWidth"])},watch:{innerWidth(){this.validateDotsCarousel()}},async mounted(){await this.validateDotsCarousel(),window.addEventListener("scroll",()=>{if(document.getElementById("vitrina-banner-"+this.slug)){let t=document.getElementById("vitrina-banner-"+this.slug);t&&!this.showBannerVitrina&&t.getBoundingClientRect().top-(window.innerHeight-t.offsetHeight/2)<=0&&(Object(l["p"])(this.products,this.position,this.title),this.showBannerVitrina=!0,window.removeEventListener("scroll",()=>{}))}})},methods:{async validateDotsCarousel(){setTimeout(()=>{let t=document.getElementById("carousel-banner-"+this.slug).getElementsByClassName("owl-dot");if(t)for(let e=0;e=1048?parseInt(this.products.length/2):this.products.length)+"%"},100)},clicProduct(t,e){null===t||void 0===t||t.find(t=>t.id==e)}}},P=E,j=Object(m["a"])(P,H,B,!1,null,null,null),D=j.exports,V=function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex flex-wrap"},[e("div",{staticClass:"col-12 col-md-6 position-relative"},[e("div",{staticClass:"skeleton-texts-banner-large"},[e("b-skeleton",{staticClass:"mb-4",attrs:{height:"20px",width:"170px"}}),e("b-skeleton",{staticClass:"d-flex d-xl-none title-1",attrs:{height:"50px",width:"70%"}}),e("b-skeleton",{staticClass:"mb-5 title-2",attrs:{height:"50px",width:"40%"}}),e("b-skeleton",{attrs:{height:"50px",width:"200px"}})],1)]),e("div",{staticClass:"col-12 col-md-6 skeleton-img-banner-home"},[e("b-skeleton-img",{})],1)])},q=[],L=a("3293"),S=a("0942"),I={components:{BSkeletonImg:L["a"],BSkeleton:S["a"]}},T=I,W=Object(m["a"])(T,V,q,!1,null,null,null),R=W.exports,A=a("360b"),U={name:"Home",components:{BannerLarge:g,NavCategory:b["a"],BreakinCupo:x["a"],CarouselProducts:c["a"],CarouselProductsBanner:D,SkeletonHome:R,OutfitsVitrina:k},data(){return{showVitrinaOutfit:!1,showVitrinaCategories:!1,shiwVitrinas:[]}},computed:{...Object(r["c"])("layouts",["bannerHome","vitrinasHome","outfitsVitrina","categorysList"]),...Object(r["c"])("user",["dataUser"])},watch:{dataUser(){this.dataUser}},created(){Object(A["a"])(this,"PageView",{})},mounted(){if(document.title="Descubre las ultimas tendencias en moda femenina, ropa, zapatos y accesorios | DEREK Tienda Online",!window.localStorage.getItem("accessToken")){const t=document.cookie.split(";");t.find(t=>t.includes("email"))}window.addEventListener("scroll",this.validateScrollHome),this.getHome();const t=document.cookie.split(";");let e=t.find(t=>t.includes("email"));var a=/iPad/.test(navigator.userAgent)?"t":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Silk/.test(navigator.userAgent)?"m":"d";window.criteo_q.push({event:"setAccount",account:67539},{event:"setEmail",email:e?e.replace("email=",""):this.dataUser?this.dataUser.correo:""},{event:"setSiteType",type:a},{event:"viewHome"})},beforeDestroy(){window.removeEventListener("scroll",this.validateScrollHome)},methods:{...Object(r["b"])("layouts",["getHome"]),validateScrollHome(){const t=document.getElementById("nav-box-outfit");t&&!this.showVitrinaOutfit&&t.getBoundingClientRect().top-(window.innerHeight-t.offsetHeight/2)<=0&&(this.showVitrinaOutfit=!0,this.outfitsVitrina.outfits.forEach(t=>{Object(l["q"])({nameCreative:"home-"+t.slug,slot:"Home-primary-outfits",id:""+t.campania_slug,name:""+t.nombre,items:[]})}));const e=document.getElementById("nav-box-categories");e&&!this.showVitrinaCategories&&e.getBoundingClientRect().top-(window.innerHeight-e.offsetHeight/2)<=0&&(this.showVitrinaCategories=!0,this.categorysList.forEach(t=>{Object(l["q"])({nameCreative:"home-category-"+t.tipoprenda_slug,slot:"Home-primary-categories",id:""+t.tipoprenda_slug_singular,name:""+t.tipoprenda_texto,items:[]})}))}}},M=U,z=Object(m["a"])(M,s,i,!1,null,null,null);e["default"]=z.exports},cb51:function(t,e,a){t.exports=a.p+"img/icon-quac-large_blanco.e3b9eb4b.svg"}}]); //# sourceMappingURL=Home.691ee71a.js.map