(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,406752,e=>{"use strict";var t=e.i(592121),i=e.i(295553),s=e.i(991511),a=e.i(546446),n=e.i(726249),o=e.i(935807),r=e.i(919101),c=e.i(527091),l=e.i(767685),u=e.i(310847),d=e.i(439766);e.s(["LocationBoundary",0,({locationPoint:e,canonicalLocation:m})=>{let g=(0,a.useAtomValue)(u.wxuUserRecentAddressesAtom),h=(0,a.useAtomValue)(u.wxuUserRecentLocationsDataAtom),[,f]=(0,a.useAtom)(i.pageLocationDataAtom),p=(0,a.useSetAtom)(d.activeLocationAtom),w=(0,t.useMemo)(()=>{let t,i;return m?(0,l.honorRecentLocationName)(m,h):(t=(0,r.getAddressForLocationData)(e.location,g),i=void 0,{displayName:t.displayName,adminDistrict:t.adminDistrict,geocode:(0,n.formatGeocode)(`${t.latitude},${t.longitude}`),placeId:t.placeId,featureId:t.featureId,city:t.city,countryCode:t.countryCode,adminDistrictCode:t.adminDistrictCode||"",presentationName:(0,o.getLocationPresentationName)(t,[],!1,i),name:(0,o.getLocationName)(t,[],!1,i),context:(0,o.getLocationContext)(t,[],!1,i),ianaTimeZone:(0,c.sanitizeIanaTimeZone)(t.ianaTimeZone),postalCode:t.postalCode,address:t.address||"",type:t.type,dmaCd:t.dmaCd||"",isDisputedLocation:t.disputedArea})},[m,e,g,h]);(0,s.useRehydrateAtoms)([[i.pageLocationDataAtom,w]]);let k=(0,t.useRef)(null);return(0,t.useEffect)(()=>{f(w);let e=w.placeId;k.current!==e&&(p({placeId:w.placeId,geocode:w.geocode,featureId:w.featureId}),k.current=e)},[w,f,p]),null}],406752)},253276,e=>{"use strict";var t=e.i(699173),i=e.i(592121);e.s(["default",0,function({candidate:e,failedMessage:s="Authentication failed. Please try again.",protectMessage:a="Remove your adblocker.",fetch:n,refresh:o,getCustomAccountInfo:r}){let[c,l]=(0,i.useState)(""),[u,d]=(0,i.useState)(!1),[m,g]=(0,i.useState)(!1),[h,f]=(0,i.useState)(!1),p=(0,i.useRef)([]);(0,i.useEffect)(()=>{e.id!==p.current[0]&&(p.current=[e.id],e.transactIDs&&p.current.push(...e.transactIDs))},[e.id,e.transactIDs]);let w=(0,i.useCallback)(()=>{try{n("/?adm_get_token=1").then(e=>{e.ok&&o()}).catch(()=>{l(s)})}catch{l(s)}},[n,s,o]),k=(0,i.useMemo)(()=>"u">typeof window?window:{admiral:{}},[]);return(0,i.useEffect)(()=>{typeof window>"u"||(k.admiral=k.admiral||function(...e){(k.admiral.q=k.admiral.q||[]).push(e)},k.admiral("after","measure.detected",function(t){if("abr"==e.requirement)t.adblocking?(l(a),d(!0)):f(!0);else if("account"==e.requirement||"benefits"==e.requirement){let t=!!r;k.admiral("after","visitor.latest",function(i){var s;if("account"===e.requirement)(t?r().registered:i.status.registered)||m||(l(a),d(!0));else if("benefits"===e.requirement){let i=[];if(t)i=r().benefits;else{let e=document.cookie.split(";");e&&(i=(null==(s=e.find(e=>e.startsWith("admbenefits=")))?void 0:s.split(","))??[])}if(i){let t=e.benefits??[];if(0==t.length)return void f(!0);let s=!1;for(let e of t)i.includes(e)&&(s=!0);s?f(!0):(l(a),d(!0))}else l(a),d(!0)}})}}))},[]),(0,i.useEffect)(()=>{h&&(f(!1),w())},[h,w]),(0,i.useEffect)(()=>{m||!u||(g(!0),k.admiral("targeting","force",{candidateIDs:p.current}))},[m,u,p,k]),(0,t.jsxs)("div",{children:[c||null," "]})}])},590238,e=>{"use strict";var t=e.i(537989),i=e.i(827049),s=e.i(695203),a=e.i(604323),n=e.i(797770),o=e.i(991511);e.s(["AnalyticsBoundary",0,e=>((0,o.useRehydrateAtoms)([[t.pageIdAtom,e.pageId],[i.pageLocaleAtom,e.pageLocale],[s.deviceClassAtom,e.deviceClass],[a.metricsArticleDataAtom,e.metricsArticleData],[n.adsMetricsUnitAndZoneAtom,e.adsMetricsUnitAndZone??"non_monetized"]]),null)])},1567,e=>{"use strict";var t=e.i(947118),i=e.i(737801),s=e.i(592121);e.s(["useTrackModuleViewed",0,()=>{let e="module-viewed",a=(0,t.useIsInitialized)(),n=(0,i.useEventAttributes)();return(0,s.useCallback)(({moduleId:t,modulePosition:i})=>{if(!a)return void console.warn("MParticle is not initialized");let s={module_id:t,module_position:i,...n};try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,s),console.debug(`MParticle: Event "${e}" tracked`,s)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[n,a])}])},855602,e=>{"use strict";var t=e.i(699173),i=e.i(592121),s=e.i(1567),a=e.i(333350);e.s(["ModuleAnalytics",0,({moduleId:e,modulePosition:n,moduleKey:o,variant:r="frontend",children:c})=>{let l=(0,i.useRef)(null),[u,d]=(0,i.useState)(!1),m=(0,i.useRef)(null),g=(0,s.useTrackModuleViewed)();return"admin"===r?(0,t.jsx)(t.Fragment,{children:c}):((0,i.useEffect)(()=>{if(u||!a.default||!l.current)return;let t=l.current,i=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting&&t.intersectionRatio>=1?m.current||(m.current=setTimeout(()=>{g({moduleId:e,modulePosition:n}),d(!0),m.current=null},2e3)):m.current&&(clearTimeout(m.current),m.current=null)})},{threshold:1});i.observe(t);let s=t.getBoundingClientRect(),o=window.innerHeight||document.documentElement.clientHeight,r=window.innerWidth||document.documentElement.clientWidth;return s.top>=0&&s.left>=0&&s.bottom{g({moduleId:e,modulePosition:n}),d(!0),m.current=null},2e3)),()=>{m.current&&clearTimeout(m.current),i.disconnect()}},[u,e,n,g]),(0,t.jsx)("div",{ref:l,className:"hide-empty","data-module-id":e,"data-module-key":o,"data-item-position":n,children:c}))}])},115284,e=>{"use strict";var t=e.i(699173),i=e.i(592121),s=e.i(185312),a=e.i(204782);let n=({pageTemplate:e,pageDashboard:n})=>{let o=(0,a.default)();return((0,i.useEffect)(()=>{o&&e&&(window._newsroom=window._newsroom||[],window._newsroom.push({pageTemplate:e}),n&&window._newsroom.push({pageDashboard:n}),window._newsroom.push("auditClicks"),window._newsroom.push("trackPage"))},[o,e,n]),o&&e)?(0,t.jsx)(s.default,{src:"//c2.taboola.com/nr/theweatherchannel/newsroom.js",strategy:"afterInteractive",id:"newsroom_loader_script"}):null};e.s(["Newsroom",0,n,"default",0,n])},703123,e=>{"use strict";let t=(0,e.i(981030).atom)({});e.s(["gsiEmailStatesAtom",0,t])},404893,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["googleLoginInitilizedAtom",0,t])},874905,e=>{"use strict";e.i(546584);var t=e.i(699173),i=e.i(592121),s=e.i(185312),a=e.i(546446),n=e.i(683903),o=e.i(671525),r=e.i(901351),c=e.i(310847),l=e.i(776169),u=e.i(422825),d=e.i(143851),m=e.i(703123),g=e.i(404893),h=e.i(367810),f=e.i(792461);e.s(["GoogleAuthScript",0,function({onLoad:e,prompt:p=!0,isUserLoggedIn:w}){let k=(0,n.useTranslations)("GoogleLogin"),v=(0,a.useSetAtom)(g.googleLoginInitilizedAtom),{loginWithGoogle:y,error:A,clearError:j}=function(){let e=(0,n.useTranslations)("GoogleLogin"),[t,s]=(0,i.useState)(null),g=(0,a.useSetAtom)(c.userHasLoggedInBeforeAtom),h=(0,a.useAtomValue)(m.gsiEmailStatesAtom),{updateEmailSubscriptions:f}=(0,u.useEmailPreferences)({skipStatus:!0}),{refresh:p}=(0,o.usePageNavigation)(),{syncPreferencesFromUpsx:w}=(0,l.usePreferences)(),{authSuccess:k,authRedirect:v}=(0,d.useUserLogin)();return{loginWithGoogle:(0,i.useCallback)(async t=>{let{credential:i}=t;s(null);try{let e=await r.upsxClient.auth.loginWithGoogle({google_id_token:i}),t=e?.isFirstLogin;await k({email:e.email,userID:e.userID,type:t?"signup":"login"},!1);let{newsletter:s,weekly:a,onYourRadar:n,marketing:o,alwaysSubscribe:c}=h||{};return(t||c)&&await f({newsletter:s,weekly:a,onYourRadar:n,marketing:o}).catch(e=>{console.error("Failed to update email subscriptions",e)}),v(),!0}catch(t){console.error("Failed to login with Google",t);try{let i=t?.data,a=i?.messageCode;if(!a)throw Error("No Error Message");switch(a){case 1e3:case 1026:case 1033:s({header:e("emailAlreadyUsedGoogleHeader"),body:e.raw("emailAlreadyUsedGoogleBody")});break;case 1027:case 1030:s({header:e("emailAlreadyRegisteredGoogleHeader"),body:e("emailAlreadyRegisteredGoogleBody")});break;default:throw Error("No Specific Error")}}catch(t){s({header:e("somethingWentWrong")})}return!1}},[g,w,p,k,v,f,h]),error:t,clearError:(0,i.useCallback)(()=>{s(null)},[])}}(),b=(0,f.useRefMemo)(y),_=(0,i.useRef)(null);A&&(_.current=A);let I=_.current;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.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=>{b.current?.(e)}}),v(!0)),e?.(),!w&&p&&t?.prompt()},id:"google-gsi-script"}),I&&(0,t.jsx)(h.Dialog,{open:!!A,onOpenChange:e=>!e&&j(),children:(0,t.jsx)(h.BasicDialog,{showCloseButton:!1,title:I.header||"",description:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:I.body||""}}),primaryAction:{label:k("cancel"),onClick:j}})})]})}],874905)},654075,e=>{"use strict";var t=e.i(699173);e.s(["TableAdminBlock",0,function(e){return(0,t.jsx)("div",{children:"Table"})}])},711899,e=>{e.v(t=>Promise.all(["static/chunks/3ulw-v-wqqzid.js"].map(t=>e.l(t))).then(()=>t(171714)))},460988,e=>{e.v(t=>Promise.all(["static/chunks/065vkvwffw_kh.js","static/chunks/3z-hm61whmv7z.js","static/chunks/0sgw10bv3m1wr.js","static/chunks/1g9rt823dw_nm.js","static/chunks/00cycl48jrw9g.js","static/chunks/2-916_ez485np.js","static/chunks/3ez2p7_irinam.js","static/chunks/0ddma8lx4gaku.js","static/chunks/2r4lgx7woy7mq.js","static/chunks/3u40opytfu3al.js","static/chunks/1u6m0razmb56c.js"].map(t=>e.l(t))).then(()=>t(636705)))},137688,e=>{e.v(t=>Promise.all(["static/chunks/2pz2-5xjnibsl.js"].map(t=>e.l(t))).then(()=>t(72990)))},467814,e=>{e.v(t=>Promise.all(["static/chunks/2erl34w6o_is1.css","static/chunks/2rwx-m1d-dcw-.js","static/chunks/00cycl48jrw9g.js","static/chunks/3z-hm61whmv7z.js","static/chunks/0sgw10bv3m1wr.js","static/chunks/1u6m0razmb56c.js","static/chunks/1g9rt823dw_nm.js","static/chunks/2-916_ez485np.js","static/chunks/0ddma8lx4gaku.js","static/chunks/3ryahola27ls6.js","static/chunks/3u40opytfu3al.js","static/chunks/38ag59k-4gk89.js","static/chunks/3ez2p7_irinam.js"].map(t=>e.l(t))).then(()=>t(469120)))}]);