(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,10993,e=>{e.q("/_next/static/media/focusLogo.2pi2rjgfr3x4_.svg")},348501,e=>{e.q("/_next/static/media/dlpg-you.0o6zs2s1qinws.png")},867775,e=>{"use strict";var l=e.i(699173),i=e.i(592121),a=e.i(730921),t=e.i(51390),s=e.i(877957),r=e.i(367810),o=e.i(901351),n=e.i(313983),d=e.i(725296),c=e.i(521350),u=e.i(611540);let f=({isUserLoggedIn:e,regime:f,deviceClass:h,experience:x,isPremiumUser:p})=>{let g=(0,t.useTranslations)("PrivacyConsentModal"),m=(0,a.useLocale)(),v=(0,u.interpolateUrl)(u.URLS.privacyPolicy,{locale:m}),[w,b]=(0,i.useState)(!1),[j,y]=(0,i.useState)(!1),[A,C]=(0,i.useState)(!1);(0,i.useEffect)(()=>{if(!d.US_REGIMES.includes(f)||p||!(0,c.isLocalStorageAvailable)())return;let l=localStorage.getItem("gpcConflict"),i=localStorage.getItem("saleOfDataConflict");l?(y(!0),b(!0)):e&&i&&(C(!0),b(!0))},[f,p,e]);let R=async e=>{try{let l={purpose:e.purpose,consent:e.value,setByUser:!0};await o.upsxClient.consent.createUserConsent(l),e.refreshAfterUpdate&&window.location.reload()}catch(e){console.error("Failed to update UPSX consent:",e)}},N=l=>{let i=window,a=window.top,t=i.DprSdk||a?.DprSdk;t?(t.setUserConsents({[n.Purpose.SALE_OF_DATA]:l}),e&&R({purpose:n.Purpose.SALE_OF_DATA,value:l,refreshAfterUpdate:!0}),j?((0,c.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||window.location.reload()):A&&(0,c.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),b(!1)):console.error("Unable to fix conflict, missing DprSdk.")},B="",P="";if(j?(B="gpcConflictHeader",P="gpcConflictParagraph",f===d.Regime.USA_CCPA&&(P+="_usa-ccpa")):A&&(B="saleOfDataConflictHeader",P="saleOfDataConflictParagraph",f===d.Regime.USA_CCPA&&(P+="_usa-ccpa")),P)return(0,l.jsx)(r.Dialog,{open:w,onOpenChange:b,children:(0,l.jsxs)(r.DialogContent,{className:`text-center ${"desktop"!==h?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===x?"wu-theme":""} `,onEscapeKeyDown:e=>{(A||j)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[B&&(0,l.jsx)(r.DialogHeader,{children:(0,l.jsx)(r.DialogTitle,{className:"text-xl font-semibold",children:g(B)})}),(0,l.jsx)("div",{className:"py-4",children:(0,l.jsx)("p",{className:"text-sm leading-relaxed",children:g.rich(P,{privacyPolicyLink:e=>(0,l.jsx)("a",{href:v,target:"_top",className:"text-blue-600 underline hover:text-blue-800",children:e})})})}),(0,l.jsxs)(r.DialogFooter,{className:"flex w-fit flex-col gap-3 justify-self-center",children:[(0,l.jsx)(s.Button,{onClick:()=>{N(!0)},variant:"default",className:"w-full sm:w-auto",children:g("optInButtonText")}),(0,l.jsx)(s.Button,{onClick:()=>{N(!1)},variant:"secondary",className:"w-full sm:w-auto",children:g("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModal",0,f,"default",0,f])},731672,e=>{"use strict";var l=e.i(546446),i=e.i(530102),a=e.i(671525),t=e.i(889753),s=e.i(45846),r=e.i(284007),o=e.i(756227),n=e.i(318849),d=e.i(358273);e.s(["useUserLogout",0,function(){let e=(0,l.useSetAtom)(t.userPreferencesAtom),c=(0,o.useResetAuthState)(),{refresh:u}=(0,a.usePageNavigation)();return async()=>{try{return(0,d.regenerateMetricsSession)(),await s.upsxClient.auth.logout(),c(),e(r.RESET),(0,i.deleteCookie)("twc-user",{domain:".weather.com"}),(0,n.disableSwrPersist)(),u({mpa:!0}),!0}catch(e){return console.error("Failed to log out:",e),!1}}}])},129932,e=>{"use strict";var l=e.i(699173),i=e.i(592121),a=e.i(747961);let t=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:t,...s},r)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:r,"aria-labelledby":i,"aria-describedby":t,...s,children:[a?(0,l.jsx)("desc",{id:t,children:a}):null,void 0===e?(0,l.jsx)("title",{id:i,children:"Products"}):e?(0,l.jsx)("title",{id:i,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M18 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M12 1.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5",clipRule:"evenodd"})]})),s=i.default.forwardRef((e,i)=>(0,l.jsx)(a.BaseIcon,{ref:i,icon:t,...e}));s.displayName="SkincareBold",e.s(["SkincareBold",0,s])},800177,e=>{"use strict";var l=e.i(699173),i=e.i(592121),a=e.i(747961);let t=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:t,...s},r)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:r,"aria-labelledby":i,"aria-describedby":t,...s,children:[a?(0,l.jsx)("desc",{id:t,children:a}):null,void 0===e?(0,l.jsx)("title",{id:i,children:"Products"}):e?(0,l.jsx)("title",{id:i,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9M18 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9M12 1.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9",clipRule:"evenodd"})]})),s=i.default.forwardRef((e,i)=>(0,l.jsx)(a.BaseIcon,{ref:i,icon:t,...e}));s.displayName="SkincareBoldFilled",e.s(["SkincareBoldFilled",0,s])},113016,312401,807215,876329,e=>{"use strict";var l=e.i(699173),i=e.i(592121),a=e.i(747961);let t=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:t,...s},r)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:r,"aria-labelledby":i,"aria-describedby":t,...s,children:[a?(0,l.jsx)("desc",{id:t,children:a}):null,void 0===e?(0,l.jsx)("title",{id:i,children:"Video"}):e?(0,l.jsx)("title",{id:i,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",d:"M9.5 8.895a.5.5 0 0 1 .762-.426l5.046 3.105a.5.5 0 0 1 0 .852l-5.046 3.105a.5.5 0 0 1-.762-.426z"}),(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M20.5 4.5a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-17a2 2 0 0 1-2-2v-11a2 2 0 0 1 2-2zm-17 13h17v-11h-17z",clipRule:"evenodd"})]})),s=i.default.forwardRef((e,i)=>(0,l.jsx)(a.BaseIcon,{ref:i,icon:t,...e}));s.displayName="VideoPlayerBold",e.s(["VideoPlayerBold",0,s],113016);let r=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:t,...s},r)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:r,"aria-labelledby":i,"aria-describedby":t,...s,children:[a?(0,l.jsx)("desc",{id:t,children:a}):null,void 0===e?(0,l.jsx)("title",{id:i,children:"Video"}):e?(0,l.jsx)("title",{id:i,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M20.5 4.5a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-17a2 2 0 0 1-2-2v-11a2 2 0 0 1 2-2zM10.262 8.469a.5.5 0 0 0-.762.426v6.21a.5.5 0 0 0 .762.426l5.046-3.105a.5.5 0 0 0 0-.852z",clipRule:"evenodd"})]})),o=i.default.forwardRef((e,i)=>(0,l.jsx)(a.BaseIcon,{ref:i,icon:r,...e}));o.displayName="VideoPlayerBoldFilled",e.s(["VideoPlayerBoldFilled",0,o],312401);let n=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:t,...s},r)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:r,"aria-labelledby":i,"aria-describedby":t,...s,children:[a?(0,l.jsx)("desc",{id:t,children:a}):null,void 0===e?(0,l.jsx)("title",{id:i,children:"Radar"}):e?(0,l.jsx)("title",{id:i,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",d:"M12 2a1 1 0 0 1 0 2 8.001 8.001 0 1 0 2.322 15.655 8 8 0 0 0 4-12.557l-1.43 1.43A6 6 0 1 1 12 6a1 1 0 0 1 0 2 4 4 0 1 0 3.447 1.973l-2.74 2.74a1 1 0 0 1-1.414-1.414l6.321-6.323.043-.047a1 1 0 0 1 1.415 0A10 10 0 1 1 12 2"})]})),d=i.default.forwardRef((e,i)=>(0,l.jsx)(a.BaseIcon,{ref:i,icon:n,...e}));d.displayName="RadarBold",e.s(["RadarBold",0,d],807215);let c=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:t,...s},r)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:r,"aria-labelledby":i,"aria-describedby":t,...s,children:[a?(0,l.jsx)("desc",{id:t,children:a}):null,void 0===e?(0,l.jsx)("title",{id:i,children:"Radar"}):e?(0,l.jsx)("title",{id:i,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2m0 2a8.002 8.002 0 0 0-7.056 11.772 8.001 8.001 0 1 0 12.713-9.43.75.75 0 0 0-1.06 0l-.006.007-.03.027-5.091 5.09a.751.751 0 0 0 1.06 1.062l2.053-2.053A3.001 3.001 0 1 1 12 9a.75.75 0 0 0 0-1.5 4.502 4.502 0 0 0-3.969 6.621 4.502 4.502 0 0 0 7.71.379 4.5 4.5 0 0 0-.075-5.108l1.429-1.43a6.5 6.5 0 0 1 .31 7.65A6.5 6.5 0 1 1 12 5.5.75.75 0 0 0 12 4",clipRule:"evenodd"})]})),u=i.default.forwardRef((e,i)=>(0,l.jsx)(a.BaseIcon,{ref:i,icon:c,...e}));u.displayName="RadarBoldFilled",e.s(["RadarBoldFilled",0,u],876329)},702957,489408,e=>{"use strict";var l=e.i(699173),i=e.i(592121),a=e.i(747961);let t=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:t,...s},r)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:r,"aria-labelledby":i,"aria-describedby":t,...s,children:[a?(0,l.jsx)("desc",{id:t,children:a}):null,void 0===e?(0,l.jsx)("title",{id:i,children:"Today"}):e?(0,l.jsx)("title",{id:i,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 2a5.5 5.5 0 0 1 5.5 5.5c0 1.661-.74 3.145-1.902 4.153A5.5 5.5 0 0 1 17 22H7a5.5 5.5 0 0 1-1.628-10.753 7.01 7.01 0 0 1 5.193-4.6A5.5 5.5 0 0 1 16 2m-4 6.5a5 5 0 0 0-4.857 3.813l-.154.628-.635.12A3.5 3.5 0 0 0 7 20h10a3.5 3.5 0 0 0 .645-6.94l-.635-.118-.154-.629A5 5 0 0 0 12 8.5M16 4a3.5 3.5 0 0 0-3.363 2.53 7 7 0 0 1 5.55 3.701A3.5 3.5 0 0 0 16 4",clipRule:"evenodd"})]})),s=i.default.forwardRef((e,i)=>(0,l.jsx)(a.BaseIcon,{ref:i,icon:t,...e}));s.displayName="PartlyCloudyBold",e.s(["PartlyCloudyBold",0,s],702957);let r=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:t,...s},r)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:r,"aria-labelledby":i,"aria-describedby":t,...s,children:[a?(0,l.jsx)("desc",{id:t,children:a}):null,void 0===e?(0,l.jsx)("title",{id:i,children:"Today"}):e?(0,l.jsx)("title",{id:i,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 2a5.5 5.5 0 0 1 3.6 9.655A5.5 5.5 0 0 1 17 22H7a5.5 5.5 0 0 1-1.628-10.753 7.01 7.01 0 0 1 5.193-4.6A5.5 5.5 0 0 1 16 2m0 2a3.5 3.5 0 0 0-3.363 2.53 7 7 0 0 1 5.55 3.701A3.5 3.5 0 0 0 16 4",clipRule:"evenodd"})]})),o=i.default.forwardRef((e,i)=>(0,l.jsx)(a.BaseIcon,{ref:i,icon:r,...e}));o.displayName="PartlyCloudyBoldFilled",e.s(["PartlyCloudyBoldFilled",0,o],489408)},995113,e=>{"use strict";var l=e.i(699173),i=e.i(592121),a=e.i(747961);let t=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:t,...s},r)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:r,"aria-labelledby":i,"aria-describedby":t,...s,children:[a?(0,l.jsx)("desc",{id:t,children:a}):null,void 0===e?(0,l.jsx)("title",{id:i,children:"lightning"}):e?(0,l.jsx)("title",{id:i,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",d:"M5.748 14.435a.43.43 0 0 0 .203.195.4.4 0 0 0 .164.037.4.4 0 0 0 .188-.057.43.43 0 0 0 .145-.142l5.47-7.69a.47.47 0 0 0 .046-.453.44.44 0 0 0-.156-.185.4.4 0 0 0-.223-.068H9.587l.727-3.52a.49.49 0 0 0-.084-.384.4.4 0 0 0-.146-.124A.4.4 0 0 0 9.902 2H5.694a.4.4 0 0 0-.268.094.46.46 0 0 0-.152.254L4.01 8.23a.49.49 0 0 0 .083.39q.062.082.151.126a.4.4 0 0 0 .187.04h2.032L5.7 14.147c-.014.1.003.201.049.289"})]})),s=i.default.forwardRef((e,i)=>(0,l.jsx)(a.BaseIcon,{ref:i,icon:t,...e}));s.displayName="LightningFilled",e.s(["LightningFilled",0,s])},429745,e=>{"use strict";var l=e.i(699173),i=e.i(367810),a=e.i(226602),t=e.i(632137);e.s(["InstallPromptSheet",0,({open:e,onOpenChange:s,title:r,headline:o,description:n,imageUrl:d,imageAlt:c="",imageContent:u,getAppHref:f,getAppLabel:h="Get the app",onGetAppClick:x,learnMoreHref:p,learnMoreLabel:g="Learn more",onLearnMoreClick:m,closeLabel:v="Close"})=>(0,l.jsx)(i.Dialog,{open:e,onOpenChange:s,children:(0,l.jsxs)(i.DialogContent,{"aria-describedby":void 0,showCloseButton:!1,className:(0,t.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,l.jsx)(i.DialogClose,{"aria-label":v,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,l.jsx)(a.Close,{size:"sm",ariaHidden:!0,className:"size-4"})}),(0,l.jsx)(i.DialogTitle,{className:"p-0 text-center text-base font-bold text-[#252422]",children:r}),(0,l.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[(0,l.jsx)("div",{className:"relative h-40 w-full",children:u||(d?(0,l.jsx)("img",{src:d,alt:c,className:"size-full rounded-lg object-cover"}):(0,l.jsx)("div",{className:"size-full rounded-lg bg-gradient-to-br from-rose-100 via-sky-100 to-violet-100"}))}),(0,l.jsxs)("div",{className:"flex flex-col gap-2 px-4 text-center",children:[(0,l.jsx)("p",{className:"text-2xl font-extrabold text-[#252422]",children:o}),(0,l.jsx)("p",{className:"text-base font-medium text-[#676767]",children:n})]})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,l.jsx)("a",{href:f,onClick:x,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:h}),(0,l.jsx)("a",{href:p,onClick:m,className:"flex h-12 w-full items-center justify-center rounded-lg text-base font-bold text-[#252422] hover:opacity-70",children:g})]})]})})])},726812,16730,e=>{"use strict";let l="com.weather.Weather",i="id295646461",a="https://app.appsflyer.com",t="weather.com",s=`https://apps.apple.com/us/app/the-weather-channel/${i}`,r=`https://play.google.com/store/apps/details?id=${l}`;e.s(["APPSFLYER_DEFAULT_CAMPAIGN",0,t,"APPSFLYER_HOST",0,a,"APPSFLYER_PID",0,"WWW","APP_STORE_URL",0,s,"DEFAULT_ANDROID_ID",0,l,"DEFAULT_IPHONE_ID",0,i,"PLAY_STORE_URL",0,r],726812),e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:s,currentUrl:r,allowAppsFlyer:o,deepLinkValue:n}){if(!o||!s||null===e)return"";let d="android"===e?l:i,c=encodeURIComponent(s.replace(/ /g,"_")),u=`${a}/${d}?pid=WWW&af_adset=${c}&c=${t}`;return n&&(u+=`&deep_link_value=${encodeURIComponent(n)}`),"ios"===e&&r&&(u+=`&af_ios_fallback=${encodeURIComponent(r)}`),u}],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 l=e.i(592121),i=e.i(726812),a=e.i(16730),t=e.i(881282);e.s(["useAppInstallLink",0,function(e,s){let[r,o]=(0,l.useState)(null),[n,d]=(0,l.useState)(null),[c,u]=(0,l.useState)(!1);(0,l.useEffect)(()=>{o((0,t.getPlatform)(navigator.userAgent)),d(window.location.href),u(!!window.DprSdk?.getFeatureFlags()?.appsFlyer)},[]);let f=(0,a.getAppsFlyerLink)({platform:r,trackAdset:e,currentUrl:n,allowAppsFlyer:c,deepLinkValue:s}),h="android"===r?i.PLAY_STORE_URL:i.APP_STORE_URL;return{href:f||h,platform:r}}])},738426,e=>{"use strict";var l=e.i(592121),i=e.i(18358);e.s(["useTrackInstallPromptClick",0,function(e){let a=(0,i.useTrackEvent)();return(0,l.useCallback)(l=>{a("web-to-app-install-prompt-click",{entry_point:e,cta_type:l,link_id:`${e}-${l}`})},[a,e])}])},677997,e=>{"use strict";var l=e.i(699173),i=e.i(592121),a=e.i(747961);let t=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:t,...s},r)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:r,"aria-labelledby":i,"aria-describedby":t,...s,children:[a?(0,l.jsx)("desc",{id:t,children:a}):null,void 0===e?(0,l.jsx)("title",{id:i,children:"lightning"}):e?(0,l.jsx)("title",{id:i,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.468 14.608a.56.56 0 0 0 .054.328c.05.1.13.178.224.223q.086.04.18.04a.43.43 0 0 0 .207-.064.5.5 0 0 0 .159-.162l6.017-8.742a.565.565 0 0 0 .05-.514.5.5 0 0 0-.17-.21.43.43 0 0 0-.246-.079H9.745l.8-4a.57.57 0 0 0-.092-.438.5.5 0 0 0-.161-.14.4.4 0 0 0-.2-.05H5.463a.43.43 0 0 0-.294.107.52.52 0 0 0-.168.289L3.612 7.882a.57.57 0 0 0 .091.443q.069.092.166.142a.4.4 0 0 0 .206.047H6.31zm5.49-8.18H8.526L9.45 1.8H5.896L4.71 7.514h2.748l-.692 5.007zm-5.022 8.31v-.01l.001-.055m-.03.097v-.028l-.004-.074m.005.102-.014-.021zm0 0v.027z",clipRule:"evenodd"})]})),s=i.default.forwardRef((e,i)=>(0,l.jsx)(a.BaseIcon,{ref:i,icon:t,...e}));s.displayName="Lightning",e.s(["Lightning",0,s])},606703,103e3,e=>{"use strict";var l=e.i(699173),i=e.i(592121);e.s(["Card",0,function({src:e,alt:i,top:a,left:t,width:s}){return(0,l.jsx)("img",{src:e,alt:i,className:"absolute rounded-xl",style:{top:a,left:t,width:s}})},"CompositeFrame",0,function({left:e,top:i,width:a,height:t,children:s}){return(0,l.jsx)("div",{className:"absolute",style:{left:e,top:i,width:a,height:t},children:s})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:a,color:t,cx:s,cy:r,rx:o,ry:n}){let d=(0,i.useId)();return(0,l.jsxs)("svg",{"aria-hidden":"true",className:"absolute inset-0 size-full",viewBox:`0 0 ${e} ${a}`,preserveAspectRatio:"none",children:[(0,l.jsx)("g",{opacity:.32,filter:`url(#${d})`,children:(0,l.jsx)("ellipse",{cx:s,cy:r,rx:o,ry:n,fill:t})}),(0,l.jsx)("defs",{children:(0,l.jsxs)("filter",{id:d,x:"0",y:"0",width:e,height:a,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,l.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,l.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)},460581,e=>{"use strict";var l=e.i(699173),i=e.i(592121),a=e.i(240058),t=e.i(64412),s=e.i(677997),r=e.i(995113),o=e.i(702957),n=e.i(489408),d=e.i(113016),c=e.i(312401),u=e.i(807215),f=e.i(876329),h=e.i(632137),x=e.i(546446);e.i(609717);var p=e.i(950771),g=e.i(537989),m=e.i(738426),v=e.i(381477),w=e.i(190344),b=e.i(427977),j=e.i(961123),y=e.i(559421),A=e.i(388706),C=e.i(498076),R=e.i(51390),N=e.i(304116),B=e.i(269153),P=e.i(528600),S=e.i(837879),k=e.i(683199),I=e.i(677691),L=e.i(429745),D=e.i(606703),F=e.i(103e3),M=e.i(226602),_=e.i(747961);let E=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:t,...s},r)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:r,"aria-labelledby":i,"aria-describedby":t,...s,children:[a?(0,l.jsx)("desc",{id:t,children:a}):null,void 0===e?(0,l.jsx)("title",{id:i,children:"Download"}):e?(0,l.jsx)("title",{id:i,children:e}):null,(0,l.jsx)("g",{fill:"currentColor",children:(0,l.jsx)("path",{d:"M13 12v2H3v-2H2v2a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-2zM13 7l-.705-.705-3.795 3.79V1h-1v9.085l-3.795-3.79L3 7l5 5z"})})]})),U=i.default.forwardRef((e,i)=>(0,l.jsx)(_.BaseIcon,{ref:i,icon:E,...e}));U.displayName="Download";var T=e.i(697380),z=e.i(512134),H=e.i(521350),O=e.i(358273);let $="wx-next/get-app-button:dismissed-session";function G(){let e=(0,C.useIsMobile)(),a=(0,j.usePathname)(),t=(0,x.useAtomValue)(T.fixedBottomAdHeightAtom),{isDismissed:s,dismiss:r}=function(){let e=(0,z.useIsClient)(),[l,a]=(0,i.useState)(!1);return{isDismissed:!e||l||function(){let e=function(){if(!(0,H.isLocalStorageAvailable)())return null;try{return localStorage.getItem($)}catch{return null}}();if(!e)return!1;let l=(0,O.getMetricsSession)()?.sessionId;return!!l&&l===e}(),dismiss:(0,i.useCallback)(()=>{let e=(0,O.getMetricsSession)()?.sessionId;if(e&&(0,H.isLocalStorageAvailable)())try{localStorage.setItem($,e)}catch{}a(!0)},[])}}(),{href:o}=(0,I.useAppInstallLink)("floating-button","floating-button"),n=(0,m.useTrackInstallPromptClick)("floating-button");if(!e||s||a.includes("/download/you"))return null;let d=`calc(3.5rem + ${t}px + 0.75rem)`;return(0,l.jsx)("div",{className:"z-sticky fixed left-1/2 -translate-x-1/2 md:hidden",style:{bottom:d},"data-testid":"get-app-button",children:(0,l.jsxs)("div",{style:{background:"linear-gradient(90deg, #3A61CC 0%, #6549D4 50%, #935EC3 100%)"},className:"group relative flex h-12 items-center overflow-hidden rounded-full shadow-lg",children:[(0,l.jsx)("div",{"aria-hidden":"true",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-focus-within:opacity-100 group-hover:opacity-100"}),(0,l.jsxs)("a",{href:o,onClick:()=>n("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,l.jsx)(U,{ariaHidden:!0,className:"size-5 shrink-0 text-white"}),(0,l.jsx)("span",{className:"text-sm whitespace-nowrap",children:"Get the App"})]}),(0,l.jsx)("button",{type:"button","aria-label":"Dismiss",onClick:r,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,l.jsx)(M.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e=(0,C.useIsMobile)(),M=(0,j.usePathname)(),_=(0,y.useCanonicalBasePath)(),[E,U]=(0,i.useState)(!1),{href:T}=(0,I.useAppInstallLink)("you-hub","you-hub"),z=(0,m.useTrackInstallPromptClick)("you-hub"),H=(0,B.useIsSamsungPartner)(),O=(0,x.useAtomValue)(g.pageIdAtom),$=(0,R.useTranslations)("SidebarNavigation"),{user:V}=(0,P.useUser)(),{isUserPremium:W}=V,Y=(0,S.useSubscriptionsEnabled)(),q=(0,k.usePremiumSource)(),{location:K,isLoading:Q}=(0,t.useLocation)(),X=(0,x.useAtomValue)(p.pageLocaleAtom),J=(0,w.useVideoNavUrl)(),{data:Z}=(0,v.default)(["navigation/getQuickNav",X],()=>(0,b.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),ee=(0,i.useMemo)(()=>{if(Q||!K)return[];let e=K.placeId||"",i=K.featureId,a=K.canonicalID,t=(0,N.buildLocationPageHref)({pageType:"today",locale:X,canonicalID:a,featureId:i,placeId:e,canonicalBasePath:_,skipCanonical:H}),h=(0,N.buildLocationPageHref)({pageType:"radar",locale:X,canonicalID:a,featureId:i,placeId:e,canonicalBasePath:_,skipCanonical:H}),x=_?M.split("/").pop():null,p=_?A.CANONICAL_PAGE_TYPES.includes(x):M.includes("/weather/today/")||M.includes("/weather/hourbyhour/")||M.includes("/weather/tenday/")||M.includes("/weather/monthly/")||M.includes("/forecast/allergy/")||M.includes("/forecast/air-quality/")||M.includes("/forecast/cold-flu/"),g=M.includes("/weather/radar/")||M.includes("/weather/maps/"),m=M.includes("/subscribe"),v="video"===O,w=Z?.videoLinkLocaleInclude?.["en-US"],b=w?.override?`?${w?.adRef}`:"",j=J?`${J}${b}`:"",y="h-6 w-6 text-inherit";return[{name:$("forecast"),href:t,icon:(0,l.jsx)(o.PartlyCloudyBold,{className:y}),activeIcon:(0,l.jsx)(n.PartlyCloudyBoldFilled,{className:y}),isActive:p},...J?[{name:$("video"),href:j,icon:(0,l.jsx)(d.VideoPlayerBold,{className:y}),activeIcon:(0,l.jsx)(c.VideoPlayerBoldFilled,{className:y}),isActive:v}]:[],{name:$("radar"),href:h,icon:(0,l.jsx)(u.RadarBold,{className:y}),activeIcon:(0,l.jsx)(f.RadarBoldFilled,{className:y}),isActive:g},...Y&&!W&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,l.jsx)(s.Lightning,{className:y}),activeIcon:(0,l.jsx)(r.LightningFilled,{className:y}),isActive:m,onClick:()=>q({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[Q,K,X,M,O,J,Z,_,q,H]);if(!e)return null;let el="en-US"===X&&!1;return 0===ee.length?null:(0,l.jsxs)(l.Fragment,{children:[el&&(0,l.jsx)(G,{}),(0,l.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,l.jsx)("div",{className:"mx-auto flex w-full max-w-7xl",children:(0,l.jsx)("div",{className:"flex h-14 w-full items-stretch justify-around px-4 py-1",children:ee.map(e=>{let i=(0,h.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}),t=(0,h.cn)("text-[11px] leading-tight",e.isActive&&"font-semibold");return e.href?(0,l.jsxs)(a.default,{href:e.href,className:i,"aria-current":e.isActive?"page":void 0,sourceModule:"localsuite-nav",onClick:e.onClick,children:[(0,l.jsx)("span",{"aria-hidden":"true",children:e.isActive?e.activeIcon:e.icon}),(0,l.jsx)("span",{className:t,children:e.name})]},e.name):(0,l.jsxs)("button",{type:"button",className:i,onClick:e.onClick,children:[(0,l.jsx)("span",{"aria-hidden":"true",children:e.icon}),(0,l.jsx)("span",{className:t,children:e.name})]},e.name)})})})}),(0,l.jsx)(L.InstallPromptSheet,{open:E,onOpenChange:U,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,l.jsxs)(D.CompositeFrame,{left:"0%",top:"-40.84%",width:"100%",height:"181.69%",children:[(0,l.jsx)(D.Glow,{viewBoxWidth:480,viewBoxHeight:408,color:"#679CED",cx:240,cy:204,rx:160,ry:124}),(0,l.jsx)(D.Card,{src:F.default.src,alt:"You Hub cards showing a saved commute activity and flight status",top:"26.2%",left:"23.5%",width:"53.3%"})]}),getAppHref:T,onGetAppClick:()=>z("get-the-app"),learnMoreHref:"/download/you#you-hub",onLearnMoreClick:()=>z("learn-more")})]})}],460581)}]);