(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,499746,e=>{"use strict";var t=e.i(902875),o=e.i(247865),i=e.i(546446),a=e.i(145651),r=e.i(249725),n=e.i(292980),l=e.i(663333);e.i(101346);var s=e.i(512134),u=e.i(64412),c=e.i(147732),d=e.i(381477),m=e.i(240058),f=e.i(316078),g=e.i(180193),p=e.i(368847),h=e.i(889951),w=e.i(726249),v=e.i(674885),x=e.i(617874),b=e.i(725287),I=e.i(325974),y=e.i(525936);let C=({isLoading:e,displayName:o,temperature:i,wxPhrase:a,iconCode:r})=>(0,t.jsxs)("div",{className:"default-hover-box-shadow box-border w-fit max-w-90 cursor-pointer rounded-2xl border border-[#0000001a] transition-[box-shadow,border] hover:border-transparent","aria-label":o?`${o} weather`:"Location weather",children:[(0,t.jsxs)("div",{className:"flex h-16 flex-col justify-center px-3 md:hidden",children:[(0,t.jsxs)("div",{className:"flex gap-1",children:[(0,t.jsx)(p.default,{isLoading:e,skeletonClassName:"h-5 w-28",className:"flex items-center leading-[1.4] font-bold",children:(0,t.jsx)("span",{className:"min-w-0 truncate",children:o})}),(0,t.jsx)(f.WxIcon,{isLoading:e,loadingIconClassName:"h-6 w-6 shrink-0",iconCode:r,className:"h-6 w-6 shrink-0","aria-hidden":"true",iconTheme:"lightBG"})]}),(0,t.jsxs)("div",{className:"flex text-sm",children:[(0,t.jsx)(p.default,{isLoading:e,skeletonClassName:"h-4 w-6 shrink-0",className:"shrink-0 text-sm leading-normal",color:"secondary",children:(0,t.jsx)(g.Temperature,{value:i})})," ",(e||a)&&(0,t.jsx)(p.default,{isLoading:e,skeletonClassName:"h-4 w-22",color:"secondary",className:"truncate text-sm leading-normal",children:a})]})]}),(0,t.jsxs)("div",{className:"hidden h-20 items-center px-3 pl-4 md:flex",children:[(0,t.jsxs)("div",{className:"mr-2 flex min-w-0 flex-1 flex-col gap-0.5",children:[(0,t.jsx)(p.default,{isLoading:e,skeletonClassName:"h-5 w-28",className:"flex items-center text-xl leading-normal font-bold",children:(0,t.jsx)("span",{className:"min-w-0 truncate",children:o})}),(e||a)&&(0,t.jsx)(p.default,{isLoading:e,skeletonClassName:"h-4 w-24",color:"secondary",className:"truncate text-sm leading-normal",children:a})]}),(0,t.jsx)(f.WxIcon,{isLoading:e,loadingIconClassName:"mr-1 h-12 w-12 shrink-0",iconCode:r,className:"mr-1 h-12 w-12 shrink-0","aria-hidden":"true",iconTheme:"lightBG"}),(0,t.jsx)(p.default,{isLoading:e,skeletonClassName:"h-8 w-12 shrink-0",className:"shrink-0 text-[40px] leading-none font-extrabold",children:(0,t.jsx)(g.Temperature,{value:i})})]})]}),j=()=>(0,t.jsx)(C,{isLoading:!0,iconCode:-1}),k=(0,o.memo)(({identifier:e})=>{let a=(0,b.useParams)(),n=a?.locale||"en-US",l=(0,i.useAtomValue)(v.userUnitPreferenceAtom),s=(0,x.unitsSystemByName)(l)?.code,u=(0,r.useRecordFeatureId)(),c=e.placeId?void 0:e.geocode,f=function(e,t){let{location:o,isLoading:i}=(0,I.useResolveCanonical)(e,t);return{location:o,isLoading:i}}(!e.location&&(e.featureId||e.placeId||e.geocode)?{featureId:e.featureId,placeId:e.placeId,geocode:e.geocode?(0,w.formatGeocode)(e.geocode):void 0}:null,{sourceGeocode:c}),g=e.location??f.location,p=!e.location&&f.isLoading;(0,o.useEffect)(()=>{g?.placeId&&u({placeId:g.placeId,geocode:g.geocode},g.featureId??null)},[g,u]);let{data:j,isLoading:k}=(0,d.default)(g&&["currentObservations",g.geocode,s,n],([e,t,o,i])=>(0,h.getCurrentObservations)({geocode:t,units:o,language:i}),{revalidateOnFocus:!1,dedupingInterval:6e4}),S=g?.placeId??e.placeId,{path:N,isGeolocationLoading:E}=(0,y.default)(S||"",{targetGeocode:g?.geocode??e.geocode,featureId:e.featureId??g?.featureId,canonicalID:g?.canonicalID}),A=p||k||!g||E,L=j?.temperature,_=j?.wxPhraseLong,R=j?.iconCode??-1,T=e.name||g?.name||g?.city||g?.displayName,P=(0,t.jsx)(C,{isLoading:A,displayName:T,temperature:L,wxPhrase:_,iconCode:R});return N?(0,t.jsx)(m.default,{href:N,className:"no-underline md:block md:w-full",children:P}):P},(e,t)=>{let o,i;return o=e.identifier,i=t.identifier,o.geocode===i.geocode&&o.placeId===i.placeId&&o.featureId===i.featureId&&o.name===i.name&&o.location===i.location});var S=e.i(523084),N=e.i(47524),E=e.i(632137);let A={left:S.ChevronLeft,right:N.ChevronRight},L=({buttonClassName:e,containerClassName:i,onClick:a,tabIndex:r,direction:n,...l})=>{let[s,u]=(0,o.useState)(!1),c=A[n];return(0,t.jsx)("div",{className:(0,E.cn)("absolute",i),children:(0,t.jsx)("button",{className:(0,E.cn)("group/scroll-button absolute flex h-11 w-11 transform-[translate(-50%,-50%)] cursor-pointer items-center justify-center rounded-full bg-black opacity-80 transition-[opacity,height,width] duration-75 ease-linear hover:h-12 hover:w-12 hover:opacity-100",s&&"!h-11 !w-11"),onClick:()=>{u(!0),setTimeout(()=>u(!1),75),a?.()},tabIndex:r,...l,children:(0,t.jsx)(c,{className:(0,E.cn)("text-white transition-[height,width] duration-75 group-hover/scroll-button:h-7 group-hover/scroll-button:w-7",s&&"!h-6 !w-6")})})})},_="relative -mt-2 -mb-4 overflow-hidden",R="scrollbar-hide flex gap-2 overflow-x-auto p-4 py-6",T=()=>(0,t.jsx)("div",{className:_,"data-testid":"forecast-module-placeholder","aria-hidden":"true",children:(0,t.jsx)("div",{className:R,children:(0,t.jsx)(j,{})})}),P=({locationIdentifiers:e,showScrollButtons:i})=>{let[a,r]=(0,o.useState)(!1),[n,l]=(0,o.useState)(!1),s=(0,o.useRef)(null),u=(0,o.useRef)(null),d=(0,o.useRef)(!1),m=(0,o.useCallback)(()=>{let e=s.current;if(!e||!i){r(!1),l(!1);return}let{scrollLeft:t,offsetWidth:o,scrollWidth:a}=e,n=Math.abs(t),u=n>0,c=n+o(0,c.debounce)(m,150),[m]);(0,o.useEffect)(()=>{let e=s.current;return e&&(d.current="rtl"===getComputedStyle(e).direction),m(),window.addEventListener("resize",f),()=>{null!==u.current&&cancelAnimationFrame(u.current),f.cancel(),window.removeEventListener("resize",f)}},[m,f]);let g=(0,o.useCallback)(()=>{null===u.current&&(u.current=requestAnimationFrame(()=>{m(),u.current=null}))},[m]),p=(0,o.useCallback)(()=>{s.current?.scrollBy({left:-200,behavior:"smooth"})},[]),h=(0,o.useCallback)(()=>{s.current?.scrollBy({left:200,behavior:"smooth"})},[]);return 0===e.length?null:(0,t.jsxs)("div",{className:_,children:[i&&(0,t.jsx)(L,{containerClassName:(0,E.cn)("absolute top-[50%] -left-14.5 transition-[left] md:-left-13.5",{"left-9.5 md:left-11":a}),onClick:p,tabIndex:a?0:-1,"aria-hidden":!a,"aria-label":"Scroll left",direction:"left"}),(0,t.jsx)("div",{className:R,role:"list","data-testid":"forecast-module",onScroll:g,ref:s,children:e.map((e,o)=>(0,t.jsx)("div",{role:"listitem",children:(0,t.jsx)(k,{identifier:e})},e.placeId??e.geocode??o))}),i&&(0,t.jsx)(L,{containerClassName:(0,E.cn)("absolute top-[50%] -right-14.5 transition-[right] md:-right-13.5",{"right-9.5 md:right-11":n}),onClick:h,tabIndex:n?0:-1,"aria-hidden":!n,"aria-label":"Scroll right",direction:"right"})]})},M=()=>{let{favoriteLocations:e,recentLocations:c}=(0,a.default)(),{resolveFeatureId:d}=(0,r.useLocationFeatureIds)(),{resolveDetails:m}=(0,n.useRecentLocationDetails)(),f=(0,i.useAtomValue)(l.deviceClassAtom),g=(0,s.useIsClient)(),{location:p,isLoading:h}=(0,u.useLocation)(),v=(0,o.useMemo)(()=>(function({favoriteLocations:e,recentLocations:t,resolveFeatureId:o,resolveDetails:i=()=>void 0}){let a=[],r=new Set,n=e=>{let t=[];if(e.featureId?t.push(`f:${e.featureId}`):(e.placeId&&t.push(`p:${e.placeId}`),e.geocode&&t.push(`g:${(0,w.formatGeocode)(e.geocode)}`)),0===t.length)return!0;let o=t.some(e=>r.has(e));for(let e of t)r.add(e);return!o};for(let t of e){if(a.length>=5)break;if(!t.coordinate)continue;let e=(0,w.formatGeocode)(t.coordinate),r=t.placeID??void 0,l=(r?i(r)?.featureId:void 0)??o({placeId:r,geocode:e});n({featureId:l,placeId:r,geocode:e})&&a.push({geocode:e,placeId:r,name:t.name??void 0,featureId:l})}for(let e of t){if(a.length>=5)break;let t=i(e),r=t?.featureId??o({placeId:e});n({featureId:r,placeId:e})&&a.push({placeId:e,name:t?.name,featureId:r})}return a})({favoriteLocations:e,recentLocations:c,resolveFeatureId:d,resolveDetails:m}),[e,c,d,m]),x=(0,o.useMemo)(()=>p?.placeId||p?.featureId?[{placeId:p.placeId||void 0,featureId:p.featureId,location:p}]:[],[p]);if(!g)return(0,t.jsx)(T,{});let b=v.length>0?v:x;return b.length>0?(0,t.jsx)(P,{locationIdentifiers:b,showScrollButtons:"mobile"!==f&&"tablet"!==f}):h?(0,t.jsx)(T,{}):null};e.s(["ForecastModule",0,M,"default",0,M],499746)},45089,e=>{"use strict";var t=e.i(902875),o=e.i(247865),i=e.i(645968),a=e.i(742436),r=e.i(949920),n=e.i(553329),l=e.i(901351),s=e.i(317298),u=e.i(528600);async function c(e,t){let{data:o,error:i}=await (0,n.tryCatch)(e?l.upsxClient.segmentation.getUserMetrics():l.upsxClient.segmentation.getAnonymousEndpointMetrics(t));if(i)return null;let a={promotesRadar:(0,s.hasRadarIntent)(o?.metrics)};return(0,s.writeNextSessionIntent)(a),a}let d="home-radar-next-session-intent",m="data-home-radar",f={layout:"default",variant:null,eligible:!1};function g(e){document.documentElement.setAttribute(m,e)}function p(){document.documentElement.removeAttribute(m)}function h(){let e=(0,o.useContext)(a.ExperimentContext),i=e?.isFetchComplete??!1,[r,n]=(0,o.useState)(!1),[l,u]=(0,o.useState)(!1),[c,m]=(0,o.useState)(null);(0,o.useEffect)(()=>{let e=window.__wxHomeRadar??f;return g(e.layout),n(e.eligible),"pending"===e.layout?u(!0):e.forced||m(e.variant),p},[]);let h=(0,o.useCallback)(e=>{window.__wxHomeRadar={...e,eligible:!0},g(e.layout);try{localStorage.setItem("wxu-home-radar-layout",JSON.stringify(e))}catch{}u(!1),m(e.variant)},[]);return(0,o.useEffect)(()=>{if(!l)return;let e=setTimeout(()=>{h({layout:"default",variant:null})},2e3);return()=>clearTimeout(e)},[l,h]),(0,o.useEffect)(()=>{var t,o,a;if(!l||!e||!i)return;let{key:r,value:n}=e.variant(d),u="control"===(o=t=r||n)||"v1"===o||"v2"===o?t:null;h({layout:u?(a=(0,s.readNextSessionIntent)()?.promotesRadar??!1,"v2"===u||"v1"===u&&a?"promoted":"default"):"default",variant:u})},[l,e,i,h]),(0,t.jsxs)(t.Fragment,{children:[r&&(0,t.jsx)(w,{}),c&&(0,t.jsx)(v,{})]})}function w(){return!function(){let{user:e}=(0,u.useUser)(),t=e.isUserLoggedIn?"upsx/segmentation/metrics/user":e.anonId?"upsx/segmentation/metrics/endpoint":null,{data:o}=(0,r.default)(t,()=>c(e.isUserLoggedIn,e.anonId),{shouldRetryOnError:!1})}(),null}function v(){return(0,i.default)(d),null}e.s(["HomeRadarResolver",0,h,"default",0,h],45089)},145473,e=>{"use strict";var t=e.i(902875),o=e.i(247865),i=e.i(533760),a=e.i(546446),r=e.i(581014),n=e.i(901351),l=e.i(422825),s=e.i(837879),u=e.i(725296),c=e.i(394481),d=e.i(576816),m=e.i(539353),f=e.i(553329),g=e.i(695881),p=e.i(143851),h=e.i(703123),w=e.i(61284);let v=(0,g.createLogger)("useGoogleLogin");var x=e.i(404893),b=e.i(62544),I=e.i(792461);e.s(["GoogleAuthScriptClient",0,function({onLoad:e,prompt:g=!0,isUserLoggedIn:y,redirectToCheckoutOnSignup:C,oneTapOnly:j=!1}){let k=(0,r.useTranslations)("GoogleLogin"),S=(0,a.useSetAtom)(x.googleLoginInitilizedAtom),{loginWithGoogle:N,error:E,clearError:A}=function(e=!1){let t=(0,r.useTranslations)("GoogleLogin"),[i,g]=(0,o.useState)(null),x=(0,a.useAtomValue)(h.gsiEmailStatesAtom),{updateEmailSubscriptions:b}=(0,l.useEmailPreferences)({skipStatus:!0}),{authSuccess:I,authRedirect:y}=(0,p.useUserLogin)(),C=(0,s.useSubscriptionsEnabled)(),j=(0,a.useAtomValue)(c.privacyRegimeAtom)??u.default.EXEMPT,k=C&&u.US_REGIMES.includes(j)&&j!==u.default.USA_CCPA,{newsletter:S,weekly:N}=x,E=k||x.onYourRadar,A=k||x.marketing,L=(0,d.useSignupComplete)({formVariant:"account page google",sensitiveDataAuthorization:!0,deviceTimeZone:"u">typeof Intl?Intl.DateTimeFormat().resolvedOptions().timeZone:void 0}),_=(0,m.useSignupComplete)({formVariant:"account page google",loginMethod:"Google",marketingOptedIn:!0===A}),R=(0,o.useCallback)(async t=>{let o=await n.upsxClient.auth.loginWithGoogle({google_id_token:t}),i=!!o.isFirstLogin;if(await I({email:o.email,userID:o.userID,type:i?"signup":"login"},!1,{skipSignupCompleteEvent:i}),!i)return y(),!0;let{error:a}=await (0,f.tryCatch)(L());return a&&v.warn("Failed to track signup-complete for Google signup",a),_(),await b({newsletter:S,weekly:N,onYourRadar:E,marketing:A}).catch(e=>{v.error("Failed to update email subscriptions",e)}),e&&C?y(w.PROMO_CHECKOUT_URL):y(),!0},[I,y,L,_,b,S,N,E,A,e,C]);return{loginWithGoogle:(0,o.useCallback)(async({credential:e})=>{g(null);let{data:o,error:i}=await (0,f.tryCatch)(R(e));if(o)return!0;v.error("Failed to login with Google",i);let{messageCode:a}=i?.data??{};switch(a){case 1e3:case 1026:case 1033:g({header:t("emailAlreadyUsedGoogleHeader"),body:t.raw("emailAlreadyUsedGoogleBody")});break;case 1027:case 1030:g({header:t("emailAlreadyRegisteredGoogleHeader"),body:t("emailAlreadyRegisteredGoogleBody")});break;default:g({header:t("somethingWentWrong")})}return!1},[R,t]),error:i,clearError:(0,o.useCallback)(()=>g(null),[])}}(C),L=(0,I.useRefMemo)(N),_=(0,o.useRef)(null);E&&(_.current=E);let R=_.current;return(0,t.jsxs)(t.Fragment,{children:[!(j&&y)&&(0,t.jsx)(i.default,{src:"https://accounts.google.com/gsi/client",onLoad:()=>{let t=window.google?.accounts?.id;t&&(t.initialize({client_id:"797231885346-rai9vgnvf4u38enai8bhginnnrh5uvch.apps.googleusercontent.com",context:"signin",ux_mode:"popup",use_fedcm_for_prompt:!0,callback:e=>{L.current?.(e)}}),S(!0)),e?.(),!y&&g&&t?.prompt()},id:"google-gsi-script",strategy:j?"lazyOnload":"afterInteractive"}),R&&(0,t.jsx)(b.Dialog,{open:!!E,onOpenChange:e=>!e&&A(),children:(0,t.jsx)(b.BasicDialog,{showCloseButton:!1,title:R.header||"",description:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:R.body||""}}),primaryAction:{label:k("cancel"),onClick:A}})})]})}],145473)},240279,e=>{"use strict";var t=e.i(902875),o=e.i(247865),i=e.i(730921),a=e.i(546446),r=e.i(429745),n=e.i(498076),l=e.i(269153),s=e.i(677691),u=e.i(949920),c=e.i(553329),d=e.i(695881),m=e.i(901351),f=e.i(528600);let g=(0,d.createLogger)("useWebToAppIntent");var p=e.i(598513),h=e.i(7150),w=e.i(521231);let v="wx-next/web-to-app-install-modal:shown-at",x="web-to-app-install-modal",b="both",I=(0,d.createLogger)("WebToAppInstallModal"),y=()=>{let e=(0,n.useIsMobile)(),d=(0,l.useIsSamsungPartner)(),y=(0,i.useLocale)(),[C,j]=(0,o.useState)(!1),[k,S]=(0,o.useState)(void 0),N=(0,o.useRef)(!1),E=(0,o.useRef)(!1),A=(0,o.useRef)(null),{href:L}=(0,s.useAppInstallLink)("web-to-app-install-modal","web-to-app-install-modal"),_=(0,p.useSendInteractionEvent)(),R=(0,a.useSetAtom)(h.pushlyPromptSuppressedAtom),T=e&&!d&&"en-US"===y;(0,o.useEffect)(()=>{S(!!T&&!function(){try{let e=localStorage.getItem(v);if(!e)return!1;return Date.now()-parseInt(e,10){var e;let o,i,{data:a,error:r}=await (0,c.tryCatch)(t.isUserLoggedIn?m.upsxClient.segmentation.getUserMetrics():m.upsxClient.segmentation.getAnonymousEndpointMetrics(t.anonId));return r?(g.warn("UPSx web-to-app lookup failed",{error:r}),!1):(e=a?.metrics,"number"==typeof(i="string"==typeof(o=e?.fpdprobwebtoapp)?Number(o):o)&&Number.isFinite(i)&&i>=.5)},{shouldRetryOnError:!1});return i}(!0===k);return((0,o.useEffect)(()=>{if(!k||!P||N.current)return;let e=setTimeout(()=>{N.current=!0;try{localStorage.setItem(v,Date.now().toString())}catch(e){I.warn("localStorage write failed, cooldown will not persist",{error:e})}j(!0),_({moduleId:x,interactionType:"shown",featureFocus:b})},5e3);return()=>clearTimeout(e)},[k,P,_]),(0,o.useEffect)(()=>{let e=void 0===k||k&&void 0===P;R(T&&(e||!0===k&&!0===P))},[T,k,P,R]),(0,o.useEffect)(()=>()=>R(!1),[R]),!0!==k)?null:(0,t.jsx)(r.InstallPromptSheet,{open:C,onOpenChange:e=>{e||E.current||_({moduleId:x,interactionType:"dismiss-click",interactionElement:A.current??"overlay-or-escape",featureFocus:b}),E.current=!1,A.current=null,j(e)},title:"",imageContent:(0,t.jsx)(w.default,{className:"size-12 text-[#003399]"}),headline:"The Weather Channel is better on the app",description:"Faster performance, severe notifications, and exclusive radar layers.",getAppHref:L,onGetAppClick:()=>{E.current=!0,_({moduleId:x,interactionType:"get-app-click",featureFocus:b}),j(!1)},dismissLabel:"Not now",onDismissClick:()=>{A.current="not-now"},onCloseClick:()=>{A.current="close-button"}})};e.s(["WebToAppInstallModal",0,y,"default",0,y],240279)},855602,e=>{"use strict";var t=e.i(902875),o=e.i(247865),i=e.i(1567),a=e.i(782552),r=e.i(551699);e.s(["ModuleAnalytics",0,({moduleId:e,modulePosition:n,moduleKey:l,variant:s="frontend",children:u})=>{let c=(0,i.useTrackModuleViewed)(),d=(0,a.useTrackModuleViewed)(),m="admin"===s,f=(0,o.useCallback)(()=>{c({moduleId:e,modulePosition:n}),d({moduleId:e,modulePosition:n})},[c,d,e,n]),g=(0,o.useRef)(null),[p,h]=(0,o.useState)([]),w=(0,o.useCallback)(()=>{let e=g.current?Array.from(g.current.children):[];h(t=>t.length===e.length&&t.every((t,o)=>t===e[o])?t:e)},[]);return((0,o.useEffect)(()=>{let e=g.current;if(!e||(w(),"u"t.disconnect()},[w,m]),(0,r.useFullVisibilityOnce)(f,{targets:p,disabled:m}),m)?(0,t.jsx)(t.Fragment,{children:u}):(0,t.jsx)("div",{ref:g,className:"hide-empty","data-module-id":e,"data-module-key":l,"data-item-position":n,children:u})}])},576816,703123,e=>{"use strict";var t=e.i(247865),o=e.i(293163),i=e.i(947118),a=e.i(737801);e.s(["useSignupComplete",0,(e={})=>{let r=(0,i.useIsInitialized)(),n=(0,a.useEventAttributes)(),[l,s]=(0,t.useState)(!1),u=(0,t.useRef)(!1),c=(0,t.useMemo)(()=>{let t={...n,formVariant:e.formVariant,sensitiveDataAuthorization:e.sensitiveDataAuthorization,deviceTimeZone:e.deviceTimeZone,sourcePage:e.sourcePage,sourceModule:e.sourceModule,sourceElement:e.sourceElement,sourcePosition:e.sourcePosition,mParticleGranted:e.mParticleGranted??!0};return void 0!==e.url&&(t.url=e.url),void 0===t.formVariant&&delete t.formVariant,void 0===t.sensitiveDataAuthorization&&delete t.sensitiveDataAuthorization,void 0===t.deviceTimeZone&&delete t.deviceTimeZone,void 0===t.sourcePage&&delete t.sourcePage,void 0===t.sourceModule&&delete t.sourceModule,void 0===t.sourceElement&&delete t.sourceElement,void 0===t.sourcePosition&&delete t.sourcePosition,t},[n,e.formVariant,e.url,e.sensitiveDataAuthorization,e.deviceTimeZone,e.sourcePage,e.sourceModule,e.sourceElement,e.sourcePosition,e.mParticleGranted]);return(0,t.useEffect)(()=>{(0,o.areObjectValuesDefined)(c)&&!l&&s(!0)},[c,l]),(0,t.useCallback)(async()=>{if((r||window.mParticle?.isInitialized?.())&&l&&!u.current)try{window.mParticle?.logEvent?.("signup-complete",window.mParticle?.EventType?.Other,c),u.current=!0,console.debug(`MParticle: Event "signup-complete" tracked - ${c.pageId}`)}catch(e){console.error('MParticle: Event "signup-complete" failed',e)}},[r,c,l])}],576816);let r=(0,e.i(981030).atom)({});e.s(["gsiEmailStatesAtom",0,r],703123)},853686,e=>{"use strict";var t=e.i(902875),o=e.i(333350),i=e.i(283366);let a=["cw12138"],r=["cw12648","cw13694","cw14216"];function n({flagKey:e,requireReachableFold:t=!0}){let a=o.default?function(e,t){let o=function(e){try{let t=window.localStorage.getItem(`amp-exp-$default_instance-${"client-a74nh7wdmymfO9eOcl5awe1cgB30BDRV".slice(-6)}`);if(!t)return;let o=JSON.parse(t);if(!l(o))return;let i=o[e];if(!l(i)||!i.expKey||!i.key&&!i.value)return;return i}catch{return}}(e);if(o&&(!t||function(e){let t=window.__HeliosConfig?.slotsConfig;if(!t)return!1;let o=!1,i=!1;for(let r of Object.values(t)){let t=r?.modules?.refresh?.bidMode;if("atf"!==t&&"btf"!==t)continue;o=!0;let n=l(e)?e[t]:void 0;if(void 0!==n){var a;l(n)&&"number"==typeof(a=n.interval)&&Number.isFinite(a)&&a>=1e4&&a(0,t.jsx)(n,{flagKey:e},e)),r.map(e=>(0,t.jsx)(n,{flagKey:e,requireReachableFold:!1},e))]})}],853686)},115284,e=>{"use strict";var t=e.i(902875),o=e.i(247865),i=e.i(533760),a=e.i(204782);let r=({pageTemplate:e,pageDashboard:r})=>{let n=(0,a.default)();return((0,o.useEffect)(()=>{n&&e&&(window._newsroom=window._newsroom||[],window._newsroom.push({pageTemplate:e}),r&&window._newsroom.push({pageDashboard:r}),window._newsroom.push("auditClicks"),window._newsroom.push("trackPage"))},[n,e,r]),n&&e)?(0,t.jsx)(i.default,{src:"//c2.taboola.com/nr/theweatherchannel/newsroom.js",strategy:"afterInteractive",id:"newsroom_loader_script"}):null};e.s(["Newsroom",0,r,"default",0,r])},404893,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["googleLoginInitilizedAtom",0,t])},61284,e=>{"use strict";e.s(["PROMO_CHECKOUT_URL",0,"/subscribe/checkout?products=e251f39b-afd7-4ad9-9c87-5e2a8ed63fbb&promoCode=5OFF&tpcc=mktg-5OFF-reg"])}]);