mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-22 08:26:19 +01:00
2 lines
199 KiB
JavaScript
2 lines
199 KiB
JavaScript
/*! For license information please see main.41b816cc.js.LICENSE.txt */
|
|
!function(){var e={680:function(e,t,n){"use strict";var r=n(476),o=n(962),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&i(e,".prototype.")>-1?o(n):n}},962:function(e,t,n){"use strict";var r=n(199),o=n(476),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||r.call(a,i),l=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),s=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(d){u=null}e.exports=function(e){var t=c(r,a,arguments);l&&u&&(l(t,"length").configurable&&u(t,"length",{value:1+s(0,e.length-(arguments.length-1))}));return t};var f=function(){return c(r,i,arguments)};u?u(e.exports,"apply",{value:f}):e.exports.apply=f},123:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var c in n)r.call(n,c)&&n[c]&&e.push(c)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},658:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",i="minute",a="hour",c="day",l="week",u="month",s="quarter",f="year",d="date",p="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|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,m={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(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},y=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},_={s:y,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+y(r,2,"0")+":"+y(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,u),i=n-o<0,a=t.clone().add(r+(i?-1:1),u);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:f,w:l,d:c,D:d,h:a,m:i,s:o,ms:r,Q:s}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},g="en",b={};b[g]=m;var w=function(e){return e instanceof E},A=function e(t,n,r){var o;if(!t)return g;if("string"==typeof t){var i=t.toLowerCase();b[i]&&(o=i),n&&(b[i]=n,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var c=t.name;b[c]=t,o=c}return!r&&o&&(g=o),o||!r&&g},S=function(e,t){if(w(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new E(n)},x=_;x.l=A,x.i=w,x.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function m(e){this.$L=A(e.locale,null,!0),this.parse(e)}var y=m.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(x.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return x},y.isValid=function(){return!(this.$d.toString()===p)},y.isSame=function(e,t){var n=S(e);return this.startOf(t)<=n&&n<=this.endOf(t)},y.isAfter=function(e,t){return S(e)<this.startOf(t)},y.isBefore=function(e,t){return this.endOf(t)<S(e)},y.$g=function(e,t,n){return x.u(e)?this[t]:this.set(n,e)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(e,t){var n=this,r=!!x.u(t)||t,s=x.p(e),p=function(e,t){var o=x.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?o:o.endOf(c)},h=function(e,t){return x.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},v=this.$W,m=this.$M,y=this.$D,_="set"+(this.$u?"UTC":"");switch(s){case f:return r?p(1,0):p(31,11);case u:return r?p(1,m):p(0,m+1);case l:var g=this.$locale().weekStart||0,b=(v<g?v+7:v)-g;return p(r?y-b:y+(6-b),m);case c:case d:return h(_+"Hours",0);case a:return h(_+"Minutes",1);case i:return h(_+"Seconds",2);case o:return h(_+"Milliseconds",3);default:return this.clone()}},y.endOf=function(e){return this.startOf(e,!1)},y.$set=function(e,t){var n,l=x.p(e),s="set"+(this.$u?"UTC":""),p=(n={},n[c]=s+"Date",n[d]=s+"Date",n[u]=s+"Month",n[f]=s+"FullYear",n[a]=s+"Hours",n[i]=s+"Minutes",n[o]=s+"Seconds",n[r]=s+"Milliseconds",n)[l],h=l===c?this.$D+(t-this.$W):t;if(l===u||l===f){var v=this.clone().set(d,1);v.$d[p](h),v.init(),this.$d=v.set(d,Math.min(this.$D,v.daysInMonth())).$d}else p&&this.$d[p](h);return this.init(),this},y.set=function(e,t){return this.clone().$set(e,t)},y.get=function(e){return this[x.p(e)]()},y.add=function(r,s){var d,p=this;r=Number(r);var h=x.p(s),v=function(e){var t=S(p);return x.w(t.date(t.date()+Math.round(e*r)),p)};if(h===u)return this.set(u,this.$M+r);if(h===f)return this.set(f,this.$y+r);if(h===c)return v(1);if(h===l)return v(7);var m=(d={},d[i]=t,d[a]=n,d[o]=e,d)[h]||1,y=this.$d.getTime()+r*m;return x.w(y,this)},y.subtract=function(e,t){return this.add(-1*e,t)},y.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=x.z(this),i=this.$H,a=this.$m,c=this.$M,l=n.weekdays,u=n.months,s=n.meridiem,f=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].slice(0,i)},d=function(e){return x.s(i%12||12,e,"0")},h=s||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(v,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return x.s(t.$y,4,"0");case"M":return c+1;case"MM":return x.s(c+1,2,"0");case"MMM":return f(n.monthsShort,c,u,3);case"MMMM":return f(u,c);case"D":return t.$D;case"DD":return x.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(n.weekdaysMin,t.$W,l,2);case"ddd":return f(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(i);case"HH":return x.s(i,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return h(i,a,!0);case"A":return h(i,a,!1);case"m":return String(a);case"mm":return x.s(a,2,"0");case"s":return String(t.$s);case"ss":return x.s(t.$s,2,"0");case"SSS":return x.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(r,d,p){var h,v=this,m=x.p(d),y=S(r),_=(y.utcOffset()-this.utcOffset())*t,g=this-y,b=function(){return x.m(v,y)};switch(m){case f:h=b()/12;break;case u:h=b();break;case s:h=b()/3;break;case l:h=(g-_)/6048e5;break;case c:h=(g-_)/864e5;break;case a:h=g/n;break;case i:h=g/t;break;case o:h=g/e;break;default:h=g}return p?h:x.a(h)},y.daysInMonth=function(){return this.endOf(u).$D},y.$locale=function(){return b[this.$L]},y.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=A(e,t,!0);return r&&(n.$L=r),n},y.clone=function(){return x.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},m}(),k=E.prototype;return S.prototype=k,[["$ms",r],["$s",o],["$m",i],["$H",a],["$W",c],["$M",u],["$y",f],["$D",d]].forEach((function(e){k[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),S.extend=function(e,t){return e.$i||(e(t,E,S),e.$i=!0),S},S.locale=A,S.isDayjs=w,S.unix=function(e){return S(1e3*e)},S.en=b[g],S.Ls=b,S.p={},S}()},446:function(e){e.exports=function(){"use strict";var e,t,n=1e3,r=6e4,o=36e5,i=864e5,a=/\[([^\]]+)]|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,c=31536e6,l=2592e6,u=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,s={years:c,months:l,days:i,hours:o,minutes:r,seconds:n,milliseconds:1,weeks:6048e5},f=function(e){return e instanceof _},d=function(e,t,n){return new _(e,n,t.$l)},p=function(e){return t.p(e)+"s"},h=function(e){return e<0},v=function(e){return h(e)?Math.ceil(e):Math.floor(e)},m=function(e){return Math.abs(e)},y=function(e,t){return e?h(e)?{negative:!0,format:""+m(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},_=function(){function h(e,t,n){var r=this;if(this.$d={},this.$l=n,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t)return d(e*s[p(t)],this);if("number"==typeof e)return this.$ms=e,this.parseFromMilliseconds(),this;if("object"==typeof e)return Object.keys(e).forEach((function(t){r.$d[p(t)]=e[t]})),this.calMilliseconds(),this;if("string"==typeof e){var o=e.match(u);if(o){var i=o.slice(2).map((function(e){return null!=e?Number(e):0}));return this.$d.years=i[0],this.$d.months=i[1],this.$d.weeks=i[2],this.$d.days=i[3],this.$d.hours=i[4],this.$d.minutes=i[5],this.$d.seconds=i[6],this.calMilliseconds(),this}}return this}var m=h.prototype;return m.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*s[n]}),0)},m.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=v(e/c),e%=c,this.$d.months=v(e/l),e%=l,this.$d.days=v(e/i),e%=i,this.$d.hours=v(e/o),e%=o,this.$d.minutes=v(e/r),e%=r,this.$d.seconds=v(e/n),e%=n,this.$d.milliseconds=e},m.toISOString=function(){var e=y(this.$d.years,"Y"),t=y(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=y(n,"D"),o=y(this.$d.hours,"H"),i=y(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3);var c=y(a,"S"),l=e.negative||t.negative||r.negative||o.negative||i.negative||c.negative,u=o.format||i.format||c.format?"T":"",s=(l?"-":"")+"P"+e.format+t.format+r.format+u+o.format+i.format+c.format;return"P"===s||"-P"===s?"P0D":s},m.toJSON=function(){return this.toISOString()},m.format=function(e){var n=e||"YYYY-MM-DDTHH:mm:ss",r={Y:this.$d.years,YY:t.s(this.$d.years,2,"0"),YYYY:t.s(this.$d.years,4,"0"),M:this.$d.months,MM:t.s(this.$d.months,2,"0"),D:this.$d.days,DD:t.s(this.$d.days,2,"0"),H:this.$d.hours,HH:t.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,"0"),SSS:t.s(this.$d.milliseconds,3,"0")};return n.replace(a,(function(e,t){return t||String(r[e])}))},m.as=function(e){return this.$ms/s[p(e)]},m.get=function(e){var t=this.$ms,n=p(e);return"milliseconds"===n?t%=1e3:t="weeks"===n?v(t/s[n]):this.$d[n],0===t?0:t},m.add=function(e,t,n){var r;return r=t?e*s[p(t)]:f(e)?e.$ms:d(e,this).$ms,d(this.$ms+r*(n?-1:1),this)},m.subtract=function(e,t){return this.add(e,t,!0)},m.locale=function(e){var t=this.clone();return t.$l=e,t},m.clone=function(){return d(this.$ms,this)},m.humanize=function(t){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},m.valueOf=function(){return this.asMilliseconds()},m.milliseconds=function(){return this.get("milliseconds")},m.asMilliseconds=function(){return this.as("milliseconds")},m.seconds=function(){return this.get("seconds")},m.asSeconds=function(){return this.as("seconds")},m.minutes=function(){return this.get("minutes")},m.asMinutes=function(){return this.as("minutes")},m.hours=function(){return this.get("hours")},m.asHours=function(){return this.as("hours")},m.days=function(){return this.get("days")},m.asDays=function(){return this.as("days")},m.weeks=function(){return this.get("weeks")},m.asWeeks=function(){return this.as("weeks")},m.months=function(){return this.get("months")},m.asMonths=function(){return this.as("months")},m.years=function(){return this.get("years")},m.asYears=function(){return this.as("years")},h}(),g=function(e,t,n){return e.add(t.years()*n,"y").add(t.months()*n,"M").add(t.days()*n,"d").add(t.hours()*n,"h").add(t.minutes()*n,"m").add(t.seconds()*n,"s").add(t.milliseconds()*n,"ms")};return function(n,r,o){e=o,t=o().$utils(),o.duration=function(e,t){var n=o.locale();return d(e,{$l:n},t)},o.isDuration=f;var i=r.prototype.add,a=r.prototype.subtract;r.prototype.add=function(e,t){return f(e)?g(this,e,1):i.bind(this)(e,t)},r.prototype.subtract=function(e,t){return f(e)?g(this,e,-1):a.bind(this)(e,t)}}}()},443:function(e){e.exports=function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,o){var i,a=function(e,n,r){void 0===r&&(r={});var o=new Date(e),i=function(e,n){void 0===n&&(n={});var r=n.timeZoneName||"short",o=e+"|"+r,i=t[o];return i||(i=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:r}),t[o]=i),i}(n,r);return i.formatToParts(o)},c=function(t,n){for(var r=a(t,n),i=[],c=0;c<r.length;c+=1){var l=r[c],u=l.type,s=l.value,f=e[u];f>=0&&(i[f]=parseInt(s,10))}var d=i[3],p=24===d?0:d,h=i[0]+"-"+i[1]+"-"+i[2]+" "+p+":"+i[4]+":"+i[5]+":000",v=+t;return(o.utc(h).valueOf()-(v-=v%1e3))/6e4},l=r.prototype;l.tz=function(e,t){void 0===e&&(e=i);var n=this.utcOffset(),r=this.toDate(),a=r.toLocaleString("en-US",{timeZone:e}),c=Math.round((r-new Date(a))/1e3/60),l=o(a).$set("millisecond",this.$ms).utcOffset(15*-Math.round(r.getTimezoneOffset()/15)-c,!0);if(t){var u=l.utcOffset();l=l.add(n-u,"minute")}return l.$x.$timezone=e,l},l.offsetName=function(e){var t=this.$x.$timezone||o.tz.guess(),n=a(this.valueOf(),t,{timeZoneName:e}).find((function(e){return"timezonename"===e.type.toLowerCase()}));return n&&n.value};var u=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return u.call(this,e,t);var n=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return u.call(n,e,t).tz(this.$x.$timezone,!0)},o.tz=function(e,t,n){var r=n&&t,a=n||t||i,l=c(+o(),a);if("string"!=typeof e)return o(e).tz(a);var u=function(e,t,n){var r=e-60*t*1e3,o=c(r,n);if(t===o)return[r,t];var i=c(r-=60*(o-t)*1e3,n);return o===i?[r,o]:[e-60*Math.min(o,i)*1e3,Math.max(o,i)]}(o.utc(e,r).valueOf(),l,a),s=u[0],f=u[1],d=o(s).utcOffset(f);return d.$x.$timezone=a,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(e){i=e}}}()},635:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,o,i){var a=o.prototype;i.utc=function(e){return new o({date:e,utc:!0,args:arguments})},a.utc=function(t){var n=i(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var c=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),c.call(this,e)};var l=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var u=a.utcOffset;a.utcOffset=function(r,o){var i=this.$utils().u;if(i(r))return this.$u?0:i(this.$offset)?u.call(this):this.$offset;if("string"==typeof r&&(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var o=(""+r[0]).match(n)||["-",0,0],i=o[0],a=60*+o[1]+ +o[2];return 0===a?0:"+"===i?a:-a}(r),null===r))return this;var a=Math.abs(r)<=16?60*r:r,c=this;if(o)return c.$offset=a,c.$u=0===r,c;if(0!==r){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(c=this.local().add(a+l,e)).$offset=a,c.$x.$localOffset=l}else c=this.utc();return c};var s=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return s.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var f=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var d=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return d.call(this,e,t,n);var r=this.local(),o=i(e).local();return d.call(r,o,t,n)}}}()},781:function(e){"use strict";var t=Array.prototype.slice,n=Object.prototype.toString;e.exports=function(e){var r=this;if("function"!==typeof r||"[object Function]"!==n.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var o,i=t.call(arguments,1),a=Math.max(0,r.length-i.length),c=[],l=0;l<a;l++)c.push("$"+l);if(o=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var n=r.apply(this,i.concat(t.call(arguments)));return Object(n)===n?n:this}return r.apply(e,i.concat(t.call(arguments)))})),r.prototype){var u=function(){};u.prototype=r.prototype,o.prototype=new u,u.prototype=null}return o}},199:function(e,t,n){"use strict";var r=n(781);e.exports=Function.prototype.bind||r},476:function(e,t,n){"use strict";var r,o=SyntaxError,i=Function,a=TypeError,c=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(t){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(P){l=null}var u=function(){throw new a},s=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(t){return u}}}():u,f=n(520)(),d=n(593)(),p=Object.getPrototypeOf||(d?function(e){return e.__proto__}:null),h={},v="undefined"!==typeof Uint8Array&&p?p(Uint8Array):r,m={"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":f&&p?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"===typeof Atomics?r:Atomics,"%BigInt%":"undefined"===typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":h,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f&&p?p(p([][Symbol.iterator]())):r,"%JSON%":"object"===typeof JSON?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&f&&p?p((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?r:Promise,"%Proxy%":"undefined"===typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&f&&p?p((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f&&p?p(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":s,"%TypedArray%":v,"%TypeError%":a,"%Uint8Array%":"undefined"===typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?r:WeakSet};if(p)try{null.error}catch(P){var y=p(p(P));m["%Error.prototype%"]=y}var _=function e(t){var n;if("%AsyncFunction%"===t)n=c("async function () {}");else if("%GeneratorFunction%"===t)n=c("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=c("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&p&&(n=p(o.prototype))}return m[t]=n,n},g={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=n(199),w=n(838),A=b.call(Function.call,Array.prototype.concat),S=b.call(Function.apply,Array.prototype.splice),x=b.call(Function.call,String.prototype.replace),E=b.call(Function.call,String.prototype.slice),k=b.call(Function.call,RegExp.prototype.exec),C=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,N=function(e,t){var n,r=e;if(w(g,r)&&(r="%"+(n=g[r])[0]+"%"),w(m,r)){var i=m[r];if(i===h&&(i=_(r)),"undefined"===typeof i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===k(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=E(e,0,1),n=E(e,-1);if("%"===t&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return x(e,C,(function(e,t,n,o){r[r.length]=n?x(o,O,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",i=N("%"+r+"%",t),c=i.name,u=i.value,s=!1,f=i.alias;f&&(r=f[0],S(n,A([0,1],f)));for(var d=1,p=!0;d<n.length;d+=1){var h=n[d],v=E(h,0,1),y=E(h,-1);if(('"'===v||"'"===v||"`"===v||'"'===y||"'"===y||"`"===y)&&v!==y)throw new o("property names with quotes must have matching quotes");if("constructor"!==h&&p||(s=!0),w(m,c="%"+(r+="."+h)+"%"))u=m[c];else if(null!=u){if(!(h in u)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&d+1>=n.length){var _=l(u,h);u=(p=!!_)&&"get"in _&&!("originalValue"in _.get)?_.get:u[h]}else p=w(u,h),u=u[h];p&&!s&&(m[c]=u)}}return u}},593:function(e){"use strict";var t={foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof n)}},520:function(e,t,n){"use strict";var r="undefined"!==typeof Symbol&&Symbol,o=n(541);e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&o())))}},541:function(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},838:function(e,t,n){"use strict";var r=n(199);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},7:function(e,t,n){var r="__lodash_hash_undefined__",o=1/0,i="[object Function]",a="[object GeneratorFunction]",c="[object Symbol]",l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,s=/^\./,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,p=/^\[object .+?Constructor\]$/,h="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,v="object"==typeof self&&self&&self.Object===Object&&self,m=h||v||Function("return this")();var y=Array.prototype,_=Function.prototype,g=Object.prototype,b=m["__core-js_shared__"],w=function(){var e=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),A=_.toString,S=g.hasOwnProperty,x=g.toString,E=RegExp("^"+A.call(S).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),k=m.Symbol,C=y.splice,O=F(m,"Map"),N=F(Object,"create"),P=k?k.prototype:void 0,M=P?P.toString:void 0;function T(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function j(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function L(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function D(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!==n&&r!==r)return o;return-1}function $(e,t){var n;t=function(e,t){if(z(e))return!1;var n=typeof e;if("number"==n||"symbol"==n||"boolean"==n||null==e||V(e))return!0;return u.test(e)||!l.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:z(n=t)?n:U(n);for(var r=0,o=t.length;null!=e&&r<o;)e=e[H(t[r++])];return r&&r==o?e:void 0}function I(e){if(!W(e)||(t=e,w&&w in t))return!1;var t,n=function(e){var t=W(e)?x.call(e):"";return t==i||t==a}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}(e)?E:p;return n.test(function(e){if(null!=e){try{return A.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e))}function R(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function F(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return I(n)?n:void 0}T.prototype.clear=function(){this.__data__=N?N(null):{}},T.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},T.prototype.get=function(e){var t=this.__data__;if(N){var n=t[e];return n===r?void 0:n}return S.call(t,e)?t[e]:void 0},T.prototype.has=function(e){var t=this.__data__;return N?void 0!==t[e]:S.call(t,e)},T.prototype.set=function(e,t){return this.__data__[e]=N&&void 0===t?r:t,this},j.prototype.clear=function(){this.__data__=[]},j.prototype.delete=function(e){var t=this.__data__,n=D(t,e);return!(n<0)&&(n==t.length-1?t.pop():C.call(t,n,1),!0)},j.prototype.get=function(e){var t=this.__data__,n=D(t,e);return n<0?void 0:t[n][1]},j.prototype.has=function(e){return D(this.__data__,e)>-1},j.prototype.set=function(e,t){var n=this.__data__,r=D(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},L.prototype.clear=function(){this.__data__={hash:new T,map:new(O||j),string:new T}},L.prototype.delete=function(e){return R(this,e).delete(e)},L.prototype.get=function(e){return R(this,e).get(e)},L.prototype.has=function(e){return R(this,e).has(e)},L.prototype.set=function(e,t){return R(this,e).set(e,t),this};var U=B((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(V(e))return M?M.call(e):"";var t=e+"";return"0"==t&&1/e==-o?"-0":t}(t);var n=[];return s.test(e)&&n.push(""),e.replace(f,(function(e,t,r,o){n.push(r?o.replace(d,"$1"):t||e)})),n}));function H(e){if("string"==typeof e||V(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}function B(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(B.Cache||L),n}B.Cache=L;var z=Array.isArray;function W(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function V(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&x.call(e)==c}e.exports=function(e,t,n){var r=null==e?void 0:$(e,t);return void 0===r?n:r}},154:function(e,t,n){var r="function"===typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"===typeof o.get?o.get:null,a=r&&Map.prototype.forEach,c="function"===typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=c&&l&&"function"===typeof l.get?l.get:null,s=c&&Set.prototype.forEach,f="function"===typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"===typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"===typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,v=Object.prototype.toString,m=Function.prototype.toString,y=String.prototype.match,_=String.prototype.slice,g=String.prototype.replace,b=String.prototype.toUpperCase,w=String.prototype.toLowerCase,A=RegExp.prototype.test,S=Array.prototype.concat,x=Array.prototype.join,E=Array.prototype.slice,k=Math.floor,C="function"===typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,N="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,P="function"===typeof Symbol&&"object"===typeof Symbol.iterator,M="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===P||"symbol")?Symbol.toStringTag:null,T=Object.prototype.propertyIsEnumerable,j=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function L(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||A.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var r=e<0?-k(-e):k(e);if(r!==e){var o=String(r),i=_.call(t,o.length+1);return g.call(o,n,"$&_")+"."+g.call(g.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return g.call(t,n,"$&_")}var D=n(654),$=D.custom,I=B($)?$:null;function R(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function F(e){return g.call(String(e),/"/g,""")}function U(e){return"[object Array]"===V(e)&&(!M||!("object"===typeof e&&M in e))}function H(e){return"[object RegExp]"===V(e)&&(!M||!("object"===typeof e&&M in e))}function B(e){if(P)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!N)return!1;try{return N.call(e),!0}catch(t){}return!1}e.exports=function e(t,n,r,o){var c=n||{};if(W(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(W(c,"maxStringLength")&&("number"===typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!W(c,"customInspect")||c.customInspect;if("boolean"!==typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(W(c,"numericSeparator")&&"boolean"!==typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var v=c.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return Z(t,c);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var b=String(t);return v?L(t,b):b}if("bigint"===typeof t){var A=String(t)+"n";return v?L(t,A):A}var k="undefined"===typeof c.depth?5:c.depth;if("undefined"===typeof r&&(r=0),r>=k&&k>0&&"object"===typeof t)return U(t)?"[Array]":"[Object]";var O=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=x.call(Array(e.indent+1)," ")}return{base:n,prev:x.call(Array(t+1),n)}}(c,r);if("undefined"===typeof o)o=[];else if(Y(o,t)>=0)return"[Circular]";function $(t,n,i){if(n&&(o=E.call(o)).push(n),i){var a={depth:c.depth};return W(c,"quoteStyle")&&(a.quoteStyle=c.quoteStyle),e(t,a,r+1,o)}return e(t,c,r+1,o)}if("function"===typeof t&&!H(t)){var z=function(e){if(e.name)return e.name;var t=y.call(m.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),G=X(t,$);return"[Function"+(z?": "+z:" (anonymous)")+"]"+(G.length>0?" { "+x.call(G,", ")+" }":"")}if(B(t)){var ee=P?g.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):N.call(t);return"object"!==typeof t||P?ee:q(ee)}if(function(e){if(!e||"object"!==typeof e)return!1;if("undefined"!==typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"===typeof e.nodeName&&"function"===typeof e.getAttribute}(t)){for(var te="<"+w.call(String(t.nodeName)),ne=t.attributes||[],re=0;re<ne.length;re++)te+=" "+ne[re].name+"="+R(F(ne[re].value),"double",c);return te+=">",t.childNodes&&t.childNodes.length&&(te+="..."),te+="</"+w.call(String(t.nodeName))+">"}if(U(t)){if(0===t.length)return"[]";var oe=X(t,$);return O&&!function(e){for(var t=0;t<e.length;t++)if(Y(e[t],"\n")>=0)return!1;return!0}(oe)?"["+Q(oe,O)+"]":"[ "+x.call(oe,", ")+" ]"}if(function(e){return"[object Error]"===V(e)&&(!M||!("object"===typeof e&&M in e))}(t)){var ie=X(t,$);return"cause"in Error.prototype||!("cause"in t)||T.call(t,"cause")?0===ie.length?"["+String(t)+"]":"{ ["+String(t)+"] "+x.call(ie,", ")+" }":"{ ["+String(t)+"] "+x.call(S.call("[cause]: "+$(t.cause),ie),", ")+" }"}if("object"===typeof t&&l){if(I&&"function"===typeof t[I]&&D)return D(t,{depth:k-r});if("symbol"!==l&&"function"===typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!==typeof e)return!1;try{i.call(e);try{u.call(e)}catch(te){return!0}return e instanceof Map}catch(t){}return!1}(t)){var ae=[];return a&&a.call(t,(function(e,n){ae.push($(n,t,!0)+" => "+$(e,t))})),J("Map",i.call(t),ae,O)}if(function(e){if(!u||!e||"object"!==typeof e)return!1;try{u.call(e);try{i.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}(t)){var ce=[];return s&&s.call(t,(function(e){ce.push($(e,t))})),J("Set",u.call(t),ce,O)}if(function(e){if(!f||!e||"object"!==typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(te){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return K("WeakMap");if(function(e){if(!d||!e||"object"!==typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(te){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return K("WeakSet");if(function(e){if(!p||!e||"object"!==typeof e)return!1;try{return p.call(e),!0}catch(t){}return!1}(t))return K("WeakRef");if(function(e){return"[object Number]"===V(e)&&(!M||!("object"===typeof e&&M in e))}(t))return q($(Number(t)));if(function(e){if(!e||"object"!==typeof e||!C)return!1;try{return C.call(e),!0}catch(t){}return!1}(t))return q($(C.call(t)));if(function(e){return"[object Boolean]"===V(e)&&(!M||!("object"===typeof e&&M in e))}(t))return q(h.call(t));if(function(e){return"[object String]"===V(e)&&(!M||!("object"===typeof e&&M in e))}(t))return q($(String(t)));if(!function(e){return"[object Date]"===V(e)&&(!M||!("object"===typeof e&&M in e))}(t)&&!H(t)){var le=X(t,$),ue=j?j(t)===Object.prototype:t instanceof Object||t.constructor===Object,se=t instanceof Object?"":"null prototype",fe=!ue&&M&&Object(t)===t&&M in t?_.call(V(t),8,-1):se?"Object":"",de=(ue||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(fe||se?"["+x.call(S.call([],fe||[],se||[]),": ")+"] ":"");return 0===le.length?de+"{}":O?de+"{"+Q(le,O)+"}":de+"{ "+x.call(le,", ")+" }"}return String(t)};var z=Object.prototype.hasOwnProperty||function(e){return e in this};function W(e,t){return z.call(e,t)}function V(e){return v.call(e)}function Y(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function Z(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Z(_.call(e,0,t.maxStringLength),t)+r}return R(g.call(g.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,G),"single",t)}function G(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+b.call(t.toString(16))}function q(e){return"Object("+e+")"}function K(e){return e+" { ? }"}function J(e,t,n,r){return e+" ("+t+") {"+(r?Q(n,r):x.call(n,", "))+"}"}function Q(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+x.call(e,","+n)+"\n"+t.prev}function X(e,t){var n=U(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=W(e,o)?t(e[o],e):""}var i,a="function"===typeof O?O(e):[];if(P){i={};for(var c=0;c<a.length;c++)i["$"+a[c]]=a[c]}for(var l in e)W(e,l)&&(n&&String(Number(l))===l&&l<e.length||P&&i["$"+l]instanceof Symbol||(A.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"===typeof O)for(var u=0;u<a.length;u++)T.call(e,a[u])&&r.push("["+t(a[u])+"]: "+t(e[a[u]],e));return r}},609:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC1738",o="RFC3986";e.exports={default:o,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r,RFC3986:o}},776:function(e,t,n){"use strict";var r=n(816),o=n(668),i=n(609);e.exports={formats:i,parse:o,stringify:r}},668:function(e,t,n){"use strict";var r=n(837),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"===typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,c=n.depth>0&&/(\[[^[\]]*])/.exec(i),u=c?i.slice(0,c.index):i,s=[];if(u){if(!n.plainObjects&&o.call(Object.prototype,u)&&!n.allowPrototypes)return;s.push(u)}for(var f=0;n.depth>0&&null!==(c=a.exec(i))&&f<n.depth;){if(f+=1,!n.plainObjects&&o.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;s.push(c[1])}return c&&s.push("["+i.slice(c.index)+"]"),function(e,t,n,r){for(var o=r?t:l(t,n),i=e.length-1;i>=0;--i){var a,c=e[i];if("[]"===c&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var u="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,s=parseInt(u,10);n.parseArrays||""!==u?!isNaN(s)&&c!==u&&String(s)===u&&s>=0&&n.parseArrays&&s<=n.arrayLimit?(a=[])[s]=o:"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o}(s,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t="undefined"===typeof e.charset?a.charset:e.charset;return{allowDots:"undefined"===typeof e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:a.comma,decoder:"function"===typeof e.decoder?e.decoder:a.decoder,delimiter:"string"===typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null===e||"undefined"===typeof e)return n.plainObjects?Object.create(null):{};for(var s="string"===typeof e?function(e,t){var n,u={__proto__:null},s=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,d=s.split(t.delimiter,f),p=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n<d.length;++n)0===d[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[n]?h="utf-8":"utf8=%26%2310003%3B"===d[n]&&(h="iso-8859-1"),p=n,n=d.length);for(n=0;n<d.length;++n)if(n!==p){var v,m,y=d[n],_=y.indexOf("]="),g=-1===_?y.indexOf("="):_+1;-1===g?(v=t.decoder(y,a.decoder,h,"key"),m=t.strictNullHandling?null:""):(v=t.decoder(y.slice(0,g),a.decoder,h,"key"),m=r.maybeMap(l(y.slice(g+1),t),(function(e){return t.decoder(e,a.decoder,h,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===h&&(m=c(m)),y.indexOf("[]=")>-1&&(m=i(m)?[m]:m),o.call(u,v)?u[v]=r.combine(u[v],m):u[v]=m}return u}(e,n):e,f=n.plainObjects?Object.create(null):{},d=Object.keys(s),p=0;p<d.length;++p){var h=d[p],v=u(h,s[h],n,"string"===typeof e);f=r.merge(f,v,n)}return!0===n.allowSparse?f:r.compact(f)}},816:function(e,t,n){"use strict";var r=n(170),o=n(837),i=n(609),a=Object.prototype.hasOwnProperty,c={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,u=Array.prototype.push,s=function(e,t){u.apply(e,l(t)?t:[t])},f=Date.prototype.toISOString,d=i.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},h={},v=function e(t,n,i,a,c,u,f,d,v,m,y,_,g,b,w,A){for(var S,x=t,E=A,k=0,C=!1;void 0!==(E=E.get(h))&&!C;){var O=E.get(t);if(k+=1,"undefined"!==typeof O){if(O===k)throw new RangeError("Cyclic object value");C=!0}"undefined"===typeof E.get(h)&&(k=0)}if("function"===typeof d?x=d(n,x):x instanceof Date?x=y(x):"comma"===i&&l(x)&&(x=o.maybeMap(x,(function(e){return e instanceof Date?y(e):e}))),null===x){if(c)return f&&!b?f(n,p.encoder,w,"key",_):n;x=""}if("string"===typeof(S=x)||"number"===typeof S||"boolean"===typeof S||"symbol"===typeof S||"bigint"===typeof S||o.isBuffer(x))return f?[g(b?n:f(n,p.encoder,w,"key",_))+"="+g(f(x,p.encoder,w,"value",_))]:[g(n)+"="+g(String(x))];var N,P=[];if("undefined"===typeof x)return P;if("comma"===i&&l(x))b&&f&&(x=o.maybeMap(x,f)),N=[{value:x.length>0?x.join(",")||null:void 0}];else if(l(d))N=d;else{var M=Object.keys(x);N=v?M.sort(v):M}for(var T=a&&l(x)&&1===x.length?n+"[]":n,j=0;j<N.length;++j){var L=N[j],D="object"===typeof L&&"undefined"!==typeof L.value?L.value:x[L];if(!u||null!==D){var $=l(x)?"function"===typeof i?i(T,L):T:T+(m?"."+L:"["+L+"]");A.set(t,k);var I=r();I.set(h,A),s(P,e(D,$,i,a,c,u,"comma"===i&&b&&l(x)?null:f,d,v,m,y,_,g,b,w,I))}}return P};e.exports=function(e,t){var n,o=e,u=function(e){if(!e)return p;if(null!==e.encoder&&"undefined"!==typeof e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||p.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if("undefined"!==typeof e.format){if(!a.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=i.formatters[n],o=p.filter;return("function"===typeof e.filter||l(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:"undefined"===typeof e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:"undefined"===typeof e.delimiter?p.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:p.encode,encoder:"function"===typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}}(t);"function"===typeof u.filter?o=(0,u.filter)("",o):l(u.filter)&&(n=u.filter);var f,d=[];if("object"!==typeof o||null===o)return"";f=t&&t.arrayFormat in c?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var h=c[f];if(t&&"commaRoundTrip"in t&&"boolean"!==typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var m="comma"===h&&t&&t.commaRoundTrip;n||(n=Object.keys(o)),u.sort&&n.sort(u.sort);for(var y=r(),_=0;_<n.length;++_){var g=n[_];u.skipNulls&&null===o[g]||s(d,v(o[g],g,h,m,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset,y))}var b=d.join(u.delimiter),w=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),b.length>0?w+b:""}},837:function(e,t,n){"use strict";var r=n(609),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),c=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)"undefined"!==typeof e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:c,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],a=o.obj[o.prop],c=Object.keys(a),l=0;l<c.length;++l){var u=c[l],s=a[u];"object"===typeof s&&null!==s&&-1===n.indexOf(s)&&(t.push({obj:a,prop:u}),n.push(s))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)"undefined"!==typeof n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(o){return r}},encode:function(e,t,n,o,i){if(0===e.length)return e;var c=e;if("symbol"===typeof e?c=Symbol.prototype.toString.call(e):"string"!==typeof e&&(c=String(e)),"iso-8859-1"===n)return escape(c).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",u=0;u<c.length;++u){var s=c.charCodeAt(u);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||i===r.RFC1738&&(40===s||41===s)?l+=c.charAt(u):s<128?l+=a[s]:s<2048?l+=a[192|s>>6]+a[128|63&s]:s<55296||s>=57344?l+=a[224|s>>12]+a[128|s>>6&63]+a[128|63&s]:(u+=1,s=65536+((1023&s)<<10|1023&c.charCodeAt(u)),l+=a[240|s>>18]+a[128|s>>12&63]+a[128|s>>6&63]+a[128|63&s])}return l},isBuffer:function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!==typeof n){if(i(t))t.push(n);else{if(!t||"object"!==typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!==typeof t)return[t].concat(n);var a=t;return i(t)&&!i(n)&&(a=c(t,r)),i(t)&&i(n)?(n.forEach((function(n,i){if(o.call(t,i)){var a=t[i];a&&"object"===typeof a&&n&&"object"===typeof n?t[i]=e(a,n,r):t.push(n)}else t[i]=n})),t):Object.keys(n).reduce((function(t,i){var a=n[i];return o.call(t,i)?t[i]=e(t[i],a,r):t[i]=a,t}),a)}}},170:function(e,t,n){"use strict";var r=n(476),o=n(680),i=n(154),a=r("%TypeError%"),c=r("%WeakMap%",!0),l=r("%Map%",!0),u=o("WeakMap.prototype.get",!0),s=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),d=o("Map.prototype.get",!0),p=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),v=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+i(e))},get:function(r){if(c&&r&&("object"===typeof r||"function"===typeof r)){if(e)return u(e,r)}else if(l){if(t)return d(t,r)}else if(n)return function(e,t){var n=v(e,t);return n&&n.value}(n,r)},has:function(r){if(c&&r&&("object"===typeof r||"function"===typeof r)){if(e)return f(e,r)}else if(l){if(t)return h(t,r)}else if(n)return function(e,t){return!!v(e,t)}(n,r);return!1},set:function(r,o){c&&r&&("object"===typeof r||"function"===typeof r)?(e||(e=new c),s(e,r,o)):l?(t||(t=new l),p(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=v(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r}},654:function(){}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.m=e,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/js/"+e+".b5ae4365.chunk.js"},n.miniCssF=function(e){},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="vmui:";n.l=function(r,o,i,a){if(e[r])e[r].push(o);else{var c,l;if(void 0!==i)for(var u=document.getElementsByTagName("script"),s=0;s<u.length;s++){var f=u[s];if(f.getAttribute("src")==r||f.getAttribute("data-webpack")==t+i){c=f;break}}c||(l=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,n.nc&&c.setAttribute("nonce",n.nc),c.setAttribute("data-webpack",t+i),c.src=r),e[r]=[o];var d=function(t,n){c.onerror=c.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((function(e){return e(n)})),t)return t(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=d.bind(null,c.onerror),c.onload=d.bind(null,c.onload),l&&document.head.appendChild(c)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="./",function(){var e={179:0};n.f.j=function(t,r){var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var i=new Promise((function(n,r){o=e[t]=[n,r]}));r.push(o[2]=i);var a=n.p+n.u(t),c=new Error;n.l(a,(function(r){if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",c.name="ChunkLoadError",c.type=i,c.request=a,o[1](c)}}),"chunk-"+t,t)}};var t=function(t,r){var o,i,a=r[0],c=r[1],l=r[2],u=0;if(a.some((function(t){return 0!==e[t]}))){for(o in c)n.o(c,o)&&(n.m[o]=c[o]);if(l)l(n)}for(t&&t(r);u<a.length;u++)i=a[u],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunkvmui=self.webpackChunkvmui||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}(),function(){"use strict";var e={};n.r(e),n.d(e,{Children:function(){return Me},Component:function(){return b},Fragment:function(){return g},PureComponent:function(){return Ee},StrictMode:function(){return mt},Suspense:function(){return $e},SuspenseList:function(){return Fe},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:function(){return ct},cloneElement:function(){return ft},createContext:function(){return z},createElement:function(){return m},createFactory:function(){return ut},createPortal:function(){return ze},createRef:function(){return _},default:function(){return St},findDOMNode:function(){return pt},flushSync:function(){return vt},forwardRef:function(){return Ne},hydrate:function(){return Je},isValidElement:function(){return st},lazy:function(){return Re},memo:function(){return ke},render:function(){return Ke},startTransition:function(){return yt},unmountComponentAtNode:function(){return dt},unstable_batchedUpdates:function(){return ht},useCallback:function(){return se},useContext:function(){return fe},useDebugValue:function(){return de},useDeferredValue:function(){return _t},useEffect:function(){return ie},useErrorBoundary:function(){return pe},useId:function(){return he},useImperativeHandle:function(){return le},useInsertionEffect:function(){return bt},useLayoutEffect:function(){return ae},useMemo:function(){return ue},useReducer:function(){return oe},useRef:function(){return ce},useState:function(){return re},useSyncExternalStore:function(){return wt},useTransition:function(){return gt},version:function(){return lt}});var t,r,o,i,a,c,l,u,s={},f=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,p=Array.isArray;function h(e,t){for(var n in t)e[n]=t[n];return e}function v(e){var t=e.parentNode;t&&t.removeChild(e)}function m(e,n,r){var o,i,a,c={};for(a in n)"key"==a?o=n[a]:"ref"==a?i=n[a]:c[a]=n[a];if(arguments.length>2&&(c.children=arguments.length>3?t.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===c[a]&&(c[a]=e.defaultProps[a]);return y(e,c,o,i,null)}function y(e,t,n,i,a){var c={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++o:a};return null==a&&null!=r.vnode&&r.vnode(c),c}function _(){return{current:null}}function g(e){return e.children}function b(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?w(e):null}function A(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return A(e)}}function S(e){(!e.__d&&(e.__d=!0)&&i.push(e)&&!x.__r++||a!==r.debounceRendering)&&((a=r.debounceRendering)||c)(x)}function x(){var e,t,n,r,o,a,c,u,s;for(i.sort(l);e=i.shift();)e.__d&&(t=i.length,r=void 0,o=void 0,a=void 0,u=(c=(n=e).__v).__e,(s=n.__P)&&(r=[],o=[],(a=h({},c)).__v=c.__v+1,L(s,c,a,n.__n,void 0!==s.ownerSVGElement,null!=c.__h?[u]:null,r,null==u?w(c):u,c.__h,o),D(r,c,o),c.__e!=u&&A(c)),i.length>t&&i.sort(l));x.__r=0}function E(e,t,n,r,o,i,a,c,l,u,d){var h,v,m,_,b,w,A,S,x,E,C=0,P=r&&r.__k||f,M=P.length,T=M,j=t.length;for(n.__k=[],h=0;h<j;h++)null!=(_=n.__k[h]=null==(_=t[h])||"boolean"==typeof _||"function"==typeof _?null:"string"==typeof _||"number"==typeof _||"bigint"==typeof _?y(null,_,null,null,_):p(_)?y(g,{children:_},null,null,null):_.__b>0?y(_.type,_.props,_.key,_.ref?_.ref:null,_.__v):_)&&(_.__=n,_.__b=n.__b+1,-1===(S=N(_,P,A=h+C,T))?m=s:(m=P[S]||s,P[S]=void 0,T--),L(e,_,m,o,i,a,c,l,u,d),b=_.__e,(v=_.ref)&&m.ref!=v&&(m.ref&&I(m.ref,null,_),d.push(v,_.__c||b,_)),null!=b&&(null==w&&(w=b),E=!(x=m===s||null===m.__v)&&S===A,x?-1==S&&C--:S!==A&&(S===A+1?(C++,E=!0):S>A?T>j-A?(C+=S-A,E=!0):C--:C=S<A&&S==A-1?S-A:0),A=h+C,E=E||S==h&&!x,"function"!=typeof _.type||S===A&&m.__k!==_.__k?"function"==typeof _.type||E?void 0!==_.__d?(l=_.__d,_.__d=void 0):l=b.nextSibling:l=O(e,b,l):l=k(_,l,e),"function"==typeof n.type&&(n.__d=l)));for(n.__e=w,h=M;h--;)null!=P[h]&&("function"==typeof n.type&&null!=P[h].__e&&P[h].__e==n.__d&&(n.__d=P[h].__e.nextSibling),R(P[h],P[h]))}function k(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?k(r,t,n):O(n,r.__e,t));return t}function C(e,t){return t=t||[],null==e||"boolean"==typeof e||(p(e)?e.some((function(e){C(e,t)})):t.push(e)),t}function O(e,t,n){return null==n||n.parentNode!==e?e.insertBefore(t,null):t==n&&null!=t.parentNode||e.insertBefore(t,n),t.nextSibling}function N(e,t,n,r){var o=e.key,i=e.type,a=n-1,c=n+1,l=t[n];if(null===l||l&&o==l.key&&i===l.type)return n;if(r>(null!=l?1:0))for(;a>=0||c<t.length;){if(a>=0){if((l=t[a])&&o==l.key&&i===l.type)return a;a--}if(c<t.length){if((l=t[c])&&o==l.key&&i===l.type)return c;c++}}return-1}function P(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||d.test(t)?n:n+"px"}function M(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||P(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||P(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?j:T,i):e.removeEventListener(t,i?j:T,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function T(e){return this.l[e.type+!1](r.event?r.event(e):e)}function j(e){return this.l[e.type+!0](r.event?r.event(e):e)}function L(e,t,n,o,i,a,c,l,u,s){var f,d,v,m,y,_,w,A,S,x,k,C,O,N,P,M=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(u=n.__h,l=t.__e=n.__e,t.__h=null,a=[l]),(f=r.__b)&&f(t);try{e:if("function"==typeof M){if(A=t.props,S=(f=M.contextType)&&o[f.__c],x=f?S?S.props.value:f.__:o,n.__c?w=(d=t.__c=n.__c).__=d.__E:("prototype"in M&&M.prototype.render?t.__c=d=new M(A,x):(t.__c=d=new b(A,x),d.constructor=M,d.render=F),S&&S.sub(d),d.props=A,d.state||(d.state={}),d.context=x,d.__n=o,v=d.__d=!0,d.__h=[],d._sb=[]),null==d.__s&&(d.__s=d.state),null!=M.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=h({},d.__s)),h(d.__s,M.getDerivedStateFromProps(A,d.__s))),m=d.props,y=d.state,d.__v=t,v)null==M.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==M.getDerivedStateFromProps&&A!==m&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(A,x),!d.__e&&(null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(A,d.__s,x)||t.__v===n.__v)){for(t.__v!==n.__v&&(d.props=A,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),k=0;k<d._sb.length;k++)d.__h.push(d._sb[k]);d._sb=[],d.__h.length&&c.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(A,d.__s,x),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(m,y,_)}))}if(d.context=x,d.props=A,d.__P=e,d.__e=!1,C=r.__r,O=0,"prototype"in M&&M.prototype.render){for(d.state=d.__s,d.__d=!1,C&&C(t),f=d.render(d.props,d.state,d.context),N=0;N<d._sb.length;N++)d.__h.push(d._sb[N]);d._sb=[]}else do{d.__d=!1,C&&C(t),f=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++O<25);d.state=d.__s,null!=d.getChildContext&&(o=h(h({},o),d.getChildContext())),v||null==d.getSnapshotBeforeUpdate||(_=d.getSnapshotBeforeUpdate(m,y)),E(e,p(P=null!=f&&f.type===g&&null==f.key?f.props.children:f)?P:[P],t,n,o,i,a,c,l,u,s),d.base=t.__e,t.__h=null,d.__h.length&&c.push(d),w&&(d.__E=d.__=null)}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=$(n.__e,t,n,o,i,a,c,u,s);(f=r.diffed)&&f(t)}catch(e){t.__v=null,(u||null!=a)&&(t.__e=l,t.__h=!!u,a[a.indexOf(l)]=null),r.__e(e,t,n)}}function D(e,t,n){for(var o=0;o<n.length;o++)I(n[o],n[++o],n[++o]);r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function $(e,n,r,o,i,a,c,l,u){var f,d,h,m=r.props,y=n.props,_=n.type,g=0;if("svg"===_&&(i=!0),null!=a)for(;g<a.length;g++)if((f=a[g])&&"setAttribute"in f==!!_&&(_?f.localName===_:3===f.nodeType)){e=f,a[g]=null;break}if(null==e){if(null===_)return document.createTextNode(y);e=i?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,y.is&&y),a=null,l=!1}if(null===_)m===y||l&&e.data===y||(e.data=y);else{if(a=a&&t.call(e.childNodes),d=(m=r.props||s).dangerouslySetInnerHTML,h=y.dangerouslySetInnerHTML,!l){if(null!=a)for(m={},g=0;g<e.attributes.length;g++)m[e.attributes[g].name]=e.attributes[g].value;(h||d)&&(h&&(d&&h.__html==d.__html||h.__html===e.innerHTML)||(e.innerHTML=h&&h.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||M(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||M(e,i,t[i],n[i],r)}(e,y,m,i,l),h)n.__k=[];else if(E(e,p(g=n.props.children)?g:[g],n,r,o,i&&"foreignObject"!==_,a,c,a?a[0]:r.__k&&w(r,0),l,u),null!=a)for(g=a.length;g--;)null!=a[g]&&v(a[g]);l||("value"in y&&void 0!==(g=y.value)&&(g!==e.value||"progress"===_&&!g||"option"===_&&g!==m.value)&&M(e,"value",g,m.value,!1),"checked"in y&&void 0!==(g=y.checked)&&g!==e.checked&&M(e,"checked",g,m.checked,!1))}return e}function I(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function R(e,t,n){var o,i;if(r.unmount&&r.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||I(o,null,t)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){r.__e(e,t)}o.base=o.__P=null,e.__c=void 0}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&R(o[i],t,n||"function"!=typeof e.type);n||null==e.__e||v(e.__e),e.__=e.__e=e.__d=void 0}function F(e,t,n){return this.constructor(e,n)}function U(e,n,o){var i,a,c,l;r.__&&r.__(e,n),a=(i="function"==typeof o)?null:o&&o.__k||n.__k,c=[],l=[],L(n,e=(!i&&o||n).__k=m(g,null,[e]),a||s,s,void 0!==n.ownerSVGElement,!i&&o?[o]:a?null:n.firstChild?t.call(n.childNodes):null,c,!i&&o?o:a?a.__e:n.firstChild,i,l),D(c,e,l)}function H(e,t){U(e,t,H)}function B(e,n,r){var o,i,a,c,l=h({},e.props);for(a in e.type&&e.type.defaultProps&&(c=e.type.defaultProps),n)"key"==a?o=n[a]:"ref"==a?i=n[a]:l[a]=void 0===n[a]&&void 0!==c?c[a]:n[a];return arguments.length>2&&(l.children=arguments.length>3?t.call(arguments,2):r),y(e.type,l,o||e.key,i||e.ref,null)}function z(e,t){var n={__c:t="__cC"+u++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,S(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}t=f.slice,r={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},o=0,b.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof e&&(e=e(h({},n),this.props)),e&&h(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),S(this))},b.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},b.prototype.render=g,i=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,l=function(e,t){return e.__v.__b-t.__v.__b},x.__r=0,u=0;var W,V,Y,Z,G=0,q=[],K=[],J=r.__b,Q=r.__r,X=r.diffed,ee=r.__c,te=r.unmount;function ne(e,t){r.__h&&r.__h(V,e,G||t),G=0;var n=V.__H||(V.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:K}),n.__[e]}function re(e){return G=1,oe(we,e)}function oe(e,t,n){var r=ne(W++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):we(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=V,!V.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var a=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};V.u=!0;var i=V.shouldComponentUpdate,a=V.componentWillUpdate;V.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}a&&a.call(this,e,t,n)},V.shouldComponentUpdate=o}return r.__N||r.__}function ie(e,t){var n=ne(W++,3);!r.__s&&be(n.__H,t)&&(n.__=e,n.i=t,V.__H.__h.push(n))}function ae(e,t){var n=ne(W++,4);!r.__s&&be(n.__H,t)&&(n.__=e,n.i=t,V.__h.push(n))}function ce(e){return G=5,ue((function(){return{current:e}}),[])}function le(e,t,n){G=6,ae((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function ue(e,t){var n=ne(W++,7);return be(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function se(e,t){return G=8,ue((function(){return e}),t)}function fe(e){var t=V.context[e.__c],n=ne(W++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(V)),t.props.value):e.__}function de(e,t){r.useDebugValue&&r.useDebugValue(t?t(e):e)}function pe(e){var t=ne(W++,10),n=re();return t.__=e,V.componentDidCatch||(V.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]}function he(){var e=ne(W++,11);if(!e.__){for(var t=V.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function ve(){for(var e;e=q.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(_e),e.__H.__h.forEach(ge),e.__H.__h=[]}catch(c){e.__H.__h=[],r.__e(c,e.__v)}}r.__b=function(e){V=null,J&&J(e)},r.__r=function(e){Q&&Q(e),W=0;var t=(V=e.__c).__H;t&&(Y===V?(t.__h=[],V.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=K,e.__N=e.i=void 0}))):(t.__h.forEach(_e),t.__h.forEach(ge),t.__h=[],W=0)),Y=V},r.diffed=function(e){X&&X(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==q.push(t)&&Z===r.requestAnimationFrame||((Z=r.requestAnimationFrame)||ye)(ve)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==K&&(e.__=e.__V),e.i=void 0,e.__V=K}))),Y=V=null},r.__c=function(e,t){t.some((function(e){try{e.__h.forEach(_e),e.__h=e.__h.filter((function(e){return!e.__||ge(e)}))}catch(o){t.some((function(e){e.__h&&(e.__h=[])})),t=[],r.__e(o,e.__v)}})),ee&&ee(e,t)},r.unmount=function(e){te&&te(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{_e(e)}catch(e){t=e}})),n.__H=void 0,t&&r.__e(t,n.__v))};var me="function"==typeof requestAnimationFrame;function ye(e){var t,n=function(){clearTimeout(r),me&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);me&&(t=requestAnimationFrame(n))}function _e(e){var t=V,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),V=t}function ge(e){var t=V;e.__c=e.__(),V=t}function be(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function we(e,t){return"function"==typeof t?t(e):t}function Ae(e,t){for(var n in t)e[n]=t[n];return e}function Se(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function xe(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}function Ee(e){this.props=e}function ke(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:Se(this.props,e)}function r(t){return this.shouldComponentUpdate=n,m(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Ee.prototype=new b).isPureReactComponent=!0,Ee.prototype.shouldComponentUpdate=function(e,t){return Se(this.props,e)||Se(this.state,t)};var Ce=r.__b;r.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ce&&Ce(e)};var Oe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ne(e){function t(t){var n=Ae({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Oe,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Pe=function(e,t){return null==e?null:C(C(e).map(t))},Me={map:Pe,forEach:Pe,count:function(e){return e?C(e).length:0},only:function(e){var t=C(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:C},Te=r.__e;r.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);Te(e,t,n,r)};var je=r.unmount;function Le(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=Ae({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Le(e,t,n)}))),e}function De(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return De(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function $e(){this.__u=0,this.t=null,this.__b=null}function Ie(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Re(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return m(n,o)}return o.displayName="Lazy",o.__f=!0,o}function Fe(){this.u=null,this.o=null}r.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),je&&je(e)},($e.prototype=new b).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=Ie(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(c):c())};n.__R=a;var c=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=De(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},$e.prototype.componentWillUnmount=function(){this.t=[]},$e.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Le(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&m(g,null,e.fallback);return o&&(o.__h=null),[m(g,null,t.__a?null:e.children),o]};var Ue=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function He(e){return this.getChildContext=function(){return e.context},e.children}function Be(e){var t=this,n=e.i;t.componentWillUnmount=function(){U(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),U(m(He,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function ze(e,t){var n=m(Be,{__v:e,i:t});return n.containerInfo=t,n}(Fe.prototype=new b).__a=function(e){var t=this,n=Ie(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Ue(t,e,r)):o()};n?n(i):i()}},Fe.prototype.render=function(e){this.u=null,this.o=new Map;var t=C(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Fe.prototype.componentDidUpdate=Fe.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Ue(e,n,t)}))};var We="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ve=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ye=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ze=/[A-Z0-9]/g,Ge="undefined"!=typeof document,qe=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function Ke(e,t,n){return null==t.__k&&(t.textContent=""),U(e,t),"function"==typeof n&&n(),e?e.__c:null}function Je(e,t,n){return H(e,t),"function"==typeof n&&n(),e?e.__c:null}b.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(b.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Qe=r.event;function Xe(){}function et(){return this.cancelBubble}function tt(){return this.defaultPrevented}r.event=function(e){return Qe&&(e=Qe(e)),e.persist=Xe,e.isPropagationStopped=et,e.isDefaultPrevented=tt,e.nativeEvent=e};var nt,rt={enumerable:!1,configurable:!0,get:function(){return this.class}},ot=r.vnode;r.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||Ge&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var a=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===a?o="ondblclick":"onchange"!==a||"input"!==n&&"textarea"!==n||qe(t.type)?"onfocus"===a?o="onfocusin":"onblur"===a?o="onfocusout":Ye.test(o)?o=a:-1===n.indexOf("-")&&Ve.test(o)?o=o.replace(Ze,"-$&").toLowerCase():null===i&&(i=void 0):a=o="oninput","oninput"===a&&r[o=a]&&(o="oninputCapture"),r[o]=i}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=C(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=C(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",rt)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=We,ot&&ot(e)};var it=r.__r;r.__r=function(e){it&&it(e),nt=e.__c};var at=r.diffed;r.diffed=function(e){at&&at(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),nt=null};var ct={ReactCurrentDispatcher:{current:{readContext:function(e){return nt.__n[e.__c].props.value}}}},lt="17.0.2";function ut(e){return m.bind(null,e)}function st(e){return!!e&&e.$$typeof===We}function ft(e){return st(e)?B.apply(null,arguments):e}function dt(e){return!!e.__k&&(U(null,e),!0)}function pt(e){return e&&(e.base||1===e.nodeType&&e)||null}var ht=function(e,t){return e(t)},vt=function(e,t){return e(t)},mt=g;function yt(e){e()}function _t(e){return e}function gt(){return[!1,yt]}var bt=ae;function wt(e,t){var n=t(),r=re({h:{__:n,v:t}}),o=r[0].h,i=r[1];return ae((function(){o.__=n,o.v=t,xe(o.__,t())||i({h:o})}),[e,n,t]),ie((function(){return xe(o.__,o.v())||i({h:o}),e((function(){xe(o.__,o.v())||i({h:o})}))}),[e]),n}var At,St={useState:re,useId:he,useReducer:oe,useEffect:ie,useLayoutEffect:ae,useInsertionEffect:bt,useTransition:gt,useDeferredValue:_t,useSyncExternalStore:wt,startTransition:yt,useRef:ce,useImperativeHandle:le,useMemo:ue,useCallback:se,useContext:fe,useDebugValue:de,version:"17.0.2",Children:Me,render:Ke,hydrate:Je,unmountComponentAtNode:dt,createPortal:ze,createElement:m,createContext:z,createFactory:ut,cloneElement:ft,createRef:_,Fragment:g,isValidElement:st,findDOMNode:pt,Component:b,PureComponent:Ee,memo:ke,forwardRef:Ne,flushSync:vt,unstable_batchedUpdates:ht,StrictMode:mt,Suspense:$e,SuspenseList:Fe,lazy:Re,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ct},xt=n(658),Et=n.n(xt),kt=n(443),Ct=n.n(kt),Ot=n(446),Nt=n.n(Ot),Pt=n(635),Mt=n.n(Pt);function Tt(e){if(Array.isArray(e))return e}function jt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Lt(e,t){if(e){if("string"===typeof e)return jt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jt(e,t):void 0}}function Dt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $t(e,t){return Tt(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(s){u=!0,o=s}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,t)||Lt(e,t)||Dt()}function It(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Lt(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function Rt(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Ft(e){return function(e){if(Array.isArray(e))return jt(e)}(e)||Rt(e)||Lt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ht(e){return Ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ht(e)}function Bt(e){var t=function(e,t){if("object"!==Ht(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Ht(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Ht(t)?t:String(t)}function zt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Bt(r.key),r)}}function Wt(e,t,n){return t&&zt(e.prototype,t),n&&zt(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Vt(e,t){return Vt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Vt(e,t)}function Yt(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vt(e,t)}function Zt(e){return Zt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Zt(e)}function Gt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(u){return!1}}function qt(e,t){if(t&&("object"===Ht(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Kt(e){var t=Gt();return function(){var n,r=Zt(e);if(t){var o=Zt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return qt(this,n)}}function Jt(e,t,n){return Gt()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&Vt(o,n.prototype),o},Jt.apply(null,arguments)}function Qt(e){var t="function"===typeof Map?new Map:void 0;return function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Jt(e,arguments,Zt(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Vt(n,e)},Qt(e)}function Xt(){return Xt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xt.apply(this,arguments)}Et().extend(Ct()),Et().extend(Nt()),Et().extend(Mt()),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(At||(At={}));var en,tn="popstate";function nn(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function rn(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(u){}}}function on(e,t){return{usr:e.state,key:e.key,idx:t}}function an(e,t,n,r){return void 0===n&&(n=null),Xt({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?ln(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function cn(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,o=void 0===r?"":r,i=e.hash,a=void 0===i?"":i;return o&&"?"!==o&&(n+="?"===o.charAt(0)?o:"?"+o),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function ln(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function un(e,t,n,r){void 0===r&&(r={});var o=r,i=o.window,a=void 0===i?document.defaultView:i,c=o.v5Compat,l=void 0!==c&&c,u=a.history,s=At.Pop,f=null,d=p();function p(){return(u.state||{idx:null}).idx}function h(){s=At.Pop;var e=p(),t=null==e?null:e-d;d=e,f&&f({action:s,location:m.location,delta:t})}function v(e){var t="null"!==a.location.origin?a.location.origin:a.location.href,n="string"===typeof e?e:cn(e);return nn(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==d&&(d=0,u.replaceState(Xt({},u.state,{idx:d}),""));var m={get action(){return s},get location(){return e(a,u)},listen:function(e){if(f)throw new Error("A history only accepts one active listener");return a.addEventListener(tn,h),f=e,function(){a.removeEventListener(tn,h),f=null}},createHref:function(e){return t(a,e)},createURL:v,encodeLocation:function(e){var t=v(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s=At.Push;var r=an(m.location,e,t);n&&n(r,e);var o=on(r,d=p()+1),i=m.createHref(r);try{u.pushState(o,"",i)}catch(c){if(c instanceof DOMException&&"DataCloneError"===c.name)throw c;a.location.assign(i)}l&&f&&f({action:s,location:m.location,delta:1})},replace:function(e,t){s=At.Replace;var r=an(m.location,e,t);n&&n(r,e);var o=on(r,d=p()),i=m.createHref(r);u.replaceState(o,"",i),l&&f&&f({action:s,location:m.location,delta:0})},go:function(e){return u.go(e)}};return m}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(en||(en={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function sn(e,t,n){void 0===n&&(n="/");var r=xn(("string"===typeof t?ln(t):t).pathname||"/",n);if(null==r)return null;var o=fn(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(o);for(var i=null,a=0;null==i&&a<o.length;++a)i=wn(o[a],Sn(r));return i}function fn(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");var o=function(e,o,i){var a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(nn(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));var c=On([r,a.relativePath]),l=n.concat(a);e.children&&e.children.length>0&&(nn(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+c+'".'),fn(e.children,t,l,c)),(null!=e.path||e.index)&&t.push({path:c,score:bn(c,e.index),routesMeta:l})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,i=It(dn(e.path));try{for(i.s();!(r=i.n()).done;){var a=r.value;o(e,t,a)}}catch(c){i.e(c)}finally{i.f()}}else o(e,t)})),t}function dn(e){var t=e.split("/");if(0===t.length)return[];var n,r=Tt(n=t)||Rt(n)||Lt(n)||Dt(),o=r[0],i=r.slice(1),a=o.endsWith("?"),c=o.replace(/\?$/,"");if(0===i.length)return a?[c,""]:[c];var l=dn(i.join("/")),u=[];return u.push.apply(u,Ft(l.map((function(e){return""===e?c:[c,e].join("/")})))),a&&u.push.apply(u,Ft(l)),u.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var pn=/^:\w+$/,hn=3,vn=2,mn=1,yn=10,_n=-2,gn=function(e){return"*"===e};function bn(e,t){var n=e.split("/"),r=n.length;return n.some(gn)&&(r+=_n),t&&(r+=vn),n.filter((function(e){return!gn(e)})).reduce((function(e,t){return e+(pn.test(t)?hn:""===t?mn:yn)}),r)}function wn(e,t){for(var n=e.routesMeta,r={},o="/",i=[],a=0;a<n.length;++a){var c=n[a],l=a===n.length-1,u="/"===o?t:t.slice(o.length)||"/",s=An({path:c.relativePath,caseSensitive:c.caseSensitive,end:l},u);if(!s)return null;Object.assign(r,s.params);var f=c.route;i.push({params:r,pathname:On([o,s.pathname]),pathnameBase:Nn(On([o,s.pathnameBase])),route:f}),"/"!==s.pathnameBase&&(o=On([o,s.pathnameBase]))}return i}function An(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var n=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);rn("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');var r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(function(e,t){return r.push(t),"/([^\\/]+)"}));e.endsWith("*")?(r.push("*"),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");var i=new RegExp(o,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),r=$t(n,2),o=r[0],i=r[1],a=t.match(o);if(!a)return null;var c=a[0],l=c.replace(/(.)\/+$/,"$1"),u=a.slice(1);return{params:i.reduce((function(e,t,n){if("*"===t){var r=u[n]||"";l=c.slice(0,c.length-r.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return rn(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(u[n]||"",t),e}),{}),pathname:c,pathnameBase:l,pattern:e}}function Sn(e){try{return decodeURI(e)}catch(t){return rn(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function xn(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function En(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function kn(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function Cn(e,t,n,r){var o;void 0===r&&(r=!1),"string"===typeof e?o=ln(e):(nn(!(o=Xt({},e)).pathname||!o.pathname.includes("?"),En("?","pathname","search",o)),nn(!o.pathname||!o.pathname.includes("#"),En("#","pathname","hash",o)),nn(!o.search||!o.search.includes("#"),En("#","search","hash",o)));var i,a=""===e||""===o.pathname,c=a?"/":o.pathname;if(r||null==c)i=n;else{var l=t.length-1;if(c.startsWith("..")){for(var u=c.split("/");".."===u[0];)u.shift(),l-=1;o.pathname=u.join("/")}i=l>=0?t[l]:"/"}var s=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?ln(e):e,r=n.pathname,o=n.search,i=void 0===o?"":o,a=n.hash,c=void 0===a?"":a,l=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:l,search:Pn(i),hash:Mn(c)}}(o,i),f=c&&"/"!==c&&c.endsWith("/"),d=(a||"."===c)&&n.endsWith("/");return s.pathname.endsWith("/")||!f&&!d||(s.pathname+="/"),s}var On=function(e){return e.join("/").replace(/\/\/+/g,"/")},Nn=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},Pn=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},Mn=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""};Error;function Tn(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var jn=["post","put","patch","delete"],Ln=(new Set(jn),["get"].concat(jn));new Set(Ln),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function Dn(){return Dn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dn.apply(this,arguments)}var $n=z(null);var In=z(null);var Rn=z(null);var Fn=z(null);var Un=z({outlet:null,matches:[],isDataRoute:!1});var Hn=z(null);function Bn(){return null!=fe(Fn)}function zn(){return Bn()||nn(!1),fe(Fn).location}function Wn(e){fe(Rn).static||ae(e)}function Vn(){return fe(Un).isDataRoute?function(){var e=nr(Kn.UseNavigateStable).router,t=or(Jn.UseNavigateStable),n=ce(!1);Wn((function(){n.current=!0}));var r=se((function(r,o){void 0===o&&(o={}),n.current&&("number"===typeof r?e.navigate(r):e.navigate(r,Dn({fromRouteId:t},o)))}),[e,t]);return r}():function(){Bn()||nn(!1);var e=fe($n),t=fe(Rn),n=t.basename,r=t.navigator,o=fe(Un).matches,i=zn().pathname,a=JSON.stringify(kn(o).map((function(e){return e.pathnameBase}))),c=ce(!1);Wn((function(){c.current=!0}));var l=se((function(t,o){if(void 0===o&&(o={}),c.current)if("number"!==typeof t){var l=Cn(t,JSON.parse(a),i,"path"===o.relative);null==e&&"/"!==n&&(l.pathname="/"===l.pathname?n:On([n,l.pathname])),(o.replace?r.replace:r.push)(l,o.state,o)}else r.go(t)}),[n,r,a,i,e]);return l}()}var Yn=z(null);function Zn(e,t){var n=(void 0===t?{}:t).relative,r=fe(Un).matches,o=zn().pathname,i=JSON.stringify(kn(r).map((function(e){return e.pathnameBase})));return ue((function(){return Cn(e,JSON.parse(i),o,"path"===n)}),[e,i,o,n])}function Gn(e,t,n){Bn()||nn(!1);var r,o=fe(Rn).navigator,i=fe(Un).matches,a=i[i.length-1],c=a?a.params:{},l=(a&&a.pathname,a?a.pathnameBase:"/"),u=(a&&a.route,zn());if(t){var s,f="string"===typeof t?ln(t):t;"/"===l||(null==(s=f.pathname)?void 0:s.startsWith(l))||nn(!1),r=f}else r=u;var d=r.pathname||"/",p=sn(e,{pathname:"/"===l?d:d.slice(l.length)||"/"});var h=tr(p&&p.map((function(e){return Object.assign({},e,{params:Object.assign({},c,e.params),pathname:On([l,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?l:On([l,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})})),i,n);return t&&h?m(Fn.Provider,{value:{location:Dn({pathname:"/",search:"",hash:"",state:null,key:"default"},r),navigationType:At.Pop}},h):h}function qn(){var e=function(){var e,t=fe(Hn),n=rr(Jn.UseRouteError),r=or(Jn.UseRouteError);if(t)return t;return null==(e=n.errors)?void 0:e[r]}(),t=Tn(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r};return m(g,null,m("h2",null,"Unexpected Application Error!"),m("h3",{style:{fontStyle:"italic"}},t),n?m("pre",{style:o},n):null,null)}var Kn,Jn,Qn=m(qn,null),Xn=function(e){Yt(n,e);var t=Kt(n);function n(e){var r;return Ut(this,n),(r=t.call(this,e)).state={location:e.location,revalidation:e.revalidation,error:e.error},r}return Wt(n,[{key:"componentDidCatch",value:function(e,t){console.error("React Router caught the following error during render",e,t)}},{key:"render",value:function(){return this.state.error?m(Un.Provider,{value:this.props.routeContext},m(Hn.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error||t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}}]),n}(b);function er(e){var t=e.routeContext,n=e.match,r=e.children,o=fe($n);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),m(Un.Provider,{value:t},r)}function tr(e,t,n){var r;if(void 0===t&&(t=[]),void 0===n&&(n=null),null==e){var o;if(null==(o=n)||!o.errors)return null;e=n.matches}var i=e,a=null==(r=n)?void 0:r.errors;if(null!=a){var c=i.findIndex((function(e){return e.route.id&&(null==a?void 0:a[e.route.id])}));c>=0||nn(!1),i=i.slice(0,Math.min(i.length,c+1))}return i.reduceRight((function(e,r,o){var c=r.route.id?null==a?void 0:a[r.route.id]:null,l=null;n&&(l=r.route.errorElement||Qn);var u=t.concat(i.slice(0,o+1)),s=function(){var t;return t=c?l:r.route.Component?m(r.route.Component,null):r.route.element?r.route.element:e,m(er,{match:r,routeContext:{outlet:e,matches:u,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===o)?m(Xn,{location:n.location,revalidation:n.revalidation,component:l,error:c,children:s(),routeContext:{outlet:null,matches:u,isDataRoute:!0}}):s()}),null)}function nr(e){var t=fe($n);return t||nn(!1),t}function rr(e){var t=fe(In);return t||nn(!1),t}function or(e){var t=function(e){var t=fe(Un);return t||nn(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||nn(!1),n.route.id}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"}(Kn||(Kn={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"}(Jn||(Jn={}));var ir;function ar(e){return function(e){var t=fe(Un).outlet;return t?m(Yn.Provider,{value:e},t):t}(e.context)}function cr(e){nn(!1)}function lr(e){var t=e.basename,n=void 0===t?"/":t,r=e.children,o=void 0===r?null:r,i=e.location,a=e.navigationType,c=void 0===a?At.Pop:a,l=e.navigator,u=e.static,s=void 0!==u&&u;Bn()&&nn(!1);var f=n.replace(/^\/*/,"/"),d=ue((function(){return{basename:f,navigator:l,static:s}}),[f,l,s]);"string"===typeof i&&(i=ln(i));var p=i,h=p.pathname,v=void 0===h?"/":h,y=p.search,_=void 0===y?"":y,g=p.hash,b=void 0===g?"":g,w=p.state,A=void 0===w?null:w,S=p.key,x=void 0===S?"default":S,E=ue((function(){var e=xn(v,f);return null==e?null:{location:{pathname:e,search:_,hash:b,state:A,key:x},navigationType:c}}),[f,v,_,b,A,x,c]);return null==E?null:m(Rn.Provider,{value:d},m(Fn.Provider,{children:o,value:E}))}function ur(e){var t=e.children,n=e.location;return Gn(sr(t),n)}!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(ir||(ir={}));new Promise((function(){}));function sr(e,t){void 0===t&&(t=[]);var n=[];return Me.forEach(e,(function(e,r){if(st(e)){var o=[].concat(Ft(t),[r]);if(e.type!==g){e.type!==cr&&nn(!1),e.props.index&&e.props.children&&nn(!1);var i={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=sr(e.props.children,o)),n.push(i)}else n.push.apply(n,sr(e.props.children,o))}})),n}function fr(){return fr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fr.apply(this,arguments)}function dr(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function pr(e){return void 0===e&&(e=""),new URLSearchParams("string"===typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((function(t,n){var r=e[n];return t.concat(Array.isArray(r)?r.map((function(e){return[n,e]})):[[n,r]])}),[]))}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);var hr=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],vr=["aria-current","caseSensitive","className","end","style","to","children"];var mr=e.startTransition;function yr(e){var t=e.basename,n=e.children,r=e.future,o=e.window,i=ce();null==i.current&&(i.current=function(e){return void 0===e&&(e={}),un((function(e,t){var n=ln(e.location.hash.substr(1)),r=n.pathname,o=void 0===r?"/":r,i=n.search,a=void 0===i?"":i,c=n.hash;return an("",{pathname:o,search:a,hash:void 0===c?"":c},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){var n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){var o=e.location.href,i=o.indexOf("#");r=-1===i?o:o.slice(0,i)}return r+"#"+("string"===typeof t?t:cn(t))}),(function(e,t){rn("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}({window:o,v5Compat:!0}));var a=i.current,c=$t(re({action:a.action,location:a.location}),2),l=c[0],u=c[1],s=(r||{}).v7_startTransition,f=se((function(e){s&&mr?mr((function(){return u(e)})):u(e)}),[u,s]);return ae((function(){return a.listen(f)}),[a,f]),m(lr,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:a})}var _r="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,gr=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,br=Ne((function(e,t){var n,r=e.onClick,o=e.relative,i=e.reloadDocument,a=e.replace,c=e.state,l=e.target,s=e.to,f=e.preventScrollReset,d=dr(e,hr),p=fe(Rn).basename,h=!1;if("string"===typeof s&&gr.test(s)&&(n=s,_r))try{var v=new URL(window.location.href),y=s.startsWith("//")?new URL(v.protocol+s):new URL(s),_=xn(y.pathname,p);y.origin===v.origin&&null!=_?s=_+y.search+y.hash:h=!0}catch(u){}var g=function(e,t){var n=(void 0===t?{}:t).relative;Bn()||nn(!1);var r=fe(Rn),o=r.basename,i=r.navigator,a=Zn(e,{relative:n}),c=a.hash,l=a.pathname,u=a.search,s=l;return"/"!==o&&(s="/"===l?o:On([o,l])),i.createHref({pathname:s,search:u,hash:c})}(s,{relative:o}),b=function(e,t){var n=void 0===t?{}:t,r=n.target,o=n.replace,i=n.state,a=n.preventScrollReset,c=n.relative,l=Vn(),u=zn(),s=Zn(e,{relative:c});return se((function(t){if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,r)){t.preventDefault();var n=void 0!==o?o:cn(u)===cn(s);l(e,{replace:n,state:i,preventScrollReset:a,relative:c})}}),[u,l,s,o,i,r,e,a,c])}(s,{replace:a,state:c,target:l,preventScrollReset:f,relative:o});return m("a",fr({},d,{href:n||g,onClick:h||i?r:function(e){r&&r(e),e.defaultPrevented||b(e)},ref:t,target:l}))}));var wr=Ne((function(e,t){var n=e["aria-current"],r=void 0===n?"page":n,o=e.caseSensitive,i=void 0!==o&&o,a=e.className,c=void 0===a?"":a,l=e.end,u=void 0!==l&&l,s=e.style,f=e.to,d=e.children,p=dr(e,vr),h=Zn(f,{relative:p.relative}),v=zn(),y=fe(In),_=fe(Rn).navigator,g=_.encodeLocation?_.encodeLocation(h).pathname:h.pathname,b=v.pathname,w=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(b=b.toLowerCase(),w=w?w.toLowerCase():null,g=g.toLowerCase());var A,S=b===g||!u&&b.startsWith(g)&&"/"===b.charAt(g.length),x=null!=w&&(w===g||!u&&w.startsWith(g)&&"/"===w.charAt(g.length)),E=S?r:void 0;A="function"===typeof c?c({isActive:S,isPending:x}):[c,S?"active":null,x?"pending":null].filter(Boolean).join(" ");var k="function"===typeof s?s({isActive:S,isPending:x}):s;return m(br,fr({},p,{"aria-current":E,className:A,ref:t,style:k,to:f}),"function"===typeof d?d({isActive:S,isPending:x}):d)}));var Ar,Sr;function xr(e){var t=ce(pr(e)),n=ce(!1),r=zn(),o=ue((function(){return function(e,t){var n=pr(e);if(t){var r,o=It(t.keys());try{var i=function(){var e=r.value;n.has(e)||t.getAll(e).forEach((function(t){n.append(e,t)}))};for(o.s();!(r=o.n()).done;)i()}catch(a){o.e(a)}finally{o.f()}}return n}(r.search,n.current?null:t.current)}),[r.search]),i=Vn(),a=se((function(e,t){var r=pr("function"===typeof e?e(o):e);n.current=!0,i("?"+r,t)}),[i,o]);return[o,a]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(Ar||(Ar={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Sr||(Sr={}));function Er(e,t,n){return(t=Bt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kr(Object(n),!0).forEach((function(t){Er(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Or=function(){var e,t=(null===(e=document.getElementById("root"))||void 0===e?void 0:e.dataset.params)||"{}";try{return JSON.parse(t)}catch(u){return console.error(u),{}}},Nr=function(){return!!Object.keys(Or()).length},Pr=/(\/select\/)(\d+|\d.+)(\/)(.+)/,Mr=function(e){var t;return(null===(t=e.match(Pr))||void 0===t?void 0:t[2])||""},Tr=n(776),jr=n.n(Tr),Lr=n(7),Dr=n.n(Lr),$r={table:100,chart:20,code:1e3},Ir=function(e,t){var n=window.location.hash.split("?")[1],r=jr().parse(n,{ignoreQueryPrefix:!0});return Dr()(r,e,t||"")},Rr=function(e,t){t?window.localStorage.setItem(e,JSON.stringify({value:t})):Ur([e]),window.dispatchEvent(new Event("storage"))},Fr=function(e){var t=window.localStorage.getItem(e);if(null!==t)try{var n;return null===(n=JSON.parse(t))||void 0===n?void 0:n.value}catch(u){return t}},Ur=function(e){return e.forEach((function(e){return window.localStorage.removeItem(e)}))},Hr=function(e){return e.emptyServer="Please enter Server URL",e.validServer="Please provide a valid Server URL",e.validQuery="Please enter a valid Query and execute it",e.traceNotFound="Not found the tracing information",e.emptyTitle="Please enter title",e.positiveNumber="Please enter positive number",e.validStep="Please enter a valid step",e}({}),Br=function(e){return e.system="system",e.light="light",e.dark="dark",e}({}),zr=function(e){return getComputedStyle(document.documentElement).getPropertyValue("--".concat(e))},Wr=function(e,t){document.documentElement.style.setProperty("--".concat(e),t)},Vr=function(){return window.matchMedia("(prefers-color-scheme: dark)").matches},Yr=Ir("g0.tenantID",""),Zr={serverUrl:function(e){var t=Or().serverURL,n=window.location.href.replace(/\/(select\/)?(vmui)\/.*/,"");t||window.location.href.replace(/\/(?:prometheus\/)?(?:graph|vmui)\/.*/,"/prometheus");return n}(),tenantId:Yr,theme:Fr("THEME")||Br.system,isDarkTheme:null};function Gr(e,t){switch(t.type){case"SET_SERVER":return Cr(Cr({},e),{},{serverUrl:t.payload});case"SET_TENANT_ID":return Cr(Cr({},e),{},{tenantId:t.payload});case"SET_THEME":return Rr("THEME",t.payload),Cr(Cr({},e),{},{theme:t.payload});case"SET_DARK_THEME":return Cr(Cr({},e),{},{isDarkTheme:(n=e.theme,n===Br.system&&Vr()||n===Br.dark)});default:throw new Error}var n}var qr=0;function Kr(e,t,n,o,i,a){var c,l,u={};for(l in t)"ref"==l?c=t[l]:u[l]=t[l];var s={type:e,props:u,key:n,ref:c,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--qr,__source:i,__self:a};if("function"==typeof e&&(c=e.defaultProps))for(l in c)void 0===u[l]&&(u[l]=c[l]);return r.vnode&&r.vnode(s),s}var Jr=z({}),Qr=function(){return fe(Jr).state},Xr=function(){return fe(Jr).dispatch},eo=Object.entries(Zr).reduce((function(e,t){var n=$t(t,2),r=n[0],o=n[1];return Cr(Cr({},e),{},Er({},r,Ir(r)||o))}),{}),to="YYYY-MM-DD[T]HH:mm:ss",no=window.innerWidth/4,ro=window.innerWidth/40,oo=Intl.supportedValuesOf,io=oo?oo("timeZone"):["Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmera","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/La_Rioja","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Buenos_Aires","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Catamarca","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Coral_Harbour","America/Cordoba","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Fort_Nelson","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indianapolis","America/Inuvik","America/Iqaluit","America/Jamaica","America/Jujuy","America/Juneau","America/Kentucky/Monticello","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Louisville","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Mendoza","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Montreal","America/Montserrat","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Santa_Isabel","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Arctic/Longyearbyen","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Atyrau","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Calcutta","Asia/Chita","Asia/Choibalsan","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Hebron","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Katmandu","Asia/Khandyga","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Rangoon","Asia/Riyadh","Asia/Saigon","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faeroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Currie","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/Perth","Australia/Sydney","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Saratov","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zaporozhye","Europe/Zurich","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Johnston","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Ponape","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Truk","Pacific/Wake","Pacific/Wallis"],ao=[{long:"years",short:"y",possible:"year"},{long:"weeks",short:"w",possible:"week"},{long:"days",short:"d",possible:"day"},{long:"hours",short:"h",possible:"hour"},{long:"minutes",short:"m",possible:"min"},{long:"seconds",short:"s",possible:"sec"},{long:"milliseconds",short:"ms",possible:"millisecond"}],co=ao.map((function(e){return e.short})),lo=function(e){var t,n=(t=e,Math.round(1e3*t)/1e3),r=Math.round(e);e>=100&&(n=r-r%10),e<100&&e>=10&&(n=r-r%5),e<10&&e>=1&&(n=r),e<1&&e>.01&&(n=Math.round(40*e)/40);var o=function(e){return ho(Et().duration(e,"seconds").asMilliseconds())}(n||.001);return o.replace(/\s/g,"")},uo=function(e){var t=e.match(/\d+/g),n=e.match(/[a-zA-Z]+/g);if(n&&t&&co.includes(n[0]))return Er({},n[0],t[0])},so=function(e,t){return lo(e/(t?ro:no))},fo=function(e,t){var n=(t||Et()().toDate()).valueOf()/1e3,r=function(e){var t=ao.map((function(e){return e.short})).join("|"),n=new RegExp("\\d+[".concat(t,"]+"),"g"),r=(e.match(n)||[]).reduce((function(e,t){var n=uo(t);return n?Cr(Cr({},e),n):Cr({},e)}),{});return Et().duration(r).asSeconds()}(e);return{start:n-r,end:n,step:so(r),date:po(t||Et()().toDate())}},po=function(e){return Et().tz(e).utc().format(to)},ho=function(e){var t=Math.floor(e%1e3),n=Math.floor(e/1e3%60),r=Math.floor(e/1e3/60%60),o=Math.floor(e/1e3/3600%24),i=Math.floor(e/864e5),a=["d","h","m","s","ms"],c=[i,o,r,n,t].map((function(e,t){return e?"".concat(e).concat(a[t]):""}));return c.filter((function(e){return e})).join("")},vo=function(e){var t=Et()(1e3*e);return t.isValid()?t.toDate():new Date},mo=[{title:"Last 5 minutes",duration:"5m"},{title:"Last 15 minutes",duration:"15m"},{title:"Last 30 minutes",duration:"30m",isDefault:!0},{title:"Last 1 hour",duration:"1h"},{title:"Last 3 hours",duration:"3h"},{title:"Last 6 hours",duration:"6h"},{title:"Last 12 hours",duration:"12h"},{title:"Last 24 hours",duration:"24h"},{title:"Last 2 days",duration:"2d"},{title:"Last 7 days",duration:"7d"},{title:"Last 30 days",duration:"30d"},{title:"Last 90 days",duration:"90d"},{title:"Last 180 days",duration:"180d"},{title:"Last 1 year",duration:"1y"},{title:"Yesterday",duration:"1d",until:function(){return Et()().tz().subtract(1,"day").endOf("day").toDate()}},{title:"Today",duration:"1d",until:function(){return Et()().tz().endOf("day").toDate()}}].map((function(e){return Cr({id:e.title.replace(/\s/g,"_").toLocaleLowerCase(),until:e.until?e.until:function(){return Et()().tz().toDate()}},e)})),yo=function(e){var t,n=e.relativeTimeId,r=e.defaultDuration,o=e.defaultEndInput,i=null===(t=mo.find((function(e){return e.isDefault})))||void 0===t?void 0:t.id,a=n||Ir("g0.relative_time",i),c=mo.find((function(e){return e.id===a}));return{relativeTimeId:c?a:"none",duration:c?c.duration:r,endInput:c?c.until():o}},_o=function(e){var t=Et()().tz(e);return"UTC".concat(t.format("Z"))},go=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=new RegExp(e,"i");return io.reduce((function(n,r){var o=(r.match(/^(.*?)\//)||[])[1]||"unknown",i=_o(r),a=i.replace(/UTC|0/,""),c=r.replace(/[/_]/g," "),l={region:r,utc:i,search:"".concat(r," ").concat(i," ").concat(c," ").concat(a)},u=!e||e&&t.test(l.search);return u&&n[o]?n[o].push(l):u&&(n[o]=[l]),n}),{})},bo=function(e){Et().tz.setDefault(e)},wo=Fr("TIMEZONE")||Et().tz.guess();bo(wo);var Ao,So=Ir("g0.range_input"),xo=yo({defaultDuration:So||"1h",defaultEndInput:(Ao=Ir("g0.end_input",Et()().utc().format(to)),Et()(Ao).utcOffset(0,!0).toDate()),relativeTimeId:So?Ir("g0.relative_time","none"):void 0}),Eo=xo.duration,ko=xo.endInput,Co=xo.relativeTimeId,Oo={duration:Eo,period:fo(Eo,ko),relativeTime:Co,timezone:wo};function No(e,t){switch(t.type){case"SET_DURATION":return Cr(Cr({},e),{},{duration:t.payload,period:fo(t.payload,vo(e.period.end)),relativeTime:"none"});case"SET_RELATIVE_TIME":return Cr(Cr({},e),{},{duration:t.payload.duration,period:fo(t.payload.duration,t.payload.until),relativeTime:t.payload.id});case"SET_PERIOD":var n=function(e){var t=e.to.valueOf()-e.from.valueOf();return ho(t)}(t.payload);return Cr(Cr({},e),{},{duration:n,period:fo(n,t.payload.to),relativeTime:"none"});case"RUN_QUERY":var r=yo({relativeTimeId:e.relativeTime,defaultDuration:e.duration,defaultEndInput:vo(e.period.end)}),o=r.duration,i=r.endInput;return Cr(Cr({},e),{},{period:fo(o,i)});case"RUN_QUERY_TO_NOW":return Cr(Cr({},e),{},{period:fo(e.duration)});case"SET_TIMEZONE":return bo(t.payload),Rr("TIMEZONE",t.payload),Cr(Cr({},e),{},{timezone:t.payload});default:throw new Error}}var Po=z({}),Mo=function(){return fe(Po).state},To=function(e){var t=e.map((function(e){return e.values[e.index]})),n=function(e){var t=Fr(e);return t?JSON.parse(t):[]}("QUERY_HISTORY");n[0]||(n[0]=[]);var r=n[0];t.forEach((function(e){!r.includes(e)&&e&&r.unshift(e),r.length>100&&r.shift()})),Rr("QUERY_HISTORY",JSON.stringify(n))},jo=function(){var e,t=(null===(e=(window.location.hash.split("?")[1]||"").match(/g\d+\.expr/g))||void 0===e?void 0:e.length)||1;return new Array(t>4?4:t).fill(1).map((function(e,t){return Ir("g".concat(t,".expr"),"")}))}(),Lo={query:jo,queryHistory:jo.map((function(e){return{index:0,values:[e]}})),autocomplete:Fr("AUTOCOMPLETE")||!1};function Do(e,t){switch(t.type){case"SET_QUERY":return Cr(Cr({},e),{},{query:t.payload.map((function(e){return e}))});case"SET_QUERY_HISTORY":return To(t.payload),Cr(Cr({},e),{},{queryHistory:t.payload});case"SET_QUERY_HISTORY_BY_INDEX":return e.queryHistory.splice(t.payload.queryNumber,1,t.payload.value),Cr(Cr({},e),{},{queryHistory:e.queryHistory});case"TOGGLE_AUTOCOMPLETE":return Rr("AUTOCOMPLETE",!e.autocomplete),Cr(Cr({},e),{},{autocomplete:!e.autocomplete});default:throw new Error}}var $o=z({}),Io=function(){return Kr("svg",{viewBox:"0 0 74 24",fill:"currentColor",children:Kr("path",{d:"M6.12 10.48c.36.28.8.43 1.26.43h.05c.48 0 .96-.19 1.25-.44 1.5-1.28 5.88-5.29 5.88-5.29C15.73 4.1 12.46 3.01 7.43 3h-.06C2.33 3-.93 4.1.24 5.18c0 0 4.37 4 5.88 5.3Zm2.56 2.16c-.36.28-.8.44-1.26.45h-.04c-.46 0-.9-.17-1.26-.45-1.04-.88-4.74-4.22-6.12-5.5v1.94c0 .21.08.5.22.63l.07.06c1.05.96 4.55 4.16 5.83 5.25.36.28.8.43 1.26.44h.04c.49-.02.96-.2 1.26-.44 1.3-1.11 4.94-4.45 5.88-5.31.15-.14.23-.42.23-.63V7.15a454.94 454.94 0 0 1-6.11 5.5Zm-1.26 4.99c.46 0 .9-.16 1.26-.44a454.4 454.4 0 0 0 6.1-5.5v1.94c0 .2-.07.48-.22.62-.94.87-4.57 4.2-5.88 5.3-.3.26-.77.44-1.26.45h-.04c-.46 0-.9-.16-1.26-.44-1.2-1.02-4.38-3.92-5.62-5.06l-.28-.25c-.14-.14-.22-.42-.22-.62v-1.94c1.38 1.26 5.08 4.6 6.12 5.5.36.28.8.43 1.26.44h.04ZM35 5l-5.84 14.46h-2.43L20.89 5h2.16a.9.9 0 0 1 .9.61l3.41 8.82a18.8 18.8 0 0 1 .62 2.02 19.44 19.44 0 0 1 .57-2.02l3.39-8.82c.05-.15.16-.3.31-.42a.9.9 0 0 1 .58-.19H35Zm17.18 0v14.46H49.8v-9.34c0-.37.02-.78.06-1.21l-4.37 8.21c-.21.4-.53.59-.95.59h-.38c-.43 0-.75-.2-.95-.59L38.8 8.88a22.96 22.96 0 0 1 .07 1.24v9.34H36.5V5h2.03l.3.01c.1 0 .17.02.24.05.07.03.13.07.19.13a1 1 0 0 1 .17.24l4.33 8.03a16.97 16.97 0 0 1 .6 1.36 14.34 14.34 0 0 1 .6-1.38l4.28-8.01c.05-.1.1-.18.17-.24.06-.06.12-.1.19-.13a.9.9 0 0 1 .24-.05l.3-.01h2.04Zm8.88 13.73a4.5 4.5 0 0 0 1.82-.35 3.96 3.96 0 0 0 2.22-2.47c.2-.57.3-1.19.3-1.85V5.31h1.02v8.75c0 .78-.12 1.51-.37 2.19a4.88 4.88 0 0 1-2.76 2.95c-.66.29-1.4.43-2.23.43-.82 0-1.57-.14-2.24-.43a5.01 5.01 0 0 1-2.75-2.95 6.37 6.37 0 0 1-.37-2.19V5.31h1.03v8.74c0 .66.1 1.28.3 1.85a3.98 3.98 0 0 0 2.21 2.47c.53.24 1.14.36 1.82.36Zm10.38.73h-1.03V5.31h1.03v14.15Z"})})},Ro=function(){return Kr("svg",{viewBox:"0 0 85 38",fill:"currentColor",children:[Kr("path",{d:"M11.12 10.48c.36.28.8.43 1.26.43h.05c.48 0 .96-.19 1.25-.44 1.5-1.28 5.88-5.29 5.88-5.29 1.17-1.09-2.1-2.17-7.13-2.18h-.06c-5.04 0-8.3 1.1-7.13 2.18 0 0 4.37 4 5.88 5.3Zm2.56 2.16c-.36.28-.8.44-1.26.45h-.04c-.46 0-.9-.17-1.26-.45-1.04-.88-4.74-4.22-6.12-5.5v1.94c0 .21.08.5.22.63l.07.06c1.05.96 4.55 4.16 5.83 5.25.36.28.8.43 1.26.44h.04c.49-.02.96-.2 1.26-.44 1.3-1.11 4.94-4.45 5.88-5.31.15-.14.23-.42.23-.63V7.15a455.13 455.13 0 0 1-6.11 5.5Zm-1.26 4.99c.46 0 .9-.16 1.26-.44 2.05-1.82 4.09-3.65 6.1-5.5v1.94c0 .2-.07.48-.22.62-.94.87-4.57 4.2-5.88 5.3-.3.26-.77.44-1.26.45h-.04c-.46 0-.9-.16-1.26-.44-1.2-1.02-4.38-3.92-5.62-5.06l-.28-.25c-.14-.14-.22-.42-.22-.62v-1.94c1.38 1.26 5.08 4.6 6.12 5.5.36.28.8.43 1.26.44h.04ZM40 5l-5.84 14.46h-2.43L25.89 5h2.16a.9.9 0 0 1 .9.61l3.41 8.82a18.8 18.8 0 0 1 .62 2.02 19.44 19.44 0 0 1 .57-2.02l3.39-8.82c.05-.15.16-.3.31-.42a.9.9 0 0 1 .58-.19H40Zm17.18 0v14.46H54.8v-9.34c0-.37.02-.78.06-1.21l-4.37 8.21c-.21.4-.53.59-.95.59h-.38c-.43 0-.75-.2-.95-.59L43.8 8.88a22.96 22.96 0 0 1 .07 1.24v9.34H41.5V5h2.03l.3.01c.1 0 .17.02.24.05.07.03.13.07.19.13a1 1 0 0 1 .17.24l4.33 8.03a16.97 16.97 0 0 1 .6 1.36 14.34 14.34 0 0 1 .6-1.38l4.28-8.01c.05-.1.1-.18.17-.24.06-.06.12-.1.19-.13a.9.9 0 0 1 .24-.05l.3-.01h2.04Zm8.88 13.73a4.5 4.5 0 0 0 1.82-.35 3.96 3.96 0 0 0 2.22-2.47c.2-.57.3-1.19.3-1.85V5.31h1.02v8.75c0 .78-.12 1.51-.37 2.19a4.88 4.88 0 0 1-2.76 2.95c-.66.29-1.4.43-2.23.43-.82 0-1.57-.14-2.24-.43a5.01 5.01 0 0 1-2.75-2.95 6.37 6.37 0 0 1-.37-2.19V5.31h1.03v8.74c0 .66.1 1.28.3 1.85a3.98 3.98 0 0 0 2.21 2.47c.53.24 1.14.36 1.82.36Zm10.38.73h-1.03V5.31h1.03v14.15ZM1.73 36v-5.17l-.67-.07a.6.6 0 0 1-.21-.1.23.23 0 0 1-.08-.18v-.44h.96v-.59c0-.34.05-.65.14-.92a1.79 1.79 0 0 1 1.08-1.11 2.45 2.45 0 0 1 1.62-.02l-.03.53c0 .1-.06.15-.16.16H4c-.18 0-.35.03-.5.08a.95.95 0 0 0-.39.23c-.1.11-.19.25-.25.43-.05.18-.08.4-.08.65v.56h1.75v.78H2.8V36H1.73Zm6.17-6.17c.45 0 .85.07 1.2.22a2.57 2.57 0 0 1 1.5 1.62c.13.38.2.81.2 1.29s-.07.91-.2 1.3a2.57 2.57 0 0 1-1.49 1.61c-.36.14-.76.21-1.2.21-.45 0-.86-.07-1.22-.21a2.57 2.57 0 0 1-1.5-1.62c-.12-.38-.19-.81-.19-1.3 0-.47.07-.9.2-1.28a2.57 2.57 0 0 1 1.5-1.62c.35-.15.76-.22 1.2-.22Zm0 5.42c.6 0 1.05-.2 1.35-.6.3-.4.44-.97.44-1.69s-.15-1.28-.44-1.69c-.3-.4-.75-.6-1.35-.6-.3 0-.57.05-.8.15-.22.1-.4.26-.56.45-.15.2-.26.44-.33.73-.08.28-.11.6-.11.96 0 .72.15 1.29.44 1.69.3.4.76.6 1.36.6Zm5.26-4.11c.2-.42.43-.74.71-.97.28-.24.62-.36 1.03-.36.13 0 .25.02.36.05.12.02.23.07.32.13l-.08.8c-.02.1-.08.15-.18.15l-.24-.04a1.7 1.7 0 0 0-.88.05c-.15.05-.29.14-.4.25-.12.1-.23.24-.32.4-.1.17-.18.35-.26.56V36h-1.07v-6.08h.61c.12 0 .2.02.24.07.05.04.08.12.1.23l.06.92Zm13.73-3.82L23.39 36h-1.46l-3.5-8.68h1.29a.54.54 0 0 1 .54.37l2.04 5.3a11.31 11.31 0 0 1 .37 1.21 11.65 11.65 0 0 1 .35-1.22l2.03-5.29c.03-.1.1-.18.19-.25.1-.08.21-.12.35-.12h1.3Zm2.2 2.52V36H27.6v-6.16h1.49Zm.2-1.79c0 .13-.02.25-.08.36a1 1 0 0 1-.51.5.96.96 0 0 1-.73 0 1.02 1.02 0 0 1-.5-.5.96.96 0 0 1 0-.73.93.93 0 0 1 .86-.58.9.9 0 0 1 .37.08c.12.05.22.11.3.2a.94.94 0 0 1 .3.67Zm5.72 3.1a.68.68 0 0 1-.13.13c-.04.03-.1.05-.18.05a.42.42 0 0 1-.22-.07 3.95 3.95 0 0 0-.62-.31c-.14-.05-.3-.07-.51-.07-.26 0-.5.04-.69.14-.2.1-.36.23-.49.4-.13.18-.22.4-.29.64-.06.25-.1.53-.1.85 0 .33.04.62.1.88.08.25.18.47.32.64.13.18.29.3.48.4.18.09.4.13.63.13a1.6 1.6 0 0 0 .94-.27l.26-.2a.4.4 0 0 1 .25-.09.3.3 0 0 1 .27.14l.43.54a2.76 2.76 0 0 1-1.77.96c-.22.03-.43.05-.65.05a2.57 2.57 0 0 1-1.96-.83c-.25-.28-.45-.6-.6-1-.14-.4-.21-.85-.21-1.35 0-.45.06-.87.2-1.25a2.61 2.61 0 0 1 1.51-1.67c.37-.16.8-.24 1.28-.24.46 0 .86.07 1.2.22.35.15.66.36.94.64l-.4.54Zm3.43 4.95c-.54 0-.95-.15-1.24-.45-.28-.3-.42-.73-.42-1.26v-3.44h-.63a.29.29 0 0 1-.2-.07c-.06-.06-.09-.13-.09-.24v-.59l.99-.16.31-1.68a.33.33 0 0 1 .12-.18.34.34 0 0 1 .21-.07h.77v1.94h1.64v1.05h-1.64v3.34c0 .2.05.34.14.45.1.1.22.16.39.16a.73.73 0 0 0 .39-.1l.12-.07a.2.2 0 0 1 .11-.03c.05 0 .08.01.11.03l.09.1.44.72c-.21.18-.46.32-.74.4-.28.1-.57.15-.87.15Zm5.09-6.35c.46 0 .87.07 1.24.22a2.7 2.7 0 0 1 1.58 1.63c.14.39.22.83.22 1.31 0 .49-.08.93-.22 1.32-.14.4-.35.73-.62 1-.26.28-.58.49-.96.64-.37.15-.78.22-1.24.22a3.4 3.4 0 0 1-1.25-.22 2.71 2.71 0 0 1-1.59-1.64 3.8 3.8 0 0 1-.21-1.32c0-.48.07-.92.21-1.31a2.75 2.75 0 0 1 1.58-1.63c.38-.15.8-.22 1.26-.22Zm0 5.2c.51 0 .89-.17 1.13-.52.25-.34.38-.84.38-1.5a2.6 2.6 0 0 0-.38-1.53c-.24-.34-.62-.52-1.13-.52-.52 0-.9.18-1.16.53-.25.35-.37.85-.37 1.51s.12 1.17.37 1.51c.25.35.64.52 1.16.52Zm5.56-4.04c.2-.37.42-.65.69-.86.26-.21.57-.32.94-.32.28 0 .5.06.68.19l-.1 1.1a.3.3 0 0 1-.09.16.24.24 0 0 1-.15.04 1.8 1.8 0 0 1-.27-.03 2.01 2.01 0 0 0-.34-.03c-.16 0-.3.03-.44.08a1.1 1.1 0 0 0-.34.2c-.1.1-.2.2-.27.33-.08.13-.15.27-.22.44V36H47.7v-6.16h.87c.15 0 .26.03.31.09.06.05.1.15.13.29l.09.7Zm4.62-1.07V36h-1.49v-6.16h1.49Zm.2-1.79c0 .13-.02.25-.07.36a1 1 0 0 1-.51.5.96.96 0 0 1-.74 0 1.02 1.02 0 0 1-.5-.5.96.96 0 0 1 0-.73.93.93 0 0 1 .86-.58.9.9 0 0 1 .38.08c.11.05.21.11.3.2a.94.94 0 0 1 .28.67Zm4.56 5.32a7.8 7.8 0 0 0-1.08.12c-.29.05-.52.12-.7.2a.92.92 0 0 0-.38.3.64.64 0 0 0-.11.36c0 .26.07.45.23.56.15.11.35.17.6.17.3 0 .57-.06.79-.17.22-.1.44-.28.65-.5v-1.04Zm-3.4-2.67c.71-.65 1.57-.97 2.56-.97.36 0 .68.06.97.18a1.99 1.99 0 0 1 1.16 1.24c.1.3.16.61.16.96V36h-.67a.7.7 0 0 1-.33-.06c-.07-.04-.13-.13-.18-.26l-.13-.44c-.16.14-.3.26-.46.37a2.8 2.8 0 0 1-.97.43 2.77 2.77 0 0 1-1.32-.05 1.62 1.62 0 0 1-.57-.31 1.41 1.41 0 0 1-.38-.53 1.85 1.85 0 0 1-.05-1.18c.05-.16.14-.3.25-.45.12-.14.28-.27.46-.4a3 3 0 0 1 .7-.32 9.19 9.19 0 0 1 2.2-.33v-.36c0-.41-.09-.71-.26-.91-.18-.2-.43-.3-.76-.3a1.84 1.84 0 0 0-1.02.28l-.33.18c-.1.06-.2.09-.32.09-.1 0-.2-.03-.27-.08a.72.72 0 0 1-.17-.2l-.26-.47Zm11.49 4.32V36h-4.88v-8.6h1.16v7.62h3.72Zm3.16-5.2c.44 0 .84.08 1.2.23a2.57 2.57 0 0 1 1.49 1.62c.13.38.2.81.2 1.29s-.07.91-.2 1.3a2.57 2.57 0 0 1-1.49 1.61c-.36.14-.76.21-1.2.21-.45 0-.85-.07-1.21-.21a2.57 2.57 0 0 1-1.5-1.62c-.13-.38-.2-.81-.2-1.3 0-.47.07-.9.2-1.28.14-.39.33-.72.59-1 .25-.26.55-.47.9-.62.37-.15.77-.22 1.22-.22Zm0 5.43c.6 0 1.05-.2 1.34-.6.3-.4.45-.97.45-1.69s-.15-1.28-.45-1.69c-.3-.4-.74-.6-1.34-.6-.3 0-.57.05-.8.15-.22.1-.4.26-.56.45-.15.2-.26.44-.34.73-.07.28-.1.6-.1.96 0 .72.14 1.29.44 1.69.3.4.75.6 1.36.6Zm6.33-2.22c.22 0 .4-.03.57-.09.16-.06.3-.14.41-.25.12-.11.2-.24.26-.39.05-.15.08-.31.08-.5 0-.37-.11-.66-.34-.88-.23-.22-.55-.33-.98-.33-.43 0-.76.1-.99.33-.22.22-.34.51-.34.89 0 .18.03.34.09.5a1.1 1.1 0 0 0 .67.63c.16.06.35.09.57.09Zm1.93 3.3a.51.51 0 0 0-.13-.36.84.84 0 0 0-.34-.22 8.57 8.57 0 0 0-1.73-.2 7.5 7.5 0 0 1-.62-.05c-.23.1-.41.23-.56.4a.8.8 0 0 0-.1.92c.07.12.18.22.32.3.14.1.32.16.54.21a3.5 3.5 0 0 0 1.55 0c.23-.05.42-.12.57-.22.16-.1.29-.21.37-.34a.8.8 0 0 0 .13-.44Zm1.08-6.17v.4c0 .13-.08.21-.25.25l-.69.09c.14.26.2.56.2.88a1.86 1.86 0 0 1-1.36 1.82 3.07 3.07 0 0 1-1.72.04c-.12.08-.22.16-.29.25a.44.44 0 0 0-.1.27c0 .15.06.26.17.33.12.08.28.13.47.16a5 5 0 0 0 .66.06 16.56 16.56 0 0 1 1.5.13c.26.05.48.12.67.22.19.1.34.24.46.41.12.18.18.4.18.69 0 .26-.07.5-.2.75s-.31.46-.56.65c-.24.2-.54.34-.9.46a4.57 4.57 0 0 1-2.36.04c-.33-.09-.6-.2-.82-.36a1.56 1.56 0 0 1-.5-.51c-.1-.2-.16-.4-.16-.6 0-.3.1-.56.28-.77.19-.2.45-.37.77-.5a1.15 1.15 0 0 1-.43-.32.88.88 0 0 1-.15-.54c0-.09.01-.18.04-.27.04-.1.08-.2.15-.28a1.55 1.55 0 0 1 .58-.5c-.3-.16-.53-.39-.7-.66-.17-.28-.25-.6-.25-.97 0-.3.05-.57.16-.8.12-.25.28-.46.48-.63.2-.17.45-.3.73-.4a3 3 0 0 1 2.3.21h1.64Zm4.65.76a.24.24 0 0 1-.23.14.42.42 0 0 1-.2-.07 3.59 3.59 0 0 0-.67-.3 1.8 1.8 0 0 0-1.03 0c-.14.05-.27.11-.37.2a.87.87 0 0 0-.23.27.75.75 0 0 0-.08.35c0 .15.04.28.13.39.1.1.21.19.36.27.15.07.32.14.5.2a13.63 13.63 0 0 1 1.16.4c.2.08.36.18.5.3a1.33 1.33 0 0 1 .5 1.07 2 2 0 0 1-.15.78c-.1.24-.25.44-.45.62-.2.17-.43.3-.72.4a3.1 3.1 0 0 1-2.14-.05 2.97 2.97 0 0 1-.87-.53l.25-.41c.04-.05.07-.1.12-.12a.3.3 0 0 1 .17-.04.4.4 0 0 1 .22.08l.3.19a1.91 1.91 0 0 0 1.03.27c.2 0 .38-.03.54-.08.16-.06.29-.13.4-.22a.96.96 0 0 0 .3-.7c0-.17-.05-.31-.14-.42-.09-.11-.2-.2-.36-.28a2.6 2.6 0 0 0-.5-.2l-.59-.19c-.2-.06-.39-.14-.58-.22a2.14 2.14 0 0 1-.5-.3 1.45 1.45 0 0 1-.36-.46c-.1-.19-.14-.41-.14-.67a1.6 1.6 0 0 1 .57-1.23c.18-.16.4-.3.68-.39.26-.1.57-.14.91-.14a2.84 2.84 0 0 1 1.9.7l-.23.4Z"}),Kr("defs",{children:Kr("path",{d:"M0 0h85v38H0z"})})]})},Fo=function(){return Kr("svg",{viewBox:"0 0 15 17",fill:"currentColor",children:Kr("path",{d:"M6.11767 7.47586C6.47736 7.75563 6.91931 7.90898 7.37503 7.91213H7.42681C7.90756 7.90474 8.38832 7.71987 8.67677 7.46846C10.1856 6.18921 14.5568 2.18138 14.5568 2.18138C15.7254 1.09438 12.4637 0.00739 7.42681 0H7.36764C2.3308 0.00739 -0.930935 1.09438 0.237669 2.18138C0.237669 2.18138 4.60884 6.18921 6.11767 7.47586ZM8.67677 9.64243C8.31803 9.92483 7.87599 10.0808 7.41941 10.0861H7.37503C6.91845 10.0808 6.47641 9.92483 6.11767 9.64243C5.0822 8.75513 1.38409 5.42018 0.000989555 4.14832V6.07829C0.000989555 6.29273 0.0823481 6.57372 0.222877 6.70682L0.293316 6.7712L0.293344 6.77122C1.33784 7.72579 4.83903 10.9255 6.11767 12.0161C6.47641 12.2985 6.91845 12.4545 7.37503 12.4597H7.41941C7.90756 12.4449 8.38092 12.2601 8.67677 12.0161C9.9859 10.9069 13.6249 7.57198 14.5642 6.70682C14.7121 6.57372 14.7861 6.29273 14.7861 6.07829V4.14832C12.7662 5.99804 10.7297 7.82949 8.67677 9.64243ZM7.41941 14.6263C7.87513 14.6232 8.31708 14.4698 8.67677 14.19C10.7298 12.3746 12.7663 10.5407 14.7861 8.68853V10.6259C14.7861 10.8329 14.7121 11.1139 14.5642 11.247C13.6249 12.1196 9.9859 15.4471 8.67677 16.5563C8.38092 16.8077 7.90756 16.9926 7.41941 17H7.37503C6.91931 16.9968 6.47736 16.8435 6.11767 16.5637C4.91427 15.5373 1.74219 12.6364 0.502294 11.5025C0.393358 11.4029 0.299337 11.3169 0.222877 11.247C0.0823481 11.1139 0.000989555 10.8329 0.000989555 10.6259V8.68853C1.38409 9.95303 5.0822 13.2953 6.11767 14.1827C6.47641 14.4651 6.91845 14.6211 7.37503 14.6263H7.41941Z"})})},Uo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"})})},Ho=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})})},Bo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M12 5V2L8 6l4 4V7c3.31 0 6 2.69 6 6 0 2.97-2.17 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93 0-4.42-3.58-8-8-8zm-6 8c0-1.65.67-3.15 1.76-4.24L6.34 7.34C4.9 8.79 4 10.79 4 13c0 4.08 3.05 7.44 7 7.93v-2.02c-2.83-.48-5-2.94-5-5.91z"})})},zo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"})})},Wo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"})})},Vo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"})})},Yo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})})},Zo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"})})},Go=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"m7 10 5 5 5-5z"})})},qo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M8 5v14l11-7z"})})},Ko=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"m3.5 18.49 6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z"})})},Jo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M10 10.02h5V21h-5zM17 21h3c1.1 0 2-.9 2-2v-9h-5v11zm3-18H5c-1.1 0-2 .9-2 2v3h19V5c0-1.1-.9-2-2-2zM3 19c0 1.1.9 2 2 2h3V10H3v9z"})})},Qo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"})})},Xo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M8.9999 14.7854L18.8928 4.8925C19.0803 4.70497 19.3347 4.59961 19.5999 4.59961C19.8651 4.59961 20.1195 4.70497 20.307 4.8925L21.707 6.2925C22.0975 6.68303 22.0975 7.31619 21.707 7.70672L9.70701 19.7067C9.31648 20.0972 8.68332 20.0972 8.2928 19.7067L2.6928 14.1067C2.50526 13.9192 2.3999 13.6648 2.3999 13.3996C2.3999 13.1344 2.50526 12.88 2.6928 12.6925L4.0928 11.2925C4.48332 10.902 5.11648 10.902 5.50701 11.2925L8.9999 14.7854Z"})})},ei=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"})})},ti=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M20 9H4v2h16V9zM4 15h16v-2H4v2z"})})},ni=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:[Kr("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 5C19.89 4.65 18.67 4.5 17.5 4.5C15.55 4.5 13.45 4.9 12 6C10.55 4.9 8.45 4.5 6.5 4.5C5.33 4.5 4.11 4.65 3 5C2.25 5.25 1.6 5.55 1 6V20.6C1 20.85 1.25 21.1 1.5 21.1C1.6 21.1 1.65 21.1 1.75 21.05C3.15 20.3 4.85 20 6.5 20C8.2 20 10.65 20.65 12 21.5C13.35 20.65 15.8 20 17.5 20C19.15 20 20.85 20.3 22.25 21.05C22.35 21.1 22.4 21.1 22.5 21.1C22.75 21.1 23 20.85 23 20.6V6C22.4 5.55 21.75 5.25 21 5ZM21 18.5C19.9 18.15 18.7 18 17.5 18C15.8 18 13.35 18.65 12 19.5C10.65 18.65 8.2 18 6.5 18C5.3 18 4.1 18.15 3 18.5V7C4.1 6.65 5.3 6.5 6.5 6.5C8.2 6.5 10.65 7.15 12 8C13.35 7.15 15.8 6.5 17.5 6.5C18.7 6.5 19.9 6.65 21 7V18.5Z"}),Kr("path",{d:"M17.5 10.5C18.38 10.5 19.23 10.59 20 10.76V9.24C19.21 9.09 18.36 9 17.5 9C15.8 9 14.26 9.29 13 9.83V11.49C14.13 10.85 15.7 10.5 17.5 10.5ZM13 12.49V14.15C14.13 13.51 15.7 13.16 17.5 13.16C18.38 13.16 19.23 13.25 20 13.42V11.9C19.21 11.75 18.36 11.66 17.5 11.66C15.8 11.66 14.26 11.96 13 12.49ZM17.5 14.33C15.8 14.33 14.26 14.62 13 15.16V16.82C14.13 16.18 15.7 15.83 17.5 15.83C18.38 15.83 19.23 15.92 20 16.09V14.57C19.21 14.41 18.36 14.33 17.5 14.33Z"}),Kr("path",{d:"M6.5 10.5C5.62 10.5 4.77 10.59 4 10.76V9.24C4.79 9.09 5.64 9 6.5 9C8.2 9 9.74 9.29 11 9.83V11.49C9.87 10.85 8.3 10.5 6.5 10.5ZM11 12.49V14.15C9.87 13.51 8.3 13.16 6.5 13.16C5.62 13.16 4.77 13.25 4 13.42V11.9C4.79 11.75 5.64 11.66 6.5 11.66C8.2 11.66 9.74 11.96 11 12.49ZM6.5 14.33C8.2 14.33 9.74 14.62 11 15.16V16.82C9.87 16.18 8.3 15.83 6.5 15.83C5.62 15.83 4.77 15.92 4 16.09V14.57C4.79 14.41 5.64 14.33 6.5 14.33Z"})]})},ri=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3-8c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3 3 1.34 3 3z"})})},oi=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})})},ii=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M3 14h4v-4H3v4zm0 5h4v-4H3v4zM3 9h4V5H3v4zm5 5h13v-4H8v4zm0 5h13v-4H8v4zM8 5v4h13V5H8z"})})},ai=n(123),ci=n.n(ai);function li(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ui=["to","isNavLink","children"],si=function(e){var t=e.to,n=e.isNavLink,r=e.children,o=li(e,ui);return n?Kr(wr,Cr(Cr({to:t},o),{},{children:r})):Kr("div",Cr(Cr({},o),{},{children:r}))},fi=function(e){var t,n=e.activeItem,r=e.item,o=e.color,i=void 0===o?zr("color-primary"):o,a=e.activeNavRef,c=e.onChange,l=e.isNavLink;return Kr(si,{className:ci()(Er({"vm-tabs-item":!0,"vm-tabs-item_active":n===r.value},r.className||"",r.className)),isNavLink:l,to:r.value,style:{color:i},onClick:(t=r.value,function(){c&&c(t)}),ref:n===r.value?a:void 0,children:[r.icon&&Kr("div",{className:ci()({"vm-tabs-item__icon":!0,"vm-tabs-item__icon_single":!r.label}),children:r.icon}),r.label]})},di="undefined"!==typeof window?ae:ie;var pi=function(e,t,n,r){var o=ce(t);di((function(){o.current=t}),[t]),ie((function(){var t,i=null!==(t=null===n||void 0===n?void 0:n.current)&&void 0!==t?t:window;if(i&&i.addEventListener){var a=function(e){return o.current(e)};return i.addEventListener(e,a,r),function(){i.removeEventListener(e,a,r)}}}),[e,n,r])},hi=function(){var e=$t(re({width:0,height:0}),2),t=e[0],n=e[1],r=function(){n({width:window.innerWidth,height:window.innerHeight})};return pi("resize",r),di(r,[]),t},vi=function(e){var t=e.activeItem,n=e.items,r=e.color,o=void 0===r?zr("color-primary"):r,i=e.onChange,a=e.indicatorPlacement,c=void 0===a?"bottom":a,l=e.isNavLink,u=hi(),s=ce(null),f=$t(re({left:0,width:0,bottom:0}),2),d=f[0],p=f[1];return ie((function(){var e;if((null===(e=s.current)||void 0===e?void 0:e.base)instanceof HTMLElement){var t=s.current.base,n=t.offsetLeft,r=t.offsetWidth,o=t.offsetHeight;p({left:n,width:r,bottom:"top"===c?o-2:0})}}),[u,t,s,n]),Kr("div",{className:"vm-tabs",children:[n.map((function(e){return Kr(fi,{activeItem:t,item:e,onChange:i,color:o,activeNavRef:s,isNavLink:l},e.value)})),Kr("div",{className:"vm-tabs__indicator",style:Cr(Cr({},d),{},{borderColor:o})})]})},mi=[{value:"chart",icon:Kr(Ko,{}),label:"Graph",prometheusCode:0},{value:"code",icon:Kr(Qo,{}),label:"JSON",prometheusCode:3},{value:"table",icon:Kr(Jo,{}),label:"Table",prometheusCode:1}],yi=Ir("g0.tab",0),_i=mi.find((function(e){return e.prometheusCode===+yi||e.value===yi})),gi=Fr("SERIES_LIMITS"),bi={displayType:(null===_i||void 0===_i?void 0:_i.value)||"chart",nocache:!1,isTracingEnabled:!1,seriesLimits:gi?JSON.parse(gi):$r,tableCompact:Fr("TABLE_COMPACT")||!1};function wi(e,t){switch(t.type){case"SET_DISPLAY_TYPE":return Cr(Cr({},e),{},{displayType:t.payload});case"SET_SERIES_LIMITS":return Rr("SERIES_LIMITS",JSON.stringify(t.payload)),Cr(Cr({},e),{},{seriesLimits:t.payload});case"TOGGLE_QUERY_TRACING":return Cr(Cr({},e),{},{isTracingEnabled:!e.isTracingEnabled});case"TOGGLE_NO_CACHE":return Cr(Cr({},e),{},{nocache:!e.nocache});case"TOGGLE_TABLE_COMPACT":return Rr("TABLE_COMPACT",!e.tableCompact),Cr(Cr({},e),{},{tableCompact:!e.tableCompact});default:throw new Error}}var Ai=z({}),Si={customStep:Ir("g0.step_input",""),yaxis:{limits:{enable:!1,range:{1:[0,0]}}},isHistogram:!1};function xi(e,t){switch(t.type){case"TOGGLE_ENABLE_YAXIS_LIMITS":return Cr(Cr({},e),{},{yaxis:Cr(Cr({},e.yaxis),{},{limits:Cr(Cr({},e.yaxis.limits),{},{enable:!e.yaxis.limits.enable})})});case"SET_CUSTOM_STEP":return Cr(Cr({},e),{},{customStep:t.payload});case"SET_YAXIS_LIMITS":return Cr(Cr({},e),{},{yaxis:Cr(Cr({},e.yaxis),{},{limits:Cr(Cr({},e.yaxis.limits),{},{range:t.payload})})});case"SET_IS_HISTOGRAM":return Cr(Cr({},e),{},{isHistogram:t.payload});default:throw new Error}}var Ei=z({}),ki={windows:"Windows",mac:"Mac OS",linux:"Linux"},Ci=function(){return(Object.values(ki).find((function(e){return navigator.userAgent.indexOf(e)>=0}))||"unknown")===ki.mac};function Oi(){var e=hi(),t=function(){var e=function(){var e=["Android","webOS","iPhone","iPad","iPod","BlackBerry","Windows Phone"].map((function(e){return navigator.userAgent.match(new RegExp(e,"i"))}));return e.some((function(e){return e}))}(),t=window.innerWidth<500;return e||t},n=$t(re(t()),2),r=n[0],o=n[1];return ie((function(){o(t())}),[e]),{isMobile:r}}var Ni={success:Kr(Yo,{}),error:Kr(Vo,{}),warning:Kr(Wo,{}),info:Kr(zo,{})},Pi=function(e){var t,n=e.variant,r=e.children,o=Qr().isDarkTheme,i=Oi().isMobile;return Kr("div",{className:ci()((t={"vm-alert":!0},Er(t,"vm-alert_".concat(n),n),Er(t,"vm-alert_dark",o),Er(t,"vm-alert_mobile",i),t)),children:[Kr("div",{className:"vm-alert__icon",children:Ni[n||"info"]}),Kr("div",{className:"vm-alert__content",children:r})]})},Mi=z({showInfoMessage:function(){}}),Ti={dashboardsSettings:[],dashboardsLoading:!1,dashboardsError:""};function ji(e,t){switch(t.type){case"SET_DASHBOARDS_SETTINGS":return Cr(Cr({},e),{},{dashboardsSettings:t.payload});case"SET_DASHBOARDS_LOADING":return Cr(Cr({},e),{},{dashboardsLoading:t.payload});case"SET_DASHBOARDS_ERROR":return Cr(Cr({},e),{},{dashboardsError:t.payload});default:throw new Error}}var Li=z({}),Di=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return function(n){var r=n.children;return Kr(e,{children:Kr(t,{children:r})})}}),(function(e){return Kr(g,{children:e.children})}))}.apply(void 0,[function(e){var t=e.children,n=$t(oe(Gr,eo),2),r=n[0],o=n[1],i=ue((function(){return{state:r,dispatch:o}}),[r,o]);return Kr(Jr.Provider,{value:i,children:t})},function(e){var t=e.children,n=$t(oe(No,Oo),2),r=n[0],o=n[1],i=ue((function(){return{state:r,dispatch:o}}),[r,o]);return Kr(Po.Provider,{value:i,children:t})},function(e){var t=e.children,n=$t(oe(Do,Lo),2),r=n[0],o=n[1],i=ue((function(){return{state:r,dispatch:o}}),[r,o]);return Kr($o.Provider,{value:i,children:t})},function(e){var t=e.children,n=$t(oe(wi,bi),2),r=n[0],o=n[1],i=ue((function(){return{state:r,dispatch:o}}),[r,o]);return Kr(Ai.Provider,{value:i,children:t})},function(e){var t=e.children,n=$t(oe(xi,Si),2),r=n[0],o=n[1],i=ue((function(){return{state:r,dispatch:o}}),[r,o]);return Kr(Ei.Provider,{value:i,children:t})},function(e){var t=e.children,n=Oi().isMobile,r=$t(re({}),2),o=r[0],i=r[1],a=$t(re(!1),2),c=a[0],l=a[1],u=$t(re(void 0),2),s=u[0],f=u[1];ie((function(){if(s){i({message:s.text,variant:s.type,key:Date.now()}),l(!0);var e=setTimeout(d,4e3);return function(){return clearTimeout(e)}}}),[s]);var d=function(){f(void 0),l(!1)};return Kr(Mi.Provider,{value:{showInfoMessage:f},children:[c&&Kr("div",{className:ci()({"vm-snackbar":!0,"vm-snackbar_mobile":n}),children:Kr(Pi,{variant:o.variant,children:Kr("div",{className:"vm-snackbar-content",children:[Kr("span",{children:o.message}),Kr("div",{className:"vm-snackbar-content__close",onClick:d,children:Kr(Ho,{})})]})})}),t]})},function(e){var t=e.children,n=$t(oe(ji,Ti),2),r=n[0],o=n[1],i=ue((function(){return{state:r,dispatch:o}}),[r,o]);return Kr(Li.Provider,{value:i,children:t})}]),$i={"color-primary":"#589DF6","color-secondary":"#316eca","color-error":"#e5534b","color-warning":"#c69026","color-info":"#539bf5","color-success":"#57ab5a","color-background-body":"#22272e","color-background-block":"#2d333b","color-background-tooltip":"rgba(22, 22, 22, 0.8)","color-text":"#cdd9e5","color-text-secondary":"#768390","color-text-disabled":"#636e7b","box-shadow":"rgba(0, 0, 0, 0.16) 1px 2px 6px","box-shadow-popper":"rgba(0, 0, 0, 0.2) 0px 2px 8px 0px","border-divider":"1px solid rgba(99, 110, 123, 0.5)","color-hover-black":"rgba(0, 0, 0, 0.12)"},Ii={"color-primary":"#3F51B5","color-secondary":"#E91E63","color-error":"#FD080E","color-warning":"#FF8308","color-info":"#03A9F4","color-success":"#4CAF50","color-background-body":"#FEFEFF","color-background-block":"#FFFFFF","color-background-tooltip":"rgba(80,80,80,0.9)","color-text":"#110f0f","color-text-secondary":"#706F6F","color-text-disabled":"#A09F9F","box-shadow":"rgba(0, 0, 0, 0.08) 1px 2px 6px","box-shadow-popper":"rgba(0, 0, 0, 0.1) 0px 2px 8px 0px","border-divider":"1px solid rgba(0, 0, 0, 0.15)","color-hover-black":"rgba(0, 0, 0, 0.06)"},Ri=function(){var e=$t(re(Vr()),2),t=e[0],n=e[1],r=function(e){n(e.matches)};return ie((function(){var e=window.matchMedia("(prefers-color-scheme: dark)");return e.addEventListener("change",r),function(){return e.removeEventListener("change",r)}}),[]),t},Fi=["primary","secondary","error","warning","info","success"],Ui=function(e){var t,n=e.onLoaded,r=Nr(),o=Or().palette,i=void 0===o?{}:o,a=Qr().theme,c=Ri(),l=Xr(),u=hi(),s=$t(re((Er(t={},Br.dark,$i),Er(t,Br.light,Ii),Er(t,Br.system,Vr()?$i:Ii),t)),2),f=s[0],d=s[1],p=function(){var e=window,t=e.innerWidth,n=e.innerHeight,r=document.documentElement,o=r.clientWidth,i=r.clientHeight;Wr("scrollbar-width","".concat(t-o,"px")),Wr("scrollbar-height","".concat(n-i,"px")),Wr("vh","".concat(.01*n,"px"))},h=function(){Fi.forEach((function(e,t){var r=function(e){var t=e.replace("#","").trim();if(3===t.length&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),6!==t.length)throw new Error("Invalid HEX color.");return(299*parseInt(t.slice(0,2),16)+587*parseInt(t.slice(2,4),16)+114*parseInt(t.slice(4,6),16))/1e3>=128?"#000000":"#FFFFFF"}(zr("color-".concat(e)));Wr("".concat(e,"-text"),r),t===Fi.length-1&&(l({type:"SET_DARK_THEME"}),n(!0))}))},v=function(){var e=Fr("THEME")||Br.system,t=f[e];Object.entries(t).forEach((function(e){var t=$t(e,2),n=t[0],r=t[1];Wr(n,r)})),h(),r&&(Fi.forEach((function(e){var t=i[e];t&&Wr("color-".concat(e),t)})),h())};return ie((function(){p(),v()}),[f]),ie(p,[u]),ie((function(){var e=Vr()?$i:Ii;f[Br.system]!==e?d((function(t){return Cr(Cr({},t),{},Er({},Br.system,e))})):v()}),[a,c]),ie((function(){r&&l({type:"SET_THEME",payload:Br.light})}),[]),null};function Hi(){Hi=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(O){l=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var i=t&&t.prototype instanceof d?t:d,a=Object.create(i.prototype),c=new E(o||[]);return r(a,"_invoke",{value:w(e,n,c)}),a}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(O){return{type:"throw",arg:O}}}e.wrap=u;var f={};function d(){}function p(){}function h(){}var v={};l(v,i,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(k([])));y&&y!==t&&n.call(y,i)&&(v=y);var _=h.prototype=d.prototype=Object.create(v);function g(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function o(r,i,a,c){var l=s(e[r],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==Ht(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,c)}),(function(e){o("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,c)}))}c(l.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function w(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=A(a,n);if(c){if(c===f)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function A(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,A(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=s(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function k(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return p.prototype=h,r(_,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:p,configurable:!0}),p.displayName=l(h,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,l(e,c,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},g(b.prototype),l(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new b(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(_),l(_,c,"Generator"),l(_,i,(function(){return this})),l(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=k,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function Bi(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(u){return void n(u)}c.done?t(l):Promise.resolve(l).then(r,o)}function zi(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Bi(i,r,o,a,c,"next",e)}function c(e){Bi(i,r,o,a,c,"throw",e)}a(void 0)}))}}var Wi=function(){var e=fe(Mi).showInfoMessage;return function(){var t=zi(Hi().mark((function t(n,r){var o;return Hi().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==(o=navigator)&&void 0!==o&&o.clipboard){t.next=4;break}return e({text:"Clipboard not supported",type:"error"}),console.warn("Clipboard not supported"),t.abrupt("return",!1);case 4:return t.prev=4,t.next=7,navigator.clipboard.writeText(n);case 7:return r&&e({text:r,type:"success"}),t.abrupt("return",!0);case 11:return t.prev=11,t.t0=t.catch(4),t.t0 instanceof Error&&e({text:"".concat(t.t0.name,": ").concat(t.t0.message),type:"error"}),console.warn("Copy failed",t.t0),t.abrupt("return",!1);case 16:case"end":return t.stop()}}),t,null,[[4,11]])})));return function(e,n){return t.apply(this,arguments)}}()},Vi=function(e){var t,n=e.variant,r=void 0===n?"contained":n,o=e.color,i=void 0===o?"primary":o,a=e.size,c=void 0===a?"medium":a,l=e.ariaLabel,u=e.children,s=e.endIcon,f=e.startIcon,d=e.fullWidth,p=void 0!==d&&d,h=e.className,v=e.disabled,m=e.onClick,y=e.onMouseDown;return Kr("button",{className:ci()((Er(t={"vm-button":!0},"vm-button_".concat(r,"_").concat(i),!0),Er(t,"vm-button_".concat(c),c),Er(t,"vm-button_icon",(f||s)&&!u),Er(t,"vm-button_full-width",p),Er(t,"vm-button_with-icon",f||s),Er(t,"vm-button_disabled",v),Er(t,h||"",h),t)),disabled:v,"aria-label":l,onClick:m,onMouseDown:y,children:Kr(g,{children:[f&&Kr("span",{className:"vm-button__start-icon",children:f}),u&&Kr("span",{children:u}),s&&Kr("span",{className:"vm-button__end-icon",children:s})]})})},Yi=function(e){var t=e.data,n=Wi(),r=ue((function(){return JSON.stringify(t,null,2)}),[t]),o=function(){var e=zi(Hi().mark((function e(){return Hi().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n(r,"Formatted JSON has been copied");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Kr("div",{className:"vm-json-view",children:[Kr("div",{className:"vm-json-view__copy",children:Kr(Vi,{variant:"outlined",onClick:o,children:"Copy JSON"})}),Kr("pre",{className:"vm-json-view__code",children:Kr("code",{children:r})})]})},Zi=function(e){var t=e.children,n=e.title,r=e.open,o=e.placement,i=void 0===o?"bottom-center":o,a=e.offset,c=void 0===a?{top:6,left:0}:a,l=Oi().isMobile,u=$t(re(!1),2),s=u[0],f=u[1],d=$t(re({width:0,height:0}),2),p=d[0],h=d[1],v=ce(null),m=ce(null),y=function(){return f(!1)};ie((function(){if(m.current&&s)return h({width:m.current.clientWidth,height:m.current.clientHeight}),window.addEventListener("scroll",y),function(){window.removeEventListener("scroll",y)}}),[s,n]);var _=ue((function(){var e,t=null===v||void 0===v||null===(e=v.current)||void 0===e?void 0:e.base;if(!t||!s)return{};var n=t.getBoundingClientRect(),r={top:0,left:0},o="bottom-right"===i||"top-right"===i,a="bottom-left"===i||"top-left"===i,l=null===i||void 0===i?void 0:i.includes("top"),u=(null===c||void 0===c?void 0:c.top)||0,f=(null===c||void 0===c?void 0:c.left)||0;r.left=n.left-(p.width-n.width)/2+f,r.top=n.height+n.top+u,o&&(r.left=n.right-p.width),a&&(r.left=n.left+f),l&&(r.top=n.top-p.height-u);var d=window,h=d.innerWidth,m=d.innerHeight,y=r.top+p.height+20>m,_=r.top-20<0,g=r.left+p.width+20>h,b=r.left-20<0;return y&&(r.top=n.top-p.height-u),_&&(r.top=n.height+n.top+u),g&&(r.left=n.right-p.width-f),b&&(r.left=n.left+f),r.top<0&&(r.top=20),r.left<0&&(r.left=20),r}),[v,i,s,p]),b=function(){"boolean"!==typeof r&&f(!0)},w=function(){f(!1)};return ie((function(){"boolean"===typeof r&&f(r)}),[r]),ie((function(){var e,t=null===v||void 0===v||null===(e=v.current)||void 0===e?void 0:e.base;if(t)return t.addEventListener("mouseenter",b),t.addEventListener("mouseleave",w),function(){t.removeEventListener("mouseenter",b),t.removeEventListener("mouseleave",w)}}),[v]),Kr(g,{children:[Kr(g,{ref:v,children:t}),!l&&s&&St.createPortal(Kr("div",{className:"vm-tooltip",ref:m,style:_,children:n}),document.body)]})},Gi=function(e){var t=$t(re(!!e),2),n=t[0],r=t[1],o=se((function(){return r(!0)}),[]),i=se((function(){return r(!1)}),[]),a=se((function(){return r((function(e){return!e}))}),[]);return{value:n,setValue:r,setTrue:o,setFalse:i,toggle:a}},qi=function(e,t,n){var r=se((function(r){var o=null===e||void 0===e?void 0:e.current,i=r.target,a=(null===n||void 0===n?void 0:n.current)&&n.current.contains(i);!o||o.contains((null===r||void 0===r?void 0:r.target)||null)||a||t(r)}),[e,t]);pi("mousedown",r),pi("touchstart",r)},Ki=function(e){var t=e.children,n=e.buttonRef,r=e.placement,o=void 0===r?"bottom-left":r,i=e.open,a=void 0!==i&&i,c=e.onClose,l=e.offset,u=void 0===l?{top:6,left:0}:l,s=e.clickOutside,f=void 0===s||s,d=e.fullWidth,p=e.title,h=e.disabledFullScreen,v=Oi().isMobile,m=Vn(),y=zn(),_=$t(re({width:0,height:0}),2),b=_[0],w=_[1],A=Gi(!1),S=A.value,x=A.setValue,E=A.setFalse,k=ce(null);ie((function(){x(a)}),[a]),ie((function(){return!S&&c&&c(),S&&v&&!h&&(document.body.style.overflow="hidden"),function(){document.body.style.overflow="auto"}}),[S]),ie((function(){var e,t;w({width:(null===k||void 0===k||null===(e=k.current)||void 0===e?void 0:e.clientWidth)||0,height:(null===k||void 0===k||null===(t=k.current)||void 0===t?void 0:t.clientHeight)||0}),x(!1)}),[k]);var C=ue((function(){var e=n.current;if(!e||!S)return{};var t=e.getBoundingClientRect(),r={top:0,left:0,width:"auto"},i="bottom-right"===o||"top-right"===o,a=null===o||void 0===o?void 0:o.includes("top"),c=(null===u||void 0===u?void 0:u.top)||0,l=(null===u||void 0===u?void 0:u.left)||0;r.left=r.left=t.left+l,r.top=t.height+t.top+c,i&&(r.left=t.right-b.width),a&&(r.top=t.top-b.height-c);var s=window,f=s.innerWidth,p=s.innerHeight,h=r.top+b.height+20>p,v=r.top-20<0,m=r.left+b.width+20>f,y=r.left-20<0;return h&&(r.top=t.top-b.height-c),v&&(r.top=t.height+t.top+c),m&&(r.left=t.right-b.width-l),y&&(r.left=t.left+l),d&&(r.width="".concat(t.width,"px")),r.top<0&&(r.top=20),r}),[n,o,S,t,d]);f&&qi(k,(function(){return x(!1)}),n),ie((function(){if(k.current&&S&&(!v||h)){var e=k.current.getBoundingClientRect(),t=e.right,n=e.width;if(t>window.innerWidth){var r=window.innerWidth-20-n;k.current.style.left=r<window.innerWidth?"0":"".concat(r,"px")}}}),[S,k]);var O=se((function(){S&&v&&!h&&(m(y,{replace:!0}),c())}),[S,v,h,y,c]);return pi("scroll",E),pi("popstate",O),Kr(g,{children:(S||!b.width)&&St.createPortal(Kr("div",{className:ci()({"vm-popper":!0,"vm-popper_mobile":v&&!h,"vm-popper_open":(v||Object.keys(C).length)&&S}),ref:k,style:v&&!h?{}:C,children:[(p||v&&!h)&&Kr("div",{className:"vm-popper-header",children:[Kr("p",{className:"vm-popper-header__title",children:p}),Kr(Vi,{variant:"text",size:"small",onClick:function(e){e.stopPropagation(),c()},ariaLabel:"close",children:Kr(Ho,{})})]}),t]}),document.body)})},Ji=[10,25,50,100,250,500,1e3],Qi=function(e){var t=e.limit,n=e.tooltip,r=e.onChange,o=Oi().isMobile,i=n||"Rows per page",a=ce(null),c=Gi(!1),l=c.value,u=c.toggle,s=c.setFalse,f=function(e){return function(){r(e),s()}};return Kr(g,{children:[Kr(Zi,{title:i,children:Kr("div",{ref:a,children:Kr(Vi,{variant:"text",endIcon:Kr(Go,{}),onClick:u,children:t})})}),Kr(Ki,{open:l,onClose:s,placement:"bottom-right",buttonRef:a,children:Kr("div",{className:"vm-select-limits",children:Ji.map((function(e){return Kr("div",{className:ci()({"vm-list-item":!0,"vm-list-item_mobile":o,"vm-list-item_active":e===t}),onClick:f(e),children:e},e)}))})})]})},Xi=function(e,t){var n=$t(xr(),1)[0],r=n.get(t)?n.get(t):e,o=$t(re(r),2),i=o[0],a=o[1];return ie((function(){r!==i&&a(r)}),[r]),[i,a]},ea=function(){var e=Vn(),t=$t(xr(),2),n=t[0],r=t[1];return{setSearchParamsFromKeys:se((function(t){var o=!!Array.from(n.values()).length,i=!1;Object.entries(t).forEach((function(e){var t=$t(e,2),r=t[0],o=t[1];n.get(r)!=="".concat(o)&&(n.set(r,"".concat(o)),i=!0)})),i&&(o?r(n):e("?".concat(n.toString()),{replace:!0}))}),[n,e])}},ta=function(e){var t,n=e.checked,r=void 0!==n&&n,o=e.disabled,i=void 0!==o&&o,a=e.label,c=e.color,l=void 0===c?"secondary":c,u=e.onChange;return Kr("div",{className:ci()((Er(t={"vm-checkbox":!0,"vm-checkbox_disabled":i,"vm-checkbox_active":r},"vm-checkbox_".concat(l,"_active"),r),Er(t,"vm-checkbox_".concat(l),l),t)),onClick:function(){i||u(!r)},children:[Kr("div",{className:"vm-checkbox-track",children:Kr("div",{className:"vm-checkbox-track__thumb",children:Kr(Xo,{})})}),a&&Kr("span",{className:"vm-checkbox__label",children:a})]})},na=function(e){var t,n=e.value,r=void 0!==n&&n,o=e.disabled,i=void 0!==o&&o,a=e.label,c=e.color,l=void 0===c?"secondary":c,u=e.fullWidth,s=e.onChange;return Kr("div",{className:ci()((Er(t={"vm-switch":!0,"vm-switch_full-width":u,"vm-switch_disabled":i,"vm-switch_active":r},"vm-switch_".concat(l,"_active"),r),Er(t,"vm-switch_".concat(l),l),t)),onClick:function(){i||s(!r)},children:[Kr("div",{className:"vm-switch-track",children:Kr("div",{className:"vm-switch-track__thumb"})}),a&&Kr("span",{className:"vm-switch__label",children:a})]})};var ra="Table settings",oa=function(e){var t=e.columns,n=e.defaultColumns,r=void 0===n?[]:n,o=e.tableCompact,i=e.onChangeColumns,a=e.toggleTableCompact,c=Oi().isMobile,l=ce(null),u=Gi(!1),s=u.value,f=u.toggle,d=u.setFalse,p=ue((function(){return!t.length}),[t]),h=function(e){return function(){!function(e){i(r.includes(e)?r.filter((function(t){return t!==e})):[].concat(Ft(r),[e]))}(e)}};return ie((function(){(function(e,t){return e.length===t.length&&e.every((function(e,n){return e===t[n]}))})(t,r)||i(t)}),[t]),Kr("div",{className:"vm-table-settings",children:[Kr(Zi,{title:ra,children:Kr("div",{ref:l,children:Kr(Vi,{variant:"text",startIcon:Kr(Uo,{}),onClick:f,disabled:p,ariaLabel:"table settings"})})}),Kr(Ki,{open:s,onClose:d,placement:"bottom-right",buttonRef:l,title:ra,children:Kr("div",{className:ci()({"vm-table-settings-popper":!0,"vm-table-settings-popper_mobile":c}),children:[Kr("div",{className:"vm-table-settings-popper-list vm-table-settings-popper-list_first",children:Kr(na,{label:"Compact view",value:o,onChange:a})}),Kr("div",{className:"vm-table-settings-popper-list",children:[Kr("div",{className:"vm-table-settings-popper-list-header",children:[Kr("h3",{className:"vm-table-settings-popper-list-header__title",children:"Display columns"}),Kr(Zi,{title:"Reset to default",children:Kr(Vi,{color:"primary",variant:"text",size:"small",onClick:function(){d(),i(t)},startIcon:Kr(Bo,{}),ariaLabel:"reset columns"})})]}),t.map((function(e){return Kr("div",{className:"vm-table-settings-popper-list__item",children:Kr(ta,{checked:r.includes(e),onChange:h(e),label:e,disabled:o})},e)}))]})]})})]})};function ia(e,t,n){return t[n]<e[n]?-1:t[n]>e[n]?1:0}var aa=function(e){var t=e.rows,n=e.columns,r=e.defaultOrderBy,o=e.copyToClipboard,i=e.paginationOffset,a=$t(re(r),2),c=a[0],l=a[1],u=$t(re("desc"),2),s=u[0],f=u[1],d=$t(re(null),2),p=d[0],h=d[1],v=ue((function(){var e=i.startIndex,n=i.endIndex;return function(e,t){var n=e.map((function(e,t){return[e,t]}));return n.sort((function(e,n){var r=t(e[0],n[0]);return 0!==r?r:e[1]-n[1]})),n.map((function(e){return e[0]}))}(t,function(e,t){return"desc"===e?function(e,n){return ia(e,n,t)}:function(e,n){return-ia(e,n,t)}}(s,c)).slice(e,n)}),[t,c,s,i]),m=function(e,t){return zi(Hi().mark((function n(){return Hi().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(p!==t){n.next=2;break}return n.abrupt("return");case 2:return n.prev=2,n.next=5,navigator.clipboard.writeText(String(e));case 5:h(t),n.next=11;break;case 8:n.prev=8,n.t0=n.catch(2),console.error(n.t0);case 11:case"end":return n.stop()}}),n,null,[[2,8]])})))};return ie((function(){if(null!==p){var e=setTimeout((function(){return h(null)}),2e3);return function(){return clearTimeout(e)}}}),[p]),Kr("table",{className:"vm-table",children:[Kr("thead",{className:"vm-table-header",children:Kr("tr",{className:"vm-table__row vm-table__row_header",children:[n.map((function(e){return Kr("th",{className:"vm-table-cell vm-table-cell_header vm-table-cell_sort",onClick:(t=e.key,function(){f((function(e){return"asc"===e&&c===t?"desc":"asc"})),l(t)}),children:Kr("div",{className:"vm-table-cell__content",children:[Kr("div",{children:String(e.title||e.key)}),Kr("div",{className:ci()({"vm-table__sort-icon":!0,"vm-table__sort-icon_active":c===e.key,"vm-table__sort-icon_desc":"desc"===s&&c===e.key}),children:Kr(Go,{})})]})},String(e.key));var t})),o&&Kr("th",{className:"vm-table-cell vm-table-cell_header"})]})}),Kr("tbody",{className:"vm-table-body",children:v.map((function(e,t){return Kr("tr",{className:"vm-table__row",children:[n.map((function(t){return Kr("td",{className:ci()(Er({"vm-table-cell":!0},"".concat(t.className),t.className)),children:e[t.key]||"-"},String(t.key))})),o&&Kr("td",{className:"vm-table-cell vm-table-cell_right",children:e[o]&&Kr("div",{className:"vm-table-cell__content",children:Kr(Zi,{title:p===t?"Copied":"Copy row",children:Kr(Vi,{variant:"text",color:p===t?"success":"gray",size:"small",startIcon:Kr(p===t?Xo:ei,{}),onClick:m(e[o],t),ariaLabel:"copy row"})})})})]},t)}))})]})},ca=function(e){var t=e.page,n=e.length,r=e.limit,o=e.onChange,i=Oi().isMobile,a=function(e){return function(){o(+t+e),window.scrollTo(0,0)}};return Kr("div",{className:ci()({"vm-pagination":!0,"vm-pagination_mobile":i}),children:[t>1&&Kr(Vi,{variant:"text",onClick:a(-1),startIcon:Kr("div",{className:"vm-pagination__icon vm-pagination__icon_prev",children:Kr(Zo,{})}),children:"Previous"}),n>=r&&Kr(Vi,{variant:"text",onClick:a(1),endIcon:Kr("div",{className:"vm-pagination__icon vm-pagination__icon_next",children:Kr(Zo,{})}),children:"Next"})]})},la=function(e){var t=e.logs,n=e.limitRows,r=e.displayColumns,o=e.tableCompact,i=e.columns,a=ea().setSearchParamsFromKeys,c=$t(Xi(1,"page"),2),l=c[0],u=c[1],s=function(e){switch(e){case"time":return"vm-table-cell_logs-time";case"data":return"vm-table-cell_logs vm-table-cell_pre";default:return"vm-table-cell_logs"}},f=ue((function(){var e=(l-1)*Number(n);return{startIndex:e,endIndex:e+Number(n)}}),[l,n]),d=ue((function(){return o?[{key:"data",title:"Data",className:s("data")}]:i.map((function(e){return{key:e,title:e,className:s(e)}}))}),[o,i]),p=ue((function(){return null===r||void 0===r||!r.length||o?d:d.filter((function(e){return r.includes(e.key)}))}),[d,r,o]);return Kr(g,{children:[Kr(aa,{rows:t,columns:p,defaultOrderBy:"time",copyToClipboard:"data",paginationOffset:f}),Kr(ca,{page:l,limit:+n,length:t.slice(f.startIndex,f.endIndex).length,onChange:function(e){u(e),a({page:e})}})]})},ua=function(e){var t=e.defaultExpanded,n=void 0!==t&&t,r=e.onChange,o=e.title,i=e.children,a=$t(re(n),2),c=a[0],l=a[1];return ie((function(){r&&r(c)}),[c]),Kr(g,{children:[Kr("header",{className:"vm-accordion-header ".concat(c&&"vm-accordion-header_open"),onClick:function(){l((function(e){return!e}))},children:[o,Kr("div",{className:"vm-accordion-header__arrow ".concat(c&&"vm-accordion-header__arrow_open"),children:Kr(Zo,{})})]}),c&&Kr("section",{className:"vm-accordion-section",children:i},"content")]})},sa=function(e){var t=e.logs,n=e.columns,r=ue((function(){var e=["_msg","time","data","_time"],r=n.filter((function(t){return!e.includes(t)}));return function(e,t){var n=e.reduce((function(e,n){var r=t.map((function(e){return"".concat(e,": ").concat(n[e]||"-")})).join("|");return(e[r]=e[r]||[]).push(n),e}),{});return Object.entries(n).map((function(e){var t=$t(e,2),n=t[0],r=t[1];return{keys:n.split("|"),values:r}}))}(t,r)}),[t]);return Kr("div",{className:"vm-explore-logs-body-content",children:r.map((function(e){return Kr("div",{className:"vm-explore-logs-body-content-group",children:Kr(ua,{defaultExpanded:!0,title:Kr("div",{className:"vm-explore-logs-body-content-group-keys",children:[Kr("span",{className:"vm-explore-logs-body-content-group-keys__title",children:"Group by:"}),e.keys.map((function(e){return Kr("div",{className:"vm-explore-logs-body-content-group-keys__key",children:e},e)}))]}),children:Kr("div",{className:"vm-explore-logs-body-content-group-rows",children:e.values.map((function(e){return Kr("div",{className:"vm-explore-logs-body-content-group-rows-item",children:[Kr("div",{className:"vm-explore-logs-body-content-group-rows-item__time",children:e.time}),Kr("div",{className:"vm-explore-logs-body-content-group-rows-item__msg",children:e._msg})]},"".concat(e._msg).concat(e._time))}))})})},e.keys.join(""))}))})},fa=function(e){return e.group="group",e.table="table",e.json="json",e}(fa||{}),da=[{label:"Group",value:fa.group,icon:Kr(ii,{})},{label:"Table",value:fa.table,icon:Kr(Jo,{})},{label:"JSON",value:fa.json,icon:Kr(Qo,{})}],pa=function(e){var t=e.data,n=Oi().isMobile,r=Mo().timezone,o=ea().setSearchParamsFromKeys,i=$t(Xi(Fr("LOGS_LIMIT")||50,"limit"),2),a=i[0],c=i[1],l=$t(Xi(fa.group,"view"),2),u=l[0],s=l[1],f=$t(re([]),2),d=f[0],p=f[1],h=Gi(!1),v=h.value,m=h.toggle,y=ue((function(){return t.map((function(e){return Cr({time:Et()(e._time).tz().format("MMM DD, YYYY \nHH:mm:ss.SSS"),data:JSON.stringify(e,null,2)},e)}))}),[t,r]),_=ue((function(){if(null===y||void 0===y||!y.length)return[];var e,t=["data","_time"],n=new Set,r=It(y);try{for(r.s();!(e=r.n()).done;){var o=e.value;for(var i in o)n.add(i)}}catch(a){r.e(a)}finally{r.f()}return Array.from(n).filter((function(e){return!t.includes(e)}))}),[y]);return Kr("div",{className:ci()({"vm-explore-logs-body":!0,"vm-block":!0,"vm-block_mobile":n}),children:[Kr("div",{className:ci()({"vm-explore-logs-body-header":!0,"vm-section-header":!0,"vm-explore-logs-body-header_mobile":n}),children:[Kr("div",{className:"vm-section-header__tabs",children:Kr(vi,{activeItem:String(u),items:da,onChange:function(e){s(e),o({view:e})}})}),u===fa.table&&Kr("div",{className:"vm-explore-logs-body-header__settings",children:[Kr(Qi,{limit:+a,onChange:function(e){c(e),o({limit:e}),Rr("LOGS_LIMIT","".concat(e))}}),Kr(oa,{columns:_,defaultColumns:d,onChangeColumns:p,tableCompact:v,toggleTableCompact:m})]})]}),Kr("div",{className:ci()({"vm-explore-logs-body__table":!0,"vm-explore-logs-body__table_mobile":n}),children:!!t.length&&Kr(g,{children:[u===fa.table&&Kr(la,{logs:y,limitRows:+a,displayColumns:d,tableCompact:v,columns:_}),u===fa.group&&Kr(sa,{logs:y,columns:_}),u===fa.json&&Kr(Yi,{data:t})]})})]})},ha=1e3,va=function(e){var t=e.containerStyles,n=void 0===t?{}:t,r=e.message,o=Qr().isDarkTheme;return Kr("div",{className:ci()({"vm-spinner":!0,"vm-spinner_dark":o}),style:n&&{},children:[Kr("div",{className:"half-circle-spinner",children:[Kr("div",{className:"circle circle-1"}),Kr("div",{className:"circle circle-2"})]}),r&&Kr("div",{className:"vm-spinner__message",children:r})]})},ma=function(e){var t=e.error,n=e.warning,r=e.info,o=ce(null),i=$t(re(!1),2),a=i[0],c=i[1],l=$t(re(!1),2),u=l[0],s=l[1],f=ue((function(){return t?"ERROR: ":n?"WARNING: ":""}),[t,n]),d="".concat(f).concat(t||n||r),p=function(){var e=o.current;if(e){var t=e.offsetWidth,n=e.scrollWidth,r=e.offsetHeight,i=e.scrollHeight;c(t+1<n||r+1<i)}else c(!1)};return ie((function(){s(!1),p()}),[o,d]),pi("resize",p),t||n||r?Kr("span",{className:ci()({"vm-text-field__error":!0,"vm-text-field__warning":n&&!t,"vm-text-field__helper-text":!n&&!t,"vm-text-field__error_overflowed":a,"vm-text-field__error_full":u}),"data-show":!!d,ref:o,onClick:function(){a&&(s(!0),c(!1))},children:d}):null},ya=function(e){var t=e.label,n=e.value,r=e.type,o=void 0===r?"text":r,i=e.error,a=void 0===i?"":i,c=e.warning,l=void 0===c?"":c,u=e.helperText,s=void 0===u?"":u,f=e.placeholder,d=e.endIcon,p=e.startIcon,h=e.disabled,v=void 0!==h&&h,m=e.autofocus,y=void 0!==m&&m,_=e.inputmode,g=void 0===_?"text":_,b=e.onChange,w=e.onEnter,A=e.onKeyDown,S=e.onFocus,x=e.onBlur,E=Qr().isDarkTheme,k=Oi().isMobile,C=ce(null),O=ce(null),N=ue((function(){return"textarea"===o?O:C}),[o]),P=ci()({"vm-text-field__input":!0,"vm-text-field__input_error":a,"vm-text-field__input_warning":!a&&l,"vm-text-field__input_icon-start":p,"vm-text-field__input_disabled":v,"vm-text-field__input_textarea":"textarea"===o}),M=function(e){A&&A(e);var t=e.key,n=e.ctrlKey,r=e.metaKey,i="Enter"===t;("textarea"!==o?i:i&&(r||n))&&w&&(e.preventDefault(),w())},T=function(e){v||b&&b(e.target.value)};ie((function(){var e;y&&!k&&(null===N||void 0===N||null===(e=N.current)||void 0===e?void 0:e.focus)&&N.current.focus()}),[N,y]);var j=function(){S&&S()},L=function(){x&&x()};return Kr("label",{className:ci()({"vm-text-field":!0,"vm-text-field_textarea":"textarea"===o,"vm-text-field_dark":E}),"data-replicated-value":n,children:[p&&Kr("div",{className:"vm-text-field__icon-start",children:p}),d&&Kr("div",{className:"vm-text-field__icon-end",children:d}),"textarea"===o?Kr("textarea",{className:P,disabled:v,ref:O,value:n,rows:1,inputMode:g,placeholder:f,autoCapitalize:"none",onInput:T,onKeyDown:M,onFocus:j,onBlur:L}):Kr("input",{className:P,disabled:v,ref:C,value:n,type:o,placeholder:f,inputMode:g,autoCapitalize:"none",onInput:T,onKeyDown:M,onFocus:j,onBlur:L}),t&&Kr("span",{className:"vm-text-field__label",children:t}),Kr(ma,{error:a,warning:l,info:s})]})},_a=function(e){var t=e.value,n=e.options,r=e.anchor,o=e.disabled,i=e.maxWords,a=void 0===i?1:i,c=e.minLength,l=void 0===c?2:c,s=e.fullWidth,f=e.selected,d=e.noOptionsText,p=e.label,h=e.disabledFullScreen,v=e.onSelect,m=e.onOpenAutocomplete,y=e.onFoundOptions,_=Oi().isMobile,g=ce(null),b=$t(re(-1),2),w=b[0],A=b[1],S=Gi(!1),x=S.value,E=S.setValue,k=S.setFalse,C=ue((function(){if(!x)return[];try{var e=new RegExp(String(t),"i");return n.filter((function(n){return e.test(n)&&n!==t})).sort((function(t,n){var r,o;return((null===(r=t.match(e))||void 0===r?void 0:r.index)||0)-((null===(o=n.match(e))||void 0===o?void 0:o.index)||0)}))}catch(u){return[]}}),[x,n,t]),O=ue((function(){return d&&!C.length}),[d,C]),N=se((function(e){var t=e.key,n=e.ctrlKey,r=e.metaKey,o=e.shiftKey,i=n||r||o,a=C.length;if("ArrowUp"===t&&!i&&a&&(e.preventDefault(),A((function(e){return e<=0?0:e-1}))),"ArrowDown"===t&&!i&&a){e.preventDefault();var c=C.length-1;A((function(e){return e>=c?c:e+1}))}if("Enter"===t){var l=C[w];l&&v(l),f||k()}"Escape"===t&&k()}),[w,C,k,v,f]);return ie((function(){var e=(t.match(/[a-zA-Z_:.][a-zA-Z0-9_:.]*/gm)||[]).length;E(t.length>l&&e<=a)}),[t]),pi("keydown",N),ie((function(){if(g.current){var e=g.current.childNodes[w];null!==e&&void 0!==e&&e.scrollIntoView&&e.scrollIntoView({block:"center"})}}),[w,C]),ie((function(){A(-1)}),[C]),ie((function(){m&&m(x)}),[x]),ie((function(){y&&y(C)}),[C]),Kr(Ki,{open:x,buttonRef:r,placement:"bottom-left",onClose:k,fullWidth:s,title:_?p:void 0,disabledFullScreen:h,children:Kr("div",{className:ci()({"vm-autocomplete":!0,"vm-autocomplete_mobile":_&&!h}),ref:g,children:[O&&Kr("div",{className:"vm-autocomplete__no-options",children:d}),C.map((function(e,t){return Kr("div",{className:ci()({"vm-list-item":!0,"vm-list-item_mobile":_,"vm-list-item_active":t===w,"vm-list-item_multiselect":f,"vm-list-item_multiselect_selected":null===f||void 0===f?void 0:f.includes(e)}),id:"$autocomplete$".concat(e),onClick:(n=e,function(){o||(v(n),f||k())}),children:[(null===f||void 0===f?void 0:f.includes(e))&&Kr(Xo,{}),Kr("span",{children:e})]},e);var n}))]})})},ga="No match! \nThis query hasn't selected any time series from database.\nEither the requested metrics are missing in the database,\nor there is a typo in series selector.",ba="The shown results are marked as PARTIAL.\nThe result is marked as partial if one or more vmstorage nodes failed to respond to the query.",wa=function(e){var t=e.value,n=e.onChange,r=e.onEnter,o=e.onArrowUp,i=e.onArrowDown,a=e.autocomplete,c=e.error,l=e.stats,u=e.options,s=e.label,f=e.disabled,d=void 0!==f&&f,p=$t(re(!1),2),h=p[0],v=p[1],m=ce(null),y=[{show:"0"===(null===l||void 0===l?void 0:l.seriesFetched)&&!l.resultLength,text:ga},{show:null===l||void 0===l?void 0:l.isPartial,text:ba}].filter((function(e){return e.show})).map((function(e){return e.text})).join("");return Kr("div",{className:"vm-query-editor",ref:m,children:[Kr(ya,{value:t,label:s,type:"textarea",autofocus:!!t,error:c,warning:y,onKeyDown:function(e){var t=e.key,n=e.ctrlKey,a=e.metaKey,c=e.shiftKey,l=(e.target.value||"").split("\n").length>1,u=n||a,s="ArrowDown"===t,f="Enter"===t;"ArrowUp"===t&&u&&(e.preventDefault(),o()),s&&u&&(e.preventDefault(),i()),f&&h&&e.preventDefault(),!f||c||l&&!u||h||(e.preventDefault(),r())},onChange:n,disabled:d,inputmode:"search"}),a&&Kr(_a,{disabledFullScreen:!0,value:t,options:u,anchor:m,onSelect:function(e){n(e)},onFoundOptions:function(e){v(!!e.length)}})]})},Aa=function(e){var t=e.query,n=e.onChange,r=e.onRun,o=Oi().isMobile;return Kr("div",{className:ci()({"vm-explore-logs-header":!0,"vm-block":!0,"vm-block_mobile":o}),children:[Kr("div",{className:"vm-explore-logs-header__input",children:Kr(wa,{value:t,autocomplete:!1,options:[],onArrowUp:function(){return null},onArrowDown:function(){return null},onEnter:r,onChange:n,label:"Log query"})}),Kr("div",{className:"vm-explore-logs-header-bottom",children:[Kr("div",{className:"vm-explore-logs-header-bottom-helpful",children:[Kr("a",{className:"vm-link vm-link_with-icon",target:"_blank",href:"https://docs.victoriametrics.com/VictoriaLogs/LogsQL.html",rel:"help noreferrer",children:[Kr(zo,{}),"Query language docs"]}),Kr("a",{className:"vm-link vm-link_with-icon",target:"_blank",href:"https://docs.victoriametrics.com/VictoriaLogs/",rel:"help noreferrer",children:[Kr(ni,{}),"Documentation"]})]}),Kr("div",{className:"vm-explore-logs-header-bottom__execute",children:Kr(Vi,{startIcon:Kr(qo,{}),onClick:r,fullWidth:!0,children:"Execute Query"})})]})]})};var Sa,xa=function(e){var t=ce();return ie((function(){t.current=e}),[e]),t.current},Ea=function(){var e=Qr().serverUrl,t=ea().setSearchParamsFromKeys,n=$t(Xi("","query"),2),r=n[0],o=n[1],i=xa(r),a=function(e,t){var n=$t(re([]),2),r=n[0],o=n[1],i=$t(re(!1),2),a=i[0],c=i[1],l=$t(re(),2),s=l[0],f=l[1],d=ue((function(){return function(e){return"".concat(e,"/select/logsql/query")}(e)}),[e]),p=ue((function(){return{method:"POST",headers:{Accept:"application/stream+json; charset=utf-8","Content-Type":"application/x-www-form-urlencoded"},body:"query=".concat(encodeURIComponent(t.trim()))}}),[t]);return{logs:r,isLoading:a,error:s,fetchLogs:se(zi(Hi().mark((function e(){var t,n,r,i,a,l,s,h,v,m;return Hi().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c(!0),f(void 0),e.prev=2,e.next=5,fetch(d,p);case 5:if((t=e.sent).ok&&t.body){e.next=14;break}return e.next=9,t.text();case 9:return n=e.sent,f(n),o([]),c(!1),e.abrupt("return");case 14:r=t.body.getReader(),i=new TextDecoder("utf-8"),a=[];case 17:if(!r){e.next=33;break}return e.next=20,r.read();case 20:if(l=e.sent,s=l.done,h=l.value,!s){e.next=25;break}return e.abrupt("break",33);case 25:if(v=i.decode(h,{stream:!0}).split("\n"),a.push.apply(a,Ft(v)),a.length>ha&&a.splice(0,a.length-ha),!(a.length>=ha)){e.next=31;break}return r.cancel(),e.abrupt("break",33);case 31:e.next=17;break;case 33:m=a.map((function(e){try{return JSON.parse(e)}catch(u){return""}})).filter((function(e){return e})),o(m),e.next=42;break;case 37:e.prev=37,e.t0=e.catch(2),console.error(e.t0),o([]),e.t0 instanceof Error&&f("".concat(e.t0.name,": ").concat(e.t0.message));case 42:c(!1);case 43:case"end":return e.stop()}}),e,null,[[2,37]])}))),[d,p])}}(e,r),c=a.logs,l=a.isLoading,s=a.error,f=a.fetchLogs,d=function(){f(),t(i&&r!==i?{query:r,page:1}:{query:r})};return ie((function(){r&&d()}),[]),Kr("div",{className:"vm-explore-logs",children:[Kr(Aa,{query:r,onChange:o,onRun:d}),l&&Kr(va,{}),s&&Kr(Pi,{variant:"error",children:s}),Kr(pa,{data:c})]})},ka={home:"/",metrics:"/metrics",dashboards:"/dashboards",cardinality:"/cardinality",topQueries:"/top-queries",trace:"/trace",withTemplate:"/expand-with-exprs",relabel:"/relabeling",logs:"/logs",activeQueries:"/active-queries",icons:"/icons"},Ca={header:{tenant:!0,stepControl:!1,timeSelector:!1,executionControls:!1}},Oa=(Er(Sa={},ka.home,Cr({title:"Query"},Ca)),Er(Sa,ka.metrics,{title:"Explore Prometheus metrics",header:{tenant:!0,stepControl:!0,timeSelector:!0}}),Er(Sa,ka.cardinality,{title:"Explore cardinality",header:{tenant:!0,cardinalityDatePicker:!0}}),Er(Sa,ka.topQueries,{title:"Top queries",header:{tenant:!0}}),Er(Sa,ka.trace,{title:"Trace analyzer",header:{}}),Er(Sa,ka.dashboards,Cr({title:"Dashboards"},Ca)),Er(Sa,ka.withTemplate,{title:"WITH templates",header:{}}),Er(Sa,ka.relabel,{title:"Metric relabel debug",header:{}}),Er(Sa,ka.logs,{title:"Logs Explorer",header:{}}),Er(Sa,ka.activeQueries,{title:"Active Queries",header:{}}),Er(Sa,ka.icons,{title:"Icons",header:{}}),Sa),Na=ka,Pa=function(e){var t=e.activeMenu,n=e.label,r=e.value,o=e.color;return Kr(wr,{className:ci()({"vm-header-nav-item":!0,"vm-header-nav-item_active":t===r}),style:{color:o},to:r,children:n})},Ma=function(e){var t=e.activeMenu,n=e.label,r=e.color,o=e.background,i=e.submenu,a=e.direction,c=zn().pathname,l=$t(re(null),2),u=l[0],s=l[1],f=ce(null),d=Gi(!1),p=d.value,h=d.setFalse,v=d.setTrue,m=function(){u&&clearTimeout(u);var e=setTimeout(h,300);s(e)};return ie((function(){h()}),[c]),"column"===a?Kr(g,{children:i.map((function(e){return Kr(Pa,{activeMenu:t,value:e.value||"",label:e.label||""},e.value)}))}):Kr("div",{className:ci()({"vm-header-nav-item":!0,"vm-header-nav-item_sub":!0,"vm-header-nav-item_open":p,"vm-header-nav-item_active":i.find((function(e){return e.value===t}))}),style:{color:r},onMouseEnter:function(){v(),u&&clearTimeout(u)},onMouseLeave:m,ref:f,children:[n,Kr(Go,{}),Kr(Ki,{open:p,placement:"bottom-left",offset:{top:12,left:0},onClose:h,buttonRef:f,children:Kr("div",{className:"vm-header-nav-item-submenu",style:{background:o},onMouseLeave:m,onMouseEnter:function(){u&&clearTimeout(u)},children:i.map((function(e){return Kr(Pa,{activeMenu:t,value:e.value||"",label:e.label||"",color:r},e.value)}))})})]})},Ta=[{label:Oa[Na.logs].title,value:Na.home}],ja=(Oa[Na.home].title,Oa[Na.metrics].title,Oa[Na.cardinality].title,Oa[Na.topQueries].title,Oa[Na.activeQueries].title,Oa[Na.trace].title,Oa[Na.withTemplate].title,Oa[Na.relabel].title,function(e){var t=e.color,n=e.background,r=e.direction,o=Nr(),i=fe(Li).state.dashboardsSettings,a=zn().pathname,c=$t(re(a),2),l=c[0],u=c[1],s=ue((function(){return Ta}),[o,i]);return ie((function(){u(a)}),[a]),Kr("nav",{className:ci()(Er({"vm-header-nav":!0},"vm-header-nav_".concat(r),r)),children:s.map((function(e){return e.submenu?Kr(Ma,{activeMenu:l,label:e.label||"",submenu:e.submenu,color:t,background:n,direction:r},e.label):Kr(Pa,{activeMenu:l,value:e.value||"",label:e.label||"",color:t},e.value)}))})}),La=function(e){var t=e.title,n=e.children,r=e.onClose,o=e.className,i=e.isOpen,a=void 0===i||i,c=Oi().isMobile,l=Vn(),u=zn(),s=se((function(e){a&&"Escape"===e.key&&r()}),[a]),f=function(e){e.stopPropagation()},d=se((function(){a&&(l(u,{replace:!0}),r())}),[a,u,r]);return ie((function(){if(a)return document.body.style.overflow="hidden",function(){document.body.style.overflow="auto"}}),[a]),pi("popstate",d),pi("keyup",s),St.createPortal(Kr("div",{className:ci()(Er({"vm-modal":!0,"vm-modal_mobile":c},"".concat(o),o)),onMouseDown:r,children:Kr("div",{className:"vm-modal-content",children:[Kr("div",{className:"vm-modal-content-header",onMouseDown:f,children:[t&&Kr("div",{className:"vm-modal-content-header__title",children:t}),Kr("div",{className:"vm-modal-header__close",children:Kr(Vi,{variant:"text",size:"small",onClick:r,ariaLabel:"close",children:Kr(Ho,{})})})]}),Kr("div",{className:"vm-modal-content-body",onMouseDown:f,children:n})]})}),document.body)},Da=Kr("code",{children:Ci()?"Cmd":"Ctrl"}),$a=[{title:"Zoom in",description:Kr(g,{children:["To zoom in, hold down the ",Da," + ",Kr("code",{children:"scroll up"}),", or press the ",Kr("code",{children:"+"}),". Also, you can zoom in on a range on the graph by holding down your mouse button and selecting the range."]})},{title:"Zoom out",description:Kr(g,{children:["To zoom out, hold down the ",Da," + ",Kr("code",{children:"scroll down"}),", or press the ",Kr("code",{children:"-"}),"."]})},{title:"Move horizontal axis",description:Kr(g,{children:["To move the graph, hold down the ",Da," + ",Kr("code",{children:"drag"})," the graph to the right or left."]})},{title:"Fixing a tooltip",description:Kr(g,{children:["To fix the tooltip, ",Kr("code",{children:"click"})," mouse when it's open. Then, you can drag the fixed tooltip by ",Kr("code",{children:"clicking"})," and ",Kr("code",{children:"dragging"})," on the ",Kr(ti,{})," icon."]})},{title:"Set a custom range for the vertical axis",description:Kr(g,{children:["To set a custom range for the vertical axis, click on the ",Kr(Uo,{})," icon located in the upper right corner of the graph, activate the toggle, and set the values."]})}],Ia=[{title:"Show/hide a legend item",description:Kr(g,{children:[Kr("code",{children:"click"})," on a legend item to isolate it on the graph.",Da," + ",Kr("code",{children:"click"})," on a legend item to remove it from the graph. To revert to the previous state, click again."]})},{title:"Copy label key-value pairs",description:Kr(g,{children:[Kr("code",{children:"click"})," on a label key-value pair to save it to the clipboard."]})},{title:"Collapse/Expand the legend group",description:Kr(g,{children:[Kr("code",{children:"click"})," on the group name (e.g. ",Kr("b",{children:'Query 1: {__name__!=""}'}),") to collapse or expand the legend."]})}],Ra=($a.concat(Ia),Ci(),Ci(),function(e){var t=e.open;return Kr("button",{className:ci()({"vm-menu-burger":!0,"vm-menu-burger_opened":t}),"aria-label":"menu",children:Kr("span",{})})}),Fa=function(e){var t=e.background,n=e.color,r=zn().pathname,o=Oi().isMobile,i=ce(null),a=Gi(!1),c=a.value,l=a.toggle,u=a.setFalse;return ie(u,[r]),qi(i,u),Kr("div",{className:"vm-header-sidebar",ref:i,children:[Kr("div",{className:ci()({"vm-header-sidebar-button":!0,"vm-header-sidebar-button_open":c}),onClick:l,children:Kr(Ra,{open:c})}),Kr("div",{className:ci()({"vm-header-sidebar-menu":!0,"vm-header-sidebar-menu_open":c}),children:[Kr("div",{children:Kr(ja,{color:n,background:t,direction:"column"})}),Kr("div",{className:"vm-header-sidebar-menu-settings",children:!o&&!1})]})]})},Ua=["controlsComponent","isMobile"],Ha=function(e){var t=e.controlsComponent,n=e.isMobile,r=li(e,Ua),o=Nr(),i=zn().pathname,a=function(){var e=Or().useTenantID,t=Nr(),n=Qr().serverUrl,r=$t(re(!1),2),o=r[0],i=r[1],a=$t(re(),2),c=a[0],l=a[1],u=$t(re([]),2),s=u[0],f=u[1],d=ue((function(){return"".concat(n.replace(/^(.+)(\/select.+)/,"$1"),"/admin/tenants")}),[n]),p=ue((function(){return!!Mr(n)}),[n]),h=t?!e:!p;return ie((function(){if(!h){var e=function(){var e=zi(Hi().mark((function e(){var t,n,r;return Hi().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i(!0),e.prev=1,e.next=4,fetch(d);case 4:return t=e.sent,e.next=7,t.json();case 7:n=e.sent,r=n.data||[],f(r.sort((function(e,t){return e.localeCompare(t)}))),t.ok?l(void 0):l("".concat(n.errorType,"\r\n").concat(null===n||void 0===n?void 0:n.error)),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(1),e.t0 instanceof Error&&l("".concat(e.t0.name,": ").concat(e.t0.message));case 16:i(!1);case 17:case"end":return e.stop()}}),e,null,[[1,13]])})));return function(){return e.apply(this,arguments)}}();e().catch(console.error)}}),[d]),{accountIds:s,isLoading:o,error:c}}(),c=a.accountIds,l=Gi(!1),u=l.value,s=l.toggle,f=l.setFalse,d=ue((function(){return(Oa[i]||{}).header||{}}),[i]),p=Kr(t,Cr(Cr({},r),{},{isMobile:n,accountIds:c,headerSetup:d}));return n?Kr(g,{children:[Kr("div",{children:Kr(Vi,{className:ci()({"vm-header-button":!o}),startIcon:Kr(oi,{}),onClick:s,ariaLabel:"controls"})}),Kr(La,{title:"Controls",onClose:f,isOpen:u,className:ci()({"vm-header-controls-modal":!0,"vm-header-controls-modal_open":u}),children:p})]}):p},Ba=function(e){var t=e.controlsComponent,n="true",r=Oi().isMobile,o=ue((function(){return window.innerWidth<1e3}),[hi()]),i=Qr().isDarkTheme,a=Nr(),c=ue((function(){return zr(i?"color-background-block":"color-primary")}),[i]),l=ue((function(){var e=Or().headerStyles,t=void 0===e?{}:e,n=t.background,r=void 0===n?a?"#FFF":c:n,o=t.color;return{background:r,color:void 0===o?a?c:"#FFF":o}}),[c]),u=l.background,s=l.color,f=Vn(),d=function(){f({pathname:Na.home}),window.location.reload()};return Kr("header",{className:ci()({"vm-header":!0,"vm-header_app":a,"vm-header_dark":i,"vm-header_sidebar":o,"vm-header_mobile":r}),style:{background:u,color:s},children:[o?Kr(Fa,{background:u,color:s}):Kr(g,{children:[!a&&Kr("div",{className:ci()({"vm-header-logo":!0,"vm-header-logo_logs":n}),onClick:d,style:{color:s},children:Kr(n?Ro:Io,{})}),Kr(ja,{color:s,background:u})]}),o&&Kr("div",{className:ci()({"vm-header-logo":!0,"vm-header-logo_mobile":!0,"vm-header-logo_logs":n}),onClick:d,style:{color:s},children:Kr(n?Ro:Io,{})}),Kr(Ha,{controlsComponent:t,displaySidebar:o,isMobile:r})]})},za=function(){var e=Oi().isMobile,t="2019-".concat(Et()().format("YYYY"));return Kr("footer",{className:"vm-footer",children:[Kr("a",{className:"vm-link vm-footer__website",target:"_blank",href:"https://victoriametrics.com/",rel:"me noreferrer",children:[Kr(Fo,{}),"victoriametrics.com"]}),Kr("a",{className:"vm-link vm-footer__link",target:"_blank",href:"https://docs.victoriametrics.com/MetricsQL.html",rel:"help noreferrer",children:[Kr(Qo,{}),"MetricsQL"]}),Kr("a",{className:"vm-link vm-footer__link",target:"_blank",href:"https://docs.victoriametrics.com/#vmui",rel:"help noreferrer",children:[Kr(ni,{}),e?"Docs":"Documentation"]}),Kr("a",{className:"vm-link vm-footer__link",target:"_blank",href:"https://github.com/VictoriaMetrics/VictoriaMetrics/issues/new/choose",rel:"noreferrer",children:[Kr(ri,{}),e?"New issue":"Create an issue"]}),Kr("div",{className:"vm-footer__copyright",children:["\xa9 ",t," VictoriaMetrics"]})]})},Wa=function(e){var t=e.serverUrl,n=e.stateServerUrl,r=e.onChange,o=e.onEnter,i=$t(re(""),2),a=i[0],c=i[1];return ie((function(){n||c(Hr.emptyServer),function(e){var t;try{t=new URL(e)}catch(_){return!1}return"http:"===t.protocol||"https:"===t.protocol}(n)||c(Hr.validServer)}),[n]),Kr(ya,{autofocus:!0,label:"Server URL",value:t,error:a,onChange:function(e){r(e||""),c("")},onEnter:o,inputmode:"url"})},Va=[{label:"Graph",type:"chart"},{label:"JSON",type:"code"},{label:"Table",type:"table"}],Ya=function(e){var t=e.limits,n=e.onChange,r=e.onEnter,o=Oi().isMobile,i=$t(re({table:"",chart:"",code:""}),2),a=i[0],c=i[1],l=function(e){return function(r){!function(e,r){var o=e||"";c((function(e){return Cr(Cr({},e),{},Er({},r,+o<0?Hr.positiveNumber:""))})),n(Cr(Cr({},t),{},Er({},r,o||1/0)))}(r,e)}};return Kr("div",{className:"vm-limits-configurator",children:[Kr("div",{className:"vm-server-configurator__title",children:["Series limits by tabs",Kr(Zi,{title:"Set to 0 to disable the limit",children:Kr(Vi,{variant:"text",color:"primary",size:"small",startIcon:Kr(zo,{})})}),Kr("div",{className:"vm-limits-configurator-title__reset",children:Kr(Vi,{variant:"text",color:"primary",size:"small",startIcon:Kr(Bo,{}),onClick:function(){n($r)},children:"Reset limits"})})]}),Kr("div",{className:ci()({"vm-limits-configurator__inputs":!0,"vm-limits-configurator__inputs_mobile":o}),children:Va.map((function(e){return Kr("div",{children:Kr(ya,{label:e.label,value:t[e.type],error:a[e.type],onChange:l(e.type),onEnter:r,type:"number"})},e.type)}))})]})},Za=function(e){var t=e.timezoneState,n=e.onChange,r=Oi().isMobile,o=go(),i=$t(re(""),2),a=i[0],c=i[1],l=ce(null),s=Gi(!1),f=s.value,d=s.toggle,p=s.setFalse,h=ue((function(){if(!a)return o;try{return go(a)}catch(u){return{}}}),[a,o]),v=ue((function(){return Object.keys(h)}),[h]),m=ue((function(){return{region:Et().tz.guess(),utc:_o(Et().tz.guess())}}),[]),y=ue((function(){return{region:t,utc:_o(t)}}),[t]),_=function(e){return function(){!function(e){n(e.region),c(""),p()}(e)}};return Kr("div",{className:"vm-timezones",children:[Kr("div",{className:"vm-server-configurator__title",children:"Time zone"}),Kr("div",{className:"vm-timezones-item vm-timezones-item_selected",onClick:d,ref:l,children:[Kr("div",{className:"vm-timezones-item__title",children:y.region}),Kr("div",{className:"vm-timezones-item__utc",children:y.utc}),Kr("div",{className:ci()({"vm-timezones-item__icon":!0,"vm-timezones-item__icon_open":f}),children:Kr(Go,{})})]}),Kr(Ki,{open:f,buttonRef:l,placement:"bottom-left",onClose:p,fullWidth:!0,title:r?"Time zone":void 0,children:Kr("div",{className:ci()({"vm-timezones-list":!0,"vm-timezones-list_mobile":r}),children:[Kr("div",{className:"vm-timezones-list-header",children:[Kr("div",{className:"vm-timezones-list-header__search",children:Kr(ya,{autofocus:!0,label:"Search",value:a,onChange:function(e){c(e)}})}),Kr("div",{className:"vm-timezones-item vm-timezones-list-group-options__item",onClick:_(m),children:[Kr("div",{className:"vm-timezones-item__title",children:["Browser Time (",m.region,")"]}),Kr("div",{className:"vm-timezones-item__utc",children:m.utc})]})]}),v.map((function(e){return Kr("div",{className:"vm-timezones-list-group",children:Kr(ua,{defaultExpanded:!0,title:Kr("div",{className:"vm-timezones-list-group__title",children:e}),children:Kr("div",{className:"vm-timezones-list-group-options",children:h[e]&&h[e].map((function(e){return Kr("div",{className:"vm-timezones-item vm-timezones-list-group-options__item",onClick:_(e),children:[Kr("div",{className:"vm-timezones-item__title",children:e.region}),Kr("div",{className:"vm-timezones-item__utc",children:e.utc})]},e.search)}))})})},e)}))]})})]})},Ga=function(e){var t=e.options,n=e.value,r=e.label,o=e.onChange,i=ce(null),a=$t(re({width:"0px",left:"0px",borderRadius:"0px"}),2),c=a[0],l=a[1],u=function(e){return function(){o(e)}};return ie((function(){if(i.current){var e=t.findIndex((function(e){return e.value===n})),r=i.current.getBoundingClientRect().width,o=e*r,a="0";0===e&&(a="16px 0 0 16px"),e===t.length-1&&(a="10px",o-=1,a="0 16px 16px 0"),0!==e&&e!==t.length-1&&(r+=1,o-=1),l({width:"".concat(r,"px"),left:"".concat(o,"px"),borderRadius:a})}else l({width:"0px",left:"0px",borderRadius:"0px"})}),[i,n,t]),Kr("div",{className:"vm-toggles",children:[r&&Kr("label",{className:"vm-toggles__label",children:r}),Kr("div",{className:"vm-toggles-group",style:{gridTemplateColumns:"repeat(".concat(t.length,", 1fr)")},children:[c.borderRadius&&Kr("div",{className:"vm-toggles-group__highlight",style:c}),t.map((function(e,t){return Kr("div",{className:ci()({"vm-toggles-group-item":!0,"vm-toggles-group-item_first":0===t,"vm-toggles-group-item_active":e.value===n,"vm-toggles-group-item_icon":e.icon&&e.title}),onClick:u(e.value),ref:e.value===n?i:null,children:[e.icon,e.title]},e.value)}))]})]})},qa=Object.values(Br).map((function(e){return{title:e,value:e}})),Ka=function(e){var t=e.theme,n=e.onChange,r=Oi().isMobile;return Kr("div",{className:ci()({"vm-theme-control":!0,"vm-theme-control_mobile":r}),children:[Kr("div",{className:"vm-server-configurator__title",children:"Theme preferences"}),Kr("div",{className:"vm-theme-control__toggle",children:Kr(Ga,{options:qa,value:t,onChange:function(e){n(e)}})},"".concat(r))]})},Ja="Settings",Qa=function(){var e=Oi().isMobile,t=Nr(),n=Qr(),r=n.serverUrl,o=n.theme,i=Mo().timezone,a=fe(Ai).state.seriesLimits,c=Xr(),l=fe(Po).dispatch,u=fe(Ai).dispatch,s=$t(re(r),2),f=s[0],d=s[1],p=$t(re(a),2),h=p[0],v=p[1],m=$t(re(i),2),y=m[0],_=m[1],b=Gi(!1),w=b.value,A=b.setTrue,S=b.setFalse,x=function(){S(),d(r),v(a),_(i)},E=function(){var e=Mr(f);""!==e&&c({type:"SET_TENANT_ID",payload:e}),c({type:"SET_SERVER",payload:f}),l({type:"SET_TIMEZONE",payload:y}),u({type:"SET_SERIES_LIMITS",payload:h}),S()};ie((function(){r!==f&&d(r)}),[r]);var k=[{show:!t&&!1,component:Kr(Wa,{stateServerUrl:r,serverUrl:f,onChange:d,onEnter:E})},{show:!1,component:Kr(Ya,{limits:h,onChange:v,onEnter:E})},{show:!0,component:Kr(Za,{timezoneState:y,onChange:_})},{show:!t,component:Kr(Ka,{theme:o,onChange:function(e){c({type:"SET_THEME",payload:e})}})}].filter((function(e){return e.show}));return Kr(g,{children:[e?Kr("div",{className:"vm-mobile-option",onClick:A,children:[Kr("span",{className:"vm-mobile-option__icon",children:Kr(Uo,{})}),Kr("div",{className:"vm-mobile-option-text",children:Kr("span",{className:"vm-mobile-option-text__label",children:Ja})}),Kr("span",{className:"vm-mobile-option__arrow",children:Kr(Zo,{})})]}):Kr(Zi,{title:Ja,children:Kr(Vi,{className:ci()({"vm-header-button":!t}),variant:"contained",color:"primary",startIcon:Kr(Uo,{}),onClick:A,ariaLabel:"settings"})}),w&&Kr(La,{title:Ja,onClose:x,children:Kr("div",{className:ci()({"vm-server-configurator":!0,"vm-server-configurator_mobile":e}),children:[k.map((function(e,t){return Kr("div",{className:"vm-server-configurator__input",children:e.component},t)})),Kr("div",{className:"vm-server-configurator-footer",children:[Kr(Vi,{color:"error",variant:"outlined",onClick:x,children:"Cancel"}),Kr(Vi,{color:"primary",variant:"contained",onClick:E,children:"Apply"})]})]})})]})},Xa=function(e){var t=e.isMobile;return Kr("div",{className:ci()({"vm-header-controls":!0,"vm-header-controls_mobile":t}),children:Kr(Qa,{})})},ec=function(){var e=Nr(),t=Oi().isMobile;return ie((function(){var e,t="vmui for VictoriaLogs",n=null===(e=Oa[Na.logs])||void 0===e?void 0:e.title;document.title=n?"".concat(n," - ").concat(t):t}),[zn().pathname]),Kr("section",{className:"vm-container",children:[Kr(Ba,{controlsComponent:Xa}),Kr("div",{className:ci()({"vm-container-body":!0,"vm-container-body_mobile":t,"vm-container-body_app":e}),children:Kr(ar,{})}),!e&&Kr(za,{})]})},tc=function(){var e=$t(re(!1),2),t=e[0],n=e[1];return Kr(g,{children:Kr(yr,{children:Kr(Di,{children:Kr(g,{children:[Kr(Ui,{onLoaded:n}),t&&Kr(ur,{children:Kr(cr,{path:"/",element:Kr(ec,{}),children:Kr(cr,{path:"/",element:Kr(Ea,{})})})})]})})})})},nc=function(e){e&&n.e(522).then(n.bind(n,522)).then((function(t){var n=t.getCLS,r=t.getFID,o=t.getFCP,i=t.getLCP,a=t.getTTFB;n(e),r(e),o(e),i(e),a(e)}))},rc=document.getElementById("root");rc&&Ke(Kr(tc,{}),rc),nc()}()}(); |