(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(458201),a=e.i(538167);e.s(["N",0,function({src:e,alt:a,top:i,left:t,width:s}){return(0,l.jsx)("img",{src:e,alt:a,className:"absolute rounded-xl",style:{top:i,left:t,width:s}})},"C",0,function({left:e,top:a,width:i,height:t,children:s}){return(0,l.jsx)("div",{className:"absolute",style:{left:e,top:a,width:i,height:t},children:s})},"g",0,function({viewBoxWidth:e,viewBoxHeight:i,color:t,cx:s,cy:r,rx:n,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} ${i}`,preserveAspectRatio:"none",children:[(0,l.jsx)("g",{opacity:.32,filter:`url(#${d})`,children:(0,l.jsx)("ellipse",{cx:s,cy:r,rx:n,ry:o,fill:t})}),(0,l.jsx)("defs",{children:(0,l.jsxs)("filter",{id:d,x:"0",y:"0",width:e,height:i,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 i={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(["f",0,i],328166)},432124,e=>{"use strict";var l=e.i(458201),a=e.i(538167),i=e.i(240058),t=e.i(64412),s=e.i(677997),r=e.i(747961);let n=(0,a.forwardRef)(({title:e,titleId:a,desc:i,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":a,"aria-describedby":t,...s,children:[i?(0,l.jsx)("desc",{id:t,children:i}):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)(r.f,{ref:a,icon:n,...e}));o.displayName="LightningFilled";let d=(0,a.forwardRef)(({title:e,titleId:a,desc:i,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":a,"aria-describedby":t,...s,children:[i?(0,l.jsx)("desc",{id:t,children:i}):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)(r.f,{ref:a,icon:d,...e}));c.displayName="PartlyCloudyBold";let f=(0,a.forwardRef)(({title:e,titleId:a,desc:i,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":a,"aria-describedby":t,...s,children:[i?(0,l.jsx)("desc",{id:t,children:i}):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"})]})),u=a.default.forwardRef((e,a)=>(0,l.jsx)(r.f,{ref:a,icon:f,...e}));u.displayName="PartlyCloudyBoldFilled";let h=(0,a.forwardRef)(({title:e,titleId:a,desc:i,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":a,"aria-describedby":t,...s,children:[i?(0,l.jsx)("desc",{id:t,children:i}):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"})]})),x=a.default.forwardRef((e,a)=>(0,l.jsx)(r.f,{ref:a,icon:h,...e}));x.displayName="VideoPlayerBold";let p=(0,a.forwardRef)(({title:e,titleId:a,desc:i,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":a,"aria-describedby":t,...s,children:[i?(0,l.jsx)("desc",{id:t,children:i}):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"})]})),v=a.default.forwardRef((e,a)=>(0,l.jsx)(r.f,{ref:a,icon:p,...e}));v.displayName="VideoPlayerBoldFilled";let m=(0,a.forwardRef)(({title:e,titleId:a,desc:i,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":a,"aria-describedby":t,...s,children:[i?(0,l.jsx)("desc",{id:t,children:i}):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"})]})),g=a.default.forwardRef((e,a)=>(0,l.jsx)(r.f,{ref:a,icon:m,...e}));g.displayName="RadarBold";let w=(0,a.forwardRef)(({title:e,titleId:a,desc:i,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":a,"aria-describedby":t,...s,children:[i?(0,l.jsx)("desc",{id:t,children:i}):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)(r.f,{ref:a,icon:w,...e}));b.displayName="RadarBoldFilled";let y=(0,a.forwardRef)(({title:e,titleId:a,desc:i,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":a,"aria-describedby":t,...s,children:[i?(0,l.jsx)("desc",{id:t,children:i}):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)(r.f,{ref:a,icon:y,...e}));j.displayName="CalendarBold";let C=(0,a.forwardRef)(({title:e,titleId:a,desc:i,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":a,"aria-describedby":t,...s,children:[i?(0,l.jsx)("desc",{id:t,children:i}):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)(r.f,{ref:a,icon:C,...e}));A.displayName="CalendarBoldFilled";let N=(0,a.forwardRef)(({title:e,titleId:a,desc:i,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":a,"aria-describedby":t,...s,children:[i?(0,l.jsx)("desc",{id:t,children:i}):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"})]})),R=a.default.forwardRef((e,a)=>(0,l.jsx)(r.f,{ref:a,icon:N,...e}));R.displayName="News";let S=(0,a.forwardRef)(({title:e,titleId:a,desc:i,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":a,"aria-describedby":t,...s,children:[i?(0,l.jsx)("desc",{id:t,children:i}):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"})]})),k=a.default.forwardRef((e,a)=>(0,l.jsx)(r.f,{ref:a,icon:S,...e}));k.displayName="NewsFilled";var _=e.i(632137),I=e.i(282446),M=e.i(942400),D=e.i(537989);e.i(647872);var B=e.i(494889),L=e.i(611540),T=e.i(738426),E=e.i(468104),P=e.i(18358),z=e.i(794120),H=e.i(190344),O=e.i(427977),U=e.i(935251),F=e.i(559421),V=e.i(388706),G=e.i(498076),$=e.i(789422),W=e.i(304116),Y=e.i(379276),K=e.i(269153),Q=e.i(528600),q=e.i(837879),X=e.i(683199),Z=e.i(677691),J=e.i(429745),ee=e.i(269186),el=e.i(328166),ea=e.i(710746),ei=e.i(697380),et=e.i(512134),es=e.i(521350),er=e.i(358273);let en="wx-next/get-app-button:dismissed-session",eo=["/hourbyhour","/tenday","/radar","/download-app"];function ed(){let e=(0,G.f)(),i=(0,U.usePathname)(),t=(0,I.y)(ei.f),{isDismissed:s,dismiss:r}=function(){let e=(0,et.f)(),[l,i]=(0,a.useState)(!1);return{isDismissed:!e||l||function(){let e=function(){if(!(0,es.isLocalStorageAvailable)())return null;try{return localStorage.getItem(en)}catch{return null}}();if(!e)return!1;let l=(0,er.N)()?.sessionId;return!!l&&l===e}(),dismiss:(0,a.useCallback)(()=>{let e=(0,er.N)()?.sessionId;if(e&&(0,es.isLocalStorageAvailable)())try{localStorage.setItem(en,e)}catch{}i(!0)},[])}}(),{href:n}=(0,Z.f)("floating-button","floating-button"),o=(0,T.f)("floating-button"),d=(0,E.f)();if(!e||s||eo.some(e=>i.includes(e)))return null;let c=`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: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:n,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"),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)(ea.f,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e,r=(0,G.f)(),n=(0,U.usePathname)(),d=(0,F.f)(),[f,h]=(0,a.useState)(!1),{href:p}=(0,Z.f)("my-plans","my-plans"),m=(0,T.f)("my-plans"),w=(e=(0,P.f)(),(0,a.useCallback)(()=>{e("myPlansDriver")},[e])),y=(0,E.f)(),C=(0,K.f)(),N=(0,I.y)(D.f),S=(0,$.r)("SidebarNavigation"),{user:ea}=(0,Q.f)(),{isUserPremium:ei}=ea,et=(0,q.f)(),es=(0,X.f)(),{location:er,isLoading:en}=(0,t.f)(),eo=(0,M.f)(),ec=(0,I.y)(B.f),ef=(0,H.f)(),{data:eu}=(0,z.U)(["navigation/getQuickNav",eo],()=>(0,O.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),eh=(0,a.useMemo)(()=>{if(en||!er)return[];let e=er.placeId||"",a=er.featureId,i=er.canonicalID,t=(0,W.f)({pageType:"today",locale:eo,canonicalID:i,featureId:a,placeId:e,canonicalBasePath:d,skipCanonical:C}),r=(0,W.f)({pageType:"radar",locale:eo,canonicalID:i,featureId:a,placeId:e,canonicalBasePath:d,skipCanonical:C}),f=d?(0,V.c)(n.split("/").pop()):null,p="en-US"===eo?"/":`/${eo}`,m=n===p||"/"!==p&&n===`${p}/`||(d?"forecast"===f:n.includes("/weather/today/")||n.includes("/weather/hourbyhour/")||n.includes("/weather/tenday/")||n.includes("/weather/monthly/")||n.includes("/forecast/allergy/")||n.includes("/forecast/air-quality/")||n.includes("/forecast/cold-flu/")),y=d?"radar"===f:n.includes("/weather/radar/")||n.includes("/weather/maps/"),_=n.includes("/subscribe"),I="video"===N,M=n===L.e.news||n.startsWith(`${L.e.news}/`)||Y.n.includes(N??""),D="en-US"===eo&&ec,B=eu?.videoLinkLocaleInclude?.["en-US"],T=B?.override?`?${B?.adRef}`:"",E=ef?`${ef}${T}`:"",P="h-6 w-6 text-inherit";return[{name:S("forecast"),href:t,icon:(0,l.jsx)(c,{className:P}),activeIcon:(0,l.jsx)(u,{className:P}),isActive:m},...D?[{name:"News",href:L.e.news,icon:(0,l.jsx)(R,{className:P}),activeIcon:(0,l.jsx)(k,{className:P}),isActive:M}]:ef?[{name:S("video"),href:E,icon:(0,l.jsx)(x,{className:P}),activeIcon:(0,l.jsx)(v,{className:P}),isActive:I}]:[],..."en-US"!==eo||C?[]:[{name:"My Plans",onClick:()=>{w(),h(!0)},icon:(0,l.jsx)(j,{className:P}),activeIcon:(0,l.jsx)(A,{className:P}),isActive:!1}],{name:S("radar"),href:r,icon:(0,l.jsx)(g,{className:P}),activeIcon:(0,l.jsx)(b,{className:P}),isActive:y},...et&&!ei&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,l.jsx)(s.f,{className:P}),activeIcon:(0,l.jsx)(o,{className:P}),isActive:_,onClick:()=>es({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[en,er,eo,n,N,ec,ef,eu,d,es,C,w]);if(!r)return null;let ex="en-US"===eo&&!C;return 0===eh.length?ex?(0,l.jsx)(ed,{}):null:(0,l.jsxs)(l.Fragment,{children:[ex&&(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,_.f)("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,_.f)("text-[11px] leading-tight",e.isActive&&"font-semibold");return e.href?(0,l.jsxs)(i.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:t,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:t,children:e.name})]},e.name)})})})}),(0,l.jsx)(J.f,{open:f,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.C,{left:"0%",top:"-40.84%",width:"100%",height:"181.69%",children:[(0,l.jsx)(ee.g,{viewBoxWidth:480,viewBoxHeight:408,color:"#679CED",cx:240,cy:204,rx:160,ry:124}),(0,l.jsx)(ee.N,{src:el.f.src,alt:"My Plans cards showing a saved commute activity and flight status",top:"26.2%",left:"23.5%",width:"53.3%"})]})}),getAppHref:p,onGetAppClick:()=>y("my-plans-drawer/get-the-app","Get the app"),onCloseClick:()=>y("my-plans-drawer/dismiss","dismiss"),learnMoreHref:"/download-app#my-plans",onLearnMoreClick:()=>m("learn-more")})]})}],432124)},414338,e=>{"use strict";var l=e.i(458201),a=e.i(538167),i=e.i(580547),t=e.i(789422),s=e.i(877957),r=e.i(367810),n=e.i(901351),o=e.i(313983),d=e.i(725296),c=e.i(521350),f=e.i(282446),u=e.i(201542),h=e.i(682142),x=e.i(782937),p=e.i(695881),v=e.i(333350),m=e.i(64412),g=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),N=e.i(24638),R=e.i(409628),S=e.i(605781),k=e.i(963722);let _=(0,p.createLogger)("useTrackConsentChange"),I={"sale-of-data":"sod","sensitive-data":"sensitive-data"};var M=e.i(611540),D=e.i(472925);let B=({isUserLoggedIn:e,regime:p,deviceClass:B,experience:L,isPremiumUser:T})=>{let E=(0,t.r)("PrivacyConsentModal"),P=(0,i.X)(),z=(0,M.R)(M.e.privacyPolicy,{locale:P}),[H,O]=(0,a.useState)(!1),[U,F]=(0,a.useState)(!1),[V,G]=(0,a.useState)(!1),$=(()=>{let e=(0,f.y)(w.f),l=(0,f.y)(g.f),i=(0,f.y)(b.f),t=(0,f.y)(y.f),{location:s}=(0,m.f)(),r=(0,N.f)(),n=(0,A.f)()&&void 0!==r,d=(0,a.useCallback)(()=>{let e=(0,h.f)(),a=e?.["TWC-GeoIP-Country"]??(0,u.getCookie)("twc-location-country"),n=e?.["TWC-GeoIP-Region"]??(0,u.getCookie)("twc-location-region"),d=e?.["TWC-Privacy"]??(0,u.getCookie)("twc-privacy"),c=window.DprSdk?.getGdprConsentOptInsString()??"",f=window.DprSdk?.getCcpaSaleOptInString()??"",p=window.navigator?.globalPrivacyControl??!1,v=(0,k.u)(o.f.FUNCTIONAL_TECHNOLOGY),m=(0,k.u)(o.f.GEOGRAPHICALLY_RELEVANT_ADVERTISING),g=(0,k.u)(o.f.SALE_OF_DATA),w=(0,k.u)(o.f.SENSITIVE_DATA),b=navigator?.cookieEnabled??!1,y=(0,u.getCookie)("partner")||"",A=(0,x.i)(y)??y,N=(0,j.N)(),S=N?.sessionId||"",_=new Date(N?.sessionStartTime||0).toISOString(),I=new Date,M=I.getHours(),D=R.f[I.getDay()]??"";return{schemaVersion:"nextgen",referrer:document.referrer,locale:l,deviceClass:i,partner:A,sessionId:S,sessionStartTime:_,siteMode:"normal",dayOfWeek:D,hourOfDay:M,regime:d??"",cookiesEnabled:b,gpcSignalOptOut:p,functionalTechnologies:v,geographicallyRelevantAds:m,interestBasedAds:r?.[o.f.INTEREST_BASED_ADS]??null,priv:c,privProducts:f,saleOfDataAuthorization:g,sensitiveDataAuthorization:w,campaign:(0,C.s)(),experimentJoinList:t,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.L)(),appVersion:"a9ce9f6ee5972c3d49b968d0378f5c244f1b9d64".slice(0,10)}},[l,i,t,s,r]),c=(0,a.useCallback)((l,a)=>{if("sensitive-data"===l&&a)return(0,S.p)(d());let i={...d(),pageId:e??"",wlocDMA:s?.dmaCd??null};return"sensitive-data"===l?(0,S.x)(i):a?(0,S.Y)(i):(0,S.Z)(i)},[d,e,s]);return(0,a.useCallback)((e,l)=>{let a=`${I[e]}-${l?"optin":"optout"}`;if(v.default)return n?(_.info(`Hightouch: Event "${a}" tracked`),c(e,l)):void _.warn(`Hightouch: Event "${a}" skipped - SDK not ready`)},[n,c])})();(0,a.useEffect)(()=>{if(!d.D.includes(p)||T||!(0,c.isLocalStorageAvailable)())return;let l=localStorage.getItem("gpcConflict"),a=localStorage.getItem("saleOfDataConflict");l?(F(!0),O(!0)):e&&a&&p===d.Q.USA_CCPA&&(G(!0),O(!0))},[p,T,e]);let W=async e=>{try{let l={purpose:e.purpose,consent:e.value,setByUser:!0};await n.f.consent.createUserConsent(l),e.refreshAfterUpdate&&(await e.beforeRefresh,window.location.reload())}catch(e){console.error("Failed to update UPSX consent:",e)}},Y=l=>{let a=window,i=window.top,t=a.DprSdk||i?.DprSdk;if(!t)return void console.error("Unable to fix conflict, missing DprSdk.");t.setUserConsents({[o.f.SALE_OF_DATA]:l});let s=(0,D.f)(()=>$(o.f.SALE_OF_DATA,l),1e3);e&&W({purpose:o.f.SALE_OF_DATA,value:l,refreshAfterUpdate:!0,beforeRefresh:s}),U?((0,c.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||s.then(()=>window.location.reload())):V&&(0,c.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),O(!1)},K="",Q="";if(U?(K="gpcConflictHeader",Q="gpcConflictParagraph",p===d.Q.USA_CCPA&&(Q+="_usa-ccpa")):V&&(K="saleOfDataConflictHeader",Q="saleOfDataConflictParagraph",p===d.Q.USA_CCPA&&(Q+="_usa-ccpa")),Q)return(0,l.jsx)(r.N,{open:H,onOpenChange:O,children:(0,l.jsxs)(r.d,{className:`text-center ${"desktop"!==B?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===L?"wu-theme":""} `,onEscapeKeyDown:e=>{(V||U)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[K&&(0,l.jsx)(r.s,{children:(0,l.jsx)(r.F,{className:"text-xl font-semibold",children:E(K)})}),(0,l.jsx)("div",{className:"py-4",children:(0,l.jsx)("p",{className:"text-sm leading-relaxed",children:E.rich(Q,{privacyPolicyLink:e=>(0,l.jsx)("a",{href:z,target:"_top",className:"text-blue-600 underline hover:text-blue-800",children:e})})})}),(0,l.jsxs)(r.c,{className:"flex w-fit flex-col gap-3 justify-self-center",children:[(0,l.jsx)(s.f,{onClick:()=>{Y(!0)},variant:"default",className:"w-full sm:w-auto",children:E("optInButtonText")}),(0,l.jsx)(s.f,{onClick:()=>{Y(!1)},variant:"secondary",className:"w-full sm:w-auto",children:E("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModalClient",0,B,"SOD_TRACK_TIMEOUT_MS",0,1e3,"default",0,B],414338)},738426,e=>{"use strict";var l=e.i(538167),a=e.i(598513),i=e.i(990033);let t={"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(["f",0,function(e){let r=(0,a.f)(),n=(0,l.useCallback)((e,l)=>{let a=window.AF;a&&a("pba","event",{eventType:"EVENT",eventName:e,eventValue:{...l,af_customer_event_id:(0,i.f)()}})},[]);return(0,l.useCallback)(l=>{r({moduleId:t[e],interactionType:"click",interactionElement:s[e][l]},{flushImmediately:!0}),n("web_to_app_install_click",{module:t[e],cta_type:l})},[r,n,e])}],738426)},677997,e=>{"use strict";var l=e.i(458201),a=e.i(538167),i=e.i(747961);let t=(0,a.forwardRef)(({title:e,titleId:a,desc:i,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":a,"aria-describedby":t,...s,children:[i?(0,l.jsx)("desc",{id:t,children:i}):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)(i.f,{ref:a,icon:t,...e}));s.displayName="Lightning",e.s(["f",0,s])},429745,e=>{"use strict";var l=e.i(458201),a=e.i(367810),i=e.i(710746),t=e.i(632137);e.s(["f",0,({open:e,onOpenChange:s,title:r,headline:n,description:o,imageUrl:d,imageAlt:c="",imageContent:f,getAppHref:u,getAppLabel:h="Get the app",onGetAppClick:x,learnMoreHref:p,learnMoreLabel:v="Learn more",onLearnMoreClick:m,closeLabel:g="Close",onCloseClick:w,dismissLabel:b,onDismissClick:y})=>(0,l.jsx)(a.N,{open:e,onOpenChange:s,children:(0,l.jsxs)(a.d,{"aria-describedby":void 0,showCloseButton:!1,onOpenAutoFocus:e=>{e.preventDefault(),e.currentTarget.focus()},className:(0,t.f)("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.t,{"aria-label":g,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)(i.f,{size:"sm",ariaHidden:!0,className:"size-4"})}),r?(0,l.jsx)(a.F,{className:"p-0 text-center text-base font-bold text-[#252422]",children:r}):(0,l.jsx)(a.F,{className:"sr-only",children:n}),(0,l.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[f||(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:n}),(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:u,onClick:x,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}),p&&(0,l.jsx)("a",{href:p,onClick:m,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:v}),!p&&b&&(0,l.jsx)(a.t,{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",i="https://app.appsflyer.com",t="weather.com",s=`https://apps.apple.com/us/app/the-weather-channel/${a}`,r=`https://play.google.com/store/apps/details?id=${l}`;e.s(["f",0,t,"t",0,i,"C",0,"WWW","O",0,s,"l",0,l,"W",0,a,"A",0,r],726812);var n=e.i(199690);e.s(["f",0,function({platform:e,trackAdset:s,currentUrl:r,allowAppsFlyer:o,deepLinkValue:d}){if(!o||!s||null===e)return"";let c="android"===e?l:a,f=n.default.env.NEXT_PUBLIC_APPSFLYER_ONELINK_URL,u=f||`${i}/${c}`,h=encodeURIComponent(s.replace(/ /g,"_")),x=`${u}?pid=WWW&af_adset=${h}&c=${t}`;return d&&(x+=`&deep_link_value=${encodeURIComponent(d)}`),!f&&"ios"===e&&r&&(x+=`&af_ios_fallback=${encodeURIComponent(r)}`),x}],16730)},881282,e=>{"use strict";e.s(["f",0,function(e){return/iPhone|iPod|iPad/.test(e)?"ios":/Android/.test(e)?"android":null}])},677691,e=>{"use strict";var l=e.i(538167),a=e.i(726812),i=e.i(16730),t=e.i(881282),s=e.i(282446),r=e.i(402525),n=e.i(216809);e.s(["f",0,function(e,o){let[d,c]=(0,l.useState)(null),[f,u]=(0,l.useState)(null),h=(0,s.y)(r.H),x=(0,n.f)();(0,l.useEffect)(()=>{c((0,t.f)(navigator.userAgent)),u(window.location.href)},[]);let p=(0,i.f)({platform:d,trackAdset:e,currentUrl:f,allowAppsFlyer:x,deepLinkValue:o}),v="android"===d?a.A:a.O,m=h?(0,r.S)(h,{trackAdset:e,deepLinkValue:o}):"";return{href:(x&&null!==d?m||p:"")||v,platform:d}}])}]);