(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,192066,e=>{e.v("/_next/static/media/SlideshowIcon.dec5e13d.png")},15819,e=>{e.v("/_next/static/media/morning-brief-logo.c6e2f5db.svg")},217817,e=>{e.v("/_next/static/media/ellipse.906fdd19.png")},438335,e=>{"use strict";var t=e.i(694914);e.s(["getPublicProductionURL",0,e=>{let i=t.default.env.VERCEL_TARGET_ENV_PRODUCTION_URL??"weather.com",r=t.default.env.VERCEL_PROJECT_PRODUCTION_URL??"wxnext.weather.com",o=`https://${i??r}`;return e?new URL(e,o).toString():o},"getPublicURL",0,e=>{let i,r=(t.default.env.VERCEL_TARGET_ENV??"production")?.toLowerCase(),o=t.default.env.VERCEL_BRANCH_URL??"wx-next-web-git-releasebranch-2026-02-13.vercel.weather.com",s=t.default.env.VERCEL_TARGET_ENV_URL??"weather.com",n="true"===t.default.env.NEXT_DEV_SERVER_INSECURE||"true"===t.default.env.NEXT_PUBLIC_NEXT_DEV_SERVER_INSECURE;switch(r){case"preview":i=`https://${o}`;break;case"development":i=n?`http://${s}`:`https://${s}`;break;default:i=`https://${s}`}return e?new URL(e,i).toString():i}])},245308,e=>{"use strict";var t=e.i(297647),i=e.i(477716),r=e.i(747961);let o=(0,i.forwardRef)(({title:e,titleId:i,desc:r,descId:o,...s},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":i,"aria-describedby":o,...s,children:[r?(0,t.jsx)("desc",{id:o,children:r}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"View"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M15.47 7.83A8.35 8.35 0 0 0 8 2.5 8.35 8.35 0 0 0 .53 7.83a.5.5 0 0 0 0 .34A8.35 8.35 0 0 0 8 13.5a8.35 8.35 0 0 0 7.47-5.33.5.5 0 0 0 0-.34M8 12.5c-2.65 0-5.45-1.965-6.465-4.5C2.55 5.465 5.35 3.5 8 3.5s5.45 1.965 6.465 4.5C13.45 10.535 10.65 12.5 8 12.5"}),(0,t.jsx)("path",{d:"M8 5a3 3 0 1 0 0 6 3 3 0 0 0 0-6m0 5a2 2 0 1 1 0-4 2 2 0 0 1 0 4"})]})]})),s=i.default.forwardRef((e,i)=>(0,t.jsx)(r.BaseIcon,{ref:i,icon:o,...e}));s.displayName="View",e.s(["View",0,s])},271818,e=>{"use strict";var t=e.i(477716);e.i(481938);var i=e.i(762073),r=e.i(297647),o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,o)=>{let s=(0,i.createSlot)(`Primitive.${o}`),n=t.forwardRef((e,t)=>{let{asChild:i,...n}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(i?s:o,{...n,ref:t})});return n.displayName=`Primitive.${o}`,{...e,[o]:n}},{});e.s(["Primitive",()=>o])},370220,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getEmailPreferencesStatusUrlConfig=function(){return{host:"weather.com",protocol:"https",pathname:"/api/v1/email-preferences/status"}},i.getEmailPreferencesSetUrlConfig=function(){return{host:"weather.com",protocol:"https",pathname:"/api/v1/email-preferences/set"}},i.getEmailPreferencesChangeEmailUrlConfig=function(){return{host:"weather.com",protocol:"https",pathname:"/api/v1/email-preferences/change-email"}}},454307,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.setEmailPreferences=n,i.updateSubscription=a;let r=e.r(678651),o=e.r(414655),s=e.r(370220);async function n(e){let t=(0,s.getEmailPreferencesSetUrlConfig)(),i=(0,r.urlFrom)(t),n=JSON.stringify(function(e){let{subscriptions:t,email:i,mParticleId:r}=e,o={};return t&&(o.subscriptions=t),i&&(o.email=i),r&&(o.mParticleId=r),o}(e)),a=await fetch(i,{method:"PUT",credentials:"include",headers:{"Content-Type":"application/json"},body:n});return 200===a.status||400===a.status?await a.json():(0,o.handleFetchResponse)(a)}async function a(e,t,i){return n({subscriptions:[{subscriptionGroupName:e,isSubscribed:t,...i&&{attributes:i}}]})}},451086,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getEmailPreferencesStatus=n;let r=e.r(678651),o=e.r(414655),s=e.r(370220);async function n(){let e=(0,s.getEmailPreferencesStatusUrlConfig)(),t=(0,r.urlFrom)(e),i=await fetch(t,{method:"GET",credentials:"include",headers:{"Content-Type":"application/json"},next:{revalidate:60}});return(0,o.handleFetchResponse)(i)}},952582,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.DEFAULT_SUBSCRIPTIONS=i.MARKETING_EMAILS_GROUP=i.DAILY_NEWSLETTERS_GROUP=void 0,i.DAILY_NEWSLETTERS_GROUP="daily-newsletters-1",i.MARKETING_EMAILS_GROUP="marketing-emails-1",i.DEFAULT_SUBSCRIPTIONS=[{subscriptionGroupName:i.DAILY_NEWSLETTERS_GROUP,subscriptionGroupId:"",isSubscribed:!1,attributes:{location:""}},{subscriptionGroupName:i.MARKETING_EMAILS_GROUP,subscriptionGroupId:"",isSubscribed:!1}]},422825,e=>{"use strict";var t=e.i(475566),i=e.i(381477),r=e.i(454307),o=e.i(451086);let s=(0,e.i(233601).atomWithStorage)("emailPreferences",null,void 0,{getOnInit:!0});var n=e.i(528600),a=e.i(952582),l=e.i(477716);function c(e,t){let i=t?.length?t:a.DEFAULT_SUBSCRIPTIONS,r={};return e?(i?.forEach(e=>{r[e.subscriptionGroupName]=e}),e.forEach(e=>{r[e.subscriptionGroupName]=e}),Object.values(r)):i}e.s(["useEmailPreferences",0,()=>{let[e,a]=(0,t.useAtom)(s),{user:u}=(0,n.useUser)(),d=u?.userID||null,m=u?.isUserLoggedIn||!1,p=(0,l.useCallback)(t=>{d&&a({userId:d,expiry:Date.now()+9e5,subscriptions:c(t,e?.subscriptions)})},[d,a,e?.subscriptions]),g=e&&e.userId===d&&e.expiry&&e.expiry>Date.now();(0,i.default)(d&&m&&!g?`getEmailPreferencesStatus/${d}`:void 0,()=>(0,o.getEmailPreferencesStatus)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,refreshInterval:0,errorRetryCount:2,onSuccess:e=>{d&&e&&p(e.subscriptions)}});let h=(0,l.useCallback)(async(t,i)=>{let o=await (0,r.setEmailPreferences)({subscriptions:t,email:m?void 0:i});return"success"===o.status&&p(c(t.map(e=>({...e,subscriptionGroupId:""})),e?.subscriptions)),o},[]);return{subscriptions:d&&e?e.subscriptions:null,updateSubscriptions:p,updateEmailPreference:h}}],422825)},506424,796424,e=>{"use strict";function t(e){if(!e)return"";let t=("number"==typeof e?new Date(e).toISOString():e instanceof Date?e.toISOString():e.replace(/GMT(?![+-])/,"GMT+0000")).replace(/\.\d+/,"").replace("Z","+0000").replace(/\s+/,"T").replace(/\s+/g,"").replace(/[A-Z]{3,}/,""),i=/([+-])(\d{2})(\d{2})$/;i.test(t)&&(t=t.replace(i,"$1$2:$3"));let r=t.replace(/(\d{4})-(\d{2})-(\d{2})/,"$1/$2/$3").replace("T"," ");return"Invalid Date"===new Date(r).toString()?"Invalid Date"!==new Date(t).toString()?t:"string"==typeof e?e:"":r}e.s(["getNormalizedDateString",()=>t],796424),e.s(["getCompatibleValues",0,({date:e,timeZone:i})=>({cDate:new Date(t(e)),cTimeZone:(e=>{try{return new Intl.DateTimeFormat("en-US",{timeZone:e}),e}catch{return"Etc/UTC"}})(i)})],506424)},289607,e=>{"use strict";var t=e.i(506424);let i=(e,i,r,o)=>{let{cDate:s,cTimeZone:n}=(0,t.getCompatibleValues)({date:e,locale:i,timeZone:r}),a=o??{year:"numeric",month:"2-digit",day:"2-digit",weekday:"short"};return a.timeZone=n,{cDate:s,cTimeZone:n,formatOptions:a}};e.s(["formatIntlDateParts",0,(e,t,r,o)=>{if(!e)return[];let{cDate:s,formatOptions:n}=i(e,t,r,o);return new Intl.DateTimeFormat(t,n).formatToParts(s)},"formatIntlDateString",0,(e,t,r,o)=>{if(!e)return"";let{cDate:s,formatOptions:n}=i(e,t,r,o);return new Intl.DateTimeFormat(t,n).format(s)}])},127667,e=>{"use strict";let t=(0,e.i(514514).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",()=>t],127667)},590238,e=>{"use strict";var t=e.i(537989),i=e.i(827049),r=e.i(695203),o=e.i(604323),s=e.i(991511);e.s(["AnalyticsBoundary",0,e=>((0,s.useRehydrateAtoms)([[t.pageIdAtom,e.pageId],[i.pageLocaleAtom,e.pageLocale],[r.deviceClassAtom,e.deviceClass],[o.metricsArticleDataAtom,e.metricsArticleData]]),null)])},143851,e=>{"use strict";var t=e.i(475566),i=e.i(186316),r=e.i(45846),o=e.i(310847),s=e.i(776169),n=e.i(671525),a=e.i(477716),l=e.i(947118),c=e.i(737801),u=e.i(521350);function d(){let e,d,m,p,g,h=(0,t.useSetAtom)(o.userHasLoggedInBeforeAtom),f=(0,t.useAtomValue)(o.wxuLoginRedirectPageAtom),b=(0,t.useAtomValue)(o.wxuUserAnonymousIdAtom),w=(0,i.useGetCookie)(),{syncPreferencesFromUpsx:S,updatePreferences:y}=(0,s.usePreferences)(),{navigate:I}=(0,n.default)(),{login:E}=(e=(0,l.useIsInitialized)(),d=(0,a.useCallback)(t=>{if(!e)return console.warn("MParticle is not initialized"),Promise.reject(Error("MParticle is not initialized"));let i={userIdentities:{customerid:t.customerid,email:t.email,other:t.other}};return window.mParticle?.Identity?.identify?.(i)},[e]),{identify:d,login:(0,a.useCallback)(t=>{if(!e)return console.warn("MParticle is not initialized"),Promise.reject(Error("MParticle is not initialized"));let i={userIdentities:{customerid:t.customerid,email:t.email,facebook:t.facebook,facebookcustomaudienceid:t.facebookcustomaudienceid,google:t.google,microsoft:t.microsoft,other:t.other,other2:t.other2,other3:t.other3,other4:t.other4,twitter:t.twitter,yahoo:t.yahoo}};return window.mParticle?.Identity?.login?.(i)},[e]),logout:(0,a.useCallback)(()=>e?window.mParticle?.Identity?.logout?.({userIdentities:{}}):(console.warn("MParticle is not initialized"),Promise.reject(Error("MParticle is not initialized"))),[e])}),v=(m=(0,l.useIsInitialized)(),p=(0,c.useEventAttributes)(),g=(0,a.useCallback)((e,t={})=>{let i={...p,...t};if(!m)return void console.warn("MParticle is not initialized");try{window.mParticle.logEvent(e,window.mParticle.EventType.Other,i),console.debug(`MParticle: Event "${e}" tracked`,i)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}return g},[p,m])),P=async()=>{try{if(w("premium"))return null;return await r.upsxClient.purchase.getPurchaseToken(),!0}catch(e){return console.error("Failed to get UPSX token:",e),!1}},T=()=>{I(f,{mpa:!0})},C=async(e,t=!0)=>{(0,u.isLocalStorageAvailable)()&&localStorage.setItem("PARTNERS_SYNC","true"),h(!0),await S()||await y({}),P(),e?.userID&&(E({email:e.email,customerid:e.userID,other:b}),v("login"===e.type?"user-loggedin":"signup-complete",{url:window.location.pathname})),t&&T()};return{login:async(e,t)=>{try{let i=await r.upsxClient.auth.login({email:e,password:t});return i&&await C({email:i.email,userID:i.userID,type:"login"}),!0}catch(e){return console.error("Failed to login",e),!1}},authSuccess:C,authRedirect:T}}e.s(["useUserLogin",()=>d],143851)},404893,e=>{"use strict";let t=(0,e.i(751931).atom)(!1);e.s(["googleLoginInitilizedAtom",0,t])},874905,e=>{"use strict";e.i(694914);var t=e.i(297647),i=e.i(241722),r=e.i(477716),o=e.i(475566),s=e.i(352194),n=e.i(671525),a=e.i(901351),l=e.i(310847),c=e.i(776169),u=e.i(143851),d=e.i(404893),m=e.i(367810);function p({onLoad:e,prompt:p=!0,isUserLoggedIn:g}){let h=(0,s.useTranslations)("GoogleLogin"),f=(0,o.useSetAtom)(d.googleLoginInitilizedAtom),{loginWithGoogle:b,error:w,clearError:S}=function(){let e=(0,s.useTranslations)("GoogleLogin"),[t,i]=(0,r.useState)(null),d=(0,o.useSetAtom)(l.userHasLoggedInBeforeAtom),{refresh:m}=(0,n.usePageNavigation)(),{syncPreferencesFromUpsx:p}=(0,c.usePreferences)(),{authSuccess:g}=(0,u.useUserLogin)();return{loginWithGoogle:(0,r.useCallback)(async t=>{let{credential:r}=t;i(null);try{let e=await a.upsxClient.auth.loginWithGoogle({google_id_token:r});return await g({email:e.email,userID:e.userID,type:e?.user?.isFirstLogin?"signup":"login"}),!0}catch(t){console.error("Failed to login with Google",t);try{let r=t?.data,o=r?.messageCode;if(!o)throw Error("No Error Message");switch(o){case 1e3:case 1026:case 1033:i({header:e("emailAlreadyUsedGoogleHeader"),body:e.raw("emailAlreadyUsedGoogleBody")});break;case 1027:case 1030:i({header:e("emailAlreadyRegisteredGoogleHeader"),body:e("emailAlreadyRegisteredGoogleBody")});break;default:throw Error("No Specific Error")}}catch(t){i({header:e("somethingWentWrong")})}return!1}},[d,p,m,g]),error:t,clearError:(0,r.useCallback)(()=>{i(null)},[])}}();return(0,t.jsxs)(t.Fragment,{children:[(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=>{b(e)}}),f(!0)),e?.(),!g&&p&&t?.prompt()},id:"google-gsi-script"}),(0,t.jsx)(m.Dialog,{open:!!w,onOpenChange:e=>!e&&S(),children:(0,t.jsx)(m.BasicDialog,{showCloseButton:!1,title:w?.header||"",description:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:w?.body||""}}),primaryAction:{label:h("cancel")}})})]})}e.s(["GoogleAuthScript",()=>p],874905)},668319,e=>{"use strict";var t=e.i(297647),i=e.i(241722);function r({heliosConfig:e}){let r=JSON.stringify(e);return(0,t.jsx)(i.default,{id:"helios-config",children:`window.__HeliosConfig = ${r}; window.__HeliosConfig.generalConfig.breakpoint.active = window.screen.width > 1024 ? 'lg' : window.screen.width >= 768 ? 'md' : 'sm'; window.__HeliosQ = window.__HeliosQ || []; window.__HeliosQ.push(function () { window.__Helios.emit('USER_PROFILE_READY'); });`})}e.s(["default",()=>r])},860557,e=>{"use strict";var t=e.i(903823),i=e.i(297647),r=e.i(241722),o=e.i(477716);e.i(694914);function s({heliosScriptUrl:e="https://s.w-x.co/helios/twc/1.75.1/helios.js"}){let s=function(){let[e,t]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{t(!0)},[]),e}();return e?s&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.default,{src:e}),...function(){let e=[];try{let i=t.Buffer.from("IShmdW5jdGlvbihyLF9uYW1lKXtyW19uYW1lXT1yW19uYW1lXXx8ZnVuY3Rpb24gdCgpeyh0LnE9dC5xfHxbXSkucHVzaChhcmd1bWVudHMpfSxyW19uYW1lXS52PXJbX25hbWVdLnZ8fDIscltfbmFtZV0ucz0iMyI7IShmdW5jdGlvbihyLHQsSCx6KXtmdW5jdGlvbiB4KEgseil7dHJ5e3g9ci5sb2NhbFN0b3JhZ2UsKEg9SlNPTi5wYXJzZSh4W2RlY29kZVVSSShkZWNvZGVVUkkoJyU2NyUyNTY1JTI1JTM3JTM0JTQ5JTI1NzQlNjUlMjU2ZCcpKV0oIl9hUVMwMk5UUXpSVVZET0VNNVJVRkJRall4TmtaRlJUbEZPVFl0TVEiKSkubGdrfHxbXSkmJih6PXJbdF0ucHViYWRzKCkpJiZILmZvckVhY2goKGZ1bmN0aW9uKHIpe3ImJnJbMF0mJnouc2V0VGFyZ2V0aW5nKHJbMF0sclsxXXx8IiIpfSkpfWNhdGNoKFEpe312YXIgeH10cnl7KHo9clt0XT1yW3RdfHx7fSkuY21kPXouY21kfHxbXSx0eXBlb2Ygei5wdWJhZHM9PT1IP3goKTp0eXBlb2Ygei5jbWQudW5zaGlmdD09PUg/ei5jbWQudW5zaGlmdCh4KTp6LmNtZC5wdXNoKHgpfWNhdGNoKFEpe319KSh3aW5kb3csJyUyNSUzNiUzNyUyNTZmJTI1NmYlMjU2JTM3bCUyNTY1dCUyNSUzNiUzMWcnLCJmdW5jdGlvbiIpOzt9KSh3aW5kb3csZGVjb2RlVVJJKGRlY29kZVVSSSgnJTYxZCU2ZCUyNSUzNiUzOSUyNSUzNyUzMmElMjUlMzZjJykpKTshKGZ1bmN0aW9uKHIsdCxILHope0g9ci5jcmVhdGVFbGVtZW50KHQpLHI9ci5nZXRFbGVtZW50c0J5VGFnTmFtZSh0KVswXSxILmFzeW5jPTEsSC5zcmM9Imh0dHBzOi8vbHV4Zm9ybXVsYS5jb20vY2h1bmtzL2JhNTEyM2YxY2MwZjIwYWYvYzI0MzJiYTcubWFpbi5qcyIsKHo9MCkmJnooSCksci5wYXJlbnROb2RlLmluc2VydEJlZm9yZShILHIpfSkoZG9jdW1lbnQsInNjcmlwdCIpOw==","base64").toString("utf-8");e.push({code:i})}catch(e){console.error(e)}return e.map((e,t)=>e.src?(0,i.jsx)(r.default,{src:e.src,async:!0},`helios-script-${t}`):(0,i.jsx)(r.default,{id:`helios-script-${t}`,children:e.code},`helios-script-${t}`))}()]}):null}e.s(["default",()=>s],860557)},152536,e=>{"use strict";var t=e.i(297647),i=e.i(475566),r=e.i(290449),o=e.i(340122);function s({containerIdPrefix:e="openweb-video-comments",spotId:s}){let n=(0,i.useAtomValue)(r.selectedVideoAtom),a=n?.mediaid;if(!a)return(0,t.jsx)("div",{className:"mt-8 border-t border-gray-200 pt-6",children:(0,t.jsx)("div",{className:"flex flex-col items-center justify-center p-8 text-center text-gray-500",children:(0,t.jsx)("p",{children:"Select a video to view comments"})})});let l=`${e}-${a}`;return(0,t.jsx)(o.default,{articleId:a,containerId:l,spotId:s,isVideoContext:!0},a)}e.s(["default",()=>s])},137688,e=>{e.v(t=>Promise.all(["static/chunks/775f6992a5490e4c.js"].map(t=>e.l(t))).then(()=>t(72990)))}]);