(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]||(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]=[])).push(["object"==typeof document?document.currentScript:void 0,906361,e=>{"use strict";var t=e.i(902875),n=e.i(247865),r=e.i(632137),i=e.i(730921),l=e.i(581014),a=e.i(611540);e.i(609717);var s=e.i(950771),o=e.i(546446);let c={src:e.i(10993).default,width:208,height:74,blurWidth:0,blurHeight:0},u=[{locales:["de-DE"],url:"https://www.focus.de/?utm_source=weather.com&utm_medium=referral&utm_campaign=unser+netzwerk",cobrandIconSrc:c.src,cobrandIconWidth:c.width,cobrandIconHeight:c.height}];var d=e.i(37429),m=e.i(240058);let h=e=>{let{classname:n}=e,i=(0,o.useAtomValue)(s.pageLocaleAtom),{url:l,cobrandIconSrc:a,cobrandIconWidth:c,cobrandIconHeight:h}=u.find(e=>e.locales.includes(i))||{};return l&&a?(0,t.jsx)("span",{className:"flex",children:(0,t.jsx)(m.default,{href:l,target:"_blank",className:(0,r.cn)("relative p-0",n,{"de-DE":"de-DE"===i}),children:(0,t.jsx)(d.default,{className:"h-6 w-auto max-w-none",src:a,alt:"focus logo",width:c,height:h,rounded:!1})})}):null};var f=e.i(521231),x=e.i(368847),p=e.i(379276),g=e.i(316810),b=e.i(436066);function v(e=!1){let t=(0,n.useRef)(null),[r,i]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=t.current;if(!e)return;let n=0,r=()=>{n=0;let t=document.querySelectorAll("[data-fullbleed-dark]");if(0===t.length)return void i(!1);let r=e.getBoundingClientRect(),l=r.top+r.height/2;i(Array.from(t).some(e=>{let t=e.getBoundingClientRect();return t.bottom>t.top&&l>=t.top&&l{n||(n=requestAnimationFrame(r))};return r(),window.addEventListener("scroll",l,{passive:!0}),window.addEventListener("resize",l),window.addEventListener("fullbleed:change",l),()=>{n&&cancelAnimationFrame(n),window.removeEventListener("scroll",l),window.removeEventListener("resize",l),window.removeEventListener("fullbleed:change",l)}},[]),{ref:t,isOverDark:r&&!e}}let y=({link:e,role:n,forceCollapsedNavbar:i,iconOnly:l})=>{let a=(0,o.useAtomValue)(b.sidebarMoreOpenAtom),s=(0,o.useAtomValue)(b.sidebarContentSearchOpenAtom),c=e.isActive&&!a&&!s,u=p.navigationIconsMap[`${e.icon}${c?"Active":""}`],{ref:d,isOverDark:h}=v((0,o.useAtomValue)(b.sidebarSuppressDarkAtom));return(0,t.jsx)("li",{ref:d,children:(0,t.jsxs)(m.default,{href:e.url||"",className:(0,r.cn)("group relative box-border flex h-14 w-full cursor-pointer flex-col items-center justify-center rounded-2xl px-3 font-semibold text-gray-900 no-underline transition-[color,background-color,border-color,width,height,padding] duration-200 hover:bg-gray-100 focus-visible:bg-gray-100 focus-visible:outline-none",{"xl:h-12 xl:flex-row xl:justify-start":!i,"size-12 overflow-hidden":l,"bg-gray-100 font-bold text-blue-500":c,"pointer-events-none":c&&e.lockWhenActive,"text-white hover:bg-white/10 focus-visible:bg-white/10":h&&!c,"bg-[#252422] text-white":h&&c}),role:n,sourceModule:"sidebarNavigation",sourceElement:e.title,children:[(0,t.jsx)(u,{"aria-hidden":"true",className:(0,r.cn)("w-6 shrink-0 text-inherit",{"xl:mr-3":!i})}),(0,t.jsx)(x.default,{className:(0,r.cn)("text-xxs mt-1 h-[13px] pb-0 font-semibold text-inherit transition-opacity duration-200",{"font-bold":c,"xl:mt-0 xl:h-auto xl:text-sm xl:leading-none":!i,"pointer-events-none opacity-0":l}),lineClamp:1,children:e.title}),e.showNewBadge&&(0,t.jsx)(g.default,{className:(0,r.cn)("transition duration-200 group-hover:border-gray-100 group-focus-visible:border-gray-100","absolute top-0 right-0",{"xl:static":!i,"border-gray-100":c})})]})},e.title)};var w=e.i(725287),j=e.i(281687),N=e.i(559421),A=e.i(4085),k=e.i(388706),C=e.i(304116),S=e.i(269153),E=e.i(942400),T=e.i(537989);e.i(647872);var L=e.i(494889),P=e.i(190344),R=e.i(293163),M=e.i(258990),U=e.i(475823);let _=Object.fromEntries(k.SIDEBAR_CANONICAL_LINKS.map(e=>[a.URLS[e.urlKey],e.segment])),I=({navigationData:e,locale:t,partner:n,theme:r,videoUrl:i,pathname:l,locId:s,featureId:o,pageId:c,tSidebarNavigation:u,canonicalBasePath:d,linkBasePath:m,canonicalID:h,skipCanonical:f,linkViaRedir:x})=>e.reduce((e,p)=>{if("links"in p){let a=I({navigationData:p.links,locale:t,partner:n,theme:r,videoUrl:i,pathname:l,locId:s,featureId:o,pageId:c,tSidebarNavigation:u,canonicalBasePath:d,linkBasePath:m,canonicalID:h,skipCanonical:f,linkViaRedir:x});e.push({title:p.title,links:a})}else{let n,r;if(p.dynamicVideoUrl)r=n=i;else{let e=_[p.url],i=n=>e?x&&(0,U.isRedirPage)(e)?(0,U.redirHref)(e,t):(0,C.buildLocationPageHref)({pageType:e,locale:t,canonicalID:h,featureId:o,placeId:s,canonicalBasePath:n,skipCanonical:f}):(0,a.interpolateLocationUrl)(p.url,{locale:t,locId:s,featureId:o});n=i(m??d),r=m?i(d):n}if(!n)return e;let g=p.titleTranslationKey?u(p.titleTranslationKey):p.title,b=(p.matchNestedPaths?l===r||l.startsWith(`${r}/`):l===r)||!!p.activePageIds?.includes(c??"");e.push({title:g,url:n,icon:p.icon,showNewBadge:p.showNewBadge,lockWhenActive:p.lockWhenActive,...b&&{isActive:b}})}return e},[]),O=({filteredPropName:e,filteredPropValue:t})=>n=>{let r=Array.isArray(t)?t:[t],i=n[`exclude${e}`];if(i&&i.some(e=>r.includes(e)))return!1;let l=n[`include${e}`];return!l||!!l.some(e=>r.includes(e))},B=e=>t=>void 0===t.requiresNewsHub||t.requiresNewsHub===e,V=/\/radar\/?$/,D=["/weather/today/","/weather/hourbyhour/","/weather/tenday/"];var z=e.i(995113),F=e.i(47524),H=e.i(598513),$=e.i(513513),q=e.i(889753),Q=e.i(837879),W=e.i(683199);let G=({forceCollapsedNavbar:e,iconOnly:n})=>{let i=(0,o.useAtomValue)(q.userTierAtom),l=(0,$.isUserTierPremium)(i),a=(0,H.useSendInteractionEvent)(),s=(0,Q.useSubscriptionsEnabled)(),c=(0,W.usePremiumSource)();return l||!s?null:(0,t.jsx)("li",{children:(0,t.jsxs)(m.default,{href:"/subscribe?tpcc=mktg-leftrail-menu-upgrade",style:{background:"linear-gradient(90deg, #3A61CC 0%, #6549D4 50%, #935EC3 100%)"},onClick:()=>{a({interactionElement:"sidebar-nav-go-to-checkout-button",interactionType:"click",moduleId:"SidebarNavigation"}),c({sourceModule:"leftrail-menu",sourceElement:"get-premium"})},className:(0,r.cn)("group relative flex h-14 w-full flex-col items-center justify-center overflow-hidden rounded-2xl px-3 font-semibold text-white no-underline transition-[width,height,padding] duration-200 focus:outline-none",{"xl:h-12 xl:flex-row xl:justify-start":!e,"size-12":n}),sourceModule:"sidebarNavigation",children:[(0,t.jsx)("div",{style:{background:"linear-gradient(90deg, #4872E5 0%, #785CEB 50%, #A86EDD 100%)"},className:"pointer-events-none absolute top-0 left-0 h-full w-full opacity-0 bg-blend-soft-light transition-opacity group-hover:opacity-100 group-focus:opacity-100"}),(0,t.jsx)(z.LightningFilled,{className:(0,r.cn)("relative z-2 w-6 shrink-0 text-white",{"xl:mr-3":!e})}),(0,t.jsxs)(x.default,{className:(0,r.cn)("text-xxs relative z-2 mt-1 h-[13px] pb-0 font-semibold whitespace-nowrap text-white transition-opacity duration-200",{"xl:mt-0 xl:h-auto xl:text-sm xl:leading-none":!e,"pointer-events-none opacity-0":n}),lineClamp:1,children:[(0,t.jsx)("span",{className:(0,r.cn)("hidden",{"xl:contents":!e}),children:"Get Premium"}),(0,t.jsx)("span",{className:(0,r.cn)("contents xl:hidden",{"xl:contents":e}),children:"Upgrade"})]}),(0,t.jsx)(F.ChevronRight,{className:(0,r.cn)("relative z-2 ml-auto hidden w-4 shrink-0 text-white",{"xl:block":!e})})]})})};var K=e.i(747961);let Y=(0,n.forwardRef)(({title:e,titleId:n,desc:r,descId:i,...l},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":n,"aria-describedby":i,...l,children:[r?(0,t.jsx)("desc",{id:i,children:r}):null,void 0===e?(0,t.jsx)("title",{id:n,children:"Overflow Menu Horizontal"}):e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsx)("g",{fill:"currentColor",children:(0,t.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"})})]})),J=n.default.forwardRef((e,n)=>(0,t.jsx)(K.BaseIcon,{ref:n,icon:Y,...e}));J.displayName="OverflowMenuHorizontal";let X=({forceCollapsedNavbar:e,iconOnly:n})=>{let i=(0,l.useTranslations)("SidebarNavigation"),[a,s]=(0,o.useAtom)(b.sidebarMoreOpenAtom),{ref:c,isOverDark:u}=v((0,o.useAtomValue)(b.sidebarSuppressDarkAtom));return(0,t.jsx)("li",{ref:c,children:(0,t.jsxs)("button",{type:"button","data-settings-menu-trigger":!0,"aria-haspopup":"menu","aria-expanded":a,onClick:()=>s(e=>!e),className:(0,r.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-[color,background-color,border-color,width,height,padding] 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,"size-12 overflow-hidden":n,"bg-gray-100 font-bold text-blue-500 hover:bg-gray-100 focus-visible:bg-gray-100":a,"text-white hover:bg-white/10 focus-visible:bg-white/10":u&&!a,"bg-[#252422] text-white hover:bg-[#252422] focus-visible:bg-[#252422]":u&&a}),children:[(0,t.jsx)(J,{className:(0,r.cn)("w-6 shrink-0 text-inherit",{"xl:mr-3":!e})}),(0,t.jsx)(x.default,{className:(0,r.cn)("text-xxs mt-1 h-[13px] pb-0 font-semibold text-inherit transition-opacity duration-200",{"font-bold":a,"xl:mt-0 xl:h-auto xl:text-sm xl:leading-none":!e,"pointer-events-none opacity-0":n}),lineClamp:1,children:i("more")})]})})};var Z=e.i(965586),ee=e.i(553329),et=e.i(226602),en=e.i(617874),er=e.i(166763),ei=e.i(314552),el=e.i(674885),ea=e.i(776169),es=e.i(35137),eo=e.i(121301);let ec=new Set(["article","video","index"]);function eu(){let e=(0,l.useTranslations)("SidebarNavigation"),i=(0,o.useAtomValue)(b.sidebarMoreOpenAtom),s=(0,o.useSetAtom)(b.sidebarMoreOpenAtom),c=(0,o.useAtomValue)(el.isImperialUnitsAtom),u=(0,o.useAtomValue)(el.isMetricUnitsAtom),d=(0,o.useAtomValue)(el.isHybridUnitsAtom),m=(0,w.useParams)(),h=m?.locale||ei.defaultLocale,f=m?.locId,p=(0,o.useAtomValue)(T.pageIdAtom),{updatePreferences:g}=(0,ea.usePreferences)(),v=(0,o.useAtomValue)(q.userPreferencesAtom),y=(0,n.useRef)(null),[j,N]=(0,n.useState)(!1),[A,k]=(0,n.useState)(i),[C,S]=(0,n.useState)(!1),E=(0,n.useCallback)(()=>s(!1),[s]);(0,n.useEffect)(()=>{let e=(0,Z.getCookie)("unitOfMeasurement")?.toString();if(!e)return;let t=(0,en.unitsSystemByCode)(e),n=t?.name;n&&n!==v?.unit&&g({unit:n})},[g,v?.unit]);let L=async e=>{let{error:t}=await (0,ee.tryCatch)(g({unit:e}));t&&console.error("Failed to update unit preference:",t)},P=async e=>{let t=(0,er.convertLocaleFormat)(e),{error:n}=await (0,ee.tryCatch)(g({locale:t}));if(n)return void console.error("Failed to update locale preference:",n);if((0,Z.setCookie)("sitePref",e,{domain:`.${window.location.hostname}`}),E(),p&&ec.has(p)){window.location.href=e===ei.defaultLocale?"/":`/${e}`;return}let r=p?a.URLS[p]:void 0,i=r&&f?(0,a.interpolateUrl)(r,{locale:e,locId:f}):null;if(i){window.location.href=i;return}let l=h!==ei.defaultLocale&&window.location.pathname.startsWith(`/${h}`)?window.location.pathname.slice(`/${h}`.length)||"/":window.location.pathname;window.location.href=e===ei.defaultLocale?l:`/${e}${l}`};return((0,n.useEffect)(()=>{if(i){k(!0);let e=0,t=requestAnimationFrame(()=>{e=requestAnimationFrame(()=>S(!0))});return()=>{cancelAnimationFrame(t),e&&cancelAnimationFrame(e)}}S(!1);let e=setTimeout(()=>{k(!1),N(!1)},150);return()=>clearTimeout(e)},[i]),(0,n.useEffect)(()=>{if(!i)return;let e=e=>{"Escape"===e.key&&(j?N(!1):E())};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[i,j,E]),(0,n.useEffect)(()=>{if(i)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e);function e(e){let t=e.target;y.current&&t&&!y.current.contains(t)&&!t.closest("[data-settings-menu-trigger]")&&E()}},[i,E]),A)?(0,t.jsx)("div",{ref:y,role:"dialog","aria-label":e(j?"locationAndLanguage":"more"),className:(0,r.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:j?(0,t.jsx)(es.default,{locale:h,LOCALE_DATA:er.LOCALE_DATA,handleLocaleChange:P,onBack:()=>N(!1),onClose:E}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-center justify-between px-5 pt-5 pb-2",children:[(0,t.jsx)(x.default,{elementType:"h2",variant:"Title.S",className:"text-gray-900",children:e("more")}),(0,t.jsx)("button",{type:"button",onClick:E,"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,t.jsx)(et.Close,{className:"h-4 w-4"})})]}),(0,t.jsx)(eo.default,{isImperial:c,isMetric:u,isHybrid:d,locale:h,LOCALE_DATA:er.LOCALE_DATA,handleUnitChange:L,onOpenLocationLanguage:()=>N(!0)})]})}):null}let ed=(0,n.forwardRef)(({title:e,titleId:n,desc:r,descId:i,...l},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":n,"aria-describedby":i,...l,children:[r?(0,t.jsx)("desc",{id:i,children:r}):null,void 0===e?(0,t.jsx)("title",{id:n,children:"User Avatar"}):e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.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,t.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"})]})]})),em=n.default.forwardRef((e,n)=>(0,t.jsx)(K.BaseIcon,{ref:n,icon:ed,...e}));function eh({firstName:e,isPremium:n,isAdFree:i}){let l=e?.charAt(0)?.toUpperCase();return(0,t.jsxs)("div",{className:(0,r.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,t.jsx)("span",{className:(0,r.cn)("text-sm font-bold text-gray-900 md:text-base",{"translate-y-[-2.5px] md:translate-y-[-3px]":n}),children:l}),n&&(0,t.jsx)("span",{className:(0,r.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"})]})}em.displayName="UserAvatar";var ef=e.i(809058),ex=e.i(877957),ep=e.i(528600),eg=e.i(731672);let eb=({forceCollapsedNavbar:e,iconOnly:s})=>{let{user:c,userProfile:u}=(0,ep.useUser)(),{isUserLoggedIn:d,isUserPremium:h,isUserAdFree:f}=c,p=(0,eg.useUserLogout)(),g=(0,Q.useSubscriptionsEnabled)(),y=(0,l.useTranslations)("SidebarNavigation"),w=(0,l.useTranslations)("UserRegistration"),j=(0,i.useLocale)(),N=(0,W.usePremiumSource)(),[A,k]=(0,o.useAtom)(b.sidebarAccountOpenAtom);(0,n.useEffect)(()=>()=>k(!1),[k]);let{ref:C,isOverDark:S}=v((0,o.useAtomValue)(b.sidebarSuppressDarkAtom));return d?(0,t.jsx)("li",{ref:C,children:(0,t.jsxs)(ef.Popover,{open:A,onOpenChange:k,children:[(0,t.jsx)(ef.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)("button",{type:"button","aria-haspopup":"dialog","aria-expanded":A,"data-testid":"sidebar-profile-button",className:(0,r.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-[color,background-color,border-color,width,height,padding] 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,"size-12 overflow-hidden":s,"bg-gray-100 font-bold text-blue-500 hover:bg-gray-100 focus-visible:bg-gray-100":A,"text-white hover:bg-white/10 focus-visible:bg-white/10":S&&!A,"bg-[#252422] text-white hover:bg-[#252422] focus-visible:bg-[#252422]":S&&A}),children:[(0,t.jsx)("span",{"aria-hidden":"true",className:(0,r.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:u?.firstName?.charAt(0)?.toUpperCase()}),(0,t.jsx)(x.default,{className:(0,r.cn)("text-xxs mt-1 h-[13px] pb-0 font-semibold text-inherit transition-opacity duration-200",{"font-bold":A,"xl:mt-0 xl:h-auto xl:text-sm xl:leading-none":!e,"pointer-events-none opacity-0":s}),lineClamp:1,children:y("myAccount")})]})}),(0,t.jsx)(ef.PopoverContent,{side:"right",align:"end",className:"z-9996 p-0",showArrow:!1,children:(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(m.default,{href:(0,a.interpolateUrl)(a.URLS.memberSettings,{locale:j}),"data-testid":"sidebar-profile-account",children:(0,t.jsxs)("div",{className:"flex items-center gap-3 p-4",children:[(0,t.jsx)(eh,{firstName:u?.firstName,isPremium:h,isAdFree:f}),(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)(x.default,{variant:"Body.S",children:u?.firstName}),(0,t.jsx)(x.default,{className:"text-sm text-gray-500 hover:text-gray-700",children:w("manageAccount")})]})]})}),!h&&g&&(0,t.jsxs)("div",{className:"flex flex-col gap-3 border-t border-gray-200 p-4",children:[(0,t.jsx)(x.default,{variant:"Body.L",className:"font-semibold",children:"Unlock our full potential"}),(0,t.jsx)(x.default,{children:"Try our best radar and forecasting features for weather planning."}),(0,t.jsx)(m.default,{href:"/subscribe?tpcc=mktg-today-mainmenu-flyout",onClick:()=>N({sourceModule:"leftrail-menu",sourceElement:"get-premium"}),children:(0,t.jsx)(ex.Button,{variant:"default",children:"Go Premium"})})]})]}),(0,t.jsx)("div",{className:"border-t border-gray-200 p-2",children:(0,t.jsx)(ex.Button,{variant:"link",onClick:p,"data-testid":"sidebar-profile-signout",children:w("signOut")})})]})})]})}):(0,t.jsx)("li",{ref:C,children:(0,t.jsxs)(m.default,{href:(0,a.interpolateUrl)(a.URLS.memberLogin,{locale:j}),sourceModule:"sidebarNavigation",className:(0,r.cn)("group relative box-border flex h-14 w-full cursor-pointer flex-col items-center justify-center rounded-2xl bg-gray-900 px-3 font-semibold text-white no-underline transition-[opacity,width,height,padding] duration-200 hover:opacity-90 focus-visible:opacity-90 focus-visible:outline-none",{"xl:h-12 xl:flex-row xl:justify-start":!e,"size-12 overflow-hidden":s,"bg-[#252422]":S}),children:[(0,t.jsx)(em,{className:(0,r.cn)("w-6 shrink-0 text-white",{"xl:mr-3":!e})}),(0,t.jsx)(x.default,{className:(0,r.cn)("text-xxs mt-1 h-[13px] pb-0 font-semibold text-white transition-opacity duration-200",{"xl:mt-0 xl:h-auto xl:text-sm xl:leading-none":!e,"pointer-events-none opacity-0":s}),lineClamp:1,children:w("logIn")})]})})};var ev=e.i(663333),ey=e.i(274432),ew=e.i(792461),ej=e.i(18358),eN=e.i(768864),eA=e.i(123590),ek=e.i(333761),eC=e.i(957174),eS=e.i(956667);let eE=(0,n.forwardRef)(({title:e,titleId:n,desc:r,descId:i,...l},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":n,"aria-describedby":i,...l,children:[r?(0,t.jsx)("desc",{id:i,children:r}):null,void 0===e?(0,t.jsx)("title",{id:n,children:"Blog"}):e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsx)("g",{fill:"currentColor",children:(0,t.jsx)("path",{d:"M7 12H2v1h5zM7 9H2v1h5zM13 7H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1M3 3v3h10V3zM13 14h-3a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1m-3-4v3h3v-3z"})})]})),eT=n.default.forwardRef((e,n)=>(0,t.jsx)(K.BaseIcon,{ref:n,icon:eE,...e}));eT.displayName="Blog";let eL={article:eC.Book,video:eS.VideoPlayer,liveblog:eT};function eP({item:e,showDate:a,dateStyle:s,onSelect:o}){let c=(0,l.useTranslations)("ContentSearch"),u=(0,l.useFormatter)(),h=(0,i.useNow)(),f=(0,eA.useTrackContentLinkClick)(),x=(0,ek.useTrackContentLinkClick)(),p=eL[e.kind]??eC.Book,g=(0,n.useCallback)(()=>{let t={linkType:"internal",linkURL:e.url,linkText:e.title,moduleId:"content-search"};f(t),x(t),o()},[f,x,e.url,e.title,o]),b=function(e,{showDate:t,dateStyle:n,now:r,t:i,formatRelativeTime:l,formatDate:a}){let s=[],o=function(e,t){switch(e.kind){case"article":if(!e.readTimeMinutes)return null;return t("readTime",{minutes:e.readTimeMinutes});case"video":{let n=e.durationSeconds;if(n&&nu.relativeTime(e,h),formatDate:e=>u.dateTime(e,{month:"short",day:"numeric",year:"numeric"})});return(0,t.jsx)("li",{children:(0,t.jsxs)(m.default,{href:e.url,onClick:g,sourceModule:"content-search",sourceElement:"content-search-result",className:(0,r.cn)("flex items-center gap-4 overflow-hidden rounded-2xl py-2 pr-4 pl-2 no-underline","transition-colors hover:bg-gray-100 active:bg-gray-200","focus-visible:bg-gray-100 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none"),children:[e.thumbnailUrl?(0,t.jsx)(d.default,{src:e.thumbnailUrl,alt:"",width:64,height:64,fill:!1,objectFit:"cover",className:"size-16 shrink-0 rounded-lg object-cover"}):(0,t.jsx)("div",{"aria-hidden":"true",className:"size-16 shrink-0 rounded-lg bg-gray-200"}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-1",children:[(0,t.jsx)("span",{className:"line-clamp-2 text-sm leading-[1.15] font-semibold tracking-[-0.28px] text-gray-900",children:e.title}),b&&(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)(p,{"aria-hidden":"true",className:"size-4 shrink-0 text-gray-500"}),(0,t.jsx)("span",{className:"truncate text-xs font-medium text-gray-500",children:b})]})]})]})})}function eR({item:e,onSelect:i}){let l=(0,H.useSendInteractionEvent)(),a=(0,n.useCallback)(()=>{l({interactionType:"click",interactionElement:"content-search-location-result",moduleId:"content-search"}),i()},[l,i]);return(0,t.jsx)("li",{children:(0,t.jsx)(m.default,{href:e.url,onClick:a,sourceModule:"content-search",sourceElement:"content-search-location-result",className:(0,r.cn)("flex items-center overflow-hidden rounded-2xl py-2 pr-4 pl-2 no-underline","transition-colors hover:bg-gray-100 active:bg-gray-200","focus-visible:bg-gray-100 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none"),children:(0,t.jsx)("span",{className:"line-clamp-2 text-sm leading-[1.15] font-semibold tracking-[-0.28px] text-gray-900",children:e.title})})})}let eM="control",eU="all-metadata",e_="69175b02ea24c7c105fbb4fc";function eI({visible:e,query:n,rows:i,showDate:a,dateStyle:s,showTrendingHeading:o,showNoResults:c,showSkeleton:u,locationRows:d,panelRef:m,inputRef:h,onQueryChange:f,onClear:p,onClose:g,onSelectRow:b}){let v=(0,l.useTranslations)("ContentSearch");return(0,t.jsx)("div",{ref:m,role:"dialog","aria-label":v("panelLabel"),className:(0,r.cn)("absolute top-0 bottom-0 left-20 z-105 flex w-[360px] 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)]","transition-[opacity,translate] duration-150 ease-out",e?"translate-x-0 opacity-100":"pointer-events-none -translate-x-6 opacity-0 rtl:translate-x-6"),children:(0,t.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 pt-6 pr-3 pb-4 pl-6",children:[(0,t.jsx)(x.default,{elementType:"h2",variant:"Body.L.ExtraBold",className:"flex-1 leading-normal text-gray-900",children:v("title")}),(0,t.jsx)("button",{type:"button",onClick:g,"aria-label":v("close"),className:"flex size-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,t.jsx)(et.Close,{className:"size-4"})})]}),(0,t.jsx)("div",{className:"px-4 pt-6 pb-2",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(ey.Search,{"aria-hidden":"true",className:"pointer-events-none absolute start-4 top-1/2 size-4 -translate-y-1/2 text-gray-900"}),(0,t.jsx)("input",{ref:h,type:"search",value:n,onChange:e=>f(e.target.value),placeholder:v("placeholder"),"aria-label":v("inputLabel"),"data-testid":"content-search-input",className:(0,r.cn)("box-border h-12 w-full rounded-3xl border-2 border-gray-100 bg-white ps-10 pe-10","text-base font-medium tracking-[-0.32px] text-gray-900","placeholder:text-gray-400","transition-colors hover:border-blue-500 focus:border-blue-500 focus:outline-none","[&::-webkit-search-cancel-button]:appearance-none")}),n&&(0,t.jsx)("button",{type:"button",onClick:p,"aria-label":v("clear"),className:"absolute end-2 top-1/2 flex size-8 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full text-gray-900 transition-colors hover:bg-gray-100 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none",children:(0,t.jsx)(eN.CloseFilled,{className:"size-4"})})]})}),(0,t.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col gap-1 overflow-y-auto px-3 py-2",children:[o&&(0,t.jsx)(eO,{children:v("trendingStories")}),(0,t.jsx)("p",{"aria-live":"polite",className:"sr-only",children:!n||c||u?"":v("resultCount",{count:i.length})}),u?(0,t.jsx)(eB,{}):c?(0,t.jsx)("div",{className:"flex items-center px-4 pt-4 pb-2",children:(0,t.jsx)("p",{"aria-live":"polite",className:"flex-1 text-center text-sm leading-[1.15] font-medium tracking-[-0.28px] text-gray-900",children:v("noResults",{query:n})})}):(0,t.jsxs)(t.Fragment,{children:[d.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eO,{children:v("locationsHeading")}),(0,t.jsx)("ul",{className:"m-0 flex list-none flex-col gap-1 p-0",children:d.map(e=>(0,t.jsx)(eR,{item:e,onSelect:b},e.url))})]}),d.length>0&&i.length>0&&(0,t.jsx)(eO,{children:v("contentHeading")}),(0,t.jsx)("ul",{className:"m-0 flex list-none flex-col gap-1 p-0",children:i.map(e=>(0,t.jsx)(eP,{item:e,showDate:a,dateStyle:s,onSelect:b},e.id))})]})]})]})})}function eO({children:e}){return(0,t.jsx)("div",{className:"flex items-center px-2 pt-4 pb-2",children:(0,t.jsx)(x.default,{elementType:"h3",variant:"Body.S.Bold",className:"flex-1 leading-[1.15] text-gray-900",children:e})})}function eB(){return(0,t.jsx)("div",{"aria-hidden":"true",className:"flex animate-pulse flex-col gap-1 motion-reduce:animate-none",children:Array.from({length:6},(e,n)=>(0,t.jsxs)("div",{className:"flex items-center gap-4 py-2 pr-4 pl-2",children:[(0,t.jsx)("div",{className:"size-16 shrink-0 rounded-lg bg-gray-200"}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-1",children:[(0,t.jsx)("div",{className:"h-3.5 w-full rounded bg-gray-200"}),(0,t.jsx)("div",{className:"h-3.5 w-3/5 rounded bg-gray-200"}),(0,t.jsx)("div",{className:"mt-1 h-3 w-2/5 rounded bg-gray-200"})]})]},n))})}var eV=e.i(381477),eD=e.i(612977),ez=e.i(695881),eF=e.i(843612),eH=e.i(496124);let e$=(0,ez.createLogger)("ContentSearch");var eq=e.i(763886),eQ=e.i(780708),eW=e.i(647292),eG=e.i(97506);function eK(e){return e.url&&e.title?{id:e.id,title:e.title,url:e.url,thumbnailUrl:e.thumbnailUrl,kind:function(e){switch(e){case"videos":return"video";case"liveblogs":return"liveblog";default:return"article"}}(e.collection),readTimeMinutes:e.readTimeMinutes,watchTimeMinutes:e.watchTimeMinutes,durationSeconds:e.durationSeconds,timestamp:e.publishDate??e.updatedAt}:null}function eY(e){let t=eX(e.overrideTitle,e.title,e.headline),n=eX(e.url,e.assetName);if(!t||!n)return null;let r="video"===e.contentType;return{id:e.id,title:t,url:n,thumbnailUrl:eX(e.overrideThumbnail,e.thumbnail,e.src)??null,kind:r?"video":"article",readTimeMinutes:r?null:eZ(e.readTime),watchTimeMinutes:null,durationSeconds:r?eZ(e.durationSeconds):null,timestamp:eX(e.publishdate,e.createddate)??null}}function eJ(e){let t=eX(e?.pageTitle),n=eX(e?.pageUrl);return t&&n?{url:n,title:t}:null}function eX(...e){for(let t of e)if("string"==typeof t&&t.trim())return t;return null}function eZ(e){return"number"==typeof e&&Number.isFinite(e)?e:null}let e0=(0,ez.createLogger)("ContentSearch:trending");function e1({showDate:e,blended:r}){let l,[a,c]=(0,o.useAtom)(b.sidebarContentSearchOpenAtom),u=(0,H.useSendInteractionEvent)(),d=(0,ew.useRefMemo)(u),[m,h]=(0,n.useState)(""),f=(0,n.useRef)(null),x=(0,n.useRef)(null),[p,g]=(0,n.useState)(a),[v,y]=(0,n.useState)(!1),w=(0,n.useCallback)(()=>c(!1),[c]),{results:j,locations:N,settledQuery:A,isSearching:k,isQueryPending:C,hasQuery:S}=function(e,t=!1){let r=(0,i.useLocale)(),l=e.trim(),a=(0,eD.useDebounce)(e,300).trim(),s=(0,eF.isSearchableContentQuery)(a),o=(0,n.useRef)(new Set),c=(0,n.useCallback)(()=>{for(let e of o.current)e.abort();o.current.clear()},[]);(0,n.useEffect)(()=>()=>c(),[c]);let{data:u,error:d,isValidating:m}=(0,eV.default)(s?["content-search",t?"universal":"content",a,r]:null,([,e,t,n])=>{c();let r=new AbortController;o.current.add(r);let i={query:t,locale:n,limit:10,signal:r.signal};return("universal"===e?(0,eH.searchUniversal)(i):(0,eF.searchContent)(i).then(e=>({content:e,locations:[]}))).finally(()=>o.current.delete(r))},{revalidateOnFocus:!1,dedupingInterval:2e3,keepPreviousData:!0,shouldRetryOnError:!1});return d&&d?.name!=="AbortError"&&e$.error("content search failed",{query:a,error:d}),{results:u?.content??[],locations:u?.locations??[],settledQuery:a,isSearching:s&&m,isQueryPending:(0,eF.isSearchableContentQuery)(l)&&l!==a,hasQuery:s}}(m,r),{items:E}=function(e){let t=(0,o.useAtomValue)(eq.partnerAtom),n=(0,o.useAtomValue)(eW.webViewPlatformAtom),r=(0,o.useAtomValue)(s.pageLocaleAtom),i=(0,eQ.resolveContentChannel)(t??"",n??""),l=e&&!!e_,{data:a,error:c,isLoading:u}=(0,eV.default)(l?["content-search-trending",e_,i,r]:null,([,e,t,n])=>(0,eG.getContentQueryMedia)({queryId:e,channel:t,language:n,limit:6}),{dedupingInterval:3e5,revalidateOnFocus:!1,keepPreviousData:!0,shouldRetryOnError:!1});return c&&e0.error("trending content query failed",{channel:i,locale:r,error:c}),{items:(a??[]).map(eY).filter(e=>null!==e).slice(0,6),isLoading:l&&u}}(a&&!S);(0,n.useEffect)(()=>{if(a){g(!0),d.current({interactionType:"open",interactionElement:"content-search-modal",moduleId:"content-search"});let e=0,t=requestAnimationFrame(()=>{e=requestAnimationFrame(()=>y(!0))});return()=>{cancelAnimationFrame(t),e&&cancelAnimationFrame(e)}}y(!1);let e=setTimeout(()=>{g(!1),h("")},150);return()=>clearTimeout(e)},[a,d]),(0,n.useEffect)(()=>{v&&x.current?.focus()},[v]);let T=(0,n.useRef)(null);(0,n.useEffect)(()=>{if(a){T.current=document.activeElement;return}let e=T.current;T.current=null,e&&f.current?.contains(document.activeElement)&&e.focus()},[a]);let L=(0,n.useRef)(null);(0,n.useEffect)(()=>{S&&L.current!==A&&(L.current=A,d.current({interactionType:"type",interactionElement:"content-search-typeahead",moduleId:"content-search"}))},[S,A,d]);let P=(l=(0,ej.useTrackEvent)(),(0,n.useCallback)(({searchTerm:e,resultCount:t})=>{l("content-search",{searchQuery:e,searchResultCount:t})},[l])),R=(0,n.useRef)(null);if((0,n.useEffect)(()=>{!S||k||R.current!==A&&(R.current=A,P({searchTerm:A,resultCount:j.length}))},[S,k,A,P,j]),(0,n.useEffect)(()=>{a||(R.current=null,L.current=null)},[a]),(0,n.useEffect)(()=>{if(!a)return;let e=e=>{"Escape"===e.key&&w()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[a,w]),(0,n.useEffect)(()=>{if(a)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e);function e(e){let t=e.target;f.current&&t&&!f.current.contains(t)&&!t.closest("[data-content-search-trigger]")&&w()}},[a,w]),!p)return null;let M=S?j.map(eK).filter(e=>null!==e):E,U=S?N.map(eJ).filter(e=>null!==e).slice(0,5):[],_=0===M.length&&0===U.length,I=C||S&&k;return(0,t.jsx)(eI,{visible:v,query:m,rows:M,showDate:e,dateStyle:S?"absolute":"relative",showTrendingHeading:!S&&M.length>0,showNoResults:S&&!I&&_,showSkeleton:I,locationRows:U,panelRef:f,inputRef:x,onQueryChange:h,onClear:()=>{h(""),x.current?.focus()},onClose:w,onSelectRow:w})}var e2=e.i(645968),e5=e.i(624432);function e3({forceCollapsedNavbar:e}){let n=(0,l.useTranslations)("ContentSearch"),{isEnabled:i,showDate:a}=function(){var e;let{value:t}=(0,e2.default)("content-search-desktop-web",eM),n=(e=t)===eM||e===eU||"no-date"===e?t:eM;return{variant:n,isEnabled:n!==eM,showDate:n===eU}}(),s=(0,o.useAtomValue)(e5.contentSearchUniversalAtom),[c,u]=(0,o.useAtom)(b.sidebarContentSearchOpenAtom),{ref:d,isOverDark:m}=v((0,o.useAtomValue)(b.sidebarSuppressDarkAtom)),h=(0,H.useSendInteractionEvent)();if(!i)return null;let f=!e;return(0,t.jsxs)("div",{ref:d,className:"w-full px-3",children:[(0,t.jsxs)("button",{type:"button","data-content-search-trigger":!0,"data-testid":"content-search-trigger","aria-label":n("triggerLabel"),"aria-haspopup":"dialog","aria-expanded":c,onClick:()=>{h({interactionType:"click",interactionElement:"content-search-entry",moduleId:"SidebarNavigation",lockedContent:"false"}),u(e=>!e)},className:(0,r.cn)("box-border flex h-12 cursor-pointer items-center rounded-3xl border transition-colors duration-200","focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none","w-12 justify-center",f&&"xl:w-full xl:justify-start xl:gap-2 xl:ps-3 xl:pe-2",{"border-transparent bg-gray-100 text-blue-500":c,"border-black/10 bg-white text-gray-600 hover:border-transparent hover:bg-gray-100":!c&&!m,"border-white/20 bg-transparent text-white hover:border-transparent hover:bg-white/10":m&&!c,"border-transparent bg-[#252422] text-white hover:bg-[#252422]":m&&c}),children:[(0,t.jsx)(ey.Search,{"aria-hidden":"true",className:"size-6 shrink-0 text-inherit"}),f&&(0,t.jsx)("span",{className:"hidden truncate text-base font-medium tracking-[-0.32px] text-inherit xl:inline",children:n("triggerLabel")})]}),(0,t.jsx)(e1,{showDate:a,blended:s})]})}let e6=()=>{let e,s,c,u,d,x,g,k,_,z,F,H,$,q,Q,W,K,Y,J,Z=(e=(0,j.useChromeLocation)(),s=(0,M.decodeLocId)(e?.placeId||""),c=(0,w.useParams)(),d="string"==typeof(u=c?.featureId)?u:void 0,x=e?.featureId??d,g=e?.canonicalID,k=(0,w.usePathname)(),_=(0,E.usePageLocale)(),z=(0,o.useAtomValue)(T.pageIdAtom),F=(0,o.useAtomValue)(L.newsHubEnabledAtom),H=[(0,R.getPartner)(),(0,R.getSamsungVietnamPartner)()].filter(Boolean),$=(0,l.useTranslations)("SidebarNavigation"),q=(0,P.useVideoNavUrl)(),Q=(0,N.useCanonicalBasePath)(),W=(0,A.useRouteCanonicalBase)(),K=(0,S.useIsSamsungPartner)(),Y=!e&&!d&&!W&&!K&&(0,U.usesRedirChrome)(_),(0,n.useMemo)(()=>{var e,t,n,r,i,l,a,o,c,u,d;let m,h,f,b,v,y,w,j,N=(({navigationData:e,locale:t,partner:n,theme:r,videoUrl:i,pathname:l,locId:a,featureId:s,pageId:o,newsHubEnabled:c,tSidebarNavigation:u,canonicalBasePath:d,linkBasePath:m,canonicalID:h,skipCanonical:f,linkViaRedir:x})=>{let p=e.filter(O({filteredPropName:"Locales",filteredPropValue:t})).filter(O({filteredPropName:"Partners",filteredPropValue:n})).filter(O({filteredPropName:"Themes",filteredPropValue:r})).filter(B(c)).map(e=>"links"in e?{...e,links:e.links.filter(O({filteredPropName:"Locales",filteredPropValue:t})).filter(O({filteredPropName:"Partners",filteredPropValue:n})).filter(O({filteredPropName:"Themes",filteredPropValue:r})).filter(B(c))}:e);return I({navigationData:p=p.filter(e=>!("links"in e)||e.links.length>0),locale:t,partner:n,theme:r,videoUrl:i,pathname:l,locId:a,featureId:s,pageId:o,tSidebarNavigation:u,canonicalBasePath:d,linkBasePath:m,canonicalID:h,skipCanonical:f,linkViaRedir:x})})({locId:s,featureId:x,pathname:k,videoUrl:q,navigationData:JSON.parse(JSON.stringify(p.NAVIGATION_DATA)),locale:_,pageId:z,newsHubEnabled:F,partner:H,tSidebarNavigation:$,canonicalBasePath:Q,linkBasePath:W,canonicalID:g,skipCanonical:K,linkViaRedir:Y,theme:""});return e=N,t=s,n=_,r=k,i=$,l=Q,a=x,o=g,c=K,u=W,d=Y,m=e.filter(e=>"links"in e||!D.some(t=>e.url.includes(t))),h=d?(0,U.redirHref)("today",n):(0,C.buildLocationPageHref)({pageType:"today",locale:n,canonicalID:o,featureId:a,placeId:t,canonicalBasePath:u??l,skipCanonical:c}),f=l?["today","hourbyhour","tenday"].includes(r.split("/").pop()??""):r.includes("/weather/today/")||r.includes("/weather/hourbyhour/")||r.includes("/weather/tenday/"),v=r===(b="en-US"===n?"/":`/${n}`)||r===`${b}/`,y={title:i("forecasts"),url:h,icon:"PartlyCloudyBold",isActive:f||v},w=new Set([b,`/${n}`]),j=m.findIndex(e=>!("links"in e)&&w.has(e.url)),m.splice(j>=0?j+1:0,0,y),N=m},[s,x,g,k,q,_,z,F,H,Q,W,K,Y])),ee=(J=(0,w.usePathname)()).includes("/subscribe")||J.includes("/radar/interactive")||V.test(J)||J.includes("/signup"),et=(0,i.useLocale)(),en=(0,a.interpolateUrl)(a.URLS.home,{locale:et}),er=(0,l.useTranslations)("SidebarNavigation"),ei=(0,o.useSetAtom)(b.sidebarHoveredAtom),el=(0,o.useSetAtom)(b.sidebarFocusedAtom),ea=(0,o.useAtomValue)(b.sidebarSuppressDarkAtom);(0,n.useEffect)(()=>()=>{ei(!1),el(!1)},[ei,el]);let{ref:es,isOverDark:eo}=v(ea),ec="desktop"===(0,o.useAtomValue)(ev.deviceClassAtom),ed=(0,S.useIsSamsungPartner)(),em=ec&&!ed&&"en-US"===et,eh=(0,o.useAtomValue)(b.sidebarContentSearchOpenAtom),ef=ee||eh;return(0,t.jsxs)("div",{className:"z-nav sticky top-0 hidden md:block",children:[(0,t.jsxs)("nav",{onMouseEnter:()=>ei(!0),onMouseLeave:()=>ei(!1),onFocusCapture:()=>el(!0),onBlurCapture:e=>{e.currentTarget.contains(e.relatedTarget)||el(!1)},className:(0,r.cn)("relative top-0 box-content flex h-full h-screen w-20 flex-col gap-8 leading-none transition-colors duration-200 max-xl:items-center",ea?"bg-white":"bg-white/0",{"xl:w-[200px]":!ee}),"data-component":"sidebar-navigation","data-testid":"sidebar-navigation","aria-label":er("siteNavigationLinks"),children:[(0,t.jsxs)("div",{ref:es,className:(0,r.cn)("mb-0 flex flex-wrap items-center justify-center gap-4 pt-4 leading-none xl:px-4",{"xl:justify-start":!ee}),children:[(0,t.jsx)(m.default,{href:en,sourceModule:"sidebarNavigation",children:(0,t.jsx)(f.default,{className:(0,r.cn)("h-12 w-auto transition-colors duration-200",eo?"text-white":"text-[#003399]")})}),(0,t.jsx)(h,{})]}),em&&(0,t.jsx)(e3,{forceCollapsedNavbar:ef}),(0,t.jsxs)("ul",{className:(0,r.cn)("m-0 flex w-full flex-col gap-1 px-3",{"xl:w-20":ee}),children:[Z.filter(e=>!e.links).map(e=>(0,t.jsx)(y,{link:e,forceCollapsedNavbar:ee,iconOnly:eh},e.title)),(0,t.jsx)(X,{forceCollapsedNavbar:ee,iconOnly:eh})]}),(0,t.jsxs)("ul",{className:(0,r.cn)("m-0 flex w-full flex-col gap-1 px-3",{"xl:w-20":ee}),children:[(0,t.jsx)(eb,{forceCollapsedNavbar:ee,iconOnly:eh}),(0,t.jsx)(G,{forceCollapsedNavbar:ee,iconOnly:eh})]})]}),(0,t.jsx)(eu,{})]})};e.s(["SidebarNavigation",0,e6,"default",0,e6],906361)},475823,e=>{"use strict";let t=["today","hourly","tenday","monthly","radar","allergy","air-quality","cold-flu"],n=["de-DE","es-US"];e.s(["isRedirPage",0,function(e){return t.includes(e)},"redirHref",0,(e,t)=>{let n=new URLSearchParams({id:"autodetect",page:e,locale:t});return`/redir?${n}`},"usesRedirChrome",0,function(e){return!n.includes(e)}])},843612,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CONTENT_SEARCH_MIN_QUERY_LENGTH=void 0,n.isSearchableContentQuery=function(e){let t=e.trim();return t.split(/\s+/).filter(Boolean).length>=2||t.length>=n.CONTENT_SEARCH_MIN_QUERY_LENGTH},n.searchContent=i;let r=e.r(414655);async function i({query:e,locale:t="en-US",limit:n=10,signal:l}){let a=new URLSearchParams({query:e,type:"content",locale:t,limit:String(n)}),s=await fetch(`/api/universal-search?${a}`,{signal:l,cache:"no-store"}),o=await (0,r.handleFetchResponse)(s);return Array.isArray(o?.content)?o.content:[]}n.CONTENT_SEARCH_MIN_QUERY_LENGTH=3},496124,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.searchUniversal=i;let r=e.r(414655);async function i({query:e,locale:t="en-US",limit:n=10,signal:l}){let a=new URLSearchParams({query:e,type:"universal",locale:t,limit:String(n)}),s=await fetch(`/api/universal-search?${a}`,{signal:l,cache:"no-store"}),o=await (0,r.handleFetchResponse)(s);return{locations:Array.isArray(o?.locations)?o.locations:[],content:Array.isArray(o?.content)?o.content:[]}}n.default=i}]);