(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,1567,e=>{"use strict";var t=e.i(947118),s=e.i(737801),a=e.i(546446),l=e.i(513539),i=e.i(592121);e.s(["useTrackModuleViewed",0,()=>{let e="module-viewed",n=(0,t.useIsInitialized)(),r=(0,s.useEventAttributes)(),o=(0,a.useAtomValue)(l.layoutStateAtom);return(0,i.useCallback)(({moduleId:t,modulePosition:s})=>{if(!n)return void console.warn("MParticle is not initialized");let a={...r,moduleId:t,modulePosition:String(s),layoutState:o};try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,a),console.debug(`MParticle: Event "${e}" tracked`,a)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[r,n,o])}])},104777,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a={callServer:function(){return i.callServer},createServerReference:function(){return r.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var l in a)Object.defineProperty(s,l,{enumerable:!0,get:a[l]});let i=e.r(836549),n=e.r(560716),r=e.r(544383)},313983,e=>{"use strict";var t,s=((t={}).ESSENTIAL_TECHNOLOGY="essential-technology",t.FUNCTIONAL_TECHNOLOGY="functional-technology",t.GEOGRAPHICALLY_RELEVANT_ADVERTISING="geographically-relevant-advertising",t.INTERNATIONAL_TRANSFER="international-transfer",t.SALE_OF_DATA="sale-of-data",t.SENSITIVE_DATA="sensitive-data",t.SELECT_PERSONALISED_CONTENT="Select personalised content",t.SELECT_PERSONALISED_ADS="Select personalised ads",t.SELECT_BASIC_ADS="Select basic ads",t.CREATE_A_PERSONALISED_ADS_PROFILE="Create a personalised ads profile",t.CREATE_A_PERSONALISED_CONTENT_PROFILE="Create a personalised content profile",t.MEASURE_AD_PERFORMANCE="Measure ad performance",t.APPLY_MARKET_RESEARCH_TO_GENERATE_AUDIENCE_INSIGHTS="Apply market research to generate audience insights",t.DEVELOP_AND_IMPROVE_PRODUCTS="Develop and improve products",t.STORE_AND_OR_ACCESS_INFORMATION_ON_A_DEVICE="Store and/or access information on a device",t.MEASURE_CONTENT_PERFORMANCE="Measure content performance",t);e.s(["Purpose",()=>s])},647872,494889,928083,624432,e=>{"use strict";var t=e.i(981030);(0,t.atom)({});let s=(0,t.atom)(!1);e.s(["newsHubEnabledAtom",0,s],494889);let a=(0,t.atom)(!1);e.s(["activityHubMenuEnabledAtom",0,a],928083);let l=(0,t.atom)(!1);e.s(["contentSearchUniversalAtom",0,l],624432),e.s([],647872)},248064,e=>{"use strict";var t=e.i(991511),s=e.i(763886),a=e.i(458001),l=e.i(394481),i=e.i(663333),n=e.i(849177),r=e.i(889753),o=e.i(5397),c=e.i(21121);e.i(647872);var u=e.i(494889),d=e.i(928083),h=e.i(624432),m=e.i(739971),p=e.i(688070),f=e.i(647292);e.s(["FlagsBoundaryClient",0,({params:e})=>((0,t.useRehydrateAtoms)([[s.partnerAtom,e.partner],[a.cscCountryCodeAtom,e.cscCountryCode],[l.privacyRegimeAtom,e.privacyRegime],[i.deviceClassAtom,e.deviceClass],[r.userTierAtom,e.userTier],[n.adsDisabledAtom,e.adsDisabled],[o.showAdminHeaderAtom,e.showAdminHeader],[c.showVelvetcakeModuleAtom,e.showVelvetcakeModule],[u.newsHubEnabledAtom,e.newsHubEnabled],[d.activityHubMenuEnabledAtom,e.activityHubMenuEnabled],[h.contentSearchUniversalAtom,e.contentSearchUniversal],[m.subscriptionsEnabledAtom,e.subscriptionsEnabled],[f.webViewPlatformAtom,e.webViewPlatform],[p.isWebViewOnlyAtom,e.isWebViewOnly]]),null)])},10993,e=>{e.q("/_next/static/media/focusLogo.2pi2rjgfr3x4_.svg")},348501,e=>{e.q("/_next/static/media/dlpg-you.0o6zs2s1qinws.png")},718043,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.getCMSCollectionsUrlConfig=function({collectionId:e,locale:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/collections/${t}/${e}`}},s.getCMSAssetByIDUrlConfig=function({language:e,assetId:t}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/a/${e}/${t}`}},s.getCMSOrderedCollectionsUrlConfig=function({collectionId:e,language:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/ordered-collections/${t}/${e}`}},s.getCMSOrderedListUrlConfig=function({collectionId:e,language:t,collectionType:s}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/orderedlist/${t}/${s}/${e}`}},s.getCMSAssetsUrlConfig=function({language:e="en_US",query:t={},skip:s=0,limit:i=10,sort:n="-publishdate"}){let r={q:Object.keys(t).reduce((e,s)=>{let a=t[s];return a instanceof Array?[...e,...a.map(e=>l(s,e))]:[...e,l(s,a)]},[]).join(";"),pg:`${s},${i}`,format:"json",sort:n},o=(0,a.queryStringToSearchParams)(r).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${o}`}},s.getCMSAssetsRawQueryUrlConfig=function({language:e="en_US",query:t="",skip:s=0,limit:l=10,sort:i="-publishdate"}){let n={q:t,pg:`${s},${l}`,format:"json",sort:i},r=(0,a.queryStringToSearchParams)(n).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${r}`}},s.getCMSAssetsSlideshowUrlConfig=function({offset:e=0,assetId:t,limit:s=500}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/assets/slideshow/${t}/${e},${s}`}},s.getCMSQuickNavUrlConfig=function(){return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/v4/settings/en_US/web/quick_nav"}};let a=e.r(678651);function l(e,t){let s=`'${t.$in}'`;return t.$in instanceof Array&&(s=t.$in.map(e=>`'${e}'`).join(",")),`${e}:$in(${s})`}},427977,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.getQuickNav=void 0;let a=e.r(414655),l=e.r(678651),i=e.r(718043);s.getQuickNav=async()=>{let e=(0,l.urlFrom)((0,i.getCMSQuickNavUrlConfig)()),t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return await (0,a.handleFetchResponse)(t)}},738426,e=>{"use strict";var t=e.i(592121),s=e.i(598513);let a={"you-hub":"you-hub-web-to-app-install","24-hour-radar":"radar-24hour-web-to-app-install","floating-button":"floating-button-web-to-app-install"},l={"you-hub":{"get-the-app":"Get the app","learn-more":"Learn more"},"24-hour-radar":{"get-the-app":"Get the app","learn-more":"Learn more"},"floating-button":{"get-the-app":"Get the App"}};e.s(["useTrackInstallPromptClick",0,function(e){let i=(0,s.useSendInteractionEvent)();return(0,t.useCallback)(t=>{i({moduleId:a[e],interactionType:"click",interactionElement:l[e][t]},{flushImmediately:!0})},[i,e])}])},726812,16730,e=>{"use strict";let t="com.weather.Weather",s="id295646461",a="https://app.appsflyer.com",l="weather.com",i=`https://apps.apple.com/us/app/the-weather-channel/${s}`,n=`https://play.google.com/store/apps/details?id=${t}`;e.s(["APPSFLYER_DEFAULT_CAMPAIGN",0,l,"APPSFLYER_HOST",0,a,"APPSFLYER_PID",0,"WWW","APP_STORE_URL",0,i,"DEFAULT_ANDROID_ID",0,t,"DEFAULT_IPHONE_ID",0,s,"PLAY_STORE_URL",0,n],726812),e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:i,currentUrl:n,allowAppsFlyer:r,deepLinkValue:o}){if(!r||!i||null===e)return"";let c="android"===e?t:s,u=encodeURIComponent(i.replace(/ /g,"_")),d=`${a}/${c}?pid=WWW&af_adset=${u}&c=${l}`;return o&&(d+=`&deep_link_value=${encodeURIComponent(o)}`),"ios"===e&&n&&(d+=`&af_ios_fallback=${encodeURIComponent(n)}`),d}],16730)},881282,e=>{"use strict";e.s(["getPlatform",0,function(e){return/iPhone|iPod|iPad/.test(e)?"ios":/Android/.test(e)?"android":null}])},677691,e=>{"use strict";var t=e.i(592121),s=e.i(726812),a=e.i(16730),l=e.i(881282);e.s(["useAppInstallLink",0,function(e,i){let[n,r]=(0,t.useState)(null),[o,c]=(0,t.useState)(null),[u,d]=(0,t.useState)(!1);(0,t.useEffect)(()=>{r((0,l.getPlatform)(navigator.userAgent)),c(window.location.href),d(!!window.DprSdk?.getFeatureFlags()?.appsFlyer)},[]);let h=(0,a.getAppsFlyerLink)({platform:n,trackAdset:e,currentUrl:o,allowAppsFlyer:u,deepLinkValue:i}),m="android"===n?s.PLAY_STORE_URL:s.APP_STORE_URL;return{href:h||m,platform:n}}])},606703,103e3,e=>{"use strict";var t=e.i(699173),s=e.i(592121);e.s(["Card",0,function({src:e,alt:s,top:a,left:l,width:i}){return(0,t.jsx)("img",{src:e,alt:s,className:"absolute rounded-xl",style:{top:a,left:l,width:i}})},"CompositeFrame",0,function({left:e,top:s,width:a,height:l,children:i}){return(0,t.jsx)("div",{className:"absolute",style:{left:e,top:s,width:a,height:l},children:i})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:a,color:l,cx:i,cy:n,rx:r,ry:o}){let c=(0,s.useId)();return(0,t.jsxs)("svg",{"aria-hidden":"true",className:"absolute inset-0 size-full",viewBox:`0 0 ${e} ${a}`,preserveAspectRatio:"none",children:[(0,t.jsx)("g",{opacity:.32,filter:`url(#${c})`,children:(0,t.jsx)("ellipse",{cx:i,cy:n,rx:r,ry:o,fill:l})}),(0,t.jsx)("defs",{children:(0,t.jsxs)("filter",{id:c,x:"0",y:"0",width:e,height:a,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,t.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,t.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,t.jsx)("feGaussianBlur",{stdDeviation:40})]})})]})}],606703);let a={src:e.i(348501).default,width:516,height:380,blurWidth:8,blurHeight:6,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAYAAAD+Bd/7AAAAoklEQVR42h3Lyw6CMBRF0f7/ZzFxZEKiMYKiJjz6oAVuW4Fc0WPDYM/WFodTl12LG5flnavHk4eRePKRpe75WNhMnCubN02Dtm33jDEg7+GGAZfXmAtlXKjrGl3XQimFdV2xzDMiTQm+gxgnYqcV4mAxx4CQbu8MFl1jpYkFJTBqCW86UEJSSoQEtkj4MLMIYaa+t9xbx9rYPR8ib1/wwj/6A1qGsw/Ra/bcAAAAAElFTkSuQmCC"};e.s(["default",0,a],103e3)},677997,429745,e=>{"use strict";var t=e.i(699173),s=e.i(592121),a=e.i(747961);let l=(0,s.forwardRef)(({title:e,titleId:s,desc:a,descId:l,...i},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":s,"aria-describedby":l,...i,children:[a?(0,t.jsx)("desc",{id:l,children:a}):null,void 0===e?(0,t.jsx)("title",{id:s,children:"lightning"}):e?(0,t.jsx)("title",{id:s,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.468 14.608a.56.56 0 0 0 .054.328c.05.1.13.178.224.223q.086.04.18.04a.43.43 0 0 0 .207-.064.5.5 0 0 0 .159-.162l6.017-8.742a.565.565 0 0 0 .05-.514.5.5 0 0 0-.17-.21.43.43 0 0 0-.246-.079H9.745l.8-4a.57.57 0 0 0-.092-.438.5.5 0 0 0-.161-.14.4.4 0 0 0-.2-.05H5.463a.43.43 0 0 0-.294.107.52.52 0 0 0-.168.289L3.612 7.882a.57.57 0 0 0 .091.443q.069.092.166.142a.4.4 0 0 0 .206.047H6.31zm5.49-8.18H8.526L9.45 1.8H5.896L4.71 7.514h2.748l-.692 5.007zm-5.022 8.31v-.01l.001-.055m-.03.097v-.028l-.004-.074m.005.102-.014-.021zm0 0v.027z",clipRule:"evenodd"})]})),i=s.default.forwardRef((e,s)=>(0,t.jsx)(a.BaseIcon,{ref:s,icon:l,...e}));i.displayName="Lightning",e.s(["Lightning",0,i],677997);var n=e.i(367810),r=e.i(226602),o=e.i(632137);e.s(["InstallPromptSheet",0,({open:e,onOpenChange:s,title:a,headline:l,description:i,imageUrl:c,imageAlt:u="",imageContent:d,getAppHref:h,getAppLabel:m="Get the app",onGetAppClick:p,learnMoreHref:f,learnMoreLabel:v="Learn more",onLearnMoreClick:g,closeLabel:b="Close"})=>(0,t.jsx)(n.Dialog,{open:e,onOpenChange:s,children:(0,t.jsxs)(n.DialogContent,{"aria-describedby":void 0,showCloseButton:!1,className:(0,o.cn)("flex flex-col gap-12 overflow-y-auto border-0 border-b border-black/10 bg-white p-6","pb-[calc(1.5rem+env(safe-area-inset-bottom))]","fixed inset-x-0 top-auto bottom-0 max-h-[90dvh] w-full max-w-none translate-x-0 translate-y-0 sm:max-w-none","rounded-t-3xl rounded-b-none","data-[state=open]:slide-in-from-bottom-full data-[state=closed]:slide-out-to-bottom-full"),children:[(0,t.jsx)(n.DialogClose,{"aria-label":b,className:"absolute top-4 left-4 z-10 flex size-8 cursor-pointer items-center justify-center rounded-2xl bg-[#f5f5f5] 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)(r.Close,{size:"sm",ariaHidden:!0,className:"size-4"})}),a?(0,t.jsx)(n.DialogTitle,{className:"p-0 text-center text-base font-bold text-[#252422]",children:a}):(0,t.jsx)(n.DialogTitle,{className:"sr-only",children:l}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[d||(c?(0,t.jsx)("div",{className:"relative h-40 w-full",children:(0,t.jsx)("img",{src:c,alt:u,className:"size-full rounded-lg object-cover"})}):null),(0,t.jsxs)("div",{className:"flex flex-col gap-2 px-4 text-center",children:[(0,t.jsx)("p",{className:"text-2xl font-extrabold text-[#252422]",children:l}),(0,t.jsx)("p",{className:"text-base font-medium text-[#676767]",children:i})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)("a",{href:h,onClick:p,className:"flex h-12 w-full items-center justify-center rounded-lg bg-[#252422] text-base font-bold text-white hover:bg-[#3a3a3a] active:bg-black",children:m}),f&&(0,t.jsx)("a",{href:f,onClick:g,className:"flex h-12 w-full items-center justify-center rounded-lg text-base font-bold text-[#252422] hover:opacity-70",children:v})]})]})})],429745)},432124,e=>{"use strict";var t=e.i(699173),s=e.i(592121),a=e.i(240058),l=e.i(64412),i=e.i(677997),n=e.i(995113),r=e.i(702957),o=e.i(489408),c=e.i(113016),u=e.i(312401),d=e.i(807215),h=e.i(876329),m=e.i(51398),p=e.i(240027),f=e.i(632137),v=e.i(546446);e.i(609717);var g=e.i(950771),b=e.i(537989);e.i(647872);var x=e.i(494889),j=e.i(611540),y=e.i(738426),A=e.i(381477),k=e.i(190344),P=e.i(427977),w=e.i(961123),S=e.i(559421),C=e.i(388706),_=e.i(498076),E=e.i(683903),N=e.i(304116),R=e.i(379276),I=e.i(269153),T=e.i(528600),L=e.i(837879),U=e.i(683199),O=e.i(677691),$=e.i(429745),M=e.i(606703),D=e.i(103e3),F=e.i(226602),z=e.i(697380),q=e.i(512134),H=e.i(521350),B=e.i(358273);let G="wx-next/get-app-button:dismissed-session",V=["/hourbyhour","/radar","/download/you"];function W(){let e=(0,_.useIsMobile)(),a=(0,w.usePathname)(),l=(0,v.useAtomValue)(z.fixedBottomAdHeightAtom),{isDismissed:i,dismiss:n}=function(){let e=(0,q.useIsClient)(),[t,a]=(0,s.useState)(!1);return{isDismissed:!e||t||function(){let e=function(){if(!(0,H.isLocalStorageAvailable)())return null;try{return localStorage.getItem(G)}catch{return null}}();if(!e)return!1;let t=(0,B.getMetricsSession)()?.sessionId;return!!t&&t===e}(),dismiss:(0,s.useCallback)(()=>{let e=(0,B.getMetricsSession)()?.sessionId;if(e&&(0,H.isLocalStorageAvailable)())try{localStorage.setItem(G,e)}catch{}a(!0)},[])}}(),{href:r}=(0,O.useAppInstallLink)("floating-button","floating-button"),o=(0,y.useTrackInstallPromptClick)("floating-button");if(!e||i||V.some(e=>a.includes(e)))return null;let c=`calc(3.5rem + ${l}px + 0.75rem)`;return(0,t.jsx)("div",{className:"z-sticky fixed left-1/2 -translate-x-1/2 md:hidden",style:{bottom:c},"data-testid":"get-app-button","data-component":"get-app-button",children:(0,t.jsxs)("div",{style:{background:"linear-gradient(to right, #204794, #007094)"},className:"group relative flex h-10 items-center overflow-hidden rounded-full shadow-lg",children:[(0,t.jsx)("a",{href:r,onClick:()=>o("get-the-app"),className:"relative z-2 flex h-full items-center gap-2 pr-2 pl-4 font-semibold text-white no-underline focus:outline-none",children:(0,t.jsx)("span",{className:"text-sm whitespace-nowrap",children:"Get the App"})}),(0,t.jsx)("button",{type:"button","aria-label":"Dismiss",onClick:n,className:"relative z-2 flex h-full items-center pr-4 pl-1 text-white focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none",children:(0,t.jsx)(F.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e=(0,_.useIsMobile)(),F=(0,w.usePathname)(),z=(0,S.useCanonicalBasePath)(),[q,H]=(0,s.useState)(!1),{href:B}=(0,O.useAppInstallLink)("you-hub","you-hub"),G=(0,y.useTrackInstallPromptClick)("you-hub"),V=(0,I.useIsSamsungPartner)(),Y=(0,v.useAtomValue)(b.pageIdAtom),Q=(0,E.useTranslations)("SidebarNavigation"),{user:K}=(0,T.useUser)(),{isUserPremium:J}=K,X=(0,L.useSubscriptionsEnabled)(),Z=(0,U.usePremiumSource)(),{location:ee,isLoading:et}=(0,l.useLocation)(),es=(0,v.useAtomValue)(g.pageLocaleAtom),ea=(0,v.useAtomValue)(x.newsHubEnabledAtom),el=(0,k.useVideoNavUrl)(),{data:ei}=(0,A.default)(["navigation/getQuickNav",es],()=>(0,P.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),en=(0,s.useMemo)(()=>{if(et||!ee)return[];let e=ee.placeId||"",s=ee.featureId,a=ee.canonicalID,l=(0,N.buildLocationPageHref)({pageType:"today",locale:es,canonicalID:a,featureId:s,placeId:e,canonicalBasePath:z,skipCanonical:V}),f=(0,N.buildLocationPageHref)({pageType:"radar",locale:es,canonicalID:a,featureId:s,placeId:e,canonicalBasePath:z,skipCanonical:V}),v=z?(0,C.navTypeForSuffix)(F.split("/").pop()):null,g="en-US"===es?"/":`/${es}`,b=F===g||"/"!==g&&F===`${g}/`||(z?"forecast"===v:F.includes("/weather/today/")||F.includes("/weather/hourbyhour/")||F.includes("/weather/tenday/")||F.includes("/weather/monthly/")||F.includes("/forecast/allergy/")||F.includes("/forecast/air-quality/")||F.includes("/forecast/cold-flu/")),x=z?"radar"===v:F.includes("/weather/radar/")||F.includes("/weather/maps/"),y=F.includes("/subscribe"),A="video"===Y,k=F===j.URLS.news||F.startsWith(`${j.URLS.news}/`)||R.NEWS_PAGE_IDS.includes(Y??""),P="en-US"===es&&ea,w=ei?.videoLinkLocaleInclude?.["en-US"],S=w?.override?`?${w?.adRef}`:"",_=el?`${el}${S}`:"",E="h-6 w-6 text-inherit";return[{name:Q("forecast"),href:l,icon:(0,t.jsx)(r.PartlyCloudyBold,{className:E}),activeIcon:(0,t.jsx)(o.PartlyCloudyBoldFilled,{className:E}),isActive:b},...P?[{name:"News",href:j.URLS.news,icon:(0,t.jsx)(m.News,{className:E}),activeIcon:(0,t.jsx)(p.NewsFilled,{className:E}),isActive:k}]:el?[{name:Q("video"),href:_,icon:(0,t.jsx)(c.VideoPlayerBold,{className:E}),activeIcon:(0,t.jsx)(u.VideoPlayerBoldFilled,{className:E}),isActive:A}]:[],{name:Q("radar"),href:f,icon:(0,t.jsx)(d.RadarBold,{className:E}),activeIcon:(0,t.jsx)(h.RadarBoldFilled,{className:E}),isActive:x},...X&&!J&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(i.Lightning,{className:E}),activeIcon:(0,t.jsx)(n.LightningFilled,{className:E}),isActive:y,onClick:()=>Z({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[et,ee,es,F,Y,ea,el,ei,z,Z,V]);if(!e)return null;let er="en-US"===es&&!V;return 0===en.length?er?(0,t.jsx)(W,{}):null:(0,t.jsxs)(t.Fragment,{children:[er&&(0,t.jsx)(W,{}),(0,t.jsx)("nav",{className:"z-sticky fixed right-0 bottom-0 left-0 bg-white md:hidden","aria-label":"Mobile navigation","data-component":"localsuite-nav","data-testid":"localsuite-nav",children:(0,t.jsx)("div",{className:"mx-auto flex w-full max-w-7xl",children:(0,t.jsx)("div",{className:"flex h-14 w-full items-stretch justify-around px-4 py-1",children:en.map(e=>{let s=(0,f.cn)("flex flex-1 flex-col items-center justify-center gap-0.5 rounded-3xl text-xs text-gray-900 transition-colors","hover:bg-gray-100 active:bg-gray-200",{"bg-gray-100 text-blue-500":e.isActive}),l=(0,f.cn)("text-[11px] leading-tight",e.isActive&&"font-semibold");return e.href?(0,t.jsxs)(a.default,{href:e.href,className:s,"aria-current":e.isActive?"page":void 0,sourceModule:"localsuite-nav",onClick:e.onClick,children:[(0,t.jsx)("span",{"aria-hidden":"true",children:e.isActive?e.activeIcon:e.icon}),(0,t.jsx)("span",{className:l,children:e.name})]},e.name):(0,t.jsxs)("button",{type:"button",className:s,onClick:e.onClick,children:[(0,t.jsx)("span",{"aria-hidden":"true",children:e.icon}),(0,t.jsx)("span",{className:l,children:e.name})]},e.name)})})})}),(0,t.jsx)($.InstallPromptSheet,{open:q,onOpenChange:H,title:"You Hub",headline:"Weather Your Way",description:"Save your favorite locations and unlock custom forecasts tailored to your daily travel, plans and routines.",imageContent:(0,t.jsx)("div",{className:"relative h-40 w-full",children:(0,t.jsxs)(M.CompositeFrame,{left:"0%",top:"-40.84%",width:"100%",height:"181.69%",children:[(0,t.jsx)(M.Glow,{viewBoxWidth:480,viewBoxHeight:408,color:"#679CED",cx:240,cy:204,rx:160,ry:124}),(0,t.jsx)(M.Card,{src:D.default.src,alt:"You Hub cards showing a saved commute activity and flight status",top:"26.2%",left:"23.5%",width:"53.3%"})]})}),getAppHref:B,onGetAppClick:()=>G("get-the-app"),learnMoreHref:"/download/you#you-hub",onLearnMoreClick:()=>G("learn-more")})]})}],432124)},247977,748315,e=>{"use strict";var t=e.i(699173),s=e.i(592121),a=e.i(683903),l=e.i(961123),i=e.i(611540),n=e.i(388706),r=e.i(304116),o=e.i(269153),c=e.i(457492),u=e.i(258990);e.s(["ForecastSubnav",0,function({placeId:e,featureId:d,placeQuery:h,canonicalPath:m,canonicalID:p,locale:f,showHealthTabs:v}){let g=(0,a.useTranslations)("SidebarNavigation"),b=(0,l.usePathname)(),x=(0,o.useIsSamsungPartner)(),j=e?(0,u.decodeLocId)(e):e,{links:y,basePath:A}=(0,s.useMemo)(()=>{if(m&&!x){let e=j?`l/${j}`:void 0,t=v&&e?[{label:"Allergies",slug:"allergy"},{label:"Air Quality",slug:"air-quality"},{label:"Cold & Flu",slug:"cold-flu"}]:[];return{links:[{label:g("today"),slug:"today"},{label:g("hourly"),slug:"hourbyhour"},{label:g("tenday"),slug:"tenday"},...e?[{label:g("monthly"),slug:"monthly",href:(0,i.interpolateUrl)(i.URLS.monthly,{locale:f,locId:j})}]:[],...t],basePath:m}}let e="en-US"===f?"/weather":`/${f}/weather`,t=j??"",s=h?`?${h}`:"",a=e=>`${(0,r.buildLocationPageHref)({pageType:e,locale:f,canonicalID:p,featureId:d,placeId:t,skipCanonical:x})}${s}`,l=v?[{label:"Allergies",slug:"allergy",href:a("allergy")},{label:"Air Quality",slug:"air-quality",href:a("air-quality")},{label:"Cold & Flu",slug:"cold-flu",href:a("cold-flu")}]:[];return{links:[{label:g("today"),slug:"today",href:a("today")},{label:g("hourly"),slug:"hourbyhour",href:a("hourbyhour")},{label:g("tenday"),slug:"tenday",href:a("tenday")},{label:g("monthly"),slug:"monthly",href:`${(0,i.interpolateUrl)(i.URLS.monthly,{locale:f,locId:d&&n.CANONICAL_PAGE_TYPES.includes("monthly")?d:t})}${s}`},...l],basePath:e}},[m,p,j,d,h,f,v,x,g]),k=(0,s.useMemo)(()=>{let e=b.replace(/\/day-\d+$/,"");if(e!==b){let e=y.findIndex(e=>"tenday"===e.slug);if(-1!==e)return e}let t=y.findIndex(t=>{let{slug:s}=t,a=n.BASE_BY_PAGE[s];return!!a&&b.includes(`${a}byFeatureId/`)||b.includes(`/weather/${s}/`)||b.includes(`/forecast/${s}/`)||e.endsWith(`/${s}`)});return -1!==t?t:0},[b,y]);return(0,t.jsx)(c.SubnavigationUI,{links:y,basePath:A,activeIndex:k})}],247977);var d=e.i(959194),h=e.i(132084);e.s(["canShowHealthTabs",0,function(e){return"en-US"===e&&(0,d.getPartner)()!==h.Partner.SAMSUNG}],748315)},995181,e=>{"use strict";var t=e.i(699173),s=e.i(592121),a=e.i(546446),l=e.i(730921),i=e.i(683903),n=e.i(646341),r=e.i(632137),o=e.i(226602),c=e.i(611540);let u=(0,e.i(981030).atom)(!1),d="tou-notice-dismissed",h=new Date("2027-04-30");var m=e.i(498076),p=e.i(725296),f=e.i(1567),v=e.i(947118);let g=[p.Regime.GDPR,p.Regime.LGPD,p.Regime.EXEMPT,p.Regime.LATAM_CO,p.Regime.LATAM_DO,p.Regime.LATAM_PE,p.Regime.USA,p.Regime.USA_CCPA,p.Regime.USA_CO,p.Regime.USA_CT,p.Regime.USA_VA,p.Regime.USA_UT,p.Regime.CA,p.Regime.TR_KVKK,p.Regime.KR,p.Regime.JP,p.Regime.CA_QC],b=new Date("2026-05-30"),x=({regime:e,className:p})=>{let x=(0,i.useTranslations)("TouNotice"),j=(0,l.useLocale)(),y=(0,c.interpolateUrl)(c.URLS.termsOfUse,{locale:j}),A=(0,c.interpolateUrl)(c.URLS.privacyPolicy,{locale:j}),[k,P]=(0,a.useAtom)(u),w=(0,s.useRef)(null),S=(0,s.useRef)(!1),C=(0,m.useIsMobile)(),_=(0,v.useIsInitialized)(),E=(0,f.useTrackModuleViewed)(),[N,R]=(0,s.useState)(!1);(0,s.useEffect)(()=>{let e=(0,n.getCookie)("partner")?.toString().toLowerCase();R(e?.includes("samsung")??!1)},[]);let I=g.includes(e),T=new Date{I&&T&&((0,n.getCookie)(d)||P(!0))},[I,T,P]),(0,s.useEffect)(()=>{k&&I&&T&&_&&!S.current&&(S.current=!0,E({moduleId:"PP and TOU pop-up notification",modulePosition:0}))},[k,I,T,_,E]);let L=(0,s.useCallback)(()=>{(0,n.setCookie)(d,"true",{expires:h}),P(!1)},[P]);if((0,s.useEffect)(()=>{if(!k||C)return;let e=e=>{w.current&&!w.current.contains(e.target)&&L()},t=setTimeout(()=>{window.addEventListener("click",e)},100);return()=>{clearTimeout(t),window.removeEventListener("click",e)}},[k,C,L]),!k||!I||!T)return null;let U=x("heading"),O="text-[#252422] underline hover:text-[#252422]/80",$=x.rich("message",{updatedTerms:e=>(0,t.jsx)("a",{href:y,target:"_blank",rel:"noopener noreferrer",className:O,children:e}),privacyPolicy:e=>(0,t.jsx)("a",{href:A,target:"_blank",rel:"noopener noreferrer",className:O,children:e})}),M=(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:U})}),(0,t.jsx)("button",{onClick:L,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)(o.Close,{className:"h-4 w-4"})})]}),(0,t.jsx)("div",{className:"text-sm leading-tight font-medium text-[#252422]",children:$})]});return C?(0,t.jsx)("div",{className:(0,r.cn)(N?"bg-white":"bg-[#CBDEF0]","mx-4 mt-4 rounded-2xl p-4",p),"aria-label":"Privacy and Terms of Use Notice",children:M}):(0,t.jsx)("div",{"aria-label":"Privacy and Terms of Use Notice",className:(0,r.cn)("relative",p),children:(0,t.jsx)("div",{ref:w,className:(0,r.cn)("z-toast fixed right-5 bottom-5 w-full max-w-[432px] rounded-2xl p-6 shadow-lg",N?"bg-white":"bg-[#CBDEF0]"),children:M})})};e.s(["PrivacyTOUNoticeClient",0,x,"default",0,x],995181)},345715,e=>{"use strict";var t=e.i(699173),s=e.i(683903),a=e.i(281687),l=e.i(457492),i=e.i(247977),n=e.i(748315);let r=["en-US"],o=(e,t)=>`/redir?id=autodetect&page=${e}&locale=${t}`;e.s(["HomeForecastSubnav",0,function({locale:e}){let c=(0,s.useTranslations)("SidebarNavigation"),u=(0,a.useChromeLocation)(),d=u?.placeId;if(!d){if(!r.includes(e))return null;let s=[{label:c("today"),slug:"today",href:o("today",e)},{label:c("hourly"),slug:"hourbyhour",href:o("hourly",e)},{label:c("tenday"),slug:"tenday",href:o("tenday",e)},{label:c("monthly"),slug:"monthly",href:o("monthly",e)},{label:"Allergies",slug:"allergy",href:o("allergy",e)},{label:"Air Quality",slug:"air-quality",href:o("air-quality",e)},{label:"Cold & Flu",slug:"cold-flu",href:o("cold-flu",e)}];return(0,t.jsx)(l.SubnavigationUI,{links:s,basePath:"",activeIndex:0})}return(0,t.jsx)(i.ForecastSubnav,{placeId:d,featureId:u?.featureId,canonicalID:u?.canonicalID,locale:e,showHealthTabs:(0,n.canShowHealthTabs)(e)})}])},186044,e=>{e.v(t=>Promise.all(["static/chunks/1s0yu1ycmetse.js"].map(t=>e.l(t))).then(()=>t(451309)))},171913,e=>{e.v(t=>Promise.all(["static/chunks/3dcs0l5j1g6a_.js"].map(t=>e.l(t))).then(()=>t(927976)))},90,e=>{e.v(t=>Promise.all(["static/chunks/02ppzgv5a8lxs.js"].map(t=>e.l(t))).then(()=>t(22872)))},92368,e=>{e.v(t=>Promise.all(["static/chunks/3i0zaiku7bje6.js"].map(t=>e.l(t))).then(()=>t(789895)))},666922,e=>{e.v(t=>Promise.all(["static/chunks/2_ad85pvnpasr.js"].map(t=>e.l(t))).then(()=>t(856593)))},722332,e=>{e.v(t=>Promise.all(["static/chunks/0lb0gugsiefuf.js"].map(t=>e.l(t))).then(()=>t(476881)))},880187,e=>{e.v(t=>Promise.all(["static/chunks/0ytexffeurca4.js"].map(t=>e.l(t))).then(()=>t(747997)))},744883,e=>{e.v(t=>Promise.all(["static/chunks/0zs2to7zqkb6b.js"].map(t=>e.l(t))).then(()=>t(581947)))},197999,e=>{e.v(t=>Promise.all(["static/chunks/3n-sga4604-oh.js"].map(t=>e.l(t))).then(()=>t(272493)))},407657,e=>{e.v(t=>Promise.all(["static/chunks/32asyc-qi6t0-.js"].map(t=>e.l(t))).then(()=>t(75960)))},650095,e=>{e.v(t=>Promise.all(["static/chunks/2rj208utmr5yr.js"].map(t=>e.l(t))).then(()=>t(601862)))},916531,e=>{e.v(t=>Promise.all(["static/chunks/1edjqytr4b4do.js"].map(t=>e.l(t))).then(()=>t(369675)))},415546,e=>{e.v(t=>Promise.all(["static/chunks/28ekr4h-6r_th.js"].map(t=>e.l(t))).then(()=>t(667728)))},353962,e=>{e.v(t=>Promise.all(["static/chunks/3bevr2_4h3ua9.js"].map(t=>e.l(t))).then(()=>t(367128)))},391939,e=>{e.v(t=>Promise.all(["static/chunks/0o-5ypipfmvgj.js"].map(t=>e.l(t))).then(()=>t(72575)))},155043,e=>{e.v(t=>Promise.all(["static/chunks/1eisd1srr5_wl.js"].map(t=>e.l(t))).then(()=>t(869146)))},103659,e=>{e.v(t=>Promise.all(["static/chunks/3eonedq0tzhbu.js"].map(t=>e.l(t))).then(()=>t(296920)))},945801,e=>{e.v(t=>Promise.all(["static/chunks/27b4xgp6fncrs.js"].map(t=>e.l(t))).then(()=>t(566248)))},252521,e=>{e.v(t=>Promise.all(["static/chunks/07fx3by0-8gd2.js"].map(t=>e.l(t))).then(()=>t(661446)))},781723,e=>{e.v(t=>Promise.all(["static/chunks/15h1quv6sbk5n.js"].map(t=>e.l(t))).then(()=>t(563447)))},625303,e=>{e.v(t=>Promise.all(["static/chunks/3_im3i23ahlrn.js"].map(t=>e.l(t))).then(()=>t(718437)))},909969,e=>{e.v(t=>Promise.all(["static/chunks/35zkk3b49wu7f.js"].map(t=>e.l(t))).then(()=>t(218776)))},408674,e=>{e.v(t=>Promise.all(["static/chunks/37zcsfcnoati1.js"].map(t=>e.l(t))).then(()=>t(783769)))},632092,e=>{e.v(t=>Promise.all(["static/chunks/3m9vh4xsqulp_.js"].map(t=>e.l(t))).then(()=>t(45677)))},713848,e=>{e.v(t=>Promise.all(["static/chunks/3erqiumfpcfsb.js"].map(t=>e.l(t))).then(()=>t(889507)))},774463,e=>{e.v(t=>Promise.all(["static/chunks/0qc98scy26su0.js"].map(t=>e.l(t))).then(()=>t(155062)))},494738,e=>{e.v(t=>Promise.all(["static/chunks/35_axkfal7ger.js"].map(t=>e.l(t))).then(()=>t(512028)))},2638,e=>{e.v(t=>Promise.all(["static/chunks/2ve1e19qddzym.js"].map(t=>e.l(t))).then(()=>t(198051)))},67832,e=>{e.v(t=>Promise.all(["static/chunks/2dcwk6m_v4qfi.js"].map(t=>e.l(t))).then(()=>t(414064)))},846784,e=>{e.v(t=>Promise.all(["static/chunks/1e3vb5d7j0x8s.js"].map(t=>e.l(t))).then(()=>t(873667)))},72998,e=>{e.v(t=>Promise.all(["static/chunks/2dnj4r_lxdey9.js"].map(t=>e.l(t))).then(()=>t(970479)))},395624,e=>{e.v(t=>Promise.all(["static/chunks/2szbhxkcxvd0v.js"].map(t=>e.l(t))).then(()=>t(600726)))},626117,e=>{e.v(t=>Promise.all(["static/chunks/0_bdyv7xs8xqi.js"].map(t=>e.l(t))).then(()=>t(825086)))},132409,e=>{e.v(t=>Promise.all(["static/chunks/43drnw5w4qy5b.js"].map(t=>e.l(t))).then(()=>t(3017)))},226507,e=>{e.v(t=>Promise.all(["static/chunks/2qf6ha3gakfwh.js"].map(t=>e.l(t))).then(()=>t(538258)))},48208,e=>{e.v(t=>Promise.all(["static/chunks/3msns9jhb6vfx.js"].map(t=>e.l(t))).then(()=>t(625444)))},164295,e=>{e.v(t=>Promise.all(["static/chunks/0z4a_zo6coobc.js"].map(t=>e.l(t))).then(()=>t(702162)))},148486,e=>{e.v(t=>Promise.all(["static/chunks/0zgy365rwmgw6.js"].map(t=>e.l(t))).then(()=>t(946515)))},403395,e=>{e.v(t=>Promise.all(["static/chunks/1xu3zmek98e_j.js"].map(t=>e.l(t))).then(()=>t(573581)))},957284,e=>{e.v(t=>Promise.all(["static/chunks/0_pa8k2y1jvmh.js"].map(t=>e.l(t))).then(()=>t(48914)))},752465,e=>{e.v(t=>Promise.all(["static/chunks/16yf-fk_5dxil.js"].map(t=>e.l(t))).then(()=>t(777844)))},521662,e=>{e.v(t=>Promise.all(["static/chunks/05rm8oago-b2j.js"].map(t=>e.l(t))).then(()=>t(782697)))},661123,e=>{e.v(t=>Promise.all(["static/chunks/1ejdc4_dkaxie.js"].map(t=>e.l(t))).then(()=>t(711818)))},476493,e=>{e.v(t=>Promise.all(["static/chunks/0-juv8n6sj234.js"].map(t=>e.l(t))).then(()=>t(328877)))},96219,e=>{e.v(t=>Promise.all(["static/chunks/1xysk8q7v45yq.js"].map(t=>e.l(t))).then(()=>t(16557)))},267082,e=>{e.v(t=>Promise.all(["static/chunks/0xoc-80mj2wf4.js"].map(t=>e.l(t))).then(()=>t(894202)))},900346,e=>{e.v(t=>Promise.all(["static/chunks/1ha-_teedwusg.js"].map(t=>e.l(t))).then(()=>t(389327)))},951283,e=>{e.v(t=>Promise.all(["static/chunks/3a_-907ght-9f.js"].map(t=>e.l(t))).then(()=>t(273498)))},276567,e=>{e.v(t=>Promise.all(["static/chunks/2mv-8zxpzzwwu.js"].map(t=>e.l(t))).then(()=>t(501462)))},355962,e=>{e.v(t=>Promise.all(["static/chunks/1xfz0ndwwku-g.js"].map(t=>e.l(t))).then(()=>t(503885)))},592630,e=>{e.v(t=>Promise.all(["static/chunks/2pgmsb8dtnd4f.js"].map(t=>e.l(t))).then(()=>t(507085)))},72951,e=>{e.v(t=>Promise.all(["static/chunks/3frs5ut_mr9jz.js"].map(t=>e.l(t))).then(()=>t(360647)))},660824,e=>{e.v(t=>Promise.all(["static/chunks/0iowcy2muw17u.js"].map(t=>e.l(t))).then(()=>t(530212)))},261156,e=>{e.v(t=>Promise.all(["static/chunks/0p7hfhljgk2-f.js"].map(t=>e.l(t))).then(()=>t(827382)))},887908,e=>{e.v(t=>Promise.all(["static/chunks/2muzzes3ebvio.js"].map(t=>e.l(t))).then(()=>t(147168)))},765014,e=>{e.v(t=>Promise.all(["static/chunks/2obqxa1hf_17u.js"].map(t=>e.l(t))).then(()=>t(872251)))},416614,e=>{e.v(t=>Promise.all(["static/chunks/1ik34-b6y-68f.js"].map(t=>e.l(t))).then(()=>t(901728)))},317297,e=>{e.v(t=>Promise.all(["static/chunks/1lh1dd_wqvvgv.js"].map(t=>e.l(t))).then(()=>t(680602)))},829350,e=>{e.v(t=>Promise.all(["static/chunks/43e0tlh0e2xwg.js"].map(t=>e.l(t))).then(()=>t(447314)))},840623,e=>{e.v(t=>Promise.all(["static/chunks/2xq4kr5wjs210.js"].map(t=>e.l(t))).then(()=>t(882330)))},541661,e=>{e.v(t=>Promise.all(["static/chunks/3cwm46b_eq881.js"].map(t=>e.l(t))).then(()=>t(478186)))},762150,e=>{e.v(t=>Promise.all(["static/chunks/3rq22vh8nqleq.js"].map(t=>e.l(t))).then(()=>t(1892)))},949390,e=>{e.v(t=>Promise.all(["static/chunks/01dglbyuneo21.js"].map(t=>e.l(t))).then(()=>t(748540)))},393816,e=>{e.v(t=>Promise.all(["static/chunks/2b7s6yod107he.js"].map(t=>e.l(t))).then(()=>t(855621)))},991894,e=>{e.v(t=>Promise.all(["static/chunks/2tkn4v28c8_6h.js"].map(t=>e.l(t))).then(()=>t(39086)))},389867,e=>{e.v(t=>Promise.all(["static/chunks/0y2_cimnkwv4j.js"].map(t=>e.l(t))).then(()=>t(702479)))},48629,e=>{e.v(t=>Promise.all(["static/chunks/1t_08iyfh5959.js"].map(t=>e.l(t))).then(()=>t(769885)))},563854,e=>{e.v(t=>Promise.all(["static/chunks/1ys24fxmn4-94.js"].map(t=>e.l(t))).then(()=>t(643246)))},959395,e=>{e.v(t=>Promise.all(["static/chunks/3265zajbr_d9g.js"].map(t=>e.l(t))).then(()=>t(706686)))},813499,e=>{e.v(t=>Promise.all(["static/chunks/1pktornl6_c42.js"].map(t=>e.l(t))).then(()=>t(314459)))},776943,e=>{e.v(t=>Promise.all(["static/chunks/0yb78c1q2xyah.js"].map(t=>e.l(t))).then(()=>t(97569)))},876327,e=>{e.v(t=>Promise.all(["static/chunks/1m83pcm1ntuaw.js"].map(t=>e.l(t))).then(()=>t(947387)))},815954,e=>{e.v(t=>Promise.all(["static/chunks/1p9s2nkj4looz.js"].map(t=>e.l(t))).then(()=>t(61161)))},921282,e=>{e.v(t=>Promise.all(["static/chunks/21nwvg7pmzu_t.js"].map(t=>e.l(t))).then(()=>t(493948)))},565343,e=>{e.v(t=>Promise.all(["static/chunks/3qefxtc841w4c.js"].map(t=>e.l(t))).then(()=>t(294782)))},423373,e=>{e.v(t=>Promise.all(["static/chunks/3vfsro-dwhlad.js"].map(t=>e.l(t))).then(()=>t(62159)))},15398,e=>{e.v(t=>Promise.all(["static/chunks/18x52uhxkpm69.js"].map(t=>e.l(t))).then(()=>t(762526)))},284458,e=>{e.v(t=>Promise.all(["static/chunks/18j_xv6wj08i4.js"].map(t=>e.l(t))).then(()=>t(877390)))}]);