(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,192066,e=>{e.q("/_next/static/media/SlideshowIcon.0-tvdxex8athz.png")},15819,e=>{e.q("/_next/static/media/morning-brief-logo.0lhk2qbjlndqo.svg")},217817,e=>{e.q("/_next/static/media/ellipse.0wyy94odiz543.png")},32223,e=>{e.q("/_next/static/media/tree_particles.0k58772ax1j.8.png")},777507,e=>{e.q("/_next/static/media/grass_particles.064uz4vxk4jmr.png")},26411,e=>{e.q("/_next/static/media/ragweed_particles.0devq.hir6~3..png")},245308,e=>{"use strict";var t=e.i(862494),r=e.i(778235),i=e.i(747961);let n=(0,r.forwardRef)(({title:e,titleId:r,desc:i,descId:n,...a},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":r,"aria-describedby":n,...a,children:[i?(0,t.jsx)("desc",{id:n,children:i}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"View"}):e?(0,t.jsx)("title",{id:r,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"})]})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(i.BaseIcon,{ref:r,icon:n,...e}));a.displayName="View",e.s(["View",0,a])},558802,e=>{"use strict";var t=e.i(862494),r=e.i(778235),i=e.i(747961);let n=(0,r.forwardRef)(({title:e,titleId:r,desc:i,descId:n,...a},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":r,"aria-describedby":n,...a,children:[i?(0,t.jsx)("desc",{id:n,children:i}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Locked"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12 7h-1V4a3 3 0 0 0-6 0v3H4a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1M6 4a2 2 0 1 1 4 0v3H6zm6 10H4V8h8z"})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(i.BaseIcon,{ref:r,icon:n,...e}));a.displayName="Locked",e.s(["Locked",0,a])},899507,e=>{"use strict";e.s(["isNil",0,function(e){return null==e}])},449928,760430,355200,e=>{"use strict";e.s(["isPrimitive",0,function(e){return null==e||"object"!=typeof e&&"function"!=typeof e}],449928),e.s(["isTypedArray",0,function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}],760430),e.s(["isUnsafeProperty",0,function(e){return"__proto__"===e}],355200)},370220,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getEmailPreferencesStatusUrlConfig=function(){return{host:i,protocol:"https",pathname:"/api/v1/email-preferences/status"}},r.getEmailPreferencesSetUrlConfig=function(){return{host:i,protocol:"https",pathname:"/api/v1/email-preferences/set"}},r.getEmailPreferencesChangeEmailUrlConfig=function(){return{host:i,protocol:"https",pathname:"/api/v1/email-preferences/change-email"}};let i="weather.com"},454307,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.setEmailPreferences=l,r.updateSubscription=o;let i=e.r(678651),n=e.r(414655),a=e.r(370220);async function l(e){let t=(0,a.getEmailPreferencesSetUrlConfig)(),r=(0,i.urlFrom)(t),l=JSON.stringify(function(e){let{subscriptions:t,email:r,mParticleId:i}=e,n={};return t&&(n.subscriptions=t),r&&(n.email=r),i&&(n.mParticleId=i),n}(e)),o=await fetch(r,{method:"PUT",credentials:"include",headers:{"Content-Type":"application/json"},body:l});return 200===o.status||400===o.status?await o.json():(0,n.handleFetchResponse)(o)}async function o(e,t,r){return l({subscriptions:[{subscriptionGroupName:e,isSubscribed:t,...r&&{attributes:r}}]})}},451086,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getEmailPreferencesStatus=l;let i=e.r(678651),n=e.r(414655),a=e.r(370220);async function l(){let e=(0,a.getEmailPreferencesStatusUrlConfig)(),t=(0,i.urlFrom)(e),r=await fetch(t,{method:"GET",credentials:"include",headers:{"Content-Type":"application/json"},next:{revalidate:60}});return(0,n.handleFetchResponse)(r)}},952582,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.DEFAULT_SUBSCRIPTIONS=r.ON_YOUR_RADAR_GROUP=r.MARKETING_EMAILS_GROUP=r.WEEKLY_BRIEF_GROUP=r.DAILY_NEWSLETTERS_GROUP=void 0,r.DAILY_NEWSLETTERS_GROUP="daily-newsletters-1",r.WEEKLY_BRIEF_GROUP="weekly-brief",r.MARKETING_EMAILS_GROUP="marketing-emails-1",r.ON_YOUR_RADAR_GROUP="on-your-radar",r.DEFAULT_SUBSCRIPTIONS=[{subscriptionGroupName:r.DAILY_NEWSLETTERS_GROUP,subscriptionGroupId:"",isSubscribed:!1,attributes:{location:""}},{subscriptionGroupName:r.WEEKLY_BRIEF_GROUP,subscriptionGroupId:"",isSubscribed:!1},{subscriptionGroupName:r.MARKETING_EMAILS_GROUP,subscriptionGroupId:"",isSubscribed:!1},{subscriptionGroupName:r.ON_YOUR_RADAR_GROUP,subscriptionGroupId:"",isSubscribed:!1}]},422825,e=>{"use strict";var t=e.i(546446),r=e.i(381477),i=e.i(899507),n=e.i(449928),a=e.i(760430);function l(e){if((0,n.isPrimitive)(e))return e;if(Array.isArray(e)||(0,a.isTypedArray)(e)||e instanceof ArrayBuffer||"u">typeof SharedArrayBuffer&&e instanceof SharedArrayBuffer)return e.slice(0);let t=Object.getPrototypeOf(e),r=t.constructor;if(e instanceof Date||e instanceof Map||e instanceof Set)return new r(e);if(e instanceof RegExp){let t=new r(e);return t.lastIndex=e.lastIndex,t}if(e instanceof DataView)return new r(e.buffer.slice(0));if(e instanceof Error){let t=new r(e.message);return t.stack=e.stack,t.name=e.name,t.cause=e.cause,t}return"u">typeof File&&e instanceof File?new r([e],e.name,{type:e.type,lastModified:e.lastModified}):"object"==typeof e?Object.assign(Object.create(t),e):e}var o=e.i(355200);function s(e){if(!e||"object"!=typeof e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&"[object Object]"===Object.prototype.toString.call(e)}function c(e,t,r){let i=Object.keys(t);for(let n=0;n"boolean"==typeof e?{isSubscribed:e}:e;e.s(["useEmailPreferences",0,(e=!1)=>{let[n,a]=(0,t.useAtom)(p),{user:o}=(0,h.useUser)(),m=(0,w.useSubscriptionsEnabled)()||e,f=o?.userID||null,b=o?.isUserLoggedIn||!1,y=(0,g.useCallback)(e=>{if(f){var t;let r,i;a({userId:f,expiry:Date.now()+9e5,subscriptions:(t=n?.subscriptions,r=t?.length?t:v.DEFAULT_SUBSCRIPTIONS,i={},e?(r?.forEach(e=>{i[e.subscriptionGroupName]=e}),e.forEach(e=>{let t=i[e.subscriptionGroupName]||{};i[e.subscriptionGroupName]=c(l(t),e,function e(t,r){if(Array.isArray(r))if(Array.isArray(t))return c(l(t),r,e);else return c([],r,e);if(s(r))if(s(t))return c(l(t),r,e);else return c({},r,e)})}),Object.values(i)):r)})}},[f,a,n?.subscriptions]),S=n&&n.userId===f&&n.expiry&&n.expiry>Date.now(),C=m&&f&&b&&!S,{isLoading:I}=(0,r.default)(C?`getEmailPreferencesStatus/${f}`:void 0,()=>x(()=>(0,d.getEmailPreferencesStatus)()),{revalidateOnFocus:!1,revalidateOnReconnect:!1,refreshInterval:0,errorRetryCount:2,onSuccess:e=>{f&&e&&y(e.subscriptions)}}),j=(0,g.useCallback)(async(e,t)=>{if(!m)return{status:"error",error:"Subscription is not enabled!"};let r=b?void 0:t,i=await x(()=>(0,u.setEmailPreferences)({subscriptions:e,email:r}));return"success"===i.status&&y(e),i},[y,m,b,n?.subscriptions]),P=(0,g.useCallback)(async({newsletter:e,weekly:t,onYourRadar:r,marketing:n})=>{let a=[!(0,i.isNil)(e)&&{subscriptionGroupName:"daily-newsletters-1",...E(e)},!(0,i.isNil)(t)&&{subscriptionGroupName:"weekly-brief",...E(t)},!(0,i.isNil)(r)&&{subscriptionGroupName:"on-your-radar",...E(r)},!(0,i.isNil)(n)&&{subscriptionGroupName:"marketing-emails-1",...E(n)}].filter(Boolean);return await j(a)},[j]);return{emailSubscriptions:f&&n?n.subscriptions:null,updateEmailSubscriptions:P,updateEmailPreference:j,isLoadingPreferences:I}}],422825)},143851,e=>{"use strict";var t=e.i(546446),r=e.i(250261),i=e.i(45846),n=e.i(310847),a=e.i(776169),l=e.i(671525),o=e.i(778235),s=e.i(947118),c=e.i(491240),u=e.i(737801),d=e.i(521350),m=e.i(391174),f=e.i(358273);e.s(["useUserLogin",0,function(){let e,p,h,v,g,b=(0,t.useSetAtom)(n.userHasLoggedInBeforeAtom),w=(0,t.useAtomValue)(n.wxuLoginRedirectPageAtom),y=(0,t.useAtomValue)(n.wxuUserAnonymousIdAtom),x=(0,r.useGetCookie)(),{syncPreferencesFromUpsx:E,updatePreferences:S}=(0,a.usePreferences)(),{navigate:C}=(0,l.default)(),{login:I}=(e=(0,s.useIsInitialized)(),p=(0,o.useCallback)(t=>{if(!e)return console.warn("MParticle is not initialized"),Promise.reject(Error("MParticle is not initialized"));let r={userIdentities:{customerid:t.customerid,email:t.email,other:(0,c.truncateIdentityValue)(t.other)}};return window.mParticle?.Identity?.identify?.(r)},[e]),{identify:p,login:(0,o.useCallback)(t=>{if(!e)return console.warn("MParticle is not initialized"),Promise.reject(Error("MParticle is not initialized"));let r={userIdentities:{customerid:t.customerid,email:t.email,facebook:t.facebook,facebookcustomaudienceid:t.facebookcustomaudienceid,google:t.google,microsoft:t.microsoft,other:(0,c.truncateIdentityValue)(t.other),other2:(0,c.truncateIdentityValue)(t.other2),other3:(0,c.truncateIdentityValue)(t.other3),other4:(0,c.truncateIdentityValue)(t.other4),twitter:t.twitter,yahoo:t.yahoo}};return window.mParticle?.Identity?.login?.(r)},[e]),logout:(0,o.useCallback)(()=>e?window.mParticle?.Identity?.logout?.({userIdentities:{}}):(console.warn("MParticle is not initialized"),Promise.reject(Error("MParticle is not initialized"))),[e])}),j=(h=(0,s.useIsInitialized)(),v=(0,u.useEventAttributes)(),g=(0,o.useCallback)((e,t={})=>{let r={...v,...t};if(!h)return void console.warn("MParticle is not initialized");try{window.mParticle.logEvent(e,window.mParticle.EventType.Other,r),console.debug(`MParticle: Event "${e}" tracked`,r)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}return g},[v,h])),P=async()=>{try{if(x("premium"))return null;return await i.upsxClient.purchase.getPurchaseToken(),!0}catch(e){return console.error("Failed to get UPSX token:",e),!1}},R=()=>{(0,f.regenerateMetricsSession)();let e=new URLSearchParams(window.location.search).get("ref");C((e&&`https://${e}`)??w)},A=async(e,t=!0)=>{(0,m.invalidateUpsxCache)(),(0,d.isLocalStorageAvailable)()&&localStorage.setItem("PARTNERS_SYNC","true"),b(!0),await E()||await S({}),P(),e?.userID&&(I({email:e.email,customerid:e.userID,other:y}),j("login"===e.type?"user-loggedin":"signup-complete",{url:window.location.pathname})),t&&R()};return{login:async(e,t)=>{try{let r=await i.upsxClient.auth.login({email:e,password:t});return r&&await A({email:r.email,userID:r.userID,type:"login"}),!0}catch(e){return console.error("Failed to login",e),!1}},authSuccess:A,authRedirect:R}}],143851)},790010,e=>{"use strict";var t=e.i(245943),r=e.i(45846),i=e.i(143851);e.s(["useUserSignup",0,function(){let{authSuccess:e,authRedirect:n}=(0,i.useUserLogin)();return{signup:async(i,n=!0)=>{try{let t=await (i.password?r.upsxClient.auth.register({email:i.email,password:i.password,firstName:i.firstName}):r.upsxClient.auth.registerPasswordless({email:i.email,firstName:i.firstName}));return await e({email:t.email,userID:t.userID,type:"signup"},n),{success:!0,data:{email:t.email,userID:t.userID}}}catch(e){if(console.error("Failed to signup",e),e instanceof t.APIError){let t=e.data;return{success:!1,error:{code:e.code,...t}}}return{success:!1,error:{}}}},authRedirect:n}}])},873598,e=>{"use strict";e.s(["getCompatibleTimezone",0,e=>{try{return new Intl.DateTimeFormat("en-US",{timeZone:e}),e}catch{return"Etc/UTC"}}])},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,}/,""),r=/([+-])(\d{2})(\d{2})$/;r.test(t)&&(t=t.replace(r,"$1$2:$3"));let i=t.replace(/(\d{4})-(\d{2})-(\d{2})/,"$1/$2/$3").replace("T"," ");return"Invalid Date"===new Date(i).toString()?"Invalid Date"!==new Date(t).toString()?t:"string"==typeof e?e:"":i}e.s(["getNormalizedDateString",0,t],796424);var r=e.i(873598);e.s(["getCompatibleValues",0,({date:e,timeZone:i})=>({cDate:new Date(t(e)),cTimeZone:(0,r.getCompatibleTimezone)(i)})],506424)},289607,e=>{"use strict";var t=e.i(506424);let r=(e,r,i,n)=>{let{cDate:a,cTimeZone:l}=(0,t.getCompatibleValues)({date:e,locale:r,timeZone:i}),o=n??{year:"numeric",month:"2-digit",day:"2-digit",weekday:"short"};return o.timeZone=l,{cDate:a,cTimeZone:l,formatOptions:o}};e.s(["formatIntlDateParts",0,(e,t,i,n)=>{if(!e)return[];let{cDate:a,formatOptions:l}=r(e,t,i,n);return new Intl.DateTimeFormat(t,l).formatToParts(a)},"formatIntlDateString",0,(e,t,i,n)=>{if(!e)return"";let{cDate:a,formatOptions:l}=r(e,t,i,n);return new Intl.DateTimeFormat(t,l).format(a)}])},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",0,t],127667)},371954,203679,934322,e=>{"use strict";var t=e.i(778235);e.i(663749);var r=e.i(802661),i=e.i(862494),n=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let a=(0,r.createSlot)(`Primitive.${n}`),l=t.forwardRef((e,t)=>{let{asChild:r,...l}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(r?a:n,{...l,ref:t})});return l.displayName=`Primitive.${n}`,{...e,[n]:l}},{});e.s(["Primitive",0,n],371954);var a=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,a],203679);var l=t[" useId ".trim().toString()]||(()=>void 0),o=0;e.s(["useId",0,function(e){let[r,i]=t.useState(l());return a(()=>{e||i(e=>e??String(o++))},[e]),e||(r?`radix-${r}`:"")}],934322)},846871,e=>{"use strict";var t=e.i(862494),r=e.i(294237),i=e.i(632137);let n=(0,r.cva)("inline-block rounded-full border-solid animate-spin box-border",{variants:{size:{sm:"w-4 h-4 border-[2px]",md:"w-6 h-6 border-[2px]",lg:"w-8 h-8 border-[3px]"},variant:{white:"border-white border-b-transparent",primary:"border-brand-400 border-b-transparent",black:"border-[#252422] border-b-transparent"}},defaultVariants:{size:"sm",variant:"black"}});e.s(["Loader",0,({className:e,size:r,variant:a,label:l})=>(0,t.jsx)("div",{className:(0,i.cn)(n({size:r,variant:a}),e),"aria-label":l})])},546334,e=>{"use strict";var t=e.i(862494),r=e.i(778235),i=e.i(561762),n=e.i(381477),a=e.i(925209),l=e.i(564993),o=e.i(985542),s=e.i(612977),c=e.i(368847),u=e.i(877957),d=/[\\\/_+.#"@\[\(\{&]/,m=/[\\\/_+.#"@\[\(\{&]/g,f=/[\s-]/,p=/[\s-]/g;function h(e){return e.toLowerCase().replace(p," ")}var v=e.i(867013),g=e.i(371954),b=e.i(934322),w=e.i(723673),y='[cmdk-group=""]',x='[cmdk-group-items=""]',E='[cmdk-item=""]',S=`${E}:not([aria-disabled="true"])`,C="cmdk-item-select",I="data-value",j=(e,t,r)=>{var i;return i=e,function e(t,r,i,n,a,l,o){if(l===r.length)return a===t.length?1:.99;var s=`${a},${l}`;if(void 0!==o[s])return o[s];for(var c,u,h,v,g=n.charAt(l),b=i.indexOf(g,a),w=0;b>=0;)(c=e(t,r,i,n,b+1,l+1,o))>w&&(b===a?c*=1:d.test(t.charAt(b-1))?(c*=.8,(h=t.slice(a,b-1).match(m))&&a>0&&(c*=Math.pow(.999,h.length))):f.test(t.charAt(b-1))?(c*=.9,(v=t.slice(a,b-1).match(p))&&a>0&&(c*=Math.pow(.999,v.length))):(c*=.17,a>0&&(c*=Math.pow(.999,b-a))),t.charAt(b)!==r.charAt(l)&&(c*=.9999)),(c<.1>c&&(c=.1*u),c>w&&(w=c),b=i.indexOf(g,b+1);return o[s]=w,w}(i=r&&r.length>0?`${i+" "+r.join(" ")}`:i,t,h(i),h(t),0,0,{})},P=r.createContext(void 0),R=r.createContext(void 0),A=r.createContext(void 0),k=r.forwardRef((e,t)=>{let i=z(()=>{var t,r;return{search:"",value:null!=(r=null!=(t=e.value)?t:e.defaultValue)?r:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),n=z(()=>new Set),a=z(()=>new Map),l=z(()=>new Map),o=z(()=>new Set),s=U(e),{label:c,children:u,value:d,onValueChange:m,filter:f,shouldFilter:p,loop:h,disablePointerSelection:v=!1,vimBindings:w=!0,...A}=e,k=(0,b.useId)(),N=(0,b.useId)(),_=(0,b.useId)(),$=r.useRef(null),T=V();L(()=>{if(void 0!==d){let e=d.trim();i.current.value=e,O.emit()}},[d]),L(()=>{T(6,W)},[]);let O=r.useMemo(()=>({subscribe:e=>(o.current.add(e),()=>o.current.delete(e)),snapshot:()=>i.current,setState:(e,t,r)=>{var n,a,l,o;if(!Object.is(i.current[e],t)){if(i.current[e]=t,"search"===e)q(),B(),T(1,G);else if("value"===e){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let e=document.getElementById(_);e?e.focus():null==(n=document.getElementById(k))||n.focus()}if(T(7,()=>{var e;i.current.selectedItemId=null==(e=K())?void 0:e.id,O.emit()}),r||T(5,W),(null==(a=s.current)?void 0:a.value)!==void 0){null==(o=(l=s.current).onValueChange)||o.call(l,null!=t?t:"");return}}O.emit()}},emit:()=>{o.current.forEach(e=>e())}}),[]),M=r.useMemo(()=>({value:(e,t,r)=>{var n;t!==(null==(n=l.current.get(e))?void 0:n.value)&&(l.current.set(e,{value:t,keywords:r}),i.current.filtered.items.set(e,D(t,r)),T(2,()=>{B(),O.emit()}))},item:(e,t)=>(n.current.add(e),t&&(a.current.has(t)?a.current.get(t).add(e):a.current.set(t,new Set([e]))),T(3,()=>{q(),B(),i.current.value||G(),O.emit()}),()=>{l.current.delete(e),n.current.delete(e),i.current.filtered.items.delete(e);let t=K();T(4,()=>{q(),(null==t?void 0:t.getAttribute("id"))===e&&G(),O.emit()})}),group:e=>(a.current.has(e)||a.current.set(e,new Set),()=>{l.current.delete(e),a.current.delete(e)}),filter:()=>s.current.shouldFilter,label:c||e["aria-label"],getDisablePointerSelection:()=>s.current.disablePointerSelection,listId:k,inputId:_,labelId:N,listInnerRef:$}),[]);function D(e,t){var r,n;let a=null!=(n=null==(r=s.current)?void 0:r.filter)?n:j;return e?a(e,i.current.search,t):0}function B(){if(!i.current.search||!1===s.current.shouldFilter)return;let e=i.current.filtered.items,t=[];i.current.filtered.groups.forEach(r=>{let i=a.current.get(r),n=0;i.forEach(t=>{n=Math.max(e.get(t),n)}),t.push([r,n])});let r=$.current;Y().sort((t,r)=>{var i,n;let a=t.getAttribute("id"),l=r.getAttribute("id");return(null!=(i=e.get(l))?i:0)-(null!=(n=e.get(a))?n:0)}).forEach(e=>{let t=e.closest(x);t?t.appendChild(e.parentElement===t?e:e.closest(`${x} > *`)):r.appendChild(e.parentElement===r?e:e.closest(`${x} > *`))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{var t;let r=null==(t=$.current)?void 0:t.querySelector(`${y}[${I}="${encodeURIComponent(e[0])}"]`);null==r||r.parentElement.appendChild(r)})}function G(){let e=Y().find(e=>"true"!==e.getAttribute("aria-disabled")),t=null==e?void 0:e.getAttribute(I);O.setState("value",t||void 0)}function q(){var e,t,r,o;if(!i.current.search||!1===s.current.shouldFilter){i.current.filtered.count=n.current.size;return}i.current.filtered.groups=new Set;let c=0;for(let a of n.current){let n=D(null!=(t=null==(e=l.current.get(a))?void 0:e.value)?t:"",null!=(o=null==(r=l.current.get(a))?void 0:r.keywords)?o:[]);i.current.filtered.items.set(a,n),n>0&&c++}for(let[e,t]of a.current)for(let r of t)if(i.current.filtered.items.get(r)>0){i.current.filtered.groups.add(e);break}i.current.filtered.count=c}function W(){var e,t,r;let i=K();i&&((null==(e=i.parentElement)?void 0:e.firstChild)===i&&(null==(r=null==(t=i.closest(y))?void 0:t.querySelector('[cmdk-group-heading=""]'))||r.scrollIntoView({block:"nearest"})),i.scrollIntoView({block:"nearest"}))}function K(){var e;return null==(e=$.current)?void 0:e.querySelector(`${E}[aria-selected="true"]`)}function Y(){var e;return Array.from((null==(e=$.current)?void 0:e.querySelectorAll(S))||[])}function X(e){let t=Y()[e];t&&O.setState("value",t.getAttribute(I))}function Z(e){var t;let r=K(),i=Y(),n=i.findIndex(e=>e===r),a=i[n+e];null!=(t=s.current)&&t.loop&&(a=n+e0?function(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}(r,y):function(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}(r,y))?void 0:r.querySelector(S);i?O.setState("value",i.getAttribute(I)):Z(e)}let Q=()=>X(Y().length-1),ee=e=>{e.preventDefault(),e.metaKey?Q():e.altKey?J(1):Z(1)},et=e=>{e.preventDefault(),e.metaKey?X(0):e.altKey?J(-1):Z(-1)};return r.createElement(g.Primitive.div,{ref:t,tabIndex:-1,...A,"cmdk-root":"",onKeyDown:e=>{var t;null==(t=A.onKeyDown)||t.call(A,e);let r=e.nativeEvent.isComposing||229===e.keyCode;if(!(e.defaultPrevented||r))switch(e.key){case"n":case"j":w&&e.ctrlKey&&ee(e);break;case"ArrowDown":ee(e);break;case"p":case"k":w&&e.ctrlKey&&et(e);break;case"ArrowUp":et(e);break;case"Home":e.preventDefault(),X(0);break;case"End":e.preventDefault(),Q();break;case"Enter":{e.preventDefault();let t=K();if(t){let e=new Event(C);t.dispatchEvent(e)}}}}},r.createElement("label",{"cmdk-label":"",htmlFor:M.inputId,id:M.labelId,style:H},c),F(e,e=>r.createElement(R.Provider,{value:O},r.createElement(P.Provider,{value:M},e))))}),N=r.forwardRef((e,t)=>{var i,n;let a=(0,b.useId)(),l=r.useRef(null),o=r.useContext(A),s=r.useContext(P),c=U(e),u=null!=(n=null==(i=c.current)?void 0:i.forceMount)?n:null==o?void 0:o.forceMount;L(()=>{if(!u)return s.item(a,null==o?void 0:o.id)},[u]);let d=G(a,l,[e.value,e.children,l],e.keywords),m=r.useContext(R),f=B(e=>e.value&&e.value===d.current),p=B(e=>!!u||!1===s.filter()||!e.search||e.filtered.items.get(a)>0);function h(){var e,t;v(),null==(t=(e=c.current).onSelect)||t.call(e,d.current)}function v(){m.setState("value",d.current,!0)}if(r.useEffect(()=>{let t=l.current;if(!(!t||e.disabled))return t.addEventListener(C,h),()=>t.removeEventListener(C,h)},[p,e.onSelect,e.disabled]),!p)return null;let{disabled:y,value:x,onSelect:E,forceMount:S,keywords:I,...j}=e;return r.createElement(g.Primitive.div,{ref:(0,w.composeRefs)(l,t),...j,id:a,"cmdk-item":"",role:"option","aria-disabled":!!y,"aria-selected":!!f,"data-disabled":!!y,"data-selected":!!f,onPointerMove:y||s.getDisablePointerSelection()?void 0:v,onClick:y?void 0:h},e.children)}),_=r.forwardRef((e,t)=>{let{heading:i,children:n,forceMount:a,...l}=e,o=(0,b.useId)(),s=r.useRef(null),c=r.useRef(null),u=(0,b.useId)(),d=r.useContext(P),m=B(e=>!!a||!1===d.filter()||!e.search||e.filtered.groups.has(o));L(()=>d.group(o),[]),G(o,s,[e.value,e.heading,c]);let f=r.useMemo(()=>({id:o,forceMount:a}),[a]);return r.createElement(g.Primitive.div,{ref:(0,w.composeRefs)(s,t),...l,"cmdk-group":"",role:"presentation",hidden:!m||void 0},i&&r.createElement("div",{ref:c,"cmdk-group-heading":"","aria-hidden":!0,id:u},i),F(e,e=>r.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":i?u:void 0},r.createElement(A.Provider,{value:f},e))))}),$=r.forwardRef((e,t)=>{let{alwaysRender:i,...n}=e,a=r.useRef(null),l=B(e=>!e.search);return i||l?r.createElement(g.Primitive.div,{ref:(0,w.composeRefs)(a,t),...n,"cmdk-separator":"",role:"separator"}):null}),T=r.forwardRef((e,t)=>{let{onValueChange:i,...n}=e,a=null!=e.value,l=r.useContext(R),o=B(e=>e.search),s=B(e=>e.selectedItemId),c=r.useContext(P);return r.useEffect(()=>{null!=e.value&&l.setState("search",e.value)},[e.value]),r.createElement(g.Primitive.input,{ref:t,...n,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":c.listId,"aria-labelledby":c.labelId,"aria-activedescendant":s,id:c.inputId,type:"text",value:a?e.value:o,onChange:e=>{a||l.setState("search",e.target.value),null==i||i(e.target.value)}})}),O=r.forwardRef((e,t)=>{let{children:i,label:n="Suggestions",...a}=e,l=r.useRef(null),o=r.useRef(null),s=B(e=>e.selectedItemId),c=r.useContext(P);return r.useEffect(()=>{if(o.current&&l.current){let e=o.current,t=l.current,r,i=new ResizeObserver(()=>{r=requestAnimationFrame(()=>{let r=e.offsetHeight;t.style.setProperty("--cmdk-list-height",r.toFixed(1)+"px")})});return i.observe(e),()=>{cancelAnimationFrame(r),i.unobserve(e)}}},[]),r.createElement(g.Primitive.div,{ref:(0,w.composeRefs)(l,t),...a,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":s,"aria-label":n,id:c.listId},F(e,e=>r.createElement("div",{ref:(0,w.composeRefs)(o,c.listInnerRef),"cmdk-list-sizer":""},e)))}),M=r.forwardRef((e,t)=>{let{open:i,onOpenChange:n,overlayClassName:a,contentClassName:l,container:o,...s}=e;return r.createElement(v.Root,{open:i,onOpenChange:n},r.createElement(v.Portal,{container:o},r.createElement(v.Overlay,{"cmdk-overlay":"",className:a}),r.createElement(v.Content,{"aria-label":e.label,"cmdk-dialog":"",className:l},r.createElement(k,{ref:t,...s}))))}),D=Object.assign(k,{List:O,Item:N,Input:T,Group:_,Separator:$,Dialog:M,Empty:r.forwardRef((e,t)=>B(e=>0===e.filtered.count)?r.createElement(g.Primitive.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Loading:r.forwardRef((e,t)=>{let{progress:i,children:n,label:a="Loading...",...l}=e;return r.createElement(g.Primitive.div,{ref:t,...l,"cmdk-loading":"",role:"progressbar","aria-valuenow":i,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a},F(e,e=>r.createElement("div",{"aria-hidden":!0},e)))})});function U(e){let t=r.useRef(e);return L(()=>{t.current=e}),t}var L="u"e(t.snapshot());return r.useSyncExternalStore(t.subscribe,i,i)}function G(e,t,i,n=[]){let a=r.useRef(),l=r.useContext(P);return L(()=>{var r;let o=(()=>{var e;for(let t of i){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():a.current}})(),s=n.map(e=>e.trim());l.value(e,o,s),null==(r=t.current)||r.setAttribute(I,o),a.current=o}),a}var V=()=>{let[e,t]=r.useState(),i=z(()=>new Map);return L(()=>{i.current.forEach(e=>e()),i.current=new Map},[e]),(e,r)=>{i.current.set(e,r),t({})}};function F({asChild:e,children:t},i){let n;return e&&r.isValidElement(t)?r.cloneElement("function"==typeof(n=t.type)?n(t.props):"render"in n?n.render(t.props):t,{ref:t.ref},i(t.props.children)):i(t)}var H={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};let q=(0,e.i(514514).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);var W=e.i(632137);function K({className:e,...r}){return(0,t.jsx)(D,{"data-slot":"command",className:(0,W.cn)("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",e),...r})}function Y({className:e,...r}){return(0,t.jsxs)("div",{"data-slot":"command-input-wrapper",className:"flex h-9 items-center gap-2 border-b px-3",children:[(0,t.jsx)(q,{className:"size-4 shrink-0 opacity-50"}),(0,t.jsx)(D.Input,{"data-slot":"command-input",className:(0,W.cn)("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",e),...r})]})}function X({className:e,...r}){return(0,t.jsx)(D.List,{"data-slot":"command-list",className:(0,W.cn)("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",e),...r})}function Z({className:e,...r}){return(0,t.jsx)(D.Group,{"data-slot":"command-group",className:(0,W.cn)("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",e),...r})}function J({className:e,...r}){return(0,t.jsx)(D.Item,{"data-slot":"command-item",className:(0,W.cn)("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...r})}e.i(367810);var Q=e.i(809058);e.s(["LocationInput",0,function({location:e,onChangeLocation:d,label:m="Search for a location",placeholder:f="Search city or zip code",className:p,error:h,disabled:v=!1}){let g=(0,i.useParams)(),b=g?.locale,[w,y]=(0,r.useState)(!1),[x,E]=(0,r.useState)(""),S=(0,s.default)(x.trim(),300),C=e?`${e.city}, ${e.adminDistrictCode||e.adminDistrict||e.displayContext}`:null,{isLoading:I,data:j}=(0,n.default)(S?["location-search",S,b]:null,([,e,t])=>(0,o.getLocationsByQuery)(e,t));return(0,t.jsxs)("div",{className:"w-full min-w-0",children:[(0,t.jsxs)(Q.Popover,{open:w,onOpenChange:y,children:[(0,t.jsx)(Q.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(u.Button,{variant:"outline",role:"combobox",disabled:v,"aria-expanded":w,"aria-invalid":!!h,className:(0,W.cn)("flex w-full justify-start gap-2 bg-white px-3 text-left font-normal text-gray-900",p,!!e&&"border-black",h&&"border-alert-severe"),children:[I?(0,t.jsx)(l.LoaderCircle,{className:"size-4 shrink-0 animate-spin","aria-hidden":"true",title:""}):(0,t.jsx)(a.Location,{className:"size-4 shrink-0","aria-hidden":"true",title:""}),(0,t.jsx)("span",{className:"flex-1 truncate",children:C??m})]})}),(0,t.jsx)(Q.PopoverContent,{side:"bottom",align:"start",collisionPadding:8,className:"w-(--radix-popover-trigger-width) p-0",showArrow:!1,children:(0,t.jsxs)(K,{shouldFilter:!1,children:[(0,t.jsx)(Y,{placeholder:f,value:x,onValueChange:E}),(0,t.jsx)(X,{className:"max-h-[min(200px,46vh)] min-h-10",children:(0,t.jsx)(Z,{children:j?.map(e=>(0,t.jsx)(J,{value:e.locId,onSelect:()=>{d(e),y(!1)},children:e.address},e.locId))})})]})})]}),h&&(0,t.jsx)(c.Text,{variant:"Caption.S",color:"error",className:"mt-1",children:h})]})}],546334)},279887,e=>{"use strict";var t=e.i(947118),r=e.i(737801),i=e.i(778235);e.s(["useTrackEmailSubscription",0,()=>{let e="alert-subscription-changed",n=(0,t.useIsInitialized)(),a=(0,r.useEventAttributes)();return(0,i.useCallback)(({name:t,status:r})=>{let i={...a,name:t,status:r?"enabled":"disabled"};if(!n)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)}},[a,n])}])},695478,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.findSubscriptionGroup=void 0,r.getMorningBriefAttrs=function(e){return{location:e.placeId,latitude:e.latitude,longitude:e.longitude,dmaCode:e.dmaCd||null,adminDistrict:e.adminDistrict,adminDistrictCode:e.adminDistrictCode||null,postalCode:e.postalCode}},r.findSubscriptionGroup=(e,t,r)=>e&&Array.isArray(e)?e.find(e=>e.subscriptionGroupName===t)||r||null:r||null},979538,e=>{"use strict";let t=(0,e.i(695881).createLogger)("OpenWebSdkClient"),r=new class{baseUrl;constructor(){this.baseUrl="https://upsx.weather.com"}async getAccount(e){let r=e?.maxRetries||3,i=e?.delayMs||500,n=null;for(let e=1;esetTimeout(e,r));continue}throw n}let s=await o.json();return t.info(`getAccount - Account found (attempt ${e}/${r}):`,s),s}catch(a){if(t.error(`getAccount - Error (attempt ${e}/${r}):`,a),a instanceof TypeError&&a.message.includes("fetch"))return t.error(`getAccount - Network error, treating as no account (attempt ${e}/${r})`),null;if(n=a instanceof Error?a:Error(String(a)),esetTimeout(e,r));continue}throw n}if(n)throw n;return null}async getCodeB(e,r,i,n){let a=n?.maxRetries||2,l=n?.delayMs||500,o=null,s=e?e.split("?")[0]:"";if(!s)throw Error("Invalid codeA: codeA is required to complete the SSO process");for(let e=1;esetTimeout(e,r));continue}throw o}let m=await d.json();return t.info(`getCodeB - Success, codeB received (attempt ${e}/${a+1}):`,m.codeB?`codeB ${m.codeB}`:"missing"),m.codeB}catch(r){if(t.error(`getCodeB - Error (attempt ${e}/${a+1}):`,r),o=r instanceof Error?r:Error(String(r)),esetTimeout(e,r));continue}throw o}if(o)throw o;return""}};e.s(["openWebClient",0,r])},109339,470015,e=>{"use strict";var t=e.i(862494),r=e.i(778235),i=e.i(747961);let n=(0,r.forwardRef)(({title:e,titleId:r,desc:i,descId:n,...a},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor","aria-label":"The Weather Company - Home",viewBox:"0 0 432.96 399.36",ref:l,"aria-labelledby":r,"aria-describedby":n,...a,children:[i?(0,t.jsx)("desc",{id:n,children:i}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"The Weather Channel"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{d:"M152.48 347.3c0 4.02 2.48 6.71 5.9 6.71 2.51 0 5.01-1.3 7.01-3.52l.21-11.03h-.62c-9.31 0-12.5 1.74-12.5 7.84M165.2 144c0-3.81-.4-5.81-1.61-7.72-1.3-1.99-3.2-3.01-5.9-3.01-5.12 0-8.04 4.02-8.04 11.13v.19h15.54V144zm7.82 109.49c0 4.01 2.52 6.72 5.94 6.72 2.5 0 5.01-1.32 7.01-3.52l.21-11.03h-.6c-9.34.01-12.56 1.73-12.56 7.83m-34.34-17.25c0-3.81-.41-5.8-1.6-7.7-1.32-2.02-3.22-3.03-5.94-3.03-5.11 0-8 4.03-8 11.14v.19h15.53v-.6zM316 319.32c-5.1 0-8.01 4.02-8.01 11.15v.19h15.54v-.59c0-3.82-.39-5.83-1.59-7.72-1.32-2.02-3.22-3.03-5.94-3.03"}),(0,t.jsx)("path",{d:"M372.65 228.54c-1.33-.7-2.41-1.01-3.91-1.01-3.02 0-5.74 1.4-8.21 4.3v36.3h-13.46v-34.3c0-6.9-.8-12.13-1.9-15.02l12.02-3.24c1.21 2.11 1.9 4.44 2.12 7.32 1.92-2.59 5.09-5.4 7.63-6.51 1.1-.49 2.9-.81 4.38-.81 2.02 0 2.92.2 5.03 1.11zM360.2 363.13c-5.73 0-10.32-2.69-11.94-7.03-1.01-2.59-1.21-4.18-1.21-11.5v-38.29c0-6.72-.19-10.82-.69-15.45l13.73-3.11c.5 2.81.71 6.14.71 13.33v40c0 8.82.1 10.02.88 11.42.5.89 1.62 1.39 2.72 1.39.5 0 .79 0 1.49-.18l2.3 8.02c-2.29.9-5.08 1.4-7.99 1.4m-22.42-116.48h-29.67v.44c0 7.91 3.91 12.41 10.83 12.41 4.61 0 8.92-1.71 13.03-5.11l5.21 8.04c-5.91 4.8-12.12 7.1-19.34 7.1-14.73 0-24.25-10.43-24.25-26.55 0-9.24 1.89-15.35 6.4-20.35 4.22-4.72 9.33-6.92 16.14-6.92 5.92 0 11.53 1.99 14.85 5.4 4.7 4.83 6.81 11.76 6.81 22.47v3.07zm-.32 93.83H307.8v.41c0 7.9 3.92 12.42 10.83 12.42 4.62 0 8.91-1.72 13.02-5.12l5.23 8.04c-5.92 4.8-12.13 7.1-19.35 7.1-14.74 0-24.26-10.43-24.26-26.55 0-9.23 1.9-15.35 6.4-20.35 4.22-4.73 9.33-6.92 16.14-6.92 5.9 0 11.53 2.01 14.84 5.42 4.71 4.8 6.81 11.73 6.81 22.43zm-50.78-72.34h-13.13v-34.5c0-5.09-1.4-7.01-5.21-7.01-3.31 0-7.63 2.01-10.62 4.73v36.78h-13.63v-59.35c0-4.82-.4-9.61-1-11.73l13.73-3.21c.59 2.81.9 7.61.9 12.52v10.22c0 1.61-.2 3.72-.2 4.32 3.51-3.31 9.31-5.52 14.54-5.52 6.51 0 11.72 2.81 13.33 7.31.99 2.94 1.3 4.63 1.3 9.54v35.9zm-2.73 93.8h-13.23v-33.38c0-5.81-1.01-7.52-4.51-7.52-2.7 0-6.22 1.82-9.31 4.62v36.28h-13.45v-37.19c0-4.41-.6-8.61-1.79-12.04l11.95-3.4c1.18 2.1 1.88 4.31 1.88 6.41 2.01-1.38 3.72-2.6 5.91-3.81 2.73-1.39 6.23-2.19 9.22-2.19 5.71 0 10.73 2.99 12.32 7.42.74 1.9 1.02 4.11 1.02 7.31v37.49zm-57.3-92.61c-6.81 0-12.23-2.99-13.83-7.52-.8-2.23-.9-3.23-.9-7.92v-27.88h-5.11v-9.21h5.11c0-5 0-8.34.5-12.13l13.64-3.4c-.5 4.69-.8 10.32-.8 15.54h12.04l-3.42 9.21h-8.61v25.78c0 6.51 1.19 8.22 5.81 8.22 1.2 0 2.41-.32 4.81-1.01l1.7 8.01c-3.94 1.61-7.43 2.31-10.94 2.31m4.99 92.61H218.4v-33.38c0-5.81-1.01-7.52-4.51-7.52-2.7 0-6.19 1.82-9.32 4.62v36.28h-13.44v-37.19c0-4.41-.58-8.61-1.77-12.04l11.92-3.4c1.2 2.1 1.91 4.31 1.91 6.41 1.99-1.38 3.69-2.6 5.9-3.81 2.7-1.39 6.21-2.19 9.21-2.19 5.72 0 10.74 2.99 12.33 7.42.71 1.9 1.02 4.11 1.02 7.31v37.49zm-55.28-91.9c-11.45 0-17.65-5.83-17.65-16.06 0-12.03 8.31-17.63 24.63-17.63 1.01 0 1.92 0 3.01.09v-2.11c0-5.69-1.09-7.61-6-7.61-4.3 0-9.32 2.13-14.83 5.85l-5.72-9.65c2.72-1.71 4.71-2.71 8.34-4.19 5-2.12 9.32-3.01 14.02-3.01 8.61 0 14.54 3.21 16.55 8.91.69 2.1.99 3.7.89 9.22l-.29 17.26v.9c0 5.5.89 7.58 4.8 10.51l-7.11 8.22c-3.11-1.31-5.92-3.59-7.22-6.22-1 .98-2.11 2.01-3.11 2.71-2.51 1.8-6.11 2.81-10.31 2.81m.06 94.51c-3.1-1.31-5.92-3.61-7.21-6.23-1.01 1.02-2.11 2.01-3.11 2.72-2.51 1.81-6.11 2.8-10.33 2.8-11.43 0-17.65-5.82-17.65-16.02 0-12.04 8.33-17.67 24.67-17.67 1 0 1.91 0 3.01.1v-2.08c0-5.74-1.1-7.63-6.03-7.63-4.32 0-9.34 2.11-14.83 5.82l-5.73-9.64c2.72-1.7 4.73-2.69 8.34-4.19 5.02-2.12 9.32-3.01 14.05-3.01 8.59 0 14.52 3.19 16.51 8.93.72 2.1 1.03 3.72.92 9.21l-.29 17.26v.89c0 5.52.9 7.6 4.82 10.52zM108.4 242.98c0-9.24 1.9-15.35 6.41-20.35 4.22-4.72 9.33-6.92 16.15-6.92 5.91 0 11.54 1.99 14.84 5.4 4.72 4.83 6.83 11.76 6.83 22.47v3.08h-29.68v.44c0 7.91 3.92 12.41 10.82 12.41 4.62 0 8.91-1.71 13.03-5.11l5.22 8.04c-5.92 4.8-12.14 7.1-19.36 7.1-14.73-.01-24.26-10.44-24.26-26.56m20.64 118.96H115.9v-34.5c0-5.1-1.4-7-5.2-7-3.31 0-7.63 1.99-10.63 4.71v36.79H86.44V302.6c0-4.83-.41-9.62-1.01-11.74l13.75-3.2c.58 2.82.89 7.62.89 12.56v10.19c0 1.6-.2 3.72-.2 4.33 3.5-3.32 9.32-5.53 14.53-5.53 6.52 0 11.71 2.81 13.32 7.33 1.01 2.92 1.32 4.61 1.32 9.54zm-69.54 1.19c-9.63 0-17.05-3.09-22.76-9.61-5.62-6.31-8.43-14.73-8.43-24.96 0-8.72 1.52-15.64 4.7-21.65 5.44-10.12 15.46-16.14 26.69-16.14 6.91 0 13.82 2.21 17.64 5.52l-6.32 9.51c-3.51-2.6-7.22-3.9-11.12-3.9-4.72 0-9.33 2.29-11.83 6.01-2.7 4-3.91 9.83-3.91 17.94 0 9.52.79 14.83 2.89 18.65 2.81 5.12 7.42 7.81 13.44 7.81 4.1 0 7.82-1.19 11.93-4.49l6.42 8.81c-5.52 4.49-11.41 6.5-19.34 6.5M40.56 198.45l6 27.48c2.81 13.04 3.72 22.95 3.72 22.95.29-2.7 1.5-12.64 3.59-22.25l6.21-28.18h15.35l6.44 31.19c1.3 6.51 3 18.45 3 18.45.19-2.22 2.39-16.36 3.8-23.18l5.72-26.47h14.73l-16.83 70.27H76.94l-6.23-28.36c-2.1-9.32-3.11-18.34-3.29-20.24 0 0-1.2 9.82-3.34 20.05l-5.8 28.55H42.36l-16.65-70.27h14.85zm-14.34-92.24h50.22l-2.3 11.64H57.5v58.04H43.25v-58.04H26.22zm69.95-4.61c.59 2.81.9 7.62.9 12.53v10.23c0 1.58-.21 3.71-.21 4.31 3.51-3.31 9.32-5.53 14.53-5.53 6.52 0 11.73 2.8 13.35 7.32 1 2.9 1.3 4.61 1.3 9.53v35.89H112.9V141.4c0-5.11-1.4-7.01-5.23-7.01-3.31 0-7.61 1.99-10.61 4.71v36.79H83.44v-59.35c0-4.82-.41-9.61-1.02-11.73zm45.17 28.78c4.21-4.72 9.32-6.94 16.14-6.94 5.9 0 11.52 2.03 14.84 5.44 4.71 4.82 6.81 11.71 6.81 22.45v3.11h-29.66v.41c0 7.92 3.9 12.42 10.81 12.42 4.6 0 8.92-1.69 13.03-5.12l5.23 8.04c-5.93 4.79-12.15 7.1-19.35 7.1-14.75 0-24.27-10.43-24.27-26.54.01-9.26 1.9-15.37 6.42-20.37M.82.04v399.28h399.26V.04z"}),(0,t.jsx)("path",{d:"M316.33 225.51c-5.11 0-8.03 4.03-8.03 11.14v.19h15.55v-.6c0-3.81-.41-5.8-1.61-7.7-1.3-2.02-3.21-3.03-5.91-3.03m101.57-211h2.16c1.87 0 3.69-.1 3.69-2.32 0-1.91-1.65-2.13-3.08-2.13h-2.77zm-2.09-6.16h5.21c3.27 0 4.83 1.3 4.83 3.94 0 2.51-1.59 3.56-3.65 3.78l3.97 6.1h-2.25l-3.75-5.94h-2.26v5.94h-2.09V8.35zm4.51 17.03c5.4 0 9.72-4.38 9.72-10.11 0-5.72-4.32-10.11-9.72-10.11-5.43 0-9.72 4.39-9.72 10.11 0 5.73 4.28 10.11 9.72 10.11m0-21.93c6.42 0 11.82 5.08 11.82 11.82s-5.4 11.82-11.82 11.82c-6.45 0-11.82-5.08-11.82-11.82 0-6.73 5.37-11.82 11.82-11.82"})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(i.BaseIcon,{ref:r,icon:n,...e}));a.displayName="TWC",e.s(["SignInModal",0,function({isOpen:e,onClose:r}){return e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed inset-0 z-[60] bg-black/50"}),(0,t.jsx)("div",{className:"fixed inset-0 z-[70] flex items-center justify-center p-4",children:(0,t.jsxs)("div",{className:"relative w-full max-w-sm rounded-lg bg-white p-6 pt-7 shadow-lg",children:[(0,t.jsx)("button",{onClick:r,className:"absolute top-2 right-2 flex h-6 w-6 items-center justify-center rounded-full text-xl text-gray-400 hover:bg-gray-100 hover:text-gray-600","aria-label":"Close banner",children:"×"}),(0,t.jsx)("div",{className:"mt-4 mb-4 flex justify-center",children:(0,t.jsx)(a,{className:"h-10 w-auto text-blue-600"})}),(0,t.jsx)("h3",{className:"mb-4 text-center text-lg font-medium text-gray-900",children:"Sign in to join the conversation"}),(0,t.jsx)("button",{onClick:()=>{window.location.href="/login"},className:"w-full rounded-md bg-gray-900 px-4 py-2 text-sm font-medium text-white hover:bg-gray-800",children:"Sign in"})]})})]}):null}],109339);var l=e.i(877957),o=e.i(935331);e.s(["DisplayNameModal",0,function({isOpen:e,onClose:r,displayName:i,onDisplayNameChange:n,onSubmit:s,isSubmitting:c,error:u}){return e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed inset-0 z-[60] bg-black/50"}),(0,t.jsx)("div",{className:"fixed inset-0 z-[70] flex items-center justify-center p-4",children:(0,t.jsxs)("div",{className:"relative w-full max-w-sm rounded-lg bg-white p-6 shadow-xl",children:[(0,t.jsx)("button",{onClick:r,className:"absolute top-2 right-2 flex h-6 w-6 items-center justify-center rounded-full text-xl text-gray-400 hover:bg-gray-100 hover:text-gray-600","aria-label":"Close dialog",children:"×"}),(0,t.jsx)("div",{className:"mt-4 mb-4 flex justify-center",children:(0,t.jsx)(a,{className:"h-10 w-auto text-blue-600"})}),(0,t.jsx)("h2",{className:"mb-2 text-center text-xl font-semibold text-gray-900",children:"Create a display name"}),(0,t.jsx)("p",{className:"mb-6 text-left text-sm text-gray-600",children:"Your display name is the name others will see when you comment."}),(0,t.jsxs)("form",{onSubmit:s,className:"space-y-4",children:[u&&(0,t.jsx)("div",{className:"rounded-md bg-red-50 p-3 text-sm text-red-700",children:u}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("label",{htmlFor:"displayName",className:"block text-sm font-medium text-gray-700",children:"Display Name"}),(0,t.jsx)(o.Input,{id:"displayName",type:"text",value:i,onChange:e=>n(e.target.value),placeholder:"Enter your display name",required:!0,minLength:3,maxLength:30,className:"w-full"})]}),(0,t.jsx)(l.Button,{type:"submit",disabled:c||!i.trim(),className:"w-full bg-gray-900 text-white",size:"default",children:c?"Creating...":"Create"})]}),(0,t.jsxs)("p",{className:"mt-4 text-left text-xs text-gray-500",children:["Your email address is shared with OpenWeb, the commenting platform. By creating a display name, you agree to the OpenWeb"," ",(0,t.jsx)("a",{href:"https://www.openweb.com/legal-and-privacy/privacy/",target:"_blank",rel:"noopener noreferrer",className:"text-blue-500 underline hover:text-blue-600",children:"Privacy Policy"})," ","and"," ",(0,t.jsx)("a",{href:"https://www.openweb.com/legal-and-privacy/terms-of-use/",target:"_blank",rel:"noopener noreferrer",className:"text-blue-500 underline hover:text-blue-600",children:"Terms of Use"}),"."]})]})})]}):null}],470015)},438335,e=>{"use strict";var t=e.i(23084);let r=/^[a-z][a-z0-9+.-]*:\/\//i,i=/[?#]/,n=/\/{2,}/g,a=e=>{if(!e)return e;let t=e.match(r),a=t?t[0].length:0,l=e.slice(0,a),o=e.slice(a),s=o.search(i),c=-1===s?o:o.slice(0,s),u=-1===s?"":o.slice(s);return l+c.replace(n,"/")+u},l=/\/+$/;e.s(["getPublicProductionURL",0,e=>{let r=t.default.env.VERCEL_TARGET_ENV_PRODUCTION_URL??"weather.com",i=t.default.env.VERCEL_PROJECT_PRODUCTION_URL??"weather.com",n=`https://${r??i}`;return(n=n.replace(l,""),e)?a(new URL(e,n).toString()):n},"getPublicURL",0,e=>{let r,i=(t.default.env.VERCEL_TARGET_ENV??"production")?.toLowerCase(),n=t.default.env.VERCEL_BRANCH_URL??"wx-next-web-git-releasebranch2026-06-17.vercel.weather.com",o=t.default.env.VERCEL_TARGET_ENV_URL??"weather.com",s="true"===t.default.env.NEXT_DEV_SERVER_INSECURE||"true"===t.default.env.NEXT_PUBLIC_NEXT_DEV_SERVER_INSECURE;switch(i){case"preview":r=`https://${n}`;break;case"development":r=s?`http://${o}`:`https://${o}`;break;default:r=`https://${o}`}return(r=r.replace(l,""),e)?a(new URL(e,r).toString()):r}],438335)},482317,e=>{"use strict";let t=(0,e.i(514514).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],482317)},16838,e=>{"use strict";var t=e.i(862494),r=e.i(752496);e.s(["DebugCollector",0,function({enabled:e=!0,...i}){return e?(0,t.jsx)(r.DebugCollectorClient,{...i}):null}])}]);