(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,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)}])},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 n={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 l=(0,t.forwardRef)(({color:e="currentColor",size:a=24,strokeWidth:l=2,absoluteStrokeWidth:i,className:o="",children:s,iconNode:c,...u},d)=>(0,t.createElement)("svg",{ref:d,...n,width:a,height:a,stroke:e,strokeWidth:i?24*Number(l)/Number(a):l,className:r("lucide",o),...!s&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(u)&&{"aria-hidden":"true"},...u},[...c.map(([e,a])=>(0,t.createElement)(e,a)),...Array.isArray(s)?s:[s]]));e.s(["default",0,(e,n)=>{let i=(0,t.forwardRef)(({className:i,...o},s)=>(0,t.createElement)(l,{ref:s,iconNode:n,className:r(`lucide-${a(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,i),...o}));return i.displayName=a(e),i}],514514)},434197,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"BailoutToCSR",{enumerable:!0,get:function(){return n}});let r=e.r(233899);function n({reason:e,children:t}){if("u"{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"encodeURIPath",{enumerable:!0,get:function(){return r}})},749869,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"PreloadChunks",{enumerable:!0,get:function(){return s}});let r=e.r(699173),n=e.r(798973),l=e.r(84959),i=e.r(61726),o=e.r(385711);function s({moduleIds:e}){if("u">typeof window)return null;let t=l.workAsyncStorage.getStore();if(void 0===t)return null;let a=[];if(t.reactLoadableManifest&&e){let r=t.reactLoadableManifest;for(let t of e){if(!r[t])continue;let e=r[t].files;a.push(...e)}}if(0===a.length)return null;let c=(0,o.getAssetTokenQuery)();return(0,r.jsx)(r.Fragment,{children:a.map(e=>{let a=`${t.assetPrefix}/_next/${(0,i.encodeURIPath)(e)}${c}`;return e.endsWith(".css")?(0,r.jsx)("link",{precedence:"dynamic",href:a,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,n.preload)(a,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},427039,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return c}});let r=e.r(699173),n=e.r(592121),l=e.r(434197),i=e.r(749869);function o(e){return{default:e&&"default"in e?e.default:e}}let s={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},c=function(e){let t={...s,...e},a=(0,n.lazy)(()=>t.loader().then(o)),c=t.loading;function u(e){let o=c?(0,r.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,s=!t.ssr||!!t.loading,u=s?n.Suspense:n.Fragment,d=t.ssr?(0,r.jsxs)(r.Fragment,{children:["u"{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return n}});let r=e.r(481258)._(e.r(427039));function n(e,t){let a={};"function"==typeof e&&(a.loader=e);let n={...a,...t};return(0,r.default)({...n,modules:n.loadableGenerated?.modules})}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},47524,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(747961);let n=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:n,...l},i)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:i,"aria-labelledby":a,"aria-describedby":n,...l,children:[r?(0,t.jsx)("desc",{id:n,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"})]})),l=a.default.forwardRef((e,a)=>(0,t.jsx)(r.BaseIcon,{ref:a,icon:n,...e}));l.displayName="ChevronRight",e.s(["ChevronRight",0,l])},523084,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(747961);let n=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:n,...l},i)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:i,"aria-labelledby":a,"aria-describedby":n,...l,children:[r?(0,t.jsx)("desc",{id:n,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"})]})),l=a.default.forwardRef((e,a)=>(0,t.jsx)(r.BaseIcon,{ref:a,icon:n,...e}));l.displayName="ChevronLeft",e.s(["ChevronLeft",0,l])},52884,e=>{"use strict";let t=[{featureId:"locality.338856684",canonicalID:"/default/us/new-york/new-york-city/locality/manhattan"},{featureId:"place.233720044",canonicalID:"/default/us/new-york/city/new-york-city"},{featureId:"place.79161580",canonicalID:"/default/us/texas/city/dallas"},{featureId:"place.508094700",canonicalID:"/default/us/illinois/city/chicago"},{featureId:"place.154609900",canonicalID:"/default/us/texas/city/houston"},{featureId:"place.498141420",canonicalID:"/default/us/georgia/city/atlanta"},{featureId:"place.180906220",canonicalID:"/default/us/nevada/city/las-vegas"},{featureId:"place.246171884",canonicalID:"/default/us/florida/city/orlando"},{featureId:"place.192407788",canonicalID:"/default/us/california/city/los-angeles"},{featureId:"place.345549036",canonicalID:"/default/us/district-of-columbia/city/washington"},{featureId:"place.292358380",canonicalID:"/default/us/california/city/san-francisco"},{featureId:"place.297027820",canonicalID:"/default/us/washington/city/seattle"},{featureId:"place.257591532",canonicalID:"/default/us/pennsylvania/city/philadelphia"},{featureId:"place.84625644",canonicalID:"/default/us/colorado/city/denver"},{featureId:"place.257902828",canonicalID:"/default/us/arizona/city/phoenix"},{featureId:"place.291252460",canonicalID:"/default/us/texas/city/san-antonio"},{featureId:"place.226805996",canonicalID:"/default/us/tennessee/city/nashville"},{featureId:"place.68643052",canonicalID:"/default/us/ohio/city/columbus"},{featureId:"place.225814764",canonicalID:"/default/us/south-carolina/city/myrtle-beach"},{featureId:"place.464783596",canonicalID:"/default/us/pennsylvania/city/pittsburgh"}];t.map(e=>e.featureId);let a=Object.fromEntries(t.map(e=>[e.featureId,e.canonicalID]));e.s(["canonicalIDForFeatureId",0,function(e){return e?a[e]:void 0},"shouldUseCanonicalLink",0,function(e){return!0}])},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}`}])},942400,e=>{"use strict";var t=e.i(961123);e.s(["usePageLocale",0,()=>{let e=(0,t.useParams)();return e?.locale||"en-US"}])},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:"radar",urlKey:"radar",urlType:"weather/radar/interactive",suffix:"radar",base:"/weather/radar/interactive/",sidebarCanonical:!0,sitemapExcluded:!0,canonicalEligible:!1,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])),n=Object.fromEntries(t.map(e=>[e.pageType,e.urlKey])),l=Object.fromEntries(t.map(e=>[e.pageType,e.suffix])),i=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 o=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,i,"CANONICAL_PAGE_TYPES",0,a,"PAGE_TYPE_TO_SUFFIX",0,l,"PAGE_TYPE_TO_URL_KEY",0,n,"SIDEBAR_CANONICAL_LINKS",0,o])},304116,e=>{"use strict";var t=e.i(89887),a=e.i(611540),r=e.i(52884),n=e.i(388706);e.s(["buildLocationPageHref",0,function({pageType:e,locale:l,canonicalID:i,featureId:o,placeId:s,canonicalBasePath:c}){let u=n.PAGE_TYPE_TO_SUFFIX[e],d=n.CANONICAL_ELIGIBLE_BY_PAGE[e];if(c&&d)return`${c}/${u}`;let f=i??(0,r.canonicalIDForFeatureId)(o);return d&&f&&(0,r.shouldUseCanonicalLink)(o)?(0,t.buildLocationCanonicalPath)(f,l,u):(0,a.interpolateLocationUrl)(a.URLS[n.PAGE_TYPE_TO_URL_KEY[e]],d?{locale:l,locId:s??o??"",featureId:o}:{locale:l,locId:s??""})}])},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 n=(0,t.atom)(e=>e(r.userPreferencesAtom)?.unit||a.UNIT_IMPERIAL),l=(0,t.atom)(e=>e(n)===a.UNIT_IMPERIAL),i=(0,t.atom)(e=>e(n)===a.UNIT_METRIC),o=(0,t.atom)(e=>e(n)===a.UNIT_HYBRID);e.s(["isHybridUnitsAtom",0,o,"isImperialUnitsAtom",0,l,"isMetricUnitsAtom",0,i,"userUnitPreferenceAtom",0,n])},991511,e=>{"use strict";var t=e.i(592121),a=e.i(806262),r=e.i(546446);e.s(["useRehydrateAtoms",0,e=>{(0,a.useHydrateAtoms)(e);let n=(0,r.useStore)(),l=(0,t.useRef)(e);l.current=e,(0,t.useEffect)(()=>{for(let[e,t]of l.current)n.get(e)!==t&&n.set(e,t)})}])},797770,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["adsMetricsUnitAndZoneAtom",0,t])},609858,674339,e=>{"use strict";var t=e.i(546446),a=e.i(592121);let r=(0,e.i(981030).atom)({timestamp:new Date().toISOString()});e.s(["debugDataAtom",0,r],674339),e.s(["useDebugSystem",0,function(){let[e,n]=(0,t.useAtom)(r),l=(0,a.useCallback)((e,t)=>{n(a=>{let r=a?.[e]||{},n="object"==typeof t&&null!==t&&"object"==typeof r?{...r,...t}:t;return{...a,[e]:n}})},[n]),i=(0,a.useCallback)((e,t)=>{n(a=>{let r=a||{timestamp:new Date().toISOString()},n=r.components||{};if(null===t){let t={...n};return delete t[e],{...r,components:t}}return{...r,components:{...n,[e]:t}}})},[n]),o=(0,a.useCallback)(e=>{l("page",e)},[l]),s=(0,a.useCallback)(e=>{l("route",e)},[l]),c=(0,a.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&l(e,t)})},[l]);return{debugData:e,updateSection:l,updateComponentData:i,setPageData:o,clearAllDebugData:(0,a.useCallback)(()=>{n({timestamp:new Date().toISOString()})},[n]),updateRouteInfo:s,updatePageDebug:c}}],609858)},752496,e=>{"use strict";var t=e.i(592121),a=e.i(609858);let r=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:n,page:l,onUpdateData:i,onSetPageData:o}){let{updateComponentData:s,setPageData:c}=(0,a.useDebugSystem)(),u=(0,t.useRef)(!1),d=i||s,f=o||c;return(0,t.useEffect)(()=>{if(n)return r.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(n),hasPerformance:!!n.performance,hasContext:!!n.context}),d(e,{...n,_collectedAt:new Date().toISOString()}),()=>{r.lifecycle(`Cleaning up data for ${e}`),d(e,null)}},[e,n,d]),(0,t.useEffect)(()=>{l&&!u.current&&(r.lifecycle("Setting page metadata",{title:l.title,assetName:l.assetName,collection:l.collection}),f({...l,_updatedAt:new Date().toISOString()}),u.current=!0)},[l,f]),null}])},367810,867013,634177,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(291967),n=e.i(144977),l=e.i(156207),i=e.i(461194),o=e.i(534643),s=e.i(60212),c=e.i(89535),u=e.i(614952),d=e.i(653747),f=e.i(556872),p=e.i(371353),m=e.i(927499),h=e.i(73772),g=e.i(982538),y="Dialog",[v,b]=(0,l.createContextScope)(y),[w,x]=v(y),C=e=>{let{__scopeDialog:r,children:n,open:l,defaultOpen:s,onOpenChange:c,modal:u=!0}=e,d=a.useRef(null),f=a.useRef(null),[p,m]=(0,o.useControllableState)({prop:l,defaultProp:s??!1,onChange:c,caller:y});return(0,t.jsx)(w,{scope:r,triggerRef:d,contentRef:f,contentId:(0,i.useId)(),titleId:(0,i.useId)(),descriptionId:(0,i.useId)(),open:p,onOpenChange:m,onOpenToggle:a.useCallback(()=>m(e=>!e),[m]),modal:u,children:n})};C.displayName=y;var j="DialogTrigger",I=a.forwardRef((e,a)=>{let{__scopeDialog:l,...i}=e,o=x(j,l),s=(0,n.useComposedRefs)(a,o.triggerRef);return(0,t.jsx)(f.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":V(o.open),...i,ref:s,onClick:(0,r.composeEventHandlers)(e.onClick,o.onOpenToggle)})});I.displayName=j;var E="DialogPortal",[R,S]=v(E,{forceMount:void 0}),A=e=>{let{__scopeDialog:r,forceMount:n,children:l,container:i}=e,o=x(E,r);return(0,t.jsx)(R,{scope:r,forceMount:n,children:a.Children.map(l,e=>(0,t.jsx)(d.Presence,{present:n||o.open,children:(0,t.jsx)(u.Portal,{asChild:!0,container:i,children:e})}))})};A.displayName=E;var P="DialogOverlay",_=a.forwardRef((e,a)=>{let r=S(P,e.__scopeDialog),{forceMount:n=r.forceMount,...l}=e,i=x(P,e.__scopeDialog);return i.modal?(0,t.jsx)(d.Presence,{present:n||i.open,children:(0,t.jsx)(O,{...l,ref:a})}):null});_.displayName=P;var D=(0,g.createSlot)("DialogOverlay.RemoveScroll"),O=a.forwardRef((e,a)=>{let{__scopeDialog:r,...n}=e,l=x(P,r);return(0,t.jsx)(m.RemoveScroll,{as:D,allowPinchZoom:!0,shards:[l.contentRef],children:(0,t.jsx)(f.Primitive.div,{"data-state":V(l.open),...n,ref:a,style:{pointerEvents:"auto",...n.style}})})}),L="DialogContent",N=a.forwardRef((e,a)=>{let r=S(L,e.__scopeDialog),{forceMount:n=r.forceMount,...l}=e,i=x(L,e.__scopeDialog);return(0,t.jsx)(d.Presence,{present:n||i.open,children:i.modal?(0,t.jsx)(T,{...l,ref:a}):(0,t.jsx)(k,{...l,ref:a})})});N.displayName=L;var T=a.forwardRef((e,l)=>{let i=x(L,e.__scopeDialog),o=a.useRef(null),s=(0,n.useComposedRefs)(l,i.contentRef,o);return a.useEffect(()=>{let e=o.current;if(e)return(0,h.hideOthers)(e)},[]),(0,t.jsx)(B,{...e,ref:s,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,r.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),i.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())})}),k=a.forwardRef((e,r)=>{let n=x(L,e.__scopeDialog),l=a.useRef(!1),i=a.useRef(!1);return(0,t.jsx)(B,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(l.current||n.triggerRef.current?.focus(),t.preventDefault()),l.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(l.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),B=a.forwardRef((e,r)=>{let{__scopeDialog:l,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:u,...d}=e,f=x(L,l),m=a.useRef(null),h=(0,n.useComposedRefs)(r,m);return(0,p.useFocusGuards)(),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.FocusScope,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:o,onUnmountAutoFocus:u,children:(0,t.jsx)(s.DismissableLayer,{role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":V(f.open),...d,ref:h,onDismiss:()=>f.onOpenChange(!1)})}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(G,{titleId:f.titleId}),(0,t.jsx)(X,{contentRef:m,descriptionId:f.descriptionId})]})]})}),$="DialogTitle",U=a.forwardRef((e,a)=>{let{__scopeDialog:r,...n}=e,l=x($,r);return(0,t.jsx)(f.Primitive.h2,{id:l.titleId,...n,ref:a})});U.displayName=$;var M="DialogDescription",F=a.forwardRef((e,a)=>{let{__scopeDialog:r,...n}=e,l=x(M,r);return(0,t.jsx)(f.Primitive.p,{id:l.descriptionId,...n,ref:a})});F.displayName=M;var H="DialogClose",q=a.forwardRef((e,a)=>{let{__scopeDialog:n,...l}=e,i=x(H,n);return(0,t.jsx)(f.Primitive.button,{type:"button",...l,ref:a,onClick:(0,r.composeEventHandlers)(e.onClick,()=>i.onOpenChange(!1))})});function V(e){return e?"open":"closed"}q.displayName=H;var z="DialogTitleWarning",[K,Y]=(0,l.createContext)(z,{contentName:L,titleName:$,docsSlug:"dialog"}),G=({titleId:e})=>{let t=Y(z),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return a.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},X=({contentRef:e,descriptionId:t})=>{let r=Y("DialogDescriptionWarning"),n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return a.useEffect(()=>{let a=e.current?.getAttribute("aria-describedby");t&&a&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null};e.s(["Close",0,q,"Content",0,N,"Description",0,F,"Overlay",0,_,"Portal",0,A,"Root",0,C,"Title",0,U,"Trigger",0,I,"WarningProvider",0,K,"createDialogScope",0,b],867013);var W=e.i(226602),Q=e.i(632137),Z=e.i(877957),J=e.i(294237);e.i(368847);let ee=(0,J.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 et({...e}){return(0,t.jsx)(A,{"data-slot":"dialog-portal",...e})}function ea({className:e,...a}){return(0,t.jsx)(_,{"data-slot":"dialog-overlay",className:(0,Q.cn)(ee({type:"overlay"}),e),...a})}function er({className:e,overlayClassName:a,children:r,showCloseButton:n=!0,...l}){return(0,t.jsxs)(et,{"data-slot":"dialog-portal",children:[(0,t.jsx)(ea,{className:a}),(0,t.jsxs)(N,{"data-slot":"dialog-content",className:(0,Q.cn)(ee({type:"content"}),e),...l,children:[r,n&&(0,t.jsxs)(q,{className:"absolute top-4 right-4 cursor-pointer transition-opacity hover:opacity-70 focus:outline-none",children:[(0,t.jsx)(W.Close,{className:"h-5 w-5 text-black"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function en({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"dialog-header",className:(0,Q.cn)(ee({type:"header"}),e),...a})}function el({className:e,children:a,...r}){return(0,t.jsx)(U,{"data-slot":"dialog-title",className:(0,Q.cn)("pt-4 text-center",e),...r,children:a})}function ei({className:e,children:a,...r}){return(0,t.jsx)(F,{"data-slot":"dialog-description",className:(0,Q.cn)("pb-4 text-center",e),...r,children:a})}function eo({primary:e,secondary:a,className:r}){return(0,t.jsxs)("div",{className:(0,Q.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,ee],634177),e.s(["BasicDialog",0,function({title:e,description:a,primaryAction:r,secondaryAction:n,showCloseButton:l=!0,className:i,children:o,...s}){return(0,t.jsxs)(er,{showCloseButton:l,className:(0,Q.cn)("p-6",i),...s,children:[(0,t.jsx)(en,{children:(0,t.jsx)(el,{children:e})}),(0,t.jsx)(ei,{children:a}),o,(r||n)&&(0,t.jsx)(eo,{primary:r,secondary:n})]})},"Dialog",0,function({...e}){return(0,t.jsx)(C,{"data-slot":"dialog",...e})},"DialogClose",0,function({...e}){return(0,t.jsx)(q,{"data-slot":"dialog-close",...e})},"DialogContent",0,er,"DialogDescription",0,ei,"DialogFooter",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"dialog-footer",className:(0,Q.cn)(ee({type:"footer"}),e),...a})},"DialogHeader",0,en,"DialogOverlay",0,ea,"DialogPortal",0,et,"DialogTitle",0,el,"DialogTrigger",0,function({...e}){return(0,t.jsx)(I,{"data-slot":"dialog-trigger",...e})}],367810)},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:l=10,sort:i="-publishdate"}){let o={q:Object.keys(t).reduce((e,a)=>{let r=t[a];return r instanceof Array?[...e,...r.map(e=>n(a,e))]:[...e,n(a,r)]},[]).join(";"),pg:`${a},${l}`,format:"json",sort:i},s=(0,r.queryStringToSearchParams)(o).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:n=10,sort:l="-publishdate"}){let i={q:t,pg:`${a},${n}`,format:"json",sort:l},o=(0,r.queryStringToSearchParams)(i).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${o}`}},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 n(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),n=e.r(678651),l=e.r(718043);a.getQuickNav=async()=>{let e=(0,n.urlFrom)((0,l.getCMSQuickNavUrlConfig)()),t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return await (0,r.handleFetchResponse)(t)}},10993,e=>{e.q("/_next/static/media/focusLogo.2pi2rjgfr3x4_.svg")},731672,e=>{"use strict";var t=e.i(546446),a=e.i(530102),r=e.i(671525),n=e.i(889753),l=e.i(45846),i=e.i(284007),o=e.i(756227),s=e.i(318849),c=e.i(358273);e.s(["useUserLogout",0,function(){let e=(0,t.useSetAtom)(n.userPreferencesAtom),u=(0,o.useResetAuthState)(),{refresh:d}=(0,r.usePageNavigation)();return async()=>{try{return(0,c.regenerateMetricsSession)(),await l.upsxClient.auth.logout(),u(),e(i.RESET),(0,a.deleteCookie)("twc-user",{domain:".weather.com"}),(0,s.disableSwrPersist)(),d({mpa:!0}),!0}catch(e){return console.error("Failed to log out:",e),!1}}}])},104777,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={callServer:function(){return l.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return i.findSourceMapURL}};for(var n in r)Object.defineProperty(a,n,{enumerable:!0,get:r[n]});let l=e.r(836549),i=e.r(560716),o=e.r(544383)},129932,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(747961);let n=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:n,...l},i)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:i,"aria-labelledby":a,"aria-describedby":n,...l,children:[r?(0,t.jsx)("desc",{id:n,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"})]})),l=a.default.forwardRef((e,a)=>(0,t.jsx)(r.BaseIcon,{ref:a,icon:n,...e}));l.displayName="SkincareBold",e.s(["SkincareBold",0,l])},800177,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(747961);let n=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:n,...l},i)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:i,"aria-labelledby":a,"aria-describedby":n,...l,children:[r?(0,t.jsx)("desc",{id:n,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"})]})),l=a.default.forwardRef((e,a)=>(0,t.jsx)(r.BaseIcon,{ref:a,icon:n,...e}));l.displayName="SkincareBoldFilled",e.s(["SkincareBoldFilled",0,l])},179777,e=>{"use strict";var t=e.i(546584),a=e.i(592121),r=e.i(961123);function n(){return false}function l(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function i(e){(0,a.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let r=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(r.current)e.route&&r.current(e.route);else{let a=function(e={}){var t;if(!("u">typeof window)||null===e.route)return null;window.si||(window.si=function(...e){(window.siq=window.siq||[]).push(e)});let a=e.scriptSrc?e.scriptSrc:n()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":e.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":e.basePath?`${e.basePath}/speed-insights/script.js`:"/_vercel/speed-insights/script.js";if(document.head.querySelector(`script[src*="${a}"]`))return null;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend));let r=document.createElement("script");return r.src=a,r.defer=!0,r.dataset.sdkn="@vercel/speed-insights"+(e.framework?`/${e.framework}`:""),r.dataset.sdkv="1.3.1",e.sampleRate&&(r.dataset.sampleRate=e.sampleRate.toString()),e.route&&(r.dataset.route=e.route),e.endpoint?r.dataset.endpoint=e.endpoint:e.basePath&&(r.dataset.endpoint=`${e.basePath}/speed-insights/vitals`),e.dsn&&(r.dataset.dsn=e.dsn),n()&&!1===e.debug&&(r.dataset.debug="false"),r.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${a}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(r),{setRoute:e=>{r.dataset.route=e??void 0}}}({framework:e.framework??"react",basePath:e.basePath??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...e});a&&(r.current=a.setRoute)}},[e.route]),null}function o(e){let n=(()=>{let e=(0,r.useParams)(),t=(0,r.useSearchParams)()||new URLSearchParams,a=(0,r.usePathname)();if(!e)return null;let n=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!a||!n)return a;let i=a;try{let e=Object.entries(n);for(let[t,a]of e)if(!Array.isArray(a)){let e=l(a);e.test(i)&&(i=i.replace(e,`/[${t}]`))}for(let[t,a]of e)if(Array.isArray(a)){let e=l(a.join("/"));e.test(i)&&(i=i.replace(e,`/[...${t}]`))}return i}catch(e){return a}})();return a.default.createElement(i,{route:n,...e,framework:"next",basePath:function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}()})}e.s(["SpeedInsights",0,function(e){return a.default.createElement(a.Suspense,{fallback:null},a.default.createElement(o,{...e}))}])},665078,e=>{"use strict";var t,a=e.i(546584),r={scriptHostname:("u">typeof a.default?a.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_HOST:void 0)??"https://vercel.live",ownerId:"u">typeof a.default?a.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_OWNER_ID:void 0,projectId:"u">typeof a.default?a.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_PROJECT_ID:void 0,branch:"u">typeof a.default?a.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_BRANCH:void 0,deploymentId:"u">typeof a.default?"dpl_7BXEhoeUYzXcqmqTEXh5SX2MaRGA":void 0},n=e.i(592121),l=!1;e.s(["UnmountController",0,function({shouldMount:e,nonce:a}){return(0,n.useEffect)(()=>(e&&l&&function(e={}){if(typeof window>"u"||null===document.querySelector("vercel-live-feedback")){Object.assign(r,e);let a=document.createElement("script");for(let[n,l]of(a.src=`${r.scriptHostname}/_next-live/feedback/feedback.js`,a.setAttribute("data-explicit-opt-in","true"),e.nonce&&a.setAttribute("nonce",e.nonce),Object.entries((r.ownerId&&r.projectId?{"data-owner-id":r.ownerId,"data-project-id":r.projectId,"data-branch":t??r.branch}:r.deploymentId?{"data-deployment-id":r.deploymentId}:void 0)??{})))l&&a.setAttribute(n,l);(document.head||document.documentElement).appendChild(a)}}({nonce:a}),l=!0,()=>{(typeof window>"u"?void 0:window.__vercel_toolbar)?.unmount()}),[]),null}],665078)},867775,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(730921),n=e.i(683903),l=e.i(877957),i=e.i(367810),o=e.i(901351),s=e.i(313983),c=e.i(725296),u=e.i(521350),d=e.i(611540);let f=({isUserLoggedIn:e,regime:f,deviceClass:p,experience:m,isPremiumUser:h})=>{let g=(0,n.useTranslations)("PrivacyConsentModal"),y=(0,r.useLocale)(),v=(0,d.interpolateUrl)(d.URLS.privacyPolicy,{locale:y}),[b,w]=(0,a.useState)(!1),[x,C]=(0,a.useState)(!1),[j,I]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(!c.US_REGIMES.includes(f)||h||!(0,u.isLocalStorageAvailable)())return;let t=localStorage.getItem("gpcConflict"),a=localStorage.getItem("saleOfDataConflict");t?(C(!0),w(!0)):e&&a&&(I(!0),w(!0))},[f,h,e]);let E=async e=>{try{let t={purpose:e.purpose,consent:e.value,setByUser:!0};await o.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,n=a.DprSdk||r?.DprSdk;n?(n.setUserConsents({[s.Purpose.SALE_OF_DATA]:t}),e&&E({purpose:s.Purpose.SALE_OF_DATA,value:t,refreshAfterUpdate:!0}),x?((0,u.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||window.location.reload()):j&&(0,u.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),w(!1)):console.error("Unable to fix conflict, missing DprSdk.")},S="",A="";if(x?(S="gpcConflictHeader",A="gpcConflictParagraph",f===c.Regime.USA_CCPA&&(A+="_usa-ccpa")):j&&(S="saleOfDataConflictHeader",A="saleOfDataConflictParagraph",f===c.Regime.USA_CCPA&&(A+="_usa-ccpa")),A)return(0,t.jsx)(i.Dialog,{open:b,onOpenChange:w,children:(0,t.jsxs)(i.DialogContent,{className:`text-center ${"desktop"!==p?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===m?"wu-theme":""} `,onEscapeKeyDown:e=>{(j||x)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[S&&(0,t.jsx)(i.DialogHeader,{children:(0,t.jsx)(i.DialogTitle,{className:"text-xl font-semibold",children:g(S)})}),(0,t.jsx)("div",{className:"py-4",children:(0,t.jsx)("p",{className:"text-sm leading-relaxed",children:g.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)(i.DialogFooter,{className:"flex w-fit flex-col gap-3 justify-self-center",children:[(0,t.jsx)(l.Button,{onClick:()=>{R(!0)},variant:"default",className:"w-full sm:w-auto",children:g("optInButtonText")}),(0,t.jsx)(l.Button,{onClick:()=>{R(!1)},variant:"secondary",className:"w-full sm:w-auto",children:g("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModal",0,f,"default",0,f])},520362,e=>{"use strict";var t=e.i(699173),a=e.i(592121);let r=e=>{let{apiRoute:t,depth:r,refresh:n,serverURL:l}=e,i=(0,a.useRef)(!1),o=(0,a.useCallback)(e=>{e.origin===l&&e.data&&"object"==typeof e.data&&"payload-document-event"===e.data.type&&("function"==typeof n?n():console.error("You must provide a refresh function to `RefreshRouteOnSave`"))},[n,l]);return(0,a.useEffect)(()=>("u">typeof window&&window.addEventListener("message",o),i.current||(i.current=!0,(e=>{let{serverURL:t}=e;if("u">typeof window){let e=window?.opener||window?.parent;e?.postMessage({type:"payload-live-preview",ready:!0},t)}})({serverURL:l}),n()),()=>{"u">typeof window&&window.removeEventListener("message",o)}),[l,o,r,t,n]),null};var n=e.i(961123);let l=(0,e.i(695881).createLogger)("BlockHighlightOverlay"),i={position:"absolute",pointerEvents:"none",border:"2px solid #5B9BD5",backgroundColor:"rgba(91, 155, 213, 0.04)",borderRadius:"8px",boxShadow:"0 0 8px rgba(91, 155, 213, 0.3)",zIndex:"9999",transition:"opacity 150ms ease"},o=e=>{let a=(0,n.useRouter)();return(0,t.jsx)(r,{...e,refresh:a.refresh})};e.s(["LivePreviewListener",0,o],346267),e.i(346267),e.s(["BlockHighlightOverlay",0,()=>{let e=(0,a.useRef)(null),t=(0,a.useRef)(null),r=(0,a.useRef)(null),n=(0,a.useRef)(null),o=(0,a.useRef)(null),s=(0,a.useCallback)(()=>{if("u"{let a=t.current,n=e.current;if(!a||!n)return;if(!a.isConnected){t.current=null,n.style.opacity="0",r.current?.disconnect();return}let l=a.getBoundingClientRect();n.style.top=`${l.top+window.scrollY}px`,n.style.left=`${l.left+window.scrollX}px`,n.style.width=`${l.width}px`,n.style.height=`${l.height}px`,n.style.opacity="1"},[]),u=(0,a.useCallback)(()=>{t.current=null,o.current=null,e.current&&(e.current.style.opacity="0"),r.current?.disconnect()},[]),d=(0,a.useCallback)(()=>{t.current&&null===n.current&&(n.current=requestAnimationFrame(()=>{n.current=null,c()}))},[c]),f=(0,a.useCallback)(e=>{if(e===o.current)return;let a=document.querySelector(`[data-block-id="${CSS.escape(e)}"]`);if(!a)return void l.debug("No element found for block ID",{blockId:e});let n=(e=>{let t=e,a=t.getBoundingClientRect();for(let e=0;e{let t=e=>{var t;(e=>{if(e===window.location.origin)return!0;try{let{hostname:t}=new URL(e);return"weather.com"===t||t.endsWith(".weather.com")}catch{return!1}})(e.origin)&&"object"==typeof(t=e.data)&&null!==t&&"type"in t&&("wx:block-highlight-clear"===t.type||"wx:block-highlight"===t.type&&"blockId"in t&&"string"==typeof t.blockId)&&("wx:block-highlight"===e.data.type?f(e.data.blockId):u())};return window.addEventListener("message",t),window.addEventListener("scroll",d,{passive:!0}),window.addEventListener("resize",d,{passive:!0}),()=>{window.removeEventListener("message",t),window.removeEventListener("scroll",d),window.removeEventListener("resize",d),null!==n.current&&cancelAnimationFrame(n.current),r.current?.disconnect(),e.current?.remove()}},[f,u,d]),null},"LivePreviewListener",0,o],520362)},677997,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(747961);let n=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:n,...l},i)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:i,"aria-labelledby":a,"aria-describedby":n,...l,children:[r?(0,t.jsx)("desc",{id:n,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"})]})),l=a.default.forwardRef((e,a)=>(0,t.jsx)(r.BaseIcon,{ref:a,icon:n,...e}));l.displayName="Lightning",e.s(["Lightning",0,l])},460581,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(240058),n=e.i(64412),l=e.i(677997),i=e.i(995113),o=e.i(702957),s=e.i(489408),c=e.i(113016),u=e.i(312401),d=e.i(807215),f=e.i(876329),p=e.i(632137),m=e.i(546446),h=e.i(827049),g=e.i(537989),y=e.i(381477),v=e.i(190344),b=e.i(427977),w=e.i(961123),x=e.i(559421),C=e.i(388706),j=e.i(498076),I=e.i(683903),E=e.i(304116),R=e.i(528600),S=e.i(837879);e.s(["default",0,function(){let e=(0,j.useIsMobile)(),A=(0,w.usePathname)(),P=(0,x.useCanonicalBasePath)(),_=(0,m.useAtomValue)(g.pageIdAtom),D=(0,I.useTranslations)("SidebarNavigation"),{user:O}=(0,R.useUser)(),{isUserPremium:L}=O,N=(0,S.useSubscriptionsEnabled)(),{location:T,isLoading:k}=(0,n.useLocation)(),B=(0,m.useAtomValue)(h.pageLocaleAtom),$=(0,v.useVideoNavUrl)(),{data:U}=(0,y.default)(["navigation/getQuickNav",B],()=>(0,b.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),M=(0,a.useMemo)(()=>{if(k||!T)return[];let e=T.placeId||"",a=T.featureId,r=T.canonicalID,n=(0,E.buildLocationPageHref)({pageType:"today",locale:B,canonicalID:r,featureId:a,placeId:e,canonicalBasePath:P}),p=(0,E.buildLocationPageHref)({pageType:"radar",locale:B,canonicalID:r,featureId:a,placeId:e,canonicalBasePath:P}),m=P?A.split("/").pop():null,h=P?C.CANONICAL_PAGE_TYPES.includes(m):A.includes("/weather/today/")||A.includes("/weather/hourbyhour/")||A.includes("/weather/tenday/")||A.includes("/weather/monthly/")||A.includes("/forecast/allergy/")||A.includes("/forecast/air-quality/")||A.includes("/forecast/cold-flu/"),g=A.includes("/weather/radar/")||A.includes("/weather/maps/"),y=A.includes("/subscribe"),v="video"===_,b=U?.videoLinkLocaleInclude?.["en-US"],w=b?.override?`?${b?.adRef}`:"",x=$?`${$}${w}`:"",j="h-6 w-6 text-inherit";return[{name:D("forecast"),href:n,icon:(0,t.jsx)(o.PartlyCloudyBold,{className:j}),activeIcon:(0,t.jsx)(s.PartlyCloudyBoldFilled,{className:j}),isActive:h},...$?[{name:D("video"),href:x,icon:(0,t.jsx)(c.VideoPlayerBold,{className:j}),activeIcon:(0,t.jsx)(u.VideoPlayerBoldFilled,{className:j}),isActive:v}]:[],{name:D("radar"),href:p,icon:(0,t.jsx)(d.RadarBold,{className:j}),activeIcon:(0,t.jsx)(f.RadarBoldFilled,{className:j}),isActive:g},...N&&!L&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(l.Lightning,{className:j}),activeIcon:(0,t.jsx)(i.LightningFilled,{className:j}),isActive:y}]||[]]},[k,T,B,A,_,$,U,P]);return e&&0!==M.length?(0,t.jsx)("nav",{className:"fixed right-0 bottom-0 left-0 z-110 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:M.map(e=>(0,t.jsxs)(r.default,{href:e.href,className:(0,p.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",children:[(0,t.jsx)("span",{"aria-hidden":"true",children:e.isActive?e.activeIcon:e.icon}),(0,t.jsx)("span",{className:(0,p.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])},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}])},167135,e=>{"use strict";var t=e.i(699173),a=e.i(546446),r=e.i(219246);function n({children:e}){let l=(0,a.useAtomValue)(r.fixedTopAdHeightAtom);return(0,t.jsx)("div",{className:"flex min-h-0 flex-1 overflow-hidden pt-[var(--radar-top-ad)] pb-14 md:pt-0 md:pb-0",style:{"--radar-top-ad":`${l}px`},children:e})}e.s(["RadarTopAdInset",0,n,"default",0,n])},186044,e=>{e.v(t=>Promise.all(["static/chunks/3fnacg6afdhoc.js"].map(t=>e.l(t))).then(()=>t(451309)))}]);