(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]||(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]=[])).push(["object"==typeof document?document.currentScript:void 0,543836,e=>{"use strict";var t=Object.defineProperty,n=(e,n)=>t(e,"name",{value:n,configurable:!0}),r=!!("u">typeof window&&window.document&&window.document.createElement);function o(e,t,{checkForDefaultPrevented:r=!0}={}){return n(function(n){if(e?.(n),!1===r||!n||!n.defaultPrevented)return t?.(n)},"handleEvent")}function i(e){if(!r)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function a(e){return"IFRAME"===e.tagName}n(o,"composeEventHandlers"),n(function(e){if(!r)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),n(i,"getOwnerDocument"),n(function e(t,n=!1){let{activeElement:r}=i(t);if(!r?.nodeName)return null;if(a(r)&&r.contentDocument)return e(r.contentDocument.body,n);if(n){let e=r.getAttribute("aria-activedescendant");if(e){let t=i(r).getElementById(e);if(t)return t}}return r},"getActiveElement"),n(a,"isFrame"),e.s(["composeEventHandlers",0,o])},899300,e=>{"use strict";e.s(["IS_DEVELOPMENT",0,!1])},271359,e=>{"use strict";var t=e.i(247865),n=Object.defineProperty,r=(e,t)=>n(e,"name",{value:t,configurable:!0});function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return t=>{let n=!1,r=e.map(e=>{let r=o(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t{"use strict";var t=e.i(247865),n=e.i(902875),r=Object.defineProperty,o=(e,t)=>r(e,"name",{value:t,configurable:!0});function i(e,r=[]){let s=[];function l(r,i){let a=t.createContext(i);a.displayName=r+"Context";let l=s.length;s=[...s,i];let u=o(r=>{let{scope:o,children:i,...s}=r,u=o?.[e]?.[l]||a,c=t.useMemo(()=>s,Object.values(s));return(0,n.jsx)(u.Provider,{value:c,children:i})},"Provider");function c(n,o,s={}){let{optional:u=!1}=s,d=o?.[e]?.[l]||a,f=t.useContext(d);if(f)return f;if(void 0!==i)return i;if(!u)throw Error(`\`${n}\` must be used within \`${r}\``)}return u.displayName=r+"Provider",o(c,"useContext"),[u,c]}o(l,"createContext");let u=o(()=>{let n=s.map(e=>t.createContext(e));return o(function(r){let o=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])},"useScope")},"createScope");return u.scopeName=e,[l,a(u,...r)]}function a(...e){let n=e[0];if(1===e.length)return n;let r=o(()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return o(function(e){let o=r.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=n.scopeName,r}o(function(e,r){let i=t.createContext(r);i.displayName=e+"Context";let a=o(e=>{let{children:r,...o}=e,a=t.useMemo(()=>o,Object.values(o));return(0,n.jsx)(i.Provider,{value:a,children:r})},"Provider");function s(n,o={}){let{optional:a=!1}=o,l=t.useContext(i);if(l)return l;if(void 0!==r)return r;if(!a)throw Error(`\`${n}\` must be used within \`${e}\``)}return a.displayName=e+"Provider",o(s,"useContext"),[a,s]},"createContext"),o(i,"createContextScope"),o(a,"composeContextScopes"),e.s(["createContextScope",0,i])},296994,e=>{"use strict";var t=e.i(247865),n=e.i(714035),r=Object.defineProperty,o=t[" useId ".trim().toString()]||(()=>void 0),i=0;function a(e){let[r,a]=t.useState(o());return(0,n.useLayoutEffect)(()=>{e||a(e=>e??String(i++))},[e]),e||(r?`radix-${r}`:"")}r(a,"name",{value:"useId",configurable:!0}),e.s(["useId",0,a])},312610,e=>{"use strict";var t=e.i(247865),n=e.i(714035),r=Object.defineProperty,o=(e,t)=>r(e,"name",{value:t,configurable:!0});function i(e,n){return t.useReducer((e,t)=>n[e][t]??e,e)}o(i,"useStateMachine");var a=o(e=>{let{present:n,children:r}=e,o=s(n),i="function"==typeof r?r({present:o.isPresent}):t.Children.only(r),a=u(o.ref,d(i));return"function"==typeof r||o.isPresent?t.cloneElement(i,{ref:a}):null},"Presence");function s(e){let[r,a]=t.useState(),s=t.useRef(null),l=t.useRef(e),u=t.useRef("none"),d=t.useRef(void 0),[f,m]=i(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{"mounted"===f?(u.current=d.current??c(s.current),d.current=void 0):u.current="none"},[f]),(0,n.useLayoutEffect)(()=>{let t=s.current,n=l.current;if(n!==e){let r=u.current,o=c(t);e?(d.current=o,m("MOUNT")):"none"===o||t?.display==="none"?m("UNMOUNT"):n&&r!==o?m("ANIMATION_OUT"):m("UNMOUNT"),l.current=e}},[e,m]),(0,n.useLayoutEffect)(()=>{if(r){let e,t=r.ownerDocument.defaultView??window,n=o(n=>{let o=c(s.current).includes(CSS.escape(n.animationName));if(n.target===r&&o&&(m("ANIMATION_END"),!l.current)){let n=r.style.animationFillMode;r.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=n)})}},"handleAnimationEnd"),i=o(e=>{e.target===r&&(u.current=c(s.current))},"handleAnimationStart");return r.addEventListener("animationstart",i),r.addEventListener("animationcancel",n),r.addEventListener("animationend",n),()=>{t.clearTimeout(e),r.removeEventListener("animationstart",i),r.removeEventListener("animationcancel",n),r.removeEventListener("animationend",n)}}m("ANIMATION_END")},[r,m]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);s.current=t,d.current=c(t)}else s.current=null;a(e)},[])}}function l(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function u(...e){let n=t.useRef(e);return n.current=e,t.useCallback(e=>{let t=n.current,r=!1,o=t.map(t=>{let n=l(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e{"use strict";var t=e.i(247865),n=e.i(352825),r=e.i(982538),o=e.i(902875),i=Object.defineProperty,a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let i=(0,r.createSlot)(`Primitive.${n}`),a=t.forwardRef((e,t)=>{let{asChild:r,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(r?i:n,{...a,ref:t})});return a.displayName=`Primitive.${n}`,{...e,[n]:a}},{});function s(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}i(s,"name",{value:"dispatchDiscreteCustomEvent",configurable:!0}),e.s(["Primitive",0,a,"dispatchDiscreteCustomEvent",0,s])},803976,e=>{"use strict";var t=e.i(247865),n=e.i(899300),r=e.i(714035),o=Object.defineProperty,i=t[" useEffectEvent ".trim().toString()],a=t[" useInsertionEffect ".trim().toString()];function s(e){if("function"==typeof i)return i(e);let n=t.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof a?a(()=>{n.current=e}):(0,r.useLayoutEffect)(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}o(s,"name",{value:"useEffectEvent",configurable:!0});var l=Object.defineProperty,u=(e,t)=>l(e,"name",{value:t,configurable:!0}),c=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;function d({prop:e,defaultProp:r,onChange:o=u(()=>{},"onChange"),caller:i}){let[a,s,l]=f({defaultProp:r,onChange:o}),c=void 0!==e,p=c?e:a;if(n.IS_DEVELOPMENT){let n=t.useRef(void 0!==e);t.useEffect(()=>{let e=n.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.`)}n.current=c},[c,i])}return[p,t.useCallback(t=>{if(c){let n=m(t)?t(e):t;n!==e&&l.current?.(n)}else s(t)},[c,e,s,l])]}function f({defaultProp:e,onChange:n}){let[r,o]=t.useState(e),i=t.useRef(r),a=t.useRef(n);return c(()=>{a.current=n},[n]),t.useEffect(()=>{i.current!==r&&(a.current?.(r),i.current=r)},[r,i]),[r,o,a]}function m(e){return"function"==typeof e}u(d,"useControllableState"),u(f,"useUncontrolledState"),u(m,"isFunction");var p=Symbol("RADIX:SYNC_STATE");u(function(e,r,o,i){let{prop:a,defaultProp:l,onChange:u,caller:c}=r,d=void 0!==a,f=s(u);if(n.IS_DEVELOPMENT){let e=t.useRef(void 0!==a);t.useEffect(()=>{let t=e.current;if(t!==d){let e=d?"controlled":"uncontrolled";console.warn(`${c} is changing from ${t?"controlled":"uncontrolled"} to ${e}. 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.`)}e.current=d},[d,c])}let m=[{...o,state:l}];i&&m.push(i);let[g,v]=t.useReducer((t,n)=>{if(n.type===p)return{...t,state:n.state};let r=e(t,n);return d&&!Object.is(r.state,t.state)&&f(r.state),r},...m),h=g.state,y=t.useRef(h);t.useEffect(()=>{y.current!==h&&(y.current=h,d||f(h))},[h,y,d]);let b=t.useMemo(()=>void 0!==a?{...g,state:a}:g,[g,a]);return t.useEffect(()=>{d&&!Object.is(a,g.state)&&v({type:p,state:a})},[a,g.state,d]),[b,v]},"useControllableStateReducer"),e.s(["useControllableState",0,d],803976)},714035,e=>{"use strict";var t=e.i(247865),n=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,n])},598513,e=>{"use strict";var t=e.i(947118),n=e.i(737801),r=e.i(247865);e.s(["useSendInteractionEvent",0,()=>{let e="interaction",o=(0,t.useIsInitialized)(),i=(0,n.useEventAttributes)();return(0,r.useCallback)((t,n={})=>{let r={...i,...t};if(!o)return void console.warn("MParticle is not initialized");try{if(window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,r),n.flushImmediately)try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,r)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[i,o])}])},18358,e=>{"use strict";var t=e.i(947118),n=e.i(737801),r=e.i(247865);e.s(["useTrackEvent",0,()=>{let e=(0,t.useIsInitialized)(),o=(0,n.useEventAttributes)(),i=(0,r.useCallback)((t,n={},r={})=>{let a={...o,...n};if(!e)return void console.warn("MParticle is not initialized");try{if(window.mParticle.logEvent(t,window.mParticle.EventType.Other,a),r.flushImmediately)try{window.mParticle.upload?.()}catch{}console.debug(`MParticle: Event "${t}" tracked`,a)}catch(e){console.error(`MParticle: Event "${t}" failed`,e)}return i},[o,e]);return i}])},89887,e=>{"use strict";function t(e,t){let n="/"+e.split("/").filter(Boolean).slice(1).join("/");return"en-US"===t?n:`/${t}${n}`}e.s(["buildLocationCanonicalBase",0,t,"buildLocationCanonicalPath",0,function(e,n,r){return`${t(e,n)}/${r}`}])},226602,e=>{"use strict";var t=e.i(902875),n=e.i(247865),r=e.i(747961);let o=(0,n.forwardRef)(({title:e,titleId:n,desc:r,descId:o,...i},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":n,"aria-describedby":o,...i,children:[r?(0,t.jsx)("desc",{id:o,children:r}):null,void 0===e?(0,t.jsx)("title",{id:n,children:"Close"}):e?(0,t.jsx)("title",{id:n,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=n.default.forwardRef((e,n)=>(0,t.jsx)(r.BaseIcon,{ref:n,icon:o,...e}));i.displayName="Close",e.s(["Close",0,i])},559421,e=>{"use strict";var t=e.i(725287),n=e.i(89887),r=e.i(64412),o=e.i(942400),i=e.i(269153),a=e.i(512134);e.i(388706),e.s(["useCanonicalBasePath",0,function(){let e=(0,t.useParams)(),s=(0,t.usePathname)(),{location:l}=(0,r.useLocation)(),u=(0,o.usePageLocale)(),c=(0,i.useIsSamsungPartner)();if(!(0,a.useIsClient)()||c)return;let d=e?.canonicalLocation,f=e?.featureId;if(!(d?.length||f&&!s.includes("/l/")))return;let m=l?.canonicalID;if(m)return(0,n.buildLocationCanonicalBase)(m,u);if(s.includes("/byFeatureId/"))return;let p=/\/day-\d+$/.test(s)?s.substring(0,s.lastIndexOf("/")):s;return p.substring(0,p.lastIndexOf("/"))}])},304116,e=>{"use strict";var t=e.i(89887),n=e.i(611540),r=e.i(388706);e.s(["buildLocationPageHref",0,function({pageType:e,locale:o,canonicalID:i,featureId:a,placeId:s,canonicalBasePath:l,skipCanonical:u=!1}){let c=r.PAGE_TYPE_TO_SUFFIX[e],d=r.CANONICAL_ELIGIBLE_BY_PAGE[e]&&!u;return l&&d?`${l}/${c}`:d&&i?(0,t.buildLocationCanonicalPath)(i,o,c):(0,n.interpolateLocationUrl)(n.URLS[r.PAGE_TYPE_TO_URL_KEY[e]],d?{locale:o,locId:s??a??"",featureId:a}:{locale:o,locId:s??""})}])},763886,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["partnerAtom",0,t])},269153,e=>{"use strict";var t=e.i(546446),n=e.i(763886),r=e.i(132084);e.s(["useIsSamsungPartner",0,function(){return(0,t.useAtomValue)(n.partnerAtom)===r.Partner.SAMSUNG}])},394481,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["privacyRegimeAtom",0,t])},62544,396817,634177,e=>{"use strict";var t=e.i(902875),n=e.i(247865),r=e.i(543836),o=e.i(271359),i=e.i(855128),a=e.i(296994),s=e.i(803976),l=e.i(698900),u=e.i(546504),c=e.i(778469),d=e.i(312610),f=e.i(942928),m=e.i(235453),p=e.i(714035),g=e.i(621790),v=e.i(73772),h=e.i(982538),y=Object.defineProperty,b=(e,t)=>y(e,"name",{value:t,configurable:!0}),E="Dialog",[C,w]=(0,i.createContextScope)(E),[x,P]=C(E),D=b(e=>{let{__scopeDialog:r,children:o,open:i,defaultOpen:l,onOpenChange:u,modal:c=!0}=e,d=n.useRef(null),f=n.useRef(null),[m,p]=(0,s.useControllableState)({prop:i,defaultProp:l??!1,onChange:u,caller:E}),[g,v]=n.useState(0),[h,y]=n.useState(0);return(0,t.jsx)(x,{scope:r,triggerRef:d,contentRef:f,contentId:(0,a.useId)(),titleId:(0,a.useId)(),descriptionId:(0,a.useId)(),titlePresent:g>0,descriptionPresent:h>0,setTitleCount:v,setDescriptionCount:y,open:m,onOpenChange:p,onOpenToggle:n.useCallback(()=>p(e=>!e),[p]),modal:c,children:o})},"Dialog"),j=n.forwardRef(b(function(e,n){let{__scopeDialog:i,...a}=e,s=P("DialogTrigger",i),l=(0,o.useComposedRefs)(n,s.triggerRef);return(0,t.jsx)(f.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":z(s.open),...a,ref:l,onClick:(0,r.composeEventHandlers)(e.onClick,s.onOpenToggle)})},"DialogTrigger")),O="DialogPortal",[R,S]=C(O,{forceMount:void 0}),I=b(e=>{let{__scopeDialog:r,forceMount:o,children:i,container:a}=e,s=P(O,r);return(0,t.jsx)(R,{scope:r,forceMount:o,children:n.Children.map(i,e=>(0,t.jsx)(d.Presence,{present:o||s.open,children:(0,t.jsx)(c.Portal,{asChild:!0,container:a,children:e})}))})},"DialogPortal"),N="DialogOverlay",_=n.forwardRef(b(function(e,n){let r=S(N,e.__scopeDialog),{forceMount:o=r.forceMount,...i}=e,a=P(N,e.__scopeDialog);return a.modal?(0,t.jsx)(d.Presence,{present:o||a.open,children:(0,t.jsx)(M,{...i,ref:n})}):null},"DialogOverlay")),A=(0,h.createSlot)("DialogOverlay.RemoveScroll"),M=n.forwardRef(b(function(e,n){let{__scopeDialog:r,...i}=e,a=P(N,r),s=(0,l.useDismissableLayerSurface)(),u=(0,o.useComposedRefs)(n,s);return(0,t.jsx)(g.RemoveScroll,{as:A,allowPinchZoom:!0,shards:[a.contentRef],children:(0,t.jsx)(f.Primitive.div,{"data-state":z(a.open),...i,ref:u,style:{pointerEvents:"auto",...i.style}})})},"DialogOverlayImpl")),T="DialogContent",L=n.forwardRef(b(function(e,n){let r=S(T,e.__scopeDialog),{forceMount:o=r.forceMount,...i}=e,a=P(T,e.__scopeDialog);return(0,t.jsx)(d.Presence,{present:o||a.open,children:a.modal?(0,t.jsx)($,{...i,ref:n}):(0,t.jsx)(F,{...i,ref:n})})},"DialogContent")),$=n.forwardRef(b(function(e,i){let a=P(T,e.__scopeDialog),s=n.useRef(null),l=(0,o.useComposedRefs)(i,a.contentRef,s);return n.useEffect(()=>{let e=s.current;if(e)return(0,v.hideOthers)(e)},[]),(0,t.jsx)(U,{...e,ref:l,trapFocus:a.open,disableOutsidePointerEvents:a.open,onCloseAutoFocus:(0,r.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),a.triggerRef.current?.focus()}),onPointerDownOutside:(0,r.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,r.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})},"DialogContentModal")),F=n.forwardRef(b(function(e,r){let o=P(T,e.__scopeDialog),i=n.useRef(!1),a=n.useRef(!1);return(0,t.jsx)(U,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||o.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let n=t.target;o.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})},"DialogContentNonModal")),U=n.forwardRef(b(function(e,n){let{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,...s}=e,c=P(T,r);return(0,m.useFocusGuards)(),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(u.FocusScope,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,t.jsx)(l.DismissableLayer,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionPresent?c.descriptionId:void 0,"aria-labelledby":c.titlePresent?c.titleId:void 0,"data-state":z(c.open),...s,ref:n,deferPointerDownOutside:!0,onDismiss:()=>c.onOpenChange(!1)})})})},"DialogContentImpl")),k=n.forwardRef(b(function(e,n){let{__scopeDialog:r,...o}=e,i=P("DialogTitle",r),{setTitleCount:a}=i;return(0,p.useLayoutEffect)(()=>(a(e=>e+1),()=>a(e=>e-1)),[a]),(0,t.jsx)(f.Primitive.h2,{id:i.titleId,...o,ref:n})},"DialogTitle")),B=n.forwardRef(b(function(e,n){let{__scopeDialog:r,...o}=e,i=P("DialogDescription",r),{setDescriptionCount:a}=i;return(0,p.useLayoutEffect)(()=>(a(e=>e+1),()=>a(e=>e-1)),[a]),(0,t.jsx)(f.Primitive.p,{id:i.descriptionId,...o,ref:n})},"DialogDescription")),V=n.forwardRef(b(function(e,n){let{__scopeDialog:o,...i}=e,a=P("DialogClose",o);return(0,t.jsx)(f.Primitive.button,{type:"button",...i,ref:n,onClick:(0,r.composeEventHandlers)(e.onClick,()=>a.onOpenChange(!1))})},"DialogClose"));function z(e){return e?"open":"closed"}b(z,"getState"),e.s(["Close",0,V,"Content",0,L,"Description",0,B,"Overlay",0,_,"Portal",0,I,"Root",0,D,"Title",0,k,"Trigger",0,j],396817);var H=e.i(226602),G=e.i(632137),W=e.i(877957),Y=e.i(294237);e.i(368847);let K=(0,Y.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 X({...e}){return(0,t.jsx)(I,{"data-slot":"dialog-portal",...e})}function Z({className:e,...n}){return(0,t.jsx)(_,{"data-slot":"dialog-overlay",className:(0,G.cn)(K({type:"overlay"}),e),...n})}function q({className:e,overlayClassName:n,children:r,showCloseButton:o=!0,...i}){return(0,t.jsxs)(X,{"data-slot":"dialog-portal",children:[(0,t.jsx)(Z,{className:n}),(0,t.jsxs)(L,{"data-slot":"dialog-content",className:(0,G.cn)(K({type:"content"}),e),...i,children:[r,o&&(0,t.jsxs)(V,{className:"absolute top-4 right-4 cursor-pointer transition-opacity hover:opacity-70 focus:outline-none",children:[(0,t.jsx)(H.Close,{className:"h-5 w-5 text-black"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function J({className:e,...n}){return(0,t.jsx)("div",{"data-slot":"dialog-header",className:(0,G.cn)(K({type:"header"}),e),...n})}function Q({className:e,children:n,...r}){return(0,t.jsx)(k,{"data-slot":"dialog-title",className:(0,G.cn)("pt-4 text-center",e),...r,children:n})}function ee({className:e,children:n,...r}){return(0,t.jsx)(B,{"data-slot":"dialog-description",className:(0,G.cn)("pb-4 text-center",e),...r,children:n})}function et({primary:e,secondary:n,className:r}){return(0,t.jsxs)("div",{className:(0,G.cn)("flex flex-col-reverse gap-3",r),children:[n&&(0,t.jsx)(W.Button,{variant:"secondary",onClick:n.onClick,className:"w-full",children:n.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:n,primaryAction:r,secondaryAction:o,showCloseButton:i=!0,className:a,children:s,...l}){return(0,t.jsxs)(q,{showCloseButton:i,className:(0,G.cn)("p-6",a),...l,children:[(0,t.jsx)(J,{children:(0,t.jsx)(Q,{children:e})}),(0,t.jsx)(ee,{children:n}),s,(r||o)&&(0,t.jsx)(et,{primary:r,secondary:o})]})},"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,q,"DialogDescription",0,ee,"DialogFooter",0,function({className:e,...n}){return(0,t.jsx)("div",{"data-slot":"dialog-footer",className:(0,G.cn)(K({type:"footer"}),e),...n})},"DialogHeader",0,J,"DialogOverlay",0,Z,"DialogPortal",0,X,"DialogTitle",0,Q,"DialogTrigger",0,function({...e}){return(0,t.jsx)(j,{"data-slot":"dialog-trigger",...e})}],62544)},739971,e=>{"use strict";let t=(0,e.i(981030).atom)(null);e.s(["subscriptionsEnabledAtom",0,t])},837879,e=>{"use strict";var t=e.i(247865),n=e.i(546446),r=e.i(725287),o=e.i(485737),i=e.i(739971),a=e.i(725296),s=e.i(394481),l=e.i(763886),u=e.i(132084);e.s(["useSubscriptionsEnabled",0,()=>{let e=(0,n.useAtomValue)(i.subscriptionsEnabledAtom),c=(0,n.useAtomValue)(o.geoipCountry),d=(0,r.useParams)()?.locale,f=(0,n.useAtomValue)(s.privacyRegimeAtom)??a.Regime.EXEMPT,m=(0,n.useAtomValue)(l.partnerAtom);return(0,t.useMemo)(()=>null!==e?e:"US"===c&&"en-US"===d&&a.US_REGIMES.includes(f)&&m!==u.Partner.OPPO,[e,c,d,f,m])}])},512134,e=>{"use strict";var t=e.i(247865);e.s(["useIsClient",0,function(){let[e,n]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{n(!0)},[]),e}])}]);