(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,606920,e=>{"use strict";var l=e.i(426641),a=e.i(539922),t=e.i(25681);function r(){return false}function i(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function n(e){(0,a.useEffect)(()=>{var l;e.beforeSend&&(null==(l=window.si)||l.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let t=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(t.current)e.route&&t.current(e.route);else{let a=function(e={}){var l;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:r()?"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==(l=window.si)||l.call(window,"beforeSend",e.beforeSend));let t=document.createElement("script");return t.src=a,t.defer=!0,t.dataset.sdkn="@vercel/speed-insights"+(e.framework?`/${e.framework}`:""),t.dataset.sdkv="1.3.1",e.sampleRate&&(t.dataset.sampleRate=e.sampleRate.toString()),e.route&&(t.dataset.route=e.route),e.endpoint?t.dataset.endpoint=e.endpoint:e.basePath&&(t.dataset.endpoint=`${e.basePath}/speed-insights/vitals`),e.dsn&&(t.dataset.dsn=e.dsn),r()&&!1===e.debug&&(t.dataset.debug="false"),t.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(t),{setRoute:e=>{t.dataset.route=e??void 0}}}({framework:e.framework??"react",basePath:e.basePath??function(){if(void 0!==l.default&&void 0!==l.default.env)return l.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...e});a&&(t.current=a.setRoute)}},[e.route]),null}function s(e){let r=(()=>{let e=(0,t.useParams)(),l=(0,t.useSearchParams)()||new URLSearchParams,a=(0,t.usePathname)();if(!e)return null;let r=Object.keys(e).length?e:Object.fromEntries(l.entries());if(!a||!r)return a;let n=a;try{let e=Object.entries(r);for(let[l,a]of e)if(!Array.isArray(a)){let e=i(a);e.test(n)&&(n=n.replace(e,`/[${l}]`))}for(let[l,a]of e)if(Array.isArray(a)){let e=i(a.join("/"));e.test(n)&&(n=n.replace(e,`/[...${l}]`))}return n}catch(e){return a}})();return a.default.createElement(n,{route:r,...e,framework:"next",basePath:function(){if(void 0!==l.default&&void 0!==l.default.env)return l.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}()})}e.s(["SpeedInsights",0,function(e){return a.default.createElement(a.Suspense,{fallback:null},a.default.createElement(s,{...e}))}])},691871,e=>{"use strict";var l,a=e.i(426641),t={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_FNVxEhZfHEM83DJfYJReTY6magxJ":void 0},r=e.i(539922),i=!1;e.s(["UnmountController",0,function({shouldMount:e,nonce:a}){return(0,r.useEffect)(()=>(e&&i&&function(e={}){if(typeof window>"u"||null===document.querySelector("vercel-live-feedback")){Object.assign(t,e);let a=document.createElement("script");for(let[r,i]of(a.src=`${t.scriptHostname}/_next-live/feedback/feedback.js`,a.setAttribute("data-explicit-opt-in","true"),e.nonce&&a.setAttribute("nonce",e.nonce),Object.entries((t.ownerId&&t.projectId?{"data-owner-id":t.ownerId,"data-project-id":t.projectId,"data-branch":l??t.branch}:t.deploymentId?{"data-deployment-id":t.deploymentId}:void 0)??{})))i&&a.setAttribute(r,i);(document.head||document.documentElement).appendChild(a)}}({nonce:a}),i=!0,()=>{(typeof window>"u"?void 0:window.__vercel_toolbar)?.unmount()}),[]),null}],691871)},316810,e=>{"use strict";var l=e.i(648198),a=e.i(632137);e.s(["default",0,({className:e})=>(0,l.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"})])},995113,e=>{"use strict";var l=e.i(648198),a=e.i(539922),t=e.i(747961);let r=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"lightning"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.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"})]})),i=a.default.forwardRef((e,a)=>(0,l.jsx)(t.BaseIcon,{ref:a,icon:r,...e}));i.displayName="LightningFilled",e.s(["LightningFilled",0,i])},778828,e=>{"use strict";var l=e.i(648198),a=e.i(632137),t=e.i(240058),r=e.i(539922),i=e.i(547100),n=e.i(475566),s=e.i(877957),o=e.i(809058),d=e.i(526456),c=e.i(527207),u=e.i(710746),x=e.i(427309),f=e.i(498076);let h=({animationStrings:e})=>(0,l.jsx)(l.Fragment,{children:e.map(e=>(0,l.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 m=e.i(436066),p=e.i(635165),v=e.i(941497);let g="LOCATION_PICKER_POPUP_CLOSED",b="light",w={light:"bg-gray-900 text-white hover:bg-[#3A3938] active:bg-[#0C0B0B] focus-visible:ring-2 focus-visible:ring-blue-500",dark:"bg-white text-gray-900 hover:bg-[#E6E6E6] active:bg-[#CCCCCC] focus-visible:ring-2 focus-visible:ring-blue-500"},j={light:"bg-gray-900 text-white",dark:"bg-white text-gray-900"},y={light:"fill-gray-900",dark:"fill-white"},N={light:"text-gray-300",dark:"text-[#5C5C5C]"},C={light:"bg-white/12 text-white hover:bg-white/20",dark:"bg-black/8 text-gray-900 hover:bg-black/14"};function R({locale:e,className:t,locationProvider:B}){let A=(0,i.useTranslations)("Header"),S=(0,f.useIsMobile)(),L=(0,r.useRef)(null),k=(0,n.useAtomValue)(x.geoipGeocode),{location:P}=(0,v.useProviderLocation)(B),U=P?.name||P?.city||P?.displayName,M=P?.geocode,[I,T]=(0,n.useAtom)(m.locationPickerOpenAtom),[E,V]=(0,r.useState)(!1);(0,r.useEffect)(()=>{try{"true"!==localStorage.getItem(g)&&V(!0)}catch{}},[]);let _=(0,r.useCallback)(()=>{V(!1);try{localStorage.setItem(g,"true")}catch{}},[]),H=(0,r.useCallback)(()=>{E&&_(),T(!I)},[E,_,T,I]);(0,r.useEffect)(()=>{if(!I||S)return;let e=e=>{L.current&&!L.current.contains(e.target)&&T(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[I,S,T]),(0,r.useEffect)(()=>{if(!I)return;let e=e=>{"Escape"===e.key&&T(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[I,T]);let z=E&&!I;return(0,l.jsxs)("div",{ref:L,className:(0,a.cn)("relative max-md:mr-auto",t),children:[(0,l.jsxs)(o.Popover,{open:z,children:[(0,l.jsx)(o.PopoverAnchor,{asChild:!0,children:(0,l.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,l.jsxs)(s.Button,{type:"button",variant:"ghostUI",onClick:H,"aria-expanded":I,"aria-haspopup":"dialog","aria-label":U??A("searchPlaceholderText"),"data-state":I?"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",w[b]),children:[!!M&&!!k&&M===k&&(0,l.jsx)(d.CurrentLocationFilled,{className:"size-3 shrink-0 text-white","aria-hidden":"true"}),(0,l.jsx)("span",{className:"max-w-[140px] truncate md:max-w-[160px]",children:U||(0,l.jsx)(h,{animationStrings:["Location"]})}),(0,l.jsx)(c.ChevronUp,{className:(0,a.cn)("size-3 shrink-0 text-white transition-transform duration-150",!I&&"rotate-180"),"aria-hidden":"true"})]})})}),(0,l.jsx)(o.PopoverContent,{side:"bottom",align:"start",sideOffset:12,"data-component":"location-picker-onboarding",className:(0,a.cn)("w-[320px] origin-top rounded-3xl border-none p-4 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),0_0_32px_0_rgba(0,0,0,0.12)]",j[b]),arrowClassName:y[b],onOpenAutoFocus:e=>e.preventDefault(),children:(0,l.jsxs)("div",{className:"flex items-start gap-2",children:[(0,l.jsxs)("div",{className:"flex flex-1 flex-col gap-2",children:[(0,l.jsx)("p",{className:"text-base leading-tight font-bold",children:"✨ Switching locations is easier with the new location selector."}),(0,l.jsx)("p",{className:(0,a.cn)("text-sm leading-tight font-medium",N[b]),children:"Search for new locations or choose from a list of your saved locations and recent searches."})]}),(0,l.jsx)("button",{type:"button",onClick:_,"aria-label":"Dismiss",className:(0,a.cn)("inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-2xl transition-colors",C[b]),"data-testid":"location-picker-popup-close",children:(0,l.jsx)(u.Close,{className:"size-4 text-inherit","aria-hidden":"true"})})]})})]}),(0,l.jsx)("div",{className:(0,a.cn)(!S&&"absolute top-full left-0 z-110 mt-3 w-[400px]"),children:(0,l.jsx)(p.default,{locale:e,open:I,onOpenChange:T})})]})}var B=e.i(874886),A=e.i(528600),S=e.i(731672),L=e.i(792461),k=e.i(381477),P=e.i(445899),U=e.i(296990),M=e.i(674885),I=e.i(336726),T=e.i(25681),E=e.i(357508),V=e.i(827049),_=e.i(449172),H=e.i(316810);let z=({url:e,action:r,name:i,isNew:n,isExternal:s,isInGroup:o})=>{if(!e&&!r)return null;let d=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("span",{className:"relative flex items-center",children:[i,n&&(0,l.jsx)(H.default,{})]}),s&&(0,l.jsx)(_.ExternalLink,{size:"sm","data-testid":"external-link-icon"})]}),c=(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,l.jsx)("li",{className:o?"border-b border-[rgba(37,36,34,0.10)]":"",children:e?(0,l.jsx)(t.default,{href:e,className:c,target:s?"_blank":void 0,children:d}):(0,l.jsx)("button",{onClick:r,className:(0,a.cn)(c,"cursor-pointer"),children:d})},i)};var O=e.i(993269),F=e.i(859827);let D=({isExpanded:e,toggleCategory:t,name:r,links:i})=>(0,l.jsxs)("div",{className:"w-full md:mb-6",children:[(0,l.jsxs)("div",{className:(0,a.cn)("flex cursor-pointer items-center justify-between px-6 py-2.5 md:cursor-default"),onClick:t,role:"button",tabIndex:0,"aria-label":"Toggle Menu Category",children:[(0,l.jsx)("h2",{className:(0,a.cn)("text-gray-900 md:font-bold"),children:r}),(0,l.jsx)("span",{"aria-label":e?"Collapse":"Expand",children:e?(0,l.jsx)(O.Minus,{size:"md",className:"text-black"}):(0,l.jsx)(F.Plus,{size:"md",className:"text-black"})})]}),(0,l.jsx)("ul",{className:(0,a.cn)("bg-[#ebecee] md:space-y-2",!e&&"hidden"),children:i.map(e=>(0,l.jsx)(z,{...e,isInGroup:!0},e.name))})]},r);var $=e.i(611540);let K=(0,r.forwardRef)(({locationProvider:e},t)=>{let[o,d]=(0,n.useAtom)(m.settingsMenuOpenAtom),u=(0,n.useAtomValue)(M.isImperialUnitsAtom),x=(0,T.useParams)(),f=(x?.locale||"en-US").split("-")[1],{location:h}=(0,v.useProviderLocation)(e),p=(0,B.useCanonicalBasePath)(),{user:{isUserLoggedIn:g}}=(0,A.useUser)(),b=(0,S.useUserLogout)(),w=(0,L.useRefMemo)(b),j=h?.placeId||"",y=(0,n.useAtomValue)(V.pageLocaleAtom),N=(0,i.useTranslations)("SidebarNavigation"),C=(0,i.useTranslations)("UserRegistration"),{data:R}=(0,k.default)(["navigation/getVideoLink",y],([e,l])=>(0,P.getVideoLink)(l),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),[_,H]=(0,r.useState)({}),O=(0,r.useMemo)(()=>[{name:N("weatherForecasts"),links:[{name:N("today"),url:p?`${p}/today`:(0,$.interpolateUrl)($.URLS.today,{locale:y,locId:j})},{name:N("hourly"),url:p?`${p}/hourbyhour`:(0,$.interpolateUrl)($.URLS.hourly,{locale:y,locId:j})},{name:N("tenday"),url:p?`${p}/tenday`:(0,$.interpolateUrl)($.URLS.tenday,{locale:y,locId:j})}]},{name:N("radarAndMaps"),links:[{name:N("interactiveRadarMap"),url:`${(0,$.interpolateUrl)($.URLS.interactiveMap,{locale:y,locId:j})}?animation=true`},..."en-US"===y?[{name:"US Forecast",url:$.URLS.usForecast},{name:"US Satellite & Radar",url:$.URLS.usSatAndRadar},{name:"World Satellite",url:$.URLS.worldSatellite},{name:"US Severe Alerts",url:$.URLS.usSevereAlerts},{name:"US Health",url:$.URLS.usHealth}]:[]]},..."en-US"===y?[{name:N("newsMedia"),links:[{name:"Top Weather Stories",url:"/news"},{name:N("hurricaneCentral"),url:"/storms/hurricane-central"},{name:N("tornadoCentral"),url:"/storms/tornado-central"},{name:N("safetyAndPrep"),url:"/safety/index"},{name:N("spaceAndSkywatching"),url:$.URLS.spaceSkywatching},...R?[{name:N("video"),url:R}]:[]]}]:R?[{name:N("video"),links:[{name:N("topStories"),url:R}]}]:[],{name:N("productAccount"),links:[..."en-US"===y?[{name:"Alexa Skill",url:"https://www.amazon.com/The-Weather-Company-Channel/dp/B07YPYHQ1Q",isExternal:!0}]:[],...g?[{name:C("manageAccount"),url:(0,$.interpolateUrl)($.URLS.memberSettings,{locale:y})},{name:C("logOut"),action:w.current}]:[{name:C("createAnAccount"),url:(0,$.interpolateUrl)($.URLS.memberSignup,{locale:y})},{name:C("logIn"),url:(0,$.interpolateUrl)($.URLS.memberLogin,{locale:y})}]]},{name:N("lifestyle"),links:[..."en-US"===y?[{name:"Atmosphere Reviews",url:"/atmosphere"},{name:"Shop",url:"https://shop.weather.com/",isExternal:!0},{name:N("recipes"),url:"/home-garden/recipes"},{name:N("homeAndGarden"),url:$.URLS.homeGarden},{name:N("travelAndOutdoors"),url:$.URLS.travel},{name:N("petsAndAnimals"),url:$.URLS.pets},{name:"Health",url:"/health"}]:[],{name:N("allergyTracker"),url:(0,$.interpolateUrl)($.URLS.allergy,{locale:y,locId:j})},{name:N("airQualityIndex"),url:(0,$.interpolateUrl)($.URLS.airQuality,{locale:y,locId:j})},{name:N("coldAndFluTracker"),url:(0,$.interpolateUrl)($.URLS.coldFlu,{locale:y,locId:j})},..."en-US"===y?[{name:N("skinHealth"),url:$.URLS.skinHealth}]:[]]},..."en-US"===y?[{name:"Explore",url:"/explore"}]:[]],[g,w,j,R,p,y]);return(0,l.jsxs)("nav",{ref:t,className:(0,a.cn)("md:h-unset absolute top-full right-0 left-0 z-110 h-[calc(100vh-56px)] w-full overflow-y-auto bg-white shadow-md md:py-8"),"data-testid":"header-nav-menu",children:[(0,l.jsxs)("div",{className:"relative flex items-center justify-between px-6 pt-4",children:[(0,l.jsx)("h2",{className:"text-2xl font-bold text-gray-900",children:"Menu"}),(0,l.jsxs)(s.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:()=>d(e=>!e),children:[(0,l.jsx)(U.Globe,{size:"md",className:"fill-brand-active md:fill-gray-900"}),(0,l.jsx)("span",{className:"px-[8px] text-[13px] md:text-lg md:font-bold",children:f}),(0,l.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:u?"°F":"°C"}),o?(0,l.jsx)(c.ChevronUp,{className:"text-brand-active h-5 w-auto md:text-gray-900"}):(0,l.jsx)(I.ChevronDown,{className:"text-brand-active h-5 w-auto md:text-gray-900"})]}),(0,l.jsx)(E.default,{})]}),!o&&(0,l.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:O.map((e,a)=>(0,l.jsx)("div",{className:"flex w-full flex-col md:w-1/4",children:e.links?(0,l.jsx)(D,{isExpanded:_[e.name],toggleCategory:()=>{var l;return l=e.name,void H(e=>({...e,[l]:!e[l]}))},...e}):(0,l.jsx)(z,{...e})},a))})]})});K.displayName="Navigation";var G=e.i(747961);let q=(0,r.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Hamburger"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.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"})]})),W=r.default.forwardRef((e,a)=>(0,l.jsx)(G.BaseIcon,{ref:a,icon:q,...e}));function Q({locationProvider:e}){let[a,t]=(0,n.useAtom)(m.menuOpenAtom),i=(0,r.useRef)(null),o=(0,r.useRef)(null);return(0,r.useEffect)(()=>{a?document.querySelector("html")?.classList.add("overflow-hidden"):document.querySelector("html")?.classList.remove("overflow-hidden")},[a]),(0,r.useEffect)(()=>{function e(e){a&&i.current&&o.current&&!i.current.contains(e.target)&&!o.current.contains(e.target)&&t(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[a,t]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.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:()=>t(!a),"data-testid":"header-menu-button",children:a?(0,l.jsx)(u.Close,{}):(0,l.jsx)(W,{})}),a&&(0,l.jsx)(K,{ref:o,locationProvider:e})]})}W.displayName="Hamburger";var Y=e.i(368847),J=e.i(837879),X=e.i(654623),Z=e.i(903938),ee=e.i(537989);let el=()=>{let e=(0,n.useAtomValue)(ee.pageIdAtom);return(0,r.useCallback)(l=>{let a=`${e}_${l}`;(0,Z.setCookie)("fromStr",a,{path:"/",domain:".weather.com"})},[e])};function ea(){let{user:e,userProfile:a}=(0,A.useUser)(),n=(0,S.useUserLogout)(),{isUserLoggedIn:d,isUserPremium:c}=e,[u,x]=(0,r.useState)(!1),f=(0,J.useSubscriptionsEnabled)(),h=(0,i.useTranslations)("UserRegistration"),m=(0,X.useLocale)(),p=el(),v="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,l.jsx)("div",{"data-testid":"header-profile",className:"md:hidden",children:d?(0,l.jsxs)(o.Popover,{trigger:"hover",openDelay:100,closeDelay:300,open:u,onOpenChange:x,children:[(0,l.jsx)(o.PopoverTrigger,{asChild:!0,children:(0,l.jsx)("button",{type:"button","aria-haspopup":"dialog","aria-expanded":u,className:v,"data-testid":"header-profile-button",children:a?.firstName?.charAt(0)?.toUpperCase()})}),(0,l.jsx)(o.PopoverContent,{className:"z-9996 p-0",children:(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)(t.default,{href:(0,$.interpolateUrl)($.URLS.memberSettings,{locale:m}),"data-testid":"header-profile-account",children:(0,l.jsxs)("div",{className:"flex items-center gap-3 p-4",children:[(0,l.jsx)("span",{className:v,children:a?.firstName?.charAt(0)?.toUpperCase()}),(0,l.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,l.jsx)(Y.default,{variant:"Body.S",children:a?.firstName}),(0,l.jsx)(Y.default,{className:"text-sm text-gray-500 hover:text-gray-700","data-testid":"header-profile-account",children:h("manageAccount")})]})]})}),!c&&f&&(0,l.jsxs)("div",{className:"flex flex-col gap-3 border-t border-gray-200 p-4",children:[(0,l.jsx)(Y.default,{variant:"Body.L",className:"font-semibold",children:"Unlock our full potential"}),(0,l.jsx)(Y.default,{children:"Try our best radar and forecasting features for weather planning."}),(0,l.jsx)(t.default,{href:"/subscribe?tpcc=mktg-today-mainmenu-flyout",onClick:()=>p("user_flyout_go_premium"),children:(0,l.jsx)(s.Button,{variant:"default",children:"Go Premium"})})]})]}),(0,l.jsx)("div",{className:"border-t border-gray-200 p-2",children:(0,l.jsx)(s.Button,{variant:"link",onClick:n,"data-testid":"header-profile-signout",children:h("signOut")})})]})})]}):(0,l.jsx)(t.default,{href:(0,$.interpolateUrl)($.URLS.memberLogin,{locale:m}),children:(0,l.jsx)(s.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:h("logIn")})})})}var et=e.i(995113);function er(){let{user:e}=(0,A.useUser)(),{isUserPremium:r}=e,i=(0,J.useSubscriptionsEnabled)(),n=el();return r||!i?null:(0,l.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,l.jsxs)(t.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:()=>n("header_go_premium"),children:[(0,l.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,l.jsx)(et.LightningFilled,{className:"relative z-2 size-4 text-white"}),(0,l.jsx)("span",{className:"relative text-sm font-semibold whitespace-nowrap text-white",children:"Get Premium"})]})})}var ei=e.i(458645);e.i(647872);var en=e.i(523579);e.s(["default",0,function({locale:e,locationProvider:r,subnav:i,hideHeaderOnDesktop:s}){let o,d=(0,f.useIsMobile)(),c=(o=(0,f.useIsMobile)(),(0,T.usePathname)().includes("/subscribe")&&!o||s&&!d),u=(0,n.useAtomValue)(en.retroWeatherAtom),x=(0,n.useAtomValue)(m.menuOpenAtom),h=(0,n.useAtomValue)(m.locationPickerOpenAtom),p=u?"/retro":(0,$.interpolateUrl)($.URLS.home,{locale:e});return c?null:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("header",{className:"z-sticky relative top-0 w-full md:sticky",children:(0,l.jsx)("div",{className:"text-black max-md:bg-white","data-component":"header-main","data-testid":"header-main",children:(0,l.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,l.jsx)("span",{className:"contents md:hidden",children:(0,l.jsx)(Q,{locationProvider:r})}),(0,l.jsx)("div",{className:"flex items-center md:hidden",children:(0,l.jsx)(t.default,{href:p,className:"flex items-center md:hidden","data-testid":"header-logo",children:(0,l.jsx)(ei.default,{className:"h-10 w-auto text-[#003399] md:h-12",variant:"header"})})}),(0,l.jsx)(R,{locale:e,locationProvider:r}),(0,l.jsx)("div",{className:"hidden md:contents",children:i}),(0,l.jsx)(er,{}),(0,l.jsx)(ea,{})]})})}),(0,l.jsx)("div",{className:(0,a.cn)("z-sticky sticky top-2 mb-6 px-3 md:hidden",x||h?"hidden":"block"),children:i})]})}],778828)},702957,489408,113016,312401,807215,876329,e=>{"use strict";var l=e.i(648198),a=e.i(539922),t=e.i(747961);let r=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Today"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 2a5.5 5.5 0 0 1 5.5 5.5c0 1.661-.74 3.145-1.902 4.153A5.5 5.5 0 0 1 17 22H7a5.5 5.5 0 0 1-1.628-10.753 7.01 7.01 0 0 1 5.193-4.6A5.5 5.5 0 0 1 16 2m-4 6.5a5 5 0 0 0-4.857 3.813l-.154.628-.635.12A3.5 3.5 0 0 0 7 20h10a3.5 3.5 0 0 0 .645-6.94l-.635-.118-.154-.629A5 5 0 0 0 12 8.5M16 4a3.5 3.5 0 0 0-3.363 2.53 7 7 0 0 1 5.55 3.701A3.5 3.5 0 0 0 16 4",clipRule:"evenodd"})]})),i=a.default.forwardRef((e,a)=>(0,l.jsx)(t.BaseIcon,{ref:a,icon:r,...e}));i.displayName="PartlyCloudyBold",e.s(["PartlyCloudyBold",0,i],702957);let n=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Today"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 2a5.5 5.5 0 0 1 3.6 9.655A5.5 5.5 0 0 1 17 22H7a5.5 5.5 0 0 1-1.628-10.753 7.01 7.01 0 0 1 5.193-4.6A5.5 5.5 0 0 1 16 2m0 2a3.5 3.5 0 0 0-3.363 2.53 7 7 0 0 1 5.55 3.701A3.5 3.5 0 0 0 16 4",clipRule:"evenodd"})]})),s=a.default.forwardRef((e,a)=>(0,l.jsx)(t.BaseIcon,{ref:a,icon:n,...e}));s.displayName="PartlyCloudyBoldFilled",e.s(["PartlyCloudyBoldFilled",0,s],489408);let o=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Video"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",d:"M9.5 8.895a.5.5 0 0 1 .762-.426l5.046 3.105a.5.5 0 0 1 0 .852l-5.046 3.105a.5.5 0 0 1-.762-.426z"}),(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M20.5 4.5a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-17a2 2 0 0 1-2-2v-11a2 2 0 0 1 2-2zm-17 13h17v-11h-17z",clipRule:"evenodd"})]})),d=a.default.forwardRef((e,a)=>(0,l.jsx)(t.BaseIcon,{ref:a,icon:o,...e}));d.displayName="VideoPlayerBold",e.s(["VideoPlayerBold",0,d],113016);let c=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Video"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M20.5 4.5a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-17a2 2 0 0 1-2-2v-11a2 2 0 0 1 2-2zM10.262 8.469a.5.5 0 0 0-.762.426v6.21a.5.5 0 0 0 .762.426l5.046-3.105a.5.5 0 0 0 0-.852z",clipRule:"evenodd"})]})),u=a.default.forwardRef((e,a)=>(0,l.jsx)(t.BaseIcon,{ref:a,icon:c,...e}));u.displayName="VideoPlayerBoldFilled",e.s(["VideoPlayerBoldFilled",0,u],312401);let x=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Radar"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",d:"M12 2a1 1 0 0 1 0 2 8.001 8.001 0 1 0 2.322 15.655 8 8 0 0 0 4-12.557l-1.43 1.43A6 6 0 1 1 12 6a1 1 0 0 1 0 2 4 4 0 1 0 3.447 1.973l-2.74 2.74a1 1 0 0 1-1.414-1.414l6.321-6.323.043-.047a1 1 0 0 1 1.415 0A10 10 0 1 1 12 2"})]})),f=a.default.forwardRef((e,a)=>(0,l.jsx)(t.BaseIcon,{ref:a,icon:x,...e}));f.displayName="RadarBold",e.s(["RadarBold",0,f],807215);let h=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Radar"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2m0 2a8.002 8.002 0 0 0-7.056 11.772 8.001 8.001 0 1 0 12.713-9.43.75.75 0 0 0-1.06 0l-.006.007-.03.027-5.091 5.09a.751.751 0 0 0 1.06 1.062l2.053-2.053A3.001 3.001 0 1 1 12 9a.75.75 0 0 0 0-1.5 4.502 4.502 0 0 0-3.969 6.621 4.502 4.502 0 0 0 7.71.379 4.5 4.5 0 0 0-.075-5.108l1.429-1.43a6.5 6.5 0 0 1 .31 7.65A6.5 6.5 0 1 1 12 5.5.75.75 0 0 0 12 4",clipRule:"evenodd"})]})),m=a.default.forwardRef((e,a)=>(0,l.jsx)(t.BaseIcon,{ref:a,icon:h,...e}));m.displayName="RadarBoldFilled",e.s(["RadarBoldFilled",0,m],876329)},906361,e=>{"use strict";var l=e.i(648198),a=e.i(632137),t=e.i(654623),r=e.i(547100),i=e.i(611540),n=e.i(827049),s=e.i(475566);let o=[{locales:["de-DE"],url:"https://www.focus.de/?utm_source=weather.com&utm_medium=referral&utm_campaign=unser+netzwerk",cobrandIconSrc:{src:e.i(10993).default,width:208,height:74,blurWidth:0,blurHeight:0}.src}];var d=e.i(37429),c=e.i(240058);let u=e=>{let{classname:t}=e,r=(0,s.useAtomValue)(n.pageLocaleAtom),{url:i,cobrandIconSrc:u}=o.find(e=>e.locales.includes(r))||{};return i&&u?(0,l.jsx)("span",{className:"flex",children:(0,l.jsx)(c.default,{href:i,target:"_blank",className:(0,a.cn)("relative p-0",t,{"de-DE":"de-DE"===r}),children:(0,l.jsx)(d.default,{className:"h-6 w-auto max-w-none",src:u,alt:"focus logo",rounded:!1})})}):null};var x=e.i(458645),f=e.i(368847),h=e.i(113016),m=e.i(312401),p=e.i(539922),v=e.i(747961);let g=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Home"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2zm-4 6h4v-4H5zM19 3a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM5 9h14V5H5zM19 13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2zm-4 6h4v-4h-4z",clipRule:"evenodd"})]})),b=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:g,...e}));b.displayName="HomeBold";let w=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Home"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2zM19 3a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM19 13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2z",clipRule:"evenodd"})]})),j=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:w,...e}));j.displayName="HomeBoldFilled";let y=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Playlist"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",d:"M9.5 11.395a.5.5 0 0 1 .762-.426l5.046 3.105a.5.5 0 0 1 0 .852l-5.046 3.105a.5.5 0 0 1-.762-.425z"}),(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M20.5 7a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-17a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2zm-17 13h17V9h-17z",clipRule:"evenodd"}),(0,l.jsx)("path",{fill:"currentColor",d:"M18.25 4a.75.75 0 0 1 0 1.5H5.75a.75.75 0 0 1 0-1.5zM14.75 1a.75.75 0 0 1 0 1.5h-5.5a.75.75 0 0 1 0-1.5z"})]})),N=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:y,...e}));N.displayName="PlaylistVideoBold";let C=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Playlist"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M20.5 7a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-17a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2zm-10.238 3.969a.5.5 0 0 0-.762.426v6.21a.5.5 0 0 0 .762.426l5.046-3.105a.5.5 0 0 0 0-.852z",clipRule:"evenodd"}),(0,l.jsx)("path",{fill:"currentColor",d:"M18.25 4a.75.75 0 0 1 0 1.5H5.75a.75.75 0 0 1 0-1.5zM14.75 1a.75.75 0 0 1 0 1.5h-5.5a.75.75 0 0 1 0-1.5z"})]})),R=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:C,...e}));R.displayName="PlaylistVideoBoldFilled";let B=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.422 7.47a1.002 1.002 0 0 1 1.084 1.237l-1.414 5.656c-.09.359-.37.64-.729.729l-5.656 1.414a1 1 0 0 1-1.213-1.213l1.414-5.656c.09-.359.37-.64.729-.729l5.656-1.414zM9.84 14.162l3.456-.865-2.593-2.593z",clipRule:"evenodd"}),(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2m0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16",clipRule:"evenodd"})]})),A=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:B,...e}));A.displayName="Compass";let S=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",d:"m13.709 13.709-4.558 1.14 1.139-4.559z"}),(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2m3.422 5.47-.129.024-5.656 1.414c-.359.09-.64.37-.729.729l-1.414 5.656a1 1 0 0 0 1.213 1.213l5.656-1.414c.359-.09.64-.37.729-.729l1.414-5.656a1 1 0 0 0-1.084-1.236",clipRule:"evenodd"})]})),L=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:S,...e}));L.displayName="CompassFilled";var k=e.i(807215),P=e.i(876329);let U=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Close"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.5 1.5a1 1 0 0 1 1 1V3H19a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h2.5v-.5a1 1 0 0 1 2 0V3h5v-.5a1 1 0 0 1 1-1M5 10v9h14v-9zm0-2h14V5h-2.5v.5a1 1 0 1 1-2 0V5h-5v.5a1 1 0 0 1-2 0V5H5z",clipRule:"evenodd"})]})),M=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:U,...e}));M.displayName="CalendarBold";let I=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Daily"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.5 1.5a1 1 0 0 1 1 1V3H19a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h2.5v-.5a1 1 0 0 1 2 0V3h5v-.5a1 1 0 0 1 1-1M5 8h14V5h-2.5v.5a1 1 0 1 1-2 0V5h-5v.5a1 1 0 0 1-2 0V5H5z",clipRule:"evenodd"})]})),T=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:I,...e}));T.displayName="CalendarBoldFilled";let E=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Hourly"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",d:"M12 6a1 1 0 0 1 1 1v4.586l2.707 2.707a1 1 0 1 1-1.414 1.414l-3-3A1 1 0 0 1 11 12V7a1 1 0 0 1 1-1"}),(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2m0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16",clipRule:"evenodd"})]})),V=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:E,...e}));V.displayName="TimeBold";let _=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Hourly"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2m0 4a1 1 0 0 0-1 1v5a1 1 0 0 0 .293.707l3 3a1 1 0 1 0 1.414-1.414L13 11.586V7a1 1 0 0 0-1-1",clipRule:"evenodd"})]})),H=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:_,...e}));H.displayName="TimeBoldFilled";var z=e.i(129932),O=e.i(800177);let F=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Breathing"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",d:"M15.1 13.5c1.103 0 1.991-.001 2.709.058.728.06 1.368.185 1.96.487a5 5 0 0 1 2.186 2.185c.302.593.428 1.233.487 1.961.059.718.058 1.606.058 2.71V21a1 1 0 1 1-2 0v-.1c0-1.136 0-1.929-.05-2.545-.05-.606-.143-.954-.277-1.217a3 3 0 0 0-1.31-1.31c-.264-.135-.612-.228-1.218-.277-.616-.05-1.409-.051-2.545-.051h-.2c-1.136 0-1.929 0-2.546.05-.605.05-.953.143-1.216.277a3 3 0 0 0-1.31 1.31c-.135.264-.228.612-.277 1.218-.05.616-.051 1.409-.051 2.545v.1a1 1 0 1 1-2 0v-.1c0-1.103-.001-1.991.058-2.709.06-.728.185-1.368.487-1.96a5 5 0 0 1 2.185-2.186c.593-.302 1.233-.428 1.961-.487.718-.059 1.606-.058 2.71-.058z"}),(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M15 2a5 5 0 1 1 0 10 5 5 0 0 1 0-10m0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6",clipRule:"evenodd"}),(0,l.jsx)("path",{fill:"currentColor",d:"M8 8a.75.75 0 0 1 0 1.5H4.5a.75.75 0 0 0-.75.75v.5a.75.75 0 0 1-1.5 0v-.5A2.25 2.25 0 0 1 4.5 8zM3 3.5a.75.75 0 0 1 .75.75v.5c0 .414.336.75.75.75H8A.75.75 0 0 1 8 7H4.5a2.25 2.25 0 0 1-2.25-2.25v-.5A.75.75 0 0 1 3 3.5"})]})),D=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:F,...e}));D.displayName="BreathingBold";let $=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Breathing"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",d:"M15.1 13.5c1.103 0 1.991-.001 2.709.058.728.06 1.368.185 1.96.487a5 5 0 0 1 2.186 2.185c.302.593.428 1.233.487 1.961.059.718.058 1.606.058 2.71 0 .092 0 .138-.003.177a1 1 0 0 1-.919.92C21.54 22 21.493 22 21.4 22H8.6c-.093 0-.14 0-.178-.003a1 1 0 0 1-.92-.919C7.5 21.04 7.5 20.993 7.5 20.9c0-1.103-.001-1.991.058-2.709.06-.728.185-1.368.487-1.96a5 5 0 0 1 2.185-2.186c.593-.302 1.233-.428 1.961-.487.718-.059 1.606-.058 2.71-.058zM8 8a1 1 0 0 1 0 2H4.5a.5.5 0 0 0-.5.5v.5a1 1 0 1 1-2 0v-.5A2.5 2.5 0 0 1 4.5 8zM15 2a5 5 0 1 1 0 10 5 5 0 0 1 0-10M3 3a1 1 0 0 1 1 1v.5a.5.5 0 0 0 .5.5H8a1 1 0 0 1 0 2H4.5A2.5 2.5 0 0 1 2 4.5V4a1 1 0 0 1 1-1"})]})),K=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:$,...e}));K.displayName="BreathingBoldFilled";let G=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Virus"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",d:"M12.75 14a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5M8.75 11.5a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5M12 11a1 1 0 1 1 0 2 1 1 0 0 1 0-2M15.25 10a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5M11.25 7.5a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5"}),(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.5 1.5a1 1 0 1 1 0 2H13v1.067a7.46 7.46 0 0 1 3.547 1.47l.757-.755-.354-.353a1 1 0 1 1 1.414-1.414l2.121 2.12a1 1 0 0 1-1.414 1.415l-.353-.354-.756.756A7.46 7.46 0 0 1 19.432 11H20.5v-.5a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0V13h-1.068a7.46 7.46 0 0 1-1.47 3.547l.756.757.353-.354a1 1 0 1 1 1.414 1.414l-2.12 2.121a1 1 0 0 1-1.415-1.414l.354-.353-.757-.756A7.46 7.46 0 0 1 13 19.432V20.5h.5a1 1 0 1 1 0 2h-3a1 1 0 1 1 0-2h.5v-1.068a7.46 7.46 0 0 1-3.548-1.47l-.756.756.354.353a1 1 0 1 1-1.414 1.414l-2.121-2.12a1 1 0 0 1 1.414-1.415l.353.354.755-.757A7.46 7.46 0 0 1 4.568 13H3.5v.5a1 1 0 1 1-2 0v-3a1 1 0 0 1 2 0v.5h1.068a7.46 7.46 0 0 1 1.47-3.548l-.756-.756-.353.354a1 1 0 1 1-1.414-1.414l2.12-2.121A1 1 0 0 1 7.05 4.929l-.354.353.756.755A7.46 7.46 0 0 1 11 4.567V3.5h-.5a1 1 0 0 1 0-2zm-1.5 5a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11",clipRule:"evenodd"})]})),q=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:G,...e}));q.displayName="FluBold";let W=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Virus"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.5 1.5a1 1 0 1 1 0 2H13v1.067a7.46 7.46 0 0 1 3.547 1.47l.757-.755-.354-.353a1 1 0 1 1 1.414-1.414l2.121 2.12a1 1 0 0 1-1.414 1.415l-.353-.354-.756.756A7.46 7.46 0 0 1 19.432 11H20.5v-.5a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0V13h-1.068a7.46 7.46 0 0 1-1.47 3.547l.756.757.353-.354a1 1 0 1 1 1.414 1.414l-2.12 2.121a1 1 0 0 1-1.415-1.414l.354-.353-.757-.756A7.46 7.46 0 0 1 13 19.432V20.5h.5a1 1 0 1 1 0 2h-3a1 1 0 1 1 0-2h.5v-1.068a7.46 7.46 0 0 1-3.548-1.47l-.756.756.354.353a1 1 0 1 1-1.414 1.414l-2.121-2.12a1 1 0 0 1 1.414-1.415l.353.354.755-.757A7.46 7.46 0 0 1 4.568 13H3.5v.5a1 1 0 1 1-2 0v-3a1 1 0 0 1 2 0v.5h1.068a7.46 7.46 0 0 1 1.47-3.548l-.756-.756-.353.354a1 1 0 1 1-1.414-1.414l2.12-2.121A1 1 0 0 1 7.05 4.929l-.354.353.756.755A7.46 7.46 0 0 1 11 4.567V3.5h-.5a1 1 0 0 1 0-2zm-.25 13a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5m-5-2.5a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5M12 11a1 1 0 1 0 0 2 1 1 0 0 0 0-2m3.75-1.5a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5m-5-2.5a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5",clipRule:"evenodd"})]})),Q=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:W,...e}));Q.displayName="FluBoldFilled";let Y=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Hurricane"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",d:"M4 11.5c0-4.926 3.82-7.286 7.19-8.388 1.712-.56 3.41-.836 4.67-.973a25 25 0 0 1 1.972-.137l.12-.002H18a1 1 0 0 1 .815 1.581l-1.962 2.745c.336.307.753.72 1.17 1.226C18.964 8.697 20 10.418 20 12.5c0 4.926-3.82 7.286-7.19 8.388-1.712.56-3.41.836-4.67.973a25 25 0 0 1-1.972.137l-.12.002H6a1 1 0 0 1-.814-1.581l1.96-2.746a12 12 0 0 1-1.168-1.225C5.036 15.303 4 13.582 4 11.5m10.918-4.187a1 1 0 0 1-.231-1.394l1.27-1.778c-1.162.132-2.66.386-4.147.872C8.68 6.036 6 7.926 6 11.5c0 1.418.714 2.697 1.521 3.677A10 10 0 0 0 8.968 16.6q.061.048.092.07l.02.015.001.002a1 1 0 0 1 .232 1.394l-1.27 1.777c1.161-.132 2.66-.385 4.147-.87C15.32 17.963 18 16.073 18 12.5c0-1.418-.714-2.697-1.521-3.677A10 10 0 0 0 15.032 7.4l-.092-.07-.02-.016z"})]})),J=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:Y,...e}));J.displayName="HurricaneBold";let X=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Hurricane"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",d:"M4 11.5c0-4.926 3.82-7.286 7.19-8.388 1.712-.56 3.41-.836 4.67-.973a25 25 0 0 1 1.972-.137l.12-.002H18a1 1 0 0 1 .815 1.581l-1.962 2.745c.336.307.753.72 1.17 1.226C18.964 8.697 20 10.418 20 12.5c0 4.926-3.82 7.286-7.19 8.388-1.712.56-3.41.836-4.67.973a25 25 0 0 1-1.972.137l-.12.002H6a1 1 0 0 1-.814-1.581l1.96-2.746a12 12 0 0 1-1.168-1.225C5.036 15.303 4 13.582 4 11.5"})]})),Z=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:X,...e}));Z.displayName="HurricaneBoldFilled";var ee=e.i(702957),el=e.i(489408);let ea=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Allergy"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M21 3.05c-.133 2.644-.8 4.637-1.783 6.126a8.23 8.23 0 0 1-3.488 2.983 9.9 9.9 0 0 1-3.729.86v6.044c2.101.257 3.941 1.315 5.019 2.867a1 1 0 0 1-1.643 1.14C14.547 21.876 12.933 21 11 21c-1.553 0-2.911.568-3.813 1.42a1 1 0 0 1-1.373-1.454c1.08-1.02 2.551-1.704 4.186-1.905v-6.015h-.033c-.673-.017-1.598-.121-2.525-.492-.94-.376-1.897-1.033-2.57-2.146-.672-1.11-1.005-2.578-.869-4.48L4.07 5H5c2.827 0 4.586.886 5.637 2.063a7.1 7.1 0 0 1 1.516-2.442C13.786 2.914 16.348 2 20 2h1.052zM5.978 7.045c.04 1.06.286 1.804.603 2.328.405.668.979 1.074 1.602 1.323.627.251 1.29.334 1.816.349V11l.006-.379a3.84 3.84 0 0 0-.444-1.64c-.426-.775-1.355-1.721-3.583-1.936m12.929-3.012c-2.687.164-4.32.937-5.31 1.97-1.06 1.109-1.541 2.682-1.593 4.637q.004.083.004.152 0 .13-.006.208l-.002.015c.082-.004.168-.005.258-.012a7.9 7.9 0 0 0 2.638-.662 6.23 6.23 0 0 0 2.652-2.267c.63-.953 1.14-2.256 1.359-4.04",clipRule:"evenodd"})]})),et=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:ea,...e}));et.displayName="PollenBold";let er=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Allergy"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M21 3.05c-.133 2.644-.8 4.637-1.783 6.126a8.23 8.23 0 0 1-3.488 2.983 9.9 9.9 0 0 1-3.729.86v6.044c2.101.257 3.941 1.315 5.019 2.867a1 1 0 0 1-1.643 1.14C14.547 21.876 12.933 21 11 21c-1.553 0-2.911.568-3.813 1.42a1 1 0 0 1-1.373-1.454c1.08-1.02 2.551-1.704 4.186-1.905v-6.015h-.033c-.673-.017-1.598-.121-2.525-.492-.94-.376-1.897-1.033-2.57-2.146-.672-1.11-1.005-2.578-.869-4.48L4.07 5H5c2.827 0 4.586.886 5.637 2.063a7.1 7.1 0 0 1 1.516-2.442C13.786 2.914 16.348 2 20 2h1.052z",clipRule:"evenodd"})]})),ei=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:er,...e}));ei.displayName="PollenBoldFilled";let en=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Storm"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",d:"M11.124 11.519a1 1 0 1 1 1.752.962L10.94 16h4.77l-3.089 5.49a1 1 0 1 1-1.742-.98L12.29 18H7.559z"}),(0,l.jsx)("path",{fill:"currentColor",d:"M12 2.5a7 7 0 0 1 6.626 4.747 5.5 5.5 0 0 1-.404 10.616 1 1 0 0 1-.444-1.95 3.5 3.5 0 0 0-.133-6.853l-.635-.118-.154-.629a5 5 0 0 0-9.713 0l-.154.628-.635.12a3.5 3.5 0 0 0-.909 6.576 1 1 0 0 1-.89 1.79 5.5 5.5 0 0 1 .817-10.18A7 7 0 0 1 12 2.5"})]})),es=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:en,...e}));es.displayName="ThunderstormsBold";let eo=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Storm"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",d:"M11.124 11.519a1 1 0 1 1 1.752.962L10.94 16h4.77l-3.089 5.49a1 1 0 1 1-1.742-.98L12.29 18H7.559z"}),(0,l.jsx)("path",{fill:"currentColor",d:"M12 2a7 7 0 0 1 6.626 4.747 5.5 5.5 0 0 1-1.464 10.748l1.129-2.005A1 1 0 0 0 17.42 14h-3.097l.305-.555A3 3 0 0 0 9.45 10.42l-.077.134-3.728 6.776a5.5 5.5 0 0 1-.271-10.584A7 7 0 0 1 12 2"})]})),ed=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:eo,...e}));ed.displayName="ThunderstormsBoldFilled";let ec=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Tornado"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",d:"M13 19a1 1 0 1 1 0 2h-3a1 1 0 1 1 0-2zM12 16a1 1 0 1 1 0 2H8a1 1 0 1 1 0-2zM13 13a1 1 0 1 1 0 2H5.5a1 1 0 1 1 0-2zM14 10a1 1 0 1 1 0 2H6a1 1 0 1 1 0-2zM17 7a1 1 0 1 1 0 2H4.5a1 1 0 0 1 0-2zM19 4a1 1 0 1 1 0 2H6a1 1 0 0 1 0-2z"})]})),eu=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:ec,...e}));eu.displayName="TornadoBold";let ex=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Tornado"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",d:"M12.5 18.5a1.5 1.5 0 0 1 0 3h-2a1.5 1.5 0 0 1 0-3h-2a1.5 1.5 0 0 1 0-3H6a1.5 1.5 0 0 1 0-3h.5a1.5 1.5 0 0 1 0-3H5a1.5 1.5 0 1 1 0-3h1.5a1.5 1.5 0 1 1 0-3h12a1.5 1.5 0 0 1 0 3h-2a1.5 1.5 0 0 1 0 3h-3a1.5 1.5 0 0 1 0 3h-1a1.5 1.5 0 0 1 0 3h-1a1.5 1.5 0 0 1 0 3z"})]})),ef=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:ex,...e}));ef.displayName="TornadoBoldFilled";let eh={VideoPlayerBold:h.VideoPlayerBold,VideoPlayerBoldActive:m.VideoPlayerBoldFilled,PlaylistVideoBold:N,PlaylistVideoBoldActive:R,RadarBold:k.RadarBold,RadarBoldActive:P.RadarBoldFilled,HomeBold:b,HomeBoldActive:j,CalendarBold:M,CalendarBoldActive:T,TimeBold:V,TimeBoldActive:H,SkincareBold:z.SkincareBold,SkincareBoldActive:O.SkincareBoldFilled,BreathingBold:D,BreathingBoldActive:K,FluBold:q,FluBoldActive:Q,HurricaneBold:J,HurricaneBoldActive:Z,PartlyCloudyBold:ee.PartlyCloudyBold,PartlyCloudyBoldActive:el.PartlyCloudyBoldFilled,PollenBold:et,PollenBoldActive:ei,ThunderstormsBold:es,ThunderstormsBoldActive:ed,TornadoBold:eu,TornadoBoldActive:ef,Compass:A,CompassActive:L},em=[{titleTranslationKey:"home",url:i.URLS.home,includeLocales:["en-US","es-US","de-DE"],icon:"HomeBold"},{url:i.URLS.today,titleTranslationKey:"today",icon:"PartlyCloudyBold"},{url:i.URLS.hourly,titleTranslationKey:"hourly",icon:"TimeBold"},{url:i.URLS.tenday,titleTranslationKey:"tenday",excludePartners:["oppo_widget"],icon:"CalendarBold"},{url:i.URLS.tenday,titleTranslationKey:"fifteenday",includePartners:["oppo_widget"],icon:"CalendarBold"},{url:i.URLS.radar,titleTranslationKey:"radar",excludePartners:["samsungVietnam"],icon:"RadarBold"},{dynamicVideoUrl:!0,title:"Video",includeLocales:["en-US","es-US"],icon:"VideoPlayerBold"},{url:i.URLS.allergy,titleTranslationKey:"allergyTracker",excludeLocales:["de-DE","en-US"],icon:"PollenBold"},{url:i.URLS.airQuality,titleTranslationKey:"airQualityIndex",excludeLocales:["de-DE","en-US"],icon:"BreathingBold"},{title:"Explore",url:i.URLS.explore,includeLocales:["en-US"],showNewBadge:17723196e5>Date.now(),icon:"Compass",includeGeoIP:["US"]},{title:"Severe Weather",includeLocales:["en-US"],includePartners:["samsung"],links:[{url:i.URLS.hurricaneCentral,title:"Hurricane Central",icon:"HurricaneBold"},{url:i.URLS.tornadoCentral,title:"Tornado Central",icon:"TornadoBold"},{url:i.URLS.safetyIndex,title:"Safety & Prep",icon:"ThunderstormsBold"}]},{title:"Health & Wellness",includeLocales:["en-US"],includePartners:["samsung"],links:[{url:i.URLS.allergy,titleTranslationKey:"allergyTracker",icon:"PollenBold"},{url:i.URLS.airQuality,titleTranslationKey:"airQualityIndex",icon:"BreathingBold"},{url:i.URLS.coldFlu,title:"Cold & Flu Tracker",icon:"FluBold"},{url:i.URLS.skinHealth,title:"Skin Health",icon:"PlaylistVideoBold"}]},{title:"Lifestyle",includeLocales:["en-US"],includePartners:["samsung"],links:[{url:i.URLS.homeGarden,title:"Home & Garden",icon:"PlaylistVideoBold"},{url:i.URLS.pets,title:"Pets & Animals",icon:"PlaylistVideoBold"},{url:i.URLS.recipes,title:"Recipes",icon:"PlaylistVideoBold"},{url:i.URLS.spaceSkywatching,title:"Space & Skywatching",icon:"PlaylistVideoBold"},{url:i.URLS.travel,title:"Travel & Outdoors",icon:"PlaylistVideoBold"},{url:i.URLS.atmosphere,title:"Product Reviews & Deals",icon:"SkincareBold"},{url:i.URLS.shop,title:"Shop",openInNewWindow:!0,icon:"SkincareBold"}]}];var ep=e.i(316810),ev=e.i(436066);let eg=({link:e,role:t,forceCollapsedNavbar:r})=>{let i=(0,s.useAtomValue)(ev.sidebarMoreOpenAtom),n=e.isActive&&!i,o=eh[`${e.icon}${n?"Active":""}`];return(0,l.jsx)("li",{children:(0,l.jsxs)(c.default,{href:e.url||"",className:(0,a.cn)("group relative box-border flex h-14 cursor-pointer flex-col items-center justify-center rounded-2xl px-3 font-semibold text-gray-900 no-underline transition-colors duration-200 hover:bg-gray-100 focus:bg-gray-100 focus:outline-none",{"xl:h-12 xl:flex-row xl:justify-start":!r,"pointer-events-none bg-gray-100 font-bold text-blue-500":n}),role:t,sourceModule:"sidebarNavigation",children:[(0,l.jsx)(o,{className:(0,a.cn)("w-6 shrink-0 text-inherit",{"xl:mr-3":!r})}),(0,l.jsx)(f.default,{className:(0,a.cn)("text-xxs mt-1 h-[13px] font-semibold text-inherit",{"font-bold":n,"xl:mt-0 xl:h-auto xl:text-sm xl:leading-none":!r}),lineClamp:1,children:e.title}),e.showNewBadge&&(0,l.jsx)(ep.default,{className:(0,a.cn)("transition duration-200 group-hover:border-gray-100 group-focus:border-gray-100","absolute top-0 right-0",{"xl:static":!r,"border-gray-100":n})})]})},e.title)};var eb=e.i(25681),ew=e.i(941497),ej=e.i(537989),ey=e.i(381477),eN=e.i(445899),eC=e.i(959194),eR=e.i(427309);let eB=({navigationData:e,locale:l,geoIPCountry:a,partner:t,theme:r,videoUrl:n,pathname:s,locId:o,pageId:d,tSidebarNavigation:c})=>e.reduce((e,u)=>{if("links"in u){let i=eB({navigationData:u.links,locale:l,geoIPCountry:a,partner:t,theme:r,videoUrl:n,pathname:s,locId:o,pageId:d,tSidebarNavigation:c});e.push({title:u.title,links:i})}else{let a;if(!(a=u.dynamicVideoUrl?n:(0,i.interpolateUrl)(u.url,{locId:o,locale:l})))return e;let t=u.titleTranslationKey?c(u.titleTranslationKey):u.title,r=u.dynamicVideoUrl?"video"===d:s===a;e.push({title:t,url:a,icon:u.icon,showNewBadge:u.showNewBadge,...r&&{isActive:r}})}return e},[]),eA=({filteredPropName:e,filteredPropValue:l})=>a=>!(a[`exclude${e}`]&&a[`exclude${e}`].includes(l))&&(!a[`include${e}`]||!!a[`include${e}`].includes(l));var eS=e.i(995113),eL=e.i(47524),ek=e.i(598513),eP=e.i(513513),eU=e.i(889753),eM=e.i(837879);let eI=({forceCollapsedNavbar:e})=>{let t=(0,s.useAtomValue)(eU.userTierAtom),r=(0,eP.isUserTierPremium)(t),i=(0,ek.useSendInteractionEvent)(),n=(0,eM.useSubscriptionsEnabled)();return r||!n?null:(0,l.jsx)("li",{children:(0,l.jsxs)(c.default,{href:"/subscribe/checkout?products=e251f39b-afd7-4ad9-9c87-5e2a8ed63fbb&tpcc=mktg-leftrail-menu-upgrade",style:{background:"linear-gradient(90deg, #3A61CC 0%, #6549D4 50%, #935EC3 100%)"},onClick:()=>i({interactionElement:"sidebar-nav-go-to-checkout-button",interactionType:"click",moduleId:"SidebarNavigation"}),className:(0,a.cn)("group relative flex h-14 flex-col items-center justify-center overflow-hidden rounded-2xl px-3 font-semibold text-white no-underline focus:outline-none",{"xl:h-12 xl:flex-row xl:justify-start":!e}),sourceModule:"sidebarNavigation",children:[(0,l.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,l.jsx)(eS.LightningFilled,{className:(0,a.cn)("relative z-2 w-6 shrink-0 text-white",{"xl:mr-3":!e})}),(0,l.jsxs)(f.default,{className:(0,a.cn)("text-xxs relative z-2 mt-1 h-[13px] font-semibold whitespace-nowrap text-white",{"xl:mt-0 xl:h-auto xl:text-sm xl:leading-none":!e}),lineClamp:1,children:[(0,l.jsx)("span",{className:(0,a.cn)("hidden",{"xl:contents":!e}),children:"Get Premium"}),(0,l.jsx)("span",{className:(0,a.cn)("contents xl:hidden",{"xl:contents":e}),children:"Upgrade"})]}),(0,l.jsx)(eL.ChevronRight,{className:(0,a.cn)("relative z-2 ml-auto hidden w-4 shrink-0 text-white",{"xl:block":!e})})]})})},eT=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Overflow Menu Horizontal"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("g",{fill:"currentColor",children:(0,l.jsx)("path",{d:"M4 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2M8 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2M12 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2"})})]})),eE=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:eT,...e}));eE.displayName="OverflowMenuHorizontal";let eV=({forceCollapsedNavbar:e})=>{let t=(0,r.useTranslations)("SidebarNavigation"),[i,n]=(0,s.useAtom)(ev.sidebarMoreOpenAtom);return(0,l.jsx)("li",{children:(0,l.jsxs)("button",{type:"button","data-settings-menu-trigger":!0,"aria-haspopup":"menu","aria-expanded":i,onClick:()=>n(e=>!e),className:(0,a.cn)("group relative box-border flex h-14 w-full cursor-pointer flex-col items-center justify-center rounded-2xl bg-transparent px-3 font-semibold text-gray-900 no-underline transition-colors duration-200 hover:bg-gray-100 focus-visible:bg-gray-100 focus-visible:outline-none",{"xl:h-12 xl:flex-row xl:justify-start":!e,"bg-gray-100 font-bold text-blue-500":i}),children:[(0,l.jsx)(eE,{className:(0,a.cn)("w-6 shrink-0 text-inherit",{"xl:mr-3":!e})}),(0,l.jsx)(f.default,{className:(0,a.cn)("text-xxs mt-1 h-[13px] font-semibold text-inherit",{"font-bold":i,"xl:mt-0 xl:h-auto xl:text-sm xl:leading-none":!e}),lineClamp:1,children:t("more")})]})})};var e_=e.i(820241),eH=e.i(553329),ez=e.i(710746);let eO=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"temperature"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsxs)("g",{fill:"currentColor",children:[(0,l.jsx)("path",{fillRule:"evenodd",d:"M6.5 8.63V3a2 2 0 1 0-4 0v5.63a3.5 3.5 0 1 0 4 0M4.5 2a1 1 0 0 1 1 1v3.5h-2V3a1 1 0 0 1 1-1m0 12a2.5 2.5 0 0 1-1.25-4.665l.25-.14V7.5h2v1.695l.25.14A2.5 2.5 0 0 1 4.5 14",clipRule:"evenodd"}),(0,l.jsx)("path",{d:"M9.938 2.466a.5.5 0 0 1 .5-.5h4.087a.5.5 0 0 1 0 1h-4.087a.5.5 0 0 1-.5-.5M10.438 4.996a.5.5 0 1 0 0 1h2.63a.5.5 0 0 0 0-1zM9.938 11.509a.5.5 0 0 1 .5-.5h2.63a.5.5 0 0 1 0 1h-2.63a.5.5 0 0 1-.5-.5M10.438 8.002a.5.5 0 1 0 0 1h4.087a.5.5 0 0 0 0-1z"})]})]})),eF=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:eO,...e}));eF.displayName="Temperature";let eD=(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"}]]);var e$=e.i(617874),eK=e.i(166763),eG=e.i(314552),eq=e.i(674885),eW=e.i(776169),eQ=e.i(523084),eY=e.i(274432);let eJ=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Checkmark"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.207 3.793a1 1 0 0 1 0 1.414L7.384 12.03a1.25 1.25 0 0 1-1.768 0L1.793 8.207a1 1 0 0 1 1.414-1.414L6.5 10.086l6.293-6.293a1 1 0 0 1 1.414 0",clipRule:"evenodd"})]})),eX=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:eJ,...e}));function eZ({locale:e,LOCALE_DATA:t,handleLocaleChange:i,onBack:n,onClose:s}){let o=(0,r.useTranslations)("SidebarNavigation"),[d,c]=(0,p.useState)(""),u=(0,p.useMemo)(()=>{let l=t.flatMap(e=>e.countries),a=e.toLowerCase(),r=l.find(e=>e.locale.toLowerCase()===a),i=l.filter(e=>e.locale.toLowerCase()!==a).sort((e,l)=>{let a=e.name.localeCompare(l.name);return 0!==a?a:e.language.localeCompare(l.language)});return r?[r,...i]:i},[t,e]),x=(0,p.useMemo)(()=>{let e=d.trim().toLowerCase();return e?u.filter(l=>l.name.toLowerCase().includes(e)||l.language.toLowerCase().includes(e)):u},[d,u]),h=e.toLowerCase();return(0,l.jsxs)("div",{className:"flex h-full flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between px-5 pt-5 pb-3",children:[(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)("button",{type:"button",onClick:n,"aria-label":o("back"),className:"flex h-8 w-8 cursor-pointer items-center justify-center rounded-full bg-transparent text-gray-900 transition-colors hover:bg-gray-100 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none",children:(0,l.jsx)(eQ.ChevronLeft,{className:"h-4 w-4 rtl:rotate-180"})}),(0,l.jsx)(f.default,{elementType:"h2",variant:"Title.S",className:"text-gray-900",children:o("locationAndLanguage")})]}),(0,l.jsx)("button",{type:"button",onClick:s,"aria-label":o("close"),className:"flex h-8 w-8 cursor-pointer items-center justify-center rounded-full bg-gray-100 text-gray-900 transition-colors hover:bg-gray-200 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none",children:(0,l.jsx)(ez.Close,{className:"h-4 w-4"})})]}),(0,l.jsx)("div",{className:"px-5 pt-2 pb-4",children:(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("input",{type:"text",value:d,onChange:e=>c(e.target.value),placeholder:o("searchCountriesOrLanguages"),"aria-label":o("searchCountriesOrLanguages"),className:"relative box-border h-12 w-full rounded-3xl border-2 border-transparent bg-white ps-9.5 pr-4 text-sm text-gray-900 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),0_0_32px_0_rgba(0,0,0,0.12)] transition-all placeholder:text-gray-900 placeholder:transition-all hover:border-blue-500 focus:outline-none focus:placeholder:text-gray-400 focus-visible:border-blue-500"}),(0,l.jsx)(eY.Search,{className:"pointer-events-none absolute start-4 top-1/2 size-4 -translate-y-1/2 text-gray-900","aria-hidden":"true"})]})}),(0,l.jsxs)("div",{className:"flex flex-1 flex-col gap-1 overflow-y-auto px-2 py-1",children:[0===x.length&&(0,l.jsx)("div",{className:"px-5 py-8 text-center",children:(0,l.jsx)(f.default,{className:"text-[13px] text-stone-600",children:o("noMatchingCountriesOrLanguages")})}),x.map(e=>{let t=e.locale.toLowerCase()===h;return(0,l.jsxs)("button",{type:"button",onClick:()=>i(e.locale),"aria-pressed":t,className:(0,a.cn)("flex w-full cursor-pointer items-center justify-between gap-3 rounded-2xl px-3 py-3 text-left text-sm leading-loose tracking-tight transition-colors","focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none",t?"bg-gray-100 font-bold text-blue-500":"font-medium hover:bg-gray-100 focus-visible:bg-gray-100 active:bg-gray-200"),children:[(0,l.jsxs)("span",{children:[(0,l.jsx)("span",{className:t?"":"text-gray-900",children:e.name}),(0,l.jsx)("span",{className:(0,a.cn)("mx-1.5",!t&&"text-stone-600"),children:"·"}),(0,l.jsx)("span",{className:t?"":"text-gray-600",children:e.language})]}),t&&(0,l.jsx)(eX,{className:"h-4 w-4 shrink-0 text-blue-500","aria-hidden":"true"})]},e.locale)})]})]})}eX.displayName="Checkmark";let e0=new Set(["article","video","index"]);function e1(){let e=(0,r.useTranslations)("SidebarNavigation"),t=(0,s.useAtomValue)(ev.sidebarMoreOpenAtom),n=(0,s.useSetAtom)(ev.sidebarMoreOpenAtom),o=(0,s.useAtomValue)(eq.isImperialUnitsAtom),d=(0,s.useAtomValue)(eq.isMetricUnitsAtom),c=(0,s.useAtomValue)(eq.isHybridUnitsAtom),u=(0,eb.useParams)(),x=u?.locale||eG.defaultLocale,h=u?.locId,m=(0,s.useAtomValue)(ej.pageIdAtom),{updatePreferences:v}=(0,eW.usePreferences)(),g=(0,s.useAtomValue)(eU.userPreferencesAtom),b=(0,p.useRef)(null),[w,j]=(0,p.useState)(!1),[y,N]=(0,p.useState)(t),[C,R]=(0,p.useState)(!1),B=(0,p.useCallback)(()=>n(!1),[n]);(0,p.useEffect)(()=>{let e=(0,e_.getCookie)("unitOfMeasurement")?.toString();if(!e)return;let l=(0,e$.unitsSystemByCode)(e),a=l?.name;a&&a!==g?.unit&&v({unit:a})},[v,g?.unit]);let A=async e=>{let{error:l}=await (0,eH.tryCatch)(v({unit:e}));l&&console.error("Failed to update unit preference:",l)},S=async e=>{let l=(0,eK.convertLocaleFormat)(e),{error:a}=await (0,eH.tryCatch)(v({locale:l}));if(a)return void console.error("Failed to update locale preference:",a);if((0,e_.setCookie)("sitePref",e,{domain:`.${window.location.hostname}`}),B(),m&&e0.has(m)){window.location.href=e===eG.defaultLocale?"/":`/${e}`;return}let t=m?i.URLS[m]:void 0,r=t&&h?(0,i.interpolateUrl)(t,{locale:e,locId:h}):null;if(r){window.location.href=r;return}let n=x!==eG.defaultLocale&&window.location.pathname.startsWith(`/${x}`)?window.location.pathname.slice(`/${x}`.length)||"/":window.location.pathname;window.location.href=e===eG.defaultLocale?n:`/${e}${n}`};if((0,p.useEffect)(()=>{if(t){N(!0);let e=0,l=requestAnimationFrame(()=>{e=requestAnimationFrame(()=>R(!0))});return()=>{cancelAnimationFrame(l),e&&cancelAnimationFrame(e)}}R(!1);let e=setTimeout(()=>{N(!1),j(!1)},150);return()=>clearTimeout(e)},[t]),(0,p.useEffect)(()=>{if(!t)return;let e=e=>{"Escape"===e.key&&(w?j(!1):B())};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[t,w,B]),(0,p.useEffect)(()=>{if(t)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e);function e(e){let l=e.target;b.current&&l&&!b.current.contains(l)&&!l.closest("[data-settings-menu-trigger]")&&B()}},[t,B]),!y)return null;let L=eK.LOCALE_DATA.flatMap(e=>e.countries).find(e=>e.locale.toLowerCase()===x.toLowerCase()),k=[{id:e$.UNIT_IMPERIAL,label:"°F",active:o,caption:e("unitsImperialCaption")},{id:e$.UNIT_METRIC,label:"°C",active:d,caption:e("unitsMetricCaption")},{id:e$.UNIT_HYBRID,label:"Hybrid",active:c,caption:e("unitsHybridCaption")}];return(0,l.jsx)("div",{ref:b,role:"dialog","aria-label":e(w?"locationAndLanguage":"more"),className:(0,a.cn)("absolute top-0 bottom-0 z-105 flex w-[340px] flex-col bg-white","border-s border-black/10","shadow-[8px_0_30px_rgba(0,0,0,0.08)] rtl:shadow-[-8px_0_30px_rgba(0,0,0,0.08)]","left-full","transition-[opacity,translate] duration-150 ease-out",C?"translate-x-0 opacity-100":"pointer-events-none -translate-x-6 opacity-0 rtl:translate-x-6"),children:w?(0,l.jsx)(eZ,{locale:x,LOCALE_DATA:eK.LOCALE_DATA,handleLocaleChange:S,onBack:()=>j(!1),onClose:B}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex items-center justify-between px-5 pt-5 pb-2",children:[(0,l.jsx)(f.default,{elementType:"h2",variant:"Title.S",className:"text-gray-900",children:e("more")}),(0,l.jsx)("button",{type:"button",onClick:B,"aria-label":e("close"),className:"flex h-8 w-8 cursor-pointer items-center justify-center rounded-full bg-gray-100 text-gray-900 transition-colors hover:bg-gray-200 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none",children:(0,l.jsx)(ez.Close,{className:"h-4 w-4"})})]}),(0,l.jsx)("div",{className:"px-5 pt-3 pb-1",children:(0,l.jsx)(f.default,{className:"text-[11px] font-bold tracking-[0.06em] text-stone-600 uppercase",children:e("settings")})}),(0,l.jsxs)("div",{className:"mx-2.5 flex h-16 items-center justify-between gap-3 px-3",children:[(0,l.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-2.5",children:[(0,l.jsx)(eF,{className:"h-5 w-5 shrink-0 text-gray-600","aria-hidden":"true"}),(0,l.jsx)(f.default,{className:"truncate text-[15px] font-medium text-gray-900",children:e("units")})]}),(0,l.jsx)("div",{role:"radiogroup","aria-label":e("units"),className:"flex shrink-0 gap-0.5 rounded-full bg-gray-100 p-1",children:k.map((e,t)=>{let r=0===t?"start-0":t===k.length-1?"end-0":"start-1/2 -translate-x-1/2 rtl:translate-x-1/2";return(0,l.jsxs)("button",{type:"button",role:"radio","aria-checked":e.active,title:e.caption,onClick:()=>A(e.id),className:(0,a.cn)("group/opt relative cursor-pointer rounded-full px-2.5 py-1 text-[12px] transition-all duration-200","focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none",e.active?"bg-gray-900 font-semibold text-white":"font-medium text-gray-600 hover:bg-black/5 hover:text-gray-900"),children:[e.label,(0,l.jsx)("span",{role:"tooltip",className:(0,a.cn)("pointer-events-none absolute top-full z-10 mt-2 w-max max-w-[260px] rounded-md bg-gray-900 px-2.5 py-1.5 text-[12px] font-medium whitespace-normal text-white opacity-0 shadow-md transition-opacity duration-150","group-hover/opt:opacity-100 group-focus-visible/opt:opacity-100",r),children:e.caption})]},e.id)})})]}),(0,l.jsxs)("button",{type:"button",onClick:()=>j(!0),"aria-label":e("locationAndLanguage"),className:"mx-2.5 mt-1 flex h-16 cursor-pointer items-center justify-between gap-3 rounded-2xl px-3 text-left transition-colors hover:bg-gray-100 focus-visible:bg-gray-100 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,l.jsx)(eD,{className:"h-5 w-5 shrink-0 text-gray-600",strokeWidth:1.75,"aria-hidden":"true"}),(0,l.jsx)(f.default,{className:"text-[15px] font-medium text-gray-900",children:L?`${L.name} \xb7 ${L.language}`:e("locationAndLanguage")})]}),(0,l.jsx)(eL.ChevronRight,{className:"h-4 w-4 shrink-0 text-stone-600 rtl:rotate-180","aria-hidden":"true"})]})]})})}let e2=(0,p.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"User Avatar"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsxs)("g",{fill:"currentColor",children:[(0,l.jsx)("path",{d:"M8 4a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"}),(0,l.jsx)("path",{d:"M8 1a7 7 0 1 0 7 7 7.01 7.01 0 0 0-7-7M5 13.188V12.5A1.5 1.5 0 0 1 6.5 11h3a1.5 1.5 0 0 1 1.5 1.5v.688a5.95 5.95 0 0 1-6 0m6.996-.725A2.5 2.5 0 0 0 9.5 10h-3a2.5 2.5 0 0 0-2.496 2.463 6 6 0 1 1 7.992 0"})]})]})),e5=p.default.forwardRef((e,a)=>(0,l.jsx)(v.BaseIcon,{ref:a,icon:e2,...e}));function e4({firstName:e,isPremium:t,isAdFree:r}){let i=e?.charAt(0)?.toUpperCase();return(0,l.jsxs)("div",{className:(0,a.cn)("relative flex h-8 w-8 items-center justify-center rounded-full border-1 border-gray-900 md:h-12 md:w-12"),children:[(0,l.jsx)("span",{className:(0,a.cn)("text-sm font-bold text-gray-900 md:text-base",{"translate-y-[-2.5px] md:translate-y-[-3px]":t}),children:i}),t&&(0,l.jsx)("span",{className:(0,a.cn)("absolute bottom-[-1px] left-[-1px] h-[9px] w-8 bg-white text-[6.25px] uppercase md:h-[13px] md:w-12 md:text-[10px]"),children:r?"Ad Free":"Premium"})]})}e5.displayName="UserAvatar";var e3=e.i(809058),e7=e.i(877957),e6=e.i(528600),e8=e.i(731672);let e9=({forceCollapsedNavbar:e})=>{let{user:n,userProfile:s}=(0,e6.useUser)(),{isUserLoggedIn:o,isUserPremium:d,isUserAdFree:u}=n,x=(0,e8.useUserLogout)(),h=(0,eM.useSubscriptionsEnabled)(),m=(0,r.useTranslations)("SidebarNavigation"),v=(0,r.useTranslations)("UserRegistration"),g=(0,t.useLocale)(),[b,w]=(0,p.useState)(!1);return o?(0,l.jsx)("li",{children:(0,l.jsxs)(e3.Popover,{open:b,onOpenChange:w,children:[(0,l.jsx)(e3.PopoverTrigger,{asChild:!0,children:(0,l.jsxs)("button",{type:"button","aria-haspopup":"dialog","aria-expanded":b,"data-testid":"sidebar-profile-button",className:(0,a.cn)("group relative box-border flex h-14 w-full cursor-pointer flex-col items-center justify-center rounded-2xl bg-transparent px-3 font-semibold text-gray-900 no-underline transition-colors duration-200 hover:bg-gray-100 focus-visible:bg-gray-100 focus-visible:outline-none",{"xl:h-12 xl:flex-row xl:justify-start":!e,"bg-gray-100 font-bold text-blue-500":b}),children:[(0,l.jsx)("span",{"aria-hidden":"true",className:(0,a.cn)("flex size-5 shrink-0 items-center justify-center rounded-full border-2 border-current text-[10px] leading-none font-bold text-inherit",{"xl:mr-3":!e}),children:s?.firstName?.charAt(0)?.toUpperCase()}),(0,l.jsx)(f.default,{className:(0,a.cn)("text-xxs mt-1 h-[13px] font-semibold text-inherit",{"font-bold":b,"xl:mt-0 xl:h-auto xl:text-sm xl:leading-none":!e}),lineClamp:1,children:m("myAccount")})]})}),(0,l.jsx)(e3.PopoverContent,{side:"right",align:"end",className:"z-9996 p-0",showArrow:!1,children:(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)(c.default,{href:(0,i.interpolateUrl)(i.URLS.memberSettings,{locale:g}),"data-testid":"sidebar-profile-account",children:(0,l.jsxs)("div",{className:"flex items-center gap-3 p-4",children:[(0,l.jsx)(e4,{firstName:s?.firstName,isPremium:d,isAdFree:u}),(0,l.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,l.jsx)(f.default,{variant:"Body.S",children:s?.firstName}),(0,l.jsx)(f.default,{className:"text-sm text-gray-500 hover:text-gray-700",children:v("manageAccount")})]})]})}),!d&&h&&(0,l.jsxs)("div",{className:"flex flex-col gap-3 border-t border-gray-200 p-4",children:[(0,l.jsx)(f.default,{variant:"Body.L",className:"font-semibold",children:"Unlock our full potential"}),(0,l.jsx)(f.default,{children:"Try our best radar and forecasting features for weather planning."}),(0,l.jsx)(c.default,{href:"/subscribe?tpcc=mktg-today-mainmenu-flyout",children:(0,l.jsx)(e7.Button,{variant:"default",children:"Go Premium"})})]})]}),(0,l.jsx)("div",{className:"border-t border-gray-200 p-2",children:(0,l.jsx)(e7.Button,{variant:"link",onClick:x,"data-testid":"sidebar-profile-signout",children:v("signOut")})})]})})]})}):(0,l.jsx)("li",{children:(0,l.jsxs)(c.default,{href:(0,i.interpolateUrl)(i.URLS.memberLogin,{locale:g}),sourceModule:"sidebarNavigation",className:(0,a.cn)("group relative box-border flex h-14 cursor-pointer flex-col items-center justify-center rounded-2xl bg-gray-900 px-3 font-semibold text-white no-underline transition-opacity duration-200 hover:opacity-90 focus-visible:opacity-90 focus-visible:outline-none",{"xl:h-12 xl:flex-row xl:justify-start":!e}),children:[(0,l.jsx)(e5,{className:(0,a.cn)("w-6 shrink-0 text-white",{"xl:mr-3":!e})}),(0,l.jsx)(f.default,{className:(0,a.cn)("text-xxs mt-1 h-[13px] font-semibold text-white",{"xl:mt-0 xl:h-auto xl:text-sm xl:leading-none":!e}),lineClamp:1,children:v("logIn")})]})})};e.i(647872);var le=e.i(523579);let ll=({locationProvider:e})=>{let o=(e=>{let{location:l}=(0,ew.useProviderLocation)(e),a=l?.placeId||"",t=(0,eb.usePathname)(),i=(0,eb.useParams)(),o=(0,s.useAtomValue)(n.pageLocaleAtom),d=(0,s.useAtomValue)(ej.pageIdAtom),c=(0,s.useAtomValue)(eR.geoipCountry)||"",u=(0,eC.getPartner)(),x=(0,r.useTranslations)("SidebarNavigation"),{data:f}=(0,ey.default)(["navigation/getVideoLink",o],([e,l])=>(0,eN.getVideoLink)(l),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),h=i.canonicalLocation,m=h&&h.length>0?t.substring(0,t.lastIndexOf("/")):void 0;return(0,p.useMemo)(()=>{var e,l,r,i,n,s;let h,p,v,g,b,w=(({navigationData:e,locale:l,geoIPCountry:a,partner:t,theme:r,videoUrl:i,pathname:n,locId:s,pageId:o,tSidebarNavigation:d})=>{let c=e.filter(eA({filteredPropName:"Locales",filteredPropValue:l})).filter(eA({filteredPropName:"Partners",filteredPropValue:t})).filter(eA({filteredPropName:"Themes",filteredPropValue:r})).filter(eA({filteredPropName:"GeoIP",filteredPropValue:a})).map(e=>"links"in e?{...e,links:e.links.filter(eA({filteredPropName:"Locales",filteredPropValue:l})).filter(eA({filteredPropName:"Partners",filteredPropValue:t})).filter(eA({filteredPropName:"Themes",filteredPropValue:r})).filter(eA({filteredPropName:"GeoIP",filteredPropValue:a}))}:e);return eB({navigationData:c=c.filter(e=>!("links"in e)||e.links.length>0),locale:l,geoIPCountry:a,partner:t,theme:r,videoUrl:i,pathname:n,locId:s,pageId:o,tSidebarNavigation:d})})({locId:a,pathname:t,videoUrl:f,navigationData:JSON.parse(JSON.stringify(em)),locale:o,pageId:d,geoIPCountry:c,partner:u,tSidebarNavigation:x,theme:""});return e=w,l=a,r=o,i=t,n=x,s=m,h=e.filter(e=>"links"in e||!e.title.match(/^(Today|Hourly|10 Day|Tenday)$/i)),p=s?`${s}/today`:"en-US"===r?`/weather/today/l/${l}`:`/${r}/weather/today/l/${l}`,v=s?["today","hourbyhour","tenday"].includes(i.split("/").pop()??""):i.includes("/weather/today/")||i.includes("/weather/hourbyhour/")||i.includes("/weather/tenday/"),g={title:n("forecast"),url:p,icon:"PartlyCloudyBold",isActive:v},b=h.findIndex(e=>!("links"in e)&&"HomeBold"===e.icon),h.splice(b>=0?b+1:0,0,g),w=h},[a,t,f,o,d,u,m])})(e),d=(0,eb.usePathname)().includes("/subscribe"),f=(0,s.useAtomValue)(le.retroWeatherAtom),h=(0,t.useLocale)(),m=f?"/retro":(0,i.interpolateUrl)(i.URLS.home,{locale:h}),v=(0,r.useTranslations)("SidebarNavigation");return(0,l.jsxs)("div",{className:"z-nav sticky top-0 hidden md:block",children:[(0,l.jsxs)("nav",{className:(0,a.cn)("relative top-0 box-content flex h-full h-screen w-20 flex-col gap-8 bg-white leading-none max-xl:items-center",{"xl:w-[200px]":!d}),"data-component":"sidebar-navigation","data-testid":"sidebar-navigation","aria-label":v("siteNavigationLinks"),children:[(0,l.jsxs)("div",{className:(0,a.cn)("mb-0 flex flex-wrap items-center justify-center gap-4 pt-4 leading-none xl:px-4",{"xl:justify-start":!d}),children:[(0,l.jsx)(c.default,{href:m,sourceModule:"sidebarNavigation",children:(0,l.jsx)(x.default,{className:"h-12 w-auto text-[#003399]",variant:"sidebar"})}),(0,l.jsx)(u,{})]}),(0,l.jsxs)("ul",{className:"m-0 flex w-full flex-col gap-1 px-3",children:[o.filter(e=>!e.links).map(e=>(0,l.jsx)(eg,{link:e,forceCollapsedNavbar:d},e.title)),(0,l.jsx)(eV,{forceCollapsedNavbar:d})]}),(0,l.jsxs)("ul",{className:"m-0 flex w-full flex-col gap-1 px-3",children:[(0,l.jsx)(e9,{forceCollapsedNavbar:d}),(0,l.jsx)(eI,{forceCollapsedNavbar:d})]})]}),(0,l.jsx)(e1,{})]})};e.s(["SidebarNavigation",0,ll,"default",0,ll],906361)},460581,e=>{"use strict";var l=e.i(648198),a=e.i(539922),t=e.i(240058),r=e.i(941497),i=e.i(747961);let n=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:r,...i},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[t?(0,l.jsx)("desc",{id:r,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"lightning"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.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"})]})),s=a.default.forwardRef((e,a)=>(0,l.jsx)(i.BaseIcon,{ref:a,icon:n,...e}));s.displayName="Lightning";var o=e.i(995113),d=e.i(702957),c=e.i(489408),u=e.i(113016),x=e.i(312401),f=e.i(807215),h=e.i(876329),m=e.i(632137),p=e.i(475566),v=e.i(827049),g=e.i(537989),b=e.i(381477),w=e.i(445899),j=e.i(427977),y=e.i(25681),N=e.i(874886),C=e.i(498076),R=e.i(547100),B=e.i(611540),A=e.i(528600),S=e.i(837879);e.s(["default",0,function({locationProvider:e}){let i=(0,C.useIsMobile)(),n=(0,y.usePathname)(),L=(0,N.useCanonicalBasePath)(),k=(0,p.useAtomValue)(g.pageIdAtom),P=(0,R.useTranslations)("SidebarNavigation"),{user:U}=(0,A.useUser)(),{isUserPremium:M}=U,I=(0,S.useSubscriptionsEnabled)(),{location:T,isLoading:E}=(0,r.useProviderLocation)(e),V=(0,p.useAtomValue)(v.pageLocaleAtom),{data:_}=(0,b.default)(["navigation/getVideoLink",V],([e,l])=>(0,w.getVideoLink)(l),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),{data:H}=(0,b.default)(["navigation/getQuickNav",V],()=>(0,j.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),z=(0,a.useMemo)(()=>{if(E||!T)return[];let e=T.placeId||"",a=L?`${L}/today`:(0,B.interpolateUrl)(B.URLS.today,{locale:V,locId:e}),t=(0,B.interpolateUrl)(B.URLS.radar,{locale:V,locId:e}),r=L?n.split("/").pop():null,i=L?N.CANONICAL_PAGE_TYPES.includes(r):n.includes("/weather/today/")||n.includes("/weather/hourbyhour/")||n.includes("/weather/tenday/")||n.includes("/weather/monthly/")||n.includes("/forecast/allergy/")||n.includes("/forecast/air-quality/")||n.includes("/forecast/cold-flu/"),m=n.includes("/weather/radar/")||n.includes("/weather/maps/"),p=n.includes("/subscribe"),v="video"===k,g=H?.videoLinkLocaleInclude?.["en-US"],b=g?.override?`?${g?.adRef}`:"",w=_?`${_}${b}`:"",j="h-6 w-6 text-inherit";return[{name:P("forecast"),href:a,icon:(0,l.jsx)(d.PartlyCloudyBold,{className:j}),activeIcon:(0,l.jsx)(c.PartlyCloudyBoldFilled,{className:j}),isActive:i},..._?[{name:P("video"),href:w,icon:(0,l.jsx)(u.VideoPlayerBold,{className:j}),activeIcon:(0,l.jsx)(x.VideoPlayerBoldFilled,{className:j}),isActive:v}]:[],{name:P("radar"),href:t,icon:(0,l.jsx)(f.RadarBold,{className:j}),activeIcon:(0,l.jsx)(h.RadarBoldFilled,{className:j}),isActive:m},...I&&!M&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,l.jsx)(s,{className:j}),activeIcon:(0,l.jsx)(o.LightningFilled,{className:j}),isActive:p}]||[]]},[E,T,V,n,k,_,H,L]);return i&&0!==z.length?(0,l.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,l.jsx)("div",{className:"mx-auto flex w-full max-w-7xl",children:(0,l.jsx)("div",{className:"flex h-14 w-full items-stretch justify-around px-4 py-1",children:z.map(e=>(0,l.jsxs)(t.default,{href:e.href,className:(0,m.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,l.jsx)("span",{"aria-hidden":"true",children:e.isActive?e.activeIcon:e.icon}),(0,l.jsx)("span",{className:(0,m.cn)("text-[11px] leading-tight",e.isActive&&"font-semibold"),children:e.name})]},e.name))})})}):null}],460581)},867775,e=>{"use strict";var l=e.i(648198),a=e.i(539922),t=e.i(654623),r=e.i(547100),i=e.i(877957),n=e.i(367810),s=e.i(901351),o=e.i(313983),d=e.i(725296),c=e.i(521350),u=e.i(611540);let x=({isUserLoggedIn:e,regime:x,deviceClass:f,experience:h,isPremiumUser:m})=>{let p=(0,r.useTranslations)("PrivacyConsentModal"),v=(0,t.useLocale)(),g=(0,u.interpolateUrl)(u.URLS.privacyPolicy,{locale:v}),[b,w]=(0,a.useState)(!1),[j,y]=(0,a.useState)(!1),[N,C]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(!d.US_REGIMES.includes(x)||m||!(0,c.isLocalStorageAvailable)())return;let l=localStorage.getItem("gpcConflict"),a=localStorage.getItem("saleOfDataConflict");l?(y(!0),w(!0)):e&&a&&(C(!0),w(!0))},[x,m,e]);let R=async e=>{try{let l={purpose:e.purpose,consent:e.value,setByUser:!0};await s.upsxClient.consent.createUserConsent(l),e.refreshAfterUpdate&&window.location.reload()}catch(e){console.error("Failed to update UPSX consent:",e)}},B=l=>{let a=window,t=window.top,r=a.DprSdk||t?.DprSdk;r?(r.setUserConsents({[o.Purpose.SALE_OF_DATA]:l}),e&&R({purpose:o.Purpose.SALE_OF_DATA,value:l,refreshAfterUpdate:!0}),j?((0,c.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||window.location.reload()):N&&(0,c.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),w(!1)):console.error("Unable to fix conflict, missing DprSdk.")},A="",S="";if(j?(A="gpcConflictHeader",S="gpcConflictParagraph",x===d.Regime.USA_CCPA&&(S+="_usa-ccpa")):N&&(A="saleOfDataConflictHeader",S="saleOfDataConflictParagraph",x===d.Regime.USA_CCPA&&(S+="_usa-ccpa")),S)return(0,l.jsx)(n.Dialog,{open:b,onOpenChange:w,children:(0,l.jsxs)(n.DialogContent,{className:`text-center ${"desktop"!==f?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===h?"wu-theme":""} `,onEscapeKeyDown:e=>{(N||j)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[A&&(0,l.jsx)(n.DialogHeader,{children:(0,l.jsx)(n.DialogTitle,{className:"text-xl font-semibold",children:p(A)})}),(0,l.jsx)("div",{className:"py-4",children:(0,l.jsx)("p",{className:"text-sm leading-relaxed",children:p.rich(S,{privacyPolicyLink:e=>(0,l.jsx)("a",{href:g,target:"_top",className:"text-blue-600 underline hover:text-blue-800",children:e})})})}),(0,l.jsxs)(n.DialogFooter,{className:"flex w-fit flex-col gap-3 justify-self-center",children:[(0,l.jsx)(i.Button,{onClick:()=>{B(!0)},variant:"default",className:"w-full sm:w-auto",children:p("optInButtonText")}),(0,l.jsx)(i.Button,{onClick:()=>{B(!1)},variant:"secondary",className:"w-full sm:w-auto",children:p("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModal",0,x,"default",0,x])},556441,e=>{"use strict";var l=e.i(648198),a=e.i(25681),t=e.i(240058),r=e.i(877957),i=e.i(368847),n=e.i(132084),s=e.i(528600),o=e.i(837879),d=e.i(498076),c=e.i(37429);e.s(["default",0,()=>{let e=(0,a.useSearchParams)(),u=e.get("par")||e.get("partner"),x=(0,d.useIsMobile)(),f=(0,o.useSubscriptionsEnabled)(),{user:h}=(0,s.useUser)(),{isUserPremium:m}=h;return u===n.Partner.TIKTOK&&x&&f&&!m?(0,l.jsxs)("div",{className:"relative mb-4 overflow-hidden bg-[#590462]",children:[(0,l.jsx)(c.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,l.jsxs)("div",{className:"relative z-10 p-6 text-center",children:[(0,l.jsx)(i.default,{variant:"Title.S",className:"mb-2.5 text-white",children:"Your TikTok Exclusive"}),(0,l.jsx)(i.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,l.jsx)(r.Button,{className:"rounded-lg px-8 py-2 text-sm font-bold",variant:"secondary",asChild:!0,children:(0,l.jsx)(t.default,{href:"/subscribe/checkout?products=e251f39b-afd7-4ad9-9c87-5e2a8ed63fbb&promoCode=t934k258j742&tpcc=mktg-today-tiktok-banner",children:"Claim Now"})})]})]}):null}])}]);