(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=[{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 u=e.i(37429),d=e.i(240058);let m=e=>{let{classname:n}=e,i=(0,o.useAtomValue)(s.pageLocaleAtom),{url:l,cobrandIconSrc:a}=c.find(e=>e.locales.includes(i))||{};return l&&a?(0,t.jsx)("span",{className:"flex",children:(0,t.jsx)(d.default,{href:l,target:"_blank",className:(0,r.cn)("relative p-0",n,{"de-DE":"de-DE"===i}),children:(0,t.jsx)(u.default,{className:"h-6 w-auto max-w-none",src:a,alt:"focus logo",rounded:!1})})}):null};var f=e.i(458645),h=e.i(368847),x=e.i(379276),p=e.i(316810),g=e.i(436066);function b(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 v=({link:e,role:n,forceCollapsedNavbar:i,iconOnly:l})=>{let a=(0,o.useAtomValue)(g.sidebarMoreOpenAtom),s=(0,o.useAtomValue)(g.sidebarContentSearchOpenAtom),c=e.isActive&&!a&&!s,u=x.navigationIconsMap[`${e.icon}${c?"Active":""}`],{ref:m,isOverDark:f}=b((0,o.useAtomValue)(g.sidebarSuppressDarkAtom));return(0,t.jsx)("li",{ref:m,children:(0,t.jsxs)(d.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":f&&!c,"bg-[#252422] text-white":f&&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)(h.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)(p.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 y=e.i(725287),w=e.i(281687),j=e.i(559421),N=e.i(388706),A=e.i(304116),k=e.i(269153),C=e.i(537989),S=e.i(495110);e.i(647872);var E=e.i(494889),T=e.i(190344),L=e.i(959194);e.i(304158);var P=e.i(485737),M=e.i(258990);let R=Object.fromEntries(N.SIDEBAR_CANONICAL_LINKS.map(e=>[a.URLS[e.urlKey],e.segment])),_=({navigationData:e,locale:t,geoIPCountry:n,partner:r,theme:i,videoUrl:l,pathname:s,locId:o,featureId:c,pageId:u,tSidebarNavigation:d,canonicalBasePath:m,canonicalID:f,skipCanonical:h})=>e.reduce((e,x)=>{if("links"in x){let a=_({navigationData:x.links,locale:t,geoIPCountry:n,partner:r,theme:i,videoUrl:l,pathname:s,locId:o,featureId:c,pageId:u,tSidebarNavigation:d,canonicalBasePath:m,canonicalID:f,skipCanonical:h});e.push({title:x.title,links:a})}else{let n;if(x.dynamicVideoUrl)n=l;else{let e=R[x.url];n=e?(0,A.buildLocationPageHref)({pageType:e,locale:t,canonicalID:f,featureId:c,placeId:o,canonicalBasePath:m,skipCanonical:h}):(0,a.interpolateLocationUrl)(x.url,{locale:t,locId:o,featureId:c})}if(!n)return e;let r=x.titleTranslationKey?d(x.titleTranslationKey):x.title,i=(x.matchNestedPaths?s===n||s.startsWith(`${n}/`):s===n)||!!x.activePageIds?.includes(u??"");e.push({title:r,url:n,icon:x.icon,showNewBadge:x.showNewBadge,lockWhenActive:x.lockWhenActive,...i&&{isActive:i}})}return e},[]),U=({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))},I=e=>t=>void 0===t.requiresNewsHub||t.requiresNewsHub===e,V=/\/radar\/?$/,O=["/weather/today/","/weather/hourbyhour/","/weather/tenday/"];var B=e.i(995113),D=e.i(47524),z=e.i(598513),F=e.i(513513),H=e.i(889753),$=e.i(837879),q=e.i(683199);let Q=({forceCollapsedNavbar:e,iconOnly:n})=>{let i=(0,o.useAtomValue)(H.userTierAtom),l=(0,F.isUserTierPremium)(i),a=(0,z.useSendInteractionEvent)(),s=(0,$.useSubscriptionsEnabled)(),c=(0,q.usePremiumSource)();return l||!s?null:(0,t.jsx)("li",{children:(0,t.jsxs)(d.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)(B.LightningFilled,{className:(0,r.cn)("relative z-2 w-6 shrink-0 text-white",{"xl:mr-3":!e})}),(0,t.jsxs)(h.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)(D.ChevronRight,{className:(0,r.cn)("relative z-2 ml-auto hidden w-4 shrink-0 text-white",{"xl:block":!e})})]})})};var G=e.i(747961);let K=(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"})})]})),W=n.default.forwardRef((e,n)=>(0,t.jsx)(G.BaseIcon,{ref:n,icon:K,...e}));W.displayName="OverflowMenuHorizontal";let Y=({forceCollapsedNavbar:e,iconOnly:n})=>{let i=(0,l.useTranslations)("SidebarNavigation"),[a,s]=(0,o.useAtom)(g.sidebarMoreOpenAtom),{ref:c,isOverDark:u}=b((0,o.useAtomValue)(g.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)(W,{className:(0,r.cn)("w-6 shrink-0 text-inherit",{"xl:mr-3":!e})}),(0,t.jsx)(h.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 J=e.i(965586),X=e.i(553329),Z=e.i(226602),ee=e.i(617874),et=e.i(166763),en=e.i(314552),er=e.i(674885),ei=e.i(776169),el=e.i(35137),ea=e.i(121301);let es=new Set(["article","video","index"]);function eo(){let e=(0,l.useTranslations)("SidebarNavigation"),i=(0,o.useAtomValue)(g.sidebarMoreOpenAtom),s=(0,o.useSetAtom)(g.sidebarMoreOpenAtom),c=(0,o.useAtomValue)(er.isImperialUnitsAtom),u=(0,o.useAtomValue)(er.isMetricUnitsAtom),d=(0,o.useAtomValue)(er.isHybridUnitsAtom),m=(0,y.useParams)(),f=m?.locale||en.defaultLocale,x=m?.locId,p=(0,o.useAtomValue)(C.pageIdAtom),{updatePreferences:b}=(0,ei.usePreferences)(),v=(0,o.useAtomValue)(H.userPreferencesAtom),w=(0,n.useRef)(null),[j,N]=(0,n.useState)(!1),[A,k]=(0,n.useState)(i),[S,E]=(0,n.useState)(!1),T=(0,n.useCallback)(()=>s(!1),[s]);(0,n.useEffect)(()=>{let e=(0,J.getCookie)("unitOfMeasurement")?.toString();if(!e)return;let t=(0,ee.unitsSystemByCode)(e),n=t?.name;n&&n!==v?.unit&&b({unit:n})},[b,v?.unit]);let L=async e=>{let{error:t}=await (0,X.tryCatch)(b({unit:e}));t&&console.error("Failed to update unit preference:",t)},P=async e=>{let t=(0,et.convertLocaleFormat)(e),{error:n}=await (0,X.tryCatch)(b({locale:t}));if(n)return void console.error("Failed to update locale preference:",n);if((0,J.setCookie)("sitePref",e,{domain:`.${window.location.hostname}`}),T(),p&&es.has(p)){window.location.href=e===en.defaultLocale?"/":`/${e}`;return}let r=p?a.URLS[p]:void 0,i=r&&x?(0,a.interpolateUrl)(r,{locale:e,locId:x}):null;if(i){window.location.href=i;return}let l=f!==en.defaultLocale&&window.location.pathname.startsWith(`/${f}`)?window.location.pathname.slice(`/${f}`.length)||"/":window.location.pathname;window.location.href=e===en.defaultLocale?l:`/${e}${l}`};return((0,n.useEffect)(()=>{if(i){k(!0);let e=0,t=requestAnimationFrame(()=>{e=requestAnimationFrame(()=>E(!0))});return()=>{cancelAnimationFrame(t),e&&cancelAnimationFrame(e)}}E(!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):T())};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[i,j,T]),(0,n.useEffect)(()=>{if(i)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e);function e(e){let t=e.target;w.current&&t&&!w.current.contains(t)&&!t.closest("[data-settings-menu-trigger]")&&T()}},[i,T]),A)?(0,t.jsx)("div",{ref:w,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",S?"translate-x-0 opacity-100":"pointer-events-none -translate-x-6 opacity-0 rtl:translate-x-6"),children:j?(0,t.jsx)(el.default,{locale:f,LOCALE_DATA:et.LOCALE_DATA,handleLocaleChange:P,onBack:()=>N(!1),onClose:T}):(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)(h.default,{elementType:"h2",variant:"Title.S",className:"text-gray-900",children:e("more")}),(0,t.jsx)("button",{type:"button",onClick:T,"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)(Z.Close,{className:"h-4 w-4"})})]}),(0,t.jsx)(ea.default,{isImperial:c,isMetric:u,isHybrid:d,locale:f,LOCALE_DATA:et.LOCALE_DATA,handleUnitChange:L,onOpenLocationLanguage:()=>N(!0)})]})}):null}let ec=(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"})]})]})),eu=n.default.forwardRef((e,n)=>(0,t.jsx)(G.BaseIcon,{ref:n,icon:ec,...e}));function ed({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"})]})}eu.displayName="UserAvatar";var em=e.i(809058),ef=e.i(877957),eh=e.i(528600),ex=e.i(731672);let ep=({forceCollapsedNavbar:e,iconOnly:s})=>{let{user:c,userProfile:u}=(0,eh.useUser)(),{isUserLoggedIn:m,isUserPremium:f,isUserAdFree:x}=c,p=(0,ex.useUserLogout)(),v=(0,$.useSubscriptionsEnabled)(),y=(0,l.useTranslations)("SidebarNavigation"),w=(0,l.useTranslations)("UserRegistration"),j=(0,i.useLocale)(),N=(0,q.usePremiumSource)(),[A,k]=(0,o.useAtom)(g.sidebarAccountOpenAtom);(0,n.useEffect)(()=>()=>k(!1),[k]);let{ref:C,isOverDark:S}=b((0,o.useAtomValue)(g.sidebarSuppressDarkAtom));return m?(0,t.jsx)("li",{ref:C,children:(0,t.jsxs)(em.Popover,{open:A,onOpenChange:k,children:[(0,t.jsx)(em.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)(h.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)(em.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)(d.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)(ed,{firstName:u?.firstName,isPremium:f,isAdFree:x}),(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)(h.default,{variant:"Body.S",children:u?.firstName}),(0,t.jsx)(h.default,{className:"text-sm text-gray-500 hover:text-gray-700",children:w("manageAccount")})]})]})}),!f&&v&&(0,t.jsxs)("div",{className:"flex flex-col gap-3 border-t border-gray-200 p-4",children:[(0,t.jsx)(h.default,{variant:"Body.L",className:"font-semibold",children:"Unlock our full potential"}),(0,t.jsx)(h.default,{children:"Try our best radar and forecasting features for weather planning."}),(0,t.jsx)(d.default,{href:"/subscribe?tpcc=mktg-today-mainmenu-flyout",onClick:()=>N({sourceModule:"leftrail-menu",sourceElement:"get-premium"}),children:(0,t.jsx)(ef.Button,{variant:"default",children:"Go Premium"})})]})]}),(0,t.jsx)("div",{className:"border-t border-gray-200 p-2",children:(0,t.jsx)(ef.Button,{variant:"link",onClick:p,"data-testid":"sidebar-profile-signout",children:w("signOut")})})]})})]})}):(0,t.jsx)("li",{ref:C,children:(0,t.jsxs)(d.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)(eu,{className:(0,r.cn)("w-6 shrink-0 text-white",{"xl:mr-3":!e})}),(0,t.jsx)(h.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 eg=e.i(663333),eb=e.i(274432),ev=e.i(792461),ey=e.i(18358),ew=e.i(768864),ej=e.i(123590),eN=e.i(957174),eA=e.i(956667);let ek=(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"})})]})),eC=n.default.forwardRef((e,n)=>(0,t.jsx)(G.BaseIcon,{ref:n,icon:ek,...e}));eC.displayName="Blog";let eS={article:eN.Book,video:eA.VideoPlayer,liveblog:eC};function eE({item:e,showDate:a,dateStyle:s,onSelect:o}){let c=(0,l.useTranslations)("ContentSearch"),m=(0,l.useFormatter)(),f=(0,i.useNow)(),h=(0,ej.useTrackContentLinkClick)(),x=eS[e.kind]??eN.Book,p=(0,n.useCallback)(()=>{h({linkType:"internal",linkURL:e.url,linkText:e.title,moduleId:"content-search"}),o()},[h,e.url,e.title,o]),g=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&&nm.relativeTime(e,f),formatDate:e=>m.dateTime(e,{month:"short",day:"numeric",year:"numeric"})});return(0,t.jsx)("li",{children:(0,t.jsxs)(d.default,{href:e.url,onClick:p,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)(u.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}),g&&(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)(x,{"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:g})]})]})]})})}function eT({item:e,onSelect:i}){let l=(0,z.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)(d.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 eL="control",eP="all-metadata",eM="69175b02ea24c7c105fbb4fc";function eR({visible:e,query:n,rows:i,showDate:a,dateStyle:s,showTrendingHeading:o,showNoResults:c,showSkeleton:u,locationRows:d,panelRef:m,inputRef:f,onQueryChange:x,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)(h.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)(Z.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)(eb.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:f,type:"search",value:n,onChange:e=>x(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)(ew.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)(e_,{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)(eU,{}):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)(e_,{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)(eT,{item:e,onSelect:b},e.url))})]}),d.length>0&&i.length>0&&(0,t.jsx)(e_,{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)(eE,{item:e,showDate:a,dateStyle:s,onSelect:b},e.id))})]})]})]})})}function e_({children:e}){return(0,t.jsx)("div",{className:"flex items-center px-2 pt-4 pb-2",children:(0,t.jsx)(h.default,{elementType:"h3",variant:"Body.S.Bold",className:"flex-1 leading-[1.15] text-gray-900",children:e})})}function eU(){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 eI=e.i(381477),eV=e.i(612977),eO=e.i(695881),eB=e.i(843612),eD=e.i(89022);let ez=(0,eO.createLogger)("ContentSearch");var eF=e.i(763886),eH=e.i(780708),e$=e.i(647292),eq=e.i(97506);function eQ(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 eG(e){let t=eW(e.overrideTitle,e.title,e.headline),n=eW(e.url,e.assetName);if(!t||!n)return null;let r="video"===e.contentType;return{id:e.id,title:t,url:n,thumbnailUrl:eW(e.overrideThumbnail,e.thumbnail,e.src)??null,kind:r?"video":"article",readTimeMinutes:r?null:eY(e.readTime),watchTimeMinutes:null,durationSeconds:r?eY(e.durationSeconds):null,timestamp:eW(e.publishdate,e.createddate)??null}}function eK(e){let t=eW(e?.pageTitle),n=eW(e?.pageUrl);return t&&n?{url:n,title:t}:null}function eW(...e){for(let t of e)if("string"==typeof t&&t.trim())return t;return null}function eY(e){return"number"==typeof e&&Number.isFinite(e)?e:null}let eJ=(0,eO.createLogger)("ContentSearch:trending");function eX({showDate:e,blended:r}){let l,[a,c]=(0,o.useAtom)(g.sidebarContentSearchOpenAtom),u=(0,z.useSendInteractionEvent)(),d=(0,ev.useRefMemo)(u),[m,f]=(0,n.useState)(""),h=(0,n.useRef)(null),x=(0,n.useRef)(null),[p,b]=(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,eV.useDebounce)(e,300).trim(),s=(0,eB.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,eI.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,eD.searchUniversal)(i):(0,eB.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"&&ez.error("content search failed",{query:a,error:d}),{results:u?.content??[],locations:u?.locations??[],settledQuery:a,isSearching:s&&m,isQueryPending:(0,eB.isSearchableContentQuery)(l)&&l!==a,hasQuery:s}}(m,r),{items:E}=function(e){let t=(0,o.useAtomValue)(eF.partnerAtom),n=(0,o.useAtomValue)(e$.webViewPlatformAtom),r=(0,o.useAtomValue)(s.pageLocaleAtom),i=(0,eH.resolveContentChannel)(t??"",n??""),l=e&&!!eM,{data:a,error:c,isLoading:u}=(0,eI.default)(l?["content-search-trending",eM,i,r]:null,([,e,t,n])=>(0,eq.getContentQueryMedia)({queryId:e,channel:t,language:n,limit:6}),{dedupingInterval:3e5,revalidateOnFocus:!1,keepPreviousData:!0,shouldRetryOnError:!1});return c&&eJ.error("trending content query failed",{channel:i,locale:r,error:c}),{items:(a??[]).map(eG).filter(e=>null!==e).slice(0,6),isLoading:l&&u}}(a&&!S);(0,n.useEffect)(()=>{if(a){b(!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(()=>{b(!1),f("")},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&&h.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,ey.useTrackEvent)(),(0,n.useCallback)(({searchTerm:e,resultCount:t})=>{l("content-search",{searchQuery:e,searchResultCount:t})},[l])),M=(0,n.useRef)(null);if((0,n.useEffect)(()=>{!S||k||M.current!==A&&(M.current=A,P({searchTerm:A,resultCount:j.length}))},[S,k,A,P,j]),(0,n.useEffect)(()=>{a||(M.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;h.current&&t&&!h.current.contains(t)&&!t.closest("[data-content-search-trigger]")&&w()}},[a,w]),!p)return null;let R=S?j.map(eQ).filter(e=>null!==e):E,_=S?N.map(eK).filter(e=>null!==e).slice(0,5):[],U=0===R.length&&0===_.length,I=C||S&&k;return(0,t.jsx)(eR,{visible:v,query:m,rows:R,showDate:e,dateStyle:S?"absolute":"relative",showTrendingHeading:!S&&R.length>0,showNoResults:S&&!I&&U,showSkeleton:I,locationRows:_,panelRef:h,inputRef:x,onQueryChange:f,onClear:()=>{f(""),x.current?.focus()},onClose:w,onSelectRow:w})}var eZ=e.i(645968),e0=e.i(624432);function e1({forceCollapsedNavbar:e}){let n=(0,l.useTranslations)("ContentSearch"),{isEnabled:i,showDate:a}=function(){var e;let{value:t}=(0,eZ.default)("content-search-desktop-web",eL),n=(e=t)===eL||e===eP||"no-date"===e?t:eL;return{variant:n,isEnabled:n!==eL,showDate:n===eP}}(),s=(0,o.useAtomValue)(e0.contentSearchUniversalAtom),[c,u]=(0,o.useAtom)(g.sidebarContentSearchOpenAtom),{ref:d,isOverDark:m}=b((0,o.useAtomValue)(g.sidebarSuppressDarkAtom)),f=(0,z.useSendInteractionEvent)();if(!i)return null;let h=!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:()=>{f({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",h&&"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)(eb.Search,{"aria-hidden":"true",className:"size-6 shrink-0 text-inherit"}),h&&(0,t.jsx)("span",{className:"hidden truncate text-base font-medium tracking-[-0.32px] text-inherit xl:inline",children:n("triggerLabel")})]}),(0,t.jsx)(eX,{showDate:a,blended:s})]})}let e2=()=>{let e,c,u,h,p,N,R,B,D,z,F,H,$,q,G,K,W,J,X,Z,ee=(e=(0,w.useChromeLocation)(),c=(0,M.decodeLocId)(e?.placeId||""),u=(0,y.useParams)(),p="string"==typeof(h=u?.featureId)?h:void 0,N=e?.featureId??p,R=e?.canonicalID,B=(0,y.usePathname)(),D=(0,o.useAtomValue)(s.pageLocaleAtom),z=(0,o.useAtomValue)(C.pageIdAtom),F=(0,S.useIsHydratingRender)(),H=(0,o.useAtomValue)(P.geoipCountry),$=(F?"":H)||"",q=(0,o.useAtomValue)(E.newsHubEnabledAtom),G=[(0,L.getPartner)(),(0,L.getSamsungVietnamPartner)()].filter(Boolean),K=(0,l.useTranslations)("SidebarNavigation"),W=(0,T.useVideoNavUrl)(),J=(0,j.useCanonicalBasePath)(),X=(0,k.useIsSamsungPartner)(),(0,n.useMemo)(()=>{var e,t,n,r,i,l,a,s,o;let u,d,m,f,h,p,g,b,v=(({navigationData:e,locale:t,geoIPCountry:n,partner:r,theme:i,videoUrl:l,pathname:a,locId:s,featureId:o,pageId:c,newsHubEnabled:u,tSidebarNavigation:d,canonicalBasePath:m,canonicalID:f,skipCanonical:h})=>{let x=e.filter(U({filteredPropName:"Locales",filteredPropValue:t})).filter(U({filteredPropName:"Partners",filteredPropValue:r})).filter(U({filteredPropName:"Themes",filteredPropValue:i})).filter(U({filteredPropName:"GeoIP",filteredPropValue:n})).filter(I(u)).map(e=>"links"in e?{...e,links:e.links.filter(U({filteredPropName:"Locales",filteredPropValue:t})).filter(U({filteredPropName:"Partners",filteredPropValue:r})).filter(U({filteredPropName:"Themes",filteredPropValue:i})).filter(U({filteredPropName:"GeoIP",filteredPropValue:n})).filter(I(u))}:e);return _({navigationData:x=x.filter(e=>!("links"in e)||e.links.length>0),locale:t,geoIPCountry:n,partner:r,theme:i,videoUrl:l,pathname:a,locId:s,featureId:o,pageId:c,tSidebarNavigation:d,canonicalBasePath:m,canonicalID:f,skipCanonical:h})})({locId:c,featureId:N,pathname:B,videoUrl:W,navigationData:JSON.parse(JSON.stringify(x.NAVIGATION_DATA)),locale:D,pageId:z,newsHubEnabled:q,geoIPCountry:$,partner:G,tSidebarNavigation:K,canonicalBasePath:J,canonicalID:R,skipCanonical:X,theme:""});return e=v,t=c,n=D,r=B,i=K,l=J,a=N,s=R,o=X,u=e.filter(e=>"links"in e||!O.some(t=>e.url.includes(t))),d=(0,A.buildLocationPageHref)({pageType:"today",locale:n,canonicalID:s,featureId:a,placeId:t,canonicalBasePath:l,skipCanonical:o}),m=l?["today","hourbyhour","tenday"].includes(r.split("/").pop()??""):r.includes("/weather/today/")||r.includes("/weather/hourbyhour/")||r.includes("/weather/tenday/"),h=r===(f="en-US"===n?"/":`/${n}`)||r===`${f}/`,p={title:i("forecasts"),url:d,icon:"PartlyCloudyBold",isActive:m||h},g=new Set([f,`/${n}`]),b=u.findIndex(e=>!("links"in e)&&g.has(e.url)),u.splice(b>=0?b+1:0,0,p),v=u},[c,N,R,B,W,D,z,q,G,J,X])),et=(Z=(0,y.usePathname)()).includes("/subscribe")||Z.includes("/radar/interactive")||V.test(Z)||Z.includes("/signup"),en=(0,i.useLocale)(),er=(0,a.interpolateUrl)(a.URLS.home,{locale:en}),ei=(0,l.useTranslations)("SidebarNavigation"),el=(0,o.useSetAtom)(g.sidebarHoveredAtom),ea=(0,o.useSetAtom)(g.sidebarFocusedAtom),es=(0,o.useAtomValue)(g.sidebarSuppressDarkAtom);(0,n.useEffect)(()=>()=>{el(!1),ea(!1)},[el,ea]);let{ref:ec,isOverDark:eu}=b(es),ed="desktop"===(0,o.useAtomValue)(eg.deviceClassAtom),em=(0,k.useIsSamsungPartner)(),ef=ed&&!em&&"en-US"===en,eh=(0,o.useAtomValue)(g.sidebarContentSearchOpenAtom),ex=et||eh;return(0,t.jsxs)("div",{className:"z-nav sticky top-0 hidden md:block",children:[(0,t.jsxs)("nav",{onMouseEnter:()=>el(!0),onMouseLeave:()=>el(!1),onFocusCapture:()=>ea(!0),onBlurCapture:e=>{e.currentTarget.contains(e.relatedTarget)||ea(!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",es?"bg-white":"bg-white/0",{"xl:w-[200px]":!et}),"data-component":"sidebar-navigation","data-testid":"sidebar-navigation","aria-label":ei("siteNavigationLinks"),children:[(0,t.jsxs)("div",{ref:ec,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":!et}),children:[(0,t.jsx)(d.default,{href:er,sourceModule:"sidebarNavigation",children:(0,t.jsx)(f.default,{className:(0,r.cn)("h-12 w-auto transition-colors duration-200",eu?"text-white":"text-[#003399]")})}),(0,t.jsx)(m,{})]}),ef&&(0,t.jsx)(e1,{forceCollapsedNavbar:ex}),(0,t.jsxs)("ul",{className:(0,r.cn)("m-0 flex w-full flex-col gap-1 px-3",{"xl:w-20":et}),children:[ee.filter(e=>!e.links).map(e=>(0,t.jsx)(v,{link:e,forceCollapsedNavbar:et,iconOnly:eh},e.title)),(0,t.jsx)(Y,{forceCollapsedNavbar:et,iconOnly:eh})]}),(0,t.jsxs)("ul",{className:(0,r.cn)("m-0 flex w-full flex-col gap-1 px-3",{"xl:w-20":et}),children:[(0,t.jsx)(ep,{forceCollapsedNavbar:et,iconOnly:eh}),(0,t.jsx)(Q,{forceCollapsedNavbar:et,iconOnly:eh})]})]}),(0,t.jsx)(eo,{})]})};e.s(["SidebarNavigation",0,e2,"default",0,e2],906361)},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},89022,(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}]);