(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,269186,328166,e=>{"use strict";var l=e.i(902875),a=e.i(247865);e.s(["Card",0,function({src:e,alt:a,top:t,left:i,width:s}){return(0,l.jsx)("img",{src:e,alt:a,className:"absolute rounded-xl",style:{top:t,left:i,width:s}})},"CompositeFrame",0,function({left:e,top:a,width:t,height:i,children:s}){return(0,l.jsx)("div",{className:"absolute",style:{left:e,top:a,width:t,height:i},children:s})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:t,color:i,cx:s,cy:n,rx:r,ry:o}){let d=(0,a.useId)();return(0,l.jsxs)("svg",{"aria-hidden":"true",className:"absolute inset-0 size-full",viewBox:`0 0 ${e} ${t}`,preserveAspectRatio:"none",children:[(0,l.jsx)("g",{opacity:.32,filter:`url(#${d})`,children:(0,l.jsx)("ellipse",{cx:s,cy:n,rx:r,ry:o,fill:i})}),(0,l.jsx)("defs",{children:(0,l.jsxs)("filter",{id:d,x:"0",y:"0",width:e,height:t,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})]})})]})}],269186);let t={src:e.i(834005).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,t],328166)},432124,e=>{"use strict";var l=e.i(902875),a=e.i(247865),t=e.i(240058),i=e.i(64412),s=e.i(677997),n=e.i(747961);let r=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...s},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":i,...s,children:[t?(0,l.jsx)("desc",{id:i,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"lightning"}):e?(0,l.jsx)("title",{id:a,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"})]})),o=a.default.forwardRef((e,a)=>(0,l.jsx)(n.BaseIcon,{ref:a,icon:r,...e}));o.displayName="LightningFilled";let d=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...s},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":i,...s,children:[t?(0,l.jsx)("desc",{id:i,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Today"}):e?(0,l.jsx)("title",{id:a,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"})]})),c=a.default.forwardRef((e,a)=>(0,l.jsx)(n.BaseIcon,{ref:a,icon:d,...e}));c.displayName="PartlyCloudyBold";let u=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...s},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":i,...s,children:[t?(0,l.jsx)("desc",{id:i,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Today"}):e?(0,l.jsx)("title",{id:a,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"})]})),f=a.default.forwardRef((e,a)=>(0,l.jsx)(n.BaseIcon,{ref:a,icon:u,...e}));f.displayName="PartlyCloudyBoldFilled";let h=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...s},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":i,...s,children:[t?(0,l.jsx)("desc",{id:i,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Video"}):e?(0,l.jsx)("title",{id:a,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"})]})),p=a.default.forwardRef((e,a)=>(0,l.jsx)(n.BaseIcon,{ref:a,icon:h,...e}));p.displayName="VideoPlayerBold";let x=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...s},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":i,...s,children:[t?(0,l.jsx)("desc",{id:i,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Video"}):e?(0,l.jsx)("title",{id:a,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"})]})),m=a.default.forwardRef((e,a)=>(0,l.jsx)(n.BaseIcon,{ref:a,icon:x,...e}));m.displayName="VideoPlayerBoldFilled";let g=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...s},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":i,...s,children:[t?(0,l.jsx)("desc",{id:i,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Radar"}):e?(0,l.jsx)("title",{id:a,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"})]})),v=a.default.forwardRef((e,a)=>(0,l.jsx)(n.BaseIcon,{ref:a,icon:g,...e}));v.displayName="RadarBold";let w=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...s},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":i,...s,children:[t?(0,l.jsx)("desc",{id:i,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Radar"}):e?(0,l.jsx)("title",{id:a,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"})]})),b=a.default.forwardRef((e,a)=>(0,l.jsx)(n.BaseIcon,{ref:a,icon:w,...e}));b.displayName="RadarBoldFilled";let y=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...s},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":i,...s,children:[t?(0,l.jsx)("desc",{id:i,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Close"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.5 1.5a1 1 0 0 1 1 1V3H19a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h2.5v-.5a1 1 0 0 1 2 0V3h5v-.5a1 1 0 0 1 1-1M5 10v9h14v-9zm0-2h14V5h-2.5v.5a1 1 0 1 1-2 0V5h-5v.5a1 1 0 0 1-2 0V5H5z",clipRule:"evenodd"})]})),j=a.default.forwardRef((e,a)=>(0,l.jsx)(n.BaseIcon,{ref:a,icon:y,...e}));j.displayName="CalendarBold";let C=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...s},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":i,...s,children:[t?(0,l.jsx)("desc",{id:i,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"Daily"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.5 1.5a1 1 0 0 1 1 1V3H19a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h2.5v-.5a1 1 0 0 1 2 0V3h5v-.5a1 1 0 0 1 1-1M5 8h14V5h-2.5v.5a1 1 0 1 1-2 0V5h-5v.5a1 1 0 0 1-2 0V5H5z",clipRule:"evenodd"})]})),A=a.default.forwardRef((e,a)=>(0,l.jsx)(n.BaseIcon,{ref:a,icon:C,...e}));A.displayName="CalendarBoldFilled";let R=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...s},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":i,...s,children:[t?(0,l.jsx)("desc",{id:i,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"News"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2zm-4 6h4v-4H5zM19 3a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM5 9h14V5H5zM19 13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2zm-4 6h4v-4h-4z",clipRule:"evenodd"})]})),S=a.default.forwardRef((e,a)=>(0,l.jsx)(n.BaseIcon,{ref:a,icon:R,...e}));S.displayName="News";let k=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...s},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":i,...s,children:[t?(0,l.jsx)("desc",{id:i,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"News"}):e?(0,l.jsx)("title",{id:a,children:e}):null,(0,l.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2zM19 3a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM19 13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2z",clipRule:"evenodd"})]})),N=a.default.forwardRef((e,a)=>(0,l.jsx)(n.BaseIcon,{ref:a,icon:k,...e}));N.displayName="NewsFilled";var I=e.i(632137),P=e.i(546446),L=e.i(942400),_=e.i(537989);e.i(647872);var D=e.i(494889),B=e.i(611540),M=e.i(738426),T=e.i(468104),U=e.i(18358),E=e.i(381477),H=e.i(190344),F=e.i(427977),V=e.i(725287),z=e.i(559421),O=e.i(388706),G=e.i(498076),$=e.i(581014),W=e.i(304116),Y=e.i(379276),K=e.i(269153),Q=e.i(528600),q=e.i(837879),X=e.i(683199),J=e.i(677691),Z=e.i(429745),ee=e.i(269186),el=e.i(328166),ea=e.i(710746),et=e.i(697380),ei=e.i(512134),es=e.i(521350),en=e.i(358273);let er="wx-next/get-app-button:dismissed-session",eo=["/hourbyhour","/tenday","/radar","/download-app"];function ed(){let e=(0,G.useIsMobile)(),t=(0,V.usePathname)(),i=(0,P.useAtomValue)(et.fixedBottomAdHeightAtom),{isDismissed:s,dismiss:n}=function(){let e=(0,ei.useIsClient)(),[l,t]=(0,a.useState)(!1);return{isDismissed:!e||l||function(){let e=function(){if(!(0,es.isLocalStorageAvailable)())return null;try{return localStorage.getItem(er)}catch{return null}}();if(!e)return!1;let l=(0,en.getMetricsSession)()?.sessionId;return!!l&&l===e}(),dismiss:(0,a.useCallback)(()=>{let e=(0,en.getMetricsSession)()?.sessionId;if(e&&(0,es.isLocalStorageAvailable)())try{localStorage.setItem(er,e)}catch{}t(!0)},[])}}(),{href:r}=(0,J.useAppInstallLink)("floating-button","floating-button"),o=(0,M.useTrackInstallPromptClick)("floating-button"),d=(0,T.useTrackModuleClick)();if(!e||s||eo.some(e=>t.includes(e)))return null;let c=`calc(3.5rem + ${i}px + 0.75rem)`;return(0,l.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,l.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,l.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,l.jsx)("span",{className:"text-sm whitespace-nowrap",children:"Get the App"})}),(0,l.jsx)("button",{type:"button","aria-label":"Dismiss",onClick:()=>{d("floating-get-the-app-button","dismiss"),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,l.jsx)(ea.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e,n=(0,G.useIsMobile)(),r=(0,V.usePathname)(),d=(0,z.useCanonicalBasePath)(),[u,h]=(0,a.useState)(!1),{href:x}=(0,J.useAppInstallLink)("my-plans","my-plans"),g=(0,M.useTrackInstallPromptClick)("my-plans"),w=(e=(0,U.useTrackEvent)(),(0,a.useCallback)(()=>{e("myPlansDriver")},[e])),y=(0,T.useTrackModuleClick)(),C=(0,K.useIsSamsungPartner)(),R=(0,P.useAtomValue)(_.pageIdAtom),k=(0,$.useTranslations)("SidebarNavigation"),{user:ea}=(0,Q.useUser)(),{isUserPremium:et}=ea,ei=(0,q.useSubscriptionsEnabled)(),es=(0,X.usePremiumSource)(),{location:en,isLoading:er}=(0,i.useLocation)(),eo=(0,L.usePageLocale)(),ec=(0,P.useAtomValue)(D.newsHubEnabledAtom),eu=(0,H.useVideoNavUrl)(),{data:ef}=(0,E.default)(["navigation/getQuickNav",eo],()=>(0,F.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),eh=(0,a.useMemo)(()=>{if(er||!en)return[];let e=en.placeId||"",a=en.featureId,t=en.canonicalID,i=(0,W.buildLocationPageHref)({pageType:"today",locale:eo,canonicalID:t,featureId:a,placeId:e,canonicalBasePath:d,skipCanonical:C}),n=(0,W.buildLocationPageHref)({pageType:"radar",locale:eo,canonicalID:t,featureId:a,placeId:e,canonicalBasePath:d,skipCanonical:C}),u=d?(0,O.navTypeForSuffix)(r.split("/").pop()):null,x="en-US"===eo?"/":`/${eo}`,g=r===x||"/"!==x&&r===`${x}/`||(d?"forecast"===u:r.includes("/weather/today/")||r.includes("/weather/hourbyhour/")||r.includes("/weather/tenday/")||r.includes("/weather/monthly/")||r.includes("/forecast/allergy/")||r.includes("/forecast/air-quality/")||r.includes("/forecast/cold-flu/")),y=d?"radar"===u:r.includes("/weather/radar/")||r.includes("/weather/maps/"),I=r.includes("/subscribe"),P="video"===R,L=r===B.URLS.news||r.startsWith(`${B.URLS.news}/`)||Y.NEWS_PAGE_IDS.includes(R??""),_="en-US"===eo&&ec,D=ef?.videoLinkLocaleInclude?.["en-US"],M=D?.override?`?${D?.adRef}`:"",T=eu?`${eu}${M}`:"",U="h-6 w-6 text-inherit";return[{name:k("forecast"),href:i,icon:(0,l.jsx)(c,{className:U}),activeIcon:(0,l.jsx)(f,{className:U}),isActive:g},..._?[{name:"News",href:B.URLS.news,icon:(0,l.jsx)(S,{className:U}),activeIcon:(0,l.jsx)(N,{className:U}),isActive:L}]:eu?[{name:k("video"),href:T,icon:(0,l.jsx)(p,{className:U}),activeIcon:(0,l.jsx)(m,{className:U}),isActive:P}]:[],..."en-US"!==eo||C?[]:[{name:"My Plans",onClick:()=>{w(),h(!0)},icon:(0,l.jsx)(j,{className:U}),activeIcon:(0,l.jsx)(A,{className:U}),isActive:!1}],{name:k("radar"),href:n,icon:(0,l.jsx)(v,{className:U}),activeIcon:(0,l.jsx)(b,{className:U}),isActive:y},...ei&&!et&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,l.jsx)(s.Lightning,{className:U}),activeIcon:(0,l.jsx)(o,{className:U}),isActive:I,onClick:()=>es({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[er,en,eo,r,R,ec,eu,ef,d,es,C,w]);if(!n)return null;let ep="en-US"===eo&&!C;return 0===eh.length?ep?(0,l.jsx)(ed,{}):null:(0,l.jsxs)(l.Fragment,{children:[ep&&(0,l.jsx)(ed,{}),(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:eh.map(e=>{let a=(0,I.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}),i=(0,I.cn)("text-[11px] leading-tight",e.isActive&&"font-semibold");return e.href?(0,l.jsxs)(t.default,{href:e.href,className:a,"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:i,children:e.name})]},e.name):(0,l.jsxs)("button",{type:"button",className:a,onClick:e.onClick,children:[(0,l.jsx)("span",{"aria-hidden":"true",children:e.icon}),(0,l.jsx)("span",{className:i,children:e.name})]},e.name)})})})}),(0,l.jsx)(Z.InstallPromptSheet,{open:u,onOpenChange:h,title:"My Plans",headline:"Weather Your Way",description:"Save your favorite locations and unlock custom forecasts tailored to your daily travel, plans and routines.",imageContent:(0,l.jsx)("div",{className:"relative h-40 w-full",children:(0,l.jsxs)(ee.CompositeFrame,{left:"0%",top:"-40.84%",width:"100%",height:"181.69%",children:[(0,l.jsx)(ee.Glow,{viewBoxWidth:480,viewBoxHeight:408,color:"#679CED",cx:240,cy:204,rx:160,ry:124}),(0,l.jsx)(ee.Card,{src:el.default.src,alt:"My Plans cards showing a saved commute activity and flight status",top:"26.2%",left:"23.5%",width:"53.3%"})]})}),getAppHref:x,onGetAppClick:()=>y("my-plans-drawer/get-the-app","Get the app"),onCloseClick:()=>y("my-plans-drawer/dismiss","dismiss"),learnMoreHref:"/download-app#my-plans",onLearnMoreClick:()=>g("learn-more")})]})}],432124)},414338,e=>{"use strict";var l=e.i(902875),a=e.i(247865),t=e.i(730921),i=e.i(581014),s=e.i(877957),n=e.i(62544),r=e.i(901351),o=e.i(313983),d=e.i(725296),c=e.i(521350),u=e.i(546446),f=e.i(540768),h=e.i(682142),p=e.i(782937),x=e.i(695881),m=e.i(333350),g=e.i(64412),v=e.i(950771),w=e.i(537989),b=e.i(695203),y=e.i(158662),j=e.i(358273),C=e.i(777638),A=e.i(924776),R=e.i(409628),S=e.i(605781),k=e.i(289681);let N=(0,x.createLogger)("useTrackConsentChange"),I={"sale-of-data":"sod","sensitive-data":"sensitive-data"};var P=e.i(611540),L=e.i(472925);let _=({isUserLoggedIn:e,regime:x,deviceClass:_,experience:D,isPremiumUser:B})=>{let M=(0,i.useTranslations)("PrivacyConsentModal"),T=(0,t.useLocale)(),U=(0,P.interpolateUrl)(P.URLS.privacyPolicy,{locale:T}),[E,H]=(0,a.useState)(!1),[F,V]=(0,a.useState)(!1),[z,O]=(0,a.useState)(!1),G=(()=>{let e=(0,u.useAtomValue)(w.pageIdAtom),l=(0,u.useAtomValue)(v.pageLocaleAtom),t=(0,u.useAtomValue)(b.deviceClassAtom),i=(0,u.useAtomValue)(y.experimentJoinListAtom),{location:s}=(0,g.useLocation)(),n=(0,A.useIsHightouchReady)(),r=(0,a.useCallback)(()=>{let e=(0,h.getCICookie)(),a=e?.["TWC-GeoIP-Country"]??(0,f.getCookie)("twc-location-country"),n=e?.["TWC-GeoIP-Region"]??(0,f.getCookie)("twc-location-region"),r=e?.["TWC-Privacy"]??(0,f.getCookie)("twc-privacy"),o=window.DprSdk?.getGdprConsentOptInsString()??"",d=window.DprSdk?.getCcpaSaleOptInString()??"",c=window.navigator?.globalPrivacyControl??!1,u=o?.includes("functional-technology")??!1,x=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,m=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,g=(0,k.getConsentAuthorization)("sale-of-data"),v=(0,k.getConsentAuthorization)("sensitive-data"),w=navigator?.cookieEnabled??!1,b=(0,f.getCookie)("partner")||"",y=(0,p.getPartnerByPattern)(b)??b,A=(0,j.getMetricsSession)(),S=A?.sessionId||"",N=new Date(A?.sessionStartTime||0).toISOString(),I=new Date,P=I.getHours(),L=R.WEEK_DAYS[I.getDay()]??"";return{schemaVersion:"nextgen",referrer:document.referrer,locale:l,deviceClass:t,partner:y,sessionId:S,sessionStartTime:N,siteMode:"normal",dayOfWeek:L,hourOfDay:P,regime:r??"",cookiesEnabled:w,gpcSignalOptOut:c,functionalTechnologies:u,geographicallyRelevantAds:x,interestBasedAds:m,priv:o,privProducts:d,saleOfDataAuthorization:g,sensitiveDataAuthorization:v,campaign:(0,C.getCampaign)(),experimentJoinList:i,weatherMode:"normal",physicalCountry:a??"",physicalState:n??"",caUser:"US"===a&&"CA"===n,wlocCity:s?.city??null,wlocCountry:s?.countryCode??null,wlocState:s?.adminDistrictCode??null,samsungVersion:(0,C.getSamsungVersion)(),appVersion:"a4d101b136e8782701254dc7081d2f3659e224d8".slice(0,10)}},[l,t,i,s]),o=(0,a.useCallback)((l,a)=>{if("sensitive-data"===l&&a)return(0,S.trackSensitiveDataOptin)(r());let t={...r(),pageId:e??"",wlocDMA:s?.dmaCd??null};return"sensitive-data"===l?(0,S.trackSensitiveDataOptout)(t):a?(0,S.trackSodOptin)(t):(0,S.trackSodOptout)(t)},[r,e,s]);return(0,a.useCallback)((e,l)=>{let a=`${I[e]}-${l?"optin":"optout"}`;if(m.default)return n?(N.info(`Hightouch: Event "${a}" tracked`),o(e,l)):void N.warn(`Hightouch: Event "${a}" skipped - SDK not ready`)},[n,o])})();(0,a.useEffect)(()=>{if(!d.US_REGIMES.includes(x)||B||!(0,c.isLocalStorageAvailable)())return;let l=localStorage.getItem("gpcConflict"),a=localStorage.getItem("saleOfDataConflict");l?(V(!0),H(!0)):e&&a&&x===d.Regime.USA_CCPA&&(O(!0),H(!0))},[x,B,e]);let $=async e=>{try{let l={purpose:e.purpose,consent:e.value,setByUser:!0};await r.upsxClient.consent.createUserConsent(l),e.refreshAfterUpdate&&(await e.beforeRefresh,window.location.reload())}catch(e){console.error("Failed to update UPSX consent:",e)}},W=l=>{let a=window,t=window.top,i=a.DprSdk||t?.DprSdk;if(!i)return void console.error("Unable to fix conflict, missing DprSdk.");i.setUserConsents({[o.Purpose.SALE_OF_DATA]:l});let s=(0,L.settleWithin)(()=>G(o.Purpose.SALE_OF_DATA,l),1e3);e&&$({purpose:o.Purpose.SALE_OF_DATA,value:l,refreshAfterUpdate:!0,beforeRefresh:s}),F?((0,c.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||s.then(()=>window.location.reload())):z&&(0,c.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),H(!1)},Y="",K="";if(F?(Y="gpcConflictHeader",K="gpcConflictParagraph",x===d.Regime.USA_CCPA&&(K+="_usa-ccpa")):z&&(Y="saleOfDataConflictHeader",K="saleOfDataConflictParagraph",x===d.Regime.USA_CCPA&&(K+="_usa-ccpa")),K)return(0,l.jsx)(n.Dialog,{open:E,onOpenChange:H,children:(0,l.jsxs)(n.DialogContent,{className:`text-center ${"desktop"!==_?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===D?"wu-theme":""} `,onEscapeKeyDown:e=>{(z||F)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[Y&&(0,l.jsx)(n.DialogHeader,{children:(0,l.jsx)(n.DialogTitle,{className:"text-xl font-semibold",children:M(Y)})}),(0,l.jsx)("div",{className:"py-4",children:(0,l.jsx)("p",{className:"text-sm leading-relaxed",children:M.rich(K,{privacyPolicyLink:e=>(0,l.jsx)("a",{href:U,target:"_top",className:"text-blue-600 underline hover:text-blue-800",children:e})})})}),(0,l.jsxs)(n.DialogFooter,{className:"flex w-fit flex-col gap-3 justify-self-center",children:[(0,l.jsx)(s.Button,{onClick:()=>{W(!0)},variant:"default",className:"w-full sm:w-auto",children:M("optInButtonText")}),(0,l.jsx)(s.Button,{onClick:()=>{W(!1)},variant:"secondary",className:"w-full sm:w-auto",children:M("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModalClient",0,_,"SOD_TRACK_TIMEOUT_MS",0,1e3,"default",0,_],414338)},738426,e=>{"use strict";var l=e.i(247865),a=e.i(598513),t=e.i(990033);let i={"my-plans":"my-plans-web-to-app-install","24-hour-radar":"radar-24hour-web-to-app-install","floating-button":"floating-button-web-to-app-install","allergy-species":"allergy-species-web-to-app-install"},s={"my-plans":{"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"},"allergy-species":{"get-the-app":"Get the app"}};e.s(["useTrackInstallPromptClick",0,function(e){let n=(0,a.useSendInteractionEvent)(),r=(0,l.useCallback)((e,l)=>{let a=window.AF;a&&a("pba","event",{eventType:"EVENT",eventName:e,eventValue:{...l,af_customer_event_id:(0,t.v4)()}})},[]);return(0,l.useCallback)(l=>{n({moduleId:i[e],interactionType:"click",interactionElement:s[e][l]},{flushImmediately:!0}),r("web_to_app_install_click",{module:i[e],cta_type:l})},[n,r,e])}],738426)},677997,e=>{"use strict";var l=e.i(902875),a=e.i(247865),t=e.i(747961);let i=(0,a.forwardRef)(({title:e,titleId:a,desc:t,descId:i,...s},n)=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":i,...s,children:[t?(0,l.jsx)("desc",{id:i,children:t}):null,void 0===e?(0,l.jsx)("title",{id:a,children:"lightning"}):e?(0,l.jsx)("title",{id:a,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=a.default.forwardRef((e,a)=>(0,l.jsx)(t.BaseIcon,{ref:a,icon:i,...e}));s.displayName="Lightning",e.s(["Lightning",0,s])},429745,e=>{"use strict";var l=e.i(902875),a=e.i(62544),t=e.i(710746),i=e.i(632137);e.s(["InstallPromptSheet",0,({open:e,onOpenChange:s,title:n,headline:r,description:o,imageUrl:d,imageAlt:c="",imageContent:u,getAppHref:f,getAppLabel:h="Get the app",onGetAppClick:p,learnMoreHref:x,learnMoreLabel:m="Learn more",onLearnMoreClick:g,closeLabel:v="Close",onCloseClick:w,dismissLabel:b,onDismissClick:y})=>(0,l.jsx)(a.Dialog,{open:e,onOpenChange:s,children:(0,l.jsxs)(a.DialogContent,{"aria-describedby":void 0,showCloseButton:!1,onOpenAutoFocus:e=>{e.preventDefault(),e.currentTarget.focus()},className:(0,i.cn)("flex flex-col gap-6 overflow-y-auto border-0 border-b border-black/10 bg-white px-8 py-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)(a.DialogClose,{"aria-label":v,onClick:w,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)(t.Close,{size:"sm",ariaHidden:!0,className:"size-4"})}),n?(0,l.jsx)(a.DialogTitle,{className:"p-0 text-center text-base font-bold text-[#252422]",children:n}):(0,l.jsx)(a.DialogTitle,{className:"sr-only",children:r}),(0,l.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[u||(d?(0,l.jsx)("div",{className:"relative h-40 w-full",children:(0,l.jsx)("img",{src:d,alt:c,className:"size-full rounded-lg object-cover"})}):null),(0,l.jsxs)("div",{className:"flex flex-col gap-2 text-center",children:[(0,l.jsx)("p",{className:"text-2xl font-extrabold text-[#252422]",children:r}),(0,l.jsx)("p",{className:"text-base font-medium text-[#676767]",children:o})]})]}),(0,l.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,l.jsx)("a",{href:f,onClick:p,className:"flex h-12 w-40 items-center justify-center rounded-lg bg-[#252422] text-base font-bold text-white hover:bg-[#3a3a3a] active:bg-black",children:h}),x&&(0,l.jsx)("a",{href:x,onClick:g,className:"flex h-12 w-full max-w-60 items-center justify-center rounded-lg text-base font-bold text-[#252422] hover:opacity-70",children:m}),!x&&b&&(0,l.jsx)(a.DialogClose,{onClick:y,className:"flex h-12 w-full max-w-60 cursor-pointer items-center justify-center rounded-lg text-base font-bold text-[#252422] hover:opacity-70",children:b})]})]})})])},726812,16730,e=>{"use strict";let l="com.weather.Weather",a="id295646461",t="https://app.appsflyer.com",i="weather.com",s=`https://apps.apple.com/us/app/the-weather-channel/${a}`,n=`https://play.google.com/store/apps/details?id=${l}`;e.s(["APPSFLYER_DEFAULT_CAMPAIGN",0,i,"APPSFLYER_HOST",0,t,"APPSFLYER_PID",0,"WWW","APP_STORE_URL",0,s,"DEFAULT_ANDROID_ID",0,l,"DEFAULT_IPHONE_ID",0,a,"PLAY_STORE_URL",0,n],726812);var r=e.i(288906);e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:s,currentUrl:n,allowAppsFlyer:o,deepLinkValue:d}){if(!o||!s||null===e)return"";let c="android"===e?l:a,u=r.default.env.NEXT_PUBLIC_APPSFLYER_ONELINK_URL,f=u||`${t}/${c}`,h=encodeURIComponent(s.replace(/ /g,"_")),p=`${f}?pid=WWW&af_adset=${h}&c=${i}`;return d&&(p+=`&deep_link_value=${encodeURIComponent(d)}`),!u&&"ios"===e&&n&&(p+=`&af_ios_fallback=${encodeURIComponent(n)}`),p}],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(247865),a=e.i(726812),t=e.i(16730),i=e.i(881282),s=e.i(546446),n=e.i(402525),r=e.i(216809);e.s(["useAppInstallLink",0,function(e,o){let[d,c]=(0,l.useState)(null),[u,f]=(0,l.useState)(null),h=(0,s.useAtomValue)(n.smartScriptClickUrlAtom),p=(0,r.useAppsFlyerConsent)();(0,l.useEffect)(()=>{c((0,i.getPlatform)(navigator.userAgent)),f(window.location.href)},[]);let x=(0,t.getAppsFlyerLink)({platform:d,trackAdset:e,currentUrl:u,allowAppsFlyer:p,deepLinkValue:o}),m="android"===d?a.PLAY_STORE_URL:a.APP_STORE_URL,g=h?(0,n.withCtaAttribution)(h,{trackAdset:e,deepLinkValue:o}):"";return{href:(p&&null!==d?g||x:"")||m,platform:d}}])}]);