(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]||(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]=[])).push(["object"==typeof document?document.currentScript:void 0,920654,e=>{"use strict";var t=e.i(546446),r=e.i(725287),o=e.i(499239);e.s(["useCart",0,function(){let e=(0,r.useSearchParams)().get("products"),[n,a]=(0,t.useAtom)(o.cartProductIdAtom);return{productId:e||n,setProductId:a}}])},171176,e=>{"use strict";var t=e.i(902875),r=e.i(247865),o=e.i(990420),n=e.i(732520),a=e.i(924689),i=e.i(581014),s=e.i(695881),l=e.i(553329),c=e.i(790010),u=e.i(226843),d=e.i(61284),m=e.i(13635),p=e.i(963630),g=e.i(576816),f=e.i(782847),h=e.i(617145),w=e.i(477728),v=e.i(111643),y=e.i(206458),C=e.i(539353),b=e.i(964937),x=e.i(269767),P=e.i(825440),k=e.i(677988),S=e.i(681488),E=e.i(877957),I=e.i(368847),A=e.i(240058),M=e.i(837879),j=e.i(609958),T=e.i(723356),N=e.i(558802),L=e.i(422825),R=e.i(918462),V=e.i(725287),O=e.i(528600),D=e.i(526824),F=e.i(725296),U=e.i(394481),z=e.i(703123),H=e.i(546446),W=e.i(499239),G=e.i(920654);let _=(0,s.createLogger)("SignupForm"),J={signupPage:{startAbandon:"signup",complete:"account page"},checkout:{startAbandon:"checkout",complete:"subscription page"}};e.s(["default",0,({signupBtnText:e,redirectToCheckoutOnSignup:s=!1,analyticsSurface:B="checkout",showLastName:K=!1,hideConfirmPassword:Y=!1})=>{let $=J[B],q=(0,i.useTranslations)("UserAuth"),{signup:Z,authRedirect:X}=(0,c.useUserSignup)(),{updateEmailSubscriptions:Q}=(0,L.useEmailPreferences)({skipStatus:!0}),[ee,et]=(0,r.useState)(!1),[er,eo]=(0,r.useState)(null),[en,ea]=(0,r.useState)(!1),{user:ei}=(0,O.useUser)(),es=(0,M.useSubscriptionsEnabled)(),el=(0,H.useAtomValue)(U.privacyRegimeAtom)??F.default.EXEMPT,ec=(0,V.useParams)()?.locale||"",eu=ei?.isUserLoggedIn||!1,{legalLinks:ed}=(0,R.useFooterLinks)(el,ec,eu),{productId:em}=(0,G.useCart)(),ep=(0,H.useAtomValue)(W.eventChainIdAtom),eg=(0,H.useSetAtom)(z.gsiEmailStatesAtom),{setUserLastName:ef}=(0,D.useUserLastName)(),eh=(0,r.useMemo)(()=>a.z.object({firstName:a.z.string().min(1,{error:q("firstNameRequired")}),lastName:a.z.string(),email:a.z.email({message:q("invalidEmailError")}),password:a.z.string().min(8,{message:q("passwordMinLength")}).regex(/\d/,{message:q("passwordDigitRequired")}).regex(/[^A-Za-z0-9\s]/,{message:q("passwordSpecialChar")}),confirmPassword:Y?a.z.string():a.z.string().min(1,{message:q("confirmPasswordRequired")}),newsletterEmails:a.z.boolean().optional(),weeklyEmails:a.z.boolean().optional(),marketingEmails:a.z.boolean().optional(),onYourRadarEmails:a.z.boolean().optional()}).refine(e=>Y||e.password===e.confirmPassword,{message:q("passwordsMustMatch"),path:["confirmPassword"]}).refine(e=>!K||e.lastName.trim().length>0,{message:q("lastNameRequired"),path:["lastName"]}),[q,K,Y]),ew=(0,o.useForm)({resolver:(0,n.zodResolver)(eh),defaultValues:{firstName:"",lastName:"",email:"",password:"",confirmPassword:""}}),[ev,ey,eC,eb]=ew.watch(["newsletterEmails","weeklyEmails","onYourRadarEmails","marketingEmails"]);(0,r.useEffect)(()=>eg({newsletter:ev,weekly:ey,onYourRadar:eC,marketing:eb}),[eg,ev,ey,eC,eb]);let ex=(0,h.usePurchaseSourceAttributes)(),eP=(0,m.useSignupStart)({formVariant:$.startAbandon,sourcePage:ex.sourcePage,sourceModule:ex.sourceModule??null,sourceElement:ex.sourceElement??null}),ek=(0,v.useSignupStart)({formVariant:$.startAbandon,url:"/subscribe/checkout/signup",sourcePage:ex.sourcePage,sourceModule:ex.sourceModule??null,sourceElement:ex.sourceElement??null});(0,r.useEffect)(()=>{eP(),ek()},[eP,ek]),(0,p.useSignupAbandon)({formVariant:$.startAbandon,sourcePage:ex.sourcePage,sourceModule:ex.sourceModule??null,sourceElement:ex.sourceElement??null}),(0,y.useSignupAbandon)({formVariant:$.startAbandon,url:"/subscribe/checkout/signup",sourcePage:ex.sourcePage,sourceModule:ex.sourceModule??null,sourceElement:ex.sourceElement??null,sourceUpsellPlacement:ex.sourceUpsellPlacement,disabled:en});let eS=(0,f.usePurchaseStart)({step:1,url:"/subscribe/checkout/signup",accountCreated:!1,accountLogin:!1,completed:!1,eventChainId:ep||"",premiumProductId:em}),eE=(0,w.usePurchaseStart)({step:1,url:"/subscribe/checkout/signup",accountCreated:!1,accountLogin:!1,completed:!1,eventChainId:ep||"",premiumProductId:em}),eI=(0,b.useTrackSubscriptionAttempted)();(0,r.useEffect)(()=>{eS(),eE(),eI({step:"account",url:"/subscribe/checkout/signup",completed:!1,eventChainId:ep||""})},[eS,eE,eI,ep]);let eA=(0,g.useSignupComplete)({formVariant:$.complete,sensitiveDataAuthorization:!0,deviceTimeZone:"u">typeof Intl?Intl.DateTimeFormat().resolvedOptions().timeZone:void 0}),eM=(0,C.useSignupComplete)({formVariant:$.complete,url:"/subscribe/checkout/signup",newsletterOptedIn:ev??!1,marketingOptedIn:eb??!1,sourcePage:ex.sourcePage,sourceModule:ex.sourceModule??null,sourceElement:ex.sourceElement??null}),ej=(0,r.useMemo)(()=>ed.find(e=>"termsOfUse"===e.titleTranslationKey),[ed]),eT=(0,r.useMemo)(()=>ed.find(e=>"privacyPolicy"===e.titleTranslationKey),[ed]),eN=async e=>{let{success:t,error:r}=await Z({firstName:e.firstName,email:e.email,password:e.password},!1,{skipSignupCompleteEvent:!0});if(!t){eo((0,u.getErrorCodeMessage)(r.messageCode)),et(!1);return}(ea(!0),K&&e.lastName&&ef(e.email,e.lastName),await eA(),eM(),await Q({newsletter:e.newsletterEmails,weekly:e.weeklyEmails,onYourRadar:e.onYourRadarEmails,marketing:e.marketingEmails}).catch(e=>{_.error("Failed to update email subscriptions",e)}),es&&s)?X(d.PROMO_CHECKOUT_URL):X()},eL=async e=>{et(!0),eo(null);let{error:t}=await (0,l.tryCatch)(eN(e));t&&(eo(q("signupGenericError")),_.error("Signup error:",t),et(!1))},eR=(0,t.jsx)(x.FormField,{control:ew.control,name:"firstName",render:({field:e})=>(0,t.jsx)(x.FormItem,{children:(0,t.jsx)(x.FormControl,{children:(0,t.jsx)(P.Input,{...e,label:q("firstName"),icon:T.Person})})})}),eV=(0,t.jsx)(x.FormField,{control:ew.control,name:"password",render:({field:e})=>(0,t.jsx)(x.FormItem,{children:(0,t.jsx)(x.FormControl,{children:(0,t.jsx)(k.PasswordInput,{...e,label:q("password"),icon:N.Locked})})})});return(0,t.jsxs)("div",{className:"@container",children:[er&&(0,t.jsx)(I.Text,{color:"error",className:"mb-4",children:er}),(0,t.jsx)(x.Form,{...ew,children:(0,t.jsxs)("form",{onSubmit:ew.handleSubmit(eL),children:[K?(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-0 @lg:grid-cols-2 @lg:gap-8",children:[eR,(0,t.jsx)(x.FormField,{control:ew.control,name:"lastName",render:({field:e})=>(0,t.jsx)(x.FormItem,{children:(0,t.jsx)(x.FormControl,{children:(0,t.jsx)(P.Input,{...e,label:q("lastName"),icon:T.Person})})})})]}):eR,(0,t.jsx)(x.FormField,{control:ew.control,name:"email",render:({field:e})=>(0,t.jsx)(x.FormItem,{children:(0,t.jsx)(x.FormControl,{children:(0,t.jsx)(P.Input,{...e,label:q("email"),icon:j.Email})})})}),Y?eV:(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-0 @lg:grid-cols-2 @lg:gap-8",children:[eV,(0,t.jsx)(x.FormField,{control:ew.control,name:"confirmPassword",render:({field:e})=>(0,t.jsx)(x.FormItem,{children:(0,t.jsx)(x.FormControl,{children:(0,t.jsx)(k.PasswordInput,{...e,label:q("confirmPassword"),icon:N.Locked})})})})]}),es&&(0,t.jsxs)("div",{className:"px-6",children:[(0,t.jsx)(x.FormField,{control:ew.control,name:"newsletterEmails",render:({field:{value:e,onChange:r,...o}})=>(0,t.jsx)(S.Checkbox,{...o,checked:e,onCheckedChange:r,label:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("strong",{className:"contents",children:"Morning Brief:"})," ","Your local forecast, plus weather insights, stunning photos and our meteorologists’ top picks. All in one place, every morning."]}),wrapperClassName:"mb-4.5",labelClassName:"text-[13px]",leftPos:!0})}),(0,t.jsx)(x.FormField,{control:ew.control,name:"weeklyEmails",defaultValue:!0,render:({field:{value:e,onChange:r,...o}})=>(0,t.jsx)(S.Checkbox,{...o,checked:e,onCheckedChange:r,label:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("strong",{className:"contents",children:"Weekly Brief:"})," ","Prefer a weekly summary? Get personalized weather information and analysis from our experts. Stay informed and prepared."]}),wrapperClassName:"mb-4.5",labelClassName:"text-[13px]",leftPos:!0})}),(0,t.jsx)(x.FormField,{control:ew.control,name:"onYourRadarEmails",defaultValue:!0,render:({field:{value:e,onChange:r,...o}})=>(0,t.jsx)(S.Checkbox,{...o,checked:e,onCheckedChange:r,label:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("strong",{className:"contents",children:"On Your Radar:"})," a weekly newsletter that highlights new products, tools, and features you need to know about."]}),wrapperClassName:"mb-4.5",labelClassName:"text-[13px]",leftPos:!0})}),(0,t.jsx)(x.FormField,{control:ew.control,name:"marketingEmails",defaultValue:!0,render:({field:{value:e,onChange:r,...o}})=>(0,t.jsx)(S.Checkbox,{...o,checked:e,onCheckedChange:r,label:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("strong",{className:"contents",children:"Offers & Promotions:"})," ","Stop paying full price – our curated offers deliver hand-picked discounts and product reviews across everything from outdoor gear to home essentials, so you never miss out on the sales."]}),wrapperClassName:"mb-4.5",labelClassName:"text-[13px]",leftPos:!0})})]}),(0,t.jsx)(I.Text,{className:"my-4 py-2.5 text-[13px] font-normal",children:q.rich("agreeTermsContinue",{termsOfUse:e=>(0,t.jsx)(A.default,{href:ej?.url||"",className:"text-blue-600 underline",children:e}),privacyPolicy:e=>(0,t.jsx)(A.default,{href:eT?.url||"",className:"text-blue-600 underline",children:e})})}),(0,t.jsx)(E.Button,{type:"submit",loading:ee,disabled:ee,className:"bg-brand-300 h-12 w-full leading-[1.5] font-bold",children:e||q("signup")})]})})]})}])},243083,e=>{"use strict";var t=e.i(247865),r=e.i(546446),o=e.i(128541),n=e.i(542675),a=e.i(777638);e.s(["usePurchaseSourceAttributes",0,()=>{let e=(0,r.useAtomValue)(o.purchaseSourceAttributionAtom),i=(0,n.parseTpcc)((0,a.getTpcc)()),s=e?.sourcePage??i.sourcePage,l=e?.sourceModule??i.sourceModule,c=e?.sourceElement??i.sourceElement,u=e?.sourceUpsellPlacement??i.sourceUpsellPlacement;return(0,t.useMemo)(()=>({...s&&{sourcePage:s},...l&&{sourceModule:l},...c&&{sourceElement:c},...u&&{sourceUpsellPlacement:u}}),[s,l,c,u])}])},477728,111643,206458,964937,653747,681488,526824,e=>{"use strict";var t=e.i(247865),r=e.i(546446),o=e.i(540768),n=e.i(682142),a=e.i(782937),i=e.i(695881),s=e.i(333350),l=e.i(64412),c=e.i(950771),u=e.i(537989),d=e.i(695203),m=e.i(673915),p=e.i(158662),g=e.i(243083),f=e.i(358273),h=e.i(777638),w=e.i(727365),v=e.i(896363),y=e.i(924776),C=e.i(605781);let b=(0,i.createLogger)("usePurchaseStart"),x=["SUN","MON","TUE","WED","THU","FRI","SAT"],P=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),k=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]),S=["appVersion","premiumProductId","physicalState"];e.s(["usePurchaseStart",0,e=>{let i=(0,r.useAtomValue)(u.pageIdAtom),E=(0,r.useAtomValue)(c.pageLocaleAtom),I=(0,r.useAtomValue)(d.deviceClassAtom),{location:A,isLoading:M}=(0,l.useLocation)(),j=(0,r.useAtomValue)(m.fromStringAtom),T=(0,r.useAtomValue)(p.experimentJoinListAtom),N=(0,g.usePurchaseSourceAttributes)(),L=(0,y.useIsHightouchReady)(),R=(0,t.useRef)(!1),{step:V,url:O,accountCreated:D,accountLogin:F,completed:U,eventChainId:z,premiumProductId:H}=e,W=(0,t.useMemo)(()=>{if(!s.default)return null;let e=(0,n.getCICookie)(),t=e?.["TWC-GeoIP-Country"]??(0,o.getCookie)("twc-location-country"),r=e?.["TWC-GeoIP-Region"]??(0,o.getCookie)("twc-location-region"),l=e?.["TWC-Privacy"]??(0,o.getCookie)("twc-privacy"),c=window.DprSdk?.getGdprConsentOptInsString()??"",u=window.navigator?.globalPrivacyControl??!1,d=c?.includes("functional-technology")??!1,m=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,p=navigator?.cookieEnabled??!1,g=(0,o.getCookie)("partner")||"",y=(0,a.getPartnerByPattern)(g)??g,C=(0,f.getMetricsSession)(),b=C?.sessionId||"",S=C?.sessionStartTime||0,M=new Date,L=M.getHours(),R=x[M.getDay()]??"",W=-M.getTimezoneOffset()/60,G=document.referrer,_=(0,w.normalizeWlocType)(A?.type),J=A?.featureSource??null;return{step:String(V),accountCreated:D??!1,accountLogin:F??!1,completed:U??!1,eventChainID:z,premiumProductId:H??null,url:O??"",pageId:i,schemaVersion:"nextgen",sessionId:b,sessionStartTime:S,locale:E,partner:y,deviceClass:I,wlocCity:A?.city??void 0,wlocCountry:A?.countryCode??null,wlocState:A?.adminDistrictCode??void 0,wlocDMA:A?.dmaCd??void 0,wlocId:A?.placeId??null,wlocFeatureSource:null!=J&&k.has(J)?J:void 0,wlocTags:A?.tags?.length?(0,v.parseArrayToString)(A.tags):null,wlocType:null!==_&&P.has(_)?_:void 0,wlocFeatureId:A?.featureId??null,dayOfWeek:R,regime:l??"",cookiesEnabled:p,gpcSignalOptOut:u,functionalTechnologies:d,geographicallyRelevantAds:m,priv:c,referrer:G,fromString:j,deviceTimeZone:W,hourOfDay:L,physicalCountry:t??"",physicalState:r??"",sourcePage:N.sourcePage,sourceModule:N.sourceModule??null,sourceUpsellPlacement:N.sourceUpsellPlacement??null,campaign:(0,h.getCampaign)(),tpcc:(0,h.getTpcc)(),linkReferral:(0,h.getLinkReferral)(),experimentJoinList:T,weatherMode:"normal",samsungVersion:(0,h.getSamsungVersion)(),appVersion:"c6fbd5a7980e55c71a4aafe9ccdf49dfaf7d97a9".slice(0,10)}},[V,D,F,U,z,H,O,i,E,I,A,j,T,N]),G=L&&null!==W&&!M&&S.every(e=>void 0!==W[e]);return(0,t.useCallback)(()=>{if(W&&G&&!R.current)try{(0,C.trackPurchaseStart)(W),R.current=!0,b.info(`Hightouch: Event "purchase-start" tracked - step ${V}`)}catch(e){b.error('Hightouch: Event "purchase-start" failed',{error:e})}},[W,G,V])}],477728);let E=(0,i.createLogger)("useSignupStart"),I=["SUN","MON","TUE","WED","THU","FRI","SAT"],A=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),M=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]),j=["appVersion","cookiesEnabled","dayOfWeek","deviceClass","functionalTechnologies","geographicallyRelevantAds","gpcSignalOptOut","hourOfDay","locale","pageId","partner","physicalCountry","physicalState","priv","regime","sessionId","sessionStartTime","url","wlocCity","wlocCountry","wlocDMA","wlocState"];e.s(["useSignupStart",0,(e={})=>{let i=(0,r.useAtomValue)(u.pageIdAtom),m=(0,r.useAtomValue)(c.pageLocaleAtom),g=(0,r.useAtomValue)(d.deviceClassAtom),{location:b,isLoading:x}=(0,l.useLocation)(),P=(0,r.useAtomValue)(p.experimentJoinListAtom),k=(0,y.useIsHightouchReady)(),S=(0,t.useRef)(!1),{formVariant:T,url:N,sourcePage:L,sourceModule:R,sourceElement:V,sourcePosition:O}=e,D=(0,t.useMemo)(()=>{if(!s.default)return null;let e=(0,n.getCICookie)(),t=e?.["TWC-GeoIP-Country"]??(0,o.getCookie)("twc-location-country"),r=e?.["TWC-GeoIP-Region"]??(0,o.getCookie)("twc-location-region"),l=e?.["TWC-Privacy"]??(0,o.getCookie)("twc-privacy"),c=window.DprSdk?.getGdprConsentOptInsString()??"",u=window.DprSdk?.getCcpaSaleOptInString()??"",d=window.navigator?.globalPrivacyControl??!1,p=c?.includes("functional-technology")??!1,y=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,C=navigator?.cookieEnabled??!1,x=(0,o.getCookie)("partner")||"",k=(0,a.getPartnerByPattern)(x)??x,S=(0,f.getMetricsSession)(),E=S?.sessionId||"",j=S?.sessionStartTime||0,D=new Date,F=D.getHours(),U=I[D.getDay()]??"",z=-D.getTimezoneOffset()/60,H=document.referrer,W=(0,w.normalizeWlocType)(b?.type),G=b?.featureSource??null;return{formVariant:T,url:N??"",sourcePage:L??null,sourceModule:R??null,sourceElement:V??null,sourcePosition:O??null,pageId:i??"",locale:m,deviceClass:g,sessionId:E,sessionStartTime:j,partner:k,wlocCity:b?.city??null,wlocCountry:b?.countryCode??null,wlocState:b?.adminDistrictCode??null,wlocDMA:b?.dmaCd??null,wlocId:b?.placeId??null,wlocFeatureSource:null!=G&&M.has(G)?G:void 0,wlocTags:b?.tags?.length?(0,v.parseArrayToString)(b.tags):null,wlocType:null!==W&&A.has(W)?W:void 0,wlocFeatureId:b?.featureId??null,dayOfWeek:U,regime:l??"",cookiesEnabled:C,gpcSignalOptOut:d,functionalTechnologies:p,geographicallyRelevantAds:y,priv:c,privProducts:u,referrer:H,deviceTimeZone:z,hourOfDay:F,physicalCountry:t??"",physicalState:r??"",campaign:(0,h.getCampaign)()??void 0,tpcc:(0,h.getTpcc)(),linkReferral:(0,h.getLinkReferral)(),experimentJoinList:P,weatherMode:"normal",samsungVersion:(0,h.getSamsungVersion)(),appVersion:"c6fbd5a7980e55c71a4aafe9ccdf49dfaf7d97a9".slice(0,10)}},[T,N,L,R,V,O,i,m,g,b,P]),F=k&&null!==D&&!x&&j.every(e=>void 0!==D[e]);return(0,t.useCallback)(()=>{if(D&&F&&!S.current)try{(0,C.trackSignupStart)(D),S.current=!0,E.info('Hightouch: Event "signup-start" tracked')}catch(e){E.error('Hightouch: Event "signup-start" failed',{error:e})}},[D,F])}],111643);let T=(0,i.createLogger)("useSignupAbandon"),N=["SUN","MON","TUE","WED","THU","FRI","SAT"],L=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),R=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]),V=["appVersion","cookiesEnabled","dayOfWeek","deviceClass","functionalTechnologies","geographicallyRelevantAds","gpcSignalOptOut","hourOfDay","locale","pageId","partner","physicalCountry","physicalState","priv","regime","sessionId","sessionStartTime","url","wlocCity","wlocCountry","wlocDMA","wlocState"];e.s(["useSignupAbandon",0,(e={})=>{let i=(0,r.useAtomValue)(u.pageIdAtom),m=(0,r.useAtomValue)(c.pageLocaleAtom),g=(0,r.useAtomValue)(d.deviceClassAtom),{location:b}=(0,l.useLocation)(),x=(0,r.useAtomValue)(p.experimentJoinListAtom),P=(0,y.useIsHightouchReady)(),{formVariant:k,url:S,sourcePage:E,sourceModule:I,sourceElement:A,sourcePosition:M,sourceUpsellPlacement:j,disabled:O=!1}=e,D=(0,t.useMemo)(()=>{if(!s.default)return null;let e=(0,n.getCICookie)(),t=e?.["TWC-GeoIP-Country"]??(0,o.getCookie)("twc-location-country"),r=e?.["TWC-GeoIP-Region"]??(0,o.getCookie)("twc-location-region"),l=e?.["TWC-Privacy"]??(0,o.getCookie)("twc-privacy"),c=window.DprSdk?.getGdprConsentOptInsString()??"",u=window.DprSdk?.getCcpaSaleOptInString()??"",d=window.navigator?.globalPrivacyControl??!1,p=c?.includes("functional-technology")??!1,y=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,C=navigator?.cookieEnabled??!1,P=(0,o.getCookie)("partner")||"",T=(0,a.getPartnerByPattern)(P)??P,V=(0,f.getMetricsSession)(),O=V?.sessionId||"",D=V?.sessionStartTime||0,F=new Date,U=F.getHours(),z=N[F.getDay()]??"",H=-F.getTimezoneOffset()/60,W=document.referrer,G=(0,w.normalizeWlocType)(b?.type),_=b?.featureSource??null;return{formVariant:k,url:S??"",sourcePage:E??null,sourceModule:I??null,sourceElement:A??null,sourcePosition:M??null,pageId:i??"",locale:m??null,deviceClass:g,sessionId:O,sessionStartTime:D,partner:T,wlocCity:b?.city??null,wlocCountry:b?.countryCode??null,wlocState:b?.adminDistrictCode??null,wlocDMA:b?.dmaCd??null,wlocId:b?.placeId??null,wlocFeatureSource:null!=_&&R.has(_)?_:void 0,wlocTags:b?.tags?.length?(0,v.parseArrayToString)(b.tags):null,wlocType:null!==G&&L.has(G)?G:void 0,wlocFeatureId:b?.featureId??null,dayOfWeek:z,regime:l??"",cookiesEnabled:C,gpcSignalOptOut:d,functionalTechnologies:p,geographicallyRelevantAds:y,priv:c,privProducts:u,referrer:W,deviceTimeZone:H,hourOfDay:U,physicalCountry:t??"",physicalState:r??"",sourceUpsellPlacement:j,campaign:(0,h.getCampaign)()??void 0,tpcc:(0,h.getTpcc)(),linkReferral:(0,h.getLinkReferral)(),experimentJoinList:x,weatherMode:"normal",samsungVersion:(0,h.getSamsungVersion)(),appVersion:"c6fbd5a7980e55c71a4aafe9ccdf49dfaf7d97a9".slice(0,10)}},[k,S,E,I,A,M,i,m,g,b,x,j]),F=P&&null!==D&&V.every(e=>void 0!==D[e]),U=(0,t.useRef)(D),z=(0,t.useRef)(F),H=(0,t.useRef)(O);(0,t.useEffect)(()=>{U.current=D},[D]),(0,t.useEffect)(()=>{z.current=F},[F]),(0,t.useEffect)(()=>{H.current=O},[O]),(0,t.useEffect)(()=>{let e=()=>{if(U.current&&z.current&&!H.current)try{(0,C.trackSignupAbandon)(U.current),T.info('Hightouch: Event "signup-abandon" tracked')}catch(e){T.error('Hightouch: Event "signup-abandon" failed',{error:e})}};return window.addEventListener("beforeunload",e),window.addEventListener("blur",e),()=>{window.removeEventListener("beforeunload",e),window.removeEventListener("blur",e)}},[])}],206458);var O=e.i(409628);let D=(0,i.createLogger)("useTrackSubscriptionAttempted");e.s(["useTrackSubscriptionAttempted",0,()=>{let e=(0,r.useAtomValue)(u.pageIdAtom),i=(0,r.useAtomValue)(c.pageLocaleAtom),g=(0,r.useAtomValue)(d.deviceClassAtom),w=(0,r.useAtomValue)(m.fromStringAtom),v=(0,r.useAtomValue)(p.experimentJoinListAtom),{location:b}=(0,l.useLocation)(),x=(0,y.useIsHightouchReady)(),P=(0,t.useRef)(new Set);return(0,t.useCallback)(t=>{if(!s.default)return;let r=`${t.step}:${t.completed??!1}`;if(P.current.has(r))return;if(!x)return void D.warn('Hightouch: Event "subscription-attempted" skipped - SDK not ready');let l=(0,n.getCICookie)(),c=l?.["TWC-GeoIP-Country"]??(0,o.getCookie)("twc-location-country"),u=l?.["TWC-GeoIP-Region"]??(0,o.getCookie)("twc-location-region"),d=l?.["TWC-Privacy"]??(0,o.getCookie)("twc-privacy"),m=window.DprSdk?.getGdprConsentOptInsString()??"",p=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),y=(0,o.getCookie)("partner")||"",k=(0,a.getPartnerByPattern)(y)??y,S=(0,f.getMetricsSession)(),E=new Date,I={step:t.step,url:t.url,accountCreated:t.accountCreated??!1,accountLogin:t.accountLogin??!1,completed:t.completed??!1,eventChainId:t.eventChainId,pageId:e??"",schemaVersion:"nextgen",locale:i,deviceClass:g,partner:k,sessionId:S?.sessionId||"",sessionStartTime:new Date(S?.sessionStartTime||0).toISOString(),siteMode:"normal",dayOfWeek:O.WEEK_DAYS[E.getDay()]??"",hourOfDay:E.getHours(),regime:d??"",cookiesEnabled:navigator?.cookieEnabled??!1,gpcSignalOptOut:window.navigator?.globalPrivacyControl??!1,functionalTechnologies:m.includes("functional-technology"),geographicallyRelevantAds:window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,interestBasedAds:window.DprSdk?.getUserConsent("interest-based-ads")!==!1,priv:m,privProducts:window.DprSdk?.getCcpaSaleOptInString()??"",saleOfData:p,saleOfDataAuthorization:p,sensitiveDataAuthorization:String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),referrer:document.referrer,campaign:(0,h.getCampaign)(),tpcc:(0,h.getTpcc)(),linkReferral:(0,h.getLinkReferral)(),fromString:w,experimentJoinList:v,weatherMode:"normal",physicalCountry:c??"",physicalState:u??"",wlocCity:b?.city??null,wlocCountry:b?.countryCode??null,wlocState:b?.adminDistrictCode??null,wlocDMA:b?.dmaCd??null,samsungVersion:(0,h.getSamsungVersion)(),appVersion:"c6fbd5a7980e55c71a4aafe9ccdf49dfaf7d97a9".slice(0,10)};try{let e=(0,C.trackSubscriptionAttempted)(I);return P.current.add(r),D.info('Hightouch: Event "subscription-attempted" tracked'),e}catch(e){D.error('Hightouch: Event "subscription-attempted" failed',{error:e});return}},[x,e,i,g,w,v,b])}],964937);var F=e.i(902875),U=e.i(144977),z=e.i(156207),H=e.i(291967),W=e.i(534643),G=e.i(337755),_=e.i(853233),J=e.i(127864),B=e=>{var r;let o,n,{present:a,children:i}=e,s=function(e){var r,o;let[n,a]=t.useState(),i=t.useRef(null),s=t.useRef(e),l=t.useRef("none"),[c,u]=(r=e?"mounted":"unmounted",o={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>o[e][t]??e,r));return t.useEffect(()=>{let e=K(i.current);l.current="mounted"===c?e:"none"},[c]),(0,J.useLayoutEffect)(()=>{let t=i.current,r=s.current;if(r!==e){let o=l.current,n=K(t);e?u("MOUNT"):"none"===n||t?.display==="none"?u("UNMOUNT"):r&&o!==n?u("ANIMATION_OUT"):u("UNMOUNT"),s.current=e}},[e,u]),(0,J.useLayoutEffect)(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,r=r=>{let o=K(i.current).includes(CSS.escape(r.animationName));if(r.target===n&&o&&(u("ANIMATION_END"),!s.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},o=e=>{e.target===n&&(l.current=K(i.current))};return n.addEventListener("animationstart",o),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",o),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:t.useCallback(e=>{i.current=e?getComputedStyle(e):null,a(e)},[])}}(a),l="function"==typeof i?i({present:s.isPresent}):t.Children.only(i),c=(0,U.useComposedRefs)(s.ref,(r=l,(n=(o=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?r.ref:(n=(o=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?r.props.ref:r.props.ref||r.ref));return"function"==typeof i||s.isPresent?t.cloneElement(l,{ref:c}):null};function K(e){return e?.animationName||"none"}B.displayName="Presence",e.s(["Presence",0,B],653747);var Y=e.i(556872),$="Checkbox",[q,Z]=(0,z.createContextScope)($),[X,Q]=q($);function ee(e){let{__scopeCheckbox:r,checked:o,children:n,defaultChecked:a,disabled:i,form:s,name:l,onCheckedChange:c,required:u,value:d="on",internal_do_not_use_render:m}=e,[p,g]=(0,W.useControllableState)({prop:o,defaultProp:a??!1,onChange:c,caller:$}),[f,h]=t.useState(null),[w,v]=t.useState(null),y=t.useRef(!1),C=!f||!!s||!!f.closest("form"),b={checked:p,disabled:i,setChecked:g,control:f,setControl:h,name:l,form:s,value:d,hasConsumerStoppedPropagationRef:y,required:u,defaultChecked:!el(a)&&a,isFormControl:C,bubbleInput:w,setBubbleInput:v};return(0,F.jsx)(X,{scope:r,...b,children:"function"==typeof m?m(b):n})}var et="CheckboxTrigger",er=t.forwardRef(({__scopeCheckbox:e,onKeyDown:r,onClick:o,...n},a)=>{let{control:i,value:s,disabled:l,checked:c,required:u,setControl:d,setChecked:m,hasConsumerStoppedPropagationRef:p,isFormControl:g,bubbleInput:f}=Q(et,e),h=(0,U.useComposedRefs)(a,d),w=t.useRef(c);return t.useEffect(()=>{let e=i?.form;if(e){let t=()=>m(w.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[i,m]),(0,F.jsx)(Y.Primitive.button,{type:"button",role:"checkbox","aria-checked":el(c)?"mixed":c,"aria-required":u,"data-state":ec(c),"data-disabled":l?"":void 0,disabled:l,value:s,...n,ref:h,onKeyDown:(0,H.composeEventHandlers)(r,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,H.composeEventHandlers)(o,e=>{m(e=>!!el(e)||!e),f&&g&&(p.current=e.isPropagationStopped(),p.current||e.stopPropagation())})})});er.displayName=et;var eo=t.forwardRef((e,t)=>{let{__scopeCheckbox:r,name:o,checked:n,defaultChecked:a,required:i,disabled:s,value:l,onCheckedChange:c,form:u,...d}=e;return(0,F.jsx)(ee,{__scopeCheckbox:r,checked:n,defaultChecked:a,disabled:s,required:i,onCheckedChange:c,name:o,form:u,value:l,internal_do_not_use_render:({isFormControl:e})=>(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(er,{...d,ref:t,__scopeCheckbox:r}),e&&(0,F.jsx)(es,{__scopeCheckbox:r})]})})});eo.displayName=$;var en="CheckboxIndicator",ea=t.forwardRef((e,t)=>{let{__scopeCheckbox:r,forceMount:o,...n}=e,a=Q(en,r);return(0,F.jsx)(B,{present:o||el(a.checked)||!0===a.checked,children:(0,F.jsx)(Y.Primitive.span,{"data-state":ec(a.checked),"data-disabled":a.disabled?"":void 0,...n,ref:t,style:{pointerEvents:"none",...e.style}})})});ea.displayName=en;var ei="CheckboxBubbleInput",es=t.forwardRef(({__scopeCheckbox:e,...r},o)=>{let{control:n,hasConsumerStoppedPropagationRef:a,checked:i,defaultChecked:s,required:l,disabled:c,name:u,value:d,form:m,bubbleInput:p,setBubbleInput:g}=Q(ei,e),f=(0,U.useComposedRefs)(o,g),h=(0,G.usePrevious)(i),w=(0,_.useSize)(n);t.useEffect(()=>{if(!p)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!a.current;if(h!==i&&e){let r=new Event("click",{bubbles:t});p.indeterminate=el(i),e.call(p,!el(i)&&i),p.dispatchEvent(r)}},[p,h,i,a]);let v=t.useRef(!el(i)&&i);return(0,F.jsx)(Y.Primitive.input,{type:"checkbox","aria-hidden":!0,defaultChecked:s??v.current,required:l,disabled:c,name:u,value:d,form:m,...r,tabIndex:-1,ref:f,style:{...r.style,...w,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function el(e){return"indeterminate"===e}function ec(e){return el(e)?"indeterminate":e?"checked":"unchecked"}es.displayName=ei;var eu=e.i(632137),ed=e.i(269767),em=e.i(747961);let ep=(0,t.forwardRef)(({title:e,titleId:t,desc:r,descId:o,...n},a)=>(0,F.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":t,"aria-describedby":o,...n,children:[r?(0,F.jsx)("desc",{id:o,children:r}):null,void 0===e?(0,F.jsx)("title",{id:t,children:"Checkbox Checked"}):e?(0,F.jsx)("title",{id:t,children:e}):null,(0,F.jsx)("path",{fill:"currentColor",d:"M13 2a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1zM7 9.173 5.295 7.5l-.795.771L7 10.75l.348-.346.005-.003L11.1 6.688l.005-.01.395-.389-.796-.789z"})]})),eg=t.default.forwardRef((e,t)=>(0,F.jsx)(em.BaseIcon,{ref:t,icon:ep,...e}));eg.displayName="CheckboxCheckedFilled";let ef=(0,t.forwardRef)(({title:e,titleId:t,desc:r,descId:o,...n},a)=>(0,F.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":t,"aria-describedby":o,...n,children:[r?(0,F.jsx)("desc",{id:o,children:r}):null,void 0===e?(0,F.jsx)("title",{id:t,children:"Checkbox Indeterminate"}):e?(0,F.jsx)("title",{id:t,children:e}):null,(0,F.jsxs)("g",{fill:"currentColor",children:[(0,F.jsx)("path",{d:"M11 8a1 1 0 0 0-1-1H6a1 1 0 0 0 0 2h4a1 1 0 0 0 1-1"}),(0,F.jsx)("path",{d:"M13 2H3a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1M3.5 13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5z"})]})]})),eh=t.default.forwardRef((e,t)=>(0,F.jsx)(em.BaseIcon,{ref:t,icon:ef,...e}));eh.displayName="CheckboxIndeterminate";let ew=(0,t.forwardRef)(({title:e,titleId:t,desc:r,descId:o,...n},a)=>(0,F.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":t,"aria-describedby":o,...n,children:[r?(0,F.jsx)("desc",{id:o,children:r}):null,void 0===e?(0,F.jsx)("title",{id:t,children:"Checkbox"}):e?(0,F.jsx)("title",{id:t,children:e}):null,(0,F.jsx)("path",{fill:"currentColor",d:"M13 2H3a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1M3.5 13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5z"})]})),ev=t.default.forwardRef((e,t)=>(0,F.jsx)(em.BaseIcon,{ref:t,icon:ew,...e}));function ey({className:e,checked:r,defaultChecked:o,onCheckedChange:n,...a}){let[i,s]=(0,t.useState)(void 0!==r?r:o||!1);(0,t.useEffect)(()=>{void 0!==r&&s(r)},[r]);let l="indeterminate"===i?eh:i?eg:ev;return(0,F.jsx)(eo,{"data-slot":"checkbox",className:(0,eu.cn)("peer disabled:cursor-not-allowed disabled:opacity-50",e),...a,checked:i,onCheckedChange:e=>{void 0===r&&s(e),n?.(e)},children:(0,F.jsx)(ea,{className:"flex items-center justify-center text-current transition-none","data-slot":"checkbox-indicator",forceMount:!0,children:(0,F.jsx)(l,{className:"size-6"})})})}ev.displayName="Checkbox",e.s(["Checkbox",0,({id:e,label:t,wrapperClassName:r,labelClassName:o,leftPos:n,...a})=>(0,F.jsxs)(ed.FormItem,{id:e,className:(0,eu.cn)("flex w-full gap-3",n?"flex-row-reverse justify-end":"flex-row justify-between",r),children:[(0,F.jsx)("div",{className:"pt-0.5",children:(0,F.jsx)(ed.FormLabel,{className:(0,eu.cn)(o),children:t})}),(0,F.jsx)("div",{children:(0,F.jsx)(ed.FormControl,{children:(0,F.jsx)(ey,{...a})})})]})],681488);var eC=e.i(528600);let eb=(0,e.i(284007).atomWithStorage)("upsxLastNames",{},void 0,{getOnInit:!0}),ex=e=>btoa(e.trim().toLowerCase());e.s(["useUserLastName",0,()=>{let{userProfile:e}=(0,eC.useUser)(),{email:o}=e||{},n=(0,r.useSetAtom)(eb),a=(0,r.useAtomValue)(eb),i=(0,t.useCallback)((e,t)=>{n(r=>({...r,[ex(e)]:t}))},[]);return{userLastName:a[ex(o||"")]||void 0,setUserLastName:i}}],526824)},617145,e=>{"use strict";var t=e.i(247865),r=e.i(546446),o=e.i(128541),n=e.i(542675),a=e.i(293163);e.s(["usePurchaseSourceAttributes",0,()=>{let e=(0,r.useAtomValue)(o.purchaseSourceAttributionAtom),i=(0,n.parseTpcc)((0,a.getTpcc)()),s=e?.sourcePage??i.sourcePage,l=e?.sourceModule??i.sourceModule,c=e?.sourceElement??i.sourceElement,u=e?.sourceUpsellPlacement??i.sourceUpsellPlacement;return(0,t.useMemo)(()=>({...s&&{sourcePage:s},...l&&{sourceModule:l},...c&&{sourceElement:c},...u&&{sourceUpsellPlacement:u}}),[s,l,c,u])}])},782847,e=>{"use strict";var t=e.i(247865),r=e.i(293163),o=e.i(947118),n=e.i(737801),a=e.i(617145);e.s(["usePurchaseStart",0,e=>{let i=(0,o.useIsInitialized)(),s=(0,n.useEventAttributes)(),l=(0,a.usePurchaseSourceAttributes)(),[c,u]=(0,t.useState)(!1),d=(0,t.useRef)(!1),m=(0,t.useMemo)(()=>{let t={...s,...l,url:e.url??s.url,step:e.step,accountCreated:e.accountCreated??!1,accountLogin:e.accountLogin??!1,completed:e.completed??!1,eventChainId:e.eventChainId,premiumProductId:e.premiumProductId??void 0,weatherMode:e.weatherMode??"normal",experimentJoinList:e.experimentJoinList??s.experimentJoinList,mParticleGranted:e.mParticleGranted??!0};return void 0===t.premiumProductId&&delete t.premiumProductId,void 0===t.experimentJoinList&&delete t.experimentJoinList,t},[s,l,e.step,e.url,e.accountCreated,e.accountLogin,e.completed,e.eventChainId,e.premiumProductId,e.weatherMode,e.experimentJoinList,e.mParticleGranted]);return(0,t.useEffect)(()=>{(0,r.areObjectValuesDefined)(m)&&!c&&u(!0)},[m,c]),(0,t.useCallback)(async()=>{if(i&&c&&!d.current)try{window.mParticle?.logEvent?.("purchase-start",window.mParticle?.EventType?.Other,m),d.current=!0,console.debug(`MParticle: Event "purchase-start" tracked - ${m.pageId}`)}catch(e){console.error('MParticle: Event "purchase-start" failed',e)}},[i,m,c])}])},13635,963630,e=>{"use strict";var t=e.i(247865),r=e.i(293163),o=e.i(947118),n=e.i(737801);e.s(["useSignupStart",0,(e={})=>{let a=(0,o.useIsInitialized)(),i=(0,n.useEventAttributes)(),[s,l]=(0,t.useState)(!1),c=(0,t.useRef)(!1),u=(0,t.useMemo)(()=>{let t={...i,formVariant:e.formVariant,sourcePage:e.sourcePage,sourceModule:e.sourceModule,sourceElement:e.sourceElement,sourcePosition:e.sourcePosition,experimentJoinList:e.experimentJoinList,mParticleGranted:e.mParticleGranted??!0};return void 0===t.formVariant&&delete t.formVariant,void 0===t.sourcePage&&delete t.sourcePage,void 0===t.sourceModule&&delete t.sourceModule,void 0===t.sourceElement&&delete t.sourceElement,void 0===t.sourcePosition&&delete t.sourcePosition,void 0===t.experimentJoinList&&delete t.experimentJoinList,t},[i,e.formVariant,e.sourcePage,e.sourceModule,e.sourceElement,e.sourcePosition,e.experimentJoinList,e.mParticleGranted]);return(0,t.useEffect)(()=>{(0,r.areObjectValuesDefined)(u)&&!s&&l(!0)},[u,s]),(0,t.useCallback)(async()=>{if(a&&s&&!c.current)try{window.mParticle?.logEvent?.("signup-start",window.mParticle?.EventType?.Other,u),c.current=!0,console.debug(`MParticle: Event "signup-start" tracked - ${u.pageId}`)}catch(e){console.error('MParticle: Event "signup-start" failed',e)}},[a,u,s])}],13635),e.s(["useSignupAbandon",0,(e={})=>{let r=(0,n.useEventAttributes)(),o=(0,t.useMemo)(()=>{let t={...r,formVariant:e.formVariant,sourcePage:e.sourcePage,sourceModule:e.sourceModule,sourceElement:e.sourceElement,sourcePosition:e.sourcePosition,experimentJoinList:e.experimentJoinList,mParticleGranted:e.mParticleGranted??!0};return void 0!==e.url&&(t.url=e.url),void 0!==e.tpcc&&(t.tpcc=e.tpcc),void 0!==e.linkReferral&&(t.linkReferral=e.linkReferral),void 0===t.formVariant&&delete t.formVariant,void 0===t.sourcePage&&delete t.sourcePage,void 0===t.sourceModule&&delete t.sourceModule,void 0===t.sourceElement&&delete t.sourceElement,void 0===t.sourcePosition&&delete t.sourcePosition,void 0===t.experimentJoinList&&delete t.experimentJoinList,t},[r,e.formVariant,e.sourcePage,e.sourceModule,e.sourceElement,e.sourcePosition,e.url,e.tpcc,e.linkReferral,e.experimentJoinList,e.mParticleGranted]);(0,t.useEffect)(()=>{let e=()=>{if(window.mParticle?.isInitialized?.())try{window.mParticle?.logEvent?.("signup-abandon",window.mParticle?.EventType?.Other,o),console.debug(`MParticle: Event "signup-abandon" tracked - ${o.pageId}`)}catch(e){console.error('MParticle: Event "signup-abandon" failed',e)}};return window.addEventListener("beforeunload",e),window.addEventListener("blur",e),()=>{window.removeEventListener("beforeunload",e),window.removeEventListener("blur",e)}},[o])}],963630)},542675,e=>{"use strict";let t={sourcePage:null,sourceModule:null,sourceElement:null,sourceUpsellPlacement:null};e.s(["parseTpcc",0,function(e){if(!e||"string"!=typeof e)return t;let r=e.split("-");if("mktg"!==r[0])return t;let o=r[1]||null,n=r[2]||null,a=r[3]||null,i=n&&n.toLowerCase().includes("upsell")?n:null;return{sourcePage:o,sourceModule:n,sourceElement:a,sourceUpsellPlacement:i}}])}]);