(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,390027,e=>{"use strict";var l=e.i(426641),a=e.i(539922),t=e.i(25681);function i(){return false}function r(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:i()?"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),i()&&!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 i=(()=>{let e=(0,t.useParams)(),l=(0,t.useSearchParams)()||new URLSearchParams,a=(0,t.usePathname)();if(!e)return null;let i=Object.keys(e).length?e:Object.fromEntries(l.entries());if(!a||!i)return a;let n=a;try{let e=Object.entries(i);for(let[l,a]of e)if(!Array.isArray(a)){let e=r(a);e.test(n)&&(n=n.replace(e,`/[${l}]`))}for(let[l,a]of e)if(Array.isArray(a)){let e=r(a.join("/"));e.test(n)&&(n=n.replace(e,`/[...${l}]`))}return n}catch(e){return a}})();return a.default.createElement(n,{route:i,...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_Ei28cRfcCB82WxqVq9N2G7E26QZT":void 0},i=e.i(539922),r=!1;e.s(["UnmountController",0,function({shouldMount:e,nonce:a}){return(0,i.useEffect)(()=>(e&&r&&function(e={}){if(typeof window>"u"||null===document.querySelector("vercel-live-feedback")){Object.assign(t,e);let a=document.createElement("script");for(let[i,r]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)??{})))r&&a.setAttribute(i,r);(document.head||document.documentElement).appendChild(a)}}({nonce:a}),r=!0,()=>{(typeof window>"u"?void 0:window.__vercel_toolbar)?.unmount()}),[]),null}],691871)},702957,489408,113016,312401,807215,876329,e=>{"use strict";var l=e.i(648198),a=e.i(539922),t=e.i(747961);let i=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),r=a.default.forwardRef((e,a)=>(0,l.jsx)(t.BaseIcon,{ref:a,icon:i,...e}));r.displayName="PartlyCloudyBold",e.s(["PartlyCloudyBold",0,r],702957);let n=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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)},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 i=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),r=a.default.forwardRef((e,a)=>(0,l.jsx)(t.BaseIcon,{ref:a,icon:i,...e}));r.displayName="LightningFilled",e.s(["LightningFilled",0,r])},906361,e=>{"use strict";var l=e.i(648198),a=e.i(632137),t=e.i(547100),i=e.i(827049),r=e.i(475566);let n=[{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 s=e.i(37429),o=e.i(240058);let d=e=>{let{classname:t}=e,d=(0,r.useAtomValue)(i.pageLocaleAtom),{url:c,cobrandIconSrc:u}=n.find(e=>e.locales.includes(d))||{};return c&&u?(0,l.jsx)("span",{className:"flex",children:(0,l.jsx)(o.default,{href:c,target:"_blank",className:(0,a.cn)("relative p-0",t,{"de-DE":"de-DE"===d}),children:(0,l.jsx)(s.default,{className:"h-6 w-auto max-w-none",src:u,alt:"focus logo",rounded:!1})})}):null};var c=e.i(458645),u=e.i(368847),x=e.i(113016),f=e.i(312401),h=e.i(539922),m=e.i(747961);let p=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),v=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:p,...e}));v.displayName="HomeBold";let g=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),b=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:g,...e}));b.displayName="HomeBoldFilled";let w=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),y=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:w,...e}));y.displayName="PlaylistVideoBold";let j=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),N=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:j,...e}));N.displayName="PlaylistVideoBoldFilled";let C=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),B=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:C,...e}));B.displayName="Compass";let R=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),A=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:R,...e}));A.displayName="CompassFilled";var P=e.i(807215),k=e.i(876329);let S=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),L=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:S,...e}));L.displayName="CalendarBold";let E=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),V=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:E,...e}));V.displayName="CalendarBoldFilled";let I=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),M=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:I,...e}));M.displayName="TimeBold";let U=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),T=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:U,...e}));T.displayName="TimeBoldFilled";var _=e.i(129932),H=e.i(800177);let z=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:z,...e}));D.displayName="BreathingBold";let O=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),F=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:O,...e}));F.displayName="BreathingBoldFilled";let $=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),K=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:$,...e}));K.displayName="FluBold";let G=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),W=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:G,...e}));W.displayName="FluBoldFilled";let q=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),Q=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:q,...e}));Q.displayName="HurricaneBold";let Y=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),X=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:Y,...e}));X.displayName="HurricaneBoldFilled";var J=e.i(702957),Z=e.i(489408);let ee=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),el=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:ee,...e}));el.displayName="PollenBold";let ea=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),et=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:ea,...e}));et.displayName="PollenBoldFilled";let ei=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),er=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:ei,...e}));er.displayName="ThunderstormsBold";let en=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),es=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:en,...e}));es.displayName="ThunderstormsBoldFilled";let eo=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),ed=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:eo,...e}));ed.displayName="TornadoBold";let ec=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),eu=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:ec,...e}));eu.displayName="TornadoBoldFilled";var ex=e.i(611540);let ef={VideoPlayerBold:x.VideoPlayerBold,VideoPlayerBoldActive:f.VideoPlayerBoldFilled,PlaylistVideoBold:y,PlaylistVideoBoldActive:N,RadarBold:P.RadarBold,RadarBoldActive:k.RadarBoldFilled,HomeBold:v,HomeBoldActive:b,CalendarBold:L,CalendarBoldActive:V,TimeBold:M,TimeBoldActive:T,SkincareBold:_.SkincareBold,SkincareBoldActive:H.SkincareBoldFilled,BreathingBold:D,BreathingBoldActive:F,FluBold:K,FluBoldActive:W,HurricaneBold:Q,HurricaneBoldActive:X,PartlyCloudyBold:J.PartlyCloudyBold,PartlyCloudyBoldActive:Z.PartlyCloudyBoldFilled,PollenBold:el,PollenBoldActive:et,ThunderstormsBold:er,ThunderstormsBoldActive:es,TornadoBold:ed,TornadoBoldActive:eu,Compass:B,CompassActive:A},eh=[{titleTranslationKey:"home",url:ex.URLS.home,includeLocales:["en-US","es-US","de-DE"],icon:"HomeBold"},{url:ex.URLS.today,titleTranslationKey:"today",icon:"PartlyCloudyBold"},{url:ex.URLS.hourly,titleTranslationKey:"hourly",icon:"TimeBold"},{url:ex.URLS.tenday,titleTranslationKey:"tenday",excludePartners:["oppo_widget"],icon:"CalendarBold"},{url:ex.URLS.tenday,titleTranslationKey:"fifteenday",includePartners:["oppo_widget"],icon:"CalendarBold"},{url:ex.URLS.radar,titleTranslationKey:"radar",excludePartners:["samsungVietnam"],icon:"RadarBold"},{url:"",dynamicVideoUrl:!0,title:"Video",includeLocales:["en-US","es-US"],icon:"VideoPlayerBold"},{url:ex.URLS.allergy,titleTranslationKey:"allergyTracker",excludeLocales:["de-DE","en-US"],icon:"PollenBold"},{url:ex.URLS.airQuality,titleTranslationKey:"airQualityIndex",excludeLocales:["de-DE","en-US"],icon:"BreathingBold"},{title:"Explore",url:"/explore",includeLocales:["en-US"],showNewBadge:17723196e5>Date.now(),icon:"Compass",includeGeoIP:["US"]},{title:"Severe Weather",includeLocales:["en-US"],includePartners:["samsung"],links:[{url:"/storms/hurricane-central",title:"Hurricane Central",icon:"HurricaneBold"},{url:"/storms/tornado-central",title:"Tornado Central",icon:"TornadoBold"},{url:"/safety/index",title:"Safety & Prep",icon:"ThunderstormsBold"}]},{title:"Health & Wellness",includeLocales:["en-US"],includePartners:["samsung"],links:[{url:ex.URLS.allergy,titleTranslationKey:"allergyTracker",icon:"PollenBold"},{url:ex.URLS.airQuality,titleTranslationKey:"airQualityIndex",icon:"BreathingBold"},{url:"/forecast/cold-flu/l/{locId}",title:"Cold & Flu Tracker",icon:"FluBold"},{url:"/health/skin-health",title:"Skin Health",icon:"PlaylistVideoBold"}]},{title:"Lifestyle",includeLocales:["en-US"],includePartners:["samsung"],links:[{url:"/home-garden",title:"Home & Garden",icon:"PlaylistVideoBold"},{url:"/pets",title:"Pets & Animals",icon:"PlaylistVideoBold"},{url:"/home-garden/recipes",title:"Recipes",icon:"PlaylistVideoBold"},{url:"/science/space",title:"Space & Skywatching",icon:"PlaylistVideoBold"},{url:"/travel",title:"Travel & Outdoors",icon:"PlaylistVideoBold"},{url:"/atmosphere",title:"Product Reviews & Deals",icon:"SkincareBold"},{url:"https://shop.weather.com/",title:"Shop",openInNewWindow:!0,icon:"SkincareBold"}]},{url:"/de-DE/neuigkeiten/deutschland",title:"Video",includeLocales:["de-DE"],icon:"VideoPlayerBold"},{title:"News",includeLocales:["de-DE"],links:[{title:"Wetter-News",url:"/de-DE/wetter",excludePartners:["samsung"],icon:"PlaylistVideoBold"},{title:"Deutschland",url:"/de-DE/wetter/deutschland",excludePartners:["samsung"],icon:"PlaylistVideoBold"},{title:"Ausland",url:"/de-DE/wetter/ausland",excludePartners:["samsung"],icon:"PlaylistVideoBold"}]},{title:"Wissen",includeLocales:["de-DE"],excludePartners:["samsung"],links:[{title:"Übersicht",url:"/de-DE/wissen",icon:"PlaylistVideoBold"},{title:"Umwelt",url:"/de-DE/wissen/umwelt",icon:"PlaylistVideoBold"},{title:"Klima",url:"/de-DE/wissen/klima",icon:"PlaylistVideoBold"},{title:"Mensch",url:"/de-DE/wissen/mensch",icon:"PlaylistVideoBold"},{title:"Tiere",url:"/de-DE/wissen/tiere",icon:"PlaylistVideoBold"},{title:"Astronomie",url:"/de-DE/wissen/astronomie",icon:"PlaylistVideoBold"},{title:"Wetterphänomene",url:"/de-DE/wissen/wetterphaenomene",icon:"PlaylistVideoBold"},{title:"Wetterlexikon",url:"/de-DE/wissen/wetterlexikon",icon:"PlaylistVideoBold"},{title:"Haus und Garten",url:"/de-DE/haus-und-garten",icon:"PlaylistVideoBold"}]},{title:"Gesundheit",includeLocales:["de-DE"],links:[{title:"Pollenflug-Kalender",url:"/de-DE/forecast/allergy/l/{locId}",excludePartners:["samsung"],icon:"PollenBold"},{url:"/de-DE/forecast/air-quality/l/{locId}",title:"Luftqualitätsindex",icon:"BreathingBold"},{title:"Übersicht",url:"/de-DE/gesundheit",excludePartners:["samsung"],icon:"PlaylistVideoBold"},{title:"Allergie",url:"/de-DE/gesundheit/allergie",icon:"PlaylistVideoBold"},{title:"Ernährung",url:"/de-DE/gesundheit/ernaehrung",excludePartners:["samsung"],icon:"PlaylistVideoBold"},{title:"Sonnenschutz",url:"/de-DE/gesundheit/sonnenschutz",excludePartners:["samsung"],icon:"PlaylistVideoBold"},{title:"Psyche",url:"/de-DE/gesundheit/psyche",excludePartners:["samsung"],icon:"PlaylistVideoBold"}]},{title:"Reisen",includeLocales:["de-DE"],excludePartners:["samsung"],links:[{title:"Übersicht",url:"/de-DE/reisen",icon:"PlaylistVideoBold"},{title:"Deutschland",url:"/de-DE/reisen/deutschland",icon:"PlaylistVideoBold"},{title:"Europa",url:"/de-DE/reisen/europa",icon:"PlaylistVideoBold"},{title:"Fernreisen",url:"/de-DE/reisen/fernreisen",icon:"PlaylistVideoBold"},{title:"Service",url:"/de-DE/reisen/service",icon:"PlaylistVideoBold"},{title:"Beste Reisezeit",url:"/de-DE/reisen/beste-reisezeit",icon:"PlaylistVideoBold"},{title:"Wintersport",url:"/de-DE/reisen/wintersport",icon:"PlaylistVideoBold"}]}];var em=e.i(316810),ep=e.i(436066);let ev=({link:e,role:t,forceCollapsedNavbar:i})=>{let n=(0,r.useAtomValue)(ep.sidebarMoreOpenAtom),s=e.isActive&&!n,d=ef[`${e.icon}${s?"Active":""}`];return(0,l.jsx)("li",{children:(0,l.jsxs)(o.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":!i,"pointer-events-none bg-gray-100 font-bold text-blue-500":s}),role:t,sourceModule:"sidebarNavigation",children:[(0,l.jsx)(d,{className:(0,a.cn)("w-6 shrink-0 text-inherit",{"xl:mr-3":!i})}),(0,l.jsx)(u.default,{className:(0,a.cn)("text-xxs mt-1 h-[13px] font-semibold text-inherit",{"font-bold":s,"xl:mt-0 xl:h-auto xl:text-sm xl:leading-none":!i}),lineClamp:1,children:e.title}),e.showNewBadge&&(0,l.jsx)(em.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":!i,"border-gray-100":s})})]})},e.title)};var eg=e.i(25681),eb=e.i(941497),ew=e.i(537989),ey=e.i(381477),ej=e.i(445899),eN=e.i(959194),eC=e.i(427309);let eB=({navigationData:e,locale:l,geoIPCountry:a,partner:t,theme:i,videoUrl:r,pathname:n,locId:s,pageId:o,tSidebarNavigation:d})=>e.reduce((e,c)=>{if("links"in c){let u=eB({navigationData:c.links,locale:l,geoIPCountry:a,partner:t,theme:i,videoUrl:r,pathname:n,locId:s,pageId:o,tSidebarNavigation:d});e.push({title:c.title,links:u})}else{let a;a=c.dynamicVideoUrl?r:(0,ex.interpolateUrl)(c.url,{locId:s,locale:l});let t=c.titleTranslationKey?d(c.titleTranslationKey):c.title,i=c.dynamicVideoUrl?"video"===o:n===a;e.push({title:t,url:a,icon:c.icon,showNewBadge:c.showNewBadge,...i&&{isActive:i}})}return e},[]),eR=({filteredPropName:e,filteredPropValue:l})=>a=>!(a[`exclude${e}`]&&a[`exclude${e}`].includes(l))&&(!a[`include${e}`]||!!a[`include${e}`].includes(l));var eA=e.i(995113),eP=e.i(47524),ek=e.i(598513),eS=e.i(513513),eL=e.i(889753),eE=e.i(837879);let eV=({forceCollapsedNavbar:e})=>{let t=(0,r.useAtomValue)(eL.userTierAtom),i=(0,eS.isUserTierPremium)(t),n=(0,ek.useSendInteractionEvent)(),s=(0,eE.useSubscriptionsEnabled)();return i||!s?null:(0,l.jsx)("li",{children:(0,l.jsxs)(o.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:()=>n({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)(eA.LightningFilled,{className:(0,a.cn)("relative z-2 w-6 shrink-0 text-white",{"xl:mr-3":!e})}),(0,l.jsxs)(u.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)(eP.ChevronRight,{className:(0,a.cn)("relative z-2 ml-auto hidden w-4 shrink-0 text-white",{"xl:block":!e})})]})})},eI=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})})]})),eM=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:eI,...e}));eM.displayName="OverflowMenuHorizontal";let eU=({forceCollapsedNavbar:e})=>{let i=(0,t.useTranslations)("SidebarNavigation"),[n,s]=(0,r.useAtom)(ep.sidebarMoreOpenAtom);return(0,l.jsx)("li",{children:(0,l.jsxs)("button",{type:"button","data-settings-menu-trigger":!0,"aria-haspopup":"menu","aria-expanded":n,onClick:()=>s(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":n}),children:[(0,l.jsx)(eM,{className:(0,a.cn)("w-6 shrink-0 text-inherit",{"xl:mr-3":!e})}),(0,l.jsx)(u.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":!e}),lineClamp:1,children:i("more")})]})})};var eT=e.i(379805),e_=e.i(553329),eH=e.i(710746);let ez=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})]})),eD=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:ez,...e}));eD.displayName="Temperature";let eO=(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 eF=e.i(617874),e$=e.i(166763),eK=e.i(314552),eG=e.i(674885),eW=e.i(776169),eq=e.i(523084),eQ=e.i(274432);let eY=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:eY,...e}));function eJ({locale:e,LOCALE_DATA:i,handleLocaleChange:r,onBack:n,onClose:s}){let o=(0,t.useTranslations)("SidebarNavigation"),[d,c]=(0,h.useState)(""),x=(0,h.useMemo)(()=>{let l=i.flatMap(e=>e.countries),a=e.toLowerCase(),t=l.find(e=>e.locale.toLowerCase()===a),r=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 t?[t,...r]:r},[i,e]),f=(0,h.useMemo)(()=>{let e=d.trim().toLowerCase();return e?x.filter(l=>l.name.toLowerCase().includes(e)||l.language.toLowerCase().includes(e)):x},[d,x]),m=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)(u.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)(eH.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)(eQ.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===f.length&&(0,l.jsx)("div",{className:"px-5 py-8 text-center",children:(0,l.jsx)(u.default,{className:"text-[13px] text-stone-600",children:o("noMatchingCountriesOrLanguages")})}),f.map(e=>{let t=e.locale.toLowerCase()===m;return(0,l.jsxs)("button",{type:"button",onClick:()=>r(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 eZ=new Set(["article","video","index"]);function e0(){let e=(0,t.useTranslations)("SidebarNavigation"),i=(0,r.useAtomValue)(ep.sidebarMoreOpenAtom),n=(0,r.useSetAtom)(ep.sidebarMoreOpenAtom),s=(0,r.useAtomValue)(eG.isImperialUnitsAtom),o=(0,r.useAtomValue)(eG.isMetricUnitsAtom),d=(0,r.useAtomValue)(eG.isHybridUnitsAtom),c=(0,eg.useParams)(),x=c?.locale||eK.defaultLocale,f=c?.locId,m=(0,r.useAtomValue)(ew.pageIdAtom),{updatePreferences:p}=(0,eW.usePreferences)(),v=(0,r.useAtomValue)(eL.userPreferencesAtom),g=(0,h.useRef)(null),[b,w]=(0,h.useState)(!1),[y,j]=(0,h.useState)(i),[N,C]=(0,h.useState)(!1),B=(0,h.useCallback)(()=>n(!1),[n]);(0,h.useEffect)(()=>{let e=(0,eT.getCookie)("unitOfMeasurement")?.toString();if(!e)return;let l=(0,eF.unitsSystemByCode)(e),a=l?.name;a&&a!==v?.unit&&p({unit:a})},[p,v?.unit]);let R=async e=>{let{error:l}=await (0,e_.tryCatch)(p({unit:e}));l&&console.error("Failed to update unit preference:",l)},A=async e=>{let l=(0,e$.convertLocaleFormat)(e),{error:a}=await (0,e_.tryCatch)(p({locale:l}));if(a)return void console.error("Failed to update locale preference:",a);if((0,eT.setCookie)("sitePref",e,{domain:`.${window.location.hostname}`}),B(),m&&eZ.has(m)){window.location.href=e===eK.defaultLocale?"/":`/${e}`;return}let t=m?ex.URLS[m]:void 0,i=t&&f?(0,ex.interpolateUrl)(t,{locale:e,locId:f}):null;if(i){window.location.href=i;return}let r=x!==eK.defaultLocale&&window.location.pathname.startsWith(`/${x}`)?window.location.pathname.slice(`/${x}`.length)||"/":window.location.pathname;window.location.href=e===eK.defaultLocale?r:`/${e}${r}`};if((0,h.useEffect)(()=>{if(i){j(!0);let e=0,l=requestAnimationFrame(()=>{e=requestAnimationFrame(()=>C(!0))});return()=>{cancelAnimationFrame(l),e&&cancelAnimationFrame(e)}}C(!1);let e=setTimeout(()=>{j(!1),w(!1)},150);return()=>clearTimeout(e)},[i]),(0,h.useEffect)(()=>{if(!i)return;let e=e=>{"Escape"===e.key&&(b?w(!1):B())};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[i,b,B]),(0,h.useEffect)(()=>{if(i)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e);function e(e){let l=e.target;g.current&&l&&!g.current.contains(l)&&!l.closest("[data-settings-menu-trigger]")&&B()}},[i,B]),!y)return null;let P=e$.LOCALE_DATA.flatMap(e=>e.countries).find(e=>e.locale.toLowerCase()===x.toLowerCase()),k=[{id:eF.UNIT_IMPERIAL,label:"°F",active:s,caption:e("unitsImperialCaption")},{id:eF.UNIT_METRIC,label:"°C",active:o,caption:e("unitsMetricCaption")},{id:eF.UNIT_HYBRID,label:"Hybrid",active:d,caption:e("unitsHybridCaption")}];return(0,l.jsx)("div",{ref:g,role:"dialog","aria-label":e(b?"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",N?"translate-x-0 opacity-100":"pointer-events-none -translate-x-6 opacity-0 rtl:translate-x-6"),children:b?(0,l.jsx)(eJ,{locale:x,LOCALE_DATA:e$.LOCALE_DATA,handleLocaleChange:A,onBack:()=>w(!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)(u.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)(eH.Close,{className:"h-4 w-4"})})]}),(0,l.jsx)("div",{className:"px-5 pt-3 pb-1",children:(0,l.jsx)(u.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)(eD,{className:"h-5 w-5 shrink-0 text-gray-600","aria-hidden":"true"}),(0,l.jsx)(u.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 i=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:()=>R(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",i),children:e.caption})]},e.id)})})]}),(0,l.jsxs)("button",{type:"button",onClick:()=>w(!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)(eO,{className:"h-5 w-5 shrink-0 text-gray-600",strokeWidth:1.75,"aria-hidden":"true"}),(0,l.jsx)(u.default,{className:"text-[15px] font-medium text-gray-900",children:P?`${P.name} \xb7 ${P.language}`:e("locationAndLanguage")})]}),(0,l.jsx)(eP.ChevronRight,{className:"h-4 w-4 shrink-0 text-stone-600 rtl:rotate-180","aria-hidden":"true"})]})]})})}let e1=(0,h.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})]})),e2=h.default.forwardRef((e,a)=>(0,l.jsx)(m.BaseIcon,{ref:a,icon:e1,...e}));function e5({firstName:e,isPremium:t,isAdFree:i}){let r=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:r}),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:i?"Ad Free":"Premium"})]})}e2.displayName="UserAvatar";var e4=e.i(809058),e3=e.i(877957),e7=e.i(528600),e6=e.i(731672);let e8=({forceCollapsedNavbar:e})=>{let{user:i,userProfile:r}=(0,e7.useUser)(),{isUserLoggedIn:n,isUserPremium:s,isUserAdFree:d}=i,c=(0,e6.useUserLogout)(),x=(0,eE.useSubscriptionsEnabled)(),f=(0,t.useTranslations)("SidebarNavigation"),m=(0,t.useTranslations)("UserRegistration"),[p,v]=(0,h.useState)(!1);return n?(0,l.jsx)("li",{children:(0,l.jsxs)(e4.Popover,{open:p,onOpenChange:v,children:[(0,l.jsx)(e4.PopoverTrigger,{asChild:!0,children:(0,l.jsxs)("button",{type:"button","aria-haspopup":"dialog","aria-expanded":p,"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":p}),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:r?.firstName?.charAt(0)?.toUpperCase()}),(0,l.jsx)(u.default,{className:(0,a.cn)("text-xxs mt-1 h-[13px] font-semibold text-inherit",{"font-bold":p,"xl:mt-0 xl:h-auto xl:text-sm xl:leading-none":!e}),lineClamp:1,children:f("myAccount")})]})}),(0,l.jsx)(e4.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)(o.default,{href:"/member/settings","data-testid":"sidebar-profile-account",children:(0,l.jsxs)("div",{className:"flex items-center gap-3 p-4",children:[(0,l.jsx)(e5,{firstName:r?.firstName,isPremium:s,isAdFree:d}),(0,l.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,l.jsx)(u.default,{variant:"Body.S",children:r?.firstName}),(0,l.jsx)(u.default,{className:"text-sm text-gray-500 hover:text-gray-700",children:m("manageAccount")})]})]})}),!s&&x&&(0,l.jsxs)("div",{className:"flex flex-col gap-3 border-t border-gray-200 p-4",children:[(0,l.jsx)(u.default,{variant:"Body.L",className:"font-semibold",children:"Unlock our full potential"}),(0,l.jsx)(u.default,{children:"Try our best radar and forecasting features for weather planning."}),(0,l.jsx)(o.default,{href:"/subscribe?tpcc=mktg-today-mainmenu-flyout",children:(0,l.jsx)(e3.Button,{variant:"default",children:"Go Premium"})})]})]}),(0,l.jsx)("div",{className:"border-t border-gray-200 p-2",children:(0,l.jsx)(e3.Button,{variant:"link",onClick:c,"data-testid":"sidebar-profile-signout",children:m("signOut")})})]})})]})}):(0,l.jsx)("li",{children:(0,l.jsxs)(o.default,{href:"/login",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)(e2,{className:(0,a.cn)("w-6 shrink-0 text-white",{"xl:mr-3":!e})}),(0,l.jsx)(u.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:m("logIn")})]})})};e.i(647872);var e9=e.i(523579);let le=({locationProvider:e})=>{let n=(e=>{let{location:l}=(0,eb.useProviderLocation)(e),a=l?.placeId||"",n=(0,eg.usePathname)(),s=(0,eg.useParams)(),o=(0,r.useAtomValue)(i.pageLocaleAtom),d=(0,r.useAtomValue)(ew.pageIdAtom),c=(0,r.useAtomValue)(eC.geoipCountry)||"",u=(0,eN.getPartner)(),x=(0,t.useTranslations)("SidebarNavigation"),{data:f}=(0,ey.default)(["navigation/getVideoLink",o],([e,l])=>(0,ej.getVideoLink)(l),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),m=s.canonicalLocation,p=m&&m.length>0?n.substring(0,n.lastIndexOf("/")):void 0;return(0,h.useMemo)(()=>{var e,l,t,i,r,s;let h,m,v,g,b,w=(({navigationData:e,locale:l,geoIPCountry:a,partner:t,theme:i,videoUrl:r,pathname:n,locId:s,pageId:o,tSidebarNavigation:d})=>{let c=e.filter(eR({filteredPropName:"Locales",filteredPropValue:l})).filter(eR({filteredPropName:"Partners",filteredPropValue:t})).filter(eR({filteredPropName:"Themes",filteredPropValue:i})).filter(eR({filteredPropName:"GeoIP",filteredPropValue:a})).map(e=>"links"in e?{...e,links:e.links.filter(eR({filteredPropName:"Locales",filteredPropValue:l})).filter(eR({filteredPropName:"Partners",filteredPropValue:t})).filter(eR({filteredPropName:"Themes",filteredPropValue:i})).filter(eR({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:i,videoUrl:r,pathname:n,locId:s,pageId:o,tSidebarNavigation:d})})({locId:a,pathname:n,videoUrl:f,navigationData:JSON.parse(JSON.stringify(eh)),locale:o,pageId:d,geoIPCountry:c,partner:u,tSidebarNavigation:x,theme:""});return e=w,l=a,t=o,i=n,r=x,s=p,h=e.filter(e=>"links"in e||!e.title.match(/^(Today|Hourly|10 Day|Tenday)$/i)),m=s?`${s}/today`:"en-US"===t?`/weather/today/l/${l}`:`/${t}/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:r("forecast"),url:m,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,n,f,o,d,u,p])})(e),s=(0,eg.usePathname)().includes("/subscribe"),u=(0,r.useAtomValue)(e9.retroWeatherAtom),x=(0,t.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]":!s}),"data-component":"sidebar-navigation","data-testid":"sidebar-navigation","aria-label":x("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":!s}),children:[(0,l.jsx)(o.default,{href:u?"/retro":"/",sourceModule:"sidebarNavigation",children:(0,l.jsx)(c.default,{className:"h-12 w-auto text-[#003399]",variant:"sidebar"})}),(0,l.jsx)(d,{})]}),(0,l.jsxs)("ul",{className:"m-0 flex w-full flex-col gap-1 px-3",children:[n.filter(e=>!e.links).map(e=>(0,l.jsx)(ev,{link:e,forceCollapsedNavbar:s},e.title)),(0,l.jsx)(eU,{forceCollapsedNavbar:s})]}),(0,l.jsxs)("ul",{className:"m-0 flex w-full flex-col gap-1 px-3",children:[(0,l.jsx)(e8,{forceCollapsedNavbar:s}),(0,l.jsx)(eV,{forceCollapsedNavbar:s})]})]}),(0,l.jsx)(e0,{})]})};e.s(["SidebarNavigation",0,le,"default",0,le],906361)},460581,e=>{"use strict";var l=e.i(648198),a=e.i(539922),t=e.i(240058),i=e.i(941497),r=e.i(747961);let n=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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)(r.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),y=e.i(427977),j=e.i(25681),N=e.i(874886),C=e.i(498076),B=e.i(547100),R=e.i(611540),A=e.i(528600),P=e.i(837879);e.s(["default",0,function({locationProvider:e}){let r=(0,C.useIsMobile)(),n=(0,j.usePathname)(),k=(0,N.useCanonicalBasePath)(),S=(0,p.useAtomValue)(g.pageIdAtom),L=(0,B.useTranslations)("SidebarNavigation"),{user:E}=(0,A.useUser)(),{isUserPremium:V}=E,I=(0,P.useSubscriptionsEnabled)(),{location:M,isLoading:U}=(0,i.useProviderLocation)(e),T=(0,p.useAtomValue)(v.pageLocaleAtom),{data:_}=(0,b.default)(["navigation/getVideoLink",T],([e,l])=>(0,w.getVideoLink)(l),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),{data:H}=(0,b.default)(["navigation/getQuickNav",T],()=>(0,y.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),z=(0,a.useMemo)(()=>{if(U||!M)return[];let e=M.placeId||"",a=k?`${k}/today`:(0,R.interpolateUrl)(R.URLS.today,{locale:T,locId:e}),t=(0,R.interpolateUrl)(R.URLS.radar,{locale:T,locId:e}),i=k?n.split("/").pop():null,r=k?N.CANONICAL_PAGE_TYPES.includes(i):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"===S,g=H?.videoLinkLocaleInclude?.["en-US"],b=g?.override?`?${g?.adRef}`:"",w=_?`${_}${b}`:"",y="h-6 w-6 text-inherit";return[{name:L("forecast"),href:a,icon:(0,l.jsx)(d.PartlyCloudyBold,{className:y}),activeIcon:(0,l.jsx)(c.PartlyCloudyBoldFilled,{className:y}),isActive:r},{name:L("video"),href:w,icon:(0,l.jsx)(u.VideoPlayerBold,{className:y}),activeIcon:(0,l.jsx)(x.VideoPlayerBoldFilled,{className:y}),isActive:v},{name:L("radar"),href:t,icon:(0,l.jsx)(f.RadarBold,{className:y}),activeIcon:(0,l.jsx)(h.RadarBoldFilled,{className:y}),isActive:m},...I&&!V&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,l.jsx)(s,{className:y}),activeIcon:(0,l.jsx)(o.LightningFilled,{className:y}),isActive:p}]||[]]},[U,M,T,n,S,_,H,k]);return r&&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(547100),i=e.i(877957),r=e.i(367810),n=e.i(901351),s=e.i(313983),o=e.i(725296),d=e.i(521350);let c=({isUserLoggedIn:e,regime:c,privacyPolicyLink:u,deviceClass:x,experience:f,isPremiumUser:h})=>{let m=(0,t.useTranslations)("PrivacyConsentModal"),[p,v]=(0,a.useState)(!1),[g,b]=(0,a.useState)(!1),[w,y]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(!o.US_REGIMES.includes(c)||h||!(0,d.isLocalStorageAvailable)())return;let l=localStorage.getItem("gpcConflict"),a=localStorage.getItem("saleOfDataConflict");l?(b(!0),v(!0)):e&&a&&(y(!0),v(!0))},[c,h,e]);let j=async e=>{try{let l={purpose:e.purpose,consent:e.value,setByUser:!0};await n.upsxClient.consent.createUserConsent(l),e.refreshAfterUpdate&&window.location.reload()}catch(e){console.error("Failed to update UPSX consent:",e)}},N=l=>{let a=window,t=window.top,i=a.DprSdk||t?.DprSdk;i?(i.setUserConsents({[s.Purpose.SALE_OF_DATA]:l}),e&&j({purpose:s.Purpose.SALE_OF_DATA,value:l,refreshAfterUpdate:!0}),g?((0,d.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||window.location.reload()):w&&(0,d.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),v(!1)):console.error("Unable to fix conflict, missing DprSdk.")},C="",B="";if(g?(C="gpcConflictHeader",B="gpcConflictParagraph",c===o.Regime.USA_CCPA&&(B+="_usa-ccpa")):w&&(C="saleOfDataConflictHeader",B="saleOfDataConflictParagraph",c===o.Regime.USA_CCPA&&(B+="_usa-ccpa")),B)return(0,l.jsx)(r.Dialog,{open:p,onOpenChange:v,children:(0,l.jsxs)(r.DialogContent,{className:`text-center ${"desktop"!==x?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===f?"wu-theme":""} `,onEscapeKeyDown:e=>{(w||g)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[C&&(0,l.jsx)(r.DialogHeader,{children:(0,l.jsx)(r.DialogTitle,{className:"text-xl font-semibold",children:m(C)})}),(0,l.jsx)("div",{className:"py-4",children:(0,l.jsx)("p",{className:"text-sm leading-relaxed",children:m.rich(B,{privacyPolicyLink:e=>(0,l.jsx)("a",{href:u,target:"_top",className:"text-blue-600 underline hover:text-blue-800",children:e})})})}),(0,l.jsxs)(r.DialogFooter,{className:"flex w-fit flex-col gap-3 justify-self-center",children:[(0,l.jsx)(i.Button,{onClick:()=>{N(!0)},variant:"default",className:"w-full sm:w-auto",children:m("optInButtonText")}),(0,l.jsx)(i.Button,{onClick:()=>{N(!1)},variant:"secondary",className:"w-full sm:w-auto",children:m("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModal",0,c,"default",0,c])},556441,e=>{"use strict";var l=e.i(648198),a=e.i(25681),t=e.i(240058),i=e.i(877957),r=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)(r.default,{variant:"Title.S",className:"mb-2.5 text-white",children:"Your TikTok Exclusive"}),(0,l.jsx)(r.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)(i.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}])},348693,e=>{"use strict";var l=e.i(648198),a=e.i(632137),t=e.i(240058),i=e.i(539922),r=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"},y={light:"bg-gray-900 text-white",dark:"bg-white text-gray-900"},j={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 B({locale:e,className:t,locationProvider:R}){let A=(0,r.useTranslations)("Header"),P=(0,f.useIsMobile)(),k=(0,i.useRef)(null),S=(0,n.useAtomValue)(x.geoipGeocode),{location:L}=(0,v.useProviderLocation)(R),E=L?.name||L?.city||L?.displayName,V=L?.geocode,[I,M]=(0,n.useAtom)(m.locationPickerOpenAtom),[U,T]=(0,i.useState)(!1);(0,i.useEffect)(()=>{try{"true"!==localStorage.getItem(g)&&T(!0)}catch{}},[]);let _=(0,i.useCallback)(()=>{T(!1);try{localStorage.setItem(g,"true")}catch{}},[]),H=(0,i.useCallback)(()=>{U&&_(),M(!I)},[U,_,M,I]);(0,i.useEffect)(()=>{if(!I||P)return;let e=e=>{k.current&&!k.current.contains(e.target)&&M(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[I,P,M]),(0,i.useEffect)(()=>{if(!I)return;let e=e=>{"Escape"===e.key&&M(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[I,M]);let z=U&&!I;return(0,l.jsxs)("div",{ref:k,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":E??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:[!!V&&!!S&&V===S&&(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:E||(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)]",y[b]),arrowClassName:j[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)(!P&&"absolute top-full left-0 z-110 mt-3 w-[400px]"),children:(0,l.jsx)(p.default,{locale:e,open:I,onOpenChange:M})})]})}var R=e.i(874886),A=e.i(528600),P=e.i(731672),k=e.i(792461),S=e.i(381477),L=e.i(445899),E=e.i(296990),V=e.i(674885),I=e.i(336726),M=e.i(25681),U=e.i(357508),T=e.i(827049),_=e.i(449172),H=e.i(316810);let z=({url:e,action:i,name:r,isNew:n,isExternal:s,isInGroup:o})=>{if(!e&&!i)return null;let d=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("span",{className:"relative flex items-center",children:[r,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:i,className:(0,a.cn)(c,"cursor-pointer"),children:d})},r)};var D=e.i(993269),O=e.i(859827);let F=({isExpanded:e,toggleCategory:t,name:i,links:r})=>(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:i}),(0,l.jsx)("span",{"aria-label":e?"Collapse":"Expand",children:e?(0,l.jsx)(D.Minus,{size:"md",className:"text-black"}):(0,l.jsx)(O.Plus,{size:"md",className:"text-black"})})]}),(0,l.jsx)("ul",{className:(0,a.cn)("bg-[#ebecee] md:space-y-2",!e&&"hidden"),children:r.map(e=>(0,l.jsx)(z,{...e,isInGroup:!0},e.name))})]},i);var $=e.i(611540);let K=(0,i.forwardRef)(({locationProvider:e},t)=>{let[o,d]=(0,n.useAtom)(m.settingsMenuOpenAtom),u=(0,n.useAtomValue)(V.isImperialUnitsAtom),x=(0,M.useParams)(),f=(x?.locale||"en-US").split("-")[1],{location:h}=(0,v.useProviderLocation)(e),p=(0,R.useCanonicalBasePath)(),{user:{isUserLoggedIn:g}}=(0,A.useUser)(),b=(0,P.useUserLogout)(),w=(0,k.useRefMemo)(b),y=h?.placeId||"",j=(0,n.useAtomValue)(T.pageLocaleAtom),N=(0,r.useTranslations)("SidebarNavigation"),C=(0,r.useTranslations)("UserRegistration"),{data:B}=(0,S.default)(["navigation/getVideoLink",j],([e,l])=>(0,L.getVideoLink)(l),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),[_,H]=(0,i.useState)({}),D=(0,i.useMemo)(()=>[{name:N("weatherForecasts"),links:[{name:N("today"),url:p?`${p}/today`:(0,$.interpolateUrl)($.URLS.today,{locale:j,locId:y})},{name:N("hourly"),url:p?`${p}/hourbyhour`:(0,$.interpolateUrl)($.URLS.hourly,{locale:j,locId:y})},{name:N("tenday"),url:p?`${p}/tenday`:(0,$.interpolateUrl)($.URLS.tenday,{locale:j,locId:y})}]},{name:N("radarAndMaps"),links:[{name:N("interactiveRadarMap"),url:`${(0,$.interpolateUrl)($.URLS.interactiveMap,{locale:j,locId:y})}?animation=true`},..."en-US"===j?[{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}]:[]]},{name:N("newsMedia"),links:[..."en-US"===j?[{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}]:[],...B?[{name:N("video"),url:B}]:[]]},{name:N("productAccount"),links:[..."en-US"===j?[{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:j})},{name:C("logOut"),action:w.current}]:[{name:C("createAnAccount"),url:(0,$.interpolateUrl)($.URLS.memberSignup,{locale:j})},{name:C("logIn"),url:(0,$.interpolateUrl)($.URLS.memberLogin,{locale:j})}]]},{name:N("lifestyle"),links:[..."en-US"===j?[{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:j,locId:y})},{name:N("airQualityIndex"),url:(0,$.interpolateUrl)($.URLS.airQuality,{locale:j,locId:y})},{name:N("coldAndFluTracker"),url:(0,$.interpolateUrl)($.URLS.coldFlu,{locale:j,locId:y})},..."en-US"===j?[{name:N("skinHealth"),url:$.URLS.skinHealth}]:[]]},..."en-US"===j?[{name:"Explore",url:"/explore"}]:[]],[g,w,y,B,p,j]);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)(E.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)(U.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:D.map((e,a)=>(0,l.jsx)("div",{className:"flex w-full flex-col md:w-1/4",children:e.links?(0,l.jsx)(F,{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 W=(0,i.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...r},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":i,...r,children:[t?(0,l.jsx)("desc",{id:i,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"})]})),q=i.default.forwardRef((e,a)=>(0,l.jsx)(G.BaseIcon,{ref:a,icon:W,...e}));function Q({locationProvider:e}){let[a,t]=(0,n.useAtom)(m.menuOpenAtom),r=(0,i.useRef)(null),o=(0,i.useRef)(null);return(0,i.useEffect)(()=>{a?document.querySelector("html")?.classList.add("overflow-hidden"):document.querySelector("html")?.classList.remove("overflow-hidden")},[a]),(0,i.useEffect)(()=>{function e(e){a&&r.current&&o.current&&!r.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:r,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)(q,{})}),a&&(0,l.jsx)(K,{ref:o,locationProvider:e})]})}q.displayName="Hamburger";var Y=e.i(368847),X=e.i(837879),J=e.i(178655),Z=e.i(537989);let ee=()=>{let e=(0,n.useAtomValue)(Z.pageIdAtom);return(0,i.useCallback)(l=>{let a=`${e}_${l}`;(0,J.setCookie)("fromStr",a,{path:"/",domain:".weather.com"})},[e])};function el(){let{user:e,userProfile:a}=(0,A.useUser)(),n=(0,P.useUserLogout)(),{isUserLoggedIn:d,isUserPremium:c}=e,[u,x]=(0,i.useState)(!1),f=(0,X.useSubscriptionsEnabled)(),h=(0,r.useTranslations)("UserRegistration"),m=ee(),p="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:p,"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:"/member/settings","data-testid":"header-profile-account",children:(0,l.jsxs)("div",{className:"flex items-center gap-3 p-4",children:[(0,l.jsx)("span",{className:p,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:()=>m("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:"/login",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 ea=e.i(995113);function et(){let{user:e}=(0,A.useUser)(),{isUserPremium:i}=e,r=(0,X.useSubscriptionsEnabled)(),n=ee();return i||!r?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)(ea.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(314552),er=e.i(344901),en=e.i(458645);e.i(647872);var es=e.i(523579);function eo({locationProvider:e,subnav:i,hideHeaderOnDesktop:r}){let s,o=(0,f.useIsMobile)(),d=(s=(0,f.useIsMobile)(),(0,M.usePathname)().includes("/subscribe")&&!s||r&&!o),c=(0,er.getLocale)(),u=(0,n.useAtomValue)(es.retroWeatherAtom),x=(0,n.useAtomValue)(m.menuOpenAtom),h=(0,n.useAtomValue)(m.locationPickerOpenAtom),p=u?"/retro":`/${c===ei.defaultLocale?"":c}`;return d?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:e})}),(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)(en.default,{className:"h-10 w-auto text-[#003399] md:h-12",variant:"header"})})}),(0,l.jsx)(B,{locale:c,locationProvider:e}),(0,l.jsx)("div",{className:"hidden md:contents",children:i}),(0,l.jsx)(et,{}),(0,l.jsx)(el,{})]})})}),(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})]})}e.s(["Header",0,eo,"default",0,eo],348693)}]);