1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4248],{17270:(e,t,n)=>{n.d(t,{g:()=>c});var r=n(45490),i=n(62596),s=n(57110),a=n(46936),l=n(14232),o=n(37876),c=(0,r.R)(function(e,t){let{ratio:n=4/3,children:r,className:c,...h}=e,d=l.Children.only(r),u=(0,a.cx)("chakra-aspect-ratio",c);return(0,o.jsx)(i.B.div,{ref:t,position:"relative",className:u,_before:{height:0,content:'""',display:"block",paddingBottom:(0,s.bk)(n,e=>`${1/e*100}%`)},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}},...h,children:d})});c.displayName="AspectRatio"},50634:(e,t,n)=>{n.d(t,{Wx:()=>u,pL:()=>d});var r=n(14232),i=Object.defineProperty,s=(e,t,n)=>(((e,t,n)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),n),a=new Map,l=new WeakMap,o=0,c=void 0;function h(e,t,n={},r=c){if(void 0===window.IntersectionObserver&&void 0!==r){let i=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:i,observer:s,elements:d}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var n;return`${t}_${"root"===t?!(n=e.root)?"0":(l.has(n)||(o+=1,l.set(n,o.toString())),l.get(n)):e[t]}`}).toString(),n=a.get(t);if(!n){let r,i=new Map,s=new IntersectionObserver(t=>{t.forEach(t=>{var n;let s=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=s),null==(n=i.get(t.target))||n.forEach(e=>{e(s,t)})})},e);r=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:s,elements:i},a.set(t,n)}return n}(n),u=d.get(e)||[];return d.has(e)||d.set(e,u),u.push(t),s.observe(e),function(){u.splice(u.indexOf(t),1),0===u.length&&(d.delete(e),s.unobserve(e)),0===d.size&&(s.disconnect(),a.delete(i))}}var d=class extends r.Component{constructor(e){super(e),s(this,"node",null),s(this,"_unobserveCb",null),s(this,"handleNode",e=>{this.node&&(this.unobserve(),e||this.props.triggerOnce||this.props.skip||this.setState({inView:!!this.props.initialInView,entry:void 0})),this.node=e||null,this.observeNode()}),s(this,"handleChange",(e,t)=>{e&&this.props.triggerOnce&&this.unobserve(),"function"==typeof this.props.children&&this.setState({inView:e,entry:t}),this.props.onChange&&this.props.onChange(e,t)}),this.state={inView:!!e.initialInView,entry:void 0}}componentDidMount(){this.unobserve(),this.observeNode()}componentDidUpdate(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())}componentWillUnmount(){this.unobserve()}observeNode(){if(!this.node||this.props.skip)return;let{threshold:e,root:t,rootMargin:n,trackVisibility:r,delay:i,fallbackInView:s}=this.props;this._unobserveCb=h(this.node,this.handleChange,{threshold:e,root:t,rootMargin:n,trackVisibility:r,delay:i},s)}unobserve(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)}render(){let{children:e}=this.props;if("function"==typeof e){let{inView:t,entry:n}=this.state;return e({inView:t,entry:n,ref:this.handleNode})}let{as:t,triggerOnce:n,threshold:i,root:s,rootMargin:a,onChange:l,ski
1p:o,trackVisibility:c,delay:h,initialInView:d,fallbackInView:u,...p}=this.props;return r.createElement(t||"div",{ref:this.handleNode,...p},e)}};function u({threshold:e,delay:t,trackVisibility:n,rootMargin:i,root:s,triggerOnce:a,skip:l,initialInView:o,fallbackInView:c,onChange:d}={}){var p;let[v,f]=r.useState(null),g=r.useRef(),[b,x]=r.useState({inView:!!o,entry:void 0});g.current=d,r.useEffect(()=>{let r;if(!l&&v)return r=h(v,(e,t)=>{x({inView:e,entry:t}),g.current&&g.current(e,t),t.isIntersecting&&a&&r&&(r(),r=void 0)},{root:s,rootMargin:i,threshold:e,trackVisibility:n,delay:t},c),()=>{r&&r()}},[Array.isArray(e)?e.toString():e,v,s,i,a,l,n,c,t]);let m=null==(p=b.entry)?void 0:p.target,y=r.useRef();v||!m||a||l||y.current===m||(y.current=m,x({inView:!!o,entry:void 0}));let j=[f,b.inView,b.entry];return j.ref=j[0],j.inView=j[1],j.entry=j[2],j}},79138:(e,t,n)=>{n.d(t,{x:()=>i});var r=n(95293);let i=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],[n]=(0,r.rd)("sizes",["container.xxl"]),i=Object.keys(e).filter(e=>"base"!==e).reverse(),s=(0,r.rd)("breakpoints",i);return"".concat(t?"(min-width: ".concat(n,") ").concat(Math.round(parseInt(n)*(parseFloat(e[i[0]||"base"])/100)),"px, "):"").concat(s.reduce((t,n,r)=>"".concat(t,"(min-width: ").concat(n,") ").concat(e[i[r]],", "),"")).concat(null==e?void 0:e.base)}},79770:(e,t,n)=>{n.d(t,{P:()=>p,z:()=>u});var r=n(37876),i=n(3732),s=n(35578),a=n(49994),l=n(1536),o=n(29548),c=n(79138),h=n(24809),d=n(14232);let u=e=>{let{media:t,featuredColSpan:n=4}=e,i=(0,c.x)({base:"100vw",lg:"".concat(n/12*100,"vw")});return t?(0,r.jsx)(l.$,{media:t,imageProps:{sizes:i},...(0,o.c)(t)?{aspectRatio:[16,9]}:{aspectRatio:[1,1]}}):null},p=e=>{let{link:t,media:n,featuredColSpan:l=4,colTitle:o,textColor:c,isMobile:p}=e,{title:v}=(0,h.i)(t),{showLinkTitle:f}=t,g=(0,d.useMemo)(()=>{switch(c){case"white":return"ff.white";case"black":return"ff.black";default:return}},[c]),b=p?(0,r.jsx)(i.E,{variant:"navHighlight",mb:"4",color:"ff.black",fontSize:"sm",textTransform:"uppercase",children:o}):(0,r.jsx)(i.E,{variant:"navLabel",mb:"4",color:"ff.grey.500",children:o});return(0,r.jsxs)(a.N,{...t,animatedLine:!1,width:"full",pos:"relative",display:"block",p:[4,null,0],children:[b,(0,r.jsxs)(s.az,{pos:"relative",children:[(0,r.jsx)(u,{media:n,featuredColSpan:l}),f&&(0,r.jsx)(s.az,{pos:"absolute",left:"0",top:"0",w:"100%",h:"100%",display:"flex",flexDirection:"column",justifyContent:"center",pointerEvents:"none",color:g,children:(0,r.jsx)(i.E,{variant:"labelLg",textAlign:"center",textTransform:"none",fontSize:["2xl",null,"4xl"],children:v})})]})]})}},80248:(e,t,n)=>{n.d(t,{n:()=>u});var r=n(37876),i=n(6765),s=n(70064),a=n(74275),l=n(9697),o=n(27038),c=n(6919),h=n(79248);let d=e=>{let{variant:t,children:n}=e;return"navigation"===t||"nested"===t?(0,r.jsx)(o.s,{children:n}):(0,r.jsx)(r.Fragment,{children:n})},u=e=>{let{variant:t="standard",items:n,headerRender:o,bodyRender:u,keyFunc:p,icon:v="chevron-sm",iconSize:f,buttonProps:g={},panelProps:b={},itemProps:x={},iconClosed:m,iconOpen:y,removeLastborder:j,iconProps:k,iconContainerProps:w,seperateHeaderAndToggleButton:C=!1,..._}=e,S={...k,...f?{w:f}:{}};return(0,r.jsx)(i.n,{variant:t,allowToggle:!_.allowMultiple,..._,children:0!==n.length&&n.map((e,n)=>{let i="function"==typeof x?x(e):x;return(0,r.jsx)(s.A,{...i,...j&&{sx:{"&:last-of-type .chakra-accordion__button:after":{content:"none"}}},children:i=>{let{isExpanded:s}=i;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(d,{variant:t,children:[C&&o(e),(0,r.jsxs)(a.J,{className:s?"isExpanded":"",...g,children:[!C&&o(e),"plus/minus"===v?s?(0,r.jsx)(c.I,{variant:y||"minus",...S}):(0,r.jsx)(c.I,{variant:m||"plus",...S}):(0,r.jsx)(h.K,{...w,isOpen:s,children:(0,r.jsx)(c.I,{variant:v,...S})})]})]}),(0,r.jsx)(l.v,{...b,children:u(e,n,s)})]})}},p(e))})})}},92824:(e,t,n)=>{n.r(t),n.d(t,{SubNavigation:()=>y});var r=n(37876),i=n(35578),s=n(42589),a=n(3732),l=n(48612),o=n(86162),c=n(20387),h=n(80248),d=n(49994),u=n(39572),p=n(65710),v=n(4427),f=n(89099),g=n(14232),b=n(79770),x=n(93518);let m={pt:6,pr:{base:"calc(var(--chakra-space-6) + 1px)",lg:"calc(var(--chakra-space-6) + 2px)"},pb:6},y=(0,g.memo)(e=>{let{blocks:t,categories:n}=e,{allProducts:y,all:j}=(0,v.l)(),{locale:k}=(0,f.useRouter)(),{desktopContainerStyles:w,desktopContainerStylesActive:C,desktopVerticalLines:_,desktopVerticalLinesActive:S}=(0,g.useContext)(x.l),N={...w,sx:{".menu-item-active &":{...C}}},E={..._,sx:{".menu-item-active &":{...S}}};return(0,r.jsx)(i.az,{...N,children:(0,r.jsx)(o.m,{children:(0,r.jsx)(c.xA,{children:t.map((e,o)=>{let{title:c,blockType:v,links:f,media:x,featuredLink:w,textColor:C,linksPerColumn:_,columnWidth:S}=e,N=o<t.length-1?E:{};
1if("normal"===v||"highlights"===v){let{colSpan:e,linkVariant:t,spacing:n}="highlights"===v?{colSpan:S||3,linkVariant:"navHighlight",spacing:2}:{colSpan:S||2,linkVariant:"navList",spacing:3},i=0===_?f.length:_,o=f.reduce((e,t,n)=>{let r=Math.floor(n/i);return e[r]||(e[r]=[]),e[r].push(t),e},[]);return(0,r.jsx)(g.Fragment,{children:o.map((i,h)=>(0,r.jsxs)(s.E,{colSpan:e,...m,...h===o.length-1?N:{},children:[(0,r.jsx)(a.E,{variant:"navLabel",mb:"4",color:0===h?"ff.grey.500":"rgba(255,255,255,0)",children:c}),(0,r.jsx)(l.B8,{spacing:n,children:i.map(e=>(0,r.jsx)(l.ck,{children:(0,r.jsx)(d.N,{...e,variant:t})},e.id))})]},i[0].id))},c)}if("featured"===v){let e=w[0],t=S||4;return(0,r.jsx)(s.E,{colSpan:t,...N,...m,children:e?(0,r.jsx)(b.P,{colTitle:c,featuredColSpan:t,link:e,media:x,textColor:C,isMobile:!1}):(0,r.jsx)(i.az,{width:"full",pos:"relative",display:"block",p:[4,null,0],children:(0,r.jsx)(b.z,{media:x,featuredColSpan:t})})},c)}return n&&"product_categories"===v?(0,r.jsxs)(s.E,{colSpan:S||2,...N,...m,children:[(0,r.jsx)(a.E,{variant:"navLabel",mb:"10px",color:"ff.grey.500",children:c}),(0,r.jsx)(h.n,{variant:"navigation",icon:"plus/minus",iconSize:"icons.xs",items:n,seperateHeaderAndToggleButton:!0,keyFunc:e=>{let{name:t}=e;return t},buttonProps:{sx:{py:1.5}},headerRender:e=>{let{name:t,slug:n}=e;return(0,r.jsx)(u.l,{href:(0,p.ID)({slug:n,name:"category_entry",locale:k}),variant:"navList",animatedLine:!1,flex:1,mr:"auto",transform:"auto",translateX:0,translateY:0,transitionTimingFunction:"cubic",transitionDuration:"short",transitionProperty:"all",_hover:{translateX:2},py:1.5,children:t})},bodyRender:e=>{let{children:t,slug:n}=e;return(0,r.jsxs)(l.B8,{spacing:3,ml:2,children:[t.map(e=>{let{name:t,slug:n}=e;return(0,r.jsx)(l.ck,{children:(0,r.jsx)(u.l,{href:(0,p.ID)({slug:n,name:"category_entry",locale:k}),variant:"navList",children:t})},t)}),(0,r.jsx)(l.ck,{children:(0,r.jsx)(u.l,{href:(0,p.ID)({slug:n,name:"category_entry",locale:k}),variant:"navList",children:null==j?void 0:j.field})})]})}}),(0,r.jsx)(u.l,{href:(0,p.ID)({name:"plp_all_product",locale:k}),variant:"navList",mt:"1.5",children:null==y?void 0:y.field})]},c):null})})})})});y.displayName="SubNavigation"}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.