/*! For license information please see main.7566144a.js.LICENSE.txt */ !function(){var e={680:function(e,t,n){"use strict";var r=n(476),o=n(962),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&i(e,".prototype.")>-1?o(n):n}},962:function(e,t,n){"use strict";var r=n(199),o=n(476),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||r.call(a,i),l=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),s=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(d){u=null}e.exports=function(e){var t=c(r,a,arguments);l&&u&&(l(t,"length").configurable&&u(t,"length",{value:1+s(0,e.length-(arguments.length-1))}));return t};var f=function(){return c(r,i,arguments)};u?u(e.exports,"apply",{value:f}):e.exports.apply=f},123:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t=t?e:""+Array(t+1-r.length).join(n)+e},_={s:y,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+y(r,2,"0")+":"+y(o,2,"0")},m:function e(t,n){if(t.date()1)return e(a[0])}else{var c=t.name;b[c]=t,o=c}return!r&&o&&(g=o),o||!r&&g},S=function(e,t){if(w(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new E(n)},x=_;x.l=A,x.i=w,x.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function m(e){this.$L=A(e.locale,null,!0),this.parse(e)}var y=m.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(x.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return x},y.isValid=function(){return!(this.$d.toString()===p)},y.isSame=function(e,t){var n=S(e);return this.startOf(t)<=n&&n<=this.endOf(t)},y.isAfter=function(e,t){return S(e)=0&&(i[f]=parseInt(s,10))}var d=i[3],p=24===d?0:d,h=i[0]+"-"+i[1]+"-"+i[2]+" "+p+":"+i[4]+":"+i[5]+":000",v=+t;return(o.utc(h).valueOf()-(v-=v%1e3))/6e4},l=r.prototype;l.tz=function(e,t){void 0===e&&(e=i);var n=this.utcOffset(),r=this.toDate(),a=r.toLocaleString("en-US",{timeZone:e}),c=Math.round((r-new Date(a))/1e3/60),l=o(a).$set("millisecond",this.$ms).utcOffset(15*-Math.round(r.getTimezoneOffset()/15)-c,!0);if(t){var u=l.utcOffset();l=l.add(n-u,"minute")}return l.$x.$timezone=e,l},l.offsetName=function(e){var t=this.$x.$timezone||o.tz.guess(),n=a(this.valueOf(),t,{timeZoneName:e}).find((function(e){return"timezonename"===e.type.toLowerCase()}));return n&&n.value};var u=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return u.call(this,e,t);var n=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return u.call(n,e,t).tz(this.$x.$timezone,!0)},o.tz=function(e,t,n){var r=n&&t,a=n||t||i,l=c(+o(),a);if("string"!=typeof e)return o(e).tz(a);var u=function(e,t,n){var r=e-60*t*1e3,o=c(r,n);if(t===o)return[r,t];var i=c(r-=60*(o-t)*1e3,n);return o===i?[r,o]:[e-60*Math.min(o,i)*1e3,Math.max(o,i)]}(o.utc(e,r).valueOf(),l,a),s=u[0],f=u[1],d=o(s).utcOffset(f);return d.$x.$timezone=a,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(e){i=e}}}()},635:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,o,i){var a=o.prototype;i.utc=function(e){return new o({date:e,utc:!0,args:arguments})},a.utc=function(t){var n=i(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var c=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),c.call(this,e)};var l=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var u=a.utcOffset;a.utcOffset=function(r,o){var i=this.$utils().u;if(i(r))return this.$u?0:i(this.$offset)?u.call(this):this.$offset;if("string"==typeof r&&(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var o=(""+r[0]).match(n)||["-",0,0],i=o[0],a=60*+o[1]+ +o[2];return 0===a?0:"+"===i?a:-a}(r),null===r))return this;var a=Math.abs(r)<=16?60*r:r,c=this;if(o)return c.$offset=a,c.$u=0===r,c;if(0!==r){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(c=this.local().add(a+l,e)).$offset=a,c.$x.$localOffset=l}else c=this.utc();return c};var s=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return s.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var f=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var d=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return d.call(this,e,t,n);var r=this.local(),o=i(e).local();return d.call(r,o,t,n)}}}()},781:function(e){"use strict";var t=Array.prototype.slice,n=Object.prototype.toString;e.exports=function(e){var r=this;if("function"!==typeof r||"[object Function]"!==n.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var o,i=t.call(arguments,1),a=Math.max(0,r.length-i.length),c=[],l=0;l1&&"boolean"!==typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===k(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=E(e,0,1),n=E(e,-1);if("%"===t&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return x(e,C,(function(e,t,n,o){r[r.length]=n?x(o,O,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",i=N("%"+r+"%",t),c=i.name,u=i.value,s=!1,f=i.alias;f&&(r=f[0],S(n,A([0,1],f)));for(var d=1,p=!0;d=n.length){var _=l(u,h);u=(p=!!_)&&"get"in _&&!("originalValue"in _.get)?_.get:u[h]}else p=w(u,h),u=u[h];p&&!s&&(m[c]=u)}}return u}},593:function(e){"use strict";var t={foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof n)}},520:function(e,t,n){"use strict";var r="undefined"!==typeof Symbol&&Symbol,o=n(541);e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&o())))}},541:function(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},838:function(e,t,n){"use strict";var r=n(199);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},7:function(e,t,n){var r="__lodash_hash_undefined__",o=1/0,i="[object Function]",a="[object GeneratorFunction]",c="[object Symbol]",l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,s=/^\./,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,p=/^\[object .+?Constructor\]$/,h="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,v="object"==typeof self&&self&&self.Object===Object&&self,m=h||v||Function("return this")();var y=Array.prototype,_=Function.prototype,g=Object.prototype,b=m["__core-js_shared__"],w=function(){var e=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),A=_.toString,S=g.hasOwnProperty,x=g.toString,E=RegExp("^"+A.call(S).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),k=m.Symbol,C=y.splice,O=F(m,"Map"),N=F(Object,"create"),M=k?k.prototype:void 0,P=M?M.toString:void 0;function T(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1},j.prototype.set=function(e,t){var n=this.__data__,r=D(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},L.prototype.clear=function(){this.__data__={hash:new T,map:new(O||j),string:new T}},L.prototype.delete=function(e){return R(this,e).delete(e)},L.prototype.get=function(e){return R(this,e).get(e)},L.prototype.has=function(e){return R(this,e).has(e)},L.prototype.set=function(e,t){return R(this,e).set(e,t),this};var U=H((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(W(e))return P?P.call(e):"";var t=e+"";return"0"==t&&1/e==-o?"-0":t}(t);var n=[];return s.test(e)&&n.push(""),e.replace(f,(function(e,t,r,o){n.push(r?o.replace(d,"$1"):t||e)})),n}));function B(e){if("string"==typeof e||W(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-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,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(H.Cache||L),n}H.Cache=L;var z=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)&&x.call(e)==c}e.exports=function(e,t,n){var r=null==e?void 0:$(e,t);return void 0===r?n:r}},154:function(e,t,n){var r="function"===typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"===typeof o.get?o.get:null,a=r&&Map.prototype.forEach,c="function"===typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=c&&l&&"function"===typeof l.get?l.get:null,s=c&&Set.prototype.forEach,f="function"===typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"===typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"===typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,v=Object.prototype.toString,m=Function.prototype.toString,y=String.prototype.match,_=String.prototype.slice,g=String.prototype.replace,b=String.prototype.toUpperCase,w=String.prototype.toLowerCase,A=RegExp.prototype.test,S=Array.prototype.concat,x=Array.prototype.join,E=Array.prototype.slice,k=Math.floor,C="function"===typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,N="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,M="function"===typeof Symbol&&"object"===typeof Symbol.iterator,P="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===M||"symbol")?Symbol.toStringTag:null,T=Object.prototype.propertyIsEnumerable,j=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function L(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||A.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var r=e<0?-k(-e):k(e);if(r!==e){var o=String(r),i=_.call(t,o.length+1);return g.call(o,n,"$&_")+"."+g.call(g.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return g.call(t,n,"$&_")}var D=n(654),$=D.custom,I=H($)?$:null;function R(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function F(e){return g.call(String(e),/"/g,""")}function U(e){return"[object Array]"===W(e)&&(!P||!("object"===typeof e&&P in e))}function B(e){return"[object RegExp]"===W(e)&&(!P||!("object"===typeof e&&P 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||!N)return!1;try{return N.call(e),!0}catch(t){}return!1}e.exports=function e(t,n,r,o){var c=n||{};if(V(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(c,"maxStringLength")&&("number"===typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!V(c,"customInspect")||c.customInspect;if("boolean"!==typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(c,"numericSeparator")&&"boolean"!==typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var v=c.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return Z(t,c);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var b=String(t);return v?L(t,b):b}if("bigint"===typeof t){var A=String(t)+"n";return v?L(t,A):A}var k="undefined"===typeof c.depth?5:c.depth;if("undefined"===typeof r&&(r=0),r>=k&&k>0&&"object"===typeof t)return U(t)?"[Array]":"[Object]";var O=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=x.call(Array(e.indent+1)," ")}return{base:n,prev:x.call(Array(t+1),n)}}(c,r);if("undefined"===typeof o)o=[];else if(Y(o,t)>=0)return"[Circular]";function $(t,n,i){if(n&&(o=E.call(o)).push(n),i){var a={depth:c.depth};return V(c,"quoteStyle")&&(a.quoteStyle=c.quoteStyle),e(t,a,r+1,o)}return e(t,c,r+1,o)}if("function"===typeof t&&!B(t)){var z=function(e){if(e.name)return e.name;var t=y.call(m.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),G=X(t,$);return"[Function"+(z?": "+z:" (anonymous)")+"]"+(G.length>0?" { "+x.call(G,", ")+" }":"")}if(H(t)){var ee=M?g.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):N.call(t);return"object"!==typeof t||M?ee:q(ee)}if(function(e){if(!e||"object"!==typeof e)return!1;if("undefined"!==typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"===typeof e.nodeName&&"function"===typeof e.getAttribute}(t)){for(var te="<"+w.call(String(t.nodeName)),ne=t.attributes||[],re=0;re"}if(U(t)){if(0===t.length)return"[]";var oe=X(t,$);return O&&!function(e){for(var t=0;t=0)return!1;return!0}(oe)?"["+Q(oe,O)+"]":"[ "+x.call(oe,", ")+" ]"}if(function(e){return"[object Error]"===W(e)&&(!P||!("object"===typeof e&&P in e))}(t)){var ie=X(t,$);return"cause"in Error.prototype||!("cause"in t)||T.call(t,"cause")?0===ie.length?"["+String(t)+"]":"{ ["+String(t)+"] "+x.call(ie,", ")+" }":"{ ["+String(t)+"] "+x.call(S.call("[cause]: "+$(t.cause),ie),", ")+" }"}if("object"===typeof t&&l){if(I&&"function"===typeof t[I]&&D)return D(t,{depth:k-r});if("symbol"!==l&&"function"===typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!==typeof e)return!1;try{i.call(e);try{u.call(e)}catch(te){return!0}return e instanceof Map}catch(t){}return!1}(t)){var ae=[];return a&&a.call(t,(function(e,n){ae.push($(n,t,!0)+" => "+$(e,t))})),J("Map",i.call(t),ae,O)}if(function(e){if(!u||!e||"object"!==typeof e)return!1;try{u.call(e);try{i.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}(t)){var ce=[];return s&&s.call(t,(function(e){ce.push($(e,t))})),J("Set",u.call(t),ce,O)}if(function(e){if(!f||!e||"object"!==typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(te){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return K("WeakMap");if(function(e){if(!d||!e||"object"!==typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(te){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return K("WeakSet");if(function(e){if(!p||!e||"object"!==typeof e)return!1;try{return p.call(e),!0}catch(t){}return!1}(t))return K("WeakRef");if(function(e){return"[object Number]"===W(e)&&(!P||!("object"===typeof e&&P in e))}(t))return q($(Number(t)));if(function(e){if(!e||"object"!==typeof e||!C)return!1;try{return C.call(e),!0}catch(t){}return!1}(t))return q($(C.call(t)));if(function(e){return"[object Boolean]"===W(e)&&(!P||!("object"===typeof e&&P in e))}(t))return q(h.call(t));if(function(e){return"[object String]"===W(e)&&(!P||!("object"===typeof e&&P in e))}(t))return q($(String(t)));if(!function(e){return"[object Date]"===W(e)&&(!P||!("object"===typeof e&&P in e))}(t)&&!B(t)){var le=X(t,$),ue=j?j(t)===Object.prototype:t instanceof Object||t.constructor===Object,se=t instanceof Object?"":"null prototype",fe=!ue&&P&&Object(t)===t&&P in t?_.call(W(t),8,-1):se?"Object":"",de=(ue||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(fe||se?"["+x.call(S.call([],fe||[],se||[]),": ")+"] ":"");return 0===le.length?de+"{}":O?de+"{"+Q(le,O)+"}":de+"{ "+x.call(le,", ")+" }"}return String(t)};var z=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return z.call(e,t)}function W(e){return v.call(e)}function Y(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Z(_.call(e,0,t.maxStringLength),t)+r}return R(g.call(g.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,G),"single",t)}function G(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+b.call(t.toString(16))}function q(e){return"Object("+e+")"}function K(e){return e+" { ? }"}function J(e,t,n,r){return e+" ("+t+") {"+(r?Q(n,r):x.call(n,", "))+"}"}function Q(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+x.call(e,","+n)+"\n"+t.prev}function X(e,t){var n=U(e),r=[];if(n){r.length=e.length;for(var o=0;o-1?e.split(","):e},u=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,c=n.depth>0&&/(\[[^[\]]*])/.exec(i),u=c?i.slice(0,c.index):i,s=[];if(u){if(!n.plainObjects&&o.call(Object.prototype,u)&&!n.allowPrototypes)return;s.push(u)}for(var f=0;n.depth>0&&null!==(c=a.exec(i))&&f=0;--i){var a,c=e[i];if("[]"===c&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var u="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,s=parseInt(u,10);n.parseArrays||""!==u?!isNaN(s)&&c!==u&&String(s)===u&&s>=0&&n.parseArrays&&s<=n.arrayLimit?(a=[])[s]=o:"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o}(s,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t="undefined"===typeof e.charset?a.charset:e.charset;return{allowDots:"undefined"===typeof e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:a.comma,decoder:"function"===typeof e.decoder?e.decoder:a.decoder,delimiter:"string"===typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null===e||"undefined"===typeof e)return n.plainObjects?Object.create(null):{};for(var s="string"===typeof e?function(e,t){var n,u={__proto__:null},s=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,d=s.split(t.delimiter,f),p=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n-1&&(m=i(m)?[m]:m),o.call(u,v)?u[v]=r.combine(u[v],m):u[v]=m}return u}(e,n):e,f=n.plainObjects?Object.create(null):{},d=Object.keys(s),p=0;p0?x.join(",")||null:void 0}];else if(l(d))N=d;else{var P=Object.keys(x);N=v?P.sort(v):P}for(var T=a&&l(x)&&1===x.length?n+"[]":n,j=0;j0?w+b:""}},837:function(e,t,n){"use strict";var r=n(609),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),c=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||i===r.RFC1738&&(40===s||41===s)?l+=c.charAt(u):s<128?l+=a[s]:s<2048?l+=a[192|s>>6]+a[128|63&s]:s<55296||s>=57344?l+=a[224|s>>12]+a[128|s>>6&63]+a[128|63&s]:(u+=1,s=65536+((1023&s)<<10|1023&c.charCodeAt(u)),l+=a[240|s>>18]+a[128|s>>12&63]+a[128|s>>6&63]+a[128|63&s])}return l},isBuffer:function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r2&&(c.children=arguments.length>3?t.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===c[a]&&(c[a]=e.defaultProps[a]);return y(e,c,o,i,null)}function y(e,t,n,i,a){var c={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++o:a};return null==a&&null!=r.vnode&&r.vnode(c),c}function _(){return{current:null}}function g(e){return e.children}function b(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(e.__,e.__.__k.indexOf(e)+1):null;for(var n;tt&&i.sort(l));x.__r=0}function E(e,t,n,r,o,i,a,c,l,u,d){var h,v,m,_,b,w,A,S,x,E,C=0,M=r&&r.__k||f,P=M.length,T=P,j=t.length;for(n.__k=[],h=0;h0?y(_.type,_.props,_.key,_.ref?_.ref:null,_.__v):_)&&(_.__=n,_.__b=n.__b+1,-1===(S=N(_,M,A=h+C,T))?m=s:(m=M[S]||s,M[S]=void 0,T--),L(e,_,m,o,i,a,c,l,u,d),b=_.__e,(v=_.ref)&&m.ref!=v&&(m.ref&&I(m.ref,null,_),d.push(v,_.__c||b,_)),null!=b&&(null==w&&(w=b),E=!(x=m===s||null===m.__v)&&S===A,x?-1==S&&C--:S!==A&&(S===A+1?(C++,E=!0):S>A?T>j-A?(C+=S-A,E=!0):C--:C=S(null!=l?1:0))for(;a>=0||c=0){if((l=t[a])&&o==l.key&&i===l.type)return a;a--}if(c2&&(l.children=arguments.length>3?t.call(arguments,2):r),y(e.type,l,o||e.key,i||e.ref,null)}function z(e,t){var n={__c:t="__cC"+u++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,S(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}t=f.slice,r={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},o=0,b.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof e&&(e=e(h({},n),this.props)),e&&h(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),S(this))},b.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},b.prototype.render=g,i=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,l=function(e,t){return e.__v.__b-t.__v.__b},x.__r=0,u=0;var V,W,Y,Z,G=0,q=[],K=[],J=r.__b,Q=r.__r,X=r.diffed,ee=r.__c,te=r.unmount;function ne(e,t){r.__h&&r.__h(W,e,G||t),G=0;var n=W.__H||(W.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:K}),n.__[e]}function re(e){return G=1,oe(we,e)}function oe(e,t,n){var r=ne(V++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):we(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=W,!W.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var a=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};W.u=!0;var i=W.shouldComponentUpdate,a=W.componentWillUpdate;W.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}a&&a.call(this,e,t,n)},W.shouldComponentUpdate=o}return r.__N||r.__}function ie(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 ce(e){return G=5,ue((function(){return{current:e}}),[])}function le(e,t,n){G=6,ae((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function ue(e,t){var n=ne(V++,7);return be(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function se(e,t){return G=8,ue((function(){return e}),t)}function fe(e){var t=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 de(e,t){r.useDebugValue&&r.useDebugValue(t?t(e):e)}function pe(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 he(){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=q.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(_e),e.__H.__h.forEach(ge),e.__H.__h=[]}catch(c){e.__H.__h=[],r.__e(c,e.__v)}}r.__b=function(e){W=null,J&&J(e)},r.__r=function(e){Q&&Q(e),V=0;var t=(W=e.__c).__H;t&&(Y===W?(t.__h=[],W.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=K,e.__N=e.i=void 0}))):(t.__h.forEach(_e),t.__h.forEach(ge),t.__h=[],V=0)),Y=W},r.diffed=function(e){X&&X(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==q.push(t)&&Z===r.requestAnimationFrame||((Z=r.requestAnimationFrame)||ye)(ve)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==K&&(e.__=e.__V),e.i=void 0,e.__V=K}))),Y=W=null},r.__c=function(e,t){t.some((function(e){try{e.__h.forEach(_e),e.__h=e.__h.filter((function(e){return!e.__||ge(e)}))}catch(o){t.some((function(e){e.__h&&(e.__h=[])})),t=[],r.__e(o,e.__v)}})),ee&&ee(e,t)},r.unmount=function(e){te&&te(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{_e(e)}catch(e){t=e}})),n.__H=void 0,t&&r.__e(t,n.__v))};var me="function"==typeof requestAnimationFrame;function ye(e){var t,n=function(){clearTimeout(r),me&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);me&&(t=requestAnimationFrame(n))}function _e(e){var t=W,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),W=t}function ge(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 we(e,t){return"function"==typeof t?t(e):t}function Ae(e,t){for(var n in t)e[n]=t[n];return e}function Se(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function xe(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}function Ee(e){this.props=e}function ke(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:Se(this.props,e)}function r(t){return this.shouldComponentUpdate=n,m(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Ee.prototype=new b).isPureReactComponent=!0,Ee.prototype.shouldComponentUpdate=function(e,t){return Se(this.props,e)||Se(this.state,t)};var Ce=r.__b;r.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ce&&Ce(e)};var Oe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ne(e){function t(t){var n=Ae({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Oe,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Me=function(e,t){return null==e?null:C(C(e).map(t))},Pe={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},Te=r.__e;r.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);Te(e,t,n,r)};var je=r.unmount;function Le(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=Ae({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Le(e,t,n)}))),e}function De(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return De(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function $e(){this.__u=0,this.t=null,this.__b=null}function Ie(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Re(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return m(n,o)}return o.displayName="Lazy",o.__f=!0,o}function Fe(){this.u=null,this.o=null}r.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),je&&je(e)},($e.prototype=new b).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=Ie(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(c):c())};n.__R=a;var c=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=De(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},$e.prototype.componentWillUnmount=function(){this.t=[]},$e.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Le(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&m(g,null,e.fallback);return o&&(o.__h=null),[m(g,null,t.__a?null:e.children),o]};var Ue=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(e)}}),U(m(Be,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function ze(e,t){var n=m(He,{__v:e,i:t});return n.containerInfo=t,n}(Fe.prototype=new b).__a=function(e){var t=this,n=Ie(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Ue(t,e,r)):o()};n?n(i):i()}},Fe.prototype.render=function(e){this.u=null,this.o=new Map;var t=C(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Fe.prototype.componentDidUpdate=Fe.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Ue(e,n,t)}))};var 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]/,Ye=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ze=/[A-Z0-9]/g,Ge="undefined"!=typeof document,qe=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function Ke(e,t,n){return null==t.__k&&(t.textContent=""),U(e,t),"function"==typeof n&&n(),e?e.__c:null}function Je(e,t,n){return B(e,t),"function"==typeof n&&n(),e?e.__c:null}b.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(b.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Qe=r.event;function Xe(){}function et(){return this.cancelBubble}function tt(){return this.defaultPrevented}r.event=function(e){return Qe&&(e=Qe(e)),e.persist=Xe,e.isPropagationStopped=et,e.isDefaultPrevented=tt,e.nativeEvent=e};var nt,rt={enumerable:!1,configurable:!0,get:function(){return this.class}},ot=r.vnode;r.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||Ge&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var a=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===a?o="ondblclick":"onchange"!==a||"input"!==n&&"textarea"!==n||qe(t.type)?"onfocus"===a?o="onfocusin":"onblur"===a?o="onfocusout":Ye.test(o)?o=a:-1===n.indexOf("-")&&We.test(o)?o=o.replace(Ze,"-$&").toLowerCase():null===i&&(i=void 0):a=o="oninput","oninput"===a&&r[o=a]&&(o="oninputCapture"),r[o]=i}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=C(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=C(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",rt)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Ve,ot&&ot(e)};var it=r.__r;r.__r=function(e){it&&it(e),nt=e.__c};var at=r.diffed;r.diffed=function(e){at&&at(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),nt=null};var ct={ReactCurrentDispatcher:{current:{readContext:function(e){return nt.__n[e.__c].props.value}}}},lt="17.0.2";function ut(e){return m.bind(null,e)}function st(e){return!!e&&e.$$typeof===Ve}function ft(e){return st(e)?H.apply(null,arguments):e}function dt(e){return!!e.__k&&(U(null,e),!0)}function pt(e){return e&&(e.base||1===e.nodeType&&e)||null}var ht=function(e,t){return e(t)},vt=function(e,t){return e(t)},mt=g;function yt(e){e()}function _t(e){return e}function gt(){return[!1,yt]}var bt=ae;function wt(e,t){var n=t(),r=re({h:{__:n,v:t}}),o=r[0].h,i=r[1];return ae((function(){o.__=n,o.v=t,xe(o.__,t())||i({h:o})}),[e,n,t]),ie((function(){return xe(o.__,o.v())||i({h:o}),e((function(){xe(o.__,o.v())||i({h:o})}))}),[e]),n}var At,St={useState:re,useId:he,useReducer:oe,useEffect:ie,useLayoutEffect:ae,useInsertionEffect:bt,useTransition:gt,useDeferredValue:_t,useSyncExternalStore:wt,startTransition:yt,useRef:ce,useImperativeHandle:le,useMemo:ue,useCallback:se,useContext:fe,useDebugValue:de,version:"17.0.2",Children:Pe,render:Ke,hydrate:Je,unmountComponentAtNode:dt,createPortal:ze,createElement:m,createContext:z,createFactory:ut,cloneElement:ft,createRef:_,Fragment:g,isValidElement:st,findDOMNode:pt,Component:b,PureComponent:Ee,memo:ke,forwardRef:Ne,flushSync:vt,unstable_batchedUpdates:ht,StrictMode:mt,Suspense:$e,SuspenseList:Fe,lazy:Re,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ct},xt=n(658),Et=n.n(xt),kt=n(443),Ct=n.n(kt),Ot=n(446),Nt=n.n(Ot),Mt=n(635),Pt=n.n(Mt);function Tt(e){if(Array.isArray(e))return e}function jt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function Rt(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Ft(e){return function(e){if(Array.isArray(e))return jt(e)}(e)||Rt(e)||Lt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bt(e){return Bt="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},Bt(e)}function Ht(e){var t=function(e,t){if("object"!==Bt(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Bt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Bt(t)?t:String(t)}function zt(e,t){for(var n=0;n=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function un(e,t,n,r){void 0===r&&(r={});var o=r,i=o.window,a=void 0===i?document.defaultView:i,c=o.v5Compat,l=void 0!==c&&c,u=a.history,s=At.Pop,f=null,d=p();function p(){return(u.state||{idx:null}).idx}function h(){s=At.Pop;var e=p(),t=null==e?null:e-d;d=e,f&&f({action:s,location:m.location,delta:t})}function v(e){var t="null"!==a.location.origin?a.location.origin:a.location.href,n="string"===typeof e?e:cn(e);return nn(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==d&&(d=0,u.replaceState(Xt({},u.state,{idx:d}),""));var m={get action(){return s},get location(){return e(a,u)},listen:function(e){if(f)throw new Error("A history only accepts one active listener");return a.addEventListener(tn,h),f=e,function(){a.removeEventListener(tn,h),f=null}},createHref:function(e){return t(a,e)},createURL:v,encodeLocation:function(e){var t=v(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s=At.Push;var r=an(m.location,e,t);n&&n(r,e);var o=on(r,d=p()+1),i=m.createHref(r);try{u.pushState(o,"",i)}catch(c){if(c instanceof DOMException&&"DataCloneError"===c.name)throw c;a.location.assign(i)}l&&f&&f({action:s,location:m.location,delta:1})},replace:function(e,t){s=At.Replace;var r=an(m.location,e,t);n&&n(r,e);var o=on(r,d=p()),i=m.createHref(r);u.replaceState(o,"",i),l&&f&&f({action:s,location:m.location,delta:0})},go:function(e){return u.go(e)}};return m}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(en||(en={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function sn(e,t,n){void 0===n&&(n="/");var r=xn(("string"===typeof t?ln(t):t).pathname||"/",n);if(null==r)return null;var o=fn(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(o);for(var i=null,a=0;null==i&&a0&&(nn(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+c+'".'),fn(e.children,t,l,c)),(null!=e.path||e.index)&&t.push({path:c,score:bn(c,e.index),routesMeta:l})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,i=It(dn(e.path));try{for(i.s();!(r=i.n()).done;){var a=r.value;o(e,t,a)}}catch(c){i.e(c)}finally{i.f()}}else o(e,t)})),t}function dn(e){var t=e.split("/");if(0===t.length)return[];var n,r=Tt(n=t)||Rt(n)||Lt(n)||Dt(),o=r[0],i=r.slice(1),a=o.endsWith("?"),c=o.replace(/\?$/,"");if(0===i.length)return a?[c,""]:[c];var l=dn(i.join("/")),u=[];return u.push.apply(u,Ft(l.map((function(e){return""===e?c:[c,e].join("/")})))),a&&u.push.apply(u,Ft(l)),u.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var pn=/^:\w+$/,hn=3,vn=2,mn=1,yn=10,_n=-2,gn=function(e){return"*"===e};function bn(e,t){var n=e.split("/"),r=n.length;return n.some(gn)&&(r+=_n),t&&(r+=vn),n.filter((function(e){return!gn(e)})).reduce((function(e,t){return e+(pn.test(t)?hn:""===t?mn:yn)}),r)}function wn(e,t){for(var n=e.routesMeta,r={},o="/",i=[],a=0;a and the router will parse it for you.'}function kn(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function Cn(e,t,n,r){var o;void 0===r&&(r=!1),"string"===typeof e?o=ln(e):(nn(!(o=Xt({},e)).pathname||!o.pathname.includes("?"),En("?","pathname","search",o)),nn(!o.pathname||!o.pathname.includes("#"),En("#","pathname","hash",o)),nn(!o.search||!o.search.includes("#"),En("#","search","hash",o)));var i,a=""===e||""===o.pathname,c=a?"/":o.pathname;if(r||null==c)i=n;else{var l=t.length-1;if(c.startsWith("..")){for(var u=c.split("/");".."===u[0];)u.shift(),l-=1;o.pathname=u.join("/")}i=l>=0?t[l]:"/"}var s=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?ln(e):e,r=n.pathname,o=n.search,i=void 0===o?"":o,a=n.hash,c=void 0===a?"":a,l=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:l,search:Mn(i),hash:Pn(c)}}(o,i),f=c&&"/"!==c&&c.endsWith("/"),d=(a||"."===c)&&n.endsWith("/");return s.pathname.endsWith("/")||!f&&!d||(s.pathname+="/"),s}var On=function(e){return e.join("/").replace(/\/\/+/g,"/")},Nn=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},Mn=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},Pn=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""};Error;function Tn(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var jn=["post","put","patch","delete"],Ln=(new Set(jn),["get"].concat(jn));new Set(Ln),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function Dn(){return Dn=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||nn(!1),i=i.slice(0,Math.min(i.length,c+1))}return i.reduceRight((function(e,r,o){var c=r.route.id?null==a?void 0:a[r.route.id]:null,l=null;n&&(l=r.route.errorElement||Qn);var u=t.concat(i.slice(0,o+1)),s=function(){var t;return t=c?l:r.route.Component?m(r.route.Component,null):r.route.element?r.route.element:e,m(er,{match:r,routeContext:{outlet:e,matches:u,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===o)?m(Xn,{location:n.location,revalidation:n.revalidation,component:l,error:c,children:s(),routeContext:{outlet:null,matches:u,isDataRoute:!0}}):s()}),null)}function nr(e){var t=fe($n);return t||nn(!1),t}function rr(e){var t=fe(In);return t||nn(!1),t}function or(e){var t=function(e){var t=fe(Un);return t||nn(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||nn(!1),n.route.id}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"}(Kn||(Kn={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"}(Jn||(Jn={}));var ir;function ar(e){return function(e){var t=fe(Un).outlet;return t?m(Yn.Provider,{value:e},t):t}(e.context)}function cr(e){nn(!1)}function lr(e){var t=e.basename,n=void 0===t?"/":t,r=e.children,o=void 0===r?null:r,i=e.location,a=e.navigationType,c=void 0===a?At.Pop:a,l=e.navigator,u=e.static,s=void 0!==u&&u;Hn()&&nn(!1);var f=n.replace(/^\/*/,"/"),d=ue((function(){return{basename:f,navigator:l,static:s}}),[f,l,s]);"string"===typeof i&&(i=ln(i));var p=i,h=p.pathname,v=void 0===h?"/":h,y=p.search,_=void 0===y?"":y,g=p.hash,b=void 0===g?"":g,w=p.state,A=void 0===w?null:w,S=p.key,x=void 0===S?"default":S,E=ue((function(){var e=xn(v,f);return null==e?null:{location:{pathname:e,search:_,hash:b,state:A,key:x},navigationType:c}}),[f,v,_,b,A,x,c]);return null==E?null:m(Rn.Provider,{value:d},m(Fn.Provider,{children:o,value:E}))}function ur(e){var t=e.children,n=e.location;return Gn(sr(t),n)}!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(ir||(ir={}));new Promise((function(){}));function sr(e,t){void 0===t&&(t=[]);var n=[];return Pe.forEach(e,(function(e,r){if(st(e)){var o=[].concat(Ft(t),[r]);if(e.type!==g){e.type!==cr&&nn(!1),e.props.index&&e.props.children&&nn(!1);var i={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=sr(e.props.children,o)),n.push(i)}else n.push.apply(n,sr(e.props.children,o))}})),n}function fr(){return fr=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function pr(e){return void 0===e&&(e=""),new URLSearchParams("string"===typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((function(t,n){var r=e[n];return t.concat(Array.isArray(r)?r.map((function(e){return[n,e]})):[[n,r]])}),[]))}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);var hr=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],vr=["aria-current","caseSensitive","className","end","style","to","children"];var mr=e.startTransition;function yr(e){var t=e.basename,n=e.children,r=e.future,o=e.window,i=ce();null==i.current&&(i.current=function(e){return void 0===e&&(e={}),un((function(e,t){var n=ln(e.location.hash.substr(1)),r=n.pathname,o=void 0===r?"/":r,i=n.search,a=void 0===i?"":i,c=n.hash;return an("",{pathname:o,search:a,hash:void 0===c?"":c},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){var n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){var o=e.location.href,i=o.indexOf("#");r=-1===i?o:o.slice(0,i)}return r+"#"+("string"===typeof t?t:cn(t))}),(function(e,t){rn("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}({window:o,v5Compat:!0}));var a=i.current,c=$t(re({action:a.action,location:a.location}),2),l=c[0],u=c[1],s=(r||{}).v7_startTransition,f=se((function(e){s&&mr?mr((function(){return u(e)})):u(e)}),[u,s]);return ae((function(){return a.listen(f)}),[a,f]),m(lr,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:a})}var _r="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,gr=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,br=Ne((function(e,t){var n,r=e.onClick,o=e.relative,i=e.reloadDocument,a=e.replace,c=e.state,l=e.target,s=e.to,f=e.preventScrollReset,d=dr(e,hr),p=fe(Rn).basename,h=!1;if("string"===typeof s&&gr.test(s)&&(n=s,_r))try{var v=new URL(window.location.href),y=s.startsWith("//")?new URL(v.protocol+s):new URL(s),_=xn(y.pathname,p);y.origin===v.origin&&null!=_?s=_+y.search+y.hash:h=!0}catch(u){}var g=function(e,t){var n=(void 0===t?{}:t).relative;Hn()||nn(!1);var r=fe(Rn),o=r.basename,i=r.navigator,a=Zn(e,{relative:n}),c=a.hash,l=a.pathname,u=a.search,s=l;return"/"!==o&&(s="/"===l?o:On([o,l])),i.createHref({pathname:s,search:u,hash:c})}(s,{relative:o}),b=function(e,t){var n=void 0===t?{}:t,r=n.target,o=n.replace,i=n.state,a=n.preventScrollReset,c=n.relative,l=Wn(),u=zn(),s=Zn(e,{relative:c});return se((function(t){if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,r)){t.preventDefault();var n=void 0!==o?o:cn(u)===cn(s);l(e,{replace:n,state:i,preventScrollReset:a,relative:c})}}),[u,l,s,o,i,r,e,a,c])}(s,{replace:a,state:c,target:l,preventScrollReset:f,relative:o});return m("a",fr({},d,{href:n||g,onClick:h||i?r:function(e){r&&r(e),e.defaultPrevented||b(e)},ref:t,target:l}))}));var wr=Ne((function(e,t){var n=e["aria-current"],r=void 0===n?"page":n,o=e.caseSensitive,i=void 0!==o&&o,a=e.className,c=void 0===a?"":a,l=e.end,u=void 0!==l&&l,s=e.style,f=e.to,d=e.children,p=dr(e,vr),h=Zn(f,{relative:p.relative}),v=zn(),y=fe(In),_=fe(Rn).navigator,g=_.encodeLocation?_.encodeLocation(h).pathname:h.pathname,b=v.pathname,w=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(b=b.toLowerCase(),w=w?w.toLowerCase():null,g=g.toLowerCase());var A,S=b===g||!u&&b.startsWith(g)&&"/"===b.charAt(g.length),x=null!=w&&(w===g||!u&&w.startsWith(g)&&"/"===w.charAt(g.length)),E=S?r:void 0;A="function"===typeof c?c({isActive:S,isPending:x}):[c,S?"active":null,x?"pending":null].filter(Boolean).join(" ");var k="function"===typeof s?s({isActive:S,isPending:x}):s;return m(br,fr({},p,{"aria-current":E,className:A,ref:t,style:k,to:f}),"function"===typeof d?d({isActive:S,isPending:x}):d)}));var Ar,Sr;function xr(e){var t=ce(pr(e)),n=ce(!1),r=zn(),o=ue((function(){return function(e,t){var n=pr(e);if(t){var r,o=It(t.keys());try{var i=function(){var e=r.value;n.has(e)||t.getAll(e).forEach((function(t){n.append(e,t)}))};for(o.s();!(r=o.n()).done;)i()}catch(a){o.e(a)}finally{o.f()}}return n}(r.search,n.current?null:t.current)}),[r.search]),i=Wn(),a=se((function(e,t){var r=pr("function"===typeof e?e(o):e);n.current=!0,i("?"+r,t)}),[i,o]);return[o,a]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(Ar||(Ar={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Sr||(Sr={}));function Er(e,t,n){return(t=Ht(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cr(e){for(var t=1;t=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),ho(Et().duration(n||.001,"seconds").asMilliseconds()).replace(/\s/g,"")},uo=function(e){var t=e.match(/\d+/g),n=e.match(/[a-zA-Z]+/g);if(n&&t&&co.includes(n[0]))return Er({},n[0],t[0])},so=function(e,t){return lo(e/(t?ro:no))},fo=function(e,t){var n=(t||Et()().toDate()).valueOf()/1e3,r=function(e){var t=ao.map((function(e){return e.short})).join("|"),n=new RegExp("\\d+[".concat(t,"]+"),"g"),r=(e.match(n)||[]).reduce((function(e,t){var n=uo(t);return n?Cr(Cr({},e),n):Cr({},e)}),{});return Et().duration(r).asSeconds()}(e);return{start:n-r,end:n,step:so(r),date:po(t||Et()().toDate())}},po=function(e){return Et().tz(e).utc().format(to)},ho=function(e){var t=Math.floor(e%1e3),n=Math.floor(e/1e3%60),r=Math.floor(e/1e3/60%60),o=Math.floor(e/1e3/3600%24),i=Math.floor(e/864e5),a=["d","h","m","s","ms"],c=[i,o,r,n,t].map((function(e,t){return e?"".concat(e).concat(a[t]):""}));return c.filter((function(e){return e})).join("")},vo=function(e){var t=Et()(1e3*e);return t.isValid()?t.toDate():new Date},mo=[{title:"Last 5 minutes",duration:"5m"},{title:"Last 15 minutes",duration:"15m"},{title:"Last 30 minutes",duration:"30m",isDefault:!0},{title:"Last 1 hour",duration:"1h"},{title:"Last 3 hours",duration:"3h"},{title:"Last 6 hours",duration:"6h"},{title:"Last 12 hours",duration:"12h"},{title:"Last 24 hours",duration:"24h"},{title:"Last 2 days",duration:"2d"},{title:"Last 7 days",duration:"7d"},{title:"Last 30 days",duration:"30d"},{title:"Last 90 days",duration:"90d"},{title:"Last 180 days",duration:"180d"},{title:"Last 1 year",duration:"1y"},{title:"Yesterday",duration:"1d",until:function(){return Et()().tz().subtract(1,"day").endOf("day").toDate()}},{title:"Today",duration:"1d",until:function(){return Et()().tz().endOf("day").toDate()}}].map((function(e){return Cr({id:e.title.replace(/\s/g,"_").toLocaleLowerCase(),until:e.until?e.until:function(){return Et()().tz().toDate()}},e)})),yo=function(e){var t,n=e.relativeTimeId,r=e.defaultDuration,o=e.defaultEndInput,i=null===(t=mo.find((function(e){return e.isDefault})))||void 0===t?void 0:t.id,a=n||Ir("g0.relative_time",i),c=mo.find((function(e){return e.id===a}));return{relativeTimeId:c?a:"none",duration:c?c.duration:r,endInput:c?c.until():o}},_o=function(e){var t=Et()().tz(e);return"UTC".concat(t.format("Z"))},go=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=new RegExp(e,"i");return io.reduce((function(n,r){var o=(r.match(/^(.*?)\//)||[])[1]||"unknown",i=_o(r),a=i.replace(/UTC|0/,""),c=r.replace(/[/_]/g," "),l={region:r,utc:i,search:"".concat(r," ").concat(i," ").concat(c," ").concat(a)},u=!e||e&&t.test(l.search);return u&&n[o]?n[o].push(l):u&&(n[o]=[l]),n}),{})},bo=function(e){Et().tz.setDefault(e)},wo=Fr("TIMEZONE")||Et().tz.guess();bo(wo);var Ao,So=Ir("g0.range_input"),xo=yo({defaultDuration:So||"1h",defaultEndInput:(Ao=Ir("g0.end_input",Et()().utc().format(to)),Et()(Ao).utcOffset(0,!0).toDate()),relativeTimeId:So?Ir("g0.relative_time","none"):void 0}),Eo=xo.duration,ko=xo.endInput,Co=xo.relativeTimeId,Oo={duration:Eo,period:fo(Eo,ko),relativeTime:Co,timezone:wo};function No(e,t){switch(t.type){case"SET_DURATION":return Cr(Cr({},e),{},{duration:t.payload,period:fo(t.payload,vo(e.period.end)),relativeTime:"none"});case"SET_RELATIVE_TIME":return Cr(Cr({},e),{},{duration:t.payload.duration,period:fo(t.payload.duration,t.payload.until),relativeTime:t.payload.id});case"SET_PERIOD":var n=function(e){var t=e.to.valueOf()-e.from.valueOf();return ho(t)}(t.payload);return Cr(Cr({},e),{},{duration:n,period:fo(n,t.payload.to),relativeTime:"none"});case"RUN_QUERY":var r=yo({relativeTimeId:e.relativeTime,defaultDuration:e.duration,defaultEndInput:vo(e.period.end)}),o=r.duration,i=r.endInput;return Cr(Cr({},e),{},{period:fo(o,i)});case"RUN_QUERY_TO_NOW":return Cr(Cr({},e),{},{period:fo(e.duration)});case"SET_TIMEZONE":return bo(t.payload),Rr("TIMEZONE",t.payload),Cr(Cr({},e),{},{timezone:t.payload});default:throw new Error}}var Mo=z({}),Po=function(){return fe(Mo).state},To=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"),"")}))}(),jo={query:To,queryHistory:To.map((function(e){return{index:0,values:[e]}})),autocomplete:Fr("AUTOCOMPLETE")||!1};function Lo(e,t){switch(t.type){case"SET_QUERY":return Cr(Cr({},e),{},{query:t.payload.map((function(e){return e}))});case"SET_QUERY_HISTORY":return Cr(Cr({},e),{},{queryHistory:t.payload});case"SET_QUERY_HISTORY_BY_INDEX":return e.queryHistory.splice(t.payload.queryNumber,1,t.payload.value),Cr(Cr({},e),{},{queryHistory:e.queryHistory});case"TOGGLE_AUTOCOMPLETE":return Rr("AUTOCOMPLETE",!e.autocomplete),Cr(Cr({},e),{},{autocomplete:!e.autocomplete});default:throw new Error}}var Do=z({}),$o=function(){return Kr("svg",{viewBox:"0 0 74 24",fill:"currentColor",children:Kr("path",{d:"M6.12 10.48c.36.28.8.43 1.26.43h.05c.48 0 .96-.19 1.25-.44 1.5-1.28 5.88-5.29 5.88-5.29C15.73 4.1 12.46 3.01 7.43 3h-.06C2.33 3-.93 4.1.24 5.18c0 0 4.37 4 5.88 5.3Zm2.56 2.16c-.36.28-.8.44-1.26.45h-.04c-.46 0-.9-.17-1.26-.45-1.04-.88-4.74-4.22-6.12-5.5v1.94c0 .21.08.5.22.63l.07.06c1.05.96 4.55 4.16 5.83 5.25.36.28.8.43 1.26.44h.04c.49-.02.96-.2 1.26-.44 1.3-1.11 4.94-4.45 5.88-5.31.15-.14.23-.42.23-.63V7.15a454.94 454.94 0 0 1-6.11 5.5Zm-1.26 4.99c.46 0 .9-.16 1.26-.44a454.4 454.4 0 0 0 6.1-5.5v1.94c0 .2-.07.48-.22.62-.94.87-4.57 4.2-5.88 5.3-.3.26-.77.44-1.26.45h-.04c-.46 0-.9-.16-1.26-.44-1.2-1.02-4.38-3.92-5.62-5.06l-.28-.25c-.14-.14-.22-.42-.22-.62v-1.94c1.38 1.26 5.08 4.6 6.12 5.5.36.28.8.43 1.26.44h.04ZM35 5l-5.84 14.46h-2.43L20.89 5h2.16a.9.9 0 0 1 .9.61l3.41 8.82a18.8 18.8 0 0 1 .62 2.02 19.44 19.44 0 0 1 .57-2.02l3.39-8.82c.05-.15.16-.3.31-.42a.9.9 0 0 1 .58-.19H35Zm17.18 0v14.46H49.8v-9.34c0-.37.02-.78.06-1.21l-4.37 8.21c-.21.4-.53.59-.95.59h-.38c-.43 0-.75-.2-.95-.59L38.8 8.88a22.96 22.96 0 0 1 .07 1.24v9.34H36.5V5h2.03l.3.01c.1 0 .17.02.24.05.07.03.13.07.19.13a1 1 0 0 1 .17.24l4.33 8.03a16.97 16.97 0 0 1 .6 1.36 14.34 14.34 0 0 1 .6-1.38l4.28-8.01c.05-.1.1-.18.17-.24.06-.06.12-.1.19-.13a.9.9 0 0 1 .24-.05l.3-.01h2.04Zm8.88 13.73a4.5 4.5 0 0 0 1.82-.35 3.96 3.96 0 0 0 2.22-2.47c.2-.57.3-1.19.3-1.85V5.31h1.02v8.75c0 .78-.12 1.51-.37 2.19a4.88 4.88 0 0 1-2.76 2.95c-.66.29-1.4.43-2.23.43-.82 0-1.57-.14-2.24-.43a5.01 5.01 0 0 1-2.75-2.95 6.37 6.37 0 0 1-.37-2.19V5.31h1.03v8.74c0 .66.1 1.28.3 1.85a3.98 3.98 0 0 0 2.21 2.47c.53.24 1.14.36 1.82.36Zm10.38.73h-1.03V5.31h1.03v14.15Z"})})},Io=function(){return Kr("svg",{viewBox:"0 0 85 38",fill:"currentColor",children:[Kr("path",{d:"M11.12 10.48c.36.28.8.43 1.26.43h.05c.48 0 .96-.19 1.25-.44 1.5-1.28 5.88-5.29 5.88-5.29 1.17-1.09-2.1-2.17-7.13-2.18h-.06c-5.04 0-8.3 1.1-7.13 2.18 0 0 4.37 4 5.88 5.3Zm2.56 2.16c-.36.28-.8.44-1.26.45h-.04c-.46 0-.9-.17-1.26-.45-1.04-.88-4.74-4.22-6.12-5.5v1.94c0 .21.08.5.22.63l.07.06c1.05.96 4.55 4.16 5.83 5.25.36.28.8.43 1.26.44h.04c.49-.02.96-.2 1.26-.44 1.3-1.11 4.94-4.45 5.88-5.31.15-.14.23-.42.23-.63V7.15a455.13 455.13 0 0 1-6.11 5.5Zm-1.26 4.99c.46 0 .9-.16 1.26-.44 2.05-1.82 4.09-3.65 6.1-5.5v1.94c0 .2-.07.48-.22.62-.94.87-4.57 4.2-5.88 5.3-.3.26-.77.44-1.26.45h-.04c-.46 0-.9-.16-1.26-.44-1.2-1.02-4.38-3.92-5.62-5.06l-.28-.25c-.14-.14-.22-.42-.22-.62v-1.94c1.38 1.26 5.08 4.6 6.12 5.5.36.28.8.43 1.26.44h.04ZM40 5l-5.84 14.46h-2.43L25.89 5h2.16a.9.9 0 0 1 .9.61l3.41 8.82a18.8 18.8 0 0 1 .62 2.02 19.44 19.44 0 0 1 .57-2.02l3.39-8.82c.05-.15.16-.3.31-.42a.9.9 0 0 1 .58-.19H40Zm17.18 0v14.46H54.8v-9.34c0-.37.02-.78.06-1.21l-4.37 8.21c-.21.4-.53.59-.95.59h-.38c-.43 0-.75-.2-.95-.59L43.8 8.88a22.96 22.96 0 0 1 .07 1.24v9.34H41.5V5h2.03l.3.01c.1 0 .17.02.24.05.07.03.13.07.19.13a1 1 0 0 1 .17.24l4.33 8.03a16.97 16.97 0 0 1 .6 1.36 14.34 14.34 0 0 1 .6-1.38l4.28-8.01c.05-.1.1-.18.17-.24.06-.06.12-.1.19-.13a.9.9 0 0 1 .24-.05l.3-.01h2.04Zm8.88 13.73a4.5 4.5 0 0 0 1.82-.35 3.96 3.96 0 0 0 2.22-2.47c.2-.57.3-1.19.3-1.85V5.31h1.02v8.75c0 .78-.12 1.51-.37 2.19a4.88 4.88 0 0 1-2.76 2.95c-.66.29-1.4.43-2.23.43-.82 0-1.57-.14-2.24-.43a5.01 5.01 0 0 1-2.75-2.95 6.37 6.37 0 0 1-.37-2.19V5.31h1.03v8.74c0 .66.1 1.28.3 1.85a3.98 3.98 0 0 0 2.21 2.47c.53.24 1.14.36 1.82.36Zm10.38.73h-1.03V5.31h1.03v14.15ZM1.73 36v-5.17l-.67-.07a.6.6 0 0 1-.21-.1.23.23 0 0 1-.08-.18v-.44h.96v-.59c0-.34.05-.65.14-.92a1.79 1.79 0 0 1 1.08-1.11 2.45 2.45 0 0 1 1.62-.02l-.03.53c0 .1-.06.15-.16.16H4c-.18 0-.35.03-.5.08a.95.95 0 0 0-.39.23c-.1.11-.19.25-.25.43-.05.18-.08.4-.08.65v.56h1.75v.78H2.8V36H1.73Zm6.17-6.17c.45 0 .85.07 1.2.22a2.57 2.57 0 0 1 1.5 1.62c.13.38.2.81.2 1.29s-.07.91-.2 1.3a2.57 2.57 0 0 1-1.49 1.61c-.36.14-.76.21-1.2.21-.45 0-.86-.07-1.22-.21a2.57 2.57 0 0 1-1.5-1.62c-.12-.38-.19-.81-.19-1.3 0-.47.07-.9.2-1.28a2.57 2.57 0 0 1 1.5-1.62c.35-.15.76-.22 1.2-.22Zm0 5.42c.6 0 1.05-.2 1.35-.6.3-.4.44-.97.44-1.69s-.15-1.28-.44-1.69c-.3-.4-.75-.6-1.35-.6-.3 0-.57.05-.8.15-.22.1-.4.26-.56.45-.15.2-.26.44-.33.73-.08.28-.11.6-.11.96 0 .72.15 1.29.44 1.69.3.4.76.6 1.36.6Zm5.26-4.11c.2-.42.43-.74.71-.97.28-.24.62-.36 1.03-.36.13 0 .25.02.36.05.12.02.23.07.32.13l-.08.8c-.02.1-.08.15-.18.15l-.24-.04a1.7 1.7 0 0 0-.88.05c-.15.05-.29.14-.4.25-.12.1-.23.24-.32.4-.1.17-.18.35-.26.56V36h-1.07v-6.08h.61c.12 0 .2.02.24.07.05.04.08.12.1.23l.06.92Zm13.73-3.82L23.39 36h-1.46l-3.5-8.68h1.29a.54.54 0 0 1 .54.37l2.04 5.3a11.31 11.31 0 0 1 .37 1.21 11.65 11.65 0 0 1 .35-1.22l2.03-5.29c.03-.1.1-.18.19-.25.1-.08.21-.12.35-.12h1.3Zm2.2 2.52V36H27.6v-6.16h1.49Zm.2-1.79c0 .13-.02.25-.08.36a1 1 0 0 1-.51.5.96.96 0 0 1-.73 0 1.02 1.02 0 0 1-.5-.5.96.96 0 0 1 0-.73.93.93 0 0 1 .86-.58.9.9 0 0 1 .37.08c.12.05.22.11.3.2a.94.94 0 0 1 .3.67Zm5.72 3.1a.68.68 0 0 1-.13.13c-.04.03-.1.05-.18.05a.42.42 0 0 1-.22-.07 3.95 3.95 0 0 0-.62-.31c-.14-.05-.3-.07-.51-.07-.26 0-.5.04-.69.14-.2.1-.36.23-.49.4-.13.18-.22.4-.29.64-.06.25-.1.53-.1.85 0 .33.04.62.1.88.08.25.18.47.32.64.13.18.29.3.48.4.18.09.4.13.63.13a1.6 1.6 0 0 0 .94-.27l.26-.2a.4.4 0 0 1 .25-.09.3.3 0 0 1 .27.14l.43.54a2.76 2.76 0 0 1-1.77.96c-.22.03-.43.05-.65.05a2.57 2.57 0 0 1-1.96-.83c-.25-.28-.45-.6-.6-1-.14-.4-.21-.85-.21-1.35 0-.45.06-.87.2-1.25a2.61 2.61 0 0 1 1.51-1.67c.37-.16.8-.24 1.28-.24.46 0 .86.07 1.2.22.35.15.66.36.94.64l-.4.54Zm3.43 4.95c-.54 0-.95-.15-1.24-.45-.28-.3-.42-.73-.42-1.26v-3.44h-.63a.29.29 0 0 1-.2-.07c-.06-.06-.09-.13-.09-.24v-.59l.99-.16.31-1.68a.33.33 0 0 1 .12-.18.34.34 0 0 1 .21-.07h.77v1.94h1.64v1.05h-1.64v3.34c0 .2.05.34.14.45.1.1.22.16.39.16a.73.73 0 0 0 .39-.1l.12-.07a.2.2 0 0 1 .11-.03c.05 0 .08.01.11.03l.09.1.44.72c-.21.18-.46.32-.74.4-.28.1-.57.15-.87.15Zm5.09-6.35c.46 0 .87.07 1.24.22a2.7 2.7 0 0 1 1.58 1.63c.14.39.22.83.22 1.31 0 .49-.08.93-.22 1.32-.14.4-.35.73-.62 1-.26.28-.58.49-.96.64-.37.15-.78.22-1.24.22a3.4 3.4 0 0 1-1.25-.22 2.71 2.71 0 0 1-1.59-1.64 3.8 3.8 0 0 1-.21-1.32c0-.48.07-.92.21-1.31a2.75 2.75 0 0 1 1.58-1.63c.38-.15.8-.22 1.26-.22Zm0 5.2c.51 0 .89-.17 1.13-.52.25-.34.38-.84.38-1.5a2.6 2.6 0 0 0-.38-1.53c-.24-.34-.62-.52-1.13-.52-.52 0-.9.18-1.16.53-.25.35-.37.85-.37 1.51s.12 1.17.37 1.51c.25.35.64.52 1.16.52Zm5.56-4.04c.2-.37.42-.65.69-.86.26-.21.57-.32.94-.32.28 0 .5.06.68.19l-.1 1.1a.3.3 0 0 1-.09.16.24.24 0 0 1-.15.04 1.8 1.8 0 0 1-.27-.03 2.01 2.01 0 0 0-.34-.03c-.16 0-.3.03-.44.08a1.1 1.1 0 0 0-.34.2c-.1.1-.2.2-.27.33-.08.13-.15.27-.22.44V36H47.7v-6.16h.87c.15 0 .26.03.31.09.06.05.1.15.13.29l.09.7Zm4.62-1.07V36h-1.49v-6.16h1.49Zm.2-1.79c0 .13-.02.25-.07.36a1 1 0 0 1-.51.5.96.96 0 0 1-.74 0 1.02 1.02 0 0 1-.5-.5.96.96 0 0 1 0-.73.93.93 0 0 1 .86-.58.9.9 0 0 1 .38.08c.11.05.21.11.3.2a.94.94 0 0 1 .28.67Zm4.56 5.32a7.8 7.8 0 0 0-1.08.12c-.29.05-.52.12-.7.2a.92.92 0 0 0-.38.3.64.64 0 0 0-.11.36c0 .26.07.45.23.56.15.11.35.17.6.17.3 0 .57-.06.79-.17.22-.1.44-.28.65-.5v-1.04Zm-3.4-2.67c.71-.65 1.57-.97 2.56-.97.36 0 .68.06.97.18a1.99 1.99 0 0 1 1.16 1.24c.1.3.16.61.16.96V36h-.67a.7.7 0 0 1-.33-.06c-.07-.04-.13-.13-.18-.26l-.13-.44c-.16.14-.3.26-.46.37a2.8 2.8 0 0 1-.97.43 2.77 2.77 0 0 1-1.32-.05 1.62 1.62 0 0 1-.57-.31 1.41 1.41 0 0 1-.38-.53 1.85 1.85 0 0 1-.05-1.18c.05-.16.14-.3.25-.45.12-.14.28-.27.46-.4a3 3 0 0 1 .7-.32 9.19 9.19 0 0 1 2.2-.33v-.36c0-.41-.09-.71-.26-.91-.18-.2-.43-.3-.76-.3a1.84 1.84 0 0 0-1.02.28l-.33.18c-.1.06-.2.09-.32.09-.1 0-.2-.03-.27-.08a.72.72 0 0 1-.17-.2l-.26-.47Zm11.49 4.32V36h-4.88v-8.6h1.16v7.62h3.72Zm3.16-5.2c.44 0 .84.08 1.2.23a2.57 2.57 0 0 1 1.49 1.62c.13.38.2.81.2 1.29s-.07.91-.2 1.3a2.57 2.57 0 0 1-1.49 1.61c-.36.14-.76.21-1.2.21-.45 0-.85-.07-1.21-.21a2.57 2.57 0 0 1-1.5-1.62c-.13-.38-.2-.81-.2-1.3 0-.47.07-.9.2-1.28.14-.39.33-.72.59-1 .25-.26.55-.47.9-.62.37-.15.77-.22 1.22-.22Zm0 5.43c.6 0 1.05-.2 1.34-.6.3-.4.45-.97.45-1.69s-.15-1.28-.45-1.69c-.3-.4-.74-.6-1.34-.6-.3 0-.57.05-.8.15-.22.1-.4.26-.56.45-.15.2-.26.44-.34.73-.07.28-.1.6-.1.96 0 .72.14 1.29.44 1.69.3.4.75.6 1.36.6Zm6.33-2.22c.22 0 .4-.03.57-.09.16-.06.3-.14.41-.25.12-.11.2-.24.26-.39.05-.15.08-.31.08-.5 0-.37-.11-.66-.34-.88-.23-.22-.55-.33-.98-.33-.43 0-.76.1-.99.33-.22.22-.34.51-.34.89 0 .18.03.34.09.5a1.1 1.1 0 0 0 .67.63c.16.06.35.09.57.09Zm1.93 3.3a.51.51 0 0 0-.13-.36.84.84 0 0 0-.34-.22 8.57 8.57 0 0 0-1.73-.2 7.5 7.5 0 0 1-.62-.05c-.23.1-.41.23-.56.4a.8.8 0 0 0-.1.92c.07.12.18.22.32.3.14.1.32.16.54.21a3.5 3.5 0 0 0 1.55 0c.23-.05.42-.12.57-.22.16-.1.29-.21.37-.34a.8.8 0 0 0 .13-.44Zm1.08-6.17v.4c0 .13-.08.21-.25.25l-.69.09c.14.26.2.56.2.88a1.86 1.86 0 0 1-1.36 1.82 3.07 3.07 0 0 1-1.72.04c-.12.08-.22.16-.29.25a.44.44 0 0 0-.1.27c0 .15.06.26.17.33.12.08.28.13.47.16a5 5 0 0 0 .66.06 16.56 16.56 0 0 1 1.5.13c.26.05.48.12.67.22.19.1.34.24.46.41.12.18.18.4.18.69 0 .26-.07.5-.2.75s-.31.46-.56.65c-.24.2-.54.34-.9.46a4.57 4.57 0 0 1-2.36.04c-.33-.09-.6-.2-.82-.36a1.56 1.56 0 0 1-.5-.51c-.1-.2-.16-.4-.16-.6 0-.3.1-.56.28-.77.19-.2.45-.37.77-.5a1.15 1.15 0 0 1-.43-.32.88.88 0 0 1-.15-.54c0-.09.01-.18.04-.27.04-.1.08-.2.15-.28a1.55 1.55 0 0 1 .58-.5c-.3-.16-.53-.39-.7-.66-.17-.28-.25-.6-.25-.97 0-.3.05-.57.16-.8.12-.25.28-.46.48-.63.2-.17.45-.3.73-.4a3 3 0 0 1 2.3.21h1.64Zm4.65.76a.24.24 0 0 1-.23.14.42.42 0 0 1-.2-.07 3.59 3.59 0 0 0-.67-.3 1.8 1.8 0 0 0-1.03 0c-.14.05-.27.11-.37.2a.87.87 0 0 0-.23.27.75.75 0 0 0-.08.35c0 .15.04.28.13.39.1.1.21.19.36.27.15.07.32.14.5.2a13.63 13.63 0 0 1 1.16.4c.2.08.36.18.5.3a1.33 1.33 0 0 1 .5 1.07 2 2 0 0 1-.15.78c-.1.24-.25.44-.45.62-.2.17-.43.3-.72.4a3.1 3.1 0 0 1-2.14-.05 2.97 2.97 0 0 1-.87-.53l.25-.41c.04-.05.07-.1.12-.12a.3.3 0 0 1 .17-.04.4.4 0 0 1 .22.08l.3.19a1.91 1.91 0 0 0 1.03.27c.2 0 .38-.03.54-.08.16-.06.29-.13.4-.22a.96.96 0 0 0 .3-.7c0-.17-.05-.31-.14-.42-.09-.11-.2-.2-.36-.28a2.6 2.6 0 0 0-.5-.2l-.59-.19c-.2-.06-.39-.14-.58-.22a2.14 2.14 0 0 1-.5-.3 1.45 1.45 0 0 1-.36-.46c-.1-.19-.14-.41-.14-.67a1.6 1.6 0 0 1 .57-1.23c.18-.16.4-.3.68-.39.26-.1.57-.14.91-.14a2.84 2.84 0 0 1 1.9.7l-.23.4Z"}),Kr("defs",{children:Kr("path",{d:"M0 0h85v38H0z"})})]})},Ro=function(){return Kr("svg",{viewBox:"0 0 15 17",fill:"currentColor",children:Kr("path",{d:"M6.11767 7.47586C6.47736 7.75563 6.91931 7.90898 7.37503 7.91213H7.42681C7.90756 7.90474 8.38832 7.71987 8.67677 7.46846C10.1856 6.18921 14.5568 2.18138 14.5568 2.18138C15.7254 1.09438 12.4637 0.00739 7.42681 0H7.36764C2.3308 0.00739 -0.930935 1.09438 0.237669 2.18138C0.237669 2.18138 4.60884 6.18921 6.11767 7.47586ZM8.67677 9.64243C8.31803 9.92483 7.87599 10.0808 7.41941 10.0861H7.37503C6.91845 10.0808 6.47641 9.92483 6.11767 9.64243C5.0822 8.75513 1.38409 5.42018 0.000989555 4.14832V6.07829C0.000989555 6.29273 0.0823481 6.57372 0.222877 6.70682L0.293316 6.7712L0.293344 6.77122C1.33784 7.72579 4.83903 10.9255 6.11767 12.0161C6.47641 12.2985 6.91845 12.4545 7.37503 12.4597H7.41941C7.90756 12.4449 8.38092 12.2601 8.67677 12.0161C9.9859 10.9069 13.6249 7.57198 14.5642 6.70682C14.7121 6.57372 14.7861 6.29273 14.7861 6.07829V4.14832C12.7662 5.99804 10.7297 7.82949 8.67677 9.64243ZM7.41941 14.6263C7.87513 14.6232 8.31708 14.4698 8.67677 14.19C10.7298 12.3746 12.7663 10.5407 14.7861 8.68853V10.6259C14.7861 10.8329 14.7121 11.1139 14.5642 11.247C13.6249 12.1196 9.9859 15.4471 8.67677 16.5563C8.38092 16.8077 7.90756 16.9926 7.41941 17H7.37503C6.91931 16.9968 6.47736 16.8435 6.11767 16.5637C4.91427 15.5373 1.74219 12.6364 0.502294 11.5025C0.393358 11.4029 0.299337 11.3169 0.222877 11.247C0.0823481 11.1139 0.000989555 10.8329 0.000989555 10.6259V8.68853C1.38409 9.95303 5.0822 13.2953 6.11767 14.1827C6.47641 14.4651 6.91845 14.6211 7.37503 14.6263H7.41941Z"})})},Fo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"})})},Uo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})})},Bo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M12 5V2L8 6l4 4V7c3.31 0 6 2.69 6 6 0 2.97-2.17 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93 0-4.42-3.58-8-8-8zm-6 8c0-1.65.67-3.15 1.76-4.24L6.34 7.34C4.9 8.79 4 10.79 4 13c0 4.08 3.05 7.44 7 7.93v-2.02c-2.83-.48-5-2.94-5-5.91z"})})},Ho=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"})})},zo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"})})},Vo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"})})},Wo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})})},Yo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"})})},Zo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"m7 10 5 5 5-5z"})})},Go=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M8 5v14l11-7z"})})},qo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"m3.5 18.49 6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z"})})},Ko=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M10 10.02h5V21h-5zM17 21h3c1.1 0 2-.9 2-2v-9h-5v11zm3-18H5c-1.1 0-2 .9-2 2v3h19V5c0-1.1-.9-2-2-2zM3 19c0 1.1.9 2 2 2h3V10H3v9z"})})},Jo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"})})},Qo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M8.9999 14.7854L18.8928 4.8925C19.0803 4.70497 19.3347 4.59961 19.5999 4.59961C19.8651 4.59961 20.1195 4.70497 20.307 4.8925L21.707 6.2925C22.0975 6.68303 22.0975 7.31619 21.707 7.70672L9.70701 19.7067C9.31648 20.0972 8.68332 20.0972 8.2928 19.7067L2.6928 14.1067C2.50526 13.9192 2.3999 13.6648 2.3999 13.3996C2.3999 13.1344 2.50526 12.88 2.6928 12.6925L4.0928 11.2925C4.48332 10.902 5.11648 10.902 5.50701 11.2925L8.9999 14.7854Z"})})},Xo=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"})})},ei=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M20 9H4v2h16V9zM4 15h16v-2H4v2z"})})},ti=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:[Kr("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 5C19.89 4.65 18.67 4.5 17.5 4.5C15.55 4.5 13.45 4.9 12 6C10.55 4.9 8.45 4.5 6.5 4.5C5.33 4.5 4.11 4.65 3 5C2.25 5.25 1.6 5.55 1 6V20.6C1 20.85 1.25 21.1 1.5 21.1C1.6 21.1 1.65 21.1 1.75 21.05C3.15 20.3 4.85 20 6.5 20C8.2 20 10.65 20.65 12 21.5C13.35 20.65 15.8 20 17.5 20C19.15 20 20.85 20.3 22.25 21.05C22.35 21.1 22.4 21.1 22.5 21.1C22.75 21.1 23 20.85 23 20.6V6C22.4 5.55 21.75 5.25 21 5ZM21 18.5C19.9 18.15 18.7 18 17.5 18C15.8 18 13.35 18.65 12 19.5C10.65 18.65 8.2 18 6.5 18C5.3 18 4.1 18.15 3 18.5V7C4.1 6.65 5.3 6.5 6.5 6.5C8.2 6.5 10.65 7.15 12 8C13.35 7.15 15.8 6.5 17.5 6.5C18.7 6.5 19.9 6.65 21 7V18.5Z"}),Kr("path",{d:"M17.5 10.5C18.38 10.5 19.23 10.59 20 10.76V9.24C19.21 9.09 18.36 9 17.5 9C15.8 9 14.26 9.29 13 9.83V11.49C14.13 10.85 15.7 10.5 17.5 10.5ZM13 12.49V14.15C14.13 13.51 15.7 13.16 17.5 13.16C18.38 13.16 19.23 13.25 20 13.42V11.9C19.21 11.75 18.36 11.66 17.5 11.66C15.8 11.66 14.26 11.96 13 12.49ZM17.5 14.33C15.8 14.33 14.26 14.62 13 15.16V16.82C14.13 16.18 15.7 15.83 17.5 15.83C18.38 15.83 19.23 15.92 20 16.09V14.57C19.21 14.41 18.36 14.33 17.5 14.33Z"}),Kr("path",{d:"M6.5 10.5C5.62 10.5 4.77 10.59 4 10.76V9.24C4.79 9.09 5.64 9 6.5 9C8.2 9 9.74 9.29 11 9.83V11.49C9.87 10.85 8.3 10.5 6.5 10.5ZM11 12.49V14.15C9.87 13.51 8.3 13.16 6.5 13.16C5.62 13.16 4.77 13.25 4 13.42V11.9C4.79 11.75 5.64 11.66 6.5 11.66C8.2 11.66 9.74 11.96 11 12.49ZM6.5 14.33C8.2 14.33 9.74 14.62 11 15.16V16.82C9.87 16.18 8.3 15.83 6.5 15.83C5.62 15.83 4.77 15.92 4 16.09V14.57C4.79 14.41 5.64 14.33 6.5 14.33Z"})]})},ni=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3-8c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3 3 1.34 3 3z"})})},ri=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})})},oi=function(){return Kr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Kr("path",{d:"M3 14h4v-4H3v4zm0 5h4v-4H3v4zM3 9h4V5H3v4zm5 5h13v-4H8v4zm0 5h13v-4H8v4zM8 5v4h13V5H8z"})})},ii=n(123),ai=n.n(ii);function ci(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var li=["to","isNavLink","children"],ui=function(e){var t=e.to,n=e.isNavLink,r=e.children,o=ci(e,li);return n?Kr(wr,Cr(Cr({to:t},o),{},{children:r})):Kr("div",Cr(Cr({},o),{},{children:r}))},si=function(e){var t,n=e.activeItem,r=e.item,o=e.color,i=void 0===o?zr("color-primary"):o,a=e.activeNavRef,c=e.onChange,l=e.isNavLink;return Kr(ui,{className:ai()(Er({"vm-tabs-item":!0,"vm-tabs-item_active":n===r.value},r.className||"",r.className)),isNavLink:l,to:r.value,style:{color:i},onClick:(t=r.value,function(){c&&c(t)}),ref:n===r.value?a:void 0,children:[r.icon&&Kr("div",{className:ai()({"vm-tabs-item__icon":!0,"vm-tabs-item__icon_single":!r.label}),children:r.icon}),r.label]})},fi="undefined"!==typeof window?ae:ie;var di=function(e,t,n,r){var o=ce(t);fi((function(){o.current=t}),[t]),ie((function(){var t,i=null!==(t=null===n||void 0===n?void 0:n.current)&&void 0!==t?t:window;if(i&&i.addEventListener){var a=function(e){return o.current(e)};return i.addEventListener(e,a,r),function(){i.removeEventListener(e,a,r)}}}),[e,n,r])},pi=function(){var e=$t(re({width:0,height:0}),2),t=e[0],n=e[1],r=function(){n({width:window.innerWidth,height:window.innerHeight})};return di("resize",r),fi(r,[]),t},hi=function(e){var t=e.activeItem,n=e.items,r=e.color,o=void 0===r?zr("color-primary"):r,i=e.onChange,a=e.indicatorPlacement,c=void 0===a?"bottom":a,l=e.isNavLink,u=pi(),s=ce(null),f=$t(re({left:0,width:0,bottom:0}),2),d=f[0],p=f[1];return ie((function(){var e;if((null===(e=s.current)||void 0===e?void 0:e.base)instanceof HTMLElement){var t=s.current.base,n=t.offsetLeft,r=t.offsetWidth,o=t.offsetHeight;p({left:n,width:r,bottom:"top"===c?o-2:0})}}),[u,t,s,n]),Kr("div",{className:"vm-tabs",children:[n.map((function(e){return Kr(si,{activeItem:t,item:e,onChange:i,color:o,activeNavRef:s,isNavLink:l},e.value)})),Kr("div",{className:"vm-tabs__indicator",style:Cr(Cr({},d),{},{borderColor:o})})]})},vi=[{value:"chart",icon:Kr(qo,{}),label:"Graph",prometheusCode:0},{value:"code",icon:Kr(Jo,{}),label:"JSON",prometheusCode:3},{value:"table",icon:Kr(Ko,{}),label:"Table",prometheusCode:1}],mi=Ir("g0.tab",0),yi=vi.find((function(e){return e.prometheusCode===+mi||e.value===mi})),_i=Fr("SERIES_LIMITS"),gi={displayType:(null===yi||void 0===yi?void 0:yi.value)||"chart",nocache:!1,isTracingEnabled:!1,seriesLimits:_i?JSON.parse(Fr("SERIES_LIMITS")):$r,tableCompact:Fr("TABLE_COMPACT")||!1};function bi(e,t){switch(t.type){case"SET_DISPLAY_TYPE":return Cr(Cr({},e),{},{displayType:t.payload});case"SET_SERIES_LIMITS":return Rr("SERIES_LIMITS",JSON.stringify(t.payload)),Cr(Cr({},e),{},{seriesLimits:t.payload});case"TOGGLE_QUERY_TRACING":return Cr(Cr({},e),{},{isTracingEnabled:!e.isTracingEnabled});case"TOGGLE_NO_CACHE":return Cr(Cr({},e),{},{nocache:!e.nocache});case"TOGGLE_TABLE_COMPACT":return Rr("TABLE_COMPACT",!e.tableCompact),Cr(Cr({},e),{},{tableCompact:!e.tableCompact});default:throw new Error}}var wi=z({}),Ai={customStep:Ir("g0.step_input",""),yaxis:{limits:{enable:!1,range:{1:[0,0]}}},isHistogram:!1};function Si(e,t){switch(t.type){case"TOGGLE_ENABLE_YAXIS_LIMITS":return Cr(Cr({},e),{},{yaxis:Cr(Cr({},e.yaxis),{},{limits:Cr(Cr({},e.yaxis.limits),{},{enable:!e.yaxis.limits.enable})})});case"SET_CUSTOM_STEP":return Cr(Cr({},e),{},{customStep:t.payload});case"SET_YAXIS_LIMITS":return Cr(Cr({},e),{},{yaxis:Cr(Cr({},e.yaxis),{},{limits:Cr(Cr({},e.yaxis.limits),{},{range:t.payload})})});case"SET_IS_HISTOGRAM":return Cr(Cr({},e),{},{isHistogram:t.payload});default:throw new Error}}var xi=z({}),Ei={windows:"Windows",mac:"Mac OS",linux:"Linux"},ki=function(){return(Object.values(Ei).find((function(e){return navigator.userAgent.indexOf(e)>=0}))||"unknown")===Ei.mac};function Ci(){var e=pi(),t=function(){var e=function(){var e=["Android","webOS","iPhone","iPad","iPod","BlackBerry","Windows Phone"].map((function(e){return navigator.userAgent.match(new RegExp(e,"i"))}));return e.some((function(e){return e}))}(),t=window.innerWidth<500;return e||t},n=$t(re(t()),2),r=n[0],o=n[1];return ie((function(){o(t())}),[e]),{isMobile:r}}var Oi={success:Kr(Wo,{}),error:Kr(Vo,{}),warning:Kr(zo,{}),info:Kr(Ho,{})},Ni=function(e){var t,n=e.variant,r=e.children,o=Qr().isDarkTheme,i=Ci().isMobile;return Kr("div",{className:ai()((t={"vm-alert":!0},Er(t,"vm-alert_".concat(n),n),Er(t,"vm-alert_dark",o),Er(t,"vm-alert_mobile",i),t)),children:[Kr("div",{className:"vm-alert__icon",children:Oi[n||"info"]}),Kr("div",{className:"vm-alert__content",children:r})]})},Mi=z({showInfoMessage:function(){}}),Pi={dashboardsSettings:[],dashboardsLoading:!1,dashboardsError:""};function Ti(e,t){switch(t.type){case"SET_DASHBOARDS_SETTINGS":return Cr(Cr({},e),{},{dashboardsSettings:t.payload});case"SET_DASHBOARDS_LOADING":return Cr(Cr({},e),{},{dashboardsLoading:t.payload});case"SET_DASHBOARDS_ERROR":return Cr(Cr({},e),{},{dashboardsError:t.payload});default:throw new Error}}var ji=z({}),Li=function(){for(var e=arguments.length,t=new Array(e),n=0;n=128?"#000000":"#FFFFFF"}(zr("color-".concat(e)));Vr("".concat(e,"-text"),r),t===Ri.length-1&&(l({type:"SET_DARK_THEME"}),n(!0))}))},v=function(){var e=Fr("THEME")||Hr.system,t=f[e];Object.entries(t).forEach((function(e){var t=$t(e,2),n=t[0],r=t[1];Vr(n,r)})),h(),r&&(Ri.forEach((function(e){var t=i[e];t&&Vr("color-".concat(e),t)})),h())};return ie((function(){p(),v()}),[f]),ie(p,[u]),ie((function(){var e=Wr()?Di:$i;f[Hr.system]!==e?d((function(t){return Cr(Cr({},t),{},Er({},Hr.system,e))})):v()}),[a,c]),ie((function(){r&&l({type:"SET_THEME",payload:Hr.light})}),[]),null};function Ui(){Ui=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(O){l=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var i=t&&t.prototype instanceof d?t:d,a=Object.create(i.prototype),c=new E(o||[]);return r(a,"_invoke",{value:w(e,n,c)}),a}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(O){return{type:"throw",arg:O}}}e.wrap=u;var f={};function d(){}function p(){}function h(){}var v={};l(v,i,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(k([])));y&&y!==t&&n.call(y,i)&&(v=y);var _=h.prototype=d.prototype=Object.create(v);function g(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function o(r,i,a,c){var l=s(e[r],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==Bt(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,c)}),(function(e){o("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,c)}))}c(l.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function w(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=A(a,n);if(c){if(c===f)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function A(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,A(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=s(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function k(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function Bi(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(u){return void n(u)}c.done?t(l):Promise.resolve(l).then(r,o)}function Hi(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Bi(i,r,o,a,c,"next",e)}function c(e){Bi(i,r,o,a,c,"throw",e)}a(void 0)}))}}var zi=function(){var e=fe(Mi).showInfoMessage;return function(){var t=Hi(Ui().mark((function t(n,r){var o;return Ui().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==(o=navigator)&&void 0!==o&&o.clipboard){t.next=4;break}return e({text:"Clipboard not supported",type:"error"}),console.warn("Clipboard not supported"),t.abrupt("return",!1);case 4:return t.prev=4,t.next=7,navigator.clipboard.writeText(n);case 7:return r&&e({text:r,type:"success"}),t.abrupt("return",!0);case 11:return t.prev=11,t.t0=t.catch(4),t.t0 instanceof Error&&e({text:"".concat(t.t0.name,": ").concat(t.t0.message),type:"error"}),console.warn("Copy failed",t.t0),t.abrupt("return",!1);case 16:case"end":return t.stop()}}),t,null,[[4,11]])})));return function(e,n){return t.apply(this,arguments)}}()},Vi=function(e){var t,n=e.variant,r=void 0===n?"contained":n,o=e.color,i=void 0===o?"primary":o,a=e.size,c=void 0===a?"medium":a,l=e.children,u=e.endIcon,s=e.startIcon,f=e.fullWidth,d=void 0!==f&&f,p=e.className,h=e.disabled,v=e.onClick,m=e.onMouseDown;return Kr("button",{className:ai()((Er(t={"vm-button":!0},"vm-button_".concat(r,"_").concat(i),!0),Er(t,"vm-button_".concat(c),c),Er(t,"vm-button_icon",(s||u)&&!l),Er(t,"vm-button_full-width",d),Er(t,"vm-button_with-icon",s||u),Er(t,"vm-button_disabled",h),Er(t,p||"",p),t)),disabled:h,onClick:v,onMouseDown:m,children:Kr(g,{children:[s&&Kr("span",{className:"vm-button__start-icon",children:s}),l&&Kr("span",{children:l}),u&&Kr("span",{className:"vm-button__end-icon",children:u})]})})},Wi=function(e){var t=e.data,n=zi(),r=ue((function(){return JSON.stringify(t,null,2)}),[t]),o=function(){var e=Hi(Ui().mark((function e(){return Ui().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n(r,"Formatted JSON has been copied");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Kr("div",{className:"vm-json-view",children:[Kr("div",{className:"vm-json-view__copy",children:Kr(Vi,{variant:"outlined",onClick:o,children:"Copy JSON"})}),Kr("pre",{className:"vm-json-view__code",children:Kr("code",{children:r})})]})},Yi=function(e){var t=e.children,n=e.title,r=e.open,o=e.placement,i=void 0===o?"bottom-center":o,a=e.offset,c=void 0===a?{top:6,left:0}:a,l=Ci().isMobile,u=$t(re(!1),2),s=u[0],f=u[1],d=$t(re({width:0,height:0}),2),p=d[0],h=d[1],v=ce(null),m=ce(null),y=function(){return f(!1)};ie((function(){if(m.current&&s)return h({width:m.current.clientWidth,height:m.current.clientHeight}),window.addEventListener("scroll",y),function(){window.removeEventListener("scroll",y)}}),[s]);var _=ue((function(){var e,t=null===v||void 0===v||null===(e=v.current)||void 0===e?void 0:e.base;if(!t||!s)return{};var n=t.getBoundingClientRect(),r={top:0,left:0},o="bottom-right"===i||"top-right"===i,a="bottom-left"===i||"top-left"===i,l=null===i||void 0===i?void 0:i.includes("top"),u=(null===c||void 0===c?void 0:c.top)||0,f=(null===c||void 0===c?void 0:c.left)||0;r.left=n.left-(p.width-n.width)/2+f,r.top=n.height+n.top+u,o&&(r.left=n.right-p.width),a&&(r.left=n.left+f),l&&(r.top=n.top-p.height-u);var d=window,h=d.innerWidth,m=d.innerHeight,y=r.top+p.height+20>m,_=r.top-20<0,g=r.left+p.width+20>h,b=r.left-20<0;return y&&(r.top=n.top-p.height-u),_&&(r.top=n.height+n.top+u),g&&(r.left=n.right-p.width-f),b&&(r.left=n.left+f),r.top<0&&(r.top=20),r.left<0&&(r.left=20),r}),[v,i,s,p]),b=function(){"boolean"!==typeof r&&f(!0)},w=function(){f(!1)};return ie((function(){"boolean"===typeof r&&f(r)}),[r]),ie((function(){var e,t=null===v||void 0===v||null===(e=v.current)||void 0===e?void 0:e.base;if(t)return t.addEventListener("mouseenter",b),t.addEventListener("mouseleave",w),function(){t.removeEventListener("mouseenter",b),t.removeEventListener("mouseleave",w)}}),[v]),Kr(g,{children:[Kr(g,{ref:v,children:t}),!l&&s&&St.createPortal(Kr("div",{className:"vm-tooltip",ref:m,style:_,children:n}),document.body)]})},Zi=function(e){var t=$t(re(!!e),2),n=t[0],r=t[1],o=se((function(){return r(!0)}),[]),i=se((function(){return r(!1)}),[]),a=se((function(){return r((function(e){return!e}))}),[]);return{value:n,setValue:r,setTrue:o,setFalse:i,toggle:a}},Gi=function(e,t,n){var r=se((function(r){var o=null===e||void 0===e?void 0:e.current,i=r.target,a=(null===n||void 0===n?void 0:n.current)&&n.current.contains(i);!o||o.contains((null===r||void 0===r?void 0:r.target)||null)||a||t(r)}),[e,t]);di("mousedown",r),di("touchstart",r)},qi=function(e){var t=e.children,n=e.buttonRef,r=e.placement,o=void 0===r?"bottom-left":r,i=e.open,a=void 0!==i&&i,c=e.onClose,l=e.offset,u=void 0===l?{top:6,left:0}:l,s=e.clickOutside,f=void 0===s||s,d=e.fullWidth,p=e.title,h=e.disabledFullScreen,v=Ci().isMobile,m=Wn(),y=zn(),_=$t(re({width:0,height:0}),2),b=_[0],w=_[1],A=Zi(!1),S=A.value,x=A.setValue,E=A.setFalse,k=ce(null);ie((function(){x(a)}),[a]),ie((function(){return!S&&c&&c(),S&&v&&!h&&(document.body.style.overflow="hidden"),function(){document.body.style.overflow="auto"}}),[S]),ie((function(){var e,t;w({width:(null===k||void 0===k||null===(e=k.current)||void 0===e?void 0:e.clientWidth)||0,height:(null===k||void 0===k||null===(t=k.current)||void 0===t?void 0:t.clientHeight)||0}),x(!1)}),[k]);var C=ue((function(){var e=n.current;if(!e||!S)return{};var t=e.getBoundingClientRect(),r={top:0,left:0,width:"auto"},i="bottom-right"===o||"top-right"===o,a=null===o||void 0===o?void 0:o.includes("top"),c=(null===u||void 0===u?void 0:u.top)||0,l=(null===u||void 0===u?void 0:u.left)||0;r.left=r.left=t.left+l,r.top=t.height+t.top+c,i&&(r.left=t.right-b.width),a&&(r.top=t.top-b.height-c);var s=window,f=s.innerWidth,p=s.innerHeight,h=r.top+b.height+20>p,v=r.top-20<0,m=r.left+b.width+20>f,y=r.left-20<0;return h&&(r.top=t.top-b.height-c),v&&(r.top=t.height+t.top+c),m&&(r.left=t.right-b.width-l),y&&(r.left=t.left+l),d&&(r.width="".concat(t.width,"px")),r.top<0&&(r.top=20),r}),[n,o,S,t,d]);f&&Gi(k,(function(){return x(!1)}),n),ie((function(){if(k.current&&S&&(!v||h)){var e=k.current.getBoundingClientRect(),t=e.right,n=e.width;if(t>window.innerWidth){var r=window.innerWidth-20-n;k.current.style.left=re[n]?1:0}var ia=function(e){var t=e.rows,n=e.columns,r=e.defaultOrderBy,o=e.copyToClipboard,i=e.paginationOffset,a=$t(re(r),2),c=a[0],l=a[1],u=$t(re("desc"),2),s=u[0],f=u[1],d=$t(re(null),2),p=d[0],h=d[1],v=ue((function(){var e=i.startIndex,n=i.endIndex;return function(e,t){var n=e.map((function(e,t){return[e,t]}));return n.sort((function(e,n){var r=t(e[0],n[0]);return 0!==r?r:e[1]-n[1]})),n.map((function(e){return e[0]}))}(t,function(e,t){return"desc"===e?function(e,n){return oa(e,n,t)}:function(e,n){return-oa(e,n,t)}}(s,c)).slice(e,n)}),[t,c,s,i]),m=function(e,t){return Hi(Ui().mark((function n(){return Ui().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(p!==t){n.next=2;break}return n.abrupt("return");case 2:return n.prev=2,n.next=5,navigator.clipboard.writeText(String(e));case 5:h(t),n.next=11;break;case 8:n.prev=8,n.t0=n.catch(2),console.error(n.t0);case 11:case"end":return n.stop()}}),n,null,[[2,8]])})))};return ie((function(){if(null!==p){var e=setTimeout((function(){return h(null)}),2e3);return function(){return clearTimeout(e)}}}),[p]),Kr("table",{className:"vm-table",children:[Kr("thead",{className:"vm-table-header",children:Kr("tr",{className:"vm-table__row vm-table__row_header",children:[n.map((function(e){return Kr("th",{className:"vm-table-cell vm-table-cell_header vm-table-cell_sort",onClick:(t=e.key,function(){f((function(e){return"asc"===e&&c===t?"desc":"asc"})),l(t)}),children:Kr("div",{className:"vm-table-cell__content",children:[Kr("div",{children:String(e.title||e.key)}),Kr("div",{className:ai()({"vm-table__sort-icon":!0,"vm-table__sort-icon_active":c===e.key,"vm-table__sort-icon_desc":"desc"===s&&c===e.key}),children:Kr(Zo,{})})]})},String(e.key));var t})),o&&Kr("th",{className:"vm-table-cell vm-table-cell_header"})]})}),Kr("tbody",{className:"vm-table-body",children:v.map((function(e,t){return Kr("tr",{className:"vm-table__row",children:[n.map((function(t){return Kr("td",{className:ai()(Er({"vm-table-cell":!0},"".concat(t.className),t.className)),children:e[t.key]||"-"},String(t.key))})),o&&Kr("td",{className:"vm-table-cell vm-table-cell_right",children:e[o]&&Kr("div",{className:"vm-table-cell__content",children:Kr(Yi,{title:p===t?"Copied":"Copy row",children:Kr(Vi,{variant:"text",color:p===t?"success":"gray",size:"small",startIcon:Kr(p===t?Qo:Xo,{}),onClick:m(e[o],t)})})})})]},t)}))})]})},aa=function(e){var t=e.page,n=e.length,r=e.limit,o=e.onChange,i=Ci().isMobile,a=function(e){return function(){o(+t+e),window.scrollTo(0,0)}};return Kr("div",{className:ai()({"vm-pagination":!0,"vm-pagination_mobile":i}),children:[t>1&&Kr(Vi,{variant:"text",onClick:a(-1),startIcon:Kr("div",{className:"vm-pagination__icon vm-pagination__icon_prev",children:Kr(Yo,{})}),children:"Previous"}),n>=r&&Kr(Vi,{variant:"text",onClick:a(1),endIcon:Kr("div",{className:"vm-pagination__icon vm-pagination__icon_next",children:Kr(Yo,{})}),children:"Next"})]})},ca=function(e){var t=e.logs,n=e.limitRows,r=e.displayColumns,o=e.tableCompact,i=e.columns,a=Xi().setSearchParamsFromKeys,c=$t(Qi(1,"page"),2),l=c[0],u=c[1],s=function(e){switch(e){case"time":return"vm-table-cell_logs-time";case"data":return"vm-table-cell_logs vm-table-cell_pre";default:return"vm-table-cell_logs"}},f=ue((function(){var e=(l-1)*Number(n);return{startIndex:e,endIndex:e+Number(n)}}),[l,n]),d=ue((function(){return o?[{key:"data",title:"Data",className:s("data")}]:i.map((function(e){return{key:e,title:e,className:s(e)}}))}),[o,i]),p=ue((function(){return null===r||void 0===r||!r.length||o?d:d.filter((function(e){return r.includes(e.key)}))}),[d,r,o]);return Kr(g,{children:[Kr(ia,{rows:t,columns:p,defaultOrderBy:"time",copyToClipboard:"data",paginationOffset:f}),Kr(aa,{page:l,limit:+n,length:t.slice(f.startIndex,f.endIndex).length,onChange:function(e){u(e),a({page:e})}})]})},la=function(e){var t=e.defaultExpanded,n=void 0!==t&&t,r=e.onChange,o=e.title,i=e.children,a=$t(re(n),2),c=a[0],l=a[1];return ie((function(){r&&r(c)}),[c]),Kr(g,{children:[Kr("header",{className:"vm-accordion-header ".concat(c&&"vm-accordion-header_open"),onClick:function(){l((function(e){return!e}))},children:[o,Kr("div",{className:"vm-accordion-header__arrow ".concat(c&&"vm-accordion-header__arrow_open"),children:Kr(Yo,{})})]}),c&&Kr("section",{className:"vm-accordion-section",children:i},"content")]})},ua=function(e){var t=e.logs,n=e.columns,r=ue((function(){var e=["_msg","time","data","_time"],r=n.filter((function(t){return!e.includes(t)}));return function(e,t){var n=e.reduce((function(e,n){var r=t.map((function(e){return"".concat(e,": ").concat(n[e]||"-")})).join("|");return(e[r]=e[r]||[]).push(n),e}),{});return Object.entries(n).map((function(e){var t=$t(e,2),n=t[0],r=t[1];return{keys:n.split("|"),values:r}}))}(t,r)}),[t]);return Kr("div",{className:"vm-explore-logs-body-content",children:r.map((function(e){return Kr("div",{className:"vm-explore-logs-body-content-group",children:Kr(la,{defaultExpanded:!0,title:Kr("div",{className:"vm-explore-logs-body-content-group-keys",children:[Kr("span",{className:"vm-explore-logs-body-content-group-keys__title",children:"Group by:"}),e.keys.map((function(e){return Kr("div",{className:"vm-explore-logs-body-content-group-keys__key",children:e},e)}))]}),children:Kr("div",{className:"vm-explore-logs-body-content-group-rows",children:e.values.map((function(e){return Kr("div",{className:"vm-explore-logs-body-content-group-rows-item",children:[Kr("div",{className:"vm-explore-logs-body-content-group-rows-item__time",children:e.time}),Kr("div",{className:"vm-explore-logs-body-content-group-rows-item__msg",children:e._msg})]},"".concat(e._msg).concat(e._time))}))})})},e.keys.join(""))}))})},sa=function(e){return e.group="group",e.table="table",e.json="json",e}(sa||{}),fa=[{label:"Group",value:sa.group,icon:Kr(oi,{})},{label:"Table",value:sa.table,icon:Kr(Ko,{})},{label:"JSON",value:sa.json,icon:Kr(Jo,{})}],da=function(e){var t=e.data,n=Ci().isMobile,r=Po().timezone,o=Xi().setSearchParamsFromKeys,i=$t(Qi(Fr("LOGS_LIMIT")||50,"limit"),2),a=i[0],c=i[1],l=$t(Qi(sa.group,"view"),2),u=l[0],s=l[1],f=$t(re([]),2),d=f[0],p=f[1],h=Zi(!1),v=h.value,m=h.toggle,y=ue((function(){return t.map((function(e){return Cr({time:Et()(e._time).tz().format("MMM DD, YYYY \nHH:mm:ss.SSS"),data:JSON.stringify(e,null,2)},e)}))}),[t,r]),_=ue((function(){if(null===y||void 0===y||!y.length)return[];var e,t=["data","_time"],n=new Set,r=It(y);try{for(r.s();!(e=r.n()).done;){var o=e.value;for(var i in o)n.add(i)}}catch(a){r.e(a)}finally{r.f()}return Array.from(n).filter((function(e){return!t.includes(e)}))}),[y]);return Kr("div",{className:ai()({"vm-explore-logs-body":!0,"vm-block":!0,"vm-block_mobile":n}),children:[Kr("div",{className:ai()({"vm-explore-logs-body-header":!0,"vm-section-header":!0,"vm-explore-logs-body-header_mobile":n}),children:[Kr("div",{className:"vm-section-header__tabs",children:Kr(hi,{activeItem:String(u),items:fa,onChange:function(e){s(e),o({view:e})}})}),u===sa.table&&Kr("div",{className:"vm-explore-logs-body-header__settings",children:[Kr(Ji,{limit:+a,onChange:function(e){c(e),o({limit:e}),Rr("LOGS_LIMIT","".concat(e))}}),Kr(ra,{columns:_,defaultColumns:d,onChangeColumns:p,tableCompact:v,toggleTableCompact:m})]})]}),Kr("div",{className:ai()({"vm-explore-logs-body__table":!0,"vm-explore-logs-body__table_mobile":n}),children:!!t.length&&Kr(g,{children:[u===sa.table&&Kr(ca,{logs:y,limitRows:+a,displayColumns:d,tableCompact:v,columns:_}),u===sa.group&&Kr(ua,{logs:y,columns:_}),u===sa.json&&Kr(Wi,{data:t})]})})]})},pa=1e3,ha=function(e){var t=e.containerStyles,n=void 0===t?{}:t,r=e.message,o=Qr().isDarkTheme;return Kr("div",{className:ai()({"vm-spinner":!0,"vm-spinner_dark":o}),style:n&&{},children:[Kr("div",{className:"half-circle-spinner",children:[Kr("div",{className:"circle circle-1"}),Kr("div",{className:"circle circle-2"})]}),r&&Kr("div",{className:"vm-spinner__message",children:r})]})},va=function(e){var t=e.label,n=e.value,r=e.type,o=void 0===r?"text":r,i=e.error,a=void 0===i?"":i,c=e.placeholder,l=e.endIcon,u=e.startIcon,s=e.disabled,f=void 0!==s&&s,d=e.autofocus,p=void 0!==d&&d,h=e.helperText,v=e.inputmode,m=void 0===v?"text":v,y=e.onChange,_=e.onEnter,g=e.onKeyDown,b=e.onFocus,w=e.onBlur,A=Qr().isDarkTheme,S=Ci().isMobile,x=ce(null),E=ce(null),k=ue((function(){return"textarea"===o?E:x}),[o]),C=ai()({"vm-text-field__input":!0,"vm-text-field__input_error":a,"vm-text-field__input_icon-start":u,"vm-text-field__input_disabled":f,"vm-text-field__input_textarea":"textarea"===o}),O=function(e){g&&g(e);var t=e.key,n=e.ctrlKey,r=e.metaKey,i="Enter"===t;("textarea"!==o?i:i&&(r||n))&&_&&(e.preventDefault(),_())},N=function(e){f||y&&y(e.target.value)};ie((function(){var e;p&&!S&&(null===k||void 0===k||null===(e=k.current)||void 0===e?void 0:e.focus)&&k.current.focus()}),[k,p]);var M=function(){b&&b()},P=function(){w&&w()};return Kr("label",{className:ai()({"vm-text-field":!0,"vm-text-field_textarea":"textarea"===o,"vm-text-field_dark":A}),"data-replicated-value":n,children:[u&&Kr("div",{className:"vm-text-field__icon-start",children:u}),l&&Kr("div",{className:"vm-text-field__icon-end",children:l}),"textarea"===o?Kr("textarea",{className:C,disabled:f,ref:E,value:n,rows:1,inputMode:m,placeholder:c,autoCapitalize:"none",onInput:N,onKeyDown:O,onFocus:M,onBlur:P}):Kr("input",{className:C,disabled:f,ref:x,value:n,type:o,placeholder:c,inputMode:m,autoCapitalize:"none",onInput:N,onKeyDown:O,onFocus:M,onBlur:P}),t&&Kr("span",{className:"vm-text-field__label",children:t}),Kr("span",{className:"vm-text-field__error","data-show":!!a,children:a}),h&&!a&&Kr("span",{className:"vm-text-field__helper-text",children:h})]})},ma=function(e){var t=e.value,n=e.options,r=e.anchor,o=e.disabled,i=e.maxWords,a=void 0===i?1:i,c=e.minLength,l=void 0===c?2:c,s=e.fullWidth,f=e.selected,d=e.noOptionsText,p=e.label,h=e.disabledFullScreen,v=e.onSelect,m=e.onOpenAutocomplete,y=e.onFoundOptions,_=Ci().isMobile,g=ce(null),b=$t(re(-1),2),w=b[0],A=b[1],S=Zi(!1),x=S.value,E=S.setValue,k=S.setFalse,C=ue((function(){if(!x)return[];try{var e=new RegExp(String(t),"i");return n.filter((function(n){return e.test(n)&&n!==t})).sort((function(t,n){var r,o;return((null===(r=t.match(e))||void 0===r?void 0:r.index)||0)-((null===(o=n.match(e))||void 0===o?void 0:o.index)||0)}))}catch(u){return[]}}),[x,n,t]),O=ue((function(){return d&&!C.length}),[d,C]),N=se((function(e){var t=e.key,n=e.ctrlKey,r=e.metaKey,o=e.shiftKey,i=n||r||o,a=C.length;if("ArrowUp"===t&&!i&&a&&(e.preventDefault(),A((function(e){return e<=0?0:e-1}))),"ArrowDown"===t&&!i&&a){e.preventDefault();var c=C.length-1;A((function(e){return e>=c?c:e+1}))}if("Enter"===t){var l=C[w];l&&v(l),f||k()}"Escape"===t&&k()}),[w,C,k,v,f]);return ie((function(){var e=(t.match(/[a-zA-Z_:.][a-zA-Z0-9_:.]*/gm)||[]).length;E(t.length>l&&e<=a)}),[t]),di("keydown",N),ie((function(){if(g.current){var e=g.current.childNodes[w];null!==e&&void 0!==e&&e.scrollIntoView&&e.scrollIntoView({block:"center"})}}),[w,C]),ie((function(){A(-1)}),[C]),ie((function(){m&&m(x)}),[x]),ie((function(){y&&y(C)}),[C]),Kr(qi,{open:x,buttonRef:r,placement:"bottom-left",onClose:k,fullWidth:s,title:_?p:void 0,disabledFullScreen:h,children:Kr("div",{className:ai()({"vm-autocomplete":!0,"vm-autocomplete_mobile":_&&!h}),ref:g,children:[O&&Kr("div",{className:"vm-autocomplete__no-options",children:d}),C.map((function(e,t){return Kr("div",{className:ai()({"vm-list-item":!0,"vm-list-item_mobile":_,"vm-list-item_active":t===w,"vm-list-item_multiselect":f,"vm-list-item_multiselect_selected":null===f||void 0===f?void 0:f.includes(e)}),id:"$autocomplete$".concat(e),onClick:(n=e,function(){o||(v(n),f||k())}),children:[(null===f||void 0===f?void 0:f.includes(e))&&Kr(Qo,{}),Kr("span",{children:e})]},e);var n}))]})})},ya=function(e){var t=e.value,n=e.onChange,r=e.onEnter,o=e.onArrowUp,i=e.onArrowDown,a=e.autocomplete,c=e.error,l=e.stats,u=e.options,s=e.label,f=e.disabled,d=void 0!==f&&f,p=$t(re(!1),2),h=p[0],v=p[1],m=ce(null),y="0"===(null===l||void 0===l?void 0:l.seriesFetched)&&!l.resultLength;return Kr("div",{className:"vm-query-editor",ref:m,children:[Kr(va,{value:t,label:s,type:"textarea",autofocus:!!t,error:c,onKeyDown:function(e){var t=e.key,n=e.ctrlKey,a=e.metaKey,c=e.shiftKey,l=(e.target.value||"").split("\n").length>1,u=n||a,s="ArrowDown"===t,f="Enter"===t;"ArrowUp"===t&&u&&(e.preventDefault(),o()),s&&u&&(e.preventDefault(),i()),f&&h&&e.preventDefault(),!f||c||l&&!u||h||(e.preventDefault(),r())},onChange:n,disabled:d,inputmode:"search"}),a&&Kr(ma,{disabledFullScreen:!0,value:t,options:u,anchor:m,onSelect:function(e){n(e)},onFoundOptions:function(e){v(!!e.length)}}),y&&Kr("div",{className:"vm-query-editor-warning",children:Kr(Yi,{placement:"bottom-right",title:Kr("span",{className:"vm-query-editor-warning__tooltip",children:"No match! \n This query hasn't selected any time series from database.\n Either the requested metrics are missing in the database, \n or there is a typo in series selector."}),children:Kr(zo,{})})})]})},_a=function(e){var t=e.query,n=e.onChange,r=e.onRun,o=Ci().isMobile;return Kr("div",{className:ai()({"vm-explore-logs-header":!0,"vm-block":!0,"vm-block_mobile":o}),children:[Kr("div",{className:"vm-explore-logs-header__input",children:Kr(ya,{value:t,autocomplete:!1,options:[],onArrowUp:function(){return null},onArrowDown:function(){return null},onEnter:r,onChange:n,label:"Log query"})}),Kr("div",{className:"vm-explore-logs-header-bottom",children:[Kr("div",{className:"vm-explore-logs-header-bottom-helpful",children:[Kr("a",{className:"vm-link vm-link_with-icon",target:"_blank",href:"https://docs.victoriametrics.com/VictoriaLogs/LogsQL.html",rel:"help noreferrer",children:[Kr(Ho,{}),"Query language docs"]}),Kr("a",{className:"vm-link vm-link_with-icon",target:"_blank",href:"https://docs.victoriametrics.com/VictoriaLogs/",rel:"help noreferrer",children:[Kr(ti,{}),"Documentation"]})]}),Kr("div",{className:"vm-explore-logs-header-bottom__execute",children:Kr(Vi,{startIcon:Kr(Go,{}),onClick:r,fullWidth:!0,children:"Execute Query"})})]})]})};var ga,ba=function(e){var t=ce();return ie((function(){t.current=e}),[e]),t.current},wa=function(){var e=Qr().serverUrl,t=Xi().setSearchParamsFromKeys,n=$t(Qi("","query"),2),r=n[0],o=n[1],i=ba(r),a=function(e,t){var n=$t(re([]),2),r=n[0],o=n[1],i=$t(re(!1),2),a=i[0],c=i[1],l=$t(re(),2),s=l[0],f=l[1],d=ue((function(){return function(e){return"".concat(e,"/select/logsql/query")}(e)}),[e]),p=ue((function(){return{method:"POST",headers:{Accept:"application/stream+json; charset=utf-8","Content-Type":"application/x-www-form-urlencoded"},body:"query=".concat(encodeURIComponent(t.trim()))}}),[t]);return{logs:r,isLoading:a,error:s,fetchLogs:se(Hi(Ui().mark((function e(){var t,n,r,i,a,l,s,h,v,m;return Ui().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c(!0),f(void 0),e.prev=2,e.next=5,fetch(d,p);case 5:if((t=e.sent).ok&&t.body){e.next=14;break}return e.next=9,t.text();case 9:return n=e.sent,f(n),o([]),c(!1),e.abrupt("return");case 14:r=t.body.getReader(),i=new TextDecoder("utf-8"),a=[];case 17:if(!r){e.next=33;break}return e.next=20,r.read();case 20:if(l=e.sent,s=l.done,h=l.value,!s){e.next=25;break}return e.abrupt("break",33);case 25:if(v=i.decode(h,{stream:!0}).split("\n"),a.push.apply(a,Ft(v)),a.length>pa&&a.splice(0,a.length-pa),!(a.length>=pa)){e.next=31;break}return r.cancel(),e.abrupt("break",33);case 31:e.next=17;break;case 33:m=a.map((function(e){try{return JSON.parse(e)}catch(u){return""}})).filter((function(e){return e})),o(m),e.next=42;break;case 37:e.prev=37,e.t0=e.catch(2),console.error(e.t0),o([]),e.t0 instanceof Error&&f("".concat(e.t0.name,": ").concat(e.t0.message));case 42:c(!1);case 43:case"end":return e.stop()}}),e,null,[[2,37]])}))),[d,p])}}(e,r),c=a.logs,l=a.isLoading,s=a.error,f=a.fetchLogs,d=function(){f(),t(i&&r!==i?{query:r,page:1}:{query:r})};return ie((function(){r&&d()}),[]),Kr("div",{className:"vm-explore-logs",children:[Kr(_a,{query:r,onChange:o,onRun:d}),l&&Kr(ha,{}),s&&Kr(Ni,{variant:"error",children:s}),Kr(da,{data:c})]})},Aa={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"},Sa={header:{tenant:!0,stepControl:!1,timeSelector:!1,executionControls:!1}},xa=(Er(ga={},Aa.home,Cr({title:"Query"},Sa)),Er(ga,Aa.metrics,{title:"Explore Prometheus metrics",header:{tenant:!0,stepControl:!0,timeSelector:!0}}),Er(ga,Aa.cardinality,{title:"Explore cardinality",header:{tenant:!0,cardinalityDatePicker:!0}}),Er(ga,Aa.topQueries,{title:"Top queries",header:{tenant:!0}}),Er(ga,Aa.trace,{title:"Trace analyzer",header:{}}),Er(ga,Aa.dashboards,Cr({title:"Dashboards"},Sa)),Er(ga,Aa.withTemplate,{title:"WITH templates",header:{}}),Er(ga,Aa.relabel,{title:"Metric relabel debug",header:{}}),Er(ga,Aa.logs,{title:"Logs Explorer",header:{}}),Er(ga,Aa.activeQueries,{title:"Active Queries",header:{}}),Er(ga,Aa.icons,{title:"Icons",header:{}}),ga),Ea=Aa,ka=function(e){var t=e.activeMenu,n=e.label,r=e.value,o=e.color;return Kr(wr,{className:ai()({"vm-header-nav-item":!0,"vm-header-nav-item_active":t===r}),style:{color:o},to:r,children:n})},Ca=function(e){var t=e.activeMenu,n=e.label,r=e.color,o=e.background,i=e.submenu,a=e.direction,c=zn().pathname,l=$t(re(null),2),u=l[0],s=l[1],f=ce(null),d=Zi(!1),p=d.value,h=d.setFalse,v=d.setTrue,m=function(){u&&clearTimeout(u);var e=setTimeout(h,300);s(e)};return ie((function(){h()}),[c]),"column"===a?Kr(g,{children:i.map((function(e){return Kr(ka,{activeMenu:t,value:e.value||"",label:e.label||""},e.value)}))}):Kr("div",{className:ai()({"vm-header-nav-item":!0,"vm-header-nav-item_sub":!0,"vm-header-nav-item_open":p,"vm-header-nav-item_active":i.find((function(e){return e.value===t}))}),style:{color:r},onMouseEnter:function(){v(),u&&clearTimeout(u)},onMouseLeave:m,ref:f,children:[n,Kr(Zo,{}),Kr(qi,{open:p,placement:"bottom-left",offset:{top:12,left:0},onClose:h,buttonRef:f,children:Kr("div",{className:"vm-header-nav-item-submenu",style:{background:o},onMouseLeave:m,onMouseEnter:function(){u&&clearTimeout(u)},children:i.map((function(e){return Kr(ka,{activeMenu:t,value:e.value||"",label:e.label||"",color:r},e.value)}))})})]})},Oa=[{label:xa[Ea.logs].title,value:Ea.home}],Na=(xa[Ea.home].title,xa[Ea.metrics].title,xa[Ea.cardinality].title,xa[Ea.topQueries].title,xa[Ea.activeQueries].title,xa[Ea.logs].title,xa[Ea.trace].title,xa[Ea.withTemplate].title,xa[Ea.relabel].title,function(e){var t=e.color,n=e.background,r=e.direction,o=Nr(),i=fe(ji).state.dashboardsSettings,a=zn().pathname,c=$t(re(a),2),l=c[0],u=c[1],s=ue((function(){return Oa}),[o,i]);return ie((function(){u(a)}),[a]),Kr("nav",{className:ai()(Er({"vm-header-nav":!0},"vm-header-nav_".concat(r),r)),children:s.map((function(e){return e.submenu?Kr(Ca,{activeMenu:l,label:e.label||"",submenu:e.submenu,color:t,background:n,direction:r},e.label):Kr(ka,{activeMenu:l,value:e.value||"",label:e.label||"",color:t},e.value)}))})}),Ma=function(e){var t=e.title,n=e.children,r=e.onClose,o=e.className,i=e.isOpen,a=void 0===i||i,c=Ci().isMobile,l=Wn(),u=zn(),s=se((function(e){a&&"Escape"===e.key&&r()}),[a]),f=function(e){e.stopPropagation()},d=se((function(){a&&(l(u,{replace:!0}),r())}),[a,u,r]);return ie((function(){if(a)return document.body.style.overflow="hidden",function(){document.body.style.overflow="auto"}}),[a]),di("popstate",d),di("keyup",s),St.createPortal(Kr("div",{className:ai()(Er({"vm-modal":!0,"vm-modal_mobile":c},"".concat(o),o)),onMouseDown:r,children:Kr("div",{className:"vm-modal-content",children:[Kr("div",{className:"vm-modal-content-header",onMouseDown:f,children:[t&&Kr("div",{className:"vm-modal-content-header__title",children:t}),Kr("div",{className:"vm-modal-header__close",children:Kr(Vi,{variant:"text",size:"small",onClick:r,children:Kr(Uo,{})})})]}),Kr("div",{className:"vm-modal-content-body",onMouseDown:f,children:n})]})}),document.body)},Pa=Kr("code",{children:ki()?"Cmd":"Ctrl"}),Ta=[{title:"Zoom in",description:Kr(g,{children:["To zoom in, hold down the ",Pa," + ",Kr("code",{children:"scroll up"}),", or press the ",Kr("code",{children:"+"}),". Also, you can zoom in on a range on the graph by holding down your mouse button and selecting the range."]})},{title:"Zoom out",description:Kr(g,{children:["To zoom out, hold down the ",Pa," + ",Kr("code",{children:"scroll down"}),", or press the ",Kr("code",{children:"-"}),"."]})},{title:"Move horizontal axis",description:Kr(g,{children:["To move the graph, hold down the ",Pa," + ",Kr("code",{children:"drag"})," the graph to the right or left."]})},{title:"Fixing a tooltip",description:Kr(g,{children:["To fix the tooltip, ",Kr("code",{children:"click"})," mouse when it's open. Then, you can drag the fixed tooltip by ",Kr("code",{children:"clicking"})," and ",Kr("code",{children:"dragging"})," on the ",Kr(ei,{})," icon."]})},{title:"Set a custom range for the vertical axis",description:Kr(g,{children:["To set a custom range for the vertical axis, click on the ",Kr(Fo,{})," icon located in the upper right corner of the graph, activate the toggle, and set the values."]})}],ja=[{title:"Show/hide a legend item",description:Kr(g,{children:[Kr("code",{children:"click"})," on a legend item to isolate it on the graph.",Pa," + ",Kr("code",{children:"click"})," on a legend item to remove it from the graph. To revert to the previous state, click again."]})},{title:"Copy label key-value pairs",description:Kr(g,{children:[Kr("code",{children:"click"})," on a label key-value pair to save it to the clipboard."]})},{title:"Collapse/Expand the legend group",description:Kr(g,{children:[Kr("code",{children:"click"})," on the group name (e.g. ",Kr("b",{children:'Query 1: {__name__!=""}'}),") to collapse or expand the legend."]})}],La=(Ta.concat(ja),ki(),ki(),function(e){var t=e.open;return Kr("button",{className:ai()({"vm-menu-burger":!0,"vm-menu-burger_opened":t}),children:Kr("span",{})})}),Da=function(e){var t=e.background,n=e.color,r=zn().pathname,o=Ci().isMobile,i=ce(null),a=Zi(!1),c=a.value,l=a.toggle,u=a.setFalse;return ie(u,[r]),Gi(i,u),Kr("div",{className:"vm-header-sidebar",ref:i,children:[Kr("div",{className:ai()({"vm-header-sidebar-button":!0,"vm-header-sidebar-button_open":c}),onClick:l,children:Kr(La,{open:c})}),Kr("div",{className:ai()({"vm-header-sidebar-menu":!0,"vm-header-sidebar-menu_open":c}),children:[Kr("div",{children:Kr(Na,{color:n,background:t,direction:"column"})}),Kr("div",{className:"vm-header-sidebar-menu-settings",children:!o&&!1})]})]})},$a=["controlsComponent","isMobile"],Ia=function(e){var t=e.controlsComponent,n=e.isMobile,r=ci(e,$a),o=Nr(),i=zn().pathname,a=function(){var e=Or().useTenantID,t=Nr(),n=Qr().serverUrl,r=$t(re(!1),2),o=r[0],i=r[1],a=$t(re(),2),c=a[0],l=a[1],u=$t(re([]),2),s=u[0],f=u[1],d=ue((function(){return"".concat(n.replace(/^(.+)(\/select.+)/,"$1"),"/admin/tenants")}),[n]),p=ue((function(){return!!Pr(n)}),[n]),h=t?!e:!p;return ie((function(){if(!h){var e=function(){var e=Hi(Ui().mark((function e(){var t,n,r;return Ui().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i(!0),e.prev=1,e.next=4,fetch(d);case 4:return t=e.sent,e.next=7,t.json();case 7:n=e.sent,r=n.data||[],f(r.sort((function(e,t){return e.localeCompare(t)}))),t.ok?l(void 0):l("".concat(n.errorType,"\r\n").concat(null===n||void 0===n?void 0:n.error)),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(1),e.t0 instanceof Error&&l("".concat(e.t0.name,": ").concat(e.t0.message));case 16:i(!1);case 17:case"end":return e.stop()}}),e,null,[[1,13]])})));return function(){return e.apply(this,arguments)}}();e().catch(console.error)}}),[d]),{accountIds:s,isLoading:o,error:c}}(),c=a.accountIds,l=Zi(!1),u=l.value,s=l.toggle,f=l.setFalse,d=ue((function(){return(xa[i]||{}).header||{}}),[i]),p=Kr(t,Cr(Cr({},r),{},{isMobile:n,accountIds:c,headerSetup:d}));return n?Kr(g,{children:[Kr("div",{children:Kr(Vi,{className:ai()({"vm-header-button":!o}),startIcon:Kr(ri,{}),onClick:s})}),Kr(Ma,{title:"Controls",onClose:f,isOpen:u,className:ai()({"vm-header-controls-modal":!0,"vm-header-controls-modal_open":u}),children:p})]}):p},Ra=function(e){var t=e.controlsComponent,n="true",r=Ci().isMobile,o=ue((function(){return window.innerWidth<1e3}),[pi()]),i=Qr().isDarkTheme,a=Nr(),c=ue((function(){return zr(i?"color-background-block":"color-primary")}),[i]),l=ue((function(){var e=Or().headerStyles,t=void 0===e?{}:e,n=t.background,r=void 0===n?a?"#FFF":c:n,o=t.color;return{background:r,color:void 0===o?a?c:"#FFF":o}}),[c]),u=l.background,s=l.color,f=Wn(),d=function(){f({pathname:Ea.home}),window.location.reload()};return Kr("header",{className:ai()({"vm-header":!0,"vm-header_app":a,"vm-header_dark":i,"vm-header_sidebar":o,"vm-header_mobile":r}),style:{background:u,color:s},children:[o?Kr(Da,{background:u,color:s}):Kr(g,{children:[!a&&Kr("div",{className:ai()({"vm-header-logo":!0,"vm-header-logo_logs":n}),onClick:d,style:{color:s},children:Kr(n?Io:$o,{})}),Kr(Na,{color:s,background:u})]}),o&&Kr("div",{className:ai()({"vm-header-logo":!0,"vm-header-logo_mobile":!0,"vm-header-logo_logs":n}),onClick:d,style:{color:s},children:Kr(n?Io:$o,{})}),Kr(Ia,{controlsComponent:t,displaySidebar:o,isMobile:r})]})},Fa=function(){var e=Ci().isMobile,t="2019-".concat(Et()().format("YYYY"));return Kr("footer",{className:"vm-footer",children:[Kr("a",{className:"vm-link vm-footer__website",target:"_blank",href:"https://victoriametrics.com/",rel:"me noreferrer",children:[Kr(Ro,{}),"victoriametrics.com"]}),Kr("a",{className:"vm-link vm-footer__link",target:"_blank",href:"https://docs.victoriametrics.com/MetricsQL.html",rel:"help noreferrer",children:[Kr(Jo,{}),"MetricsQL"]}),Kr("a",{className:"vm-link vm-footer__link",target:"_blank",href:"https://docs.victoriametrics.com/#vmui",rel:"help noreferrer",children:[Kr(ti,{}),e?"Docs":"Documentation"]}),Kr("a",{className:"vm-link vm-footer__link",target:"_blank",href:"https://github.com/VictoriaMetrics/VictoriaMetrics/issues/new/choose",rel:"noreferrer",children:[Kr(ni,{}),e?"New issue":"Create an issue"]}),Kr("div",{className:"vm-footer__copyright",children:["\xa9 ",t," VictoriaMetrics"]})]})},Ua=function(e){var t=e.serverUrl,n=e.stateServerUrl,r=e.onChange,o=e.onEnter,i=$t(re(""),2),a=i[0],c=i[1];return ie((function(){n||c(Br.emptyServer),function(e){var t;try{t=new URL(e)}catch(_){return!1}return"http:"===t.protocol||"https:"===t.protocol}(n)||c(Br.validServer)}),[n]),Kr(va,{autofocus:!0,label:"Server URL",value:t,error:a,onChange:function(e){r(e||""),c("")},onEnter:o,inputmode:"url"})},Ba=[{label:"Graph",type:"chart"},{label:"JSON",type:"code"},{label:"Table",type:"table"}],Ha=function(e){var t=e.limits,n=e.onChange,r=e.onEnter,o=Ci().isMobile,i=$t(re({table:"",chart:"",code:""}),2),a=i[0],c=i[1],l=function(e){return function(r){!function(e,r){var o=e||"";c((function(e){return Cr(Cr({},e),{},Er({},r,+o<0?Br.positiveNumber:""))})),n(Cr(Cr({},t),{},Er({},r,o||1/0)))}(r,e)}};return Kr("div",{className:"vm-limits-configurator",children:[Kr("div",{className:"vm-server-configurator__title",children:["Series limits by tabs",Kr(Yi,{title:"Set to 0 to disable the limit",children:Kr(Vi,{variant:"text",color:"primary",size:"small",startIcon:Kr(Ho,{})})}),Kr("div",{className:"vm-limits-configurator-title__reset",children:Kr(Vi,{variant:"text",color:"primary",size:"small",startIcon:Kr(Bo,{}),onClick:function(){n($r)},children:"Reset limits"})})]}),Kr("div",{className:ai()({"vm-limits-configurator__inputs":!0,"vm-limits-configurator__inputs_mobile":o}),children:Ba.map((function(e){return Kr("div",{children:Kr(va,{label:e.label,value:t[e.type],error:a[e.type],onChange:l(e.type),onEnter:r,type:"number"})},e.type)}))})]})},za=function(e){var t=e.timezoneState,n=e.onChange,r=Ci().isMobile,o=go(),i=$t(re(""),2),a=i[0],c=i[1],l=ce(null),s=Zi(!1),f=s.value,d=s.toggle,p=s.setFalse,h=ue((function(){if(!a)return o;try{return go(a)}catch(u){return{}}}),[a,o]),v=ue((function(){return Object.keys(h)}),[h]),m=ue((function(){return{region:Et().tz.guess(),utc:_o(Et().tz.guess())}}),[]),y=ue((function(){return{region:t,utc:_o(t)}}),[t]),_=function(e){return function(){!function(e){n(e.region),c(""),p()}(e)}};return Kr("div",{className:"vm-timezones",children:[Kr("div",{className:"vm-server-configurator__title",children:"Time zone"}),Kr("div",{className:"vm-timezones-item vm-timezones-item_selected",onClick:d,ref:l,children:[Kr("div",{className:"vm-timezones-item__title",children:y.region}),Kr("div",{className:"vm-timezones-item__utc",children:y.utc}),Kr("div",{className:ai()({"vm-timezones-item__icon":!0,"vm-timezones-item__icon_open":f}),children:Kr(Zo,{})})]}),Kr(qi,{open:f,buttonRef:l,placement:"bottom-left",onClose:p,fullWidth:!0,title:r?"Time zone":void 0,children:Kr("div",{className:ai()({"vm-timezones-list":!0,"vm-timezones-list_mobile":r}),children:[Kr("div",{className:"vm-timezones-list-header",children:[Kr("div",{className:"vm-timezones-list-header__search",children:Kr(va,{autofocus:!0,label:"Search",value:a,onChange:function(e){c(e)}})}),Kr("div",{className:"vm-timezones-item vm-timezones-list-group-options__item",onClick:_(m),children:[Kr("div",{className:"vm-timezones-item__title",children:["Browser Time (",m.region,")"]}),Kr("div",{className:"vm-timezones-item__utc",children:m.utc})]})]}),v.map((function(e){return Kr("div",{className:"vm-timezones-list-group",children:Kr(la,{defaultExpanded:!0,title:Kr("div",{className:"vm-timezones-list-group__title",children:e}),children:Kr("div",{className:"vm-timezones-list-group-options",children:h[e]&&h[e].map((function(e){return Kr("div",{className:"vm-timezones-item vm-timezones-list-group-options__item",onClick:_(e),children:[Kr("div",{className:"vm-timezones-item__title",children:e.region}),Kr("div",{className:"vm-timezones-item__utc",children:e.utc})]},e.search)}))})})},e)}))]})})]})},Va=function(e){var t=e.options,n=e.value,r=e.label,o=e.onChange,i=ce(null),a=$t(re({width:"0px",left:"0px",borderRadius:"0px"}),2),c=a[0],l=a[1],u=function(e){return function(){o(e)}};return ie((function(){if(i.current){var e=t.findIndex((function(e){return e.value===n})),r=i.current.getBoundingClientRect().width,o=e*r,a="0";0===e&&(a="16px 0 0 16px"),e===t.length-1&&(a="10px",o-=1,a="0 16px 16px 0"),0!==e&&e!==t.length-1&&(r+=1,o-=1),l({width:"".concat(r,"px"),left:"".concat(o,"px"),borderRadius:a})}else l({width:"0px",left:"0px",borderRadius:"0px"})}),[i,n,t]),Kr("div",{className:"vm-toggles",children:[r&&Kr("label",{className:"vm-toggles__label",children:r}),Kr("div",{className:"vm-toggles-group",style:{gridTemplateColumns:"repeat(".concat(t.length,", 1fr)")},children:[c.borderRadius&&Kr("div",{className:"vm-toggles-group__highlight",style:c}),t.map((function(e,t){return Kr("div",{className:ai()({"vm-toggles-group-item":!0,"vm-toggles-group-item_first":0===t,"vm-toggles-group-item_active":e.value===n,"vm-toggles-group-item_icon":e.icon&&e.title}),onClick:u(e.value),ref:e.value===n?i:null,children:[e.icon,e.title]},e.value)}))]})]})},Wa=Object.values(Hr).map((function(e){return{title:e,value:e}})),Ya=function(e){var t=e.theme,n=e.onChange,r=Ci().isMobile;return Kr("div",{className:ai()({"vm-theme-control":!0,"vm-theme-control_mobile":r}),children:[Kr("div",{className:"vm-server-configurator__title",children:"Theme preferences"}),Kr("div",{className:"vm-theme-control__toggle",children:Kr(Va,{options:Wa,value:t,onChange:function(e){n(e)}})},"".concat(r))]})},Za="Settings",Ga=function(){var e=Ci().isMobile,t=Nr(),n=Qr(),r=n.serverUrl,o=n.theme,i=Po().timezone,a=fe(wi).state.seriesLimits,c=Xr(),l=fe(Mo).dispatch,u=fe(wi).dispatch,s=$t(re(r),2),f=s[0],d=s[1],p=$t(re(a),2),h=p[0],v=p[1],m=$t(re(i),2),y=m[0],_=m[1],b=Zi(!1),w=b.value,A=b.setTrue,S=b.setFalse,x=function(){S(),d(r),v(a),_(i)},E=function(){var e=Pr(f);""!==e&&c({type:"SET_TENANT_ID",payload:e}),c({type:"SET_SERVER",payload:f}),l({type:"SET_TIMEZONE",payload:y}),u({type:"SET_SERIES_LIMITS",payload:h}),S()};ie((function(){r!==f&&d(r)}),[r]);var k=[{show:!t&&!1,component:Kr(Ua,{stateServerUrl:r,serverUrl:f,onChange:d,onEnter:E})},{show:!1,component:Kr(Ha,{limits:h,onChange:v,onEnter:E})},{show:!0,component:Kr(za,{timezoneState:y,onChange:_})},{show:!t,component:Kr(Ya,{theme:o,onChange:function(e){c({type:"SET_THEME",payload:e})}})}].filter((function(e){return e.show}));return Kr(g,{children:[e?Kr("div",{className:"vm-mobile-option",onClick:A,children:[Kr("span",{className:"vm-mobile-option__icon",children:Kr(Fo,{})}),Kr("div",{className:"vm-mobile-option-text",children:Kr("span",{className:"vm-mobile-option-text__label",children:Za})}),Kr("span",{className:"vm-mobile-option__arrow",children:Kr(Yo,{})})]}):Kr(Yi,{title:Za,children:Kr(Vi,{className:ai()({"vm-header-button":!t}),variant:"contained",color:"primary",startIcon:Kr(Fo,{}),onClick:A})}),w&&Kr(Ma,{title:Za,onClose:x,children:Kr("div",{className:ai()({"vm-server-configurator":!0,"vm-server-configurator_mobile":e}),children:[k.map((function(e,t){return Kr("div",{className:"vm-server-configurator__input",children:e.component},t)})),Kr("div",{className:"vm-server-configurator-footer",children:[Kr(Vi,{color:"error",variant:"outlined",onClick:x,children:"Cancel"}),Kr(Vi,{color:"primary",variant:"contained",onClick:E,children:"Apply"})]})]})})]})},qa=function(e){var t=e.isMobile;return Kr("div",{className:ai()({"vm-header-controls":!0,"vm-header-controls_mobile":t}),children:Kr(Ga,{})})},Ka=function(){var e=Nr(),t=Ci().isMobile;return ie((function(){var e,t="vmui for VictoriaLogs",n=null===(e=xa[Ea.logs])||void 0===e?void 0:e.title;document.title=n?"".concat(n," - ").concat(t):t}),[zn().pathname]),Kr("section",{className:"vm-container",children:[Kr(Ra,{controlsComponent:qa}),Kr("div",{className:ai()({"vm-container-body":!0,"vm-container-body_mobile":t,"vm-container-body_app":e}),children:Kr(ar,{})}),!e&&Kr(Fa,{})]})},Ja=function(){var e=$t(re(!1),2),t=e[0],n=e[1];return Kr(g,{children:Kr(yr,{children:Kr(Li,{children:Kr(g,{children:[Kr(Fi,{onLoaded:n}),t&&Kr(ur,{children:Kr(cr,{path:"/",element:Kr(Ka,{}),children:Kr(cr,{path:"/",element:Kr(wa,{})})})})]})})})})},Qa=function(e){e&&n.e(522).then(n.bind(n,522)).then((function(t){var n=t.getCLS,r=t.getFID,o=t.getFCP,i=t.getLCP,a=t.getTTFB;n(e),r(e),o(e),i(e),a(e)}))},Xa=document.getElementById("root");Xa&&Ke(Kr(Ja,{}),Xa),Qa()}()}();