(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,10993,e=>{e.q("/_next/static/immutable/media/focusLogo.3_ax6r2sm72u_.svg")},834005,e=>{e.q("/_next/static/immutable/media/dlpg-you.3sxuqxz06ois7.png")},778828,e=>{"use strict";var t=e.i(902875),a=e.i(632137),i=e.i(240058),l=e.i(247865),n=e.i(581014),s=e.i(546446),r=e.i(877957),o=e.i(616448),c=e.i(526456),d=e.i(527207),u=e.i(498076);let m=({animationStrings:e})=>(0,t.jsx)(t.Fragment,{children:e.map(e=>(0,t.jsx)("span",{"data-nosnippet":!0,className:(0,a.cn)("animate-pulse","bg-gray-200","text-transparent","rounded-sm","box-decoration-clone"),children:e},e))});var p=e.i(436066);e.i(24959);var h=e.i(686557),x=e.i(64412),f=e.i(262453),g=e.i(214008);let v="bg-gray-900 text-white hover:bg-[#3A3938] active:bg-[#0C0B0B] focus-visible:ring-2 focus-visible:ring-blue-500";function b({locale:e,className:i}){let y=(0,n.useTranslations)("Header"),w=(0,u.useIsMobile)(),j=(0,l.useRef)(null),C=(0,f.usePreciseGeocode)(),{location:k}=(0,x.useLocation)(),{location:S}=(0,x.useLocation)("geolocation"),A=k?.name||k?.city||k?.displayName,N=(0,g.isSameLocation)(k,S),[U,P]=(0,s.useAtom)(p.locationPickerOpenAtom),I=(0,l.useCallback)(()=>{P(!U)},[P,U]);return(0,l.useEffect)(()=>{if(!U||w)return;let e=e=>{j.current&&!j.current.contains(e.target)&&P(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[U,w,P]),(0,l.useEffect)(()=>{if(!U)return;let e=e=>{"Escape"===e.key&&P(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[U,P]),(0,t.jsxs)("div",{ref:j,className:(0,a.cn)("relative max-md:mr-auto",i),children:[(0,t.jsx)("div",{className:"rounded-4xl bg-white md:p-1 md:shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)]",children:(0,t.jsxs)(r.Button,{type:"button",variant:"ghostUI",onClick:I,"aria-expanded":U,"aria-haspopup":"dialog","aria-label":A??y("searchPlaceholderText"),"data-state":U?"open":"closed","data-testid":"location-picker-trigger",className:(0,a.cn)("inline-flex h-10 items-center justify-center gap-2 rounded-3xl px-3 py-0 text-sm font-bold transition-colors md:h-12 md:px-4","focus-visible:ring-offset-0 focus-visible:outline-none",v),children:[N&&C?(0,t.jsx)(c.CurrentLocationFilled,{className:"size-3 shrink-0 text-white","aria-hidden":"true",title:""}):N&&!C?(0,t.jsx)(o.CurrentLocation,{className:"size-3 shrink-0 text-white","aria-hidden":"true",title:""}):null,(0,t.jsx)("span",{className:"max-w-[140px] truncate md:max-w-[160px]",children:A||(0,t.jsx)(m,{animationStrings:["Location"]})}),(0,t.jsx)(d.ChevronUp,{className:(0,a.cn)("size-3 shrink-0 text-white transition-transform duration-150",!U&&"rotate-180"),"aria-hidden":"true",title:""})]})}),(0,t.jsx)("div",{className:(0,a.cn)(!w&&"absolute start-0 top-full z-110 mt-3 w-[400px]"),children:(0,t.jsx)(h.Search,{locale:e,open:U,onOpenChange:P})})]})}var y=e.i(559421),w=e.i(528600),j=e.i(731672),C=e.i(792461),k=e.i(190344),S=e.i(296990),A=e.i(674885),N=e.i(336726),U=e.i(725287),P=e.i(357508),I=e.i(942400);e.i(647872);var L=e.i(928083),R=e.i(598513),_=e.i(993269),E=e.i(859827),M=e.i(449172),T=e.i(316810);let B=({url:e,action:l,name:n,isNew:s,isExternal:r,isInGroup:o,onClick:c,sourceModule:d,sourceElement:u,modulePosition:m})=>{if(!e&&!l)return null;let p=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{className:"relative flex items-center",children:[n,s&&(0,t.jsx)(T.default,{})]}),r&&(0,t.jsx)(M.ExternalLink,{size:"sm","data-testid":"external-link-icon"})]}),h=(0,a.cn)("group flex items-center gap-1 text-gray-700 hover:text-blue-600 py-2.5",o?"px-10":"px-6");return(0,t.jsx)("li",{className:o?"border-b border-[rgba(37,36,34,0.10)]":"",children:e?(0,t.jsx)(i.default,{href:e,className:h,target:r?"_blank":void 0,onClick:c,sourceModule:d,sourceElement:u,"data-module-key":m,children:p}):(0,t.jsx)("button",{onClick:l,className:(0,a.cn)(h,"cursor-pointer"),children:p})},n)},H=({isExpanded:e,toggleCategory:i,name:l,links:n,isNew:s})=>(0,t.jsxs)("div",{className:"w-full md:mb-6",children:[(0,t.jsx)("h2",{className:"contents",children:(0,t.jsxs)("button",{type:"button",onClick:i,"aria-expanded":!!e,"aria-label":`Toggle ${l} category`,className:(0,a.cn)("flex w-full cursor-pointer items-center justify-between px-6 py-2.5 text-left md:cursor-default","focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none"),children:[(0,t.jsxs)("span",{className:"relative flex items-center",children:[(0,t.jsx)("span",{className:"text-gray-900 md:font-bold",children:l}),s&&(0,t.jsx)(T.default,{})]}),(0,t.jsx)("span",{"aria-hidden":"true",children:e?(0,t.jsx)(_.Minus,{size:"md",className:"text-black"}):(0,t.jsx)(E.Plus,{size:"md",className:"text-black"})})]})}),(0,t.jsx)("ul",{className:(0,a.cn)("bg-[#ebecee] md:space-y-2",!e&&"hidden"),children:n.map(e=>(0,t.jsx)(B,{sourceModule:"header-nav",sourceElement:e.name,...e,isInGroup:!0},e.name))})]},l);var F=e.i(611540),z=e.i(304116),$=e.i(269153);let D=[{titleKey:"running",urlKey:"activityHubRunning"},{titleKey:"camping",urlKey:"activityHubCamping"},{titleKey:"hiking",urlKey:"activityHubHiking"},{titleKey:"golf",urlKey:"activityHubGolf"},{titleKey:"cycling",urlKey:"activityHubCycling"},{titleKey:"gardening",urlKey:"activityHubGardening"},{titleKey:"tennis",urlKey:"activityHubTennis"}],O={running:"running",camping:"camping",hiking:"hiking",golf:"golf",cycling:"cycling",gardening:"gardening",tennis:"tennis-pickleball"},G=(0,l.forwardRef)((e,i)=>{let[o,c]=(0,s.useAtom)(p.settingsMenuOpenAtom),m=(0,s.useAtomValue)(A.isImperialUnitsAtom),h=(0,U.useParams)(),f=(h?.locale||"en-US").split("-")[1],{location:g}=(0,x.useLocation)(),v=(0,y.useCanonicalBasePath)(),{user:{isUserLoggedIn:b}}=(0,w.useUser)(),_=(0,j.useUserLogout)(),E=(0,C.useRefMemo)(_),M=g?.placeId||"",T=g?.featureId,B=g?.canonicalID,G=(0,$.useIsSamsungPartner)(),V=(0,I.usePageLocale)(),W=(0,s.useAtomValue)(L.activityHubMenuEnabledAtom),K=(0,u.useIsMobile)(),q=(0,R.useSendInteractionEvent)(),Y=(0,n.useTranslations)("SidebarNavigation"),Q=(0,n.useTranslations)("ActivityHubDriver"),J=(0,n.useTranslations)("UserRegistration"),X=(0,k.useVideoNavUrl)(),[Z,ee]=(0,l.useState)({}),et=(0,l.useCallback)(e=>(0,z.buildLocationPageHref)({pageType:e,locale:V,canonicalBasePath:v,canonicalID:B,featureId:T,placeId:M,skipCanonical:G}),[V,v,B,T,M,G]),ea=(0,l.useMemo)(()=>[{name:Y("weatherForecasts"),links:[{name:Y("today"),url:et("today")},{name:Y("hourly"),url:et("hourbyhour")},{name:Y("tenday"),url:et("tenday")}]},{name:Y("radarAndMaps"),links:[{name:Y("interactiveRadarMap"),url:`${(0,F.interpolateUrl)(F.URLS.interactiveMap,{locale:V,locId:M})}?animation=true`},..."en-US"===V?[{name:"US Forecast",url:F.URLS.usForecast},{name:"US Satellite & Radar",url:F.URLS.usSatAndRadar},{name:"World Satellite",url:F.URLS.worldSatellite},{name:"US Severe Alerts",url:F.URLS.usSevereAlerts},{name:"US Health",url:F.URLS.usHealth}]:[]]},..."en-US"===V?[{name:"News",links:[{name:Y("topStories"),url:F.URLS.news},{name:Y("hurricaneCentral"),url:"/storms/hurricane-central"},{name:Y("tornadoCentral"),url:"/storms/tornado-central"},{name:Y("safetyAndPrep"),url:"/safety/index"},{name:Y("spaceAndSkywatching"),url:F.URLS.spaceSkywatching},...X?[{name:Y("video"),url:X}]:[]]}]:X?[{name:Y("video"),links:[{name:Y("topStories"),url:X}]}]:[],..."en-US"===V&&W&&K?[{name:"Activity Hub",isNew:!0,analyticsElement:"activity-hub",links:D.map(({titleKey:e,urlKey:t},a)=>{let i=O[e],l=String(a);return{name:Q(e),url:(0,F.interpolateUrl)(F.URLS[t],{locale:V,locId:M}),onClick:()=>q({interactionType:"click",interactionElement:i,moduleId:"hamburger-menu",modulePosition:l,destinationPageId:i},{flushImmediately:!0}),sourceModule:"hamburger-menu",sourceElement:i,modulePosition:l}})}]:[],{name:Y("productAccount"),links:[..."en-US"===V?[{name:"Alexa Skill",url:"https://www.amazon.com/The-Weather-Company-Channel/dp/B07YPYHQ1Q",isExternal:!0}]:[],...b?[{name:J("manageAccount"),url:(0,F.interpolateUrl)(F.URLS.memberSettings,{locale:V})},{name:J("logOut"),action:E.current}]:[{name:J("createAnAccount"),url:(0,F.interpolateUrl)(F.URLS.memberSignup,{locale:V})},{name:J("logIn"),url:(0,F.interpolateUrl)(F.URLS.memberLogin,{locale:V})}]]},{name:Y("lifestyle"),links:[..."en-US"===V?[{name:"Atmosphere Reviews",url:"/atmosphere"},{name:"Shop",url:"https://shop.weather.com/",isExternal:!0},{name:Y("recipes"),url:"/home-garden/recipes"},{name:Y("homeAndGarden"),url:F.URLS.homeGarden},{name:Y("travelAndOutdoors"),url:F.URLS.travel},{name:Y("petsAndAnimals"),url:F.URLS.pets},{name:"Health",url:"/health"}]:[],{name:Y("allergyTracker"),url:et("allergy")},{name:Y("airQualityIndex"),url:et("air-quality")},{name:Y("coldAndFluTracker"),url:et("cold-flu")},..."en-US"===V?[{name:Y("skinHealth"),url:F.URLS.skinHealth}]:[]]}],[b,E,M,V,et,X,W,K,q]);return(0,t.jsxs)("nav",{ref:i,className:(0,a.cn)("md:h-unset z-overlay absolute top-full right-0 left-0 h-[calc(100dvh-56px)] w-full overflow-y-auto bg-white pb-14 shadow-md md:py-8 md:pb-0"),"data-testid":"header-nav-menu",children:[(0,t.jsxs)("div",{className:"relative flex items-center justify-between px-6 pt-4",children:[(0,t.jsx)("h2",{className:"text-2xl font-bold text-gray-900",children:"Menu"}),(0,t.jsxs)(r.Button,{variant:"ghostUI","data-settings-menu-trigger":!0,"aria-haspopup":"menu","aria-expanded":o,className:"text-brand-active ml-[10px] flex cursor-pointer items-center px-0 md:px-[6px] md:text-gray-900",onClick:()=>c(e=>!e),children:[(0,t.jsx)(S.Globe,{size:"md",className:"fill-brand-active md:fill-gray-900"}),(0,t.jsx)("span",{className:"px-[8px] text-[13px] md:text-lg md:font-bold",children:f}),(0,t.jsx)("span",{className:"border-l-brand-active border-l-[1px] pr-1 pl-2 text-[13px] md:border-l-gray-900 md:text-lg md:font-bold",children:m?"°F":"°C"}),o?(0,t.jsx)(d.ChevronUp,{className:"text-brand-active h-5 w-auto md:text-gray-900"}):(0,t.jsx)(N.ChevronDown,{className:"text-brand-active h-5 w-auto md:text-gray-900"})]}),(0,t.jsx)(P.default,{})]}),!o&&(0,t.jsx)("div",{className:"mx-auto flex w-full max-w-7xl flex-col justify-center md:flex-row md:gap-3 md:px-4","data-testid":"header-nav-content",children:ea.map(e=>(0,t.jsx)("div",{className:"flex w-full flex-col md:w-1/4",children:(0,t.jsx)(H,{isExpanded:Z[e.name],toggleCategory:()=>{var t;e.analyticsElement&&!Z[e.name]&&q({interactionElement:e.analyticsElement,interactionType:"expand",moduleId:"hamburger-menu"}),t=e.name,ee(e=>({...e,[t]:!e[t]}))},...e})},e.name))})]})});G.displayName="Navigation";var V=e.i(226602),W=e.i(747961);let K=(0,l.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...n},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:s,"aria-labelledby":a,"aria-describedby":l,...n,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Hamburger"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M20 16a1 1 0 1 1 0 2H4a1 1 0 1 1 0-2zM20 11a1 1 0 1 1 0 2H4a1 1 0 1 1 0-2zM20 6a1 1 0 1 1 0 2H4a1 1 0 0 1 0-2z"})]})),q=l.default.forwardRef((e,a)=>(0,t.jsx)(W.BaseIcon,{ref:a,icon:K,...e}));function Y(){let[e,a]=(0,s.useAtom)(p.menuOpenAtom),i=(0,l.useRef)(null),n=(0,l.useRef)(null);return(0,l.useEffect)(()=>{e?document.querySelector("html")?.classList.add("overflow-hidden"):document.querySelector("html")?.classList.remove("overflow-hidden")},[e]),(0,l.useEffect)(()=>{function t(t){e&&i.current&&n.current&&!i.current.contains(t.target)&&!n.current.contains(t.target)&&a(!1)}return document.addEventListener("mousedown",t),()=>{document.removeEventListener("mousedown",t)}},[e,a]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.Button,{ref:i,variant:"ghost",size:"icon","aria-label":"Menu",className:"h-10 w-10 shrink-0 cursor-pointer flex-col items-center justify-center p-0 hover:bg-transparent",onClick:()=>a(!e),"data-testid":"header-menu-button",children:e?(0,t.jsx)(V.Close,{}):(0,t.jsx)(q,{})}),e&&(0,t.jsx)(G,{ref:n})]})}q.displayName="Hamburger";var Q=e.i(368847),J=e.i(809058),X=e.i(837879),Z=e.i(730921),ee=e.i(540768),et=e.i(537989);let ea=()=>{let e=(0,s.useAtomValue)(et.pageIdAtom);return(0,l.useCallback)(t=>{let a=`${e}_${t}`;(0,ee.setCookie)("fromStr",a,{path:"/",domain:".weather.com"})},[e])};var ei=e.i(683199);function el(){let{user:e,userProfile:a}=(0,w.useUser)(),s=(0,j.useUserLogout)(),{isUserLoggedIn:o,isUserPremium:c}=e,[d,u]=(0,l.useState)(!1),m=(0,X.useSubscriptionsEnabled)(),p=(0,n.useTranslations)("UserRegistration"),h=(0,Z.useLocale)(),x=ea(),f=(0,ei.usePremiumSource)(),g="flex size-8 shrink-0 items-center justify-center rounded-full border-2 border-current text-sm leading-none font-bold text-inherit";return(0,t.jsx)("div",{"data-testid":"header-profile",className:"md:hidden",children:o?(0,t.jsxs)(J.Popover,{trigger:"hover",openDelay:100,closeDelay:300,open:d,onOpenChange:u,children:[(0,t.jsx)(J.PopoverTrigger,{asChild:!0,children:(0,t.jsx)("button",{type:"button","aria-haspopup":"dialog","aria-expanded":d,className:g,"data-testid":"header-profile-button",children:a?.firstName?.charAt(0)?.toUpperCase()})}),(0,t.jsx)(J.PopoverContent,{className:"z-9996 p-0",children:(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(i.default,{href:(0,F.interpolateUrl)(F.URLS.memberSettings,{locale:h}),"data-testid":"header-profile-account",children:(0,t.jsxs)("div",{className:"flex items-center gap-3 p-4",children:[(0,t.jsx)("span",{className:g,children:a?.firstName?.charAt(0)?.toUpperCase()}),(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)(Q.default,{variant:"Body.S",children:a?.firstName}),(0,t.jsx)(Q.default,{className:"text-sm text-gray-500 hover:text-gray-700","data-testid":"header-profile-account",children:p("manageAccount")})]})]})}),!c&&m&&(0,t.jsxs)("div",{className:"flex flex-col gap-3 border-t border-gray-200 p-4",children:[(0,t.jsx)(Q.default,{variant:"Body.L",className:"font-semibold",children:"Unlock our full potential"}),(0,t.jsx)(Q.default,{children:"Try our best radar and forecasting features for weather planning."}),(0,t.jsx)(i.default,{href:"/subscribe?tpcc=mktg-today-mainmenu-flyout",onClick:()=>{x("user_flyout_go_premium"),f({sourceModule:"top-menu",sourceElement:"get-premium"})},children:(0,t.jsx)(r.Button,{variant:"default",children:"Go Premium"})})]})]}),(0,t.jsx)("div",{className:"border-t border-gray-200 p-2",children:(0,t.jsx)(r.Button,{variant:"link",onClick:s,"data-testid":"header-profile-signout",children:p("signOut")})})]})})]}):(0,t.jsx)(i.default,{href:(0,F.interpolateUrl)(F.URLS.memberLogin,{locale:h}),sourceModule:"header",sourceElement:"sign-in",children:(0,t.jsx)(r.Button,{variant:"default",className:"whitespace-nowrap text-sm md:text-base py-0 px-3 md:px-4 h-8 md:h-12 font-bold bg-gray-900",children:p("logIn")})})})}var en=e.i(995113);function es(){let{user:e}=(0,w.useUser)(),{isUserPremium:l}=e,n=(0,X.useSubscriptionsEnabled)(),s=ea(),r=(0,ei.usePremiumSource)();return l||!n?null:(0,t.jsx)("div",{className:"hidden rounded-4xl bg-white p-1 md:block md:shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)]",children:(0,t.jsxs)(i.default,{href:"/subscribe?tpcc=mktg-home-mainmenu-subscribe",className:(0,a.cn)("group relative inline-flex h-10 items-center justify-center gap-1 overflow-hidden rounded-3xl px-3 py-0 text-sm font-bold transition-colors md:h-12 md:px-4","focus-visible:ring-offset-0 focus-visible:outline-none"),style:{background:"linear-gradient(90deg, #3A61CC 0%, #6549D4 50%, #935EC3 100%)"},onClick:()=>{s("header_go_premium"),r({sourceModule:"top-menu",sourceElement:"get-premium"})},children:[(0,t.jsx)("div",{style:{background:"linear-gradient(90deg, #4872E5 0%, #785CEB 50%, #A86EDD 100%)"},className:"pointer-events-none absolute top-0 left-0 h-full w-full opacity-0 bg-blend-soft-light transition-opacity group-hover:opacity-100 group-focus:opacity-100"}),(0,t.jsx)(en.LightningFilled,{className:"relative z-2 size-4 text-white"}),(0,t.jsx)("span",{className:"relative text-sm font-semibold whitespace-nowrap text-white",children:"Get Premium"})]})})}var er=e.i(521231);e.s(["default",0,function({locale:e,subnav:l,hideHeaderOnDesktop:n,hideLocationPicker:r,hideGoPremiumButton:o}){let c,d=(0,u.useIsMobile)(),m=(c=(0,u.useIsMobile)(),(0,U.usePathname)().includes("/subscribe")&&!c||n&&!d),h=(0,s.useAtomValue)(p.menuOpenAtom),x=(0,s.useAtomValue)(p.locationPickerOpenAtom),f=(0,F.interpolateUrl)(F.URLS.home,{locale:e});return m?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("header",{className:(0,a.cn)("relative top-0 w-full md:sticky",h||x?"z-overlay":"z-sticky"),children:(0,t.jsx)("div",{className:"text-black max-md:bg-white","data-component":"header-main","data-testid":"header-main",children:(0,t.jsxs)("div",{className:"mx-auto flex items-center justify-between gap-2 px-3 py-2 md:gap-4 md:py-3 md:pl-0",children:[(0,t.jsx)("span",{className:"contents md:hidden",children:(0,t.jsx)(Y,{})}),(0,t.jsx)("div",{className:(0,a.cn)("flex items-center md:hidden",r&&"max-md:mr-auto"),children:(0,t.jsx)(i.default,{href:f,className:"flex items-center md:hidden","data-testid":"header-logo",children:(0,t.jsx)(er.default,{className:"h-10 w-auto text-[#003399] md:h-12"})})}),!r&&(0,t.jsx)(b,{locale:e}),(0,t.jsx)("div",{className:"hidden md:contents",children:l}),!o&&(0,t.jsx)(es,{}),(0,t.jsx)(el,{})]})})}),(0,t.jsx)("div",{className:(0,a.cn)("z-sticky sticky top-2 mb-6 px-3 md:hidden",h||x?"hidden":"block"),children:l})]})}],778828)},432124,e=>{"use strict";var t=e.i(902875),a=e.i(247865),i=e.i(240058),l=e.i(64412),n=e.i(677997),s=e.i(995113),r=e.i(702957),o=e.i(489408),c=e.i(113016),d=e.i(312401),u=e.i(807215),m=e.i(876329),p=e.i(160937),h=e.i(64344),x=e.i(51398),f=e.i(240027),g=e.i(632137),v=e.i(546446),b=e.i(942400),y=e.i(537989);e.i(647872);var w=e.i(494889),j=e.i(611540),C=e.i(738426),k=e.i(468104),S=e.i(18358),A=e.i(381477),N=e.i(190344),U=e.i(427977),P=e.i(725287),I=e.i(559421),L=e.i(388706),R=e.i(498076),_=e.i(581014),E=e.i(304116),M=e.i(379276),T=e.i(269153),B=e.i(528600),H=e.i(837879),F=e.i(683199),z=e.i(677691),$=e.i(429745),D=e.i(269186),O=e.i(328166),G=e.i(226602),V=e.i(697380),W=e.i(512134),K=e.i(521350),q=e.i(358273);let Y="wx-next/get-app-button:dismissed-session",Q=["/hourbyhour","/radar","/download-app"];function J(){let e=(0,R.useIsMobile)(),i=(0,P.usePathname)(),l=(0,v.useAtomValue)(V.fixedBottomAdHeightAtom),{isDismissed:n,dismiss:s}=function(){let e=(0,W.useIsClient)(),[t,i]=(0,a.useState)(!1);return{isDismissed:!e||t||function(){let e=function(){if(!(0,K.isLocalStorageAvailable)())return null;try{return localStorage.getItem(Y)}catch{return null}}();if(!e)return!1;let t=(0,q.getMetricsSession)()?.sessionId;return!!t&&t===e}(),dismiss:(0,a.useCallback)(()=>{let e=(0,q.getMetricsSession)()?.sessionId;if(e&&(0,K.isLocalStorageAvailable)())try{localStorage.setItem(Y,e)}catch{}i(!0)},[])}}(),{href:r}=(0,z.useAppInstallLink)("floating-button","floating-button"),o=(0,C.useTrackInstallPromptClick)("floating-button"),c=(0,k.useTrackModuleClick)();if(!e||n||Q.some(e=>i.includes(e)))return null;let d=`calc(3.5rem + ${l}px + 0.75rem)`;return(0,t.jsx)("div",{className:"z-sticky fixed left-1/2 -translate-x-1/2 md:hidden",style:{bottom:d},"data-testid":"get-app-button","data-component":"get-app-button",children:(0,t.jsxs)("div",{style:{background:"linear-gradient(to right, #204794, #007094)"},className:"group relative flex h-10 items-center overflow-hidden rounded-full shadow-lg",children:[(0,t.jsx)("a",{href:r,onClick:()=>o("get-the-app"),className:"relative z-2 flex h-full items-center gap-2 pr-2 pl-4 font-semibold text-white no-underline focus:outline-none",children:(0,t.jsx)("span",{className:"text-sm whitespace-nowrap",children:"Get the App"})}),(0,t.jsx)("button",{type:"button","aria-label":"Dismiss",onClick:()=>{c("floating-get-the-app-button","dismiss"),s()},className:"relative z-2 flex h-full items-center pr-4 pl-1 text-white focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none",children:(0,t.jsx)(G.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e,G=(0,R.useIsMobile)(),V=(0,P.usePathname)(),W=(0,I.useCanonicalBasePath)(),[K,q]=(0,a.useState)(!1),{href:Y}=(0,z.useAppInstallLink)("my-plans","my-plans"),Q=(0,C.useTrackInstallPromptClick)("my-plans"),X=(e=(0,S.useTrackEvent)(),(0,a.useCallback)(()=>{e("myPlansDriver")},[e])),Z=(0,k.useTrackModuleClick)(),ee=(0,T.useIsSamsungPartner)(),et=(0,v.useAtomValue)(y.pageIdAtom),ea=(0,_.useTranslations)("SidebarNavigation"),{user:ei}=(0,B.useUser)(),{isUserPremium:el}=ei,en=(0,H.useSubscriptionsEnabled)(),es=(0,F.usePremiumSource)(),{location:er,isLoading:eo}=(0,l.useLocation)(),ec=(0,b.usePageLocale)(),ed=(0,v.useAtomValue)(w.newsHubEnabledAtom),eu=(0,N.useVideoNavUrl)(),{data:em}=(0,A.default)(["navigation/getQuickNav",ec],()=>(0,U.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),ep=(0,a.useMemo)(()=>{if(eo||!er)return[];let e=er.placeId||"",a=er.featureId,i=er.canonicalID,l=(0,E.buildLocationPageHref)({pageType:"today",locale:ec,canonicalID:i,featureId:a,placeId:e,canonicalBasePath:W,skipCanonical:ee}),g=(0,E.buildLocationPageHref)({pageType:"radar",locale:ec,canonicalID:i,featureId:a,placeId:e,canonicalBasePath:W,skipCanonical:ee}),v=W?(0,L.navTypeForSuffix)(V.split("/").pop()):null,b="en-US"===ec?"/":`/${ec}`,y=V===b||"/"!==b&&V===`${b}/`||(W?"forecast"===v:V.includes("/weather/today/")||V.includes("/weather/hourbyhour/")||V.includes("/weather/tenday/")||V.includes("/weather/monthly/")||V.includes("/forecast/allergy/")||V.includes("/forecast/air-quality/")||V.includes("/forecast/cold-flu/")),w=W?"radar"===v:V.includes("/weather/radar/")||V.includes("/weather/maps/"),C=V.includes("/subscribe"),k="video"===et,S=V===j.URLS.news||V.startsWith(`${j.URLS.news}/`)||M.NEWS_PAGE_IDS.includes(et??""),A="en-US"===ec&&ed,N=em?.videoLinkLocaleInclude?.["en-US"],U=N?.override?`?${N?.adRef}`:"",P=eu?`${eu}${U}`:"",I="h-6 w-6 text-inherit";return[{name:ea("forecast"),href:l,icon:(0,t.jsx)(r.PartlyCloudyBold,{className:I}),activeIcon:(0,t.jsx)(o.PartlyCloudyBoldFilled,{className:I}),isActive:y},...A?[{name:"News",href:j.URLS.news,icon:(0,t.jsx)(x.News,{className:I}),activeIcon:(0,t.jsx)(f.NewsFilled,{className:I}),isActive:S}]:eu?[{name:ea("video"),href:P,icon:(0,t.jsx)(c.VideoPlayerBold,{className:I}),activeIcon:(0,t.jsx)(d.VideoPlayerBoldFilled,{className:I}),isActive:k}]:[],..."en-US"!==ec||ee?[]:[{name:"My Plans",onClick:()=>{X(),q(!0)},icon:(0,t.jsx)(p.CalendarBold,{className:I}),activeIcon:(0,t.jsx)(h.CalendarBoldFilled,{className:I}),isActive:!1}],{name:ea("radar"),href:g,icon:(0,t.jsx)(u.RadarBold,{className:I}),activeIcon:(0,t.jsx)(m.RadarBoldFilled,{className:I}),isActive:w},...en&&!el&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(n.Lightning,{className:I}),activeIcon:(0,t.jsx)(s.LightningFilled,{className:I}),isActive:C,onClick:()=>es({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[eo,er,ec,V,et,ed,eu,em,W,es,ee,X]);if(!G)return null;let eh="en-US"===ec&&!ee;return 0===ep.length?eh?(0,t.jsx)(J,{}):null:(0,t.jsxs)(t.Fragment,{children:[eh&&(0,t.jsx)(J,{}),(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:ep.map(e=>{let a=(0,g.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}),l=(0,g.cn)("text-[11px] leading-tight",e.isActive&&"font-semibold");return e.href?(0,t.jsxs)(i.default,{href:e.href,className:a,"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:l,children:e.name})]},e.name):(0,t.jsxs)("button",{type:"button",className:a,onClick:e.onClick,children:[(0,t.jsx)("span",{"aria-hidden":"true",children:e.icon}),(0,t.jsx)("span",{className:l,children:e.name})]},e.name)})})})}),(0,t.jsx)($.InstallPromptSheet,{open:K,onOpenChange:q,title:"My Plans",headline:"Weather Your Way",description:"Save your favorite locations and unlock custom forecasts tailored to your daily travel, plans and routines.",imageContent:(0,t.jsx)("div",{className:"relative h-40 w-full",children:(0,t.jsxs)(D.CompositeFrame,{left:"0%",top:"-40.84%",width:"100%",height:"181.69%",children:[(0,t.jsx)(D.Glow,{viewBoxWidth:480,viewBoxHeight:408,color:"#679CED",cx:240,cy:204,rx:160,ry:124}),(0,t.jsx)(D.Card,{src:O.default.src,alt:"My Plans cards showing a saved commute activity and flight status",top:"26.2%",left:"23.5%",width:"53.3%"})]})}),getAppHref:Y,onGetAppClick:()=>Z("my-plans-drawer/get-the-app","Get the app"),onCloseClick:()=>Z("my-plans-drawer/dismiss","dismiss"),learnMoreHref:"/download-app#my-plans",onLearnMoreClick:()=>Q("learn-more")})]})}],432124)},316810,e=>{"use strict";var t=e.i(902875),a=e.i(632137);e.s(["default",0,({className:e})=>(0,t.jsx)("span",{className:(0,a.cn)("text-xxs bg-brand-200 ml-2 inline-flex h-[19px] items-center justify-center rounded-md border-2 border-white px-[3px] py-1 font-bold text-white",e),children:"New"})])},556441,e=>{"use strict";var t=e.i(902875),a=e.i(725287),i=e.i(240058),l=e.i(877957),n=e.i(368847),s=e.i(132084),r=e.i(528600),o=e.i(837879),c=e.i(498076),d=e.i(37429),u=e.i(683199);e.s(["default",0,()=>{let e=(0,a.useSearchParams)(),m=e.get("par")||e.get("partner"),p=(0,c.useIsMobile)(),h=(0,o.useSubscriptionsEnabled)(),{user:x}=(0,r.useUser)(),{isUserPremium:f}=x,g=(0,u.usePremiumSource)();return m===s.Partner.TIKTOK&&p&&h&&!f?(0,t.jsxs)("div",{className:"relative mb-4 overflow-hidden bg-[#590462]",children:[(0,t.jsx)(d.default,{src:"https://s.w-x.co/tt-banner.jpg",alt:"",fill:!0,priority:!0,isFetchPriority:!0,rounded:!1,objectFit:"cover",className:"object-center",wrapperClassName:"absolute inset-0","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"relative z-10 p-6 text-center",children:[(0,t.jsx)(n.default,{variant:"Title.S",className:"mb-2.5 text-white",children:"Your TikTok Exclusive"}),(0,t.jsx)(n.default,{variant:"Body.S.Bold",className:"mb-2.5 text-white",children:"Get The Weather Channel Premium FREE for 1 month — turn ads off now, plus much more!"}),(0,t.jsx)(l.Button,{className:"rounded-lg px-8 py-2 text-sm font-bold",variant:"secondary",asChild:!0,children:(0,t.jsx)(i.default,{href:"/subscribe/checkout?products=e251f39b-afd7-4ad9-9c87-5e2a8ed63fbb&promoCode=t934k258j742&tpcc=mktg-today-tiktok-banner",onClick:()=>g({sourceModule:"tiktok-banner",sourceElement:"claim-now"}),children:"Claim Now"})})]})]}):null}])},329017,e=>{"use strict";e.i(288906);var t=e.i(247865),a=e.i(725287),i=e.i(546446),l=e.i(540768),n=e.i(682142),s=e.i(782937),r=e.i(695881),o=e.i(333350),c=e.i(64412),d=e.i(950771),u=e.i(537989),m=e.i(695203),p=e.i(158662),h=e.i(358273),x=e.i(122124),f=e.i(777638),g=e.i(727365),v=e.i(896363),b=e.i(924776),y=e.i(409628),w=e.i(605781);let j=(0,r.createLogger)("useTrackInteraction"),C=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),k=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]);e.s(["useTrackInteraction",0,()=>{let e=(0,i.useAtomValue)(u.pageIdAtom),r=(0,i.useAtomValue)(d.pageLocaleAtom),S=(0,i.useAtomValue)(m.deviceClassAtom),A=(0,i.useAtomValue)(p.experimentJoinListAtom),N=(0,a.usePathname)(),{location:U}=(0,c.useLocation)(),P=(0,b.useIsHightouchReady)(),I=(0,t.useCallback)(t=>{let a=(0,n.getCICookie)(),i=a?.["TWC-GeoIP-Country"]??(0,l.getCookie)("twc-location-country"),o=a?.["TWC-GeoIP-Region"]??(0,l.getCookie)("twc-location-region"),c=a?.["TWC-Privacy"]??(0,l.getCookie)("twc-privacy"),d=window.DprSdk?.getGdprConsentOptInsString()??"",u=window.DprSdk?.getCcpaSaleOptInString()??"",m=window.navigator?.globalPrivacyControl??!1,p=d?.includes("functional-technology")??!1,b=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,w=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,j=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),P=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),I=navigator?.cookieEnabled??!1,L=(0,l.getCookie)("partner")||"",R=(0,s.getPartnerByPattern)(L)??L,_=(0,h.getMetricsSession)(),E=_?.sessionId||"",M=new Date(_?.sessionStartTime||0).toISOString(),T=new Date,B=T.getHours(),H=y.WEEK_DAYS[T.getDay()]??"",F=e&&["article","video"].includes(e)?N?.split("/").slice(0,-1).join("/")??"":(0,x.getAnonymizedPath)(N??""),z=(0,g.normalizeWlocType)(U?.type),$=U?.featureSource??null;return{moduleId:t.moduleId??"",moduleTitle:t.moduleTitle??null,modulePosition:t.modulePosition,interactionType:t.interactionType??"",interactionElement:t.interactionElement??null,lockedContent:t.lockedContent??"false",destinationPageId:t.destinationPageId??null,upsellCampaign:t.upsellCampaign??null,upsellCreative:t.upsellCreative??null,upsellPlacement:t.upsellPlacement,pageId:e??"",url:F,referrer:document.referrer,locale:r,deviceClass:S,partner:R,sessionId:E,sessionStartTime:M,siteMode:"normal",dayOfWeek:H,hourOfDay:B,regime:c??"",cookiesEnabled:I,gpcSignalOptOut:m,functionalTechnologies:p,geographicallyRelevantAds:b,interestBasedAds:w,priv:d,privProducts:u,saleOfDataAuthorization:j,sensitiveDataAuthorization:P,campaign:(0,f.getCampaign)(),experimentJoinList:A,weatherMode:"normal",physicalCountry:i??"",physicalState:o??"",wlocCity:U?.city??null,wlocCountry:U?.countryCode??null,wlocState:U?.adminDistrictCode??null,wlocDMA:U?.dmaCd??null,wlocId:U?.placeId??null,wlocFeatureId:U?.featureId??null,wlocFeatureSource:null!=$&&k.has($)?$:void 0,wlocTags:U?.tags?.length?(0,v.parseArrayToString)(U.tags):null,wlocType:null!==z&&C.has(z)?z:void 0,samsungVersion:(0,f.getSamsungVersion)(),appVersion:"b4ee6b8a9b7a5cea26876dd24ff63a13c366fbff".slice(0,10)}},[e,r,S,A,N,U]);return(0,t.useCallback)(e=>{if(o.default){if(!P)return void j.warn('Hightouch: Event "interaction" skipped - SDK not ready');try{(0,w.trackInteraction)(I(e)),j.info('Hightouch: Event "interaction" tracked')}catch(e){j.error('Hightouch: Event "interaction" failed',{error:e})}}},[P,I])}])},683199,e=>{"use strict";var t=e.i(247865),a=e.i(546446),i=e.i(128541),l=e.i(537989);e.s(["usePremiumSource",0,()=>{let e=(0,a.useSetAtom)(i.purchaseSourceAttributionAtom),n=(0,a.useAtomValue)(l.pageIdAtom);return(0,t.useCallback)(({sourceModule:t,sourceElement:a,sourceUpsellPlacement:i})=>{e({sourcePage:n||null,sourceModule:t,sourceElement:a,sourceUpsellPlacement:i??null})},[e,n])}])},468104,269186,328166,e=>{"use strict";var t=e.i(247865),a=e.i(598513);e.s(["useTrackModuleClick",0,function(){let e=(0,a.useSendInteractionEvent)();return(0,t.useCallback)((t,a)=>{e({moduleId:t,interactionType:"click",interactionElement:a},{flushImmediately:!0})},[e])}],468104);var i=e.i(902875);e.s(["Card",0,function({src:e,alt:t,top:a,left:l,width:n}){return(0,i.jsx)("img",{src:e,alt:t,className:"absolute rounded-xl",style:{top:a,left:l,width:n}})},"CompositeFrame",0,function({left:e,top:t,width:a,height:l,children:n}){return(0,i.jsx)("div",{className:"absolute",style:{left:e,top:t,width:a,height:l},children:n})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:a,color:l,cx:n,cy:s,rx:r,ry:o}){let c=(0,t.useId)();return(0,i.jsxs)("svg",{"aria-hidden":"true",className:"absolute inset-0 size-full",viewBox:`0 0 ${e} ${a}`,preserveAspectRatio:"none",children:[(0,i.jsx)("g",{opacity:.32,filter:`url(#${c})`,children:(0,i.jsx)("ellipse",{cx:n,cy:s,rx:r,ry:o,fill:l})}),(0,i.jsx)("defs",{children:(0,i.jsxs)("filter",{id:c,x:"0",y:"0",width:e,height:a,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,i.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,i.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,i.jsx)("feGaussianBlur",{stdDeviation:40})]})})]})}],269186);let l={src:e.i(834005).default,width:516,height:380,blurWidth:8,blurHeight:6,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAYAAAD+Bd/7AAAAoklEQVR42h3Lyw6CMBRF0f7/ZzFxZEKiMYKiJjz6oAVuW4Fc0WPDYM/WFodTl12LG5flnavHk4eRePKRpe75WNhMnCubN02Dtm33jDEg7+GGAZfXmAtlXKjrGl3XQimFdV2xzDMiTQm+gxgnYqcV4mAxx4CQbu8MFl1jpYkFJTBqCW86UEJSSoQEtkj4MLMIYaa+t9xbx9rYPR8ib1/wwj/6A1qGsw/Ra/bcAAAAAElFTkSuQmCC"};e.s(["default",0,l],328166)},598513,e=>{"use strict";var t=e.i(487709),a=e.i(737801),i=e.i(329017),l=e.i(247865);e.s(["useSendInteractionEvent",0,()=>{let e="interaction",n=(0,a.useEventAttributes)(),s=(0,i.useTrackInteraction)();return(0,l.useCallback)((a,i={})=>{s(a);let l={...n,...a};if(!(0,t.canLogEvent)())return void console.warn("MParticle is not loaded");try{if(window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,l),i.flushImmediately)try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,l)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[n,s])}])},97506,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.getContentQueryMedia=n;let i=e.r(426606),l=e.r(16689);async function n({queryId:e,channel:t,territory:a,language:s="en-US",startIndex:r=0,limit:o,relatedSeed:c}){let d=new URLSearchParams({channel:t,language:s});a&&d.set("territory",a),c&&(d.set("seedId",c.id),d.set("seedCollection",c.collection)),r>0&&d.set("startIndex",String(r)),void 0!==o&&d.set("limit",String(o));let u=`https://${(0,l.getCmsBaseUrl)()}/api/payload/v1/media/query/${encodeURIComponent(e)}?${d.toString()}`,m=await (0,i.fetchJsonWithoutCredentials)(u);return Array.isArray(m)?m:[]}},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:n=10,sort:s="-publishdate"}){let r={q:Object.keys(t).reduce((e,a)=>{let i=t[a];return i instanceof Array?[...e,...i.map(e=>l(a,e))]:[...e,l(a,i)]},[]).join(";"),pg:`${a},${n}`,format:"json",sort:s},o=(0,i.queryStringToSearchParams)(r).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${o}`}},a.getCMSAssetsRawQueryUrlConfig=function({language:e="en_US",query:t="",skip:a=0,limit:l=10,sort:n="-publishdate"}){let s={q:t,pg:`${a},${l}`,format:"json",sort:n},r=(0,i.queryStringToSearchParams)(s).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${r}`}},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 i=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 i=e.r(414655),l=e.r(678651),n=e.r(718043);a.getQuickNav=async()=>{let e=(0,l.urlFrom)((0,n.getCMSQuickNavUrlConfig)()),t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return await (0,i.handleFetchResponse)(t)}},849177,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["adsDisabledAtom",0,t])},956667,e=>{"use strict";var t=e.i(902875),a=e.i(247865),i=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...n},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:s,"aria-labelledby":a,"aria-describedby":l,...n,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Video Player"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M7.265 5.978a.5.5 0 0 0-.765.424v3.196a.5.5 0 0 0 .765.424l2.557-1.598a.5.5 0 0 0 0-.848z"}),(0,t.jsx)("path",{d:"M14 3H2c-.552 0-1 .449-1 1v8c0 .551.448 1 1 1h12c.552 0 1-.449 1-1V4c0-.551-.448-1-1-1m0 8.5a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-7a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 .5.5z"})]})]})),n=a.default.forwardRef((e,a)=>(0,t.jsx)(i.BaseIcon,{ref:a,icon:l,...e}));n.displayName="VideoPlayer",e.s(["VideoPlayer",0,n])},957174,e=>{"use strict";var t=e.i(902875),a=e.i(247865),i=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...n},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:s,"aria-labelledby":a,"aria-describedby":l,...n,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Book"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M13 5H9.5v1H13zM13 7.5H9.5v1H13zM13 10H9.5v1H13zM6.5 5H3v1h3.5zM6.5 7.5H3v1h3.5zM6.5 10H3v1h3.5z"}),(0,t.jsx)("path",{d:"M14 2.5H2a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1m-12 1h5.5v9H2zm6.5 9v-9H14v9z"})]})]})),n=a.default.forwardRef((e,a)=>(0,t.jsx)(i.BaseIcon,{ref:a,icon:l,...e}));n.displayName="Book",e.s(["Book",0,n])},129932,e=>{"use strict";var t=e.i(902875),a=e.i(247865),i=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...n},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:s,"aria-labelledby":a,"aria-describedby":l,...n,children:[i?(0,t.jsx)("desc",{id:l,children:i}):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"})]})),n=a.default.forwardRef((e,a)=>(0,t.jsx)(i.BaseIcon,{ref:a,icon:l,...e}));n.displayName="SkincareBold",e.s(["SkincareBold",0,n])},800177,e=>{"use strict";var t=e.i(902875),a=e.i(247865),i=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...n},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:s,"aria-labelledby":a,"aria-describedby":l,...n,children:[i?(0,t.jsx)("desc",{id:l,children:i}):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"})]})),n=a.default.forwardRef((e,a)=>(0,t.jsx)(i.BaseIcon,{ref:a,icon:l,...e}));n.displayName="SkincareBoldFilled",e.s(["SkincareBoldFilled",0,n])},677997,738426,e=>{"use strict";var t=e.i(902875),a=e.i(247865),i=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...n},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:s,"aria-labelledby":a,"aria-describedby":l,...n,children:[i?(0,t.jsx)("desc",{id:l,children:i}):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"})]})),n=a.default.forwardRef((e,a)=>(0,t.jsx)(i.BaseIcon,{ref:a,icon:l,...e}));n.displayName="Lightning",e.s(["Lightning",0,n],677997);var s=e.i(598513),r=e.i(990033);let o={"my-plans":"my-plans-web-to-app-install","24-hour-radar":"radar-24hour-web-to-app-install","floating-button":"floating-button-web-to-app-install"},c={"my-plans":{"get-the-app":"Get the app","learn-more":"Learn more"},"24-hour-radar":{"get-the-app":"Get the app","learn-more":"Learn more"},"floating-button":{"get-the-app":"Get the App"}};e.s(["useTrackInstallPromptClick",0,function(e){let t=(0,s.useSendInteractionEvent)(),i=(0,a.useCallback)((e,t)=>{let a=window.AF;a&&a("pba","event",{eventType:"EVENT",eventName:e,eventValue:{...t,af_customer_event_id:(0,r.v4)()}})},[]);return(0,a.useCallback)(a=>{t({moduleId:o[e],interactionType:"click",interactionElement:c[e][a]},{flushImmediately:!0}),i("web_to_app_install_click",{module:o[e],cta_type:a})},[t,i,e])}],738426)},995113,e=>{"use strict";var t=e.i(902875),a=e.i(247865),i=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...n},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:s,"aria-labelledby":a,"aria-describedby":l,...n,children:[i?(0,t.jsx)("desc",{id:l,children:i}):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",d:"M5.748 14.435a.43.43 0 0 0 .203.195.4.4 0 0 0 .164.037.4.4 0 0 0 .188-.057.43.43 0 0 0 .145-.142l5.47-7.69a.47.47 0 0 0 .046-.453.44.44 0 0 0-.156-.185.4.4 0 0 0-.223-.068H9.587l.727-3.52a.49.49 0 0 0-.084-.384.4.4 0 0 0-.146-.124A.4.4 0 0 0 9.902 2H5.694a.4.4 0 0 0-.268.094.46.46 0 0 0-.152.254L4.01 8.23a.49.49 0 0 0 .083.39q.062.082.151.126a.4.4 0 0 0 .187.04h2.032L5.7 14.147c-.014.1.003.201.049.289"})]})),n=a.default.forwardRef((e,a)=>(0,t.jsx)(i.BaseIcon,{ref:a,icon:l,...e}));n.displayName="LightningFilled",e.s(["LightningFilled",0,n])},7150,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["pushlyPromptSuppressedAtom",0,t])},429745,e=>{"use strict";var t=e.i(902875),a=e.i(62544),i=e.i(226602),l=e.i(632137);e.s(["InstallPromptSheet",0,({open:e,onOpenChange:n,title:s,headline:r,description:o,imageUrl:c,imageAlt:d="",imageContent:u,getAppHref:m,getAppLabel:p="Get the app",onGetAppClick:h,learnMoreHref:x,learnMoreLabel:f="Learn more",onLearnMoreClick:g,closeLabel:v="Close",onCloseClick:b,dismissLabel:y,onDismissClick:w})=>(0,t.jsx)(a.Dialog,{open:e,onOpenChange:n,children:(0,t.jsxs)(a.DialogContent,{"aria-describedby":void 0,showCloseButton:!1,onOpenAutoFocus:e=>{e.preventDefault(),e.currentTarget.focus()},className:(0,l.cn)("flex flex-col gap-6 overflow-y-auto border-0 border-b border-black/10 bg-white px-8 py-6","pb-[calc(1.5rem+env(safe-area-inset-bottom))]","fixed inset-x-0 top-auto bottom-0 max-h-[90dvh] w-full max-w-none translate-x-0 translate-y-0 sm:max-w-none","rounded-t-3xl rounded-b-none","data-[state=open]:slide-in-from-bottom-full data-[state=closed]:slide-out-to-bottom-full"),children:[(0,t.jsx)(a.DialogClose,{"aria-label":v,onClick:b,className:"absolute top-4 left-4 z-10 flex size-8 cursor-pointer items-center justify-center rounded-2xl bg-[#f5f5f5] text-gray-900 transition-colors hover:bg-gray-200 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none",children:(0,t.jsx)(i.Close,{size:"sm",ariaHidden:!0,className:"size-4"})}),s?(0,t.jsx)(a.DialogTitle,{className:"p-0 text-center text-base font-bold text-[#252422]",children:s}):(0,t.jsx)(a.DialogTitle,{className:"sr-only",children:r}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[u||(c?(0,t.jsx)("div",{className:"relative h-40 w-full",children:(0,t.jsx)("img",{src:c,alt:d,className:"size-full rounded-lg object-cover"})}):null),(0,t.jsxs)("div",{className:"flex flex-col gap-2 text-center",children:[(0,t.jsx)("p",{className:"text-2xl font-extrabold text-[#252422]",children:r}),(0,t.jsx)("p",{className:"text-base font-medium text-[#676767]",children:o})]})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,t.jsx)("a",{href:m,onClick:h,className:"flex h-12 w-40 items-center justify-center rounded-lg bg-[#252422] text-base font-bold text-white hover:bg-[#3a3a3a] active:bg-black",children:p}),x&&(0,t.jsx)("a",{href:x,onClick:g,className:"flex h-12 w-full max-w-60 items-center justify-center rounded-lg text-base font-bold text-[#252422] hover:opacity-70",children:f}),!x&&y&&(0,t.jsx)(a.DialogClose,{onClick:w,className:"flex h-12 w-full max-w-60 cursor-pointer items-center justify-center rounded-lg text-base font-bold text-[#252422] hover:opacity-70",children:y})]})]})})])},726812,16730,e=>{"use strict";let t="com.weather.Weather",a="id295646461",i="https://app.appsflyer.com",l="weather.com",n=`https://apps.apple.com/us/app/the-weather-channel/${a}`,s=`https://play.google.com/store/apps/details?id=${t}`;e.s(["APPSFLYER_DEFAULT_CAMPAIGN",0,l,"APPSFLYER_HOST",0,i,"APPSFLYER_PID",0,"WWW","APP_STORE_URL",0,n,"DEFAULT_ANDROID_ID",0,t,"DEFAULT_IPHONE_ID",0,a,"PLAY_STORE_URL",0,s],726812);var r=e.i(288906);e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:n,currentUrl:s,allowAppsFlyer:o,deepLinkValue:c}){if(!o||!n||null===e)return"";let d="android"===e?t:a,u=r.default.env.NEXT_PUBLIC_APPSFLYER_ONELINK_URL,m=u||`${i}/${d}`,p=encodeURIComponent(n.replace(/ /g,"_")),h=`${m}?pid=WWW&af_adset=${p}&c=${l}`;return c&&(h+=`&deep_link_value=${encodeURIComponent(c)}`),!u&&"ios"===e&&s&&(h+=`&af_ios_fallback=${encodeURIComponent(s)}`),h}],16730)},881282,e=>{"use strict";e.s(["getPlatform",0,function(e){return/iPhone|iPod|iPad/.test(e)?"ios":/Android/.test(e)?"android":null}])},402525,e=>{"use strict";let t=(0,e.i(981030).atom)(null);e.s(["getSmartScriptClickUrl",0,function(e){let t=e?.clickURL;return"string"==typeof t&&t?t:null},"smartScriptClickUrlAtom",0,t,"withCtaAttribution",0,function(e,{trackAdset:t,deepLinkValue:a}){if(!URL.canParse(e))return e;let i=new URL(e);return t&&i.searchParams.set("af_adset",t.replace(/ /g,"_")),a&&i.searchParams.set("deep_link_value",a),i.toString()}])},677691,e=>{"use strict";var t=e.i(247865),a=e.i(726812),i=e.i(16730),l=e.i(881282),n=e.i(546446),s=e.i(402525),r=e.i(216809);e.s(["useAppInstallLink",0,function(e,o){let[c,d]=(0,t.useState)(null),[u,m]=(0,t.useState)(null),p=(0,n.useAtomValue)(s.smartScriptClickUrlAtom),h=(0,r.useAppsFlyerConsent)();(0,t.useEffect)(()=>{d((0,l.getPlatform)(navigator.userAgent)),m(window.location.href)},[]);let x=(0,i.getAppsFlyerLink)({platform:c,trackAdset:e,currentUrl:u,allowAppsFlyer:h,deepLinkValue:o}),f="android"===c?a.PLAY_STORE_URL:a.APP_STORE_URL,g=p?(0,s.withCtaAttribution)(p,{trackAdset:e,deepLinkValue:o}):"";return{href:(h&&null!==c?g||x:"")||f,platform:c}}])},216809,e=>{"use strict";var t=e.i(247865),a=e.i(553329);e.s(["useAppsFlyerConsent",0,function(){let[e,i]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let e=!1;return(async()=>{let t=window.DprSdk?.isInitialized;if(!t)return;let{error:l}=await (0,a.tryCatch)(t);l||e||i(!!window.DprSdk?.getFeatureFlags()?.appsFlyer)})(),()=>{e=!0}},[]),e}])}]);