(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,514514,e=>{"use strict";var t=e.i(592121);let a=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,a)=>a?a.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},r=(...e)=>e.filter((e,t,a)=>!!e&&""!==e.trim()&&a.indexOf(e)===t).join(" ").trim();var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,t.forwardRef)(({color:e="currentColor",size:a=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:n="",children:s,iconNode:c,...d},u)=>(0,t.createElement)("svg",{ref:u,...l,width:a,height:a,stroke:e,strokeWidth:o?24*Number(i)/Number(a):i,className:r("lucide",n),...!s&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(d)&&{"aria-hidden":"true"},...d},[...c.map(([e,a])=>(0,t.createElement)(e,a)),...Array.isArray(s)?s:[s]]));e.s(["default",0,(e,l)=>{let o=(0,t.forwardRef)(({className:o,...n},s)=>(0,t.createElement)(i,{ref:s,iconNode:l,className:r(`lucide-${a(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...n}));return o.displayName=a(e),o}],514514)},47524,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:l,...i},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":a,"aria-describedby":l,...i,children:[r?(0,t.jsx)("desc",{id:l,children:r}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Chevron Right"}):e?(0,t.jsx)("title",{id:a,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=a.default.forwardRef((e,a)=>(0,t.jsx)(r.BaseIcon,{ref:a,icon:l,...e}));i.displayName="ChevronRight",e.s(["ChevronRight",0,i])},523084,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:l,...i},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":a,"aria-describedby":l,...i,children:[r?(0,t.jsx)("desc",{id:l,children:r}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Chevron Left"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M5.586 8.586a.667.667 0 0 1 0-.943l4.178-4.179a.495.495 0 0 1 .7.7l-3.95 3.95 3.95 3.95a.495.495 0 1 1-.7.7z"})]})),i=a.default.forwardRef((e,a)=>(0,t.jsx)(r.BaseIcon,{ref:a,icon:l,...e}));i.displayName="ChevronLeft",e.s(["ChevronLeft",0,i])},89887,e=>{"use strict";function t(e,t){let a="/"+e.split("/").filter(Boolean).slice(1).join("/");return"en-US"===t?a:`/${t}${a}`}e.s(["buildLocationCanonicalBase",0,t,"buildLocationCanonicalPath",0,function(e,a,r){return`${t(e,a)}/${r}`}])},388706,e=>{"use strict";let t=[{pageType:"today",urlKey:"today",urlType:"weather/today",suffix:"today",base:"/weather/today/",sidebarCanonical:!1,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-today"},{pageType:"hourbyhour",urlKey:"hourly",urlType:"weather/hourbyhour",suffix:"hourbyhour",base:"/weather/hourly/",sidebarCanonical:!1,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-hourly"},{pageType:"tenday",urlKey:"tenday",urlType:"weather/tenday",suffix:"tenday",base:"/weather/tenday/",sidebarCanonical:!1,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-tenday"},{pageType:"localalerts",urlKey:"alerts",urlType:"weather/alerts/localalerts",suffix:"localalerts",base:"/weather/alerts/localalerts/",sidebarCanonical:!0,sitemapExcluded:!0,canonicalEligible:!0,weatherCacheTag:"weather-alerts"},{pageType:"allergy",urlKey:"allergy",urlType:"forecast/allergy",suffix:"allergy",base:"/forecast/allergy/",sidebarCanonical:!0,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-allergy"},{pageType:"air-quality",urlKey:"airQuality",urlType:"forecast/air-quality",suffix:"air-quality",base:"/weather/air-quality/",sidebarCanonical:!0,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-air-quality"},{pageType:"cold-flu",urlKey:"coldFlu",urlType:"forecast/cold-flu",suffix:"cold-flu",base:"/forecast/cold-flu/",sidebarCanonical:!0,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-cold-flu"},{pageType:"radar",urlKey:"radar",urlType:"weather/radar/interactive",suffix:"radar",base:"/weather/radar/interactive/",sidebarCanonical:!0,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-radar-interactive"}],a=t.map(e=>e.pageType);Object.fromEntries(t.map(e=>[e.urlType,e.pageType])),Object.fromEntries(t.map(e=>[e.suffix,e.pageType]));let r=Object.fromEntries(t.map(e=>[e.pageType,e.base])),l=Object.fromEntries(t.map(e=>[e.pageType,e.urlKey])),i=Object.fromEntries(t.map(e=>[e.pageType,e.suffix])),o=Object.fromEntries(t.map(e=>[e.pageType,e.canonicalEligible]));t.map(e=>e.urlType).join("|"),t.map(e=>e.suffix).join("|"),t.filter(e=>e.sitemapExcluded).map(e=>e.pageType);let n=t.filter(e=>e.sidebarCanonical).map(e=>({urlKey:e.urlKey,segment:e.suffix}));e.s(["BASE_BY_PAGE",0,r,"CANONICAL_ELIGIBLE_BY_PAGE",0,o,"CANONICAL_PAGE_TYPES",0,a,"PAGE_TYPE_TO_SUFFIX",0,i,"PAGE_TYPE_TO_URL_KEY",0,l,"SIDEBAR_CANONICAL_LINKS",0,n])},304116,e=>{"use strict";var t=e.i(89887),a=e.i(611540),r=e.i(388706);e.s(["buildLocationPageHref",0,function({pageType:e,locale:l,canonicalID:i,featureId:o,placeId:n,canonicalBasePath:s,skipCanonical:c=!1}){let d=r.PAGE_TYPE_TO_SUFFIX[e],u=r.CANONICAL_ELIGIBLE_BY_PAGE[e]&&!c;return s&&u?`${s}/${d}`:u&&i?(0,t.buildLocationCanonicalPath)(i,l,d):(0,a.interpolateLocationUrl)(a.URLS[r.PAGE_TYPE_TO_URL_KEY[e]],u?{locale:l,locId:n??o??"",featureId:o}:{locale:l,locId:n??""})}])},258990,e=>{"use strict";e.s(["decodeLocId",0,e=>{try{return decodeURIComponent(e)}catch{return e}}])},674885,e=>{"use strict";var t=e.i(981030),a=e.i(617874),r=e.i(889753);let l=(0,t.atom)(e=>e(r.userPreferencesAtom)?.unit||a.UNIT_IMPERIAL),i=(0,t.atom)(e=>e(l)===a.UNIT_IMPERIAL),o=(0,t.atom)(e=>e(l)===a.UNIT_METRIC),n=(0,t.atom)(e=>e(l)===a.UNIT_HYBRID);e.s(["isHybridUnitsAtom",0,n,"isImperialUnitsAtom",0,i,"isMetricUnitsAtom",0,o,"userUnitPreferenceAtom",0,l])},512134,e=>{"use strict";var t=e.i(592121);e.s(["useIsClient",0,function(){let[e,a]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{a(!0)},[]),e}])},697151,e=>{"use strict";let t=(0,e.i(514514).default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);e.s(["Globe",0,t],697151)},269153,e=>{"use strict";var t=e.i(546446),a=e.i(763886),r=e.i(132084);e.s(["useIsSamsungPartner",0,function(){return(0,t.useAtomValue)(a.partnerAtom)===r.Partner.SAMSUNG}])},559421,e=>{"use strict";var t=e.i(961123),a=e.i(89887),r=e.i(64412),l=e.i(942400),i=e.i(269153),o=e.i(512134);e.i(388706),e.s(["useCanonicalBasePath",0,function(){let e=(0,t.useParams)(),n=(0,t.usePathname)(),{location:s}=(0,r.useLocation)(),c=(0,l.usePageLocale)(),d=(0,i.useIsSamsungPartner)();if(!(0,o.useIsClient)()||d)return;let u=e?.canonicalLocation,p=e?.featureId;if(!(u?.length||p&&!n.includes("/l/")))return;let f=s?.canonicalID;if(f)return(0,a.buildLocationCanonicalBase)(f,c);if(n.includes("/byFeatureId/"))return;let h=/\/day-\d+$/.test(n)?n.substring(0,n.lastIndexOf("/")):n;return h.substring(0,h.lastIndexOf("/"))}])},683199,e=>{"use strict";var t=e.i(592121),a=e.i(546446),r=e.i(491045),l=e.i(537989);e.s(["usePremiumSource",0,()=>{let e=(0,a.useSetAtom)(r.purchaseSourceAttributionAtom),i=(0,a.useAtomValue)(l.pageIdAtom);return(0,t.useCallback)(({sourceModule:t,sourceElement:a,sourceUpsellPlacement:r})=>{e({sourcePage:i||null,sourceModule:t,sourceElement:a,sourceUpsellPlacement:r??null})},[e,i])}])},367810,396817,634177,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(543836),l=e.i(271359),i=e.i(855128),o=e.i(296994),n=e.i(803976),s=e.i(698900),c=e.i(546504),d=e.i(778469),u=e.i(312610),p=e.i(942928),f=e.i(235453),h=e.i(714035),g=e.i(621790),m=e.i(73772),y=e.i(982538),v=Object.defineProperty,w=(e,t)=>v(e,"name",{value:t,configurable:!0}),b="Dialog",[x,C]=(0,i.createContextScope)(b),[I,j]=x(b),E=w(e=>{let{__scopeDialog:r,children:l,open:i,defaultOpen:s,onOpenChange:c,modal:d=!0}=e,u=a.useRef(null),p=a.useRef(null),[f,h]=(0,n.useControllableState)({prop:i,defaultProp:s??!1,onChange:c,caller:b}),[g,m]=a.useState(0),[y,v]=a.useState(0);return(0,t.jsx)(I,{scope:r,triggerRef:u,contentRef:p,contentId:(0,o.useId)(),titleId:(0,o.useId)(),descriptionId:(0,o.useId)(),titlePresent:g>0,descriptionPresent:y>0,setTitleCount:m,setDescriptionCount:v,open:f,onOpenChange:h,onOpenToggle:a.useCallback(()=>h(e=>!e),[h]),modal:d,children:l})},"Dialog"),R=a.forwardRef(w(function(e,a){let{__scopeDialog:i,...o}=e,n=j("DialogTrigger",i),s=(0,l.useComposedRefs)(a,n.triggerRef);return(0,t.jsx)(p.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.open?n.contentId:void 0,"data-state":V(n.open),...o,ref:s,onClick:(0,r.composeEventHandlers)(e.onClick,n.onOpenToggle)})},"DialogTrigger")),P="DialogPortal",[A,S]=x(P,{forceMount:void 0}),T=w(e=>{let{__scopeDialog:r,forceMount:l,children:i,container:o}=e,n=j(P,r);return(0,t.jsx)(A,{scope:r,forceMount:l,children:a.Children.map(i,e=>(0,t.jsx)(u.Presence,{present:l||n.open,children:(0,t.jsx)(d.Portal,{asChild:!0,container:o,children:e})}))})},"DialogPortal"),_="DialogOverlay",D=a.forwardRef(w(function(e,a){let r=S(_,e.__scopeDialog),{forceMount:l=r.forceMount,...i}=e,o=j(_,e.__scopeDialog);return o.modal?(0,t.jsx)(u.Presence,{present:l||o.open,children:(0,t.jsx)(L,{...i,ref:a})}):null},"DialogOverlay")),N=(0,y.createSlot)("DialogOverlay.RemoveScroll"),L=a.forwardRef(w(function(e,a){let{__scopeDialog:r,...i}=e,o=j(_,r),n=(0,s.useDismissableLayerSurface)(),c=(0,l.useComposedRefs)(a,n);return(0,t.jsx)(g.RemoveScroll,{as:N,allowPinchZoom:!0,shards:[o.contentRef],children:(0,t.jsx)(p.Primitive.div,{"data-state":V(o.open),...i,ref:c,style:{pointerEvents:"auto",...i.style}})})},"DialogOverlayImpl")),U="DialogContent",O=a.forwardRef(w(function(e,a){let r=S(U,e.__scopeDialog),{forceMount:l=r.forceMount,...i}=e,o=j(U,e.__scopeDialog);return(0,t.jsx)(u.Presence,{present:l||o.open,children:o.modal?(0,t.jsx)(k,{...i,ref:a}):(0,t.jsx)(B,{...i,ref:a})})},"DialogContent")),k=a.forwardRef(w(function(e,i){let o=j(U,e.__scopeDialog),n=a.useRef(null),s=(0,l.useComposedRefs)(i,o.contentRef,n);return a.useEffect(()=>{let e=n.current;if(e)return(0,m.hideOthers)(e)},[]),(0,t.jsx)($,{...e,ref:s,trapFocus:o.open,disableOutsidePointerEvents:o.open,onCloseAutoFocus:(0,r.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),o.triggerRef.current?.focus()}),onPointerDownOutside:(0,r.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,a=0===t.button&&!0===t.ctrlKey;(2===t.button||a)&&e.preventDefault()}),onFocusOutside:(0,r.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})},"DialogContentModal")),B=a.forwardRef(w(function(e,r){let l=j(U,e.__scopeDialog),i=a.useRef(!1),o=a.useRef(!1);return(0,t.jsx)($,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||l.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let a=t.target;l.triggerRef.current?.contains(a)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})},"DialogContentNonModal")),$=a.forwardRef(w(function(e,a){let{__scopeDialog:r,trapFocus:l,onOpenAutoFocus:i,onCloseAutoFocus:o,...n}=e,d=j(U,r);return(0,f.useFocusGuards)(),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(c.FocusScope,{asChild:!0,loop:!0,trapped:l,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,t.jsx)(s.DismissableLayer,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionPresent?d.descriptionId:void 0,"aria-labelledby":d.titlePresent?d.titleId:void 0,"data-state":V(d.open),...n,ref:a,deferPointerDownOutside:!0,onDismiss:()=>d.onOpenChange(!1)})})})},"DialogContentImpl")),M=a.forwardRef(w(function(e,a){let{__scopeDialog:r,...l}=e,i=j("DialogTitle",r),{setTitleCount:o}=i;return(0,h.useLayoutEffect)(()=>(o(e=>e+1),()=>o(e=>e-1)),[o]),(0,t.jsx)(p.Primitive.h2,{id:i.titleId,...l,ref:a})},"DialogTitle")),F=a.forwardRef(w(function(e,a){let{__scopeDialog:r,...l}=e,i=j("DialogDescription",r),{setDescriptionCount:o}=i;return(0,h.useLayoutEffect)(()=>(o(e=>e+1),()=>o(e=>e-1)),[o]),(0,t.jsx)(p.Primitive.p,{id:i.descriptionId,...l,ref:a})},"DialogDescription")),H=a.forwardRef(w(function(e,a){let{__scopeDialog:l,...i}=e,o=j("DialogClose",l);return(0,t.jsx)(p.Primitive.button,{type:"button",...i,ref:a,onClick:(0,r.composeEventHandlers)(e.onClick,()=>o.onOpenChange(!1))})},"DialogClose"));function V(e){return e?"open":"closed"}w(V,"getState"),e.s(["Close",0,H,"Content",0,O,"Description",0,F,"Overlay",0,D,"Portal",0,T,"Root",0,E,"Title",0,M,"Trigger",0,R],396817);var G=e.i(226602),K=e.i(632137),z=e.i(877957),q=e.i(294237);e.i(368847);let Y=(0,q.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 Q({...e}){return(0,t.jsx)(T,{"data-slot":"dialog-portal",...e})}function W({className:e,...a}){return(0,t.jsx)(D,{"data-slot":"dialog-overlay",className:(0,K.cn)(Y({type:"overlay"}),e),...a})}function X({className:e,overlayClassName:a,children:r,showCloseButton:l=!0,...i}){return(0,t.jsxs)(Q,{"data-slot":"dialog-portal",children:[(0,t.jsx)(W,{className:a}),(0,t.jsxs)(O,{"data-slot":"dialog-content",className:(0,K.cn)(Y({type:"content"}),e),...i,children:[r,l&&(0,t.jsxs)(H,{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 Z({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"dialog-header",className:(0,K.cn)(Y({type:"header"}),e),...a})}function J({className:e,children:a,...r}){return(0,t.jsx)(M,{"data-slot":"dialog-title",className:(0,K.cn)("pt-4 text-center",e),...r,children:a})}function ee({className:e,children:a,...r}){return(0,t.jsx)(F,{"data-slot":"dialog-description",className:(0,K.cn)("pb-4 text-center",e),...r,children:a})}function et({primary:e,secondary:a,className:r}){return(0,t.jsxs)("div",{className:(0,K.cn)("flex flex-col-reverse gap-3",r),children:[a&&(0,t.jsx)(z.Button,{variant:"secondary",onClick:a.onClick,className:"w-full",children:a.label}),e&&(0,t.jsx)(z.Button,{variant:"default",onClick:e.onClick,className:"w-full",children:e.label})]})}e.s(["dialogStyles",0,Y],634177),e.s(["BasicDialog",0,function({title:e,description:a,primaryAction:r,secondaryAction:l,showCloseButton:i=!0,className:o,children:n,...s}){return(0,t.jsxs)(X,{showCloseButton:i,className:(0,K.cn)("p-6",o),...s,children:[(0,t.jsx)(Z,{children:(0,t.jsx)(J,{children:e})}),(0,t.jsx)(ee,{children:a}),n,(r||l)&&(0,t.jsx)(et,{primary:r,secondary:l})]})},"Dialog",0,function({...e}){return(0,t.jsx)(E,{"data-slot":"dialog",...e})},"DialogClose",0,function({...e}){return(0,t.jsx)(H,{"data-slot":"dialog-close",...e})},"DialogContent",0,X,"DialogDescription",0,ee,"DialogFooter",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"dialog-footer",className:(0,K.cn)(Y({type:"footer"}),e),...a})},"DialogHeader",0,Z,"DialogOverlay",0,W,"DialogPortal",0,Q,"DialogTitle",0,J,"DialogTrigger",0,function({...e}){return(0,t.jsx)(R,{"data-slot":"dialog-trigger",...e})}],367810)},438335,e=>{"use strict";var t=e.i(546584);let a=/^[a-z][a-z0-9+.-]*:\/\//i,r=/[?#]/,l=/\/{2,}/g,i=e=>{if(!e)return e;let t=e.match(a),i=t?t[0].length:0,o=e.slice(0,i),n=e.slice(i),s=n.search(r),c=-1===s?n:n.slice(0,s),d=-1===s?"":n.slice(s);return o+c.replace(l,"/")+d},o=/\/+$/;e.s(["getPublicProductionURL",0,e=>{let a=t.default.env.VERCEL_TARGET_ENV_PRODUCTION_URL??"weather.com",r=t.default.env.VERCEL_PROJECT_PRODUCTION_URL??"weather.com",l=`https://${a??r}`;return(l=l.replace(o,""),e)?i(new URL(e,l).toString()):l},"getPublicURL",0,e=>{let a,r=(t.default.env.VERCEL_TARGET_ENV??"production")?.toLowerCase(),l=t.default.env.VERCEL_BRANCH_URL??"wx-next-web-git-releasebranch2026-08-18.vercel.weather.com",n=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(r){case"preview":a=`https://${l}`;break;case"development":a=s?`http://${n}`:`https://${n}`;break;default:a=`https://${n}`}return(a=a.replace(o,""),e)?i(new URL(e,a).toString()):a}],438335)},611540,e=>{"use strict";e.i(438335);let t=(e,...t)=>{if(!e)return"";let[a={},r=!1]=t,l=Object.entries(a).reduce((e,[t,a])=>void 0===a?e:e.replaceAll(`{${t}}`,a),e);return r?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}",premiumOnboarding:"/{locale}/premium/onboarding",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:a,locId:r,featureId:l})=>t(e,{locale:a,locId:(l?.startsWith("address.")?void 0:l)??r}),"interpolateUrl",0,t],611540)},498076,e=>{"use strict";var t=e.i(546446),a=e.i(663333);e.s(["useIsMobile",0,function(){return"mobile"===(0,t.useAtomValue)(a.deviceClassAtom)}])},219246,e=>{"use strict";let t=(0,e.i(981030).atom)(0);e.s(["fixedTopAdHeightAtom",0,t])},718043,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.getCMSCollectionsUrlConfig=function({collectionId:e,locale:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/collections/${t}/${e}`}},a.getCMSAssetByIDUrlConfig=function({language:e,assetId:t}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/a/${e}/${t}`}},a.getCMSOrderedCollectionsUrlConfig=function({collectionId:e,language:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/ordered-collections/${t}/${e}`}},a.getCMSOrderedListUrlConfig=function({collectionId:e,language:t,collectionType:a}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/orderedlist/${t}/${a}/${e}`}},a.getCMSAssetsUrlConfig=function({language:e="en_US",query:t={},skip:a=0,limit:i=10,sort:o="-publishdate"}){let n={q:Object.keys(t).reduce((e,a)=>{let r=t[a];return r instanceof Array?[...e,...r.map(e=>l(a,e))]:[...e,l(a,r)]},[]).join(";"),pg:`${a},${i}`,format:"json",sort:o},s=(0,r.queryStringToSearchParams)(n).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${s}`}},a.getCMSAssetsRawQueryUrlConfig=function({language:e="en_US",query:t="",skip:a=0,limit:l=10,sort:i="-publishdate"}){let o={q:t,pg:`${a},${l}`,format:"json",sort:i},n=(0,r.queryStringToSearchParams)(o).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${n}`}},a.getCMSAssetsSlideshowUrlConfig=function({offset:e=0,assetId:t,limit:a=500}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/assets/slideshow/${t}/${e},${a}`}},a.getCMSQuickNavUrlConfig=function(){return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/v4/settings/en_US/web/quick_nav"}};let r=e.r(678651);function l(e,t){let a=`'${t.$in}'`;return t.$in instanceof Array&&(a=t.$in.map(e=>`'${e}'`).join(",")),`${e}:$in(${a})`}},427977,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.getQuickNav=void 0;let r=e.r(414655),l=e.r(678651),i=e.r(718043);a.getQuickNav=async()=>{let e=(0,l.urlFrom)((0,i.getCMSQuickNavUrlConfig)()),t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return await (0,r.handleFetchResponse)(t)}},867775,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(730921),l=e.i(683903),i=e.i(877957),o=e.i(367810),n=e.i(901351),s=e.i(313983),c=e.i(725296),d=e.i(521350),u=e.i(611540);let p=({isUserLoggedIn:e,regime:p,deviceClass:f,experience:h,isPremiumUser:g})=>{let m=(0,l.useTranslations)("PrivacyConsentModal"),y=(0,r.useLocale)(),v=(0,u.interpolateUrl)(u.URLS.privacyPolicy,{locale:y}),[w,b]=(0,a.useState)(!1),[x,C]=(0,a.useState)(!1),[I,j]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(!c.US_REGIMES.includes(p)||g||!(0,d.isLocalStorageAvailable)())return;let t=localStorage.getItem("gpcConflict"),a=localStorage.getItem("saleOfDataConflict");t?(C(!0),b(!0)):e&&a&&(j(!0),b(!0))},[p,g,e]);let E=async e=>{try{let t={purpose:e.purpose,consent:e.value,setByUser:!0};await n.upsxClient.consent.createUserConsent(t),e.refreshAfterUpdate&&window.location.reload()}catch(e){console.error("Failed to update UPSX consent:",e)}},R=t=>{let a=window,r=window.top,l=a.DprSdk||r?.DprSdk;l?(l.setUserConsents({[s.Purpose.SALE_OF_DATA]:t}),e&&E({purpose:s.Purpose.SALE_OF_DATA,value:t,refreshAfterUpdate:!0}),x?((0,d.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||window.location.reload()):I&&(0,d.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),b(!1)):console.error("Unable to fix conflict, missing DprSdk.")},P="",A="";if(x?(P="gpcConflictHeader",A="gpcConflictParagraph",p===c.Regime.USA_CCPA&&(A+="_usa-ccpa")):I&&(P="saleOfDataConflictHeader",A="saleOfDataConflictParagraph",p===c.Regime.USA_CCPA&&(A+="_usa-ccpa")),A)return(0,t.jsx)(o.Dialog,{open:w,onOpenChange:b,children:(0,t.jsxs)(o.DialogContent,{className:`text-center ${"desktop"!==f?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===h?"wu-theme":""} `,onEscapeKeyDown:e=>{(I||x)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[P&&(0,t.jsx)(o.DialogHeader,{children:(0,t.jsx)(o.DialogTitle,{className:"text-xl font-semibold",children:m(P)})}),(0,t.jsx)("div",{className:"py-4",children:(0,t.jsx)("p",{className:"text-sm leading-relaxed",children:m.rich(A,{privacyPolicyLink:e=>(0,t.jsx)("a",{href:v,target:"_top",className:"text-blue-600 underline hover:text-blue-800",children:e})})})}),(0,t.jsxs)(o.DialogFooter,{className:"flex w-fit flex-col gap-3 justify-self-center",children:[(0,t.jsx)(i.Button,{onClick:()=>{R(!0)},variant:"default",className:"w-full sm:w-auto",children:m("optInButtonText")}),(0,t.jsx)(i.Button,{onClick:()=>{R(!1)},variant:"secondary",className:"w-full sm:w-auto",children:m("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModal",0,p,"default",0,p])},10993,e=>{e.q("/_next/static/media/focusLogo.2pi2rjgfr3x4_.svg")},731672,e=>{"use strict";var t=e.i(546446),a=e.i(646341),r=e.i(671525),l=e.i(889753),i=e.i(45846),o=e.i(284007),n=e.i(756227),s=e.i(318849),c=e.i(358273);e.s(["useUserLogout",0,function(){let e=(0,t.useSetAtom)(l.userPreferencesAtom),d=(0,n.useResetAuthState)(),{refresh:u}=(0,r.usePageNavigation)();return async()=>{try{return(0,c.regenerateMetricsSession)(),await i.upsxClient.auth.logout(),d(),e(o.RESET),(0,a.deleteCookie)("twc-user",{domain:".weather.com"}),(0,s.disableSwrPersist)(),u({mpa:!0}),!0}catch(e){return console.error("Failed to log out:",e),!1}}}])},129932,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:l,...i},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:o,"aria-labelledby":a,"aria-describedby":l,...i,children:[r?(0,t.jsx)("desc",{id:l,children:r}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Products"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M18 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M12 1.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5",clipRule:"evenodd"})]})),i=a.default.forwardRef((e,a)=>(0,t.jsx)(r.BaseIcon,{ref:a,icon:l,...e}));i.displayName="SkincareBold",e.s(["SkincareBold",0,i])},800177,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:l,...i},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:o,"aria-labelledby":a,"aria-describedby":l,...i,children:[r?(0,t.jsx)("desc",{id:l,children:r}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Products"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9M18 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9M12 1.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9",clipRule:"evenodd"})]})),i=a.default.forwardRef((e,a)=>(0,t.jsx)(r.BaseIcon,{ref:a,icon:l,...e}));i.displayName="SkincareBoldFilled",e.s(["SkincareBoldFilled",0,i])},677997,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:l,...i},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":a,"aria-describedby":l,...i,children:[r?(0,t.jsx)("desc",{id:l,children:r}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"lightning"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.468 14.608a.56.56 0 0 0 .054.328c.05.1.13.178.224.223q.086.04.18.04a.43.43 0 0 0 .207-.064.5.5 0 0 0 .159-.162l6.017-8.742a.565.565 0 0 0 .05-.514.5.5 0 0 0-.17-.21.43.43 0 0 0-.246-.079H9.745l.8-4a.57.57 0 0 0-.092-.438.5.5 0 0 0-.161-.14.4.4 0 0 0-.2-.05H5.463a.43.43 0 0 0-.294.107.52.52 0 0 0-.168.289L3.612 7.882a.57.57 0 0 0 .091.443q.069.092.166.142a.4.4 0 0 0 .206.047H6.31zm5.49-8.18H8.526L9.45 1.8H5.896L4.71 7.514h2.748l-.692 5.007zm-5.022 8.31v-.01l.001-.055m-.03.097v-.028l-.004-.074m.005.102-.014-.021zm0 0v.027z",clipRule:"evenodd"})]})),i=a.default.forwardRef((e,a)=>(0,t.jsx)(r.BaseIcon,{ref:a,icon:l,...e}));i.displayName="Lightning",e.s(["Lightning",0,i])},460581,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(240058),l=e.i(64412),i=e.i(677997),o=e.i(995113),n=e.i(702957),s=e.i(489408),c=e.i(113016),d=e.i(312401),u=e.i(807215),p=e.i(876329),f=e.i(632137),h=e.i(546446);e.i(609717);var g=e.i(950771),m=e.i(537989),y=e.i(381477),v=e.i(190344),w=e.i(427977),b=e.i(961123),x=e.i(559421),C=e.i(388706),I=e.i(498076),j=e.i(683903),E=e.i(304116),R=e.i(269153),P=e.i(528600),A=e.i(837879),S=e.i(683199);e.s(["default",0,function(){let e=(0,I.useIsMobile)(),T=(0,b.usePathname)(),_=(0,x.useCanonicalBasePath)(),D=(0,R.useIsSamsungPartner)(),N=(0,h.useAtomValue)(m.pageIdAtom),L=(0,j.useTranslations)("SidebarNavigation"),{user:U}=(0,P.useUser)(),{isUserPremium:O}=U,k=(0,A.useSubscriptionsEnabled)(),B=(0,S.usePremiumSource)(),{location:$,isLoading:M}=(0,l.useLocation)(),F=(0,h.useAtomValue)(g.pageLocaleAtom),H=(0,v.useVideoNavUrl)(),{data:V}=(0,y.default)(["navigation/getQuickNav",F],()=>(0,w.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),G=(0,a.useMemo)(()=>{if(M||!$)return[];let e=$.placeId||"",a=$.featureId,r=$.canonicalID,l=(0,E.buildLocationPageHref)({pageType:"today",locale:F,canonicalID:r,featureId:a,placeId:e,canonicalBasePath:_,skipCanonical:D}),f=(0,E.buildLocationPageHref)({pageType:"radar",locale:F,canonicalID:r,featureId:a,placeId:e,canonicalBasePath:_,skipCanonical:D}),h=_?T.split("/").pop():null,g=_?C.CANONICAL_PAGE_TYPES.includes(h):T.includes("/weather/today/")||T.includes("/weather/hourbyhour/")||T.includes("/weather/tenday/")||T.includes("/weather/monthly/")||T.includes("/forecast/allergy/")||T.includes("/forecast/air-quality/")||T.includes("/forecast/cold-flu/"),m=T.includes("/weather/radar/")||T.includes("/weather/maps/"),y=T.includes("/subscribe"),v="video"===N,w=V?.videoLinkLocaleInclude?.["en-US"],b=w?.override?`?${w?.adRef}`:"",x=H?`${H}${b}`:"",I="h-6 w-6 text-inherit";return[{name:L("forecast"),href:l,icon:(0,t.jsx)(n.PartlyCloudyBold,{className:I}),activeIcon:(0,t.jsx)(s.PartlyCloudyBoldFilled,{className:I}),isActive:g},...H?[{name:L("video"),href:x,icon:(0,t.jsx)(c.VideoPlayerBold,{className:I}),activeIcon:(0,t.jsx)(d.VideoPlayerBoldFilled,{className:I}),isActive:v}]:[],{name:L("radar"),href:f,icon:(0,t.jsx)(u.RadarBold,{className:I}),activeIcon:(0,t.jsx)(p.RadarBoldFilled,{className:I}),isActive:m},...k&&!O&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(i.Lightning,{className:I}),activeIcon:(0,t.jsx)(o.LightningFilled,{className:I}),isActive:y,onClick:()=>B({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[M,$,F,T,N,H,V,_,B,D]);return e&&0!==G.length?(0,t.jsx)("nav",{className:"z-sticky fixed right-0 bottom-0 left-0 bg-white md:hidden","aria-label":"Mobile navigation","data-component":"localsuite-nav","data-testid":"localsuite-nav",children:(0,t.jsx)("div",{className:"mx-auto flex w-full max-w-7xl",children:(0,t.jsx)("div",{className:"flex h-14 w-full items-stretch justify-around px-4 py-1",children:G.map(e=>(0,t.jsxs)(r.default,{href:e.href,className:(0,f.cn)("flex flex-1 flex-col items-center justify-center gap-0.5 rounded-3xl text-xs text-gray-900 transition-colors","hover:bg-gray-100 active:bg-gray-200",{"bg-gray-100 text-blue-500":e.isActive}),"aria-current":e.isActive?"page":void 0,sourceModule:"localsuite-nav",onClick:e.onClick,children:[(0,t.jsx)("span",{"aria-hidden":"true",children:e.isActive?e.activeIcon:e.icon}),(0,t.jsx)("span",{className:(0,f.cn)("text-[11px] leading-tight",e.isActive&&"font-semibold"),children:e.name})]},e.name))})})}):null}])},293733,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["radarFullscreenAtom",0,t])},167135,e=>{"use strict";var t=e.i(699173),a=e.i(546446),r=e.i(219246),l=e.i(632137);function i({children:e,reserveMobileNav:o=!0}){let n=(0,a.useAtomValue)(r.fixedTopAdHeightAtom);return(0,t.jsx)("div",{className:(0,l.cn)("flex min-h-0 flex-1 overflow-hidden pt-[var(--radar-top-ad)] md:pt-0 md:pb-0",o&&"pb-14"),style:{"--radar-top-ad":`${n}px`},children:e})}e.s(["RadarTopAdInset",0,i,"default",0,i])},388982,e=>{"use strict";var t=e.i(546446),a=e.i(293733);e.s(["HideWhenRadarFullscreen",0,function({children:e}){return(0,t.useAtomValue)(a.radarFullscreenAtom)?null:e}])}]);