VictoriaMetrics/app/vlselect/vmui/static/js/main.1919fefe.js
Yury Molodov 0116a333fb
vmui: reduced the number of server requests (#5253)
* vmui: reduced the number of server requests

* run `make vmui-update vmui-logs-update`

---------

Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-11-14 01:50:00 +01:00

2 lines
No EOL
314 KiB
JavaScript

/*! For license information please see main.1919fefe.js.LICENSE.txt */
!function(){var e={680:function(e,t,n){"use strict";var r=n(476),i=n(962),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&o(e,".prototype.")>-1?i(n):n}},962:function(e,t,n){"use strict";var r=n(199),i=n(476),o=n(267),a=i("%TypeError%"),u=i("%Function.prototype.apply%"),l=i("%Function.prototype.call%"),c=i("%Reflect.apply%",!0)||r.call(l,u),s=i("%Object.defineProperty%",!0),f=i("%Math.max%");if(s)try{s({},"a",{value:1})}catch(h){s=null}e.exports=function(e){if("function"!==typeof e)throw new a("a function is required");var t=c(r,l,arguments);return o(t,1+f(0,e.length-(arguments.length-1)),!0)};var p=function(){return c(r,u,arguments)};s?s(e.exports,"apply",{value:p}):e.exports.apply=p},123:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var u in n)r.call(n,u)&&n[u]&&e.push(u)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},658:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",o="minute",a="hour",u="day",l="week",c="month",s="quarter",f="year",p="date",h="Invalid Date",d=/^(\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])+"]"}},g=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+g(r,2,"0")+":"+g(i,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()),i=t.clone().add(r,c),o=n-i<0,a=t.clone().add(r+(o?-1:1),c);return+(-(r+(n-i)/(o?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:f,w:l,d:u,D:p,h:a,m:o,s:i,ms:r,Q:s}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},_="en",b={};b[_]=m;var D="$isDayjsObject",w=function(e){return e instanceof E||!(!e||!e[D])},A=function e(t,n,r){var i;if(!t)return _;if("string"==typeof t){var o=t.toLowerCase();b[o]&&(i=o),n&&(b[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var u=t.name;b[u]=t,i=u}return!r&&i&&(_=i),i||!r&&_},k=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=y;x.l=A,x.i=w,x.w=function(e,t){return k(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),this.$x=this.$x||e.x||{},this[D]=!0}var g=m.prototype;return g.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(d);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},g.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()},g.$utils=function(){return x},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(e,t){var n=k(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return k(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<k(e)},g.$g=function(e,t,n){return x.u(e)?this[t]:this.set(n,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var n=this,r=!!x.u(t)||t,s=x.p(e),h=function(e,t){var i=x.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(u)},d=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,g=this.$D,y="set"+(this.$u?"UTC":"");switch(s){case f:return r?h(1,0):h(31,11);case c:return r?h(1,m):h(0,m+1);case l:var _=this.$locale().weekStart||0,b=(v<_?v+7:v)-_;return h(r?g-b:g+(6-b),m);case u:case p:return d(y+"Hours",0);case a:return d(y+"Minutes",1);case o:return d(y+"Seconds",2);case i:return d(y+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var n,l=x.p(e),s="set"+(this.$u?"UTC":""),h=(n={},n[u]=s+"Date",n[p]=s+"Date",n[c]=s+"Month",n[f]=s+"FullYear",n[a]=s+"Hours",n[o]=s+"Minutes",n[i]=s+"Seconds",n[r]=s+"Milliseconds",n)[l],d=l===u?this.$D+(t-this.$W):t;if(l===c||l===f){var v=this.clone().set(p,1);v.$d[h](d),v.init(),this.$d=v.set(p,Math.min(this.$D,v.daysInMonth())).$d}else h&&this.$d[h](d);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[x.p(e)]()},g.add=function(r,s){var p,h=this;r=Number(r);var d=x.p(s),v=function(e){var t=k(h);return x.w(t.date(t.date()+Math.round(e*r)),h)};if(d===c)return this.set(c,this.$M+r);if(d===f)return this.set(f,this.$y+r);if(d===u)return v(1);if(d===l)return v(7);var m=(p={},p[o]=t,p[a]=n,p[i]=e,p)[d]||1,g=this.$d.getTime()+r*m;return x.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||h;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=x.z(this),o=this.$H,a=this.$m,u=this.$M,l=n.weekdays,c=n.months,s=n.meridiem,f=function(e,n,i,o){return e&&(e[n]||e(t,r))||i[n].slice(0,o)},p=function(e){return x.s(o%12||12,e,"0")},d=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 u+1;case"MM":return x.s(u+1,2,"0");case"MMM":return f(n.monthsShort,u,c,3);case"MMMM":return f(c,u);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(o);case"HH":return x.s(o,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return d(o,a,!0);case"A":return d(o,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 i}return null}(e)||i.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(r,p,h){var d,v=this,m=x.p(p),g=k(r),y=(g.utcOffset()-this.utcOffset())*t,_=this-g,b=function(){return x.m(v,g)};switch(m){case f:d=b()/12;break;case c:d=b();break;case s:d=b()/3;break;case l:d=(_-y)/6048e5;break;case u:d=(_-y)/864e5;break;case a:d=_/n;break;case o:d=_/t;break;case i:d=_/e;break;default:d=_}return h?d:x.a(d)},g.daysInMonth=function(){return this.endOf(c).$D},g.$locale=function(){return b[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=A(e,t,!0);return r&&(n.$L=r),n},g.clone=function(){return x.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},m}(),C=E.prototype;return k.prototype=C,[["$ms",r],["$s",i],["$m",o],["$H",a],["$W",u],["$M",c],["$y",f],["$D",p]].forEach((function(e){C[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),k.extend=function(e,t){return e.$i||(e(t,E,k),e.$i=!0),k},k.locale=A,k.isDayjs=w,k.unix=function(e){return k(1e3*e)},k.en=b[_],k.Ls=b,k.p={},k}()},446:function(e){e.exports=function(){"use strict";var e,t,n=1e3,r=6e4,i=36e5,o=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,u=31536e6,l=2628e6,c=/^(-|\+)?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:u,months:l,days:o,hours:i,minutes:r,seconds:n,milliseconds:1,weeks:6048e5},f=function(e){return e instanceof y},p=function(e,t,n){return new y(e,n,t.$l)},h=function(e){return t.p(e)+"s"},d=function(e){return e<0},v=function(e){return d(e)?Math.ceil(e):Math.floor(e)},m=function(e){return Math.abs(e)},g=function(e,t){return e?d(e)?{negative:!0,format:""+m(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},y=function(){function d(e,t,n){var r=this;if(this.$d={},this.$l=n,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t)return p(e*s[h(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[h(t)]=e[t]})),this.calMilliseconds(),this;if("string"==typeof e){var i=e.match(c);if(i){var o=i.slice(2).map((function(e){return null!=e?Number(e):0}));return this.$d.years=o[0],this.$d.months=o[1],this.$d.weeks=o[2],this.$d.days=o[3],this.$d.hours=o[4],this.$d.minutes=o[5],this.$d.seconds=o[6],this.calMilliseconds(),this}}return this}var m=d.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/u),e%=u,this.$d.months=v(e/l),e%=l,this.$d.days=v(e/o),e%=o,this.$d.hours=v(e/i),e%=i,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=g(this.$d.years,"Y"),t=g(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=g(n,"D"),i=g(this.$d.hours,"H"),o=g(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var u=g(a,"S"),l=e.negative||t.negative||r.negative||i.negative||o.negative||u.negative,c=i.format||o.format||u.format?"T":"",s=(l?"-":"")+"P"+e.format+t.format+r.format+c+i.format+o.format+u.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[h(e)]},m.get=function(e){var t=this.$ms,n=h(e);return"milliseconds"===n?t%=1e3:t="weeks"===n?v(t/s[n]):this.$d[n],t||0},m.add=function(e,t,n){var r;return r=t?e*s[h(t)]:f(e)?e.$ms:p(e,this).$ms,p(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 p(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")},d}(),_=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,i){e=i,t=i().$utils(),i.duration=function(e,t){var n=i.locale();return p(e,{$l:n},t)},i.isDuration=f;var o=r.prototype.add,a=r.prototype.subtract;r.prototype.add=function(e,t){return f(e)?_(this,e,1):o.bind(this)(e,t)},r.prototype.subtract=function(e,t){return f(e)?_(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,i){var o,a=function(e,n,r){void 0===r&&(r={});var i=new Date(e),o=function(e,n){void 0===n&&(n={});var r=n.timeZoneName||"short",i=e+"|"+r,o=t[i];return o||(o=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[i]=o),o}(n,r);return o.formatToParts(i)},u=function(t,n){for(var r=a(t,n),o=[],u=0;u<r.length;u+=1){var l=r[u],c=l.type,s=l.value,f=e[c];f>=0&&(o[f]=parseInt(s,10))}var p=o[3],h=24===p?0:p,d=o[0]+"-"+o[1]+"-"+o[2]+" "+h+":"+o[4]+":"+o[5]+":000",v=+t;return(i.utc(d).valueOf()-(v-=v%1e3))/6e4},l=r.prototype;l.tz=function(e,t){void 0===e&&(e=o);var n=this.utcOffset(),r=this.toDate(),a=r.toLocaleString("en-US",{timeZone:e}),u=Math.round((r-new Date(a))/1e3/60),l=i(a,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(r.getTimezoneOffset()/15)-u,!0);if(t){var c=l.utcOffset();l=l.add(n-c,"minute")}return l.$x.$timezone=e,l},l.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),n=a(this.valueOf(),t,{timeZoneName:e}).find((function(e){return"timezonename"===e.type.toLowerCase()}));return n&&n.value};var c=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var n=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return c.call(n,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,n){var r=n&&t,a=n||t||o,l=u(+i(),a);if("string"!=typeof e)return i(e).tz(a);var c=function(e,t,n){var r=e-60*t*1e3,i=u(r,n);if(t===i)return[r,t];var o=u(r-=60*(i-t)*1e3,n);return i===o?[r,i]:[e-60*Math.min(i,o)*1e3,Math.max(i,o)]}(i.utc(e,r).valueOf(),l,a),s=c[0],f=c[1],p=i(s).utcOffset(f);return p.$x.$timezone=a,p},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){o=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,i,o){var a=i.prototype;o.utc=function(e){return new i({date:e,utc:!0,args:arguments})},a.utc=function(t){var n=o(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var u=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),u.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 c=a.utcOffset;a.utcOffset=function(r,i){var o=this.$utils().u;if(o(r))return this.$u?0:o(this.$offset)?c.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 i=(""+r[0]).match(n)||["-",0,0],o=i[0],a=60*+i[1]+ +i[2];return 0===a?0:"+"===o?a:-a}(r),null===r))return this;var a=Math.abs(r)<=16?60*r:r,u=this;if(i)return u.$offset=a,u.$u=0===r,u;if(0!==r){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(u=this.local().add(a+l,e)).$offset=a,u.$x.$localOffset=l}else u=this.utc();return u};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?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var p=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return p.call(this,e,t,n);var r=this.local(),i=o(e).local();return p.call(r,i,t,n)}}}()},150:function(e,t,n){"use strict";var r=n(926)(),i=n(476),o=r&&i("%Object.defineProperty%",!0);if(o)try{o({},"a",{value:1})}catch(c){o=!1}var a=i("%SyntaxError%"),u=i("%TypeError%"),l=n(103);e.exports=function(e,t,n){if(!e||"object"!==typeof e&&"function"!==typeof e)throw new u("`obj` must be an object or a function`");if("string"!==typeof t&&"symbol"!==typeof t)throw new u("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new u("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new u("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new u("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new u("`loose`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,s=arguments.length>6&&arguments[6],f=!!l&&l(e,t);if(o)o(e,t,{configurable:null===c&&f?f.configurable:!c,enumerable:null===r&&f?f.enumerable:!r,value:n,writable:null===i&&f?f.writable:!i});else{if(!s&&(r||i||c))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},781:function(e){"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n};e.exports=function(e){var i=this;if("function"!==typeof i||"[object Function]"!==t.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,a=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n}(arguments,1),u=n(0,i.length-a.length),l=[],c=0;c<u;c++)l[c]="$"+c;if(o=Function("binder","return function ("+function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n}(l,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var t=i.apply(this,r(a,arguments));return Object(t)===t?t:this}return i.apply(e,r(a,arguments))})),i.prototype){var s=function(){};s.prototype=i.prototype,o.prototype=new s,s.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,i=SyntaxError,o=Function,a=TypeError,u=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(t){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(M){l=null}var c=function(){throw new a},s=l?function(){try{return c}catch(e){try{return l(arguments,"callee").get}catch(t){return c}}}():c,f=n(520)(),p=n(593)(),h=Object.getPrototypeOf||(p?function(e){return e.__proto__}:null),d={},v="undefined"!==typeof Uint8Array&&h?h(Uint8Array):r,m={"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":f&&h?h([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%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%":o,"%GeneratorFunction%":d,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f&&h?h(h([][Symbol.iterator]())):r,"%JSON%":"object"===typeof JSON?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&f&&h?h((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&&h?h((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f&&h?h(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":i,"%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(h)try{null.error}catch(M){var g=h(h(M));m["%Error.prototype%"]=g}var y=function e(t){var n;if("%AsyncFunction%"===t)n=u("async function () {}");else if("%GeneratorFunction%"===t)n=u("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=u("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&h&&(n=h(i.prototype))}return m[t]=n,n},_={"%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),D=n(834),w=b.call(Function.call,Array.prototype.concat),A=b.call(Function.apply,Array.prototype.splice),k=b.call(Function.call,String.prototype.replace),x=b.call(Function.call,String.prototype.slice),E=b.call(Function.call,RegExp.prototype.exec),C=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,S=/\\(\\)?/g,F=function(e,t){var n,r=e;if(D(_,r)&&(r="%"+(n=_[r])[0]+"%"),D(m,r)){var o=m[r];if(o===d&&(o=y(r)),"undefined"===typeof o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("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===E(/^%?[^%]*%?$/,e))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=x(e,0,1),n=x(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return k(e,C,(function(e,t,n,i){r[r.length]=n?k(i,S,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=F("%"+r+"%",t),u=o.name,c=o.value,s=!1,f=o.alias;f&&(r=f[0],A(n,w([0,1],f)));for(var p=1,h=!0;p<n.length;p+=1){var d=n[p],v=x(d,0,1),g=x(d,-1);if(('"'===v||"'"===v||"`"===v||'"'===g||"'"===g||"`"===g)&&v!==g)throw new i("property names with quotes must have matching quotes");if("constructor"!==d&&h||(s=!0),D(m,u="%"+(r+="."+d)+"%"))c=m[u];else if(null!=c){if(!(d in c)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&p+1>=n.length){var y=l(c,d);c=(h=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:c[d]}else h=D(c,d),c=c[d];h&&!s&&(m[u]=c)}}return c}},103:function(e,t,n){"use strict";var r=n(476)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(i){r=null}e.exports=r},926:function(e,t,n){"use strict";var r=n(476)("%Object.defineProperty%",!0),i=function(){if(r)try{return r({},"a",{value:1}),!0}catch(e){return!1}return!1};i.hasArrayLengthDefineBug=function(){if(!i())return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},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,i=n(541);e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&i())))}},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 i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},834:function(e,t,n){"use strict";var r=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=n(199);e.exports=o.call(r,i)},7:function(e,t,n){var r="__lodash_hash_undefined__",i=1/0,o="[object Function]",a="[object GeneratorFunction]",u="[object Symbol]",l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/,s=/^\./,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p=/\\(\\)?/g,h=/^\[object .+?Constructor\]$/,d="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,v="object"==typeof self&&self&&self.Object===Object&&self,m=d||v||Function("return this")();var g=Array.prototype,y=Function.prototype,_=Object.prototype,b=m["__core-js_shared__"],D=function(){var e=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),w=y.toString,A=_.hasOwnProperty,k=_.toString,x=RegExp("^"+w.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),E=m.Symbol,C=g.splice,S=j(m,"Map"),F=j(Object,"create"),M=E?E.prototype:void 0,T=M?M.toString:void 0;function O(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 P(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 B(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 N(e,t){for(var n,r,i=e.length;i--;)if((n=e[i][0])===(r=t)||n!==n&&r!==r)return i;return-1}function L(e,t){var n;t=function(e,t){if(U(e))return!1;var n=typeof e;if("number"==n||"symbol"==n||"boolean"==n||null==e||W(e))return!0;return c.test(e)||!l.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:U(n=t)?n:I(n);for(var r=0,i=t.length;null!=e&&r<i;)e=e[z(t[r++])];return r&&r==i?e:void 0}function $(e){if(!V(e)||(t=e,D&&D in t))return!1;var t,n=function(e){var t=V(e)?k.call(e):"";return t==o||t==a}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}(e)?x:h;return n.test(function(e){if(null!=e){try{return w.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 j(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return $(n)?n:void 0}O.prototype.clear=function(){this.__data__=F?F(null):{}},O.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},O.prototype.get=function(e){var t=this.__data__;if(F){var n=t[e];return n===r?void 0:n}return A.call(t,e)?t[e]:void 0},O.prototype.has=function(e){var t=this.__data__;return F?void 0!==t[e]:A.call(t,e)},O.prototype.set=function(e,t){return this.__data__[e]=F&&void 0===t?r:t,this},P.prototype.clear=function(){this.__data__=[]},P.prototype.delete=function(e){var t=this.__data__,n=N(t,e);return!(n<0)&&(n==t.length-1?t.pop():C.call(t,n,1),!0)},P.prototype.get=function(e){var t=this.__data__,n=N(t,e);return n<0?void 0:t[n][1]},P.prototype.has=function(e){return N(this.__data__,e)>-1},P.prototype.set=function(e,t){var n=this.__data__,r=N(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},B.prototype.clear=function(){this.__data__={hash:new O,map:new(S||P),string:new O}},B.prototype.delete=function(e){return R(this,e).delete(e)},B.prototype.get=function(e){return R(this,e).get(e)},B.prototype.has=function(e){return R(this,e).has(e)},B.prototype.set=function(e,t){return R(this,e).set(e,t),this};var I=H((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(W(e))return T?T.call(e):"";var t=e+"";return"0"==t&&1/e==-i?"-0":t}(t);var n=[];return s.test(e)&&n.push(""),e.replace(f,(function(e,t,r,i){n.push(r?i.replace(p,"$1"):t||e)})),n}));function z(e){if("string"==typeof e||W(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}function H(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(H.Cache||B),n}H.Cache=B;var U=Array.isArray;function V(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function W(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&k.call(e)==u}e.exports=function(e,t,n){var r=null==e?void 0:L(e,t);return void 0===r?n:r}},154:function(e,t,n){var r="function"===typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"===typeof i.get?i.get:null,a=r&&Map.prototype.forEach,u="function"===typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&u?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=u&&l&&"function"===typeof l.get?l.get:null,s=u&&Set.prototype.forEach,f="function"===typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"===typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"===typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,v=Object.prototype.toString,m=Function.prototype.toString,g=String.prototype.match,y=String.prototype.slice,_=String.prototype.replace,b=String.prototype.toUpperCase,D=String.prototype.toLowerCase,w=RegExp.prototype.test,A=Array.prototype.concat,k=Array.prototype.join,x=Array.prototype.slice,E=Math.floor,C="function"===typeof BigInt?BigInt.prototype.valueOf:null,S=Object.getOwnPropertySymbols,F="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,M="function"===typeof Symbol&&"object"===typeof Symbol.iterator,T="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===M||"symbol")?Symbol.toStringTag:null,O=Object.prototype.propertyIsEnumerable,P=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function B(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||w.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var r=e<0?-E(-e):E(e);if(r!==e){var i=String(r),o=y.call(t,i.length+1);return _.call(i,n,"$&_")+"."+_.call(_.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _.call(t,n,"$&_")}var N=n(654),L=N.custom,$=H(L)?L:null;function R(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function j(e){return _.call(String(e),/"/g,"&quot;")}function I(e){return"[object Array]"===W(e)&&(!T||!("object"===typeof e&&T in e))}function z(e){return"[object RegExp]"===W(e)&&(!T||!("object"===typeof e&&T in e))}function H(e){if(M)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!F)return!1;try{return F.call(e),!0}catch(t){}return!1}e.exports=function e(t,r,i,u){var l=r||{};if(V(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(l,"maxStringLength")&&("number"===typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var v=!V(l,"customInspect")||l.customInspect;if("boolean"!==typeof v&&"symbol"!==v)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(l,"numericSeparator")&&"boolean"!==typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var b=l.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 Y(t,l);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var w=String(t);return b?B(t,w):w}if("bigint"===typeof t){var E=String(t)+"n";return b?B(t,E):E}var S="undefined"===typeof l.depth?5:l.depth;if("undefined"===typeof i&&(i=0),i>=S&&S>0&&"object"===typeof t)return I(t)?"[Array]":"[Object]";var L=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=k.call(Array(e.indent+1)," ")}return{base:n,prev:k.call(Array(t+1),n)}}(l,i);if("undefined"===typeof u)u=[];else if(Z(u,t)>=0)return"[Circular]";function U(t,n,r){if(n&&(u=x.call(u)).push(n),r){var o={depth:l.depth};return V(l,"quoteStyle")&&(o.quoteStyle=l.quoteStyle),e(t,o,i+1,u)}return e(t,l,i+1,u)}if("function"===typeof t&&!z(t)){var q=function(e){if(e.name)return e.name;var t=g.call(m.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),ee=X(t,U);return"[Function"+(q?": "+q:" (anonymous)")+"]"+(ee.length>0?" { "+k.call(ee,", ")+" }":"")}if(H(t)){var te=M?_.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):F.call(t);return"object"!==typeof t||M?te:G(te)}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 ne="<"+D.call(String(t.nodeName)),re=t.attributes||[],ie=0;ie<re.length;ie++)ne+=" "+re[ie].name+"="+R(j(re[ie].value),"double",l);return ne+=">",t.childNodes&&t.childNodes.length&&(ne+="..."),ne+="</"+D.call(String(t.nodeName))+">"}if(I(t)){if(0===t.length)return"[]";var oe=X(t,U);return L&&!function(e){for(var t=0;t<e.length;t++)if(Z(e[t],"\n")>=0)return!1;return!0}(oe)?"["+K(oe,L)+"]":"[ "+k.call(oe,", ")+" ]"}if(function(e){return"[object Error]"===W(e)&&(!T||!("object"===typeof e&&T in e))}(t)){var ae=X(t,U);return"cause"in Error.prototype||!("cause"in t)||O.call(t,"cause")?0===ae.length?"["+String(t)+"]":"{ ["+String(t)+"] "+k.call(ae,", ")+" }":"{ ["+String(t)+"] "+k.call(A.call("[cause]: "+U(t.cause),ae),", ")+" }"}if("object"===typeof t&&v){if($&&"function"===typeof t[$]&&N)return N(t,{depth:S-i});if("symbol"!==v&&"function"===typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!==typeof e)return!1;try{o.call(e);try{c.call(e)}catch(ne){return!0}return e instanceof Map}catch(t){}return!1}(t)){var ue=[];return a&&a.call(t,(function(e,n){ue.push(U(n,t,!0)+" => "+U(e,t))})),J("Map",o.call(t),ue,L)}if(function(e){if(!c||!e||"object"!==typeof e)return!1;try{c.call(e);try{o.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}(t)){var le=[];return s&&s.call(t,(function(e){le.push(U(e,t))})),J("Set",c.call(t),le,L)}if(function(e){if(!f||!e||"object"!==typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(ne){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return Q("WeakMap");if(function(e){if(!p||!e||"object"!==typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(ne){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return Q("WeakSet");if(function(e){if(!h||!e||"object"!==typeof e)return!1;try{return h.call(e),!0}catch(t){}return!1}(t))return Q("WeakRef");if(function(e){return"[object Number]"===W(e)&&(!T||!("object"===typeof e&&T in e))}(t))return G(U(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 G(U(C.call(t)));if(function(e){return"[object Boolean]"===W(e)&&(!T||!("object"===typeof e&&T in e))}(t))return G(d.call(t));if(function(e){return"[object String]"===W(e)&&(!T||!("object"===typeof e&&T in e))}(t))return G(U(String(t)));if("undefined"!==typeof window&&t===window)return"{ [object Window] }";if(t===n.g)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===W(e)&&(!T||!("object"===typeof e&&T in e))}(t)&&!z(t)){var ce=X(t,U),se=P?P(t)===Object.prototype:t instanceof Object||t.constructor===Object,fe=t instanceof Object?"":"null prototype",pe=!se&&T&&Object(t)===t&&T in t?y.call(W(t),8,-1):fe?"Object":"",he=(se||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(pe||fe?"["+k.call(A.call([],pe||[],fe||[]),": ")+"] ":"");return 0===ce.length?he+"{}":L?he+"{"+K(ce,L)+"}":he+"{ "+k.call(ce,", ")+" }"}return String(t)};var U=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return U.call(e,t)}function W(e){return v.call(e)}function Z(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 Y(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Y(y.call(e,0,t.maxStringLength),t)+r}return R(_.call(_.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,q),"single",t)}function q(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 G(e){return"Object("+e+")"}function Q(e){return e+" { ? }"}function J(e,t,n,r){return e+" ("+t+") {"+(r?K(n,r):k.call(n,", "))+"}"}function K(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+k.call(e,","+n)+"\n"+t.prev}function X(e,t){var n=I(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=V(e,i)?t(e[i],e):""}var o,a="function"===typeof S?S(e):[];if(M){o={};for(var u=0;u<a.length;u++)o["$"+a[u]]=a[u]}for(var l in e)V(e,l)&&(n&&String(Number(l))===l&&l<e.length||M&&o["$"+l]instanceof Symbol||(w.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"===typeof S)for(var c=0;c<a.length;c++)O.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}},609:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC1738",i="RFC3986";e.exports={default:i,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r,RFC3986:i}},776:function(e,t,n){"use strict";var r=n(816),i=n(668),o=n(609);e.exports={formats:o,parse:i,stringify:r}},668:function(e,t,n){"use strict";var r=n(837),i=Object.prototype.hasOwnProperty,o=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},u=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},c=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,u=n.depth>0&&/(\[[^[\]]*])/.exec(o),c=u?o.slice(0,u.index):o,s=[];if(c){if(!n.plainObjects&&i.call(Object.prototype,c)&&!n.allowPrototypes)return;s.push(c)}for(var f=0;n.depth>0&&null!==(u=a.exec(o))&&f<n.depth;){if(f+=1,!n.plainObjects&&i.call(Object.prototype,u[1].slice(1,-1))&&!n.allowPrototypes)return;s.push(u[1])}return u&&s.push("["+o.slice(u.index)+"]"),function(e,t,n,r){for(var i=r?t:l(t,n),o=e.length-1;o>=0;--o){var a,u=e[o];if("[]"===u&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var c="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,s=parseInt(c,10);n.parseArrays||""!==c?!isNaN(s)&&u!==c&&String(s)===c&&s>=0&&n.parseArrays&&s<=n.arrayLimit?(a=[])[s]=i:"__proto__"!==c&&(a[c]=i):a={0:i}}i=a}return i}(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,c={__proto__:null},s=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,p=s.split(t.delimiter,f),h=-1,d=t.charset;if(t.charsetSentinel)for(n=0;n<p.length;++n)0===p[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[n]?d="utf-8":"utf8=%26%2310003%3B"===p[n]&&(d="iso-8859-1"),h=n,n=p.length);for(n=0;n<p.length;++n)if(n!==h){var v,m,g=p[n],y=g.indexOf("]="),_=-1===y?g.indexOf("="):y+1;-1===_?(v=t.decoder(g,a.decoder,d,"key"),m=t.strictNullHandling?null:""):(v=t.decoder(g.slice(0,_),a.decoder,d,"key"),m=r.maybeMap(l(g.slice(_+1),t),(function(e){return t.decoder(e,a.decoder,d,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===d&&(m=u(m)),g.indexOf("[]=")>-1&&(m=o(m)?[m]:m),i.call(c,v)?c[v]=r.combine(c[v],m):c[v]=m}return c}(e,n):e,f=n.plainObjects?Object.create(null):{},p=Object.keys(s),h=0;h<p.length;++h){var d=p[h],v=c(d,s[d],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),i=n(837),o=n(609),a=Object.prototype.hasOwnProperty,u={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,s=function(e,t){c.apply(e,l(t)?t:[t])},f=Date.prototype.toISOString,p=o.default,h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:p,formatter:o.formatters[p],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},d={},v=function e(t,n,o,a,u,c,f,p,v,m,g,y,_,b,D,w){for(var A,k=t,x=w,E=0,C=!1;void 0!==(x=x.get(d))&&!C;){var S=x.get(t);if(E+=1,"undefined"!==typeof S){if(S===E)throw new RangeError("Cyclic object value");C=!0}"undefined"===typeof x.get(d)&&(E=0)}if("function"===typeof p?k=p(n,k):k instanceof Date?k=g(k):"comma"===o&&l(k)&&(k=i.maybeMap(k,(function(e){return e instanceof Date?g(e):e}))),null===k){if(u)return f&&!b?f(n,h.encoder,D,"key",y):n;k=""}if("string"===typeof(A=k)||"number"===typeof A||"boolean"===typeof A||"symbol"===typeof A||"bigint"===typeof A||i.isBuffer(k))return f?[_(b?n:f(n,h.encoder,D,"key",y))+"="+_(f(k,h.encoder,D,"value",y))]:[_(n)+"="+_(String(k))];var F,M=[];if("undefined"===typeof k)return M;if("comma"===o&&l(k))b&&f&&(k=i.maybeMap(k,f)),F=[{value:k.length>0?k.join(",")||null:void 0}];else if(l(p))F=p;else{var T=Object.keys(k);F=v?T.sort(v):T}for(var O=a&&l(k)&&1===k.length?n+"[]":n,P=0;P<F.length;++P){var B=F[P],N="object"===typeof B&&"undefined"!==typeof B.value?B.value:k[B];if(!c||null!==N){var L=l(k)?"function"===typeof o?o(O,B):O:O+(m?"."+B:"["+B+"]");w.set(t,E);var $=r();$.set(d,w),s(M,e(N,L,o,a,u,c,"comma"===o&&b&&l(k)?null:f,p,v,m,g,y,_,b,D,$))}}return M};e.exports=function(e,t){var n,i=e,c=function(e){if(!e)return h;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||h.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=o.default;if("undefined"!==typeof e.format){if(!a.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],i=h.filter;return("function"===typeof e.filter||l(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:"undefined"===typeof e.allowDots?h.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,delimiter:"undefined"===typeof e.delimiter?h.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:h.encode,encoder:"function"===typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}}(t);"function"===typeof c.filter?i=(0,c.filter)("",i):l(c.filter)&&(n=c.filter);var f,p=[];if("object"!==typeof i||null===i)return"";f=t&&t.arrayFormat in u?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var d=u[f];if(t&&"commaRoundTrip"in t&&"boolean"!==typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var m="comma"===d&&t&&t.commaRoundTrip;n||(n=Object.keys(i)),c.sort&&n.sort(c.sort);for(var g=r(),y=0;y<n.length;++y){var _=n[y];c.skipNulls&&null===i[_]||s(p,v(i[_],_,d,m,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,g))}var b=p.join(c.delimiter),D=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?D+="utf8=%26%2310003%3B&":D+="utf8=%E2%9C%93&"),b.length>0?D+b:""}},837:function(e,t,n){"use strict";var r=n(609),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),u=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:u,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 i=t[r],a=i.obj[i.prop],u=Object.keys(a),l=0;l<u.length;++l){var c=u[l],s=a[c];"object"===typeof s&&null!==s&&-1===n.indexOf(s)&&(t.push({obj:a,prop:c}),n.push(s))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)"undefined"!==typeof n[i]&&r.push(n[i]);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(i){return r}},encode:function(e,t,n,i,o){if(0===e.length)return e;var u=e;if("symbol"===typeof e?u=Symbol.prototype.toString.call(e):"string"!==typeof e&&(u=String(e)),"iso-8859-1"===n)return escape(u).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",c=0;c<u.length;++c){var s=u.charCodeAt(c);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||o===r.RFC1738&&(40===s||41===s)?l+=u.charAt(c):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]:(c+=1,s=65536+((1023&s)<<10|1023&u.charCodeAt(c)),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(o(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(o(t))t.push(n);else{if(!t||"object"!==typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!==typeof t)return[t].concat(n);var a=t;return o(t)&&!o(n)&&(a=u(t,r)),o(t)&&o(n)?(n.forEach((function(n,o){if(i.call(t,o)){var a=t[o];a&&"object"===typeof a&&n&&"object"===typeof n?t[o]=e(a,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return i.call(t,o)?t[o]=e(t[o],a,r):t[o]=a,t}),a)}}},267:function(e,t,n){"use strict";var r=n(476),i=n(150),o=n(926)(),a=n(103),u=r("%TypeError%"),l=r("%Math.floor%");e.exports=function(e,t){if("function"!==typeof e)throw new u("`fn` is not a function");if("number"!==typeof t||t<0||t>4294967295||l(t)!==t)throw new u("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,c=!0;if("length"in e&&a){var s=a(e,"length");s&&!s.configurable&&(r=!1),s&&!s.writable&&(c=!1)}return(r||c||!n)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},170:function(e,t,n){"use strict";var r=n(476),i=n(680),o=n(154),a=r("%TypeError%"),u=r("%WeakMap%",!0),l=r("%Map%",!0),c=i("WeakMap.prototype.get",!0),s=i("WeakMap.prototype.set",!0),f=i("WeakMap.prototype.has",!0),p=i("Map.prototype.get",!0),h=i("Map.prototype.set",!0),d=i("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 "+o(e))},get:function(r){if(u&&r&&("object"===typeof r||"function"===typeof r)){if(e)return c(e,r)}else if(l){if(t)return p(t,r)}else if(n)return function(e,t){var n=v(e,t);return n&&n.value}(n,r)},has:function(r){if(u&&r&&("object"===typeof r||"function"===typeof r)){if(e)return f(e,r)}else if(l){if(t)return d(t,r)}else if(n)return function(e,t){return!!v(e,t)}(n,r);return!1},set:function(r,i){u&&r&&("object"===typeof r||"function"===typeof r)?(e||(e=new u),s(e,r,i)):l?(t||(t=new l),h(t,r,i)):(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,i))}};return r}},654:function(){}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.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+".da77e7b3.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,i,o,a){if(e[r])e[r].push(i);else{var u,l;if(void 0!==o)for(var c=document.getElementsByTagName("script"),s=0;s<c.length;s++){var f=c[s];if(f.getAttribute("src")==r||f.getAttribute("data-webpack")==t+o){u=f;break}}u||(l=!0,(u=document.createElement("script")).charset="utf-8",u.timeout=120,n.nc&&u.setAttribute("nonce",n.nc),u.setAttribute("data-webpack",t+o),u.src=r),e[r]=[i];var p=function(t,n){u.onerror=u.onload=null,clearTimeout(h);var i=e[r];if(delete e[r],u.parentNode&&u.parentNode.removeChild(u),i&&i.forEach((function(e){return e(n)})),t)return t(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=p.bind(null,u.onerror),u.onload=p.bind(null,u.onload),l&&document.head.appendChild(u)}}}(),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 i=n.o(e,t)?e[t]:void 0;if(0!==i)if(i)r.push(i[2]);else{var o=new Promise((function(n,r){i=e[t]=[n,r]}));r.push(i[2]=o);var a=n.p+n.u(t),u=new Error;n.l(a,(function(r){if(n.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;u.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",u.name="ChunkLoadError",u.type=o,u.request=a,i[1](u)}}),"chunk-"+t,t)}};var t=function(t,r){var i,o,a=r[0],u=r[1],l=r[2],c=0;if(a.some((function(t){return 0!==e[t]}))){for(i in u)n.o(u,i)&&(n.m[i]=u[i]);if(l)l(n)}for(t&&t(r);c<a.length;c++)o=a[c],n.o(e,o)&&e[o]&&e[o][0](),e[o]=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 Te},Component:function(){return b},Fragment:function(){return _},PureComponent:function(){return xe},StrictMode:function(){return gt},Suspense:function(){return Le},SuspenseList:function(){return je},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:function(){return ut},cloneElement:function(){return pt},createContext:function(){return U},createElement:function(){return m},createFactory:function(){return ct},createPortal:function(){return Ue},createRef:function(){return y},default:function(){return xt},findDOMNode:function(){return dt},flushSync:function(){return mt},forwardRef:function(){return Fe},hydrate:function(){return Je},isElement:function(){return wt},isFragment:function(){return ft},isValidElement:function(){return st},lazy:function(){return Re},memo:function(){return Ee},render:function(){return Qe},startTransition:function(){return yt},unmountComponentAtNode:function(){return ht},unstable_batchedUpdates:function(){return vt},useCallback:function(){return se},useContext:function(){return fe},useDebugValue:function(){return pe},useDeferredValue:function(){return _t},useEffect:function(){return oe},useErrorBoundary:function(){return he},useId:function(){return de},useImperativeHandle:function(){return le},useInsertionEffect:function(){return Dt},useLayoutEffect:function(){return ae},useMemo:function(){return ce},useReducer:function(){return ie},useRef:function(){return ue},useState:function(){return re},useSyncExternalStore:function(){return At},useTransition:function(){return bt},version:function(){return lt}});var t,r,i,o,a,u,l,c,s={},f=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function d(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 i,o,a,u={};for(a in n)"key"==a?i=n[a]:"ref"==a?o=n[a]:u[a]=n[a];if(arguments.length>2&&(u.children=arguments.length>3?t.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===u[a]&&(u[a]=e.defaultProps[a]);return g(e,u,i,o,null)}function g(e,t,n,o,a){var u={type:e,props:t,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++i:a};return null==a&&null!=r.vnode&&r.vnode(u),u}function y(){return{current:null}}function _(e){return e.children}function b(e,t){this.props=e,this.context=t}function D(e,t){if(null==t)return e.__?D(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.__d||n.__e;return"function"==typeof e.type?D(e):null}function w(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 w(e)}}function A(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!k.__r++||a!==r.debounceRendering)&&((a=r.debounceRendering)||u)(k)}function k(){var e,t,n,r,i,a,u,c,s;for(o.sort(l);e=o.shift();)e.__d&&(t=o.length,r=void 0,i=void 0,a=void 0,c=(u=(n=e).__v).__e,(s=n.__P)&&(r=[],i=[],(a=d({},u)).__v=u.__v+1,B(s,u,a,n.__n,void 0!==s.ownerSVGElement,null!=u.__h?[c]:null,r,null==c?D(u):c,u.__h,i),N(r,u,i),u.__e!=c&&w(u)),o.length>t&&o.sort(l));k.__r=0}function x(e,t,n,r,i,o,a,u,l,c,p){var d,v,m,y,b,w,A,k,x,C=0,M=r&&r.__k||f,T=M.length,O=T,P=t.length;for(n.__k=[],d=0;d<P;d++)null!=(y=n.__k[d]=null==(y=t[d])||"boolean"==typeof y||"function"==typeof y?null:"string"==typeof y||"number"==typeof y||"bigint"==typeof y?g(null,y,null,null,y):h(y)?g(_,{children:y},null,null,null):y.__b>0?g(y.type,y.props,y.key,y.ref?y.ref:null,y.__v):y)?(y.__=n,y.__b=n.__b+1,-1===(k=F(y,M,A=d+C,O))?m=s:(m=M[k]||s,M[k]=void 0,O--),B(e,y,m,i,o,a,u,l,c,p),b=y.__e,(v=y.ref)&&m.ref!=v&&(m.ref&&$(m.ref,null,y),p.push(v,y.__c||b,y)),null!=b&&(null==w&&(w=b),(x=m===s||null===m.__v)?-1==k&&C--:k!==A&&(k===A+1?C++:k>A?O>P-A?C+=k-A:C--:C=k<A&&k==A-1?k-A:0),A=d+C,"function"!=typeof y.type||k===A&&m.__k!==y.__k?"function"==typeof y.type||k===A&&!x?void 0!==y.__d?(l=y.__d,y.__d=void 0):l=b.nextSibling:l=S(e,b,l):l=E(y,l,e),"function"==typeof n.type&&(n.__d=l))):(m=M[d])&&null==m.key&&m.__e&&(m.__e==l&&(m.__=r,l=D(m)),R(m,m,!1),M[d]=null);for(n.__e=w,d=T;d--;)null!=M[d]&&("function"==typeof n.type&&null!=M[d].__e&&M[d].__e==n.__d&&(n.__d=M[d].__e.nextSibling),R(M[d],M[d]))}function E(e,t,n){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,t="function"==typeof r.type?E(r,t,n):S(n,r.__e,t));return t}function C(e,t){return t=t||[],null==e||"boolean"==typeof e||(h(e)?e.some((function(e){C(e,t)})):t.push(e)),t}function S(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 F(e,t,n,r){var i=e.key,o=e.type,a=n-1,u=n+1,l=t[n];if(null===l||l&&i==l.key&&o===l.type)return n;if(r>(null!=l?1:0))for(;a>=0||u<t.length;){if(a>=0){if((l=t[a])&&i==l.key&&o===l.type)return a;a--}if(u<t.length){if((l=t[u])&&i==l.key&&o===l.type)return u;u++}}return-1}function M(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||p.test(t)?n:n+"px"}function T(e,t,n,r,i){var o;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||M(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||M(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=Date.now(),e.addEventListener(t,o?P:O,o)):e.removeEventListener(t,o?P:O,o);else if("dangerouslySetInnerHTML"!==t){if(i)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&&"role"!==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 O(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(r.event?r.event(e):e)}function P(e){return this.l[e.type+!0](r.event?r.event(e):e)}function B(e,t,n,i,o,a,u,l,c,s){var f,p,v,m,g,y,D,w,A,k,E,C,S,F,M,T=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(c=n.__h,l=t.__e=n.__e,t.__h=null,a=[l]),(f=r.__b)&&f(t);e:if("function"==typeof T)try{if(w=t.props,A=(f=T.contextType)&&i[f.__c],k=f?A?A.props.value:f.__:i,n.__c?D=(p=t.__c=n.__c).__=p.__E:("prototype"in T&&T.prototype.render?t.__c=p=new T(w,k):(t.__c=p=new b(w,k),p.constructor=T,p.render=j),A&&A.sub(p),p.props=w,p.state||(p.state={}),p.context=k,p.__n=i,v=p.__d=!0,p.__h=[],p._sb=[]),null==p.__s&&(p.__s=p.state),null!=T.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=d({},p.__s)),d(p.__s,T.getDerivedStateFromProps(w,p.__s))),m=p.props,g=p.state,p.__v=t,v)null==T.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==T.getDerivedStateFromProps&&w!==m&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(w,k),!p.__e&&(null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(w,p.__s,k)||t.__v===n.__v)){for(t.__v!==n.__v&&(p.props=w,p.state=p.__s,p.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),E=0;E<p._sb.length;E++)p.__h.push(p._sb[E]);p._sb=[],p.__h.length&&u.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(w,p.__s,k),null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(m,g,y)}))}if(p.context=k,p.props=w,p.__P=e,p.__e=!1,C=r.__r,S=0,"prototype"in T&&T.prototype.render){for(p.state=p.__s,p.__d=!1,C&&C(t),f=p.render(p.props,p.state,p.context),F=0;F<p._sb.length;F++)p.__h.push(p._sb[F]);p._sb=[]}else do{p.__d=!1,C&&C(t),f=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++S<25);p.state=p.__s,null!=p.getChildContext&&(i=d(d({},i),p.getChildContext())),v||null==p.getSnapshotBeforeUpdate||(y=p.getSnapshotBeforeUpdate(m,g)),x(e,h(M=null!=f&&f.type===_&&null==f.key?f.props.children:f)?M:[M],t,n,i,o,a,u,l,c,s),p.base=t.__e,t.__h=null,p.__h.length&&u.push(p),D&&(p.__E=p.__=null)}catch(e){t.__v=null,(c||null!=a)&&(t.__e=l,t.__h=!!c,a[a.indexOf(l)]=null),r.__e(e,t,n)}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=L(n.__e,t,n,i,o,a,u,c,s);(f=r.diffed)&&f(t)}function N(e,t,n){for(var i=0;i<n.length;i++)$(n[i],n[++i],n[++i]);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 L(e,n,r,i,o,a,u,l,c){var f,p,d,m=r.props,g=n.props,y=n.type,_=0;if("svg"===y&&(o=!0),null!=a)for(;_<a.length;_++)if((f=a[_])&&"setAttribute"in f==!!y&&(y?f.localName===y:3===f.nodeType)){e=f,a[_]=null;break}if(null==e){if(null===y)return document.createTextNode(g);e=o?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,g.is&&g),a=null,l=!1}if(null===y)m===g||l&&e.data===g||(e.data=g);else{if(a=a&&t.call(e.childNodes),p=(m=r.props||s).dangerouslySetInnerHTML,d=g.dangerouslySetInnerHTML,!l){if(null!=a)for(m={},_=0;_<e.attributes.length;_++)m[e.attributes[_].name]=e.attributes[_].value;(d||p)&&(d&&(p&&d.__html==p.__html||d.__html===e.innerHTML)||(e.innerHTML=d&&d.__html||""))}if(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||T(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||T(e,o,t[o],n[o],r)}(e,g,m,o,l),d)n.__k=[];else if(x(e,h(_=n.props.children)?_:[_],n,r,i,o&&"foreignObject"!==y,a,u,a?a[0]:r.__k&&D(r,0),l,c),null!=a)for(_=a.length;_--;)null!=a[_]&&v(a[_]);l||("value"in g&&void 0!==(_=g.value)&&(_!==e.value||"progress"===y&&!_||"option"===y&&_!==m.value)&&T(e,"value",_,m.value,!1),"checked"in g&&void 0!==(_=g.checked)&&_!==e.checked&&T(e,"checked",_,m.checked,!1))}return e}function $(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function R(e,t,n){var i,o;if(r.unmount&&r.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||$(i,null,t)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){r.__e(e,t)}i.base=i.__P=null,e.__c=void 0}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&R(i[o],t,n||"function"!=typeof e.type);n||null==e.__e||v(e.__e),e.__=e.__e=e.__d=void 0}function j(e,t,n){return this.constructor(e,n)}function I(e,n,i){var o,a,u,l;r.__&&r.__(e,n),a=(o="function"==typeof i)?null:i&&i.__k||n.__k,u=[],l=[],B(n,e=(!o&&i||n).__k=m(_,null,[e]),a||s,s,void 0!==n.ownerSVGElement,!o&&i?[i]:a?null:n.firstChild?t.call(n.childNodes):null,u,!o&&i?i:a?a.__e:n.firstChild,o,l),N(u,e,l)}function z(e,t){I(e,t,z)}function H(e,n,r){var i,o,a,u,l=d({},e.props);for(a in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),n)"key"==a?i=n[a]:"ref"==a?o=n[a]:l[a]=void 0===n[a]&&void 0!==u?u[a]:n[a];return arguments.length>2&&(l.children=arguments.length>3?t.call(arguments,2):r),g(e.type,l,i||e.key,o||e.ref,null)}function U(e,t){var n={__c:t="__cC"+c++,__: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,A(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 i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),a=i.__d),a)return i.__E=i}catch(t){e=t}throw e}},i=0,b.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof e&&(e=e(d({},n),this.props)),e&&d(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),A(this))},b.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),A(this))},b.prototype.render=_,o=[],u="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,l=function(e,t){return e.__v.__b-t.__v.__b},k.__r=0,c=0;var V,W,Z,Y,q=0,G=[],Q=[],J=r.__b,K=r.__r,X=r.diffed,ee=r.__c,te=r.unmount;function ne(e,t){r.__h&&r.__h(W,e,q||t),q=0;var n=W.__H||(W.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Q}),n.__[e]}function re(e){return q=1,ie(De,e)}function ie(e,t,n){var r=ne(V++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):De(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=W,!W.u)){var i=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(e){return e.__c}));if(i.every((function(e){return!e.__N})))return!o||o.call(this,e,t,n);var a=!1;return i.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)&&(!o||o.call(this,e,t,n))};W.u=!0;var o=W.shouldComponentUpdate,a=W.componentWillUpdate;W.componentWillUpdate=function(e,t,n){if(this.__e){var r=o;o=void 0,i(e,t,n),o=r}a&&a.call(this,e,t,n)},W.shouldComponentUpdate=i}return r.__N||r.__}function oe(e,t){var n=ne(V++,3);!r.__s&&be(n.__H,t)&&(n.__=e,n.i=t,W.__H.__h.push(n))}function ae(e,t){var n=ne(V++,4);!r.__s&&be(n.__H,t)&&(n.__=e,n.i=t,W.__h.push(n))}function ue(e){return q=5,ce((function(){return{current:e}}),[])}function le(e,t,n){q=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 ce(e,t){var n=ne(V++,7);return be(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function se(e,t){return q=8,ce((function(){return e}),t)}function fe(e){var t=W.context[e.__c],n=ne(V++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(W)),t.props.value):e.__}function pe(e,t){r.useDebugValue&&r.useDebugValue(t?t(e):e)}function he(e){var t=ne(V++,10),n=re();return t.__=e,W.componentDidCatch||(W.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]}function de(){var e=ne(V++,11);if(!e.__){for(var t=W.__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=G.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ye),e.__H.__h.forEach(_e),e.__H.__h=[]}catch(u){e.__H.__h=[],r.__e(u,e.__v)}}r.__b=function(e){W=null,J&&J(e)},r.__r=function(e){K&&K(e),V=0;var t=(W=e.__c).__H;t&&(Z===W?(t.__h=[],W.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=Q,e.__N=e.i=void 0}))):(t.__h.forEach(ye),t.__h.forEach(_e),t.__h=[],V=0)),Z=W},r.diffed=function(e){X&&X(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==G.push(t)&&Y===r.requestAnimationFrame||((Y=r.requestAnimationFrame)||ge)(ve)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==Q&&(e.__=e.__V),e.i=void 0,e.__V=Q}))),Z=W=null},r.__c=function(e,t){t.some((function(e){try{e.__h.forEach(ye),e.__h=e.__h.filter((function(e){return!e.__||_e(e)}))}catch(i){t.some((function(e){e.__h&&(e.__h=[])})),t=[],r.__e(i,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{ye(e)}catch(e){t=e}})),n.__H=void 0,t&&r.__e(t,n.__v))};var me="function"==typeof requestAnimationFrame;function ge(e){var t,n=function(){clearTimeout(r),me&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);me&&(t=requestAnimationFrame(n))}function ye(e){var t=W,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),W=t}function _e(e){var t=W;e.__c=e.__(),W=t}function be(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function De(e,t){return"function"==typeof t?t(e):t}function we(e,t){for(var n in t)e[n]=t[n];return e}function Ae(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 ke(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}function xe(e){this.props=e}function Ee(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:Ae(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}(xe.prototype=new b).isPureReactComponent=!0,xe.prototype.shouldComponentUpdate=function(e,t){return Ae(this.props,e)||Ae(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 Se="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Fe(e){function t(t){var n=we({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Se,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Me=function(e,t){return null==e?null:C(C(e).map(t))},Te={map:Me,forEach:Me,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},Oe=r.__e;r.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);Oe(e,t,n,r)};var Pe=r.unmount;function Be(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=we({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Be(e,t,n)}))),e}function Ne(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Ne(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 Le(){this.__u=0,this.t=null,this.__b=null}function $e(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Re(e){var t,n,r;function i(i){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,i)}return i.displayName="Lazy",i.__f=!0,i}function je(){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),Pe&&Pe(e)},(Le.prototype=new b).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=$e(r.__v),o=!1,a=function(){o||(o=!0,n.__R=null,i?i(u):u())};n.__R=a;var u=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Ne(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)},Le.prototype.componentWillUnmount=function(){this.t=[]},Le.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]=Be(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&m(_,null,e.fallback);return i&&(i.__h=null),[m(_,null,t.__a?null:e.children),i]};var Ie=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 ze(e){return this.getChildContext=function(){return e.context},e.children}function He(e){var t=this,n=e.i;t.componentWillUnmount=function(){I(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),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)}}),I(m(ze,{context:t.context},e.__v),t.l)}function Ue(e,t){var n=m(He,{__v:e,i:t});return n.containerInfo=t,n}(je.prototype=new b).__a=function(e){var t=this,n=$e(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),Ie(t,e,r)):i()};n?n(o):o()}},je.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},je.prototype.componentDidUpdate=je.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Ie(e,n,t)}))};var Ve="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,We=/^(?: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]/,Ze=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ye=/[A-Z0-9]/g,qe="undefined"!=typeof document,Ge=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function Qe(e,t,n){return null==t.__k&&(t.textContent=""),I(e,t),"function"==typeof n&&n(),e?e.__c:null}function Je(e,t,n){return z(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 Ke=r.event;function Xe(){}function et(){return this.cancelBubble}function tt(){return this.defaultPrevented}r.event=function(e){return Ke&&(e=Ke(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}},it=r.vnode;r.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var i in t){var o=t[i];if(!("value"===i&&"defaultValue"in t&&null==o||qe&&"children"===i&&"noscript"===n||"class"===i||"className"===i)){var a=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===o?o="":"ondoubleclick"===a?i="ondblclick":"onchange"!==a||"input"!==n&&"textarea"!==n||Ge(t.type)?"onfocus"===a?i="onfocusin":"onblur"===a?i="onfocusout":Ze.test(i)?i=a:-1===n.indexOf("-")&&We.test(i)?i=i.replace(Ye,"-$&").toLowerCase():null===o&&(o=void 0):a=i="oninput","oninput"===a&&r[i=a]&&(i="oninputCapture"),r[i]=o}}"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=Ve,it&&it(e)};var ot=r.__r;r.__r=function(e){ot&&ot(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 ut={ReactCurrentDispatcher:{current:{readContext:function(e){return nt.__n[e.__c].props.value}}}},lt="17.0.2";function ct(e){return m.bind(null,e)}function st(e){return!!e&&e.$$typeof===Ve}function ft(e){return st(e)&&e.type===_}function pt(e){return st(e)?H.apply(null,arguments):e}function ht(e){return!!e.__k&&(I(null,e),!0)}function dt(e){return e&&(e.base||1===e.nodeType&&e)||null}var vt=function(e,t){return e(t)},mt=function(e,t){return e(t)},gt=_;function yt(e){e()}function _t(e){return e}function bt(){return[!1,yt]}var Dt=ae,wt=st;function At(e,t){var n=t(),r=re({h:{__:n,v:t}}),i=r[0].h,o=r[1];return ae((function(){i.__=n,i.v=t,ke(i.__,t())||o({h:i})}),[e,n,t]),oe((function(){return ke(i.__,i.v())||o({h:i}),e((function(){ke(i.__,i.v())||o({h:i})}))}),[e]),n}var kt,xt={useState:re,useId:de,useReducer:ie,useEffect:oe,useLayoutEffect:ae,useInsertionEffect:Dt,useTransition:bt,useDeferredValue:_t,useSyncExternalStore:At,startTransition:yt,useRef:ue,useImperativeHandle:le,useMemo:ce,useCallback:se,useContext:fe,useDebugValue:pe,version:"17.0.2",Children:Te,render:Qe,hydrate:Je,unmountComponentAtNode:ht,createPortal:Ue,createElement:m,createContext:U,createFactory:ct,cloneElement:pt,createRef:y,Fragment:_,isValidElement:st,isElement:wt,isFragment:ft,findDOMNode:dt,Component:b,PureComponent:xe,memo:Ee,forwardRef:Fe,flushSync:mt,unstable_batchedUpdates:vt,StrictMode:gt,Suspense:Le,SuspenseList:je,lazy:Re,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ut},Et=n(658),Ct=n.n(Et),St=n(443),Ft=n.n(St),Mt=n(446),Tt=n.n(Mt),Ot=n(635),Pt=n.n(Ot);function Bt(e){if(Array.isArray(e))return e}function Nt(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 Nt(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)?Nt(e,t):void 0}}function $t(){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 Rt(e,t){return Bt(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||Lt(e,t)||$t()}function jt(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function It(e){return function(e){if(Array.isArray(e))return Nt(e)}(e)||jt(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 zt(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 Ut(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 Vt(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,Ut(r.key),r)}}function Wt(e,t,n){return t&&Vt(e.prototype,t),n&&Vt(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Zt(e,t){return Zt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Zt(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&&Zt(e,t)}function qt(e){return qt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qt(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(c){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 Jt(e){var t=Gt();return function(){var n,r=qt(e);if(t){var i=qt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Qt(this,n)}}function Kt(e,t,n){return Gt()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&Zt(i,n.prototype),i},Kt.apply(null,arguments)}function Xt(e){var t="function"===typeof Map?new Map:void 0;return function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(c){return"function"===typeof e}}(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 Kt(e,arguments,qt(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Zt(n,e)},Xt(e)}function en(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,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 o,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}function tn(){return tn=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},tn.apply(this,arguments)}Ct().extend(Ft()),Ct().extend(Tt()),Ct().extend(Pt()),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(kt||(kt={}));var nn,rn="popstate";function on(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function an(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(c){}}}function un(e,t){return{usr:e.state,key:e.key,idx:t}}function ln(e,t,n,r){return void 0===n&&(n=null),tn({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?sn(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,i=void 0===r?"":r,o=e.hash,a=void 0===o?"":o;return i&&"?"!==i&&(n+="?"===i.charAt(0)?i:"?"+i),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function sn(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 fn(e,t,n,r){void 0===r&&(r={});var i=r,o=i.window,a=void 0===o?document.defaultView:o,u=i.v5Compat,l=void 0!==u&&u,c=a.history,s=kt.Pop,f=null,p=h();function h(){return(c.state||{idx:null}).idx}function d(){s=kt.Pop;var e=h(),t=null==e?null:e-p;p=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 on(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==p&&(p=0,c.replaceState(tn({},c.state,{idx:p}),""));var m={get action(){return s},get location(){return e(a,c)},listen:function(e){if(f)throw new Error("A history only accepts one active listener");return a.addEventListener(rn,d),f=e,function(){a.removeEventListener(rn,d),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=kt.Push;var r=ln(m.location,e,t);n&&n(r,e);var i=un(r,p=h()+1),o=m.createHref(r);try{c.pushState(i,"",o)}catch(u){if(u instanceof DOMException&&"DataCloneError"===u.name)throw u;a.location.assign(o)}l&&f&&f({action:s,location:m.location,delta:1})},replace:function(e,t){s=kt.Replace;var r=ln(m.location,e,t);n&&n(r,e);var i=un(r,p=h()),o=m.createHref(r);c.replaceState(i,"",o),l&&f&&f({action:s,location:m.location,delta:0})},go:function(e){return c.go(e)}};return m}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(nn||(nn={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function pn(e,t,n){void 0===n&&(n="/");var r=En(("string"===typeof t?sn(t):t).pathname||"/",n);if(null==r)return null;var i=hn(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})))}))}(i);for(var o=null,a=0;null==o&&a<i.length;++a)o=An(i[a],xn(r));return o}function hn(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");var i=function(e,i,o){var a={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};a.relativePath.startsWith("/")&&(on(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 u=Mn([r,a.relativePath]),l=n.concat(a);e.children&&e.children.length>0&&(on(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+u+'".'),hn(e.children,t,l,u)),(null!=e.path||e.index)&&t.push({path:u,score:wn(u,e.index),routesMeta:l})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,o=en(dn(e.path));try{for(o.s();!(r=o.n()).done;){var a=r.value;i(e,t,a)}}catch(u){o.e(u)}finally{o.f()}}else i(e,t)})),t}function dn(e){var t=e.split("/");if(0===t.length)return[];var n,r=Bt(n=t)||jt(n)||Lt(n)||$t(),i=r[0],o=r.slice(1),a=i.endsWith("?"),u=i.replace(/\?$/,"");if(0===o.length)return a?[u,""]:[u];var l=dn(o.join("/")),c=[];return c.push.apply(c,It(l.map((function(e){return""===e?u:[u,e].join("/")})))),a&&c.push.apply(c,It(l)),c.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var vn=/^:\w+$/,mn=3,gn=2,yn=1,_n=10,bn=-2,Dn=function(e){return"*"===e};function wn(e,t){var n=e.split("/"),r=n.length;return n.some(Dn)&&(r+=bn),t&&(r+=gn),n.filter((function(e){return!Dn(e)})).reduce((function(e,t){return e+(vn.test(t)?mn:""===t?yn:_n)}),r)}function An(e,t){for(var n=e.routesMeta,r={},i="/",o=[],a=0;a<n.length;++a){var u=n[a],l=a===n.length-1,c="/"===i?t:t.slice(i.length)||"/",s=kn({path:u.relativePath,caseSensitive:u.caseSensitive,end:l},c);if(!s)return null;Object.assign(r,s.params);var f=u.route;o.push({params:r,pathname:Mn([i,s.pathname]),pathnameBase:Tn(Mn([i,s.pathnameBase])),route:f}),"/"!==s.pathnameBase&&(i=Mn([i,s.pathnameBase]))}return o}function kn(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);an("*"===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=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(function(e,t){return r.push(t),"/([^\\/]+)"}));e.endsWith("*")?(r.push("*"),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))");var o=new RegExp(i,t?void 0:"i");return[o,r]}(e.path,e.caseSensitive,e.end),r=Rt(n,2),i=r[0],o=r[1],a=t.match(i);if(!a)return null;var u=a[0],l=u.replace(/(.)\/+$/,"$1"),c=a.slice(1);return{params:o.reduce((function(e,t,n){if("*"===t){var r=c[n]||"";l=u.slice(0,u.length-r.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return an(!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}}(c[n]||"",t),e}),{}),pathname:u,pathnameBase:l,pattern:e}}function xn(e){try{return decodeURI(e)}catch(t){return an(!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 En(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 Cn(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 Sn(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function Fn(e,t,n,r){var i;void 0===r&&(r=!1),"string"===typeof e?i=sn(e):(on(!(i=tn({},e)).pathname||!i.pathname.includes("?"),Cn("?","pathname","search",i)),on(!i.pathname||!i.pathname.includes("#"),Cn("#","pathname","hash",i)),on(!i.search||!i.search.includes("#"),Cn("#","search","hash",i)));var o,a=""===e||""===i.pathname,u=a?"/":i.pathname;if(r||null==u)o=n;else{var l=t.length-1;if(u.startsWith("..")){for(var c=u.split("/");".."===c[0];)c.shift(),l-=1;i.pathname=c.join("/")}o=l>=0?t[l]:"/"}var s=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?sn(e):e,r=n.pathname,i=n.search,o=void 0===i?"":i,a=n.hash,u=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:On(o),hash:Pn(u)}}(i,o),f=u&&"/"!==u&&u.endsWith("/"),p=(a||"."===u)&&n.endsWith("/");return s.pathname.endsWith("/")||!f&&!p||(s.pathname+="/"),s}var Mn=function(e){return e.join("/").replace(/\/\/+/g,"/")},Tn=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},On=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},Pn=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""};Error;function Bn(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var Nn=["post","put","patch","delete"],Ln=(new Set(Nn),["get"].concat(Nn));new Set(Ln),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function $n(){return $n=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},$n.apply(this,arguments)}var Rn=U(null);var jn=U(null);var In=U(null);var zn=U(null);var Hn=U({outlet:null,matches:[],isDataRoute:!1});var Un=U(null);function Vn(){return null!=fe(zn)}function Wn(){return Vn()||on(!1),fe(zn).location}function Zn(e){fe(In).static||ae(e)}function Yn(){return fe(Hn).isDataRoute?function(){var e=ir(nr.UseNavigateStable).router,t=ar(rr.UseNavigateStable),n=ue(!1);Zn((function(){n.current=!0}));var r=se((function(r,i){void 0===i&&(i={}),n.current&&("number"===typeof r?e.navigate(r):e.navigate(r,$n({fromRouteId:t},i)))}),[e,t]);return r}():function(){Vn()||on(!1);var e=fe(Rn),t=fe(In),n=t.basename,r=t.navigator,i=fe(Hn).matches,o=Wn().pathname,a=JSON.stringify(Sn(i).map((function(e){return e.pathnameBase}))),u=ue(!1);Zn((function(){u.current=!0}));var l=se((function(t,i){if(void 0===i&&(i={}),u.current)if("number"!==typeof t){var l=Fn(t,JSON.parse(a),o,"path"===i.relative);null==e&&"/"!==n&&(l.pathname="/"===l.pathname?n:Mn([n,l.pathname])),(i.replace?r.replace:r.push)(l,i.state,i)}else r.go(t)}),[n,r,a,o,e]);return l}()}var qn=U(null);function Gn(e,t){var n=(void 0===t?{}:t).relative,r=fe(Hn).matches,i=Wn().pathname,o=JSON.stringify(Sn(r).map((function(e){return e.pathnameBase})));return ce((function(){return Fn(e,JSON.parse(o),i,"path"===n)}),[e,o,i,n])}function Qn(e,t,n){Vn()||on(!1);var r,i=fe(In).navigator,o=fe(Hn).matches,a=o[o.length-1],u=a?a.params:{},l=(a&&a.pathname,a?a.pathnameBase:"/"),c=(a&&a.route,Wn());if(t){var s,f="string"===typeof t?sn(t):t;"/"===l||(null==(s=f.pathname)?void 0:s.startsWith(l))||on(!1),r=f}else r=c;var p=r.pathname||"/",h=pn(e,{pathname:"/"===l?p:p.slice(l.length)||"/"});var d=tr(h&&h.map((function(e){return Object.assign({},e,{params:Object.assign({},u,e.params),pathname:Mn([l,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?l:Mn([l,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})})),o,n);return t&&d?m(zn.Provider,{value:{location:$n({pathname:"/",search:"",hash:"",state:null,key:"default"},r),navigationType:kt.Pop}},d):d}function Jn(){var e=function(){var e,t=fe(Un),n=or(rr.UseRouteError),r=ar(rr.UseRouteError);if(t)return t;return null==(e=n.errors)?void 0:e[r]}(),t=Bn(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)",i={padding:"0.5rem",backgroundColor:r};return m(_,null,m("h2",null,"Unexpected Application Error!"),m("h3",{style:{fontStyle:"italic"}},t),n?m("pre",{style:i},n):null,null)}var Kn=m(Jn,null),Xn=function(e){Yt(n,e);var t=Jt(n);function n(e){var r;return zt(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(Hn.Provider,{value:this.props.routeContext},m(Un.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,i=fe(Rn);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),m(Hn.Provider,{value:t},r)}function tr(e,t,n){var r;if(void 0===t&&(t=[]),void 0===n&&(n=null),null==e){var i;if(null==(i=n)||!i.errors)return null;e=n.matches}var o=e,a=null==(r=n)?void 0:r.errors;if(null!=a){var u=o.findIndex((function(e){return e.route.id&&(null==a?void 0:a[e.route.id])}));u>=0||on(!1),o=o.slice(0,Math.min(o.length,u+1))}return o.reduceRight((function(e,r,i){var u=r.route.id?null==a?void 0:a[r.route.id]:null,l=null;n&&(l=r.route.errorElement||Kn);var c=t.concat(o.slice(0,i+1)),s=function(){var t;return t=u?l:r.route.Component?m(r.route.Component,null):r.route.element?r.route.element:e,m(er,{match:r,routeContext:{outlet:e,matches:c,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===i)?m(Xn,{location:n.location,revalidation:n.revalidation,component:l,error:u,children:s(),routeContext:{outlet:null,matches:c,isDataRoute:!0}}):s()}),null)}var nr=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(nr||{}),rr=function(e){return 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",e}(rr||{});function ir(e){var t=fe(Rn);return t||on(!1),t}function or(e){var t=fe(jn);return t||on(!1),t}function ar(e){var t=function(e){var t=fe(Hn);return t||on(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||on(!1),n.route.id}function ur(e){return function(e){var t=fe(Hn).outlet;return t?m(qn.Provider,{value:e},t):t}(e.context)}function lr(e){on(!1)}function cr(e){var t=e.basename,n=void 0===t?"/":t,r=e.children,i=void 0===r?null:r,o=e.location,a=e.navigationType,u=void 0===a?kt.Pop:a,l=e.navigator,c=e.static,s=void 0!==c&&c;Vn()&&on(!1);var f=n.replace(/^\/*/,"/"),p=ce((function(){return{basename:f,navigator:l,static:s}}),[f,l,s]);"string"===typeof o&&(o=sn(o));var h=o,d=h.pathname,v=void 0===d?"/":d,g=h.search,y=void 0===g?"":g,_=h.hash,b=void 0===_?"":_,D=h.state,w=void 0===D?null:D,A=h.key,k=void 0===A?"default":A,x=ce((function(){var e=En(v,f);return null==e?null:{location:{pathname:e,search:y,hash:b,state:w,key:k},navigationType:u}}),[f,v,y,b,w,k,u]);return null==x?null:m(In.Provider,{value:p},m(zn.Provider,{children:i,value:x}))}function sr(e){var t=e.children,n=e.location;return Qn(fr(t),n)}new Promise((function(){}));function fr(e,t){void 0===t&&(t=[]);var n=[];return Te.forEach(e,(function(e,r){if(st(e)){var i=[].concat(It(t),[r]);if(e.type!==_){e.type!==lr&&on(!1),e.props.index&&e.props.children&&on(!1);var o={id:e.props.id||i.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&&(o.children=fr(e.props.children,i)),n.push(o)}else n.push.apply(n,fr(e.props.children,i))}})),n}function pr(){return pr=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},pr.apply(this,arguments)}function hr(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function dr(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 vr=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],mr=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"];var gr=U({isTransitioning:!1});var yr=e.startTransition;function _r(e){var t=e.basename,n=e.children,r=e.future,i=e.window,o=ue();null==o.current&&(o.current=function(e){return void 0===e&&(e={}),fn((function(e,t){var n=sn(e.location.hash.substr(1)),r=n.pathname,i=void 0===r?"/":r,o=n.search,a=void 0===o?"":o,u=n.hash,l=void 0===u?"":u;return i.startsWith("/")||i.startsWith(".")||(i="/"+i),ln("",{pathname:i,search:a,hash:l},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 i=e.location.href,o=i.indexOf("#");r=-1===o?i:i.slice(0,o)}return r+"#"+("string"===typeof t?t:cn(t))}),(function(e,t){an("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}({window:i,v5Compat:!0}));var a=o.current,u=Rt(re({action:a.action,location:a.location}),2),l=u[0],c=u[1],s=(r||{}).v7_startTransition,f=se((function(e){s&&yr?yr((function(){return c(e)})):c(e)}),[c,s]);return ae((function(){return a.listen(f)}),[a,f]),m(cr,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:a})}var br="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,Dr=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,wr=Fe((function(e,t){var n,r=e.onClick,i=e.relative,o=e.reloadDocument,a=e.replace,u=e.state,l=e.target,s=e.to,f=e.preventScrollReset,p=e.unstable_viewTransition,h=hr(e,vr),d=fe(In).basename,v=!1;if("string"===typeof s&&Dr.test(s)&&(n=s,br))try{var g=new URL(window.location.href),y=s.startsWith("//")?new URL(g.protocol+s):new URL(s),_=En(y.pathname,d);y.origin===g.origin&&null!=_?s=_+y.search+y.hash:v=!0}catch(c){}var b=function(e,t){var n=(void 0===t?{}:t).relative;Vn()||on(!1);var r=fe(In),i=r.basename,o=r.navigator,a=Gn(e,{relative:n}),u=a.hash,l=a.pathname,c=a.search,s=l;return"/"!==i&&(s="/"===l?i:Mn([i,l])),o.createHref({pathname:s,search:c,hash:u})}(s,{relative:i}),D=function(e,t){var n=void 0===t?{}:t,r=n.target,i=n.replace,o=n.state,a=n.preventScrollReset,u=n.relative,l=n.unstable_viewTransition,c=Yn(),s=Wn(),f=Gn(e,{relative:u});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!==i?i:cn(s)===cn(f);c(e,{replace:n,state:o,preventScrollReset:a,relative:u,unstable_viewTransition:l})}}),[s,c,f,i,o,r,e,a,u,l])}(s,{replace:a,state:u,target:l,preventScrollReset:f,relative:i,unstable_viewTransition:p});return m("a",pr({},h,{href:n||b,onClick:v||o?r:function(e){r&&r(e),e.defaultPrevented||D(e)},ref:t,target:l}))}));var Ar=Fe((function(e,t){var n=e["aria-current"],r=void 0===n?"page":n,i=e.caseSensitive,o=void 0!==i&&i,a=e.className,u=void 0===a?"":a,l=e.end,c=void 0!==l&&l,s=e.style,f=e.to,p=e.unstable_viewTransition,h=e.children,d=hr(e,mr),v=Gn(f,{relative:d.relative}),g=Wn(),y=fe(jn),_=fe(In).navigator,b=null!=y&&function(e,t){void 0===t&&(t={});var n=fe(gr);null==n&&on(!1);var r=Er(kr.useViewTransitionState).basename,i=Gn(e,{relative:t.relative});if(!n.isTransitioning)return!1;var o=En(n.currentLocation.pathname,r)||n.currentLocation.pathname,a=En(n.nextLocation.pathname,r)||n.nextLocation.pathname;return null!=kn(i.pathname,a)||null!=kn(i.pathname,o)}(v)&&!0===p,D=_.encodeLocation?_.encodeLocation(v).pathname:v.pathname,w=g.pathname,A=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;o||(w=w.toLowerCase(),A=A?A.toLowerCase():null,D=D.toLowerCase());var k,x=w===D||!c&&w.startsWith(D)&&"/"===w.charAt(D.length),E=null!=A&&(A===D||!c&&A.startsWith(D)&&"/"===A.charAt(D.length)),C={isActive:x,isPending:E,isTransitioning:b},S=x?r:void 0;k="function"===typeof u?u(C):[u,x?"active":null,E?"pending":null,b?"transitioning":null].filter(Boolean).join(" ");var F="function"===typeof s?s(C):s;return m(wr,pr({},d,{"aria-current":S,className:k,ref:t,style:F,to:f,unstable_viewTransition:p}),"function"===typeof h?h(C):h)}));var kr,xr;function Er(e){var t=fe(Rn);return t||on(!1),t}function Cr(e){var t=ue(dr(e)),n=ue(!1),r=Wn(),i=ce((function(){return function(e,t){var n=dr(e);return t&&t.forEach((function(e,r){n.has(r)||t.getAll(r).forEach((function(e){n.append(r,e)}))})),n}(r.search,n.current?null:t.current)}),[r.search]),o=Yn(),a=se((function(e,t){var r=dr("function"===typeof e?e(i):e);n.current=!0,o("?"+r,t)}),[o,i]);return[i,a]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(kr||(kr={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(xr||(xr={}));function Sr(e,t,n){return(t=Ut(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fr(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 Mr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fr(Object(n),!0).forEach((function(t){Sr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Tr=function(){var e,t=(null===(e=document.getElementById("root"))||void 0===e?void 0:e.dataset.params)||"{}";try{return JSON.parse(t)}catch(c){return console.error(c),{}}},Or=function(){return!!Object.keys(Tr()).length},Pr=/(\/select\/)(\d+|\d.+)(\/)(.+)/,Br=function(e){var t;return(null===(t=e.match(Pr))||void 0===t?void 0:t[2])||""},Nr=n(776),Lr=n.n(Nr),$r=n(7),Rr=n.n($r),jr={table:100,chart:20,code:1e3},Ir=function(e,t){var n=window.location.hash.split("?")[1],r=Lr().parse(n,{ignoreQueryPrefix:!0});return Rr()(r,e,t||"")},zr=function(e,t){t?window.localStorage.setItem(e,JSON.stringify({value:t})):Ur([e]),window.dispatchEvent(new Event("storage"))},Hr=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(c){return t}},Ur=function(e){return e.forEach((function(e){return window.localStorage.removeItem(e)}))},Vr=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}({}),Wr=function(e){return e.system="system",e.light="light",e.dark="dark",e}({}),Zr=function(e){return getComputedStyle(document.documentElement).getPropertyValue("--".concat(e))},Yr=function(e,t){document.documentElement.style.setProperty("--".concat(e),t)},qr=function(){return window.matchMedia("(prefers-color-scheme: dark)").matches},Gr=function(e){return e.replace(/\/$/,"")},Qr=Ir("g0.tenantID",""),Jr={serverUrl:Gr(function(e){var t=Tr().serverURL,n=window.location.href.replace(/\/(select\/)?(vmui)\/.*/,"");t||window.location.href.replace(/\/(?:prometheus\/)?(?:graph|vmui)\/.*/,"/prometheus");return n}()),tenantId:Qr,theme:Hr("THEME")||Wr.system,isDarkTheme:null};function Kr(e,t){switch(t.type){case"SET_SERVER":return Mr(Mr({},e),{},{serverUrl:Gr(t.payload)});case"SET_TENANT_ID":return Mr(Mr({},e),{},{tenantId:t.payload});case"SET_THEME":return zr("THEME",t.payload),Mr(Mr({},e),{},{theme:t.payload});case"SET_DARK_THEME":return Mr(Mr({},e),{},{isDarkTheme:(n=e.theme,n===Wr.system&&qr()||n===Wr.dark)});default:throw new Error}var n}var Xr=0;function ei(e,t,n,i,o,a){var u,l,c={};for(l in t)"ref"==l?u=t[l]:c[l]=t[l];var s={type:e,props:c,key:n,ref:u,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Xr,__source:o,__self:a};if("function"==typeof e&&(u=e.defaultProps))for(l in u)void 0===c[l]&&(c[l]=u[l]);return r.vnode&&r.vnode(s),s}var ti=U({}),ni=function(){return fe(ti).state},ri=function(){return fe(ti).dispatch},ii=Object.entries(Jr).reduce((function(e,t){var n=Rt(t,2),r=n[0],i=n[1];return Mr(Mr({},e),{},Sr({},r,Ir(r)||i))}),{}),oi="YYYY-MM-DD[T]HH:mm:ss",ai=window.innerWidth/4,ui=window.innerWidth/40,li=Intl.supportedValuesOf,ci=li?li("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"],si=[{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"}],fi=si.map((function(e){return e.short})),pi=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 i=function(e){return gi(Ct().duration(e,"seconds").asMilliseconds())}(n||.001);return i.replace(/\s/g,"")},hi=function(e){var t=e.match(/\d+/g),n=e.match(/[a-zA-Z]+/g);if(n&&t&&fi.includes(n[0]))return Sr({},n[0],t[0])},di=function(e,t){return pi(e/(t?ui:ai))},vi=function(e,t){var n=(t||Ct()().toDate()).valueOf()/1e3,r=function(e){var t=si.map((function(e){return e.short})).join("|"),n=new RegExp("\\d+[".concat(t,"]+"),"g"),r=(e.match(n)||[]).reduce((function(e,t){var n=hi(t);return n?Mr(Mr({},e),n):Mr({},e)}),{});return Ct().duration(r).asSeconds()}(e);return{start:n-r,end:n,step:di(r),date:mi(t||Ct()().toDate())}},mi=function(e){return Ct().tz(e).utc().format(oi)},gi=function(e){var t=Math.floor(e%1e3),n=Math.floor(e/1e3%60),r=Math.floor(e/1e3/60%60),i=Math.floor(e/1e3/3600%24),o=Math.floor(e/864e5),a=["d","h","m","s","ms"],u=[o,i,r,n,t].map((function(e,t){return e?"".concat(e).concat(a[t]):""}));return u.filter((function(e){return e})).join("")},yi=function(e){var t=Ct()(1e3*e);return t.isValid()?t.toDate():new Date},_i=[{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 Ct()().tz().subtract(1,"day").endOf("day").toDate()}},{title:"Today",duration:"1d",until:function(){return Ct()().tz().endOf("day").toDate()}}].map((function(e){return Mr({id:e.title.replace(/\s/g,"_").toLocaleLowerCase(),until:e.until?e.until:function(){return Ct()().tz().toDate()}},e)})),bi=function(e){var t,n=e.relativeTimeId,r=e.defaultDuration,i=e.defaultEndInput,o=null===(t=_i.find((function(e){return e.isDefault})))||void 0===t?void 0:t.id,a=n||Ir("g0.relative_time",o),u=_i.find((function(e){return e.id===a}));return{relativeTimeId:u?a:"none",duration:u?u.duration:r,endInput:u?u.until():i}},Di=function(e){var t=Ct()().tz(e);return"UTC".concat(t.format("Z"))},wi=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=new RegExp(e,"i");return ci.reduce((function(n,r){var i=(r.match(/^(.*?)\//)||[])[1]||"unknown",o=Di(r),a=o.replace(/UTC|0/,""),u=r.replace(/[/_]/g," "),l={region:r,utc:o,search:"".concat(r," ").concat(o," ").concat(u," ").concat(a)},c=!e||e&&t.test(l.search);return c&&n[i]?n[i].push(l):c&&(n[i]=[l]),n}),{})},Ai=function(e){Ct().tz.setDefault(e)},ki=Hr("TIMEZONE")||Ct().tz.guess();Ai(ki);var xi,Ei=Ir("g0.range_input"),Ci=bi({defaultDuration:Ei||"1h",defaultEndInput:(xi=Ir("g0.end_input",Ct()().utc().format(oi)),Ct()(xi).utcOffset(0,!0).toDate()),relativeTimeId:Ei?Ir("g0.relative_time","none"):void 0}),Si=Ci.duration,Fi=Ci.endInput,Mi=Ci.relativeTimeId,Ti={duration:Si,period:vi(Si,Fi),relativeTime:Mi,timezone:ki};function Oi(e,t){switch(t.type){case"SET_DURATION":return Mr(Mr({},e),{},{duration:t.payload,period:vi(t.payload,yi(e.period.end)),relativeTime:"none"});case"SET_RELATIVE_TIME":return Mr(Mr({},e),{},{duration:t.payload.duration,period:vi(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 gi(t)}(t.payload);return Mr(Mr({},e),{},{duration:n,period:vi(n,t.payload.to),relativeTime:"none"});case"RUN_QUERY":var r=bi({relativeTimeId:e.relativeTime,defaultDuration:e.duration,defaultEndInput:yi(e.period.end)}),i=r.duration,o=r.endInput;return Mr(Mr({},e),{},{period:vi(i,o)});case"RUN_QUERY_TO_NOW":return Mr(Mr({},e),{},{period:vi(e.duration)});case"SET_TIMEZONE":return Ai(t.payload),zr("TIMEZONE",t.payload),Mr(Mr({},e),{},{timezone:t.payload});default:throw new Error}}var Pi=U({}),Bi=function(){return fe(Pi).state},Ni=function(e){var t=e.map((function(e){return e.values[e.index]})),n=function(e){var t=Hr(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()})),zr("QUERY_HISTORY",JSON.stringify(n))},Li=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"),"")}))}(),$i={query:Li,queryHistory:Li.map((function(e){return{index:0,values:[e]}})),autocomplete:Hr("AUTOCOMPLETE")||!1};function Ri(e,t){switch(t.type){case"SET_QUERY":return Mr(Mr({},e),{},{query:t.payload.map((function(e){return e}))});case"SET_QUERY_HISTORY":return Ni(t.payload),Mr(Mr({},e),{},{queryHistory:t.payload});case"SET_QUERY_HISTORY_BY_INDEX":return e.queryHistory.splice(t.payload.queryNumber,1,t.payload.value),Mr(Mr({},e),{},{queryHistory:e.queryHistory});case"TOGGLE_AUTOCOMPLETE":return zr("AUTOCOMPLETE",!e.autocomplete),Mr(Mr({},e),{},{autocomplete:!e.autocomplete});default:throw new Error}}var ji=U({}),Ii=function(){return ei("svg",{viewBox:"0 0 74 24",fill:"currentColor",children:ei("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"})})},zi=function(){return ei("svg",{viewBox:"0 0 85 38",fill:"currentColor",children:[ei("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"}),ei("defs",{children:ei("path",{d:"M0 0h85v38H0z"})})]})},Hi=function(){return ei("svg",{viewBox:"0 0 15 17",fill:"currentColor",children:ei("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"})})},Ui=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:ei("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"})})},Vi=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:ei("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"})})},Wi=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:ei("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"})})},Zi=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:ei("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"})})},Yi=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:ei("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"})})},qi=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:ei("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"})})},Gi=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:ei("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"})})},Qi=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:ei("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"})})},Ji=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:ei("path",{d:"m7 10 5 5 5-5z"})})},Ki=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:ei("path",{d:"M8 5v14l11-7z"})})},Xi=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:ei("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"})})},eo=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:ei("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"})})},to=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:ei("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"})})},no=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:ei("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"})})},ro=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:ei("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"})})},io=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:ei("path",{d:"M20 9H4v2h16V9zM4 15h16v-2H4v2z"})})},oo=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:[ei("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"}),ei("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"}),ei("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"})]})},ao=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:ei("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"})})},uo=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:ei("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"})})},lo=function(){return ei("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:ei("path",{d:"M3 14h4v-4H3v4zm0 5h4v-4H3v4zM3 9h4V5H3v4zm5 5h13v-4H8v4zm0 5h13v-4H8v4zM8 5v4h13V5H8z"})})},co=function(){return ei("svg",{viewBox:"0 0 16 16",fill:Zr("color-error"),children:ei("path",{d:"M13.5095 4L8.50952 1H7.50952L2.50952 4L2.01953 4.85999V10.86L2.50952 11.71L7.50952 14.71H8.50952L13.5095 11.71L13.9995 10.86V4.85999L13.5095 4ZM7.50952 13.5601L3.00952 10.86V5.69995L7.50952 8.15002V13.5601ZM3.26953 4.69995L8.00952 1.85999L12.7495 4.69995L8.00952 7.29004L3.26953 4.69995ZM13.0095 10.86L8.50952 13.5601V8.15002L13.0095 5.69995V10.86Z"})})},so=function(){return ei("svg",{viewBox:"0 0 16 16",fill:Zr("color-primary"),children:ei("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 5H4V4H1.5L1 4.5V12.5L1.5 13H4V12H2V5ZM14.5 4H12V5H14V12H12V13H14.5L15 12.5V4.5L14.5 4ZM11.76 6.56995L12 7V9.51001L11.7 9.95996L7.19995 11.96H6.73999L4.23999 10.46L4 10.03V7.53003L4.30005 7.06995L8.80005 5.06995H9.26001L11.76 6.56995ZM5 9.70996L6.5 10.61V9.28003L5 8.38V9.70996ZM5.57996 7.56006L7.03003 8.43005L10.42 6.93005L8.96997 6.06006L5.57996 7.56006ZM7.53003 10.73L11.03 9.17004V7.77002L7.53003 9.31995V10.73Z"})})},fo=function(){return ei("svg",{viewBox:"0 0 16 16",fill:Zr("color-warning"),children:ei("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2H8L7 3V6H8V3H14V8H10V9H14L15 8V3L14 2ZM9 6H13V7H9.41L9 6.59V6ZM7 7H2L1 8V13L2 14H8L9 13V8L8 7H7ZM8 13H2V8H8V9V13ZM3 9H7V10H3V9ZM3 11H7V12H3V11ZM9 4H13V5H9V4Z"})})},po=function(){return ei("svg",{viewBox:"0 0 16 16",fill:Zr("color-primary"),children:ei("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 3L8 2H14L15 3V8L14 9H10V8H14V3H8V6H7V3ZM9 9V8L8 7H7H2L1 8V13L2 14H8L9 13V9ZM8 8V9V13H2V8H7H8ZM9.41421 7L9 6.58579V6H13V7H9.41421ZM9 4H13V5H9V4ZM7 10H3V11H7V10Z"})})},ho=n(123),vo=n.n(ho);function mo(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var go=["to","isNavLink","children"],yo=function(e){var t=e.to,n=e.isNavLink,r=e.children,i=mo(e,go);return n?ei(Ar,Mr(Mr({to:t},i),{},{children:r})):ei("div",Mr(Mr({},i),{},{children:r}))},_o=function(e){var t,n=e.activeItem,r=e.item,i=e.color,o=void 0===i?Zr("color-primary"):i,a=e.activeNavRef,u=e.onChange,l=e.isNavLink;return ei(yo,{className:vo()(Sr({"vm-tabs-item":!0,"vm-tabs-item_active":n===r.value},r.className||"",r.className)),isNavLink:l,to:r.value,style:{color:o},onClick:(t=r.value,function(){u&&u(t)}),ref:n===r.value?a:void 0,children:[r.icon&&ei("div",{className:vo()({"vm-tabs-item__icon":!0,"vm-tabs-item__icon_single":!r.label}),children:r.icon}),r.label]})},bo="undefined"!==typeof window?ae:oe;var Do=function(e,t,n,r){var i=ue(t);bo((function(){i.current=t}),[t]),oe((function(){var t,o=null!==(t=null===n||void 0===n?void 0:n.current)&&void 0!==t?t:window;if(o&&o.addEventListener){var a=function(e){return i.current(e)};return o.addEventListener(e,a,r),function(){o.removeEventListener(e,a,r)}}}),[e,n,r])},wo=function(){var e=Rt(re({width:0,height:0}),2),t=e[0],n=e[1],r=function(){n({width:window.innerWidth,height:window.innerHeight})};return Do("resize",r),bo(r,[]),t},Ao=function(e){var t=e.activeItem,n=e.items,r=e.color,i=void 0===r?Zr("color-primary"):r,o=e.onChange,a=e.indicatorPlacement,u=void 0===a?"bottom":a,l=e.isNavLink,c=wo(),s=ue(null),f=Rt(re({left:0,width:0,bottom:0}),2),p=f[0],h=f[1];return oe((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,i=t.offsetHeight;h({left:n,width:r,bottom:"top"===u?i-2:0})}}),[c,t,s,n]),ei("div",{className:"vm-tabs",children:[n.map((function(e){return ei(_o,{activeItem:t,item:e,onChange:o,color:i,activeNavRef:s,isNavLink:l},e.value)})),ei("div",{className:"vm-tabs__indicator",style:Mr(Mr({},p),{},{borderColor:i})})]})},ko=[{value:"chart",icon:ei(Xi,{}),label:"Graph",prometheusCode:0},{value:"code",icon:ei(to,{}),label:"JSON",prometheusCode:3},{value:"table",icon:ei(eo,{}),label:"Table",prometheusCode:1}],xo=Ir("g0.tab",0),Eo=ko.find((function(e){return e.prometheusCode===+xo||e.value===xo})),Co=Hr("SERIES_LIMITS"),So={displayType:(null===Eo||void 0===Eo?void 0:Eo.value)||"chart",nocache:!1,isTracingEnabled:!1,seriesLimits:Co?JSON.parse(Co):jr,tableCompact:Hr("TABLE_COMPACT")||!1};function Fo(e,t){switch(t.type){case"SET_DISPLAY_TYPE":return Mr(Mr({},e),{},{displayType:t.payload});case"SET_SERIES_LIMITS":return zr("SERIES_LIMITS",JSON.stringify(t.payload)),Mr(Mr({},e),{},{seriesLimits:t.payload});case"TOGGLE_QUERY_TRACING":return Mr(Mr({},e),{},{isTracingEnabled:!e.isTracingEnabled});case"TOGGLE_NO_CACHE":return Mr(Mr({},e),{},{nocache:!e.nocache});case"TOGGLE_TABLE_COMPACT":return zr("TABLE_COMPACT",!e.tableCompact),Mr(Mr({},e),{},{tableCompact:!e.tableCompact});default:throw new Error}}var Mo=U({}),To={customStep:Ir("g0.step_input",""),yaxis:{limits:{enable:!1,range:{1:[0,0]}}},isHistogram:!1};function Oo(e,t){switch(t.type){case"TOGGLE_ENABLE_YAXIS_LIMITS":return Mr(Mr({},e),{},{yaxis:Mr(Mr({},e.yaxis),{},{limits:Mr(Mr({},e.yaxis.limits),{},{enable:!e.yaxis.limits.enable})})});case"SET_CUSTOM_STEP":return Mr(Mr({},e),{},{customStep:t.payload});case"SET_YAXIS_LIMITS":return Mr(Mr({},e),{},{yaxis:Mr(Mr({},e.yaxis),{},{limits:Mr(Mr({},e.yaxis.limits),{},{range:t.payload})})});case"SET_IS_HISTOGRAM":return Mr(Mr({},e),{},{isHistogram:t.payload});default:throw new Error}}var Po=U({}),Bo={windows:"Windows",mac:"Mac OS",linux:"Linux"},No=function(){return(Object.values(Bo).find((function(e){return navigator.userAgent.indexOf(e)>=0}))||"unknown")===Bo.mac};function Lo(){var e=wo(),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=Rt(re(t()),2),r=n[0],i=n[1];return oe((function(){i(t())}),[e]),{isMobile:r}}var $o={success:ei(Gi,{}),error:ei(qi,{}),warning:ei(Yi,{}),info:ei(Zi,{})},Ro=function(e){var t,n=e.variant,r=e.children,i=ni().isDarkTheme,o=Lo().isMobile;return ei("div",{className:vo()((t={"vm-alert":!0},Sr(t,"vm-alert_".concat(n),n),Sr(t,"vm-alert_dark",i),Sr(t,"vm-alert_mobile",o),t)),children:[ei("div",{className:"vm-alert__icon",children:$o[n||"info"]}),ei("div",{className:"vm-alert__content",children:r})]})},jo=U({showInfoMessage:function(){}}),Io={dashboardsSettings:[],dashboardsLoading:!1,dashboardsError:""};function zo(e,t){switch(t.type){case"SET_DASHBOARDS_SETTINGS":return Mr(Mr({},e),{},{dashboardsSettings:t.payload});case"SET_DASHBOARDS_LOADING":return Mr(Mr({},e),{},{dashboardsLoading:t.payload});case"SET_DASHBOARDS_ERROR":return Mr(Mr({},e),{},{dashboardsError:t.payload});default:throw new Error}}var Ho=U({}),Uo=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 ei(e,{children:ei(t,{children:r})})}}),(function(e){return ei(_,{children:e.children})}))}.apply(void 0,[function(e){var t=e.children,n=Rt(ie(Kr,ii),2),r=n[0],i=n[1],o=ce((function(){return{state:r,dispatch:i}}),[r,i]);return ei(ti.Provider,{value:o,children:t})},function(e){var t=e.children,n=Rt(ie(Oi,Ti),2),r=n[0],i=n[1],o=ce((function(){return{state:r,dispatch:i}}),[r,i]);return ei(Pi.Provider,{value:o,children:t})},function(e){var t=e.children,n=Rt(ie(Ri,$i),2),r=n[0],i=n[1],o=ce((function(){return{state:r,dispatch:i}}),[r,i]);return ei(ji.Provider,{value:o,children:t})},function(e){var t=e.children,n=Rt(ie(Fo,So),2),r=n[0],i=n[1],o=ce((function(){return{state:r,dispatch:i}}),[r,i]);return ei(Mo.Provider,{value:o,children:t})},function(e){var t=e.children,n=Rt(ie(Oo,To),2),r=n[0],i=n[1],o=ce((function(){return{state:r,dispatch:i}}),[r,i]);return ei(Po.Provider,{value:o,children:t})},function(e){var t=e.children,n=Lo().isMobile,r=Rt(re({}),2),i=r[0],o=r[1],a=Rt(re(!1),2),u=a[0],l=a[1],c=Rt(re(void 0),2),s=c[0],f=c[1];oe((function(){if(s){o({message:s.text,variant:s.type,key:Date.now()}),l(!0);var e=setTimeout(p,4e3);return function(){return clearTimeout(e)}}}),[s]);var p=function(){f(void 0),l(!1)};return ei(jo.Provider,{value:{showInfoMessage:f},children:[u&&ei("div",{className:vo()({"vm-snackbar":!0,"vm-snackbar_mobile":n}),children:ei(Ro,{variant:i.variant,children:ei("div",{className:"vm-snackbar-content",children:[ei("span",{children:i.message}),ei("div",{className:"vm-snackbar-content__close",onClick:p,children:ei(Vi,{})})]})})}),t]})},function(e){var t=e.children,n=Rt(ie(zo,Io),2),r=n[0],i=n[1],o=ce((function(){return{state:r,dispatch:i}}),[r,i]);return ei(Ho.Provider,{value:o,children:t})}]),Vo={"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)"},Wo={"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)"},Zo=function(){var e=Rt(re(qr()),2),t=e[0],n=e[1],r=function(e){n(e.matches)};return oe((function(){var e=window.matchMedia("(prefers-color-scheme: dark)");return e.addEventListener("change",r),function(){return e.removeEventListener("change",r)}}),[]),t},Yo=["primary","secondary","error","warning","info","success"],qo=function(e){var t,n=e.onLoaded,r=Or(),i=Tr().palette,o=void 0===i?{}:i,a=ni().theme,u=Zo(),l=ri(),c=wo(),s=Rt(re((Sr(t={},Wr.dark,Vo),Sr(t,Wr.light,Wo),Sr(t,Wr.system,qr()?Vo:Wo),t)),2),f=s[0],p=s[1],h=function(){var e=window,t=e.innerWidth,n=e.innerHeight,r=document.documentElement,i=r.clientWidth,o=r.clientHeight;Yr("scrollbar-width","".concat(t-i,"px")),Yr("scrollbar-height","".concat(n-o,"px")),Yr("vh","".concat(.01*n,"px"))},d=function(){Yo.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)));Yr("".concat(e,"-text"),r),t===Yo.length-1&&(l({type:"SET_DARK_THEME"}),n(!0))}))},v=function(){var e=Hr("THEME")||Wr.system,t=f[e];Object.entries(t).forEach((function(e){var t=Rt(e,2),n=t[0],r=t[1];Yr(n,r)})),d(),r&&(Yo.forEach((function(e){var t=o[e];t&&Yr("color-".concat(e),t)})),d())};return oe((function(){h(),v()}),[f]),oe(h,[c]),oe((function(){var e=qr()?Vo:Wo;f[Wr.system]!==e?p((function(t){return Mr(Mr({},t),{},Sr({},Wr.system,e))})):v()}),[a,u]),oe((function(){r&&l({type:"SET_THEME",payload:Wr.light})}),[]),null};function Go(){Go=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new M(r||[]);return i(a,"_invoke",{value:E(e,n,u)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",v="completed",m={};function g(){}function y(){}function _(){}var b={};c(b,a,(function(){return this}));var D=Object.getPrototypeOf,w=D&&D(D(T([])));w&&w!==n&&r.call(w,a)&&(b=w);var A=_.prototype=g.prototype=Object.create(b);function k(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(i,o,a,u){var l=f(e[i],e,o);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==Ht(s)&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(s).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,u)}))}u(l.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function E(t,n,r){var i=p;return function(o,a){if(i===d)throw new Error("Generator is already running");if(i===v){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var u=r.delegate;if(u){var l=C(u,r);if(l){if(l===m)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===p)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=d;var c=f(t,n,r);if("normal"===c.type){if(i=r.done?v:h,c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=v,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=f(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}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 F(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(Ht(t)+" is not iterable")}return y.prototype=_,i(A,"constructor",{value:_,configurable:!0}),i(_,"constructor",{value:y,configurable:!0}),y.displayName=c(_,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,c(e,l,"GeneratorFunction")),e.prototype=Object.create(A),e},t.awrap=function(e){return{__await:e}},k(x.prototype),c(x.prototype,u,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new x(s(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(A),c(A,l,"Generator"),c(A,a,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),t.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}},t.values=T,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(F),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):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),m},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),F(n),m}},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 i=r.arg;F(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function Qo(e,t,n,r,i,o,a){try{var u=e[o](a),l=u.value}catch(c){return void n(c)}u.done?t(l):Promise.resolve(l).then(r,i)}function Jo(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Qo(o,r,i,a,u,"next",e)}function u(e){Qo(o,r,i,a,u,"throw",e)}a(void 0)}))}}var Ko=function(){var e=fe(jo).showInfoMessage;return function(){var t=Jo(Go().mark((function t(n,r){var i;return Go().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==(i=navigator)&&void 0!==i&&i.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)}}()},Xo=function(e){var t,n=e.variant,r=void 0===n?"contained":n,i=e.color,o=void 0===i?"primary":i,a=e.size,u=void 0===a?"medium":a,l=e.ariaLabel,c=e.children,s=e.endIcon,f=e.startIcon,p=e.fullWidth,h=void 0!==p&&p,d=e.className,v=e.disabled,m=e.onClick,g=e.onMouseDown;return ei("button",{className:vo()((Sr(t={"vm-button":!0},"vm-button_".concat(r,"_").concat(o),!0),Sr(t,"vm-button_".concat(u),u),Sr(t,"vm-button_icon",(f||s)&&!c),Sr(t,"vm-button_full-width",h),Sr(t,"vm-button_with-icon",f||s),Sr(t,"vm-button_disabled",v),Sr(t,d||"",d),t)),disabled:v,"aria-label":l,onClick:m,onMouseDown:g,children:ei(_,{children:[f&&ei("span",{className:"vm-button__start-icon",children:f}),c&&ei("span",{children:c}),s&&ei("span",{className:"vm-button__end-icon",children:s})]})})},ea=function(e){var t=e.data,n=Ko(),r=ce((function(){return JSON.stringify(t,null,2)}),[t]),i=function(){var e=Jo(Go().mark((function e(){return Go().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 ei("div",{className:"vm-json-view",children:[ei("div",{className:"vm-json-view__copy",children:ei(Xo,{variant:"outlined",onClick:i,children:"Copy JSON"})}),ei("pre",{className:"vm-json-view__code",children:ei("code",{children:r})})]})},ta=function(e){var t=e.children,n=e.title,r=e.open,i=e.placement,o=void 0===i?"bottom-center":i,a=e.offset,u=void 0===a?{top:6,left:0}:a,l=Lo().isMobile,c=Rt(re(!1),2),s=c[0],f=c[1],p=Rt(re({width:0,height:0}),2),h=p[0],d=p[1],v=ue(null),m=ue(null),g=function(){return f(!1)};oe((function(){if(m.current&&s)return d({width:m.current.clientWidth,height:m.current.clientHeight}),window.addEventListener("scroll",g),function(){window.removeEventListener("scroll",g)}}),[s,n]);var y=ce((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},i="bottom-right"===o||"top-right"===o,a="bottom-left"===o||"top-left"===o,l=null===o||void 0===o?void 0:o.includes("top"),c=(null===u||void 0===u?void 0:u.top)||0,f=(null===u||void 0===u?void 0:u.left)||0;r.left=n.left-(h.width-n.width)/2+f,r.top=n.height+n.top+c,i&&(r.left=n.right-h.width),a&&(r.left=n.left+f),l&&(r.top=n.top-h.height-c);var p=window,d=p.innerWidth,m=p.innerHeight,g=r.top+h.height+20>m,y=r.top-20<0,_=r.left+h.width+20>d,b=r.left-20<0;return g&&(r.top=n.top-h.height-c),y&&(r.top=n.height+n.top+c),_&&(r.left=n.right-h.width-f),b&&(r.left=n.left+f),r.top<0&&(r.top=20),r.left<0&&(r.left=20),r}),[v,o,s,h]),b=function(){"boolean"!==typeof r&&f(!0)},D=function(){f(!1)};return oe((function(){"boolean"===typeof r&&f(r)}),[r]),oe((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",D),function(){t.removeEventListener("mouseenter",b),t.removeEventListener("mouseleave",D)}}),[v]),ei(_,{children:[ei(_,{ref:v,children:t}),!l&&s&&xt.createPortal(ei("div",{className:"vm-tooltip",ref:m,style:y,children:n}),document.body)]})},na=function(e){var t=Rt(re(!!e),2),n=t[0],r=t[1],i=se((function(){return r(!0)}),[]),o=se((function(){return r(!1)}),[]),a=se((function(){return r((function(e){return!e}))}),[]);return{value:n,setValue:r,setTrue:i,setFalse:o,toggle:a}},ra=function(e,t,n){var r=se((function(r){var i=null===e||void 0===e?void 0:e.current,o=r.target,a=(null===n||void 0===n?void 0:n.current)&&n.current.contains(o);!i||i.contains((null===r||void 0===r?void 0:r.target)||null)||a||t(r)}),[e,t]);Do("mousedown",r),Do("touchstart",r)},ia=function(e){var t=e.children,n=e.buttonRef,r=e.placement,i=void 0===r?"bottom-left":r,o=e.open,a=void 0!==o&&o,u=e.onClose,l=e.offset,c=void 0===l?{top:6,left:0}:l,s=e.clickOutside,f=void 0===s||s,p=e.fullWidth,h=e.title,d=e.disabledFullScreen,v=Lo().isMobile,m=Yn(),g=Wn(),y=Rt(re({width:0,height:0}),2),b=y[0],D=y[1],w=na(!1),A=w.value,k=w.setValue,x=w.setFalse,E=ue(null);oe((function(){k(a)}),[a]),oe((function(){return!A&&u&&u(),A&&v&&!d&&(document.body.style.overflow="hidden"),function(){document.body.style.overflow="auto"}}),[A]),oe((function(){var e,t;D({width:(null===E||void 0===E||null===(e=E.current)||void 0===e?void 0:e.clientWidth)||0,height:(null===E||void 0===E||null===(t=E.current)||void 0===t?void 0:t.clientHeight)||0}),k(!1)}),[E]);var C=ce((function(){var e=n.current;if(!e||!A)return{};var t=e.getBoundingClientRect(),r={top:0,left:0,width:"auto"},o="bottom-right"===i||"top-right"===i,a=null===i||void 0===i?void 0:i.includes("top"),u=(null===c||void 0===c?void 0:c.top)||0,l=(null===c||void 0===c?void 0:c.left)||0;r.left=r.left=t.left+l,r.top=t.height+t.top+u,o&&(r.left=t.right-b.width),a&&(r.top=t.top-b.height-u);var s=window,f=s.innerWidth,h=s.innerHeight,d=r.top+b.height+20>h,v=r.top-20<0,m=r.left+b.width+20>f,g=r.left-20<0;return d&&(r.top=t.top-b.height-u),v&&(r.top=t.height+t.top+u),m&&(r.left=t.right-b.width-l),g&&(r.left=t.left+l),p&&(r.width="".concat(t.width,"px")),r.top<0&&(r.top=20),r}),[n,i,A,t,p]);f&&ra(E,(function(){return k(!1)}),n),oe((function(){if(E.current&&A&&(!v||d)){var e=E.current.getBoundingClientRect(),t=e.right,n=e.width;if(t>window.innerWidth){var r=window.innerWidth-20-n;E.current.style.left=r<window.innerWidth?"0":"".concat(r,"px")}}}),[A,E]);var S=se((function(){A&&v&&!d&&(m(g,{replace:!0}),u())}),[A,v,d,g,u]);return Do("scroll",x),Do("popstate",S),ei(_,{children:(A||!b.width)&&xt.createPortal(ei("div",{className:vo()({"vm-popper":!0,"vm-popper_mobile":v&&!d,"vm-popper_open":(v||Object.keys(C).length)&&A}),ref:E,style:v&&!d?{}:C,children:[(h||v&&!d)&&ei("div",{className:"vm-popper-header",children:[ei("p",{className:"vm-popper-header__title",children:h}),ei(Xo,{variant:"text",size:"small",onClick:function(e){e.stopPropagation(),u()},ariaLabel:"close",children:ei(Vi,{})})]}),t]}),document.body)})},oa=[10,25,50,100,250,500,1e3],aa=function(e){var t=e.limit,n=e.tooltip,r=e.onChange,i=Lo().isMobile,o=n||"Rows per page",a=ue(null),u=na(!1),l=u.value,c=u.toggle,s=u.setFalse,f=function(e){return function(){r(e),s()}};return ei(_,{children:[ei(ta,{title:o,children:ei("div",{ref:a,children:ei(Xo,{variant:"text",endIcon:ei(Ji,{}),onClick:c,children:t})})}),ei(ia,{open:l,onClose:s,placement:"bottom-right",buttonRef:a,children:ei("div",{className:"vm-select-limits",children:oa.map((function(e){return ei("div",{className:vo()({"vm-list-item":!0,"vm-list-item_mobile":i,"vm-list-item_active":e===t}),onClick:f(e),children:e},e)}))})})]})},ua=function(e,t){var n=Rt(Cr(),1)[0],r=n.get(t)?n.get(t):e,i=Rt(re(r),2),o=i[0],a=i[1];return oe((function(){r!==o&&a(r)}),[r]),[o,a]},la=function(){var e=Yn(),t=Rt(Cr(),2),n=t[0],r=t[1];return{setSearchParamsFromKeys:se((function(t){var i=!!Array.from(n.values()).length,o=!1;Object.entries(t).forEach((function(e){var t=Rt(e,2),r=t[0],i=t[1];n.get(r)!=="".concat(i)&&(n.set(r,"".concat(i)),o=!0)})),o&&(i?r(n):e("?".concat(n.toString()),{replace:!0}))}),[n,e])}},ca=function(e){var t,n=e.checked,r=void 0!==n&&n,i=e.disabled,o=void 0!==i&&i,a=e.label,u=e.color,l=void 0===u?"secondary":u,c=e.onChange;return ei("div",{className:vo()((Sr(t={"vm-checkbox":!0,"vm-checkbox_disabled":o,"vm-checkbox_active":r},"vm-checkbox_".concat(l,"_active"),r),Sr(t,"vm-checkbox_".concat(l),l),t)),onClick:function(){o||c(!r)},children:[ei("div",{className:"vm-checkbox-track",children:ei("div",{className:"vm-checkbox-track__thumb",children:ei(no,{})})}),a&&ei("span",{className:"vm-checkbox__label",children:a})]})},sa=function(e){var t,n=e.value,r=void 0!==n&&n,i=e.disabled,o=void 0!==i&&i,a=e.label,u=e.color,l=void 0===u?"secondary":u,c=e.fullWidth,s=e.onChange;return ei("div",{className:vo()((Sr(t={"vm-switch":!0,"vm-switch_full-width":c,"vm-switch_disabled":o,"vm-switch_active":r},"vm-switch_".concat(l,"_active"),r),Sr(t,"vm-switch_".concat(l),l),t)),onClick:function(){o||s(!r)},children:[ei("div",{className:"vm-switch-track",children:ei("div",{className:"vm-switch-track__thumb"})}),a&&ei("span",{className:"vm-switch__label",children:a})]})};var fa="Table settings",pa=function(e){var t=e.columns,n=e.defaultColumns,r=void 0===n?[]:n,i=e.tableCompact,o=e.onChangeColumns,a=e.toggleTableCompact,u=Lo().isMobile,l=ue(null),c=na(!1),s=c.value,f=c.toggle,p=c.setFalse,h=ce((function(){return!t.length}),[t]),d=function(e){return function(){!function(e){o(r.includes(e)?r.filter((function(t){return t!==e})):[].concat(It(r),[e]))}(e)}};return oe((function(){(function(e,t){return e.length===t.length&&e.every((function(e,n){return e===t[n]}))})(t,r)||o(t)}),[t]),ei("div",{className:"vm-table-settings",children:[ei(ta,{title:fa,children:ei("div",{ref:l,children:ei(Xo,{variant:"text",startIcon:ei(Ui,{}),onClick:f,disabled:h,ariaLabel:"table settings"})})}),ei(ia,{open:s,onClose:p,placement:"bottom-right",buttonRef:l,title:fa,children:ei("div",{className:vo()({"vm-table-settings-popper":!0,"vm-table-settings-popper_mobile":u}),children:[ei("div",{className:"vm-table-settings-popper-list vm-table-settings-popper-list_first",children:ei(sa,{label:"Compact view",value:i,onChange:a})}),ei("div",{className:"vm-table-settings-popper-list",children:[ei("div",{className:"vm-table-settings-popper-list-header",children:[ei("h3",{className:"vm-table-settings-popper-list-header__title",children:"Display columns"}),ei(ta,{title:"Reset to default",children:ei(Xo,{color:"primary",variant:"text",size:"small",onClick:function(){p(),o(t)},startIcon:ei(Wi,{}),ariaLabel:"reset columns"})})]}),t.map((function(e){return ei("div",{className:"vm-table-settings-popper-list__item",children:ei(ca,{checked:r.includes(e),onChange:d(e),label:e,disabled:i})},e)}))]})]})})]})},ha=["date","timestamp","time"];function da(e,t,n){var r=e[n],i=t[n],o=ha.includes("".concat(n))?Ct()("".concat(r)).unix():r,a=ha.includes("".concat(n))?Ct()("".concat(i)).unix():i;return a<o?-1:a>o?1:0}var va,ma,ga,ya=function(e){var t=e.rows,n=e.columns,r=e.defaultOrderBy,i=e.copyToClipboard,o=e.paginationOffset,a=Rt(re(r),2),u=a[0],l=a[1],c=Rt(re("desc"),2),s=c[0],f=c[1],p=Rt(re(null),2),h=p[0],d=p[1],v=ce((function(){var e=o.startIndex,n=o.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 da(e,n,t)}:function(e,n){return-da(e,n,t)}}(s,u)).slice(e,n)}),[t,u,s,o]),m=function(e,t){return Jo(Go().mark((function n(){return Go().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(h!==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:d(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 oe((function(){if(null!==h){var e=setTimeout((function(){return d(null)}),2e3);return function(){return clearTimeout(e)}}}),[h]),ei("table",{className:"vm-table",children:[ei("thead",{className:"vm-table-header",children:ei("tr",{className:"vm-table__row vm-table__row_header",children:[n.map((function(e){return ei("th",{className:"vm-table-cell vm-table-cell_header vm-table-cell_sort",onClick:(t=e.key,function(){f((function(e){return"asc"===e&&u===t?"desc":"asc"})),l(t)}),children:ei("div",{className:"vm-table-cell__content",children:[ei("div",{children:String(e.title||e.key)}),ei("div",{className:vo()({"vm-table__sort-icon":!0,"vm-table__sort-icon_active":u===e.key,"vm-table__sort-icon_desc":"desc"===s&&u===e.key}),children:ei(Ji,{})})]})},String(e.key));var t})),i&&ei("th",{className:"vm-table-cell vm-table-cell_header"})]})}),ei("tbody",{className:"vm-table-body",children:v.map((function(e,t){return ei("tr",{className:"vm-table__row",children:[n.map((function(t){return ei("td",{className:vo()(Sr({"vm-table-cell":!0},"".concat(t.className),t.className)),children:e[t.key]||"-"},String(t.key))})),i&&ei("td",{className:"vm-table-cell vm-table-cell_right",children:e[i]&&ei("div",{className:"vm-table-cell__content",children:ei(ta,{title:h===t?"Copied":"Copy row",children:ei(Xo,{variant:"text",color:h===t?"success":"gray",size:"small",startIcon:ei(h===t?no:ro,{}),onClick:m(e[i],t),ariaLabel:"copy row"})})})})]},t)}))})]})},_a=function(e){var t=e.page,n=e.length,r=e.limit,i=e.onChange,o=Lo().isMobile,a=function(e){return function(){i(+t+e),window.scrollTo(0,0)}};return ei("div",{className:vo()({"vm-pagination":!0,"vm-pagination_mobile":o}),children:[t>1&&ei(Xo,{variant:"text",onClick:a(-1),startIcon:ei("div",{className:"vm-pagination__icon vm-pagination__icon_prev",children:ei(Qi,{})}),children:"Previous"}),n>=r&&ei(Xo,{variant:"text",onClick:a(1),endIcon:ei("div",{className:"vm-pagination__icon vm-pagination__icon_next",children:ei(Qi,{})}),children:"Next"})]})},ba=function(e){var t=e.logs,n=e.limitRows,r=e.displayColumns,i=e.tableCompact,o=e.columns,a=la().setSearchParamsFromKeys,u=Rt(ua(1,"page"),2),l=u[0],c=u[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=ce((function(){var e=(l-1)*Number(n);return{startIndex:e,endIndex:e+Number(n)}}),[l,n]),p=ce((function(){return i?[{key:"data",title:"Data",className:s("data")}]:o.map((function(e){return{key:e,title:e,className:s(e)}}))}),[i,o]),h=ce((function(){return null===r||void 0===r||!r.length||i?p:p.filter((function(e){return r.includes(e.key)}))}),[p,r,i]);return ei(_,{children:[ei(ya,{rows:t,columns:h,defaultOrderBy:"time",copyToClipboard:"data",paginationOffset:f}),ei(_a,{page:l,limit:+n,length:t.slice(f.startIndex,f.endIndex).length,onChange:function(e){c(e),a({page:e})}})]})},Da=function(e){var t=e.defaultExpanded,n=void 0!==t&&t,r=e.onChange,i=e.title,o=e.children,a=Rt(re(n),2),u=a[0],l=a[1];return oe((function(){r&&r(u)}),[u]),ei(_,{children:[ei("header",{className:"vm-accordion-header ".concat(u&&"vm-accordion-header_open"),onClick:function(){l((function(e){return!e}))},children:[i,ei("div",{className:"vm-accordion-header__arrow ".concat(u&&"vm-accordion-header__arrow_open"),children:ei(Qi,{})})]}),u&&ei("section",{className:"vm-accordion-section",children:o},"content")]})},wa=function(e){var t=e.logs,n=e.columns,r=ce((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=Rt(e,2),n=t[0],r=t[1];return{keys:n.split("|"),values:r}}))}(t,r)}),[t]);return ei("div",{className:"vm-explore-logs-body-content",children:r.map((function(e){return ei("div",{className:"vm-explore-logs-body-content-group",children:ei(Da,{defaultExpanded:!0,title:ei("div",{className:"vm-explore-logs-body-content-group-keys",children:[ei("span",{className:"vm-explore-logs-body-content-group-keys__title",children:"Group by:"}),e.keys.map((function(e){return ei("div",{className:"vm-explore-logs-body-content-group-keys__key",children:e},e)}))]}),children:ei("div",{className:"vm-explore-logs-body-content-group-rows",children:e.values.map((function(e){return ei("div",{className:"vm-explore-logs-body-content-group-rows-item",children:[ei("div",{className:"vm-explore-logs-body-content-group-rows-item__time",children:e.time}),ei("div",{className:"vm-explore-logs-body-content-group-rows-item__msg",children:e._msg})]},"".concat(e._msg).concat(e._time))}))})})},e.keys.join(""))}))})},Aa=function(e){return e.group="group",e.table="table",e.json="json",e}(Aa||{}),ka=[{label:"Group",value:Aa.group,icon:ei(lo,{})},{label:"Table",value:Aa.table,icon:ei(eo,{})},{label:"JSON",value:Aa.json,icon:ei(to,{})}],xa=function(e){var t=e.data,n=e.loaded,r=Lo().isMobile,i=Bi().timezone,o=la().setSearchParamsFromKeys,a=Rt(ua(Hr("LOGS_LIMIT")||50,"limit"),2),u=a[0],l=a[1],c=Rt(ua(Aa.group,"view"),2),s=c[0],f=c[1],p=Rt(re([]),2),h=p[0],d=p[1],v=na(!1),m=v.value,g=v.toggle,y=ce((function(){return t.map((function(e){return Mr({time:Ct()(e._time).tz().format("MMM DD, YYYY \nHH:mm:ss.SSS"),data:JSON.stringify(e,null,2)},e)}))}),[t,i]),b=ce((function(){if(null===y||void 0===y||!y.length)return[];var e,t=["data","_time"],n=new Set,r=en(y);try{for(r.s();!(e=r.n()).done;){var i=e.value;for(var o in i)n.add(o)}}catch(a){r.e(a)}finally{r.f()}return Array.from(n).filter((function(e){return!t.includes(e)}))}),[y]);return ei("div",{className:vo()({"vm-explore-logs-body":!0,"vm-block":!0,"vm-block_mobile":r}),children:[ei("div",{className:vo()({"vm-explore-logs-body-header":!0,"vm-section-header":!0,"vm-explore-logs-body-header_mobile":r}),children:[ei("div",{className:"vm-section-header__tabs",children:ei(Ao,{activeItem:String(s),items:ka,onChange:function(e){f(e),o({view:e})}})}),s===Aa.table&&ei("div",{className:"vm-explore-logs-body-header__settings",children:[ei(aa,{limit:+u,onChange:function(e){l(e),o({limit:e}),zr("LOGS_LIMIT","".concat(e))}}),ei(pa,{columns:b,defaultColumns:h,onChangeColumns:d,tableCompact:m,toggleTableCompact:g})]})]}),ei("div",{className:vo()({"vm-explore-logs-body__table":!0,"vm-explore-logs-body__table_mobile":r}),children:[!t.length&&ei("div",{className:"vm-explore-logs-body__empty",children:n?"No logs found":"Run query to see logs"}),!!t.length&&ei(_,{children:[s===Aa.table&&ei(ba,{logs:y,limitRows:+u,displayColumns:h,tableCompact:m,columns:b}),s===Aa.group&&ei(wa,{logs:y,columns:b}),s===Aa.json&&ei(ea,{data:t})]})]})]})},Ea=1e3,Ca=function(e){var t=e.containerStyles,n=void 0===t?{}:t,r=e.message,i=ni().isDarkTheme;return ei("div",{className:vo()({"vm-spinner":!0,"vm-spinner_dark":i}),style:n&&{},children:[ei("div",{className:"half-circle-spinner",children:[ei("div",{className:"circle circle-1"}),ei("div",{className:"circle circle-2"})]}),r&&ei("div",{className:"vm-spinner__message",children:r})]})},Sa=function(e){var t=e.error,n=e.warning,r=e.info,i=ue(null),o=Rt(re(!1),2),a=o[0],u=o[1],l=Rt(re(!1),2),c=l[0],s=l[1],f=ce((function(){return t?"ERROR: ":n?"WARNING: ":""}),[t,n]),p="".concat(f).concat(t||n||r),h=function(){var e=i.current;if(e){var t=e.offsetWidth,n=e.scrollWidth,r=e.offsetHeight,o=e.scrollHeight;u(t+1<n||r+1<o)}else u(!1)};return oe((function(){s(!1),h()}),[i,p]),Do("resize",h),t||n||r?ei("span",{className:vo()({"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":c}),"data-show":!!p,ref:i,onClick:function(){a&&(s(!0),u(!1))},children:p}):null},Fa=function(e){var t=e.label,n=e.value,r=e.type,i=void 0===r?"text":r,o=e.error,a=void 0===o?"":o,u=e.warning,l=void 0===u?"":u,c=e.helperText,s=void 0===c?"":c,f=e.placeholder,p=e.endIcon,h=e.startIcon,d=e.disabled,v=void 0!==d&&d,m=e.autofocus,g=void 0!==m&&m,y=e.inputmode,_=void 0===y?"text":y,b=e.onChange,D=e.onEnter,w=e.onKeyDown,A=e.onFocus,k=e.onBlur,x=e.onChangeCaret,E=ni().isDarkTheme,C=Lo().isMobile,S=ue(null),F=ue(null),M=ce((function(){return"textarea"===i?F:S}),[i]),T=vo()({"vm-text-field__input":!0,"vm-text-field__input_error":a,"vm-text-field__input_warning":!a&&l,"vm-text-field__input_icon-start":h,"vm-text-field__input_disabled":v,"vm-text-field__input_textarea":"textarea"===i}),O=function(e){var t=e.selectionStart,n=e.selectionEnd;x&&x([t||0,n||0])},P=function(e){O(e.currentTarget)},B=function(e){w&&w(e),O(e.currentTarget);var t=e.key,n=e.ctrlKey,r=e.metaKey,o="Enter"===t;("textarea"!==i?o:o&&(r||n))&&D&&(e.preventDefault(),D())},N=function(e){v||(b&&b(e.currentTarget.value),O(e.currentTarget))};oe((function(){var e;g&&!C&&(null===M||void 0===M||null===(e=M.current)||void 0===e?void 0:e.focus)&&M.current.focus()}),[M,g]);var L=function(){A&&A()},$=function(){k&&k()};return ei("label",{className:vo()({"vm-text-field":!0,"vm-text-field_textarea":"textarea"===i,"vm-text-field_dark":E}),"data-replicated-value":n,children:[h&&ei("div",{className:"vm-text-field__icon-start",children:h}),p&&ei("div",{className:"vm-text-field__icon-end",children:p}),"textarea"===i?ei("textarea",{className:T,disabled:v,ref:F,value:n,rows:1,inputMode:_,placeholder:f,autoCapitalize:"none",onInput:N,onKeyDown:B,onFocus:L,onBlur:$,onMouseUp:P}):ei("input",{className:T,disabled:v,ref:S,value:n,type:i,placeholder:f,inputMode:_,autoCapitalize:"none",onInput:N,onKeyDown:B,onFocus:L,onBlur:$,onMouseUp:P}),t&&ei("span",{className:"vm-text-field__label",children:t}),ei(Sa,{error:a,warning:l,info:s})]})},Ma=function(e){return e[e.mouse=0]="mouse",e[e.keyboard=1]="keyboard",e}(Ma||{}),Ta=function(e){var t,n=e.value,r=e.options,i=e.anchor,o=e.disabled,a=e.minLength,u=void 0===a?2:a,l=e.fullWidth,s=e.selected,f=e.noOptionsText,p=e.label,h=e.disabledFullScreen,d=e.offset,v=e.onSelect,m=e.onOpenAutocomplete,g=e.onFoundOptions,y=Lo().isMobile,b=ue(null),D=Rt(re({index:-1}),2),w=D[0],A=D[1],k=na(!1),x=k.value,E=k.setValue,C=k.setFalse,S=ce((function(){if(!x)return[];try{var e=new RegExp(String(n.trim()),"i");return r.filter((function(t){return e.test(t.value)})).sort((function(t,n){var r,i;return((null===(r=t.value.match(e))||void 0===r?void 0:r.index)||0)-((null===(i=n.value.match(e))||void 0===i?void 0:i.index)||0)}))}catch(c){return[]}}),[x,r,n]),F=ce((function(){return f&&!S.length}),[f,S]),M=function(){A({index:-1})},T=se((function(e){var t=e.key,n=e.ctrlKey,r=e.metaKey,i=e.shiftKey,o=n||r||i,a=S.length;if("ArrowUp"===t&&!o&&a&&(e.preventDefault(),A((function(e){var t=e.index;return{index:t<=0?0:t-1,type:Ma.keyboard}}))),"ArrowDown"===t&&!o&&a){e.preventDefault();var u=S.length-1;A((function(e){var t=e.index;return{index:t>=u?u:t+1,type:Ma.keyboard}}))}if("Enter"===t){var l=S[w.index];l&&v(l.value),s||C()}"Escape"===t&&C()}),[w,S,C,v,s]);return oe((function(){E(n.length>=u)}),[n]),Do("keydown",T),oe((function(){if(b.current&&w.type!==Ma.mouse){var e=b.current.childNodes[w.index];null!==e&&void 0!==e&&e.scrollIntoView&&e.scrollIntoView({block:"center"})}}),[w,S]),oe((function(){A({index:-1})}),[S]),oe((function(){m&&m(x)}),[x]),oe((function(){g&&g(S)}),[S]),ei(ia,{open:x,buttonRef:i,placement:"bottom-left",onClose:C,fullWidth:l,title:y?p:void 0,disabledFullScreen:h,offset:d,children:[ei("div",{className:vo()({"vm-autocomplete":!0,"vm-autocomplete_mobile":y&&!h}),ref:b,children:[F&&ei("div",{className:"vm-autocomplete__no-options",children:f}),S.map((function(e,t){return ei("div",{className:vo()({"vm-list-item":!0,"vm-list-item_mobile":y,"vm-list-item_active":t===w.index,"vm-list-item_multiselect":s,"vm-list-item_multiselect_selected":null===s||void 0===s?void 0:s.includes(e.value),"vm-list-item_with-icon":e.icon}),id:"$autocomplete$".concat(e.value),onClick:(r=e.value,function(){o||(v(r),s||C())}),onMouseEnter:(n=t,function(){A({index:n,type:Ma.mouse})}),onMouseLeave:M,children:[(null===s||void 0===s?void 0:s.includes(e.value))&&ei(no,{}),ei(_,{children:e.icon}),ei("span",{children:e.value})]},"".concat(t).concat(e.value));var n,r}))]}),(null===(t=S[w.index])||void 0===t?void 0:t.description)&&ei("div",{className:"vm-autocomplete-info",children:[ei("div",{className:"vm-autocomplete-info__type",children:S[w.index].type}),ei("div",{className:"vm-autocomplete-info__description",dangerouslySetInnerHTML:{__html:S[w.index].description||""}})]})]})},Oa=function(e){return e[e.metric=0]="metric",e[e.label=1]="label",e[e.value=2]="value",e}(Oa||{}),Pa=(Sr(va={},Oa.metric,ei(co,{})),Sr(va,Oa.label,ei(fo,{})),Sr(va,Oa.value,ei(po,{})),va),Ba="u-off",Na="u-label",La="width",$a="height",Ra="top",ja="bottom",Ia="left",za="right",Ha="#000",Ua=Ha+"0",Va="mousemove",Wa="mousedown",Za="mouseup",Ya="mouseenter",qa="mouseleave",Ga="dblclick",Qa="change",Ja="dppxchange",Ka="--",Xa="undefined"!=typeof window,eu=Xa?document:null,tu=Xa?window:null,nu=Xa?navigator:null;function ru(e,t){if(null!=t){var n=e.classList;!n.contains(t)&&n.add(t)}}function iu(e,t){var n=e.classList;n.contains(t)&&n.remove(t)}function ou(e,t,n){e.style[t]=n+"px"}function au(e,t,n,r){var i=eu.createElement(e);return null!=t&&ru(i,t),null!=n&&n.insertBefore(i,r),i}function uu(e,t){return au("div",e,t)}var lu=new WeakMap;function cu(e,t,n,r,i){var o="translate("+t+"px,"+n+"px)";o!=lu.get(e)&&(e.style.transform=o,lu.set(e,o),t<0||n<0||t>r||n>i?ru(e,Ba):iu(e,Ba))}var su=new WeakMap;function fu(e,t,n){var r=t+n;r!=su.get(e)&&(su.set(e,r),e.style.background=t,e.style.borderColor=n)}var pu=new WeakMap;function hu(e,t,n,r){var i=t+""+n;i!=pu.get(e)&&(pu.set(e,i),e.style.height=n+"px",e.style.width=t+"px",e.style.marginLeft=r?-t/2+"px":0,e.style.marginTop=r?-n/2+"px":0)}var du={passive:!0},vu=Mr(Mr({},du),{},{capture:!0});function mu(e,t,n,r){t.addEventListener(e,n,r?vu:du)}function gu(e,t,n,r){t.removeEventListener(e,n,r?vu:du)}function yu(e,t,n,r){var i;n=n||0;for(var o=(r=r||t.length-1)<=2147483647;r-n>1;)t[i=o?n+r>>1:Bu((n+r)/2)]<e?n=i:r=i;return e-t[n]<=t[r]-e?n:r}function _u(e,t,n,r){for(var i=1==r?t:n;i>=t&&i<=n;i+=r)if(null!=e[i])return i;return-1}function bu(e,t,n,r){var i=Iu(e),o=Iu(t),a=10==n?zu:Hu;e==t&&(-1==i?(e*=n,t/=n):(e/=n,t*=n));var u=1==o?Lu:Bu,l=(1==i?Bu:Lu)(a(Pu(e))),c=u(a(Pu(t))),s=ju(n,l),f=ju(n,c);return 10==n&&(l<0&&(s=rl(s,-l)),c<0&&(f=rl(f,-c))),r||2==n?(e=s*i,t=f*o):(e=nl(e,s),t=tl(t,f)),[e,t]}function Du(e,t,n,r){var i=bu(e,t,n,r);return 0==e&&(i[0]=0),0==t&&(i[1]=0),i}Xa&&function e(){var t=devicePixelRatio;ma!=t&&(ma=t,ga&&gu(Qa,ga,e),ga=matchMedia("(min-resolution: ".concat(ma-.001,"dppx) and (max-resolution: ").concat(ma+.001,"dppx)")),mu(Qa,ga,e),tu.dispatchEvent(new CustomEvent(Ja)))}();var wu=.1,Au={mode:3,pad:wu},ku={pad:0,soft:null,mode:0},xu={min:ku,max:ku};function Eu(e,t,n,r){return hl(n)?Su(e,t,n):(ku.pad=n,ku.soft=r?0:null,ku.mode=r?3:0,Su(e,t,xu))}function Cu(e,t){return null==e?t:e}function Su(e,t,n){var r=n.min,i=n.max,o=Cu(r.pad,0),a=Cu(i.pad,0),u=Cu(r.hard,-Vu),l=Cu(i.hard,Vu),c=Cu(r.soft,Vu),s=Cu(i.soft,-Vu),f=Cu(r.mode,0),p=Cu(i.mode,0),h=t-e,d=zu(h),v=Ru(Pu(e),Pu(t)),m=zu(v),g=Pu(m-d);(h<1e-9||g>10)&&(h=0,0!=e&&0!=t||(h=1e-9,2==f&&c!=Vu&&(o=0),2==p&&s!=-Vu&&(a=0)));var y=h||v||1e3,_=zu(y),b=ju(10,Bu(_)),D=rl(nl(e-y*(0==h?0==e?.1:1:o),b/10),9),w=e>=c&&(1==f||3==f&&D<=c||2==f&&D>=c)?c:Vu,A=Ru(u,D<w&&e>=w?w:$u(w,D)),k=rl(tl(t+y*(0==h?0==t?.1:1:a),b/10),9),x=t<=s&&(1==p||3==p&&k>=s||2==p&&k<=s)?s:-Vu,E=$u(l,k>x&&t<=x?x:Ru(x,k));return A==E&&0==A&&(E=100),[A,E]}var Fu=new Intl.NumberFormat(Xa?nu.language:"en-US"),Mu=function(e){return Fu.format(e)},Tu=Math,Ou=Tu.PI,Pu=Tu.abs,Bu=Tu.floor,Nu=Tu.round,Lu=Tu.ceil,$u=Tu.min,Ru=Tu.max,ju=Tu.pow,Iu=Tu.sign,zu=Tu.log10,Hu=Tu.log2,Uu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Tu.asinh(e/t)},Vu=1/0;function Wu(e){return 1+(0|zu((e^e>>31)-(e>>31)))}function Zu(e,t,n){return $u(Ru(e,t),n)}function Yu(e){return"function"==typeof e?e:function(){return e}}var qu=function(e){return e},Gu=function(e,t){return t},Qu=function(e){return null},Ju=function(e){return!0},Ku=function(e,t){return e==t},Xu=function(e){return rl(e,14)};function el(e,t){return Xu(rl(Xu(e/t))*t)}function tl(e,t){return Xu(Lu(Xu(e/t))*t)}function nl(e,t){return Xu(Bu(Xu(e/t))*t)}function rl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(fl(e))return e;var n=Math.pow(10,t),r=e*n*(1+Number.EPSILON);return Nu(r)/n}var il=new Map;function ol(e){return((""+e).split(".")[1]||"").length}function al(e,t,n,r){for(var i=[],o=r.map(ol),a=t;a<n;a++)for(var u=Pu(a),l=rl(ju(e,a),u),c=0;c<r.length;c++){var s=r[c]*l,f=(s>=0&&a>=0?0:u)+(a>=o[c]?0:o[c]),p=rl(s,f);i.push(p),il.set(p,f)}return i}var ul={},ll=[],cl=[null,null],sl=Array.isArray,fl=Number.isInteger;function pl(e){return"string"==typeof e}function hl(e){var t=!1;if(null!=e){var n=e.constructor;t=null==n||n==Object}return t}function dl(e){return null!=e&&"object"==typeof e}var vl=Object.getPrototypeOf(Uint8Array);function ml(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:hl;if(sl(e)){var r=e.find((function(e){return null!=e}));if(sl(r)||n(r)){t=Array(e.length);for(var i=0;i<e.length;i++)t[i]=ml(e[i],n)}else t=e.slice()}else if(e instanceof vl)t=e.slice();else if(n(e))for(var o in t={},e)t[o]=ml(e[o],n);else t=e;return t}function gl(e){for(var t=arguments,n=1;n<t.length;n++){var r=t[n];for(var i in r)hl(e[i])?gl(e[i],ml(r[i])):e[i]=ml(r[i])}return e}function yl(e,t,n){for(var r,i=0,o=-1;i<t.length;i++){var a=t[i];if(a>o){for(r=a-1;r>=0&&null==e[r];)e[r--]=null;for(r=a+1;r<n&&null==e[r];)e[o=r++]=null}}}var _l="undefined"==typeof queueMicrotask?function(e){return Promise.resolve().then(e)}:queueMicrotask;var bl=["January","February","March","April","May","June","July","August","September","October","November","December"],Dl=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];function wl(e){return e.slice(0,3)}var Al=Dl.map(wl),kl=bl.map(wl),xl={MMMM:bl,MMM:kl,WWWW:Dl,WWW:Al};function El(e){return(e<10?"0":"")+e}var Cl={YYYY:function(e){return e.getFullYear()},YY:function(e){return(e.getFullYear()+"").slice(2)},MMMM:function(e,t){return t.MMMM[e.getMonth()]},MMM:function(e,t){return t.MMM[e.getMonth()]},MM:function(e){return El(e.getMonth()+1)},M:function(e){return e.getMonth()+1},DD:function(e){return El(e.getDate())},D:function(e){return e.getDate()},WWWW:function(e,t){return t.WWWW[e.getDay()]},WWW:function(e,t){return t.WWW[e.getDay()]},HH:function(e){return El(e.getHours())},H:function(e){return e.getHours()},h:function(e){var t=e.getHours();return 0==t?12:t>12?t-12:t},AA:function(e){return e.getHours()>=12?"PM":"AM"},aa:function(e){return e.getHours()>=12?"pm":"am"},a:function(e){return e.getHours()>=12?"p":"a"},mm:function(e){return El(e.getMinutes())},m:function(e){return e.getMinutes()},ss:function(e){return El(e.getSeconds())},s:function(e){return e.getSeconds()},fff:function(e){return((t=e.getMilliseconds())<10?"00":t<100?"0":"")+t;var t}};function Sl(e,t){t=t||xl;for(var n,r=[],i=/\{([a-z]+)\}|[^{]+/gi;n=i.exec(e);)r.push("{"==n[0][0]?Cl[n[1]]:n[0]);return function(e){for(var n="",i=0;i<r.length;i++)n+="string"==typeof r[i]?r[i]:r[i](e,t);return n}}var Fl=(new Intl.DateTimeFormat).resolvedOptions().timeZone;var Ml=function(e){return e%1==0},Tl=[1,2,2.5,5],Ol=al(10,-16,0,Tl),Pl=al(10,0,16,Tl),Bl=Pl.filter(Ml),Nl=Ol.concat(Pl),Ll="{YYYY}",$l="\n"+Ll,Rl="{M}/{D}",jl="\n"+Rl,Il=jl+"/{YY}",zl="{aa}",Hl="{h}:{mm}"+zl,Ul="\n"+Hl,Vl=":{ss}",Wl=null;function Zl(e){var t=1e3*e,n=60*t,r=60*n,i=24*r,o=30*i,a=365*i;return[(1==e?al(10,0,3,Tl).filter(Ml):al(10,-3,0,Tl)).concat([t,5*t,10*t,15*t,30*t,n,5*n,10*n,15*n,30*n,r,2*r,3*r,4*r,6*r,8*r,12*r,i,2*i,3*i,4*i,5*i,6*i,7*i,8*i,9*i,10*i,15*i,o,2*o,3*o,4*o,6*o,a,2*a,5*a,10*a,25*a,50*a,100*a]),[[a,Ll,Wl,Wl,Wl,Wl,Wl,Wl,1],[28*i,"{MMM}",$l,Wl,Wl,Wl,Wl,Wl,1],[i,Rl,$l,Wl,Wl,Wl,Wl,Wl,1],[r,"{h}"+zl,Il,Wl,jl,Wl,Wl,Wl,1],[n,Hl,Il,Wl,jl,Wl,Wl,Wl,1],[t,Vl,Il+" "+Hl,Wl,jl+" "+Hl,Wl,Ul,Wl,1],[e,Vl+".{fff}",Il+" "+Hl,Wl,jl+" "+Hl,Wl,Ul,Wl,1]],function(t){return function(u,l,c,s,f,p){var h=[],d=f>=a,v=f>=o&&f<a,m=t(c),g=rl(m*e,3),y=rc(m.getFullYear(),d?0:m.getMonth(),v||d?1:m.getDate()),_=rl(y*e,3);if(v||d)for(var b=v?f/o:0,D=d?f/a:0,w=g==_?g:rl(rc(y.getFullYear()+D,y.getMonth()+b,1)*e,3),A=new Date(Nu(w/e)),k=A.getFullYear(),x=A.getMonth(),E=0;w<=s;E++){var C=rc(k+D*E,x+b*E,1),S=C-t(rl(C*e,3));(w=rl((+C+S)*e,3))<=s&&h.push(w)}else{var F=f>=i?i:f,M=_+(Bu(c)-Bu(g))+tl(g-_,F);h.push(M);for(var T=t(M),O=T.getHours()+T.getMinutes()/n+T.getSeconds()/r,P=f/r,B=p/u.axes[l]._space;!((M=rl(M+f,1==e?0:3))>s);)if(P>1){var N=Bu(rl(O+P,6))%24,L=t(M).getHours()-N;L>1&&(L=-1),O=(O+P)%24,rl(((M-=L*r)-h[h.length-1])/f,3)*B>=.7&&h.push(M)}else h.push(M)}return h}}]}var Yl=Rt(Zl(1),3),ql=Yl[0],Gl=Yl[1],Ql=Yl[2],Jl=Rt(Zl(.001),3),Kl=Jl[0],Xl=Jl[1],ec=Jl[2];function tc(e,t){return e.map((function(e){return e.map((function(n,r){return 0==r||8==r||null==n?n:t(1==r||0==e[8]?n:e[1]+n)}))}))}function nc(e,t){return function(n,r,i,o,a){var u,l,c,s,f,p,h=t.find((function(e){return a>=e[0]}))||t[t.length-1];return r.map((function(t){var n=e(t),r=n.getFullYear(),i=n.getMonth(),o=n.getDate(),a=n.getHours(),d=n.getMinutes(),v=n.getSeconds(),m=r!=u&&h[2]||i!=l&&h[3]||o!=c&&h[4]||a!=s&&h[5]||d!=f&&h[6]||v!=p&&h[7]||h[1];return u=r,l=i,c=o,s=a,f=d,p=v,m(n)}))}}function rc(e,t,n){return new Date(e,t,n)}function ic(e,t){return t(e)}al(2,-53,53,[1]);function oc(e,t){return function(n,r,i,o){return null==o?Ka:t(e(r))}}var ac={show:!0,live:!0,isolate:!1,mount:function(){},markers:{show:!0,width:2,stroke:function(e,t){var n=e.series[t];return n.width?n.stroke(e,t):n.points.width?n.points.stroke(e,t):null},fill:function(e,t){return e.series[t].fill(e,t)},dash:"solid"},idx:null,idxs:null,values:[]};var uc=[0,0];function lc(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return function(e){0==e.button&&(!r||e.target==t)&&n(e)}}function cc(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return function(e){(!r||e.target==t)&&n(e)}}var sc={show:!0,x:!0,y:!0,lock:!1,move:function(e,t,n){return uc[0]=t,uc[1]=n,uc},points:{show:function(e,t){var n=e.cursor.points,r=uu(),i=n.size(e,t);ou(r,La,i),ou(r,$a,i);var o=i/-2;ou(r,"marginLeft",o),ou(r,"marginTop",o);var a=n.width(e,t,i);return a&&ou(r,"borderWidth",a),r},size:function(e,t){return e.series[t].points.size},width:0,stroke:function(e,t){var n=e.series[t].points;return n._stroke||n._fill},fill:function(e,t){var n=e.series[t].points;return n._fill||n._stroke}},bind:{mousedown:lc,mouseup:lc,click:lc,dblclick:lc,mousemove:cc,mouseleave:cc,mouseenter:cc},drag:{setScale:!0,x:!0,y:!1,dist:0,uni:null,click:function(e,t){t.stopPropagation(),t.stopImmediatePropagation()},_x:!1,_y:!1},focus:{prox:-1,bias:0},left:-10,top:-10,idx:null,dataIdx:function(e,t,n){return n},idxs:null,event:null},fc={show:!0,stroke:"rgba(0,0,0,0.07)",width:2},pc=gl({},fc,{filter:Gu}),hc=gl({},pc,{size:10}),dc=gl({},fc,{show:!1}),vc='12px system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',mc="bold "+vc,gc={show:!0,scale:"x",stroke:Ha,space:50,gap:5,size:50,labelGap:0,labelSize:30,labelFont:mc,side:2,grid:pc,ticks:hc,border:dc,font:vc,lineGap:1.5,rotate:0},yc={show:!0,scale:"x",auto:!1,sorted:1,min:Vu,max:-Vu,idxs:[]};function _c(e,t,n,r,i){return t.map((function(e){return null==e?"":Mu(e)}))}function bc(e,t,n,r,i,o,a){for(var u=[],l=il.get(i)||0,c=n=a?n:rl(tl(n,i),l);c<=r;c=rl(c+i,l))u.push(Object.is(c,-0)?0:c);return u}function Dc(e,t,n,r,i,o,a){var u=[],l=e.scales[e.axes[t].scale].log,c=Bu((10==l?zu:Hu)(n));i=ju(l,c),10==l&&c<0&&(i=rl(i,-c));var s=n;do{u.push(s),s+=i,10==l&&(s=rl(s,il.get(i))),s>=i*l&&(i=s)}while(s<=r);return u}function wc(e,t,n,r,i,o,a){var u=e.scales[e.axes[t].scale].asinh,l=r>u?Dc(e,t,Ru(u,n),r,i):[u],c=r>=0&&n<=0?[0]:[];return(n<-u?Dc(e,t,Ru(u,-r),-n,i):[u]).reverse().map((function(e){return-e})).concat(c,l)}var Ac=/./,kc=/[12357]/,xc=/[125]/,Ec=/1/,Cc=function(e,t,n,r){return e.map((function(e,i){return 4==t&&0==e||i%r==0&&n.test(e.toExponential()[e<0?1:0])?e:null}))};function Sc(e,t,n,r,i){var o=e.axes[n],a=o.scale,u=e.scales[a],l=e.valToPos,c=o._space,s=l(10,a),f=l(9,a)-s>=c?Ac:l(7,a)-s>=c?kc:l(5,a)-s>=c?xc:Ec;if(f==Ec){var p=Pu(l(1,a)-s);if(p<c)return Cc(t.slice().reverse(),u.distr,f,Lu(c/p)).reverse()}return Cc(t,u.distr,f,1)}function Fc(e,t,n,r,i){var o=e.axes[n],a=o.scale,u=o._space,l=e.valToPos,c=Pu(l(1,a)-l(2,a));return c<u?Cc(t.slice().reverse(),3,Ac,Lu(u/c)).reverse():t}function Mc(e,t,n,r){return null==r?Ka:null==t?"":Mu(t)}var Tc={show:!0,scale:"y",stroke:Ha,space:30,gap:5,size:50,labelGap:0,labelSize:30,labelFont:mc,side:3,grid:pc,ticks:hc,border:dc,font:vc,lineGap:1.5,rotate:0};var Oc={scale:null,auto:!0,sorted:0,min:Vu,max:-Vu},Pc=function(e,t,n,r,i){return i},Bc={show:!0,auto:!0,sorted:0,gaps:Pc,alpha:1,facets:[gl({},Oc,{scale:"x"}),gl({},Oc,{scale:"y"})]},Nc={scale:"y",auto:!0,sorted:0,show:!0,spanGaps:!1,gaps:Pc,alpha:1,points:{show:function(e,t){var n=e.series[0],r=n.scale,i=n.idxs,o=e._data[0],a=e.valToPos(o[i[0]],r,!0),u=e.valToPos(o[i[1]],r,!0),l=Pu(u-a)/(e.series[t].points.space*ma);return i[1]-i[0]<=l},filter:null},values:null,min:Vu,max:-Vu,idxs:[],path:null,clip:null};function Lc(e,t,n,r,i){return n/10}var $c={time:!0,auto:!0,distr:1,log:10,asinh:1,min:null,max:null,dir:1,ori:0},Rc=gl({},$c,{time:!1,ori:1}),jc={};function Ic(e,t){var n=jc[e];return n||(n={key:e,plots:[],sub:function(e){n.plots.push(e)},unsub:function(e){n.plots=n.plots.filter((function(t){return t!=e}))},pub:function(e,t,r,i,o,a,u){for(var l=0;l<n.plots.length;l++)n.plots[l]!=t&&n.plots[l].pub(e,t,r,i,o,a,u)}},null!=e&&(jc[e]=n)),n}var zc=1;function Hc(e,t,n){var r=e.mode,i=e.series[t],o=2==r?e._data[t]:e._data,a=e.scales,u=e.bbox,l=o[0],c=2==r?o[1]:o[t],s=2==r?a[i.facets[0].scale]:a[e.series[0].scale],f=2==r?a[i.facets[1].scale]:a[i.scale],p=u.left,h=u.top,d=u.width,v=u.height,m=e.valToPosH,g=e.valToPosV;return 0==s.ori?n(i,l,c,s,f,m,g,p,h,d,v,Qc,Kc,es,ns,is):n(i,l,c,s,f,g,m,h,p,v,d,Jc,Xc,ts,rs,os)}function Uc(e,t){for(var n=0,r=0,i=Cu(e.bands,ll),o=0;o<i.length;o++){var a=i[o];a.series[0]==t?n=a.dir:a.series[1]==t&&(1==a.dir?r|=1:r|=2)}return[n,1==r?-1:2==r?1:3==r?2:0]}function Vc(e,t,n,r,i){var o=e.mode,a=e.series[t],u=2==o?a.facets[1].scale:a.scale,l=e.scales[u];return-1==i?l.min:1==i?l.max:3==l.distr?1==l.dir?l.min:l.max:0}function Wc(e,t,n,r,i,o){return Hc(e,t,(function(e,t,a,u,l,c,s,f,p,h,d){var v,m,g=e.pxRound,y=u.dir*(0==u.ori?1:-1),_=0==u.ori?Kc:Xc;1==y?(v=n,m=r):(v=r,m=n);var b=g(c(t[v],u,h,f)),D=g(s(a[v],l,d,p)),w=g(c(t[m],u,h,f)),A=g(s(1==o?l.max:l.min,l,d,p)),k=new Path2D(i);return _(k,w,A),_(k,b,A),_(k,b,D),k}))}function Zc(e,t,n,r,i,o){var a=null;if(e.length>0){a=new Path2D;for(var u=0==t?es:ts,l=n,c=0;c<e.length;c++){var s=e[c];if(s[1]>s[0]){var f=s[0]-l;f>0&&u(a,l,r,f,r+o),l=s[1]}}var p=n+i-l;p>0&&u(a,l,r-5,p,r+o+10)}return a}function Yc(e,t,n,r,i,o,a){for(var u=[],l=e.length,c=1==i?n:r;c>=n&&c<=r;c+=i){if(null===t[c]){var s=c,f=c;if(1==i)for(;++c<=r&&null===t[c];)f=c;else for(;--c>=n&&null===t[c];)f=c;var p=o(e[s]),h=f==s?p:o(e[f]),d=s-i;p=a<=0&&d>=0&&d<l?o(e[d]):p;var v=f+i;(h=a>=0&&v>=0&&v<l?o(e[v]):h)>=p&&u.push([p,h])}}return u}function qc(e){return 0==e?qu:1==e?Nu:function(t){return el(t,e)}}function Gc(e){var t=0==e?Qc:Jc,n=0==e?function(e,t,n,r,i,o){e.arcTo(t,n,r,i,o)}:function(e,t,n,r,i,o){e.arcTo(n,t,i,r,o)},r=0==e?function(e,t,n,r,i){e.rect(t,n,r,i)}:function(e,t,n,r,i){e.rect(n,t,i,r)};return function(e,i,o,a,u){var l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0;0==l&&0==c?r(e,i,o,a,u):(l=$u(l,a/2,u/2),c=$u(c,a/2,u/2),t(e,i+l,o),n(e,i+a,o,i+a,o+u,l),n(e,i+a,o+u,i,o+u,c),n(e,i,o+u,i,o,c),n(e,i,o,i+a,o,l),e.closePath())}}var Qc=function(e,t,n){e.moveTo(t,n)},Jc=function(e,t,n){e.moveTo(n,t)},Kc=function(e,t,n){e.lineTo(t,n)},Xc=function(e,t,n){e.lineTo(n,t)},es=Gc(0),ts=Gc(1),ns=function(e,t,n,r,i,o){e.arc(t,n,r,i,o)},rs=function(e,t,n,r,i,o){e.arc(n,t,r,i,o)},is=function(e,t,n,r,i,o,a){e.bezierCurveTo(t,n,r,i,o,a)},os=function(e,t,n,r,i,o,a){e.bezierCurveTo(n,t,i,r,a,o)};function as(e){return function(e,t,n,r,i){return Hc(e,t,(function(t,o,a,u,l,c,s,f,p,h,d){var v,m,g=t.pxRound,y=t.points;0==u.ori?(v=Qc,m=ns):(v=Jc,m=rs);var _=rl(y.width*ma,3),b=(y.size-y.width)/2*ma,D=rl(2*b,3),w=new Path2D,A=new Path2D,k=e.bbox,x=k.left,E=k.top,C=k.width,S=k.height;es(A,x-D,E-D,C+2*D,S+2*D);var F=function(e){if(null!=a[e]){var t=g(c(o[e],u,h,f)),n=g(s(a[e],l,d,p));v(w,t+b,n),m(w,t,n,b,0,2*Ou)}};if(i)i.forEach(F);else for(var M=n;M<=r;M++)F(M);return{stroke:_>0?w:null,fill:w,clip:A,flags:2|zc}}))}}function us(e){return function(t,n,r,i,o,a){r!=i&&(o!=r&&a!=r&&e(t,n,r),o!=i&&a!=i&&e(t,n,i),e(t,n,a))}}var ls=us(Kc),cs=us(Xc);function ss(e){var t=Cu(null===e||void 0===e?void 0:e.alignGaps,0);return function(e,n,r,i){return Hc(e,n,(function(o,a,u,l,c,s,f,p,h,d,v){var m,g,y=o.pxRound,_=function(e){return y(s(e,l,d,p))},b=function(e){return y(f(e,c,v,h))};0==l.ori?(m=Kc,g=ls):(m=Xc,g=cs);for(var D,w,A,k=l.dir*(0==l.ori?1:-1),x={stroke:new Path2D,fill:null,clip:null,band:null,gaps:null,flags:zc},E=x.stroke,C=Vu,S=-Vu,F=_(a[1==k?r:i]),M=_u(u,r,i,1*k),T=_u(u,r,i,-1*k),O=_(a[M]),P=_(a[T]),B=!1,N=1==k?r:i;N>=r&&N<=i;N+=k){var L=_(a[N]),$=u[N];L==F?null!=$?(w=b($),C==Vu&&(m(E,L,w),D=w),C=$u(w,C),S=Ru(w,S)):null===$&&(B=!0):(C!=Vu&&(g(E,F,C,S,D,w),A=F),null!=$?(m(E,L,w=b($)),C=S=D=w):(C=Vu,S=-Vu,null===$&&(B=!0)),F=L)}C!=Vu&&C!=S&&A!=F&&g(E,F,C,S,D,w);var R=Rt(Uc(e,n),2),j=R[0],I=R[1];if(null!=o.fill||0!=j){var z=x.fill=new Path2D(E),H=b(o.fillTo(e,n,o.min,o.max,j));m(z,P,H),m(z,O,H)}if(!o.spanGaps){var U,V=[];B&&(U=V).push.apply(U,It(Yc(a,u,r,i,k,_,t))),x.gaps=V=o.gaps(e,n,r,i,V),x.clip=Zc(V,l.ori,p,h,d,v)}return 0!=I&&(x.band=2==I?[Wc(e,n,r,i,E,-1),Wc(e,n,r,i,E,1)]:Wc(e,n,r,i,E,I)),x}))}}function fs(e,t,n,r,i,o){var a=e.length;if(a<2)return null;var u=new Path2D;if(n(u,e[0],t[0]),2==a)r(u,e[1],t[1]);else{for(var l=Array(a),c=Array(a-1),s=Array(a-1),f=Array(a-1),p=0;p<a-1;p++)s[p]=t[p+1]-t[p],f[p]=e[p+1]-e[p],c[p]=s[p]/f[p];l[0]=c[0];for(var h=1;h<a-1;h++)0===c[h]||0===c[h-1]||c[h-1]>0!==c[h]>0?l[h]=0:(l[h]=3*(f[h-1]+f[h])/((2*f[h]+f[h-1])/c[h-1]+(f[h]+2*f[h-1])/c[h]),isFinite(l[h])||(l[h]=0));l[a-1]=c[a-2];for(var d=0;d<a-1;d++)i(u,e[d]+f[d]/3,t[d]+l[d]*f[d]/3,e[d+1]-f[d]/3,t[d+1]-l[d+1]*f[d]/3,e[d+1],t[d+1])}return u}var ps=new Set;function hs(){var e,t=en(ps);try{for(t.s();!(e=t.n()).done;){e.value.syncRect(!0)}}catch(n){t.e(n)}finally{t.f()}}Xa&&(mu("resize",tu,hs),mu("scroll",tu,hs,!0),mu(Ja,tu,(function(){Ss.pxRatio=ma})));var ds=ss(),vs=as();function ms(e,t,n,r){return(r?[e[0],e[1]].concat(e.slice(2)):[e[0]].concat(e.slice(1))).map((function(e,r){return gs(e,r,t,n)}))}function gs(e,t,n,r){return gl({},0==t?n:r,e)}function ys(e,t,n){return null==t?cl:[t,n]}var _s=ys;function bs(e,t,n){return null==t?cl:Eu(t,n,wu,!0)}function Ds(e,t,n,r){return null==t?cl:bu(t,n,e.scales[r].log,!1)}var ws=Ds;function As(e,t,n,r){return null==t?cl:Du(t,n,e.scales[r].log,!1)}var ks=As;function xs(e,t,n,r,i){var o=Ru(Wu(e),Wu(t)),a=t-e,u=yu(i/r*a,n);do{var l=n[u],c=r*l/a;if(c>=i&&o+(l<5?il.get(l):0)<=17)return[l,c]}while(++u<n.length);return[0,0]}function Es(e){var t,n;return[e=e.replace(/(\d+)px/,(function(e,r){return(t=Nu((n=+r)*ma))+"px"})),t,n]}function Cs(e){e.show&&[e.font,e.labelFont].forEach((function(e){var t=rl(e[2]*ma,1);e[0]=e[0].replace(/[0-9.]+px/,t+"px"),e[1]=t}))}function Ss(e,t,n){var r={mode:Cu(e.mode,1)},i=r.mode;function o(e,t){return((3==t.distr?zu(e>0?e:t.clamp(r,e,t.min,t.max,t.key)):4==t.distr?Uu(e,t.asinh):e)-t._min)/(t._max-t._min)}function a(e,t,n,r){var i=o(e,t);return r+n*(-1==t.dir?1-i:i)}function u(e,t,n,r){var i=o(e,t);return r+n*(-1==t.dir?i:1-i)}function l(e,t,n,r){return 0==t.ori?a(e,t,n,r):u(e,t,n,r)}r.valToPosH=a,r.valToPosV=u;var c=!1;r.status=0;var s=r.root=uu("uplot");(null!=e.id&&(s.id=e.id),ru(s,e.class),e.title)&&(uu("u-title",s).textContent=e.title);var f=au("canvas"),p=r.ctx=f.getContext("2d"),h=uu("u-wrap",s);mu("click",h,(function(e){e.target===v&&((kt!=bt||xt!=Dt)&&Tt.click(r,e))}),!0);var d=r.under=uu("u-under",h);h.appendChild(f);var v=r.over=uu("u-over",h),m=+Cu((e=ml(e)).pxAlign,1),g=qc(m);(e.plugins||[]).forEach((function(t){t.opts&&(e=t.opts(r,e)||e)}));var y=e.ms||.001,_=r.series=1==i?ms(e.series||[],yc,Nc,!1):function(e,t){return e.map((function(e,n){return 0==n?null:gl({},t,e)}))}(e.series||[null],Bc),b=r.axes=ms(e.axes||[],gc,Tc,!0),D=r.scales={},w=r.bands=e.bands||[];w.forEach((function(e){e.fill=Yu(e.fill||null),e.dir=Cu(e.dir,-1)}));var A=2==i?_[1].facets[0].scale:_[0].scale,k={axes:function(){for(var e=function(){var e=b[t];if(!e.show||!e._show)return 0;var n,i,o=e.side,a=o%2,u=e.stroke(r,t),c=0==o||3==o?-1:1;if(e.label){var s=e.labelGap*c,f=Nu((e._lpos+s)*ma);nt(e.labelFont[0],u,"center",2==o?Ra:ja),p.save(),1==a?(n=i=0,p.translate(f,Nu(de+me/2)),p.rotate((3==o?-Ou:Ou)/2)):(n=Nu(he+ve/2),i=f),p.fillText(e.label,n,i),p.restore()}var h=Rt(e._found,2),d=h[0],v=h[1];if(0==v)return 0;var m=D[e.scale],y=0==a?ve:me,_=0==a?he:de,w=Nu(e.gap*ma),A=e._splits,k=2==m.distr?A.map((function(e){return Je[e]})):A,x=2==m.distr?Je[A[1]]-Je[A[0]]:d,E=e.ticks,C=e.border,S=E.show?Nu(E.size*ma):0,F=e._rotate*-Ou/180,M=g(e._pos*ma),T=M+(S+w)*c;i=0==a?T:0,n=1==a?T:0,nt(e.font[0],u,1==e.align?Ia:2==e.align?za:F>0?Ia:F<0?za:0==a?"center":3==o?za:Ia,F||1==a?"middle":2==o?Ra:ja);for(var O=e.font[1]*e.lineGap,P=A.map((function(e){return g(l(e,m,y,_))})),B=e._values,N=0;N<B.length;N++){var L=B[N];if(null!=L){0==a?n=P[N]:i=P[N];for(var $=-1==(L=""+L).indexOf("\n")?[L]:L.split(/\n/gm),R=0;R<$.length;R++){var j=$[R];F?(p.save(),p.translate(n,i+R*O),p.rotate(F),p.fillText(j,0,0),p.restore()):p.fillText(j,n,i+R*O)}}}E.show&&st(P,E.filter(r,k,t,v,x),a,o,M,S,rl(E.width*ma,3),E.stroke(r,t),E.dash,E.cap);var I=e.grid;I.show&&st(P,I.filter(r,k,t,v,x),a,0==a?2:1,0==a?de:he,0==a?me:ve,rl(I.width*ma,3),I.stroke(r,t),I.dash,I.cap),C.show&&st([M],[1],0==a?1:0,0==a?1:2,1==a?de:he,1==a?me:ve,rl(C.width*ma,3),C.stroke(r,t),C.dash,C.cap)},t=0;t<b.length;t++)e();vn("drawAxes")},series:function(){Ne>0&&(_.forEach((function(e,n){if(n>0&&e.show&&(it(n,!1),it(n,!0),null==e._paths)){var o=2==i?[0,t[n][0].length-1]:function(e){var t=Zu(qe-1,0,Ne-1),n=Zu(Ge+1,0,Ne-1);for(;null==e[t]&&t>0;)t--;for(;null==e[n]&&n<Ne-1;)n++;return[t,n]}(t[n]);e._paths=e.paths(r,n,o[0],o[1])}})),_.forEach((function(e,t){if(t>0&&e.show){We!=e.alpha&&(p.globalAlpha=We=e.alpha),null!=e._paths&&ot(t,!1);var n=null!=e._paths?e._paths.gaps:null,i=e.points.show(r,t,qe,Ge,n),o=e.points.filter(r,t,i,n);(i||o)&&(e.points._paths=e.points.paths(r,t,qe,Ge,o),ot(t,!0)),1!=We&&(p.globalAlpha=We=1),vn("drawSeries",t)}})))}},x=(e.drawOrder||["axes","series"]).map((function(e){return k[e]}));function E(t){var n=D[t];if(null==n){var r=(e.scales||ul)[t]||ul;if(null!=r.from)E(r.from),D[t]=gl({},D[r.from],r,{key:t});else{(n=D[t]=gl({},t==A?$c:Rc,r)).key=t;var o=n.time,a=n.range,u=sl(a);if((t!=A||2==i&&!o)&&(!u||null!=a[0]&&null!=a[1]||(a={min:null==a[0]?Au:{mode:1,hard:a[0],soft:a[0]},max:null==a[1]?Au:{mode:1,hard:a[1],soft:a[1]}},u=!1),!u&&hl(a))){var l=a;a=function(e,t,n){return null==t?cl:Eu(t,n,l)}}n.range=Yu(a||(o?_s:t==A?3==n.distr?ws:4==n.distr?ks:ys:3==n.distr?Ds:4==n.distr?As:bs)),n.auto=Yu(!u&&n.auto),n.clamp=Yu(n.clamp||Lc),n._min=n._max=null}}}for(var C in E("x"),E("y"),1==i&&_.forEach((function(e){E(e.scale)})),b.forEach((function(e){E(e.scale)})),e.scales)E(C);var S,F,M=D[A],T=M.distr;0==M.ori?(ru(s,"u-hz"),S=a,F=u):(ru(s,"u-vt"),S=u,F=a);var O={};for(var P in D){var B=D[P];null==B.min&&null==B.max||(O[P]={min:B.min,max:B.max},B.min=B.max=null)}var N,L,$,R=e.tzDate||function(e){return new Date(Nu(e/y))},j=e.fmtDate||Sl,I=1==y?Ql(R):ec(R),z=nc(R,tc(1==y?Gl:Xl,j)),H=oc(R,ic("{YYYY}-{MM}-{DD} {h}:{mm}{aa}",j)),U=[],V=r.legend=gl({},ac,e.legend),W=V.show,Z=V.markers;V.idxs=U,Z.width=Yu(Z.width),Z.dash=Yu(Z.dash),Z.stroke=Yu(Z.stroke),Z.fill=Yu(Z.fill);var Y,q=[],G=[],Q=!1,J={};if(V.live){var K=_[1]?_[1].values:null;for(var X in Y=(Q=null!=K)?K(r,1,0):{_:0})J[X]=Ka}if(W)if(N=au("table","u-legend",s),$=au("tbody",null,N),V.mount(r,N),Q){L=au("thead",null,N,$);var ee=au("tr",null,L);for(var te in au("th",null,ee),Y)au("th",Na,ee).textContent=te}else ru(N,"u-inline"),V.live&&ru(N,"u-live");var ne={show:!0},re={show:!1};var ie=new Map;function oe(e,t,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=ie.get(t)||{},a=Ee.bind[e](r,t,n,i);a&&(mu(e,t,o[e]=a),ie.set(t,o))}function ae(e,t,n){var r=ie.get(t)||{};for(var i in r)null!=e&&i!=e||(gu(i,t,r[i]),delete r[i]);null==e&&ie.delete(t)}var ue=0,le=0,ce=0,se=0,fe=0,pe=0,he=0,de=0,ve=0,me=0;r.bbox={};var ge=!1,ye=!1,_e=!1,be=!1,De=!1,we=!1;function Ae(e,t,n){(n||e!=r.width||t!=r.height)&&ke(e,t),ht(!1),_e=!0,ye=!0,Ee.left>=0&&(be=we=!0),Ct()}function ke(e,t){r.width=ue=ce=e,r.height=le=se=t,fe=pe=0,function(){var e=!1,t=!1,n=!1,r=!1;b.forEach((function(i,o){if(i.show&&i._show){var a=i.side,u=a%2,l=i._size+(null!=i.label?i.labelSize:0);l>0&&(u?(ce-=l,3==a?(fe+=l,r=!0):n=!0):(se-=l,0==a?(pe+=l,e=!0):t=!0))}})),Pe[0]=e,Pe[1]=n,Pe[2]=t,Pe[3]=r,ce-=Ye[1]+Ye[3],fe+=Ye[3],se-=Ye[2]+Ye[0],pe+=Ye[0]}(),function(){var e=fe+ce,t=pe+se,n=fe,r=pe;function i(i,o){switch(i){case 1:return(e+=o)-o;case 2:return(t+=o)-o;case 3:return(n-=o)+o;case 0:return(r-=o)+o}}b.forEach((function(e,t){if(e.show&&e._show){var n=e.side;e._pos=i(n,e._size),null!=e.label&&(e._lpos=i(n,e.labelSize))}}))}();var n=r.bbox;he=n.left=el(fe*ma,.5),de=n.top=el(pe*ma,.5),ve=n.width=el(ce*ma,.5),me=n.height=el(se*ma,.5)}var xe=3;r.setSize=function(e){Ae(e.width,e.height)};var Ee=r.cursor=gl({},sc,{drag:{y:2==i}},e.cursor),Ce=function(e){Ee.event=e};Ee.idxs=U,Ee._lock=!1;var Se=Ee.points;Se.show=Yu(Se.show),Se.size=Yu(Se.size),Se.stroke=Yu(Se.stroke),Se.width=Yu(Se.width),Se.fill=Yu(Se.fill);var Fe=r.focus=gl({},e.focus||{alpha:.3},Ee.focus),Me=Fe.prox>=0,Te=[null];function Oe(e,t){if(1==i||t>0){var n=1==i&&D[e.scale].time,o=e.value;e.value=n?pl(o)?oc(R,ic(o,j)):o||H:o||Mc,e.label=e.label||(n?"Time":"Value")}if(t>0){e.width=null==e.width?1:e.width,e.paths=e.paths||ds||Qu,e.fillTo=Yu(e.fillTo||Vc),e.pxAlign=+Cu(e.pxAlign,m),e.pxRound=qc(e.pxAlign),e.stroke=Yu(e.stroke||null),e.fill=Yu(e.fill||null),e._stroke=e._fill=e._paths=e._focus=null;var a=rl((3+2*(Ru(1,e.width)||1))*1,3),u=e.points=gl({},{size:a,width:Ru(1,.2*a),stroke:e.stroke,space:2*a,paths:vs,_stroke:null,_fill:null},e.points);u.show=Yu(u.show),u.filter=Yu(u.filter),u.fill=Yu(u.fill),u.stroke=Yu(u.stroke),u.paths=Yu(u.paths),u.pxAlign=e.pxAlign}if(W){var l=function(e,t){if(0==t&&(Q||!V.live||2==i))return cl;var n=[],o=au("tr","u-series",$,$.childNodes[t]);ru(o,e.class),e.show||ru(o,Ba);var a=au("th",null,o);if(Z.show){var u=uu("u-marker",a);if(t>0){var l=Z.width(r,t);l&&(u.style.border=l+"px "+Z.dash(r,t)+" "+Z.stroke(r,t)),u.style.background=Z.fill(r,t)}}var c=uu(Na,a);for(var s in c.textContent=e.label,t>0&&(Z.show||(c.style.color=e.width>0?Z.stroke(r,t):Z.fill(r,t)),oe("click",a,(function(t){if(!Ee._lock){Ce(t);var n=_.indexOf(e);if((t.ctrlKey||t.metaKey)!=V.isolate){var r=_.some((function(e,t){return t>0&&t!=n&&e.show}));_.forEach((function(e,t){t>0&&Ht(t,r?t==n?ne:re:ne,!0,gn.setSeries)}))}else Ht(n,{show:!e.show},!0,gn.setSeries)}}),!1),Me&&oe(Ya,a,(function(t){Ee._lock||(Ce(t),Ht(_.indexOf(e),Ut,!0,gn.setSeries))}),!1)),Y){var f=au("td","u-value",o);f.textContent="--",n.push(f)}return[o,n]}(e,t);q.splice(t,0,l[0]),G.splice(t,0,l[1]),V.values.push(null)}if(Ee.show){U.splice(t,0,null);var c=function(e,t){if(t>0){var n=Ee.points.show(r,t);if(n)return ru(n,"u-cursor-pt"),ru(n,e.class),cu(n,-10,-10,ce,se),v.insertBefore(n,Te[t]),n}}(e,t);c&&Te.splice(t,0,c)}vn("addSeries",t)}r.addSeries=function(e,t){t=null==t?_.length:t,e=1==i?gs(e,t,yc,Nc):gs(e,t,null,Bc),_.splice(t,0,e),Oe(_[t],t)},r.delSeries=function(e){if(_.splice(e,1),W){V.values.splice(e,1),G.splice(e,1);var t=q.splice(e,1)[0];ae(null,t.firstChild),t.remove()}Ee.show&&(U.splice(e,1),Te.length>1&&Te.splice(e,1)[0].remove()),vn("delSeries",e)};var Pe=[!1,!1,!1,!1];function Be(e,t,n,r){var i=Rt(n,4),o=i[0],a=i[1],u=i[2],l=i[3],c=t%2,s=0;return 0==c&&(l||a)&&(s=0==t&&!o||2==t&&!u?Nu(gc.size/3):0),1==c&&(o||u)&&(s=1==t&&!a||3==t&&!l?Nu(Tc.size/2):0),s}var Ne,Le,$e,Re,je,Ie,ze,He,Ue,Ve,We,Ze=r.padding=(e.padding||[Be,Be,Be,Be]).map((function(e){return Yu(Cu(e,Be))})),Ye=r._padding=Ze.map((function(e,t){return e(r,t,Pe,0)})),qe=null,Ge=null,Qe=1==i?_[0].idxs:null,Je=null,Ke=!1;function Xe(e,n){if(t=null==e?[]:ml(e,dl),2==i){Ne=0;for(var o=1;o<_.length;o++)Ne+=t[o][0].length;r.data=t=e}else if(null==t[0]&&(t[0]=[]),r.data=t.slice(),Je=t[0],Ne=Je.length,2==T){t[0]=Array(Ne);for(var a=0;a<Ne;a++)t[0][a]=a}if(r._data=t,ht(!0),vn("setData"),2==T&&(_e=!0),!1!==n){var u=M;u.auto(r,Ke)?et():zt(A,u.min,u.max),be=be||Ee.left>=0,we=!0,Ct()}}function et(){var e,n;if(Ke=!0,1==i)if(Ne>0){if(qe=Qe[0]=0,Ge=Qe[1]=Ne-1,e=t[0][qe],n=t[0][Ge],2==T)e=qe,n=Ge;else if(e==n)if(3==T){var r=Rt(bu(e,e,M.log,!1),2);e=r[0],n=r[1]}else if(4==T){var o=Rt(Du(e,e,M.log,!1),2);e=o[0],n=o[1]}else if(M.time)n=e+Nu(86400/y);else{var a=Rt(Eu(e,n,wu,!0),2);e=a[0],n=a[1]}}else qe=Qe[0]=e=null,Ge=Qe[1]=n=null;zt(A,e,n)}function tt(e,t,n,r,i,o){var a,u,l,c,s;null!==(a=e)&&void 0!==a||(e=Ua),null!==(u=n)&&void 0!==u||(n=ll),null!==(l=r)&&void 0!==l||(r="butt"),null!==(c=i)&&void 0!==c||(i=Ua),null!==(s=o)&&void 0!==s||(o="round"),e!=Le&&(p.strokeStyle=Le=e),i!=$e&&(p.fillStyle=$e=i),t!=Re&&(p.lineWidth=Re=t),o!=Ie&&(p.lineJoin=Ie=o),r!=ze&&(p.lineCap=ze=r),n!=je&&p.setLineDash(je=n)}function nt(e,t,n,r){t!=$e&&(p.fillStyle=$e=t),e!=He&&(p.font=He=e),n!=Ue&&(p.textAlign=Ue=n),r!=Ve&&(p.textBaseline=Ve=r)}function rt(e,t,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(i.length>0&&e.auto(r,Ke)&&(null==t||null==t.min)){var a=Cu(qe,0),u=Cu(Ge,i.length-1),l=null==n.min?3==e.distr?function(e,t,n){for(var r=Vu,i=-Vu,o=t;o<=n;o++){var a=e[o];null!=a&&a>0&&(a<r&&(r=a),a>i&&(i=a))}return[r==Vu?1:r,i==-Vu?10:i]}(i,a,u):function(e,t,n,r){var i=Vu,o=-Vu;if(1==r)i=e[t],o=e[n];else if(-1==r)i=e[n],o=e[t];else for(var a=t;a<=n;a++){var u=e[a];null!=u&&(u<i&&(i=u),u>o&&(o=u))}return[i,o]}(i,a,u,o):[n.min,n.max];e.min=$u(e.min,n.min=l[0]),e.max=Ru(e.max,n.max=l[1])}}function it(e,t){var n=t?_[e].points:_[e];n._stroke=n.stroke(r,e),n._fill=n.fill(r,e)}function ot(e,n){var i=n?_[e].points:_[e],o=i._paths,a=o.stroke,u=o.fill,l=o.clip,c=o.flags,s=o._stroke,f=void 0===s?i._stroke:s,h=o._fill,d=void 0===h?i._fill:h,v=o._width,m=void 0===v?i.width:v,g=null,y=(m=rl(m*ma,3))%2/2;n&&null==d&&(d=m>0?"#fff":f);var b=1==i.pxAlign&&y>0;if(b&&p.translate(y,y),!n){var D=he-m/2,A=de-m/2,k=ve+m,x=me+m;(g=new Path2D).rect(D,A,k,x)}n?ut(f,m,i.dash,i.cap,d,a,u,c,l):function(e,n,i,o,a,u,l,c,s,f,p){var h=!1;w.forEach((function(d,v){if(d.series[0]==e){var m,g=_[d.series[1]],y=t[d.series[1]],b=(g._paths||ul).band;sl(b)&&(b=1==d.dir?b[0]:b[1]);var D=null;g.show&&b&&function(e,t,n){for(t=Cu(t,0),n=Cu(n,e.length-1);t<=n;){if(null!=e[t])return!0;t++}return!1}(y,qe,Ge)?(D=d.fill(r,v)||u,m=g._paths.clip):b=null,ut(n,i,o,a,D,l,c,s,f,p,m,b),h=!0}})),h||ut(n,i,o,a,u,l,c,s,f,p)}(e,f,m,i.dash,i.cap,d,a,u,c,g,l),b&&p.translate(-y,-y)}r.setData=Xe;var at=2|zc;function ut(e,t,n,r,i,o,a,u,l,c,s,f){tt(e,t,n,r,i),(l||c||f)&&(p.save(),l&&p.clip(l),c&&p.clip(c)),f?(u&at)==at?(p.clip(f),s&&p.clip(s),ct(i,a),lt(e,o,t)):2&u?(ct(i,a),p.clip(f),lt(e,o,t)):u&zc&&(p.save(),p.clip(f),s&&p.clip(s),ct(i,a),p.restore(),lt(e,o,t)):(ct(i,a),lt(e,o,t)),(l||c||f)&&p.restore()}function lt(e,t,n){n>0&&(t instanceof Map?t.forEach((function(e,t){p.strokeStyle=Le=t,p.stroke(e)})):null!=t&&e&&p.stroke(t))}function ct(e,t){t instanceof Map?t.forEach((function(e,t){p.fillStyle=$e=t,p.fill(e)})):null!=t&&e&&p.fill(t)}function st(e,t,n,r,i,o,a,u,l,c){var s=a%2/2;1==m&&p.translate(s,s),tt(u,a,l,c,u),p.beginPath();var f,h,d,v,g=i+(0==r||3==r?-o:o);0==n?(h=i,v=g):(f=i,d=g);for(var y=0;y<e.length;y++)null!=t[y]&&(0==n?f=d=e[y]:h=v=e[y],p.moveTo(f,h),p.lineTo(d,v));p.stroke(),1==m&&p.translate(-s,-s)}function ft(e){var t=!0;return b.forEach((function(n,i){if(n.show){var o=D[n.scale];if(null!=o.min){n._show||(t=!1,n._show=!0,ht(!1));var a=n.side,u=a%2,l=o.min,c=o.max,s=function(e,t,n,i){var o,a=b[e];if(i<=0)o=[0,0];else{var u=a._space=a.space(r,e,t,n,i);o=xs(t,n,a._incrs=a.incrs(r,e,t,n,i,u),i,u)}return a._found=o}(i,l,c,0==u?ce:se),f=Rt(s,2),p=f[0],h=f[1];if(0!=h){var d=2==o.distr,v=n._splits=n.splits(r,i,l,c,p,h,d),m=2==o.distr?v.map((function(e){return Je[e]})):v,g=2==o.distr?Je[v[1]]-Je[v[0]]:p,y=n._values=n.values(r,n.filter(r,m,i,h,g),i,h,g);n._rotate=2==a?n.rotate(r,y,i,h):0;var _=n._size;n._size=Lu(n.size(r,y,i,e)),null!=_&&n._size!=_&&(t=!1)}}else n._show&&(t=!1,n._show=!1,ht(!1))}})),t}function pt(e){var t=!0;return Ze.forEach((function(n,i){var o=n(r,i,Pe,e);o!=Ye[i]&&(t=!1),Ye[i]=o})),t}function ht(e){_.forEach((function(t,n){n>0&&(t._paths=null,e&&(1==i?(t.min=null,t.max=null):t.facets.forEach((function(e){e.min=null,e.max=null}))))}))}var dt,vt,mt,gt,yt,_t,bt,Dt,wt,At,kt,xt,Et=!1;function Ct(){Et||(_l(St),Et=!0)}function St(){ge&&(!function(){var e=ml(D,dl);for(var n in e){var o=e[n],a=O[n];if(null!=a&&null!=a.min)gl(o,a),n==A&&ht(!0);else if(n!=A||2==i)if(0==Ne&&null==o.from){var u=o.range(r,null,null,n);o.min=u[0],o.max=u[1]}else o.min=Vu,o.max=-Vu}if(Ne>0)for(var l in _.forEach((function(n,o){if(1==i){var a=n.scale,u=e[a],l=O[a];if(0==o){var c=u.range(r,u.min,u.max,a);u.min=c[0],u.max=c[1],qe=yu(u.min,t[0]),(Ge=yu(u.max,t[0]))-qe>1&&(t[0][qe]<u.min&&qe++,t[0][Ge]>u.max&&Ge--),n.min=Je[qe],n.max=Je[Ge]}else n.show&&n.auto&&rt(u,l,n,t[o],n.sorted);n.idxs[0]=qe,n.idxs[1]=Ge}else if(o>0&&n.show&&n.auto){var s=Rt(n.facets,2),f=s[0],p=s[1],h=f.scale,d=p.scale,v=Rt(t[o],2),m=v[0],g=v[1];rt(e[h],O[h],f,m,f.sorted),rt(e[d],O[d],p,g,p.sorted),n.min=p.min,n.max=p.max}})),e){var c=e[l],s=O[l];if(null==c.from&&(null==s||null==s.min)){var f=c.range(r,c.min==Vu?null:c.min,c.max==-Vu?null:c.max,l);c.min=f[0],c.max=f[1]}}for(var p in e){var h=e[p];if(null!=h.from){var d=e[h.from];if(null==d.min)h.min=h.max=null;else{var v=h.range(r,d.min,d.max,p);h.min=v[0],h.max=v[1]}}}var m={},g=!1;for(var y in e){var b=e[y],w=D[y];if(w.min!=b.min||w.max!=b.max){w.min=b.min,w.max=b.max;var k=w.distr;w._min=3==k?zu(w.min):4==k?Uu(w.min,w.asinh):w.min,w._max=3==k?zu(w.max):4==k?Uu(w.max,w.asinh):w.max,m[y]=g=!0}}if(g){for(var x in _.forEach((function(e,t){2==i?t>0&&m.y&&(e._paths=null):m[e.scale]&&(e._paths=null)})),m)_e=!0,vn("setScale",x);Ee.show&&Ee.left>=0&&(be=we=!0)}for(var E in O)O[E]=null}(),ge=!1),_e&&(!function(){for(var e=!1,t=0;!e;){var n=ft(++t),i=pt(t);(e=t==xe||n&&i)||(ke(r.width,r.height),ye=!0)}}(),_e=!1),ye&&(ou(d,Ia,fe),ou(d,Ra,pe),ou(d,La,ce),ou(d,$a,se),ou(v,Ia,fe),ou(v,Ra,pe),ou(v,La,ce),ou(v,$a,se),ou(h,La,ue),ou(h,$a,le),f.width=Nu(ue*ma),f.height=Nu(le*ma),b.forEach((function(e){var t=e._el,n=e._show,r=e._size,i=e._pos,o=e.side;if(null!=t)if(n){var a=o%2==1;ou(t,a?"left":"top",i-(3===o||0===o?r:0)),ou(t,a?"width":"height",r),ou(t,a?"top":"left",a?pe:fe),ou(t,a?"height":"width",a?se:ce),iu(t,Ba)}else ru(t,Ba)})),Le=$e=Re=Ie=ze=He=Ue=Ve=je=null,We=1,Xt(!0),vn("setSize"),ye=!1),ue>0&&le>0&&(p.clearRect(0,0,f.width,f.height),vn("drawClear"),x.forEach((function(e){return e()})),vn("draw")),$t.show&&De&&(It($t),De=!1),Ee.show&&be&&(Jt(null,!0,!1),be=!1),V.show&&V.live&&we&&(Gt(),we=!1),c||(c=!0,r.status=1,vn("ready")),Ke=!1,Et=!1}function Ft(e,n){var i=D[e];if(null==i.from){if(0==Ne){var o=i.range(r,n.min,n.max,e);n.min=o[0],n.max=o[1]}if(n.min>n.max){var a=n.min;n.min=n.max,n.max=a}if(Ne>1&&null!=n.min&&null!=n.max&&n.max-n.min<1e-16)return;e==A&&2==i.distr&&Ne>0&&(n.min=yu(n.min,t[0]),n.max=yu(n.max,t[0]),n.min==n.max&&n.max++),O[e]=n,ge=!0,Ct()}}r.redraw=function(e,t){_e=t||!1,!1!==e?zt(A,M.min,M.max):Ct()},r.setScale=Ft;var Mt=!1,Tt=Ee.drag,Ot=Tt.x,Pt=Tt.y;Ee.show&&(Ee.x&&(dt=uu("u-cursor-x",v)),Ee.y&&(vt=uu("u-cursor-y",v)),0==M.ori?(mt=dt,gt=vt):(mt=vt,gt=dt),kt=Ee.left,xt=Ee.top);var Bt,Nt,Lt,$t=r.select=gl({show:!0,over:!0,left:0,width:0,top:0,height:0},e.select),jt=$t.show?uu("u-select",$t.over?v:d):null;function It(e,t){if($t.show){for(var n in e)$t[n]=e[n],n in un&&ou(jt,n,e[n]);!1!==t&&vn("setSelect")}}function zt(e,t,n){Ft(e,{min:t,max:n})}function Ht(e,t,n,o){null!=t.focus&&function(e){if(e!=Lt){var t=null==e,n=1!=Fe.alpha;_.forEach((function(r,i){var o=t||0==i||i==e;r._focus=t?null:o,n&&function(e,t){_[e].alpha=t,Ee.show&&Te[e]&&(Te[e].style.opacity=t);W&&q[e]&&(q[e].style.opacity=t)}(i,o?1:Fe.alpha)})),Lt=e,n&&Ct()}}(e),null!=t.show&&_.forEach((function(n,r){r>0&&(e==r||null==e)&&(n.show=t.show,function(e,t){var n=_[e],r=W?q[e]:null;n.show?r&&iu(r,Ba):(r&&ru(r,Ba),Te.length>1&&cu(Te[e],-10,-10,ce,se))}(r,t.show),zt(2==i?n.facets[1].scale:n.scale,null,null),Ct())})),!1!==n&&vn("setSeries",e,t),o&&bn("setSeries",r,e,t)}r.setSelect=It,r.setSeries=Ht,r.addBand=function(e,t){e.fill=Yu(e.fill||null),e.dir=Cu(e.dir,-1),t=null==t?w.length:t,w.splice(t,0,e)},r.setBand=function(e,t){gl(w[e],t)},r.delBand=function(e){null==e?w.length=0:w.splice(e,1)};var Ut={focus:!0};function Vt(e,t,n){var r=D[t];n&&(e=e/ma-(1==r.ori?pe:fe));var i=ce;1==r.ori&&(e=(i=se)-e),-1==r.dir&&(e=i-e);var o=r._min,a=o+(r._max-o)*(e/i),u=r.distr;return 3==u?ju(10,a):4==u?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Tu.sinh(e)*t}(a,r.asinh):a}function Wt(e,t){ou(jt,Ia,$t.left=e),ou(jt,La,$t.width=t)}function Zt(e,t){ou(jt,Ra,$t.top=e),ou(jt,$a,$t.height=t)}W&&Me&&oe(qa,N,(function(e){Ee._lock||(Ce(e),null!=Lt&&Ht(null,Ut,!0,gn.setSeries))})),r.valToIdx=function(e){return yu(e,t[0])},r.posToIdx=function(e,n){return yu(Vt(e,A,n),t[0],qe,Ge)},r.posToVal=Vt,r.valToPos=function(e,t,n){return 0==D[t].ori?a(e,D[t],n?ve:ce,n?he:0):u(e,D[t],n?me:se,n?de:0)},r.batch=function(e){e(r),Ct()},r.setCursor=function(e,t,n){kt=e.left,xt=e.top,Jt(null,t,n)};var Yt=0==M.ori?Wt:Zt,qt=1==M.ori?Wt:Zt;function Gt(e,t){null!=e&&(e.idxs?e.idxs.forEach((function(e,t){U[t]=e})):function(e){return void 0===e}(e.idx)||U.fill(e.idx),V.idx=U[0]);for(var n=0;n<_.length;n++)(n>0||1==i&&!Q)&&Qt(n,U[n]);W&&V.live&&function(){if(W&&V.live)for(var e=2==i?1:0;e<_.length;e++)if(0!=e||!Q){var t=V.values[e],n=0;for(var r in t)G[e][n++].firstChild.nodeValue=t[r]}}(),we=!1,!1!==t&&vn("setLegend")}function Qt(e,n){var i,o,a=_[e],u=0==e&&2==T?Je:t[e];o=Q?null!==(i=a.values(r,e,n))&&void 0!==i?i:J:null==(o=a.value(r,null==n?null:u[n],e,n))?J:{_:o},V.values[e]=o}function Jt(e,n,o){wt=kt,At=xt;var a,u=Rt(Ee.move(r,kt,xt),2);kt=u[0],xt=u[1],Ee.show&&(mt&&cu(mt,Nu(kt),0,ce,se),gt&&cu(gt,0,Nu(xt),ce,se));var l=qe>Ge;Bt=Vu;var c=0==M.ori?ce:se,s=1==M.ori?ce:se;if(kt<0||0==Ne||l){a=null;for(var f=0;f<_.length;f++)f>0&&Te.length>1&&cu(Te[f],-10,-10,ce,se);Me&&Ht(null,Ut,!0,null==e&&gn.setSeries),V.live&&(U.fill(a),we=!0)}else{var p,h;1==i&&(a=yu(p=Vt(0==M.ori?kt:xt,A),t[0],qe,Ge),h=S(t[0][a],M,c,0));for(var d=2==i?1:0;d<_.length;d++){var v=_[d],m=U[d],g=1==i?t[d][m]:t[d][1][m],y=Ee.dataIdx(r,d,a,p),b=1==i?t[d][y]:t[d][1][y];we=we||b!=g||y!=m,U[d]=y;var w=tl(y==a?h:S(1==i?t[0][y]:t[d][0][y],M,c,0),1);if(d>0&&v.show){var k=null==b?-10:tl(F(b,1==i?D[v.scale]:D[v.facets[1].scale],s,0),1);if(Me&&k>=0&&1==i){var x=Pu(k-xt);if(x<Bt){var E=Fe.bias;if(0!=E){var C=Vt(1==M.ori?kt:xt,v.scale),T=C>=0?1:-1;T==(b>=0?1:-1)&&(1==T?1==E?b>=C:b<=C:1==E?b<=C:b>=C)&&(Bt=x,Nt=d)}else Bt=x,Nt=d}}var O=void 0,P=void 0;if(0==M.ori?(O=w,P=k):(O=k,P=w),we&&Te.length>1){fu(Te[d],Ee.points.fill(r,d),Ee.points.stroke(r,d));var B=void 0,N=void 0,L=void 0,$=void 0,R=!0,j=Ee.points.bbox;if(null!=j){R=!1;var I=j(r,d);L=I.left,$=I.top,B=I.width,N=I.height}else L=O,$=P,B=N=Ee.points.size(r,d);hu(Te[d],B,N,R),cu(Te[d],L,$,ce,se)}}}}if(Ee.idx=a,Ee.left=kt,Ee.top=xt,we&&(V.idx=a,Gt()),$t.show&&Mt)if(null!=e){var z=Rt(gn.scales,2),H=z[0],W=z[1],Z=Rt(gn.match,2),Y=Z[0],q=Z[1],G=Rt(e.cursor.sync.scales,2),Q=G[0],J=G[1],K=e.cursor.drag;if(Ot=K._x,Pt=K._y,Ot||Pt){var X,ee,te,ne,re,ie=e.select,oe=ie.left,ae=ie.top,ue=ie.width,le=ie.height,fe=e.scales[H].ori,pe=e.posToVal,he=null!=H&&Y(H,Q),de=null!=W&&q(W,J);he&&Ot?(0==fe?(X=oe,ee=ue):(X=ae,ee=le),te=D[H],ne=S(pe(X,Q),te,c,0),re=S(pe(X+ee,Q),te,c,0),Yt($u(ne,re),Pu(re-ne))):Yt(0,c),de&&Pt?(1==fe?(X=oe,ee=ue):(X=ae,ee=le),te=D[W],ne=F(pe(X,J),te,s,0),re=F(pe(X+ee,J),te,s,0),qt($u(ne,re),Pu(re-ne))):qt(0,s)}else ln()}else{var ve=Pu(wt-yt),me=Pu(At-_t);if(1==M.ori){var ge=ve;ve=me,me=ge}Ot=Tt.x&&ve>=Tt.dist,Pt=Tt.y&&me>=Tt.dist;var ye,_e,be=Tt.uni;null!=be?Ot&&Pt&&(Pt=me>=be,(Ot=ve>=be)||Pt||(me>ve?Pt=!0:Ot=!0)):Tt.x&&Tt.y&&(Ot||Pt)&&(Ot=Pt=!0),Ot&&(0==M.ori?(ye=bt,_e=kt):(ye=Dt,_e=xt),Yt($u(ye,_e),Pu(_e-ye)),Pt||qt(0,s)),Pt&&(1==M.ori?(ye=bt,_e=kt):(ye=Dt,_e=xt),qt($u(ye,_e),Pu(_e-ye)),Ot||Yt(0,c)),Ot||Pt||(Yt(0,0),qt(0,0))}if(Tt._x=Ot,Tt._y=Pt,null==e){if(o){if(null!=yn){var De=Rt(gn.scales,2),Ae=De[0],ke=De[1];gn.values[0]=null!=Ae?Vt(0==M.ori?kt:xt,Ae):null,gn.values[1]=null!=ke?Vt(1==M.ori?kt:xt,ke):null}bn(Va,r,kt,xt,ce,se,a)}if(Me){var xe=o&&gn.setSeries,Ce=Fe.prox;null==Lt?Bt<=Ce&&Ht(Nt,Ut,!0,xe):Bt>Ce?Ht(null,Ut,!0,xe):Nt!=Lt&&Ht(Nt,Ut,!0,xe)}}!1!==n&&vn("setCursor")}r.setLegend=Gt;var Kt=null;function Xt(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]?Kt=null:vn("syncRect",Kt=v.getBoundingClientRect())}function en(e,t,n,r,i,o,a){Ee._lock||Mt&&null!=e&&0==e.movementX&&0==e.movementY||(tn(e,t,n,r,i,o,a,!1,null!=e),null!=e?Jt(null,!0,!0):Jt(t,!0,!1))}function tn(e,t,n,i,o,a,u,c,s){if(null==Kt&&Xt(!1),Ce(e),null!=e)n=e.clientX-Kt.left,i=e.clientY-Kt.top;else{if(n<0||i<0)return kt=-10,void(xt=-10);var f=Rt(gn.scales,2),p=f[0],h=f[1],d=t.cursor.sync,v=Rt(d.values,2),m=v[0],g=v[1],y=Rt(d.scales,2),_=y[0],b=y[1],w=Rt(gn.match,2),A=w[0],k=w[1],x=t.axes[0].side%2==1,E=0==M.ori?ce:se,C=1==M.ori?ce:se,S=x?a:o,F=x?o:a,T=x?i:n,O=x?n:i;if(n=null!=_?A(p,_)?l(m,D[p],E,0):-10:E*(T/S),i=null!=b?k(h,b)?l(g,D[h],C,0):-10:C*(O/F),1==M.ori){var P=n;n=i,i=P}}if(s&&((n<=1||n>=ce-1)&&(n=el(n,ce)),(i<=1||i>=se-1)&&(i=el(i,se))),c){yt=n,_t=i;var B=Rt(Ee.move(r,n,i),2);bt=B[0],Dt=B[1]}else kt=n,xt=i}Object.defineProperty(r,"rect",{get:function(){return null==Kt&&Xt(!1),Kt}});var nn,rn,on,an,un={width:0,height:0,left:0,top:0};function ln(){It(un,!1)}function cn(e,t,n,i,o,a,u){Mt=!0,Ot=Pt=Tt._x=Tt._y=!1,tn(e,t,n,i,o,a,0,!0,!1),null!=e&&(oe(Za,eu,sn,!1),bn(Wa,r,bt,Dt,ce,se,null));var l=$t.left,c=$t.top,s=$t.width,f=$t.height;nn=l,rn=c,on=s,an=f,ln()}function sn(e,t,n,i,o,a,u){Mt=Tt._x=Tt._y=!1,tn(e,t,n,i,o,a,0,!1,!0);var l=$t.left,c=$t.top,s=$t.width,f=$t.height,p=s>0||f>0,h=nn!=l||rn!=c||on!=s||an!=f;if(p&&h&&It($t),Tt.setScale&&p&&h){var d=l,v=s,m=c,g=f;if(1==M.ori&&(d=c,v=f,m=l,g=s),Ot&&zt(A,Vt(d,A),Vt(d+v,A)),Pt)for(var y in D){var _=D[y];y!=A&&null==_.from&&_.min!=Vu&&zt(y,Vt(m+g,y),Vt(m,y))}ln()}else Ee.lock&&(Ee._lock=!Ee._lock,Ee._lock||Jt(null,!0,!1));null!=e&&(ae(Za,eu),bn(Za,r,kt,xt,ce,se,null))}function fn(e,t,n,i,o,a,u){Ee._lock||(Ce(e),et(),ln(),null!=e&&bn(Ga,r,kt,xt,ce,se,null))}function pn(){b.forEach(Cs),Ae(r.width,r.height,!0)}mu(Ja,tu,pn);var hn={};hn.mousedown=cn,hn.mousemove=en,hn.mouseup=sn,hn.dblclick=fn,hn.setSeries=function(e,t,n,i){-1!=(n=(0,gn.match[2])(r,t,n))&&Ht(n,i,!0,!1)},Ee.show&&(oe(Wa,v,cn),oe(Va,v,en),oe(Ya,v,(function(e){Ce(e),Xt(!1)})),oe(qa,v,(function(e,t,n,r,i,o,a){if(!Ee._lock){Ce(e);var u=Mt;if(Mt){var l,c,s=!0,f=!0;0==M.ori?(l=Ot,c=Pt):(l=Pt,c=Ot),l&&c&&(s=kt<=10||kt>=ce-10,f=xt<=10||xt>=se-10),l&&s&&(kt=kt<bt?0:ce),c&&f&&(xt=xt<Dt?0:se),Jt(null,!0,!0),Mt=!1}kt=-10,xt=-10,Jt(null,!0,!0),u&&(Mt=u)}})),oe(Ga,v,fn),ps.add(r),r.syncRect=Xt);var dn=r.hooks=e.hooks||{};function vn(e,t,n){e in dn&&dn[e].forEach((function(e){e.call(null,r,t,n)}))}(e.plugins||[]).forEach((function(e){for(var t in e.hooks)dn[t]=(dn[t]||[]).concat(e.hooks[t])}));var mn=function(e,t,n){return n},gn=gl({key:null,setSeries:!1,filters:{pub:Ju,sub:Ju},scales:[A,_[1]?_[1].scale:null],match:[Ku,Ku,mn],values:[null,null]},Ee.sync);2==gn.match.length&&gn.match.push(mn),Ee.sync=gn;var yn=gn.key,_n=Ic(yn);function bn(e,t,n,r,i,o,a){gn.filters.pub(e,t,n,r,i,o,a)&&_n.pub(e,t,n,r,i,o,a)}function Dn(){vn("init",e,t),Xe(t||e.data,!1),O[A]?Ft(A,O[A]):et(),De=$t.show&&($t.width>0||$t.height>0),be=we=!0,Ae(e.width,e.height)}return _n.sub(r),r.pub=function(e,t,n,r,i,o,a){gn.filters.sub(e,t,n,r,i,o,a)&&hn[e](null,t,n,r,i,o,a)},r.destroy=function(){var e;_n.unsub(r),ps.delete(r),ie.clear(),gu(Ja,tu,pn),s.remove(),null===(e=N)||void 0===e||e.remove(),vn("destroy")},_.forEach(Oe),b.forEach((function(e,t){if(e._show=e.show,e.show){var n=e.side%2,i=D[e.scale];null==i&&(e.scale=n?_[1].scale:A,i=D[e.scale]);var o=i.time;e.size=Yu(e.size),e.space=Yu(e.space),e.rotate=Yu(e.rotate),sl(e.incrs)&&e.incrs.forEach((function(e){!il.has(e)&&il.set(e,ol(e))})),e.incrs=Yu(e.incrs||(2==i.distr?Bl:o?1==y?ql:Kl:Nl)),e.splits=Yu(e.splits||(o&&1==i.distr?I:3==i.distr?Dc:4==i.distr?wc:bc)),e.stroke=Yu(e.stroke),e.grid.stroke=Yu(e.grid.stroke),e.ticks.stroke=Yu(e.ticks.stroke),e.border.stroke=Yu(e.border.stroke);var a=e.values;e.values=sl(a)&&!sl(a[0])?Yu(a):o?sl(a)?nc(R,tc(a,j)):pl(a)?function(e,t){var n=Sl(t);return function(t,r,i,o,a){return r.map((function(t){return n(e(t))}))}}(R,a):a||z:a||_c,e.filter=Yu(e.filter||(i.distr>=3&&10==i.log?Sc:3==i.distr&&2==i.log?Fc:Gu)),e.font=Es(e.font),e.labelFont=Es(e.labelFont),e._size=e.size(r,null,t,0),e._space=e._rotate=e._incrs=e._found=e._splits=e._values=null,e._size>0&&(Pe[t]=!0,e._el=uu("u-axis",h))}})),n?n instanceof HTMLElement?(n.appendChild(s),Dn()):n(r,Dn):Dn(),r}Ss.assign=gl,Ss.fmtNum=Mu,Ss.rangeNum=Eu,Ss.rangeLog=bu,Ss.rangeAsinh=Du,Ss.orient=Hc,Ss.pxRatio=ma,Ss.join=function(e,t){if(function(e){for(var t=e[0][0],n=t.length,r=1;r<e.length;r++){var i=e[r][0];if(i.length!=n)return!1;if(i!=t)for(var o=0;o<n;o++)if(i[o]!=t[o])return!1}return!0}(e)){for(var n=e[0].slice(),r=1;r<e.length;r++){var i;(i=n).push.apply(i,It(e[r].slice(1)))}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=e.length;if(n<=1)return!0;for(var r=0,i=n-1;r<=i&&null==e[r];)r++;for(;i>=r&&null==e[i];)i--;if(i<=r)return!0;for(var o=Ru(1,Bu((i-r+1)/t)),a=e[r],u=r+o;u<=i;u+=o){var l=e[u];if(null!=l){if(l<=a)return!1;a=l}}return!0}(n[0])||(n=function(e){for(var t=e[0],n=t.length,r=Array(n),i=0;i<r.length;i++)r[i]=i;r.sort((function(e,n){return t[e]-t[n]}));for(var o=[],a=0;a<e.length;a++){for(var u=e[a],l=Array(n),c=0;c<n;c++)l[c]=u[r[c]];o.push(l)}return o}(n)),n}for(var o=new Set,a=0;a<e.length;a++)for(var u=e[a][0],l=u.length,c=0;c<l;c++)o.add(u[c]);for(var s=[Array.from(o).sort((function(e,t){return e-t}))],f=s[0].length,p=new Map,h=0;h<f;h++)p.set(s[0][h],h);for(var d=0;d<e.length;d++)for(var v=e[d],m=v[0],g=1;g<v.length;g++){for(var y=v[g],_=Array(f).fill(void 0),b=t?t[d][g]:1,D=[],w=0;w<y.length;w++){var A=y[w],k=p.get(m[w]);null===A?0!=b&&(_[k]=A,2==b&&D.push(k)):_[k]=A}yl(_,D,f),s.push(_)}return s},Ss.fmtDate=Sl,Ss.tzDate=function(e,t){var n;return"UTC"==t||"Etc/UTC"==t?n=new Date(+e+6e4*e.getTimezoneOffset()):t==Fl?n=e:(n=new Date(e.toLocaleString("en-US",{timeZone:t}))).setMilliseconds(e.getMilliseconds()),n},Ss.sync=Ic,Ss.addGap=function(e,t,n){var r=e[e.length-1];r&&r[0]==t?r[1]=n:e.push([t,n])},Ss.clipGaps=Zc;var Fs=Ss.paths={points:as};Fs.linear=ss,Fs.stepped=function(e){var t=Cu(e.align,1),n=Cu(e.ascDesc,!1),r=Cu(e.alignGaps,0),i=Cu(e.extend,!1);return function(e,o,a,u){return Hc(e,o,(function(l,c,s,f,p,h,d,v,m,g,y){var _=l.pxRound,b=e.bbox,D=b.left,w=b.width,A=function(e){return _(h(e,f,g,v))},k=function(e){return _(d(e,p,y,m))},x=0==f.ori?Kc:Xc,E={stroke:new Path2D,fill:null,clip:null,band:null,gaps:null,flags:zc},C=E.stroke,S=f.dir*(0==f.ori?1:-1);a=_u(s,a,u,1),u=_u(s,a,u,-1);var F=k(s[1==S?a:u]),M=A(c[1==S?a:u]),T=M,O=M;i&&-1==t&&x(C,O=D,F),x(C,M,F);for(var P=1==S?a:u;P>=a&&P<=u;P+=S){var B=s[P];if(null!=B){var N=A(c[P]),L=k(B);1==t?x(C,N,F):x(C,T,L),x(C,N,L),F=L,T=N}}var $=T;i&&1==t&&x(C,$=D+w,F);var R=Rt(Uc(e,o),2),j=R[0],I=R[1];if(null!=l.fill||0!=j){var z=E.fill=new Path2D(C),H=k(l.fillTo(e,o,l.min,l.max,j));x(z,$,H),x(z,O,H)}if(!l.spanGaps){var U,V=[];(U=V).push.apply(U,It(Yc(c,s,a,u,S,A,r)));var W=l.width*ma/2,Z=n||1==t?W:-W,Y=n||-1==t?-W:W;V.forEach((function(e){e[0]+=Z,e[1]+=Y})),E.gaps=V=l.gaps(e,o,a,u,V),E.clip=Zc(V,f.ori,v,m,g,y)}return 0!=I&&(E.band=2==I?[Wc(e,o,a,u,C,-1),Wc(e,o,a,u,C,1)]:Wc(e,o,a,u,C,I)),E}))}},Fs.bars=function(e){var t=Cu((e=e||ul).size,[.6,Vu,1]),n=e.align||0,r=(e.gap||0)*ma,i=e.radius,o=Yu(i=null==i?[0,0]:"number"==typeof i?[i,0]:i),a=1-t[0],u=Cu(t[1],Vu)*ma,l=Cu(t[2],1)*ma,c=Cu(e.disp,ul),s=Cu(e.each,(function(e){})),f=c.fill,p=c.stroke;return function(e,t,i,h){return Hc(e,t,(function(d,v,m,g,y,_,b,D,w,A,k){var x,E,C=d.pxRound;if(0==g.ori){var S=Rt(o(e,t),2);x=S[0],E=S[1]}else{var F=Rt(o(e,t),2);E=F[0],x=F[1]}var M,T,O=g.dir*(0==g.ori?1:-1),P=y.dir*(1==y.ori?1:-1),B=0==g.ori?es:ts,N=0==g.ori?s:function(e,t,n,r,i,o,a){s(e,t,n,i,r,a,o)},L=Rt(Uc(e,t),2),$=L[0],R=L[1],j=3==y.distr?1==$?y.max:y.min:0,I=b(j,y,k,w),z=C(d.width*ma),H=!1,U=null,V=null,W=null,Z=null;null==f||0!=z&&null==p||(H=!0,U=f.values(e,t,i,h),V=new Map,new Set(U).forEach((function(e){null!=e&&V.set(e,new Path2D)})),z>0&&(W=p.values(e,t,i,h),Z=new Map,new Set(W).forEach((function(e){null!=e&&Z.set(e,new Path2D)}))));var Y=c.x0,q=c.size,G=!0;if(null!=Y&&null!=q){v=Y.values(e,t,i,h),2==Y.unit&&(v=v.map((function(t){return e.posToVal(D+t*A,g.key,!0)})));var Q=q.values(e,t,i,h);z>=(T=2==q.unit?Q[0]*A:_(Q[0],g,A,D)-_(0,g,A,D))/2&&(z=0),T=C(Zu(T-z,l,u)),M=1==O?-z/2:T+z/2}else{var J=A;if(v.length>1)for(var K=null,X=0,ee=1/0;X<v.length;X++)if(void 0!==m[X]){if(null!=K){var te=Pu(v[X]-v[K]);te<ee&&(ee=te,J=Pu(_(v[X],g,A,D)-_(v[K],g,A,D)))}K=X}var ne=J*a;z>=(T=J-ne-r)/2&&(z=0),ne+r<5&&(C=qu),T=C(Zu(J-ne,l,u)-z-r),M=(0==n?T/2:n==O?0:T)-n*O*r/2,T+z>J&&(G=!1)}var re,ie={stroke:null,fill:null,clip:null,band:null,gaps:null,flags:2|zc};0!=R&&(ie.band=new Path2D,re=C(b(1==R?y.max:y.min,y,k,w)));var oe=H?null:new Path2D,ae=ie.band,ue=c.y0,le=c.y1,ce=null;null!=ue&&null!=le&&(m=le.values(e,t,i,h),ce=ue.values(e,t,i,h));for(var se=x*T,fe=E*T,pe=1==O?i:h;pe>=i&&pe<=h;pe+=O){var he=m[pe];if(void 0!==he){var de=_(2!=g.distr||null!=c?v[pe]:pe,g,A,D),ve=b(Cu(he,j),y,k,w);null!=ce&&null!=he&&(I=b(ce[pe],y,k,w));var me=C(de-M),ge=C(Ru(ve,I)),ye=C($u(ve,I)),_e=ge-ye;if(null!=he){var be=he<0?fe:se,De=he<0?se:fe;H?(z>0&&null!=W[pe]&&B(Z.get(W[pe]),me,ye+Bu(z/2),T,Ru(0,_e-z),be,De),null!=U[pe]&&B(V.get(U[pe]),me,ye+Bu(z/2),T,Ru(0,_e-z),be,De)):B(oe,me,ye+Bu(z/2),T,Ru(0,_e-z),be,De),N(e,t,pe,me-z/2,ye,T+z,_e)}0==R||null==he&&!G||(P*R==1?(ge=ye,ye=re):(ye=ge,ge=re),B(ae,me-z/2,ye,T+z,Ru(0,_e=ge-ye),0,0))}}if(z>0)ie.stroke=H?Z:oe;else if(!H){var we;ie._fill=0==d.width?d._fill:null!==(we=d._stroke)&&void 0!==we?we:d._fill,ie.width=0}return ie.fill=H?V:oe,ie}))}},Fs.spline=function(e){return function(e,t){var n=Cu(null===t||void 0===t?void 0:t.alignGaps,0);return function(t,r,i,o){return Hc(t,r,(function(a,u,l,c,s,f,p,h,d,v,m){var g,y,_,b=a.pxRound,D=function(e){return b(f(e,c,v,h))},w=function(e){return b(p(e,s,m,d))};0==c.ori?(g=Qc,_=Kc,y=is):(g=Jc,_=Xc,y=os);var A=c.dir*(0==c.ori?1:-1);i=_u(l,i,o,1),o=_u(l,i,o,-1);for(var k=D(u[1==A?i:o]),x=k,E=[],C=[],S=1==A?i:o;S>=i&&S<=o;S+=A)if(null!=l[S]){var F=D(u[S]);E.push(x=F),C.push(w(l[S]))}var M={stroke:e(E,C,g,_,y,b),fill:null,clip:null,band:null,gaps:null,flags:zc},T=M.stroke,O=Rt(Uc(t,r),2),P=O[0],B=O[1];if(null!=a.fill||0!=P){var N=M.fill=new Path2D(T),L=w(a.fillTo(t,r,a.min,a.max,P));_(N,x,L),_(N,k,L)}if(!a.spanGaps){var $,R=[];($=R).push.apply($,It(Yc(u,l,i,o,A,D,n))),M.gaps=R=a.gaps(t,r,i,o,R),M.clip=Zc(R,c.ori,h,d,v,m)}return 0!=B&&(M.band=2==B?[Wc(t,r,i,o,T,-1),Wc(t,r,i,o,T,1)]:Wc(t,r,i,o,T,B)),M}))}}(fs,e)};!function(e,t,n){for(var r=[],i=0;i<n;i++){var o=i/(n-1),a=e[0]+(t[0]-e[0])*o,u=e[1]+(t[1]-e[1])*o,l=e[2]+(t[2]-e[2])*o;r.push([a,u,l].map((function(e){return Math.round(e)})).join(", "))}r.map((function(e){return"rgb(".concat(e,")")}))}([246,226,219],[127,39,4],16);var Ms=function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")};function Ts(e,t){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.add(e)}function Os(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}function Ps(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}var Bs={async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};function Ns(e){Bs=e}var Ls=/[&<>"']/,$s=new RegExp(Ls.source,"g"),Rs=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,js=new RegExp(Rs.source,"g"),Is={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},zs=function(e){return Is[e]};function Hs(e,t){if(t){if(Ls.test(e))return e.replace($s,zs)}else if(Rs.test(e))return e.replace(js,zs);return e}var Us=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function Vs(e){return e.replace(Us,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var Ws=/(^|[^\[])\^/g;function Zs(e,t){e="string"===typeof e?e:e.source,t=t||"";var n={replace:function(t,r){return r=(r=r.source||r).replace(Ws,"$1"),e=e.replace(t,r),n},getRegex:function(){return new RegExp(e,t)}};return n}var Ys=/[^\w:]/g,qs=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Gs(e,t,n){if(e){var r;try{r=decodeURIComponent(Vs(n)).replace(Ys,"").toLowerCase()}catch(c){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!qs.test(n)&&(n=function(e,t){Qs[" "+e]||(Js.test(e)?Qs[" "+e]=e+"/":Qs[" "+e]=nf(e,"/",!0));e=Qs[" "+e];var n=-1===e.indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(Ks,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(Xs,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(c){return null}return n}var Qs={},Js=/^[^:]+:\/*[^/]*$/,Ks=/^([^:]+:)[\s\S]*$/,Xs=/^([^:]+:\/*[^/]*)[\s\S]*$/;var ef={exec:function(){}};function tf(e,t){var n=e.replace(/\|/g,(function(e,t,n){for(var r=!1,i=t;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"})).split(/ \|/),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function nf(e,t,n){var r=e.length;if(0===r)return"";for(var i=0;i<r;){var o=e.charAt(r-i-1);if(o!==t||n){if(o===t||!n)break;i++}else i++}return e.slice(0,r-i)}function rf(e,t,n,r){var i=t.href,o=t.title?Hs(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;var u={type:"link",raw:n,href:i,title:o,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,u}return{type:"image",raw:n,href:i,title:o,text:Hs(a)}}var of=function(){function e(t){zt(this,e),this.options=t||Bs}return Wt(e,[{key:"space",value:function(e){var t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}},{key:"code",value:function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:nf(n,"\n")}}}},{key:"fences",value:function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:Rt(t,1)[0].length>=r.length?e.slice(r.length):e})).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:r}}}},{key:"heading",value:function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(/#$/.test(n)){var r=nf(n,"#");this.options.pedantic?n=r.trim():r&&!/ $/.test(r)||(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}},{key:"hr",value:function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}},{key:"blockquote",value:function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=t[0].replace(/^ *>[ \t]?/gm,""),r=this.lexer.state.top;this.lexer.state.top=!0;var i=this.lexer.blockTokens(n);return this.lexer.state.top=r,{type:"blockquote",raw:t[0],tokens:i,text:n}}}},{key:"list",value:function(e){var t=this.rules.block.list.exec(e);if(t){var n,r,i,o,a,u,l,c,s,f,p,h,d=t[1].trim(),v=d.length>1,m={type:"list",raw:"",ordered:v,start:v?+d.slice(0,-1):"",loose:!1,items:[]};d=v?"\\d{1,9}\\".concat(d.slice(-1)):"\\".concat(d),this.options.pedantic&&(d=v?d:"[*+-]");for(var g=new RegExp("^( {0,3}".concat(d,")((?:[\t ][^\\n]*)?(?:\\n|$))"));e&&(h=!1,t=g.exec(e))&&!this.rules.block.hr.test(e);){if(n=t[0],e=e.substring(n.length),c=t[2].split("\n",1)[0].replace(/^\t+/,(function(e){return" ".repeat(3*e.length)})),s=e.split("\n",1)[0],this.options.pedantic?(o=2,p=c.trimLeft()):(o=(o=t[2].search(/[^ ]/))>4?1:o,p=c.slice(o),o+=t[1].length),u=!1,!c&&/^ *$/.test(s)&&(n+=s+"\n",e=e.substring(s.length+1),h=!0),!h)for(var y=new RegExp("^ {0,".concat(Math.min(3,o-1),"}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))")),_=new RegExp("^ {0,".concat(Math.min(3,o-1),"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)")),b=new RegExp("^ {0,".concat(Math.min(3,o-1),"}(?:```|~~~)")),D=new RegExp("^ {0,".concat(Math.min(3,o-1),"}#"));e&&(s=f=e.split("\n",1)[0],this.options.pedantic&&(s=s.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!b.test(s))&&!D.test(s)&&!y.test(s)&&!_.test(e);){if(s.search(/[^ ]/)>=o||!s.trim())p+="\n"+s.slice(o);else{if(u)break;if(c.search(/[^ ]/)>=4)break;if(b.test(c))break;if(D.test(c))break;if(_.test(c))break;p+="\n"+s}u||s.trim()||(u=!0),n+=f+"\n",e=e.substring(f.length+1),c=s.slice(o)}m.loose||(l?m.loose=!0:/\n *\n *$/.test(n)&&(l=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(p))&&(i="[ ] "!==r[0],p=p.replace(/^\[[ xX]\] +/,"")),m.items.push({type:"list_item",raw:n,task:!!r,checked:i,loose:!1,text:p}),m.raw+=n}m.items[m.items.length-1].raw=n.trimRight(),m.items[m.items.length-1].text=p.trimRight(),m.raw=m.raw.trimRight();var w=m.items.length;for(a=0;a<w;a++)if(this.lexer.state.top=!1,m.items[a].tokens=this.lexer.blockTokens(m.items[a].text,[]),!m.loose){var A=m.items[a].tokens.filter((function(e){return"space"===e.type})),k=A.length>0&&A.some((function(e){return/\n.*\n/.test(e.raw)}));m.loose=k}if(m.loose)for(a=0;a<w;a++)m.items[a].loose=!0;return m}}},{key:"html",value:function(e){var t=this.rules.block.html.exec(e);if(t){var n={type:"html",block:!0,raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};if(this.options.sanitize){var r=this.options.sanitizer?this.options.sanitizer(t[0]):Hs(t[0]);n.type="paragraph",n.text=r,n.tokens=this.lexer.inline(r)}return n}}},{key:"def",value:function(e){var t=this.rules.block.def.exec(e);if(t){var n=t[1].toLowerCase().replace(/\s+/g," "),r=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",i=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:r,title:i}}}},{key:"table",value:function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:tf(t[1]).map((function(e){return{text:e}})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var r,i,o,a,u=n.align.length;for(r=0;r<u;r++)/^ *-+: *$/.test(n.align[r])?n.align[r]="right":/^ *:-+: *$/.test(n.align[r])?n.align[r]="center":/^ *:-+ *$/.test(n.align[r])?n.align[r]="left":n.align[r]=null;for(u=n.rows.length,r=0;r<u;r++)n.rows[r]=tf(n.rows[r],n.header.length).map((function(e){return{text:e}}));for(u=n.header.length,i=0;i<u;i++)n.header[i].tokens=this.lexer.inline(n.header[i].text);for(u=n.rows.length,i=0;i<u;i++)for(a=n.rows[i],o=0;o<a.length;o++)a[o].tokens=this.lexer.inline(a[o].text);return n}}}},{key:"lheading",value:function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}},{key:"paragraph",value:function(e){var t=this.rules.block.paragraph.exec(e);if(t){var n="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}},{key:"text",value:function(e){var t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}},{key:"escape",value:function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:Hs(t[1])}}},{key:"tag",value:function(e){var t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):Hs(t[0]):t[0]}}},{key:"link",value:function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;var r=nf(n.slice(0,-1),"\\");if((n.length-r.length)%2===0)return}else{var i=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,r=0,i=0;i<n;i++)if("\\"===e[i])i++;else if(e[i]===t[0])r++;else if(e[i]===t[1]&&--r<0)return i;return-1}(t[2],"()");if(i>-1){var o=(0===t[0].indexOf("!")?5:4)+t[1].length+i;t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,o).trim(),t[3]=""}}var a=t[2],u="";if(this.options.pedantic){var l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);l&&(a=l[1],u=l[3])}else u=t[3]?t[3].slice(1,-1):"";return a=a.trim(),/^</.test(a)&&(a=this.options.pedantic&&!/>$/.test(n)?a.slice(1):a.slice(1,-1)),rf(t,{href:a?a.replace(this.rules.inline._escapes,"$1"):a,title:u?u.replace(this.rules.inline._escapes,"$1"):u},t[0],this.lexer)}}},{key:"reflink",value:function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(!(r=t[r.toLowerCase()])){var i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return rf(n,r,n[0],this.lexer)}}},{key:"emStrong",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.emStrong.lDelim.exec(e);if(r&&((!r[3]||!n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDF50-\uDF59\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEC0-\uDED3\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDCD0-\uDCEB\uDCF0-\uDCF9\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])/))&&(!(r[1]||r[2]||"")||!n||this.rules.inline.punctuation.exec(n)))){var i,o,a=r[0].length-1,u=a,l=0,c="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+a);null!=(r=c.exec(t));)if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6])if(o=i.length,r[3]||r[4])u+=o;else if(!((r[5]||r[6])&&a%3)||(a+o)%3){if(!((u-=o)>0)){o=Math.min(o,o+u+l);var s=e.slice(0,a+r.index+o+1);if(Math.min(a,o)%2){var f=s.slice(1,-1);return{type:"em",raw:s,text:f,tokens:this.lexer.inlineTokens(f)}}var p=s.slice(2,-2);return{type:"strong",raw:s,text:p,tokens:this.lexer.inlineTokens(p)}}}else l+=o}}},{key:"codespan",value:function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),r=/[^ ]/.test(n),i=/^ /.test(n)&&/ $/.test(n);return r&&i&&(n=n.substring(1,n.length-1)),n=Hs(n,!0),{type:"codespan",raw:t[0],text:n}}}},{key:"br",value:function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}},{key:"del",value:function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}},{key:"autolink",value:function(e,t){var n,r,i=this.rules.inline.autolink.exec(e);if(i)return r="@"===i[2]?"mailto:"+(n=Hs(this.options.mangle?t(i[1]):i[1])):n=Hs(i[1]),{type:"link",raw:i[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}},{key:"url",value:function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var r,i;if("@"===n[2])i="mailto:"+(r=Hs(this.options.mangle?t(n[0]):n[0]));else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);r=Hs(n[0]),i="www."===n[1]?"http://"+n[0]:n[0]}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}},{key:"inlineText",value:function(e,t){var n,r=this.rules.inline.text.exec(e);if(r)return n=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):Hs(r[0]):r[0]:Hs(this.options.smartypants?t(r[0]):r[0]),{type:"text",raw:r[0],text:n}}}]),e}(),af={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:ef,lheading:/^((?:(?!^bull ).|\n(?!\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};af.def=Zs(af.def).replace("label",af._label).replace("title",af._title).getRegex(),af.bullet=/(?:[*+-]|\d{1,9}[.)])/,af.listItemStart=Zs(/^( *)(bull) */).replace("bull",af.bullet).getRegex(),af.list=Zs(af.list).replace(/bull/g,af.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+af.def.source+")").getRegex(),af._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",af._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,af.html=Zs(af.html,"i").replace("comment",af._comment).replace("tag",af._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),af.lheading=Zs(af.lheading).replace(/bull/g,af.bullet).getRegex(),af.paragraph=Zs(af._paragraph).replace("hr",af.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",af._tag).getRegex(),af.blockquote=Zs(af.blockquote).replace("paragraph",af.paragraph).getRegex(),af.normal=Mr({},af),af.gfm=Mr(Mr({},af.normal),{},{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),af.gfm.table=Zs(af.gfm.table).replace("hr",af.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",af._tag).getRegex(),af.gfm.paragraph=Zs(af._paragraph).replace("hr",af.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",af.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",af._tag).getRegex(),af.pedantic=Mr(Mr({},af.normal),{},{html:Zs("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",af._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:ef,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Zs(af.normal._paragraph).replace("hr",af.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",af.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var uf={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ef,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:ef,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^((?![*_])[\spunctuation])/};function lf(e){return e.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026")}function cf(e){var t,n,r="",i=e.length;for(t=0;t<i;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}uf._punctuation="\\p{P}$+<=>`^|~",uf.punctuation=Zs(uf.punctuation,"u").replace(/punctuation/g,uf._punctuation).getRegex(),uf.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,uf.anyPunctuation=/\\[punct]/g,uf._escapes=/\\([punct])/g,uf._comment=Zs(af._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),uf.emStrong.lDelim=Zs(uf.emStrong.lDelim,"u").replace(/punct/g,uf._punctuation).getRegex(),uf.emStrong.rDelimAst=Zs(uf.emStrong.rDelimAst,"gu").replace(/punct/g,uf._punctuation).getRegex(),uf.emStrong.rDelimUnd=Zs(uf.emStrong.rDelimUnd,"gu").replace(/punct/g,uf._punctuation).getRegex(),uf.anyPunctuation=Zs(uf.anyPunctuation,"gu").replace(/punct/g,uf._punctuation).getRegex(),uf._escapes=Zs(uf._escapes,"gu").replace(/punct/g,uf._punctuation).getRegex(),uf._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,uf._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,uf.autolink=Zs(uf.autolink).replace("scheme",uf._scheme).replace("email",uf._email).getRegex(),uf._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,uf.tag=Zs(uf.tag).replace("comment",uf._comment).replace("attribute",uf._attribute).getRegex(),uf._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,uf._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,uf._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,uf.link=Zs(uf.link).replace("label",uf._label).replace("href",uf._href).replace("title",uf._title).getRegex(),uf.reflink=Zs(uf.reflink).replace("label",uf._label).replace("ref",af._label).getRegex(),uf.nolink=Zs(uf.nolink).replace("ref",af._label).getRegex(),uf.reflinkSearch=Zs(uf.reflinkSearch,"g").replace("reflink",uf.reflink).replace("nolink",uf.nolink).getRegex(),uf.normal=Mr({},uf),uf.pedantic=Mr(Mr({},uf.normal),{},{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Zs(/^!?\[(label)\]\((.*?)\)/).replace("label",uf._label).getRegex(),reflink:Zs(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",uf._label).getRegex()}),uf.gfm=Mr(Mr({},uf.normal),{},{escape:Zs(uf.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),uf.gfm.url=Zs(uf.gfm.url,"i").replace("email",uf.gfm._extended_email).getRegex(),uf.breaks=Mr(Mr({},uf.gfm),{},{br:Zs(uf.br).replace("{2,}","*").getRegex(),text:Zs(uf.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var sf=function(){function e(t){zt(this,e),this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Bs,this.options.tokenizer=this.options.tokenizer||new of,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var n={block:af.normal,inline:uf.normal};this.options.pedantic?(n.block=af.pedantic,n.inline=uf.pedantic):this.options.gfm&&(n.block=af.gfm,this.options.breaks?n.inline=uf.breaks:n.inline=uf.gfm),this.tokenizer.rules=n}return Wt(e,[{key:"lex",value:function(e){var t;for(e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}},{key:"blockTokens",value:function(e){var t,n,r,i,o=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];e=this.options.pedantic?e.replace(/\t/g," ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,(function(e,t,n){return t+" ".repeat(n.length)}));for(var u,l=function(){if(o.options.extensions&&o.options.extensions.block&&o.options.extensions.block.some((function(n){return!!(t=n.call({lexer:o},e,a))&&(e=e.substring(t.raw.length),a.push(t),!0)})))return 0;if(t=o.tokenizer.space(e))return e=e.substring(t.raw.length),1===t.raw.length&&a.length>0?a[a.length-1].raw+="\n":a.push(t),0;if(t=o.tokenizer.code(e))return e=e.substring(t.raw.length),!(n=a[a.length-1])||"paragraph"!==n.type&&"text"!==n.type?a.push(t):(n.raw+="\n"+t.raw,n.text+="\n"+t.text,o.inlineQueue[o.inlineQueue.length-1].src=n.text),0;if(t=o.tokenizer.fences(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=o.tokenizer.heading(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=o.tokenizer.hr(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=o.tokenizer.blockquote(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=o.tokenizer.list(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=o.tokenizer.html(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=o.tokenizer.def(e))return e=e.substring(t.raw.length),!(n=a[a.length-1])||"paragraph"!==n.type&&"text"!==n.type?o.tokens.links[t.tag]||(o.tokens.links[t.tag]={href:t.href,title:t.title}):(n.raw+="\n"+t.raw,n.text+="\n"+t.raw,o.inlineQueue[o.inlineQueue.length-1].src=n.text),0;if(t=o.tokenizer.table(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=o.tokenizer.lheading(e))return e=e.substring(t.raw.length),a.push(t),0;if(r=e,o.options.extensions&&o.options.extensions.startBlock){var u,l=1/0,c=e.slice(1);o.options.extensions.startBlock.forEach((function(e){"number"===typeof(u=e.call({lexer:this},c))&&u>=0&&(l=Math.min(l,u))})),l<1/0&&l>=0&&(r=e.substring(0,l+1))}if(o.state.top&&(t=o.tokenizer.paragraph(r)))return n=a[a.length-1],i&&"paragraph"===n.type?(n.raw+="\n"+t.raw,n.text+="\n"+t.text,o.inlineQueue.pop(),o.inlineQueue[o.inlineQueue.length-1].src=n.text):a.push(t),i=r.length!==e.length,e=e.substring(t.raw.length),0;if(t=o.tokenizer.text(e))return e=e.substring(t.raw.length),(n=a[a.length-1])&&"text"===n.type?(n.raw+="\n"+t.raw,n.text+="\n"+t.text,o.inlineQueue.pop(),o.inlineQueue[o.inlineQueue.length-1].src=n.text):a.push(t),0;if(e){var s="Infinite loop on byte: "+e.charCodeAt(0);if(o.options.silent)return console.error(s),1;throw new Error(s)}};e&&(0===(u=l())||1!==u););return this.state.top=!0,a}},{key:"inline",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:e,tokens:t}),t}},{key:"inlineTokens",value:function(e){var t,n,r,i,o,a,u=this,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],c=e;if(this.tokens.links){var s=Object.keys(this.tokens.links);if(s.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(c));)s.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(c));)c=c.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.anyPunctuation.exec(c));)c=c.slice(0,i.index)+"++"+c.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(var f,p=function(){if(o||(a=""),o=!1,u.options.extensions&&u.options.extensions.inline&&u.options.extensions.inline.some((function(n){return!!(t=n.call({lexer:u},e,l))&&(e=e.substring(t.raw.length),l.push(t),!0)})))return 0;if(t=u.tokenizer.escape(e))return e=e.substring(t.raw.length),l.push(t),0;if(t=u.tokenizer.tag(e))return e=e.substring(t.raw.length),(n=l[l.length-1])&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):l.push(t),0;if(t=u.tokenizer.link(e))return e=e.substring(t.raw.length),l.push(t),0;if(t=u.tokenizer.reflink(e,u.tokens.links))return e=e.substring(t.raw.length),(n=l[l.length-1])&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):l.push(t),0;if(t=u.tokenizer.emStrong(e,c,a))return e=e.substring(t.raw.length),l.push(t),0;if(t=u.tokenizer.codespan(e))return e=e.substring(t.raw.length),l.push(t),0;if(t=u.tokenizer.br(e))return e=e.substring(t.raw.length),l.push(t),0;if(t=u.tokenizer.del(e))return e=e.substring(t.raw.length),l.push(t),0;if(t=u.tokenizer.autolink(e,cf))return e=e.substring(t.raw.length),l.push(t),0;if(!u.state.inLink&&(t=u.tokenizer.url(e,cf)))return e=e.substring(t.raw.length),l.push(t),0;if(r=e,u.options.extensions&&u.options.extensions.startInline){var i,s=1/0,f=e.slice(1);u.options.extensions.startInline.forEach((function(e){"number"===typeof(i=e.call({lexer:this},f))&&i>=0&&(s=Math.min(s,i))})),s<1/0&&s>=0&&(r=e.substring(0,s+1))}if(t=u.tokenizer.inlineText(r,lf))return e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(a=t.raw.slice(-1)),o=!0,(n=l[l.length-1])&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):l.push(t),0;if(e){var p="Infinite loop on byte: "+e.charCodeAt(0);if(u.options.silent)return console.error(p),1;throw new Error(p)}};e&&(0===(f=p())||1!==f););return l}}],[{key:"rules",get:function(){return{block:af,inline:uf}}},{key:"lex",value:function(t,n){return new e(n).lex(t)}},{key:"lexInline",value:function(t,n){return new e(n).inlineTokens(t)}}]),e}(),ff=function(){function e(t){zt(this,e),this.options=t||Bs}return Wt(e,[{key:"code",value:function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return e=e.replace(/\n$/,"")+"\n",r?'<pre><code class="'+this.options.langPrefix+Hs(r)+'">'+(n?e:Hs(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:Hs(e,!0))+"</code></pre>\n"}},{key:"blockquote",value:function(e){return"<blockquote>\n".concat(e,"</blockquote>\n")}},{key:"html",value:function(e,t){return e}},{key:"heading",value:function(e,t,n,r){if(this.options.headerIds){var i=this.options.headerPrefix+r.slug(n);return"<h".concat(t,' id="').concat(i,'">').concat(e,"</h").concat(t,">\n")}return"<h".concat(t,">").concat(e,"</h").concat(t,">\n")}},{key:"hr",value:function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}},{key:"list",value:function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}},{key:"listitem",value:function(e){return"<li>".concat(e,"</li>\n")}},{key:"checkbox",value:function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}},{key:"paragraph",value:function(e){return"<p>".concat(e,"</p>\n")}},{key:"table",value:function(e,t){return t&&(t="<tbody>".concat(t,"</tbody>")),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}},{key:"tablerow",value:function(e){return"<tr>\n".concat(e,"</tr>\n")}},{key:"tablecell",value:function(e,t){var n=t.header?"th":"td";return(t.align?"<".concat(n,' align="').concat(t.align,'">'):"<".concat(n,">"))+e+"</".concat(n,">\n")}},{key:"strong",value:function(e){return"<strong>".concat(e,"</strong>")}},{key:"em",value:function(e){return"<em>".concat(e,"</em>")}},{key:"codespan",value:function(e){return"<code>".concat(e,"</code>")}},{key:"br",value:function(){return this.options.xhtml?"<br/>":"<br>"}},{key:"del",value:function(e){return"<del>".concat(e,"</del>")}},{key:"link",value:function(e,t,n){if(null===(e=Gs(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<a href="'+e+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>"}},{key:"image",value:function(e,t,n){if(null===(e=Gs(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<img src="'.concat(e,'" alt="').concat(n,'"');return t&&(r+=' title="'.concat(t,'"')),r+=this.options.xhtml?"/>":">"}},{key:"text",value:function(e){return e}}]),e}(),pf=function(){function e(){zt(this,e)}return Wt(e,[{key:"strong",value:function(e){return e}},{key:"em",value:function(e){return e}},{key:"codespan",value:function(e){return e}},{key:"del",value:function(e){return e}},{key:"html",value:function(e){return e}},{key:"text",value:function(e){return e}},{key:"link",value:function(e,t,n){return""+n}},{key:"image",value:function(e,t,n){return""+n}},{key:"br",value:function(){return""}}]),e}(),hf=function(){function e(){zt(this,e),this.seen={}}return Wt(e,[{key:"serialize",value:function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}},{key:"getNextSafeSlug",value:function(e,t){var n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{n=e+"-"+ ++r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n}},{key:"slug",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}]),e}(),df=function(){function e(t){zt(this,e),this.options=t||Bs,this.options.renderer=this.options.renderer||new ff,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new pf,this.slugger=new hf}return Wt(e,[{key:"parse",value:function(e){var t,n,r,i,o,a,u,l,c,s,f,p,h,d,v,m,g,y,_,b=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],D="",w=e.length;for(t=0;t<w;t++)if(s=e[t],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type])||!1===(_=this.options.extensions.renderers[s.type].call({parser:this},s))&&["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(s.type))switch(s.type){case"space":continue;case"hr":D+=this.renderer.hr();continue;case"heading":D+=this.renderer.heading(this.parseInline(s.tokens),s.depth,Vs(this.parseInline(s.tokens,this.textRenderer)),this.slugger);continue;case"code":D+=this.renderer.code(s.text,s.lang,s.escaped);continue;case"table":for(l="",u="",i=s.header.length,n=0;n<i;n++)u+=this.renderer.tablecell(this.parseInline(s.header[n].tokens),{header:!0,align:s.align[n]});for(l+=this.renderer.tablerow(u),c="",i=s.rows.length,n=0;n<i;n++){for(u="",o=(a=s.rows[n]).length,r=0;r<o;r++)u+=this.renderer.tablecell(this.parseInline(a[r].tokens),{header:!1,align:s.align[r]});c+=this.renderer.tablerow(u)}D+=this.renderer.table(l,c);continue;case"blockquote":c=this.parse(s.tokens),D+=this.renderer.blockquote(c);continue;case"list":for(f=s.ordered,p=s.start,h=s.loose,i=s.items.length,c="",n=0;n<i;n++)m=(v=s.items[n]).checked,g=v.task,d="",v.task&&(y=this.renderer.checkbox(m),h?v.tokens.length>0&&"paragraph"===v.tokens[0].type?(v.tokens[0].text=y+" "+v.tokens[0].text,v.tokens[0].tokens&&v.tokens[0].tokens.length>0&&"text"===v.tokens[0].tokens[0].type&&(v.tokens[0].tokens[0].text=y+" "+v.tokens[0].tokens[0].text)):v.tokens.unshift({type:"text",text:y}):d+=y),d+=this.parse(v.tokens,h),c+=this.renderer.listitem(d,g,m);D+=this.renderer.list(c,f,p);continue;case"html":D+=this.renderer.html(s.text,s.block);continue;case"paragraph":D+=this.renderer.paragraph(this.parseInline(s.tokens));continue;case"text":for(c=s.tokens?this.parseInline(s.tokens):s.text;t+1<w&&"text"===e[t+1].type;)c+="\n"+((s=e[++t]).tokens?this.parseInline(s.tokens):s.text);D+=b?this.renderer.paragraph(c):c;continue;default:var A='Token with "'+s.type+'" type was not found.';if(this.options.silent)return void console.error(A);throw new Error(A)}else D+=_||"";return D}},{key:"parseInline",value:function(e,t){t=t||this.renderer;var n,r,i,o="",a=e.length;for(n=0;n<a;n++)if(r=e[n],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[r.type])||!1===(i=this.options.extensions.renderers[r.type].call({parser:this},r))&&["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type))switch(r.type){case"escape":case"text":o+=t.text(r.text);break;case"html":o+=t.html(r.text);break;case"link":o+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":o+=t.image(r.href,r.title,r.text);break;case"strong":o+=t.strong(this.parseInline(r.tokens,t));break;case"em":o+=t.em(this.parseInline(r.tokens,t));break;case"codespan":o+=t.codespan(r.text);break;case"br":o+=t.br();break;case"del":o+=t.del(this.parseInline(r.tokens,t));break;default:var u='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(u);throw new Error(u)}else o+=i||"";return o}}],[{key:"parse",value:function(t,n){return new e(n).parse(t)}},{key:"parseInline",value:function(t,n){return new e(n).parseInline(t)}}]),e}(),vf=function(){function e(t){zt(this,e),this.options=t||Bs}return Wt(e,[{key:"preprocess",value:function(e){return e}},{key:"postprocess",value:function(e){return e}}]),e}();Sr(vf,"passThroughHooks",new Set(["preprocess","postprocess"]));var mf=new WeakSet,gf=new WeakSet,yf=function(){function e(){zt(this,e),Ts(this,gf),Ts(this,mf),Sr(this,"defaults",{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}),Sr(this,"options",this.setOptions),Sr(this,"parse",Os(this,mf,_f).call(this,sf.lex,df.parse)),Sr(this,"parseInline",Os(this,mf,_f).call(this,sf.lexInline,df.parseInline)),Sr(this,"Parser",df),Sr(this,"parser",df.parse),Sr(this,"Renderer",ff),Sr(this,"TextRenderer",pf),Sr(this,"Lexer",sf),Sr(this,"lexer",sf.lex),Sr(this,"Tokenizer",of),Sr(this,"Slugger",hf),Sr(this,"Hooks",vf),this.use.apply(this,arguments)}return Wt(e,[{key:"walkTokens",value:function(e,t){var n,r=this,i=[],o=en(e);try{var a=function(){var e=n.value;switch(i=i.concat(t.call(r,e)),e.type){case"table":var o,a=en(e.header);try{for(a.s();!(o=a.n()).done;){var u=o.value;i=i.concat(r.walkTokens(u.tokens,t))}}catch(h){a.e(h)}finally{a.f()}var l,c=en(e.rows);try{for(c.s();!(l=c.n()).done;){var s,f=en(l.value);try{for(f.s();!(s=f.n()).done;){var p=s.value;i=i.concat(r.walkTokens(p.tokens,t))}}catch(h){f.e(h)}finally{f.f()}}}catch(h){c.e(h)}finally{c.f()}break;case"list":i=i.concat(r.walkTokens(e.items,t));break;default:r.defaults.extensions&&r.defaults.extensions.childTokens&&r.defaults.extensions.childTokens[e.type]?r.defaults.extensions.childTokens[e.type].forEach((function(n){i=i.concat(r.walkTokens(e[n],t))})):e.tokens&&(i=i.concat(r.walkTokens(e.tokens,t)))}};for(o.s();!(n=o.n()).done;)a()}catch(u){o.e(u)}finally{o.f()}return i}},{key:"use",value:function(){for(var e=this,t=this.defaults.extensions||{renderers:{},childTokens:{}},n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return r.forEach((function(n){var r=Mr({},n);if(r.async=e.defaults.async||r.async||!1,n.extensions&&(n.extensions.forEach((function(e){if(!e.name)throw new Error("extension name required");if(e.renderer){var n=t.renderers[e.name];t.renderers[e.name]=n?function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];var o=e.renderer.apply(this,r);return!1===o&&(o=n.apply(this,r)),o}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");t[e.level]?t[e.level].unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),r.extensions=t),n.renderer){var i=e.defaults.renderer||new ff(e.defaults),o=function(e){var t=i[e];i[e]=function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];var u=n.renderer[e].apply(i,o);return!1===u&&(u=t.apply(i,o)),u}};for(var a in n.renderer)o(a);r.renderer=i}if(n.tokenizer){var u=e.defaults.tokenizer||new of(e.defaults),l=function(e){var t=u[e];u[e]=function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=n.tokenizer[e].apply(u,i);return!1===a&&(a=t.apply(u,i)),a}};for(var c in n.tokenizer)l(c);r.tokenizer=u}if(n.hooks){var s=e.defaults.hooks||new vf,f=function(t){var r=s[t];vf.passThroughHooks.has(t)?s[t]=function(i){if(e.defaults.async)return Promise.resolve(n.hooks[t].call(s,i)).then((function(e){return r.call(s,e)}));var o=n.hooks[t].call(s,i);return r.call(s,o)}:s[t]=function(){for(var e=arguments.length,i=new Array(e),o=0;o<e;o++)i[o]=arguments[o];var a=n.hooks[t].apply(s,i);return!1===a&&(a=r.apply(s,i)),a}};for(var p in n.hooks)f(p);r.hooks=s}if(n.walkTokens){var h=e.defaults.walkTokens;r.walkTokens=function(e){var t=[];return t.push(n.walkTokens.call(this,e)),h&&(t=t.concat(h.call(this,e))),t}}e.defaults=Mr(Mr({},e.defaults),r)})),this}},{key:"setOptions",value:function(e){return this.defaults=Mr(Mr({},this.defaults),e),this}}]),e}();function _f(e,t){var n=this;return function(r,i,o){"function"===typeof i&&(o=i,i=null);var a=Mr({},i);i=Mr(Mr({},n.defaults),a);var u=Os(n,gf,bf).call(n,i.silent,i.async,o);if("undefined"===typeof r||null===r)return u(new Error("marked(): input parameter is undefined or null"));if("string"!==typeof r)return u(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(function(e,t){e&&!e.silent&&(t&&console.warn("marked(): callback is deprecated since version 5.0.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/using_pro#async"),(e.sanitize||e.sanitizer)&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options"),(e.highlight||"language-"!==e.langPrefix)&&console.warn("marked(): highlight and langPrefix parameters are deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-highlight."),e.mangle&&console.warn("marked(): mangle parameter is enabled by default, but is deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-mangle, or disable by setting `{mangle: false}`."),e.baseUrl&&console.warn("marked(): baseUrl parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-base-url."),e.smartypants&&console.warn("marked(): smartypants parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-smartypants."),e.xhtml&&console.warn("marked(): xhtml parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-xhtml."),(e.headerIds||e.headerPrefix)&&console.warn("marked(): headerIds and headerPrefix parameters enabled by default, but are deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-gfm-heading-id, or disable by setting `{headerIds: false}`."))}(i,o),i.hooks&&(i.hooks.options=i),o){var l,s=i.highlight;try{i.hooks&&(r=i.hooks.preprocess(r)),l=e(r,i)}catch(c){return u(c)}var f=function(e){var r;if(!e)try{i.walkTokens&&n.walkTokens(l,i.walkTokens),r=t(l,i),i.hooks&&(r=i.hooks.postprocess(r))}catch(c){e=c}return i.highlight=s,e?u(e):o(null,r)};if(!s||s.length<3)return f();if(delete i.highlight,!l.length)return f();var p=0;return n.walkTokens(l,(function(e){"code"===e.type&&(p++,setTimeout((function(){s(e.text,e.lang,(function(t,n){if(t)return f(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),0===--p&&f()}))}),0))})),void(0===p&&f())}if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(r):r).then((function(t){return e(t,i)})).then((function(e){return i.walkTokens?Promise.all(n.walkTokens(e,i.walkTokens)).then((function(){return e})):e})).then((function(e){return t(e,i)})).then((function(e){return i.hooks?i.hooks.postprocess(e):e})).catch(u);try{i.hooks&&(r=i.hooks.preprocess(r));var h=e(r,i);i.walkTokens&&n.walkTokens(h,i.walkTokens);var d=t(h,i);return i.hooks&&(d=i.hooks.postprocess(d)),d}catch(c){return u(c)}}}function bf(e,t,n){return function(r){if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",e){var i="<p>An error occurred:</p><pre>"+Hs(r.message+"",!0)+"</pre>";return t?Promise.resolve(i):n?void n(null,i):i}if(t)return Promise.reject(r);if(!n)throw r;n(r)}}var Df=new yf(Bs);function wf(e,t,n){return Df.parse(e,t,n)}wf.options=wf.setOptions=function(e){return Df.setOptions(e),wf.defaults=Df.defaults,Ns(wf.defaults),wf},wf.getDefaults=Ps,wf.defaults=Bs,wf.use=function(){return Df.use.apply(Df,arguments),wf.defaults=Df.defaults,Ns(wf.defaults),wf},wf.walkTokens=function(e,t){return Df.walkTokens(e,t)},wf.parseInline=Df.parseInline,wf.Parser=df,wf.parser=df.parse,wf.Renderer=ff,wf.TextRenderer=pf,wf.Lexer=sf,wf.lexer=sf.lex,wf.Tokenizer=of,wf.Slugger=hf,wf.Hooks=vf,wf.parse=wf;wf.options,wf.setOptions,wf.use,wf.walkTokens,wf.parseInline,df.parse,sf.lex;var Af=n.p+"static/media/MetricsQL.8644fd7c964802dd34a9.md",kf=function(e){var t='$1 target="_blank" class="'.concat("vm-link vm-link_colored",'" $2').concat("https://docs.victoriametrics.com/MetricsQL.html","#");return e.replace(/(<a) (href=")#/gm,t)},xf=function(e){var t="";return Array.from(e).map((function(e){var n,r="h3"===e.tagName.toLowerCase();return t=r?null!==(n=e.textContent)&&void 0!==n?n:"":t,r?null:function(e,t){var n,r=null!==(n=t.textContent)&&void 0!==n?n:"",i=function(e){for(var t=[],n=e.nextElementSibling;n&&"p"===n.tagName.toLowerCase();)n&&t.push(n),n=n.nextElementSibling;return t}(t).map((function(e){var t;return null!==(t=e.outerHTML)&&void 0!==t?t:""})).join("\n");return{type:e,value:r,description:kf(i),icon:ei(so,{})}}(t,e)})).filter(Boolean)},Ef=function(){var e=Rt(re([]),2),t=e[0],n=e[1],r=function(e){var t=document.createElement("div");t.innerHTML=wf(e);var r=t.querySelectorAll("".concat("h3",", ").concat("h4")),i=xf(r);n(i)};return oe((function(){var e=function(){var e=Jo(Go().mark((function e(){var t,n;return Go().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(Af);case 3:return t=e.sent,e.next=6,t.text();case 6:n=e.sent,r(n),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),console.error("Error fetching or processing the MetricsQL.md file:",e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}();e()}),[]),t},Cf=function(e){return e.empty="empty",e.metricsql="metricsql",e.label="label",e.value="value",e}(Cf||{}),Sf=function(e){var t=e.value,n=e.anchorEl,r=e.caretPosition,i=e.onSelect,o=e.onFoundOptions,a=Rt(re(0),2),u=a[0],l=a[1],c=Ef(),s=ce((function(){var e=t.match(/\b[^{}(),\s]+(?={|$)/g);return e?e[0]:""}),[t]),f=ce((function(){var e=t.match(/[a-z_]\w*(?=\s*(=|!=|=~|!~))/g);return e?e[e.length-1]:""}),[t]),p=new RegExp("\\(?(".concat(Ms(s),")$"),"g"),h=/[{.,].?(\w+)$/gm,d=new RegExp("(".concat(Ms(s),")?{?.+").concat(Ms(f),'="?([^"]*)$'),"g"),v=ce((function(){switch([p,h,d].forEach((function(e){return e.lastIndex=0})),!0){case d.test(t):return Cf.value;case h.test(t):return Cf.label;case p.test(t):return Cf.metricsql;default:return Cf.empty}}),[t,d,h,p]),m=function(e){var t=e.metric,n=e.label,r=ni().serverUrl,i=Bi().period,o=i.start,a=i.end,u=Rt(re([]),2),l=u[0],c=u[1],s=Rt(re([]),2),f=s[0],p=s[1],h=Rt(re([]),2),d=h[0],v=h[1],m=ue({}),g=se((function(e){var t=Ct()(o).startOf("day").valueOf(),n=Ct()(a).endOf("day").valueOf();return new URLSearchParams(Mr(Mr({},e||{}),{},{limit:"".concat(1e3),start:"".concat(t),end:"".concat(n)}))}),[o,a]),y=function(e,t){var n=Lr().parse(t.toString()),r=Lr().parse(e.toString());return JSON.stringify(r)===JSON.stringify(n)},_=function(){var e=Jo(Go().mark((function e(t){var n,i,o,a,u,l,c;return Go().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.urlSuffix,i=t.setter,o=t.type,a=t.params,e.prev=1,e.next=4,fetch("".concat(r,"/api/v1/").concat(n,"?").concat(a));case 4:if(!(u=e.sent).ok){e.next=11;break}return e.next=8,u.json();case 8:l=e.sent,c=l.data,i(c.map((function(e){return{value:e,type:"".concat(o),icon:Pa[o]}})));case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(1),console.error(e.t0);case 16:case"end":return e.stop()}}),e,null,[[1,13]])})));return function(t){return e.apply(this,arguments)}}();return oe((function(){if(r){var e=g(),t=m.current.metrics||new URLSearchParams({});y(e,t)||(_({urlSuffix:"label/__name__/values",setter:c,type:Oa.metric,params:e}),m.current=Mr(Mr({},m.current),{},{metrics:e}))}else c([])}),[r,g]),oe((function(){var e=!l.find((function(e){return e.value===t}));if(r&&!e){var n=g({"match[]":t}),i=m.current.labels||new URLSearchParams({});y(n,i)||(_({urlSuffix:"labels",setter:p,type:Oa.label,params:n}),m.current=Mr(Mr({},m.current),{},{labels:n}))}else p([])}),[r,t,g]),oe((function(){var e=!l.find((function(e){return e.value===t})),i=!f.find((function(e){return e.value===n}));if(!r||e||i)v([]);else{var o=g({"match[]":t}),a=m.current.values||new URLSearchParams({});y(o,a)||(_({urlSuffix:"label/".concat(n,"/values"),setter:v,type:Oa.value,params:o}),m.current=Mr(Mr({},m.current),{},{values:o}))}}),[r,t,n,g]),{metrics:l,labels:f,values:d}}({metric:s,label:f}),g=m.metrics,y=m.labels,_=m.values,b=ce((function(){switch(v){case Cf.metricsql:return[].concat(It(g),It(c));case Cf.label:return y;case Cf.value:return _;default:return[]}}),[v,g,y,_]),D=ce((function(){return t.length!==r[1]?t:(t.match(/([\w_]+)$/)||[])[1]||""}),[v,r,t]);return oe((function(){if(n.current){var e=window.getComputedStyle(n.current),r="".concat(e.getPropertyValue("font-size")),i="".concat(e.getPropertyValue("font-family")),o=function(e,t){var n=document.createElement("span");n.innerText=e,n.style.cssText="position: absolute; z-index: -1; pointer-events: none; opacity: 0; font: ".concat(t),document.body.appendChild(n);var r=n.offsetWidth;return n.remove(),r}(t,"".concat(r," ").concat(i));l(o)}else l(0)}),[n,r]),ei(Ta,{disabledFullScreen:!0,value:D,options:b,anchor:n,minLength:v===Cf.metricsql?2:0,offset:{top:0,left:u},onSelect:function(e){var n=t.match(/([\w_]+)$/),r=void 0!==(null===n||void 0===n?void 0:n.index)?n.index:t.length,o=t.substring(0,r),a=t.substring(r+((null===n||void 0===n?void 0:n[1].length)||0));if(v===Cf.value){var u='"'!==o[o.length-1];e="".concat(u?'"':"").concat(e).concat('"')}var l="".concat(o).concat(e).concat(a);i(l)},onFoundOptions:o})},Ff="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.",Mf="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.",Tf=function(e){var t=e.value,n=e.onChange,r=e.onEnter,i=e.onArrowUp,o=e.onArrowDown,a=e.autocomplete,u=e.error,l=e.stats,c=e.label,s=e.disabled,f=void 0!==s&&s,p=Rt(re(!1),2),h=p[0],d=p[1],v=Rt(re([0,0]),2),m=v[0],g=v[1],y=ue(null),_=[{show:"0"===(null===l||void 0===l?void 0:l.seriesFetched)&&!l.resultLength,text:Ff},{show:null===l||void 0===l?void 0:l.isPartial,text:Mf}].filter((function(e){return e.show})).map((function(e){return e.text})).join("");l&&(c="".concat(c," (").concat(l.executionTimeMsec||0,"ms)"));return ei("div",{className:"vm-query-editor",ref:y,children:[ei(Fa,{value:t,label:c,type:"textarea",autofocus:!!t,error:u,warning:_,onKeyDown:function(e){var t=e.key,n=e.ctrlKey,a=e.metaKey,u=e.shiftKey,l=(e.target.value||"").split("\n").length>1,c=n||a,s="ArrowDown"===t,f="Enter"===t;"ArrowUp"===t&&c&&(e.preventDefault(),i()),s&&c&&(e.preventDefault(),o()),f&&h&&e.preventDefault(),!f||u||l&&!c||h||(e.preventDefault(),r())},onChange:n,onChangeCaret:function(e){g(e)},disabled:f,inputmode:"search"}),a&&ei(Sf,{value:t,anchorEl:y,caretPosition:m,onSelect:function(e){n(e)},onFoundOptions:function(e){d(!!e.length)}})]})},Of=function(e){var t=e.query,n=e.error,r=e.onChange,i=e.onRun,o=Lo().isMobile;return ei("div",{className:vo()({"vm-explore-logs-header":!0,"vm-block":!0,"vm-block_mobile":o}),children:[ei("div",{className:"vm-explore-logs-header__input",children:ei(Tf,{value:t,autocomplete:!1,onArrowUp:function(){return null},onArrowDown:function(){return null},onEnter:i,onChange:r,label:"Log query",error:n})}),ei("div",{className:"vm-explore-logs-header-bottom",children:[ei("div",{className:"vm-explore-logs-header-bottom-helpful",children:[ei("a",{className:"vm-link vm-link_with-icon",target:"_blank",href:"https://docs.victoriametrics.com/VictoriaLogs/LogsQL.html",rel:"help noreferrer",children:[ei(Zi,{}),"Query language docs"]}),ei("a",{className:"vm-link vm-link_with-icon",target:"_blank",href:"https://docs.victoriametrics.com/VictoriaLogs/",rel:"help noreferrer",children:[ei(oo,{}),"Documentation"]})]}),ei("div",{className:"vm-explore-logs-header-bottom__execute",children:ei(Xo,{startIcon:ei(Ki,{}),onClick:i,fullWidth:!0,children:"Execute Query"})})]})]})};var Pf,Bf=function(e){var t=ue();return oe((function(){t.current=e}),[e]),t.current},Nf=function(){var e=ni().serverUrl,t=la().setSearchParamsFromKeys,n=Rt(ua("","query"),2),r=n[0],i=n[1],o=Bf(r),a=function(e,t){var n=Rt(re([]),2),r=n[0],i=n[1],o=Rt(re(!1),2),a=o[0],u=o[1],l=Rt(re(),2),s=l[0],f=l[1],p=ce((function(){return function(e){return"".concat(e,"/select/logsql/query")}(e)}),[e]),h=ce((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(Jo(Go().mark((function e(){var t,n,r,o,a,l,s,d,v,m;return Go().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u(!0),f(void 0),e.prev=2,e.next=5,fetch(p,h);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),i([]),u(!1),e.abrupt("return");case 14:r=t.body.getReader(),o=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,d=l.value,!s){e.next=25;break}return e.abrupt("break",33);case 25:if(v=o.decode(d,{stream:!0}).split("\n"),a.push.apply(a,It(v)),a.length>Ea&&a.splice(0,a.length-Ea),!(a.length>=Ea)){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(c){return""}})).filter((function(e){return e})),i(m),e.next=42;break;case 37:e.prev=37,e.t0=e.catch(2),console.error(e.t0),i([]),e.t0 instanceof Error&&f("".concat(e.t0.name,": ").concat(e.t0.message));case 42:u(!1);case 43:case"end":return e.stop()}}),e,null,[[2,37]])}))),[p,h])}}(e,r),u=a.logs,l=a.isLoading,s=a.error,f=a.fetchLogs,p=Rt(re(""),2),h=p[0],d=p[1],v=Rt(re(!1),2),m=v[0],g=v[1],y=function(){r?(f().then((function(){g(!0)})),t(o&&r!==o?{query:r,page:1}:{query:r})):d(Vr.validQuery)};return oe((function(){r&&y()}),[]),oe((function(){d("")}),[r]),ei("div",{className:"vm-explore-logs",children:[ei(Of,{query:r,error:h,onChange:i,onRun:y}),l&&ei(Ca,{}),s&&ei(Ro,{variant:"error",children:s}),ei(xa,{data:u,loaded:m})]})},Lf={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"},$f={header:{tenant:!0,stepControl:!1,timeSelector:!1,executionControls:!1}},Rf=(Sr(Pf={},Lf.home,Mr({title:"Query"},$f)),Sr(Pf,Lf.metrics,{title:"Explore Prometheus metrics",header:{tenant:!0,stepControl:!0,timeSelector:!0}}),Sr(Pf,Lf.cardinality,{title:"Explore cardinality",header:{tenant:!0,cardinalityDatePicker:!0}}),Sr(Pf,Lf.topQueries,{title:"Top queries",header:{tenant:!0}}),Sr(Pf,Lf.trace,{title:"Trace analyzer",header:{}}),Sr(Pf,Lf.dashboards,Mr({title:"Dashboards"},$f)),Sr(Pf,Lf.withTemplate,{title:"WITH templates",header:{}}),Sr(Pf,Lf.relabel,{title:"Metric relabel debug",header:{}}),Sr(Pf,Lf.logs,{title:"Logs Explorer",header:{}}),Sr(Pf,Lf.activeQueries,{title:"Active Queries",header:{}}),Sr(Pf,Lf.icons,{title:"Icons",header:{}}),Pf),jf=Lf,If=function(e){var t=e.activeMenu,n=e.label,r=e.value,i=e.color;return ei(Ar,{className:vo()({"vm-header-nav-item":!0,"vm-header-nav-item_active":t===r}),style:{color:i},to:r,children:n})},zf=function(e){var t=e.activeMenu,n=e.label,r=e.color,i=e.background,o=e.submenu,a=e.direction,u=Wn().pathname,l=Rt(re(null),2),c=l[0],s=l[1],f=ue(null),p=na(!1),h=p.value,d=p.setFalse,v=p.setTrue,m=function(){c&&clearTimeout(c);var e=setTimeout(d,300);s(e)};return oe((function(){d()}),[u]),"column"===a?ei(_,{children:o.map((function(e){return ei(If,{activeMenu:t,value:e.value||"",label:e.label||""},e.value)}))}):ei("div",{className:vo()({"vm-header-nav-item":!0,"vm-header-nav-item_sub":!0,"vm-header-nav-item_open":h,"vm-header-nav-item_active":o.find((function(e){return e.value===t}))}),style:{color:r},onMouseEnter:function(){v(),c&&clearTimeout(c)},onMouseLeave:m,ref:f,children:[n,ei(Ji,{}),ei(ia,{open:h,placement:"bottom-left",offset:{top:12,left:0},onClose:d,buttonRef:f,children:ei("div",{className:"vm-header-nav-item-submenu",style:{background:i},onMouseLeave:m,onMouseEnter:function(){c&&clearTimeout(c)},children:o.map((function(e){return ei(If,{activeMenu:t,value:e.value||"",label:e.label||"",color:r},e.value)}))})})]})},Hf=[{label:Rf[jf.logs].title,value:jf.home}],Uf=(Rf[jf.home].title,Rf[jf.metrics].title,Rf[jf.cardinality].title,Rf[jf.topQueries].title,Rf[jf.activeQueries].title,Rf[jf.trace].title,Rf[jf.withTemplate].title,Rf[jf.relabel].title,function(e){var t=e.color,n=e.background,r=e.direction,i=Or(),o=fe(Ho).state.dashboardsSettings,a=Wn().pathname,u=Rt(re(a),2),l=u[0],c=u[1],s=ce((function(){return Hf}),[i,o]);return oe((function(){c(a)}),[a]),ei("nav",{className:vo()(Sr({"vm-header-nav":!0},"vm-header-nav_".concat(r),r)),children:s.map((function(e){return e.submenu?ei(zf,{activeMenu:l,label:e.label||"",submenu:e.submenu,color:t,background:n,direction:r},e.label):ei(If,{activeMenu:l,value:e.value||"",label:e.label||"",color:t},e.value)}))})}),Vf=function(e){var t=e.title,n=e.children,r=e.onClose,i=e.className,o=e.isOpen,a=void 0===o||o,u=Lo().isMobile,l=Yn(),c=Wn(),s=se((function(e){a&&"Escape"===e.key&&r()}),[a]),f=function(e){e.stopPropagation()},p=se((function(){a&&(l(c,{replace:!0}),r())}),[a,c,r]);return oe((function(){if(a)return document.body.style.overflow="hidden",function(){document.body.style.overflow="auto"}}),[a]),Do("popstate",p),Do("keyup",s),xt.createPortal(ei("div",{className:vo()(Sr({"vm-modal":!0,"vm-modal_mobile":u},"".concat(i),i)),onMouseDown:r,children:ei("div",{className:"vm-modal-content",children:[ei("div",{className:"vm-modal-content-header",onMouseDown:f,children:[t&&ei("div",{className:"vm-modal-content-header__title",children:t}),ei("div",{className:"vm-modal-header__close",children:ei(Xo,{variant:"text",size:"small",onClick:r,ariaLabel:"close",children:ei(Vi,{})})})]}),ei("div",{className:"vm-modal-content-body",onMouseDown:f,children:n})]})}),document.body)},Wf=ei("code",{children:No()?"Cmd":"Ctrl"}),Zf=[{title:"Zoom in",description:ei(_,{children:["To zoom in, hold down the ",Wf," + ",ei("code",{children:"scroll up"}),", or press the ",ei("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:ei(_,{children:["To zoom out, hold down the ",Wf," + ",ei("code",{children:"scroll down"}),", or press the ",ei("code",{children:"-"}),"."]})},{title:"Move horizontal axis",description:ei(_,{children:["To move the graph, hold down the ",Wf," + ",ei("code",{children:"drag"})," the graph to the right or left."]})},{title:"Fixing a tooltip",description:ei(_,{children:["To fix the tooltip, ",ei("code",{children:"click"})," mouse when it's open. Then, you can drag the fixed tooltip by ",ei("code",{children:"clicking"})," and ",ei("code",{children:"dragging"})," on the ",ei(io,{})," icon."]})},{title:"Set a custom range for the vertical axis",description:ei(_,{children:["To set a custom range for the vertical axis, click on the ",ei(Ui,{})," icon located in the upper right corner of the graph, activate the toggle, and set the values."]})}],Yf=[{title:"Show/hide a legend item",description:ei(_,{children:[ei("code",{children:"click"})," on a legend item to isolate it on the graph.",Wf," + ",ei("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:ei(_,{children:[ei("code",{children:"click"})," on a label key-value pair to save it to the clipboard."]})},{title:"Collapse/Expand the legend group",description:ei(_,{children:[ei("code",{children:"click"})," on the group name (e.g. ",ei("b",{children:'Query 1: {__name__!=""}'}),") to collapse or expand the legend."]})}],qf=(Zf.concat(Yf),No(),No(),function(e){var t=e.open;return ei("button",{className:vo()({"vm-menu-burger":!0,"vm-menu-burger_opened":t}),"aria-label":"menu",children:ei("span",{})})}),Gf=function(e){var t=e.background,n=e.color,r=Wn().pathname,i=Lo().isMobile,o=ue(null),a=na(!1),u=a.value,l=a.toggle,c=a.setFalse;return oe(c,[r]),ra(o,c),ei("div",{className:"vm-header-sidebar",ref:o,children:[ei("div",{className:vo()({"vm-header-sidebar-button":!0,"vm-header-sidebar-button_open":u}),onClick:l,children:ei(qf,{open:u})}),ei("div",{className:vo()({"vm-header-sidebar-menu":!0,"vm-header-sidebar-menu_open":u}),children:[ei("div",{children:ei(Uf,{color:n,background:t,direction:"column"})}),ei("div",{className:"vm-header-sidebar-menu-settings",children:!i&&!1})]})]})},Qf=["controlsComponent","isMobile"],Jf=function(e){var t=e.controlsComponent,n=e.isMobile,r=mo(e,Qf),i=Or(),o=Wn().pathname,a=function(){var e=Tr().useTenantID,t=Or(),n=ni().serverUrl,r=Rt(re(!1),2),i=r[0],o=r[1],a=Rt(re(),2),u=a[0],l=a[1],c=Rt(re([]),2),s=c[0],f=c[1],p=ce((function(){return"".concat(n.replace(/^(.+)(\/select.+)/,"$1"),"/admin/tenants")}),[n]),h=ce((function(){return!!Br(n)}),[n]),d=t?!e:!h;return oe((function(){if(!d){var e=function(){var e=Jo(Go().mark((function e(){var t,n,r;return Go().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o(!0),e.prev=1,e.next=4,fetch(p);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:o(!1);case 17:case"end":return e.stop()}}),e,null,[[1,13]])})));return function(){return e.apply(this,arguments)}}();e().catch(console.error)}}),[p]),{accountIds:s,isLoading:i,error:u}}(),u=a.accountIds,l=na(!1),c=l.value,s=l.toggle,f=l.setFalse,p=ce((function(){return(Rf[o]||{}).header||{}}),[o]),h=ei(t,Mr(Mr({},r),{},{isMobile:n,accountIds:u,headerSetup:p}));return n?ei(_,{children:[ei("div",{children:ei(Xo,{className:vo()({"vm-header-button":!i}),startIcon:ei(uo,{}),onClick:s,ariaLabel:"controls"})}),ei(Vf,{title:"Controls",onClose:f,isOpen:c,className:vo()({"vm-header-controls-modal":!0,"vm-header-controls-modal_open":c}),children:h})]}):h},Kf=function(e){var t=e.controlsComponent,n="true",r=Lo().isMobile,i=ce((function(){return window.innerWidth<1e3}),[wo()]),o=ni().isDarkTheme,a=Or(),u=ce((function(){return Zr(o?"color-background-block":"color-primary")}),[o]),l=ce((function(){var e=Tr().headerStyles,t=void 0===e?{}:e,n=t.background,r=void 0===n?a?"#FFF":u:n,i=t.color;return{background:r,color:void 0===i?a?u:"#FFF":i}}),[u]),c=l.background,s=l.color,f=Yn(),p=function(){f({pathname:jf.home}),window.location.reload()};return ei("header",{className:vo()({"vm-header":!0,"vm-header_app":a,"vm-header_dark":o,"vm-header_sidebar":i,"vm-header_mobile":r}),style:{background:c,color:s},children:[i?ei(Gf,{background:c,color:s}):ei(_,{children:[!a&&ei("div",{className:vo()({"vm-header-logo":!0,"vm-header-logo_logs":n}),onClick:p,style:{color:s},children:ei(n?zi:Ii,{})}),ei(Uf,{color:s,background:c})]}),i&&ei("div",{className:vo()({"vm-header-logo":!0,"vm-header-logo_mobile":!0,"vm-header-logo_logs":n}),onClick:p,style:{color:s},children:ei(n?zi:Ii,{})}),ei(Jf,{controlsComponent:t,displaySidebar:i,isMobile:r})]})},Xf=Ee((function(){var e="2019-".concat((new Date).getFullYear());return ei("footer",{className:"vm-footer",children:[ei("a",{className:"vm-link vm-footer__website",target:"_blank",href:"https://victoriametrics.com/",rel:"me noreferrer",children:[ei(Hi,{}),"victoriametrics.com"]}),ei("a",{className:"vm-link vm-footer__link",target:"_blank",href:"https://docs.victoriametrics.com/MetricsQL.html",rel:"help noreferrer",children:[ei(to,{}),"MetricsQL"]}),ei("a",{className:"vm-link vm-footer__link",target:"_blank",href:"https://docs.victoriametrics.com/#vmui",rel:"help noreferrer",children:[ei(oo,{}),"Documentation"]}),ei("a",{className:"vm-link vm-footer__link",target:"_blank",href:"https://github.com/VictoriaMetrics/VictoriaMetrics/issues/new/choose",rel:"noreferrer",children:[ei(ao,{}),"Create an issue"]}),ei("div",{className:"vm-footer__copyright",children:["\xa9 ",e," VictoriaMetrics"]})]})})),ep=function(e){var t=e.serverUrl,n=e.stateServerUrl,r=e.onChange,i=e.onEnter,o=Rt(re(""),2),a=o[0],u=o[1];return oe((function(){n||u(Vr.emptyServer),function(e){var t;try{t=new URL(e)}catch(y){return!1}return"http:"===t.protocol||"https:"===t.protocol}(n)||u(Vr.validServer)}),[n]),ei(Fa,{autofocus:!0,label:"Server URL",value:t,error:a,onChange:function(e){r(e||""),u("")},onEnter:i,inputmode:"url"})},tp=[{label:"Graph",type:"chart"},{label:"JSON",type:"code"},{label:"Table",type:"table"}],np=function(e){var t=e.limits,n=e.onChange,r=e.onEnter,i=Lo().isMobile,o=Rt(re({table:"",chart:"",code:""}),2),a=o[0],u=o[1],l=function(e){return function(r){!function(e,r){var i=e||"";u((function(e){return Mr(Mr({},e),{},Sr({},r,+i<0?Vr.positiveNumber:""))})),n(Mr(Mr({},t),{},Sr({},r,i||1/0)))}(r,e)}};return ei("div",{className:"vm-limits-configurator",children:[ei("div",{className:"vm-server-configurator__title",children:["Series limits by tabs",ei(ta,{title:"Set to 0 to disable the limit",children:ei(Xo,{variant:"text",color:"primary",size:"small",startIcon:ei(Zi,{})})}),ei("div",{className:"vm-limits-configurator-title__reset",children:ei(Xo,{variant:"text",color:"primary",size:"small",startIcon:ei(Wi,{}),onClick:function(){n(jr)},children:"Reset limits"})})]}),ei("div",{className:vo()({"vm-limits-configurator__inputs":!0,"vm-limits-configurator__inputs_mobile":i}),children:tp.map((function(e){return ei("div",{children:ei(Fa,{label:e.label,value:t[e.type],error:a[e.type],onChange:l(e.type),onEnter:r,type:"number"})},e.type)}))})]})},rp=function(e){var t=e.timezoneState,n=e.onChange,r=Lo().isMobile,i=wi(),o=Rt(re(""),2),a=o[0],u=o[1],l=ue(null),s=na(!1),f=s.value,p=s.toggle,h=s.setFalse,d=ce((function(){if(!a)return i;try{return wi(a)}catch(c){return{}}}),[a,i]),v=ce((function(){return Object.keys(d)}),[d]),m=ce((function(){return{region:Ct().tz.guess(),utc:Di(Ct().tz.guess())}}),[]),g=ce((function(){return{region:t,utc:Di(t)}}),[t]),y=function(e){return function(){!function(e){n(e.region),u(""),h()}(e)}};return ei("div",{className:"vm-timezones",children:[ei("div",{className:"vm-server-configurator__title",children:"Time zone"}),ei("div",{className:"vm-timezones-item vm-timezones-item_selected",onClick:p,ref:l,children:[ei("div",{className:"vm-timezones-item__title",children:g.region}),ei("div",{className:"vm-timezones-item__utc",children:g.utc}),ei("div",{className:vo()({"vm-timezones-item__icon":!0,"vm-timezones-item__icon_open":f}),children:ei(Ji,{})})]}),ei(ia,{open:f,buttonRef:l,placement:"bottom-left",onClose:h,fullWidth:!0,title:r?"Time zone":void 0,children:ei("div",{className:vo()({"vm-timezones-list":!0,"vm-timezones-list_mobile":r}),children:[ei("div",{className:"vm-timezones-list-header",children:[ei("div",{className:"vm-timezones-list-header__search",children:ei(Fa,{autofocus:!0,label:"Search",value:a,onChange:function(e){u(e)}})}),ei("div",{className:"vm-timezones-item vm-timezones-list-group-options__item",onClick:y(m),children:[ei("div",{className:"vm-timezones-item__title",children:["Browser Time (",m.region,")"]}),ei("div",{className:"vm-timezones-item__utc",children:m.utc})]})]}),v.map((function(e){return ei("div",{className:"vm-timezones-list-group",children:ei(Da,{defaultExpanded:!0,title:ei("div",{className:"vm-timezones-list-group__title",children:e}),children:ei("div",{className:"vm-timezones-list-group-options",children:d[e]&&d[e].map((function(e){return ei("div",{className:"vm-timezones-item vm-timezones-list-group-options__item",onClick:y(e),children:[ei("div",{className:"vm-timezones-item__title",children:e.region}),ei("div",{className:"vm-timezones-item__utc",children:e.utc})]},e.search)}))})})},e)}))]})})]})},ip=function(e){var t=e.options,n=e.value,r=e.label,i=e.onChange,o=ue(null),a=Rt(re({width:"0px",left:"0px",borderRadius:"0px"}),2),u=a[0],l=a[1],c=function(e){return function(){i(e)}};return oe((function(){if(o.current){var e=t.findIndex((function(e){return e.value===n})),r=o.current.getBoundingClientRect().width,i=e*r,a="0";0===e&&(a="16px 0 0 16px"),e===t.length-1&&(a="10px",i-=1,a="0 16px 16px 0"),0!==e&&e!==t.length-1&&(r+=1,i-=1),l({width:"".concat(r,"px"),left:"".concat(i,"px"),borderRadius:a})}else l({width:"0px",left:"0px",borderRadius:"0px"})}),[o,n,t]),ei("div",{className:"vm-toggles",children:[r&&ei("label",{className:"vm-toggles__label",children:r}),ei("div",{className:"vm-toggles-group",style:{gridTemplateColumns:"repeat(".concat(t.length,", 1fr)")},children:[u.borderRadius&&ei("div",{className:"vm-toggles-group__highlight",style:u}),t.map((function(e,t){return ei("div",{className:vo()({"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:c(e.value),ref:e.value===n?o:null,children:[e.icon,e.title]},e.value)}))]})]})},op=Object.values(Wr).map((function(e){return{title:e,value:e}})),ap=function(e){var t=e.theme,n=e.onChange,r=Lo().isMobile;return ei("div",{className:vo()({"vm-theme-control":!0,"vm-theme-control_mobile":r}),children:[ei("div",{className:"vm-server-configurator__title",children:"Theme preferences"}),ei("div",{className:"vm-theme-control__toggle",children:ei(ip,{options:op,value:t,onChange:function(e){n(e)}})},"".concat(r))]})},up="Settings",lp=function(){var e=Lo().isMobile,t=Or(),n=ni(),r=n.serverUrl,i=n.theme,o=Bi().timezone,a=fe(Mo).state.seriesLimits,u=ri(),l=fe(Pi).dispatch,c=fe(Mo).dispatch,s=Rt(re(r),2),f=s[0],p=s[1],h=Rt(re(a),2),d=h[0],v=h[1],m=Rt(re(o),2),g=m[0],y=m[1],b=na(!1),D=b.value,w=b.setTrue,A=b.setFalse,k=function(){A(),p(r),v(a),y(o)},x=function(){var e=Br(f);""!==e&&u({type:"SET_TENANT_ID",payload:e}),u({type:"SET_SERVER",payload:f}),l({type:"SET_TIMEZONE",payload:g}),c({type:"SET_SERIES_LIMITS",payload:d}),A()};oe((function(){r!==f&&p(r)}),[r]);var E=[{show:!t&&!1,component:ei(ep,{stateServerUrl:r,serverUrl:f,onChange:p,onEnter:x})},{show:!1,component:ei(np,{limits:d,onChange:v,onEnter:x})},{show:!0,component:ei(rp,{timezoneState:g,onChange:y})},{show:!t,component:ei(ap,{theme:i,onChange:function(e){u({type:"SET_THEME",payload:e})}})}].filter((function(e){return e.show}));return ei(_,{children:[e?ei("div",{className:"vm-mobile-option",onClick:w,children:[ei("span",{className:"vm-mobile-option__icon",children:ei(Ui,{})}),ei("div",{className:"vm-mobile-option-text",children:ei("span",{className:"vm-mobile-option-text__label",children:up})}),ei("span",{className:"vm-mobile-option__arrow",children:ei(Qi,{})})]}):ei(ta,{title:up,children:ei(Xo,{className:vo()({"vm-header-button":!t}),variant:"contained",color:"primary",startIcon:ei(Ui,{}),onClick:w,ariaLabel:"settings"})}),D&&ei(Vf,{title:up,onClose:k,children:ei("div",{className:vo()({"vm-server-configurator":!0,"vm-server-configurator_mobile":e}),children:[E.map((function(e,t){return ei("div",{className:"vm-server-configurator__input",children:e.component},t)})),ei("div",{className:"vm-server-configurator-footer",children:[ei(Xo,{color:"error",variant:"outlined",onClick:k,children:"Cancel"}),ei(Xo,{color:"primary",variant:"contained",onClick:x,children:"Apply"})]})]})})]})},cp=function(e){var t=e.isMobile;return ei("div",{className:vo()({"vm-header-controls":!0,"vm-header-controls_mobile":t}),children:ei(lp,{})})},sp=function(){var e=Or(),t=Lo().isMobile;return oe((function(){var e,t="vmui for VictoriaLogs",n=null===(e=Rf[jf.logs])||void 0===e?void 0:e.title;document.title=n?"".concat(n," - ").concat(t):t}),[Wn().pathname]),ei("section",{className:"vm-container",children:[ei(Kf,{controlsComponent:cp}),ei("div",{className:vo()({"vm-container-body":!0,"vm-container-body_mobile":t,"vm-container-body_app":e}),children:ei(ur,{})}),!e&&ei(Xf,{})]})},fp=function(){var e=Rt(re(!1),2),t=e[0],n=e[1];return ei(_,{children:ei(_r,{children:ei(Uo,{children:ei(_,{children:[ei(qo,{onLoaded:n}),t&&ei(sr,{children:ei(lr,{path:"/",element:ei(sp,{}),children:ei(lr,{path:"/",element:ei(Nf,{})})})})]})})})})},pp=function(e){e&&n.e(522).then(n.bind(n,522)).then((function(t){var n=t.getCLS,r=t.getFID,i=t.getFCP,o=t.getLCP,a=t.getTTFB;n(e),r(e),i(e),o(e),a(e)}))},hp=document.getElementById("root");hp&&Qe(ei(fp,{}),hp),pp()}()}();