@sjvair/monitor-map 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
class t{id;error;success;payload;constructor(t){this.id=t}pass(t){this.success=!0,this.payload=t}fail(t){this.success=!1,this.error=t}}let e="https://www.sjvair.com";function r(t){return new URL(`${e}/api/2.0/${`monitors/${t}/current`}/`)}async function n(t){const e=r(t);return await async function(t,e){return await fetch(t,e).then(async e=>{const r=await e.json().catch(r=>{throw new Error(`Request to endpoint "${t.href}" failed`,{cause:e})});return{headers:e.headers,body:r,ok:e.ok,redirected:e.redirected,status:e.status,statusText:e.statusText,url:e.url}})}(e)}function o(t,e,r){return Math.min(Math.max(t,r),e)}class s extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}}var i=s;function a(t){if("string"!=typeof t)throw new i(t);if("transparent"===t.trim().toLowerCase())return[0,0,0,0];let e=t.trim();e=m.test(t)?function(t){const e=t.toLowerCase().trim(),r=u[function(t){let e=5381,r=t.length;for(;r;)e=33*e^t.charCodeAt(--r);return(e>>>0)%2341}(e)];if(!r)throw new i(t);return`#${r}`}(t):t;const r=f.exec(e);if(r){const t=Array.from(r).slice(1);return[...t.slice(0,3).map(t=>parseInt(l(t,2),16)),parseInt(l(t[3]||"f",2),16)/255]}const n=d.exec(e);if(n){const t=Array.from(n).slice(1);return[...t.slice(0,3).map(t=>parseInt(t,16)),parseInt(t[3]||"ff",16)/255]}const s=h.exec(e);if(s){const t=Array.from(s).slice(1);return[...t.slice(0,3).map(t=>parseInt(t,10)),parseFloat(t[3]||"1")]}const a=p.exec(e);if(a){const[e,r,n,s]=Array.from(a).slice(1).map(parseFloat);if(o(0,100,r)!==r)throw new i(t);if(o(0,100,n)!==n)throw new i(t);return[...g(e,r,n),Number.isNaN(s)?1:s]}throw new i(t)}const c=t=>parseInt(t.replace(/_/g,""),36),u="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((t,e)=>{const r=c(e.substring(0,3)),n=c(e.substring(3)).toString(16);let o="";for(let s=0;s<6-n.length;s++)o+="0";return t[r]=`${o}${n}`,t},{});const l=(t,e)=>Array.from(Array(e)).map(()=>t).join(""),f=new RegExp(`^#${l("([a-f0-9])",3)}([a-f0-9])?$`,"i"),d=new RegExp(`^#${l("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),h=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${l(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),p=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,m=/^[a-z]+$/i,y=t=>Math.round(255*t),g=(t,e,r)=>{let n=r/100;if(0===e)return[n,n,n].map(y);const o=(t%360+360)%360/60,s=(1-Math.abs(2*n-1))*(e/100),i=s*(1-Math.abs(o%2-1));let a=0,c=0,u=0;o>=0&&o<1?(a=s,c=i):o>=1&&o<2?(a=i,c=s):o>=2&&o<3?(c=s,u=i):o>=3&&o<4?(c=i,u=s):o>=4&&o<5?(a=i,u=s):o>=5&&o<6&&(a=s,u=i);const l=n-s/2;return[a+l,c+l,u+l].map(y)};function b(t,e){const[r,n,s,i]=function(t){const[e,r,n,o]=a(t).map((t,e)=>3===e?t:t/255),s=Math.max(e,r,n),i=Math.min(e,r,n),c=(s+i)/2;if(s===i)return[0,0,c,o];const u=s-i;return[60*(e===s?(r-n)/u+(r<n?6:0):r===s?(n-e)/u+2:(e-r)/u+4),c>.5?u/(2-s-i):u/(s+i),c,o]}(t);return function(t,e,r,n){return`hsla(${(t%360).toFixed()}, ${o(0,100,100*e).toFixed()}%, ${o(0,100,100*r).toFixed()}%, ${parseFloat(o(0,1,n).toFixed(3))})`}(r,n,s-e,i)}function w(t,e,r){const n=(t,e)=>3===e?t:t/255,[s,i,c,u]=a(t).map(n),[l,f,d,h]=a(e).map(n),p=h-u,m=2*r-1,y=((m*p===-1?m:m+p/(1+m*p))+1)/2,g=1-y;return b=255*(i*g+f*y),w=255*(c*g+d*y),v=h*r+u*(1-r),`rgba(${o(0,255,255*(s*g+l*y)).toFixed()}, ${o(0,255,b).toFixed()}, ${o(0,255,w).toFixed()}, ${parseFloat(o(0,1,v).toFixed(3))})`;var b,w,v}function v(t){const[e,r,n,s]=a(t);let i=t=>{const e=o(0,255,t).toString(16);return 1===e.length?`0${e}`:e};return`#${i(e)}${i(r)}${i(n)}${s<1?i(Math.round(255*s)):""}`}const _="969696",O="000000",S="0000FF",$="00e400",E="ffff00",R="ff7e00",x="ff0000",T="8f3f97",A="7e0023",j=[{min:-1/0,color:$},{min:55,color:E},{min:71,color:R},{min:86,color:x},{min:106,color:T},{min:201,color:A}];function M(t,e){const r=e[e.length-1];if(t>=r.min)return`#${r.color}`;if(t<=0)return`#${e[0].color}`;for(let n=0;n<=e.length-1;n++)if(e[n].min>t){const r=e[n-1],o=e[n],s=r.min===-1/0?o.min:o.min-r.min,i=(s-(o.min-t))/s;return w(`#${r.color}`,`#${o.color}`,i)}return"#FFFFFF"}class k{static levels=[{min:-1/0,color:$},{min:12,color:E},{min:35,color:R},{min:55,color:x},{min:150,color:T},{min:250,color:A}];label;latest;levels=k.levels;name;updateDuration;constructor(t,e,r,n){this.label=e,this.name=t,this.updateDuration=r,n.latest&&this.name in n.latest&&(this.latest=Math.round(parseFloat(n.latest.value)))}}function D(t){switch(t.data_source.name){case"AirNow.gov":return function(t){return C(["pm25","PM 2.5","60m",t],["pm100","PM 10","60M",t])}(t);case"AQview":return function(t){return C(["pm25_avg_60","PM 2.5","60m",t])}(t);case"Central California Asthma Collaborative":return function(t){return C(["pm25","PM 2.5","60m",t])}(t);case"PurpleAir":case"AirGradient":return function(t){return C(["pm10","PM 1.0","2m",t],["pm25","PM 2.5","2m",t],["pm25_avg_15","PM 2.5","15m",t],["pm25_avg_60","PM 2.5","60m",t],["pm100","PM 10","",t])}(t)}}function C(...t){const e={};for(let r of t)e[r[0]]=new k(...r);return e}function N(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var F,U={exports:{}};var z,P=(F||(F=1,U.exports=function(){var t=1e3,e=6e4,r=36e5,n="millisecond",o="second",s="minute",i="hour",a="day",c="week",u="month",l="quarter",f="year",d="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}},g=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},b={s:g,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),o=r%60;return(e<=0?"+":"-")+g(n,2,"0")+":"+g(o,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),o=e.clone().add(n,u),s=r-o<0,i=e.clone().add(n+(s?-1:1),u);return+(-(n+(r-o)/(s?o-i:i-o))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:f,w:c,d:a,D:d,h:i,m:s,s:o,ms:n,Q:l}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},w="en",v={};v[w]=y;var _="$isDayjsObject",O=function(t){return t instanceof R||!(!t||!t[_])},S=function t(e,r,n){var o;if(!e)return w;if("string"==typeof e){var s=e.toLowerCase();v[s]&&(o=s),r&&(v[s]=r,o=s);var i=e.split("-");if(!o&&i.length>1)return t(i[0])}else{var a=e.name;v[a]=e,o=a}return!n&&o&&(w=o),o||!n&&w},$=function(t,e){if(O(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new R(r)},E=b;E.l=S,E.i=O,E.w=function(t,e){return $(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var R=function(){function y(t){this.$L=S(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[_]=!0}var g=y.prototype;return g.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(E.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(p);if(n){var o=n[2]-1||0,s=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)}}return new Date(e)}(t),this.init()},g.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},g.$utils=function(){return E},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(t,e){var r=$(t);return this.startOf(e)<=r&&r<=this.endOf(e)},g.isAfter=function(t,e){return $(t)<this.startOf(e)},g.isBefore=function(t,e){return this.endOf(e)<$(t)},g.$g=function(t,e,r){return E.u(t)?this[e]:this.set(r,t)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(t,e){var r=this,n=!!E.u(e)||e,l=E.p(t),h=function(t,e){var o=E.w(r.$u?Date.UTC(r.$y,e,t):new Date(r.$y,e,t),r);return n?o:o.endOf(a)},p=function(t,e){return E.w(r.toDate()[t].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(e)),r)},m=this.$W,y=this.$M,g=this.$D,b="set"+(this.$u?"UTC":"");switch(l){case f:return n?h(1,0):h(31,11);case u:return n?h(1,y):h(0,y+1);case c:var w=this.$locale().weekStart||0,v=(m<w?m+7:m)-w;return h(n?g-v:g+(6-v),y);case a:case d:return p(b+"Hours",0);case i:return p(b+"Minutes",1);case s:return p(b+"Seconds",2);case o:return p(b+"Milliseconds",3);default:return this.clone()}},g.endOf=function(t){return this.startOf(t,!1)},g.$set=function(t,e){var r,c=E.p(t),l="set"+(this.$u?"UTC":""),h=(r={},r[a]=l+"Date",r[d]=l+"Date",r[u]=l+"Month",r[f]=l+"FullYear",r[i]=l+"Hours",r[s]=l+"Minutes",r[o]=l+"Seconds",r[n]=l+"Milliseconds",r)[c],p=c===a?this.$D+(e-this.$W):e;if(c===u||c===f){var m=this.clone().set(d,1);m.$d[h](p),m.init(),this.$d=m.set(d,Math.min(this.$D,m.daysInMonth())).$d}else h&&this.$d[h](p);return this.init(),this},g.set=function(t,e){return this.clone().$set(t,e)},g.get=function(t){return this[E.p(t)]()},g.add=function(n,l){var d,h=this;n=Number(n);var p=E.p(l),m=function(t){var e=$(h);return E.w(e.date(e.date()+Math.round(t*n)),h)};if(p===u)return this.set(u,this.$M+n);if(p===f)return this.set(f,this.$y+n);if(p===a)return m(1);if(p===c)return m(7);var y=(d={},d[s]=e,d[i]=r,d[o]=t,d)[p]||1,g=this.$d.getTime()+n*y;return E.w(g,this)},g.subtract=function(t,e){return this.add(-1*t,e)},g.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var n=t||"YYYY-MM-DDTHH:mm:ssZ",o=E.z(this),s=this.$H,i=this.$m,a=this.$M,c=r.weekdays,u=r.months,l=r.meridiem,f=function(t,r,o,s){return t&&(t[r]||t(e,n))||o[r].slice(0,s)},d=function(t){return E.s(s%12||12,t,"0")},p=l||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(m,function(t,n){return n||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return E.s(e.$y,4,"0");case"M":return a+1;case"MM":return E.s(a+1,2,"0");case"MMM":return f(r.monthsShort,a,u,3);case"MMMM":return f(u,a);case"D":return e.$D;case"DD":return E.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return f(r.weekdaysMin,e.$W,c,2);case"ddd":return f(r.weekdaysShort,e.$W,c,3);case"dddd":return c[e.$W];case"H":return String(s);case"HH":return E.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return p(s,i,!0);case"A":return p(s,i,!1);case"m":return String(i);case"mm":return E.s(i,2,"0");case"s":return String(e.$s);case"ss":return E.s(e.$s,2,"0");case"SSS":return E.s(e.$ms,3,"0");case"Z":return o}return null}(t)||o.replace(":","")})},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(n,d,h){var p,m=this,y=E.p(d),g=$(n),b=(g.utcOffset()-this.utcOffset())*e,w=this-g,v=function(){return E.m(m,g)};switch(y){case f:p=v()/12;break;case u:p=v();break;case l:p=v()/3;break;case c:p=(w-b)/6048e5;break;case a:p=(w-b)/864e5;break;case i:p=w/r;break;case s:p=w/e;break;case o:p=w/t;break;default:p=w}return h?p:E.a(p)},g.daysInMonth=function(){return this.endOf(u).$D},g.$locale=function(){return v[this.$L]},g.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=S(t,e,!0);return n&&(r.$L=n),r},g.clone=function(){return E.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},y}(),x=R.prototype;return $.prototype=x,[["$ms",n],["$s",o],["$m",s],["$H",i],["$W",a],["$M",u],["$y",f],["$D",d]].forEach(function(t){x[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),$.extend=function(t,e){return t.$i||(t(e,R,$),t.$i=!0),$},$.locale=S,$.isDayjs=O,$.unix=function(t){return $(1e3*t)},$.en=v[w],$.Ls=v,$.p={},$}()),U.exports),L=N(P),B={exports:{}};var q,I=(z||(z=1,B.exports=function(t,e,r){t=t||{};var n=e.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function s(t,e,r,o){return n.fromToBase(t,e,r,o)}r.en.relativeTime=o,n.fromToBase=function(e,n,s,i,a){for(var c,u,l,f=s.$locale().relativeTime||o,d=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],h=d.length,p=0;p<h;p+=1){var m=d[p];m.d&&(c=i?r(e).diff(s,m.d,!0):s.diff(e,m.d,!0));var y=(t.rounding||Math.round)(Math.abs(c));if(l=c>0,y<=m.r||!m.r){y<=1&&p>0&&(m=d[p-1]);var g=f[m.l];a&&(y=a(""+y)),u="string"==typeof g?g.replace("%d",y):g(y,n,m.l,l);break}}if(n)return u;var b=l?f.future:f.past;return"function"==typeof b?b(u):b.replace("%s",u)},n.to=function(t,e){return s(t,e,this,!0)},n.from=function(t,e){return s(t,e,this)};var i=function(t){return t.$u?r.utc():r()};n.toNow=function(t){return this.to(i(this),t)},n.fromNow=function(t){return this.from(i(this),t)}}),B.exports),H=N(I),Y={exports:{}};var W,J,V,K=(q||(q=1,Y.exports=(W={year:0,month:1,day:2,hour:3,minute:4,second:5},J={},function(t,e,r){var n,o=function(t,e,r){void 0===r&&(r={});var n=new Date(t),o=function(t,e){void 0===e&&(e={});var r=e.timeZoneName||"short",n=t+"|"+r,o=J[n];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:r}),J[n]=o),o}(e,r);return o.formatToParts(n)},s=function(t,e){for(var n=o(t,e),s=[],i=0;i<n.length;i+=1){var a=n[i],c=a.type,u=a.value,l=W[c];l>=0&&(s[l]=parseInt(u,10))}var f=s[3],d=24===f?0:f,h=s[0]+"-"+s[1]+"-"+s[2]+" "+d+":"+s[4]+":"+s[5]+":000",p=+t;return(r.utc(h).valueOf()-(p-=p%1e3))/6e4},i=e.prototype;i.tz=function(t,e){void 0===t&&(t=n);var o,s=this.utcOffset(),i=this.toDate(),a=i.toLocaleString("en-US",{timeZone:t}),c=Math.round((i-new Date(a))/1e3/60),u=15*-Math.round(i.getTimezoneOffset()/15)-c;if(Number(u)){if(o=r(a,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(u,!0),e){var l=o.utcOffset();o=o.add(s-l,"minute")}}else o=this.utcOffset(0,e);return o.$x.$timezone=t,o},i.offsetName=function(t){var e=this.$x.$timezone||r.tz.guess(),n=o(this.valueOf(),e,{timeZoneName:t}).find(function(t){return"timezonename"===t.type.toLowerCase()});return n&&n.value};var a=i.startOf;i.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return a.call(this,t,e);var n=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return a.call(n,t,e).tz(this.$x.$timezone,!0)},r.tz=function(t,e,o){var i=o&&e,a=o||e||n,c=s(+r(),a);if("string"!=typeof t)return r(t).tz(a);var u=function(t,e,r){var n=t-60*e*1e3,o=s(n,r);if(e===o)return[n,e];var i=s(n-=60*(o-e)*1e3,r);return o===i?[n,o]:[t-60*Math.min(o,i)*1e3,Math.max(o,i)]}(r.utc(t,i).valueOf(),c,a),l=u[0],f=u[1],d=r(l).utcOffset(f);return d.$x.$timezone=a,d},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(t){n=t}})),Y.exports),Z=N(K),G={exports:{}};var X=(V||(V=1,G.exports=function(){var t="minute",e=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(n,o,s){var i=o.prototype;s.utc=function(t){return new o({date:t,utc:!0,args:arguments})},i.utc=function(e){var r=s(this.toDate(),{locale:this.$L,utc:!0});return e?r.add(this.utcOffset(),t):r},i.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var a=i.parse;i.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),a.call(this,t)};var c=i.init;i.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else c.call(this)};var u=i.utcOffset;i.utcOffset=function(n,o){var s=this.$utils().u;if(s(n))return this.$u?0:s(this.$offset)?u.call(this):this.$offset;if("string"==typeof n&&(n=function(t){void 0===t&&(t="");var n=t.match(e);if(!n)return null;var o=(""+n[0]).match(r)||["-",0,0],s=o[0],i=60*+o[1]+ +o[2];return 0===i?0:"+"===s?i:-i}(n),null===n))return this;var i=Math.abs(n)<=16?60*n:n,a=this;if(o)return a.$offset=i,a.$u=0===n,a;if(0!==n){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(a=this.local().add(i+c,t)).$offset=i,a.$x.$localOffset=c}else a=this.utc();return a};var l=i.format;i.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,e)},i.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()};var f=i.toDate;i.toDate=function(t){return"s"===t&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var d=i.diff;i.diff=function(t,e,r){if(t&&this.$u===t.$u)return d.call(this,t,e,r);var n=this.local(),o=s(t).local();return d.call(n,o,e,r)}}}()),G.exports),Q=N(X);L.$defaultFormat=function(t){return L.utc(t).format("YYYY-MM-DD HH:mm:ss")},L.$prettyPrint=function(t){return L(t).format("h:mma dddd MMM DD, YYYY")};L.extend(H),L.extend(Z),L.extend((t,e,r)=>{e.prototype.skewedDiff=function(t,e){const r=Math.abs(this.diff(t))/6e4;return r>e?Math.floor(r):r<e?Math.ceil(r):r}}),L.extend(Q);const tt=L;function et(t,e){return function(){return t.apply(e,arguments)}}const{toString:rt}=Object.prototype,{getPrototypeOf:nt}=Object,{iterator:ot,toStringTag:st}=Symbol,it=(at=Object.create(null),t=>{const e=rt.call(t);return at[e]||(at[e]=e.slice(8,-1).toLowerCase())});var at;const ct=t=>(t=t.toLowerCase(),e=>it(e)===t),ut=t=>e=>typeof e===t,{isArray:lt}=Array,ft=ut("undefined");function dt(t){return null!==t&&!ft(t)&&null!==t.constructor&&!ft(t.constructor)&&mt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const ht=ct("ArrayBuffer");const pt=ut("string"),mt=ut("function"),yt=ut("number"),gt=t=>null!==t&&"object"==typeof t,bt=t=>{if("object"!==it(t))return!1;const e=nt(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||st in t||ot in t)},wt=ct("Date"),vt=ct("File"),_t=ct("Blob"),Ot=ct("FileList"),St=ct("URLSearchParams"),[$t,Et,Rt,xt]=["ReadableStream","Request","Response","Headers"].map(ct);function Tt(t,e,{allOwnKeys:r=!1}={}){if(null==t)return;let n,o;if("object"!=typeof t&&(t=[t]),lt(t))for(n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else{if(dt(t))return;const o=r?Object.getOwnPropertyNames(t):Object.keys(t),s=o.length;let i;for(n=0;n<s;n++)i=o[n],e.call(null,t[i],i,t)}}function At(t,e){if(dt(t))return null;e=e.toLowerCase();const r=Object.keys(t);let n,o=r.length;for(;o-- >0;)if(n=r[o],e===n.toLowerCase())return n;return null}const jt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Mt=t=>!ft(t)&&t!==jt;const kt=(Dt="undefined"!=typeof Uint8Array&&nt(Uint8Array),t=>Dt&&t instanceof Dt);var Dt;const Ct=ct("HTMLFormElement"),Nt=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),Ft=ct("RegExp"),Ut=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};Tt(r,(r,o)=>{let s;!1!==(s=e(r,o,t))&&(n[o]=s||r)}),Object.defineProperties(t,n)};const zt=ct("AsyncFunction"),Pt=(Lt="function"==typeof setImmediate,Bt=mt(jt.postMessage),Lt?setImmediate:Bt?(qt=`axios@${Math.random()}`,It=[],jt.addEventListener("message",({source:t,data:e})=>{t===jt&&e===qt&&It.length&&It.shift()()},!1),t=>{It.push(t),jt.postMessage(qt,"*")}):t=>setTimeout(t));var Lt,Bt,qt,It;const Ht="undefined"!=typeof queueMicrotask?queueMicrotask.bind(jt):"undefined"!=typeof process&&process.nextTick||Pt;var Yt={isArray:lt,isArrayBuffer:ht,isBuffer:dt,isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||mt(t.append)&&("formdata"===(e=it(t))||"object"===e&&mt(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&ht(t.buffer),e},isString:pt,isNumber:yt,isBoolean:t=>!0===t||!1===t,isObject:gt,isPlainObject:bt,isEmptyObject:t=>{if(!gt(t)||dt(t))return!1;try{return 0===Object.keys(t).length&&Object.getPrototypeOf(t)===Object.prototype}catch(J){return!1}},isReadableStream:$t,isRequest:Et,isResponse:Rt,isHeaders:xt,isUndefined:ft,isDate:wt,isFile:vt,isBlob:_t,isRegExp:Ft,isFunction:mt,isStream:t=>gt(t)&&mt(t.pipe),isURLSearchParams:St,isTypedArray:kt,isFileList:Ot,forEach:Tt,merge:function t(){const{caseless:e}=Mt(this)&&this||{},r={},n=(n,o)=>{const s=e&&At(r,o)||o;bt(r[s])&&bt(n)?r[s]=t(r[s],n):bt(n)?r[s]=t({},n):lt(n)?r[s]=n.slice():r[s]=n};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&Tt(arguments[o],n);return r},extend:(t,e,r,{allOwnKeys:n}={})=>(Tt(e,(e,n)=>{r&&mt(e)?t[n]=et(e,r):t[n]=e},{allOwnKeys:n}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},toFlatObject:(t,e,r,n)=>{let o,s,i;const a={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),s=o.length;s-- >0;)i=o[s],n&&!n(i,t,e)||a[i]||(e[i]=t[i],a[i]=!0);t=!1!==r&&nt(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:it,kindOfTest:ct,endsWith:(t,e,r)=>{t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return-1!==n&&n===r},toArray:t=>{if(!t)return null;if(lt(t))return t;let e=t.length;if(!yt(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},forEachEntry:(t,e)=>{const r=(t&&t[ot]).call(t);let n;for(;(n=r.next())&&!n.done;){const r=n.value;e.call(t,r[0],r[1])}},matchAll:(t,e)=>{let r;const n=[];for(;null!==(r=t.exec(e));)n.push(r);return n},isHTMLForm:Ct,hasOwnProperty:Nt,hasOwnProp:Nt,reduceDescriptors:Ut,freezeMethods:t=>{Ut(t,(e,r)=>{if(mt(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=t[r];mt(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))})},toObjectSet:(t,e)=>{const r={},n=t=>{t.forEach(t=>{r[t]=!0})};return lt(t)?n(t):n(String(t).split(e)),r},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,e,r){return e.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:At,global:jt,isContextDefined:Mt,isSpecCompliantForm:function(t){return!!(t&&mt(t.append)&&"FormData"===t[st]&&t[ot])},toJSONObject:t=>{const e=new Array(10),r=(t,n)=>{if(gt(t)){if(e.indexOf(t)>=0)return;if(dt(t))return t;if(!("toJSON"in t)){e[n]=t;const o=lt(t)?[]:{};return Tt(t,(t,e)=>{const s=r(t,n+1);!ft(s)&&(o[e]=s)}),e[n]=void 0,o}}return t};return r(t,0)},isAsyncFn:zt,isThenable:t=>t&&(gt(t)||mt(t))&&mt(t.then)&&mt(t.catch),setImmediate:Pt,asap:Ht,isIterable:t=>null!=t&&mt(t[ot])};function Wt(t,e,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}Yt.inherits(Wt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Yt.toJSONObject(this.config),code:this.code,status:this.status}}});const Jt=Wt.prototype,Vt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Vt[t]={value:t}}),Object.defineProperties(Wt,Vt),Object.defineProperty(Jt,"isAxiosError",{value:!0}),Wt.from=(t,e,r,n,o,s)=>{const i=Object.create(Jt);return Yt.toFlatObject(t,i,function(t){return t!==Error.prototype},t=>"isAxiosError"!==t),Wt.call(i,t.message,e,r,n,o),i.cause=t,i.name=t.name,s&&Object.assign(i,s),i};function Kt(t){return Yt.isPlainObject(t)||Yt.isArray(t)}function Zt(t){return Yt.endsWith(t,"[]")?t.slice(0,-2):t}function Gt(t,e,r){return t?t.concat(e).map(function(t,e){return t=Zt(t),!r&&e?"["+t+"]":t}).join(r?".":""):e}const Xt=Yt.toFlatObject(Yt,{},null,function(t){return/^is[A-Z]/.test(t)});function Qt(t,e,r){if(!Yt.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const n=(r=Yt.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(t,e){return!Yt.isUndefined(e[t])})).metaTokens,o=r.visitor||u,s=r.dots,i=r.indexes,a=(r.Blob||"undefined"!=typeof Blob&&Blob)&&Yt.isSpecCompliantForm(e);if(!Yt.isFunction(o))throw new TypeError("visitor must be a function");function c(t){if(null===t)return"";if(Yt.isDate(t))return t.toISOString();if(Yt.isBoolean(t))return t.toString();if(!a&&Yt.isBlob(t))throw new Wt("Blob is not supported. Use a Buffer instead.");return Yt.isArrayBuffer(t)||Yt.isTypedArray(t)?a&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function u(t,r,o){let a=t;if(t&&!o&&"object"==typeof t)if(Yt.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(Yt.isArray(t)&&function(t){return Yt.isArray(t)&&!t.some(Kt)}(t)||(Yt.isFileList(t)||Yt.endsWith(r,"[]"))&&(a=Yt.toArray(t)))return r=Zt(r),a.forEach(function(t,n){!Yt.isUndefined(t)&&null!==t&&e.append(!0===i?Gt([r],n,s):null===i?r:r+"[]",c(t))}),!1;return!!Kt(t)||(e.append(Gt(o,r,s),c(t)),!1)}const l=[],f=Object.assign(Xt,{defaultVisitor:u,convertValue:c,isVisitable:Kt});if(!Yt.isObject(t))throw new TypeError("data must be an object");return function t(r,n){if(!Yt.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),Yt.forEach(r,function(r,s){!0===(!(Yt.isUndefined(r)||null===r)&&o.call(e,r,Yt.isString(s)?s.trim():s,n,f))&&t(r,n?n.concat(s):[s])}),l.pop()}}(t),e}function te(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(t){return e[t]})}function ee(t,e){this._pairs=[],t&&Qt(t,this,e)}const re=ee.prototype;function ne(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function oe(t,e,r){if(!e)return t;const n=r&&r.encode||ne;Yt.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let s;if(s=o?o(e,r):Yt.isURLSearchParams(e)?e.toString():new ee(e,r).toString(n),s){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+s}return t}re.append=function(t,e){this._pairs.push([t,e])},re.toString=function(t){const e=t?function(e){return t.call(this,e,te)}:te;return this._pairs.map(function(t){return e(t[0])+"="+e(t[1])},"").join("&")};class se{constructor(){this.handlers=[]}use(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Yt.forEach(this.handlers,function(e){null!==e&&t(e)})}}var ie={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ae={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ee,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const ce="undefined"!=typeof window&&"undefined"!=typeof document,ue="object"==typeof navigator&&navigator||void 0,le=ce&&(!ue||["ReactNative","NativeScript","NS"].indexOf(ue.product)<0),fe="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,de=ce&&window.location.href||"http://localhost";var he={...Object.freeze({__proto__:null,hasBrowserEnv:ce,hasStandardBrowserEnv:le,hasStandardBrowserWebWorkerEnv:fe,navigator:ue,origin:de}),...ae};function pe(t){function e(t,r,n,o){let s=t[o++];if("__proto__"===s)return!0;const i=Number.isFinite(+s),a=o>=t.length;if(s=!s&&Yt.isArray(n)?n.length:s,a)return Yt.hasOwnProp(n,s)?n[s]=[n[s],r]:n[s]=r,!i;n[s]&&Yt.isObject(n[s])||(n[s]=[]);return e(t,r,n[s],o)&&Yt.isArray(n[s])&&(n[s]=function(t){const e={},r=Object.keys(t);let n;const o=r.length;let s;for(n=0;n<o;n++)s=r[n],e[s]=t[s];return e}(n[s])),!i}if(Yt.isFormData(t)&&Yt.isFunction(t.entries)){const r={};return Yt.forEachEntry(t,(t,n)=>{e(function(t){return Yt.matchAll(/\w+|\[(\w*)]/g,t).map(t=>"[]"===t[0]?"":t[1]||t[0])}(t),n,r,0)}),r}return null}const me={transitional:ie,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,o=Yt.isObject(t);o&&Yt.isHTMLForm(t)&&(t=new FormData(t));if(Yt.isFormData(t))return n?JSON.stringify(pe(t)):t;if(Yt.isArrayBuffer(t)||Yt.isBuffer(t)||Yt.isStream(t)||Yt.isFile(t)||Yt.isBlob(t)||Yt.isReadableStream(t))return t;if(Yt.isArrayBufferView(t))return t.buffer;if(Yt.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return Qt(t,new he.classes.URLSearchParams,{visitor:function(t,e,r,n){return he.isNode&&Yt.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...e})}(t,this.formSerializer).toString();if((s=Yt.isFileList(t))||r.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return Qt(s?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||n?(e.setContentType("application/json",!1),function(t,e,r){if(Yt.isString(t))try{return(e||JSON.parse)(t),Yt.trim(t)}catch(J){if("SyntaxError"!==J.name)throw J}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||me.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(Yt.isResponse(t)||Yt.isReadableStream(t))return t;if(t&&Yt.isString(t)&&(r&&!this.responseType||n)){const r=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(J){if(r){if("SyntaxError"===J.name)throw Wt.from(J,Wt.ERR_BAD_RESPONSE,this,null,this.response);throw J}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:he.classes.FormData,Blob:he.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Yt.forEach(["delete","get","head","post","put","patch"],t=>{me.headers[t]={}});const ye=Yt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const ge=Symbol("internals");function be(t){return t&&String(t).trim().toLowerCase()}function we(t){return!1===t||null==t?t:Yt.isArray(t)?t.map(we):String(t)}function ve(t,e,r,n,o){return Yt.isFunction(n)?n.call(this,e,r):(o&&(e=r),Yt.isString(e)?Yt.isString(n)?-1!==e.indexOf(n):Yt.isRegExp(n)?n.test(e):void 0:void 0)}let _e=class{constructor(t){t&&this.set(t)}set(t,e,r){const n=this;function o(t,e,r){const o=be(e);if(!o)throw new Error("header name must be a non-empty string");const s=Yt.findKey(n,o);(!s||void 0===n[s]||!0===r||void 0===r&&!1!==n[s])&&(n[s||e]=we(t))}const s=(t,e)=>Yt.forEach(t,(t,r)=>o(t,r,e));if(Yt.isPlainObject(t)||t instanceof this.constructor)s(t,e);else if(Yt.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))s((t=>{const e={};let r,n,o;return t&&t.split("\n").forEach(function(t){o=t.indexOf(":"),r=t.substring(0,o).trim().toLowerCase(),n=t.substring(o+1).trim(),!r||e[r]&&ye[r]||("set-cookie"===r?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)}),e})(t),e);else if(Yt.isObject(t)&&Yt.isIterable(t)){let r,n,o={};for(const e of t){if(!Yt.isArray(e))throw TypeError("Object iterator must return a key-value pair");o[n=e[0]]=(r=o[n])?Yt.isArray(r)?[...r,e[1]]:[r,e[1]]:e[1]}s(o,e)}else null!=t&&o(e,t,r);return this}get(t,e){if(t=be(t)){const r=Yt.findKey(this,t);if(r){const t=this[r];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}(t);if(Yt.isFunction(e))return e.call(this,t,r);if(Yt.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=be(t)){const r=Yt.findKey(this,t);return!(!r||void 0===this[r]||e&&!ve(0,this[r],r,e))}return!1}delete(t,e){const r=this;let n=!1;function o(t){if(t=be(t)){const o=Yt.findKey(r,t);!o||e&&!ve(0,r[o],o,e)||(delete r[o],n=!0)}}return Yt.isArray(t)?t.forEach(o):o(t),n}clear(t){const e=Object.keys(this);let r=e.length,n=!1;for(;r--;){const o=e[r];t&&!ve(0,this[o],o,t,!0)||(delete this[o],n=!0)}return n}normalize(t){const e=this,r={};return Yt.forEach(this,(n,o)=>{const s=Yt.findKey(r,o);if(s)return e[s]=we(n),void delete e[o];const i=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,e,r)=>e.toUpperCase()+r)}(o):String(o).trim();i!==o&&delete e[o],e[i]=we(n),r[i]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return Yt.forEach(this,(r,n)=>{null!=r&&!1!==r&&(e[n]=t&&Yt.isArray(r)?r.join(", "):r)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const r=new this(t);return e.forEach(t=>r.set(t)),r}static accessor(t){const e=(this[ge]=this[ge]={accessors:{}}).accessors,r=this.prototype;function n(t){const n=be(t);e[n]||(!function(t,e){const r=Yt.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(t,r,o){return this[n].call(this,e,t,r,o)},configurable:!0})})}(r,t),e[n]=!0)}return Yt.isArray(t)?t.forEach(n):n(t),this}};function Oe(t,e){const r=this||me,n=e||r,o=_e.from(n.headers);let s=n.data;return Yt.forEach(t,function(t){s=t.call(r,s,o.normalize(),e?e.status:void 0)}),o.normalize(),s}function Se(t){return!(!t||!t.__CANCEL__)}function $e(t,e,r){Wt.call(this,null==t?"canceled":t,Wt.ERR_CANCELED,e,r),this.name="CanceledError"}function Ee(t,e,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new Wt("Request failed with status code "+r.status,[Wt.ERR_BAD_REQUEST,Wt.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}_e.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Yt.reduceDescriptors(_e.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[r]=t}}}),Yt.freezeMethods(_e),Yt.inherits($e,Wt,{__CANCEL__:!0});const Re=(t,e,r=3)=>{let n=0;const o=function(t,e){t=t||10;const r=new Array(t),n=new Array(t);let o,s=0,i=0;return e=void 0!==e?e:1e3,function(a){const c=Date.now(),u=n[i];o||(o=c),r[s]=a,n[s]=c;let l=i,f=0;for(;l!==s;)f+=r[l++],l%=t;if(s=(s+1)%t,s===i&&(i=(i+1)%t),c-o<e)return;const d=u&&c-u;return d?Math.round(1e3*f/d):void 0}}(50,250);return function(t,e){let r,n,o=0,s=1e3/e;const i=(e,s=Date.now())=>{o=s,r=null,n&&(clearTimeout(n),n=null),t(...e)};return[(...t)=>{const e=Date.now(),a=e-o;a>=s?i(t,e):(r=t,n||(n=setTimeout(()=>{n=null,i(r)},s-a)))},()=>r&&i(r)]}(r=>{const s=r.loaded,i=r.lengthComputable?r.total:void 0,a=s-n,c=o(a);n=s;t({loaded:s,total:i,progress:i?s/i:void 0,bytes:a,rate:c||void 0,estimated:c&&i&&s<=i?(i-s)/c:void 0,event:r,lengthComputable:null!=i,[e?"download":"upload"]:!0})},r)},xe=(t,e)=>{const r=null!=t;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},Te=t=>(...e)=>Yt.asap(()=>t(...e));var Ae=he.hasStandardBrowserEnv?((t,e)=>r=>(r=new URL(r,he.origin),t.protocol===r.protocol&&t.host===r.host&&(e||t.port===r.port)))(new URL(he.origin),he.navigator&&/(msie|trident)/i.test(he.navigator.userAgent)):()=>!0,je=he.hasStandardBrowserEnv?{write(t,e,r,n,o,s){const i=[t+"="+encodeURIComponent(e)];Yt.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),Yt.isString(n)&&i.push("path="+n),Yt.isString(o)&&i.push("domain="+o),!0===s&&i.push("secure"),document.cookie=i.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Me(t,e,r){let n=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);return t&&(n||0==r)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const ke=t=>t instanceof _e?{...t}:t;function De(t,e){e=e||{};const r={};function n(t,e,r,n){return Yt.isPlainObject(t)&&Yt.isPlainObject(e)?Yt.merge.call({caseless:n},t,e):Yt.isPlainObject(e)?Yt.merge({},e):Yt.isArray(e)?e.slice():e}function o(t,e,r,o){return Yt.isUndefined(e)?Yt.isUndefined(t)?void 0:n(void 0,t,0,o):n(t,e,0,o)}function s(t,e){if(!Yt.isUndefined(e))return n(void 0,e)}function i(t,e){return Yt.isUndefined(e)?Yt.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function a(r,o,s){return s in e?n(r,o):s in t?n(void 0,r):void 0}const c={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(t,e,r)=>o(ke(t),ke(e),0,!0)};return Yt.forEach(Object.keys({...t,...e}),function(n){const s=c[n]||o,i=s(t[n],e[n],n);Yt.isUndefined(i)&&s!==a||(r[n]=i)}),r}var Ce=t=>{const e=De({},t);let r,{data:n,withXSRFToken:o,xsrfHeaderName:s,xsrfCookieName:i,headers:a,auth:c}=e;if(e.headers=a=_e.from(a),e.url=oe(Me(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),c&&a.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),Yt.isFormData(n))if(he.hasStandardBrowserEnv||he.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(r=a.getContentType())){const[t,...e]=r?r.split(";").map(t=>t.trim()).filter(Boolean):[];a.setContentType([t||"multipart/form-data",...e].join("; "))}if(he.hasStandardBrowserEnv&&(o&&Yt.isFunction(o)&&(o=o(e)),o||!1!==o&&Ae(e.url))){const t=s&&i&&je.read(i);t&&a.set(s,t)}return e};var Ne="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise(function(e,r){const n=Ce(t);let o=n.data;const s=_e.from(n.headers).normalize();let i,a,c,u,l,{responseType:f,onUploadProgress:d,onDownloadProgress:h}=n;function p(){u&&u(),l&&l(),n.cancelToken&&n.cancelToken.unsubscribe(i),n.signal&&n.signal.removeEventListener("abort",i)}let m=new XMLHttpRequest;function y(){if(!m)return;const n=_e.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Ee(function(t){e(t),p()},function(t){r(t),p()},{data:f&&"text"!==f&&"json"!==f?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:n,config:t,request:m}),m=null}m.open(n.method.toUpperCase(),n.url,!0),m.timeout=n.timeout,"onloadend"in m?m.onloadend=y:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(y)},m.onabort=function(){m&&(r(new Wt("Request aborted",Wt.ECONNABORTED,t,m)),m=null)},m.onerror=function(){r(new Wt("Network Error",Wt.ERR_NETWORK,t,m)),m=null},m.ontimeout=function(){let e=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const o=n.transitional||ie;n.timeoutErrorMessage&&(e=n.timeoutErrorMessage),r(new Wt(e,o.clarifyTimeoutError?Wt.ETIMEDOUT:Wt.ECONNABORTED,t,m)),m=null},void 0===o&&s.setContentType(null),"setRequestHeader"in m&&Yt.forEach(s.toJSON(),function(t,e){m.setRequestHeader(e,t)}),Yt.isUndefined(n.withCredentials)||(m.withCredentials=!!n.withCredentials),f&&"json"!==f&&(m.responseType=n.responseType),h&&([c,l]=Re(h,!0),m.addEventListener("progress",c)),d&&m.upload&&([a,u]=Re(d),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",u)),(n.cancelToken||n.signal)&&(i=e=>{m&&(r(!e||e.type?new $e(null,t,m):e),m.abort(),m=null)},n.cancelToken&&n.cancelToken.subscribe(i),n.signal&&(n.signal.aborted?i():n.signal.addEventListener("abort",i)));const g=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(n.url);g&&-1===he.protocols.indexOf(g)?r(new Wt("Unsupported protocol "+g+":",Wt.ERR_BAD_REQUEST,t)):m.send(o||null)})};const Fe=(t,e)=>{const{length:r}=t=t?t.filter(Boolean):[];if(e||r){let r,n=new AbortController;const o=function(t){if(!r){r=!0,i();const e=t instanceof Error?t:this.reason;n.abort(e instanceof Wt?e:new $e(e instanceof Error?e.message:e))}};let s=e&&setTimeout(()=>{s=null,o(new Wt(`timeout ${e} of ms exceeded`,Wt.ETIMEDOUT))},e);const i=()=>{t&&(s&&clearTimeout(s),s=null,t.forEach(t=>{t.unsubscribe?t.unsubscribe(o):t.removeEventListener("abort",o)}),t=null)};t.forEach(t=>t.addEventListener("abort",o));const{signal:a}=n;return a.unsubscribe=()=>Yt.asap(i),a}},Ue=function*(t,e){let r=t.byteLength;if(r<e)return void(yield t);let n,o=0;for(;o<r;)n=o+e,yield t.slice(o,n),o=n},ze=async function*(t){if(t[Symbol.asyncIterator])return void(yield*t);const e=t.getReader();try{for(;;){const{done:t,value:r}=await e.read();if(t)break;yield r}}finally{await e.cancel()}},Pe=(t,e,r,n)=>{const o=async function*(t,e){for await(const r of ze(t))yield*Ue(r,e)}(t,e);let s,i=0,a=t=>{s||(s=!0,n&&n(t))};return new ReadableStream({async pull(t){try{const{done:e,value:n}=await o.next();if(e)return a(),void t.close();let s=n.byteLength;if(r){let t=i+=s;r(t)}t.enqueue(new Uint8Array(n))}catch(e){throw a(e),e}},cancel:t=>(a(t),o.return())},{highWaterMark:2})},Le="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Be=Le&&"function"==typeof ReadableStream,qe=Le&&("function"==typeof TextEncoder?(Ie=new TextEncoder,t=>Ie.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var Ie;const He=(t,...e)=>{try{return!!t(...e)}catch(J){return!1}},Ye=Be&&He(()=>{let t=!1;const e=new Request(he.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),We=Be&&He(()=>Yt.isReadableStream(new Response("").body)),Je={stream:We&&(t=>t.body)};var Ve;Le&&(Ve=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Je[t]&&(Je[t]=Yt.isFunction(Ve[t])?e=>e[t]():(e,r)=>{throw new Wt(`Response type '${t}' is not supported`,Wt.ERR_NOT_SUPPORT,r)})}));const Ke=async(t,e)=>{const r=Yt.toFiniteNumber(t.getContentLength());return null==r?(async t=>{if(null==t)return 0;if(Yt.isBlob(t))return t.size;if(Yt.isSpecCompliantForm(t)){const e=new Request(he.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return Yt.isArrayBufferView(t)||Yt.isArrayBuffer(t)?t.byteLength:(Yt.isURLSearchParams(t)&&(t+=""),Yt.isString(t)?(await qe(t)).byteLength:void 0)})(e):r};const Ze={http:null,xhr:Ne,fetch:Le&&(async t=>{let{url:e,method:r,data:n,signal:o,cancelToken:s,timeout:i,onDownloadProgress:a,onUploadProgress:c,responseType:u,headers:l,withCredentials:f="same-origin",fetchOptions:d}=Ce(t);u=u?(u+"").toLowerCase():"text";let h,p=Fe([o,s&&s.toAbortSignal()],i);const m=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let y;try{if(c&&Ye&&"get"!==r&&"head"!==r&&0!==(y=await Ke(l,n))){let t,r=new Request(e,{method:"POST",body:n,duplex:"half"});if(Yt.isFormData(n)&&(t=r.headers.get("content-type"))&&l.setContentType(t),r.body){const[t,e]=xe(y,Re(Te(c)));n=Pe(r.body,65536,t,e)}}Yt.isString(f)||(f=f?"include":"omit");const o="credentials"in Request.prototype;h=new Request(e,{...d,signal:p,method:r.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",credentials:o?f:void 0});let s=await fetch(h,d);const i=We&&("stream"===u||"response"===u);if(We&&(a||i&&m)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=s[e]});const e=Yt.toFiniteNumber(s.headers.get("content-length")),[r,n]=a&&xe(e,Re(Te(a),!0))||[];s=new Response(Pe(s.body,65536,r,()=>{n&&n(),m&&m()}),t)}u=u||"text";let g=await Je[Yt.findKey(Je,u)||"text"](s,t);return!i&&m&&m(),await new Promise((e,r)=>{Ee(e,r,{data:g,headers:_e.from(s.headers),status:s.status,statusText:s.statusText,config:t,request:h})})}catch(g){if(m&&m(),g&&"TypeError"===g.name&&/Load failed|fetch/i.test(g.message))throw Object.assign(new Wt("Network Error",Wt.ERR_NETWORK,t,h),{cause:g.cause||g});throw Wt.from(g,g&&g.code,t,h)}})};Yt.forEach(Ze,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(J){}Object.defineProperty(t,"adapterName",{value:e})}});const Ge=t=>`- ${t}`,Xe=t=>Yt.isFunction(t)||null===t||!1===t;var Qe=t=>{t=Yt.isArray(t)?t:[t];const{length:e}=t;let r,n;const o={};for(let s=0;s<e;s++){let e;if(r=t[s],n=r,!Xe(r)&&(n=Ze[(e=String(r)).toLowerCase()],void 0===n))throw new Wt(`Unknown adapter '${e}'`);if(n)break;o[e||"#"+s]=n}if(!n){const t=Object.entries(o).map(([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build"));throw new Wt("There is no suitable adapter to dispatch the request "+(e?t.length>1?"since :\n"+t.map(Ge).join("\n"):" "+Ge(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function tr(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new $e(null,t)}function er(t){tr(t),t.headers=_e.from(t.headers),t.data=Oe.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return Qe(t.adapter||me.adapter)(t).then(function(e){return tr(t),e.data=Oe.call(t,t.transformResponse,e),e.headers=_e.from(e.headers),e},function(e){return Se(e)||(tr(t),e&&e.response&&(e.response.data=Oe.call(t,t.transformResponse,e.response),e.response.headers=_e.from(e.response.headers))),Promise.reject(e)})}const rr="1.11.0",nr={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{nr[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const or={};nr.transitional=function(t,e,r){function n(t,e){return"[Axios v"+rr+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,o,s)=>{if(!1===t)throw new Wt(n(o," has been removed"+(e?" in "+e:"")),Wt.ERR_DEPRECATED);return e&&!or[o]&&(or[o]=!0,console.warn(n(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,o,s)}},nr.spelling=function(t){return(e,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};var sr={assertOptions:function(t,e,r){if("object"!=typeof t)throw new Wt("options must be an object",Wt.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let o=n.length;for(;o-- >0;){const s=n[o],i=e[s];if(i){const e=t[s],r=void 0===e||i(e,s,t);if(!0!==r)throw new Wt("option "+s+" must be "+r,Wt.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new Wt("Unknown option "+s,Wt.ERR_BAD_OPTION)}},validators:nr};const ir=sr.validators;let ar=class{constructor(t){this.defaults=t||{},this.interceptors={request:new se,response:new se}}async request(t,e){try{return await this._request(t,e)}catch(r){if(r instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const e=t.stack?t.stack.replace(/^.+\n/,""):"";try{r.stack?e&&!String(r.stack).endsWith(e.replace(/^.+\n.+\n/,""))&&(r.stack+="\n"+e):r.stack=e}catch(J){}}throw r}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=De(this.defaults,e);const{transitional:r,paramsSerializer:n,headers:o}=e;void 0!==r&&sr.assertOptions(r,{silentJSONParsing:ir.transitional(ir.boolean),forcedJSONParsing:ir.transitional(ir.boolean),clarifyTimeoutError:ir.transitional(ir.boolean)},!1),null!=n&&(Yt.isFunction(n)?e.paramsSerializer={serialize:n}:sr.assertOptions(n,{encode:ir.function,serialize:ir.function},!0)),void 0!==e.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?e.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:e.allowAbsoluteUrls=!0),sr.assertOptions(e,{baseUrl:ir.spelling("baseURL"),withXsrfToken:ir.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let s=o&&Yt.merge(o.common,o[e.method]);o&&Yt.forEach(["delete","get","head","post","put","patch","common"],t=>{delete o[t]}),e.headers=_e.concat(s,o);const i=[];let a=!0;this.interceptors.request.forEach(function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,i.unshift(t.fulfilled,t.rejected))});const c=[];let u;this.interceptors.response.forEach(function(t){c.push(t.fulfilled,t.rejected)});let l,f=0;if(!a){const t=[er.bind(this),void 0];for(t.unshift(...i),t.push(...c),l=t.length,u=Promise.resolve(e);f<l;)u=u.then(t[f++],t[f++]);return u}l=i.length;let d=e;for(f=0;f<l;){const t=i[f++],e=i[f++];try{d=t(d)}catch(h){e.call(this,h);break}}try{u=er.call(this,d)}catch(h){return Promise.reject(h)}for(f=0,l=c.length;f<l;)u=u.then(c[f++],c[f++]);return u}getUri(t){return oe(Me((t=De(this.defaults,t)).baseURL,t.url,t.allowAbsoluteUrls),t.params,t.paramsSerializer)}};Yt.forEach(["delete","get","head","options"],function(t){ar.prototype[t]=function(e,r){return this.request(De(r||{},{method:t,url:e,data:(r||{}).data}))}}),Yt.forEach(["post","put","patch"],function(t){function e(e){return function(r,n,o){return this.request(De(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}ar.prototype[t]=e(),ar.prototype[t+"Form"]=e(!0)});const cr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(cr).forEach(([t,e])=>{cr[e]=t});const ur=function t(e){const r=new ar(e),n=et(ar.prototype.request,r);return Yt.extend(n,ar.prototype,r,{allOwnKeys:!0}),Yt.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return t(De(e,r))},n}(me);ur.Axios=ar,ur.CanceledError=$e,ur.CancelToken=class t{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise(function(t){e=t});const r=this;this.promise.then(t=>{if(!r._listeners)return;let e=r._listeners.length;for(;e-- >0;)r._listeners[e](t);r._listeners=null}),this.promise.then=t=>{let e;const n=new Promise(t=>{r.subscribe(t),e=t}).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t(function(t,n,o){r.reason||(r.reason=new $e(t,n,o),e(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let e;return{token:new t(function(t){e=t}),cancel:e}}},ur.isCancel=Se,ur.VERSION=rr,ur.toFormData=Qt,ur.AxiosError=Wt,ur.Cancel=ur.CanceledError,ur.all=function(t){return Promise.all(t)},ur.spread=function(t){return function(e){return t.apply(null,e)}},ur.isAxiosError=function(t){return Yt.isObject(t)&&!0===t.isAxiosError},ur.mergeConfig=De,ur.AxiosHeaders=_e,ur.formToJSON=t=>pe(Yt.isHTMLForm(t)?new FormData(t):t),ur.getAdapter=Qe,ur.HttpStatusCode=cr,ur.default=ur;const{Axios:lr,AxiosError:fr,CanceledError:dr,isCancel:hr,CancelToken:pr,VERSION:mr,all:yr,Cancel:gr,isAxiosError:br,spread:wr,toFormData:vr,AxiosHeaders:_r,HttpStatusCode:Or,formToJSON:Sr,getAdapter:$r,mergeConfig:Er}=ur,Rr=("undefined"!=typeof window?window.location:self.location).origin,xr=ur.create({baseURL:"/api/2.0/"});class Tr{data;dataFields;displayField;lastUpdated;markerParams;monitorFields;constructor(t){const e=D(t);t.latest&&parseInt(t.latest.value,10)<0&&(t.latest.value="0"),this.data=t,this.markerParams=function(t){const e="pm25"===t.latest.entry_type?k.levels:j,r=`#${_}`,n={border_color:v(b(r,.1)),border_size:1,fill_color:r,value_color:r,size:8,shape:"square"};switch(t.data_source.name){case"AirNow.gov":case"AQview":case"Central California Asthma Collaborative":n.shape="triangle";break;case"PurpleAir":case"AirGradient":t.is_sjvair&&(n.shape="circle");break;default:console.error(`Unknown device type for monitor ${t.id}: ${t.data_source.name}`,t),n.shape="diamond"}if(t.latest){const r=M(+t.latest.value,e);if(n.value_color=r,t.is_active)switch(n.fill_color=M(+t.latest.value,e),n.border_color="pm25"===t.latest.entry_type?v(b(n.fill_color,.1)):`#${S}`,t.data_source.name){case"AirNow.gov":case"AQview":case"Central California Asthma Collaborative":n.size=14;break;case"AirGradient":case"PurpleAir":t.is_sjvair?n.size=12:n.size=10}"inside"===t.location&&(n.border_color=`#${O}`,n.border_size=2)}return n}(t),this.monitorFields=e,this.dataFields=Object.keys(this.monitorFields),this.displayField=e.pm25,this.lastUpdated=t.latest&&Object.keys(t.latest).length>1?tt(t.latest.timestamp).fromNow():"never"}}e=Rr;var Ar=Object.freeze({__proto__:null,fetchMonitors:async function(t){return async function(t){try{return(await n(t)).body.data}catch(e){throw new Error("Failed to fetch monitors latest page",{cause:e})}}(t).then(t=>{const e={};if(t&&Object.keys(t).length)for(let r of t)null!==r.position&&(e[r.id]=new Tr(r));return e})},fetchSubscriptions:async function(){return xr.get("alerts/subscriptions").then(t=>t.data.data)},fetchTempByCoords:async function(t){const e=`https://api.weather.gov/points/${t.join(",")}`;return await xr(e).then(async t=>{try{return(await xr(t.data.properties.forecastHourly)).data.properties.periods[0].temperature}catch(e){throw e}})}});new class{serviceModule;serviceModuleName;constructor(e,r){this.serviceModule=r,this.serviceModuleName=e,self.addEventListener("message",async e=>{const{id:r,taskName:n,parameters:o}=e.data;this.serviceModule[n];const s=new t(r);n in this.serviceModule?await this.serviceModule[n](...o).then(t=>s.pass(t)).catch(t=>s.fail(t.message)):s.fail(`Background task "${String(n)}" not found in "${this.serviceModuleName}" controller`),self.postMessage(s)})}}("MonitorsService",Ar);
|
|
1
|
+
class t{id;error;success;payload;constructor(t){this.id=t}pass(t){this.success=!0,this.payload=t}fail(t){this.success=!1,this.error=t}}let e="https://www.sjvair.com";function r(t){return new URL(`${e}/api/2.0/${`monitors/${t}/current`}/`)}async function n(t){const e=r(t);return await async function(t,e){return await fetch(t,e).then(async e=>{const r=await e.json().catch(r=>{throw new Error(`Request to endpoint "${t.href}" failed`,{cause:e})});return{headers:e.headers,body:r,ok:e.ok,redirected:e.redirected,status:e.status,statusText:e.statusText,url:e.url}})}(e)}function o(t,e,r){return Math.min(Math.max(t,r),e)}class s extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}}var i=s;function a(t){if("string"!=typeof t)throw new i(t);if("transparent"===t.trim().toLowerCase())return[0,0,0,0];let e=t.trim();e=m.test(t)?function(t){const e=t.toLowerCase().trim(),r=u[function(t){let e=5381,r=t.length;for(;r;)e=33*e^t.charCodeAt(--r);return(e>>>0)%2341}(e)];if(!r)throw new i(t);return`#${r}`}(t):t;const r=f.exec(e);if(r){const t=Array.from(r).slice(1);return[...t.slice(0,3).map(t=>parseInt(l(t,2),16)),parseInt(l(t[3]||"f",2),16)/255]}const n=d.exec(e);if(n){const t=Array.from(n).slice(1);return[...t.slice(0,3).map(t=>parseInt(t,16)),parseInt(t[3]||"ff",16)/255]}const s=h.exec(e);if(s){const t=Array.from(s).slice(1);return[...t.slice(0,3).map(t=>parseInt(t,10)),parseFloat(t[3]||"1")]}const a=p.exec(e);if(a){const[e,r,n,s]=Array.from(a).slice(1).map(parseFloat);if(o(0,100,r)!==r)throw new i(t);if(o(0,100,n)!==n)throw new i(t);return[...g(e,r,n),Number.isNaN(s)?1:s]}throw new i(t)}const c=t=>parseInt(t.replace(/_/g,""),36),u="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((t,e)=>{const r=c(e.substring(0,3)),n=c(e.substring(3)).toString(16);let o="";for(let s=0;s<6-n.length;s++)o+="0";return t[r]=`${o}${n}`,t},{});const l=(t,e)=>Array.from(Array(e)).map(()=>t).join(""),f=new RegExp(`^#${l("([a-f0-9])",3)}([a-f0-9])?$`,"i"),d=new RegExp(`^#${l("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),h=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${l(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),p=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,m=/^[a-z]+$/i,y=t=>Math.round(255*t),g=(t,e,r)=>{let n=r/100;if(0===e)return[n,n,n].map(y);const o=(t%360+360)%360/60,s=(1-Math.abs(2*n-1))*(e/100),i=s*(1-Math.abs(o%2-1));let a=0,c=0,u=0;o>=0&&o<1?(a=s,c=i):o>=1&&o<2?(a=i,c=s):o>=2&&o<3?(c=s,u=i):o>=3&&o<4?(c=i,u=s):o>=4&&o<5?(a=i,u=s):o>=5&&o<6&&(a=s,u=i);const l=n-s/2;return[a+l,c+l,u+l].map(y)};function b(t,e){const[r,n,s,i]=function(t){const[e,r,n,o]=a(t).map((t,e)=>3===e?t:t/255),s=Math.max(e,r,n),i=Math.min(e,r,n),c=(s+i)/2;if(s===i)return[0,0,c,o];const u=s-i;return[60*(e===s?(r-n)/u+(r<n?6:0):r===s?(n-e)/u+2:(e-r)/u+4),c>.5?u/(2-s-i):u/(s+i),c,o]}(t);return function(t,e,r,n){return`hsla(${(t%360).toFixed()}, ${o(0,100,100*e).toFixed()}%, ${o(0,100,100*r).toFixed()}%, ${parseFloat(o(0,1,n).toFixed(3))})`}(r,n,s-e,i)}function w(t,e,r){const n=(t,e)=>3===e?t:t/255,[s,i,c,u]=a(t).map(n),[l,f,d,h]=a(e).map(n),p=h-u,m=2*r-1,y=((m*p===-1?m:m+p/(1+m*p))+1)/2,g=1-y;return b=255*(i*g+f*y),w=255*(c*g+d*y),v=h*r+u*(1-r),`rgba(${o(0,255,255*(s*g+l*y)).toFixed()}, ${o(0,255,b).toFixed()}, ${o(0,255,w).toFixed()}, ${parseFloat(o(0,1,v).toFixed(3))})`;var b,w,v}function v(t){const[e,r,n,s]=a(t);let i=t=>{const e=o(0,255,t).toString(16);return 1===e.length?`0${e}`:e};return`#${i(e)}${i(r)}${i(n)}${s<1?i(Math.round(255*s)):""}`}const _="969696",O="000000",S="0000FF",$="00e400",E="ffff00",R="ff7e00",x="ff0000",T="8f3f97",A="7e0023",j=[{min:-1/0,color:$},{min:55,color:E},{min:71,color:R},{min:86,color:x},{min:106,color:T},{min:201,color:A}];function M(t,e){const r=e[e.length-1];if(t>=r.min)return`#${r.color}`;if(t<=0)return`#${e[0].color}`;for(let n=0;n<=e.length-1;n++)if(e[n].min>t){const r=e[n-1],o=e[n],s=r.min===-1/0?o.min:o.min-r.min,i=(s-(o.min-t))/s;return w(`#${r.color}`,`#${o.color}`,i)}return"#FFFFFF"}class k{static levels=[{min:-1/0,color:$},{min:12,color:E},{min:35,color:R},{min:55,color:x},{min:150,color:T},{min:250,color:A}];label;latest;levels=k.levels;name;updateDuration;constructor(t,e,r,n){this.label=e,this.name=t,this.updateDuration=r,n.latest&&this.name in n.latest&&(this.latest=Math.round(parseFloat(n.latest.value)))}}function D(t){switch(t.data_source.name){case"AirNow.gov":return function(t){return C(["pm25","PM 2.5","60m",t],["pm100","PM 10","60M",t])}(t);case"AQview":return function(t){return C(["pm25_avg_60","PM 2.5","60m",t])}(t);case"Central California Asthma Collaborative":return function(t){return C(["pm25","PM 2.5","60m",t])}(t);case"PurpleAir":case"AirGradient":return function(t){return C(["pm10","PM 1.0","2m",t],["pm25","PM 2.5","2m",t],["pm25_avg_15","PM 2.5","15m",t],["pm25_avg_60","PM 2.5","60m",t],["pm100","PM 10","",t])}(t)}}function C(...t){const e={};for(let r of t)e[r[0]]=new k(...r);return e}function N(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var F,U={exports:{}};var z,P=(F||(F=1,U.exports=function(){var t=1e3,e=6e4,r=36e5,n="millisecond",o="second",s="minute",i="hour",a="day",c="week",u="month",l="quarter",f="year",d="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}},g=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},b={s:g,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),o=r%60;return(e<=0?"+":"-")+g(n,2,"0")+":"+g(o,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),o=e.clone().add(n,u),s=r-o<0,i=e.clone().add(n+(s?-1:1),u);return+(-(n+(r-o)/(s?o-i:i-o))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:f,w:c,d:a,D:d,h:i,m:s,s:o,ms:n,Q:l}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},w="en",v={};v[w]=y;var _="$isDayjsObject",O=function(t){return t instanceof R||!(!t||!t[_])},S=function t(e,r,n){var o;if(!e)return w;if("string"==typeof e){var s=e.toLowerCase();v[s]&&(o=s),r&&(v[s]=r,o=s);var i=e.split("-");if(!o&&i.length>1)return t(i[0])}else{var a=e.name;v[a]=e,o=a}return!n&&o&&(w=o),o||!n&&w},$=function(t,e){if(O(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new R(r)},E=b;E.l=S,E.i=O,E.w=function(t,e){return $(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var R=function(){function y(t){this.$L=S(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[_]=!0}var g=y.prototype;return g.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(E.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(p);if(n){var o=n[2]-1||0,s=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)}}return new Date(e)}(t),this.init()},g.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},g.$utils=function(){return E},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(t,e){var r=$(t);return this.startOf(e)<=r&&r<=this.endOf(e)},g.isAfter=function(t,e){return $(t)<this.startOf(e)},g.isBefore=function(t,e){return this.endOf(e)<$(t)},g.$g=function(t,e,r){return E.u(t)?this[e]:this.set(r,t)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(t,e){var r=this,n=!!E.u(e)||e,l=E.p(t),h=function(t,e){var o=E.w(r.$u?Date.UTC(r.$y,e,t):new Date(r.$y,e,t),r);return n?o:o.endOf(a)},p=function(t,e){return E.w(r.toDate()[t].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(e)),r)},m=this.$W,y=this.$M,g=this.$D,b="set"+(this.$u?"UTC":"");switch(l){case f:return n?h(1,0):h(31,11);case u:return n?h(1,y):h(0,y+1);case c:var w=this.$locale().weekStart||0,v=(m<w?m+7:m)-w;return h(n?g-v:g+(6-v),y);case a:case d:return p(b+"Hours",0);case i:return p(b+"Minutes",1);case s:return p(b+"Seconds",2);case o:return p(b+"Milliseconds",3);default:return this.clone()}},g.endOf=function(t){return this.startOf(t,!1)},g.$set=function(t,e){var r,c=E.p(t),l="set"+(this.$u?"UTC":""),h=(r={},r[a]=l+"Date",r[d]=l+"Date",r[u]=l+"Month",r[f]=l+"FullYear",r[i]=l+"Hours",r[s]=l+"Minutes",r[o]=l+"Seconds",r[n]=l+"Milliseconds",r)[c],p=c===a?this.$D+(e-this.$W):e;if(c===u||c===f){var m=this.clone().set(d,1);m.$d[h](p),m.init(),this.$d=m.set(d,Math.min(this.$D,m.daysInMonth())).$d}else h&&this.$d[h](p);return this.init(),this},g.set=function(t,e){return this.clone().$set(t,e)},g.get=function(t){return this[E.p(t)]()},g.add=function(n,l){var d,h=this;n=Number(n);var p=E.p(l),m=function(t){var e=$(h);return E.w(e.date(e.date()+Math.round(t*n)),h)};if(p===u)return this.set(u,this.$M+n);if(p===f)return this.set(f,this.$y+n);if(p===a)return m(1);if(p===c)return m(7);var y=(d={},d[s]=e,d[i]=r,d[o]=t,d)[p]||1,g=this.$d.getTime()+n*y;return E.w(g,this)},g.subtract=function(t,e){return this.add(-1*t,e)},g.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var n=t||"YYYY-MM-DDTHH:mm:ssZ",o=E.z(this),s=this.$H,i=this.$m,a=this.$M,c=r.weekdays,u=r.months,l=r.meridiem,f=function(t,r,o,s){return t&&(t[r]||t(e,n))||o[r].slice(0,s)},d=function(t){return E.s(s%12||12,t,"0")},p=l||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(m,function(t,n){return n||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return E.s(e.$y,4,"0");case"M":return a+1;case"MM":return E.s(a+1,2,"0");case"MMM":return f(r.monthsShort,a,u,3);case"MMMM":return f(u,a);case"D":return e.$D;case"DD":return E.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return f(r.weekdaysMin,e.$W,c,2);case"ddd":return f(r.weekdaysShort,e.$W,c,3);case"dddd":return c[e.$W];case"H":return String(s);case"HH":return E.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return p(s,i,!0);case"A":return p(s,i,!1);case"m":return String(i);case"mm":return E.s(i,2,"0");case"s":return String(e.$s);case"ss":return E.s(e.$s,2,"0");case"SSS":return E.s(e.$ms,3,"0");case"Z":return o}return null}(t)||o.replace(":","")})},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(n,d,h){var p,m=this,y=E.p(d),g=$(n),b=(g.utcOffset()-this.utcOffset())*e,w=this-g,v=function(){return E.m(m,g)};switch(y){case f:p=v()/12;break;case u:p=v();break;case l:p=v()/3;break;case c:p=(w-b)/6048e5;break;case a:p=(w-b)/864e5;break;case i:p=w/r;break;case s:p=w/e;break;case o:p=w/t;break;default:p=w}return h?p:E.a(p)},g.daysInMonth=function(){return this.endOf(u).$D},g.$locale=function(){return v[this.$L]},g.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=S(t,e,!0);return n&&(r.$L=n),r},g.clone=function(){return E.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},y}(),x=R.prototype;return $.prototype=x,[["$ms",n],["$s",o],["$m",s],["$H",i],["$W",a],["$M",u],["$y",f],["$D",d]].forEach(function(t){x[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),$.extend=function(t,e){return t.$i||(t(e,R,$),t.$i=!0),$},$.locale=S,$.isDayjs=O,$.unix=function(t){return $(1e3*t)},$.en=v[w],$.Ls=v,$.p={},$}()),U.exports),L=N(P),B={exports:{}};var q,I=(z||(z=1,B.exports=function(t,e,r){t=t||{};var n=e.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function s(t,e,r,o){return n.fromToBase(t,e,r,o)}r.en.relativeTime=o,n.fromToBase=function(e,n,s,i,a){for(var c,u,l,f=s.$locale().relativeTime||o,d=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],h=d.length,p=0;p<h;p+=1){var m=d[p];m.d&&(c=i?r(e).diff(s,m.d,!0):s.diff(e,m.d,!0));var y=(t.rounding||Math.round)(Math.abs(c));if(l=c>0,y<=m.r||!m.r){y<=1&&p>0&&(m=d[p-1]);var g=f[m.l];a&&(y=a(""+y)),u="string"==typeof g?g.replace("%d",y):g(y,n,m.l,l);break}}if(n)return u;var b=l?f.future:f.past;return"function"==typeof b?b(u):b.replace("%s",u)},n.to=function(t,e){return s(t,e,this,!0)},n.from=function(t,e){return s(t,e,this)};var i=function(t){return t.$u?r.utc():r()};n.toNow=function(t){return this.to(i(this),t)},n.fromNow=function(t){return this.from(i(this),t)}}),B.exports),H=N(I),Y={exports:{}};var W,J,V,K=(q||(q=1,Y.exports=(W={year:0,month:1,day:2,hour:3,minute:4,second:5},J={},function(t,e,r){var n,o=function(t,e,r){void 0===r&&(r={});var n=new Date(t),o=function(t,e){void 0===e&&(e={});var r=e.timeZoneName||"short",n=t+"|"+r,o=J[n];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:r}),J[n]=o),o}(e,r);return o.formatToParts(n)},s=function(t,e){for(var n=o(t,e),s=[],i=0;i<n.length;i+=1){var a=n[i],c=a.type,u=a.value,l=W[c];l>=0&&(s[l]=parseInt(u,10))}var f=s[3],d=24===f?0:f,h=s[0]+"-"+s[1]+"-"+s[2]+" "+d+":"+s[4]+":"+s[5]+":000",p=+t;return(r.utc(h).valueOf()-(p-=p%1e3))/6e4},i=e.prototype;i.tz=function(t,e){void 0===t&&(t=n);var o,s=this.utcOffset(),i=this.toDate(),a=i.toLocaleString("en-US",{timeZone:t}),c=Math.round((i-new Date(a))/1e3/60),u=15*-Math.round(i.getTimezoneOffset()/15)-c;if(Number(u)){if(o=r(a,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(u,!0),e){var l=o.utcOffset();o=o.add(s-l,"minute")}}else o=this.utcOffset(0,e);return o.$x.$timezone=t,o},i.offsetName=function(t){var e=this.$x.$timezone||r.tz.guess(),n=o(this.valueOf(),e,{timeZoneName:t}).find(function(t){return"timezonename"===t.type.toLowerCase()});return n&&n.value};var a=i.startOf;i.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return a.call(this,t,e);var n=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return a.call(n,t,e).tz(this.$x.$timezone,!0)},r.tz=function(t,e,o){var i=o&&e,a=o||e||n,c=s(+r(),a);if("string"!=typeof t)return r(t).tz(a);var u=function(t,e,r){var n=t-60*e*1e3,o=s(n,r);if(e===o)return[n,e];var i=s(n-=60*(o-e)*1e3,r);return o===i?[n,o]:[t-60*Math.min(o,i)*1e3,Math.max(o,i)]}(r.utc(t,i).valueOf(),c,a),l=u[0],f=u[1],d=r(l).utcOffset(f);return d.$x.$timezone=a,d},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(t){n=t}})),Y.exports),Z=N(K),G={exports:{}};var X=(V||(V=1,G.exports=function(){var t="minute",e=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(n,o,s){var i=o.prototype;s.utc=function(t){return new o({date:t,utc:!0,args:arguments})},i.utc=function(e){var r=s(this.toDate(),{locale:this.$L,utc:!0});return e?r.add(this.utcOffset(),t):r},i.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var a=i.parse;i.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),a.call(this,t)};var c=i.init;i.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else c.call(this)};var u=i.utcOffset;i.utcOffset=function(n,o){var s=this.$utils().u;if(s(n))return this.$u?0:s(this.$offset)?u.call(this):this.$offset;if("string"==typeof n&&(n=function(t){void 0===t&&(t="");var n=t.match(e);if(!n)return null;var o=(""+n[0]).match(r)||["-",0,0],s=o[0],i=60*+o[1]+ +o[2];return 0===i?0:"+"===s?i:-i}(n),null===n))return this;var i=Math.abs(n)<=16?60*n:n,a=this;if(o)return a.$offset=i,a.$u=0===n,a;if(0!==n){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(a=this.local().add(i+c,t)).$offset=i,a.$x.$localOffset=c}else a=this.utc();return a};var l=i.format;i.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,e)},i.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()};var f=i.toDate;i.toDate=function(t){return"s"===t&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var d=i.diff;i.diff=function(t,e,r){if(t&&this.$u===t.$u)return d.call(this,t,e,r);var n=this.local(),o=s(t).local();return d.call(n,o,e,r)}}}()),G.exports),Q=N(X);L.$defaultFormat=function(t){return L.utc(t).format("YYYY-MM-DD HH:mm:ss")},L.$prettyPrint=function(t){return L(t).format("h:mma dddd MMM DD, YYYY")};L.extend(H),L.extend(Z),L.extend((t,e,r)=>{e.prototype.skewedDiff=function(t,e){const r=Math.abs(this.diff(t))/6e4;return r>e?Math.floor(r):r<e?Math.ceil(r):r}}),L.extend(Q);const tt=L;function et(t,e){return function(){return t.apply(e,arguments)}}const{toString:rt}=Object.prototype,{getPrototypeOf:nt}=Object,{iterator:ot,toStringTag:st}=Symbol,it=(at=Object.create(null),t=>{const e=rt.call(t);return at[e]||(at[e]=e.slice(8,-1).toLowerCase())});var at;const ct=t=>(t=t.toLowerCase(),e=>it(e)===t),ut=t=>e=>typeof e===t,{isArray:lt}=Array,ft=ut("undefined");function dt(t){return null!==t&&!ft(t)&&null!==t.constructor&&!ft(t.constructor)&&mt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const ht=ct("ArrayBuffer");const pt=ut("string"),mt=ut("function"),yt=ut("number"),gt=t=>null!==t&&"object"==typeof t,bt=t=>{if("object"!==it(t))return!1;const e=nt(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||st in t||ot in t)},wt=ct("Date"),vt=ct("File"),_t=ct("Blob"),Ot=ct("FileList"),St=ct("URLSearchParams"),[$t,Et,Rt,xt]=["ReadableStream","Request","Response","Headers"].map(ct);function Tt(t,e,{allOwnKeys:r=!1}={}){if(null==t)return;let n,o;if("object"!=typeof t&&(t=[t]),lt(t))for(n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else{if(dt(t))return;const o=r?Object.getOwnPropertyNames(t):Object.keys(t),s=o.length;let i;for(n=0;n<s;n++)i=o[n],e.call(null,t[i],i,t)}}function At(t,e){if(dt(t))return null;e=e.toLowerCase();const r=Object.keys(t);let n,o=r.length;for(;o-- >0;)if(n=r[o],e===n.toLowerCase())return n;return null}const jt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Mt=t=>!ft(t)&&t!==jt;const kt=(Dt="undefined"!=typeof Uint8Array&&nt(Uint8Array),t=>Dt&&t instanceof Dt);var Dt;const Ct=ct("HTMLFormElement"),Nt=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),Ft=ct("RegExp"),Ut=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};Tt(r,(r,o)=>{let s;!1!==(s=e(r,o,t))&&(n[o]=s||r)}),Object.defineProperties(t,n)};const zt=ct("AsyncFunction"),Pt=(Lt="function"==typeof setImmediate,Bt=mt(jt.postMessage),Lt?setImmediate:Bt?(qt=`axios@${Math.random()}`,It=[],jt.addEventListener("message",({source:t,data:e})=>{t===jt&&e===qt&&It.length&&It.shift()()},!1),t=>{It.push(t),jt.postMessage(qt,"*")}):t=>setTimeout(t));var Lt,Bt,qt,It;const Ht="undefined"!=typeof queueMicrotask?queueMicrotask.bind(jt):"undefined"!=typeof process&&process.nextTick||Pt;var Yt={isArray:lt,isArrayBuffer:ht,isBuffer:dt,isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||mt(t.append)&&("formdata"===(e=it(t))||"object"===e&&mt(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&ht(t.buffer),e},isString:pt,isNumber:yt,isBoolean:t=>!0===t||!1===t,isObject:gt,isPlainObject:bt,isEmptyObject:t=>{if(!gt(t)||dt(t))return!1;try{return 0===Object.keys(t).length&&Object.getPrototypeOf(t)===Object.prototype}catch(J){return!1}},isReadableStream:$t,isRequest:Et,isResponse:Rt,isHeaders:xt,isUndefined:ft,isDate:wt,isFile:vt,isBlob:_t,isRegExp:Ft,isFunction:mt,isStream:t=>gt(t)&&mt(t.pipe),isURLSearchParams:St,isTypedArray:kt,isFileList:Ot,forEach:Tt,merge:function t(){const{caseless:e}=Mt(this)&&this||{},r={},n=(n,o)=>{const s=e&&At(r,o)||o;bt(r[s])&&bt(n)?r[s]=t(r[s],n):bt(n)?r[s]=t({},n):lt(n)?r[s]=n.slice():r[s]=n};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&Tt(arguments[o],n);return r},extend:(t,e,r,{allOwnKeys:n}={})=>(Tt(e,(e,n)=>{r&&mt(e)?t[n]=et(e,r):t[n]=e},{allOwnKeys:n}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},toFlatObject:(t,e,r,n)=>{let o,s,i;const a={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),s=o.length;s-- >0;)i=o[s],n&&!n(i,t,e)||a[i]||(e[i]=t[i],a[i]=!0);t=!1!==r&&nt(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:it,kindOfTest:ct,endsWith:(t,e,r)=>{t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return-1!==n&&n===r},toArray:t=>{if(!t)return null;if(lt(t))return t;let e=t.length;if(!yt(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},forEachEntry:(t,e)=>{const r=(t&&t[ot]).call(t);let n;for(;(n=r.next())&&!n.done;){const r=n.value;e.call(t,r[0],r[1])}},matchAll:(t,e)=>{let r;const n=[];for(;null!==(r=t.exec(e));)n.push(r);return n},isHTMLForm:Ct,hasOwnProperty:Nt,hasOwnProp:Nt,reduceDescriptors:Ut,freezeMethods:t=>{Ut(t,(e,r)=>{if(mt(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=t[r];mt(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))})},toObjectSet:(t,e)=>{const r={},n=t=>{t.forEach(t=>{r[t]=!0})};return lt(t)?n(t):n(String(t).split(e)),r},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,e,r){return e.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:At,global:jt,isContextDefined:Mt,isSpecCompliantForm:function(t){return!!(t&&mt(t.append)&&"FormData"===t[st]&&t[ot])},toJSONObject:t=>{const e=new Array(10),r=(t,n)=>{if(gt(t)){if(e.indexOf(t)>=0)return;if(dt(t))return t;if(!("toJSON"in t)){e[n]=t;const o=lt(t)?[]:{};return Tt(t,(t,e)=>{const s=r(t,n+1);!ft(s)&&(o[e]=s)}),e[n]=void 0,o}}return t};return r(t,0)},isAsyncFn:zt,isThenable:t=>t&&(gt(t)||mt(t))&&mt(t.then)&&mt(t.catch),setImmediate:Pt,asap:Ht,isIterable:t=>null!=t&&mt(t[ot])};function Wt(t,e,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}Yt.inherits(Wt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Yt.toJSONObject(this.config),code:this.code,status:this.status}}});const Jt=Wt.prototype,Vt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Vt[t]={value:t}}),Object.defineProperties(Wt,Vt),Object.defineProperty(Jt,"isAxiosError",{value:!0}),Wt.from=(t,e,r,n,o,s)=>{const i=Object.create(Jt);return Yt.toFlatObject(t,i,function(t){return t!==Error.prototype},t=>"isAxiosError"!==t),Wt.call(i,t.message,e,r,n,o),i.cause=t,i.name=t.name,s&&Object.assign(i,s),i};function Kt(t){return Yt.isPlainObject(t)||Yt.isArray(t)}function Zt(t){return Yt.endsWith(t,"[]")?t.slice(0,-2):t}function Gt(t,e,r){return t?t.concat(e).map(function(t,e){return t=Zt(t),!r&&e?"["+t+"]":t}).join(r?".":""):e}const Xt=Yt.toFlatObject(Yt,{},null,function(t){return/^is[A-Z]/.test(t)});function Qt(t,e,r){if(!Yt.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const n=(r=Yt.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(t,e){return!Yt.isUndefined(e[t])})).metaTokens,o=r.visitor||u,s=r.dots,i=r.indexes,a=(r.Blob||"undefined"!=typeof Blob&&Blob)&&Yt.isSpecCompliantForm(e);if(!Yt.isFunction(o))throw new TypeError("visitor must be a function");function c(t){if(null===t)return"";if(Yt.isDate(t))return t.toISOString();if(Yt.isBoolean(t))return t.toString();if(!a&&Yt.isBlob(t))throw new Wt("Blob is not supported. Use a Buffer instead.");return Yt.isArrayBuffer(t)||Yt.isTypedArray(t)?a&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function u(t,r,o){let a=t;if(t&&!o&&"object"==typeof t)if(Yt.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(Yt.isArray(t)&&function(t){return Yt.isArray(t)&&!t.some(Kt)}(t)||(Yt.isFileList(t)||Yt.endsWith(r,"[]"))&&(a=Yt.toArray(t)))return r=Zt(r),a.forEach(function(t,n){!Yt.isUndefined(t)&&null!==t&&e.append(!0===i?Gt([r],n,s):null===i?r:r+"[]",c(t))}),!1;return!!Kt(t)||(e.append(Gt(o,r,s),c(t)),!1)}const l=[],f=Object.assign(Xt,{defaultVisitor:u,convertValue:c,isVisitable:Kt});if(!Yt.isObject(t))throw new TypeError("data must be an object");return function t(r,n){if(!Yt.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),Yt.forEach(r,function(r,s){!0===(!(Yt.isUndefined(r)||null===r)&&o.call(e,r,Yt.isString(s)?s.trim():s,n,f))&&t(r,n?n.concat(s):[s])}),l.pop()}}(t),e}function te(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(t){return e[t]})}function ee(t,e){this._pairs=[],t&&Qt(t,this,e)}const re=ee.prototype;function ne(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function oe(t,e,r){if(!e)return t;const n=r&&r.encode||ne;Yt.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let s;if(s=o?o(e,r):Yt.isURLSearchParams(e)?e.toString():new ee(e,r).toString(n),s){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+s}return t}re.append=function(t,e){this._pairs.push([t,e])},re.toString=function(t){const e=t?function(e){return t.call(this,e,te)}:te;return this._pairs.map(function(t){return e(t[0])+"="+e(t[1])},"").join("&")};class se{constructor(){this.handlers=[]}use(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Yt.forEach(this.handlers,function(e){null!==e&&t(e)})}}var ie={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ae={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ee,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const ce="undefined"!=typeof window&&"undefined"!=typeof document,ue="object"==typeof navigator&&navigator||void 0,le=ce&&(!ue||["ReactNative","NativeScript","NS"].indexOf(ue.product)<0),fe="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,de=ce&&window.location.href||"http://localhost";var he={...Object.freeze({__proto__:null,hasBrowserEnv:ce,hasStandardBrowserEnv:le,hasStandardBrowserWebWorkerEnv:fe,navigator:ue,origin:de}),...ae};function pe(t){function e(t,r,n,o){let s=t[o++];if("__proto__"===s)return!0;const i=Number.isFinite(+s),a=o>=t.length;if(s=!s&&Yt.isArray(n)?n.length:s,a)return Yt.hasOwnProp(n,s)?n[s]=[n[s],r]:n[s]=r,!i;n[s]&&Yt.isObject(n[s])||(n[s]=[]);return e(t,r,n[s],o)&&Yt.isArray(n[s])&&(n[s]=function(t){const e={},r=Object.keys(t);let n;const o=r.length;let s;for(n=0;n<o;n++)s=r[n],e[s]=t[s];return e}(n[s])),!i}if(Yt.isFormData(t)&&Yt.isFunction(t.entries)){const r={};return Yt.forEachEntry(t,(t,n)=>{e(function(t){return Yt.matchAll(/\w+|\[(\w*)]/g,t).map(t=>"[]"===t[0]?"":t[1]||t[0])}(t),n,r,0)}),r}return null}const me={transitional:ie,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,o=Yt.isObject(t);o&&Yt.isHTMLForm(t)&&(t=new FormData(t));if(Yt.isFormData(t))return n?JSON.stringify(pe(t)):t;if(Yt.isArrayBuffer(t)||Yt.isBuffer(t)||Yt.isStream(t)||Yt.isFile(t)||Yt.isBlob(t)||Yt.isReadableStream(t))return t;if(Yt.isArrayBufferView(t))return t.buffer;if(Yt.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return Qt(t,new he.classes.URLSearchParams,{visitor:function(t,e,r,n){return he.isNode&&Yt.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...e})}(t,this.formSerializer).toString();if((s=Yt.isFileList(t))||r.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return Qt(s?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||n?(e.setContentType("application/json",!1),function(t,e,r){if(Yt.isString(t))try{return(e||JSON.parse)(t),Yt.trim(t)}catch(J){if("SyntaxError"!==J.name)throw J}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||me.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(Yt.isResponse(t)||Yt.isReadableStream(t))return t;if(t&&Yt.isString(t)&&(r&&!this.responseType||n)){const r=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(J){if(r){if("SyntaxError"===J.name)throw Wt.from(J,Wt.ERR_BAD_RESPONSE,this,null,this.response);throw J}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:he.classes.FormData,Blob:he.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Yt.forEach(["delete","get","head","post","put","patch"],t=>{me.headers[t]={}});const ye=Yt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const ge=Symbol("internals");function be(t){return t&&String(t).trim().toLowerCase()}function we(t){return!1===t||null==t?t:Yt.isArray(t)?t.map(we):String(t)}function ve(t,e,r,n,o){return Yt.isFunction(n)?n.call(this,e,r):(o&&(e=r),Yt.isString(e)?Yt.isString(n)?-1!==e.indexOf(n):Yt.isRegExp(n)?n.test(e):void 0:void 0)}let _e=class{constructor(t){t&&this.set(t)}set(t,e,r){const n=this;function o(t,e,r){const o=be(e);if(!o)throw new Error("header name must be a non-empty string");const s=Yt.findKey(n,o);(!s||void 0===n[s]||!0===r||void 0===r&&!1!==n[s])&&(n[s||e]=we(t))}const s=(t,e)=>Yt.forEach(t,(t,r)=>o(t,r,e));if(Yt.isPlainObject(t)||t instanceof this.constructor)s(t,e);else if(Yt.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))s((t=>{const e={};let r,n,o;return t&&t.split("\n").forEach(function(t){o=t.indexOf(":"),r=t.substring(0,o).trim().toLowerCase(),n=t.substring(o+1).trim(),!r||e[r]&&ye[r]||("set-cookie"===r?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)}),e})(t),e);else if(Yt.isObject(t)&&Yt.isIterable(t)){let r,n,o={};for(const e of t){if(!Yt.isArray(e))throw TypeError("Object iterator must return a key-value pair");o[n=e[0]]=(r=o[n])?Yt.isArray(r)?[...r,e[1]]:[r,e[1]]:e[1]}s(o,e)}else null!=t&&o(e,t,r);return this}get(t,e){if(t=be(t)){const r=Yt.findKey(this,t);if(r){const t=this[r];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}(t);if(Yt.isFunction(e))return e.call(this,t,r);if(Yt.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=be(t)){const r=Yt.findKey(this,t);return!(!r||void 0===this[r]||e&&!ve(0,this[r],r,e))}return!1}delete(t,e){const r=this;let n=!1;function o(t){if(t=be(t)){const o=Yt.findKey(r,t);!o||e&&!ve(0,r[o],o,e)||(delete r[o],n=!0)}}return Yt.isArray(t)?t.forEach(o):o(t),n}clear(t){const e=Object.keys(this);let r=e.length,n=!1;for(;r--;){const o=e[r];t&&!ve(0,this[o],o,t,!0)||(delete this[o],n=!0)}return n}normalize(t){const e=this,r={};return Yt.forEach(this,(n,o)=>{const s=Yt.findKey(r,o);if(s)return e[s]=we(n),void delete e[o];const i=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,e,r)=>e.toUpperCase()+r)}(o):String(o).trim();i!==o&&delete e[o],e[i]=we(n),r[i]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return Yt.forEach(this,(r,n)=>{null!=r&&!1!==r&&(e[n]=t&&Yt.isArray(r)?r.join(", "):r)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const r=new this(t);return e.forEach(t=>r.set(t)),r}static accessor(t){const e=(this[ge]=this[ge]={accessors:{}}).accessors,r=this.prototype;function n(t){const n=be(t);e[n]||(!function(t,e){const r=Yt.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(t,r,o){return this[n].call(this,e,t,r,o)},configurable:!0})})}(r,t),e[n]=!0)}return Yt.isArray(t)?t.forEach(n):n(t),this}};function Oe(t,e){const r=this||me,n=e||r,o=_e.from(n.headers);let s=n.data;return Yt.forEach(t,function(t){s=t.call(r,s,o.normalize(),e?e.status:void 0)}),o.normalize(),s}function Se(t){return!(!t||!t.__CANCEL__)}function $e(t,e,r){Wt.call(this,null==t?"canceled":t,Wt.ERR_CANCELED,e,r),this.name="CanceledError"}function Ee(t,e,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new Wt("Request failed with status code "+r.status,[Wt.ERR_BAD_REQUEST,Wt.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}_e.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Yt.reduceDescriptors(_e.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[r]=t}}}),Yt.freezeMethods(_e),Yt.inherits($e,Wt,{__CANCEL__:!0});const Re=(t,e,r=3)=>{let n=0;const o=function(t,e){t=t||10;const r=new Array(t),n=new Array(t);let o,s=0,i=0;return e=void 0!==e?e:1e3,function(a){const c=Date.now(),u=n[i];o||(o=c),r[s]=a,n[s]=c;let l=i,f=0;for(;l!==s;)f+=r[l++],l%=t;if(s=(s+1)%t,s===i&&(i=(i+1)%t),c-o<e)return;const d=u&&c-u;return d?Math.round(1e3*f/d):void 0}}(50,250);return function(t,e){let r,n,o=0,s=1e3/e;const i=(e,s=Date.now())=>{o=s,r=null,n&&(clearTimeout(n),n=null),t(...e)};return[(...t)=>{const e=Date.now(),a=e-o;a>=s?i(t,e):(r=t,n||(n=setTimeout(()=>{n=null,i(r)},s-a)))},()=>r&&i(r)]}(r=>{const s=r.loaded,i=r.lengthComputable?r.total:void 0,a=s-n,c=o(a);n=s;t({loaded:s,total:i,progress:i?s/i:void 0,bytes:a,rate:c||void 0,estimated:c&&i&&s<=i?(i-s)/c:void 0,event:r,lengthComputable:null!=i,[e?"download":"upload"]:!0})},r)},xe=(t,e)=>{const r=null!=t;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},Te=t=>(...e)=>Yt.asap(()=>t(...e));var Ae=he.hasStandardBrowserEnv?((t,e)=>r=>(r=new URL(r,he.origin),t.protocol===r.protocol&&t.host===r.host&&(e||t.port===r.port)))(new URL(he.origin),he.navigator&&/(msie|trident)/i.test(he.navigator.userAgent)):()=>!0,je=he.hasStandardBrowserEnv?{write(t,e,r,n,o,s){const i=[t+"="+encodeURIComponent(e)];Yt.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),Yt.isString(n)&&i.push("path="+n),Yt.isString(o)&&i.push("domain="+o),!0===s&&i.push("secure"),document.cookie=i.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Me(t,e,r){let n=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);return t&&(n||0==r)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const ke=t=>t instanceof _e?{...t}:t;function De(t,e){e=e||{};const r={};function n(t,e,r,n){return Yt.isPlainObject(t)&&Yt.isPlainObject(e)?Yt.merge.call({caseless:n},t,e):Yt.isPlainObject(e)?Yt.merge({},e):Yt.isArray(e)?e.slice():e}function o(t,e,r,o){return Yt.isUndefined(e)?Yt.isUndefined(t)?void 0:n(void 0,t,0,o):n(t,e,0,o)}function s(t,e){if(!Yt.isUndefined(e))return n(void 0,e)}function i(t,e){return Yt.isUndefined(e)?Yt.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function a(r,o,s){return s in e?n(r,o):s in t?n(void 0,r):void 0}const c={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(t,e,r)=>o(ke(t),ke(e),0,!0)};return Yt.forEach(Object.keys({...t,...e}),function(n){const s=c[n]||o,i=s(t[n],e[n],n);Yt.isUndefined(i)&&s!==a||(r[n]=i)}),r}var Ce=t=>{const e=De({},t);let r,{data:n,withXSRFToken:o,xsrfHeaderName:s,xsrfCookieName:i,headers:a,auth:c}=e;if(e.headers=a=_e.from(a),e.url=oe(Me(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),c&&a.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),Yt.isFormData(n))if(he.hasStandardBrowserEnv||he.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(r=a.getContentType())){const[t,...e]=r?r.split(";").map(t=>t.trim()).filter(Boolean):[];a.setContentType([t||"multipart/form-data",...e].join("; "))}if(he.hasStandardBrowserEnv&&(o&&Yt.isFunction(o)&&(o=o(e)),o||!1!==o&&Ae(e.url))){const t=s&&i&&je.read(i);t&&a.set(s,t)}return e};var Ne="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise(function(e,r){const n=Ce(t);let o=n.data;const s=_e.from(n.headers).normalize();let i,a,c,u,l,{responseType:f,onUploadProgress:d,onDownloadProgress:h}=n;function p(){u&&u(),l&&l(),n.cancelToken&&n.cancelToken.unsubscribe(i),n.signal&&n.signal.removeEventListener("abort",i)}let m=new XMLHttpRequest;function y(){if(!m)return;const n=_e.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Ee(function(t){e(t),p()},function(t){r(t),p()},{data:f&&"text"!==f&&"json"!==f?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:n,config:t,request:m}),m=null}m.open(n.method.toUpperCase(),n.url,!0),m.timeout=n.timeout,"onloadend"in m?m.onloadend=y:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(y)},m.onabort=function(){m&&(r(new Wt("Request aborted",Wt.ECONNABORTED,t,m)),m=null)},m.onerror=function(){r(new Wt("Network Error",Wt.ERR_NETWORK,t,m)),m=null},m.ontimeout=function(){let e=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const o=n.transitional||ie;n.timeoutErrorMessage&&(e=n.timeoutErrorMessage),r(new Wt(e,o.clarifyTimeoutError?Wt.ETIMEDOUT:Wt.ECONNABORTED,t,m)),m=null},void 0===o&&s.setContentType(null),"setRequestHeader"in m&&Yt.forEach(s.toJSON(),function(t,e){m.setRequestHeader(e,t)}),Yt.isUndefined(n.withCredentials)||(m.withCredentials=!!n.withCredentials),f&&"json"!==f&&(m.responseType=n.responseType),h&&([c,l]=Re(h,!0),m.addEventListener("progress",c)),d&&m.upload&&([a,u]=Re(d),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",u)),(n.cancelToken||n.signal)&&(i=e=>{m&&(r(!e||e.type?new $e(null,t,m):e),m.abort(),m=null)},n.cancelToken&&n.cancelToken.subscribe(i),n.signal&&(n.signal.aborted?i():n.signal.addEventListener("abort",i)));const g=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(n.url);g&&-1===he.protocols.indexOf(g)?r(new Wt("Unsupported protocol "+g+":",Wt.ERR_BAD_REQUEST,t)):m.send(o||null)})};const Fe=(t,e)=>{const{length:r}=t=t?t.filter(Boolean):[];if(e||r){let r,n=new AbortController;const o=function(t){if(!r){r=!0,i();const e=t instanceof Error?t:this.reason;n.abort(e instanceof Wt?e:new $e(e instanceof Error?e.message:e))}};let s=e&&setTimeout(()=>{s=null,o(new Wt(`timeout ${e} of ms exceeded`,Wt.ETIMEDOUT))},e);const i=()=>{t&&(s&&clearTimeout(s),s=null,t.forEach(t=>{t.unsubscribe?t.unsubscribe(o):t.removeEventListener("abort",o)}),t=null)};t.forEach(t=>t.addEventListener("abort",o));const{signal:a}=n;return a.unsubscribe=()=>Yt.asap(i),a}},Ue=function*(t,e){let r=t.byteLength;if(r<e)return void(yield t);let n,o=0;for(;o<r;)n=o+e,yield t.slice(o,n),o=n},ze=async function*(t){if(t[Symbol.asyncIterator])return void(yield*t);const e=t.getReader();try{for(;;){const{done:t,value:r}=await e.read();if(t)break;yield r}}finally{await e.cancel()}},Pe=(t,e,r,n)=>{const o=async function*(t,e){for await(const r of ze(t))yield*Ue(r,e)}(t,e);let s,i=0,a=t=>{s||(s=!0,n&&n(t))};return new ReadableStream({async pull(t){try{const{done:e,value:n}=await o.next();if(e)return a(),void t.close();let s=n.byteLength;if(r){let t=i+=s;r(t)}t.enqueue(new Uint8Array(n))}catch(e){throw a(e),e}},cancel:t=>(a(t),o.return())},{highWaterMark:2})},Le="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Be=Le&&"function"==typeof ReadableStream,qe=Le&&("function"==typeof TextEncoder?(Ie=new TextEncoder,t=>Ie.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var Ie;const He=(t,...e)=>{try{return!!t(...e)}catch(J){return!1}},Ye=Be&&He(()=>{let t=!1;const e=new Request(he.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),We=Be&&He(()=>Yt.isReadableStream(new Response("").body)),Je={stream:We&&(t=>t.body)};var Ve;Le&&(Ve=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Je[t]&&(Je[t]=Yt.isFunction(Ve[t])?e=>e[t]():(e,r)=>{throw new Wt(`Response type '${t}' is not supported`,Wt.ERR_NOT_SUPPORT,r)})}));const Ke=async(t,e)=>{const r=Yt.toFiniteNumber(t.getContentLength());return null==r?(async t=>{if(null==t)return 0;if(Yt.isBlob(t))return t.size;if(Yt.isSpecCompliantForm(t)){const e=new Request(he.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return Yt.isArrayBufferView(t)||Yt.isArrayBuffer(t)?t.byteLength:(Yt.isURLSearchParams(t)&&(t+=""),Yt.isString(t)?(await qe(t)).byteLength:void 0)})(e):r};const Ze={http:null,xhr:Ne,fetch:Le&&(async t=>{let{url:e,method:r,data:n,signal:o,cancelToken:s,timeout:i,onDownloadProgress:a,onUploadProgress:c,responseType:u,headers:l,withCredentials:f="same-origin",fetchOptions:d}=Ce(t);u=u?(u+"").toLowerCase():"text";let h,p=Fe([o,s&&s.toAbortSignal()],i);const m=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let y;try{if(c&&Ye&&"get"!==r&&"head"!==r&&0!==(y=await Ke(l,n))){let t,r=new Request(e,{method:"POST",body:n,duplex:"half"});if(Yt.isFormData(n)&&(t=r.headers.get("content-type"))&&l.setContentType(t),r.body){const[t,e]=xe(y,Re(Te(c)));n=Pe(r.body,65536,t,e)}}Yt.isString(f)||(f=f?"include":"omit");const o="credentials"in Request.prototype;h=new Request(e,{...d,signal:p,method:r.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",credentials:o?f:void 0});let s=await fetch(h,d);const i=We&&("stream"===u||"response"===u);if(We&&(a||i&&m)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=s[e]});const e=Yt.toFiniteNumber(s.headers.get("content-length")),[r,n]=a&&xe(e,Re(Te(a),!0))||[];s=new Response(Pe(s.body,65536,r,()=>{n&&n(),m&&m()}),t)}u=u||"text";let g=await Je[Yt.findKey(Je,u)||"text"](s,t);return!i&&m&&m(),await new Promise((e,r)=>{Ee(e,r,{data:g,headers:_e.from(s.headers),status:s.status,statusText:s.statusText,config:t,request:h})})}catch(g){if(m&&m(),g&&"TypeError"===g.name&&/Load failed|fetch/i.test(g.message))throw Object.assign(new Wt("Network Error",Wt.ERR_NETWORK,t,h),{cause:g.cause||g});throw Wt.from(g,g&&g.code,t,h)}})};Yt.forEach(Ze,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(J){}Object.defineProperty(t,"adapterName",{value:e})}});const Ge=t=>`- ${t}`,Xe=t=>Yt.isFunction(t)||null===t||!1===t;var Qe=t=>{t=Yt.isArray(t)?t:[t];const{length:e}=t;let r,n;const o={};for(let s=0;s<e;s++){let e;if(r=t[s],n=r,!Xe(r)&&(n=Ze[(e=String(r)).toLowerCase()],void 0===n))throw new Wt(`Unknown adapter '${e}'`);if(n)break;o[e||"#"+s]=n}if(!n){const t=Object.entries(o).map(([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build"));throw new Wt("There is no suitable adapter to dispatch the request "+(e?t.length>1?"since :\n"+t.map(Ge).join("\n"):" "+Ge(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function tr(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new $e(null,t)}function er(t){tr(t),t.headers=_e.from(t.headers),t.data=Oe.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return Qe(t.adapter||me.adapter)(t).then(function(e){return tr(t),e.data=Oe.call(t,t.transformResponse,e),e.headers=_e.from(e.headers),e},function(e){return Se(e)||(tr(t),e&&e.response&&(e.response.data=Oe.call(t,t.transformResponse,e.response),e.response.headers=_e.from(e.response.headers))),Promise.reject(e)})}const rr="1.11.0",nr={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{nr[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const or={};nr.transitional=function(t,e,r){function n(t,e){return"[Axios v"+rr+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,o,s)=>{if(!1===t)throw new Wt(n(o," has been removed"+(e?" in "+e:"")),Wt.ERR_DEPRECATED);return e&&!or[o]&&(or[o]=!0,console.warn(n(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,o,s)}},nr.spelling=function(t){return(e,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};var sr={assertOptions:function(t,e,r){if("object"!=typeof t)throw new Wt("options must be an object",Wt.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let o=n.length;for(;o-- >0;){const s=n[o],i=e[s];if(i){const e=t[s],r=void 0===e||i(e,s,t);if(!0!==r)throw new Wt("option "+s+" must be "+r,Wt.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new Wt("Unknown option "+s,Wt.ERR_BAD_OPTION)}},validators:nr};const ir=sr.validators;let ar=class{constructor(t){this.defaults=t||{},this.interceptors={request:new se,response:new se}}async request(t,e){try{return await this._request(t,e)}catch(r){if(r instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const e=t.stack?t.stack.replace(/^.+\n/,""):"";try{r.stack?e&&!String(r.stack).endsWith(e.replace(/^.+\n.+\n/,""))&&(r.stack+="\n"+e):r.stack=e}catch(J){}}throw r}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=De(this.defaults,e);const{transitional:r,paramsSerializer:n,headers:o}=e;void 0!==r&&sr.assertOptions(r,{silentJSONParsing:ir.transitional(ir.boolean),forcedJSONParsing:ir.transitional(ir.boolean),clarifyTimeoutError:ir.transitional(ir.boolean)},!1),null!=n&&(Yt.isFunction(n)?e.paramsSerializer={serialize:n}:sr.assertOptions(n,{encode:ir.function,serialize:ir.function},!0)),void 0!==e.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?e.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:e.allowAbsoluteUrls=!0),sr.assertOptions(e,{baseUrl:ir.spelling("baseURL"),withXsrfToken:ir.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let s=o&&Yt.merge(o.common,o[e.method]);o&&Yt.forEach(["delete","get","head","post","put","patch","common"],t=>{delete o[t]}),e.headers=_e.concat(s,o);const i=[];let a=!0;this.interceptors.request.forEach(function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,i.unshift(t.fulfilled,t.rejected))});const c=[];let u;this.interceptors.response.forEach(function(t){c.push(t.fulfilled,t.rejected)});let l,f=0;if(!a){const t=[er.bind(this),void 0];for(t.unshift(...i),t.push(...c),l=t.length,u=Promise.resolve(e);f<l;)u=u.then(t[f++],t[f++]);return u}l=i.length;let d=e;for(f=0;f<l;){const t=i[f++],e=i[f++];try{d=t(d)}catch(h){e.call(this,h);break}}try{u=er.call(this,d)}catch(h){return Promise.reject(h)}for(f=0,l=c.length;f<l;)u=u.then(c[f++],c[f++]);return u}getUri(t){return oe(Me((t=De(this.defaults,t)).baseURL,t.url,t.allowAbsoluteUrls),t.params,t.paramsSerializer)}};Yt.forEach(["delete","get","head","options"],function(t){ar.prototype[t]=function(e,r){return this.request(De(r||{},{method:t,url:e,data:(r||{}).data}))}}),Yt.forEach(["post","put","patch"],function(t){function e(e){return function(r,n,o){return this.request(De(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}ar.prototype[t]=e(),ar.prototype[t+"Form"]=e(!0)});const cr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(cr).forEach(([t,e])=>{cr[e]=t});const ur=function t(e){const r=new ar(e),n=et(ar.prototype.request,r);return Yt.extend(n,ar.prototype,r,{allOwnKeys:!0}),Yt.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return t(De(e,r))},n}(me);ur.Axios=ar,ur.CanceledError=$e,ur.CancelToken=class t{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise(function(t){e=t});const r=this;this.promise.then(t=>{if(!r._listeners)return;let e=r._listeners.length;for(;e-- >0;)r._listeners[e](t);r._listeners=null}),this.promise.then=t=>{let e;const n=new Promise(t=>{r.subscribe(t),e=t}).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t(function(t,n,o){r.reason||(r.reason=new $e(t,n,o),e(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let e;return{token:new t(function(t){e=t}),cancel:e}}},ur.isCancel=Se,ur.VERSION=rr,ur.toFormData=Qt,ur.AxiosError=Wt,ur.Cancel=ur.CanceledError,ur.all=function(t){return Promise.all(t)},ur.spread=function(t){return function(e){return t.apply(null,e)}},ur.isAxiosError=function(t){return Yt.isObject(t)&&!0===t.isAxiosError},ur.mergeConfig=De,ur.AxiosHeaders=_e,ur.formToJSON=t=>pe(Yt.isHTMLForm(t)?new FormData(t):t),ur.getAdapter=Qe,ur.HttpStatusCode=cr,ur.default=ur;const{Axios:lr,AxiosError:fr,CanceledError:dr,isCancel:hr,CancelToken:pr,VERSION:mr,all:yr,Cancel:gr,isAxiosError:br,spread:wr,toFormData:vr,AxiosHeaders:_r,HttpStatusCode:Or,formToJSON:Sr,getAdapter:$r,mergeConfig:Er}=ur,Rr=("undefined"!=typeof window?window.location:self.location).origin,xr=ur.create({baseURL:"/api/2.0/"});class Tr{data;dataFields;displayField;lastUpdated;markerParams;monitorFields;constructor(t){const e=D(t);t.latest&&parseInt(t.latest.value,10)<0&&(t.latest.value="0"),this.data=t,this.markerParams=function(t){const e="pm25"===t.latest.entry_type?k.levels:j,r=`#${_}`,n={border_color:v(b(r,.1)),border_size:1,fill_color:r,value_color:r,size:8,shape:"square"};switch(t.data_source.name){case"AirNow.gov":case"AQview":case"Central California Asthma Collaborative":n.shape="triangle";break;case"PurpleAir":case"AirGradient":t.is_sjvair&&(n.shape="circle");break;default:console.error(`Unknown device type for monitor ${t.id}: ${t.data_source.name}`,t),n.shape="diamond"}if(t.latest){const r=M(+t.latest.value,e);if(n.value_color=r,t.is_active)switch(n.fill_color=M(+t.latest.value,e),n.border_color="pm25"===t.latest.entry_type?v(b(n.fill_color,.1)):`#${S}`,t.data_source.name){case"AirNow.gov":case"AQview":case"Central California Asthma Collaborative":n.size=14;break;case"AirGradient":case"PurpleAir":t.is_sjvair?n.size=12:n.size=10}"inside"===t.location&&(n.border_color=`#${O}`,n.border_size=2)}return n}(t),this.monitorFields=e,this.dataFields=Object.keys(this.monitorFields),this.displayField=e.pm25,this.lastUpdated=t.latest&&Object.keys(t.latest).length>1?tt(t.latest.timestamp).fromNow():"never"}}e=Rr;var Ar=Object.freeze({__proto__:null,fetchMonitors:async function(t){return async function(t){try{return(await n(t)).body.data}catch(e){throw new Error("Failed to fetch monitors latest page",{cause:e})}}(t).then(t=>{const e={};if(t&&Object.keys(t).length)for(let r of t)e[r.id]=new Tr(r);return e})},fetchSubscriptions:async function(){return xr.get("alerts/subscriptions").then(t=>t.data.data)},fetchTempByCoords:async function(t){const e=`https://api.weather.gov/points/${t.join(",")}`;return await xr(e).then(async t=>{try{return(await xr(t.data.properties.forecastHourly)).data.properties.periods[0].temperature}catch(e){throw e}})}});new class{serviceModule;serviceModuleName;constructor(e,r){this.serviceModule=r,this.serviceModuleName=e,self.addEventListener("message",async e=>{const{id:r,taskName:n,parameters:o}=e.data;this.serviceModule[n];const s=new t(r);n in this.serviceModule?await this.serviceModule[n](...o).then(t=>s.pass(t)).catch(t=>s.fail(t.message)):s.fail(`Background task "${String(n)}" not found in "${this.serviceModuleName}" controller`),self.postMessage(s)})}}("MonitorsService",Ar);
|
package/dist/sjvairMonitorMap.js
CHANGED
|
@@ -27,7 +27,7 @@ let et,nt;class it{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,
|
|
|
27
27
|
* vue-router v4.5.1
|
|
28
28
|
* (c) 2025 Eduardo San Martin Morote
|
|
29
29
|
* @license MIT
|
|
30
|
-
*/(t);if(!i)return;const o=e._component;m(o)||o.render||o.template||(o.template=i.innerHTML),1===i.nodeType&&(i.textContent="");const s=n(i,!1,function(t){if(t instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&t instanceof MathMLElement)return"mathml"}(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},e};const zr="undefined"!=typeof document;function Ir(t){return"object"==typeof t||"displayName"in t||"props"in t||"__vccOpts"in t}const Rr=Object.assign;function Br(t,e){const n={};for(const i in e){const o=e[i];n[i]=Zr(o)?o.map(t):t(o)}return n}const jr=()=>{},Zr=Array.isArray,Nr=/#/g,Dr=/&/g,Fr=/\//g,Ur=/=/g,Hr=/\?/g,$r=/\+/g,Vr=/%5B/g,Gr=/%5D/g,qr=/%5E/g,Wr=/%60/g,Yr=/%7B/g,Kr=/%7C/g,Jr=/%7D/g,Xr=/%20/g;function Qr(t){return encodeURI(""+t).replace(Kr,"|").replace(Vr,"[").replace(Gr,"]")}function ta(t){return Qr(t).replace($r,"%2B").replace(Xr,"+").replace(Nr,"%23").replace(Dr,"%26").replace(Wr,"`").replace(Yr,"{").replace(Jr,"}").replace(qr,"^")}function ea(t){return ta(t).replace(Ur,"%3D")}function na(t){return null==t?"":function(t){return Qr(t).replace(Nr,"%23").replace(Hr,"%3F")}(t).replace(Fr,"%2F")}function ia(t){try{return decodeURIComponent(""+t)}catch(e){}return""+t}const oa=/\/$/;function sa(t,e,n="/"){let i,o={},s="",r="";const a=e.indexOf("#");let l=e.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(i=e.slice(0,l),s=e.slice(l+1,a>-1?a:e.length),o=t(s)),a>-1&&(i=i||e.slice(0,a),r=e.slice(a,e.length)),i=function(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),i=t.split("/"),o=i[i.length-1];".."!==o&&"."!==o||i.push("");let s,r,a=n.length-1;for(s=0;s<i.length;s++)if(r=i[s],"."!==r){if(".."!==r)break;a>1&&a--}return n.slice(0,a).join("/")+"/"+i.slice(s).join("/")}(null!=i?i:e,n),{fullPath:i+(s&&"?")+s+r,path:i,query:o,hash:ia(r)}}function ra(t,e){return e&&t.toLowerCase().startsWith(e.toLowerCase())?t.slice(e.length)||"/":t}function aa(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function la(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!ca(t[n],e[n]))return!1;return!0}function ca(t,e){return Zr(t)?ua(t,e):Zr(e)?ua(e,t):t===e}function ua(t,e){return Zr(e)?t.length===e.length&&t.every((t,n)=>t===e[n]):1===t.length&&t[0]===e}const ha={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var da,pa,fa,ma;function _a(t){if(!t)if(zr){const e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),t.replace(oa,"")}(pa=da||(da={})).pop="pop",pa.push="push",(ma=fa||(fa={})).back="back",ma.forward="forward",ma.unknown="";const ga=/^[^#]+#/;function va(t,e){return t.replace(ga,"#")+e}const ya=()=>({left:window.scrollX,top:window.scrollY});function ba(t){let e;if("el"in t){const n=t.el,i="string"==typeof n&&n.startsWith("#"),o="string"==typeof n?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;e=function(t,e){const n=document.documentElement.getBoundingClientRect(),i=t.getBoundingClientRect();return{behavior:e.behavior,left:i.left-n.left-(e.left||0),top:i.top-n.top-(e.top||0)}}(o,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.scrollX,null!=e.top?e.top:window.scrollY)}function wa(t,e){return(history.state?history.state.position-e:-1)+t}const xa=new Map;function La(t,e){const{pathname:n,search:i,hash:o}=e,s=t.indexOf("#");if(s>-1){let e=o.includes(t.slice(s))?t.slice(s).length:1,n=o.slice(e);return"/"!==n[0]&&(n="/"+n),ra(n,"")}return ra(n,t)+i+o}function Ca(t,e,n,i=!1,o=!1){return{back:t,current:e,forward:n,replaced:i,position:window.history.length,scroll:o?ya():null}}function Pa(t){const{history:e,location:n}=window,i={value:La(t,n)},o={value:e.state};function s(i,s,r){const a=t.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?t:t.slice(a))+i:location.protocol+"//"+location.host+t+i;try{e[r?"replaceState":"pushState"](s,"",l),o.value=s}catch(c){console.error(c),n[r?"replace":"assign"](l)}}return o.value||s(i.value,{back:null,current:i.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0),{location:i,state:o,push:function(t,n){const r=Rr({},o.value,e.state,{forward:t,scroll:ya()});s(r.current,r,!0),s(t,Rr({},Ca(i.value,t,null),{position:r.position+1},n),!1),i.value=t},replace:function(t,n){s(t,Rr({},e.state,Ca(o.value.back,t,o.value.forward,!0),n,{position:o.value.position}),!0),i.value=t}}}function Sa(t){return"string"==typeof t||"symbol"==typeof t}const Ta=Symbol("");var Ma,ka;function Aa(t,e){return Rr(new Error,{type:t,[Ta]:!0},e)}function Ea(t,e){return t instanceof Error&&Ta in t&&(null==e||!!(t.type&e))}(ka=Ma||(Ma={}))[ka.aborted=4]="aborted",ka[ka.cancelled=8]="cancelled",ka[ka.duplicated=16]="duplicated";const Oa="[^/]+?",za={sensitive:!1,strict:!1,start:!0,end:!0},Ia=/[.+*?^${}()[\]/\\]/g;function Ra(t,e){let n=0;for(;n<t.length&&n<e.length;){const i=e[n]-t[n];if(i)return i;n++}return t.length<e.length?1===t.length&&80===t[0]?-1:1:t.length>e.length?1===e.length&&80===e[0]?1:-1:0}function Ba(t,e){let n=0;const i=t.score,o=e.score;for(;n<i.length&&n<o.length;){const t=Ra(i[n],o[n]);if(t)return t;n++}if(1===Math.abs(o.length-i.length)){if(ja(i))return 1;if(ja(o))return-1}return o.length-i.length}function ja(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const Za={type:0,value:""},Na=/[a-zA-Z0-9_]/;function Da(t,e,n){const i=function(t,e){const n=Rr({},za,e),i=[];let o=n.start?"^":"";const s=[];for(const l of t){const t=l.length?[]:[90];n.strict&&!l.length&&(o+="/");for(let e=0;e<l.length;e++){const i=l[e];let r=40+(n.sensitive?.25:0);if(0===i.type)e||(o+="/"),o+=i.value.replace(Ia,"\\$&"),r+=40;else if(1===i.type){const{value:t,repeatable:n,optional:c,regexp:u}=i;s.push({name:t,repeatable:n,optional:c});const h=u||Oa;if(h!==Oa){r+=10;try{new RegExp(`(${h})`)}catch(a){throw new Error(`Invalid custom RegExp for param "${t}" (${h}): `+a.message)}}let d=n?`((?:${h})(?:/(?:${h}))*)`:`(${h})`;e||(d=c&&l.length<2?`(?:/${d})`:"/"+d),c&&(d+="?"),o+=d,r+=20,c&&(r+=-8),n&&(r+=-20),".*"===h&&(r+=-50)}t.push(r)}i.push(t)}if(n.strict&&n.end){const t=i.length-1;i[t][i[t].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const r=new RegExp(o,n.sensitive?"":"i");return{re:r,score:i,keys:s,parse:function(t){const e=t.match(r),n={};if(!e)return null;for(let i=1;i<e.length;i++){const t=e[i]||"",o=s[i-1];n[o.name]=t&&o.repeatable?t.split("/"):t}return n},stringify:function(e){let n="",i=!1;for(const o of t){i&&n.endsWith("/")||(n+="/"),i=!1;for(const t of o)if(0===t.type)n+=t.value;else if(1===t.type){const{value:s,repeatable:r,optional:a}=t,l=s in e?e[s]:"";if(Zr(l)&&!r)throw new Error(`Provided param "${s}" is an array but it is not repeatable (* or + modifiers)`);const c=Zr(l)?l.join("/"):l;if(!c){if(!a)throw new Error(`Missing required param "${s}"`);o.length<2&&(n.endsWith("/")?n=n.slice(0,-1):i=!0)}n+=c}}return n||"/"}}}(function(t){if(!t)return[[]];if("/"===t)return[[Za]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(t){throw new Error(`ERR (${n})/"${c}": ${t}`)}let n=0,i=n;const o=[];let s;function r(){s&&o.push(s),s=[]}let a,l=0,c="",u="";function h(){c&&(0===n?s.push({type:0,value:c}):1===n||2===n||3===n?(s.length>1&&("*"===a||"+"===a)&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):e("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l<t.length;)if(a=t[l++],"\\"!==a||2===n)switch(n){case 0:"/"===a?(c&&h(),r()):":"===a?(h(),n=1):d();break;case 4:d(),n=i;break;case 1:"("===a?n=2:Na.test(a)?d():(h(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--);break;case 2:")"===a?"\\"==u[u.length-1]?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:h(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--,u="";break;default:e("Unknown state")}else i=n,n=4;return 2===n&&e(`Unfinished custom RegExp for param "${c}"`),h(),r(),o}(t.path),n),o=Rr(i,{record:t,parent:e,children:[],alias:[]});return e&&!o.record.aliasOf==!e.record.aliasOf&&e.children.push(o),o}function Fa(t,e){const n=[],i=new Map;function o(t,n,i){const a=!i,l=Ha(t);l.aliasOf=i&&i.record;const c=qa(e,t),u=[l];if("alias"in t){const e="string"==typeof t.alias?[t.alias]:t.alias;for(const t of e)u.push(Ha(Rr({},l,{components:i?i.record.components:l.components,path:t,aliasOf:i?i.record:l})))}let h,d;for(const e of u){const{path:u}=e;if(n&&"/"!==u[0]){const t=n.record.path,i="/"===t[t.length-1]?"":"/";e.path=n.record.path+(u&&i+u)}if(h=Da(e,n,c),i?i.alias.push(h):(d=d||h,d!==h&&d.alias.push(h),a&&t.name&&!Va(h)&&s(t.name)),Wa(h)&&r(h),l.children){const t=l.children;for(let e=0;e<t.length;e++)o(t[e],h,i&&i.children[e])}i=i||h}return d?()=>{s(d)}:jr}function s(t){if(Sa(t)){const e=i.get(t);e&&(i.delete(t),n.splice(n.indexOf(e),1),e.children.forEach(s),e.alias.forEach(s))}else{const e=n.indexOf(t);e>-1&&(n.splice(e,1),t.record.name&&i.delete(t.record.name),t.children.forEach(s),t.alias.forEach(s))}}function r(t){const e=function(t,e){let n=0,i=e.length;for(;n!==i;){const o=n+i>>1;Ba(t,e[o])<0?i=o:n=o+1}const o=function(t){let e=t;for(;e=e.parent;)if(Wa(e)&&0===Ba(t,e))return e;return}(t);o&&(i=e.lastIndexOf(o,i-1));return i}(t,n);n.splice(e,0,t),t.record.name&&!Va(t)&&i.set(t.record.name,t)}return e=qa({strict:!1,end:!0,sensitive:!1},e),t.forEach(t=>o(t)),{addRoute:o,resolve:function(t,e){let o,s,r,a={};if("name"in t&&t.name){if(o=i.get(t.name),!o)throw Aa(1,{location:t});r=o.record.name,a=Rr(Ua(e.params,o.keys.filter(t=>!t.optional).concat(o.parent?o.parent.keys.filter(t=>t.optional):[]).map(t=>t.name)),t.params&&Ua(t.params,o.keys.map(t=>t.name))),s=o.stringify(a)}else if(null!=t.path)s=t.path,o=n.find(t=>t.re.test(s)),o&&(a=o.parse(s),r=o.record.name);else{if(o=e.name?i.get(e.name):n.find(t=>t.re.test(e.path)),!o)throw Aa(1,{location:t,currentLocation:e});r=o.record.name,a=Rr({},e.params,t.params),s=o.stringify(a)}const l=[];let c=o;for(;c;)l.unshift(c.record),c=c.parent;return{name:r,path:s,params:a,matched:l,meta:Ga(l)}},removeRoute:s,clearRoutes:function(){n.length=0,i.clear()},getRoutes:function(){return n},getRecordMatcher:function(t){return i.get(t)}}}function Ua(t,e){const n={};for(const i of e)i in t&&(n[i]=t[i]);return n}function Ha(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:$a(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function $a(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const i in t.components)e[i]="object"==typeof n?n[i]:n;return e}function Va(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Ga(t){return t.reduce((t,e)=>Rr(t,e.meta),{})}function qa(t,e){const n={};for(const i in t)n[i]=i in e?e[i]:t[i];return n}function Wa({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function Ya(t){const e={};if(""===t||"?"===t)return e;const n=("?"===t[0]?t.slice(1):t).split("&");for(let i=0;i<n.length;++i){const t=n[i].replace($r," "),o=t.indexOf("="),s=ia(o<0?t:t.slice(0,o)),r=o<0?null:ia(t.slice(o+1));if(s in e){let t=e[s];Zr(t)||(t=e[s]=[t]),t.push(r)}else e[s]=r}return e}function Ka(t){let e="";for(let n in t){const i=t[n];if(n=ea(n),null==i){void 0!==i&&(e+=(e.length?"&":"")+n);continue}(Zr(i)?i.map(t=>t&&ta(t)):[i&&ta(i)]).forEach(t=>{void 0!==t&&(e+=(e.length?"&":"")+n,null!=t&&(e+="="+t))})}return e}function Ja(t){const e={};for(const n in t){const i=t[n];void 0!==i&&(e[n]=Zr(i)?i.map(t=>null==t?null:""+t):null==i?i:""+i)}return e}const Xa=Symbol(""),Qa=Symbol(""),tl=Symbol(""),el=Symbol(""),nl=Symbol("");function il(){let t=[];return{add:function(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}},list:()=>t.slice(),reset:function(){t=[]}}}function ol(t,e,n,i,o,s=t=>t()){const r=i&&(i.enterCallbacks[o]=i.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const c=t=>{var s;!1===t?l(Aa(4,{from:n,to:e})):t instanceof Error?l(t):"string"==typeof(s=t)||s&&"object"==typeof s?l(Aa(2,{from:e,to:t})):(r&&i.enterCallbacks[o]===r&&"function"==typeof t&&r.push(t),a())},u=s(()=>t.call(i&&i.instances[o],e,n,c));let h=Promise.resolve(u);t.length<3&&(h=h.then(c)),h.catch(t=>l(t))})}function sl(t,e,n,i,o=t=>t()){const s=[];for(const r of t)for(const t in r.components){let a=r.components[t];if("beforeRouteEnter"===e||r.instances[t])if(Ir(a)){const l=(a.__vccOpts||a)[e];l&&s.push(ol(l,n,i,r,t,o))}else{let l=a();s.push(()=>l.then(s=>{if(!s)throw new Error(`Couldn't resolve component "${t}" at "${r.path}"`);const a=(l=s).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&Ir(l.default)?s.default:s;var l;r.mods[t]=s,r.components[t]=a;const c=(a.__vccOpts||a)[e];return c&&ol(c,n,i,r,t,o)()}))}}return s}function rl(t){const e=Zi(tl),n=Zi(el),i=ys(()=>{const n=Te(t.to);return e.resolve(n)}),o=ys(()=>{const{matched:t}=i.value,{length:e}=t,o=t[e-1],s=n.matched;if(!o||!s.length)return-1;const r=s.findIndex(aa.bind(null,o));if(r>-1)return r;const a=ll(t[e-2]);return e>1&&ll(o)===a&&s[s.length-1].path!==a?s.findIndex(aa.bind(null,t[e-2])):r}),s=ys(()=>o.value>-1&&function(t,e){for(const n in e){const i=e[n],o=t[n];if("string"==typeof i){if(i!==o)return!1}else if(!Zr(o)||o.length!==i.length||i.some((t,e)=>t!==o[e]))return!1}return!0}(n.params,i.value.params)),r=ys(()=>o.value>-1&&o.value===n.matched.length-1&&la(n.params,i.value.params));return{route:i,href:ys(()=>i.value.href),isActive:s,isExactActive:r,navigate:function(n={}){if(function(t){if(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)return;if(t.defaultPrevented)return;if(void 0!==t.button&&0!==t.button)return;if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}t.preventDefault&&t.preventDefault();return!0}(n)){const n=e[Te(t.replace)?"replace":"push"](Te(t.to)).catch(jr);return t.viewTransition&&"undefined"!=typeof document&&"startViewTransition"in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}}}const al=Zn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:rl,setup(t,{slots:e}){const n=de(rl(t)),{options:i}=Zi(tl),o=ys(()=>({[cl(t.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[cl(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=e.default&&(1===(s=e.default(n)).length?s[0]:s);var s;return t.custom?i:bs("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}});function ll(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const cl=(t,e,n)=>null!=t?t:null!=e?e:n;function ul(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}const hl=Zn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const i=Zi(nl),o=ys(()=>t.route||i.value),s=Zi(Qa,0),r=ys(()=>{let t=Te(s);const{matched:e}=o.value;let n;for(;(n=e[t])&&!n.components;)t++;return t}),a=ys(()=>o.value.matched[r.value]);ji(Qa,ys(()=>r.value+1)),ji(Xa,a),ji(nl,o);const l=Ce();return lo(()=>[l.value,a.value,t.name],([t,e,n],[i,o,s])=>{e&&(e.instances[n]=t,o&&o!==e&&t&&t===i&&(e.leaveGuards.size||(e.leaveGuards=o.leaveGuards),e.updateGuards.size||(e.updateGuards=o.updateGuards))),!t||!e||o&&aa(e,o)&&i||(e.enterCallbacks[n]||[]).forEach(e=>e(t))},{flush:"post"}),()=>{const i=o.value,s=t.name,r=a.value,c=r&&r.components[s];if(!c)return ul(n.default,{Component:c,route:i});const u=r.props[s],h=u?!0===u?i.params:"function"==typeof u?u(i):u:null,d=bs(c,Rr({},h,e,{onVnodeUnmounted:t=>{t.component.isUnmounted&&(r.instances[s]=null)},ref:l}));return ul(n.default,{Component:d,route:i})||d}}});function dl(){return Zi(tl)}const pl={class:"sjvair-monitor-map"},fl=(t,e)=>{const n=t.__vccOpts||t;for(const[i,o]of e)n[i]=o;return n},ml=fl(Zn({__name:"App",setup:t=>(t,e)=>(Ro(),Do("div",pl,[qo(Te(hl),null,{default:un(({Component:t})=>[t?(Ro(),Fo(Co,{key:0},{fallback:un(()=>e[0]||(e[0]=[Go("div",null,null,-1)])),default:un(()=>[(Ro(),Fo(ri(t)))]),_:2},1024)):Jo("",!0)]),_:1})]))}),[["__scopeId","data-v-362f6941"]]),_l={},gl=function(t,e,n){let i=Promise.resolve();if(e&&e.length>0){document.getElementsByTagName("link");const t=document.querySelector("meta[property=csp-nonce]"),n=t?.nonce||t?.getAttribute("nonce");o=e.map(t=>{if((t=function(t){return"/static/monitor-map/"+t}(t))in _l)return;_l[t]=!0;const e=t.endsWith(".css"),i=e?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${i}`))return;const o=document.createElement("link");return o.rel=e?"stylesheet":"modulepreload",e||(o.as="script"),o.crossOrigin="",o.href=t,n&&o.setAttribute("nonce",n),document.head.appendChild(o),e?new Promise((e,n)=>{o.addEventListener("load",e),o.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${t}`)))}):void 0}),i=Promise.all(o.map(t=>Promise.resolve(t).then(t=>({status:"fulfilled",value:t}),t=>({status:"rejected",reason:t}))))}var o;function s(t){const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=t,window.dispatchEvent(e),!e.defaultPrevented)throw t}return i.then(e=>{for(const t of e||[])"rejected"===t.status&&s(t.reason);return t().catch(s)})};const vl={mounted(t,e){t.clickOutsideEvent=function(n){t===n.target||t.contains(n.target)||e.value(n)},document.body.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.body.removeEventListener("click",t.clickOutsideEvent)}};class yl{containerClass;icon;svg;label;constructor(t){if(t.icon&&t.svg)throw new Error(`Error constructing "${t.label}" display option: Cannot accept both "icon" and "svg".`);this.containerClass=t.containerClass||"",this.icon=t.icon,this.svg=t.svg,this.label=t.label}}class bl extends yl{static defineOptions(t){return Object.entries(t).reduce((t,e)=>(t[e[0]]=new this(e[1]),t),{})}labelClass="checkbox";model;constructor(t){super(t),this.model=Ce(t.model)}}class wl extends yl{static defineOptions(t){const e=Ce("");return Object.entries(t).reduce((t,n)=>(n[1].isDefault&&(e.value=n[0]),t[n[0]]=new this(e,...n),t),{})}labelClass="radio";model;value;constructor(t,e,n){super(n),this.model=t,this.value=e}}const xl={class:"display-item"},Ll={class:"display-group-label"},Cl=["onUpdate:modelValue"],Pl=["value","onUpdate:modelValue"],Sl={translate:"no",class:"material-symbols-outlined"},Tl={class:"option-label has-text-black"},Ml=Zn({__name:"DisplayOption",props:{props:{}},setup:t=>(t,e)=>(Ro(),Do("div",xl,[Go("p",Ll,X(t.props.label),1),(Ro(!0),Do(ko,null,li(t.props.options,t=>(Ro(),Do("div",{class:V(["dropdown-item",t.containerClass])},[Go("label",{class:V(t.labelClass)},[t instanceof Te(bl)?hn((Ro(),Do("input",{key:0,type:"checkbox","onUpdate:modelValue":e=>t.model.value=e},null,8,Cl)),[[vr,t.model.value]]):t instanceof Te(wl)?hn((Ro(),Do("input",{key:1,type:"radio",value:t.value,"onUpdate:modelValue":e=>t.model.value=e},null,8,Pl)),[[br,t.model.value]]):Jo("",!0),t.icon?(Ro(),Do("span",{key:2,class:V(["icon",t.icon.class])},[Go("span",Sl,X(t.icon.id),1)],2)):t.svg?(Ro(),Do("span",{key:3,class:V(["icon",t.svg])},null,2)):Jo("",!0),Go("span",Tl,X(t.label),1)],2)],2))),256))]))});function kl(t,e,n){return Math.min(Math.max(t,n),e)}class Al extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}}var El=Al;function Ol(t){if("string"!=typeof t)throw new El(t);if("transparent"===t.trim().toLowerCase())return[0,0,0,0];let e=t.trim();e=Dl.test(t)?function(t){const e=t.toLowerCase().trim(),n=Il[function(t){let e=5381,n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return(e>>>0)%2341}(e)];if(!n)throw new El(t);return`#${n}`}(t):t;const n=Bl.exec(e);if(n){const t=Array.from(n).slice(1);return[...t.slice(0,3).map(t=>parseInt(Rl(t,2),16)),parseInt(Rl(t[3]||"f",2),16)/255]}const i=jl.exec(e);if(i){const t=Array.from(i).slice(1);return[...t.slice(0,3).map(t=>parseInt(t,16)),parseInt(t[3]||"ff",16)/255]}const o=Zl.exec(e);if(o){const t=Array.from(o).slice(1);return[...t.slice(0,3).map(t=>parseInt(t,10)),parseFloat(t[3]||"1")]}const s=Nl.exec(e);if(s){const[e,n,i,o]=Array.from(s).slice(1).map(parseFloat);if(kl(0,100,n)!==n)throw new El(t);if(kl(0,100,i)!==i)throw new El(t);return[...Ul(e,n,i),Number.isNaN(o)?1:o]}throw new El(t)}const zl=t=>parseInt(t.replace(/_/g,""),36),Il="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((t,e)=>{const n=zl(e.substring(0,3)),i=zl(e.substring(3)).toString(16);let o="";for(let s=0;s<6-i.length;s++)o+="0";return t[n]=`${o}${i}`,t},{});const Rl=(t,e)=>Array.from(Array(e)).map(()=>t).join(""),Bl=new RegExp(`^#${Rl("([a-f0-9])",3)}([a-f0-9])?$`,"i"),jl=new RegExp(`^#${Rl("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Zl=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Rl(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Nl=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Dl=/^[a-z]+$/i,Fl=t=>Math.round(255*t),Ul=(t,e,n)=>{let i=n/100;if(0===e)return[i,i,i].map(Fl);const o=(t%360+360)%360/60,s=(1-Math.abs(2*i-1))*(e/100),r=s*(1-Math.abs(o%2-1));let a=0,l=0,c=0;o>=0&&o<1?(a=s,l=r):o>=1&&o<2?(a=r,l=s):o>=2&&o<3?(l=s,c=r):o>=3&&o<4?(l=r,c=s):o>=4&&o<5?(a=r,c=s):o>=5&&o<6&&(a=s,c=r);const u=i-s/2;return[a+u,l+u,c+u].map(Fl)};function Hl(t,e){const[n,i,o,s]=function(t){const[e,n,i,o]=Ol(t).map((t,e)=>3===e?t:t/255),s=Math.max(e,n,i),r=Math.min(e,n,i),a=(s+r)/2;if(s===r)return[0,0,a,o];const l=s-r;return[60*(e===s?(n-i)/l+(n<i?6:0):n===s?(i-e)/l+2:(e-n)/l+4),a>.5?l/(2-s-r):l/(s+r),a,o]}(t);return function(t,e,n,i){return`hsla(${(t%360).toFixed()}, ${kl(0,100,100*e).toFixed()}%, ${kl(0,100,100*n).toFixed()}%, ${parseFloat(kl(0,1,i).toFixed(3))})`}(n,i,o-e,s)}function $l(t,e,n){const i=(t,e)=>3===e?t:t/255,[o,s,r,a]=Ol(t).map(i),[l,c,u,h]=Ol(e).map(i),d=h-a,p=2*n-1,f=((p*d===-1?p:p+d/(1+p*d))+1)/2,m=1-f;return _=255*(s*m+c*f),g=255*(r*m+u*f),v=h*n+a*(1-n),`rgba(${kl(0,255,255*(o*m+l*f)).toFixed()}, ${kl(0,255,_).toFixed()}, ${kl(0,255,g).toFixed()}, ${parseFloat(kl(0,1,v).toFixed(3))})`;var _,g,v}function Vl(t){return function(t){if("transparent"===t)return 0;function e(t){const e=t/255;return e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}const[n,i,o]=Ol(t);return.2126*e(n)+.7152*e(i)+.0722*e(o)}(t)>.179}function Gl(t){return Vl(t)?"#000":"#fff"}function ql(t){const[e,n,i,o]=Ol(t);let s=t=>{const e=kl(0,255,t).toString(16);return 1===e.length?`0${e}`:e};return`#${s(e)}${s(n)}${s(i)}${o<1?s(Math.round(255*o)):""}`}const Wl={blue:"0000FF",green:"00e400",yellow:"ffff00",orange:"ff7e00",red:"ff0000",purple:"8f3f97",maroon:"7e0023"};function Yl(t,e){const n=e[e.length-1];if(t>=n.min)return`#${n.color}`;if(t<=0)return`#${e[0].color}`;for(let i=0;i<=e.length-1;i++)if(e[i].min>t){const n=e[i-1],o=e[i],s=n.min===-1/0?o.min:o.min-n.min,r=(s-(o.min-t))/s;return $l(`#${n.color}`,`#${o.color}`,r)}return"#FFFFFF"}function Kl(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Jl,Xl={exports:{}};var Ql=(Jl||(Jl=1,Xl.exports=function(){var t=1e3,e=6e4,n=36e5,i="millisecond",o="second",s="minute",r="hour",a="day",l="week",c="month",u="quarter",h="year",d="date",p="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},g=function(t,e,n){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(n)+t},v={s:g,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),o=n%60;return(e<=0?"+":"-")+g(i,2,"0")+":"+g(o,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var i=12*(n.year()-e.year())+(n.month()-e.month()),o=e.clone().add(i,c),s=n-o<0,r=e.clone().add(i+(s?-1:1),c);return+(-(i+(n-o)/(s?o-r:r-o))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:h,w:l,d:a,D:d,h:r,m:s,s:o,ms:i,Q:u}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",b={};b[y]=_;var w="$isDayjsObject",x=function(t){return t instanceof S||!(!t||!t[w])},L=function t(e,n,i){var o;if(!e)return y;if("string"==typeof e){var s=e.toLowerCase();b[s]&&(o=s),n&&(b[s]=n,o=s);var r=e.split("-");if(!o&&r.length>1)return t(r[0])}else{var a=e.name;b[a]=e,o=a}return!i&&o&&(y=o),o||!i&&y},C=function(t,e){if(x(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new S(n)},P=v;P.l=L,P.i=x,P.w=function(t,e){return C(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var S=function(){function _(t){this.$L=L(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[w]=!0}var g=_.prototype;return g.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(P.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(f);if(i){var o=i[2]-1||0,s=(i[7]||"0").substring(0,3);return n?new Date(Date.UTC(i[1],o,i[3]||1,i[4]||0,i[5]||0,i[6]||0,s)):new Date(i[1],o,i[3]||1,i[4]||0,i[5]||0,i[6]||0,s)}}return new Date(e)}(t),this.init()},g.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},g.$utils=function(){return P},g.isValid=function(){return!(this.$d.toString()===p)},g.isSame=function(t,e){var n=C(t);return this.startOf(e)<=n&&n<=this.endOf(e)},g.isAfter=function(t,e){return C(t)<this.startOf(e)},g.isBefore=function(t,e){return this.endOf(e)<C(t)},g.$g=function(t,e,n){return P.u(t)?this[e]:this.set(n,t)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(t,e){var n=this,i=!!P.u(e)||e,u=P.p(t),p=function(t,e){var o=P.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return i?o:o.endOf(a)},f=function(t,e){return P.w(n.toDate()[t].apply(n.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},m=this.$W,_=this.$M,g=this.$D,v="set"+(this.$u?"UTC":"");switch(u){case h:return i?p(1,0):p(31,11);case c:return i?p(1,_):p(0,_+1);case l:var y=this.$locale().weekStart||0,b=(m<y?m+7:m)-y;return p(i?g-b:g+(6-b),_);case a:case d:return f(v+"Hours",0);case r:return f(v+"Minutes",1);case s:return f(v+"Seconds",2);case o:return f(v+"Milliseconds",3);default:return this.clone()}},g.endOf=function(t){return this.startOf(t,!1)},g.$set=function(t,e){var n,l=P.p(t),u="set"+(this.$u?"UTC":""),p=(n={},n[a]=u+"Date",n[d]=u+"Date",n[c]=u+"Month",n[h]=u+"FullYear",n[r]=u+"Hours",n[s]=u+"Minutes",n[o]=u+"Seconds",n[i]=u+"Milliseconds",n)[l],f=l===a?this.$D+(e-this.$W):e;if(l===c||l===h){var m=this.clone().set(d,1);m.$d[p](f),m.init(),this.$d=m.set(d,Math.min(this.$D,m.daysInMonth())).$d}else p&&this.$d[p](f);return this.init(),this},g.set=function(t,e){return this.clone().$set(t,e)},g.get=function(t){return this[P.p(t)]()},g.add=function(i,u){var d,p=this;i=Number(i);var f=P.p(u),m=function(t){var e=C(p);return P.w(e.date(e.date()+Math.round(t*i)),p)};if(f===c)return this.set(c,this.$M+i);if(f===h)return this.set(h,this.$y+i);if(f===a)return m(1);if(f===l)return m(7);var _=(d={},d[s]=e,d[r]=n,d[o]=t,d)[f]||1,g=this.$d.getTime()+i*_;return P.w(g,this)},g.subtract=function(t,e){return this.add(-1*t,e)},g.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var i=t||"YYYY-MM-DDTHH:mm:ssZ",o=P.z(this),s=this.$H,r=this.$m,a=this.$M,l=n.weekdays,c=n.months,u=n.meridiem,h=function(t,n,o,s){return t&&(t[n]||t(e,i))||o[n].slice(0,s)},d=function(t){return P.s(s%12||12,t,"0")},f=u||function(t,e,n){var i=t<12?"AM":"PM";return n?i.toLowerCase():i};return i.replace(m,function(t,i){return i||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return P.s(e.$y,4,"0");case"M":return a+1;case"MM":return P.s(a+1,2,"0");case"MMM":return h(n.monthsShort,a,c,3);case"MMMM":return h(c,a);case"D":return e.$D;case"DD":return P.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(n.weekdaysMin,e.$W,l,2);case"ddd":return h(n.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(s);case"HH":return P.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return f(s,r,!0);case"A":return f(s,r,!1);case"m":return String(r);case"mm":return P.s(r,2,"0");case"s":return String(e.$s);case"ss":return P.s(e.$s,2,"0");case"SSS":return P.s(e.$ms,3,"0");case"Z":return o}return null}(t)||o.replace(":","")})},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(i,d,p){var f,m=this,_=P.p(d),g=C(i),v=(g.utcOffset()-this.utcOffset())*e,y=this-g,b=function(){return P.m(m,g)};switch(_){case h:f=b()/12;break;case c:f=b();break;case u:f=b()/3;break;case l:f=(y-v)/6048e5;break;case a:f=(y-v)/864e5;break;case r:f=y/n;break;case s:f=y/e;break;case o:f=y/t;break;default:f=y}return p?f:P.a(f)},g.daysInMonth=function(){return this.endOf(c).$D},g.$locale=function(){return b[this.$L]},g.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),i=L(t,e,!0);return i&&(n.$L=i),n},g.clone=function(){return P.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},_}(),T=S.prototype;return C.prototype=T,[["$ms",i],["$s",o],["$m",s],["$H",r],["$W",a],["$M",c],["$y",h],["$D",d]].forEach(function(t){T[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),C.extend=function(t,e){return t.$i||(t(e,S,C),t.$i=!0),C},C.locale=L,C.isDayjs=x,C.unix=function(t){return C(1e3*t)},C.en=b[y],C.Ls=b,C.p={},C}()),Xl.exports);const tc=Kl(Ql);var ec,nc={exports:{}};var ic=(ec||(ec=1,nc.exports=function(t,e,n){t=t||{};var i=e.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function s(t,e,n,o){return i.fromToBase(t,e,n,o)}n.en.relativeTime=o,i.fromToBase=function(e,i,s,r,a){for(var l,c,u,h=s.$locale().relativeTime||o,d=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],p=d.length,f=0;f<p;f+=1){var m=d[f];m.d&&(l=r?n(e).diff(s,m.d,!0):s.diff(e,m.d,!0));var _=(t.rounding||Math.round)(Math.abs(l));if(u=l>0,_<=m.r||!m.r){_<=1&&f>0&&(m=d[f-1]);var g=h[m.l];a&&(_=a(""+_)),c="string"==typeof g?g.replace("%d",_):g(_,i,m.l,u);break}}if(i)return c;var v=u?h.future:h.past;return"function"==typeof v?v(c):v.replace("%s",c)},i.to=function(t,e){return s(t,e,this,!0)},i.from=function(t,e){return s(t,e,this)};var r=function(t){return t.$u?n.utc():n()};i.toNow=function(t){return this.to(r(this),t)},i.fromNow=function(t){return this.from(r(this),t)}}),nc.exports);const oc=Kl(ic);var sc,rc={exports:{}};var ac,lc,cc=(sc||(sc=1,rc.exports=(ac={year:0,month:1,day:2,hour:3,minute:4,second:5},lc={},function(t,e,n){var i,o=function(t,e,n){void 0===n&&(n={});var i=new Date(t),o=function(t,e){void 0===e&&(e={});var n=e.timeZoneName||"short",i=t+"|"+n,o=lc[i];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:n}),lc[i]=o),o}(e,n);return o.formatToParts(i)},s=function(t,e){for(var i=o(t,e),s=[],r=0;r<i.length;r+=1){var a=i[r],l=a.type,c=a.value,u=ac[l];u>=0&&(s[u]=parseInt(c,10))}var h=s[3],d=24===h?0:h,p=s[0]+"-"+s[1]+"-"+s[2]+" "+d+":"+s[4]+":"+s[5]+":000",f=+t;return(n.utc(p).valueOf()-(f-=f%1e3))/6e4},r=e.prototype;r.tz=function(t,e){void 0===t&&(t=i);var o,s=this.utcOffset(),r=this.toDate(),a=r.toLocaleString("en-US",{timeZone:t}),l=Math.round((r-new Date(a))/1e3/60),c=15*-Math.round(r.getTimezoneOffset()/15)-l;if(Number(c)){if(o=n(a,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(c,!0),e){var u=o.utcOffset();o=o.add(s-u,"minute")}}else o=this.utcOffset(0,e);return o.$x.$timezone=t,o},r.offsetName=function(t){var e=this.$x.$timezone||n.tz.guess(),i=o(this.valueOf(),e,{timeZoneName:t}).find(function(t){return"timezonename"===t.type.toLowerCase()});return i&&i.value};var a=r.startOf;r.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return a.call(this,t,e);var i=n(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return a.call(i,t,e).tz(this.$x.$timezone,!0)},n.tz=function(t,e,o){var r=o&&e,a=o||e||i,l=s(+n(),a);if("string"!=typeof t)return n(t).tz(a);var c=function(t,e,n){var i=t-60*e*1e3,o=s(i,n);if(e===o)return[i,e];var r=s(i-=60*(o-e)*1e3,n);return o===r?[i,o]:[t-60*Math.min(o,r)*1e3,Math.max(o,r)]}(n.utc(t,r).valueOf(),l,a),u=c[0],h=c[1],d=n(u).utcOffset(h);return d.$x.$timezone=a,d},n.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},n.tz.setDefault=function(t){i=t}})),rc.exports);const uc=Kl(cc);var hc,dc={exports:{}};var pc=(hc||(hc=1,dc.exports=function(){var t="minute",e=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(i,o,s){var r=o.prototype;s.utc=function(t){return new o({date:t,utc:!0,args:arguments})},r.utc=function(e){var n=s(this.toDate(),{locale:this.$L,utc:!0});return e?n.add(this.utcOffset(),t):n},r.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var a=r.parse;r.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),a.call(this,t)};var l=r.init;r.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else l.call(this)};var c=r.utcOffset;r.utcOffset=function(i,o){var s=this.$utils().u;if(s(i))return this.$u?0:s(this.$offset)?c.call(this):this.$offset;if("string"==typeof i&&(i=function(t){void 0===t&&(t="");var i=t.match(e);if(!i)return null;var o=(""+i[0]).match(n)||["-",0,0],s=o[0],r=60*+o[1]+ +o[2];return 0===r?0:"+"===s?r:-r}(i),null===i))return this;var r=Math.abs(i)<=16?60*i:i,a=this;if(o)return a.$offset=r,a.$u=0===i,a;if(0!==i){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(a=this.local().add(r+l,t)).$offset=r,a.$x.$localOffset=l}else a=this.utc();return a};var u=r.format;r.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,e)},r.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},r.isUTC=function(){return!!this.$u},r.toISOString=function(){return this.toDate().toISOString()},r.toString=function(){return this.toDate().toUTCString()};var h=r.toDate;r.toDate=function(t){return"s"===t&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():h.call(this)};var d=r.diff;r.diff=function(t,e,n){if(t&&this.$u===t.$u)return d.call(this,t,e,n);var i=this.local(),o=s(t).local();return d.call(i,o,e,n)}}}()),dc.exports);const fc=Kl(pc);tc.$defaultFormat=function(t){return tc.utc(t).format("YYYY-MM-DD HH:mm:ss")},tc.$prettyPrint=function(t){return tc(t).format("h:mma dddd MMM DD, YYYY")};tc.extend(oc),tc.extend(uc),tc.extend((t,e,n)=>{e.prototype.skewedDiff=function(t,e){const n=Math.abs(this.diff(t))/6e4;return n>e?Math.floor(n):n<e?Math.ceil(n):n}}),tc.extend(fc);const mc=tc;function _c(t,e){return function(){return t.apply(e,arguments)}}const{toString:gc}=Object.prototype,{getPrototypeOf:vc}=Object,{iterator:yc,toStringTag:bc}=Symbol,wc=(xc=Object.create(null),t=>{const e=gc.call(t);return xc[e]||(xc[e]=e.slice(8,-1).toLowerCase())});var xc;const Lc=t=>(t=t.toLowerCase(),e=>wc(e)===t),Cc=t=>e=>typeof e===t,{isArray:Pc}=Array,Sc=Cc("undefined");function Tc(t){return null!==t&&!Sc(t)&&null!==t.constructor&&!Sc(t.constructor)&&Ac(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Mc=Lc("ArrayBuffer");const kc=Cc("string"),Ac=Cc("function"),Ec=Cc("number"),Oc=t=>null!==t&&"object"==typeof t,zc=t=>{if("object"!==wc(t))return!1;const e=vc(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||bc in t||yc in t)},Ic=Lc("Date"),Rc=Lc("File"),Bc=Lc("Blob"),jc=Lc("FileList"),Zc=Lc("URLSearchParams"),[Nc,Dc,Fc,Uc]=["ReadableStream","Request","Response","Headers"].map(Lc);function Hc(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let i,o;if("object"!=typeof t&&(t=[t]),Pc(t))for(i=0,o=t.length;i<o;i++)e.call(null,t[i],i,t);else{if(Tc(t))return;const o=n?Object.getOwnPropertyNames(t):Object.keys(t),s=o.length;let r;for(i=0;i<s;i++)r=o[i],e.call(null,t[r],r,t)}}function $c(t,e){if(Tc(t))return null;e=e.toLowerCase();const n=Object.keys(t);let i,o=n.length;for(;o-- >0;)if(i=n[o],e===i.toLowerCase())return i;return null}const Vc="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Gc=t=>!Sc(t)&&t!==Vc;const qc=(Wc="undefined"!=typeof Uint8Array&&vc(Uint8Array),t=>Wc&&t instanceof Wc);var Wc;const Yc=Lc("HTMLFormElement"),Kc=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Jc=Lc("RegExp"),Xc=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),i={};Hc(n,(n,o)=>{let s;!1!==(s=e(n,o,t))&&(i[o]=s||n)}),Object.defineProperties(t,i)};const Qc=Lc("AsyncFunction"),tu=(eu="function"==typeof setImmediate,nu=Ac(Vc.postMessage),eu?setImmediate:nu?(iu=`axios@${Math.random()}`,ou=[],Vc.addEventListener("message",({source:t,data:e})=>{t===Vc&&e===iu&&ou.length&&ou.shift()()},!1),t=>{ou.push(t),Vc.postMessage(iu,"*")}):t=>setTimeout(t));var eu,nu,iu,ou;const su="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Vc):"undefined"!=typeof process&&process.nextTick||tu,ru={isArray:Pc,isArrayBuffer:Mc,isBuffer:Tc,isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||Ac(t.append)&&("formdata"===(e=wc(t))||"object"===e&&Ac(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&Mc(t.buffer),e},isString:kc,isNumber:Ec,isBoolean:t=>!0===t||!1===t,isObject:Oc,isPlainObject:zc,isEmptyObject:t=>{if(!Oc(t)||Tc(t))return!1;try{return 0===Object.keys(t).length&&Object.getPrototypeOf(t)===Object.prototype}catch(lc){return!1}},isReadableStream:Nc,isRequest:Dc,isResponse:Fc,isHeaders:Uc,isUndefined:Sc,isDate:Ic,isFile:Rc,isBlob:Bc,isRegExp:Jc,isFunction:Ac,isStream:t=>Oc(t)&&Ac(t.pipe),isURLSearchParams:Zc,isTypedArray:qc,isFileList:jc,forEach:Hc,merge:function t(){const{caseless:e}=Gc(this)&&this||{},n={},i=(i,o)=>{const s=e&&$c(n,o)||o;zc(n[s])&&zc(i)?n[s]=t(n[s],i):zc(i)?n[s]=t({},i):Pc(i)?n[s]=i.slice():n[s]=i};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&Hc(arguments[o],i);return n},extend:(t,e,n,{allOwnKeys:i}={})=>(Hc(e,(e,i)=>{n&&Ac(e)?t[i]=_c(e,n):t[i]=e},{allOwnKeys:i}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,i)=>{t.prototype=Object.create(e.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,i)=>{let o,s,r;const a={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),s=o.length;s-- >0;)r=o[s],i&&!i(r,t,e)||a[r]||(e[r]=t[r],a[r]=!0);t=!1!==n&&vc(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:wc,kindOfTest:Lc,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const i=t.indexOf(e,n);return-1!==i&&i===n},toArray:t=>{if(!t)return null;if(Pc(t))return t;let e=t.length;if(!Ec(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[yc]).call(t);let i;for(;(i=n.next())&&!i.done;){const n=i.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const i=[];for(;null!==(n=t.exec(e));)i.push(n);return i},isHTMLForm:Yc,hasOwnProperty:Kc,hasOwnProp:Kc,reduceDescriptors:Xc,freezeMethods:t=>{Xc(t,(e,n)=>{if(Ac(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=t[n];Ac(i)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(t,e)=>{const n={},i=t=>{t.forEach(t=>{n[t]=!0})};return Pc(t)?i(t):i(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,e,n){return e.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:$c,global:Vc,isContextDefined:Gc,isSpecCompliantForm:function(t){return!!(t&&Ac(t.append)&&"FormData"===t[bc]&&t[yc])},toJSONObject:t=>{const e=new Array(10),n=(t,i)=>{if(Oc(t)){if(e.indexOf(t)>=0)return;if(Tc(t))return t;if(!("toJSON"in t)){e[i]=t;const o=Pc(t)?[]:{};return Hc(t,(t,e)=>{const s=n(t,i+1);!Sc(s)&&(o[e]=s)}),e[i]=void 0,o}}return t};return n(t,0)},isAsyncFn:Qc,isThenable:t=>t&&(Oc(t)||Ac(t))&&Ac(t.then)&&Ac(t.catch),setImmediate:tu,asap:su,isIterable:t=>null!=t&&Ac(t[yc])};function au(t,e,n,i,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}ru.inherits(au,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ru.toJSONObject(this.config),code:this.code,status:this.status}}});const lu=au.prototype,cu={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{cu[t]={value:t}}),Object.defineProperties(au,cu),Object.defineProperty(lu,"isAxiosError",{value:!0}),au.from=(t,e,n,i,o,s)=>{const r=Object.create(lu);return ru.toFlatObject(t,r,function(t){return t!==Error.prototype},t=>"isAxiosError"!==t),au.call(r,t.message,e,n,i,o),r.cause=t,r.name=t.name,s&&Object.assign(r,s),r};function uu(t){return ru.isPlainObject(t)||ru.isArray(t)}function hu(t){return ru.endsWith(t,"[]")?t.slice(0,-2):t}function du(t,e,n){return t?t.concat(e).map(function(t,e){return t=hu(t),!n&&e?"["+t+"]":t}).join(n?".":""):e}const pu=ru.toFlatObject(ru,{},null,function(t){return/^is[A-Z]/.test(t)});function fu(t,e,n){if(!ru.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const i=(n=ru.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(t,e){return!ru.isUndefined(e[t])})).metaTokens,o=n.visitor||c,s=n.dots,r=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&ru.isSpecCompliantForm(e);if(!ru.isFunction(o))throw new TypeError("visitor must be a function");function l(t){if(null===t)return"";if(ru.isDate(t))return t.toISOString();if(ru.isBoolean(t))return t.toString();if(!a&&ru.isBlob(t))throw new au("Blob is not supported. Use a Buffer instead.");return ru.isArrayBuffer(t)||ru.isTypedArray(t)?a&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function c(t,n,o){let a=t;if(t&&!o&&"object"==typeof t)if(ru.endsWith(n,"{}"))n=i?n:n.slice(0,-2),t=JSON.stringify(t);else if(ru.isArray(t)&&function(t){return ru.isArray(t)&&!t.some(uu)}(t)||(ru.isFileList(t)||ru.endsWith(n,"[]"))&&(a=ru.toArray(t)))return n=hu(n),a.forEach(function(t,i){!ru.isUndefined(t)&&null!==t&&e.append(!0===r?du([n],i,s):null===r?n:n+"[]",l(t))}),!1;return!!uu(t)||(e.append(du(o,n,s),l(t)),!1)}const u=[],h=Object.assign(pu,{defaultVisitor:c,convertValue:l,isVisitable:uu});if(!ru.isObject(t))throw new TypeError("data must be an object");return function t(n,i){if(!ru.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+i.join("."));u.push(n),ru.forEach(n,function(n,s){!0===(!(ru.isUndefined(n)||null===n)&&o.call(e,n,ru.isString(s)?s.trim():s,i,h))&&t(n,i?i.concat(s):[s])}),u.pop()}}(t),e}function mu(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(t){return e[t]})}function _u(t,e){this._pairs=[],t&&fu(t,this,e)}const gu=_u.prototype;function vu(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function yu(t,e,n){if(!e)return t;const i=n&&n.encode||vu;ru.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let s;if(s=o?o(e,n):ru.isURLSearchParams(e)?e.toString():new _u(e,n).toString(i),s){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+s}return t}gu.append=function(t,e){this._pairs.push([t,e])},gu.toString=function(t){const e=t?function(e){return t.call(this,e,mu)}:mu;return this._pairs.map(function(t){return e(t[0])+"="+e(t[1])},"").join("&")};class bu{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){ru.forEach(this.handlers,function(e){null!==e&&t(e)})}}const wu={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},xu={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:_u,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Lu="undefined"!=typeof window&&"undefined"!=typeof document,Cu="object"==typeof navigator&&navigator||void 0,Pu=Lu&&(!Cu||["ReactNative","NativeScript","NS"].indexOf(Cu.product)<0),Su="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Tu=Lu&&window.location.href||"http://localhost",Mu={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Lu,hasStandardBrowserEnv:Pu,hasStandardBrowserWebWorkerEnv:Su,navigator:Cu,origin:Tu},Symbol.toStringTag,{value:"Module"})),...xu};function ku(t){function e(t,n,i,o){let s=t[o++];if("__proto__"===s)return!0;const r=Number.isFinite(+s),a=o>=t.length;if(s=!s&&ru.isArray(i)?i.length:s,a)return ru.hasOwnProp(i,s)?i[s]=[i[s],n]:i[s]=n,!r;i[s]&&ru.isObject(i[s])||(i[s]=[]);return e(t,n,i[s],o)&&ru.isArray(i[s])&&(i[s]=function(t){const e={},n=Object.keys(t);let i;const o=n.length;let s;for(i=0;i<o;i++)s=n[i],e[s]=t[s];return e}(i[s])),!r}if(ru.isFormData(t)&&ru.isFunction(t.entries)){const n={};return ru.forEachEntry(t,(t,i)=>{e(function(t){return ru.matchAll(/\w+|\[(\w*)]/g,t).map(t=>"[]"===t[0]?"":t[1]||t[0])}(t),i,n,0)}),n}return null}const Au={transitional:wu,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",i=n.indexOf("application/json")>-1,o=ru.isObject(t);o&&ru.isHTMLForm(t)&&(t=new FormData(t));if(ru.isFormData(t))return i?JSON.stringify(ku(t)):t;if(ru.isArrayBuffer(t)||ru.isBuffer(t)||ru.isStream(t)||ru.isFile(t)||ru.isBlob(t)||ru.isReadableStream(t))return t;if(ru.isArrayBufferView(t))return t.buffer;if(ru.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return fu(t,new Mu.classes.URLSearchParams,{visitor:function(t,e,n,i){return Mu.isNode&&ru.isBuffer(t)?(this.append(e,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...e})}(t,this.formSerializer).toString();if((s=ru.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return fu(s?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||i?(e.setContentType("application/json",!1),function(t,e,n){if(ru.isString(t))try{return(e||JSON.parse)(t),ru.trim(t)}catch(lc){if("SyntaxError"!==lc.name)throw lc}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||Au.transitional,n=e&&e.forcedJSONParsing,i="json"===this.responseType;if(ru.isResponse(t)||ru.isReadableStream(t))return t;if(t&&ru.isString(t)&&(n&&!this.responseType||i)){const n=!(e&&e.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(lc){if(n){if("SyntaxError"===lc.name)throw au.from(lc,au.ERR_BAD_RESPONSE,this,null,this.response);throw lc}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Mu.classes.FormData,Blob:Mu.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ru.forEach(["delete","get","head","post","put","patch"],t=>{Au.headers[t]={}});const Eu=ru.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ou=Symbol("internals");function zu(t){return t&&String(t).trim().toLowerCase()}function Iu(t){return!1===t||null==t?t:ru.isArray(t)?t.map(Iu):String(t)}function Ru(t,e,n,i,o){return ru.isFunction(i)?i.call(this,e,n):(o&&(e=n),ru.isString(e)?ru.isString(i)?-1!==e.indexOf(i):ru.isRegExp(i)?i.test(e):void 0:void 0)}let Bu=class{constructor(t){t&&this.set(t)}set(t,e,n){const i=this;function o(t,e,n){const o=zu(e);if(!o)throw new Error("header name must be a non-empty string");const s=ru.findKey(i,o);(!s||void 0===i[s]||!0===n||void 0===n&&!1!==i[s])&&(i[s||e]=Iu(t))}const s=(t,e)=>ru.forEach(t,(t,n)=>o(t,n,e));if(ru.isPlainObject(t)||t instanceof this.constructor)s(t,e);else if(ru.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))s((t=>{const e={};let n,i,o;return t&&t.split("\n").forEach(function(t){o=t.indexOf(":"),n=t.substring(0,o).trim().toLowerCase(),i=t.substring(o+1).trim(),!n||e[n]&&Eu[n]||("set-cookie"===n?e[n]?e[n].push(i):e[n]=[i]:e[n]=e[n]?e[n]+", "+i:i)}),e})(t),e);else if(ru.isObject(t)&&ru.isIterable(t)){let n,i,o={};for(const e of t){if(!ru.isArray(e))throw TypeError("Object iterator must return a key-value pair");o[i=e[0]]=(n=o[i])?ru.isArray(n)?[...n,e[1]]:[n,e[1]]:e[1]}s(o,e)}else null!=t&&o(e,t,n);return this}get(t,e){if(t=zu(t)){const n=ru.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(t);)e[i[1]]=i[2];return e}(t);if(ru.isFunction(e))return e.call(this,t,n);if(ru.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=zu(t)){const n=ru.findKey(this,t);return!(!n||void 0===this[n]||e&&!Ru(0,this[n],n,e))}return!1}delete(t,e){const n=this;let i=!1;function o(t){if(t=zu(t)){const o=ru.findKey(n,t);!o||e&&!Ru(0,n[o],o,e)||(delete n[o],i=!0)}}return ru.isArray(t)?t.forEach(o):o(t),i}clear(t){const e=Object.keys(this);let n=e.length,i=!1;for(;n--;){const o=e[n];t&&!Ru(0,this[o],o,t,!0)||(delete this[o],i=!0)}return i}normalize(t){const e=this,n={};return ru.forEach(this,(i,o)=>{const s=ru.findKey(n,o);if(s)return e[s]=Iu(i),void delete e[o];const r=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,e,n)=>e.toUpperCase()+n)}(o):String(o).trim();r!==o&&delete e[o],e[r]=Iu(i),n[r]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return ru.forEach(this,(n,i)=>{null!=n&&!1!==n&&(e[i]=t&&ru.isArray(n)?n.join(", "):n)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach(t=>n.set(t)),n}static accessor(t){const e=(this[Ou]=this[Ou]={accessors:{}}).accessors,n=this.prototype;function i(t){const i=zu(t);e[i]||(!function(t,e){const n=ru.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+n,{value:function(t,n,o){return this[i].call(this,e,t,n,o)},configurable:!0})})}(n,t),e[i]=!0)}return ru.isArray(t)?t.forEach(i):i(t),this}};function ju(t,e){const n=this||Au,i=e||n,o=Bu.from(i.headers);let s=i.data;return ru.forEach(t,function(t){s=t.call(n,s,o.normalize(),e?e.status:void 0)}),o.normalize(),s}function Zu(t){return!(!t||!t.__CANCEL__)}function Nu(t,e,n){au.call(this,null==t?"canceled":t,au.ERR_CANCELED,e,n),this.name="CanceledError"}function Du(t,e,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(new au("Request failed with status code "+n.status,[au.ERR_BAD_REQUEST,au.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}Bu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ru.reduceDescriptors(Bu.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}}),ru.freezeMethods(Bu),ru.inherits(Nu,au,{__CANCEL__:!0});const Fu=(t,e,n=3)=>{let i=0;const o=function(t,e){t=t||10;const n=new Array(t),i=new Array(t);let o,s=0,r=0;return e=void 0!==e?e:1e3,function(a){const l=Date.now(),c=i[r];o||(o=l),n[s]=a,i[s]=l;let u=r,h=0;for(;u!==s;)h+=n[u++],u%=t;if(s=(s+1)%t,s===r&&(r=(r+1)%t),l-o<e)return;const d=c&&l-c;return d?Math.round(1e3*h/d):void 0}}(50,250);return function(t,e){let n,i,o=0,s=1e3/e;const r=(e,s=Date.now())=>{o=s,n=null,i&&(clearTimeout(i),i=null),t(...e)};return[(...t)=>{const e=Date.now(),a=e-o;a>=s?r(t,e):(n=t,i||(i=setTimeout(()=>{i=null,r(n)},s-a)))},()=>n&&r(n)]}(n=>{const s=n.loaded,r=n.lengthComputable?n.total:void 0,a=s-i,l=o(a);i=s;t({loaded:s,total:r,progress:r?s/r:void 0,bytes:a,rate:l||void 0,estimated:l&&r&&s<=r?(r-s)/l:void 0,event:n,lengthComputable:null!=r,[e?"download":"upload"]:!0})},n)},Uu=(t,e)=>{const n=null!=t;return[i=>e[0]({lengthComputable:n,total:t,loaded:i}),e[1]]},Hu=t=>(...e)=>ru.asap(()=>t(...e)),$u=Mu.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,Mu.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(Mu.origin),Mu.navigator&&/(msie|trident)/i.test(Mu.navigator.userAgent)):()=>!0,Vu=Mu.hasStandardBrowserEnv?{write(t,e,n,i,o,s){const r=[t+"="+encodeURIComponent(e)];ru.isNumber(n)&&r.push("expires="+new Date(n).toGMTString()),ru.isString(i)&&r.push("path="+i),ru.isString(o)&&r.push("domain="+o),!0===s&&r.push("secure"),document.cookie=r.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Gu(t,e,n){let i=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);return t&&(i||0==n)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const qu=t=>t instanceof Bu?{...t}:t;function Wu(t,e){e=e||{};const n={};function i(t,e,n,i){return ru.isPlainObject(t)&&ru.isPlainObject(e)?ru.merge.call({caseless:i},t,e):ru.isPlainObject(e)?ru.merge({},e):ru.isArray(e)?e.slice():e}function o(t,e,n,o){return ru.isUndefined(e)?ru.isUndefined(t)?void 0:i(void 0,t,0,o):i(t,e,0,o)}function s(t,e){if(!ru.isUndefined(e))return i(void 0,e)}function r(t,e){return ru.isUndefined(e)?ru.isUndefined(t)?void 0:i(void 0,t):i(void 0,e)}function a(n,o,s){return s in e?i(n,o):s in t?i(void 0,n):void 0}const l={url:s,method:s,data:s,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:a,headers:(t,e,n)=>o(qu(t),qu(e),0,!0)};return ru.forEach(Object.keys({...t,...e}),function(i){const s=l[i]||o,r=s(t[i],e[i],i);ru.isUndefined(r)&&s!==a||(n[i]=r)}),n}const Yu=t=>{const e=Wu({},t);let n,{data:i,withXSRFToken:o,xsrfHeaderName:s,xsrfCookieName:r,headers:a,auth:l}=e;if(e.headers=a=Bu.from(a),e.url=yu(Gu(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),ru.isFormData(i))if(Mu.hasStandardBrowserEnv||Mu.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[t,...e]=n?n.split(";").map(t=>t.trim()).filter(Boolean):[];a.setContentType([t||"multipart/form-data",...e].join("; "))}if(Mu.hasStandardBrowserEnv&&(o&&ru.isFunction(o)&&(o=o(e)),o||!1!==o&&$u(e.url))){const t=s&&r&&Vu.read(r);t&&a.set(s,t)}return e},Ku="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise(function(e,n){const i=Yu(t);let o=i.data;const s=Bu.from(i.headers).normalize();let r,a,l,c,u,{responseType:h,onUploadProgress:d,onDownloadProgress:p}=i;function f(){c&&c(),u&&u(),i.cancelToken&&i.cancelToken.unsubscribe(r),i.signal&&i.signal.removeEventListener("abort",r)}let m=new XMLHttpRequest;function _(){if(!m)return;const i=Bu.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Du(function(t){e(t),f()},function(t){n(t),f()},{data:h&&"text"!==h&&"json"!==h?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:i,config:t,request:m}),m=null}m.open(i.method.toUpperCase(),i.url,!0),m.timeout=i.timeout,"onloadend"in m?m.onloadend=_:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(_)},m.onabort=function(){m&&(n(new au("Request aborted",au.ECONNABORTED,t,m)),m=null)},m.onerror=function(){n(new au("Network Error",au.ERR_NETWORK,t,m)),m=null},m.ontimeout=function(){let e=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const o=i.transitional||wu;i.timeoutErrorMessage&&(e=i.timeoutErrorMessage),n(new au(e,o.clarifyTimeoutError?au.ETIMEDOUT:au.ECONNABORTED,t,m)),m=null},void 0===o&&s.setContentType(null),"setRequestHeader"in m&&ru.forEach(s.toJSON(),function(t,e){m.setRequestHeader(e,t)}),ru.isUndefined(i.withCredentials)||(m.withCredentials=!!i.withCredentials),h&&"json"!==h&&(m.responseType=i.responseType),p&&([l,u]=Fu(p,!0),m.addEventListener("progress",l)),d&&m.upload&&([a,c]=Fu(d),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",c)),(i.cancelToken||i.signal)&&(r=e=>{m&&(n(!e||e.type?new Nu(null,t,m):e),m.abort(),m=null)},i.cancelToken&&i.cancelToken.subscribe(r),i.signal&&(i.signal.aborted?r():i.signal.addEventListener("abort",r)));const g=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(i.url);g&&-1===Mu.protocols.indexOf(g)?n(new au("Unsupported protocol "+g+":",au.ERR_BAD_REQUEST,t)):m.send(o||null)})},Ju=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let n,i=new AbortController;const o=function(t){if(!n){n=!0,r();const e=t instanceof Error?t:this.reason;i.abort(e instanceof au?e:new Nu(e instanceof Error?e.message:e))}};let s=e&&setTimeout(()=>{s=null,o(new au(`timeout ${e} of ms exceeded`,au.ETIMEDOUT))},e);const r=()=>{t&&(s&&clearTimeout(s),s=null,t.forEach(t=>{t.unsubscribe?t.unsubscribe(o):t.removeEventListener("abort",o)}),t=null)};t.forEach(t=>t.addEventListener("abort",o));const{signal:a}=i;return a.unsubscribe=()=>ru.asap(r),a}},Xu=function*(t,e){let n=t.byteLength;if(n<e)return void(yield t);let i,o=0;for(;o<n;)i=o+e,yield t.slice(o,i),o=i},Qu=async function*(t){if(t[Symbol.asyncIterator])return void(yield*t);const e=t.getReader();try{for(;;){const{done:t,value:n}=await e.read();if(t)break;yield n}}finally{await e.cancel()}},th=(t,e,n,i)=>{const o=async function*(t,e){for await(const n of Qu(t))yield*Xu(n,e)}(t,e);let s,r=0,a=t=>{s||(s=!0,i&&i(t))};return new ReadableStream({async pull(t){try{const{done:e,value:i}=await o.next();if(e)return a(),void t.close();let s=i.byteLength;if(n){let t=r+=s;n(t)}t.enqueue(new Uint8Array(i))}catch(e){throw a(e),e}},cancel:t=>(a(t),o.return())},{highWaterMark:2})},eh="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,nh=eh&&"function"==typeof ReadableStream,ih=eh&&("function"==typeof TextEncoder?(oh=new TextEncoder,t=>oh.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var oh;const sh=(t,...e)=>{try{return!!t(...e)}catch(lc){return!1}},rh=nh&&sh(()=>{let t=!1;const e=new Request(Mu.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),ah=nh&&sh(()=>ru.isReadableStream(new Response("").body)),lh={stream:ah&&(t=>t.body)};var ch;eh&&(ch=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!lh[t]&&(lh[t]=ru.isFunction(ch[t])?e=>e[t]():(e,n)=>{throw new au(`Response type '${t}' is not supported`,au.ERR_NOT_SUPPORT,n)})}));const uh=async(t,e)=>{const n=ru.toFiniteNumber(t.getContentLength());return null==n?(async t=>{if(null==t)return 0;if(ru.isBlob(t))return t.size;if(ru.isSpecCompliantForm(t)){const e=new Request(Mu.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return ru.isArrayBufferView(t)||ru.isArrayBuffer(t)?t.byteLength:(ru.isURLSearchParams(t)&&(t+=""),ru.isString(t)?(await ih(t)).byteLength:void 0)})(e):n},hh=eh&&(async t=>{let{url:e,method:n,data:i,signal:o,cancelToken:s,timeout:r,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:h="same-origin",fetchOptions:d}=Yu(t);c=c?(c+"").toLowerCase():"text";let p,f=Ju([o,s&&s.toAbortSignal()],r);const m=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let _;try{if(l&&rh&&"get"!==n&&"head"!==n&&0!==(_=await uh(u,i))){let t,n=new Request(e,{method:"POST",body:i,duplex:"half"});if(ru.isFormData(i)&&(t=n.headers.get("content-type"))&&u.setContentType(t),n.body){const[t,e]=Uu(_,Fu(Hu(l)));i=th(n.body,65536,t,e)}}ru.isString(h)||(h=h?"include":"omit");const o="credentials"in Request.prototype;p=new Request(e,{...d,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:i,duplex:"half",credentials:o?h:void 0});let s=await fetch(p,d);const r=ah&&("stream"===c||"response"===c);if(ah&&(a||r&&m)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=s[e]});const e=ru.toFiniteNumber(s.headers.get("content-length")),[n,i]=a&&Uu(e,Fu(Hu(a),!0))||[];s=new Response(th(s.body,65536,n,()=>{i&&i(),m&&m()}),t)}c=c||"text";let g=await lh[ru.findKey(lh,c)||"text"](s,t);return!r&&m&&m(),await new Promise((e,n)=>{Du(e,n,{data:g,headers:Bu.from(s.headers),status:s.status,statusText:s.statusText,config:t,request:p})})}catch(g){if(m&&m(),g&&"TypeError"===g.name&&/Load failed|fetch/i.test(g.message))throw Object.assign(new au("Network Error",au.ERR_NETWORK,t,p),{cause:g.cause||g});throw au.from(g,g&&g.code,t,p)}}),dh={http:null,xhr:Ku,fetch:hh};ru.forEach(dh,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(lc){}Object.defineProperty(t,"adapterName",{value:e})}});const ph=t=>`- ${t}`,fh=t=>ru.isFunction(t)||null===t||!1===t,mh=t=>{t=ru.isArray(t)?t:[t];const{length:e}=t;let n,i;const o={};for(let s=0;s<e;s++){let e;if(n=t[s],i=n,!fh(n)&&(i=dh[(e=String(n)).toLowerCase()],void 0===i))throw new au(`Unknown adapter '${e}'`);if(i)break;o[e||"#"+s]=i}if(!i){const t=Object.entries(o).map(([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build"));throw new au("There is no suitable adapter to dispatch the request "+(e?t.length>1?"since :\n"+t.map(ph).join("\n"):" "+ph(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return i};function _h(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Nu(null,t)}function gh(t){_h(t),t.headers=Bu.from(t.headers),t.data=ju.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return mh(t.adapter||Au.adapter)(t).then(function(e){return _h(t),e.data=ju.call(t,t.transformResponse,e),e.headers=Bu.from(e.headers),e},function(e){return Zu(e)||(_h(t),e&&e.response&&(e.response.data=ju.call(t,t.transformResponse,e.response),e.response.headers=Bu.from(e.response.headers))),Promise.reject(e)})}const vh="1.11.0",yh={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{yh[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const bh={};yh.transitional=function(t,e,n){function i(t,e){return"[Axios v"+vh+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,o,s)=>{if(!1===t)throw new au(i(o," has been removed"+(e?" in "+e:"")),au.ERR_DEPRECATED);return e&&!bh[o]&&(bh[o]=!0,console.warn(i(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,o,s)}},yh.spelling=function(t){return(e,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};const wh={assertOptions:function(t,e,n){if("object"!=typeof t)throw new au("options must be an object",au.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let o=i.length;for(;o-- >0;){const s=i[o],r=e[s];if(r){const e=t[s],n=void 0===e||r(e,s,t);if(!0!==n)throw new au("option "+s+" must be "+n,au.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new au("Unknown option "+s,au.ERR_BAD_OPTION)}},validators:yh},xh=wh.validators;let Lh=class{constructor(t){this.defaults=t||{},this.interceptors={request:new bu,response:new bu}}async request(t,e){try{return await this._request(t,e)}catch(n){if(n instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const e=t.stack?t.stack.replace(/^.+\n/,""):"";try{n.stack?e&&!String(n.stack).endsWith(e.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+e):n.stack=e}catch(lc){}}throw n}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Wu(this.defaults,e);const{transitional:n,paramsSerializer:i,headers:o}=e;void 0!==n&&wh.assertOptions(n,{silentJSONParsing:xh.transitional(xh.boolean),forcedJSONParsing:xh.transitional(xh.boolean),clarifyTimeoutError:xh.transitional(xh.boolean)},!1),null!=i&&(ru.isFunction(i)?e.paramsSerializer={serialize:i}:wh.assertOptions(i,{encode:xh.function,serialize:xh.function},!0)),void 0!==e.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?e.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:e.allowAbsoluteUrls=!0),wh.assertOptions(e,{baseUrl:xh.spelling("baseURL"),withXsrfToken:xh.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let s=o&&ru.merge(o.common,o[e.method]);o&&ru.forEach(["delete","get","head","post","put","patch","common"],t=>{delete o[t]}),e.headers=Bu.concat(s,o);const r=[];let a=!0;this.interceptors.request.forEach(function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,r.unshift(t.fulfilled,t.rejected))});const l=[];let c;this.interceptors.response.forEach(function(t){l.push(t.fulfilled,t.rejected)});let u,h=0;if(!a){const t=[gh.bind(this),void 0];for(t.unshift(...r),t.push(...l),u=t.length,c=Promise.resolve(e);h<u;)c=c.then(t[h++],t[h++]);return c}u=r.length;let d=e;for(h=0;h<u;){const t=r[h++],e=r[h++];try{d=t(d)}catch(p){e.call(this,p);break}}try{c=gh.call(this,d)}catch(p){return Promise.reject(p)}for(h=0,u=l.length;h<u;)c=c.then(l[h++],l[h++]);return c}getUri(t){return yu(Gu((t=Wu(this.defaults,t)).baseURL,t.url,t.allowAbsoluteUrls),t.params,t.paramsSerializer)}};ru.forEach(["delete","get","head","options"],function(t){Lh.prototype[t]=function(e,n){return this.request(Wu(n||{},{method:t,url:e,data:(n||{}).data}))}}),ru.forEach(["post","put","patch"],function(t){function e(e){return function(n,i,o){return this.request(Wu(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}Lh.prototype[t]=e(),Lh.prototype[t+"Form"]=e(!0)});const Ch={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ch).forEach(([t,e])=>{Ch[e]=t});const Ph=function t(e){const n=new Lh(e),i=_c(Lh.prototype.request,n);return ru.extend(i,Lh.prototype,n,{allOwnKeys:!0}),ru.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return t(Wu(e,n))},i}(Au);Ph.Axios=Lh,Ph.CanceledError=Nu,Ph.CancelToken=class t{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise(function(t){e=t});const n=this;this.promise.then(t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null}),this.promise.then=t=>{let e;const i=new Promise(t=>{n.subscribe(t),e=t}).then(t);return i.cancel=function(){n.unsubscribe(e)},i},t(function(t,i,o){n.reason||(n.reason=new Nu(t,i,o),e(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let e;return{token:new t(function(t){e=t}),cancel:e}}},Ph.isCancel=Zu,Ph.VERSION=vh,Ph.toFormData=fu,Ph.AxiosError=au,Ph.Cancel=Ph.CanceledError,Ph.all=function(t){return Promise.all(t)},Ph.spread=function(t){return function(e){return t.apply(null,e)}},Ph.isAxiosError=function(t){return ru.isObject(t)&&!0===t.isAxiosError},Ph.mergeConfig=Wu,Ph.AxiosHeaders=Bu,Ph.formToJSON=t=>ku(ru.isHTMLForm(t)?new FormData(t):t),Ph.getAdapter=mh,Ph.HttpStatusCode=Ch,Ph.default=Ph;const{Axios:Sh,AxiosError:Th,CanceledError:Mh,isCancel:kh,CancelToken:Ah,VERSION:Eh,all:Oh,Cancel:zh,isAxiosError:Ih,spread:Rh,toFormData:Bh,AxiosHeaders:jh,HttpStatusCode:Zh,formToJSON:Nh,getAdapter:Dh,mergeConfig:Fh}=Ph,Uh=("undefined"!=typeof window?window.location:self.location).origin,Hh=Ph.create({baseURL:"/api/2.0/"});function $h(t){let e;return async function(){return void 0===e&&(e=new Promise((e,n)=>{(async()=>{try{await t(e)}catch(i){n(i)}})()})),e}}class Vh{static levels=[{min:-1/0,color:Wl.green},{min:12,color:Wl.yellow},{min:35,color:Wl.orange},{min:55,color:Wl.red},{min:150,color:Wl.purple},{min:250,color:Wl.maroon}];label;latest;levels=Vh.levels;name;updateDuration;constructor(t,e,n,i){this.label=e,this.name=t,this.updateDuration=n,i.latest&&this.name in i.latest&&(this.latest=Math.round(parseFloat(i.latest.value)))}}class Gh{id;parameters;taskName;constructor(t,e,n){this.id=t,this.parameters=n,this.taskName=e}}class qh{globalTaskID=0;responders=new Map;worker;constructor(t){this.worker=t,this.worker.onmessageerror=t=>console.error("worker failed: ",t),this.worker.onmessage=t=>{const{id:e,error:n,payload:i,success:o}=t.data,s=this.responders.get(e);o?s.resolve(i):n?s.reject(n):console.error(`Unknown response from background service "${this.constructor.name}"`,t),this.responders.delete(e)}}run(t,...e){const n=new Gh(++this.globalTaskID,t,JSON.parse(JSON.stringify(e)));return new Promise((t,e)=>{this.responders.set(n.id,{resolve:t,reject:e}),this.worker.postMessage(n)})}}const Wh=new qh(new function(t){return new Worker("/static/monitor-map/assets/MonitorsWorker-CruBUrnP.js",{type:"module",name:t?.name})});async function Yh(t){return await Wh.run("fetchMonitors",t)}const Kh=Object.freeze(Object.defineProperty({__proto__:null,fetchMonitors:Yh,fetchSubscriptions:async function(){return await Wh.run("fetchSubscriptions")},fetchTempByCoords:async function(t){return await Wh.run("fetchTempByCoords",t)}},Symbol.toStringTag,{value:"Module"})),Jh=new Event("MonitorsLoaded"),Xh=Ce(function(){const t=new Date,e=new Date(`05/01/${t.getUTCFullYear()}`),n=new Date(`09/30/${t.getUTCFullYear()}`);return t>e&&t<n?"o3":"pm25"}()),Qh=Ce({}),td=Ce();const ed=$h(async t=>{const e=Zi(el);await id(),"monitorId"in e.params&&(td.value=Qh.value[e.params.monitorId]),t({activeMonitor:td,monitors:Qh,downloadCSV:nd,getMonitor:od,updateMonitors:id,...Kh})});function nd(t,e){const n=`${Hh.defaults.baseURL}monitors/${t.data.id}/entries/csv`,i=new URLSearchParams({fields:t.dataFields.join(","),timestamp__gte:mc.$defaultFormat(e.start),timestamp__lte:mc.$defaultFormat(e.end)}).toString();window.open(`${n}/?${i}`)}async function id(){return await Yh(Xh.value).then(t=>{Qh.value=t,window.dispatchEvent(Jh)})}function od(t){return Qh.value[t]}const sd={class:"map-legend-container card columns column is-half-mobile is-half-tablet is-one-fifth-desktop is-flex is-flex-direction-column"},rd={class:"has-text-centered has-text-wrap-nowrap has-font-weight-semibold"},ad={class:"map-legend-lines is-flex"},ld=fl(Zn({__name:"MarkerLegend",setup(t){const e=ys(()=>"pm25"===Xh.value?"PM 2.5":"Ozone"),n=ys(()=>"pm25"===Xh.value?[12,35,55,150,250]:[55,71,86,106,201]);return(t,i)=>(Ro(),Do("div",sd,[Go("p",rd,X(e.value)+" Concentration",1),i[1]||(i[1]=Go("div",{class:"map-legend"}," ",-1)),Go("div",ad,[i[0]||(i[0]=Go("div",null,[Go("span",null,"0")],-1)),(Ro(!0),Do(ko,null,li(n.value,t=>(Ro(),Do("div",null,[Go("span",null,X(t),1)]))),256))])]))}}),[["__scopeId","data-v-e5342dfa"]]),cd="geolocation"in navigator,ud={latitude:36.76272911677402,longitude:-119.7989545249089};async function hd(t){return new Promise(e=>{if(cd)return navigator.geolocation.getCurrentPosition(e,console.error,t);e({timestamp:Date.now(),coords:{accuracy:0,altitude:0,altitudeAccuracy:0,heading:0,speed:0,...ud}})})}const dd="/static/monitor-map/airgradient-blue.svg",pd="data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAA8AAD/4QMpaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjAtYzA2MCA2MS4xMzQ3NzcsIDIwMTAvMDIvMTItMTc6MzI6MDAgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzUgV2luZG93cyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyMTZFNDM2OTMyNjUxMUUyOTFBMkZCRkM2NjEwQUMxOSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyMTZFNDM2QTMyNjUxMUUyOTFBMkZCRkM2NjEwQUMxOSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjIxNkU0MzY3MzI2NTExRTI5MUEyRkJGQzY2MTBBQzE5IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjIxNkU0MzY4MzI2NTExRTI5MUEyRkJGQzY2MTBBQzE5Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+/+4ADkFkb2JlAGTAAAAAAf/bAIQABgQEBAUEBgUFBgkGBQYJCwgGBggLDAoKCwoKDBAMDAwMDAwQDA4PEA8ODBMTFBQTExwbGxscHx8fHx8fHx8fHwEHBwcNDA0YEBAYGhURFRofHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8f/8AAEQgANgBlAwERAAIRAQMRAf/EAKgAAAICAwEBAAAAAAAAAAAAAAAFBAYDBwgBAgEAAgMBAQAAAAAAAAAAAAAAAAMBAgQFBhAAAQMDAwEFBQMKBwAAAAAAAgEDBBEFBgAhEgcxQSITFFFxgXIVYZEyoUJSYqIjM1MWCJKyc9MklJURAAEDAQUCCgcHBQAAAAAAAAEAAgMRITESEwRBUWFxgZGxwdEiMgXwoeFCUpLSYqIjMxQVFvGC8jQG/9oADAMBAAIRAxEAPwDqnQhGhCT5Nl+N4xC9ZfJ7cNoq+WJKquGqdzbY1MvgmnwaaSU0YKqj5GtFSVS4XUzMsqXlhWMqluVVQL1eTViOtFpUGm6m4Pyl76a3O0MUP5r+98LbSkiZzvCLN5TuNi+eS/Fe8tcZEtyi2iKxHFPsR58ZDqp92kO1EI8EfzEn1CgVwx5vdzJg1hEBKLIuV3kmi15FcpjW/wAsdxkfhSmlHVHYGD+0dYKtljeedSf6Utf8+4f+lcP9/Vf1Dtzflb2KcA4ecrKmPwx3B+aJIiIhetlHTitfwm4Qr9tU31XOO4cw7FOALIzbZTTgF9TlG2Kp+5NI6iqIvYpeUh/tV1BeD7o9fainCp+lqyNCEaEI0IRoQqB1c6qRMGtQBHEJN9movoopKvEQTZXnKb8UXZE/OX3LTpeXeXnUOtsYL+xZ558A4VT+mfSibkD4Zt1CM7lPl0dhW+RuAgu4m6FET5G0Tiidqdybdd5gIxkwd0C8jq7UqGAu7z7VuOXaY0ryxcN4GWh4gyw84wHx8kgVdtqKtPs1xGyEbunpWstqobuG4i8KpIssGRVKET8dp0i+YjElX46uNTKLnOHKoy27ksm9McUdFSt7T1jkp/Dk2l5yGQe4GlRpfcQLprddIPFR4+0K+1VMLdlnEqnLyjqJgF0YYyBs8pxiUfBi7RmaTWP1XgbTiVE/xdvL83WxsEGpaSz8OQbCbDxJJe+M295q2hBmxp0NmZFPnHfBHGiVFFVQkruJIhIvtRUqmuS9paaG8LUDUVWfVVKNCEaEI0IRoQjQhcuWFtepfXV6RO/fWuM84/5RJUfSQ14stqPZQy4cvmXXrpj+l0dB4j0m9ctv4ktty6jRKbJ2a8iuotc9Yepd3w5i3R7FGYmXaar7xsvg44IxYzam6fFs2ySnbWvYha6nluhbOSXkhopzlZ9RMWUperfi+QN5Bi9vvcVBrOji6gV8IuKlDBV3/CaKOsU8OXIWHYU1j8TQUnwPJrzLxZ265c9bYrzcgwV6HIbOMLfhQObiOOAJKRUpz7Kd+nauBgkwxBxs2i1UieS2rqLNmWaRrVjF6uFolRJlztUdJCxVNHePNU4K6DZiaCXduldV02lL5GtcCGuKmSSjSReEr6R9TRzezOrMbbi3yGqesitoQgrbniadbE1IuJDt2rv7007zHQ5DrLWG7sVYJsYtvUvpvmd0yf8AqD17TDX0q6PwI/kCY8mmqcVPmZ1LfelE+zVNbpmxYMNe80FTDIXVrsKsH9TY39R+m/Vof1GtPReoa8+taU8vlz/JrNkSYcWE4d9LEzG2tK2qUdxt4TggHKZGc4HmNxFcFHSBK+IW68lTwrvTu1TA6mKlm9TUVovQuEA5pwQktFNbFHHIqGKuiC0oRBXkibpvTRgNK0sRUVosSXqzLJKKk+OsoHBZNhHQ8xHCRVEFGteSoKqiduy6tlOpWhooxDepmlqy5n/tsbS39RrxbZScJjcJ5mipReTMhtDH37V+GvV+dnFA1wuqOgrm6Ox5C6Y15RdJaIduuRX3q7fb1Z8bTJoFkYWyNtFLZiACnVHS5PckPkvmj4U/Cu+vQiNkemaxz8suOK4niu5FhxF0hIGKlicf2+3CfBYvmFXVkok+ySfOaiuGLhAzI3UEIfCSCacuSbLz0nzhgcWytNQ4dHp6lfSkirTsVMxYUX+2bJEVEVPVku/tRyMqa3aj/fZxdqQz8gq2ScLsOPdCblKgMUn3K0sv3CYSkpvG4guLWqqiIimtETWJuqfJrACbGvNAnGMNiNNoSm5Wm4YrYsN6m2FojWParfHyOIG3nxSjtjzX3JQVXu8Jdy6eyRsz5NO/a52E7jU+nOqFpaGvG4VULH8hlMdKOo96srpg4/d3DjPhUTFqS40JGneKo24q17tXmhB1MLH/AAdFVVj/AMNxG9O53Tbp810RW6BFaGcFqG4N3av78pStI4KeZXsJ1eHH4dukM10x1eGtmKlNlP6JhhZlV4EvmTrlHsXTHqHONVkQ3RgXWSX4iivqTYuGv+mJbr2qWmNY0vmgFxtHGFUk0Y8pfZ79Lt2bxuqc15RsOQ3KbbDItkGGACEUlX5mVr8n3NkhDoTpx42Na7l29PrVWuo7MNxJC8C1XcOlbvUIRpdnsgbyNxO9WWXTZAPlQniP5V0GRv6jI93LwdfUjCcvHtxVXR+vLrorn/qfj90wLqJF6kWeOT9qeeQ7o0GyA44nlvCXsF4SVUJew/hr0mgmbqIDA496lnVzdCwTMMb8YuW8bLerZfbSxdLXIR+FLDk08FKpXtRUWtCFdlRexdeflidG4tcLQtrXBwqFAw3CrNiNtet9qV025D5yX3ZBo46bhoiKpEiD3Cmm6nVPmdidsFFWOMMFAvkMHsreaOZg0Tzd2ej+lfETRGXG0RETmPGtfAPf3JoOqeYso+GtUZQxYtqWwOlOMQsKmYeyclbTOcV14icFXuSqC+E+FE/hp3aa/wAwkdKJTTEFUQNDcOxT8htGON4WVhusg49mWO3BVzlRzgIoIoioK+Kg/o6yO1uS/ON9a3E38AVnNGGhuWO1XHDgsMWwsPLLtrUYLeAONuGhtACMoJrwQVqKUXXPl87hxmQuINcXhdx7lLACA0cShYrhWE41ZZ9lhI6/bbkZHKYlITqEhgjZB+AfDxTv1XUf9fp5Xh5f3m7mP+lMZoi0EAWHhCpw9NulfEYp3m8uWYHfOCxm7IWChVrsCMofx51+3XR/l0d9W4viwOr0Jv7FLus3Ym9qf5PknSq74+9i1wkutW9BbZRpiJKFWkYIVBG1RkhTjwRNu7S9P5q1rxK028R2rd/HdU9lMAoftM+pKLrdeis3DY2HSJ0oLVERryFbizEdQmlrz5+nVORVXlt3rrZD5i/MMzfEUiXyGdowOb95vanI5t0rLEHLIkx36G1HC1mPpJnJG3GjAE/g1VVBsvFTt+Gl5zszM96tVH7VNTBh2fE3tWxNJWNY5UWNLjOxpTQPxnhUHmXBQwMSSiiQrVFRdS1xBqL1BFVrxrpdd8YnOzun11G3syC5ybDcEN+AZe0SFfNa96VX7aba6Z17ZRSdtae8LHdhWfILTVh5NisMXIMyaDjcsWccdHbnbZcV4CX2p6o4ZImszoYj4X/MD1YkwPdtHp6lPC73l7wtWOQya0oUt6KDfxJh2SX7GlZbB7w5AesBWxHckuU9TbDiMIzyKQyNzKqsWqEavvEip4U8SNqlf0iEU1o0+hfMe4Dh3mwKj5gwW3rWIYfnvVy9s3fJwcsOKMLWFAWqOkC7+ACRPEafidNPlSm2usdTDo2YY+/Ibz6dCzZb5TV1jVvS02m3Wi2x7bbWBjQYoI2wwCbCib/FVXdVXdV3156SRz3FzjUlbmtAFApeqKUaEI0IRoQjQhLvKyId/UxHf1PIda/a85z/AC6bVm48/sVbV8lIydBLjAhESU4VmOii+2v/ABSp+XU0j3nmH1Iq7d6cywlKzGi8bXblKmyLcH0Sv/SXU4Yvid8o+pRV24c/sUV1zqM8lGY9nhKveb8qYifBGYdfv1cCAXl55AOsqO/wJFe8cyl2Kb2QZfObhLucXH4BMmntRDaSZJVNaIp4waMjbX7bv8QluY7a48gS3p+30LbuShYHYz18E1RXbgjqTSdruoesEC5V/lppusOsLe/XBwXfd61WLKrZetpa5C1I0IRoQjQhGhCNCEaEL//Z",fd="/static/monitor-map/carb-compact.jpg",md="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAACXBIWXMAAAsSAAALEgHS3X78AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTAxLTA2VDIxOjUyOjI5KzAwOjAwSQXdiwAAArVQTFRF////mDOP6dPnxYzAmzmS6tXouHOymDSPmjeRt3GxnT2U8+jymjaRnT6Vo0mb9ev0mziSnDqTw4i+/v3+zJnHypbF3LrZ69fpnDuTnkCWoUWZ5MrimTWQp1CfyJPEzZzJyZXF8uXxwIK6/vz+pk+e9OnzuXWzsWWq8eTw5c3j8OHvy5nHypfG1avRtW2vzp/K79/unDyUmzqTrl+n/fv9qlejpEucnTyUnT2Vokea+fP4mjiRn0GX7t7tmTaRtGuumjiSp1Gf/Pn8yZTE3bzapk6e6dToyJHDuXSzsmarzJvIwIO76NHmrV2mzJrHqFKgy5jGsmis0aTNv4C56dTnpEqc48fgoUaZ37/cvXy38OLvvn64yJLDvHq2+vX64sXf1KrQ06nQ8ePw/v7+s2mt2rXW7dzs4cPe2bXWvn+5xIq/+fT5x5DCxo7B8OHuu3i148nhpUyduHKxzp7K4sbgqFOhune0mTaQ3r3b9/D3+vb6nj+WoEKXn0KX9ez0mTSQ5czj+PD3vHu3pU2dz6DLr2CowYW85MnhsmersWWroEOY9u313bva79/tvHu2o0qb/Pj70KPN6tbpnj6V48jh/fz9sGOq7dvrqVWi7tzs1KrRtGyu16/T7Nrr7+Du58/lypXFypbGoUSZ9+/2xIu/+PH4sGOpp1Kgv4G6n0CWy5fG4MLe+/f7+PH3woa9r2Kp06jP8ubx3LnZs2msune1x5HC+fP5z5/KsWSqw4i9zZzIokaa9Orzy5jH1KvRpU6dz6HLt3Cw1azS17DU7NnqtGutsGSqtGqtxY3AtWyu3r/cxo/B3r7ctW6v2LHU38Dd0aPN9ez117DTpEydtm+w8+fy0qbOwoe9mDSQs2isvX24x5HD69jpoEOXuna05cvj//7/uHKysGKpu3m2/Pr8u3m1wIG6s+L4kwAAAjpJREFUSMdjYBgFdAQGPkwGykSrNklsrTG3qPUNmkCcettl1jySfHySHBzG04lRH7XcYREzax2/uLslh+tMIjTYc6hoQlisMzimTcWveP4CoRUrbeJhXKZwhzl4PevNJcPOwhKLEBGSmY1PQxsPb0ewumwIQmSKeT/zxAZc4evGy1sMpOKQhBQlBWXqDY0rsGtQ4OjEEJP3aAqU4jCUw6JcsU+KJxp7vJRJsMhjiE6S5eAyLcHhWCEjGyY0oUZTAcceYZzB4VkeiSbizGMmjif8XIyaK1EEqkoFWvAFOLclLyuKgHh1Vy8+DVYqgtIoAtISfPz4NPDzcaH6mnWyVBI+DRGCZt2oVsqyJOBNwXZqaCJL7Pw34lYvJ2HRjh4Mriy+PriCSInLmhlDNGw3x90ruQoBIn5eXn4iItp7A1bpLBRVcI5h3hIqwKKExZwQdcEbjIzsqIARCNgF/Gdhtzr+9i01Nk4IKHrIBgQeaveeRueKbaNKyXUxPz8WOfYzUsFUeqTyE9E4bBq0Luddu3lHI1szquCM5qmEBzo6DIfFGBiKuAoYErnvb1qMoUFj/6VMpeuHjpy8UHjuWNYJIX39nJ16+67q6T5LfhQRHrMUU0OoiK5wVoYWW9BphrN52YGiojvk3HUPqDwuTEo5vxmLk+Y5ArPPdnXvg/o5DEeDM7fuktdex+yyXoxbT/u4WAoWDU5MyUBiNavWHkUGzw1hwqqqDOnSa9wYGFTT0tbOJRBiqfyj9d2wAwA8Loee6z0+HQAAAABJRU5ErkJggg==",_d="/static/monitor-map/icon-128.webp";class gd{constructor(t){this.data=t,this.logo=function(t){switch(t.data.data_source.name){case"AQview":return{url:fd,alt:"AQview"};case"AirNow.gov":return{url:pd,alt:"AirNow.gov"};case"PurpleAir":return{url:md,alt:"PurpleAir"};case"Central California Asthma Collaborative":return{url:_d,alt:"Central California Asthma Collaborative"};case"AirGradient":return{url:dd,alt:"PurpleAir"}}}(t)}logo}class vd{constructor(t){this.data=t}}var yd,bd={exports:{}};
|
|
30
|
+
*/(t);if(!i)return;const o=e._component;m(o)||o.render||o.template||(o.template=i.innerHTML),1===i.nodeType&&(i.textContent="");const s=n(i,!1,function(t){if(t instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&t instanceof MathMLElement)return"mathml"}(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},e};const zr="undefined"!=typeof document;function Ir(t){return"object"==typeof t||"displayName"in t||"props"in t||"__vccOpts"in t}const Rr=Object.assign;function Br(t,e){const n={};for(const i in e){const o=e[i];n[i]=Zr(o)?o.map(t):t(o)}return n}const jr=()=>{},Zr=Array.isArray,Nr=/#/g,Dr=/&/g,Fr=/\//g,Ur=/=/g,Hr=/\?/g,$r=/\+/g,Vr=/%5B/g,Gr=/%5D/g,qr=/%5E/g,Wr=/%60/g,Yr=/%7B/g,Kr=/%7C/g,Jr=/%7D/g,Xr=/%20/g;function Qr(t){return encodeURI(""+t).replace(Kr,"|").replace(Vr,"[").replace(Gr,"]")}function ta(t){return Qr(t).replace($r,"%2B").replace(Xr,"+").replace(Nr,"%23").replace(Dr,"%26").replace(Wr,"`").replace(Yr,"{").replace(Jr,"}").replace(qr,"^")}function ea(t){return ta(t).replace(Ur,"%3D")}function na(t){return null==t?"":function(t){return Qr(t).replace(Nr,"%23").replace(Hr,"%3F")}(t).replace(Fr,"%2F")}function ia(t){try{return decodeURIComponent(""+t)}catch(e){}return""+t}const oa=/\/$/;function sa(t,e,n="/"){let i,o={},s="",r="";const a=e.indexOf("#");let l=e.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(i=e.slice(0,l),s=e.slice(l+1,a>-1?a:e.length),o=t(s)),a>-1&&(i=i||e.slice(0,a),r=e.slice(a,e.length)),i=function(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),i=t.split("/"),o=i[i.length-1];".."!==o&&"."!==o||i.push("");let s,r,a=n.length-1;for(s=0;s<i.length;s++)if(r=i[s],"."!==r){if(".."!==r)break;a>1&&a--}return n.slice(0,a).join("/")+"/"+i.slice(s).join("/")}(null!=i?i:e,n),{fullPath:i+(s&&"?")+s+r,path:i,query:o,hash:ia(r)}}function ra(t,e){return e&&t.toLowerCase().startsWith(e.toLowerCase())?t.slice(e.length)||"/":t}function aa(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function la(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!ca(t[n],e[n]))return!1;return!0}function ca(t,e){return Zr(t)?ua(t,e):Zr(e)?ua(e,t):t===e}function ua(t,e){return Zr(e)?t.length===e.length&&t.every((t,n)=>t===e[n]):1===t.length&&t[0]===e}const ha={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var da,pa,fa,ma;function _a(t){if(!t)if(zr){const e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),t.replace(oa,"")}(pa=da||(da={})).pop="pop",pa.push="push",(ma=fa||(fa={})).back="back",ma.forward="forward",ma.unknown="";const ga=/^[^#]+#/;function va(t,e){return t.replace(ga,"#")+e}const ya=()=>({left:window.scrollX,top:window.scrollY});function ba(t){let e;if("el"in t){const n=t.el,i="string"==typeof n&&n.startsWith("#"),o="string"==typeof n?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;e=function(t,e){const n=document.documentElement.getBoundingClientRect(),i=t.getBoundingClientRect();return{behavior:e.behavior,left:i.left-n.left-(e.left||0),top:i.top-n.top-(e.top||0)}}(o,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.scrollX,null!=e.top?e.top:window.scrollY)}function wa(t,e){return(history.state?history.state.position-e:-1)+t}const xa=new Map;function La(t,e){const{pathname:n,search:i,hash:o}=e,s=t.indexOf("#");if(s>-1){let e=o.includes(t.slice(s))?t.slice(s).length:1,n=o.slice(e);return"/"!==n[0]&&(n="/"+n),ra(n,"")}return ra(n,t)+i+o}function Ca(t,e,n,i=!1,o=!1){return{back:t,current:e,forward:n,replaced:i,position:window.history.length,scroll:o?ya():null}}function Pa(t){const{history:e,location:n}=window,i={value:La(t,n)},o={value:e.state};function s(i,s,r){const a=t.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?t:t.slice(a))+i:location.protocol+"//"+location.host+t+i;try{e[r?"replaceState":"pushState"](s,"",l),o.value=s}catch(c){console.error(c),n[r?"replace":"assign"](l)}}return o.value||s(i.value,{back:null,current:i.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0),{location:i,state:o,push:function(t,n){const r=Rr({},o.value,e.state,{forward:t,scroll:ya()});s(r.current,r,!0),s(t,Rr({},Ca(i.value,t,null),{position:r.position+1},n),!1),i.value=t},replace:function(t,n){s(t,Rr({},e.state,Ca(o.value.back,t,o.value.forward,!0),n,{position:o.value.position}),!0),i.value=t}}}function Sa(t){return"string"==typeof t||"symbol"==typeof t}const Ta=Symbol("");var Ma,ka;function Aa(t,e){return Rr(new Error,{type:t,[Ta]:!0},e)}function Ea(t,e){return t instanceof Error&&Ta in t&&(null==e||!!(t.type&e))}(ka=Ma||(Ma={}))[ka.aborted=4]="aborted",ka[ka.cancelled=8]="cancelled",ka[ka.duplicated=16]="duplicated";const Oa="[^/]+?",za={sensitive:!1,strict:!1,start:!0,end:!0},Ia=/[.+*?^${}()[\]/\\]/g;function Ra(t,e){let n=0;for(;n<t.length&&n<e.length;){const i=e[n]-t[n];if(i)return i;n++}return t.length<e.length?1===t.length&&80===t[0]?-1:1:t.length>e.length?1===e.length&&80===e[0]?1:-1:0}function Ba(t,e){let n=0;const i=t.score,o=e.score;for(;n<i.length&&n<o.length;){const t=Ra(i[n],o[n]);if(t)return t;n++}if(1===Math.abs(o.length-i.length)){if(ja(i))return 1;if(ja(o))return-1}return o.length-i.length}function ja(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const Za={type:0,value:""},Na=/[a-zA-Z0-9_]/;function Da(t,e,n){const i=function(t,e){const n=Rr({},za,e),i=[];let o=n.start?"^":"";const s=[];for(const l of t){const t=l.length?[]:[90];n.strict&&!l.length&&(o+="/");for(let e=0;e<l.length;e++){const i=l[e];let r=40+(n.sensitive?.25:0);if(0===i.type)e||(o+="/"),o+=i.value.replace(Ia,"\\$&"),r+=40;else if(1===i.type){const{value:t,repeatable:n,optional:c,regexp:u}=i;s.push({name:t,repeatable:n,optional:c});const h=u||Oa;if(h!==Oa){r+=10;try{new RegExp(`(${h})`)}catch(a){throw new Error(`Invalid custom RegExp for param "${t}" (${h}): `+a.message)}}let d=n?`((?:${h})(?:/(?:${h}))*)`:`(${h})`;e||(d=c&&l.length<2?`(?:/${d})`:"/"+d),c&&(d+="?"),o+=d,r+=20,c&&(r+=-8),n&&(r+=-20),".*"===h&&(r+=-50)}t.push(r)}i.push(t)}if(n.strict&&n.end){const t=i.length-1;i[t][i[t].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const r=new RegExp(o,n.sensitive?"":"i");return{re:r,score:i,keys:s,parse:function(t){const e=t.match(r),n={};if(!e)return null;for(let i=1;i<e.length;i++){const t=e[i]||"",o=s[i-1];n[o.name]=t&&o.repeatable?t.split("/"):t}return n},stringify:function(e){let n="",i=!1;for(const o of t){i&&n.endsWith("/")||(n+="/"),i=!1;for(const t of o)if(0===t.type)n+=t.value;else if(1===t.type){const{value:s,repeatable:r,optional:a}=t,l=s in e?e[s]:"";if(Zr(l)&&!r)throw new Error(`Provided param "${s}" is an array but it is not repeatable (* or + modifiers)`);const c=Zr(l)?l.join("/"):l;if(!c){if(!a)throw new Error(`Missing required param "${s}"`);o.length<2&&(n.endsWith("/")?n=n.slice(0,-1):i=!0)}n+=c}}return n||"/"}}}(function(t){if(!t)return[[]];if("/"===t)return[[Za]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(t){throw new Error(`ERR (${n})/"${c}": ${t}`)}let n=0,i=n;const o=[];let s;function r(){s&&o.push(s),s=[]}let a,l=0,c="",u="";function h(){c&&(0===n?s.push({type:0,value:c}):1===n||2===n||3===n?(s.length>1&&("*"===a||"+"===a)&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):e("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l<t.length;)if(a=t[l++],"\\"!==a||2===n)switch(n){case 0:"/"===a?(c&&h(),r()):":"===a?(h(),n=1):d();break;case 4:d(),n=i;break;case 1:"("===a?n=2:Na.test(a)?d():(h(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--);break;case 2:")"===a?"\\"==u[u.length-1]?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:h(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--,u="";break;default:e("Unknown state")}else i=n,n=4;return 2===n&&e(`Unfinished custom RegExp for param "${c}"`),h(),r(),o}(t.path),n),o=Rr(i,{record:t,parent:e,children:[],alias:[]});return e&&!o.record.aliasOf==!e.record.aliasOf&&e.children.push(o),o}function Fa(t,e){const n=[],i=new Map;function o(t,n,i){const a=!i,l=Ha(t);l.aliasOf=i&&i.record;const c=qa(e,t),u=[l];if("alias"in t){const e="string"==typeof t.alias?[t.alias]:t.alias;for(const t of e)u.push(Ha(Rr({},l,{components:i?i.record.components:l.components,path:t,aliasOf:i?i.record:l})))}let h,d;for(const e of u){const{path:u}=e;if(n&&"/"!==u[0]){const t=n.record.path,i="/"===t[t.length-1]?"":"/";e.path=n.record.path+(u&&i+u)}if(h=Da(e,n,c),i?i.alias.push(h):(d=d||h,d!==h&&d.alias.push(h),a&&t.name&&!Va(h)&&s(t.name)),Wa(h)&&r(h),l.children){const t=l.children;for(let e=0;e<t.length;e++)o(t[e],h,i&&i.children[e])}i=i||h}return d?()=>{s(d)}:jr}function s(t){if(Sa(t)){const e=i.get(t);e&&(i.delete(t),n.splice(n.indexOf(e),1),e.children.forEach(s),e.alias.forEach(s))}else{const e=n.indexOf(t);e>-1&&(n.splice(e,1),t.record.name&&i.delete(t.record.name),t.children.forEach(s),t.alias.forEach(s))}}function r(t){const e=function(t,e){let n=0,i=e.length;for(;n!==i;){const o=n+i>>1;Ba(t,e[o])<0?i=o:n=o+1}const o=function(t){let e=t;for(;e=e.parent;)if(Wa(e)&&0===Ba(t,e))return e;return}(t);o&&(i=e.lastIndexOf(o,i-1));return i}(t,n);n.splice(e,0,t),t.record.name&&!Va(t)&&i.set(t.record.name,t)}return e=qa({strict:!1,end:!0,sensitive:!1},e),t.forEach(t=>o(t)),{addRoute:o,resolve:function(t,e){let o,s,r,a={};if("name"in t&&t.name){if(o=i.get(t.name),!o)throw Aa(1,{location:t});r=o.record.name,a=Rr(Ua(e.params,o.keys.filter(t=>!t.optional).concat(o.parent?o.parent.keys.filter(t=>t.optional):[]).map(t=>t.name)),t.params&&Ua(t.params,o.keys.map(t=>t.name))),s=o.stringify(a)}else if(null!=t.path)s=t.path,o=n.find(t=>t.re.test(s)),o&&(a=o.parse(s),r=o.record.name);else{if(o=e.name?i.get(e.name):n.find(t=>t.re.test(e.path)),!o)throw Aa(1,{location:t,currentLocation:e});r=o.record.name,a=Rr({},e.params,t.params),s=o.stringify(a)}const l=[];let c=o;for(;c;)l.unshift(c.record),c=c.parent;return{name:r,path:s,params:a,matched:l,meta:Ga(l)}},removeRoute:s,clearRoutes:function(){n.length=0,i.clear()},getRoutes:function(){return n},getRecordMatcher:function(t){return i.get(t)}}}function Ua(t,e){const n={};for(const i of e)i in t&&(n[i]=t[i]);return n}function Ha(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:$a(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function $a(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const i in t.components)e[i]="object"==typeof n?n[i]:n;return e}function Va(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Ga(t){return t.reduce((t,e)=>Rr(t,e.meta),{})}function qa(t,e){const n={};for(const i in t)n[i]=i in e?e[i]:t[i];return n}function Wa({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function Ya(t){const e={};if(""===t||"?"===t)return e;const n=("?"===t[0]?t.slice(1):t).split("&");for(let i=0;i<n.length;++i){const t=n[i].replace($r," "),o=t.indexOf("="),s=ia(o<0?t:t.slice(0,o)),r=o<0?null:ia(t.slice(o+1));if(s in e){let t=e[s];Zr(t)||(t=e[s]=[t]),t.push(r)}else e[s]=r}return e}function Ka(t){let e="";for(let n in t){const i=t[n];if(n=ea(n),null==i){void 0!==i&&(e+=(e.length?"&":"")+n);continue}(Zr(i)?i.map(t=>t&&ta(t)):[i&&ta(i)]).forEach(t=>{void 0!==t&&(e+=(e.length?"&":"")+n,null!=t&&(e+="="+t))})}return e}function Ja(t){const e={};for(const n in t){const i=t[n];void 0!==i&&(e[n]=Zr(i)?i.map(t=>null==t?null:""+t):null==i?i:""+i)}return e}const Xa=Symbol(""),Qa=Symbol(""),tl=Symbol(""),el=Symbol(""),nl=Symbol("");function il(){let t=[];return{add:function(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}},list:()=>t.slice(),reset:function(){t=[]}}}function ol(t,e,n,i,o,s=t=>t()){const r=i&&(i.enterCallbacks[o]=i.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const c=t=>{var s;!1===t?l(Aa(4,{from:n,to:e})):t instanceof Error?l(t):"string"==typeof(s=t)||s&&"object"==typeof s?l(Aa(2,{from:e,to:t})):(r&&i.enterCallbacks[o]===r&&"function"==typeof t&&r.push(t),a())},u=s(()=>t.call(i&&i.instances[o],e,n,c));let h=Promise.resolve(u);t.length<3&&(h=h.then(c)),h.catch(t=>l(t))})}function sl(t,e,n,i,o=t=>t()){const s=[];for(const r of t)for(const t in r.components){let a=r.components[t];if("beforeRouteEnter"===e||r.instances[t])if(Ir(a)){const l=(a.__vccOpts||a)[e];l&&s.push(ol(l,n,i,r,t,o))}else{let l=a();s.push(()=>l.then(s=>{if(!s)throw new Error(`Couldn't resolve component "${t}" at "${r.path}"`);const a=(l=s).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&Ir(l.default)?s.default:s;var l;r.mods[t]=s,r.components[t]=a;const c=(a.__vccOpts||a)[e];return c&&ol(c,n,i,r,t,o)()}))}}return s}function rl(t){const e=Zi(tl),n=Zi(el),i=ys(()=>{const n=Te(t.to);return e.resolve(n)}),o=ys(()=>{const{matched:t}=i.value,{length:e}=t,o=t[e-1],s=n.matched;if(!o||!s.length)return-1;const r=s.findIndex(aa.bind(null,o));if(r>-1)return r;const a=ll(t[e-2]);return e>1&&ll(o)===a&&s[s.length-1].path!==a?s.findIndex(aa.bind(null,t[e-2])):r}),s=ys(()=>o.value>-1&&function(t,e){for(const n in e){const i=e[n],o=t[n];if("string"==typeof i){if(i!==o)return!1}else if(!Zr(o)||o.length!==i.length||i.some((t,e)=>t!==o[e]))return!1}return!0}(n.params,i.value.params)),r=ys(()=>o.value>-1&&o.value===n.matched.length-1&&la(n.params,i.value.params));return{route:i,href:ys(()=>i.value.href),isActive:s,isExactActive:r,navigate:function(n={}){if(function(t){if(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)return;if(t.defaultPrevented)return;if(void 0!==t.button&&0!==t.button)return;if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}t.preventDefault&&t.preventDefault();return!0}(n)){const n=e[Te(t.replace)?"replace":"push"](Te(t.to)).catch(jr);return t.viewTransition&&"undefined"!=typeof document&&"startViewTransition"in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}}}const al=Zn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:rl,setup(t,{slots:e}){const n=de(rl(t)),{options:i}=Zi(tl),o=ys(()=>({[cl(t.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[cl(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=e.default&&(1===(s=e.default(n)).length?s[0]:s);var s;return t.custom?i:bs("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}});function ll(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const cl=(t,e,n)=>null!=t?t:null!=e?e:n;function ul(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}const hl=Zn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const i=Zi(nl),o=ys(()=>t.route||i.value),s=Zi(Qa,0),r=ys(()=>{let t=Te(s);const{matched:e}=o.value;let n;for(;(n=e[t])&&!n.components;)t++;return t}),a=ys(()=>o.value.matched[r.value]);ji(Qa,ys(()=>r.value+1)),ji(Xa,a),ji(nl,o);const l=Ce();return lo(()=>[l.value,a.value,t.name],([t,e,n],[i,o,s])=>{e&&(e.instances[n]=t,o&&o!==e&&t&&t===i&&(e.leaveGuards.size||(e.leaveGuards=o.leaveGuards),e.updateGuards.size||(e.updateGuards=o.updateGuards))),!t||!e||o&&aa(e,o)&&i||(e.enterCallbacks[n]||[]).forEach(e=>e(t))},{flush:"post"}),()=>{const i=o.value,s=t.name,r=a.value,c=r&&r.components[s];if(!c)return ul(n.default,{Component:c,route:i});const u=r.props[s],h=u?!0===u?i.params:"function"==typeof u?u(i):u:null,d=bs(c,Rr({},h,e,{onVnodeUnmounted:t=>{t.component.isUnmounted&&(r.instances[s]=null)},ref:l}));return ul(n.default,{Component:d,route:i})||d}}});function dl(){return Zi(tl)}const pl={class:"sjvair-monitor-map"},fl=(t,e)=>{const n=t.__vccOpts||t;for(const[i,o]of e)n[i]=o;return n},ml=fl(Zn({__name:"App",setup:t=>(t,e)=>(Ro(),Do("div",pl,[qo(Te(hl),null,{default:un(({Component:t})=>[t?(Ro(),Fo(Co,{key:0},{fallback:un(()=>e[0]||(e[0]=[Go("div",null,null,-1)])),default:un(()=>[(Ro(),Fo(ri(t)))]),_:2},1024)):Jo("",!0)]),_:1})]))}),[["__scopeId","data-v-362f6941"]]),_l={},gl=function(t,e,n){let i=Promise.resolve();if(e&&e.length>0){document.getElementsByTagName("link");const t=document.querySelector("meta[property=csp-nonce]"),n=t?.nonce||t?.getAttribute("nonce");o=e.map(t=>{if((t=function(t){return"/static/monitor-map/"+t}(t))in _l)return;_l[t]=!0;const e=t.endsWith(".css"),i=e?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${i}`))return;const o=document.createElement("link");return o.rel=e?"stylesheet":"modulepreload",e||(o.as="script"),o.crossOrigin="",o.href=t,n&&o.setAttribute("nonce",n),document.head.appendChild(o),e?new Promise((e,n)=>{o.addEventListener("load",e),o.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${t}`)))}):void 0}),i=Promise.all(o.map(t=>Promise.resolve(t).then(t=>({status:"fulfilled",value:t}),t=>({status:"rejected",reason:t}))))}var o;function s(t){const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=t,window.dispatchEvent(e),!e.defaultPrevented)throw t}return i.then(e=>{for(const t of e||[])"rejected"===t.status&&s(t.reason);return t().catch(s)})};const vl={mounted(t,e){t.clickOutsideEvent=function(n){t===n.target||t.contains(n.target)||e.value(n)},document.body.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.body.removeEventListener("click",t.clickOutsideEvent)}};class yl{containerClass;icon;svg;label;constructor(t){if(t.icon&&t.svg)throw new Error(`Error constructing "${t.label}" display option: Cannot accept both "icon" and "svg".`);this.containerClass=t.containerClass||"",this.icon=t.icon,this.svg=t.svg,this.label=t.label}}class bl extends yl{static defineOptions(t){return Object.entries(t).reduce((t,e)=>(t[e[0]]=new this(e[1]),t),{})}labelClass="checkbox";model;constructor(t){super(t),this.model=Ce(t.model)}}class wl extends yl{static defineOptions(t){const e=Ce("");return Object.entries(t).reduce((t,n)=>(n[1].isDefault&&(e.value=n[0]),t[n[0]]=new this(e,...n),t),{})}labelClass="radio";model;value;constructor(t,e,n){super(n),this.model=t,this.value=e}}const xl={class:"display-item"},Ll={class:"display-group-label"},Cl=["onUpdate:modelValue"],Pl=["value","onUpdate:modelValue"],Sl={translate:"no",class:"material-symbols-outlined"},Tl={class:"option-label has-text-black"},Ml=Zn({__name:"DisplayOption",props:{props:{}},setup:t=>(t,e)=>(Ro(),Do("div",xl,[Go("p",Ll,X(t.props.label),1),(Ro(!0),Do(ko,null,li(t.props.options,t=>(Ro(),Do("div",{class:V(["dropdown-item",t.containerClass])},[Go("label",{class:V(t.labelClass)},[t instanceof Te(bl)?hn((Ro(),Do("input",{key:0,type:"checkbox","onUpdate:modelValue":e=>t.model.value=e},null,8,Cl)),[[vr,t.model.value]]):t instanceof Te(wl)?hn((Ro(),Do("input",{key:1,type:"radio",value:t.value,"onUpdate:modelValue":e=>t.model.value=e},null,8,Pl)),[[br,t.model.value]]):Jo("",!0),t.icon?(Ro(),Do("span",{key:2,class:V(["icon",t.icon.class])},[Go("span",Sl,X(t.icon.id),1)],2)):t.svg?(Ro(),Do("span",{key:3,class:V(["icon",t.svg])},null,2)):Jo("",!0),Go("span",Tl,X(t.label),1)],2)],2))),256))]))});function kl(t,e,n){return Math.min(Math.max(t,n),e)}class Al extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}}var El=Al;function Ol(t){if("string"!=typeof t)throw new El(t);if("transparent"===t.trim().toLowerCase())return[0,0,0,0];let e=t.trim();e=Dl.test(t)?function(t){const e=t.toLowerCase().trim(),n=Il[function(t){let e=5381,n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return(e>>>0)%2341}(e)];if(!n)throw new El(t);return`#${n}`}(t):t;const n=Bl.exec(e);if(n){const t=Array.from(n).slice(1);return[...t.slice(0,3).map(t=>parseInt(Rl(t,2),16)),parseInt(Rl(t[3]||"f",2),16)/255]}const i=jl.exec(e);if(i){const t=Array.from(i).slice(1);return[...t.slice(0,3).map(t=>parseInt(t,16)),parseInt(t[3]||"ff",16)/255]}const o=Zl.exec(e);if(o){const t=Array.from(o).slice(1);return[...t.slice(0,3).map(t=>parseInt(t,10)),parseFloat(t[3]||"1")]}const s=Nl.exec(e);if(s){const[e,n,i,o]=Array.from(s).slice(1).map(parseFloat);if(kl(0,100,n)!==n)throw new El(t);if(kl(0,100,i)!==i)throw new El(t);return[...Ul(e,n,i),Number.isNaN(o)?1:o]}throw new El(t)}const zl=t=>parseInt(t.replace(/_/g,""),36),Il="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((t,e)=>{const n=zl(e.substring(0,3)),i=zl(e.substring(3)).toString(16);let o="";for(let s=0;s<6-i.length;s++)o+="0";return t[n]=`${o}${i}`,t},{});const Rl=(t,e)=>Array.from(Array(e)).map(()=>t).join(""),Bl=new RegExp(`^#${Rl("([a-f0-9])",3)}([a-f0-9])?$`,"i"),jl=new RegExp(`^#${Rl("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Zl=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Rl(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Nl=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Dl=/^[a-z]+$/i,Fl=t=>Math.round(255*t),Ul=(t,e,n)=>{let i=n/100;if(0===e)return[i,i,i].map(Fl);const o=(t%360+360)%360/60,s=(1-Math.abs(2*i-1))*(e/100),r=s*(1-Math.abs(o%2-1));let a=0,l=0,c=0;o>=0&&o<1?(a=s,l=r):o>=1&&o<2?(a=r,l=s):o>=2&&o<3?(l=s,c=r):o>=3&&o<4?(l=r,c=s):o>=4&&o<5?(a=r,c=s):o>=5&&o<6&&(a=s,c=r);const u=i-s/2;return[a+u,l+u,c+u].map(Fl)};function Hl(t,e){const[n,i,o,s]=function(t){const[e,n,i,o]=Ol(t).map((t,e)=>3===e?t:t/255),s=Math.max(e,n,i),r=Math.min(e,n,i),a=(s+r)/2;if(s===r)return[0,0,a,o];const l=s-r;return[60*(e===s?(n-i)/l+(n<i?6:0):n===s?(i-e)/l+2:(e-n)/l+4),a>.5?l/(2-s-r):l/(s+r),a,o]}(t);return function(t,e,n,i){return`hsla(${(t%360).toFixed()}, ${kl(0,100,100*e).toFixed()}%, ${kl(0,100,100*n).toFixed()}%, ${parseFloat(kl(0,1,i).toFixed(3))})`}(n,i,o-e,s)}function $l(t,e,n){const i=(t,e)=>3===e?t:t/255,[o,s,r,a]=Ol(t).map(i),[l,c,u,h]=Ol(e).map(i),d=h-a,p=2*n-1,f=((p*d===-1?p:p+d/(1+p*d))+1)/2,m=1-f;return _=255*(s*m+c*f),g=255*(r*m+u*f),v=h*n+a*(1-n),`rgba(${kl(0,255,255*(o*m+l*f)).toFixed()}, ${kl(0,255,_).toFixed()}, ${kl(0,255,g).toFixed()}, ${parseFloat(kl(0,1,v).toFixed(3))})`;var _,g,v}function Vl(t){return function(t){if("transparent"===t)return 0;function e(t){const e=t/255;return e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}const[n,i,o]=Ol(t);return.2126*e(n)+.7152*e(i)+.0722*e(o)}(t)>.179}function Gl(t){return Vl(t)?"#000":"#fff"}function ql(t){const[e,n,i,o]=Ol(t);let s=t=>{const e=kl(0,255,t).toString(16);return 1===e.length?`0${e}`:e};return`#${s(e)}${s(n)}${s(i)}${o<1?s(Math.round(255*o)):""}`}const Wl={blue:"0000FF",green:"00e400",yellow:"ffff00",orange:"ff7e00",red:"ff0000",purple:"8f3f97",maroon:"7e0023"};function Yl(t,e){const n=e[e.length-1];if(t>=n.min)return`#${n.color}`;if(t<=0)return`#${e[0].color}`;for(let i=0;i<=e.length-1;i++)if(e[i].min>t){const n=e[i-1],o=e[i],s=n.min===-1/0?o.min:o.min-n.min,r=(s-(o.min-t))/s;return $l(`#${n.color}`,`#${o.color}`,r)}return"#FFFFFF"}function Kl(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Jl,Xl={exports:{}};var Ql=(Jl||(Jl=1,Xl.exports=function(){var t=1e3,e=6e4,n=36e5,i="millisecond",o="second",s="minute",r="hour",a="day",l="week",c="month",u="quarter",h="year",d="date",p="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},g=function(t,e,n){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(n)+t},v={s:g,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),o=n%60;return(e<=0?"+":"-")+g(i,2,"0")+":"+g(o,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var i=12*(n.year()-e.year())+(n.month()-e.month()),o=e.clone().add(i,c),s=n-o<0,r=e.clone().add(i+(s?-1:1),c);return+(-(i+(n-o)/(s?o-r:r-o))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:h,w:l,d:a,D:d,h:r,m:s,s:o,ms:i,Q:u}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",b={};b[y]=_;var w="$isDayjsObject",x=function(t){return t instanceof S||!(!t||!t[w])},L=function t(e,n,i){var o;if(!e)return y;if("string"==typeof e){var s=e.toLowerCase();b[s]&&(o=s),n&&(b[s]=n,o=s);var r=e.split("-");if(!o&&r.length>1)return t(r[0])}else{var a=e.name;b[a]=e,o=a}return!i&&o&&(y=o),o||!i&&y},C=function(t,e){if(x(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new S(n)},P=v;P.l=L,P.i=x,P.w=function(t,e){return C(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var S=function(){function _(t){this.$L=L(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[w]=!0}var g=_.prototype;return g.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(P.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(f);if(i){var o=i[2]-1||0,s=(i[7]||"0").substring(0,3);return n?new Date(Date.UTC(i[1],o,i[3]||1,i[4]||0,i[5]||0,i[6]||0,s)):new Date(i[1],o,i[3]||1,i[4]||0,i[5]||0,i[6]||0,s)}}return new Date(e)}(t),this.init()},g.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},g.$utils=function(){return P},g.isValid=function(){return!(this.$d.toString()===p)},g.isSame=function(t,e){var n=C(t);return this.startOf(e)<=n&&n<=this.endOf(e)},g.isAfter=function(t,e){return C(t)<this.startOf(e)},g.isBefore=function(t,e){return this.endOf(e)<C(t)},g.$g=function(t,e,n){return P.u(t)?this[e]:this.set(n,t)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(t,e){var n=this,i=!!P.u(e)||e,u=P.p(t),p=function(t,e){var o=P.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return i?o:o.endOf(a)},f=function(t,e){return P.w(n.toDate()[t].apply(n.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},m=this.$W,_=this.$M,g=this.$D,v="set"+(this.$u?"UTC":"");switch(u){case h:return i?p(1,0):p(31,11);case c:return i?p(1,_):p(0,_+1);case l:var y=this.$locale().weekStart||0,b=(m<y?m+7:m)-y;return p(i?g-b:g+(6-b),_);case a:case d:return f(v+"Hours",0);case r:return f(v+"Minutes",1);case s:return f(v+"Seconds",2);case o:return f(v+"Milliseconds",3);default:return this.clone()}},g.endOf=function(t){return this.startOf(t,!1)},g.$set=function(t,e){var n,l=P.p(t),u="set"+(this.$u?"UTC":""),p=(n={},n[a]=u+"Date",n[d]=u+"Date",n[c]=u+"Month",n[h]=u+"FullYear",n[r]=u+"Hours",n[s]=u+"Minutes",n[o]=u+"Seconds",n[i]=u+"Milliseconds",n)[l],f=l===a?this.$D+(e-this.$W):e;if(l===c||l===h){var m=this.clone().set(d,1);m.$d[p](f),m.init(),this.$d=m.set(d,Math.min(this.$D,m.daysInMonth())).$d}else p&&this.$d[p](f);return this.init(),this},g.set=function(t,e){return this.clone().$set(t,e)},g.get=function(t){return this[P.p(t)]()},g.add=function(i,u){var d,p=this;i=Number(i);var f=P.p(u),m=function(t){var e=C(p);return P.w(e.date(e.date()+Math.round(t*i)),p)};if(f===c)return this.set(c,this.$M+i);if(f===h)return this.set(h,this.$y+i);if(f===a)return m(1);if(f===l)return m(7);var _=(d={},d[s]=e,d[r]=n,d[o]=t,d)[f]||1,g=this.$d.getTime()+i*_;return P.w(g,this)},g.subtract=function(t,e){return this.add(-1*t,e)},g.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var i=t||"YYYY-MM-DDTHH:mm:ssZ",o=P.z(this),s=this.$H,r=this.$m,a=this.$M,l=n.weekdays,c=n.months,u=n.meridiem,h=function(t,n,o,s){return t&&(t[n]||t(e,i))||o[n].slice(0,s)},d=function(t){return P.s(s%12||12,t,"0")},f=u||function(t,e,n){var i=t<12?"AM":"PM";return n?i.toLowerCase():i};return i.replace(m,function(t,i){return i||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return P.s(e.$y,4,"0");case"M":return a+1;case"MM":return P.s(a+1,2,"0");case"MMM":return h(n.monthsShort,a,c,3);case"MMMM":return h(c,a);case"D":return e.$D;case"DD":return P.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(n.weekdaysMin,e.$W,l,2);case"ddd":return h(n.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(s);case"HH":return P.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return f(s,r,!0);case"A":return f(s,r,!1);case"m":return String(r);case"mm":return P.s(r,2,"0");case"s":return String(e.$s);case"ss":return P.s(e.$s,2,"0");case"SSS":return P.s(e.$ms,3,"0");case"Z":return o}return null}(t)||o.replace(":","")})},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(i,d,p){var f,m=this,_=P.p(d),g=C(i),v=(g.utcOffset()-this.utcOffset())*e,y=this-g,b=function(){return P.m(m,g)};switch(_){case h:f=b()/12;break;case c:f=b();break;case u:f=b()/3;break;case l:f=(y-v)/6048e5;break;case a:f=(y-v)/864e5;break;case r:f=y/n;break;case s:f=y/e;break;case o:f=y/t;break;default:f=y}return p?f:P.a(f)},g.daysInMonth=function(){return this.endOf(c).$D},g.$locale=function(){return b[this.$L]},g.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),i=L(t,e,!0);return i&&(n.$L=i),n},g.clone=function(){return P.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},_}(),T=S.prototype;return C.prototype=T,[["$ms",i],["$s",o],["$m",s],["$H",r],["$W",a],["$M",c],["$y",h],["$D",d]].forEach(function(t){T[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),C.extend=function(t,e){return t.$i||(t(e,S,C),t.$i=!0),C},C.locale=L,C.isDayjs=x,C.unix=function(t){return C(1e3*t)},C.en=b[y],C.Ls=b,C.p={},C}()),Xl.exports);const tc=Kl(Ql);var ec,nc={exports:{}};var ic=(ec||(ec=1,nc.exports=function(t,e,n){t=t||{};var i=e.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function s(t,e,n,o){return i.fromToBase(t,e,n,o)}n.en.relativeTime=o,i.fromToBase=function(e,i,s,r,a){for(var l,c,u,h=s.$locale().relativeTime||o,d=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],p=d.length,f=0;f<p;f+=1){var m=d[f];m.d&&(l=r?n(e).diff(s,m.d,!0):s.diff(e,m.d,!0));var _=(t.rounding||Math.round)(Math.abs(l));if(u=l>0,_<=m.r||!m.r){_<=1&&f>0&&(m=d[f-1]);var g=h[m.l];a&&(_=a(""+_)),c="string"==typeof g?g.replace("%d",_):g(_,i,m.l,u);break}}if(i)return c;var v=u?h.future:h.past;return"function"==typeof v?v(c):v.replace("%s",c)},i.to=function(t,e){return s(t,e,this,!0)},i.from=function(t,e){return s(t,e,this)};var r=function(t){return t.$u?n.utc():n()};i.toNow=function(t){return this.to(r(this),t)},i.fromNow=function(t){return this.from(r(this),t)}}),nc.exports);const oc=Kl(ic);var sc,rc={exports:{}};var ac,lc,cc=(sc||(sc=1,rc.exports=(ac={year:0,month:1,day:2,hour:3,minute:4,second:5},lc={},function(t,e,n){var i,o=function(t,e,n){void 0===n&&(n={});var i=new Date(t),o=function(t,e){void 0===e&&(e={});var n=e.timeZoneName||"short",i=t+"|"+n,o=lc[i];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:n}),lc[i]=o),o}(e,n);return o.formatToParts(i)},s=function(t,e){for(var i=o(t,e),s=[],r=0;r<i.length;r+=1){var a=i[r],l=a.type,c=a.value,u=ac[l];u>=0&&(s[u]=parseInt(c,10))}var h=s[3],d=24===h?0:h,p=s[0]+"-"+s[1]+"-"+s[2]+" "+d+":"+s[4]+":"+s[5]+":000",f=+t;return(n.utc(p).valueOf()-(f-=f%1e3))/6e4},r=e.prototype;r.tz=function(t,e){void 0===t&&(t=i);var o,s=this.utcOffset(),r=this.toDate(),a=r.toLocaleString("en-US",{timeZone:t}),l=Math.round((r-new Date(a))/1e3/60),c=15*-Math.round(r.getTimezoneOffset()/15)-l;if(Number(c)){if(o=n(a,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(c,!0),e){var u=o.utcOffset();o=o.add(s-u,"minute")}}else o=this.utcOffset(0,e);return o.$x.$timezone=t,o},r.offsetName=function(t){var e=this.$x.$timezone||n.tz.guess(),i=o(this.valueOf(),e,{timeZoneName:t}).find(function(t){return"timezonename"===t.type.toLowerCase()});return i&&i.value};var a=r.startOf;r.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return a.call(this,t,e);var i=n(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return a.call(i,t,e).tz(this.$x.$timezone,!0)},n.tz=function(t,e,o){var r=o&&e,a=o||e||i,l=s(+n(),a);if("string"!=typeof t)return n(t).tz(a);var c=function(t,e,n){var i=t-60*e*1e3,o=s(i,n);if(e===o)return[i,e];var r=s(i-=60*(o-e)*1e3,n);return o===r?[i,o]:[t-60*Math.min(o,r)*1e3,Math.max(o,r)]}(n.utc(t,r).valueOf(),l,a),u=c[0],h=c[1],d=n(u).utcOffset(h);return d.$x.$timezone=a,d},n.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},n.tz.setDefault=function(t){i=t}})),rc.exports);const uc=Kl(cc);var hc,dc={exports:{}};var pc=(hc||(hc=1,dc.exports=function(){var t="minute",e=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(i,o,s){var r=o.prototype;s.utc=function(t){return new o({date:t,utc:!0,args:arguments})},r.utc=function(e){var n=s(this.toDate(),{locale:this.$L,utc:!0});return e?n.add(this.utcOffset(),t):n},r.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var a=r.parse;r.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),a.call(this,t)};var l=r.init;r.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else l.call(this)};var c=r.utcOffset;r.utcOffset=function(i,o){var s=this.$utils().u;if(s(i))return this.$u?0:s(this.$offset)?c.call(this):this.$offset;if("string"==typeof i&&(i=function(t){void 0===t&&(t="");var i=t.match(e);if(!i)return null;var o=(""+i[0]).match(n)||["-",0,0],s=o[0],r=60*+o[1]+ +o[2];return 0===r?0:"+"===s?r:-r}(i),null===i))return this;var r=Math.abs(i)<=16?60*i:i,a=this;if(o)return a.$offset=r,a.$u=0===i,a;if(0!==i){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(a=this.local().add(r+l,t)).$offset=r,a.$x.$localOffset=l}else a=this.utc();return a};var u=r.format;r.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,e)},r.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},r.isUTC=function(){return!!this.$u},r.toISOString=function(){return this.toDate().toISOString()},r.toString=function(){return this.toDate().toUTCString()};var h=r.toDate;r.toDate=function(t){return"s"===t&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():h.call(this)};var d=r.diff;r.diff=function(t,e,n){if(t&&this.$u===t.$u)return d.call(this,t,e,n);var i=this.local(),o=s(t).local();return d.call(i,o,e,n)}}}()),dc.exports);const fc=Kl(pc);tc.$defaultFormat=function(t){return tc.utc(t).format("YYYY-MM-DD HH:mm:ss")},tc.$prettyPrint=function(t){return tc(t).format("h:mma dddd MMM DD, YYYY")};tc.extend(oc),tc.extend(uc),tc.extend((t,e,n)=>{e.prototype.skewedDiff=function(t,e){const n=Math.abs(this.diff(t))/6e4;return n>e?Math.floor(n):n<e?Math.ceil(n):n}}),tc.extend(fc);const mc=tc;function _c(t,e){return function(){return t.apply(e,arguments)}}const{toString:gc}=Object.prototype,{getPrototypeOf:vc}=Object,{iterator:yc,toStringTag:bc}=Symbol,wc=(xc=Object.create(null),t=>{const e=gc.call(t);return xc[e]||(xc[e]=e.slice(8,-1).toLowerCase())});var xc;const Lc=t=>(t=t.toLowerCase(),e=>wc(e)===t),Cc=t=>e=>typeof e===t,{isArray:Pc}=Array,Sc=Cc("undefined");function Tc(t){return null!==t&&!Sc(t)&&null!==t.constructor&&!Sc(t.constructor)&&Ac(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Mc=Lc("ArrayBuffer");const kc=Cc("string"),Ac=Cc("function"),Ec=Cc("number"),Oc=t=>null!==t&&"object"==typeof t,zc=t=>{if("object"!==wc(t))return!1;const e=vc(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||bc in t||yc in t)},Ic=Lc("Date"),Rc=Lc("File"),Bc=Lc("Blob"),jc=Lc("FileList"),Zc=Lc("URLSearchParams"),[Nc,Dc,Fc,Uc]=["ReadableStream","Request","Response","Headers"].map(Lc);function Hc(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let i,o;if("object"!=typeof t&&(t=[t]),Pc(t))for(i=0,o=t.length;i<o;i++)e.call(null,t[i],i,t);else{if(Tc(t))return;const o=n?Object.getOwnPropertyNames(t):Object.keys(t),s=o.length;let r;for(i=0;i<s;i++)r=o[i],e.call(null,t[r],r,t)}}function $c(t,e){if(Tc(t))return null;e=e.toLowerCase();const n=Object.keys(t);let i,o=n.length;for(;o-- >0;)if(i=n[o],e===i.toLowerCase())return i;return null}const Vc="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Gc=t=>!Sc(t)&&t!==Vc;const qc=(Wc="undefined"!=typeof Uint8Array&&vc(Uint8Array),t=>Wc&&t instanceof Wc);var Wc;const Yc=Lc("HTMLFormElement"),Kc=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Jc=Lc("RegExp"),Xc=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),i={};Hc(n,(n,o)=>{let s;!1!==(s=e(n,o,t))&&(i[o]=s||n)}),Object.defineProperties(t,i)};const Qc=Lc("AsyncFunction"),tu=(eu="function"==typeof setImmediate,nu=Ac(Vc.postMessage),eu?setImmediate:nu?(iu=`axios@${Math.random()}`,ou=[],Vc.addEventListener("message",({source:t,data:e})=>{t===Vc&&e===iu&&ou.length&&ou.shift()()},!1),t=>{ou.push(t),Vc.postMessage(iu,"*")}):t=>setTimeout(t));var eu,nu,iu,ou;const su="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Vc):"undefined"!=typeof process&&process.nextTick||tu,ru={isArray:Pc,isArrayBuffer:Mc,isBuffer:Tc,isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||Ac(t.append)&&("formdata"===(e=wc(t))||"object"===e&&Ac(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&Mc(t.buffer),e},isString:kc,isNumber:Ec,isBoolean:t=>!0===t||!1===t,isObject:Oc,isPlainObject:zc,isEmptyObject:t=>{if(!Oc(t)||Tc(t))return!1;try{return 0===Object.keys(t).length&&Object.getPrototypeOf(t)===Object.prototype}catch(lc){return!1}},isReadableStream:Nc,isRequest:Dc,isResponse:Fc,isHeaders:Uc,isUndefined:Sc,isDate:Ic,isFile:Rc,isBlob:Bc,isRegExp:Jc,isFunction:Ac,isStream:t=>Oc(t)&&Ac(t.pipe),isURLSearchParams:Zc,isTypedArray:qc,isFileList:jc,forEach:Hc,merge:function t(){const{caseless:e}=Gc(this)&&this||{},n={},i=(i,o)=>{const s=e&&$c(n,o)||o;zc(n[s])&&zc(i)?n[s]=t(n[s],i):zc(i)?n[s]=t({},i):Pc(i)?n[s]=i.slice():n[s]=i};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&Hc(arguments[o],i);return n},extend:(t,e,n,{allOwnKeys:i}={})=>(Hc(e,(e,i)=>{n&&Ac(e)?t[i]=_c(e,n):t[i]=e},{allOwnKeys:i}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,i)=>{t.prototype=Object.create(e.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,i)=>{let o,s,r;const a={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),s=o.length;s-- >0;)r=o[s],i&&!i(r,t,e)||a[r]||(e[r]=t[r],a[r]=!0);t=!1!==n&&vc(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:wc,kindOfTest:Lc,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const i=t.indexOf(e,n);return-1!==i&&i===n},toArray:t=>{if(!t)return null;if(Pc(t))return t;let e=t.length;if(!Ec(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[yc]).call(t);let i;for(;(i=n.next())&&!i.done;){const n=i.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const i=[];for(;null!==(n=t.exec(e));)i.push(n);return i},isHTMLForm:Yc,hasOwnProperty:Kc,hasOwnProp:Kc,reduceDescriptors:Xc,freezeMethods:t=>{Xc(t,(e,n)=>{if(Ac(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=t[n];Ac(i)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(t,e)=>{const n={},i=t=>{t.forEach(t=>{n[t]=!0})};return Pc(t)?i(t):i(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,e,n){return e.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:$c,global:Vc,isContextDefined:Gc,isSpecCompliantForm:function(t){return!!(t&&Ac(t.append)&&"FormData"===t[bc]&&t[yc])},toJSONObject:t=>{const e=new Array(10),n=(t,i)=>{if(Oc(t)){if(e.indexOf(t)>=0)return;if(Tc(t))return t;if(!("toJSON"in t)){e[i]=t;const o=Pc(t)?[]:{};return Hc(t,(t,e)=>{const s=n(t,i+1);!Sc(s)&&(o[e]=s)}),e[i]=void 0,o}}return t};return n(t,0)},isAsyncFn:Qc,isThenable:t=>t&&(Oc(t)||Ac(t))&&Ac(t.then)&&Ac(t.catch),setImmediate:tu,asap:su,isIterable:t=>null!=t&&Ac(t[yc])};function au(t,e,n,i,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}ru.inherits(au,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ru.toJSONObject(this.config),code:this.code,status:this.status}}});const lu=au.prototype,cu={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{cu[t]={value:t}}),Object.defineProperties(au,cu),Object.defineProperty(lu,"isAxiosError",{value:!0}),au.from=(t,e,n,i,o,s)=>{const r=Object.create(lu);return ru.toFlatObject(t,r,function(t){return t!==Error.prototype},t=>"isAxiosError"!==t),au.call(r,t.message,e,n,i,o),r.cause=t,r.name=t.name,s&&Object.assign(r,s),r};function uu(t){return ru.isPlainObject(t)||ru.isArray(t)}function hu(t){return ru.endsWith(t,"[]")?t.slice(0,-2):t}function du(t,e,n){return t?t.concat(e).map(function(t,e){return t=hu(t),!n&&e?"["+t+"]":t}).join(n?".":""):e}const pu=ru.toFlatObject(ru,{},null,function(t){return/^is[A-Z]/.test(t)});function fu(t,e,n){if(!ru.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const i=(n=ru.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(t,e){return!ru.isUndefined(e[t])})).metaTokens,o=n.visitor||c,s=n.dots,r=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&ru.isSpecCompliantForm(e);if(!ru.isFunction(o))throw new TypeError("visitor must be a function");function l(t){if(null===t)return"";if(ru.isDate(t))return t.toISOString();if(ru.isBoolean(t))return t.toString();if(!a&&ru.isBlob(t))throw new au("Blob is not supported. Use a Buffer instead.");return ru.isArrayBuffer(t)||ru.isTypedArray(t)?a&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function c(t,n,o){let a=t;if(t&&!o&&"object"==typeof t)if(ru.endsWith(n,"{}"))n=i?n:n.slice(0,-2),t=JSON.stringify(t);else if(ru.isArray(t)&&function(t){return ru.isArray(t)&&!t.some(uu)}(t)||(ru.isFileList(t)||ru.endsWith(n,"[]"))&&(a=ru.toArray(t)))return n=hu(n),a.forEach(function(t,i){!ru.isUndefined(t)&&null!==t&&e.append(!0===r?du([n],i,s):null===r?n:n+"[]",l(t))}),!1;return!!uu(t)||(e.append(du(o,n,s),l(t)),!1)}const u=[],h=Object.assign(pu,{defaultVisitor:c,convertValue:l,isVisitable:uu});if(!ru.isObject(t))throw new TypeError("data must be an object");return function t(n,i){if(!ru.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+i.join("."));u.push(n),ru.forEach(n,function(n,s){!0===(!(ru.isUndefined(n)||null===n)&&o.call(e,n,ru.isString(s)?s.trim():s,i,h))&&t(n,i?i.concat(s):[s])}),u.pop()}}(t),e}function mu(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(t){return e[t]})}function _u(t,e){this._pairs=[],t&&fu(t,this,e)}const gu=_u.prototype;function vu(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function yu(t,e,n){if(!e)return t;const i=n&&n.encode||vu;ru.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let s;if(s=o?o(e,n):ru.isURLSearchParams(e)?e.toString():new _u(e,n).toString(i),s){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+s}return t}gu.append=function(t,e){this._pairs.push([t,e])},gu.toString=function(t){const e=t?function(e){return t.call(this,e,mu)}:mu;return this._pairs.map(function(t){return e(t[0])+"="+e(t[1])},"").join("&")};class bu{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){ru.forEach(this.handlers,function(e){null!==e&&t(e)})}}const wu={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},xu={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:_u,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Lu="undefined"!=typeof window&&"undefined"!=typeof document,Cu="object"==typeof navigator&&navigator||void 0,Pu=Lu&&(!Cu||["ReactNative","NativeScript","NS"].indexOf(Cu.product)<0),Su="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Tu=Lu&&window.location.href||"http://localhost",Mu={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Lu,hasStandardBrowserEnv:Pu,hasStandardBrowserWebWorkerEnv:Su,navigator:Cu,origin:Tu},Symbol.toStringTag,{value:"Module"})),...xu};function ku(t){function e(t,n,i,o){let s=t[o++];if("__proto__"===s)return!0;const r=Number.isFinite(+s),a=o>=t.length;if(s=!s&&ru.isArray(i)?i.length:s,a)return ru.hasOwnProp(i,s)?i[s]=[i[s],n]:i[s]=n,!r;i[s]&&ru.isObject(i[s])||(i[s]=[]);return e(t,n,i[s],o)&&ru.isArray(i[s])&&(i[s]=function(t){const e={},n=Object.keys(t);let i;const o=n.length;let s;for(i=0;i<o;i++)s=n[i],e[s]=t[s];return e}(i[s])),!r}if(ru.isFormData(t)&&ru.isFunction(t.entries)){const n={};return ru.forEachEntry(t,(t,i)=>{e(function(t){return ru.matchAll(/\w+|\[(\w*)]/g,t).map(t=>"[]"===t[0]?"":t[1]||t[0])}(t),i,n,0)}),n}return null}const Au={transitional:wu,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",i=n.indexOf("application/json")>-1,o=ru.isObject(t);o&&ru.isHTMLForm(t)&&(t=new FormData(t));if(ru.isFormData(t))return i?JSON.stringify(ku(t)):t;if(ru.isArrayBuffer(t)||ru.isBuffer(t)||ru.isStream(t)||ru.isFile(t)||ru.isBlob(t)||ru.isReadableStream(t))return t;if(ru.isArrayBufferView(t))return t.buffer;if(ru.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return fu(t,new Mu.classes.URLSearchParams,{visitor:function(t,e,n,i){return Mu.isNode&&ru.isBuffer(t)?(this.append(e,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...e})}(t,this.formSerializer).toString();if((s=ru.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return fu(s?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||i?(e.setContentType("application/json",!1),function(t,e,n){if(ru.isString(t))try{return(e||JSON.parse)(t),ru.trim(t)}catch(lc){if("SyntaxError"!==lc.name)throw lc}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||Au.transitional,n=e&&e.forcedJSONParsing,i="json"===this.responseType;if(ru.isResponse(t)||ru.isReadableStream(t))return t;if(t&&ru.isString(t)&&(n&&!this.responseType||i)){const n=!(e&&e.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(lc){if(n){if("SyntaxError"===lc.name)throw au.from(lc,au.ERR_BAD_RESPONSE,this,null,this.response);throw lc}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Mu.classes.FormData,Blob:Mu.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ru.forEach(["delete","get","head","post","put","patch"],t=>{Au.headers[t]={}});const Eu=ru.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ou=Symbol("internals");function zu(t){return t&&String(t).trim().toLowerCase()}function Iu(t){return!1===t||null==t?t:ru.isArray(t)?t.map(Iu):String(t)}function Ru(t,e,n,i,o){return ru.isFunction(i)?i.call(this,e,n):(o&&(e=n),ru.isString(e)?ru.isString(i)?-1!==e.indexOf(i):ru.isRegExp(i)?i.test(e):void 0:void 0)}let Bu=class{constructor(t){t&&this.set(t)}set(t,e,n){const i=this;function o(t,e,n){const o=zu(e);if(!o)throw new Error("header name must be a non-empty string");const s=ru.findKey(i,o);(!s||void 0===i[s]||!0===n||void 0===n&&!1!==i[s])&&(i[s||e]=Iu(t))}const s=(t,e)=>ru.forEach(t,(t,n)=>o(t,n,e));if(ru.isPlainObject(t)||t instanceof this.constructor)s(t,e);else if(ru.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))s((t=>{const e={};let n,i,o;return t&&t.split("\n").forEach(function(t){o=t.indexOf(":"),n=t.substring(0,o).trim().toLowerCase(),i=t.substring(o+1).trim(),!n||e[n]&&Eu[n]||("set-cookie"===n?e[n]?e[n].push(i):e[n]=[i]:e[n]=e[n]?e[n]+", "+i:i)}),e})(t),e);else if(ru.isObject(t)&&ru.isIterable(t)){let n,i,o={};for(const e of t){if(!ru.isArray(e))throw TypeError("Object iterator must return a key-value pair");o[i=e[0]]=(n=o[i])?ru.isArray(n)?[...n,e[1]]:[n,e[1]]:e[1]}s(o,e)}else null!=t&&o(e,t,n);return this}get(t,e){if(t=zu(t)){const n=ru.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(t);)e[i[1]]=i[2];return e}(t);if(ru.isFunction(e))return e.call(this,t,n);if(ru.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=zu(t)){const n=ru.findKey(this,t);return!(!n||void 0===this[n]||e&&!Ru(0,this[n],n,e))}return!1}delete(t,e){const n=this;let i=!1;function o(t){if(t=zu(t)){const o=ru.findKey(n,t);!o||e&&!Ru(0,n[o],o,e)||(delete n[o],i=!0)}}return ru.isArray(t)?t.forEach(o):o(t),i}clear(t){const e=Object.keys(this);let n=e.length,i=!1;for(;n--;){const o=e[n];t&&!Ru(0,this[o],o,t,!0)||(delete this[o],i=!0)}return i}normalize(t){const e=this,n={};return ru.forEach(this,(i,o)=>{const s=ru.findKey(n,o);if(s)return e[s]=Iu(i),void delete e[o];const r=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,e,n)=>e.toUpperCase()+n)}(o):String(o).trim();r!==o&&delete e[o],e[r]=Iu(i),n[r]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return ru.forEach(this,(n,i)=>{null!=n&&!1!==n&&(e[i]=t&&ru.isArray(n)?n.join(", "):n)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach(t=>n.set(t)),n}static accessor(t){const e=(this[Ou]=this[Ou]={accessors:{}}).accessors,n=this.prototype;function i(t){const i=zu(t);e[i]||(!function(t,e){const n=ru.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+n,{value:function(t,n,o){return this[i].call(this,e,t,n,o)},configurable:!0})})}(n,t),e[i]=!0)}return ru.isArray(t)?t.forEach(i):i(t),this}};function ju(t,e){const n=this||Au,i=e||n,o=Bu.from(i.headers);let s=i.data;return ru.forEach(t,function(t){s=t.call(n,s,o.normalize(),e?e.status:void 0)}),o.normalize(),s}function Zu(t){return!(!t||!t.__CANCEL__)}function Nu(t,e,n){au.call(this,null==t?"canceled":t,au.ERR_CANCELED,e,n),this.name="CanceledError"}function Du(t,e,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(new au("Request failed with status code "+n.status,[au.ERR_BAD_REQUEST,au.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}Bu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ru.reduceDescriptors(Bu.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}}),ru.freezeMethods(Bu),ru.inherits(Nu,au,{__CANCEL__:!0});const Fu=(t,e,n=3)=>{let i=0;const o=function(t,e){t=t||10;const n=new Array(t),i=new Array(t);let o,s=0,r=0;return e=void 0!==e?e:1e3,function(a){const l=Date.now(),c=i[r];o||(o=l),n[s]=a,i[s]=l;let u=r,h=0;for(;u!==s;)h+=n[u++],u%=t;if(s=(s+1)%t,s===r&&(r=(r+1)%t),l-o<e)return;const d=c&&l-c;return d?Math.round(1e3*h/d):void 0}}(50,250);return function(t,e){let n,i,o=0,s=1e3/e;const r=(e,s=Date.now())=>{o=s,n=null,i&&(clearTimeout(i),i=null),t(...e)};return[(...t)=>{const e=Date.now(),a=e-o;a>=s?r(t,e):(n=t,i||(i=setTimeout(()=>{i=null,r(n)},s-a)))},()=>n&&r(n)]}(n=>{const s=n.loaded,r=n.lengthComputable?n.total:void 0,a=s-i,l=o(a);i=s;t({loaded:s,total:r,progress:r?s/r:void 0,bytes:a,rate:l||void 0,estimated:l&&r&&s<=r?(r-s)/l:void 0,event:n,lengthComputable:null!=r,[e?"download":"upload"]:!0})},n)},Uu=(t,e)=>{const n=null!=t;return[i=>e[0]({lengthComputable:n,total:t,loaded:i}),e[1]]},Hu=t=>(...e)=>ru.asap(()=>t(...e)),$u=Mu.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,Mu.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(Mu.origin),Mu.navigator&&/(msie|trident)/i.test(Mu.navigator.userAgent)):()=>!0,Vu=Mu.hasStandardBrowserEnv?{write(t,e,n,i,o,s){const r=[t+"="+encodeURIComponent(e)];ru.isNumber(n)&&r.push("expires="+new Date(n).toGMTString()),ru.isString(i)&&r.push("path="+i),ru.isString(o)&&r.push("domain="+o),!0===s&&r.push("secure"),document.cookie=r.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Gu(t,e,n){let i=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);return t&&(i||0==n)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const qu=t=>t instanceof Bu?{...t}:t;function Wu(t,e){e=e||{};const n={};function i(t,e,n,i){return ru.isPlainObject(t)&&ru.isPlainObject(e)?ru.merge.call({caseless:i},t,e):ru.isPlainObject(e)?ru.merge({},e):ru.isArray(e)?e.slice():e}function o(t,e,n,o){return ru.isUndefined(e)?ru.isUndefined(t)?void 0:i(void 0,t,0,o):i(t,e,0,o)}function s(t,e){if(!ru.isUndefined(e))return i(void 0,e)}function r(t,e){return ru.isUndefined(e)?ru.isUndefined(t)?void 0:i(void 0,t):i(void 0,e)}function a(n,o,s){return s in e?i(n,o):s in t?i(void 0,n):void 0}const l={url:s,method:s,data:s,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:a,headers:(t,e,n)=>o(qu(t),qu(e),0,!0)};return ru.forEach(Object.keys({...t,...e}),function(i){const s=l[i]||o,r=s(t[i],e[i],i);ru.isUndefined(r)&&s!==a||(n[i]=r)}),n}const Yu=t=>{const e=Wu({},t);let n,{data:i,withXSRFToken:o,xsrfHeaderName:s,xsrfCookieName:r,headers:a,auth:l}=e;if(e.headers=a=Bu.from(a),e.url=yu(Gu(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),ru.isFormData(i))if(Mu.hasStandardBrowserEnv||Mu.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[t,...e]=n?n.split(";").map(t=>t.trim()).filter(Boolean):[];a.setContentType([t||"multipart/form-data",...e].join("; "))}if(Mu.hasStandardBrowserEnv&&(o&&ru.isFunction(o)&&(o=o(e)),o||!1!==o&&$u(e.url))){const t=s&&r&&Vu.read(r);t&&a.set(s,t)}return e},Ku="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise(function(e,n){const i=Yu(t);let o=i.data;const s=Bu.from(i.headers).normalize();let r,a,l,c,u,{responseType:h,onUploadProgress:d,onDownloadProgress:p}=i;function f(){c&&c(),u&&u(),i.cancelToken&&i.cancelToken.unsubscribe(r),i.signal&&i.signal.removeEventListener("abort",r)}let m=new XMLHttpRequest;function _(){if(!m)return;const i=Bu.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Du(function(t){e(t),f()},function(t){n(t),f()},{data:h&&"text"!==h&&"json"!==h?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:i,config:t,request:m}),m=null}m.open(i.method.toUpperCase(),i.url,!0),m.timeout=i.timeout,"onloadend"in m?m.onloadend=_:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(_)},m.onabort=function(){m&&(n(new au("Request aborted",au.ECONNABORTED,t,m)),m=null)},m.onerror=function(){n(new au("Network Error",au.ERR_NETWORK,t,m)),m=null},m.ontimeout=function(){let e=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const o=i.transitional||wu;i.timeoutErrorMessage&&(e=i.timeoutErrorMessage),n(new au(e,o.clarifyTimeoutError?au.ETIMEDOUT:au.ECONNABORTED,t,m)),m=null},void 0===o&&s.setContentType(null),"setRequestHeader"in m&&ru.forEach(s.toJSON(),function(t,e){m.setRequestHeader(e,t)}),ru.isUndefined(i.withCredentials)||(m.withCredentials=!!i.withCredentials),h&&"json"!==h&&(m.responseType=i.responseType),p&&([l,u]=Fu(p,!0),m.addEventListener("progress",l)),d&&m.upload&&([a,c]=Fu(d),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",c)),(i.cancelToken||i.signal)&&(r=e=>{m&&(n(!e||e.type?new Nu(null,t,m):e),m.abort(),m=null)},i.cancelToken&&i.cancelToken.subscribe(r),i.signal&&(i.signal.aborted?r():i.signal.addEventListener("abort",r)));const g=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(i.url);g&&-1===Mu.protocols.indexOf(g)?n(new au("Unsupported protocol "+g+":",au.ERR_BAD_REQUEST,t)):m.send(o||null)})},Ju=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let n,i=new AbortController;const o=function(t){if(!n){n=!0,r();const e=t instanceof Error?t:this.reason;i.abort(e instanceof au?e:new Nu(e instanceof Error?e.message:e))}};let s=e&&setTimeout(()=>{s=null,o(new au(`timeout ${e} of ms exceeded`,au.ETIMEDOUT))},e);const r=()=>{t&&(s&&clearTimeout(s),s=null,t.forEach(t=>{t.unsubscribe?t.unsubscribe(o):t.removeEventListener("abort",o)}),t=null)};t.forEach(t=>t.addEventListener("abort",o));const{signal:a}=i;return a.unsubscribe=()=>ru.asap(r),a}},Xu=function*(t,e){let n=t.byteLength;if(n<e)return void(yield t);let i,o=0;for(;o<n;)i=o+e,yield t.slice(o,i),o=i},Qu=async function*(t){if(t[Symbol.asyncIterator])return void(yield*t);const e=t.getReader();try{for(;;){const{done:t,value:n}=await e.read();if(t)break;yield n}}finally{await e.cancel()}},th=(t,e,n,i)=>{const o=async function*(t,e){for await(const n of Qu(t))yield*Xu(n,e)}(t,e);let s,r=0,a=t=>{s||(s=!0,i&&i(t))};return new ReadableStream({async pull(t){try{const{done:e,value:i}=await o.next();if(e)return a(),void t.close();let s=i.byteLength;if(n){let t=r+=s;n(t)}t.enqueue(new Uint8Array(i))}catch(e){throw a(e),e}},cancel:t=>(a(t),o.return())},{highWaterMark:2})},eh="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,nh=eh&&"function"==typeof ReadableStream,ih=eh&&("function"==typeof TextEncoder?(oh=new TextEncoder,t=>oh.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var oh;const sh=(t,...e)=>{try{return!!t(...e)}catch(lc){return!1}},rh=nh&&sh(()=>{let t=!1;const e=new Request(Mu.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),ah=nh&&sh(()=>ru.isReadableStream(new Response("").body)),lh={stream:ah&&(t=>t.body)};var ch;eh&&(ch=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!lh[t]&&(lh[t]=ru.isFunction(ch[t])?e=>e[t]():(e,n)=>{throw new au(`Response type '${t}' is not supported`,au.ERR_NOT_SUPPORT,n)})}));const uh=async(t,e)=>{const n=ru.toFiniteNumber(t.getContentLength());return null==n?(async t=>{if(null==t)return 0;if(ru.isBlob(t))return t.size;if(ru.isSpecCompliantForm(t)){const e=new Request(Mu.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return ru.isArrayBufferView(t)||ru.isArrayBuffer(t)?t.byteLength:(ru.isURLSearchParams(t)&&(t+=""),ru.isString(t)?(await ih(t)).byteLength:void 0)})(e):n},hh=eh&&(async t=>{let{url:e,method:n,data:i,signal:o,cancelToken:s,timeout:r,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:h="same-origin",fetchOptions:d}=Yu(t);c=c?(c+"").toLowerCase():"text";let p,f=Ju([o,s&&s.toAbortSignal()],r);const m=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let _;try{if(l&&rh&&"get"!==n&&"head"!==n&&0!==(_=await uh(u,i))){let t,n=new Request(e,{method:"POST",body:i,duplex:"half"});if(ru.isFormData(i)&&(t=n.headers.get("content-type"))&&u.setContentType(t),n.body){const[t,e]=Uu(_,Fu(Hu(l)));i=th(n.body,65536,t,e)}}ru.isString(h)||(h=h?"include":"omit");const o="credentials"in Request.prototype;p=new Request(e,{...d,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:i,duplex:"half",credentials:o?h:void 0});let s=await fetch(p,d);const r=ah&&("stream"===c||"response"===c);if(ah&&(a||r&&m)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=s[e]});const e=ru.toFiniteNumber(s.headers.get("content-length")),[n,i]=a&&Uu(e,Fu(Hu(a),!0))||[];s=new Response(th(s.body,65536,n,()=>{i&&i(),m&&m()}),t)}c=c||"text";let g=await lh[ru.findKey(lh,c)||"text"](s,t);return!r&&m&&m(),await new Promise((e,n)=>{Du(e,n,{data:g,headers:Bu.from(s.headers),status:s.status,statusText:s.statusText,config:t,request:p})})}catch(g){if(m&&m(),g&&"TypeError"===g.name&&/Load failed|fetch/i.test(g.message))throw Object.assign(new au("Network Error",au.ERR_NETWORK,t,p),{cause:g.cause||g});throw au.from(g,g&&g.code,t,p)}}),dh={http:null,xhr:Ku,fetch:hh};ru.forEach(dh,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(lc){}Object.defineProperty(t,"adapterName",{value:e})}});const ph=t=>`- ${t}`,fh=t=>ru.isFunction(t)||null===t||!1===t,mh=t=>{t=ru.isArray(t)?t:[t];const{length:e}=t;let n,i;const o={};for(let s=0;s<e;s++){let e;if(n=t[s],i=n,!fh(n)&&(i=dh[(e=String(n)).toLowerCase()],void 0===i))throw new au(`Unknown adapter '${e}'`);if(i)break;o[e||"#"+s]=i}if(!i){const t=Object.entries(o).map(([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build"));throw new au("There is no suitable adapter to dispatch the request "+(e?t.length>1?"since :\n"+t.map(ph).join("\n"):" "+ph(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return i};function _h(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Nu(null,t)}function gh(t){_h(t),t.headers=Bu.from(t.headers),t.data=ju.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return mh(t.adapter||Au.adapter)(t).then(function(e){return _h(t),e.data=ju.call(t,t.transformResponse,e),e.headers=Bu.from(e.headers),e},function(e){return Zu(e)||(_h(t),e&&e.response&&(e.response.data=ju.call(t,t.transformResponse,e.response),e.response.headers=Bu.from(e.response.headers))),Promise.reject(e)})}const vh="1.11.0",yh={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{yh[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const bh={};yh.transitional=function(t,e,n){function i(t,e){return"[Axios v"+vh+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,o,s)=>{if(!1===t)throw new au(i(o," has been removed"+(e?" in "+e:"")),au.ERR_DEPRECATED);return e&&!bh[o]&&(bh[o]=!0,console.warn(i(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,o,s)}},yh.spelling=function(t){return(e,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};const wh={assertOptions:function(t,e,n){if("object"!=typeof t)throw new au("options must be an object",au.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let o=i.length;for(;o-- >0;){const s=i[o],r=e[s];if(r){const e=t[s],n=void 0===e||r(e,s,t);if(!0!==n)throw new au("option "+s+" must be "+n,au.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new au("Unknown option "+s,au.ERR_BAD_OPTION)}},validators:yh},xh=wh.validators;let Lh=class{constructor(t){this.defaults=t||{},this.interceptors={request:new bu,response:new bu}}async request(t,e){try{return await this._request(t,e)}catch(n){if(n instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const e=t.stack?t.stack.replace(/^.+\n/,""):"";try{n.stack?e&&!String(n.stack).endsWith(e.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+e):n.stack=e}catch(lc){}}throw n}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Wu(this.defaults,e);const{transitional:n,paramsSerializer:i,headers:o}=e;void 0!==n&&wh.assertOptions(n,{silentJSONParsing:xh.transitional(xh.boolean),forcedJSONParsing:xh.transitional(xh.boolean),clarifyTimeoutError:xh.transitional(xh.boolean)},!1),null!=i&&(ru.isFunction(i)?e.paramsSerializer={serialize:i}:wh.assertOptions(i,{encode:xh.function,serialize:xh.function},!0)),void 0!==e.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?e.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:e.allowAbsoluteUrls=!0),wh.assertOptions(e,{baseUrl:xh.spelling("baseURL"),withXsrfToken:xh.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let s=o&&ru.merge(o.common,o[e.method]);o&&ru.forEach(["delete","get","head","post","put","patch","common"],t=>{delete o[t]}),e.headers=Bu.concat(s,o);const r=[];let a=!0;this.interceptors.request.forEach(function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,r.unshift(t.fulfilled,t.rejected))});const l=[];let c;this.interceptors.response.forEach(function(t){l.push(t.fulfilled,t.rejected)});let u,h=0;if(!a){const t=[gh.bind(this),void 0];for(t.unshift(...r),t.push(...l),u=t.length,c=Promise.resolve(e);h<u;)c=c.then(t[h++],t[h++]);return c}u=r.length;let d=e;for(h=0;h<u;){const t=r[h++],e=r[h++];try{d=t(d)}catch(p){e.call(this,p);break}}try{c=gh.call(this,d)}catch(p){return Promise.reject(p)}for(h=0,u=l.length;h<u;)c=c.then(l[h++],l[h++]);return c}getUri(t){return yu(Gu((t=Wu(this.defaults,t)).baseURL,t.url,t.allowAbsoluteUrls),t.params,t.paramsSerializer)}};ru.forEach(["delete","get","head","options"],function(t){Lh.prototype[t]=function(e,n){return this.request(Wu(n||{},{method:t,url:e,data:(n||{}).data}))}}),ru.forEach(["post","put","patch"],function(t){function e(e){return function(n,i,o){return this.request(Wu(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}Lh.prototype[t]=e(),Lh.prototype[t+"Form"]=e(!0)});const Ch={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ch).forEach(([t,e])=>{Ch[e]=t});const Ph=function t(e){const n=new Lh(e),i=_c(Lh.prototype.request,n);return ru.extend(i,Lh.prototype,n,{allOwnKeys:!0}),ru.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return t(Wu(e,n))},i}(Au);Ph.Axios=Lh,Ph.CanceledError=Nu,Ph.CancelToken=class t{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise(function(t){e=t});const n=this;this.promise.then(t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null}),this.promise.then=t=>{let e;const i=new Promise(t=>{n.subscribe(t),e=t}).then(t);return i.cancel=function(){n.unsubscribe(e)},i},t(function(t,i,o){n.reason||(n.reason=new Nu(t,i,o),e(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let e;return{token:new t(function(t){e=t}),cancel:e}}},Ph.isCancel=Zu,Ph.VERSION=vh,Ph.toFormData=fu,Ph.AxiosError=au,Ph.Cancel=Ph.CanceledError,Ph.all=function(t){return Promise.all(t)},Ph.spread=function(t){return function(e){return t.apply(null,e)}},Ph.isAxiosError=function(t){return ru.isObject(t)&&!0===t.isAxiosError},Ph.mergeConfig=Wu,Ph.AxiosHeaders=Bu,Ph.formToJSON=t=>ku(ru.isHTMLForm(t)?new FormData(t):t),Ph.getAdapter=mh,Ph.HttpStatusCode=Ch,Ph.default=Ph;const{Axios:Sh,AxiosError:Th,CanceledError:Mh,isCancel:kh,CancelToken:Ah,VERSION:Eh,all:Oh,Cancel:zh,isAxiosError:Ih,spread:Rh,toFormData:Bh,AxiosHeaders:jh,HttpStatusCode:Zh,formToJSON:Nh,getAdapter:Dh,mergeConfig:Fh}=Ph,Uh=("undefined"!=typeof window?window.location:self.location).origin,Hh=Ph.create({baseURL:"/api/2.0/"});function $h(t){let e;return async function(){return void 0===e&&(e=new Promise((e,n)=>{(async()=>{try{await t(e)}catch(i){n(i)}})()})),e}}class Vh{static levels=[{min:-1/0,color:Wl.green},{min:12,color:Wl.yellow},{min:35,color:Wl.orange},{min:55,color:Wl.red},{min:150,color:Wl.purple},{min:250,color:Wl.maroon}];label;latest;levels=Vh.levels;name;updateDuration;constructor(t,e,n,i){this.label=e,this.name=t,this.updateDuration=n,i.latest&&this.name in i.latest&&(this.latest=Math.round(parseFloat(i.latest.value)))}}class Gh{id;parameters;taskName;constructor(t,e,n){this.id=t,this.parameters=n,this.taskName=e}}class qh{globalTaskID=0;responders=new Map;worker;constructor(t){this.worker=t,this.worker.onmessageerror=t=>console.error("worker failed: ",t),this.worker.onmessage=t=>{const{id:e,error:n,payload:i,success:o}=t.data,s=this.responders.get(e);o?s.resolve(i):n?s.reject(n):console.error(`Unknown response from background service "${this.constructor.name}"`,t),this.responders.delete(e)}}run(t,...e){const n=new Gh(++this.globalTaskID,t,JSON.parse(JSON.stringify(e)));return new Promise((t,e)=>{this.responders.set(n.id,{resolve:t,reject:e}),this.worker.postMessage(n)})}}const Wh=new qh(new function(t){return new Worker("/static/monitor-map/assets/MonitorsWorker-BnDir925.js",{type:"module",name:t?.name})});async function Yh(t){return await Wh.run("fetchMonitors",t)}const Kh=Object.freeze(Object.defineProperty({__proto__:null,fetchMonitors:Yh,fetchSubscriptions:async function(){return await Wh.run("fetchSubscriptions")},fetchTempByCoords:async function(t){return await Wh.run("fetchTempByCoords",t)}},Symbol.toStringTag,{value:"Module"})),Jh=new Event("MonitorsLoaded"),Xh=Ce(function(){const t=new Date;return t.getUTCFullYear(),t.getUTCFullYear(),"pm25"}()),Qh=Ce({}),td=Ce();const ed=$h(async t=>{const e=Zi(el);await id(),"monitorId"in e.params&&(td.value=Qh.value[e.params.monitorId]),t({activeMonitor:td,monitors:Qh,downloadCSV:nd,getMonitor:od,updateMonitors:id,...Kh})});function nd(t,e){const n=`${Hh.defaults.baseURL}monitors/${t.data.id}/entries/csv`,i=new URLSearchParams({fields:t.dataFields.join(","),timestamp__gte:mc.$defaultFormat(e.start),timestamp__lte:mc.$defaultFormat(e.end)}).toString();window.open(`${n}/?${i}`)}async function id(){return await Yh(Xh.value).then(t=>{Qh.value=t,window.dispatchEvent(Jh)})}function od(t){return Qh.value[t]}const sd={class:"map-legend-container card columns column is-half-mobile is-half-tablet is-one-fifth-desktop is-flex is-flex-direction-column"},rd={class:"has-text-centered has-text-wrap-nowrap has-font-weight-semibold"},ad={class:"map-legend-lines is-flex"},ld=fl(Zn({__name:"MarkerLegend",setup(t){const e=ys(()=>"pm25"===Xh.value?"PM 2.5":"Ozone"),n=ys(()=>"pm25"===Xh.value?[12,35,55,150,250]:[55,71,86,106,201]);return(t,i)=>(Ro(),Do("div",sd,[Go("p",rd,X(e.value)+" Concentration",1),i[1]||(i[1]=Go("div",{class:"map-legend"}," ",-1)),Go("div",ad,[i[0]||(i[0]=Go("div",null,[Go("span",null,"0")],-1)),(Ro(!0),Do(ko,null,li(n.value,t=>(Ro(),Do("div",null,[Go("span",null,X(t),1)]))),256))])]))}}),[["__scopeId","data-v-e5342dfa"]]),cd="geolocation"in navigator,ud={latitude:36.76272911677402,longitude:-119.7989545249089};async function hd(t){return new Promise(e=>{if(cd)return navigator.geolocation.getCurrentPosition(e,console.error,t);e({timestamp:Date.now(),coords:{accuracy:0,altitude:0,altitudeAccuracy:0,heading:0,speed:0,...ud}})})}const dd="/static/monitor-map/airgradient-blue.svg",pd="data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAA8AAD/4QMpaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjAtYzA2MCA2MS4xMzQ3NzcsIDIwMTAvMDIvMTItMTc6MzI6MDAgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzUgV2luZG93cyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyMTZFNDM2OTMyNjUxMUUyOTFBMkZCRkM2NjEwQUMxOSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyMTZFNDM2QTMyNjUxMUUyOTFBMkZCRkM2NjEwQUMxOSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjIxNkU0MzY3MzI2NTExRTI5MUEyRkJGQzY2MTBBQzE5IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjIxNkU0MzY4MzI2NTExRTI5MUEyRkJGQzY2MTBBQzE5Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+/+4ADkFkb2JlAGTAAAAAAf/bAIQABgQEBAUEBgUFBgkGBQYJCwgGBggLDAoKCwoKDBAMDAwMDAwQDA4PEA8ODBMTFBQTExwbGxscHx8fHx8fHx8fHwEHBwcNDA0YEBAYGhURFRofHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8f/8AAEQgANgBlAwERAAIRAQMRAf/EAKgAAAICAwEBAAAAAAAAAAAAAAAFBAYDBwgBAgEAAgMBAQAAAAAAAAAAAAAAAAMBAgQFBhAAAQMDAwEFBQMKBwAAAAAAAgEDBBEFBgAhEgcxQSITFFFxgXIVYZEyoUJSYqIjM1MWCJKyc9MklJURAAEDAQUCCgcHBQAAAAAAAAEAAgMRITESEwRBUWFxgZGxwdEiMgXwoeFCUpLSYqIjMxQVFvGC8jQG/9oADAMBAAIRAxEAPwDqnQhGhCT5Nl+N4xC9ZfJ7cNoq+WJKquGqdzbY1MvgmnwaaSU0YKqj5GtFSVS4XUzMsqXlhWMqluVVQL1eTViOtFpUGm6m4Pyl76a3O0MUP5r+98LbSkiZzvCLN5TuNi+eS/Fe8tcZEtyi2iKxHFPsR58ZDqp92kO1EI8EfzEn1CgVwx5vdzJg1hEBKLIuV3kmi15FcpjW/wAsdxkfhSmlHVHYGD+0dYKtljeedSf6Utf8+4f+lcP9/Vf1Dtzflb2KcA4ecrKmPwx3B+aJIiIhetlHTitfwm4Qr9tU31XOO4cw7FOALIzbZTTgF9TlG2Kp+5NI6iqIvYpeUh/tV1BeD7o9fainCp+lqyNCEaEI0IRoQqB1c6qRMGtQBHEJN9movoopKvEQTZXnKb8UXZE/OX3LTpeXeXnUOtsYL+xZ558A4VT+mfSibkD4Zt1CM7lPl0dhW+RuAgu4m6FET5G0Tiidqdybdd5gIxkwd0C8jq7UqGAu7z7VuOXaY0ryxcN4GWh4gyw84wHx8kgVdtqKtPs1xGyEbunpWstqobuG4i8KpIssGRVKET8dp0i+YjElX46uNTKLnOHKoy27ksm9McUdFSt7T1jkp/Dk2l5yGQe4GlRpfcQLprddIPFR4+0K+1VMLdlnEqnLyjqJgF0YYyBs8pxiUfBi7RmaTWP1XgbTiVE/xdvL83WxsEGpaSz8OQbCbDxJJe+M295q2hBmxp0NmZFPnHfBHGiVFFVQkruJIhIvtRUqmuS9paaG8LUDUVWfVVKNCEaEI0IRoQjQhcuWFtepfXV6RO/fWuM84/5RJUfSQ14stqPZQy4cvmXXrpj+l0dB4j0m9ctv4ktty6jRKbJ2a8iuotc9Yepd3w5i3R7FGYmXaar7xsvg44IxYzam6fFs2ySnbWvYha6nluhbOSXkhopzlZ9RMWUperfi+QN5Bi9vvcVBrOji6gV8IuKlDBV3/CaKOsU8OXIWHYU1j8TQUnwPJrzLxZ265c9bYrzcgwV6HIbOMLfhQObiOOAJKRUpz7Kd+nauBgkwxBxs2i1UieS2rqLNmWaRrVjF6uFolRJlztUdJCxVNHePNU4K6DZiaCXduldV02lL5GtcCGuKmSSjSReEr6R9TRzezOrMbbi3yGqesitoQgrbniadbE1IuJDt2rv7007zHQ5DrLWG7sVYJsYtvUvpvmd0yf8AqD17TDX0q6PwI/kCY8mmqcVPmZ1LfelE+zVNbpmxYMNe80FTDIXVrsKsH9TY39R+m/Vof1GtPReoa8+taU8vlz/JrNkSYcWE4d9LEzG2tK2qUdxt4TggHKZGc4HmNxFcFHSBK+IW68lTwrvTu1TA6mKlm9TUVovQuEA5pwQktFNbFHHIqGKuiC0oRBXkibpvTRgNK0sRUVosSXqzLJKKk+OsoHBZNhHQ8xHCRVEFGteSoKqiduy6tlOpWhooxDepmlqy5n/tsbS39RrxbZScJjcJ5mipReTMhtDH37V+GvV+dnFA1wuqOgrm6Ox5C6Y15RdJaIduuRX3q7fb1Z8bTJoFkYWyNtFLZiACnVHS5PckPkvmj4U/Cu+vQiNkemaxz8suOK4niu5FhxF0hIGKlicf2+3CfBYvmFXVkok+ySfOaiuGLhAzI3UEIfCSCacuSbLz0nzhgcWytNQ4dHp6lfSkirTsVMxYUX+2bJEVEVPVku/tRyMqa3aj/fZxdqQz8gq2ScLsOPdCblKgMUn3K0sv3CYSkpvG4guLWqqiIimtETWJuqfJrACbGvNAnGMNiNNoSm5Wm4YrYsN6m2FojWParfHyOIG3nxSjtjzX3JQVXu8Jdy6eyRsz5NO/a52E7jU+nOqFpaGvG4VULH8hlMdKOo96srpg4/d3DjPhUTFqS40JGneKo24q17tXmhB1MLH/AAdFVVj/AMNxG9O53Tbp810RW6BFaGcFqG4N3av78pStI4KeZXsJ1eHH4dukM10x1eGtmKlNlP6JhhZlV4EvmTrlHsXTHqHONVkQ3RgXWSX4iivqTYuGv+mJbr2qWmNY0vmgFxtHGFUk0Y8pfZ79Lt2bxuqc15RsOQ3KbbDItkGGACEUlX5mVr8n3NkhDoTpx42Na7l29PrVWuo7MNxJC8C1XcOlbvUIRpdnsgbyNxO9WWXTZAPlQniP5V0GRv6jI93LwdfUjCcvHtxVXR+vLrorn/qfj90wLqJF6kWeOT9qeeQ7o0GyA44nlvCXsF4SVUJew/hr0mgmbqIDA496lnVzdCwTMMb8YuW8bLerZfbSxdLXIR+FLDk08FKpXtRUWtCFdlRexdeflidG4tcLQtrXBwqFAw3CrNiNtet9qV025D5yX3ZBo46bhoiKpEiD3Cmm6nVPmdidsFFWOMMFAvkMHsreaOZg0Tzd2ej+lfETRGXG0RETmPGtfAPf3JoOqeYso+GtUZQxYtqWwOlOMQsKmYeyclbTOcV14icFXuSqC+E+FE/hp3aa/wAwkdKJTTEFUQNDcOxT8htGON4WVhusg49mWO3BVzlRzgIoIoioK+Kg/o6yO1uS/ON9a3E38AVnNGGhuWO1XHDgsMWwsPLLtrUYLeAONuGhtACMoJrwQVqKUXXPl87hxmQuINcXhdx7lLACA0cShYrhWE41ZZ9lhI6/bbkZHKYlITqEhgjZB+AfDxTv1XUf9fp5Xh5f3m7mP+lMZoi0EAWHhCpw9NulfEYp3m8uWYHfOCxm7IWChVrsCMofx51+3XR/l0d9W4viwOr0Jv7FLus3Ym9qf5PknSq74+9i1wkutW9BbZRpiJKFWkYIVBG1RkhTjwRNu7S9P5q1rxK028R2rd/HdU9lMAoftM+pKLrdeis3DY2HSJ0oLVERryFbizEdQmlrz5+nVORVXlt3rrZD5i/MMzfEUiXyGdowOb95vanI5t0rLEHLIkx36G1HC1mPpJnJG3GjAE/g1VVBsvFTt+Gl5zszM96tVH7VNTBh2fE3tWxNJWNY5UWNLjOxpTQPxnhUHmXBQwMSSiiQrVFRdS1xBqL1BFVrxrpdd8YnOzun11G3syC5ybDcEN+AZe0SFfNa96VX7aba6Z17ZRSdtae8LHdhWfILTVh5NisMXIMyaDjcsWccdHbnbZcV4CX2p6o4ZImszoYj4X/MD1YkwPdtHp6lPC73l7wtWOQya0oUt6KDfxJh2SX7GlZbB7w5AesBWxHckuU9TbDiMIzyKQyNzKqsWqEavvEip4U8SNqlf0iEU1o0+hfMe4Dh3mwKj5gwW3rWIYfnvVy9s3fJwcsOKMLWFAWqOkC7+ACRPEafidNPlSm2usdTDo2YY+/Ibz6dCzZb5TV1jVvS02m3Wi2x7bbWBjQYoI2wwCbCib/FVXdVXdV3156SRz3FzjUlbmtAFApeqKUaEI0IRoQjQhLvKyId/UxHf1PIda/a85z/AC6bVm48/sVbV8lIydBLjAhESU4VmOii+2v/ABSp+XU0j3nmH1Iq7d6cywlKzGi8bXblKmyLcH0Sv/SXU4Yvid8o+pRV24c/sUV1zqM8lGY9nhKveb8qYifBGYdfv1cCAXl55AOsqO/wJFe8cyl2Kb2QZfObhLucXH4BMmntRDaSZJVNaIp4waMjbX7bv8QluY7a48gS3p+30LbuShYHYz18E1RXbgjqTSdruoesEC5V/lppusOsLe/XBwXfd61WLKrZetpa5C1I0IRoQjQhGhCNCEaEL//Z",fd="/static/monitor-map/carb-compact.jpg",md="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAACXBIWXMAAAsSAAALEgHS3X78AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTAxLTA2VDIxOjUyOjI5KzAwOjAwSQXdiwAAArVQTFRF////mDOP6dPnxYzAmzmS6tXouHOymDSPmjeRt3GxnT2U8+jymjaRnT6Vo0mb9ev0mziSnDqTw4i+/v3+zJnHypbF3LrZ69fpnDuTnkCWoUWZ5MrimTWQp1CfyJPEzZzJyZXF8uXxwIK6/vz+pk+e9OnzuXWzsWWq8eTw5c3j8OHvy5nHypfG1avRtW2vzp/K79/unDyUmzqTrl+n/fv9qlejpEucnTyUnT2Vokea+fP4mjiRn0GX7t7tmTaRtGuumjiSp1Gf/Pn8yZTE3bzapk6e6dToyJHDuXSzsmarzJvIwIO76NHmrV2mzJrHqFKgy5jGsmis0aTNv4C56dTnpEqc48fgoUaZ37/cvXy38OLvvn64yJLDvHq2+vX64sXf1KrQ06nQ8ePw/v7+s2mt2rXW7dzs4cPe2bXWvn+5xIq/+fT5x5DCxo7B8OHuu3i148nhpUyduHKxzp7K4sbgqFOhune0mTaQ3r3b9/D3+vb6nj+WoEKXn0KX9ez0mTSQ5czj+PD3vHu3pU2dz6DLr2CowYW85MnhsmersWWroEOY9u313bva79/tvHu2o0qb/Pj70KPN6tbpnj6V48jh/fz9sGOq7dvrqVWi7tzs1KrRtGyu16/T7Nrr7+Du58/lypXFypbGoUSZ9+/2xIu/+PH4sGOpp1Kgv4G6n0CWy5fG4MLe+/f7+PH3woa9r2Kp06jP8ubx3LnZs2msune1x5HC+fP5z5/KsWSqw4i9zZzIokaa9Orzy5jH1KvRpU6dz6HLt3Cw1azS17DU7NnqtGutsGSqtGqtxY3AtWyu3r/cxo/B3r7ctW6v2LHU38Dd0aPN9ez117DTpEydtm+w8+fy0qbOwoe9mDSQs2isvX24x5HD69jpoEOXuna05cvj//7/uHKysGKpu3m2/Pr8u3m1wIG6s+L4kwAAAjpJREFUSMdjYBgFdAQGPkwGykSrNklsrTG3qPUNmkCcettl1jySfHySHBzG04lRH7XcYREzax2/uLslh+tMIjTYc6hoQlisMzimTcWveP4CoRUrbeJhXKZwhzl4PevNJcPOwhKLEBGSmY1PQxsPb0ewumwIQmSKeT/zxAZc4evGy1sMpOKQhBQlBWXqDY0rsGtQ4OjEEJP3aAqU4jCUw6JcsU+KJxp7vJRJsMhjiE6S5eAyLcHhWCEjGyY0oUZTAcceYZzB4VkeiSbizGMmjif8XIyaK1EEqkoFWvAFOLclLyuKgHh1Vy8+DVYqgtIoAtISfPz4NPDzcaH6mnWyVBI+DRGCZt2oVsqyJOBNwXZqaCJL7Pw34lYvJ2HRjh4Mriy+PriCSInLmhlDNGw3x90ruQoBIn5eXn4iItp7A1bpLBRVcI5h3hIqwKKExZwQdcEbjIzsqIARCNgF/Gdhtzr+9i01Nk4IKHrIBgQeaveeRueKbaNKyXUxPz8WOfYzUsFUeqTyE9E4bBq0Luddu3lHI1szquCM5qmEBzo6DIfFGBiKuAoYErnvb1qMoUFj/6VMpeuHjpy8UHjuWNYJIX39nJ16+67q6T5LfhQRHrMUU0OoiK5wVoYWW9BphrN52YGiojvk3HUPqDwuTEo5vxmLk+Y5ArPPdnXvg/o5DEeDM7fuktdex+yyXoxbT/u4WAoWDU5MyUBiNavWHkUGzw1hwqqqDOnSa9wYGFTT0tbOJRBiqfyj9d2wAwA8Loee6z0+HQAAAABJRU5ErkJggg==",_d="/static/monitor-map/icon-128.webp";class gd{constructor(t){this.data=t,this.logo=function(t){switch(t.data.data_source.name){case"AQview":return{url:fd,alt:"AQview"};case"AirNow.gov":return{url:pd,alt:"AirNow.gov"};case"PurpleAir":return{url:md,alt:"PurpleAir"};case"Central California Asthma Collaborative":return{url:_d,alt:"Central California Asthma Collaborative"};case"AirGradient":return{url:dd,alt:"PurpleAir"}}}(t)}logo}class vd{constructor(t){this.data=t}}var yd,bd={exports:{}};
|
|
31
31
|
/* @preserve
|
|
32
32
|
* Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
|
|
33
33
|
* (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|