(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}),o=!!("u">typeof window&&window.document&&window.document.createElement);function r(e,t,{checkForDefaultPrevented:o=!0}={}){return n(function(n){if(e?.(n),!1===o||!n||!n.defaultPrevented)return t?.(n)},"handleEvent")}function i(e){if(!o)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function a(e){return"IFRAME"===e.tagName}n(r,"composeEventHandlers"),n(function(e){if(!o)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:o}=i(t);if(!o?.nodeName)return null;if(a(o)&&o.contentDocument)return e(o.contentDocument.body,n);if(n){let e=o.getAttribute("aria-activedescendant");if(e){let t=i(o).getElementById(e);if(t)return t}}return o},"getActiveElement"),n(a,"isFrame"),e.s(["composeEventHandlers",0,r])},899300,e=>{"use strict";e.s(["IS_DEVELOPMENT",0,!1])},271359,e=>{"use strict";var t=e.i(247865),n=Object.defineProperty,o=(e,t)=>n(e,"name",{value:t,configurable:!0});function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return t=>{let n=!1,o=e.map(e=>{let o=r(e,t);return n||"function"!=typeof o||(n=!0),o});if(n)return()=>{for(let t=0;t{"use strict";var t=e.i(247865),n=e.i(902875),o=Object.defineProperty,r=(e,t)=>o(e,"name",{value:t,configurable:!0});function i(e,o=[]){let s=[];function l(o,i){let a=t.createContext(i);a.displayName=o+"Context";let l=s.length;s=[...s,i];let u=r(o=>{let{scope:r,children:i,...s}=o,u=r?.[e]?.[l]||a,c=t.useMemo(()=>s,Object.values(s));return(0,n.jsx)(u.Provider,{value:c,children:i})},"Provider");function c(n,r,s={}){let{optional:u=!1}=s,d=r?.[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 \`${o}\``)}return u.displayName=o+"Provider",r(c,"useContext"),[u,c]}r(l,"createContext");let u=r(()=>{let n=s.map(e=>t.createContext(e));return r(function(o){let r=o?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...o,[e]:r}}),[o,r])},"useScope")},"createScope");return u.scopeName=e,[l,a(u,...o)]}function a(...e){let n=e[0];if(1===e.length)return n;let o=r(()=>{let o=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return r(function(e){let r=o.reduce((t,{useScope:n,scopeName:o})=>{let r=n(e)[`__scope${o}`];return{...t,...r}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:r}),[r])},"useComposedScopes")},"createScope");return o.scopeName=n.scopeName,o}r(function(e,o){let i=t.createContext(o);i.displayName=e+"Context";let a=r(e=>{let{children:o,...r}=e,a=t.useMemo(()=>r,Object.values(r));return(0,n.jsx)(i.Provider,{value:a,children:o})},"Provider");function s(n,r={}){let{optional:a=!1}=r,l=t.useContext(i);if(l)return l;if(void 0!==o)return o;if(!a)throw Error(`\`${n}\` must be used within \`${e}\``)}return a.displayName=e+"Provider",r(s,"useContext"),[a,s]},"createContext"),r(i,"createContextScope"),r(a,"composeContextScopes"),e.s(["createContextScope",0,i])},296994,e=>{"use strict";var t=e.i(247865),n=e.i(714035),o=Object.defineProperty,r=t[" useId ".trim().toString()]||(()=>void 0),i=0;function a(e){let[o,a]=t.useState(r());return(0,n.useLayoutEffect)(()=>{e||a(e=>e??String(i++))},[e]),e||(o?`radix-${o}`:"")}o(a,"name",{value:"useId",configurable:!0}),e.s(["useId",0,a])},312610,e=>{"use strict";var t=e.i(247865),n=e.i(714035),o=Object.defineProperty,r=(e,t)=>o(e,"name",{value:t,configurable:!0});function i(e,n){return t.useReducer((e,t)=>n[e][t]??e,e)}r(i,"useStateMachine");var a=r(e=>{let{present:n,children:o}=e,r=s(n),i="function"==typeof o?o({present:r.isPresent}):t.Children.only(o),a=u(r.ref,d(i));return"function"==typeof o||r.isPresent?t.cloneElement(i,{ref:a}):null},"Presence");function s(e){let[o,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 o=u.current,r=c(t);e?(d.current=r,m("MOUNT")):"none"===r||t?.display==="none"?m("UNMOUNT"):n&&o!==r?m("ANIMATION_OUT"):m("UNMOUNT"),l.current=e}},[e,m]),(0,n.useLayoutEffect)(()=>{if(o){let e,t=o.ownerDocument.defaultView??window,n=r(n=>{let r=c(s.current).includes(CSS.escape(n.animationName));if(n.target===o&&r&&(m("ANIMATION_END"),!l.current)){let n=o.style.animationFillMode;o.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=n)})}},"handleAnimationEnd"),i=r(e=>{e.target===o&&(u.current=c(s.current))},"handleAnimationStart");return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",n),o.addEventListener("animationend",n),()=>{t.clearTimeout(e),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",n),o.removeEventListener("animationend",n)}}m("ANIMATION_END")},[o,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,o=!1,r=t.map(t=>{let n=l(t,e);return o||"function"!=typeof n||(o=!0),n});if(o)return()=>{for(let e=0;e{"use strict";var t=e.i(247865),n=e.i(352825),o=e.i(982538),r=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,o.createSlot)(`Primitive.${n}`),a=t.forwardRef((e,t)=>{let{asChild:o,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(o?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),o=e.i(714035),r=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,o.useLayoutEffect)(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}r(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()]||o.useLayoutEffect;function d({prop:e,defaultProp:o,onChange:r=u(()=>{},"onChange"),caller:i}){let[a,s,l]=f({defaultProp:o,onChange:r}),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[o,r]=t.useState(e),i=t.useRef(o),a=t.useRef(n);return c(()=>{a.current=n},[n]),t.useEffect(()=>{i.current!==o&&(a.current?.(o),i.current=o)},[o,i]),[o,r,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,o,r,i){let{prop:a,defaultProp:l,onChange:u,caller:c}=o,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=[{...r,state:l}];i&&m.push(i);let[g,v]=t.useReducer((t,n)=>{if(n.type===p)return{...t,state:n.state};let o=e(t,n);return d&&!Object.is(o.state,t.state)&&f(o.state),o},...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])},487709,e=>{"use strict";e.s(["canLogEvent",0,()=>"function"==typeof window.mParticle?.logEvent])},18358,e=>{"use strict";var t=e.i(487709),n=e.i(737801),o=e.i(247865);e.s(["useTrackEvent",0,()=>{let e=(0,n.useEventAttributes)(),r=(0,o.useCallback)((n,o={},i={})=>{let a={...e,...o};if(!(0,t.canLogEvent)())return void console.warn("MParticle is not loaded");try{if(window.mParticle?.logEvent(n,window.mParticle.EventType.Other,a),i.flushImmediately)try{window.mParticle.upload?.()}catch{}console.debug(`MParticle: Event "${n}" tracked`,a)}catch(e){console.error(`MParticle: Event "${n}" failed`,e)}return r},[e]);return r}])},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,o){return`${t(e,n)}/${o}`}])},226602,e=>{"use strict";var t=e.i(902875),n=e.i(247865),o=e.i(747961);let r=(0,n.forwardRef)(({title:e,titleId:n,desc:o,descId:r,...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":r,...i,children:[o?(0,t.jsx)("desc",{id:r,children:o}):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)(o.BaseIcon,{ref:n,icon:r,...e}));i.displayName="Close",e.s(["Close",0,i])},559421,4085,e=>{"use strict";var t=e.i(725287),n=e.i(89887),o=e.i(64412),r=e.i(942400),i=e.i(269153);function a(){let e=(0,t.useParams)(),o=(0,r.usePageLocale)(),a=(0,i.useIsSamsungPartner)(),s=e?.locationPath;if(!a&&Array.isArray(s)&&s.length)return(0,n.buildLocationCanonicalBase)(`/default/${s.join("/")}`,o)}e.s(["useRouteCanonicalBase",0,a],4085);var s=e.i(512134);e.i(388706),e.s(["useCanonicalBasePath",0,function(){let e=(0,t.useParams)(),l=(0,t.usePathname)(),{location:u}=(0,o.useLocation)(),c=(0,r.usePageLocale)(),d=(0,i.useIsSamsungPartner)(),f=(0,s.useIsClient)(),m=a();if(!f||d)return;if(m)return m;let p=e?.canonicalLocation,g=e?.featureId;if(!(p?.length||g&&!l.includes("/l/")))return;let v=u?.canonicalID;if(v)return(0,n.buildLocationCanonicalBase)(v,c);if(l.includes("/byFeatureId/"))return;let h=/\/day-\d+$/.test(l)?l.substring(0,l.lastIndexOf("/")):l;return h.substring(0,h.lastIndexOf("/"))}],559421)},304116,e=>{"use strict";var t=e.i(89887),n=e.i(611540),o=e.i(388706);e.s(["buildLocationPageHref",0,function({pageType:e,locale:r,canonicalID:i,featureId:a,placeId:s,canonicalBasePath:l,skipCanonical:u=!1}){let c=o.PAGE_TYPE_TO_SUFFIX[e],d=o.CANONICAL_ELIGIBLE_BY_PAGE[e]&&!u;return l&&d?`${l}/${c}`:d&&i?(0,t.buildLocationCanonicalPath)(i,r,c):(0,n.interpolateLocationUrl)(n.URLS[o.PAGE_TYPE_TO_URL_KEY[e]],d?{locale:r,locId:s??a??"",featureId:a}:{locale:r,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),o=e.i(132084);e.s(["useIsSamsungPartner",0,function(){return(0,t.useAtomValue)(n.partnerAtom)===o.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),o=e.i(543836),r=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}),C="Dialog",[E,x]=(0,i.createContextScope)(C),[P,w]=E(C),D=b(e=>{let{__scopeDialog:o,children:r,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:C}),[g,v]=n.useState(0),[h,y]=n.useState(0);return(0,t.jsx)(P,{scope:o,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:r})},"Dialog"),j=n.forwardRef(b(function(e,n){let{__scopeDialog:i,...a}=e,s=w("DialogTrigger",i),l=(0,r.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":H(s.open),...a,ref:l,onClick:(0,o.composeEventHandlers)(e.onClick,s.onOpenToggle)})},"DialogTrigger")),O="DialogPortal",[R,S]=E(O,{forceMount:void 0}),N=b(e=>{let{__scopeDialog:o,forceMount:r,children:i,container:a}=e,s=w(O,o);return(0,t.jsx)(R,{scope:o,forceMount:r,children:n.Children.map(i,e=>(0,t.jsx)(d.Presence,{present:r||s.open,children:(0,t.jsx)(c.Portal,{asChild:!0,container:a,children:e})}))})},"DialogPortal"),I="DialogOverlay",_=n.forwardRef(b(function(e,n){let o=S(I,e.__scopeDialog),{forceMount:r=o.forceMount,...i}=e,a=w(I,e.__scopeDialog);return a.modal?(0,t.jsx)(d.Presence,{present:r||a.open,children:(0,t.jsx)(L,{...i,ref:n})}):null},"DialogOverlay")),A=(0,h.createSlot)("DialogOverlay.RemoveScroll"),L=n.forwardRef(b(function(e,n){let{__scopeDialog:o,...i}=e,a=w(I,o),s=(0,l.useDismissableLayerSurface)(),u=(0,r.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":H(a.open),...i,ref:u,style:{pointerEvents:"auto",...i.style}})})},"DialogOverlayImpl")),M="DialogContent",T=n.forwardRef(b(function(e,n){let o=S(M,e.__scopeDialog),{forceMount:r=o.forceMount,...i}=e,a=w(M,e.__scopeDialog);return(0,t.jsx)(d.Presence,{present:r||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=w(M,e.__scopeDialog),s=n.useRef(null),l=(0,r.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,o.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),a.triggerRef.current?.focus()}),onPointerDownOutside:(0,o.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,o.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})},"DialogContentModal")),F=n.forwardRef(b(function(e,o){let r=w(M,e.__scopeDialog),i=n.useRef(!1),a=n.useRef(!1);return(0,t.jsx)(U,{...e,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||r.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;r.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:o,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...s}=e,c=w(M,o);return(0,m.useFocusGuards)(),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(u.FocusScope,{asChild:!0,loop:!0,trapped:r,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":H(c.open),...s,ref:n,deferPointerDownOutside:!0,onDismiss:()=>c.onOpenChange(!1)})})})},"DialogContentImpl")),k=n.forwardRef(b(function(e,n){let{__scopeDialog:o,...r}=e,i=w("DialogTitle",o),{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,...r,ref:n})},"DialogTitle")),B=n.forwardRef(b(function(e,n){let{__scopeDialog:o,...r}=e,i=w("DialogDescription",o),{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,...r,ref:n})},"DialogDescription")),V=n.forwardRef(b(function(e,n){let{__scopeDialog:r,...i}=e,a=w("DialogClose",r);return(0,t.jsx)(f.Primitive.button,{type:"button",...i,ref:n,onClick:(0,o.composeEventHandlers)(e.onClick,()=>a.onOpenChange(!1))})},"DialogClose"));function H(e){return e?"open":"closed"}b(H,"getState"),e.s(["Close",0,V,"Content",0,T,"Description",0,B,"Overlay",0,_,"Portal",0,N,"Root",0,D,"Title",0,k,"Trigger",0,j],396817);var G=e.i(226602),z=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)(N,{"data-slot":"dialog-portal",...e})}function Z({className:e,...n}){return(0,t.jsx)(_,{"data-slot":"dialog-overlay",className:(0,z.cn)(K({type:"overlay"}),e),...n})}function q({className:e,overlayClassName:n,children:o,showCloseButton:r=!0,...i}){return(0,t.jsxs)(X,{"data-slot":"dialog-portal",children:[(0,t.jsx)(Z,{className:n}),(0,t.jsxs)(T,{"data-slot":"dialog-content",className:(0,z.cn)(K({type:"content"}),e),...i,children:[o,r&&(0,t.jsxs)(V,{className:"absolute top-4 right-4 cursor-pointer transition-opacity hover:opacity-70 focus:outline-none",children:[(0,t.jsx)(G.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,z.cn)(K({type:"header"}),e),...n})}function Q({className:e,children:n,...o}){return(0,t.jsx)(k,{"data-slot":"dialog-title",className:(0,z.cn)("pt-4 text-center",e),...o,children:n})}function ee({className:e,children:n,...o}){return(0,t.jsx)(B,{"data-slot":"dialog-description",className:(0,z.cn)("pb-4 text-center",e),...o,children:n})}function et({primary:e,secondary:n,className:o}){return(0,t.jsxs)("div",{className:(0,z.cn)("flex flex-col-reverse gap-3",o),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:o,secondaryAction:r,showCloseButton:i=!0,className:a,children:s,...l}){return(0,t.jsxs)(q,{showCloseButton:i,className:(0,z.cn)("p-6",a),...l,children:[(0,t.jsx)(J,{children:(0,t.jsx)(Q,{children:e})}),(0,t.jsx)(ee,{children:n}),s,(o||r)&&(0,t.jsx)(et,{primary:o,secondary:r})]})},"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,z.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),o=e.i(725287),r=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)(r.geoipCountry),d=(0,o.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}])}]);