(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,10993,e=>{e.q("/_next/static/immutable/media/focusLogo.3_ax6r2sm72u_.svg")},269186,328166,e=>{"use strict";var t=e.i(902875),i=e.i(247865);e.s(["Card",0,function({src:e,alt:i,top:n,left:l,width:a}){return(0,t.jsx)("img",{src:e,alt:i,className:"absolute rounded-xl",style:{top:n,left:l,width:a}})},"CompositeFrame",0,function({left:e,top:i,width:n,height:l,children:a}){return(0,t.jsx)("div",{className:"absolute",style:{left:e,top:i,width:n,height:l},children:a})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:n,color:l,cx:a,cy:s,rx:r,ry:o}){let c=(0,i.useId)();return(0,t.jsxs)("svg",{"aria-hidden":"true",className:"absolute inset-0 size-full",viewBox:`0 0 ${e} ${n}`,preserveAspectRatio:"none",children:[(0,t.jsx)("g",{opacity:.32,filter:`url(#${c})`,children:(0,t.jsx)("ellipse",{cx:a,cy:s,rx:r,ry:o,fill:l})}),(0,t.jsx)("defs",{children:(0,t.jsxs)("filter",{id:c,x:"0",y:"0",width:e,height:n,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})]})})]})}],269186);let n={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,n],328166)},834005,e=>{e.q("/_next/static/immutable/media/dlpg-you.3sxuqxz06ois7.png")},432124,e=>{"use strict";var t=e.i(902875),i=e.i(247865),n=e.i(240058),l=e.i(64412),a=e.i(677997),s=e.i(995113),r=e.i(702957),o=e.i(489408),c=e.i(113016),u=e.i(312401),d=e.i(807215),p=e.i(876329),h=e.i(160937),m=e.i(64344),f=e.i(51398),g=e.i(240027),x=e.i(632137),b=e.i(546446),v=e.i(942400),w=e.i(537989);e.i(647872);var y=e.i(494889),C=e.i(611540),k=e.i(738426),j=e.i(468104),A=e.i(18358),S=e.i(381477),N=e.i(190344),_=e.i(427977),L=e.i(725287),I=e.i(559421),R=e.i(388706),P=e.i(498076),$=e.i(581014),U=e.i(304116),E=e.i(379276),F=e.i(269153),B=e.i(528600),M=e.i(837879),T=e.i(683199),D=e.i(677691),O=e.i(429745),z=e.i(269186),G=e.i(328166),H=e.i(710746),W=e.i(697380),V=e.i(512134),q=e.i(521350),Y=e.i(358273);let Q="wx-next/get-app-button:dismissed-session",K=["/hourbyhour","/tenday","/radar","/download-app"];function X(){let e=(0,P.useIsMobile)(),n=(0,L.usePathname)(),l=(0,b.useAtomValue)(W.fixedBottomAdHeightAtom),{isDismissed:a,dismiss:s}=function(){let e=(0,V.useIsClient)(),[t,n]=(0,i.useState)(!1);return{isDismissed:!e||t||function(){let e=function(){if(!(0,q.isLocalStorageAvailable)())return null;try{return localStorage.getItem(Q)}catch{return null}}();if(!e)return!1;let t=(0,Y.getMetricsSession)()?.sessionId;return!!t&&t===e}(),dismiss:(0,i.useCallback)(()=>{let e=(0,Y.getMetricsSession)()?.sessionId;if(e&&(0,q.isLocalStorageAvailable)())try{localStorage.setItem(Q,e)}catch{}n(!0)},[])}}(),{href:r}=(0,D.useAppInstallLink)("floating-button","floating-button"),o=(0,k.useTrackInstallPromptClick)("floating-button"),c=(0,j.useTrackModuleClick)();if(!e||a||K.some(e=>n.includes(e)))return null;let u=`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:u},"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:()=>{c("floating-get-the-app-button","dismiss"),s()},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)(H.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e,H=(0,P.useIsMobile)(),W=(0,L.usePathname)(),V=(0,I.useCanonicalBasePath)(),[q,Y]=(0,i.useState)(!1),{href:Q}=(0,D.useAppInstallLink)("my-plans","my-plans"),K=(0,k.useTrackInstallPromptClick)("my-plans"),J=(e=(0,A.useTrackEvent)(),(0,i.useCallback)(()=>{e("myPlansDriver")},[e])),Z=(0,j.useTrackModuleClick)(),ee=(0,F.useIsSamsungPartner)(),et=(0,b.useAtomValue)(w.pageIdAtom),ei=(0,$.useTranslations)("SidebarNavigation"),{user:en}=(0,B.useUser)(),{isUserPremium:el}=en,ea=(0,M.useSubscriptionsEnabled)(),es=(0,T.usePremiumSource)(),{location:er,isLoading:eo}=(0,l.useLocation)(),ec=(0,v.usePageLocale)(),eu=(0,b.useAtomValue)(y.newsHubEnabledAtom),ed=(0,N.useVideoNavUrl)(),{data:ep}=(0,S.default)(["navigation/getQuickNav",ec],()=>(0,_.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),eh=(0,i.useMemo)(()=>{if(eo||!er)return[];let e=er.placeId||"",i=er.featureId,n=er.canonicalID,l=(0,U.buildLocationPageHref)({pageType:"today",locale:ec,canonicalID:n,featureId:i,placeId:e,canonicalBasePath:V,skipCanonical:ee}),x=(0,U.buildLocationPageHref)({pageType:"radar",locale:ec,canonicalID:n,featureId:i,placeId:e,canonicalBasePath:V,skipCanonical:ee}),b=V?(0,R.navTypeForSuffix)(W.split("/").pop()):null,v="en-US"===ec?"/":`/${ec}`,w=W===v||"/"!==v&&W===`${v}/`||(V?"forecast"===b:W.includes("/weather/today/")||W.includes("/weather/hourbyhour/")||W.includes("/weather/tenday/")||W.includes("/weather/monthly/")||W.includes("/forecast/allergy/")||W.includes("/forecast/air-quality/")||W.includes("/forecast/cold-flu/")),y=V?"radar"===b:W.includes("/weather/radar/")||W.includes("/weather/maps/"),k=W.includes("/subscribe"),j="video"===et,A=W===C.URLS.news||W.startsWith(`${C.URLS.news}/`)||E.NEWS_PAGE_IDS.includes(et??""),S="en-US"===ec&&eu,N=ep?.videoLinkLocaleInclude?.["en-US"],_=N?.override?`?${N?.adRef}`:"",L=ed?`${ed}${_}`:"",I="h-6 w-6 text-inherit";return[{name:ei("forecast"),href:l,icon:(0,t.jsx)(r.PartlyCloudyBold,{className:I}),activeIcon:(0,t.jsx)(o.PartlyCloudyBoldFilled,{className:I}),isActive:w},...S?[{name:"News",href:C.URLS.news,icon:(0,t.jsx)(f.News,{className:I}),activeIcon:(0,t.jsx)(g.NewsFilled,{className:I}),isActive:A}]:ed?[{name:ei("video"),href:L,icon:(0,t.jsx)(c.VideoPlayerBold,{className:I}),activeIcon:(0,t.jsx)(u.VideoPlayerBoldFilled,{className:I}),isActive:j}]:[],..."en-US"!==ec||ee?[]:[{name:"My Plans",onClick:()=>{J(),Y(!0)},icon:(0,t.jsx)(h.CalendarBold,{className:I}),activeIcon:(0,t.jsx)(m.CalendarBoldFilled,{className:I}),isActive:!1}],{name:ei("radar"),href:x,icon:(0,t.jsx)(d.RadarBold,{className:I}),activeIcon:(0,t.jsx)(p.RadarBoldFilled,{className:I}),isActive:y},...ea&&!el&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(a.Lightning,{className:I}),activeIcon:(0,t.jsx)(s.LightningFilled,{className:I}),isActive:k,onClick:()=>es({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[eo,er,ec,W,et,eu,ed,ep,V,es,ee,J]);if(!H)return null;let em="en-US"===ec&&!ee;return 0===eh.length?em?(0,t.jsx)(X,{}):null:(0,t.jsxs)(t.Fragment,{children:[em&&(0,t.jsx)(X,{}),(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:eh.map(e=>{let i=(0,x.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,x.cn)("text-[11px] leading-tight",e.isActive&&"font-semibold");return e.href?(0,t.jsxs)(n.default,{href:e.href,className:i,"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:i,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)(O.InstallPromptSheet,{open:q,onOpenChange:Y,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,t.jsx)("div",{className:"relative h-40 w-full",children:(0,t.jsxs)(z.CompositeFrame,{left:"0%",top:"-40.84%",width:"100%",height:"181.69%",children:[(0,t.jsx)(z.Glow,{viewBoxWidth:480,viewBoxHeight:408,color:"#679CED",cx:240,cy:204,rx:160,ry:124}),(0,t.jsx)(z.Card,{src:G.default.src,alt:"My Plans cards showing a saved commute activity and flight status",top:"26.2%",left:"23.5%",width:"53.3%"})]})}),getAppHref:Q,onGetAppClick:()=>Z("my-plans-drawer/get-the-app","Get the app"),onCloseClick:()=>Z("my-plans-drawer/dismiss","dismiss"),learnMoreHref:"/download-app#my-plans",onLearnMoreClick:()=>K("learn-more")})]})}],432124)},738426,e=>{"use strict";var t=e.i(247865),i=e.i(598513),n=e.i(990033);let l={"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"},a={"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 s=(0,i.useSendInteractionEvent)(),r=(0,t.useCallback)((e,t)=>{let i=window.AF;i&&i("pba","event",{eventType:"EVENT",eventName:e,eventValue:{...t,af_customer_event_id:(0,n.v4)()}})},[]);return(0,t.useCallback)(t=>{s({moduleId:l[e],interactionType:"click",interactionElement:a[e][t]},{flushImmediately:!0}),r("web_to_app_install_click",{module:l[e],cta_type:t})},[s,r,e])}],738426)},718043,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getCMSCollectionsUrlConfig=function({collectionId:e,locale:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/collections/${t}/${e}`}},i.getCMSAssetByIDUrlConfig=function({language:e,assetId:t}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/a/${e}/${t}`}},i.getCMSOrderedCollectionsUrlConfig=function({collectionId:e,language:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/ordered-collections/${t}/${e}`}},i.getCMSOrderedListUrlConfig=function({collectionId:e,language:t,collectionType:i}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/orderedlist/${t}/${i}/${e}`}},i.getCMSAssetsUrlConfig=function({language:e="en_US",query:t={},skip:i=0,limit:a=10,sort:s="-publishdate"}){let r={q:Object.keys(t).reduce((e,i)=>{let n=t[i];return n instanceof Array?[...e,...n.map(e=>l(i,e))]:[...e,l(i,n)]},[]).join(";"),pg:`${i},${a}`,format:"json",sort:s},o=(0,n.queryStringToSearchParams)(r).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${o}`}},i.getCMSAssetsRawQueryUrlConfig=function({language:e="en_US",query:t="",skip:i=0,limit:l=10,sort:a="-publishdate"}){let s={q:t,pg:`${i},${l}`,format:"json",sort:a},r=(0,n.queryStringToSearchParams)(s).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${r}`}},i.getCMSAssetsSlideshowUrlConfig=function({offset:e=0,assetId:t,limit:i=500}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/assets/slideshow/${t}/${e},${i}`}},i.getCMSQuickNavUrlConfig=function(){return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/v4/settings/en_US/web/quick_nav"}};let n=e.r(678651);function l(e,t){let i=`'${t.$in}'`;return t.$in instanceof Array&&(i=t.$in.map(e=>`'${e}'`).join(",")),`${e}:$in(${i})`}},427977,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getQuickNav=void 0;let n=e.r(414655),l=e.r(678651),a=e.r(718043);i.getQuickNav=async()=>{let e=(0,l.urlFrom)((0,a.getCMSQuickNavUrlConfig)()),t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return await (0,n.handleFetchResponse)(t)}},677997,e=>{"use strict";var t=e.i(902875),i=e.i(247865),n=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:n,descId:l,...a},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:s,"aria-labelledby":i,"aria-describedby":l,...a,children:[n?(0,t.jsx)("desc",{id:l,children:n}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"lightning"}):e?(0,t.jsx)("title",{id:i,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"})]})),a=i.default.forwardRef((e,i)=>(0,t.jsx)(n.BaseIcon,{ref:i,icon:l,...e}));a.displayName="Lightning",e.s(["Lightning",0,a])},520362,e=>{"use strict";var t=e.i(902875),i=e.i(247865);let n=e=>{let{apiRoute:t,depth:n,refresh:l,serverURL:a}=e,s=(0,i.useRef)(!1),r=(0,i.useCallback)(e=>{e.origin===a&&e.data&&"object"==typeof e.data&&"payload-document-event"===e.data.type&&("function"==typeof l?l():console.error("You must provide a refresh function to `RefreshRouteOnSave`"))},[l,a]);return(0,i.useEffect)(()=>("u">typeof window&&window.addEventListener("message",r),s.current||(s.current=!0,(e=>{let{serverURL:t}=e;if("u">typeof window){let e=window?.opener||window?.parent;e?.postMessage({type:"payload-live-preview",ready:!0},t)}})({serverURL:a}),l()),()=>{"u">typeof window&&window.removeEventListener("message",r)}),[a,r,n,t,l]),null};var l=e.i(725287);let a=(0,e.i(695881).createLogger)("BlockHighlightOverlay"),s={position:"absolute",pointerEvents:"none",border:"2px solid #5B9BD5",backgroundColor:"rgba(91, 155, 213, 0.04)",borderRadius:"8px",boxShadow:"0 0 8px rgba(91, 155, 213, 0.3)",zIndex:"9999",transition:"opacity 150ms ease"},r=e=>{let i=(0,l.useRouter)();return(0,t.jsx)(n,{...e,refresh:i.refresh})};e.s(["LivePreviewListener",0,r],346267),e.i(346267),e.s(["BlockHighlightOverlay",0,()=>{let e=(0,i.useRef)(null),t=(0,i.useRef)(null),n=(0,i.useRef)(null),l=(0,i.useRef)(null),r=(0,i.useRef)(null),o=(0,i.useCallback)(()=>{if("u"{let i=t.current,l=e.current;if(!i||!l)return;if(!i.isConnected){t.current=null,l.style.opacity="0",n.current?.disconnect();return}let a=i.getBoundingClientRect();l.style.top=`${a.top+window.scrollY}px`,l.style.left=`${a.left+window.scrollX}px`,l.style.width=`${a.width}px`,l.style.height=`${a.height}px`,l.style.opacity="1"},[]),u=(0,i.useCallback)(()=>{t.current=null,r.current=null,e.current&&(e.current.style.opacity="0"),n.current?.disconnect()},[]),d=(0,i.useCallback)(()=>{t.current&&null===l.current&&(l.current=requestAnimationFrame(()=>{l.current=null,c()}))},[c]),p=(0,i.useCallback)(e=>{if(e===r.current)return;let i=document.querySelector(`[data-block-id="${CSS.escape(e)}"]`);if(!i)return void a.debug("No element found for block ID",{blockId:e});let l=(e=>{let t=e,i=t.getBoundingClientRect();for(let e=0;e{let t=e=>{var t;(e=>{if(e===window.location.origin)return!0;try{let{hostname:t}=new URL(e);return"weather.com"===t||t.endsWith(".weather.com")}catch{return!1}})(e.origin)&&"object"==typeof(t=e.data)&&null!==t&&"type"in t&&("wx:block-highlight-clear"===t.type||"wx:block-highlight"===t.type&&"blockId"in t&&"string"==typeof t.blockId)&&("wx:block-highlight"===e.data.type?p(e.data.blockId):u())};return window.addEventListener("message",t),window.addEventListener("scroll",d,{passive:!0}),window.addEventListener("resize",d,{passive:!0}),()=>{window.removeEventListener("message",t),window.removeEventListener("scroll",d),window.removeEventListener("resize",d),null!==l.current&&cancelAnimationFrame(l.current),n.current?.disconnect(),e.current?.remove()}},[p,u,d]),null},"LivePreviewListener",0,r],520362)},7150,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["pushlyPromptSuppressedAtom",0,t])},429745,e=>{"use strict";var t=e.i(902875),i=e.i(62544),n=e.i(710746),l=e.i(632137);e.s(["InstallPromptSheet",0,({open:e,onOpenChange:a,title:s,headline:r,description:o,imageUrl:c,imageAlt:u="",imageContent:d,getAppHref:p,getAppLabel:h="Get the app",onGetAppClick:m,learnMoreHref:f,learnMoreLabel:g="Learn more",onLearnMoreClick:x,closeLabel:b="Close",onCloseClick:v,dismissLabel:w,onDismissClick:y})=>(0,t.jsx)(i.Dialog,{open:e,onOpenChange:a,children:(0,t.jsxs)(i.DialogContent,{"aria-describedby":void 0,showCloseButton:!1,onOpenAutoFocus:e=>{e.preventDefault(),e.currentTarget.focus()},className:(0,l.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,t.jsx)(i.DialogClose,{"aria-label":b,onClick: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,t.jsx)(n.Close,{size:"sm",ariaHidden:!0,className:"size-4"})}),s?(0,t.jsx)(i.DialogTitle,{className:"p-0 text-center text-base font-bold text-[#252422]",children:s}):(0,t.jsx)(i.DialogTitle,{className:"sr-only",children:r}),(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 text-center",children:[(0,t.jsx)("p",{className:"text-2xl font-extrabold text-[#252422]",children:r}),(0,t.jsx)("p",{className:"text-base font-medium text-[#676767]",children:o})]})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,t.jsx)("a",{href:p,onClick:m,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}),f&&(0,t.jsx)("a",{href:f,onClick:x,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:g}),!f&&w&&(0,t.jsx)(i.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:w})]})]})})])},457492,e=>{"use strict";var t=e.i(902875),i=e.i(247865),n=e.i(632137),l=e.i(546446),a=e.i(663333),s=e.i(235577),r=e.i(315730),o=e.i(240058);let c=(0,n.cn)("h-full rounded-3xl px-4 text-sm whitespace-nowrap transition-colors text-gray-900 font-bold","inline-flex items-center hover:bg-gray-100 active:bg-gray-200 focus-visible:outline-none focus-visible:bg-gray-100"),u=e=>{let{activeIndex:i,index:l,link:a}=e,s=i===l,r=(0,n.cn)(c,{"bg-gray-100 text-blue-500":s});if(e.onSelect){let{onSelect:i}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>i(l,a),className:(0,n.cn)("cursor-pointer",r),"aria-current":s?"page":void 0,children:a.label})}let{basePath:u,mpa:d}=e,p=a.href??("/"===a.slug?u||"/":`${u}/${a.slug}`);return(0,t.jsx)(o.default,{href:p,mpa:d,className:r,"aria-current":s?"page":void 0,sourceModule:"subnavigation",children:a.label})},d=(0,i.memo)(e=>{let{links:i,activeIndex:o,className:c,constrained:d=!0}=e,p=(0,l.useAtomValue)(a.deviceClassAtom),{ref:h,showLeft:m,showRight:f,scrollLeft:g,scrollRight:x}=(0,r.useHorizontalScroll)({enabled:"mobile"!==p&&"tablet"!==p,scrollAmount:200,contentKey:i});return(0,t.jsxs)("div",{className:(0,n.cn)("relative overflow-hidden rounded-3xl bg-white p-1 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)]","md:rounded-4xl md:rounded-[28px]",d&&"md:mr-auto md:max-w-[min(958px,100%)]",c),"data-testid":"subnavigation",children:[(0,t.jsx)("div",{className:(0,n.cn)("pointer-events-none absolute top-0 -left-1 h-full w-24 bg-gradient-to-r from-white from-0% via-white via-60% to-transparent transition-transform md:-top-1 md:h-14 md:rounded-s-[28px]",{"-translate-x-24":!m}),"aria-hidden":"true"}),(0,t.jsx)(s.ScrollButton,{hidden:!m,onClick:g,direction:"left"}),(0,t.jsx)("div",{ref:h,className:(0,n.cn)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:i.map((i,n)=>e.onSelect?(0,t.jsx)(u,{link:i,index:n,activeIndex:o,onSelect:e.onSelect},`${i.label}_${i.slug}`):(0,t.jsx)(u,{link:i,index:n,activeIndex:o,basePath:e.basePath,mpa:e.mpa},`${i.label}_${i.slug}`))}),(0,t.jsx)("div",{className:(0,n.cn)("pointer-events-none absolute top-0 -right-1 h-full w-24 bg-gradient-to-l from-white from-0% via-white via-60% to-transparent transition-transform md:-top-1 md:h-14 md:rounded-e-[28px]",{"translate-x-24":!f}),"aria-hidden":"true"}),(0,t.jsx)(s.ScrollButton,{hidden:!f,onClick:x,direction:"right"})]})},(e,t)=>e.activeIndex===t.activeIndex&&e.basePath===t.basePath&&e.mpa===t.mpa&&e.onSelect===t.onSelect&&e.constrained===t.constrained&&e.links.length===t.links.length&&e.links.every((e,i)=>e.label===t.links[i]?.label&&e.slug===t.links[i]?.slug&&e.href===t.links[i]?.href));d.displayName="SubnavigationUI",e.s(["SubnavigationUI",0,d],457492)},726812,16730,e=>{"use strict";let t="com.weather.Weather",i="id295646461",n="https://app.appsflyer.com",l="weather.com",a=`https://apps.apple.com/us/app/the-weather-channel/${i}`,s=`https://play.google.com/store/apps/details?id=${t}`;e.s(["APPSFLYER_DEFAULT_CAMPAIGN",0,l,"APPSFLYER_HOST",0,n,"APPSFLYER_PID",0,"WWW","APP_STORE_URL",0,a,"DEFAULT_ANDROID_ID",0,t,"DEFAULT_IPHONE_ID",0,i,"PLAY_STORE_URL",0,s],726812);var r=e.i(288906);e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:a,currentUrl:s,allowAppsFlyer:o,deepLinkValue:c}){if(!o||!a||null===e)return"";let u="android"===e?t:i,d=r.default.env.NEXT_PUBLIC_APPSFLYER_ONELINK_URL,p=d||`${n}/${u}`,h=encodeURIComponent(a.replace(/ /g,"_")),m=`${p}?pid=WWW&af_adset=${h}&c=${l}`;return c&&(m+=`&deep_link_value=${encodeURIComponent(c)}`),!d&&"ios"===e&&s&&(m+=`&af_ios_fallback=${encodeURIComponent(s)}`),m}],16730)},881282,e=>{"use strict";e.s(["getPlatform",0,function(e){return/iPhone|iPod|iPad/.test(e)?"ios":/Android/.test(e)?"android":null}])},402525,e=>{"use strict";let t=(0,e.i(981030).atom)(null);e.s(["getSmartScriptClickUrl",0,function(e){let t=e?.clickURL;return"string"==typeof t&&t?t:null},"smartScriptClickUrlAtom",0,t,"withCtaAttribution",0,function(e,{trackAdset:t,deepLinkValue:i}){if(!URL.canParse(e))return e;let n=new URL(e);return t&&n.searchParams.set("af_adset",t.replace(/ /g,"_")),i&&n.searchParams.set("deep_link_value",i),n.toString()}])},677691,e=>{"use strict";var t=e.i(247865),i=e.i(726812),n=e.i(16730),l=e.i(881282),a=e.i(546446),s=e.i(402525),r=e.i(216809);e.s(["useAppInstallLink",0,function(e,o){let[c,u]=(0,t.useState)(null),[d,p]=(0,t.useState)(null),h=(0,a.useAtomValue)(s.smartScriptClickUrlAtom),m=(0,r.useAppsFlyerConsent)();(0,t.useEffect)(()=>{u((0,l.getPlatform)(navigator.userAgent)),p(window.location.href)},[]);let f=(0,n.getAppsFlyerLink)({platform:c,trackAdset:e,currentUrl:d,allowAppsFlyer:m,deepLinkValue:o}),g="android"===c?i.PLAY_STORE_URL:i.APP_STORE_URL,x=h?(0,s.withCtaAttribution)(h,{trackAdset:e,deepLinkValue:o}):"";return{href:(m&&null!==c?x||f:"")||g,platform:c}}])},216809,e=>{"use strict";var t=e.i(247865),i=e.i(553329);e.s(["useAppsFlyerConsent",0,function(){let[e,n]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let e=!1;return(async()=>{let t=window.DprSdk?.isInitialized;if(!t)return;let{error:l}=await (0,i.tryCatch)(t);l||e||n(!!window.DprSdk?.getFeatureFlags()?.appsFlyer)})(),()=>{e=!0}},[]),e}])}]);