(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")},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),a=e.i(240058),n=e.i(64412),l=e.i(677997),r=e.i(995113),s=e.i(702957),o=e.i(489408),c=e.i(113016),u=e.i(312401),d=e.i(807215),m=e.i(876329),p=e.i(160937),h=e.i(64344),g=e.i(51398),f=e.i(240027),x=e.i(632137),v=e.i(546446),b=e.i(942400),w=e.i(537989);e.i(647872);var y=e.i(494889),C=e.i(611540),k=e.i(738426),S=e.i(468104),A=e.i(18358),j=e.i(381477),I=e.i(190344),P=e.i(427977),N=e.i(725287),_=e.i(559421),L=e.i(388706),E=e.i(498076),U=e.i(581014),R=e.i(304116),$=e.i(379276),T=e.i(269153),M=e.i(528600),D=e.i(837879),F=e.i(683199),B=e.i(677691),z=e.i(429745),O=e.i(269186),H=e.i(328166),G=e.i(226602),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","/radar","/download-app"];function J(){let e=(0,E.useIsMobile)(),a=(0,N.usePathname)(),n=(0,v.useAtomValue)(W.fixedBottomAdHeightAtom),{isDismissed:l,dismiss:r}=function(){let e=(0,V.useIsClient)(),[t,a]=(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{}a(!0)},[])}}(),{href:s}=(0,B.useAppInstallLink)("floating-button","floating-button"),o=(0,k.useTrackInstallPromptClick)("floating-button"),c=(0,S.useTrackModuleClick)();if(!e||l||K.some(e=>a.includes(e)))return null;let u=`calc(3.5rem + ${n}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:s,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"),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,t.jsx)(G.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e,G=(0,E.useIsMobile)(),W=(0,N.usePathname)(),V=(0,_.useCanonicalBasePath)(),[q,Y]=(0,i.useState)(!1),{href:Q}=(0,B.useAppInstallLink)("my-plans","my-plans"),K=(0,k.useTrackInstallPromptClick)("my-plans"),X=(e=(0,A.useTrackEvent)(),(0,i.useCallback)(()=>{e("myPlansDriver")},[e])),Z=(0,S.useTrackModuleClick)(),ee=(0,T.useIsSamsungPartner)(),et=(0,v.useAtomValue)(w.pageIdAtom),ei=(0,U.useTranslations)("SidebarNavigation"),{user:ea}=(0,M.useUser)(),{isUserPremium:en}=ea,el=(0,D.useSubscriptionsEnabled)(),er=(0,F.usePremiumSource)(),{location:es,isLoading:eo}=(0,n.useLocation)(),ec=(0,b.usePageLocale)(),eu=(0,v.useAtomValue)(y.newsHubEnabledAtom),ed=(0,I.useVideoNavUrl)(),{data:em}=(0,j.default)(["navigation/getQuickNav",ec],()=>(0,P.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),ep=(0,i.useMemo)(()=>{if(eo||!es)return[];let e=es.placeId||"",i=es.featureId,a=es.canonicalID,n=(0,R.buildLocationPageHref)({pageType:"today",locale:ec,canonicalID:a,featureId:i,placeId:e,canonicalBasePath:V,skipCanonical:ee}),x=(0,R.buildLocationPageHref)({pageType:"radar",locale:ec,canonicalID:a,featureId:i,placeId:e,canonicalBasePath:V,skipCanonical:ee}),v=V?(0,L.navTypeForSuffix)(W.split("/").pop()):null,b="en-US"===ec?"/":`/${ec}`,w=W===b||"/"!==b&&W===`${b}/`||(V?"forecast"===v: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"===v:W.includes("/weather/radar/")||W.includes("/weather/maps/"),k=W.includes("/subscribe"),S="video"===et,A=W===C.URLS.news||W.startsWith(`${C.URLS.news}/`)||$.NEWS_PAGE_IDS.includes(et??""),j="en-US"===ec&&eu,I=em?.videoLinkLocaleInclude?.["en-US"],P=I?.override?`?${I?.adRef}`:"",N=ed?`${ed}${P}`:"",_="h-6 w-6 text-inherit";return[{name:ei("forecast"),href:n,icon:(0,t.jsx)(s.PartlyCloudyBold,{className:_}),activeIcon:(0,t.jsx)(o.PartlyCloudyBoldFilled,{className:_}),isActive:w},...j?[{name:"News",href:C.URLS.news,icon:(0,t.jsx)(g.News,{className:_}),activeIcon:(0,t.jsx)(f.NewsFilled,{className:_}),isActive:A}]:ed?[{name:ei("video"),href:N,icon:(0,t.jsx)(c.VideoPlayerBold,{className:_}),activeIcon:(0,t.jsx)(u.VideoPlayerBoldFilled,{className:_}),isActive:S}]:[],..."en-US"!==ec||ee?[]:[{name:"My Plans",onClick:()=>{X(),Y(!0)},icon:(0,t.jsx)(p.CalendarBold,{className:_}),activeIcon:(0,t.jsx)(h.CalendarBoldFilled,{className:_}),isActive:!1}],{name:ei("radar"),href:x,icon:(0,t.jsx)(d.RadarBold,{className:_}),activeIcon:(0,t.jsx)(m.RadarBoldFilled,{className:_}),isActive:y},...el&&!en&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(l.Lightning,{className:_}),activeIcon:(0,t.jsx)(r.LightningFilled,{className:_}),isActive:k,onClick:()=>er({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[eo,es,ec,W,et,eu,ed,em,V,er,ee,X]);if(!G)return null;let eh="en-US"===ec&&!ee;return 0===ep.length?eh?(0,t.jsx)(J,{}):null:(0,t.jsxs)(t.Fragment,{children:[eh&&(0,t.jsx)(J,{}),(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:ep.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}),n=(0,x.cn)("text-[11px] leading-tight",e.isActive&&"font-semibold");return e.href?(0,t.jsxs)(a.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:n,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:n,children:e.name})]},e.name)})})})}),(0,t.jsx)(z.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)(O.CompositeFrame,{left:"0%",top:"-40.84%",width:"100%",height:"181.69%",children:[(0,t.jsx)(O.Glow,{viewBoxWidth:480,viewBoxHeight:408,color:"#679CED",cx:240,cy:204,rx:160,ry:124}),(0,t.jsx)(O.Card,{src:H.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)},329017,e=>{"use strict";e.i(288906);var t=e.i(247865),i=e.i(725287),a=e.i(546446),n=e.i(540768),l=e.i(682142),r=e.i(782937),s=e.i(695881),o=e.i(333350),c=e.i(64412),u=e.i(950771),d=e.i(537989),m=e.i(695203),p=e.i(158662),h=e.i(358273),g=e.i(122124),f=e.i(777638),x=e.i(727365),v=e.i(896363),b=e.i(924776),w=e.i(409628),y=e.i(605781);let C=(0,s.createLogger)("useTrackInteraction"),k=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),S=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]);e.s(["useTrackInteraction",0,()=>{let e=(0,a.useAtomValue)(d.pageIdAtom),s=(0,a.useAtomValue)(u.pageLocaleAtom),A=(0,a.useAtomValue)(m.deviceClassAtom),j=(0,a.useAtomValue)(p.experimentJoinListAtom),I=(0,i.usePathname)(),{location:P}=(0,c.useLocation)(),N=(0,b.useIsHightouchReady)(),_=(0,t.useCallback)(t=>{let i=(0,l.getCICookie)(),a=i?.["TWC-GeoIP-Country"]??(0,n.getCookie)("twc-location-country"),o=i?.["TWC-GeoIP-Region"]??(0,n.getCookie)("twc-location-region"),c=i?.["TWC-Privacy"]??(0,n.getCookie)("twc-privacy"),u=window.DprSdk?.getGdprConsentOptInsString()??"",d=window.DprSdk?.getCcpaSaleOptInString()??"",m=window.navigator?.globalPrivacyControl??!1,p=u?.includes("functional-technology")??!1,b=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,y=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,C=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),N=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),_=navigator?.cookieEnabled??!1,L=(0,n.getCookie)("partner")||"",E=(0,r.getPartnerByPattern)(L)??L,U=(0,h.getMetricsSession)(),R=U?.sessionId||"",$=new Date(U?.sessionStartTime||0).toISOString(),T=new Date,M=T.getHours(),D=w.WEEK_DAYS[T.getDay()]??"",F=e&&["article","video"].includes(e)?I?.split("/").slice(0,-1).join("/")??"":(0,g.getAnonymizedPath)(I??""),B=(0,x.normalizeWlocType)(P?.type),z=P?.featureSource??null;return{moduleId:t.moduleId??"",moduleTitle:t.moduleTitle??null,modulePosition:t.modulePosition,interactionType:t.interactionType??"",interactionElement:t.interactionElement??null,lockedContent:t.lockedContent??"false",destinationPageId:t.destinationPageId??null,upsellCampaign:t.upsellCampaign??null,upsellCreative:t.upsellCreative??null,upsellPlacement:t.upsellPlacement,pageId:e??"",url:F,referrer:document.referrer,locale:s,deviceClass:A,partner:E,sessionId:R,sessionStartTime:$,siteMode:"normal",dayOfWeek:D,hourOfDay:M,regime:c??"",cookiesEnabled:_,gpcSignalOptOut:m,functionalTechnologies:p,geographicallyRelevantAds:b,interestBasedAds:y,priv:u,privProducts:d,saleOfDataAuthorization:C,sensitiveDataAuthorization:N,campaign:(0,f.getCampaign)(),experimentJoinList:j,weatherMode:"normal",physicalCountry:a??"",physicalState:o??"",wlocCity:P?.city??null,wlocCountry:P?.countryCode??null,wlocState:P?.adminDistrictCode??null,wlocDMA:P?.dmaCd??null,wlocId:P?.placeId??null,wlocFeatureId:P?.featureId??null,wlocFeatureSource:null!=z&&S.has(z)?z:void 0,wlocTags:P?.tags?.length?(0,v.parseArrayToString)(P.tags):null,wlocType:null!==B&&k.has(B)?B:void 0,samsungVersion:(0,f.getSamsungVersion)(),appVersion:"d8cb3ceedccdf9c80944ee06f03898a7f36d30b1".slice(0,10)}},[e,s,A,j,I,P]);return(0,t.useCallback)(e=>{if(o.default){if(!N)return void C.warn('Hightouch: Event "interaction" skipped - SDK not ready');try{(0,y.trackInteraction)(_(e)),C.info('Hightouch: Event "interaction" tracked')}catch(e){C.error('Hightouch: Event "interaction" failed',{error:e})}}},[N,_])}])},468104,269186,328166,e=>{"use strict";var t=e.i(247865),i=e.i(598513);e.s(["useTrackModuleClick",0,function(){let e=(0,i.useSendInteractionEvent)();return(0,t.useCallback)((t,i)=>{e({moduleId:t,interactionType:"click",interactionElement:i},{flushImmediately:!0})},[e])}],468104);var a=e.i(902875);e.s(["Card",0,function({src:e,alt:t,top:i,left:n,width:l}){return(0,a.jsx)("img",{src:e,alt:t,className:"absolute rounded-xl",style:{top:i,left:n,width:l}})},"CompositeFrame",0,function({left:e,top:t,width:i,height:n,children:l}){return(0,a.jsx)("div",{className:"absolute",style:{left:e,top:t,width:i,height:n},children:l})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:i,color:n,cx:l,cy:r,rx:s,ry:o}){let c=(0,t.useId)();return(0,a.jsxs)("svg",{"aria-hidden":"true",className:"absolute inset-0 size-full",viewBox:`0 0 ${e} ${i}`,preserveAspectRatio:"none",children:[(0,a.jsx)("g",{opacity:.32,filter:`url(#${c})`,children:(0,a.jsx)("ellipse",{cx:l,cy:r,rx:s,ry:o,fill:n})}),(0,a.jsx)("defs",{children:(0,a.jsxs)("filter",{id:c,x:"0",y:"0",width:e,height:i,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,a.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,a.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,a.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)},598513,e=>{"use strict";var t=e.i(487709),i=e.i(737801),a=e.i(329017),n=e.i(247865);e.s(["useSendInteractionEvent",0,()=>{let e="interaction",l=(0,i.useEventAttributes)(),r=(0,a.useTrackInteraction)();return(0,n.useCallback)((i,a={})=>{r(i);let n={...l,...i};if(!(0,t.canLogEvent)())return void console.warn("MParticle is not loaded");try{if(window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,n),a.flushImmediately)try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,n)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[l,r])}])},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:l=10,sort:r="-publishdate"}){let s={q:Object.keys(t).reduce((e,i)=>{let a=t[i];return a instanceof Array?[...e,...a.map(e=>n(i,e))]:[...e,n(i,a)]},[]).join(";"),pg:`${i},${l}`,format:"json",sort:r},o=(0,a.queryStringToSearchParams)(s).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:n=10,sort:l="-publishdate"}){let r={q:t,pg:`${i},${n}`,format:"json",sort:l},s=(0,a.queryStringToSearchParams)(r).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${s}`}},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 a=e.r(678651);function n(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 a=e.r(414655),n=e.r(678651),l=e.r(718043);i.getQuickNav=async()=>{let e=(0,n.urlFrom)((0,l.getCMSQuickNavUrlConfig)()),t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return await (0,a.handleFetchResponse)(t)}},849177,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["adsDisabledAtom",0,t])},677997,738426,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let n=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:n,...l},r)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:r,"aria-labelledby":i,"aria-describedby":n,...l,children:[a?(0,t.jsx)("desc",{id:n,children:a}):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"})]})),l=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:n,...e}));l.displayName="Lightning",e.s(["Lightning",0,l],677997);var r=e.i(598513),s=e.i(990033);let o={"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"},c={"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"}};e.s(["useTrackInstallPromptClick",0,function(e){let t=(0,r.useSendInteractionEvent)(),a=(0,i.useCallback)((e,t)=>{let i=window.AF;i&&i("pba","event",{eventType:"EVENT",eventName:e,eventValue:{...t,af_customer_event_id:(0,s.v4)()}})},[]);return(0,i.useCallback)(i=>{t({moduleId:o[e],interactionType:"click",interactionElement:c[e][i]},{flushImmediately:!0}),a("web_to_app_install_click",{module:o[e],cta_type:i})},[t,a,e])}],738426)},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),a=e.i(226602),n=e.i(632137);e.s(["InstallPromptSheet",0,({open:e,onOpenChange:l,title:r,headline:s,description:o,imageUrl:c,imageAlt:u="",imageContent:d,getAppHref:m,getAppLabel:p="Get the app",onGetAppClick:h,learnMoreHref:g,learnMoreLabel:f="Learn more",onLearnMoreClick:x,closeLabel:v="Close",onCloseClick:b,dismissLabel:w,onDismissClick:y})=>(0,t.jsx)(i.Dialog,{open:e,onOpenChange:l,children:(0,t.jsxs)(i.DialogContent,{"aria-describedby":void 0,showCloseButton:!1,onOpenAutoFocus:e=>{e.preventDefault(),e.currentTarget.focus()},className:(0,n.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":v,onClick:b,className:"absolute top-4 left-4 z-10 flex size-8 cursor-pointer items-center justify-center rounded-2xl bg-[#f5f5f5] text-gray-900 transition-colors hover:bg-gray-200 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none",children:(0,t.jsx)(a.Close,{size:"sm",ariaHidden:!0,className:"size-4"})}),r?(0,t.jsx)(i.DialogTitle,{className:"p-0 text-center text-base font-bold text-[#252422]",children:r}):(0,t.jsx)(i.DialogTitle,{className:"sr-only",children:s}),(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:s}),(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:m,onClick:h,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:p}),g&&(0,t.jsx)("a",{href:g,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:f}),!g&&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})]})]})})])},235577,e=>{"use strict";var t=e.i(902875),i=e.i(523084),a=e.i(47524),n=e.i(632137),l=e.i(877957);e.s(["ScrollButton",0,function({direction:e,onClick:r,hidden:s,size:o="default",variant:c="light",className:u}){let d="sm"===o,m=(0,n.cn)("text-current",d?"size-4":"size-6 transition-[width,height] duration-150 group-hover:size-7 group-active:size-6 group-active:duration-100");return(0,t.jsx)(l.Button,{type:"button",onClick:r,"aria-hidden":"true",tabIndex:-1,className:(0,n.cn)("group z-sticky absolute top-1/2 flex -translate-y-1/2 cursor-pointer items-center justify-center rounded-full p-0 transition-all duration-150 ease-in-out active:duration-100","dark"===c?"bg-[#252422] text-white hover:bg-[#3a3937] active:bg-[#1a1918]":"solid"===c?"bg-black/80 text-white hover:bg-black/90 active:bg-black":"white"===c?"bg-white/80 text-gray-900 backdrop-blur-[2px] hover:bg-white/95 active:bg-white":"bg-transparent text-gray-900 hover:bg-gray-100 active:bg-gray-200",d?"size-8":"size-12","left"===e&&"left-1","right"===e&&"right-1",s&&"left"===e&&"-translate-x-[calc(100%+1.5rem)]",s&&"right"===e&&"translate-x-[calc(100%+1.5rem)]",s&&"pointer-events-none opacity-0",u),children:"left"===e?(0,t.jsx)(i.ChevronLeft,{className:m}):(0,t.jsx)(a.ChevronRight,{className:m})})}])},457492,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(632137),n=e.i(546446),l=e.i(663333),r=e.i(235577),s=e.i(315730),o=e.i(240058);let c=(0,a.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:n,link:l}=e,r=i===n,s=(0,a.cn)(c,{"bg-gray-100 text-blue-500":r});if(e.onSelect){let{onSelect:i}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>i(n,l),className:(0,a.cn)("cursor-pointer",s),"aria-current":r?"page":void 0,children:l.label})}let{basePath:u,mpa:d}=e,m=l.href??("/"===l.slug?u||"/":`${u}/${l.slug}`);return(0,t.jsx)(o.default,{href:m,mpa:d,className:s,"aria-current":r?"page":void 0,sourceModule:"subnavigation",children:l.label})},d=(0,i.memo)(e=>{let{links:i,activeIndex:o,className:c,constrained:d=!0}=e,m=(0,n.useAtomValue)(l.deviceClassAtom),{ref:p,showLeft:h,showRight:g,scrollLeft:f,scrollRight:x}=(0,s.useHorizontalScroll)({enabled:"mobile"!==m&&"tablet"!==m,scrollAmount:200,contentKey:i});return(0,t.jsxs)("div",{className:(0,a.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,a.cn)("pointer-events-none absolute top-0 -left-25 h-full w-24 bg-gradient-to-r from-white from-0% via-white via-60% to-transparent transition-[left] md:-top-1 md:h-14 md:rounded-s-[28px]",{"-left-1":h}),"aria-hidden":"true"}),(0,t.jsx)(r.ScrollButton,{hidden:!h,onClick:f,direction:"left"}),(0,t.jsx)("div",{ref:p,className:(0,a.cn)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:i.map((i,a)=>e.onSelect?(0,t.jsx)(u,{link:i,index:a,activeIndex:o,onSelect:e.onSelect},`${i.label}_${i.slug}`):(0,t.jsx)(u,{link:i,index:a,activeIndex:o,basePath:e.basePath,mpa:e.mpa},`${i.label}_${i.slug}`))}),(0,t.jsx)("div",{className:(0,a.cn)("pointer-events-none absolute top-0 -right-25 h-full w-24 bg-gradient-to-l from-white from-0% via-white via-60% to-transparent transition-[right] md:-top-1 md:h-14 md:rounded-e-[28px]",{"-right-1":g}),"aria-hidden":"true"}),(0,t.jsx)(r.ScrollButton,{hidden:!g,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)},315730,e=>{"use strict";var t=e.i(147732),i=e.i(247865);e.s(["useHorizontalScroll",0,function({enabled:e=!0,scrollAmount:a=200,contentKey:n}={}){let l=(0,i.useRef)(null),r=(0,i.useRef)(null),s=(0,i.useRef)(!1),[o,c]=(0,i.useState)(!1),[u,d]=(0,i.useState)(!1),m=(0,i.useCallback)(()=>{let t=l.current;if(!t||!e){c(!1),d(!1);return}let{scrollLeft:i,scrollWidth:a,clientWidth:n}=t,r=Math.abs(i),o=r>2,u=r+n(0,t.debounce)(m,150),[m]),h=(0,i.useCallback)(()=>{null===r.current&&(r.current=requestAnimationFrame(()=>{m(),r.current=null}))},[m]);(0,i.useEffect)(()=>{let t=l.current;return t&&(s.current="rtl"===getComputedStyle(t).direction),m(),e&&(t?.addEventListener("scroll",h),window.addEventListener("resize",p)),()=>{null!==r.current&&cancelAnimationFrame(r.current),r.current=null,t?.removeEventListener("scroll",h),p.cancel(),window.removeEventListener("resize",p)}},[e,m,h,p,n]);let g=(0,i.useCallback)(()=>l.current?.scrollBy({left:-a,behavior:"smooth"}),[a]),f=(0,i.useCallback)(()=>l.current?.scrollBy({left:a,behavior:"smooth"}),[a]);return{ref:l,showLeft:o,showRight:u,scrollLeft:g,scrollRight:f}}])},726812,16730,e=>{"use strict";let t="com.weather.Weather",i="id295646461",a="https://app.appsflyer.com",n="weather.com",l=`https://apps.apple.com/us/app/the-weather-channel/${i}`,r=`https://play.google.com/store/apps/details?id=${t}`;e.s(["APPSFLYER_DEFAULT_CAMPAIGN",0,n,"APPSFLYER_HOST",0,a,"APPSFLYER_PID",0,"WWW","APP_STORE_URL",0,l,"DEFAULT_ANDROID_ID",0,t,"DEFAULT_IPHONE_ID",0,i,"PLAY_STORE_URL",0,r],726812);var s=e.i(288906);e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:l,currentUrl:r,allowAppsFlyer:o,deepLinkValue:c}){if(!o||!l||null===e)return"";let u="android"===e?t:i,d=s.default.env.NEXT_PUBLIC_APPSFLYER_ONELINK_URL,m=d||`${a}/${u}`,p=encodeURIComponent(l.replace(/ /g,"_")),h=`${m}?pid=WWW&af_adset=${p}&c=${n}`;return c&&(h+=`&deep_link_value=${encodeURIComponent(c)}`),!d&&"ios"===e&&r&&(h+=`&af_ios_fallback=${encodeURIComponent(r)}`),h}],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 a=new URL(e);return t&&a.searchParams.set("af_adset",t.replace(/ /g,"_")),i&&a.searchParams.set("deep_link_value",i),a.toString()}])},677691,e=>{"use strict";var t=e.i(247865),i=e.i(726812),a=e.i(16730),n=e.i(881282),l=e.i(546446),r=e.i(402525),s=e.i(216809);e.s(["useAppInstallLink",0,function(e,o){let[c,u]=(0,t.useState)(null),[d,m]=(0,t.useState)(null),p=(0,l.useAtomValue)(r.smartScriptClickUrlAtom),h=(0,s.useAppsFlyerConsent)();(0,t.useEffect)(()=>{u((0,n.getPlatform)(navigator.userAgent)),m(window.location.href)},[]);let g=(0,a.getAppsFlyerLink)({platform:c,trackAdset:e,currentUrl:d,allowAppsFlyer:h,deepLinkValue:o}),f="android"===c?i.PLAY_STORE_URL:i.APP_STORE_URL,x=p?(0,r.withCtaAttribution)(p,{trackAdset:e,deepLinkValue:o}):"";return{href:(h&&null!==c?x||g:"")||f,platform:c}}])},216809,e=>{"use strict";var t=e.i(247865),i=e.i(553329);e.s(["useAppsFlyerConsent",0,function(){let[e,a]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let e=!1;return(async()=>{let t=window.DprSdk?.isInitialized;if(!t)return;let{error:n}=await (0,i.tryCatch)(t);n||e||a(!!window.DprSdk?.getFeatureFlags()?.appsFlyer)})(),()=>{e=!0}},[]),e}])}]);