(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,995181,e=>{"use strict";var t=e.i(902875),r=e.i(247865),i=e.i(546446),n=e.i(730921),a=e.i(581014),l=e.i(965586),o=e.i(632137),s=e.i(226602),c=e.i(611540);let I=(0,e.i(981030).atom)(!1),u="tou-notice-dismissed",_=new Date("2027-04-30");var d=e.i(498076),E=e.i(725296),N=e.i(1567),R=e.i(947118),A=e.i(782552);let T=[E.Regime.GDPR,E.Regime.LGPD,E.Regime.EXEMPT,E.Regime.LATAM_CO,E.Regime.LATAM_DO,E.Regime.LATAM_PE,E.Regime.USA,E.Regime.USA_CCPA,E.Regime.USA_CO,E.Regime.USA_CT,E.Regime.USA_VA,E.Regime.CA,E.Regime.TR_KVKK,E.Regime.KR,E.Regime.JP,E.Regime.CA_QC],S=new Date("2026-05-30"),g=({regime:e,className:E})=>{let g=(0,a.useTranslations)("TouNotice"),h=(0,n.useLocale)(),m=(0,c.interpolateUrl)(c.URLS.termsOfUse,{locale:h}),C=(0,c.interpolateUrl)(c.URLS.privacyPolicy,{locale:h}),[D,f]=(0,i.useAtom)(I),p=(0,r.useRef)(null),L=(0,r.useRef)(!1),y=(0,d.useIsMobile)(),O=(0,R.useIsInitialized)(),b=(0,N.useTrackModuleViewed)(),w=(0,A.useTrackModuleViewed)(),v=(0,r.useRef)(!1),[H,W]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let e=(0,l.getCookie)("partner")?.toString().toLowerCase();W(e?.includes("samsung")??!1)},[]);let G=T.includes(e),M=new Date{G&&M&&((0,l.getCookie)(u)||f(!0))},[G,M,f]),(0,r.useEffect)(()=>{D&&G&&M&&O&&!L.current&&(L.current=!0,b({moduleId:"PP and TOU pop-up notification",modulePosition:0}))},[D,G,M,O,b]),(0,r.useEffect)(()=>{D&&G&&M&&!v.current&&(v.current=!0,w({moduleId:"PP and TOU pop-up notification",modulePosition:0}))},[D,G,M,w]);let x=(0,r.useCallback)(()=>{(0,l.setCookie)(u,"true",{expires:_}),f(!1)},[f]);if((0,r.useEffect)(()=>{if(!D||y)return;let e=e=>{p.current&&!p.current.contains(e.target)&&x()},t=setTimeout(()=>{window.addEventListener("click",e)},100);return()=>{clearTimeout(t),window.removeEventListener("click",e)}},[D,y,x]),!D||!G||!M)return null;let k=g("heading"),P="text-[#252422] underline hover:text-[#252422]/80",Y=g.rich("message",{updatedTerms:e=>(0,t.jsx)("a",{href:m,target:"_blank",rel:"noopener noreferrer",className:P,children:e}),privacyPolicy:e=>(0,t.jsx)("a",{href:C,target:"_blank",rel:"noopener noreferrer",className:P,children:e})}),U=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mb-2 flex items-start justify-between",children:[(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsx)("h4",{className:"m-0 text-base font-bold text-[#252422]",children:k})}),(0,t.jsx)("button",{onClick:x,className:"ml-2 flex h-6 w-6 items-center justify-center rounded-full text-[#252422] hover:bg-[#252422]/10 focus-visible:ring-2 focus-visible:ring-[#252422]/40 focus-visible:outline-none","aria-label":"Dismiss notice",children:(0,t.jsx)(s.Close,{className:"h-4 w-4"})})]}),(0,t.jsx)("div",{className:"text-sm leading-tight font-medium text-[#252422]",children:Y})]});return y?(0,t.jsx)("div",{className:(0,o.cn)(H?"bg-white":"bg-[#CBDEF0]","mx-4 mt-4 rounded-2xl p-4",E),"aria-label":"Privacy and Terms of Use Notice",children:U}):(0,t.jsx)("div",{"aria-label":"Privacy and Terms of Use Notice",className:(0,o.cn)("relative",E),children:(0,t.jsx)("div",{ref:p,className:(0,o.cn)("z-toast fixed right-5 bottom-5 w-full max-w-[432px] rounded-2xl p-6 shadow-lg",H?"bg-white":"bg-[#CBDEF0]"),children:U})})};e.s(["PrivacyTOUNoticeClient",0,g,"default",0,g],995181)},247977,748315,e=>{"use strict";var t=e.i(902875),r=e.i(247865),i=e.i(581014),n=e.i(725287),a=e.i(611540),l=e.i(388706),o=e.i(304116),s=e.i(269153),c=e.i(457492),I=e.i(258990);e.s(["ForecastSubnav",0,function({placeId:e,featureId:u,placeQuery:_,canonicalPath:d,canonicalID:E,locale:N,showHealthTabs:R}){let A=(0,i.useTranslations)("SidebarNavigation"),T=(0,n.usePathname)(),S=(0,s.useIsSamsungPartner)(),g=e?(0,I.decodeLocId)(e):e,{links:h,basePath:m}=(0,r.useMemo)(()=>{let e;if(d&&!S){let e=R?[{label:"Allergies",slug:"allergy"},{label:"Air Quality",slug:"air-quality"},{label:"Cold & Flu",slug:"cold-flu"}]:[];return{links:[{label:A("today"),slug:"today"},{label:A("hourly"),slug:"hourbyhour"},{label:A("tenday"),slug:"tenday"},...g?[{label:A("monthly"),slug:"monthly",href:(0,a.interpolateUrl)(a.URLS.monthly,{locale:N,locId:g})}]:[],...e],basePath:d}}let t="en-US"===N?"/weather":`/${N}/weather`,r=g??"",i=_?`?${_}`:"",n=e=>`${(0,o.buildLocationPageHref)({pageType:e,locale:N,canonicalID:E,featureId:u,placeId:r,skipCanonical:S})}${i}`,l=R?[{label:"Allergies",slug:"allergy",href:n("allergy")},{label:"Air Quality",slug:"air-quality",href:n("air-quality")},{label:"Cold & Flu",slug:"cold-flu",href:n("cold-flu")}]:[];return{links:[{label:A("today"),slug:"today",href:n("today")},{label:A("hourly"),slug:"hourbyhour",href:n("hourbyhour")},{label:A("tenday"),slug:"tenday",href:n("tenday")},{label:A("monthly"),slug:"monthly",href:`${(0,a.interpolateUrl)(a.URLS.monthly,{locale:N,locId:(e="monthly",r)})}${i}`},...l],basePath:t}},[d,E,g,u,_,N,R,S,A]),C=(0,r.useMemo)(()=>{let e=T.replace(/\/day-\d+$/,"");if(e!==T||T.includes("/byCanonicalPathDay/")){let e=h.findIndex(e=>"tenday"===e.slug);if(-1!==e)return e}let t=h.findIndex(t=>{let{slug:r}=t,i=l.BASE_BY_PAGE[r];return!!i&&(T.includes(`${i}byFeatureId/`)||T.includes(`${i}byCanonicalPath/`)||T.includes(`${i}byCanonicalPathDay/`))||T.includes(`/weather/${r}/`)||T.includes(`/forecast/${r}/`)||e.endsWith(`/${r}`)});return -1!==t?t:0},[T,h]);return(0,t.jsx)(c.SubnavigationUI,{links:h,basePath:m,activeIndex:C})}],247977);var u=e.i(293163),_=e.i(132084);e.s(["canShowHealthTabs",0,function(e){return"en-US"===e&&(0,u.getPartner)()!==_.Partner.SAMSUNG}],748315)},345715,e=>{"use strict";var t=e.i(902875),r=e.i(581014),i=e.i(281687),n=e.i(457492),a=e.i(247977),l=e.i(748315),o=e.i(475823);let s=["en-US"];function c(){return(0,t.jsx)("div",{className:"relative overflow-hidden rounded-3xl bg-white p-1 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)] md:rounded-[28px]","data-testid":"forecast-subnav-placeholder","aria-hidden":"true",children:(0,t.jsxs)("div",{className:"flex h-10 items-center gap-1 md:h-12",children:[(0,t.jsx)("span",{className:"h-8 w-16 animate-pulse rounded-full bg-gray-200"}),(0,t.jsx)("span",{className:"h-8 w-14 animate-pulse rounded-full bg-gray-200"}),(0,t.jsx)("span",{className:"h-8 w-18 animate-pulse rounded-full bg-gray-200"}),(0,t.jsx)("span",{className:"h-8 w-20 animate-pulse rounded-full bg-gray-200"})]})})}e.s(["HomeForecastSubnav",0,function({locale:e}){let I=(0,r.useTranslations)("SidebarNavigation"),u=(0,i.useChromeLocation)(),_=u?.placeId;if(!_){if(!s.includes(e))return(0,t.jsx)(c,{});let r=[{label:I("today"),slug:"today",href:(0,o.redirHref)("today",e)},{label:I("hourly"),slug:"hourbyhour",href:(0,o.redirHref)("hourly",e)},{label:I("tenday"),slug:"tenday",href:(0,o.redirHref)("tenday",e)},{label:I("monthly"),slug:"monthly",href:(0,o.redirHref)("monthly",e)},{label:"Allergies",slug:"allergy",href:(0,o.redirHref)("allergy",e)},{label:"Air Quality",slug:"air-quality",href:(0,o.redirHref)("air-quality",e)},{label:"Cold & Flu",slug:"cold-flu",href:(0,o.redirHref)("cold-flu",e)}];return(0,t.jsx)(n.SubnavigationUI,{links:r,basePath:"",activeIndex:0})}return(0,t.jsx)(a.ForecastSubnav,{placeId:_,featureId:u?.featureId,canonicalID:u?.canonicalID,locale:e,showHealthTabs:(0,l.canShowHealthTabs)(e)})},"HomeForecastSubnavPlaceholder",0,c])},122124,e=>{"use strict";var t=e.i(388706);let r=Object.fromEntries(t.PAGE_TYPE_CONFIG.map(e=>[e.suffix,e.urlType])),i=RegExp(`^(?/[a-z]{2}-[A-Z]{2})?/.+/(?:city|locality|neighborhood|postcode|poi|ski|airport)/[^/]+/(?${t.SUFFIX_ALTERNATION})(?:/day-[1-9][0-9]*)?$`);e.s(["getAnonymizedPath",0,function(e){var t,n;let a,l,o,s,c,I=(a=e,l=e?.indexOf?.("?"),o=e?.indexOf?.("#"),l>-1?a=a.substring(0,l):o>-1&&(a=a.substring(0,o)),a);if(t=I,s=i.exec(t)?.groups,n=I=(c=s?.suffix?r[s.suffix]:void 0)?`${s?.locale??""}/${c}/l`:t,"/index.html"===(I=n?.replace?.(/\/l\/[^/]+/gi,"/l"))||"/"===I||""===I)I="/";else{let e=I?.split("/")||[],t=e.length-1,r=e[t]??"";"news"!==(t>0?e[t-1]:"")&&(r.match(/[A-Z]/)||r.match(/[0-9]/)||r.match(/[@#$%&!*:]/)||""===r)&&e.pop(),I=e.join("/")}return I},"stripLastPartOfSlug",0,(e="")=>{let t=e.split("/");return t?.[t.length-1]===""&&t.pop(),t.slice(0,t.length-1).join("/")}])},487709,e=>{"use strict";e.s(["canLogEvent",0,()=>"function"==typeof window.mParticle?.logEvent])},123590,333761,e=>{"use strict";var t=e.i(487709),r=e.i(737801),i=e.i(630986),n=e.i(247865);e.s(["useTrackContentLinkClick",0,()=>{let e="content-link-click",a=(0,r.useEventAttributes)(),l=(0,i.useCMSAttributes)();return(0,n.useCallback)(r=>{let i={createdDate:l?.createdDate||"",contentId:l?.contentId||"",publishDate:l?.publishDate||"",author:l?.author||"",collection:l?.collection||"",entitlements:l?.entitlements||"",provider:l?.provider||"",linkType:r.linkType,linkURL:r.linkURL,linkText:r.linkText||"",moduleId:r.moduleId||"",tagsKeyword:r.tagsKeyword??l?.tagsKeyword,...a,physicalCountry:a.physicalCountry||"",physicalState:a.physicalState||"",wlocCity:a.wlocCity||"",wlocCountry:a.wlocCountry||"",wlocState:a.wlocState||"",regime:a.regime||""};if(!(0,t.canLogEvent)())return void console.warn("MParticle is not loaded");try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,i);try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,i)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[l?.createdDate,l?.contentId,l?.publishDate,l?.author,l?.collection,l?.entitlements,l?.provider,a])}],123590);var a=e.i(546446),l=e.i(540768),o=e.i(682142),s=e.i(782937),c=e.i(695881),I=e.i(333350),u=e.i(64412),_=e.i(950771),d=e.i(537989),E=e.i(695203),N=e.i(604323),R=e.i(358273),A=e.i(158662),T=e.i(777638),S=e.i(727365),g=e.i(896363),h=e.i(924776),m=e.i(409628),C=e.i(605781);let D=(0,c.createLogger)("useTrackContentLinkClick"),f=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),p=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]);e.s(["useTrackContentLinkClick",0,()=>{let e=(0,a.useAtomValue)(d.pageIdAtom),t=(0,a.useAtomValue)(_.pageLocaleAtom),r=(0,a.useAtomValue)(E.deviceClassAtom),i=(0,a.useAtomValue)(N.metricsArticleDataAtom),c=(0,a.useAtomValue)(A.experimentJoinListAtom),{location:L}=(0,u.useLocation)(),y=(0,h.useIsHightouchReady)(),O=(0,n.useCallback)(n=>{let a=(0,o.getCICookie)(),I=a?.["TWC-GeoIP-Country"]??(0,l.getCookie)("twc-location-country"),u=a?.["TWC-GeoIP-Region"]??(0,l.getCookie)("twc-location-region"),_=a?.["TWC-Privacy"]??(0,l.getCookie)("twc-privacy"),d=window.DprSdk?.getGdprConsentOptInsString()??"",E=window.DprSdk?.getCcpaSaleOptInString()??"",N=window.navigator?.globalPrivacyControl??!1,A=d?.includes("functional-technology")??!1,h=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,C=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,D=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),y=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),O=navigator?.cookieEnabled??!1,b=(0,l.getCookie)("partner")||"",w=(0,s.getPartnerByPattern)(b)??b,v=(0,R.getMetricsSession)(),H=v?.sessionId||"",W=new Date(v?.sessionStartTime||0).toISOString(),G=new Date,M=G.getHours(),x=m.WEEK_DAYS[G.getDay()]??"",k=(0,S.normalizeWlocType)(L?.type),P=L?.featureSource??null;return{linkType:n.linkType,linkURL:n.linkURL,linkText:n.linkText||"",moduleId:n.moduleId||"",pageId:e??"",schemaVersion:"nextgen",author:i?.author||"",contentId:i?.contentId??null,createdDate:i?.createdDate??null,publishDate:i?.publishDate??null,collection:i?.collection??null,entitlements:i?.entitlements??null,nodeTypes:i?.nodeType??null,pageTemplate:i?.pageTemplate??null,premiumContent:i?.premiumContent!=null?String(i.premiumContent):null,provider:i?.provider??null,tagsGeo:i?.tagsGeo??null,tagsKeyword:n.tagsKeyword??i?.tagsKeyword??null,tagsStorm:i?.tagsStorm??null,title:i?.title??null,seoTitle:i?.seoTitle??null,referrer:document.referrer,locale:t,deviceClass:r,partner:w,sessionId:H,sessionStartTime:W,siteMode:"normal",dayOfWeek:x,hourOfDay:M,regime:_??"",cookiesEnabled:O,gpcSignalOptOut:N,functionalTechnologies:A,geographicallyRelevantAds:h,interestBasedAds:C,priv:d,privProducts:E,saleOfData:D,saleOfDataAuthorization:D,sensitiveDataAuthorization:y,campaign:(0,T.getCampaign)(),linkReferral:(0,T.getLinkReferral)()??void 0,experimentJoinList:c,weatherMode:"normal",physicalCountry:I??"",physicalState:u??"",wlocCity:L?.city??null,wlocCountry:L?.countryCode??null,wlocState:L?.adminDistrictCode??null,wlocDMA:L?.dmaCd??null,wlocId:L?.placeId??null,wlocFeatureId:L?.featureId??null,wlocFeatureSource:null!=P&&p.has(P)?P:void 0,wlocTags:L?.tags?.length?(0,g.parseArrayToString)(L.tags):null,wlocType:null!==k&&f.has(k)?k:void 0,samsungVersion:(0,T.getSamsungVersion)(),appVersion:"85dee9ff4fc616ff898a900e27b8983226c234e0".slice(0,10)}},[e,t,r,i,c,L]);return(0,n.useCallback)(e=>{if(I.default){if(!y)return void D.warn('Hightouch: Event "content-link-click" skipped - SDK not ready');try{(0,C.trackContentLinkClick)(O(e)),D.info('Hightouch: Event "content-link-click" tracked')}catch(e){D.error('Hightouch: Event "content-link-click" failed',{error:e})}}},[y,O])}],333761)},1567,782552,e=>{"use strict";var t=e.i(487709),r=e.i(737801),i=e.i(546446),n=e.i(513539),a=e.i(247865);e.s(["useTrackModuleViewed",0,()=>{let e="module-viewed",l=(0,r.useEventAttributes)(),o=(0,i.useAtomValue)(n.layoutStateAtom);return(0,a.useCallback)(({moduleId:r,modulePosition:i})=>{if(!(0,t.canLogEvent)())return void console.warn("MParticle is not loaded");let n={...l,moduleId:r,modulePosition:String(i),layoutState:o};try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,n),console.debug(`MParticle: Event "${e}" tracked`,n)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[l,o])}],1567);var l=e.i(725287),o=e.i(540768),s=e.i(682142),c=e.i(782937),I=e.i(695881),u=e.i(333350),_=e.i(64412),d=e.i(950771),E=e.i(537989),N=e.i(695203),R=e.i(158662),A=e.i(358273),T=e.i(122124),S=e.i(777638),g=e.i(727365),h=e.i(896363),m=e.i(924776),C=e.i(409628),D=e.i(605781);let f=(0,I.createLogger)("useTrackModuleViewed"),p=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),L=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]),y=[];function O(e){try{(0,D.trackModuleViewed)(e),f.info(`Hightouch: Event "module-viewed" tracked - ${e.moduleId}`)}catch(e){f.error('Hightouch: Event "module-viewed" failed',{error:e})}}e.s(["useTrackModuleViewed",0,()=>{let e=(0,l.usePathname)(),t=(0,i.useAtomValue)(E.pageIdAtom),r=(0,i.useAtomValue)(d.pageLocaleAtom),I=(0,i.useAtomValue)(N.deviceClassAtom),D=(0,i.useAtomValue)(n.layoutStateAtom),f=(0,i.useAtomValue)(R.experimentJoinListAtom),{location:b}=(0,_.useLocation)(),w=(0,m.useIsHightouchReady)(),v=(0,a.useCallback)(({moduleId:i,modulePosition:n})=>{let a=(0,s.getCICookie)(),l=a?.["TWC-GeoIP-Country"]??(0,o.getCookie)("twc-location-country"),u=a?.["TWC-GeoIP-Region"]??(0,o.getCookie)("twc-location-region"),_=a?.["TWC-Privacy"]??(0,o.getCookie)("twc-privacy"),d=window.DprSdk?.getGdprConsentOptInsString()??"",E=window.DprSdk?.getCcpaSaleOptInString()??"",N=window.navigator?.globalPrivacyControl??!1,R=d?.includes("functional-technology")??!1,m=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,y=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,O=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),w=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),v=navigator?.cookieEnabled??!1,H=(0,o.getCookie)("partner")||"",W=(0,c.getPartnerByPattern)(H)??H,G=(0,A.getMetricsSession)(),M=G?.sessionId||"",x=new Date(G?.sessionStartTime||0).toISOString(),k=new Date,P=k.getHours(),Y=C.WEEK_DAYS[k.getDay()]??"",U="article"===t||"video"===t?(0,T.stripLastPartOfSlug)(e??""):(0,T.getAnonymizedPath)(e??""),F=(0,g.normalizeWlocType)(b?.type),Z=b?.featureSource??null;return{moduleId:i,modulePosition:String(n),layoutState:D??void 0,pageId:t??"",url:U,referrer:document.referrer,locale:r,deviceClass:I,partner:W,sessionId:M,sessionStartTime:x,siteMode:"normal",dayOfWeek:Y,hourOfDay:P,regime:_??"",cookiesEnabled:v,gpcSignalOptOut:N,functionalTechnologies:R,geographicallyRelevantAds:m,interestBasedAds:y,priv:d,privProducts:E,saleOfDataAuthorization:O,sensitiveDataAuthorization:w,campaign:(0,S.getCampaign)(),experimentJoinList:f,weatherMode:"normal",physicalCountry:l??"",physicalState:u??"",wlocCity:b?.city??null,wlocCountry:b?.countryCode??null,wlocState:b?.adminDistrictCode??null,wlocDMA:b?.dmaCd??null,wlocId:b?.placeId??null,wlocFeatureId:b?.featureId??null,wlocFeatureSource:null!=Z&&L.has(Z)?Z:void 0,wlocTags:b?.tags?.length?(0,h.parseArrayToString)(b.tags):null,wlocType:null!==F&&p.has(F)?F:void 0,samsungVersion:(0,S.getSamsungVersion)(),appVersion:"85dee9ff4fc616ff898a900e27b8983226c234e0".slice(0,10)}},[e,t,r,I,D,f,b]);return(0,a.useEffect)(()=>{if(!w||0===y.length)return;let e=y;y=[],e.forEach(O)},[w]),(0,a.useCallback)(e=>{if(!u.default)return;let t=v(e);w?O(t):y.push(t)},[w,v])}],782552)},650130,(e,t,r)=>{"use strict";function i(e){return Math.PI/180*e}function n(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n))return NaN;if(e===r&&t===n)return 0;let a=i(r-e),l=i(n-t),o=Math.sin(a/2)*Math.sin(a/2)+Math.cos(i(e))*Math.cos(i(r))*Math.sin(l/2)*Math.sin(l/2);return 2*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))*6371}function a(e,t,r){let i=-90,n=90,a=-180,l=180,o="",s=0,c=0,I=!0;for(;o.length=e?(c=(c=t?(c=(c{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getCurrentObservations=s;let i=e.r(979777),n=e.r(678651),a=e.r(414655),l=e.r(861160),o=e.r(349262);async function s(e){let t=(0,i.getCurrentObservationsUrlConfig)(e),r=(0,n.urlFrom)(t),s=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}}),c=await (0,a.handleFetchResponse)(s);return{...c,pressureMeanSeaLevel:e.units===o.Units.IMPERIAL?c.pressureMeanSeaLevel/33.8639:c.pressureMeanSeaLevel,windDirectionCardinal:(0,l.normalizeCardinal)(c.windDirectionCardinal)}}},979777,(e,t,r)=>{"use strict";function i(e,{stormId:t,units:r,language:n,nautical:a}){return{host:"api.weather.com",protocol:"https",pathname:e,query:{stormId:t,units:r,language:n,nautical:a,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}e.i(288906),Object.defineProperty(r,"__esModule",{value:!0}),r.getCurrentObservationsUrlConfig=function({geocode:e,placeId:t,units:r,language:i}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/observations/current",query:{geocode:e,placeid:t,units:r,language:i,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getTropicalConeUrlConfig=function({stormId:e,units:t,language:r,nautical:i}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/tropical/cone",query:{stormId:e,units:t,language:r,nautical:i,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getTropicalTrackUrlConfig=function(e){return i("/v2/tropical/track",e)},r.getTropicalProjectedPathUrlConfig=function(e){return i("/v2/tropical/projectedpath",e)},r.getTropicalObservationsCurrentPositionUrlConfig=function({nautical:e,source:t,basin:r,units:i,language:n}){return{host:"api.weather.com",protocol:"https",pathname:"/v2/tropical/currentposition",query:{nautical:e,source:t,basin:r,units:i,language:n,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}},349262,(e,t,r)=>{"use strict";var i,n,a,l,o,s,c,I,u,_,d,E,N,R,A,T,S,g,h,m;Object.defineProperty(r,"__esModule",{value:!0}),r.ICON_CODE_MAP=r.ICON_CODE_EXTENDED=r.IconCodeExtended=r.IconCode=r.CloudCoverPhrase=r.PressureTendencyCode=r.UVDescription=r.WindDirectionCardinal=r.DayOrNight=r.HourlyForecastDuration=r.ForecastDuration=r.Units=void 0,(d=i||(r.Units=i={})).IMPERIAL="e",d.METRIC="m",d.HYBRID="h",(E=n||(r.ForecastDuration=n={})).THREE_DAY="3day",E.FIVE_DAY="5day",E.SEVEN_DAY="7day",E.TEN_DAY="10day",E.FIFTEEN_DAY="15day",(N=a||(r.HourlyForecastDuration=a={})).SIX_HOUR="6hour",N.TWELVE_HOUR="12hour",N.ONE_DAY="1day",N.TWO_DAY="2day",N.THREE_DAY="3day",N.TEN_DAY="10day",N.FIFTEEN_DAY="15day",(R=l||(r.DayOrNight=l={})).DAY="D",R.NIGHT="N",R.MISSING="X",(A=o||(r.WindDirectionCardinal=o={})).NORTH="N",A.NORTH_NORTHEAST="NNE",A.NORTHEAST="NE",A.EAST_NORTHEAST="ENE",A.EAST="E",A.EAST_SOUTHEAST="ESE",A.SOUTHEAST="SE",A.SOUTH_SOUTHEAST="SSE",A.SOUTH="S",A.SOUTH_SOUTHWEST="SSW",A.SOUTHWEST="SW",A.WEST_SOUTHWEST="WSW",A.WEST="W",A.WEST_NORTHWEST="WNW",A.NORTHWEST="NW",A.NORTH_NORTHWEST="NNW",A.CALM="CALM",(T=s||(r.UVDescription=s={})).NOT_AVAILABLE="-2",T.NO_REPORT="-1",T.LOW="Low",T.MODERATE="Moderate",T.HIGH="High",T.VERY_HIGH="Very High",T.EXTREME="Extreme",(S=c||(r.PressureTendencyCode=c={}))[S.STEADY=0]="STEADY",S[S.RISING=1]="RISING",S[S.FALLING=2]="FALLING",S[S.RAPIDLY_RISING=3]="RAPIDLY_RISING",S[S.RAPIDLY_FALLING=4]="RAPIDLY_FALLING",(g=I||(r.CloudCoverPhrase=I={})).CLEAR="Clear",g.PARTLY_CLOUDY="Partly Cloudy",g.MOSTLY_CLOUDY="Mostly Cloudy",g.CLOUDY="Cloudy",(h=u||(r.IconCode=u={}))[h.TORNADO=0]="TORNADO",h[h.TROPICAL_STORM=1]="TROPICAL_STORM",h[h.HURRICANE=2]="HURRICANE",h[h.STRONG_STORMS=3]="STRONG_STORMS",h[h.THUNDERSTORMS=4]="THUNDERSTORMS",h[h.RAIN_SNOW_WINTERY_MIX=5]="RAIN_SNOW_WINTERY_MIX",h[h.RAIN_SLEET=6]="RAIN_SLEET",h[h.RAIN_SNOW_WINTERY_MIX_ALT=7]="RAIN_SNOW_WINTERY_MIX_ALT",h[h.FREEZING_DRIZZLE_RAIN=8]="FREEZING_DRIZZLE_RAIN",h[h.DRIZZLE=9]="DRIZZLE",h[h.FREEZING_DRIZZLE_RAIN_ALT=10]="FREEZING_DRIZZLE_RAIN_ALT",h[h.SHOWERS=11]="SHOWERS",h[h.RAIN=12]="RAIN",h[h.FLURRIES=13]="FLURRIES",h[h.SNOW_SHOWERS=14]="SNOW_SHOWERS",h[h.BLOWING_DRIFTING_SNOW=15]="BLOWING_DRIFTING_SNOW",h[h.SNOW=16]="SNOW",h[h.HAIL=17]="HAIL",h[h.SLEET=18]="SLEET",h[h.BLOWING_DUST_SANDSTORM=19]="BLOWING_DUST_SANDSTORM",h[h.FOGGY=20]="FOGGY",h[h.HAZE=21]="HAZE",h[h.SMOKE=22]="SMOKE",h[h.BREEZY=23]="BREEZY",h[h.WINDY=24]="WINDY",h[h.BLOWING_DRIFTING_SNOW_ALT=25]="BLOWING_DRIFTING_SNOW_ALT",h[h.CLOUDY=26]="CLOUDY",h[h.MOSTLY_CLOUDY_NIGHT=27]="MOSTLY_CLOUDY_NIGHT",h[h.MOSTLY_CLOUDY_DAY=28]="MOSTLY_CLOUDY_DAY",h[h.PARTLY_CLOUDY_NIGHT=29]="PARTLY_CLOUDY_NIGHT",h[h.PARTLY_CLOUDY_DAY=30]="PARTLY_CLOUDY_DAY",h[h.CLEAR_NIGHT=31]="CLEAR_NIGHT",h[h.SUNNY=32]="SUNNY",h[h.MOSTLY_CLEAR_NIGHT=33]="MOSTLY_CLEAR_NIGHT",h[h.MOSTLY_CLEAR_DAY=34]="MOSTLY_CLEAR_DAY",h[h.MIXED_RAIN_HAIL=35]="MIXED_RAIN_HAIL",h[h.SUNNY_ALT=36]="SUNNY_ALT",h[h.ISOLATED_THUNDERSTORMS=37]="ISOLATED_THUNDERSTORMS",h[h.SCATTERED_THUNDERSTORMS_DAY=38]="SCATTERED_THUNDERSTORMS_DAY",h[h.SCATTERED_SHOWERS_DAY=39]="SCATTERED_SHOWERS_DAY",h[h.HEAVY_RAIN=40]="HEAVY_RAIN",h[h.SCATTERED_SNOW_SHOWERS_DAY=41]="SCATTERED_SNOW_SHOWERS_DAY",h[h.HEAVY_SNOW_BLIZZARD=42]="HEAVY_SNOW_BLIZZARD",h[h.HEAVY_SNOW_BLIZZARD_ALT=43]="HEAVY_SNOW_BLIZZARD_ALT",h[h.NA=44]="NA",h[h.SCATTERED_SHOWERS_NIGHT=45]="SCATTERED_SHOWERS_NIGHT",h[h.SCATTERED_SNOW_SHOWERS_NIGHT=46]="SCATTERED_SNOW_SHOWERS_NIGHT",h[h.SCATTERED_THUNDERSTORMS_NIGHT=47]="SCATTERED_THUNDERSTORMS_NIGHT",(m=_||(r.IconCodeExtended=_={}))[m.STRONG_STORMS=300]="STRONG_STORMS",m[m.STRONG_STORMS_WIND=310]="STRONG_STORMS_WIND",m[m.FREEZING_RAIN=1e3]="FREEZING_RAIN",m[m.LIGHT_FREEZING_RAIN=1001]="LIGHT_FREEZING_RAIN",m[m.HEAVY_FREEZING_RAIN=1002]="HEAVY_FREEZING_RAIN",m[m.FREEZING_RAIN_WIND=1010]="FREEZING_RAIN_WIND",m[m.LIGHTFREEZING_RAIN_WIND=1011]="LIGHTFREEZING_RAIN_WIND",m[m.HEAVY_FREEZING_RAIN_WIND=1012]="HEAVY_FREEZING_RAIN_WIND",m[m.LIGHT_FREEZING_RAIN_FOG=1051]="LIGHT_FREEZING_RAIN_FOG",m[m.SLEET=1800]="SLEET",m[m.LIGHT_SLEET=1801]="LIGHT_SLEET",m[m.SLEET_WIND=1810]="SLEET_WIND",m[m.LIGHT_SLEET_WIND=1811]="LIGHT_SLEET_WIND",m[m.SCATTERED_THUNDERSTORMS_WIND=3819]="SCATTERED_THUNDERSTORMS_WIND",m[m.HEAVY_SNOW=4200]="HEAVY_SNOW",m[m.HEAVY_SNOW_WIND=4210]="HEAVY_SNOW_WIND",m[m.BLIZZARD=4300]="BLIZZARD",m[m.FREEZING_RAIN_SLEET=5100]="FREEZING_RAIN_SLEET",m[m.LIGHT_FREEZING_RAIN_SLEET=5101]="LIGHT_FREEZING_RAIN_SLEET",m[m.FREEZING_RAIN_SLEET_WIND=5110]="FREEZING_RAIN_SLEET_WIND",m[m.LIGHT_FREEZING_RAIN_SLEET_WIND=5111]="LIGHT_FREEZING_RAIN_SLEET_WIND",m[m.RAIN_FREEZING_RAIN=5300]="RAIN_FREEZING_RAIN",m[m.LIGHT_RAIN_FREEZING_RAIN=5301]="LIGHT_RAIN_FREEZING_RAIN",m[m.HEAVY_RAIN_FREEZING_RAIN=5302]="HEAVY_RAIN_FREEZING_RAIN",m[m.RAIN_FREEZING_RAIN_WIND=5310]="RAIN_FREEZING_RAIN_WIND",m[m.LIGHT_RAIN_FREEZING_RAIN_WIND=5311]="LIGHT_RAIN_FREEZING_RAIN_WIND",m[m.HEAVY_RAIN_FREEZING_RAIN_WIND=5312]="HEAVY_RAIN_FREEZING_RAIN_WIND",m[m.LIGHT_RAIN_FREEZING_RAIN_FOG=5351]="LIGHT_RAIN_FREEZING_RAIN_FOG",m[m.THUNDER_SNOW=5600]="THUNDER_SNOW",m[m.THUNDER_SNOW_WIND=5610]="THUNDER_SNOW_WIND",m[m.SCATTERED_STRONG_STORMS=5709]="SCATTERED_STRONG_STORMS",m[m.SCATTERED_STRONG_STORMS_WIND=5719]="SCATTERED_STRONG_STORMS_WIND",m[m.RAIN_ICE_EARLY=6500]="RAIN_ICE_EARLY",m[m.LIGHT_RAIN_ICE_EARLY=6501]="LIGHT_RAIN_ICE_EARLY",m[m.AM_RAIN_ICE=6503]="AM_RAIN_ICE",m[m.AM_LIGHT_RAIN_ICE=6504]="AM_LIGHT_RAIN_ICE",m[m.RAIN_ICE_WIND_EARLY=6510]="RAIN_ICE_WIND_EARLY",m[m.LIGHT_RAIN_ICE_WIND_EARLY=6511]="LIGHT_RAIN_ICE_WIND_EARLY",m[m.AM_RAIN_ICE_WIND=6513]="AM_RAIN_ICE_WIND",m[m.AM_LIGHT_RAIN_ICE_WIND=6514]="AM_LIGHT_RAIN_ICE_WIND",m[m.ICE_EARLY=6600]="ICE_EARLY",m[m.AM_ICE=6603]="AM_ICE",m[m.ICE_WIND_EARLY=6610]="ICE_WIND_EARLY",m[m.AM_ICE_WIND=6613]="AM_ICE_WIND",m[m.RAIN_ICE_LATE=7500]="RAIN_ICE_LATE",m[m.LIGHT_RAIN_ICE_LATE=7501]="LIGHT_RAIN_ICE_LATE",m[m.PM_RAIN_ICE=7503]="PM_RAIN_ICE",m[m.PM_LIGHT_RAIN_ICE=7504]="PM_LIGHT_RAIN_ICE",m[m.RAIN_ICE_WIND_LATE=7510]="RAIN_ICE_WIND_LATE",m[m.LIGHT_RAIN_ICE_WIND_LATE=7511]="LIGHT_RAIN_ICE_WIND_LATE",m[m.PM_RAIN_ICE_WIND=7513]="PM_RAIN_ICE_WIND",m[m.PM_LIGHT_RAIN_ICE_WIND=7514]="PM_LIGHT_RAIN_ICE_WIND",m[m.ICE_LATE=7600]="ICE_LATE",m[m.PM_ICE=7603]="PM_ICE",m[m.ICE_WIND_LATE=7610]="ICE_WIND_LATE",m[m.PM_ICE_WIND=7613]="PM_ICE_WIND",m[m.RAIN_TO_ICE=8100]="RAIN_TO_ICE",m[m.RAIN_TO_ICE_WIND=8110]="RAIN_TO_ICE_WIND",m[m.ICE_TO_RAIN=8500]="ICE_TO_RAIN",m[m.ICE_TO_RAIN_WIND=8510]="ICE_TO_RAIN_WIND",r.ICON_CODE_EXTENDED={300:"STRONG_STORMS",310:"STRONG_STORMS-WIND",1e3:"FREEZING_RAIN",1001:"LIGHT_FREEZING_RAIN",1002:"HEAVY_FREEZING_RAIN",1010:"FREEZING_RAIN-WIND",1011:"LIGHTFREEZING_RAIN-WIND",1012:"HEAVY_FREEZING_RAIN-WIND",1051:"LIGHT_FREEZING_RAIN-FOG",1800:"SLEET",1801:"LIGHT_SLEET",1810:"SLEET-WIND",1811:"LIGHT_SLEET-WIND",3819:"SCATTERED_THUNDERSTORMS-WIND",4200:"HEAVY_SNOW",4210:"HEAVY_SNOW-WIND",4300:"BLIZZARD",5100:"FREEZING_RAIN-SLEET",5101:"LIGHT_FREEZING_RAIN-SLEET",5110:"FREEZING_RAIN-SLEET-WIND",5111:"LIGHT_FREEZING_RAIN-SLEET-WIND",5300:"RAIN-FREEZING_RAIN",5301:"LIGHT_RAIN-FREEZING_RAIN",5302:"HEAVY_RAIN-FREEZING_RAIN",5310:"RAIN-FREEZING_RAIN-WIND",5311:"LIGHT_RAIN-FREEZING_RAIN-WIND",5312:"HEAVY_RAIN-FREEZING_RAIN-WIND",5351:"LIGHT_RAIN-FREEZING_RAIN-FOG",5600:"THUNDER_SNOW",5610:"THUNDER_SNOW-WIND",5709:"SCATTERED_STRONG_STORMS",5719:"SCATTERED_STRONG_STORMS-WIND",6500:"RAIN-ICE_EARLY",6501:"LIGHT_RAIN-ICE_EARLY",6503:"AM_RAIN-ICE",6504:"AM_LIGHT_RAIN-ICE",6510:"RAIN-ICE-WIND_EARLY",6511:"LIGHT_RAIN-ICE-WIND_EARLY",6513:"AM_RAIN-ICE-WIND",6514:"AM_LIGHT_RAIN-ICE-WIND",6600:"ICE_EARLY",6603:"AM_ICE",6610:"ICE-WIND_EARLY",6613:"AM_ICE-WIND",7500:"RAIN-ICE_LATE",7501:"LIGHT_RAIN-ICE_LATE",7503:"PM_RAIN-ICE",7504:"PM_LIGHT_RAIN-ICE",7510:"RAIN-ICE-WIND_LATE",7511:"LIGHT_RAIN-ICE-WIND_LATE",7513:"PM_RAIN-ICE-WIND",7514:"PM_LIGHT_RAIN-ICE-WIND",7600:"ICE_LATE",7603:"PM_ICE",7610:"ICE-WIND_LATE",7613:"PM_ICE-WIND",8100:"RAIN_TO_ICE",8110:"RAIN_TO_ICE-WIND",8500:"ICE_TO_RAIN",8510:"ICE_TO_RAIN-WIND"},r.ICON_CODE_MAP={0:"tornado",1:"tropical-storm",2:"hurricane",3:"strong-storms",4:"thunderstorms",5:"rain-snow-wintery-mix",6:"rain-sleet",7:"rain-snow-wintery-mix",8:"freezing-drizzle-rain",9:"drizzle",10:"freezing-drizzle-rain",11:"showers",12:"rain",13:"flurries",14:"snow-showers",15:"blowing-drifting-snow",16:"snow",17:"hail",18:"sleet",19:"blowing-dust-sandstorm",20:"foggy",21:"haze",22:"smoke",23:"breezy",24:"windy",25:"blowing-drifting-snow",26:"cloudy",27:"mostly-cloudy-night",28:"mostly-cloudy-day",29:"partly-cloudy-night",30:"partly-cloudy-day",31:"clear-night",32:"sunny",33:"mostly-clear-night",34:"mostly-clear-day",35:"mixed-rain-hail",36:"sunny",37:"isolated-thunderstorms",38:"scattered-thunderstorms-day",39:"scattered-showers-day",40:"heavy-rain",41:"scattered-snow-showers-day",42:"heavy-snow-blizzard",43:"heavy-snow-blizzard",44:"na",45:"scattered-showers-night",46:"scattered-snow-showers-night",47:"scattered-thunderstorms-night"}},861160,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.normalizeCardinal=void 0;let i=e.r(349262),n={O:i.WindDirectionCardinal.WEST,NO:i.WindDirectionCardinal.NORTHWEST,NNO:i.WindDirectionCardinal.NORTH_NORTHWEST,ONO:i.WindDirectionCardinal.WEST_NORTHWEST,OSO:i.WindDirectionCardinal.WEST_SOUTHWEST,SO:i.WindDirectionCardinal.SOUTHWEST,SSO:i.WindDirectionCardinal.SOUTH_SOUTHWEST};r.normalizeCardinal=e=>n[e]||e},37423,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["dprSdkIsInitializedAtom",0,t])},645968,e=>{"use strict";var t=e.i(742436),r=e.i(495110),i=e.i(283366);e.s(["default",0,function(e,n){let a=(0,t.useExperimentContext)();(0,i.useExposure)(e);let l=(0,r.useIsHydratingRender)();return!a||l?n:a.variant(e,n)}])},47524,e=>{"use strict";var t=e.i(902875),r=e.i(247865),i=e.i(747961);let n=(0,r.forwardRef)(({title:e,titleId:r,desc:i,descId:n,...a},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":r,"aria-describedby":n,...a,children:[i?(0,t.jsx)("desc",{id:n,children:i}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Chevron Right"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M10.414 7.643c.26.26.26.682 0 .943l-4.178 4.178a.495.495 0 1 1-.7-.7l3.95-3.95-3.95-3.95a.495.495 0 1 1 .7-.7z"})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(i.BaseIcon,{ref:r,icon:n,...e}));a.displayName="ChevronRight",e.s(["ChevronRight",0,a])},5397,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["showAdminHeaderAtom",0,t])},752496,e=>{"use strict";var t=e.i(247865),r=e.i(609858);let i=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:n,page:a,onUpdateData:l,onSetPageData:o}){let{updateComponentData:s,setPageData:c}=(0,r.useDebugSystem)(),I=(0,t.useRef)(!1),u=l||s,_=o||c;return(0,t.useEffect)(()=>{if(n)return i.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(n),hasPerformance:!!n.performance,hasContext:!!n.context}),u(e,{...n,_collectedAt:new Date().toISOString()}),()=>{i.lifecycle(`Cleaning up data for ${e}`),u(e,null)}},[e,n,u]),(0,t.useEffect)(()=>{a&&!I.current&&(i.lifecycle("Setting page metadata",{title:a.title,assetName:a.assetName,collection:a.collection}),_({...a,_updatedAt:new Date().toISOString()}),I.current=!0)},[a,_]),null}])},609858,674339,e=>{"use strict";var t=e.i(546446),r=e.i(247865);let i=(0,e.i(981030).atom)({timestamp:new Date().toISOString()});e.s(["debugDataAtom",0,i],674339),e.s(["useDebugSystem",0,function(){let[e,n]=(0,t.useAtom)(i),a=(0,r.useCallback)((e,t)=>{n(r=>{let i=r?.[e]||{},n="object"==typeof t&&null!==t&&"object"==typeof i?{...i,...t}:t;return{...r,[e]:n}})},[n]),l=(0,r.useCallback)((e,t)=>{n(r=>{let i=r||{timestamp:new Date().toISOString()},n=i.components||{};if(null===t){let t={...n};return delete t[e],{...i,components:t}}return{...i,components:{...n,[e]:t}}})},[n]),o=(0,r.useCallback)(e=>{a("page",e)},[a]),s=(0,r.useCallback)(e=>{a("route",e)},[a]),c=(0,r.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&a(e,t)})},[a]);return{debugData:e,updateSection:a,updateComponentData:l,setPageData:o,clearAllDebugData:(0,r.useCallback)(()=>{n({timestamp:new Date().toISOString()})},[n]),updateRouteInfo:s,updatePageDebug:c}}],609858)},235577,e=>{"use strict";var t=e.i(902875),r=e.i(523084),i=e.i(47524),n=e.i(632137),a=e.i(877957);e.s(["ScrollButton",0,function({direction:e,onClick:l,hidden:o,size:s="default",variant:c="light",className:I}){let u="sm"===s,_=(0,n.cn)("text-current",u?"size-4":"size-6 transition-[width,height] duration-150 group-hover:size-7 group-active:size-6 group-active:duration-100");return(0,t.jsx)(a.Button,{type:"button",onClick:l,"aria-hidden":"true",tabIndex:-1,className:(0,n.cn)("group z-sticky absolute top-1/2 flex -translate-y-1/2 cursor-pointer items-center justify-center rounded-full p-0 transition-all duration-150 ease-in-out active:duration-100","dark"===c?"bg-[#252422] text-white hover:bg-[#3a3937] active:bg-[#1a1918]":"solid"===c?"bg-black/80 text-white hover:bg-black/90 active:bg-black":"white"===c?"bg-white/80 text-gray-900 backdrop-blur-[2px] hover:bg-white/95 active:bg-white":"bg-transparent text-gray-900 hover:bg-gray-100 active:bg-gray-200",u?"size-8":"size-12","left"===e&&"left-1","right"===e&&"right-1",o&&"left"===e&&"-translate-x-[calc(100%+1.5rem)]",o&&"right"===e&&"translate-x-[calc(100%+1.5rem)]",o&&"pointer-events-none opacity-0",I),children:"left"===e?(0,t.jsx)(r.ChevronLeft,{className:_}):(0,t.jsx)(i.ChevronRight,{className:_})})}])},457492,e=>{"use strict";var t=e.i(902875),r=e.i(247865),i=e.i(632137),n=e.i(546446),a=e.i(663333),l=e.i(235577),o=e.i(315730),s=e.i(240058);let c=(0,i.cn)("h-full rounded-3xl px-4 text-sm whitespace-nowrap transition-colors text-gray-900 font-bold","inline-flex items-center hover:bg-gray-100 active:bg-gray-200 focus-visible:outline-none focus-visible:bg-gray-100"),I=e=>{let{activeIndex:r,index:n,link:a}=e,l=r===n,o=(0,i.cn)(c,{"bg-gray-100 text-blue-500":l});if(e.onSelect){let{onSelect:r}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>r(n,a),className:(0,i.cn)("cursor-pointer",o),"aria-current":l?"page":void 0,children:a.label})}let{basePath:I,mpa:u}=e,_=a.href??("/"===a.slug?I||"/":`${I}/${a.slug}`);return(0,t.jsx)(s.default,{href:_,mpa:u,className:o,"aria-current":l?"page":void 0,sourceModule:"subnavigation",children:a.label})},u=(0,r.memo)(e=>{let{links:r,activeIndex:s,className:c,constrained:u=!0}=e,_=(0,n.useAtomValue)(a.deviceClassAtom),{ref:d,showLeft:E,showRight:N,scrollLeft:R,scrollRight:A}=(0,o.useHorizontalScroll)({enabled:"mobile"!==_&&"tablet"!==_,scrollAmount:200,contentKey:r});return(0,t.jsxs)("div",{className:(0,i.cn)("relative overflow-hidden rounded-3xl bg-white p-1 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)]","md:rounded-4xl md:rounded-[28px]",u&&"md:mr-auto md:max-w-[min(958px,100%)]",c),"data-testid":"subnavigation",children:[(0,t.jsx)("div",{className:(0,i.cn)("pointer-events-none absolute top-0 -left-25 h-full w-24 bg-gradient-to-r from-white from-0% via-white via-60% to-transparent transition-[left] md:-top-1 md:h-14 md:rounded-s-[28px]",{"-left-1":E}),"aria-hidden":"true"}),(0,t.jsx)(l.ScrollButton,{hidden:!E,onClick:R,direction:"left"}),(0,t.jsx)("div",{ref:d,className:(0,i.cn)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:r.map((r,i)=>e.onSelect?(0,t.jsx)(I,{link:r,index:i,activeIndex:s,onSelect:e.onSelect},`${r.label}_${r.slug}`):(0,t.jsx)(I,{link:r,index:i,activeIndex:s,basePath:e.basePath,mpa:e.mpa},`${r.label}_${r.slug}`))}),(0,t.jsx)("div",{className:(0,i.cn)("pointer-events-none absolute top-0 -right-25 h-full w-24 bg-gradient-to-l from-white from-0% via-white via-60% to-transparent transition-[right] md:-top-1 md:h-14 md:rounded-e-[28px]",{"-right-1":N}),"aria-hidden":"true"}),(0,t.jsx)(l.ScrollButton,{hidden:!N,onClick:A,direction:"right"})]})},(e,t)=>e.activeIndex===t.activeIndex&&e.basePath===t.basePath&&e.mpa===t.mpa&&e.onSelect===t.onSelect&&e.constrained===t.constrained&&e.links.length===t.links.length&&e.links.every((e,r)=>e.label===t.links[r]?.label&&e.slug===t.links[r]?.slug&&e.href===t.links[r]?.href));u.displayName="SubnavigationUI",e.s(["SubnavigationUI",0,u],457492)},180193,e=>{"use strict";var t=e.i(902875),r=e.i(247865),i=e.i(617874);let n=(0,r.memo)(({className:e,unitsClassName:r,units:n,value:a,degreeSymbolClass:l,unitOnly:o})=>{let s=null!=a,c=n?(0,i.unitsSystemByCode)(n):null,I=c?.temp,u=Number.isFinite(a)&&Math.round(a);return(0,t.jsx)("span",{"data-testid":"TemperatureValue",className:e,dir:"ltr",children:s||!s&&o?(0,t.jsxs)(t.Fragment,{children:[s&&u,(0,t.jsx)("span",{className:l,children:"°"}),I&&(0,t.jsx)("span",{className:r,children:I})]}):"--"})});e.s(["Temperature",0,n])},315730,e=>{"use strict";var t=e.i(147732),r=e.i(247865);e.s(["useHorizontalScroll",0,function({enabled:e=!0,scrollAmount:i=200,contentKey:n}={}){let a=(0,r.useRef)(null),l=(0,r.useRef)(null),o=(0,r.useRef)(!1),[s,c]=(0,r.useState)(!1),[I,u]=(0,r.useState)(!1),_=(0,r.useCallback)(()=>{let t=a.current;if(!t||!e){c(!1),u(!1);return}let{scrollLeft:r,scrollWidth:i,clientWidth:n}=t,l=Math.abs(r),s=l>2,I=l+n(0,t.debounce)(_,150),[_]),E=(0,r.useCallback)(()=>{null===l.current&&(l.current=requestAnimationFrame(()=>{_(),l.current=null}))},[_]);(0,r.useEffect)(()=>{let t=a.current;return t&&(o.current="rtl"===getComputedStyle(t).direction),_(),e&&(t?.addEventListener("scroll",E),window.addEventListener("resize",d)),()=>{null!==l.current&&cancelAnimationFrame(l.current),l.current=null,t?.removeEventListener("scroll",E),d.cancel(),window.removeEventListener("resize",d)}},[e,_,E,d,n]);let N=(0,r.useCallback)(()=>a.current?.scrollBy({left:-i,behavior:"smooth"}),[i]),R=(0,r.useCallback)(()=>a.current?.scrollBy({left:i,behavior:"smooth"}),[i]);return{ref:a,showLeft:s,showRight:I,scrollLeft:N,scrollRight:R}}])},674885,e=>{"use strict";var t=e.i(981030),r=e.i(617874),i=e.i(889753);let n=(0,t.atom)(e=>e(i.userPreferencesAtom)?.unit||r.UNIT_IMPERIAL),a=(0,t.atom)(e=>e(n)===r.UNIT_IMPERIAL),l=(0,t.atom)(e=>e(n)===r.UNIT_METRIC),o=(0,t.atom)(e=>e(n)===r.UNIT_HYBRID);e.s(["isHybridUnitsAtom",0,o,"isImperialUnitsAtom",0,a,"isMetricUnitsAtom",0,l,"userUnitPreferenceAtom",0,n])}]);