(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18358,e=>{"use strict";var t=e.i(947118),a=e.i(737801),r=e.i(592121);e.s(["useTrackEvent",0,()=>{let e=(0,t.useIsInitialized)(),l=(0,a.useEventAttributes)(),i=(0,r.useCallback)((t,a={})=>{let r={...l,...a};if(!e)return void console.warn("MParticle is not initialized");try{window.mParticle.logEvent(t,window.mParticle.EventType.Other,r),console.debug(`MParticle: Event "${t}" tracked`,r)}catch(e){console.error(`MParticle: Event "${t}" failed`,e)}return i},[l,e]);return i}])},837879,e=>{"use strict";var t=e.i(592121),a=e.i(546446),r=e.i(961123),l=e.i(485737),i=e.i(739971),n=e.i(725296),s=e.i(394481),o=e.i(763886),c=e.i(132084);e.s(["useSubscriptionsEnabled",0,()=>{let e=(0,a.useAtomValue)(i.subscriptionsEnabledAtom),d=(0,a.useAtomValue)(l.geoipCountry),u=(0,r.useParams)()?.locale,x=(0,a.useAtomValue)(s.privacyRegimeAtom)??n.Regime.EXEMPT,p=(0,a.useAtomValue)(o.partnerAtom);return(0,t.useMemo)(()=>null!==e?e:"US"===d&&"en-US"===u&&n.US_REGIMES.includes(x)&&p!==c.Partner.OPPO,[e,d,u,x,p])}])},982538,e=>{"use strict";var t=e.i(592121);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function r(e){let r=t.forwardRef((r,l)=>{var s;let x,p,{children:f,...g}=r,m=null,h=!1,y=[];o(f)&&"function"==typeof u&&(f=u(f._payload)),t.Children.forEach(f,e=>{var a;if(a=e,t.isValidElement(a)&&"function"==typeof a.type&&"__radixId"in a.type&&a.type.__radixId===i){h=!0;let t="child"in e.props?e.props.child:e.props.children;o(t)&&"function"==typeof u&&(t=u(t._payload)),m=n(e,t),y.push(m?.props?.children)}else y.push(e)}),m?m=t.cloneElement(m,void 0,y):!h&&1===t.Children.count(f)&&t.isValidElement(f)&&(m=f);let v=m?(s=m,(p=(x=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in x&&x.isReactWarning)?s.ref:(p=(x=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in x&&x.isReactWarning)?s.props.ref:s.props.ref||s.ref):void 0,b=function(...e){return t.useCallback(function(...e){return t=>{let r=!1,l=e.map(e=>{let l=a(e,t);return r||"function"!=typeof l||(r=!0),l});if(r)return()=>{for(let t=0;t{let t=i(...e);return l(...e),t}:l&&(a[r]=l):"style"===r?a[r]={...l,...i}:"className"===r&&(a[r]=[l,i].filter(Boolean).join(" "))}return{...e,...a}}(g,m.props??{});return m.type!==t.Fragment&&(w.ref=l?b:v),t.cloneElement(m,w)});return r.displayName=`${e}.Slot`,r}var l=r("Slot"),i=Symbol.for("radix.slottable"),n=(e,a)=>{if("child"in e.props){let a=e.props.child;return t.isValidElement(a)?t.cloneElement(a,void 0,e.props.children(a.props.children)):null}return t.isValidElement(a)?a:null},s=Symbol.for("react.lazy");function o(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===s&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var c=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,d=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,u=t[" use ".trim().toString()];e.s(["Slot",0,l,"createSlot",0,r,"createSlottable",0,function(e){let t=e=>"child"in e?e.children(e.child):e.children;return t.displayName=`${e}.Slottable`,t.__radixId=i,t}],982538)},877957,564993,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(982538),l=e.i(294237),i=e.i(632137),n=e.i(747961);let s=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:l,...i},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":l,...i,children:[r?(0,t.jsx)("desc",{id:l,children:r}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Loader Circle"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.65 2.926A5.335 5.335 0 1 0 13.335 8a.665.665 0 0 1 1.33 0 6.665 6.665 0 1 1-4.606-6.34.665.665 0 1 1-.41 1.266",clipRule:"evenodd"})]})),o=a.default.forwardRef((e,a)=>(0,t.jsx)(n.BaseIcon,{ref:a,icon:s,...e}));o.displayName="LoaderCircle",e.s(["LoaderCircle",0,o],564993);let c=(0,l.cva)("rounded-lg cursor-pointer",{variants:{variant:{default:"bg-brand-400 text-primary-foreground hover:bg-[#252C3F] active:bg-[#0C1226] focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-0",secondary:"bg-white text-gray-900 active:bg-[#E6E6E6] focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",destructive:"bg-alert-severe hover:bg-[#C1251A] active:bg-[#A70C00] text-white focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",outline:"border-1 border-gray-500 hover:bg-white active:bg-[#E6E6E6] bg-transparent focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",ghost:"hover:bg-white active:bg-[#E6E6E6] bg-transparent focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",link:"text-primary underline-offset-3 underline focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",avatarAccountLink:"text-primary text-[14px]",avatarGoPremium:"bg-gray-900 text-white text-[14px]",avatarSignOut:"text-primary text-[16px]",ghostUI:""},size:{default:"h-10 px-4 py-3",lg:"h-10 px-8 py-3",sm:"h-8 px-3 py-2",xsm:"h-6 px-2",icon:"h-10 w-10",text:""},loading:{true:"pointer-events-none cursor-not-allowed opacity-50",false:""},disabled:{true:"pointer-events-none cursor-not-allowed opacity-30",false:""},theme:{standard:"",samsung:"rounded-[18px] h-auto bg-[#252422] px-2.5 py-2 text-[15px] font-medium text-white hover:bg-[#252422] active:bg-[#252422]"}},defaultVariants:{variant:"default",size:"default",loading:!1,disabled:!1,theme:"standard"}}),d=a.forwardRef(({className:e,variant:a="default",size:l,theme:n="standard",asChild:s=!1,disabled:d=!1,loading:u=!1,children:x,...p},f)=>{let g=s?r.Slot:"button";return(0,t.jsx)(g,{...p,className:(0,i.cn)(c({variant:a,size:l,loading:u,disabled:d,theme:n}),"inline-flex items-center justify-center",e),ref:f,disabled:d||u,children:s?x:(0,t.jsxs)(t.Fragment,{children:[u&&(0,t.jsx)(o,{size:"sm",className:"mr-2 animate-spin",color:"default"===a||"destructive"===a?"inverse":"primary"}),x]})})});d.displayName="Button",e.s(["Button",0,d],877957)},789876,e=>{"use strict";var t=e.i(7284);let a=(0,e.i(923191).extendTailwindMerge)({extend:{classGroups:{"font-size":[{text:["xxs"]}]},theme:{color:[{brand:["100","200","300","400","dark","light"]}]}}});e.s(["cn",0,function(...e){return a((0,t.clsx)(e))}])},294237,e=>{"use strict";var t=e.i(7284);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,r=t.clsx;e.s(["cva",0,(e,t)=>l=>{var i;if((null==t?void 0:t.variants)==null)return r(e,null==l?void 0:l.class,null==l?void 0:l.className);let{variants:n,defaultVariants:s}=t,o=Object.keys(n).map(e=>{let t=null==l?void 0:l[e],r=null==s?void 0:s[e];if(null===t)return null;let i=a(t)||a(r);return n[e][i]}),c=l&&Object.entries(l).reduce((e,t)=>{let[a,r]=t;return void 0===r||(e[a]=r),e},{});return r(e,o,null==t||null==(i=t.compoundVariants)?void 0:i.reduce((e,t)=>{let{class:a,className:r,...l}=t;return Object.entries(l).every(e=>{let[t,a]=e;return Array.isArray(a)?a.includes({...s,...c}[t]):({...s,...c})[t]===a})?[...e,a,r]:e},[]),null==l?void 0:l.class,null==l?void 0:l.className)}])},747961,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(294237),l=e.i(789876);let i=(0,r.cva)("inline-block",{variants:{size:{sm:"w-4 h-4",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-16 h-16",xxl:"w-32 h-32"},color:{primary:"text-gray-900",brandDark:"text-brand-dark",brandLight:"text-brand-light",inverse:"text-white"}},defaultVariants:{size:"md",color:"primary"}}),n=a.default.forwardRef(({icon:e,size:a,color:r,title:n,desc:s,className:o,ariaHidden:c,...d},u)=>(0,t.jsx)(e,{ref:u,className:(0,l.cn)(i({size:a,color:r}),o),title:n,desc:s,...c&&{"aria-hidden":c},...d}));n.displayName="BaseIcon",e.s(["BaseIcon",0,n])},632137,e=>{"use strict";var t=e.i(7284);let a=(0,e.i(923191).extendTailwindMerge)({extend:{classGroups:{"font-size":[{text:["xxs"]}]},theme:{color:[{brand:["100","200","300","400","dark","light"]}]}}});e.s(["cn",0,function(...e){return a((0,t.clsx)(e))}])},51390,e=>{"use strict";var t=e.i(730921);function a(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let r=a(0,t.useTranslations),l=a(0,t.useFormatter);e.s(["useFormatter",0,l,"useTranslations",0,r])},368847,341669,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(294237),l=e.i(632137);let i=({skeletonClassName:e,elementType:a="span"})=>(0,t.jsx)(a,{className:(0,l.cn)("square inline-block animate-pulse rounded bg-gray-200",e)});e.s(["default",0,i],341669);let n={0:"No Clamp",1:"1 Line",2:"2 Lines",3:"3 Lines",4:"4 Lines",5:"5 Lines"};[0,1,2,3,4,5].map(e=>({label:n[e],value:String(e)}));let s=a.default.forwardRef(({className:e,isLoading:a,skeletonClassName:r,variant:n,elementType:s,lineClamp:c,color:d,responsive:u,children:x,...p},f)=>{if(a)return(0,t.jsx)(i,{skeletonClassName:r||""});let g=s||function({variant:e}){switch(e){case"Display.XL":case"Display.L":case"Title.XL":return"h1";case"Display.M":case"Display.S":case"Title.L":case"Title.M":case"Title.S":return"h2";default:return"p"}}({variant:n}),m=(0,t.jsx)(g,{className:(0,l.cn)(o({variant:n,color:d,lineClamp:c,responsive:u}),e),ref:f,...p,children:x});return u?(0,t.jsx)("div",{className:"@container/text",children:m}):m});s.displayName="Text";let o=(0,r.cva)("",{variants:{variant:{"Display.XL":["text-6xl","leading-relaxed","tracking-tighter"],"Display.L":["text-5xl","leading-normal","tracking-tighter","font-medium"],"Display.M":["text-4xl","leading-tight","tracking-tight","font-medium"],"Display.S":["text-xl","leading-relaxed","tracking-tight","font-medium"],"Title.XL":["text-4xl","leading-snug","tracking-tight","font-extrabold"],"Title.L":["text-3xl","leading-normal","tracking-tight","font-extrabold"],"Title.M":["text-2xl","leading-normal","tracking-tight","font-extrabold"],"Title.S":["text-xl","leading-normal","tracking-tight","font-bold"],"Title.XS":["text-base","leading-relaxed","tracking-tight","font-bold"],"Body.L":["text-lg","leading-loose","tracking-normal","font-medium"],"Body.L.Bold":["text-lg","leading-loose","tracking-normal","font-bold"],"Body.L.ExtraBold":["text-lg","leading-loose","tracking-normal","font-extrabold"],"Body.M":["text-base","leading-loose","tracking-tight","font-medium"],"Body.M.Bold":["text-base","leading-loose","tracking-tight","font-bold"],"Body.M.ExtraBold":["text-base","leading-loose","tracking-tight","font-extrabold"],"Body.S":["text-sm","leading-loose","tracking-tight","font-medium"],"Body.S.Bold":["text-sm","leading-loose","tracking-normal","font-bold"],"Caption.M":["text-xs","leading-normal","tracking-normal","font-medium"],"Caption.M.Bold":["text-xs","leading-normal","tracking-normal","font-bold"],"Caption.S":["text-xxs","leading-loose","tracking-tight","font-medium"],"Caption.S.Bold":["text-xxs","leading-loose","tracking-normal","font-bold"]},responsive:{true:"",false:""},color:{primary:"text-gray-900",secondary:"text-gray-500",default:"text-gray-900",disabled:"text-gray-400",placeholder:"text-gray-600",brandDark:"text-brand-dark",brandLight:"text-brand-light",inverse:"text-white",error:"text-[var(--color-alert-severe)]"},lineClamp:{0:"",1:"line-clamp-1 pb-0.5",2:"line-clamp-2 pb-0.5",3:"line-clamp-3 pb-0.5",4:"line-clamp-4 pb-0.5",5:"line-clamp-5 pb-0.5"}},compoundVariants:[{variant:"Display.XL",responsive:!0,class:"text-4xl @sm/text:text-5xl @lg/text:text-6xl"},{variant:"Display.L",responsive:!0,class:"text-2xl @sm/text:text-4xl @lg/text:text-5xl"},{variant:"Display.M",responsive:!0,class:"text-xl @sm/text:text-2xl @lg/text:text-4xl"},{variant:"Display.S",responsive:!0,class:"text-lg @sm/text:text-xl @lg/text:text-2xl"},{variant:"Title.XL",responsive:!0,class:"text-2xl @sm/text:text-3xl @lg/text:text-4xl"},{variant:"Title.L",responsive:!0,class:"text-xl @sm/text:text-2xl @lg/text:text-3xl"},{variant:"Title.M",responsive:!0,class:"text-lg @sm/text:text-xl @lg/text:text-2xl"},{variant:"Title.S",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Title.XS",responsive:!0,class:"text-sm @sm/text:text-base"},{variant:"Body.L",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.L.Bold",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.L.ExtraBold",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.M",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.M.Bold",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.M.ExtraBold",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.S",responsive:!0,class:"text-xs @sm/text:text-sm @lg/text:text-base"},{variant:"Body.S.Bold",responsive:!0,class:"text-xs @sm/text:text-sm @lg/text:text-base"},{variant:"Caption.M",responsive:!0,class:"text-xxs @sm/text:text-xs @lg/text:text-sm"},{variant:"Caption.M.Bold",responsive:!0,class:"text-xxs @sm/text:text-xs @lg/text:text-sm"},{variant:"Caption.S",responsive:!0,class:"text-xxs @sm/text:text-xxs @lg/text:text-xs"},{variant:"Caption.S.Bold",responsive:!0,class:"text-xxs @sm/text:text-xxs @lg/text:text-xs"}],defaultVariants:{variant:"Body.M",color:"default",responsive:!1}});e.s(["Text",0,s,"default",0,s,"textVariants",0,o],368847)},226602,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:l,...i},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":l,...i,children:[r?(0,t.jsx)("desc",{id:l,children:r}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Close"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12.809 4.113a.652.652 0 1 0-.922-.922L8 7.078 4.113 3.19a.652.652 0 1 0-.922.922L7.078 8 3.19 11.887a.652.652 0 0 0 .922.922L8 8.922l3.887 3.887a.652.652 0 1 0 .922-.922L8.922 8z"})]})),i=a.default.forwardRef((e,a)=>(0,t.jsx)(r.BaseIcon,{ref:a,icon:l,...e}));i.displayName="Close",e.s(["Close",0,i])},671525,e=>{"use strict";var t=e.i(961123);let a=()=>{let e=(0,t.useRouter)();return{navigate:(t,a={})=>{let{mpa:r=!0,replace:l=!1}=a;r?l?window.location.replace(t):window.location.href=t:l?e.replace(t):e.push(t)},refresh:(t={})=>{let{mpa:a=!0}=t;a?window.location.reload():e.refresh()},router:e}};e.s(["default",0,a,"usePageNavigation",0,a])},756227,95870,391174,e=>{"use strict";var t=e.i(546446),a=e.i(284007),r=e.i(889753),l=e.i(310847),i=e.i(613646);e.s(["mutate",()=>i.j],95870);var i=i,n=e.i(318849);let s=()=>{(0,i.j)(e=>"string"==typeof e&&e.startsWith("upsx/"),void 0,{revalidate:!1});try{localStorage.removeItem(n.SWR_CACHE_STORAGE_KEY)}catch{}};e.s(["invalidateUpsxCache",0,s],391174),e.s(["useResetAuthState",0,function(){let e=(0,t.useSetAtom)(r.userProfileAtom),i=(0,t.useSetAtom)(l.wxuUserAccountUserAccountResponseAtom);return()=>{s(),e(a.RESET),i(null)}}],756227)},514514,e=>{"use strict";var t=e.i(592121);let a=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,a)=>a?a.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},r=(...e)=>e.filter((e,t,a)=>!!e&&""!==e.trim()&&a.indexOf(e)===t).join(" ").trim();var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,t.forwardRef)(({color:e="currentColor",size:a=24,strokeWidth:i=2,absoluteStrokeWidth:n,className:s="",children:o,iconNode:c,...d},u)=>(0,t.createElement)("svg",{ref:u,...l,width:a,height:a,stroke:e,strokeWidth:n?24*Number(i)/Number(a):i,className:r("lucide",s),...!o&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(d)&&{"aria-hidden":"true"},...d},[...c.map(([e,a])=>(0,t.createElement)(e,a)),...Array.isArray(o)?o:[o]]));e.s(["default",0,(e,l)=>{let n=(0,t.forwardRef)(({className:n,...s},o)=>(0,t.createElement)(i,{ref:o,iconNode:l,className:r(`lucide-${a(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,n),...s}));return n.displayName=a(e),n}],514514)},47524,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:l,...i},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":l,...i,children:[r?(0,t.jsx)("desc",{id:l,children:r}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Chevron Right"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M10.414 7.643c.26.26.26.682 0 .943l-4.178 4.178a.495.495 0 1 1-.7-.7l3.95-3.95-3.95-3.95a.495.495 0 1 1 .7-.7z"})]})),i=a.default.forwardRef((e,a)=>(0,t.jsx)(r.BaseIcon,{ref:a,icon:l,...e}));i.displayName="ChevronRight",e.s(["ChevronRight",0,i])},523084,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:l,...i},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":l,...i,children:[r?(0,t.jsx)("desc",{id:l,children:r}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Chevron Left"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M5.586 8.586a.667.667 0 0 1 0-.943l4.178-4.179a.495.495 0 0 1 .7.7l-3.95 3.95 3.95 3.95a.495.495 0 1 1-.7.7z"})]})),i=a.default.forwardRef((e,a)=>(0,t.jsx)(r.BaseIcon,{ref:a,icon:l,...e}));i.displayName="ChevronLeft",e.s(["ChevronLeft",0,i])},258990,e=>{"use strict";e.s(["decodeLocId",0,e=>{try{return decodeURIComponent(e)}catch{return e}}])},674885,e=>{"use strict";var t=e.i(981030),a=e.i(617874),r=e.i(889753);let l=(0,t.atom)(e=>e(r.userPreferencesAtom)?.unit||a.UNIT_IMPERIAL),i=(0,t.atom)(e=>e(l)===a.UNIT_IMPERIAL),n=(0,t.atom)(e=>e(l)===a.UNIT_METRIC),s=(0,t.atom)(e=>e(l)===a.UNIT_HYBRID);e.s(["isHybridUnitsAtom",0,s,"isImperialUnitsAtom",0,i,"isMetricUnitsAtom",0,n,"userUnitPreferenceAtom",0,l])},697151,e=>{"use strict";let t=(0,e.i(514514).default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);e.s(["Globe",0,t],697151)},512134,e=>{"use strict";var t=e.i(592121);e.s(["useIsClient",0,function(){let[e,a]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{a(!0)},[]),e}])},89887,e=>{"use strict";function t(e,t){let a="/"+e.split("/").filter(Boolean).slice(1).join("/");return"en-US"===t?a:`/${t}${a}`}e.s(["buildLocationCanonicalBase",0,t,"buildLocationCanonicalPath",0,function(e,a,r){return`${t(e,a)}/${r}`}])},388706,e=>{"use strict";let t=[{pageType:"today",urlKey:"today",urlType:"weather/today",suffix:"today",base:"/weather/today/",sidebarCanonical:!1,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-today"},{pageType:"hourbyhour",urlKey:"hourly",urlType:"weather/hourbyhour",suffix:"hourbyhour",base:"/weather/hourly/",sidebarCanonical:!1,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-hourly"},{pageType:"tenday",urlKey:"tenday",urlType:"weather/tenday",suffix:"tenday",base:"/weather/tenday/",sidebarCanonical:!1,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-tenday"},{pageType:"localalerts",urlKey:"alerts",urlType:"weather/alerts/localalerts",suffix:"localalerts",base:"/weather/alerts/localalerts/",sidebarCanonical:!0,sitemapExcluded:!0,canonicalEligible:!0,weatherCacheTag:"weather-alerts"},{pageType:"allergy",urlKey:"allergy",urlType:"forecast/allergy",suffix:"allergy",base:"/forecast/allergy/",sidebarCanonical:!0,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-allergy"},{pageType:"air-quality",urlKey:"airQuality",urlType:"forecast/air-quality",suffix:"air-quality",base:"/weather/air-quality/",sidebarCanonical:!0,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-air-quality"},{pageType:"cold-flu",urlKey:"coldFlu",urlType:"forecast/cold-flu",suffix:"cold-flu",base:"/forecast/cold-flu/",sidebarCanonical:!0,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-cold-flu"},{pageType:"radar",urlKey:"radar",urlType:"weather/radar/interactive",suffix:"radar",base:"/weather/radar/interactive/",sidebarCanonical:!0,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-radar-interactive"}],a=t.map(e=>e.pageType);Object.fromEntries(t.map(e=>[e.urlType,e.pageType])),Object.fromEntries(t.map(e=>[e.suffix,e.pageType]));let r=Object.fromEntries(t.map(e=>[e.pageType,e.base])),l=Object.fromEntries(t.map(e=>[e.pageType,e.urlKey])),i=Object.fromEntries(t.map(e=>[e.pageType,e.suffix])),n=Object.fromEntries(t.map(e=>[e.pageType,e.canonicalEligible]));t.map(e=>e.urlType).join("|"),t.map(e=>e.suffix).join("|"),t.filter(e=>e.sitemapExcluded).map(e=>e.pageType);let s=t.filter(e=>e.sidebarCanonical).map(e=>({urlKey:e.urlKey,segment:e.suffix}));e.s(["BASE_BY_PAGE",0,r,"CANONICAL_ELIGIBLE_BY_PAGE",0,n,"CANONICAL_PAGE_TYPES",0,a,"PAGE_TYPE_TO_SUFFIX",0,i,"PAGE_TYPE_TO_URL_KEY",0,l,"SIDEBAR_CANONICAL_LINKS",0,s])},304116,e=>{"use strict";var t=e.i(89887),a=e.i(611540),r=e.i(388706);e.s(["buildLocationPageHref",0,function({pageType:e,locale:l,canonicalID:i,featureId:n,placeId:s,canonicalBasePath:o,skipCanonical:c=!1}){let d=r.PAGE_TYPE_TO_SUFFIX[e],u=r.CANONICAL_ELIGIBLE_BY_PAGE[e]&&!c;return o&&u?`${o}/${d}`:u&&i?(0,t.buildLocationCanonicalPath)(i,l,d):(0,a.interpolateLocationUrl)(a.URLS[r.PAGE_TYPE_TO_URL_KEY[e]],u?{locale:l,locId:s??n??"",featureId:n}:{locale:l,locId:s??""})}])},734357,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.getVideoNavLink=l;let r=e.r(414655);async function l({channel:e,language:t="en-US",partner:a,contentQueryId:i}){let n=["api","payload","v1","media","video-nav",encodeURIComponent(e),encodeURIComponent(t)];a&&n.push(encodeURIComponent(a));let s=i?`?cq=${encodeURIComponent(i)}`:"",o=`https://${window.location.host}/${n.join("/")}${s}`,c=await fetch(o),d=await (0,r.handleFetchResponse)(c);return d&&"url"in d?d.url??null:null}},269153,e=>{"use strict";var t=e.i(546446),a=e.i(763886),r=e.i(132084);e.s(["useIsSamsungPartner",0,function(){return(0,t.useAtomValue)(a.partnerAtom)===r.Partner.SAMSUNG}])},559421,e=>{"use strict";var t=e.i(961123),a=e.i(89887),r=e.i(64412),l=e.i(942400),i=e.i(269153),n=e.i(512134);e.i(388706),e.s(["useCanonicalBasePath",0,function(){let e=(0,t.useParams)(),s=(0,t.usePathname)(),{location:o}=(0,r.useLocation)(),c=(0,l.usePageLocale)(),d=(0,i.useIsSamsungPartner)();if(!(0,n.useIsClient)()||d)return;let u=e?.canonicalLocation,x=e?.featureId;if(!(u?.length||x&&!s.includes("/l/")))return;let p=o?.canonicalID;if(p)return(0,a.buildLocationCanonicalBase)(p,c);if(s.includes("/byFeatureId/"))return;let f=/\/day-\d+$/.test(s)?s.substring(0,s.lastIndexOf("/")):s;return f.substring(0,f.lastIndexOf("/"))}])},683199,e=>{"use strict";var t=e.i(592121),a=e.i(546446),r=e.i(491045),l=e.i(537989);e.s(["usePremiumSource",0,()=>{let e=(0,a.useSetAtom)(r.purchaseSourceAttributionAtom),i=(0,a.useAtomValue)(l.pageIdAtom);return(0,t.useCallback)(({sourceModule:t,sourceElement:a,sourceUpsellPlacement:r})=>{e({sourcePage:i||null,sourceModule:t,sourceElement:a,sourceUpsellPlacement:r??null})},[e,i])}])},219246,e=>{"use strict";let t=(0,e.i(981030).atom)(0);e.s(["fixedTopAdHeightAtom",0,t])},293733,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["radarFullscreenAtom",0,t])},167135,e=>{"use strict";var t=e.i(699173),a=e.i(546446),r=e.i(219246),l=e.i(632137);function i({children:e,reserveMobileNav:n=!0}){let s=(0,a.useAtomValue)(r.fixedTopAdHeightAtom);return(0,t.jsx)("div",{className:(0,l.cn)("flex min-h-0 flex-1 overflow-hidden pt-[var(--radar-top-ad)] md:pt-0 md:pb-0",n&&"pb-14"),style:{"--radar-top-ad":`${s}px`},children:e})}e.s(["RadarTopAdInset",0,i,"default",0,i])},388982,e=>{"use strict";var t=e.i(546446),a=e.i(293733);e.s(["HideWhenRadarFullscreen",0,function({children:e}){return(0,t.useAtomValue)(a.radarFullscreenAtom)?null:e}])}]);