(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,192066,e=>{e.q("/_next/static/media/SlideshowIcon.38ukq3atqgza-.png")},15819,e=>{e.q("/_next/static/media/morning-brief-logo.1vsg6xjfl-m0f.svg")},217817,e=>{e.q("/_next/static/media/ellipse.2u_1umvdusv_0.png")},32223,e=>{e.q("/_next/static/media/tree_particles.1ritrbp0fqn-c.png")},777507,e=>{e.q("/_next/static/media/grass_particles.0jyl80h3s1apl.png")},26411,e=>{e.q("/_next/static/media/ragweed_particles.15i_zhe-3f9ug.png")},813272,e=>{"use strict";var t=e.i(206507);e.s(["getScrollMaskStyle",0,function(e,t,r="3rem",a="0px"){if(e&&t)return;let i=e?`linear-gradient(to right, black calc(100% - ${r}), transparent calc(100% - ${a}), transparent 100%)`:t?`linear-gradient(to right, transparent 0%, transparent ${a}, black ${r})`:`linear-gradient(to right, transparent 0%, transparent ${a}, black ${r}, black calc(100% - ${r}), transparent calc(100% - ${a}), transparent 100%)`;return{maskImage:i,WebkitMaskImage:i}},"useScrollable",0,function(e){let[r,a]=(0,t.useState)({atStart:!0,atEnd:!1}),i=(0,t.useCallback)(()=>{let t=e.current;if(!t)return;let r=t.scrollLeft=t.scrollWidth-t.clientWidth-4;a(e=>e.atStart===r&&e.atEnd===i?e:{atStart:r,atEnd:i})},[e]);(0,t.useEffect)(()=>{let t=e.current;if(!t)return;let r=new ResizeObserver(i);return r.observe(t),i(),()=>r.disconnect()},[e,i]);let l=(0,t.useCallback)(t=>{e.current?.scrollBy({left:t,behavior:"smooth"})},[e]);return{...r,scrollBy:l,onScroll:i}}])},267084,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getGlobalAirQualityUrlConfig=function({geocode:e,language:t,scale:r}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/globalAirQuality",query:{geocode:e,language:t,scale:r,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getHourlyAirQualityForecastUrlConfig=function({geocode:e,language:t,scale:r,duration:a}){return{host:"api.weather.com",protocol:"https",pathname:`/v3/wx/globalAirQuality/forecast/hourly/${a}`,query:{geocode:e,language:t,scale:r,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getKoreaAirQualityUrlConfig=function({placeId:e,language:t}){return{host:"api.weather.com",protocol:"https",pathname:"/v2/globalairquality",query:{placeid:e,language:t,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}},980108,(e,t,r)=>{"use strict";var a,i,l,n,o,s,c,d;Object.defineProperty(r,"__esModule",{value:!0}),r.PollutantType=r.AirQualityCategory=r.AirQualityForecastDuration=r.AirQualityScale=void 0,(o=a||(r.AirQualityScale=a={})).EPA="EPA",o.HJ6332012="HJ6332012",o.ATMO="ATMO",o.UBA="UBA",o.DAQI="DAQI",o.NAQI="NAQI",o.IMECA="IMECA",o.CAQI="CAQI",o.CAI="CAI",(s=i||(r.AirQualityForecastDuration=i={})).TWELVE_HOUR="12hour",s.TWENTY_FOUR_HOUR="24hour",s.FORTY_EIGHT_HOUR="48hour",s.SEVENTY_TWO_HOUR="72hour",(c=l||(r.AirQualityCategory=l={})).GOOD="Good",c.MODERATE="Moderate",c.UNHEALTHY_FOR_SENSITIVE_GROUPS="Unhealthy for Sensitive Groups",c.UNHEALTHY="Unhealthy",c.VERY_UNHEALTHY="Very Unhealthy",c.HAZARDOUS="Hazardous",(d=n||(r.PollutantType=n={})).CO="CO",d.NO2="NO2",d.O3="O3",d.PM10="PM10",d.PM2_5="PM2.5",d.SO2="SO2"},467741,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getAirQualityIndexMax=r.getAirQualityScale=void 0;let a=e.r(980108),i={US:a.AirQualityScale.EPA,CN:a.AirQualityScale.HJ6332012,FR:a.AirQualityScale.ATMO,DE:a.AirQualityScale.UBA,GB:a.AirQualityScale.DAQI,IN:a.AirQualityScale.NAQI,MX:a.AirQualityScale.IMECA,ES:a.AirQualityScale.CAQI},l={[a.AirQualityScale.UBA]:100,[a.AirQualityScale.NAQI]:500,[a.AirQualityScale.IMECA]:300,[a.AirQualityScale.HJ6332012]:300,[a.AirQualityScale.EPA]:500,[a.AirQualityScale.DAQI]:10,[a.AirQualityScale.CAQI]:100,[a.AirQualityScale.ATMO]:10,[a.AirQualityScale.CAI]:500};r.getAirQualityScale=({countryCode:e})=>i[e]||a.AirQualityScale.EPA,r.getAirQualityIndexMax=e=>l[e]??l[a.AirQualityScale.EPA]},155123,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.fromCompactResponse=function(e){if(!e)return null;let t=Object.keys(e);return t.length&&t[0]&&void 0!==e[t[0]]&&Array.isArray(e[t[0]])?Array.from({length:e[t[0]].length},(r,a)=>{let i={};return t.forEach(t=>{let r=e[t];void 0!==r&&Array.isArray(r)&&a{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createTransformer=function(e){return t=>((0,a.fromCompactResponse)(t)||[]).map((r,a)=>e(r,a,t))};let a=e.r(155123)},228071,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getHourlyAirQualityForecast=o,r.transformHourlyAirQualityForecast=s;let a=e.r(267084),i=e.r(678651),l=e.r(414655),n=e.r(992591);async function o(e){let t=(0,a.getHourlyAirQualityForecastUrlConfig)(e),r=(0,i.urlFrom)(t),n=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}});return s(await (0,l.handleFetchResponse)(n))}function s(e){let t=e.globalairquality,r={validTimeGmt:t.validTimeGmt,airQualityIndex:t.airQualityIndex,airQualityCategory:t.airQualityCategory,airQualityCategoryIndex:t.airQualityCategoryIndex,airQualityCategoryIndexColor:t.airQualityCategoryIndexColor,primaryPollutant:t.primaryPollutant},a=(0,n.createTransformer)((e,r)=>{let a=e=>{let a=t.pollutants[e];if(a)return{name:a.name,phrase:a.phrase,amount:a.amount[r]??0,unit:a.unit,category:a.category[r]??"",categoryIndex:a.categoryIndex[r]??0,index:a.index[r]??0}};return{...e,pollutants:{CO:a("CO"),NO2:a("NO2"),O3:a("O3"),PM10:a("PM10"),PM2_5:a("PM2.5"),SO2:a("SO2")},messages:{general:t.messages.General[r]??{title:"",text:""},sensitiveGroup:t.messages["Sensitive Group"][r]??{title:"",text:""}}}})(r);return{latitude:t.latitude,longitude:t.longitude,source:t.source,disclaimer:t.disclaimer,expireTimeGmt:t.expireTimeGmt,forecast:a}}},417669,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getDailyForecastUrlConfig=function({geocode:e,units:t,language:r,duration:i=a.ForecastDuration.FIVE_DAY,cscCountryCode:l}){return{host:"api.weather.com",protocol:"https",pathname:`/v3/wx/forecast/daily/${i}`,query:{geocode:e,units:t,language:r,cscCountryCode:l||void 0,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getDailyCognitiveHealthForecastUrlConfig=function({geocode:e,language:t,conditionType:r,duration:i=a.ForecastDuration.FIVE_DAY}){return{host:"api.weather.com",protocol:"https",pathname:`/v3/wx/forecast/daily/${i}/cognitiveHealth`,query:{geocode:e,language:t,conditionType:r,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getHourlyForecastUrlConfig=function({geocode:e,units:t,language:r,duration:i=a.HourlyForecastDuration.TWO_DAY,cscCountryCode:l}){return{host:"api.weather.com",protocol:"https",pathname:`/v3/wx/forecast/hourly/${i}`,query:{geocode:e,units:t,language:r,cscCountryCode:l||void 0,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getFifteenMinuteForecastUrlConfig=function({geocode:e,units:t,language:r}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/forecast/fifteenminute",query:{geocode:e,units:t,language:r,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getMinutelyPrecipitationForecastUrlConfig=function({geocode:e,units:t,language:r,duration:a="60minute"}){return{host:"api.weather.com",protocol:"https",pathname:`/v3/wx/forecast/minutely/precipitation/${a}`,query:{geocode:e,units:t,language:r,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getWWIRForecastUrlConfig=function({geocode:e,postalCode:t,units:r,language:a}){return{host:"api.weather.com",protocol:"https",pathname:t?`/v1/location/${t}/forecast/wwir.json`:`/v1/geocode/${e?.replace(",","/")}/forecast/wwir.json`,query:{units:r,language:a,apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getHistoricalHourlyUrlConfig=function({placeid:e,units:t,language:r,par:a}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/conditions/historical/hourly/1day",query:{placeid:e,units:t,language:r,par:a,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}};let a=e.r(349262)},146691,e=>{"use strict";var t=e.i(155252),r=e.i(206507),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":r,"aria-describedby":i,...l,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Share"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M11.5 10a2.5 2.5 0 0 0-1.944.945L5.9 8.66a2.23 2.23 0 0 0 0-1.32l3.655-2.285A2.5 2.5 0 1 0 9 3.5q.004.337.1.66L5.446 6.445a2.5 2.5 0 1 0 0 3.11L9.1 11.84a2.4 2.4 0 0 0-.1.66 2.5 2.5 0 1 0 2.5-2.5m0-8a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m-8 7.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m8 4.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));l.displayName="Share",e.s(["Share",0,l])},445359,e=>{"use strict";var t=e.i(155252),r=e.i(206507),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":r,"aria-describedby":i,...l,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Play"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M3.5 14a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 .741-.438l10 5.5a.5.5 0 0 1 0 .876l-10 5.5A.5.5 0 0 1 3.5 14"})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));l.displayName="PlayFilledAlt",e.s(["PlayFilledAlt",0,l])},358025,(e,t,r)=>{"use strict";var a,i,l,n,o,s,c,d,u,f;Object.defineProperty(r,"__esModule",{value:!0}),r.PrecipIntensityCode=r.PrecipTypeCode=r.ThunderCategory=r.PrecipType=r.MoonPhaseCode=void 0,(s=a||(r.MoonPhaseCode=a={})).WANING_GIBBOUS="WNG",s.WAXING_CRESCENT="WXC",s.FIRST_QUARTER="FQ",s.WANING_CRESCENT="WNC",s.LAST_QUARTER="LQ",s.FULL="F",s.WAXING_GIBBOUS="WXG",s.NEW="N",(c=i||(r.PrecipType=i={})).RAIN="rain",c.SNOW="snow",c.PRECIP="precip",(d=l||(r.ThunderCategory=l={})).NO_THUNDER="0",d.THUNDER_POSSIBLE="1",d.THUNDER_EXPECTED="2",d.SEVERE_THUNDERSTORMS_POSSIBLE="3",d.SEVERE_THUNDERSTORMS_LIKELY="4",d.HIGH_RISK_OF_SEVERE_THUNDERSTORMS="5",(u=n||(r.PrecipTypeCode=n={}))[u.NONE=0]="NONE",u[u.RAIN=1]="RAIN",u[u.SNOW=2]="SNOW",u[u.FREEZING_RAIN=3]="FREEZING_RAIN",u[u.THUNDER=4]="THUNDER",u[u.SLEET=5]="SLEET",u[u.HAIL=6]="HAIL",(f=o||(r.PrecipIntensityCode=o={}))[f.NONE=0]="NONE",f[f.VERY_LIGHT=1]="VERY_LIGHT",f[f.LIGHT=2]="LIGHT",f[f.MODERATE=3]="MODERATE",f[f.HEAVY=4]="HEAVY"},495892,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.transformHourlyForecast=void 0,r.getHourlyForecast=m,r.mergeHourlyForecastWithAirQuality=h,r.getHourlyForecastWithAirQuality=v;let a=e.r(417669),i=e.r(678651),l=e.r(414655),n=e.r(992591),o=e.r(349262),s=e.r(358025),c=e.r(349262),d=e.r(861160),u=e.r(228071),f=e.r(980108),p=e.r(467741);async function m(e){let t=(0,a.getHourlyForecastUrlConfig)(e),n=(0,i.urlFrom)(t),o=await fetch(n,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}}),s=await (0,l.handleFetchResponse)(o);return(0,r.transformHourlyForecast)(s)}function h(e,t){if(!t)return e;let r=new Map(t.forecast.map(e=>[e.validTimeGmt,e]));return e.map(e=>{let t=r.get(e.validTimeUtc);return t?{...e,airQualityIndex:t.airQualityIndex,airQualityCategory:t.airQualityCategory,airQualityCategoryIndexColor:t.airQualityCategoryIndexColor}:e})}async function v(e){let[t,r]=await Promise.all([m(e),(0,u.getHourlyAirQualityForecast)({geocode:e.geocode,language:e.language,scale:(0,p.getAirQualityScale)({countryCode:e.cscCountryCode??""}),duration:function(e){switch(e){case o.HourlyForecastDuration.SIX_HOUR:case o.HourlyForecastDuration.TWELVE_HOUR:return f.AirQualityForecastDuration.TWELVE_HOUR;case o.HourlyForecastDuration.ONE_DAY:return f.AirQualityForecastDuration.TWENTY_FOUR_HOUR;case o.HourlyForecastDuration.TWO_DAY:return f.AirQualityForecastDuration.FORTY_EIGHT_HOUR;case o.HourlyForecastDuration.THREE_DAY:case o.HourlyForecastDuration.TEN_DAY:case o.HourlyForecastDuration.FIFTEEN_DAY:default:return f.AirQualityForecastDuration.SEVENTY_TWO_HOUR}}(e.duration)}).catch(()=>null)]);return h(t,r)}r.transformHourlyForecast=(0,n.createTransformer)(e=>({cloudCover:e.cloudCover??0,dayOfWeek:e.dayOfWeek??"",dayOrNight:e.dayOrNight??c.DayOrNight.DAY,expirationTimeUtc:e.expirationTimeUtc??0,iconCode:e.iconCode??0,iconCodeExtend:e.iconCodeExtend??0,precipChance:e.precipChance??0,precipType:e.precipType??s.PrecipType.RAIN,pressureMeanSeaLevel:e.pressureMeanSeaLevel??0,qpf:e.qpf??0,qpfSnow:e.qpfSnow??0,relativeHumidity:e.relativeHumidity??0,temperature:e.temperature??0,temperatureDewPoint:e.temperatureDewPoint??0,temperatureFeelsLike:e.temperatureFeelsLike??0,temperatureHeatIndex:e.temperatureHeatIndex??0,temperatureWindChill:e.temperatureWindChill??0,uvDescription:e.uvDescription??c.UVDescription.LOW,uvIndex:e.uvIndex??0,validTimeLocal:e.validTimeLocal??"",validTimeUtc:e.validTimeUtc??0,visibility:e.visibility??0,windDirection:e.windDirection??0,windDirectionCardinal:(0,d.normalizeCardinal)(e.windDirectionCardinal??c.WindDirectionCardinal.NORTH),windGust:e.windGust??null,windSpeed:e.windSpeed??0,wxPhraseLong:e.wxPhraseLong??"",wxPhraseShort:e.wxPhraseShort??"",wxSeverity:e.wxSeverity??0}))},955105,e=>{"use strict";var t=e.i(155252),r=e.i(206507),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":r,"aria-describedby":i,...l,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Wind"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.333 4.626C8.575 3.757 9.41 3 10.648 3c1.497 0 2.39 1.095 2.39 2.165 0 1.069-.893 2.164-2.39 2.164H4.389c-.256 0-.463-.188-.463-.42s.207-.42.463-.42h6.259c.91 0 1.463-.649 1.463-1.324 0-.676-.552-1.325-1.463-1.325-.764 0-1.265.45-1.416.991-.063.225-.315.361-.563.304s-.398-.285-.336-.51M2 9.09c0-.232.207-.42.463-.42h9.148C13.107 8.67 14 9.766 14 10.835S13.107 13 11.61 13c-1.334 0-2.211-.882-2.364-1.694-.043-.228.127-.445.379-.484s.491.115.534.343c.082.435.598.996 1.452.996.91 0 1.462-.65 1.462-1.326 0-.675-.552-1.325-1.462-1.325H2.463C2.207 9.51 2 9.322 2 9.09",clipRule:"evenodd"})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));l.displayName="Wind",e.s(["Wind",0,l])},713602,721395,e=>{"use strict";var t=e.i(155252),r=e.i(206507),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":r,"aria-describedby":i,...l,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"humidity"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{fillRule:"evenodd",d:"M8 13a3.5 3.5 0 0 0 3.5-3.5c0-.59-.276-1.34-.701-2.13-.309-.573-.637-1.068-.907-1.475a26 26 0 0 1-.267-.406 77 77 0 0 1-.564-.9c-.151-.244-.281-.453-.502-.796a43 43 0 0 1-.556-.885c-.14.229-.318.52-.55.883-.238.37-.371.587-.538.86-.13.212-.28.456-.515.832q-.159.25-.35.531c-.257.382-.549.816-.841 1.348C4.78 8.139 4.5 8.886 4.5 9.5A3.5 3.5 0 0 0 8 13m0 1a4.5 4.5 0 0 0 4.5-4.5c0-1.486-1.16-3.231-1.797-4.19q-.136-.206-.234-.358a80 80 0 0 1-.552-.88c-.16-.258-.3-.484-.518-.821-.243-.376-.426-.674-.57-.91-.425-.693-.514-.837-.829-.837s-.395.133-.814.822c-.144.237-.328.54-.575.925-.24.373-.382.606-.556.889-.131.214-.28.457-.503.812-.078.125-.18.276-.296.449C4.606 6.37 3.5 8.017 3.5 9.5A4.5 4.5 0 0 0 8 14",clipRule:"evenodd"}),(0,t.jsx)("path",{d:"M12.5 9.5a4.48 4.48 0 0 1-1.107 2.957L4.845 6.025c.283-.443.545-.814.707-1.073.517-.825.638-1.045 1.059-1.701.966-1.507.967-1.747 1.389-1.747s.438.259 1.399 1.747c.413.64.55.883 1.07 1.701S12.5 7.804 12.5 9.5"})]})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));l.displayName="Humidity",e.s(["Humidity",0,l],713602);let n=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":r,"aria-describedby":i,...l,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"pressure"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.498 1.022a.5.5 0 0 1 .5.5v3.022H4.841l3.14 2.788 3.16-2.788h-1.13V1.522a.5.5 0 0 1 1 0v2.022h1.453a.5.5 0 0 1 .33.875L8.744 7.993l4.053 3.6a.5.5 0 0 1-.332.874h-1.473v2.022a.5.5 0 0 1-1 0v-3.022h1.157L8.008 8.68l-3.16 2.788h1.13v3.022a.5.5 0 0 1-1 0v-2.022H3.525a.5.5 0 0 1-.33-.875l4.052-3.574-4.054-3.6a.5.5 0 0 1 .332-.874h1.473V1.522a.5.5 0 0 1 .5-.5",clipRule:"evenodd"})]})),o=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:n,...e}));o.displayName="Pressure",e.s(["Pressure",0,o],721395)},763635,e=>{"use strict";var t=e.i(155252),r=e.i(206507),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":r,"aria-describedby":i,...l,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Arrow Down"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M3.353 9.767a.499.499 0 0 1 .705-.706L7.5 12.5V2.914a.5.5 0 0 1 1 0V12.5l3.443-3.438a.499.499 0 0 1 .705.706l-3.94 3.94a1 1 0 0 1-1.415 0z"})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));l.displayName="ArrowDown",e.s(["ArrowDown",0,l])},548888,e=>{"use strict";var t=e.i(155252),r=e.i(206507),a=e.i(632137),i=e.i(763635),l=e.i(955105),n=e.i(617874);let o={N:0,NNE:22.5,NE:45,ENE:67.5,E:90,ESE:112.5,SE:135,SSE:157.5,S:180,SSW:202.5,SW:225,WSW:247.5,W:270,WNW:292.5,NW:315,NNW:337.5},s=({windDirection:e,windDirectionCardinal:r,iconClassName:n,iconColor:s,displayWindDirectionIcon:c,displayMode:d,afterSpeed:u,useWindIcon:f})=>{var p,m;if(!e&&!r)return null;let h=(p=e,m=r,null!=p&&Number.isFinite(p)?p:m?o[m]:void 0);if(!("directional"===d||"directionalAndCardinal"===d||void 0===d&&c||f)||!f&&!Number.isFinite(h))return null;let v=f?l.Wind:i.ArrowDown,g=f?void 0:{transform:`rotate(${h}deg)`};return(0,t.jsx)(v,{className:(0,a.cn)("inline-block size-4 align-middle",u?"ml-0.5":"mr-0.5",n),color:s,style:g,"aria-label":"Wind direction icon","data-testid":"WindDirectionIcon"})},c=({windDirection:e,windDirectionCardinal:r,cardinalClassName:a,displayWindDirectionIcon:i,displayMode:l,beforeSpeed:n})=>(e||r)&&("cardinal"===l||"directionalAndCardinal"===l||void 0===l&&!i)&&r?(0,t.jsxs)("span",{className:a,children:[!n&&" ",r,n&&" "]}):null,d=({units:e,windUnitClass:r})=>{let i=e?(0,n.unitsSystemByCode)(e):null,l=i?.speed;return(0,t.jsx)("span",{className:(0,a.cn)(r),children:l})},u=(0,r.memo)(({windSpeed:e,units:r,className:i,windDirection:l,windDirectionCardinal:n,windSpeedClass:o,windUnitClass:u,iconClassName:f,iconColor:p,cardinalClassName:m,iconAfterSpeed:h,cardinalBeforeSpeed:v,spaceWindSpeedAndUnit:g=!0,displayWindDirectionIcon:y=!1,displayMode:x,useWindIcon:w})=>{let b=(0,t.jsx)(s,{windDirection:l,windDirectionCardinal:n,iconClassName:f,iconColor:p,displayWindDirectionIcon:y,displayMode:x,afterSpeed:h,useWindIcon:w}),E=(0,t.jsx)(c,{windDirection:l,windDirectionCardinal:n,displayWindDirectionIcon:y,displayMode:x,beforeSpeed:v,cardinalClassName:m});return(0,t.jsxs)("span",{"data-testid":"Wind",className:(0,a.cn)(i),children:[!h&&b,v&&E,Number.isFinite(e)&&r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:(0,a.cn)(o),children:e}),g&&" ",(0,t.jsx)(d,{units:r,windUnitClass:u})]}):(0,t.jsx)("span",{className:(0,a.cn)(o),children:"--"}),!v&&E,h&&b]})});e.s(["Wind",0,u],548888)},997382,e=>{"use strict";var t=e.i(155252),r=e.i(206507),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":r,"aria-describedby":i,...l,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Feels Like"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{fillRule:"evenodd",d:"M10.889 4.163A2 2 0 1 0 13.11.837a2 2 0 0 0-2.222 3.326m.555-2.494a1 1 0 1 1 1.112 1.662 1 1 0 0 1-1.112-1.662M11 15h2a1.003 1.003 0 0 0 1-1v-3.5a1.003 1.003 0 0 0 1-1v-3A1.47 1.47 0 0 0 13.5 5h-3A1.473 1.473 0 0 0 9 6.5v3a1.003 1.003 0 0 0 1 1V14a1.003 1.003 0 0 0 1 1m-.696-8.97A.5.5 0 0 1 10.5 6h3a.473.473 0 0 1 .5.5v3h-1V14h-2V9.5h-1v-3a.47.47 0 0 1 .304-.47",clipRule:"evenodd"}),(0,t.jsx)("path",{d:"M5 10.092V6H4v4.092a1.5 1.5 0 1 0 1 0"}),(0,t.jsx)("path",{fillRule:"evenodd",d:"M2.563 14.417c.574.38 1.248.584 1.937.583A3.497 3.497 0 0 0 7 9.055V3.5a2.5 2.5 0 1 0-5 0v5.555a3.497 3.497 0 0 0 .563 5.362M3.44 2.44a1.5 1.5 0 0 1 2.12 0c.281.281.44.662.44 1.06v5.992l.166.149a2.5 2.5 0 1 1-3.332 0L3 9.49V3.5c0-.398.159-.779.44-1.06",clipRule:"evenodd"})]})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));l.displayName="FeelsLike",e.s(["FeelsLike",0,l])},188065,e=>{"use strict";var t=e.i(155252),r=e.i(206507),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":r,"aria-describedby":i,...l,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Rain Drop"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",children:[(0,t.jsx)("path",{d:"M8 14.256a4.506 4.506 0 0 1-4.5-4.5 5 5 0 0 1 .747-2.478l3.33-5.303a.52.52 0 0 1 .847 0l3.314 5.278a5.03 5.03 0 0 1 .762 2.503 4.506 4.506 0 0 1-4.5 4.5M8 3.18 5.11 7.784a4 4 0 0 0-.61 1.972 3.5 3.5 0 0 0 7 0 4.03 4.03 0 0 0-.624-1.998z"}),(0,t.jsx)("path",{d:"M10.103 9.757a.5.5 0 0 1 .319.631 2.74 2.74 0 0 1-1.747 1.724.5.5 0 0 1-.313-.95c.615-.203.976-.68 1.11-1.086a.5.5 0 0 1 .63-.32"})]})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));l.displayName="RainDrop",e.s(["RainDrop",0,l])},877809,e=>{"use strict";var t=e.i(155252),r=e.i(206507),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":r,"aria-describedby":i,...l,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Snowflake"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",children:[(0,t.jsx)("path",{d:"M8 1a.5.5 0 0 1 .5.5v13a.5.5 0 0 1-1 0v-13A.5.5 0 0 1 8 1"}),(0,t.jsx)("path",{d:"M5.896 1.896a.5.5 0 0 1 .707 0L8 3.293l1.396-1.397a.5.5 0 1 1 .707.708L8 4.707 5.896 2.604a.5.5 0 0 1 0-.708M5.896 13.854a.5.5 0 0 0 .707 0L8 12.457l1.396 1.397a.5.5 0 0 0 .707-.708L8 11.043l-2.104 2.103a.5.5 0 0 0 0 .708M14.062 4.5a.5.5 0 0 1-.183.683l-11.259 6.5a.5.5 0 0 1-.5-.866l11.259-6.5a.5.5 0 0 1 .683.183"}),(0,t.jsx)("path",{d:"M12.234 3.126a.5.5 0 0 1 .353.613l-.51 1.907 1.907.512a.5.5 0 1 1-.26.965l-2.873-.77.77-2.873a.5.5 0 0 1 .613-.354M1.878 9.105a.5.5 0 0 0 .354.612l1.908.511-.512 1.908a.5.5 0 1 0 .966.259l.77-2.874-2.873-.77a.5.5 0 0 0-.613.354M14.062 11.5a.5.5 0 0 1-.683.183L2.12 5.183a.5.5 0 1 1 .5-.866l11.259 6.5a.5.5 0 0 1 .183.683"}),(0,t.jsx)("path",{d:"M14.337 9.23a.5.5 0 0 1-.353.612l-1.908.511.511 1.908a.5.5 0 1 1-.966.259l-.77-2.874 2.874-.77a.5.5 0 0 1 .612.354M3.982 3.251a.5.5 0 0 0-.354.613L4.14 5.77l-1.908.512a.5.5 0 1 0 .259.965l2.873-.77-.77-2.873a.5.5 0 0 0-.612-.354"})]})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));l.displayName="Snowflake",e.s(["Snowflake",0,l])},208549,e=>{"use strict";var t=e.i(155252),r=e.i(206507),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":r,"aria-describedby":i,...l,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Rain Snow Wintery Mix"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{fillRule:"evenodd",d:"M7.982 1.833c-1.303 0-2.391 1.032-2.5 2.37l-.034.407-.405.049c-.67.08-1.209.672-1.209 1.41 0 .724.518 1.307 1.17 1.405l.217.015h4.896l.024.003q.087.008.175.008c1.01 0 1.851-.845 1.851-1.915 0-.946-.66-1.719-1.51-1.882l-.264-.051-.104-.248c-.386-.93-1.279-1.57-2.307-1.57M4.535 3.747C4.843 2.096 6.26.833 7.982.833c1.367 0 2.543.798 3.123 1.95 1.198.352 2.062 1.48 2.062 2.802 0 1.597-1.264 2.915-2.851 2.915a3 3 0 0 1-.245-.01H5.187l-.25-.018H4.92l-.034-.005c-1.168-.16-2.051-1.182-2.051-2.398 0-1.091.71-2.026 1.701-2.322",clipRule:"evenodd","data-figma-bg-blur-radius":20}),(0,t.jsx)("path",{d:"m7.954 9.295-.543 1.491a.5.5 0 0 0 .94.342l.543-1.491a.5.5 0 1 0-.94-.342M10.267 11.085l-.856 2.352a.5.5 0 0 0 .94.342l.856-2.352a.5.5 0 1 0-.94-.342M5.964 11.324a.25.25 0 0 1 .25.25v.152a.25.25 0 0 1 .297.396l-.297.297v2.092l.301.317a.25.25 0 0 1-.301.391v.207a.25.25 0 0 1-.5 0v-.212a.25.25 0 0 1-.309-.389l.309-.315v-2.092l-.307-.307a.25.25 0 0 1 .307-.39v-.147a.25.25 0 0 1 .25-.25"}),(0,t.jsx)("path",{d:"M7.816 12.41a.255.255 0 0 1-.092.345l-.182.107a.253.253 0 0 1-.272.383l-.264-.068-1.792 1.054-.153.366a.247.247 0 0 1-.46-.006l-.152.09a.245.245 0 0 1-.339-.09.255.255 0 0 1 .092-.345l.175-.103a.25.25 0 0 1-.04-.174.25.25 0 0 1 .279-.218l.351.045 1.792-1.054.085-.307a.247.247 0 0 1 .473-.02l.16-.095c.12-.07.271-.03.34.09"}),(0,t.jsx)("path",{d:"M7.815 14.59a.245.245 0 0 1-.339.09l-.16-.094a.247.247 0 0 1-.473-.02l-.084-.308-1.792-1.053-.352.045a.25.25 0 0 1-.279-.219.25.25 0 0 1 .04-.174l-.175-.102a.255.255 0 0 1-.092-.345c.068-.12.22-.16.339-.09l.152.089a.247.247 0 0 1 .46-.006l.154.367 1.791 1.053.265-.067a.25.25 0 0 1 .303.182.25.25 0 0 1-.032.2l.182.107c.119.07.16.225.092.345"})]})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));l.displayName="RainSnowWinteryMix",e.s(["RainSnowWinteryMix",0,l])},643548,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getTropicalCurrentPosition=n;let a=e.r(979777),i=e.r(678651),l=e.r(414655);async function n(e){let t=(0,a.getTropicalObservationsCurrentPositionUrlConfig)(e),r=(0,i.urlFrom)(t),n=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}});return(0,l.handleFetchResponse)(n)}},934322,203679,e=>{"use strict";var t=e.i(206507),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,r],203679);var a=t[" useId ".trim().toString()]||(()=>void 0),i=0;e.s(["useId",0,function(e){let[l,n]=t.useState(a());return r(()=>{e||n(e=>e??String(i++))},[e]),e||(l?`radix-${l}`:"")}],934322)},846871,e=>{"use strict";var t=e.i(155252),r=e.i(294237),a=e.i(632137);let i=(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:l,label:n})=>(0,t.jsx)("div",{className:(0,a.cn)(i({size:r,variant:l}),e),"aria-label":n})])},546334,e=>{"use strict";var t=e.i(155252),r=e.i(206507),a=e.i(184154),i=e.i(381477),l=e.i(925209),n=e.i(564993),o=e.i(985542),s=e.i(612977),c=e.i(368847),d=e.i(877957),u=/[\\\/_+.#"@\[\(\{&]/,f=/[\\\/_+.#"@\[\(\{&]/g,p=/[\s-]/,m=/[\s-]/g;function h(e){return e.toLowerCase().replace(m," ")}var v=e.i(867013);e.i(926045);var g=e.i(723673),y=Symbol.for("radix.slottable"),x=Symbol.for("react.lazy");function w(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===x&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var b=r[" use ".trim().toString()],E=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{var i;let l,n=(i=`Primitive.${a}`,(l=r.forwardRef((e,t)=>{var a;let l,n,{children:o,...s}=e,c=null,d=!1,u=[];w(o)&&"function"==typeof b&&(o=b(o._payload)),r.Children.forEach(o,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===y){d=!0;let t="child"in e.props?e.props.child:e.props.children;w(t)&&"function"==typeof b&&(t=b(t._payload)),c=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),u.push(c?.props?.children)}else u.push(e)}),c?c=r.cloneElement(c,void 0,u):!d&&1===r.Children.count(o)&&r.isValidElement(o)&&(c=o);let f=c?(a=c,(n=(l=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in l&&l.isReactWarning)?a.ref:(n=(l=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in l&&l.isReactWarning)?a.props.ref:a.props.ref||a.ref):void 0,p=(0,g.useComposedRefs)(t,f);if(!c){if(o||0===o){let e,t;throw Error(d?(e=i,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=i,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return o}let m=function(e,t){let r={...t};for(let a in t){let i=e[a],l=t[a];/^on[A-Z]/.test(a)?i&&l?r[a]=(...e)=>{let t=l(...e);return i(...e),t}:i&&(r[a]=i):"style"===a?r[a]={...i,...l}:"className"===a&&(r[a]=[i,l].filter(Boolean).join(" "))}return{...e,...r}}(s,c.props??{});return c.type!==r.Fragment&&(m.ref=t?p:f),r.cloneElement(c,m)})).displayName=`${i}.Slot`,l),o=r.forwardRef((e,r)=>{let{asChild:i,...l}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(i?n:a,{...l,ref:r})});return o.displayName=`Primitive.${a}`,{...e,[a]:o}},{}),C=e.i(934322),j='[cmdk-group=""]',A='[cmdk-group-items=""]',S='[cmdk-item=""]',R=`${S}:not([aria-disabled="true"])`,N="cmdk-item-select",I="data-value",T=(e,t,r)=>{var a;return a=e,function e(t,r,a,i,l,n,o){if(n===r.length)return l===t.length?1:.99;var s=`${l},${n}`;if(void 0!==o[s])return o[s];for(var c,d,h,v,g=i.charAt(n),y=a.indexOf(g,l),x=0;y>=0;)(c=e(t,r,a,i,y+1,n+1,o))>x&&(y===l?c*=1:u.test(t.charAt(y-1))?(c*=.8,(h=t.slice(l,y-1).match(f))&&l>0&&(c*=Math.pow(.999,h.length))):p.test(t.charAt(y-1))?(c*=.9,(v=t.slice(l,y-1).match(m))&&l>0&&(c*=Math.pow(.999,v.length))):(c*=.17,l>0&&(c*=Math.pow(.999,y-l))),t.charAt(y)!==r.charAt(n)&&(c*=.9999)),(c<.1>c&&(c=.1*d),c>x&&(x=c),y=a.indexOf(g,y+1);return o[s]=x,x}(a=r&&r.length>0?`${a+" "+r.join(" ")}`:a,t,h(a),h(t),0,0,{})},_=r.createContext(void 0),M=r.createContext(void 0),D=r.createContext(void 0),O=r.forwardRef((e,t)=>{let a=B(()=>{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}}}),i=B(()=>new Set),l=B(()=>new Map),n=B(()=>new Map),o=B(()=>new Set),s=Q(e),{label:c,children:d,value:u,onValueChange:f,filter:p,shouldFilter:m,loop:h,disablePointerSelection:v=!1,vimBindings:g=!0,...y}=e,x=(0,C.useId)(),w=(0,C.useId)(),b=(0,C.useId)(),D=r.useRef(null),O=G();W(()=>{if(void 0!==u){let e=u.trim();a.current.value=e,P.emit()}},[u]),W(()=>{O(6,U)},[]);let P=r.useMemo(()=>({subscribe:e=>(o.current.add(e),()=>o.current.delete(e)),snapshot:()=>a.current,setState:(e,t,r)=>{var i,l,n,o;if(!Object.is(a.current[e],t)){if(a.current[e]=t,"search"===e)L(),$(),O(1,F);else if("value"===e){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let e=document.getElementById(b);e?e.focus():null==(i=document.getElementById(x))||i.focus()}if(O(7,()=>{var e;a.current.selectedItemId=null==(e=V())?void 0:e.id,P.emit()}),r||O(5,U),(null==(l=s.current)?void 0:l.value)!==void 0){null==(o=(n=s.current).onValueChange)||o.call(n,null!=t?t:"");return}}P.emit()}},emit:()=>{o.current.forEach(e=>e())}}),[]),k=r.useMemo(()=>({value:(e,t,r)=>{var i;t!==(null==(i=n.current.get(e))?void 0:i.value)&&(n.current.set(e,{value:t,keywords:r}),a.current.filtered.items.set(e,H(t,r)),O(2,()=>{$(),P.emit()}))},item:(e,t)=>(i.current.add(e),t&&(l.current.has(t)?l.current.get(t).add(e):l.current.set(t,new Set([e]))),O(3,()=>{L(),$(),a.current.value||F(),P.emit()}),()=>{n.current.delete(e),i.current.delete(e),a.current.filtered.items.delete(e);let t=V();O(4,()=>{L(),(null==t?void 0:t.getAttribute("id"))===e&&F(),P.emit()})}),group:e=>(l.current.has(e)||l.current.set(e,new Set),()=>{n.current.delete(e),l.current.delete(e)}),filter:()=>s.current.shouldFilter,label:c||e["aria-label"],getDisablePointerSelection:()=>s.current.disablePointerSelection,listId:x,inputId:b,labelId:w,listInnerRef:D}),[]);function H(e,t){var r,i;let l=null!=(i=null==(r=s.current)?void 0:r.filter)?i:T;return e?l(e,a.current.search,t):0}function $(){if(!a.current.search||!1===s.current.shouldFilter)return;let e=a.current.filtered.items,t=[];a.current.filtered.groups.forEach(r=>{let a=l.current.get(r),i=0;a.forEach(t=>{i=Math.max(e.get(t),i)}),t.push([r,i])});let r=D.current;z().sort((t,r)=>{var a,i;let l=t.getAttribute("id"),n=r.getAttribute("id");return(null!=(a=e.get(n))?a:0)-(null!=(i=e.get(l))?i:0)}).forEach(e=>{let t=e.closest(A);t?t.appendChild(e.parentElement===t?e:e.closest(`${A} > *`)):r.appendChild(e.parentElement===r?e:e.closest(`${A} > *`))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{var t;let r=null==(t=D.current)?void 0:t.querySelector(`${j}[${I}="${encodeURIComponent(e[0])}"]`);null==r||r.parentElement.appendChild(r)})}function F(){let e=z().find(e=>"true"!==e.getAttribute("aria-disabled")),t=null==e?void 0:e.getAttribute(I);P.setState("value",t||void 0)}function L(){var e,t,r,o;if(!a.current.search||!1===s.current.shouldFilter){a.current.filtered.count=i.current.size;return}a.current.filtered.groups=new Set;let c=0;for(let l of i.current){let i=H(null!=(t=null==(e=n.current.get(l))?void 0:e.value)?t:"",null!=(o=null==(r=n.current.get(l))?void 0:r.keywords)?o:[]);a.current.filtered.items.set(l,i),i>0&&c++}for(let[e,t]of l.current)for(let r of t)if(a.current.filtered.items.get(r)>0){a.current.filtered.groups.add(e);break}a.current.filtered.count=c}function U(){var e,t,r;let a=V();a&&((null==(e=a.parentElement)?void 0:e.firstChild)===a&&(null==(r=null==(t=a.closest(j))?void 0:t.querySelector('[cmdk-group-heading=""]'))||r.scrollIntoView({block:"nearest"})),a.scrollIntoView({block:"nearest"}))}function V(){var e;return null==(e=D.current)?void 0:e.querySelector(`${S}[aria-selected="true"]`)}function z(){var e;return Array.from((null==(e=D.current)?void 0:e.querySelectorAll(R))||[])}function K(e){let t=z()[e];t&&P.setState("value",t.getAttribute(I))}function X(e){var t;let r=V(),a=z(),i=a.findIndex(e=>e===r),l=a[i+e];null!=(t=s.current)&&t.loop&&(l=i+e0?function(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}(r,j):function(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}(r,j))?void 0:r.querySelector(R);a?P.setState("value",a.getAttribute(I)):X(e)}let J=()=>K(z().length-1),ee=e=>{e.preventDefault(),e.metaKey?J():e.altKey?Z(1):X(1)},et=e=>{e.preventDefault(),e.metaKey?K(0):e.altKey?Z(-1):X(-1)};return r.createElement(E.div,{ref:t,tabIndex:-1,...y,"cmdk-root":"",onKeyDown:e=>{var t;null==(t=y.onKeyDown)||t.call(y,e);let r=e.nativeEvent.isComposing||229===e.keyCode;if(!(e.defaultPrevented||r))switch(e.key){case"n":case"j":g&&e.ctrlKey&&ee(e);break;case"ArrowDown":ee(e);break;case"p":case"k":g&&e.ctrlKey&&et(e);break;case"ArrowUp":et(e);break;case"Home":e.preventDefault(),K(0);break;case"End":e.preventDefault(),J();break;case"Enter":{e.preventDefault();let t=V();if(t){let e=new Event(N);t.dispatchEvent(e)}}}}},r.createElement("label",{"cmdk-label":"",htmlFor:k.inputId,id:k.labelId,style:Y},c),q(e,e=>r.createElement(M.Provider,{value:P},r.createElement(_.Provider,{value:k},e))))}),P=r.forwardRef((e,t)=>{var a,i;let l=(0,C.useId)(),n=r.useRef(null),o=r.useContext(D),s=r.useContext(_),c=Q(e),d=null!=(i=null==(a=c.current)?void 0:a.forceMount)?i:null==o?void 0:o.forceMount;W(()=>{if(!d)return s.item(l,null==o?void 0:o.id)},[d]);let u=z(l,n,[e.value,e.children,n],e.keywords),f=r.useContext(M),p=V(e=>e.value&&e.value===u.current),m=V(e=>!!d||!1===s.filter()||!e.search||e.filtered.items.get(l)>0);function h(){var e,t;v(),null==(t=(e=c.current).onSelect)||t.call(e,u.current)}function v(){f.setState("value",u.current,!0)}if(r.useEffect(()=>{let t=n.current;if(!(!t||e.disabled))return t.addEventListener(N,h),()=>t.removeEventListener(N,h)},[m,e.onSelect,e.disabled]),!m)return null;let{disabled:y,value:x,onSelect:w,forceMount:b,keywords:j,...A}=e;return r.createElement(E.div,{ref:(0,g.composeRefs)(n,t),...A,id:l,"cmdk-item":"",role:"option","aria-disabled":!!y,"aria-selected":!!p,"data-disabled":!!y,"data-selected":!!p,onPointerMove:y||s.getDisablePointerSelection()?void 0:v,onClick:y?void 0:h},e.children)}),k=r.forwardRef((e,t)=>{let{heading:a,children:i,forceMount:l,...n}=e,o=(0,C.useId)(),s=r.useRef(null),c=r.useRef(null),d=(0,C.useId)(),u=r.useContext(_),f=V(e=>!!l||!1===u.filter()||!e.search||e.filtered.groups.has(o));W(()=>u.group(o),[]),z(o,s,[e.value,e.heading,c]);let p=r.useMemo(()=>({id:o,forceMount:l}),[l]);return r.createElement(E.div,{ref:(0,g.composeRefs)(s,t),...n,"cmdk-group":"",role:"presentation",hidden:!f||void 0},a&&r.createElement("div",{ref:c,"cmdk-group-heading":"","aria-hidden":!0,id:d},a),q(e,e=>r.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":a?d:void 0},r.createElement(D.Provider,{value:p},e))))}),H=r.forwardRef((e,t)=>{let{alwaysRender:a,...i}=e,l=r.useRef(null),n=V(e=>!e.search);return a||n?r.createElement(E.div,{ref:(0,g.composeRefs)(l,t),...i,"cmdk-separator":"",role:"separator"}):null}),$=r.forwardRef((e,t)=>{let{onValueChange:a,...i}=e,l=null!=e.value,n=r.useContext(M),o=V(e=>e.search),s=V(e=>e.selectedItemId),c=r.useContext(_);return r.useEffect(()=>{null!=e.value&&n.setState("search",e.value)},[e.value]),r.createElement(E.input,{ref:t,...i,"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:l?e.value:o,onChange:e=>{l||n.setState("search",e.target.value),null==a||a(e.target.value)}})}),F=r.forwardRef((e,t)=>{let{children:a,label:i="Suggestions",...l}=e,n=r.useRef(null),o=r.useRef(null),s=V(e=>e.selectedItemId),c=r.useContext(_);return r.useEffect(()=>{if(o.current&&n.current){let e=o.current,t=n.current,r,a=new ResizeObserver(()=>{r=requestAnimationFrame(()=>{let r=e.offsetHeight;t.style.setProperty("--cmdk-list-height",r.toFixed(1)+"px")})});return a.observe(e),()=>{cancelAnimationFrame(r),a.unobserve(e)}}},[]),r.createElement(E.div,{ref:(0,g.composeRefs)(n,t),...l,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":s,"aria-label":i,id:c.listId},q(e,e=>r.createElement("div",{ref:(0,g.composeRefs)(o,c.listInnerRef),"cmdk-list-sizer":""},e)))}),L=r.forwardRef((e,t)=>{let{open:a,onOpenChange:i,overlayClassName:l,contentClassName:n,container:o,...s}=e;return r.createElement(v.Root,{open:a,onOpenChange:i},r.createElement(v.Portal,{container:o},r.createElement(v.Overlay,{"cmdk-overlay":"",className:l}),r.createElement(v.Content,{"aria-label":e.label,"cmdk-dialog":"",className:n},r.createElement(O,{ref:t,...s}))))}),U=Object.assign(O,{List:F,Item:P,Input:$,Group:k,Separator:H,Dialog:L,Empty:r.forwardRef((e,t)=>V(e=>0===e.filtered.count)?r.createElement(E.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Loading:r.forwardRef((e,t)=>{let{progress:a,children:i,label:l="Loading...",...n}=e;return r.createElement(E.div,{ref:t,...n,"cmdk-loading":"",role:"progressbar","aria-valuenow":a,"aria-valuemin":0,"aria-valuemax":100,"aria-label":l},q(e,e=>r.createElement("div",{"aria-hidden":!0},e)))})});function Q(e){let t=r.useRef(e);return W(()=>{t.current=e}),t}var W="u"e(t.snapshot());return r.useSyncExternalStore(t.subscribe,a,a)}function z(e,t,a,i=[]){let l=r.useRef(),n=r.useContext(_);return W(()=>{var r;let o=(()=>{var e;for(let t of a){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():l.current}})(),s=i.map(e=>e.trim());n.value(e,o,s),null==(r=t.current)||r.setAttribute(I,o),l.current=o}),l}var G=()=>{let[e,t]=r.useState(),a=B(()=>new Map);return W(()=>{a.current.forEach(e=>e()),a.current=new Map},[e]),(e,r)=>{a.current.set(e,r),t({})}};function q({asChild:e,children:t},a){let i;return e&&r.isValidElement(t)?r.cloneElement("function"==typeof(i=t.type)?i(t.props):"render"in i?i.render(t.props):t,{ref:t.ref},a(t.props.children)):a(t)}var Y={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};let K=(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 X=e.i(632137);function Z({className:e,...r}){return(0,t.jsx)(U,{"data-slot":"command",className:(0,X.cn)("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",e),...r})}function J({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)(K,{className:"size-4 shrink-0 opacity-50"}),(0,t.jsx)(U.Input,{"data-slot":"command-input",className:(0,X.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 ee({className:e,...r}){return(0,t.jsx)(U.List,{"data-slot":"command-list",className:(0,X.cn)("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",e),...r})}function et({className:e,...r}){return(0,t.jsx)(U.Group,{"data-slot":"command-group",className:(0,X.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 er({className:e,...r}){return(0,t.jsx)(U.Item,{"data-slot":"command-item",className:(0,X.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 ea=e.i(809058);e.s(["LocationInput",0,function({location:e,onChangeLocation:u,label:f="Search for a location",placeholder:p="Search city or zip code",className:m,error:h,disabled:v=!1}){let g=(0,a.useParams)(),y=g?.locale,[x,w]=(0,r.useState)(!1),[b,E]=(0,r.useState)(""),C=(0,s.default)(b.trim(),300),j=e?`${e.city}, ${e.adminDistrictCode||e.adminDistrict||e.displayContext}`:null,{isLoading:A,data:S}=(0,i.default)(C?["location-search",C,y]:null,([,e,t])=>(0,o.getLocationsByQuery)(e,t));return(0,t.jsxs)("div",{className:"w-full min-w-0",children:[(0,t.jsxs)(ea.Popover,{open:x,onOpenChange:w,children:[(0,t.jsx)(ea.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(d.Button,{variant:"outline",role:"combobox",disabled:v,"aria-expanded":x,"aria-invalid":!!h,className:(0,X.cn)("flex w-full justify-start gap-2 bg-white px-3 text-left font-normal text-gray-900",m,!!e&&"border-black",h&&"border-alert-severe"),children:[A?(0,t.jsx)(n.LoaderCircle,{className:"size-4 shrink-0 animate-spin","aria-hidden":"true",title:""}):(0,t.jsx)(l.Location,{className:"size-4 shrink-0","aria-hidden":"true",title:""}),(0,t.jsx)("span",{className:"flex-1 truncate",children:j??f})]})}),(0,t.jsx)(ea.PopoverContent,{side:"bottom",align:"start",collisionPadding:8,className:"w-(--radix-popover-trigger-width) p-0",showArrow:!1,children:(0,t.jsxs)(Z,{shouldFilter:!1,children:[(0,t.jsx)(J,{placeholder:p,value:b,onValueChange:E}),(0,t.jsx)(ee,{className:"max-h-[min(200px,46vh)] min-h-10",children:(0,t.jsx)(et,{children:S?.map(e=>(0,t.jsx)(er,{value:e.locId,onSelect:()=>{u(e),w(!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),a=e.i(206507);e.s(["useTrackEmailSubscription",0,()=>{let e="alert-subscription-changed",i=(0,t.useIsInitialized)(),l=(0,r.useEventAttributes)();return(0,a.useCallback)(({name:t,status:r})=>{let a={...l,name:t,status:r?"enabled":"disabled"};if(!i)return void console.warn("MParticle is not initialized");try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,a),console.debug(`MParticle: Event "${e}" tracked`,a)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[l,i])}])},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,a=e?.delayMs||500,i=null;for(let e=1;esetTimeout(e,r));continue}throw i}let s=await o.json();return t.info(`getAccount - Account found (attempt ${e}/${r}):`,s),s}catch(l){if(t.error(`getAccount - Error (attempt ${e}/${r}):`,l),l instanceof TypeError&&l.message.includes("fetch"))return t.error(`getAccount - Network error, treating as no account (attempt ${e}/${r})`),null;if(i=l instanceof Error?l:Error(String(l)),esetTimeout(e,r));continue}throw i}if(i)throw i;return null}async getCodeB(e,r,a,i){let l=i?.maxRetries||2,n=i?.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 f=await u.json();return t.info(`getCodeB - Success, codeB received (attempt ${e}/${l+1}):`,f.codeB?`codeB ${f.codeB}`:"missing"),f.codeB}catch(r){if(t.error(`getCodeB - Error (attempt ${e}/${l+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(155252),r=e.i(206507),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...l},n)=>(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:n,"aria-labelledby":r,"aria-describedby":i,...l,children:[a?(0,t.jsx)("desc",{id:i,children:a}):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"})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));l.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)(l,{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 n=e.i(877957),o=e.i(935331);e.s(["DisplayNameModal",0,function({isOpen:e,onClose:r,displayName:a,onDisplayNameChange:i,onSubmit:s,isSubmitting:c,error:d}){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)(l,{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:[d&&(0,t.jsx)("div",{className:"rounded-md bg-red-50 p-3 text-sm text-red-700",children:d}),(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:a,onChange:e=>i(e.target.value),placeholder:"Enter your display name",required:!0,minLength:3,maxLength:30,className:"w-full"})]}),(0,t.jsx)(n.Button,{type:"submit",disabled:c||!a.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)},790010,e=>{"use strict";var t=e.i(245943),r=e.i(45846),a=e.i(143851);e.s(["useUserSignup",0,function(){let{authSuccess:e,authRedirect:i}=(0,a.useUserLogin)();return{signup:async(a,i=!0)=>{try{let t=await (a.password?r.upsxClient.auth.register({email:a.email,password:a.password,firstName:a.firstName}):r.upsxClient.auth.registerPasswordless({email:a.email,firstName:a.firstName}));return await e({email:t.email,userID:t.userID,type:"signup"},i),{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:i}}])},558802,e=>{"use strict";var t=e.i(155252),r=e.i(206507),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":r,"aria-describedby":i,...l,children:[a?(0,t.jsx)("desc",{id:i,children:a}):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"})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));l.displayName="Locked",e.s(["Locked",0,l])},245308,e=>{"use strict";var t=e.i(155252),r=e.i(206507),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":r,"aria-describedby":i,...l,children:[a?(0,t.jsx)("desc",{id:i,children:a}):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"})]})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));l.displayName="View",e.s(["View",0,l])},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 a=t.replace(/(\d{4})-(\d{2})-(\d{2})/,"$1/$2/$3").replace("T"," ");return"Invalid Date"===new Date(a).toString()?"Invalid Date"!==new Date(t).toString()?t:"string"==typeof e?e:"":a}e.s(["getNormalizedDateString",0,t],796424);var r=e.i(873598);e.s(["getCompatibleValues",0,({date:e,timeZone:a})=>({cDate:new Date(t(e)),cTimeZone:(0,r.getCompatibleTimezone)(a)})],506424)},289607,e=>{"use strict";var t=e.i(506424);let r=(e,r,a,i)=>{let{cDate:l,cTimeZone:n}=(0,t.getCompatibleValues)({date:e,locale:r,timeZone:a}),o=i??{year:"numeric",month:"2-digit",day:"2-digit",weekday:"short"};return o.timeZone=n,{cDate:l,cTimeZone:n,formatOptions:o}};e.s(["formatIntlDateParts",0,(e,t,a,i)=>{if(!e)return[];let{cDate:l,formatOptions:n}=r(e,t,a,i);return new Intl.DateTimeFormat(t,n).formatToParts(l)},"formatIntlDateString",0,(e,t,a,i)=>{if(!e)return"";let{cDate:l,formatOptions:n}=r(e,t,a,i);return new Intl.DateTimeFormat(t,n).format(l)}])},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)},438335,e=>{"use strict";var t=e.i(571195);let r=/^[a-z][a-z0-9+.-]*:\/\//i,a=/[?#]/,i=/\/{2,}/g,l=e=>{if(!e)return e;let t=e.match(r),l=t?t[0].length:0,n=e.slice(0,l),o=e.slice(l),s=o.search(a),c=-1===s?o:o.slice(0,s),d=-1===s?"":o.slice(s);return n+c.replace(i,"/")+d},n=/\/+$/;e.s(["getPublicProductionURL",0,e=>{let r=t.default.env.VERCEL_TARGET_ENV_PRODUCTION_URL??"weather.com",a=t.default.env.VERCEL_PROJECT_PRODUCTION_URL??"weather.com",i=`https://${r??a}`;return(i=i.replace(n,""),e)?l(new URL(e,i).toString()):i},"getPublicURL",0,e=>{let r,a=(t.default.env.VERCEL_TARGET_ENV??"production")?.toLowerCase(),i=t.default.env.VERCEL_BRANCH_URL??"wx-next-web-git-releasebranch2026-07-0202.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(a){case"preview":r=`https://${i}`;break;case"development":r=s?`http://${o}`:`https://${o}`;break;default:r=`https://${o}`}return(r=r.replace(n,""),e)?l(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(155252),r=e.i(752496);e.s(["DebugCollector",0,function({enabled:e=!0,...a}){return e?(0,t.jsx)(r.DebugCollectorClient,{...a}):null}])}]);