(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{88762:function(e,n,r){"use strict";r.d(n,{dk:function(){return o},LM:function(){return i},oT:function(){return l},sX:function(){return m},iI:function(){return v},lp:function(){return b},Go:function(){return g}});var t=r(74512),o=function(e){var n=e.content;return(0,t.jsx)("meta",{name:"description",content:n||""})},i=function(e){var n=e.content;return(0,t.jsx)("meta",{name:"keywords",content:n||""})},a=r(81617);r(32735);var l=function(e){var n=e.pageUrl,r=e.isShow,o=a.Z.parseUrl(n),i=o.url;return r(o.query)?(0,t.jsx)("link",{rel:"canonical",href:i}):null},d=r(78756),s=r(72975),c=r.n(s),u=r(37697);function m(e){return f.apply(this,arguments)}function f(){return(f=(0,d.Z)(c().mark(function e(n){return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.xe)("/catalog/seo/redirect",{params:{keyword:n}}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}var p=r(35085),h=r(29459),g=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.uv.shopPage;return e.setHeader("Cache-Control","No-Cache"),e.writeHead(301,{location:n}),e.end(),{}},b=function(e){return(null==e?void 0:e.page)==="1"},v=function(e){return(0,h.$K)(null==e?void 0:e.categoryId)}},22202:function(e,n,r){"use strict";r.r(n),r.d(n,{__N_SSP:function(){return ej},default:function(){return ek}});var t=r(77442),o=r(61382),i=r(87669),a=r(78756),l=r(72975),d=r.n(l),s=r(37697);function c(){return(c=(0,a.Z)(d().mark(function e(){return d().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.xe)("/v2/catalog/special-category/main"));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}var u="/entities/main/model/index.ts",m=(0,i.GW)({loc:{file:u,line:9,column:33},name:"getMainInfoBaseFx",sid:"cpzjab"});m.use(function(){return c.apply(this,arguments)});var f=(0,i.MT)(null,{loc:{file:u,line:12,column:25},name:"$mainInfo",sid:"2sbdc7"}),p=(0,i.ub)({and:{effect:m},or:{loc:{file:u,line:13,column:29},name:"getMainInfoFx",sid:"wb10e"}}),h=(0,i.yM)({loc:{file:u,line:14,column:29},name:"resetMainInfo",sid:"-9c4otm"});f.on(p.doneData,function(e,n){return n}),f.reset(h);var g=r(68095),b=r(32735),v=r(72647),x=r(82846),y=r(35837),w=r(71886),C=r(86485),j=function(){var e=(0,t.eY)(C.np),n=(0,y.useRouter)(),r=(0,b.useCallback)(function(){e()},[e]);(0,b.useEffect)(function(){return(0,w.KN)(n.route)&&window.addEventListener("beforeunload",r,{capture:!0}),function(){window.removeEventListener("beforeunload",r,{capture:!0})}},[n.route,r])},k=r(31737),N=r(4078),B=r(15119),S=r(12127),M=r(38596),U=r(29459),$=r(68694),E="/features/main/model/index.ts";function _(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,t)}return r}function T(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?_(Object(r),!0).forEach(function(n){(0,k.Z)(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var I=f.map(function(e){var n;return null!==(n=null==e?void 0:e.meta)&&void 0!==n?n:null}),O=f.map(function(e){var n=null==e?void 0:e.data[0];return null!=n&&n.banners?T(T({},n),{},{href:(0,U.by)(n.href),banners:n.banners}):null}),Z=(0,i.$e)({and:[{main:f,isMobile:S.IG},function(e){var n,r=e.main,t=e.isMobile,o=t?4:3;return(null!==(n=null==r?void 0:r.data.filter(function(e,n){return n>=1&&n<=o}))&&void 0!==n?n:[]).map(function(e){var n,r=null==e||null===(n=e.banners)||void 0===n?void 0:n[0],o=e.categoryId===M.SpecialCategoryId.Clearance;if(!(0,U.$K)(r)&&!o)return null;var i=(0,w.gU)(null==r?void 0:r.mediaType)?null==r?void 0:r.posterMobileCategory:null==r?void 0:r.fileMobileCategory,a=(0,$.tg)(i,t?300:900,"AUTO");return{id:e.categoryId,name:e.header,href:(0,U.by)(e.href),image:o?a||(0,B.mH)("clearance–cover.jpg"):a,isClearance:o}}).filter(Boolean)}],or:{loc:{file:E,line:34,column:39},name:"$mainFilteredCategories",sid:"-ufhr3x"}}),V=(0,i.yM)({loc:{file:E,line:63,column:34},name:"startHomeAnalytics",sid:"fbtoyf"});(0,i.UP)({and:[{clock:V,source:N.ov,target:C.F}],or:{loc:{file:E,line:65,column:0},sid:"37k5pr"}});var R=r(56588),P=r(88063),F=(0,P.Sh)("position-relative",(0,P.oB)({$debugName:"mainCategory_container",display:"grid",gridAutoFlow:"row",gridTemplateRows:"1fr 0px",overflow:"clip",zIndex:5,transform:"translate3d(0,0,0)"})),W=(0,P.oB)({$debugName:"mainCategory_button",background:"#FFFFFFA3",backgroundBlendMode:"luminosity",color:x.VZ.Primary}),L=r(22166),A=r(60476),Y=(0,P.oB)((0,P.BC)({maxWidth:x.Uo.UnderMedium},{top:4,right:0}),{$debugName:"mainBanner_soundButton",background:x.VZ.Transparent,border:"none",$nest:{"&:hover":{background:x.VZ.Transparent}}}),z=(0,P.oB)((0,P.BC)({maxWidth:x.Uo.UnderMedium},{aspectRatio:"1/1",$nest:{"& video":{objectFit:"cover"}}}),{$debugName:"mainBanner_container"}),D=r(74512),H=function(e){var n=e.isMobile,r=e.videoWidth,t=e.videoHeight,o=e.banner,i=e.onVideoEnded,a=null,l=(0,L._x)(),d=l.handleLoad,s=l.isLoading,c=l.imgRef,u=n?o.fileMobileCategory:o.fileDesktop,m=n?o.posterMobileCategory:o.posterDesktop,f=(0,w.gU)(o.mediaType);if(o.mediaType===R.BannerMediaType.Image)a=(0,D.jsxs)("div",{className:"position-relative",children:[(0,D.jsx)(v.Ee,{ref:c,src:u,overrideSrc:u,width:1325,height:745,alt:"Promo banner",className:"w-100 h-100",onLoad:d,priority:!0}),s&&(0,D.jsx)(v.Od,{width:"100%",height:"100%",className:(0,P.Sh)("position-absolute",(0,A.we)(0),(0,A.t$)(0),(0,A.W5)(3))})]});else if(f){var p,h=null===(p=o.data)||void 0===p||null===(p=p.components)||void 0===p||null===(p=p[0])||void 0===p||null===(p=p.style)||void 0===p?void 0:p.color;a=(0,D.jsx)(v.PD,{width:r,height:t,src:u,controls:o.hasSound,poster:m,soundButtonClassname:Y,soundButtonColor:h,containerClassname:z,onVideoEnded:i})}return a},G=(0,P.oB)((0,P.BC)({maxWidth:x.Uo.UnderMedium},{left:0,right:0,bottom:16,margin:"-104px auto 0",height:"auto",padding:"0 16px",maxWidth:"100%"}),{$debugName:"mainControlSticky_container",position:"sticky",textAlign:"center",margin:"".concat(32,"px auto 0"),bottom:32,zIndex:3,height:118,width:"100%",maxWidth:344}),K=function(e){var n=e.text,r=e.url,t=e.titleTag,o=e.titleColor,i=e.buttonVariant,a=e.buttonClassName,l=e.onClick,d=(0,y.useRouter)();return(0,D.jsxs)("div",{className:G,children:[(0,D.jsx)(v.U3,{tag:t,color:o,children:n}),(0,D.jsx)(v.zx,{className:(0,P.Sh)("mt-3 w-100",a),size:"big",onClick:function(){l(),d.push(r)},variant:i,children:"Shop now"})]})},X=function(e){var n,r=e.banner,t=e.href,o=e.text,i=e.isMobile,a=e.onVideoEnded,l=e.onClick;return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)("div",{className:F,children:[(0,D.jsx)("div",{className:"position-relative",children:(0,D.jsx)(v.rU,{href:t,onClick:l,children:(0,D.jsx)(H,{banner:r,isMobile:i,onVideoEnded:a})})}),(0,D.jsx)(K,{text:o,url:t,titleTag:"h1",titleColor:null===(n=r.data)||void 0===n||null===(n=n.components)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.style)||void 0===n?void 0:n.color,buttonClassName:W,onClick:l})]}),!i&&(0,D.jsx)(K,{text:o,url:t,titleTag:"h2",buttonVariant:"secondary",onClick:l})]})},q=(0,P.oB)((0,P.BC)({maxWidth:x.Uo.UnderMedium},{paddingBottom:12}),{$debugName:"mainCategoryCarousel_container"}),J=(0,P.oB)((0,P.BC)({maxWidth:x.Uo.UnderMedium},{$nest:{"& .slick-dots":{top:"initial",bottom:-14,pointerEvents:"none",$nest:{"& li":{margin:"0 2px"},"& .slick-active":{$nest:{"& button":{background:x.VZ.BreadcrumbForeground}}},"& button":{border:"1px solid ".concat(x.VZ.BreadcrumbForeground)}}}}}),{$debugName:"mainCategoryCarousel_carousel",$nest:{"& .slick-list":{overflow:"clip"},"& .slick-arrow":{position:"absolute",width:44,height:44,zIndex:1,top:"calc(50% - ".concat(86,"px)"),$nest:{"&::before":{display:"none"}}},"& .slick-prev":{left:40},"& .slick-next":{right:40},"& .slick-dots":{top:10,bottom:"initial",$nest:{"& li":{width:8,height:8,margin:"0 4px"},"& .slick-active":{$nest:{"& button":{background:x.VZ.Secondary}}},"& button":{padding:0,margin:0,width:8,height:8,border:"1px solid ".concat(x.VZ.Secondary),borderRadius:"50px",$nest:{"&::before":{display:"none"}}}}}}});let Q=b.forwardRef(function({title:e,titleId:n,...r},t){return b.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":n},r),e?b.createElement("title",{id:n},e):null,b.createElement("path",{fillRule:"evenodd",d:"M7.72 12.53a.75.75 0 0 1 0-1.06l7.5-7.5a.75.75 0 1 1 1.06 1.06L9.31 12l6.97 6.97a.75.75 0 1 1-1.06 1.06l-7.5-7.5Z",clipRule:"evenodd"}))}),ee=b.forwardRef(function({title:e,titleId:n,...r},t){return b.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":n},r),e?b.createElement("title",{id:n},e):null,b.createElement("path",{fillRule:"evenodd",d:"M16.28 11.47a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 0 1-1.06-1.06L14.69 12 7.72 5.03a.75.75 0 0 1 1.06-1.06l7.5 7.5Z",clipRule:"evenodd"}))});var en=function(e){var n=e.isImage,r=e.onBeforeChange;return{dots:!0,infinite:!0,speed:1e3,slidesToShow:1,slidesToScroll:1,autoplaySpeed:5e3,pauseOnHover:!1,autoplay:n,cssEase:"ease-out",beforeChange:function(e,n){return r(n)},prevArrow:(0,D.jsx)(v.zx,{variant:"icon",children:(0,D.jsx)(Q,{width:24,fill:x.VZ.Secondary})}),nextArrow:(0,D.jsx)(v.zx,{variant:"icon",children:(0,D.jsx)(ee,{width:24,fill:x.VZ.Secondary})}),className:J,responsive:[{breakpoint:x.Uo.UnderMedium,settings:{speed:600,arrows:!1}}]}},er=function(){var e,n=(0,t.eY)(O),r=(0,t.eY)(S.IG),o=(0,t.eY)(C.jx),i=(0,b.useRef)(),a=(0,b.useState)(0),l=a[0],d=a[1];if(!(0,U.$K)(n))return null;if(1===n.banners.length)return(0,D.jsx)(X,{banner:n.banners[0],href:n.href,text:n.header,isMobile:r,onClick:function(){return o({categoryName:null==n?void 0:n.header,blockId:"banner"})}});var s=(null===(e=n.banners[l])||void 0===e?void 0:e.mediaType)===R.BannerMediaType.Image;return(0,D.jsx)("div",{className:q,children:(0,D.jsx)(v.lr,{ref:i,settings:en({isImage:s,onBeforeChange:d}),children:n.banners.map(function(e){return(0,D.jsx)(X,{banner:e,href:n.href,text:n.header,isMobile:r,onVideoEnded:function(){var e;return null===(e=i.current)||void 0===e?void 0:e.slickNext()},onClick:function(){return o({categoryName:null==n?void 0:n.header,blockId:"banner"})}},e.bannerId)})})})},et=r(28794);let eo=b.forwardRef(function({title:e,titleId:n,...r},t){return b.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":n},r),e?b.createElement("title",{id:n},e):null,b.createElement("path",{fillRule:"evenodd",d:"M3 6.75A.75.75 0 0 1 3.75 6h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 6.75ZM3 12a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 12Zm0 5.25a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))});var ei=(0,P.Sh)("d-flex position-fixed",(0,A.SG)(16),(0,P.oB)((0,P.BC)({maxWidth:x.Uo.UnderMedium},{bottom:12,right:16}),{$debugName:"mainServeControls_container",bottom:32,right:40,zIndex:4})),ea=(0,P.oB)({$debugName:"mainServeControls_button",padding:0,width:48,height:48,borderRadius:"50%",background:x.VZ.Secondary,color:x.VZ.Primary,boxShadow:"0 1px 3px 0 #0000004D, 0 4px 8px 3px #00000026",border:"none",outline:"none",$nest:{"&:hover, &:active, &:focus":{border:"none",outline:"none"}}}),el=function(e){var n=e.openMenu,r=(0,t.eY)(S.IG),o=(0,S.tS)();return o||r?(0,D.jsxs)("div",{className:ei,children:[o&&(0,D.jsx)("button",{className:ea,onClick:function(){(0,U.jU)()&&window.scrollTo({top:0,behavior:"smooth"})},children:(0,D.jsx)(et.Z,{width:20})}),(0,D.jsx)("button",{className:ea,onClick:n,children:(0,D.jsx)(eo,{width:24})})]}):null},ed=r(60842),es=(0,P.oB)((0,P.BC)({maxWidth:x.Uo.UnderMedium},{marginTop:40}),{$debugName:"mainSimilarProducts_container",marginTop:80}),ec=function(){var e=(0,t.eY)(C.Iu);return(0,D.jsx)(o.EN,{className:es,useWishList:ed.L4,onProductClick:e})},eu=(0,P.Sh)("w-100 h-100",(0,P.oB)({$debugName:"mainSpecialCategory_image",aspectRatio:"1/1"})),em=(0,P.oB)((0,P.BC)({maxWidth:x.Uo.UnderMedium},{textAlign:"center"}),{$debugName:"mainSpecialCategory_bannerTitleContainer"}),ef=function(e){var n,r,t,o=e.category,i=e.onClick,a=(0,L._x)(),l=a.handleLoad,d=a.isLoading,s=a.imgRef;return(0,D.jsxs)(v.rU,{variant:"none",href:o.href,className:(n=o.isClearance,(0,P.oB)({$debugName:"mainSpecialCategory_link",$nest:{"&:hover":{$nest:{"& p":{borderBottom:"1px solid ".concat(n?x.VZ.SemanticError50:x.VZ.Dark4)}}}}})),onClick:i,children:[(0,D.jsxs)("div",{className:(r=o.isClearance,(0,P.Sh)("position-relative",(0,P.oB)((0,P.BC)({maxWidth:x.Uo.UnderMedium},{borderRadius:"50%",overflow:"hidden"}),{$debugName:"mainSpecialCategory_imageContainer",$nest:r?{"&:after":{content:"''",position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:"#E469621F"}}:void 0}))),children:[(0,D.jsx)(v.Ee,{ref:s,src:o.image,overrideSrc:o.image,width:500,height:500,alt:o.name,className:eu,onLoad:l}),d&&(0,D.jsx)(v.Od,{borderRadius:0,className:(0,P.Sh)("position-absolute",(0,A.we)(0),(0,A.t$)(0),(0,A.F2)(0),(0,A.I)(0))})]}),(0,D.jsx)("div",{className:em,children:(0,D.jsx)("p",{className:(t=o.isClearance,(0,P.oB)((0,P.BC)({maxWidth:x.Uo.UnderMedium},{marginTop:6,textAlign:"center",fontSize:16}),{$debugName:"mainSpecialCategory_bannerTitle",marginTop:24,marginBottom:0,display:"inline-block",color:t?x.VZ.SemanticError50:void 0,borderBottom:"1px solid ".concat(x.VZ.Transparent),fontSize:26})),children:o.name})})]},o.id)},ep=(0,P.Sh)((0,P.oB)((0,P.BC)({maxWidth:x.Uo.UnderMedium},{marginTop:40}),{$debugName:"mainSpecialCategories_container",marginTop:34})),eh=function(e){var n="";return Array.from({length:e}).forEach(function(){return n="1fr ".concat(n)}),(0,P.oB)((0,P.BC)({maxWidth:x.Uo.UnderMedium},{gap:8}),{$debugName:"mainSpecialCategories_categoryContainer",display:"grid",gridTemplateColumns:n,gap:24})},eg=function(){var e=(0,t.eY)(Z),n=(0,t.eY)(S.IG),r=(0,t.eY)(C.jx);return(0,D.jsxs)("div",{className:ep,children:[n&&(0,D.jsx)(v.U3,{tag:"h3",className:"mb-3",children:"Top Categories"}),(0,D.jsx)("div",{className:eh(e.length),children:e.map(function(e){return(0,D.jsx)(ef,{category:e,onClick:function(){return r({categoryName:e.name,blockId:"banner"})}},e.id)})})]})},eb=function(e){var n=e.openMenu,r=(0,t.eY)(V);return j(),(0,b.useEffect)(function(){r()},[]),(0,D.jsxs)("div",{className:"position-relative",children:[(0,D.jsx)(er,{}),(0,D.jsxs)(v.FN.y4,{hideBorder:!0,breakpoint:x.Uo.UnderMedium,children:[(0,D.jsx)(eg,{}),(0,D.jsx)(ec,{})]}),(0,D.jsx)(el,{openMenu:n})]})},ev=r(46582),ex=r.n(ev),ey=r(88762),ew=function(){var e=(0,t.eY)(I),n=e?(0,U.rg)(e.title):"";return(0,D.jsxs)(ex(),{children:[(0,D.jsx)("title",{children:n}),(0,D.jsx)(ey.LM,{content:null==e?void 0:e.keywords}),(0,D.jsx)(ey.dk,{content:null==e?void 0:e.description})]})},eC=r(66886),ej=!0,ek=function(){var e=(0,t.eY)(g.IG);return(0,eC.w)([h,o.PH]),(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(ew,{}),(0,D.jsx)(eb,{openMenu:e})]})}},4878:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return r(22202)}])}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=4878)}),_N_E=e.O()}]);