(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,49893,e=>{"use strict";let t=(0,e.i(751931).atom)();e.s(["adsKillswitchAtom",0,t])},5397,e=>{"use strict";let t=(0,e.i(751931).atom)();e.s(["showAdminHeaderAtom",0,t])},630986,e=>{"use strict";var t=e.i(475566),r=e.i(604323);e.s(["useCMSAttributes",0,()=>(0,t.useAtomValue)(r.metricsArticleDataAtom)])},572739,e=>{"use strict";var t=e.i(297647),r=e.i(241722),n=e.i(751931),i=e.i(475566),o=e.i(477716);let a=(0,n.atom)(!1);function l({regime:e}){let n=(0,i.useStore)();return(0,o.useEffect)(()=>{(async()=>{window?.DprSdk?.isInitialized&&(await window?.DprSdk.isInitialized,n.set(a,!0))})()},[n]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{id:"dprsdk-script",src:"https://weather.com/api/v1/script/dprSdkScript.js",strategy:"beforeInteractive"}),(0,t.jsx)(r.default,{id:"dprsdk-init",strategy:"beforeInteractive",children:` if (window.top?.DprSdk) { async function initDprSdk() { try { await window.top?.DprSdk.init({ getApplicationInfo: () => ({ id: 'weather.com', version: '2.0.0' }), getUserRegime: () => '${e}', }); } catch (_error) { // do nothing. } } initDprSdk(); } `})]})}e.s(["default",()=>l,"dprSdkIsInitializedAtom",0,a])},742436,e=>{"use strict";var t=e.i(694914),r=e.i(297647),n=e.i(477716),i=e.i(241722),o=e.i(333350),a=e.i(310847),l=e.i(475566),s=e.i(737801),c=e.i(528600),u=e.i(186316);let d="client-a74nh7wdmymfO9eOcl5awe1cgB30BDRV",f="production"!==t.default.env.VERCEL_TARGET_ENV,p=(0,n.createContext)(null),h=({children:e,scriptSrc:t})=>{let h,m=(0,l.useAtomValue)(a.wxuUserAnonymousIdAtom),I=(h=(0,s.useEventAttributes)(),(0,n.useCallback)((e,t={})=>{if(!window.mParticle?.isInitialized?.())return void console.warn("MParticle is not initialized");if(!e)return void console.warn("No exposure data provided to trackEnrolledInExperiment");if(!e.experiment_key)return void console.debug(`[Experiment] Skipping exposure tracking for ${e.flag_key} - no experiment_key (feature flag only)`);try{let r={...h,newVariant:e.variant||"",newExperiment:e.experiment_key,newExperimentReceivedAt:Date.now()};window.mParticle?.logEvent?.("enrolled-in-experiment",window.mParticle?.EventType?.Other,r,t),console.debug(`MParticle: Event tracked - enrolled-in-experiment for ${e.flag_key||"unknown"}:${e.variant}`)}catch(e){console.error("MParticle: Failed to track event",e)}},[h])),{user:E}=(0,c.useUser)(),[_,R]=(0,n.useState)(!1),[N,A]=(0,n.useState)(!1),[g,y]=(0,n.useState)({});(0,n.useEffect)(()=>{if(o.default){let e=(0,u.getCookie)("amplitude-variants");if(e)try{let t=JSON.parse(e.toString());y(t),f&&Object.keys(t).length>0&&console.debug("[Experiment] Loaded server variants from cookie:",Object.keys(t))}catch(e){console.error("[Experiment] Failed to parse variants cookie:",e)}}},[]);let v=function(e,t,r){let i=(0,n.useRef)(null),[a,l]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(!a&&o.default&&d&&t){if(!window.Experiment)return void console.error("Amplitude Experiment SDK not loaded. Script may still be loading.");try{let t=Object.keys(r).length>0;i.current=window.Experiment.initialize(d,{debug:f,fetchTimeoutMillis:5e3,retryFetchOnFailure:!0,fetchOnStart:!1,automaticExposureTracking:!0,exposureTrackingProvider:{track:t=>{try{e(t),f&&console.debug("[Experiment] Exposure tracked:",t)}catch(e){console.error("[Experiment] Failed to track exposure:",e)}}},initialVariants:t?r:void 0,source:t?"initialVariants":"localStorage"}),l(!0),f&&(t?console.debug("[Experiment] SDK initialized with server variants:",Object.keys(r)):console.debug("[Experiment] SDK initialized (will fetch from API)"))}catch(e){console.error("Failed to initialize Amplitude Experiment SDK:",e)}}},[a,t,e,r]),i.current}(I,_,g);(0,n.useEffect)(()=>{(async()=>{if(!v)return;let e=(0,u.getCookie)("ANON_C")?.toString(),t=E.userID||e||m;if(!t){f&&console.debug("[Experiment] No user identifier available"),A(!0);return}let r={device_id:m,user_id:t,user_properties:{}};f&&console.debug("[Experiment] Fetching experiments from API for user:",r);try{await v.fetch(r)}catch(e){console.error("[Experiment] Failed to fetch experiments:",e)}finally{A(!0)}})()},[v,m,E.userID]);let T=(0,n.useRef)(!1);return(0,n.useEffect)(()=>{T.current=!1},[E.userID]),(0,n.useEffect)(()=>{if(!v||0===Object.keys(g).length||T.current)return;let e=()=>{if(!T.current){for(let e of Object.keys(g))v.variant(e);T.current=!0,f&&console.debug("[Experiment] Tracked exposures for server variants:",Object.keys(g))}};window.mParticle?.isInitialized?.()?e():window.mParticle?.ready?.(e)},[v,g]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.default,{src:t,strategy:"afterInteractive",onLoad:()=>{R(!0),f&&console.debug("Amplitude Experiment script loaded")},onError:e=>{console.error("Failed to load Amplitude Experiment script:",e)}}),(0,r.jsx)(p.Provider,{value:{client:v,variant:(e,t)=>{if(!v)return t;let r=v.variant(e,t);return f&&console.debug("[Experiment] Current Variant:",r),r},fetch:e=>{if(!v)return Promise.resolve();if(!e){let e=(0,u.getCookie)("ANON_C")?.toString(),t=E.userID||e||m;if(t){let e=E.userID?{user_id:t,user_properties:{}}:{device_id:t,user_properties:{}};return v.fetch(e)}}return v.fetch(e)},isFetchComplete:N},children:e})]})};e.s(["ExperimentProvider",0,h,"default",0,h,"useExperimentContext",0,()=>{let e=(0,n.useContext)(p);if(!e)throw Error("useExperimentContext must be used within an AmplitudeExperimentProvider");return e}],742436)},436028,e=>{"use strict";e.s(["hasLength",0,e=>Array.isArray(e)&&e.length>0])},985542,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.searchLocations=a,r.transformLocationSearch=l,r.getLocationsByQuery=s,r.getLocationsByQueryAndType=c;let n=e.r(630585),i=e.r(678651),o=e.r(414655);async function a(e){let t=(0,n.getLocationSearchUrlConfig)(e),r=(0,i.urlFrom)(t),a=await fetch(r,{headers:{"Accept-Encoding":"gzip"}});return(0,o.handleFetchResponse)(a)}function l(e){let t=[];if(!e.location||!e.location.city||0===e.location.city.length)return t;let r=e.location.city.length;for(let n=0;n{"use strict";var t=e.i(477716),r=e.i(147732);function n(e,n){let[i,o]=(0,t.useState)(e);return(0,t.useEffect)(()=>{let t=(0,r.debounce)(e=>{o(e)},n);return t(e),()=>{t.cancel()}},[e,n]),i}e.s(["default",0,n,"useDebounce",()=>n])},180193,e=>{"use strict";var t=e.i(297647),r=e.i(477716),n=e.i(617874);let i=(0,r.memo)(({className:e,unitsClassName:r,units:i,value:o,degreeSymbolClass:a,unitOnly:l})=>{let s=null!=o,c=i?(0,n.unitsSystemByCode)(i):null,u=c?.temp,d=Number.isFinite(o)&&Math.round(o);return(0,t.jsx)("span",{"data-testid":"TemperatureValue",className:e,dir:"ltr",children:s||!s&&l?(0,t.jsxs)(t.Fragment,{children:[s&&d,(0,t.jsx)("span",{className:a,children:"°"}),u&&(0,t.jsx)("span",{className:r,children:u})]}):"--"})});e.s(["Temperature",0,i])},979777,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getCurrentObservationsUrlConfig=function({geocode:e,units:t,language:r}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/observations/current",query:{geocode:e,units:t,language:r,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},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,a,l,s,c,u,d,f,p,h,m,I,E,_,R,N,A,g;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,(p=n||(r.Units=n={})).IMPERIAL="e",p.METRIC="m",p.HYBRID="h",(h=i||(r.ForecastDuration=i={})).THREE_DAY="3day",h.FIVE_DAY="5day",h.SEVEN_DAY="7day",h.TEN_DAY="10day",h.FIFTEEN_DAY="15day",(m=o||(r.HourlyForecastDuration=o={})).SIX_HOUR="6hour",m.TWELVE_HOUR="12hour",m.ONE_DAY="1day",m.TWO_DAY="2day",m.THREE_DAY="3day",m.TEN_DAY="10day",m.FIFTEEN_DAY="15day",(I=a||(r.DayOrNight=a={})).DAY="D",I.NIGHT="N",I.MISSING="X",(E=l||(r.WindDirectionCardinal=l={})).NORTH="N",E.NORTH_NORTHEAST="NNE",E.NORTHEAST="NE",E.EAST_NORTHEAST="ENE",E.EAST="E",E.EAST_SOUTHEAST="ESE",E.SOUTHEAST="SE",E.SOUTH_SOUTHEAST="SSE",E.SOUTH="S",E.SOUTH_SOUTHWEST="SSW",E.SOUTHWEST="SW",E.WEST_SOUTHWEST="WSW",E.WEST="W",E.WEST_NORTHWEST="WNW",E.NORTHWEST="NW",E.NORTH_NORTHWEST="NNW",E.CALM="CALM",(_=s||(r.UVDescription=s={})).NOT_AVAILABLE="-2",_.NO_REPORT="-1",_.LOW="Low",_.MODERATE="Moderate",_.HIGH="High",_.VERY_HIGH="Very High",_.EXTREME="Extreme",(R=c||(r.PressureTendencyCode=c={}))[R.STEADY=0]="STEADY",R[R.RISING=1]="RISING",R[R.FALLING=2]="FALLING",R[R.RAPIDLY_RISING=3]="RAPIDLY_RISING",R[R.RAPIDLY_FALLING=4]="RAPIDLY_FALLING",(N=u||(r.CloudCoverPhrase=u={})).CLEAR="Clear",N.PARTLY_CLOUDY="Partly Cloudy",N.MOSTLY_CLOUDY="Mostly Cloudy",N.CLOUDY="Cloudy",(A=d||(r.IconCode=d={}))[A.TORNADO=0]="TORNADO",A[A.TROPICAL_STORM=1]="TROPICAL_STORM",A[A.HURRICANE=2]="HURRICANE",A[A.STRONG_STORMS=3]="STRONG_STORMS",A[A.THUNDERSTORMS=4]="THUNDERSTORMS",A[A.RAIN_SNOW_WINTERY_MIX=5]="RAIN_SNOW_WINTERY_MIX",A[A.RAIN_SLEET=6]="RAIN_SLEET",A[A.RAIN_SNOW_WINTERY_MIX_ALT=7]="RAIN_SNOW_WINTERY_MIX_ALT",A[A.FREEZING_DRIZZLE_RAIN=8]="FREEZING_DRIZZLE_RAIN",A[A.DRIZZLE=9]="DRIZZLE",A[A.FREEZING_DRIZZLE_RAIN_ALT=10]="FREEZING_DRIZZLE_RAIN_ALT",A[A.SHOWERS=11]="SHOWERS",A[A.RAIN=12]="RAIN",A[A.FLURRIES=13]="FLURRIES",A[A.SNOW_SHOWERS=14]="SNOW_SHOWERS",A[A.BLOWING_DRIFTING_SNOW=15]="BLOWING_DRIFTING_SNOW",A[A.SNOW=16]="SNOW",A[A.HAIL=17]="HAIL",A[A.SLEET=18]="SLEET",A[A.BLOWING_DUST_SANDSTORM=19]="BLOWING_DUST_SANDSTORM",A[A.FOGGY=20]="FOGGY",A[A.HAZE=21]="HAZE",A[A.SMOKE=22]="SMOKE",A[A.BREEZY=23]="BREEZY",A[A.WINDY=24]="WINDY",A[A.BLOWING_DRIFTING_SNOW_ALT=25]="BLOWING_DRIFTING_SNOW_ALT",A[A.CLOUDY=26]="CLOUDY",A[A.MOSTLY_CLOUDY_NIGHT=27]="MOSTLY_CLOUDY_NIGHT",A[A.MOSTLY_CLOUDY_DAY=28]="MOSTLY_CLOUDY_DAY",A[A.PARTLY_CLOUDY_NIGHT=29]="PARTLY_CLOUDY_NIGHT",A[A.PARTLY_CLOUDY_DAY=30]="PARTLY_CLOUDY_DAY",A[A.CLEAR_NIGHT=31]="CLEAR_NIGHT",A[A.SUNNY=32]="SUNNY",A[A.MOSTLY_CLEAR_NIGHT=33]="MOSTLY_CLEAR_NIGHT",A[A.MOSTLY_CLEAR_DAY=34]="MOSTLY_CLEAR_DAY",A[A.MIXED_RAIN_HAIL=35]="MIXED_RAIN_HAIL",A[A.SUNNY_ALT=36]="SUNNY_ALT",A[A.ISOLATED_THUNDERSTORMS=37]="ISOLATED_THUNDERSTORMS",A[A.SCATTERED_THUNDERSTORMS_DAY=38]="SCATTERED_THUNDERSTORMS_DAY",A[A.SCATTERED_SHOWERS_DAY=39]="SCATTERED_SHOWERS_DAY",A[A.HEAVY_RAIN=40]="HEAVY_RAIN",A[A.SCATTERED_SNOW_SHOWERS_DAY=41]="SCATTERED_SNOW_SHOWERS_DAY",A[A.HEAVY_SNOW_BLIZZARD=42]="HEAVY_SNOW_BLIZZARD",A[A.HEAVY_SNOW_BLIZZARD_ALT=43]="HEAVY_SNOW_BLIZZARD_ALT",A[A.NA=44]="NA",A[A.SCATTERED_SHOWERS_NIGHT=45]="SCATTERED_SHOWERS_NIGHT",A[A.SCATTERED_SNOW_SHOWERS_NIGHT=46]="SCATTERED_SNOW_SHOWERS_NIGHT",A[A.SCATTERED_THUNDERSTORMS_NIGHT=47]="SCATTERED_THUNDERSTORMS_NIGHT",(g=f||(r.IconCodeExtended=f={}))[g.STRONG_STORMS=300]="STRONG_STORMS",g[g.STRONG_STORMS_WIND=310]="STRONG_STORMS_WIND",g[g.FREEZING_RAIN=1e3]="FREEZING_RAIN",g[g.LIGHT_FREEZING_RAIN=1001]="LIGHT_FREEZING_RAIN",g[g.HEAVY_FREEZING_RAIN=1002]="HEAVY_FREEZING_RAIN",g[g.FREEZING_RAIN_WIND=1010]="FREEZING_RAIN_WIND",g[g.LIGHTFREEZING_RAIN_WIND=1011]="LIGHTFREEZING_RAIN_WIND",g[g.HEAVY_FREEZING_RAIN_WIND=1012]="HEAVY_FREEZING_RAIN_WIND",g[g.LIGHT_FREEZING_RAIN_FOG=1051]="LIGHT_FREEZING_RAIN_FOG",g[g.SLEET=1800]="SLEET",g[g.LIGHT_SLEET=1801]="LIGHT_SLEET",g[g.SLEET_WIND=1810]="SLEET_WIND",g[g.LIGHT_SLEET_WIND=1811]="LIGHT_SLEET_WIND",g[g.SCATTERED_THUNDERSTORMS_WIND=3819]="SCATTERED_THUNDERSTORMS_WIND",g[g.HEAVY_SNOW=4200]="HEAVY_SNOW",g[g.HEAVY_SNOW_WIND=4210]="HEAVY_SNOW_WIND",g[g.BLIZZARD=4300]="BLIZZARD",g[g.FREEZING_RAIN_SLEET=5100]="FREEZING_RAIN_SLEET",g[g.LIGHT_FREEZING_RAIN_SLEET=5101]="LIGHT_FREEZING_RAIN_SLEET",g[g.FREEZING_RAIN_SLEET_WIND=5110]="FREEZING_RAIN_SLEET_WIND",g[g.LIGHT_FREEZING_RAIN_SLEET_WIND=5111]="LIGHT_FREEZING_RAIN_SLEET_WIND",g[g.RAIN_FREEZING_RAIN=5300]="RAIN_FREEZING_RAIN",g[g.LIGHT_RAIN_FREEZING_RAIN=5301]="LIGHT_RAIN_FREEZING_RAIN",g[g.HEAVY_RAIN_FREEZING_RAIN=5302]="HEAVY_RAIN_FREEZING_RAIN",g[g.RAIN_FREEZING_RAIN_WIND=5310]="RAIN_FREEZING_RAIN_WIND",g[g.LIGHT_RAIN_FREEZING_RAIN_WIND=5311]="LIGHT_RAIN_FREEZING_RAIN_WIND",g[g.HEAVY_RAIN_FREEZING_RAIN_WIND=5312]="HEAVY_RAIN_FREEZING_RAIN_WIND",g[g.LIGHT_RAIN_FREEZING_RAIN_FOG=5351]="LIGHT_RAIN_FREEZING_RAIN_FOG",g[g.THUNDER_SNOW=5600]="THUNDER_SNOW",g[g.THUNDER_SNOW_WIND=5610]="THUNDER_SNOW_WIND",g[g.SCATTERED_STRONG_STORMS=5709]="SCATTERED_STRONG_STORMS",g[g.SCATTERED_STRONG_STORMS_WIND=5719]="SCATTERED_STRONG_STORMS_WIND",g[g.RAIN_ICE_EARLY=6500]="RAIN_ICE_EARLY",g[g.LIGHT_RAIN_ICE_EARLY=6501]="LIGHT_RAIN_ICE_EARLY",g[g.AM_RAIN_ICE=6503]="AM_RAIN_ICE",g[g.AM_LIGHT_RAIN_ICE=6504]="AM_LIGHT_RAIN_ICE",g[g.RAIN_ICE_WIND_EARLY=6510]="RAIN_ICE_WIND_EARLY",g[g.LIGHT_RAIN_ICE_WIND_EARLY=6511]="LIGHT_RAIN_ICE_WIND_EARLY",g[g.AM_RAIN_ICE_WIND=6513]="AM_RAIN_ICE_WIND",g[g.AM_LIGHT_RAIN_ICE_WIND=6514]="AM_LIGHT_RAIN_ICE_WIND",g[g.ICE_EARLY=6600]="ICE_EARLY",g[g.AM_ICE=6603]="AM_ICE",g[g.ICE_WIND_EARLY=6610]="ICE_WIND_EARLY",g[g.AM_ICE_WIND=6613]="AM_ICE_WIND",g[g.RAIN_ICE_LATE=7500]="RAIN_ICE_LATE",g[g.LIGHT_RAIN_ICE_LATE=7501]="LIGHT_RAIN_ICE_LATE",g[g.PM_RAIN_ICE=7503]="PM_RAIN_ICE",g[g.PM_LIGHT_RAIN_ICE=7504]="PM_LIGHT_RAIN_ICE",g[g.RAIN_ICE_WIND_LATE=7510]="RAIN_ICE_WIND_LATE",g[g.LIGHT_RAIN_ICE_WIND_LATE=7511]="LIGHT_RAIN_ICE_WIND_LATE",g[g.PM_RAIN_ICE_WIND=7513]="PM_RAIN_ICE_WIND",g[g.PM_LIGHT_RAIN_ICE_WIND=7514]="PM_LIGHT_RAIN_ICE_WIND",g[g.ICE_LATE=7600]="ICE_LATE",g[g.PM_ICE=7603]="PM_ICE",g[g.ICE_WIND_LATE=7610]="ICE_WIND_LATE",g[g.PM_ICE_WIND=7613]="PM_ICE_WIND",g[g.RAIN_TO_ICE=8100]="RAIN_TO_ICE",g[g.RAIN_TO_ICE_WIND=8110]="RAIN_TO_ICE_WIND",g[g.ICE_TO_RAIN=8500]="ICE_TO_RAIN",g[g.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},889951,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getCurrentObservations=l;let n=e.r(979777),i=e.r(678651),o=e.r(414655),a=e.r(861160);async function l(e){let t=(0,n.getCurrentObservationsUrlConfig)(e),r=(0,i.urlFrom)(t),l=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}}),s=await (0,o.handleFetchResponse)(l);return{...s,windDirectionCardinal:(0,a.normalizeCardinal)(s.windDirectionCardinal)}}},674885,e=>{"use strict";var t=e.i(751931),r=e.i(617874),n=e.i(889753);let i=(0,t.atom)(e=>e(n.userPreferencesAtom)?.unit||r.UNIT_IMPERIAL),o=(0,t.atom)(e=>e(i)===r.UNIT_IMPERIAL),a=(0,t.atom)(e=>e(i)===r.UNIT_METRIC),l=(0,t.atom)(e=>e(i)===r.UNIT_HYBRID);e.s(["isHybridUnitsAtom",0,l,"isImperialUnitsAtom",0,o,"isMetricUnitsAtom",0,a,"userUnitPreferenceAtom",0,i])},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),a=n(i-t),l=Math.sin(o/2)*Math.sin(o/2)+Math.cos(n(e))*Math.cos(n(r))*Math.sin(a/2)*Math.sin(a/2);return 2*Math.atan2(Math.sqrt(l),Math.sqrt(1-l))*6371}Object.defineProperty(r,"__esModule",{value:!0}),r.degreesToRadians=n,r.calculateDistance=i,r.findNearestPlace=function(e,t,r){if(0===r.length)return null;let n=null,o=1/0;for(let a of r){let r=i(e,t,a.lat,a.lon);r{"use strict";var t=e.i(352194);e.s(["useUrlTranslations",0,({key:e,includeEnUsLocale:r=!1,interpolationArgs:n})=>{let i=(0,t.useTranslations)("Urls"),o=e&&i(e,n)||"";if(!r)return"/en-US"===o?"/":o.replace("/en-US/","/");return o}],662023)},724475,(e,t,r)=>{"use strict";r.match=function(e,t){return s(e).some(function(e){var r=e.inverse,n="all"===e.type||t.type===e.type;if(n&&r||!(n||r))return!1;var i=e.expressions.every(function(e){var r=e.feature,n=e.modifier,i=e.value,o=t[r];if(!o)return!1;switch(r){case"orientation":case"scan":return o.toLowerCase()===i.toLowerCase();case"width":case"height":case"device-width":case"device-height":i=d(i),o=d(o);break;case"resolution":i=u(i),o=u(o);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":i=c(i),o=c(o);break;case"grid":case"color":case"color-index":case"monochrome":i=parseInt(i,10)||1,o=parseInt(o,10)||0}switch(n){case"min":return o>=i;case"max":return o{"use strict";var n=e.r(724475).match,i="u">typeof window?window.matchMedia:null;function o(e,t,r){var o,a=this;function l(e){a.matches=e.matches,a.media=e.media}i&&!r&&(o=i.call(window,e)),o?(this.matches=o.matches,this.media=o.media,o.addListener(l)):(this.matches=n(e,t),this.media=e),this.addListener=function(e){o&&o.addListener(e)},this.removeListener=function(e){o&&o.removeListener(e)},this.dispose=function(){o&&o.removeListener(l)}}t.exports=function(e,t,r){return new o(e,t,r)}},35305,(e,t,r)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},561227,(e,t,r)=>{"use strict";var n=e.r(35305);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},304153,(e,t,r)=>{t.exports=e.r(561227)()},909232,e=>{"use strict";var t=e.i(477716),r=e.i(342716),n=/[A-Z]/g,i=/^ms-/,o={};function a(e){return"-"+e.toLowerCase()}let l=function(e){if(o.hasOwnProperty(e))return o[e];var t=e.replace(n,a);return o[e]=i.test(t)?"-"+t:t};var s=e.i(304153);let c=s.default.oneOfType([s.default.string,s.default.number]),u={all:s.default.bool,grid:s.default.bool,aural:s.default.bool,braille:s.default.bool,handheld:s.default.bool,print:s.default.bool,projection:s.default.bool,screen:s.default.bool,tty:s.default.bool,tv:s.default.bool,embossed:s.default.bool},{type:d,...f}={orientation:s.default.oneOf(["portrait","landscape"]),scan:s.default.oneOf(["progressive","interlace"]),aspectRatio:s.default.string,deviceAspectRatio:s.default.string,height:c,deviceHeight:c,width:c,deviceWidth:c,color:s.default.bool,colorIndex:s.default.bool,monochrome:s.default.bool,resolution:c,type:Object.keys(u)},p={minAspectRatio:s.default.string,maxAspectRatio:s.default.string,minDeviceAspectRatio:s.default.string,maxDeviceAspectRatio:s.default.string,minHeight:c,maxHeight:c,minDeviceHeight:c,maxDeviceHeight:c,minWidth:c,maxWidth:c,minDeviceWidth:c,maxDeviceWidth:c,minColor:s.default.number,maxColor:s.default.number,minColorIndex:s.default.number,maxColorIndex:s.default.number,minMonochrome:s.default.number,maxMonochrome:s.default.number,minResolution:c,maxResolution:c,...f};var h={...u,...p};let m=(0,t.createContext)(void 0),I=e=>{if(e)return Object.keys(e).reduce((t,r)=>(t[l(r)]=e[r],t),{})},E=()=>{let e=(0,t.useRef)(!1);return(0,t.useEffect)(()=>{e.current=!0},[]),e.current};e.s(["useClientMobileMedia",0,()=>!((e,n,i)=>{let o=(e=>{let r=(0,t.useContext)(m),n=()=>I(e)||I(r),[i,o]=(0,t.useState)(n);return(0,t.useEffect)(()=>{let e=n();!function(e,t){if(e===t)return!0;if(!e||!t)return!1;let r=Object.keys(e),n=Object.keys(t),i=r.length;if(n.length!==i)return!1;for(let n=0;n{let r=()=>{let t;return e.query||(t=[],Object.keys(h).forEach(r=>{let n=e[r];null!=n&&t.push(((e,t)=>{let r=l(e);if("number"==typeof t&&(t=`${t}px`),!0===t)return r;if(!1===t)return`not ${r}`;return`(${r}: ${t})`})(r,n))}),t.join(" and "))},[n,i]=(0,t.useState)(r);return(0,t.useEffect)(()=>{let e=r();n!==e&&i(e)},[e]),n})(e);if(!a)throw Error("Invalid or missing MediaQuery!");let s=((e,n)=>{let i=()=>(0,r.default)(e,n||{},!!n),[o,a]=(0,t.useState)(i),l=E();return(0,t.useEffect)(()=>{if(l){let e=i();return a(e),()=>{e&&e.dispose()}}},[e,n]),o})(a,o),c=(e=>{let[r,n]=(0,t.useState)(e.matches);return(0,t.useEffect)(()=>{let t=e=>{n(e.matches)};return e.addListener(t),n(e.matches),()=>{e.removeListener(t)}},[e]),r})(s);return E(),(0,t.useEffect)(()=>{},[c]),(0,t.useEffect)(()=>()=>{s&&s.dispose()},[]),c})({query:"(min-width: 768px)"})],909232)},870393,e=>{"use strict";let t=(0,e.i(514514).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",()=>t],870393)},874886,e=>{"use strict";var t=e.i(375570);function r(){let e=(0,t.useParams)(),r=(0,t.usePathname)(),n=e?.canonicalLocation;if(n?.length)return r.substring(0,r.lastIndexOf("/"))}e.s(["CANONICAL_PAGE_TYPES",0,["today","hourbyhour","tenday","localalerts"],"useCanonicalBasePath",()=>r])},46365,(e,t,r)=>{"use strict";var n=e.i(694914);Object.defineProperty(r,"__esModule",{value:!0}),r.getMediaAssetsByIdUrlConfig=function({assetId:e,limit:t,language:r}){return{host:"weather.com",protocol:"https",pathname:"api/v2/content-media",query:{apiKey:n.default.env.WX_CONTENT_MEDIA_API_KEY,assetId:e,language:r,limit:t||void 0}}},r.getMediaAssetsByPlaylistIdUrlConfig=function({playlistId:e,limit:t,locale:r}){let i=r?r.split("-").join("_"):"en_US";return{host:"weather.com",protocol:"https",pathname:"api/v2/content-media",query:{apiKey:n.default.env.WX_CONTENT_MEDIA_API_KEY,dsxLocale:i,playlistId:e,...void 0!==t?{limit:t.toString()}:{}}}},r.getLocationMediaUrlConfig=function({geocode:e,placeId:t,radius:r,limit:n,mediaTypes:i}){return{host:"weather.com",protocol:"https",pathname:"/api/v1/content/media",query:{geocode:e,placeId:t,radius:r.toString(),limit:n.toString(),mediaTypes:i.join(",")}}}},718043,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getCMSCollectionsUrlConfig=function({collectionId:e,locale:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/collections/${t}/${e}`}},r.getCMSAssetByIDUrlConfig=function({language:e,assetId:t}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/a/${e}/${t}`}},r.getCMSOrderedCollectionsUrlConfig=function({collectionId:e,language:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/ordered-collections/${t}/${e}`}},r.getCMSOrderedListUrlConfig=function({collectionId:e,language:t,collectionType:r}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/orderedlist/${t}/${r}/${e}`}},r.getCMSAssetsUrlConfig=function({language:e="en_US",query:t={},skip:r=0,limit:o=10,sort:a="-publishdate"}){let l={q:Object.keys(t).reduce((e,r)=>{let n=t[r];return n instanceof Array?[...e,...n.map(e=>i(r,e))]:[...e,i(r,n)]},[]).join(";"),pg:`${r},${o}`,format:"json",sort:a},s=(0,n.queryStringToSearchParams)(l).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${s}`}},r.getCMSAssetsRawQueryUrlConfig=function({language:e="en_US",query:t="",skip:r=0,limit:i=10,sort:o="-publishdate"}){let a={q:t,pg:`${r},${i}`,format:"json",sort:o},l=(0,n.queryStringToSearchParams)(a).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${l}`}},r.getCMSAssetsSlideshowUrlConfig=function({offset:e=0,assetId:t,limit:r=500}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/assets/slideshow/${t}/${e},${r}`}},r.getCMSQuickNavUrlConfig=function(){return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/v4/settings/en_US/web/quick_nav"}};let n=e.r(678651);function i(e,t){let r=`'${t.$in}'`;return t.$in instanceof Array&&(r=t.$in.map(e=>`'${e}'`).join(",")),`${e}:$in(${r})`}},526371,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getOrderedCollectionByCollectionName=void 0,r.getVideosByCollectionName=a;let n=e.r(718043),i=e.r(678651),o=e.r(414655);async function a(e,t){let r=t?t.split("-").join("_"):"en_US",a=(0,i.urlFrom)((0,n.getCMSOrderedListUrlConfig)({language:r,collectionId:e,collectionType:"video"})),l=await fetch(a,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300,tags:[e]}});return(0,o.handleFetchResponse)(l)}r.getOrderedCollectionByCollectionName=async(e,t)=>{let r=t?t.split("-").join("_"):"en_US",a=(0,i.urlFrom)((0,n.getCMSOrderedCollectionsUrlConfig)({collectionId:e,language:r})),l=await fetch(a,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300,tags:[e]}});return(0,o.handleFetchResponse)(l)}},859827,993269,e=>{"use strict";var t=e.i(297647),r=e.i(477716),n=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...o},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"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:"Plus"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12 8.5a.8.8 0 0 0-.8-.8H8.8V5.3a.8.8 0 1 0-1.6 0v2.4H4.8a.8.8 0 1 0 0 1.6h2.4v2.4a.8.8 0 0 0 1.6 0V9.3h2.4a.8.8 0 0 0 .8-.8"})]})),o=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:i,...e}));o.displayName="Plus",e.s(["Plus",0,o],859827);let a=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...o},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"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:"Minus"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12 8.5a.8.8 0 0 0-.8-.8H4.8a.8.8 0 1 0 0 1.6h6.4a.8.8 0 0 0 .8-.8"})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:a,...e}));l.displayName="Minus",e.s(["Minus",0,l],993269)},809058,e=>{"use strict";var t=e.i(297647),r=e.i(477716),n=e.i(291967),i=e.i(144977),o=e.i(156207),a=e.i(60212),l=e.i(371353),s=e.i(89535),c=e.i(461194);let u=["top","right","bottom","left"],d=Math.min,f=Math.max,p=Math.round,h=Math.floor,m=e=>({x:e,y:e}),I={left:"right",right:"left",bottom:"top",top:"bottom"},E={start:"end",end:"start"};function _(e,t){return"function"==typeof e?e(t):e}function R(e){return e.split("-")[0]}function N(e){return e.split("-")[1]}function A(e){return"x"===e?"y":"x"}function g(e){return"y"===e?"height":"width"}let y=new Set(["top","bottom"]);function v(e){return y.has(R(e))?"y":"x"}function T(e){return e.replace(/start|end/g,e=>E[e])}let x=["left","right"],S=["right","left"],w=["top","bottom"],C=["bottom","top"];function O(e){return e.replace(/left|right|bottom|top/g,e=>I[e])}function D(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function b(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function L(e,t,r){let n,{reference:i,floating:o}=e,a=v(t),l=A(v(t)),s=g(l),c=R(t),u="y"===a,d=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,p=i[s]/2-o[s]/2;switch(c){case"top":n={x:d,y:i.y-o.height};break;case"bottom":n={x:d,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:f};break;case"left":n={x:i.x-o.width,y:f};break;default:n={x:i.x,y:i.y}}switch(N(t)){case"start":n[l]-=p*(r&&u?-1:1);break;case"end":n[l]+=p*(r&&u?-1:1)}return n}async function H(e,t){var r;void 0===t&&(t={});let{x:n,y:i,platform:o,rects:a,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=_(t,e),h=D(p),m=l[f?"floating"===d?"reference":"floating":d],I=b(await o.getClippingRect({element:null==(r=await (null==o.isElement?void 0:o.isElement(m)))||r?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:s})),E="floating"===d?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,R=await (null==o.getOffsetParent?void 0:o.getOffsetParent(l.floating)),N=await (null==o.isElement?void 0:o.isElement(R))&&await (null==o.getScale?void 0:o.getScale(R))||{x:1,y:1},A=b(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:E,offsetParent:R,strategy:s}):E);return{top:(I.top-A.top+h.top)/N.y,bottom:(A.bottom-I.bottom+h.bottom)/N.y,left:(I.left-A.left+h.left)/N.x,right:(A.right-I.right+h.right)/N.x}}let W=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:a}=r,l=o.filter(Boolean),s=await (null==a.isRTL?void 0:a.isRTL(t)),c=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=L(c,n,s),f=n,p={},h=0;for(let r=0;re[t]>=0)}let G=new Set(["left","top"]);async function j(e,t){let{placement:r,platform:n,elements:i}=e,o=await (null==n.isRTL?void 0:n.isRTL(i.floating)),a=R(r),l=N(r),s="y"===v(r),c=G.has(a)?-1:1,u=o&&s?-1:1,d=_(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof h&&(p="end"===l?-1*h:h),s?{x:p*u,y:f*c}:{x:f*c,y:p*u}}function F(){return"u">typeof window}function k(e){return Z(e)?(e.nodeName||"").toLowerCase():"#document"}function Y(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function U(e){var t;return null==(t=(Z(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Z(e){return!!F()&&(e instanceof Node||e instanceof Y(e).Node)}function z(e){return!!F()&&(e instanceof Element||e instanceof Y(e).Element)}function $(e){return!!F()&&(e instanceof HTMLElement||e instanceof Y(e).HTMLElement)}function V(e){return!(!F()||"u"{try{return e.matches(t)}catch(e){return!1}})}let J=["transform","translate","scale","rotate","perspective"],ee=["transform","translate","scale","rotate","perspective","filter"],et=["paint","layout","strict","content"];function er(e){let t=en(),r=z(e)?ea(e):e;return J.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||ee.some(e=>(r.willChange||"").includes(e))||et.some(e=>(r.contain||"").includes(e))}function en(){return!("u"z(e)&&"body"!==k(e)),i=null,o="fixed"===ea(e).position,a=o?es(e):e;for(;z(a)&&!eo(a);){let t=ea(a),r=er(a);r||"fixed"!==t.position||(i=null),(o?!r&&!i:!r&&"static"===t.position&&!!i&&eR.has(i.position)||q(a)&&!r&&function e(t,r){let n=es(t);return!(n===r||!z(n)||eo(n))&&("fixed"===ea(n).position||e(n,r))}(e,a))?n=n.filter(e=>e!==a):i=t,a=es(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],a=o[0],l=o.reduce((e,r)=>{let n=eN(t,r,i);return e.top=f(n.top,e.top),e.right=d(n.right,e.right),e.bottom=d(n.bottom,e.bottom),e.left=f(n.left,e.left),e},eN(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:ey,getElementRects:ev,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=ed(e);return{width:t,height:r}},getScale:ep,isElement:z,isRTL:function(e){return"rtl"===ea(e).direction}};function ex(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eS=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:i,rects:o,platform:a,elements:l,middlewareData:s}=t,{element:c,padding:u=0}=_(e,t)||{};if(null==c)return{};let p=D(u),h={x:r,y:n},m=A(v(i)),I=g(m),E=await a.getDimensions(c),R="y"===m,y=R?"clientHeight":"clientWidth",T=o.reference[I]+o.reference[m]-h[m]-o.floating[I],x=h[m]-o.reference[m],S=await (null==a.getOffsetParent?void 0:a.getOffsetParent(c)),w=S?S[y]:0;w&&await (null==a.isElement?void 0:a.isElement(S))||(w=l.floating[y]||o.floating[I]);let C=w/2-E[I]/2-1,O=d(p[R?"top":"left"],C),b=d(p[R?"bottom":"right"],C),L=w-E[I]-b,H=w/2-E[I]/2+(T/2-x/2),W=f(O,d(H,L)),M=!s.arrow&&null!=N(i)&&H!==W&&o.reference[I]/2-(Htypeof document?r.useLayoutEffect:function(){};function eO(e,t){let r,n,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!eO(e[n],t[n]))return!1;return!0}if((r=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,i[n]))return!1;for(n=r;0!=n--;){let r=i[n];if(("_owner"!==r||!e.$$typeof)&&!eO(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function eD(e){return"u"{t.current=e}),t}var eH=e.i(556872),eW=r.forwardRef((e,r)=>{let{children:n,width:i=10,height:o=5,...a}=e;return(0,t.jsx)(eH.Primitive.svg,{...a,ref:r,width:i,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,t.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eW.displayName="Arrow";var eM=e.i(252960),eP=e.i(127864),eG=e.i(853233),ej="Popper",[eF,ek]=(0,o.createContextScope)(ej),[eY,eU]=eF(ej),eZ=e=>{let{__scopePopper:n,children:i}=e,[o,a]=r.useState(null);return(0,t.jsx)(eY,{scope:n,anchor:o,onAnchorChange:a,children:i})};eZ.displayName=ej;var ez="PopperAnchor",e$=r.forwardRef((e,n)=>{let{__scopePopper:o,virtualRef:a,...l}=e,s=eU(ez,o),c=r.useRef(null),u=(0,i.useComposedRefs)(n,c),d=r.useRef(null);return r.useEffect(()=>{let e=d.current;d.current=a?.current||c.current,e!==d.current&&s.onAnchorChange(d.current)}),a?null:(0,t.jsx)(eH.Primitive.div,{...l,ref:u})});e$.displayName=ez;var eV="PopperContent",[eB,eq]=eF(eV),eK=r.forwardRef((e,n)=>{var o,a,l,s,c,u,p,m,I,E,y,D,b;let{__scopePopper:L,side:H="bottom",sideOffset:F=0,align:k="center",alignOffset:Y=0,arrowPadding:Z=0,avoidCollisions:z=!0,collisionBoundary:$=[],collisionPadding:V=0,sticky:B="partial",hideWhenDetached:q=!1,updatePositionStrategy:K="optimized",onPlaced:X,...Q}=e,J=eU(eV,L),[ee,et]=r.useState(null),er=(0,i.useComposedRefs)(n,e=>et(e)),[en,ei]=r.useState(null),eo=(0,eG.useSize)(en),ea=eo?.width??0,el=eo?.height??0,es="number"==typeof V?V:{top:0,right:0,bottom:0,left:0,...V},eu=Array.isArray($)?$:[$],ed=eu.length>0,ep={padding:es,boundary:eu.filter(e0),altBoundary:ed},{refs:eh,floatingStyles:em,placement:eE,isPositioned:e_,middlewareData:eR}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:o,elements:{reference:a,floating:l}={},transform:s=!0,whileElementsMounted:c,open:u}=e,[d,f]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(i);eO(p,i)||h(i);let[m,I]=r.useState(null),[E,_]=r.useState(null),R=r.useCallback(e=>{e!==y.current&&(y.current=e,I(e))},[]),N=r.useCallback(e=>{e!==v.current&&(v.current=e,_(e))},[]),A=a||m,g=l||E,y=r.useRef(null),v=r.useRef(null),T=r.useRef(d),x=null!=c,S=eL(c),w=eL(o),C=eL(u),O=r.useCallback(()=>{var e,r;let i,o,a;if(!y.current||!v.current)return;let l={placement:t,strategy:n,middleware:p};w.current&&(l.platform=w.current),(e=y.current,r=v.current,i=new Map,a={...(o={platform:eT,...l}).platform,_c:i},W(e,r,{...o,platform:a})).then(e=>{let t={...e,isPositioned:!1!==C.current};D.current&&!eO(T.current,t)&&(T.current=t,ew.flushSync(()=>{f(t)}))})},[p,t,n,w,C]);eC(()=>{!1===u&&T.current.isPositioned&&(T.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[u]);let D=r.useRef(!1);eC(()=>(D.current=!0,()=>{D.current=!1}),[]),eC(()=>{if(A&&(y.current=A),g&&(v.current=g),A&&g){if(S.current)return S.current(A,g,O);O()}},[A,g,O,S,x]);let b=r.useMemo(()=>({reference:y,floating:v,setReference:R,setFloating:N}),[R,N]),L=r.useMemo(()=>({reference:A,floating:g}),[A,g]),H=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!L.floating)return e;let t=eb(L.floating,d.x),r=eb(L.floating,d.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...eD(L.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,L.floating,d.x,d.y]);return r.useMemo(()=>({...d,update:O,refs:b,elements:L,floatingStyles:H}),[d,O,b,L,H])}({strategy:"fixed",placement:H+("center"!==k?"-"+k:""),whileElementsMounted:(...e)=>(function(e,t,r,n){let i;void 0===n&&(n={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=n,u=ef(e),p=o||a?[...u?ec(u):[],...ec(t)]:[];p.forEach(e=>{o&&e.addEventListener("scroll",r,{passive:!0}),a&&e.addEventListener("resize",r)});let m=u&&s?function(e,t){let r,n=null,i=U(e);function o(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function a(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),o();let c=e.getBoundingClientRect(),{left:u,top:p,width:m,height:I}=c;if(l||t(),!m||!I)return;let E={rootMargin:-h(p)+"px "+-h(i.clientWidth-(u+m))+"px "+-h(i.clientHeight-(p+I))+"px "+-h(u)+"px",threshold:f(0,d(1,s))||1},_=!0;function R(t){let n=t[0].intersectionRatio;if(n!==s){if(!_)return a();n?a(!1,n):r=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==n||ex(c,e.getBoundingClientRect())||a(),_=!1}try{n=new IntersectionObserver(R,{...E,root:i.ownerDocument})}catch(e){n=new IntersectionObserver(R,E)}n.observe(e)}(!0),o}(u,r):null,I=-1,E=null;l&&(E=new ResizeObserver(e=>{let[n]=e;n&&n.target===u&&E&&(E.unobserve(t),cancelAnimationFrame(I),I=requestAnimationFrame(()=>{var e;null==(e=E)||e.observe(t)})),r()}),u&&!c&&E.observe(u),E.observe(t));let _=c?eI(e):null;return c&&function t(){let n=eI(e);_&&!ex(_,n)&&r(),_=n,i=requestAnimationFrame(t)}(),r(),()=>{var e;p.forEach(e=>{o&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)}),null==m||m(),null==(e=E)||e.disconnect(),E=null,c&&cancelAnimationFrame(i)}})(...e,{animationFrame:"always"===K}),elements:{reference:J.anchor},middleware:[{...{name:"offset",options:a=o={mainAxis:F+el,alignmentAxis:Y},async fn(e){var t,r;let{x:n,y:i,placement:o,middlewareData:l}=e,s=await j(e,a);return o===(null==(t=l.offset)?void 0:t.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:n+s.x,y:i+s.y,data:{...s,placement:o}}}},options:[o,void 0]},z&&{...{name:"shift",options:c=s={mainAxis:!0,crossAxis:!1,limiter:"partial"===B?{...(l=void 0,{options:l={},fn(e){let{x:t,y:r,placement:n,rects:i,middlewareData:o}=e,{offset:a=0,mainAxis:s=!0,crossAxis:c=!0}=_(l,e),u={x:t,y:r},d=v(n),f=A(d),p=u[f],h=u[d],m=_(a,e),I="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(s){let e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+I.mainAxis,r=i.reference[f]+i.reference[e]-I.mainAxis;pr&&(p=r)}if(c){var E,N;let e="y"===f?"width":"height",t=G.has(R(n)),r=i.reference[d]-i.floating[e]+(t&&(null==(E=o.offset)?void 0:E[d])||0)+(t?0:I.crossAxis),a=i.reference[d]+i.reference[e]+(t?0:(null==(N=o.offset)?void 0:N[d])||0)-(t?I.crossAxis:0);ha&&(h=a)}return{[f]:p,[d]:h}}}),options:[void 0,void 0]}:void 0,...ep},async fn(e){let{x:t,y:r,placement:n,platform:i}=e,{mainAxis:o=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...s}=_(c,e),u={x:t,y:r},p=await i.detectOverflow(e,s),h=v(R(n)),m=A(h),I=u[m],E=u[h];if(o){let e="y"===m?"top":"left",t="y"===m?"bottom":"right",r=I+p[e],n=I-p[t];I=f(r,d(I,n))}if(a){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",r=E+p[e],n=E-p[t];E=f(r,d(E,n))}let N=l.fn({...e,[m]:I,[h]:E});return{...N,data:{x:N.x-t,y:N.y-r,enabled:{[m]:o,[h]:a}}}}},options:[s,void 0]},z&&{...{name:"flip",options:p=u={...ep},async fn(e){var t,r,n,i,o,a,l,s;let c,u,d,{placement:f,middlewareData:h,rects:m,initialPlacement:I,platform:E,elements:y}=e,{mainAxis:D=!0,crossAxis:b=!0,fallbackPlacements:L,fallbackStrategy:H="bestFit",fallbackAxisSideDirection:W="none",flipAlignment:M=!0,...P}=_(p,e);if(null!=(t=h.arrow)&&t.alignmentOffset)return{};let G=R(f),j=v(I),F=R(I)===I,k=await (null==E.isRTL?void 0:E.isRTL(y.floating)),Y=L||(F||!M?[O(I)]:(c=O(I),[T(I),c,T(c)])),U="none"!==W;!L&&U&&Y.push(...(u=N(I),d=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?S:x;return t?x:S;case"left":case"right":return t?w:C;default:return[]}}(R(I),"start"===W,k),u&&(d=d.map(e=>e+"-"+u),M&&(d=d.concat(d.map(T)))),d));let Z=[I,...Y],z=await E.detectOverflow(e,P),$=[],V=(null==(r=h.flip)?void 0:r.overflows)||[];if(D&&$.push(z[G]),b){let e,t,r,n,i=(a=f,l=m,void 0===(s=k)&&(s=!1),e=N(a),r=g(t=A(v(a))),n="x"===t?e===(s?"end":"start")?"right":"left":"start"===e?"bottom":"top",l.reference[r]>l.floating[r]&&(n=O(n)),[n,O(n)]);$.push(z[i[0]],z[i[1]])}if(V=[...V,{placement:f,overflows:$}],!$.every(e=>ev(e.placement)!==j||e.overflows[0]>0)))return{data:{index:e,overflows:V},reset:{placement:t}};let r=null==(i=V.filter(e=>e.overflows[0]e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(H){case"bestFit":{let e=null==(o=V.filter(e=>{if(U){let t=v(e.placement);return t===j||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(r=e);break}case"initialPlacement":r=I}if(f!==r)return{reset:{placement:r}}}return{}}},options:[u,void 0]},{...{name:"size",options:I=m={...ep,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:i,height:o}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${r}px`),a.setProperty("--radix-popper-available-height",`${n}px`),a.setProperty("--radix-popper-anchor-width",`${i}px`),a.setProperty("--radix-popper-anchor-height",`${o}px`)}},async fn(e){var t,r;let n,i,{placement:o,rects:a,platform:l,elements:s}=e,{apply:c=()=>{},...u}=_(I,e),p=await l.detectOverflow(e,u),h=R(o),m=N(o),E="y"===v(o),{width:A,height:g}=a.floating;"top"===h||"bottom"===h?(n=h,i=m===(await (null==l.isRTL?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(i=h,n="end"===m?"top":"bottom");let y=g-p.top-p.bottom,T=A-p.left-p.right,x=d(g-p[n],y),S=d(A-p[i],T),w=!e.middlewareData.shift,C=x,O=S;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(O=T),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(C=y),w&&!m){let e=f(p.left,0),t=f(p.right,0),r=f(p.top,0),n=f(p.bottom,0);E?O=A-2*(0!==e||0!==t?e+t:f(p.left,p.right)):C=g-2*(0!==r||0!==n?r+n:f(p.top,p.bottom))}await c({...e,availableWidth:O,availableHeight:C});let D=await l.getDimensions(s.floating);return A!==D.width||g!==D.height?{reset:{rects:!0}}:{}}},options:[m,void 0]},en&&{...{name:"arrow",options:y=E={element:en,padding:Z},fn(e){let{element:t,padding:r}="function"==typeof y?y(e):y;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?eS({element:t.current,padding:r}).fn(e):{}:t?eS({element:t,padding:r}).fn(e):{}}},options:[E,void 0]},e1({arrowWidth:ea,arrowHeight:el}),q&&{...{name:"hide",options:b=D={strategy:"referenceHidden",...ep},async fn(e){let{rects:t,platform:r}=e,{strategy:n="referenceHidden",...i}=_(b,e);switch(n){case"referenceHidden":{let n=M(await r.detectOverflow(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:P(n)}}}case"escaped":{let n=M(await r.detectOverflow(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:P(n)}}}default:return{}}}},options:[D,void 0]}]}),[eN,eA]=e7(eE),eg=(0,eM.useCallbackRef)(X);(0,eP.useLayoutEffect)(()=>{e_&&eg?.()},[e_,eg]);let ey=eR.arrow?.x,ev=eR.arrow?.y,eW=eR.arrow?.centerOffset!==0,[ej,eF]=r.useState();return(0,eP.useLayoutEffect)(()=>{ee&&eF(window.getComputedStyle(ee).zIndex)},[ee]),(0,t.jsx)("div",{ref:eh.setFloating,"data-radix-popper-content-wrapper":"",style:{...em,transform:e_?em.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ej,"--radix-popper-transform-origin":[eR.transformOrigin?.x,eR.transformOrigin?.y].join(" "),...eR.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,t.jsx)(eB,{scope:L,placedSide:eN,onArrowChange:ei,arrowX:ey,arrowY:ev,shouldHideArrow:eW,children:(0,t.jsx)(eH.Primitive.div,{"data-side":eN,"data-align":eA,...Q,ref:er,style:{...Q.style,animation:e_?void 0:"none"}})})})});eK.displayName=eV;var eX="PopperArrow",eQ={top:"bottom",right:"left",bottom:"top",left:"right"},eJ=r.forwardRef(function(e,r){let{__scopePopper:n,...i}=e,o=eq(eX,n),a=eQ[o.placedSide];return(0,t.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,t.jsx)(eW,{...i,ref:r,style:{...i.style,display:"block"}})})});function e0(e){return null!==e}eJ.displayName=eX;var e1=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,a=o?0:e.arrowWidth,l=o?0:e.arrowHeight,[s,c]=e7(r),u={start:"0%",center:"50%",end:"100%"}[c],d=(i.arrow?.x??0)+a/2,f=(i.arrow?.y??0)+l/2,p="",h="";return"bottom"===s?(p=o?u:`${d}px`,h=`${-l}px`):"top"===s?(p=o?u:`${d}px`,h=`${n.floating.height+l}px`):"right"===s?(p=`${-l}px`,h=o?u:`${f}px`):"left"===s&&(p=`${n.floating.width+l}px`,h=o?u:`${f}px`),{data:{x:p,y:h}}}});function e7(e){let[t,r="center"]=e.split("-");return[t,r]}var e5=e.i(614952),e2=e.i(653747),e6=e.i(93074),e3=e.i(534643),e4=e.i(73772),e8=e.i(927499),e9="Popover",[te,tt]=(0,o.createContextScope)(e9,[ek]),tr=ek(),[tn,ti]=te(e9),to=e=>{let{__scopePopover:n,children:i,open:o,defaultOpen:a,onOpenChange:l,modal:s=!1}=e,u=tr(n),d=r.useRef(null),[f,p]=r.useState(!1),[h,m]=(0,e3.useControllableState)({prop:o,defaultProp:a??!1,onChange:l,caller:e9});return(0,t.jsx)(eZ,{...u,children:(0,t.jsx)(tn,{scope:n,contentId:(0,c.useId)(),triggerRef:d,open:h,onOpenChange:m,onOpenToggle:r.useCallback(()=>m(e=>!e),[m]),hasCustomAnchor:f,onCustomAnchorAdd:r.useCallback(()=>p(!0),[]),onCustomAnchorRemove:r.useCallback(()=>p(!1),[]),modal:s,children:i})})};to.displayName=e9;var ta="PopoverAnchor";r.forwardRef((e,n)=>{let{__scopePopover:i,...o}=e,a=ti(ta,i),l=tr(i),{onCustomAnchorAdd:s,onCustomAnchorRemove:c}=a;return r.useEffect(()=>(s(),()=>c()),[s,c]),(0,t.jsx)(e$,{...l,...o,ref:n})}).displayName=ta;var tl="PopoverTrigger",ts=r.forwardRef((e,r)=>{let{__scopePopover:o,...a}=e,l=ti(tl,o),s=tr(o),c=(0,i.useComposedRefs)(r,l.triggerRef),u=(0,t.jsx)(eH.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":tA(l.open),...a,ref:c,onClick:(0,n.composeEventHandlers)(e.onClick,l.onOpenToggle)});return l.hasCustomAnchor?u:(0,t.jsx)(e$,{asChild:!0,...s,children:u})});ts.displayName=tl;var tc="PopoverPortal",[tu,td]=te(tc,{forceMount:void 0}),tf=e=>{let{__scopePopover:r,forceMount:n,children:i,container:o}=e,a=ti(tc,r);return(0,t.jsx)(tu,{scope:r,forceMount:n,children:(0,t.jsx)(e2.Presence,{present:n||a.open,children:(0,t.jsx)(e5.Portal,{asChild:!0,container:o,children:i})})})};tf.displayName=tc;var tp="PopoverContent",th=r.forwardRef((e,r)=>{let n=td(tp,e.__scopePopover),{forceMount:i=n.forceMount,...o}=e,a=ti(tp,e.__scopePopover);return(0,t.jsx)(e2.Presence,{present:i||a.open,children:a.modal?(0,t.jsx)(tI,{...o,ref:r}):(0,t.jsx)(tE,{...o,ref:r})})});th.displayName=tp;var tm=(0,e6.createSlot)("PopoverContent.RemoveScroll"),tI=r.forwardRef((e,o)=>{let a=ti(tp,e.__scopePopover),l=r.useRef(null),s=(0,i.useComposedRefs)(o,l),c=r.useRef(!1);return r.useEffect(()=>{let e=l.current;if(e)return(0,e4.hideOthers)(e)},[]),(0,t.jsx)(e8.RemoveScroll,{as:tm,allowPinchZoom:!0,children:(0,t.jsx)(t_,{...e,ref:s,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,n.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),c.current||a.triggerRef.current?.focus()}),onPointerDownOutside:(0,n.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;c.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,n.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),tE=r.forwardRef((e,n)=>{let i=ti(tp,e.__scopePopover),o=r.useRef(!1),a=r.useRef(!1);return(0,t.jsx)(t_,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(o.current||i.triggerRef.current?.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let r=t.target;i.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),t_=r.forwardRef((e,r)=>{let{__scopePopover:n,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:c,disableOutsidePointerEvents:u,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:h,...m}=e,I=ti(tp,n),E=tr(n);return(0,l.useFocusGuards)(),(0,t.jsx)(s.FocusScope,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:o,onUnmountAutoFocus:c,children:(0,t.jsx)(a.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:u,onInteractOutside:h,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:p,onDismiss:()=>I.onOpenChange(!1),children:(0,t.jsx)(eK,{"data-state":tA(I.open),role:"dialog",id:I.contentId,...E,...m,ref:r,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),tR="PopoverClose";r.forwardRef((e,r)=>{let{__scopePopover:i,...o}=e,a=ti(tR,i);return(0,t.jsx)(eH.Primitive.button,{type:"button",...o,ref:r,onClick:(0,n.composeEventHandlers)(e.onClick,()=>a.onOpenChange(!1))})}).displayName=tR;var tN=r.forwardRef((e,r)=>{let{__scopePopover:n,...i}=e,o=tr(n);return(0,t.jsx)(eJ,{...o,...i,ref:r})});function tA(e){return e?"open":"closed"}tN.displayName="PopoverArrow";var tg=e.i(632137);let ty=r.createContext({trigger:"click",onMouseEnter:()=>{},onMouseLeave:()=>{}});function tv({trigger:e="click",openDelay:n=0,closeDelay:i=300,open:o,onOpenChange:a,...l}){let[s,c]=r.useState(o||!1),u=r.useRef(null),d=r.useRef(null);r.useEffect(()=>{void 0!==o&&c(o)},[o]);let f=r.useCallback(e=>{c(e),a?.(e)},[a]);r.useEffect(()=>()=>{u.current&&clearTimeout(u.current),d.current&&clearTimeout(d.current)},[]);let p=r.useCallback(()=>{"hover"===e&&(d.current&&(clearTimeout(d.current),d.current=null),s||(u.current=setTimeout(()=>{f(!0)},n)))},[e,s,n,f]),h=r.useCallback(()=>{"hover"===e&&(u.current&&(clearTimeout(u.current),u.current=null),d.current=setTimeout(()=>{f(!1)},i))},[e,i,f]),m=r.useMemo(()=>({trigger:e,onMouseEnter:p,onMouseLeave:h}),[e,p,h]);return(0,t.jsx)(ty.Provider,{value:m,children:(0,t.jsx)(to,{"data-slot":"popover",open:s,onOpenChange:f,...l})})}function tT({triggerClass:e,...n}){let{trigger:i,onMouseEnter:o,onMouseLeave:a}=r.useContext(ty);return(0,t.jsx)(ts,{"data-slot":"popover-trigger",className:e,..."hover"===i?{onMouseEnter:o,onMouseLeave:a}:{},...n})}function tx({...e}){return(0,t.jsx)(tN,{"data-slot":"popover-arrow",...e})}function tS({className:e,align:n="center",sideOffset:i=4,children:o,showArrow:a=!0,...l}){let{trigger:s,onMouseEnter:c,onMouseLeave:u}=r.useContext(ty);return(0,t.jsx)(tf,{children:(0,t.jsxs)(th,{"data-slot":"popover-content",align:n,sideOffset:i,className:(0,tg.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border-none p-4 shadow-[0_2px_12px_0_#0003] outline-hidden",e),..."hover"===s?{onMouseEnter:c,onMouseLeave:u}:{},...l,children:[a&&(0,t.jsx)(tN,{className:"border-none fill-white",height:12,width:20}),o]})})}e.s(["Popover",()=>tv,"PopoverArrow",()=>tx,"PopoverContent",()=>tS,"PopoverTrigger",()=>tT],809058)},357784,770460,e=>{"use strict";var t=e.i(477716),r=e.i(156207),n=e.i(144977),i=e.i(93074),o=e.i(297647);function a(e){let a=e+"CollectionProvider",[l,s]=(0,r.createContextScope)(a),[c,u]=l(a,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:r,children:n}=e,i=t.default.useRef(null),a=t.default.useRef(new Map).current;return(0,o.jsx)(c,{scope:r,itemMap:a,collectionRef:i,children:n})};d.displayName=a;let f=e+"CollectionSlot",p=(0,i.createSlot)(f),h=t.default.forwardRef((e,t)=>{let{scope:r,children:i}=e,a=u(f,r),l=(0,n.useComposedRefs)(t,a.collectionRef);return(0,o.jsx)(p,{ref:l,children:i})});h.displayName=f;let m=e+"CollectionItemSlot",I="data-radix-collection-item",E=(0,i.createSlot)(m),_=t.default.forwardRef((e,r)=>{let{scope:i,children:a,...l}=e,s=t.default.useRef(null),c=(0,n.useComposedRefs)(r,s),d=u(m,i);return t.default.useEffect(()=>(d.itemMap.set(s,{ref:s,...l}),()=>void d.itemMap.delete(s))),(0,o.jsx)(E,{...{[I]:""},ref:c,children:a})});return _.displayName=m,[{Provider:d,Slot:h,ItemSlot:_},function(r){let n=u(e+"CollectionConsumer",r);return t.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${I}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},s]}var l=new WeakMap;function s(e,t){var r,n;let i,o,a;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let l=(r=e,n=t,i=r.length,(a=(o=c(n))>=0?o:i+o)=i?-1:a);return -1===l?void 0:e[l]}function c(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],l.set(this,!0)}set(e,t){return l.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),o=this.#e.length,a=c(e),l=a>=0?a:o+a,s=l=o?-1:l;if(s===this.size||i&&s===this.size-1||-1===s)return this.set(t,r),this;let u=this.size+ +!i;a=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t0&&(i=r-1);for(let e=t;ea],357784);var u=t.createContext(void 0);function d(e){let r=t.useContext(u);return e||r||"ltr"}e.s(["useDirection",()=>d],770460)},665488,e=>{"use strict";var t=e.i(297647),r=e.i(477716),n=e.i(859827),i=e.i(993269),o=e.i(632137),a=e.i(368847),l=e.i(240058),s=e.i(156207),c=e.i(357784),u=e.i(144977),d=e.i(291967),f=e.i(534643),p=e.i(556872),h=e.i(127864),m=e.i(653747),I=e.i(461194),E="Collapsible",[_,R]=(0,s.createContextScope)(E),[N,A]=_(E),g=r.forwardRef((e,n)=>{let{__scopeCollapsible:i,open:o,defaultOpen:a,disabled:l,onOpenChange:s,...c}=e,[u,d]=(0,f.useControllableState)({prop:o,defaultProp:a??!1,onChange:s,caller:E});return(0,t.jsx)(N,{scope:i,disabled:l,contentId:(0,I.useId)(),open:u,onOpenToggle:r.useCallback(()=>d(e=>!e),[d]),children:(0,t.jsx)(p.Primitive.div,{"data-state":w(u),"data-disabled":l?"":void 0,...c,ref:n})})});g.displayName=E;var y="CollapsibleTrigger",v=r.forwardRef((e,r)=>{let{__scopeCollapsible:n,...i}=e,o=A(y,n);return(0,t.jsx)(p.Primitive.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":w(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...i,ref:r,onClick:(0,d.composeEventHandlers)(e.onClick,o.onOpenToggle)})});v.displayName=y;var T="CollapsibleContent",x=r.forwardRef((e,r)=>{let{forceMount:n,...i}=e,o=A(T,e.__scopeCollapsible);return(0,t.jsx)(m.Presence,{present:n||o.open,children:({present:e})=>(0,t.jsx)(S,{...i,ref:r,present:e})})});x.displayName=T;var S=r.forwardRef((e,n)=>{let{__scopeCollapsible:i,present:o,children:a,...l}=e,s=A(T,i),[c,d]=r.useState(o),f=r.useRef(null),m=(0,u.useComposedRefs)(n,f),I=r.useRef(0),E=I.current,_=r.useRef(0),R=_.current,N=s.open||c,g=r.useRef(N),y=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,h.useLayoutEffect)(()=>{let e=f.current;if(e){y.current=y.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();I.current=t.height,_.current=t.width,g.current||(e.style.transitionDuration=y.current.transitionDuration,e.style.animationName=y.current.animationName),d(o)}},[s.open,o]),(0,t.jsx)(p.Primitive.div,{"data-state":w(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!N,...l,ref:m,style:{"--radix-collapsible-content-height":E?`${E}px`:void 0,"--radix-collapsible-content-width":R?`${R}px`:void 0,...e.style},children:N&&a})});function w(e){return e?"open":"closed"}var C=e.i(770460),O="Accordion",D=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[b,L,H]=(0,c.createCollection)(O),[W,M]=(0,s.createContextScope)(O,[H,R]),P=R(),G=r.default.forwardRef((e,r)=>{let{type:n,...i}=e;return(0,t.jsx)(b.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,t.jsx)(Z,{...i,ref:r}):(0,t.jsx)(U,{...i,ref:r})})});G.displayName=O;var[j,F]=W(O),[k,Y]=W(O,{collapsible:!1}),U=r.default.forwardRef((e,n)=>{let{value:i,defaultValue:o,onValueChange:a=()=>{},collapsible:l=!1,...s}=e,[c,u]=(0,f.useControllableState)({prop:i,defaultProp:o??"",onChange:a,caller:O});return(0,t.jsx)(j,{scope:e.__scopeAccordion,value:r.default.useMemo(()=>c?[c]:[],[c]),onItemOpen:u,onItemClose:r.default.useCallback(()=>l&&u(""),[l,u]),children:(0,t.jsx)(k,{scope:e.__scopeAccordion,collapsible:l,children:(0,t.jsx)(V,{...s,ref:n})})})}),Z=r.default.forwardRef((e,n)=>{let{value:i,defaultValue:o,onValueChange:a=()=>{},...l}=e,[s,c]=(0,f.useControllableState)({prop:i,defaultProp:o??[],onChange:a,caller:O}),u=r.default.useCallback(e=>c((t=[])=>[...t,e]),[c]),d=r.default.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,t.jsx)(j,{scope:e.__scopeAccordion,value:s,onItemOpen:u,onItemClose:d,children:(0,t.jsx)(k,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(V,{...l,ref:n})})})}),[z,$]=W(O),V=r.default.forwardRef((e,n)=>{let{__scopeAccordion:i,disabled:o,dir:a,orientation:l="vertical",...s}=e,c=r.default.useRef(null),f=(0,u.useComposedRefs)(c,n),h=L(i),m="ltr"===(0,C.useDirection)(a),I=(0,d.composeEventHandlers)(e.onKeyDown,e=>{if(!D.includes(e.key))return;let t=e.target,r=h().filter(e=>!e.ref.current?.disabled),n=r.findIndex(e=>e.ref.current===t),i=r.length;if(-1===n)return;e.preventDefault();let o=n,a=i-1,s=()=>{(o=n+1)>a&&(o=0)},c=()=>{(o=n-1){let{__scopeAccordion:n,value:i,...o}=e,a=$(B,n),l=F(B,n),s=P(n),c=(0,I.useId)(),u=i&&l.value.includes(i)||!1,d=a.disabled||e.disabled;return(0,t.jsx)(q,{scope:n,open:u,disabled:d,triggerId:c,children:(0,t.jsx)(g,{"data-orientation":a.orientation,"data-state":ei(u),...s,...o,ref:r,disabled:d,open:u,onOpenChange:e=>{e?l.onItemOpen(i):l.onItemClose(i)}})})});X.displayName=B;var Q="AccordionHeader",J=r.default.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,o=$(O,n),a=K(Q,n);return(0,t.jsx)(p.Primitive.h3,{"data-orientation":o.orientation,"data-state":ei(a.open),"data-disabled":a.disabled?"":void 0,...i,ref:r})});J.displayName=Q;var ee="AccordionTrigger",et=r.default.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,o=$(O,n),a=K(ee,n),l=Y(ee,n),s=P(n);return(0,t.jsx)(b.ItemSlot,{scope:n,children:(0,t.jsx)(v,{"aria-disabled":a.open&&!l.collapsible||void 0,"data-orientation":o.orientation,id:a.triggerId,...s,...i,ref:r})})});et.displayName=ee;var er="AccordionContent",en=r.default.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,o=$(O,n),a=K(er,n),l=P(n);return(0,t.jsx)(x,{role:"region","aria-labelledby":a.triggerId,"data-orientation":o.orientation,...l,...i,ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function ei(e){return e?"open":"closed"}en.displayName=er,r.forwardRef(({className:e,href:r,children:n,...i},o)=>(0,t.jsx)(l.default,{ref:o,href:r,...i,children:(0,t.jsx)(a.Text,{variant:"Caption.M",color:"secondary",children:n})})).displayName="AccordionTextLink";let eo=r.forwardRef(({className:e,type:r="single",collapsible:n=!0,...i},a)=>{let l={ref:a,type:r,className:(0,o.cn)("w-full",e),"data-slot":"accordion",...i};return"single"===r&&(l.collapsible=n),(0,t.jsx)(G,{...l})});function ea({className:e,...r}){return(0,t.jsx)(X,{"data-slot":"accordion-item",className:(0,o.cn)("w-full",e),...r})}function el({className:e,children:r,triggerContent:l,title:s,number:c,iconClassName:u,iconNodeOverride:d,...f}){return(0,t.jsx)(J,{className:"flex",children:(0,t.jsxs)(et,{"data-slot":"accordion-trigger",className:(0,o.cn)("hover:text-whale-400 group flex flex-1 cursor-pointer items-center justify-between py-4 text-left font-medium transition-all",e),...f,children:[(0,t.jsxs)("div",{className:"flex grow items-center",children:[void 0!==c&&(0,t.jsx)("div",{className:"mr-3 flex h-6 w-6 items-center justify-center rounded-full bg-[#204794] text-sm font-medium text-white",children:(0,t.jsx)("span",{className:"leading-none tracking-wide",children:c})}),l||(s?(0,t.jsx)(a.Text,{variant:"Body.L",children:s}):r)]}),(0,t.jsx)("div",{className:"relative flex items-center",children:d||(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Plus,{className:(0,o.cn)("h-5 w-5 shrink-0 transition-all duration-200",u,"group-data-[state=open]:rotate-45 group-data-[state=open]:opacity-0")}),(0,t.jsx)(i.Minus,{className:(0,o.cn)("absolute h-5 w-5 shrink-0 opacity-0 transition-all duration-200",u,"group-data-[state=open]:opacity-100")})]})})]})})}function es({className:e,animated:r,...n}){return(0,t.jsx)(en,{"data-slot":"accordion-content",className:(0,o.cn)("overflow-hidden text-sm transition-all",{"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down":r},e),...n})}eo.displayName="Accordion",r.forwardRef(({className:e,children:r,enabled:n=!1,...i},l)=>(0,t.jsx)("div",{ref:l,className:(0,o.cn)("mt-4",e),...i,children:(0,t.jsx)(a.Text,{variant:"Caption.M",color:"disabled",children:r})})).displayName="AccordionTextSpotlight",e.s(["Accordion",()=>eo,"AccordionContent",()=>es,"AccordionItem",()=>ea,"AccordionTrigger",()=>el],665488)},598513,e=>{"use strict";var t=e.i(947118),r=e.i(737801),n=e.i(477716);e.s(["useSendInteractionEvent",0,()=>{let e="interaction",i=(0,t.useIsInitialized)(),o=(0,r.useEventAttributes)();return(0,n.useCallback)(t=>{let r={...o,...t};if(!i)return void console.warn("MParticle is not initialized");try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,r),console.debug(`MParticle: Event "${e}" tracked`,r)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[o,i])}])},766690,(e,t,r)=>{},957862,e=>{"use strict";e.i(766690);let t=new Map;e.s(["getAllPlayers",0,()=>[...t.values()],"registerPlayer",0,(e,r)=>{t.set(e,r)},"unregisterPlayer",0,e=>{t.delete(e)}])}]);