(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,1567,e=>{"use strict";var t=e.i(947118),r=e.i(737801),n=e.i(539922);e.s(["useTrackModuleViewed",0,()=>{let e="module-viewed",i=(0,t.useIsInitialized)(),o=(0,r.useEventAttributes)();return(0,n.useCallback)(({moduleId:t,modulePosition:r})=>{if(!i)return void console.warn("MParticle is not initialized");let n={module_id:t,module_position:r,...o};try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,n),console.debug(`MParticle: Event "${e}" tracked`,n)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[o,i])}])},670279,e=>{"use strict";var t=e.i(648198),r=e.i(539922),n=e.i(13155),i=e.i(204782);let o=({pageTemplate:e,pageDashboard:o})=>{let u=(0,i.default)();return((0,r.useEffect)(()=>{u&&e&&(window._newsroom=window._newsroom||[],window._newsroom.push({pageTemplate:e}),o&&window._newsroom.push({pageDashboard:o}),window._newsroom.push("auditClicks"),window._newsroom.push("trackPage"))},[u,e,o]),u&&e)?(0,t.jsx)(n.default,{src:"//c2.taboola.com/nr/theweatherchannel/newsroom.js",strategy:"beforeInteractive",id:"newsroom_loader_script"}):null};e.s(["Newsroom",0,o,"default",0,o])},855602,e=>{"use strict";var t=e.i(648198),r=e.i(539922),n=e.i(1567),i=e.i(333350);e.s(["ModuleAnalytics",0,({moduleId:e,modulePosition:o,moduleKey:u,variant:l="frontend",children:s})=>{let c=(0,r.useRef)(null),[d,a]=(0,r.useState)(!1),m=(0,r.useRef)(null),w=(0,n.useTrackModuleViewed)();return"admin"===l?(0,t.jsx)(t.Fragment,{children:s}):((0,r.useEffect)(()=>{if(d||!i.default||!c.current)return;let t=c.current,r=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting&&t.intersectionRatio>=1?m.current||(m.current=setTimeout(()=>{w({moduleId:e,modulePosition:o}),a(!0),m.current=null},2e3)):m.current&&(clearTimeout(m.current),m.current=null)})},{threshold:1});r.observe(t);let n=t.getBoundingClientRect(),u=window.innerHeight||document.documentElement.clientHeight,l=window.innerWidth||document.documentElement.clientWidth;return n.top>=0&&n.left>=0&&n.bottom{w({moduleId:e,modulePosition:o}),a(!0),m.current=null},2e3)),()=>{m.current&&clearTimeout(m.current),r.disconnect()}},[d,e,o,w]),(0,t.jsx)("div",{ref:c,className:"hide-empty","data-module-id":e,"data-module-key":u,"data-item-position":o,children:s}))}])},711899,e=>{e.v(t=>Promise.all(["static/chunks/0ypuq.ev5a56~.js"].map(t=>e.l(t))).then(()=>t(171714)))},137688,e=>{e.v(t=>Promise.all(["static/chunks/0vd2x9hh4402h.js"].map(t=>e.l(t))).then(()=>t(72990)))}]);