(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,388982,e=>{"use strict";var t=e.i(546446),i=e.i(293733);e.s(["HideWhenRadarFullscreen",0,function({children:e}){return(0,t.useAtomValue)(i.radarFullscreenAtom)?null:e}])},167135,e=>{"use strict";var t=e.i(902875),i=e.i(546446),a=e.i(219246),l=e.i(632137);function n({children:e,reserveMobileNav:s=!0}){let o=(0,i.useAtomValue)(a.fixedTopAdHeightAtom);return(0,t.jsx)("div",{className:(0,l.cn)("flex min-h-0 flex-1 overflow-hidden pt-[var(--radar-top-ad)] md:pt-0 md:pb-0",s&&"pb-14"),style:{"--radar-top-ad":`${o}px`},children:e})}e.s(["RadarTopAdInset",0,n,"default",0,n])},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:a,left:l,width:n}){return(0,t.jsx)("img",{src:e,alt:i,className:"absolute rounded-xl",style:{top:a,left:l,width:n}})},"CompositeFrame",0,function({left:e,top:i,width:a,height:l,children:n}){return(0,t.jsx)("div",{className:"absolute",style:{left:e,top:i,width:a,height:l},children:n})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:a,color:l,cx:n,cy:s,rx:o,ry:r}){let c=(0,i.useId)();return(0,t.jsxs)("svg",{"aria-hidden":"true",className:"absolute inset-0 size-full",viewBox:`0 0 ${e} ${a}`,preserveAspectRatio:"none",children:[(0,t.jsx)("g",{opacity:.32,filter:`url(#${c})`,children:(0,t.jsx)("ellipse",{cx:n,cy:s,rx:o,ry:r,fill:l})}),(0,t.jsx)("defs",{children:(0,t.jsxs)("filter",{id:c,x:"0",y:"0",width:e,height:a,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 a={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,a],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),a=e.i(240058),l=e.i(64412),n=e.i(677997),s=e.i(995113),o=e.i(702957),r=e.i(489408),c=e.i(113016),d=e.i(312401),u=e.i(807215),p=e.i(876329),m=e.i(160937),g=e.i(64344),h=e.i(51398),f=e.i(240027),x=e.i(632137),v=e.i(546446),w=e.i(942400),y=e.i(537989);e.i(647872);var b=e.i(494889),C=e.i(611540),k=e.i(738426),A=e.i(468104),S=e.i(18358),j=e.i(381477),I=e.i(190344),P=e.i(427977),D=e.i(725287),L=e.i(559421),T=e.i(388706),R=e.i(498076),N=e.i(581014),_=e.i(304116),E=e.i(379276),M=e.i(269153),U=e.i(528600),B=e.i(837879),F=e.i(683199),H=e.i(677691),O=e.i(429745),V=e.i(269186),z=e.i(328166),G=e.i(710746),$=e.i(697380),W=e.i(512134),K=e.i(521350),Y=e.i(358273);let q="wx-next/get-app-button:dismissed-session",Q=["/hourbyhour","/radar","/download-app"];function J(){let e=(0,R.useIsMobile)(),a=(0,D.usePathname)(),l=(0,v.useAtomValue)($.fixedBottomAdHeightAtom),{isDismissed:n,dismiss:s}=function(){let e=(0,W.useIsClient)(),[t,a]=(0,i.useState)(!1);return{isDismissed:!e||t||function(){let e=function(){if(!(0,K.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,K.isLocalStorageAvailable)())try{localStorage.setItem(q,e)}catch{}a(!0)},[])}}(),{href:o}=(0,H.useAppInstallLink)("floating-button","floating-button"),r=(0,k.useTrackInstallPromptClick)("floating-button"),c=(0,A.useTrackModuleClick)();if(!e||n||Q.some(e=>a.includes(e)))return null;let d=`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:d},"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:o,onClick:()=>r("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)(G.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e,G=(0,R.useIsMobile)(),$=(0,D.usePathname)(),W=(0,L.useCanonicalBasePath)(),[K,Y]=(0,i.useState)(!1),{href:q}=(0,H.useAppInstallLink)("my-plans","my-plans"),Q=(0,k.useTrackInstallPromptClick)("my-plans"),X=(e=(0,S.useTrackEvent)(),(0,i.useCallback)(()=>{e("myPlansDriver")},[e])),Z=(0,A.useTrackModuleClick)(),ee=(0,M.useIsSamsungPartner)(),et=(0,v.useAtomValue)(y.pageIdAtom),ei=(0,N.useTranslations)("SidebarNavigation"),{user:ea}=(0,U.useUser)(),{isUserPremium:el}=ea,en=(0,B.useSubscriptionsEnabled)(),es=(0,F.usePremiumSource)(),{location:eo,isLoading:er}=(0,l.useLocation)(),ec=(0,w.usePageLocale)(),ed=(0,v.useAtomValue)(b.newsHubEnabledAtom),eu=(0,I.useVideoNavUrl)(),{data:ep}=(0,j.default)(["navigation/getQuickNav",ec],()=>(0,P.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),em=(0,i.useMemo)(()=>{if(er||!eo)return[];let e=eo.placeId||"",i=eo.featureId,a=eo.canonicalID,l=(0,_.buildLocationPageHref)({pageType:"today",locale:ec,canonicalID:a,featureId:i,placeId:e,canonicalBasePath:W,skipCanonical:ee}),x=(0,_.buildLocationPageHref)({pageType:"radar",locale:ec,canonicalID:a,featureId:i,placeId:e,canonicalBasePath:W,skipCanonical:ee}),v=W?(0,T.navTypeForSuffix)($.split("/").pop()):null,w="en-US"===ec?"/":`/${ec}`,y=$===w||"/"!==w&&$===`${w}/`||(W?"forecast"===v:$.includes("/weather/today/")||$.includes("/weather/hourbyhour/")||$.includes("/weather/tenday/")||$.includes("/weather/monthly/")||$.includes("/forecast/allergy/")||$.includes("/forecast/air-quality/")||$.includes("/forecast/cold-flu/")),b=W?"radar"===v:$.includes("/weather/radar/")||$.includes("/weather/maps/"),k=$.includes("/subscribe"),A="video"===et,S=$===C.URLS.news||$.startsWith(`${C.URLS.news}/`)||E.NEWS_PAGE_IDS.includes(et??""),j="en-US"===ec&&ed,I=ep?.videoLinkLocaleInclude?.["en-US"],P=I?.override?`?${I?.adRef}`:"",D=eu?`${eu}${P}`:"",L="h-6 w-6 text-inherit";return[{name:ei("forecast"),href:l,icon:(0,t.jsx)(o.PartlyCloudyBold,{className:L}),activeIcon:(0,t.jsx)(r.PartlyCloudyBoldFilled,{className:L}),isActive:y},...j?[{name:"News",href:C.URLS.news,icon:(0,t.jsx)(h.News,{className:L}),activeIcon:(0,t.jsx)(f.NewsFilled,{className:L}),isActive:S}]:eu?[{name:ei("video"),href:D,icon:(0,t.jsx)(c.VideoPlayerBold,{className:L}),activeIcon:(0,t.jsx)(d.VideoPlayerBoldFilled,{className:L}),isActive:A}]:[],..."en-US"!==ec||ee?[]:[{name:"My Plans",onClick:()=>{X(),Y(!0)},icon:(0,t.jsx)(m.CalendarBold,{className:L}),activeIcon:(0,t.jsx)(g.CalendarBoldFilled,{className:L}),isActive:!1}],{name:ei("radar"),href:x,icon:(0,t.jsx)(u.RadarBold,{className:L}),activeIcon:(0,t.jsx)(p.RadarBoldFilled,{className:L}),isActive:b},...en&&!el&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(n.Lightning,{className:L}),activeIcon:(0,t.jsx)(s.LightningFilled,{className:L}),isActive:k,onClick:()=>es({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[er,eo,ec,$,et,ed,eu,ep,W,es,ee,X]);if(!G)return null;let eg="en-US"===ec&&!ee;return 0===em.length?eg?(0,t.jsx)(J,{}):null:(0,t.jsxs)(t.Fragment,{children:[eg&&(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:em.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)(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: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:K,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)(V.CompositeFrame,{left:"0%",top:"-40.84%",width:"100%",height:"181.69%",children:[(0,t.jsx)(V.Glow,{viewBoxWidth:480,viewBoxHeight:408,color:"#679CED",cx:240,cy:204,rx:160,ry:124}),(0,t.jsx)(V.Card,{src:z.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:()=>Q("learn-more")})]})}],432124)},316810,e=>{"use strict";var t=e.i(902875),i=e.i(632137);e.s(["default",0,({className:e})=>(0,t.jsx)("span",{className:(0,i.cn)("text-xxs bg-brand-200 ml-2 inline-flex h-[19px] items-center justify-center rounded-md border-2 border-white px-[3px] py-1 font-bold text-white",e),children:"New"})])},414338,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(730921),l=e.i(581014),n=e.i(877957),s=e.i(62544),o=e.i(901351),r=e.i(313983),c=e.i(725296),d=e.i(521350),u=e.i(546446),p=e.i(540768),m=e.i(682142),g=e.i(782937),h=e.i(695881),f=e.i(333350),x=e.i(64412),v=e.i(950771),w=e.i(537989),y=e.i(695203),b=e.i(158662),C=e.i(358273),k=e.i(777638),A=e.i(924776),S=e.i(409628),j=e.i(605781),I=e.i(289681);let P=(0,h.createLogger)("useTrackConsentChange"),D={"sale-of-data":"sod","sensitive-data":"sensitive-data"};var L=e.i(611540),T=e.i(553329);let R=async e=>{let t;await (0,T.tryCatch)(Promise.race([Promise.resolve().then(e),new Promise(e=>{t=setTimeout(e,1e3)})])),clearTimeout(t)},N=({isUserLoggedIn:e,regime:h,deviceClass:T,experience:N,isPremiumUser:_})=>{let E=(0,l.useTranslations)("PrivacyConsentModal"),M=(0,a.useLocale)(),U=(0,L.interpolateUrl)(L.URLS.privacyPolicy,{locale:M}),[B,F]=(0,i.useState)(!1),[H,O]=(0,i.useState)(!1),[V,z]=(0,i.useState)(!1),G=(()=>{let e=(0,u.useAtomValue)(w.pageIdAtom),t=(0,u.useAtomValue)(v.pageLocaleAtom),a=(0,u.useAtomValue)(y.deviceClassAtom),l=(0,u.useAtomValue)(b.experimentJoinListAtom),{location:n}=(0,x.useLocation)(),s=(0,A.useIsHightouchReady)(),o=(0,i.useCallback)(()=>{let e=(0,m.getCICookie)(),i=e?.["TWC-GeoIP-Country"]??(0,p.getCookie)("twc-location-country"),s=e?.["TWC-GeoIP-Region"]??(0,p.getCookie)("twc-location-region"),o=e?.["TWC-Privacy"]??(0,p.getCookie)("twc-privacy"),r=window.DprSdk?.getGdprConsentOptInsString()??"",c=window.DprSdk?.getCcpaSaleOptInString()??"",d=window.navigator?.globalPrivacyControl??!1,u=r?.includes("functional-technology")??!1,h=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,f=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,x=(0,I.getConsentAuthorization)("sale-of-data"),v=(0,I.getConsentAuthorization)("sensitive-data"),w=navigator?.cookieEnabled??!1,y=(0,p.getCookie)("partner")||"",b=(0,g.getPartnerByPattern)(y)??y,A=(0,C.getMetricsSession)(),j=A?.sessionId||"",P=new Date(A?.sessionStartTime||0).toISOString(),D=new Date,L=D.getHours(),T=S.WEEK_DAYS[D.getDay()]??"";return{schemaVersion:"nextgen",referrer:document.referrer,locale:t,deviceClass:a,partner:b,sessionId:j,sessionStartTime:P,siteMode:"normal",dayOfWeek:T,hourOfDay:L,regime:o??"",cookiesEnabled:w,gpcSignalOptOut:d,functionalTechnologies:u,geographicallyRelevantAds:h,interestBasedAds:f,priv:r,privProducts:c,saleOfData:x??void 0,saleOfDataAuthorization:x,sensitiveDataAuthorization:v,campaign:(0,k.getCampaign)(),experimentJoinList:l,weatherMode:"normal",physicalCountry:i??"",physicalState:s??"",caUser:"US"===i&&"CA"===s,wlocCity:n?.city??null,wlocCountry:n?.countryCode??null,wlocState:n?.adminDistrictCode??null,samsungVersion:(0,k.getSamsungVersion)(),appVersion:"0404f88080af60073c643d025e42bd9b3fcc20b4".slice(0,10)}},[t,a,l,n]),r=(0,i.useCallback)((t,i)=>{if("sensitive-data"===t&&i)return(0,j.trackSensitiveDataOptin)(o());let a={...o(),pageId:e??"",wlocDMA:n?.dmaCd??null};return"sensitive-data"===t?(0,j.trackSensitiveDataOptout)(a):i?(0,j.trackSodOptin)(a):(0,j.trackSodOptout)(a)},[o,e,n]);return(0,i.useCallback)((e,t)=>{let i=`${D[e]}-${t?"optin":"optout"}`;if(f.default)return s?(P.info(`Hightouch: Event "${i}" tracked`),r(e,t)):void P.warn(`Hightouch: Event "${i}" skipped - SDK not ready`)},[s,r])})();(0,i.useEffect)(()=>{if(!c.US_REGIMES.includes(h)||_||!(0,d.isLocalStorageAvailable)())return;let t=localStorage.getItem("gpcConflict"),i=localStorage.getItem("saleOfDataConflict");t?(O(!0),F(!0)):e&&i&&h===c.Regime.USA_CCPA&&(z(!0),F(!0))},[h,_,e]);let $=async e=>{try{let t={purpose:e.purpose,consent:e.value,setByUser:!0};await o.upsxClient.consent.createUserConsent(t),e.refreshAfterUpdate&&(await e.beforeRefresh,window.location.reload())}catch(e){console.error("Failed to update UPSX consent:",e)}},W=t=>{let i=window,a=window.top,l=i.DprSdk||a?.DprSdk;if(!l)return void console.error("Unable to fix conflict, missing DprSdk.");l.setUserConsents({[r.Purpose.SALE_OF_DATA]:t});let n=R(()=>G(r.Purpose.SALE_OF_DATA,t));e&&$({purpose:r.Purpose.SALE_OF_DATA,value:t,refreshAfterUpdate:!0,beforeRefresh:n}),H?((0,d.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||n.then(()=>window.location.reload())):V&&(0,d.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),F(!1)},K="",Y="";if(H?(K="gpcConflictHeader",Y="gpcConflictParagraph",h===c.Regime.USA_CCPA&&(Y+="_usa-ccpa")):V&&(K="saleOfDataConflictHeader",Y="saleOfDataConflictParagraph",h===c.Regime.USA_CCPA&&(Y+="_usa-ccpa")),Y)return(0,t.jsx)(s.Dialog,{open:B,onOpenChange:F,children:(0,t.jsxs)(s.DialogContent,{className:`text-center ${"desktop"!==T?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===N?"wu-theme":""} `,onEscapeKeyDown:e=>{(V||H)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[K&&(0,t.jsx)(s.DialogHeader,{children:(0,t.jsx)(s.DialogTitle,{className:"text-xl font-semibold",children:E(K)})}),(0,t.jsx)("div",{className:"py-4",children:(0,t.jsx)("p",{className:"text-sm leading-relaxed",children:E.rich(Y,{privacyPolicyLink:e=>(0,t.jsx)("a",{href:U,target:"_top",className:"text-blue-600 underline hover:text-blue-800",children:e})})})}),(0,t.jsxs)(s.DialogFooter,{className:"flex w-fit flex-col gap-3 justify-self-center",children:[(0,t.jsx)(n.Button,{onClick:()=>{W(!0)},variant:"default",className:"w-full sm:w-auto",children:E("optInButtonText")}),(0,t.jsx)(n.Button,{onClick:()=>{W(!1)},variant:"secondary",className:"w-full sm:w-auto",children:E("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModalClient",0,N,"SOD_TRACK_TIMEOUT_MS",0,1e3,"default",0,N],414338)},738426,e=>{"use strict";var t=e.i(247865),i=e.i(598513),a=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"},n={"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)(),o=(0,t.useCallback)((e,t)=>{let i=window.AF;i&&i("pba","event",{eventType:"EVENT",eventName:e,eventValue:{...t,af_customer_event_id:(0,a.v4)()}})},[]);return(0,t.useCallback)(t=>{s({moduleId:l[e],interactionType:"click",interactionElement:n[e][t]},{flushImmediately:!0}),o("web_to_app_install_click",{module:l[e],cta_type:t})},[s,o,e])}],738426)},468104,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])}])},123590,333761,e=>{"use strict";var t=e.i(487709),i=e.i(737801),a=e.i(630986),l=e.i(247865);e.s(["useTrackContentLinkClick",0,()=>{let e="content-link-click",n=(0,i.useEventAttributes)(),s=(0,a.useCMSAttributes)();return(0,l.useCallback)(i=>{let a={createdDate:s?.createdDate||"",contentId:s?.contentId||"",publishDate:s?.publishDate||"",author:s?.author||"",collection:s?.collection||"",entitlements:s?.entitlements||"",provider:s?.provider||"",linkType:i.linkType,linkURL:i.linkURL,linkText:i.linkText||"",moduleId:i.moduleId||"",tagsKeyword:i.tagsKeyword??s?.tagsKeyword,...n,physicalCountry:n.physicalCountry||"",physicalState:n.physicalState||"",wlocCity:n.wlocCity||"",wlocCountry:n.wlocCountry||"",wlocState:n.wlocState||"",regime:n.regime||""};if(!(0,t.canLogEvent)())return void console.warn("MParticle is not loaded");try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,a);try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,a)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[s?.createdDate,s?.contentId,s?.publishDate,s?.author,s?.collection,s?.entitlements,s?.provider,n])}],123590);var n=e.i(546446),s=e.i(540768),o=e.i(682142),r=e.i(782937),c=e.i(695881),d=e.i(333350),u=e.i(64412),p=e.i(950771),m=e.i(537989),g=e.i(695203),h=e.i(604323),f=e.i(358273),x=e.i(158662),v=e.i(777638),w=e.i(727365),y=e.i(896363),b=e.i(924776),C=e.i(409628),k=e.i(605781),A=e.i(289681);let S=(0,c.createLogger)("useTrackContentLinkClick"),j=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),I=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]);e.s(["useTrackContentLinkClick",0,()=>{let e=(0,n.useAtomValue)(m.pageIdAtom),t=(0,n.useAtomValue)(p.pageLocaleAtom),i=(0,n.useAtomValue)(g.deviceClassAtom),a=(0,n.useAtomValue)(h.metricsArticleDataAtom),c=(0,n.useAtomValue)(x.experimentJoinListAtom),{location:P}=(0,u.useLocation)(),D=(0,b.useIsHightouchReady)(),L=(0,l.useCallback)(l=>{let n=(0,o.getCICookie)(),d=n?.["TWC-GeoIP-Country"]??(0,s.getCookie)("twc-location-country"),u=n?.["TWC-GeoIP-Region"]??(0,s.getCookie)("twc-location-region"),p=n?.["TWC-Privacy"]??(0,s.getCookie)("twc-privacy"),m=window.DprSdk?.getGdprConsentOptInsString()??"",g=window.DprSdk?.getCcpaSaleOptInString()??"",h=window.navigator?.globalPrivacyControl??!1,x=m?.includes("functional-technology")??!1,b=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,k=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,S=(0,A.getConsentAuthorization)("sale-of-data"),D=(0,A.getConsentAuthorization)("sensitive-data"),L=navigator?.cookieEnabled??!1,T=(0,s.getCookie)("partner")||"",R=(0,r.getPartnerByPattern)(T)??T,N=(0,f.getMetricsSession)(),_=N?.sessionId||"",E=new Date(N?.sessionStartTime||0).toISOString(),M=new Date,U=M.getHours(),B=C.WEEK_DAYS[M.getDay()]??"",F=(0,w.normalizeWlocType)(P?.type),H=P?.featureSource??null;return{linkType:l.linkType,linkURL:l.linkURL,linkText:l.linkText||"",moduleId:l.moduleId||"",pageId:e??"",schemaVersion:"nextgen",author:a?.author||"",contentId:a?.contentId??null,createdDate:a?.createdDate??null,publishDate:a?.publishDate??null,collection:a?.collection??null,entitlements:a?.entitlements??null,nodeTypes:a?.nodeType??null,pageTemplate:a?.pageTemplate??null,premiumContent:a?.premiumContent!=null?String(a.premiumContent):null,provider:a?.provider??null,tagsGeo:a?.tagsGeo??null,tagsKeyword:l.tagsKeyword??a?.tagsKeyword??null,tagsStorm:a?.tagsStorm??null,title:a?.title??null,seoTitle:a?.seoTitle??null,referrer:document.referrer,locale:t,deviceClass:i,partner:R,sessionId:_,sessionStartTime:E,siteMode:"normal",dayOfWeek:B,hourOfDay:U,regime:p??"",cookiesEnabled:L,gpcSignalOptOut:h,functionalTechnologies:x,geographicallyRelevantAds:b,interestBasedAds:k,priv:m,privProducts:g,saleOfData:S??void 0,saleOfDataAuthorization:S,sensitiveDataAuthorization:D,campaign:(0,v.getCampaign)(),linkReferral:(0,v.getLinkReferral)()??void 0,experimentJoinList:c,weatherMode:"normal",physicalCountry:d??"",physicalState:u??"",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!=H&&I.has(H)?H:void 0,wlocTags:P?.tags?.length?(0,y.parseArrayToString)(P.tags):null,wlocType:null!==F&&j.has(F)?F:void 0,samsungVersion:(0,v.getSamsungVersion)(),appVersion:"0404f88080af60073c643d025e42bd9b3fcc20b4".slice(0,10)}},[e,t,i,a,c,P]);return(0,l.useCallback)(e=>{if(d.default){if(!D)return void S.warn('Hightouch: Event "content-link-click" skipped - SDK not ready');try{(0,k.trackContentLinkClick)(L(e)),S.info('Hightouch: Event "content-link-click" tracked')}catch(e){S.error('Hightouch: Event "content-link-click" failed',{error:e})}}},[D,L])}],333761)},97506,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getContentQueryMedia=n;let a=e.r(426606),l=e.r(16689);async function n({queryId:e,channel:t,territory:i,language:s="en-US",startIndex:o=0,limit:r,relatedSeed:c}){let d=new URLSearchParams({channel:t,language:s});i&&d.set("territory",i),c&&(d.set("seedId",c.id),d.set("seedCollection",c.collection)),o>0&&d.set("startIndex",String(o)),void 0!==r&&d.set("limit",String(r));let u=`https://${(0,l.getCmsBaseUrl)()}/api/payload/v1/media/query/${encodeURIComponent(e)}?${d.toString()}`,p=await (0,a.fetchJsonWithoutCredentials)(u);return Array.isArray(p)?p:[]}},645968,e=>{"use strict";var t=e.i(742436),i=e.i(495110),a=e.i(283366);e.s(["default",0,function(e,l){let n=(0,t.useExperimentContext)();(0,a.useExposure)(e);let s=(0,i.useIsHydratingRender)();return!n||s?l:n.variant(e,l)}])},956667,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:l,...n},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,...n,children:[a?(0,t.jsx)("desc",{id:l,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Video Player"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M7.265 5.978a.5.5 0 0 0-.765.424v3.196a.5.5 0 0 0 .765.424l2.557-1.598a.5.5 0 0 0 0-.848z"}),(0,t.jsx)("path",{d:"M14 3H2c-.552 0-1 .449-1 1v8c0 .551.448 1 1 1h12c.552 0 1-.449 1-1V4c0-.551-.448-1-1-1m0 8.5a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-7a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 .5.5z"})]})]})),n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:l,...e}));n.displayName="VideoPlayer",e.s(["VideoPlayer",0,n])},957174,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:l,...n},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,...n,children:[a?(0,t.jsx)("desc",{id:l,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Book"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M13 5H9.5v1H13zM13 7.5H9.5v1H13zM13 10H9.5v1H13zM6.5 5H3v1h3.5zM6.5 7.5H3v1h3.5zM6.5 10H3v1h3.5z"}),(0,t.jsx)("path",{d:"M14 2.5H2a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1m-12 1h5.5v9H2zm6.5 9v-9H14v9z"})]})]})),n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:l,...e}));n.displayName="Book",e.s(["Book",0,n])},129932,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:l,...n},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:s,"aria-labelledby":i,"aria-describedby":l,...n,children:[a?(0,t.jsx)("desc",{id:l,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Products"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M18 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M12 1.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5",clipRule:"evenodd"})]})),n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:l,...e}));n.displayName="SkincareBold",e.s(["SkincareBold",0,n])},800177,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:l,...n},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:s,"aria-labelledby":i,"aria-describedby":l,...n,children:[a?(0,t.jsx)("desc",{id:l,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Products"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9M18 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9M12 1.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9",clipRule:"evenodd"})]})),n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:l,...e}));n.displayName="SkincareBoldFilled",e.s(["SkincareBoldFilled",0,n])},677997,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:l,...n},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,...n,children:[a?(0,t.jsx)("desc",{id:l,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"})]})),n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:l,...e}));n.displayName="Lightning",e.s(["Lightning",0,n])},995113,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:l,...n},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,...n,children:[a?(0,t.jsx)("desc",{id:l,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",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"})]})),n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:l,...e}));n.displayName="LightningFilled",e.s(["LightningFilled",0,n])},219246,e=>{"use strict";let t=(0,e.i(981030).atom)(0);e.s(["fixedTopAdHeightAtom",0,t])},293733,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["radarFullscreenAtom",0,t])},429745,e=>{"use strict";var t=e.i(902875),i=e.i(62544),a=e.i(710746),l=e.i(632137);e.s(["InstallPromptSheet",0,({open:e,onOpenChange:n,title:s,headline:o,description:r,imageUrl:c,imageAlt:d="",imageContent:u,getAppHref:p,getAppLabel:m="Get the app",onGetAppClick:g,learnMoreHref:h,learnMoreLabel:f="Learn more",onLearnMoreClick:x,closeLabel:v="Close",onCloseClick:w,dismissLabel:y,onDismissClick:b})=>(0,t.jsx)(i.Dialog,{open:e,onOpenChange:n,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":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,t.jsx)(a.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:o}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[u||(c?(0,t.jsx)("div",{className:"relative h-40 w-full",children:(0,t.jsx)("img",{src:c,alt:d,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:o}),(0,t.jsx)("p",{className:"text-base font-medium text-[#676767]",children:r})]})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,t.jsx)("a",{href:p,onClick:g,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:m}),h&&(0,t.jsx)("a",{href:h,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}),!h&&y&&(0,t.jsx)(i.DialogClose,{onClick:b,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:y})]})]})})])},726812,16730,e=>{"use strict";let t="com.weather.Weather",i="id295646461",a="https://app.appsflyer.com",l="weather.com",n=`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,a,"APPSFLYER_PID",0,"WWW","APP_STORE_URL",0,n,"DEFAULT_ANDROID_ID",0,t,"DEFAULT_IPHONE_ID",0,i,"PLAY_STORE_URL",0,s],726812);var o=e.i(288906);e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:n,currentUrl:s,allowAppsFlyer:r,deepLinkValue:c}){if(!r||!n||null===e)return"";let d="android"===e?t:i,u=o.default.env.NEXT_PUBLIC_APPSFLYER_ONELINK_URL,p=u||`${a}/${d}`,m=encodeURIComponent(n.replace(/ /g,"_")),g=`${p}?pid=WWW&af_adset=${m}&c=${l}`;return c&&(g+=`&deep_link_value=${encodeURIComponent(c)}`),!u&&"ios"===e&&s&&(g+=`&af_ios_fallback=${encodeURIComponent(s)}`),g}],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 t=e.i(247865),i=e.i(726812),a=e.i(16730),l=e.i(881282),n=e.i(546446),s=e.i(402525),o=e.i(216809);e.s(["useAppInstallLink",0,function(e,r){let[c,d]=(0,t.useState)(null),[u,p]=(0,t.useState)(null),m=(0,n.useAtomValue)(s.smartScriptClickUrlAtom),g=(0,o.useAppsFlyerConsent)();(0,t.useEffect)(()=>{d((0,l.getPlatform)(navigator.userAgent)),p(window.location.href)},[]);let h=(0,a.getAppsFlyerLink)({platform:c,trackAdset:e,currentUrl:u,allowAppsFlyer:g,deepLinkValue:r}),f="android"===c?i.PLAY_STORE_URL:i.APP_STORE_URL,x=m?(0,s.withCtaAttribution)(m,{trackAdset:e,deepLinkValue:r}):"";return{href:(g&&null!==c?x||h:"")||f,platform:c}}])}]);