D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
psa
/
admin
/
htdocs
/
modules
/
monitoring
/
js
/
Filename :
homeBlock.bundle.js
back
Copy
/*! For license information please see homeBlock.bundle.js.LICENSE.txt */ define(["plesk-ui-library"],(e=>(()=>{var t={6303:(e,t,n)=>{"use strict";var r=n(6472);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},6499:(e,t,n)=>{e.exports=n(6303)()},6472:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6818:(e,t,n)=>{"use strict";var r=n(2257);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},1688:(e,t,n)=>{e.exports=n(6818)()},2257:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1169:(e,t,n)=>{"use strict";var r=n(5882);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5709:(e,t,n)=>{e.exports=n(1169)()},5882:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},642:(e,t,n)=>{"use strict";t.A=function(e){var t=e.from,n=void 0===t?{x:0,y:0}:t,a=e.to,u=void 0===a?{x:1,y:1}:a,c=e.fill,l=void 0===c?"transparent":c,f=e.className,p=e.innerRef,h=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,i),d=n.x===u.x||n.y===u.y;return r.default.createElement("line",s({ref:p,className:(0,o.default)("visx-line",f),x1:n.x,y1:n.y,x2:u.x,y2:u.y,fill:l,shapeRendering:d?"crispEdges":"auto"},h))};var r=a(n(7592)),o=a(n(6942)),i=["from","to","fill","className","innerRef"];function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}},8505:e=>{"use strict";function t(e,t,o){e instanceof RegExp&&(e=n(e,o)),t instanceof RegExp&&(t=n(t,o));var i=r(e,t,o);return i&&{start:i[0],end:i[1],pre:o.slice(0,i[0]),body:o.slice(i[0]+e.length,i[1]),post:o.slice(i[1]+t.length)}}function n(e,t){var n=t.match(e);return n?n[0]:null}function r(e,t,n){var r,o,i,a,s,u=n.indexOf(e),c=n.indexOf(t,u+1),l=u;if(u>=0&&c>0){for(r=[],i=n.length;l>=0&&!s;)l==u?(r.push(l),u=n.indexOf(e,l+1)):1==r.length?s=[r.pop(),c]:((o=r.pop())<i&&(i=o,a=c),c=n.indexOf(t,l+1)),l=u<c&&u>=0?u:c;r.length&&(s=[i,a])}return s}e.exports=t,t.range=r},4039:(e,t,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(1333);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&o()}},1333: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}},2043: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),s=[],u=0;u<a;u++)s.push("$"+u);if(o=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var n=r.apply(this,i.concat(t.call(arguments)));return Object(n)===n?n:this}return r.apply(e,i.concat(t.call(arguments)))})),r.prototype){var c=function(){};c.prototype=r.prototype,o.prototype=new c,c.prototype=null}return o}},261:(e,t,n)=>{"use strict";var r=n(2043);e.exports=Function.prototype.bind||r},9030:(e,t,n)=>{"use strict";var r=n(261);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},1549:(e,t,n)=>{var r=n(2032),o=n(3862),i=n(6721),a=n(2749),s=n(5749);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},79:(e,t,n)=>{var r=n(3702),o=n(80),i=n(4739),a=n(8655),s=n(1175);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},8223:(e,t,n)=>{var r=n(6110)(n(9325),"Map");e.exports=r},3661:(e,t,n)=>{var r=n(3040),o=n(7670),i=n(289),a=n(4509),s=n(2949);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},1873:(e,t,n)=>{var r=n(9325).Symbol;e.exports=r},6025:(e,t,n)=>{var r=n(5288);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},2552:(e,t,n)=>{var r=n(1873),o=n(659),i=n(9350),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},5083:(e,t,n)=>{var r=n(1882),o=n(7296),i=n(3805),a=n(7473),s=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:s).test(a(e))}},4128:(e,t,n)=>{var r=n(1800),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},5481:(e,t,n)=>{var r=n(9325)["__core-js_shared__"];e.exports=r},4840:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},2651:(e,t,n)=>{var r=n(4218);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},6110:(e,t,n)=>{var r=n(5083),o=n(392);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},659:(e,t,n)=>{var r=n(1873),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},392:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2032:(e,t,n)=>{var r=n(1042);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},3862:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},6721:(e,t,n)=>{var r=n(1042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},2749:(e,t,n)=>{var r=n(1042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},5749:(e,t,n)=>{var r=n(1042);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},4218:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7296:(e,t,n)=>{var r,o=n(5481),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},3702:e=>{e.exports=function(){this.__data__=[],this.size=0}},80:(e,t,n)=>{var r=n(6025),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},4739:(e,t,n)=>{var r=n(6025);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},8655:(e,t,n)=>{var r=n(6025);e.exports=function(e){return r(this.__data__,e)>-1}},1175:(e,t,n)=>{var r=n(6025);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},3040:(e,t,n)=>{var r=n(1549),o=n(79),i=n(8223);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},7670:(e,t,n)=>{var r=n(2651);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},289:(e,t,n)=>{var r=n(2651);e.exports=function(e){return r(this,e).get(e)}},4509:(e,t,n)=>{var r=n(2651);e.exports=function(e){return r(this,e).has(e)}},2949:(e,t,n)=>{var r=n(2651);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},1042:(e,t,n)=>{var r=n(6110)(Object,"create");e.exports=r},9350:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9325:(e,t,n)=>{var r=n(4840),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},7473:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1800:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},8221:(e,t,n)=>{var r=n(3805),o=n(124),i=n(9374),a=Math.max,s=Math.min;e.exports=function(e,t,n){var u,c,l,f,p,h,d=0,y=!1,g=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=u,r=c;return u=c=void 0,d=t,f=e.apply(r,n)}function b(e){var n=e-h;return void 0===h||n>=t||n<0||g&&e-d>=l}function w(){var e=o();if(b(e))return x(e);p=setTimeout(w,function(e){var n=t-(e-h);return g?s(n,l-(e-d)):n}(e))}function x(e){return p=void 0,m&&u?v(e):(u=c=void 0,f)}function O(){var e=o(),n=b(e);if(u=arguments,c=this,h=e,n){if(void 0===p)return function(e){return d=e,p=setTimeout(w,t),y?v(e):f}(h);if(g)return clearTimeout(p),p=setTimeout(w,t),v(h)}return void 0===p&&(p=setTimeout(w,t)),f}return t=i(t)||0,r(n)&&(y=!!n.leading,l=(g="maxWait"in n)?a(i(n.maxWait)||0,t):l,m="trailing"in n?!!n.trailing:m),O.cancel=function(){void 0!==p&&clearTimeout(p),d=0,u=h=c=p=void 0},O.flush=function(){return void 0===p?f:x(o())},O}},5288:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},1882:(e,t,n)=>{var r=n(2552),o=n(3805);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},3805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},4394:(e,t,n)=>{var r=n(2552),o=n(346);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},104:(e,t,n)=>{var r=n(3661);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){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)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},124:(e,t,n)=>{var r=n(9325);e.exports=function(){return r.Date.now()}},9374:(e,t,n)=>{var r=n(4128),o=n(3805),i=n(4394),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},4985:(e,t,n)=>{var r=n(6370);r.prototype.formulaEval=function(){"use strict";for(var e,t,n,r=[],o=this.value,i=0;i<o.length;i++)1===o[i].type||3===o[i].type?r.push({value:3===o[i].type?o[i].show:o[i].value,type:1}):13===o[i].type?r.push({value:o[i].show,type:1}):0===o[i].type?r[r.length-1]={value:o[i].show+("-"!=o[i].show?"(":"")+r[r.length-1].value+("-"!=o[i].show?")":""),type:0}:7===o[i].type?r[r.length-1]={value:(1!=r[r.length-1].type?"(":"")+r[r.length-1].value+(1!=r[r.length-1].type?")":"")+o[i].show,type:7}:10===o[i].type?(e=r.pop(),t=r.pop(),"P"===o[i].show||"C"===o[i].show?r.push({value:"<sup>"+t.value+"</sup>"+o[i].show+"<sub>"+e.value+"</sub>",type:10}):r.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+"<sup>"+e.value+"</sup>",type:1})):2===o[i].type||9===o[i].type?(e=r.pop(),t=r.pop(),r.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+o[i].show+(1!=e.type?"(":"")+e.value+(1!=e.type?")":""),type:o[i].type})):12===o[i].type&&(e=r.pop(),t=r.pop(),n=r.pop(),r.push({value:o[i].show+"("+n.value+","+t.value+","+e.value+")",type:12}));return r[0].value},e.exports=r},2963:(e,t,n)=>{"use strict";var r=n(9242);function o(e,t){for(var n=0;n<e.length;n++)e[n]+=t;return e}for(var i=[{token:"sin",show:"sin",type:0,value:r.math.sin},{token:"cos",show:"cos",type:0,value:r.math.cos},{token:"tan",show:"tan",type:0,value:r.math.tan},{token:"pi",show:"π",type:3,value:"PI"},{token:"(",show:"(",type:4,value:"("},{token:")",show:")",type:5,value:")"},{token:"P",show:"P",type:10,value:r.math.P},{token:"C",show:"C",type:10,value:r.math.C},{token:" ",show:" ",type:14,value:" ".anchor},{token:"asin",show:"asin",type:0,value:r.math.asin},{token:"acos",show:"acos",type:0,value:r.math.acos},{token:"atan",show:"atan",type:0,value:r.math.atan},{token:"7",show:"7",type:1,value:"7"},{token:"8",show:"8",type:1,value:"8"},{token:"9",show:"9",type:1,value:"9"},{token:"int",show:"Int",type:0,value:Math.floor},{token:"cosh",show:"cosh",type:0,value:r.math.cosh},{token:"acosh",show:"acosh",type:0,value:r.math.acosh},{token:"ln",show:" ln",type:0,value:Math.log},{token:"^",show:"^",type:10,value:Math.pow},{token:"root",show:"root",type:0,value:Math.sqrt},{token:"4",show:"4",type:1,value:"4"},{token:"5",show:"5",type:1,value:"5"},{token:"6",show:"6",type:1,value:"6"},{token:"/",show:"÷",type:2,value:r.math.div},{token:"!",show:"!",type:7,value:r.math.fact},{token:"tanh",show:"tanh",type:0,value:r.math.tanh},{token:"atanh",show:"atanh",type:0,value:r.math.atanh},{token:"Mod",show:" Mod ",type:2,value:r.math.mod},{token:"1",show:"1",type:1,value:"1"},{token:"2",show:"2",type:1,value:"2"},{token:"3",show:"3",type:1,value:"3"},{token:"*",show:"×",type:2,value:r.math.mul},{token:"sinh",show:"sinh",type:0,value:r.math.sinh},{token:"asinh",show:"asinh",type:0,value:r.math.asinh},{token:"e",show:"e",type:3,value:"E"},{token:"log",show:" log",type:0,value:r.math.log},{token:"0",show:"0",type:1,value:"0"},{token:".",show:".",type:6,value:"."},{token:"+",show:"+",type:9,value:r.math.add},{token:"-",show:"-",type:9,value:r.math.sub},{token:",",show:",",type:11,value:","},{token:"Sigma",show:"Σ",type:12,value:r.math.sigma},{token:"n",show:"n",type:13,value:"n"},{token:"Pi",show:"Π",type:12,value:r.math.Pi},{token:"pow",show:"pow",type:8,value:Math.pow,numberOfArguments:2},{token:"&",show:"&",type:9,value:r.math.and}],a={0:11,1:0,2:3,3:0,4:0,5:0,6:0,7:11,8:11,9:1,10:10,11:0,12:11,13:0,14:-1,15:11},s=0;s<i.length;s++)i[s].precedence=a[i[s].type];var u={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,9:!0,12:!0,13:!0,14:!0,15:!0},c={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0,10:!0,11:!0,12:!0,13:!0,15:!0},l={0:!0,3:!0,4:!0,8:!0,12:!0,13:!0,15:!0},f={},p={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,12:!0,13:!0,15:!0},h={1:!0},d=[[],["1","2","3","7","8","9","4","5","6","+","-","*","/","(",")","^","!","P","C","e","0",".",",","n"," ","&"],["pi","ln","Pi"],["sin","cos","tan","Del","int","Mod","log","pow"],["asin","acos","atan","cosh","root","tanh","sinh"],["acosh","atanh","asinh","Sigma"]];function y(e,t,n,r){for(var o=0;o<r;o++)if(e[n+o]!==t[o])return!1;return!0}function g(e,t){for(var n=0;n<t.length;n++)if(t[n].token===e)return n;return-1}function m(e){for(var t,n,o,a=[],s=e.length,u=0;u<s;u++)if(!(u<s-1&&" "===e[u]&&" "===e[u+1])){for(t="",n=e.length-u>d.length-2?d.length-1:e.length-u;n>0;n--)if(void 0!==d[n])for(o=0;o<d[n].length;o++)y(e,d[n][o],u,n)&&(t=d[n][o],o=d[n].length,n=0);if(u+=t.length-1,""===t)throw new r.Exception("Can't understand after "+e.slice(u));a.push(i[g(t,i)])}return a}r.tokenTypes={FUNCTION_WITH_ONE_ARG:0,NUMBER:1,BINARY_OPERATOR_HIGH_PRECENDENCE:2,CONSTANT:3,OPENING_PARENTHESIS:4,CLOSING_PARENTHESIS:5,DECIMAL:6,POSTFIX_FUNCTION_WITH_ONE_ARG:7,FUNCTION_WITH_N_ARGS:8,BINARY_OPERATOR_LOW_PRECENDENCE:9,BINARY_OPERATOR_PERMUTATION:10,COMMA:11,EVALUATED_FUNCTION:12,EVALUATED_FUNCTION_PARAMETER:13,SPACE:14},r.addToken=function(e){for(var t=0;t<e.length;t++){var n=e[t].token.length,o=-1;e[t].type===r.tokenTypes.FUNCTION_WITH_N_ARGS&&void 0===e[t].numberOfArguments&&(e[t].numberOfArguments=2),d[n]=d[n]||[];for(var s=0;s<d[n].length;s++)if(e[t].token===d[n][s]){o=g(d[n][s],i);break}-1===o?(i.push(e[t]),e[t].precedence=a[e[t].type],d.length<=e[t].token.length&&(d[e[t].token.length]=[]),d[e[t].token.length].push(e[t].token)):(i[o]=e[t],e[t].precedence=a[e[t].type])}};var v={value:r.math.changeSign,type:0,pre:21,show:"-"},b={value:")",show:")",type:5,pre:0},w={value:"(",type:4,pre:0,show:"("};r.lex=function(e,t){var n,i=[w],a=[],s=e,d=u,y=0,g=f,x="";void 0!==t&&r.addToken(t);var O={},S=m(s);for(n=0;n<S.length;n++){var k=S[n];if(14!==k.type){var T,j=k.token,E=k.type,M=k.value,A=k.precedence,N=k.show,P=i[i.length-1];for(T=a.length;T--&&0===a[T];)if(-1!==[0,2,3,4,5,9,11,12,13].indexOf(E)){if(!0!==d[E])throw new r.Exception(j+" is not allowed after "+x);i.push(b),d=c,g=p,a.pop()}if(!0!==d[E])throw new r.Exception(j+" is not allowed after "+x);if(!0===g[E]&&(E=2,M=r.math.mul,N="×",A=3,n-=1),O={value:M,type:E,pre:A,show:N,numberOfArguments:k.numberOfArguments},0===E)d=u,g=f,o(a,2),i.push(O),4!==S[n+1].type&&(i.push(w),a.push(2));else if(1===E)1===P.type?(P.value+=M,o(a,1)):i.push(O),d=c,g=l;else if(2===E)d=u,g=f,o(a,2),i.push(O);else if(3===E)i.push(O),d=c,g=p;else if(4===E)o(a,1),y++,d=u,g=f,i.push(O);else if(5===E){if(!y)throw new r.Exception("Closing parenthesis are more than opening one, wait What!!!");y--,d=c,g=p,i.push(O),o(a,1)}else if(6===E){if(P.hasDec)throw new r.Exception("Two decimals are not allowed in one number");1!==P.type&&(P={value:0,type:1,pre:0},i.push(P)),d=h,o(a,1),g=f,P.value+=M,P.hasDec=!0}else 7===E&&(d=c,g=p,o(a,1),i.push(O));8===E?(d=u,g=f,o(a,k.numberOfArguments+2),i.push(O),4!==S[n+1].type&&(i.push(w),a.push(k.numberOfArguments+2))):9===E?(9===P.type?P.value===r.math.add?(P.value=M,P.show=N,o(a,1)):P.value===r.math.sub&&"-"===N&&(P.value=r.math.add,P.show="+",o(a,1)):5!==P.type&&7!==P.type&&1!==P.type&&3!==P.type&&13!==P.type?"-"===j&&(d=u,g=f,o(a,2).push(2),i.push(v),i.push(w)):(i.push(O),o(a,2)),d=u,g=f):10===E?(d=u,g=f,o(a,2),i.push(O)):11===E?(d=u,g=f,i.push(O)):12===E?(d=u,g=f,o(a,6),i.push(O),4!==S[n+1].type&&(i.push(w),a.push(6))):13===E&&(d=c,g=p,i.push(O)),o(a,-1),x=j}else if(n>0&&n<S.length-1&&1===S[n+1].type&&(1===S[n-1].type||6===S[n-1].type))throw new r.Exception("Unexpected Space")}for(T=a.length;T--;)i.push(b);if(!0!==d[5])throw new r.Exception("complete the expression");for(;y--;)i.push(b);return i.push(b),new r(i)},e.exports=r},9242:e=>{"use strict";var t=function(e){this.value=e};t.math={isDegree:!0,acos:function(e){return t.math.isDegree?180/Math.PI*Math.acos(e):Math.acos(e)},add:function(e,t){return e+t},asin:function(e){return t.math.isDegree?180/Math.PI*Math.asin(e):Math.asin(e)},atan:function(e){return t.math.isDegree?180/Math.PI*Math.atan(e):Math.atan(e)},acosh:function(e){return Math.log(e+Math.sqrt(e*e-1))},asinh:function(e){return Math.log(e+Math.sqrt(e*e+1))},atanh:function(e){return Math.log((1+e)/(1-e))},C:function(e,n){var r=1,o=e-n,i=n;i<o&&(i=o,o=n);for(var a=i+1;a<=e;a++)r*=a;return r/t.math.fact(o)},changeSign:function(e){return-e},cos:function(e){return t.math.isDegree&&(e=t.math.toRadian(e)),Math.cos(e)},cosh:function(e){return(Math.pow(Math.E,e)+Math.pow(Math.E,-1*e))/2},div:function(e,t){return e/t},fact:function(e){if(e%1!=0)return"NaN";for(var t=1,n=2;n<=e;n++)t*=n;return t},inverse:function(e){return 1/e},log:function(e){return Math.log(e)/Math.log(10)},mod:function(e,t){return e%t},mul:function(e,t){return e*t},P:function(e,t){for(var n=1,r=Math.floor(e)-Math.floor(t)+1;r<=Math.floor(e);r++)n*=r;return n},Pi:function(e,t,n){for(var r=1,o=e;o<=t;o++)r*=Number(n.postfixEval({n:o}));return r},pow10x:function(e){for(var t=1;e--;)t*=10;return t},sigma:function(e,t,n){for(var r=0,o=e;o<=t;o++)r+=Number(n.postfixEval({n:o}));return r},sin:function(e){return t.math.isDegree&&(e=t.math.toRadian(e)),Math.sin(e)},sinh:function(e){return(Math.pow(Math.E,e)-Math.pow(Math.E,-1*e))/2},sub:function(e,t){return e-t},tan:function(e){return t.math.isDegree&&(e=t.math.toRadian(e)),Math.tan(e)},tanh:function(e){return t.sinha(e)/t.cosha(e)},toRadian:function(e){return e*Math.PI/180},and:function(e,t){return e&t}},t.Exception=function(e){this.message=e},e.exports=t},6260:(e,t,n)=>{var r=n(2963);r.prototype.toPostfix=function(){"use strict";for(var e,t,n,o,i,a=[],s=[{value:"(",type:4,pre:0}],u=this.value,c=1;c<u.length;c++)if(1===u[c].type||3===u[c].type||13===u[c].type)1===u[c].type&&(u[c].value=Number(u[c].value)),a.push(u[c]);else if(4===u[c].type)s.push(u[c]);else if(5===u[c].type)for(;4!==(t=s.pop()).type;)a.push(t);else if(11===u[c].type){for(;4!==(t=s.pop()).type;)a.push(t);s.push(t)}else{o=(e=u[c]).pre,n=(i=s[s.length-1]).pre;var l="Math.pow"==i.value&&"Math.pow"==e.value;if(o>n)s.push(e);else{for(;n>=o&&!l||l&&o<n;)t=s.pop(),i=s[s.length-1],a.push(t),n=i.pre,l="Math.pow"==e.value&&"Math.pow"==i.value;s.push(e)}}return new r(a)},e.exports=r},6370:(e,t,n)=>{var r=n(6260);r.prototype.postfixEval=function(e){"use strict";(e=e||{}).PI=Math.PI,e.E=Math.E;for(var t,n,o,i=[],a=this.value,s=void 0!==e.n,u=0;u<a.length;u++)if(1===a[u].type)i.push({value:a[u].value,type:1});else if(3===a[u].type)i.push({value:e[a[u].value],type:1});else if(0===a[u].type)void 0===i[i.length-1].type?i[i.length-1].value.push(a[u]):i[i.length-1].value=a[u].value(i[i.length-1].value);else if(7===a[u].type)void 0===i[i.length-1].type?i[i.length-1].value.push(a[u]):i[i.length-1].value=a[u].value(i[i.length-1].value);else if(8===a[u].type){for(var c=[],l=0;l<a[u].numberOfArguments;l++)c.push(i.pop().value);i.push({type:1,value:a[u].value.apply(a[u],c.reverse())})}else 10===a[u].type?(t=i.pop(),void 0===(n=i.pop()).type?(n.value=n.concat(t),n.value.push(a[u]),i.push(n)):void 0===t.type?(t.unshift(n),t.push(a[u]),i.push(t)):i.push({type:1,value:a[u].value(n.value,t.value)})):2===a[u].type||9===a[u].type?(t=i.pop(),void 0===(n=i.pop()).type?((n=n.concat(t)).push(a[u]),i.push(n)):void 0===t.type?(t.unshift(n),t.push(a[u]),i.push(t)):i.push({type:1,value:a[u].value(n.value,t.value)})):12===a[u].type?(void 0!==(t=i.pop()).type&&(t=[t]),n=i.pop(),o=i.pop(),i.push({type:1,value:a[u].value(o.value,n.value,new r(t))})):13===a[u].type&&(s?i.push({value:e[a[u].value],type:3}):i.push([a[u]]));if(i.length>1)throw new r.Exception("Uncaught Syntax error");return i[0].value>1e15?"Infinity":parseFloat(i[0].value.toFixed(15))},r.eval=function(e,t,n){return void 0===t?this.lex(e).toPostfix().postfixEval():void 0===n?void 0!==t.length?this.lex(e,t).toPostfix().postfixEval():this.lex(e).toPostfix().postfixEval(t):this.lex(e,t).toPostfix().postfixEval(n)},e.exports=r},8859:(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,s="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&u&&"function"==typeof u.get?u.get:null,l=s&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,y=Object.prototype.toString,g=Function.prototype.toString,m=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,x=String.prototype.toLowerCase,O=RegExp.prototype.test,S=Array.prototype.concat,k=Array.prototype.join,T=Array.prototype.slice,j=Math.floor,E="function"==typeof BigInt?BigInt.prototype.valueOf:null,M=Object.getOwnPropertySymbols,A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,N="function"==typeof Symbol&&"object"==typeof Symbol.iterator,P="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,_=Object.prototype.propertyIsEnumerable,R=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function C(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||O.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-j(-e):j(e);if(r!==e){var o=String(r),i=v.call(t,o.length+1);return b.call(o,n,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var D=n(2634),F=D.custom,U=W(F)?F:null;function L(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function I(e){return b.call(String(e),/"/g,""")}function B(e){return!("[object Array]"!==q(e)||P&&"object"==typeof e&&P in e)}function z(e){return!("[object RegExp]"!==q(e)||P&&"object"==typeof e&&P in e)}function W(e){if(N)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!A)return!1;try{return A.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,r,o){var s=n||{};if($(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if($(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!$(s,"customInspect")||s.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if($(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if($(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var y=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return Y(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var w=String(t);return y?C(t,w):w}if("bigint"==typeof t){var O=String(t)+"n";return y?C(t,O):O}var j=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=j&&j>0&&"object"==typeof t)return B(t)?"[Array]":"[Object]";var M,F=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=k.call(Array(e.indent+1)," ")}return{base:n,prev:k.call(Array(t+1),n)}}(s,r);if(void 0===o)o=[];else if(V(o,t)>=0)return"[Circular]";function H(t,n,i){if(n&&(o=T.call(o)).push(n),i){var a={depth:s.depth};return $(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,o)}return e(t,s,r+1,o)}if("function"==typeof t&&!z(t)){var G=function(e){if(e.name)return e.name;var t=m.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),ee=K(t,H);return"[Function"+(G?": "+G:" (anonymous)")+"]"+(ee.length>0?" { "+k.call(ee,", ")+" }":"")}if(W(t)){var te=N?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):A.call(t);return"object"!=typeof t||N?te:J(te)}if((M=t)&&"object"==typeof M&&("undefined"!=typeof HTMLElement&&M instanceof HTMLElement||"string"==typeof M.nodeName&&"function"==typeof M.getAttribute)){for(var ne="<"+x.call(String(t.nodeName)),re=t.attributes||[],oe=0;oe<re.length;oe++)ne+=" "+re[oe].name+"="+L(I(re[oe].value),"double",s);return ne+=">",t.childNodes&&t.childNodes.length&&(ne+="..."),ne+"</"+x.call(String(t.nodeName))+">"}if(B(t)){if(0===t.length)return"[]";var ie=K(t,H);return F&&!function(e){for(var t=0;t<e.length;t++)if(V(e[t],"\n")>=0)return!1;return!0}(ie)?"["+Q(ie,F)+"]":"[ "+k.call(ie,", ")+" ]"}if(function(e){return!("[object Error]"!==q(e)||P&&"object"==typeof e&&P in e)}(t)){var ae=K(t,H);return"cause"in Error.prototype||!("cause"in t)||_.call(t,"cause")?0===ae.length?"["+String(t)+"]":"{ ["+String(t)+"] "+k.call(ae,", ")+" }":"{ ["+String(t)+"] "+k.call(S.call("[cause]: "+H(t.cause),ae),", ")+" }"}if("object"==typeof t&&u){if(U&&"function"==typeof t[U]&&D)return D(t,{depth:j-r});if("symbol"!==u&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var se=[];return a.call(t,(function(e,n){se.push(H(n,t,!0)+" => "+H(e,t))})),Z("Map",i.call(t),se,F)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ue=[];return l.call(t,(function(e){ue.push(H(e,t))})),Z("Set",c.call(t),ue,F)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return X("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return X("WeakSet");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{return h.call(e),!0}catch(e){}return!1}(t))return X("WeakRef");if(function(e){return!("[object Number]"!==q(e)||P&&"object"==typeof e&&P in e)}(t))return J(H(Number(t)));if(function(e){if(!e||"object"!=typeof e||!E)return!1;try{return E.call(e),!0}catch(e){}return!1}(t))return J(H(E.call(t)));if(function(e){return!("[object Boolean]"!==q(e)||P&&"object"==typeof e&&P in e)}(t))return J(d.call(t));if(function(e){return!("[object String]"!==q(e)||P&&"object"==typeof e&&P in e)}(t))return J(H(String(t)));if(!function(e){return!("[object Date]"!==q(e)||P&&"object"==typeof e&&P in e)}(t)&&!z(t)){var ce=K(t,H),le=R?R(t)===Object.prototype:t instanceof Object||t.constructor===Object,fe=t instanceof Object?"":"null prototype",pe=!le&&P&&Object(t)===t&&P in t?v.call(q(t),8,-1):fe?"Object":"",he=(le||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(pe||fe?"["+k.call(S.call([],pe||[],fe||[]),": ")+"] ":"");return 0===ce.length?he+"{}":F?he+"{"+Q(ce,F)+"}":he+"{ "+k.call(ce,", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function $(e,t){return H.call(e,t)}function q(e){return y.call(e)}function V(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function Y(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Y(v.call(e,0,t.maxStringLength),t)+r}return L(b.call(b.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":"")+w.call(t.toString(16))}function J(e){return"Object("+e+")"}function X(e){return e+" { ? }"}function Z(e,t,n,r){return e+" ("+t+") {"+(r?Q(n,r):k.call(n,", "))+"}"}function Q(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+k.call(e,","+n)+"\n"+t.prev}function K(e,t){var n=B(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=$(e,o)?t(e[o],e):""}var i,a="function"==typeof M?M(e):[];if(N){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in e)$(e,u)&&(n&&String(Number(u))===u&&u<e.length||N&&i["$"+u]instanceof Symbol||(O.call(/[^\w$]/,u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"==typeof M)for(var c=0;c<a.length;c++)_.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}},2694:(e,t,n)=>{"use strict";var r=n(6925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4765:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC3986";e.exports={default:r,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:r}},5373:(e,t,n)=>{"use strict";var r=n(8636),o=n(2642),i=n(4765);e.exports={formats:i,parse:o,stringify:r}},2642:(e,t,n)=>{"use strict";var r=n(7720),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),c=s?i.slice(0,s.index):i,l=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}for(var f=0;n.depth>0&&null!==(s=a.exec(i))&&f<n.depth;){if(f+=1,!n.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(s[1])}return s&&l.push("["+i.slice(s.index)+"]"),function(e,t,n,r){for(var o=r?t:u(t,n),i=e.length-1;i>=0;--i){var a,s=e[i];if("[]"===s&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(c,10);n.parseArrays||""!==c?!isNaN(l)&&s!==c&&String(l)===c&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=o:"__proto__"!==c&&(a[c]=o):a={0:o}}o=a}return o}(l,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(void 0!==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=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===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)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,c={},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,p=l.split(t.delimiter,f),h=-1,d=t.charset;if(t.charsetSentinel)for(n=0;n<p.length;++n)0===p[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[n]?d="utf-8":"utf8=%26%2310003%3B"===p[n]&&(d="iso-8859-1"),h=n,n=p.length);for(n=0;n<p.length;++n)if(n!==h){var y,g,m=p[n],v=m.indexOf("]="),b=-1===v?m.indexOf("="):v+1;-1===b?(y=t.decoder(m,a.decoder,d,"key"),g=t.strictNullHandling?null:""):(y=t.decoder(m.slice(0,b),a.decoder,d,"key"),g=r.maybeMap(u(m.slice(b+1),t),(function(e){return t.decoder(e,a.decoder,d,"value")}))),g&&t.interpretNumericEntities&&"iso-8859-1"===d&&(g=s(g)),m.indexOf("[]=")>-1&&(g=i(g)?[g]:g),o.call(c,y)?c[y]=r.combine(c[y],g):c[y]=g}return c}(e,n):e,f=n.plainObjects?Object.create(null):{},p=Object.keys(l),h=0;h<p.length;++h){var d=p[h],y=c(d,l[d],n,"string"==typeof e);f=r.merge(f,y,n)}return!0===n.allowSparse?f:r.compact(f)}},8636:(e,t,n)=>{"use strict";var r=n(920),o=n(7720),i=n(4765),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},u=Array.isArray,c=String.prototype.split,l=Array.prototype.push,f=function(e,t){l.apply(e,u(t)?t:[t])},p=Date.prototype.toISOString,h=i.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(e){return p.call(e)},skipNulls:!1,strictNullHandling:!1},y={},g=function e(t,n,i,a,s,l,p,h,g,m,v,b,w,x,O,S){for(var k,T=t,j=S,E=0,M=!1;void 0!==(j=j.get(y))&&!M;){var A=j.get(t);if(E+=1,void 0!==A){if(A===E)throw new RangeError("Cyclic object value");M=!0}void 0===j.get(y)&&(E=0)}if("function"==typeof h?T=h(n,T):T instanceof Date?T=v(T):"comma"===i&&u(T)&&(T=o.maybeMap(T,(function(e){return e instanceof Date?v(e):e}))),null===T){if(s)return p&&!x?p(n,d.encoder,O,"key",b):n;T=""}if("string"==typeof(k=T)||"number"==typeof k||"boolean"==typeof k||"symbol"==typeof k||"bigint"==typeof k||o.isBuffer(T)){if(p){var N=x?n:p(n,d.encoder,O,"key",b);if("comma"===i&&x){for(var P=c.call(String(T),","),_="",R=0;R<P.length;++R)_+=(0===R?"":",")+w(p(P[R],d.encoder,O,"value",b));return[w(N)+(a&&u(T)&&1===P.length?"[]":"")+"="+_]}return[w(N)+"="+w(p(T,d.encoder,O,"value",b))]}return[w(n)+"="+w(String(T))]}var C,D=[];if(void 0===T)return D;if("comma"===i&&u(T))C=[{value:T.length>0?T.join(",")||null:void 0}];else if(u(h))C=h;else{var F=Object.keys(T);C=g?F.sort(g):F}for(var U=a&&u(T)&&1===T.length?n+"[]":n,L=0;L<C.length;++L){var I=C[L],B="object"==typeof I&&void 0!==I.value?I.value:T[I];if(!l||null!==B){var z=u(T)?"function"==typeof i?i(U,I):U:U+(m?"."+I:"["+I+"]");S.set(t,E);var W=r();W.set(y,S),f(D,e(B,z,i,a,s,l,p,h,g,m,v,b,w,x,O,W))}}return D};e.exports=function(e,t){var n,o=e,c=function(e){if(!e)return d;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||d.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=i.formatters[n],o=d.filter;return("function"==typeof e.filter||u(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:void 0===e.allowDots?d.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,delimiter:void 0===e.delimiter?d.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:d.encode,encoder:"function"==typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"==typeof c.filter?o=(0,c.filter)("",o):u(c.filter)&&(n=c.filter);var l,p=[];if("object"!=typeof o||null===o)return"";l=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var h=s[l];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var y="comma"===h&&t&&t.commaRoundTrip;n||(n=Object.keys(o)),c.sort&&n.sort(c.sort);for(var m=r(),v=0;v<n.length;++v){var b=n[v];c.skipNulls&&null===o[b]||f(p,g(o[b],b,h,y,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,m))}var w=p.join(c.delimiter),x=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?x+="utf8=%26%2310003%3B&":x+="utf8=%E2%9C%93&"),w.length>0?x+w:""}},7720:(e,t,n)=>{"use strict";var r=n(4765),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}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],a=o.obj[o.prop],s=Object.keys(a),u=0;u<s.length;++u){var c=s[u],l=a[c];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:a,prop:c}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,o,i){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var u="",c=0;c<s.length;++c){var l=s.charCodeAt(c);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===r.RFC1738&&(40===l||41===l)?u+=s.charAt(c):l<128?u+=a[l]:l<2048?u+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?u+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(c+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(c)),u+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return u},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(i(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return i(t)&&!i(n)&&(a=s(t,r)),i(t)&&i(n)?(n.forEach((function(n,i){if(o.call(t,i)){var a=t[i];a&&"object"==typeof a&&n&&"object"==typeof n?t[i]=e(a,n,r):t.push(n)}else t[i]=n})),t):Object.keys(n).reduce((function(t,i){var a=n[i];return o.call(t,i)?t[i]=e(t[i],a,r):t[i]=a,t}),a)}}},645:(e,t,n)=>{var r,o=n(5177),i=n(9329),a=n(4985),s=/(\+|\-|\*|\\|[^a-z]|)(\s*)(\()/g;e.exports=function(e,t){return r=0,t=Math.pow(10,void 0===t?5:t),e=e.replace(/\n+/g," "),i(e,/((?:\-[a-z]+\-)?calc)\(/,(function e(n,i,u){if(r++>100)throw r=0,new Error("Call stack overflow for "+u);if(""===n)throw new Error(i+"(): '"+u+"' must contain a non-whitespace string");n=function(t,n){for(var r,i="",a=t=t.replace(/((?:\-[a-z]+\-)?calc)/g,"");r=s.exec(a);){r[0].index>0&&(i+=a.substring(0,r[0].index));var u=o("(",")",a.substring([0].index));if(""===u.body)throw new Error("'"+t+"' must contain a non-whitespace string");var c=e(u.body,"",n);i+=u.pre+c,a=u.post}return i+a}(n,u);var c=function(e){for(var t=[],n=[],r=/[\.0-9]([%a-z]+)/gi,o=r.exec(e);o;)o&&o[1]&&(-1===n.indexOf(o[1].toLowerCase())&&(t.push(o[1]),n.push(o[1].toLowerCase())),o=r.exec(e));return t}(n);if(c.length>1||n.indexOf("var(")>-1)return i+"("+n+")";var l=c[0]||"";"%"===l&&(n=n.replace(/\b[0-9\.]+%/g,(function(e){return.01*parseFloat(e.slice(0,-1))})));var f,p=n.replace(new RegExp(l,"gi"),"");try{f=a.eval(p)}catch(e){return i+"("+n+")"}return"%"===l&&(f*=100),(i.length||"%"===l)&&(f=Math.round(f*t)/t),f+l}))}},5177:e=>{function t(e,t,o){e instanceof RegExp&&(e=n(e,o)),t instanceof RegExp&&(t=n(t,o));var i=r(e,t,o);return i&&{start:i[0],end:i[1],pre:o.slice(0,i[0]),body:o.slice(i[0]+e.length,i[1]),post:o.slice(i[1]+t.length)}}function n(e,t){var n=t.match(e);return n?n[0]:null}function r(e,t,n){var r,o,i,a,s,u=n.indexOf(e),c=n.indexOf(t,u+1),l=u;if(u>=0&&c>0){for(r=[],i=n.length;l>=0&&!s;)l==u?(r.push(l),u=n.indexOf(e,l+1)):1==r.length?s=[r.pop(),c]:((o=r.pop())<i&&(i=o,a=c),c=n.indexOf(t,l+1)),l=u<c&&u>=0?u:c;r.length&&(s=[i,a])}return s}e.exports=t,t.range=r},9329:(e,t,n)=>{var r=n(8505);e.exports=function e(t,n,o){var i=t;return function(e,t){var n=[],o="string"==typeof t?new RegExp("\\b("+t+")\\("):t;do{var i=o.exec(e);if(!i)return n;if(void 0===i[1])throw new Error("Missing the first couple of parenthesis to get the function identifier in "+t);var a=i[1],s=i.index,u=r("(",")",e.substring(s));if(!u||u.start!==i[0].length-1)throw new SyntaxError(a+"(): missing closing ')' in the value '"+e+"'");n.push({matches:u,functionIdentifier:a}),e=u.post}while(o.test(e));return n}(t,n).reduce((function(t,r){return t.replace(r.functionIdentifier+"("+r.matches.body+")",function(t,n,r,o,i){return r(e(t,i,r),n,o)}(r.matches.body,r.functionIdentifier,o,i,n))}),t)}},920:(e,t,n)=>{"use strict";var r=n(9750),o=n(8648),i=n(8859),a=r("%TypeError%"),s=r("%WeakMap%",!0),u=r("%Map%",!0),c=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),p=o("Map.prototype.get",!0),h=o("Map.prototype.set",!0),d=o("Map.prototype.has",!0),y=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+i(e))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return c(e,r)}else if(u){if(t)return p(t,r)}else if(n)return function(e,t){var n=y(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return f(e,r)}else if(u){if(t)return d(t,r)}else if(n)return function(e,t){return!!y(e,t)}(n,r);return!1},set:function(r,o){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),l(e,r,o)):u?(t||(t=new u),h(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=y(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r}},8648:(e,t,n)=>{"use strict";var r=n(9750),o=n(6420),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}},6420:(e,t,n)=>{"use strict";var r=n(6316),o=n(9750),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||r.call(a,i),u=o("%Object.getOwnPropertyDescriptor%",!0),c=o("%Object.defineProperty%",!0),l=o("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=s(r,a,arguments);return u&&c&&u(t,"length").configurable&&c(t,"length",{value:1+l(0,e.length-(arguments.length-1))}),t};var f=function(){return s(r,i,arguments)};c?c(e.exports,"apply",{value:f}):e.exports.apply=f},1968: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),s=[],u=0;u<a;u++)s.push("$"+u);if(o=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var n=r.apply(this,i.concat(t.call(arguments)));return Object(n)===n?n:this}return r.apply(e,i.concat(t.call(arguments)))})),r.prototype){var c=function(){};c.prototype=r.prototype,o.prototype=new c,c.prototype=null}return o}},6316:(e,t,n)=>{"use strict";var r=n(1968);e.exports=Function.prototype.bind||r},9750:(e,t,n)=>{"use strict";var r,o=SyntaxError,i=Function,a=TypeError,s=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(e){u=null}var c=function(){throw new a},l=u?function(){try{return c}catch(e){try{return u(arguments,"callee").get}catch(e){return c}}}():c,f=n(4039)(),p=Object.getPrototypeOf||function(e){return e.__proto__},h={},d="undefined"==typeof Uint8Array?r:p(Uint8Array),y={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":f?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?p(p([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?p((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f?p((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?p(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":l,"%TypedArray%":d,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet},g=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(n=p(o.prototype))}return y[t]=n,n},m={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=n(6316),b=n(9030),w=v.call(Function.call,Array.prototype.concat),x=v.call(Function.apply,Array.prototype.splice),O=v.call(Function.call,String.prototype.replace),S=v.call(Function.call,String.prototype.slice),k=v.call(Function.call,RegExp.prototype.exec),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,j=/\\(\\)?/g,E=function(e,t){var n,r=e;if(b(m,r)&&(r="%"+(n=m[r])[0]+"%"),b(y,r)){var i=y[r];if(i===h&&(i=g(r)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===k(/^%?[^%]*%?$/g,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=S(e,0,1),n=S(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 O(e,T,(function(e,t,n,o){r[r.length]=n?O(o,j,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",i=E("%"+r+"%",t),s=i.name,c=i.value,l=!1,f=i.alias;f&&(r=f[0],x(n,w([0,1],f)));for(var p=1,h=!0;p<n.length;p+=1){var d=n[p],g=S(d,0,1),m=S(d,-1);if(('"'===g||"'"===g||"`"===g||'"'===m||"'"===m||"`"===m)&&g!==m)throw new o("property names with quotes must have matching quotes");if("constructor"!==d&&h||(l=!0),b(y,s="%"+(r+="."+d)+"%"))c=y[s];else if(null!=c){if(!(d in c)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&p+1>=n.length){var v=u(c,d);c=(h=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:c[d]}else h=b(c,d),c=c[d];h&&!l&&(y[s]=c)}}return c}},7592:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(2280),o={};for(const e in r)"default"!==e&&(o[e]=()=>r[e]);n.d(t,o);const i=r},2280:t=>{"use strict";t.exports=e},2634:()=>{},6942:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{"use strict";r.r(o),r.d(o,{default:()=>Mu});var e={};r.r(e),r.d(e,{hasBrowserEnv:()=>oe,hasStandardBrowserEnv:()=>ie,hasStandardBrowserWebWorkerEnv:()=>se});var t=r(7592),n=r(2280);function i(e,t){return function(){return e.apply(t,arguments)}}const{toString:a}=Object.prototype,{getPrototypeOf:s}=Object,u=(c=Object.create(null),e=>{const t=a.call(e);return c[t]||(c[t]=t.slice(8,-1).toLowerCase())});var c;const l=e=>(e=e.toLowerCase(),t=>u(t)===e),f=e=>t=>typeof t===e,{isArray:p}=Array,h=f("undefined"),d=l("ArrayBuffer"),y=f("string"),g=f("function"),m=f("number"),v=e=>null!==e&&"object"==typeof e,b=e=>{if("object"!==u(e))return!1;const t=s(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},w=l("Date"),x=l("File"),O=l("Blob"),S=l("FileList"),k=l("URLSearchParams");function T(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),p(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function j(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const E="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,M=e=>!h(e)&&e!==E,A=(N="undefined"!=typeof Uint8Array&&s(Uint8Array),e=>N&&e instanceof N);var N;const P=l("HTMLFormElement"),_=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),R=l("RegExp"),C=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};T(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},D="abcdefghijklmnopqrstuvwxyz",F="0123456789",U={DIGIT:F,ALPHA:D,ALPHA_DIGIT:D+D.toUpperCase()+F},L=l("AsyncFunction"),I={isArray:p,isArrayBuffer:d,isBuffer:function(e){return null!==e&&!h(e)&&null!==e.constructor&&!h(e.constructor)&&g(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||g(e.append)&&("formdata"===(t=u(e))||"object"===t&&g(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer),t},isString:y,isNumber:m,isBoolean:e=>!0===e||!1===e,isObject:v,isPlainObject:b,isUndefined:h,isDate:w,isFile:x,isBlob:O,isRegExp:R,isFunction:g,isStream:e=>v(e)&&g(e.pipe),isURLSearchParams:k,isTypedArray:A,isFileList:S,forEach:T,merge:function e(){const{caseless:t}=M(this)&&this||{},n={},r=(r,o)=>{const i=t&&j(n,o)||o;b(n[i])&&b(r)?n[i]=e(n[i],r):b(r)?n[i]=e({},r):p(r)?n[i]=r.slice():n[i]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&T(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(T(t,((t,r)=>{n&&g(t)?e[r]=i(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const u={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||u[a]||(t[a]=e[a],u[a]=!0);e=!1!==n&&s(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:u,kindOfTest:l,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(p(e))return e;let t=e.length;if(!m(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:P,hasOwnProperty:_,hasOwnProp:_,reduceDescriptors:C,freezeMethods:e=>{C(e,((t,n)=>{if(g(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];g(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return p(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:j,global:E,isContextDefined:M,ALPHABET:U,generateString:(e=16,t=U.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&g(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(v(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=p(e)?[]:{};return T(e,((e,t)=>{const i=n(e,r+1);!h(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:L,isThenable:e=>e&&(v(e)||g(e))&&g(e.then)&&g(e.catch)};function B(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}I.inherits(B,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:I.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const z=B.prototype,W={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{W[e]={value:e}})),Object.defineProperties(B,W),Object.defineProperty(z,"isAxiosError",{value:!0}),B.from=(e,t,n,r,o,i)=>{const a=Object.create(z);return I.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),B.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const H=B;function $(e){return I.isPlainObject(e)||I.isArray(e)}function q(e){return I.endsWith(e,"[]")?e.slice(0,-2):e}function V(e,t,n){return e?e.concat(t).map((function(e,t){return e=q(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const Y=I.toFlatObject(I,{},null,(function(e){return/^is[A-Z]/.test(e)})),G=function(e,t,n){if(!I.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=I.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!I.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&I.isSpecCompliantForm(t);if(!I.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(I.isDate(e))return e.toISOString();if(!s&&I.isBlob(e))throw new H("Blob is not supported. Use a Buffer instead.");return I.isArrayBuffer(e)||I.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(I.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(I.isArray(e)&&function(e){return I.isArray(e)&&!e.some($)}(e)||(I.isFileList(e)||I.endsWith(n,"[]"))&&(s=I.toArray(e)))return n=q(n),s.forEach((function(e,r){!I.isUndefined(e)&&null!==e&&t.append(!0===a?V([n],r,i):null===a?n:n+"[]",u(e))})),!1;return!!$(e)||(t.append(V(o,n,i),u(e)),!1)}const l=[],f=Object.assign(Y,{defaultVisitor:c,convertValue:u,isVisitable:$});if(!I.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!I.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),I.forEach(n,(function(n,i){!0===(!(I.isUndefined(n)||null===n)&&o.call(t,n,I.isString(i)?i.trim():i,r,f))&&e(n,r?r.concat(i):[i])})),l.pop()}}(e),t};function J(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function X(e,t){this._pairs=[],e&&G(e,this,t)}const Z=X.prototype;Z.append=function(e,t){this._pairs.push([e,t])},Z.toString=function(e){const t=e?function(t){return e.call(this,t,J)}:J;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const Q=X;function K(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ee(e,t,n){if(!t)return e;const r=n&&n.encode||K,o=n&&n.serialize;let i;if(i=o?o(t,n):I.isURLSearchParams(t)?t.toString():new Q(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const te=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){I.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ne={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},re={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Q,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},oe="undefined"!=typeof window&&"undefined"!=typeof document,ie=(ae="undefined"!=typeof navigator&&navigator.product,oe&&["ReactNative","NativeScript","NS"].indexOf(ae)<0);var ae;const se="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ue={...e,...re},ce=function(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;return i=!i&&I.isArray(r)?r.length:i,s?(I.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&I.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&I.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a)}if(I.isFormData(e)&&I.isFunction(e.entries)){const n={};return I.forEachEntry(e,((e,r)=>{t(function(e){return I.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null},le={transitional:ne,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=I.isObject(e);if(o&&I.isHTMLForm(e)&&(e=new FormData(e)),I.isFormData(e))return r?JSON.stringify(ce(e)):e;if(I.isArrayBuffer(e)||I.isBuffer(e)||I.isStream(e)||I.isFile(e)||I.isBlob(e))return e;if(I.isArrayBufferView(e))return e.buffer;if(I.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return G(e,new ue.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return ue.isNode&&I.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=I.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return G(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(I.isString(e))try{return(0,JSON.parse)(e),I.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||le.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&I.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw H.from(e,H.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ue.classes.FormData,Blob:ue.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};I.forEach(["delete","get","head","post","put","patch"],(e=>{le.headers[e]={}}));const fe=le,pe=I.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),he=Symbol("internals");function de(e){return e&&String(e).trim().toLowerCase()}function ye(e){return!1===e||null==e?e:I.isArray(e)?e.map(ye):String(e)}function ge(e,t,n,r,o){return I.isFunction(r)?r.call(this,t,n):(o&&(t=n),I.isString(t)?I.isString(r)?-1!==t.indexOf(r):I.isRegExp(r)?r.test(t):void 0:void 0)}class me{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=de(t);if(!o)throw new Error("header name must be a non-empty string");const i=I.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=ye(e))}const i=(e,t)=>I.forEach(e,((e,n)=>o(e,n,t)));return I.isPlainObject(e)||e instanceof this.constructor?i(e,t):I.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&pe[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&o(t,e,n),this}get(e,t){if(e=de(e)){const n=I.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(I.isFunction(t))return t.call(this,e,n);if(I.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=de(e)){const n=I.findKey(this,e);return!(!n||void 0===this[n]||t&&!ge(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=de(e)){const o=I.findKey(n,e);!o||t&&!ge(0,n[o],o,t)||(delete n[o],r=!0)}}return I.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!ge(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return I.forEach(this,((r,o)=>{const i=I.findKey(n,o);if(i)return t[i]=ye(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=ye(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return I.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&I.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[he]=this[he]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=de(e);t[r]||(function(e,t){const n=I.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return I.isArray(e)?e.forEach(r):r(e),this}}me.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),I.reduceDescriptors(me.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),I.freezeMethods(me);const ve=me;function be(e,t){const n=this||fe,r=t||n,o=ve.from(r.headers);let i=r.data;return I.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function we(e){return!(!e||!e.__CANCEL__)}function xe(e,t,n){H.call(this,null==e?"canceled":e,H.ERR_CANCELED,t,n),this.name="CanceledError"}I.inherits(xe,H,{__CANCEL__:!0});const Oe=xe,Se=ue.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];I.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),I.isString(r)&&a.push("path="+r),I.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function ke(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Te=ue.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=I.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};function je(e,t){let n=0;const r=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const u=Date.now(),c=r[a];o||(o=u),n[i]=s,r[i]=u;let l=a,f=0;for(;l!==i;)f+=n[l++],l%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-o<t)return;const p=c&&u-c;return p?Math.round(1e3*f/p):void 0}}(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-n,u=r(s);n=i;const c={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}const Ee="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const o=ve.from(e.headers).normalize();let i,a,{responseType:s,withXSRFToken:u}=e;function c(){e.cancelToken&&e.cancelToken.unsubscribe(i),e.signal&&e.signal.removeEventListener("abort",i)}if(I.isFormData(r))if(ue.hasStandardBrowserEnv||ue.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if(!1!==(a=o.getContentType())){const[e,...t]=a?a.split(";").map((e=>e.trim())).filter(Boolean):[];o.setContentType([e||"multipart/form-data",...t].join("; "))}let l=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(t+":"+n))}const f=ke(e.baseURL,e.url);function p(){if(!l)return;const r=ve.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new H("Request failed with status code "+n.status,[H.ERR_BAD_REQUEST,H.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),c()}),(function(e){n(e),c()}),{data:s&&"text"!==s&&"json"!==s?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:r,config:e,request:l}),l=null}if(l.open(e.method.toUpperCase(),ee(f,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(p)},l.onabort=function(){l&&(n(new H("Request aborted",H.ECONNABORTED,e,l)),l=null)},l.onerror=function(){n(new H("Network Error",H.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||ne;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new H(t,r.clarifyTimeoutError?H.ETIMEDOUT:H.ECONNABORTED,e,l)),l=null},ue.hasStandardBrowserEnv&&(u&&I.isFunction(u)&&(u=u(e)),u||!1!==u&&Te(f))){const t=e.xsrfHeaderName&&e.xsrfCookieName&&Se.read(e.xsrfCookieName);t&&o.set(e.xsrfHeaderName,t)}void 0===r&&o.setContentType(null),"setRequestHeader"in l&&I.forEach(o.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),I.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),s&&"json"!==s&&(l.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&l.addEventListener("progress",je(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",je(e.onUploadProgress)),(e.cancelToken||e.signal)&&(i=t=>{l&&(n(!t||t.type?new Oe(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(i),e.signal&&(e.signal.aborted?i():e.signal.addEventListener("abort",i)));const h=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(f);h&&-1===ue.protocols.indexOf(h)?n(new H("Unsupported protocol "+h+":",H.ERR_BAD_REQUEST,e)):l.send(r||null)}))},Me={http:null,xhr:Ee};I.forEach(Me,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Ae=e=>`- ${e}`,Ne=e=>I.isFunction(e)||null===e||!1===e,Pe=e=>{e=I.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!Ne(n)&&(r=Me[(t=String(n)).toLowerCase()],void 0===r))throw new H(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(Ae).join("\n"):" "+Ae(e[0]):"as no adapter specified";throw new H("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function _e(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Oe(null,e)}function Re(e){return _e(e),e.headers=ve.from(e.headers),e.data=be.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Pe(e.adapter||fe.adapter)(e).then((function(t){return _e(e),t.data=be.call(e,e.transformResponse,t),t.headers=ve.from(t.headers),t}),(function(t){return we(t)||(_e(e),t&&t.response&&(t.response.data=be.call(e,e.transformResponse,t.response),t.response.headers=ve.from(t.response.headers))),Promise.reject(t)}))}const Ce=e=>e instanceof ve?{...e}:e;function De(e,t){t=t||{};const n={};function r(e,t,n){return I.isPlainObject(e)&&I.isPlainObject(t)?I.merge.call({caseless:n},e,t):I.isPlainObject(t)?I.merge({},t):I.isArray(t)?t.slice():t}function o(e,t,n){return I.isUndefined(t)?I.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!I.isUndefined(t))return r(void 0,t)}function a(e,t){return I.isUndefined(t)?I.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>o(Ce(e),Ce(t),!0)};return I.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=u[r]||o,a=i(e[r],t[r],r);I.isUndefined(a)&&i!==s||(n[r]=a)})),n}const Fe={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Fe[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Ue={};Fe.transitional=function(e,t,n){function r(e,t){return"[Axios v1.6.8] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new H(r(o," has been removed"+(t?" in "+t:"")),H.ERR_DEPRECATED);return t&&!Ue[o]&&(Ue[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};const Le={assertOptions:function(e,t,n){if("object"!=typeof e)throw new H("options must be an object",H.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new H("option "+i+" must be "+n,H.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new H("Unknown option "+i,H.ERR_BAD_OPTION)}},validators:Fe},Ie=Le.validators;class Be{constructor(e){this.defaults=e,this.interceptors={request:new te,response:new te}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=De(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Le.assertOptions(n,{silentJSONParsing:Ie.transitional(Ie.boolean),forcedJSONParsing:Ie.transitional(Ie.boolean),clarifyTimeoutError:Ie.transitional(Ie.boolean)},!1),null!=r&&(I.isFunction(r)?t.paramsSerializer={serialize:r}:Le.assertOptions(r,{encode:Ie.function,serialize:Ie.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&I.merge(o.common,o[t.method]);o&&I.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=ve.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));let l,f=0;if(!s){const e=[Re.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,u),l=e.length,c=Promise.resolve(t);f<l;)c=c.then(e[f++],e[f++]);return c}l=a.length;let p=t;for(f=0;f<l;){const e=a[f++],t=a[f++];try{p=e(p)}catch(e){t.call(this,e);break}}try{c=Re.call(this,p)}catch(e){return Promise.reject(e)}for(f=0,l=u.length;f<l;)c=c.then(u[f++],u[f++]);return c}getUri(e){return ee(ke((e=De(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}I.forEach(["delete","get","head","options"],(function(e){Be.prototype[e]=function(t,n){return this.request(De(n||{},{method:e,url:t,data:(n||{}).data}))}})),I.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(De(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Be.prototype[e]=t(),Be.prototype[e+"Form"]=t(!0)}));const ze=Be;class We{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Oe(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new We((function(t){e=t})),cancel:e}}}const He=We,$e={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($e).forEach((([e,t])=>{$e[t]=e}));const qe=$e,Ve=function e(t){const n=new ze(t),r=i(ze.prototype.request,n);return I.extend(r,ze.prototype,n,{allOwnKeys:!0}),I.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(De(t,n))},r}(fe);Ve.Axios=ze,Ve.CanceledError=Oe,Ve.CancelToken=He,Ve.isCancel=we,Ve.VERSION="1.6.8",Ve.toFormData=G,Ve.AxiosError=H,Ve.Cancel=Ve.CanceledError,Ve.all=function(e){return Promise.all(e)},Ve.spread=function(e){return function(t){return e.apply(null,t)}},Ve.isAxiosError=function(e){return I.isObject(e)&&!0===e.isAxiosError},Ve.mergeConfig=De,Ve.AxiosHeaders=ve,Ve.formToJSON=e=>ce(I.isHTMLForm(e)?new FormData(e):e),Ve.getAdapter=Pe,Ve.HttpStatusCode=qe,Ve.default=Ve;const Ye=Ve;var Ge=r(5373),Je=r.n(Ge);const Xe="/modules/monitoring",Ze="/index.php",Qe=`${Xe}${Ze}`,Ke=`${Xe}/public${Ze}`,et=e=>((e.headers.hasOwnProperty("location")&&(e.headers.location.indexOf("login_up.php")||e.headers.location.indexOf("login.php"))||"string"==typeof e.data&&(e.data.indexOf("login_up.php")||e.data.indexOf("login.php")))&&location.reload(),e),tt=e=>(e.response&&400===e.response.status&&!e.response.data&&location.reload(),Promise.reject(e)),nt=(()=>{const e=Ye.create({baseURL:Qe,headers:{"Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},responseType:"json",paramsSerializer:e=>Je().stringify(e,{arrayFormat:"brackets",skipNulls:!0})});return e.interceptors.response.use(et,tt),e})();var rt=r(5556),ot=r.n(rt),it=r(6942),at=r.n(it),st=r(1688),ut=r.n(st),ct=["top","left","transform","className","children","innerRef"];function lt(){return lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lt.apply(this,arguments)}function ft(e){var n=e.top,r=void 0===n?0:n,o=e.left,i=void 0===o?0:o,a=e.transform,s=e.className,u=e.children,c=e.innerRef,l=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,ct);return t.default.createElement("g",lt({ref:c,className:at()("visx-group",s),transform:a||"translate("+i+", "+r+")"},l),u)}ft.propTypes={top:ut().number,left:ut().number,transform:ut().string,className:ut().string,children:ut().node,innerRef:ut().oneOfType([ut().string,ut().func,ut().object])};var pt=Math.PI,ht=2*pt,dt=1e-6,yt=ht-dt;function gt(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function mt(){return new gt}gt.prototype=mt.prototype={constructor:gt,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,o,i){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+o)+","+(this._y1=+i)},arcTo:function(e,t,n,r,o){e=+e,t=+t,n=+n,r=+r,o=+o;var i=this._x1,a=this._y1,s=n-e,u=r-t,c=i-e,l=a-t,f=c*c+l*l;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(f>dt)if(Math.abs(l*s-u*c)>dt&&o){var p=n-i,h=r-a,d=s*s+u*u,y=p*p+h*h,g=Math.sqrt(d),m=Math.sqrt(f),v=o*Math.tan((pt-Math.acos((d+f-y)/(2*g*m)))/2),b=v/m,w=v/g;Math.abs(b-1)>dt&&(this._+="L"+(e+b*c)+","+(t+b*l)),this._+="A"+o+","+o+",0,0,"+ +(l*p>c*h)+","+(this._x1=e+w*s)+","+(this._y1=t+w*u)}else this._+="L"+(this._x1=e)+","+(this._y1=t)},arc:function(e,t,n,r,o,i){e=+e,t=+t,i=!!i;var a=(n=+n)*Math.cos(r),s=n*Math.sin(r),u=e+a,c=t+s,l=1^i,f=i?r-o:o-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+u+","+c:(Math.abs(this._x1-u)>dt||Math.abs(this._y1-c)>dt)&&(this._+="L"+u+","+c),n&&(f<0&&(f=f%ht+ht),f>yt?this._+="A"+n+","+n+",0,1,"+l+","+(e-a)+","+(t-s)+"A"+n+","+n+",0,1,"+l+","+(this._x1=u)+","+(this._y1=c):f>dt&&(this._+="A"+n+","+n+",0,"+ +(f>=pt)+","+l+","+(this._x1=e+n*Math.cos(o))+","+(this._y1=t+n*Math.sin(o))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};const vt=mt;function bt(e){return function(){return e}}function wt(e){this._context=e}function xt(e){return new wt(e)}function Ot(e){return e[0]}function St(e){return e[1]}wt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var kt=Array.prototype.slice;function Tt(e,t){if((o=e.length)>1)for(var n,r,o,i=1,a=e[t[0]],s=a.length;i<o;++i)for(r=a,a=e[t[i]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function jt(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function Et(e,t){return e[t]}function Mt(e,t){e(t)}function At(e){var t=e.map(Nt);return jt(e).sort((function(e,n){return t[e]-t[n]}))}function Nt(e){for(var t,n=0,r=-1,o=e.length;++r<o;)(t=+e[r][1])&&(n+=t);return n}function Pt(e){for(var t,n=-1,r=0,o=e.length,i=-1/0;++n<o;)(t=+e[n][1])>i&&(i=t,r=n);return r}var _t={ascending:At,descending:function(e){return At(e).reverse()},insideout:function(e){var t,n,r=e.length,o=e.map(Nt),i=function(e){var t=e.map(Pt);return jt(e).sort((function(e,n){return t[e]-t[n]}))}(e),a=0,s=0,u=[],c=[];for(t=0;t<r;++t)n=i[t],a<s?(a+=o[n],u.push(n)):(s+=o[n],c.push(n));return c.reverse().concat(u)},none:jt,reverse:function(e){return jt(e).reverse()}};Object.keys(_t);var Rt={expand:function(e,t){if((r=e.length)>0){for(var n,r,o,i=0,a=e[0].length;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}Tt(e,t)}},diverging:function(e,t){if((s=e.length)>0)for(var n,r,o,i,a,s,u=0,c=e[t[0]].length;u<c;++u)for(i=a=0,n=0;n<s;++n)(o=(r=e[t[n]][u])[1]-r[0])>0?(r[0]=i,r[1]=i+=o):o<0?(r[1]=a,r[0]=a+=o):(r[0]=0,r[1]=o)},none:Tt,silhouette:function(e,t){if((n=e.length)>0){for(var n,r=0,o=e[t[0]],i=o.length;r<i;++r){for(var a=0,s=0;a<n;++a)s+=e[a][r][1]||0;o[r][1]+=o[r][0]=-s/2}Tt(e,t)}},wiggle:function(e,t){if((o=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,o,i=0,a=1;a<r;++a){for(var s=0,u=0,c=0;s<o;++s){for(var l=e[t[s]],f=l[a][1]||0,p=(f-(l[a-1][1]||0))/2,h=0;h<s;++h){var d=e[t[h]];p+=(d[a][1]||0)-(d[a-1][1]||0)}u+=f,c+=p*f}n[a-1][1]+=n[a-1][0]=i,u&&(i-=c/u)}n[a-1][1]+=n[a-1][0]=i,Tt(e,t)}}};Object.keys(Rt);var Ct=["className","top","left","keys","data","curve","defined","x","x0","x1","y0","y1","value","order","offset","color","children"];function Dt(){return Dt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dt.apply(this,arguments)}function Ft(e){var n=e.className,r=e.top,o=e.left,i=e.keys,a=e.data,s=e.curve,u=e.defined,c=e.x,l=e.x0,f=e.x1,p=e.y0,h=e.y1,d=e.value,y=e.order,g=e.offset,m=e.color,v=e.children,b=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,Ct),w=function(e){var t=e.keys,n=e.value,r=e.order,o=e.offset,i=function(){var e=bt([]),t=jt,n=Tt,r=Et;function o(o){var i,a,s=e.apply(this,arguments),u=o.length,c=s.length,l=new Array(c);for(i=0;i<c;++i){for(var f,p=s[i],h=l[i]=new Array(u),d=0;d<u;++d)h[d]=f=[0,+r(o[d],p,d,o)],f.data=o[d];h.key=p}for(i=0,a=t(l);i<c;++i)l[a[i]].index=i;return n(l,a),l}return o.keys=function(t){return arguments.length?(e="function"==typeof t?t:bt(kt.call(t)),o):e},o.value=function(e){return arguments.length?(r="function"==typeof e?e:bt(+e),o):r},o.order=function(e){return arguments.length?(t=null==e?jt:"function"==typeof e?e:bt(kt.call(e)),o):t},o.offset=function(e){return arguments.length?(n=null==e?Tt:e,o):n},o}();return t&&i.keys(t),n&&Mt(i.value,n),r&&i.order(function(e){return e&&_t[e]||_t.none}(r)),o&&i.offset(function(e){return e&&Rt[e]||Rt.none}(o)),i}({keys:i,value:d,order:y,offset:g}),x=function(e){var t=void 0===e?{}:e,n=t.x,r=t.x0,o=t.x1,i=t.y,a=t.y0,s=t.y1,u=t.defined,c=t.curve,l=function(){var e=Ot,t=null,n=bt(0),r=St,o=bt(!0),i=null,a=xt,s=null;function u(u){var c,l,f,p,h,d=u.length,y=!1,g=new Array(d),m=new Array(d);for(null==i&&(s=a(h=vt())),c=0;c<=d;++c){if(!(c<d&&o(p=u[c],c,u))===y)if(y=!y)l=c,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=c-1;f>=l;--f)s.point(g[f],m[f]);s.lineEnd(),s.areaEnd()}y&&(g[c]=+e(p,c,u),m[c]=+n(p,c,u),s.point(t?+t(p,c,u):g[c],r?+r(p,c,u):m[c]))}if(h)return s=null,h+""||null}function c(){return function(){var e=Ot,t=St,n=bt(!0),r=null,o=xt,i=null;function a(a){var s,u,c,l=a.length,f=!1;for(null==r&&(i=o(c=vt())),s=0;s<=l;++s)!(s<l&&n(u=a[s],s,a))===f&&((f=!f)?i.lineStart():i.lineEnd()),f&&i.point(+e(u,s,a),+t(u,s,a));if(c)return i=null,c+""||null}return a.x=function(t){return arguments.length?(e="function"==typeof t?t:bt(+t),a):e},a.y=function(e){return arguments.length?(t="function"==typeof e?e:bt(+e),a):t},a.defined=function(e){return arguments.length?(n="function"==typeof e?e:bt(!!e),a):n},a.curve=function(e){return arguments.length?(o=e,null!=r&&(i=o(r)),a):o},a.context=function(e){return arguments.length?(null==e?r=i=null:i=o(r=e),a):r},a}().defined(o).curve(a).context(i)}return u.x=function(n){return arguments.length?(e="function"==typeof n?n:bt(+n),t=null,u):e},u.x0=function(t){return arguments.length?(e="function"==typeof t?t:bt(+t),u):e},u.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:bt(+e),u):t},u.y=function(e){return arguments.length?(n="function"==typeof e?e:bt(+e),r=null,u):n},u.y0=function(e){return arguments.length?(n="function"==typeof e?e:bt(+e),u):n},u.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:bt(+e),u):r},u.lineX0=u.lineY0=function(){return c().x(e).y(n)},u.lineY1=function(){return c().x(e).y(r)},u.lineX1=function(){return c().x(t).y(n)},u.defined=function(e){return arguments.length?(o="function"==typeof e?e:bt(!!e),u):o},u.curve=function(e){return arguments.length?(a=e,null!=i&&(s=a(i)),u):a},u.context=function(e){return arguments.length?(null==e?i=s=null:s=a(i=e),u):i},u}();return n&&Mt(l.x,n),r&&Mt(l.x0,r),o&&Mt(l.x1,o),i&&Mt(l.y,i),a&&Mt(l.y0,a),s&&Mt(l.y1,s),u&&l.defined(u),c&&l.curve(c),l}({x:c,x0:l,x1:f,y0:p,y1:h,curve:s,defined:u}),O=w(a);return v?t.default.createElement(t.default.Fragment,null,v({stacks:O,path:x,stack:w})):t.default.createElement(ft,{top:r,left:o},O.map((function(e,r){return t.default.createElement("path",Dt({className:at()("visx-stack",n),key:"stack-"+r+"-"+(e.key||""),d:x(e)||"",fill:null==m?void 0:m(e.key,r)},b))})))}var Ut=["className","top","left","keys","data","curve","defined","x","x0","x1","y0","y1","value","order","offset","color","children"];function Lt(){return Lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lt.apply(this,arguments)}function It(e){var n=e.className,r=e.top,o=e.left,i=e.keys,a=e.data,s=e.curve,u=e.defined,c=e.x,l=e.x0,f=e.x1,p=e.y0,h=e.y1,d=e.value,y=e.order,g=e.offset,m=e.color,v=e.children,b=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,Ut);return t.default.createElement(Ft,Lt({className:n,top:r,left:o,keys:i,data:a,curve:s,defined:u,x:c,x0:l,x1:f,y0:p,y1:h,value:d,order:y,offset:g,color:m},b),v||function(e){var r=e.stacks,o=e.path;return r.map((function(e,r){return t.default.createElement("path",Lt({className:at()("visx-area-stack",n),key:"area-stack-"+r+"-"+(e.key||""),d:o(e)||"",fill:null==m?void 0:m(e.key,r)},b))}))})}var Bt=["className","innerRef"];function zt(){return zt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zt.apply(this,arguments)}function Wt(e){var n=e.className,r=e.innerRef,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,Bt);return t.default.createElement("rect",zt({ref:r,className:at()("visx-bar",n)},o))}var Ht=r(5709),$t=r.n(Ht),qt=r(8221),Vt=r.n(qt);function Yt(){return Yt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yt.apply(this,arguments)}var Gt=[],Jt={width:0,height:0,top:0,left:0},Xt=["className","children","debounceTime","ignoreDimensions","initialSize","parentSizeStyles","enableDebounceLeadingCall","resizeObserverPolyfill"],Zt=["parentRef","resize"];function Qt(){return Qt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qt.apply(this,arguments)}function Kt(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var en={width:"100%",height:"100%"};function tn(e){var n=e.className,r=e.children,o=e.debounceTime,i=e.ignoreDimensions,a=e.initialSize,s=e.parentSizeStyles,u=void 0===s?en:s,c=e.enableDebounceLeadingCall,l=void 0===c||c,f=e.resizeObserverPolyfill,p=Kt(e,Xt),h=function(e){var n=void 0===e?{}:e,r=n.initialSize,o=void 0===r?Jt:r,i=n.debounceTime,a=void 0===i?300:i,s=n.ignoreDimensions,u=void 0===s?Gt:s,c=n.enableDebounceLeadingCall,l=void 0===c||c,f=n.resizeObserverPolyfill,p=(0,t.useRef)(null),h=(0,t.useRef)(0),d=(0,t.useState)(Yt({},Jt,o)),y=d[0],g=d[1],m=(0,t.useMemo)((function(){var e=Array.isArray(u)?u:[u];return Vt()((function(t){g((function(n){return Object.keys(n).filter((function(e){return n[e]!==t[e]})).every((function(t){return e.includes(t)}))?n:t}))}),a,{leading:l})}),[a,l,u]);return(0,t.useEffect)((function(){var e=new(f||window.ResizeObserver)((function(e){e.forEach((function(e){var t,n=null!=(t=null==e?void 0:e.contentRect)?t:{},r=n.left,o=n.top,i=n.width,a=n.height;h.current=window.requestAnimationFrame((function(){m({width:i,height:a,top:o,left:r})}))}))}));return p.current&&e.observe(p.current),function(){window.cancelAnimationFrame(h.current),e.disconnect(),m.cancel()}}),[m,f]),Yt({parentRef:p,resize:m},y)}({initialSize:a,debounceTime:o,ignoreDimensions:i,enableDebounceLeadingCall:l,resizeObserverPolyfill:f}),d=h.parentRef,y=h.resize,g=Kt(h,Zt);return t.default.createElement("div",Qt({style:u,ref:d,className:n},p),r(Qt({},g,{ref:d.current,resize:y})))}function nn(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function rn(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function on(e){let t,n,r;function o(e,r,o=0,i=e.length){if(o<i){if(0!==t(r,r))return i;do{const t=o+i>>>1;n(e[t],r)<0?o=t+1:i=t}while(o<i)}return o}return 2!==e.length?(t=nn,n=(t,n)=>nn(e(t),n),r=(t,n)=>e(t)-n):(t=e===nn||e===rn?e:an,n=e,r=e),{left:o,center:function(e,t,n=0,i=e.length){const a=o(e,t,n,i-1);return a>n&&r(e[a-1],t)>-r(e[a],t)?a-1:a},right:function(e,r,o=0,i=e.length){if(o<i){if(0!==t(r,r))return i;do{const t=o+i>>>1;n(e[t],r)<=0?o=t+1:i=t}while(o<i)}return o}}}function an(){return 0}tn.propTypes={className:$t().string,children:$t().func.isRequired};const sn=Math.sqrt(50),un=Math.sqrt(10),cn=Math.sqrt(2);function ln(e,t,n){const r=(t-e)/Math.max(0,n),o=Math.floor(Math.log10(r)),i=r/Math.pow(10,o),a=i>=sn?10:i>=un?5:i>=cn?2:1;let s,u,c;return o<0?(c=Math.pow(10,-o)/a,s=Math.round(e*c),u=Math.round(t*c),s/c<e&&++s,u/c>t&&--u,c=-c):(c=Math.pow(10,o)*a,s=Math.round(e/c),u=Math.round(t/c),s*c<e&&++s,u*c>t&&--u),u<s&&.5<=n&&n<2?ln(e,t,2*n):[s,u,c]}function fn(e,t,n){return ln(e=+e,t=+t,n=+n)[2]}function pn(e,t,n){n=+n;const r=(t=+t)<(e=+e),o=r?fn(t,e,n):fn(e,t,n);return(r?-1:1)*(o<0?1/-o:o)}const hn=1e3,dn=6e4,yn=36e5,gn=864e5,mn=6048e5,vn=31536e6,bn=new Date,wn=new Date;function xn(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=t=>(e(t=new Date(+t)),t),o.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),o.round=e=>{const t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=(e,n)=>(t(e=new Date(+e),null==n?1:Math.floor(n)),e),o.range=(n,r,i)=>{const a=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return a;let s;do{a.push(s=new Date(+n)),t(n,i),e(n)}while(s<n&&n<r);return a},o.filter=n=>xn((t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),((e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})),n&&(o.count=(t,r)=>(bn.setTime(+t),wn.setTime(+r),e(bn),e(wn),Math.floor(n(bn,wn))),o.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?t=>r(t)%e==0:t=>o.count(0,t)%e==0):o:null)),o}const On=xn((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));On.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?xn((t=>{t.setTime(Math.floor(t/e)*e)}),((t,n)=>{t.setTime(+t+n*e)}),((t,n)=>(n-t)/e)):On:null),On.range;const Sn=xn((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*hn)}),((e,t)=>(t-e)/hn),(e=>e.getUTCSeconds())),kn=(Sn.range,xn((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*hn)}),((e,t)=>{e.setTime(+e+t*dn)}),((e,t)=>(t-e)/dn),(e=>e.getMinutes()))),Tn=(kn.range,xn((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*dn)}),((e,t)=>(t-e)/dn),(e=>e.getUTCMinutes()))),jn=(Tn.range,xn((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*hn-e.getMinutes()*dn)}),((e,t)=>{e.setTime(+e+t*yn)}),((e,t)=>(t-e)/yn),(e=>e.getHours()))),En=(jn.range,xn((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*yn)}),((e,t)=>(t-e)/yn),(e=>e.getUTCHours()))),Mn=(En.range,xn((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*dn)/gn),(e=>e.getDate()-1))),An=(Mn.range,xn((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/gn),(e=>e.getUTCDate()-1))),Nn=(An.range,xn((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/gn),(e=>Math.floor(e/gn))));function Pn(e){return xn((t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),((e,t)=>{e.setDate(e.getDate()+7*t)}),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*dn)/mn))}Nn.range;const _n=Pn(0),Rn=Pn(1),Cn=Pn(2),Dn=Pn(3),Fn=Pn(4),Un=Pn(5),Ln=Pn(6);function In(e){return xn((t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)}),((e,t)=>(t-e)/mn))}_n.range,Rn.range,Cn.range,Dn.range,Fn.range,Un.range,Ln.range;const Bn=In(0),zn=In(1),Wn=In(2),Hn=In(3),$n=In(4),qn=In(5),Vn=In(6),Yn=(Bn.range,zn.range,Wn.range,Hn.range,$n.range,qn.range,Vn.range,xn((e=>{e.setDate(1),e.setHours(0,0,0,0)}),((e,t)=>{e.setMonth(e.getMonth()+t)}),((e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())),(e=>e.getMonth()))),Gn=(Yn.range,xn((e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)}),((e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())),(e=>e.getUTCMonth()))),Jn=(Gn.range,xn((e=>{e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,t)=>{e.setFullYear(e.getFullYear()+t)}),((e,t)=>t.getFullYear()-e.getFullYear()),(e=>e.getFullYear())));Jn.every=e=>isFinite(e=Math.floor(e))&&e>0?xn((t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,n)=>{t.setFullYear(t.getFullYear()+n*e)})):null,Jn.range;const Xn=xn((e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)}),((e,t)=>t.getUTCFullYear()-e.getUTCFullYear()),(e=>e.getUTCFullYear()));function Zn(e,t,n,r,o,i){const a=[[Sn,1,hn],[Sn,5,5e3],[Sn,15,15e3],[Sn,30,3e4],[i,1,dn],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,yn],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,gn],[r,2,1728e5],[n,1,mn],[t,1,2592e6],[t,3,7776e6],[e,1,vn]];function s(t,n,r){const o=Math.abs(n-t)/r,i=on((([,,e])=>e)).right(a,o);if(i===a.length)return e.every(pn(t/vn,n/vn,r));if(0===i)return On.every(Math.max(pn(t,n,r),1));const[s,u]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return s.every(u)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const o=n&&"function"==typeof n.range?n:s(e,t,n),i=o?o.range(e,+t+1):[];return r?i.reverse():i},s]}Xn.every=e=>isFinite(e=Math.floor(e))&&e>0?xn((t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null,Xn.range;const[Qn,Kn]=Zn(Xn,Gn,Bn,Nn,En,Tn),[er,tr]=Zn(Jn,Yn,_n,Mn,jn,kn);function nr(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function rr(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function or(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var ir,ar,sr={"-":"",_:" ",0:"0"},ur=/^\s*\d+/,cr=/^%/,lr=/[\\^$*+?|[\]().{}]/g;function fr(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function pr(e){return e.replace(lr,"\\$&")}function hr(e){return new RegExp("^(?:"+e.map(pr).join("|")+")","i")}function dr(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function yr(e,t,n){var r=ur.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function gr(e,t,n){var r=ur.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function mr(e,t,n){var r=ur.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function vr(e,t,n){var r=ur.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function br(e,t,n){var r=ur.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function wr(e,t,n){var r=ur.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function xr(e,t,n){var r=ur.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Or(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Sr(e,t,n){var r=ur.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function kr(e,t,n){var r=ur.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Tr(e,t,n){var r=ur.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function jr(e,t,n){var r=ur.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Er(e,t,n){var r=ur.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Mr(e,t,n){var r=ur.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Ar(e,t,n){var r=ur.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Nr(e,t,n){var r=ur.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Pr(e,t,n){var r=ur.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function _r(e,t,n){var r=cr.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Rr(e,t,n){var r=ur.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Cr(e,t,n){var r=ur.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Dr(e,t){return fr(e.getDate(),t,2)}function Fr(e,t){return fr(e.getHours(),t,2)}function Ur(e,t){return fr(e.getHours()%12||12,t,2)}function Lr(e,t){return fr(1+Mn.count(Jn(e),e),t,3)}function Ir(e,t){return fr(e.getMilliseconds(),t,3)}function Br(e,t){return Ir(e,t)+"000"}function zr(e,t){return fr(e.getMonth()+1,t,2)}function Wr(e,t){return fr(e.getMinutes(),t,2)}function Hr(e,t){return fr(e.getSeconds(),t,2)}function $r(e){var t=e.getDay();return 0===t?7:t}function qr(e,t){return fr(_n.count(Jn(e)-1,e),t,2)}function Vr(e){var t=e.getDay();return t>=4||0===t?Fn(e):Fn.ceil(e)}function Yr(e,t){return e=Vr(e),fr(Fn.count(Jn(e),e)+(4===Jn(e).getDay()),t,2)}function Gr(e){return e.getDay()}function Jr(e,t){return fr(Rn.count(Jn(e)-1,e),t,2)}function Xr(e,t){return fr(e.getFullYear()%100,t,2)}function Zr(e,t){return fr((e=Vr(e)).getFullYear()%100,t,2)}function Qr(e,t){return fr(e.getFullYear()%1e4,t,4)}function Kr(e,t){var n=e.getDay();return fr((e=n>=4||0===n?Fn(e):Fn.ceil(e)).getFullYear()%1e4,t,4)}function eo(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+fr(t/60|0,"0",2)+fr(t%60,"0",2)}function to(e,t){return fr(e.getUTCDate(),t,2)}function no(e,t){return fr(e.getUTCHours(),t,2)}function ro(e,t){return fr(e.getUTCHours()%12||12,t,2)}function oo(e,t){return fr(1+An.count(Xn(e),e),t,3)}function io(e,t){return fr(e.getUTCMilliseconds(),t,3)}function ao(e,t){return io(e,t)+"000"}function so(e,t){return fr(e.getUTCMonth()+1,t,2)}function uo(e,t){return fr(e.getUTCMinutes(),t,2)}function co(e,t){return fr(e.getUTCSeconds(),t,2)}function lo(e){var t=e.getUTCDay();return 0===t?7:t}function fo(e,t){return fr(Bn.count(Xn(e)-1,e),t,2)}function po(e){var t=e.getUTCDay();return t>=4||0===t?$n(e):$n.ceil(e)}function ho(e,t){return e=po(e),fr($n.count(Xn(e),e)+(4===Xn(e).getUTCDay()),t,2)}function yo(e){return e.getUTCDay()}function go(e,t){return fr(zn.count(Xn(e)-1,e),t,2)}function mo(e,t){return fr(e.getUTCFullYear()%100,t,2)}function vo(e,t){return fr((e=po(e)).getUTCFullYear()%100,t,2)}function bo(e,t){return fr(e.getUTCFullYear()%1e4,t,4)}function wo(e,t){var n=e.getUTCDay();return fr((e=n>=4||0===n?$n(e):$n.ceil(e)).getUTCFullYear()%1e4,t,4)}function xo(){return"+0000"}function Oo(){return"%"}function So(e){return+e}function ko(e){return Math.floor(+e/1e3)}ir=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,s=e.months,u=e.shortMonths,c=hr(o),l=dr(o),f=hr(i),p=dr(i),h=hr(a),d=dr(a),y=hr(s),g=dr(s),m=hr(u),v=dr(u),b={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return u[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:Dr,e:Dr,f:Br,g:Zr,G:Kr,H:Fr,I:Ur,j:Lr,L:Ir,m:zr,M:Wr,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:So,s:ko,S:Hr,u:$r,U:qr,V:Yr,w:Gr,W:Jr,x:null,X:null,y:Xr,Y:Qr,Z:eo,"%":Oo},w={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return u[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:to,e:to,f:ao,g:vo,G:wo,H:no,I:ro,j:oo,L:io,m:so,M:uo,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:So,s:ko,S:co,u:lo,U:fo,V:ho,w:yo,W:go,x:null,X:null,y:mo,Y:bo,Z:xo,"%":Oo},x={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=y.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return k(e,t,n,r)},d:Tr,e:Tr,f:Pr,g:xr,G:wr,H:Er,I:Er,j:jr,L:Nr,m:kr,M:Mr,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=l.get(r[0].toLowerCase()),n+r[0].length):-1},q:Sr,Q:Rr,s:Cr,S:Ar,u:gr,U:mr,V:vr,w:yr,W:br,x:function(e,t,r){return k(e,n,t,r)},X:function(e,t,n){return k(e,r,t,n)},y:xr,Y:wr,Z:Or,"%":_r};function O(e,t){return function(n){var r,o,i,a=[],s=-1,u=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(u,s)),null!=(o=sr[r=e.charAt(++s)])?r=e.charAt(++s):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),a.push(r),u=s+1);return a.push(e.slice(u,s)),a.join("")}}function S(e,t){return function(n){var r,o,i=or(1900,void 0,1);if(k(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(t&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=rr(or(i.y,0,1))).getUTCDay(),r=o>4||0===o?zn.ceil(r):zn(r),r=An.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=nr(or(i.y,0,1))).getDay(),r=o>4||0===o?Rn.ceil(r):Rn(r),r=Mn.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?rr(or(i.y,0,1)).getUTCDay():nr(or(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,rr(i)):nr(i)}}function k(e,t,n,r){for(var o,i,a=0,s=t.length,u=n.length;a<s;){if(r>=u)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=x[o in sr?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return b.x=O(n,b),b.X=O(r,b),b.c=O(t,b),w.x=O(n,w),w.X=O(r,w),w.c=O(t,w),{format:function(e){var t=O(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=S(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=O(e+="",w);return t.toString=function(){return e},t},utcParse:function(e){var t=S(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),ar=ir.format,ir.parse,ir.utcFormat,ir.utcParse;const To=on(nn),jo=To.right,Eo=(To.left,on((function(e){return null===e?NaN:+e})).center,jo);function Mo(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Ao(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function No(){}var Po=.7,_o=1/Po,Ro="\\s*([+-]?\\d+)\\s*",Co="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Do="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Fo=/^#([0-9a-f]{3,8})$/,Uo=new RegExp(`^rgb\\(${Ro},${Ro},${Ro}\\)$`),Lo=new RegExp(`^rgb\\(${Do},${Do},${Do}\\)$`),Io=new RegExp(`^rgba\\(${Ro},${Ro},${Ro},${Co}\\)$`),Bo=new RegExp(`^rgba\\(${Do},${Do},${Do},${Co}\\)$`),zo=new RegExp(`^hsl\\(${Co},${Do},${Do}\\)$`),Wo=new RegExp(`^hsla\\(${Co},${Do},${Do},${Co}\\)$`),Ho={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function $o(){return this.rgb().formatHex()}function qo(){return this.rgb().formatRgb()}function Vo(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Fo.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Yo(t):3===n?new Zo(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Go(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Go(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Uo.exec(e))?new Zo(t[1],t[2],t[3],1):(t=Lo.exec(e))?new Zo(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Io.exec(e))?Go(t[1],t[2],t[3],t[4]):(t=Bo.exec(e))?Go(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=zo.exec(e))?ri(t[1],t[2]/100,t[3]/100,1):(t=Wo.exec(e))?ri(t[1],t[2]/100,t[3]/100,t[4]):Ho.hasOwnProperty(e)?Yo(Ho[e]):"transparent"===e?new Zo(NaN,NaN,NaN,0):null}function Yo(e){return new Zo(e>>16&255,e>>8&255,255&e,1)}function Go(e,t,n,r){return r<=0&&(e=t=n=NaN),new Zo(e,t,n,r)}function Jo(e){return e instanceof No||(e=Vo(e)),e?new Zo((e=e.rgb()).r,e.g,e.b,e.opacity):new Zo}function Xo(e,t,n,r){return 1===arguments.length?Jo(e):new Zo(e,t,n,null==r?1:r)}function Zo(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Qo(){return`#${ni(this.r)}${ni(this.g)}${ni(this.b)}`}function Ko(){const e=ei(this.opacity);return`${1===e?"rgb(":"rgba("}${ti(this.r)}, ${ti(this.g)}, ${ti(this.b)}${1===e?")":`, ${e})`}`}function ei(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function ti(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ni(e){return((e=ti(e))<16?"0":"")+e.toString(16)}function ri(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new ai(e,t,n,r)}function oi(e){if(e instanceof ai)return new ai(e.h,e.s,e.l,e.opacity);if(e instanceof No||(e=Vo(e)),!e)return new ai;if(e instanceof ai)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,s=i-o,u=(i+o)/2;return s?(a=t===i?(n-r)/s+6*(n<r):n===i?(r-t)/s+2:(t-n)/s+4,s/=u<.5?i+o:2-i-o,a*=60):s=u>0&&u<1?0:a,new ai(a,s,u,e.opacity)}function ii(e,t,n,r){return 1===arguments.length?oi(e):new ai(e,t,n,null==r?1:r)}function ai(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function si(e){return(e=(e||0)%360)<0?e+360:e}function ui(e){return Math.max(0,Math.min(1,e||0))}function ci(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function li(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}Mo(No,Vo,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:$o,formatHex:$o,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return oi(this).formatHsl()},formatRgb:qo,toString:qo}),Mo(Zo,Xo,Ao(No,{brighter(e){return e=null==e?_o:Math.pow(_o,e),new Zo(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Po:Math.pow(Po,e),new Zo(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Zo(ti(this.r),ti(this.g),ti(this.b),ei(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Qo,formatHex:Qo,formatHex8:function(){return`#${ni(this.r)}${ni(this.g)}${ni(this.b)}${ni(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ko,toString:Ko})),Mo(ai,ii,Ao(No,{brighter(e){return e=null==e?_o:Math.pow(_o,e),new ai(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Po:Math.pow(Po,e),new ai(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Zo(ci(e>=240?e-240:e+120,o,r),ci(e,o,r),ci(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new ai(si(this.h),ui(this.s),ui(this.l),ei(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=ei(this.opacity);return`${1===e?"hsl(":"hsla("}${si(this.h)}, ${100*ui(this.s)}%, ${100*ui(this.l)}%${1===e?")":`, ${e})`}`}}));const fi=e=>()=>e;function pi(e,t){return function(n){return e+n*t}}function hi(e,t){var n=t-e;return n?pi(e,n>180||n<-180?n-360*Math.round(n/360):n):fi(isNaN(e)?t:e)}function di(e,t){var n=t-e;return n?pi(e,n):fi(isNaN(e)?t:e)}const yi=function e(t){var n=function(e){return 1==(e=+e)?di:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):fi(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=Xo(e)).r,(t=Xo(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=di(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function gi(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),s=new Array(o);for(n=0;n<o;++n)r=Xo(t[n]),i[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return i=e(i),a=e(a),s=e(s),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=s(e),r+""}}}function mi(e,t){var n,r=t?t.length:0,o=e?Math.min(r,e.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=Ti(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<o;++n)a[n]=i[n](e);return a}}function vi(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function bi(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function wi(e,t){var n,r={},o={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=Ti(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}}gi((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,s=r<t-1?e[r+2]:2*i-o;return li((n-r/t)*t,a,o,i,s)}})),gi((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],i=e[r%t],a=e[(r+1)%t],s=e[(r+2)%t];return li((n-r/t)*t,o,i,a,s)}}));var xi=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Oi=new RegExp(xi.source,"g");function Si(e,t){var n,r,o,i=xi.lastIndex=Oi.lastIndex=0,a=-1,s=[],u=[];for(e+="",t+="";(n=xi.exec(e))&&(r=Oi.exec(t));)(o=r.index)>i&&(o=t.slice(i,o),s[a]?s[a]+=o:s[++a]=o),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,u.push({i:a,x:bi(n,r)})),i=Oi.lastIndex;return i<t.length&&(o=t.slice(i),s[a]?s[a]+=o:s[++a]=o),s.length<2?u[0]?function(e){return function(t){return e(t)+""}}(u[0].x):function(e){return function(){return e}}(t):(t=u.length,function(e){for(var n,r=0;r<t;++r)s[(n=u[r]).i]=n.x(e);return s.join("")})}function ki(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,o=t.slice();return function(i){for(n=0;n<r;++n)o[n]=e[n]*(1-i)+t[n]*i;return o}}function Ti(e,t){var n,r,o=typeof t;return null==t||"boolean"===o?fi(t):("number"===o?bi:"string"===o?(n=Vo(t))?(t=n,yi):Si:t instanceof Vo?yi:t instanceof Date?vi:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?mi:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?wi:bi:ki))(e,t)}function ji(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function Ei(e){return+e}var Mi=[0,1];function Ai(e){return e}function Ni(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function Pi(e,t,n){var r=e[0],o=e[1],i=t[0],a=t[1];return o<r?(r=Ni(o,r),i=n(a,i)):(r=Ni(r,o),i=n(i,a)),function(e){return i(r(e))}}function _i(e,t,n){var r=Math.min(e.length,t.length)-1,o=new Array(r),i=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)o[a]=Ni(e[a],e[a+1]),i[a]=n(t[a],t[a+1]);return function(t){var n=Eo(e,t,1,r)-1;return i[n](o[n](t))}}function Ri(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Ci(){return function(){var e,t,n,r,o,i,a=Mi,s=Mi,u=Ti,c=Ai;function l(){var e,t,n,u=Math.min(a.length,s.length);return c!==Ai&&(e=a[0],t=a[u-1],e>t&&(n=e,e=t,t=n),c=function(n){return Math.max(e,Math.min(t,n))}),r=u>2?_i:Pi,o=i=null,f}function f(t){return null==t||isNaN(t=+t)?n:(o||(o=r(a.map(e),s,u)))(e(c(t)))}return f.invert=function(n){return c(t((i||(i=r(s,a.map(e),bi)))(n)))},f.domain=function(e){return arguments.length?(a=Array.from(e,Ei),l()):a.slice()},f.range=function(e){return arguments.length?(s=Array.from(e),l()):s.slice()},f.rangeRound=function(e){return s=Array.from(e),u=ji,l()},f.clamp=function(e){return arguments.length?(c=!!e||Ai,l()):c!==Ai},f.interpolate=function(e){return arguments.length?(u=e,l()):u},f.unknown=function(e){return arguments.length?(n=e,f):n},function(n,r){return e=n,t=r,l()}}()(Ai,Ai)}function Di(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function Fi(e){return new Date(e)}function Ui(e){return e instanceof Date?+e:+new Date(+e)}function Li(e,t,n,r,o,i,a,s,u,c){var l=Ci(),f=l.invert,p=l.domain,h=c(".%L"),d=c(":%S"),y=c("%I:%M"),g=c("%I %p"),m=c("%a %d"),v=c("%b %d"),b=c("%B"),w=c("%Y");function x(e){return(u(e)<e?h:s(e)<e?d:a(e)<e?y:i(e)<e?g:r(e)<e?o(e)<e?m:v:n(e)<e?b:w)(e)}return l.invert=function(e){return new Date(f(e))},l.domain=function(e){return arguments.length?p(Array.from(e,Ui)):p().map(Fi)},l.ticks=function(t){var n=p();return e(n[0],n[n.length-1],null==t?10:t)},l.tickFormat=function(e,t){return null==t?x:c(t)},l.nice=function(e){var n=p();return e&&"function"==typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?p(function(e,t){var n,r=0,o=(e=e.slice()).length-1,i=e[r],a=e[o];return a<i&&(n=r,r=o,o=n,n=i,i=a,a=n),e[r]=t.floor(i),e[o]=t.ceil(a),e}(n,e)):l},l.copy=function(){return Ri(l,Li(e,t,n,r,o,i,a,s,u,c))},l}function Ii(){return Di.apply(Li(er,tr,Jn,Yn,_n,Mn,jn,kn,Sn,ar).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}const Bi=Math.PI/180,zi=180/Math.PI,Wi=.96422,Hi=1,$i=.82521,qi=4/29,Vi=6/29,Yi=3*Vi*Vi,Gi=.008856451679035631;function Ji(e){if(e instanceof Zi)return new Zi(e.l,e.a,e.b,e.opacity);if(e instanceof ra)return oa(e);e instanceof Zo||(e=Jo(e));var t,n,r=ta(e.r),o=ta(e.g),i=ta(e.b),a=Qi((.2225045*r+.7168786*o+.0606169*i)/Hi);return r===o&&o===i?t=n=a:(t=Qi((.4360747*r+.3850649*o+.1430804*i)/Wi),n=Qi((.0139322*r+.0971045*o+.7141733*i)/$i)),new Zi(116*a-16,500*(t-a),200*(a-n),e.opacity)}function Xi(e,t,n,r){return 1===arguments.length?Ji(e):new Zi(e,t,n,null==r?1:r)}function Zi(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function Qi(e){return e>Gi?Math.pow(e,1/3):e/Yi+qi}function Ki(e){return e>Vi?e*e*e:Yi*(e-qi)}function ea(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function ta(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function na(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof ra)return new ra(e.h,e.c,e.l,e.opacity);if(e instanceof Zi||(e=Ji(e)),0===e.a&&0===e.b)return new ra(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*zi;return new ra(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new ra(e,t,n,null==r?1:r)}function ra(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function oa(e){if(isNaN(e.h))return new Zi(e.l,0,0,e.opacity);var t=e.h*Bi;return new Zi(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}function ia(e){return function(t,n){var r=e((t=na(t)).h,(n=na(n)).h),o=di(t.c,n.c),i=di(t.l,n.l),a=di(t.opacity,n.opacity);return function(e){return t.h=r(e),t.c=o(e),t.l=i(e),t.opacity=a(e),t+""}}}Mo(Zi,Xi,Ao(No,{brighter(e){return new Zi(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new Zi(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Zo(ea(3.1338561*(t=Wi*Ki(t))-1.6168667*(e=Hi*Ki(e))-.4906146*(n=$i*Ki(n))),ea(-.9787684*t+1.9161415*e+.033454*n),ea(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),Mo(ra,na,Ao(No,{brighter(e){return new ra(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new ra(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return oa(this).rgb()}}));const aa=ia(hi);var sa=ia(di);function ua(e){return function(t,n){var r=e((t=ii(t)).h,(n=ii(n)).h),o=di(t.s,n.s),i=di(t.l,n.l),a=di(t.opacity,n.opacity);return function(e){return t.h=r(e),t.s=o(e),t.l=i(e),t.opacity=a(e),t+""}}}const ca=ua(hi);var la=ua(di),fa=-.14861,pa=1.78277,ha=-.29227,da=-.90649,ya=1.97294,ga=ya*da,ma=ya*pa,va=pa*ha-da*fa;function ba(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof wa)return new wa(e.h,e.s,e.l,e.opacity);e instanceof Zo||(e=Jo(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(va*r+ga*t-ma*n)/(va+ga-ma),i=r-o,a=(ya*(n-o)-ha*i)/da,s=Math.sqrt(a*a+i*i)/(ya*o*(1-o)),u=s?Math.atan2(a,i)*zi-120:NaN;return new wa(u<0?u+360:u,s,o,e.opacity)}(e):new wa(e,t,n,null==r?1:r)}function wa(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function xa(e){return function t(n){function r(t,r){var o=e((t=ba(t)).h,(r=ba(r)).h),i=di(t.s,r.s),a=di(t.l,r.l),s=di(t.opacity,r.opacity);return function(e){return t.h=o(e),t.s=i(e),t.l=a(Math.pow(e,n)),t.opacity=s(e),t+""}}return n=+n,r.gamma=t,r}(1)}Mo(wa,ba,Ao(No,{brighter(e){return e=null==e?_o:Math.pow(_o,e),new wa(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Po:Math.pow(Po,e),new wa(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*Bi,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new Zo(255*(t+n*(fa*r+pa*o)),255*(t+n*(ha*r+da*o)),255*(t+n*(ya*r)),this.opacity)}}));var Oa={lab:function(e,t){var n=di((e=Xi(e)).l,(t=Xi(t)).l),r=di(e.a,t.a),o=di(e.b,t.b),i=di(e.opacity,t.opacity);return function(t){return e.l=n(t),e.a=r(t),e.b=o(t),e.opacity=i(t),e+""}},hcl:aa,"hcl-long":sa,hsl:ca,"hsl-long":la,cubehelix:xa(hi),"cubehelix-long":xa(di),rgb:yi},Sa=new Date(Date.UTC(2020,1,2,3,4,5)),ka={day:Mn,hour:jn,minute:kn,month:Yn,second:Sn,week:_n,year:Jn},Ta={day:An,hour:En,minute:Tn,month:Gn,second:Sn,week:Bn,year:Xn},ja=["domain","nice","zero","interpolate","round","range","reverse","align","base","clamp","constant","exponent","padding","unknown"],Ea={domain:function(e,t){t.domain&&e.domain(t.domain)},nice:function(e,t){if("nice"in t&&void 0!==t.nice&&"nice"in e){var n=t.nice;if("boolean"==typeof n)n&&e.nice();else if("number"==typeof n)e.nice(n);else{var r=e,o=function(e){return"2020-02-02 03:04"===e.tickFormat(1,"%Y-%m-%d %H:%M")(Sa)}(r);if("string"==typeof n)r.nice(o?Ta[n]:ka[n]);else{var i=n.interval,a=n.step,s=(o?Ta[i]:ka[i]).every(a);null!=s&&r.nice(s)}}}},zero:function(e,t){if("zero"in t&&!0===t.zero){var n=e.domain(),r=n[0],o=n[1],i=o<r,a=i?[o,r]:[r,o],s=a[0],u=a[1],c=[Math.min(0,s),Math.max(0,u)];e.domain(i?c.reverse():c)}},interpolate:function(e,t){if("interpolate"in t&&"interpolate"in e&&void 0!==t.interpolate){var n=function(e){switch(e){case"lab":case"hcl":case"hcl-long":case"hsl":case"hsl-long":case"cubehelix":case"cubehelix-long":case"rgb":return Oa[e]}var t=e.type,n=e.gamma,r=Oa[t];return void 0===n?r:r.gamma(n)}(t.interpolate);e.interpolate(n)}},round:function(e,t){"round"in t&&void 0!==t.round&&(t.round&&"interpolate"in t&&void 0!==t.interpolate?console.warn("[visx/scale/applyRound] ignoring round: scale config contains round and interpolate. only applying interpolate. config:",t):"round"in e?e.round(t.round):"interpolate"in e&&t.round&&e.interpolate(ji))},align:function(e,t){"align"in e&&"align"in t&&void 0!==t.align&&e.align(t.align)},base:function(e,t){"base"in e&&"base"in t&&void 0!==t.base&&e.base(t.base)},clamp:function(e,t){"clamp"in e&&"clamp"in t&&void 0!==t.clamp&&e.clamp(t.clamp)},constant:function(e,t){"constant"in e&&"constant"in t&&void 0!==t.constant&&e.constant(t.constant)},exponent:function(e,t){"exponent"in e&&"exponent"in t&&void 0!==t.exponent&&e.exponent(t.exponent)},padding:function(e,t){"padding"in e&&"padding"in t&&void 0!==t.padding&&e.padding(t.padding),"paddingInner"in e&&"paddingInner"in t&&void 0!==t.paddingInner&&e.paddingInner(t.paddingInner),"paddingOuter"in e&&"paddingOuter"in t&&void 0!==t.paddingOuter&&e.paddingOuter(t.paddingOuter)},range:function(e,t){t.range&&e.range(t.range)},reverse:function(e,t){if(t.reverse){var n=e.range().slice().reverse();e.range(n)}},unknown:function(e,t){"unknown"in e&&"unknown"in t&&void 0!==t.unknown&&e.unknown(t.unknown)}};function Ma(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=new Set(t),o=ja.filter((function(e){return r.has(e)}));return function(e,t){return void 0!==t&&o.forEach((function(n){Ea[n](e,t)})),e}}var Aa,Na=Ma("domain","range","reverse","clamp","interpolate","nice","round"),Pa=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function _a(e){if(!(t=Pa.exec(e)))throw new Error("invalid format: "+e);var t;return new Ra({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Ra(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Ca(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Da(e){return(e=Ca(Math.abs(e)))?e[1]:NaN}function Fa(e,t){var n=Ca(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}_a.prototype=Ra.prototype,Ra.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const Ua={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Fa(100*e,t),r:Fa,s:function(e,t){var n=Ca(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(Aa=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+Ca(e,Math.max(0,t+i-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function La(e){return e}var Ia,Ba,za,Wa=Array.prototype.map,Ha=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function $a(e){var t=e.domain;return e.ticks=function(e){var n=t();return function(e,t,n){if(!((n=+n)>0))return[];if((e=+e)==(t=+t))return[e];const r=t<e,[o,i,a]=r?ln(t,e,n):ln(e,t,n);if(!(i>=o))return[];const s=i-o+1,u=new Array(s);if(r)if(a<0)for(let e=0;e<s;++e)u[e]=(i-e)/-a;else for(let e=0;e<s;++e)u[e]=(i-e)*a;else if(a<0)for(let e=0;e<s;++e)u[e]=(o+e)/-a;else for(let e=0;e<s;++e)u[e]=(o+e)*a;return u}(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return function(e,t,n,r){var o,i=pn(e,t,n);switch((r=_a(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(o=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Da(t)/3)))-Da(Math.abs(e)))}(i,a))||(r.precision=o),za(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Da(t)-Da(e))+1}(i,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(e){return Math.max(0,-Da(Math.abs(e)))}(i))||(r.precision=o-2*("%"===r.type))}return Ba(r)}(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,o,i=t(),a=0,s=i.length-1,u=i[a],c=i[s],l=10;for(c<u&&(o=u,u=c,c=o,o=a,a=s,s=o);l-- >0;){if((o=fn(u,c,n))===r)return i[a]=u,i[s]=c,t(i);if(o>0)u=Math.floor(u/o)*o,c=Math.ceil(c/o)*o;else{if(!(o<0))break;u=Math.ceil(u*o)/o,c=Math.floor(c*o)/o}r=o}return e},e}function qa(){var e=Ci();return e.copy=function(){return Ri(e,qa())},Di.apply(e,arguments),$a(e)}Ia=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?La:(t=Wa.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,s=t[0],u=0;o>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),i.push(e.substring(o-=s,o+s)),!((u+=s+1)>r));)s=t[a=(a+1)%t.length];return i.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?La:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Wa.call(e.numerals,String)),u=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"−":e.minus+"",l=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=_a(e)).fill,n=e.align,f=e.sign,p=e.symbol,h=e.zero,d=e.width,y=e.comma,g=e.precision,m=e.trim,v=e.type;"n"===v?(y=!0,v="g"):Ua[v]||(void 0===g&&(g=12),m=!0,v="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var b="$"===p?o:"#"===p&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",w="$"===p?i:/[%p]/.test(v)?u:"",x=Ua[v],O=/[defgprs%]/.test(v);function S(e){var o,i,u,p=b,S=w;if("c"===v)S=x(e)+S,e="";else{var k=(e=+e)<0||1/e<0;if(e=isNaN(e)?l:x(Math.abs(e),g),m&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),k&&0==+e&&"+"!==f&&(k=!1),p=(k?"("===f?f:c:"-"===f||"("===f?"":f)+p,S=("s"===v?Ha[8+Aa/3]:"")+S+(k&&"("===f?")":""),O)for(o=-1,i=e.length;++o<i;)if(48>(u=e.charCodeAt(o))||u>57){S=(46===u?a+e.slice(o+1):e.slice(o))+S,e=e.slice(0,o);break}}y&&!h&&(e=r(e,1/0));var T=p.length+e.length+S.length,j=T<d?new Array(d-T+1).join(t):"";switch(y&&h&&(e=r(j+e,j.length?d-S.length:1/0),j=""),n){case"<":e=p+e+S+j;break;case"=":e=p+j+e+S;break;case"^":e=j.slice(0,T=j.length>>1)+p+e+S+j.slice(T);break;default:e=j+p+e+S}return s(e)}return g=void 0===g?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),S.toString=function(){return e+""},S}return{format:f,formatPrefix:function(e,t){var n=f(((e=_a(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Da(t)/3))),o=Math.pow(10,-r),i=Ha[8+r/3];return function(e){return n(o*e)+i}}}}({thousands:",",grouping:[3],currency:["$",""]}),Ba=Ia.format,za=Ia.formatPrefix;var Va=Ma("domain","range","reverse","clamp","interpolate","nice","round","zero");function Ya(e){return Va(qa(),e)}var Ga=r(6499),Ja=r.n(Ga),Xa=r(642),Za=function(){function e(e){var t=e.x,n=void 0===t?0:t,r=e.y,o=void 0===r?0:r;this.x=0,this.y=0,this.x=n,this.y=o}var t=e.prototype;return t.value=function(){return{x:this.x,y:this.y}},t.toArray=function(){return[this.x,this.y]},e}();function Qa(e,t){var n=e;return"ticks"in n?n.ticks(t):n.domain().filter((function(e,n,r){return null==t||r.length<=t||n%Math.round((r.length-1)/t)==0}))}function Ka(e){if(("function"==typeof e||"object"==typeof e&&e)&&"valueOf"in e){var t=e.valueOf();if("number"==typeof t)return t}return e}function es(e){return"bandwidth"in e?e.bandwidth():0}var ts=["top","left","scale","width","stroke","strokeWidth","strokeDasharray","className","children","numTicks","lineStyle","offset","tickValues"];function ns(){return ns=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ns.apply(this,arguments)}function rs(e){var n=e.top,r=void 0===n?0:n,o=e.left,i=void 0===o?0:o,a=e.scale,s=e.width,u=e.stroke,c=void 0===u?"#eaf0f6":u,l=e.strokeWidth,f=void 0===l?1:l,p=e.strokeDasharray,h=e.className,d=e.children,y=e.numTicks,g=void 0===y?10:y,m=e.lineStyle,v=e.offset,b=e.tickValues,w=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,ts),x=null!=b?b:Qa(a,g),O=(null!=v?v:0)+es(a)/2,S=x.map((function(e,t){var n,r=(null!=(n=Ka(a(e)))?n:0)+O;return{index:t,from:new Za({x:0,y:r}),to:new Za({x:s,y:r})}}));return t.default.createElement(ft,{className:at()("visx-rows",h),top:r,left:i},d?d({lines:S}):S.map((function(e){var n=e.from,r=e.to,o=e.index;return t.default.createElement(Xa.A,ns({key:"row-line-"+o,from:n,to:r,stroke:c,strokeWidth:f,strokeDasharray:p,style:m},w))})))}rs.propTypes={tickValues:Ja().array,width:Ja().number.isRequired};var os=["top","left","scale","height","stroke","strokeWidth","strokeDasharray","className","numTicks","lineStyle","offset","tickValues","children"];function is(){return is=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},is.apply(this,arguments)}function as(e){var n=e.top,r=void 0===n?0:n,o=e.left,i=void 0===o?0:o,a=e.scale,s=e.height,u=e.stroke,c=void 0===u?"#eaf0f6":u,l=e.strokeWidth,f=void 0===l?1:l,p=e.strokeDasharray,h=e.className,d=e.numTicks,y=void 0===d?10:d,g=e.lineStyle,m=e.offset,v=e.tickValues,b=e.children,w=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,os),x=null!=v?v:Qa(a,y),O=(null!=m?m:0)+es(a)/2,S=x.map((function(e,t){var n,r=(null!=(n=Ka(a(e)))?n:0)+O;return{index:t,from:new Za({x:r,y:0}),to:new Za({x:r,y:s})}}));return t.default.createElement(ft,{className:at()("visx-columns",h),top:r,left:i},b?b({lines:S}):S.map((function(e){var n=e.from,r=e.to,o=e.index;return t.default.createElement(Xa.A,is({key:"column-line-"+o,from:n,to:r,stroke:c,strokeWidth:f,strokeDasharray:p,style:g},w))})))}as.propTypes={tickValues:Ja().array,height:Ja().number.isRequired};var ss=["top","left","xScale","yScale","width","height","className","stroke","strokeWidth","strokeDasharray","numTicksRows","numTicksColumns","rowLineStyle","columnLineStyle","xOffset","yOffset","rowTickValues","columnTickValues"];function us(){return us=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},us.apply(this,arguments)}function cs(e){var n=e.top,r=e.left,o=e.xScale,i=e.yScale,a=e.width,s=e.height,u=e.className,c=e.stroke,l=e.strokeWidth,f=e.strokeDasharray,p=e.numTicksRows,h=e.numTicksColumns,d=e.rowLineStyle,y=e.columnLineStyle,g=e.xOffset,m=e.yOffset,v=e.rowTickValues,b=e.columnTickValues,w=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,ss);return t.default.createElement(ft,{className:at()("visx-grid",u),top:n,left:r},t.default.createElement(rs,us({className:u,scale:i,width:a,stroke:c,strokeWidth:l,strokeDasharray:f,numTicks:p,lineStyle:d,offset:m,tickValues:v},w)),t.default.createElement(as,us({className:u,scale:o,height:s,stroke:c,strokeWidth:l,strokeDasharray:f,numTicks:h,lineStyle:y,offset:g,tickValues:b},w)))}cs.propTypes={rowTickValues:Ja().array,columnTickValues:Ja().array};var ls=["from","to","fill","className","innerRef"];function fs(){return fs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fs.apply(this,arguments)}function ps(e){var n=e.from,r=void 0===n?{x:0,y:0}:n,o=e.to,i=void 0===o?{x:1,y:1}:o,a=e.fill,s=void 0===a?"transparent":a,u=e.className,c=e.innerRef,l=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,ls),f=r.x===i.x||r.y===i.y;return t.default.createElement("line",fs({ref:c,className:at()("visx-line",u),x1:r.x,y1:r.y,x2:i.x,y2:i.y,fill:s,shapeRendering:f?"crispEdges":"auto"},l))}var hs=r(645),ds=r.n(hs),ys=r(104),gs="__react_svg_text_measurement_id";const ms=r.n(ys)()((function(e,t){try{var n=document.getElementById(gs);if(!n){var r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.setAttribute("aria-hidden","true"),r.style.width="0",r.style.height="0",r.style.position="absolute",r.style.top="-100%",r.style.left="-100%",(n=document.createElementNS("http://www.w3.org/2000/svg","text")).setAttribute("id",gs),r.appendChild(n),document.body.appendChild(r)}return Object.assign(n.style,t),n.textContent=e,n.getComputedTextLength()}catch(e){return null}}),(function(e,t){return e+"_"+JSON.stringify(t)}));var vs=["verticalAnchor","scaleToFit","angle","width","lineHeight","capHeight","children","style"];function bs(e){return"number"==typeof e}function ws(e){return"number"==typeof e&&Number.isFinite(e)||"string"==typeof e}var xs=["dx","dy","textAnchor","innerRef","innerTextRef","verticalAnchor","angle","lineHeight","scaleToFit","capHeight","width"];function Os(){return Os=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Os.apply(this,arguments)}var Ss={overflow:"visible"};function ks(e){var n=e.dx,r=void 0===n?0:n,o=e.dy,i=void 0===o?0:o,a=e.textAnchor,s=void 0===a?"start":a,u=e.innerRef,c=e.innerTextRef,l=(e.verticalAnchor,e.angle,e.lineHeight),f=void 0===l?"1em":l,p=(e.scaleToFit,e.capHeight,e.width,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,xs)),h=p.x,d=void 0===h?0:h,y=p.fontSize,g=function(e){var n=e.verticalAnchor,r=void 0===n?"end":n,o=e.scaleToFit,i=void 0!==o&&o,a=e.angle,s=e.width,u=e.lineHeight,c=void 0===u?"1em":u,l=e.capHeight,f=void 0===l?"0.71em":l,p=e.children,h=e.style,d=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,vs),y=d.x,g=void 0===y?0:y,m=d.y,v=void 0===m?0:m,b=!ws(g)||!ws(v),w=(0,t.useMemo)((function(){return{wordsWithWidth:(null==p?[]:p.toString().split(/(?:(?!\u00A0+)\s+)/)).map((function(e){return{word:e,wordWidth:ms(e,h)||0}})),spaceWidth:ms(" ",h)||0}}),[p,h]),x=w.wordsWithWidth,O=w.spaceWidth,S=(0,t.useMemo)((function(){return b?[]:s||i?x.reduce((function(e,t){var n=t.word,r=t.wordWidth,o=e[e.length-1];if(o&&(null==s||i||(o.width||0)+r+O<s))o.words.push(n),o.width=o.width||0,o.width+=r+O;else{var a={words:[n],width:r};e.push(a)}return e}),[]):[{words:null==p?[]:p.toString().split(/(?:(?!\u00A0+)\s+)/)}]}),[b,s,i,p,x,O]),k=(0,t.useMemo)((function(){return b?"":"start"===r?ds()("calc("+f+")"):"middle"===r?ds()("calc("+(S.length-1)/2+" * -"+c+" + ("+f+" / 2))"):ds()("calc("+(S.length-1)+" * -"+c+")")}),[b,r,f,S.length,c]),T=(0,t.useMemo)((function(){var e=[];if(b)return"";if(bs(g)&&bs(v)&&bs(s)&&i&&S.length>0){var t=S[0].width||1,n="shrink-only"===i?Math.min(s/t,1):s/t,r=n,o=g-n*g,u=v-r*v;e.push("matrix("+n+", 0, 0, "+r+", "+o+", "+u+")")}return a&&e.push("rotate("+a+", "+g+", "+v+")"),e.length>0?e.join(" "):""}),[b,g,v,s,i,S,a]);return{wordsByLines:S,startDy:k,transform:T}}(e),m=g.wordsByLines,v=g.startDy,b=g.transform;return t.default.createElement("svg",{ref:u,x:r,y:i,fontSize:y,style:Ss},m.length>0?t.default.createElement("text",Os({ref:c,transform:b},p,{textAnchor:s}),m.map((function(e,n){return t.default.createElement("tspan",{key:n,x:d,dy:0===n?v:f},e.words.join(" "))}))):null)}const Ts={top:"top",left:"left",right:"right",bottom:"bottom"};function js(){return js=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},js.apply(this,arguments)}function Es(e){var n=e.hideTicks,r=e.horizontal,o=e.orientation,i=e.tickClassName,a=e.tickComponent,s=e.tickLabelProps,u=e.tickStroke,c=void 0===u?"#222":u,l=e.tickTransform,f=e.ticks,p=e.strokeWidth,h=e.tickLineProps;return f.map((function(e){var u,f=e.value,d=e.index,y=e.from,g=e.to,m=e.formattedValue,v=null!=(u=s[d])?u:{},b=Math.max(10,"number"==typeof v.fontSize&&v.fontSize||0),w=g.y+(r&&o!==Ts.top?b:0);return t.default.createElement(ft,{key:"visx-tick-"+f+"-"+d,className:at()("visx-axis-tick",i),transform:l},!n&&t.default.createElement(ps,js({from:y,to:g,stroke:c,strokeWidth:p,strokeLinecap:"square"},h)),a?a(js({},v,{x:g.x,y:w,formattedValue:m})):t.default.createElement(ks,js({x:g.x,y:w},v),m))}))}function Ms(){return Ms=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ms.apply(this,arguments)}var As={textAnchor:"middle",fontFamily:"Arial",fontSize:10,fill:"#222"};function Ns(e){var n=e.axisFromPoint,r=e.axisLineClassName,o=e.axisToPoint,i=e.hideAxisLine,a=e.hideTicks,s=e.horizontal,u=e.label,c=void 0===u?"":u,l=e.labelClassName,f=e.labelOffset,p=void 0===f?14:f,h=e.labelProps,d=e.orientation,y=void 0===d?Ts.bottom:d,g=e.scale,m=e.stroke,v=void 0===m?"#222":m,b=e.strokeDasharray,w=e.strokeWidth,x=void 0===w?1:w,O=e.tickClassName,S=e.tickComponent,k=e.tickLineProps,T=e.tickLabelProps,j=e.tickLength,E=void 0===j?8:j,M=e.tickStroke,A=void 0===M?"#222":M,N=e.tickTransform,P=e.ticks,_=e.ticksComponent,R=void 0===_?Es:_,C=Ms({},As,h),D=Ms({},As,"object"==typeof T?T:null),F=P.map((function(e){var t=e.value,n=e.index;return"function"==typeof T?T(t,n,P):D})),U=Math.max.apply(Math,[10].concat(F.map((function(e){return"number"==typeof e.fontSize?e.fontSize:0}))));return t.default.createElement(t.default.Fragment,null,R({hideTicks:a,horizontal:s,orientation:y,scale:g,tickClassName:O,tickComponent:S,tickLabelProps:F,tickStroke:A,tickTransform:N,ticks:P,strokeWidth:x,tickLineProps:k}),!i&&t.default.createElement(ps,{className:at()("visx-axis-line",r),from:n,to:o,stroke:v,strokeWidth:x,strokeDasharray:b}),c&&t.default.createElement(ks,Ms({className:at()("visx-axis-label",l)},function(e){var t,n,r,o=e.labelOffset,i=e.labelProps,a=e.orientation,s=e.range,u=e.tickLabelFontSize,c=e.tickLength,l=a===Ts.left||a===Ts.top?-1:1;if(a===Ts.top||a===Ts.bottom){var f=a===Ts.bottom&&"number"==typeof i.fontSize?i.fontSize:0;t=(Number(s[0])+Number(s[s.length-1]))/2,n=l*(c+o+u+f)}else t=l*((Number(s[0])+Number(s[s.length-1]))/2),n=-(c+o),r="rotate("+90*l+")";return{x:t,y:n,transform:r}}({labelOffset:p,labelProps:C,orientation:y,range:g.range(),tickLabelFontSize:U,tickLength:E}),C),c))}function Ps(e){return null==e?void 0:e.toString()}function _s(e,t){var n=e.x,r=e.y;return new Za(t?{x:n,y:r}:{x:r,y:n})}function Rs(){return Rs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rs.apply(this,arguments)}var Cs=0,Ds=["children","axisClassName","hideAxisLine","hideTicks","hideZero","innerRef","left","numTicks","orientation","rangePadding","scale","tickFormat","tickLength","tickValues","top"];function Fs(){return Fs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fs.apply(this,arguments)}function Us(e){var n,r=e.children,o=void 0===r?Ns:r,i=e.axisClassName,a=e.hideAxisLine,s=void 0!==a&&a,u=e.hideTicks,c=void 0!==u&&u,l=e.hideZero,f=void 0!==l&&l,p=e.innerRef,h=e.left,d=void 0===h?0:h,y=e.numTicks,g=void 0===y?10:y,m=e.orientation,v=void 0===m?Ts.bottom:m,b=e.rangePadding,w=void 0===b?0:b,x=e.scale,O=e.tickFormat,S=e.tickLength,k=void 0===S?8:S,T=e.tickValues,j=e.top,E=void 0===j?0:j,M=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,Ds),A=null!=O?O:function(e){return"tickFormat"in e?e.tickFormat():Ps}(x),N=v===Ts.left,P=v===Ts.top,_=P||v===Ts.bottom,R=function(e,t){void 0===t&&(t="center");var n=e;if("start"!==t&&"bandwidth"in n){var r=n.bandwidth();return"center"===t&&(r/=2),n.round()&&(r=Math.round(r)),function(e){var t=n(e);return"number"==typeof t?t+r:t}}return e}(x),C=N||P?-1:1,D=x.range(),F=(void 0===(n=w)&&(n=Cs),"number"==typeof n?{start:n,end:n}:Rs({start:Cs,end:Cs},n)),U=_s({x:Number(D[0])+.5-F.start,y:0},_),L=_s({x:Number(D[D.length-1])+.5+F.end,y:0},_),I=(null!=T?T:Qa(x,g)).filter((function(e){return!f||0!==e&&"0"!==e})).map((function(e,t){return{value:e,index:t}})),B=I.map((function(e){var t=e.value,n=e.index,r=Ka(R(t));return{value:t,index:n,from:_s({x:r,y:0},_),to:_s({x:r,y:k*C},_),formattedValue:A(t,n,I)}}));return t.default.createElement(ft,{className:at()("visx-axis",i),innerRef:p,top:E,left:d},o(Fs({},M,{axisFromPoint:U,axisToPoint:L,hideAxisLine:s,hideTicks:c,hideZero:f,horizontal:_,numTicks:g,orientation:v,rangePadding:w,scale:x,tickFormat:A,tickLength:k,tickPosition:R,tickSign:C,ticks:B})))}function Ls(){return Ls=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ls.apply(this,arguments)}var Is={x:0,y:0};function Bs(e,t){if(!e||!t)return null;var n,r=function(e){if(!e)return Ls({},Is);if(function(e){return!!e&&"changedTouches"in e}(e))return e.changedTouches.length>0?{x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY}:Ls({},Is);if(function(e){return!!e&&"clientX"in e}(e))return{x:e.clientX,y:e.clientY};var t=null==e?void 0:e.target,n=t&&"getBoundingClientRect"in t?t.getBoundingClientRect():null;return n?{x:n.x+n.width/2,y:n.y+n.height/2}:Ls({},Is)}(t),o=(n=e)&&(n instanceof SVGElement||"ownerSVGElement"in n)?e.ownerSVGElement:e,i=function(e){return!!e&&"getScreenCTM"in e}(o)?o.getScreenCTM():null;if(function(e){return!!e&&"createSVGPoint"in e}(o)&&i){var a=o.createSVGPoint();return a.x=r.x,a.y=r.y,a=a.matrixTransform(i.inverse()),new Za({x:a.x,y:a.y})}var s=e.getBoundingClientRect();return new Za({x:r.x-s.left-e.clientLeft,y:r.y-s.top-e.clientTop})}var zs=["tooltipOpen"];function Ws(){return Ws=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ws.apply(this,arguments)}function Hs(){return Hs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hs.apply(this,arguments)}function $s(e,t){return $s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$s(e,t)}var qs={top:0,right:0,bottom:0,left:0,width:0,height:0},Vs=["className","top","left","offsetLeft","offsetTop","style","children","unstyled","applyPositionStyle"];function Ys(){return Ys=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ys.apply(this,arguments)}var Gs={position:"absolute",backgroundColor:"white",color:"#666666",padding:".3rem .5rem",borderRadius:"3px",fontSize:"14px",boxShadow:"0 1px 2px rgba(33,33,33,0.2)",lineHeight:"1em",pointerEvents:"none"},Js=t.default.forwardRef((function(e,n){var r=e.className,o=e.top,i=e.left,a=e.offsetLeft,s=void 0===a?10:a,u=e.offsetTop,c=void 0===u?10:u,l=e.style,f=void 0===l?Gs:l,p=e.children,h=e.unstyled,d=void 0!==h&&h,y=e.applyPositionStyle,g=void 0!==y&&y,m=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,Vs);return t.default.createElement("div",Ys({ref:n,className:at()("visx-tooltip",r),style:Ys({top:null==o||null==c?o:o+c,left:null==i||null==s?i:i+s},g&&{position:"absolute"},!d&&f)},m),p)}));Js.propTypes={children:ot().node,className:ot().string,left:ot().number,offsetLeft:ot().number,offsetTop:ot().number,top:ot().number,applyPositionStyle:ot().bool,unstyled:ot().bool},Js.displayName="Tooltip";const Xs=Js;var Zs=(0,t.createContext)({isFlippedVertically:!1,isFlippedHorizontally:!1}),Qs=Zs.Provider,Ks=(Zs.Consumer,["children","getRects","left","offsetLeft","offsetTop","parentRect","rect","style","top","unstyled","nodeRef"]);function eu(){return eu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eu.apply(this,arguments)}function tu(e){var n,r=e.children,o=(e.getRects,e.left),i=void 0===o?0:o,a=e.offsetLeft,s=void 0===a?10:a,u=e.offsetTop,c=void 0===u?10:u,l=e.parentRect,f=e.rect,p=e.style,h=void 0===p?Gs:p,d=e.top,y=void 0===d?0:d,g=e.unstyled,m=void 0!==g&&g,v=e.nodeRef,b=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,Ks),w=!1,x=!1;if(f&&l){var O=i,S=y;if(l.width){var k=O+s+f.width-l.width,T=f.width-O-s;w=k>0&&k>T}else{var j=O+s+f.width-window.innerWidth,E=f.width-O-s;w=j>0&&j>E}if(l.height){var M=S+c+f.height-l.height,A=f.height-S-c;x=M>0&&M>A}else x=S+c+f.height>window.innerHeight;O=w?O-f.width-s:O+s,S=x?S-f.height-c:S+c,n="translate("+(O=Math.round(O))+"px, "+(S=Math.round(S))+"px)"}return t.default.createElement(Xs,eu({ref:v,style:eu({left:0,top:0,transform:n},!m&&h)},b),t.default.createElement(Qs,{value:{isFlippedVertically:!x,isFlippedHorizontally:!w}},r))}tu.propTypes={nodeRef:ot().oneOfType([ot().string,ot().func,ot().object])};const nu=(ru=tu,(ou=function(e){var n,r;function o(n){var r;return(r=e.call(this,n)||this).state={rect:void 0,parentRect:void 0},r.nodeRef=t.default.createRef(),r.getRects=r.getRects.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r)),r}r=e,(n=o).prototype=Object.create(r.prototype),n.prototype.constructor=n,$s(n,r);var i=o.prototype;return i.componentDidMount=function(){var e,n=this;this.node=null!=(e=this.nodeRef)&&e.current?this.nodeRef.current:t.default.findDOMNode(this),this.setState((function(){return n.getRects()}))},i.getRects=function(){if(!this.node)return this.state;var e=this.node,t=e.parentNode;return{rect:e.getBoundingClientRect?e.getBoundingClientRect():qs,parentRect:null!=t&&t.getBoundingClientRect?t.getBoundingClientRect():qs}},i.render=function(){return t.default.createElement(ru,Hs({nodeRef:this.nodeRef,getRects:this.getRects},this.state,this.props))},o}(t.default.PureComponent)).displayName="withBoundingRects("+(ru.displayName||"")+")",ou);var ru,ou;function iu(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function au(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function su(){return 0}const uu=function(e){let t,n,r;function o(e,r,o=0,i=e.length){if(o<i){if(0!==t(r,r))return i;do{const t=o+i>>>1;n(e[t],r)<0?o=t+1:i=t}while(o<i)}return o}return 2!==e.length?(t=iu,n=(t,n)=>iu(e(t),n),r=(t,n)=>e(t)-n):(t=e===iu||e===au?e:su,n=e,r=e),{left:o,center:function(e,t,n=0,i=e.length){const a=o(e,t,n,i-1);return a>n&&r(e[a-1],t)>-r(e[a],t)?a-1:a},right:function(e,r,o=0,i=e.length){if(o<i){if(0!==t(r,r))return i;do{const t=o+i>>>1;n(e[t],r)<=0?o=t+1:i=t}while(o<i)}return o}}}((e=>new Date(e.date))).left,cu=ar("%H:%M"),lu=e=>e.date;function fu({width:e,height:n,data:r,keys:o,formatAxisValues:i,formatTooltipValues:a}){const s=Object.keys(r[0]).filter((e=>"date"!==e)),u=n-0-30,c=e-0-45,{tooltipData:l,tooltipLeft:f,tooltipTop:p,tooltipOpen:h,showTooltip:d,hideTooltip:y}=function(e){var n=(0,t.useState)(Ws({tooltipOpen:!1},e)),r=n[0],o=n[1],i=(0,t.useCallback)((function(e){return o("function"==typeof e?function(t){t.tooltipOpen;var n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,zs);return Ws({},e(n),{tooltipOpen:!0})}:{tooltipOpen:!0,tooltipLeft:e.tooltipLeft,tooltipTop:e.tooltipTop,tooltipData:e.tooltipData})}),[o]),a=(0,t.useCallback)((function(){return o({tooltipOpen:!1,tooltipLeft:void 0,tooltipTop:void 0,tooltipData:void 0})}),[o]);return{tooltipOpen:r.tooltipOpen,tooltipLeft:r.tooltipLeft,tooltipTop:r.tooltipTop,tooltipData:r.tooltipData,updateTooltip:o,showTooltip:i,hideTooltip:a}}(),g=(0,t.useMemo)((()=>{let e=0;for(let t of r)e=Math.max(e,s.reduce(((e,n)=>e+t[n]),0));return e}),[r,s]),m=(0,t.useMemo)((()=>function(e){return Na(Ii(),e)}({range:[0,c],domain:[Math.min(...r.map(lu)),Math.max(...r.map(lu))]})),[r,c]),v=(0,t.useMemo)((()=>Ya({range:[u,0],domain:[0,Math.max(100,g)],round:!0})),[u,g]);return e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("svg",{"data-cy":"chart",style:{overflow:"visible"},width:e,height:n,children:[(0,t.jsx)(Us,{hideZero:!0,left:e-45,orientation:"right",scale:v,labelOffset:1,numTicks:5,tickLength:4,tickLabelProps:{x:25,dy:3},tickFormat:e=>i?.(e)??e}),(0,t.jsx)(Us,{hideZero:!0,left:0,top:u,orientation:"bottom",scale:m,labelOffset:1,numTicks:3,tickLength:4,tickLabelProps:{dx:6},tickFormat:e=>cu(e)}),(0,t.jsx)(cs,{xScale:m,yScale:v,width:c,height:u,numTicksRows:4,numTicksColumns:4}),(0,t.jsx)(It,{top:0,left:0,keys:s,data:r,order:"ascending",x:e=>m(lu(e.data))??0,y0:e=>v((e=>e[0])(e))??0,y1:e=>v((e=>e[1])(e))??0,children:({stacks:e,path:n})=>e.map(((e,r)=>(0,t.jsx)("path",{d:n(e)||"",stroke:o[e.key].color,strokeWidth:1,fill:o[e.key].color,fillOpacity:.2},`stack-${e.key}`)))}),(0,t.jsx)(Wt,{x:0,y:0,width:e-45,height:n,fill:"transparent",onMouseMove:e=>{const t=function(e,t){if((n=e)&&n instanceof Element&&t)return Bs(e,t);var n;if(function(e){return!!e&&(e instanceof Event||"nativeEvent"in e&&e.nativeEvent instanceof Event)}(e)){var r=e,o=r.target;if(o)return Bs(o,r)}return null}(e.target.ownerSVGElement,e)||{x:0,y:0},n=m.invert(t.x),o=uu(r,n,1);o&&d({tooltipLeft:t.x,tooltipTop:t.y,tooltipData:r[o]})},onMouseLeave:y})]}),h&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{style:{position:"absolute",top:0,left:0,height:n-30+"px",width:"1px",borderLeft:"1px solid hsl(0, 10%, 60%)",transform:`translateX(${f}px)`,pointerEvents:"none"}}),(0,t.jsx)(nu,{top:p,left:f,style:{zIndex:1,...Gs,background:"hsl(0, 10%, 10%)",color:"hsl(0, 0%, 80%)",padding:"8px",fontSize:"13px"},children:(({date:e,...n}={})=>{if(e)return(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{children:(0,t.jsx)("b",{children:cu(e)})}),Object.entries(n).map((([e,n])=>(0,t.jsxs)("div",{style:{color:o[e].color,marginBottom:"4px"},children:[o[e].name,": ",a?.(n)??n]})))]})})(l)},Math.random())]})]}):null}const pu=({height:e=250,...n})=>(0,t.jsx)("div",{style:{position:"relative",height:e},children:(0,t.jsx)(tn,{children:e=>(0,t.jsx)(fu,{width:e.width,height:e.height,...n})})}),hu=({token:e,config:r})=>{const[o,i]=(0,t.useState)(null),[a,s]=(0,t.useState)(null),u=(0,n.useTranslate)(),[c,l]=(0,t.useState)(),{keys:f,filterSources:p,transformData:h,formatAxisValues:d,formatTooltipValues:y,settings:g={}}=r,m=(0,t.useMemo)((()=>Object.entries(f).reduce(((e,[t,n])=>(e[t]={color:n.color,name:u(n.name),description:u(n.description)},e)),{})),[f]);return(0,t.useEffect)((()=>{nt.post(`/${e}/search`,{},{baseURL:Ke}).then((t=>{return nt.post(`/${e}/query`,(n=t.data,r=p,{range:{from:(new Date).getTime()-864e5,to:(new Date).getTime()},intervalMs:3e5,targets:n.filter(r).map((e=>({target:e})))}),{baseURL:Ke}).then((e=>i(h(e.data)))).catch((e=>{if(400!==e.response?.status)throw e;i({}),l(u("dataNotReady"))}));var n,r})).catch((e=>s(e.message)))}),[p,h]),"string"==typeof a?(0,t.jsx)(n.StatusMessage,{intent:"danger",children:a}):o&&0!==Object.keys(o).length&&m?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(n.Text,{fontSize:"sm",intent:"muted",children:[(0,t.jsx)(n.Translate,{content:"graphPeriod"}),g.description?`. ${g.description}`:null]}),(0,t.jsx)(pu,{data:o,keys:m,formatAxisValues:d,formatTooltipValues:y}),(0,t.jsxs)(n.Columns,{vertical:!1,style:{margin:"8px -16px 0",padding:"8px 16px 0",borderTop:"1px solid #ececec"},children:[(0,t.jsx)(n.Column,{fill:!0,children:(0,t.jsx)(n.Button,{ghost:!0,component:"a",href:"/modules/monitoring/index.php/index/main",children:(0,t.jsx)(n.Translate,{content:"seeMoreLink"})})}),(0,t.jsx)(n.Column,{style:{display:"flex",alignItems:"center",marginRight:"6px"},children:(0,t.jsx)(n.Popover,{target:(0,t.jsx)(n.Icon,{name:"question-mark-circle"}),placement:"top-left",children:(0,t.jsx)("ul",{children:Object.values(m).map((e=>(0,t.jsx)("li",{children:`${e.name}: ${e.description}`},e)))})})})]})]}):(0,t.jsx)(n.ContentLoader,{text:c})};hu.propTypes={token:ot().string.isRequired,config:ot().shape({keys:ot().arrayOf(ot().shape({color:ot().string.isRequired,name:ot().string.isRequired,description:ot().string.isRequired})).isRequired,filterSources:ot().func.isRequired,transformData:ot().func.isRequired,formatAxisValues:ot().func.isRequired,formatTooltipValues:ot().func.isRequired}).isRequired};const du=hu,yu=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],gu=(e,t=2)=>{if(!e)return"0 B";const n=Math.floor(Math.log(e)/Math.log(1024));return`${(e/1024**n).toFixed(t)} ${yu[n]}`},mu="rgb(234, 184, 57)",vu="rgb(126, 178, 109)",bu="rgb(31, 120, 193)",wu="rgb(112, 93, 160)",xu={cpu:{"cpu:user":{color:vu,name:"cpu.state.user",description:"cpu.description.user"},"cpu:privileged":{color:mu,name:"cpu.state.system",description:"cpu.description.system"},"cpu:idle":{color:wu,name:"cpu.state.idle",description:"cpu.description.idle"}},memory:{"memory_v1:used":{color:vu,name:"memory.state.used",description:"memory.description.used"},"memory_v1:cached":{color:mu,name:"memory.state.cached",description:"memory.description.cached"},"memory_v1:free":{color:bu,name:"memory.state.free",description:"memory.description.free"}}},Ou={cpu:{"cpu:percent-user:value":{color:vu,name:"cpu.state.user",description:"cpu.description.user"},"cpu:percent-system:value":{color:mu,name:"cpu.state.system",description:"cpu.description.system"},"cpu:percent-steal:value":{color:bu,name:"cpu.state.steal",description:"cpu.description.steal"},"cpu:percent-idle:value":{color:wu,name:"cpu.state.idle",description:"cpu.description.idle"}},memory:{"memory:memory-used:value":{color:vu,name:"memory.state.used",description:"memory.description.used"},"memory:memory-cached:value":{color:mu,name:"memory.state.cached",description:"memory.description.cached"},"memory:memory-free:value":{color:bu,name:"memory.state.free",description:"memory.description.free"}}},Su=(e,t)=>"cpu"===e?e=>e.startsWith("cpu"):t?e=>e.startsWith("memory_v1"):e=>e.startsWith("memory"),ku=e=>e.replace(/-\d+:/,":"),Tu=e=>"cpu"===e?e=>`${e.toFixed(0)}%`:e=>gu(e,e<1073741824?0:2),ju=e=>"cpu"===e?e=>`${e.toFixed(2)}%`:gu,Eu=(e,t,n={})=>{const r=t?xu[e]:Ou[e];return{keys:r,filterSources:Su(e,t),transformData:e=>((e,t,n)=>{const r=e.filter((e=>((e,t,n)=>n?t.includes(ku(e.target)):t.includes(e.target))(e,t,n))),o={};return r.forEach((e=>{const t={divisor:0,target:"",time:0};e.datapoints.forEach((r=>{const[i,a]=r;o.hasOwnProperty(a)||(o[a]=[]),t.target=e.target,n?(t.divisor+=1,t.target=ku(e.target),t.time=a,o[a][t.target]=(o[a][t.target]??0)+(i??0)):o[a][t.target]=i??0})),t.divisor&&(o[t.time][t.target]/=t.divisor)})),Object.entries(o).map((([e,t])=>({date:Number(e),...t})))})(e,Object.keys(r),t),formatAxisValues:Tu(e),formatTooltipValues:ju(e),settings:n}},Mu=({locale:e,token:r,type:o,isWindows:i,settings:a})=>{(0,t.render)((0,t.jsx)(n.LocaleProvider,{messages:e,children:(0,t.jsx)(du,{token:r,config:Eu(o,i,a)})}),document.getElementById(`monitoring-async-block-${o}`))}})(),o})()));