(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2103,84,2858,9704,5497,4060,1933],{32085:function(e,t,r){"use strict";var n=r(90849),o=r(90089),i=r(54621),a=r(22515),c=r(18393),s=r(7856),l=r(27378),u=r(79894),d=r.n(u),f=r(59845),b=r(30014),j=r(16801),O=r(10797),y=r(48588),m=r(24246),v=["product","index","bordered","variant","aspectRatio","imgProps","ratingValue","buttonLabel","onButtonClick","showDiscountBadge","taxesConfiguration","sponsoredLabel","enableCompareCheckbox","compareLabel"];function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t"https://schema.org/InStock"!==U,[U]),$=null!=Z&&Z.usePriceWithTaxes?M:V,Q=null!=Z&&Z.usePriceWithTaxes?F:R,J=L?{"data-van-res-id":L.adResponseId,"data-van-aid":L.adId,"data-van-prod-name":N}:{};return(0,m.jsxs)(m.Fragment,{children:[K&&(0,m.jsx)(i.Z,{label:T,product:u,id:u.id}),(0,m.jsxs)(a.Z,_objectSpread(_objectSpread(_objectSpread({outOfStock:q,bordered:g,variant:S,"data-fs-product-card-sku":B},J),E),{},{children:[(0,m.jsx)(c.Z,{aspectRatio:P,children:(0,m.jsx)(f.Z,{src:I.url,alt:I.alternateName,sizes:"".concat(null!==(r=null==w?void 0:w.sizes)&&void 0!==r?r:"(max-width: 768px) 40vw, 30vw"),width:null!==(n=null==w?void 0:w.width)&&void 0!==n?n:360,height:Math.round((Number(null==w?void 0:w.height)||360)/P),loading:null==w?void 0:w.loading})}),(0,m.jsx)(s.Z,{title:N,price:{value:$,listPrice:Q,formatter:j.P},ratingValue:_,outOfStock:q,onButtonClick:D,linkProps:W,showDiscountBadge:$<=Q&&k,includeTaxes:null==Z?void 0:Z.usePriceWithTaxes,includeTaxesLabel:null==Z?void 0:Z.taxesLabel,sponsored:!!L,sponsoredLabel:C,deliveryPromiseBadges:A&&z})]}))]})})},43733:function(e,t,r){"use strict";r.r(t);var n=r(23110),o=r(15099),i=r(42354),a=r(74723),c=r.n(a),s=r(24246);function BannerNewsletter(e){var{banner:t,newsletter:r}=e;return(0,s.jsx)(i.Z,{className:"".concat(c().section," section-banner-newsletter"),children:(0,s.jsxs)("div",{"data-fs-banner-text-newsletter":!0,"data-fs-content":"banner-newsletter",children:[(0,s.jsx)(n.OverriddenDefaultBannerText,{title:t.title,caption:t.caption,link:null==t?void 0:t.link,variant:t.variant,colorVariant:t.colorVariant}),(0,s.jsx)(o.OverriddenDefaultNewsletter,{card:!0,colorVariant:r.colorVariant,title:r.title,description:r.description,icon:r.icon,privacyPolicy:r.privacyPolicy,emailInputLabel:r.emailInputLabel,displayNameInput:r.displayNameInput,nameInputLabel:r.nameInputLabel,subscribeButtonLabel:r.subscribeButtonLabel,subscribeButtonLoadingLabel:r.subscribeButtonLoadingLabel,toastSubscribe:r.toastSubscribe,toastSubscribeError:r.toastSubscribeError})]})})}BannerNewsletter.$componentKey="BannerNewsletter",t.default=BannerNewsletter},23110:function(e,t,r){"use strict";r.r(t),r.d(t,{OverriddenDefaultBannerText:function(){return y}});var n=r(90849),o={section:"BannerText"},i=r(66548),a=r(92659),c=r(42354),s=r(78870),l=r.n(s),u=r(65218),d=r.n(u),f=d()(()=>Promise.all([r.e(4575),r.e(7793),r.e(5890)]).then(r.bind(r,34575)).then(e=>e.BannerText),{loadableGenerated:{webpack:()=>[null]}}),b=d()(()=>Promise.all([r.e(4575),r.e(7793),r.e(5890)]).then(r.bind(r,34575)).then(e=>e.BannerTextContent),{loadableGenerated:{webpack:()=>[null]}}),j=r(24246);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t{var t,{icon:r,alt:n="Go to homepage"}=e,o=(0,d.Z)(e,O),{Breadcrumb:i,Icon:a}=(0,s.r3)();return(0,j.jsx)(f.Z,_objectSpread(_objectSpread({homeLink:(0,j.jsx)(b.Z,{"data-fs-breadcrumb-link":!0,"data-fs-breadcrumb-link-home":!0,"aria-label":n,href:"/",prefetch:!1,children:(0,j.jsx)(a.Component,_objectSpread(_objectSpread({width:18,height:18,weight:"bold"},a.props),{},{name:null!==(t=null!=r?r:a.props.name)&&void 0!==t?t:"Home"}))}),renderLink:e=>{var{itemProps:{item:t,name:r}}=e;return(0,j.jsx)(b.Z,{"data-fs-breadcrumb-link":!0,href:t,prefetch:!1,children:r})}},i.props),o))}),Icon:u.Z},m=r(23489),v=r.n(m);function Breadcrumb_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function BreadcrumbSection(e){var t,r,o,i,a,u,d,f,b,O=Object.assign({},e),{Breadcrumb:y}=(0,s.r3)(),m=(0,l.qt)(),h=(0,l.OJ)(m)?null==m?void 0:null===(t=m.data)||void 0===t?void 0:null===(r=t.collection)||void 0===r?void 0:null===(o=r.seo)||void 0===o?void 0:o.title:"All Products",g=(0,l.tS)(m)?null==m?void 0:null===(i=m.data)||void 0===i?void 0:null===(a=i.product)||void 0===a?void 0:null===(u=a.breadcrumbList)||void 0===u?void 0:u.itemListElement:(0,l.OJ)(m)?null==m?void 0:null===(d=m.data)||void 0===d?void 0:null===(f=d.collection)||void 0===f?void 0:null===(b=f.breadcrumbList)||void 0===b?void 0:b.itemListElement:[{item:"/",name:h,position:1}];return(0,j.jsx)(c.Z,{className:"".concat(v().section," section-breadcrumb"),children:(0,j.jsx)(y.Component,function(e){for(var t=1;t{var t,r,n,{numberOfItems:o,itemsPerPage:i,title:u,kind:b,taxesConfiguration:j}=e,{ref:O,inView:y}=(0,s.YD)(),v=(0,l.al)(),h=null==v?void 0:null===(t=v.data)||void 0===t?void 0:null===(r=t.product)||void 0===r?void 0:null===(n=r.isVariantOf)||void 0===n?void 0:n.productGroupID,g=(0,a.useMemo)(()=>[{key:b,value:h}],[b,h]);return(0,m.jsx)(f.Z,{className:"".concat(d().section," section-product-shelf layout__section"),ref:O,children:(0,m.jsx)(c.Z,{inView:y,numberOfItems:o,itemsPerPage:i,title:u,selectedFacets:g,taxesConfiguration:j})})};CrossSellingShelf.$componentKey="CrossSellingShelf";var v=(0,i.B)("CrossSellingShelf",CrossSellingShelf,y);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t{var t,r,{link:n,title:o,subtitle:i,image:l,variant:d,colorVariant:f,icon:b}=e,{Hero:j,HeroImage:y,HeroHeader:m}=(0,c.r3)();return(0,O.jsx)(s.Z,{className:"".concat(u().section," section-hero"),children:(0,O.jsxs)(j.Component,_objectSpread(_objectSpread({},j.props),{},{variant:null!==(t=null!=d?d:j.props.variant)&&void 0!==t?t:"primary",colorVariant:null!==(r=null!=f?f:j.props.colorVariant)&&void 0!==r?r:"main",children:[(0,O.jsx)(y.Component,_objectSpread(_objectSpread({},y.props),{},{children:(0,O.jsx)(a.Z,{loading:"eager",src:l.src,alt:l.alt,width:360,height:240,sizes:"(max-width: 412px) 40vw, (max-width: 768px) 90vw, 50vw",priority:!0})})),(0,O.jsx)(m.Component,_objectSpread({title:o,subtitle:i,link:null==n?void 0:n.url,linkText:null==n?void 0:n.text,linkTargetBlank:null==n?void 0:n.linkTargetBlank,icon:b},m.props))]}))})};Hero_Hero.$componentKey="Hero";var y=(0,i.B)("Hero",Hero_Hero,j);function OverriddenDefaultHero_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function OverriddenDefaultHero_objectSpread(e){for(var t=1;t{var[e,{data:t,error:r,isValidating:n}]=(0,d.t)(f,{data:{name:"",email:""}});return{subscribeUser:e,data:t,error:r,loading:n}},b=r(92659),j=r(24246);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t').concat(t,"")}function RichText_RichText(e){var{content:t,testId:r="fs-rich-text"}=e,o=(0,a.Z)(e,V),i=t;return function(e){try{return JSON.parse(e),!0}catch(e){return!1}}(t)&&(i=((0,L.w)()?function(e){var t=null;try{t=JSON.parse(e)}catch(e){var r=Error('RichText\'s prop "content" is not a valid JSON string. This is happening because the content is malformed or the Content Platform is providing malformed content.');throw r.cause=e,r}if(!t)return"";var n=(0,Z.D)({nodes:[N.Zr1,N.CKy,N.R2r,C.GR,K.c2,K.rT,T.EG,T.NK,E.wg,B.HY],onError:e=>{throw e}}),o="";return n.update(()=>{var e=n.parseEditorState(t);n.setEditorState(e)}),n.read(()=>{o=(0,k.S)(n,null)}),o.replace(/]*href="([^"]*)"[^>]*>([^<]*)<\/a>/g,(e,t,r)=>getLinkElementAsString(t,r)).replace(/]*)>/g,'').replace(/]*)>/g,'').replace(/]*>\s*<\/li>/g,"").replace(/]*)>\s*(<(?:ul|ol)[^>]*>)/g,"$2").replace(/(<\/(?:ul|ol)>)\s*<\/li>/g,"$1").replace(/\s*]*>\s*(?=<(?:ul|ol))/g,"")}:function(e){var t=null;try{t=JSON.parse(e)}catch(e){var r=Error('RichText\'s prop "content" is not a valid JSON string. This is happening because the content is malformed or the CMS is providing malformed content.');throw r.cause=e,r}return t?D()(t,void 0,void 0,(e,t)=>"LINK"!==e.type?null:getLinkElementAsString(e.data.url,t)):""})(t)),(0,j.jsx)(I.Z,function(e){for(var t=1;tPromise.all([r.e(4575),r.e(7793),r.e(4214)]).then(r.bind(r,34575)).then(e=>e.ProductShelf),{loadableGenerated:{webpack:()=>[null]}}),j=f()(()=>r.e(4558).then(r.bind(r,4558)),{loadableGenerated:{webpack:()=>[4558]}}),O=f()(()=>r.e(2124).then(r.bind(r,82124)),{loadableGenerated:{webpack:()=>[82124]}}),y=r(24246);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ProductShelfSection(e){var t=Object.assign({},e),{ref:r,inView:o}=(0,a.YD)();return(0,y.jsx)(c.Z,{className:"".concat(u().section," section-product-shelf layout__section"),ref:r,children:(0,y.jsx)(s.Z,function(e){for(var t=1;t{var{children:t}=e,r=(0,o.Z)(e,u);return(0,l.jsx)(s.Z,_objectSpread(_objectSpread({},r),{},{children:t}))},d=r(4250),f=r(4584),ProductTileSkeleton_ProductTileSkeleton=function(e){var{index:t,aspectRatio:r=1}=e;return(0,l.jsxs)("div",{"data-fs-product-tile-skeleton":!0,"data-fs-product-tile-skeleton-index":t,children:[(0,l.jsx)("div",{"data-fs-product-tile-skeleton-image":!0,"data-fs-product-tile-skeleton-index":t,style:{"--fs-product-tile-skeleton-image-aspect-ratio":r},children:(0,l.jsx)(f.Z,{size:{width:"auto",height:"100%"},loading:!0})}),(0,l.jsxs)("div",{"data-fs-product-tile-skeleton-content":!0,"data-fs-product-tile-skeleton-index":t,children:[(0,l.jsxs)("div",{"data-fs-product-tile-skeleton-heading":!0,children:[(0,l.jsx)("div",{"data-fs-product-tile-skeleton-text":!0,"data-fs-product-tile-skeleton-index":t,children:(0,l.jsx)(f.Z,{size:{width:"70%",height:"1.5rem"}})}),(0,l.jsx)("div",{"data-fs-product-tile-skeleton-price":!0,children:(0,l.jsx)(f.Z,{size:{width:"60%",height:"1.5rem"}})})]}),(0,l.jsx)("div",{"data-fs-product-tile-skeleton-badge":!0,"data-fs-product-tile-skeleton-index":t,children:(0,l.jsx)(f.Z,{size:{width:"6rem",height:"2rem"},border:"pill"})})]})]})},getRatio=(e,t)=>3===e&&0===t||2===e&&(0===t||1===t)?5/3:3/4,ProductTilesSkeleton_ProductTilesSkeleton=function(e){var{children:t,loading:r=!0}=e;return r?(0,l.jsx)(ui_Tiles_Tiles,{children:Array.from({length:3},(e,t)=>(0,l.jsx)(d.Z,{children:(0,l.jsx)(ProductTileSkeleton_ProductTileSkeleton,{index:t+1,aspectRatio:getRatio(3,t)})},String(t)))}):(0,l.jsx)(l.Fragment,{children:t})},b=r(54828),j=r(57764),O=r(42354),y=r(21857),m=r.n(y),v=r(64251),h=r(1814),g=r(93551),S=r.n(g),P=["title","taxesConfiguration"];function ProductTiles_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ProductTiles_objectSpread(e){for(var t=1;t3===e&&0===t||2===e&&(0===t||1===t)?5/3:3/4,getSizes=(e,t)=>3===e&&0===t||2===e&&(0===t||1===t)?{width:594,height:364}:{width:284,height:364},ProductTiles=e=>{var t,r,{title:n,taxesConfiguration:s}=e,u=(0,o.Z)(e,P),f=(0,i.useRef)(!1),{ref:y,inView:g}=(0,a.YD)(),{deliveryFacets:w}=(0,v.E)(),_=(0,j.k)(ProductTiles_objectSpread(ProductTiles_objectSpread({},u),{},{selectedFacets:m()((0,h.qo)(u.selectedFacets),w,{arrayMerge:h.VV})})),x=null==_?void 0:null===(t=_.search)||void 0===t?void 0:t.products,D=null!==(r=null==x?void 0:x.edges)&&void 0!==r?r:[],{sendViewItemListEvent:k}=(0,b.m)({products:D,title:n,page:0,pageSize:0});return((0,i.useEffect)(()=>{g&&!f.current&&D.length&&(k(),f.current=!0)},[g,D.length,k]),(null==x?void 0:x.edges.length)===0)?null:(0,l.jsxs)(O.Z,{className:"".concat(S().section," section-product-tiles layout__section"),ref:y,children:[(0,l.jsx)("h2",{className:"text__title-section layout__content",children:n}),(0,l.jsx)(ProductTilesSkeleton_ProductTilesSkeleton,{loading:!x,children:(0,l.jsx)(ui_Tiles_Tiles,{children:D.map((e,t)=>(0,l.jsx)(d.Z,{children:(0,l.jsx)(c.Z,{"data-testid":"tile-card",product:e.node,index:t+1,variant:"wide",aspectRatio:ProductTiles_getRatio(D.length,t),imgProps:getSizes(D.length,t),taxesConfiguration:s})},e.node.id))})})]})};ProductTiles.$componentKey="ProductTiles";var w=ProductTiles},63096:function(e,t,r){"use strict";var n=r(4584),o=r(24246);t.Z=function(e){var{bordered:t,sectioned:r,displayButton:i,aspectRatio:a=1,variant:c="default"}=e;return(0,o.jsxs)("div",{"data-fs-product-card-skeleton":!0,"data-fs-product-card-skeleton-variant":c,"data-fs-product-card-skeleton-bordered":t,"data-fs-product-card-skeleton-sectioned":r,children:[(0,o.jsx)("div",{"data-fs-product-card-skeleton-image":!0,style:{"--fs-product-card-skeleton-image-aspect-ratio":a},children:(0,o.jsx)(n.Z,{size:{width:"100%",height:"100%"}})}),(0,o.jsxs)("div",{"data-fs-product-card-skeleton-content":!0,children:[(0,o.jsx)(n.Z,{"data-fs-product-card-skeleton-text":!0,size:{width:"90%",height:"1.5rem"}}),(0,o.jsx)(n.Z,{"data-fs-product-card-skeleton-text":!0,size:{width:"70%",height:"1.5rem"}}),(0,o.jsx)(n.Z,{"data-fs-product-card-skeleton-badge":!0,size:{width:"6rem",height:"2rem"},border:"pill"}),i&&(0,o.jsx)(n.Z,{"data-fs-product-card-skeleton-button":!0,size:{width:"6rem",height:"2rem"},style:{columnGap:".75rem"}})]})]})}},8294:function(e,t,r){"use strict";var n=r(7310),o=r(21809),i=r(24246);t.Z=function(e){var{id:t,testId:r,children:a,itemsPerPage:c,variant:s="scroll",infiniteMode:l=!1}=e,{loading:u,isTablet:d,isMobile:f}=(0,o.Z)();return u?null:(0,i.jsx)(n.Z,{id:t,testId:r,variant:s,infiniteMode:l,itemsPerPage:d||f?1.6:c,children:a})}},22245:function(e,t,r){"use strict";r.d(t,{Z:function(){return ui_ProductShelf_ProductShelf}});var n=r(90849),o=r(90089),i=r(27378),a=r(21857),c=r.n(a),s=r(62150),l=r(94148),u=r(78497),d=r(63096),f=r(24246),ProductShelfSkeleton_ProductShelfSkeleton=function(e){var{children:t,aspectRatio:r,itemsPerPage:n,loading:o=!0}=e;return o?(0,f.jsx)(s.Z,{"data-fs-product-shelf-skeleton":!0,children:(0,f.jsx)(l.Z,{children:Array.from({length:n},(e,t)=>(0,f.jsx)(u.Z,{children:(0,f.jsx)(d.Z,{aspectRatio:r,sectioned:!0,bordered:!0})},String(t)))})}):(0,f.jsx)(f.Fragment,{children:t})},b=r(54828),j=r(64251),O=r(92659),y=r(57764),m=r(1814),v=["title","inView","productCardConfiguration","numberOfItems","itemsPerPage","taxesConfiguration"];function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t{a&&!D.current&&K.length&&(T(),D.current=!0)},[a,K.length,T]),(null==C?void 0:C.edges.length)===0)?null:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("h2",{className:"text__title-section layout__content",children:n}),(0,f.jsx)(ProductShelfSkeleton_ProductShelfSkeleton,{aspectRatio:1,loading:void 0===C,itemsPerPage:d,children:(0,f.jsx)(S.Component,_objectSpread(_objectSpread({},S.props),{},{children:(0,f.jsx)(P.Component,_objectSpread(_objectSpread({id:_||x,itemsPerPage:d},P.props),{},{children:K.map((e,t)=>(0,i.createElement)(w.Component,_objectSpread(_objectSpread({aspectRatio:1,imgProps:{width:216,height:216,sizes:"(max-width: 768px) 42vw, 30vw"}},w.props),{},{bordered:null!=s?s:w.props.bordered,showDiscountBadge:null!=l?l:w.props.showDiscountBadge,taxesConfiguration:h,key:"".concat(e.node.id),product:e.node,index:t+1})))}))}))})]})}},27351:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return SKUMatrix_SKUMatrixSidebar},fragment:function(){return m}});var n=r(90849),o=r(90089),i=r(9377),a=r(27378),c=r(76683),s=r(94968),l=r(14614),u=r(26884),d=r(43179),f=r(90194);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t{var{channel:o,locale:i}=(0,f.kP)(),c=(0,a.useMemo)(()=>{if(!o)throw Error("useAllVariantProducts: 'channel' from session is an empty string.");return{locator:[{key:"id",value:e},{key:"channel",value:o},{key:"locale",value:i}]}},[o,i,e]);return(0,d.aM)(b,c,{fallbackData:n,revalidateOnMount:!0,doNotRun:!t,onSuccess:e=>{r(e.product.isVariantOf.skuVariants.allVariantProducts.map(e=>{var t=e.additionalProperty.reduce((e,t)=>_objectSpread(_objectSpread({},e),{},{[t.name.toLowerCase()]:t.value}),{}),r="https://schema.org/OutOfStock"===e.offers.offers[0].availability;return{id:e.sku,name:e.name,image:{url:e.image[0].url,alternateName:e.image[0].alternateName},inventory:e.offers.offers[0].quantity,availability:r?"outOfStock":"available",price:e.offers.offers[0].price,listPrice:e.offers.offers[0].listPrice,priceWithTaxes:e.offers.offers[0].priceWithTaxes,listPriceWithTaxes:e.offers.offers[0].listPriceWithTaxes,specifications:t,offers:e.offers,selectedCount:0}}).sort((e,t)=>e.name.localeCompare(t.name)))}})},j=r(59845),O=r(24246),y=["src","alt"];function SKUMatrixSidebar_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function SKUMatrixSidebar_objectSpread(e){for(var t=1;t{var{src:t,alt:r}=e,n=(0,o.Z)(e,y);return(0,O.jsx)(j.Z,SKUMatrixSidebar_objectSpread({src:t,alt:r,width:48,height:48},n))},m=i.Ud,SKUMatrix_SKUMatrixSidebar=function(e){var t,r,{data:n}=(0,u.al)(),o=null!==(t=e.product)&&void 0!==t?t:n.product,{allVariantProducts:i,isOpen:d,setAllVariantProducts:f}=(0,c._)(),{isValidating:b}=useAllVariantProducts(o.id,d,f);(0,a.useEffect)(()=>{var t;null===(t=e.status)||void 0===t||t.call(e,d?"visible":null)},[d]);var{gtin:j,unitMultiplier:y,brand:m,additionalProperty:v,isVariantOf:h,offers:{offers:[{seller:g}]}}=o,S=i.filter(e=>e.selectedCount).map(e=>{var{offers:{offers:[{price:t,priceWithTaxes:r,listPrice:n,listPriceWithTaxes:o}]}}=e;return{id:e.id,price:t,priceWithTaxes:r,listPrice:n,listPriceWithTaxes:o,seller:g,quantity:e.selectedCount,itemOffered:{sku:e.id,name:e.name,gtin:j,image:[e.image],brand:m,isVariantOf:SKUMatrixSidebar_objectSpread(SKUMatrixSidebar_objectSpread({},h),{},{skuVariants:SKUMatrixSidebar_objectSpread(SKUMatrixSidebar_objectSpread({},h.skuVariants),{},{activeVariations:e.specifications})}),additionalProperty:v,unitMultiplier:y}}}),P=(0,l.Q)(S);return(0,O.jsx)(s.Z,SKUMatrixSidebar_objectSpread({buyProps:P,title:null!==(r=o.isVariantOf.name)&&void 0!==r?r:"",loading:b,ImageComponent:ImageComponent},e))}},11849:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return eD},default:function(){return p}});var n=r(90089),o=r(90849),i=r(21857),a=r.n(i),c=r(17486),s=r(88038),l=r.n(s),u=r(11980),d=r(59555),f=r(59392),b=r(43733),j=r(23110),O=r(97165),y=r(64883),m=r(27913),v=r(15099),h={section:"ProductDetails"},g=r(66548),S=r(27378),P=r(16801),w=r(90194),_=r(42354),x=r(87663),D=r.n(x),k=r(6570),Z=r.n(k),C=r(92659),K=r(26884),T=r(75408),E=r(57392),B=r(34360),N=r(29935),I=r(21398),L=r(55861),V=r(10514),M=r(22582),R=r(94011),U=r(68556),F=r(37389),H=r(22142),G=r(94968),z=r(86677),A=r(24246),W=["images"];function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t{var{url:t,alternateName:r}=e,{__experimentalImageGalleryImage:n}=(0,C.r3)();return(0,A.jsx)(n.Component,{src:t,alt:r,width:68,height:68})},q=r(55732),$=r(72365);function useShippingSimulation_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function useShippingSimulation_objectSpread(e){for(var t=1;t({input:{postalCode:"",displayClearButton:!1,errorMessage:""},shippingSimulation:void 0}),reducer=(e,t)=>{var{type:r}=t;switch(r){case"clear":return createEmptySimulation();case"update":var{payload:n}=t;return{input:useShippingSimulation_objectSpread(useShippingSimulation_objectSpread({},e.input),n.input),shippingSimulation:useShippingSimulation_objectSpread(useShippingSimulation_objectSpread({},e.shippingSimulation),n.shippingSimulation)};case"onInput":var{payload:o}=t;return useShippingSimulation_objectSpread(useShippingSimulation_objectSpread({},e),{},{input:useShippingSimulation_objectSpread({},o)});case"onError":var{payload:i}=t;return useShippingSimulation_objectSpread(useShippingSimulation_objectSpread({},e),{},{input:useShippingSimulation_objectSpread(useShippingSimulation_objectSpread({},e.input),i)});default:throw Error("Action ".concat(r," not implemented"))}},useShippingSimulation=e=>{var{0:{input:t,shippingSimulation:r},1:n}=(0,S.useReducer)(reducer,null,createEmptySimulation),{country:o,postalCode:i}=(0,w.kP)(),{postalCode:a}=t,c=(0,S.useRef)(a),s=JSON.stringify(e);return(0,S.useEffect)(()=>{var e=JSON.parse(s);function _fetchShipping(){return(_fetchShipping=(0,q.Z)(function*(){var t=(yield(0,$.Z)({country:o,postalCode:null!=i?i:"",items:[e]})).shipping;n({type:"update",payload:{input:{postalCode:null!=i?i:"",displayClearButton:!0,errorMessage:""},shippingSimulation:t}})})).apply(this,arguments)}i&&!c.current&&function(){_fetchShipping.apply(this,arguments)}()},[o,i,s]),{input:t,shippingSimulation:r,handleOnClear:()=>{n({type:"clear"})},handleSubmit:(0,S.useCallback)((0,q.Z)(function*(){try{var t=(yield(0,$.Z)({country:o,postalCode:null!=a?a:"",items:[e]})).shipping;n({type:"update",payload:{input:{displayClearButton:!0,errorMessage:""},shippingSimulation:t}})}catch(e){n({type:"onError",payload:{displayClearButton:!0,errorMessage:"You entered an invalid Postal Code"}})}}),[o,e,a]),handleOnInput:(0,S.useCallback)(e=>{var t=e.currentTarget.value;t?n({type:"onInput",payload:{postalCode:t,displayClearButton:!1,errorMessage:""}}):n({type:"clear"})},[])}},Q=["productShippingInfo","formatter","inputLabel","title","idkPostalCodeLinkProps"];function ShippingSimulation_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var J=r(59845),Y=r(16268),X=r(27351),ee=r(49553),et=r(6792),er=r(48164),en=r(36420),eo=r(14614),ei=r(79894),ea=r.n(ei),ec=["src","alt"],es=["slugsMap","activeVariations","availableVariations"];function Selectors_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Selectors_objectSpread(e){for(var t=1;t{var{src:t,alt:r}=e,o=(0,n.Z)(e,ec);return(0,A.jsx)(J.Z,Selectors_objectSpread({src:t,alt:r,width:34,height:34},o))},SkuSelector_Selectors=function(e){var{slugsMap:t,activeVariations:r,availableVariations:o}=e,i=(0,n.Z)(e,es),{SkuSelector:a}=(0,C.r3)();return(0,A.jsx)("section",Selectors_objectSpread(Selectors_objectSpread({},i),{},{children:o&&Object.keys(o).map(e=>{var n,i,c,s,l;return(0,S.createElement)(a.Component,Selectors_objectSpread(Selectors_objectSpread({ImageComponent:Selectors_ImageComponent},a.props),{},{key:e,skuPropertyName:e,availableVariations:o,activeVariations:r,slugsMap:t,linkProps:Selectors_objectSpread(Selectors_objectSpread({},null!==(n=a.props.linkProps)&&void 0!==n?n:{}),{},{as:null!==(i=null===(c=a.props.linkProps)||void 0===c?void 0:c.as)&&void 0!==i?i:ea(),legacyBehavior:null!==(s=null===(l=a.props.linkProps)||void 0===l?void 0:l.legacyBehavior)&&void 0!==s&&s})}))})}))};function AddToCartLoadingSkeleton(){return(0,A.jsxs)("svg",{role:"img",width:"100%",height:"48","aria-labelledby":"loading-aria",viewBox:"0 0 112 48",preserveAspectRatio:"none",children:[(0,A.jsx)("title",{id:"loading-aria",children:"Loading..."}),(0,A.jsx)("rect",{x:"0",y:"0",width:"100%",height:"100%",clipPath:"url(#clip-path)",style:{fill:'url("#fill")'}}),(0,A.jsxs)("defs",{children:[(0,A.jsx)("clipPath",{id:"clip-path",children:(0,A.jsx)("rect",{x:"0",y:"0",rx:"2",ry:"2",width:"112",height:"48"})}),(0,A.jsxs)("linearGradient",{id:"fill",children:[(0,A.jsx)("stop",{offset:"0.599964",stopColor:"#f3f3f3",stopOpacity:"1",children:(0,A.jsx)("animate",{attributeName:"offset",values:"-2; -2; 1",keyTimes:"0; 0.25; 1",dur:"2s",repeatCount:"indefinite"})}),(0,A.jsx)("stop",{offset:"1.59996",stopColor:"#ecebeb",stopOpacity:"1",children:(0,A.jsx)("animate",{attributeName:"offset",values:"-1; -1; 2",keyTimes:"0; 0.25; 1",dur:"2s",repeatCount:"indefinite"})}),(0,A.jsx)("stop",{offset:"2.59996",stopColor:"#f3f3f3",stopOpacity:"1",children:(0,A.jsx)("animate",{attributeName:"offset",values:"0; 0; 3",keyTimes:"0; 0.25; 1",dur:"2s",repeatCount:"indefinite"})})]})]})]})}var el=r(12279),eu=r(54410);function ProductDetailsSettings_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ProductDetailsSettings_objectSpread(e){for(var t=1;t{var t,{images:r}=e,o=(0,n.Z)(e,W),{ImageGallery:i,ImageGalleryViewer:a,__experimentalImageGalleryImage:c}=(0,C.r3)(),{0:s,1:l}=(0,S.useState)(0),u=null!==(t=r[s])&&void 0!==t?t:r[0],d=(0,z.useRouter)().asPath;return(0,S.useEffect)(()=>l(0),[d]),(0,A.jsx)(i.Component,_objectSpread(_objectSpread(_objectSpread({},i.props),{},{images:r,ImageComponent:ImageComponent,selectedImageIdx:s,setSelectedImageIdx:l},o),{},{children:(0,A.jsx)(a.Component,_objectSpread(_objectSpread({},a.props),{},{children:(0,A.jsx)(c.Component,_objectSpread(_objectSpread({sizes:"(max-width: 360px) 50vw, (max-width: 768px) 90vw, 50vw",width:691,height:691*(3/4),loading:"eager"},c.props),{},{src:u.url,alt:u.alternateName}))}))}))},__experimentalShippingSimulation:function(e){var t,r,i,a,c,s,{productShippingInfo:l,formatter:u,inputLabel:d,title:f,idkPostalCodeLinkProps:b}=e,j=(0,n.Z)(e,Q),{ShippingSimulation:O}=(0,C.r3)(),{input:y,shippingSimulation:m,handleSubmit:v,handleOnInput:h,handleOnClear:g}=useShippingSimulation(l),{postalCode:S,displayClearButton:P,errorMessage:w}=y,_=null!==(t=[null==m?void 0:null===(r=m.address)||void 0===r?void 0:r.neighborhood,null==m?void 0:null===(i=m.address)||void 0===i?void 0:i.city].filter(Boolean).join(" / "))&&void 0!==t?t:"",x=null!==(a=null==m?void 0:null===(c=m.logisticsInfo)||void 0===c?void 0:null===(s=c[0])||void 0===s?void 0:s.slas)&&void 0!==a?a:[];return(0,A.jsx)(O.Component,function(e){for(var t=1;t({none:[],first:[0],all:[0,1,2,3]}),[]),{0:o,1:i}=(0,S.useState)(new Set(n[r]));return(0,A.jsx)("section",{"data-fs-product-description":!0,children:(0,A.jsx)(ee.Z,{indices:o,onChange:e=>{i(t=>{var r=new Set(t);return t.has(e)?r.delete(e):r.add(e),r})},"aria-label":"Product Details Content",children:t.map((e,t)=>{var{title:r,content:n}=e;return(0,A.jsxs)(et.Z,{as:"article",index:t,prefixId:"product-description","data-fs-product-details-description":!0,children:[(0,A.jsx)(er.Z,{children:r}),(0,A.jsx)(en.Z,{children:(0,A.jsx)("div",{"data-fs-product-details-description-content":!0,dangerouslySetInnerHTML:{__html:n}})})]},String(t))})})})},__experimentalProductDetailsSettings:function(e){var{product:t,buyButtonTitle:r,isValidating:n,quantity:o,setQuantity:i,buyButtonIcon:{icon:a,alt:c},notAvailableButtonTitle:s,useUnitMultiplier:l=!1,taxesConfiguration:u}=e,{BuyButton:d,Icon:f,ProductPrice:b,QuantitySelector:j,__experimentalNotAvailableButton:O}=(0,C.r3)(),{pushToast:y}=(0,el.l8)(),{id:m,sku:v,gtin:h,unitMultiplier:g,name:w,brand:_,isVariantOf:x,isVariantOf:{skuVariants:D},image:k,additionalProperty:Z,offers:{offers:[{availability:K,price:T,priceWithTaxes:E,listPrice:B,seller:I,listPriceWithTaxes:L}]}}=t,V=(0,eo.Q)({id:m,price:T,priceWithTaxes:E,listPrice:B,listPriceWithTaxes:L,seller:I,quantity:o,itemOffered:{sku:v,name:w,gtin:h,image:k,brand:_,isVariantOf:x,additionalProperty:Z,unitMultiplier:g}}),M=(0,S.useMemo)(()=>"https://schema.org/OutOfStock"===K,[K]);return(0,A.jsxs)(A.Fragment,{children:[!M&&(0,A.jsxs)("section",{"data-fs-product-details-values":!0,children:[(0,A.jsxs)("div",{"data-fs-product-details-values-wrapper":!0,children:[(0,A.jsx)(b.Component,ProductDetailsSettings_objectSpread({"data-fs-product-details-prices":!0,value:(null!=u&&u.usePriceWithTaxes?E:T)*(null!=g?g:1),listPrice:(null!=u&&u.usePriceWithTaxes?L:B)*(null!=g?g:1),formatter:P.P},b.props)),(null==u?void 0:u.usePriceWithTaxes)&&(0,A.jsx)(eu.Z,{"data-fs-product-details-taxes-label":!0,children:null==u?void 0:u.taxesLabel})]}),(0,A.jsx)(j.Component,ProductDetailsSettings_objectSpread(ProductDetailsSettings_objectSpread({min:1,max:10,unitMultiplier:l?g:1,useUnitMultiplier:l},j.props),{},{onChange:i,onValidateBlur:(e,t,r)=>{y({title:"Invalid quantity!",message:"The quantity you entered is outside the range of ".concat(e," to ").concat(t,". The quantity was set to ").concat(r,"."),status:"INFO",icon:(0,A.jsx)(N.Z,{name:"CircleWavyWarning",width:30,height:30})})}}))]}),D&&(0,A.jsx)(SkuSelector_Selectors,{slugsMap:D.slugsMap,availableVariations:D.availableVariations,activeVariations:D.activeVariations,"data-fs-product-details-selectors":!0}),n?(0,A.jsx)(AddToCartLoadingSkeleton,{}):M?(0,A.jsx)(O.Component,{children:s}):(0,A.jsx)(d.Component,ProductDetailsSettings_objectSpread(ProductDetailsSettings_objectSpread(ProductDetailsSettings_objectSpread({},d.props),{},{icon:(0,A.jsx)(f.Component,ProductDetailsSettings_objectSpread(ProductDetailsSettings_objectSpread({},f.props),{},{name:null!=a?a:f.props.name,"aria-label":null!=c?c:f.props["aria-label"]}))},V),{},{children:r||"Add to Cart"}))]})}};function ProductDetails_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ProductDetails_objectSpread(e){for(var t=1;t{r.e(4605).then(r.bind(r,14791)).then(e=>{var{sendAnalyticsEvent:t}=e;t({name:"view_item",params:{currency:R.code,value:ei,items:[{item_id:Y.productGroupID,item_name:Y.name,item_brand:J.name,item_variant:q,price:ei,discount:ea-ei,currency:R.code,item_variant_name:Q,product_reference_id:$}]}})})},[Y.productGroupID,Y.name,J.name,q,ei,ea,R.code,Q,$]);var ed=(0,S.useMemo)(()=>"https://schema.org/OutOfStock"===eo,[eo]);return(0,A.jsx)(_.Z,{className:"".concat(D().section," section-product-details"),children:(0,A.jsx)("section",{"data-fs-product-details":!0,children:(0,A.jsxs)("section",{"data-fs-product-details-body":!0,"data-fs-content":"product-details",children:[(0,A.jsx)("header",{"data-fs-product-details-title":!0,"data-fs-product-details-section":!0,children:(0,A.jsx)(Z.Component,ProductDetails_objectSpread(ProductDetails_objectSpread({title:(0,A.jsx)("h1",{children:ee})},Z.props),{},{label:a&&(0,A.jsx)(k.Component,ProductDetails_objectSpread(ProductDetails_objectSpread({},k.props),{},{size:null!=c?c:k.props.size,listPrice:null!=x&&x.usePriceWithTaxes?ec:ea,spotPrice:null!=x&&x.usePriceWithTaxes?eu:el})),refNumber:i&&et}))}),(0,A.jsx)(B.Component,ProductDetails_objectSpread(ProductDetails_objectSpread({"data-fs-product-details-gallery":!0},B.props),{},{images:en})),ep&&H?(0,A.jsx)("section",{"data-fs-product-details-info":!0,children:(0,A.jsx)("section",{"data-fs-product-details-settings":!0,"data-fs-product-details-section":!0,children:(0,A.jsx)("p",{children:"Loading..."})})}):(0,A.jsxs)("section",{"data-fs-product-details-info":!0,children:[(0,A.jsxs)("section",{"data-fs-product-details-settings":!0,"data-fs-product-details-section":!0,children:[(0,A.jsx)(V.Component,ProductDetails_objectSpread(ProductDetails_objectSpread({buyButtonTitle:l,buyButtonIcon:s,notAvailableButtonTitle:null!=h?h:I.props.title,useUnitMultiplier:null!==(t=null==g?void 0:g.useUnitMultiplier)&&void 0!==t&&t},V.props),{},{quantity:G,setQuantity:z,product:F,isValidating:H,taxesConfiguration:x})),(null==v?void 0:v.shouldDisplaySKUMatrix)&&Object.keys(er).length>1&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("div",{"data-fs-product-details-settings-separator":!0,children:v.separatorButtonsText}),(0,A.jsxs)(T.Component,{children:[(0,A.jsx)(E.Component,{disabled:H,children:v.triggerButtonLabel}),(0,A.jsx)(M.Component,{formatter:P.P,columns:v.columns,overlayProps:{className:D().section}})]})]})]}),!ed&&(0,A.jsx)(N.Component,ProductDetails_objectSpread(ProductDetails_objectSpread({"data-fs-product-details-section":!0,"data-fs-product-details-shipping":!0,formatter:P.P},N.props),{},{idkPostalCodeLinkProps:ProductDetails_objectSpread(ProductDetails_objectSpread({},N.props.idkPostalCodeLinkProps),{},{href:null!=b?b:null===(n=N.props.idkPostalCodeLinkProps)||void 0===n?void 0:n.href,children:null!=j?j:null===(o=N.props.idkPostalCodeLinkProps)||void 0===o?void 0:o.children}),productShippingInfo:{id:W,quantity:G,seller:es.identifier},title:null!=u?u:N.props.title,inputLabel:null!=d?d:N.props.inputLabel,optionsLabel:null!=f?f:N.props.optionsLabel}))]}),m&&(0,A.jsx)(L.Component,ProductDetails_objectSpread({initiallyExpanded:null!=y?y:L.props.initiallyExpanded,descriptionData:[{content:X,title:O}]},L.props))]})})})}ProductDetails.$componentKey="ProductDetails";var ef=(0,g.B)("ProductDetails",ProductDetails,ed);function OverriddenDefaultProductDetails_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function OverriddenDefaultProductDetails_objectSpread(e){for(var t=1;te.AvailableQuantity>0,price=e=>{var t;return null!==(t=e.spotPrice)&&void 0!==t?t:0},bestOfferFirst=(e,t)=>inStock(e)&&!inStock(t)?-1:!inStock(e)&&inStock(t)?1:price(e)-price(t),withTax=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.round((e+t/r)*100)/100},getHighPrice=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{includeTaxes:!1},n=e.filter(inStock),o=n[n.length-1],i=o?price(o):0;return r.includeTaxes?withTax(i,null==o?void 0:o.Tax,null==o?void 0:null===(t=o.product)||void 0===t?void 0:t.unitMultiplier):i},getLowPrice=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{includeTaxes:!1},[n]=e.filter(inStock),o=n?price(n):0;return r.includeTaxes?withTax(o,null==n?void 0:n.Tax,null==n?void 0:null===(t=n.product)||void 0===t?void 0:t.unitMultiplier):o};function enhance_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function enhance_objectSpread(e){for(var t=1;t{var{offer:t,seller:r,product:n}=e;return enhance_objectSpread(enhance_objectSpread({},t),{},{product:n,seller:r})};function getUrl(e){var t=k.storeUrl,r=new URL("".concat(t,"/api/intelligent-search/product_search"));return r.searchParams.append("query","sku.id:".concat(e)),r.toString()}function fetcher(e){return _fetcher.apply(this,arguments)}function _fetcher(){return(_fetcher=(0,q.Z)(function*(e){return fetch(getUrl(e)).then(e=>e.json())})).apply(this,arguments)}var eh={offers:{},isValidating:!1},eg=r(9377),eS=r(43179),eP=eg.wA,useProductQuery=(e,t)=>{var{channel:r,locale:n}=(0,w.kP)(),o=(0,S.useMemo)(()=>{if(!r)throw Error("useProductQuery: 'channel' from session is an empty string.");return{locator:[{key:"id",value:e},{key:"channel",value:r},{key:"locale",value:n}]}},[r,n,e]);return(0,eS.aM)(eP,o,{fallbackData:t,revalidateOnMount:!0})},ew=["pdp"];function p_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p_objectSpread(e){for(var t=1;tt,ex=Z().experimental.enableClientOffer,eD=!0,p=function(e){var t,r,o,i,s,u,f,b,j,O,y,{data:m,sections:v,settings:h,globalSections:g,offers:S,meta:P}=e,{currency:_}=(0,w.kP)(),{product:x}=m,{seo:{pdp:D}}=Z(),k=(0,n.Z)(Z().seo,ew),C=null!==(o=null==P?void 0:P.title)&&void 0!==o?o:k.title,T=null!==(i=D.titleTemplate)&&void 0!==i?i:null==k?void 0:k.titleTemplate,E=(null==P?void 0:P.description)||D.descriptionTemplate.replace(/%s/g,()=>C)||k.description,B=null!==(s=x.breadcrumbList.itemListElement)&&void 0!==s?s:[];0!==B.length&&(B=B.map(e=>{var{item:t,name:r,position:n}=e;return{name:r,position:n,item:Z().storeUrl+t}}));var{client:N,isValidating:I}=ex?{client:{product:{offers:(t=function(e){var t,{data:r,error:n,isValidating:o}=(0,ev.ZP)(e.skuId,fetcher);if(n||!r||0===r.products.length)return console.warn("Error or no data fetching offer to SKU",e.skuId,n),eh;var i=r.products[0];if(!i||0===i.items.length)return console.warn("Product not found or has no items for SKU",e.skuId),eh;var a=i.items.find(t=>t.itemId===e.skuId);return a?{offers:{highPrice:getHighPrice(t=a.sellers.map(e=>enhanceCommercialOffer({offer:e.commertialOffer,seller:e,product:a})).sort(bestOfferFirst)),lowPrice:getLowPrice(t),lowPriceWithTaxes:getLowPrice(t,{includeTaxes:!0}),offerCount:t.length},isValidating:o}:(console.warn("Item not found for SKU",e.skuId),eh)}({skuId:x.sku})).offers}},isValidating:t.isValidating}:{client:(r=useProductQuery(x.id,{product:x})).data,isValidating:r.isValidating},{sections:L,settings:V}=null!=g?g:{},M={data:p_objectSpread(p_objectSpread({},a()(m,N,{arrayMerge:overwriteMerge})),{},{isValidating:I}),globalSettings:V};return(0,A.jsxs)(A.Fragment,{children:[ex&&(0,A.jsx)(l(),{children:(0,A.jsx)("link",{rel:"preload",href:getUrl(x.sku),as:"fetch",crossOrigin:"anonymous",fetchPriority:"high"})}),(0,A.jsx)(c.PB,{title:C,description:E,canonical:P.canonical,openGraph:{type:"og:product",url:P.canonical,title:C,description:E,images:x.image.map(e=>({url:e.url,alt:e.alternateName}))},additionalMetaTags:[{property:"product:price:amount",content:null!==(u=null===(f=x.offers.lowPrice)||void 0===f?void 0:f.toString())&&void 0!==u?u:void 0},{property:"product:price:currency",content:_.code}],titleTemplate:T}),(0,A.jsx)(c.gR,{itemListElements:B}),(0,A.jsx)(c.Qb,p_objectSpread({id:"".concat(P.canonical).concat(null!==(b=null==h?void 0:null===(j=h.seo)||void 0===j?void 0:j.id)&&void 0!==b?b:""),mainEntityOfPage:"".concat(P.canonical).concat(null!==(O=null==h?void 0:null===(y=h.seo)||void 0===y?void 0:y.mainEntityOfPage)&&void 0!==O?O:""),productName:C,description:E,brand:x.brand.name,sku:x.sku,gtin:x.gtin,releaseDate:x.releaseDate,images:x.image.map(e=>e.url),offers:S},0!==B.length&&{category:B[0].name})),(0,A.jsx)(K.ZP,{context:M,children:(0,A.jsx)(d.ZP,{sections:v,globalSections:L,components:e_})})]})}},54828:function(e,t,r){"use strict";r.d(t,{m:function(){return useViewItemListEvent}});var n=r(27378),o=r(90194),useViewItemListEvent=e=>{var{products:t,title:i,page:a,pageSize:c}=e,{currency:{code:s}}=(0,o.kP)();return{sendViewItemListEvent:(0,n.useCallback)(e=>{var n=null!=t&&t.length?t:null==e?void 0:e.products;n&&0!==n.length&&r.e(4605).then(r.bind(r,14791)).then(e=>{var{sendAnalyticsEvent:t}=e;t({name:"view_item_list",params:{item_list_name:i,item_list_id:i,items:n.map((e,t)=>{var{node:r}=e;return{item_id:r.isVariantOf.productGroupID,item_name:r.isVariantOf.name,item_brand:r.brand.name,item_variant:r.sku,price:r.offers.offers[0].price,index:a*c+t+1,discount:r.offers.offers[0].listPrice-r.offers.offers[0].price,currency:s,item_variant_name:r.name,product_reference_id:r.gtin}})}})})},[s,t,i,a,c])}}},64251:function(e,t,r){"use strict";r.d(t,{E:function(){return useDeliveryPromiseFacets}});var n=r(79006);function useDeliveryPromiseFacets(){var e,t,{state:r}=(0,n.R)();return{deliveryFacets:r.selectedFacets.filter(pickByKey(["shipping","pickupPoint"])),shipping:null===(e=r.selectedFacets.filter(pickByKey(["shipping"])))||void 0===e?void 0:e[0],pickupPoint:null===(t=r.selectedFacets.filter(pickByKey(["pickupPoint"])))||void 0===t?void 0:t[0]}}var pickByKey=e=>t=>{var{key:r}=t;return e.includes(r)}},16801:function(e,t,r){"use strict";r.d(t,{P:function(){return useFormattedPrice}});var n=r(27378),o=r(90194),usePriceFormatter=function(){var{decimals:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{currency:t,locale:r}=(0,o.kP)();return(0,n.useCallback)(n=>Intl.NumberFormat(r,{style:"currency",currency:t.code,minimumFractionDigits:e?2:0}).format(n),[t.code,r,e])},useFormattedPrice=e=>{var t=usePriceFormatter();return(0,n.useMemo)(()=>t(e),[t,e])}},76518:function(e,t,r){"use strict";r.d(t,{y:function(){return useLocalizedVariables}});var n=r(27378),o=r(30411),i=r(90194),a=r(1814),useLocalizedVariables=e=>{var{first:t,after:r,sort:c,term:s,selectedFacets:l,sponsoredCount:u}=e,{channel:d,locale:f}=(0,i.kP)();return(0,n.useMemo)(()=>({first:null!=t?t:o.KS,after:null!=r?r:"0",sort:null!=c?c:"score_desc",term:null!=s?s:"",selectedFacets:[...(0,a.qo)(l),{key:"channel",value:null!=d?d:""},{key:"locale",value:f}],sponsoredCount:null!=u?u:3}),[l,t,r,c,s,d,f,u])}},10797:function(e,t,r){"use strict";r.d(t,{w:function(){return useProductLink}});var n=r(27378),o=r(90194),useProductLink=e=>{var{index:t,product:i,selectedOffer:a}=e,{slug:c}=i,{currency:{code:s}}=(0,o.kP)(),l=(0,n.useCallback)(()=>{r.e(4605).then(r.bind(r,14791)).then(e=>{var{sendAnalyticsEvent:r}=e;r({name:"select_item",params:{items:[{item_id:i.isVariantOf.productGroupID,item_name:i.isVariantOf.name,item_brand:i.brand.name,item_variant:i.sku,index:t,price:i.offers.offers[a].price,discount:i.offers.offers[a].listPrice-i.offers.offers[a].price,currency:s,item_variant_name:i.name,product_reference_id:i.gtin}]}}),r({name:"search_select_item",params:{url:window.location.href,items:[{item_id:i.isVariantOf.productGroupID,item_variant:i.sku,index:t}]}})})},[s,i,t,a]);return{href:"/".concat(c,"/p"),onClick:l,"data-testid":"product-link"}}},57764:function(e,t,r){"use strict";r.d(t,{k:function(){return useProductsQuery}});var n=r(90849),o=r(9377),i=r(43179),a=r(76518);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var c=o.gU,useProductsQuery=(e,t)=>{var r=(0,a.y)(e),{data:o}=(0,i.aM)(c,r,function(e){for(var t=1;t