(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,198050,e=>{"use strict";var t=e.i(902875),r=e.i(247865),i=e.i(533760),a=e.i(405341),o=e.i(829065);e.s(["CJUniversalTagScript",0,()=>{let[e,n]=(0,r.useState)(null);return((0,r.useEffect)(()=>{let e=(0,a.getCjConfig)();e&&(0,o.isCjEligible)()&&n(e)},[]),e)?(0,t.jsx)(i.default,{id:"cj-site-page",strategy:"afterInteractive",children:`(function (w, d, src, enterpriseId) { w.cj = w.cj || {}; w.cj.sitePage = { enterpriseId: enterpriseId }; if (d.getElementById('cjapitag')) return; var tag = d.createElement('script'); var first = d.getElementsByTagName('script')[0]; tag.id = 'cjapitag'; tag.async = true; tag.src = src; if (first && first.parentNode) first.parentNode.insertBefore(tag, first); else d.body.appendChild(tag); })(window, document, ${JSON.stringify(e.tagSrc)}, ${JSON.stringify(e.enterpriseId)});`}):null}])},405341,829065,e=>{"use strict";e.s(["CJ_ACTION_ID_DIRECT_PURCHASE",0,521782,"CJ_ACTION_ID_TRIAL_SIGNUP",0,519532,"getCjConfig",0,()=>{let e=Number("1601099".trim()),t="1377327807670".trim();return Number.isInteger(e)&&!(et.US_REGIMES.includes((0,t.getRegime)())],829065)},560542,e=>{"use strict";var t=e.i(247865),r=e.i(293163),i=e.i(695881),a=e.i(553329),o=e.i(405341),n=e.i(829065);let s=(0,i.createLogger)("CommissionJunction");e.s(["useCjConversionTag",0,({shouldFire:e,orderId:i,amount:l,hasTrial:c})=>{let u=(0,t.useRef)(!1);(0,t.useEffect)(()=>{if(!e||u.current||!i)return;let t=(0,o.getCjConfig)();t&&(0,n.isCjEligible)()&&(u.current=!0,(0,a.tryCatch)((async()=>{var e;let a,n,s;return e={orderId:i,amount:l,actionTrackerId:c?o.CJ_ACTION_ID_TRIAL_SIGNUP:o.CJ_ACTION_ID_DIRECT_PURCHASE,cjEventId:(0,r.getCjEvent)()},(a=window).cj=a.cj||{},a.cj.order={enterpriseId:t.enterpriseId,actionTrackerId:e.actionTrackerId,orderId:e.orderId,pageType:"conversionConfirmation",currency:"USD",amount:e.amount,...e.cjEventId?{cjeventOrder:e.cjEventId}:{}},document.getElementById("cjapitag")?.remove(),(n=document.createElement("script")).id="cjapitag",n.async=!0,n.src=t.tagSrc,s=document.getElementsByTagName("script")[0],void(s?.parentNode?s.parentNode.insertBefore(n,s):document.body.appendChild(n))})()).then(({error:e})=>{e&&s.error("conversion tag failed",{orderId:i,error:e})}))},[e,i,l,c])}],560542)},806262,e=>{"use strict";e.i(247865);var t=e.i(546446);e.i(284007),e.i(981030);let r=new WeakMap;e.s(["useHydrateAtoms",0,function(e,i){var a;let o,n=(0,t.useStore)(i),s=(a=n,(o=r.get(a))||(o=new WeakSet,r.set(a,o)),o);for(let[t,...r]of e)(!s.has(t)||(null==i?void 0:i.dangerouslyForceHydrate))&&(s.add(t),n.set(t,...r))}])},232598,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i={callServer:function(){return o.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var a in i)Object.defineProperty(r,a,{enumerable:!0,get:i[a]});let o=e.r(276247),n=e.r(788443),s=e.r(955011)},797770,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["adsMetricsUnitAndZoneAtom",0,t])},800462,50727,e=>{"use strict";var t=e.i(284007);let r=(0,t.atomWithStorage)("wx-from-search-result",null);e.s(["fromSearchResultAtom",0,r],800462);let i=(0,t.atomWithStorage)("wx-ht-from-search-result",null);e.s(["fromSearchResultAtom",0,i],50727)},604323,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["metricsArticleDataAtom",0,t])},513539,e=>{"use strict";var t=e.i(981030);let r=(0,t.atom)(null),i=(0,t.atom)(null);e.s(["activeEventAtom",0,i,"layoutStateAtom",0,r])},236433,e=>{"use strict";let t=(0,e.i(981030).atom)(null);e.s(["pageAtomsPathnameAtom",0,t])},947118,221085,e=>{"use strict";let t;var r=e.i(247865);let i=new Set,a=0,o=()=>"function"==typeof window.mParticle?.init,n=()=>{void 0!==t&&(clearInterval(t),t=void 0)},s=()=>{if(!o()||(n(),0===i.size))return;let e=[...i];for(let t of(i.clear(),e))t()},l=()=>{void 0===t&&(a=0,t=setInterval(()=>{a+=100,s(),a>=3e4&&n()},100))},c=e=>(i.add(e),l(),()=>{i.delete(e)}),u=e=>o()?(e(),()=>{}):c(e),d=e=>o()?()=>{}:c(e),m=()=>!1;e.s(["subscribeSdkLoaded",0,u,"useIsSdkLoaded",0,()=>(0,r.useSyncExternalStore)(d,o,m),"watchForSdkLoad",0,e=>{if("u"{};if(o())return s(),()=>{};l();let t=Array.from(document.scripts).find(t=>t.getAttribute("src")===e);if(!t)return()=>{};let r=()=>s();return t.addEventListener("load",r),()=>{t.removeEventListener("load",r)}}],221085);let g=e=>"function"==typeof window.mParticle?.ready?(window.mParticle?.ready?.(e),()=>{}):u(()=>{window.mParticle?.ready?.(e),e()}),f=()=>!!window.mParticle?.isInitialized?.(),p=()=>!1;e.s(["useIsInitialized",0,()=>(0,r.useSyncExternalStore)(g,f,p)],947118)},915044,e=>{"use strict";e.i(288906);var t=e.i(247865),r=e.i(947118),i=e.i(546446),a=e.i(293163),o=e.i(160317),n=e.i(382602),s=e.i(540768),l=e.i(310847),c=e.i(333350),u=e.i(528600);e.s(["useUserAttributes",0,()=>{let e=(0,r.useIsInitialized)(),{user:{isUserLoggedIn:d,isUserPremium:m,subscriptionTier:g}}=(0,u.useUser)(),[f,p]=(0,t.useState)(!1),[S,A]=(0,t.useState)(!1),C=m??!1,I=(0,o.getSubscriptionTierKey)(g),E=(0,i.useAtomValue)(n.userFirstNameAtom),w=(0,i.useAtomValue)(n.userGenderAtom),y=(0,i.useAtomValue)(l.wxuUserAnonymousIdAtom),v=(0,i.useAtomValue)(l.userHasLoggedInBeforeAtom),h=c.default?window?.DprSdk?.getUserConsent("sale-of-data")!==!1:void 0,b=c.default?window?.DprSdk?.getUserConsent("sensitive-data")!==!1:void 0,_=(0,s.getCookie)("subscription")??"",{productID:R=null,expirationDateTime:T=null,transactionDateTime:N=null,firstTransactionDateTime:P=null,autoRenew:k=null,price:D=null,productName:O=null}=(0,a.jwtDecoder)(_)||{},U=(0,t.useMemo)(()=>({premium:C,premiumProductTier:I,premiumExpiration:T,premiumStart:N,premiumFirstTransactionDate:P,premiumProductId:R,premiumProductAutoRenew:k,premiumPrice:D,premiumProductName:O,isRegisteredUser:d||v||!1,isLoggedIn:d,"Amplitude.device_id":y,$Gender:w,$FirstName:E,saleOfDataAuthorization:h,sensitiveDataAuthorization:b,devUser:!1}),[C,I,T,N,P,R,k,D,O,y,d,v,E,w,h,b]);(0,t.useEffect)(()=>{let{$FirstName:e,$Gender:t,...r}=U;(0,a.areObjectValuesDefined)(r)&&!f&&p(!0)},[U,f]);let L=(0,t.useCallback)(()=>{for(let e in U)void 0===U[e]&&delete U[e];if(e&&f&&!S){let e=window.mParticle?.Identity?.getCurrentUser?.();if(!e)return void console.warn("MParticle: No current user");e.setUserAttributes(U),A(!0),console.debug("MParticle: User attributes set - ",U)}},[e,U,f,S]);return{userAttributes:U,setUserAttribute:(0,t.useCallback)((t,r)=>{if(!e)return void console.warn("MParticle is not initialized");let i=window.mParticle?.Identity?.getCurrentUser?.();i?(i.setUserAttribute(t,r),console.debug(`MParticle: User attribute set - ${t}`)):console.warn("MParticle: No current user")},[e]),setUserAttributes:L,removeUserAttribute:(0,t.useCallback)(t=>{if(!e)return void console.warn("MParticle is not initialized");let r=window.mParticle?.Identity?.getCurrentUser?.();r?(r.removeUserAttribute(t),console.debug(`MParticle: User attribute removed - ${t}`)):console.warn("MParticle: No current user")},[e])}}])},491240,e=>{"use strict";let t=(0,e.i(695881).createLogger)("MParticleIdentity");e.s(["truncateIdentityValue",0,e=>"string"==typeof e&&e.length>256?(t.warn(`identity value exceeded 256 chars (${e.length}); truncating`),e.slice(0,256)):e])},5397,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["showAdminHeaderAtom",0,t])},752496,e=>{"use strict";var t=e.i(247865),r=e.i(609858);let i=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:a,page:o,onUpdateData:n,onSetPageData:s}){let{updateComponentData:l,setPageData:c}=(0,r.useDebugSystem)(),u=(0,t.useRef)(!1),d=n||l,m=s||c;return(0,t.useEffect)(()=>{if(a)return i.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(a),hasPerformance:!!a.performance,hasContext:!!a.context}),d(e,{...a,_collectedAt:new Date().toISOString()}),()=>{i.lifecycle(`Cleaning up data for ${e}`),d(e,null)}},[e,a,d]),(0,t.useEffect)(()=>{o&&!u.current&&(i.lifecycle("Setting page metadata",{title:o.title,assetName:o.assetName,collection:o.collection}),m({...o,_updatedAt:new Date().toISOString()}),u.current=!0)},[o,m]),null}])},609858,674339,e=>{"use strict";var t=e.i(546446),r=e.i(247865);let i=(0,e.i(981030).atom)({timestamp:new Date().toISOString()});e.s(["debugDataAtom",0,i],674339),e.s(["useDebugSystem",0,function(){let[e,a]=(0,t.useAtom)(i),o=(0,r.useCallback)((e,t)=>{a(r=>{let i=r?.[e]||{},a="object"==typeof t&&null!==t&&"object"==typeof i?{...i,...t}:t;return{...r,[e]:a}})},[a]),n=(0,r.useCallback)((e,t)=>{a(r=>{let i=r||{timestamp:new Date().toISOString()},a=i.components||{};if(null===t){let t={...a};return delete t[e],{...i,components:t}}return{...i,components:{...a,[e]:t}}})},[a]),s=(0,r.useCallback)(e=>{o("page",e)},[o]),l=(0,r.useCallback)(e=>{o("route",e)},[o]),c=(0,r.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&o(e,t)})},[o]);return{debugData:e,updateSection:o,updateComponentData:n,setPageData:s,clearAllDebugData:(0,r.useCallback)(()=>{a({timestamp:new Date().toISOString()})},[a]),updateRouteInfo:l,updatePageDebug:c}}],609858)},313983,e=>{"use strict";var t,r=((t={}).ESSENTIAL_TECHNOLOGY="essential-technology",t.FUNCTIONAL_TECHNOLOGY="functional-technology",t.GEOGRAPHICALLY_RELEVANT_ADVERTISING="geographically-relevant-advertising",t.INTERNATIONAL_TRANSFER="international-transfer",t.SALE_OF_DATA="sale-of-data",t.SENSITIVE_DATA="sensitive-data",t.SELECT_PERSONALISED_CONTENT="Select personalised content",t.SELECT_PERSONALISED_ADS="Select personalised ads",t.SELECT_BASIC_ADS="Select basic ads",t.CREATE_A_PERSONALISED_ADS_PROFILE="Create a personalised ads profile",t.CREATE_A_PERSONALISED_CONTENT_PROFILE="Create a personalised content profile",t.MEASURE_AD_PERFORMANCE="Measure ad performance",t.APPLY_MARKET_RESEARCH_TO_GENERATE_AUDIENCE_INSIGHTS="Apply market research to generate audience insights",t.DEVELOP_AND_IMPROVE_PRODUCTS="Develop and improve products",t.STORE_AND_OR_ACCESS_INFORMATION_ON_A_DEVICE="Store and/or access information on a device",t.MEASURE_CONTENT_PERFORMANCE="Measure content performance",t);e.s(["Purpose",()=>r])},7150,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["pushlyPromptSuppressedAtom",0,t])},756227,e=>{"use strict";var t=e.i(546446),r=e.i(284007),i=e.i(889753),a=e.i(905059),o=e.i(310847),n=e.i(960576),s=e.i(317298),l=e.i(391174),c=e.i(735526),u=e.i(90543);e.s(["useResetAuthState",0,function(){let e=(0,t.useSetAtom)(i.userProfileAtom),d=(0,t.useSetAtom)(o.wxuUserAccountUserAccountResponseAtom),m=(0,t.useSetAtom)(a.mapLayerOrderAtom);return()=>{(0,l.invalidateUpsxCache)(),(0,s.clearNextSessionIntent)(),e(r.RESET),d(null),m(r.RESET),(0,n.clearEarlyAnonId)(),(0,c.clearAccountCreated)(),(0,u.bumpAuthEpoch)()}}])},731672,e=>{"use strict";var t=e.i(546446),r=e.i(965586),i=e.i(671525),a=e.i(889753),o=e.i(810564),n=e.i(45846),s=e.i(284007),l=e.i(756227),c=e.i(358273),u=e.i(247865),d=e.i(540768),m=e.i(682142),g=e.i(782937),f=e.i(695881),p=e.i(333350),S=e.i(64412),A=e.i(950771),C=e.i(537989),I=e.i(695203),E=e.i(158662),w=e.i(777638),y=e.i(924776),v=e.i(409628),h=e.i(605781);let b=(0,f.createLogger)("useUserLoggedOut");e.s(["useUserLogout",0,function({reload:e=!0}={}){let f=(0,t.useSetAtom)(a.userPreferencesAtom),_=(0,l.useResetAuthState)(),{refresh:R}=(0,i.usePageNavigation)(),T=((e={})=>{let r=(0,t.useAtomValue)(C.pageIdAtom),i=(0,t.useAtomValue)(A.pageLocaleAtom),a=(0,t.useAtomValue)(I.deviceClassAtom),o=(0,t.useAtomValue)(E.experimentJoinListAtom),{location:n}=(0,S.useLocation)(),s=(0,y.useIsHightouchReady)(),{url:l,logoutMethod:f}=e;return(0,u.useCallback)(()=>{if(!p.default||!s)return;let e=(0,m.getCICookie)(),t=e?.["TWC-GeoIP-Country"]??(0,d.getCookie)("twc-location-country"),u=e?.["TWC-GeoIP-Region"]??(0,d.getCookie)("twc-location-region"),S=e?.["TWC-Privacy"]??(0,d.getCookie)("twc-privacy"),A=window.DprSdk?.getGdprConsentOptInsString()??"",C=window.DprSdk?.getCcpaSaleOptInString()??"",I=window.navigator?.globalPrivacyControl??!1,E=A?.includes("functional-technology")??!1,y=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,_=navigator?.cookieEnabled??!1,R=(0,d.getCookie)("partner")||"",T=(0,g.getPartnerByPattern)(R)??R,N=(0,c.getMetricsSession)(),P=N?.sessionId||"",k=N?.sessionStartTime||0,D=new Date,O=D.getHours(),U=v.WEEK_DAYS[D.getDay()]??"",L=-D.getTimezoneOffset()/60,x=document.referrer,j={url:l??window.location.pathname,logoutMethod:f??"manual",referrer:x,privProducts:C,deviceTimeZone:L,pageId:r??"",locale:i,deviceClass:a,sessionId:P,sessionStartTime:k,partner:T,wlocCity:n?.city??null,wlocCountry:n?.countryCode??null,wlocState:n?.adminDistrictCode??null,wlocDMA:n?.dmaCd??null,dayOfWeek:U,regime:S??"",cookiesEnabled:_,gpcSignalOptOut:I,functionalTechnologies:E,geographicallyRelevantAds:y,priv:A,hourOfDay:O,physicalCountry:t??"",physicalState:u??"",campaign:(0,w.getCampaign)()??void 0,tpcc:(0,w.getTpcc)(),linkReferral:(0,w.getLinkReferral)(),experimentJoinList:o,weatherMode:"normal",samsungVersion:(0,w.getSamsungVersion)(),appVersion:"23aa46a03996df01ba4888f58342186a5a9d6167".slice(0,10)};try{(0,h.trackUserLoggedout)(j),b.info('Hightouch: Event "user-loggedout" tracked')}catch(e){b.error('Hightouch: Event "user-loggedout" failed',{error:e})}},[l,f,r,i,a,o,n,s])})();return async()=>{try{return(0,c.regenerateMetricsSession)(),await n.upsxClient.auth.logout(),T(),_(),f(s.RESET),(0,r.deleteCookie)("twc-user",{domain:(0,o.upsxCookieDomain)(window.location.hostname)}),e&&R({mpa:!0}),!0}catch(e){return console.error("Failed to log out:",e),!1}}}],731672)},735526,e=>{"use strict";let t="wx-next/account-created";e.s(["clearAccountCreated",0,function(){try{sessionStorage.removeItem(t)}catch{}},"markAccountCreated",0,function(){try{sessionStorage.setItem(t,"true")}catch{}},"wasAccountCreated",0,function(){try{return"true"===sessionStorage.getItem(t)}catch{return!1}}])},90543,e=>{"use strict";var t=e.i(521350);let r="wxu-auth-epoch",i="wxu-rendered-tier";function a(e){return(0,t.isLocalStorageAvailable)()?localStorage.getItem(e):null}function o(e,r){(0,t.isLocalStorageAvailable)()&&localStorage.setItem(e,r)}e.s(["bumpAuthEpoch",0,function(){o(r,String(Date.now()))},"isStaleRestore",0,function({renderedTier:e,recordedTier:t,epochAtLoad:r,currentEpoch:i}){return null!==t&&t!==e||void 0!==r&&r!==i},"readAuthEpoch",0,function(){return a(r)},"readRecordedTier",0,function(){return a(i)},"recordTier",0,function(e){o(i,e)}])},391174,95870,e=>{"use strict";var t=e.i(613646);e.s(["mutate",()=>t.j],95870);var t=t,r=e.i(892504);e.s(["invalidateUpsxCache",0,()=>{(0,t.j)(e=>"string"==typeof e&&e.startsWith("upsx/"),void 0,{revalidate:!1}),(0,r.clearPurchaseChecked)()}],391174)},45846,e=>{"use strict";e.i(288906);var t=e.i(245943),r=e.i(810564);let i=new t.UPSXClient({baseUrl:(0,r.upsxApiUrl)("https://upsx.weather.com")});e.s(["upsxClient",0,i])},378869,e=>{"use strict";let t=(0,e.i(284007).atomWithStorage)("wxu-web/keyval:emailSubscriptions",null,void 0,{getOnInit:!0});e.s(["emailPreferencesAtom",0,t])},905059,e=>{"use strict";let t=(0,e.i(284007).atomWithStorage)("wx-next/user:mapLayerOrder",null,void 0,{getOnInit:!0});e.s(["mapLayerOrderAtom",0,t])},382602,e=>{"use strict";var t=e.i(981030),r=e.i(889753);let i=(0,t.atom)(e=>e(r.userProfileAtom)?.email),a=(0,t.atom)(e=>e(r.userProfileAtom)?.firstName),o=(0,t.atom)(e=>e(r.userProfileAtom)?.gender);(0,t.atom)(e=>e(r.userProfileAtom)?.emailVerified),e.s(["userEmailAtom",0,i,"userFirstNameAtom",0,a,"userGenderAtom",0,o])},249725,e=>{"use strict";var t=e.i(546446),r=e.i(247865),i=e.i(726249),a=e.i(310847);let o=Object.freeze({});function n(){let e=(0,t.useSetAtom)(a.wxuUserLocationFeatureIdsAtom);return(0,r.useCallback)((t,r)=>{let a=[];t.placeId&&a.push(t.placeId),t.geocode&&!r?.startsWith("address.")&&a.push((0,i.formatGeocode)(t.geocode)),0!==a.length&&e(e=>{let t=e??{};if(!a.some(e=>!(e in t)||t[e]!==r))return t;let i={...t};for(let e of a)i[e]=r;return i})},[e])}e.s(["useLocationFeatureIds",0,function(){let e=(0,t.useAtomValue)(a.wxuUserLocationFeatureIdsAtom)??o,s=(0,r.useCallback)(t=>{if(t.placeId){let r=e[t.placeId];if(r)return r}if(t.geocode){let r=e[(0,i.formatGeocode)(t.geocode)];if(r)return r}},[e]),l=(0,r.useCallback)(t=>t in e,[e]);return{featureIds:e,resolveFeatureId:s,hasResolvedPlaceId:l,recordFeatureId:n()}},"useRecordFeatureId",0,n])},145651,e=>{"use strict";var t=e.i(546446),r=e.i(776169),i=e.i(579310),a=e.i(310847),o=e.i(247865);let n=Object.freeze([]),s=Object.freeze([]);e.s(["default",0,()=>{let{updatePreferences:e}=(0,r.usePreferences)(),l=(0,t.useAtomValue)(i.userLocationsAtom),c=(0,o.useMemo)(()=>l?[...l].sort((e,t)=>e.position-t.position):n,[l]),[u,d]=(0,t.useAtom)(a.wxuUserRecentLocationsAtom),[,m]=(0,t.useAtom)(a.wxuUserRecentAddressesAtom),g=(0,o.useCallback)(t=>{let r={...t,position:Math.max(...c.map(e=>e.position),0)+1};e({locations:[...c,r]})},[c,e]),f=(0,o.useCallback)(t=>{e({locations:c.filter(e=>e.placeID!==t)})},[c,e]),p=(0,o.useCallback)(e=>{d(t=>[e,...(t||[]).filter(t=>t!==e)].slice(0,5))},[d]),S=(0,o.useCallback)(e=>{d(t=>(t||[]).filter(t=>t!==e))},[d]),A=(0,o.useCallback)(()=>{d([])},[d]),C=(0,o.useCallback)(e=>{m(t=>(t||[]).filter(t=>t.placeId!==e))},[m]),I=(0,o.useCallback)(e=>{f(e),S(e),C(e)},[f,S,C]);return{addFavoriteLocation:g,removeFavoriteLocation:f,addRecentLocation:p,removeRecentLocation:S,removeRecentAddress:C,clearRecentLocations:A,deleteLocation:I,recentLocations:u||s,favoriteLocations:c}}])},160317,e=>{"use strict";var t=e.i(543512);e.s(["getSubscriptionTierKey",0,function(e){return t.UserSubscriptionTierKeysMap[e]??t.UserSubscriptionTierKeysMap[t.UserSubscriptionTiers.none]}])},317298,e=>{"use strict";let t="wxu-next-session-intent",r=["fpdprobnsitop1intent","fpdprobnsitop2intent","fpdprobnsitop3intent"];e.s(["clearNextSessionIntent",0,function(){try{localStorage.removeItem(t)}catch{}},"hasRadarIntent",0,function(e){return!!e&&r.some(t=>{let r=e[t];return"string"==typeof r&&"radar"===r.trim().toLowerCase()})},"readNextSessionIntent",0,function(){try{let e=localStorage.getItem(t);if(!e)return null;let r=JSON.parse(e);if(r&&"object"==typeof r&&"promotesRadar"in r&&"boolean"==typeof r.promotesRadar)return{promotesRadar:r.promotesRadar};return null}catch{return null}},"writeNextSessionIntent",0,function(e){try{localStorage.setItem(t,JSON.stringify({promotesRadar:e.promotesRadar}))}catch{}}])},892504,e=>{"use strict";let t="upsx-purchase-checked-at";e.s(["clearPurchaseChecked",0,()=>{try{localStorage.removeItem(t)}catch{}},"markPurchaseChecked",0,()=>{try{localStorage.setItem(t,String(Date.now()))}catch{}},"purchaseCheckedRecently",0,()=>{try{let e=localStorage.getItem(t);if(!e)return!1;let r=Number(e);if(!Number.isFinite(r))return!1;return Date.now()-r{"use strict";let t=(0,e.i(981030).atom)(null);e.s(["getSmartScriptClickUrl",0,function(e){let t=e?.clickURL;return"string"==typeof t&&t?t:null},"smartScriptClickUrlAtom",0,t,"withCtaAttribution",0,function(e,{trackAdset:t,deepLinkValue:r}){if(!URL.canParse(e))return e;let i=new URL(e);return t&&i.searchParams.set("af_adset",t.replace(/ /g,"_")),r&&i.searchParams.set("deep_link_value",r),i.toString()}])},216809,e=>{"use strict";var t=e.i(247865),r=e.i(553329);e.s(["useAppsFlyerConsent",0,function(){let[e,i]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let e=!1;return(async()=>{let t=window.DprSdk?.isInitialized;if(!t)return;let{error:a}=await (0,r.tryCatch)(t);a||e||i(!!window.DprSdk?.getFeatureFlags()?.appsFlyer)})(),()=>{e=!0}},[]),e}])},991511,e=>{"use strict";var t=e.i(247865),r=e.i(806262),i=e.i(546446);e.s(["useRehydrateAtoms",0,e=>{(0,r.useHydrateAtoms)(e);let a=(0,i.useStore)(),o=(0,t.useRef)(e);o.current=e,(0,t.useEffect)(()=>{for(let[e,t]of o.current)a.get(e)!==t&&a.set(e,t)})}])}]);