(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]||(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]=[])).push(["object"==typeof document?document.currentScript:void 0,982538,e=>{"use strict";var t=e.i(247865);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(e){let a=t.forwardRef((a,i)=>{var o;let I,_,{children:E,...N}=a,R=null,T=!1,A=[];s(E)&&"function"==typeof u&&(E=u(E._payload)),t.Children.forEach(E,e=>{var r;if(r=e,t.isValidElement(r)&&"function"==typeof r.type&&"__radixId"in r.type&&r.type.__radixId===n){T=!0;let t="child"in e.props?e.props.child:e.props.children;s(t)&&"function"==typeof u&&(t=u(t._payload)),R=l(e,t),A.push(R?.props?.children)}else A.push(e)}),R?R=t.cloneElement(R,void 0,A):!T&&1===t.Children.count(E)&&t.isValidElement(E)&&(R=E);let p=R?(o=R,(_=(I=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in I&&I.isReactWarning)?o.ref:(_=(I=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in I&&I.isReactWarning)?o.props.ref:o.props.ref||o.ref):void 0,m=function(...e){return t.useCallback(function(...e){return t=>{let a=!1,i=e.map(e=>{let i=r(e,t);return a||"function"!=typeof i||(a=!0),i});if(a)return()=>{for(let t=0;t{let t=n(...e);return i(...e),t}:i&&(r[a]=i):"style"===a?r[a]={...i,...n}:"className"===a&&(r[a]=[i,n].filter(Boolean).join(" "))}return{...e,...r}}(N,R.props??{});return R.type!==t.Fragment&&(f.ref=i?m:p),t.cloneElement(R,f)});return a.displayName=`${e}.Slot`,a}var i=a("Slot"),n=Symbol.for("radix.slottable"),l=(e,r)=>{if("child"in e.props){let r=e.props.child;return t.isValidElement(r)?t.cloneElement(r,void 0,e.props.children(r.props.children)):null}return t.isValidElement(r)?r:null},o=Symbol.for("react.lazy");function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===o&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var c=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,d=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,u=t[" use ".trim().toString()];e.s(["Slot",0,i,"createSlot",0,a,"createSlottable",0,function(e){let t=e=>"child"in e?e.children(e.child):e.children;return t.displayName=`${e}.Slottable`,t.__radixId=n,t}],982538)},294237,e=>{"use strict";var t=e.i(7284);let r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=t.clsx;e.s(["cva",0,(e,t)=>i=>{var n;if((null==t?void 0:t.variants)==null)return a(e,null==i?void 0:i.class,null==i?void 0:i.className);let{variants:l,defaultVariants:o}=t,s=Object.keys(l).map(e=>{let t=null==i?void 0:i[e],a=null==o?void 0:o[e];if(null===t)return null;let n=r(t)||r(a);return l[e][n]}),c=i&&Object.entries(i).reduce((e,t)=>{let[r,a]=t;return void 0===a||(e[r]=a),e},{});return a(e,s,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:a,...i}=t;return Object.entries(i).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...c}[t]):({...o,...c})[t]===r})?[...e,r,a]:e},[]),null==i?void 0:i.class,null==i?void 0:i.className)}])},581014,e=>{"use strict";var t=e.i(730921);function r(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let a=r(0,t.useTranslations),i=r(0,t.useFormatter);e.s(["useFormatter",0,i,"useTranslations",0,a])},949920,e=>{"use strict";var t=e.i(381477);let r=(0,e.i(66396).withMiddleware)(t.default,e=>(t,r,a)=>(a.revalidateOnFocus=!1,a.revalidateIfStale=!1,a.revalidateOnReconnect=!1,e(t,r,a)));e.s(["default",0,r])},990033,e=>{"use strict";let t,r="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),a=new Uint8Array(16),i=[];for(let e=0;e= 16");if(c[6]=15&c[6]|64,c[8]=63&c[8]|128,n){if((s=s||0)n.length)throw RangeError(`UUID byte range ${s}:${s+15} is out of buffer bounds`);for(let e=0;e{"use strict";function a(e){return Math.PI/180*e}function i(e,t,r,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(i))return NaN;if(e===r&&t===i)return 0;let n=a(r-e),l=a(i-t),o=Math.sin(n/2)*Math.sin(n/2)+Math.cos(a(e))*Math.cos(a(r))*Math.sin(l/2)*Math.sin(l/2);return 2*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))*6371}function n(e,t,r){let a=-90,i=90,n=-180,l=180,o="",s=0,c=0,d=!0;for(;o.length=e?(c=(c=t?(c=(c{"use strict";function a(e){let t=new URLSearchParams;for(let[r,a]of Object.entries(e))void 0!==a&&t.append(r,a);return t}Object.defineProperty(r,"__esModule",{value:!0}),r.queryStringToSearchParams=a,r.urlFrom=function({host:e,...t}){if(!e)throw Error("Host is missing");let r=new URL(`https://${e}`);return Object.assign(r,{...t,hostname:e}),t.query&&(r.search=a(t.query).toString()),r}},889951,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getCurrentObservations=s;let a=e.r(979777),i=e.r(678651),n=e.r(414655),l=e.r(861160),o=e.r(349262);async function s(e){let t=(0,a.getCurrentObservationsUrlConfig)(e),r=(0,i.urlFrom)(t),s=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}}),c=await (0,n.handleFetchResponse)(s);return{...c,pressureMeanSeaLevel:e.units===o.Units.IMPERIAL?c.pressureMeanSeaLevel/33.8639:c.pressureMeanSeaLevel,windDirectionCardinal:(0,l.normalizeCardinal)(c.windDirectionCardinal)}}},979777,(e,t,r)=>{"use strict";e.i(288906),Object.defineProperty(r,"__esModule",{value:!0}),r.getCurrentObservationsUrlConfig=function({geocode:e,placeId:t,units:r,language:a}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/observations/current",query:{geocode:e,placeid:t,units:r,language:a,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getTropicalConeUrlConfig=function({stormId:e,units:t,language:r,nautical:a}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/tropical/cone",query:{stormId:e,units:t,language:r,nautical:a,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getTropicalObservationsCurrentPositionUrlConfig=function({nautical:e,source:t,basin:r,units:a,language:i}){return{host:"api.weather.com",protocol:"https",pathname:"/v2/tropical/currentposition",query:{nautical:e,source:t,basin:r,units:a,language:i,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}},349262,(e,t,r)=>{"use strict";var a,i,n,l,o,s,c,d,u,I,_,E,N,R,T,A,p,m,f,S;Object.defineProperty(r,"__esModule",{value:!0}),r.ICON_CODE_MAP=r.ICON_CODE_EXTENDED=r.IconCodeExtended=r.IconCode=r.CloudCoverPhrase=r.PressureTendencyCode=r.UVDescription=r.WindDirectionCardinal=r.DayOrNight=r.HourlyForecastDuration=r.ForecastDuration=r.Units=void 0,(_=a||(r.Units=a={})).IMPERIAL="e",_.METRIC="m",_.HYBRID="h",(E=i||(r.ForecastDuration=i={})).THREE_DAY="3day",E.FIVE_DAY="5day",E.SEVEN_DAY="7day",E.TEN_DAY="10day",E.FIFTEEN_DAY="15day",(N=n||(r.HourlyForecastDuration=n={})).SIX_HOUR="6hour",N.TWELVE_HOUR="12hour",N.ONE_DAY="1day",N.TWO_DAY="2day",N.THREE_DAY="3day",N.TEN_DAY="10day",N.FIFTEEN_DAY="15day",(R=l||(r.DayOrNight=l={})).DAY="D",R.NIGHT="N",R.MISSING="X",(T=o||(r.WindDirectionCardinal=o={})).NORTH="N",T.NORTH_NORTHEAST="NNE",T.NORTHEAST="NE",T.EAST_NORTHEAST="ENE",T.EAST="E",T.EAST_SOUTHEAST="ESE",T.SOUTHEAST="SE",T.SOUTH_SOUTHEAST="SSE",T.SOUTH="S",T.SOUTH_SOUTHWEST="SSW",T.SOUTHWEST="SW",T.WEST_SOUTHWEST="WSW",T.WEST="W",T.WEST_NORTHWEST="WNW",T.NORTHWEST="NW",T.NORTH_NORTHWEST="NNW",T.CALM="CALM",(A=s||(r.UVDescription=s={})).NOT_AVAILABLE="-2",A.NO_REPORT="-1",A.LOW="Low",A.MODERATE="Moderate",A.HIGH="High",A.VERY_HIGH="Very High",A.EXTREME="Extreme",(p=c||(r.PressureTendencyCode=c={}))[p.STEADY=0]="STEADY",p[p.RISING=1]="RISING",p[p.FALLING=2]="FALLING",p[p.RAPIDLY_RISING=3]="RAPIDLY_RISING",p[p.RAPIDLY_FALLING=4]="RAPIDLY_FALLING",(m=d||(r.CloudCoverPhrase=d={})).CLEAR="Clear",m.PARTLY_CLOUDY="Partly Cloudy",m.MOSTLY_CLOUDY="Mostly Cloudy",m.CLOUDY="Cloudy",(f=u||(r.IconCode=u={}))[f.TORNADO=0]="TORNADO",f[f.TROPICAL_STORM=1]="TROPICAL_STORM",f[f.HURRICANE=2]="HURRICANE",f[f.STRONG_STORMS=3]="STRONG_STORMS",f[f.THUNDERSTORMS=4]="THUNDERSTORMS",f[f.RAIN_SNOW_WINTERY_MIX=5]="RAIN_SNOW_WINTERY_MIX",f[f.RAIN_SLEET=6]="RAIN_SLEET",f[f.RAIN_SNOW_WINTERY_MIX_ALT=7]="RAIN_SNOW_WINTERY_MIX_ALT",f[f.FREEZING_DRIZZLE_RAIN=8]="FREEZING_DRIZZLE_RAIN",f[f.DRIZZLE=9]="DRIZZLE",f[f.FREEZING_DRIZZLE_RAIN_ALT=10]="FREEZING_DRIZZLE_RAIN_ALT",f[f.SHOWERS=11]="SHOWERS",f[f.RAIN=12]="RAIN",f[f.FLURRIES=13]="FLURRIES",f[f.SNOW_SHOWERS=14]="SNOW_SHOWERS",f[f.BLOWING_DRIFTING_SNOW=15]="BLOWING_DRIFTING_SNOW",f[f.SNOW=16]="SNOW",f[f.HAIL=17]="HAIL",f[f.SLEET=18]="SLEET",f[f.BLOWING_DUST_SANDSTORM=19]="BLOWING_DUST_SANDSTORM",f[f.FOGGY=20]="FOGGY",f[f.HAZE=21]="HAZE",f[f.SMOKE=22]="SMOKE",f[f.BREEZY=23]="BREEZY",f[f.WINDY=24]="WINDY",f[f.BLOWING_DRIFTING_SNOW_ALT=25]="BLOWING_DRIFTING_SNOW_ALT",f[f.CLOUDY=26]="CLOUDY",f[f.MOSTLY_CLOUDY_NIGHT=27]="MOSTLY_CLOUDY_NIGHT",f[f.MOSTLY_CLOUDY_DAY=28]="MOSTLY_CLOUDY_DAY",f[f.PARTLY_CLOUDY_NIGHT=29]="PARTLY_CLOUDY_NIGHT",f[f.PARTLY_CLOUDY_DAY=30]="PARTLY_CLOUDY_DAY",f[f.CLEAR_NIGHT=31]="CLEAR_NIGHT",f[f.SUNNY=32]="SUNNY",f[f.MOSTLY_CLEAR_NIGHT=33]="MOSTLY_CLEAR_NIGHT",f[f.MOSTLY_CLEAR_DAY=34]="MOSTLY_CLEAR_DAY",f[f.MIXED_RAIN_HAIL=35]="MIXED_RAIN_HAIL",f[f.SUNNY_ALT=36]="SUNNY_ALT",f[f.ISOLATED_THUNDERSTORMS=37]="ISOLATED_THUNDERSTORMS",f[f.SCATTERED_THUNDERSTORMS_DAY=38]="SCATTERED_THUNDERSTORMS_DAY",f[f.SCATTERED_SHOWERS_DAY=39]="SCATTERED_SHOWERS_DAY",f[f.HEAVY_RAIN=40]="HEAVY_RAIN",f[f.SCATTERED_SNOW_SHOWERS_DAY=41]="SCATTERED_SNOW_SHOWERS_DAY",f[f.HEAVY_SNOW_BLIZZARD=42]="HEAVY_SNOW_BLIZZARD",f[f.HEAVY_SNOW_BLIZZARD_ALT=43]="HEAVY_SNOW_BLIZZARD_ALT",f[f.NA=44]="NA",f[f.SCATTERED_SHOWERS_NIGHT=45]="SCATTERED_SHOWERS_NIGHT",f[f.SCATTERED_SNOW_SHOWERS_NIGHT=46]="SCATTERED_SNOW_SHOWERS_NIGHT",f[f.SCATTERED_THUNDERSTORMS_NIGHT=47]="SCATTERED_THUNDERSTORMS_NIGHT",(S=I||(r.IconCodeExtended=I={}))[S.STRONG_STORMS=300]="STRONG_STORMS",S[S.STRONG_STORMS_WIND=310]="STRONG_STORMS_WIND",S[S.FREEZING_RAIN=1e3]="FREEZING_RAIN",S[S.LIGHT_FREEZING_RAIN=1001]="LIGHT_FREEZING_RAIN",S[S.HEAVY_FREEZING_RAIN=1002]="HEAVY_FREEZING_RAIN",S[S.FREEZING_RAIN_WIND=1010]="FREEZING_RAIN_WIND",S[S.LIGHTFREEZING_RAIN_WIND=1011]="LIGHTFREEZING_RAIN_WIND",S[S.HEAVY_FREEZING_RAIN_WIND=1012]="HEAVY_FREEZING_RAIN_WIND",S[S.LIGHT_FREEZING_RAIN_FOG=1051]="LIGHT_FREEZING_RAIN_FOG",S[S.SLEET=1800]="SLEET",S[S.LIGHT_SLEET=1801]="LIGHT_SLEET",S[S.SLEET_WIND=1810]="SLEET_WIND",S[S.LIGHT_SLEET_WIND=1811]="LIGHT_SLEET_WIND",S[S.SCATTERED_THUNDERSTORMS_WIND=3819]="SCATTERED_THUNDERSTORMS_WIND",S[S.HEAVY_SNOW=4200]="HEAVY_SNOW",S[S.HEAVY_SNOW_WIND=4210]="HEAVY_SNOW_WIND",S[S.BLIZZARD=4300]="BLIZZARD",S[S.FREEZING_RAIN_SLEET=5100]="FREEZING_RAIN_SLEET",S[S.LIGHT_FREEZING_RAIN_SLEET=5101]="LIGHT_FREEZING_RAIN_SLEET",S[S.FREEZING_RAIN_SLEET_WIND=5110]="FREEZING_RAIN_SLEET_WIND",S[S.LIGHT_FREEZING_RAIN_SLEET_WIND=5111]="LIGHT_FREEZING_RAIN_SLEET_WIND",S[S.RAIN_FREEZING_RAIN=5300]="RAIN_FREEZING_RAIN",S[S.LIGHT_RAIN_FREEZING_RAIN=5301]="LIGHT_RAIN_FREEZING_RAIN",S[S.HEAVY_RAIN_FREEZING_RAIN=5302]="HEAVY_RAIN_FREEZING_RAIN",S[S.RAIN_FREEZING_RAIN_WIND=5310]="RAIN_FREEZING_RAIN_WIND",S[S.LIGHT_RAIN_FREEZING_RAIN_WIND=5311]="LIGHT_RAIN_FREEZING_RAIN_WIND",S[S.HEAVY_RAIN_FREEZING_RAIN_WIND=5312]="HEAVY_RAIN_FREEZING_RAIN_WIND",S[S.LIGHT_RAIN_FREEZING_RAIN_FOG=5351]="LIGHT_RAIN_FREEZING_RAIN_FOG",S[S.THUNDER_SNOW=5600]="THUNDER_SNOW",S[S.THUNDER_SNOW_WIND=5610]="THUNDER_SNOW_WIND",S[S.SCATTERED_STRONG_STORMS=5709]="SCATTERED_STRONG_STORMS",S[S.SCATTERED_STRONG_STORMS_WIND=5719]="SCATTERED_STRONG_STORMS_WIND",S[S.RAIN_ICE_EARLY=6500]="RAIN_ICE_EARLY",S[S.LIGHT_RAIN_ICE_EARLY=6501]="LIGHT_RAIN_ICE_EARLY",S[S.AM_RAIN_ICE=6503]="AM_RAIN_ICE",S[S.AM_LIGHT_RAIN_ICE=6504]="AM_LIGHT_RAIN_ICE",S[S.RAIN_ICE_WIND_EARLY=6510]="RAIN_ICE_WIND_EARLY",S[S.LIGHT_RAIN_ICE_WIND_EARLY=6511]="LIGHT_RAIN_ICE_WIND_EARLY",S[S.AM_RAIN_ICE_WIND=6513]="AM_RAIN_ICE_WIND",S[S.AM_LIGHT_RAIN_ICE_WIND=6514]="AM_LIGHT_RAIN_ICE_WIND",S[S.ICE_EARLY=6600]="ICE_EARLY",S[S.AM_ICE=6603]="AM_ICE",S[S.ICE_WIND_EARLY=6610]="ICE_WIND_EARLY",S[S.AM_ICE_WIND=6613]="AM_ICE_WIND",S[S.RAIN_ICE_LATE=7500]="RAIN_ICE_LATE",S[S.LIGHT_RAIN_ICE_LATE=7501]="LIGHT_RAIN_ICE_LATE",S[S.PM_RAIN_ICE=7503]="PM_RAIN_ICE",S[S.PM_LIGHT_RAIN_ICE=7504]="PM_LIGHT_RAIN_ICE",S[S.RAIN_ICE_WIND_LATE=7510]="RAIN_ICE_WIND_LATE",S[S.LIGHT_RAIN_ICE_WIND_LATE=7511]="LIGHT_RAIN_ICE_WIND_LATE",S[S.PM_RAIN_ICE_WIND=7513]="PM_RAIN_ICE_WIND",S[S.PM_LIGHT_RAIN_ICE_WIND=7514]="PM_LIGHT_RAIN_ICE_WIND",S[S.ICE_LATE=7600]="ICE_LATE",S[S.PM_ICE=7603]="PM_ICE",S[S.ICE_WIND_LATE=7610]="ICE_WIND_LATE",S[S.PM_ICE_WIND=7613]="PM_ICE_WIND",S[S.RAIN_TO_ICE=8100]="RAIN_TO_ICE",S[S.RAIN_TO_ICE_WIND=8110]="RAIN_TO_ICE_WIND",S[S.ICE_TO_RAIN=8500]="ICE_TO_RAIN",S[S.ICE_TO_RAIN_WIND=8510]="ICE_TO_RAIN_WIND",r.ICON_CODE_EXTENDED={300:"STRONG_STORMS",310:"STRONG_STORMS-WIND",1e3:"FREEZING_RAIN",1001:"LIGHT_FREEZING_RAIN",1002:"HEAVY_FREEZING_RAIN",1010:"FREEZING_RAIN-WIND",1011:"LIGHTFREEZING_RAIN-WIND",1012:"HEAVY_FREEZING_RAIN-WIND",1051:"LIGHT_FREEZING_RAIN-FOG",1800:"SLEET",1801:"LIGHT_SLEET",1810:"SLEET-WIND",1811:"LIGHT_SLEET-WIND",3819:"SCATTERED_THUNDERSTORMS-WIND",4200:"HEAVY_SNOW",4210:"HEAVY_SNOW-WIND",4300:"BLIZZARD",5100:"FREEZING_RAIN-SLEET",5101:"LIGHT_FREEZING_RAIN-SLEET",5110:"FREEZING_RAIN-SLEET-WIND",5111:"LIGHT_FREEZING_RAIN-SLEET-WIND",5300:"RAIN-FREEZING_RAIN",5301:"LIGHT_RAIN-FREEZING_RAIN",5302:"HEAVY_RAIN-FREEZING_RAIN",5310:"RAIN-FREEZING_RAIN-WIND",5311:"LIGHT_RAIN-FREEZING_RAIN-WIND",5312:"HEAVY_RAIN-FREEZING_RAIN-WIND",5351:"LIGHT_RAIN-FREEZING_RAIN-FOG",5600:"THUNDER_SNOW",5610:"THUNDER_SNOW-WIND",5709:"SCATTERED_STRONG_STORMS",5719:"SCATTERED_STRONG_STORMS-WIND",6500:"RAIN-ICE_EARLY",6501:"LIGHT_RAIN-ICE_EARLY",6503:"AM_RAIN-ICE",6504:"AM_LIGHT_RAIN-ICE",6510:"RAIN-ICE-WIND_EARLY",6511:"LIGHT_RAIN-ICE-WIND_EARLY",6513:"AM_RAIN-ICE-WIND",6514:"AM_LIGHT_RAIN-ICE-WIND",6600:"ICE_EARLY",6603:"AM_ICE",6610:"ICE-WIND_EARLY",6613:"AM_ICE-WIND",7500:"RAIN-ICE_LATE",7501:"LIGHT_RAIN-ICE_LATE",7503:"PM_RAIN-ICE",7504:"PM_LIGHT_RAIN-ICE",7510:"RAIN-ICE-WIND_LATE",7511:"LIGHT_RAIN-ICE-WIND_LATE",7513:"PM_RAIN-ICE-WIND",7514:"PM_LIGHT_RAIN-ICE-WIND",7600:"ICE_LATE",7603:"PM_ICE",7610:"ICE-WIND_LATE",7613:"PM_ICE-WIND",8100:"RAIN_TO_ICE",8110:"RAIN_TO_ICE-WIND",8500:"ICE_TO_RAIN",8510:"ICE_TO_RAIN-WIND"},r.ICON_CODE_MAP={0:"tornado",1:"tropical-storm",2:"hurricane",3:"strong-storms",4:"thunderstorms",5:"rain-snow-wintery-mix",6:"rain-sleet",7:"rain-snow-wintery-mix",8:"freezing-drizzle-rain",9:"drizzle",10:"freezing-drizzle-rain",11:"showers",12:"rain",13:"flurries",14:"snow-showers",15:"blowing-drifting-snow",16:"snow",17:"hail",18:"sleet",19:"blowing-dust-sandstorm",20:"foggy",21:"haze",22:"smoke",23:"breezy",24:"windy",25:"blowing-drifting-snow",26:"cloudy",27:"mostly-cloudy-night",28:"mostly-cloudy-day",29:"partly-cloudy-night",30:"partly-cloudy-day",31:"clear-night",32:"sunny",33:"mostly-clear-night",34:"mostly-clear-day",35:"mixed-rain-hail",36:"sunny",37:"isolated-thunderstorms",38:"scattered-thunderstorms-day",39:"scattered-showers-day",40:"heavy-rain",41:"scattered-snow-showers-day",42:"heavy-snow-blizzard",43:"heavy-snow-blizzard",44:"na",45:"scattered-showers-night",46:"scattered-snow-showers-night",47:"scattered-thunderstorms-night"}},861160,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.normalizeCardinal=void 0;let a=e.r(349262),i={O:a.WindDirectionCardinal.WEST,NO:a.WindDirectionCardinal.NORTHWEST,NNO:a.WindDirectionCardinal.NORTH_NORTHWEST,ONO:a.WindDirectionCardinal.WEST_NORTHWEST,OSO:a.WindDirectionCardinal.WEST_SOUTHWEST,SO:a.WindDirectionCardinal.SOUTHWEST,SSO:a.WindDirectionCardinal.SOUTH_SOUTHWEST};r.normalizeCardinal=e=>i[e]||e},89887,e=>{"use strict";function t(e,t){let r="/"+e.split("/").filter(Boolean).slice(1).join("/");return"en-US"===t?r:`/${t}${r}`}e.s(["buildLocationCanonicalBase",0,t,"buildLocationCanonicalPath",0,function(e,r,a){return`${t(e,r)}/${a}`}])},611540,e=>{"use strict";e.i(438335);let t=(e,...t)=>{if(!e)return"";let[r={},a=!1]=t,i=Object.entries(r).reduce((e,[t,r])=>void 0===r?e:e.replaceAll(`{${t}}`,r),e);return a?i:"/en-US"===i?"/":i.replace("/en-US/","/")};e.s(["URLS",0,{BannerTextHref:"/subscribe/checkout?products=e251f39b-afd7-4ad9-9c87-5e2a8ed63fbb&tpcc=mktg-{pageKey}-mainmenu-mobilebanner",activityHubCamping:"/{locale}/activity-hub/camping/{locId}",activityHubCycling:"/{locale}/activity-hub/cycling/{locId}",activityHubGardening:"/{locale}/activity-hub/gardening/{locId}",activityHubGolf:"/{locale}/activity-hub/golf/{locId}",activityHubHiking:"/{locale}/activity-hub/hiking/{locId}",activityHubPage:"/{locale}/activity-hub/{locId}",activityHubRunning:"/{locale}/activity-hub/running/{locId}",activityHubTennis:"/{locale}/activity-hub/tennis/{locId}",airQuality:"/{locale}/forecast/air-quality/l/{locId}",alertDetails:"/{locale}/weather/alerts/localalerts/l/{locId}",alerts:"/{locale}/weather/alerts/localalerts/l/{locId}",allergy:"/{locale}/forecast/allergy/l/{locId}",apps:"/{locale}/{collectionId}/{assetName}",article:"/{locale}/{collectionId}/news/{articleTitle}",atmosphere:"/atmosphere",betterDecisions:"/mission",boatBeach:"/{locale}/forecast/boat-beach/l/{locId}",breathing:"/{locale}/forecast/breathing/l/{locId}",callforcode:"/callforcode",christmasCountdown:"/forecast/christmas-countdown/l/{locId}",coldFlu:"/{locale}/forecast/cold-flu/l/{locId}",covid19:"/{locale}/coronavirus/l/{locId}",covid19map:"/{locale}/coronavirus/map/l/{locId}",dataDefinitions:"/{locale}/data-definitions",dataInventory:"/{locale}/data-inventory",dataPartners:"/{locale}/data-partners",dataRights:"/{locale}/data-rights",explore:"/explore",farming:"/{locale}/forecast/agriculture/l/{locId}",fishing:"/{locale}/forecast/fishing/l/{locId}",fiveday:"/{locale}/weather/5day/l/{locId}",flights:"/flights",forgotPassword:"/{locale}/forgot-password",goRun:"/{locale}/forecast/gorun/l/{locId}",grilling:"/home-garden/grilling",home:"/{locale}",homeGarden:"/home-garden",hourly:"/{locale}/weather/hourbyhour/l/{locId}",hurricane:"/{locale}/hurricane",hurricaneCentral:"/storms/hurricane-central",hurricaneHub:"/hurricane/ian-2022",hurricaneNicole:"/hurricane/nicole-2022",hurricaneRetro:"/hurricane/sandy-2012",interactiveMap:"/{locale}/weather/radar/interactive/l/{locId}",legal:"/{locale}/{collectionId}/{assetName}",maps:"/maps/{collectionId}",memberLogin:"/{locale}/login",memberSettings:"/{locale}/member/settings",memberSignup:"/{locale}/signup",memberSubscription:"/{locale}/member/subscription",memorialdayCountdown:"/forecast/memorial-day-countdown/l/{locId}",mlbCountdown:"/{locale}/forecast/opening-day-countdown/l/{locId}",monthly:"/{locale}/weather/monthly/l/{locId}",myDashboard:"/{locale}/mydashboard",news:"/news",newsletter:"/{locale}/newsletter",notification:"/{locale}/life/manage-notifications",pets:"/pets",precipitation:"/{locale}/precipitation/l/{locId}",privacyPolicy:"/{locale}/privacy/privacy-policy",privacyPolicyDirectory:"/{locale}/privacy-policy-directory",privacySettings:"/{locale}/privacy-settings",radar:"/{locale}/weather/radar/interactive/l/{locId}",recipes:"/home-garden/recipes",resetPassword:"/{locale}/reset-password",rss:"/rss",safetyIndex:"/safety/index",samsungWeatherConditions:"/{locale}/weather-conditions/l/{locId}",scienceEnvironment:"/science/environment",search:"/{locale}/search/enhancedlocalsearch",shop:"https://shop.weather.com/",ski:"/{locale}/forecast/ski/l/{locId}",skinHealth:"/health/skin-health",slideshows:"/{locale}/slideshows",spaceSkywatching:"/science/space",stormRadar:"//apps.apple.com/us/app/storm-radar-weather-tracker/id1216396545",stormRadarFeatures:"/storm-radar",subsBundles:"/subscribe/bundle",subscriptionPhase2:"/{locale}/subscribe/phase2",tenday:"/{locale}/weather/tenday/l/{locId}",termsOfUse:"/{locale}/privacy/terms-of-use",thanksgivingCountdown:"/forecast/thanksgiving-countdown/l/{locId}",today:"/{locale}/weather/today/l/{locId}",tornadoCentral:"/storms/tornado-central",travel:"/travel",unsubscribe:"/{locale}/life/alerts/unsubscribe",usForecast:"/maps/currentusweather",usHealth:"/maps/health/allergies/treepollen",usSatAndRadar:"/maps/ussatellitemap",usSevereAlerts:"/maps/severealerts",usTravel:"/maps/travel/airport-delays",userSubscription:"/{locale}/subscribe",video:"/{locale}/{collectionId}/video/{videoTitle}",weatherAsProviderExplainer:"https://theweathercompany.info/{locale}/partners",weekend:"/{locale}/weather/weekend/l/{locId}",worldSatellite:"/maps/satellite/caribbeanweathermap",wu:"//www.wunderground.com",yesterday:"//www.wunderground.com/history/daily/{locId}/yesterday"},"interpolateLocationUrl",0,(e,{locale:r,locId:a,featureId:i})=>t(e,{locale:r,locId:(i?.startsWith("address.")?void 0:i)??a}),"interpolateUrl",0,t],611540)},747961,e=>{"use strict";var t=e.i(902875),r=e.i(247865),a=e.i(294237),i=e.i(789876);let n=(0,a.cva)("inline-block",{variants:{size:{sm:"w-4 h-4",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-16 h-16",xxl:"w-32 h-32"},color:{primary:"text-gray-900",brandDark:"text-brand-dark",brandLight:"text-brand-light",inverse:"text-white"}},defaultVariants:{size:"md",color:"primary"}}),l=r.default.forwardRef(({icon:e,size:r,color:a,title:l,desc:o,className:s,ariaHidden:c,...d},u)=>(0,t.jsx)(e,{ref:u,className:(0,i.cn)(n({size:r,color:a}),s),title:l,desc:o,...c&&{"aria-hidden":c},...d}));l.displayName="BaseIcon",e.s(["BaseIcon",0,l])},789876,e=>{"use strict";var t=e.i(7284);let r=(0,e.i(923191).extendTailwindMerge)({extend:{classGroups:{"font-size":[{text:["xxs"]}]},theme:{color:[{brand:["100","200","300","400","dark","light"]}]}}});e.s(["cn",0,function(...e){return r((0,t.clsx)(e))}])},47524,e=>{"use strict";var t=e.i(902875),r=e.i(247865),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...n},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":i,...n,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Chevron Right"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M10.414 7.643c.26.26.26.682 0 .943l-4.178 4.178a.495.495 0 1 1-.7-.7l3.95-3.95-3.95-3.95a.495.495 0 1 1 .7-.7z"})]})),n=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));n.displayName="ChevronRight",e.s(["ChevronRight",0,n])},226602,e=>{"use strict";var t=e.i(902875),r=e.i(247865),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...n},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":i,...n,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Close"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12.809 4.113a.652.652 0 1 0-.922-.922L8 7.078 4.113 3.19a.652.652 0 1 0-.922.922L7.078 8 3.19 11.887a.652.652 0 0 0 .922.922L8 8.922l3.887 3.887a.652.652 0 1 0 .922-.922L8.922 8z"})]})),n=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));n.displayName="Close",e.s(["Close",0,n])},559421,e=>{"use strict";var t=e.i(725287),r=e.i(89887),a=e.i(64412),i=e.i(942400),n=e.i(269153),l=e.i(512134);e.i(388706),e.s(["useCanonicalBasePath",0,function(){let e=(0,t.useParams)(),o=(0,t.usePathname)(),{location:s}=(0,a.useLocation)(),c=(0,i.usePageLocale)(),d=(0,n.useIsSamsungPartner)();if(!(0,l.useIsClient)()||d)return;let u=e?.canonicalLocation,I=e?.featureId;if(!(u?.length||I&&!o.includes("/l/")))return;let _=s?.canonicalID;if(_)return(0,r.buildLocationCanonicalBase)(_,c);if(o.includes("/byFeatureId/"))return;let E=/\/day-\d+$/.test(o)?o.substring(0,o.lastIndexOf("/")):o;return E.substring(0,E.lastIndexOf("/"))}])},262453,214008,352711,e=>{"use strict";var t=e.i(546446),r=e.i(150137);e.s(["usePreciseGeocode",0,function(){return(0,t.useAtomValue)(r.preciseGeocodeAtom)}],262453);var a=e.i(726249);e.s(["isSameLocation",0,function(e,t){if(!e||!t)return!1;let r=(0,a.locationDedupKey)(e);return!!r&&r===(0,a.locationDedupKey)(t)}],214008);var i=e.i(902875),n=e.i(247865),l=e.i(725287),o=e.i(553329),s=e.i(695881),c=e.i(88349);let d=(0,s.createLogger)("useRequestPreciseLocation");var u=e.i(942400),I=e.i(520938),_=e.i(671525),E=e.i(426606),N=e.i(747961);let R=(0,n.forwardRef)(({title:e,titleId:t,desc:r,descId:a,...n},l)=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":t,"aria-describedby":a,...n,children:[r?(0,i.jsx)("desc",{id:a,children:r}):null,void 0===e?(0,i.jsx)("title",{id:t,children:"Current Location Lost"}):e?(0,i.jsx)("title",{id:t,children:e}):null,(0,i.jsx)("g",{fill:"currentColor",children:(0,i.jsx)("path",{d:"M15 14.295 1.705 1 1 1.705l4 4L1.33 7.03a.5.5 0 0 0-.323.467.5.5 0 0 0 .323.468l4.8 1.92 1.92 4.8A.5.5 0 0 0 8.5 15a.5.5 0 0 0 .46-.33L10.3 11l4 4zm-6.522-1.197L6.885 9.115 2.902 7.522 4.335 7l1.435-.5 3.73 3.73-.5 1.435zM7.845 5.725l3.82-1.39-1.39 3.82.78.78L12.97 3.67a.499.499 0 0 0-.64-.64L7.065 4.945z"})})]})),T=n.default.forwardRef((e,t)=>(0,i.jsx)(N.BaseIcon,{ref:t,icon:R,...e}));T.displayName="CurrentLocationLost",e.i(807079);var A=e.i(754219);e.s(["useImprovePrecisionFlow",0,function(e){let{request:s}=function(){let[e,i]=(0,n.useState)("idle"),[l,s]=(0,n.useState)(void 0),u=(0,t.useSetAtom)(r.preciseGeocodeAtom),I=(0,n.useRef)(!1);return{status:e,geocode:l,request:(0,n.useCallback)(async()=>{if(I.current)return{status:"requesting",geocode:void 0};I.current=!0,i("requesting");try{let e;if(navigator.permissions){let{data:t,error:r}=await (0,o.tryCatch)(navigator.permissions.query({name:"geolocation"}));r?d.error("Permissions API query failed",r):e=t?.state}if("denied"===e)return i("denied"),{status:"denied",geocode:void 0};let t=await (0,c.getGeolocationAPIGeocode)(1e4,{bypassCache:!0});if(t?.latitude&&t?.longitude){let e=(0,a.formatGeocode)(`${t.latitude},${t.longitude}`);return s(e),u(e),i("granted"),{status:"granted",geocode:e}}return i("error"),{status:"error",geocode:void 0}}finally{I.current=!1}},[u]),reset:(0,n.useCallback)(()=>{i("idle"),s(void 0)},[])}}(),{navigate:N}=(0,_.usePageNavigation)(),R=(0,l.useParams)(),p=(0,l.usePathname)(),m=(0,u.usePageLocale)(),f=R?.locId,S=R?.canonicalLocation,g=(0,n.useRef)(e);return g.current=e,(0,n.useCallback)(async()=>{let{status:e,geocode:t}=await s();if("denied"===e){let e=g.current;(0,A.toast)(e.unavailableTitle,{id:"improve-precision",icon:(0,i.jsx)(T,{className:"size-5 text-white"}),description:e.unavailableBody,duration:8e3});return}if("granted"!==e||!t||!(0,I.isSwappableLocationPathname)({pathname:p,locId:f,canonicalLocation:S}))return;let{data:r}=await (0,o.tryCatch)((0,E.fetchWithoutCredentials)(`/api/location/canonical?geocode=${encodeURIComponent(t)}&language=${encodeURIComponent(m)}`).then(e=>e.ok?e.json():null)),a=r?.featureId,n=r?.placeId,l=r?.canonicalID,c=a??n;if(!c)return;let d=(0,I.swapLocationOnCurrentPage)({pathname:p,locId:f,canonicalLocation:S,locale:m,identifier:c,featureId:a,placeId:n,canonicalID:l});d&&N(d)},[s,N,f,S,p,m])}],352711)},304116,e=>{"use strict";var t=e.i(89887),r=e.i(611540),a=e.i(388706);e.s(["buildLocationPageHref",0,function({pageType:e,locale:i,canonicalID:n,featureId:l,placeId:o,canonicalBasePath:s,skipCanonical:c=!1}){let d=a.PAGE_TYPE_TO_SUFFIX[e],u=a.CANONICAL_ELIGIBLE_BY_PAGE[e]&&!c;return s&&u?`${s}/${d}`:u&&n?(0,t.buildLocationCanonicalPath)(n,i,d):(0,r.interpolateLocationUrl)(r.URLS[a.PAGE_TYPE_TO_URL_KEY[e]],u?{locale:i,locId:o??l??"",featureId:l}:{locale:i,locId:o??""})}])},258990,e=>{"use strict";e.s(["decodeLocId",0,e=>{try{return decodeURIComponent(e)}catch{return e}}])},520938,e=>{"use strict";var t=e.i(304116),r=e.i(388706),a=e.i(258990);function i(e){let t=(/\/day-\d+$/.test(e)?e.slice(0,e.lastIndexOf("/")):e).split("/").pop()??"";return r.CANONICAL_PAGE_TYPES.includes(t)?t:void 0}e.s(["LOC_ID_SEGMENT",0,"/l/","isSwappableLocationPathname",0,function({pathname:e,locId:t}){return!!t||void 0!==i(e)||e.includes("/l/")},"swapLocationOnCurrentPage",0,function({pathname:e,locId:r,locale:n,identifier:l,featureId:o,placeId:s,canonicalID:c,skipCanonical:d}){if(r){let t=(0,a.decodeLocId)(r);return e.replace(r,t).replace(t,l)}let u=i(e);if(u)return(0,t.buildLocationPageHref)({pageType:u,locale:n,canonicalID:c,featureId:o,placeId:s,skipCanonical:d});let I=e.indexOf("/l/");if(-1!==I){let t=e.slice(0,I+3);return`${t}${l}`}return null}])},671525,e=>{"use strict";var t=e.i(725287);let r=()=>{let e=(0,t.useRouter)();return{navigate:(t,r={})=>{let{mpa:a=!0,replace:i=!1}=r;a?i?window.location.replace(t):window.location.href=t:i?e.replace(t):e.push(t)},refresh:(t={})=>{let{mpa:r=!0}=t;r?window.location.reload():e.refresh()},router:e}};e.s(["default",0,r,"usePageNavigation",0,r])},763886,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["partnerAtom",0,t])},269153,e=>{"use strict";var t=e.i(546446),r=e.i(763886),a=e.i(132084);e.s(["useIsSamsungPartner",0,function(){return(0,t.useAtomValue)(r.partnerAtom)===a.Partner.SAMSUNG}])},877957,564993,e=>{"use strict";var t=e.i(902875),r=e.i(247865),a=e.i(982538),i=e.i(294237),n=e.i(632137),l=e.i(747961);let o=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...n},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":i,...n,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Loader Circle"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.65 2.926A5.335 5.335 0 1 0 13.335 8a.665.665 0 0 1 1.33 0 6.665 6.665 0 1 1-4.606-6.34.665.665 0 1 1-.41 1.266",clipRule:"evenodd"})]})),s=r.default.forwardRef((e,r)=>(0,t.jsx)(l.BaseIcon,{ref:r,icon:o,...e}));s.displayName="LoaderCircle",e.s(["LoaderCircle",0,s],564993);let c=(0,i.cva)("rounded-lg cursor-pointer",{variants:{variant:{default:"bg-brand-400 text-primary-foreground hover:bg-[#252C3F] active:bg-[#0C1226] focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-0",secondary:"bg-white text-gray-900 active:bg-[#E6E6E6] focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",destructive:"bg-alert-severe hover:bg-[#C1251A] active:bg-[#A70C00] text-white focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",outline:"border-1 border-gray-500 hover:bg-white active:bg-[#E6E6E6] bg-transparent focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",ghost:"hover:bg-white active:bg-[#E6E6E6] bg-transparent focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",link:"text-primary underline-offset-3 underline focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",avatarAccountLink:"text-primary text-[14px]",avatarGoPremium:"bg-gray-900 text-white text-[14px]",avatarSignOut:"text-primary text-[16px]",ghostUI:""},size:{default:"h-10 px-4 py-3",lg:"h-10 px-8 py-3",sm:"h-8 px-3 py-2",xsm:"h-6 px-2",icon:"h-10 w-10",text:""},loading:{true:"pointer-events-none cursor-not-allowed opacity-50",false:""},disabled:{true:"pointer-events-none cursor-not-allowed opacity-30",false:""},theme:{standard:"",samsung:"rounded-[18px] h-auto bg-[#252422] px-2.5 py-2 text-[15px] font-medium text-white hover:bg-[#252422] active:bg-[#252422]"}},defaultVariants:{variant:"default",size:"default",loading:!1,disabled:!1,theme:"standard"}}),d=r.forwardRef(({className:e,variant:r="default",size:i,theme:l="standard",asChild:o=!1,disabled:d=!1,loading:u=!1,children:I,..._},E)=>{let N=o?a.Slot:"button";return(0,t.jsx)(N,{..._,className:(0,n.cn)(c({variant:r,size:i,loading:u,disabled:d,theme:l}),"inline-flex items-center justify-center",e),ref:E,disabled:d||u,children:o?I:(0,t.jsxs)(t.Fragment,{children:[u&&(0,t.jsx)(s,{size:"sm",className:"mr-2 animate-spin",color:"default"===r||"destructive"===r?"inverse":"primary"}),I]})})});d.displayName="Button",e.s(["Button",0,d],877957)},368847,341669,e=>{"use strict";var t=e.i(902875),r=e.i(247865),a=e.i(294237),i=e.i(632137);let n=({skeletonClassName:e,elementType:r="span"})=>(0,t.jsx)(r,{className:(0,i.cn)("square inline-block animate-pulse rounded bg-gray-200",e)});e.s(["default",0,n],341669);let l={0:"No Clamp",1:"1 Line",2:"2 Lines",3:"3 Lines",4:"4 Lines",5:"5 Lines"};[0,1,2,3,4,5].map(e=>({label:l[e],value:String(e)}));let o=r.default.forwardRef(({className:e,isLoading:r,skeletonClassName:a,variant:l,elementType:o,lineClamp:c,color:d,responsive:u,children:I,..._},E)=>{if(r)return(0,t.jsx)(n,{skeletonClassName:a||""});let N=o||function({variant:e}){switch(e){case"Display.XL":case"Display.L":case"Title.XL":case"Display.M":case"Display.S":case"Title.L":case"Title.M":case"Title.S":return"h2";default:return"p"}}({variant:l}),R=(0,t.jsx)(N,{className:(0,i.cn)(s({variant:l,color:d,lineClamp:c,responsive:u}),e),ref:E,..._,children:I});return u?(0,t.jsx)("div",{className:"@container/text",children:R}):R});o.displayName="Text";let s=(0,a.cva)("",{variants:{variant:{"Display.XL":["text-6xl","leading-relaxed","tracking-tighter"],"Display.L":["text-5xl","leading-normal","tracking-tighter","font-medium"],"Display.M":["text-4xl","leading-tight","tracking-tight","font-medium"],"Display.S":["text-xl","leading-relaxed","tracking-tight","font-medium"],"Title.XL":["text-4xl","leading-snug","tracking-tight","font-extrabold"],"Title.L":["text-3xl","leading-normal","tracking-tight","font-extrabold"],"Title.M":["text-2xl","leading-normal","tracking-tight","font-extrabold"],"Title.S":["text-xl","leading-normal","tracking-tight","font-bold"],"Title.XS":["text-base","leading-relaxed","tracking-tight","font-bold"],"Body.L":["text-lg","leading-loose","tracking-normal","font-medium"],"Body.L.Bold":["text-lg","leading-loose","tracking-normal","font-bold"],"Body.L.ExtraBold":["text-lg","leading-loose","tracking-normal","font-extrabold"],"Body.M":["text-base","leading-loose","tracking-tight","font-medium"],"Body.M.Bold":["text-base","leading-loose","tracking-tight","font-bold"],"Body.M.ExtraBold":["text-base","leading-loose","tracking-tight","font-extrabold"],"Body.S":["text-sm","leading-loose","tracking-tight","font-medium"],"Body.S.Bold":["text-sm","leading-loose","tracking-normal","font-bold"],"Caption.M":["text-xs","leading-normal","tracking-normal","font-medium"],"Caption.M.Bold":["text-xs","leading-normal","tracking-normal","font-bold"],"Caption.S":["text-xxs","leading-loose","tracking-tight","font-medium"],"Caption.S.Bold":["text-xxs","leading-loose","tracking-normal","font-bold"]},responsive:{true:"",false:""},color:{primary:"text-gray-900",secondary:"text-gray-500",default:"text-gray-900",disabled:"text-gray-400",placeholder:"text-gray-600",brandDark:"text-brand-dark",brandLight:"text-brand-light",inverse:"text-white",error:"text-[var(--color-alert-severe)]"},lineClamp:{0:"",1:"line-clamp-1 pb-0.5",2:"line-clamp-2 pb-0.5",3:"line-clamp-3 pb-0.5",4:"line-clamp-4 pb-0.5",5:"line-clamp-5 pb-0.5"}},compoundVariants:[{variant:"Display.XL",responsive:!0,class:"text-4xl @sm/text:text-5xl @lg/text:text-6xl"},{variant:"Display.L",responsive:!0,class:"text-2xl @sm/text:text-4xl @lg/text:text-5xl"},{variant:"Display.M",responsive:!0,class:"text-xl @sm/text:text-2xl @lg/text:text-4xl"},{variant:"Display.S",responsive:!0,class:"text-lg @sm/text:text-xl @lg/text:text-2xl"},{variant:"Title.XL",responsive:!0,class:"text-2xl @sm/text:text-3xl @lg/text:text-4xl"},{variant:"Title.L",responsive:!0,class:"text-xl @sm/text:text-2xl @lg/text:text-3xl"},{variant:"Title.M",responsive:!0,class:"text-lg @sm/text:text-xl @lg/text:text-2xl"},{variant:"Title.S",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Title.XS",responsive:!0,class:"text-sm @sm/text:text-base"},{variant:"Body.L",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.L.Bold",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.L.ExtraBold",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.M",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.M.Bold",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.M.ExtraBold",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.S",responsive:!0,class:"text-xs @sm/text:text-sm @lg/text:text-base"},{variant:"Body.S.Bold",responsive:!0,class:"text-xs @sm/text:text-sm @lg/text:text-base"},{variant:"Caption.M",responsive:!0,class:"text-xxs @sm/text:text-xs @lg/text:text-sm"},{variant:"Caption.M.Bold",responsive:!0,class:"text-xxs @sm/text:text-xs @lg/text:text-sm"},{variant:"Caption.S",responsive:!0,class:"text-xxs @sm/text:text-xxs @lg/text:text-xs"},{variant:"Caption.S.Bold",responsive:!0,class:"text-xxs @sm/text:text-xxs @lg/text:text-xs"}],defaultVariants:{variant:"Body.M",color:"default",responsive:!1}});e.s(["Text",0,o,"default",0,o,"textVariants",0,s],368847)},180193,e=>{"use strict";var t=e.i(902875),r=e.i(247865),a=e.i(617874);let i=(0,r.memo)(({className:e,unitsClassName:r,units:i,value:n,degreeSymbolClass:l,unitOnly:o})=>{let s=null!=n,c=i?(0,a.unitsSystemByCode)(i):null,d=c?.temp,u=Number.isFinite(n)&&Math.round(n);return(0,t.jsx)("span",{"data-testid":"TemperatureValue",className:e,dir:"ltr",children:s||!s&&o?(0,t.jsxs)(t.Fragment,{children:[s&&u,(0,t.jsx)("span",{className:l,children:"°"}),d&&(0,t.jsx)("span",{className:r,children:d})]}):"--"})});e.s(["Temperature",0,i])},632137,e=>{"use strict";var t=e.i(7284);let r=(0,e.i(923191).extendTailwindMerge)({extend:{classGroups:{"font-size":[{text:["xxs"]}]},theme:{color:[{brand:["100","200","300","400","dark","light"]}]}}});e.s(["cn",0,function(...e){return r((0,t.clsx)(e))}])},617874,e=>{"use strict";let t="Imperial",r="Metric",a="Hybrid",i={code:"e",name:t,temp:"F",speed:"mph",distance:"mi",accumulation:"in",precip:"in",pressure:"in"},n={code:"m",name:r,temp:"C",speed:"km/h",distance:"km",accumulation:"cm",precip:"mm",pressure:"mb"},l={code:"h",name:a,temp:"C",speed:"mph",distance:"mi",accumulation:"in",precip:"in",pressure:"mb"};e.s(["UNITS_COOKIE_KEY",0,"unitOfMeasurement","UNIT_HYBRID",0,a,"UNIT_IMPERIAL",0,t,"UNIT_METRIC",0,r,"imperial",0,i,"unitsSystemByCode",0,function(e){switch(e?.toLowerCase()){case"e":case"f":return i;case"m":case"c":return n;case"h":return l;default:return null}},"unitsSystemByName",0,function(e=""){switch(e.toLowerCase()){case"imperial":case"Imperial":return i;case"metric":case"Metric":return n;case"hybrid":case"Hybrid":return l;default:return null}}])},889753,301904,e=>{"use strict";var t=e.i(284007),r=e.i(617874),a=e.i(990033),i=e.i(981030),n=e.i(543512);let l={animationSpeed:1,autoplay:!0,opacity:90,roadOverlay:"default",style:"default"};e.s(["DEFAULT_MAP_SETTINGS",0,l],301904);let o=(0,i.atom)(n.UserSubscriptionTiers.none),s=(0,t.atomWithStorage)("userProfile",null,void 0,{getOnInit:!0}),c=(0,t.atomWithStorage)("userPreferences",{userID:(0,a.v4)(),unit:r.UNIT_IMPERIAL,locations:[],locale:"en_US",mapSettings:l,favoriteWeatherComponents:[],favoriteActivityComponents:[],dashboard:[]},void 0,{getOnInit:!0});e.s(["userPreferencesAtom",0,c,"userProfileAtom",0,s,"userTierAtom",0,o],889753)},674885,e=>{"use strict";var t=e.i(981030),r=e.i(617874),a=e.i(889753);let i=(0,t.atom)(e=>e(a.userPreferencesAtom)?.unit||r.UNIT_IMPERIAL),n=(0,t.atom)(e=>e(i)===r.UNIT_IMPERIAL),l=(0,t.atom)(e=>e(i)===r.UNIT_METRIC),o=(0,t.atom)(e=>e(i)===r.UNIT_HYBRID);e.s(["isHybridUnitsAtom",0,o,"isImperialUnitsAtom",0,n,"isMetricUnitsAtom",0,l,"userUnitPreferenceAtom",0,i])},528600,e=>{"use strict";let t;var r=e.i(247865),a=e.i(546446),i=e.i(949920),n=e.i(889753),l=e.i(901351),o=e.i(310847),s=e.i(543512),c=e.i(990033),d=e.i(333350),u=e.i(495110),I=e.i(513513);e.s(["useUser",0,function(){let[e,_]=(0,a.useAtom)(n.userProfileAtom),[E,N]=(0,a.useAtom)(o.wxuUserAnonymousIdAtom),[R,T]=(0,a.useAtom)(o.wxuUserAccountUserAccountResponseAtom),[A,p]=(0,r.useState)(!1),m=(0,a.useSetAtom)(o.wxuLoginRedirectPageAtom),f=(0,u.useIsHydratingRender)();d.default&&!A&&(m(window.location.href),p(!0));let S=(0,a.useAtomValue)(n.userTierAtom),g=(0,I.isUserLoggedIn)(S),h=E;!h&&d.default&&(t||(t=(0,c.v4)()),h=t),d.default&&!E&&h&&N(h),!e&&R&&_(R);let x=(0,i.default)(g?"upsx/id":null,()=>l.upsxClient.account.getAccountId(),{shouldRetryOnError:e=>"APIError"!==e.name}),{userID:L=""}=x?.data||{},y=L&&e?.userID!==L,C=(0,i.default)(y?"upsx/account":null,()=>l.upsxClient.account.getAccount(),{shouldRetryOnError:e=>"APIError"!==e.name,onSuccess:e=>{_(e),T(e)}});return{user:{anonId:h,userID:L,isUserLoggedIn:g,subscriptionTier:S,isUserPremium:(0,I.isUserTierPremium)(S),isUserAdFree:S===s.UserSubscriptionTiers.adFree},userProfile:f?null:e,isUserIdLoading:x.isLoading,profileError:C.error}}])},543512,e=>{"use strict";var t,r=((t={})[t.none=-1]="none",t[t.standard=0]="standard",t[t.premium=1]="premium",t[t.adFree=2]="adFree",t[t.premiumWithAd=3]="premiumWithAd",t);let a=Object.entries(r).reduce((e,[t,r])=>(e[r]=t,e),{});Object.entries(r).reduce((e,[t,r])=>(e[r.toString()]=r,e),{}),e.s(["UserSubscriptionPremiumTiers",0,[1,2,3],"UserSubscriptionTierKeysMap",0,a,"UserSubscriptionTiers",()=>r,"UserSubscriptionTiersMap",0,{standard:0,tier0:1,tier1:1,"ad-free-v2":2,tier3:3}])},513513,e=>{"use strict";var t=e.i(543512);t.UserSubscriptionTiers.none,t.UserSubscriptionTiers.standard,t.UserSubscriptionTiers.adFree,t.UserSubscriptionTiers.premium,t.UserSubscriptionTiers.premiumWithAd,e.s(["hasRadarFeature",0,function(e){return void 0!==e&&t.UserSubscriptionPremiumTiers.includes(e)},"isUserLoggedIn",0,function(e){return void 0!==e&&e>t.UserSubscriptionTiers.none},"isUserTierPremium",0,function(e){return t.UserSubscriptionPremiumTiers.includes(e)}],513513)},901351,e=>{"use strict";e.i(288906);let t=new(e.i(245943)).UPSXClient({baseUrl:"https://upsx.weather.com"});e.s(["upsxClient",0,t])},438335,e=>{"use strict";var t=e.i(288906);let r=/^[a-z][a-z0-9+.-]*:\/\//i,a=/[?#]/,i=/\/{2,}/g,n=e=>{if(!e)return e;let t=e.match(r),n=t?t[0].length:0,l=e.slice(0,n),o=e.slice(n),s=o.search(a),c=-1===s?o:o.slice(0,s),d=-1===s?"":o.slice(s);return l+c.replace(i,"/")+d},l=/\/+$/;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(l,""),e)?n(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-10-21.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(l,""),e)?n(new URL(e,r).toString()):r}],438335)},512134,e=>{"use strict";var t=e.i(247865);e.s(["useIsClient",0,function(){let[e,r]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{r(!0)},[]),e}])},553329,e=>{"use strict";async function t(e){try{return{data:await e,error:null}}catch(e){return{data:null,error:e}}}e.s(["tryCatch",0,t])}]);