(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,294237,e=>{"use strict";var t=e.i(7284);let r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=t.clsx;e.s(["cva",0,(e,t)=>i=>{var l;if((null==t?void 0:t.variants)==null)return n(e,null==i?void 0:i.class,null==i?void 0:i.className);let{variants:s,defaultVariants:a}=t,o=Object.keys(s).map(e=>{let t=null==i?void 0:i[e],n=null==a?void 0:a[e];if(null===t)return null;let l=r(t)||r(n);return s[e][l]}),u=i&&Object.entries(i).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return n(e,o,null==t||null==(l=t.compoundVariants)?void 0:l.reduce((e,t)=>{let{class:r,className:n,...i}=t;return Object.entries(i).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...a,...u}[t]):({...a,...u})[t]===r})?[...e,r,n]:e},[]),null==i?void 0:i.class,null==i?void 0:i.className)}])},747961,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(294237),i=e.i(789876);let l=(0,n.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"}}),s=r.default.forwardRef(({icon:e,size:r,color:n,title:s,desc:a,className:o,ariaHidden:u,...c},d)=>(0,t.jsx)(e,{ref:d,className:(0,i.cn)(l({size:r,color:n}),o),title:s,desc:a,...u&&{"aria-hidden":u},...c}));s.displayName="BaseIcon",e.s(["BaseIcon",0,s])},632137,e=>{"use strict";var t=e.i(7284);let r=(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 r((0,t.clsx)(e))}])},982538,723673,e=>{"use strict";var t=e.i(592121);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let n=!1,i=e.map(e=>{let i=r(e,t);return n||"function"!=typeof i||(n=!0),i});if(n)return()=>{for(let t=0;t{var l;let s,u,{children:m,...p}=r,g=null,v=!1,b=[];c(m)&&"function"==typeof x&&(m=x(m._payload)),t.Children.forEach(m,e=>{var r;if(r=e,t.isValidElement(r)&&"function"==typeof r.type&&"__radixId"in r.type&&r.type.__radixId===a){v=!0;let t="child"in e.props?e.props.child:e.props.children;c(t)&&"function"==typeof x&&(t=x(t._payload)),g=o(e,t),b.push(g?.props?.children)}else b.push(e)}),g?g=t.cloneElement(g,void 0,b):!v&&1===t.Children.count(m)&&t.isValidElement(m)&&(g=m);let y=g?(l=g,(u=(s=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?l.ref:(u=(s=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?l.props.ref:l.props.ref||l.ref):void 0,h=i(n,y);if(!g){if(m||0===m)throw Error(v?f(e):d(e));return m}let S=function(e,t){let r={...t};for(let n in t){let i=e[n],l=t[n];/^on[A-Z]/.test(n)?i&&l?r[n]=(...e)=>{let t=l(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...l}:"className"===n&&(r[n]=[i,l].filter(Boolean).join(" "))}return{...e,...r}}(p,g.props??{});return g.type!==t.Fragment&&(S.ref=n?h:y),t.cloneElement(g,S)});return r.displayName=`${e}.Slot`,r}e.s(["composeRefs",0,n,"useComposedRefs",0,i],723673);var s=l("Slot"),a=Symbol.for("radix.slottable"),o=(e,r)=>{if("child"in e.props){let r=e.props.child;return t.isValidElement(r)?t.cloneElement(r,void 0,e.props.children(r.props.children)):null}return t.isValidElement(r)?r:null},u=Symbol.for("react.lazy");function c(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===u&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var d=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,f=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,x=t[" use ".trim().toString()];e.s(["Slot",0,s,"createSlot",0,l,"createSlottable",0,function(e){let t=e=>"child"in e?e.children(e.child):e.children;return t.displayName=`${e}.Slottable`,t.__radixId=a,t}],982538)},877957,564993,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(982538),i=e.i(294237),l=e.i(632137),s=e.i(747961);let a=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...l},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:s,"aria-labelledby":r,"aria-describedby":i,...l,children:[n?(0,t.jsx)("desc",{id:i,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Loader Circle"}):e?(0,t.jsx)("title",{id:r,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=r.default.forwardRef((e,r)=>(0,t.jsx)(s.BaseIcon,{ref:r,icon:a,...e}));o.displayName="LoaderCircle",e.s(["LoaderCircle",0,o],564993);let u=(0,i.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:""}},defaultVariants:{variant:"default",size:"default",loading:!1,disabled:!1}}),c=r.forwardRef(({className:e,variant:r="default",size:i,asChild:s=!1,disabled:a=!1,loading:c=!1,children:d,...f},x)=>{let m=s?n.Slot:"button";return(0,t.jsx)(m,{...f,className:(0,l.cn)(u({variant:r,size:i,loading:c,disabled:a}),"inline-flex items-center justify-center",e),ref:x,disabled:a||c,children:s?d:(0,t.jsxs)(t.Fragment,{children:[c&&(0,t.jsx)(o,{size:"sm",className:"mr-2 animate-spin",color:"default"===r||"destructive"===r?"inverse":"primary"}),d]})})});c.displayName="Button",e.s(["Button",0,c],877957)},827049,e=>{"use strict";let t=(0,e.i(981030).atom)("en-US");e.s(["pageLocaleAtom",0,t])},695203,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["deviceClassAtom",0,t])},683903,e=>{"use strict";var t=e.i(730921);function r(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let n=r(0,t.useTranslations),i=r(0,t.useFormatter);e.s(["useFormatter",0,i,"useTranslations",0,n])},368847,341669,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(294237),i=e.i(632137);let l=({skeletonClassName:e,elementType:r="span"})=>(0,t.jsx)(r,{className:(0,i.cn)("square inline-block animate-pulse rounded bg-gray-200",e)});e.s(["default",0,l],341669);let s={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:s[e],value:String(e)}));let a=r.default.forwardRef(({className:e,isLoading:r,skeletonClassName:n,variant:s,elementType:a,lineClamp:u,color:c,responsive:d,children:f,...x},m)=>{if(r)return(0,t.jsx)(l,{skeletonClassName:n||""});let p=a||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:s}),g=(0,t.jsx)(p,{className:(0,i.cn)(o({variant:s,color:c,lineClamp:u,responsive:d}),e),ref:m,...x,children:f});return d?(0,t.jsx)("div",{className:"@container/text",children:g}):g});a.displayName="Text";let o=(0,n.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,a,"default",0,a,"textVariants",0,o],368847)},226602,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...l},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:s,"aria-labelledby":r,"aria-describedby":i,...l,children:[n?(0,t.jsx)("desc",{id:i,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Close"}):e?(0,t.jsx)("title",{id:r,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"})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:i,...e}));l.displayName="Close",e.s(["Close",0,l])},291967,e=>{"use strict";"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}])},144977,156207,e=>{"use strict";var t=e.i(592121);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.s(["useComposedRefs",0,function(...e){return t.useCallback(function(...e){return t=>{let n=!1,i=e.map(e=>{let i=r(e,t);return n||"function"!=typeof i||(n=!0),i});if(n)return()=>{for(let t=0;t{let{children:r,...l}=e,s=t.useMemo(()=>l,Object.values(l));return(0,n.jsx)(i.Provider,{value:s,children:r})};return l.displayName=e+"Provider",[l,function(n){let l=t.useContext(i);if(l)return l;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${e}\``)}]},"createContextScope",0,function(e,r=[]){let i=[],l=()=>{let r=i.map(e=>t.createContext(e));return function(n){let i=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return l.scopeName=e,[function(r,l){let s=t.createContext(l),a=i.length;i=[...i,l];let o=r=>{let{scope:i,children:l,...o}=r,u=i?.[e]?.[a]||s,c=t.useMemo(()=>o,Object.values(o));return(0,n.jsx)(u.Provider,{value:c,children:l})};return o.displayName=r+"Provider",[o,function(n,i){let o=i?.[e]?.[a]||s,u=t.useContext(o);if(u)return u;if(void 0!==l)return l;throw Error(`\`${n}\` must be used within \`${r}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:i}),[i])}};return n.scopeName=r.scopeName,n}(l,...r)]}],156207)},556872,e=>{"use strict";var t=e.i(592121),r=e.i(798973),n=e.i(982538),i=e.i(699173),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let l=(0,n.createSlot)(`Primitive.${r}`),s=t.forwardRef((e,t)=>{let{asChild:n,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(n?l:r,{...s,ref:t})});return s.displayName=`Primitive.${r}`,{...e,[r]:s}},{});e.s(["Primitive",0,l,"dispatchDiscreteCustomEvent",0,function(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}])},127864,e=>{"use strict";var t=e.i(592121),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,r])},653747,e=>{"use strict";var t=e.i(592121),r=e.i(144977),n=e.i(127864),i=e=>{var i;let s,a,{present:o,children:u}=e,c=function(e){var r,i;let[s,a]=t.useState(),o=t.useRef(null),u=t.useRef(e),c=t.useRef("none"),[d,f]=(r=e?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>i[e][t]??e,r));return t.useEffect(()=>{let e=l(o.current);c.current="mounted"===d?e:"none"},[d]),(0,n.useLayoutEffect)(()=>{let t=o.current,r=u.current;if(r!==e){let n=c.current,i=l(t);e?f("MOUNT"):"none"===i||t?.display==="none"?f("UNMOUNT"):r&&n!==i?f("ANIMATION_OUT"):f("UNMOUNT"),u.current=e}},[e,f]),(0,n.useLayoutEffect)(()=>{if(s){let e,t=s.ownerDocument.defaultView??window,r=r=>{let n=l(o.current).includes(CSS.escape(r.animationName));if(r.target===s&&n&&(f("ANIMATION_END"),!u.current)){let r=s.style.animationFillMode;s.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===s.style.animationFillMode&&(s.style.animationFillMode=r)})}},n=e=>{e.target===s&&(c.current=l(o.current))};return s.addEventListener("animationstart",n),s.addEventListener("animationcancel",r),s.addEventListener("animationend",r),()=>{t.clearTimeout(e),s.removeEventListener("animationstart",n),s.removeEventListener("animationcancel",r),s.removeEventListener("animationend",r)}}f("ANIMATION_END")},[s,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{o.current=e?getComputedStyle(e):null,a(e)},[])}}(o),d="function"==typeof u?u({present:c.isPresent}):t.Children.only(u),f=(0,r.useComposedRefs)(c.ref,(i=d,(a=(s=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?i.ref:(a=(s=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?i.props.ref:i.props.ref||i.ref));return"function"==typeof u||c.isPresent?t.cloneElement(d,{ref:f}):null};function l(e){return e?.animationName||"none"}i.displayName="Presence",e.s(["Presence",0,i])},534643,e=>{"use strict";var t=e.i(592121),r=e.i(127864);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var n=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:r,onChange:i=()=>{},caller:l}){let[s,a,o]=function({defaultProp:e,onChange:r}){let[i,l]=t.useState(e),s=t.useRef(i),a=t.useRef(r);return n(()=>{a.current=r},[r]),t.useEffect(()=>{s.current!==i&&(a.current?.(i),s.current=i)},[i,s]),[i,l,a]}({defaultProp:r,onChange:i}),u=void 0!==e,c=u?e:s;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${l} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=u},[u,l])}return[c,t.useCallback(t=>{if(u){let r="function"==typeof t?t(e):t;r!==e&&o.current?.(r)}else a(t)},[u,e,a,o])]}],534643)},837879,e=>{"use strict";var t=e.i(592121),r=e.i(546446),n=e.i(961123),i=e.i(485737),l=e.i(739971),s=e.i(725296),a=e.i(394481),o=e.i(763886),u=e.i(132084);e.s(["useSubscriptionsEnabled",0,()=>{let e=(0,r.useAtomValue)(l.subscriptionsEnabledAtom),c=(0,r.useAtomValue)(i.geoipCountry),d=(0,n.useParams)()?.locale,f=(0,r.useAtomValue)(a.privacyRegimeAtom)??s.Regime.EXEMPT,x=(0,r.useAtomValue)(o.partnerAtom);return(0,t.useMemo)(()=>null!==e?e:"US"===c&&"en-US"===d&&s.US_REGIMES.includes(f)&&x!==u.Partner.OPPO,[e,c,d,f,x])}])},671525,e=>{"use strict";var t=e.i(961123);let r=()=>{let e=(0,t.useRouter)();return{navigate:(t,r={})=>{let{mpa:n=!0,replace:i=!1}=r;n?i?window.location.replace(t):window.location.href=t:i?e.replace(t):e.push(t)},refresh:(t={})=>{let{mpa:r=!0}=t;r?window.location.reload():e.refresh()},router:e}};e.s(["default",0,r,"usePageNavigation",0,r])},756227,95870,391174,e=>{"use strict";var t=e.i(546446),r=e.i(284007),n=e.i(889753),i=e.i(310847),l=e.i(613646);e.s(["mutate",()=>l.j],95870);var l=l,s=e.i(318849);let a=()=>{(0,l.j)(e=>"string"==typeof e&&e.startsWith("upsx/"),void 0,{revalidate:!1});try{localStorage.removeItem(s.SWR_CACHE_STORAGE_KEY)}catch{}};e.s(["invalidateUpsxCache",0,a],391174),e.s(["useResetAuthState",0,function(){let e=(0,t.useSetAtom)(n.userProfileAtom),l=(0,t.useSetAtom)(i.wxuUserAccountUserAccountResponseAtom);return()=>{a(),e(r.RESET),l(null)}}],756227)},806262,e=>{"use strict";e.i(592121);var t=e.i(546446);e.i(284007),e.i(981030);let r=new WeakMap;e.s(["useHydrateAtoms",0,function(e,n){var i;let l,s=(0,t.useStore)(n),a=(i=s,(l=r.get(i))||(l=new WeakSet,r.set(i,l)),l);for(let[t,...r]of e)(!a.has(t)||(null==n?void 0:n.dangerouslyForceHydrate))&&(a.add(t),s.set(t,...r))}])},604323,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["metricsArticleDataAtom",0,t])},609858,674339,e=>{"use strict";var t=e.i(546446),r=e.i(592121);let n=(0,e.i(981030).atom)({timestamp:new Date().toISOString()});e.s(["debugDataAtom",0,n],674339),e.s(["useDebugSystem",0,function(){let[e,i]=(0,t.useAtom)(n),l=(0,r.useCallback)((e,t)=>{i(r=>{let n=r?.[e]||{},i="object"==typeof t&&null!==t&&"object"==typeof n?{...n,...t}:t;return{...r,[e]:i}})},[i]),s=(0,r.useCallback)((e,t)=>{i(r=>{let n=r||{timestamp:new Date().toISOString()},i=n.components||{};if(null===t){let t={...i};return delete t[e],{...n,components:t}}return{...n,components:{...i,[e]:t}}})},[i]),a=(0,r.useCallback)(e=>{l("page",e)},[l]),o=(0,r.useCallback)(e=>{l("route",e)},[l]),u=(0,r.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&l(e,t)})},[l]);return{debugData:e,updateSection:l,updateComponentData:s,setPageData:a,clearAllDebugData:(0,r.useCallback)(()=>{i({timestamp:new Date().toISOString()})},[i]),updateRouteInfo:o,updatePageDebug:u}}],609858)},961123,(e,t,r)=>{t.exports=e.r(874357)},491240,e=>{"use strict";let t=(0,e.i(695881).createLogger)("MParticleIdentity");e.s(["truncateIdentityValue",0,e=>"string"==typeof e&&e.length>256?(t.warn(`identity value exceeded 256 chars (${e.length}); truncating`),e.slice(0,256)):e])},318849,e=>{"use strict";let t=!1,r="upsx-recent-purchase-at";e.s(["SWR_CACHE_LEGACY_STORAGE_KEY",0,"app-cache","SWR_CACHE_STORAGE_KEY",0,"wxu-swr-cache-v1","disableSwrPersist",0,()=>{t=!0},"hasRecentPurchase",0,e=>{try{let t=localStorage.getItem(r);if(!t)return!1;let n=Number(t);if(!Number.isFinite(n))return!1;return Date.now()-nt,"markRecentPurchase",0,()=>{try{localStorage.setItem(r,String(Date.now()))}catch{}}])},45846,e=>{"use strict";let t=new(e.i(245943)).UPSXClient({baseUrl:"https://upsx.weather.com"});e.s(["upsxClient",0,t])},185312,(e,t,r)=>{t.exports=e.r(16129)},853233,e=>{"use strict";var t=e.i(592121),r=e.i(127864);e.s(["useSize",0,function(e){let[n,i]=t.useState(void 0);return(0,r.useLayoutEffect)(()=>{if(e){i({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,n;if(!Array.isArray(t)||!t.length)return;let l=t[0];if("borderBoxSize"in l){let e=l.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,n=t.blockSize}else r=e.offsetWidth,n=e.offsetHeight;i({width:r,height:n})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}i(void 0)},[e]),n}])}]);