(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,991511,e=>{"use strict";var t=e.i(592121),r=e.i(806262),n=e.i(546446);e.s(["useRehydrateAtoms",0,e=>{(0,r.useHydrateAtoms)(e);let l=(0,n.useStore)(),a=(0,t.useRef)(e);a.current=e,(0,t.useEffect)(()=>{for(let[e,t]of a.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(592121),r=e.i(609858);let n=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:l,page:a,onUpdateData:i,onSetPageData:o}){let{updateComponentData:s,setPageData:c}=(0,r.useDebugSystem)(),d=(0,t.useRef)(!1),u=i||s,x=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}),u(e,{...l,_collectedAt:new Date().toISOString()}),()=>{n.lifecycle(`Cleaning up data for ${e}`),u(e,null)}},[e,l,u]),(0,t.useEffect)(()=>{a&&!d.current&&(n.lifecycle("Setting page metadata",{title:a.title,assetName:a.assetName,collection:a.collection}),x({...a,_updatedAt:new Date().toISOString()}),d.current=!0)},[a,x]),null}])},367810,396817,634177,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(543836),l=e.i(271359),a=e.i(855128),i=e.i(296994),o=e.i(803976),s=e.i(698900),c=e.i(546504),d=e.i(778469),u=e.i(312610),x=e.i(942928),g=e.i(235453),f=e.i(714035),p=e.i(621790),m=e.i(73772),v=e.i(982538),h=Object.defineProperty,b=(e,t)=>h(e,"name",{value:t,configurable:!0}),y="Dialog",[w,j]=(0,a.createContextScope)(y),[C,S]=w(y),D=b(e=>{let{__scopeDialog:n,children:l,open:a,defaultOpen:s,onOpenChange:c,modal:d=!0}=e,u=r.useRef(null),x=r.useRef(null),[g,f]=(0,o.useControllableState)({prop:a,defaultProp:s??!1,onChange:c,caller:y}),[p,m]=r.useState(0),[v,h]=r.useState(0);return(0,t.jsx)(C,{scope:n,triggerRef:u,contentRef:x,contentId:(0,i.useId)(),titleId:(0,i.useId)(),descriptionId:(0,i.useId)(),titlePresent:p>0,descriptionPresent:v>0,setTitleCount:m,setDescriptionCount:h,open:g,onOpenChange:f,onOpenToggle:r.useCallback(()=>f(e=>!e),[f]),modal:d,children:l})},"Dialog"),k=r.forwardRef(b(function(e,r){let{__scopeDialog:a,...i}=e,o=S("DialogTrigger",a),s=(0,l.useComposedRefs)(r,o.triggerRef);return(0,t.jsx)(x.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":U(o.open),...i,ref:s,onClick:(0,n.composeEventHandlers)(e.onClick,o.onOpenToggle)})},"DialogTrigger")),E="DialogPortal",[R,B]=w(E,{forceMount:void 0}),P=b(e=>{let{__scopeDialog:n,forceMount:l,children:a,container:i}=e,o=S(E,n);return(0,t.jsx)(R,{scope:n,forceMount:l,children:r.Children.map(a,e=>(0,t.jsx)(u.Presence,{present:l||o.open,children:(0,t.jsx)(d.Portal,{asChild:!0,container:i,children:e})}))})},"DialogPortal"),N="DialogOverlay",A=r.forwardRef(b(function(e,r){let n=B(N,e.__scopeDialog),{forceMount:l=n.forceMount,...a}=e,i=S(N,e.__scopeDialog);return i.modal?(0,t.jsx)(u.Presence,{present:l||i.open,children:(0,t.jsx)(O,{...a,ref:r})}):null},"DialogOverlay")),L=(0,v.createSlot)("DialogOverlay.RemoveScroll"),O=r.forwardRef(b(function(e,r){let{__scopeDialog:n,...a}=e,i=S(N,n),o=(0,s.useDismissableLayerSurface)(),c=(0,l.useComposedRefs)(r,o);return(0,t.jsx)(p.RemoveScroll,{as:L,allowPinchZoom:!0,shards:[i.contentRef],children:(0,t.jsx)(x.Primitive.div,{"data-state":U(i.open),...a,ref:c,style:{pointerEvents:"auto",...a.style}})})},"DialogOverlayImpl")),_="DialogContent",T=r.forwardRef(b(function(e,r){let n=B(_,e.__scopeDialog),{forceMount:l=n.forceMount,...a}=e,i=S(_,e.__scopeDialog);return(0,t.jsx)(u.Presence,{present:l||i.open,children:i.modal?(0,t.jsx)(I,{...a,ref:r}):(0,t.jsx)(M,{...a,ref:r})})},"DialogContent")),I=r.forwardRef(b(function(e,a){let i=S(_,e.__scopeDialog),o=r.useRef(null),s=(0,l.useComposedRefs)(a,i.contentRef,o);return r.useEffect(()=>{let e=o.current;if(e)return(0,m.hideOthers)(e)},[]),(0,t.jsx)(z,{...e,ref:s,trapFocus:i.open,disableOutsidePointerEvents:i.open,onCloseAutoFocus:(0,n.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),i.triggerRef.current?.focus()}),onPointerDownOutside:(0,n.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,n.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})},"DialogContentModal")),M=r.forwardRef(b(function(e,n){let l=S(_,e.__scopeDialog),a=r.useRef(!1),i=r.useRef(!1);return(0,t.jsx)(z,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||l.triggerRef.current?.focus(),t.preventDefault()),a.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(a.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let r=t.target;l.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})},"DialogContentNonModal")),z=r.forwardRef(b(function(e,r){let{__scopeDialog:n,trapFocus:l,onOpenAutoFocus:a,onCloseAutoFocus:i,...o}=e,d=S(_,n);return(0,g.useFocusGuards)(),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(c.FocusScope,{asChild:!0,loop:!0,trapped:l,onMountAutoFocus:a,onUnmountAutoFocus:i,children:(0,t.jsx)(s.DismissableLayer,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionPresent?d.descriptionId:void 0,"aria-labelledby":d.titlePresent?d.titleId:void 0,"data-state":U(d.open),...o,ref:r,deferPointerDownOutside:!0,onDismiss:()=>d.onOpenChange(!1)})})})},"DialogContentImpl")),F=r.forwardRef(b(function(e,r){let{__scopeDialog:n,...l}=e,a=S("DialogTitle",n),{setTitleCount:i}=a;return(0,f.useLayoutEffect)(()=>(i(e=>e+1),()=>i(e=>e-1)),[i]),(0,t.jsx)(x.Primitive.h2,{id:a.titleId,...l,ref:r})},"DialogTitle")),$=r.forwardRef(b(function(e,r){let{__scopeDialog:n,...l}=e,a=S("DialogDescription",n),{setDescriptionCount:i}=a;return(0,f.useLayoutEffect)(()=>(i(e=>e+1),()=>i(e=>e-1)),[i]),(0,t.jsx)(x.Primitive.p,{id:a.descriptionId,...l,ref:r})},"DialogDescription")),V=r.forwardRef(b(function(e,r){let{__scopeDialog:l,...a}=e,i=S("DialogClose",l);return(0,t.jsx)(x.Primitive.button,{type:"button",...a,ref:r,onClick:(0,n.composeEventHandlers)(e.onClick,()=>i.onOpenChange(!1))})},"DialogClose"));function U(e){return e?"open":"closed"}b(U,"getState"),e.s(["Close",0,V,"Content",0,T,"Description",0,$,"Overlay",0,A,"Portal",0,P,"Root",0,D,"Title",0,F,"Trigger",0,k],396817);var X=e.i(226602),H=e.i(632137),W=e.i(877957),G=e.i(294237);e.i(368847);let K=(0,G.cva)("",{variants:{type:{overlay:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-overlay bg-black/50",content:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed left-[50%] top-[50%] z-overlay w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-white shadow-lg duration-200 sm:max-w-md p-6",header:"mb-4 text-center",footer:"mt-6 flex flex-col-reverse gap-2 text-center"}},defaultVariants:{type:"content"}});function Z({...e}){return(0,t.jsx)(P,{"data-slot":"dialog-portal",...e})}function q({className:e,...r}){return(0,t.jsx)(A,{"data-slot":"dialog-overlay",className:(0,H.cn)(K({type:"overlay"}),e),...r})}function Y({className:e,overlayClassName:r,children:n,showCloseButton:l=!0,...a}){return(0,t.jsxs)(Z,{"data-slot":"dialog-portal",children:[(0,t.jsx)(q,{className:r}),(0,t.jsxs)(T,{"data-slot":"dialog-content",className:(0,H.cn)(K({type:"content"}),e),...a,children:[n,l&&(0,t.jsxs)(V,{className:"absolute top-4 right-4 cursor-pointer transition-opacity hover:opacity-70 focus:outline-none",children:[(0,t.jsx)(X.Close,{className:"h-5 w-5 text-black"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function J({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"dialog-header",className:(0,H.cn)(K({type:"header"}),e),...r})}function Q({className:e,children:r,...n}){return(0,t.jsx)(F,{"data-slot":"dialog-title",className:(0,H.cn)("pt-4 text-center",e),...n,children:r})}function ee({className:e,children:r,...n}){return(0,t.jsx)($,{"data-slot":"dialog-description",className:(0,H.cn)("pb-4 text-center",e),...n,children:r})}function et({primary:e,secondary:r,className:n}){return(0,t.jsxs)("div",{className:(0,H.cn)("flex flex-col-reverse gap-3",n),children:[r&&(0,t.jsx)(W.Button,{variant:"secondary",onClick:r.onClick,className:"w-full",children:r.label}),e&&(0,t.jsx)(W.Button,{variant:"default",onClick:e.onClick,className:"w-full",children:e.label})]})}e.s(["dialogStyles",0,K],634177),e.s(["BasicDialog",0,function({title:e,description:r,primaryAction:n,secondaryAction:l,showCloseButton:a=!0,className:i,children:o,...s}){return(0,t.jsxs)(Y,{showCloseButton:a,className:(0,H.cn)("p-6",i),...s,children:[(0,t.jsx)(J,{children:(0,t.jsx)(Q,{children:e})}),(0,t.jsx)(ee,{children:r}),o,(n||l)&&(0,t.jsx)(et,{primary:n,secondary:l})]})},"Dialog",0,function({...e}){return(0,t.jsx)(D,{"data-slot":"dialog",...e})},"DialogClose",0,function({...e}){return(0,t.jsx)(V,{"data-slot":"dialog-close",...e})},"DialogContent",0,Y,"DialogDescription",0,ee,"DialogFooter",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"dialog-footer",className:(0,H.cn)(K({type:"footer"}),e),...r})},"DialogHeader",0,J,"DialogOverlay",0,q,"DialogPortal",0,Z,"DialogTitle",0,Q,"DialogTrigger",0,function({...e}){return(0,t.jsx)(k,{"data-slot":"dialog-trigger",...e})}],367810)},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 a;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:i,defaultVariants:o}=t,s=Object.keys(i).map(e=>{let t=null==l?void 0:l[e],n=null==o?void 0:o[e];if(null===t)return null;let a=r(t)||r(n);return i[e][a]}),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==(a=t.compoundVariants)?void 0:a.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(699173),r=e.i(592121),n=e.i(294237),l=e.i(789876);let a=(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"}}),i=r.default.forwardRef(({icon:e,size:r,color:n,title:i,desc:o,className:s,ariaHidden:c,...d},u)=>(0,t.jsx)(e,{ref:u,className:(0,l.cn)(a({size:r,color:n}),s),title:i,desc:o,...c&&{"aria-hidden":c},...d}));i.displayName="BaseIcon",e.s(["BaseIcon",0,i])},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))}])},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),l=r(0,t.useFormatter);e.s(["useFormatter",0,l,"useTranslations",0,n])},368847,341669,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(294237),l=e.i(632137);let a=({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,a],341669);let i={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:i[e],value:String(e)}));let o=r.default.forwardRef(({className:e,isLoading:r,skeletonClassName:n,variant:i,elementType:o,lineClamp:c,color:d,responsive:u,children:x,...g},f)=>{if(r)return(0,t.jsx)(a,{skeletonClassName:n||""});let p=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:i}),m=(0,t.jsx)(p,{className:(0,l.cn)(s({variant:i,color:d,lineClamp:c,responsive:u}),e),ref:f,...g,children:x});return u?(0,t.jsx)("div",{className:"@container/text",children:m}):m});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)},982538,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){let n=t.forwardRef((n,l)=>{var o;let x,g,{children:f,...p}=n,m=null,v=!1,h=[];s(f)&&"function"==typeof u&&(f=u(f._payload)),t.Children.forEach(f,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;s(t)&&"function"==typeof u&&(t=u(t._payload)),m=i(e,t),h.push(m?.props?.children)}else h.push(e)}),m?m=t.cloneElement(m,void 0,h):!v&&1===t.Children.count(f)&&t.isValidElement(f)&&(m=f);let b=m?(o=m,(g=(x=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in x&&x.isReactWarning)?o.ref:(g=(x=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in x&&x.isReactWarning)?o.props.ref:o.props.ref||o.ref):void 0,y=function(...e){return t.useCallback(function(...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{let t=a(...e);return l(...e),t}:l&&(r[n]=l):"style"===n?r[n]={...l,...a}:"className"===n&&(r[n]=[l,a].filter(Boolean).join(" "))}return{...e,...r}}(p,m.props??{});return m.type!==t.Fragment&&(w.ref=l?y:b),t.cloneElement(m,w)});return n.displayName=`${e}.Slot`,n}var l=n("Slot"),a=Symbol.for("radix.slottable"),i=(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},o=Symbol.for("react.lazy");function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===o&&"_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,n,"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),l=e.i(294237),a=e.i(632137),i=e.i(747961);let o=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:l,...a},i)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:i,"aria-labelledby":r,"aria-describedby":l,...a,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)(i.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}}),d=r.forwardRef(({className:e,variant:r="default",size:l,asChild:i=!1,disabled:o=!1,loading:d=!1,children:u,...x},g)=>{let f=i?n.Slot:"button";return(0,t.jsx)(f,{...x,className:(0,a.cn)(c({variant:r,size:l,loading:d,disabled:o}),"inline-flex items-center justify-center",e),ref:g,disabled:o||d,children:i?u:(0,t.jsxs)(t.Fragment,{children:[d&&(0,t.jsx)(s,{size:"sm",className:"mr-2 animate-spin",color:"default"===r||"destructive"===r?"inverse":"primary"}),u]})})});d.displayName="Button",e.s(["Button",0,d],877957)},226602,e=>{"use strict";var t=e.i(699173),r=e.i(592121),n=e.i(747961);let l=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:l,...a},i)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:i,"aria-labelledby":r,"aria-describedby":l,...a,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"})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:l,...e}));a.displayName="Close",e.s(["Close",0,a])},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: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])},837879,e=>{"use strict";var t=e.i(592121),r=e.i(546446),n=e.i(961123),l=e.i(485737),a=e.i(739971),i=e.i(725296),o=e.i(394481),s=e.i(763886),c=e.i(132084);e.s(["useSubscriptionsEnabled",0,()=>{let e=(0,r.useAtomValue)(a.subscriptionsEnabledAtom),d=(0,r.useAtomValue)(l.geoipCountry),u=(0,n.useParams)()?.locale,x=(0,r.useAtomValue)(o.privacyRegimeAtom)??i.Regime.EXEMPT,g=(0,r.useAtomValue)(s.partnerAtom);return(0,t.useMemo)(()=>null!==e?e:"US"===d&&"en-US"===u&&i.US_REGIMES.includes(x)&&g!==c.Partner.OPPO,[e,d,u,x,g])}])},756227,95870,391174,e=>{"use strict";var t=e.i(546446),r=e.i(284007),n=e.i(889753),l=e.i(310847),a=e.i(613646);e.s(["mutate",()=>a.j],95870);var a=a,i=e.i(318849);let o=()=>{(0,a.j)(e=>"string"==typeof e&&e.startsWith("upsx/"),void 0,{revalidate:!1});try{localStorage.removeItem(i.SWR_CACHE_STORAGE_KEY)}catch{}};e.s(["invalidateUpsxCache",0,o],391174),e.s(["useResetAuthState",0,function(){let e=(0,t.useSetAtom)(n.userProfileAtom),a=(0,t.useSetAtom)(l.wxuUserAccountUserAccountResponseAtom);return()=>{o(),e(r.RESET),a(null)}}],756227)},235577,e=>{"use strict";var t=e.i(699173),r=e.i(523084),n=e.i(47524),l=e.i(632137),a=e.i(877957);e.s(["ScrollButton",0,function({direction:e,onClick:i,hidden:o,size:s="default",variant:c="light",className:d}){let u="sm"===s,x=(0,l.cn)("text-current",u?"size-4":"size-6 transition-[width,height] duration-150 group-hover:size-7 group-active:size-6 group-active:duration-100");return(0,t.jsx)(a.Button,{type:"button",onClick:i,"aria-hidden":"true",tabIndex:-1,className:(0,l.cn)("group absolute top-1/2 z-10 flex -translate-y-1/2 cursor-pointer items-center justify-center rounded-full p-0 transition-all duration-150 ease-in-out active:duration-100","dark"===c?"bg-[#252422] text-white hover:bg-[#3a3937] active:bg-[#1a1918]":"solid"===c?"bg-black/80 text-white hover:bg-black/90 active:bg-black":"white"===c?"bg-white/80 text-gray-900 backdrop-blur-[2px] hover:bg-white/95 active:bg-white":"bg-transparent text-gray-900 hover:bg-gray-100 active:bg-gray-200",u?"size-8":"size-12","left"===e&&"left-1","right"===e&&"right-1",o&&"left"===e&&"-translate-x-[calc(100%+1.5rem)]",o&&"right"===e&&"translate-x-[calc(100%+1.5rem)]",o&&"pointer-events-none opacity-0",d),children:"left"===e?(0,t.jsx)(r.ChevronLeft,{className:x}):(0,t.jsx)(n.ChevronRight,{className:x})})}])},457492,e=>{"use strict";var t=e.i(699173),r=e.i(147732),n=e.i(592121),l=e.i(632137),a=e.i(546446),i=e.i(663333),o=e.i(235577),s=e.i(240058);let c=(0,l.cn)("h-full rounded-3xl px-4 text-sm whitespace-nowrap transition-colors text-gray-900 font-bold","inline-flex items-center hover:bg-gray-100 active:bg-gray-200 focus-visible:outline-none focus-visible:bg-gray-100"),d=e=>{let{activeIndex:r,index:n,link:a}=e,i=r===n,o=(0,l.cn)(c,{"bg-gray-100 text-blue-500":i});if(e.onSelect){let{onSelect:r}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>r(n,a),className:(0,l.cn)("cursor-pointer",o),"aria-current":i?"page":void 0,children:a.label})}let{basePath:d,mpa:u}=e,x=a.href??("/"===a.slug?d||"/":`${d}/${a.slug}`);return(0,t.jsx)(s.default,{href:x,mpa:u,className:o,"aria-current":i?"page":void 0,sourceModule:"subnavigation",children:a.label})},u=(0,n.memo)(e=>{let{links:s,activeIndex:c,className:u,constrained:x=!0}=e,[g,f]=(0,n.useState)(!1),[p,m]=(0,n.useState)(!1),v=(0,n.useRef)(null),h=(0,n.useRef)(null),b=(0,n.useRef)(!1),y=(0,a.useAtomValue)(i.deviceClassAtom),w="mobile"!==y&&"tablet"!==y,j=(0,n.useCallback)(()=>{let e=v.current;if(!e||!w){f(!1),m(!1);return}let{scrollLeft:t,scrollWidth:r,clientWidth:n}=e,l=Math.abs(t),a=l>2,i=l+n(0,r.debounce)(j,150),[j]),S=(0,n.useCallback)(()=>{null===h.current&&(h.current=requestAnimationFrame(()=>{j(),h.current=null}))},[j]);(0,n.useEffect)(()=>{let e=v.current;e&&(b.current="rtl"===getComputedStyle(e).direction),j();let t=v.current;return t&&(t.addEventListener("scroll",S),window.addEventListener("resize",C)),()=>{null!==h.current&&(cancelAnimationFrame(h.current),h.current=null),t&&t.removeEventListener("scroll",S),C.cancel(),window.removeEventListener("resize",C)}},[s,j,S,C]);let D=(0,n.useCallback)(()=>{v.current?.scrollBy({left:-200,behavior:"smooth"})},[]),k=(0,n.useCallback)(()=>{v.current?.scrollBy({left:200,behavior:"smooth"})},[]);return(0,t.jsxs)("div",{className:(0,l.cn)("relative overflow-hidden rounded-3xl bg-white p-1 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)]","md:rounded-4xl md:rounded-[28px]",x&&"md:mr-auto md:max-w-[min(958px,100%)]",u),"data-testid":"subnavigation",children:[(0,t.jsx)("div",{className:(0,l.cn)("pointer-events-none absolute top-0 -left-25 z-[5] h-full w-24 bg-gradient-to-r from-white from-0% via-white via-60% to-transparent transition-[left] md:-top-1 md:h-14 md:rounded-s-[28px]",{"-left-1":g}),"aria-hidden":"true"}),(0,t.jsx)(o.ScrollButton,{hidden:!g,onClick:D,direction:"left"}),(0,t.jsx)("div",{ref:v,className:(0,l.cn)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:s.map((r,n)=>e.onSelect?(0,t.jsx)(d,{link:r,index:n,activeIndex:c,onSelect:e.onSelect},`${r.label}_${r.slug}`):(0,t.jsx)(d,{link:r,index:n,activeIndex:c,basePath:e.basePath,mpa:e.mpa},`${r.label}_${r.slug}`))}),(0,t.jsx)("div",{className:(0,l.cn)("pointer-events-none absolute top-0 -right-25 z-[5] h-full w-24 bg-gradient-to-l from-white from-0% via-white via-60% to-transparent transition-[right] md:-top-1 md:h-14 md:rounded-e-[28px]",{"-right-1":p}),"aria-hidden":"true"}),(0,t.jsx)(o.ScrollButton,{hidden:!p,onClick:k,direction:"right"})]})},(e,t)=>e.activeIndex===t.activeIndex&&e.basePath===t.basePath&&e.mpa===t.mpa&&e.onSelect===t.onSelect&&e.constrained===t.constrained&&e.links.length===t.links.length&&e.links.every((e,r)=>e.label===t.links[r]?.label&&e.slug===t.links[r]?.slug&&e.href===t.links[r]?.href));u.displayName="SubnavigationUI",e.s(["SubnavigationUI",0,u],457492)},1567,e=>{"use strict";var t=e.i(947118),r=e.i(737801),n=e.i(546446),l=e.i(513539),a=e.i(592121);e.s(["useTrackModuleViewed",0,()=>{let e="module-viewed",i=(0,t.useIsInitialized)(),o=(0,r.useEventAttributes)(),s=(0,n.useAtomValue)(l.layoutStateAtom);return(0,a.useCallback)(({moduleId:t,modulePosition:r})=>{if(!i)return void console.warn("MParticle is not initialized");let n={...o,moduleId:t,modulePosition:String(r),layoutState:s};try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,n),console.debug(`MParticle: Event "${e}" tracked`,n)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[o,i,s])}])}]);