(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,991511,e=>{"use strict";var t=e.i(206507),r=e.i(806262),n=e.i(546446);e.s(["useRehydrateAtoms",0,e=>{(0,r.useHydrateAtoms)(e);let l=(0,n.useStore)(),i=(0,t.useRef)(e);i.current=e,(0,t.useEffect)(()=>{for(let[e,t]of i.current)l.get(e)!==t&&l.set(e,t)})}])},797770,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["adsMetricsUnitAndZoneAtom",0,t])},752496,e=>{"use strict";var t=e.i(206507),r=e.i(609858);let n=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:l,page:i,onUpdateData:a,onSetPageData:o}){let{updateComponentData:s,setPageData:c}=(0,r.useDebugSystem)(),u=(0,t.useRef)(!1),d=a||s,f=o||c;return(0,t.useEffect)(()=>{if(l)return n.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(l),hasPerformance:!!l.performance,hasContext:!!l.context}),d(e,{...l,_collectedAt:new Date().toISOString()}),()=>{n.lifecycle(`Cleaning up data for ${e}`),d(e,null)}},[e,l,d]),(0,t.useEffect)(()=>{i&&!u.current&&(n.lifecycle("Setting page metadata",{title:i.title,assetName:i.assetName,collection:i.collection}),f({...i,_updatedAt:new Date().toISOString()}),u.current=!0)},[i,f]),null}])},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)=>l=>{var i;if((null==t?void 0:t.variants)==null)return n(e,null==l?void 0:l.class,null==l?void 0:l.className);let{variants:a,defaultVariants:o}=t,s=Object.keys(a).map(e=>{let t=null==l?void 0:l[e],n=null==o?void 0:o[e];if(null===t)return null;let i=r(t)||r(n);return a[e][i]}),c=l&&Object.entries(l).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return n(e,s,null==t||null==(i=t.compoundVariants)?void 0:i.reduce((e,t)=>{let{class:r,className:n,...l}=t;return Object.entries(l).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...c}[t]):({...o,...c})[t]===r})?[...e,r,n]:e},[]),null==l?void 0:l.class,null==l?void 0:l.className)}])},747961,e=>{"use strict";var t=e.i(155252),r=e.i(206507),n=e.i(294237),l=e.i(789876);let i=(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"}}),a=r.default.forwardRef(({icon:e,size:r,color:n,title:a,desc:o,className:s,ariaHidden:c,...u},d)=>(0,t.jsx)(e,{ref:d,className:(0,l.cn)(i({size:r,color:n}),s),title:a,desc:o,...c&&{"aria-hidden":c},...u}));a.displayName="BaseIcon",e.s(["BaseIcon",0,a])},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(206507);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let n=!1,l=e.map(e=>{let l=r(e,t);return n||"function"!=typeof l||(n=!0),l});if(n)return()=>{for(let t=0;t{var i;let a,c,{children:x,...m}=r,g=null,v=!1,y=[];u(x)&&"function"==typeof p&&(x=p(x._payload)),t.Children.forEach(x,e=>{var r;if(r=e,t.isValidElement(r)&&"function"==typeof r.type&&"__radixId"in r.type&&r.type.__radixId===o){v=!0;let t="child"in e.props?e.props.child:e.props.children;u(t)&&"function"==typeof p&&(t=p(t._payload)),g=s(e,t),y.push(g?.props?.children)}else y.push(e)}),g?g=t.cloneElement(g,void 0,y):!v&&1===t.Children.count(x)&&t.isValidElement(x)&&(g=x);let h=g?(i=g,(c=(a=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?i.ref:(c=(a=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?i.props.ref:i.props.ref||i.ref):void 0,b=l(n,h);if(!g){if(x||0===x)throw Error(v?f(e):d(e));return x}let w=function(e,t){let r={...t};for(let n in t){let l=e[n],i=t[n];/^on[A-Z]/.test(n)?l&&i?r[n]=(...e)=>{let t=i(...e);return l(...e),t}:l&&(r[n]=l):"style"===n?r[n]={...l,...i}:"className"===n&&(r[n]=[l,i].filter(Boolean).join(" "))}return{...e,...r}}(m,g.props??{});return g.type!==t.Fragment&&(w.ref=n?b:h),t.cloneElement(g,w)});return r.displayName=`${e}.Slot`,r}e.s(["composeRefs",0,n,"useComposedRefs",0,l],723673);var a=i("Slot"),o=Symbol.for("radix.slottable"),s=(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},c=Symbol.for("react.lazy");function u(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===c&&"_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.`,p=t[" use ".trim().toString()];e.s(["Slot",0,a,"createSlot",0,i],982538)},877957,564993,e=>{"use strict";var t=e.i(155252),r=e.i(206507),n=e.i(982538),l=e.i(294237),i=e.i(632137),a=e.i(747961);let o=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:l,...i},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":r,"aria-describedby":l,...i,children:[n?(0,t.jsx)("desc",{id:l,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"})]})),s=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:o,...e}));s.displayName="LoaderCircle",e.s(["LoaderCircle",0,s],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:""}},defaultVariants:{variant:"default",size:"default",loading:!1,disabled:!1}}),u=r.forwardRef(({className:e,variant:r="default",size:l,asChild:a=!1,disabled:o=!1,loading:u=!1,children:d,...f},p)=>{let x=a?n.Slot:"button";return(0,t.jsx)(x,{...f,className:(0,i.cn)(c({variant:r,size:l,loading:u,disabled:o}),"inline-flex items-center justify-center",e),ref:p,disabled:o||u,children:a?d:(0,t.jsxs)(t.Fragment,{children:[u&&(0,t.jsx)(s,{size:"sm",className:"mr-2 animate-spin",color:"default"===r||"destructive"===r?"inverse":"primary"}),d]})})});u.displayName="Button",e.s(["Button",0,u],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])},659334,e=>{"use strict";var t=e.i(933470);function r(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let n=r(0,t.useTranslations),l=r(0,t.useFormatter);e.s(["useFormatter",0,l,"useTranslations",0,n])},368847,341669,e=>{"use strict";var t=e.i(155252),r=e.i(206507),n=e.i(294237),l=e.i(632137);let i=({skeletonClassName:e,elementType:r="span"})=>(0,t.jsx)(r,{className:(0,l.cn)("square inline-block animate-pulse rounded bg-gray-200",e)});e.s(["default",0,i],341669);let a={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:a[e],value:String(e)}));let o=r.default.forwardRef(({className:e,isLoading:r,skeletonClassName:n,variant:a,elementType:o,lineClamp:c,color:u,responsive:d,children:f,...p},x)=>{if(r)return(0,t.jsx)(i,{skeletonClassName:n||""});let m=o||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:a}),g=(0,t.jsx)(m,{className:(0,l.cn)(s({variant:a,color:u,lineClamp:c,responsive:d}),e),ref:x,...p,children:f});return d?(0,t.jsx)("div",{className:"@container/text",children:g}):g});o.displayName="Text";let s=(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,o,"default",0,o,"textVariants",0,s],368847)},226602,e=>{"use strict";var t=e.i(155252),r=e.i(206507),n=e.i(747961);let l=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:l,...i},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":r,"aria-describedby":l,...i,children:[n?(0,t.jsx)("desc",{id:l,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"})]})),i=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:l,...e}));i.displayName="Close",e.s(["Close",0,i])},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,e=>{"use strict";var t=e.i(206507);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let n=!1,l=e.map(e=>{let l=r(e,t);return n||"function"!=typeof l||(n=!0),l});if(n)return()=>{for(let t=0;t{"use strict";var t=e.i(206507),r=e.i(155252);e.s(["createContext",0,function(e,n){let l=t.createContext(n),i=e=>{let{children:n,...i}=e,a=t.useMemo(()=>i,Object.values(i));return(0,r.jsx)(l.Provider,{value:a,children:n})};return i.displayName=e+"Provider",[i,function(r){let i=t.useContext(l);if(i)return i;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${e}\``)}]},"createContextScope",0,function(e,n=[]){let l=[],i=()=>{let r=l.map(e=>t.createContext(e));return function(n){let l=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:l}}),[n,l])}};return i.scopeName=e,[function(n,i){let a=t.createContext(i),o=l.length;l=[...l,i];let s=n=>{let{scope:l,children:i,...s}=n,c=l?.[e]?.[o]||a,u=t.useMemo(()=>s,Object.values(s));return(0,r.jsx)(c.Provider,{value:u,children:i})};return s.displayName=n+"Provider",[s,function(r,l){let s=l?.[e]?.[o]||a,c=t.useContext(s);if(c)return c;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${n}\``)}]},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 l=n.reduce((t,{useScope:r,scopeName:n})=>{let l=r(e)[`__scope${n}`];return{...t,...l}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:l}),[l])}};return n.scopeName=r.scopeName,n}(i,...n)]}])},556872,93074,e=>{"use strict";var t=e.i(206507),r=e.i(926045),n=e.i(144977),l=e.i(155252);function i(e){var r;let i,a=(r=e,(i=t.forwardRef((e,r)=>{let{children:l,...i}=e;if(t.isValidElement(l)){var a;let e,o,s=(a=l,(o=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(o=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),c=function(e,t){let r={...t};for(let n in t){let l=e[n],i=t[n];/^on[A-Z]/.test(n)?l&&i?r[n]=(...e)=>{let t=i(...e);return l(...e),t}:l&&(r[n]=l):"style"===n?r[n]={...l,...i}:"className"===n&&(r[n]=[l,i].filter(Boolean).join(" "))}return{...e,...r}}(i,l.props);return l.type!==t.Fragment&&(c.ref=r?(0,n.composeRefs)(r,s):s),t.cloneElement(l,c)}return t.Children.count(l)>1?t.Children.only(null):null})).displayName=`${r}.SlotClone`,i),s=t.forwardRef((e,r)=>{let{children:n,...i}=e,s=t.Children.toArray(n),c=s.find(o);if(c){let e=c.props.children,n=s.map(r=>r!==c?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,l.jsx)(a,{...i,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,l.jsx)(a,{...i,ref:r,children:n})});return s.displayName=`${e}.Slot`,s}var a=Symbol("radix.slottable");function o(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}e.s(["createSlot",0,i,"createSlottable",0,function(e){let t=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=a,t}],93074);var s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let n=i(`Primitive.${r}`),a=t.forwardRef((e,t)=>{let{asChild:i,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i?n:r,{...a,ref:t})});return a.displayName=`Primitive.${r}`,{...e,[r]:a}},{});e.s(["Primitive",0,s,"dispatchDiscreteCustomEvent",0,function(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}],556872)},653747,e=>{"use strict";var t=e.i(206507),r=e.i(144977),n=e.i(127864),l=e=>{var l;let a,o,{present:s,children:c}=e,u=function(e){var r,l;let[a,o]=t.useState(),s=t.useRef(null),c=t.useRef(e),u=t.useRef("none"),[d,f]=(r=e?"mounted":"unmounted",l={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>l[e][t]??e,r));return t.useEffect(()=>{let e=i(s.current);u.current="mounted"===d?e:"none"},[d]),(0,n.useLayoutEffect)(()=>{let t=s.current,r=c.current;if(r!==e){let n=u.current,l=i(t);e?f("MOUNT"):"none"===l||t?.display==="none"?f("UNMOUNT"):r&&n!==l?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),(0,n.useLayoutEffect)(()=>{if(a){let e,t=a.ownerDocument.defaultView??window,r=r=>{let n=i(s.current).includes(CSS.escape(r.animationName));if(r.target===a&&n&&(f("ANIMATION_END"),!c.current)){let r=a.style.animationFillMode;a.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=r)})}},n=e=>{e.target===a&&(u.current=i(s.current))};return a.addEventListener("animationstart",n),a.addEventListener("animationcancel",r),a.addEventListener("animationend",r),()=>{t.clearTimeout(e),a.removeEventListener("animationstart",n),a.removeEventListener("animationcancel",r),a.removeEventListener("animationend",r)}}f("ANIMATION_END")},[a,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{s.current=e?getComputedStyle(e):null,o(e)},[])}}(s),d="function"==typeof c?c({present:u.isPresent}):t.Children.only(c),f=(0,r.useComposedRefs)(u.ref,(l=d,(o=(a=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?l.ref:(o=(a=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?l.props.ref:l.props.ref||l.ref));return"function"==typeof c||u.isPresent?t.cloneElement(d,{ref:f}):null};function i(e){return e?.animationName||"none"}l.displayName="Presence",e.s(["Presence",0,l])},534643,127864,e=>{"use strict";var t=e.i(206507),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,r],127864),t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var n=t[" useInsertionEffect ".trim().toString()]||r;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:r,onChange:l=()=>{},caller:i}){let[a,o,s]=function({defaultProp:e,onChange:r}){let[l,i]=t.useState(e),a=t.useRef(l),o=t.useRef(r);return n(()=>{o.current=r},[r]),t.useEffect(()=>{a.current!==l&&(o.current?.(l),a.current=l)},[l,a]),[l,i,o]}({defaultProp:r,onChange:l}),c=void 0!==e,u=c?e:a;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${i} 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=c},[c,i])}return[u,t.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&s.current?.(r)}else o(t)},[c,e,o,s])]}],534643)},132084,e=>{"use strict";var t,r=((t={}).APPLE="apple_widget",t.SAMSUNG="samsung_widget",t.OPPO="oppo_widget",t.TRANSSION="transsion",t.ONEPLUS="oneplus",t.TIKTOK="tiktok_search",t);Object.values(r),e.s(["Partner",()=>r,"partnersByPattern",0,{weatherapptodaywidget:"apple_widget",apple_:"apple_widget",samsung:"samsung_widget",oppo_:"oppo_widget","oppo-":"oppo_widget",transsion:"transsion",oneplus:"oneplus",tiktok_:"tiktok_search"}])},837879,e=>{"use strict";var t=e.i(206507),r=e.i(546446),n=e.i(184154),l=e.i(485737),i=e.i(739971),a=e.i(725296),o=e.i(394481),s=e.i(763886),c=e.i(132084);e.s(["useSubscriptionsEnabled",0,()=>{let e=(0,r.useAtomValue)(i.subscriptionsEnabledAtom),u=(0,r.useAtomValue)(l.geoipCountry),d=(0,n.useParams)()?.locale,f=(0,r.useAtomValue)(o.privacyRegimeAtom)??a.Regime.EXEMPT,p=(0,r.useAtomValue)(s.partnerAtom);return(0,t.useMemo)(()=>null!==e?e:"US"===u&&"en-US"===d&&a.US_REGIMES.includes(f)&&p!==c.Partner.OPPO,[e,u,d,f,p])}])},671525,e=>{"use strict";var t=e.i(184154);let r=()=>{let e=(0,t.useRouter)();return{navigate:(t,r={})=>{let{mpa:n=!0,replace:l=!1}=r;n?l?window.location.replace(t):window.location.href=t:l?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])},391174,e=>{"use strict";var t=e.i(613646),t=t,r=e.i(318849);e.s(["invalidateUpsxCache",0,()=>{(0,t.j)(e=>"string"==typeof e&&e.startsWith("upsx/"),void 0,{revalidate:!1});try{localStorage.removeItem(r.SWR_CACHE_STORAGE_KEY)}catch{}}],391174)},792461,e=>{"use strict";var t=e.i(206507);e.s(["useRefMemo",0,e=>{let r=(0,t.useRef)(e);return r.current=e,r}])},919101,e=>{"use strict";e.s(["getAddressForLocationData",0,(e,t)=>{if(!e||!Array.isArray(t))return e;let r=t.find(t=>t.placeId===e.placeId);return r?{...e,displayName:r.address,address:r.address}:e}])},935807,e=>{"use strict";function t(e,r=[],l=!1,i="US",a){let o,s=r.find(t=>t.placeID===e.placeId);if(s&&l){let t=s.userTag||s.name;if(t&&"Other"!==t){let r=e.displayName,l=n(e,i,""),a="address"===e.type?e.address:void 0;if(t!==r&&t!==l&&t!==a)return t}}if(e?.disputedCountries)o=e.displayName||"";else{switch(e?.type){case"address":o=e?.address?.split(",")[0]?.trim()||"";break;case"city":o=e?.locale?.locale2||"";break;case"locality":o=e?.locale?.locale3||"";break;case"neighborhood":o=e?.locale?.locale4||"";break;case"airport":o=e?.airportName||"";break;case"postal":{let t=e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",r=e?.postalCode||"";o=a?`${t} ${r}`.trim():`${t}`.trim();break}default:o=e?.displayName||""}0===o.length&&(o=e?.displayName||"")}return o}function r(e,t=[],l=!1,i="US",a){let o,s=t.find(t=>t.placeID===e.placeId);if(s&&l){let t=s.userTag||s.name;if(t&&"Other"!==t){let r=e.displayName,l=n(e,i,"");if(t!==r&&t!==l)return function(e,t="US"){if(e?.disputedCountries)return e?.displayName||"";let r=t===e?.countryCode?"":e?.country||"";switch(e?.type){case"city":{let t=e?.adminDistrict||"";return[e?.locale?.locale2||"",t,r].filter(Boolean).join(", ")}case"locality":{let t=e?.adminDistrict||e?.locale?.locale2||"";return[e.locale?.locale3||"",t,r].filter(Boolean).join(", ")}case"neighborhood":{let t=e?.adminDistrict||"";return[e?.locale?.locale4||"",e?.locale?.locale3||e?.locale?.locale2||"",t,r].filter(Boolean).join(", ")}case"postal":{let t=e?.adminDistrict||"",n=e?.postalCode||"";return[e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",`${t} ${n}`.trim(),r].filter(Boolean).join(", ")}default:{let t=e?.adminDistrict||"";return[e?.locale?.locale2||"",t,r].filter(Boolean).join(", ")}}}(e,i)}}if(e?.disputedCountries)o=e?.displayName||"";else{let t=i===e?.countryCode?"":e?.country||"",r=e?.adminDistrict||"",n=e?.postalCode||"",l=e.city||"";switch(e?.type){case"address":o=[l,r,t].filter(Boolean).join(", ");break;case"city":default:o=[r,t].filter(Boolean).join(", ");break;case"locality":o=[e?.locale?.locale2||"",r,t].filter(Boolean).join(", ");break;case"neighborhood":o=[e?.locale?.locale3||e?.locale?.locale2||"",r,t].filter(Boolean).join(", ");break;case"postal":{let l=r||e?.locale?.locale2||"";o=[a?`${l} ${n}`.trim():l,t].filter(Boolean).join(", ")}}}return o}function n(e,t,r){let{displayName:n,adminDistrictCode:l,adminDistrict:i,countryCode:a,disputedArea:o,country:s}=e,c=[];return n&&c.push(n),"IL"!==t&&(l?c.push(l):i&&c.push(i)),a!==t&&!1===o&&s&&c.push(s),c.join(r)}e.s(["getLocationContext",0,r,"getLocationName",0,t,"getLocationPresentationName",0,function(e,n=[],l=!1,i="US"){let a=t(e,n,l,i,!1),o=r(e,n,l,i,!0),s=e?.separator?e?.separator:a&&o?", ":"";return`${a}${s}${o}`.trim()}])}]);