(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,949920,e=>{"use strict";var t=e.i(381477);let r=(0,e.i(66396).withMiddleware)(t.default,e=>(t,r,n)=>(n.revalidateOnFocus=!1,n.revalidateIfStale=!1,n.revalidateOnReconnect=!1,e(t,r,n)));e.s(["default",0,r])},990033,e=>{"use strict";let t,r="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),n=new Uint8Array(16),i=[];for(let e=0;e= 16");if(E[6]=15&E[6]|64,E[8]=63&E[8]|128,o){if((_=_||0)o.length)throw RangeError(`UUID byte range ${_}:${_+15} is out of buffer bounds`);for(let e=0;e{"use strict";e.s(["canLogEvent",0,()=>"function"==typeof window.mParticle?.logEvent])},123590,333761,e=>{"use strict";var t=e.i(487709),r=e.i(737801),n=e.i(630986),i=e.i(247865);e.s(["useTrackContentLinkClick",0,()=>{let e="content-link-click",o=(0,r.useEventAttributes)(),I=(0,n.useCMSAttributes)();return(0,i.useCallback)(r=>{let n={createdDate:I?.createdDate||"",contentId:I?.contentId||"",publishDate:I?.publishDate||"",author:I?.author||"",collection:I?.collection||"",entitlements:I?.entitlements||"",provider:I?.provider||"",linkType:r.linkType,linkURL:r.linkURL,linkText:r.linkText||"",moduleId:r.moduleId||"",tagsKeyword:r.tagsKeyword??I?.tagsKeyword,...o,physicalCountry:o.physicalCountry||"",physicalState:o.physicalState||"",wlocCity:o.wlocCity||"",wlocCountry:o.wlocCountry||"",wlocState:o.wlocState||"",regime:o.regime||""};if(!(0,t.canLogEvent)())return void console.warn("MParticle is not loaded");try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,n);try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,n)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[I?.createdDate,I?.contentId,I?.publishDate,I?.author,I?.collection,I?.entitlements,I?.provider,o])}],123590);var o=e.i(546446),I=e.i(540768),a=e.i(682142),_=e.i(782937),E=e.i(695881),s=e.i(333350),l=e.i(64412),N=e.i(950771),R=e.i(537989),c=e.i(695203),u=e.i(604323),A=e.i(358273),T=e.i(158662),d=e.i(777638),S=e.i(727365),D=e.i(896363),C=e.i(924776),L=e.i(409628),O=e.i(605781);let p=(0,E.createLogger)("useTrackContentLinkClick"),m=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),W=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]);e.s(["useTrackContentLinkClick",0,()=>{let e=(0,o.useAtomValue)(R.pageIdAtom),t=(0,o.useAtomValue)(N.pageLocaleAtom),r=(0,o.useAtomValue)(c.deviceClassAtom),n=(0,o.useAtomValue)(u.metricsArticleDataAtom),E=(0,o.useAtomValue)(T.experimentJoinListAtom),{location:H}=(0,l.useLocation)(),G=(0,C.useIsHightouchReady)(),g=(0,i.useCallback)(i=>{let o=(0,a.getCICookie)(),s=o?.["TWC-GeoIP-Country"]??(0,I.getCookie)("twc-location-country"),l=o?.["TWC-GeoIP-Region"]??(0,I.getCookie)("twc-location-region"),N=o?.["TWC-Privacy"]??(0,I.getCookie)("twc-privacy"),R=window.DprSdk?.getGdprConsentOptInsString()??"",c=window.DprSdk?.getCcpaSaleOptInString()??"",u=window.navigator?.globalPrivacyControl??!1,T=R?.includes("functional-technology")??!1,C=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,O=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,p=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),G=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),g=navigator?.cookieEnabled??!1,y=(0,I.getCookie)("partner")||"",h=(0,_.getPartnerByPattern)(y)??y,f=(0,A.getMetricsSession)(),w=f?.sessionId||"",M=new Date(f?.sessionStartTime||0).toISOString(),U=new Date,Y=U.getHours(),v=L.WEEK_DAYS[U.getDay()]??"",b=(0,S.normalizeWlocType)(H?.type),F=H?.featureSource??null;return{linkType:i.linkType,linkURL:i.linkURL,linkText:i.linkText||"",moduleId:i.moduleId||"",pageId:e??"",schemaVersion:"nextgen",author:n?.author||"",contentId:n?.contentId??null,createdDate:n?.createdDate??null,publishDate:n?.publishDate??null,collection:n?.collection??null,entitlements:n?.entitlements??null,nodeTypes:n?.nodeType??null,pageTemplate:n?.pageTemplate??null,premiumContent:n?.premiumContent!=null?String(n.premiumContent):null,provider:n?.provider??null,tagsGeo:n?.tagsGeo??null,tagsKeyword:i.tagsKeyword??n?.tagsKeyword??null,tagsStorm:n?.tagsStorm??null,title:n?.title??null,seoTitle:n?.seoTitle??null,referrer:document.referrer,locale:t,deviceClass:r,partner:h,sessionId:w,sessionStartTime:M,siteMode:"normal",dayOfWeek:v,hourOfDay:Y,regime:N??"",cookiesEnabled:g,gpcSignalOptOut:u,functionalTechnologies:T,geographicallyRelevantAds:C,interestBasedAds:O,priv:R,privProducts:c,saleOfData:p,saleOfDataAuthorization:p,sensitiveDataAuthorization:G,campaign:(0,d.getCampaign)(),linkReferral:(0,d.getLinkReferral)()??void 0,experimentJoinList:E,weatherMode:"normal",physicalCountry:s??"",physicalState:l??"",wlocCity:H?.city??null,wlocCountry:H?.countryCode??null,wlocState:H?.adminDistrictCode??null,wlocDMA:H?.dmaCd??null,wlocId:H?.placeId??null,wlocFeatureId:H?.featureId??null,wlocFeatureSource:null!=F&&W.has(F)?F:void 0,wlocTags:H?.tags?.length?(0,D.parseArrayToString)(H.tags):null,wlocType:null!==b&&m.has(b)?b:void 0,samsungVersion:(0,d.getSamsungVersion)(),appVersion:"d8cb3ceedccdf9c80944ee06f03898a7f36d30b1".slice(0,10)}},[e,t,r,n,E,H]);return(0,i.useCallback)(e=>{if(s.default){if(!G)return void p.warn('Hightouch: Event "content-link-click" skipped - SDK not ready');try{(0,O.trackContentLinkClick)(g(e)),p.info('Hightouch: Event "content-link-click" tracked')}catch(e){p.error('Hightouch: Event "content-link-click" failed',{error:e})}}},[G,g])}],333761)},650130,(e,t,r)=>{"use strict";function n(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 o=n(r-e),I=n(i-t),a=Math.sin(o/2)*Math.sin(o/2)+Math.cos(n(e))*Math.cos(n(r))*Math.sin(I/2)*Math.sin(I/2);return 2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a))*6371}function o(e,t,r){let n=-90,i=90,o=-180,I=180,a="",_=0,E=0,s=!0;for(;a.length=e?(E=(E=t?(E=(E{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getCurrentObservations=_;let n=e.r(979777),i=e.r(678651),o=e.r(414655),I=e.r(861160),a=e.r(349262);async function _(e){let t=(0,n.getCurrentObservationsUrlConfig)(e),r=(0,i.urlFrom)(t),_=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}}),E=await (0,o.handleFetchResponse)(_);return{...E,pressureMeanSeaLevel:e.units===a.Units.IMPERIAL?E.pressureMeanSeaLevel/33.8639:E.pressureMeanSeaLevel,windDirectionCardinal:(0,I.normalizeCardinal)(E.windDirectionCardinal)}}},979777,(e,t,r)=>{"use strict";function n(e,{stormId:t,units:r,language:i,nautical:o}){return{host:"api.weather.com",protocol:"https",pathname:e,query:{stormId:t,units:r,language:i,nautical:o,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}e.i(288906),Object.defineProperty(r,"__esModule",{value:!0}),r.getCurrentObservationsUrlConfig=function({geocode:e,placeId:t,units:r,language:n}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/observations/current",query:{geocode:e,placeid:t,units:r,language:n,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getTropicalConeUrlConfig=function({stormId:e,units:t,language:r,nautical:n}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/tropical/cone",query:{stormId:e,units:t,language:r,nautical:n,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getTropicalTrackUrlConfig=function(e){return n("/v2/tropical/track",e)},r.getTropicalProjectedPathUrlConfig=function(e){return n("/v2/tropical/projectedpath",e)},r.getTropicalObservationsCurrentPositionUrlConfig=function({nautical:e,source:t,basin:r,units:n,language:i}){return{host:"api.weather.com",protocol:"https",pathname:"/v2/tropical/currentposition",query:{nautical:e,source:t,basin:r,units:n,language:i,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}},349262,(e,t,r)=>{"use strict";var n,i,o,I,a,_,E,s,l,N,R,c,u,A,T,d,S,D,C,L;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,(R=n||(r.Units=n={})).IMPERIAL="e",R.METRIC="m",R.HYBRID="h",(c=i||(r.ForecastDuration=i={})).THREE_DAY="3day",c.FIVE_DAY="5day",c.SEVEN_DAY="7day",c.TEN_DAY="10day",c.FIFTEEN_DAY="15day",(u=o||(r.HourlyForecastDuration=o={})).SIX_HOUR="6hour",u.TWELVE_HOUR="12hour",u.ONE_DAY="1day",u.TWO_DAY="2day",u.THREE_DAY="3day",u.TEN_DAY="10day",u.FIFTEEN_DAY="15day",(A=I||(r.DayOrNight=I={})).DAY="D",A.NIGHT="N",A.MISSING="X",(T=a||(r.WindDirectionCardinal=a={})).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",(d=_||(r.UVDescription=_={})).NOT_AVAILABLE="-2",d.NO_REPORT="-1",d.LOW="Low",d.MODERATE="Moderate",d.HIGH="High",d.VERY_HIGH="Very High",d.EXTREME="Extreme",(S=E||(r.PressureTendencyCode=E={}))[S.STEADY=0]="STEADY",S[S.RISING=1]="RISING",S[S.FALLING=2]="FALLING",S[S.RAPIDLY_RISING=3]="RAPIDLY_RISING",S[S.RAPIDLY_FALLING=4]="RAPIDLY_FALLING",(D=s||(r.CloudCoverPhrase=s={})).CLEAR="Clear",D.PARTLY_CLOUDY="Partly Cloudy",D.MOSTLY_CLOUDY="Mostly Cloudy",D.CLOUDY="Cloudy",(C=l||(r.IconCode=l={}))[C.TORNADO=0]="TORNADO",C[C.TROPICAL_STORM=1]="TROPICAL_STORM",C[C.HURRICANE=2]="HURRICANE",C[C.STRONG_STORMS=3]="STRONG_STORMS",C[C.THUNDERSTORMS=4]="THUNDERSTORMS",C[C.RAIN_SNOW_WINTERY_MIX=5]="RAIN_SNOW_WINTERY_MIX",C[C.RAIN_SLEET=6]="RAIN_SLEET",C[C.RAIN_SNOW_WINTERY_MIX_ALT=7]="RAIN_SNOW_WINTERY_MIX_ALT",C[C.FREEZING_DRIZZLE_RAIN=8]="FREEZING_DRIZZLE_RAIN",C[C.DRIZZLE=9]="DRIZZLE",C[C.FREEZING_DRIZZLE_RAIN_ALT=10]="FREEZING_DRIZZLE_RAIN_ALT",C[C.SHOWERS=11]="SHOWERS",C[C.RAIN=12]="RAIN",C[C.FLURRIES=13]="FLURRIES",C[C.SNOW_SHOWERS=14]="SNOW_SHOWERS",C[C.BLOWING_DRIFTING_SNOW=15]="BLOWING_DRIFTING_SNOW",C[C.SNOW=16]="SNOW",C[C.HAIL=17]="HAIL",C[C.SLEET=18]="SLEET",C[C.BLOWING_DUST_SANDSTORM=19]="BLOWING_DUST_SANDSTORM",C[C.FOGGY=20]="FOGGY",C[C.HAZE=21]="HAZE",C[C.SMOKE=22]="SMOKE",C[C.BREEZY=23]="BREEZY",C[C.WINDY=24]="WINDY",C[C.BLOWING_DRIFTING_SNOW_ALT=25]="BLOWING_DRIFTING_SNOW_ALT",C[C.CLOUDY=26]="CLOUDY",C[C.MOSTLY_CLOUDY_NIGHT=27]="MOSTLY_CLOUDY_NIGHT",C[C.MOSTLY_CLOUDY_DAY=28]="MOSTLY_CLOUDY_DAY",C[C.PARTLY_CLOUDY_NIGHT=29]="PARTLY_CLOUDY_NIGHT",C[C.PARTLY_CLOUDY_DAY=30]="PARTLY_CLOUDY_DAY",C[C.CLEAR_NIGHT=31]="CLEAR_NIGHT",C[C.SUNNY=32]="SUNNY",C[C.MOSTLY_CLEAR_NIGHT=33]="MOSTLY_CLEAR_NIGHT",C[C.MOSTLY_CLEAR_DAY=34]="MOSTLY_CLEAR_DAY",C[C.MIXED_RAIN_HAIL=35]="MIXED_RAIN_HAIL",C[C.SUNNY_ALT=36]="SUNNY_ALT",C[C.ISOLATED_THUNDERSTORMS=37]="ISOLATED_THUNDERSTORMS",C[C.SCATTERED_THUNDERSTORMS_DAY=38]="SCATTERED_THUNDERSTORMS_DAY",C[C.SCATTERED_SHOWERS_DAY=39]="SCATTERED_SHOWERS_DAY",C[C.HEAVY_RAIN=40]="HEAVY_RAIN",C[C.SCATTERED_SNOW_SHOWERS_DAY=41]="SCATTERED_SNOW_SHOWERS_DAY",C[C.HEAVY_SNOW_BLIZZARD=42]="HEAVY_SNOW_BLIZZARD",C[C.HEAVY_SNOW_BLIZZARD_ALT=43]="HEAVY_SNOW_BLIZZARD_ALT",C[C.NA=44]="NA",C[C.SCATTERED_SHOWERS_NIGHT=45]="SCATTERED_SHOWERS_NIGHT",C[C.SCATTERED_SNOW_SHOWERS_NIGHT=46]="SCATTERED_SNOW_SHOWERS_NIGHT",C[C.SCATTERED_THUNDERSTORMS_NIGHT=47]="SCATTERED_THUNDERSTORMS_NIGHT",(L=N||(r.IconCodeExtended=N={}))[L.STRONG_STORMS=300]="STRONG_STORMS",L[L.STRONG_STORMS_WIND=310]="STRONG_STORMS_WIND",L[L.FREEZING_RAIN=1e3]="FREEZING_RAIN",L[L.LIGHT_FREEZING_RAIN=1001]="LIGHT_FREEZING_RAIN",L[L.HEAVY_FREEZING_RAIN=1002]="HEAVY_FREEZING_RAIN",L[L.FREEZING_RAIN_WIND=1010]="FREEZING_RAIN_WIND",L[L.LIGHTFREEZING_RAIN_WIND=1011]="LIGHTFREEZING_RAIN_WIND",L[L.HEAVY_FREEZING_RAIN_WIND=1012]="HEAVY_FREEZING_RAIN_WIND",L[L.LIGHT_FREEZING_RAIN_FOG=1051]="LIGHT_FREEZING_RAIN_FOG",L[L.SLEET=1800]="SLEET",L[L.LIGHT_SLEET=1801]="LIGHT_SLEET",L[L.SLEET_WIND=1810]="SLEET_WIND",L[L.LIGHT_SLEET_WIND=1811]="LIGHT_SLEET_WIND",L[L.SCATTERED_THUNDERSTORMS_WIND=3819]="SCATTERED_THUNDERSTORMS_WIND",L[L.HEAVY_SNOW=4200]="HEAVY_SNOW",L[L.HEAVY_SNOW_WIND=4210]="HEAVY_SNOW_WIND",L[L.BLIZZARD=4300]="BLIZZARD",L[L.FREEZING_RAIN_SLEET=5100]="FREEZING_RAIN_SLEET",L[L.LIGHT_FREEZING_RAIN_SLEET=5101]="LIGHT_FREEZING_RAIN_SLEET",L[L.FREEZING_RAIN_SLEET_WIND=5110]="FREEZING_RAIN_SLEET_WIND",L[L.LIGHT_FREEZING_RAIN_SLEET_WIND=5111]="LIGHT_FREEZING_RAIN_SLEET_WIND",L[L.RAIN_FREEZING_RAIN=5300]="RAIN_FREEZING_RAIN",L[L.LIGHT_RAIN_FREEZING_RAIN=5301]="LIGHT_RAIN_FREEZING_RAIN",L[L.HEAVY_RAIN_FREEZING_RAIN=5302]="HEAVY_RAIN_FREEZING_RAIN",L[L.RAIN_FREEZING_RAIN_WIND=5310]="RAIN_FREEZING_RAIN_WIND",L[L.LIGHT_RAIN_FREEZING_RAIN_WIND=5311]="LIGHT_RAIN_FREEZING_RAIN_WIND",L[L.HEAVY_RAIN_FREEZING_RAIN_WIND=5312]="HEAVY_RAIN_FREEZING_RAIN_WIND",L[L.LIGHT_RAIN_FREEZING_RAIN_FOG=5351]="LIGHT_RAIN_FREEZING_RAIN_FOG",L[L.THUNDER_SNOW=5600]="THUNDER_SNOW",L[L.THUNDER_SNOW_WIND=5610]="THUNDER_SNOW_WIND",L[L.SCATTERED_STRONG_STORMS=5709]="SCATTERED_STRONG_STORMS",L[L.SCATTERED_STRONG_STORMS_WIND=5719]="SCATTERED_STRONG_STORMS_WIND",L[L.RAIN_ICE_EARLY=6500]="RAIN_ICE_EARLY",L[L.LIGHT_RAIN_ICE_EARLY=6501]="LIGHT_RAIN_ICE_EARLY",L[L.AM_RAIN_ICE=6503]="AM_RAIN_ICE",L[L.AM_LIGHT_RAIN_ICE=6504]="AM_LIGHT_RAIN_ICE",L[L.RAIN_ICE_WIND_EARLY=6510]="RAIN_ICE_WIND_EARLY",L[L.LIGHT_RAIN_ICE_WIND_EARLY=6511]="LIGHT_RAIN_ICE_WIND_EARLY",L[L.AM_RAIN_ICE_WIND=6513]="AM_RAIN_ICE_WIND",L[L.AM_LIGHT_RAIN_ICE_WIND=6514]="AM_LIGHT_RAIN_ICE_WIND",L[L.ICE_EARLY=6600]="ICE_EARLY",L[L.AM_ICE=6603]="AM_ICE",L[L.ICE_WIND_EARLY=6610]="ICE_WIND_EARLY",L[L.AM_ICE_WIND=6613]="AM_ICE_WIND",L[L.RAIN_ICE_LATE=7500]="RAIN_ICE_LATE",L[L.LIGHT_RAIN_ICE_LATE=7501]="LIGHT_RAIN_ICE_LATE",L[L.PM_RAIN_ICE=7503]="PM_RAIN_ICE",L[L.PM_LIGHT_RAIN_ICE=7504]="PM_LIGHT_RAIN_ICE",L[L.RAIN_ICE_WIND_LATE=7510]="RAIN_ICE_WIND_LATE",L[L.LIGHT_RAIN_ICE_WIND_LATE=7511]="LIGHT_RAIN_ICE_WIND_LATE",L[L.PM_RAIN_ICE_WIND=7513]="PM_RAIN_ICE_WIND",L[L.PM_LIGHT_RAIN_ICE_WIND=7514]="PM_LIGHT_RAIN_ICE_WIND",L[L.ICE_LATE=7600]="ICE_LATE",L[L.PM_ICE=7603]="PM_ICE",L[L.ICE_WIND_LATE=7610]="ICE_WIND_LATE",L[L.PM_ICE_WIND=7613]="PM_ICE_WIND",L[L.RAIN_TO_ICE=8100]="RAIN_TO_ICE",L[L.RAIN_TO_ICE_WIND=8110]="RAIN_TO_ICE_WIND",L[L.ICE_TO_RAIN=8500]="ICE_TO_RAIN",L[L.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 n=e.r(349262),i={O:n.WindDirectionCardinal.WEST,NO:n.WindDirectionCardinal.NORTHWEST,NNO:n.WindDirectionCardinal.NORTH_NORTHWEST,ONO:n.WindDirectionCardinal.WEST_NORTHWEST,OSO:n.WindDirectionCardinal.WEST_SOUTHWEST,SO:n.WindDirectionCardinal.SOUTHWEST,SSO:n.WindDirectionCardinal.SOUTH_SOUTHWEST};r.normalizeCardinal=e=>i[e]||e},37423,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["dprSdkIsInitializedAtom",0,t])},645968,e=>{"use strict";var t=e.i(742436),r=e.i(495110),n=e.i(283366);e.s(["default",0,function(e,i){let o=(0,t.useExperimentContext)();(0,n.useExposure)(e);let I=(0,r.useIsHydratingRender)();return!o||I?i:o.variant(e,i)}])},226602,e=>{"use strict";var t=e.i(902875),r=e.i(247865),n=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...o},I)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:I,"aria-labelledby":r,"aria-describedby":i,...o,children:[n?(0,t.jsx)("desc",{id:i,children:n}):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"})]})),o=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:i,...e}));o.displayName="Close",e.s(["Close",0,o])},671525,e=>{"use strict";var t=e.i(725287);let r=()=>{let e=(0,t.useRouter)();return{navigate:(t,r={})=>{let{mpa:n=!0,replace:i=!1}=r;n?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])},5397,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["showAdminHeaderAtom",0,t])},752496,e=>{"use strict";var t=e.i(247865),r=e.i(609858);let n=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:i,page:o,onUpdateData:I,onSetPageData:a}){let{updateComponentData:_,setPageData:E}=(0,r.useDebugSystem)(),s=(0,t.useRef)(!1),l=I||_,N=a||E;return(0,t.useEffect)(()=>{if(i)return n.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(i),hasPerformance:!!i.performance,hasContext:!!i.context}),l(e,{...i,_collectedAt:new Date().toISOString()}),()=>{n.lifecycle(`Cleaning up data for ${e}`),l(e,null)}},[e,i,l]),(0,t.useEffect)(()=>{o&&!s.current&&(n.lifecycle("Setting page metadata",{title:o.title,assetName:o.assetName,collection:o.collection}),N({...o,_updatedAt:new Date().toISOString()}),s.current=!0)},[o,N]),null}])},609858,674339,e=>{"use strict";var t=e.i(546446),r=e.i(247865);let n=(0,e.i(981030).atom)({timestamp:new Date().toISOString()});e.s(["debugDataAtom",0,n],674339),e.s(["useDebugSystem",0,function(){let[e,i]=(0,t.useAtom)(n),o=(0,r.useCallback)((e,t)=>{i(r=>{let n=r?.[e]||{},i="object"==typeof t&&null!==t&&"object"==typeof n?{...n,...t}:t;return{...r,[e]:i}})},[i]),I=(0,r.useCallback)((e,t)=>{i(r=>{let n=r||{timestamp:new Date().toISOString()},i=n.components||{};if(null===t){let t={...i};return delete t[e],{...n,components:t}}return{...n,components:{...i,[e]:t}}})},[i]),a=(0,r.useCallback)(e=>{o("page",e)},[o]),_=(0,r.useCallback)(e=>{o("route",e)},[o]),E=(0,r.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&o(e,t)})},[o]);return{debugData:e,updateSection:o,updateComponentData:I,setPageData:a,clearAllDebugData:(0,r.useCallback)(()=>{i({timestamp:new Date().toISOString()})},[i]),updateRouteInfo:_,updatePageDebug:E}}],609858)},617874,e=>{"use strict";let t="Imperial",r="Metric",n="Hybrid",i={code:"e",name:t,temp:"F",speed:"mph",distance:"mi",accumulation:"in",precip:"in",pressure:"in"},o={code:"m",name:r,temp:"C",speed:"km/h",distance:"km",accumulation:"cm",precip:"mm",pressure:"mb"},I={code:"h",name:n,temp:"C",speed:"mph",distance:"mi",accumulation:"in",precip:"in",pressure:"mb"};e.s(["UNITS_COOKIE_KEY",0,"unitOfMeasurement","UNIT_HYBRID",0,n,"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 o;case"h":return I;default:return null}},"unitsSystemByName",0,function(e=""){switch(e.toLowerCase()){case"imperial":case"Imperial":return i;case"metric":case"Metric":return o;case"hybrid":case"Hybrid":return I;default:return null}}])},889753,301904,e=>{"use strict";var t=e.i(284007),r=e.i(617874),n=e.i(990033),i=e.i(981030),o=e.i(543512);let I={animationSpeed:1,autoplay:!0,opacity:90,roadOverlay:"default",style:"default"};e.s(["DEFAULT_MAP_SETTINGS",0,I],301904);let a=(0,i.atom)(o.UserSubscriptionTiers.none),_=(0,t.atomWithStorage)("userProfile",null,void 0,{getOnInit:!0}),E=(0,t.atomWithStorage)("userPreferences",{userID:(0,n.v4)(),unit:r.UNIT_IMPERIAL,locations:[],locale:"en_US",mapSettings:I,favoriteWeatherComponents:[],favoriteActivityComponents:[],dashboard:[]},void 0,{getOnInit:!0});e.s(["userPreferencesAtom",0,E,"userProfileAtom",0,_,"userTierAtom",0,a],889753)},528600,e=>{"use strict";let t;var r=e.i(247865),n=e.i(546446),i=e.i(949920),o=e.i(889753),I=e.i(901351),a=e.i(310847),_=e.i(543512),E=e.i(990033),s=e.i(333350),l=e.i(495110),N=e.i(513513),R=e.i(960576);e.s(["useUser",0,function(){let[e,c]=(0,n.useAtom)(o.userProfileAtom),[u,A]=(0,n.useAtom)(a.wxuUserAnonymousIdAtom),[T,d]=(0,n.useAtom)(a.wxuUserAccountUserAccountResponseAtom),[S,D]=(0,r.useState)(!1),C=(0,n.useSetAtom)(a.wxuLoginRedirectPageAtom),L=(0,l.useIsHydratingRender)();s.default&&!S&&(C(window.location.href),D(!0));let O=(0,n.useAtomValue)(o.userTierAtom),p=(0,N.isUserLoggedIn)(O),m=u;!m&&s.default&&(t||(t=(0,R.readEarlyAnonId)()??(0,E.v4)()),m=t),s.default&&!u&&m&&A(m),!e&&T&&c(T);let W=(0,i.default)(p?"upsx/id":null,()=>I.upsxClient.account.getAccountId(),{shouldRetryOnError:e=>"APIError"!==e.name}),{userID:H=""}=W?.data||{},G=H&&e?.userID!==H,g=(0,i.default)(G?"upsx/account":null,()=>I.upsxClient.account.getAccount(),{shouldRetryOnError:e=>"APIError"!==e.name,onSuccess:e=>{c(e),d(e)}});return{user:{anonId:m,userID:H,isUserLoggedIn:p,subscriptionTier:O,isUserPremium:(0,N.isUserTierPremium)(O),isUserAdFree:O===_.UserSubscriptionTiers.adFree},userProfile:L?null:e,isUserIdLoading:W.isLoading,profileError:g.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 n=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,n,"UserSubscriptionTiers",()=>r,"UserSubscriptionTiersMap",0,{standard:0,tier0:1,tier1:1,"ad-free-v2":2,tier3:3}])},960576,e=>{"use strict";let t="wxu-exp-anon-id";e.s(["clearEarlyAnonId",0,function(){try{window.localStorage.removeItem(t)}catch{}},"readEarlyAnonId",0,function(){let e=window.__wxExperimentDeviceId;if("string"==typeof e&&e)return e;try{return window.localStorage.getItem(t)||void 0}catch{return}}])},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])},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])}]);