(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,r=(e,r)=>t(e,"name",{value:r,configurable:!0}),n=!!("u">typeof window&&window.document&&window.document.createElement);function l(e,t,{checkForDefaultPrevented:n=!0}={}){return r(function(r){if(e?.(r),!1===n||!r||!r.defaultPrevented)return t?.(r)},"handleEvent")}function i(e){if(!n)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function a(e){return"IFRAME"===e.tagName}r(l,"composeEventHandlers"),r(function(e){if(!n)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),r(i,"getOwnerDocument"),r(function e(t,r=!1){let{activeElement:n}=i(t);if(!n?.nodeName)return null;if(a(n)&&n.contentDocument)return e(n.contentDocument.body,r);if(r){let e=n.getAttribute("aria-activedescendant");if(e){let t=i(n).getElementById(e);if(t)return t}}return n},"getActiveElement"),r(a,"isFrame"),e.s(["composeEventHandlers",0,l])},899300,e=>{"use strict";e.s(["IS_DEVELOPMENT",0,!1])},271359,e=>{"use strict";var t=e.i(247865),r=Object.defineProperty,n=(e,t)=>r(e,"name",{value:t,configurable:!0});function l(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return t=>{let r=!1,n=e.map(e=>{let n=l(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t{"use strict";var t=e.i(247865),r=e.i(902875),n=Object.defineProperty,l=(e,t)=>n(e,"name",{value:t,configurable:!0});function i(e,n=[]){let o=[];function s(n,i){let a=t.createContext(i);a.displayName=n+"Context";let s=o.length;o=[...o,i];let c=l(n=>{let{scope:l,children:i,...o}=n,c=l?.[e]?.[s]||a,u=t.useMemo(()=>o,Object.values(o));return(0,r.jsx)(c.Provider,{value:u,children:i})},"Provider");function u(r,l,o={}){let{optional:c=!1}=o,d=l?.[e]?.[s]||a,f=t.useContext(d);if(f)return f;if(void 0!==i)return i;if(!c)throw Error(`\`${r}\` must be used within \`${n}\``)}return c.displayName=n+"Provider",l(u,"useContext"),[c,u]}l(s,"createContext");let c=l(()=>{let r=o.map(e=>t.createContext(e));return l(function(n){let l=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:l}}),[n,l])},"useScope")},"createScope");return c.scopeName=e,[s,a(c,...n)]}function a(...e){let r=e[0];if(1===e.length)return r;let n=l(()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return l(function(e){let l=n.reduce((t,{useScope:r,scopeName:n})=>{let l=r(e)[`__scope${n}`];return{...t,...l}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:l}),[l])},"useComposedScopes")},"createScope");return n.scopeName=r.scopeName,n}l(function(e,n){let i=t.createContext(n);i.displayName=e+"Context";let a=l(e=>{let{children:n,...l}=e,a=t.useMemo(()=>l,Object.values(l));return(0,r.jsx)(i.Provider,{value:a,children:n})},"Provider");function o(r,l={}){let{optional:a=!1}=l,s=t.useContext(i);if(s)return s;if(void 0!==n)return n;if(!a)throw Error(`\`${r}\` must be used within \`${e}\``)}return a.displayName=e+"Provider",l(o,"useContext"),[a,o]},"createContext"),l(i,"createContextScope"),l(a,"composeContextScopes"),e.s(["createContextScope",0,i])},296994,e=>{"use strict";var t=e.i(247865),r=e.i(714035),n=Object.defineProperty,l=t[" useId ".trim().toString()]||(()=>void 0),i=0;function a(e){let[n,a]=t.useState(l());return(0,r.useLayoutEffect)(()=>{e||a(e=>e??String(i++))},[e]),e||(n?`radix-${n}`:"")}n(a,"name",{value:"useId",configurable:!0}),e.s(["useId",0,a])},312610,e=>{"use strict";var t=e.i(247865),r=e.i(714035),n=Object.defineProperty,l=(e,t)=>n(e,"name",{value:t,configurable:!0});function i(e,r){return t.useReducer((e,t)=>r[e][t]??e,e)}l(i,"useStateMachine");var a=l(e=>{let{present:r,children:n}=e,l=o(r),i="function"==typeof n?n({present:l.isPresent}):t.Children.only(n),a=c(l.ref,d(i));return"function"==typeof n||l.isPresent?t.cloneElement(i,{ref:a}):null},"Presence");function o(e){let[n,a]=t.useState(),o=t.useRef(null),s=t.useRef(e),c=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?(c.current=d.current??u(o.current),d.current=void 0):c.current="none"},[f]),(0,r.useLayoutEffect)(()=>{let t=o.current,r=s.current;if(r!==e){let n=c.current,l=u(t);e?(d.current=l,m("MOUNT")):"none"===l||t?.display==="none"?m("UNMOUNT"):r&&n!==l?m("ANIMATION_OUT"):m("UNMOUNT"),s.current=e}},[e,m]),(0,r.useLayoutEffect)(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,r=l(r=>{let l=u(o.current).includes(CSS.escape(r.animationName));if(r.target===n&&l&&(m("ANIMATION_END"),!s.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},"handleAnimationEnd"),i=l(e=>{e.target===n&&(c.current=u(o.current))},"handleAnimationStart");return n.addEventListener("animationstart",i),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",i),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}m("ANIMATION_END")},[n,m]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);o.current=t,d.current=u(t)}else o.current=null;a(e)},[])}}function s(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function c(...e){let r=t.useRef(e);return r.current=e,t.useCallback(e=>{let t=r.current,n=!1,l=t.map(t=>{let r=s(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e{"use strict";var t=e.i(247865),r=e.i(352825),n=e.i(982538),l=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,r)=>{let i=(0,n.createSlot)(`Primitive.${r}`),a=t.forwardRef((e,t)=>{let{asChild:n,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(n?i:r,{...a,ref:t})});return a.displayName=`Primitive.${r}`,{...e,[r]:a}},{});function o(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}i(o,"name",{value:"dispatchDiscreteCustomEvent",configurable:!0}),e.s(["Primitive",0,a,"dispatchDiscreteCustomEvent",0,o])},982538,e=>{"use strict";var t=e.i(247865);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 f,m,{children:p,...g}=n,x=null,h=!1,v=[];s(p)&&"function"==typeof d&&(p=d(p._payload)),t.Children.forEach(p,e=>{var r;if(r=e,t.isValidElement(r)&&"function"==typeof r.type&&"__radixId"in r.type&&r.type.__radixId===i){h=!0;let t="child"in e.props?e.props.child:e.props.children;s(t)&&"function"==typeof d&&(t=d(t._payload)),x=a(e,t),v.push(x?.props?.children)}else v.push(e)}),x?x=t.cloneElement(x,void 0,v):!h&&1===t.Children.count(p)&&t.isValidElement(p)&&(x=p);let y=x?(o=x,(m=(f=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in f&&f.isReactWarning)?o.ref:(m=(f=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in f&&f.isReactWarning)?o.props.ref:o.props.ref||o.ref):void 0,b=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=i(...e);return l(...e),t}:l&&(r[n]=l):"style"===n?r[n]={...l,...i}:"className"===n&&(r[n]=[l,i].filter(Boolean).join(" "))}return{...e,...r}}(g,x.props??{});return x.type!==t.Fragment&&(w.ref=l?b:y),t.cloneElement(x,w)});return n.displayName=`${e}.Slot`,n}var l=n("Slot"),i=Symbol.for("radix.slottable"),a=(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\`.`,u=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,d=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=i,t}],982538)},803976,e=>{"use strict";var t=e.i(247865),r=e.i(899300),n=e.i(714035),l=Object.defineProperty,i=t[" useEffectEvent ".trim().toString()],a=t[" useInsertionEffect ".trim().toString()];function o(e){if("function"==typeof i)return i(e);let r=t.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof a?a(()=>{r.current=e}):(0,n.useLayoutEffect)(()=>{r.current=e}),t.useMemo(()=>(...e)=>r.current?.(...e),[])}l(o,"name",{value:"useEffectEvent",configurable:!0});var s=Object.defineProperty,c=(e,t)=>s(e,"name",{value:t,configurable:!0}),u=t[" useInsertionEffect ".trim().toString()]||n.useLayoutEffect;function d({prop:e,defaultProp:n,onChange:l=c(()=>{},"onChange"),caller:i}){let[a,o,s]=f({defaultProp:n,onChange:l}),u=void 0!==e,p=u?e:a;if(r.IS_DEVELOPMENT){let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${i} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=u},[u,i])}return[p,t.useCallback(t=>{if(u){let r=m(t)?t(e):t;r!==e&&s.current?.(r)}else o(t)},[u,e,o,s])]}function f({defaultProp:e,onChange:r}){let[n,l]=t.useState(e),i=t.useRef(n),a=t.useRef(r);return u(()=>{a.current=r},[r]),t.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,l,a]}function m(e){return"function"==typeof e}c(d,"useControllableState"),c(f,"useUncontrolledState"),c(m,"isFunction");var p=Symbol("RADIX:SYNC_STATE");c(function(e,n,l,i){let{prop:a,defaultProp:s,onChange:c,caller:u}=n,d=void 0!==a,f=o(c);if(r.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(`${u} 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,u])}let m=[{...l,state:s}];i&&m.push(i);let[g,x]=t.useReducer((t,r)=>{if(r.type===p)return{...t,state:r.state};let n=e(t,r);return d&&!Object.is(n.state,t.state)&&f(n.state),n},...m),h=g.state,v=t.useRef(h);t.useEffect(()=>{v.current!==h&&(v.current=h,d||f(h))},[h,v,d]);let y=t.useMemo(()=>void 0!==a?{...g,state:a}:g,[g,a]);return t.useEffect(()=>{d&&!Object.is(a,g.state)&&x({type:p,state:a})},[a,g.state,d]),[y,x]},"useControllableStateReducer"),e.s(["useControllableState",0,d],803976)},714035,e=>{"use strict";var t=e.i(247865),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,r])},294237,e=>{"use strict";var t=e.i(7284);let r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=t.clsx;e.s(["cva",0,(e,t)=>l=>{var i;if((null==t?void 0:t.variants)==null)return n(e,null==l?void 0:l.class,null==l?void 0:l.className);let{variants:a,defaultVariants:o}=t,s=Object.keys(a).map(e=>{let t=null==l?void 0:l[e],n=null==o?void 0:o[e];if(null===t)return null;let i=r(t)||r(n);return a[e][i]}),c=l&&Object.entries(l).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return n(e,s,null==t||null==(i=t.compoundVariants)?void 0:i.reduce((e,t)=>{let{class:r,className:n,...l}=t;return Object.entries(l).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...c}[t]):({...o,...c})[t]===r})?[...e,r,n]:e},[]),null==l?void 0:l.class,null==l?void 0:l.className)}])},581014,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])},409628,e=>{"use strict";e.s(["WEEK_DAYS",0,["SUN","MON","TUE","WED","THU","FRI","SAT"]])},123590,e=>{"use strict";var t=e.i(947118),r=e.i(737801),n=e.i(630986),l=e.i(247865);e.s(["useTrackContentLinkClick",0,()=>{let e="content-link-click",i=(0,t.useIsInitialized)(),a=(0,r.useEventAttributes)(),o=(0,n.useCMSAttributes)();return(0,l.useCallback)(t=>{let r={createdDate:o?.createdDate||"",contentId:o?.contentId||"",publishDate:o?.publishDate||"",author:o?.author||"",collection:o?.collection||"",entitlements:o?.entitlements||"",provider:o?.provider||"",linkType:t.linkType,linkURL:t.linkURL,linkText:t.linkText||"",moduleId:t.moduleId||"",tagsKeyword:t.tagsKeyword??o?.tagsKeyword,...a,physicalCountry:a.physicalCountry||"",physicalState:a.physicalState||"",wlocCity:a.wlocCity||"",wlocCountry:a.wlocCountry||"",wlocState:a.wlocState||"",regime:a.regime||""};if(!i)return void console.warn("MParticle is not initialized");try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,r);try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,r)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[o?.createdDate,o?.contentId,o?.publishDate,o?.author,o?.collection,o?.entitlements,o?.provider,a,i])}])},18358,e=>{"use strict";var t=e.i(947118),r=e.i(737801),n=e.i(247865);e.s(["useTrackEvent",0,()=>{let e=(0,t.useIsInitialized)(),l=(0,r.useEventAttributes)(),i=(0,n.useCallback)((t,r={},n={})=>{let a={...l,...r};if(!e)return void console.warn("MParticle is not initialized");try{if(window.mParticle.logEvent(t,window.mParticle.EventType.Other,a),n.flushImmediately)try{window.mParticle.upload?.()}catch{}console.debug(`MParticle: Event "${t}" tracked`,a)}catch(e){console.error(`MParticle: Event "${t}" failed`,e)}return i},[l,e]);return i}])},89887,e=>{"use strict";function t(e,t){let r="/"+e.split("/").filter(Boolean).slice(1).join("/");return"en-US"===t?r:`/${t}${r}`}e.s(["buildLocationCanonicalBase",0,t,"buildLocationCanonicalPath",0,function(e,r,n){return`${t(e,r)}/${n}`}])},611540,e=>{"use strict";e.i(438335);let t=(e,...t)=>{if(!e)return"";let[r={},n=!1]=t,l=Object.entries(r).reduce((e,[t,r])=>void 0===r?e:e.replaceAll(`{${t}}`,r),e);return n?l:"/en-US"===l?"/":l.replace("/en-US/","/")};e.s(["URLS",0,{BannerTextHref:"/subscribe/checkout?products=e251f39b-afd7-4ad9-9c87-5e2a8ed63fbb&tpcc=mktg-{pageKey}-mainmenu-mobilebanner",activityHubCamping:"/{locale}/activity-hub/camping/{locId}",activityHubCycling:"/{locale}/activity-hub/cycling/{locId}",activityHubGardening:"/{locale}/activity-hub/gardening/{locId}",activityHubGolf:"/{locale}/activity-hub/golf/{locId}",activityHubHiking:"/{locale}/activity-hub/hiking/{locId}",activityHubPage:"/{locale}/activity-hub/{locId}",activityHubRunning:"/{locale}/activity-hub/running/{locId}",activityHubTennis:"/{locale}/activity-hub/tennis/{locId}",airQuality:"/{locale}/forecast/air-quality/l/{locId}",alertDetails:"/{locale}/weather/alerts/localalerts/l/{locId}",alerts:"/{locale}/weather/alerts/localalerts/l/{locId}",allergy:"/{locale}/forecast/allergy/l/{locId}",apps:"/{locale}/{collectionId}/{assetName}",article:"/{locale}/{collectionId}/news/{articleTitle}",atmosphere:"/atmosphere",betterDecisions:"/mission",boatBeach:"/{locale}/forecast/boat-beach/l/{locId}",breathing:"/{locale}/forecast/breathing/l/{locId}",callforcode:"/callforcode",christmasCountdown:"/forecast/christmas-countdown/l/{locId}",coldFlu:"/{locale}/forecast/cold-flu/l/{locId}",covid19:"/{locale}/coronavirus/l/{locId}",covid19map:"/{locale}/coronavirus/map/l/{locId}",dataDefinitions:"/{locale}/data-definitions",dataInventory:"/{locale}/data-inventory",dataPartners:"/{locale}/data-partners",dataRights:"/{locale}/data-rights",explore:"/explore",farming:"/{locale}/forecast/agriculture/l/{locId}",fishing:"/{locale}/forecast/fishing/l/{locId}",fiveday:"/{locale}/weather/5day/l/{locId}",flights:"/flights",forgotPassword:"/{locale}/forgot-password",goRun:"/{locale}/forecast/gorun/l/{locId}",grilling:"/home-garden/grilling",home:"/{locale}",homeGarden:"/home-garden",hourly:"/{locale}/weather/hourbyhour/l/{locId}",hurricane:"/{locale}/hurricane",hurricaneCentral:"/storms/hurricane-central",hurricaneHub:"/hurricane/ian-2022",hurricaneNicole:"/hurricane/nicole-2022",hurricaneRetro:"/hurricane/sandy-2012",interactiveMap:"/{locale}/weather/radar/interactive/l/{locId}",legal:"/{locale}/{collectionId}/{assetName}",maps:"/maps/{collectionId}",memberLogin:"/{locale}/login",memberSettings:"/{locale}/member/settings",memberSignup:"/{locale}/signup",memberSubscription:"/{locale}/member/subscription",memorialdayCountdown:"/forecast/memorial-day-countdown/l/{locId}",mlbCountdown:"/{locale}/forecast/opening-day-countdown/l/{locId}",monthly:"/{locale}/weather/monthly/l/{locId}",myDashboard:"/{locale}/mydashboard",news:"/news",newsletter:"/{locale}/newsletter",notification:"/{locale}/life/manage-notifications",pets:"/pets",precipitation:"/{locale}/precipitation/l/{locId}",privacyPolicy:"/{locale}/privacy/privacy-policy",privacyPolicyDirectory:"/{locale}/privacy-policy-directory",privacySettings:"/{locale}/privacy-settings",radar:"/{locale}/weather/radar/interactive/l/{locId}",recipes:"/home-garden/recipes",resetPassword:"/{locale}/reset-password",rss:"/rss",safetyIndex:"/safety/index",samsungWeatherConditions:"/{locale}/weather-conditions/l/{locId}",scienceEnvironment:"/science/environment",search:"/{locale}/search/enhancedlocalsearch",shop:"https://shop.weather.com/",ski:"/{locale}/forecast/ski/l/{locId}",skinHealth:"/health/skin-health",slideshows:"/{locale}/slideshows",spaceSkywatching:"/science/space",stormRadar:"//apps.apple.com/us/app/storm-radar-weather-tracker/id1216396545",stormRadarFeatures:"/storm-radar",subsBundles:"/subscribe/bundle",subscriptionPhase2:"/{locale}/subscribe/phase2",tenday:"/{locale}/weather/tenday/l/{locId}",termsOfUse:"/{locale}/privacy/terms-of-use",thanksgivingCountdown:"/forecast/thanksgiving-countdown/l/{locId}",today:"/{locale}/weather/today/l/{locId}",tornadoCentral:"/storms/tornado-central",travel:"/travel",unsubscribe:"/{locale}/life/alerts/unsubscribe",usForecast:"/maps/currentusweather",usHealth:"/maps/health/allergies/treepollen",usSatAndRadar:"/maps/ussatellitemap",usSevereAlerts:"/maps/severealerts",usTravel:"/maps/travel/airport-delays",userSubscription:"/{locale}/subscribe",video:"/{locale}/{collectionId}/video/{videoTitle}",weatherAsProviderExplainer:"https://theweathercompany.info/{locale}/partners",weekend:"/{locale}/weather/weekend/l/{locId}",worldSatellite:"/maps/satellite/caribbeanweathermap",wu:"//www.wunderground.com",yesterday:"//www.wunderground.com/history/daily/{locId}/yesterday"},"interpolateLocationUrl",0,(e,{locale:r,locId:n,featureId:l})=>t(e,{locale:r,locId:(l?.startsWith("address.")?void 0:l)??n}),"interpolateUrl",0,t],611540)},747961,e=>{"use strict";var t=e.i(902875),r=e.i(247865),n=e.i(294237),l=e.i(789876);let i=(0,n.cva)("inline-block",{variants:{size:{sm:"w-4 h-4",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-16 h-16",xxl:"w-32 h-32"},color:{primary:"text-gray-900",brandDark:"text-brand-dark",brandLight:"text-brand-light",inverse:"text-white"}},defaultVariants:{size:"md",color:"primary"}}),a=r.default.forwardRef(({icon:e,size:r,color:n,title:a,desc:o,className:s,ariaHidden:c,...u},d)=>(0,t.jsx)(e,{ref:d,className:(0,l.cn)(i({size:r,color:n}),s),title:a,desc:o,...c&&{"aria-hidden":c},...u}));a.displayName="BaseIcon",e.s(["BaseIcon",0,a])},789876,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))}])},47524,e=>{"use strict";var t=e.i(902875),r=e.i(247865),n=e.i(747961);let l=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:l,...i},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":r,"aria-describedby":l,...i,children:[n?(0,t.jsx)("desc",{id:l,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Chevron Right"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M10.414 7.643c.26.26.26.682 0 .943l-4.178 4.178a.495.495 0 1 1-.7-.7l3.95-3.95-3.95-3.95a.495.495 0 1 1 .7-.7z"})]})),i=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:l,...e}));i.displayName="ChevronRight",e.s(["ChevronRight",0,i])},226602,e=>{"use strict";var t=e.i(902875),r=e.i(247865),n=e.i(747961);let l=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:l,...i},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":r,"aria-describedby":l,...i,children:[n?(0,t.jsx)("desc",{id:l,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Close"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12.809 4.113a.652.652 0 1 0-.922-.922L8 7.078 4.113 3.19a.652.652 0 1 0-.922.922L7.078 8 3.19 11.887a.652.652 0 0 0 .922.922L8 8.922l3.887 3.887a.652.652 0 1 0 .922-.922L8.922 8z"})]})),i=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:l,...e}));i.displayName="Close",e.s(["Close",0,i])},559421,e=>{"use strict";var t=e.i(725287),r=e.i(89887),n=e.i(64412),l=e.i(942400),i=e.i(269153),a=e.i(512134);e.i(388706),e.s(["useCanonicalBasePath",0,function(){let e=(0,t.useParams)(),o=(0,t.usePathname)(),{location:s}=(0,n.useLocation)(),c=(0,l.usePageLocale)(),u=(0,i.useIsSamsungPartner)();if(!(0,a.useIsClient)()||u)return;let d=e?.canonicalLocation,f=e?.featureId;if(!(d?.length||f&&!o.includes("/l/")))return;let m=s?.canonicalID;if(m)return(0,r.buildLocationCanonicalBase)(m,c);if(o.includes("/byFeatureId/"))return;let p=/\/day-\d+$/.test(o)?o.substring(0,o.lastIndexOf("/")):o;return p.substring(0,p.lastIndexOf("/"))}])},304116,e=>{"use strict";var t=e.i(89887),r=e.i(611540),n=e.i(388706);e.s(["buildLocationPageHref",0,function({pageType:e,locale:l,canonicalID:i,featureId:a,placeId:o,canonicalBasePath:s,skipCanonical:c=!1}){let u=n.PAGE_TYPE_TO_SUFFIX[e],d=n.CANONICAL_ELIGIBLE_BY_PAGE[e]&&!c;return s&&d?`${s}/${u}`:d&&i?(0,t.buildLocationCanonicalPath)(i,l,u):(0,r.interpolateLocationUrl)(r.URLS[n.PAGE_TYPE_TO_URL_KEY[e]],d?{locale:l,locId:o??a??"",featureId:a}:{locale:l,locId:o??""})}])},258990,e=>{"use strict";e.s(["decodeLocId",0,e=>{try{return decodeURIComponent(e)}catch{return e}}])},671525,e=>{"use strict";var t=e.i(725287);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])},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),r=e.i(763886),n=e.i(132084);e.s(["useIsSamsungPartner",0,function(){return(0,t.useAtomValue)(r.partnerAtom)===n.Partner.SAMSUNG}])},394481,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["privacyRegimeAtom",0,t])},877957,564993,e=>{"use strict";var t=e.i(902875),r=e.i(247865),n=e.i(982538),l=e.i(294237),i=e.i(632137),a=e.i(747961);let o=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:l,...i},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":r,"aria-describedby":l,...i,children:[n?(0,t.jsx)("desc",{id:l,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Loader Circle"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.65 2.926A5.335 5.335 0 1 0 13.335 8a.665.665 0 0 1 1.33 0 6.665 6.665 0 1 1-4.606-6.34.665.665 0 1 1-.41 1.266",clipRule:"evenodd"})]})),s=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:o,...e}));s.displayName="LoaderCircle",e.s(["LoaderCircle",0,s],564993);let c=(0,l.cva)("rounded-lg cursor-pointer",{variants:{variant:{default:"bg-brand-400 text-primary-foreground hover:bg-[#252C3F] active:bg-[#0C1226] focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-0",secondary:"bg-white text-gray-900 active:bg-[#E6E6E6] focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",destructive:"bg-alert-severe hover:bg-[#C1251A] active:bg-[#A70C00] text-white focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",outline:"border-1 border-gray-500 hover:bg-white active:bg-[#E6E6E6] bg-transparent focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",ghost:"hover:bg-white active:bg-[#E6E6E6] bg-transparent focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",link:"text-primary underline-offset-3 underline focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",avatarAccountLink:"text-primary text-[14px]",avatarGoPremium:"bg-gray-900 text-white text-[14px]",avatarSignOut:"text-primary text-[16px]",ghostUI:""},size:{default:"h-10 px-4 py-3",lg:"h-10 px-8 py-3",sm:"h-8 px-3 py-2",xsm:"h-6 px-2",icon:"h-10 w-10",text:""},loading:{true:"pointer-events-none cursor-not-allowed opacity-50",false:""},disabled:{true:"pointer-events-none cursor-not-allowed opacity-30",false:""},theme:{standard:"",samsung:"rounded-[18px] h-auto bg-[#252422] px-2.5 py-2 text-[15px] font-medium text-white hover:bg-[#252422] active:bg-[#252422]"}},defaultVariants:{variant:"default",size:"default",loading:!1,disabled:!1,theme:"standard"}}),u=r.forwardRef(({className:e,variant:r="default",size:l,theme:a="standard",asChild:o=!1,disabled:u=!1,loading:d=!1,children:f,...m},p)=>{let g=o?n.Slot:"button";return(0,t.jsx)(g,{...m,className:(0,i.cn)(c({variant:r,size:l,loading:d,disabled:u,theme:a}),"inline-flex items-center justify-center",e),ref:p,disabled:u||d,children:o?f:(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"}),f]})})});u.displayName="Button",e.s(["Button",0,u],877957)},368847,341669,e=>{"use strict";var t=e.i(902875),r=e.i(247865),n=e.i(294237),l=e.i(632137);let i=({skeletonClassName:e,elementType:r="span"})=>(0,t.jsx)(r,{className:(0,l.cn)("square inline-block animate-pulse rounded bg-gray-200",e)});e.s(["default",0,i],341669);let a={0:"No Clamp",1:"1 Line",2:"2 Lines",3:"3 Lines",4:"4 Lines",5:"5 Lines"};[0,1,2,3,4,5].map(e=>({label:a[e],value:String(e)}));let o=r.default.forwardRef(({className:e,isLoading:r,skeletonClassName:n,variant:a,elementType:o,lineClamp:c,color:u,responsive:d,children:f,...m},p)=>{if(r)return(0,t.jsx)(i,{skeletonClassName:n||""});let g=o||function({variant:e}){switch(e){case"Display.XL":case"Display.L":case"Title.XL":case"Display.M":case"Display.S":case"Title.L":case"Title.M":case"Title.S":return"h2";default:return"p"}}({variant:a}),x=(0,t.jsx)(g,{className:(0,l.cn)(s({variant:a,color:u,lineClamp:c,responsive:d}),e),ref:p,...m,children:f});return d?(0,t.jsx)("div",{className:"@container/text",children:x}):x});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)},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))}])},756227,95870,391174,e=>{"use strict";var t=e.i(546446),r=e.i(284007),n=e.i(889753),l=e.i(310847),i=e.i(317298),a=e.i(613646);e.s(["mutate",()=>a.j],95870);var a=a,o=e.i(892504);let s=()=>{(0,a.j)(e=>"string"==typeof e&&e.startsWith("upsx/"),void 0,{revalidate:!1}),(0,o.clearPurchaseChecked)()};e.s(["invalidateUpsxCache",0,s],391174),e.s(["useResetAuthState",0,function(){let e=(0,t.useSetAtom)(n.userProfileAtom),a=(0,t.useSetAtom)(l.wxuUserAccountUserAccountResponseAtom);return()=>{s(),(0,i.clearNextSessionIntent)(),e(r.RESET),a(null)}}],756227)},674885,e=>{"use strict";var t=e.i(981030),r=e.i(617874),n=e.i(889753);let l=(0,t.atom)(e=>e(n.userPreferencesAtom)?.unit||r.UNIT_IMPERIAL),i=(0,t.atom)(e=>e(l)===r.UNIT_IMPERIAL),a=(0,t.atom)(e=>e(l)===r.UNIT_METRIC),o=(0,t.atom)(e=>e(l)===r.UNIT_HYBRID);e.s(["isHybridUnitsAtom",0,o,"isImperialUnitsAtom",0,i,"isMetricUnitsAtom",0,a,"userUnitPreferenceAtom",0,l])},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),r=e.i(546446),n=e.i(725287),l=e.i(485737),i=e.i(739971),a=e.i(725296),o=e.i(394481),s=e.i(763886),c=e.i(132084);e.s(["useSubscriptionsEnabled",0,()=>{let e=(0,r.useAtomValue)(i.subscriptionsEnabledAtom),u=(0,r.useAtomValue)(l.geoipCountry),d=(0,n.useParams)()?.locale,f=(0,r.useAtomValue)(o.privacyRegimeAtom)??a.Regime.EXEMPT,m=(0,r.useAtomValue)(s.partnerAtom);return(0,t.useMemo)(()=>null!==e?e:"US"===u&&"en-US"===d&&a.US_REGIMES.includes(f)&&m!==c.Partner.OPPO,[e,u,d,f,m])}])},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{}}])},438335,e=>{"use strict";var t=e.i(288906);let r=/^[a-z][a-z0-9+.-]*:\/\//i,n=/[?#]/,l=/\/{2,}/g,i=e=>{if(!e)return e;let t=e.match(r),i=t?t[0].length:0,a=e.slice(0,i),o=e.slice(i),s=o.search(n),c=-1===s?o:o.slice(0,s),u=-1===s?"":o.slice(s);return a+c.replace(l,"/")+u},a=/\/+$/;e.s(["getPublicProductionURL",0,e=>{let r=t.default.env.VERCEL_TARGET_ENV_PRODUCTION_URL??"weather.com",n=t.default.env.VERCEL_PROJECT_PRODUCTION_URL??"weather.com",l=`https://${r??n}`;return(l=l.replace(a,""),e)?i(new URL(e,l).toString()):l},"getPublicURL",0,e=>{let r,n=(t.default.env.VERCEL_TARGET_ENV??"production")?.toLowerCase(),l=t.default.env.VERCEL_BRANCH_URL??"wx-next-web-git-releasebranch2026-10-19.vercel.weather.com",o=t.default.env.VERCEL_TARGET_ENV_URL??"weather.com",s="true"===t.default.env.NEXT_DEV_SERVER_INSECURE||"true"===t.default.env.NEXT_PUBLIC_NEXT_DEV_SERVER_INSECURE;switch(n){case"preview":r=`https://${l}`;break;case"development":r=s?`http://${o}`:`https://${o}`;break;default:r=`https://${o}`}return(r=r.replace(a,""),e)?i(new URL(e,r).toString()):r}],438335)},512134,e=>{"use strict";var t=e.i(247865);e.s(["useIsClient",0,function(){let[e,r]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{r(!0)},[]),e}])},792461,e=>{"use strict";var t=e.i(247865);e.s(["useRefMemo",0,e=>{let r=(0,t.useRef)(e);return r.current=e,r}])}]);