1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,931829,e=>{"use strict";e.s(["useElementScrolled",()=>o]);var t=e.i(191788);e.i(20479);var l=e.i(523350),i=e.i(86709);let n=e=>e;function o(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,a=(0,i.useCallbackRef)(o),[r,d]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{if(e){let t=()=>{let{scrollY:t}=window,i=document.getElementById(e);if(i){let{top:e}=(0,l.getOffset)(i);d(t>=a(e,i))}};return t(),(0,l.on)(window,"scroll",t),()=>(0,l.off)(window,"scroll",t)}},[e,a]),r}},902604,e=>{"use strict";e.s(["getSequenceOrderModules",()=>t]);let t=e=>{var t;return(null==e||null==(t=e.filter(e=>void 0!==(null==e?void 0:e.sequenceOrder)))?void 0:t.sort((e,t)=>(null==e?void 0:e.sequenceOrder)-(null==t?void 0:t.sequenceOrder)))||[]}},829286,e=>{"use strict";e.s(["useTrackEventsNavigationAnchorBar",()=>l]);var t=e.i(418262);let l=()=>({trackEventMiscInteraction:e=>{(0,t.trackEventPDPMiscInteraction)({miscInteraction:{...e,module_type:"NavigationAnchorBar"}})}})},611459,515187,257455,259820,e=>{"use strict";e.s(["default",()=>m,"useNavigationAnchorBarModuleMapper",()=>g],611459);var t=e.i(391398),l=e.i(829286),i=e.i(464882),n=e.i(931829),o=e.i(770640);e.i(187564);var a=e.i(115143);e.i(426991);var r=e.i(178592),d=e.i(191788),s=e.i(166146),c=e.i(724096),u=e.i(451936),p=e.i(900018);let m=e=>{let{anchorBar:l,onActiveLinkChange:i,mode:n,onLinkClick:o,sequenceOrder:a,isGenericPage:d,isPDPPage:s}=e;return(0,t.jsx)(r.ModuleNavigationAnchorBar,{...l,mode:n,onLinkClick:o,onActiveLinkChange:i,dataId:"module-"+a,isGenericPage:d,isPDPPage:s})},g=e=>{var r,m;let{trackEventMiscInteraction:g}=(0,l.useTrackEventsNavigationAnchorBar)(),v=(0,d.useId)(),h=(null==e?void 0:e.anchorLink)||"anchor-bar-".concat(v),x=(0,n.useElementScrolled)(h,e=>e-70),{data:b}=(0,c.useGetSiteData)(),[f,y]=(0,d.useState)(),[w,{off:j}]=(0,i.useBoolean)(b.infoBannerVisibility);return(0,d.useEffect)(()=>{"false"===globalThis.localStorage.getItem(u.LOCAL_STORAGE_KEYS.INFO_BANNER)&&j()},[]),(0,o.useEventListener)("message",e=>{var t;(null==(t=e.data)?void 0:t.type)===s.POST_MESSAGES.HEADER_INFO_BANNER&&j()},window),{props:{id:h,links:(null==e||null==(m=e.categoryList)||null==(r=m.links)?void 0:r.map(e=>{var l,i;return{href:e.href,targetType:"_parent",children:e.children,active:e.active,...(null==(l=e.icon)?void 0:l.src)&&{leftIcon:(0,t.jsx)(a.Image,{...e.icon,alt:null!=(i=e.icon.alt)?i:"",layout:"fill",objectFit:"contain","data-component-id":"anchor-bar-item-icon"})}}}))||[],isInfoBannerVisible:w,isSticky:x,title:e.title,isAccessibilityButtonEnabled:(0,p.isAccessibilityButtonEnabled)(b.locale)},isScrolled:x,activeLink:f,onLinkClick:t=>{g({action:"Anchor Link change ".concat(t?"-"+t:""),link_text:t,...e.categories})},onActiveLinkChange:e=>{y(e)}}};e.s(["isPrevEnv",()=>v],515187);let v=e=>!!e&&e.startsWith("prev-");e.s(["useImageOptimization",()=>x],257455);let h={MAX_SIZE_KB:350},x=e=>{let[t,l]=(0,d.useState)(!1);return(0,d.useEffect)(()=>{(async()=>{if(!e||"object"==typeof e&&"default"in e)return l(!1);try{let t=(await fetch(e,{method:"HEAD"})).headers.get("content-length");if(t&&parseInt(t)/1024>h.MAX_SIZE_KB)return void l(!0);let i=new Image;i.onerror=()=>{l(!1)},i.src=e}catch(e){l(!1)}})()},[e]),t};e.s(["UnDeliverableModalType",()=>S,"UnDeliverableProductModalProvider",()=>T,"useDeliverableProductModal",()=>$],259820),e.i(406095);var b=e.i(376628),f=e.i(228638);e.i(174231);var y=e.i(555318);e.i(354526);var w=e.i(309015),j=e.i(719559),C=e.i(670451);let k=()=>{var e;let{data:l}=(0,c.useGetSiteData)(),i=null==l?void 0:l.locale,n=(0,d.useMemo)(()=>(null==l?void 0:l.zipCode)||("undefined"!=typeof document?(0,C.getZipCodeFromCookie)():""),[null==l?void 0:l.zipCode]),{data:o}=(0,j.useGetTranslations)({locale:i}),a={title:(null==o?void 0:o.bis_not_deliverable_title)||"Current location: {{zipcode}}",text:(null==o?void 0:o.bis_not_deliverable_text)||"Weâre really sorry - this product is unavailable for your area",ctaLabel:(null==o?void 0:o.bis_not_deliverable_cta)||"Browse similar Products"},{isOpen:r,closeModal:s}=$();return(0,t.jsx)(f.Container,{children:(0,t.jsx)(y.Dialog,{open:r===S.UNDELIVERABLE,id:"not-deliverable-dialog","data-component-id":"not-deliverable-dialog",onOpenChange:e=>!e&&s(),children:(0,t.jsx)(y.Dialog.Content,{title:null==(e=a.title)?void 0:e.replace("{{zipcode}}",n),size:"md",overlay:!0,css:{color:"$ctaRed"},"data-component-id":"not-deliverable-dialog-content",children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(w.Text,{css:{color:"$bkgSilverGray",pt:"$2",pb:"$3"},"data-component-id":"not-deliverable-dialog-text",children:a.text}),(0,t.jsx)(y.Dialog.Close,{asChild:!0,children:(0,t.jsx)(b.Button,{css:{width:"$full",alignItems:"center",my:"$4"},"data-component-id":"not-deliverable-dialog-cta",onClick:s,children:a.ctaLabel})})]})})})})};var S=function(e){return e.UNDELIVERABLE="UNDELIVERABLE",e.WHEN_AVAILABLE="WHEN_AVAILABLE",e.NONE="NONE",e}({});let I=(0,d.createContext)(void 0),T=e=>{let{children:l}=e,[i,n]=(0,d.useState)("NONE"),[o,a]=(0,d.useState)(null),[r,s]=(0,d.useState)(!1);return(0,t.jsxs)(I.Provider,{value:{isOpen:i,productData:o,isWhenAvailableSubmitted:r,openModal:(e,t)=>{a(e||null),n(t)},closeModal:()=>{n("NONE"),a(null),s(!1)},markAsSubmitted:()=>{s(!0)}},children:[l,(0,t.jsx)(k,{})]})},$=()=>{let e=(0,d.useContext)(I);if(!e)throw Error("useDeliverableProductModal must be used inside a UnDeliverableProductModalProvider");return e}},210338,e=>{"use strict";e.s(["useTrackEventsCustomerCareTracking",()=>o],210338);var t=e.i(224669),l=e.i(150330),i=e.i(704977),n=e.i(553235);let o=()=>{let{getTrackingData:o}=(0,i.useTracking)();return{trackEventUserManualSearch:i=>{(i=>{var n;let o;return o={...(0,l.metadataAnalyticPayloadMapper)(i.metadata),search_term:null!=(n=i.search_term)?n:""},e.g.dataLayer.push({event:t.AnalyticEvents.productManualSearch,...o})})({...o(),...i})},trackEventContactFormSubmission:e=>{(0,n.trackEventFormSubmission)({metadata:o(),formSubmission:e})}}}},508185,899088,e=>{"use strict";e.s([],508185),e.s(["UndeliverableProductEmailWhenAvailableDialog",()=>C],899088);var t=e.i(391398);e.i(406095);var l=e.i(376628),i=e.i(228638);e.i(174231);var n=e.i(555318);e.i(560976);var o=e.i(932788);e.i(354526);var a=e.i(309015);e.i(543336);var r=e.i(345970),d=e.i(724096),s=e.i(719559),c=e.i(191788),u=e.i(558021);e.i(785198);var p=e.i(904154);e.i(669934);var m=e.i(136082),g=e.i(900018),v=e.i(163725),h=e.i(259820),x=e.i(878549),b=e.i(650804);e.i(89885);var f=e.i(119177),y=e.i(210338),w=e.i(448924),j=e.i(948920);let C=()=>{var e,r,C;let{data:T}=(0,d.useGetSiteData)(),$=null==T?void 0:T.locale,{data:_}=(0,s.useGetTranslations)({locale:$}),{data:P}=(0,v.useGetSessionData)({locale:$}),L={text:null==_?void 0:_.bis_text,ctaSubmit:{children:null==_?void 0:_.bis_ctaSubmit,backgroundColor:"$bkgWhite",textColor:"$copyBlack"},footerNote:null==_?void 0:_.bis_footerNote,inputFieldLabel:null==_?void 0:_.bis_inputFieldLabel,inputFieldTitle:null==_?void 0:_.bis_inputFieldTitle,selectedColorText:null==_?void 0:_.bis_selectedColorText,contentTitle:"",textSubmitted:null==_?void 0:_.bis_textSubmitted,title:null==_?void 0:_.bis_title,titleSubmitted:null==_?void 0:_.bis_titleSubmitted,ctaAfterSubmit:{children:null==_?void 0:_.bis_titleSubmitted},isLoggedInEmail:(null==P||null==(e=P.user)?void 0:e.isAuthenticated)?null==P||null==(r=P.user)?void 0:r.email:null,emailRequiredMessage:null==_?void 0:_.bis_email_validation_required_error_message,emailInvalidMessage:null==_?void 0:_.bis_email_validation_regex_error_message},{control:A,handleSubmit:E,setValue:D,resetField:R}=(0,u.useForm)({mode:"onBlur"}),{isOpen:M,productData:O,isWhenAvailableSubmitted:B,closeModal:z,markAsSubmitted:N}=(0,h.useDeliverableProductModal)(),{trackEventContactFormSubmission:F}=(0,y.useTrackEventsCustomerCareTracking)(),{trackEventEmailMeWhenAvailable:V}=(0,w.useTrackEventsProductOverview)(),G=(0,g.isBisnPostalCodeCaptureEnabled)($),W=async e=>{let t=await (0,x.handleRecaptcha)("undeliverable_product",$),l=(null==T?void 0:T.zipCode)||null,i={email:e,skuId:null==O?void 0:O.skuId};G&&l&&(i.postalCode=l);let n=await b.NextSelfClient.backInStockSubmission($,{data:i,token:t}).then(e=>e).catch(function(){f.toast.error("ERROR")}).finally(()=>{var e,t,l,i;let n=null==(t=(0,j.getPublicConfigByLocale)($))||null==(e=t.narAnalyticsParams)?void 0:e.userTypeParamValue;F({type:"email_when_available",form_topic:"email_me_when_available",method:"post",user_id:null==P||null==(l=P.user)?void 0:l.userId,user_t
1ype:(null==P||null==(i=P.user)?void 0:i.isAuthenticated)?n?"Returning":"Logged":"Guest"})});if(!(null==n?void 0:n.success)){var o,a,r;f.toast.error(null!=(r=null!=(a=null==n||null==(o=n.messages)?void 0:o[0])?a:null==n?void 0:n.message)?r:"ERROR")}return V({flowStatus:"submit form",product:O,link_text:null==_?void 0:_.bis_ctaLabel,event_details:L.titleSubmitted}),n},H=E(async e=>{try{let t=await W(e.email);(null==t?void 0:t.success)&&N()}catch(e){}}),q=null==O||null==(C=O.colors)?void 0:C.find(e=>(null==e?void 0:e.twelvenc)===(null==O?void 0:O.twelveNc)||(null==e?void 0:e.twelveNc)===(null==O?void 0:O.twelveNc));return(0,c.useEffect)(()=>{M===h.UnDeliverableModalType.WHEN_AVAILABLE?L.isLoggedInEmail&&D("email",L.isLoggedInEmail,{shouldTouch:!0}):R("email")},[M,L.isLoggedInEmail,R,D]),(0,t.jsx)(i.Container,{children:(0,t.jsx)(n.Dialog,{open:M===h.UnDeliverableModalType.WHEN_AVAILABLE,id:"undeliverable-email-when-available","data-component-id":"undeliverable-back-in-stock-dialog",onOpenChange:e=>!e&&z(),children:(0,t.jsx)(n.Dialog.Content,{title:B?L.titleSubmitted:L.title,size:"md",overlay:!0,"data-component-id":"undeliverable-email-when-available-dialog",children:B?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.Text,{css:{color:"$bkgSilverGray",pt:"$2",pb:"$3"},"data-component-id":"undeliverable-back-in-stock-submitted",children:L.textSubmitted}),(0,t.jsx)(n.Dialog.Close,{asChild:!0,children:L.ctaAfterSubmit?(0,t.jsx)(l.Button,{css:{width:"$full",alignItems:"center",my:"$4"},...L.ctaAfterSubmit,"data-component-id":"back-in-stock-close-button"}):null})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(S,{onSubmit:H,"data-component-id":"undeliverable-back-in-stock-form",children:[(0,t.jsx)(o.Heading,{heading:"h1",css:{m:"0"},"data-component-id":"undeliverable-back-in-stock-title",children:L.contentTitle}),(0,t.jsx)(a.Text,{css:{color:"$bkgSilverGray",pt:"$2"},"data-component-id":"undeliverable-back-in-stock-text",children:L.text}),(0,t.jsxs)(k,{"data-component-id":"undeliverable-back-in-stock-color-selected",children:[(0,t.jsx)(a.Text,{css:{pr:"$3"},children:L.selectedColorText}),(0,t.jsx)(p.ColorCircle,{color:q,size:"sm"}),(0,t.jsx)(a.Text,{css:{fontWeight:"$black",pl:"$3"},children:null==q?void 0:q.label})]}),(0,t.jsx)(a.Text,{css:{fontWeight:"$black",fontSize:"$xl",pb:"$4"},"data-component-id":"undeliverable-back-in-stock-field-label",children:L.inputFieldTitle}),(0,t.jsx)(m.InputField,{control:A,label:L.inputFieldLabel,name:"email",rules:{required:L.emailRequiredMessage||"Please enter email address",pattern:{value:(0,g.getEmailRegex)(T.locale),message:L.emailInvalidMessage||"Please enter a valid email address"}},css:{mb:0},"data-component-id":"undeliverable-back-in-stock-field"}),L.ctaSubmit?(0,t.jsx)(l.Button,{type:"submit",css:{width:"$full",alignItems:"center",mt:"$8",mb:"$2"},...L.ctaSubmit,"data-component-id":"undeliverable-back-in-stock-submit-button"}):null]}),(0,t.jsx)(I,{css:{fontSize:"$md"},"data-component-id":"undeliverable-back-in-stock-footer",children:L.footerNote})]})})})})},k=(0,r.styled)("div",{display:"flex",flexDirection:"row",pb:"$3",pt:"$6"}),S=(0,r.styled)("form",{width:"$full"}),I=(0,r.styled)(a.Text,{"> a":{display:"inline-block !important",fontSize:"$md !important"}})},846281,e=>{"use strict";e.s(["VideoPlayer",()=>a]);var t=e.i(391398),l=e.i(168489),i=e.i(191788),n=e.i(887946);let o=(0,l.default)(()=>e.A(879549),{loadableGenerated:{modules:[769922]},ssr:!1}),a=i.default.forwardRef((e,l)=>{var i,a;let{url:r,config:d,...s}=e,c="string"==typeof r?(0,n.transformVideoUrl)(r):Array.isArray(r)?r.map(e=>"string"==typeof e?(0,n.transformVideoUrl)(e):e):r,u=Array.isArray(c)?c.join(" "):"string"==typeof c?c:"",p=u.includes("youtube")||u.includes("youtu.be"),m=u.includes("vimeo.com"),g={...d,...p&&{youtube:{...null==d?void 0:d.youtube,embedOptions:{...null==d||null==(i=d.youtube)?void 0:i.embedOptions,host:"https://www.youtube-nocookie.com"}}},...m&&{vimeo:{...null==d?void 0:d.vimeo,playerOptions:{...null==d||null==(a=d.vimeo)?void 0:a.playerOptions,dnt:!0}}}};return(0,t.jsx)(o,{...s,url:c,config:g,ref:l})});a.displayName="VideoPlayer"},632141,324123,363314,64418,123612,497716,616931,641378,961440,861276,768386,e=>{"use strict";e.s(["default",()=>Q],632141);var t=e.i(391398),l=e.i(191788),i=e.i(750448);e.i(881804);var n=e.i(802430),o=e.i(885431),a=e.i(147749),r=e.i(603783),d=e.i(24297);e.i(847413);var s=e.i(317028);e.i(406095);var c=e.i(376628),u=e.i(228638);e.i(174231);var p=e.i(555318);e.i(560976);var m=e.i(932788);e.i(810615);var g=e.i(436595);e.i(187564);var v=e.i(115143);e.i(388008);var h=e.i(879045);e.i(354526);var x=e.i(309015);e.i(328066);var b=e.i(102101);e.i(543336);var f=e.i(345970),y=e.i(841499),w=e.i(846281);
1let j=(0,f.styled)(h.Link,{position:"absolute",zIndex:"20",top:"50%",left:"50%",padding:"0",transform:"translate(-50%,-50%)","&:before":{display:"block",content:"",position:"absolute",zIndex:1,top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:" 3.5rem",height:"3.5rem",borderRadius:"50%",backgroundColor:"rgba(0,0,0,.6)"},svg:{zIndex:2,position:"absolute",top:"calc(50% - 6px)",left:"calc(50% - 6px)"}}),C=(0,f.styled)("span",{backgroundColor:"$bkgRed",display:"flex",alignItems:"center",justifyContent:"center",color:"$copyWhite",width:"35px",height:"35px",borderRadius:"17.5px",fontSize:"$lg",position:"absolute",top:"-40px",left:"10px",fontWeight:"700"}),k=(0,f.styled)("div",{textAlign:"center",display:"inline-flex",alignItems:"center",justifyContent:"center","@md":{mt:15,mb:"$5"},".swiper-pagination-bullet-active > div":{backgroundColor:"$bkgRed"}}),S=(0,f.styled)("div",{position:"relative",width:"100%"}),I=(0,f.styled)("div",{display:"flex",justifyContent:"center",marginBottom:"$6"}),T=(0,f.styled)(g.Icon,{width:"25px",height:"25px","@md":{width:"35px",height:"35px"}}),$=(0,f.styled)("span",{display:"flex",zIndex:10,cursor:"pointer",alignItems:"center",justifyContent:"center","&.swiper-button-disabled":{cursor:"default",opacity:.35},variants:{direction:{left:{paddingRight:"10px",paddingLeft:"10px","@lg":{paddingRight:"25px",paddingLeft:"25px"},transform:"rotate(180deg)"},right:{paddingRight:"10px",paddingLeft:"10px","@lg":{paddingRight:"25px",paddingLeft:"25px"}}}}}),_=(0,f.styled)("div",{display:"flex"}),P=e=>{let{id:l,title:d,description:s,color:c,backgroundColor:p,children:g,dataId:v,enableMarginReduction:h}=e,b=(0,i.useId)(),f="".concat(b,"_next"),y="".concat(b,"_prev"),w="".concat(b,"_pagination");return(0,t.jsx)(A,{id:l,hasBgColor:!!p,css:{backgroundColor:p},size:"xxl","data-id":v,enableMarginReduction:h,"data-component-id":"content-wrapper",children:(0,t.jsxs)(u.Container,{size:"lg",children:[(0,t.jsxs)(E,{children:[d?(0,t.jsx)(m.Heading,{heading:"h1",as:"h2",css:{color:c,mt:0,mb:"$3-5",maxWidth:"$190",mx:"auto","@md":{mb:"$7"}},"data-component-id":"column-content-title",children:d}):null,s?(0,t.jsx)(x.Text,{css:{margin:"0 auto $3-5",maxWidth:"31.25rem","@md":{marginBottom:"$8"},color:c},"data-component-id":"column-content-description",children:s}):null]}),(0,t.jsxs)(_,{"data-component-id":"column-content-slider",children:[(0,t.jsx)($,{direction:"left","data-navigation":y,"data-component-id":"column-content-swiper-arrow-left",children:(0,t.jsx)(T,{icon:"Caret",label:"",stroke:"#000"})}),g?(0,t.jsx)(R,{modules:[r.Pagination,o.Keyboard,n.A11y,a.Navigation],keyboard:!0,pagination:{type:"bullets",bulletElement:"a",el:'[data-pagination="'.concat(w,'"]'),clickable:!0,renderBullet:function(e,t){return'<div class="'+t+'" style="width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:none;"><div style="width:8px;height:8px;border:3px solid #c41130;border-radius:50%;"></div></div>'}},spaceBetween:20,observer:!0,watchSlidesProgress:!0,navigation:{nextEl:'[data-navigation="'.concat(f,'"]'),prevEl:'[data-navigation="'.concat(y,'"]')},slidesPerView:"auto",breakpoints:{1024:{slidesPerView:4,centerInsufficientSlides:!0},768:{slidesPerView:3,centerInsufficientSlides:!0},320:{slidesPerView:1,centerInsufficientSlides:!0}},"data-component-id":"column-content-slider-item",children:g}):null,(0,t.jsx)($,{direction:"right","data-navigation":f,"data-component-id":"column-content-swiper-arrow-right",children:(0,t.jsx)(T,{icon:"Caret",label:"",stroke:"#000"})})]}),(0,t.jsx)(k,{"data-pagination":w,"data-component-id":"column-content-swiper-pagination"})]})})},L=e=>{var l,i,n;let{title:o,description:a,image:r,video:d,color:u,cta:k,badge:T,tooltip:$,automaticNumberDisplay:_,index:P,imgPriority:L}=e,A=e=>{e&&(0,y.windowHrefUtils)(e)},E=null!=(n=null==$||null==(l=$.cta)?void 0:l.href)?n:null==$||null==(i=$.navigationLink)?void 0:i.href,R=!!(null==$?void 0:$.content);return(0,t.jsxs)(D,{"data-component-id":"content-wrapper-slider",children:[r||d?(0,t.jsxs)(M,{css:{cursor:(null==k?void 0:k.href)?"pointer":void 0},children:[T?(0,t.jsx)(s.Badge,{css:{position:"absolute",top:"$5",zIndex:100,..."right"===T.position?{right:0}:{}},bordered:!1,size:"xs",color:f.CopyColors.copyBlack,...T}):null,r?(0,t.jsx)(e=>{let{children:l}=e;return k&&k.href?(0,t.jsx)(h.Link,{href:k.href,target:k.target||"_parent",children:l}):(0,t.jsx)(t.Fragment,{children:l})},{children:(0,t.jsx)(v.Image,{layout:"fill",objectFit:"cover",src:r.src,alt:r.alt||"",priority:L,onClick:()=>
1A(null==k?void 0:k.href),"data-component-id":"content-wrapper-slider-image"})}):null,d?(0,t.jsxs)(p.Dialog,{id:"column-content-wrepper",children:[(0,t.jsx)(p.Dialog.Trigger,{asChild:!0,children:(0,t.jsx)(j,{"aria-label":"play","data-component-id":"content-wrapper-play-button",children:(0,t.jsx)(g.Icon,{icon:"Play",label:"",stroke:"white",width:"12px",height:"12px"})})}),(0,t.jsx)(p.Dialog.Content,{size:"full",video:!0,overlay:!0,"data-component-id":"column-content-wrapper-dialog",children:(0,t.jsx)(w.VideoPlayer,{width:"100%",height:"100vh",url:d.src,controls:!0,playing:!0,"data-component-id":"content-wrapper-video"})})]}):null]}):null,(0,t.jsxs)(S,{children:[_?(0,t.jsx)(C,{"data-component-id":"content-wrapper-number",children:P}):null,o?(0,t.jsx)(m.Heading,{onClick:()=>A(null==k?void 0:k.href),css:{color:u,mt:"$6",mb:"$5",wordBreak:"break-word",cursor:(null==k?void 0:k.href)?"pointer":void 0,minHeight:"44px","@2xl":{minHeight:"unset"}},heading:"h2",as:"h3","data-component-id":"content-wrapper-title",children:o}):null,a?(0,t.jsx)(x.Text,{css:{color:u,mt:0,mb:"$6",flexGrow:1,wordBreak:"break-word",minHeight:"44px","@lg":{minHeight:"110px"}},"data-component-id":"content-wrapper-description",children:a}):null,R?(0,t.jsx)(I,{children:(0,t.jsx)(b.Tooltip,{children:e=>{var l;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.Tooltip.Trigger,{...e,href:E,"data-component-id":"content-wrapper-tooltip-trigger",children:(0,t.jsx)(x.Text,{css:{color:null!=(l=$.labelColor)?l:u,textDecoration:"underline",wordBreak:"break-word"},children:$.label})}),(0,t.jsx)(b.Tooltip.Content,{...e,sideOffset:12,align:"start",css:{zIndex:"$max"},"data-component-id":"content-wrapper-tooltip-content",children:(0,t.jsx)(x.Text,{css:{fontSize:"$sm"},children:$.content})})]})}})}):null]}),k?(0,t.jsx)(c.Button,{...k,target:"_self"===k.target?"_parent":k.target,css:{mt:"auto"},"data-component-id":"content-wrapper-cta"}):null]})};L.displayName="SwiperSlideFixed";let A=(0,f.styled)(u.Container,{textAlign:"center","@md":{px:"$5"},"@lg":{px:0},variants:{hasBgColor:{true:{py:f.Gutter.sm,"@md":{pt:f.Gutter.md}},false:{my:f.Gutter.sm,"@md":{mt:f.Gutter.md}}}}}),E=(0,f.styled)("div",{px:"$5","@md":{px:0}}),D=(0,f.styled)(d.SwiperSlide,{display:"flex",flexDirection:"column",alignItems:"center",height:"auto !important",marginRight:"1.25rem",pb:"$5"}),R=(0,f.styled)(d.Swiper,{width:"100%","@md":{width:"89%"}}),M=(0,f.styled)("div",{width:"100%",position:"relative","&:before":{display:"block",content:"''",width:"100%",paddingTop:"75%"}}),O=e=>{let{id:d,title:s,description:c,color:p,backgroundColor:g,children:v,dataId:h,enableMarginReduction:b}=e,f=(0,i.useId)(),y="".concat(f,"_next"),w="".concat(f,"_prev"),j="".concat(f,"_pagination"),C=l.Children.count(v),S=C>=5?5:Math.max(C,1),I=C>=2?2:Math.max(C,1);return(0,t.jsx)(z,{id:d,hasBgColor:!!g,css:{backgroundColor:g},size:"xxl","data-id":h,enableMarginReduction:b,"data-component-id":"content-wrapper",children:(0,t.jsxs)(u.Container,{size:"xl",children:[(0,t.jsxs)(N,{children:[s?(0,t.jsx)(m.Heading,{heading:"h1",as:"h2",css:{color:p,mt:0,mb:"$3-5",maxWidth:"$190",mx:"auto","@md":{mb:"$7"}},"data-component-id":"column-content-title",children:s}):null,c?(0,t.jsx)(x.Text,{css:{margin:"0 auto $3-5",maxWidth:"31.25rem","@md":{marginBottom:"$8"},color:p,"@lg":{minHeight:"66px"}},"data-component-id":"column-content-description",children:c}):null]}),(0,t.jsxs)(_,{"data-component-id":"column-content-slider",children:[(0,t.jsx)($,{direction:"left","data-navigation":w,"data-component-id":"column-content-swiper-arrow-left",children:(0,t.jsx)(T,{icon:"Caret",label:"",stroke:"#000"})}),v?(0,t.jsx)(V,{modules:[r.Pagination,o.Keyboard,n.A11y,a.Navigation],keyboard:!0,watchOverflow:!0,pagination:{type:"bullets",bulletElement:"a",el:'[data-pagination="'.concat(j,'"]'),clickable:!0,renderBullet:function(e,t){return'<div class="'+t+'" style="width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:none;"><div style="width:8px;height:8px;border:3px solid #c41130;border-radius:50%;"></div></div>'}},spaceBetween:20,observer:!0,watchSlidesProgress:!0,navigation:{nextEl:'[data-navigation="'.concat(y,'"]'),prevEl:'[data-navigation="'.concat(w,'"]')},slidesPerView:"auto",breakpoints:{1024:{slidesPerView:S,centerInsufficientSlides:!0},768:{slidesPerView:I,centerInsufficientSlides:!0},320:{slidesPerView:1,centerInsufficientSlides:!0}}
1,"data-component-id":"column-content-slider-item",children:l.Children.map(v,e=>(0,l.isValidElement)(e)?(0,l.cloneElement)(e,{desktopItemCount:C}):e)}):null,(0,t.jsx)($,{direction:"right","data-navigation":y,"data-component-id":"column-content-swiper-arrow-right",children:(0,t.jsx)(T,{icon:"Caret",label:"",stroke:"#000"})})]}),(0,t.jsx)(k,{"data-pagination":j,"data-component-id":"column-content-swiper-pagination"})]})})},B=e=>{var l,i,n;let{title:o,description:a,image:r,video:d,color:u,cta:k,badge:T,tooltip:$,automaticNumberDisplay:_,index:P,imgPriority:L,desktopItemCount:A}=e,E=e=>{e&&(0,y.windowHrefUtils)(e)},D=null!=(n=null==$||null==(l=$.cta)?void 0:l.href)?n:null==$||null==(i=$.navigationLink)?void 0:i.href,R=!!(null==$?void 0:$.content),M=(e=>4===e?"four":3===e?"three":2===e?"two":"default")(A);return(0,t.jsxs)(F,{"data-component-id":"content-wrapper-slider",children:[r||d?(0,t.jsxs)(G,{desktopSize:M,css:{cursor:(null==k?void 0:k.href)?"pointer":void 0},children:[T?(0,t.jsx)(s.Badge,{css:{position:"absolute",top:"$5",zIndex:100,..."right"===T.position?{right:0}:{}},bordered:!1,size:"xs",color:f.CopyColors.copyBlack,...T}):null,r?(0,t.jsx)(e=>{let{children:l}=e;return k&&k.href?(0,t.jsx)(h.Link,{href:k.href,target:k.target||"_parent",children:l}):(0,t.jsx)(t.Fragment,{children:l})},{children:(0,t.jsx)(v.Image,{layout:"fill",objectFit:"cover",src:r.src,alt:r.alt||"",priority:L,onClick:()=>E(null==k?void 0:k.href),"data-component-id":"content-wrapper-slider-image"})}):null,d?(0,t.jsxs)(p.Dialog,{id:"column-content-wrepper",children:[(0,t.jsx)(p.Dialog.Trigger,{asChild:!0,children:(0,t.jsx)(j,{"aria-label":"play","data-component-id":"content-wrapper-play-button",children:(0,t.jsx)(g.Icon,{icon:"Play",label:"",stroke:"white",width:"12px",height:"12px"})})}),(0,t.jsx)(p.Dialog.Content,{size:"full",video:!0,overlay:!0,"data-component-id":"column-content-wrapper-dialog",children:(0,t.jsx)(w.VideoPlayer,{width:"100%",height:"100vh",url:d.src,controls:!0,playing:!0,"data-component-id":"content-wrapper-video"})})]}):null]}):null,(0,t.jsxs)(S,{children:[_?(0,t.jsx)(C,{"data-component-id":"content-wrapper-number",children:P}):null,o?(0,t.jsx)(m.Heading,{onClick:()=>E(null==k?void 0:k.href),css:{color:u,mt:"$6",mb:"$5",wordBreak:"break-word",cursor:(null==k?void 0:k.href)?"pointer":void 0,minHeight:"44px","@2xl":{minHeight:"unset"}},heading:"h2",as:"h3","data-component-id":"content-wrapper-title",children:o}):null,a?(0,t.jsx)(x.Text,{css:{color:u,mt:0,mb:"$6",flexGrow:1,wordBreak:"break-word",minHeight:"44px",lg:{minHeight:"unset"}},"data-component-id":"content-wrapper-description",children:a}):null,R?(0,t.jsx)(I,{children:(0,t.jsx)(b.Tooltip,{children:e=>{var l;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.Tooltip.Trigger,{...e,href:D,"data-component-id":"content-wrapper-tooltip-trigger",children:(0,t.jsx)(x.Text,{css:{color:null!=(l=$.labelColor)?l:u,textDecoration:"underline",wordBreak:"break-word"},children:$.label})}),(0,t.jsx)(b.Tooltip.Content,{...e,sideOffset:12,align:"start",css:{zIndex:"$max"},"data-component-id":"content-wrapper-tooltip-content",children:(0,t.jsx)(x.Text,{css:{fontSize:"$sm"},children:$.content})})]})}})}):null]}),k?(0,t.jsx)(c.Button,{...k,target:"_self"===k.target?"_parent":k.target,css:{mt:"auto"},"data-component-id":"content-wrapper-cta"}):null]})};B.displayName="SwiperSlideAdaptive";let z=(0,f.styled)(u.Container,{textAlign:"center","@md":{px:"$5"},"@lg":{px:0},variants:{hasBgColor:{true:{py:f.Gutter.sm,"@md":{pt:f.Gutter.md}},false:{my:f.Gutter.sm,"@md":{mt:f.Gutter.md}}}}}),N=(0,f.styled)("div",{px:"$5","@md":{px:0}}),F=(0,f.styled)(d.SwiperSlide,{display:"flex",flexDirection:"column",alignItems:"center",height:"auto !important",marginRight:"1.25rem",pb:"$5"}),V=(0,f.styled)(d.Swiper,{width:"100%","@md":{width:"89%"}}),G=(0,f.styled)("div",{width:"100%",position:"relative","&:before":{display:"block",content:"''",width:"100%",paddingTop:"75%"},variants:{desktopSize:{default:{},four:{"@lg":{height:"325px","&:before":{content:"none"}}},three:{"@lg":{height:"437px","&:before":{content:"none"}}},two:{"@lg":{height:"664px","&:before":{content:"none"}}}}}}),W=(0,l.createContext)(!1),H=e=>{let{isAdaptableSize:l=!1,...i}=e;return(0,t.jsx)(W.Provider,{value:l,children:l?(0,t.jsx)(O,{...i}):(0,t.jsx)(P,{...i})})},q=e=>(0,l.useContext)(W)?(0,t.jsx)(B,{...e}):(0,t.jsx)(L,{...e});q.displayName="SwiperSlide",H.Content=q,e.i(649076);var U=e.i(933534),K=e.i(540389),Y=e.i(683217);let Q=e=>{let{module:l}=e,{props:i}=Z(l)||{};return i?(0,t.jsx)(H,{...i,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},Z=e=>{var l;let{trackEventAllCta:i}=(0,K.useTrackEventsAllCta)();if(!e)return null;let n=e.children;return{props:{...e,color:e.color,backgroundColor:e.backgroundColor,isAdaptableSize:null!=(l=null==e?void 0:e.isAdaptableSize)&&l,children:(null==n?void 0:n.map((l,n)=>{let o=l?{...l,cta:l.cta?{...(e=>{if((null==e?void 0:e.children)&&(null==e?void 0:e.label)&&"Url"===e.type){let{label:l,children:i,...n}=e;return{...n,children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(X,{children:l}),i]})}}return e})(l.cta),onClickEvent:()=>{var t;return i({type:null==l||null==(t=l.cta)?void 0:t.type,text:l.cta.children,product:null,moduleType:null==e?void 0:e.__typename,pageType:"",action:"Button Click - ".concat(l.cta.children),title:l.title})}}:null,video:l.videoUrl?{src:l.videoUrl}:null,color:e.color,badge:(0,U.badgeFieldsToBadgePropsV2)(l.badge),automaticNumberDis
1play:null==e?void 0:e.automaticNumberDisplay,index:n+1,imgPriority:!(e.sequenceOrder>2)}:null;return o?(0,t.jsx)(H.Content,{...o},n):null}))||[]}}},X=(0,Y.styled)("span",{position:"absolute",width:0,height:0,overflow:"hidden",whiteSpace:"nowrap"});e.s(["default",()=>eE],324123),e.i(89885);var J=e.i(119177),ee=e.i(878549),et=e.i(558021);e.i(405048);var el=e.i(572166);e.i(76916);var ei=e.i(861503);e.i(669934);var en=e.i(136082);e.i(464856);var eo=e.i(839089);e.i(709887);var ea=e.i(86212);e.i(352470);var er=e.i(984581);e.i(20479);var ed=e.i(706701);e.i(810859);var es=e.i(676498);let ec=e=>{let{title:i,text:n,image:o,isVisible:a}=e,r=(0,l.useRef)(null);return((0,l.useEffect)(()=>{!0===a&&r.current&&r.current.scrollIntoView({block:"center",behavior:"smooth"})},[a]),a)?(0,t.jsxs)(em,{ref:r,children:[(0,t.jsx)(m.Heading,{heading:"h1",as:"h2",css:{textAlign:"center",mt:0},children:i}),(0,t.jsx)(eg,{children:n}),(0,t.jsx)(ev,{children:(0,t.jsx)(v.Image,{src:o,layout:"fill",objectFit:"contain",alt:i})})]}):null},eu=e=>{var i,n,o,a;let{id:r,title:d,inputs:s,cta:u,legalText:p,isThankYou:g,thankYouTitle:v,thankYouText:h,thankYouImage:x,onSubmit:b,countryLocale:f,dataId:y,privacyOptIn:w,profilingOptIn:j,profilingConsentEnabled:C,dynamicFieldsEnabled:k,plainTextErrorMessage:S,plainTextWithoutNumberErrorMessage:I}=e,{control:T,handleSubmit:$,setValue:_,watch:P,trigger:L,formState:{errors:A}}=(0,et.useForm)({mode:"onBlur"}),E=(0,et.useWatch)({control:T,name:"subject"}),D=(0,et.useWatch)({control:T,name:"topic"}),[R,M]=(0,l.useState)(!1),[O,B]=(0,l.useState)(!1),z=null==s||null==(i=s.topic)?void 0:i[E||""],N=z&&(null==z||null==(n=z.topics)?void 0:n.find(e=>{let{topicId:t}=e;return t===D})),F=e=>!k||!N||!N.visibleFields||N.visibleFields.includes(e),V=(e,t)=>k&&N&&N.requiredFields?N.requiredFields.includes(e):t,G=null==s||null==(a=s.address)||null==(o=a.inputs)?void 0:o.country,W=F("Country")&&!F("Address");(0,l.useEffect)(()=>{if(W){var e,t,l;_("contactAddress.country",null!=(l=null==G?void 0:G.defaultValue)?l:null==G||null==(t=G.options)||null==(e=t[0])?void 0:e.value,{shouldTouch:!0})}},[W]);let H=()=>{B(!O)};(0,l.useEffect)(()=>{N?M(!0):M(!1)},[N]);let q=P("profiling");return(0,l.useEffect)(()=>{(async()=>{await L("privacy")})()},[q,L]),(0,t.jsxs)(t.Fragment,{children:[!g&&(()=>{var e,l,i,n,o,a,g,v,h,x,k,P,L,M,B,U,K,Y,Q,Z,X,J,ee,et,ec,eu,em;return(0,t.jsxs)(eh,{id:r,"data-id":y,children:[(0,t.jsx)(m.Heading,{heading:"h1",as:"h2",css:{textAlign:"center",mt:0},children:d}),(0,t.jsxs)("form",{onSubmit:$(b),children:[s?(0,t.jsx)(ex,{children:(0,t.jsxs)(ei.FormRow,{children:[(0,t.jsxs)(ea.SelectField,{label:s.subjectLabel,name:"subject",control:T,emptyOption:!(null==s?void 0:s.topicPlaceholder),children:[s.subjectPlaceholder?(0,t.jsx)("option",{selected:!0,children:s.subjectPlaceholder}):null,null==(l=s.subject)||null==(e=l.options)?void 0:e.map(e=>{let{value:l,label:i}=e;return l&&i?(0,t.jsx)("option",{value:l,children:i},l):null})]}),(0,t.jsxs)(ea.SelectField,{label:s.topicLabel,name:"topic",control:T,isValid:R,emptyOption:!(null==s?void 0:s.topicPlaceholder),children:[s.topicPlaceholder?(0,t.jsx)("option",{selected:!0,children:s.topicPlaceholder}):null,null==z||null==(i=z.topics)?void 0:i.map(e=>{let{topicLabel:l,topicId:i}=e;return(0,t.jsx)("option",{value:i,children:l},i)})]})]})}):null,E&&D&&s?(0,t.jsxs)(ex,{children:[s.gender&&F("UserTitle")?(0,t.jsx)(ea.SelectField,{label:s.gender.label,name:"gender",rules:(0,ed.validationsToRules)({rules:{required:V("UserTitle",null!=(ee=null==(o=s.gender)||null==(n=o.validations)?void 0:n[ed.InputValidationRule.REQUIRED])&&ee)},validations:null==(a=s.gender)?void 0:a.validations}),formSubmit:O,control:T,children:s.gender.options.map(e=>{let{value:l,label:i}=e;return(0,t.jsx)("option",{value:l,children:i},l)})}):null,(0,t.jsxs)(ei.FormRow,{children:[s.firstName&&F("FirstName")?(0,t.jsx)(en.InputField,{...s.firstName,name:"firstName",formSubmit:O,rules:(0,ed.validationsToRules)({rules:{required:V("FirstName",null!=(et=null==(v=s.firstName)||null==(g=v.validations)?void 0:g[ed.InputValidationRule.REQUIRED])&&et),maxLength:40,plainTextWithoutNumber:!0},validations:{...null==(h=s.firstName)?void 0:h.validations,PLAIN_TEXT_WITHOUT_NUMBER:I}}),control:T}):null,s.lastName&&F("LastName")?(0,t.jsx)(en.InputField,{...s.lastName,name:"lastName",formSubmit:O,rules:(0,ed.validationsToRules)({rules:{required:V("LastName",null!=(ec=null==(k=s.lastName)||null==(x=k.validations)?void 0:x[ed.InputValidationRule.REQUIRED])&&ec),maxLength:40,plainTextWithoutNumber:!0},validations:{...null==(P=s.lastName)?void 0:P.validations,PLAIN_TEXT_WITHOUT_NUMBER:I}}),control:T}):null]}),s.address&&F("Address")?(0,t.jsx)(es.AddressForm,{...s.address,setValue:_,name:"contactAddress",formSubmit:O,control:T,plainText:!0,streetNumberValidation:!0,plainTextErrorMessage:S,plainTextWithoutNumberErrorMessage:I}):null,W&&G?(0,t.jsx)(ea.SelectField,{label:G.label,name:"contactAddress.country",control:T,formSubmit:O,rules:(0,ed.validationsToRules)({rules:{required:V("Country",!0)},validations:G.validations}),children:null==(L=G.options)?void 0:L.map(e=>{let{value:l,label:i}=e;return l&&i?(0,t.jsx)("option",{value:l,children:i},l):null})}
1):null,s.phoneNumber&&F("Phone")?(0,t.jsx)(eo.PhoneNumberField,{...s.phoneNumber,rules:(0,ed.validationsToRules)({rules:{required:V("Phone",null!=(eu=null==(B=s.phoneNumber)||null==(M=B.validations)?void 0:M[ed.InputValidationRule.REQUIRED])&&eu),phone:!0,maxLength:50},validations:null==(U=s.phoneNumber)?void 0:U.validations}),defaultValue:null==(K=s.phoneNumber)?void 0:K.defaultValue,name:"phoneNumber",formSubmit:O,control:T,countryLocale:f}):null,s.email&&F("Email")?(0,t.jsx)(en.InputField,{...s.email,name:"email",formSubmit:O,rules:(0,ed.validationsToRules)({rules:{required:V("Email",null!=(em=null==(Q=s.email)||null==(Y=Q.validations)?void 0:Y[ed.InputValidationRule.REQUIRED])&&em),email:!0,maxLength:120},validations:null==(Z=s.email)?void 0:Z.validations}),type:"email",control:T}):null,(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(ep,{children:!!(null==N?void 0:N.inputs)&&N.inputs.map(e=>{var l;if(!e.inputId)return null;let i=e.validations||[e.validation],n=!!(i||[]).find(e=>(null==e?void 0:e.type)==="REQUIRED"||"Required"),o=Object.assign({},...null==i?void 0:i.map(e=>({[null==e?void 0:e.type.toUpperCase()]:null==e?void 0:e.label}
1))),a={label:(null==e?void 0:e.placeholderLabel)||(null==e?void 0:e.nameLabel)||(null==e?void 0:e.label)||"",name:e.inputId,control:T,rules:(0,ed.validationsToRules)({rules:{required:n},validations:o})};return(0,t.jsxs)(t.Fragment,{children:["datalistMultiple"===e.type&&(0,t.jsx)(ea.SelectField,{...a,formSubmit:O,children:null==(l=e.values)?void 0:l.map(e=>{let{value:l,label:i}=e;return l&&i?(0,t.jsx)("option",{value:l,children:i},l):null})}),"Text"===e.type&&(0,t.jsx)(en.InputField,{...a,formSubmit:O}),"Number"===e.type&&(0,t.jsx)(en.InputField,{...a,formSubmit:O,rules:(0,ed.validationsToRules)({rules:{plainTextWithoutAccentedLetters:!0},validations:{PLAIN_TEXT_WITHOUT_ACCENTED_LETTERS:S}})})]})})})}),s.question&&F("Message")?(0,t.jsx)(er.TextareaField,{...s.question,name:"question",formSubmit:O,rules:(0,ed.validationsToRules)({rules:{required:V("Message",!0)},validations:null==(X=s.question)?void 0:X.validations}),control:T}):null,(0,t.jsxs)(ef,{profilingConsentEnabled:C,children:[(0,t.jsx)(ey,{css:{mb:C?"$4":0},children:p}),w?(0,t.jsx)(el.CheckboxField,{showErrorMessage:!0,...w,control:T,name:"privacy",css:{my:"$1",cursor:"pointer"},rules:{...j?{required:!!q&&(null==w||null==(J=w.validations)?void 0:J.REQUIRED)}:{},...(0,ed.validationsToRules)({validations:null==w?void 0:w.validations})},isInvalid:!!A.privacy}):null,j?(0,t.jsx)(el.CheckboxField,{...j,rules:(0,ed.validationsToRules)({validations:j.validations}),control:T,name:"profiling",css:{my:"$1",cursor:"pointer"}}):null]}),u?(0,t.jsx)(eb,{children:(0,t.jsx)(c.Button,{onClickEvent:H,...u})}):null]}):null]})]})})(),(0,t.jsx)(ec,{image:null==x?void 0:x.src,title:v,text:h,isVisible:g})]})},ep=(0,f.styled)(ei.FormRow,{"@md":{flexWrap:"wrap",">div":{flexBasis:"calc(50% - 10px)",flexGrow:1,"&:nth-child(odd)":{pl:"0 !important"}}}}),em=(0,f.styled)("div",{position:"relative",mt:f.Gutter.sm,mb:"$1",px:"$5","@md":{mt:f.Gutter.xs,mb:"$7-5",px:0}}),eg=(0,f.styled)(x.Text,{position:"relative",textAlign:"center",fontStyle:"italic",mb:"$2-2","@md":{px:0}}),ev=(0,f.styled)("div",{position:"relative","&:before":{display:"block",content:"''",width:"50%"},"@xs":{"&:before":{paddingTop:"40%"}},"@md":{"&:before":{paddingTop:"15%"}}}),eh=(0,f.styled)("div",{mt:f.Gutter.sm,mb:"$2-5",px:"$5","@md":{mt:f.Gutter.md,mb:"$7-5",px:0}}),ex=(0,f.styled)("div",{m:"0 auto",width:"100%",maxWidth:"$180"}),eb=(0,f.styled)("div",{display:"flex",justifyContent:"center",width:"100%",my:"$7-5"}),ef=(0,f.styled)("div",{textAlign:"start",fontSize:"15px",display:"flex",flexDirection:"column",rowGap:"$4",variants:{profilingConsentEnabled:{true:{rowGap:0}}}}),ey=(0,f.styled)(x.Text,{"a, button":{display:"inline",fontSize:"$s"}});e.i(261354);var ew=e.i(189163),ej=e.i(561458),eC=e.i(310215),ek=e.i(978646),eS=e.i(210338),eI=e.i(664125),eT=e.i(163725),e$=e.i(650804),e_=e.i(900018),eP=e.i(962027),eL=e.i(948920),eA=e.i(719559);let eE=e=>{let{module:l,locale:i,pageMetadata:n}=e,{props:o,isLoading:a}=eD(l,i,n)||{};return o?(0,t.jsxs)(t.Fragment,{children:[a?(0,t.jsx)(ew.Loader,{}):null,(0,t.jsx)(eu,{...o,dataId:"module-"+(null==l?void 0:l.sequenceOrder)})]}):null},eD=(e,i,n)=>{var o,a,r,d,s,c,u,p;let[m,g]=(0,l.useState)(!1),[v,h]=(0,l.useState)(!1),{trackEventContactFormSubmission:b}=(0,eS.useTrackEventsCustomerCareTracking)(),[f,y]=(0,l.useState)(!1),{data:w}=(0,eT.useGetSessionData)({locale:i}),{data:j}=(0,eA.useGetTranslations)({locale:i}),C=(0,eP.useQueryClient)(),k=!!e.dynamicFieldsEnabled,S={};e.subjects.forEach(e=>{S[e.subjectId]=e});let I=(null==(o=e.subjects)?void 0:o.map(e=>e?{label:e.subjectLabel,value:e.subjectId}:null))||[],T=async t=>{var l,o,a,r,d,s,c,u,p,m,v,x,j,T;if(f)return;y(!0);let $=await (0,ee.handleRecaptcha)("contact_us",i),_=I.find(e=>e.value===t.subject),P=S[t.subject].topics.find(e=>e.topicId===t.topic),L={topic:t.topic,email:t.email,firstname:t.firstName,lastname:t.lastName,address:(null==(l=t.contactAddress)?void 0:l.streetName)||"",zip:(null==(o=t.contactAddress)?void 0:o.postalCode)||"",city:(null==(a=t.contactAddress)?void 0:a.city)||"",country:(null==(r=t.contactAddress)?void 0:r.country)?(0,eC.getAlpha3FromAlpha2CountryCode)(t.contactAddress.country):"",message:t.question||null,phonePrefix:(null==(d=t.phoneNumber)?void 0:d.dialCode)?"+".concat(t.phoneNumber.dialCode):"",phone:(null==(s=t.phoneNumber)?void 0:s.number)||"",title:t.gender,catalogSda:t.ProductCatalog,category:t.ProductFamily,categoryLabel:t.ProductFamily,catalogSdaLanguage:t.ProductCatalogLanguage,twelvenc:t.TwelveNc||"",serialNumber:t.SerialNumber||"",modelNumber:t.ModelNumber||"",...k?{house
1Number:(null==(c=t.contactAddress)?void 0:c.streetNumber)||"",box:(null==(u=t.contactAddress)?void 0:u.box)||"",orderNumber:t.OrderNumber||"",transactionNumber:t.TransactionNumber||"",gdprTopic:t.GdprTopic||""}:{},subject:_.value,unicaptchaToken:t.unicaptchaToken,unicaptchaAction:t.unicaptchaAction};b({type:"support",form_topic_code:null==P?void 0:P.topicId,form_topic:null==P?void 0:P.topicLabel,reason_code:null==_?void 0:_.value,reason:null==_?void 0:_.label,user_id:t.email}),t.privacy&&(0,eI.trackEventNewsletterConfirmation)({newsletter:{newsletter_form_CTA:null!=(j=null==e?void 0:e.sendRequestLabel)?j:"",newsletter_form_type:"Customer care contact form"},metadata:{...n,locale:i,slug:encodeURI(null==(p=globalThis.location)?void 0:p.pathname),href:encodeURI(null==(m=globalThis.location)?void 0:m.origin),isLoggedIn:null==w?void 0:w.user.isAuthenticated},profiling_consent:null!=(T=null==w||null==(v=w.user)?void 0:v.profilingOptIn)&&T}),h(!0);let A=await e$.NextSelfClient.contactUsSubmission(i,{data:L,token:$}).then(e=>e).catch(function(){y(!1),h(!1),J.toast.error("ERROR")});(null==A?void 0:A.status)&&(h(!1),C.invalidateQueries(eT.useGetSessionData.queryKey),g(!0)),(null==A||null==(x=A.message)?void 0:x.length)&&!(null==A?void 0:A.status)&&(y(!1),h(!1),J.toast.error(null==A?void 0:A.message)),y(!1)};if(!e)return null;let $=(0,e_.isProfilingConsentV2Enable)(i)&&(0,e_.isContactUsConsentFlagsEnabled)(i);return{isLoading:v,isSubmitting:f,props:{plainTextWithoutNumberErrorMessage:(null==j?void 0:j.checkout_input_plain_text_without_number_error)||"It should be a plain text, without number or symbols.",plainTextErrorMessage:(null==j?void 0:j.checkout_input_plain_text_error)||"It should be a plain text",title:e.title,cta:{children:e.sendRequestLabel,position:"centered",type:"submit"},legalText:(0,t.jsx)(x.Text,{children:e.privacyNotice}),privacyOptIn:$?{...(0,ej.inputValidationsMapper)(e.privacyInput),defaultValue:null==w||null==(a=w.user)?void 0:a.privacyOptIn}:void 0,profilingOptIn:$?{...(0,ej.inputValidationsMapper)(e.profilingConsentInput),defaultValue:null==w||null==(r=w.user)?void 0:r.profilingOptIn}:void 0,inputs:{topicPlaceholder:e.inputTopicPlaceholder,subjectPlaceholder:e.inputSubjectPlaceholder,subjectLabel:e.inputSubjectTitle,topicLabel:e.inputTopicTitle,modelReference:void 0,subject:{options:I},topic:{...S},gender:(0,ej.inputSelectValueFieldsToInputSelectProps)(e.userTitleInput),firstName:(0,ej.inputValidationsMapper)(null==(d=e.profile)?void 0:d.firstNameInput),lastName:(0,ej.inputValidationsMapper)(null==(s=e.profile)?void 0:s.lastNameInput),email:(0,ej.inputValidationsMapper)(null==(c=e.profile)?void 0:c.emailInput),phoneNumber:(0,ej.inputTextFieldsToPhoneInputPropsV2)(null==(u=e.profile)?void 0:u.phoneInput,(0,ek.getCountryDialCode)(i)),question:(0,ej.inputValidationsMapper)(e.messageWithoutSarInput),address:{inputs:eR(e.addressInputs),locale:i,combineNumberAndStreet:(0,eL.getPublicConfigByLocale)(i).combineAddressNumberAndStreet}},isThankYou:m,thankYouTitle:e.thankYouTitle,thankYouText:e.thankYouText,thankYouImage:{src:null==(p=e.thankYouImage)?void 0:p.src},onSubmit:T,countryLocale:(0,eC.toDataCountry)(i),pageMetadata:n,profilingConsentEnabled:$,dynamicFieldsEnabled:k}}},eR=e=>{var t,l,i,n,o,a,r,d;return e?{streetName:{...(0,ej.inputValidationsMapper)(e.streetInput),countries:(null==(i=e.countryInput)||null==(l=i.values)||null==(t=l.map(e=>{let{value:t}=e;return(0,eC.getAlpha2FromAlpha3CountryCode)(t)}))?void 0:t.filter(e=>e))||[]},streetNumber:(0,ej.inputValidationsMapper)(e.houseNumberInput),box:(0,ej.inputValidationsMapper)(e.boxInput),postalCode:(0,ej.inputValidationsMapper)(e.postalCodeInput),city:(0,ej.inputValidationsMapper)(e.cityInput),country:{...(0,ej.inputSelectValueFieldsToInputSelectProps)(e.countryInput),options:(null==(r=e.countryInput)||null==(a=r.values)||null==(o=a.map(e=>{let{value:t,label:l}=e;return{label:l,value:(0,eC.getAlpha2FromAlpha3CountryCode)(t)}}))||null==(n=o.filter(e=>{let{value:t}=e;return!!t}))?void 0:n.sort((e,t)=>{var l;return null==e||null==(l=e.label)?void 0:l.localeCompare(null==t?void 0:t.label)}))||[],defaultValue:(0,eC.getAlpha2FromAlpha3CountryCode)(null==(d=e.countryInput[0])?void 0:d.value)}}:null};e.s(["default",()=>eN],363314);let eM=(0,l.forwardRef)((e,l)=>{let{title:i,text:n,id:o,dataId:a,enableMarginReduction:r,productCardOnBanner:d,productsList:s,entryId:c,compareProducts:u,sequenceOrder:p,remapped:m,...g}=e;return(0,t.jsxs)(eO,{ref:l,...g,id:o,"data-id":a,"data-anchor":!!o,enableMarginReduction:r,children:[(0,t.jsx)(eB,{children:i}),(0,t.jsx)(ez,{children:(0,t.jsx)(x.Text,{children:n})})]})}),eO=(0,f.styled)(u.Container,{my:f.Gutter.sm,px:"$5","@lg":{my:f.Gutter.md,px:"0","&[data-anchor=true]":{py:"100px"}}}),eB=(0,f.styled)("strong",{display:"block",fontSize:"$xl",mb:"$3-5"}),ez=(0,f.styled)("div",{ol:{listStyle:"none",counterReset:"list-item-counter",pl:0,"> li":{counterIncrement:"list-item-counter",position:"relative",color:"$copySilverGray",fontSize:"$2xs",lineHeight:"18px",fontStyle:"italic",pl:"$6",mb:"$3","&::before":{content:"counter(list-item-counter)",color:" $copyRed",fontSize:"$sm",fontWeight:"$black",position:"absolute",top:"auto",left:0}}}}),eN=e=>{let{module:l}=e,{props:i}=eF(l)||{};return i?(0,t.jsx)(eM,{...i,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},eF=e=>e?{props:{...e}}:null;e.s(["default",()=>e6],64418);let eV=(0,l.forwardRef)((e,l)=>{let{title:i,links:n,...o}=e;return(0,t.jsxs)(eG,{ref:l,...o,children:[i?(0,t.jsx)(eH,{children:(0,t.jsx)(m.Heading,{heading:"h2",as:"h2",css:{margin:"$0"},children:i})}):null,(0,t.jsx)(eW,{children:(0,t.jsx)(eq,{children:(0,t.jsx)(eU,{children:null==n?void 0:n.map((e,l)=>e?(0,t.jsx)(eK,{children:(0,t.jsxs)(h.Link,{href:e.href,target:e.target,css:{width:"100%",display:"flex",justifyContent:"flex-start",fontSize:"$base",lineHeight:"$5",textDecorationLine:"none",textAlign:"left",position:"relative",py:"$4","@md":{fontSize:"$s",lineHeight:"22px",alignItems:"center"}},children:[(0,t.jsx)(g.Icon,{icon:"QuestionMark",width:"17px",height:"17px",label:"",fill:"#c41230",css:{marginRight:"$6",justifySelf:"flex-end",flexShrink:0}}),e.children]})},"listItem-".concat(l)):null)})})})]})}),eG=(0,f.styled)(u.Container,{display:"flex",flex:1,flexDirection:"column"}),eW=(0,f.styled)("div",{display:"flex",flexDirection:"column","@lg":{flexDirection:"row"}}),eH=(0,f.styled)("div",{width:"100%",textAlign:"left",wordBreak:"break-word"}),eq=(0,f.styled)("div",{display:"flex",flex:1,alignItems:"center",padding:"$0"}),eU=(0,f.styled)("ul",{width:"100%"}),eK=(0,f.styled)("li",{borderBottom:"1px solid $modulesBorder","&:last-child":{border:"none"}}),eY=(0,l.forwardRef)((e,l)=>{let{id:i,title:n,text:o,cta:a,image:r,legal:d,links:s,isCheckoutPage:u,...p}=e;return(0,t.jsxs)(eQ,{id:i,ref:l,isCheckoutPage:u,...p,children:[n?(0,t.jsx)(eJ,{isCheckoutPage:u,children:(0,t.jsx)(m.Heading,{heading:"h1","data-component-id":"tooltip-faq-title",as:"h2",css:{margin:u?0:"0 0 $8",fontSize:u?"$lg":void 0},children:n})}):null,(0,t.jsxs)(eZ,{isCheckoutPage:u,children:[r&&!u?(0,t.jsx)(e0,{children:(0,t.jsxs)(e1,{children:[(0,t.jsxs)(eX,{children:[(0,t.jsx)(e2,{children:(0,t.jsx)(g.Icon,{icon:"QuestionMarkEmboss",width:"43px",height:"43px",label:"","data-component-id":"tooltip-faq-question-icon"})}),o&&(0,t.jsx)(m.Heading,{heading:"h2",as:"span",css:{color:"$copyWhite",textTransform:"uppercase",m:"0 0 $2-5",letterSpacing:1,"@lg":{mb:"$4"}},children:o})]}),a&&(0,t.jsx)(e5,{children:(0,t.jsx)(c.Button,{"data-component-id":"tooltip-faq-button",css:{margin:"$5 auto $0",px:"$8"},...a})}),(0,t.jsx)(v.Image,{src:r.src,alt:r.alt,layout:"fill",objectFit:"cover","data-component-id":"tooltip-faq-image"})]})}):null,(0,t.jsx)(eV,{links:s,css:{justifyContent:"center",padding:u?0:"$3 $7-5"}})]})]})}),eQ=(0,f.styled)(u.Container,{display:"flex",flexDirection:"column",flexWrap:"wrap",wordWrap:"wrap",px:"$5",my:f.Gutter.sm,"@md":{my:f.Gutter.md},"@xl":{px:0},variants:{isCheckoutPage:{true:{my:f.Gutter.xs,"@md":{my:0,pl:0}}}}}),eZ=(0,f.styled)("div",{display:"flex",flexDirection:"column",boxShadow:"0 0 1.25rem 0 rgb(0 0 0 / 10%)","@lg":{flexDirection:"row"},variants:{isCheckoutPage:{true:{boxShadow:"none"}}}}),eX=(0,f.styled)("div",{zIndex:"$1"}),eJ=(0,f.styled)("div",{textAlign:"center",wordBreak:"break-word",variants:{isCheckoutPage:{true:{textAlign:"left"}}}}),e0=(0,f.styled)("div",{display:"flex",position:"relative",flex:1,margin:0,justifyContent:"center",padding:"$7-5 $0"}),e1=(0,f.styled)("div",{display:"flex",flexDirection:"column",flexWrap:"wrap",justifyContent:"center",textAlign:"center",zIndex:"$1"}),e5=(0,f.styled)("div",{zIndex:"$1"}),e2=(0,f.styled)("div",{margin:"$0 auto $3-75"});var e3=e.i(418262);let e6=e=>{var l;let{props:i}=e8(e)||{};return i?(0,t.jsx)(eY,{...i,"data-id":"module-"+(null==(l=e.module)?void 0:l.sequenceOrder),isCheckoutPage:e.isCheckoutPage}):null},e8=e=>{var t;let{module:l,categories:i}=e,{trackEventMiscInteraction:n}={trackEventMiscInteraction:e=>{(0,e3.trackEventPDPMiscInteraction)({miscInteraction:{...e,module_type:"FaqTooltipModule"}})}};return l?{props:{...l,cta:{...l.cta,onClick:()=>n({action:"Button click â FAQ â See All",...i})},links:null==l||null==(t=l.links)?void 0:t.map(e=>({...e,target:"_blank"!==e.target?"_parent":e.target}))}}:null};e.s(["default",()=>tu],123612),e.i(18709);var e4=e.i(449733),e9=e.i(572799);e.i(294167);var e7=e.i(348879),te=e.i(641271);let tt=e=>{let{id:i,title:n,content:o,textColor:a,backgroundColor:r,cta:d,images:s,tooltip:u,price:p,loop:g=3,dataId:h,enableMarginReduction:f,sequenceOrder:y,showImageOptimizationWarning:w}=e,[j,C]=(0,l.useState)(0),[k,S]=(0,l.useState)(g),I=!!((null==d?void 0:d.href)||(null==d?void 0:d.onClickEvent)),T=(null==d?void 0:d.target)==="_blank"?d.target:"_parent",$=(null==d?void 0:d.active)===!1||null==d?void 0:d.href;return(0,te.useInterval)(()=>{C(e=>(e+1)%(null==s?void 0:s.length))}
1,k?500:null),(0,l.useEffect)(()=>{j===(null==s?void 0:s.length)-1&&S(e=>e-1)},[null==s?void 0:s.length,j]),(0,t.jsx)(tl,{id:i,"data-id":h,enableMarginReduction:f,"data-component-id":"banner-hero-container",children:(0,t.jsx)(ti,{"data-testid":"hero-banner-overflowing-container",css:{backgroundColor:r,color:a},size:"xl","data-component-id":"banner-hero-background",children:(0,t.jsxs)(tn,{children:[null==s?void 0:s.map((e,l)=>l===j&&e?(0,t.jsx)(to,{children:I?(0,t.jsx)(ta,{href:null==d?void 0:d.href,active:null==d?void 0:d.active,target:T,onClick:null==d?void 0:d.onClickEvent,"data-component-id":"banner-hero-image-link",children:(0,t.jsx)(v.Image,{src:e.src,alt:e.alt,layout:"responsive",objectFit:"cover",width:"550",height:"550",dimension:e9.IMAGE_DIMENSIONS.HERO,fetchPriority:y>2?"auto":"high",priority:!(y>2),"data-component-id":"banner-hero-image",showWarning:null==w?void 0:w(e.src)})}):(0,t.jsx)(v.Image,{src:e.src,alt:e.alt,layout:"responsive",objectFit:"cover",width:"550",height:"550",dimension:e9.IMAGE_DIMENSIONS.HERO,fetchPriority:y>2?"auto":"high",priority:!(y>2),"data-component-id":"banner-hero-image",showWarning:null==w?void 0:w(e.src)})},"".concat(e.src).concat(l)):null),(0,t.jsxs)(tr,{children:[(0,t.jsx)(m.Heading,{as:"h2",heading:"h1",css:{color:a,margin:"0 0 $6"},"data-component-id":"banner-hero-title",children:I?(0,t.jsx)(td,{href:$,target:T,onClick:null==d?void 0:d.onClickEvent,"data-component-id":"banner-hero-title-link",children:n}):n}),o?(0,t.jsx)(x.Text,{css:{color:a,margin:"0 0 1.5rem"},"data-component-id":"banner-hero-content",children:o}):null,(0,t.jsxs)(tc,{children:[p?(0,t.jsx)(e7.Price,{...p,css:{color:a,justifyContent:"center"},"data-component-id":"banner-hero-price"}):null,d?(0,t.jsx)(c.Button,{"data-component-id":"banner-hero-cta",...d,css:{flexShrink:0},children:d.children}):null]}),u?(0,t.jsx)(b.Tooltip,{"data-component-id":"banner-hero-tooltip",children:e=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.Tooltip.Trigger,{...e,...u.cta,css:{color:a,marginTop:"$4"},"data-component-id":"banner-hero-tooltip-trigger",children:u.label}),(0,t.jsx)(b.Tooltip.Content,{...e,"data-component-id":"banner-hero-tooltip-content",align:"start",sideOffset:12,children:(0,t.jsx)(x.Text,{css:{fontSize:"$sm"},children:u.content})})]})}):null]})]})})})},tl=(0,f.styled)("div",{backgroundColor:"$bkgWhite",padding:"$7 0","@md":{padding:"$15 0"},"@lg":{padding:"$23 0"},variants:{enableMarginReduction:{true:{mt:"3px","@md":{mt:"4px"}}}}}),ti=(0,f.styled)(u.Container,{"@lg":{padding:"$7 0"}}),tn=(0,f.styled)("div",{display:"flex",flexDirection:"column",alignItems:"center",padding:"$6 0",position:"relative","@md":{flexDirection:"row",maxWidth:"$272",minHeight:"$72",mx:"auto",padding:0},"@lg":{minHeight:"$96"}}),to=(0,f.styled)("div",{width:"48%",minWidth:"11.25rem","@md":{position:"absolute",width:"22.5rem",minHeight:"22.5rem",top:"50%",left:"1.5625rem",transform:"translateY(-50%)"},"@lg":{width:"34.375rem",minHeight:"34.375rem",left:0}}),ta=(0,f.styled)(h.Link,{display:"block",width:"100%",lineHeight:0,textDecoration:"none","&:hover":{color:"inherit"}}),tr=(0,f.styled)("div",{display:"flex",flexDirection:"column",textAlign:"center",padding:"$5 $5 0","@md":{textAlign:"left",alignItems:"flex-start",padding:"0 $3-5",marginLeft:"auto",width:"calc(100% - 28rem)"},"@lg":{padding:"0 $3-5",width:"calc(100% - 39.5rem)"}}),td=e=>{let{children:l,href:i,target:n,onClick:o,...a}=e;return(0,t.jsx)(e4.Anchor,{as:i?"a":"button",defaultComponent:ts,href:i,target:i?n:void 0,onClick:o,...!i?{type:"button"}:{},...a,children:l})},ts=(0,f.styled)("button",{all:"unset",color:"inherit",cursor:"pointer",display:"inline",font:"inherit",letterSpacing:"inherit",textAlign:"inherit",textDecoration:"none","&:hover":{color:"inherit",textDecoration:"underline"}}),tc=(0,f.styled)("div",{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center","@md":{flexDirection:"row"},"a, button":{marginTop:"$6","@md":{order:-1,marginTop:0,marginRight:"$6"}}}),tu=e=>{let{module:l,showImageOptimizationWarning:i}=e,{props:n}=tp(l,i)||{};return n?(0,t.jsx)(tt,{...n,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},tp=(e,t)=>{var l,i,n,o;let{trackEventAllCta:a}=(0,K.useTrackEventsAllCta)();if(!e)return null;let r=(null==(l=e.product)?void 0:l.price)&&(null==(i=e.product)?void 0:i.showPrice)?{current:e.product.price.current,special:e.product.price.special,...e.product.price.current?{}:{freeLabel:e.priceFreeLabel},showVatLabel:!1}:null;return{props:{id:e.id,title:e.title,content:e.content,textColor:e.textColor,backgroundColor:e.backgroundColor,cta:e.cta?{...e.cta,target:(null==(n=e.cta)?void 0:n.target)==="_self"?"_parent":null==(o=e.cta)?void 0:o.target,onClickEvent:()=>{var t,l,i;return a({type:null==e||null==(t=e.cta)?void 0:t.type,text:null==(l=e.cta)?void 0:l.children,product:null,moduleType:null==e?void 0:e.__typename,pageType:"",action:"Button Click - ".concat(null==(i=e.cta)?void 0:i.children),title:null==e?void 0:e.title})}}:null,images:e.images,tooltip:e.tooltip,price:r,sequenceOrder:e.sequenceOrder,showImageOptimizationWarning:t}}};e.s(["default",()=>tC],497716);let tm=(0,f.styled)("div",{position:"relative","&:before":{display:"block",content:"''",width:"100%",paddingTop:"56.25%"}}
1),tg=(0,f.styled)(h.Link,{position:"absolute",zIndex:"20",top:"50%",left:"50%",padding:"0",transform:"translate(-50%,-50%)","&:before":{display:"block",content:"",position:"absolute",zIndex:1,top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:" 3.5rem",height:"3.5rem",borderRadius:"50%",backgroundColor:"rgba(0,0,0,.6)"},svg:{zIndex:2,position:"absolute",top:"calc(50% - 6px)",left:"calc(50% - 6px)"}}),tv=(0,f.styled)("div",{display:"flex",flexDirection:"column",margin:0,padding:"$5",alignItems:"center",textAlign:"center",flex:1,"@md":{flexDirection:"column",gap:"20px",justifyContent:"space-between",alignItems:"center",textAlign:"center",padding:"$3-75",position:"relative",pb:"47px"},"@lg":{flexDirection:"row",gap:"unset",textAlign:"left",padding:"48px $7-5"}}),th=(0,f.styled)("div",{}),tx=(0,f.styled)(x.Text,{lineHeight:"22px",fontSize:"$xl",fontWeight:"$black",m:"0 auto $3-75","@md":{m:"0 $4 0 0"},"@xl":{m:"0 $5 0 0"}}),tb=(0,f.styled)(c.Button,{flexShrink:0,p:"$0 $8"}),tf=(0,f.styled)("div",{position:"absolute",top:"calc(100% + 13px)",left:"50%",transform:"translateX(-50%)","@md":{bottom:"16px",top:"unset",width:"100%",display:"flex",justifyContent:"center"},"@lg":{transform:"none",justifyContent:"flex-start",left:"48px $7-5"}}),ty=(0,f.styled)("div",{width:"100%",display:"flex",flexDirection:"column",position:"relative",mb:"$3","@md":{"overflow-x":"hidden",mb:"0 !important"},variants:{hasTooltip:{true:{mb:45,"@md":{mb:35}},false:{}},size:{sm:{"@lg":{width:"calc(50% - 20px)"}},xl:{"@lg":{width:"calc(50% - 10px)"},["".concat(tf)]:{"@2xl":{top:"auto",mt:"$2"}}}},enableMarginReduction:{true:{"@lg":{width:"calc(50% - 2px)"}}}},compoundVariants:[{hasTooltip:!0,size:"xl",css:{"@2xl":{mb:0}}}],defaultVariants:{hasTooltip:!0,size:"sm"}}),tw=e=>{let{id:l,size:i,children:n,dataId:o,enableMarginReduction:a}=e;return(0,t.jsx)(tj,{id:l,"data-id":o,"data-testid":"wrapper",size:i,enableMarginReduction:a,children:n})};tw.Content=e=>{let{backgroundColor:l="#f2f2f2",textColor:i,title:n,cta:o,badge:a,image:r,video:d,tooltip:c,size:u,enableMarginReduction:m,showImageOptimizationWarning:h}=e;return(0,t.jsxs)(ty,{css:{color:i,cursor:o?"pointer":"default"},size:u,hasTooltip:!!c,onClick:()=>{(null==o?void 0:o.href)&&(0,y.windowHrefUtils)(o.href,!0)},enableMarginReduction:m,children:[a&&(0,t.jsx)(s.Badge,{css:{position:"absolute",top:"$6",zIndex:100,..."right"===a.position?{right:0}:{}},bordered:!1,size:"xs",color:f.CopyColors.copyBlack,...a}),(0,t.jsxs)(tm,{children:[r?(0,t.jsx)(v.Image,{src:r.src,alt:r.alt,layout:"fill",objectFit:"cover",dimension:e9.IMAGE_DIMENSIONS.HERO,priority:null==r?void 0:r.priority,showWarning:null==h?void 0:h(null==r?void 0:r.src)}):null,d?(0,t.jsxs)(p.Dialog,{id:"hero-column-banner",children:[(0,t.jsx)(p.Dialog.Trigger,{children:(0,t.jsx)(tg,{"aria-label":"play",children:(0,t.jsx)(g.Icon,{icon:"Play",label:"",stroke:"white",width:"12px",height:"12px"})})}),(0,t.jsx)(p.Dialog.Content,{size:"full",video:!0,overlay:!0,"data-component-id":"hero-column-banner-dialog",children:(0,t.jsx)(w.VideoPlayer,{width:"100%",height:"100vh",controls:!0,url:d.src,playing:!0})})]}):null]}),(0,t.jsxs)(tv,{css:{backgroundColor:l},children:[(0,t.jsxs)(th,{children:[(0,t.jsx)(tx,{css:{color:i},children:n}),c?(0,t.jsx)(tf,{children:(0,t.jsx)(b.Tooltip,{delayDuration:0,children:e=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.Tooltip.Trigger,{...e,href:c.href,color:i,children:c.label}),(0,t.jsx)(b.Tooltip.Content,{...e,sideOffset:12,children:(0,t.jsx)(x.Text,{children:c.content})})]})})}):null]}),o&&(0,t.jsx)(tb,{...o})]})]})};let tj=(0,f.styled)(u.Container,{display:"flex",flexDirection:"column",my:f.Gutter.sm,"@md":{flexDirection:"row",justifyContent:"space-between",my:f.Gutter.md,maxWidth:"$312",gap:"4px"}}),tC=e=>{let{module:l,showImageOptimizationWarning:i}=e,{props:n}=tk(l,i)||{};return n?(0,t.jsx)(tw,{...n,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},tk=(e,l)=>{var i;let{trackEventAllCta:n}=(0,K.useTrackEventsAllCta)();return e?{props:{...e,size:(null==e?void 0:e.size)==="full"?"xl":null==e?void 0:e.size,children:(null==(i=e.children)?void 0:i.map((i,o)=>{let a=i?{...i,image:{...null==i?void 0:i.image,priority:!((null==e?void 0:e.sequenceOrder)>2)},cta:i.cta?{...i.cta,onClickEvent:()=>{var t;return n({type:null==i||null==(t=i.cta)?void 0:t.type,text:i.cta.children,product:null,moduleType:null==e?void 0:e.__typename,pageType:"",action:"Button Click - ".concat(i.cta.children),title:null==i?void 0:i.title})}}:null,video:i.video?{src:i.video}:null,backgroundColor:i.backgroundColor,textColor:i.textColor,badge:(0,U.badgeFieldsToBadgePropsV2)(i.badge),size:(null==e?void 0:e.size)==="full"?"xl":null==e?void 0:e.size,enableMarginReduction:null==e?void 0:e.enableMarginReduction,showImageOptimizationWarning:l}:null;return(0,t.jsx)(tw.Content,{...a},o)}))||[]}}:null};e.s(["default",()=>tK],616931);var tS=e.i(308902),tI=e.i(168489),tT=e.i(887946),t$=e.i(612809);let t_=(0,tI.default)(()=>
1e.A(879549),{loadableGenerated:{modules:[769922]},ssr:!1}),tP=(0,l.forwardRef)((e,i)=>{var n,o,a;let{id:r,title:d,isH2Title:s,video:c,previewVideo:u,text:h,cta:x,ctaSecondary:b,image:y,tooltip:j,backgroundColor:C,textColor:k=f.CopyColors.copyWhite,legal:S,badge:I,reduced:T=!1,readMoreLabel:$,readLessLabel:_,dataId:P,imgPriority:L,enableMarginReduction:A,showImageOptimizationWarning:E,renderAsExpandibleText:D,mobileAutoplay:R,desktopAutoplay:M,...O}=e,B=P?parseInt(null==P?void 0:P.replace("module-","")):100,[z,N]=(0,l.useState)(null==u?void 0:u.desktopAutoplay),[F,V]=(0,l.useState)(null==u?void 0:u.mobileAutoplay),G=k===f.CopyColors.copyWhite?f.CopyColors.copyBlack:k;return D?(0,t.jsx)(tR,{id:r,"data-id":P,ref:i,...O,size:"md",enableMarginReduction:A,"data-component-id":"home-banner",children:(0,t.jsx)(tU,{title:d,isH2Title:s,text:h,textColor:G,readMoreLabel:$,readLessLabel:_})}):(0,t.jsxs)(tD,{id:r,"data-id":P,ref:i,...O,size:"xl",enableMarginReduction:A,"data-component-id":"home-banner",children:[(0,t.jsxs)(tN,{"data-testid":"text-container",position:null!=(n=null==y?void 0:y.position)?n:"left",css:{backgroundColor:C,color:k},reduced:T,children:[(0,t.jsx)(m.Heading,{as:s?"h2":"h1",heading:"h1",css:{mt:0,mb:"$5",color:k,...T?{fontSize:"$2xl",lineHeight:"$tight"}:{}},"data-component-id":"home-banner-title",children:d}),(0,t.jsx)(tq,{text:h,cta:x,ctaSecondary:b,legal:S,tooltip:j,reduced:T,textColor:k,readMoreLabel:$,readLessLabel:_,"data-component-id":"home-banner-cntent"})]}),(0,t.jsxs)(tz,{"data-testid":"image-container",position:null!=(o=null==y?void 0:y.position)?o:"right",reduced:T,children:[y?(0,t.jsx)(v.Image,{src:y.src,alt:y.alt,layout:"fill",objectFit:"cover",dimension:e9.IMAGE_DIMENSIONS.HERO,fetchPriority:B>2?"auto":"high",priority:!(B>2)||null!=L&&L,"data-component-id":"home-banner-image",showWarning:null==E?void 0:E(y.src)}):null,c?(0,t.jsxs)(p.Dialog,{id:"home-banner",children:[(0,t.jsx)(p.Dialog.Trigger,{children:(0,t.jsx)(tE,{"aria-label":"play","data-component-id":"home-banner-play-button",children:(0,t.jsx)(g.Icon,{icon:"Play",label:"",stroke:"white",width:"12px",height:"12px"})})}),(0,t.jsx)(p.Dialog.Content,{size:"full",video:!0,overlay:!0,"data-component-id":"home-banner-dialog",children:(0,t.jsx)(tA,{width:"100%",height:"100vh",controls:!0,url:(0,tT.transformVideoUrl)(c.src),playing:!0,"data-component-id":"home-banner-video",config:{youtube:{embedOptions:{host:"https://www.youtube-nocookie.com"}},vimeo:{playerOptions:{dnt:!0}}}})})]}):null,u&&!z?(0,t.jsx)(tE,{isDesktopButton:!0,"aria-label":"play",onClick:e=>{e.stopPropagation(),e.preventDefault(),N(!0)},"data-component-id":"home-banner-play-button",children:(0,t.jsx)(g.Icon,{icon:"Play",label:"",stroke:"white",width:"12px",height:"12px"})}):null,u&&!F?(0,t.jsx)(tE,{isDesktopButton:!1,"aria-label":"play",onClick:e=>{e.stopPropagation(),e.preventDefault(),V(!0)},"data-component-id":"home-banner-play-button",children:(0,t.jsx)(g.Icon,{icon:"Play",label:"",stroke:"white",width:"12px",height:"12px"})}):null,(null==u?void 0:u.desktopAutoplay)||z?(0,t.jsx)(tL,{videoPreviewMode:!!u,isMobile:!1,children:(0,t.jsx)(w.VideoPlayer,{width:"100%",height:"100%",url:null==u?void 0:u.src,muted:!0,playing:!0,loop:!0,"data-component-id":"home-banner-video"})}):null,(null==u?void 0:u.mobileAutoplay)||F?(0,t.jsx)(tL,{videoPreviewMode:!!u,isMobile:!0,children:(0,t.jsx)(w.VideoPlayer,{width:"100%",height:"100%",url:null==u?void 0:u.src,muted:!0,playing:!0,loop:!0,"data-component-id":"home-banner-video"})}):null]}),I&&(0,t.jsx)(tB,{...I,position:null!=(a=null==y?void 0:y.position)?a:"right"})]})}),tL=(0,f.styled)("div",{position:"absolute",zIndex:3,top:"0",left:"0",width:"100%",height:"100%",opacity:0,transition:"opacity 1s linear","&:after":{display:"block",content:"",position:"absolute",zIndex:6,top:"0",left:"0",width:"100%",height:"100%",backgroundColor:"rgba(0,0,0,.6)",mixBlendMode:"soft-light"},video:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",objectFit:"cover"},defaultVariants:{videoPreviewMode:!1},variants:{videoPreviewMode:{false:{opacity:0}
1,true:{opacity:1}},isMobile:{true:{display:"block","@lg":{display:"none"}},false:{display:"none","@lg":{display:"block"}}}}}),tA=(0,f.styled)(t_,{boxSizing:"border-box",maxHeight:"calc(100% - 40px)","@md":{maxHeight:"100%"},"@supports (-webkit-touch-callout: none)":{height:"100dvh !important"}}),tE=(0,f.styled)(h.Link,{position:"absolute",zIndex:"20",top:"50%",left:"50%",transform:"translate(-50%,-50%)","&:before":{display:"block",content:"",position:"absolute",zIndex:1,top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:" 3.5rem",height:"3.5rem",borderRadius:"50%",backgroundColor:"rgba(0,0,0,.6)"},svg:{zIndex:2,position:"absolute",top:"calc(50% - 6px)",left:"calc(50% - 6px)"},variants:{isDesktopButton:{true:{display:"none","@lg":{display:"block"}},false:{display:"block","@lg":{display:"none"}}}}}),tD=(0,f.styled)(u.Container,{display:"flex",flexDirection:"column-reverse",position:"relative","@lg":{flexDirection:"row"}}),tR=(0,f.styled)(u.Container,{p:"$8 $2-5 0",textAlign:"left","@md":{px:"$5"},"@lg":{px:0},"@2xl":{px:"$5"},"@3xl":{px:0}}),tM=(0,f.styled)("div",{"@lg":{px:"$5"}}),tO=(0,f.styled)("div",{display:"flex",alignItems:"baseline",justifyContent:"flex-start",gap:"$4",flexWrap:"wrap"}),tB=(0,f.styled)(s.Badge,{position:"absolute",top:25,variants:{position:{left:{"@xl":{left:"62%"},"@media (min-width: 1600px)":{left:990}},right:{"@lg":{left:"38%"},"@xl":{left:0}}}}}),tz=(0,f.styled)("div",{position:"relative",margin:0,"@lg":{width:"62%",maxWidth:990},"&:before":{display:"block",content:"''",paddingTop:"45%","@lg":{paddingTop:"47.379%"}},variants:{position:{left:{"@lg":{order:1}},right:{"@lg":{order:2}}},reduced:{false:{"@xl":{maxHeight:"470px"}},true:{display:"none","@lg":{display:"block","&::before":{pt:"35.2823%"}},"@2xl":{maxHeight:"350px"}}}}}),tN=(0,f.styled)("div",{display:"flex",flexDirection:"column",justifyContent:"center",padding:"$8 $6",color:"$copyWhite",textAlign:"center",boxSizing:"border-box","@lg":{padding:"$5 $10",textAlign:"left",width:"38%"},"@xl":{px:"$20",flexGrow:1},variants:{position:{left:{"@lg":{order:2}},right:{"@lg":{order:1}}},reduced:{false:{maxHeight:"none"},true:{maxHeight:"500px",textAlign:"left"}}}}),tF=(0,f.styled)("div",{display:"flex",flexDirection:"column",rowGap:"$2-5",justifyContent:"center",alignItems:"center",marginTop:"$4",marginBottom:"$4",textAlign:"center","@lg":{flexDirection:"row",columnGap:"$3-75",justifyContent:"flex-start",alignItems:"flex-start",textAlign:"left"}}),tV=(0,f.styled)("div",{marginTop:"$4","@lg":{margin:"$4 $0"}}),tG=tS.Root,tW=tS.Content,tH=(0,f.styled)(tS.Trigger,{mt:"$4",fontWeight:"$black",fontSize:"$2xs",padding:0,border:0,background:"none",cursor:"pointer",textDecoration:"underline"}),tq=e=>{let{cta:i,ctaSecondary:n,legal:o,text:a,tooltip:r,textColor:d,reduced:s,readMoreLabel:u,readLessLabel:p}=e,[m,g]=(0,l.useState)(!1);return s?(0,t.jsxs)(t$.Display,{children:[(0,t.jsx)(t$.Display.MD,{children:(0,t.jsxs)(tG,{open:m,onOpenChange:g,children:[(0,t.jsx)(tW,{asChild:!0,children:(0,t.jsxs)(t.Fragment,{children:[a&&(0,t.jsx)(x.Text,{css:{color:d},children:a}),(i||n)&&(0,t.jsxs)(tF,{children:[i&&(0,t.jsx)(c.Button,{...i}),n&&(0,t.jsx)(c.Button,{...n})]}),o&&(0,t.jsx)(x.Text,{css:{fontSize:"$2xs",color:d},children:o}),r&&(0,t.jsx)(tV,{children:(0,t.jsx)(b.Tooltip,{delayDuration:0,children:e=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.Tooltip.Trigger,{...e,...r.cta,css:{color:d},children:r.label}),(0,t.jsx)(b.Tooltip.Content,{...e,align:"start",sideOffset:12,children:(0,t.jsx)(x.Text,{children:r.content})})]})})})]})}),(0,t.jsx)(tH,{css:{color:d},children:m?p:u})]})}),(0,t.jsx)(t$.Display.LG,{as:"div",children:(0,t.jsxs)(t.Fragment,{children:[a&&(0,t.jsx)(x.Text,{css:{color:d},children:a}),(i||n)&&(0,t.jsxs)(tF,{children:[i&&(0,t.jsx)(c.Button,{...i}),n&&(0,t.jsx)(c.Button,{...n})]}),o&&(0,t.jsx)(x.Text,{css:{fontSize:"$2xs",color:d},children:o}),r&&(0,t.jsx)(tV,{children:(0,t.jsx)(b.Tooltip,{delayDuration:0,children:e=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.Tooltip.Trigger,{...e,...r.cta,css:{color:d},children:r.label}),(0,t.jsx)(b.Tooltip.Content,{...e,align:"start",sideOffset:12,children:(0,t.jsx)(x.Text,{children:r.content})})]})})})]})})]}):(0,t.jsxs)(t.Fragment,{children:[a&&(0,t.jsx)(x.Text,{css:{color:d,mb:"$4"},children:a}),(i||n)&&(0,t.jsxs)(tF,{children:[i&&(0,t.jsx)(c.Button,{...i}),n&&(0,t.jsx)(c.Button,{...n})]}),o&&(0,t.jsx)(x.Text,{css:{fontSize:"$2xs",color:d},children:o}),r&&(0,t.jsx)(tV,{children:(0,t.jsx)(b.Tooltip,{delayDuration:0,
1children:e=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.Tooltip.Trigger,{...e,...r.cta,css:{color:d},children:r.label}),(0,t.jsx)(b.Tooltip.Content,{...e,align:"start",sideOffset:12,children:(0,t.jsx)(x.Text,{children:r.content})})]})})})]})},tU=e=>{let{title:i,isH2Title:n,text:o,textColor:a,readMoreLabel:r,readLessLabel:d}=e,[s,c]=(0,l.useState)(!1);return o?(0,t.jsx)(tM,{children:(0,t.jsxs)(tG,{open:s,onOpenChange:c,children:[(0,t.jsxs)(tO,{children:[(0,t.jsx)(m.Heading,{as:n?"h2":"h1",heading:"h2",css:{mt:0,mb:0,color:a},"data-component-id":"home-banner-title",children:i}),(0,t.jsx)(tH,{css:{color:a,display:"none","@lg":{display:"block"}},children:s?d:r})]}),(0,t.jsx)(tW,{children:(0,t.jsx)(x.Text,{css:{color:a,mt:"$4",mb:0},children:o})}),(0,t.jsx)(tH,{css:{color:a,display:"block","@lg":{display:"none"}},children:s?d:r})]})}):(0,t.jsx)(tM,{children:(0,t.jsx)(m.Heading,{as:n?"h2":"h1",heading:"h2",css:{mt:0,mb:0,color:a},"data-component-id":"home-banner-title",children:i})})},tK=e=>{let{id:l,module:i,isH1Title:n=!1,showImageOptimizationWarning:o,renderAsExpandibleText:a}=e,r=null!=l?l:"module-"+(null==i?void 0:i.sequenceOrder),{props:d}=tY(i,n,"module-plp-banner"===r,o,a)||{};return d?(0,t.jsx)(tP,{...d,dataId:null!=l?l:"module-"+(null==i?void 0:i.sequenceOrder)}):null},tY=(e,t,l,i,n)=>{var o,a;let{trackEventAllCta:r}=(0,K.useTrackEventsAllCta)();return e?{props:{...e,isH2Title:e.sequenceOrder>0||!t,textColor:e.textColor,backgroundColor:e.backgroundColor,video:e.video?{src:e.video}:null,previewVideo:e.previewVideo?{src:e.previewVideo,mobileAutoplay:null!=(o=null==e?void 0:e.mobileAutoplay)&&o,desktopAutoplay:null!=(a=null==e?void 0:e.desktopAutoplay)&&a}:null,image:e.image?{src:e.image.src,alt:e.image.alt,position:e.position}:null,cta:e.cta?{...null==e?void 0:e.cta,onClickEvent:()=>{var t,l,i;return r({type:null==e||null==(t=e.cta)?void 0:t.type,text:null==(l=e.cta)?void 0:l.children,product:null,moduleType:null==e?void 0:e.__typename,pageType:"",action:"Button Click - ".concat(null==(i=e.cta)?void 0:i.children),title:e.title})}}:null,ctaSecondary:e.ctaSecondary?{...null==e?void 0:e.ctaSecondary,onClickEvent:()=>{var t,l,i;return r({type:null==e||null==(t=e.ctaSecondary)?void 0:t.type,text:null==(l=e.ctaSecondary)?void 0:l.children,product:null,moduleType:null==e?void 0:e.__typename,pageType:"",action:"Button Click - ".concat(null==(i=e.ctaSecondary)?void 0:i.children),title:e.title})}}:null,imgPriority:l,showImageOptimizationWarning:i,renderAsExpandibleText:n}}:null};e.s(["default",()=>li],641378);let tQ=l.default.forwardRef((e,i)=>{var n,o,a,r,d;let{id:s,dataId:u,backgroundColor:p,title:m,titleColor:v,titleBackgroundColor:h,subtitle:f,subtitleBackgroundColor:w,subtitleColor:j,image:C,imageTablet:k,imageMobile:S,callToAction:I,tooltip:T,sequenceOrder:$,isH2Title:_,titleFontSize:P,subtitleFontSize:L,titleFontSizeMobile:A,subtitleFontSizeMobile:E,titleFontSizeTab:D,subtitleFontSizeTab:R,titleLineHeight:M,titleLineHeightTab:O,titleLineHeightMobile:B,titleLetterSpacing:z,titleLetterSpacingTab:N,titleLetterSpacingMobile:F,subtitleLineHeight:V,subtitleLineHeightTab:G,subtitleLineHeightMobile:W,subtitleLetterSpacing:H,subtitleLetterSpacingTab:q,subtitleLetterSpacingMobile:U,enableMarginReduction:K,isPlpVariant:Y,showImageOptimizationWarning:Q}=e,Z=l.default.useCallback(()=>{(null==I?void 0:I.href)&&(0,y.windowHrefUtils)(I.href)},[I]);return(0,t.jsx)(tZ,{id:s,"data-id":u,ref:i,enableMarginReduction:K,children:(0,t.jsxs)(tX,{css:{backgroundColor:!C&&p?p:void 0,cursor:I?"pointer":"default"},onClick:Z,children:[(0,t.jsx)(tJ,{size:"xl",children:(0,t.jsx)(t0,{isPlpVariant:Y,children:(S||k||C)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("picture",{children:[C&&(0,t.jsx)("source",{media:"(min-width: 1024px)",srcSet:C.src}),k&&(0,t.jsx)("source",{media:"(min-width: 768px)",srcSet:k.src}),(0,t.jsx)("img",{src:null!=(o=null!=(n=null==S?void 0:S.src)?n:null==k?void 0:k.src)?o:null==C?void 0:C.src,alt:null!=(d=null!=(r=null!=(a=null==S?void 0:S.alt)?a:null==k?void 0:k.alt)?r:null==C?void 0:C.alt)?d:"",fetchPriority:$>2?"auto":"high",loading:$>2?"lazy":"eager"})]}),(null==S?void 0:S.src)&&(null==Q?void 0:Q(S.src))||(null==k?void 0:k.src)&&(null==Q?void 0:Q(k.src))||(null==C?void 0:C.src)&&(null==Q?void 0:Q(C.src))?(0,t.jsxs)(t9,{children:[(0,t.jsx)(g.Icon,{icon:"Warning",label:"Warning",width:48,height:48}),"IMAGE NOT OPTIMIZED"]}):null]})})}),(0,t.jsx)(t1,{children:(0,t.jsxs)(t5,{children:[m?(0,t.jsx)(le,{as:_?"h2":"h1",heading:"h1",titleColor:v,titleFontSize:P,titleFontSizeMobile:A,titleFontSizeTab:D,titleLineHeight:M,titleLineHeightTab:O,titleLineHeightMobile:B,titleLetterSpacing:z,titleLetterSpacingTab:N,titleLetterSpacingMobile:F,children:(0,t.jsx)(t6,{css:{backgroundColor:h},dangerouslySetInnerHTML:{__html:m}})}
1):null,f?(0,t.jsx)(lt,{as:_?"h3":"h2",subtitleColor:j,subtitleFontSize:L,subtitleFontSizeMobile:E,subtitleFontSizeTab:R,subtitleLineHeight:V,subtitleLineHeightTab:G,subtitleLineHeightMobile:W,subtitleLetterSpacing:H,subtitleLetterSpacingTab:q,subtitleLetterSpacingMobile:U,children:(0,t.jsx)(t6,{css:{backgroundColor:w},dangerouslySetInnerHTML:{__html:f}})}):null,I?(0,t.jsx)(t8,{children:I?(0,t.jsx)(c.Button,{...I}):null}):null,T?(0,t.jsx)(t4,{children:(0,t.jsx)(b.Tooltip,{children:e=>{var l;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.Tooltip.Trigger,{...e,href:T.href,color:null!=(l=T.labelColor)?l:"$copyWhite",children:T.label}),(0,t.jsx)(b.Tooltip.Content,{...e,sideOffset:12,children:(0,t.jsx)(x.Text,{css:{fontSize:"$sm"},children:T.content})})]})}})}):(0,t.jsx)("div",{}),(null==I?void 0:I.href)?(0,t.jsx)(ll,{...I,target:"_parent",children:(0,t.jsx)("span",{className:"sr-only",children:I.children})}):null]})})]})})}),tZ=(0,f.styled)("div",{display:"flex",position:"relative","@xl":{maxHeight:470,overflow:"hidden"},variants:{enableMarginReduction:{true:{mt:"3px","@md":{mt:"4px"}}}}}),tX=(0,f.styled)("div",{display:"flex",mx:"auto",padding:0,position:"relative",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%"}),tJ=(0,f.styled)(u.Container,{position:"relative",width:"100%"}),t0=(0,f.styled)("div",{py:"3rem",position:"relative","&:before":{display:"block",content:"''",width:"100%",paddingTop:"56.25%","@md":{paddingTop:"calc(56.25% - 6rem)"},"@lg":{paddingTop:"26.25%"}},img:{maxWidth:"100%",position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:"cover",transition:"none !important","@md":{height:"auto"},"@lg":{height:"100%",objectFit:"fill"}},variants:{isPlpVariant:{true:{maxHeight:"180px",overflow:"hidden",boxSizing:"border-box","@md":{maxHeight:"unset","&:before":{paddingTop:"calc(35.64% - 6rem)"}},"@lg":{maxHeight:"300px","&:before":{paddingTop:"26.25%"}}}}}}),t1=(0,f.styled)("div",{backgroundColor:"trasparent",position:"absolute",top:0,left:"50%",transform:"translateX(-50%)",width:"100%",height:"100%"}),t5=(0,f.styled)("div",{display:"flex",px:"$5",flexDirection:"column",height:"100%",alignItems:"center",justifyContent:"center",mx:"auto"}),t2=(0,f.styled)(m.Heading,{paddingTop:"2rem",fontSize:"40px !important",lineHeight:"43px !important",fontWeight:"$light",letterSpacing:"$wider",textAlign:"center",m:0,"@md":{fontSize:"82px !important",lineHeight:"85px !important",m:"0 0 $6"}}),t3=(0,f.styled)(x.Text,{textAlign:"center",lineHeight:"2.3rem !important",fontWeight:"$bold",width:"fit-content",fontSize:"1.5rem !important",color:"$copyWhite",margin:"$5 0 0","@md":{fontSize:"1.5rem !important",lineHeight:"$6",height:"57px"}}),t6=(0,f.styled)("span",{px:"$4 !important"}),t8=(0,f.styled)("div",{display:"flex",columnGap:"$3-75",rowGap:"$2-5",margin:"$6 0 0",flexDirection:"column",justifyContent:"center",alignItems:"center",zIndex:1,"button ~ button":{marginTop:"$4"}}),t4=(0,f.styled)("div",{margin:"$5 0",zIndex:1,display:"flex",justifyContent:"center"}),t9=(0,f.styled)("div",{position:"absolute",bottom:5,right:5,zIndex:10,background:"white",padding:"$2 $3",fontWeight:"$black",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"}),t7=e=>parseInt(e.replace("px",""))+3+"px !important",le=e=>{let{titleColor:l,titleFontSize:i,titleFontSizeMobile:n,titleFontSizeTab:o,titleLineHeight:a,titleLineHeightTab:r,titleLineHeightMobile:d,titleLetterSpacing:s,titleLetterSpacingTab:c,titleLetterSpacingMobile:u,...p}=e;return(0,t.jsx)(t2,{...p,css:{color:l,pointerEvents:"none",...n&&{fontSize:n+" !important",lineHeight:(null!=d?d:t7(n))+" !important",letterSpacing:u?u+" !important":void 0},"@media (min-width: 640px) and (max-width: 768px)":{...o&&{fontSize:o+" !important",lineHeight:(null!=r?r:t7(o))+" !important",letterSpacing:c?c+" !important":void 0}},"@media (min-width: 769px)":{...i&&{fontSize:i+" !important",lineHeight:(null!=a?a:t7(i))+" !important",letterSpacing:s?s+" !important":void 0}}}})},lt=e=>{let{subtitleColor:l,subtitleFontSize:i,subtitleFontSizeMobile:n,subtitleFontSizeTab:o,subtitleLineHeight:a,subtitleLineHeightTab:r,subtitleLineHeightMobile:d,subtitleLetterSpacing:s,subtitleLetterSpacingTab:c,subtitleLetterSpacingMobile:u,...p}=e;return(0,t.jsx)(t3,{...p,css:{color:l,pointerEvents:"none",...n&&{fontSize:n+" !important",lineHeight:(null!=d?d:t7(n))+" !important",letterSpacing:u?u+" !important":void 0},"@media (min-width: 640px) and (max-width: 768px)":{...o&&{fontSize:o+" !important",lineHeight:(null!=r?r:t7(o))+" !important",letterSpacing:c?c+" !important":void 0}},"@media (min-width: 769px)":{...i&&{fontSize:i+" !important",lineHeight:(null!=a?a:t7(i))+" !important",letterSpacing:s?s+" !important":void 0}}}})},ll=(0,f.styled)(h.Link,{position:"absolute",top:0,right:0,bottom:0,left:0,margin:"0 auto",maxWidth:"1920px"}),li=e=>{let{id:l,module:i,isH1Title:n=!1,isPlpVariant:o=!1,showImageOptimizationWarning:a}=e,{props:r}=lr(i,n,o,a)||{};return r?(0,t.jsx)(tQ,{...r,dataId:null!=l?l:"module-"+(null==i?void 0:i.sequenceOrder)}):null},ln={L:{title:{desktop:{fontSize:"80px",lineHeight:"65px",letterSpacing:"6px"},tab:{fontSize:"60px",lineHeight:"91px",letterSpacing:"6px"},mobile:{fontSize:"35px",lineHeight:"57px",letterSpacing:"2.05px"}},subtitle:{desktop:{fontSize:"40px",lineHeight:"45px",letterSpacing:"0px"},tab:{fontSize:"30px",lineHeight:"35px",letterSpacing:"0px"},mobile:{fontSize:"20px",lineHeight:"43px",letterSpacing:"0px"}}},M:{title:{desktop:{fontSize:"60px",lineHeight:"65px",letterSpacing:"6px"},tab:{fontSize:"40px",lineHeight:"45px",letterSpacing:"6px"},mobile:{fontSize:"25px",lineHeight:"40px",letterSpacing:"6px"}},subtitle:{desktop:{fontSize:"30px",lineHeight:"35px",letterSpacing:"0px"},tab:{fontSize:"25px",lineHeight:"30px",letterSpacing:"0px"},mobile:{fontSize:"20px",lineHeight:"25px",letterSpacing:"0px"}}},S:{title:{desktop:{fontSize:"40px",lineHeight:"60px",letterSpacing:"3px"},tab:{fontSize:"30px",lineHeight:"91px",letterSpacing:"3px"},mobile:{fontSize:"25px",lineHeight:"57px",letterSpacing:"2.05px"}},subtitle:{desktop:{fontSize:"20px",lineHeight:"35px",letterSpacing:"0px"},tab:{fontSize:"20px",lineHeight:"30px",letterSpacing:"0px"},mobile:{fontSize:"15px",lineHeight:"40px",letterSpacing:"0px"}}}},lo=(e,t,l)=>{let i=e&&ln[e]?e:"M";return ln[i][t][l]},la=(e,t)=>{let l=lo(t,e,"desktop"),i=lo(t,e,"tab"),n=lo(t,e,"mobile");return{["".concat(e,"FontSize")]:null==l?void 0:l.fontSize,["".concat(e,"FontSizeTab")]:null==i?void 0:i.fontSize,["".concat(e,"FontSizeMobile")]:null==n?void 0:n.fontSize,["".concat(e,"LineHeight")]:null==l?void 0:l.lineHeight,["".concat(e,"LineHeightTab")]:null==i?void 0:i.lineHeight,["".concat(e,"LineHeightMobile")]:null==n?void 0:n.lineHeight,["".concat(e,"LetterSpacing")]:null==l?void 0:l.letterSpacing,["".concat(e,"LetterSpacingTab")]:null==i?void 0:i.letterSpacing,["".concat(e,"LetterSpacingMobile")]:null==n?void 0:n.letterSpacing}},lr=(e,t,l,i)=>{var n,o;let{trackEventAllCta:a}=(0,K.useTrackEventsAllCta)();return e?{props:{id:e.id,__typename:e.__typename,sequenceOrder:e.sequenceOrder,title:e.title,titleColor:e.titleColor,titleBackgroun
1dColor:e.titleBackgroundColor,subtitle:e.subtitle,subtitleBackgroundColor:e.subtitleBackgroundColor,subtitleColor:e.subtitleColor,backgroundColor:e.backgroundColor,image:e.image,imageTablet:null!=(n=e.imageTablet)?n:e.image,imageMobile:null!=(o=e.imageMobile)?o:e.image,callToAction:e.callToAction?{...e.callToAction,onClickEvent:()=>{var t,l,i;return a({type:null==e||null==(t=e.callToAction)?void 0:t.type,text:null==(l=e.callToAction)?void 0:l.children,product:null,moduleType:null==e?void 0:e.__typename,pageType:"",action:"Button Click - ".concat(null==(i=e.callToAction)?void 0:i.children),title:null==e?void 0:e.title})}}:null,tooltip:e.tooltip,isH2Title:e.sequenceOrder>0||!t,...la("title",null==e?void 0:e.titleFontSize),...la("subtitle",null==e?void 0:e.subtitleFontSize),isPlpVariant:l,showImageOptimizationWarning:i}}:null};e.s(["default",()=>lp],768386),e.s([],861276),e.s(["ModuleInternalHeading",()=>ld],961440);let ld=l.default.forwardRef((e,l)=>{let{id:i,title:n,isH2Title:o=!0,text:a,backgroundColor:r,image:d,textColor:s,cta:u,dataId:p,enableMarginReduction:g,sequenceOrder:h,entryId:b,compareProducts:f,productsList:y,productCardOnBanner:w,remapped:j,...C}=e,k=null==d?void 0:d.src,S=p?parseInt(null==p?void 0:p.replace("module-","")):100;return(0,t.jsxs)(ls,{id:i,"data-id":p,"data-testid":"internal-heading-container",ref:l,spacing:!!r||!!k,hasBgImage:!!k,size:"xl",enableMarginReduction:g,...C,css:{...k?{backgroundColor:r,color:s,"@md":{color:"$copyWhite",backgroundColor:"transparent",minHeight:350},"@lg":{minHeight:470}}:{backgroundColor:r,color:s}},"data-component-id":"heading-container",children:[k?(0,t.jsx)(lu,{children:(0,t.jsx)(v.Image,{src:d.src,alt:d.alt,layout:"fill",objectFit:"cover",fetchPriority:S>2?"auto":"high",priority:!(S>2),"data-component-id":"heading-image"})}):null,(0,t.jsxs)(lc,{children:[n?(0,t.jsx)(m.Heading,{heading:"h1",as:o?"h2":"h1",css:{mb:"$5",color:"CurrentColor",...k?{mt:"$7-5","@md":{mt:0}}:{mt:0}},"data-component-id":"heading-title",children:n}):null,a&&(0,t.jsx)(x.Text,{"data-component-id":"heading-text",css:{color:"CurrentColor",lineHeight:"$5-5"},children:a}),u&&(0,t.jsx)(c.Button,{css:a?{marginTop:"$8"}:{},...u})]})]})}),ls=(0,f.styled)(u.Container,{position:"relative",textAlign:"center",color:"$copyBlack",boxSizing:"border-box",px:"$5","@md":{display:"flex",alignItems:"center",position:"relative",zIndex:1},variants:{spacing:{true:{py:f.Gutter.sm},false:{my:f.Gutter.sm,"@md":{mt:f.Gutter.md,mb:f.Gutter.sm}}},hasBgImage:{true:{pt:110,"@md":{"&:after":{display:"block",content:"''",position:"absolute",top:"0",left:"0",width:"100%",height:"100%",backgroundColor:"rgba(0,0,0, 0.4)",zIndex:0}}},false:{}}}}),lc=(0,f.styled)("div",{"@md":{width:"70%",margin:"0 auto",maxWidth:"$200",position:"relative",zIndex:1}}),lu=(0,f.styled)("div",{position:"absolute",top:0,left:0,width:"100%",paddingBottom:110,"@md":{pb:0,height:"100%"}}),lp=e=>{let{module:l,isH1Title:i=!1}=e,{props:n}=lm(l,i)||{};return n?(0,t.jsx)(ld,{...n,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},lm=(e,t)=>{let{trackEventAllCta:l}=(0,K.useTrackEventsAllCta)();return e?{props:{...e,isH2Title:e.sequenceOrder>0||!t,textColor:e.textColor,backgroundColor:e.backgroundColor,image:e.image,cta:e.cta?{...e.cta,onClickEvent:()=>{var t,i,n;return l({type:null==e||null==(t=e.cta)?void 0:t.type,text:null==(i=e.cta)?void 0:i.children,product:null,moduleType:null==e?void 0:e.__typename,pageType:"",action:"Button Click - ".concat(null==(n=e.cta)?void 0:n.children),title:null==e?void 0:e.title})}}:null}}:null}},417290,63644,852607,e=>{"use strict";e.s(["useIsMobile",()=>i],417290);var t=e.i(191788);let l="(max-width: 767px)";function i(){let[e,i]=(0,t.useState)(()=>window.matchMedia(l).matches);return(0,t.useEffect)(()=>{let e=window.matchMedia(l),t=e=>i(e.matches);return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),e}e.s([],852607),e.s(["Silhouette",()=>d],63644);var n=e.i(391398);e.i(543336);var o=e.i(345970);e.i(187564);var a=e.i(115143),r=e.i(768920);let d=t.forwardRef((e,t)=>{let{image:l}=e,i=(0,r.useMediaQuery)("(min-width: 1280px)");if(!((null==l?void 0:l.src)&&i))return null;let o=l.src?(0,n.jsx)(a.Image,{src:l.src,alt:l.alt,objectFit:"contain",width:"30",height:"30"}):null;return(0,n.jsx)(s,{ref:t,"data-testid":"silhouette",children:o})}),s=(0,o.styled)("div",{display:"flex",boxSizing:"border-box",overflow:"hidden",position:"absolute",bottom:"20px",right:"20px",zIndex:3,transition:"bottom 200ms ease"})},589928,857095,e=>{"use strict";e.s([],589928),e.s(["ModuleMedia",()=>k],857095);var t=e.i(391398),l=e.i(494834),i=e.i(168489),n=e.i(191788);e.i(406095);var o=e.i(376628),a=e.i(228638);e.i(560976);var r=e.i(932788);e.i(810615);var d=e.i(436595);e.i(187564);var s=e.i(115143);e.i(388008);var c=e.i(879045);e.i(354526);var u=e.i(309015);e.i(328066);var p=e.i(102101);e.i(294167);var m=e.i(348879),g=e.i(927965);e.i(174231);var v=e.i(555318);e.i(543336);var h=e.i(345970),x=e.i(841499),b=e.i(417290);e.i(852607);var f=e.i(63644),y=e.i(846281),w=e.i(887946),j=e.i(349577);let C=(0,i.default)(()=>
1e.A(879549),{loadableGenerated:{modules:[769922]},ssr:!1}),k=n.forwardRef((e,i)=>{var o;let{id:a,position:s,title:c,isH2Title:m,subtitle:g,video:h,previewVideo:C,mobileVideoUrl:k,mobilePreviewVideo:q,ctaPrimary:U,ctaSecondary:K,backgroundColor:Y,backgroundColorSmall:Q,textColor:Z="#FFFFFF",textColorSmall:X,note:J,price:ee,tooltip:et,image:el,imageSmall:ei,imageMedium:en,hideTextBanner:eo=!1,textContent:ea,size:er,hasOverlay:ed,dataId:es,enableMarginReduction:ec,aspectRatio:eu,aspectRatioSmall:ep,aspectRatioMedium:em,isBlogArticleSection:eg,customCountdown:ev,silhouette:eh,getBannerClickEvent:ex,showImageOptimizationWarning:eb,videoAltText:ef}=e,[ey,ew]=n.useState(null==C?void 0:C.desktopAutoplay),[ej,eC]=n.useState(null!=(o=null==C?void 0:C.mobileAutoplay)?o:null==q?void 0:q.mobileAutoPlay),ek=(0,b.useIsMobile)(),eS=es?parseInt(null==es?void 0:es.replace("module-","")):100,eI=null!=es?es:"media-module",eT="".concat(eI,"-video-modal-description"),e$="".concat(eI,"-video-youtube-description"),e_="".concat(eI,"-video-preview-desktop-description"),eP="".concat(eI,"-video-preview-mobile-description"),eL=ek&&null!=k?k:h,eA=ek&&q?{src:q.src,mobileAutoplay:q.mobileAutoPlay,desktopAutoplay:q.desktopAutoplay}:C,eE=null==eL?void 0:eL.src.includes("youtube"),{backgroundColor:eD,...eR}=null!=ev?ev:{},eM="string"==typeof eD&&eD.trim().length>0&&"transparent"!==eD.trim().toLowerCase(),eO=null==ev?void 0:ev.dateTime,eB=!!(ev&&eO),ez=!!eB&&(0,l.default)().isAfter((0,l.default)(eO)),eN=eB&&!ez,eF=!c&&!g&&!ea&&!ee&&!(U||K)&&!et&&!eN,eV=!!eL||!!eA;return(0,t.jsx)(T,{id:a,"data-id":es,position:s,ref:i,enableMarginReduction:"module-0"!==es&&ec,"data-component-id":"media-module-container",children:(0,t.jsxs)($,{hasOverlay:ed,liftSilhouetteOnHover:eV,onClick:()=>{null==ex||ex(!0),(null==U?void 0:U.href)&&!(null==C?void 0:C.src)&&(0,x.windowHrefUtils)(U.href)},css:{cursor:U?"pointer":"default"},children:[(0,t.jsx)(_,{size:er||"xl","data-component-id":"media-module-item",children:(0,t.jsxs)(P,{aspectRatioSmall:ep,aspectRatioMedium:em,aspectRatio:eu,css:{"&:before":{display:eE?"":"block",content:"''",width:"100%"},zIndex:eE?1:""},"data-component-id":"media-module-preview",children:[ei?(0,t.jsx)(V,{layout:"fill",objectFit:"cover",...ei,fetchPriority:eS>2?"auto":"high",priority:!(eS>2),"data-component-id":"media-module-preview-image",showWarning:null==eb?void 0:eb(ei.src),placeholder:"empty"}):null,en?(0,t.jsx)(G,{layout:"fill",objectFit:"cover",...en,fetchPriority:eS>2?"auto":"high",priority:!(eS>2),"data-component-id":"media-module-preview-image",showWarning:null==eb?void 0:eb(en.src),placeholder:"empty"}):null,el?(0,t.jsx)(W,{layout:"fill",objectFit:"cover",...el,fetchPriority:eS>2?"auto":"high",priority:!(eS>2),"data-component-id":"media-module-preview-image",showWarning:null==eb?void 0:eb(el.src),placeholder:"empty"}):null,eL&&"center"!==s&&!eE&&(0,t.jsxs)(v.Dialog,{id:"media","data-component-id":"media-module-video-dialog",children:[(0,t.jsx)(v.Dialog.Trigger,{"data-component-id":"media-module-video-play",children:(0,t.jsx)(M,{"aria-label":"play",onClick:e=>{e.stopPropagation()},children:(0,t.jsx)(d.Icon,{icon:"Play",label:"",stroke:"white",width:"12px",height:"12px"})})}),(0,t.jsxs)(v.Dialog.Content,{size:"full",video:!0,overlay:!0,"data-component-id":"media-dialog","aria-describedby":ef?eT:void 0,children:[(0,t.jsx)(F,{width:"100%",height:"100vh",controls:!0,url:(0,w.transformVideoUrl)(eL.src),playing:!0,"data-component-id":"media-module-video",config:{youtube:{embedOptions:{host:"https://www.youtube-nocookie.com"}},vimeo:{playerOptions:{dnt:!0}}}}),ef?(0,t.jsx)(j.Root,{id:eT,children:ef}):null]})]}),eL&&eE&&(0,t.jsxs)(S,{isBlogArticleSection:eg,"aria-describedby":ef?e$:void 0,children:[(0,t.jsx)(y.VideoPlayer,{width:"100%",...eg?{}:{height:"100%"},url:eL.src,controls:!0,"data-component-id":"media-module-video"}),ef?(0,t.jsx)(j.Root,{id:e$,children:ef}):null]}),!eL&&!eE&&(0,t.jsxs)(t.Fragment,{children:[eA&&!ey?(0,t.jsx)(M,{isDesktopButton:!0,aspectRatio:eu,"aria-label":"play",onClick:e=>{e.stopPropagation(),e.preventDefault(),ew(!0)},children:(0,t.jsx)(d.Icon,{icon:"Play",label:"",stroke:"white",width:"12px",height:"12px"})}):null,eA&&!ej?(0,t.jsx)(M,{isDesktopButton:!1,aspectRatio:eu,"aria-label":"play",onClick:e=>{e.stopPropagation(),e.preventDefault(),eC(!0)},"data-component-id":"media-module-video-play",children:(0,t.jsx)(d.Icon,{icon:"Play",label:"",stroke:"white",width:"12px",height:"12px"})}
1):null,(null==eA?void 0:eA.desktopAutoplay)||ey?(0,t.jsxs)(B,{videoPreviewMode:!!eA,isMobile:!1,"aria-describedby":ef?e_:void 0,children:[(0,t.jsx)(y.VideoPlayer,{width:"100%",height:"100%",url:null==eA?void 0:eA.src,muted:!0,playing:!ek,loop:!0,controls:null==eA?void 0:eA.desktopAutoplay,"data-component-id":"media-module-video"}),ef?(0,t.jsx)(j.Root,{id:e_,children:ef}):null]}):null,(null==eA?void 0:eA.mobileAutoplay)||ej?(0,t.jsxs)(B,{videoPreviewMode:!!eA,isMobile:!0,"aria-describedby":ef?eP:void 0,children:[(0,t.jsx)(y.VideoPlayer,{width:"100%",height:"100%",url:null==eA?void 0:eA.src,muted:!0,playing:!0,loop:!0,controls:!0,playsinline:!0,"data-component-id":"media-module-video"}),ef?(0,t.jsx)(j.Root,{id:eP,children:ef}):null]}):null]})]})}),(null==U?void 0:U.href)?(0,t.jsx)(H,{...U,target:"_parent",children:(0,t.jsx)("span",{className:"sr-only",children:U.children})}):null,(0,t.jsxs)(L,{css:{zIndex:eA||ed?3:"initial",backgroundColor:Q,"@md":{backgroundColor:Y},"@xl":{backgroundColor:eE?Y:"transparent",pointerEvents:(null==eA?void 0:eA.desktopAutoplay)?"none":"default"}},children:[eo||eF?null:(0,t.jsxs)(A,{position:s,children:[ev&&eN?(0,t.jsx)(R,{"data-component-id":"media-module-countdown",position:s,css:eM?{"> div":{backgroundColor:null==eD?void 0:eD.trim(),paddingTop:"8px",paddingBottom:"12px",paddingLeft:"10px",paddingRight:"10px","@md":{paddingLeft:0,paddingRight:0}}}:{"> div":{padding:0},"> div > div":{paddingLeft:"0 !important",paddingRight:"0 !important"},"> div > div:nth-child(2)":{paddingLeft:"12px !important",paddingRight:"12px !important"}},...eR}):null,c?(0,t.jsx)(r.Heading,{heading:"h1",as:m?"h2":"h1",css:{color:X,m:"0 0 $6",minHeight:"56px","@md":{mb:"$6-5",color:Z},pointerEvents:"none"},"data-component-id":"media-module-title",children:c}):null,g&&"string"==typeof g?(0,t.jsx)(E,{css:{color:X,minHeight:"40px","@md":{color:Z},pointerEvents:"none"},"data-component-id":"media-module-subtitle",dangerouslySetInnerHTML:{__html:g}}):null,ea?(0,t.jsx)(u.Text,{css:{color:X,"@md":{color:Z},marginTop:0,pointerEvents:"none"},"data-component-id":"media-module-content",children:ea}):null,ee?(0,t.jsx)(I,{current:ee.current,special:ee.special,showVatLabel:ee.showVatLabel,valueAddedTaxLabel:ee.valueAddedTaxLabel,css:{color:X,"@md":{color:Z},pointerEvents:"none"},"data-component-id":"media-module-price"}):(0,t.jsx)("div",{children:" "}),(0,t.jsxs)(D,{style:{visibility:U||K?"visible":"hidden"},position:s,children:[U&&(0,t.jsx)(O,{"data-component-id":"media-module-button",...U}),K&&(0,t.jsx)(O,{"data-component-id":"media-module-button",...K})]}),et?(0,t.jsx)(z,{position:s,children:(0,t.jsx)(p.Tooltip,{"data-component-id":"media-module-tooltip",children:e=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p.Tooltip.Trigger,{...e,href:et.href,css:{color:X,"@md":{color:Z}},color:Z,"data-component-id":"media-module-tooltip-trigger",children:et.label}),(0,t.jsx)(p.Tooltip.Content,{...e,sideOffset:12,"data-component-id":"media-module-tooltip-content",children:(0,t.jsx)(u.Text,{css:{fontSize:"$sm"},children:et.content})})]})})}):(0,t.jsx)("div",{children:" "}),(null==U?void 0:U.href)?(0,t.jsx)(H,{...U,target:"_parent",children:(0,t.jsx)("span",{className:"sr-only",children:U.children})}):null]}),J?(0,t.jsx)(N,{"data-component-id":"media-module-note",children:J}):null]}),(0,t.jsx)(f.Silhouette,{...eh})]})})}),S=(0,h.styled)("div",{position:"relative",paddingTop:"56.25%",width:"100%","& > div":{position:"absolute",top:0,left:0,width:"100%",height:"100%"},variants:{isBlogArticleSection:{true:{maxWidth:"700px",display:"flex",width:"auto",marginLeft:"22px",marginRight:"32px",marginBottom:"-30px","@sm":{marginRight:"50px"},"@md":{width:"660px"},"@lg":{width:"660px"},"@xl":{marginLeft:"0px",marginBottom:"20px",width:"700px"}},false:{maxWidth:"100%",width:"100%",height:"100vh"}}}}),I=(0,h.styled)(m.Price,{justifyContent:"center",color:"$copyWhite",margin:"$5 0 0","@xl":{justifyContent:"initial"},span:{color:"inherit"}}),T=(0,h.styled)("div",{position:"relative",defaultVariants:{position:"right"},variants:{position:{left:{textAlign:"left"},right:{textAlign:"right"},center:{textAlign:"center"}},enableMarginReduction:{true:{mt:"3px","@md":{mt:"4px"}}}}}),$=(0,h.styled)("div",{display:"grid","@xl":{gridTemplateRows:"minmax(20px, 40px) 1fr minmax(20px, 40px)"},gridTemplateColumns:"1fr",gridTemplateRows:"auto 1fr",marginLeft:"auto",marginRight:"auto",padding:0,position:"relative",overflow:"hidden",maxWidth:"120rem",variants:{hasOverlay:{true:{"&::after":{content:"",position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(0, 0, 0, 0.4)",zIndex:2,pointerEvents:"none"}},false:{}},liftSilhouetteOnHover:{true:{'&:hover [data-testid="silhouette"]':{bottom:"76px"}}}},defaultVariants:{hasOverlay:"false",liftSilhouetteOnHover:!1}}),_=(0,h.styled)(a.Container,{gridColumn:"1 / -1",gridRow:"1 / 2","@xl":{gridRow:"1 / -1"},width:"100vw"}),P=(0,h.styled)("div",{position:"relative",backgroundColor:"#ffffff",variants:{aspectRatioSmall:{"16-9":{"@media (max-width: 767px)":{"&:before":{paddingTop:"56.25%"}}},"21-9":{"@media (max-width: 767px)":{"&:before":{paddingTop:"42.86%"}}}},aspectRatioMedium:{"16-9":{"@media (min-width: 768px) and (max-width: 1023px)":{"&:before":{paddingTop:"56.25%"}}},"21-9":{"@media (min-width: 768px) and (max-width: 1023px)":{"&:before":{paddingTop:"42.86%"}}}},aspectRatio:{"16-9":{"@lg":{"&:before":{paddingTop:"56.25%"}}},"16-9-half":{"@lg":{"&:before":{paddingTop:"28.125%"}}},"21-9":{"@lg":{"&:before":{paddingTop:"42.86%"}}}}},defaultVariants:{aspectRatio:"16-9",aspectRatioMedium:"16-9",aspectRatioSmall:"
116-9"},img:{maxWidth:"100%",objectFit:"cover",position:"absolute",top:0,left:0,width:"100%",height:"100%"},picture:{display:"block",position:"relative",boxSizing:"border-box",paddingBottom:"56.25%","&:after":{display:"block",content:"",position:"absolute",top:"0",left:"0",width:"100%",height:"100%"}}}),L=(0,h.styled)("div",{gridColumn:"1 / -1",gridRow:"2 / 3",display:"grid",gridTemplateColumns:"1fr",gridTemplateRows:"1fr auto 1fr",textAlign:"center",position:"relative","@xl":{backgroundColor:"transparent",width:"100%",alignItems:"center",gridRow:"2 / 3"}}),A=(0,h.styled)("div",{gridColumn:"1 / -1",gridRow:"2 / 3",display:"flex",textAlign:"center",padding:"$7 $5",flexDirection:"column",margin:"$5 0 0","@xl":{maxWidth:450,textAlign:"left",width:"43%",padding:"$5",marginRight:"auto"},variants:{position:{right:{"@xl":{marginRight:"0",marginLeft:"auto",pr:"$25"}},left:{"@xl":{pl:"$25",marginLeft:"0 !important",width:"35% !important"}},center:{"@xl":{marginLeft:"auto",marginRight:"auto",textAlign:"center",width:"70%",maxWidth:"$200"}}}},defaultVariants:{position:"right"}}),E=(0,h.styled)("div",{fontWeight:"$normal",fontSize:"$base",lineHeight:"$5",color:"$copyWhite","@xl":{fontSize:"$s",lineHeight:"$6",fontWeight:"$extralight"},"& p:first-child":{marginTop:"0"},"& p:last-child":{marginBottom:"0"}}),D=(0,h.styled)("div",{display:"flex",columnGap:"$3-75",rowGap:"$2-5",margin:"$6 0 0",flexDirection:"column",justifyContent:"center",alignItems:"center",zIndex:1,"button ~ button":{marginTop:"$4"},"@xl":{justifyContent:"flex-start",flexDirection:"row","button ~ button":{marginTop:0,marginLeft:"$5"}},variants:{position:{right:{"@xl":{justifyContent:"flex-start"}},left:{"@xl":{justifyContent:"flex-start"}},center:{justifyContent:"center"}}},defaultVariants:{position:"right"}}),R=(0,h.styled)(g.ProductCustomCountdown,{marginTop:"$1",marginBottom:"$5",justifyContent:"center","@xl":{justifyContent:"flex-start",marginLeft:0,marginTop:0,marginBottom:"$6"},variants:{position:{right:{},left:{},center:{"@xl":{justifyContent:"center"}}}},defaultVariants:{position:"right"}}),M=(0,h.styled)(c.Link,{position:"absolute",zIndex:4,top:"50%",left:"50%",transform:"translate(-50%,-50%)","&:before":{display:"block",content:"",position:"absolute",zIndex:1,top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:" 3.5rem",height:"3.5rem",borderRadius:"50%",backgroundColor:"rgba(0,0,0,.6)"},svg:{zIndex:2,position:"absolute",top:"calc(50% - 6px)",left:"calc(50% - 6px)"},variants:{isDesktopButton:{true:{display:"none","@lg":{display:"block"}},false:{display:"block","@lg":{display:"none"}}},aspectRatio:{"16-9-half":{"@lg":{top:"78%"}},"21-9":{"@lg":{top:"68%"}},"16-9":{}}}}),O=(0,h.styled)(o.Button,{textAlign:"center",padding:"0 $6",pointerEvents:"all"}),B=(0,h.styled)("div",{position:"absolute",zIndex:3,top:"0",left:"0",width:"100%",height:"100%",opacity:0,transition:"opacity 1s linear",cursor:"pointer",video:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",objectFit:"cover"},defaultVariants:{videoPreviewMode:!1},variants:{videoPreviewMode:{false:{opacity:0}
1,true:{opacity:1}},isMobile:{true:{display:"block","@lg":{display:"none"}},false:{display:"none","@lg":{display:"block"}}}}}),z=(0,h.styled)("div",{margin:"$5 0",zIndex:1,display:"flex",justifyContent:"center","@xl":{justifyContent:"flex-start"},variants:{position:{right:{"@xl":{justifyContent:"flex-start"}},left:{"@xl":{justifyContent:"flex-start"}},center:{justifyContent:"center"}}},defaultVariants:{position:"right"}}),N=(0,h.styled)(u.Text,{fontWeight:"$light",fontSize:"$sm",fontStyle:"italic",color:"$copyWhite",zIndex:1,width:"100%",px:"$5",boxSizing:"border-box","@xl":{px:0,width:"auto",position:"absolute",bottom:"$5",left:"$5",right:"$5"}}),F=(0,h.styled)(C,{boxSizing:"border-box",maxHeight:"calc(100% - 40px)","@md":{maxHeight:"100%"},"@supports (-webkit-touch-callout: none)":{height:"100dvh !important"}}),V=(0,h.styled)(s.Image,{"@md":{display:"none !important"}}),G=(0,h.styled)(s.Image,{display:"none !important","@md":{display:"block !important"},"@lg":{display:"none !important"}}),W=(0,h.styled)(s.Image,{display:"none !important","@lg":{display:"block !important"}}),H=(0,h.styled)(c.Link,{position:"absolute",top:0,right:0,bottom:0,left:0,margin:"0 auto",maxWidth:"1920px"})},471727,602107,589700,915352,213586,158542,247723,783717,385892,232976,e=>{"use strict";e.s(["default",()=>c,"mapMediaItem",()=>p],471727);var t=e.i(391398);e.i(589928);var l=e.i(857095),i=e.i(719559),n=e.i(540389);e.s(["useTrackEventsBannerHero",()=>s],602107);var o=e.i(704977),a=e.i(670451),r=e.i(224669),d=e.i(646935);let s=()=>{let{getTrackingData:e}=(0,o.useTracking)();return{trackEventBannerHero:t=>{(e=>{let t;t={action:null==e?void 0:e.action,component:"banner",component_text:e.text,event_name:"banner_hero",custom_event_timestamp:Date.now(),module_type:e.moduleType,page_type:e.pageType,cta_type:e.type,link_text:e.text,ga_user_cookie:(0,a.getCookieFromClient)("_ga"),client_side_third_party_resolve:"reachable"},(0,d.default)({name:r.AnalyticEvents.bannerHero,payload:t,options:{avoidToPushWithDataLayer:!0}})})({...e(),type:null==t?void 0:t.type,text:null==t?void 0:t.text,product:null==t?void 0:t.product,moduleType:null==t?void 0:t.moduleType,pageType:null==t?void 0:t.pageType,action:null==t?void 0:t.action})}}},c=e=>{var i;let{module:n,isH1Title:o=!1,locale:a,isBlogArticleSection:r,showImageOptimizationWarning:d}=e,{props:s}=null!=(i=u(n,o,a,r,d))?i:{};return s?(0,t.jsx)(l.ModuleMedia,{...s,dataId:"module-"+(null==n?void 0:n.sequenceOrder)}):null},u=(e,t,l,o,a)=>{var r;let{data:d}=(0,i.useGetTranslations)({locale:l}),{trackEventAllCta:c}=(0,n.useTrackEventsAllCta)(),{trackEventBannerHero:u}=s();return e?{props:p({item:e,index:0,moduleTypename:e.__typename,isFirstModule:(null!=(r=e.sequenceOrder)?r:0)===0,isH1Title:t,locale:l,translations:d,trackEventAllCta:c,trackEventBannerHero:u,isBlogArticleSection:o,showImageOptimizationWarning:a})}:null},p=e=>{var t,l,i,n,o,a,r,d,s,c,u,p;let{item:m,index:g,moduleTypename:v,isFirstModule:h,isH1Title:x,locale:b,translations:f,trackEventAllCta:y,trackEventBannerHero:w,isBlogArticleSection:j,showImageOptimizationWarning:C}=e,k=(null==(t=m.product)?void 0:t.price)&&(null==(l=m.product)?void 0:l.showPrice)?{current:m.product.price.current,special:m.product.price.special,...m.product.price.current?{}:{freeLabel:null==f?void 0:f.priceFreeLabel},showVatLabel:!1}:void 0,S={locale:b,dateTime:null==m||null==(i=m.countdown)?void 0:i.endDateTime,hourLabel:null==f?void 0:f.genericHourLabel,minuteLabel:null==f?void 0:f.genericMinuteLabel,dayLabel:null==f?void 0:f.genericDayLabel,backgroundColor:null==m||null==(n=m.countdown)?void 0:n.backgroundColor,textColor:null==m||null==(o=m.countdown)?void 0:o.textColor};return{...m,imageSmall:null!=(r=m.imageSmall)?r:m.image,imageMedium:null!=(d=m.imageMedium)?d:m.image,isH2Title:g>0||!h||!x,ctaPrimary:(null==m?void 0:m.ctaPrimary)?{...m.ctaPrimary,onClickEvent:e=>{var t,l,i,n,o,a;y({type:null==(t=m.ctaPrimary)?void 0:t.type,text:null==(l=m.ctaPrimary)?void 0:l.children,product:null,moduleType:v,pageType:"",action:"Button Click - ".concat(null==(i=m.ctaPrimary)?void 0:i.children),avoidPushGtag:!0,title:null==m?void 0:m.title}),w({type:null==(n=m.ctaPrimary)?void 0:n.type,text:null==(o=m.ctaPrimary)?void 0:o.children,product:null,moduleType:v,pageType:"Homepage",action:"Button Click - ".concat(null==(a=m.ctaPrimary)?void 0:a.children)}),e.stopPropagation()}}:void 0,ctaSecondary:(null==m?void 0:m.ctaSecondary)?{...m.ctaSecondary,onClickEvent:e=>{var t,l,i,n,o,a;y({type:null==(t=m.ctaSecondary)?void 0:t.type,text:null==(l=m.ctaSecondary)?void 0:l.children,product:null,moduleType:v,pageType:"",action:"Button Click - ".concat(null==(i=m.ctaSecondary)?void 0:i.children),avoidPushGtag:!0,title:null==m?void 0:m.title}),w({type:null==(n=m.ctaSecondary)?void 0:n.type,text:null==(o=m.ctaSecondary)?void 0:o.children,product:null,moduleType:v,pageType:"Homepage",action:"Button Click - ".concat(null==(a=m.ctaSecondary)?void 0:a.children)}),e.stopPropagation()}}:void 0,video:m.video?{src:m.video}:void 0,previewVideo:m.previewVideo?{src:m.previewVideo,mobileAutoplay:null!=(s=null==m?void 0:m.mobileAutoplay)&&s,desktopAutoplay:null!=(c=null==m?void 0:m.desktopAutoplay)&&c}:void 0,mobileVideoUrl:m.mobileVideoUrl?{src:m.mobileVideoUrl}:void 0,mobilePreviewVideo:m.mobilePreviewVideo?{src:m.mobilePreviewVideo,mobileAutoPlay:null!=(u=null==m?void 0:m.mobileAutoplay)&&u,desktopAutoplay:null!=(p=null==m?void 0:m.mobileAutoplay)&&p}
1:void 0,videoAltText:m.videoAltText,note:null==(a=m.note)?void 0:a.text,backgroundColor:m.backgroundColor,backgroundColorSmall:m.backgroundColorSmall||m.backgroundColor,textColor:m.textColor,textColorSmall:m.textColorSmall||m.textColor,price:k,customCountdown:S,silhouette:null==m?void 0:m.silhouette,isBlogArticleSection:j,getBannerClickEvent:e=>{e&&w({type:"Banner Click",text:m.title,product:null,moduleType:v,pageType:"Homepage",action:"Banner Click - ".concat(m.title)})},showImageOptimizationWarning:C}};e.s(["default",()=>k],589700);var m=e.i(191788),g=e.i(228638);e.i(560976);var v=e.i(932788);e.i(354526);var h=e.i(309015);e.i(543336);var x=e.i(345970);let b=(0,m.forwardRef)((e,l)=>{let{id:i,title:n,text:o,dataId:a,type:r,commercialCode:d,twelveNc:s,isNAR:c,BVtype:u,...p}=e,m="SDA"===r,g=c?d:s,x="REVIEW"===u;return(0,t.jsxs)(f,{id:i,ref:l,"data-id":a,...p,children:[(0,t.jsxs)(y,{children:[(0,t.jsx)(v.Heading,{heading:"h1",as:"h2",children:n}),o&&(0,t.jsx)(h.Text,{children:o})]}),m&&x&&(0,t.jsx)(w,{id:"reviews","data-bv-show":"reviews","data-bv-product-id":g}),m&&x&&c&&(0,t.jsx)(w,{id:"question_and_answer","data-bv-show":"questions","data-bv-product-id":g}),"UGC"===u&&(0,t.jsx)(j,{"data-crl8-container-id":"product","data-crl8-filter":"productId:".concat(g)})]})}),f=(0,x.styled)("div",{my:x.Gutter.sm,display:"flex",alignItems:"center",flexDirection:"column"}),y=(0,x.styled)(g.Container,{px:"$5",textAlign:"center"}),w=(0,x.styled)(g.Container,{my:x.Gutter.xs,"@lg":{my:x.Gutter.md},".bv-cv2-cleanslate .bv-core-container-70 .bv-content-title, .bv-cv2-cleanslate .bv-core-container-70 .bv-content-summary-title, .bv-cv2-cleanslate .bv-core-container-70 .bv-content-data .bv-content-data-recommend-yes .bv-content-data-label-container, .bv-cv2-cleanslate .bv-core-container-70 .bv-content-data .bv-content-data-recommend-no .bv-content-data-label-container, .bv-cv2-cleanslate .bv-core-container-70 .bv-author.bv-fullprofile-popup-target, .bv-cv2-cleanslate .bv-core-container-70 .bv-author-profile .bv-author-userstats .bv-author-userstats-value, .bv-cv2-cleanslate .bv-core-container-70 .bv-mbox-fullprofile .bv-author-userstats .bv-author-userstats-value":{fontWeight:"$black !important"}}),j=(0,x.styled)(g.Container,{m:"0 auto"});var C=e.i(230569);let k=e=>{let{module:l,reviewsData:i}=e,{props:n}=S(l,i)||{};return n?(0,t.jsx)(b,{...n,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},S=(e,t)=>{var l;let i=(0,C.useIsNAR)();return e?{props:{id:e.id,title:e.title,text:e.text,type:null==t?void 0:t.type,commercialCode:null==t?void 0:t.commercialCode,twelveNc:null==t?void 0:t.twelveNc,isNAR:i,BVtype:null!=(l=null==e?void 0:e.type)?l:"REVIEW"}}:null};e.s(["default",()=>N],915352),e.i(406095);var I=e.i(376628);e.i(187564);var T=e.i(115143);e.i(388008);var $=e.i(879045),_=e.i(464882);let P=m.forwardRef((e,l)=>{let{id:i,title:n,modBlocks:o,readMoreLabel:a,readLessLabel:r,readMoreLessActive:d,cta:s,dataId:c,enableMarginReduction:u}=e,[p,{toggle:m}]=(0,_.useBoolean)();return(0,t.jsxs)(L,{id:i,ref:l,"data-id":c,enableMarginReduction:u,children:[(0,t.jsx)(v.Heading,{heading:"h1",as:"h2",css:{textAlign:"center",m:"0"},children:n}),(0,t.jsx)(A,{contentVisible:d?p:"notActive",children:null==o?void 0:o.map((e,l)=>e?(0,t.jsxs)(R,{children:[(0,t.jsxs)(M,{children:[(0,t.jsx)(v.Heading,{heading:"h2",as:"h3",css:{mt:0},children:e.title}),(0,t.jsx)(h.Text,{children:e.text}),e.cta&&(0,t.jsx)(z,{...e.cta,target:"_parent"})]}),(0,t.jsxs)(O,{children:[(0,t.jsx)(B,{children:e.imageCaption}),e.image?(0,t.jsx)(T.Image,{src:e.image.src,alt:e.image.alt,layout:"fill",objectFit:"cover"}):null]})]},l):null)}),d&&(0,t.jsx)(E,{contentVisible:p,children:(0,t.jsx)(D,{textColor:"$copyBlack",backgroundColor:"$bkgWhite",href:p?"#".concat(i):void 0,onClick:()=>{m()},children:p?r:a})}),!d&&s&&(0,t.jsx)(E,{children:(0,t.jsx)(I.Button,{...s})})]})}),L=(0,x.styled)(g.Container,{display:"flex",width:"100%",flexDirection:"column",my:x.Gutter.sm,px:"$2-5","@lg":{my:x.Gutter.md},"@xl":{px:0}}),A=(0,x.styled)("div",{display:"flex",flexDirection:"column",mt:x.Gutter.sm,mb:x.Gutter.xs,"@xs":{flexDirection:"row",flexWrap:"wrap"},"@lg":{mt:x.Gutter.md},variants:{contentVisible:{false:{"& > div":{"&:nth-child(1)":{"@lg":{position:"relative",overflow:"hidden",zIndex:"0","&:after":{position:"absolute",width:"100%",height:35,content:"''",display:"block",zIndex:1e3,bottom:0,left:0,backgroundImage:"linear-gradient(0deg, rgba(255,255,255,1) 24%, rgba(255,255,255,1) 24%, rgba(255,255,255,0) 100%)"}}},"&:nth-child(2)":{position:"relative",overflow:"hidden",zIndex:"0","&:after":{position:"absolute",width:"100%",height:35,content:"''",display:"block",zIndex:1e3,bottom:0,left:0,backgroundImage:"linear-gradient(0deg, rgba(255,255,255,1) 38%, rgba(255,255,255,1) 38%, rgba(255,255,255,0) 100%)","@lg":{backgroundImage:"linear-gradient(0deg, rgba(255,255,255,1) 24%, rgba(255,255,255,1) 24%, rgba(255,255,255,0) 100%)"}}}
1,"&:not(:nth-child(-n+2))":{visibility:"hidden",width:0,height:0,margin:0,padding:0,"& *":{visibility:"hidden",width:0,height:0,margin:0,padding:0}}}},notActive:{display:"flex"}}}}),E=(0,x.styled)("div",{display:"flex",flexDirection:"row",justifyContent:"center",alignContent:"center",zIndex:"$1",variants:{contentVisible:{false:{transform:"translateY(-150%)",marginTop:"$4"}}}}),D=(0,x.styled)(I.Button,{border:"1px solid $darkGreyBorder",boxShadow:"none !important"}),R=(0,x.styled)("div",{display:"flex",mb:"$5",alignItems:"flex-start",flexBasis:"100%",flex:"0 0 100%",flexDirection:"column","@xs":{flexDirection:"row"},"@lg":{flexBasis:"50%",flex:"0 0 50%",mb:"$9"},"@xl":{alignItems:"center"}}),M=(0,x.styled)("div",{order:2,width:"100%","@xs":{flex:"0 0 calc(100% - 150px)",padding:"0 $5",boxSizing:"border-box"},"@xl":{flexBasis:"calc(100% - 255px)"}}),O=(0,x.styled)("div",{order:1,width:"100%",position:"relative",textAlign:"center",mb:"$6","@xs":{flex:"0 0 150px",mb:0},"@xl":{flexBasis:"255px"},"&:before":{display:"block",content:"''",width:"100%",paddingTop:"100%"},"&::after":{content:"''",position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.2)"}}),B=(0,x.styled)(h.Text,{position:"absolute",color:"$copyWhite",zIndex:1,top:"50%",left:"50%",transform:"translate3d(-50%,-50%,0)",width:"100%",fontSize:"$lg",fontWeight:"$black",m:0,"@xl":{fontSize:"$2xl"}}),z=(0,x.styled)($.Link,{color:"$copyRed",fontWeight:"$black",lineHeight:"$normal",mt:"$5"}),N=e=>{let{module:l}=e,{props:i}=F(l)||{};return i?(0,t.jsx)(P,{...i,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},F=e=>{let{trackEventAllCta:t}=(0,n.useTrackEventsAllCta)();return e?{props:{...e,id:e.entryId,cta:e.cta?{...e.cta,onClickEvent:()=>{var l,i,n;return t({type:null==e||null==(l=e.cta)?void 0:l.type,text:null==(i=e.cta)?void 0:i.children,product:null,moduleType:null==e?void 0:e.__typename,pageType:"",action:"Button Click - ".concat(null==(n=e.cta)?void 0:n.children),title:null==e?void 0:e.title})}}:null}}:null};e.s(["default",()=>eN],213586),e.i(881804);var V=e.i(802430),G=e.i(885431),W=e.i(147749),H=e.i(603783),q=e.i(24297);e.i(810615);var U=e.i(436595);let K=(0,x.styled)(g.Container,{display:"flex",flexDirection:"column",paddingBottom:"$5"}),Y=(0,x.styled)("div",{display:"flex",boxShadow:"0 0 0.688rem 0 rgb(0 0 0 / 16%) inset",paddingTop:"$5"}),Q=(0,x.styled)("div",{textAlign:"center",m:"0 auto $5",px:"$2-5","@md":{maxWidth:"80%"},"@lg":{maxWidth:"$180"}}),Z=(0,x.styled)("div",{mt:"$2-5",width:"100%","@xl":{mx:x.Gutter.sm,width:"calc(100% - 80px)"}}),X=(0,x.styled)($.Link,{display:"flex",flexDirection:"column",alignItems:"center",textDecoration:"none",mx:"$2-5",width:"100%",maxWidth:"5rem",margin:"0 auto",pb:20,position:"relative",gap:"$1-5","@md":{gap:"$3"},"@lg":{pb:30},variants:{isActive:{true:{"&::after":{content:"''",position:"absolute",left:0,bottom:0,width:"100%",height:4,backgroundColor:"$bkgRed"}},fasle:{}}},defaultVariants:{isActive:!1}});(0,x.styled)("div",{position:"absolute",left:0,bottom:-20,width:"100%",height:4,backgroundColor:"$bkgRed"});let J=(0,x.styled)("div",{position:"relative",height:0,width:"100%",padding:0,paddingBottom:"100%",mb:8}),ee=(0,x.styled)("span",{textAlign:"center",fontWeight:"$black",fontSize:"$xs",wordBreak:"break-word",overflowWrap:"break-word",width:"100%",display:"block",maxWidth:"100%",overflow:"hidden",whiteSpace:"normal",textOverflow:"ellipsis",hyphens:"auto","@md":{width:"120%",maxWidth:"120%",overflowWrap:"anywhere",overflow:"hidden",fontSize:"$2xs"}}),et=(0,x.styled)("span",{display:"block",mt:"$2-5",color:"$copyMediumGray",fontSize:"$2xs"}),el=(0,x.styled)("div",{bottom:"0 !important",textAlign:"center",display:"inline-flex",alignItems:"center",justifyContent:"center",".swiper-pagination-bullet-active > div":{backgroundColor:"$bkgRed"},variants:{paginationVariant:{default:{},compact:{".swiper-pagination-bullet-active":{backgroundColor:"$bkgRed !important"}}}},defaultVariants:{paginationVariant:"default"}}),ei=(0,x.styled)("div",{display:"flex","@md":{pl:0}}),en=(0,x.styled)("span",{display:"flex",zIndex:10,cursor:"pointer",alignItems:"center",justifyContent:"center","&.swiper-button-disabled":{cursor:"default",opacity:.35},variants:{direction:{left:{paddingRight:"$0","@md":{paddingRight:"$2-5"},"@lg":{paddingRight:"$5"},transform:"rotate(180deg)"},right:{paddingRight:"$0","@md":{paddingRight:"$2-5"},"@lg":{paddingRight:"$5"}}}}}),eo=(0,x.styled)(U.Icon,{width:"25px",height:"25px","@md":{width:"35px",height:"35px"}}),ea=(0,x.styled)(q.Swiper,{width:"100%"}),er=(0,x.styled)("div",{position:"absolute",top:0,bottom:0,width:"$28","@md":{width:"$36"},"@lg":{width:"$48"}
1,pointerEvents:"none",zIndex:9,transition:"opacity 0.2s",opacity:1,variants:{side:{left:{left:0,background:"linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 109.62%)"},right:{right:0,background:"linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 109.62%)"}},hidden:{true:{opacity:0},false:{opacity:1}}},defaultVariants:{hidden:!1}});var ed=e.i(900018),es=e.i(724096);e.i(20479);var ec=e.i(841499);let eu=m.forwardRef((e,l)=>{let{id:i,title:n,text:o,cta:s,groups:c,links:u,active:p,onClick:g,dataId:x,background:b,isHomePage:f}=e,{data:y}=(0,es.useGetSiteData)(),w=(0,ed.isEdgeGradientEnabled)(y.locale),j=f&&w,C=(0,m.useId)(),k="".concat(C,"_next"),S="".concat(C,"_prev"),$="".concat(C,"_pagination"),_=c&&(null==c?void 0:c.length)>0,P=null==c?void 0:c.find((e,t)=>t===p),[L,A]=(0,m.useState)(!0),[E,D]=(0,m.useState)(!1),R=e=>{A(e.isBeginning),D(e.isEnd)};return(0,t.jsxs)(ep,{id:i,ref:l,size:"xl",hasBgColor:!!b,css:{backgroundColor:b},"data-id":x,"data-component-id":"category-list-container",children:[(0,t.jsxs)(K,{size:"md",children:[(0,t.jsx)(v.Heading,{heading:"h1",as:"h2",css:{textAlign:"center",m:"0 0 $5"},"data-component-id":"category-list-title",children:n}),o?(0,t.jsx)(Q,{children:(0,t.jsx)(h.Text,{"data-component-id":"category-list-description",children:o})}):null,(0,t.jsxs)(Z,{children:[(0,t.jsxs)(ei,{"data-component-id":"category-list-slider",style:j?{position:"relative"}:void 0,children:[j&&(0,t.jsx)(er,{side:"left",hidden:L,"data-component-id":"left-gradient"}),(0,t.jsx)(en,{direction:"left","data-navigation":S,"data-component-id":"category-list-slider-arrow-left",children:(0,t.jsx)(eo,{icon:"Caret",label:"",stroke:"#000"})}),(0,t.jsxs)(ea,{modules:[H.Pagination,G.Keyboard,V.A11y,W.Navigation],grabCursor:!0,pagination:{type:"bullets",bulletElement:"a",el:'[data-pagination="'.concat($,'"]'),clickable:!0,renderBullet:function(e,t){return'<div class="'+t+'" style="width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:none;"><div style="width:8px;height:8px;border:3px solid #c41130;border-radius:50%;"></div></div>'}},keyboard:!0,observer:!0,watchSlidesProgress:!0,slidesPerView:"auto",navigation:{nextEl:'[data-navigation="'.concat(k,'"]'),prevEl:'[data-navigation="'.concat(S,'"]')},breakpoints:{320:j?{slidesPerView:4,slidesPerGroup:4,centerInsufficientSlides:!0,spaceBetween:7}:{slidesPerView:3,slidesPerGroup:3,centerInsufficientSlides:!0},767:{slidesPerView:6,slidesPerGroup:6,centerInsufficientSlides:!0,...j&&{spaceBetween:15}},1024:j?{slidesPerView:13,slidesPerGroup:13,centerInsufficientSlides:!0,spaceBetween:15}:{slidesPerView:8,slidesPerGroup:8,centerInsufficientSlides:!0},1600:j?{slidesPerView:13,slidesPerGroup:13,centerInsufficientSlides:!0,spaceBetween:15}:{slidesPerView:11,slidesPerGroup:11,centerInsufficientSlides:!0}},"data-component-id":"category-list-slider",onSwiper:R,onSlideChange:e=>R(e),onReachBeginning:()=>A(!0),onReachEnd:()=>D(!0),onFromEdge:e=>R(e),children:[u&&!_?null==u?void 0:u.map((e,l)=>(0,t.jsx)(q.SwiperSlide,{"data-cocategorymponent-id":"category-list-slider",children:(0,t.jsxs)(X,{href:e.href,target:(0,ec.normalizeLinkTarget)(e.target),onClick:()=>((e,t)=>{(e=>{let t,{data:l}=e;return t={ga_user_cookie:(0,a.getCookieFromClient)("_ga"),action:"Button Click - ".concat(l.linkText),client_side_third_party_resolve:"pending",component:"carousel",cta_type:"Url",custom_event_timestamp:Date.now(),event_name:"category_display",image_name:"component visual nav - ".concat(l.linkText),image_position:l.imagePosition,link_text:l.linkText,module_type:"MediaModule",page_type:"Homepage"},(0,d.default)({name:r.AnalyticEvents.categoryDisplay,payload:t,options:{avoidToPushWithDataLayer:!0}})})({data:{imagePosition:e+1,linkText:t}}),g(e)})(l,e.label),"data-component-id":"category-list-slider-item",children:[e.icon?(0,t.jsx)(J,{children:(0,t.jsx)(T.Image,{...e.icon,layout:"fill",objectFit:"contain",dimension:"120","data-component-id":"slider-item-image"})}):null,(0,t.jsx)(ee,{"data-component-id":"slider-item-label",children:e.label})]})},l)):null,_?null==c?void 0:c.map((e,l)=>
1(0,t.jsx)(q.SwiperSlide,{"data-component-id":"category-list-swiper-slide",children:(0,t.jsxs)(X,{onClick:()=>g(l),target:"_parent",isActive:l===p,"data-component-id":"category-list-slider-item",children:[e.icon?(0,t.jsx)(J,{children:(0,t.jsx)(T.Image,{layout:"fill",objectFit:"contain",...e.icon,"data-component-id":"slider-item-image"})}):null,(0,t.jsx)(ee,{"data-component-id":"slider-item-label",children:e.label})]})},l)):null]}),(0,t.jsx)(en,{direction:"right","data-navigation":k,"data-component-id":"category-list-slider-arrow-right",children:(0,t.jsx)(eo,{icon:"Caret",label:"",stroke:"#000"})}),j&&(0,t.jsx)(er,{side:"right",hidden:E,"data-component-id":"right-gradient"})]}),(0,t.jsx)(el,{"data-component-id":"category-list-slider-pagination","data-pagination":$})]}),s?(0,t.jsx)(I.Button,{"data-component-id":"category-list-button",...s,css:{m:"$7-5 auto 0"}}):null]}),P?(0,t.jsx)(Y,{"data-component-id":"category-list-subcategory",children:(0,t.jsxs)(K,{id:"".concat(i,"-sub-list"),size:"sm",css:{px:"$5","@xl":{px:0}},children:[(0,t.jsx)(v.Heading,{heading:"h2",as:"h3",css:{textAlign:"center",m:"0 0 $2"},"data-component-id":"subcategory-title",children:null==P?void 0:P.title}),(null==P?void 0:P.subtitle)?(0,t.jsx)(Q,{children:(0,t.jsx)(h.Text,{"data-component-id":"subcategory-description",children:P.subtitle})}):null,(0,t.jsxs)(Z,{children:[(0,t.jsx)(q.Swiper,{modules:[H.Pagination,G.Keyboard,V.A11y],grabCursor:!0,pagination:{type:"bullets",bulletElement:"a",el:'[data-pagination="sub-'.concat($,'"]'),clickable:!0},centerInsufficientSlides:!0,watchSlidesProgress:!0,keyboard:!0,slidesPerView:2.5,slidesPerGroup:2,breakpoints:{767:{slidesPerView:4,slidesPerGroup:4},1024:{slidesPerView:5,slidesPerGroup:5}},"data-component-id":"subcategory-slider",children:(null==P?void 0:P.links)?null==P?void 0:P.links.map((e,l)=>(0,t.jsx)(q.SwiperSlide,{"data-component-id":"subcategory-list-swiper-slide",children:(0,t.jsxs)(X,{...e,css:{maxWidth:"70%"},"data-component-id":"subcategory-slider-item",children:[e.icon?(0,t.jsx)(J,{children:(0,t.jsx)(T.Image,{layout:"fill",objectFit:"contain",...e.icon,"data-component-id":"slider-item-mage"})}):null,(0,t.jsx)(ee,{"data-component-id":"slider-item-label",children:e.label}),e.sublabel?(0,t.jsx)(et,{"data-component-id":"slider-item-sublabel",children:e.sublabel}):null]})},l)):null}),(0,t.jsx)(el,{paginationVariant:"compact","data-component-id":"subcategory-slider-pagination","data-pagination":"sub-".concat($)})]}),s?(0,t.jsx)(I.Button,{"data-component-id":"subcategory-button",...s,css:{m:"$7-5 auto 0"}}):null]})}):null]})}),ep=(0,x.styled)(g.Container,{width:"100%",textAlign:"center",boxSizing:"border-box",px:"$5","@lg":{px:0},"@md":{maxWidth:"100% !important"},variants:{hasBgColor:{true:{backgroundColor:"$bkgLightGreen",py:x.Gutter.sm,"@md":{py:x.Gutter.md}},false:{my:x.Gutter.sm,"@md":{my:x.Gutter.md}}}}}),em=e=>{let{links:l,viewAllLink:i}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eg,{"data-component-id":"highlighted-faq-list",children:null==l?void 0:l.map((e,i)=>e?(0,t.jsx)(ex,{"data-component-id":"highlighted-faq",...e,children:(0,t.jsxs)(ev,{isLast:i===l.length-1,children:[(0,t.jsxs)(eh,{children:[(0,t.jsx)("div",{style:{flex:"1 1 auto"},children:(0,t.jsx)(U.Icon,{label:"",icon:"QuestionMark",css:{size:17,width:17,height:17,marginRight:10},fill:"#c41230"})}),(0,t.jsx)(eb,{children:e.children})]}),(0,t.jsx)(U.Icon,{label:"",icon:"ArrowRightRed",css:{size:15}})]},i)}):null)}),i?(0,t.jsx)(ef,{bold:!0,...i}):null]})},eg=(0,x.styled)("div",{padding:"0 $6-5",overflowY:"auto"}),ev=(0,x.styled)("div",{display:"flex",alignItems:"center",justifyContent:"space-between",p:"$3-5 0 ",borderBottom:"1px solid $bkgLightGray",variants:{isLast:{true:{borderBottom:"none"}}}}),eh=(0,x.styled)("div",{display:"flex",alignItems:"center",justifyContent:"start"}),ex=(0,x.styled)($.Link,{textDecoration:"none","&:hover":{textDecoration:"underline"}}),eb=(0,x.styled)("div",{fontSize:"$s !important",lineHeight:"$normal",wordBreak:"break-word",flex:"5 100% 0%"}),ef=(0,x.styled)($.Link,{fontSize:"$s !important",lineHeight:"$normal",color:"$copyRed",mt:"auto"}),ey=(0,m.forwardRef)((e,l)=>{let{faqList:i}=e;return(0,t.jsx)(ew,{ref:l,children:null==i?void 0:i.map(e=>{var l,i,n;if(!e)return null;let o=e.viewAllLink;return(0,t.jsxs)(ej,{children:[(0,t.jsxs)(eC,{children:[(0,t.jsx)(eS,{noImage:!e.image,children:e.image?(0,t.jsx)(T.Image,{src:e.image.src,alt:e.image.alt,layout:"fill","data-component-id":"faq-grid-image",style:{opacity:.8}}):null}),(0,t.jsxs)(ek,{children:[(0,t.jsx)(U.Icon,{label:"",icon:"QuestionMarkEmboss",css:{size:40}}),(0,t.jsx)(v.Heading,{as:"h3",css:{textTransform:"uppercase",color:"$bkgWhite",width:"max-content",maxWidth:"300px",textAlign:"center"},"data-component-id":"faq-grid-category",children:e.category}),(null==o?void 0:o.href)?(0,t.jsx)(I.Button,{isRounded:!0,backgroundColor:x.Backgroun
1dColors.bkgWhite,textColor:x.CopyColors.copyBlack,css:{alignItems:"center",px:"$10",mt:"$2"},href:o.href,target:null!=(l=o.target)?l:"_parent",onClickEvent:o.onClickEvent,active:null==(i=o.active)||i,"data-component-id":"faq-grid-button",children:null!=(n=o.children)?n:"View all"}):null]})]}),(0,t.jsx)(em,{links:e.links})]},e.category)})})}),ew=(0,x.styled)("div",{display:"grid",gridTemplateColumns:"repeat(1, 1fr)",gap:"30px",alignContent:"start","@md":{gridTemplateColumns:"repeat(2, 1fr)"},"@lg":{gridTemplateColumns:"repeat(3, 1fr)"}}),ej=(0,x.styled)("div",{backgroundColor:"$bkgWhite",boxSizing:"border-box",boxShadow:"0 0 10px 0 rgb(0 0 0 / 0.16)",textAlign:"start"}),eC=(0,x.styled)("div",{position:"relative"}),ek=(0,x.styled)("div",{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}),eS=(0,x.styled)("div",{display:"flex",flexShrink:0,height:"200px",position:"relative",variants:{noImage:{true:{backgroundColor:"$bkgLightGray"}}}}),eI=(0,m.forwardRef)((e,l)=>{let{id:i,title:n,text:o,faqList:a,background:r,textColor:d,dataId:s}=e;return(0,t.jsx)(eT,{id:i,ref:l,size:"xl",hasBgColor:!!r,css:{backgroundColor:r},"data-id":s,"data-component-id":"highlight-faq-wrapper",children:(0,t.jsxs)(g.Container,{children:[n&&(0,t.jsx)(v.Heading,{heading:"h1",as:"h2",css:{my:0,color:d,marginBottom:"$5","@lg":{marginBottom:o?"$5":"$10"}},"data-component-id":"highlight-faq-title",children:n}),o&&(0,t.jsx)(e$,{"data-component-id":"highlight-faq-description",css:{color:d},children:o}),(0,t.jsx)(ey,{"data-component-id":"highlight-faq-grid",faqList:a})]})})}),eT=(0,x.styled)(g.Container,{width:"100%",textAlign:"center",boxSizing:"border-box",px:"$5","@lg":{px:0},variants:{hasBgColor:{true:{backgroundColor:"$bkgLightGreen",py:x.Gutter.sm,"@md":{py:x.Gutter.md}},false:{my:x.Gutter.sm,"@md":{my:x.Gutter.md}}}}}),e$=(0,x.styled)(h.Text,{py:"$8 !important","@md":{paddingBottom:"$2-5"},"@lg":{paddingBottom:"$7"}});var e_=e.i(68633);e.i(581718);var eP=e.i(119303);e.i(650251);var eL=e.i(584021);e.i(531025);var eA=e.i(695388);e.i(349772);var eE=e.i(454465);let eD=(0,m.forwardRef)((e,l)=>{let{id:i,title:n,inputs:o,onChange:a,dataId:r}=e;return(0,t.jsxs)(eR,{id:i,ref:l,"data-id":r,"data-component-id":"course-container",children:[(0,t.jsx)(v.Heading,{heading:"h1",as:"h2",css:{mt:0,"@md":{my:"$7-5"},"@lg":{mb:"$10-5"}},"data-component-id":"course-title",children:n}),(0,t.jsxs)(eM,{children:[(0,t.jsx)(eA.Label,{"data-component-id":"course-label",children:o.course.label}),(0,t.jsx)(eE.Select,{name:"course",emptyOption:!0,onChange:e=>a(e.target.value),"data-component-id":"course-selector",children:o.course.options.map(e=>{let{value:l,label:i}=e;return(0,t.jsx)("option",{value:l,"data-component-id":"course-option",children:i},l)})}),(0,t.jsx)(eL.InputRightElement,{css:{pointerEvents:"none"},"data-component-id":"course-selector-icon",children:(0,t.jsx)(e_.Flex,{children:(0,t.jsx)(U.Icon,{icon:"Caret",label:"",css:{size:16,stroke:"$copyBlack",strokeWidth:2,transform:"rotate(90deg)"}})})})]})]})}),eR=(0,x.styled)("div",{textAlign:"center"}),eM=(0,x.styled)(eP.FormControl,{mx:"$5",mb:0,width:"calc(100% - 40px)",maxWidth:"$180","@md":{mx:"auto"}});var eO=e.i(349577);e.i(649076);var eB=e.i(79206),ez=e.i(203828);let eN=e=>{var l,i,n;let{module:o,isHomePage:a}=e,{categoryList:r,dropdown:d,highlighted:s,type:c}=eF(o)||{};return r&&d&&s&&c&&o?(0,t.jsxs)(t.Fragment,{children:["DropdownList"===o.type||"AnchorBar"===o.type?null==(i=o.categoryList)||null==(l=i.links)?void 0:l.map((e,l)=>(0,t.jsx)(eO.Root,{children:(0,t.jsx)($.Link,{href:null==e?void 0:e.href,children:null==e?void 0:e.label})},"".concat(null==e?void 0:e.label).concat(l))):null==(n=o.groups)?void 0:n.map((e,l)=>{var i;return(0,t.jsx)(eO.Root,{children:null==e||null==(i=e.links)?void 0:i.map((e,l)=>(0,t.jsx)($.Link,{href:null==e?void 0:e.href,children:null==e?void 0:e.label},"".concat(null==e?void 0:e.label).concat(l)))},"".concat(null==e?void 0:e.title).concat(l))}),(e=>{let{type:l}=e;switch(l){case"DropdownList":return(0,t.jsx)(eD,{...d,dataId:"module-"+(null==o?void 0:o.sequenceOrder)});case"HighlightedList":return(0,t.jsx)(eI,{...s,dataId:"module-"+(null==o?void 0:o.sequenceOrder)});case"IconList":case"ButtonList":case"AnchorBar":return(0,t.jsx)(eu,{...r,isHomePage:a,dataId:"module-"+(null==o?void 0:o.sequenceOrder)})}})({categoryList:r,dropdown:d,highlighted:s,type:c})]}):null},eF=e=>{var t,l,i,o,a,r,d,s,c,u,p,g,v,h,x,b,f;let{trackEventAllCta:y}=(0,n.useTrackEventsAllCta)(),{data:w}=(0,es.useGetSiteData)(),[j,C]=(0,m.useState)(null),k=(0,ez.useRouter)(),S=(0,m.useRef)(),I=(null==(t=e.categoryList)?void 0:t.groups)&&(null==(i=e.categoryList)||null==(l=i.groups)?void 0:l.length)>0,T=t=>{var l,i;return!!I&&null!=(i=e.categoryList)&&null!=(l=i.groups[t])&&!!l.anchorText};if((0,m.useEffect)(()=>{let t=()=>{var t,l,i;let n=null==(t=window)?void 0:t.location.hash;if(n&&I){let t=null==(i=e.categoryList)||null==(l=i.groups)?void 0:l.findIndex(e=>e.anchorText===n.replace("#",""));void 0!==t&&-1!==t&&T(t)?(C(t),S&&S.current&&S.current.scrollIntoView({behavior:"smooth",block:"start"})):C(null)}else C(null)};return t(),window.addEventListener("hashchange",t),()=>{window.removeEventListener("hashchange",t)}},[]),!e)return null;let $=null==(o=e.categoryList)?void 0:o.groups,_=null==(a=e.categoryList)?void 0:a.links;return{type:e.type,highlighted:{title:null==(r=e.highlighted)?void 0:r.title,text:null==(d=e.highlighted)?void 0:d.text,faqList:(null==(c=e.highlighted)||null==(s=c.faqList)?void 0:s.map(e=>{var t;return e?{category:e.category,image:e.image,links:(null==(t=e.links)?void 0:t.map(e=>{var t;return{...e,target:(0,ec.normalizeLinkTarget)(null!=(t=null==e?void 0:e.target)?t:null==e?void 0:e.targetType)}}))||[],viewAllLink:(0,eB.navigationLinkToLink)(e.viewAllLink,w)}:null}))||[],background:null==(u=e.highlighted)?void 0:u.background,textColor:e.textColor},dropdown:{title:null==(p=e.dropdown)?void 0:p.title,inputs:{course:{label:null==(g=e.dropdown)?void 0:g.title,options:(null==(h=e.dropdown)||null==(v=h.inputs)?void 0:v.options)||[]}},onChange:e=>{(0,ec.windowHrefUtils)(e)}},categoryList:{id:e.entryId,title:null==(x=e.categoryList)?void 0:x.title,text:null==(b=e.categoryList)?void 0:b.text,background:null==(f=e.categoryList)?void 0:f.background,cta:e.cta?{...e.cta,onClickEvent:()=>{var t,l,i,n;return y({type:null==e||null==(t=e.cta)?void 0:t.type,text:null==(l=e.cta)?void 0:l.children,product:null,moduleType:null==e?void 0:e.__typename,pageType:"",action:"Button Click - ".concat(null==(i=e.cta)?void 0:i.children),title:null==e||null==(n=e.categoryList)?void 0:n.title})}}:null,active:j,groups:(null==$?void 0:$.map(e=>{var t;return e?{label:e.label,icon:e.image,expanded:e.isExpanded,title:e.title,subtitle:e.subtitle,links:(null==(t=e.links)?void 0:t.map(e=>{var t;return e?{label:e.children,href:e.href,active:e.active,icon:e.icon,target:(0,ec.normalizeLinkTarget)(null!=(t=null==e?void 0:e.target)?t:null==e?void 0:e.targetType),sublabel:e.subLabel}:null}))||[]}:null}))||[],links:(null==_?void 0:_.map(e=>{var t;return e?{label:e.children,sublabel:e.label,href:e.href,active:e.active,icon:e.icon,target:(0,ec.normalizeLinkTarget)(null!=(t=null==e?void 0:e.target)?t:null==e?void 0:e.targetType)}:null}))||[],onClick:t=>{if(I&&T){var l,i,n,o,a,r;let d=null==(l=window)?void 0:l.location.hash,s=(null==(i=e.categoryList)?void 0:i.groups)&&(null==(o=e.categoryList)||null==(n=o.groups[t])?void 0:n.anchorText),c=d.indexOf("#".concat(s)),u=null==(r=globalThis)||null==(a=r.location)?void 0:a.pathname;s&&-1===c?(k.push({pathname:u,hash:"#".concat(s)},void 0,{shallow:!0}),!d&&S&&S.current&&S.current.scrollIntoView({behavior:"smooth",block:"start"})):d&&k.push({pathname:u},void 0,{shallow:!0})}C(e=>e===t?null:t)},ref:S}}};e.s(["default",()=>e1],158542),e.i(89885);var eV=e.i(119177),eG=e.i(878549);e.i(411560);var eW=e.i(58099);e.i(261354);var eH=e.i(189163),eq=e.i(561458),eU=e.i(310215),eK=e.i(664125),eY=e.i(163725),eQ=e.i(650804),eZ=e.i(597539),eX=e.i(948920),eJ=e.i(210338),e0=e.i(13361);let e1=e=>{let{module:l,locale:n,page:o}=e,{props:a,isLoading:r}=e5(l,n,o)||{},{data:d}=(0,i.useGetTranslations)({locale:n});return a?(0,t.jsxs)(t.Fragment,{children:[r?(0,t.jsx)(eH.Loader,{}):null,(0,t.jsx)(eW.NewsletterForm,{...a,emailObservation:d.newsletterModalPhoneInfoLabel||"By providing your mobile number, you agree to re
1ceive recurring automated promotional and personalized marketing text messages (e.g. cart reminders) at this number from Kitchenaid®. Reply HELP for help and STOP to cancel. Msg frequency varies. Msg & data rates may apply. Exclusions apply.",id:"newsletter-page-form",hiddenLabel:!1,submitCta:{children:l.sendRequestLabel},dataId:"module-"+(null==l?void 0:l.sequenceOrder)})]}):null},e5=(e,t,l)=>{let[i,n]=(0,m.useState)(!1),[s,c]=(0,m.useState)(!1),{trackEventContactFormSubmission:u}=(0,eJ.useTrackEventsCustomerCareTracking)(),p=(0,ed.isNewsletterFirstNameAndLastNameFieldsEnabled)(t),g=(0,ed.isProductAbandonementEnabled)(t),{data:v}=(0,eY.useGetSessionData)({locale:t}),{trackEventNewsletterOptin:h}=(()=>{let{getTrackingData:e}=(0,o.useTracking)();return{trackEventNewsletterOptin:t=>{(e=>{setTimeout(()=>{let t;return t={page_type:e.pageType,custom_event_timestamp:Date.now(),content_group:e.pageType,event_name:"newsletter_optin",ga_user_cookie:(0,a.getCookieFromClient)("_ga"),client_side_third_party_resolve:"reachable",form_type:"Default newsletter form",newsletter_form_CTA:"SUBMIT"},(0,d.default)({name:r.AnalyticEvents.newsletterOptin,payload:t,options:{avoidToPushWithDataLayer:!0}})},100)})({...e(),type:null==t?void 0:t.type,pageType:null==t?void 0:t.pageType,pageName:null==t?void 0:t.pageName})}}})(),x=async i=>{var o,a,r,d,s,p,m,x,b,f,y,w,j,C;let k=await (0,eG.handleRecaptcha)("newsletter",t),S=null!=(w=null==e?void 0:e.leadGenSource)?w:"sign_up_and_save";(0,eK.trackEventNewsletterConfirmation)({newsletter:{newsletter_form_CTA:null!=(j=null==e?void 0:e.sendRequestLabel)?j:"",newsletter_form_type:"Default newsletter form"},metadata:{href:"",contentGroup:null==l||null==(a=l.pageMetadata)||null==(o=a.seo)?void 0:o.contentGroup,locale:null==l||null==(r=l.pageMetadata)?void 0:r.localeEnum,pageType:null==l?void 0:l.__typename,title:null==l||null==(d=l.pageMetadata)?void 0:d.title,name:null==l||null==(s=l.pageMetadata)?void 0:s.name,slug:null==l||null==(p=l.pageMetadata)?void 0:p.slug,isLoggedIn:null==v||null==(m=v.user)?void 0:m.isAuthenticated},profiling_consent:i.profiling});let I=null==(b=(0,eX.getPublicConfigByLocale)(t))||null==(x=b.narAnalyticsParams)?void 0:x.userTypeParamValue;u({type:"newsletter",reason:"newsletter signup",method:"post",user_id:null==v||null==(f=v.user)?void 0:f.userId,user_type:(null==v||null==(y=v.user)?void 0:y.isAuthenticated)?I?"Returning":"Logged":"Guest"}),i.privacy&&((0,e0.trackBrazeNewsletterOptInEvent)(t,S,i.email,i.phoneNumber),h({type:null==l?void 0:l.__typename,pageType:null==l?void 0:l.__typename,pageName:null==l||null==(C=l.pageMetadata)?void 0:C.name}));let T={source:i.source,profiling:i.profiling,privacy:i.privacy,email:i.email,firstname:i.firstName,lastname:i.lastName,phoneNumber:i.phoneNumber,addressInput:i.contactAddress&&{street:i.contactAddress.streetName,postalCode:i.contactAddress.postalCode,city:i.contactAddress.city,country:(0,eU.getAlpha3FromAlpha2CountryCode)(i.contactAddress.country),houseNumber:i.contactAddress.houseNumber,box:i.contactAddress.box}};c(!0);try{let e=await eQ.NextSelfClient.newsletterSubmission(t,{data:T,token:k});(null==e?void 0:e.status)&&(null==e?void 0:e.success)&&(n(!0),g&&(0,eZ.setProductAbandonmentClientData)(T.email,T.privacy)),(null==e?void 0:e.success)&&(null==e?void 0:e.status)||eV.toast.error((null==e?void 0:e.message)||"An error occurred")}catch(e){eV.toast.error("An error occurred")}c(!1)};if(!e)return null;let b=(0,ed.isProfilingConsentV2Enable)(t);return{isLoading:s,props:{onSubmit:x,title:e.title,subTitle:e.subtitle,submitCta:{children:e.sendRequestLabel},inputs:{email:(0,eq.inputValidationsMapper)(e.emailInput),address:{inputs:e2(e.addressInput),locale:t,combineNumberAndStreet:(0,eX.getPublicConfigByLocale)(t).combineAddressNumberAndStreet},optIn:(0,eq.inputValidationsMapper)(e.optIn),profilingOptIn:b||(0,ed.isMarketingConsentEnable)(t)?(0,eq.inputValidationsMapper)(e.profilingOptIn):null,phoneNumber:(0,eq.inputValidationsMapper)(e.phoneInput),phoneFieldRegex:(0,ed.getPhoneNumberRegex)(t),...p&&{firstName:(0,eq.inputValidationsMapper)(e.firstNameInput),lastName:(0,eq.inputValidationsMapper)(e.lastNameInput)}},privacyNoticeText:e.privacyNotice,thankYou:{isVisible:i,title:e.thankYouTitle,text:e.thankYouText,image:e.thankYouImage,cta:e.backToHomePageCtaLink},profilingConsentEnabled:b}}},e2=e=>{var t,l,i,n,o,a,r,d,s,c;return e?{id:e.id,streetName:{...(0,eq.inputValidationsMapper)(e.streetInput),countries:(null==(i=e.countryInput)||null==(l=i.values)||null==(t=l.map(e=>{let{value:t}=e;return(0,eU.getAlpha2FromAlpha3CountryCode)(t)}))?void 0:t.filter(e=>e))||[]},streetNumber:(0,eq.inputValidationsMapper)(e.houseNumberInput),box:(0,eq.inputValidationsMapper)(e.boxInput),postalCode:(0,eq.inputValidationsMapper)(e.postalCodeInput),city:(0,eq.inputValidationsMapper)(e.cityInput),country:{...(0,eq.inputSelectValueFieldsToInputSelectProps)(e.countryInput),options:(null==(r=e.countryInput)||null==(a=r.values)||null==(o=a.map(e=>{let{value:t,label:l}=e;return{label:l,value:(0,eU.getAlpha2FromAlpha3CountryCode)(t)}}
1))||null==(n=o.filter(e=>{let{value:t}=e;return!!t}))?void 0:n.sort((e,t)=>{var l;return null==e||null==(l=e.label)?void 0:l.localeCompare(null==t?void 0:t.label)}))||[],defaultValue:(0,eU.getAlpha2FromAlpha3CountryCode)(null==(c=e.countryInput)||null==(s=c.selectedValues)||null==(d=s[0])?void 0:d.value)}}:null};e.s(["default",()=>tw],247723),e.i(861276);var e3=e.i(961440);e.i(328066);var e6=e.i(102101);e.i(847413);var e8=e.i(317028),e4=e.i(168489),e9=e.i(887946),e7=e.i(768920);let te=m.forwardRef((e,l)=>{let{image:i}=e,n=(0,e7.useMediaQuery)("(max-width: 767px)"),o=(0,e7.useMediaQuery)("(min-width: 768px) and (max-width: 1023px)");if(!(null==i?void 0:i.src))return null;let a=n?"20":o?"24":"30";return(0,t.jsx)(tt,{ref:l,"data-testid":"responsive-silhouette",children:(0,t.jsx)(T.Image,{src:i.src,alt:i.alt,objectFit:"contain",width:a,height:a})})}),tt=(0,x.styled)("div",{display:"flex",boxSizing:"border-box",overflow:"hidden",position:"absolute",bottom:"20px",right:"20px",zIndex:3,transition:"bottom 200ms ease"}),tl=(0,e4.default)(()=>e.A(879549),{loadableGenerated:{modules:[769922]},ssr:!1}),ti=m.default.forwardRef((e,l)=>{let{backgroundImage:i,video:n,fallbackImage:o,cta:a,icon:r,title:d,body:s,textColor:c,priority:u,index:p,tooltip:g,showImageOptimizationWarning:v,isCtaDisabled:x,badge:b,silhouette:f,...y}=e,[w,j]=m.default.useState(),C=m.default.useRef(null),[k,S]=m.default.useState(),$=!!n&&w===n,_=$?o||i:n?void 0:i,P=!!n&&!$,L=!!(null==_?void 0:_.src),A=!!(null==n?void 0:n.match(/youtube|youtu\.be|vimeo/i));return m.default.useEffect(()=>{if(!A||!C.current)return;let e=()=>{let{width:e,height:t}=C.current.getBoundingClientRect();if(!e||!t)return;let l=16/9;S(e/t>16/9?{width:e,height:e/l}:{width:t*l,height:t})};e();let t=new ResizeObserver(e);return t.observe(C.current),()=>t.disconnect()},[A]),(0,t.jsxs)(tn,{ref:l,...y,css:{cursor:a?"pointer":"default"},onClick:()=>{a&&a.href&&(0,ec.windowHrefUtils)(a.href)},children:[P?(0,t.jsx)(ta,{ref:C,children:A?(0,t.jsx)(tr,{"data-component-id":"patchwork-video",url:(0,e9.transformVideoUrl)(n||""),width:(null==k?void 0:k.width)||"100%",height:(null==k?void 0:k.height)||"100%",playing:!0,loop:!0,muted:!0,playsinline:!0,config:{youtube:{playerVars:{autoplay:1,controls:0,disablekb:1,mute:1,modestbranding:1,playsinline:1,rel:0},embedOptions:{host:"https://www.youtube-nocookie.com"}},vimeo:{playerOptions:{dnt:!0}}},onError:()=>j(n)}):(0,t.jsx)(td,{"data-component-id":"patchwork-video",src:n,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,"aria-hidden":"true",onError:()=>j(n)})}):null,L?(0,t.jsx)(ta,{children:(0,t.jsx)(T.Image,{src:_.src,alt:_.alt,layout:"fill",objectFit:"cover",priority:u,fetchPriority:u?"high":"auto",showWarning:null==v?void 0:v(_.src)})}):null,(0,t.jsxs)(to,{children:[r?(0,t.jsx)(ts,{children:(0,t.jsx)(T.Image,{src:r.src,alt:r.alt,layout:"fill",objectFit:"contain"})}):null,(0,t.jsx)(tm,{css:{color:c||"$copyWhite"},isCtaDisabled:x,as:"h3",children:d}),(0,t.jsx)(tg,{css:{color:c||"$copyWhite"},isCtaDisabled:x,children:s}),x?null:a?(0,t.jsx)(I.Button,{...a,target:"_parent",style:{zIndex:1}}):null,g?(0,t.jsx)(tc,{css:{...x?{marginTop:"$0"}:{}},children:(0,t.jsx)(e6.Tooltip,{delayDuration:0,children:e=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(e6.Tooltip.Trigger,{...e,href:g.href,color:g.labelColor?g.labelColor:"$copyWhite",children:g.label}),(0,t.jsx)(e6.Tooltip.Content,{...e,sideOffset:12,children:(0,t.jsx)(h.Text,{children:g.content})})]})})}):(0,t.jsx)("div",{}),a&&a.href?(0,t.jsx)(tu,{...a,target:"_parent",children:(0,t.jsx)("span",{className:"sr-only",children:a.children})}):null,b?(0,t.jsx)(tp,{"data-component-id":"patchwork-badge",css:(null==b?void 0:b.position)==="left"?{left:0}:{right:0},children:(0,t.jsx)(e8.Badge,{...b})}):null,f?(0,t.jsx)(te,{...f}):null]})]})}),tn=(0,x.styled)("div",{width:"100%",height:"100%",position:"relative",display:"flex",flex:1,"&::before":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:"rgba(0,0,0,.2)",zIndex:1,transition:"background-color .2s linear"},"&:hover, &:focus":{"&::before":{backgroundColor:"rgba(196,18,48,.45)"}}}),to=(0,x.styled)("div",{width:"100%",height:"100%",position:"absolute",zIndex:2,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",boxSizing:"border-box",p:"0 15%"}),ta=(0,x.styled)("div",{position:"absolute",width:"100%",height:"100%",overflow:"hidden",transform:"translate3d(-50%,-50%,
10)",top:"50%",left:"50%"}),tr=(0,x.styled)(tl,{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",pointerEvents:"none"}),td=(0,x.styled)("video",{display:"block",width:"100%",height:"100%",objectFit:"cover"}),ts=(0,x.styled)("div",{width:"$10",height:"$10",m:"0 auto $2-5",position:"relative","&:before":{display:"block",content:"''",width:"100%",paddingTop:"100%"}}),tc=(0,x.styled)("div",{marginTop:"$4",zIndex:1}),tu=(0,x.styled)($.Link,{position:"absolute",top:0,right:0,bottom:0,left:0,margin:"0 auto",maxWidth:"1920px"}),tp=(0,x.styled)("div",{position:"absolute",top:0,zIndex:3,mt:"12px"}),tm=(0,x.styled)(v.Heading,{fontSize:"$xl",fontWeight:"$black",margin:"$0 $0 $4",textAlign:"center",variants:{isCtaDisabled:{true:{margin:"$0 $0 $2-5"}}}});(0,x.styled)(h.Text,{fontFamily:"$nunito",fontSize:"18px",color:"black",lineHeight:"1",textAlign:"center",marginBottom:"$2"});let tg=(0,x.styled)(h.Text,{fontFamily:"$nunito",fontWeight:"$medium",fontStyle:"$medium",fontSize:"$base",leadingTrim:"$none",lineHeight:"1",letterSpacing:"0",textAlign:"center",margin:"$0 $0 $4","@max_lg":{fontSize:"$sm"},"> p":{color:"inherit",margin:0,fontFamily:"inherit",fontSize:"inherit",lineHeight:"inherit"},code:{color:"inherit",margin:0,fontFamily:"inherit",fontSize:"inherit",lineHeight:"inherit"},variants:{isCtaDisabled:{true:{margin:"$0 $0 $2-5"}}}}),tv=m.default.forwardRef((e,l)=>{let{cards:i,text:n,title:o,isH2Title:a,id:r,dataId:d,enableMarginReduction:s,sequenceOrder:c,showImageOptimizationWarning:u,...p}=e;return(0,t.jsxs)(th,{ref:l,id:r,...p,size:"xl","data-id":d,enableMarginReduction:s,children:[o&&n?(0,t.jsx)(e3.ModuleInternalHeading,{title:o,text:n,isH2Title:a}):null,(0,t.jsx)(tf,{layout:null==i?void 0:i.length,size:"large",children:null==i?void 0:i.map((e,l)=>e?(0,t.jsx)(tx,{...e,priority:!(c>2),index:l,showImageOptimizationWarning:u},l):null)})]})}),th=(0,x.styled)(g.Container,{mb:x.Gutter.sm,"@md":{mb:x.Gutter.md}}),tx=(0,x.styled)(ti,{mt:"$1","&::after":{content:'""',paddingBottom:"75%"},"&:first-child":{mt:0},"@md":{mt:0,"&::after":{content:'""',paddingBottom:"65%"}}}),tb={["".concat(tx)]:{"@md":{flex:"0 0 calc(50% - .125rem)"},"@lg":{"&::after":{content:'""',paddingBottom:"40%"}},"@2xl":{"&::after":{content:'""',paddingBottom:312}}}},tf=(0,x.styled)("div",{width:"100%","@md":{display:"flex",justifyContent:"space-between"},variants:{layout:{1:{justifyContent:"center",...tb},2:{...tb},3:{},4:{flexWrap:"wrap",...tb,"@md":{"div:nth-child(1), div:nth-child(2)":{mb:"$1"}}}},size:{small:{},large:{}}},compoundVariants:[{size:"large",layout:"3",css:{"@md":{display:"flex",justifyContent:"space-between",flexWrap:"wrap",["".concat(tx)]:{flex:"0 0 calc(50% - .125rem)","&:first-child":{flex:"0 0 100%",mb:"$1","&::after":{content:'""',paddingBottom:"57%"}}}},"@lg":{display:"grid",gridTemplateColumns:"70% calc(30% - .25rem)",gridTemplateRows:"50% 50%",rowGap:"$1",height:"39vw",maxHeight:"39.0625rem",["".concat(tx)]:{gridColumnStart:2,"&:first-child":{gridColumnStart:1,gridRowEnd:"span 2",mb:0},"&:last-child":{gridRowStart:2}}}}},{size:"small",layout:"3",css:{["".concat(tx)]:{"@md":{flex:"0 0 calc(33.33% - .125rem)","&::after":{content:'""',paddingBottom:"100%"}},"@lg":{"&::after":{content:'""',paddingBottom:"75%"}},"@2xl":{"&::after":{content:'""',paddingBottom:312}}}}}]});var ty=e.i(933534);let tw=e=>{let{module:l,isH1Title:i=!1,badge:n,showImageOptimizationWarning:o}=e,{props:a}=tj(l,i,n,o)||{};return a?(0,t.jsx)(tv,{...a,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},tj=(e,t,l,i)=>{var o;let{trackEventAllCta:a}=(0,n.useTrackEventsAllCta)();return e?{props:{...e,id:e.id,title:e.title,isH2Title:e.sequenceOrder>0||!t||(null==e?void 0:e.isH2Title),text:e.text,cards:null==(o=e.cards)?void 0:o.map(t=>({...t,badge:(0,ty.badgeFieldsToBadgePropsV2)(t.badge),showImageOptimizationWarning:i,cta:{...t.cta,onClick:()=>{var l,i,n;return a({type:null==t||null==(l=t.cta)?void 0:l.type,text:null==t||null==(i=t.cta)?void 0:i.children,product:null,moduleType:null==e?void 0:e.__typename,pageType:"",action:"Button Click - ".concat(null==t||null==(n=t.cta)?void 0:n.children),title:null==e?void 0:e.title})}}})),showImageOptimizationWarning:i}}:null};e.s(["default",()=>tM],783717);var tC=e.i(846281);e.i(294167);var tk=e.i(348879);let tS=(0,m.forwardRef)((e,l)=>{var i,n,o;let{id:a,title:r,subtitle:d,children:s,cta:c,image:u,previewVideo:p,notes:g,backgroundColor:h,size:x,textColor:b,dataId:f,productData:y,enableMarginReduction:w,sequenceOrder:j,showImageOptimizationWarning:C}=e,[k,S]=(0,m.useState)(null==p?void 0:p.desktopAutoplay),[I,$]=(0,m.useState)(null==p?void 0:p.mobileAutoplay),_=(null==p?void 0:p.src)?"video":u?"image":null,P=(null==p?void 0:p.position)||(null==u?void 0:u.position),L=!!u&&!(null==p?void 0:p.src);return(0,t.jsxs)(tI,{id:a,"data-id":f,ref:l,size:x,enableMarginReduction:w,"data-component-id":"photo-container",children:[_?(0,t.jsxs)(tT,{"data-testid":"video"===_?"video-container":"image-container",position:P||"right",size:x,children:[L?(0,t.jsx)(T.Image,{...u,layout:"fill",objectFit:"cover",fetchPriority:j>2?"auto":"high",priority:!(j>2),"data-component-id":"photo-image",showWarning:null==C?void 0:C(u.src)}):null,(null==p?void 0:p.src)?(0,t.jsxs)(t.Fragment,{children:[(null==p?void 0:p.desktopAutoplay)||k?null:(0,t.jsx)(t_,{type:"button",isDesktopButton:!0,"aria-label":"play",onClick:e=>{e.stopPropagation(),e.preventDefault(),S(!0)},children:(0,t.jsx)(U.Icon,{icon:"Play",label:"",stroke:"white",width:"12px",height:"12px"})}),(null==p?void 0:p.mobileAutoplay)||I?null:(0,t.jsx)(t_,{type:"button",isDesktopButton:!1,"aria-label":"play",onClick:e=>{e.stopPropagation(),e.preventDefault(),$(!0)},children:(0,t.jsx)(U.Icon,{icon:"Play",label:"",stroke:"white",width:"12px",height:"12px"})}),(null==p?void 0:p.desktopAutoplay)||k?(0,t.jsx)(tP,{videoPreviewMode:!0,isMobile:!1,children:(0,t.jsx)(tC.VideoPlayer,{width:"100%",height:"100%",url:p.src,muted:!0,playing:!0,loop:!0,controls:null==p?void 0:p.desktopAutoplay,"data-component-id":"photo-preview-video-player"})}):null,(null==p?void 0:p.mobileAutoplay)||I?(0,t.jsx)(tP,{videoPreviewMode:!0,isMobile:!0,children:(0,t.jsx)(tC.VideoPlayer,{width:"100%",height:"100%",url:p.src,muted:!0,playing:!0,loop:!0,controls:!0,"data-component-id":"photo-preview-video-player"})}):null]}):null]}):null,(0,t.jsxs)(tE,{"data-testid":"text-container",position:null!=P?P:"right",size:x,children:[(0,t.jsxs)(tL,{css:{backgroundColor:h},size:x,children:[r&&(0,t.jsx)(v.Heading,{"data-component-id":"photo-title",as:"h2",css:{marginTop:0,color:b},children:r}),d?(0,t.jsx)(v.Heading,{"data-component-id":"photo-subtitle",as:"h3",css:{marginTop:0,color:b},children:d}):null,(0,t.jsx)(t$,{css:{color:b,"> div > p":{color:b},...c?{marginBottom:"$5"}:{}},"data-component-id":"photo-content",children:s}),(0,t.jsxs)(tD,{children:[(null==y||null==(i=y.price)?void 0:i.specialValue)&&(null==y||null==(n=y.price)?void 0:n.currentValue)!==(null==y||null==(o=y.price)?void 0:o.specialValue)?(0,t.jsx)(tR,{"data-component-id":"photo-offer-label",children:null==y?void 0:y.offerLabel}):null,(0,t.jsx)(tk.Price,{"data-component-id":"photo-price",...null==y?void 0:y.price})]}),null==y?void 0:y.linkCta,c]}),g?(0,t.jsx)(tA,{"data-component-id":"photo-note",position:null!=P?P:"left",children:g}):null]})]})}),tI=(0,x.styled)("div",{my:x.Gutter.sm,mx:"auto",backgroundColor:"$bkgWhite","@md":{my:x.Gutter.md},"@lg":{display:"flex",justifyContent:"space-between",alignItems:"flex-start"},variants:{size:{small:{maxWidth:"68rem"},big:{maxWidth:"68rem"},full:{maxWidth:"120rem",margin:"0 auto","@lg":{alignItems:"stretch"}}},enableMarginReduction:{true:{mt:"3px","@md":{mt:"4px"}}}}}),tT=(0,x.styled)("div",{position:"relative","&:before":{display:"block",content:"''",width:"100%",paddingTop:"75%"},"@md":{margin:"0 $6"},"@lg":{margin:0},variants:{position:{left:{"@lg":{order:1}},right:{"@lg":{order:2}}},size:{small:{"@lg":{width:"36%",zIndex:5,mt:"$10"}},big:{"@lg":{width:"55%"}},full:{"@md":{mx:0},"@lg":{width:"50%"}}}},defaultVariants:{position:"right",size:"big"}}),t$=(0,x.styled)("div"),t_=(0,x.styled)("button",{position:"absolute",zIndex:4,to
1p:"50%",left:"50%",transform:"translate(-50%,-50%)",border:0,background:"transparent",cursor:"pointer","&:before":{display:"block",content:"",position:"absolute",zIndex:1,top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:"3.5rem",height:"3.5rem",borderRadius:"50%",backgroundColor:"rgba(0,0,0,.6)"},svg:{zIndex:2,position:"absolute",top:"calc(50% - 6px)",left:"calc(50% - 6px)"},variants:{isDesktopButton:{true:{display:"none","@lg":{display:"block"}},false:{display:"block","@lg":{display:"none"}}}}}),tP=(0,x.styled)("div",{position:"absolute",zIndex:3,top:"0",left:"0",width:"100%",height:"100%",opacity:0,transition:"opacity 1s linear",cursor:"pointer",video:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",objectFit:"cover"},defaultVariants:{videoPreviewMode:!1},variants:{videoPreviewMode:{false:{opacity:0},true:{opacity:1}},isMobile:{true:{display:"block","@lg":{display:"none"}},false:{display:"none","@lg":{display:"block"}}}}}),tL=(0,x.styled)("div",{display:"flex",flexDirection:"column",backgroundColor:"$bkgWhite",justifyContent:"flex-start",alignItems:"flex-start",margin:"-2.5rem auto 0",zIndex:2,padding:"$7",boxShadow:"0 0.1875rem 1.25rem rgb(0 0 0 / 12%)","@md":{padding:"$10",margin:"-65px $20 0"},"@lg":{margin:0},variants:{size:{small:{},big:{},full:{m:0,p:"1.125rem $5",height:"100%",justifyContent:"center",boxShadow:"none","@md":{p:"$10"},"@lg":{px:"$20"},"@2xl":{px:"$25"}}}}}),tA=(0,x.styled)(h.Text,{fontSize:"$sm",fontStyle:"italic",color:"$bkgSilverGray",lineHeight:"$tight",margin:0,paddingTop:"$4",paddingBottom:x.Gutter.sm,"@md":{margin:"0 $20"},"@lg":{margin:0},variants:{position:{left:{"@lg":{paddingLeft:"4.375rem"}},right:{"@lg":{paddingRight:"4.375rem"}}}},defaultVariants:{position:"right"}}),tE=(0,x.styled)("div",{display:"flex",flexDirection:"column",flexWrap:"wrap",justifyContent:"flex-start",margin:"0 $2-5","@lg":{margin:"$10 0 0"},variants:{position:{left:{"@lg":{marginLeft:"-50px",order:2}},right:{"@lg":{marginRight:"-50px",order:1}}},size:{small:{"@lg":{width:"68%",mt:0}},big:{"@lg":{width:"50%",mt:"$10"}},full:{margin:0,"@lg":{width:"50%"}}}},compoundVariants:[{size:"small",position:"left",css:{["".concat(tL)]:{zIndex:10},"@lg":{marginLeft:"-40px",["".concat(tL)]:{paddingLeft:"$20",zIndex:2},["".concat(tA)]:{paddingLeft:"$20"}}}},{size:"small",position:"right",css:{"@lg":{marginRight:"-40px",["".concat(tL)]:{paddingRight:"$20"},["".concat(tA)]:{paddingRight:"$20"}}}}],defaultVariants:{position:"right",size:"big"}}),tD=(0,x.styled)("div",{mt:"$4",mb:"$3",display:"flex",alignItems:"center","> div":{fontSize:"$xl"}}),tR=(0,x.styled)("span",{display:"block",mr:"$2"}),tM=e=>{let{module:l,locale:i,showImageOptimizationWarning:n}=e,{props:o}=tO(l,i,n)||{};return o?(0,t.jsx)(tS,{...o,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},tO=(e,l,o)=>{var a,r,d,s,c,u,p,m,g,v;let{data:x}=(0,i.useGetTranslations)({locale:l}),{trackEventAllCta:b}=(0,n.useTrackEventsAllCta)();return e&&(null==e?void 0:e.title)?{props:{...e,subtitle:e.subTitle,notes:e.note,children:(0,t.jsx)(h.Text,{children:e.children}),previewVideo:e.previewVideo?{src:e.previewVideo,position:null==(a=e.imagePosition)?void 0:a.toLowerCase(),mobileAutoplay:null!=(g=null==e?void 0:e.mobileAutoplay)&&g,desktopAutoplay:null!=(v=null==e?void 0:e.desktopAutoplay)&&v,title:e.videoTitle}:null,image:e.image?{src:e.image.src,alt:e.image.alt,position:null==(r=e.imagePosition)?void 0:r.toLowerCase()}:null,size:null==(d=e.size)?void 0:d.toLowerCase(),cta:e.cta?(0,t.jsx)(I.Button,{...e.cta,onClickEvent:()=>{var t,l,i;return b({type:null==e||null==(t=e.cta)?void 0:t.type,text:null==(l=e.cta)?void 0:l.children,product:null,moduleType:null==e?void 0:e.__typename,pageType:"",action:"Button Click - ".concat(null==(i=e.cta)?void 0:i.children),title:null==e?void 0:e.title})}}):null,productData:{price:null==e||null==(s=e.productCardOnBanner)?void 0:s.price,offerLabel:null==e?void 0:e.offerLabel,linkCta:(null==e||null==(u=e.productCardOnBanner)||null==(c=u.detailPageLink)?void 0:c.href)?(0,t.jsx)(I.Button,{active:!0,href:null==e||null==(m=e.productCardOnBanner)||null==(p=m.detailPageLink)?void 0:p.href,target:"_parent",size:"md",children:null==x?void 0:x.ctaGoToDetailPage}):null},showImageOptimizationWarning:o}}:null};e.s(["default",()=>tW],385892);let tB=m.forwardRef((e,l)=>{let{id:i,title:n,text:o,backgroundColor:a,color:r="$copyWhite",images:d,cta:s,dataId:c,enableMarginReduction:u,sequenceOrder:p}=e,m=!n&&!o&&!s;return(0,t.jsx)(tz,{id:i,ref:l,"data-id":c,enableMarginReduction:u,children:(0,t.jsxs)(tV,{bannerIsHide:m,children:[m?null:(0,t.jsxs)(tG,{css:{backgroundColor:a,color:r},"data-testid":"text-container",children:[n?(0,t.jsx)(v.Heading,{heading:"h1",as:"h2",css:{margin:0},children:n}):null,o?(0,t.jsx)(h.Text,{css:{color:r,margin:"$4 auto $5"},children:o}
1):null,s?(0,t.jsx)(I.Button,{...s,target:"_parent"}):null]}),d.map((e,l)=>e?(0,t.jsxs)(tN,{"data-testid":"photo-item",children:[e.href?(0,t.jsx)(tF,{href:e.href,tabIndex:-1,target:"_parent"}):null,(0,t.jsx)(T.Image,{src:e.src,alt:e.alt,width:270,height:270,layout:"responsive",fetchPriority:p>2?"auto":"high",priority:!(p>2)})]},l):null)]})})}),tz=(0,x.styled)(g.Container,{my:x.Gutter.sm,"@md":{my:x.Gutter.md}}),tN=(0,x.styled)("div",{display:"block",flex:"1 0 50%",position:"relative",div:{display:"block",height:"100%",width:"100%"},"@md":{flex:"1 0 33.3%"},"@lg":{flex:"1 0 25%"}}),tF=(0,x.styled)($.Link,{opacity:0,position:"absolute",top:0,right:0,bottom:0,left:0,zIndex:1}),tV=(0,x.styled)("div",{display:"flex",flexWrap:"wrap",alignItems:"stretch",width:"100vw",maxWidth:"68rem",height:"100%",variants:{bannerIsHide:{true:{["".concat(tN)]:{display:"none","&:nth-child(1), &:nth-child(3), &:nth-child(7), &:nth-child(8)":{display:"block"},"@md":{"&:nth-child(4), &:nth-child(5)":{display:"block"}},"@lg":{"&:nth-child(2), &:nth-child(6)":{display:"block"}}}},false:{["".concat(tN)]:{display:"none","&:nth-child(2), &:nth-child(4)":{display:"block"},"@md":{"&:nth-child(5), &:nth-child(6)":{display:"block"}},"@lg":{"&:nth-child(3), &:nth-child(7)":{display:"block"}}}}}},compoundVariants:[],defaultVariants:{bannerIsHide:!1}}),tG=(0,x.styled)("div",{display:"flex",flex:"1 0 100%",padding:"$8 $5",justifyContent:"center",alignItems:"center",flexDirection:"column",textAlign:"center",color:"$copyWhite",boxSizing:"border-box","@md":{flex:"1 0 66.6%",padding:"$10"},"@lg":{flex:"1 0 50%"}}),tW=e=>{let{module:l}=e,{props:i}=tH(l)||{};return i?(0,t.jsx)(tB,{...i,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},tH=e=>{var t;let{trackEventAllCta:l}=(0,n.useTrackEventsAllCta)();return e?{props:{...e,id:e.entryId,backgroundColor:e.backgroundColor,color:e.color,images:(null==(t=e.images)?void 0:t.map(t=>{var l;return t?{src:t.src,alt:t.alt,href:null==(l=e.cta)?void 0:l.href}:null}))||[],cta:e.cta?{...e.cta,onClickEvent:()=>{var t,i,n;return l({type:null==e||null==(t=e.cta)?void 0:t.type,text:null==(i=e.cta)?void 0:i.children,product:null,moduleType:null==e?void 0:e.__typename,pageType:"",action:"Button Click - ".concat(null==(n=e.cta)?void 0:n.children),title:null==e?void 0:e.title})}}:null}}:null};e.s(["Controller",()=>tq.default],232976);var tq=e.i(706150)},755346,e=>{"use strict";e.s(["useElementScrollPosition",()=>n]);var t=e.i(191788);e.i(20479);var l=e.i(523350),i=e.i(279640);let n=e=>{let[n,o]=(0,i.useRafState)({x:0,y:0});return(0,t.useEffect)(()=>{let t=()=>{if(e&&e.current){let t=e.current.getBoundingClientRect();o({x:t.left,y:t.top})}};return e&&e.current&&(0,l.on)(window,"scroll",t,{capture:!1,passive:!0}),()=>{e&&e.current&&(0,l.off)(window,"scroll",t)}},[e]),n}},12604,478524,e=>{"use strict";e.s(["DataAccordion",()=>f],12604);var t=e.i(391398);e.i(814598);var l=e.i(756550),i=e.i(999120);e.i(543336);var n=e.i(345970);e.i(810615);var o=e.i(436595),a=e.i(24297);e.i(881804);var r=e.i(802430),d=e.i(232976),s=e.i(885431);e.i(354526);var c=e.i(309015);e.i(187564);var u=e.i(115143);e.s(["SwiperSlideData",()=>g],478524);var p=e.i(68633);e.i(785198);var m=e.i(904154);let g=e=>{var l,i;let{product:n,hasSections:a,comparison:r}=e;return(0,t.jsx)(v,{children:(0,t.jsx)("ul",{style:{padding:0,margin:0,listStyleType:"none"},"data-component-id":"comparison-data-swiper-slide",children:a?(0,t.jsxs)(t.Fragment,{children:[null==r?void 0:r.map((e,l)=>(0,t.jsxs)(h,{children:[e.isColor&&e.colors&&e.colors.length>0?(0,t.jsx)(b,{wrap:"wrap",gap:"1",align:"center","data-component-id":"item-slider-colors",children:(0,t.jsxs)(t.Fragment,{children:[e.colors.slice(0,5).map((e,l)=>(0,t.jsx)(m.ColorCircle,{color:e,size:"sm","data-component-id":"item-slider-color"},l)),e.colors.length>5&&(0,t.jsx)(o.Icon,{label:"",icon:"Plus"})]})}):null,(0,t.jsx)(x,{"data-component-id":"item-slider-attribute",children:e.value})]},"".concat(l,"-").concat(e.key))),null==n||null==(l=n.comparison)?void 0:l.map((e,l)=>(0,t.jsx)(h,{children:(0,t.jsx)(x,{"data-component-id":"slider-attribute",children:e.value})},"".concat(l,"-").concat(e.key)))]}):null==n||null==(i=n.comparison)?void 0:i.map((e,l)=>(0,t.jsxs)(h,{children:[e.isColor&&e.colors&&e.colors.length>1?(0,t.jsx)(b,{wrap:"wrap",gap:"1",align:"center","data-component-id":"item-slider-colors",children:(0,t.jsxs)(t.Fragment,{children:[e.colors.slice(0,5).map((e,l)=>(0,t.jsx)(m.ColorCircle,{color:e,size:"sm","data-component-id":"item-slider-color"},l)),e.colors.length>5&&(0,t.jsx)(o.Icon,{label:"",icon:"Plus"})]})}):null,(0,t.jsx)(x,{"data-component-id":"slider-attribute",children:e.value})]},"".concat(l,"-").concat(e.key)))})})};g.displayName="SwiperSlide";let v=(0,n.styled)(a.SwiperSlide,{background:"$bkgWhite",textAlign:"center"}),h=(0,n.styled)("li",{marginTop:80,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",rowGap:"$1-5",px:"$1-25",wordWrap:"break-word",textOverflow:"ellipsis",wordBreak:"break-word",fontSize:"$sm",minHeight:"80px",maxHeight:"80px",boxSizing:"border-box",borderTop:"1px solid $defaultBorder","&:last-child":{borderBottom:"1px solid $defaultBorder"},"@md":{marginTop:0}}),x=(0,n.styled)(c.Text,{display:"inline",fontSize:"$2xs",fontWeight:"$black","& > *":{m:0}}),b=(0,n.styled)(p.Flex,{mt:"$3-5"}),f=e=>{let{swiperHeadingRef:n,products:a,section:c,hasSections:p,sectionIndex:m,onSwiperInit:v,onSwiperDestroy:h,comparison:x,allowTouchMove:b}=e;return(0,t.jsx)(l.Accordion,{type:"single",defaultValue:m<=0?"".concat(c.label,"-").concat(m):"",collapsible:!0,style:{marginTop:50*(0===m)},children:(0,t.jsxs)(y,{value:"".concat(c.label,"-").concat(m),"data-component-id":"data-accordion-item",children:[(0,t.jsxs)(w,{children:[(0,t.jsx)(j,{"data-component-id":"data-accordion-label",children:c.label}),(0,t.jsx)(o.Icon,{label:"",icon:"ArrowDownBlack"})]}),(0,t.jsx)(i.AccordionContent,{children:(0,t.jsxs)(C,{children:[(0,t.jsx)(T,{children:x[0].map((e,l)=>(0,t.jsxs)($,{children:[e.icon?(0,t.jsx)(P,{children:(0,t.jsx)(u.Image,{layout:"fill",objectFit:"contain",src:e.icon,"data-component-id":"data-accordion-item-image"})}):null,(0,t.jsx)(_,{"data-component-id":"data-accordion-item-label",children:e.label})]},l))}),(0,t.jsx)(k,{children:(0,t.jsx)(S,{"data-component-id":"data-accordion-item-slider",children:(0,t.jsx)(I,{modules:[s.Keyboard,r.A11y,d.Controller],keyboard:!0,grabCursor:!0,resistance:!0,resistanceRatio:0,allowTouchMove:b,breakpoints:{320:{slidesPerView:2},768:{slidesPerView:3},1024:{slidesPerView:a.length}},onSwiper:e=>v(e,m),onDestroy:()=>h(m),controller:{control:n.current}
1,"data-component-id":"comparison-data-accordion-swiper",children:x.map((e,l)=>(0,t.jsx)(g,{hasSections:p,comparison:e,index:l,"data-component-id":"comparison-data-accordion-swiper-slide"},l))})})})]})})]})})},y=(0,n.styled)(i.AccordionItem,{'&[data-state="closed"]':{borderBottom:"1px solid $defaultBorder"}}),w=(0,n.styled)(i.AccordionTrigger,{width:"100%",height:80,display:"flex",justifyContent:"space-between",alignItems:"center",fontWeight:"$black",boxSizing:"border-box",'&[data-state="open"]':{svg:{transform:"rotate(180deg) !important"}}}),j=(0,n.styled)(c.Text,{fontSize:"20px"}),C=(0,n.styled)("div",{position:"relative","@md":{paddingLeft:250}}),k=(0,n.styled)("div",{margin:"0 auto",position:"relative"}),S=(0,n.styled)("div",{position:"relative"}),I=(0,n.styled)(a.Swiper,{width:"100%"}),T=(0,n.styled)("ul",{position:"absolute",zIndex:8,width:"100%",pointerEvents:"none","@md":{position:"absolute",top:0,left:0,width:250}}),$=(0,n.styled)("div",{marginBottom:80,position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",boxSizing:"border-box",borderTop:"1px solid $defaultBorder",background:"#fbfaf9",minHeight:"80px",maxHeight:"80px",paddingInline:"$1","&:last-child":{"@md":{borderBottom:"1px solid $defaultBorder"}},"@md":{marginBottom:0}}),_=(0,n.styled)(c.Text,{wordWrap:"break-word",textOverflow:"ellipsis",wordBreak:"break-word",fontSize:"$2xs",fontWeight:"$black",textAlign:"center",paddingInline:"$1",m:0}),P=(0,n.styled)("div",{position:"relative",height:45,width:45})},109466,909460,727460,e=>{"use strict";e.s(["AddToCartButton",()=>el,"BackInStock",()=>ei,"CheckIcon",()=>eh,"PlusIcon",()=>ex,"ProductCard",()=>z,"ProductCardGalleryWrapper",()=>eg,"Rating",()=>Z,"SwiperDialogNavigationArrow",()=>en,"SwiperMain",()=>N],109466);var t=e.i(391398),l=e.i(191788),i=e.i(349577);e.i(847413);var n=e.i(317028);e.i(406095);var o=e.i(376628);e.s([],727460),e.s(["InstallmentBadge",()=>r,"shouldShowInstallmentBadge",()=>d],909460),e.i(543336);var a=e.i(345970);let r=e=>{let{label:l,...i}=e;return(0,t.jsx)(s,{...i,children:l})},d=(e,t)=>!!e&&!!t,s=(0,a.styled)("span",{display:"inline-flex",alignItems:"center",flexShrink:0,maxWidth:"100%",borderRadius:"999px",backgroundColor:a.CHECKOUT_CTA_COLOR,color:"$copyWhite",fontWeight:"$bold",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",variants:{size:{default:{padding:"4px 10px",fontSize:"12px"},small:{padding:"2px 8px",fontSize:"10px"}}},defaultVariants:{size:"default"}});e.i(810615);var c=e.i(436595);e.i(187564);var u=e.i(115143);e.i(388008);var p=e.i(879045);e.i(354526);var m=e.i(309015),g=e.i(464882);e.i(785198);var v=e.i(904154);e.i(294167);var h=e.i(348879),x=e.i(755323),b=e.i(848456),f=e.i(68633),y=e.i(612809),w=e.i(770640),j=e.i(166146);e.i(881804);var C=e.i(802430),k=e.i(147749),S=e.i(24297),I=e.i(230569),T=e.i(572799),$=e.i(558021),_=e.i(228638);e.i(174231);var P=e.i(555318);e.i(669934);var L=e.i(136082);e.i(560976);var A=e.i(932788);e.i(261354);var E=e.i(189163);let D=l.forwardRef((e,i)=>{let{title:n,contentTitle:a,text:r,selectedColorText:d,inputFieldTitle:s,inputFieldLabel:u,cta:g,footerNote:h,titleSubmitted:x,textSubmitted:b,selectedColor:f,ctaSubmit:y,ctaAfterSubmit:w,ctaLabel:j,handleSubmit:C,productOverviewCtaId:k,isCart:S,isLoggedInEmail:I,emailRegex:T,id:D,isPlp:B,ctaCss:z,ctaSize:N,emailRequiredMessage:F,emailInvalidMessage:V,...G}=e,{control:W,handleSubmit:H,setValue:q,resetField:U}=(0,$.useForm)({mode:"onBlur"}),[K,Y]=(0,l.useState)(!1),[Q,Z]=(0,l.useState)(!1),X=H(async e=>{try{Z(!0);let t=await C(e.email);Z(!1),(null==t?void 0:t.success)&&Y(!0)}catch(e){}}),J=null!=D?D:"email-when-available";return(0,t.jsx)(_.Container,{ref:i,...G,css:{zIndex:5},children:(0,t.jsxs)(P.Dialog,{id:J,"data-component-id":"back-in-stock-dialog",onOpenChange:()=>(()=>{let e=document.getElementById("".concat(J));(null==e?void 0:e.getAttribute("data-state"))==="closed"?U("email"):I&&q("email",I,{shouldTouch:!0})})(),children:[(0,t.jsx)(P.Dialog.Trigger,{asChild:!0,children:B?(0,t.jsx)(o.Button,{id:k,size:null!=N?N:"md",css:{...z},...g}):(0,t.jsx)(p.Link,{children:j,css:{textAlign:"left",ml:"$2",fontSize:"$3xs","@md":{fontSize:"$2xs"}},"data-component-id":"back-in-stock-trigger",leftIcon:(0,t.jsx)(c.Icon,{icon:"Email3",label:"",width:13,height:13})})}),(0,t.jsxs)(P.Dialog.Content,{title:K?x:n,size:"md",overlay:!0,"data-component-id":"email-when-available-dialog",children:[Q?(0,t.jsx)(E.Loader,{}):null,K?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.Text,{css:{color:"$bkgSilverGray",pt:"$2",pb:"$3"},"data-component-id":"back-in-stock-submitted",children:b}),(0,t.jsx)(P.Dialog.Close,{asChild:!0,children:w?(0,t.jsx)(o.Button,{css:{width:"$full",alignItems:"center",my:"$4"},...w,"data-component-id":"back-in-stock-close-button"}):null})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(M,{onSubmit:X,"data-component-id":"back-in-stock-form",children:[(0,t.jsx)(A.Heading,{heading:"h1",css:{m:"0"},"data-component-id":"back-in-stock-title",children:a}),(0,t.jsx)(m.Text,{css:{color:"$bkgSilverGray",pt:"$2",pb:"$6"},"data-component-id":"back-in-stock-text",children:r}),f?(0,t.jsxs)(R,{"data-component-id":"back-in-stock-color-selected",children:[(0,t.jsx)(m.Text,{css:{pr:"$3"},children:d}),(0,t.jsx)(v.ColorCircle,{color:f,size:"sm"}),(0,t.jsx)(m.Text,{css:{fontWeight:"$black",pl:"$3"},children:null==f?void 0:f.label})]}):null,(0,t.jsx)(m.Text,{css:{fontWeight:"$black",fontSize:"$xl",pb:"$4"},"data-component-id":"back-in-stock-field-label",children:s}),(0,t.jsx)(L.InputField,{control:W,label:u,name:"email",rules:{required:F||"Please enter email address",pattern:{value:T,message:V||"Please enter a valid email address"}},css:{mb:0},"data-component-id":"back-in-stock-field"}),y?(0,t.jsx)(o.Button,{type:"submit",css:{width:"$full",alignItems:"center",mt:"$8",mb:"$2"},...y,"data-component-id":"back-in-stock-submit-button"}):null]}),(0,t.jsx)(O,{css:{fontSize:"$md"},"data-component-id":"back-in-stock-footer",children:h})]})]})]})})}),R=(0,a.styled)("div",{display:"flex",flexDirection:"row",pb:"$3"}),M=(0,a.styled)("form",{width:"$full"}
1),O=(0,a.styled)(m.Text,{"> a":{display:"inline-block !important",fontSize:"$md !important"}});var B=e.i(784516);let z=(0,l.forwardRef)((e,s)=>{var h,$,_,P,L,A,E,D,R,M,O,z,U,ev,ef,ey,ew,ej,eC,ek,eS,eI,eT,e$,e_,eP,eL,eA,eE,eD,eR,eM,eO,eB,ez,eN,eF,eV,eG;let{layout:eW="grid",discount:eH,badges:eq,commercialCode:eU,twelveNc:eK,name:eY,description:eQ,price:eZ,installmentLabel:eX,isInstallmentsEnabled:eJ,colors:e0,addToCartCta:e1,energyInfo:e5,type:e2,cta:e3,isKit:e6,isEcommerceEnabled:e8,isPLP:e4,isColorVisiblePLP:e9,toggleColorPLP:e7,isMobileGridColorOpen:te,toggleDisplayMobile:tt,skuId:tl,addToCartPopup:ti,coloursAvailableLabel:tn,imgPriority:to,images:ta,hoverImage:tr,isGalleryEnable:td,discontinued:ts,isAddedToCart:tc,enableRatingSeo:tu=!0,stockAlarm:tp,isProductRelatedPriceLayout:tm,actionType:tg,bvProductId:tv,emailWhenAvailablePopup:th,seller:tx,soldBySeller:tb}=e,[tf,{on:ty,off:tw}]=(0,g.useBoolean)(),[tj,{on:tC,off:tk}]=(0,g.useBoolean)(),[tS,{toggle:tI}]=(0,g.useBoolean)(!1),[tT,{on:t$,off:t_}]=(0,g.useBoolean)(),tP=null==eq?void 0:eq[0],tL=!!(null==eH?void 0:eH.label),tA=(!!(null==eH?void 0:eH.highlightedLabel)||!!(null==eH?void 0:eH.label))&&"SDA"===e2,tE=(null==tP||null==(h=tP.position)?void 0:h.toLowerCase())==="left",tD=tA&&tE,tR=tD?tP:void 0,tM=tD?void 0:tP,tO=tD?{boxShadow:"var(--shadows-cta)"}:{};(0,w.useEventListener)("message",e=>{var t;(null==e||null==(t=e.data)?void 0:t.type)===j.POST_MESSAGES.PLP_COLOR_CHANGE_ON&&tC()},window),(0,w.useEventListener)("message",e=>{var t;(null==e||null==(t=e.data)?void 0:t.type)===j.POST_MESSAGES.PLP_COLOR_CHANGE_OFF&&tk()},window);let tB=(0,I.useIsNAR)(),tz=d(eJ,eX),tN=!!eZ&&("number"==typeof eZ.currentValue&&"number"==typeof eZ.specialValue&&eZ.currentValue>eZ.specialValue||!!eZ.special&&eZ.special!==eZ.current),tF=!!tm&&tN&&!!(null==eZ?void 0:eZ.savingPrice),tV="backInStockNotification"===tg&&!!th,tG={name:null==ti||null==($=ti.product)?void 0:$.name,image:null==ti||null==(_=ti.product)?void 0:_.image,price:null==ti||null==(P=ti.product)?void 0:P.price,skuId:null==ti||null==(L=ti.product)?void 0:L.skuId,additionalInfoId:null==ti||null==(A=ti.product)?void 0:A.additionalInfoId,twelveNc:null!=(eV=null==ti||null==(D=ti.product)||null==(E=D.color)?void 0:E.twelveNc)?eV:eK,color:{image:null==ti||null==(M=ti.product)||null==(R=M.color)?void 0:R.image,label:null==ti||null==(z=ti.product)||null==(O=z.color)?void 0:O.label,twelveNc:null==ti||null==(ev=ti.product)||null==(U=ev.color)?void 0:U.twelveNc,offerings:null==ti||null==(ey=ti.product)||null==(ef=ey.color)?void 0:ef.offerings},hasRelated:null==ti||null==(ew=ti.relatedProductsProps)?void 0:ew.hasRelated,relatedProducts:null==ti||null==(ej=ti.relatedProductsProps)?void 0:ej.relatedProducts,locale:null==ti||null==(eC=ti.relatedProductsProps)?void 0:eC.locale,commercialCode:null==ti||null==(ek=ti.product)?void 0:ek.commercialCode,category:null==ti||null==(eS=ti.product)?void 0:eS.category,type:null==ti||null==(eI=ti.product)?void 0:eI.type,cordless:{hasBattery:null==ti||null==(e$=ti.product)||null==(eT=e$.cordless)?void 0:eT.hasBattery,isCordless:null==ti||null==(eP=ti.product)||null==(e_=eP.cordless)?void 0:e_.isCordless},warrantyPlanTextTooltip:null==ti?void 0:ti.warrantyPlanTextTooltip},tW=(0,l.useId)(),tH="".concat(tW,"_next"),tq="".concat(tW,"_prev");return(0,t.jsxs)(er,{ref:s,layout:eW,onMouseEnter:ty,onMouseLeave:()=>{tw(),tk(),t_(),window.postMessage({type:j.POST_MESSAGES.PLP_COLOR_CHANGE_OFF},"*")},isHovered:tf,"data-sku-id":tl,"data-popup-content":JSON.stringify(tG),"data-stock-info":tp,children:[(0,t.jsxs)(F,{children:[(0,t.jsxs)(G,{children:[tA?(0,t.jsxs)(y.Display,{children:[(0,t.jsx)(y.Display.SM,{children:(0,t.jsx)(W,{children:tA?(0,t.jsx)(q,{isMobileGrid:"grid"===eW,highlightedLabel:null==eH?void 0:eH.highlightedLabel,label:null==eH?void 0:eH.label,...eH,color:tL?a.CopyColors.copyRed:a.CopyColors.copyWhite,backgroundColor:tL?a.BackgroundColors.bkgWhite:void 0,borderColor:tL?a.CopyColors.copyRed:void 0,bordered:tL,position:"left",css:{...(null==eH?void 0:eH.css)||{},height:"1.5rem",span:{width:"fit-content",paddingInline:"0.5rem",whiteSpace:"nowrap"}},"data-component-id":"plp-discount-badge"}):null})}),(0,t.jsx)(y.Display.MD,{children:(0,t.jsxs)(W,{children:[tA?(0,t.jsx)(q,{highlightedLabel:null==eH?void 0:eH.highlightedLabel,label:null==eH?void 0:eH.label,...eH,color:tL?a.CopyColors.copyRed:a.CopyColors.copyWhite,backgroundColor:tL?a.Backgroun
1dColors.bkgWhite:a.BackgroundColors.bkgRed,borderColor:tL?a.CopyColors.copyRed:void 0,bordered:tL,position:"left",css:tO,"data-component-id":"plp-discount-badge"}):null,tD?(0,t.jsx)(q,{highlightedLabel:void 0,label:null==tR?void 0:tR.label,color:tD?a.CopyColors.copyRed:a.CopyColors.copyWhite,backgroundColor:tD?a.BackgroundColors.bkgWhite:a.BackgroundColors.bkgRed,bordered:!1,borderColor:void 0,position:tD?"left":"right",css:{...tO,...tD?{position:"relative",zIndex:-1,marginLeft:tA?"-20px":"0",paddingLeft:"25px"}:{borderRadius:"30px"}},"data-component-id":"plp-product-badge"}):null]})})]}):null,e5&&"MDA"===e2?(0,t.jsx)(ed,{"data-component-id":"plp-energy-badge",children:(0,t.jsxs)(es,{...e5.link,target:"_blank","data-component-id":"plp-energy-badge-link",children:[e5.image?(0,t.jsx)(u.Image,{alt:e5.label,...e5.image,layout:"fixed",width:"35",height:"35","data-component-id":"plp-energy-badge-image"}):null,(0,t.jsx)(ec,{children:e5.label})]})}):null,tM?(0,t.jsx)(H,{css:"left"===tM.position?{marginLeft:0}:void 0,children:(0,t.jsxs)(y.Display,{children:[(0,t.jsx)(y.Display.SM,{children:(0,t.jsx)(n.Badge,{label:tA||("grid"!==eW||(null==eZ?void 0:eZ.specialValue))&&"grid"===eW?void 0:tM.label,icon:tM.icon,position:tM.position,bordered:null!=tM&&!!tM.borderColor,color:tM.color,borderColor:null==tM?void 0:tM.borderColor,backgroundColor:tM.backgroundColor,size:"lg",css:{...(null==(eL=tM.label)?void 0:eL.toLowerCase().includes("illy"))&&"right"===tM.position?{borderRadius:"0px"}:{}},"data-component-id":"plp-product-badge"})}),(0,t.jsx)(y.Display.MD,{children:(0,t.jsx)(n.Badge,{label:tM.label,icon:tM.icon,position:tM.position,bordered:null!=tM&&!!tM.borderColor,color:tM.color,borderColor:null==tM?void 0:tM.borderColor,backgroundColor:tM.backgroundColor,size:"lg",css:{...(null==(eA=tM.label)?void 0:eA.toLowerCase().includes("illy"))&&"right"===tM.position?{borderRadius:"0px"}:{}},"data-component-id":"plp-product-badge"})})]})}):null]}),td&&(0,t.jsxs)(eg,{children:[(0,t.jsx)(en,{direction:"right","data-navigation":tH+"_dialog","data-component-id":"plp-product-image-slider-arrow",onMouseEnter:t$,onMouseLeave:t_,children:(0,t.jsx)(c.Icon,{icon:"Caret",label:"",css:{width:"22px !important"}})}),(0,t.jsx)(en,{direction:"left","data-navigation":tq+"_dialog","data-component-id":"plp-product-image-slider-arrow",onMouseEnter:t$,onMouseLeave:t_,children:(0,t.jsx)(c.Icon,{icon:"Caret",label:"",css:{width:"22px !important"}})}),(0,t.jsx)(N,{modules:[k.Navigation,C.A11y],slidesPerView:"auto",navigation:{nextEl:'[data-navigation="'.concat(tH,'_dialog"]'),prevEl:'[data-navigation="'.concat(tq,'_dialog"]')},"data-component-id":"plp-product-image-slider",children:null==ta?void 0:ta.map((e,l)=>{var i;return(0,t.jsx)(S.SwiperSlide,{"data-component-id":"product-card-swiper-slide",children:(0,t.jsx)(V,{children:(0,t.jsx)(u.Image,{src:null!=(i=e.src)?i:"",alt:e.alt,layout:"fill",objectFit:"contain",priority:to,dimension:T.IMAGE_DIMENSIONS.CARD,"data-component-id":"plp-product-image"})})},"".concat(e.src,"-").concat(l))})},tl),(null==tr?void 0:tr.src)?(0,t.jsx)(eb,{isHovered:tf&&!tj&&!tT,children:(0,t.jsx)(u.Image,{src:tr.src,alt:tr.alt,layout:"fill",objectFit:"contain",priority:to,dimension:T.IMAGE_DIMENSIONS.CARD,"data-component-id":"plp-product-hover-image"})}):null]}),!td&&(0,t.jsxs)(t.Fragment,{children:[(null==ta?void 0:ta[0])?(0,t.jsx)(V,{css:tj?{}:(null==ta||null==(eE=ta[1])?void 0:eE.src)&&tf?{display:"none"}:{},children:(0,t.jsx)(u.Image,{src:null==ta||null==(eD=ta[0])?void 0:eD.src,alt:null==ta||null==(eR=ta[0])?void 0:eR.alt,layout:"fill",objectFit:"contain",priority:to,dimension:T.IMAGE_DIMENSIONS.CARD,"data-component-id":"plp-product-image"})}):null,(null==ta||null==(eM=ta[1])?void 0:eM.src)?(0,t.jsx)(V,{css:tj?{display:"none"}:tf?{}:{display:"none"},children:(0,t.jsx)(u.Image,{src:null==ta||null==(eO=ta[1])?void 0:eO.src,alt:null==ta||null==(eB=ta[1])?void 0:eB.alt,layout:"fill",objectFit:"contain",priority:to,dimension:T.IMAGE_DIMENSIONS.CARD,"data-component-id":"plp-product-image"})}):null]})]}),(0,t.jsxs)(Q,{spacing:"SDA"===e2,isMobileGridColorOpen:te,children:[tx&&(null==tb||null==(ez=tb.config)?void 0:ez.plpEnabled)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(em,{children:(0,t.jsx)(B.ProductSoldBySellerLabel,{seller:tx,soldBySellerLabel:tb.label,soldBySellerUrl:(null==(eN=tb.sellerPageUrls)?void 0:eN[null==tx?void 0:tx.id])||"",backgroundColor:"list"===eW?a.Backgroun
1dColors.bkgWhiteSmoke:a.BackgroundColors.bkgWhite,zIndex:99})}),(0,t.jsx)(ep,{children:(0,t.jsx)(B.ProductSoldBySellerLabel,{seller:tx,soldBySellerLabel:tb.label,soldBySellerUrl:(null==(eF=tb.sellerPageUrls)?void 0:eF[null==tx?void 0:tx.id])||"",backgroundColor:a.BackgroundColors.bkgWhite,onlySellerName:"grid"===eW,zIndex:99})})]}),te?(0,t.jsxs)(f.Flex,{align:"center",justify:"between",css:{mx:"$1-5"},"data-component-id":"plp-product-colors",children:[(0,t.jsx)(m.Text,{css:{fontSize:"$2xs"},children:tn}),(0,t.jsx)(c.Icon,{label:"",icon:"Close",stroke:"black",width:13,height:13,onClick:e4?()=>{e7&&e7(),tt&&tt()}:tI,css:{zIndex:5}})]}):null,(0,t.jsxs)(K,{isMobileGridColorOpen:te,children:[te?null:(0,t.jsx)(b.ProductTitle,{css:{display:"-webkit-box","-webkit-line-clamp":3,"-webkit-box-orient":"vertical",overflow:"hidden"},as:"h3","data-component-id":"plp-product-title",children:null==eY?void 0:eY.toUpperCase()}),eQ?(0,t.jsx)(Y,{"data-component-id":"plp-product-description",children:eQ.text}):null]}),te?null:(0,t.jsxs)(ea,{justify:"between",align:"center","data-component-id":"plp-product-rating",children:["SDA"===e2&&e3?(0,t.jsx)(Z,{"data-bv-seo":tu,"data-bv-show":"inline_rating","data-bv-product-id":null!=tv?tv:tB?eU:eK,"data-bv-redirect-url":"".concat(e3.href,"#reviews")}):null,eU&&"null"!==eU&&!e6?(0,t.jsx)(x.ProductCommercialCode,{children:eU}):null]}),(0,t.jsx)(ep,{children:"grid"===eW?(0,t.jsxs)(eu,{wrap:"wrap",gap:"1",css:{ml:te?"$1-5":void 0},"data-component-id":"plp-product-colors",children:[e0.length>1?null==e0?void 0:e0.slice(0,4).map(e=>(0,l.createElement)(p.Link,{...null==e?void 0:e.cta,css:{zIndex:3},key:null==e?void 0:e.twelveNc,"data-color-label":null==e?void 0:e.label,"data-component-id":"plp-product-color"},(0,t.jsx)(v.ColorCircle,{color:e,size:"sm"}))):null,(null==e0?void 0:e0.length)>4?(0,t.jsxs)(t.Fragment,{children:[null==e0?void 0:e0.slice(4).map(e=>(0,l.createElement)(X,{...null==e?void 0:e.cta,visibility:e4?e9:tS,key:null==e?void 0:e.twelveNc,"data-color-label":null==e?void 0:e.label,"data-component-id":"plp-product-color"},(0,t.jsx)(v.ColorCircle,{color:e,size:"sm"}))),te?null:(0,t.jsx)(J,{onClick:e4?()=>{e7&&e7(),tt&&tt()}:tI,icon:e4?e9:tS,css:{fontSize:"$xl",fontWeight:"$normal",height:"28px"},children:(0,t.jsx)(i.Root,{children:tS||e9?"Display less colors":"Display more colors"})})]}):null]}):(0,t.jsxs)(eu,{wrap:"wrap",gap:"1","data-component-id":"plp-product-colors",children:[e0.length>1?null==e0?void 0:e0.slice(0,8).map(e=>(0,l.createElement)(p.Link,{...null==e?void 0:e.cta,css:{zIndex:3},key:null==e?void 0:e.twelveNc,"data-color-label":null==e?void 0:e.label,"data-component-id":"plp-product-color"},(0,t.jsx)(v.ColorCircle,{color:e,size:"sm"}))):null,(null==e0?void 0:e0.length)>8?(0,t.jsxs)(t.Fragment,{children:[null==e0?void 0:e0.slice(8).map(e=>(0,l.createElement)(X,{...null==e?void 0:e.cta,visibility:e4?e9:tS,key:null==e?void 0:e.twelveNc,"data-component-id":"plp-product-color"},(0,t.jsx)(v.ColorCircle,{color:e,size:"sm"}))),(0,t.jsx)(J,{onClick:e4?e7:tI,icon:e4?e9:tS,css:{fontSize:"$xl",fontWeight:"$normal",height:"28px"},children:(0,t.jsx)(i.Root,{children:tS||e9?"Display less colors":"Display more colors"})})]}):null]})}),(0,t.jsx)(em,{children:(0,t.jsxs)(eu,{wrap:"wrap",gap:"2","data-component-id":"plp-product-colors",children:[e0.length>1?null==e0?void 0:e0.slice(0,8).map(e=>(0,l.createElement)(p.Link,{...null==e?void 0:e.cta,css:{zIndex:3},key:null==e?void 0:e.twelveNc,"data-color-label":null==e?void 0:e.label,"data-component-id":"product-card-color-switcher"},(0,t.jsx)(v.ColorCircle,{color:e,size:"sm"}))):null,(null==e0?void 0:e0.length)>8?(0,t.jsxs)(t.Fragment,{children:[null==e0?void 0:e0.slice(8).map(e=>(0,l.createElement)(X,{...null==e?void 0:e.cta,visibility:e4?e9:tS,key:null==e?void 0:e.twelveNc,"data-component-id":"plp-product-color"},(0,t.jsx)(v.ColorCircle,{color:e,size:"sm"}))),(0,t.jsx)(J,{onClick:e4?e7:tI,icon:e4?e9:tS,css:{fontSize:"$xl",fontWeight:"$normal",height:"28px"},children:(0,t.jsx)(i.Root,{children:tS||e9?"Display less colors":"Display more colors"})})]}):null]})}),"SDA"===e2&&(eZ||tz)&&!te&&!ts?(0,t.jsxs)(et,{children:[eZ?(0,t.jsx)(ee,{...eZ,isPlpPage:e4,showVatLabel:!1,css:{fontSize:22,...tm?{alignItems:"flex-start",justifyContent:"flex-start",...tN?{flexDirection:"column !important"}:{},".special-price-container":{flexDirection:"row",alignItems:"center",gap:"$2",ml:"0"}
1,'[data-price="original-value"]':{marginLeft:"0 !important"},".special-price-container > span:last-child":{marginLeft:"0 !important",color:"#20AB29 !important"},".special-price-container > span:last-child *":{color:"#20AB29 !important"}}:{},...tV&&tN&&"list"!==eW?{".special-price-container":{flexDirection:"column !important",alignItems:"flex-start !important",gap:"1px !important",marginLeft:"0 !important"},".special-price-container > span":{marginLeft:"0 !important"}}:{}},layout:"grid"===eW,savingPriceLabel:tF?null!=(eG=eZ.savingPriceLabel)?eG:"Save":eZ.savingPriceLabel,"data-component-id":"plp-product-price"}):null,tz?(0,t.jsx)(r,{label:eX,"data-component-id":"plp-installment-badge"}):null]}):null,e1&&e8&&!te&&!ts?(0,t.jsx)(el,{"data-component-id":"product-card-add-to-cart-button",isAddedToCart:tc,children:(0,t.jsx)(o.Button,{...e1,isRounded:!0,leftIcon:tc?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.Icon,{icon:"Cart",label:"",css:{fill:"$bkgWhite",size:19}}),(0,t.jsx)(eh,{isAdded:tc,children:(0,t.jsx)(c.Icon,{icon:"Check",label:"",css:{fill:"$bkgRed",size:8}})})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.Icon,{icon:"Cart",label:"Add to cart",css:{size:19,fill:"$bkgWhite"}}),(0,t.jsx)(ex,{children:"+"})]}),"data-component-id":"plp-product-add-to-cart-button"})}):null]}),tV&&th?(0,t.jsx)(ei,{...th,selectedColor:null==th?void 0:th.selectedColor,cta:null==th?void 0:th.ctaSubmit,productOverviewCtaId:tl,ctaCss:{width:"100%",marginBottom:"$6",alignItems:"center",zIndex:5},"data-component-id":"back-in-stock-dialog"}):null,(null==e3?void 0:e3.href)?(0,t.jsx)(eo,{...e3,target:"_parent","data-buyable-product":!!e1,"data-component-id":"plp-product-link",children:(0,t.jsx)("span",{className:"sr-only",children:e3.children})}):null]})}),N=(0,a.styled)(S.Swiper,{position:"relative",width:"100% !important"}),F=(0,a.styled)("div",{boxSizing:"border-box",backgroundColor:"$bkgWhite",position:"relative",paddingTop:"$16",paddingBottom:"$7-5"}),V=(0,a.styled)("div",{position:"relative",width:"100%",height:200}),G=(0,a.styled)("div",{display:"flex",justifyContent:"space-between",flexWrap:"wrap",position:"absolute",top:"$3",left:0,width:"100%",zIndex:1,pointerEvents:"none"}),W=(0,a.styled)("div",{display:"flex",alignItems:"center",gap:0}),H=(0,a.styled)("div",{marginLeft:"auto",display:"flex",alignItems:"center"}),q=(0,a.styled)(n.Badge,{marginBottom:"$4"}),U=(0,a.styled)("div"),K=(0,a.styled)("div",{variants:{isMobileGridColorOpen:{true:{},false:{minHeight:54}}},"@lg":{minHeight:135.5}}),Y=(0,a.styled)("p",{fontSize:"$2xs",lineHeight:"18px",m:"$1 0 0",display:"-webkit-box","-webkit-line-clamp":3,"-webkit-box-orient":"vertical",overflow:"hidden"}),Q=(0,a.styled)("div",{padding:"30px 24px 80px",position:"relative","h3 + div > p":{margin:"0"},variants:{spacing:{true:{pb:"$28"},false:{pb:"$5"}},isMobileGridColorOpen:{true:{pb:"$3 !important"}}}}),Z=(0,a.styled)("div",{mt:"initial"}),X=(0,a.styled)(p.Link,{variants:{visibility:{true:{display:"block",zIndex:3},false:{display:"none"}}}}),J=(0,a.styled)("button",{fontWeight:"$black",fontSize:"$sm",lineHeight:"$none",display:"inline-block",position:"relative",top:-2,height:16,zIndex:5,variants:{icon:{true:{"&::after":{content:"-"}},false:{"&::after":{content:"+"}}}}}),ee=(0,a.styled)(h.Price,{}),et=(0,a.styled)("div",{position:"absolute",bottom:"$6-5",left:"$7-5",display:"flex",flexDirection:"column",alignItems:"flex-start",gap:"$1"}),el=(0,a.styled)("div",{display:"inline-block",position:"absolute",bottom:"$7-5",right:"$7-5",zIndex:5,svg:{position:"relative",top:2},variants:{isAddedToCart:{true:{"&::after":{display:"none"}}}}}),ei=(0,a.styled)(D,{position:"absolute",bottom:"10px",right:"5px",zIndex:5,cursor:"pointer",width:"auto","@md":{bottom:"25px",right:"24px"}}),en=(0,a.styled)("button",{position:"absolute",top:"calc(50% - 15px)",cursor:"pointer",padding:0,border:0,zIndex:10,"&.swiper-button-disabled":{cursor:"default",opacity:.35},variants:{direction:{left:{left:10,svg:{transform:"rotate(180deg)"}},right:{right:10}}},svg:{width:30,height:30,stroke:"#000"}}),eo=(0,a.styled)(p.Link,{position:"absolute",top:0,right:0,bottom:0,left:0,zIndex:2,transition:"box-shadow .2s cubic-bezier(.785,.135,.15,.86),-webkit-box-shadow .2s cubic-bezier(.785,.135,.15,.86)","&:hover, &:focus":{boxShadow:"0 0 1.25rem 0 rgb(0 0 0 / 20%)"}}),ea=(0,a.styled)(f.Flex,{width:"100%",mt:"$3-5",minHeight:"28px"}),er=(0,a.styled)("div",{position:"relative",border:"1px solid $bkgWhiteSmoke",display:"flex",flexDirection:"column",mx:"$1",overflow:"clip","@md":{mx:"$2-5"},variants:{layout:{grid:{marginBottom:"$5",width:"calc(50% - 10px
1)",["".concat(G)]:{flexWrap:"nowrap",alignItems:"flex-start",["".concat(W)]:{minWidth:0},["".concat(H)]:{flexShrink:0},"@md":{flexWrap:"wrap"}},"@md":{width:"calc(50% - 23px)",marginBottom:"$5"},"@2xl":{width:"calc(33.33% - 22px)"},"@3xl":{width:"calc(32.79% - 22px)"},["".concat(V)]:{height:100,"@md":{height:200}},["".concat(Q)]:{backgroundColor:"$bkgWhiteSmoke",display:"flex",flexDirection:"column",flexGrow:1,p:"$2",pb:"96px","@md":{padding:"30px 24px 116px"}},["".concat(K)]:{"@lg":{minHeight:135.5}},["".concat(b.ProductTitle)]:{fontSize:"$2xs !important",mb:0,"@md":{fontSize:"1.25rem !important",mb:"$1"}},["".concat(x.ProductCommercialCode)]:{display:"none","@md":{display:"inherit"}},["".concat(Y)]:{display:"none","@md":{display:"inherit"}},["".concat(ea)]:{mt:"$1-5",minHeight:"unset","@md":{minHeight:"28px",mt:"$3-5"}},["".concat(el)]:{bottom:"$3",right:"$2","@md":{bottom:"$7-5",right:"$7-5"}},["".concat(et)]:{bottom:"$2",left:"$2","@md":{left:"$7-5",bottom:"$6-5"}},["".concat(ee)]:{flexDirection:"column",alignItems:"flex-start",fontSize:"1.125rem",span:{marginLeft:"unset"},".special-price-container":{"@xs":{flexDirection:"column",alignItems:"flex-start",gap:"1px"},"@md":{flexDirection:"row",alignItems:"center",gap:"12px"}},"@md":{flexDirection:"row",alignItems:"flex-end",fontSize:"1.375rem",span:{marginLeft:"unset",ml:"$2-5","@md":{marginLeft:"$4"}}}}},swiper:{width:"$full",height:"100% !important","@md":{mx:"$0"},["".concat(Q)]:{backgroundColor:"$bkgWhiteSmoke",display:"flex",flexDirection:"column",flexGrow:1},["".concat(el)]:{right:"$5",bottom:"$5"}},list:{marginBottom:"$5",["".concat(Q)]:{backgroundColor:"$bkgWhiteSmoke"},"@md":{flexDirection:"row",width:"100%",alignItems:"center",padding:"$5",mb:0,border:"none",borderTop:"1px solid $greyBorder","&:first-of-type":{borderTop:"none"},["".concat(F)]:{padding:0,flex:"0 0 25%",position:"initial"},["".concat(V)]:{height:150},["".concat(G)]:{position:"absolute",top:"$1-5",right:0,left:0,display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start",zIndex:100,"> div":{mb:"$2-5"}},["".concat(q)]:{},["".concat(U)]:{top:"53px !important"},["".concat(Q)]:{backgroundColor:"$bkgWhite",position:"initial",flex:"0 0 48%",display:"flex",flexWrap:"wrap",flexDirection:"column",alignItems:"baseline",padding:"0 0 0 $5","@2xl":{flexBasis:"50%"}},["".concat(et)]:{position:"initial",left:"auto",bottom:"auto",flexDirection:"row",alignItems:"center",gap:"$3"},["".concat(ee)]:{flexDirection:"row-reverse",justifyContent:"flex-start",span:{marginRight:"$7"}},["".concat(el)]:{right:"$5",bottom:"$5"}}},"grid-related":{marginBottom:"$5","@md":{width:"calc(50% - 22px)"},"@lg":{width:"calc(33.33% - 22px)"},["".concat(Q)]:{backgroundColor:"$bkgWhiteSmoke",display:"flex",flexDirection:"column",flexGrow:1}}},isHovered:{true:{},false:{}}},compoundVariants:[{layout:"list",isHovered:!0,css:{borderColor:"transparent"}},{layout:"grid",isHovered:!0,css:{borderColor:"transparent"}}]}),ed=(0,a.styled)("div"),es=(0,a.styled)(p.Link,{display:"flex !important",flexDirection:"row",alignItems:"center",columnGap:"$2-5",zIndex:4,textDecoration:"none","&:hover, &:focus":{textDecoration:"underline"}}),ec=(0,a.styled)(m.Text,{margin:"0",fontSize:"$2xs",pr:"$4"}),eu=(0,a.styled)(f.Flex,{my:"$3-5"}),ep=(0,a.styled)("div",{"@md":{display:"none"}}),em=(0,a.styled)("div",{display:"none","@md":{display:"block"}}),eg=(0,a.styled)("div",{position:"relative"}),ev=(0,a.keyframes)({"0%":{transform:"scale(0)"},"50%":{transform:"scale(1.2)"},"100%":{transform:"scale(1)"}}),eh=(0,a.styled)("span",{position:"absolute",top:-6,right:-6,size:14,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"$bkgWhite",border:"1px solid $bkgRed",borderRadius:"50%",pointerEvents:"none",zIndex:5,variants:{isAdded:{true:{animation:"".concat(ev," 0.6s forwards")},false:{}}},svg:{size:"8px !important",fill:"$copyRed",top:0}}),ex=(0,a.styled)("span",{fontSize:12,color:"$copyWhite",position:"absolute",top:-5,right:-6,height:13,width:13,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"$bkgBlack",borderRadius:"50%",pointerEvents:"none"}),eb=(0,a.styled)("div",{position:"absolute",inset:0,backgroundColor:"$bkgWhite",pointerEvents:"none",opacity:0,zIndex:-1,transition:"opacity .15s ease",variants:{isHovered:{true:{opacity:1,zIndex:2}}}})},620272,366111,894482,958304,942189,860334,715110,663424,522806,249159,e=>{"use strict";e.s(["default",()=>eO],620272);var t=e.i(391398);e.i(261354);var l=e.i(189163),i=e.i(191788);e.i(881804);var n=e.i(802430),o=e.i(232976),a=e.i(885431),r=e.i(603783),d=e.i(24297),s=e.i(228638);e.i(187564);var c=e.i(115143);e.i(354526);var u=e.i(309015);e.i(543336);var p=e.i(345970);e.i(861276);var m=e.i(961440),g=e.i(755346),v=e.i(12604);e.i(294167);var h=e.i(348879);e.i(406095);var x=e.i(376628),b=e.i(109466);let f=e=>{var l,i;let{product:n,isEcommerceEnabled:o,visible:a}=e;
1return(0,t.jsx)(y,{"data-component-id":"comparison-heading-swiper-slide",children:(0,t.jsx)(S,{"data-component-id":"heading-product-image",children:(null==n?void 0:n.empty)?(0,t.jsx)($,{visible:a,children:(0,t.jsx)(_,{children:null==n?void 0:n.desc})}):(0,t.jsxs)(t.Fragment,{children:[(null==n?void 0:n.image)?(0,t.jsx)(T,{"data-testid":"heading-product-image-wrapper",visible:a,children:(0,t.jsx)(c.Image,{src:n.image.src,alt:n.image.alt,layout:"fill",objectFit:"contain"})}):null,(null==n?void 0:n.empty)?null:(0,t.jsx)(w,{"data-component-id":"heading-product-name",children:null==n||null==(l=n.title)?void 0:l.toUpperCase()}),(null==n?void 0:n.price)?(0,t.jsx)(j,{css:{m:"$4 0 $2",justifyContent:"center",alignItems:"center",fontSize:"$s","@md":{fontSize:"$lg"}},showVatLabel:!1,...n.price,"data-component-id":"heading-product-price"}):(0,t.jsx)(I,{children:" "}),(null==n?void 0:n.reviewProductId)?(0,t.jsx)(k,{"data-bv-show":"inline_rating","data-bv-product-id":n.reviewProductId,"data-bv-redirect-url":(null==n||null==(i=n.cta)?void 0:i.href)?"".concat(n.cta.href,"#reviews"):"#reviews","data-component-id":"heading-product-rating"}):null,(null==n?void 0:n.cta)&&o?(0,t.jsx)(C,{"data-component-id":"heading-product-add-to-cart-button",css:{my:"$2",px:"$4"},...n.cta}):null]})})})};f.displayName="SwiperSlide";let y=(0,p.styled)(d.SwiperSlide,{background:"$bkgWhite",textAlign:"center"}),w=(0,p.styled)("strong",{fontSize:"$s",marginTop:"$3-5",minHeight:63,maxHeight:63,"@md":{minHeight:68,maxHeight:68,fontSize:"$lg"},overflow:"hidden",display:"-webkit-box","-webkit-line-clamp":3,"-webkit-box-orient":"vertical",wordBreak:"break-word"}),j=(0,p.styled)(h.Price,{my:"$0 !important"}),C=(0,p.styled)(x.Button),k=(0,p.styled)(b.Rating,{display:"flex",justifyContent:"center",minHeight:"28px",mb:"$4","&:empty":{display:"none",minHeight:0,marginBottom:0}}),S=(0,p.styled)("div",{padding:"10px",position:"relative","@md":{padding:"25px",paddingTop:"30px"}}),I=(0,p.styled)("div",{justifyContent:"center",alignItems:"center",fontSize:"$xl",minHeight:"28px"}),T=(0,p.styled)("div",{position:"relative",mt:"$1",height:75,"@lg":{height:125},transition:"height 0.75s",variants:{visible:{false:{height:55,"@lg":{height:75}}}}}),$=(0,p.styled)("div",{minHeight:"275px",backgroundColor:"$bkgWhiteSmoke",display:"flex",alignItems:"center",justifyContent:"center",variants:{visible:{false:{minHeight:"150px","@lg":{minHeight:"150px"}}}}}),_=(0,p.styled)("span",{padding:"25px",display:"block"});var P=e.i(478524);e.i(814598);var L=e.i(756550);let A=i.default.forwardRef((e,l)=>{let{selectedProduct:n,compareProductList:o,visible:a,updateUserSelection:r,index:d}=e,[s,u]=i.default.useState("");return(0,t.jsx)(R,{type:"single",value:s,onValueChange:u,collapsible:!0,ref:l,index:d,"data-component-id":"comparison-accordion",children:(0,t.jsxs)(E,{value:null==n?void 0:n.title,css:{borderColor:"$bkgSilverGray"},"data-component-id":"comparison-accordion-item",children:[(0,t.jsx)(D,{icon:"ArrowDownBlack",children:(0,t.jsx)(z,{"data-component-id":"comparison-accordion-item-name",children:null==n?void 0:n.title})}),(0,t.jsx)(M,{visible:a,children:null==o?void 0:o.map((e,l)=>{var i,o,a,s;return e&&"ContentCard"!==e.__typename?(0,t.jsx)(O,{onClick:()=>{u(""),r(d,e)},hide:e.twelveNc===n.twelveNc,"data-component-id":"comparison-accordion-product",children:(0,t.jsxs)(B,{children:[(0,t.jsx)(V,{children:(0,t.jsx)(c.Image,{src:null==e||null==(o=e.assets)||null==(i=o[0])?void 0:i.src,alt:null==e||null==(s=e.assets)||null==(a=s[0])?void 0:a.alt,layout:"fixed",width:40,height:40,"data-component-id":"comparison-accordion-product-image"})}),(0,t.jsxs)(N,{children:[(0,t.jsx)(F,{"data-component-id":"comparison-accordion-product-name",children:null==e?void 0:e.name}),(0,t.jsx)(G,{showVatLabel:!1,...e.price,"data-component-id":"comparison-accordion-product-price"})]})]})},"listItem-".concat(l)):null})})]},null==n?void 0:n.title)})}),E=(0,p.styled)(L.Accordion.Item,{border:"1px solid $inputBorder !important",borderRadius:"5px",boxShadow:"0 0 1.25rem 0 rgb(0 0 0 / 7%)",'&[data-state="open"]':{borderBottomLeftRadius:"0",borderBottomRightRadius:"0"}}),D=(0,p.styled)(L.Accordion.Trigger,{color:"$copyBlack",border:"none",display:"flex",position:"relative",fontWeight:"$black",fontSize:"$sm",p:"$4",svg:{transform:"rotate(0deg) !important",position:"absolute",right:"15px"},'&[data-state="open"]':{svg:{transform:"rotate(180deg) !important"}}}),R=(0,p.styled)(L.Accordion,{display:"block",position:"relative",flex:"1 0 calc(50% - 20px)",pl:"10px",pr:"10px",width:"calc(50% - 20px)","@md":{flex:"1 0 calc(33.33% - 20px)",width:"calc(33.33% - 20px)"},"@lg":{flex:"0 0 calc(25% - 20px)",width:"calc(25% - 20px)"},variants:{index:{2:{display:"none","@md":{display:"block"}},3:{display:"none","@lg":{display:"block"}}}}}),M=(0,p.styled)(L.Accordion.Content,{backgroundColor:"$bkgWhite",cursor:"pointer",border:"1px solid $inputBorder !important",p:"0",position:"absolute",width:"calc(100% - 22px)",left:10,borderTop:"none",borderBottomLeftRadius:"5px",borderBottomRightRadius:"5px",boxShadow:"0 0 1.25rem 0 rgb(0 0 0 / 7%)",overflow:"scroll",zIndex:99,maxHeight:500,variants:{visible:{false:{display:"none"}}}}),O=(0,p.styled)("div",{minHeight:"30px",borderBottom:"1px solid $inputBorder","&:hover":{backgroundColor:"rgb(242, 242, 242)"},variants:{hide:{true:{display:"none"}}}}),B=(0,p.styled)("div",{px:"$4",py:"$3",display:"flex",alignItems:"center"}),z=(0,p.styled)("span",{display:"block",width:"80%",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",textTransform:"uppercase"}),N=(0,p.styled)("div",{fontSize:"$xs",lineHeight:"16px",pl:"$3","@2xl":{fontSize:"$s",lineHeight:"18px",pl:"$4"}}),F=(0,p.styled)("span",{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box","-webkit-line-clamp":2,"-webkit-box-orient":"vertical",wordBreak:"break-word"}),V=(0,p.styled)("div",{flex:"0 0 40px"}),G=(0,p.styled)(h.Price,{my:"$0",mt:"$1",textAlign:"left",fontSize:"$xs",justifyContent:"flex-start",lineHeight:"16px","@2xl":{fontSize:"$s",lineHeight:"18px"}}),W=(0,i.forwardRef)((e,l)=>{var d;let{id:s,title:u,text:h,isH2Title:x,products:b,dataId:y,isEcommerceEnabled:w,isPDPPage:j,enableMarginReduction:C,hasSections:k,isDynamicTable:S,compareProductList:I,updateUserSelection:T,...$}=e,_=(0,i.useRef)(null),[L,E]=(0,i.useState)([]),D=(0,i.useRef)(),{y:R}=(0,g.useElementScrollPosition)(D),M=e=>{E(t=>{let l=[...t];return l[e]=null,l})}
1,O=(e,t)=>{E(l=>{let i=[...l];return i[t]=e,i})};return((0,i.useEffect)(()=>{let e=_.current,t=L.filter(e=>null!==e);e&&t.length&&(e.controller.control=t,t.forEach(t=>{(null==t?void 0:t.controller)&&(t.controller.control=e)}))},[_,L]),b.length<2)?null:(0,t.jsxs)(H,{id:s,ref:l,"data-id":y,...$,size:"md",enableMarginReduction:C,"data-component-id":"product-comparison-container",children:[u?(0,t.jsx)(m.ModuleInternalHeading,{title:u,text:h,isH2Title:x,css:{mt:"0",mb:"$7-5","@md":{mb:p.Gutter.sm}},"data-component-id":"product-comparison-title"}):null,S?(0,t.jsx)(el,{children:b.map((e,l)=>S?(0,t.jsx)(A,{selectedProduct:e,compareProductList:I,visible:R>140,updateUserSelection:T,index:l,"data-component-id":"product-comparison-accordion"}):null)}):null,(0,t.jsx)(Z,{ref:D,isPDPPage:j,visible:R>140,"data-component-id":"product-comparison-heading",children:(0,t.jsx)(U,{children:(0,t.jsx)(K,{"data-component-id":"product-comparison-heading-slider",children:(0,t.jsx)(Y,{modules:[a.Keyboard,n.A11y,r.Pagination,o.Controller],keyboard:!0,grabCursor:!0,resistance:!0,resistanceRatio:0,allowTouchMove:!S,breakpoints:{320:{slidesPerView:2},768:{slidesPerView:3},1024:{slidesPerView:b.length}},onSwiper:e=>{_.current=e},"data-component-id":"product-comparison-heading-swiper",children:b.map((e,l)=>e?(0,t.jsx)(f,{product:e,isEcommerceEnabled:w,visible:R>140,"data-component-id":"product-comparison-slider-item"},l):null)})})})}),k&&b[0].sections?(0,t.jsxs)(t.Fragment,{children:[b[0].sections.map((e,l)=>(0,t.jsx)(v.DataAccordion,{swiperDataRefs:L,swiperHeadingRef:_,products:b,section:e,hasSections:k,sectionIndex:l,onSwiperInit:O,onSwiperDestroy:M,comparison:b.map(e=>e.comparisonSection[l]),allowTouchMove:!S,"data-component-id":"product-comparison-data-accordion"},l)),(0,t.jsxs)(q,{css:{marginTop:50},children:[(0,t.jsx)(X,{children:b[0].comparison.map((e,l)=>(0,t.jsxs)(J,{children:[e.icon?(0,t.jsx)(et,{children:(0,t.jsx)(c.Image,{layout:"fill",objectFit:"contain",src:e.icon,"data-component-id":"product-comparison-image"})}):null,(0,t.jsx)(ee,{"data-component-id":"product-comparison-label",children:e.label})]},l))}),(0,t.jsx)(U,{children:(0,t.jsx)(K,{"data-component-id":"product-comparison-slider",children:(0,t.jsx)(Q,{modules:[a.Keyboard,n.A11y,r.Pagination,o.Controller],keyboard:!0,grabCursor:!0,resistance:!0,resistanceRatio:0,allowTouchMove:!S,breakpoints:{320:{slidesPerView:2},768:{slidesPerView:3},1024:{slidesPerView:b.length}},onSwiper:e=>{var t,l;return O(e,null!=(l=null==(t=b[0].sections)?void 0:t.length)?l:0)},onDestroy:()=>{var e,t;return M(null!=(t=null==(e=b[0].sections)?void 0:e.length)?t:0)},"data-component-id":"product-comparison-data-swiper",children:b.map((e,l)=>e?(0,t.jsx)(P.SwiperSlideData,{product:e,hasSections:k,index:l,"data-component-id":"product-comparison-slider-item"},l):null)})})})]})]}):(0,t.jsxs)(q,{css:{marginTop:50},children:[(0,t.jsx)(X,{children:null==(d=b[0].comparison)?void 0:d.map((e,l)=>(0,t.jsxs)(J,{children:[e.icon?(0,t.jsx)(et,{children:(0,t.jsx)(c.Image,{layout:"fill",objectFit:"contain",src:e.icon,"data-component-id":"product-comparison-image"})}):null,(0,t.jsx)(ee,{"data-component-id":"product-comparison-label",children:e.label})]},l))}),(0,t.jsx)(U,{children:(0,t.jsx)(K,{"data-component-id":"product-comparison-slider",children:(0,t.jsx)(Q,{modules:[a.Keyboard,n.A11y,r.Pagination,o.Controller],keyboard:!0,grabCursor:!0,resistance:!0,resistanceRatio:0,allowTouchMove:!S,breakpoints:{320:{slidesPerView:2},768:{slidesPerView:3},1024:{slidesPerView:b.length}},onSwiper:e=>O(e,0),onDestroy:()=>M(0),"data-component-id":"product-comparison-data-slider",children:b.map((e,l)=>e?(0,t.jsx)(P.SwiperSlideData,{product:e,hasSections:k,index:l,"data-component-id":"product-comparison-slider-item"},l):null)})})})]})]})}),H=(0,p.styled)(s.Container,{width:"100%",position:"relative",my:p.Gutter.sm,"@md":{px:"$5",my:p.Gutter.md},"@lg":{px:0}}),q=(0,p.styled)("div",{position:"relative","@md":{paddingLeft:250}}),U=(0,p.styled)("div",{margin:"0 auto",position:"relative"}),K=(0,p.styled)("div",{position:"relative"}),Y=(0,p.styled)(d.Swiper,{width:"100%"}),Q=(0,p.styled)(d.Swiper,{width:"100%"}),Z=(0,p.styled)("div",{position:"sticky",top:100,"@md":{paddingLeft:250},"@lg":{top:130},backgroundColor:"$bkgWhite",variants:{isPDPPage:{true:{top:"calc(4rem + var(--header-bottom-distance, 0px))",paddingTop:30,"@lg":{top:100}}},visible:{true:{maxHeight:370},false:{"&:after":{content:"",position:"absolute",width:"100%",top:84,zIndex:9},overflow:"hidden",maxHeight:85,zIndex:9,"@md":{maxHeight:105,"&:after":{top:104}},"@lg":{maxHeight:190,"&:after":{width:"calc(100% - 250px)",top:215}}}}}}),X=(0,p.styled)("ul",{position:"absolute",zIndex:8,width:"100%",pointerEvents:"none","@md":{position:"absolute",top:0,left:0,width:250}}),J=(0,p.styled)("div",{marginBottom:80,position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",boxSizing:"border-box",borderTop:"1px solid $defaultBorder",background:"#fbfaf9",minHeight:"80px",maxHeight:"80px",paddingInline:"$1","&:last-child":{borderBottom:"1px solid $defaultBorder"},"@md":{marginBottom:0}}),ee=(0,p.styled)(u.Text,{wordWrap:"break-word",textOverflow:"ellipsis",wordBreak:"break-word",fontSize:"$2xs",fontWeight:"$black",textAlign:"center",paddingInline:"$1",m:0}),et=(0,p.styled)("div",{position:"relative",height:45,width:45}),el=(0,p.styled)("div",{display:"flex","@md":{paddingLeft:250}});var ei=e.i(610019),en=e.i(112987),eo=e.i(790321),ea=e.i(724096),er=e.i(900018);e.i(807204);var ed=e.i(696456);e.s(["useGetProductListing",()=>eg],366111);var es=e.i(364034),ec=e.i(642474),eu=e.i(166146),ep=e.i(650804);let em=ec.QUERY_KEYS.PRODUCT_LISTING,eg=()=>{let e=(0,es.useQuery)(em,{staleTime:1/0,keepPreviousData:!0});return e.queryKey=em,{...e}};eg.queryKey=em,eg.fetcher=(e,t,l,i,n,o)=>ep.NextSelfClient.getFacet(e,t,l,i,n,!1).then(e=>(o.setQueryData(eg.queryKey,{...e}),window.postMessage({type:eu.POST_MESSAGES.PLP_PRODUCTS_LOADED},"*"),{data:e})),e.s(["useGetCustomProductListing",()=>eh],894482);let ev=ec.QUERY_KEYS.CUSTOM_PRODUCT_LISTING,eh=()=>{let e=(0,es.useQuery)(ev,{staleTime:1/0,keepPreviousData:!0});return e.queryKey=ev,{...e}};eh.queryKey=ev,eh.fetcher=(e,t,l,i,n,o)=>ep.NextSelfClient.getFacet(e,t,l,i,n,!0).then(e=>(o.setQueryData(eh.queryKey,{...e}),window.postMessage({type:eu.POST_MESSAGES.PLP_PRODUCTS_LOADED},"*"),{data:e}));var ex=e.i(451936),eb=e.i(962027),ef=e.i(704977),ey=e.i(150330),ew=e.i(988286),ej=e.i(224669),eC=e.i(948920),e
1k=e.i(596807),eS=e.i(646935),eI=e.i(338969);let eT=async e=>{let t=e.locale;if(t)if((0,eC.getPublicConfigByLocale)(t).eventBuilderEnabled){let l=new ek.EventBuilder;return l.setName(ej.AnalyticEvents.compareProducts),l.setLocale(t),l.addAnalyticsEvent(e),(0,eC.getPublicConfigByLocale)(t).algoliaEventsEnabled&&l.addAlgoliaEvent(ej.AnalyticEvents.compareProducts,t,eI.AlgoliaEventType.View,e,!0),await (0,eS.sendEvents)(l.getEvent(),t)}else globalThis.dataLayer.push({event:ej.AnalyticEvents.compareProducts,...e})},e$=async e=>{let t=e.locale;if(t)if((0,eC.getPublicConfigByLocale)(t).eventBuilderEnabled){let l=new ek.EventBuilder;return l.setName(ej.AnalyticEvents.compareProducts),l.setLocale(t),l.addAnalyticsEvent(e),(0,eC.getPublicConfigByLocale)(t).algoliaEventsEnabled&&l.addAlgoliaEvent(ej.AnalyticEvents.compareProducts,t,eI.AlgoliaEventType.Conversion,e,!0),await (0,eS.sendEvents)(l.getEvent(),t)}else globalThis.dataLayer.push({event:ej.AnalyticEvents.compareProductSelection,...e})},e_=async e=>{var t,l;let i=null==(t=e.metadata)?void 0:t.locale;return await eT({...(0,ey.metadataAnalyticPayloadMapper)(e.metadata),module_type:e.moduleType,number_of_items_compared:null==e?void 0:e.itemNumber,ecommerce:{items:null==(l=e.products)?void 0:l.map((t,l)=>{var n,o,a,r,d,s,c,u,p,m,g,v;let h=null==t||null==(n=t.colors)?void 0:n.find(e=>(null==e?void 0:e.twelvenc)===(null==t?void 0:t.twelveNc)||(null==e?void 0:e.twelveNc)===(null==t?void 0:t.twelveNc)),x={};return(null==t||null==(o=t.category)?void 0:o.pathEn)?null==t||null==(a=t.category)||a.pathEn.map((e,t)=>{x={...x,["item_category".concat(t+2)]:(null==e?void 0:e.charAt(0).toUpperCase())+(null==e?void 0:e.slice(1))}}):null==t||null==(d=t.category)||null==(r=d.path)||r.map((e,t)=>{x={...x,["item_category".concat(t+2)]:(null==e?void 0:e.charAt(0).toUpperCase())+(null==e?void 0:e.slice(1))}}),{...(0,ew.productAnalyticPayloadMapper)(t,i),item_name:null!=(p=null!=(u=null==t?void 0:t.nameEn)?u:null==t?void 0:t.name)?p:"",item_category:(null==t?void 0:t.type)==="SDA"?"Small Domestic Appliances":"Major Domestic Appliances",...x,item_variant:null!=(g=null!=(m=null==h?void 0:h.labelEn)?m:null==h?void 0:h.label)?g:"Default variant",index:l+1,is_product_set:null!=(v=null==t?void 0:t.is_product_set)&&v,item_list_name:"".concat(null==(s=e.metadata)?void 0:s.pageType).concat(e.moduleTitle&&(null==(c=e.moduleTitle)?void 0:c.trim())!==""?" - "+e.moduleTitle:""),item_list_id:""}})}})},eP=async e=>{var t,l,i,n,o,a,r,d,s,c,u,p,m,g,v,h,x,b,f,y,w;let j=null==(t=e.metadata)?void 0:t.locale,C=null==(i=e.product)||null==(l=i.colors)?void 0:l.find(t=>{var l,i;return(null==t?void 0:t.twelvenc)===(null==(l=e.product)?void 0:l.twelveNc)||(null==t?void 0:t.twelveNc)===(null==(i=e.product)?void 0:i.twelveNc)}),k={};(null==(o=e.product)||null==(n=o.category)?void 0:n.pathEn)?null==(r=e.product)||null==(a=r.category)||a.pathEn.map((e,t)=>{k={...k,["item_category".concat(t+2)]:(null==e?void 0:e.charAt(0).toUpperCase())+(null==e?void 0:e.slice(1))}}):null==(c=e.product)||null==(s=c.category)||null==(d=s.path)||d.map((e,t)=>{k={...k,["item_category".concat(t+2)]:(null==e?void 0:e.charAt(0).toUpperCase())+(null==e?void 0:e.slice(1))}}),await e$({...(0,ey.metadataAnalyticPayloadMapper)(e.metadata),module_type:e.moduleType,number_of_items_compared:null==e?void 0:e.itemNumber,ecommerce:{items:[{...(0,ew.productAnalyticPayloadMapper)(e.product,j),item_name:null!=(b=null!=(x=null==(u=e.product)?void 0:u.nameEn)?x:null==(p=e.product)?void 0:p.name)?b:"",item_category:(null==(m=e.product)?void 0:m.type)==="SDA"?"Small Domestic Appliances":"Major Domestic Appliances",...k,item_variant:null!=(y=null!=(f=null==C?void 0:C.labelEn)?f:null==C?void 0:C.label)?y:"Default variant",index:null==e?void 0:e.index,is_product_set:null!=(w=null==(g=e.product)?void 0:g.is_product_set)&&w,item_list_name:"".concat(null==(v=e.metadata)?void 0:v.pageType).concat(e.moduleTitle&&(null==(h=e.moduleTitle)?void 0:h.trim())!==""?" - "+e.moduleTitle:""),item_list_id:""}]}})};e.i(20479);var eL=e.i(841499),eA=e.i(818119),eE=e.i(645713);function eD(e){return e.map((t,l)=>{(t.empty||"backInStockNotification"===t.actionType||"storeLocator"===t.actionType)&&(e.splice(l,1),e.push(t))}),e}var eR=e.i(719559),eM=e.i(717929);let eO=e=>{let{module:i,locale:n,isH1Title:o=!1,isPDPPage:a=!1,page:r}=e,{addToCartPopupData:d}=(0,en.useAddToCartPopupMapper)(n),{props:s,isLoading:c}=eB(i,n,d,o,a,r)||{};
1return s?(0,t.jsxs)(t.Fragment,{children:[c?(0,t.jsx)(l.Loader,{}):null,(0,t.jsx)(W,{...s,dataId:"module-"+(null==i?void 0:i.sequenceOrder)})]}):null},eB=(e,t,l,n,o,a)=>{var r;let d=(0,eb.useQueryClient)(),{addToCart:s,isLoading:c}=(0,ei.useAddToCart)({locale:t}),{data:u}=(0,eR.useGetTranslations)({locale:t}),{data:p}=eg(),{data:m}=(0,eM.useGetHeaderDrawer)({locale:null==(r=a.pageMetadata)?void 0:r.localeEnum}),{data:g}=eh(),v=function(e){return null==e?void 0:e.filter(function(e){return"addToCart"===e.actionType})}(g.cards?g.cards:p.cards?p.cards:null),h=(null==e?void 0:e.type)===ed.ComparisonTableType.Dynamic,x=g.entryId?g.entryId:p.entryId?p.entryId:null,[b,f]=(0,i.useState)(h?v:null==e?void 0:e.compareProducts),y=(null==e?void 0:e.compareProducts.length)<4&&h?function(e,t){for(let l=0;l<t;l++)e.push({empty:!0});return e}(null==e?void 0:e.compareProducts,4-(null==e?void 0:e.compareProducts.length)):null==e?void 0:e.compareProducts,[w,j]=(0,i.useState)(h&&!e.productComparisons?eD(v.slice(0,4)):eD(y)),{trackEventCompareProductSelection:C}=(e=>{var t,l,i,n,o,a;let r={pageType:null==e?void 0:e.__typename,slug:(null==(t=globalThis.location)?void 0:t.pathname)+(null==(l=globalThis.location)?void 0:l.hash),href:null==(i=globalThis.location)?void 0:i.href,title:null!=(a=null==e||null==(n=e.pageMetadata)?void 0:n.title)?a:"",locale:null==e||null==(o=e.pageMetadata)?void 0:o.localeEnum},{getTrackingData:d}=(0,ef.useTracking)({metadata:r});return{trackEventCompareProducts:async(t,l)=>{var i;await e_({...d(),products:t,metadata:r,moduleTitle:null==e||null==(i=e.pageMetadata)?void 0:i.title,moduleType:"ProductComparison",itemNumber:l}).catch(e=>{console.error(e)})},trackEventCompareProductSelection:(t,l,i)=>{var n;return eP({...d(),product:t,metadata:r,moduleTitle:null==e||null==(n=e.pageMetadata)?void 0:n.title,moduleType:"ProductComparison",itemNumber:l,index:i}).catch(e=>{console.error(e)})}}})(a);(0,i.useEffect)(()=>{let e=JSON.parse(globalThis.sessionStorage.getItem(ex.LOCAL_STORAGE_KEYS.COMPARE_PLP+x));h&&e&&j(e);let t=e=>{let t={[eu.POST_MESSAGES.PLP_PRODUCTS_LOADED]:()=>{var e,t,l;let i=d.getQueryData(eh.queryKey),n=d.getQueryData(eg.queryKey),o=(null==i?void 0:i.cards)?i:n,a=(null==g?void 0:g.pagination)?null==g||null==(e=g.pagination)?void 0:e.currentPage:null==p||null==(t=p.pagination)?void 0:t.currentPage;(null==o||null==(l=o.pagination)?void 0:l.currentPage)>a&&f(b.concat(null==o?void 0:o.cards))}}[null==e?void 0:e.data.type];t&&t()};return window.addEventListener("message",t),()=>{window.removeEventListener("message",t)}},[]);let{data:k}=(0,ea.useGetSiteData)(),{trackEventViewProductList:S,trackEventProductClick:I,trackEventAddToCart:T}=(0,eo.useTrackEventsProductRelated)();if(!e)return null;let $=null==w?void 0:w.some(e=>{let{active:t}=e;return t}),_=function(e,t,l,i,n,o,a,r,d,s,c,u,p,m){return(null==e?void 0:e.map((e,g)=>{var v,h,x,b,f,y,w,j,C,k,S,I,T;if(!e)return null;let $=(null==e||null==(v=e.assets)?void 0:v.filter(e=>(null==e?void 0:e.type)==="IMAGE"))||[],_=null==$?void 0:$[0],P=(null==e||null==(h=e.colors)?void 0:h.map((e,l)=>(0,eA.productColorToColorProps)(e,t)))||[],L=null==P?void 0:P.find(t=>(null==t?void 0:t.twelveNc)===(null==e?void 0:e.twelveNc)),A=l.entryId+"_"+(null==e?void 0:e.skuId),E=null==e||null==(x=e.seller)?void 0:x.id,D=async()=>{i(A,void 0,E).then(l=>{var i,o,a;n({product:e,currency:null==t||null==(i=t.currency)?void 0:i.code,locale:s,brazeCart:{cart:l,cartUrl:(0,eE.managePath)(null==m||null==(a=m.cart)||null==(o=a.myCartCta)?void 0:o.href,s)}}).catch(e=>{console.log(e)})})},R=(null==e?void 0:e.price)?{current:e.price.current,special:e.price.special,...e.price.currentValue?{}:{freeLabel:l.priceFreeLabel},showVatLabel:!1}:null;if(!e&&g>3)return null;let M=null==(b=l.comparisonStructure)?void 0:b.filter(e=>e.keys),O=null==l||null==(f=l.comparisonStructure)?void 0:f.map(t=>{var l;return[{id:t.id,label:t.label,icon:null==(l=t.icon)?void 0:l.src,isColor:t.isColor}].map(t=>{var l;let i=null==e||null==(l=e.comparisonItems)?void 0:l.find(e=>e.comparisonKey.id===t.id);return i?{key:t.id,label:t.label,value:t.isColor&&P.length?"<p>".concat(P.length,"</p> ").concat(i.htmlText):i.htmlText,icon:t.icon,isColor:t.isColor,colors:t.isColor&&P.length?P:null}:null}
1).filter(Boolean)}).flat(),B=((null==e?void 0:e.empty)||"addToCart"!==e.actionType)&&p,z=null==M?void 0:M.map(t=>t.keys.map(t=>{var l,i;let n=null==e||null==(l=e.comparisonItems)?void 0:l.find(e=>e.comparisonKey.id===t.id);return n?{key:t.id,label:t.label,value:B?null:t.isColor&&P.length?"<p>".concat(P.length,"</p> ").concat(n.htmlText):n.htmlText,icon:null==(i=t.icon)?void 0:i.src,isColor:t.isColor,colors:t.isColor&&P.length&&!B?P:null}:null}).filter(Boolean));return B?{active:!1,twelveNc:null==e?void 0:e.twelveNc,cta:null,comparison:O,title:null!=(k=null==o?void 0:o.compare_choose_product_label)?k:"CHOOSE A PRODUCT",comparisonSection:z,empty:!0,desc:null!=(S=null==o?void 0:o.compare_choose_product_text)?S:"Choose a product you would like to compare"}:{...!a&&0===g?{active:!0,twelveNc:null==e?void 0:e.twelveNc,cta:{children:r?l.addToCartLabel:l.shopNowLabel,href:r?null:(0,eL.linkHelper)(t,null==e||null==(y=e.detailPageLink)?void 0:y.href),onClick:r?D:void 0}}:{active:e.active,highlightedLabel:e.active?l.activeLabel:e.label,cta:(null==e||null==(w=e.detailPageLink)?void 0:w.href)?{children:e.active?l.addToCartLabel:l.shopNowLabel,onClick:e.active?D:void 0,href:e.active?void 0:(0,eL.linkHelper)(t,null==e||null==(j=e.detailPageLink)?void 0:j.href)}:null},comparison:O,comparisonSection:l.hasSections?z:null,sections:null==(C=l.comparisonStructure)?void 0:C.filter(e=>e.keys),addToCartPopup:d?{id:A,isFetching:null!=(I=d.isFetching)&&I,title:d.title,product:{twelveNc:null==e?void 0:e.twelveNc,name:null==e?void 0:e.name,price:R,image:_,color:P.length>1?L:null,skuId:null==e?void 0:e.skuId},myCartCta:d.myCartCta,continueShoppingCta:d.continueShoppingCta,relatedProductsProps:{locale:s,isCart:!0,addToCartPopupData:d,addToCart:i,trackEventAddToCart:n,trackEventViewProductList:c,trackEventProductClick:u,AddToCartProductRelatedModuleMapper:en.AddToCartProductRelatedModuleMapper},postMessageKey:d.postMessageKey,engravingNote:"",warrantyCrossSellEnabled:(0,er.isWarrantyCrossSellEnabled)(s),warrantyPlanTextTooltip:null==e?void 0:e.warrantyPlanTextTooltip}:null,title:e.name,price:R,image:_,textColor:e.textColor,borderColor:e.borderColor,twelveNc:null==e?void 0:e.twelveNc,reviewProductId:(0,er.isNAR)(s)&&null!=(T=null==e?void 0:e.commercialCode)?T:null==e?void 0:e.twelveNc}}))||[]}(w,k,e,s,T,u,$,o,l,t,S,I,h,m);return{isLoading:c,props:{id:e.id,title:e.title,text:e.text,isH2Title:e.sequenceOrder>0||!n,products:h?eD(_.filter(e=>e))||[]:_.filter(e=>e)||[],isEcommerceEnabled:(0,er.isEcommerceEnable)(t),isPDPPage:o,hasSections:e.hasSections,isDynamicTable:h,compareProductList:h?null==b?void 0:b.filter(e=>!(null==w?void 0:w.some(t=>t.skuId===e.skuId))):b,updateUserSelection:(e,t)=>((e,t,l)=>{t(t=>{let i=[...t];return i[e]=l,globalThis.sessionStorage.setItem(ex.LOCAL_STORAGE_KEYS.COMPARE_PLP+x,JSON.stringify(i)),C(l,i.length,e),i})})(e,j,t)}}};e.s(["default",()=>eX],958304),e.i(560976);var ez=e.i(932788);e.i(328066);var eN=e.i(102101);let eF=i.default.forwardRef((e,l)=>{let{id:n,features:o=[],text:a,title:r,dataId:d,...s}=e,[c,p]=(0,i.useMemo)(()=>{let e=o.length,t=o.length/2,l=e%2?t+1:t;return[o.slice(0,l),o.slice(l,e)]},[o]);return(0,t.jsx)(eG,{id:n,ref:l,"data-id":d,...s,children:(0,t.jsxs)(eW,{children:[(a||r)&&(0,t.jsxs)(eH,{children:[r&&(0,t.jsx)(ez.Heading,{heading:"h1",as:"h2",css:{mt:0,textAlign:"center",wordBreak:"break-word","@lg":{textAlign:"left"}},children:r}),a&&(0,t.jsx)(u.Text,{css:{color:"$copyWhite",textAlign:"center",wordBreak:"break-word","@lg":{textAlign:"left"}},children:a})]}),a||r?(0,t.jsxs)(eq,{children:[(0,t.jsx)(eY,{css:{pr:"$0","@md":{pr:"$8"}},children:c.map((e,l)=>(0,t.jsx)(eV,{item:e},l))}),(0,t.jsx)(eY,{children:p.map((e,l)=>(0,t.jsx)(eV,{item:e},l))})]}):(0,t.jsx)(eq,{uspOnly:!(a||r),children:o.map((e,l)=>(0,t.jsx)(eV,{item:e},l))})]})})}),eV=e=>{var l;let{item:i}=e,n=!!(null==(l=i.tooltip)?void 0:l.content);return(0,t.jsxs)(eU,{children:[(0,t.jsx)(eK,{children:i.image?(0,t.jsx)(c.Image,{src:i.image.src,alt:"",width:55,height:55,layout:"fixed",objectFit:"contain"}):null}),n?(0,t.jsx)(eQ,{children:(0,t.jsx)(eN.Tooltip,{children:e=>{var l;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eN.Tooltip.Trigger,{...e,href:i.tooltip.href,children:(0,t.jsx)(u.Text,{css:{fontWeight:900,color:null!=(l=i.tooltip.labelColor)?l:"$copyWhite",paddingLeft:"$4",textDecoration:"underline",textAlign:"left",display:"block",wordBreak:"break-word"},children:i.tooltip.label})}),(0,t.jsx)(eN.Tooltip.Content,{...e,sideOffset:12,align:"start",children:(0,t.jsx)(u.Text,{css:{fontSize:"$sm"},children:i.tooltip.content})})]})}})}):(0,t.jsx)(u.Text,{css:{color:"$copyWhite",fontWeight:900,paddingLeft:"$4"},children:i.text})]})},eG=(0,p.styled)("div",{width:"100%",boxSizing:"border-box",backgroundColor:"$bkgDarkTangaroa",px:"$2-5","@xl":{px:0}}),eW=(0,p.styled)(s.Container,{display:"flex",flexDirection:"column",justifyContent:"center",boxSizing:"border-box",alignItems:"center",padding:"$10 0 35px","@lg":{flexDirection:"row",padding:"$12-5 0"}}),eH=(0,p.styled)("div",{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",boxSizing:"border-box",padding:"$0 $2-5",color:"$copyWhite","@lg":{maxWidth:"40%",mr:"auto",p:"0 $5 0 $2-5",alignItems:"flex-start"},"@xl":{p:"0 $6 0 0"}}),eq=(0,p.styled)("div",{width:"100%",display:"flex",justifyContent:"flex-start",padding:"$5 $2-5 0",boxSizing:"border-box",flexDirection:"column","@md":{mt:0,flexDirection:"row",justifyContent:"center"},"@lg":{pt:0,width:"max-content",alignContent:"center",justifyContent:"center"},variants:{uspOnly:{true:{display:"grid","@md":{mt:0,justifyContent:"center",gridTemplateColumns:"1fr 1fr",gridTemplateRows:"auto auto auto",gridAutoFlow:"column",gap:"$3 $7-5"},"@lg":{gridTemplateColumns:"auto auto auto auto",gridTemplateRows:"auto auto",gap:"$3 $10"}},false:{"@md":{maxWidth:"60%"}}}}}),eU=(0,p.styled)("div",{display:"flex",justifyContent:"flex-start",alignItems:"center",py:"$1-5"}),eK=(0,p.styled)("div",{display:"flex",flexShrink:0,justifyContent:"center",alignItems:"center"}),eY=(0,p.styled)("div",{display:"flex",flexDirection:"column",flex:"1 1 0"}),eQ=(0,p.styled)("div",{margin:"$5 0",display:"flex",justifyContent:"center"});var eZ=e.i(98377);let eX=e=>{let{module:l}=e,{props:i}=eJ(l)||{};return i?(0,t.jsx)(eF,{...i,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},eJ=e=>{var t,l;let{data:i}=(0,eZ.useGetProductCard)();return e?{metadata:null,props:{id:null!=(l=e.id)?l:"product-feature",title:e.title,text:e.text,features:(null==i||null==(t=i.features)?void 0:t.map(e=>{var t,l,i,n,o,a;return e?{text:e.label,image:{src:null==(t=e.icon)?void 0:t.src,alt:null!=(a=null==(l=e.icon)?void 0:l.alt)?a:""},tooltip:{label:null==e?void 0:e.label,labelColor:null==e||null==(i=e.tooltip)?void 0:i.labelColor,content:null==e||null==(n=e.tooltip)?void 0:n.content,href:null==e||null==(o=e.tooltip)?void 0:o.href}}:null}))||[]}}:null};e.s(["default",()=>th],942189);var e0=e.i(147749),e1=e.i(346244),e5=e.i(683217);e.i(847413);var e2=e.i(317028);e.i(810615);var e3=e.i(436595);e.i(388008);var e6=e.i(879045);let e8=new Set([0,2,4,7,9,11]),e4=new Set([7,9,11]),e9={width:"315px"},e7={0:{slidesPerGroup:1,grid:{rows:2,fill:"row"}},767:{grid:{rows:2,fill:"row"}},1280:{slidesPerGroup:6,grid:{rows:2,fill:"row"}}},te=(e,t)=>
1'<div class="'+t+'" style="width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:none;"><div style="width:8px;height:8px;border:3px solid #c41130;border-radius:50%;"></div></div>',tt=i.default.forwardRef((e,l)=>{let{title:o,isDarkTheme:c,products:u,images:p,onClick:m,id:g,onSlideChangeTransitionEnd:v}=e,x=(0,i.useId)(),b="".concat(x,"_pagination"),f="".concat(x,"_next"),y="".concat(x,"_prev"),w=(0,i.useMemo)(()=>({nextEl:'[data-navigation="'.concat(f,'"]'),prevEl:'[data-navigation="'.concat(y,'"]')}),[f,y]),j=(0,i.useMemo)(()=>({type:"bullets",bulletElement:"a",el:'[data-pagination="'.concat(b,'"]'),clickable:!0,renderBullet:te}),[b]);return(0,t.jsxs)(s.Container,{size:"xl",ref:l,id:g,children:[(0,t.jsx)(ez.Heading,{heading:"h1",as:"h2",css:{textAlign:"center",mb:"$5"},children:o}),(0,t.jsx)(d.Swiper,{modules:[e1.Grid,e0.Navigation,r.Pagination,a.Keyboard,n.A11y],slidesPerView:"auto",spaceBetween:6,breakpoints:e7,navigation:w,pagination:j,keyboard:!0,grabCursor:!0,centerInsufficientSlides:!0,watchSlidesProgress:!0,onSlideChangeTransitionEnd:v,"data-component-id":"product-mosaic-swiper",children:u.map((e,l)=>{var i,n,o,a,r,s,u;let g=e8.has(l),v=e4.has(l);return(0,t.jsx)(d.SwiperSlide,{style:e9,"data-component-id":"product-mosaic-swiper-slide","data-product-index":(null==e?void 0:e.filler)?void 0:l,children:(0,t.jsx)(tl,{disabled:null==e?void 0:e.filler,href:(null==e?void 0:e.filler)||null==e||null==(i=e.detailPageLink)?void 0:i.href,targetType:null==e||null==(n=e.detailPageLink)?void 0:n.target,onClick:t=>{m(t,e,l)},style:{width:"100%",pointerEvents:(null==e?void 0:e.filler)?"none":"auto"},children:(0,t.jsxs)(ti,{isBigCard:g,isBigOnSecondRow:v,children:[(0,t.jsx)(tn,{css:{backgroundColor:c?"black":"white"},children:!(null==e?void 0:e.filler)&&(0,t.jsx)(to,{src:null==p||null==(o=p[l])?void 0:o.src,alt:null==p||null==(a=p[l])?void 0:a.alt,layout:"fill",objectFit:"contain"})}),!(null==e?void 0:e.filler)&&(0,t.jsxs)(ta,{css:{color:c?"white":"black"},children:[(null==e?void 0:e.discount)&&(null==e||null==(r=e.discount)?void 0:r.value)&&(0,t.jsx)(tr,{...null==e?void 0:e.discount,position:"left",highlightedLabel:null==e||null==(s=e.discount)?void 0:s.value,label:"",isMobileGrid:!0}),(0,t.jsx)(ts,{css:{color:c?"white":"black"},children:e.name}),(null==e?void 0:e.price)&&(0,t.jsx)(tc,{children:(0,t.jsx)(h.Price,{...e.price,css:{fontSize:"$lg",justifyContent:"center",color:c?"white":"black",display:"flex",alignItems:"baseline"},secondPriceCss:{color:c?"white":"black",marginLeft:"5px"}})}),(null==e||null==(u=e.detailPageLink)?void 0:u.href)&&(0,t.jsx)(td,{css:{"&:hover":{transform:"scale(1.1)",transition:"transform 0.3s ease-in-out"},"&:not(:hover)":{transform:"scale(1)",transition:"transform 0.3s ease-in-out"}},children:(0,t.jsx)(e3.Icon,{label:"",icon:"Arrow",fill:"white",css:{size:12}})})]})]})})},l)})}),(0,t.jsx)(tu,{"data-pagination":b,"data-component-id":"promo-banner-swiper-pagination"})]})}),tl=(0,e5.styled)(e6.Link,{textDecoration:"none"}),ti=(0,e5.styled)("div",{display:"grid",gridTemplateColumns:"1fr",gridTemplateRows:"1fr auto",width:"100%",variants:{isBigCard:{true:{height:"400px"},false:{height:"240px"}},isBigOnSecondRow:{true:{position:"absolute",top:-160,width:"100%"}}}}),tn=(0,e5.styled)("div",{gridRow:"1 /3",gridColumn:"1",position:"relative"}),to=(0,e5.styled)(c.Image,{}),ta=(0,e5.styled)("div",{position:"relative",height:"90px",gridRow:"2 /3",gridColumn:"1",paddingRight:"$3",paddingLeft:"$3",paddingBottom:"$3",display:"grid",gridTemplateColumns:"1fr auto",gridTemplateRows:"1fr 1fr 1fr",alignItems:"end",backgroundColor:"transparent"}),tr=(0,e5.styled)(e2.Badge,{display:"flex",flexDirection:"column",justifyContent:"center",gridRow:"1",gridColumn:"1",textAlign:"center",backgroundColor:"$bkgRed",color:"$copyWhite",bs:"0 $0-5 $1-5 rgba(#000000, 0.16)",lineHeight:"$3",fontSize:"$xs",width:"$11",height:"$6 !important",alignItems:"center",paddingRight:"2px !important"}),td=(0,e5.styled)("div",{width:"36px",height:"36px",borderRadius:"50%",backgroundColor:"$bkgRed",display:"flex",justifyContent:"center",alignItems:"center",gridRow:"2/4",gridColumn:"2"}),ts=(0,e5.styled)("div",{gridRow:"2",gridColumn:"1",display:"block",maxWidth:"230px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",fontSize:"12px",lineHeight:"20px",letterSpacing:"0.5px",textTransform:"uppercase"}),tc=(0,e5.styled)("div",{gridRow:"3",gridColumn:"1"}),tu=(0,e5.styled)("div",{textAlign:"center",display:"inline-flex",alignItems:"center",justifyContent:"center",marginTop:15,marginBottom:"$5",".swiper-pagination-bullet-active":{backgroundColor:"transparent !important"},".swiper-pagination-bullet-active > div":{backgroundColor:"#c41130 !important"}});var tp=e.i(282951),tm=e.i(822221);let tg=()=>{let{getTrackingData:e}=(0,ef.useTracking)();return{trackEventMosaicModule:t=>{(0,tm.logEventSelectProductMapper)({...e(),...t,moduleType:"MosaicModule"})},trackEventViewMosaicList:t=>(0,tp.logEventViewItemListMapper)({...e(),...t,moduleType:"MosaicModule"})}};var tv=e.i(562756);let th=e=>{let{module:l}=e,{props:i}=tx(l),{trackEventViewMosaicList:n}=tg(),{ref:o,onSlideChangeTransitionEnd:a}=(0,tv.useTrackVisibleProductsOnView)({products:i.products,moduleTitle:null==l?void 0:l.title,onView:n});return(0,t.jsx)("div",{ref:o,children:(0,t.jsx)(tt,{...i,onSlideChangeTransitionEnd:a})})},tx=e=>{let{trackEventMosaicModule:t}=tg();return{props:{id:e.id,title:e.title,isDarkTheme:e.isDarkTheme,images:e.images,products:(()=>
1{let t=[11,5,10,4,9,3,8,2,7,1,6,0],l=e.products.slice(0,12).map(e=>({name:e.name,discount:e.discount,price:e.price,detailPageLink:e.detailPageLink,filler:!1,moduleType:"PromoMosaic",pageType:"Homepage",...e})),i=Math.max(0,12-l.length),n=Array(12).fill(void 0);for(let e=0;e<i;e++)n[t[e]]={name:"",discount:void 0,price:void 0,detailPageLink:void 0,filler:!0};let o=0;for(let e=0;e<12&&o<l.length;e++)n[e]||(n[e]=l[o++]);for(let e=0;e<12;e++)n[e]||(n[e]={name:"",discount:void 0,price:void 0,detailPageLink:void 0,filler:!0});return n})(),onClick:(l,i,n)=>{t({type:e.__typename,text:e.title,product:i,moduleType:"PromoMosaic",pageType:"Homepage",index:n,moduleTitle:e.title}),l.stopPropagation()}}}};e.s(["trackBrazeBackInStockEvent",()=>tw],860334);var tb=e.i(310215),tf=e.i(84138);let ty=e=>{switch(e){case"US":return"kitchenaid.com";case"CA":return"kitchenaid.ca";default:return}},tw=async e=>{let t=(e=>({brand:tf.brandName,web_property:ty(e.country),country:e.country,locale:(0,tb.toDataLocale)(e.locale),model_number:e.modelNumber,product_detail_page_url:"https://www.".concat(ty(e.country)).concat(e.productDetailPageUrl),product_name:e.productName,product_image_url:e.productImageUrl}))(e),l=new ek.EventBuilder;l.setName(ej.AnalyticEvents.brazeBackInStockSignedUp),l.setLocale(e.locale),l.addBrazeCustomEvent(ej.AnalyticEvents.brazeBackInStockSignedUp,t,{email:e.email}),await (0,eS.sendEvents)(l.getEvent(),e.locale,!0)};e.s(["useAdditionalProductsInfos",()=>tS],715110);var tj=e.i(293466),tC=e.i(163725);let tk=async e=>e&&e.active&&e.additionalInfoIds&&e.locale?await ep.NextSelfClient.getAdditionalProductsInfo(e.locale,e.additionalInfoIds):[],tS=e=>{var t;let{locale:l}=(0,ea.useGetReactiveSiteData)().data,{data:n}=(0,tC.useGetSessionData)({locale:l}),o=(0,er.isEcommerceEnable)(l),a=(0,er.isAdditionalProductsInfoEnabled)(l),r=JSON.stringify((0,i.useMemo)(()=>[...e].sort(),[e])),d=(0,i.useMemo)(()=>a&&e.length>0&&o,[a,e,o]),s=(0,es.useQuery)({queryKey:[ec.QUERY_KEYS.ADDITIONAL_PRODUCTS_INFO,r,l,d,n.status,null==n||null==(t=n.user)?void 0:t.isAuthenticated],queryFn:()=>tk({additionalInfoIds:e,locale:l,active:d&&"loading"!==n.status}),retry:1});return d?s.isError?{status:tj.AdditionalInfoStatus.FAILED,error:"Error getting additional product info"}:s.isLoading||"loading"===n.status?{status:tj.AdditionalInfoStatus.PENDING}:s.isSuccess?{status:tj.AdditionalInfoStatus.SUCCESS,data:s.data}:{status:tj.AdditionalInfoStatus.FAILED,error:"Unknown error"}:{status:tj.AdditionalInfoStatus.NOT_AVAILABLE}};e.s(["trackEventViewItem",()=>tT],663424);let tI=async e=>{let t=e.locale;if(t)if(!(0,eC.getPublicConfigByLocale)(t).eventBuilderEnabled)return globalThis.dataLayer.push({ecommerce:null}),(0,eS.default)({name:ej.AnalyticEvents.viewItem,payload:e});else{let l=new ek.EventBuilder;return l.setLocale(t),l.setName(ej.AnalyticEvents.viewItem),l.addAnalyticsEvent(e),(0,eC.getPublicConfigByLocale)(t).algoliaEventsEnabled&&l.addAlgoliaEvent(ej.AnalyticEvents.viewItem,t,eI.AlgoliaEventType.View,e,!0),await (0,eS.sendEvents)(l.getEvent(),t,!0)}},tT=e=>{var t,l,i;let n=null==e||null==(t=e.metadata)?void 0:t.locale,o=(0,ew.productAnalyticPayloadMapper)(e.product,n);tI({...(0,ey.metadataAnalyticPayloadMapper)(e.metadata),ecommerce:{items:[{...o,item_list_name:null!=(i=null==(l=e.metadata)?void 0:l.pageType)?i:"",item_discount_label:o.discount_label,item_price:o.price,item_list_id:o.item_id}]}}).catch(e=>{console.error(e)})};e.s(["trackEventPDPColorChange",()=>t$],522806);let t$=e=>{let t;t={...(0,ey.metadataAnalyticPayloadMapper)(e.metadata),color_availability:e.colorChange.color_availability,color_name:e.colorChange.color_name,color_position:e.colorChange.color_position,previous_color_name:e.colorChange.previous_color_name,item_category:e.colorChange.item_category,item_category2:e.colorChange.item_category2,item_category3:e.colorChange.item_category3,item_category4:e.colorChange.item_category4,item_name:e.colorChange.item_name,item_variant:e.colorChange.item_variant,item_nc12code:e.colorChange.twelveNc,sku:e.colorChange.commercialCode},(0,eS.default)({name:ej.AnalyticEvents.pdpColorChange,payload:t})};e.s(["getNumberLabel",()=>t_],249159);let t_=(e,t,l)=>e?"".concat(e," ").concat(Number(e)>1?l:t):null},667996,e=>{"use strict";e.s(["calculateCodeDiscountPreviewPrice",()=>r,"calculateDiscountValue",()=>a,"calculateSavingPrice",()=>o,"computeDiscountBadge",()=>u,"isCodeDiscountApplied",()=>s,"resolveDisplayPrice",()=>d]),e.i(807204);var t=e.i(491581),l=e.i(900018),i=e.i(310215),n=e.i(451936);let o=(e,t,l)=>null!=e&&null!=t&&e>t?{savingPrice:(e-t).toFixed(2),savingPriceLabel:l||"Save"}:{savingPrice:null,savingPriceLabel:null},a=(e,t,i,n)=>{let o=null==t?void 0:t.currentValue,a=null==t?void 0:t.specialValue;if(!a||!o)return null;let r=null;if("Currency"===e){let e=o-a,t=Number.isInteger(e),d=(0,l.isRemoveCurrencySymbolSpacingEnabled)(n)?"".concat(i):" ".concat(i);r=c(n)?t?d+e.toString():d+e.toFixed(2).toString():t?e.toString()+d:e.toFixed(2).toString()+d}else{if("Percentage"!==e)return console.error("Invalid discount type",e),null;r=Math.round(-((1-a/o)*100)).toString()+"%"}return r},r=(e,t,n,a,r)=>{var d;let s=null!=(d=null==e?void 0:e.specialValue)?d:null==e?void 0:e.currentValue;if(null==s||!(null==t?void 0:t.discount)||!n)return e;let u=Math.max(0,Number(("percentage"===t.discountType?s*(1-t.discount/100):s-t.discount).toFixed(2))),p=(0,l.isRemoveCurrencySymbolSpacingEnabled)(a)?"":" ",m=u.toLocaleStr
1ing((0,i.toISOLocale)(a),{minimumFractionDigits:2}),g=c(a)?"".concat(n).concat(p).concat(m):"".concat(m).concat(p).concat(n);return{...e,special:g,specialValue:u,...o(e.currentValue,u,r)}},d=e=>{let{price:t,codeDiscount:i,cmsSpecialValue:n,codeApplied:o,hasCart:a,includesCodeDiscount:d,locale:s,currencySymbol:c,savingPriceLabel:u}=e;return(0,l.isDiscountCodePriceUpdateEnabled)(s)&&o&&!a&&!d&&i&&t?r("coupon"===i.codeType?{...t,specialValue:null!=n?n:null}:t,i,null!=c?c:"",s,u):t},s=(e,t)=>{var l,i,o,a;if(!e)return!1;let r=(null!=(a=null==t||null==(l=t.items)?void 0:l.length)?a:0)>0,d=null==t?void 0:t.appliedPromoCodes;if(r&&null!=d){let t=e.toUpperCase();return d.some(e=>(null==e?void 0:e.toUpperCase())===t)}return(null==(o=globalThis)||null==(i=o.localStorage)?void 0:i.getItem("".concat(n.LOCAL_STORAGE_KEYS.CODE_DISCOUNT).concat(e)))!==null},c=e=>e===t.Locale.EnUs,u=(e,t,i,n)=>{var o,r,d,s,c;if(null==e?void 0:e.hidePromotions)return null;if(!((0,l.isAdditionalProductInfoEnabled)(i)&&(0,l.isDynamicDiscountsEnabled)(i)))return(null==e?void 0:e.discount)?{highlightedLabel:e.discount.value,label:e.discount.label,templatedLabel:e.discount.templateLabel,position:"left",loading:!1}:null;if(null==e?void 0:e.discountValue)return{highlightedLabel:e.discountValue,label:null==e||null==(d=e.discount)?void 0:d.label,templatedLabel:null==e||null==(s=e.discount)?void 0:s.templateLabel,position:"left",loading:!1};if(null==t?void 0:t.isLoading)return{highlightedLabel:null,label:null,position:"left",loading:!0};let u=a(null!=(c=null==e?void 0:e.discountType)?c:"Percentage",t,null!=n?n:"",i);return null===u?null:{highlightedLabel:u,label:null==e||null==(o=e.discount)?void 0:o.label,templatedLabel:null==e||null==(r=e.discount)?void 0:r.templateLabel,position:"left",loading:!1}}},88373,985713,90653,530807,563180,230571,609596,680713,571553,e=>{"use strict";e.s(["default",()=>eB],88373);var t=e.i(391398),l=e.i(448924);e.i(810615);var i=e.i(436595);e.i(261354);var n=e.i(189163);e.i(89885);var o=e.i(119177),a=e.i(412402);e.i(881538);var r=e.i(46541);e.i(543336);var d=e.i(345970),s=e.i(878549),c=e.i(860334),u=e.i(610019),p=e.i(715110),m=e.i(663424),g=e.i(818119),v=e.i(112987),h=e.i(790321),x=e.i(943622),b=e.i(719559),f=e.i(163725),y=e.i(962027),w=e.i(98377),j=e.i(191788),C=e.i(522806),k=e.i(304008),S=e.i(249159),I=e.i(667996),T=e.i(310215),$=e.i(451936),_=e.i(600615),P=e.i(724096),L=e.i(900018),A=e.i(558021),E=e.i(18199),D=e.i(166146),R=e.i(650804),M=e.i(479909);let O=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",l=arguments.length>2?arguments[2]:void 0;window.postMessage({type:D.POST_MESSAGES.ADD_TO_CART_POPUP+t,...e?{showPopup:"true",engraving:JSON.stringify(l.text)}:{}},"*")};var B=e.i(194182);e.i(20479);var z=e.i(706701),N=e.i(704977),F=e.i(224669),V=e.i(646935),G=e.i(670451),W=e.i(230569);let H=()=>{var e;
1let t=null==(e=document)?void 0:e.querySelector('#bv-ips-step-0 [id^="bv-ips-star-rating-"][aria-checked="true"]');if(!t)return null;let l=t.id.match(/bv-ips-star-rating-(\d)/);return l?Number(l[1]):null};var q=e.i(203828),U=e.i(781065),K=e.i(610686),Y=e.i(820627),Q=e.i(755939);e.i(807204);var Z=e.i(293466),X=e.i(491581),J=e.i(65538),ee=e.i(66294);let et="creditCardPaymentGroup",el={label:"pdp_installment_label",modalTitle:"pdp_installment_modal_title",monthlySuffix:"pdp_installment_monthly_suffix",durationSingular:"pdp_installment_duration_singular",durationPlural:"pdp_installment_duration_plural",interestLabel:"pdp_installment_interest_label",totalLabel:"pdp_installment_total_label"},ei={label:"Descubre en cuántos pagos",modalTitle:"Opciones de pago a meses",monthlySuffix:"cada mes",durationSingular:"1 mes",durationPlural:"{{count}} meses",interestLabel:"Interés ({{apr}}% APR)",totalLabel:"Total de pagos"};function en(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().replace(/\([^)]*\)/g,"").replace(/[^a-z0-9]/g,"")}let eo={amex:["americanexpress"],americanexpress:["amex"]};function ea(e){var t;let l=new Set([e]);for(let i of null!=(t=eo[e])?t:[])l.add(i);return e.includes("americanexpress")&&(l.add("americanexpress"),l.add("amex")),[...l]}function er(e,t,l){return"".concat(t).concat((e/100).toLocaleString(l,{minimumFractionDigits:2,maximumFractionDigits:2}))}function ed(e){var t;return(null!=(t=e.installments)?t:[]).filter(e=>"number"==typeof e.count&&e.count>0&&"number"==typeof e.value&&e.value>0)}var es=e.i(92178);let ec=async e=>{var t,l,i,n,o,a,r,d,s,c,u,p,m,g,v,h,x,b,f,y,w,j,C,k,S,I;let T;T={custom_event_timestamp:Date.now(),event_name:"product_abandonment",ga_user_cookie:(0,G.getCookieFromClient)("_ga"),client_side_third_party_resolve:"reachable",twelve_nc:e.twelveNc,email:e.payload.email,zip_code:e.payload.zipCode,country:e.payload.country,items:[{item_name:null==(t=e.payload.productCard)?void 0:t.name,item_id:null==(l=e.payload.productCard)?void 0:l.skuId,item_nc12code:null==(i=e.payload.productCard)?void 0:i.twelveNc,item_brand:"KitchenAid",item_category:null==(o=e.payload.productCard)||null==(n=o.category)?void 0:n.path[0],item_category2:null==(d=e.payload.productCard)||null==(r=d.category)||null==(a=r.path)?void 0:a[1],item_category3:null==(c=e.payload.productCard)||null==(s=c.category)?void 0:s.name,item_variant:null==(u=e.payload.productCard)?void 0:u.colorLabel,price:null==(p=e.payload.productCard)?void 0:p.price.currentValue,currency:null==(m=e.payload.productCard)?void 0:m.price.currency,discount:(null==(v=e.payload.productCard)||null==(g=v.price)?void 0:g.specialValue)!==void 0&&(null==(x=e.payload.productCard)||null==(h=x.price)?void 0:h.currentValue)!==(null==(f=e.payload.productCard)||null==(b=f.price)?void 0:b.specialValue)?(null==(w=e.payload.productCard)||null==(y=w.price)?void 0:y.currentValue)-(null==(C=e.payload.productCard)||null==(j=C.price)?void 0:j.specialValue):0,discount_label:(null==(S=e.payload.productCard)||null==(k=S.discount)?void 0:k.value)||0,item_availability:(null==(I=e.payload.productCard)?void 0:I.actionType)==="addToCart"?"IN_STOCK":"OUT_OF_STOCK"}]},(0,V.default)({name:F.AnalyticEvents.productAbandonment,payload:T,options:{avoidToPushWithDataLayer:!0}})};var eu=e.i(210338),ep=e.i(770640),em=e.i(933534);e.s(["getDisplayBadgeAtom",()=>eg,"shouldShowBadge",()=>ev],985713);let eg=e=>{var t,l,i,n,o,a,r,d;if(!e)return;let s=null!=(n=null==(t=e.badges)?void 0:t.filter(Boolean))?n:[],c=null!=(r=null!=(a=null!=(o=e.twelveNc)?o:e.twelvenc)?a:null==(l=e.sku)?void 0:l.toString())?r:e.objectID;return c&&(null==(i=e.badgeExcludedProductsTwelveNcs)?void 0:i.includes(c))?s.find(e=>(null==e?void 0:e.source)!=="cms"):null!=(d=s[0])?d:e.badge},ev=(e,t)=>{let l=null==e?void 0:e.visibility;if(void 0===l)return!0;switch(l){case X.BadgeVisibility.logged_in:return t;case X.BadgeVisibility.guest:return!t;default:return!0}};e.s(["useUndeliverableProductCheck",()=>eb],90653);var eh=e.i(948920),ex=e.i(259820);let eb=function(){var e,t;let{setLoading:l}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=(0,y.useQueryClient)(),{data:n}
1=(0,P.useGetReactiveSiteData)(),o=(0,j.useRef)(null),{openModal:a}=(0,ex.useDeliverableProductModal)(),{zipCode:d,locale:s,zipCodeDialogOpen:c}=n||{},[u,p]=(0,j.useState)(null);(0,j.useEffect)(()=>{let e=(0,G.getZipCodeFromCookie)();c||d||e||(o.current=null,p(null))},[c]);let m=null==(e=(0,eh.getPublicConfigByLocale)(s).undeliverableProductsCheck)?void 0:e.rdcRestrictionEnabled,g=null==(t=(0,eh.getPublicConfigByLocale)(s).undeliverableProductsCheck)?void 0:t.areaRestrictionEnabled,v=(0,j.useCallback)(e=>{var t;return null==e||null==(t=e.colors)?void 0:t.find(t=>(null==t?void 0:t.twelvenc)===(null==e?void 0:e.twelveNc))},[]),h=(0,j.useCallback)(async(e,t)=>{if(!(null==e?void 0:e.additionalInfoId))return void console.error("No additional info ID provided for deliverability check.");try{var i,n;null==l||l(!0);let r=await R.NextSelfClient.getAdditionalProductInfo(s,e.additionalInfoId,t,null==e||null==(i=e.seller)?void 0:i.id);null==l||l(!1),(null==r?void 0:r.isDeliverable)?o.current():g&&(null==(n=v(e))?void 0:n.modalRestriction)?(console.warn("Area restriction enabled â cannot deliver to this ZIP code.!"),a(e,ex.UnDeliverableModalType.UNDELIVERABLE)):m?(console.warn("Product is not deliverable to the current ZIP code.!"),a(e,ex.UnDeliverableModalType.WHEN_AVAILABLE)):o.current()}catch(e){console.error("Deliverability check failed:",e)}finally{o.current=null}},[g,s,a,m]);return(0,j.useEffect)(()=>{d&&o.current&&u&&h(u,d)},[d]),{handleZipCodeCheckAndExecute:(e,t)=>{let l=v(t);if(!m&&(!g||!(null==l?void 0:l.modalRestriction)))return void e();o.current=e,p(t);let n=(0,G.getZipCodeFromCookie)();d||n?h(t,d||n):i.setQueryData(P.useGetSiteData.queryKey,e=>({...e,zipCodeDialogOpen:!0}))},getProductActionType:(e,t,l,i)=>i?r.ProductActionType.backInStockNotification:e&&!i?r.ProductActionType.addToCart:g&&l?r.ProductActionType.notDeliverable:m?r.ProductActionType.backInStockNotification:t,openUndeliverableModal:a}};var ef=e.i(565137),ey=e.i(642474);let ew=new Set(["add-on","addon","add_on","addon_toggle","addontoggle","optional-accessory","optional_accessory","optionalaccessory","accessory"]),ej=e=>{var t;return null!=(t=null==e?void 0:e.targetProduct)?t:null==e?void 0:e.product},eC=(e,t)=>{var l,i,n;return(null==e?void 0:e.id)||(null==(l=ej(e))?void 0:l.twelveNc)||(null==(i=ej(e))?void 0:i.parentPartNumber)||(null==(n=ej(e))?void 0:n.skuId)||(null==e?void 0:e.twelveNc)||(null==e?void 0:e.parentPartNumber)||(null==e?void 0:e.skuId)||"".concat(t)},ek=e=>{var t,l;return(null==e||null==(t=e.title)?void 0:t.trim())||(null==e||null==(l=e.label)?void 0:l.trim())||""},eS=e=>{var t;return(null==(t=ej(e))?void 0:t.skuId)||(null==e?void 0:e.skuId)||""},eI=e=>{var t;return(null==(t=ej(e))?void 0:t.additionalInfoId)||(null==e?void 0:e.additionalInfoId)||eS(e)},eT=e=>{var t;return(null==(t=ej(e))?void 0:t.twelveNc)||(null==e?void 0:e.twelveNc)||""},e$=e=>ew.has((e=>{var t;return null!=(t=null==e?void 0:e.trim().toLowerCase().replace(/\s+/g,"-").replace(/_/g,"-"))?t:""})(null==e?void 0:e.type)),e_=e=>{var t;let{item:l,toggleOptionPriceMap:i}=e,n=eI(l),o=eS(l),a=(n?null==i?void 0:i[n]:void 0)||(o?null==i?void 0:i[o]:void 0);return a||(null==(t=ej(l))?void 0:t.price)||(null==l?void 0:l.price)};var eP=e.i(645713),eL=e.i(717929),eA=e.i(971255),eE=e.i(869597),eD=e.i(212102);function eR(e){let{urls:l}=e;return(0,t.jsx)("script",{type:"speculationrules",dangerouslySetInnerHTML:{__html:JSON.stringify({prerender:[{urls:l,eagerness:"moderate"}]})}})}var eM=e.i(979287);let eO={},eB=e=>{var l,i;let{module:o,productOverviewCtaId:d,anchorBarLinks:s,showAnchorBar:c,anchorBarActiveLink:u,isProductOverviewCtaScrolled:p,locale:m,categories:g,setProductColor:v,page:h}=e,{props:x,isLoading:b,addToCartAnimation:f}=ez({module:o,productOverviewCtaId:d,locale:m,categories:g,page:h,setProductColor:v})||{},{isAnimating:y,childRef:w,onAnimationEnd:C}=f,{cta:k,color:S,price:I,name:T,colors:$}=x;return((0,j.useEffect)(()=>{var e,t,l;(null==(e=x.personalisationOnPDP)?void 0:e.isEnable)&&((null==x||null==(t=x.personalisationOnPDP)?void 0:t.formControl.getFieldState("engraving").invalid)||(0,E.setAndRemovePDPUserSelection)(null==(l=x.personalisationOnPDP)?void 0:l.formControl.setValue,m))},[m]),(0,j.useEffect)(()=>{var e,t,l;(0,E.savePDPUserSelection)(null==(t=x.personalisationOnPDP)||null==(e=t.formControl)?void 0:e.watch,null==x||null==(l=x.personalisationOnPDP)?void 0:l.formControl.getFieldState,m)},[null==(i=x.personalisationOnPDP)||null==(l=i.formControl)?void 0:l.watch,m]),x)?(0,t.jsxs)(t.Fragment,{children:[b&&!y?(0,t.jsx)(n.Loader,{}):null,(0,L.isAddToCartAnimationEnabled)(m)&&(0,t.jsx)(eA.default,{ref:w,onAnimationEnd:C}),(0,t.jsx)(eR,{urls:$.filter(e=>{var t;return null==(t=e.cta)?void 0:t.active}).map(e=>e.cta.href)}),(0,t.jsx)(a.ProductStickyAddToCart,{cta:k,color:S,price:{...I}
1,name:T,locale:m,isOpen:p,showAnchorBar:c,anchorBarLinks:s,anchorBarActiveLink:u,isCordless:x.isCordless,toggleWidget:x.toggleWidget,personalisationOnPDP:x.personalisationOnPDP,isEmailWhenAvailable:x.isEmailWhenAvailable,emailWhenAvailableDialog:x.emailWhenAvailableDialog,isEngravingEmojiEnabled:x.isEngravingEmojiEnabled,engravingVerifyZipCode:x.engravingVerifyZipCode}),(0,t.jsx)(r.ModuleProductOverview,{...x,locale:m,dataId:"module-"+(null==o?void 0:o.sequenceOrder)})]}):null},ez=e=>{var n,a,d,g,eo,ew,ej,eA,eR,eB,ez,eV,eG,eW,eq,eK,eY,eQ,eZ,eX,eJ,e0,e1,e5,e2,e3,e6,e8,e4,e9,e7,te,tt,tl,ti,tn,to,ta,tr,td,ts,tc,tu,tp,tm,tg,tv,th,tx,tb,tf,ty,tw,tj,tC,tk,tS,tI,tT,t$,t_;let{module:tP,productOverviewCtaId:tL,locale:tA,categories:tE,page:tD,setProductColor:tR}=e,tM=(0,eE.useAddToCartAnimation)(tA),{addToCartPopupData:tO}=(0,v.useAddToCartPopupMapper)(tA),{addToCart:tB,addBundleToCart:tz,isLoading:tN,setIsLoading:tF}=(0,u.useAddToCart)({locale:tA}),{personalisationAddToCart:tV,isLoading:tG}=(e=>{let{locale:t}=e,l="",i="",[n,a]=(0,j.useState)(!1),r=(0,f.useGetSessionData)({locale:t}),{data:d}=(0,b.useGetTranslations)({locale:t}),s=(0,y.useQueryClient)();return{personalisationAddToCart:(e,n,c)=>(i=e.skuId,l=e.skuId.split("_")[e.skuId.split("_").length-1],a(!0),((e,t,l,n,a,r,c)=>R.NextSelfClient.pdpAddToCartPersonalisation(e,{mainItem:{twelveNc:l,skuId:t},stepsVisited:0,engraving:n,offering:a}).then(async e=>{var t,l,a,u;if(r(!1),(null==e||null==(t=e.messages)?void 0:t.length)||!(null==e?void 0:e.success)){let[t]=(null==e?void 0:e.messages)||[],i=(null==e||null==(a=e.messages)||null==(l=a[0])?void 0:l.htmlText)||d[t||"defaultInvalidEngravingErrorMessage"];o.toast.error(null!=(u=null!=i?i:null==d?void 0:d.account_registration_generic_error)?u:"Error");return}return c(t=>{var l,i;t.cart.id=null==e?void 0:e.cartId,t.cart.count=null==e?void 0:e.totalItemCount,t.cart.encodedCart=null!=(i=null==e?void 0:e.encodedCart)?i:null==e?void 0:e.encoded,t.cart.items=null==e||null==(l=e.items)?void 0:l.map(e=>e.twelveNc)}),s.invalidateQueries(M.useGetMiniCart.queryKey),O(!0,i,n),window.postMessage({type:D.POST_MESSAGES.PDP_PERSONALISATION_TRIGGER_RESET},"*"),window.postMessage({type:D.POST_MESSAGES.PDP_PERSONALISATION_TRIGGER_GALLERY_INIT},"*"),e}))(t,l,e.twelveNc,n,c,a,r.setSessionData)),isLoading:n}})({locale:tA}),{trackEventViewProductList:tW,trackEventProductClick:tH}=(0,h.useTrackEventsProductRelated)(),{data:tq,isFetching:tU}=(0,f.useGetSessionData)({locale:tA}),tK=(0,y.useQueryClient)(),{data:tY}=(0,w.useGetProductCard)(),{data:tQ}=(0,P.useGetSiteData)(),{data:tZ}=(0,b.useGetTranslations)({locale:tA}),tX=(0,U.usePDPPersonalisation)(tA,tY),{price:tJ,includesCodeDiscount:t0}=(e=>{var t,l,i,n,o;let a,{productCard:r,locale:d}=e,s=(0,L.isGuestDynamicPricesEnabled)(d),{data:c}=(0,P.useQueryGetSiteData)(),{data:u}=(0,b.useGetTranslations)({locale:d}),p=(0,f.useGetSessionData)({locale:d}),m=null==r?void 0:r.codeDiscount,g=(null==m?void 0:m.codeType)==="marketingTag";(0,L.isDiscountCodePriceUpdateEnabled)(d)&&(null==m?void 0:m.code)&&g&&(a=(0,I.isCodeDiscountApplied)(m.code,null==p||null==(o=p.data)?void 0:o.cart)?m.code:void 0);let v=(0,Q.useAdditionalProductInfo)(null==r?void 0:r.additionalInfoId,null==r||null==(t=r.seller)?void 0:t.id,a,a?null==m?void 0:m.codeType:void 0),h=(0,j.useMemo)(()=>{var e,t,l;return s||null!=(l=null==p||null==(t=p.data)||null==(e=t.user)?void 0:e.isAuthenticated)&&l},[s,null==p||null==(i=p.data)||null==(l=i.user)?void 0:l.isAuthenticated]),x=(0,j.useCallback)(e=>{var t;if(!(null==r||null==(t=r.price)?void 0:t.current)||!(null==r?void 0:r.showPrice))return null;let l=!r.price.currentValue&&0===r.price.specialValue;return{current:r.price.current,currentValue:r.price.currentValue,special:r.price.special,specialValue:r.price.specialValue,...l?{freeLabel:null==u?void 0:u.priceFreeLabel}:{},valueAddedTaxLabel:null==u?void 0:u.valueAddedTaxLabel,showVatLabel:!0,isEcoTaxAllowedToShow:!0,showEcoTax:(0,L.isEcoTaxEnable)(d)&&void 0!==r.ecoPartPrice,ecoTaxPrice:r.ecoPartPrice,ecoTaxLabel:null==u?void 0:u.eco_tax_label,ecoTaxDescription:null==u?void 0:u.eco_tax_description,...(0,I.calculateSavingPrice)(r.price.currentValue,r.price.specialValue,null==u?void 0:u.pdp_saving_price),isDeliverable:!0,isLoading:e,isPdpPage:!0,isRefurbished:null==r?void 0:r.isRefurbished}},[r,u,d]),y=(0,j.useMemo)(()=>x(h),[x,h]),w=(0,j.useMemo)(()=>
1x(!1),[x]),[C,k]=(0,j.useState)(y);return(0,j.useEffect)(()=>{if(null!==C){if(!h)return void k(y);if("not-available"===v.status)return void k((0,K.produce)(C,e=>{e.isLoading=!1}));if("pending"===v.status)return void k((0,K.produce)(C,e=>{e.isLoading=!0}));if("failed"===v.status)return void k((0,K.produce)(C,e=>{e.isLoading=!1}));if("success"===v.status&&v.data.price){let e=v.data.price,t=v.data.isDeliverable,l=v.data.countdownTimer,i=v.data.shippingEstimateDate,n=c.currency.symbol,o=(0,T.toISOLocale)(d),a=(0,Y.getPriceFormatOptions)((0,L.isHidePriceCentsEnabled)(d)),r=(null==e?void 0:e.specialPrice)!==(null==e?void 0:e.currentPrice),s=(null==e?void 0:e.specialPrice)===0;k((0,K.produce)(C,d=>{var c,p;d.current="".concat(n," ").concat(null==e||null==(c=e.currentPrice)?void 0:c.toLocaleString(o,a)),d.special=s?null==e?void 0:e.specialPriceLabel:r?"".concat(n," ").concat(null==e||null==(p=e.specialPrice)?void 0:p.toLocaleString(o,a)):null,d.currentValue=null==e?void 0:e.currentPrice,d.specialValue=r||s?null==e?void 0:e.specialPrice:null;let{savingPrice:m,savingPriceLabel:g}=(0,I.calculateSavingPrice)(null==e?void 0:e.currentPrice,null==e?void 0:e.specialPrice,null==u?void 0:u.pdp_saving_price);d.savingPrice=m,d.savingPriceLabel=g,d.shippingEstimateDate=i,d.isDeliverable=t,d.countdownTimer=l,d.isLoading=!1}))}else"success"!==v.status||v.data.price?k((0,K.produce)(C,e=>{e.isLoading=!1})):k(w)}},[v.status,h,v]),{price:C,includesCodeDiscount:!!a&&h&&"success"===v.status&&!!(null==(n=v.data)?void 0:n.price)}})({productCard:tY,locale:tA}),t1=(e=>{var t,l;let{locale:i,additionalInfoId:n}=e,{data:o}=(0,P.useQueryGetSiteData)(),{data:a}=(0,b.useGetTranslations)({locale:i}),{data:r}=(0,J.useGetFooter)({locale:i}),d=(0,Q.useAdditionalProductInfo)(null!=n?n:""),s=null==o||null==(t=o.currency)?void 0:t.symbol;return(0,j.useMemo)(()=>{var e;return i===X.Locale.EsMx&&n&&d.status===Z.AdditionalInfoStatus.SUCCESS&&s?function(e){let{installmentOptions:t,copy:l,translations:i,currencySymbol:n,isoLocale:o,footerPaymentMethodImages:a}=e,r=null!=l?l:{label:(null==i?void 0:i[el.label])||ei.label,modalTitle:(null==i?void 0:i[el.modalTitle])||ei.modalTitle,monthlySuffix:(null==i?void 0:i[el.monthlySuffix])||ei.monthlySuffix,durationSingular:(null==i?void 0:i[el.durationSingular])||ei.durationSingular,durationPlural:(null==i?void 0:i[el.durationPlural])||ei.durationPlural,interestLabel:(null==i?void 0:i[el.interestLabel])||ei.interestLabel,totalLabel:(null==i?void 0:i[el.totalLabel])||ei.totalLabel};if(null===function(e){if(!(null==e?void 0:e.length))return null;let t=null;for(let i of e){var l;if(i.paymentGroupName===et)for(let e of null!=(l=i.installments)?l:[])"number"==typeof e.value&&!(e.value<=0)&&(null===t||e.value<t)&&(t=e.value)}return t}(t))return null;let d=function(e){let{installmentOptions:t,currencySymbol:l,isoLocale:i,copy:n=ei}=e,o=function(e){let t,l=0;for(let i of(null!=e?e:[]).filter(e=>{var t;return e.paymentGroupName===et&&(null==(t=e.installments)?void 0:t.some(e=>"number"==typeof e.value&&e.value>0))})){let e=ed(i).length;e>l&&(l=e,t=i)}return t}(t);if(!o)return[];let a=ed(o);return a.length?[...a].sort((e,t)=>{var l,i;return(null!=(l=e.count)?l:0)-(null!=(i=t.count)?i:0)}).map(e=>{var t,o,a;return{count:e.count,monthlyAmountLabel:"".concat(er(e.value,l,i)," ").concat(n.monthlySuffix).trim(),durationLabel:(t=e.count,1===t?n.durationSingular:(0,ee.pupa)(n.durationPlural,{count:t},{ignoreMissing:!0})),interestLabel:(o=n.interestLabel,(0,ee.pupa)(o,{apr:(a=e).hasInterestRate&&null!=a.interestRate?a.interestRate.toFixed(2):"0.00"},{ignoreMissing:!0})),interestAmountLabel:er(function(e){var t,l,i;let n=null!=(t=e.count)?t:0,o=null!=(l=e.value)?l:0,a=null!=(i=e.total)?i:o*n;return n&&o&&e.hasInterestRate?Math.max(0,a-o*n):0}(e),l,i),totalLabel:n.totalLabel,totalAmountLabel:er(function(e){var t,l;let i=null!=(t=e.count)?t:0,n=null!=(l=e.value)?l:0;return"number"==typeof e.total&&e.total>0?e.total:n*i}(e),l,i)}}):[]}({installmentOptions:t,currencySymbol:n,isoLocale:o,copy:r});return d.length?{labelText:r.label,modalTitle:r.modalTitle,paymentIcons:function(e,t){let l=function(e){let t=new Set;for(let n of null!=e?e:[]){var l,i;if(n.paymentGroupName!==et)continue;let e=null==(l=n.paymentName)?void 0:l.trim();e&&(null==(i=n.installments)?void 0:i.some(e=>"number"==typeof e.value&&e.value>0))&&t.add(e)}return[...t]}(e);return l.length&&(null==t?void 0:t.length)?t.filter(e=>"string"==typeof(null==e?void 0:e.src)&&e.src.length>0&&l.some(t=>{var l;return function(e,t){let l=en(e),i=en(t);if(!l||!i)return!1;let n=ea(l),o=ea(i);return n.some(e=>o.some(t=>t.includes(e)||e.includes(t)))}
1(t,null!=(l=e.alt)?l:"")})).map(e=>{var t;return{src:e.src,alt:null!=(t=e.alt)?t:""}}):[]}(t,a),plans:d}:null}({installmentOptions:d.data.installmentOptions,translations:a,currencySymbol:s,isoLocale:(0,T.toISOLocale)(i),footerPaymentMethodImages:null==r||null==(e=r.paymentMethods)?void 0:e.images}):null},[i,n,d,s,a,null==r||null==(l=r.paymentMethods)?void 0:l.images])})({locale:tA,additionalInfoId:null==tY?void 0:tY.additionalInfoId}),t5=(e=>{let{productCard:t}=e;return t?(0,em.badgeFieldsToBadgePropsV2)(eg(t)):null})({productCard:tY}),[t2,t3]=(0,j.useState)(!1),[t6,t8]=(0,j.useState)(!1);(0,j.useEffect)(()=>{var e;t3((0,I.isCodeDiscountApplied)(null==tY||null==(e=tY.codeDiscount)?void 0:e.code,null==tq?void 0:tq.cart))},[null==tY||null==(n=tY.codeDiscount)?void 0:n.code,null==tq||null==(d=tq.cart)||null==(a=d.items)?void 0:a.length,null==tq||null==(g=tq.cart)?void 0:g.appliedPromoCodes]);let t4=(null!=(tT=null==tq||null==(ew=tq.cart)||null==(eo=ew.items)?void 0:eo.length)?tT:0)>0,t9=(0,j.useRef)(!1);t9.current=t4;let t7=(0,j.useCallback)(async()=>{var e,t,l,i,n,o;if(!(null==tY?void 0:tY.codeDiscount))return;let{code:a,codeType:r}=tY.codeDiscount,d="".concat($.LOCAL_STORAGE_KEYS.CODE_DISCOUNT).concat(a);if(!t9.current){null==(t=globalThis)||null==(e=t.sessionStorage)||e.setItem(_.SESSION_STORAGE_KEYS.CODE_DISCOUNT_INTENT,JSON.stringify({code:a,codeType:r})),null==(i=globalThis)||null==(l=i.localStorage)||l.setItem(d,null!=r?r:"true"),t3(!0);return}t8(!0);try{let e=await R.NextSelfClient.updatePromoCode(tA,{action:"add",promoCode:a,codeType:r});if(!e||(null==e?void 0:e.success)===!1){let t=(null==e?void 0:e.status)===422;throw Error(t?"inactive":"generic")}null==(o=globalThis)||null==(n=o.localStorage)||n.setItem(d,null!=r?r:"true"),t3(!0),await tK.invalidateQueries([ey.QUERY_KEYS.ADDITIONAL_PRODUCT_INFO]),tK.invalidateQueries([ey.QUERY_KEYS.ADDITIONAL_PRODUCTS_INFO]),tK.invalidateQueries(M.useGetMiniCart.queryKey),tK.invalidateQueries(ey.QUERY_KEYS.SESSION)}finally{t8(!1)}},[null==tY?void 0:tY.codeDiscount,tA,tK]),le=(0,j.useCallback)(async()=>{var e,t,l,i,n,o,a,r,d,s;if(!(null==tY?void 0:tY.codeDiscount))return;let{code:c,codeType:u}=tY.codeDiscount,p="".concat($.LOCAL_STORAGE_KEYS.CODE_DISCOUNT).concat(c);if(!t9.current&&(null==(t=globalThis)||null==(e=t.sessionStorage)?void 0:e.getItem(_.SESSION_STORAGE_KEYS.CODE_DISCOUNT_INTENT))){null==(i=globalThis)||null==(l=i.sessionStorage)||l.removeItem(_.SESSION_STORAGE_KEYS.CODE_DISCOUNT_INTENT),null==(o=globalThis)||null==(n=o.localStorage)||n.removeItem(p),t3(!1);return}t8(!0);try{let e=await R.NextSelfClient.updatePromoCode(tA,{action:"remove",promoCode:c,codeType:u});if(!e||(null==e?void 0:e.success)===!1)throw Error("generic");null==(r=globalThis)||null==(a=r.sessionStorage)||a.removeItem(_.SESSION_STORAGE_KEYS.CODE_DISCOUNT_INTENT),null==(s=globalThis)||null==(d=s.localStorage)||d.removeItem(p),t3(!1),await tK.invalidateQueries([ey.QUERY_KEYS.ADDITIONAL_PRODUCT_INFO]),tK.invalidateQueries([ey.QUERY_KEYS.ADDITIONAL_PRODUCTS_INFO]),tK.invalidateQueries(M.useGetMiniCart.queryKey),t9.current&&tK.resetQueries(ey.QUERY_KEYS.CART),tK.invalidateQueries(ey.QUERY_KEYS.SESSION)}finally{t8(!1)}},[null==tY?void 0:tY.codeDiscount,tA,tK]),lt=(e=>{var t,l,i,n;let{productCard:o,locale:a}=e,r=(0,Q.useAdditionalProductInfo)(null==o?void 0:o.additionalInfoId,null==o||null==(t=o.seller)?void 0:t.id);return(0,L.isStockInfoEnabled)(a)?r.status===Z.AdditionalInfoStatus.PENDING?{isOutOfStock:!1,isDeliverable:!0,loading:!0}:r.status===Z.AdditionalInfoStatus.FAILED?{isOutOfStock:!1,isDeliverable:!0,loading:!1}:r.status===Z.AdditionalInfoStatus.SUCCESS?{isOutOfStock:null==(l=r.data)?void 0:l.outOfStock,isDeliverable:null==(n=null==(i=r.data)?void 0:i.isDeliverable)||n,loading:!1}:void 0:{isOutOfStock:!1,isDeliverable:!0,loading:!1}})({productCard:tY,locale:tA}),{trackEventContactFormSubmission:ll}=(0,eu.useTrackEventsCustomerCareTracking)(),{asPath:li}=(0,q.useRouter)(),ln=(0,L.isProductAbandonementEnabled)(tA),lo=(0,L.isProductCrossSellEnabled)(tA),{getProductActionType:la,handleZipCodeCheckAndExecute:lr,openUndeliverableModal:ld}=eb(),ls=null==tq||null==(eA=tq.cart)||null==(ej=eA.items)?void 0:ej.some(e=>e===(null==tY?void 0:tY.twelveNc)),lc=!!(null==tq||null==(eR=tq.user)?void 0:eR.isAuthenticated),{trackEventMiscInteraction:lu,trackEventAddToCart:lp,trackEventEmailMeWhenAvailable:lm,trackEventProductCtaClick:lg,trackEventImageChange:lv,trackPageReadyEvent:lh,trackEventTextValidation:lx,trackEventTextSubmission:lb,trackEventPdpZoomIn:lf}=(0,l.useTrackEventsProductOverview)(),{trackAffirmClickEvent:ly}=(0,x.useTrackAffirmClickEvent)();(e=>{let{trackSubmitReviewEvent:t}=(()=>{let{getTrackingData:e}=(0,N.useTracking)();return{trackSubmitReviewEvent:t=>{(e=>{let t;t={client_side_third_party_resolve:"pending",custom_event_timestamp:Date.now(),event_name:F.AnalyticEvents.submitReview,ga_user_cookie
1:(0,G.getCookieFromClient)("_ga"),item_category:e.item_category,item_category2:e.item_category2,item_category3:e.item_category3,item_id:e.item_id,item_nc12code:e.item_nc12code,item_variant:e.item_variant,price:e.price,user_rating:null==e?void 0:e.user_rating},(0,V.default)({name:F.AnalyticEvents.submitReview,payload:t,options:{avoidToPushWithDataLayer:!0}})})({...e(),item_category:null==t?void 0:t.item_category,item_category2:null==t?void 0:t.item_category2,item_category3:null==t?void 0:t.item_category3,item_id:null==t?void 0:t.item_id,item_nc12code:null==t?void 0:t.item_nc12code,price:null==t?void 0:t.price,item_variant:null==t?void 0:t.item_variant,user_rating:null==t?void 0:t.user_rating})}}})(),l=(0,W.useIsNAR)();return(0,j.useEffect)(()=>{if(l||"SDA"===e.type){let l=()=>{((e,t)=>{let l=document.querySelector("[data-bv-show='inpage_submission']");l&&l.addEventListener("click",i=>{let n=i.target;if(n.closest("#bv-ips-step-0")&&n.closest("#bv-ips-submit")){let i=H(),n=(e=>{var t,l;return(null==e?void 0:e.commercialCode)&&(null==e?void 0:e.commercialCode)!=="null"?null==e?void 0:e.commercialCode:(null==(l=null==e?void 0:e.category)||null==(t=l.pathEn)?void 0:t[0])==="sets"?"SET".concat(null==e?void 0:e.skuId):""})(t),o=new MutationObserver((l,o)=>{if(!document.querySelector("#bv-ips-step-0 #bv-ips-submit")){var a,r,d,s,c,u,p;e({item_category:null!=(d=null==t?void 0:t.categories.item_category)?d:"",item_category2:null!=(s=null==t?void 0:t.categories.item_category2)?s:"",item_category3:null!=(c=null==t?void 0:t.categories.item_category3)?c:"",item_id:n,item_nc12code:null==t?void 0:t.twelveNc,price:null!=(p=null!=(u=null==t||null==(a=t.price)?void 0:a.specialValue)?u:null==t||null==(r=t.price)?void 0:r.currentValue)?p:"",item_variant:"item_variant"in t.categories?t.categories.item_variant:void 0,user_rating:i}),o.disconnect()}});l&&(o.observe(l,{childList:!0,subtree:!0}),setTimeout(()=>o.disconnect(),8e3))}})})(t,e)};globalThis.bvCallback=()=>{var e,t;null==(t=globalThis)||null==(e=t.BV)||e.rating_summary,globalThis.BV.inpage_submission.once("container_added",l),globalThis.BV.inpage_submission.on("show_form",l)}}},[l,e,t])})({...tY,categories:tE}),(e=>{let{isLoggedInUser:t,productCard:l,locale:i,zipCode:n,country:o}=e,[a,r]=(0,j.useState)(!1),d=(0,L.isProductAbandonementEnabled)(i),{data:s}=(0,f.useGetSessionData)({locale:i}),{twelveNc:c,isEligibleForAbandonment:u,colors:p}=l||{},m=(0,j.useMemo)(()=>{var e;if(!d)return{allPassed:!1,paEventKey:"paEvent_".concat(c)};let l=!window.sessionStorage.getItem("acEvent"),o=!(0,G.getCookie)(es.COOKIES_KEYS.CART),a=i.toUpperCase()===X.Locale.EnUs,r="true"===(0,G.getCookie)(es.COOKIES_KEYS.LG_SUBSCRIBED),s=(0,G.getCookie)(es.COOKIES_KEYS.LG_EMAIL_ID),m=(0,G.getCookie)(es.COOKIES_KEYS.LG_OPTED_IN),g="paEvent_".concat(c),v=!window.sessionStorage.getItem(g),h=!!n,x=(null==p||null==(e=p.find(e=>e.commercialCode===c))?void 0:e.availability)==="IN_STOCK";return{allPassed:l&&o&&a&&t&&r&&!!s&&!!m&&v&&u&&h&&x,paEventKey:g}},[d,i,c,t,u,p,n]),g=(0,j.useCallback)(e=>{if(!d)return;let t=e.target,l=!!t.closest("a"),i="BUTTON"===t.tagName&&"tab"===t.getAttribute("role");(l||i)&&r(!0)},[d]),v=(0,j.useCallback)(async(e,t)=>{var l;if(console.log("##### abandonedProductRules: handleBeforeUnload called"),!d||a||!m.allPassed)return;let r=(0,G.getCookie)(es.COOKIES_KEYS.LG_EMAIL_ID);if(!r)return;let u=null!=(l=JSON.parse(sessionStorage.getItem(_.SESSION_STORAGE_KEYS.LAST_VIEWED_PRODUCTS)))?l:[],p={email:r,zipCode:n,country:o,recentlySeen:null==u?void 0:u.map(e=>({...e,sku:e.twelveNc,label:e.name,imageUrl:e.assets[0].src,ctaUrl:"".concat(window.location.origin).concat(e.detailPageLink.href)}))},g="/api/".concat(i,"/abandonment/product/").concat(c),v=new Blob([JSON.stringify(p)],{type:"application/json"});console.log("##### beaconResult",navigator.sendBeacon(g,v)),window.sessionStorage.setItem(m.paEventKey,"true"),(0,G.setCookieFromClient)("paEventTriggered","true",3),ec({twelveNc:c,payload:{...p,productCard:e},locale:i,sessionData:s})},[d,a,m,i,c,n,o]);return(0,j.useEffect)(()=>{if(d&&n)return document.addEventListener("click",g),window.addEventListener("beforeunload",e=>{v(l,e),console.log("handleBeforeUnload beforeunload useEffect")}),()=>{document.removeEventListener("click",g),window.removeEventListener("beforeunload",e=>v(l,e))}},[d,g,v,n])})({isLoggedInUser:null==tq||null==(eB=tq.user)?void 0:eB.isAuthenticated,productCard:tY,locale:null==tQ?void 0:tQ.locale,zipCode:null==tQ?void 0:tQ.zipCode,country:null==tQ?void 0:tQ.country});let{data:lw}=(0,eL.useGetHeaderDrawer)({locale:tA}),lj=(0,j.useMemo)(()=>(0,L.getCustomDeliveryPromise)(tA),[tA]),{control:lC,handleSubmit:lk,reset:lS,setValue:lI,watch:lT,formState:l$,getValues:l_,getFieldState:lP}=(0,A.useForm)({mode:"onChange",defaultValues:void 0}
1),[lL,lA]=(0,j.useState)(""),[lE,lD]=(0,j.useState)([]),[lR,lM]=(0,j.useState)([]),lO=(0,j.useMemo)(()=>{var e;return(null==tY||null==(e=tY.cordless)?void 0:e.isCordless)||!tY?[]:eN(tP,tY)},[tP,tY]),lB=(0,j.useMemo)(()=>!!lO.length&&lO.every(e$),[lO]),lz=(0,j.useMemo)(()=>lB?lO.map(e=>eI(e)).filter(Boolean):[],[lO,lB]),lN=(0,p.useAdditionalProductsInfos)(lz),lF="success"===lN.status?lN.data:void 0,lV=(0,j.useMemo)(()=>lF?(lF||[]).reduce((e,t)=>{var l,i,n,o,a,r;let d=(null==t||null==(l=t.price)?void 0:l.specialPrice)!==(null==t||null==(i=t.price)?void 0:i.currentPrice);return e[t.skuId]={current:(null==t||null==(n=t.price)?void 0:n.currentPriceLabel)||"",currentValue:null==t||null==(o=t.price)?void 0:o.currentPrice,special:d?(null==t||null==(a=t.price)?void 0:a.specialPriceLabel)||"":null,specialValue:d?null==t||null==(r=t.price)?void 0:r.specialPrice:null},e},{}):eO,[lF]),lG=(0,j.useMemo)(()=>lB&&"pending"!==lN.status?Array.from(new Set(lO.filter(e=>{var t;let l=null!=(t=null==e?void 0:e.targetProduct)?t:null==e?void 0:e.product,i=(null==l?void 0:l.price)||(null==e?void 0:e.price),n=eI(e);return!i&&!!eT(e)&&!(n&&lV[n])}).map(e=>eT(e)))):[],[lV,lN.status,lO,lB]),lW=(0,j.useMemo)(()=>lG.join(","),[lG]);(0,j.useEffect)(()=>{if(!lB||!lW)return void lM([]);let e=!0;return(async()=>{let t=await R.NextSelfClient.getProductCards(tA,lW);e&&lM(Array.isArray(t)?t:[])})(),()=>{e=!1}},[lW,lB,tA]);let lH=(0,j.useMemo)(()=>lB&&0!==lR.length?lO.reduce((e,t)=>{var l;let i=null!=(l=null==t?void 0:t.targetProduct)?l:null==t?void 0:t.product,n=(null==i?void 0:i.price)||(null==t?void 0:t.price),o=eS(t),a=eI(t),r=eT(t),d=lR.find(e=>(null==e?void 0:e.twelveNc)===r),s=null==d?void 0:d.price;return n||!s||(o&&(e[o]=s),a&&(e[a]=s),(null==d?void 0:d.skuId)&&(e[d.skuId]=s)),e},{}):eO,[lO,lR,lB]),lq=(0,j.useMemo)(()=>({...lH,...lV}),[lV,lH]),lU=(0,j.useMemo)(()=>lB?lO.filter((e,t)=>lE.includes(eC(e,t))):[],[lO,lB,lE]),lK=null==tZ?void 0:tZ.pdp_saving_price,lY=(0,j.useMemo)(()=>lB?(e=>{var t,l,i;let{basePrice:n,selectedItems:o,toggleOptionPriceMap:a,priceFreeLabel:r,savingPriceLabel:d}=e;if(!n)return n;let s=Number(null!=(t=n.currentValue)?t:0),c=Number(null!=(i=null!=(l=n.specialValue)?l:n.currentValue)?i:0),u=o.reduce((e,t)=>{var l,i,n,o;let r=e_({item:t,toggleOptionPriceMap:a}),d=Number(null!=(i=null!=(l=null==r?void 0:r.currentValue)?l:null==r?void 0:r.specialValue)?i:0),s=Number(null!=(o=null!=(n=null==r?void 0:r.specialValue)?n:null==r?void 0:r.currentValue)?o:0);return{currentValue:e.currentValue+d,specialValue:e.specialValue+s}},{currentValue:s,specialValue:c}),p=u.specialValue!==u.currentValue,m=p&&0===u.specialValue;return{...n,currentValue:u.currentValue,specialValue:p?u.specialValue:null,special:m?r:p?n.special||n.current||"":null,freeLabel:0===u.currentValue?r:void 0,savingPrice:u.currentValue>u.specialValue?(u.currentValue-u.specialValue).toFixed(2):null,savingPriceLabel:u.currentValue>u.specialValue?n.savingPriceLabel||d||"Save":null}})({basePrice:tJ,selectedItems:lU,toggleOptionPriceMap:lq,priceFreeLabel:null==tZ?void 0:tZ.priceFreeLabel,savingPriceLabel:lK}):tJ,[lK,tJ,lB,lq,lU,null==tZ?void 0:tZ.priceFreeLabel]),lQ=(0,j.useMemo)(()=>{var e,t;return(0,I.resolveDisplayPrice)({price:lY,codeDiscount:null==tY?void 0:tY.codeDiscount,cmsSpecialValue:null==tY||null==(e=tY.price)?void 0:e.specialValue,codeApplied:t2,hasCart:t4,includesCodeDiscount:t0,locale:tA,currencySymbol:null==tQ||null==(t=tQ.currency)?void 0:t.symbol,savingPriceLabel:null==tZ?void 0:tZ.pdp_saving_price})},[t2,t4,t0,null==tY?void 0:tY.codeDiscount,null==tY||null==(ez=tY.price)?void 0:ez.specialValue,lY,null==tQ||null==(eV=tQ.currency)?void 0:eV.symbol,tA,tZ]),lZ=(e=>{var t;let{productCard:l,price:i,locale:n}=e,{data:o}=(0,P.useQueryGetSiteData)();return(0,I.computeDiscountBadge)(l,i,n,null==o||null==(t=o.currency)?void 0:t.symbol)})({productCard:tY,price:lQ,locale:tA}),lX=(0,j.useMemo)(()=>lU.map(e=>{var t;let l=null!=(t=null==e?void 0:e.targetProduct)?t:null==e?void 0:e.product,i=e_({item:e,toggleOptionPriceMap:lq}),n=ek(e),o=eS(e),a=eT(e);return o&&a?{...l,...e,skuId:o,twelveNc:a,name:n,productName:n,price:i}:null}
1).filter(Boolean),[lq,lU]),lJ=(0,j.useMemo)(()=>lX.map(e=>null==e?void 0:e.skuId).filter(e=>!!e).map(e=>({skuId:e})),[lX]),l0=1+lX.length;(0,j.useEffect)(()=>{lD([])},[null==tY?void 0:tY.skuId]);let l1=(0,S.getNumberLabel)(null==tY?void 0:tY.warranty,tP.warrantyLabel,tP.warrantiesLabel),l5=(null==tq?void 0:tq.status)==="ready",l2=(0,j.useMemo)(()=>{var e,t,l,i,n,o,a;return{pageType:null==tD?void 0:tD.__typename,contentGroup:null==tD||null==(t=tD.pageMetadata)||null==(e=t.seo)?void 0:e.contentGroup,slug:null==tD||null==(l=tD.pageMetadata)?void 0:l.slug,href:li,title:null==tD||null==(i=tD.pageMetadata)?void 0:i.title,name:null==tD||null==(n=tD.pageMetadata)?void 0:n.name,locale:null==tD||null==(o=tD.pageMetadata)?void 0:o.localeEnum,isLoggedIn:null==tq||null==(a=tq.user)?void 0:a.isAuthenticated}},[li,null==tD||null==(eW=tD.pageMetadata)||null==(eG=eW.seo)?void 0:eG.contentGroup,null==tD||null==(eq=tD.pageMetadata)?void 0:eq.slug,null==tD||null==(eK=tD.pageMetadata)?void 0:eK.title,null==tD||null==(eY=tD.pageMetadata)?void 0:eY.name,null==tD||null==(eQ=tD.pageMetadata)?void 0:eQ.localeEnum,null==tq||null==(eZ=tq.user)?void 0:eZ.isAuthenticated]);(0,j.useEffect)(()=>{l5&&(async()=>{var e;await lh({isLoggedIn:null==tq||null==(e=tq.user)?void 0:e.isAuthenticated}),(0,m.trackEventViewItem)({product:tY,selectedColor:l9,metadata:l2})})()},[l5,l2,null==tY||null==(eX=tY.price)?void 0:eX.currency,null==tY?void 0:tY.twelveNc]);let l3=(0,j.useCallback)((e,t)=>{let l=tK.getQueryData(P.useGetSiteData.queryKey);(0,L.isEngravingZipCodeRequired)(tA)&&!l.zipCode&&(t&&t(),tK.setQueryData(P.useGetSiteData.queryKey,{...tQ,zipCodeDialogOpen:!0,zipCodeDialogTrigger:e}))},[]);(0,ep.useEventListener)("message",e=>{let t=!1,l={[D.CUSTOM_ADD_TO_CART_MESSAGES.REFRESH_MINI_CART]:()=>{t||(tK.invalidateQueries(f.useGetSessionData.queryKey),t=!0),tK.invalidateQueries(M.useGetMiniCart.queryKey)},[D.CUSTOM_ADD_TO_CART_MESSAGES.ERROR_MESSAGE]:()=>o.toast.error(null==e?void 0:e.data.message),[D.CUSTOM_ADD_TO_CART_MESSAGES.ADDED_TO_CART_MESSAGE]:()=>{var e;return o.toast.info(null!=(e=null==tZ?void 0:tZ.addToCartOKMessage)?e:"Product added to cart")}}[null==e?void 0:e.data.type];l&&l()},window);let l6=(0,j.useMemo)(()=>tN||tG,[tN,tG]),l8=(0,j.useMemo)(()=>(null==lt?void 0:lt.loading)||tX.isLoading||(null==lY?void 0:lY.isLoading),[null==lt?void 0:lt.loading,tX.isLoading,null==lY?void 0:lY.isLoading]),l4=(0,j.useMemo)(()=>{var e;return(null==tY||null==(e=tY.colors)?void 0:e.map(eH))||[]},[null==tY?void 0:tY.colors]),l9=(0,j.useMemo)(()=>null==l4?void 0:l4.find(e=>(null==e?void 0:e.twelveNc)===(null==tY?void 0:tY.twelveNc)),[l4,null==tY?void 0:tY.twelveNc]);(0,j.useEffect)(()=>{tR(l9)},[l9,tR]);let{colorPicker:l7,defaultColorTab:ie}=(0,j.useMemo)(()=>{let e=(null==lt?void 0:lt.isOutOfStock)||!(null==lt?void 0:lt.isDeliverable),t=l4.reduce((t,l)=>
1(null==l?void 0:l.twelveNc)===(null==l9?void 0:l9.twelveNc)&&e||(null==l?void 0:l.availability)!==r.ColorPickerType.IN_STOCK?{...t,availableSoon:[...t.availableSoon,l]}:{...t,inStock:[...t.inStock,l]},{inStock:[],availableSoon:[]}),l=t.inStock.find(e=>(null==e?void 0:e.twelveNc)===(null==l9?void 0:l9.twelveNc))?r.ColorPickerType.IN_STOCK:r.ColorPickerType.AVAILABLE_SOON;return{colorPicker:t,defaultColorTab:l}},[l4,null==l9?void 0:l9.twelveNc,null==lt?void 0:lt.isOutOfStock,null==lt?void 0:lt.isDeliverable]),it=(0,j.useMemo)(()=>{var e,t,l,i,n,o,a;let r=null==tY||null==(t=tY.assets)||null==(e=t.map(e=>{if((null==e?void 0:e.type)==="IMAGE")return{src:null==e?void 0:e.src,alt:null==e?void 0:e.alt,type:"image"};if((null==e?void 0:e.type)==="VIDEO"){let t=(null==e?void 0:e.src)||"";if(t.includes("youtube.com")||t.includes("youtu.be")){let l=t.match(/(?:youtube\.com\/(?:watch\?v=|embed\/|shorts\/)|youtu\.be\/)([^&?/]+)/),i=l?"https://img.youtube.com/vi/".concat(l[1],"/hqdefault.jpg"):null;return{src:l?"https://www.youtube.com/watch?v=".concat(l[1]):t,type:"video-youtube",alt:(null==e?void 0:e.alt)||"",thumb:i}}return t.endsWith(".mp4")?{src:t,type:"video-mp4",thumb:e.src.replace("/content/","/is/image/content/"),alt:(null==e?void 0:e.alt)||""}:{src:null==e?void 0:e.src,type:"video",alt:(null==e?void 0:e.alt)||""}}return null}))?void 0:e.filter(Boolean);return(null==tY||null==(l=tY.engravingData)?void 0:l.engraving)&&tX.isEnable&&r.push({src:null==tY||null==(i=tY.engravingData)?void 0:i.engravingImage,alt:null==tY||null==(o=tY.engravingData)||null==(n=o.engraving)?void 0:n.refId,type:"image",zoomImage:null==tY||null==(a=tY.engravingData)?void 0:a.engravingZoomImage}),r},[null==tY?void 0:tY.assets,null==tY?void 0:tY.engravingData,tX.isEnable]),il=(0,eM.useSoldBySeller)(tA);if(!tP)return null;let ii=null!=(t$=null==tP?void 0:tP.outOfStockCustomLabel)?t$:null==tZ?void 0:tZ.backInStockNotificationLabel,io=null!=(t_=null==tZ?void 0:tZ.notDeliverableCustomLabel)?t_:"Not available in your area",ia={[r.ProductActionType.backInStockNotification]:{children:ii,onClick:()=>{lm({flowStatus:"open pop-up",product:tY,link_text:ii})}},[r.ProductActionType.addToCart]:{children:(e=>{let{addToCartLabel:t,addedToCartLabel:l,isAddedToCart:i,productsToAddCount:n}=e,o=i&&l||t||"Add to cart";return n>1?"".concat(o," (").concat(n,")"):o})({addToCartLabel:null==tZ?void 0:tZ.addToCartLabel,addedToCartLabel:null==tZ?void 0:tZ.addedToCartLabel,isAddedToCart:ls,productsToAddCount:l0}),leftIcon:ls?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(B.default,{id:"no-bfcache",dangerouslySetInnerHTML:{__html:"window.onpageshow = function (event) {\n if (event.persisted) {\n window.location.reload();\n }\n };"},strategy:"afterInteractive"}),(0,t.jsx)(i.Icon,{icon:"Cart",label:"",css:{fill:"$bkgWhite",size:19}}),(0,t.jsx)(eU,{isAdded:ls,children:(0,t.jsx)(i.Icon,{icon:"Check",label:"",css:{fill:"$bkgRed",size:8}})})]}):(0,t.jsx)(i.Icon,{icon:"Cart",label:"",css:{fill:"$bkgWhite",size:19}}),onClick:e=>{let t=e.currentTarget;lr(async()=>{var e,l,i,n,a,r,d,s,c,u;tM.handleAnimation(t);let p=(0,eD.createAndStoreFacebookEventId)();if(tX.isEnable&&(null==(e=l_("engraving"))?void 0:e.length)>0){let e={productName:null==tY?void 0:tY.name,commercialCode:null==tY?void 0:tY.commercialCode,colorName:null==tY?void 0:tY.colorLabel,flowName:"Product personalisation flow"};if(!lP("engraving").invalid&&(0,z.isValidEngraving)(l_("engraving"),tA)){lx(e);let t=await tV({skuId:null==tY?void 0:tY.skuId,twelveNc:null==tY?void 0:tY.twelveNc},{text:l_("engraving"),skuId:null==tY||null==(i=tY.engravingData)||null==(l=i.engraving)?void 0:l.skuId},lL);lb(e);let o=(null==t?void 0:t.success)&&lJ.length?await tz(lJ,{popupId:null==tY?void 0:tY.skuId,showPopup:!1}):t;(null==t?void 0:t.success)&&(null==o?void 0:o.success)&&lp({product:tY,currency:null==tQ||null==(n=tQ.currency)?void 0:n.code,engravingText:l_("engraving"),accessories:lX,locale:tA,brazeCart:{cart:o,cartUrl:(0,eP.managePath)(null==lw||null==(r=lw.cart)||null==(a=r.myCartCta)?void 0:a.href,tA)},eventId:p})}else o.toast.error(null==tZ?void 0:tZ.defaultInvalidEngravingErrorMessage)}else{let e=lJ.length>0?await tz([{skuId:null==tY?void 0:tY.skuId,offering:lL},...lJ],{popupId:null==tY?void 0:tY.skuId}):await tB(null==tY?void 0:tY.skuId,lL,null==tY||null==(d=tY.seller)?void 0:d.id);(null==e?void 0:e.success)&&lp({product:tY,currency:null==tQ||null==(s=tQ.currency)?void 0:s.code,accessories:lX,locale:tA,brazeCart:{cart:e,cartUrl:(0,eP.managePath)(null==lw||null==(u=lw.cart)||null==(c=u.myCartCta)?void 0:c.href,tA)}}),(null==e?void 0:e.success)&&ln&&(()=>{var e;let t=!sessionStorage.getItem("acEvent"),l=null==tq||null==(e=tq.user)?void 0:e.isAuthenticated;t&&l&&sessionStorage.setItem("acEvent","true")})()}},tY)}},[r.ProductActionType.notDeliverable]:{children:io,backgroundColor:"$bkgLightGray",textColor:"$bkgBlack",onClick:()=>{ld(tY,ex.UnDeliverableModalType.UNDELIVERABLE)}},[r.ProductActionType.storeLocator]:{...tP.storeLocatorNavigationLink,leftIcon:(0,t.jsx)(i.Icon,{icon:"Marker",label:"",css:{fill:"$bkgWhite",size:19}}),onClick:()=>
1{lg({type:"Find Store button",text:tP.storeLocatorNavigationLink.children,product:tY})}}},ir=null==tY||null==(eJ=tY.items)?void 0:eJ.reduce((e,t)=>"Accessory"===t.type?e+1:e,0),id=(0,S.getNumberLabel)(null==tY?void 0:tY.repairability,tP.yearReparabilityLabel,tP.yearsReparabilityLabel),is=l1?id?"".concat(l1," ").concat(id):"".concat(l1):id?"".concat(id):null,ic=!(null==lt?void 0:lt.isOutOfStock)&&(null==lt?void 0:lt.isDeliverable),iu={isEnable:tX.isEnable&&ic,isLoading:tX.isLoading,engravingInput:tX.engravingInput,emojiList:tX.emojiList,title:tX.title,engravingData:tX.engravingData,formControl:{control:lC,handleSubmit:lk,reset:lS,setValue:lI,watch:lT,formState:l$,getFieldState:lP},saveSessionStorage:E.saveSessionStorage,currency:tQ.currency.symbol},ip=la(null==lt?void 0:lt.isDeliverable,(null==tY?void 0:tY.actionType)||r.ProductActionType.addToCart,null==l9?void 0:l9.modalRestriction,null==lt?void 0:lt.isOutOfStock),im=(null==tY||null==(e0=tY.cordless)?void 0:e0.isCordless)?[{onClick:()=>{lu({action:"Cordless toggle click â With battery",...tE})},type:"withBattery",label:(null==tZ?void 0:tZ.cordlessWithBatteryLabel)||"",isOutOfStock:(null==tY||null==(e1=tY.cordless)?void 0:e1.hasBattery)?(null==tY?void 0:tY.actionType)!==r.ProductActionType.addToCart:(null==tY||null==(e2=tY.cordless)||null==(e5=e2.alternativeProduct)?void 0:e5.actionType)!==r.ProductActionType.addToCart,price:lY,isActive:null==tY||null==(e3=tY.cordless)?void 0:e3.hasBattery,alternativeProduct:{href:null==tY||null==(e4=tY.cordless)||null==(e8=e4.alternativeProduct)||null==(e6=e8.detailPageLink)?void 0:e6.href,price:null==tY||null==(e7=tY.cordless)||null==(e9=e7.alternativeProduct)?void 0:e9.price}},{onClick:()=>{lu({action:"Cordless toggle click â Without battery",...tE})},type:"withoutBattery",label:(null==tZ?void 0:tZ.cordlessWithoutBatteryLabel)||"",isOutOfStock:(null==tY||null==(te=tY.cordless)?void 0:te.hasBattery)?(null==tY||null==(tl=tY.cordless)||null==(tt=tl.alternativeProduct)?void 0:tt.actionType)!==r.ProductActionType.addToCart:(null==tY?void 0:tY.actionType)!==r.ProductActionType.addToCart,price:lY,isActive:!(null==tY||null==(ti=tY.cordless)?void 0:ti.hasBattery),alternativeProduct:{href:null==tY||null==(ta=tY.cordless)||null==(to=ta.alternativeProduct)||null==(tn=to.detailPageLink)?void 0:tn.href,price:null==tY||null==(td=tY.cordless)||null==(tr=td.alternativeProduct)?void 0:tr.price}}]:[],ig=(null==tY||null==(ts=tY.cordless)?void 0:ts.isCordless)||!tY?[]:eF({currentProduct:tY,items:lO,isAddOnMode:lB,selectedAddOnIds:lE,toggleOptionPriceMap:lq,onToggleSelection:(e,t,l)=>{lD(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]),lu({action:t,item_variant:String(l),...tE})},onToggleClick:(e,t)=>{lu({action:e,item_variant:String(t),...tE})}}),iv=(null==tY||null==(tc=tY.cordless)?void 0:tc.isCordless)?im:ig,ih=null==tD?void 0:tD.pdpBundle,ix=!!(null==ih||null==(tu=ih.products)?void 0:tu.length);return{metadata:null,isLoading:l6,addToCartAnimation:tM,props:{id:tP.id,name:null==tY?void 0:tY.seoName,twelveNc:null==tY?void 0:tY.twelveNc,skuId:null==tY?void 0:tY.skuId,additionalInfoId:null==tY?void 0:tY.additionalInfoId,commercialCode:null==tY?void 0:tY.commercialCode,description:{text:null==tY?void 0:tY.shortDescription,cta:{onClick:()=>{lu({action:"Link click â Product details Read more",...tE})},children:(null==tZ?void 0:tZ.descriptionShowMoreLabel)||""}},availableSoonLabel:tP.availableSoonLabel,inStocklabel:tP.inStocklabel,isAddedToCart:ls,productOverviewCtaId:tL,type:null==tY?void 0:tY.type,discount:lZ,cta:{...(0,L.isEcommerceEnable)(tA)?ia[ip]:ia[r.ProductActionType.storeLocator],isLoading:l8,hideTextOnLoading:!0},onAssetIndexChange:e=>{var t,l,i,n;let o=null==tY||null==(t=tY.assets)?void 0:t[e];o&&lv({image_name:(null==o?void 0:o.type)==="IMAGE"&&null!=(l=null==o?void 0:o.alt)?l:null==o?void 0:o.src,media_type:(null==o?void 0:o.type)==="VIDEO"?"Video":"Image",image_position:e,item_name:null==tY?void 0:tY.seoName,item_id:(null!=(i=null==tY?void 0:tY.seoName)?i:"")+(null!=(n=null==l9?void 0:l9.t
1welveNc)?n:""),item_variant:null==l9?void 0:l9.label,...tE})},assets:it||[],accessoriesLabel:ir>0?"".concat(ir," ").concat(tP.accessoriesLabel):null,badge:!tU&&ev(null==tY?void 0:tY.badge,lc)?t5:null,codeDiscount:(null==tY?void 0:tY.codeDiscount)?{...tY.codeDiscount,codeApplied:t2,isLoading:t6,onApplyCode:t7,onRemoveCode:le}:void 0,colors:l4,colorPicker:l7,defaultColorTab:ie,onColorChange:(e,t)=>{var l,i,n,o,a,r,d,s;tR(e),(0,C.trackEventPDPColorChange)({colorChange:{previous_color_name:null==t?void 0:t.label,color_position:(null==l4?void 0:l4.map(e=>e.twelveNc).indexOf(e.twelveNc))+1,color_name:null==e?void 0:e.label,color_availability:(null==e?void 0:e.availability)==="IN_STOCK"?"In stock":"Available soon",item_name:null==tY?void 0:tY.seoName,...tE,item_variant:null!=(s=null==e?void 0:e.label)?s:"",...tY},metadata:{name:null==tD||null==(l=tD.pageMetadata)?void 0:l.name,title:null==tD||null==(i=tD.pageMetadata)?void 0:i.title,contentGroup:null==tD||null==(o=tD.pageMetadata)||null==(n=o.seo)?void 0:n.contentGroup,href:"",locale:null==tD||null==(a=tD.pageMetadata)?void 0:a.localeEnum,isLoggedIn:null==tq||null==(r=tq.user)?void 0:r.isAuthenticated,slug:null==tD||null==(d=tD.pageMetadata)?void 0:d.slug,pageType:null==tD?void 0:tD.__typename}})},color:(null==l4?void 0:l4.length)>1?l9:null,customCountdown:{locale:tA,dateTime:null==tP?void 0:tP.customCountdownDateTime,hourLabel:null==tZ?void 0:tZ.genericHourLabel,minuteLabel:null==tZ?void 0:tZ.genericMinuteLabel,dayLabel:null==tZ?void 0:tZ.genericDayLabel,title:null==tP?void 0:tP.customCountdownTitle,backgroundColor:null==tP?void 0:tP.customCountdownBackgroundColor},warranty:null==tY?void 0:tY.warranty,showEUGaranLabel:(0,eh.getPublicConfigByLocale)(tA).euGaranLabelEnabled&&!!(null==tY?void 0:tY.warranty)&&Number(null==tY?void 0:tY.warranty)>2,warrantyLabel:is,hasReparabilityLabel:!!id,personalisation:r.ProductActionType.addToCart===(null==tY?void 0:tY.actionType)&&(null==tY?void 0:tY.isPersonalisable)&&!(0,L.isPersonalisationOnPdpEnable)(tA)?{cta:{href:(null==tQ?void 0:tQ.isMultiLanguage)?"".concat(tQ.locale,"/product-personalisation?product=").concat(tY.twelveNc):"/product-personalisation?product=".concat(tY.twelveNc),children:null==tZ?void 0:tZ.personalisationActionLabel,onClick:()=>{lu({action:"Button click - Personalisation",...tE}),globalThis.sessionStorage.setItem($.LOCAL_STORAGE_KEYS.PERSONALISATION_BACK_PATH,globalThis.sessionStorage.getItem($.LOCAL_STORAGE_KEYS.CURRENT_PATH))}}}:null,price:lQ,paymentMethods:[(0,k.getAlmaEnable)(tA)?{image:{src:null==tZ?void 0:tZ.almaImg},text:null==tZ?void 0:tZ.almaText}:null,(0,k.getKlarnaEnable)(tA)?{image:{src:null==tZ?void 0:tZ.klarnaImg},text:null==tZ?void 0:tZ.klarnaText}:null],dynamicMessage:(null==lY?void 0:lY.specialValue)?(null==lY?void 0:lY.specialValue)>300:null!=lY&&!!lY.currentValue&&(null==lY?void 0:lY.currentValue)>300,instalmentLabel:(null==tY?void 0:tY.instalmentLabelActive)?tP.instalmentLabel:null,pdpInstallmentOptions:t1,insuranceFactors:(null==tY||null==(tp=tY.insuranceFactors)?void 0:tp.map(e=>e))||[],sellerInsuranceFactors:(null==tP||null==(tm=tP.sellerInsuranceFactors)?void 0:tm.filter(e=>{var t;return(null==e?void 0:e.sellerId)===(null==tY||null==(t=tY.seller)?void 0:t.id)}))||[],deliveryPromise:(()=>{var e,t,l,i,n,o,a;return lj&&(null==lj?void 0:lj.enabled)?(()=>{var e,t;if(!lj||!(null==lj?void 0:lj.enabled)||ip!==r.ProductActionType.addToCart)return null;let{countdownTimer:l,shippingEstimateDate:i}=lY||{};if(!l||!i)return null;let n=(0,ef.utcToLocalISO)(i),o=(0,ef.getUserTimezone)(),a=(0,ef.zonedTimeToLocalDateTime)(l.endTime||"18:00:00",lj.businessHoursTimeZone,o);if(!a)return null;let d=(0,ef.isNowBefore)(a)?a:(0,ef.addOneBusinessDay)(a),s=null==(e=(0,ef.splitDateTime)(n))?void 0:e[0];return{afterCutOfTimeLabel:null==tZ?void 0:tZ.deliveryPromiseAfterCutOfTimeLabel,beforeCutOfTimeLabel:null==tZ?void 0:tZ.deliveryPromiseBeforeCutOfTimeLabel,cutOffTime:d,dateAfterCutOfTime:s,dateBeforeCutOfTime:s,locale:null==tY||null==(t=tY.deliveryPromise)?void 0:t.locale}})():(null==tY?void 0:tY.deliveryPromise)&&(null==tY?void 0:tY.actionType)===r.ProductActionType.addToCart&&(null==tY||null==(e=tY.deliveryPromise)?void 0:e.cutoffTime)&&(null==tY||null==(t=tY.deliveryPromise)?void 0:t.deliveryDateAfterCutoff)&&(null==tY||null==(l=tY.deliveryPromise)?void 0:l.deliveryDateBeforeCutoff)?{afterCutOfTimeLabel:null==tZ?void 0:tZ.deliveryPromiseAfterCutOfTimeLabel,beforeCutOfTimeLabel:null==tZ?void 0:tZ.deliveryPromiseBeforeCutOfTimeLabel,cutOffTime:null==tY||null==(i=tY.deliveryPromise)?void 0:i.cutoffTime,dateAfterCutOfTime:null==tY||null==(n=tY.deliveryPromise)?void 0:n.deliveryDateAfterCutoff,dateBeforeCutOfTime:null==tY||null==(o=tY.deliveryPromise)?void 0:o.deliveryDateBeforeCutoff,locale:null==tY||null==(a=tY.deliveryPromise)?void 0:a.locale}:null})(),isEmailWhenAvailable:!!(0,L.isEcommerceEnable)(tA)&&ip===r.ProductActionType.backInStockNotification,emailWhenAvailableDialog:tP.emailWhenAvailableDialog?{...null==tP?void 0:tP.emailWhenAvailableDialog,ctaSubmit:{children:null==tP||null==(tg=tP.emailWhenAvailableDialog)?void 0:tg.ctaSubmit,backgroundColor:"$bkgWhite",textColor:"$copyBlack"},handleSubmit:async e=>{let t=await (0,s.handleRecaptcha)("product_overview",tA),l=(0,L.isBisnPostalCodeCaptureEnabled)(tA),i=tK.getQueryData(P.useGetSiteData.queryKey),n=(null==i?void 0:i.zipCode)||null,a={email:e,skuId:null==tY?void 0:tY.skuId};l&&n&&(a.postalCode=n);let r=await R.NextSelfClient.backInStockSubmission(tA,{data:a,token:t}).then(e=>e).catch(function(){o.toast.error("ERROR")}).finally(()=>{var t,l,i,n,o,a,r,d;let s=null==(l=(0,eh.getPublicConfigByLocale)(tA))||null==(t=l.narAnalyticsParams)?void 0:t.userTypeParamValue;(0,L.isBrazeEnabled)(tA)&&(0,c.trackBrazeBackInStockEvent)({email:e,locale:tA,country:(0,T.toDataCountry)(tA),productName:null==tY?void 0:tY.name,modelNumber:null==tY?void 0:tY.commercialCode,productDetailPageUrl:null==tY||null==(o=tY.detailPageLink)?void 0:o.href,productImageUrl:null!=(d=null==tY||null==(r=tY.assets)||null==(a=r[0])?void 0:a.src)?d:""}),ll({type:"email_when_available",form_topic:"email_me_when_available",method:"post",user_id:null==tq||null==(i=tq.user)?void 0:i.userId,user_t
1ype:(null==tq||null==(n=tq.user)?void 0:n.isAuthenticated)?s?"Returning":"Logged":"Guest"})});if(!(null==r?void 0:r.success)){var d,u,p;o.toast.error(null!=(p=null!=(u=null==r||null==(d=r.messages)?void 0:d[0])?u:null==r?void 0:r.message)?p:"ERROR")}return lm({flowStatus:"submit form",product:tY,link_text:ii,event_details:null==tP?void 0:tP.emailWhenAvailableDialog.titleSubmitted}),r},ctaAfterSubmit:{children:null==tP?void 0:tP.emailWhenAvailableDialog.titleSubmitted},isLoggedInEmail:(null==tq||null==(tv=tq.user)?void 0:tv.isAuthenticated)?null==tq||null==(th=tq.user)?void 0:th.email:null,emailRequiredMessage:null==tZ?void 0:tZ.bis_email_validation_required_error_message,emailInvalidMessage:null==tZ?void 0:tZ.bis_email_validation_regex_error_message}:null,energyInfo:(null==tY?void 0:tY.energyLabel)?{label:null==tZ?void 0:tZ.energyRatingLabel,spectrum:null==tY||null==(tx=tY.energyLabel)?void 0:tx.description,image:(null==tY?void 0:tY.energyLabel)?{src:null==tY?void 0:tY.energyLabel.image,alt:null==tY?void 0:tY.energyLabel.name}:null,link:{href:null==tY?void 0:tY.energyLabel.document,target:"_blank"}}:null,onColorTabChange:e=>{"AVAILABLE_SOON"===e?lu({action:"Button click - Available soon",...tE}):"IN_STOCK"===e&&lu({action:"Button click â In stock",...tE})},addToCartPopup:{isFetching:null==tO?void 0:tO.isFetching,id:null==tY?void 0:tY.skuId,title:null==tO?void 0:tO.title,product:{twelveNc:null==tY?void 0:tY.twelveNc,name:null==tY?void 0:tY.seoName,price:lY,image:{src:null==tY||null==(tf=tY.assets)||null==(tb=tf[0])?void 0:tb.src,alt:""},color:l4.length>1?l9:null,skuId:null==tY?void 0:tY.skuId,additionalInfoId:null==tY?void 0:tY.additionalInfoId,commercialCode:null==tY?void 0:tY.commercialCode,colors:null==tY?void 0:tY.colors,category:null==tY?void 0:tY.category,type:null==tY?void 0:tY.type,cordless:{hasBattery:null==tY||null==(ty=tY.cordless)?void 0:ty.hasBattery,isCordless:null==tY||null==(tw=tY.cordless)?void 0:tw.isCordless},selectedWarrantyOption:lL},warrantyPlanTextTooltip:null==tY?void 0:tY.warrantyPlanTextTooltip,warrantyCrossSellEnabled:(0,L.isWarrantyCrossSellEnabled)(tA),myCartCta:null==tO?void 0:tO.myCartCta,continueShoppingCta:null==tO?void 0:tO.continueShoppingCta,paymentMethods:[(0,k.getAlmaEnable)(tA)?{image:{src:null==tZ?void 0:tZ.almaImg},text:null==tZ?void 0:tZ.almaText}:null,(0,k.getKlarnaEnable)(tA)?{image:{src:null==tZ?void 0:tZ.klarnaImg},text:null==tZ?void 0:tZ.klarnaText}:null],relatedProductsProps:{locale:tA,isCart:!0,addToCartPopupData:tO,addToCart:tB,trackEventAddToCart:lp,trackEventViewProductList:tW,trackEventProductClick:tH,AddToCartProductRelatedModuleMapper:v.AddToCartProductRelatedModuleMapper,relatedProducts:null==tY?void 0:tY.relatedProducts,hasRelated:(null==tY||null==(tC=tY.relatedProducts)||null==(tj=tC.products)?void 0:tj.length)>0||(null==tY||null==(tk=tY.cordless)?void 0:tk.isCordless),handleAnimation:tM.handleAnimation},postMessageKey:tO.postMessageKey,engravingNote:null==tZ?void 0:tZ.personalisationWarningMessage},isKit:null==tY?void 0:tY.isKit,langLocale:(0,T.toDataLanguage)(tA),isoLocale:(0,T.toISOLocale)(tA),alma:{enable:(0,k.getAlmaEnable)(tA),id:(0,k.getAlmaMerchantId)(tA),plans:(0,k.getAlmaPlans)(tA)},klarna:{enable:(0,k.getKlarnaEnable)(tA),id:(0,k.getKlarnaMerchantId)(tA)},affirmWidget:{enable:(0,L.affirmWidgetEnabled)(tA),id:(0,L.affirmWidgetToken)(tA),onLearnMoreClick:e=>{let t=e.target;t.matches(".affirm-modal-trigger")&&ly({action:"Link Click - ".concat(t.innerHTML||t.innerText),component:"a",component_text:t.parentElement.innerText,cta_type:"Url",link_text:t.innerHTML||t.innerText})}},isCordless:null==tY||null==(tS=tY.cordless)?void 0:tS.isCordless,toggleWidget:iv.length?{options:iv,outOfStockLabel:null==tZ?void 0:tZ.outOfStockLabel,mode:lB?"selection":"navigation",fetchProductData:lB?e=>R.NextSelfClient.getProductTinyCard(tA,e):void 0}:null,personalisationOnPDP:iu,warrantyCrossSellEnabled:(0,L.isWarrantyCrossSellEnabled)(tA),productCrossSellEnabled:ix||lo,crossSellIsBundle:ix,crossSellProducts:ix?ih.products:null==tY||null==(tI=tY.bundleTwelvencs)?void 0:tI.map(e=>({twelveNc:e})),crossSellTitle:null==ih?void 0:ih.headline,selectedWarrantyOption:lL,setSelectedWarrantyOption:lA,country:"EN_US"===tA?"USA":(0,T.toDataCountry)(tA),locale:tA,trackPdpZoomIn:()=>{lf(tY)},discontinued:null==tY?void 0:tY.discontinued,estimatedDeliveryEnabled:(0,L.isEstimatedDeliveryEnabled)(tA),deliveryPromiseEnabled:(0,L.isDeliveryPromiseEnabled)(tA),customDeliveryPromiseEnabled:lj&&(null==lj?void 0:lj.enabled),asPath:li,isEngravingEmojiEnabled:(0,L.isEngravingEmojiEnabled)(tA),engravingVerifyZipCode:l3,isOutOfStock:(null==tY?void 0:tY.actionType)!==r.ProductActionType.addToCart,isColorPickerLoading:null==lt?void 0:lt.loading,stockAlarm:null==tY?void 0:tY.stockAlarm,seller:null==tY?void 0:tY.seller,soldBySeller:il,weAccept:tP.weAccept}}},eN=(e,t)=>{var l,i;return null==(i=null==(l=eG(e,t))?void 0:l.enabled)||i?eV(e,t).filter(e=>!!ek(e)).sort((e,t)=>
1("number"==typeof(null==e?void 0:e.position)?e.position:Number.MAX_SAFE_INTEGER)-("number"==typeof(null==t?void 0:t.position)?t.position:Number.MAX_SAFE_INTEGER)):[]},eF=e=>{let{currentProduct:t,items:l,isAddOnMode:i,selectedAddOnIds:n,toggleOptionPriceMap:o,onToggleSelection:a,onToggleClick:r}=e;return l.reduce((e,l,d)=>{var s,c,u,p;let m=null!=(p=null==l?void 0:l.targetProduct)?p:null==l?void 0:l.product,g=ek(l),v=(null==l?void 0:l.href)||(null==m||null==(s=m.detailPageLink)?void 0:s.href)||(null==l||null==(c=l.detailPageLink)?void 0:c.href),h=eT(l),x=(e=>{var t;return(null==(t=ej(e))?void 0:t.parentPartNumber)||(null==e?void 0:e.parentPartNumber)||""})(l),b=eS(l),f=eC(l,d),y=i?!!(null==n?void 0:n.includes(f)):!!h&&h===(null==t?void 0:t.twelveNc)||!!b&&b===(null==t?void 0:t.skuId);if(!y&&!v&&!h&&!x&&!b)return e;let w=(null==l?void 0:l.actionType)||(null==m?void 0:m.actionType),j=(null==l?void 0:l.showOutOfStock)!==!1,C=(null==l?void 0:l.showPrice)!==!1,k=C?e_({item:l,toggleOptionPriceMap:o}):void 0,S=!!j&&(eW(l,w)||i&&C&&!k),I=(null==l||null==(u=l.gtmLabelOverride)?void 0:u.trim())||g;return e.push({id:f,type:null==l?void 0:l.type,label:g,isActive:y,isOutOfStock:S,price:k,previewTwelveNc:i?h:void 0,alternativeProduct:{href:v,price:k},onClick:()=>{if(i){null==a||a(f,I,d+1);return}r(I,d+1)}}),e},[])},eV=(e,t)=>{var l,i,n,o,a,r,d,s,c,u,p;let m=eG(e,t);return[null==m?void 0:m.items,null==m?void 0:m.toggleItems,null==t||null==(l=t.pdpToggles)?void 0:l.items,null==t||null==(i=t.productToggles)?void 0:i.items,null==t||null==(n=t.productOverviewToggles)?void 0:n.items,null==e||null==(o=e.pdpToggles)?void 0:o.items,null==e||null==(a=e.toggles)?void 0:a.items,null==e?void 0:e.toggleItems,null==t?void 0:t.toggleItems,null==e?void 0:e.pdpToggleItems,null==t?void 0:t.pdpToggleItems,null==e||null==(r=e.pdpToggles)?void 0:r.toggleItems,null==e||null==(d=e.productToggles)?void 0:d.toggleItems,null==e||null==(s=e.toggles)?void 0:s.toggleItems,null==t||null==(c=t.pdpToggles)?void 0:c.toggleItems,null==t||null==(u=t.productToggles)?void 0:u.toggleItems,null==t||null==(p=t.productOverviewToggles)?void 0:p.toggleItems].find(e=>Array.isArray(e))||[]},eG=(e,t)=>{let l=[null==t?void 0:t.pdpToggles,null==t?void 0:t.productToggles,null==t?void 0:t.productOverviewToggles,null==e?void 0:e.pdpToggles,null==e?void 0:e.toggles,null==e?void 0:e.productToggles].filter(e=>e&&"object"==typeof e&&!Array.isArray(e));return l.find(e=>{let t=null==e?void 0:e.items,l=null==e?void 0:e.toggleItems;return Array.isArray(t)&&t.length>0||Array.isArray(l)&&l.length>0})||l[0]},eW=(e,t)=>"boolean"==typeof(null==e?void 0:e.isOutOfStock)?e.isOutOfStock:!!t&&t!==r.ProductActionType.addToCart,eH=e=>{if(e)return{availability:null==e?void 0:e.availability,...(0,g.productColorToColorPropsV2)(e)}},eq=(0,d.keyframes)({"0%":{transform:"scale(0)"},"50%":{transform:"scale(1.2)"},"100%":{transform:"scale(1)"}}),eU=(0,d.styled)("span",{position:"absolute",top:-6,right:-6,size:14,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"$bkgWhite",border:"1px solid $bkgRed",borderRadius:"50%",pointerEvents:"none",zIndex:5,variants:{isAdded:{true:{animation:"".concat(eq," 0.6s forwards")},false:{}}},svg:{size:"8px !important",fill:"$copyRed"}});e.s(["default",()=>to],530807),e.i(174231);var eK=e.i(555318);e.i(709887);var eY=e.i(86212);e.i(560976);var eQ=e.i(932788);e.i(187564);var eZ=e.i(115143);e.i(388008);var eX=e.i(879045);e.i(354526);var eJ=e.i(309015);let e0=(0,j.forwardRef)((e,l)=>{var i,n,o,a;let{id:r,header:d,description:s,productBoxTitle:c,referenceBoxTitle:u,inputs:p,subcategoryLabel:m,dataId:g}=e,{control:v}=(0,A.useForm)({mode:"onChange"}),h=(0,A.useWatch)({control:v,name:"productRange",defaultValue:null==(n=p.productRange)||null==(i=n.options[0])?void 0:i.value}),x=p.productRange.options.find(e=>{let{value:t}=e;return t===h})||null,b=(0,A.useWatch)({control:v,name:"subcategory"}),f=(0,j.useMemo)(()=>{var e,t;return(null==x||null==(e=x.subcategories)?void 0:e.find(e=>e.value===b))||(null==x||null==(t=x.subcategories)?void 0:t[0])},[x,b]),y=(null==x?void 0:x.hasSubcategory)?f:x;return(0,t.jsxs)(eK.Dialog,{id:r,"data-id":g,children:[(0,t.jsx)(eK.Dialog.Trigger,{asChild:!0,"data-product-reference-trigger":!0,children:(0,t.jsx)(e1,{children:(0,t.jsx)(e5,{children:d})})}),(0,t.jsx)(eK.Dialog.Content,{title:d,overlay:!0,"data-component-id":"product-reference-dialog",children:(0,t.jsxs)(e2,{ref:l,children:[(0,t.jsx)(e3,{children:s}),(0,t.jsxs)(e6,{children:[(0,t.jsxs)(e8,{children:[(0,t.jsx)(eQ.Heading,{as:"h2",children:c}),(0,t.jsx)(e4,{children:(0,t.jsx)(eY.SelectField,{name:"productRange",id:"productRange",label:p.productRange.label,control:v,emptyOption:!1,children:p.productRange.options.map(e=>{let{value:l,label:i}=e;return l&&i?(0,t.jsx)("option",{value:l,children:i},l):null})})}),(null==x?void 0:x.image)&&(0,t.jsx)(e9,{children:(0,t.jsx)(eZ.Image,{src:x.image.src,alt:x.image.alt,layout:"fixed",width:180,height:180})}),(null==x?void 0:x.hasSubcategory)&&(0,t.jsxs)("div",{children:[(0,t.jsx)(eY.SelectField,{name:"subcategory",id:"subcategory",label:m,control:v,defaultValue:null==f?void 0:f.value,emptyOption:!1,children:null==(o=x.subcategories)?void 0:o.map(e=>{let{value:l,label:i}=e;return l&&i?(0,t.jsx)("option",{value:l,children:i},l):null})}),(null==f?void 0:f.image)&&(0,t.jsx)(e9,{children:(0,t.jsx)(eZ.Image,{src:null==f?void 0:f.image.src,alt:null==f||null==(a=f.image)?void 0:a.alt,layout:"fixed",width:180,height:180})})]})]}),(0,t.jsxs)(e7,{children:[(0,t.jsx)(eQ.Heading,{as:"h2",children:u}),(null==y?void 0:y.referenceExampleImage)?(0,t.jsx)(te,{children:(0,t.jsx)(tt,{children:(0,t.jsx)(eZ.Image,{src:y.referenceExampleImage.src,alt:y.referenceExampleImage.alt,layout:"fill",objectFit:"contain"})})}):null,(null==y?void 0:y.legendItems)?(0,t.jsx)(tl,{children:y.legendItems.map((e,l)=>e?(0,t.jsx)(ti,{children:e},"".concat(e,"-").concat(l)):null)}):null]})]})]})})]})}),e1=(0,d.styled)("div",{mt:"$7-5",display:"flex",justifyContent:"center"}),e5=(0,d.styled)(eX.Link,{fontSize:"inherit !important",lineHeight:"inherit !important"}),e2=(0,d.styled)("div"),e3=(0,d.styled)(eJ.Text,{textAlign:"center",mt:0,mb:"$5","@md":{mb:"$9"}}),e6=(0,d.styled)("div",{"@md":{display:"flex"}}),e8=(0,d.styled)("div",{mb:"$5","@md":{flex:"0 0 calc(55% - 25px)",mr:"$12-5"}}),e4=(0,d.styled)("div",{mb:"$3-75"}),e9=(0,d.styled)("div",{textAlign:"center"}),e7=(0,d.styled)("div",{"@md":{flex:"0 0 calc(45% - 25px)"}}
1),te=(0,d.styled)("div",{boxShadow:"0 0 0.625rem 0.3125rem $colors$bkgWhiteSmoke",borderRadius:"$md",border:".0625rem solid $inputBorder",p:"$2-5 $5",mb:"$3-75"}),tt=(0,d.styled)("div",{position:"relative",minHeight:90,span:{mt:"5px !important"}}),tl=(0,d.styled)("ol",{p:0,m:0,listStyle:"none",counterReset:"reference-list"}),ti=(0,d.styled)("li",{fontSize:"$sm",position:"relative",pl:"$2-5","&::before":{content:"-",mx:"$1"},"&::after":{content:"counter(reference-list)",counterIncrement:"reference-list",fontWeight:"$black",color:"$copyRed",position:"absolute",top:"auto",left:0}});e.i(649076);var tn=e.i(288806);let to=e=>{let{module:l}=e,{props:i}=ta(l)||{};return i?(0,t.jsx)(e0,{...i,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},ta=e=>{var t;return e?{metadata:null,props:{header:e.titleLabel,description:e.subtitleLabel,productBoxTitle:e.selectProductLabel,referenceBoxTitle:e.exampleReferenceLabel,inputs:{productRange:{label:e.productRangeLabel,options:(null==(t=e.productRanges)?void 0:t.map(e=>{var t,l;return e?{label:e.name,value:e.name,image:(0,tn.imageFieldsToImageProps)(e.image),referenceExampleImage:(0,tn.imageFieldsToImageProps)(e.referenceExampleImage),legendItems:e.legendLabels,hasSubcategory:(null==(t=e.subCategories)?void 0:t.length)>0,subcategories:(null==(l=e.subCategories)?void 0:l.map(e=>e?{label:e.name,value:e.name,image:(0,tn.imageFieldsToImageProps)(e.image),referenceExampleImage:(0,tn.imageFieldsToImageProps)(e.referenceExampleImage),legendItems:null==e?void 0:e.legendLabels}:null))||[]}:null}))||[]}},subcategoryLabel:e.productCategoryLabel}}:null};e.s([],680713),e.s(["ModuleProductRelated",()=>tN],609596),e.s([],230571),e.s(["ProductSwiper",()=>tv],563180),e.i(881804);var tr=e.i(802430),td=e.i(885431),ts=e.i(147749),tc=e.i(603783),tu=e.i(512715),tp=e.i(24297),tm=e.i(228638),tg=e.i(612809);let tv=e=>{let{children:l,title:n,titleAlignment:o="Left",textColor:a,backgroundColor:r,cta:d,nextLabel:s,previousLabel:c,length:u,subtitle:p,onSlideChangeTransitionEnd:m,textContainerCss:g,...v}=e,h=(0,j.useId)(),x="".concat(h,"_next"),b="".concat(h,"_prev"),f="".concat(h,"_pagination"),[,y]=(0,j.useState)();return(0,t.jsx)("div",{children:(0,t.jsx)(th,{css:{backgroundColor:r},...v,size:"xxl",children:(0,t.jsxs)(tx,{css:{backgroundColor:r},...v,size:"xl",ContentOffset:"Center"===o||"Right"===o&&"right",children:[(0,t.jsxs)(tj,{textCentered:!1,alignment:o,style:{justifyContent:o},css:g,children:[(0,t.jsxs)(tw,{alignment:o,children:[(0,t.jsxs)(tf,{alignment:o,children:[(0,t.jsx)(eQ.Heading,{heading:"h1",as:"h2",css:{color:a,m:"0 0 $4","@md":{mb:"$6",fontSize:"24px"},"@lg":{mb:0,fontSize:"32px"}},children:n}),d&&"Center"!==o?(0,t.jsx)(tk,{children:(0,t.jsx)(tb,{bold:!0,css:{color:a},"data-component-id":"product-swiper-browse-all",...d})}):null]}),p?(0,t.jsx)(ty,{alignment:o,css:{color:a},children:p}):null,d?(0,t.jsx)(tS,{children:(0,t.jsx)(tb,{bold:!0,css:{color:a,display:"block",textAlign:"center"},"data-component-id":"product-swiper-browse-all",...d})}):null]}),(0,t.jsxs)(tC,{alignment:o,children:[(0,t.jsxs)(tP,{css:{color:a,..."Center"===o?{position:"absolute",left:0}:{}},"data-navigation":"d-".concat(b),"data-component-id":"product-swiper-arrow-left",children:[(0,t.jsx)(tA,{direction:"left",children:(0,t.jsx)(i.Icon,{icon:"Arrow",label:"",css:{fill:"".concat(a," !important")}})}),(0,t.jsx)(tL,{noRightPad:"Center"===o,children:c})]}),"Center"===o?(0,t.jsx)(t$,{children:d?(0,t.jsx)(tb,{bold:!0,css:{color:a},"data-component-id":"product-swiper-browse-all",...d}):null}):null,(0,t.jsxs)(tP,{css:{color:a,..."Center"===o?{position:"absolute",right:0}:{}},"data-navigation":"d-".concat(x),"data-component-id":"product-swiper-arrow-right",children:[(0,t.jsx)(tL,{children:s}),(0,t.jsx)(tA,{direction:"right",children:(0,t.jsx)(i.Icon,{icon:"Arrow",label:"",css:{fill:"".concat(a," !important")}})})]})]})]}),(0,t.jsxs)(tg.Display,{children:[(0,t.jsx)(tg.Display.SM,{children:(0,t.jsxs)("div",{children:[(0,t.jsxs)(t_,{children:[(0,t.jsxs)(tP,{css:{color:a},"data-navigation":"sm-".concat(b),"data-component-id":"product-swiper-arrow-left",children:[(0,t.jsx)(tA,{direction:"left",children:(0,t.jsx)(i.Icon,{icon:"Arrow",label:"",css:{fill:"".concat(a," !important")}})}),(0,t.jsx)(tL,{children:c})]}),(0,t.jsx)(tT,{children:d?(0,t.jsx)(tI,{children:(0,t.jsx)(tb,{bold:!0,css:{color:a},"data-component-id":"product-swiper-browse-all",...d})}):null}),(0,t.jsxs)(tP,{css:{color:a},"data-navigation":"sm-".concat(x),"data-component-id":"product-swiper-arrow-right",children:[(0,t.jsx)(tL,{children:s}),(0,t.jsx)(tA,{direction:"right",children:(0,t.jsx)(i.Icon,{icon:"Arrow",label:"",css:{fill:"".concat(a," !important")}})})]})]}),(0,t.jsxs)(tE,{children:[(0,t.jsx)(tR,{modules:[tc.Pagination,tu.Thumbs,td.Keyboard,tr.A11y,ts.Navigation],keyboard:!0,slidesPerView:"auto",slidesPerGroup:1,loop:u>2,centeredSlides:u>=2,centerInsufficientSlides:!0,watchSlidesProgress:!0,onSwiper:y,onSlideChangeTransitionEnd:m,pagination:{type:"bullets",bulletElement:"a",el:'[data-pagination="'.concat(f,'"]'),clickable:!0,renderBullet:function(e,t){return'<div class="'+t+'" style="width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:none;"><div style="width:8px;height:8px;border:3px solid #c41130;border-radius:50%;"></div></div>'}},navigation:{nextEl:'[data-navigation="sm-'.concat(x,'"]'),prevEl:'[data-navigation="sm-'.concat(b,'"]')},"data-component-id":"product-swiper",children:l}),(0,t.jsx)(tD,{"data-pagination":f,css:{color:a},"data-component-id":"product-swiper-pagination"})]})]})}),(0,t.jsx)(tg.Display.LG,{children:(0,t.jsxs)(tE,{children:[(0,t.jsx)(tR,{modules:[ts.Navigation,tc.Pagination,tu.Thumbs,td.Keyboard,tr.A11y],keyboard:!0,slidesPerView:3,slidesPerGroup:3,spaceBetween:20,centeredSlides:!1,centerInsufficientSlides:!0,watchSlidesProgress:!0,onSwiper:y,onSlideChangeTransitionEnd:m,navigation:{nextEl:'[data-navigation="d-'.concat(x,'"]'),prevEl:'[data-navigation="d-'.concat(b,'"]')},pagination:{type:"bullets",bulletElement:"a",el:'[data-pagination="d-'.concat(f,'"]'),clickable:!0,renderBullet:function(e,t){return'<div class="'+t+'" style="width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:none;"><div style="width:8px;height:8px;border:3px solid #c41130;border-radius:50%;"></div></div>'}},breakpoints:{320:{slidesPerView:1,slidesPerGroup:1,spaceBetween:5},768:{slidesPerView:3,slidesPerGroup:3},1536:{slidesPerView:4,slidesPerGroup:4},1920:{spaceBetween:30,slidesPerView:5,slidesPerGroup:5}},"data-component-id":"product-swiper",children:l}),(0,t.jsx)(tD,{"data-pagination":"d-".concat(f),css:{color:a},"data-component-id":"product-swiper-pagination"})]})})]})]})})})},th=(0,d.styled)(tm.Container,{}),tx=(0,d.styled)(tm.Container,{position:"relative",py:d.Gutter.sm,"@md":{py:d.Gutter.sm},"@lg":{px:"$5"},"@xl":{px:0},variants:{ContentOffset:{true:{"@xl":{px:d.Gutter.xl}}
1,false:{"@xl":{pl:d.Gutter.xl,pr:0}},right:{"@xl":{pr:d.Gutter.xl,pl:0}}}}}),tb=(0,d.styled)(eX.Link,{textTransform:"uppercase",lineHeight:"200%"}),tf=(0,d.styled)("div",{display:"flex",flexDirection:"column",alignItems:"center","@lg":{flexDirection:"row",alignItems:"flex-start",gap:"$3"},variants:{alignment:{Left:{},Center:{"@lg":{alignSelf:"center"}},Right:{"@lg":{alignSelf:"flex-end"}}}}}),ty=(0,d.styled)(eJ.Text,{margin:"$3-5 0 0","& a":{color:"$bkgRed"},"@lg":{maxWidth:"50vw"},variants:{alignment:{Left:{"@lg":{margin:"$3-5 0 0"}},Center:{"@lg":{margin:"$3-5 auto 0"}},Right:{"@lg":{margin:"$3-5 0 0 auto"}}}}}),tw=(0,d.styled)("div",{display:"flex",flex:3,flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",px:"$5",pb:"$5","@lg":{pl:0,pb:0,alignItems:"flex-start",textAlign:"left"},variants:{alignment:{Left:{},Center:{"@lg":{flex:"none",width:"100%",alignItems:"center",textAlign:"center",px:0}},Right:{"@lg":{pl:0,pb:0,alignItems:"flex-end",textAlign:"right"}}}}}),tj=(0,d.styled)("div",{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"space-around",position:"relative",mb:"$2-5","@lg":{flexDirection:"row"},variants:{textCentered:{true:{},false:{}},alignment:{Left:{"@lg":{justifyContent:"flex-start",textAlign:"left"}},Center:{"@lg":{flexDirection:"column",alignItems:"center",justifyContent:"center"}},Right:{"@lg":{flexDirection:"row-reverse"}}}}}),tC=(0,d.styled)("div",{display:"none","@lg":{display:"flex",position:"relative",flex:1,alignItems:"flex-start",alignSelf:"flex-start",justifyContent:"end",marginRight:"$5"},"@xl":{marginRight:100},variants:{alignment:{Left:{},Center:{"@lg":{flex:"none",width:"100%",justifyContent:"center",alignItems:"center",marginRight:0,marginTop:"$3"},"@xl":{marginRight:0}},Right:{"@lg":{justifyContent:"flex-start",marginRight:0,marginLeft:"$5"},"@xl":{marginRight:0,marginLeft:100}}}}}),tk=(0,d.styled)("div",{display:"none","@lg":{display:"contents"}}),tS=(0,d.styled)("div",{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",textAlign:"center",mt:"$4","@md":{display:"none"},"@lg":{display:"none"}}),tI=(0,d.styled)("div",{display:"none","@md":{display:"contents"}}),tT=(0,d.styled)("div",{position:"absolute",left:"50%",transform:"translateX(-50%)",display:"none",alignItems:"center","@md":{display:"flex"}}),t$=(0,d.styled)("div",{display:"flex",alignItems:"center"}),t_=(0,d.styled)("div",{display:"flex",position:"relative",alignItems:"center",justifyContent:"space-between",px:"$3",mt:"$3","@lg":{display:"none"}});(0,d.styled)("button",{position:"absolute",top:"50%",transform:"translateY(-50%)",zIndex:10,color:"$copyBlack",cursor:"pointer",background:"transparent",border:0,alignItems:"center",justifyContent:"center",p:0,display:"none","&.swiper-button-disabled":{cursor:"default",opacity:.6},variants:{side:{left:{left:"$3"},right:{right:"$3"}}}});let tP=(0,d.styled)("button",{color:"$copyBlack",cursor:"pointer",background:"transparent",border:0,display:"flex",alignItems:"center",justifyContent:"center",p:0,"&.swiper-button-disabled":{cursor:"default",opacity:.6}}),tL=(0,d.styled)(eJ.Text,{color:"CurrentColor",fontWeight:"$black",textTransform:"uppercase",paddingRight:"$4",variants:{noRightPad:{true:{paddingRight:0}}}}),tA=(0,d.styled)("div",{cursor:"pointer",background:"transparent",border:0,display:"flex",alignItems:"center",justifyContent:"center",svg:{width:14,height:14,fill:"$bkgRed"},variants:{direction:{left:{left:-20,transform:"rotate(180deg)",mr:"$4"},right:{right:-20,ml:"$4"}}},compoundVariants:[{direction:"left",css:{left:-18,"@md":{left:12}}},{direction:"right",css:{right:-18,"@md":{right:12}}}]}),tE=(0,d.styled)("div",{position:"relative"}),tD=(0,d.styled)("div",{zIndex:10,position:"absolute",left:0,bottom:2,width:"calc(100% - 100px) !important",margin:"0px 50px 0px",textAlign:"center",color:"$bkgRed",display:"inline-flex",alignItems:"center",justifyContent:"center",".swiper-pagination-bullet":{borderColor:"CurrentColor"},".swiper-pagination-bullet-active > div":{backgroundColor:"$bkgRed"}}),tR=(0,d.styled)(tp.Swiper,{boxSizing:"border-box",p:"20px 0 50px 0 !important","@md":{pb:"50px !important"},"@xl":{width:"calc(100% - 2px)"},"@3xl":{width:"100%"}}),tM=(0,d.styled)(tp.SwiperSlide,{display:"flex",flexDirection:"column",flex:"0 0 80%",transform:"scale(.9) !important",height:"initial !important","&.swiper-slide-active":{transition:"transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275)",transform:"scale(1) !important"},"@md":{flex:"0 0 50%"},"@lg":{flex:"0 0 auto",transform:"scale(1) !important"}});tv.Slide=tM,tM.displayName="SwiperSlide";var tO=e.i(109466),tB=e.i(464882);e.i(406095);var tz=e.i(376628);let tN=j.default.forwardRef((e,l)=>{let{id:i,products:n,itemNumber:o,itemsIndex:a,fetchAllProducts:r,readMoreLabel:d,readLessLabel:s,gridView:c,dataId:u,imgPriority:p,...m}=e,[g,{toggle:v}
1]=(0,tB.useBoolean)(),h=o||n.length,[x,b]=(0,j.useState)(h>9);return(0,t.jsx)("div",{id:i,"data-id":u,"data-component-id":"related-products",children:c?(0,t.jsxs)(t.Fragment,{children:[m.title?(0,t.jsxs)(tU,{"data-component-id":"related-products-container",children:[(0,t.jsx)(eQ.Heading,{heading:"h1",as:"h2",css:{color:m.textColor,m:0},"data-component-id":"related-products-title",children:m.title}),(0,t.jsx)(eJ.Text,{css:{margin:"0 auto $3-5",maxWidth:"31.25rem","@md":{marginBottom:"$8"},color:m.textColor},"data-component-id":"column-content-description",children:m.subtitle})]}):null,(0,t.jsxs)(tV,{ref:l,size:"md",children:[(0,t.jsx)(tG,{contentVisible:g,"data-component-id":"related-products-list",children:n.map((e,l)=>e.type?(0,t.jsx)(tO.ProductCard,{...e,isProductRelatedPriceLayout:!0,imgPriority:p,"data-component-id":"related-products-card"},l+(null==e?void 0:e.twelveNc)):null)}),x?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(tH,{contentVisible:g,children:(0,t.jsx)(tq,{textColor:"$copyBlack",backgroundColor:"$bkgWhite",onClick:()=>{r(),b(a<h),g||v()},"data-component-id":"related-products-read-more-button",children:d})}),(0,t.jsx)(tW,{contentVisible:g})]}):null]})]}):(0,t.jsx)(tF,{ref:l,id:i,"data-component-id":"related-products-slider",children:(0,t.jsx)(tv,{length:n.length,textContainerCss:{"@lg":{alignItems:"flex-start"}},...m,children:n.map((e,l)=>e?(0,t.jsx)(tv.Slide,{"data-product-index":l,children:(0,t.jsx)(tO.ProductCard,{"data-component-id":"related-products-card",...e,isProductRelatedPriceLayout:!0,imgPriority:p})},e.twelveNc+l):null)})})})}),tF=(0,d.styled)("div",{width:"$full"}),tV=(0,d.styled)(tm.Container,{position:"relative","@2xl":{px:"$5"},"@3xl":{px:0}}),tG=(0,d.styled)("div",{overflow:"hidden",p:"$4 $2-5",mt:-16,"@md":{display:"flex",flexWrap:"wrap"},"@xl":{mx:"-5px"},"@2xl":{mx:"-20px"},variants:{contentVisible:{false:{"& > div":{"&:not(:nth-child(-n+7))":{visibility:"hidden",height:0,mb:0},"@md":{"&:nth-child(n)":{visibility:"visible",height:"auto"},"&:not(:nth-child(-n+8))":{visibility:"hidden",height:0,mb:0}},"@lg":{"&:nth-child(n)":{visibility:"visible",height:"auto"},"&:not(:nth-child(-n+9))":{visibility:"hidden",height:0,mb:0}}}}}}}),tW=(0,d.styled)("div",{position:"absolute",left:0,bottom:0,height:500,width:"100%",variants:{contentVisible:{false:{backgroundImage:"linear-gradient(0deg, rgba(255,255,255,1) 38%, rgba(255,255,255,1) 38%, rgba(255,255,255,0) 100%)",zIndex:6}}}}),tH=(0,d.styled)("div",{position:"relative",display:"flex",flexDirection:"row",justifyContent:"center",alignContent:"center",marginTop:"$4",marginBottom:"$6",zIndex:"10",variants:{contentVisible:{false:{transform:"translateY(-200%)"},true:{mt:d.Gutter.sm,"@md":{mt:d.Gutter.md}}}}}),tq=(0,d.styled)(tz.Button,{border:"1px solid $darkGreyBorder",boxShadow:"none !important"}),tU=(0,d.styled)("div",{display:"flex",flexDirection:"column",gap:"$2",alignItems:"center",justifyContent:"center",textAlign:"center",px:"$5",py:"$20",mb:"$15",backgroundColor:"$bkgWhiteSmoke","@lg":{pl:0}});e.s(["gridProductsLimit",()=>tK],571553);let tK=24},632331,e=>{"use strict";e.s(["buildPlpInstallmentLabel",()=>l]);var t=e.i(66294);function l(e){let{installmentOptions:l,currencySymbol:i,isoLocale:n,formatOptions:o,template:a="{{count}} MSI of {{amount}}"}=e;if(!i)return null;let r=function(e){let t;for(let i of null!=e?e:[]){var l;for(let e of null!=(l=i.installments)?l:[])"number"==typeof e.count&&e.count>0&&"number"==typeof e.value&&e.value>0&&(!t||e.count>t.count)&&(t=e)}return t}(l);if(!r)return null;let d="".concat(i).concat((r.value/100).toLocaleString(n,o));return(0,t.pupa)(a,{count:r.count,amount:d},{ignoreMissing:!0})}},321459,14477,5893,534283,317860,147451,490414,839913,863596,468509,656068,777561,e=>{"use strict";e.s(["default",()=>A],321459);var t=e.i(391398),l=e.i(790321),i=e.i(562756);e.i(680713);var n=e.i(609596),o=e.i(191788),a=e.i(610019),r=e.i(163725);e.i(649076);var d=e.i(933534),s=e.i(818119),c=e.i(112987),u=e.i(719559);e.i(261354);var p=e.i(189163),m=e.i(304008);e.i(807204);var g=e.i(293466),v=e.i(715110),h=e.i(571553),x=e.i(900018),b=e.i(310215),f=e.i(820627),y=e.i(632331),w=e.i(724096),j=e.i(948920),C=e.i(650804),k=e.i(90653),S=e.i(645713),I=e.i(717929),T=e.i(230569),$=e.i(667996),_=e.i(971255),P=e.i(869597),L=e.i(212102);let A=e=>{var o;let{module:a,locale:r,enableRatingSeo:d}=e,{props:s,isLoading:c,addToCartAnimation:u}=E(a,r,d)||{},{trackEventViewProductList:m}=(0,l.useTrackEventsProductRelated)(),{ref:g,onSlideChangeTransitionEnd:v}=(0,i.useTrackVisibleProductsOnView)({products:null!=(o=null==s?void 0:s.products)?o:[],moduleTitle:null==a?void 0:a.title,onView:m}),{isAnimating:h,childRef:b,onAnimationEnd:f}=u;return s?(0,t.jsxs)("div",{ref:g,children:[c&&!h?(0,t.jsx)(p.Loader,{}):null,(0,x.isAddToCartAnimationEnabled)(r)&&(0,t.jsx)(_.default,{ref:b,onAnimationEnd:f}),s.products?(0,t.jsx)(n.ModuleProductRelated,{...s,dataId:"module-"+(null==a?void 0:a.sequenceOrder),onSlideChangeTransitionEnd:v}):null]}):null},E=(e,t,i)=>{var n,d,s,p,m,x,b;let f=(0,P.useAddToCartAnimation)(t),{handleAnimation:y}=f,{addToCart:j,isLoading:S,setIsLoading:$}=(0,a.useAddToCart)({locale:t}),{addToCartPopupData:_}=(0,c.useAddToCartPopupMapper)(t),[L,A]=(0,o.useState)(h.gridProductsLimit),[E,R]=(0,o.useState)(h.gridProductsLimit),[M,O]=(0,o.useState)(!1),{data:B}=(0,w.useGetSiteData)(),{data:z}=(0,r.useGetSessionData)({locale:t}),N=(null==z||null==(n=z.cart)?void 0:n.items)||[],{trackEventProductClick:F,trackEventAddToCart:V}=(0,l.useTrackEventsProductRelated)(),{handleZipCodeCheckAndExecute:G}=(0,k.useUndeliverableProductCheck)(),{data:W}=(0,u.useGetTranslations)({locale:t}),{data:H}=(0,I.useGetHeaderDrawer)({locale:t}),q=(0,T.useIsNAR)(),U={addToCart:j,trackEventProductClick:F,trackEventAddToCart:V,handleZipCodeCheckAndExecute:G,handleAnimation:y,addToCartPopupData:_,locale:t,translations:W,entryId:e.id,moduleTitle:e.title,de
1scriptionShowMoreLabel:(null==W?void 0:W.descriptionShowMoreLabel)?null==W?void 0:W.descriptionShowMoreLabel:"More",layout:(null==e?void 0:e.grid)?"grid-related":"swiper",currency:null==B||null==(d=B.currency)?void 0:d.code,currencySymbol:null==B||null==(s=B.currency)?void 0:s.symbol,enableRatingSeo:i},[K,Y]=(0,o.useState)(null!=(x=e.products)?x:[]),Q=K.map(e=>e.additionalInfoId).filter(e=>!!e),Z=(0,v.useAdditionalProductsInfos)(Q),X=Z.status===g.AdditionalInfoStatus.SUCCESS&&Array.isArray(Z.data)?new Map(Z.data.map(e=>[e.skuId,e.installmentOptions])):new Map,J=K.map((e,t)=>{var l;return D({product:{...e,installmentOptions:null!=(l=X.get(e.skuId))?l:e.installmentOptions},index:t,headerDrawer:H,...U,isNar:q})});return e?{metadata:null,isLoading:S,addToCartAnimation:f,props:{id:e.id,title:e.title,titleAlignment:e.titleAlignment,subtitle:e.subtitle,cta:null==e?void 0:e.cta,backgroundColor:null!=(b=null==(p=e.backgroundColor)?void 0:p.hexCode)?b:e.backgroundColor,nextLabel:e.nextLabel,previousLabel:e.previousLabel,gridView:null==e?void 0:e.grid,readMoreLabel:M?"Loading...":null==W?void 0:W.readMoreLabel,readLessLabel:null==W?void 0:W.readLessLabel,itemNumber:null==e||null==(m=e.productsList)?void 0:m.length,itemsIndex:E,fetchAllProducts:()=>{var l;((t,l)=>{var i,n;L<=E&&l.length>0&&(O(!0),C.NextSelfClient.getProductCards(t,l,void 0,"related").then(e=>{Y(K.concat(e||[])),O(!1)})),R((null==e||null==(i=e.productsList)?void 0:i.length)-L>h.gridProductsLimit?E+h.gridProductsLimit:null==e||null==(n=e.productsList)?void 0:n.length),A(E)})(t,null==e||null==(l=e.productsList)?void 0:l.slice(L,E).toString())},products:null==J?void 0:J.filter(e=>e.type).map(e=>({...e,isAddedToCart:N.includes(e.twelveNc)})),imgPriority:!(e.sequenceOrder>2)}}:null},D=e=>{var t,l,i,n,o,a,r,c,u,p,g,v;let{product:h,index:w,headerDrawer:C,addToCart:k,trackEventProductClick:I,trackEventAddToCart:T,handleZipCodeCheckAndExecute:_,handleAnimation:P,addToCartPopupData:A,locale:E,translations:D,entryId:R,moduleTitle:M,descriptionShowMoreLabel:O,layout:B,currency:z,currencySymbol:N,enableRatingSeo:F,isNar:V}=e,G=(null==h||null==(t=h.assets)?void 0:t.filter(e=>(null==e?void 0:e.type)==="IMAGE"))||[],W={...null==G?void 0:G[0]},H=null==h||null==(l=h.colors)?void 0:l.map(e=>
1(0,s.productColorToColorPropsV2)(e)),q=null==H?void 0:H.find(e=>(null==e?void 0:e.twelveNc)===(null==h?void 0:h.twelveNc)),U=(null==h?void 0:h.price)?(0,$.calculateSavingPrice)(h.price.currentValue,h.price.specialValue,null==D?void 0:D.plp_saving_price):null,K=(null==h?void 0:h.price)?{current:h.price.current,special:h.price.special,currentValue:h.price.currentValue,specialValue:h.price.specialValue,savingPrice:null!=(g=null==U?void 0:U.savingPrice)?g:void 0,savingPriceLabel:null!=(v=null==U?void 0:U.savingPriceLabel)?v:void 0,showVatLabel:!1}:null,Y=(0,j.getPublicConfigByLocale)(E).productCardGalleryEnable,Q=(0,y.buildPlpInstallmentLabel)({installmentOptions:null==h?void 0:h.installmentOptions,currencySymbol:N,isoLocale:(0,b.toISOLocale)(E),formatOptions:(0,f.getPriceFormatOptions)((0,x.isHidePriceCentsEnabled)(E)),template:null==D?void 0:D.plp_installment_label});return{isEcommerceEnabled:(0,x.isEcommerceEnable)(E),type:null==h?void 0:h.type,layout:B,installmentLabel:Q,isInstallmentsEnabled:(0,x.isProductCardInstallmentsEnabled)(E),discount:(null==h?void 0:h.discount)?{label:null==h||null==(i=h.discount)?void 0:i.label,highlightedLabel:null==h||null==(n=h.discount)?void 0:n.value}:null,badges:(null==h?void 0:h.badges)?h.badges.map(e=>(0,d.badgeFieldsToBadgePropsV2)(e)):(null==h?void 0:h.badge)?[(0,d.badgeFieldsToBadgePropsV2)(h.badge)]:void 0,images:G.map(e=>({...e})),twelveNc:null==h?void 0:h.twelveNc,commercialCode:null==h?void 0:h.commercialCode,name:null==h?void 0:h.name,description:{text:null==h?void 0:h.shortDescription,cta:{children:O}},price:K,colors:H,cta:{href:null==h||null==(o=h.detailPageLink)?void 0:o.href,onClick:()=>I({product:h,index:w,moduleTitle:M})},addToCartPopup:{isFetching:null==A?void 0:A.isFetching,id:R+"_"+(null==h?void 0:h.skuId),title:null==A?void 0:A.title,product:h?{twelveNc:h.twelveNc,name:h.name,price:K,image:W,color:q,skuId:h.skuId,additionalInfoId:null==h?void 0:h.additionalInfoId,commercialCode:null==h?void 0:h.commercialCode,colors:null==h?void 0:h.colors,category:null==h?void 0:h.category,type:null==h?void 0:h.type,cordless:{hasBattery:null==h||null==(a=h.cordless)?void 0:a.hasBattery,isCordless:null==h||null==(r=h.cordless)?void 0:r.isCordless}}:null,myCartCta:null==A?void 0:A.myCartCta,continueShoppingCta:null==A?void 0:A.continueShoppingCta,paymentMethods:(0,m.getAlmaEnable)(E)?[{image:{src:null==D?void 0:D.almaImg},text:null==D?void 0:D.almaText}]:null,relatedProductsProps:{locale:E,isCart:!0,addToCartPopupData:A,relatedProducts:null==h?void 0:h.relatedProducts,hasRelated:(null==h||null==(u=h.relatedProducts)||null==(c=u.products)?void 0:c.length)>0||(null==h||null==(p=h.cordless)?void 0:p.isCordless)},postMessageKey:null==A?void 0:A.postMessageKey,engravingNote:"",warrantyCrossSellEnabled:(0,x.isWarrantyCrossSellEnabled)(E),warrantyPlanTextTooltip:null==h?void 0:h.warrantyPlanTextTooltip},addToCartCta:(null==h?void 0:h.actionType)==="addToCart"?{onClick:e=>{let t=null==e?void 0:e.currentTarget;_(async()=>{var e,l,i;P(t);let n=(0,L.createAndStoreFacebookEventId)(),o=await k(R+"_"+h.skuId,void 0,null==h||null==(e=h.seller)?void 0:e.id);T({product:h,index:w,moduleTitle:M,currency:z,locale:E,brazeCart:{cart:o,cartUrl:(0,S.managePath)(null==C||null==(i=C.cart)||null==(l=i.myCartCta)?void 0:l.href,E)},eventId:n})},h)}}:null,energyInfo:(null==h?void 0:h.energyLabel)?{label:h.energyLabel.description,image:{src:h.energyLabel.image,alt:h.energyLabel.name},link:{href:h.energyLabel.document}}:null,isKit:null==h?void 0:h.isKit,skuId:null==h?void 0:h.skuId,isGalleryEnable:Y,enableRatingSeo:F,actionType:null==h?void 0:h.actionType,bvProductId:V?null==h?void 0:h.commercialCode:null==h?void 0:h.twelveNc}};e.s(["default",()=>ew],14477);var R=e.i(418262),M=e.i(704977),O=e.i(646935),B=e.i(224669),z=e.i(670451);e.i(814598);var N=e.i(756550),F=e.i(68633);e.i(810615);var V=e.i(436595);e.i(187564);var G=e.i(115143);e.i(388008);var W=e.i(879045);e.i(354526);var H=e.i(309015);e.i(785198);var q=e.i(904154);e.i(134039);var U=e.i(379432);e.i(543336);var K=e.i(345970);let Y={Description:"description",Dimensions:"dimensions",Documents:"documents"},Q=e=>{let{title:l,type:i,content:n,warningProps65:o}=e,a=Array.isArray(n)&&n.some(e=>"Prop 65"===e.title);return(0,t.jsxs)(N.Accordion.Item,{value:null!=l?l:i,css:{"&[data-state=open]":{borderBottom:0,boxShadow:"0 0 6px rgba(0,0,0, 0.16)",background:"$bkgWhite",marginTop:-1}},children:[(0,t.jsx)(N.Accordion.Trigger,{css:{svg:{width:"20px",height:"20px",strokeWidth:"2"}},children:(0,t.jsx)(ea,{children:l})}),(0,t.jsx)(N.Accordion.Content,{children:a?(0,t.jsx)(Z,{warningProps65:o}):(0,t.jsx)(X,{...e})})]})},Z=e=>{var l,i,n;let{warningProps65:o}=e;return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(J,{children:[(0,t.jsx)(ee,{children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:null!=(i=null==o?void 0:o.warningTitle)?i:""}})}),(0,t.jsxs)(eo,{children:[(0,t.jsxs)(et,{children:[(0,t.jsx)(V.Icon,{icon:"WarningIcon",label:""}),(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:null!=(n=null==o?void 0:o.warningContent)?n:""}}),(0,t.jsx)(ei,{href:null==o?void 0:o.warningLink,children:null==o||null==(l=o.warningLink)?void 0:l.trim()})]}),(0,t.jsx)(el,{children:(0,t.jsx)(en,{href:o.warningAB1200Link,children:null==o?void 0:o.warningAB1200Title})})]})]})})},X=e=>{let{type:l,content:i,image:n}=e;switch(l){case Y.Description:return(0,t.jsx)(H.Text,{children:i});case Y.Dimensions:return(0,t.jsxs)(ep,{children:[n?(0,t.jsx)(ed,{children:(0,t.jsx)(er,{children:(0,t.jsx)(G.Image,{...n,layout:"fill",objectFit:"contain"})})}):null,Array.isArray(i)?(0,t.jsx)(es,{children:i.map((e,l)=>{let{title:i="",content:n}=e;return n?(0,t.jsx)(U.ProductTechnicalSpecification.List,{css:{flexWrap:"no-wrap","@md":{width:"100%"}},children:(0,t.jsx)(U.ProductTechnicalSpecification.Item,{title:i,children:(0,t.jsx)("span",{children:n})},"".concat(l))},l):null})}):null]});case Y.Documents:return(0,t.jsx)(F.Flex,{align:"center",children:Array.isArray(i)?(0,t.jsx)(ec,{children:null==i?void 0:i.map((e,l)=>{let{content:i}=e;return i?(0,t.jsx)(eu,{...i,download:!0,bold:!0,size:"sm"},l):null})}):null});default:return Array.isArray(i)?(0,t.jsx)(U.ProductTechnicalSpecification,{children:(e=>[e.slice(0,Math.ceil(e.length/2)),e.slice(Math.ceil(e.length/2))])(i).map((e,l)=>(0,t.jsx)(U.ProductTechnicalSpecification.List,{children:e.map((e,i)=>{let{title:n="",content:o,color:a,icon:r}=e;return(0,t.jsx)(U.ProductTechnicalSpecification.Item,{title:n,children:(0,t.jsxs)(F.Flex,{align:"center",children:[a?(0,t.jsx)(q.ColorCircle,{color:a,size:"sm",css:{marginRight:"$2"}}):null,r?(0,t.jsx)(V.Icon,{icon:r,label:""}):null,o?(0,t.jsx)("span",{children:o}):null]})},"".concat(l,"-").concat(i))})},l))}):null}},J=(0,K.styled)("div",{display:"flex",width:"100%",flexDirection:"column",paddingRight:"$3","@md":{flexDirection:"row",paddingRight:0}}),ee=(0,K.styled)(H.Text,{margin:0,padding:"0 $3 $2-5 0",width:"calc(42% - $6)",minWidth:0,whiteSpace:"nowrap",span:{margin:"0",span:{fontWeight:"$extrabold"}},"@lg":{width:"calc(30% - $6)"}}),et=(0,K.styled)("div",{margin:0,padding:"0 $3 $2-5 0",flex:"1 1 auto",width:"auto",minWidth:0,boxSizing:"border-box",wordBreak:"break-word",span:{margin:"0",span:{fontWeight:"$extrabold"}},"@md":{padding:"0 $3 $2-5 0"}}),el=(0,K.styled)("div",{margin:0,fontWeight:"$extrabold",textAlign:"justify",width:"100%"}),ei=(0,K.styled)(W.ExternalLink,{display:"inline",fontSize:"15px"}),en=(0,K.styled)(W.ExternalLink,{display:"inline",fontSize:"15px !important"}),eo=(0,K.styled)("div",{flex:"1"}),ea=(0,K.styled)(H.Text,{fontWeight:"$black",margin:0,color:"$copyBlack",textTransform:"lowercase","&::first-letter":{textTransform:"uppercase"}}),er=(0,K.styled)("div",{position:"relative",display:"flex",height:"auto",width:"100%",border:"0.0625rem solid $defaultBorder","&::before":{content:"''",display:"block",width:"100%",pb:"62%"}}),ed=(0,K.styled)("div",{display:"flex",flex:"1","@md":{flex:"0 0 50%",pr:"$3-75"}}),es=(0,K.styled)(U.ProductTechnicalSpecification,{pt:"$7-5","@md":{pt:"$0",flex:"0 0 50%",pl:"$3-75",flexDirection:"column !important"}}),ec=(0,K.styled)(U.ProductTechnicalSpecification,{pl:"$2","@md":{flexDirection:"column !important"}}),eu=(0,K.styled)(W.Link,{py:"$1"}),ep=(0,K.styled)("div",{display:"flex",flexDirection:"column","@md":{flexDirection:"row"}});var em=e.i(228638);e.i(560976);var eg=e.i(932788);let ev=(0,o.forwardRef)((e,l)=>{let{id:i,title:n,specifications:o,warrantyCta:a,documents:r,onItemChange:d,dataId:s,warningProps65:c,locale:u,...p}=e,m=u&&(0,x.isWarningProps65Enabled)(u),g=null==r?void 0:r.filter(e=>/<span[\s>]/i.test(e.children)),v=null==r?void 0:r.filter(e=>!/<span[\s>]/i.test(e.children));return(0,t.jsxs)(eh,{id:i,ref:l,"data-id":s,...p,children:[n?(0,t.jsx)(eg.Heading,{heading:"h1",as:"h2",css:{margin:"0 0 $4",textAlign:"center","@md":{mb:"$6"}},children:n}):null,(0,t.jsx)(N.Accordion,{type:"single",collapsible:!0,onValueChange:e=>{d(e)},children:o.map((e,l)=>e?(0,t.jsx)(Q,{...e,...m?{warningProps65:c}:{}},l):null)}),(0,t.jsxs)(ex,{children:[a.href?(0,t.jsx)(W.Link,{...a,target:"_blank",download:!0,bold:!0,size:"sm"}):null,null==v?void 0:v.map((e,l)=>e?(0,t.jsx)(W.Link,{...e,download:!0,bold:!0,size:"sm"},l):null),null==g?void 0:g.map((e,l)=>{var i;return(0,t.jsx)(W.Link,{...e,download:!0,size:"sm",children:(0,t.jsx)(eb,{dangerouslySetInnerHTML:{__html:null!=(i=e.children)?i:""}})},l)})]})]})}),eh=(0,K.styled)(em.Container,{px:"$5",my:K.Gutter.sm,"@md":{my:K.Gutter.md},"@xl":{px:0}}),ex=(0,K.styled)("div",{display:"flex",padding:"$5",justifyContent:"center",flexDirection:"column",alignItems:"center",a:{display:"flex",alignItems:"center","& ~ a":{marginTop:"$6"}},"@md":{flexDirection:"row",justifyContent:"start",px:"$7","a ~ a":{marginTop:0,marginLeft:"$6"}}}),eb=(0,K.styled)("span",{span:{fontWeight:"$black"}});var ef=e.i(491581),ey=e.i(98377);let ew=e=>{let{module:l,categories:i,locale:n}=e,{props:o}=ej(l,i,n)||{};return o?(0,t.jsx)(ev,{...o,dataId:"module-"+(null==l?void 0:l.sequenceOrder),locale:n}):null},ej=(e,t,l)=>{var i,n,a;let{trackEventMiscInteraction:r}={trackEventMiscInteraction:e=>(0,R.trackEventPDPMiscInteraction)({miscInteraction:{...e,module_type:"ProductSpecification"}})},{trackEventFileDownload:d}=(()=>{let{getTrackingData:e}=(0,M.useTracking)();return{trackEventFileDownload:t=>{(e=>{setTimeout(()=>{let t;return t={action:null==e?void 0:e.action,client_side_third_party_resolve:"pending",custom_event_timestamp:Date.now(),event_name:"file_download",file_extension:e.file_extension,file_name:e.file_name,ga_user_cookie
1:(0,z.getCookieFromClient)("_ga"),item_category:e.item_category,item_category2:e.item_category2,item_category3:e.item_category3,item_name:e.item_name,item_variant:e.item_variant,link_text:"Use & Care",link_url:e.link_url,module_type:e.module_type,page_type:e.page_type},(0,O.default)({name:B.AnalyticEvents.fileDownload,payload:t,options:{avoidToPushWithDataLayer:!0}})},100)})({...e(),action:null==t?void 0:t.action,file_extension:t.file_extension,file_name:t.file_name,item_category:t.item_category,item_category2:t.item_category2,item_category3:t.item_category3,item_name:t.item_name,item_variant:t.item_variant,link_url:t.link_url,module_type:null==t?void 0:t.module_type,page_type:null==t?void 0:t.page_type})}}})(),[s,c]=(0,o.useState)(),{data:p}=(0,ey.useGetProductCard)(),{data:m}=(0,u.useGetTranslations)({locale:l});return e?{props:{id:e.id,title:e.title,specifications:[...(null==p?void 0:p.highlightedSpecifications)?[{type:Y.Dimensions,title:e.dimensionsTitle,image:p.technicalDrawing?p.technicalDrawing:null,content:null==p?void 0:p.highlightedSpecifications}]:[],{type:Y.Description,title:e.description,content:p.longDescription},...(null==(i=p.specificationGroups)?void 0:i.map(e=>{var t;return{title:e.label,content:null!=(t=e.specifications)?t:[]}}))||[],...(null==p?void 0:p.type)===ef.ProductType.Mda?[{type:Y.Documents,title:e.documentsTitle,content:(null==(n=p.documents)?void 0:n.map(e=>({content:{children:null==e?void 0:e.name,href:null==e?void 0:e.src}})))||[]}]:[]],warrantyCta:{...e.warrantyCta,onClick:()=>{r({action:"Tech specs - Download guarantee",...t}),d({action:"Tech specs - Download guarantee",file_extension:"pdf",file_name:e.warrantyCta.href,item_name:p.name,item_variant:p.colorLabel,link_url:e.warrantyCta.href,page_type:"ProductDetailPage",module_type:e.__typenanme,...t})}},documents:(null==p?void 0:p.type)===ef.ProductType.Sda&&(null==(a=p.documents)?void 0:a.map(l=>({children:l&&eC(l,m),href:null==l?void 0:l.src,target:"_blank",onClick:()=>{r({action:"Tech specs - Download ".concat(null==l?void 0:l.name),...t}),d({action:"Tech specs - Download ".concat(null==l?void 0:l.name),file_extension:"pdf",file_name:null==l?void 0:l.src,item_name:p.name,item_variant:p.colorLabel,link_url:null==l?void 0:l.src,page_type:"ProductDetailPage",module_type:e.__typenanme,...t})}})))||[],onItemChange:e=>{if(s){if(!e){c(void 0),r({action:"Tech specs - Collapse ".concat(s),...t});return}e!==s&&r({action:"Tech specs - Collapse ".concat(s),...t})}c(e),r({action:"Tech specs - Expand ".concat(e),...t})},warningProps65:{warningTitle:null==m?void 0:m.pdp_prop65_title,warningContent:null==m?void 0:m.pdp_prop65_content,warningLink:null==m?void 0:m.pdp_prop65_link,warningAB1200Link:null==m?void 0:m.pdp_ab1200_link,warningAB1200Title:null==m?void 0:m.pdp_ab1200_title}}}:null},eC=(e,t)=>{switch(e.label){case"use-care":return null==t?void 0:t.useAndCareGuideLabel;case"instruction-for-use":return null==t?void 0:t.instructionsForUseLabel;default:return null==e?void 0:e.name}};e.s(["default",()=>eZ],5893);var ek=e.i(150330);e.i(881804);var eS=e.i(802430),eI=e.i(885431),eT=e.i(147749),e$=e.i(603783),e_=e.i(24297);e.i(174231);var eP=e.i(555318);let eL=o.default.forwardRef((e,l)=>{let{id:i,title:n,description:a,items:r,accessoriesLabel:d,onAccessoriesInteraction:s,onAccessoriesSlide:c,dataId:u,...p}=e,[m,g]=(0,o.useState)(0),[v,h]=(0,o.useState)(),[x,b]=(0,o.useState)(!0),f=(0,o.useId)(),y="".concat(f,"_next"),w="".concat(f,"_prev"),j="".concat(f,"_pagination");return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(eA,{id:i,ref:l,"data-id":u,...p,size:"xl",children:[(0,t.jsx)(eE,{children:(0,t.jsxs)(eD,{children:[(0,t.jsx)(eg.Heading,{heading:"h2",as:"h2",css:{margin:"0 0 $4"},children:n}),(0,t.jsx)(H.Text,{children:a}),d?(0,t.jsx)(eR,{children:d}):null]})}),(0,t.jsxs)(eP.Dialog,{id:"product-whats-in-the-box",children:[(0,t.jsxs)(eM,{children:[(0,t.jsx)(eO,{direction:"right","data-navigation":y,"data-component-id":"product-whats-in-the-box-swiper-arrow-right",children:(0,t.jsx)(V.Icon,{icon:"Caret",label:""})}),(0,t.jsx)(eO,{direction:"left","data-navigation":w,"data-component-id":"product-whats-in-the-box-swiper-arrow-left",children:(0,t.jsx)(V.Icon,{icon:"Caret",label:""})}
1),(0,t.jsx)(e_.Swiper,{modules:[e$.Pagination,eI.Keyboard,eS.A11y,eT.Navigation],onSwiper:h,grabCursor:!0,initialSlide:m,slidesPerView:"auto",centeredSlides:!0,centeredSlidesBounds:!0,watchSlidesProgress:!0,spaceBetween:20,slidesOffsetBefore:20,slidesOffsetAfter:20,onClick:e=>{g(e.clickedIndex),s(e.clickedIndex),b(!1)},pagination:{type:"bullets",bulletElement:"a",el:'[data-pagination="'.concat(j,'"]'),clickable:!0},navigation:{nextEl:'[data-navigation="'.concat(y,'"]'),prevEl:'[data-navigation="'.concat(w,'"]')},breakpoints:{767:{slidesPerView:4,slidesPerGroup:3,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0},1280:{slidesPerView:6,slidesPerGroup:5,centeredSlides:!1}},"data-component-id":"product-whats-in-the-box-swiper",children:r.map((e,l)=>e?(0,t.jsx)(e_.SwiperSlide,{"data-component-id":"product-whats-in-the-box-swiper-slide",children:(0,t.jsx)(eV,{item:e})},l):null)}),(0,t.jsx)(eB,{"data-pagination":j})]}),(0,t.jsx)(eP.Dialog.Content,{title:n,overlay:!0,"data-component-id":"whats-in-the-box-dialog",children:(0,t.jsxs)(eN,{children:[(0,t.jsx)(eF,{direction:"right","data-navigation":y+"_dialog","data-component-id":"product-whats-in-the-box-swiper-arrow-right",children:(0,t.jsx)(V.Icon,{icon:"Caret",label:""})}),(0,t.jsx)(eF,{direction:"left","data-navigation":w+"_dialog","data-component-id":"product-whats-in-the-box-swiper-arrow-left",children:(0,t.jsx)(V.Icon,{icon:"Caret",label:""})}),(0,t.jsx)(e_.Swiper,{modules:[e$.Pagination,eI.Keyboard,eS.A11y,eT.Navigation],initialSlide:m,grabCursor:!0,pagination:{type:"bullets",bulletElement:"a",clickable:!0,el:'[data-pagination="'.concat(j,'_dialog"]')},navigation:{nextEl:'[data-navigation="'.concat(y,'_dialog"]'),prevEl:'[data-navigation="'.concat(w,'_dialog"]')},onActiveIndexChange:e=>{null==v||v.slideTo(e.activeIndex),x||0===m?c(e.previousIndex):b(!0)},keyboard:!0,"data-component-id":"product-whats-in-the-box-swiper",children:r.map((e,l)=>(0,t.jsx)(e_.SwiperSlide,{"data-component-id":"product-whats-in-the-box-swiper-slide",children:(0,t.jsx)(eU,{item:e})},l))}),(0,t.jsx)(ez,{"data-pagination":j+"_dialog"})]})})]})]})})}),eA=(0,K.styled)(em.Container,{position:"relative",pb:"$7",mb:K.Gutter.sm,"&::after":{content:"''",position:"absolute",bottom:-20,left:"50%",transform:"translateX(-50%)",width:"100vw",height:20,background:"linear-gradient(180deg, rgb(222 222 222) 0%, rgb(232 232 232) 1px, rgba(0,0,0,0) 45%)"},"@md":{pb:"$7-5",mb:K.Gutter.md},"@lg":{display:"flex",alignItems:"center",pb:K.Gutter.md,pt:K.Gutter.md},".swiper":{paddingBottom:0},".swiper-slide":{width:"50%","@md":{width:"calc(25% - 20px)"}},".swiper-button-disabled":{display:"none"},".swiper-horizontal>.swiper-pagination-bullets":{bottom:"0 !important"}}),eE=(0,K.styled)("div",{textAlign:"center",boxSizing:"border-box",padding:"$9 $5 $1","@lg":{padding:"$12 $4",width:"30%",flexShrink:0,boxSizing:"border-box"}}),eD=(0,K.styled)("div",{"@lg":{width:"80%",margin:"0 auto"},"@2xl":{width:"62%"}}),eR=(0,K.styled)("strong",{fontWeight:"$black",color:"$copyRed",display:"block",margin:"14px 0 $4"}),eM=(0,K.styled)("div",{position:"relative","@md":{padding:"0 $5"},"@lg":{boxSizing:"border-box",width:"70%",padding:"0 $5 0 0"}}),eO=(0,K.styled)("button",{position:"absolute",top:0,width:56,height:"100%","@md":{width:90},zIndex:10,padding:0,border:"none",cursor:"pointer",variants:{direction:{left:{left:0,background:"linear-gradient(90deg, rgba(255,255,255,1) 30%, rgba(255,255,255,0) 100%)",svg:{left:10,transform:"rotate(180deg)"}},right:{right:0,background:"linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 70%)","@lg":{right:20},svg:{right:10}}}},svg:{width:14,height:14,stroke:"#000",position:"absolute",top:"35%","@md":{top:80}}}),eB=(0,K.styled)("div",{textAlign:"center",".swiper-pagination-bullet-active":{backgroundColor:"$bkgRed !important"},"@lg":{transform:"translateY(20px)"}}),ez=(0,K.styled)("div",{textAlign:"center",".swiper-pagination-bullet-active":{backgroundColor:"$bkgRed !important"}}),eN=(0,K.styled)("div",{".swiper":{paddingBottom:40}}),eF=(0,K.styled)("button",{display:"none","@md":{display:"block",background:"none",padding:0,border:0,position:"absolute",top:"24.5%",cursor:"pointer",zIndex:10},variants:{direction:{left:{left:23,svg:{transform:"rotate(180deg)"}},right:{right:23}}},svg:{width:30,height:30,stroke:"#000"}}),eV=e=>{let{item:l}=e;return(0,t.jsx)(eP.Dialog.Trigger,{children:(0,t.jsxs)(eG,{children:[l.thumbnail?(0,t.jsxs)(eW,{children:[(0,t.jsx)(G.Image,{src:l.thumbnail.src,alt:l.thumbnail.alt,layout:"fill",objectFit:"cover",tabIndex:0}),(0,t.jsx)(eH,{"aria-label":"Open item",tabIndex:0,children:(0,t.jsx)(V.Icon,{icon:"Search",label:"",fill:"#c41230",css:{size:15}})})]}):null,(0,t.jsx)(eq,{children:l.name})]})})},eG=(0,K.styled)("div",{height:"$full",display:"flex",width:"100%",flexDirection:"column",mt:0,cursor:"pointer"}),eW=(0,K.styled)("div",{position:"relative",border:"1px solid #d1d3d5",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center","&:before":{display:"block",content:"''",width:"100%",paddingTop:"100%"}}),eH=(0,K.styled)("div",{position:"absolute",bottom:0,left:0,width:"1.8125rem",height:"1.8125rem",backgroundColor:"#FFF",boxShadow:"0 1px 7px rgb(0 0 0 / 20%)",display:"flex",alignItems:"center",justifyContent:"center",transition:"all .3s ease-out",cursor:"pointer","&:hover, &:focus":{backgroundColor:"$bkgRed",color:"$copyWhite",svg:{fill:"$copyWhite !important",color:"$copyWhite"}}}),eq=(0,K.styled)(H.Text,{display:"block",paddingTop:"$3",margin:0,fontSize:13}),eU=e=>{let{item:l}=e;return(0,t.jsxs)(eK,{children:[l.image?(0,t.jsx)(eY,{children:(0,t.jsx)(G.Image,{src:l.image.src,alt:l.image.alt,layout:"fill",objectFit:"contain"})}):null,(0,t.jsxs)(eQ,{children:[(0,t.jsx)(eg.Heading,{heading:"h1",as:"h2",css:{mt:0},children:l.name}),(0,t.jsx)(H.Text,{css:{marginBottom:"$5"},children:l.description})]})]})},eK=(0,K.styled)("div",{textAlign:"center",".swiper":{paddingBottom:50}}),eY=(0,K.styled)("div",{position:"relative",overflow:"hidden",height:200,"@xs":{height:300}}),eQ=(0,K.styled)("div",{"@md":{width:"80%",margin:"0 auto"}}),eZ=e=>
1{let{module:l,locale:i,categories:n,productColor:o}=e,{props:a}=eX(l,i,n,o)||{};return a?(0,t.jsx)(eL,{...a,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},eX=(e,t,l,i)=>{var n,o,a;let{trackAccessoriesZoomIn:d,trackAccessoriesZoomInSlider:s}=(()=>{let{getTrackingData:e}=(0,M.useTracking)();return{trackAccessoriesZoomIn:t=>{let{isLoggedIn:l,...i}=e();return(e=>{let t,{metadata:l,...i}=e;return t={...(0,ek.metadataAnalyticPayloadMapper)(l),...i},(0,O.default)({name:B.AnalyticEvents.pdpAccessoriesZoomIn,payload:t})})({...i,...t})},trackAccessoriesZoomInSlider:t=>{let{isLoggedIn:l,...i}=e();return(e=>{let t,{metadata:l,...i}=e;return t={...(0,ek.metadataAnalyticPayloadMapper)(l),...i},(0,O.default)({name:B.AnalyticEvents.pdpAccessoriesZoomInSlider,payload:t})})({...i,...t})}}})(),{data:c}=(0,r.useGetSessionData)({locale:t}),{data:u}=(0,ey.useGetProductCard)();if(!e)return null;let p=(null==u||null==(n=u.items)?void 0:n.map(e=>{var t,l,i,n,o,a;return e?{...e,thumbnail:{src:null==(t=e.image)?void 0:t.src,alt:null!=(o=null==(l=e.image)?void 0:l.alt)?o:""},image:{src:null==(i=e.image)?void 0:i.src,alt:null!=(a=null==(n=e.image)?void 0:n.alt)?a:""}}:null}))||[],m=null==u||null==(o=u.items)?void 0:o.reduce((e,t)=>"Accessory"===t.type?e+1:e,0);return{metadata:null,props:{id:e.id,title:e.title,description:e.description,items:p,accessoriesLabel:m>0&&(null==e||null==(a=e.accessoriesLabel)?void 0:a.trim())?"".concat(m," ").concat(e.accessoriesLabel):null,onAccessoriesInteraction:e=>{var t,n,o,a,r;let s=null==u?void 0:u.items[e];d({accessory_name:null==s?void 0:s.name,accessory_position:e,number_of_accessories:null!=(a=null==u||null==(t=u.items)?void 0:t.length)?a:0,item_name:null==s||null==(n=s.image)?void 0:n.alt,...l,item_variant:null!=(r=null==i?void 0:i.label)?r:"",isLoggedIn:!!(null==c||null==(o=c.user)?void 0:o.isAuthenticated)})},onAccessoriesSlide:e=>{var t,n,o,a,r;let d=null==u?void 0:u.items[e];s({accessory_name:null==d?void 0:d.name,accessory_position:e,number_of_accessories:null!=(a=null==u||null==(t=u.items)?void 0:t.length)?a:0,item_name:null==d||null==(n=d.image)?void 0:n.alt,...l,item_variant:null!=(r=null==i?void 0:i.label)?r:"",isLoggedIn:!!(null==c||null==(o=c.user)?void 0:o.isAuthenticated)})}}}};e.s(["default",()=>tr],534283);var eJ=e.i(757825);e.i(847413);var e0=e.i(317028);e.i(328066);var e1=e.i(102101);e.i(406095);var e5=e.i(376628);let e2=e=>e?"string"==typeof e||"number"==typeof e?String(e):Array.isArray(e)?e.map(e2).join(""):(0,o.isValidElement)(e)&&e.props.children?e2(e.props.children):"":"",e3=o.default.forwardRef((e,l)=>{let{content:i,contentLinkBlank:n,title:o,backgroundColor:a,badge:r,textColor:d,image:s,tooltip:c,cta:u,onCtaClick:p,imgPriority:m,...g}=e;return(0,t.jsx)(tt,{ref:l,...g,hasNoImage:!s,hasNoBadge:!r,children:(0,t.jsxs)(e4,{css:{backgroundColor:a,color:d},children:[r?(0,t.jsx)(e8,{css:s?{position:"absolute",top:"111px","@md":{top:"46px"},"@lg":{top:"66px"}}:{position:"absolute",top:"36px","@md":{top:"46px"},"@lg":{top:"66px"}},bordered:!1,size:"md",...r}):null,(0,t.jsxs)(e9,{children:[(null==s?void 0:s.src)?(0,t.jsx)(e7,{children:(0,t.jsx)(G.Image,{src:s.src,alt:s.alt,layout:"fill",objectFit:"cover",dimension:"300",priority:m,sizes:"100vw"})}):null,(0,t.jsxs)(te,{children:[(0,t.jsx)(eg.Heading,{as:"h2",css:{color:d,margin:"0 0 $3"},children:o}),i?(0,t.jsx)(H.Text,{css:{color:d,margin:0,marginBottom:"15px"},children:n?i.replace(/<a(?![^>]*\btarget=)[^>]*>/g,e=>e.replace(/>$/,' target="_blank" rel="noopener noreferrer">')):i}):null,c?(0,t.jsx)(e1.Tooltip,{children:e=>{var l;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(e1.Tooltip.Trigger,{...e,href:c.href,color:c.labelColor,children:c.label}),(0,t.jsx)(e1.Tooltip.Portal,{children:(0,t.jsx)(e1.Tooltip.Content,{...e,align:"start",sideOffset:12,css:{"@md":{width:"$96"},...(null==c||null==(l=c.content)?void 0:l.length)>400?{"@lg":{width:"$180"}}:{}},children:(0,t.jsx)(H.Text,{css:{"@max_s":{fontSize:"$2xs",lineHeight:"$4"}},children:c.content})})})]})}}):null]}),u?(0,t.jsx)(e5.Button,{...u,css:{display:"flex",height:"35px",top:"158px",whiteSpace:"nowrap",marginTop:"15p
1x",marginLeft:"10px",textAlign:"center","@lg":{marginTop:"1px"}},target:"_self"===u.target?"_parent":u.target,"data-component-id":"pdp-promo-banner-read-more",onClick:()=>null==p?void 0:p(e6(null==u?void 0:u.children))}):null]})]})})}),e6=e=>e2(e).trim()||"CTA",e8=(0,K.styled)(e0.Badge,{position:"absolute",top:"36px",zIndex:5,"@md":{top:"46px"},"@lg":{top:"66px"},variants:{image:{true:{position:"absolute",top:"111px !important","@md":{top:"46px !important"},"@lg":{top:"66px !important"}}}}}),e4=(0,K.styled)("div",{"@md":{padding:"$10 0"}}),e9=(0,K.styled)("div",{display:"flex",flexDirection:"column",alignItems:"center",padding:"$6 0",position:"relative","@md":{flexDirection:"row",justifyContent:"center",width:"85%",mx:"auto",padding:0},"@lg":{width:"85%"}}),e7=(0,K.styled)("div",{width:"100%",margin:"-100px auto 0",position:"relative",maxWidth:165,flexShrink:0,"@md":{maxWidth:230,margin:"-50px 15px -50px 0"},"@lg":{maxWidth:230,margin:"-60px 15px -60px 0"},"&:before":{display:"block",content:"''",width:"100%",paddingTop:"100%"}}),te=(0,K.styled)("div",{display:"flex",flexDirection:"column",textAlign:"center",padding:"0 $5","@md":{textAlign:"left",alignItems:"flex-start",padding:"0 $3-5"}}),tt=(0,K.styled)("div",{backgroundColor:"$bkgWhite","@md":{padding:"$2-5 0"},"@lg":{padding:"$10-5 0"},minHeight:"250px",display:"flex",flexDirection:"column",justifyContent:"center",variants:{hasNoImage:{true:{["".concat(te)]:{alignItems:"center",textAlign:"center"}},false:{paddingTop:115,"@md":{paddingTop:"$2-5"},"@lg":{paddingTop:"$7-5"},["".concat(te)]:{paddingTop:"$5","@md":{paddingTop:0}}}},hasNoBadge:{true:{},false:{}}},compoundVariants:[{hasNoImage:!0,hasNoBadge:!1,css:{["".concat(te)]:{paddingTop:56,"@md":{paddingTop:0}}}}]}),tl=o.default.forwardRef((e,l)=>{let{id:i,banners:n,onChangeBanner:a,onCtaClick:r,dataId:d,enableMarginReduction:s,...c}=e,u=(0,o.useId)(),p="".concat(u,"_pagination");return(0,t.jsxs)(ti,{id:i,ref:l,"data-id":d,enableMarginReduction:s,...c,children:[(0,t.jsx)(to,{modules:[e$.Pagination,eI.Keyboard,eS.A11y,eJ.Autoplay],enabled:n.length>1,grabCursor:!0,slidesPerView:1,pagination:{type:"bullets",bulletElement:"a",el:'[data-pagination="'.concat(p,'"]'),clickable:!0},onSlideChangeTransitionEnd:e=>{a(n[null==e?void 0:e.activeIndex])},watchSlidesProgress:!0,keyboard:!0,autoplay:{delay:1e4,disableOnInteraction:!0,stopOnLastSlide:!0},"data-component-id":"promo-banner-swiper",children:n.map((e,l)=>e?(0,t.jsx)(e_.SwiperSlide,{"data-component-id":"promo-banner-swiper-slide",children:(0,t.jsx)(e3,{onCtaClick:r,imgPriority:0===l,...e})},l):null)}),(0,t.jsx)(tn,{"data-pagination":p,"data-component-id":"promo-banner-swiper-pagination"})]})}),ti=(0,K.styled)(em.Container,{display:"flex",flexDirection:"column",justifyContent:"center",position:"relative",overflow:"hidden",px:"$5",my:K.Gutter.sm,"@md":{my:K.Gutter.md},"@lg":{px:0}}),tn=(0,K.styled)("div",{textAlign:"center",".swiper-pagination-bullet-active":{backgroundColor:"$bkgRed !important"}}),to=(0,K.styled)(e_.Swiper,{width:"100%"});var ta=e.i(448924);let tr=e=>{let{module:l,categories:i,prodCard:n}=e,{props:o}=td(l,i,n)||{};return o?(0,t.jsx)(tl,{...o,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},td=(e,t,l)=>{var i,n,o,a,r,s,c,u,p,m,g;let{trackEventMiscInteraction:v}=(0,ta.useTrackEventsProductOverview)();if(!e)return null;let h=(null!=(s=null!=(r=null==l||null==(i=l.category)?void 0:i.pathEn)?r:null==l||null==(n=l.category)?void 0:n.path)?s:[]).reduce((e,t,l)=>{let i=t?t.charAt(0).toUpperCase()+t.slice(1):"";return e["item_category".concat(l+2)]=i,e},{}),x=null!=(c=null==l||null==(o=l.colors)?void 0:o.find(e=>(null==e?void 0:e.twelvenc)===(null==l?void 0:l.twelveNc)||(null==e?void 0:e.twelveNc)===(null==l?void 0:l.twelveNc)))?c:null,b=null!=(p=null!=(u=null==x?void 0:x.labelEn)?u:null==x?void 0:x.label)?p:"Default variant",f={...t,...h,item_category:(null==l?void 0:l.type)==="SDA"?"Small Domestic Appliances":"Major Domestic Appliances",item_name:null!=(g=null!=(m=null==l?void 0:l.nameEn)?m:null==l?void 0:l.name)?g:"",item_variant:b};return{props:{id:e.id,banners:(null==(a=e.banners)?void 0:a.map(e=>e?{...e,textColor:e.textColor,backgroundColor:e.backgroundColor,badge:(0,d.badgeFieldsToBadgePropsV2)(e.badge,"fixed",20)}:null))||[],onChangeBanner:e=>{v({action:"Promotion Carousel click â ".concat(e.title),...t})},onCtaClick:e=>{v({action:"".concat(e," Button click â Promo Banner Card"),...f})}}}};e.s(["default",()=>tK],317860),e.i(20479);var ts=e.i(706701);e.i(669934);var tc=e.i(136082),tu=e.i(558021);e.i(405048);var tp=e.i(572166);e.i(142930);var tm=e.i(460622);e.i(709887);var tg=e.i(86212),tv=e.i(349577);e.i(581718);var th=e.i(119303);e.i(715388);var tx=e.i(159901);e.i(479846);var tb=e.i(979693);e.i(650251);var tf=e.i(584021);e.i(531025);var ty=e.i(695388);let tw=e=>{var l,i,n,a;let{id:r,maxLength:d,rightElement:s,hasCheckedIcon:c=!0,name:u,label:p,hiddenLabel:m,type:g,control:v,rules:h,defaultValue:x,isInvalid:b,isValid:f,helperText:y,optionalLabel:w="Optional",placeholder:j,formSubmit:C,customOnBlurHandler:k,noSpace:S,uppercase:I,infoLabel:T,isCondensed:$,customOnFocusHandler:_,resetInput:P,register:L,...A}=e,E=null==h?void 0:h.validate,{field:D,fieldState:{error:R,isTouched:M}}=(0,tu.useController)({name:u,control:v,rules:{required:"object"==typeof E&&null!==E&&"required"in E?E.required():void 0,...h},defaultValue:x||""}),O=(null==h?void 0:h.required)||(null==(l=null==h?void 0:h.validate)?void 0:l.required),B=null!=f?f:!!D.value&&!R&&M,z=null!=b?b:!!R||(M||!!x)&&!(null==D?void 0:D.value);e.control&&e.control._options&&(e.control._options.mode="onBlur"),(0,o.useEffect)(()=>{C&&D.onBlur()});let[N,V]=(0,o.useState)(!1);return(0,o.useEffect)(()=>
1{if("undefined"!=typeof navigator){let e=window.navigator.userAgent||window.navigator.vendor;V(/iPad|iPhone|iPod/.test(e))}},[]),(0,t.jsxs)(tC,{...A,id:null!=r?r:u,isInvalid:z,isValid:B,isRequired:O,isCondensed:$,children:[(0,t.jsx)(F.Flex,{justify:"between",align:"end",children:y?(0,t.jsx)(tb.FormHelperText,{children:y}):null}),(0,t.jsxs)(tj,{children:[m?(0,t.jsx)(tv.Root,{children:(0,t.jsx)(ty.Label,{children:p})}):(0,t.jsxs)(ty.Label,{isCondensed:$,isActive:"file"===g||!!j||!!D.value,css:{...s?{width:"calc(100% - 120px) !important"}:{}},children:[p," ",!O&&$?"(".concat(w,")"):null]}),N&&(0,t.jsx)(ty.Label,{css:{...s?{width:"calc(100% - 120px) !important"}:{},color:"black",marginBottom:-5},children:null!=(a=null==D||null==(n=D.value)||null==(i=n[0])?void 0:i.name)?a:"No file selected."}),(0,t.jsx)(tT,{...L(null==e?void 0:e.name,{...h}),type:"file",isValid:B,isInvalid:z}),s?(0,t.jsx)(tf.InputRightElement,{isCondensed:$,children:s}):null,c&&B?(0,t.jsx)(tk,{children:(0,t.jsx)(tS,{icon:"Check",label:""})}):null]}),T?(0,t.jsx)(tI,{children:T}):null,R?(0,t.jsx)(tx.FormErrorMessage,{isCondensed:$,children:R.message}):null]})},tj=(0,K.styled)("div",{position:"relative"}),tC=(0,K.styled)(th.FormControl,{label:{width:"calc(100% - 40px)"},variants:{isCondensed:{true:{marginBottom:0},false:{}}}}),tk=(0,K.styled)("span",{position:"absolute",right:20,bottom:12,zIndex:5}),tS=(0,K.styled)(V.Icon,{size:18,fill:"$inputValid"}),tI=(0,K.styled)("span",{color:"$copyMediumGray",p:"$1 $2",fontSize:"$xs",lineHeight:"$5",display:"block"}),tT=(0,K.styled)("input",{backgroundColor:"$bkgWhite",height:"54px",padding:"24px $5 5px",border:"0.0625rem solid $inputBorder",borderRadius:5,fontFamily:"$nunito",fontWeight:"400",fontSize:"1rem",lineHeight:"1.5",boxShadow:"inset 0 0 0.625rem 0.3125rem #f2f2f2",width:"100%",margin:"0",color:"#000",transition:"none",boxSizing:"border-box",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",appearance:"none",'&[type="file"]::file-selector-button':{display:"none"},variants:{isInvalid:{true:{boxShadow:"inset 0 0 0.625rem 0.3125rem #f2f2f2, 0px 0px 0px 2px #c41130"},false:{}},isValid:{true:{boxShadow:"inset 0 0 0.625rem 0.3125rem #f2f2f2, 0px 0px 0px 2px #77ae48",pr:55},false:{}},isCondensed:{true:{marginBottom:"10px",height:"44px",fontSize:"14px"},false:{}}}}),t$=o.default.forwardRef(e=>{let{__typename:l,dataId:i,blocks:n,beforeSubmitText:a,submit:r,onSubmit:d,otherField:s,filterField:c,emailValidationRegex:u,phoneNumberRegex:p,layout:m,thankYou:g}=e,{control:v,handleSubmit:h,register:x,getValues:b,setValue:f,watch:y}=(0,tu.useForm)({mode:"onBlur"}),[w,j]=(0,o.useState)(!1),[C,k]=(0,o.useState)(!1),[S,I]=(0,o.useState)(""),T=(0,tu.useWatch)({control:v,name:s?null==s?void 0:s.name:""}),$=(0,tu.useWatch)({control:v,name:c?null==c?void 0:c.filteringSelect:""}),_=(0,tu.useWatch)({control:v,name:"terms_flag1"});(0,o.useEffect)(()=>{b(null==s?void 0:s.name)===s.triggerValue?k(!0):k(!1)},[T]),(0,o.useEffect)(()=>{b(null==c?void 0:c.filteringSelect)&&(I(b(null==c?void 0:c.filteringSelect)),f(null==c?void 0:c.filteredSelect,""))},[$]),(0,o.useEffect)(()=>{!1===b("terms_flag1")&&"terms_flag_profiling"in b()&&f("terms_flag_profiling",!1)},[_]);let P=new Date().toISOString().split("T")[0],L=y("name");return(0,t.jsxs)(t.Fragment,{children:[!(null==g?void 0:g.isVisible)&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(t_,{id:l,"data-id":i,size:"sm",layout:m,children:(0,t.jsxs)(tD,{onSubmit:h(d),children:[null==n?void 0:n.map(e=>{var l;return(0,t.jsxs)(tA,{children:["bigCampaign"!==m?(0,t.jsx)(eg.Heading,{heading:"h1",as:"h2",css:{display:"flex"},children:(null==(l=e.title)?void 0:l.length)>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(tB,{children:e.index})," ",e.title]}):null}):null,(0,t.jsx)(tE,{children:"bigCampaign"===m&&e.inputs.some(e=>"name"===e.inputId)&&e.inputs.some(e=>"surname"===e.inputId)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(tL,{children:e.inputs.filter(e=>"name"===e.inputId||"surname"===e.inputId).map(e=>{var l,i;let n={label:null==e?void 0:e.label,required:null==e?void 0:e.required,name:(null==e?void 0:e.type)==="file"?"file_"+e.inputId:e.inputId,control:v,register:x,rules:(0,ts.validationsToRules)({rules:{maxLength:120,regex:(null==e?void 0:e.pattern)?new RegExp(null==e?void 0:e.pattern):null,
1serialNumber:"serial_number"===e.inputId,fileExtension:(null==e?void 0:e.type)==="file",plainTextWithoutNumber:(null==e||null==(l=e.validations)?void 0:l.type)==="plainTextWithoutNumber"},validations:null==e?void 0:e.validations}),placeholder:null==e?void 0:e.placeholder,maxDate:P<(null==e?void 0:e.maxDate)?P:null==e?void 0:e.maxDate,minDate:null==e?void 0:e.minDate,type:null==e?void 0:e.type,viewOtherFields:null==e?void 0:e.viewFields},o=(null==e?void 0:e.viewFields)?{label:null==e?void 0:e.label,required:null==e?void 0:e.required,name:"specific_shop_name",control:v,register:x,rules:(0,ts.validationsToRules)({rules:{required:!0,maxLength:120},validations:null==e?void 0:e.validations}),type:"text"}:null;return(0,t.jsxs)(tP,{style:{width:"50%"},children:[(null==e?void 0:e.tooltipInfo)&&(0,t.jsx)(e1.Tooltip,{children:l=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(tF,{...l,children:(0,t.jsx)(V.Icon,{icon:"InfoTooltip",label:""})}),(0,t.jsx)(e1.Tooltip.Content,{...l,align:"end",sideOffset:2,children:(0,t.jsx)(H.Text,{children:e.tooltipInfo})})]})}),(null==e?void 0:e.type)==="text"?(0,t.jsx)(tc.InputField,{...n,formSubmit:w}):null,(null==e?void 0:e.type)==="email"?(0,t.jsx)(tc.InputField,{...n,rules:(0,ts.validationsToRules)({rules:{email:!0,required:!1,maxLength:120,regex:u},validations:null==e?void 0:e.validations}),formSubmit:w}):null,"number"===e.type&&"phone"===e.inputId?(0,t.jsx)(tc.InputField,{...n,rules:(0,ts.validationsToRules)({rules:{required:!1,phoneWithoutDialCode:!0,regex:p,maxLength:11},validations:null==e?void 0:e.validations}),name:"phoneNumber",formSubmit:w}):null,(null==e?void 0:e.type)==="file"?(0,t.jsx)(tw,{...n,formSubmit:w}):null,(null==e?void 0:e.type)==="checkbox"?(0,t.jsxs)(tR,{children:[(0,t.jsx)(H.Text,{css:{marginBottom:"$2",display:"inline-flex",position:"relative",pb:"$2",pt:"$2"},children:null==e?void 0:e.checkboxIntroText}),(0,t.jsx)(tp.CheckboxField,{...n,control:v,formSubmit:w,isDisabled:!_&&"terms_flag_profiling"===e.inputId})]}):null,(null==e?void 0:e.type)==="date"?(0,t.jsx)(tm.DatePickerField,{...n,control:v}):null,(null==e?void 0:e.type)==="select"?(0,t.jsx)(tg.SelectField,{...n,control:v,emptyOption:null==n?void 0:n.placeholder,css:{mb:"40px"},children:null==e||null==(i=e.options)?void 0:i.map(e=>{let{value:l,label:i,filter:n}=e;return l&&i?(0,t.jsx)("option",{value:l,disabled:n&&!n.includes(S),children:i},l):null})}):null,C&&(null==n?void 0:n.viewOtherFields)&&o?(0,t.jsx)(tc.InputField,{...o,formSubmit:w,css:{width:"100%"}}):null]},e.inputId)})}),e.inputs.filter(e=>"name"!==e.inputId&&"surname"!==e.inputId).map(e=>{var l,i;let n={label:null==e?void 0:e.label,required:null==e?void 0:e.required,name:(null==e?void 0:e.type)==="file"?"file_"+e.inputId:e.inputId,control:v,register:x,rules:(0,ts.validationsToRules)({rules:{maxLength:120,regex:(null==e?void 0:e.pattern)?new RegExp(null==e?void 0:e.pattern):null,serialNumber:"serial_number"===e.inputId,fileExtension:(null==e?void 0:e.type)==="file",plainTextWithoutNumber:(null==e||null==(l=e.validations)?void 0:l.type)==="plainTextWithoutNumber"},validations:null==e?void 0:e.validations}),placeholder:null==e?void 0:e.placeholder,maxDate:P<(null==e?void 0:e.maxDate)?P:null==e?void 0:e.maxDate,minDate:null==e?void 0:e.minDate,type:null==e?void 0:e.type,viewOtherFields:null==e?void 0:e.viewFields},o=(null==e?void 0:e.viewFields)?{label:null==e?void 0:e.label,required:null==e?void 0:e.required,name:"specific_shop_name",control:v,register:x,rules:(0,ts.validationsToRules)({rules:{required:!0,maxLength:120},validations:null==e?void 0:e.validations}),type:"text"}:null;return(0,t.jsxs)(tP,{children:[(null==e?void 0:e.tooltipInfo)&&(0,t.jsx)(e1.Tooltip,{children:l=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(tF,{...l,children:(0,t.jsx)(V.Icon,{icon:"InfoTooltip",label:""})}),(0,t.jsx)(e1.Tooltip.Content,{...l,align:"end",sideOffset:2,children:(0,t.jsx)(H.Text,{children:e.tooltipInfo})})]})}),(null==e?void 0:e.type)==="text"?(0,t.jsx)(tc.InputField,{...n,formSubmit:w}):null,(null==e?void 0:e.type)==="email"?(0,t.jsx)(tc.InputField,{...n,rules:(0,ts.validationsToRules)({rules:{email:!0,required:!1,maxLength:120,regex:u},validations:null==e?void 0:e.validations}),formSubmit:w}):null,"number"===e.type&&"phone"===e.inputId?(0,t.jsx)(tc.InputField,{...n,rules:(0,ts.validationsToRules)({rules:{required:!1,phoneWithoutDialCode:!0,regex:p,maxLength:11}
1,validations:null==e?void 0:e.validations}),name:"phoneNumber",formSubmit:w}):null,(null==e?void 0:e.type)==="file"?(0,t.jsx)(tw,{...n,formSubmit:w}):null,(null==e?void 0:e.type)==="checkbox"?(0,t.jsxs)(tR,{children:[(0,t.jsx)(H.Text,{css:{marginBottom:"$2",display:"inline-flex",position:"relative",pb:"$2",pt:"$2"},children:null==e?void 0:e.checkboxIntroText}),(0,t.jsx)(tp.CheckboxField,{...n,control:v,formSubmit:w,isDisabled:!_&&"terms_flag_profiling"===e.inputId})]}):null,(null==e?void 0:e.type)==="date"?(0,t.jsx)(tm.DatePickerField,{...n,control:v}):null,(null==e?void 0:e.type)==="select"?(0,t.jsx)(tg.SelectField,{...n,control:v,emptyOption:null==n?void 0:n.placeholder,css:{mb:"40px"},children:null==e||null==(i=e.options)?void 0:i.map(e=>{let{value:l,label:i,filter:n}=e;return l&&i?(0,t.jsx)("option",{value:l,disabled:n&&!n.includes(S),children:i},l):null})}):null,C&&(null==n?void 0:n.viewOtherFields)&&o?(0,t.jsx)(tc.InputField,{...o,formSubmit:w,css:{width:"100%"}}):null]},e.inputId)})]}):e.inputs.map(e=>{var l,i,n,o,a,r;let d={label:null==e?void 0:e.label,name:(null==e?void 0:e.type)==="file"?"file_"+e.inputId:e.inputId,control:v,register:x,rules:(0,ts.validationsToRules)({rules:{required:null==e?void 0:e.required,maxLength:120,regex:(null==e?void 0:e.pattern)?new RegExp(null==e?void 0:e.pattern):null,serialNumber:"serial_number"===e.inputId,fileExtension:(null==e?void 0:e.type)==="file",plainTextWithoutNumber:(null==e||null==(l=e.validations)?void 0:l.type)==="plainTextWithoutNumber"},validations:null==e?void 0:e.validations}),placeholder:null==e?void 0:e.placeholder,maxDate:P<(null==e?void 0:e.maxDate)?P:null==e?void 0:e.maxDate,minDate:null==e?void 0:e.minDate,type:null==e?void 0:e.type,viewOtherFields:null==e?void 0:e.viewFields},s=(null==e?void 0:e.viewFields)?{label:null==e?void 0:e.label,required:null==e?void 0:e.required,name:"specific_shop_name",control:v,register:x,rules:(0,ts.validationsToRules)({rules:{required:!0,maxLength:120},validations:null==e?void 0:e.validations}),type:"text"}:null;return(0,t.jsxs)(tP,{children:[(null==e?void 0:e.tooltipInfo)&&(0,t.jsx)(e1.Tooltip,{children:l=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(tF,{...l,children:(0,t.jsx)(V.Icon,{icon:"InfoTooltip",label:""})}),(0,t.jsx)(e1.Tooltip.Content,{...l,align:"end",sideOffset:2,children:(0,t.jsx)(H.Text,{children:e.tooltipInfo})})]})}),(null==e?void 0:e.type)==="text"?(0,t.jsx)(tc.InputField,{...d,formSubmit:w}):null,(null==e?void 0:e.type)==="email"?(0,t.jsx)(tc.InputField,{...d,rules:(0,ts.validationsToRules)({rules:{email:!0,required:!1,maxLength:120,regex:u},validations:{REQUIRED:null!=(r=null==e||null==(i=e.validations)?void 0:i.EMAIL)?r:null==e||null==(n=e.validations)?void 0:n.REQUIRED}}),formSubmit:w}):null,"number"===e.type&&"phone"===e.inputId?(0,t.jsx)(tc.InputField,{...d,rules:(0,ts.validationsToRules)({rules:{required:!1,phoneWithoutDialCode:!0,regex:p,maxLength:11},validations:{MAX_LENGTH:null==e||null==(o=e.validations)?void 0:o.PHONE_NUMBER}}),name:"phoneNumber",formSubmit:w}):null,(null==e?void 0:e.type)==="file"?(0,t.jsx)(tw,{...d,formSubmit:w}):null,(null==e?void 0:e.type)==="checkbox"?(0,t.jsxs)(tR,{children:[(0,t.jsx)(H.Text,{css:{marginBottom:"$2",display:"inline-flex",position:"relative",pb:"$2",pt:"$2"},children:null==e?void 0:e.checkboxIntroText}),(0,t.jsx)(tp.CheckboxField,{...d,control:v,formSubmit:w,isDisabled:!_&&"terms_flag_profiling"===e.inputId})]}):null,(null==e?void 0:e.type)==="date"?(0,t.jsx)(tm.DatePickerField,{...d,control:v}):null,(null==e?void 0:e.type)==="select"?(0,t.jsx)(tg.SelectField,{...d,control:v,emptyOption:null==d?void 0:d.placeholder,css:{mb:"40px"},children:null==e||null==(a=e.options)?void 0:a.map(e=>{let{value:l,label:i,filter:n}=e;return l&&i?(0,t.jsx)("option",{value:l,disabled:n&&!n.includes(S),children:i},l):null})}):null,C&&(null==d?void 0:d.viewOtherFields)&&s?(0,t.jsx)(tc.InputField,{...s,formSubmit:w,css:{width:"100%"}}):null]},e.inputId)})})]})}),(0,t.jsxs)(tM,{layout:m,children:[(0,t.jsx)(H.Text,{children:a}),(0,t.jsx)(tO,{...r,onClickEvent:()=>{j(!w)},type:"submit"})]})]})})}),g?(0,t.jsx)(tz,{...g,name:L}):null]})}),t_=(0,K.styled)(em.Container,{mb:K.Gutter.sm,mt:K.Gutter.sm,padding:"25px","@md":{mb:K.Gutter.md},"@lg":{boxShadow:"0 8px 14px 7px rgba(0, 0, 0, .16)"},variants:{layout:{bigCampaign:{maxWidth:"$180",my:K.Gutter.sm,mx:"auto",px:"$5","@lg":{p:0,my:K.Gutter.md}
1,boxShadow:"none"}}}}),tP=(0,K.styled)("div",{display:"flex",width:"100%",position:"relative",flexDirection:"column"}),tL=(0,K.styled)("div",{display:"flex",width:"100%",gap:"$4"}),tA=(0,K.styled)("div",{width:"100%"}),tE=(0,K.styled)("div",{width:"100%"}),tD=(0,K.styled)("form",{display:"flex",height:"100%",alignItems:"center",marginBottom:"$5",flexDirection:"column"}),tR=(0,K.styled)("div",{width:"100%",position:"relative"}),tM=(0,K.styled)("div",{width:"100%",position:"relative",display:"flex",flexDirection:"column",alignItems:"center","@lg":{display:"flex",alignItems:"start"},variants:{layout:{bigCampaign:{display:"flex !important",flexDirection:"column",alignItems:"center"}}}}),tO=(0,K.styled)(e5.Button,{marginTop:"$4",marginBottom:"$2",alignItems:"center",maxWidth:"150px","@lg":{maxWidth:"300px"}}),tB=(0,K.styled)("span",{color:"white",backgroundColor:"$bkgRed",borderRadius:"25px",padding:"5px",height:"25px",width:"25px",display:"inline-flex",justifyContent:"center",fontSize:"24px",lineHeight:"25px",marginRight:"$4"}),tz=e=>{let{title:l,text:i,isVisible:n,cta:a,name:r}=e,d=(0,o.useRef)(null);return((0,o.useEffect)(()=>{!0===n&&document.querySelectorAll("[sequenceorder]").forEach(e=>e.style.display="none"),!0===n&&d.current&&d.current.scrollIntoView({block:"center",behavior:"smooth"})},[n]),n)?(0,t.jsxs)(tN,{ref:d,children:[(0,t.jsxs)(eg.Heading,{heading:"h1",as:"h2",css:{textAlign:"center",m:"0 auto $5","@md":{maxWidth:"70%"}},children:[l," ",r?r+"!":""]}),i?(0,t.jsx)(tV,{children:i}):null,a?(0,t.jsx)(e5.Button,{css:{m:"$5 auto $0"},...a}):null]}):null},tN=(0,K.styled)(em.Container,{display:"flex",flexDirection:"column",position:"relative",my:K.Gutter.sm,px:"$5","@md":{my:K.Gutter.md,mx:"$5",px:"$5",py:K.Gutter.sm,width:"calc(100% - 40px)",boxSizing:"border-box",border:"11px solid $bkgWhiteSmoke"},"@xl":{mx:"auto",width:"auto"}}),tF=(0,K.styled)(e1.Tooltip.Trigger,{marginBottom:"$1",position:"absolute",top:"-22px",right:"0px",width:"17px",height:"17px",border:"1px solid black",borderRadius:"100%",display:"flex",justifyContent:"center",alignItems:"center"}),tV=(0,K.styled)(H.Text,{position:"relative",textAlign:"center",fontStyle:"italic",mb:"$2-2","@md":{px:0}});var tG=e.i(430559);e.i(89885);var tW=e.i(119177),tH=e.i(878549);let tq=e=>globalThis.dataLayer.push({...e});var tU=e.i(194182);let tK=e=>{var l;let{module:i}=e,{props:n}=tY(i)||{},o=null==(l=(0,w.useGetSiteData)().data)?void 0:l.locale,a="EMEA"===(0,j.getPublicConfigByLocale)(o).region;return n?(0,t.jsxs)(t.Fragment,{children:[(null==n?void 0:n.isLoading)?(0,t.jsx)(p.Loader,{}):null,a&&(0,t.jsx)(tU.default,{strategy:"afterInteractive",src:"https://www.google.com/recaptcha/api.js?render=6Lc7ppIfAAAAAGub-eRJf5aLTL345qvwDLo3t42I"}),(0,t.jsx)(t$,{...n,dataId:"module-"+(null==i?void 0:i.sequenceOrder)})]}):null},tY=e=>{var t,l,i,n,a,r,d,s,c,p,m;let{data:g}=(0,w.useGetSiteData)(),{data:v}=(0,u.useGetTranslations)({locale:null==g?void 0:g.locale}),[h,b]=(0,o.useState)(!1),[f,y]=(0,o.useState)(!1),{trackEventPromoFormLeadGenerationInteractions:j,trackEventPromoFormOptinInteractions:C,trackEventPromoFormServiceContactInteractions:k,trackEventPromoFormSubmissions:S}=(()=>{let{getTrackingData:e}=(0,M.useTracking)();return{trackEventPromoFormLeadGenerationInteractions:(t,l)=>{(e=>{tq({event:B.AnalyticEvents.promoFormLeadGeneration,form_type:null==e?void 0:e.formType,eventCategory:"Lead Generation",eventAction:"Optin granted",eventLabel:"Lead from Local promo",email:null==e?void 0:e.data,...(0,ek.metadataAnalyticPayloadMapper)(e.metadata)})})({metadata:e(),data:t,formType:l})},trackEventPromoFormOptinInteractions:(t,l,i)=>{(e=>{tq({event:B.AnalyticEvents.promoFormOptin,newsletter_form_type:null==e?void 0:e.formType,newsletter_form_CTA:e.ctaLabel,...(0,ek.metadataAnalyticPayloadMapper)(e.metadata),profiling_consent:e.profilingConsent||!1})})({profilingConsent:t,metadata:e(),formType:l,ctaLabel:i})},trackEventPromoFormServiceContactInteractions:t=>{(e=>{tq({event:B.AnalyticEvents.promoFormServiceContactFormSubmit,form_type:null==e?void 0:e.formType,serviceReason:"General Report",...(0,ek.metadataAnalyticPayloadMapper)(e.metadata)})})({metadata:e(),formType:t})},trackEventPromoFormSubmissions:(t,l)=>{(e=>{let t={event:B.AnalyticEvents.formSubmission,type:null==e?void 0:e.formType,...(0,ek.metadataAnalyticPayloadMapper)(e.metadata)};e.userPickedOption&&(t={...t,form_topic:e.userPickedOption}),tq(t)})({metadata:e(),formType:t,userPickedOption:l})}}})();if(!e)return null;let I=async t=>{var l,i,n;let o=null!=(n=null==e||null==(i=e.jsonForm)||null==(l=i.submit)?void 0:l.analyticsFormType)?n:"Offline Promo Form";S(o,null==t?void 0:t.gift),b(!0);let a=await (0,tH.handleRecaptchaSW3)(),r=function(e,t,l,i){var n,o,a,r,d,s,c,u,p;let m=new FormData;for(let t in e)t.includes("file_")?m.append(t.replaceAll("file_",""),e[t][0]):t.includes("_flag")?m.append(t,!0===e[t]?"Y":"N"):m.append(t,e[t]);return m.append("token",l),m.append("brand","KA"),m.append("country",null==t||null==(n=t.submit)?void 0:n.country),m.append("language",null==t||null==(o=t.submit)?void 0:o.language),m.append("promotion_id",null==t||null==(a=t.submit)?void 0:a.promotion_id),(null==t||null==(r=t.submit)?void 0:r.tracePayload)&&m.append("tracePayload",null==t||null==(c=t.submit)?void 0:c.tracePayload),(null==t||null==(d=t.submit)?void 0:d.additionalSubscriberAttributes)&&m.append("additionalSubscriberAttributes",JSON.stringify(null==t||null==(u=t.submit)?void 0:u.additionalSubscriberAttributes)),(null==t||null==(s=t.submit)?void 0:s.marketingAttributes)&&m.append("marketing_attributes",JSON.stringify(null==t||null==(p=t.submit)?void 0:p.marketingAttributes)),m}(t,null==e?void 0:e.jsonForm,a,null==g||g.country),d={...Object.fromEntries(r.entries()),locale:null==g?void 0:g.locale};await tG.default.post((0,x.getPromoFormSubmissionUrl)(null==g?void 0:g.locale),d,{headers:{"Content-Type":"multipart/form-data"},data:d}).then(()=>
1{if("Y"===r.get("terms_flag1")){var l,i;C(t.terms_flag_profiling,o,null==e||null==(i=e.jsonForm)||null==(l=i.submit)?void 0:l.button_text)}b(!1),y(!0)}).catch(function(t){b(!1),tW.toast.error(null==e?void 0:e.errorMessage)})},T={name:"",triggerValue:""},$={filteredSelect:"",filteringSelect:""},_=(null==e||null==(l=e.jsonForm)||null==(t=l.blocks)?void 0:t.map(e=>(e=>{var t;return{index:null==e?void 0:e.index,title:null==e?void 0:e.title,inputs:null==e||null==(t=e.attributes)?void 0:t.map(e=>((null==e?void 0:e.view_fields)?T={name:null==e?void 0:e.name,triggerValue:null==e?void 0:e.view_fields}:(null==e?void 0:e.filteredBy)&&($={filteredSelect:null==e?void 0:e.name,filteringSelect:null==e?void 0:e.filteredBy}),function(e,t){var l,i;let n={REQUIRED:null==t?void 0:t.form_required_error,EMAIL:null==t?void 0:t.form_email_error,MAX_LENGTH:null==t?void 0:t.form_maxlength_error,PHONE_NUMBER:null==t?void 0:t.form_phone_error,PLAIN_TEXT_WITHOUT_NUMBER:null==t?void 0:t.form_only_valid_characters_error,SERIAL_NUMBER:null==t?void 0:t.form_serial_number_error};return{inputId:null==e?void 0:e.name,type:(null==e?void 0:e.type)?null==e?void 0:e.type:(null==e?void 0:e.input)==="select"?"select":"text",optionalLabel:"Optional",tooltipInfo:e.label,label:(null==e?void 0:e.type)==="checkbox"?null==e?void 0:e.checkbox_label:(null==e?void 0:e.title)+" ".concat(null!=(l=null==e?void 0:e.side_label)?l:""),placeholder:null==e?void 0:e.placeholder,validations:(null==e?void 0:e.validations)?{...e.validations,...n}:{},required:null!=(i=null==e?void 0:e.required)&&i,checkboxIntroText:null==e?void 0:e.title,maxDate:null==e?void 0:e.max_date,minDate:null==e?void 0:e.min_date,options:null==e?void 0:e.options,pattern:null==e?void 0:e.pattern,viewFields:null==e?void 0:e.view_fields}}(e,v)))}})(e)))||[];return{props:{dataId:null==e?void 0:e.entryId,isThankYou:f,isLoading:h,thankYou:{isVisible:f,title:null==e?void 0:e.thankYouTitle,text:null==e?void 0:e.thankYouText,cta:null==e?void 0:e.thankYouCta},onSubmit:I,__typename:null==e?void 0:e.__typename,sequenceOrder:null==e?void 0:e.sequenceOrder,blocks:_,emailValidationRegex:(0,x.getEmailRegex)(g.locale),phoneNumberRegex:(0,x.getPhoneNumberRegex)(g.locale),beforeSubmitText:null==e||null==(n=e.jsonForm)||null==(i=n.submit)?void 0:i.pre_submit_text,submit:{children:null==e||null==(r=e.jsonForm)||null==(a=r.submit)?void 0:a.button_text,label:null==e||null==(s=e.jsonForm)||null==(d=s.submit)?void 0:d.button_text,targetType:"_blank",promotioniId:null==e||null==(p=e.jsonForm)||null==(c=p.submit)?void 0:c.promotion_id},otherField:T,filterField:$,layout:null==e||null==(m=e.jsonForm)?void 0:m.layout}}};e.s(["default",()=>t8],147451);var tQ=e.i(66294);let tZ=o.forwardRef((e,l)=>{var i,n,o;let{id:a,review:r,text:d,backgroundColor:s,textColor:c,image:u,cta:p,dataId:m,enableMarginReduction:g}=e,v=Array.from({length:(null==r?void 0:r.score)?null==r?void 0:r.score:0},(e,t)=>t+1),h=(0,tQ.usePupa)(null!=(i=null==r?void 0:r.originalyPostedOnLabel)?i:"",{productTwelveNc:null==r?void 0:r.productTwelveNc});return(0,t.jsxs)(tX,{id:a,ref:l,"data-id":m,size:"xl",enableMarginReduction:g,children:[r?(0,t.jsxs)(tJ,{position:null!=(n=null==u?void 0:u.position)?n:"right",css:{backgroundColor:s,color:c},children:[(0,t.jsx)(eg.Heading,{heading:"h2",as:"strong",css:{m:"0 0 $2"},children:r.name}),r.location?(0,t.jsx)(t5,{children:r.location}):null,r.score?(0,t.jsx)(t3,{children:v.map((e,l)=>(0,t.jsx)(V.Icon,{icon:"RatingStar",label:"",css:{size:18,fill:"#fcb515"}},l))}):null,(0,t.jsx)(t0,{children:(0,t.jsx)(H.Text,{css:{color:"inherit"},children:d})}),r.productTwelveNc?(0,t.jsx)(t2,{children:h}):null,p&&(0,t.jsx)(e5.Button,{...p,css:{mt:"$7",alignSelf:"center","@md":{mt:"$7-5"},"@lg":{alignSelf:"flex-start"}}})]}):null,u?(0,t.jsx)(t1,{"data-testid":"image-container",position:null!=(o=u.position)?o:"left",children:(0,t.jsx)(G.Image,{src:u.src,alt:u.alt,layout:"fill",objectFit:"cover"})}):null]})}),tX=(0,K.styled)(em.Container,{display:"flex",flexDirection:"column-reverse",width:"100%",my:K.Gutter.sm,"@md":{my:K.Gutter.md},"@lg":{flexDirection:"row",flexWrap:"wrap",alignItems:"stretch"}}),tJ=(0,K.styled)("div",{display:"flex",flexDirection:"column",flexWrap:"wrap",justifyContent:"center",boxSizing:"border-box",padding:"$8 $6",textAlign:"center","@md":{flex:1},"@lg":{padding:"$20",textAlign:"left",maxHeight:"none",flex:"0 0 50%"},"@2xl":{px:"$25"},variants:{position:{left:{"@lg":{order:2}},right:{"@lg":{order:1}}}}}),t0=(0,K.styled)("div",{my:"$5","@md":{my:"$6"}}),t1=(0,K.styled)("div",{position:"relative",flex:3,margin:0,"&:before":{display:"block",content:"''",paddingTop:"57.3333%"},"@lg":{flex:"0 0 50%"},variants:{position:{left:{"@lg":{order:1}},right:{"@lg":{order:2}}}}}),t5=(0,K.styled)("span",{fontSize:"$sm",opacity:.55}
1),t2=(0,K.styled)("span",{fontSize:"$sm",opacity:.55}),t3=(0,K.styled)("div",{display:"flex",justifyContent:"center",marginTop:"$1-5","@lg":{justifyContent:"flex-start"},svg:{marginRight:"$1"}});var t6=e.i(540389);let t8=e=>{let{module:l}=e,{props:i}=t4(l)||{};return i?(0,t.jsx)(tZ,{...i,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},t4=e=>{let{trackEventAllCta:t}=(0,t6.useTrackEventsAllCta)();return e?{props:{...e,image:e.image?{src:e.image.src,alt:e.image.alt,position:e.imagePosition}:null,backgroundColor:e.backgroundColor,textColor:e.textColor,cta:e.cta?{...e.cta,onClickEvent:()=>{var l,i,n;return t({type:null==e||null==(l=e.cta)?void 0:l.type,text:null==(i=e.cta)?void 0:i.children,product:null,moduleType:null==e?void 0:e.__typename,pageType:"",action:"Button Click - ".concat(null==(n=e.cta)?void 0:n.children),title:null==e?void 0:e.text})}}:null}}:null};e.s(["default",()=>lo],490414);var t9=e.i(931829),t7=e.i(464882);let le=o.default.forwardRef((e,l)=>{let{id:i,children:n,readMoreLabel:o,readLessLabel:a,onCtaClick:r,dataId:d,...s}=e,[c,{toggle:u}]=(0,t7.useBoolean)();return(0,t.jsxs)("div",{id:i,"data-id":d,ref:l,...s,children:[(0,t.jsx)(lt,{contentVisible:c,children:n}),(0,t.jsx)(ll,{contentVisible:c,children:(0,t.jsx)(li,{"aria-label":c?a:o,textColor:"$copyBlack",backgroundColor:"$bkgWhite",href:c?"#".concat(i):void 0,onClick:()=>{u(),r()},children:c?a:o})})]})}),lt=(0,K.styled)("div",{variants:{contentVisible:{false:{"& > div":{"&:nth-child(1)":{position:"relative",overflow:"hidden",zIndex:"0","& > :not(:nth-child(1))":{visibility:"hidden",width:0,height:0,margin:0,padding:0,"& *":{visibility:"hidden",width:0,height:0,margin:0,padding:0}},"&:after":{position:"absolute",width:"100%",height:165,content:"''",display:"block",zIndex:1e3,bottom:0,left:0,backgroundImage:"linear-gradient(0deg, rgba(255,255,255,1) 38%, rgba(255,255,255,1) 38%, rgba(255,255,255,0) 100%)","@lg":{height:260,backgroundImage:"linear-gradient(0deg, rgba(255,255,255,1) 24%, rgba(255,255,255,1) 24%, rgba(255,255,255,0) 100%)"}}}}}}}}),ll=(0,K.styled)("div",{display:"flex",flexDirection:"row",justifyContent:"center",alignContent:"center",marginTop:"$6",zIndex:"$max",variants:{contentVisible:{false:{transform:"translateY(-200%)"},true:{mt:K.Gutter.sm,"@md":{mt:K.Gutter.md}}}}}),li=(0,K.styled)(e5.Button,{border:"1px solid $darkGreyBorder",boxShadow:"none !important"});var ln=e.i(957739);let lo=e=>{let{module:l,locale:i,categories:n}=e,{props:o}=la(l,i,n)||{};return o?(0,t.jsx)(le,{...o,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},la=(e,l,i)=>{var n;let{trackEventMiscInteraction:a}={trackEventMiscInteraction:e=>(0,R.trackEventPDPMiscInteraction)({miscInteraction:{...e,module_type:"ReadMore"}})},r=(0,o.useId)(),d="product-overview-cta-".concat(r),s=(0,t9.useElementScrolled)(d,e=>e-70),c="read-more-".concat(r);return e?{props:{onCtaClick:()=>{a({action:"Read More Button click â Benefits section",...i})},id:null!=(n=e.id)?n:c,readMoreLabel:e.readMoreLabel,readLessLabel:e.readLessLabel,children:e.children?(0,t.jsx)(ln.ModulesMapper,{modules:e.children.map((t,l)=>({...t,sequenceOrder:e.sequenceOrder+l+1})),productOverviewCtaId:d,isProductOverviewCtaScrolled:s,locale:l}):null}}:null};e.s(["default",()=>l6],468509);var lr=e.i(612809),ld=e.i(846281);let ls=o.default.forwardRef((e,l)=>{let{image:i,video:n,title:o,category:a,description:r,author:d,date:s,cta:c,size:u,imgPriority:p,textColor:m,bigCard:g,...v}=e,[h]=(0,t7.useBoolean)();return(0,t.jsxs)(lu,{ref:l,...v,"data-component-id":"content-wall-card",children:[g?(0,t.jsxs)(lj,{size:u,display:!!c,children:[a&&(0,t.jsx)(lv,{"data-component-id":"card-category",css:{color:null!=m?m:"$copyDoveGray"},children:a}),(0,t.jsx)(lh,{"data-component-id":"card-title",spacing:!!a,isHovered:h,css:{color:null!=m?m:"$copyBlack",lineHeight:"26px",pb:"$4"},bigCard:!0,children:o})]}):null,(0,t.jsxs)(lm,{bigCard:g,children:[i?(0,t.jsx)(G.Image,{src:i.src,alt:i.alt,layout:"fill",objectFit:"cover",priority:p,"data-component-id":"card-image"}):null,n?(0,t.jsxs)(eP.Dialog,{id:"card-video-dialog",children:[(0,t.jsx)(eP.Dialog.Trigger,{asChild:!0,"data-component-id":"
1card-video-play-button",children:(0,t.jsx)(lg,{"aria-label":"play",children:(0,t.jsx)(V.Icon,{icon:"Play",label:"",stroke:"white",width:"12px",height:"12px"})})}),(0,t.jsx)(eP.Dialog.Content,{size:"full",video:!0,overlay:!0,"data-component-id":"content-wall-dialog",children:(0,t.jsx)(ld.VideoPlayer,{width:"100%",height:"100vh",url:n.src,controls:!0,playing:!0,"data-component-id":"card-video"})})]}):null]}),(0,t.jsxs)(lj,{size:u,display:!!c,bigCard:g,children:[g?null:(0,t.jsxs)(t.Fragment,{children:[a&&(0,t.jsx)(lv,{"data-component-id":"card-category",css:{color:null!=m?m:"$copyDoveGray"},children:a}),(0,t.jsx)(lh,{"data-component-id":"card-title",spacing:!!a,isHovered:h,css:{color:null!=m?m:"$copyBlack"},children:o})]}),r&&(0,t.jsx)(lx,{children:(0,t.jsx)(lb,{"data-component-id":"card-description",css:{color:null!=m?m:"$copyBlack"},children:r})}),(0,t.jsxs)(lw,{css:{color:null!=m?m:"$copyDoveGray"},children:[d&&(0,t.jsx)(lf,{"data-component-id":"card-author",children:d}),s&&(0,t.jsx)(ly,{"data-component-id":"card-date",children:s})]}),c&&!g?(0,t.jsx)(lc,{bold:!0,css:{color:m},"data-component-id":"product-swiper-browse-all",...c}):null,c&&g?(0,t.jsx)(lk,{children:(0,t.jsx)(lC,{...c,backgroundColor:"white",textColor:"black"})}):null]}),c?(0,t.jsx)(lp,{href:c.href,target:"_self"===c.target?"_parent":c.target,"data-component-id":"card-more-detail-link",children:(0,t.jsx)(tv.Root,{children:"GO TO DETAIL PAGE"})}):null]})}),lc=(0,K.styled)(W.Link,{mt:"$4",mb:"$4"}),lu=(0,K.styled)("div",{position:"relative",display:"flex",flexDirection:"row",flexWrap:"wrap",width:"100%",boxSizing:"border-box",textDecoration:"none",p:"0 $1","@md":{p:"0 $2"},"@lg":{p:"0"}}),lp=(0,K.styled)(W.Link,{position:"absolute",top:0,right:0,bottom:0,left:0}),lm=(0,K.styled)("div",{position:"relative",width:"100%",flex:"0 0 100%","&:before":{display:"block",content:"''",width:"100%",paddingTop:"75%"},variants:{bigCard:{true:{"> span":{"@lg":{borderRadius:"25px"}}}}}}),lg=(0,K.styled)(W.Link,{position:"absolute",zIndex:"20",top:"50%",left:"50%",padding:"0",transform:"translate(-50%,-50%)","&:before":{display:"block",content:"",position:"absolute",zIndex:1,top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:" 3.5rem",height:"3.5rem",borderRadius:"50%",backgroundColor:"rgba(0,0,0,.6)"},svg:{zIndex:2,position:"absolute",top:"calc(50% - 6px)",left:"calc(50% - 6px)"}}),lv=(0,K.styled)(H.Text,{fontSize:"$2xs",width:"100%",marginBottom:"$3",display:"-webkit-box",WebkitLineClamp:1,WebkitBoxOrient:"vertical",overflow:"hidden"}),lh=(0,K.styled)(H.Text,{fontSize:"$xl",fontWeight:"$black",m:"0 0 $3",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden","@lg":{WebkitLineClamp:1},variants:{spacing:{true:{},false:{mt:"$5"}},isHovered:{true:{color:"$copyRed",transition:"color .3s ease-out"},false:{}},bigCard:{true:{"@lg":{WebkitLineClamp:"initial"}}}}}),lx=(0,K.styled)("div",{mb:"$3",display:"-webkit-box",WebkitLineClamp:4,WebkitBoxOrient:"vertical",overflow:"hidden"}),lb=(0,K.styled)(H.Text,{}),lf=(0,K.styled)(H.Text,{fontSize:"$2xs",lineHeight:"$5",m:0}),ly=(0,K.styled)(H.Text,{fontSize:"$2xs",lineHeight:"$5",m:0}),lw=(0,K.styled)("div",{"@md":{display:"flex",justifyContent:"center",flexWrap:"wrap",["".concat(lf," + ").concat(ly)]:{"&::before":{content:"-",color:"currentColor",display:"inline-block",mx:"$2"}}},"@lg":{justifyContent:"flex-start",["".concat(lf," + ").concat(ly)]:{"&::before":{content:"-"}}},"@xl":{["".concat(lf)]:{"&::before":{content:"â",color:"currentColor",mr:"$2"}}}}),lj=(0,K.styled)("div",{display:"flex",flex:"0 1 100%",flexDirection:"column",height:"100%",textAlign:"center","@lg":{textAlign:"left"},variants:{size:{sm:{"@lg":{["".concat(lx)]:{display:"none"}}},lg:{"@lg":{["".concat(lh)]:{fontSize:"$2xl"},["".concat(lv,", ").concat(lf,", ").concat(ly)]:{fontSize:"$s"}}}},display:{true:{},false:{}},bigCard:{true:{mt:"$4"}}},compoundVariants:[{size:"sm",display:!0,css:{"@lg":{["".concat(lx)]:{display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"}}}}],defaultVariants:{size:"sm"}}),lC=(0,K.styled)(e5.Button,{width:"auto"}),lk=(0,K.styled)("div",{mt:"$3"});e.i(230571);var lS=e.i(563180);let lI=o.default.forwardRef((e,l)=>{let{id:i,title:n,cta:a,contents:r,position:d,nextLabel:s,previousLabel:c,enableMarginReduction:u,imgPriority:p,textColor:m,...g}=e;return(0,t.jsx)(lT,{ref:l,id:i,size:"xl",enableMarginReduction:u,"data-component-id":"
1content-wall-container",children:(0,t.jsxs)(lr.Display,{children:[(0,t.jsx)(lr.Display.SM,{as:"div",children:(0,t.jsx)(lS.ProductSwiper,{length:r.length,...g,cta:a,title:n,previousLabel:c,nextLabel:s,"data-component-id":"content-wall-slider",children:null==r?void 0:r.map((e,l)=>e?(0,t.jsx)(lS.ProductSwiper.Slide,{"data-component-id":"content-wall-slider-item",children:(0,t.jsx)(ls,{...e})},l):null)})}),(0,t.jsx)(lr.Display.LG,{as:"div",children:(0,t.jsxs)(l$,{children:[(0,t.jsxs)(l_,{children:[(0,t.jsx)(eg.Heading,{"data-component-id":"content-wall-title",as:"h2",heading:"h1",css:{m:0},children:n}),a?(0,t.jsx)(W.Link,{"data-component-id":"content-wall-link",bold:!0,css:{px:"$6"},...a}):null]}),(0,t.jsxs)(lA,{align:d,"data-component-id":"content-wall-content",children:[(0,t.jsx)(lP,{"data-component-id":"content-wall-item",style:{backgroundColor:g.backgroundColor},children:(0,t.jsx)(ls,{...null==r?void 0:r[0],size:"lg",imgPriority:p,textColor:m,bigCard:!0})}),(0,t.jsx)(lL,{"data-component-id":"content-wall-item",children:r.slice(1,5).map((e,t)=>e?(0,o.createElement)(ls,{...e,key:t,size:"sm",imgPriority:p,bigCard:!1}):null)})]})]})})]})})}),lT=(0,K.styled)(em.Container,{mt:K.Gutter.md,"@lg":{px:"$10",my:K.Gutter.md},"@xl":{px:K.Gutter.xl}}),l$=(0,K.styled)("div",{display:"flex",flexDirection:"row",flexWrap:"wrap",alignItems:"center"}),l_=(0,K.styled)("div",{display:"flex",alignItems:"baseline",m:"$7-5 0 $14"}),lP=(0,K.styled)("div",{display:"flex",flex:"0 0 50%",alignItems:"start",boxSizing:"border-box",padding:"$6",pt:"$2"}),lL=(0,K.styled)("div",{display:"flex",flex:"0 0 50%",justifyContent:"space-between",boxSizing:"border-box",flexWrap:"wrap","> div":{width:"calc(50% - 10px)","&:nth-child(3), &:nth-child(4)":{mt:"$3-5"}}}),lA=(0,K.styled)("div",{display:"flex",flex:"0 0 100%",variants:{align:{left:{["".concat(lL)]:{pl:"$6"}},right:{flexDirection:"row-reverse",["".concat(lP)]:{pl:"$2-5"},["".concat(lL)]:{pr:"$2-5"}}}}});e.s([],863596),e.s(["ModuleRelatedContents",()=>lY],839913);var lE=e.i(167951),lD=e.i(203828),lR=e.i(668127),lM=e.i(841499);let lO=o.default.forwardRef((e,l)=>{let{image:i,title:n,cta:a,text:r,video:d,backgroundColor:s,category:c,author:u,publishDate:p,imgPriority:m,textColor:g,collapsedCards:v=!1,totalTime:h,...x}=e,b=(0,o.useRef)(null),f=(0,tQ.usePupa)("{author} ".concat(p?"- {date}":""),{author:null!=u?u:"",date:null!=p?p:""}),{data:y}=(0,w.useGetSiteData)(),{asPath:j}=(0,lD.useRouter)(),C=(0,o.useCallback)(()=>({pageType:"ProductDetailPage",slug:Array.isArray(y.slug)?y.slug.join("/"):y.slug,href:j,title:n,name:n,locale:y.locale}),[y,j,n]),k=(0,lR.useVideoProgress)({callback:(e,t)=>{var l,i,n;return(0,lE.trackEventVideo)({eventName:B.AnalyticEvents.videoProgress,metadata:C(),videoProps:{event:e.current,percentage:t,video_title:null==e||null==(i=e.current)||null==(l=i.props)?void 0:l.title,video_url:null==e||null==(n=e.current)?void 0:n.props.url}})},ref:b}),S=e=>{e&&(0,lM.windowHrefUtils)(e)};return(0,t.jsxs)(lB,{ref:l,css:{backgroundColor:s},...x,children:[(0,t.jsxs)(lN,{children:[i?(0,t.jsx)(G.Image,{onClick:()=>S(null==a?void 0:a.href),src:i.src,alt:i.alt,layout:"fill",objectFit:"cover",priority:m}):null,d?(0,t.jsxs)(eP.Dialog,{id:"related-contents-card",children:[(0,t.jsx)(eP.Dialog.Trigger,{children:(0,t.jsx)(lW,{"aria-label":"play",children:(0,t.jsx)(V.Icon,{icon:"Play",label:"",stroke:"white",width:"12px",height:"12px"})})}),(0,t.jsx)(eP.Dialog.Content,{size:"full",video:!0,overlay:!0,"data-component-id":"related-contents-card-dialog",children:(0,t.jsx)(ld.VideoPlayer,{width:"100%",height:"100vh",controls:!0,url:d.src,playing:!0,title:n||"unknow",onProgress:k.handleVideoProgress,onDuration:k.handleDuration,onEnded:()=>{(0,lE.trackEventVideo)({eventName:B.AnalyticEvents.videoComplete,metadata:C(),videoProps:{event:b.current,video_title:n||"unknow",video_url:null==d?void 0:d.src}})},onStart:()=>{(0,lE.trackEventVideo)({eventName:B.AnalyticEvents.videoStart,metadata:C(),videoProps:{event:b.current,video_title:n||"unknow",video_url:null==d?void 0:d.src}})},onPause:()=>{(0,lE.trackEventVideo)({eventName:B.AnalyticEvents.videoPause,metadata:C(),videoProps:{event:b.current,video_title:n||"unknow",video_url:null==d?void 0:d.src}})}})})]}):null]}),(0,t.jsxs)(lz,{css:{...s?{p:"$6 $5 $7-5"}:null,color:null!=g?g:"$bkgBlack"},children:[c&&(0,t.jsx)(lF,{children:c}),(0,t.jsx)(lV,{as:"h3",css:{mb:v?0:"$2-5",cursor:"pointer"},onClick:()=>S(null==a?void 0:a.href),children:n}),r&&!v&&(0,t.jsx)(lG,{dangerouslySetInnerHTML:{__html:null==r?void 0:r.replace(/<\/?[^>]+(>|$)/g,"")}}),(0,t.jsx)(lq,{children:u&&!v&&(0,t.jsx)(lH,{children:f})}),h?(0,t.jsxs)(lK,{children:[(0,t.jsx)(V.Icon,{label:"Duration",icon:"Clock",css:{size:20,mr:"$2"},stroke:"currentColor",strokeWidth:.5}),(0,t.jsx)(H.Text,{css:{mt:"$0-5",fontSize:"$xs","@lg":{fontSize:"$2xs"}},children:h})]}):null,(0,t.jsx)(lU,{...a,target:"_self"===a.target?"_parent":a.target,"data-component-id":"related-contents-card-cta"})]})]})}),lB=(0,K.styled)("div",{display:"flex",flexDirection:"column",width:"100%",height:"100%"}),lz=(0,K.styled)("div",{display:"flex",flexDirection:"column",alignItems:"center",flexWrap:"wrap",flex:1,width:"100%",boxSizing:"border-box",padding:"$6 0 0"}),lN=(0,K.styled)("div",{position:"relative",width:"100%",cursor:"pointer","&:before":{display:"block",content:"''",width:"100%",paddingTop:"75%"}}),lF=(0,K.styled)(H.Text,{fontSize:"$2xs",color:"$footerGray2",textAlign:"center",m:"0 auto $2",px:"$1-5",display:"-webkit-box",WebkitLineClamp:1,WebkitBoxOrient:"vertical",overflow:"hidden"}),lV=(0,K.styled)(H.Text,{fontSize:"$xl",textAlign:"center",fontWeight:"$black",mt:0,px:"$1-5",minHeight:"44px"}),lG=(0,K.styled)(H.Text,{flex:1,flexWrap:"wrap",wordBreak:"break-word",textAlign:"center",mt:0,mb:"$2-5 !important",px:"$1-5 !important",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"}
1),lW=(0,K.styled)(W.Link,{position:"absolute",zIndex:"20",top:"50%",left:"50%",padding:"0",transform:"translate(-50%,-50%)","&:before":{display:"block",content:"",position:"absolute",zIndex:1,top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:" 3.5rem",height:"3.5rem",borderRadius:"50%",backgroundColor:"rgba(0,0,0,.6)"},svg:{zIndex:2,position:"absolute",top:"calc(50% - 6px)",left:"calc(50% - 6px)"}}),lH=(0,K.styled)(H.Text,{fontSize:"$2xs",lineHeight:"$5",m:0}),lq=(0,K.styled)("div",{color:"$copyDoveGray",mb:"$2-5","@md":{display:"flex",justifyContent:"center",flexWrap:"wrap"}}),lU=(0,K.styled)(e5.Button,{"@md":{mt:"auto"}}),lK=(0,K.styled)("div",{display:"flex",alignItems:"center",mb:"$3",fontWeight:"$black"}),lY=o.default.forwardRef((e,l)=>{let{id:i,contents:n,dataId:o,enableMarginReduction:a,imgPriority:r,collapsedCards:d,...s}=e;return(0,t.jsx)(lQ,{id:i,ref:l,"data-id":o,enableMarginReduction:a,"data-component-id":"related-content-container",children:(0,t.jsx)(lS.ProductSwiper,{length:n.length,...s,"data-component-id":"related-contents-slider",children:n.map((e,l)=>e?(0,t.jsx)(lS.ProductSwiper.Slide,{"data-component-id":"related-contents-slider-item",children:(0,t.jsx)(lO,{...e,imgPriority:r,collapsedCards:d})},l):null)})})}),lQ=(0,K.styled)("div",{variants:{enableMarginReduction:{true:{mt:"3px","@md":{mt:"4px"}}}}});var lZ=e.i(494834),lX=e.i(288806),lJ=e.i(79206),l0=e.i(676118);let l1=e=>{let{module:l,locale:i}=e,{props:n}=l5(l,i)||{};return n?(0,t.jsx)(lY,{...n,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},l5=(e,t)=>{var i,n,o;let{trackEventMiscInteraction:a}=(0,l.useTrackEventsProductRelated)("ContentRelated"),{trackEventAllCta:r}=(0,t6.useTrackEventsAllCta)(),{data:d}=(0,w.useGetSiteData)();return e?{props:{id:e.id,title:e.titleLabel,titleAlignment:(0,l0.capitalize)(e.titleAlignment,"Left"),cta:(0,lJ.navigationLinkToLink)(e.browseAllLink,d),backgroundColor:e.backgroundColor,previousLabel:e.previousLabel,nextLabel:e.nextLabel,subtitle:e.subtitle,contents:null!=(n=null==(i=e.relatedPages)?void 0:i.map(l=>{var i,n,o,d,s,c;switch(l.__typename){case"RecipePage":return{image:(0,lX.imageFieldsToImageProps)(l.image),title:l.title,textColor:null!=(o=null==e?void 0:e.textColor)?o:"",cta:{children:null==(i=l.cta)?void 0:i.children,target:"_parent",href:null==(n=l.cta)?void 0:n.href,onClick:()=>{r({type:"",text:e.actionLabel,product:null,moduleType:null==e?void 0:e.__typename,pageType:"",action:"Button Click - ".concat(e.actionLabel),title:null==e?void 0:e.titleLabel}),a({action:"Button click â Related content Read more"})},backgroundColor:e.actionLabelColor},text:l.text,video:l.video?{src:l.video}:null,author:l.author,category:l.category,publishDate:(0,lZ.default)(l.publishDate).format("DD MMMM YYYY"),totalTime:((e,t)=>{if(!e)return;let l=Math.floor(e/60),i=e%60,n=(e,l)=>new Intl.NumberFormat((0,b.toISOLocale)(t),{style:"unit",unit:l,unitDisplay:"long"}).format(e),o=l>0?n(l,"hour"):"",a=i>0?n(i,"minute"):"";return"".concat(o," ").concat(a).trim()})(l.totalTime,t)};case"BlogDetailPage":return{image:(0,lX.imageFieldsToImageProps)(l.image),textColor:null!=(c=null==e?void 0:e.textColor)?c:"",cta:{target:"_parent",children:null==(d=l.cta)?void 0:d.children,href:null==(s=l.cta)?void 0:s.href,onClick:()=>{r({type:"",text:e.actionLabel,product:null,moduleType:null==e?void 0:e.__typename,pageType:"",action:"Button Click - ".concat(e.actionLabel),title:e.titleLabel}),a({action:"Button click â Related products Read more"})},backgroundColor:e.actionLabelColor},title:l.title,text:l.text,author:l.author,publishDate:(0,lZ.default)(l.publishDate).format("DD MMMM YYYY"),category:l.category};default:return null}}))?n:[],imgPriority:!(e.sequenceOrder>2),collapsedCards:null!=(o=null==e?void 0:e.collapsedCards)&&o}}:null},l2=e=>{let{module:l}=e,{props:i}=l3(l)||{};return i?(0,t.jsx)(lI,{...i,"data-id":"module-"+(null==l?void 0:l.sequenceOrder)}):null},l3=e=>{var t,l;let{data:i}=(0,w.useGetSiteData)();return e?{props:{id:e.id,title:e.titleLabel,cta:(0,lJ.navigationLinkToLink)(e.browseAllLink,i),backgroundColor:e.backgroundColor,textColor:null==e?void 0:e.textColor,position:e.imagePosition,previousLabel:e.previousLabel,nextLabel:e.nextLabel,contents:null!=(l=null==(t=e.relatedPages)?void 0:t.map((e,t)=>{var l,i,n,o;switch(e.__typename){case"RecipePage":return{size:t?"sm":"lg",image:(0,lX.imageFieldsToImageProps)(e.image),title:e.title,cta:{href:null==(l=e.cta)?void 0:l.href,target:"_parent",children:null==e||null==(i=e.cta)?void 0:i.children},description:e.text,video:e.video?{src:e.video}:null,author:e.author,category:e.category,date:(0,lZ.default)(e.publishDate).format("DD MMMM YYYY")};case"BlogDetailPage":return{size:t?"sm":"lg",image:(0,lX.imageFieldsToImageProps)(e.image),title:e.title,cta:{href:null==(n=e.cta)?void 0:n.href,target:"_parent",children:null==e||null==(o=e.cta)?void 0:o.children},description:e.text,video:(null==e?void 0:e.video)?{src:e.video}:null,author:e.author,category:e.category,date:(0,lZ.default)(e.publishDate).format("DD MMMM YYYY")};default:return null}}))?l:[],imgPriority:!(e.sequenceOrder>2)}}:null},l6=e=>{let{module:l}=e;if(!e)return null;switch(null==l?void 0:l.displayType){case"CARROUSEL":return(0,t.jsx)(l1,{...e});case"GRID":return(0,t.jsx)(l2,{...e});default:return null}};e.s(["default",()=>l9],656068);let l8=o.default.forwardRef(e=>{let{id:l,text:i,dataId:n,enableMarginReduction:o,fetchProductData:a}=e;return(0,t.jsx)(l4,{id:l,"data-id":n,enableMarginReduction:o,children:(0,t.jsx)(H.Text,{fetchProductData:a,children:i})})}),l4=(0,K.styled)(em.Container,{px:"$5","@xl":{px:0},h2:{fontSize:"1.75rem"},h3:{fontSize:"$2xl"},h4:{fontSize:"1.375rem"},h5:{fontSize:"$xl"},h6:{fontSize:"$lg"},"h2, h3, h4, h5, h6":{lineHeight:"$tight",fontWeight:"$black",mt:"$7-5",mb:"$5","&:first-child":{mt:"0"}},"> p p, p":{my:"$4 !important"},img:{display:"block",m:"$3 auto",maxWidth:"100%"},ul:{my:"$4",li:{position:"relative",pl:22,mb:"$1-5","&::before":{content:"''",position:"absolute",top:6,left:0,width:8,height:8,border:"2px s
1olid $bkgRed",borderRadius:"100%",boxSizing:"border-box"}},ol:{"li::before":{border:0}}},ol:{p:0,my:"$4",counterReset:"li",listStyle:"none",li:{position:"relative",pl:22,mb:"$1-5","&::before":{content:"counter(li)",counterIncrement:"li",position:"absolute",left:0,top:".1875rem",textAlign:"center",color:"$copyWhite",lineHeight:"$4",fontSize:".625rem",width:"$3-75",height:"$3-75",backgroundColor:"$bkgBlack",borderRadius:"100%"}},ul:{"li::before":{content:"''",top:6,width:8,height:8,backgroundColor:"transparent"}}},table:{display:"block",overflowX:"auto",my:"$7-5",width:"100%",borderCollapse:"collapse",tbody:{display:"table",width:"calc(100% - 1px)","@md":{tableLayout:"fixed"}},th:{p:"$3-75",fontSize:"$lg",fontWeight:"$black",textAlign:"left",borderRight:"1px solid $modulesBorder"},tr:{"&:nth-child(even)":{backgroundColor:"$bkgWhiteSmoke"}},td:{p:"$1-75 $3-75 $3-75",borderRight:"1px solid $modulesBorder"},"th, td ":{"> p":{my:"0"}}},blockquote:{borderLeft:"3px solid $bkgOrange",my:"$7-5",mx:K.Gutter.xs,width:"calc(100% - 40px)",position:"relative",boxSizing:"border-box",pl:105,fontSize:"$4xl",fontWeight:"$light",fontStyle:"italic",lineHeight:"$10","@md":{mx:"auto",lineHeight:"$11"},"@lg":{my:K.Gutter.md,width:"100%"},"&::before":{content:"â",position:"absolute",top:-30,left:"$5",fontFamily:"$times",fontSize:"$9xl",fontWeight:"$black",lineHeight:"normal"},footer:{fontSize:"$s",fontFamily:"$nunito",fontStyle:"normal",lineHeight:"$tight",color:"$copyMediumGray"}},hr:{my:"$7-5",borderColor:"$inputBorder"},a:{color:"$copyBlack","&:hover, &:focus":{color:"$copyRed"}}}),l9=e=>{let{module:l}=e,{props:i}=l7(l)||{};return i?(0,t.jsx)(l8,{...i,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},l7=e=>{var t;let{data:l}=(0,w.useGetSiteData)();if(!e)return null;let i=null==e||null==(t=e.text)?void 0:t.includes("data-tiny-card-for=");return{props:{text:null==e?void 0:e.text,id:(null==e?void 0:e.anchorLink)?null==e?void 0:e.anchorLink:(null==e?void 0:e.id)?null==e?void 0:e.id:"module-"+(null==e?void 0:e.sequenceOrder),fetchProductData:i?e=>C.NextSelfClient.getProductTinyCard(l.locale,e).then(e=>e):null}}};e.s(["default",()=>il],777561);let ie=o.default.forwardRef(e=>{let{id:l,data:i,dataId:n}=e;return(0,t.jsx)(it,{id:l,"data-id":n,children:(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:i}})})}),it=(0,K.styled)("div",{width:"100%"}),il=e=>{let{module:l}=e,{props:i}=ii(l)||{};return i?(0,t.jsx)(ie,{...i,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},ii=e=>e?{props:{data:e.script,id:null==e?void 0:e.id}}:null},647999,126749,e=>{"use strict";e.s([],647999),e.s(["SearchHeader",()=>j],126749);var t=e.i(391398),l=e.i(191788),i=e.i(228638);e.i(543336);var n=e.i(345970);e.i(20479);var o=e.i(841499);e.i(406095);var a=e.i(376628),r=e.i(612809);e.i(810615);var d=e.i(436595);e.i(388008);var s=e.i(879045);e.i(650251);var c=e.i(25033),u=e.i(210338);let p=(0,l.forwardRef)((e,i)=>{let{resultsLink:n,searchInput:a,resultTab:d,locale:s}=e,[c,p]=(0,l.useState)(),{trackEventUserManualSearch:m}=(0,u.useTrackEventsCustomerCareTracking)(),f=()=>{var t;if(!c||""===c.trim())return;m({search_term:c});let l=null==n?void 0:n.href,i=new URLSearchParams({q:c,tab:d});l&&s&&(0,o.shouldAppendLocaleToUrl)(l)&&i.append("locale",(0,o.extractLanguageCode)(s));let a="".concat(l,"?").concat(i.toString());(0,o.windowHrefUtils)(a,null!=(t=e.allowHttp)&&t)};return(0,t.jsxs)(g,{ref:i,children:[(0,t.jsx)(v,{placeholder:null==a?void 0:a.placeholder,onChange:e=>p(e.target.value),onKeyDown:e=>{"Enter"===e.key&&f()},"data-component-id":"search-header-field"}),(0,t.jsxs)(r.Display,{children:[(0,t.jsx)(r.Display.SM,{children:n?(0,t.jsx)(x,{onClick:f,children:(0,t.jsx)(b,{icon:"Search",label:n.children,css:{size:17}})}):null}),(0,t.jsx)(r.Display.MD,{children:a?(0,t.jsx)(h,{onClick:f,children:a.label}):null})]})]})}),m=(0,n.styled)("div"),g=(0,n.styled)("div",{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",width:"100%","@md":{flexDirection:"row"},["".concat(m," + ").concat(m)]:{mt:"$5"}}),v=(0,n.styled)(c.Input,{width:"100%",pt:16,pb:13,pr:"$5",borderRadius:".3125rem",outline:0,"@md":{pr:"11.875rem",borderRadius:".3125rem 2.0625rem 2.0625rem .3125rem"}}),h=(0,n.styled)(a.Button,{mt:"$5",px:"$8","@md":{display:"flex",mt:0,position:"absolute",top:0,right:0,height:"55px !important",width:"10rem",alignItems:"center"}}),x=(0,n.styled)(s.Link,{position:"absolute",right:15,top:18}),b=(0,n.styled)(d.Icon,{fill:"$copyRed",pointerEvents:"none"});e.i(560976);var f=e.i(932788);e.i(187564);var y=e.i(115143);e.i(354526);var w=e.i(309015);let j=l.default.forwardRef((e,l)=>{let{id:i,title:n,hasH1Title:o=!0,image:a,search:r,link:d,icon:s,backgroundColor:c="$bkgBlack",textColor:u="$copyWhite",description:m,dataId:g,...v}=e;return(0,t.jsxs)(T,{id:i,size:"xl",ref:l,...v,hasBgImage:!!a,css:{backgroundColor:c},"data-id":g,"data-component-id":"search-header-container",children:[a?(0,t.jsx)(I,{children:(0,t.jsx)(y.Image,{src:a.src,alt:a.alt,layout:"fill",objectFit:"cover","data-component-id":"search-header-image"})}):null,(0,t.jsxs)(C,{css:{...a?{backgroundColor:c,"@md":{color:"$copyWhite",backgroundColor:"transparent",minHeight:350},"@lg":{minHeight:470}}:null},children:[s?(0,t.jsx)(k,{icon:s,label:"",css:{size:43}}):null,(0,t.jsx)(f.Heading,{heading:"h1",as:o?"h1":"strong",css:{mt:0,mb:"$5",color:u},"data-component-id":"search-header-title",children:n}),m&&(0,t.jsx)(w.Text,{"data-component-id":"search-header-description",css:{mb:"$5",color:u},children:m}),r?(0,t.jsx)($,{children:(0,t.jsx)(p,{...r})}):null,d?(0,t.jsx)(S,{...d,css:{color:"CurrentColor"},"data-component-id":"search-header-link"}):null]})]})}),C=(0,n.styled)("div",{textAlign:"center",display:"flex",flexDirection:"column",justifyContent:"center",alignContent:"center",p:"$9 $5","@md":{position:"relative",zIndex:1,maxWidth:"$200",boxSizing:"border-box",m:"0 auto",py:70},"@lg":{py:n.Gutter.xl}}),k=(0,n.styled)(d.Icon,{display:"none","@md":{display:"block",m:"0 auto $7-5"}}),S=(0,n.styled)(s.Link,{fontSize:"$s",mt:"$6",color:"$copyWhite","@md":{mt:"$7-5"}}),I=(0,n.styled)("div",{position:"absolute",top:0,left:0,width:"100%",paddingBottom:110,"@md":{pb:0,height:"100%"}}),T=(0,n.styled)(i.Container,{position:"relative",variants:{hasBgImage:{true:{pt:110,"@md":{pt:0,"&:after":{display:"block",content:"''",position:"absolute",top:"0",left:"0",width:"100%",height:"100%",backgroundColor:"rgba(0,0,0, 0.4)",zIndex:0}}},false:{}}}}),$=(0,n.styled)("div",{width:"100%",maxWidth:"$180",m:"0 auto"})},957739,e=>{"use strict";e.s(["ModulesMapper",()=>ts,"default",()=>tu,"getCategoriesMapper",()=>td],957739);var t=e.i(391398);e.i(543336);var l=e.i(345970),i=e.i(902604),n=e.i(98377),o=e.i(611459),a=e.i(191788),r=e.i(515187),d=e.i(724096),s=e.i(900018),c=e.i(257455),u=e.i(259820);e.i(508185);var p=e.i(899088),m=e.i(632141),g=e.i(324123),v=e.i(363314),h=e.i(64418),x=e.i(123612),b=e.i(497716),f=e.i(616931),y=e.i(641378),w=e.i(768386),j=e.i(471727),C=e.i(589700),k=e.i(915352),S=e.i(213586),I=e.i(158542),T=e.i(247723),$=e.i(783717),_=e.i(385892),P=e.i(620272),L=e.i(958304),A=e.i(942189),E=e.i(88373),D=e.i(530807),R=e.i(321459),M=e.i(14477),O=e.i(5893),B=e.i(534283),z=e.i(317860),N=e.i(147451),F=e.i(49
10414),V=e.i(468509),G=e.i(656068),W=e.i(777561);e.i(647999);var H=e.i(126749),q=e.i(79206),U=e.i(561458);e.i(649076);var K=e.i(288806);e.i(807204);var Y=e.i(491581),Q=e.i(645713);let Z=e=>{let{module:l}=e,{props:i}=X(l)||{};return i?(0,t.jsx)(H.SearchHeader,{...i,dataId:"module-"+(null==l?void 0:l.sequenceOrder),hasH1Title:!1}):null},X=e=>{var t,l,i,n,o,a,r,s,c,u,p,m,g;let{data:v}=(0,d.useGetSiteData)();if(!e)return null;let h={nameLabel:null==(t=e.search)?void 0:t.searchInput.label,optionalLabel:null==(l=e.search)?void 0:l.searchInput.optionalLabel,placeholderLabel:null==(i=e.search)?void 0:i.searchInput.placeholder};return{props:{id:e.id,title:e.title,image:(0,K.imageFieldsToImageProps)(e.image),search:{resultTab:null==(r=e.search)||null==(a=r.resultTab)||null==(o=a.toLowerCase())||null==(n=o.replace("_","-"))?void 0:n.replace(" ","-"),searchInput:(0,U.inputTextFieldsToInputTextProps)(h),allowHttp:(0,Q.isExternalWebsiteTrusted)(null==(c=e.search)||null==(s=c.resultsLink)?void 0:s.href),resultsLink:(0,q.navigationLinkToLink)({...null==(u=e.search)?void 0:u.resultsLink,targetType:Y.LinkTargetType.Parent},v),locale:null==v?void 0:v.locale},description:null!=(p=e.description)?p:null,backgroundColor:null!=(m=e.backgroundColor)?m:null,textColor:null!=(g=e.textColor)?g:null}}};var J=e.i(494834),ee=e.i(228638);e.i(810615);var et=e.i(436595);e.i(89885);var el=e.i(119177);e.i(354526);var ei=e.i(309015);e.i(406095);var en=e.i(376628),eo=e.i(558021);e.i(76916);var ea=e.i(861503);e.i(669934);var er=e.i(136082);e.i(20479);var ed=e.i(706701);let es=e=>{var l,i,n,o;let{inputs:r,name:d,control:s,showErrorOnInput:c,emailRegExValidation:u}=e,{field:p}=(0,eo.useController)({name:d?"".concat(d,".email"):"email",control:s,defaultValue:""}),{field:m}=(0,eo.useController)({name:d?"".concat(d,".orderId"):"orderId",control:s,defaultValue:""});return(0,a.useEffect)(()=>{c&&(p.onChange(),m.onChange())},[c]),(0,t.jsxs)(ea.FormRow,{children:[(0,t.jsx)(er.InputField,{...r.email,css:{mb:"$4"},name:d?"".concat(d,".email"):"email",rules:(0,ed.validationsToRules)({rules:{required:!0,email:!0},validations:null==(l=r.email)?void 0:l.validations}),control:s}),(0,t.jsx)(er.InputField,{...r.orderId,css:{mb:"$4"},name:d?"".concat(d,".orderId"):"orderId",rules:(0,ed.validationsToRules)({rules:{regex:null==(n=r.orderId)||null==(i=n.validations)?void 0:i.regex},validations:null==(o=r.orderId)?void 0:o.validations}),control:s})]})};e.i(861276);var ec=e.i(961440);let eu=e=>{let{emailRegExValidation:l,signIn:i,orderInfoForm:n}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ec.ModuleInternalHeading,{title:i.title,text:i.text,isH2Title:!0,cta:i.cta,css:{"@md":{"> div":{width:"auto"}}}}),(0,t.jsx)(ec.ModuleInternalHeading,{title:n.title,text:n.text,isH2Title:!0,css:{m:"0 auto $5","@md":{mb:"$7-5","> div":{width:"auto"}}}}),n?(0,t.jsx)(ep,{formId:"order-info",...n,emailRegExValidation:l}):null]})},ep=e=>{let{emailRegExValidation:l,formId:i,inputs:n,handleSubmit:o,cta:a,note:r,showErrorOnInput:d,setShowErrorOnInput:s}=e,{control:c,handleSubmit:u}=(0,eo.useForm)({mode:"onBlur"});return(0,t.jsxs)(em,{id:i,onSubmit:u(e=>{o(e),d&&s(!1)}),children:[(0,t.jsx)(es,{control:c,inputs:n,showErrorOnInput:d,emailRegExValidation:l}),(0,t.jsx)(eg,{children:r}),a?(0,t.jsx)(ev,{children:(0,t.jsx)(en.Button,{...a})}):null]})},em=(0,l.styled)("form",{px:"$5"}),eg=(0,l.styled)(ei.Text,{fontSize:"$xs",my:"$0"}),ev=(0,l.styled)("div",{mt:"$4",mb:"$10",display:"flex",justifyContent:"center","@xl":{mb:"$15"}});var eh=e.i(493987);let ex=e=>{let{myOrders:l,trackAnotherCta:i}=e,n=null==i?void 0:i.onClick;return(0,t.jsxs)(eb,{children:[l?(0,t.jsx)(eh.OrderTab,{...l}):null,i?(0,t.jsx)(ef,{children:(0,t.jsx)(en.Button,{...i,onClick:n})}):null]})},eb=(0,l.styled)("div",{px:"$5","@md":{px:0}}),ef=(0,l.styled)("div",{display:"flex",justifyContent:"center",m:"$10 auto","@md":{mt:-20},"@xl":{mb:"$15"}});e.i(261354);var ey=e.i(189163),ew=e.i(310215),ej=e.i(719559),eC=e.i(939588),ek=e.i(650804),eS=e.i(820627);let eI=(0,l.styled)(ee.Container,{maxWidth:"$185 !important"}),eT=e=>{let{module:l,page:i,locale:n}=e,{props:o,isLoading:r,activeStep:c}=((e,l,i)=>{var n;let[o,r]=(0,a.useState)(!1),[c,u]=(0,a.useState)(null),[p,m]=(0,a.useState)(!1),[g,v]=(0,a.useState)("form"),{data:h}=(0,ej.useGetTranslations)({locale:i}),{data:x}=(0,d.useGetSiteData)(),b=()=>
1{v("form"),r(!1)},f=async t=>{m(!0),await ek.NextSelfClient.getTrackMyOrder(x.locale,t.orderId,t.email).then(t=>{var l,n;t.success?(u({...t,order:{...null==t?void 0:t.order,transactionSummary:(0,eC.totalPriceRemap)(i,null==t||null==(n=t.order)?void 0:n.transactionSummary,x.currency)}}),v("info")):(v("form"),r(!0),el.toast.error(null!=(l=e.orderNotFoundMessage)?l:"Invalid order"))}),m(!1)};return{props:e?{formStep:{signIn:{title:e.signInTitleLabel,text:e.signInTextLabel,cta:{children:null==(n=e.signInLink)?void 0:n.label,...e.signInLink}},orderInfoForm:{title:e.guestTitleLabel,text:e.guestTextLabel,handleSubmit:f,inputs:{email:{label:e.emailAddressInputLabel,validations:{regex:(0,s.getEmailRegex)(i),EMAIL:h.form_email_error||"Please enter a valid mail address. Pattern should be: [email protected]",REQUIRED:h.form_required_error||"Field is mandatory. Please provide a value"}},orderId:{label:e.orderNumberInputLabel,validations:{regex:RegExp(/^(?:[A-Z]{3}-)?\d{13}-\d{2}$/),REQUIRED:h.order_number_error||"Please enter a valid order number"}}},cta:{children:e.trackMyOrderLabel},note:e.noteLabel,showErrorOnInput:o,setShowErrorOnInput:r},emailRegExValidation:(0,s.getEmailRegex)(i)},infoStep:(n=>{var o,a,r,d,s,c,u,p,m,g,v,f,y,w,j,C,k,S,I,T,$,_,P,L,A,E,D,R,M,O,B,z,N,F,V,G,W,H,q,U,K,Y,Q,Z,X,ee,el,ei,en,eo,ea,er,ed,es,ec,eu,ep,em,eg,ev,eh,ex,eb,ef,ey,ej,eC,ek,eS,eI,eT;return n&&{myOrders:{page:l,viewMoreLabel:null==n?void 0:n.viewMoreLinkLabel,quantityLabel:null==n?void 0:n.quantityLabel,activeOrdersCounter:1,noOrderLabel:"There is no order in progress.",title:{icon:"Package",content:e.headerTitleLabel},orders:[{page:l,orderNumber:null==(o=n.order)?void 0:o.orderNumber,orderLabel:null==(a=n.order)?void 0:a.orderLabel,orderNumberLabel:null==(r=n.order)?void 0:r.orderNumberLabel,isExpandable:!1,statusLabel:null==(d=n.order)?void 0:d.orderStatusLabel,status:null==(s=n.order)?void 0:s.orderStatus,price:{label:null==(u=n.order)||null==(c=u.transactionSummary)?void 0:c.totalLabel,value:null==(m=n.order)||null==(p=m.transactionSummary)?void 0:p.totalValue,valueAddedTaxLabel:null==(v=n.order)||null==(g=v.transactionSummary)?void 0:g.includeVatLabel},subTotal:{label:null==(y=n.order)||null==(f=y.transactionSummary)?void 0:f.subTotalLabel,value:null==(j=n.order)||null==(w=j.transactionSummary)?void 0:w.subTotalValue},shipping:{label:null==(k=n.order)||null==(C=k.transactionSummary)?void 0:C.shippingLabel,value:null!=(eT=null==(I=n.order)||null==(S=I.transactionSummary)?void 0:S.shippingTotalValue)?eT:null==h?void 0:h.freeLabel},discount:{label:null==($=n.order)||null==(T=$.transactionSummary)?void 0:T.discountLabel,value:null==(P=n.order)||null==(_=P.transactionSummary)?void 0:_.discountTotalValue},deliveryAddress:{label:null==(L=n.order)?void 0:L.deliveryAddressLabel,recipientName:null==(E=n.order)||null==(A=E.deliveryAddress)?void 0:A.recipientName,text:(null==(D=n.order)?void 0:D.deliveryAddress)?(0,ew.getAddressStringByObject)({street:null==(M=n.order)||null==(R=M.deliveryAddress.streetInput)?void 0:R.textValue,city:null==(B=n.order)||null==(O=B.deliveryAddress.cityInput)?void 0:O.textValue,postCode:null==(N=n.order)||null==(z=N.deliveryAddress.postalCodeInput)?void 0:z.textValue,country:null==(W=n.order)||null==(G=W.deliveryAddress.countryInput)||null==(V=G.selectedValues)||null==(F=V[0])?void 0:F.value}):null},billingAddress:{label:null==(H=n.order)?void 0:H.billingAddressLabel,recipientName:null==(U=n.order)||null==(q=U.billingAddress)?void 0:q.recipientName,text:(null==(K=n.order)?void 0:K.billingAddress)?(0,ew.getAddressStringByObject)({street:null==(Q=n.order)||null==(Y=Q.billingAddress.streetInput)?void 0:Y.textValue,city:null==(X=n.order)||null==(Z=X.billingAddress.cityInput)?void 0:Z.textValue,postCode:null==(el=n.order)||null==(ee=el.billingAddress.postalCodeInput)?void 0:ee.textValue,country:null==(ea=n.order)||null==(eo=ea.billingAddress.countryInput)||null==(en=eo.selectedValues)||null==(ei=en[0])?void 0:ei.value}):null},deliveryMode:{label:null==(er=n.order)?void 0:er.deliveryModeLabel,text:null==(ed=n.order)?void 0:ed.deliveryMode},deliveryDate:{label:null==(eu=n.order)||null==(ec=eu.items)||null==(es=ec[0])?void 0:es.deliveryDateLabel,text:(null==(eg=n.order)||null==(em=eg.items)||null==(ep=em[0])?void 0:ep.deliveryDate)?(0,J.default)(null==(ex=n.order)||null==(eh=ex.items)||null==(ev=eh[0])?void 0:ev.deliveryDate).format("DD MMMM YYYY"):null},invoice:{label:null==(eb=n.order)?void 0:eb.invoiceLabel,cta:(null==(ef=n.order)?void 0:ef.invoiceLink)?{children:null==(ey=n.order)?void 0:ey.invoiceLink.children,href:null==(ej=n.order)?void 0:ej.invoiceLink.href,rightIcon:(0,t.jsx)(et.Icon,{icon:"Download",label:""})}:null},paymentMethod:{label:null==(eC=n.order)?void 0:eC.paymentMethodLabel,text:null==(ek=n.order)?void 0:ek.paymentMethod},products:(null==(eI=n.order)||null==(eS=eI.items)?void 0:eS.map(e=>{var t,l,o,a,r,d,s,c,u,p;return(e=e$(i,e,x.currency,null==h?void 0:h.freeLabel))?{quantity:e.quantity,image:{src:e.imageUrl,alt:""},name:e.name,engraving:e.engravingText?{text:e.engravingText,price:e.engravingPrice?{current:e.engravingPrice.current,special:e.engravingPrice.special,...e.engravingPrice.currentValue||0!==e.engravingPrice.specialValue?{}:{freeLabel:null==h?void 0:h.freeLabel}}:null}:null,pdpSlug:e.pdpSlug,price:e.price?{current:e.price.current,special:e.price.special,...e.price.currentValue||0!==e.price.specialValue?{}:{freeLabel:null==h?void 0:h.freeLabel}}:null,orderStatus:{icon:"Package",label:null==(t=n.order)?void 0:t.orderStatusLabel,text:e.status},estimatedDelivery:{icon:"Package",label:null==(a=n.order)||null==(o=a.items)||null==(l=o[0])?void 0:l.deliveryDateLabel,text:(null==(s=n.order)||null==(d=s.items)||null==(r=d[0])?void 0:r.deliveryDate)?(0,J.default)(null==(p=n.order)||null==(u=p.items)||null==(c=u[0])?void 0:c.deliveryDate).format("DD MMMM YYYY"):null},followShipment:e.shipmentTrackingLink?{children:e.shipmentTrackingLink.children,href:e.shipmentTrackingLink.href}:null,preventCancellation:e.preventCancellation}:null}))||[]}],locale:i},trackAnotherCta:{children:(null==h?void 0:h.trackAnotherOrderCtaLabel)?null==h?void 0:h.trackAnotherOrderCtaLabel:"Track Another Order",onClick:b}}})(c)}:null,isLoading:p,activeStep:g}})(l,i,n)||{};if(!o)return null;let u="info"===c&&!r;return(0,t.jsxs)(eI,{size:"sm","data-id":"module-"+(null==l?void 0:l.sequenceOrder),children:[r?(0,t.jsx)(ey.Loader,{}):null,u&&(0,t.jsx)(ex,{...o.infoStep}),!u&&(0,t.jsx)(eu,{...o.formStep})]})},e$=(e,t,l,i)=>{var n,o,a,r,d,c,u,p,m,g,v,h,x,b,f,y,w,j,C;if(t)return{...t,engraving:t.engraving?{...t.engraving,price:{current:(null==t||null==(n=t.price)?void 0:n.current)?null==t||null==(o=t.price)?void 0:o.current:"".concat(l.symbol," ").concat(null==(a=parseFloat(null==(d=t.engraving)||null==(r=d.price)?void 0:r.current))?void 0:a.toLocaleStr
1ing((0,ew.toISOLocale)(e),(0,eS.getPriceFormatOptions)((0,s.isHidePriceCentsEnabled)(e)))),special:isNaN(parseFloat(t.engraving.price.special))?t.engraving.price.special:0===parseFloat(t.engraving.price.special)||parseFloat(t.engraving.price.special)!==parseFloat(t.engraving.price.current)?"".concat(l.symbol," ").concat(null==(c=parseFloat(null==(p=t.engraving)||null==(u=p.price)?void 0:u.special))?void 0:c.toLocaleString((0,ew.toISOLocale)(e),(0,eS.getPriceFormatOptions)((0,s.isHidePriceCentsEnabled)(e)))):null}}:null,price:{current:"".concat(l.symbol," ").concat(null==(g=t.price)||null==(m=g.currentPrice)?void 0:m.toLocaleString((0,ew.toISOLocale)(e),(0,eS.getPriceFormatOptions)((0,s.isHidePriceCentsEnabled)(e)))),special:(null==(v=t.price)?void 0:v.specialPrice)!==(null==(h=t.price)?void 0:h.currentPrice)?(null==(x=t.price)?void 0:x.specialPrice)!==0?"".concat(l.symbol," ").concat(null==(f=t.price)||null==(b=f.specialPrice)?void 0:b.toLocaleString((0,ew.toISOLocale)(e),(0,eS.getPriceFormatOptions)((0,s.isHidePriceCentsEnabled)(e)))):i:null,currentValue:null==(y=t.price)?void 0:y.currentPrice,specialValue:(null==(w=t.price)?void 0:w.specialPrice)!==(null==(j=t.price)?void 0:j.currentPrice)?null==(C=t.price)?void 0:C.specialPrice:null,currency:l.code}}};e.i(187564);var e_=e.i(115143);e.i(174231);var eP=e.i(555318);e.i(560976);var eL=e.i(932788);e.i(388008);var eA=e.i(879045),eE=e.i(846281),eD=e.i(841499),eR=e.i(927965);let eM=a.default.forwardRef(e=>{let{id:l,dataId:i,title:n,ctaPrimary:o,ctaSecondary:r,textColor:d,backgroundColor:s,image:c,imageSmall:u,logoImage:p,previewVideo:m,previewVideoUrlMobile:g,previewVideoUrlTablet:v,mobileAutoplay:h,desktopAutoplay:x,localStorageKey:b,size:f,trackEventDialogInteractions:y,closeLabel:w,__typename:j,customCountdown:C}=e,[k,S]=a.default.useState(!1),[I,T]=a.default.useState(x),[$,_]=a.default.useState(h);(0,a.useEffect)(()=>{S("false"!==globalThis.localStorage.getItem(b))},[]),(0,a.useEffect)(()=>{k||globalThis.localStorage.setItem(b,"false")},[k]);let P=null==C?void 0:C.dateTime,L=!!(C&&P),A=(0,J.default)().isAfter((0,J.default)(P));return(0,t.jsx)(eO,{id:j,"data-id":i,children:(0,t.jsx)(eP.Dialog,{open:k,id:l,type:j,onOpenChange:S,children:(0,t.jsx)(eP.Dialog.Content,{size:null!=f?f:"immersive-large",overlay:!0,isFull:!0,showCloseButton:!1,onOpenAutoFocus:e=>{e.preventDefault()},onInteractOutside:e=>{e.preventDefault()},handleDialog:()=>{y({action:"close",popup_name:null!=n?n:"",popup_id:null!=l?l:""}),S(!1)},title:n,type:j,isFromPopup:!0,"data-component-id":"generic-popup",children:(0,t.jsxs)(eB,{children:[(0,t.jsx)(eF,{size:"xl",css:{backgroundColor:s},children:(0,t.jsxs)(eV,{css:{"&:before":{display:"block",content:"''",width:"100%"}},children:[u?(0,t.jsx)(ez,{layout:"fill",objectFit:"cover",...u,priority:!0}):null,c?(0,t.jsx)(eN,{layout:"fill",objectFit:"cover",...c,priority:!0}):null,m&&!I?(0,t.jsx)(eH,{isDesktopButton:!0,"aria-label":"play",onClick:e=>{e.stopPropagation(),e.preventDefault(),T(!0)},children:(0,t.jsx)(et.Icon,{icon:"Play",label:"",stroke:"white",width:"12px",height:"12px"})}):null,m&&!$?(0,t.jsx)(eH,{isDesktopButton:!1,"aria-label":"play",onClick:e=>{e.stopPropagation(),e.preventDefault(),_(!0)},children:(0,t.jsx)(et.Icon,{icon:"Play",label:"",stroke:"white",width:"12px",height:"12px"})}):null,x||I?(0,t.jsx)(eq,{videoPreviewMode:!!m,isMobile:!1,children:(0,t.jsx)(eE.VideoPlayer,{width:"100%",height:"100%",url:m,muted:!0,playing:!0,loop:!0})}):null,h||$?(0,t.jsx)(eq,{videoPreviewMode:!!m,isMobile:!0,children:(0,t.jsx)(eE.VideoPlayer,{width:"100%",height:"100%",url:null!=g?g:m,muted:!0,playing:!0,loop:!0})}):null,h||$?(0,t.jsx)(eq,{videoPreviewMode:!!m,isTablet:!0,children:(0,t.jsx)(eE.VideoPlayer,{width:"100%",height:"100%",url:null!=v?v:m,muted:!0,playing:!0,loop:!0})}):null]})}),(0,t.jsxs)(eG,{css:{backgroundColor:"transparent"},onClick:e=>{e.preventDefault(),e.stopPropagation(),(null==o?void 0:o.href)&&(y({action:"click",popup_name:null!=n?n:"",popup_id:null!=l?l:""}),(0,eD.windowHrefUtils)(null==o?void 0:o.href))},children:[p?(0,t.jsx)(eK,{children:(0,t.jsx)(eU,{layout:"fill",objectFit:"cover",...p,priority:!0})}):null,[{top:0,right:0},{top:0,left:0},{bottom:0,left:0},{bottom:0,right:0}].map((e,i)=>(0,t.jsx)(eY,{style:e,"data-popup-close-button":"true",onClick:e=>{e.stopPropagation(),e.preventDefault(),y({action:"close",popup_name:null!=n?n:"",popup_id:null!=l?l:""}),S(!1)},children:0===e.top&&0===e.right&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eQ,{children:w}),(0,t.jsx)(et.Icon,{icon:"Close",label:"",stroke:"white",width:"15px",height:"15px"})]})},i)),L&&!A?(0,t.jsx)(eZ,{"data-component-id":"popup-countdown",...C}):null,n?(0,t.jsx)(eL.Heading,{heading:"h1",as:"h2",css:{width:"90%",color:d,m:"0 0 $6","@md":{mb:"$6-5",width:"95%"}},children:n}):null,o||r?(0,t.jsxs)(eW,{children:[o&&(null==o?void 0:o.href)?(0,t.jsx)(en.Button,{...o,onClick:e=>{e.preventDefault(),e.stopPropagation(),y({action:"Button Click",popup_name:null!=n?n:"",popup_id:null!=l?l:"",link_text:o.children}),(0,eD.windowHrefUtils)(null==o?void 0:o.href)}}):null,r?(0,t.jsx)(en.Button,{...r,onClick:e=>{e.preventDefault(),e.stopPropagation(),y({action:"Button Click",popup_name:null!=n?n:"",popup_id:null!=l?l:"",link_text:r.children}),S(!1)}}):null]}):null]})]})})})})}),eO=(0,l.styled)("div",{width:"100%",overflow:"hidden"}),eB=(0,l.styled)("div",{width:"100%",border:"none",boxSizing:"unset","&:before":{content:"",position:"absolute",inset:"0",zIndex:2,transition:"background-color 0.2s linear 0s",backgroundColor:"rgba(0, 0, 0, 0.02)"}}),ez=(0,l.styled)(e_.Image,{display:"block !important","@lg":{display:"none !important"}}),eN=(0,l.styled)(e_.Image,{display:"none !important","@lg":{display:"block !important"}}),eF=(0,l.styled)(ee.Container,{position:"relative",width:"100%",height:"100%"}),eV=(0,l.styled)("div",{position:"relative",backgroundColor:"#000",variants:{aspectRatioSmall:{"16-9":{"@media (max-width: 767px)":{"&:before":{paddingTop:"177.77%"}}}},aspectRatioMedium:{"16-9":{"@media (min-width: 768px) and (max-width: 1023px)":{"&:before":{paddingTop:"135%"}}}},aspectRatio:{"16-9":{"@lg":{"&:before":{paddingTop:"66.25%"}},"@xl":{"&:before":{paddingTop:"56.25%"}}}}},defaultVariants:{aspectRatio:"16-9",aspectRatioMedium:"16-9",aspectRatioSmall:"
116-9"},img:{maxWidth:"100%",minHeight:"100%",objectFit:"cover",position:"absolute",zIndex:1,top:0,left:0,width:"100%",height:"100%"},picture:{display:"block",position:"relative",zIndex:1,boxSizing:"border-box",paddingBottom:"56.25%","&:after":{display:"block",content:"",position:"absolute",zIndex:6,top:"0",left:"0",width:"100%",height:"100%"}}}),eG=(0,l.styled)("div",{display:"flex",flexDirection:"column",textAlign:"center",justifyContent:"center",backgroundColor:"trasparent",position:"absolute",zIndex:"10",top:0,left:"50%",transform:"translateX(-50%)",width:"100%",height:"100%",alignItems:"center",cursor:"pointer"}),eW=(0,l.styled)("div",{display:"flex",columnGap:"$3-75",rowGap:"$2-5",margin:"$6 0 0",flexDirection:"column",justifyContent:"center",alignItems:"center"}),eH=(0,l.styled)(eA.Link,{position:"absolute",zIndex:"20",top:"50%",left:"50%",transform:"translate(-50%,-50%)","&:before":{display:"block",content:"",position:"absolute",zIndex:1,top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:" 3.5rem",height:"3.5rem",borderRadius:"50%",backgroundColor:"rgba(0,0,0,.6)"},svg:{zIndex:2,position:"absolute",top:"calc(50% - 6px)",left:"calc(50% - 6px)"},variants:{isDesktopButton:{true:{display:"none","@lg":{display:"block"}},false:{display:"block","@lg":{display:"none"}}}}}),eq=(0,l.styled)("div",{position:"absolute",zIndex:3,top:"0",left:"0",width:"100%",height:"100%",opacity:0,transition:"opacity 1s linear",video:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",objectFit:"cover"},defaultVariants:{videoPreviewMode:!1},variants:{videoPreviewMode:{false:{opacity:0}
1,true:{opacity:1}},isMobile:{true:{display:"block","@md":{display:"none"}},false:{display:"none","@lg":{display:"block"}}},isTablet:{true:{display:"none","@md":{display:"block"},"@lg":{display:"none"}}}}}),eU=(0,l.styled)(e_.Image,{position:"absolute",zIndex:"10",top:0,left:0}),eK=(0,l.styled)("div",{width:"100px",height:"11px",position:"absolute",left:"50px",top:"35px","@md":{width:"200px",height:"20px"},zIndex:"10"}),eY=(0,l.styled)("div",{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",paddingTop:"35px",paddingRight:"35px",paddingLeft:"10px",paddingBottom:"10px"}),eQ=(0,l.styled)("span",{color:"$copyWhite",display:"none","@lg":{mr:"15px",fontWeight:"$bold",display:"inline-block"}}),eZ=(0,l.styled)(eR.ProductCustomCountdown,{marginLeft:0,marginTop:"$4",marginBottom:"$5","@xl":{marginBottom:"$7"}});var eX=e.i(451936),eJ=e.i(6112);let e0=e=>{let{module:l,locale:i}=e,{props:n}=e1(l,i)||{};return n?(0,t.jsx)(eM,{...n,dataId:"module-"+(null==l?void 0:l.sequenceOrder)}):null},e1=(e,t)=>{var l,i,n;let{trackEventDialogInteractions:o}=(0,eJ.useTrackEventsDialogInteractionTracking)(),{data:a}=(0,ej.useGetTranslations)({locale:t});if(!e)return null;let r={locale:t,dateTime:null==e||null==(l=e.countdown)?void 0:l.endDateTime,hourLabel:null==a?void 0:a.genericHourLabel,minuteLabel:null==a?void 0:a.genericMinuteLabel,dayLabel:null==a?void 0:a.genericDayLabel,backgroundColor:null==e||null==(i=e.countdown)?void 0:i.backgroundColor,textColor:null==e||null==(n=e.countdown)?void 0:n.textColor};return{props:{...e,id:eX.LOCAL_STORAGE_KEYS.IMMERSIVE_POPUP+(null==e?void 0:e.entryId),localStorageKey:eX.LOCAL_STORAGE_KEYS.IMMERSIVE_POPUP+(null==e?void 0:e.entryId),closeLabel:null==a?void 0:a.popup_close_label,trackEventDialogInteractions:o,customCountdown:r}}};var e5=e.i(540389),e2=e.i(602107);e.i(881804);var e3=e.i(802430),e6=e.i(757825),e8=e.i(885431),e4=e.i(147749),e9=e.i(603783),e7=e.i(24297);e.i(589928);var te=e.i(857095);let tt=a.default.forwardRef((e,l)=>{var i;let{id:n,items:o,dataId:r,autoplay:d=!1,autoplayInterval:s=6e3,showArrows:c=!0,showDots:u=!0,enableMarginReduction:p}=e,m=(0,a.useId)(),g="".concat(m,"_next"),v="".concat(m,"_prev"),h="".concat(m,"_pagination"),x=null!=(i=null==o?void 0:o.length)?i:0;return x?(0,t.jsxs)(tl,{id:n,ref:l,"data-id":r,enableMarginReduction:p,"data-component-id":"media-slider-container",size:"xl",children:[(0,t.jsx)(ti,{modules:[e4.Navigation,e9.Pagination,e8.Keyboard,e3.A11y,...d?[e6.Autoplay]:[]],keyboard:!0,slidesPerView:1,slidesPerGroup:1,loop:x>1,watchSlidesProgress:!0,navigation:!!c&&{nextEl:'[data-navigation="d-'.concat(g,'"]'),prevEl:'[data-navigation="d-'.concat(v,'"]')},pagination:!!u&&{type:"bullets",bulletElement:"a",el:'[data-pagination="'.concat(h,'"]'),clickable:!0,renderBullet:function(e,t){return'<div class="'+t+'" style="width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:none;"><div style="width:8px;height:8px;border:3px solid #ffffff;border-radius:50%;"></div></div>'}},autoplay:!!d&&{delay:s,disableOnInteraction:!1},"data-component-id":"media-slider",children:o.map((e,l)=>{var i;return(0,t.jsx)(e7.SwiperSlide,{"data-component-id":"media-slider-slide",children:(0,t.jsx)(te.ModuleMedia,{...e,dataId:r?"".concat(r,"-").concat(l):"module-".concat(l)})},null!=(i=e.id)?i:l)})}),c&&x>1?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(tn,{side:"left","aria-label":"previous slide","data-navigation":"d-".concat(v),"data-component-id":"media-slider-arrow-prev",children:(0,t.jsx)(et.Icon,{icon:"ArrowLeft",label:"",stroke:"white",width:"8px",height:"16px"})}),(0,t.jsx)(tn,{side:"right","aria-label":"next slide","data-navigation":"d-".concat(g),"data-component-id":"media-slider-arrow-next",children:(0,t.jsx)(et.Icon,{icon:"ArrowRight",label:"",stroke:"white",width:"8px",height:"16px"})})]}):null,u&&x>1?(0,t.jsx)(to,{"data-pagination":h,"data-component-id":"media-slider-dots"}):null]}):null}),tl=(0,l.styled)(ee.Container,{position:"relative",width:"100%",overflow:"hidden",variants:{enableMarginReduction:{true:{mt:"3px","@md":{mt:"4px"}}}}}),ti=(0,l.styled)(e7.Swiper,{width:"100%"}),tn=(0,l.styled)("button",{position:"absolute",top:"50%",transform:"translateY(-50%)",zIndex:4,display:"flex",alignItems:"center",justifyContent:"center",width:"3rem",height:"3rem",borderRadius:"50%",backgroundColor:"rgba(0,0,0,.6)",border:0,cursor:"pointer",p:0,"&.swiper-button-disabled":{cursor:"default",opacity:.6},variants:{side:{left:{left:"$5"},right:{right:"$5"}}}}),to=(0,l.styled)("div",{zIndex:4,position:"absolute",bottom:"$5",left:0,width:"100%",display:"flex",alignItems:"center",justifyContent:"center",".swiper-pagination-bullet-active > div":{backgroundColor:"#ffffff"}}),ta=e=>{var l;let{module:i,isH1Title:n=!1,locale:o,isBlogArticleSection:a,showImageOptimizationWarning:r}=e,{items:d}=null!=(l=tr(i,n,o,a,r))?l:{};return(null==d?void 0:d.length)?(0,t.jsx)(tt,{items:d,dataId:"module-"+(null==i?void 0:i.sequenceOrder)}):null},tr=(e,t,l,i,n)=>{var o;let{data:a}=(0,ej.useGetTranslations)({locale:l}),{trackEventAllCta:r}=(0,e5.useTrackEventsAllCta)(),{trackEventBannerHero:d}=(0,e2.useTrackEventsBannerHero)();return(null==e||null==(o=e.items)?void 0:o.length)?{items:e.items.map((o,s)=>{var c;return(0,j.mapMediaItem)({item:o,index:s,moduleTypename:e.__typename,isFirstModule:(null!=(c=e.sequenceOrder)?c:0)===0,isH1Title:t,locale:l,translations:a,trackEventAllCta:r,trackEventBannerHero:d,isBlogArticleSection:i,showImageOptimizationWarning:n})})}:null},td=(e,t)=>{var l,i,n,o,a;let[r,...d]=[null!=(o=null==e||null==(l=e.product)?void 0:l.type)?o:"",...null!=(a=null==e||null==(n=e.product)||null==(i=n.category)?void 0:i.path)?a:[]],s=null==d?void 0:d.reduce((e,t,l)=>t?{...e,["item_category".concat(l+2)]:(null==t?void 0:t.charAt(0).toUpperCase())+(null==t?void 0:t.slice(1))}:e,{}),c={item_category:"SDA"===r?"Small Domestic Appliances":"Major Domestic Appliances"};return(null==t?void 0:t.label)?{...c,...s,item_variant:t.label}:{...c,...s}},ts=e=>{var l,H;let{modules:q=[],productOverviewCtaId:U,isProductOverviewCtaScrolled:K=!1,locale:Y,page:Q,isH1Title:X=!1,isGenericPage:J,isBlogArticleSection:ee=!1,reviewsData:et,enableRatingSeo:el=!0,hasReducedBanner:ei=!1}=e,[en,eo]=(0,a.useState)(void 0),{data:ea}=(0,n.useGetProductCard)(),er=(null==Q||null==(H=Q.pdpBundle)||null==(l=H.products)?void 0:l.length)>0,ed=(null==Q?void 0:Q.__typename)==="ProductDetailPage"||(null==Q?void 0:Q.__typename)==="ProductDetailCategoryPage",es=(0,i.getSequenceOrderModules)(er&&ed?q.filter(e=>(null==e?void 0:e.__typename)!=="PromoBannerModule"):q),ec=td({product:ea},en),eu=null==q?void 0:q.find(e=>(null==e?void 0:e.__typename)==="NavigationLinkModule"&&(null==e?void 0:e.type)==="AnchorBar"),ep=(0,o.useNavigationAnchorBarModuleMapper)({...eu,categories:ec}),em=(null==Q?void 0:Q.__typename)==="ProductListingPage"||(null==Q?void 0:Q.__typename)==="CustomListingPage",eg=(null==Q?void 0:Q.type)==="HOME_PAGE",ev=(null==Q?void 0:Q.__typename)==="CheckoutPage",{data:eh}=(0,d.useGetSiteData)(),ex=(0,r.isPrevEnv)(null==eh?void 0:eh.host),eb=(0,s.isImageOptimizationWarningEnabled)(Y),ef=c.useImageOptimization,ey=e=>ex&&eb&&ef(e);return(0,t.jsx)(tc,{anchorBarVisible:void 0!==eu&&J,children:null==es?void 0:es.map(e=>{switch((null==e?void 0:e.__typename.charAt(0).toUpperCase())+(null==e?void 0:e.__typename.slice(1))){case"ProductOverviewModule":return(0,t.jsx)(u.UnDeliverableProductModalProvider,{children:(0,t.jsx)(E.default,{setProductColor:eo,module:e,categories:ec,anchorBarLinks:ep.props.links,showAnchorBar:ep.isScrolled,anchorBarActiveLink:ep.activeLink,isProductOverviewCtaScrolled:K,productOverviewCtaId:U,locale:Y,page:Q},(null==e?void 0:e.sequenceOrder)+"ProductOverviewModule")});case"PhotoLeftRightModule":return(0,t.jsx)($.default,{module:e,locale:Y,showImageOptimizationWarning:ey},(null==e?void 0:e.sequenceOrder)+"PhotoLeftRightModule");case"ProductWhatsInTheBoxModule":return(0,t.jsx)(O.default,{categories:ec,locale:Y,productC
1olor:en,module:e},(null==e?void 0:e.sequenceOrder)+"ProductWhatsInTheBoxModule");case"InternalHeadingModule":return(0,t.jsx)(w.default,{module:e,isH1Title:X},(null==e?void 0:e.sequenceOrder)+"InternalHeadingModule");case"HeroBannerOverflowingModule":return(0,t.jsx)(x.default,{module:e,showImageOptimizationWarning:ey},(null==e?void 0:e.sequenceOrder)+"HeroBannerOverflowingModule");case"ProductFeaturesModule":return(0,t.jsx)(L.default,{module:e},(null==e?void 0:e.sequenceOrder)+"ProductFeaturesModule");case"QuoteModule":return(0,t.jsx)(N.default,{module:e},(null==e?void 0:e.sequenceOrder)+"QuoteModule");case"PhotoWallModule":return(0,t.jsx)(_.default,{module:e},(null==e?void 0:e.sequenceOrder)+"PhotoWallModule");case"ColumnContentWrapperModule":return(0,t.jsx)(m.default,{module:e},(null==e?void 0:e.sequenceOrder)+"ColumnContentWrapperModule");case"HeroColumnBannerWrapperModule":return(0,t.jsx)(b.default,{module:e,showImageOptimizationWarning:ey},(null==e?void 0:e.sequenceOrder)+"HeroColumnBannerWrapperModule");case"PromoBannerModule":return(0,t.jsx)(B.default,{module:e,categories:ec,prodCard:ea},(null==e?void 0:e.sequenceOrder)+"PromoBannerModule");case"ProductSpecificationModule":return(0,t.jsx)(M.default,{categories:ec,module:e,locale:Y},(null==e?void 0:e.sequenceOrder)+"ProductSpecificationModule");case"HomeBannerModule":return(0,t.jsx)(f.default,{module:e,isH1Title:X,showImageOptimizationWarning:ey},(null==e?void 0:e.sequenceOrder)+"HomeBannerModule");case"MediaReviewModule":return(0,t.jsx)(C.default,{module:e,reviewsData:et},(null==e?void 0:e.sequenceOrder)+"MediaReviewModule");case"PatchworkModule":return(0,t.jsx)(T.default,{module:e,isH1Title:X,showImageOptimizationWarning:ey},(null==e?void 0:e.sequenceOrder)+"PatchworkModule");case"NavigationLinkModule":if((null==e?void 0:e.type)==="AnchorBar")return(0,t.jsx)(o.default,{sequenceOrder:null==e?void 0:e.sequenceOrder,anchorBar:ep.props,onActiveLinkChange:ep.onActiveLinkChange,onLinkClick:ep.onLinkClick,mode:"secondary",isGenericPage:J,isPDPPage:ed},(null==e?void 0:e.sequenceOrder)+"NavigationAnchorBarModule");return(0,t.jsx)(S.default,{module:e,isHomePage:eg},(null==e?void 0:e.sequenceOrder)+"NavigationLinkModule");case"ReadMoreModule":return(0,t.jsx)(F.default,{module:e,categories:ec,locale:Y},(null==e?void 0:e.sequenceOrder)+"ReadMoreModule");case"MediaModule":return(0,t.jsx)(j.default,{module:e,locale:Y,isH1Title:X,isBlogArticleSection:ee,showImageOptimizationWarning:ey},(null==e?void 0:e.sequenceOrder)+"MediaModule");case"PromoHomeBannerModule":return(0,t.jsx)(y.default,{module:e,isH1Title:X,showImageOptimizationWarning:ey,isPlpVariant:em||ei},(null==e?void 0:e.sequenceOrder)+"PromoHomeBannerModule");case"DisclaimerModule":return(0,t.jsx)(v.default,{module:e},(null==e?void 0:e.sequenceOrder)+"DisclaimerModule");case"ProductComparisonTableModule":return(0,t.jsx)(P.default,{module:e,locale:Y,isH1Title:X,isPDPPage:ed,page:Q},(null==e?void 0:e.sequenceOrder)+"_ProductComparisonTableModule");case"ModBlockListModule":return(0,t.jsx)(k.default,{module:e},(null==e?void 0:e.sequenceOrder)+"ModBlockListModule");case"RelatedProductsModule":return(0,t.jsxs)(u.UnDeliverableProductModalProvider,{children:[(0,t.jsx)(p.UndeliverableProductEmailWhenAvailableDialog,{}),(0,t.jsx)(R.default,{module:e,locale:Y,enableRatingSeo:el})]},(null==e?void 0:e.sequenceOrder)+"ProductRelatedModule");case"MosaicModule":return(0,t.jsx)(A.default,{module:e},(null==e?void 0:e.sequenceOrder)+"MosaicModule");case"FaqTooltipModule":return(0,t.jsx)(h.default,{categories:ec,module:e,isCheckoutPage:ev},(null==e?void 0:e.sequenceOrder)+"FaqTooltipModule");case"RelatedContentsModule":return(0,t.jsx)(V.default,{module:e,locale:Y},(null==e?void 0:e.sequenceOrder)+"RelatedContentsModule");case"ContactUsModule":return(0,t.jsx)(g.default,{module:e,locale:Y,isH1Title:X,pageMetadata:null==Q?void 0:Q.pageMetadata},(null==e?void 0:e.sequenceOrder)+"ContactUsModule");case"TrackMyOrderModule":return(0,t.jsx)(eT,{module:e,locale:Y,page:Q},(null==e?void 0:e.sequenceOrder)+"TrackMyOrderModule");case"RichTextModule":return(0,t.jsx)(G.default,{module:e},(null==e?void 0:e.sequenceOrder)+"RichTextModule");case"NewsletterSubscriptionModule":return(0,t.jsx)(I.default,{module:e,locale:Y,page:Q},(null==e?void 0:e.sequenceOrder)+"NewsletterSubscriptionModule");case"ProductReferenceModalModule":return(0,t.jsx)(D.default,{module:e},(null==e?void 0:e.sequenceOrder)+"ProductReferenceModalModule");case"SearchModule":return(0,t.jsx)(Z,{module:e},(null==e?void 0:e.sequenceOrder)+"SearchModule");case"ScriptCodeModule":return(0,t.jsx)(W.default,{module:e},(null==e?void 0:e.sequenceOrder)+"ScriptCodeModule");case"PopUpModule":return(0,t.jsx)(e0,{module:e,locale:Y},(null==e?void 0:e.sequenceOrder)+"PopupModule");case"PromoFormModule":return(0,t.jsx)(z.default,{module:e},(null==e?void 0:e.sequenceOrder)+"PromoFormModule");case"MediaSliderModule":return(0,t.jsx)(ta,{module:e,locale:Y,isH1Title:X,isBlogArticleSection:ee,showImageOptimizationWarning:ey},(null==e?void 0:e.sequenceOrder)+"MediaSliderModule");default:return null}})})},tc=(0,l.styled)("div",{variants:{anchorBarVisible:{true:{marginTop:100,"@md":{marginTop:"0 !important"}}}}}),tu=ts}]);
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.