1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="1e4ec199-76d8-47ab-af02-cdfe2dc37f04",e._sentryDebugIdIdentifier="sentry-dbid-1e4ec199-76d8-47ab-af02-cdfe2dc37f04")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[45711],{57278:function(e,l,t){"use strict";var n=t(52676),i=t(75271),o=t(82187),a=t.n(o),s=t(98958),d=t(10065),r=t(10852),c=t(87577);l.Z=e=>{var l;let{data:t,pageHandle:i,theme:o="",cns:s={},hideLink:d,playAni:x=!0,gtmRef:v,hasAni:p=!0,onlyText:m=!1}=e,{setRelativeLink:f}=(0,r.D)();return t.preTitle||(null==t?void 0:t.title)?(0,n.jsxs)("div",{className:a()("flex items-end justify-between pb-[32px] xl:pb-[24px]","dark"===o?"text-[#fff]":"text-[#1D1D1F]",null==s?void 0:s.txt,(null==t?void 0:t.textAlign)==="center"&&"text-center"),children:[(0,n.jsxs)("div",{className:a()(null==s?void 0:s.txtBox,(null==t?void 0:null===(l=t.styles)||void 0===l?void 0:l.textFullWidth)?"w-full":"w-[50%] md:w-full"),children:[(null==t?void 0:t.preTitle)&&(0,n.jsx)("div",{className:"mb-[8px] text-[20px] font-[700] leading-[1.4] md:text-[12px] xl:text-[14px]",children:(0,n.jsx)(u,{txt:null==t?void 0:t.preTitle,playAni:x,hasAni:p,onlyText:m})}),(null==t?void 0:t.title)&&(0,n.jsx)("h2",{className:"title text-[40px] font-[800] leading-[1.2] l:!text-[20px] xl:text-[32px] [&_img]:inline-block",children:(0,n.jsx)(u,{txt:null==t?void 0:t.title,playAni:x,hasAni:p,onlyText:m})}),(null==t?void 0:t.desc)&&(0,n.jsx)("div",{className:"mt-[4px] text-[20px] font-[600] leading-[1.4] xl:text-[16px]",children:(0,n.jsx)(u,{txt:null==t?void 0:t.desc,playAni:x,hasAni:p,onlyText:m})})]}),(null==t?void 0:t.boxLinkUrl)&&!d&&(0,n.jsxs)("a",{className:"boxLink flex items-center pb-[10px] text-[16px] font-[700] leading-[1.4] text-[#777] transition-all duration-[0.4s] md:hidden [&:hover]:text-[#1D1D1F] [&:hover_path]:stroke-[#1D1D1F]",href:"".concat(f({link:null==t?void 0:t.boxLinkUrl}),"?ref=").concat(v||i),children:[(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:null==t?void 0:t.boxLinkTxt}}),(0,n.jsx)(c.Z,{iconKey:"arrowRight",width:24,height:24,className:"mb-[3px]"})]})]}):null};let u=e=>{let{txt:l,playAni:t,hasAni:o,onlyText:a}=e,r=(0,i.useRef)(null),[c,u]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{o&&(s.p8.registerPlugin(d.ScrollTrigger),d.ScrollTrigger.create({trigger:null==r?void 0:r.current,start:"bottom bottom",end:"+=0",onEnter:()=>{u(!0)}}))},[]),a?(0,n.jsx)("span",{ref:r,style:{clipPath:c&&t||!o?"rect(-10% 150% 500% 0%)":"rect(-10% 0% 500% 0%)",transition:"all 0.6s"},children:l}):(0,n.jsx)("span",{ref:r,style:{clipPath:c&&t||!o?"rect(-10% 150% 500% 0%)":"rect(-10% 0% 500% 0%)",transition:"all 0.6s"},dangerouslySetInnerHTML:{__html:l}})}},75981:function(e,l,t){"use strict";t.d(l,{B:function(){return s},O:function(){return a}});var n=t(52676),i=t(75271);let o=(0,i.createContext)(void 0),a=e=>{let{children:l,value:t}=e;return(0,n.jsx)(o.Provider,{value:t,children:l})},s=()=>{let e=(0,i.useContext)(o);if(!e)throw Error("useDealsTemplate must be used within DealsTemplateProvider");return e}},77967:function(e,l,t){"use strict";var n=t(52676);t(75271);var i=t(82187),o=t.n(i),a=t(45625),s=t.n(a),d=t(87306),r=t(38459);l.Z=e=>{var l;let{isOpen:t,onClose:i,title:a,content:c,style:u,className:x="Modal outline-none",overlayClassName:v="Overlay"}=e;return(0,n.jsxs)(s(),{isOpen:t,onRequestClose:i,onAfterClose:i,className:x,overlayClassName:v,htmlOpenClassName:"overflow-hidden",contentLabel:"universal-modal",ariaHideApp:!1,style:{content:{borderRadius:"0px",...window.innerWidth<=768&&{maxHeight:"80vh",bottom:"auto",top:"50%",transform:"translate(-50%, -50%)"},...null==u?void 0:u.content},overlay:null==u?void 0:u.overlay},children:[(0,n.jsx)(d.Z,{className:"absolute right-8 top-8 size-5 cursor-pointer",fill:(null==u?void 0:null===(l=u.content)||void 0===l?void 0:l.color)||"#000",onClick:i}),(0,n.jsxs)("div",{className:o()("flex flex-col p-[50px] l:p-[24px]",a&&"l:pt-[50px]",(null==u?void 0:u.noPadding)&&"!px-0"),children:[a&&(0,n.jsx)(r.Z,{className:"text-center text-[38px] font-[700] leading-[1.1] l:text-[26px]",html:a}),(0,n.jsx)("div",{className:o()("no-scrollbar max-h-[70vh] overflow-y-auto text-[16px] l:max-h-[65vh] l:text-[14px]",a&&"mt-5"),children:c&&("string"==typeof c?(0,n.jsx)(r.Z,{html:c}):Array.isArray(c)?(0,n.jsx)(n.Fragment,{children:c.map((e,l)=>(0,n.jsx)(r.Z,{html:e},l))}):c)})]})]})}},86623:function(e,l,t){"use strict";t.d(l,{u:function(){return r}});var n=t(75271),i=t(34064),o=t(82230),a=t(23663),s=t(85480),d=t(34914);let r=function(){var e;let{onSuccess:l,onError:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{locale:r}=(0,i.useRouter)(),c=d.BR[r||""],{metafields:u}=(0,a.L)(),x=null==u?void 0:null===(e=u.common)||void 0===e?void 0:e.lottery,v=(0,n.useCallback)(async(e,l)=>{let{arg:t}=l,n=await (0,s.Z)({action:"lottery",needRecaptcha:!0,locale:r,url:"/api/multipass/rainbowbridge/lottery/start",method:"POST",body:{shopify_domain:c,email:encodeURI(t.email),genre:t.dealsType,register_source:window.location.href,order_name:t.orderNumber}}).catch(e=>({code:-1,msg:e.message}));return x&&(n.data.msg=x[String(n.data.code)]),n.data},[x,r,c]);return(0,o.Z)("lotteryStart",v,{onSuccess:l,onError:t})}},90202:function(e,l,t){"use strict";t.d(l,{co:function(){return o},ig:function(){return a}});var n=t(33133);let i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};
1return{...e,variants:e.variants.map(l=>({...l,coupons:[(0,n.Z)({variant:l,product:e})]}))}},o=function(){var e;let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{categories:[],products:[]};return{...l,products:null===(e=l.products)||void 0===e?void 0:e.map(i)}},a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!l||"object"!=typeof l||!Object.keys(l).some(e=>{let t=l[e];return t&&(null!=t.price||null!=t.basePrice)}))return e;let t=e=>{let t=null==l?void 0:l[null==e?void 0:e.sku];if(!t||null==t.price&&null==t.basePrice)return e;let n={...e};if(null!=t.price&&null!=t.basePrice&&t.basePrice>t.price){var i;n.price=t.basePrice,n.coupons=[{variant_price4wscode:t.price,...(null==e?void 0:null===(i=e.coupons)||void 0===i?void 0:i[0])||{}}]}else null!=t.price?(n.price=t.price,n.coupons=[]):null!=t.basePrice&&(n.price=t.basePrice,n.coupons=[]);return n},n=e=>{var l;return(null==e?void 0:null===(l=e.variants)||void 0===l?void 0:l.length)?{...e,variants:e.variants.map(t)}:e},i={...e};return Array.isArray(i.products)&&(i.products=i.products.map(n)),i.categories&&"object"==typeof i.categories&&(i.categories=Object.keys(i.categories).reduce((e,l)=>{var t;let o=i.categories[l];return(null==o?void 0:null===(t=o.products)||void 0===t?void 0:t.length)?e[l]={...o,products:o.products.map(n)}:e[l]=o,e},{})),i}},15163:function(e,l,t){"use strict";t.r(l),t.d(l,{default:function(){return e2}});var n=t(52676),i=t(99970),o=t.n(i),a=t(75271),s=t(34064),d=t(86476),r=t(30854),c=t(96e3),u=t(57682),x=t(71897),v=t(12197),p=t(96496),m=t(8239),f=t(90202),h=t(58315),g=t(44999),b=t(77967),w=t(75981),j=t(14435),y=t(38459),N=t(18659),k=e=>{let{data:l,id:t}=e;return l?(0,n.jsx)("div",{id:t,className:"layer relative w-full",children:(0,n.jsxs)("div",{className:"content",children:[(null==l?void 0:l.title)&&(0,n.jsx)(y.Z,{html:null==l?void 0:l.title,className:"mb-[48px] text-[48px] font-bold leading-[1.2] text-[#000] l:mb-[36px] l:text-[24px]"}),(0,n.jsx)(N.Z,{source:"".concat(null==l?void 0:l.img,", ").concat((null==l?void 0:l.mobImg)||(null==l?void 0:l.img)," 769"),className:"aspect-h-[127] aspect-w-[1280] w-full md:aspect-h-[168] md:aspect-w-[320]"})]})}):null},C=t(79335),B=t(82187),F=t.n(B),_=t(10852),T=t(11936),Z=t(85480),S=t(2462),z=t(76438),E=t(38600),I=t(34914),L=t(56807),P=t(85549),q=t.n(P);let M=e=>(I.BR[e||""]||"").replace(".myshopify.com",""),A={content:{maxWidth:"480px",background:"#141416",color:"#F5F5F7",borderRadius:"16px"}},R={content:{maxWidth:"840px",background:"#141416",color:"#F5F5F7",borderRadius:"16px"}},D=e=>{var l;let{data:t}=e,{handleOpenModal:i}=(0,w.B)(),[o,s]=(0,a.useState)(!1),d=t.successList;return(0,n.jsxs)("div",{className:"py-[30px] text-center",children:[(0,n.jsx)(y.Z,{html:(null==t?void 0:t.successTitle)||"YOU'RE IN! LET'S GET STARTED.",className:"inline-block bg-[linear-gradient(110deg,#7DB9FF_0%,#F4F7FF_50%,#7EAFFF_100%)] bg-clip-text text-center text-[46px] font-bold leading-[1.1] tracking-[-1px] text-transparent l:text-[30px]"}),(0,n.jsx)(y.Z,{html:(null==t?void 0:t.successSubtitle)||"Member Benefits Overview",className:"mt-[12px] text-[26px] font-[700] l:mt-[8px] l:text-[14px]"}),(0,n.jsx)("div",{className:"mt-[32px] p-[32px] l:mt-[20px] l:p-0",children:(0,n.jsx)("div",{className:"flex justify-center gap-[56px] l:gap-[12px]",children:d.map((e,l)=>(0,n.jsxs)("div",{className:"flex flex-col items-center l:py-[10px]",children:[(null==e?void 0:e.iconUrl)&&(0,n.jsx)("div",{className:"",children:(0,n.jsx)(N.Z,{className:"w-full",source:e.iconUrl})}),(0,n.jsx)(y.Z,{html:null==e?void 0:e.text,className:"mt-[12px] max-w-[150px] text-[13px] font-[700] leading-[1.4] text-[#B5B7BB] l:mt-[8px] l:text-[10px]"})]},l))})}),(null==t?void 0:t.successTips)&&(0,n.jsx)(y.Z,{html:(null==t?void 0:t.successTips)||"Member Benefits Overview",className:"mx-auto mt-[12px] w-[80%] text-[14px] font-[600] text-[#6A6A6A] l:mt-[8px] l:w-full l:text-[10px]"}),(null==t?void 0:null===(l=t.calendarData)||void 0===l?void 0:l.length)>0&&(0,n.jsx)(T.Z,{variant:"brandBg",onClick:()=>{(0,L.fP)({list:null==t?void 0:t.calendarData,fileName:null==t?void 0:t.calendarFileName})?s(!0):i({content:(0,n.jsx)(W,{text:(null==t?void 0:t.calendarError)||"Calendar download failed. Please try again."}),style:A})},className:"mx-auto mt-[40px] md:mt-[20px]",children:(0,n.jsx)("span",{children:o?(null==t?void 0:t.calendarDoneText)||"Calendar Added â":(null==t?void 0:t.calendarButton)||"Add to Calendar"})})]})},W=e=>{let{text:l}=e;return(0,n.jsxs)("div",{className:"flex flex-col items-center gap-[16px] py-[8px] text-center",children:[(0,n.jsx)(C.Z,{className:"size-[58px]",fill:"#F04438"}),(0,n.jsx)(y.Z,{html:l,className:"text-[16px] font-[600] leading-[1.5] l:text-[14px]"})]})};var O=e=>{var l;let{data:t={},metafields:i,pageHandle:o}=e,{locale:d}=(0,s.useRouter)(),r=null===m.uv||void 0===m.uv?void 0:m.uv[d],{setHtmlRelativeLink:c}=(0,_.D)(),{copywriting:u={}
1,common:x={},registrationsSettings:v,pageCommon:f}=i,[h,g]=(0,a.useState)(""),[b,j]=(0,a.useState)((null==t?void 0:t.hasPolicy)!==!1),[N,k]=(0,a.useState)(!1),[C,B]=(0,a.useState)(!0),[L,P]=(0,a.useState)((null==t?void 0:t.hasActivities)!==!1),{recaptchaReady:O}=(0,p.l8)(),{handleOpenModal:H}=(0,w.B)();(0,a.useEffect)(()=>{O&&B(!1)},[O]);let U=e=>{let{type:l,error:t}=e;H({content:(0,n.jsx)(W,{text:t||(null==u?void 0:u[l])||"unknown error"}),style:A})},V=()=>{H({content:(0,n.jsx)(D,{data:t}),style:R}),g(""),j((null==t?void 0:t.hasPolicy)!==!1),P((null==t?void 0:t.hasActivities)!==!1)},Y=(0,a.useMemo)(()=>M(d),[d]),K=(0,a.useMemo)(()=>{var e;return(I.We[d||""]||d||(null==t?void 0:null===(e=t.globalCountry)||void 0===e?void 0:e.code)).toUpperCase()},[d,null==t?void 0:null===(l=t.globalCountry)||void 0===l?void 0:l.code]),$=async()=>{k(!0);let{register_source:e}=(0,S.m1)(),l=await (0,Z.Z)({locale:d,url:"/api/multipass/passport-api/auto-signup",method:"POST",action:"login",headers:{"node-validate":"none"},body:{email:h,app:Y,country_code:K,register_source:e,data:{redirect_url:"".concat(window.location.origin).concat(window.location.pathname,"?ref=").concat((null==t?void 0:t.signupRef)||"edm_member_activation")}},needRecaptcha:!0}).catch(e=>{k(!1)});if(L||k(!1),l&&l.status>100&&l.status<300){var n,i;(0,m.RC)({user_hashed_email:h?(0,E.JQ)(h.toLowerCase()):""}),(0,m.RC)({event:"ga4Event",event_name:"user_center",event_parameters:{page_group:"Activity Page_"+o,position:"register",button_name:(null==t?void 0:t.title)||(null==t?void 0:t.gtmTitle)||(null==t?void 0:t.button)||"",subscribe_box:1,action:"success"}}),(null==l?void 0:null===(i=l.data)||void 0===i?void 0:null===(n=i.data)||void 0===n?void 0:n.canAutoSignup)&&fetch("/api/multipass/passport/login?noRedirect=true&app=".concat(Y)).then(e=>{(null==f?void 0:f.preheat)&&!L&&window.location.reload()})}else k(!1)},G=async()=>{let{register_source:e}=(0,S.m1)(),l=await (0,Z.Z)({locale:d,url:"/api/multipass/rainbowbridge/activities",action:"activity",needRecaptcha:!0,method:"POST",body:{email:h,register_source:e,shopify_domain:I.BR["".concat(d)],single_brand_subscribe:!0,genre:(null==t?void 0:t.dealsType)||(null==x?void 0:x.dealsType),promise_subscribe:!0}}).finally(()=>k(!1));if(v||k(!1),!l.errors&&l.status>100&&l.status<300){var n,i,o;window.gtag&&r&&(null==f?void 0:f.googleSignUpLabel)&>ag("event",(null==f?void 0:f.googleSignUpLabel)||"conversion",{send_to:"".concat(r,"/").concat(null==f?void 0:f.googleSignUp)}),(null==f?void 0:f.fbqSignUpTrack)&&(null===(n=window)||void 0===n?void 0:n.fbq)&&fbq("trackCustom",null==f?void 0:f.fbqSignUpTrack),(null===(i=window)||void 0===i?void 0:i.rdt)&&(null==f?void 0:f.rdtSignUpTrack)&&rdt("track",null==f?void 0:f.rdtSignUpTrack),(null===(o=window)||void 0===o?void 0:o.ttq)&&(null==f?void 0:f.ttqSignUpTrack)&&window.ttq.track("".concat(f.ttqSignUpTrack)),(0,m.RC)({subscribe_hashed_email:h?(0,E.JQ)(h.toLowerCase()):""}),(0,m.RC)({event:"ga4Event",event_name:"subscribe",event_parameters:{page_group:null==t?void 0:t.dealsType,position:(null==t?void 0:t.title)||(null==t?void 0:t.gtmTitle)||""}}),V()}else U({error:(null==t?void 0:t.error)||(null==u?void 0:u.error)||(null==l?void 0:l.error)})},X=(null==t?void 0:t.showPolicy)||(null==t?void 0:t.showPolicy)===void 0||(null==u?void 0:u.showPol
1icy);return(0,n.jsxs)("section",{className:"relative",children:[(0,n.jsxs)("div",{className:"flex w-full flex-col md:items-center",children:[(null==t?void 0:t.title)&&(0,n.jsx)(y.Z,{className:"mb-[24px] text-[64px] font-[700] leading-[1.2] text-[#fff] md:text-[30px]",html:null==t?void 0:t.title}),(0,n.jsxs)("div",{className:"flex flex-row gap-0 md:w-full",children:[(0,n.jsx)("input",{className:"h-[50px] w-full border border-[#B6B6BA] bg-transparent px-[20px] text-left text-[16px] font-[600] leading-[50px] text-[#fff] outline-none l:px-[12px] l:text-[12px] xl:h-[40px] xl:leading-[40px]",placeholder:(null==t?void 0:t.inputPlaceholder)||(null==u?void 0:u.inputPlaceholder),value:h,onChange:e=>{var l;return g(null===(l=e.target.value)||void 0===l?void 0:l.trim())}}),(0,n.jsx)(T.Z,{loading:N,disabled:C,className:"w-[70%] min-w-0",onClick:()=>{var e,l;let n=null===m.uv||void 0===m.uv?void 0:m.uv[d];return((null===(e=window)||void 0===e?void 0:e.gtag)&&n&&(null==f?void 0:f.googleButtonClick)&&window.gtag("event",null==f?void 0:f.googleButtonClickLabel,{send_to:"".concat(n,"/").concat(f.googleButtonClick)}),(null===(l=window)||void 0===l?void 0:l.ttq)&&(null==f?void 0:f.ttqButtonClickTrack)&&window.ttq.track(null==f?void 0:f.ttqButtonClickTrack),h)?z.b.email.test(h)?X&&!b?U({type:"agreePolicy"}):(null==t?void 0:t.subscribe_text)&&!L?U({error:(null==t?void 0:t.errorActivities)||(null==u?void 0:u.agreeActivities)||"Please agree to receive promotional emails."}):void(G(),v&&$()):U({type:"errEmail"}):U({type:"fillEmail"})},children:(0,n.jsx)("span",{children:null==t?void 0:t.button})})]})]}
1),((null==t?void 0:t.showPolicy)||(null==u?void 0:u.showPolicy))&&(0,n.jsxs)("div",{className:F()(q().checkboxWrap,"subscribeCheckboxWrap leading-[1.1]"),children:[(0,n.jsxs)("button",{type:"button",className:F()(q().checkbox,"checkbox"),onClick:()=>j(!b),"aria-label":b?"Uncheck policy agreement":"Check policy agreement","aria-pressed":b,children:[(0,n.jsx)("input",{type:"checkbox",readOnly:!0,checked:b,tabIndex:"-1","aria-hidden":"true"}),(0,n.jsx)("span",{"aria-hidden":"true"})]}),(0,n.jsx)("span",{className:q().policy,dangerouslySetInnerHTML:{__html:c({html:(null==t?void 0:t.policy)||(null==u?void 0:u.policyText)})}})]}),(null==t?void 0:t.subscribe_text)&&(0,n.jsxs)("div",{className:F()(q().checkboxWrap,"subscribeCheckboxWrap !mt-[8px]"),children:[(0,n.jsxs)("button",{type:"button",className:F()(q().checkbox,"checkbox"),onClick:()=>P(!L),"aria-label":L?"Uncheck subscribe to activities":"Check subscribe to activities","aria-pressed":L,children:[(0,n.jsx)("input",{type:"checkbox",required:!0,readOnly:!0,checked:L,tabIndex:"-1","aria-hidden":"true"}),(0,n.jsx)("span",{"aria-hidden":"true"})]}),(0,n.jsx)("span",{className:q().policy,dangerouslySetInnerHTML:{__html:c({html:null==t?void 0:t.subscribe_text})}})]})]})},H=e=>{var l,t,i,o,a,s,r,c,u,x,v,p,m,f,h,g,b,w,k,C,B,F,_,T,Z,S,z;let{data:E,metafields:I,pageHandle:L}=e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(d.W2,{children:[(0,n.jsx)(j.Z,{data:E}),(null==E?void 0:E.step1)&&(0,n.jsx)("div",{id:"early-bird-step1",className:"flex justify-center p-[70px] py-0 l:p-[24px] md-l:min-h-[400px]",style:{boxShadow:"1px 1px 50px 0 #ADC3FA inset, 0 16px 4px 0 rgba(0, 0, 0, 0.05)"},children:(0,n.jsxs)("div",{className:"relative flex w-full items-center justify-between gap-0 md:flex-col",children:[(0,n.jsxs)("div",{className:"w-[40%] l:w-full",children:[(0,n.jsxs)("div",{className:"l:flex",children:[(0,n.jsxs)("div",{className:"flex flex-col justify-center leading-[1.1] l:flex-1",children:[(null==E?void 0:null===(l=E.step1)||void 0===l?void 0:l.step)&&(0,n.jsx)(y.Z,{className:"text-[16px] text-[#00BEFA] l:text-[12px]",html:null==E?void 0:null===(t=E.step1)||void 0===t?void 0:t.step}),(null==E?void 0:null===(i=E.step1)||void 0===i?void 0:i.title)&&(0,n.jsx)(y.Z,{className:"mt-[10px] text-[24px] font-[700] text-[#fff] l:mt-[4px] l:text-[14px]",html:null==E?void 0:null===(o=E.step1)||void 0===o?void 0:o.title}),(null==E?void 0:null===(a=E.step1)||void 0===a?void 0:a.desc)&&(0,n.jsx)(y.Z,{className:"mt-[8px] text-[16px] font-[700] tracking-[-0.36px] text-[#86868c] l:text-[12px]",html:null==E?void 0:null===(s=E.step1)||void 0===s?void 0:s.desc})]}),(0,n.jsx)("div",{className:"hidden w-[40%] l:block",children:(0,n.jsx)(N.Z,{source:"".concat(null==E?void 0:null===(r=E.step1)||void 0===r?void 0:r.image,", ").concat((null==E?void 0:null===(c=E.step1)||void 0===c?void 0:c.imageMob)||(null==E?void 0:null===(u=E.step1)||void 0===u?void 0:u.image)," 768"),className:"aspect-[913/794] w-full"})})]}),(null==E?void 0:null===(x=E.step1)||void 0===x?void 0:x.subscribeSign)&&(0,n.jsx)("div",{className:"relative mb-[8px] mt-[16px] inline-block w-auto md:mt-0 md-xl:mt-[30px]",children:(0,n.jsx)(O,{metafields:I,data:null==E?void 0:null===(v=E.step1)||void 0===v?void 0:v.subscribeSign,pageHandle:L})})]}),(0,n.jsx)("div",{className:"flex w-[50%] items-center justify-center pb-[50px] pt-[20px] l:hidden",children:(0,n.jsx)("div",{className:"w-[60%]",children:(0,n.jsx)(N.Z,{source:"".concat(null==E?void 0:null===(p=E.step1)||void 0===p?void 0:p.image,", ").concat((null==E?void 0:null===(m=E.step1)||void 0===m?void 0:m.imageMob)||(null==E?void 0:null===(f=E.step1)||void 0===f?void 0:f.image)," 768"),className:"aspect-[796/607] w-full"})})})]})}),(null==E?void 0:E.step2)&&(0,n.jsx)("div",{id:"early-bird-step2",className:"mt-[10px] p-[70px] py-[40px] l:p-[24px]",style:{boxShadow:"1px 1px 50px 0 #ADC3FA inset, 0 16px 4px 0 rgba(0, 0, 0, 0.05)"},children:(0,n.jsxs)("div",{className:"relative flex w-full items-center justify-between gap-0 l:flex-col",children:[(0,n.jsxs)("div",{className:"flex w-[40%] flex-col justify-center leading-[1.1] l:w-full",children:[(null==E?void 0:null===(h=E.step2)||void 0===h?void 0:h.step)&&(0,n.jsx)(y.Z,{className:"text-[16px] text-[#00BEFA] l:text-[12px]",html:null==E?void 0:null===(g=E.step2)||void 0===g?void 0:g.step}),(null==E?void 0:null===(b=E.step2)||void 0===b?void 0:b.title)&&(0,n.jsx)(y.Z,{className:"mt-[10px] text-[24px] font-[700] text-[#fff] l:mt-[4px] l:text-[14px]",html:null==E?void 0:null===(w=E.step2)||void 0===w?void 0:w.title}),(null==E?void 0:null===(k=E.step2)||void 0===k?void 0:k.desc)&&(0,n.jsx)(y.Z,{className:"mt-[8px] text-[16px] font-[700] tracking-[-0.36px] text-[#86868c] l:hidden l:text-[12px]",html:null==E?void 0:null===(C=E.step2)||void 0===C?void 0:C.desc}),(null==E?void 0:null===(F=E.step2)||void 0===F?void 0:null===(B=F.iconList)||void 0===B?void 0:B.length)>0&&(0,n.jsx)("div",{className:"mt-[26px] flex items-start justify-start gap-[24px] l:mt-[10px] l:w-full l:gap-[10px]",children:null==E?void 0:null===(T=E.step2)||void 0===T?void 0:null===(_=T.iconList)||void 0===_?void 0:_.map((e,l)=>(0,n.jsxs)("div",{className:"l:flex-1",children:[(0,n.jsx)(N.Z,{className:"mx-auto w-[62px] l:w-[60px]",source:null==e?void 0:e.icon}),(0,n.jsx)(y.Z,{className:"mt-[10px] text-center text-[12px] font-[700] text-[#B6B6BA] l:text-[10px]",html:null==e?void 0:e.text})]},l))})]}),(0,n.jsx)("div",{className:"mt-[20px] flex w-[50%] items-center justify-center l:w-full",children:(0,n.jsx)("div",{className:"w-[70%] l:mx-auto l:w-[90%]",children:(0,n.jsx)(N.Z,{source:"".concat(null==E?void 0:null===(Z=E.step2)||void 0===Z?void 0:Z.image,", ").concat((null==E?void 0:null===(S=E.step2)||void 0===S?void 0:S.imageMob)||(null==E?void 0:null===(z=E.step2)||void 0===z?void 0:z.image)," 1024"),className:"aspect-[964/562] w-full l:aspect-[304/122]"})})})]})})]})})},U=t(94373),V=t(86623),Y=t(77339),K=t.n(Y);let $={content:{maxWidth:"480px",background:"#141416",color:"#F5F5F7",borderRadius:"16px"}},G=e=>{let{text:l}=e;return(0,n.jsxs)("div",{className:"flex flex-col items-center gap-[16px] py-[8px] text-center",children:[(0,n.jsx)(C.Z,{className:"size-[58px]",fill:"#F04438"}),(0,n.jsx)(y.Z,{html:l,className:"text-[16px] font-[600] leading-[1.5] l:text-[14px]"})]})};var X=e=>{let{data:l={},metafields:t,pageHandle:i}=e,{locale:o}=(0,s.useRouter)(),{copywriting:d={},common:r={},pageCommon:c}=t||{},[u,x]=(0,a.useState)(""),[v,f]=(0,a.useState)((null==l?void 0:l.hasPolicy)!==!1),[h,g]=(0,a.useState)(!0),[b,j]=(0,a.useState)([]),[y,N]=(0,a.useState)((null==l?void 0:l.hasActivities)!==!1),{recaptchaReady:k}=(0,p.l8)(),{handleOpenModal:C}=(0,w.B)();(0,a.useEffect)(()=>{k&&g(!1)},[k]);let B=e=>{var t;let{type:i,error:o}=e;C({content:(0,n.jsx)(G,{text:o||(null==d?void 0:d[i])||(null==l?void 0:null===(t=l.errors)||void 0===t?void 0:t.common)}),style:$})},_=()=>{C({content:(0,n.jsx)(D,{data:{...l,...null==l?void 0:l.prizeInfo}}),style:R})}
1,L=(null==l?void 0:l.showPolicy)||(null==l?void 0:l.showPolicy)===void 0||(null==d?void 0:d.showPolicy),P=(0,a.useCallback)(async e=>{let{register_source:t}=(0,S.m1)();try{let n=await (0,Z.Z)({locale:o,url:"/api/multipass/rainbowbridge/activities",action:"activity",needRecaptcha:!0,method:"POST",body:{email:null==e?void 0:e.toLowerCase(),register_source:t,shopify_domain:I.BR["".concat(o)],single_brand_subscribe:!0,genre:(null==l?void 0:l.dealsType)||(null==r?void 0:r.dealsType)}});!n.errors&&n.status>100&&n.status<300&&((0,m.RC)({subscribe_hashed_email:e?(0,E.JQ)(e.toLowerCase()):""}),(0,m.RC)({event:"ga4Event",event_name:"subscribe",event_parameters:{page_group:(null==l?void 0:l.dealsType)||"",position:(null==l?void 0:l.title)||(null==l?void 0:l.gtmTitle)||""}}))}catch(e){console.error("subscribe activity failed:",e)}},[o,null==l?void 0:l.dealsType,null==r?void 0:r.dealsType]),q=(0,V.u)({async onSuccess(e){let t=null==e?void 0:e.code;if(200===t||1006===t)j(e=>e.includes(u)?e:[...e,u]),_();else{var n,o;let i=String(t);B({error:(null==l?void 0:null===(n=l.errors)||void 0===n?void 0:n[i])||(null==e?void 0:e.msg)||(null==e?void 0:null===(o=e.data)||void 0===o?void 0:o.message)})}(0,m.RC)({event:"ga4Event",event_name:"lp_button",event_parameters:{page_group:"Activity Page_".concat(i),position:"",button_name:(null==l?void 0:l.button)||"spin to win"}})},async onError(){var e;B({error:(null==l?void 0:null===(e=l.errors)||void 0===e?void 0:e.common)||"internal server error"})}}),M=(0,a.useCallback)(()=>{if(b.includes(u)){_();return}q.isMutating||(y&&P(u),q.trigger({email:u,dealsType:null==l?void 0:l.dealsType}).catch())},[u,b,q,null==l?void 0:l.dealsType,P,y]);return(0,a.useMemo)(()=>null==l?void 0:l.dealsType,[null==l?void 0:l.dealsType]),(0,n.jsxs)("section",{className:"relative",children:[(0,n.jsx)("div",{className:"flex w-full flex-col md:items-center",children:(0,n.jsxs)("div",{className:"flex flex-row gap-0 md:w-full",children:[(0,n.jsx)("input",{className:"h-[50px] w-full border border-[#B6B6BA] bg-transparent px-[20px] text-left text-[16px] font-[600] leading-[50px] text-[#fff] outline-none l:px-[12px] l:text-[12px] xl:h-[40px] xl:leading-[40px]",placeholder:(null==l?void 0:l.inputPlaceholder)||(null==d?void 0:d.inputPlaceholder),value:u,onChange:e=>{var l;return x(null===(l=e.target.value)||void 0===l?void 0:l.trim())}}),(0,n.jsx)(T.Z,{loading:q.isMutating,disabled:h,className:"w-[70%] min-w-0",onClick:()=>{var e,t;let n=null===m.uv||void 0===m.uv?void 0:m.uv[o];return((null===(e=window)||void 0===e?void 0:e.gtag)&&n&&(null==c?void 0:c.googleButtonClick)&&window.gtag("event",null==c?void 0:c.googleButtonClickLabel,{send_to:"".concat(n,"/").concat(c.googleButtonClick)}),(null===(t=window)||void 0===t?void 0:t.ttq)&&(null==c?void 0:c.ttqButtonClickTrack)&&window.ttq.track(null==c?void 0:c.ttqButtonClickTrack),u)?z.b.email.test(u)?L&&!v?B({error:(null==l?void 0:l.agreePolicy)||(null==d?void 0:d.agreePolicy)||"Please agree to receive promotional emails."}):(null==l?void 0:l.subscribe_text)&&!y?B({error:(null==l?void 0:l.errorActivities)||(null==d?void 0:d.agreeActivities)||"Please agree to receive promotional emails."}):void M():B({type:"errEmail"}):B({type:"fillEmail"})},children:(0,n.jsx)("span",{children:null==l?void 0:l.button})})]})}),((null==l?void 0:l.showPolicy)||(null==d?void 0:d.showPolicy))&&(0,n.jsxs)("div",{className:F()(K().checkboxWrap,"subscribeCheckboxWrap leading-[1.1]"),children:[(0,n.jsxs)("button",{type:"button",className:F()(K().checkbox,"checkbox"),onClick:()=>f(!v),"aria-label":v?"Uncheck policy agreement":"Check policy agreement","aria-pressed":v,children:[(0,n.jsx)("input",{type:"checkbox",readOnly:!0,checked:v,tabIndex:"-1","aria-hidden":"true"}),(0,n.jsx)("span",{"aria-hidden":"true"})]}),(0,n.jsx)("span",{className:K().policy,dangerouslySetInnerHTML:{__html:(null==l?void 0:l.policy)||(null==d?void 0:d.policyText)}})]}),(null==l?void 0:l.subscribe_text)&&(0,n.jsxs)("div",{className:F()(K().checkboxWrap,"subscribeCheckboxWrap !mt-[8px]"),children:[(0,n.jsxs)("button",{type:"button",className:F()(K().checkbox,"checkbox"),onClick:()=>N(!y),"aria-label":y?"Uncheck subscribe to activities":"Check subscribe to activities","aria-pressed":y,children:[(0,n.jsx)("input",{type:"checkbox",required:!0,readOnly:!0,checked:y,tabIndex:"-1","aria-hidden":"true"}),(0,n.jsx)("span",{"aria-hidden":"true"})]}),(0,n.jsx)("span",{className:K().policy,dangerouslySetInnerHTML:{__html:null==l?void 0:l.subscribe_text}})]})]})},J=e=>{var l,t,i,o,a,s,r,c,u,x,v,p,m,f,h,g,b,k,C,B,F,_,Z;let{data:S,metafields:z,pageHandle:E}=e,{handleOpenProductPop:I}=(0,w.B)(),L=(null==S?void 0:null===(l=S.step1)||void 0===l?void 0:l.button)||[],P=L.map(e=>
1null==e?void 0:e.handle).filter(Boolean).join(","),{data:q}=(0,U.Z)({handles:P||void 0}),M=(null==q?void 0:q.products)||[],A=e=>{let l=(null==e?void 0:e.handle)?M.find(l=>(null==l?void 0:l.handle)===e.handle):void 0;if(null==l?void 0:l.handle){I({...l,sku:null==e?void 0:e.sku});return}(null==e?void 0:e.link)&&(/^https?:\/\//.test(e.link)?window.open(e.link,"_blank","noopener,noreferrer"):window.location.href=e.link)};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(d.W2,{children:[(0,n.jsx)(j.Z,{data:S}),(null==S?void 0:S.step1)&&(0,n.jsx)("div",{id:"early-bird-lottery-step1",className:"flex justify-center p-[70px] py-0 l:p-[24px] md-l:min-h-[400px]",style:{boxShadow:"1px 1px 50px 0 #ADC3FA inset, 0 16px 4px 0 rgba(0, 0, 0, 0.05)"},children:(0,n.jsxs)("div",{className:"relative flex w-full items-center justify-between gap-0 md:flex-col",children:[(0,n.jsx)("div",{className:"w-[40%] l:w-full",children:(0,n.jsxs)("div",{className:"flex flex-col justify-center leading-[1.1] l:flex-1",children:[(null==S?void 0:null===(t=S.step1)||void 0===t?void 0:t.step)&&(0,n.jsx)(y.Z,{className:"text-[16px] text-[#00BEFA] l:text-[12px]",html:null==S?void 0:null===(i=S.step1)||void 0===i?void 0:i.step}),(null==S?void 0:null===(o=S.step1)||void 0===o?void 0:o.title)&&(0,n.jsx)(y.Z,{className:"mt-[10px] text-[24px] font-[700] text-[#fff] l:mt-[4px] l:text-[14px]",html:null==S?void 0:null===(a=S.step1)||void 0===a?void 0:a.title}),(null==S?void 0:null===(s=S.step1)||void 0===s?void 0:s.desc)&&(0,n.jsx)(y.Z,{className:"mt-[8px] text-[16px] font-[700] tracking-[-0.36px] text-[#86868c] l:text-[12px]",html:null==S?void 0:null===(r=S.step1)||void 0===r?void 0:r.desc}),(null==S?void 0:null===(c=S.step1)||void 0===c?void 0:c.button)&&(0,n.jsx)("div",{className:"mt-[20px]",children:L.map((e,l)=>(0,n.jsx)(T.Z,{variant:null==e?void 0:e.variant,onClick:()=>A(e),children:(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:null==e?void 0:e.text}})},l))})]})}),(0,n.jsx)("div",{className:"flex w-[50%] items-center justify-center py-[50px] l:mt-[16px] l:w-full l:py-0",children:(0,n.jsx)("div",{className:"w-[70%] l:w-full",children:(0,n.jsx)(N.Z,{source:"".concat(null==S?void 0:null===(u=S.step1)||void 0===u?void 0:u.image,", ").concat((null==S?void 0:null===(x=S.step1)||void 0===x?void 0:x.imageMob)||(null==S?void 0:null===(v=S.step1)||void 0===v?void 0:v.image)," 768"),className:"aspect-[1919/1119] w-full"})})})]})}),(null==S?void 0:S.step2)&&(0,n.jsx)("div",{id:"early-bird-lottery-step2",className:"mt-[10px] p-[70px] py-[40px] l:p-[24px]",style:{boxShadow:"1px 1px 50px 0 #ADC3FA inset, 0 16px 4px 0 rgba(0, 0, 0, 0.05)"},children:(0,n.jsxs)("div",{className:"relative flex w-full items-center justify-between gap-0 l:flex-col",children:[(0,n.jsxs)("div",{className:"flex w-[40%] flex-col justify-center leading-[1.1] l:w-full",children:[(0,n.jsxs)("div",{className:"items-center l:flex l:gap-[5px]",children:[(0,n.jsxs)("div",{className:"l:flex-1",children:[(null==S?void 0:null===(p=S.step2)||void 0===p?void 0:p.step)&&(0,n.jsx)(y.Z,{className:"text-[16px] text-[#00BEFA] l:text-[12px]",html:null==S?void 0:null===(m=S.step2)||void 0===m?void 0:m.step}),(null==S?void 0:null===(f=S.step2)||void 0===f?void 0:f.title)&&(0,n.jsx)(y.Z,{className:"mt-[10px] text-[24px] font-[700] text-[#fff] l:mt-[4px] l:text-[14px]",html:null==S?void 0:null===(h=S.step2)||void 0===h?void 0:h.title}),(null==S?void 0:null===(g=S.step2)||void 0===g?void 0:g.desc)&&(0,n.jsx)(y.Z,{className:"mt-[8px] text-[16px] font-[700] tracking-[-0.36px] text-[#86868c] l:hidden l:text-[12px]",html:null==S?void 0:null===(b=S.step2)||void 0===b?void 0:b.desc})]}),(0,n.jsx)("div",{className:"hidden w-[50%] l:block",children:(0,n.jsx)(N.Z,{source:null==S?void 0:null===(k=S.step2)||void 0===k?void 0:k.imageMob,className:"aspect-[232/262] w-full"})})]}),(null==S?void 0:null===(C=S.step2)||void 0===C?void 0:C.lottery)&&(0,n.jsx)("div",{className:"relative mb-[8px] mt-[16px] inline-block w-auto md-xl:mt-[30px]",children:(0,n.jsx)(X,{metafields:z,data:null==S?void 0:null===(B=S.step2)||void 0===B?void 0:B.lottery,pageHandle:E})})]}),(0,n.jsx)("div",{className:"mb-[20px] flex w-[50%] items-center justify-center l:hidden l:w-full",children:(0,n.jsx)("div",{className:"w-[50%] l:mx-auto l:w-[90%]",children:(0,n.jsx)(N.Z,{source:"".concat(null==S?void 0:null===(F=S.step2)||void 0===F?void 0:F.image,", ").concat((null==S?void 0:null===(_=S.step2)||void 0===_?void 0:_.imageMob)||(null==S?void 0:null===(Z=S.step2)||void 0===Z?void 0:Z.image)," 1024"),className:"aspect-[513/577] w-full l:aspect-[304/122]"})})})]})})]})})},Q=t(88582);let ee=e=>({text:"string"==typeof e?e:null==e?void 0:e.text,image:"string"==typeof e?null:null==e?void 0:e.image,desc:"string"==typeof e?null:null==e?void 0:e.desc});var el=e=>{let{columns:l=[],rows:t=[]}=e;if(!t.length)return null;let i=l.slice(1).map(ee);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"w-full overflow-x-auto rounded-[16px] bg-[#1C1C1E] px-[20px] l:hidden",children:(0,n.jsxs)("table",{className:"w-full border-collapse text-left",children:[l.length>0&&(0,n.jsx)("thead",{children:(0,n.jsx)("tr",{children:l.map((e,l)=>{let{text:t,image:i,desc:o}=ee(e);return(0,n.jsxs)("th",{className:"border-b border-[#3a3a3e] px-[12px] py-[10px] text-center align-bottom text-[12px] font-[600] text-[#86868C] first:pl-0",children:[i&&(0,n.jsx)(N.Z,{source:i,className:"mx-auto mb-[8px] h-[56px] w-[88px]",imgClassName:"size-full object-contain"}),t&&(0,n.jsx)("span",{className:"block whitespace-nowrap",dangerouslySetInnerHTML:{__html:t}}),o&&(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:o},className:"mt-[4px] block whitespace-normal text-[11px] font-[400] text-[#fff]"})]},l)})})}),(0,n.jsx)("tbody",{children:t.map((e,l)=>{var t;return(0,n.jsxs)("tr",{className:"border-b border-[#2a2a2e] last:border-b-0",children:[(0,n.jsxs)("td",{className:"w-[25%] p-[12px] align-top text-[13px] font-[600] text-[#F5F5F7] first:pl-0",children:[(0,n.jsx)(y.Z,{html:e.label}),e.sublabel&&(0,n.jsx)("span",{className:"mt-[2px] block text-[11px] font-[400] text-[#86868C]",children:(0,n.jsx)(y.Z,{html:e.sublabel})})]}),null===(t=e.values)||void 0===t?void 0:t.map((e,l)=>(0,n.jsx)("td",{className:"whitespace-nowrap p-[12px] text-center align-top text-[13px] font-[400] text-[#B6B6BA] ".concat(0===l?"bg-[#1C1C1E]":""),children:(0,n.jsx)(y.Z,{html:e})},l))]},l)})})]})}),(0,n.jsxs)("div",{className:"hidden rounded-[16px] bg-[#1D1D1F] px-[16px] py-[10px] l:block",children:[i.length>0&&(0,n.jsx)("div",{className:"grid gap-[12px] pb-[12px]",style:{gridTemplateColumns:"repeat(".concat(i.length,", minmax(0, 1fr))")},children:i.map((e,l)=>(0,n.jsxs)("div",{className:"text-center",children:[e.image&&(0,n.jsx)(N.Z,{source:e.image,className:"mx-auto mb-[8px] h-[56px] w-[88px]",imgClassName:"size-full object-contain"}),e.text&&(0,n.jsx)("span",{className:"block text-[12px] font-[600] leading-[1.3] text-[#F5F5F7]",dangerouslySetInnerHTML:{__html:e.text}}),e.desc&&(0,n.jsx)("span",{className:"mt-[2px] block text-[11px] font-[400] leading-[1.3] text-[#8C8C91]",dangerouslySetInnerHTML:{__html:e.desc}})]},l))}),t.map((e,l)=>{var t,i;return(0,n.jsxs)("div",{className:"border-t border-[#2a2a2e] py-[12px] first:border-t-0",children:[(0,n.jsx)(y.Z,{className:"text-[12px] font-[600] leading-[1.4] text-[#86868C]",html:e.label}),e.sublabel&&(0,n.jsx)(y.Z,{className:"mt-[2px] text-[11px] font-[400] leading-[1.4] text-[#86868C]",html:e.sublabel}),(0,n.jsx)("div",{className:"mt-[6px] grid gap-[12px]",style:{gridTemplateColumns:"repeat(".concat((null===(t=e.values)||void 0===t?void 0:t.length)||1,", minmax(0, 1fr))")},children:null===(i=e.values)||void 0===i?void 0:i.map((e,l)=>(0,n.jsx)(y.Z,{className:"text-[13px] font-[500] leading-[1.4] text-[#F5F5F7]",html:e},l))})]},l)})]})]})};let et={content:{maxWidth:"880px",background:"#141416",color:"#F5F5F7",fill:"#fff",borderRadius:"16px"}};var en=e=>{var l;let{data:t,pageCommon:i}=e,{locale:o}=(0,s.useRouter)(),{handleOpenModal:u,pageHandle:x}=(0,w.B)(),[v,p]=(0,a.useState)({visible:!1,youtubeId:"",videoUrl:""}),{ref:f,inView:h}=(0,Q.YD)({threshold:0}),g=(0,a.useRef)(null),b=(0,a.useRef)(null),j=(null==t?void 0:t.media)||{},k=j.poster||j.image,C=j.posterMob||j.imageMob||k,B=j.image||j.poster,_=j.imageUnder1440||B,T=j.imageUnder1024||j.imageMob,Z=j.imageUnder768||T,S=j.imageMob||j.posterMob||B;(0,a.useEffect)(()=>
1{h&&[g.current,b.current].forEach(e=>{var l;e&&(e.currentTime=0,null===(l=e.play)||void 0===l||l.call(e))})},[h]);let z=e=>{var l,t,a,s;let d=null===m.uv||void 0===m.uv?void 0:m.uv[o];(null===(l=window)||void 0===l?void 0:l.gtag)&&d&&(null==i?void 0:i.googleButtonClick)&&window.gtag("event",null==i?void 0:i.googleButtonClickLabel,{send_to:"".concat(d,"/").concat(i.googleButtonClick)}),(null===(t=window)||void 0===t?void 0:t.ttq)&&(null==i?void 0:i.ttqButtonClickTrack)&&window.ttq.track(null==i?void 0:i.ttqButtonClickTrack),e&&u({content:(0,n.jsxs)("div",{className:"w-full",children:[(null==e?void 0:e.title)&&(0,n.jsx)(y.Z,{html:e.title,className:"mb-[24px] text-center text-[38px] font-[700] leading-[1.1] text-[#fff] l:text-[16px]"}),(0,n.jsx)("div",{className:"hidden rounded-[16px] l:block",children:(0,n.jsx)(N.Z,{source:null==e?void 0:e.imageMob,className:"w-full"})}),(0,n.jsxs)("div",{className:"l:hidden",children:[(null==e?void 0:e.table)&&(0,n.jsx)(el,{columns:null===(a=e.table)||void 0===a?void 0:a.columns,rows:null===(s=e.table)||void 0===s?void 0:s.rows}),(null==e?void 0:e.note)&&(0,n.jsx)(y.Z,{className:"mx-auto mt-[20px] max-w-[500px] text-center text-[12px] font-[700] leading-[1.2] text-[#4A4C56] l:px-[40px]",html:null==e?void 0:e.note})]})]}),style:et})};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("section",{ref:f,className:"relative aspect-[390/660] w-full overflow-hidden bg-[#000] tablet:aspect-[768/660] laptop:aspect-[1024/520] desktop:aspect-[1440/700] lg-desktop:aspect-[1920/930]","aria-label":(null==t?void 0:t.title)||"Hero Banner",children:[(0,n.jsx)("div",{className:"absolute inset-0 size-full l:hidden",children:j.video?(0,n.jsx)("video",{ref:g,src:j.video,poster:k,className:"size-full object-cover",autoPlay:!0,muted:!0,playsInline:!0,preload:"auto"}):B&&(0,n.jsx)(N.Z,{source:"".concat(B,", ").concat(_," 1440, ").concat(T," 1024"),customDeviceSizes:[1024,1440,1919],className:"size-full",imgClassName:"size-full object-cover",loading:"eager"})}),(0,n.jsx)("div",{className:"absolute inset-0 hidden size-full l:block",children:j.videoMob?(0,n.jsx)("video",{ref:b,src:j.videoMob,poster:C,className:"size-full object-cover",autoPlay:!0,muted:!0,playsInline:!0,preload:"auto"}):S&&(0,n.jsx)(N.Z,{source:"".concat(S,", ").concat(Z," 768"),customDeviceSizes:[767,768],className:"size-full",imgClassName:"size-full object-cover",loading:"eager"})}),(0,n.jsx)(d.W2,{className:"!absolute inset-x-0 top-[5%] z-10 laptop:top-[5%] desktop:top-[6%] lg-desktop:top-[7%]",children:(0,n.jsxs)("div",{className:"flex flex-col items-center gap-[10px] text-center",children:[(null==t?void 0:t.eyebrow)&&(0,n.jsx)(y.Z,{html:t.eyebrow,className:"text-[18px] font-[700] text-[#fff] l:text-[14px]"}),(null==t?void 0:t.title)&&(0,n.jsx)(y.Z,{html:t.title,className:"text-[calc(52/1920*100vw)] font-[700] leading-[1.1] text-[#fff] l:text-[28px] min-xxl:text-[52px] [&_h1]:!m-0 [&_h1]:!text-[calc(52/1920*100vw)] l:[&_h1]:!text-[28px] min-xxl:[&_h1]:!text-[52px]"}),(null==t?void 0:t.subtitle)&&(0,n.jsx)(y.Z,{html:t.subtitle,className:"text-[calc(24/1920*100vw)] font-[700] leading-[1] text-[#fff] l:text-[16px] min-xxl:text-[24px] [&_h4]:!m-0 [&_h4]:!text-[calc(24/1920*100vw)] [&_h4]:!leading-[1.2] l:[&_h4]:!text-[16
1px] min-xxl:[&_h4]:!text-[24px]"}),(null==t?void 0:null===(l=t.buttons)||void 0===l?void 0:l.length)>0&&(0,n.jsx)("div",{className:"min-xxl::mt-[20px] mt-[calc(20/1920*100vw)] flex items-center justify-center gap-[12px]",children:t.buttons.map((e,l)=>{let t=F()("flex items-center gap-[8px] px-[28px] py-[12px] text-[14px] font-[700] transition-opacity hover:opacity-80 l:px-[20px] l:py-[10px] l:text-[12px]",(null==e?void 0:e.style)==="solid"?"bg-[#fff] text-[#000]":(null==e?void 0:e.style)==="amazon"?"bg-[#FF9A00] text-white hover:opacity-90":"border border-[#fff] text-[#fff]"),a=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:null==e?void 0:e.text}}),(null==e?void 0:e.icon)==="play"&&(0,n.jsx)("svg",{width:"10",height:"12",viewBox:"0 0 10 12",fill:"none","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M10 6L0 12V0L10 6Z",fill:"currentColor"})})]});if(null==e?void 0:e.video)return(0,n.jsx)("button",{type:"button",className:t,onClick:()=>{var l,t,n,a;let s=null===m.uv||void 0===m.uv?void 0:m.uv[o];(null===(l=window)||void 0===l?void 0:l.gtag)&&s&&(null==i?void 0:i.googleButtonClick)&&window.gtag("event",null==i?void 0:i.googleButtonClickLabel,{send_to:"".concat(s,"/").concat(i.googleButtonClick)}),(null===(t=window)||void 0===t?void 0:t.ttq)&&(null==i?void 0:i.ttqButtonClickTrack)&&window.ttq.track(null==i?void 0:i.ttqButtonClickTrack),p({visible:!0,youtubeId:(null===(n=e.video)||void 0===n?void 0:n.youtubeId)||"",videoUrl:(null===(a=e.video)||void 0===a?void 0:a.url)||""})},children:a},l);if(null==e?void 0:e.modal)return(0,n.jsx)("button",{type:"button",className:t,onClick:()=>z(e.modal),children:a},l);let s=(null==e?void 0:e.anchor)||(/^#/.test((null==e?void 0:e.link)||"")?e.link.slice(1):"");if(s)return(0,n.jsx)("button",{type:"button",className:t,onClick:()=>{var e,l,t;let n=null===m.uv||void 0===m.uv?void 0:m.uv[o];(null===(e=window)||void 0===e?void 0:e.gtag)&&n&&(null==i?void 0:i.googleButtonClick)&&window.gtag("event",null==i?void 0:i.googleButtonClickLabel,{send_to:"".concat(n,"/").concat(i.googleButtonClick)}),(null===(l=window)||void 0===l?void 0:l.fbq)&&(null==i?void 0:i.fbqButtonClickTrack)&&window.fbq("trackCustom",null==i?void 0:i.fbqButtonClickTrack),(null===(t=window)||void 0===t?void 0:t.ttq)&&(null==i?void 0:i.ttqButtonClickTrack)&&window.ttq.track(null==i?void 0:i.ttqButtonClickTrack),document.getElementById(s)&&(0,c.Z)("#".concat(s),{duration:500})},children:a},l);if(null==e?void 0:e.amazonLink){var d,r;let s=(0,m.ye)(null===(r=e.amazonLink.split("/"))||void 0===r?void 0:r[(null===(d=e.amazonLink.split("/"))||void 0===d?void 0:d.length)-1],null==i?void 0:i.adCampaign,o);return(0,n.jsx)("a",{href:"".concat(e.amazonLink).concat(s?"?"+s:""),target:"_blank",rel:"noopener noreferrer",className:t,onClick:()=>{(0,m.V9)({pageCommon:i,locale:o||"",gtagID:null===m.uv||void 0===m.uv?void 0:m.uv[o],pageHandle:x,item:{text:null==e?void 0:e.text}})},children:a},l)}let u=/^https?:\/\//.test((null==e?void 0:e.link)||"");return(0,n.jsx)("a",{href:(null==e?void 0:e.link)||"#",className:t,onClick:()=>{var e,l,t;let n=null===m.uv||void 0===m.uv?void 0:m.uv[o];(null===(e=window)||void 0===e?void 0:e.gtag)&&n&&(null==i?void 0:i.googleButtonClick)&&window.gtag("event",null==i?void 0:i.googleButtonClickLabel,{send_to:"".concat(n,"/").concat(i.googleButtonClick)}),(null===(l=window)||void 0===l?void 0:l.fbq)&&(null==i?void 0:i.fbqButtonClickTrack)&&window.fbq("trackCustom",null==i?void 0:i.fbqButtonClickTrack),(null===(t=window)||void 0===t?void 0:t.ttq)&&(null==i?void 0:i.ttqButtonClickTrack)&&window.ttq.track(null==i?void 0:i.ttqButtonClickTrack)},...u?{target:"_blank",rel:"noopener noreferrer"}:{},children:a},l)})})]})})]}),(0,n.jsx)(r.VideoModal,{visible:v.visible,youTubeId:v.youtubeId,videoUrl:v.videoUrl,onCloseModal:()=>p(e=>({...e,visible:!1}))})]})},ei=t(93911),eo=e=>{let{data:l,id:t,pageHandle:i}=e,[o,s]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{let e=()=>s(window.innerWidth<=768);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),l)?(0,n.jsx)(ei.Z,{data:l,id:t,isMobile:o,pageHandle:i}):null},ea=t(98958),es=t(73387),ed=t.n(es),er=e=>{var l;let{data:t}=e,[i,o]=(0,a.useState)(null!==(l=null==t?void 0:t.defaultPosition)&&void 0!==l?l:0),[s,r]=(0,a.useState)(!1),[c,u]=(0,a.useState)(!1),x=(0,a.useRef)(null),v=(0,a.useRef)(null),p=(0,a.useRef)(!1),m=(0,a.useRef)("down"),f=(0,a.useRef)(0),h=(0,a.useRef)(i);(0,a.useEffect)(()=>{h.current=i},[i]),(0,a.useEffect)(()=>{f.current=window.scrollY;let e=()=>{let e=window.scrollY;e>f.current?m.current="down":e<f.current&&(m.current="up"),f.current=e};return window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e)}},[]),(0,a.useEffect)(()=>{p.current=s},[s]),(0,a.useEffect)(()=>{let e=()=>u(window.innerWidth<=768);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let g=(0,a.useCallback)(e=>{let l=x.current;if(!l)return;let t=l.getBoundingClientRect();o(Math.min(100,Math.max(0,(e-t.left)/t.width*100)))},[]);return((0,a.useEffect)(()=>
1{if(!s)return;let e=e=>{g(e.clientX)},l=()=>{r(!1)};return window.addEventListener("pointermove",e),window.addEventListener("pointerup",l),()=>{window.removeEventListener("pointermove",e),window.removeEventListener("pointerup",l)}},[s,g]),(0,a.useEffect)(()=>{let e=x.current;if(!e)return;let l=new IntersectionObserver(e=>{e.forEach(e=>{if(e.isIntersecting){var l;if("down"!==m.current||p.current)return;null===(l=v.current)||void 0===l||l.kill();let e={value:h.current},t=e=>Math.min(100,Math.max(0,e)),n=ea.p8.timeline({delay:.4});v.current=n,n.to(e,{value:t(10),duration:.5,ease:"power1.inOut",onUpdate:()=>o(e.value)}),n.to(e,{value:t(90),duration:1.2,ease:"power1.inOut",onUpdate:()=>o(e.value)}),n.to(e,{value:t(c?60:57.5),duration:.8,ease:"power2.out",onUpdate:()=>o(e.value)})}})},{threshold:.7});return l.observe(e),()=>{var t;e&&l.unobserve(e),null===(t=v.current)||void 0===t||t.kill()}},[null==t?void 0:t.defaultPosition,c]),(null==t?void 0:t.imageLeft)&&(null==t?void 0:t.imageRight))?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.W2,{className:"relative w-full text-center",children:(null==t?void 0:t.title)&&(0,n.jsx)(y.Z,{html:t.title,className:"inline-block bg-[linear-gradient(110deg,#7DB9FF_0%,#F4F7FF_50%,#7EAFFF_100%)] bg-clip-text pb-[32px] text-center text-[32px] font-bold leading-[1.1] text-transparent laptop:text-[40px] lg-desktop:text-[64px]"})}),(0,n.jsx)("div",{className:"mx-auto px-4 l:p-0",children:(0,n.jsxs)("div",{ref:x,className:"relative aspect-[1920/910] w-full select-none l:aspect-[390/300]",children:[(0,n.jsx)(N.Z,{source:t.imageLeft,className:"absolute inset-0 size-full",imgClassName:"size-full object-cover"}),(0,n.jsx)("div",{className:"absolute bottom-[10%] left-[32%] text-[24px] font-[700] text-[#fff] l:left-[18%] l:text-[12px]",children:(0,n.jsx)(y.Z,{className:"flex-1",html:t.labelLeft})}),(0,n.jsx)("div",{className:"absolute inset-0 size-full overflow-hidden",style:{clipPath:"inset(0 0 0 ".concat(i,"%)")},children:(0,n.jsxs)("div",{className:"relative z-[1] size-full",children:[(0,n.jsx)(N.Z,{source:t.imageRight,className:"inset-0 size-full",imgClassName:"size-full object-cover"}),(0,n.jsx)("div",{className:"absolute bottom-[10%] left-[55%] text-center text-[24px] font-[700] text-[#fff] l:left-[58%] l:text-[12px]",children:(0,n.jsx)(y.Z,{className:"flex-1",html:t.labelRight})})]})}),(0,n.jsx)("div",{className:ed().divider,style:{left:"".concat(i,"%")}}),(0,n.jsx)("div",{className:ed().handle,style:{left:"".concat(i,"%")},children:(0,n.jsxs)("div",{className:ed().handleIcon,children:[(0,n.jsx)("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",children:(0,n.jsx)("path",{d:"M6 1L1 6L6 11",stroke:"currentColor",strokeWidth:"1.5"})}),(0,n.jsx)("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",children:(0,n.jsx)("path",{d:"M2 1L7 6L2 11",stroke:"currentColor",strokeWidth:"1.5"})})]})}),(0,n.jsx)("div",{role:"slider",tabIndex:0,"aria-label":"Image comparison slider","aria-valuenow":Math.round(i),"aria-valuemin":0,"aria-valuemax":100,onPointerDown:e=>{var l;null===(l=v.current)||void 0===l||l.kill(),r(!0),g(e.clientX)},onKeyDown:e=>{"ArrowLeft"===e.key?o(e=>Math.max(0,e-2)):"ArrowRight"===e.key&&o(e=>Math.min(100,e+2))},className:ed().hitArea,style:{left:"".concat(i,"%")}})]})}),(null==t?void 0:t.note)&&(0,n.jsx)(y.Z,{className:"mx-auto text-center text-[12px] font-[700] leading-[1.2] text-[#4A4C56] l:px-[24px]",html:null==t?void 0:t.note})]}):null};let ec=e=>{let{poster:l,youtubeId:t,videoUrl:i,videoTitle:o}=e,[s,d]=(0,a.useState)(!1);return l||t||i?s&&(t||i)?(0,n.jsx)("div",{className:"mt-[24px] aspect-[1080/608] w-full overflow-hidden rounded-[12px] bg-black",children:t?(0,n.jsx)("iframe",{src:"https://www.youtube-nocookie.com/embed/".concat(t,"?autoplay=1&rel=0"),title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"size-full"}):(0,n.jsx)("video",{src:i,controls:!0,autoPlay:!0,className:"size-full object-cover"})}):(0,n.jsxs)("div",{className:"mt-[24px]",children:[o&&(0,n.jsx)(y.Z,{className:"mb-[10px] text-left text-[18px] font-[700] text-[#B5B7BB] l:mb-[5px] l:text-[12px]",html:o}),(0,n.jsxs)("button",{type:"button",onClick:()=>d(!0),"aria-label":"Play video",className:"group relative block aspect-[1080/608] w-full overflow-hidden bg-[#0A0A0C]",children:[l&&(0,n.jsx)(N.Z,{source:l,className:"absolute inset-0 size-full",imgClassName:"size-full object-cover opacity-70"}),(0,n.jsx)("span",{className:"absolute inset-0 flex items-center justify-center",children:(0,n.jsx)("span",{className:"flex size-[48px] items-center justify-center rounded-full bg-white/15 backdrop-blur-sm transition-colors group-hover:bg-white/25",children:(0,n.jsx)("svg",{width:"14",height:"16",viewBox:"0 0 14 16",fill:"none","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M14 8L0 16V0L14 8Z",fill:"white"})})})})]})]}):null},eu={background:"linear-gradient(90deg, #5B9BFF 0%, #EAF3FF 55%, #9FB8FF 100%)",backgroundClip:"text",WebkitBackgroun
1dClip:"text",WebkitTextFillColor:"transparent"},ex={blue:"linear-gradient(90deg, #2E7CF6 0%, #7FB5FF 70%, #FFFFFF 100%)",orange:"linear-gradient(90deg, #E4632C 0%, #F5A47C 70%, #FFE3D3 100%)"},ev=e=>{let{heading:l,headingSub:t,rowsTitle:i,rows:o=[]}=e;return o.length?(0,n.jsxs)("div",{className:"mt-[40px] flex items-center gap-[50px] text-left l:mt-[20px] l:gap-[8px]",children:[(l||t)&&(0,n.jsxs)("div",{className:"w-[25%] shrink-0 text-center l:w-[30%]",children:[l&&(0,n.jsx)(y.Z,{html:l,className:"block text-[136px] font-[700] leading-[1] l:text-[40px]",style:eu}),t&&(0,n.jsx)(y.Z,{html:t,className:"block text-[68px] font-[800] leading-[1.1] l:text-[28px]",style:eu})]}),(0,n.jsxs)("div",{className:"flex-1 border-l-[2px] border-[#939393] border-opacity-40 pl-[70px] l:pl-[8px]",children:[i&&(0,n.jsx)(y.Z,{html:i,className:"mb-[24px] text-[24px] font-[700] text-white l:mb-[16px] l:text-[12px]"}),(0,n.jsx)("div",{className:"space-y-[30px] l:space-y-[10px]",children:o.map((e,l)=>{var t;return(0,n.jsxs)("div",{className:F()("flex items-center gap-[24px] l:gap-[12px]"),children:[(0,n.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,n.jsx)("div",{className:"h-[6px] w-full overflow-hidden rounded-full bg-[#1C2B4A]",children:(0,n.jsx)("div",{className:"h-full rounded-full",style:{width:"".concat(null!==(t=e.percent)&&void 0!==t?t:0,"%"),background:e.barGradient||ex[e.barTheme]||ex.blue}})}),e.label&&(0,n.jsx)(y.Z,{html:e.label,className:F()("mt-[10px] text-[18px] font-[600] l:mt-[6px] l:text-[10px]",e.highlight?"text-white":"text-[#B6B6BA]")})]}),(e.value||e.unit)&&(0,n.jsxs)("div",{className:"mt-[-40px] shrink-0 whitespace-nowrap text-white l:mt-[-20px]",children:[(0,n.jsx)("span",{className:F()((null==e?void 0:e.boild)?"font-[700]":"font-[600] ","text-[42px] leading-none l:text-[16px]"),children:e.value}),e.unit&&(0,n.jsx)("span",{className:F()((null==e?void 0:e.boild)?"font-[700]":"font-[600] ","ml-[6px] text-[24px] font-[700] l:text-[10px]"),children:e.unit})]})]},l)})})]})]}):null},ep=e=>{let{stats:l=[],data:t={}}=e;return l.length?(0,n.jsxs)("div",{className:"mx-auto mt-[32px] w-[50%] l:mt-[24px] l:w-full",children:[(0,n.jsx)("div",{className:"flex items-center justify-center gap-[32px] p-[18px] l:gap-[16px] l:p-0",children:l.map((e,l)=>(0,n.jsxs)("div",{className:"flex items-center gap-[10px] text-left",children:[(0,n.jsx)(N.Z,{source:null==e?void 0:e.icon,className:"w-[48px] l:w-[42px]"}),(0,n.jsxs)("div",{children:[(0,n.jsx)(y.Z,{html:e.value,className:"text-[50px] font-[700] leading-none l:text-[30px]"}),(0,n.jsx)(y.Z,{html:e.label,className:"mt-[2px] whitespace-nowrap text-[14px] font-[600] text-[#B5B7BB] l:text-[10px]"})]})]},l))}),(0,n.jsxs)("div",{className:"mx-auto mt-[10px] flex w-full items-center gap-[5px] text-[14px] text-[#B5B7BB] l:w-[90%]",children:[(0,n.jsx)(y.Z,{html:null==t?void 0:t.leftText}),(0,n.jsx)("div",{className:"h-[6px] w-full rounded-full bg-gradient-to-r from-[#3BE0C4] via-[#F5D76E] to-[#FF6B4A]"}),(0,n.jsx)(y.Z,{html:null==t?void 0:t.rightText})]})]}):null},em=e=>{let{image:l,imageMob:t,badges:i=[]}=e;return l?(0,n.jsx)("div",{className:"relative mt-[50px] overflow-hidden l:mt-[24px]",children:(0,n.jsx)(N.Z,{source:"".concat(l,", ").concat(t||l," 768"),className:"aspect-[1080/430] w-full l:aspect-[297/175]",imgClassName:"size-full object-cover"})}):null};var ef=e=>{let{data:l}=e;if(!l)return null;let{title:t,subtitle:i,variant:o,compareHeading:a,compareHeadingSub:s,rowsTitle:d,rows:r,stats:c,image:u,imageMob:x,badges:v,video:p,note:m}=l;return(0,n.jsxs)("div",{className:"w-full text-center l:pt-[30px]",children:[t&&(0,n.jsx)(y.Z,{html:t,className:"text-[50px] font-[700] leading-[1.1] text-[#fff] l:text-[26px]"}),i&&(0,n.jsx)(y.Z,{html:i,className:"mx-auto mt-[16px] max-w-[850px] text-center text-[24px] font-[700] leading-[1.2] text-[#B5B7BB] l:text-[10px]"}),"compareBars"===o&&(0,n.jsx)(ev,{heading:a,headingSub:s,rowsTitle:d,rows:r}),"compareStats"===o&&(0,n.jsx)(ep,{data:l,stats:c}),"image"===o&&(0,n.jsx)(em,{image:u,imageMob:x,badges:v}),p&&(0,n.jsx)(ec,{poster:p.poster,youtubeId:p.youtubeId,videoUrl:p.url,videoTitle:(null==p?void 0:p.videoTitle)||""}),m&&(0,n.jsx)(y.Z,{className:"mt-[12px] text-[12px] text-[#767880]",html:m})]})};let eh=e=>"string"==typeof e?{url:e,alt:""}:e,eg={content:{maxWidth:"1180px",background:"#141416",color:"#F5F5F7",fill:"#fff",borderRadius:"16px"}}
1,eb={large:"col-span-7 l:col-span-2 aspect-w-[683] aspect-h-[382] l:aspect-w-[358] l:aspect-h-[122]",middle:"col-span-4 l:col-span-1 aspect-w-[406] aspect-h-[256] l:aspect-w-[173] l:aspect-h-[122]",small:"col-span-3 l:col-span-1 aspect-w-[259] aspect-h-[256] l:aspect-w-[173] l:aspect-h-[122]"},ew=e=>{let{item:l,size:t}=e,{handleOpenModal:i}=(0,w.B)(),o=eh(null==l?void 0:l.image),a=eh(null==l?void 0:l.mobImage),s=eh(null==l?void 0:l.video),d=null==l?void 0:l.modal,r=[null==o?void 0:o.url,(null==a?void 0:a.url)?"".concat(a.url," 768"):""].filter(Boolean).join(", ");return(0,n.jsxs)("div",{className:"relative overflow-hidden rounded-box ".concat(eb[t]),children:[(null==s?void 0:s.url)?(0,n.jsx)("video",{playsInline:!0,autoPlay:!0,muted:!0,loop:!0,src:s.url,poster:null==o?void 0:o.url,className:"absolute inset-0 size-full object-cover"}):(null==o?void 0:o.url)&&(0,n.jsx)(N.Z,{source:r,alt:(null==o?void 0:o.alt)||"",className:"absolute inset-0 size-full",imgClassName:"size-full object-cover"}),(0,n.jsxs)("div",{className:"absolute inset-0 p-4 laptop:p-6",children:[(null==l?void 0:l.title)&&(0,n.jsx)(y.Z,{html:l.title,className:F()("block font-[700] leading-[1.2] text-white","large"===t?"text-[16px] laptop:text-[32px]":"text-[16px] laptop:text-[24px]")}),(null==l?void 0:l.desc)&&(0,n.jsx)(y.Z,{html:l.desc,className:"mt-[4px] block text-[12px] font-[700] leading-[1.2] text-white/80 laptop:text-[18px]"})]}),d&&(0,n.jsx)("span",{className:"pointer-events-none absolute inset-0",children:(0,n.jsx)("button",{type:"button",onClick:()=>{d&&i({content:(0,n.jsx)(ef,{data:d}),style:eg})},"aria-label":"View details: ".concat((null==l?void 0:l.title)||""),className:"pointer-events-auto absolute bottom-2 left-2 right-auto flex size-[26px] animate-breathing items-center justify-center rounded-full border-[1px] bg-white/15 backdrop-blur-sm transition-colors hover:bg-white/30 tablet:bottom-3 tablet:left-auto tablet:right-3 tablet:size-[24px] laptop:bottom-4 laptop:left-auto laptop:right-4 laptop:size-[32px]",children:(0,n.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true",className:"size-[10px] tablet:size-[12px] laptop:size-[14px]",children:(0,n.jsx)("path",{d:"M7 1V13M1 7H13",stroke:"white",strokeWidth:"1.6",strokeLinecap:"round"})})})})]})};var ej=e=>{let{data:l}=e,{title:t,link:i,theme:o="dark",items:a=[]}=l||{};return(null==a?void 0:a.length)?(0,n.jsx)("section",{"data-ui-component-id":"ksp-custom",className:"ksp-custom mt-[20px] flex flex-col justify-center ".concat("light"!==o?"text-white":"text-[#1D1D1F]"),children:(0,n.jsx)("div",{className:"grid grid-cols-2 gap-3 tablet:grid-cols-6 laptop:grid-cols-14 laptop:gap-4",children:a.map((e,l)=>(0,n.jsx)(ew,{item:e,size:null==e?void 0:e.size},l))})}):null},ey=e=>{var l;let{data:t}=e;return(null==t?void 0:null===(l=t.items)||void 0===l?void 0:l.length)?(0,n.jsxs)(d.W2,{className:"w-full",children:[(null==t?void 0:t.title)&&(0,n.jsx)(y.Z,{html:t.title,className:"mb-[36px] text-center text-[48px] font-[700] leading-[1.2] text-[#fff] l:mb-[24px] l:text-[32px]"}),(0,n.jsx)("div",{className:"grid grid-cols-1 gap-[16px]",children:t.items.map((e,l)=>(0,n.jsxs)("div",{className:"flex overflow-hidden rounded-[16px] bg-[#191D25] bg-opacity-70 l:rounded-[12px] l:bg-[#10131A] l:bg-opacity-100",children:[(0,n.jsx)("div",{className:"flex w-[40%] shrink-0 items-center bg-[#1C1F26] px-[10px] py-[20px] laptop:w-[40%] laptop:px-[56px] laptop:py-[0px]",children:(null==e?void 0:e.logo)&&(0,n.jsx)(N.Z,{loading:"eager",source:"".concat(e.logo).concat((null==e?void 0:e.logoMob)?", ".concat(e.logoMob," 1024"):""),className:"w-[70%] max-w-[300px] l:w-full",imgClassName:"h-auto w-full object-contain"})}),(0,n.jsx)("div",{className:"flex flex-1 items-center px-[24px] py-[28px] laptop:px-[50px] laptop:py-[32px]",children:(null==e?void 0:e.quote)&&(0,n.jsx)(y.Z,{html:e.quote,className:"text-[14px] font-[700] leading-[1.2] text-[#B5B7BB] laptop:text-[24px] [&_span]:text-anker-color"})})]},l))})]}):null},eN=t(16702),ek=t(17046),eC=t(92199);let eB={boxShadow:"1px 1px 50px 0 #ADC3FA inset, 0 16px 4px 0 rgba(0, 0, 0, 0.05)"},eF="bg-gradient-to-b from-[#0D1B3E] to-[#04060D]";var e_=e=>{var l,t,i,o,a,s,r;let{data:c,pageCommon:u}=e,{locale:x,handleOpenProductPop:v,metafields:f}=(0,w.B)(),{profile:h}=(0,ek.Un)(),{setRegistrationsPopup:g}=(0,p.l8)(),b=(null==c?void 0:c.product)||{},j=(null==c?void 0:c.gift)||{},{data:k}=(0,U.Z)({handles:(null==b?void 0:b.handle)||void 0}),C=null==k?void 0:null===(l=k.products)||void 0===l?void 0:l[0],B=null==C?void 0:null===(t=C.variants)||void 0===t?void 0:t.find(e=>(null==e?void 0:e.sku)===(null==b?void 0:b.sku)),{priceWithCurrency:F,basePriceWithCurrency:_,price:T,basePrice:Z,discountTagWithCurrency:S}=(0,eN.Wz)({variant:B,product:C}),z=(null==b?void 0:b.name)||(null==C?void 0:C.name),E=(null==b?void 0:b.image)||(null==B?void 0:null===(i=B.image)||void 0===i?void 0:i.url)||(null==C?void 0:null===(a=C.images)||void 0===a?void 0:null===(o=a[0])||void 0===o?void 0:o.url),I=(null==b?void 0:b.price)||(B?F:""),L=(null==b?void 0:b.compareAtPrice)||(Z>T?_:""),{fullText:P}=(0,eC.d)(x,S,null==f?void 0:null===(s=f.discounts)||void 0===s?void 0:s.off),q=(null==b?void 0:b.badge)||P||"",M=(null==b?void 0:b.link)||((null==C?void 0:C.handle)?"/products/".concat(C.handle):""),A=/^https?:\/\//.test(M);return(0,n.jsx)("section",{className:"w-full py-[40px] l:py-[24px]",children:(0,n.jsx)(d.W2,{children:(0,n.jsxs)("div",{className:"flex justify-center gap-[16px] l:flex-col l:gap-[12px]",children:[b&&(0,n.jsx)("div",{className:"".concat(eF," relative max-w-[50%] flex-1 p-[40px] l:w-full l:p-[24px]"),style:eB,children:(0,n.jsxs)("div",{className:"flex h-full items-center gap-[40px] l:flex-col l:gap-[16px]",children:[E&&(0,n.jsx)("div",{className:"w-[38%] l:w-[50%] l:pt-[30px]",children:(0,n.jsx)(N.Z,{source:E,className:"aspect-[300/300] w-full",imgClassName:"size-full object-contain"})}),(0,n.jsxs)("div",{className:"flex flex-1 flex-col items-start gap-[12px] l:w-full",children:[q&&(0,n.jsx)("span",{className:"rounded-full border border-[#29B2EF] px-[10px] py-[2px] text-[16px] font-bold leading-[1.4] text-[#29B2EF] l:absolute l:right-[24px] l:top-[24px] l:self-end l:text-[14px]",children:q}),z&&(0,n.jsx)(y.Z,{html:z,className:"text-[24px] font-bold leading-[1.3] text-[#fff] l:text-[20px]"}),(0,n.jsxs)("div",{className:"flex flex-col gap-[4px] l:w-full l:flex-row l:items-center l:justify-between",children:[(0,n.jsxs)("div",{className:"flex items-baseline gap-[8px]",children:[(0,n.jsx)("span",{className:"text-[24px] font-bold text-[#fff] l:text-[20px]",children:I}),L&&(0,n.jsx)("span",{className:"text-[24px] font-bold text-[#8E8E93] line-through l:text-[20px]",children:L})]}),b.buttonText&&(0,n.jsx)("button",{type:"button",onClick:()=>{var e,l;let t=null===m.uv||void 0===m.uv?void 0:m.uv[x];if((null===(e=window)||void 0===e?void 0:e.gtag)&&t&&(null==u?void 0:u.googleButtonClick)&&window.gtag("event",null==u?void 0:u.googleButtonClickLabel,{send_to:"".concat(t,"/").concat(u.googleButtonClick)}),(null===(l=window)||void 0===l?void 0:l.ttq)&&(null==u?void 0:u.ttqButtonClickTrack)&&window.ttq.track(null==u?void 0:u.ttqButtonClickTrack),!h){g(!0);return}if(null==C?void 0:C.handle){v({...C,sku:null==b?void 0:b.sku});return}M&&(A?window.open(M,"_blank","noopener,noreferrer"):window.location.href=M)},className:"bg-[#29B2EF] px-[28px] py-[10px] text-[14px] font-bold text-[#fff] transition-opacity hover:opacity-80 l:px-[20px]",children:b.buttonText})]})]})]})}),j&&(0,n.jsx)("div",{className:"".concat(eF," max-w-[50%] flex-1 p-[40px] l:w-full l:p-[24px]"),style:eB,children:(0,n.jsxs)("div",{className:"flex h-full items-center gap-[24px] l:flex-col l:gap-[16px]",children:[(0,n.jsxs)("div",{className:"flex flex-1 flex-col l:gap-[10px]",children:[j.title&&(0,n.jsx)(y.Z,{html:j.title,className:"text-[24px] font-bold leading-[1.3] text-[#fff] l:text-[14px]"}),j.desc&&(0,n.jsx)(y.Z,{html:j.desc,className:"text-[16px] leading-[1.5] text-[#B5B7BB] l:text-[12px]"}),(0,n.jsx)("div",{className:"relative hidden w-full l:flex",children:(0,n.jsx)(N.Z,{source:"".concat(j.giftImage,", ").concat(j.giftImageMob||j.giftImage," 768"),className:"aspect-[256/230] w-full l:aspect-[609/248]",imgClassName:"size-full object-contain"})}),(null===(r=j.benefits)||void 0===r?void 0:r.length)>0&&(0,n.jsx)("div",{className:"mt-[30px] flex gap-[32px] l:mt-[8px] l:justify-between l:gap-[12px]",children:j.benefits.map((e,l)=>(0,n.jsxs)("div",{className:"flex max-w-[150px] flex-1 flex-col items-center gap-[8px] text-center",children:[e.icon&&(0,n.jsx)(N.Z,{source:e.icon,className:"mx-auto aspect-[160/120] w-[60%] l:w-[40%]",
1imgClassName:"size-full object-contain"}),e.text&&(0,n.jsx)(y.Z,{html:e.text,className:"text-[12px] font-[700] leading-[1.2] text-[#B6B6BA] l:text-[10px]"})]},l))})]}),(0,n.jsx)("div",{className:"flex w-[38%] flex-col items-center gap-[12px] l:hidden",children:(0,n.jsx)("div",{className:"relative w-full",children:(0,n.jsx)(N.Z,{source:"".concat(j.giftImage,", ").concat(j.giftImageMob||j.giftImage," 768"),className:"aspect-[256/230] w-full l:aspect-[609/248]"})})})]})})]})})})},eT=t(10065),eZ=t(33295),eS=e=>{var l,t,i,s,d,r,c,u;let{data:x,id:v}=e,p=(0,a.useRef)(null),m=(0,a.useRef)(null),f=(0,a.useRef)(null),h=(0,a.useRef)(null),g=(0,a.useRef)(null),b=(0,a.useRef)(null),[w,j]=(0,a.useState)(()=>window.innerWidth<=768),[N,k]=(0,a.useState)(!1),[C,B]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let e=()=>j(window.innerWidth<=768);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let F=!!((null==x?void 0:null===(l=x.video)||void 0===l?void 0:l.src)||(null==x?void 0:null===(t=x.video)||void 0===t?void 0:t.mobSrc));if((0,a.useEffect)(()=>{if(!F||w)return;let e="down",l=window.scrollY,t=!1,n=()=>{let t=window.scrollY;t>l?e="down":t<l&&(e="up"),l=t};window.addEventListener("scroll",n,{passive:!0});let i=()=>{b.current&&clearTimeout(b.current),b.current=setTimeout(()=>{ea.p8.to(".sceneIntroText1",{opacity:0,y:-30,duration:.5}),b.current=null},1e3)},o=()=>{b.current&&(clearTimeout(b.current),b.current=null),ea.p8.killTweensOf(".sceneIntroText1")},a=()=>{ea.p8.set(".sceneIntroText1",{opacity:1,y:0})};(()=>{var e;if(!(null===(e=x.video)||void 0===e?void 0:e.src))return;ea.p8.registerPlugin(eT.ScrollTrigger);let l=(x.scrollHeight||3)*window.innerHeight,t=ea.p8.timeline({scrollTrigger:{trigger:p.current,start:"top top",end:"+=".concat(.5*l),pin:!0,scrub:!0}});h.current=t,g.current=t.scrollTrigger,t.to({},{duration:.6}).to(".SceneSlider",{bottom:"10%",duration:.6}).to(".SceneSliderBg",{opacity:.8,duration:.6},"<").to(".sceneIntroVideo",{filter:"blur(10px)",duration:.6},"<")})();let s=m.current,d=p.current,r=new IntersectionObserver(l=>{l.forEach(l=>{var n,d,r,c;if(l.intersectionRatio>=.98){if(!s||"down"!==e||t)return;t=!0,a(),ea.p8.set(".sceneIntroVideo",{opacity:1}),s.currentTime=0,null===(r=s.play)||void 0===r||null===(d=r.call(s))||void 0===d||null===(n=d.catch)||void 0===n||n.call(d,()=>{}),i()}else 0===l.intersectionRatio&&l.boundingClientRect.top>0&&(t=!1,null==s||null===(c=s.pause)||void 0===c||c.call(s),s&&(s.currentTime=0),ea.p8.set(".sceneIntroVideo",{opacity:0}),o(),a())})},{threshold:[0,.98]});return d&&r.observe(d),()=>{var e,l;d&&r.unobserve(d),window.removeEventListener("scroll",n),null===(e=h.current)||void 0===e||e.kill(),null===(l=g.current)||void 0===l||l.kill(),h.current=null,g.current=null}},[F,w]),(0,a.useEffect)(()=>{if(!F||!w)return;let e=m.current;if(!e)return;let l=null,t=!1,n="down",i=window.scrollY,o=()=>{let e=window.scrollY;e>i?n="down":e<i&&(n="up"),i=e};window.addEventListener("scroll",o,{passive:!0});let a=()=>{var n,i,o;t||(t=!0,e.currentTime=0,e.classList.remove("text1-hidden"),null===(o=e.play)||void 0===o||null===(i=o.call(e))||void 0===i||null===(n=i.catch)||void 0===n||n.call(i,()=>{}),l=setTimeout(()=>{e.classList.add("text1-hidden")},2e3))},s=new IntersectionObserver(l=>{l.forEach(l=>{l.intersectionRatio>=.98?"down"===n&&(k(!0),a()):0===l.intersectionRatio&&(t=!1,e.pause())})},{threshold:[0,.98]});return s.observe(e),()=>{s.unobserve(e),window.removeEventListener("scroll",o),l&&clearTimeout(l)}},[F,w]),(0,a.useEffect)(()=>{if(!F||!w)return;let e=f.current;if(!e)return;let l=new IntersectionObserver((e,l)=>{e.forEach(e=>{e.isIntersecting&&(B(!0),l.unobserve(e.target))})},{threshold:0,rootMargin:"300px 0px"});return l.observe(e),()=>l.unobserve(e)},[F,w]),!F)return null;let{text1:_}=x,T=w?(null===(i=x.video)||void 0===i?void 0:i.mobSrc)||(null===(s=x.video)||void 0===s?void 0:s.src):null===(d=x.video)||void 0===d?void 0:d.src,Z=w?(null===(r=x.video)||void 0===r?void 0:r.mobPoster)||(null===(c=x.video)||void 0===c?void 0:c.poster):null===(u=x.video)||void 0===u?void 0:u.poster;return w?(0,n.jsxs)("div",{ref:p,id:v,className:"w-full bg-[#000]",children:[(0,n.jsxs)("div",{className:"jsx-ad4b912a92a2c34c relative w-full overflow-hidden pt-[183.33%]",children:[(0,n.jsx)("video",{ref:m,src:T,poster:Z,muted:!0,playsInl
1ine:!0,preload:N?"auto":"metadata",className:"jsx-ad4b912a92a2c34c sceneIntroVideoMobile absolute inset-0 size-full object-cover"}),(0,n.jsx)("div",{className:"jsx-ad4b912a92a2c34c sceneIntroText1Mobile absolute left-0 top-1/2 z-[1] w-full -translate-y-1/2 text-center transition-opacity duration-500",children:(0,n.jsxs)("div",{className:"jsx-ad4b912a92a2c34c content px-[24px]",children:[(null==_?void 0:_.title)&&(0,n.jsx)(y.Z,{html:_.title,className:"inline-block bg-[linear-gradient(110deg,#7DB9FF_0%,#F4F7FF_50%,#7EAFFF_100%)] bg-clip-text text-center text-[40px] font-bold leading-[1.1] tracking-[-1px] text-transparent"}),(null==_?void 0:_.desc)&&(0,n.jsx)(y.Z,{html:_.desc,className:"mt-[12px] text-[14px] font-[700] text-[#F5F6F7]"})]})}),(0,n.jsx)(o(),{id:"ad4b912a92a2c34c",children:".sceneIntroVideoMobile.text1-hidden.jsx-ad4b912a92a2c34c~.sceneIntroText1Mobile.jsx-ad4b912a92a2c34c{opacity:0}"})]}),(0,n.jsx)("div",{className:"SceneSlider relative w-full l:mt-[40px]",ref:f,children:C&&(0,n.jsx)(eZ.Z,{data:null==x?void 0:x.slider})})]}):(0,n.jsxs)("div",{ref:p,id:v,className:"relative h-screen w-full overflow-hidden bg-[#000]",children:[(0,n.jsx)("video",{ref:m,className:"sceneIntroVideo absolute inset-0 size-full object-cover opacity-0",src:T,poster:Z,muted:!0,playsInline:!0,preload:"auto"}),(0,n.jsx)("div",{className:"sceneIntroText1 layer absolute left-0 top-1/2 z-[1] w-full -translate-y-1/2 text-center",children:(0,n.jsxs)("div",{className:"content",children:[(null==_?void 0:_.title)&&(0,n.jsx)(y.Z,{html:_.title,className:"inline-block bg-[linear-gradient(110deg,#7DB9FF_0%,#F4F7FF_50%,#7EAFFF_100%)] bg-clip-text text-center text-[40px] font-bold leading-[1.1] tracking-[-1px] text-transparent tablet:text-[40px] laptop:text-[40px] desktop:text-[100px] desktop:tracking-[-4px]"}),(null==_?void 0:_.desc)&&(0,n.jsx)(y.Z,{html:_.desc,className:"mt-[16px] text-[18px] font-[700] text-[#F5F6F7] l:text-[14px]"})]})}),(0,n.jsx)("div",{className:"SceneSliderBg absolute inset-0 z-[10] bg-[#000] opacity-0"}),(0,n.jsx)("div",{className:"SceneSlider absolute bottom-[-100%] left-0 w-full",children:(0,n.jsx)(eZ.Z,{data:null==x?void 0:x.slider})})]})},ez=t(35867),eE=t(57516),eI=t(54856),eL=t(97200),eP=t(16066),eq=t(36855),eM=e=>{var l,t,i,o,d,r,c,u,x,v,f,b,w,j,k,C,B,_,Z,S,z,L;let{product:P,item:q,data:M,pageHandle:A,metafields:R={},handleOpenProductPop:D,carouselPhase:W=!1}=e,{locale:O}=(0,s.useRouter)(),{profile:H}=(0,ek.Un)(),{setRegistrationsPopup:U}=(0,p.l8)(),{shopCommon:V,pageCommon:Y}=R||{},K=null===m.uv||void 0===m.uv?void 0:m.uv[O||""],[$,G]=(0,a.useState)(!1),[X,J]=(0,a.useState)(!1),[Q,ee]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let e=()=>{G(window.innerWidth<=767),J(window.innerWidth>767&&window.innerWidth<=1024)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let el=((null==M?void 0:M.buttons)||[]).map((e,l)=>{var t;return(null==q?void 0:null===(t=q.buttons)||void 0===t?void 0:t[l])||e}),et=el.some(e=>(null==e?void 0:e.type)==="amazonLink"),en=el.some(e=>(null==e?void 0:e.type)==="buyNow"||(null==e?void 0:e.type)==="addCart"),ei=(null!==(S=null!==(Z=null==q?void 0:q.ignoreSoldOut)&&void 0!==Z?Z:null==M?void 0:null===(l=M.styles)||void 0===l?void 0:l.ignoreSoldOut)&&void 0!==S?S:et)&&!en,[eo,ea]=(0,h.V)(P,(null==q?void 0:q.sku)||(ei?null==P?void 0:null===(i=P.variants)||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t.sku:null==P?void 0:null===(d=P.variants)||void 0===d?void 0:null===(o=d.find(e=>e.availableForSale&&(null==e?void 0:e.price)<9999999.99))||void 0===o?void 0:o.sku)||(null==P?void 0:null===(c=P.variants)||void 0===c?void 0:null===(r=c[0])||void 0===r?void 0:r.sku)||""),es=(0,g.c1)(P,eo,!1),ed=(null==es?void 0:null===(x=es.metafields)||void 0===x?void 0:null===(u=x.infos)||void 0===u?void 0:u.comingSoon)||(null==P?void 0:null===(f=P.metafields)||void 0===f?void 0:null===(v=f.infos)||void 0===v?void 0:v.comingSoon),{subscribedDealsTypes:er}=(0,eI.t)({variant:es}),{priceWithCurrency:ec,basePriceWithCurrency:eu,savePriceNoDecimal:ex}=(0,eN.Wz)({variant:es,product:P,subscribedDealsTypes:er}),{addToCart:ev,buyNow:ep,loading:em}=(0,eP.M)({products:[P],pageHandle:A||"",gtmParam:{itemListName:(null==M?void 0:M.title)||""}}),ef=(null===(z=null==M?void 0:null===(b=M.styles)||void 0===b?void 0:b.showColors)||void 0===z||z)&&(null==P?void 0:null===(w=P.options)||void 0===w?void 0:w.some(e=>{var l;return["color","colour","couleur"].includes(null===(l=e.displayName)||void 0===l?void 0:l.toLowerCase())})),eh=("number"==typeof(null==es?void 0:es.price)?null==es?void 0:es.price:null==es?void 0:null===(j=es.price)||void 0===j?void 0:j.amount)===I.oh,eg=!(null==es?void 0:es.availableForSale)||eh,eb=eg&&!ei,ew=!ed&&!eb,ej=!H&&!(null==Y?void 0:Y.isBoaPage),ey=$&&(null==q?void 0:q.sceneImageMob)||(null==q?void 0:q.sceneImage),e
1C=(null==q?void 0:q.image)||(null==es?void 0:null===(k=es.image)||void 0===k?void 0:k.url)||(null==P?void 0:null===(B=P.images)||void 0===B?void 0:null===(C=B[0])||void 0===C?void 0:C.url),eB=!!ey,eF=Q||!eB||W,e_={sku:null==es?void 0:es.sku,name:null==P?void 0:P.name,type:null==P?void 0:P.type,price:(null==es?void 0:es.price)||(null==P?void 0:P.price)},eT=()=>{var e,l,t,n,i,o,a,s,d,r,c,u,x,v;let p=(O||"us").toUpperCase();(null===(e=window)||void 0===e?void 0:e.gtag)&&K&&(null==Y?void 0:Y.googleAddToCartClick)&&window.gtag("event",Y.googleAddToCartClick,{send_to:"".concat(K,"/").concat(Y.googleAddToCartLabel)}),(null===(l=window)||void 0===l?void 0:l.fbq)&&(null==Y?void 0:Y.fbqAddToCartTrack)&&window.fbq("trackCustom",Y.fbqAddToCartTrack),(null===(t=window)||void 0===t?void 0:t.rdt)&&(null==Y?void 0:Y.rdtAddToCartTrack)&&window.rdt("track",Y.rdtAddToCartTrack,{currency:(null==e_?void 0:null===(a=e_.price)||void 0===a?void 0:a.currencyCode)||"USD",value:null==e_?void 0:null===(s=e_.price)||void 0===s?void 0:s.amount,itemCount:1,products:{id:null==e_?void 0:e_.sku,category:null==e_?void 0:e_.type,name:null==e_?void 0:e_.name}}),(null===(n=window)||void 0===n?void 0:n.ttq)&&(null==Y?void 0:Y.ttqAddToCartTrack)&&(null===(r=window)||void 0===r||null===(d=r.ttq)||void 0===d||d.track("".concat(Y.ttqAddToCartTrack))),(null===(i=window)||void 0===i?void 0:i.amzn)&&(null==Y?void 0:Y.amznAddToCartTrack)&&window.amzn("trackEvent",Y.amznAddToCartTrack,{productId:(null==e_?void 0:e_.sku)||"",unitsSold:1,value:(null==e_?void 0:null===(c=e_.price)||void 0===c?void 0:c.amount)||0,currencyCode:(null==e_?void 0:null===(u=e_.price)||void 0===u?void 0:u.currencyCode)||"USD",countryCode:p}),(null===(o=window)||void 0===o?void 0:o.amzn)&&window.amzn("trackEvent","ProductAddedToCart",{productId:(null==e_?void 0:e_.sku)||"",unitsSold:1,value:(null==e_?void 0:null===(x=e_.price)||void 0===x?void 0:x.amount)||0,currencyCode:(null==e_?void 0:null===(v=e_.price)||void 0===v?void 0:v.currencyCode)||"USD",countryCode:p})},eZ=()=>{var e,l,t,n,i,o,a,s,d,r,c,u,x,v;let p=(O||"us").toUpperCase();(null===(e=window)||void 0===e?void 0:e.gtag)&&K&&(null==Y?void 0:Y.googleBuyNow)&&window.gtag("event",Y.googleBuyNow,{send_to:"".concat(K,"/").concat(Y.googleBuyNowLabel)}),(null===(l=window)||void 0===l?void 0:l.fbq)&&(null==Y?void 0:Y.fbqBuyNowTrack)&&window.fbq("trackCustom",Y.fbqBuyNowTrack),(null===(t=window)||void 0===t?void 0:t.rdt)&&(null==Y?void 0:Y.rdtBuyNowTrack)&&window.rdt("track",Y.rdtBuyNowTrack,{currency:(null==e_?void 0:null===(a=e_.price)||void 0===a?void 0:a.currencyCode)||"USD",value:null==e_?void 0:null===(s=e_.price)||void 0===s?void 0:s.amount,itemCount:1,products:{id:null==e_?void 0:e_.sku,category:null==e_?void 0:e_.type,name:null==e_?void 0:e_.name}}),(null===(n=window)||void 0===n?void 0:n.ttq)&&(null==Y?void 0:Y.ttqBuyNowTrack)&&(null===(r=window)||void 0===r||null===(d=r.ttq)||void 0===d||d.track("".concat(Y.ttqBuyNowTrack))),(null===(i=window)||void 0===i?void 0:i.amzn)&&window.amzn("trackEvent","CheckoutStarted",{productId:(null==e_?void 0:e_.sku)||"",unitsSold:1,value:(null==e_?void 0:null===(c=e_.price)||void 0===c?void 0:c.amount)||0,currencyCode:(null==e_?void 0:null===(u=e_.price)||void 0===u?void 0:u.currencyCode)||"USD",countryCode:p}
1),(null===(o=window)||void 0===o?void 0:o.amzn)&&(null==Y?void 0:Y.amznBuyNowTrack)&&window.amzn("trackEvent",Y.amznBuyNowTrack,{productId:(null==e_?void 0:e_.sku)||"",unitsSold:1,value:(null==e_?void 0:null===(x=e_.price)||void 0===x?void 0:x.amount)||0,currencyCode:(null==e_?void 0:null===(v=e_.price)||void 0===v?void 0:v.currencyCode)||"USD",countryCode:p})},eS=()=>{var e;if((null==Y?void 0:Y.isBoaPage)&&(null==M?void 0:M.clickImageToAmazon)&&(null==q?void 0:q.amazonLink)){eE();return}if(null==Y?void 0:Y.isBoaPage){eM();return}ed||(null==D||D({product:P,sku:null==es?void 0:es.sku}),(0,m.RC)({event:"ga4Event",event_name:"lp_button",event_parameters:{page_group:"Activity Page_"+A,position:null==M?void 0:null===(e=M.title)||void 0===e?void 0:e.replace(/<[^>]*>/g,""),button_name:(null==q?void 0:q.text)||"Shop Now"}}))},ez=function(){var e;let{button:l}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};null==D||D({product:P,sku:null==es?void 0:es.sku}),(0,m.RC)({event:"ga4Event",event_name:"lp_button",event_parameters:{page_group:"Activity Page_"+A,position:null==M?void 0:null===(e=M.title)||void 0===e?void 0:e.replace(/<[^>]*>/g,""),button_name:(null==l?void 0:l.text)||"Shop Now"}}),window.fbq&&(null==Y?void 0:Y.fbqButtonClickTrack)&&window.fbq("trackCustom",null==Y?void 0:Y.fbqButtonClickTrack)},eE=()=>{var e,l,t,n;if(!(null==q?void 0:q.amazonLink))return;let i=(0,m.ye)(null==q?void 0:null===(n=q.amazonLink)||void 0===n?void 0:null===(t=n.split("/"))||void 0===t?void 0:t[(null==q?void 0:null===(l=q.amazonLink)||void 0===l?void 0:null===(e=l.split("/"))||void 0===e?void 0:e.length)-1],null==Y?void 0:Y.adCampaign,O);(0,m.V9)({pageCommon:Y,product:P,variant:es,locale:O||"",gtagID:K,pageHandle:A,item:{...q,title:null==M?void 0:M.title}}),window.open("".concat(null==q?void 0:q.amazonLink).concat(i?"?"+i:""),"_blank")},eM=()=>{var e;let l="".concat("us"===O?"":"/".concat(O),"/products/").concat(null==P?void 0:P.handle,"?variant=").concat((0,E.Ll)(null==es?void 0:es.id),"&ref=").concat(A);(0,m.RC)({event:"ga4Event",event_name:"lp_button",event_parameters:{page_group:"Activity Page_"+A,position:null==M?void 0:null===(e=M.title)||void 0===e?void 0:e.replace(/<[^>]*>/g,""),button_name:(null==q?void 0:q.text)||"Shop Now"}}),window.open(l,"_blank")},eA=(null!==(L=null==M?void 0:null===(_=M.styles)||void 0===_?void 0:_.theme)&&void 0!==L?L:"dark")==="dark",eR=e=>{var l;return null==M?void 0:null===(l=M.buttons)||void 0===l?void 0:l.map((l,t)=>{var i;let o=(null==q?void 0:null===(i=q.buttons)||void 0===i?void 0:i[t])||l;if((null==o?void 0:o.type)==="member"&&!ej)return null;let a=(null==o?void 0:o.type)==="buyNow"||(null==o?void 0:o.type)==="addCart",s=a&&(ed||eb||eg);return(0,n.jsx)(T.Z,{className:F()("!h-[36px] !min-w-[120px] !px-[5px] !text-[14px] duration-0 l:!h-[34px] l:!min-w-[100px]",e,ed&&"pointer-events-none opacity-0"),disabled:s,onClick:()=>{!ed&&(a&&(eb||eg)||((null==o?void 0:o.type)==="openInfoPop"&&ez({button:o}),(null==o?void 0:o.type)==="learnMore"&&(eZ(),eM()),(null==o?void 0:o.type)==="amazonLink"&&eE(),(null==o?void 0:o.type)==="member"&&U(!0),(null==o?void 0:o.type)==="addCart"&&(eT(),ev()),(null==o?void 0:o.type)==="buyNow"&&(eZ(),ep())))},variant:null==o?void 0:o.variant,loading:em,children:null==o?void 0:o.text},t)})};if($)return(0,n.jsxs)("div",{className:"flex w-full flex-col",children:[(0,n.jsx)(y.Z,{className:F()("w-full text-center text-[12px] font-[700] leading-[1.3]",eA?"text-white":"text-[#1D1D1F]"),html:(null==q?void 0:q.name)||(null==P?void 0:P.name)}),(0,n.jsx)("div",{className:"mt-[10px] flex justify-center gap-[10px]",children:eR()}),(0,n.jsxs)("div",{className:"mt-[10px] flex w-full items-stretch overflow-hidden rounded-[8px]",children:[eB&&(0,n.jsx)("button",{type:"button",className:"w-[50%] shrink-0 cursor-pointer overflow-hidden",onClick:eS,"aria-label":"View details for ".concat((null==q?void 0:q.name)||(null==P?void 0:P.name)),children:(0,n.jsx)(N.Z,{loading:"lazy",source:(null==q?void 0:q.sceneImageMob)||(null==q?void 0:q.sceneImage),className:"aspect-h-[120] aspect-w-[179] w-full",imgClassName:"size-full object-cover"})}),(0,n.jsxs)("div",{className:"flex aspect-[179/120] flex-1 flex-col items-center justify-center overflow-hidden bg-[#1E2024] py-[10
1px]",style:(null==q?void 0:q.hoverBg)?{backgroundColor:q.hoverBg}:void 0,children:[(0,n.jsx)("button",{type:"button",className:"h-[50%] flex-1 cursor-pointer",onClick:eS,"aria-label":"View details for ".concat((null==q?void 0:q.name)||(null==P?void 0:P.name)),children:(0,n.jsx)(N.Z,{loading:"lazy",source:eC,className:"size-full",imgClassName:"size-full object-contain"})}),(0,n.jsx)("div",{className:"flex items-baseline justify-center gap-[8px] px-[12px]",children:(null==q?void 0:q.price)||(null==q?void 0:q.basePrice)?(0,n.jsxs)(n.Fragment,{children:[(null==q?void 0:q.price)&&(0,n.jsx)("span",{className:"text-[16px] font-[700] text-white",children:q.price}),(null==q?void 0:q.basePrice)&&(0,n.jsx)("span",{className:"text-[16px] font-[700] text-[#999] line-through",children:q.basePrice})]}):ew?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"text-[16px] font-[700] text-white",children:ec}),eu&&eu!==ec&&(0,n.jsx)("span",{className:"text-[16px] font-[700] text-[#999] line-through",children:eu})]}):(0,n.jsx)("span",{className:"text-[16px] font-[700] text-[#999]",children:ed||(null==V?void 0:V.soldOut)})})]})]})]});let eD=()=>{var e,l,t,i;return ef?(0,n.jsx)(eL.Z,{productImage:null==P?void 0:null===(l=P.images)||void 0===l?void 0:null===(e=l[0])||void 0===e?void 0:e.url,product:P,options:null==P?void 0:null===(t=P.options)||void 0===t?void 0:t.filter(e=>{var l;return["color","colour","couleur"].includes(null===(l=e.displayName)||void 0===l?void 0:l.toLowerCase())}),selectedOptions:eo,setSelectedOptions:ea,className:"box-border flex h-[18px] gap-x-2 [&_.swatchBtn.swatchBtnActive]:!border-[0.5px] [&_.swatchBtn]:!border-[0.5px] [&_.swatchOptionColor]:!border-none",s:{displayName:"hidden",optionColor:"my-0"},swatchStyles:{swatch:"md:size-[12px] size-[16px] relative text-primary rounded-full inline-flex items-center justify-center box-border !border-[1px] !p-[0] select-none overflow-hidden",soldOut:"!opacity-50"},cnStyles:{optionsBox:"flex jusitfy-start items-center !my-0",listbox:"min-md:!flex-nowrap xl:!gap-x-[4px]"},showSoldOutStyle:!0,quantitys:[],pageHandle:A,metafields:R,fromCollection:!1}):(null==q?void 0:null===(i=q.customColors)||void 0===i?void 0:i.length)>0&&(0,n.jsx)(eq.Z,{colors:q.customColors,className:"mb-0"})};return X?(0,n.jsxs)("div",{className:"flex size-full flex-col",children:[(0,n.jsxs)("div",{className:"relative w-full cursor-pointer pb-[50px]",style:(null==q?void 0:q.hoverBg)?{backgroundColor:q.hoverBg}:void 0,onClick:e=>{var l,t;null!==(l=(t=e.target).closest)&&void 0!==l&&l.call(t,".swatchBtn")||eS()},role:"button",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),eS())},"aria-label":"View details for ".concat((null==q?void 0:q.name)||(null==P?void 0:P.name)),children:[eB?(0,n.jsx)(N.Z,{loading:"lazy",source:ey,className:"aspect-h-[190] aspect-w-[177] w-full overflow-hidden rounded-[8px] ",imgClassName:"size-full object-cover"}):(0,n.jsx)(N.Z,{loading:"lazy",source:eC,className:"aspect-h-[190] aspect-w-[177] w-full overflow-hidden rounded-[8px]",imgClassName:"size-full object-contain"}),(0,n.jsx)("div",{className:"absolute bottom-[20px] left-[0]",children:eD()}),eB&&(0,n.jsx)("div",{className:"absolute bottom-[0] right-[0] w-[38%]",children:(0,n.jsx)(N.Z,{loading:"lazy",source:eC,className:"aspect-square w-full drop-shadow-[0_8px_16px_rgba(0,0,0,0.45)]",imgClassName:"size-full object-contain"})})]}),(0,n.jsx)("div",{className:"mt-[8px] flex items-baseline gap-[8px] leading-[1]",children:(null==q?void 0:q.price)||(null==q?void 0:q.basePrice)?(0,n.jsxs)(n.Fragment,{children:[(null==q?void 0:q.price)&&(0,n.jsx)("span",{className:F()("text-[14px] font-[700]",eA?"text-white":"text-[#333]"),children:q.price}),(null==q?void 0:q.basePrice)&&(0,n.jsx)("span",{className:F()("text-[14px] font-[700] line-through",eA?"text-[#999]":"text-[#6D6D6F]"),children:q.basePrice})]}):ew?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:F()("text-[14px] font-[700]",eA?"text-white":"text-[#333]"),children:ec}),ex&&(0,n.jsx)(y.Z,{className:"text-[12px] font-[600] text-[#8a8a8e]",html:((null==M?void 0:M.savedText)||"Saved $price").replace("$price",ex)})]}):(0,n.jsx)("span",{className:F()("text-[14px] font-[700]",eA?"text-[#999]":"text-[#6D6D6F]"),children:ed||(null==V?void 0:V.soldOut)})}),(0,n.jsx)(y.Z,{className:F()("mt-[8px] line-clamp-2 min-h-[32px] w-full text-left text-[12px] font-[700] leading-[1.3]",eA?"text-white":"text-[#1D1D1F]"),html:(null==q?void 0:q.name)||(null==P?void 0:P.name)}),(0,n.jsx)("div",{className:"mt-[8px] flex flex-wrap gap-[5px]",children:eR()})]}):(0,n.jsxs)("div",{className:"flex h-full flex-col",children:[(0,n.jsxs)("div",{className:F()("group aspect-h-[353] aspect-w-[331] relative w-full cursor-pointer overflow-hidden rounded-[8px]",!Q&&"bg-[#1E2024]"),style:Q&&(null==q?void 0:q.hoverBg)?{backgroundColor:q.hoverBg}:void 0,onMouseEnter:()=>ee(!0),onMouseLeave:()=>ee(!1),onClick:e=>{var l,t;null!==(l=(t=e.target).closest)&&void 0!==l&&l.call(t,".swatchBtn")||eS()},role:"button",tabIndex:0,onKeyDown:e=>
1{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),eS())},"aria-label":"View details for ".concat((null==q?void 0:q.name)||(null==P?void 0:P.name)),children:[eB&&(0,n.jsx)(N.Z,{loading:"lazy",source:"".concat(ey).concat((null==q?void 0:q.sceneImageMob)?", ".concat(q.sceneImageMob," 768"):""),className:F()("absolute inset-0 size-full transition-opacity duration-300",eF?"opacity-0":"opacity-100"),imgClassName:"size-full object-cover"}),(0,n.jsx)("div",{className:F()("absolute inset-0 flex size-full items-center justify-center transition-opacity duration-300",eF?"opacity-100":"opacity-0","rounded-[12px] border-[1px] border-[#fff] border-opacity-20"),style:{background:"linear-gradient(180deg, rgba(30, 32, 36, 0.20) 27.75%, rgba(105, 118, 180, 0.20) 104.4%, rgba(148, 170, 210, 0.20) 158.37%), rgba(0, 0, 0, 0.20)"},children:(0,n.jsx)(N.Z,{loading:"lazy",source:eC,className:"size-full",imgClassName:"size-full object-contain"})}),(0,n.jsx)("div",{className:F()("absolute inset-x-0 flex items-end justify-center pb-[12px] transition-opacity duration-300",Q||!eB?"opacity-100":"pointer-events-none opacity-0"),children:eD()})]}),(0,n.jsxs)("div",{className:"mt-[16px] flex flex-1 flex-col l:mt-[12px]",children:[(0,n.jsx)(y.Z,{className:F()("line-clamp-3 min-h-[70px] w-full text-left text-[18px] font-[700] leading-[1.3] l:text-[14px]",eA?"text-white":"text-[#1D1D1F]"),html:(null==q?void 0:q.name)||(null==P?void 0:P.name)}),(0,n.jsx)("div",{className:"mt-[8px]",children:(null==q?void 0:q.price)||(null==q?void 0:q.basePrice)?(0,n.jsxs)("p",{children:[(null==q?void 0:q.price)&&(0,n.jsx)("span",{className:F()("mr-[8px] text-[24px] font-[700] l:text-[18px]",eA?"text-white":"text-[#333]"),children:q.price}),(null==q?void 0:q.basePrice)&&(0,n.jsx)("span",{className:F()("text-[16px] font-[700] line-through l:text-[14px]",eA?"text-[#999]":"text-[#4A4C56]"),children:q.basePrice})]}):ew?(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:F()("mr-[8px] text-[24px] font-[700] l:text-[18px]",eA?"text-white":"text-[#333]"),children:ec}),eu&&eu!==ec&&(0,n.jsx)("span",{className:F()("text-[16px] font-[700] line-through l:text-[14px]",eA?"text-[#999]":"text-[#4A4C56]"),children:eu})]}):(0,n.jsx)("span",{className:F()("text-[24px] font-[700] l:text-[18px]",eA?"text-[#999]":"text-[#6D6D6F]"),children:ed||(null==V?void 0:V.soldOut)})}),(0,n.jsx)("div",{className:"mt-[12px] flex flex-wrap gap-[10px] l:mt-[8px] l:gap-[4px]",children:eR()})]})]})};let eA=()=>{requestAnimationFrame(()=>{eT.ScrollTrigger.refresh()})},eR=function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;(0,a.useEffect)(()=>{let t=null==e?void 0:e.current;if(!t||"undefined"==typeof ResizeObserver)return;let n=null,i=t.offsetHeight,o=new ResizeObserver(()=>{let e=t.offsetHeight;Math.abs(e-i)<=l||(i=e,n&&clearTimeout(n),n=setTimeout(eA,120))});return o.observe(t),()=>{n&&clearTimeout(n),o.disconnect()}},[e,l])};var eD=e=>{var l,t,i;let{data:o,pageHandle:s,metafields:d={},handleOpenProductPop:r}=e,c=(0,a.useMemo)(()=>{var e;return(null==o?void 0:null===(e=o.products)||void 0===e?void 0:e.map(e=>null==e?void 0:e.handle).filter(Boolean))||[]},[null==o?void 0:o.products]),{data:u}=(0,eE.Z)({handles:c}),x=(0,a.useMemo)(()=>{var e;return null==o?void 0:null===(e=o.products)||void 0===e?void 0:e.filter(e=>{var l;return(null==u?void 0:null===(l=u.products)||void 0===l?void 0:l.find(l=>l.handle===e.handle))!=null})},[null==o?void 0:o.products,null==u?void 0:u.products]),v=(0,a.useMemo)(()=>null==x?void 0:x.map(e=>(0,ez.X)(e,u,[],{})),[x,u]);(0,a.useEffect)(()=>{(null==x?void 0:x.length)&&eA()},[x]);let p=(null!==(i=null==o?void 0:null===(l=o.styles)||void 0===l?void 0:l.theme)&&void 0!==i?i:"dark")==="dark",[m,f]=(0,a.useState)(!1),[h,g]=(0,a.useState)(!1),[b,w]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let e=()=>{f(window.innerWidth<=767),g(window.innerWidth>767&&window.innerWidth<=1024)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let j=(null==o?void 0:null===(t=o.styles)||void 0===t?void 0:t.carouselInterval)||3e3;return((0,a.useEffect)(()=>
1{if(m||h)return;let e=setInterval(()=>{w(e=>!e)},j);return()=>clearInterval(e)},[m,h,j]),null==x?void 0:x.length)?(0,n.jsxs)("div",{className:"w-full overflow-hidden",children:[(null==o?void 0:o.title)&&(0,n.jsx)(y.Z,{html:o.title,className:F()("mb-[40px] text-center text-[48px] font-[700] leading-[1.2] l:mb-[24px] l:text-[32px]",p?"text-white":"text-[#000]")}),(null==o?void 0:o.desc)&&(0,n.jsx)(y.Z,{html:o.desc,className:F()("-mt-[24px] mb-[40px] text-center text-[16px] font-[600] l:-mt-[12px] l:mb-[24px] l:text-[14px]",p?"text-[#999]":"text-[#4A4C56]")}),(0,n.jsx)("div",{className:"flex overflow-x-auto md:flex-col md:!gap-[26px] l:gap-[10px] min-l:gap-[10px] min-x:gap-[20px]",children:null==x?void 0:x.map((e,l)=>(0,n.jsx)("div",{className:"w-[calc((100%-78px)/4)] md:!w-full l:w-[calc((100%-30px)/4)]",children:(0,n.jsx)(eM,{product:null==v?void 0:v[l],item:e,data:o,pageHandle:s,metafields:d,handleOpenProductPop:r,carouselPhase:b})},"".concat(null==e?void 0:e.handle,"-").concat(l)))})]}):null};let eW=["No.","Media","Review Links"],eO=["w-[8%]","w-[25%] l:w-[33%]",""],eH=e=>e>0?"border-l border-[#2A2A2E]":"";var eU=e=>{var l,t;let{data:i}=e;if(!i)return null;let{subtitle:o,table:a}=i,s=(null==a?void 0:null===(l=a.columns)||void 0===l?void 0:l.length)?a.columns:eW;return(0,n.jsxs)("div",{className:"w-full",children:[o&&(0,n.jsx)(y.Z,{html:o,className:"mb-[24px] text-left text-[14px] font-[700] leading-[1.2] text-[#F5F6F7] l:mb-[16px] l:text-[10px]"}),(null==a?void 0:null===(t=a.rows)||void 0===t?void 0:t.length)>0&&(0,n.jsx)("div",{className:"w-full overflow-x-auto rounded-[16px] bg-[#1D1D1F] font-[700] l:rounded-[12px]",children:(0,n.jsxs)("table",{className:"w-full border-collapse text-left",children:[(0,n.jsx)("thead",{children:(0,n.jsx)("tr",{className:"",children:s.map((e,l)=>(0,n.jsx)("th",{className:"px-[24px] py-[18px] text-left text-[14px] font-[700] text-[#F5F5F7] l:p-[14px] l:text-[10px] ".concat(eO[l]||""," ").concat(eH(l)),children:(0,n.jsx)(y.Z,{html:e})},l))})}),(0,n.jsx)("tbody",{children:a.rows.map((e,l)=>(0,n.jsxs)("tr",{className:"border-t border-[#2A2A2E]",children:[(0,n.jsx)("td",{className:"px-[24px] py-[10px] text-[12px] font-[700] text-[#F5F5F7] l:px-[14px] l:py-[8px] l:text-[10px]",children:(0,n.jsx)(y.Z,{html:null==e?void 0:e.no})}),(0,n.jsx)("td",{className:"border-l border-[#2A2A2E] px-[24px] py-[10px] text-[12px] font-[700] text-[#86868C] l:px-[14px] l:py-[8px] l:text-[10px]",children:(0,n.jsx)(y.Z,{html:null==e?void 0:e.media})}),(0,n.jsx)("td",{className:"border-l border-[#2A2A2E] px-[24px] py-[10px] text-[12px] font-[700] text-[#86868C] l:px-[14px] l:py-[8px] l:text-[10px]",children:(null==e?void 0:e.linkUrl)?(0,n.jsx)("a",{href:e.linkUrl,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-2 transition-colors hover:text-[#F5F5F7]",children:(0,n.jsx)(y.Z,{html:null==e?void 0:e.linkText,className:"line-clamp-1"})}):(0,n.jsx)(y.Z,{html:null==e?void 0:e.linkText,className:"line-clamp-1"})})]},l))})]})})]})},eV=t(78042);t(72599);let eY=e=>(null==e?void 0:e.image)||((null==e?void 0:e.ytbVideoId)?"https://i.ytimg.com/vi/".concat(e.ytbVideoId,"/hqdefault.jpg"):""),eK=e=>{let{item:l}=e,[t,i]=(0,a.useState)(!1);return(null==l?void 0:l.ytbVideoId)&&t?(0,n.jsx)("iframe",{src:"https://www.youtube-nocookie.com/embed/".concat(l.ytbVideoId,"?autoplay=1&rel=0"),title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"aspect-[9/16] w-full rounded-[8px]"}):(0,n.jsxs)("button",{type:"button",onClick:()=>(null==l?void 0:l.ytbVideoId)&&i(!0),className:"group relative block aspect-[9/16] w-full overflow-hidden rounded-[8px]",children:[(0,n.jsx)(N.Z,{source:eY(l),className:"size-full",imgClassName:"size-full object-cover"}),(null==l?void 0:l.ytbVideoId)&&(0,n.jsx)("span",{className:"absolute inset-0 flex items-center justify-center",children:(0,n.jsx)("span",{className:"flex size-[36px] items-center justify-center rounded-full bg-white/20 backdrop-blur-sm transition-colors group-hover:bg-white/40",children:(0,n.jsx)("svg",{width:"12",height:"14",viewBox:"0 0 12 14",f
1ill:"none",children:(0,n.jsx)("path",{d:"M12 7L0 14V0L12 7Z",fill:"white"})})})})]})};var e$=e=>{var l;let{data:t}=e;if(!t)return null;let{subtitle:i,gallery:o}=t;return(0,n.jsxs)("div",{className:"w-full",children:[i&&(0,n.jsx)(y.Z,{html:i,className:"mx-auto mb-[24px] px-[50px] text-left text-[14px] font-[700] leading-[1.2] text-[#fff] l:px-[24px]"}),(null==o?void 0:o.heading)&&(0,n.jsx)(y.Z,{className:"my-[38px] px-[50px] text-[32px] font-[700] text-[#F5F6F7] l:my-[20px] l:px-[24px] l:text-[22px]",html:o.heading}),(null==o?void 0:null===(l=o.items)||void 0===l?void 0:l.length)>0&&(0,n.jsx)(eV.tq,{breakpoints:{0:{slidesPerView:1.1,spaceBetween:12},768:{slidesPerView:3,spaceBetween:12}},className:"px-[50px] l:p-[24px]",children:o.items.map((e,l)=>(0,n.jsx)(eV.o5,{children:(0,n.jsx)(eK,{item:e})},l))})]})};let eG=e=>{var l;let{card:t}=e;return(null==t?void 0:null===(l=t.bars)||void 0===l?void 0:l.length)?(0,n.jsxs)("div",{className:"rounded-[12px] bg-[#1C1C1E] p-[16px]",children:[t.title&&(0,n.jsx)(y.Z,{html:t.title,className:"mb-[10px] text-[20px] font-[700] text-[#F5F5F7] l:text-[14px]"}),t.bars.map((e,l)=>(0,n.jsxs)("div",{className:l>0?"mt-[16px] l:mt-[10px]":"",children:[(0,n.jsxs)("div",{className:"flex items-center gap-[12px]",children:[(0,n.jsx)("div",{className:"h-[4px] flex-1 rounded-full bg-[#3A3A3E]",children:(0,n.jsx)("div",{className:"h-full rounded-full",style:{width:"".concat(Math.min(Math.max(e.percent||0,0),100),"%"),background:e.color||"#7DB9FF"}})}),e.value&&(0,n.jsx)("span",{className:"shrink-0 text-[26px] font-[700] l:text-[18px]",style:{background:e.color||"#7DB9FF",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:e.value})]}),e.label&&(0,n.jsx)(y.Z,{style:{color:(null==e?void 0:e.textColor)||"#fff"},html:e.label,className:"mt-[-10px] text-[16px] font-[700] l:mt-[-5px] l:text-[11px]"})]},l))]}):null};var eX=e=>{var l;let{data:t}=e;if(!t)return null;let{subtitle:i,stats:o,gallery:a}=t;return(0,n.jsxs)("div",{className:"w-full",children:[i&&(0,n.jsx)(y.Z,{html:i,className:"mb-[24px] text-left text-[14px] font-[700] leading-[1.2] text-[#F5F6F7]"}),(null==o?void 0:o.heading)&&(0,n.jsx)(y.Z,{html:o.heading,className:"mb-[38px] text-[32px] font-[700] text-[#F5F5F7] l:mb-[20px] l:text-[22px]"}),(null==o?void 0:null===(l=o.cards)||void 0===l?void 0:l.length)>0&&(0,n.jsx)("div",{className:"mb-[38px] grid grid-cols-2 gap-[12px] l:mb-[20px] l:grid-cols-1",children:o.cards.map((e,l)=>(0,n.jsx)(eG,{card:e},l))}),(null==a?void 0:a.heading)&&(0,n.jsx)(y.Z,{html:a.heading,className:"mb-[38px] text-[32px] font-[700] text-[#F5F5F7] l:mb-[20px] l:text-[22px]"}),(null==a?void 0:a.image)&&(0,n.jsx)(N.Z,{source:"".concat(a.image,", ").concat(a.imageMob||a.image," 769"),className:"w-full",imgClassName:"w-full rounded-[12px] object-cover"})]})},eJ=e=>{var l;let{data:t}=e,{locale:i}=(0,s.useRouter)(),{handleOpenModal:o,metafields:a}=(0,w.B)(),r=(null==a?void 0:a.pageCommon)||{},c=()=>{var e,l;let t=null===m.uv||void 0===m.uv?void 0:m.uv[i];(null===(e=window)||void 0===e?void 0:e.gtag)&&t&&(null==r?void 0:r.googleButtonClick)&&window.gtag("event",null==r?void 0:r.googleButtonClickLabel,{send_to:"".concat(t,"/").concat(r.googleButtonClick)}),(null===(l=window)||void 0===l?void 0:l.ttq)&&(null==r?void 0:r.ttqButtonClickTrack)&&window.ttq.track(null==r?void 0:r.ttqButtonClickTrack)},u=e=>{switch(null==e?void 0:e.type){case"sgs":return(0,n.jsx)(e$,{data:e});case"userReview":return(0,n.jsx)(eX,{data:e});case"mediaReview":return(0,n.jsx)(eU,{data:e});default:return(null==e?void 0:e.content)||""}},x=e=>{var l;window.innerWidth,o({title:(null==e?void 0:null===(l=e.modal)||void 0===l?void 0:l.title)||(null==e?void 0:e.text)||"",content:u(null==e?void 0:e.modal),style:{noPadding:null==e?void 0:e.noPadding,content:{maxWidth:"1000px",background:"#000",color:"#F5F5F7",fill:"#fff",borderRadius:"16px"}}})};return(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsxs)(d.W2,{className:"!z-[11] w-full pb-[20px] text-center text-[#fff] l:pb-0",children:[(null==t?void 0:t.title)&&(0,n.jsx)(y.Z,{html:t.title,className:"text-[32px] font-bold leading-none min-md:text-[48px]"}),(null==t?void 0:t.desc)&&(0,n.jsx)(y.Z,{html:t.desc,className:"mx-auto mt-2 max-w-[1104px] text-[14px] font-bold leading-[1.1] text-[#B5B7BB] min-md:mt-3 min-md:text-[18px]"}),(0,n.jsx)("div",{className:"mt-[16px] flex items-center justify-center gap-[16px] l:gap-[8px]",children:null==t?void 0:null===(l=t.buttons)||void 0===l?void 0:l.map((e,l)=>(0,n.jsx)("button",{type:"button",onClick:()=>{c(),x(e)},className:"flex h-[48px] items-center justify-center rounded-[50px] bg-[#3A3C40] px-[28px] text-[16px] font-[700] text-[#fff] transition-all duration-200 hover:bg-[rgba(255,255,255,0.2)] l:h-[36px] l:px-[10px] l:text-[12px]",children:null==e?void 0:e.text},l))})]}
1),(0,n.jsx)("div",{className:"none mx-auto size-full px-0 tablet:px-8 laptop:px-16 desktop:px-16 lg-desktop:max-w-full lg-desktop:px-[calc(50%-832px)]",children:(null==t?void 0:t.image)&&(0,n.jsx)(N.Z,{source:"".concat(t.image,", ").concat(t.imageMob||t.image," 1024"),className:"aspect-[2832/1530] w-full l:aspect-[780/924]",imgClassName:"size-full object-contain"})})]})},eQ=e=>{let{data:l}=e,[t,i]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let e=()=>i(window.innerWidth<=768);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let o=t&&(null==l?void 0:l.videoMob)||(null==l?void 0:l.video),s=t&&(null==l?void 0:l.posterMob)||(null==l?void 0:l.poster);return o||s?(0,n.jsxs)("section",{className:"relative z-[1] aspect-[1920/1555] w-full overflow-hidden l:aspect-[390/570]","aria-label":(null==l?void 0:l.title)||"Video Banner",children:[(0,n.jsx)("div",{className:"absolute inset-0 size-full",children:o?(0,n.jsx)("video",{src:o,poster:s,className:"absolute inset-0 size-full object-cover",autoPlay:!0,muted:!0,playsInline:!0,loop:!0,preload:"auto"},o):(0,n.jsx)(N.Z,{source:"".concat(s).concat((null==l?void 0:l.posterMob)?", ".concat(l.posterMob," 768"):""),className:"absolute inset-0 size-full",imgClassName:"size-full object-cover",loading:"eager"})}),(0,n.jsx)(d.W2,{className:"absolute inset-0 top-[7%] z-10 flex flex-col items-center justify-start text-center",children:(0,n.jsxs)("div",{className:"flex flex-col items-center justify-start text-center",children:[(0,n.jsx)("h2",{dangerouslySetInnerHTML:{__html:l.title},className:"inline-block bg-[linear-gradient(110deg,#7DB9FF_0%,#F4F7FF_50%,#7EAFFF_100%)] bg-clip-text text-center text-[32px] font-bold leading-[1.1] tracking-[-1px] text-transparent tablet:text-[40px] laptop:text-[60px] desktop:text-[80px] lg-desktop:text-[100px]"}),(0,n.jsx)("div",{className:"w-full pl-[10%] text-left l:p-0 l:text-center",children:(0,n.jsx)("p",{dangerouslySetInnerHTML:{__html:l.subtitle},className:"mt-[100px] max-w-[460px] text-[12px] leading-[1.2] text-white/80 l:mt-[12px] tablet:text-[14px] laptop:text-[18px]"})})]})})]}):null};let e0={lg:{aspect:"aspect-[684/480] l:aspect-[296/360]",radius:20,mobRadius:12},md:{aspect:"aspect-[404/480] l:aspect-[296/360]",radius:0,mobRadius:0}};var e1=e=>{let{data:l}=e,[t,i]=(0,a.useState)({visible:!1,youtubeId:"",videoUrl:""}),[o,s]=(0,a.useState)(null),[c,u]=(0,a.useState)(!0),[x,v]=(0,a.useState)(!1),[p,m]=(0,a.useState)(!1),f=(null==l?void 0:l.list)||[],h=Math.max(1,Math.min(Number(null==l?void 0:l.pcColumns)>0?Number(l.pcColumns):4,f.length)),g=Number(null==l?void 0:l.mobColumns)>0?Number(l.mobColumns):1.1,b=e0[(null==l?void 0:l.cardSize)==="lg"||(null==l?void 0:l.cardSize)==="md"?l.cardSize:h<=2?"lg":"md"],w=b.aspect,j=Number(null==l?void 0:l.cardRadius)>=0?Number(l.cardRadius):b.radius,k=Number(null==l?void 0:l.cardMobRadius)>=0?Number(l.cardMobRadius):b.mobRadius,C=e=>{e&&(u(e.isBeginning),v(e.isEnd),m(!(e.isBeginning&&e.isEnd)))},B=e=>{((null==e?void 0:e.youtubeId)||(null==e?void 0:e.videoUrl))&&i({visible:!0,youtubeId:(null==e?void 0:e.youtubeId)||"",videoUrl:(null==e?void 0:e.videoUrl)||""})};return(0,n.jsx)("div",{className:"w-full overflow-hidden",children:(0,n.jsxs)(d.W2,{children:[(null==l?void 0:l.title)&&(0,n.jsx)(y.Z,{html:null==l?void 0:l.title,className:"mb-[40px] text-center text-[32px] font-bold leading-[100%] tracking-[-0.04em] text-[#F5F6F7] desktop:text-[40px] lg-desktop:text-[48px]"}),(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)(eV.tq,{breakpoints:{0:{slidesPerView:g,spaceBetween:10},768:{slidesPerView:h,spaceBetween:20}},className:"!overflow-visible",onSwiper:e=>{s(e),C(e)},onSlideChange:C,onResize:C,onBreakpoint:C,children:f.map((e,l)=>(0,n.jsxs)(eV.o5,{className:"group relative cursor-pointer overflow-hidden rounded-[var(--vc-radius)] l:rounded-[var(--vc-radius-mob)]",style:{"--vc-radius":"".concat(j,"px"),"--vc-radius-mob":"".concat(k,"px")},role:"button",tabIndex:0,"aria-label":"Play video ".concat(l+1),onClick:()=>B(e),onKeyDown:l=>{("Enter"===l.key||" "===l.key)&&(l.preventDefault(),B(e))},children:[(0,n.jsx)(N.Z,{source:"".concat(null==e?void 0:e.image,", ").concat((null==e?void 0:e.imageMob)||(null==e?void 0:e.image)," 768"),className:F()(w,"w-full"),imgClassName:"size-full object-cover"}),(0,n.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-[#000]/80 via-trans
1parent to-transparent"}),(0,n.jsxs)("div",{className:"absolute bottom-0 left-0 box-border w-full p-[24px] l:p-[16px]",children:[(null==e?void 0:e.info)&&(0,n.jsxs)("div",{className:"flex w-full items-end",children:[(0,n.jsx)(y.Z,{html:null==e?void 0:e.info,className:"line-clamp-2 flex-1 text-[24px] font-[700] leading-[1.1] text-[#fff] l:line-clamp-3 l:text-[20px]"}),(0,n.jsx)("span",{"aria-hidden":"true",className:"flex size-[56px] shrink-0 items-center justify-center rounded-full bg-[#4d4d4d] transition-opacity group-hover:opacity-80 l:size-[32px]",children:(0,n.jsx)("svg",{className:"size-[24px] l:size-[16px]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",children:(0,n.jsx)("path",{d:"M16.7519 11.1674C17.3456 11.5633 17.3457 12.4357 16.752 12.8315L7.55472 18.9634C6.89017 19.4065 6 18.9301 6 18.1314L6 5.86845C6 5.06977 6.89012 4.59337 7.55467 5.03638L16.7519 11.1674Z",fill:"#F5F6F7"})})})]}),(null==e?void 0:e.title)&&(0,n.jsx)(y.Z,{html:null==e?void 0:e.title,className:"text-[32px] font-[700] leading-[1.2] text-[#fff] l:line-clamp-3 l:text-[24px]"}),(null==e?void 0:e.text)&&(0,n.jsx)(y.Z,{html:null==e?void 0:e.text,className:"mt-[4px] text-[18px] font-[700] leading-[1.2] text-[#B5B7BB] l:text-[14px]"})]})]},l))}),p&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{type:"button","aria-label":"Previous slide",disabled:c,onClick:()=>null==o?void 0:o.slidePrev(),className:F()("absolute left-[8px] top-1/2 z-10 flex size-[56px] -translate-y-1/2 items-center justify-center rounded-full bg-[#000]/40 text-[#fff] transition-opacity hover:bg-[#000]/60 l:left-[4px] l:hidden",c&&"pointer-events-none opacity-40"),children:(0,n.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M15 18l-6-6 6-6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,n.jsx)("button",{type:"button","aria-label":"Next slide",disabled:x,onClick:()=>null==o?void 0:o.slideNext(),className:F()("absolute right-[8px] top-1/2 z-10 flex size-[56px] -translate-y-1/2 items-center justify-center rounded-full bg-[#000]/40 text-[#fff] transition-opacity hover:bg-[#000]/60 l:right-[4px] l:hidden",x&&"pointer-events-none opacity-40"),children:(0,n.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M9 6l6 6-6 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]}),(0,n.jsx)(r.VideoModal,{visible:t.visible,youTubeId:t.youtubeId,videoUrl:t.videoUrl,onCloseModal:()=>i(e=>({...e,visible:!1}))})]})})},e2=e=>{var l,t,i,y,N,C,B,F;let{metafields:_,payload:T,page:Z,buildProps:S}=e,{locale:z}=(0,s.useRouter)(),{gaReady:E}=(0,p.l8)(),{pageTheme:I}=_,{components:L=[]}=T||{},P=null==Z?void 0:Z.handle,q=(null==_?void 0:_.pageCommon)||(null==T?void 0:null===(l=T.extension)||void 0===l?void 0:l.pageCommon)||{},[M,A]=(0,a.useState)(!1),[R,D]=(0,a.useState)({}),[W,O]=(0,h.V)(R,(null==R?void 0:R.sku)||""),U=(0,g.c1)(R,W,!1),V=(0,a.useCallback)(e=>{var l;let t=null!==(l=null==e?void 0:e.product)&&void 0!==l?l:e;D({...t,sku:(null==e?void 0:e.sku)||(null==t?void 0:t.sku)}),A(!0)},[]),Y=(0,a.useCallback)(()=>{D({}),A(!1)},[]),[K,$]=(0,a.useState)(!1),[G,X]=(0,a.useState)({}),Q=(0,a.useCallback)(e=>{X(e),$(!0)},[]),ee=(0,a.useCallback)(()=>{$(!1)},[]),el=(0,a.useRef)(null);return eR(el),(0,a.useEffect)(()=>{var e;let{target:l}=(0,u.parse)(window.location.search),t=l||(null===(e=window.location.hash)||void 0===e?void 0:e.slice(1))||"",n=()=>{let e=0,l=document.getElementById("TopBanner"),t=document.getElementById("header");return l&&"none"!==getComputedStyle(l).display&&(e+=l.offsetHeight),t&&"none"!==getComputedStyle(t).display&&(e+=t.offsetHeight),e},i=()=>{let e=t&&document.getElementById(t);if(document.body.offsetWidth>768){var l;if(null==T?void 0:null===(l=T.extension)||void 0===l?void 0:l.showHeaderAni){let e=document.getElementById("TopBanner"),l=document.getElementById("header"),t=document.getElementById("boardLogo");e&&(e.style.display="block"),l&&(l.style.display="block"),t&&(t.style.display="block")}if(t&&e)(0,c.Z)("#".concat(t),{duration:0,offset:-n()});else{let e=document.getElementById("ipc_template");e?(0,c.Z)(e,{duration:0,offset:0}):document.getElementById("navTop")&&(0,c.Z)("#navTop",{duration:0,offset:0})}}else t&&e&&(0,c.Z)("#".concat(t),{duration:0,offset:-n()})};i();let o=setTimeout(i,500);return()=>clearTimeout(o)},[]),(0,a.useEffect)(()=>{var e,l,t,n;if(!E)return;let i=null===m.uv||void 0===m.uv?void 0:m.uv[z];(null===(e=window)||void 0===e?void 0:e.gtag)&&i&&(null==q?void 0:q.googlePageview)&&window.gtag("event",(null==q?void 0:q.googlePageviewLabel)||"Page view",{send_to:"".concat(i,"/").concat(q.googlePageview)}),(null===(l=window)||void 0===l?void 0:l.fbq)&&(null==q?void 0:q.fbqPageviewTrack)&&(null===(n=window)||void 0===n||n.fbq("trackCustom",q.fbqPageviewTrack)),(null===(t=window)||void 0===t?void 0:t.ttq)&&(null==q?void 0:q.ttqPageViewTrack)&&window.ttq.track((null==q?void 0:q.ttqPageViewTrack)||"Page view")},[E]),(0,n.jsx)(r.AiuiProvider,{locale:z,trackingData:{pageGroup:"Activity Page_"+P},children:(0,n.jsxs)(w.O,{value:{handleOpenProductPop:V,handleOpenModal:Q,page:Z,pageHandle:P,metafields:_,payload:T,locale:z,isMobile:!1},children:[(0,n.jsx)("style",{children:"\n .fit {\n width: 100%;\n }\n #compare .openDropDown, #compare .specs-item-product-category {\n display: none;\n }\n #compare .specs-item-product-title {\n opacity: 0;\n }\n #ProductNav .product-nav-header {\n display: none;\n }\n .product-nav-amazon-wrapper .product-nav-buy-button {\n background: #FF9A00 !important;\n color: #fff !important;\n }\n .product-nav-amazon-wrapper .product-nav-buy-button:hover {\n opacity: 0.9;\n }
1\n #productdetails .scene-switcher-container .scene-switcher-media picture {\n aspect-ratio: 824 / 560;\n }\n #productdetails .scene-switcher-container {\n height: auto;\n }\n #productdetails .scene-switcher-tab-list {\n flex: 1;\n }\n #productdetails .scene-switcher-media-wrapper {\n width: 60%;\n flex: none;\n }\n #productdetails .scene-switcher-tab-item, #productdetails .border-lines-primary {\n border-color: #B5B7BB;\n }\n #productdetails .border-info-primary {\n border-color: #fff;\n border-left-width: 4px;\n }\n #productdetails .border-l-4 {\n border-left-width: 2px;\n }\n #ipc_template .ImageWithText h2 {\n font-size: 24px;\n @media (min-width: 1440px) {\n font-size: 32px;\n }\n @media (min-width: 1920px) {\n font-size: 32px;\n }\n }\n #homeMarquee div, #homeMarquee h2, #brandHighlight div {\n color: #fff;\n }\n @media (max-width: 768px) {\n #productdetails .border-info-primary {\n border-left-width: 0;\n }\n #ProductNav .product-nav-header {\n display: block;\n }\n #ProductNav .product-nav-anchors {\n width: 62%;\n }\n #ProductNav .product-nav-header {\n position: absolute;\n right: 16px;\n width: auto;\n padding: 0;\n top: 50%;\n transform: translateY(-50%);\n }\n }\n "}),(null==T?void 0:null===(t=T.extension)||void 0===t?void 0:t.showHeaderAni)&&(0,n.jsx)("style",{children:"\n #header, #TopBanner, #boardLogo {\n display: none;\n }\n @media (max-width: 768px) {\n #header, #TopBanner, #boardLogo {\n display: block;\n }\n }\n "}),(0,n.jsx)("style",{children:"\n @media (max-width: 1023px) {\n .TopbannerBox {\n z-index: 1;\n }\n }\n "}),(0,n.jsxs)("div",{id:"ipc_template",ref:el,className:o().dynamic([["9f7263cb8d0f4366",[((null==T?void 0:T.pagebgColor)||(null==T?void 0:null===(i=T.extension)||void 0===i?void 0:i.pagebgColor))&&"background: ".concat((null==T?void 0:T.pagebgColor)||(null==T?void 0:null===(y=T.extension)||void 0===y?void 0:y.pagebgColor),";")]]])+" ipc_template",children:[(0,n.jsx)(o(),{id:"9f7263cb8d0f4366",dynamic:[((null==T?void 0:T.pagebgColor)||(null==T?void 0:null===(N=T.extension)||void 0===N?void 0:N.pagebgColor))&&"background: ".concat((null==T?void 0:T.pagebgColor)||(null==T?void 0:null===(C=T.extension)||void 0===C?void 0:C.pagebgColor),";")],children:".ipc_template.__jsx-style-dynamic-selector{".concat(((null==T?void 0:T.pagebgColor)||(null==T?void 0:null===(B=T.extension)||void 0===B?void 0:B.pagebgColor))&&"background: ".concat((null==T?void 0:T.pagebgColor)||(null==T?void 0:null===(F=T.extension)||void 0===F?void 0:F.pagebgColor),";"))}),L.map((e,l)=>{var t,i,o,a,s,c;let u=(null==e?void 0:e.componentKey)||(null==e?void 0:e.blockType),x=null==e?void 0:e.style,p=(null==e?void 0:e.idx)||(null==e?void 0:null===(t=e.extra)||void 0===t?void 0:t.id)||(null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.id)||u;if(!e||"hidden"===e.display||(null==e?void 0:null===(o=e.data)||void 0===o?void 0:o.display)==="hidden")return null;switch(u){case"ipc-banner":return(0,n.jsx)("div",{id:p,children:(0,n.jsx)(r.HeroBanner,{data:e,style:x})},"ipc-banner-".concat(l));case"ipc-title":return(0,n.jsx)(d.W2,{id:p,className:u,children:(0,n.jsx)(r.Title,{data:e,style:x})},"ipc-title-".concat(l));case"ipc-spacer":return(0,n.jsx)("div",{id:p,children:(0,n.jsx)(r.Spacer,{data:e,style:x})},"ipc-spacer-".concat(l));case"ksp":return(0,n.jsx)(d.W2,{id:p,children:(0,n.jsx)(r.Ksp,{data:e,style:x})},"ksp-".concat(l));case"ImageWithText":return(0,n.jsx)(d.W2,{className:"ImageWithText",id:p,children:(0,n.jsx)(r.ImageWithText,{data:e,style:x})},"ImageWithText-".concat(l));case"ipc-mediaplayerbase":return(0,n.jsx)(d.W2,{id:p,children:(0,n.jsx)(r.MediaPlayerBase,{data:e,style:x})},"ipc-mediaplayerbase-".concat(l));case"ipc-media-scene-switcher-v2":return(0,n.jsx)(d.W2,{id:p,className:"w-full overflow-hidden",children:(0,n.jsx)(r.MediaSceneSwitcherV2,{data:e,style:x})},"MediaSceneSwitcherV2-".concat(l));case"PromotionalBar":return(0,n.jsx)(d.W2,{id:p,children:(0,n.jsx)(r.PromotionalBar,{data:e,style:x})},"PromotionalBar-".concat(l));case"DealsSectionTitle":return(0,n.jsx)(d.W2,{id:p,children:(0,n.jsx)(j.Z,{data:null==e?void 0:e.data})},"SectionTitle-".concat(l));case"ipc-graphic":return(0,n.jsx)(d.W2,{id:p,className:"overflow-hidden",children:(0,n.jsx)(r.Graphic,{data:e,style:x})},"ipc-graphic-".concat(l));case"ipc-graphicoverlay":return(0,n.jsx)(d.W2,{id:p,className:"overflow-hidden",children:(0,n.jsx)(r.GraphicOverlay,{data:e,style:x})},"ipc-graphicoverlay-".concat(l));case"ipc-faq":return(0,n.jsx)(d.W2,{id:p,className:u,children:(0,n.jsx)(r.Faq,{data:e,style:x})},"ipc-faq-".concat(l));case"ProductNav":{let t=(null==e?void 0:e.data)||e||{},i=null==t?void 0:t.buyBtn,o=(null==i?void 0:i.link)&&/amazon/i.test(i.link),d=o?(0,m.ye)(null===(s=i.link.split("/"))||void 0===s?void 0:s[(null===(a=i.link.split("/"))||void 0===a?void 0:a.length)-1],null==q?void 0:q.adCampaign,z):"",c=o?{...t,buyBtn:{...i,link:d?"".concat(i.link,"?").concat(d):i.link}}:t,u=o?{...e,...c,data:c}:e;return(0,n.jsx)("div",{className:"sticky top-0 z-[51]".concat(o?" product-nav-amazon-wrapper":""),onClick:e=>{var l,t,n,a,s;let d=null===(l=(t=e.target).closest)||void 0===l?void 0:l.call(t,".product-nav-buy-button");if(!d)return;let r=null===m.uv||void 0===m.uv?void 0:m.uv[z];
1if(o){(0,m.V9)({pageCommon:q,locale:z||"",gtagID:r,pageHandle:P,item:{text:null==i?void 0:i.text}}),e.preventDefault(),window.open(d.href,"_blank");return}(null===(n=window)||void 0===n?void 0:n.gtag)&&r&&(null==q?void 0:q.googleButtonClick)&&window.gtag("event",null==q?void 0:q.googleButtonClickLabel,{send_to:"".concat(r,"/").concat(q.googleButtonClick)}),(null===(a=window)||void 0===a?void 0:a.fbq)&&(null==q?void 0:q.fbqButtonClickTrack)&&window.fbq("trackCustom",null==q?void 0:q.fbqButtonClickTrack),(null===(s=window)||void 0===s?void 0:s.ttq)&&(null==q?void 0:q.ttqButtonClickTrack)&&window.ttq.track(null==q?void 0:q.ttqButtonClickTrack)},children:(0,n.jsx)(r.ProductNav,{data:u,style:x,id:p})},"ProductNav-".concat(l))}case"ipc-specs":return(0,n.jsx)(d.W2,{id:p,className:"overflow-hidden",children:(0,n.jsx)(r.Specs,{data:e,buildData:(0,f.ig)((0,f.co)(S),null==e?void 0:null===(c=e.data)||void 0===c?void 0:c.customPrices),style:x,onChange:e=>{var l,t,n;if(!(null==e?void 0:e.handle))return;let i=null===m.uv||void 0===m.uv?void 0:m.uv[z];(null===(l=window)||void 0===l?void 0:l.gtag)&&i&&(null==q?void 0:q.googleButtonClick)&&window.gtag("event",null==q?void 0:q.googleButtonClickLabel,{send_to:"".concat(i,"/").concat(q.googleButtonClick)}),(null===(t=window)||void 0===t?void 0:t.fbq)&&(null==q?void 0:q.fbqButtonClickTrack)&&window.fbq("trackCustom",null==q?void 0:q.fbqButtonClickTrack),(null===(n=window)||void 0===n?void 0:n.ttq)&&(null==q?void 0:q.ttqButtonClickTrack)&&window.ttq.track(null==q?void 0:q.ttqButtonClickTrack);let o="".concat("us"===z?"":"/"+z,"/products/").concat(null==e?void 0:e.handle,"?ref=").concat(null==Z?void 0:Z.handle);window.location.href=o}})},"Specs-".concat(l));case"SceneIntro":return(0,n.jsx)(eS,{id:p,data:null==e?void 0:e.data},"SceneIntro-".concat(l));case"SceneSlider":return(0,n.jsx)("div",{id:p,className:"w-full overflow-hidden bg-[#000]",children:(0,n.jsx)(eZ.Z,{data:null==e?void 0:e.data})},"SceneSlider-".concat(l));case"ImageCompareSlider":return(0,n.jsx)("div",{className:"overflow-hidden",id:p,children:(0,n.jsx)(er,{data:null==e?void 0:e.data})},"ImageCompareSlider-".concat(l));case"VideoBanner":return(0,n.jsx)("div",{id:p,children:(0,n.jsx)(eQ,{data:null==e?void 0:e.data})},"VideoBanner-".concat(l));case"TrustSection":return(0,n.jsx)("div",{id:p,children:(0,n.jsx)(eJ,{data:null==e?void 0:e.data})},"TrustSection-".concat(l));case"HeroBannerModal":return(0,n.jsx)("div",{id:p,children:(0,n.jsx)(en,{pageCommon:q,data:null==e?void 0:e.data})},"HeroBannerModal-".concat(l));case"VideoCards":return(0,n.jsx)(e1,{data:null==e?void 0:e.data});case"MediaEndorsement":return(0,n.jsx)("div",{id:p,children:(0,n.jsx)(ey,{data:null==e?void 0:e.data})},"MediaEndorsement-".concat(l));case"KspCustom":case"ksp-custom":return(0,n.jsxs)(d.W2,{id:p,children:[(0,n.jsx)(j.Z,{data:null==e?void 0:e.data}),(0,n.jsx)(ej,{data:null==e?void 0:e.data})]},"KspCustom-".concat(l));case"MemberOffer":return(0,n.jsxs)("div",{id:p,children:[(0,n.jsx)(d.W2,{children:(0,n.jsx)(j.Z,{data:null==e?void 0:e.data})}),(0,n.jsx)(e_,{data:null==e?void 0:e.data})]},"MemberOffer-".concat(l));case"EarlyBirdDeals":return(0,n.jsx)("div",{id:p,children:(0,n.jsx)(H,{data:null==e?void 0:e.data,metafields:_,pageHandle:P})},"EarlyBirdDeals-".concat(l));case"EarlyBirdLottery":return(0,n.jsx)("div",{id:p,children:(0,n.jsx)(J,{data:null==e?void 0:e.data,metafields:_,pageHandle:P})},"EarlyBirdLottery-".concat(l));case"homeMarquee":case"HomeMarquee":return(0,n.jsx)("div",{id:p,className:"relative w-full",children:(0,n.jsx)(eo,{data:null==e?void 0:e.data,pageHandle:P})},"HomeMarquee-".concat(l));case"brandHighlight":case"BrandHighlight":return(0,n.jsx)("div",{id:p,className:"relative w-full",children:(0,n.jsx)(k,{data:null==e?void 0:e.data})},"BrandHighlight-".concat(l));case"CustomProductsList":return(0,n.jsx)(d.W2,{id:p,children:(0,n.jsx)(v.Z,{data:null==e?void 0:e.data,pageHandle:P,metafields:_,isMobile:!1,handleOpenProductPop:V})},"CustomProductsList-".concat(l));case"sceneShelf":case"SceneShelf":return(0,n.jsx)(d.W2,{id:p,className:"min-h-[700px]",children:(0,n.jsx)(eD,{data:null==e?void 0:e.data,pageHandle:P,metafields:_,handleOpenProductPop:V})},"SceneShelf-".concat(l));default:return null}})]}),M&&(0,n.jsx)(x.Z,{product:R,pageHandle:P,sku:null==R?void 0:R.sku,metafields:{..._,productInfos:{...null==_?void 0:_.productInfos,__forceShowPurchaseButtons:!0}},variant:U,selectedOptions:W,setSelectedOptions:O,setOpenProductPop:Y,pageCommon:q},"".concat(null==R?void 0:R.handle,"-").concat(null==R?void 0:R.sku)),(0,n.jsx)(b.Z,{isOpen:K,onClose:ee,title:G.title,content:G.content,style:G.style}),I&&(0,n.jsx)("style",{children:I})]})})}},93911:function(e,l,t){"use strict";
1var n=t(52676),i=t(82187),o=t.n(i),a=t(10065),s=t(80843),d=t(57278),r=t(38459),c=t(18659);l.Z=e=>{var l;let{data:t,pageHandle:i,id:u,isMobile:x,playAni:v,hasAni:p,cns:m={}}=e;return(0,n.jsx)("section",{className:"layer",children:(0,n.jsxs)("div",{className:"content leading-[1.4] text-[#1D1D1F]",children:[(0,n.jsx)(d.Z,{data:t,pageHandle:i,id:u,playAni:v,hasAni:p}),(0,n.jsx)("div",{className:o()("border-b border-[#ddd] pb-[24px] md:pb-[12px]",null==m?void 0:m.MarqueeContainer),children:(0,n.jsx)(s.Z,{speed:x?25:30,direction:"right",gradientWidth:0,style:{display:"flex"},onFinish:()=>null===a.ScrollTrigger||void 0===a.ScrollTrigger?void 0:a.ScrollTrigger.refresh(),children:null==t?void 0:null===(l=t.list)||void 0===l?void 0:l.map((e,l)=>(0,n.jsxs)("div",{className:"mr-[60px] md:!mr-[24px] xl:mr-[48px]",children:[(0,n.jsx)(r.Z,{className:"text-[32px] font-[700] l:!text-[20px] xl:text-[26px]",html:null==e?void 0:e.tit}),(0,n.jsx)(r.Z,{className:"mt-[4px] text-[16px] font-[600] text-[#6D6D6F] l:!text-[12px] xl:text-[14px]",html:null==e?void 0:e.desc}),(null==e?void 0:e.icon)&&(0,n.jsx)(c.Z,{className:"w-[120px] xl:w-[72px]",source:null==e?void 0:e.icon})]},l))})})]})})}},85549:function(e){e.exports={checkboxWrap:"SubscribeForm_checkboxWrap__fePxz",checkbox:"SubscribeForm_checkbox__spOeL",policy:"SubscribeForm_policy__b0NSS"}},77339:function(e){e.exports={checkboxWrap:"LotteryForm_checkboxWrap__VE3H1",checkbox:"LotteryForm_checkbox__1hlvu",policy:"LotteryForm_policy__idg6o"}},73387:function(e){e.exports={handle:"ImageCompareSlider_handle__q5K_r",handleIcon:"ImageCompareSlider_handleIcon__F8VeI",hitArea:"ImageCompareSlider_hitArea__1UIH9",divider:"ImageCompareSlider_divider__octCg"}},80843:function(e,l,t){var n=t(75271),i=n&&"object"==typeof n&&"default"in n?n:{default:n};!function(e){if(!e||"undefined"==typeof window)return;let l=document.createElement("style");l.setAttribute("type","text/css"),l.innerHTML=e,document.head.appendChild(l)}('.rfm-marquee-container {\n overflow-x: hidden;\n display: flex;\n flex-direction: row;\n position: relative;\n width: var(--width);\n transform: var(--transform);\n}\n.rfm-marquee-container:hover div {\n animation-play-state: var(--pause-on-hover);\n}\n.rfm-marquee-container:active div {\n animation-play-state: var(--pause-on-click);\n}\n\n.rfm-overlay {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n.rfm-overlay::before, .rfm-overlay::after {\n background: linear-gradient(to right, var(--gradient-color), rgba(255, 255, 255, 0));\n content: "";\n height: 100%;\n position: absolute;\n width: var(--gradient-width);\n z-index: 2;\n pointer-events: none;\n touch-action: none;\n}\n.rfm-overlay::after {\n right: 0;\n top: 0;\n transform: rotateZ(180deg);\n}\n.rfm-overlay::before {\n left: 0;\n top: 0;\n}\n\n.rfm-marquee {\n flex: 0 0 auto;\n min-width: var(--min-width);\n z-index: 1;\n display: flex;\n flex-direction: row;\n align-items: center;\n animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n animation-play-state: var(--play);\n animation-delay: var(--delay);\n animation-direction: var(--direction);\n}\n@keyframes scroll {\n 0% {\n transform: translateX(0%);\n }\n 100% {\n transform: translateX(-100%);\n }\n}\n\n.rfm-initial-child-container {\n flex: 0 0 auto;\n display: flex;\n min-width: auto;\n flex-direction: row;\n align-items: center;\n}\n\n.rfm-child {\n transform: var(--transform);\n}');let o=n.forwardRef(function({style:e={},className:l="",autoFill:t=!1,play:o=!0,pauseOnHover:a=!1,pauseOnClick:s=!1,direction:d="left",speed:r=50,delay:c=0,loop:u=0,gradient:x=!1,gradientColor:v="white",gradientWidth:p=200,onFinish:m,onCycleComplete:f,onMount:h,children:g},b){let[w,j]=n.useState(0),[y,N]=n.useState(0),[k,C]=n.useState(1),[B,F]=n.useState(!1),_=n.useRef(null),T=b||_,Z=n.useRef(null),S=n.useCallback(()=>{if(Z.current&&T.current){let e=T.current.getBoundingClientRect(),l=Z.current.getBoundingClientRect(),n=e.width,i=l.width;("up"===d||"down"===d)&&(n=e.height,i=l.height),t&&n&&i?C(i<n?Math.ceil(n/i):1):C(1),j(n),N(i)}},[t,T,d]);n.useEffect(()=>{if(B&&(S(),Z.current&&T.current)){let e=new ResizeObserver(()=>S());return e.observe(T.current),e.observe(Z.current),()=>{e&&e.disconnect()}}},[S,T,B]),n.useEffect(()=>{S()},[S,g]),n.useEffect(()=>{F(!0)},[]),n.useEffect(()=>{"function"==typeof h&&h()},[]);let z=n.useMemo(()=>t?y*k/r:y<w?w/r:y/r,[t,w,y,k,r]),E=n.useMemo(()=>Object.assign(Object.assign({},e),{"--pause-on-hover":!o||a?"paused":"running","--pause-on-click":!o||a&&!s||s?"paused":"running","--width":"up"===d||"down"===d?"100vh":"100%","--transform":"up"===d?"rotate(-90deg)":"down"===d?"rotate(90deg)":"none"}),[e,o,a,s,d]),I=n.useMemo(()=>({"--gradient-color":v,"--gradient-width":"number"==typeof p?`${p}px`:p}),[v,p]),L=n.useMemo(()=>
1({"--play":o?"running":"paused","--direction":"left"===d?"normal":"reverse","--duration":`${z}s`,"--delay":`${c}s`,"--iteration-count":u?`${u}`:"infinite","--min-width":t?"auto":"100%"}),[o,d,z,c,u,t]),P=n.useMemo(()=>({"--transform":"up"===d?"rotate(90deg)":"down"===d?"rotate(-90deg)":"none"}),[d]),q=n.useCallback(e=>[...Array(Number.isFinite(e)&&e>=0?e:0)].map((e,l)=>i.default.createElement(n.Fragment,{key:l},n.Children.map(g,e=>i.default.createElement("div",{style:P,className:"rfm-child"},e)))),[P,g]);return B?i.default.createElement("div",{ref:T,style:E,className:"rfm-marquee-container "+l},x&&i.default.createElement("div",{style:I,className:"rfm-overlay"}),i.default.createElement("div",{className:"rfm-marquee",style:L,onAnimationIteration:f,onAnimationEnd:m},i.default.createElement("div",{className:"rfm-initial-child-container",ref:Z},n.Children.map(g,e=>i.default.createElement("div",{style:P,className:"rfm-child"},e))),q(k-1)),i.default.createElement("div",{className:"rfm-marquee",style:L},q(k))):null});l.Z=o},67779:function(e,l,t){"use strict";var n=t(75271);let i=n.forwardRef(function(e,l){let{title:t,titleId:i,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":i},o),t?n.createElement("title",{id:i},t):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"}))});l.Z=i},79335:function(e,l,t){"use strict";var n=t(75271);let i=n.forwardRef(function(e,l){let{title:t,titleId:i,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":i},o),t?n.createElement("title",{id:i},t):null,n.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.72 6.97a.75.75 0 1 0-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06L12 13.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L13.06 12l1.72-1.72a.75.75 0 1 0-1.06-1.06L12 10.94l-1.72-1.72Z",clipRule:"evenodd"}))});l.Z=i}}]);
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.