victory-voronoi-container 36.2.2 → 36.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/victory-voronoi-container.js +112 -12
- package/dist/victory-voronoi-container.min.js +1 -1
- package/es/index.d.ts +1 -1
- package/lib/index.d.ts +1 -1
- package/package.json +4 -4
- package/src/index.d.ts +1 -1
|
@@ -13886,11 +13886,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13886
13886
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
|
|
13887
13887
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "../../../node_modules/prop-types/index.js");
|
|
13888
13888
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
|
|
13889
|
-
/* harmony import */ var
|
|
13890
|
-
/* harmony import */ var
|
|
13889
|
+
/* harmony import */ var _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../victory-util/prop-types */ "../../victory-core/es/victory-util/prop-types.js");
|
|
13890
|
+
/* harmony import */ var _victory_portal_portal__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../victory-portal/portal */ "../../victory-core/es/victory-portal/portal.js");
|
|
13891
13891
|
/* harmony import */ var _victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-portal/portal-context */ "../../victory-core/es/victory-portal/portal-context.js");
|
|
13892
|
-
/* harmony import */ var
|
|
13892
|
+
/* harmony import */ var _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../victory-util/timer-context */ "../../victory-core/es/victory-util/timer-context.js");
|
|
13893
13893
|
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
13894
|
+
/* harmony import */ var _victory_util_user_props__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../victory-util/user-props */ "../../victory-core/es/victory-util/user-props.js");
|
|
13894
13895
|
|
|
13895
13896
|
|
|
13896
13897
|
|
|
@@ -13923,6 +13924,7 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
|
|
|
13923
13924
|
|
|
13924
13925
|
|
|
13925
13926
|
|
|
13927
|
+
|
|
13926
13928
|
var VictoryContainer =
|
|
13927
13929
|
/*#__PURE__*/
|
|
13928
13930
|
function (_React$Component) {
|
|
@@ -14093,8 +14095,9 @@ function (_React$Component) {
|
|
|
14093
14095
|
preserveAspectRatio = _props.preserveAspectRatio,
|
|
14094
14096
|
role = _props.role;
|
|
14095
14097
|
var style = responsive ? this.props.style : _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.omit(this.props.style, ["height", "width"]);
|
|
14098
|
+
var userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_9__.getSafeUserProps(this.props);
|
|
14096
14099
|
|
|
14097
|
-
var svgProps = lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({
|
|
14100
|
+
var svgProps = lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()(_objectSpread({
|
|
14098
14101
|
width: width,
|
|
14099
14102
|
height: height,
|
|
14100
14103
|
tabIndex: tabIndex,
|
|
@@ -14103,7 +14106,7 @@ function (_React$Component) {
|
|
|
14103
14106
|
"aria-describedby": [desc && this.getIdForElement("desc"), this.props["aria-describedby"]].filter(Boolean).join(" ") || undefined,
|
|
14104
14107
|
viewBox: responsive ? "0 0 ".concat(width, " ").concat(height) : undefined,
|
|
14105
14108
|
preserveAspectRatio: responsive ? preserveAspectRatio : undefined
|
|
14106
|
-
}, events);
|
|
14109
|
+
}, userProps), events);
|
|
14107
14110
|
|
|
14108
14111
|
return this.renderContainer(this.props, svgProps, style);
|
|
14109
14112
|
}
|
|
@@ -14137,18 +14140,18 @@ Object.defineProperty(VictoryContainer, "propTypes", {
|
|
|
14137
14140
|
containerRef: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
|
|
14138
14141
|
desc: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string),
|
|
14139
14142
|
events: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().object),
|
|
14140
|
-
height:
|
|
14143
|
+
height: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative,
|
|
14141
14144
|
name: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string),
|
|
14142
14145
|
origin: prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({
|
|
14143
|
-
x:
|
|
14144
|
-
y:
|
|
14146
|
+
x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative,
|
|
14147
|
+
y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative
|
|
14145
14148
|
}),
|
|
14146
14149
|
ouiaId: prop_types__WEBPACK_IMPORTED_MODULE_6___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_6___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string)]),
|
|
14147
14150
|
ouiaSafe: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool),
|
|
14148
14151
|
ouiaType: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string),
|
|
14149
14152
|
polar: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool),
|
|
14150
14153
|
portalComponent: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().element),
|
|
14151
|
-
portalZIndex:
|
|
14154
|
+
portalZIndex: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.integer,
|
|
14152
14155
|
preserveAspectRatio: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string),
|
|
14153
14156
|
responsive: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool),
|
|
14154
14157
|
role: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string),
|
|
@@ -14156,7 +14159,7 @@ Object.defineProperty(VictoryContainer, "propTypes", {
|
|
|
14156
14159
|
tabIndex: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().number),
|
|
14157
14160
|
theme: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().object),
|
|
14158
14161
|
title: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string),
|
|
14159
|
-
width:
|
|
14162
|
+
width: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative
|
|
14160
14163
|
}
|
|
14161
14164
|
});
|
|
14162
14165
|
Object.defineProperty(VictoryContainer, "defaultProps", {
|
|
@@ -14165,7 +14168,7 @@ Object.defineProperty(VictoryContainer, "defaultProps", {
|
|
|
14165
14168
|
writable: true,
|
|
14166
14169
|
value: {
|
|
14167
14170
|
className: "VictoryContainer",
|
|
14168
|
-
portalComponent: react__WEBPACK_IMPORTED_MODULE_5___default().createElement(
|
|
14171
|
+
portalComponent: react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_victory_portal_portal__WEBPACK_IMPORTED_MODULE_11__["default"], null),
|
|
14169
14172
|
portalZIndex: 99,
|
|
14170
14173
|
responsive: true,
|
|
14171
14174
|
role: "img"
|
|
@@ -14175,7 +14178,7 @@ Object.defineProperty(VictoryContainer, "contextType", {
|
|
|
14175
14178
|
configurable: true,
|
|
14176
14179
|
enumerable: true,
|
|
14177
14180
|
writable: true,
|
|
14178
|
-
value:
|
|
14181
|
+
value: _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_12__["default"]
|
|
14179
14182
|
});
|
|
14180
14183
|
|
|
14181
14184
|
|
|
@@ -18359,6 +18362,103 @@ function () {
|
|
|
18359
18362
|
|
|
18360
18363
|
|
|
18361
18364
|
|
|
18365
|
+
/***/ }),
|
|
18366
|
+
|
|
18367
|
+
/***/ "../../victory-core/es/victory-util/user-props.js":
|
|
18368
|
+
/*!********************************************************!*\
|
|
18369
|
+
!*** ../../victory-core/es/victory-util/user-props.js ***!
|
|
18370
|
+
\********************************************************/
|
|
18371
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
18372
|
+
|
|
18373
|
+
"use strict";
|
|
18374
|
+
__webpack_require__.r(__webpack_exports__);
|
|
18375
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18376
|
+
/* harmony export */ "getSafeUserProps": () => (/* binding */ getSafeUserProps)
|
|
18377
|
+
/* harmony export */ });
|
|
18378
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
|
|
18379
|
+
|
|
18380
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
|
|
18381
|
+
|
|
18382
|
+
function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
18383
|
+
|
|
18384
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
18385
|
+
|
|
18386
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
18387
|
+
|
|
18388
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
18389
|
+
|
|
18390
|
+
/*
|
|
18391
|
+
USER_PROPS_SAFELIST is to contain any string deemed safe for user props.
|
|
18392
|
+
The startsWidth array will contain the start of any accepted user-prop that
|
|
18393
|
+
starts with these characters.
|
|
18394
|
+
The exactMatch will contain a list of exact prop names that are accepted.
|
|
18395
|
+
*/
|
|
18396
|
+
var USER_PROPS_SAFELIST = {
|
|
18397
|
+
startsWith: ["data-", "aria-"],
|
|
18398
|
+
exactMatch: []
|
|
18399
|
+
};
|
|
18400
|
+
/**
|
|
18401
|
+
* doesPropStartWith: Function that takes a prop's key and runs it against all
|
|
18402
|
+
* options in the USER_PROPS_SAFELIST and checks to see if it starts with any
|
|
18403
|
+
* of those options.
|
|
18404
|
+
* @param {string} key: prop key to be tested against whitelist
|
|
18405
|
+
* @returns {Boolean}: returns true if the key starts with an option or false if
|
|
18406
|
+
* otherwise
|
|
18407
|
+
*/
|
|
18408
|
+
|
|
18409
|
+
var doesPropStartWith = function (key) {
|
|
18410
|
+
var startsWith = false;
|
|
18411
|
+
USER_PROPS_SAFELIST.startsWith.forEach(function (starterString) {
|
|
18412
|
+
var regex = new RegExp("\\b(".concat(starterString, ")(\\w|-)+"), "g");
|
|
18413
|
+
if (regex.test(key)) startsWith = true;
|
|
18414
|
+
});
|
|
18415
|
+
return startsWith;
|
|
18416
|
+
};
|
|
18417
|
+
/**
|
|
18418
|
+
* isExactMatch: checks to see if the given key matches any of the 'exactMatch'
|
|
18419
|
+
* items in the whitelist
|
|
18420
|
+
* @param {String} key: prop key to be tested against the whitelist-exact match
|
|
18421
|
+
* array.
|
|
18422
|
+
* @returns {Boolean}: return true if whitelist contains that key, otherwise
|
|
18423
|
+
* returns false.
|
|
18424
|
+
*/
|
|
18425
|
+
|
|
18426
|
+
|
|
18427
|
+
var isExactMatch = function (key) {
|
|
18428
|
+
return USER_PROPS_SAFELIST.exactMatch.includes(key);
|
|
18429
|
+
};
|
|
18430
|
+
/**
|
|
18431
|
+
* testIfSafeProp: tests prop's key against both startsWith and exactMatch values
|
|
18432
|
+
* @param {String} key: prop key to be tested against the whitelist
|
|
18433
|
+
* @returns {Boolean}: returns true if found in whitelist, otherwise returns false
|
|
18434
|
+
*/
|
|
18435
|
+
|
|
18436
|
+
|
|
18437
|
+
var testIfSafeProp = function (key) {
|
|
18438
|
+
if (doesPropStartWith(key) || isExactMatch(key)) return true;
|
|
18439
|
+
return false;
|
|
18440
|
+
};
|
|
18441
|
+
/**
|
|
18442
|
+
* getSafeUserProps - function that takes in a props object and removes any
|
|
18443
|
+
* key-value entries that do not match filter strings in the USER_PROPS_SAFELIST
|
|
18444
|
+
* object.
|
|
18445
|
+
*
|
|
18446
|
+
* @param {Object} props: props to be filtered against USER_PROPS_SAFELIST
|
|
18447
|
+
* @returns {Object}: object containing remaining acceptable props
|
|
18448
|
+
*/
|
|
18449
|
+
|
|
18450
|
+
|
|
18451
|
+
var getSafeUserProps = function (props) {
|
|
18452
|
+
var propsToFilter = _objectSpread({}, props);
|
|
18453
|
+
|
|
18454
|
+
return Object.fromEntries(Object.entries(propsToFilter).filter(function (_ref) {
|
|
18455
|
+
var _ref2 = _slicedToArray(_ref, 1),
|
|
18456
|
+
key = _ref2[0];
|
|
18457
|
+
|
|
18458
|
+
return testIfSafeProp(key);
|
|
18459
|
+
}));
|
|
18460
|
+
};
|
|
18461
|
+
|
|
18362
18462
|
/***/ }),
|
|
18363
18463
|
|
|
18364
18464
|
/***/ "../../victory-tooltip/es/flyout.js":
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.VictoryVoronoiContainer=t(require("react")):e.VictoryVoronoiContainer=t(e.React)}(self,(function(e){return(()=>{var t={2231:function(e){e.exports=function(){"use strict";var e=Math.pow(2,-52),t=new Uint32Array(512),n=function(e){var t=e.length>>1;if(t>0&&"number"!=typeof e[0])throw new Error("Expected coords to contain numbers.");this.coords=e;var n=Math.max(2*t-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(t)),this._hullPrev=new Uint32Array(t),this._hullNext=new Uint32Array(t),this._hullTri=new Uint32Array(t),this._hullHash=new Int32Array(this._hashSize).fill(-1),this._ids=new Uint32Array(t),this._dists=new Float64Array(t),this.update()};function r(e,t,n,r){var o=e-n,i=t-r;return o*o+i*i}function o(e,t,n,r,o,i){var a=(r-t)*(o-e),u=(n-e)*(i-t);return Math.abs(a-u)>=33306690738754716e-32*Math.abs(a+u)?a-u:0}function i(e,t,n,r,i,a){return(o(i,a,e,t,n,r)||o(e,t,n,r,i,a)||o(n,r,i,a,e,t))<0}function a(e,t,n,r,o,i){var a=n-e,u=r-t,c=o-e,l=i-t,f=a*a+u*u,s=c*c+l*l,d=.5/(a*l-u*c),h=(l*f-u*s)*d,p=(a*s-c*f)*d;return h*h+p*p}function u(e,t,n,r){if(r-n<=20)for(var o=n+1;o<=r;o++){for(var i=e[o],a=t[i],l=o-1;l>=n&&t[e[l]]>a;)e[l+1]=e[l--];e[l+1]=i}else{var f=n+1,s=r;c(e,n+r>>1,f),t[e[n]]>t[e[r]]&&c(e,n,r),t[e[f]]>t[e[r]]&&c(e,f,r),t[e[n]]>t[e[f]]&&c(e,n,f);for(var d=e[f],h=t[d];;){do{f++}while(t[e[f]]<h);do{s--}while(t[e[s]]>h);if(s<f)break;c(e,f,s)}e[n+1]=e[s],e[s]=d,r-f+1>=s-n?(u(e,t,f,r),u(e,t,n,s-1)):(u(e,t,n,s-1),u(e,t,f,r))}}function c(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function l(e){return e[0]}function f(e){return e[1]}return n.from=function(e,t,r){void 0===t&&(t=l),void 0===r&&(r=f);for(var o=e.length,i=new Float64Array(2*o),a=0;a<o;a++){var u=e[a];i[2*a]=t(u),i[2*a+1]=r(u)}return new n(i)},n.prototype.update=function(){for(var t=this,n=t.coords,o=t._hullPrev,c=t._hullNext,l=t._hullTri,f=t._hullHash,s=n.length>>1,d=1/0,h=1/0,p=-1/0,y=-1/0,g=0;g<s;g++){var v=n[2*g],b=n[2*g+1];v<d&&(d=v),b<h&&(h=b),v>p&&(p=v),b>y&&(y=b),this._ids[g]=g}for(var m,x,w,O=(d+p)/2,M=(h+y)/2,k=1/0,T=0;T<s;T++){var A=r(O,M,n[2*T],n[2*T+1]);A<k&&(m=T,k=A)}var _=n[2*m],j=n[2*m+1];k=1/0;for(var S=0;S<s;S++)if(S!==m){var P=r(_,j,n[2*S],n[2*S+1]);P<k&&P>0&&(x=S,k=P)}for(var C=n[2*x],E=n[2*x+1],D=1/0,L=0;L<s;L++)if(L!==m&&L!==x){var N=a(_,j,C,E,n[2*L],n[2*L+1]);N<D&&(w=L,D=N)}var U=n[2*w],I=n[2*w+1];if(D===1/0){for(var z=0;z<s;z++)this._dists[z]=n[2*z]-n[0]||n[2*z+1]-n[1];u(this._ids,this._dists,0,s-1);for(var F=new Uint32Array(s),H=0,R=0,W=-1/0;R<s;R++){var q=this._ids[R];this._dists[q]>W&&(F[H++]=q,W=this._dists[q])}return this.hull=F.subarray(0,H),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(i(_,j,C,E,U,I)){var Y=x,V=C,B=E;x=w,C=U,E=I,w=Y,U=V,I=B}var K=function(e,t,n,r,o,i){var a=n-e,u=r-t,c=o-e,l=i-t,f=a*a+u*u,s=c*c+l*l,d=.5/(a*l-u*c);return{x:e+(l*f-u*s)*d,y:t+(a*s-c*f)*d}}(_,j,C,E,U,I);this._cx=K.x,this._cy=K.y;for(var Z=0;Z<s;Z++)this._dists[Z]=r(n[2*Z],n[2*Z+1],K.x,K.y);u(this._ids,this._dists,0,s-1),this._hullStart=m;var $=3;c[m]=o[w]=x,c[x]=o[m]=w,c[w]=o[x]=m,l[m]=0,l[x]=1,l[w]=2,f.fill(-1),f[this._hashKey(_,j)]=m,f[this._hashKey(C,E)]=x,f[this._hashKey(U,I)]=w,this.trianglesLen=0,this._addTriangle(m,x,w,-1,-1,-1);for(var X=0,G=void 0,Q=void 0;X<this._ids.length;X++){var J=this._ids[X],ee=n[2*J],te=n[2*J+1];if(!(X>0&&Math.abs(ee-G)<=e&&Math.abs(te-Q)<=e)&&(G=ee,Q=te,J!==m&&J!==x&&J!==w)){for(var ne=0,re=0,oe=this._hashKey(ee,te);re<this._hashSize&&(-1===(ne=f[(oe+re)%this._hashSize])||ne===c[ne]);re++);for(var ie=ne=o[ne],ae=void 0;ae=c[ie],!i(ee,te,n[2*ie],n[2*ie+1],n[2*ae],n[2*ae+1]);)if((ie=ae)===ne){ie=-1;break}if(-1!==ie){var ue=this._addTriangle(ie,J,c[ie],-1,-1,l[ie]);l[J]=this._legalize(ue+2),l[ie]=ue,$++;for(var ce=c[ie];ae=c[ce],i(ee,te,n[2*ce],n[2*ce+1],n[2*ae],n[2*ae+1]);)ue=this._addTriangle(ce,J,ae,l[J],-1,l[ce]),l[J]=this._legalize(ue+2),c[ce]=ce,$--,ce=ae;if(ie===ne)for(;i(ee,te,n[2*(ae=o[ie])],n[2*ae+1],n[2*ie],n[2*ie+1]);)ue=this._addTriangle(ae,J,ie,-1,l[ie],l[ae]),this._legalize(ue+2),l[ae]=ue,c[ie]=ie,$--,ie=ae;this._hullStart=o[J]=ie,c[ie]=o[ce]=J,c[J]=ce,f[this._hashKey(ee,te)]=J,f[this._hashKey(n[2*ie],n[2*ie+1])]=ie}}}this.hull=new Uint32Array($);for(var le=0,fe=this._hullStart;le<$;le++)this.hull[le]=fe,fe=c[fe];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)},n.prototype._hashKey=function(e,t){return Math.floor((n=e-this._cx,r=t-this._cy,o=n/(Math.abs(n)+Math.abs(r)),(r>0?3-o:1+o)/4*this._hashSize))%this._hashSize;var n,r,o},n.prototype._legalize=function(e){for(var n=this,r=n._triangles,o=n._halfedges,i=n.coords,a=0,u=0;;){var c=o[e],l=e-e%3;if(u=l+(e+2)%3,-1!==c){var f=c-c%3,s=l+(e+1)%3,d=f+(c+2)%3,h=r[u],p=r[e],y=r[s],g=r[d];if(x=i[2*h],w=i[2*h+1],O=i[2*p],M=i[2*p+1],k=i[2*y],T=i[2*y+1],A=i[2*g],_=i[2*g+1],j=void 0,S=void 0,P=void 0,C=void 0,E=void 0,D=void 0,L=void 0,N=void 0,(j=x-A)*((C=M-_)*(N=(E=k-A)*E+(D=T-_)*D)-(L=(P=O-A)*P+C*C)*D)-(S=w-_)*(P*N-L*E)+(j*j+S*S)*(P*D-C*E)<0){r[e]=g,r[c]=h;var v=o[d];if(-1===v){var b=this._hullStart;do{if(this._hullTri[b]===d){this._hullTri[b]=e;break}b=this._hullPrev[b]}while(b!==this._hullStart)}this._link(e,v),this._link(c,o[u]),this._link(u,d);var m=f+(c+1)%3;a<t.length&&(t[a++]=m)}else{if(0===a)break;e=t[--a]}}else{if(0===a)break;e=t[--a]}}var x,w,O,M,k,T,A,_,j,S,P,C,E,D,L,N;return u},n.prototype._link=function(e,t){this._halfedges[e]=t,-1!==t&&(this._halfedges[t]=e)},n.prototype._addTriangle=function(e,t,n,r,o,i){var a=this.trianglesLen;return this._triangles[a]=e,this._triangles[a+1]=t,this._triangles[a+2]=n,this._link(a,r),this._link(a+1,o),this._link(a+2,i),this.trianglesLen+=3,a},n}()},1080:(e,t,n)=>{"use strict";t.Z=void 0;var r,o=(r=n(2231))&&r.__esModule?r:{default:r};function i(e){return e[0]}function a(e){return e[1]}function u(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}var c=function(){function e(e){var t=new o.default(e);this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=t.coords,this._init(t)}var t=e.prototype;return t._init=function(e){var t=e,n=this.points;if(t.hull&&t.hull.length>2&&function(e){for(var t=e.triangles,n=e.coords,r=0;r<t.length;r+=3){var o=2*t[r],i=2*t[r+1],a=2*t[r+2];if((n[a]-n[o])*(n[i+1]-n[o+1])-(n[i]-n[o])*(n[a+1]-n[o+1])>1e-10)return!1}return!0}(t)){this.collinear=Int32Array.from({length:n.length/2},(function(e,t){return t})).sort((function(e,t){return n[2*e]-n[2*t]||n[2*e+1]-n[2*t+1]}));for(var r=this.collinear[0],i=this.collinear[this.collinear.length-1],a=[n[2*r],n[2*r+1],n[2*i],n[2*i+1]],c=1e-8*Math.sqrt(Math.pow(a[3]-a[1],2)+Math.pow(a[2]-a[0],2)),l=0,f=n.length/2;l<f;++l){var s=u(n[2*l],n[2*l+1],c);n[2*l]=s[0],n[2*l+1]=s[1]}e=new o.default(n)}for(var d=this.halfedges=e.halfedges,h=this.hull=e.hull,p=this.triangles=e.triangles,y=this.inedges.fill(-1),g=this._hullIndex.fill(-1),v=0,b=d.length;v<b;++v){var m=p[v%3==2?v-2:v+1];-1!==d[v]&&-1!==y[m]||(y[m]=v)}for(var x=0,w=h.length;x<w;++x)g[h[x]]=x;h.length<=2&&h.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=h[0],this.triangles[1]=h[1],this.triangles[2]=h[1],y[h[0]]=1,2===h.length&&(y[h[1]]=0))},t.neighbors=function(e){var t=[],n=this.inedges,r=this.hull,o=this._hullIndex,i=this.halfedges,a=this.triangles,u=n[e];if(-1===u)return t;var c=u,l=-1;do{if(l=a[c],t.push(l),a[c=c%3==2?c-2:c+1]!==e)break;if(-1===(c=i[c])){var f=r[(o[e]+1)%r.length];f!==l&&t.push(f);break}}while(c!==u);return t},t.find=function(e,t,n){if(void 0===n&&(n=0),(e=+e)!=e||(t=+t)!=t)return-1;for(var r,o=n;(r=this._step(n,e,t))>=0&&r!==n&&r!==o;)n=r;return r},t._step=function(e,t,n){var r=this.inedges,o=this.points;if(-1===r[e]||!o.length)return(e+1)%(o.length>>1);var i=e,a=Math.pow(t-o[2*e],2)+Math.pow(n-o[2*e+1],2),u=this.neighbors(e),c=Array.isArray(u),l=0;for(u=c?u:u[Symbol.iterator]();;){var f;if(c){if(l>=u.length)break;f=u[l++]}else{if((l=u.next()).done)break;f=l.value}var s=f,d=Math.pow(t-o[2*s],2)+Math.pow(n-o[2*s+1],2);d<a&&(a=d,i=s)}return i},e}();t.Z=c,c.from=function(e,t,n,r){return void 0===t&&(t=i),void 0===n&&(n=a),new c(function(e,t,n,r){for(var o=e.length,i=new Float64Array(2*o),a=0;a<o;++a){var u=e[a];i[2*a]=t.call(r,u,a,e),i[2*a+1]=n.call(r,u,a,e)}return i}(e,t,n,r))}},1124:(e,t,n)=>{var r=n(7236);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return r(e)?e:[e]}},4281:(e,t,n)=>{var r=n(7168),o=n(6582),i=n(3867),a=n(9557),u=n(2726);function c(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])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,e.exports=c},4690:(e,t,n)=>{var r=n(441).Symbol;e.exports=r},5198:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},8058:(e,t,n)=>{var r=n(7650);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},7431:e=>{e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},6460:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},3848:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},4793:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},7596:(e,t,n)=>{var r=n(999),o=n(6530),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},3833:(e,t,n)=>{var r=n(6530);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},999:(e,t,n)=>{var r=n(9346);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},528:e=>{e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},314:(e,t,n)=>{var r=n(3848),o=n(1754);e.exports=function e(t,n,i,a,u){var c=-1,l=t.length;for(i||(i=o),u||(u=[]);++c<l;){var f=t[c];n>0&&i(f)?n>1?e(f,n-1,i,a,u):r(u,f):a||(u[u.length]=f)}return u}},166:(e,t,n)=>{var r=n(8422),o=n(8780);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},4318:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},7650:e=>{e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},1071:(e,t,n)=>{var r=n(7229),o=n(3387);e.exports=function e(t,n,i,a,u){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,u))}},7229:(e,t,n)=>{var r=n(4281),o=n(2503),i=n(6001),a=n(8784),u=n(6686),c=n(7236),l=n(8752),f=n(4812),s="[object Arguments]",d="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,y,g,v){var b=c(e),m=c(t),x=b?d:u(e),w=m?d:u(t),O=(x=x==s?h:x)==h,M=(w=w==s?h:w)==h,k=x==w;if(k&&l(e)){if(!l(t))return!1;b=!0,O=!1}if(k&&!O)return v||(v=new r),b||f(e)?o(e,t,n,y,g,v):i(e,t,x,n,y,g,v);if(!(1&n)){var T=O&&p.call(e,"__wrapped__"),A=M&&p.call(t,"__wrapped__");if(T||A){var _=T?e.value():e,j=A?t.value():t;return v||(v=new r),g(_,j,n,y,v)}}return!!k&&(v||(v=new r),a(e,t,n,y,g,v))}},9157:(e,t,n)=>{var r=n(4281),o=n(1071);e.exports=function(e,t,n,i){var a=n.length,u=a,c=!i;if(null==e)return!u;for(e=Object(e);a--;){var l=n[a];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<u;){var f=(l=n[a])[0],s=e[f],d=l[1];if(c&&l[2]){if(void 0===s&&!(f in e))return!1}else{var h=new r;if(i)var p=i(s,d,f,e,t,h);if(!(void 0===p?o(d,s,3,i,h):p))return!1}}return!0}},1131:(e,t,n)=>{var r=n(4318),o=n(3387);e.exports=function(e){return o(e)&&"[object RegExp]"==r(e)}},8904:(e,t,n)=>{var r=n(8418),o=n(4555),i=n(5362),a=n(7236),u=n(1651);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):u(e)}},8803:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},2920:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},8418:(e,t,n)=>{var r=n(9157),o=n(9182),i=n(7375);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},4555:(e,t,n)=>{var r=n(1071),o=n(3795),i=n(3646),a=n(3266),u=n(1457),c=n(7375),l=n(8780);e.exports=function(e,t){return a(e)&&u(t)?c(l(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},690:(e,t,n)=>{var r=n(6460),o=n(166),i=n(8904),a=n(2920),u=n(6024),c=n(6535),l=n(1397),f=n(5362),s=n(7236);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return s(e)?function(t){return o(t,1===e.length?e[0]:e)}:e})):[f];var d=-1;t=r(t,c(i));var h=a(e,(function(e,n,o){return{criteria:r(t,(function(t){return t(e)})),index:++d,value:e}}));return u(h,(function(e,t){return l(e,t,n)}))}},7410:(e,t,n)=>{var r=n(6621),o=n(3646);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},6621:(e,t,n)=>{var r=n(166),o=n(8116),i=n(8422);e.exports=function(e,t,n){for(var a=-1,u=t.length,c={};++a<u;){var l=t[a],f=r(e,l);n(f,l)&&o(c,i(l,e),f)}return c}},1712:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},4815:(e,t,n)=>{var r=n(166);e.exports=function(e){return function(t){return r(t,e)}}},797:e=>{var t=Math.ceil,n=Math.max;e.exports=function(e,r,o,i){for(var a=-1,u=n(t((r-e)/(o||1)),0),c=Array(u);u--;)c[i?u:++a]=e,e+=o;return c}},4569:(e,t,n)=>{var r=n(5362),o=n(4468),i=n(8756);e.exports=function(e,t){return i(o(e,t,r),e+"")}},8116:(e,t,n)=>{var r=n(7596),o=n(8422),i=n(4363),a=n(5973),u=n(8780);e.exports=function(e,t,n,c){if(!a(e))return e;for(var l=-1,f=(t=o(t,e)).length,s=f-1,d=e;null!=d&&++l<f;){var h=u(t[l]),p=n;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(l!=s){var y=d[h];void 0===(p=c?c(y,h,d):void 0)&&(p=a(y)?y:i(t[l+1])?[]:{})}r(d,h,p),d=d[h]}return e}},6024:e=>{e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},6535:e=>{e.exports=function(e){return function(t){return e(t)}}},4351:(e,t,n)=>{var r=n(1124),o=n(8058),i=n(7431),a=n(555),u=n(8491),c=n(6350);e.exports=function(e,t,n){var l=-1,f=o,s=e.length,d=!0,h=[],p=h;if(n)d=!1,f=i;else if(s>=200){var y=t?null:u(e);if(y)return c(y);d=!1,f=a,p=new r}else p=t?[]:h;e:for(;++l<s;){var g=e[l],v=t?t(g):g;if(g=n||0!==g?g:0,d&&v==v){for(var b=p.length;b--;)if(p[b]===v)continue e;t&&p.push(v),h.push(g)}else f(p,v,n)||(p!==h&&p.push(v),h.push(g))}return h}},555:(e,t,n)=>{var r=n(7650);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},8422:(e,t,n)=>{var r=n(7236),o=n(3266),i=n(3879),a=n(1119);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},709:(e,t,n)=>{var r=n(2945);e.exports=function(e,t){if(e!==t){var n=void 0!==e,o=null===e,i=e==e,a=r(e),u=void 0!==t,c=null===t,l=t==t,f=r(t);if(!c&&!f&&!a&&e>t||a&&u&&l&&!c&&!f||o&&u&&l||!n&&l||!i)return 1;if(!o&&!a&&!f&&e<t||f&&n&&i&&!o&&!a||c&&n&&i||!u&&i||!l)return-1}return 0}},1397:(e,t,n)=>{var r=n(709);e.exports=function(e,t,n){for(var o=-1,i=e.criteria,a=t.criteria,u=i.length,c=n.length;++o<u;){var l=r(i[o],a[o]);if(l)return o>=c?l:l*("desc"==n[o]?-1:1)}return e.index-t.index}},6051:(e,t,n)=>{var r=n(7596),o=n(999);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var u=-1,c=t.length;++u<c;){var l=t[u],f=i?i(n[l],e[l],l,n,e):void 0;void 0===f&&(f=e[l]),a?o(n,l,f):r(n,l,f)}return n}},2544:(e,t,n)=>{var r=n(4569),o=n(3108);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,u=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,u&&o(n[0],n[1],u)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var c=n[r];c&&e(t,c,r,a)}return t}))}},3086:(e,t,n)=>{var r=n(8904),o=n(1580),i=n(2635);e.exports=function(e){return function(t,n,a){var u=Object(t);if(!o(t)){var c=r(n,3);t=i(t),n=function(e){return c(u[e],e,u)}}var l=e(t,n,a);return l>-1?u[c?t[l]:l]:void 0}}},9833:(e,t,n)=>{var r=n(797),o=n(3108),i=n(992);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&o(t,n,a)&&(n=a=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),a=void 0===a?t<n?1:-1:i(a),r(t,n,a,e)}}},8491:e=>{e.exports=function(){}},9346:(e,t,n)=>{var r=n(4457),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},2503:(e,t,n)=>{var r=n(1124),o=n(4793),i=n(555);e.exports=function(e,t,n,a,u,c){var l=1&n,f=e.length,s=t.length;if(f!=s&&!(l&&s>f))return!1;var d=c.get(e),h=c.get(t);if(d&&h)return d==t&&h==e;var p=-1,y=!0,g=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++p<f;){var v=e[p],b=t[p];if(a)var m=l?a(b,v,p,t,e,c):a(v,b,p,e,t,c);if(void 0!==m){if(m)continue;y=!1;break}if(g){if(!o(t,(function(e,t){if(!i(g,t)&&(v===e||u(v,e,n,a,c)))return g.push(t)}))){y=!1;break}}else if(v!==b&&!u(v,b,n,a,c)){y=!1;break}}return c.delete(e),c.delete(t),y}},6001:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},8784:(e,t,n)=>{var r=n(6094),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,u){var c=1&n,l=r(e),f=l.length;if(f!=r(t).length&&!c)return!1;for(var s=f;s--;){var d=l[s];if(!(c?d in t:o.call(t,d)))return!1}var h=u.get(e),p=u.get(t);if(h&&p)return h==t&&p==e;var y=!0;u.set(e,t),u.set(t,e);for(var g=c;++s<f;){var v=e[d=l[s]],b=t[d];if(i)var m=c?i(b,v,d,t,e,u):i(v,b,d,e,t,u);if(!(void 0===m?v===b||a(v,b,n,i,u):m)){y=!1;break}g||(g="constructor"==d)}if(y&&!g){var x=e.constructor,w=t.constructor;x==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(y=!1)}return u.delete(e),u.delete(t),y}},3368:(e,t,n)=>{var r=n(5453),o=n(4468),i=n(8756);e.exports=function(e){return i(o(e,void 0,r),e+"")}},4414:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},6094:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},5559:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},9182:(e,t,n)=>{var r=n(1457),o=n(2635);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},4457:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},1407:(e,t,n)=>{var r=n(3717)(Object.getPrototypeOf,Object);e.exports=r},6686:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7383:(e,t,n)=>{var r=n(8422),o=n(6981),i=n(7236),a=n(4363),u=n(9216),c=n(8780);e.exports=function(e,t,n){for(var l=-1,f=(t=r(t,e)).length,s=!1;++l<f;){var d=c(t[l]);if(!(s=null!=e&&n(e,d)))break;e=e[d]}return s||++l!=f?s:!!(f=null==e?0:e.length)&&u(f)&&a(d,f)&&(i(e)||o(e))}},1754:(e,t,n)=>{var r=n(4690),o=n(6981),i=n(7236),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},4363:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},3108:e=>{e.exports=function(){return!1}},3266:(e,t,n)=>{var r=n(7236),o=n(2945),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},5003:e=>{e.exports=function(){return!1}},1457:(e,t,n)=>{var r=n(5973);e.exports=function(e){return e==e&&!r(e)}},7168:e=>{e.exports=function(){this.__data__=[],this.size=0}},6582:(e,t,n)=>{var r=n(3833),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))}},3867:(e,t,n)=>{var r=n(3833);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},9557:(e,t,n)=>{var r=n(3833);e.exports=function(e){return r(this.__data__,e)>-1}},2726:(e,t,n)=>{var r=n(3833);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}},7375:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},7085:e=>{e.exports=function(e){return e}},1782:(e,t,n)=>{e=n.nmd(e);var r=n(4414),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,u=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=u},3717:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},4468:(e,t,n)=>{var r=n(5198),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,u=o(i.length-t,0),c=Array(u);++a<u;)c[a]=i[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=i[a];return l[t]=n(c),r(e,this,l)}}},441:(e,t,n)=>{var r=n(4414),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},6350:e=>{e.exports=function(){return[]}},8756:e=>{e.exports=function(e){return e}},3879:(e,t,n)=>{var r=n(7085),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},8780:e=>{e.exports=function(e){return e}},6782:(e,t,n)=>{var r=n(7596),o=n(6051),i=n(2544),a=n(1580),u=n(5003),c=n(2635),l=Object.prototype.hasOwnProperty,f=i((function(e,t){if(u(t)||a(t))o(t,c(t),e);else for(var n in t)l.call(t,n)&&r(e,n,t[n])}));e.exports=f},5750:(e,t,n)=>{var r=n(5973),o=n(8148),i=n(8746),a=Math.max,u=Math.min;e.exports=function(e,t,n){var c,l,f,s,d,h,p=0,y=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=c,r=l;return c=l=void 0,p=t,s=e.apply(r,n)}function m(e){return p=e,d=setTimeout(w,t),y?b(e):s}function x(e){var n=e-h;return void 0===h||n>=t||n<0||g&&e-p>=f}function w(){var e=o();if(x(e))return O(e);d=setTimeout(w,function(e){var n=t-(e-h);return g?u(n,f-(e-p)):n}(e))}function O(e){return d=void 0,v&&c?b(e):(c=l=void 0,s)}function M(){var e=o(),n=x(e);if(c=arguments,l=this,h=e,n){if(void 0===d)return m(h);if(g)return clearTimeout(d),d=setTimeout(w,t),b(h)}return void 0===d&&(d=setTimeout(w,t)),s}return t=i(t)||0,r(n)&&(y=!!n.leading,f=(g="maxWait"in n)?a(i(n.maxWait)||0,t):f,v="trailing"in n?!!n.trailing:v),M.cancel=function(){void 0!==d&&clearTimeout(d),p=0,c=h=l=d=void 0},M.flush=function(){return void 0===d?s:O(o())},M}},7901:(e,t,n)=>{var r=n(4569),o=n(6530),i=n(3108),a=n(5850),u=Object.prototype,c=u.hasOwnProperty,l=r((function(e,t){e=Object(e);var n=-1,r=t.length,l=r>2?t[2]:void 0;for(l&&i(t[0],t[1],l)&&(r=1);++n<r;)for(var f=t[n],s=a(f),d=-1,h=s.length;++d<h;){var p=s[d],y=e[p];(void 0===y||o(y,u[p])&&!c.call(e,p))&&(e[p]=f[p])}return e}));e.exports=l},6530:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},6786:(e,t,n)=>{var r=n(3086)(n(8611));e.exports=r},8611:(e,t,n)=>{var r=n(528),o=n(8904),i=n(5225),a=Math.max;e.exports=function(e,t,n){var u=null==e?0:e.length;if(!u)return-1;var c=null==n?0:i(n);return c<0&&(c=a(u+c,0)),r(e,o(t,3),c)}},5453:(e,t,n)=>{var r=n(314);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},3795:(e,t,n)=>{var r=n(166);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},3646:(e,t,n)=>{var r=n(7),o=n(7383);e.exports=function(e,t){return null!=e&&o(e,t,r)}},5362:e=>{e.exports=function(e){return e}},6901:(e,t,n)=>{var r=n(7650);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},6981:e=>{e.exports=function(){return!1}},7236:e=>{var t=Array.isArray;e.exports=t},1580:(e,t,n)=>{var r=n(3839),o=n(9216);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},8752:e=>{e.exports=function(){return!1}},6834:(e,t,n)=>{var r=n(8803),o=n(6686),i=n(6981),a=n(7236),u=n(1580),c=n(8752),l=n(5003),f=n(4812),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(u(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||f(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(l(e))return!r(e).length;for(var n in e)if(s.call(e,n))return!1;return!0}},9793:(e,t,n)=>{var r=n(1071);e.exports=function(e,t){return r(e,t)}},3839:(e,t,n)=>{var r=n(4318),o=n(5973);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}},9216:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5973:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3387:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},9636:(e,t,n)=>{var r=n(4318),o=n(1407),i=n(3387),a=Function.prototype,u=Object.prototype,c=a.toString,l=u.hasOwnProperty,f=c.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}},2654:(e,t,n)=>{var r=n(1131),o=n(6535),i=n(1782),a=i&&i.isRegExp,u=a?o(a):r;e.exports=u},4461:(e,t,n)=>{var r=n(4318),o=n(7236),i=n(3387);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},2945:e=>{e.exports=function(){return!1}},4812:e=>{e.exports=function(){return!1}},2720:e=>{e.exports=function(e){return void 0===e}},2635:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},5850:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},2972:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},5913:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},8148:(e,t,n)=>{var r=n(441);e.exports=function(){return r.Date.now()}},5492:(e,t,n)=>{var r=n(8904),o=n(5913),i=n(9922);e.exports=function(e,t){return i(e,o(r(t)))}},1473:(e,t,n)=>{var r=n(690),o=n(7236);e.exports=function(e,t,n,i){return null==e?[]:(o(t)||(t=null==t?[]:[t]),o(n=i?void 0:n)||(n=null==n?[]:[n]),r(e,t,n))}},8423:(e,t,n)=>{var r=n(7410),o=n(3368)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},9922:(e,t,n)=>{var r=n(6460),o=n(8904),i=n(6621),a=n(5559);e.exports=function(e,t){if(null==e)return{};var n=r(a(e),(function(e){return[e]}));return t=o(t),i(e,n,(function(e,n){return t(e,n[0])}))}},1651:(e,t,n)=>{var r=n(1712),o=n(4815),i=n(3266),a=n(8780);e.exports=function(e){return i(e)?r(a(e)):o(e)}},9717:(e,t,n)=>{var r=n(9833)();e.exports=r},3259:(e,t,n)=>{var r=n(5750),o=n(5973);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},992:(e,t,n)=>{var r=n(8746);e.exports=function(e){return e?Infinity===(e=r(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},5225:(e,t,n)=>{var r=n(992);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},8746:e=>{e.exports=function(e){return e}},1119:e=>{e.exports=function(e){return e}},1815:(e,t,n)=>{var r=n(4351);e.exports=function(e){return e&&e.length?r(e):[]}},556:(e,t,n)=>{var r=n(1119),o=0;e.exports=function(e){var t=++o;return r(e)+t}},459:(e,t,n)=>{"use strict";var r=n(5704);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=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 u.name="Invariant Violation",u}}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}},216:(e,t,n)=>{e.exports=n(459)()},5704:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8266:e=>{"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty,o="undefined"!=typeof Element;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){var u,c,l,f=t(e),s=t(a);if(f&&s){if((c=e.length)!=a.length)return!1;for(u=c;0!=u--;)if(!i(e[u],a[u]))return!1;return!0}if(f!=s)return!1;var d=e instanceof Date,h=a instanceof Date;if(d!=h)return!1;if(d&&h)return e.getTime()==a.getTime();var p=e instanceof RegExp,y=a instanceof RegExp;if(p!=y)return!1;if(p&&y)return e.toString()==a.toString();var g=n(e);if((c=g.length)!==n(a).length)return!1;for(u=c;0!=u--;)if(!r.call(a,g[u]))return!1;if(o&&e instanceof Element&&a instanceof Element)return e===a;for(u=c;0!=u--;)if(!("_owner"===(l=g[u])&&e.$$typeof||i(e[l],a[l])))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return i(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},9787:t=>{"use strict";t.exports=e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(i.exports,i,i.exports,r),i.loaded=!0,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})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var o={};return(()=>{"use strict";r.r(o),r.d(o,{VictoryVoronoiContainer:()=>Du,VoronoiHelpers:()=>Au,voronoiContainerMixin:()=>Eu});var e={};r.r(e),r.d(e,{interpolateCool:()=>Xa,interpolateCubehelixDefault:()=>Za,interpolateInferno:()=>nu,interpolateMagma:()=>tu,interpolatePlasma:()=>ru,interpolateRainbow:()=>Qa,interpolateViridis:()=>eu,interpolateWarm:()=>$a,scaleBand:()=>Mn,scaleIdentity:()=>qr,scaleImplicit:()=>wn,scaleLinear:()=>Wr,scaleLog:()=>Gr,scaleOrdinal:()=>On,scalePoint:()=>Tn,scalePow:()=>Jr,scaleQuantile:()=>to,scaleQuantize:()=>no,scaleSequential:()=>ou,scaleSqrt:()=>eo,scaleThreshold:()=>ro,scaleTime:()=>xa,scaleUtc:()=>_a,schemeCategory10:()=>Sa,schemeCategory20:()=>Ea,schemeCategory20b:()=>Pa,schemeCategory20c:()=>Ca});var t=r(8423),n=r.n(t),i=r(3839),a=r.n(i),u=r(7901),c=r.n(u),l=r(216),f=r.n(l),s=r(9787),d=r.n(s),h=r(1473),p=r.n(h),y=r(9636),g=r.n(y),v=r(556),b=r.n(v),m=r(6782),x=r.n(m),w=r(2635),O=r.n(w),M=r(1651),k=r.n(M);function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function A(e){var t=function(e){return void 0!==e},n=e._x,r=e._x1,o=e._x0,i=e._voronoiX,a=e._y,u=e._y1,l=e._y0,f=e._voronoiY,s=t(r)?r:n,d=t(u)?u:a,h={x:t(i)?i:s,x0:t(o)?o:n,y:t(f)?f:d,y0:t(l)?l:a};return c()({},h,e)}function _(e,t){var n=e.scale,r=e.polar,o=e.horizontal,i=A(t),a=e.origin||{x:0,y:0},u=o?n.y(i.y):n.x(i.x),c=o?n.y(i.y0):n.x(i.x0),l=o?n.x(i.x):n.y(i.y),f=o?n.x(i.x0):n.y(i.y0);return{x:r?l*Math.cos(u)+a.x:u,x0:r?f*Math.cos(c)+a.x:c,y:r?-l*Math.sin(u)+a.y:l,y0:r?-f*Math.sin(c)+a.x:f}}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"padding",n=e[t],r="number"==typeof n?n:0,o="object"==typeof n?n:{};return{top:o.top||r,bottom:o.bottom||r,left:o.left||r,right:o.right||r}}function S(e,t){return a()(e)?e(t):e}function P(e,t){return t.disableInlineStyles?{}:e&&O()(e).some((function(t){return a()(e[t])}))?O()(e).reduce((function(n,r){return n[r]=S(e[r],t),n}),{}):e}function C(e){return a()(e)?e:null==e?function(e){return e}:k()(e)}function E(e,t){var n,r=A(t).x;return("number"==typeof(n=e.scale.x(r))?n/(Math.PI/180):n)%360}var D=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],L="#ECEFF1",N="#90A4AE",U="#455A64",I="#212121",z={width:350,height:350,padding:50},F={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:U,stroke:"transparent",strokeWidth:0},H=x()({textAnchor:"middle"},F),R="round",W="round";const q={area:x()({style:{data:{fill:I},labels:F}},z),axis:x()({style:{axis:{fill:"transparent",stroke:N,strokeWidth:2,strokeLinecap:R,strokeLinejoin:W},axisLabel:x()({},H,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:L,strokeDasharray:"10, 5",strokeLinecap:R,strokeLinejoin:W,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:N,strokeWidth:1,strokeLinecap:R,strokeLinejoin:W},tickLabels:x()({},F,{fill:U})}},z),polarDependentAxis:x()({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:x()({style:{data:{fill:U,padding:8,strokeWidth:0},labels:F}},z),boxplot:x()({style:{max:{padding:8,stroke:U,strokeWidth:1},maxLabels:x()({},F,{padding:3}),median:{padding:8,stroke:U,strokeWidth:1},medianLabels:x()({},F,{padding:3}),min:{padding:8,stroke:U,strokeWidth:1},minLabels:x()({},F,{padding:3}),q1:{padding:8,fill:U},q1Labels:x()({},F,{padding:3}),q3:{padding:8,fill:U},q3Labels:x()({},F,{padding:3})},boxWidth:20},z),candlestick:x()({style:{data:{stroke:U},labels:x()({},F,{padding:5})},candleColors:{positive:"#ffffff",negative:U}},z),chart:z,errorbar:x()({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:U,strokeWidth:2},labels:F}},z),group:x()({colorScale:D},z),histogram:x()({style:{data:{fill:U,stroke:I,strokeWidth:2},labels:F}},z),legend:{colorScale:D,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:F,title:x()({},F,{padding:5})}},line:x()({style:{data:{fill:"transparent",opacity:1,stroke:U,strokeWidth:2},labels:F}},z),pie:x()({colorScale:D,style:{data:{padding:8,stroke:L,strokeWidth:1},labels:x()({},F,{padding:20})}},z),scatter:x()({style:{data:{fill:U,opacity:1,stroke:"transparent",strokeWidth:0},labels:F}},z),stack:x()({colorScale:D},z),tooltip:{style:x()({},F,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:I,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:x()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:x()({},F,{padding:5,pointerEvents:"none"}),flyout:{stroke:I,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},z)};var Y=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],V="#252525",B="#969696",K={width:450,height:300,padding:50,colorScale:Y},Z={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:V,stroke:"transparent"},$=x()({textAnchor:"middle"},Z);const X={material:q,grayscale:{area:x()({style:{data:{fill:V},labels:Z}},K),axis:x()({style:{axis:{fill:"transparent",stroke:V,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:x()({},$,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:Z}},K),bar:x()({style:{data:{fill:V,padding:8,strokeWidth:0},labels:Z}},K),boxplot:x()({style:{max:{padding:8,stroke:V,strokeWidth:1},maxLabels:x()({},Z,{padding:3}),median:{padding:8,stroke:V,strokeWidth:1},medianLabels:x()({},Z,{padding:3}),min:{padding:8,stroke:V,strokeWidth:1},minLabels:x()({},Z,{padding:3}),q1:{padding:8,fill:B},q1Labels:x()({},Z,{padding:3}),q3:{padding:8,fill:B},q3Labels:x()({},Z,{padding:3})},boxWidth:20},K),candlestick:x()({style:{data:{stroke:V,strokeWidth:1},labels:x()({},Z,{padding:5})},candleColors:{positive:"#ffffff",negative:V}},K),chart:K,errorbar:x()({borderWidth:8,style:{data:{fill:"transparent",stroke:V,strokeWidth:2},labels:Z}},K),group:x()({colorScale:Y},K),histogram:x()({style:{data:{fill:B,stroke:V,strokeWidth:2},labels:Z}},K),legend:{colorScale:Y,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Z,title:x()({},Z,{padding:5})}},line:x()({style:{data:{fill:"transparent",stroke:V,strokeWidth:2},labels:Z}},K),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:x()({},Z,{padding:20})},colorScale:Y,width:400,height:400,padding:50},scatter:x()({style:{data:{fill:V,stroke:"transparent",strokeWidth:0},labels:Z}},K),stack:x()({colorScale:Y},K),tooltip:{style:x()({},Z,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:V,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:x()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:x()({},Z,{padding:5,pointerEvents:"none"}),flyout:{stroke:V,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},K)}};var G={"American Typewriter":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.4203125,.3296875,.6,.6375,.8015625,.8203125,.1875,.45625,.45625,.6375,.5,.2734375,.309375,.2734375,.4390625,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.2734375,.2734375,.5,.5,.5,.6,.6921875,.7640625,.6921875,.6375,.728125,.6734375,.6203125,.7109375,.784375,.3828125,.6421875,.7859375,.6375,.9484375,.7640625,.65625,.6375,.65625,.7296875,.6203125,.6375,.7109375,.740625,.940625,.784375,.7578125,.6203125,.4375,.5,.4375,.5,.5,.4921875,.5734375,.5890625,.5109375,.6,.528125,.43125,.5578125,.6375,.3109375,.40625,.6234375,.309375,.928125,.6375,.546875,.6,.58125,.4921875,.4921875,.4,.6203125,.625,.825,.6375,.640625,.528125,.5,.5,.5,.6671875],avg:.5793421052631578},Arial:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.278125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.584375,.584375,.584375,.55625,1.015625,.6703125,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.278125,.278125,.4703125,.584375,.334375,.55625,.55625,.5,.55625,.55625,.3125,.55625,.55625,.2234375,.2703125,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.346875,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.334375,.2609375,.334375,.584375],avg:.528733552631579},"Arial Black":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.33125,.334375,.5,.6609375,.6671875,1,.890625,.278125,.390625,.390625,.55625,.6609375,.334375,.334375,.334375,.28125,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.334375,.334375,.6609375,.6609375,.6609375,.6109375,.7453125,.78125,.778125,.778125,.778125,.7234375,.6671875,.834375,.834375,.390625,.6671875,.834375,.6671875,.9453125,.834375,.834375,.7234375,.834375,.78125,.7234375,.7234375,.834375,.7796875,1.003125,.78125,.78125,.7234375,.390625,.28125,.390625,.6609375,.5125,.334375,.6671875,.6671875,.6671875,.6671875,.6671875,.41875,.6671875,.6671875,.334375,.384375,.6671875,.334375,1,.6671875,.6671875,.6671875,.6671875,.4703125,.6109375,.4453125,.6671875,.6140625,.946875,.6671875,.615625,.55625,.390625,.278125,.390625,.6609375],avg:.6213157894736842},Baskerville:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.25,.40625,.6671875,.490625,.875,.7015625,.178125,.2453125,.246875,.4171875,.6671875,.25,.3125,.25,.521875,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.6671875,.6671875,.6671875,.396875,.9171875,.684375,.615625,.71875,.7609375,.625,.553125,.771875,.803125,.3546875,.515625,.78125,.6046875,.928125,.75,.8234375,.5625,.96875,.7296875,.5421875,.6984375,.771875,.7296875,.9484375,.771875,.678125,.6359375,.3640625,.521875,.3640625,.46875,.5125,.334375,.46875,.521875,.428125,.521875,.4375,.3890625,.4765625,.53125,.25,.359375,.4640625,.240625,.803125,.53125,.5,.521875,.521875,.365625,.334375,.2921875,.521875,.4640625,.678125,.4796875,.465625,.428125,.4796875,.5109375,.4796875,.6671875],avg:.5323519736842108},Courier:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},"Courier New":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6015296052631579},cursive:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1921875,.24375,.40625,.5671875,.3984375,.721875,.909375,.2328125,.434375,.365625,.4734375,.5578125,.19375,.3484375,.19375,.7734375,.503125,.4171875,.5453125,.45,.6046875,.4703125,.5984375,.55625,.503125,.5546875,.20625,.2,.5625,.5546875,.546875,.403125,.70625,.734375,.7078125,.64375,.85,.753125,.75,.6484375,1.0765625,.44375,.5359375,.8359375,.653125,1.0109375,1.1515625,.6796875,.6984375,1.0625,.8234375,.5125,.9234375,.8546875,.70625,.9109375,.7421875,.715625,.6015625,.4640625,.3359375,.4109375,.5421875,.5421875,.4328125,.5125,.5,.3859375,.7375,.359375,.75625,.540625,.5328125,.3203125,.5296875,.5015625,.484375,.7890625,.5640625,.4203125,.703125,.471875,.4734375,.35,.4125,.5640625,.471875,.6484375,.5296875,.575,.4140625,.415625,.20625,.3796875,.5421875],avg:.5604440789473684},fantasy:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.2625,.3265625,.6109375,.534375,.7625,.7828125,.2,.4359375,.4359375,.3765625,.5109375,.2796875,.4609375,.2796875,.5296875,.6640625,.253125,.521875,.4765625,.6640625,.490625,.528125,.5546875,.496875,.5421875,.2796875,.2796875,.5625,.4609375,.5625,.4828125,.609375,.740625,.7234375,.740625,.8265625,.7234375,.6171875,.7359375,.765625,.240625,.5453125,.715625,.6078125,.8640625,.653125,.9125,.6484375,.946875,.6921875,.653125,.6953125,.8015625,.58125,.784375,.671875,.6265625,.690625,.4359375,.5296875,.4359375,.53125,.5,.2875,.5375,.603125,.4984375,.60625,.53125,.434375,.6421875,.56875,.209375,.4671875,.5484375,.2203125,.709375,.55,.5984375,.6140625,.5765625,.40625,.4734375,.3734375,.559375,.4421875,.6421875,.4890625,.578125,.4484375,.2546875,.2203125,.2546875,.55],avg:.536496710526316},Geneva:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3328125,.3046875,.5,.6671875,.6671875,.90625,.728125,.3046875,.446875,.446875,.5078125,.6671875,.3046875,.3796875,.3046875,.5390625,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.3046875,.3046875,.6671875,.6671875,.6671875,.56875,.871875,.728125,.6375,.6515625,.7015625,.5765625,.5546875,.675,.690625,.2421875,.4921875,.6640625,.584375,.7890625,.709375,.7359375,.584375,.78125,.60625,.60625,.640625,.6671875,.728125,.946875,.6109375,.6109375,.5765625,.446875,.5390625,.446875,.6671875,.6671875,.5921875,.5546875,.6109375,.546875,.603125,.5765625,.390625,.6109375,.584375,.2359375,.334375,.5390625,.2359375,.8953125,.584375,.60625,.603125,.603125,.3875,.509375,.44375,.584375,.565625,.78125,.53125,.571875,.5546875,.4515625,.246875,.4515625,.6671875],avg:.5762664473684211},Georgia:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2421875,.33125,.4125,.64375,.6109375,.81875,.7109375,.215625,.375,.375,.4734375,.64375,.2703125,.375,.2703125,.46875,.6140625,.4296875,.559375,.553125,.565625,.5296875,.5671875,.503125,.596875,.5671875,.3125,.3125,.64375,.64375,.64375,.4796875,.9296875,.715625,.6546875,.6421875,.75,.6546875,.6,.7265625,.815625,.390625,.51875,.7203125,.6046875,.928125,.7671875,.7453125,.6109375,.7453125,.7234375,.5625,.61875,.7578125,.70625,.99375,.7125,.6640625,.6015625,.375,.46875,.375,.64375,.65,.5,.5046875,.56875,.4546875,.575,.484375,.39375,.509375,.5828125,.29375,.3671875,.546875,.2875,.88125,.5921875,.5390625,.571875,.5640625,.4109375,.4328125,.3453125,.5765625,.5203125,.75625,.50625,.5171875,.4453125,.43125,.375,.43125,.64375],avg:.5551809210526316},"Gill Sans":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2765625,.271875,.3546875,.584375,.5421875,.6765625,.625,.1890625,.3234375,.3234375,.4171875,.584375,.2203125,.3234375,.2203125,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.2203125,.2296875,.584375,.584375,.584375,.334375,1.0109375,.6671875,.5640625,.709375,.75,.5,.4703125,.740625,.7296875,.25,.3125,.65625,.490625,.78125,.78125,.8234375,.5109375,.8234375,.6046875,.459375,.6046875,.709375,.6046875,1.0421875,.709375,.6046875,.646875,.334375,.28125,.334375,.4703125,.5828125,.334375,.428125,.5,.4390625,.5109375,.4796875,.296875,.428125,.5,.2203125,.2265625,.5,.2203125,.771875,.5,.553125,.5,.5,.3984375,.3859375,.334375,.5,.4390625,.7203125,.5,.4390625,.4171875,.334375,.2609375,.334375,.584375],avg:.4933717105263159},Helvetica:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2796875,.2765625,.3546875,.5546875,.5546875,.8890625,.665625,.190625,.3328125,.3328125,.3890625,.5828125,.2765625,.3328125,.2765625,.3015625,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.2765625,.2765625,.584375,.5828125,.584375,.5546875,1.0140625,.665625,.665625,.721875,.721875,.665625,.609375,.7765625,.721875,.2765625,.5,.665625,.5546875,.8328125,.721875,.7765625,.665625,.7765625,.721875,.665625,.609375,.721875,.665625,.94375,.665625,.665625,.609375,.2765625,.3546875,.2765625,.4765625,.5546875,.3328125,.5546875,.5546875,.5,.5546875,.5546875,.2765625,.5546875,.5546875,.221875,.240625,.5,.221875,.8328125,.5546875,.5546875,.5546875,.5546875,.3328125,.5,.2765625,.5546875,.5,.721875,.5,.5,.5,.3546875,.259375,.353125,.5890625],avg:.5279276315789471},"Helvetica Neue":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.259375,.4265625,.55625,.55625,1,.6453125,.278125,.2703125,.26875,.353125,.6,.278125,.3890625,.278125,.36875,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.6,.6,.6,.55625,.8,.6625,.6859375,.7234375,.7046875,.6125,.575,.759375,.7234375,.259375,.5203125,.6703125,.55625,.871875,.7234375,.7609375,.6484375,.7609375,.6859375,.6484375,.575,.7234375,.6140625,.9265625,.6125,.6484375,.6125,.259375,.36875,.259375,.6,.5,.25625,.5375,.59375,.5375,.59375,.5375,.2984375,.575,.55625,.2234375,.2375,.5203125,.2234375,.853125,.55625,.575,.59375,.59375,.334375,.5,.315625,.55625,.5,.759375,.51875,.5,.48125,.334375,.2234375,.334375,.6],avg:.5279440789473684},"Hoefler Text":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2359375,.2234375,.3921875,.7125,.49375,.8859375,.771875,.2125,.3078125,.309375,.375,.4234375,.234375,.3125,.234375,.3,.5828125,.365625,.434375,.3921875,.5234375,.3984375,.5125,.4328125,.46875,.5125,.234375,.234375,.515625,.4234375,.515625,.340625,.7609375,.7359375,.6359375,.721875,.8125,.6375,.5875,.8078125,.853125,.4296875,.503125,.78125,.609375,.9609375,.8515625,.8140625,.6125,.8140625,.71875,.49375,.7125,.76875,.771875,1.125,.7765625,.7734375,.65625,.321875,.3078125,.321875,.3546875,.5,.3375,.446875,.5359375,.45,.5296875,.4546875,.425,.4921875,.54375,.2671875,.240625,.5390625,.25,.815625,.5375,.5234375,.5390625,.5421875,.365625,.36875,.35625,.5171875,.5015625,.75,.5,.509375,.44375,.2421875,.14375,.2421875,.35],avg:.5116447368421051},Montserrat:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2625,.2609375,.3734375,.696875,.615625,.8296875,.6703125,.203125,.3296875,.3296875,.3875,.575,.2125,.3828125,.2125,.3953125,.6625,.3625,.56875,.5640625,.6625,.5671875,.609375,.5890625,.6390625,.609375,.2125,.2125,.575,.575,.575,.5671875,1.034375,.7171875,.7546875,.7203125,.8265625,.6703125,.634375,.7734375,.8140625,.303125,.5078125,.7125,.5890625,.95625,.8140625,.8390625,.71875,.8390625,.7234375,.615625,.575,.7921875,.6984375,1.1125,.65625,.6359375,.6515625,.31875,.396875,.31875,.5765625,.5,.6,.590625,.678125,.5640625,.678125,.6046875,.375,.6875,.678125,.2703125,.365625,.6015625,.2703125,1.0625,.678125,.628125,.678125,.678125,.4015625,.4890625,.40625,.6734375,.5421875,.8796875,.534375,.5671875,.5125,.334375,.2953125,.334375,.575],avg:.571792763157895},monospace:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},Overpass:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2296875,.2765625,.4203125,.68125,.584375,.8515625,.7015625,.2203125,.3453125,.3453125,.53125,.63125,.2234375,.3953125,.2234375,.509375,.65,.4046875,.6171875,.60625,.6484375,.60625,.6015625,.5375,.615625,.6015625,.2234375,.2234375,.63125,.63125,.63125,.5015625,.8203125,.696875,.6671875,.65,.6859375,.6015625,.559375,.690625,.7078125,.2953125,.565625,.678125,.58125,.8046875,.7109375,.740625,.6421875,.740625,.6765625,.6046875,.590625,.696875,.6640625,.853125,.65,.6671875,.6625,.3734375,.509375,.3734375,.63125,.5125,.4,.5328125,.5625,.51875,.5625,.546875,.3359375,.5625,.565625,.25625,.3203125,.55,.265625,.85,.565625,.5671875,.5625,.5625,.4046875,.4765625,.3796875,.565625,.521875,.7265625,.53125,.5390625,.5125,.3671875,.275,.3671875,.63125],avg:.5430756578947369},Palatino:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.278125,.371875,.60625,.5,.840625,.778125,.209375,.334375,.334375,.390625,.60625,.2578125,.334375,.25,.60625,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.60625,.60625,.60625,.4453125,.7484375,.778125,.6109375,.709375,.775,.6109375,.55625,.7640625,.8328125,.3375,.346875,.7265625,.6109375,.946875,.83125,.7875,.6046875,.7875,.66875,.525,.6140625,.778125,.7234375,1,.6671875,.6671875,.6671875,.334375,.60625,.334375,.60625,.5,.334375,.5,.565625,.4453125,.6109375,.4796875,.340625,.55625,.5828125,.2921875,.2671875,.5640625,.2921875,.8828125,.5828125,.546875,.6015625,.5609375,.3953125,.425,.3265625,.603125,.565625,.834375,.5171875,.55625,.5,.334375,.60625,.334375,.60625],avg:.5408552631578947},RedHatText:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2328125,.2203125,.35625,.6890625,.55,.7390625,.6703125,.2140625,.4015625,.4015625,.4546875,.53125,.2203125,.45625,.2203125,.515625,.6609375,.3078125,.5484375,.5875,.61875,.5703125,.6203125,.559375,.6140625,.6203125,.2203125,.2234375,.465625,.534375,.465625,.5125,.7671875,.6609375,.6703125,.7265625,.728125,.6203125,.6109375,.8,.73125,.253125,.6,.6125,.6078125,.8625,.7390625,.8109375,.6546875,.809375,.6484375,.6234375,.6171875,.7125,.6609375,.8984375,.6546875,.646875,.60625,.3625,.5203125,.3625,.540625,.4609375,.5234375,.5265625,.584375,.509375,.5828125,.5578125,.3703125,.5828125,.553125,.2234375,.24375,.4890625,.2234375,.8453125,.553125,.58125,.584375,.5828125,.353125,.453125,.378125,.553125,.5015625,.6984375,.4875,.4984375,.459375,.3953125,.2921875,.3953125,.58125],avg:.5341940789473685},"sans-serif":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.303125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.5859375,.584375,.5859375,.55625,1.015625,.6671875,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.35625,.278125,.478125,.55625,.334375,.55625,.55625,.5,.55625,.55625,.278125,.55625,.55625,.2234375,.2421875,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.334375,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.35625,.2609375,.3546875,.590625],avg:.5293256578947368},Seravek:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.296875,.4171875,.6734375,.4953125,.9125,.740625,.2421875,.3375,.3375,.409375,.60625,.2609375,.35625,.25625,.41875,.5921875,.3515625,.475,.4875,.5375,.509375,.5484375,.4546875,.5421875,.5484375,.25625,.2546875,.5875,.6171875,.5875,.4578125,.8140625,.6765625,.5703125,.6109375,.684375,.5109375,.4953125,.678125,.6859375,.2625,.2625,.5859375,.4734375,.846875,.709375,.740625,.509375,.740625,.584375,.5015625,.528125,.675,.5953125,.9453125,.596875,.540625,.540625,.359375,.4203125,.359375,.5109375,.421875,.4046875,.5015625,.5421875,.446875,.5453125,.484375,.38125,.5140625,.5546875,.240625,.2640625,.490625,.2765625,.8625,.5546875,.546875,.5453125,.5453125,.3625,.41875,.3890625,.5453125,.4703125,.7546875,.4921875,.4609375,.453125,.4015625,.2640625,.4015625,.58125],avg:.5044078947368421},serif:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.278125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.7234375,.6109375,.890625,.7234375,.7234375,.55625,.7234375,.6671875,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.340625,.334375,.4703125,.5,.3453125,.4453125,.5,.4453125,.5,.4453125,.3828125,.5,.5,.278125,.3359375,.5,.278125,.778125,.5,.5,.5,.5,.3375,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5126315789473684},Tahoma:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3109375,.3328125,.4015625,.728125,.546875,.9765625,.70625,.2109375,.3828125,.3828125,.546875,.728125,.303125,.3640625,.303125,.3953125,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.3546875,.3546875,.728125,.728125,.728125,.475,.909375,.6109375,.590625,.6015625,.6796875,.5625,.521875,.66875,.6765625,.3734375,.4171875,.6046875,.4984375,.771875,.66875,.7078125,.5515625,.7078125,.6375,.5578125,.5875,.65625,.60625,.903125,.58125,.5890625,.559375,.3828125,.39375,.3828125,.728125,.5625,.546875,.525,.553125,.4625,.553125,.5265625,.3546875,.553125,.5578125,.2296875,.328125,.51875,.2296875,.840625,.5578125,.54375,.553125,.553125,.3609375,.446875,.3359375,.5578125,.4984375,.7421875,.4953125,.4984375,.4453125,.48125,.3828125,.48125,.728125],avg:.5384374999999998},"Times New Roman":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.73125,.6109375,.890625,.7375,.7234375,.55625,.7234375,.6765625,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.28125,.334375,.4703125,.51875,.334375,.4453125,.503125,.4453125,.503125,.4453125,.4359375,.5,.5,.278125,.35625,.50625,.278125,.778125,.5,.5,.5046875,.5,.340625,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5134375},"Trebuchet MS":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3015625,.3671875,.325,.53125,.525,.6015625,.70625,.1609375,.3671875,.3671875,.3671875,.525,.3671875,.3671875,.3671875,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.3671875,.3671875,.525,.525,.525,.3671875,.771875,.590625,.5671875,.5984375,.6140625,.5359375,.525,.6765625,.6546875,.2796875,.4765625,.5765625,.5078125,.7109375,.6390625,.675,.5578125,.7421875,.5828125,.48125,.58125,.6484375,.5875,.853125,.5578125,.5703125,.5515625,.3671875,.3578125,.3671875,.525,.53125,.525,.5265625,.5578125,.4953125,.5578125,.546875,.375,.503125,.546875,.2859375,.3671875,.5046875,.2953125,.83125,.546875,.5375,.5578125,.5578125,.3890625,.40625,.396875,.546875,.490625,.7453125,.5015625,.49375,.475,.3671875,.525,.3671875,.525],avg:.5085197368421052},Verdana:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.35,.39375,.459375,.81875,.6359375,1.0765625,.759375,.26875,.4546875,.4546875,.6359375,.81875,.3640625,.4546875,.3640625,.4703125,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.4546875,.4546875,.81875,.81875,.81875,.546875,1,.684375,.6859375,.6984375,.771875,.6328125,.575,.7765625,.7515625,.421875,.4546875,.69375,.5578125,.84375,.7484375,.7875,.603125,.7875,.7,.684375,.6171875,.7328125,.684375,.9890625,.6859375,.615625,.6859375,.4546875,.46875,.4546875,.81875,.6421875,.6359375,.6015625,.6234375,.521875,.6234375,.596875,.384375,.6234375,.6328125,.275,.3765625,.5921875,.275,.9734375,.6328125,.6078125,.6234375,.6234375,.43125,.521875,.3953125,.6328125,.5921875,.81875,.5921875,.5921875,.5265625,.6359375,.4546875,.6359375,.81875],avg:.6171875000000003}},Q={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},J={em:1,ex:.5},ee={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},te=function(e){return Array.isArray(e)?e:e.toString().split(/\r\n|\r|\n/g)},ne=function(e,t,n){var r=function(e){return e*Math.PI/180}(n);return Math.abs(Math.cos(r)*e)+Math.abs(Math.sin(r)*t)},re=function(e,t){var n=e.match(/[a-zA-Z%]+/)&&e.match(/[a-zA-Z%]+/)[0],r=e.match(/[0-9.,]+/);return n?Q.hasOwnProperty(n)?r*Q[n]:J.hasOwnProperty(n)?(t?r*t:r*ee.fontSize)*J[n]:r:r||0},oe=function(e,t){var n=Array.isArray(e)?e[t]:e,r=c()({},n,ee);return x()({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:re(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:re(String(r.fontSize))})},ie=function(e,t){if(void 0===e||""===e||null===e)return 0;var n,r=te(e).map((function(e,n){var r,o,i=e.toString().length,a=oe(t,n),u=a.fontSize,c=a.letterSpacing,l=(r=a.fontFamily,o=r.split(",").map((function(e){return e.replace(/'|"/g,"")})).find((function(e){return G[e]}))||"Helvetica",G[o]);return e.toString().split("").map((function(e){return e.charCodeAt(0)<l.widths.length?l.widths[e.charCodeAt(0)]:l.avg})).reduce((function(e,t){return t+e}),0)*u+c*Math.max(i-1,0)}));return Math.max.apply(Math,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(n=r)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}())},ae=function(e,t){return function(e,t){var n=Array.isArray(t)?t[0]&&t[0].angle:t&&t.angle,r=function(e,t){return void 0===e||""===e||null===e?0:te(e).reduce((function(e,n,r){var o=oe(t,r),i=n.toString().match(/[(A-Z)(0-9)]/)?1.15*o.fontSize:o.fontSize;return e+o.lineHeight*i}),0)}(e,t),o=ie(e,t);return{width:n?ne(o,r,n):o,height:1.05*(n?ne(r,o,n):r)}}(e,t)};var ue=d().createContext({});ue.displayName="PortalContext";const ce=ue;function le(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function se(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var de=function(e){function t(){return le(this,t),se(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}},{key:"componentDidUpdate",value:function(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}},{key:"componentWillUnmount",value:function(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}},{key:"renderPortal",value:function(e){return this.renderInPlace?e:(this.element=e,null)}},{key:"render",value:function(){var e=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,t=this.props.groupComponent,n=e&&e.props||{},r=n.groupComponent?{groupComponent:t,standalone:!1}:{},o=c()(r,n,T(this.props,["children","groupComponent"])),i=e&&d().cloneElement(e,o);return this.renderPortal(i)}}])&&fe(n.prototype,r),t}(d().Component);Object.defineProperty(de,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryPortal"}),Object.defineProperty(de,"role",{configurable:!0,enumerable:!0,writable:!0,value:"portal"}),Object.defineProperty(de,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:f().node,groupComponent:f().element}}),Object.defineProperty(de,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:d().createElement("g",null)}}),Object.defineProperty(de,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:ce});var he=r(2654),pe=r.n(he),ye=r(6786),ge=r.n(ye),ve=function(e){var t=function(t,n,r,o){var i=n[r];if(null==i)return t?new Error("Required `".concat(r,"` was not specified in `").concat(o,"`.")):null;for(var a=arguments.length,u=new Array(a>4?a-4:0),c=4;c<a;c++)u[c-4]=arguments[c];return e.apply(void 0,[n,r,o].concat(u))},n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},be=function(){return null},me=function(){},xe=function(e){return void 0===e?me:null===e?be:e.constructor},we=function(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).slice(8,-1)};function Oe(e){return ve((function(t,n,r){for(var o=arguments.length,i=new Array(o>3?o-3:0),a=3;a<o;a++)i[a-3]=arguments[a];return e.reduce((function(e,o){return e||o.apply(void 0,[t,n,r].concat(i))}),void 0)}))}var Me=ve((function(e,t,n){var r=e[t];if("number"!=typeof r||r<0)return new Error("`".concat(t,"` in `").concat(n,"` must be a non-negative number."))})),ke=ve((function(e,t,n){var r=e[t];if("number"!=typeof r||r%1!=0)return new Error("`".concat(t,"` in `").concat(n,"` must be an integer."))})),Te=(ve((function(e,t,n){var r=e[t];if("number"!=typeof r||r<=0)return new Error("`".concat(t,"` in `").concat(n,"` must be a number greater than zero."))})),ve((function(e,t,n){var r=e[t];if(!Array.isArray(r)||2!==r.length||r[1]===r[0])return new Error("`".concat(t,"` in `").concat(n,"` must be an array of two unique numeric values."))}))),Ae=ve((function(e,t,n){var r;if(r=e[t],!(a()(r)?a()(r.copy)&&a()(r.domain)&&a()(r.range):"string"==typeof r&&-1!==["linear","time","log","sqrt"].indexOf(r)))return new Error("`".concat(t,"` in `").concat(n,"` must be a d3 scale."))})),_e=(ve((function(e,t,n){var r=e[t];if(!Array.isArray(r))return new Error("`".concat(t,"` in `").concat(n,"` must be an array."));if(!(r.length<2)){var o=xe(r[0]),i=ge()(r,(function(e){return o!==xe(e)}));if(i){var a=we(r[0]),u=we(i);return new Error("Expected `".concat(t,"` in `").concat(n,"` to be a ")+"homogeneous array, but found types `".concat(a,"` and ")+"`".concat(u,"`."))}}})),ve((function(e,t){if(e[t]&&Array.isArray(e[t])&&e[t].length!==e.data.length)return new Error("Length of data and ".concat(t," arrays must match."))})),ve((function(e,t,n){if(e[t]&&!pe()(e[t]))return new Error("`".concat(t,"` in `").concat(n,"` must be a regular expression."))}))),je=r(6834),Se=r.n(je);function Pe(){return Pe=Object.assign||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},Pe.apply(this,arguments)}var Ce=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(n.length>0)return n.reduce((function(e,t){return[e,Ce(t)].join(" ")}),Ce(e)).trim();if(null==e||"string"==typeof e)return e;var o=[];for(var i in e)if(e.hasOwnProperty(i)){var a=e[i];o.push("".concat(i,"(").concat(a,")"))}return o.join(" ").trim()};var Ee=function(e){var t=e.children,n=e.title,r=e.desc,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]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","title","desc"]);return d().createElement("text",o,n&&d().createElement("title",null,n),r&&d().createElement("desc",null,r),t)};Ee.propTypes={children:f().node,desc:f().string,title:f().string};const De=Ee;function Le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ne(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Ue={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},Ie=function(e,t){return e.datum?_(e,e.datum)[t]:0},ze=function(e){var t=e&&e.fontSize;if("number"==typeof t)return t;if(null==t)return Ue.fontSize;if("string"==typeof t){var n=+t.replace("px","");return isNaN(n)?Ue.fontSize:n}return Ue.fontSize},Fe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(e)?e[t]||e[0]:e},He=function(e){var t=e.backgroundStyle,n=e.backgroundPadding;return Array.isArray(t)&&!Se()(t)||Array.isArray(n)&&!Se()(n)},Re=function(e,t){var n=e.direction,r=e.textAnchor,o=e.x,i=e.dx;if("rtl"===n)return o-t;switch(r){case"middle":return Math.round(o-t/2);case"end":return Math.round(o-t);default:return o+(i||0)}},We=function(e,t){var n=e.verticalAnchor,r=e.y,o=e.originalDy,i=r+(void 0===o?0:o);switch(n){case"start":return Math.floor(i);case"end":return Math.ceil(i-t);default:return Math.floor(i-t/2)}},qe=function(e,t){return He(e)?function(e,t){var n=e.dy,r=e.dx,o=e.transform,i=e.backgroundStyle,a=e.backgroundPadding,u=e.backgroundComponent,l=e.inline,f=e.y,s=t.map((function(e,o){var i=Fe(t,o-1),u=e.textSize,c=e.fontSize*e.lineHeight,s=Math.ceil(c),d=Fe(a,o),h=Fe(a,o-1),p=l&&r||0,y=o&&!l?i.fontSize*i.lineHeight+h.top+h.bottom:n-.5*c-(e.fontSize-e.capHeight);return{textHeight:s,labelSize:u,heightWithPadding:s+d.top+d.bottom,widthWithPadding:u.width+d.left+d.right+p,y:f,fontSize:e.fontSize,dy:y}}));return s.map((function(t,n){var r=Re(e,t.labelSize.width),h=s.slice(0,n+1).reduce((function(e,t){return e+t.dy}),f),p=Fe(a,n),y=t.heightWithPadding,g=l?function(e,t,n){var r=e.textAnchor,o=t.map((function(e){return e.widthWithPadding})),i=-o.reduce((function(e,t){return e+t}),0)/2;switch(r){case"start":return o.reduce((function(e,t,r){return r<n?e+t:e}),0);case"end":return o.reduce((function(e,t,r){return r>n?e-t:e}),0);default:return o.reduce((function(e,t,r){return r===n?e+t/2:e+(r<n?t:0)}),i)}}(e,s,n)+r-p.left:r,v=l?We(e,y)-p.top:h,b={key:"tspan-background-".concat(n),height:y,style:Fe(i,n),width:t.widthWithPadding,transform:o,x:g-p.left,y:v};return d().cloneElement(u,c()({},u.props,b))}))}(e,t):function(e,t){var n=e.dx,r=void 0===n?0:n,o=e.transform,i=e.backgroundComponent,a=e.backgroundStyle,u=e.inline,l=e.backgroundPadding,f=e.capHeight,s=t.map((function(e){return e.textSize})),h=u?Math.max.apply(Math,Ne(s.map((function(e){return e.height})))):s.reduce((function(e,n,r){var o=r?0:f/2;return e+n.height*(t[r].lineHeight-o)}),0),p=u?s.reduce((function(e,t,n){var o=n?r:0;return e+t.width+o}),0):Math.max.apply(Math,Ne(s.map((function(e){return e.width})))),y=Re(e,p),g=We(e,h),v={key:"background",height:h+l.top+l.bottom,style:a,transform:o,width:p+l.left+l.right,x:u?y-l.left:y+r-l.left,y:g};return d().cloneElement(i,c()({},i.props,v))}(e,t)},Ye=function(e,t,n){var r=t.inline,o=Fe(e,n);return n&&!r?function(e,t,n){var r=Fe(e,t),o=Fe(e,t-1),i=o.fontSize*o.lineHeight,a=r.fontSize*r.lineHeight,u=o.fontSize-o.capHeight,c=r.fontSize-r.capHeight,l=i-o.fontSize/2+r.fontSize/2-i/2+a/2-c/2+u/2;return He(n)?l+r.backgroundPadding.top+o.backgroundPadding.bottom:l}(e,n,t):r?0===n?o.backgroundPadding.top:void 0:o.backgroundPadding.top},Ve=function(e){var t=S(e.ariaLabel,e),n=Fe(e.style),r=function(e){var t=S(e.lineHeight,e);return Array.isArray(t)&&Se()(t)?[1]:t}(e),o=e.direction?S(e.direction,e):"inherit",i=e.textAnchor?S(e.textAnchor,e):n.textAnchor||"start",a=e.verticalAnchor?S(e.verticalAnchor,e):n.verticalAnchor||"middle",u=e.dx?S(e.dx,e):0,c=function(e,t,n){var r=e.dy?S(e.dy,e):0,o=e.inline?1:e.text.length,i=S(e.capHeight,e),a=t?S(t,e):"middle",u=Ne(Array(o).keys()).map((function(t){return Fe(e.style,t).fontSize})),c=Ne(Array(o).keys()).map((function(e){return Fe(n,e)}));if("start"===a)return r+(i/2+c[0]/2)*u[0];if(e.inline)return"end"===a?r+(i/2-c[0]/2)*u[0]:r+i/2*u[0];if(1===o)return"end"===a?r+(i/2+(.5-o)*c[0])*u[0]:r+(i/2+(.5-o/2)*c[0])*u[0];var l=Ne(Array(o).keys()).reduce((function(e,t){return e+(i/2+(.5-o)*c[t])*u[t]/o}),0);return"end"===a?r+l:r+l/2+i/2*c[o-1]*u[o-1]}(e,a,r),l=void 0!==e.x?e.x:Ie(e,"x"),f=void 0!==e.y?e.y:Ie(e,"y"),s=function(e,t,n){var r=e.polar,o=Fe(e.style),i=r?function(e,t){var n=e.labelPlacement,r=e.datum;if(!n||"vertical"===n)return 0;var o=E(e,r),i=0;return 0===o||180===o?i=90:o>0&&o<180?i=90-o:o>180&&o<360&&(i=270-o),i+(o>90&&o<180||o>270?1:-1)*("perpendicular"===n?0:90)}(e):0,a=void 0===o.angle?S(e.angle,e):o.angle,u=void 0===a?i:a,c=e.transform||o.transform,l=c&&S(c,e);return l||u?Ce(l,u&&{rotate:[u,t,n]}):void 0}(e,l,f);return x()({},e,{ariaLabel:t,lineHeight:r,direction:o,textAnchor:i,verticalAnchor:a,dx:u,dy:c,originalDy:e.dy,transform:s,x:l,y:f})},Be=function(e){if(null===(e=function(e){var t=function(e,t){if(null!=e){if(Array.isArray(e))return e.map((function(e){return S(e,t)}));var n=S(e,t);if(null!=n)return Array.isArray(n)?n:"".concat(n).split("\n")}}(e.text,e),n=function(e,t){if(t.disableInlineStyles){var n=P(e,t);return{fontSize:ze(n)}}var r=function(e){var n=P(e=e?c()({},e,Ue):Ue,t);return x()({},n,{fontSize:ze(n)})};return Array.isArray(e)&&!Se()(e)?e.map((function(e){return r(e)})):r(e)}(e.style,x()({},e,{text:t})),r=function(e,t){if(e)return Array.isArray(e)&&!Se()(e)?e.map((function(e){return P(e,t)})):P(e,t)}(e.backgroundStyle,x()({},e,{text:t,style:n})),o=function(e){return e.backgroundPadding&&Array.isArray(e.backgroundPadding)?e.backgroundPadding.map((function(t){return j({padding:S(t,e)})})):j({padding:S(e.backgroundPadding,e)})}(x()({},e,{text:t,style:n,backgroundStyle:r})),i=S(e.id,e);return x()({},e,{backgroundStyle:r,backgroundPadding:o,style:n,text:t,id:i})}(e)).text||void 0===e.text)return null;var t=Ve(e),n=t.text,r=t.style,o=t.capHeight,i=t.backgroundPadding,a=t.lineHeight,u=n.map((function(e,t){var n=Fe(r,t),u=re("".concat(o,"em"),n.fontSize),c=Fe(a,t);return{style:n,fontSize:n.fontSize||Ue.fontSize,capHeight:u,text:e,textSize:ae(e,n),lineHeight:c,backgroundPadding:Fe(i,t)}})),l=function(e,t){var n=e.ariaLabel,r=e.inline,o=e.className,i=e.title,a=e.events,u=e.direction,c=e.text,l=e.textAnchor,f=e.dx,s=e.dy,h=e.transform,p=e.x,y=e.y,g=e.desc,v=e.id,b=e.tabIndex,m=e.tspanComponent,x=e.textComponent,w=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Le(e,t,n[t])}))}return e}({"aria-label":n,key:"text"},a,{direction:u,dx:f,x:p,y:y+s,transform:h,className:o,title:i,desc:S(g,e),tabIndex:S(b,e),id:v}),O=c.map((function(n,o){var i=t[o].style,a={key:"".concat(v,"-key-").concat(o),x:r?void 0:p,dx:r?f+t[o].backgroundPadding.left:f,dy:Ye(t,e,o),textAnchor:i.textAnchor||l,style:i,children:n};return d().cloneElement(m,a)}));return d().cloneElement(x,w,O)}(t,u);if(e.backgroundStyle){var f=[qe(t,u),l],s=d().cloneElement(e.groupComponent,{},f);return e.renderInPortal?d().createElement(de,null,s):s}return e.renderInPortal?d().createElement(de,null,l):l};Be.displayName="VictoryLabel",Be.role="label",Be.defaultStyles=Ue,Be.propTypes={active:f().bool,angle:f().oneOfType([f().string,f().number,f().func]),ariaLabel:f().oneOfType([f().string,f().func]),backgroundComponent:f().element,backgroundPadding:f().oneOfType([f().number,f().object,f().array]),backgroundStyle:f().oneOfType([f().object,f().array]),capHeight:f().oneOfType([f().string,Me,f().func]),className:f().string,data:f().array,datum:f().any,desc:f().oneOfType([f().string,f().func]),direction:f().oneOf(["rtl","ltr","inherit"]),dx:f().oneOfType([f().number,f().string,f().func]),dy:f().oneOfType([f().number,f().string,f().func]),events:f().object,groupComponent:f().element,id:f().oneOfType([f().number,f().string,f().func]),index:f().oneOfType([f().number,f().string]),inline:f().bool,labelPlacement:f().oneOf(["parallel","perpendicular","vertical"]),lineHeight:f().oneOfType([f().string,Me,f().func,f().array]),origin:f().shape({x:Me,y:Me}),polar:f().bool,renderInPortal:f().bool,scale:f().shape({x:Ae,y:Ae}),style:f().oneOfType([f().object,f().array]),tabIndex:f().oneOfType([f().number,f().func]),text:f().oneOfType([f().string,f().number,f().func,f().array]),textAnchor:f().oneOfType([f().oneOf(["start","middle","end","inherit"]),f().func]),textComponent:f().element,title:f().string,transform:f().oneOfType([f().string,f().object,f().func]),tspanComponent:f().element,verticalAnchor:f().oneOfType([f().oneOf(["start","middle","end"]),f().func]),x:f().oneOfType([f().number,f().string]),y:f().oneOfType([f().number,f().string])},Be.defaultProps={backgroundComponent:d().createElement((function(e){var t=e.desc,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]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["desc"]);return t?d().createElement("rect",Pe({vectorEffect:"non-scaling-stroke"},n),d().createElement("desc",null,t)):d().createElement("rect",Pe({vectorEffect:"non-scaling-stroke"},n))}),null),groupComponent:d().createElement("g",null),direction:"inherit",textComponent:d().createElement(De,null),tspanComponent:d().createElement((function(e){return d().createElement("tspan",e)}),null),capHeight:.71,lineHeight:1};const Ke=Be;f().oneOfType([f().arrayOf(f().string),f().shape({x:f().arrayOf(f().string),y:f().arrayOf(f().string)})]),f().oneOfType([f().array,f().object]),f().element,f().bool,f().element,f().oneOfType([f().func,f().array]),f().oneOfType([f().func,Oe([ke,Me]),f().string,f().arrayOf(f().string)]),f().oneOf(["ascending","descending"]),f().shape({parent:f().object,data:f().object,labels:f().object}),f().oneOfType([f().func,Oe([ke,Me]),f().string,f().arrayOf(f().string)]),f().oneOfType([f().func,Oe([ke,Me]),f().string,f().arrayOf(f().string)]),f().oneOfType([f().func,Oe([ke,Me]),f().string,f().arrayOf(f().string)]),f().oneOfType([f().bool,f().object]),f().element,f().oneOfType([Te,f().shape({x:Te,y:Te})]),f().oneOfType([f().number,f().instanceOf(Date),f().shape({x:f().oneOfType([f().number,f().instanceOf(Date)]),y:f().oneOfType([f().number,f().instanceOf(Date)])})]),f().oneOfType([f().number,f().instanceOf(Date),f().shape({x:f().oneOfType([f().number,f().instanceOf(Date)]),y:f().oneOfType([f().number,f().instanceOf(Date)])})]),f().oneOfType([f().shape({x:f().oneOfType([f().number,f().arrayOf(f().number)]),y:f().oneOfType([f().number,f().arrayOf(f().number)])}),f().number,f().arrayOf(f().number)]),f().oneOfType([f().func,Oe([ke,Me]),f().string]),f().arrayOf(f().shape({target:f().oneOf(["data","labels","parent"]),eventKey:f().oneOfType([f().array,Oe([ke,Me]),f().string]),eventHandlers:f().object})),f().arrayOf(f().shape({callback:f().function,childName:f().oneOfType([f().string,f().array]),eventKey:f().oneOfType([f().array,Oe([ke,Me]),f().string]),mutation:f().function,target:f().oneOfType([f().string,f().array])})),f().element,f().string,f().shape({x:f().number,y:f().number}),f().oneOfType([f().number,f().shape({top:f().number,bottom:f().number,left:f().number,right:f().number})]),f().bool,f().oneOfType([Te,f().shape({x:Te,y:Te})]),f().oneOfType([Ae,f().shape({x:Ae,y:Ae})]),f().shape({events:f().array,getEventState:f().func}),f().oneOfType([f().bool,f().shape({x:f().oneOfType([f().bool]),y:f().oneOfType([f().bool])})]),f().bool,f().object;var Ze={active:f().bool,ariaLabel:f().oneOfType([f().string,f().func]),className:f().string,clipPath:f().string,data:f().oneOfType([f().array,f().object]),desc:f().oneOfType([f().string,f().func]),disableInlineStyles:f().bool,events:f().object,id:f().oneOfType([f().number,f().string,f().func]),index:f().oneOfType([f().number,f().string]),origin:f().shape({x:f().number,y:f().number}),polar:f().bool,role:f().string,scale:f().oneOfType([Ae,f().shape({x:Ae,y:Ae})]),shapeRendering:f().string,style:f().object,tabIndex:f().oneOfType([f().number,f().func]),transform:f().string};function $e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Xe(e,t,n[t])}))}return e}function Xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ge=function(e){var t=e.orientation||"top";return"left"===t||"right"===t?function(e){var t=e.pointerWidth,n=e.cornerRadius,r=e.orientation,o=e.width,i=e.height,a=e.center,u="left"===r?1:-1,c=e.x+(e.dx||0),l=e.y+(e.dy||0),f=g()(a)&&a.x,s=g()(a)&&a.y,d=f-u*(o/2),h=f+u*(o/2),p=s+i/2,y=s-i/2,v=u*(c-d)>0?0:e.pointerLength,b="left"===r?"0 0 0":"0 0 1",m="".concat(n," ").concat(n," ").concat(b);return"M ".concat(d,", ").concat(s-t/2,"\n L ").concat(v?c:d,", ").concat(v?l:s+t/2,"\n L ").concat(d,", ").concat(s+t/2,"\n L ").concat(d,", ").concat(p-n,"\n A ").concat(m," ").concat(d+u*n,", ").concat(p,"\n L ").concat(h-u*n,", ").concat(p,"\n A ").concat(m," ").concat(h,", ").concat(p-n,"\n L ").concat(h,", ").concat(y+n,"\n A ").concat(m," ").concat(h-u*n,", ").concat(y,"\n L ").concat(d+u*n,", ").concat(y,"\n A ").concat(m," ").concat(d,", ").concat(y+n,"\n z")}(e):function(e){var t=e.pointerWidth,n=e.cornerRadius,r=e.orientation,o=e.width,i=e.height,a=e.center,u="bottom"===r?1:-1,c=e.x+(e.dx||0),l=e.y+(e.dy||0),f=g()(a)&&a.x,s=g()(a)&&a.y,d=s+u*(i/2),h=s-u*(i/2),p=f+o/2,y=f-o/2,v=u*(l-d)<0?0:e.pointerLength,b="bottom"===r?"0 0 0":"0 0 1",m="".concat(n," ").concat(n," ").concat(b);return"M ".concat(f-t/2,", ").concat(d,"\n L ").concat(v?c:f+t/2,", ").concat(v?l:d,"\n L ").concat(f+t/2,", ").concat(d,"\n L ").concat(p-n,", ").concat(d,"\n A ").concat(m," ").concat(p,", ").concat(d-u*n,"\n L ").concat(p,", ").concat(h+u*n,"\n A ").concat(m," ").concat(p-n,", ").concat(h,"\n L ").concat(y+n,", ").concat(h,"\n A ").concat(m," ").concat(y,", ").concat(h+u*n,"\n L ").concat(y,", ").concat(d-u*n,"\n A ").concat(m," ").concat(y+n,", ").concat(d,"\n z")}(e)},Qe=function(e){return e=function(e){var t=S(e.id,e),n=P(e.style,e);return x()({},e,{id:t,style:n})}(e),d().cloneElement(e.pathComponent,$e({},e.events,{style:e.style,d:Ge(e),className:e.className,shapeRendering:e.shapeRendering,role:e.role,transform:e.transform,clipPath:e.clipPath}))};Qe.propTypes=$e({},Ze,{center:f().shape({x:f().number,y:f().number}),cornerRadius:f().number,datum:f().object,dx:f().number,dy:f().number,height:f().number,orientation:f().oneOf(["top","bottom","left","right"]),pathComponent:f().element,pointerLength:f().number,pointerWidth:f().number,width:f().number,x:f().number,y:f().number}),Qe.defaultProps={pathComponent:d().createElement((function(e){var t=e.desc,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]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["desc"]);return t?d().createElement("path",n,d().createElement("desc",null,t)):d().createElement("path",n)}),null),role:"presentation",shapeRendering:"auto"};const Je=Qe;function et(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var tt={cornerRadius:5,pointerLength:10,pointerWidth:10},nt=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).id=void 0===e.id?b()("tooltip-"):e.id,n}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,r=[{key:"getDefaultOrientation",value:function(e){var t=e.datum,n=e.horizontal;if(e.polar)return this.getPolarOrientation(e,t);var r=n?"right":"top",o=n?"left":"bottom";return t&&t.y<0?o:r}},{key:"getPolarOrientation",value:function(e,t){var n=E(e,t),r=e.labelPlacement||"vertical";return" vertical"===r?this.getVerticalOrientations(n):"parallel"===r?n<90||n>270?"right":"left":n>180?"bottom":"top"}},{key:"getVerticalOrientations",value:function(e){return e<45||e>315?"right":e>=45&&e<=135?"top":e>135&&e<225?"left":"bottom"}},{key:"getStyles",value:function(e){var t=e.theme||X.grayscale,n=t&&t.tooltip&&t.tooltip.style?t.tooltip.style:{},r=Array.isArray(e.style)?e.style.map((function(e){return c()({},e,n)})):c()({},e.style,n),o=t&&t.tooltip&&t.tooltip.flyoutStyle?t.tooltip.flyoutStyle:{},i=e.flyoutStyle?c()({},e.flyoutStyle,o):o,a=Array.isArray(r)?r.map((function(t){return P(t,e)})):P(r,e);return{style:a,flyoutStyle:P(i,x()({},e,{style:a}))}}},{key:"getEvaluatedProps",value:function(e){var t=e.cornerRadius,n=e.centerOffset,r=e.dx,o=e.dy,i=S(e.active,e),a=S(e.text,x()({},e,{active:i})),u=this.getStyles(x()({},e,{active:i,text:a})),c=u.style,l=u.flyoutStyle,f=S(e.orientation,x()({},e,{active:i,text:a,style:c,flyoutStyle:l}))||this.getDefaultOrientation(e),s=j({padding:S(e.flyoutPadding,x()({},e,{active:i,text:a,style:c,flyoutStyle:l,orientation:f}))||this.getLabelPadding(c)}),d=S(e.pointerWidth,x()({},e,{active:i,text:a,style:c,flyoutStyle:l,orientation:f})),h=S(e.pointerLength,x()({},e,{active:i,text:a,style:c,flyoutStyle:l,orientation:f})),p=ae(a,c),y=this.getDimensions(x()({},e,{style:c,flyoutStyle:l,active:i,text:a,orientation:f,flyoutPadding:s,pointerWidth:d,pointerLength:h}),p),v=y.flyoutHeight,b=y.flyoutWidth,m=x()({},e,{active:i,text:a,style:c,flyoutStyle:l,orientation:f,flyoutHeight:v,flyoutWidth:b,flyoutPadding:s,pointerWidth:d,pointerLength:h}),w=g()(n)&&void 0!==n.x?S(n.x,m):0,O=g()(n)&&void 0!==n.y?S(n.y,m):0;return x()({},m,{centerOffset:{x:w,y:O},dx:void 0!==r?S(r,m):0,dy:void 0!==o?S(o,m):0,cornerRadius:S(t,m)})}},{key:"getCalculatedValues",value:function(e){var t=e.style,n=e.text,r=e.flyoutStyle,o={height:e.flyoutHeight,width:e.flyoutWidth};return{style:t,flyoutStyle:r,labelSize:ae(n,t),flyoutDimensions:o,flyoutCenter:this.getFlyoutCenter(e,o),transform:this.getTransform(e)}}},{key:"getTransform",value:function(e){var t=e.x,n=e.y,r=(e.style||{}).angle||e.angle||this.getDefaultAngle(e);return r?"rotate(".concat(r," ").concat(t," ").concat(n,")"):void 0}},{key:"getDefaultAngle",value:function(e){var t=e.polar,n=e.labelPlacement,r=e.orientation,o=e.datum;if(!t||!n||"vertical"===n)return 0;var i,a=E(e,o);return 0===a||180===a?i="top"===r&&180===a?270:90:a>0&&a<180?i=90-a:a>180&&a<360&&(i=270-a),i+(a>90&&a<180||a>270?1:-1)*("perpendicular"===n?0:90)}},{key:"constrainTooltip",value:function(e,t,n){var r=e.x,o=e.y,i=n.width,a=n.height,u=[0,t.width],c=[0,t.height],l=[r-i/2,r+i/2],f=[o-a/2,o+a/2],s=[l[0]<u[0]?u[0]-l[0]:0,l[1]>u[1]?l[1]-u[1]:0],d=[f[0]<c[0]?c[0]-f[0]:0,f[1]>c[1]?f[1]-c[1]:0];return{x:Math.round(r+s[0]-s[1]),y:Math.round(o+d[0]-d[1])}}},{key:"getFlyoutCenter",value:function(e,t){var n=e.x,r=e.y,o=e.dx,i=e.dy,a=e.pointerLength,u=e.orientation,c=e.constrainToVisibleArea,l=e.centerOffset,f=t.height,s=t.width,d="left"===u?-1:1,h="bottom"===u?-1:1,p={x:"left"===u||"right"===u?n+d*(a+s/2+d*o):n+o,y:"top"===u||"bottom"===u?r-h*(a+f/2-h*i):r+i},y=g()(e.center)&&void 0!==e.center.x?e.center.x:p.x,v=g()(e.center)&&void 0!==e.center.y?e.center.y:p.y,b={x:y+l.x,y:v+l.y};return c?this.constrainTooltip(b,e,t):b}},{key:"getLabelPadding",value:function(e){if(!e)return 0;var t,n=Array.isArray(e)?e.map((function(e){return e.padding})):[e.padding];return Math.max.apply(Math,(t=n,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(t)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()).concat([0]))}},{key:"getDimensions",value:function(e,t){var n,r,o,i,a=e.orientation,u=e.pointerLength,c=e.pointerWidth,l=e.flyoutHeight,f=e.flyoutWidth,s=e.flyoutPadding,d=S(e.cornerRadius,e);return{flyoutHeight:l?S(l,e):(o=t.height+s.top+s.bottom,i="top"===a||"bottom"===a?2*d:2*d+c,Math.max(i,o)),flyoutWidth:f?S(f,e):(n=t.width+s.left+s.right,r="left"===a||"right"===a?2*d+u:2*d,Math.max(r,n))}}},{key:"getLabelProps",value:function(e,t){var n=t.flyoutCenter,r=t.style,o=t.labelSize,i=t.dy,a=void 0===i?0:i,u=t.dx,l=void 0===u?0:u,f=e.text,s=e.datum,d=e.activePoints,h=e.labelComponent,p=e.index,y=e.flyoutPadding,g=(Array.isArray(r)&&r.length?r[0].textAnchor:r.textAnchor)||"middle";return c()({},h.props,{key:"".concat(this.id,"-label-").concat(p),text:f,datum:s,activePoints:d,textAnchor:g,dy:a,dx:l,style:r,x:function(){if(!g||"middle"===g)return n.x;var e="end"===g?-1:1;return n.x-e*(o.width/2)}()+(y.left-y.right)/2,y:n.y+(y.top-y.bottom)/2,verticalAnchor:"middle",angle:r.angle})}},{key:"getPointerOrientation",value:function(e,t,n){var r=t.y+n.height/2,o=t.y-n.height/2,i=t.x-n.width/2,a=t.x+n.width/2,u=[{side:"top",val:o>e.y?o-e.y:-1},{side:"bottom",val:r<e.y?e.y-r:-1},{side:"right",val:a<e.x?e.x-a:-1},{side:"left",val:i>e.x?i-e.x:-1}];return p()(u,"val","desc")[0].side}},{key:"getFlyoutProps",value:function(e,t){var n=t.flyoutDimensions,r=t.flyoutStyle,o=t.flyoutCenter,i=e.x,a=e.y,u=e.dx,l=e.dy,f=e.datum,s=e.activePoints,d=e.index,h=e.pointerLength,p=e.pointerWidth,y=e.cornerRadius,g=e.events,v=e.flyoutComponent,b=S(e.pointerOrientation,e);return c()({},v.props,{x:i,y:a,dx:u,dy:l,datum:f,activePoints:s,index:d,pointerLength:h,pointerWidth:p,cornerRadius:y,events:g,orientation:b||this.getPointerOrientation({x:i,y:a},o,n),key:"".concat(this.id,"-tooltip-").concat(d),width:n.width,height:n.height,style:r,center:o})}},{key:"renderTooltip",value:function(e){var t=S(e.active,e),n=e.renderInPortal;if(!t)return n?d().createElement(de,null,null):null;var r=this.getEvaluatedProps(e),o=r.flyoutComponent,i=r.labelComponent,a=r.groupComponent,u=this.getCalculatedValues(r),c=[d().cloneElement(o,this.getFlyoutProps(r,u)),d().cloneElement(i,this.getLabelProps(r,u))],l=d().cloneElement(a,{role:"presentation",transform:u.transform},c);return n?d().createElement(de,null,l):l}},{key:"render",value:function(){var e=function(e,t,n){var r=T(e.theme&&e.theme[n]?e.theme[n]:{},["style"]),o=function(e){if(void 0!==e.horizontal||!e.children)return e.horizontal;var t=function(e){return e.reduce((function(e,n){var r=n.props||{};return e||r.horizontal||!r.children?e=e||r.horizontal:t(d().Children.toArray(r.children))}),!1)};return t(d().Children.toArray(e.children))}(e),i=void 0===o?{}:{horizontal:o};return c()(i,e,r,t)}(this.props,tt,"tooltip");return this.renderTooltip(e)}}],r&&et(n.prototype,r),t}(d().Component);Object.defineProperty(nt,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryTooltip"}),Object.defineProperty(nt,"role",{configurable:!0,enumerable:!0,writable:!0,value:"tooltip"}),Object.defineProperty(nt,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{activateData:f().bool,active:f().oneOfType([f().bool,f().func]),activePoints:f().array,angle:f().number,center:f().shape({x:Me,y:Me}),centerOffset:f().shape({x:f().oneOfType([f().number,f().func]),y:f().oneOfType([f().number,f().func])}),constrainToVisibleArea:f().bool,cornerRadius:f().oneOfType([Me,f().func]),data:f().array,datum:f().object,dx:f().oneOfType([f().number,f().func]),dy:f().oneOfType([f().number,f().func]),events:f().object,flyoutComponent:f().element,flyoutHeight:f().oneOfType([Me,f().func]),flyoutPadding:f().oneOfType([f().func,f().number,f().shape({top:f().number,bottom:f().number,left:f().number,right:f().number})]),flyoutStyle:f().object,flyoutWidth:f().oneOfType([Me,f().func]),groupComponent:f().element,height:f().number,horizontal:f().bool,id:f().oneOfType([f().number,f().string]),index:f().oneOfType([f().number,f().string]),labelComponent:f().element,orientation:f().oneOfType([f().oneOf(["top","bottom","left","right"]),f().func]),pointerLength:f().oneOfType([Me,f().func]),pointerOrientation:f().oneOfType([f().oneOf(["top","bottom","left","right"]),f().func]),pointerWidth:f().oneOfType([Me,f().func]),polar:f().bool,renderInPortal:f().bool,scale:f().shape({x:Ae,y:Ae}),style:f().oneOfType([f().object,f().array]),text:f().oneOfType([f().string,f().number,f().func,f().array]),theme:f().object,width:f().number,x:f().number,y:f().number}}),Object.defineProperty(nt,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{active:!1,renderInPortal:!0,labelComponent:d().createElement(Ke,null),flyoutComponent:d().createElement(Je,null),groupComponent:d().createElement("g",null)}}),Object.defineProperty(nt,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.activateData?[{target:"labels",mutation:function(){return{active:!0}}},{target:"data",mutation:function(){return{active:!0}}}]:[{target:"labels",mutation:function(){return{active:!0}}}],n=e.activateData?[{target:"labels",mutation:function(){return{active:void 0}}},{target:"data",mutation:function(){return{active:void 0}}}]:[{target:"labels",mutation:function(){return{active:void 0}}}];return[{target:"data",eventHandlers:{onMouseOver:function(){return t},onFocus:function(){return t},onTouchStart:function(){return t},onMouseOut:function(){return n},onBlur:function(){return n},onTouchEnd:function(){return n}}}]}});var rt=r(5973),ot=r.n(rt);function it(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function at(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var ut=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?at(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).map={},n.index=1,n.portalUpdate=n.portalUpdate.bind(at(n)),n.portalRegister=n.portalRegister.bind(at(n)),n.portalDeregister=n.portalDeregister.bind(at(n)),n}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"portalRegister",value:function(){return++this.index}},{key:"portalUpdate",value:function(e,t){this.map[e]=t,this.forceUpdate()}},{key:"portalDeregister",value:function(e){delete this.map[e],this.forceUpdate()}},{key:"getChildren",value:function(){var e=this;return O()(this.map).map((function(t){var n=e.map[t];return n?d().cloneElement(n,{key:t}):n}))}},{key:"render",value:function(){return d().createElement("svg",this.props,this.getChildren())}}])&&it(n.prototype,r),t}(d().Component);Object.defineProperty(ut,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"Portal"}),Object.defineProperty(ut,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:f().string,height:Me,style:f().object,viewBox:f().string,width:Me}});var ct,lt,ft=0,st=0,dt=0,ht=0,pt=0,yt=0,gt="object"==typeof performance&&performance.now?performance:Date,vt="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function bt(){return pt||(vt(mt),pt=gt.now()+yt)}function mt(){pt=0}function xt(){this._call=this._time=this._next=null}function wt(e,t,n){var r=new xt;return r.restart(e,t,n),r}function Ot(){pt=(ht=gt.now())+yt,ft=st=0;try{!function(){bt(),++ft;for(var e,t=ct;t;)(e=pt-t._time)>=0&&t._call.call(null,e),t=t._next;--ft}()}finally{ft=0,function(){for(var e,t,n=ct,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:ct=t);lt=e,kt(r)}(),pt=0}}function Mt(){var e=gt.now(),t=e-ht;t>1e3&&(yt-=t,ht=e)}function kt(e){ft||(st&&(st=clearTimeout(st)),e-pt>24?(e<1/0&&(st=setTimeout(Ot,e-gt.now()-yt)),dt&&(dt=clearInterval(dt))):(dt||(ht=gt.now(),dt=setInterval(Mt,1e3)),ft=1,vt(Ot)))}function Tt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}xt.prototype=wt.prototype={constructor:xt,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?bt():+n)+(null==t?0:+t),this._next||lt===this||(lt?lt._next=this:ct=this,lt=this),this._call=e,this._time=n,kt()},stop:function(){this._call&&(this._call=null,this._time=1/0,kt())}};var At=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.shouldAnimate=!0,this.subscribers=[],this.loop=this.loop.bind(this),this.timer=null,this.activeSubscriptions=0}var t,n;return t=e,(n=[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"loop",value:function(){this.subscribers.forEach((function(e){e.callback(bt()-e.startTime,e.duration)}))}},{key:"start",value:function(){this.timer||(this.timer=wt(this.loop))}},{key:"stop",value:function(){this.timer&&(this.timer.stop(),this.timer=null)}},{key:"subscribe",value:function(e,t){t=this.shouldAnimate?t:0;var n=this.subscribers.push({startTime:bt(),callback:e,duration:t});return this.activeSubscriptions++,this.start(),n}},{key:"unsubscribe",value:function(e){null!==e&&this.subscribers[e-1]&&(delete this.subscribers[e-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}])&&Tt(t.prototype,n),e}(),_t=d().createContext({transitionTimer:new At,animationTimer:new At});_t.displayName="TimerContext";const jt=_t;function St(){return St=Object.assign||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},St.apply(this,arguments)}function Pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Ct(e,t,n[t])}))}return e}function Ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Et(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Dt=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).containerId=ot()(e)&&void 0!==e.containerId?e.containerId:b()("victory-container-"),n.savePortalRef=function(e){return n.portalRef=e,e},n.portalUpdate=function(e,t){return n.portalRef.portalUpdate(e,t)},n.portalRegister=function(){return n.portalRef.portalRegister()},n.portalDeregister=function(e){return n.portalRef.portalDeregister(e)},n.saveContainerRef=e&&a()(e.containerRef)?e.containerRef:function(e){return n.containerRef=e,e},n.shouldHandleWheel=e&&e.events&&e.events.onWheel,n.shouldHandleWheel&&(n.handleWheel=function(e){return e.preventDefault()}),n}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}},{key:"componentWillUnmount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}},{key:"getIdForElement",value:function(e){return"".concat(this.containerId,"-").concat(e)}},{key:"getChildren",value:function(e){return e.children}},{key:"getOUIAProps",value:function(e){var t=e.ouiaId,n=e.ouiaSafe,r=e.ouiaType;return Pt({},t&&{"data-ouia-component-id":t},r&&{"data-ouia-component-type":r},void 0!==n&&{"data-ouia-safe":n})}},{key:"renderContainer",value:function(e,t,n){var r=e.title,o=e.desc,i=e.portalComponent,a=e.className,u=e.width,l=e.height,f=e.portalZIndex,s=e.responsive,h=this.getChildren(e),p=s?{width:"100%",height:"100%"}:{width:u,height:l},y=x()({pointerEvents:"none",touchAction:"none",position:"relative"},p),g=x()({zIndex:f,position:"absolute",top:0,left:0},p),v=x()({pointerEvents:"all"},p),b=x()({overflow:"visible"},p),m={width:u,height:l,viewBox:t.viewBox,preserveAspectRatio:t.preserveAspectRatio,style:b};return d().createElement(ce.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},d().createElement("div",St({style:c()({},n,y),className:a,ref:this.saveContainerRef},this.getOUIAProps(e)),d().createElement("svg",St({},t,{style:v}),r?d().createElement("title",{id:this.getIdForElement("title")},r):null,o?d().createElement("desc",{id:this.getIdForElement("desc")},o):null,h),d().createElement("div",{style:g},d().cloneElement(i,Pt({},m,{ref:this.savePortalRef})))))}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r=e.responsive,o=e.events,i=e.title,a=e.desc,u=e.tabIndex,c=e.preserveAspectRatio,l=e.role,f=r?this.props.style:T(this.props.style,["height","width"]),s=x()({width:t,height:n,tabIndex:u,role:l,"aria-labelledby":[i&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[a&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:r?"0 0 ".concat(t," ").concat(n):void 0,preserveAspectRatio:r?c:void 0},o);return this.renderContainer(this.props,s,f)}}])&&Et(n.prototype,r),t}(d().Component);Object.defineProperty(Dt,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryContainer"}),Object.defineProperty(Dt,"role",{configurable:!0,enumerable:!0,writable:!0,value:"container"}),Object.defineProperty(Dt,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{"aria-describedby":f().string,"aria-labelledby":f().string,children:f().oneOfType([f().arrayOf(f().node),f().node]),className:f().string,containerId:f().oneOfType([f().number,f().string]),containerRef:f().func,desc:f().string,events:f().object,height:Me,name:f().string,origin:f().shape({x:Me,y:Me}),ouiaId:f().oneOfType([f().number,f().string]),ouiaSafe:f().bool,ouiaType:f().string,polar:f().bool,portalComponent:f().element,portalZIndex:ke,preserveAspectRatio:f().string,responsive:f().bool,role:f().string,style:f().object,tabIndex:f().number,theme:f().object,title:f().string,width:Me}}),Object.defineProperty(Dt,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{className:"VictoryContainer",portalComponent:d().createElement(ut,null),portalZIndex:99,responsive:!0,role:"img"}}),Object.defineProperty(Dt,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:jt});var Lt=r(4461),Nt=r.n(Lt),Ut=r(6901),It=r.n(Ut),zt=r(3259),Ft=r.n(zt);function Ht(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Rt(e){return Array.isArray(e)&&e.some((function(e){return e instanceof Date}))}function Wt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=e.concat(n);return Rt(o)?new Date(Math.min.apply(Math,Ht(o))):Math.min.apply(Math,Ht(o))}r(5492),r(2720);var qt=r(9793),Yt=r.n(qt),Vt=r(2972),Bt=r.n(Vt),Kt=r(9717),Zt=r.n(Kt),$t=r(1815),Xt=r.n($t);function Gt(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Qt(e){var t;return 1===e.length&&(t=e,e=function(e,n){return Gt(t(e),n)}),{left:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r<o;){var i=r+o>>>1;e(t[i],n)<0?r=i+1:o=i}return r},right:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r<o;){var i=r+o>>>1;e(t[i],n)>0?o=i:r=i+1}return r}}}var Jt=Qt(Gt),en=Jt.right;Jt.left;const tn=en;var nn=Array.prototype,rn=(nn.slice,nn.map,Math.sqrt(50)),on=Math.sqrt(10),an=Math.sqrt(2);function un(e,t,n){var r,o,i,a,u=-1;if(n=+n,(e=+e)==(t=+t)&&n>0)return[e];if((r=t<e)&&(o=e,e=t,t=o),0===(a=cn(e,t,n))||!isFinite(a))return[];if(a>0)for(e=Math.ceil(e/a),t=Math.floor(t/a),i=new Array(o=Math.ceil(t-e+1));++u<o;)i[u]=(e+u)*a;else for(e=Math.floor(e*a),t=Math.ceil(t*a),i=new Array(o=Math.ceil(e-t+1));++u<o;)i[u]=(e-u)/a;return r&&i.reverse(),i}function cn(e,t,n){var r=(t-e)/Math.max(0,n),o=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,o);return o>=0?(i>=rn?10:i>=on?5:i>=an?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=rn?10:i>=on?5:i>=an?2:1)}function ln(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=rn?o*=10:i>=on?o*=5:i>=an&&(o*=2),t<e?-o:o}function fn(e){return null===e?NaN:+e}function sn(e,t,n){if(null==n&&(n=fn),r=e.length){if((t=+t)<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,i=Math.floor(o),a=+n(e[i],i,e);return a+(+n(e[i+1],i+1,e)-a)*(o-i)}}var dn="$";function hn(){}function pn(e,t){var n=new hn;if(e instanceof hn)e.each((function(e,t){n.set(t,e)}));else if(Array.isArray(e)){var r,o=-1,i=e.length;if(null==t)for(;++o<i;)n.set(o,e[o]);else for(;++o<i;)n.set(t(r=e[o],o,e),r)}else if(e)for(var a in e)n.set(a,e[a]);return n}hn.prototype=pn.prototype={constructor:hn,has:function(e){return dn+e in this},get:function(e){return this[dn+e]},set:function(e,t){return this[dn+e]=t,this},remove:function(e){var t=dn+e;return t in this&&delete this[t]},clear:function(){for(var e in this)e[0]===dn&&delete this[e]},keys:function(){var e=[];for(var t in this)t[0]===dn&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)t[0]===dn&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)t[0]===dn&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)t[0]===dn&&++e;return e},empty:function(){for(var e in this)if(e[0]===dn)return!1;return!0},each:function(e){for(var t in this)t[0]===dn&&e(this[t],t.slice(1),this)}};const yn=pn;function gn(){}var vn=yn.prototype;gn.prototype=function(e,t){var n=new gn;if(e instanceof gn)e.each((function(e){n.add(e)}));else if(e){var r=-1,o=e.length;if(null==t)for(;++r<o;)n.add(e[r]);else for(;++r<o;)n.add(t(e[r],r,e))}return n}.prototype={constructor:gn,has:vn.has,add:function(e){return this[dn+(e+="")]=e,this},remove:vn.remove,clear:vn.clear,values:vn.keys,size:vn.size,empty:vn.empty,each:vn.each};var bn=Array.prototype,mn=bn.map,xn=bn.slice,wn={name:"implicit"};function On(e){var t=yn(),n=[],r=wn;function o(o){var i=o+"",a=t.get(i);if(!a){if(r!==wn)return r;t.set(i,a=n.push(o))}return e[(a-1)%e.length]}return e=null==e?[]:xn.call(e),o.domain=function(e){if(!arguments.length)return n.slice();n=[],t=yn();for(var r,i,a=-1,u=e.length;++a<u;)t.has(i=(r=e[a])+"")||t.set(i,n.push(r));return o},o.range=function(t){return arguments.length?(e=xn.call(t),o):e.slice()},o.unknown=function(e){return arguments.length?(r=e,o):r},o.copy=function(){return On().domain(n).range(e).unknown(r)},o}function Mn(){var e,t,n=On().unknown(void 0),r=n.domain,o=n.range,i=[0,1],a=!1,u=0,c=0,l=.5;function f(){var n=r().length,f=i[1]<i[0],s=i[f-0],d=i[1-f];e=(d-s)/Math.max(1,n-u+2*c),a&&(e=Math.floor(e)),s+=(d-s-e*(n-u))*l,t=e*(1-u),a&&(s=Math.round(s),t=Math.round(t));var h=function(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(o);++r<o;)i[r]=e+r*n;return i}(n).map((function(t){return s+e*t}));return o(f?h.reverse():h)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),f()):r()},n.range=function(e){return arguments.length?(i=[+e[0],+e[1]],f()):i.slice()},n.rangeRound=function(e){return i=[+e[0],+e[1]],a=!0,f()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(a=!!e,f()):a},n.padding=function(e){return arguments.length?(u=c=Math.max(0,Math.min(1,e)),f()):u},n.paddingInner=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),f()):u},n.paddingOuter=function(e){return arguments.length?(c=Math.max(0,Math.min(1,e)),f()):c},n.align=function(e){return arguments.length?(l=Math.max(0,Math.min(1,e)),f()):l},n.copy=function(){return Mn().domain(r()).range(i).round(a).paddingInner(u).paddingOuter(c).align(l)},f()}function kn(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return kn(t())},e}function Tn(){return kn(Mn().paddingInner(1))}function An(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function _n(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function jn(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Sn(){}var Pn=.7,Cn=1/Pn,En="\\s*([+-]?\\d+)\\s*",Dn="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ln="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Nn=/^#([0-9a-f]{3,8})$/,Un=new RegExp("^rgb\\("+[En,En,En]+"\\)$"),In=new RegExp("^rgb\\("+[Ln,Ln,Ln]+"\\)$"),zn=new RegExp("^rgba\\("+[En,En,En,Dn]+"\\)$"),Fn=new RegExp("^rgba\\("+[Ln,Ln,Ln,Dn]+"\\)$"),Hn=new RegExp("^hsl\\("+[Dn,Ln,Ln]+"\\)$"),Rn=new RegExp("^hsla\\("+[Dn,Ln,Ln,Dn]+"\\)$"),Wn={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 qn(){return this.rgb().formatHex()}function Yn(){return this.rgb().formatRgb()}function Vn(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Nn.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Bn(t):3===n?new Xn(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Kn(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Kn(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=Un.exec(e))?new Xn(t[1],t[2],t[3],1):(t=In.exec(e))?new Xn(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=zn.exec(e))?Kn(t[1],t[2],t[3],t[4]):(t=Fn.exec(e))?Kn(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Hn.exec(e))?er(t[1],t[2]/100,t[3]/100,1):(t=Rn.exec(e))?er(t[1],t[2]/100,t[3]/100,t[4]):Wn.hasOwnProperty(e)?Bn(Wn[e]):"transparent"===e?new Xn(NaN,NaN,NaN,0):null}function Bn(e){return new Xn(e>>16&255,e>>8&255,255&e,1)}function Kn(e,t,n,r){return r<=0&&(e=t=n=NaN),new Xn(e,t,n,r)}function Zn(e){return e instanceof Sn||(e=Vn(e)),e?new Xn((e=e.rgb()).r,e.g,e.b,e.opacity):new Xn}function $n(e,t,n,r){return 1===arguments.length?Zn(e):new Xn(e,t,n,null==r?1:r)}function Xn(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Gn(){return"#"+Jn(this.r)+Jn(this.g)+Jn(this.b)}function Qn(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function Jn(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function er(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new nr(e,t,n,r)}function tr(e){if(e instanceof nr)return new nr(e.h,e.s,e.l,e.opacity);if(e instanceof Sn||(e=Vn(e)),!e)return new nr;if(e instanceof nr)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,u=i-o,c=(i+o)/2;return u?(a=t===i?(n-r)/u+6*(n<r):n===i?(r-t)/u+2:(t-n)/u+4,u/=c<.5?i+o:2-i-o,a*=60):u=c>0&&c<1?0:a,new nr(a,u,c,e.opacity)}function nr(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function rr(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 or(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}function ir(e){return function(){return e}}function ar(e,t){return function(n){return e+n*t}}function ur(e,t){var n=t-e;return n?ar(e,n):ir(isNaN(e)?t:e)}_n(Sn,Vn,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:qn,formatHex:qn,formatHsl:function(){return tr(this).formatHsl()},formatRgb:Yn,toString:Yn}),_n(Xn,$n,jn(Sn,{brighter:function(e){return e=null==e?Cn:Math.pow(Cn,e),new Xn(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?Pn:Math.pow(Pn,e),new Xn(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){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:Gn,formatHex:Gn,formatRgb:Qn,toString:Qn})),_n(nr,(function(e,t,n,r){return 1===arguments.length?tr(e):new nr(e,t,n,null==r?1:r)}),jn(Sn,{brighter:function(e){return e=null==e?Cn:Math.pow(Cn,e),new nr(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Pn:Math.pow(Pn,e),new nr(this.h,this.s,this.l*e,this.opacity)},rgb:function(){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 Xn(rr(e>=240?e-240:e+120,o,r),rr(e,o,r),rr(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));const cr=function e(t){var n=function(e){return 1==(e=+e)?ur: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):ir(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=$n(e)).r,(t=$n(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=ur(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 lr(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),u=new Array(o);for(n=0;n<o;++n)r=$n(t[n]),i[n]=r.r||0,a[n]=r.g||0,u[n]=r.b||0;return i=e(i),a=e(a),u=e(u),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=u(e),r+""}}}function fr(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]=vr(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 sr(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function dr(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]=vr(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}}lr((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,u=r<t-1?e[r+2]:2*i-o;return or((n-r/t)*t,a,o,i,u)}})),lr((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],u=e[(r+2)%t];return or((n-r/t)*t,o,i,a,u)}}));var hr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,pr=new RegExp(hr.source,"g");function yr(e,t){var n,r,o,i=hr.lastIndex=pr.lastIndex=0,a=-1,u=[],c=[];for(e+="",t+="";(n=hr.exec(e))&&(r=pr.exec(t));)(o=r.index)>i&&(o=t.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,c.push({i:a,x:An(n,r)})),i=pr.lastIndex;return i<t.length&&(o=t.slice(i),u[a]?u[a]+=o:u[++a]=o),u.length<2?c[0]?function(e){return function(t){return e(t)+""}}(c[0].x):function(e){return function(){return e}}(t):(t=c.length,function(e){for(var n,r=0;r<t;++r)u[(n=c[r]).i]=n.x(e);return u.join("")})}function gr(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 vr(e,t){var n,r,o=typeof t;return null==t||"boolean"===o?ir(t):("number"===o?An:"string"===o?(n=Vn(t))?(t=n,cr):yr:t instanceof Vn?cr:t instanceof Date?sr:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?fr:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?dr:An:gr))(e,t)}function br(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function mr(e){return function(){return e}}function xr(e){return+e}var wr=[0,1];function Or(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:mr(t)}function Mr(e,t,n,r){var o=e[0],i=e[1],a=t[0],u=t[1];return i<o?(o=n(i,o),a=r(u,a)):(o=n(o,i),a=r(a,u)),function(e){return a(o(e))}}function kr(e,t,n,r){var o=Math.min(e.length,t.length)-1,i=new Array(o),a=new Array(o),u=-1;for(e[o]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++u<o;)i[u]=n(e[u],e[u+1]),a[u]=r(t[u],t[u+1]);return function(t){var n=tn(e,t,1,o)-1;return a[n](i[n](t))}}function Tr(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp())}function Ar(e,t){var n,r,o,i=wr,a=wr,u=vr,c=!1;function l(){return n=Math.min(i.length,a.length)>2?kr:Mr,r=o=null,f}function f(t){return(r||(r=n(i,a,c?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}(e):e,u)))(+t)}return f.invert=function(e){return(o||(o=n(a,i,Or,c?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}(t):t)))(+e)},f.domain=function(e){return arguments.length?(i=mn.call(e,xr),l()):i.slice()},f.range=function(e){return arguments.length?(a=xn.call(e),l()):a.slice()},f.rangeRound=function(e){return a=xn.call(e),u=br,l()},f.clamp=function(e){return arguments.length?(c=!!e,l()):c},f.interpolate=function(e){return arguments.length?(u=e,l()):u},l()}var _r,jr=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Sr(e){if(!(t=jr.exec(e)))throw new Error("invalid format: "+e);var t;return new Pr({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 Pr(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 Cr(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 Er(e){return(e=Cr(Math.abs(e)))?e[1]:NaN}function Dr(e,t){var n=Cr(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")}Sr.prototype=Pr.prototype,Pr.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 Lr={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Dr(100*e,t)},r:Dr,s:function(e,t){var n=Cr(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(_r=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")+Cr(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function Nr(e){return e}var Ur,Ir,zr,Fr=Array.prototype.map,Hr=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Rr(e){var t=e.domain;return e.ticks=function(e){var n=t();return un(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){return function(e,t,n){var r,o=e[0],i=e[e.length-1],a=ln(o,i,null==t?10:t);switch((n=Sr(null==n?",f":n)).type){case"s":var u=Math.max(Math.abs(o),Math.abs(i));return null!=n.precision||isNaN(r=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Er(t)/3)))-Er(Math.abs(e)))}(a,u))||(n.precision=r),zr(n,u);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(r=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Er(t)-Er(e))+1}(a,Math.max(Math.abs(o),Math.abs(i))))||(n.precision=r-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(r=function(e){return Math.max(0,-Er(Math.abs(e)))}(a))||(n.precision=r-2*("%"===n.type))}return Ir(n)}(t(),e,n)},e.nice=function(n){null==n&&(n=10);var r,o=t(),i=0,a=o.length-1,u=o[i],c=o[a];return c<u&&(r=u,u=c,c=r,r=i,i=a,a=r),(r=cn(u,c,n))>0?r=cn(u=Math.floor(u/r)*r,c=Math.ceil(c/r)*r,n):r<0&&(r=cn(u=Math.ceil(u*r)/r,c=Math.floor(c*r)/r,n)),r>0?(o[i]=Math.floor(u/r)*r,o[a]=Math.ceil(c/r)*r,t(o)):r<0&&(o[i]=Math.ceil(u*r)/r,o[a]=Math.floor(c*r)/r,t(o)),e},e}function Wr(){var e=Ar(Or,An);return e.copy=function(){return Tr(e,Wr())},Rr(e)}function qr(){var e=[0,1];function t(e){return+e}return t.invert=t,t.domain=t.range=function(n){return arguments.length?(e=mn.call(n,xr),t):e.slice()},t.copy=function(){return qr().domain(e)},Rr(t)}function Yr(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}function Vr(e,t){return(t=Math.log(t/e))?function(n){return Math.log(n/e)/t}:mr(t)}function Br(e,t){return e<0?function(n){return-Math.pow(-t,n)*Math.pow(-e,1-n)}:function(n){return Math.pow(t,n)*Math.pow(e,1-n)}}function Kr(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Zr(e){return 10===e?Kr:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}function $r(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}function Xr(e){return function(t){return-e(-t)}}function Gr(){var e=Ar(Vr,Br).domain([1,10]),t=e.domain,n=10,r=$r(10),o=Zr(10);function i(){return r=$r(n),o=Zr(n),t()[0]<0&&(r=Xr(r),o=Xr(o)),e}return e.base=function(e){return arguments.length?(n=+e,i()):n},e.domain=function(e){return arguments.length?(t(e),i()):t()},e.ticks=function(e){var i,a=t(),u=a[0],c=a[a.length-1];(i=c<u)&&(d=u,u=c,c=d);var l,f,s,d=r(u),h=r(c),p=null==e?10:+e,y=[];if(!(n%1)&&h-d<p){if(d=Math.round(d)-1,h=Math.round(h)+1,u>0){for(;d<h;++d)for(f=1,l=o(d);f<n;++f)if(!((s=l*f)<u)){if(s>c)break;y.push(s)}}else for(;d<h;++d)for(f=n-1,l=o(d);f>=1;--f)if(!((s=l*f)<u)){if(s>c)break;y.push(s)}}else y=un(d,h,Math.min(h-d,p)).map(o);return i?y.reverse():y},e.tickFormat=function(t,i){if(null==i&&(i=10===n?".0e":","),"function"!=typeof i&&(i=Ir(i)),t===1/0)return i;null==t&&(t=10);var a=Math.max(1,n*t/e.ticks().length);return function(e){var t=e/o(Math.round(r(e)));return t*n<n-.5&&(t*=n),t<=a?i(e):""}},e.nice=function(){return t(Yr(t(),{floor:function(e){return o(Math.floor(r(e)))},ceil:function(e){return o(Math.ceil(r(e)))}}))},e.copy=function(){return Tr(e,Gr().base(n))},e}function Qr(e,t){return e<0?-Math.pow(-e,t):Math.pow(e,t)}function Jr(){var e=1,t=Ar((function(t,n){return(n=Qr(n,e)-(t=Qr(t,e)))?function(r){return(Qr(r,e)-t)/n}:mr(n)}),(function(t,n){return n=Qr(n,e)-(t=Qr(t,e)),function(r){return Qr(t+n*r,1/e)}})),n=t.domain;return t.exponent=function(t){return arguments.length?(e=+t,n(n())):e},t.copy=function(){return Tr(t,Jr().exponent(e))},Rr(t)}function eo(){return Jr().exponent(.5)}function to(){var e=[],t=[],n=[];function r(){var r=0,i=Math.max(1,t.length);for(n=new Array(i-1);++r<i;)n[r-1]=sn(e,r/i);return o}function o(e){if(!isNaN(e=+e))return t[tn(n,e)]}return o.invertExtent=function(r){var o=t.indexOf(r);return o<0?[NaN,NaN]:[o>0?n[o-1]:e[0],o<n.length?n[o]:e[e.length-1]]},o.domain=function(t){if(!arguments.length)return e.slice();e=[];for(var n,o=0,i=t.length;o<i;++o)null==(n=t[o])||isNaN(n=+n)||e.push(n);return e.sort(Gt),r()},o.range=function(e){return arguments.length?(t=xn.call(e),r()):t.slice()},o.quantiles=function(){return n.slice()},o.copy=function(){return to().domain(e).range(t)},o}function no(){var e=0,t=1,n=1,r=[.5],o=[0,1];function i(e){if(e<=e)return o[tn(r,e,0,n)]}function a(){var o=-1;for(r=new Array(n);++o<n;)r[o]=((o+1)*t-(o-n)*e)/(n+1);return i}return i.domain=function(n){return arguments.length?(e=+n[0],t=+n[1],a()):[e,t]},i.range=function(e){return arguments.length?(n=(o=xn.call(e)).length-1,a()):o.slice()},i.invertExtent=function(i){var a=o.indexOf(i);return a<0?[NaN,NaN]:a<1?[e,r[0]]:a>=n?[r[n-1],t]:[r[a-1],r[a]]},i.copy=function(){return no().domain([e,t]).range(o)},Rr(i)}function ro(){var e=[.5],t=[0,1],n=1;function r(r){if(r<=r)return t[tn(e,r,0,n)]}return r.domain=function(o){return arguments.length?(e=xn.call(o),n=Math.min(e.length,t.length-1),r):e.slice()},r.range=function(o){return arguments.length?(t=xn.call(o),n=Math.min(e.length,t.length-1),r):t.slice()},r.invertExtent=function(n){var r=t.indexOf(n);return[e[r-1],e[r]]},r.copy=function(){return ro().domain(e).range(t)},r}Ur=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Nr:(t=Fr.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,u=t[0],c=0;o>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),i.push(e.substring(o-=u,o+u)),!((c+=u+1)>r));)u=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+"",u=void 0===e.numerals?Nr:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Fr.call(e.numerals,String)),c=void 0===e.percent?"%":e.percent+"",l=void 0===e.minus?"-":e.minus+"",f=void 0===e.nan?"NaN":e.nan+"";function s(e){var t=(e=Sr(e)).fill,n=e.align,s=e.sign,d=e.symbol,h=e.zero,p=e.width,y=e.comma,g=e.precision,v=e.trim,b=e.type;"n"===b?(y=!0,b="g"):Lr[b]||(void 0===g&&(g=12),v=!0,b="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var m="$"===d?o:"#"===d&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",x="$"===d?i:/[%p]/.test(b)?c:"",w=Lr[b],O=/[defgprs%]/.test(b);function M(e){var o,i,c,d=m,M=x;if("c"===b)M=w(e)+M,e="";else{var k=(e=+e)<0||1/e<0;if(e=isNaN(e)?f:w(Math.abs(e),g),v&&(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&&"+"!==s&&(k=!1),d=(k?"("===s?s:l:"-"===s||"("===s?"":s)+d,M=("s"===b?Hr[8+_r/3]:"")+M+(k&&"("===s?")":""),O)for(o=-1,i=e.length;++o<i;)if(48>(c=e.charCodeAt(o))||c>57){M=(46===c?a+e.slice(o+1):e.slice(o))+M,e=e.slice(0,o);break}}y&&!h&&(e=r(e,1/0));var T=d.length+e.length+M.length,A=T<p?new Array(p-T+1).join(t):"";switch(y&&h&&(e=r(A+e,A.length?p-M.length:1/0),A=""),n){case"<":e=d+e+M+A;break;case"=":e=d+A+e+M;break;case"^":e=A.slice(0,T=A.length>>1)+d+e+M+A.slice(T);break;default:e=A+d+e+M}return u(e)}return g=void 0===g?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),M.toString=function(){return e+""},M}return{format:s,formatPrefix:function(e,t){var n=s(((e=Sr(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Er(t)/3))),o=Math.pow(10,-r),i=Hr[8+r/3];return function(e){return n(o*e)+i}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Ir=Ur.format,zr=Ur.formatPrefix;var oo=new Date,io=new Date;function ao(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=function(t){return e(t=new Date(+t)),t},o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},o.range=function(n,r,i){var a,u=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return u;do{u.push(a=new Date(+n)),t(n,i),e(n)}while(a<n&&n<r);return u},o.filter=function(n){return ao((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(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=function(t,r){return oo.setTime(+t),io.setTime(+r),e(oo),e(io),Math.floor(n(oo,io))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e==0}:function(t){return o.count(0,t)%e==0}):o:null}),o}var uo=ao((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));uo.every=function(e){return isFinite(e=Math.floor(e))&&e>0?ao((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};const co=uo;uo.range;var lo=ao((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}));const fo=lo;lo.range;var so=1e3,ho=6e4,po=36e5,yo=864e5,go=6048e5;function vo(e){return ao((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*ho)/go}))}var bo=vo(0),mo=vo(1),xo=vo(2),wo=vo(3),Oo=vo(4),Mo=vo(5),ko=vo(6),To=(bo.range,mo.range,xo.range,wo.range,Oo.range,Mo.range,ko.range,ao((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*ho)/yo}),(function(e){return e.getDate()-1})));const Ao=To;To.range;var _o=ao((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*so-e.getMinutes()*ho)}),(function(e,t){e.setTime(+e+t*po)}),(function(e,t){return(t-e)/po}),(function(e){return e.getHours()}));const jo=_o;_o.range;var So=ao((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*so)}),(function(e,t){e.setTime(+e+t*ho)}),(function(e,t){return(t-e)/ho}),(function(e){return e.getMinutes()}));const Po=So;So.range;var Co=ao((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*so)}),(function(e,t){return(t-e)/so}),(function(e){return e.getUTCSeconds()}));const Eo=Co;Co.range;var Do=ao((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));Do.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?ao((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):Do:null};const Lo=Do;function No(e){return ao((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/go}))}Do.range;var Uo=No(0),Io=No(1),zo=No(2),Fo=No(3),Ho=No(4),Ro=No(5),Wo=No(6),qo=(Uo.range,Io.range,zo.range,Fo.range,Ho.range,Ro.range,Wo.range,ao((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/yo}),(function(e){return e.getUTCDate()-1})));const Yo=qo;qo.range;var Vo=ao((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));Vo.every=function(e){return isFinite(e=Math.floor(e))&&e>0?ao((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};const Bo=Vo;function Ko(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 Zo(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 $o(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}Vo.range;var Xo,Go,Qo,Jo={"-":"",_:" ",0:"0"},ei=/^\s*\d+/,ti=/^%/,ni=/[\\^$*+?|[\]().{}]/g;function ri(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 oi(e){return e.replace(ni,"\\$&")}function ii(e){return new RegExp("^(?:"+e.map(oi).join("|")+")","i")}function ai(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function ui(e,t,n){var r=ei.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function ci(e,t,n){var r=ei.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function li(e,t,n){var r=ei.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function fi(e,t,n){var r=ei.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function si(e,t,n){var r=ei.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function di(e,t,n){var r=ei.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function hi(e,t,n){var r=ei.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function pi(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 yi(e,t,n){var r=ei.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function gi(e,t,n){var r=ei.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function vi(e,t,n){var r=ei.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function bi(e,t,n){var r=ei.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function mi(e,t,n){var r=ei.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function xi(e,t,n){var r=ei.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function wi(e,t,n){var r=ei.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Oi(e,t,n){var r=ei.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Mi(e,t,n){var r=ei.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function ki(e,t,n){var r=ti.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Ti(e,t,n){var r=ei.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Ai(e,t,n){var r=ei.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function _i(e,t){return ri(e.getDate(),t,2)}function ji(e,t){return ri(e.getHours(),t,2)}function Si(e,t){return ri(e.getHours()%12||12,t,2)}function Pi(e,t){return ri(1+Ao.count(co(e),e),t,3)}function Ci(e,t){return ri(e.getMilliseconds(),t,3)}function Ei(e,t){return Ci(e,t)+"000"}function Di(e,t){return ri(e.getMonth()+1,t,2)}function Li(e,t){return ri(e.getMinutes(),t,2)}function Ni(e,t){return ri(e.getSeconds(),t,2)}function Ui(e){var t=e.getDay();return 0===t?7:t}function Ii(e,t){return ri(bo.count(co(e)-1,e),t,2)}function zi(e){var t=e.getDay();return t>=4||0===t?Oo(e):Oo.ceil(e)}function Fi(e,t){return e=zi(e),ri(Oo.count(co(e),e)+(4===co(e).getDay()),t,2)}function Hi(e){return e.getDay()}function Ri(e,t){return ri(mo.count(co(e)-1,e),t,2)}function Wi(e,t){return ri(e.getFullYear()%100,t,2)}function qi(e,t){return ri((e=zi(e)).getFullYear()%100,t,2)}function Yi(e,t){return ri(e.getFullYear()%1e4,t,4)}function Vi(e,t){var n=e.getDay();return ri((e=n>=4||0===n?Oo(e):Oo.ceil(e)).getFullYear()%1e4,t,4)}function Bi(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ri(t/60|0,"0",2)+ri(t%60,"0",2)}function Ki(e,t){return ri(e.getUTCDate(),t,2)}function Zi(e,t){return ri(e.getUTCHours(),t,2)}function $i(e,t){return ri(e.getUTCHours()%12||12,t,2)}function Xi(e,t){return ri(1+Yo.count(Bo(e),e),t,3)}function Gi(e,t){return ri(e.getUTCMilliseconds(),t,3)}function Qi(e,t){return Gi(e,t)+"000"}function Ji(e,t){return ri(e.getUTCMonth()+1,t,2)}function ea(e,t){return ri(e.getUTCMinutes(),t,2)}function ta(e,t){return ri(e.getUTCSeconds(),t,2)}function na(e){var t=e.getUTCDay();return 0===t?7:t}function ra(e,t){return ri(Uo.count(Bo(e)-1,e),t,2)}function oa(e){var t=e.getUTCDay();return t>=4||0===t?Ho(e):Ho.ceil(e)}function ia(e,t){return e=oa(e),ri(Ho.count(Bo(e),e)+(4===Bo(e).getUTCDay()),t,2)}function aa(e){return e.getUTCDay()}function ua(e,t){return ri(Io.count(Bo(e)-1,e),t,2)}function ca(e,t){return ri(e.getUTCFullYear()%100,t,2)}function la(e,t){return ri((e=oa(e)).getUTCFullYear()%100,t,2)}function fa(e,t){return ri(e.getUTCFullYear()%1e4,t,4)}function sa(e,t){var n=e.getUTCDay();return ri((e=n>=4||0===n?Ho(e):Ho.ceil(e)).getUTCFullYear()%1e4,t,4)}function da(){return"+0000"}function ha(){return"%"}function pa(e){return+e}function ya(e){return Math.floor(+e/1e3)}Xo=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,u=e.months,c=e.shortMonths,l=ii(o),f=ai(o),s=ii(i),d=ai(i),h=ii(a),p=ai(a),y=ii(u),g=ai(u),v=ii(c),b=ai(c),m={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return u[e.getMonth()]},c:null,d:_i,e:_i,f:Ei,g:qi,G:Vi,H:ji,I:Si,j:Pi,L:Ci,m:Di,M:Li,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:pa,s:ya,S:Ni,u:Ui,U:Ii,V:Fi,w:Hi,W:Ri,x:null,X:null,y:Wi,Y:Yi,Z:Bi,"%":ha},x={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return u[e.getUTCMonth()]},c:null,d:Ki,e:Ki,f:Qi,g:la,G:sa,H:Zi,I:$i,j:Xi,L:Gi,m:Ji,M:ea,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:pa,s:ya,S:ta,u:na,U:ra,V:ia,w:aa,W:ua,x:null,X:null,y:ca,Y:fa,Z:da,"%":ha},w={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=s.exec(t.slice(n));return r?(e.w=d[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=b[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[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return k(e,t,n,r)},d:vi,e:vi,f:Mi,g:hi,G:di,H:mi,I:mi,j:bi,L:Oi,m:gi,M:xi,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=f[r[0].toLowerCase()],n+r[0].length):-1},q:yi,Q:Ti,s:Ai,S:wi,u:ci,U:li,V:fi,w:ui,W:si,x:function(e,t,r){return k(e,n,t,r)},X:function(e,t,n){return k(e,r,t,n)},y:hi,Y:di,Z:pi,"%":ki};function O(e,t){return function(n){var r,o,i,a=[],u=-1,c=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++u<l;)37===e.charCodeAt(u)&&(a.push(e.slice(c,u)),null!=(o=Jo[r=e.charAt(++u)])?r=e.charAt(++u):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),a.push(r),c=u+1);return a.push(e.slice(c,u)),a.join("")}}function M(e,t){return function(n){var r,o,i=$o(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=Zo($o(i.y,0,1))).getUTCDay(),r=o>4||0===o?Io.ceil(r):Io(r),r=Yo.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=Ko($o(i.y,0,1))).getDay(),r=o>4||0===o?mo.ceil(r):mo(r),r=Ao.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?Zo($o(i.y,0,1)).getUTCDay():Ko($o(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,Zo(i)):Ko(i)}}function k(e,t,n,r){for(var o,i,a=0,u=t.length,c=n.length;a<u;){if(r>=c)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=w[o in Jo?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return m.x=O(n,m),m.X=O(r,m),m.c=O(t,m),x.x=O(n,x),x.X=O(r,x),x.c=O(t,x),{format:function(e){var t=O(e+="",m);return t.toString=function(){return e},t},parse:function(e){var t=M(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=O(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=M(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"]}),Go=Xo.format,Xo.parse,Qo=Xo.utcFormat,Xo.utcParse;var ga=31536e6;function va(e){return new Date(e)}function ba(e){return e instanceof Date?+e:+new Date(+e)}function ma(e,t,n,r,o,i,a,u,c){var l=Ar(Or,An),f=l.invert,s=l.domain,d=c(".%L"),h=c(":%S"),p=c("%I:%M"),y=c("%I %p"),g=c("%a %d"),v=c("%b %d"),b=c("%B"),m=c("%Y"),x=[[a,1,1e3],[a,5,5e3],[a,15,15e3],[a,30,3e4],[i,1,6e4],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,36e5],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[t,1,2592e6],[t,3,7776e6],[e,1,ga]];function w(u){return(a(u)<u?d:i(u)<u?h:o(u)<u?p:r(u)<u?y:t(u)<u?n(u)<u?g:v:e(u)<u?b:m)(u)}function O(t,n,r,o){if(null==t&&(t=10),"number"==typeof t){var i=Math.abs(r-n)/t,a=Qt((function(e){return e[2]})).right(x,i);a===x.length?(o=ln(n/ga,r/ga,t),t=e):a?(o=(a=x[i/x[a-1][2]<x[a][2]/i?a-1:a])[1],t=a[0]):(o=Math.max(ln(n,r,t),1),t=u)}return null==o?t:t.every(o)}return l.invert=function(e){return new Date(f(e))},l.domain=function(e){return arguments.length?s(mn.call(e,ba)):s().map(va)},l.ticks=function(e,t){var n,r=s(),o=r[0],i=r[r.length-1],a=i<o;return a&&(n=o,o=i,i=n),n=(n=O(e,o,i,t))?n.range(o,i+1):[],a?n.reverse():n},l.tickFormat=function(e,t){return null==t?w:c(t)},l.nice=function(e,t){var n=s();return(e=O(e,n[0],n[n.length-1],t))?s(Yr(n,e)):l},l.copy=function(){return Tr(l,ma(e,t,n,r,o,i,a,u,c))},l}function xa(){return ma(co,fo,bo,Ao,jo,Po,Eo,Lo,Go).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}var wa=ao((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}));const Oa=wa;wa.range;var Ma=ao((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*po)}),(function(e,t){return(t-e)/po}),(function(e){return e.getUTCHours()}));const ka=Ma;Ma.range;var Ta=ao((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*ho)}),(function(e,t){return(t-e)/ho}),(function(e){return e.getUTCMinutes()}));const Aa=Ta;function _a(){return ma(Bo,Oa,Uo,Yo,ka,Aa,Eo,Lo,Qo).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}function ja(e){return e.match(/.{6}/g).map((function(e){return"#"+e}))}Ta.range;const Sa=ja("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Pa=ja("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),Ca=ja("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),Ea=ja("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5");var Da=Math.PI/180,La=180/Math.PI,Na=-.14861,Ua=1.78277,Ia=-.29227,za=-.90649,Fa=1.97294,Ha=Fa*za,Ra=Fa*Ua,Wa=Ua*Ia-za*Na;function qa(e){if(e instanceof Va)return new Va(e.h,e.s,e.l,e.opacity);e instanceof Xn||(e=Zn(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(Wa*r+Ha*t-Ra*n)/(Wa+Ha-Ra),i=r-o,a=(Fa*(n-o)-Ia*i)/za,u=Math.sqrt(a*a+i*i)/(Fa*o*(1-o)),c=u?Math.atan2(a,i)*La-120:NaN;return new Va(c<0?c+360:c,u,o,e.opacity)}function Ya(e,t,n,r){return 1===arguments.length?qa(e):new Va(e,t,n,null==r?1:r)}function Va(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Ba(e){return function t(n){function r(t,r){var o=e((t=Ya(t)).h,(r=Ya(r)).h),i=ur(t.s,r.s),a=ur(t.l,r.l),u=ur(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=u(e),t+""}}return n=+n,r.gamma=t,r}(1)}_n(Va,Ya,jn(Sn,{brighter:function(e){return e=null==e?Cn:Math.pow(Cn,e),new Va(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Pn:Math.pow(Pn,e),new Va(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*Da,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new Xn(255*(t+n*(Na*r+Ua*o)),255*(t+n*(Ia*r+za*o)),255*(t+n*(Fa*r)),this.opacity)}})),Ba((function(e,t){var n=t-e;return n?ar(e,n>180||n<-180?n-360*Math.round(n/360):n):ir(isNaN(e)?t:e)}));var Ka=Ba(ur);const Za=Ka(Ya(300,.5,0),Ya(-240,.5,1));var $a=Ka(Ya(-100,.75,.35),Ya(80,1.5,.8)),Xa=Ka(Ya(260,.75,.35),Ya(80,1.5,.8)),Ga=Ya();function Qa(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return Ga.h=360*e-100,Ga.s=1.5-1.5*t,Ga.l=.8-.9*t,Ga+""}function Ja(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}const eu=Ja(ja("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var tu=Ja(ja("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),nu=Ja(ja("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),ru=Ja(ja("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function ou(e){var t=0,n=1,r=!1;function o(o){var i=(o-t)/(n-t);return e(r?Math.max(0,Math.min(1,i)):i)}return o.domain=function(e){return arguments.length?(t=+e[0],n=+e[1],o):[t,n]},o.clamp=function(e){return arguments.length?(r=!!e,o):r},o.interpolator=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return ou(e).domain([t,n]).clamp(r)},Rr(o)}var iu=["linear","time","log","sqrt"];function au(e){var t;return"scale".concat((t=e)&&t[0].toUpperCase()+t.slice(1))}function uu(e){return"function"==typeof e?a()(e.copy)&&a()(e.domain)&&a()(e.range):"string"==typeof e&&It()(iu,e)}function cu(e,t){return!(!e.scale||(e.scale.x||e.scale.y)&&!e.scale[t])}function lu(e,t){if(!e.data)return"linear";var n=C(e[t]);return Rt(e.data.map((function(e){var r=g()(n(e))?n(e)[t]:n(e);return void 0!==r?r:e[t]})))?"time":"linear"}function fu(e,t){return function(e,t){if(cu(e,t)){var n=e.scale[t]||e.scale;return"string"==typeof n?n:function(e){if("string"==typeof e)return e;var t=[{name:"log",method:"base"},{name:"ordinal",method:"unknown"},{name:"pow-sqrt",method:"exponent"},{name:"quantile",method:"quantiles"},{name:"quantize-threshold",method:"invertExtent"}].filter((function(t){return void 0!==e[t.method]}))[0];return t?t.name:void 0}(n)}}(e,t)||lu(e,t)}function su(e){return!(!e||!e["@@__IMMUTABLE_ITERABLE__@@"])}function du(e,t){return su(e)?e.reduce((function(e,n,r){return t&&t[r]&&(n=du(n)),e[r]=n,e}),function(e){return!(!e||!e["@@__IMMUTABLE_LIST__@@"])}(e)?[]:{}):e}function hu(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function pu(e){var t;return su(t=e)||function(e){return!(!e||!e["@@__IMMUTABLE_RECORD__@@"])}(t)?du(e,{errorX:!0,errorY:!0}):e}function yu(t,n){var r=(g()(t.domain)?t.domain[n]:t.domain)||function(t,n){var r,o=function(t,n){if(cu(t,n)){var r=t.scale[n]||t.scale;return uu(r)?a()(r)?r:e[au(r)]():void 0}}(t,n);if(o)return"string"==typeof o?uu(r=o)?e[au(r)]():Wr():o;var i=function(e,t){var n;if(e.domain&&e.domain[t]?n=e.domain[t]:e.domain&&Array.isArray(e.domain)&&(n=e.domain),n)return Rt(n)?"time":"linear"}(t,n)||lu(t,n);return e[au(i)]()}(t,n).domain(),o=t.samples||1,i=Math.max.apply(Math,hu(r)),u=Math.min.apply(Math,hu(r)),c=(i-u)/o,l=Zt()(u,i,c);return Bt()(l)===i?l:l.concat(i)}function gu(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ascending";if(!t)return e;"x"!==t&&"y"!==t||(t="_".concat(t));var r="ascending"===n?"asc":"desc";return p()(e,t,r)}function vu(e,t){var n=function(e,t){var n=e.tickValues,r=e.tickFormat;return(n&&(Array.isArray(n)||n[t])?n[t]||n:r&&Array.isArray(r)?r:[]).filter((function(e){return"string"==typeof e}))}(e,t),r=function(e,t){if(!e.categories)return[];var n=function(e,t){return e.categories&&!Array.isArray(e.categories)?e.categories[t]:e.categories}(e,t),r=n&&n.filter((function(e){return"string"==typeof e}));return r?r.filter((function(e){return void 0!==e})):[]}(e,t),o=function(e,t){if(!Array.isArray(e.data)&&!su(e.data))return[];var n=C(void 0===e[t]?t:e[t]);return gu(e.data.reduce((function(e,t){return e.push(pu(t)),e}),[]),e.sortKey,e.sortOrder).reduce((function(e,t){return t=pu(t),e.push(n(t)),e}),[]).filter((function(e){return"string"==typeof e})).reduce((function(e,t){return null!=t&&-1===e.indexOf(t)&&e.push(t),e}),[])}(e,t),i=Xt()(hu(n).concat(hu(r),hu(o)));return 0===i.length?null:i.reduce((function(e,t,n){return e[t]=n+1,e}),{})}function bu(e,t,n){if(!Array.isArray(e)&&!su(e)||function(e){return su(e)?e.size:e.length}(e)<1)return[];var r,o=["x","y","y0"],i=(n=Array.isArray(n)?n:o).reduce((function(e,n){var r;return e[n]=C(void 0!==t[r=n]?t[r]:r),e}),{}),u=Yt()(n,o)&&"_x"===t.x&&"_y"===t.y&&"_y0"===t.y0;!1===u&&(r={x:-1!==n.indexOf("x")?vu(t,"x"):void 0,y:-1!==n.indexOf("y")?vu(t,"y"):void 0,y0:-1!==n.indexOf("y0")?vu(t,"y"):void 0});var c=u?e:e.reduce((function(e,t,o){var a={x:o,y:t=pu(t)},u=n.reduce((function(e,n){var o=i[n](t),u=void 0!==o?o:a[n];return void 0!==u&&("string"==typeof u&&r[n]?(e["".concat(n,"Name")]=u,e["_".concat(n)]=r[n][u]):e["_".concat(n)]=u),e}),{}),c=x()({},u,t);return Se()(c)||e.push(c),e}),[]),l=function(e,t){var n=1/Number.MAX_SAFE_INTEGER,r={x:fu(t,"x"),y:fu(t,"y")};if("log"!==r.x&&"log"!==r.y)return e;var o=function(e,t){return"log"!==r[t]||0!==e["_".concat(t)]};return e.map((function(e){return o(e,"x")&&o(e,"y")&&o(e,"y0")?e:function(e){var t=o(e,"x")?e._x:n,r=o(e,"y")?e._y:n,i=o(e,"y0")?e._y0:n;return x()({},e,{_x:t,_y:r,_y0:i})}(e)}))}(gu(c,t.sortKey,t.sortOrder),t);return function(e,t){var n,r=!!e.eventKey,o=(n=e.eventKey,a()(n)?n:null==n?function(){}:k()(n));return t.map((function(e,t){if(void 0!==e.eventKey)return e;if(r){var n=o(e,t);return void 0!==n?x()({eventKey:n},e):e}return e}))}(t,l)}function mu(e,t,n){var r=t.a,o=t.d,i=t.e,a=t.f;return"y"===n?o*e+a:r*e+i}function xu(e){if(!e.nativeEvent||void 0===e.nativeEvent.identifier){var t=function(e){return"svg"===e.nodeName?e:e.parentNode?t(e.parentNode):e};return t(e.target)}}var wu=r(8266),Ou=r.n(wu),Mu=r(1080);function ku(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Tu={withinBounds:function(e,t){var n=e.width,r=e.height,o=e.polar,i=e.origin,a=e.scale,u=j(e,"voronoiPadding"),c=t.x,l=t.y;if(o){var f=Math.pow(c-i.x,2)+Math.pow(l-i.y,2),s=Math.max.apply(Math,ku(a.y.range()));return f<Math.pow(s,2)}return c>=u.left&&c<=n-u.right&&l>=u.top&&l<=r-u.bottom},getDatasets:function(e){var t={x:Wt(e.domain.x),y:Wt(e.domain.y)},r=d().Children.toArray(e.children),o=function(n,r,o){var i=o&&o.type&&o.type.continuous,a=o?o.props&&o.props.style:e.style;return n.map((function(n,o){var u=A(n),c=u.x,l=u.y,f=u.y0,s=(+c+ +u.x0)/2,d=(+l+ +f)/2;return x()({_voronoiX:"y"===e.voronoiDimension?t.x:s,_voronoiY:"x"===e.voronoiDimension?t.y:d,eventKey:o,childName:r,continuous:i,style:a},n)}))};if(e.data)return o(e.data);var i=function(e){var t=function(e){return e.data?bu(e.data,e):bu(function(e){var t=yu(e,"x"),n=yu(e,"y");return t.map((function(e,t){return{x:e,y:n[t]}}))}(e),e)}(e);return Array.isArray(t)&&t.length>0?t:void 0};return function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(e,t){return e.concat(t)},u=["data","domain","categories","polar","startAngle","endAngle","minDomain","maxDomain","horizontal"],c=function(e,l,f){return e.reduce((function(e,o,s){var h=o.type&&o.type.role,p=o.props.name||"".concat(h,"-").concat(l[s]);if(o.props&&o.props.children){var y=x()({},o.props,n()(r,u)),g=o.type&&"stack"===o.type.role&&a()(o.type.getChildren)?o.type.getChildren(y):d().Children.toArray(o.props.children).map((function(e){var t=x()({},e.props,n()(y,u));return d().cloneElement(e,t)})),v=g.map((function(e,t){return"".concat(p,"-").concat(t)})),b=c(g,v,o);e=i(e,b)}else{var m=t(o,p,f);m&&(e=i(e,m))}return e}),o)},l=e.map((function(e,t){return t}));return c(e,l)}(r,(function(t,n){var r=(t.props||{}).name||n,u=e.voronoiBlacklist||[],c=u.filter(Nt()),l=u.filter(pe()).some((function(e){return e.test(r)}));if(!function(e){var t=function(e){return e&&e.type?e.type.role:""},n=t(e);if("portal"===n){var r=d().Children.toArray(e.props.children);n=r.length?t(r[0]):""}return It()(["area","bar","boxplot","candlestick","errorbar","group","histogram","line","pie","scatter","stack","voronoi"],n)}(t)||It()(c,r)||l)return null;var f=(t.type&&a()(t.type.getData)?t.type.getData:i)(t.props);return f?o(f,r,t):null}),e)},findPoints:function(e,t){return e.filter((function(e){return t._voronoiX===e._voronoiX&&t._voronoiY===e._voronoiY}))},withinRadius:function(e,t,n){if(!e)return!1;if(!n)return!0;var r=t.x,o=t.y;return Math.pow(r-e[0],2)+Math.pow(o-e[1],2)<Math.pow(n,2)},getVoronoiPoints:function(e,t){var n=this.getDatasets(e),r=n.map((function(t){var n=_(e,t);return[n.x,n.y]})),o=Mu.Z.from(r).find(t.x,t.y);return{points:this.withinRadius(r[o],t,e.radius)?this.findPoints(n,n[o]):[],index:o}},getActiveMutations:function(e,t){var n=t.childName,r=t.continuous,o=e.activateData,i=e.activateLabels,a=e.labels;if(!o&&!i)return[];var u=o?["data"]:[],c=a&&!i?u:u.concat("labels");return Se()(c)?[]:c.map((function(e){var o=!0===r&&"data"===e?"all":t.eventKey;return{childName:n,eventKey:o,target:e,mutation:function(){return{active:!0}}}}))},getInactiveMutations:function(e,t){var n=t.childName,r=t.continuous,o=e.activateData,i=e.activateLabels,a=e.labels;if(!o&&!i)return[];var u=o?["data"]:[],c=a&&!i?u:u.concat("labels");return Se()(c)?[]:c.map((function(e){var o=r&&"data"===e?"all":t.eventKey;return{childName:n,eventKey:o,target:e,mutation:function(){return null}}}))},getParentMutation:function(e,t,n,r){return[{target:"parent",eventKey:"parent",mutation:function(){return{activePoints:e,mousePosition:t,parentSVG:n,vIndex:r}}}]},onActivated:function(e,t){a()(e.onActivated)&&e.onActivated(t,e)},onDeactivated:function(e,t){a()(e.onDeactivated)&&e.onDeactivated(t,e)},onMouseLeave:function(e,t){var n,r=this,o=t.activePoints||[];this.onDeactivated(t,o);var i=o.length?o.map((function(e){return r.getInactiveMutations(t,e)})):[];return(n=this.getParentMutation([])).concat.apply(n,ku(i))},onMouseMove:function(e,t){var n=this,r=t.activePoints||[],o=t.parentSVG||xu(e),i=function(e,t){if(e.nativeEvent&&void 0!==e.nativeEvent.identifier)return{x:e.nativeEvent.locationX,y:e.nativeEvent.locationY};e=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e;var n=function(e){return e.getScreenCTM().inverse()}(t=t||xu(e));return{x:mu(e.clientX,n,"x"),y:mu(e.clientY,n,"y")}}(e,o);if(!this.withinBounds(t,i)){var a;this.onDeactivated(t,r);var u=r.length?r.map((function(e){return n.getInactiveMutations(t,e)})):[];return(a=this.getParentMutation([],i,o)).concat.apply(a,ku(u))}var c=this.getVoronoiPoints(t,i),l=c.points,f=void 0===l?[]:l,s=c.index,d=this.getParentMutation(f,i,o,s);if(r.length&&Ou()(f,r))return d;this.onActivated(t,f),this.onDeactivated(t,r);var h=f.length?f.map((function(e){return n.getActiveMutations(t,e)})):[],p=r.length?r.map((function(e){return n.getInactiveMutations(t,e)})):[];return d.concat.apply(d,ku(p).concat(ku(h)))}};const Au={onMouseLeave:Tu.onMouseLeave.bind(Tu),onMouseMove:Ft()(Tu.onMouseMove.bind(Tu),32,{leading:!0,trailing:!1})};function _u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){ju(e,t,n[t])}))}return e}function ju(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Su(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Cu(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var Eu=function(e){var t,r;return r=t=function(e){function t(){return Su(this,t),Cu(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r=t,o=[{key:"getDimension",value:function(e){var t=e.horizontal,n=e.voronoiDimension;return t&&n?"x"===n?"y":"x":n}},{key:"getPoint",value:function(e){return n()(e,["_x","_x1","_x0","_y","_y1","_y0"])}},{key:"getLabelPosition",value:function(e,t,n){var r=e.mousePosition,o=e.mouseFollowTooltips,i=this.getDimension(e),a=_(e,this.getPoint(n[0])),u=o?r:void 0;if(!i||n.length<2)return _u({},a,{center:c()({},t.center,u)});var l="y"===i?r.x:a.x,f="x"===i?r.y:a.y;return u=o?r:{x:l,y:f},{x:l,y:f,center:c()({},t.center,u)}}},{key:"getStyle",value:function(e,t,n){var r=e.labels,o=e.labelComponent,i=e.theme,u=o.props||{},l=i&&i.voronoi&&i.voronoi.style?i.voronoi.style:{},f="flyout"===n?u.flyoutStyle:u.style;return t.reduce((function(e,t,o){var i=c()({},u,{datum:t,active:!0}),s=a()(r)?r(i):void 0,d=void 0!==s?"".concat(s).split("\n"):[],h=t.style&&t.style[n]||{},p=Array.isArray(f)?f[o]:f,y=P(c()({},p,h,l[n]),i),g=d.length?d.map((function(){return y})):[y];return e.concat(g)}),[])}},{key:"getDefaultLabelProps",value:function(e,t){var n=e.voronoiDimension,r=e.horizontal,o=e.mouseFollowTooltips,i=this.getPoint(t[0]),a=n&&t.length>1,u=void 0!==i._y1?i._y1:i._y;return{orientation:o?void 0:r?u<0?"left":"right":u<0?"bottom":"top",pointerLength:a?0:void 0,constrainToVisibleArea:!(!a&&!o)||void 0}}},{key:"getLabelProps",value:function(e,t){var n=e.labels,r=e.scale,o=e.labelComponent,i=e.theme,u=e.width,l=e.height,f=o.props||{},s=t.reduce((function(e,t){var r=c()({},f,{datum:t,active:!0}),o=a()(n)?n(r):null;return null==o?e:e=e.concat("".concat(o).split("\n"))}),[]),d=t[0],h=d.childName,p=d.eventKey,y=(d.style,d.continuous,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]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(d,["childName","eventKey","style","continuous"])),g=e.name===h?h:"".concat(e.name,"-").concat(h),v=c()({key:"".concat(g,"-").concat(p,"-voronoi-tooltip"),id:"".concat(g,"-").concat(p,"-voronoi-tooltip"),active:!0,renderInPortal:!1,activePoints:t,datum:y,scale:r,theme:i},f,{text:s,width:u,height:l,style:this.getStyle(e,t,"labels"),flyoutStyle:this.getStyle(e,t,"flyout")[0]},this.getDefaultLabelProps(e,t)),b=this.getLabelPosition(e,v,t);return c()({},b,v)}},{key:"getTooltip",value:function(e){var t=e.labels,n=e.activePoints,r=e.labelComponent;if(!t)return null;if(Array.isArray(n)&&n.length){var o=this.getLabelProps(e,n),i=o.text;return(Array.isArray(i)?i.filter(Boolean).length:i)?d().cloneElement(r,o):null}return null}},{key:"getChildren",value:function(e){return(t=d().Children.toArray(e.children),function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(t)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()).concat([this.getTooltip(e)]);var t}}],o&&Pu(r.prototype,o),t}(e),Object.defineProperty(t,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryVoronoiContainer"}),Object.defineProperty(t,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:_u({},Dt.propTypes,{activateData:f().bool,activateLabels:f().bool,disable:f().bool,labelComponent:f().element,labels:f().func,mouseFollowTooltips:f().bool,onActivated:f().func,onDeactivated:f().func,radius:f().number,voronoiBlacklist:f().arrayOf(f().oneOfType([f().string,_e])),voronoiDimension:f().oneOf(["x","y"]),voronoiPadding:f().oneOfType([f().number,f().shape({top:f().number,bottom:f().number,left:f().number,right:f().number})])})}),Object.defineProperty(t,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:_u({},Dt.defaultProps,{activateData:!0,activateLabels:!0,labelComponent:d().createElement(nt,null),voronoiPadding:5})}),Object.defineProperty(t,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:{onMouseLeave:function(t,n){return e.disable?{}:Au.onMouseLeave(t,n)},onTouchCancel:function(t,n){return e.disable?{}:Au.onMouseLeave(t,n)},onMouseMove:function(t,n){return e.disable?{}:Au.onMouseMove(t,n)},onTouchMove:function(t,n){return e.disable?{}:Au.onMouseMove(t,n)}}},{target:"data",eventHandlers:e.disable?{}:{onMouseOver:function(){return null},onMouseOut:function(){return null},onMouseMove:function(){return null}}}]}}),r};const Du=Eu(Dt)})(),o})()}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.VictoryVoronoiContainer=t(require("react")):e.VictoryVoronoiContainer=t(e.React)}(self,(function(e){return(()=>{var t={2231:function(e){e.exports=function(){"use strict";var e=Math.pow(2,-52),t=new Uint32Array(512),n=function(e){var t=e.length>>1;if(t>0&&"number"!=typeof e[0])throw new Error("Expected coords to contain numbers.");this.coords=e;var n=Math.max(2*t-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(t)),this._hullPrev=new Uint32Array(t),this._hullNext=new Uint32Array(t),this._hullTri=new Uint32Array(t),this._hullHash=new Int32Array(this._hashSize).fill(-1),this._ids=new Uint32Array(t),this._dists=new Float64Array(t),this.update()};function r(e,t,n,r){var o=e-n,i=t-r;return o*o+i*i}function o(e,t,n,r,o,i){var a=(r-t)*(o-e),u=(n-e)*(i-t);return Math.abs(a-u)>=33306690738754716e-32*Math.abs(a+u)?a-u:0}function i(e,t,n,r,i,a){return(o(i,a,e,t,n,r)||o(e,t,n,r,i,a)||o(n,r,i,a,e,t))<0}function a(e,t,n,r,o,i){var a=n-e,u=r-t,c=o-e,l=i-t,f=a*a+u*u,s=c*c+l*l,d=.5/(a*l-u*c),h=(l*f-u*s)*d,p=(a*s-c*f)*d;return h*h+p*p}function u(e,t,n,r){if(r-n<=20)for(var o=n+1;o<=r;o++){for(var i=e[o],a=t[i],l=o-1;l>=n&&t[e[l]]>a;)e[l+1]=e[l--];e[l+1]=i}else{var f=n+1,s=r;c(e,n+r>>1,f),t[e[n]]>t[e[r]]&&c(e,n,r),t[e[f]]>t[e[r]]&&c(e,f,r),t[e[n]]>t[e[f]]&&c(e,n,f);for(var d=e[f],h=t[d];;){do{f++}while(t[e[f]]<h);do{s--}while(t[e[s]]>h);if(s<f)break;c(e,f,s)}e[n+1]=e[s],e[s]=d,r-f+1>=s-n?(u(e,t,f,r),u(e,t,n,s-1)):(u(e,t,n,s-1),u(e,t,f,r))}}function c(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function l(e){return e[0]}function f(e){return e[1]}return n.from=function(e,t,r){void 0===t&&(t=l),void 0===r&&(r=f);for(var o=e.length,i=new Float64Array(2*o),a=0;a<o;a++){var u=e[a];i[2*a]=t(u),i[2*a+1]=r(u)}return new n(i)},n.prototype.update=function(){for(var t=this,n=t.coords,o=t._hullPrev,c=t._hullNext,l=t._hullTri,f=t._hullHash,s=n.length>>1,d=1/0,h=1/0,p=-1/0,y=-1/0,g=0;g<s;g++){var v=n[2*g],b=n[2*g+1];v<d&&(d=v),b<h&&(h=b),v>p&&(p=v),b>y&&(y=b),this._ids[g]=g}for(var m,x,w,O=(d+p)/2,M=(h+y)/2,k=1/0,T=0;T<s;T++){var A=r(O,M,n[2*T],n[2*T+1]);A<k&&(m=T,k=A)}var _=n[2*m],j=n[2*m+1];k=1/0;for(var S=0;S<s;S++)if(S!==m){var P=r(_,j,n[2*S],n[2*S+1]);P<k&&P>0&&(x=S,k=P)}for(var C=n[2*x],E=n[2*x+1],D=1/0,L=0;L<s;L++)if(L!==m&&L!==x){var N=a(_,j,C,E,n[2*L],n[2*L+1]);N<D&&(w=L,D=N)}var U=n[2*w],I=n[2*w+1];if(D===1/0){for(var z=0;z<s;z++)this._dists[z]=n[2*z]-n[0]||n[2*z+1]-n[1];u(this._ids,this._dists,0,s-1);for(var F=new Uint32Array(s),R=0,W=0,H=-1/0;W<s;W++){var q=this._ids[W];this._dists[q]>H&&(F[R++]=q,H=this._dists[q])}return this.hull=F.subarray(0,R),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(i(_,j,C,E,U,I)){var Y=x,V=C,B=E;x=w,C=U,E=I,w=Y,U=V,I=B}var K=function(e,t,n,r,o,i){var a=n-e,u=r-t,c=o-e,l=i-t,f=a*a+u*u,s=c*c+l*l,d=.5/(a*l-u*c);return{x:e+(l*f-u*s)*d,y:t+(a*s-c*f)*d}}(_,j,C,E,U,I);this._cx=K.x,this._cy=K.y;for(var Z=0;Z<s;Z++)this._dists[Z]=r(n[2*Z],n[2*Z+1],K.x,K.y);u(this._ids,this._dists,0,s-1),this._hullStart=m;var $=3;c[m]=o[w]=x,c[x]=o[m]=w,c[w]=o[x]=m,l[m]=0,l[x]=1,l[w]=2,f.fill(-1),f[this._hashKey(_,j)]=m,f[this._hashKey(C,E)]=x,f[this._hashKey(U,I)]=w,this.trianglesLen=0,this._addTriangle(m,x,w,-1,-1,-1);for(var X=0,G=void 0,Q=void 0;X<this._ids.length;X++){var J=this._ids[X],ee=n[2*J],te=n[2*J+1];if(!(X>0&&Math.abs(ee-G)<=e&&Math.abs(te-Q)<=e)&&(G=ee,Q=te,J!==m&&J!==x&&J!==w)){for(var ne=0,re=0,oe=this._hashKey(ee,te);re<this._hashSize&&(-1===(ne=f[(oe+re)%this._hashSize])||ne===c[ne]);re++);for(var ie=ne=o[ne],ae=void 0;ae=c[ie],!i(ee,te,n[2*ie],n[2*ie+1],n[2*ae],n[2*ae+1]);)if((ie=ae)===ne){ie=-1;break}if(-1!==ie){var ue=this._addTriangle(ie,J,c[ie],-1,-1,l[ie]);l[J]=this._legalize(ue+2),l[ie]=ue,$++;for(var ce=c[ie];ae=c[ce],i(ee,te,n[2*ce],n[2*ce+1],n[2*ae],n[2*ae+1]);)ue=this._addTriangle(ce,J,ae,l[J],-1,l[ce]),l[J]=this._legalize(ue+2),c[ce]=ce,$--,ce=ae;if(ie===ne)for(;i(ee,te,n[2*(ae=o[ie])],n[2*ae+1],n[2*ie],n[2*ie+1]);)ue=this._addTriangle(ae,J,ie,-1,l[ie],l[ae]),this._legalize(ue+2),l[ae]=ue,c[ie]=ie,$--,ie=ae;this._hullStart=o[J]=ie,c[ie]=o[ce]=J,c[J]=ce,f[this._hashKey(ee,te)]=J,f[this._hashKey(n[2*ie],n[2*ie+1])]=ie}}}this.hull=new Uint32Array($);for(var le=0,fe=this._hullStart;le<$;le++)this.hull[le]=fe,fe=c[fe];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)},n.prototype._hashKey=function(e,t){return Math.floor((n=e-this._cx,r=t-this._cy,o=n/(Math.abs(n)+Math.abs(r)),(r>0?3-o:1+o)/4*this._hashSize))%this._hashSize;var n,r,o},n.prototype._legalize=function(e){for(var n=this,r=n._triangles,o=n._halfedges,i=n.coords,a=0,u=0;;){var c=o[e],l=e-e%3;if(u=l+(e+2)%3,-1!==c){var f=c-c%3,s=l+(e+1)%3,d=f+(c+2)%3,h=r[u],p=r[e],y=r[s],g=r[d];if(x=i[2*h],w=i[2*h+1],O=i[2*p],M=i[2*p+1],k=i[2*y],T=i[2*y+1],A=i[2*g],_=i[2*g+1],j=void 0,S=void 0,P=void 0,C=void 0,E=void 0,D=void 0,L=void 0,N=void 0,(j=x-A)*((C=M-_)*(N=(E=k-A)*E+(D=T-_)*D)-(L=(P=O-A)*P+C*C)*D)-(S=w-_)*(P*N-L*E)+(j*j+S*S)*(P*D-C*E)<0){r[e]=g,r[c]=h;var v=o[d];if(-1===v){var b=this._hullStart;do{if(this._hullTri[b]===d){this._hullTri[b]=e;break}b=this._hullPrev[b]}while(b!==this._hullStart)}this._link(e,v),this._link(c,o[u]),this._link(u,d);var m=f+(c+1)%3;a<t.length&&(t[a++]=m)}else{if(0===a)break;e=t[--a]}}else{if(0===a)break;e=t[--a]}}var x,w,O,M,k,T,A,_,j,S,P,C,E,D,L,N;return u},n.prototype._link=function(e,t){this._halfedges[e]=t,-1!==t&&(this._halfedges[t]=e)},n.prototype._addTriangle=function(e,t,n,r,o,i){var a=this.trianglesLen;return this._triangles[a]=e,this._triangles[a+1]=t,this._triangles[a+2]=n,this._link(a,r),this._link(a+1,o),this._link(a+2,i),this.trianglesLen+=3,a},n}()},1080:(e,t,n)=>{"use strict";t.Z=void 0;var r,o=(r=n(2231))&&r.__esModule?r:{default:r};function i(e){return e[0]}function a(e){return e[1]}function u(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}var c=function(){function e(e){var t=new o.default(e);this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=t.coords,this._init(t)}var t=e.prototype;return t._init=function(e){var t=e,n=this.points;if(t.hull&&t.hull.length>2&&function(e){for(var t=e.triangles,n=e.coords,r=0;r<t.length;r+=3){var o=2*t[r],i=2*t[r+1],a=2*t[r+2];if((n[a]-n[o])*(n[i+1]-n[o+1])-(n[i]-n[o])*(n[a+1]-n[o+1])>1e-10)return!1}return!0}(t)){this.collinear=Int32Array.from({length:n.length/2},(function(e,t){return t})).sort((function(e,t){return n[2*e]-n[2*t]||n[2*e+1]-n[2*t+1]}));for(var r=this.collinear[0],i=this.collinear[this.collinear.length-1],a=[n[2*r],n[2*r+1],n[2*i],n[2*i+1]],c=1e-8*Math.sqrt(Math.pow(a[3]-a[1],2)+Math.pow(a[2]-a[0],2)),l=0,f=n.length/2;l<f;++l){var s=u(n[2*l],n[2*l+1],c);n[2*l]=s[0],n[2*l+1]=s[1]}e=new o.default(n)}for(var d=this.halfedges=e.halfedges,h=this.hull=e.hull,p=this.triangles=e.triangles,y=this.inedges.fill(-1),g=this._hullIndex.fill(-1),v=0,b=d.length;v<b;++v){var m=p[v%3==2?v-2:v+1];-1!==d[v]&&-1!==y[m]||(y[m]=v)}for(var x=0,w=h.length;x<w;++x)g[h[x]]=x;h.length<=2&&h.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=h[0],this.triangles[1]=h[1],this.triangles[2]=h[1],y[h[0]]=1,2===h.length&&(y[h[1]]=0))},t.neighbors=function(e){var t=[],n=this.inedges,r=this.hull,o=this._hullIndex,i=this.halfedges,a=this.triangles,u=n[e];if(-1===u)return t;var c=u,l=-1;do{if(l=a[c],t.push(l),a[c=c%3==2?c-2:c+1]!==e)break;if(-1===(c=i[c])){var f=r[(o[e]+1)%r.length];f!==l&&t.push(f);break}}while(c!==u);return t},t.find=function(e,t,n){if(void 0===n&&(n=0),(e=+e)!=e||(t=+t)!=t)return-1;for(var r,o=n;(r=this._step(n,e,t))>=0&&r!==n&&r!==o;)n=r;return r},t._step=function(e,t,n){var r=this.inedges,o=this.points;if(-1===r[e]||!o.length)return(e+1)%(o.length>>1);var i=e,a=Math.pow(t-o[2*e],2)+Math.pow(n-o[2*e+1],2),u=this.neighbors(e),c=Array.isArray(u),l=0;for(u=c?u:u[Symbol.iterator]();;){var f;if(c){if(l>=u.length)break;f=u[l++]}else{if((l=u.next()).done)break;f=l.value}var s=f,d=Math.pow(t-o[2*s],2)+Math.pow(n-o[2*s+1],2);d<a&&(a=d,i=s)}return i},e}();t.Z=c,c.from=function(e,t,n,r){return void 0===t&&(t=i),void 0===n&&(n=a),new c(function(e,t,n,r){for(var o=e.length,i=new Float64Array(2*o),a=0;a<o;++a){var u=e[a];i[2*a]=t.call(r,u,a,e),i[2*a+1]=n.call(r,u,a,e)}return i}(e,t,n,r))}},1124:(e,t,n)=>{var r=n(7236);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return r(e)?e:[e]}},4281:(e,t,n)=>{var r=n(7168),o=n(6582),i=n(3867),a=n(9557),u=n(2726);function c(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])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,e.exports=c},4690:(e,t,n)=>{var r=n(441).Symbol;e.exports=r},5198:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},8058:(e,t,n)=>{var r=n(7650);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},7431:e=>{e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},6460:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},3848:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},4793:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},7596:(e,t,n)=>{var r=n(999),o=n(6530),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},3833:(e,t,n)=>{var r=n(6530);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},999:(e,t,n)=>{var r=n(9346);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},528:e=>{e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},314:(e,t,n)=>{var r=n(3848),o=n(1754);e.exports=function e(t,n,i,a,u){var c=-1,l=t.length;for(i||(i=o),u||(u=[]);++c<l;){var f=t[c];n>0&&i(f)?n>1?e(f,n-1,i,a,u):r(u,f):a||(u[u.length]=f)}return u}},166:(e,t,n)=>{var r=n(8422),o=n(8780);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},4318:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},7650:e=>{e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},1071:(e,t,n)=>{var r=n(7229),o=n(3387);e.exports=function e(t,n,i,a,u){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,u))}},7229:(e,t,n)=>{var r=n(4281),o=n(2503),i=n(6001),a=n(8784),u=n(6686),c=n(7236),l=n(8752),f=n(4812),s="[object Arguments]",d="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,y,g,v){var b=c(e),m=c(t),x=b?d:u(e),w=m?d:u(t),O=(x=x==s?h:x)==h,M=(w=w==s?h:w)==h,k=x==w;if(k&&l(e)){if(!l(t))return!1;b=!0,O=!1}if(k&&!O)return v||(v=new r),b||f(e)?o(e,t,n,y,g,v):i(e,t,x,n,y,g,v);if(!(1&n)){var T=O&&p.call(e,"__wrapped__"),A=M&&p.call(t,"__wrapped__");if(T||A){var _=T?e.value():e,j=A?t.value():t;return v||(v=new r),g(_,j,n,y,v)}}return!!k&&(v||(v=new r),a(e,t,n,y,g,v))}},9157:(e,t,n)=>{var r=n(4281),o=n(1071);e.exports=function(e,t,n,i){var a=n.length,u=a,c=!i;if(null==e)return!u;for(e=Object(e);a--;){var l=n[a];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<u;){var f=(l=n[a])[0],s=e[f],d=l[1];if(c&&l[2]){if(void 0===s&&!(f in e))return!1}else{var h=new r;if(i)var p=i(s,d,f,e,t,h);if(!(void 0===p?o(d,s,3,i,h):p))return!1}}return!0}},1131:(e,t,n)=>{var r=n(4318),o=n(3387);e.exports=function(e){return o(e)&&"[object RegExp]"==r(e)}},8904:(e,t,n)=>{var r=n(8418),o=n(4555),i=n(5362),a=n(7236),u=n(1651);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):u(e)}},8803:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},2920:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},8418:(e,t,n)=>{var r=n(9157),o=n(9182),i=n(7375);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},4555:(e,t,n)=>{var r=n(1071),o=n(3795),i=n(3646),a=n(3266),u=n(1457),c=n(7375),l=n(8780);e.exports=function(e,t){return a(e)&&u(t)?c(l(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},690:(e,t,n)=>{var r=n(6460),o=n(166),i=n(8904),a=n(2920),u=n(6024),c=n(6535),l=n(1397),f=n(5362),s=n(7236);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return s(e)?function(t){return o(t,1===e.length?e[0]:e)}:e})):[f];var d=-1;t=r(t,c(i));var h=a(e,(function(e,n,o){return{criteria:r(t,(function(t){return t(e)})),index:++d,value:e}}));return u(h,(function(e,t){return l(e,t,n)}))}},7410:(e,t,n)=>{var r=n(6621),o=n(3646);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},6621:(e,t,n)=>{var r=n(166),o=n(8116),i=n(8422);e.exports=function(e,t,n){for(var a=-1,u=t.length,c={};++a<u;){var l=t[a],f=r(e,l);n(f,l)&&o(c,i(l,e),f)}return c}},1712:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},4815:(e,t,n)=>{var r=n(166);e.exports=function(e){return function(t){return r(t,e)}}},797:e=>{var t=Math.ceil,n=Math.max;e.exports=function(e,r,o,i){for(var a=-1,u=n(t((r-e)/(o||1)),0),c=Array(u);u--;)c[i?u:++a]=e,e+=o;return c}},4569:(e,t,n)=>{var r=n(5362),o=n(4468),i=n(8756);e.exports=function(e,t){return i(o(e,t,r),e+"")}},8116:(e,t,n)=>{var r=n(7596),o=n(8422),i=n(4363),a=n(5973),u=n(8780);e.exports=function(e,t,n,c){if(!a(e))return e;for(var l=-1,f=(t=o(t,e)).length,s=f-1,d=e;null!=d&&++l<f;){var h=u(t[l]),p=n;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(l!=s){var y=d[h];void 0===(p=c?c(y,h,d):void 0)&&(p=a(y)?y:i(t[l+1])?[]:{})}r(d,h,p),d=d[h]}return e}},6024:e=>{e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},6535:e=>{e.exports=function(e){return function(t){return e(t)}}},4351:(e,t,n)=>{var r=n(1124),o=n(8058),i=n(7431),a=n(555),u=n(8491),c=n(6350);e.exports=function(e,t,n){var l=-1,f=o,s=e.length,d=!0,h=[],p=h;if(n)d=!1,f=i;else if(s>=200){var y=t?null:u(e);if(y)return c(y);d=!1,f=a,p=new r}else p=t?[]:h;e:for(;++l<s;){var g=e[l],v=t?t(g):g;if(g=n||0!==g?g:0,d&&v==v){for(var b=p.length;b--;)if(p[b]===v)continue e;t&&p.push(v),h.push(g)}else f(p,v,n)||(p!==h&&p.push(v),h.push(g))}return h}},555:(e,t,n)=>{var r=n(7650);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},8422:(e,t,n)=>{var r=n(7236),o=n(3266),i=n(3879),a=n(1119);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},709:(e,t,n)=>{var r=n(2945);e.exports=function(e,t){if(e!==t){var n=void 0!==e,o=null===e,i=e==e,a=r(e),u=void 0!==t,c=null===t,l=t==t,f=r(t);if(!c&&!f&&!a&&e>t||a&&u&&l&&!c&&!f||o&&u&&l||!n&&l||!i)return 1;if(!o&&!a&&!f&&e<t||f&&n&&i&&!o&&!a||c&&n&&i||!u&&i||!l)return-1}return 0}},1397:(e,t,n)=>{var r=n(709);e.exports=function(e,t,n){for(var o=-1,i=e.criteria,a=t.criteria,u=i.length,c=n.length;++o<u;){var l=r(i[o],a[o]);if(l)return o>=c?l:l*("desc"==n[o]?-1:1)}return e.index-t.index}},6051:(e,t,n)=>{var r=n(7596),o=n(999);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var u=-1,c=t.length;++u<c;){var l=t[u],f=i?i(n[l],e[l],l,n,e):void 0;void 0===f&&(f=e[l]),a?o(n,l,f):r(n,l,f)}return n}},2544:(e,t,n)=>{var r=n(4569),o=n(3108);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,u=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,u&&o(n[0],n[1],u)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var c=n[r];c&&e(t,c,r,a)}return t}))}},3086:(e,t,n)=>{var r=n(8904),o=n(1580),i=n(2635);e.exports=function(e){return function(t,n,a){var u=Object(t);if(!o(t)){var c=r(n,3);t=i(t),n=function(e){return c(u[e],e,u)}}var l=e(t,n,a);return l>-1?u[c?t[l]:l]:void 0}}},9833:(e,t,n)=>{var r=n(797),o=n(3108),i=n(992);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&o(t,n,a)&&(n=a=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),a=void 0===a?t<n?1:-1:i(a),r(t,n,a,e)}}},8491:e=>{e.exports=function(){}},9346:(e,t,n)=>{var r=n(4457),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},2503:(e,t,n)=>{var r=n(1124),o=n(4793),i=n(555);e.exports=function(e,t,n,a,u,c){var l=1&n,f=e.length,s=t.length;if(f!=s&&!(l&&s>f))return!1;var d=c.get(e),h=c.get(t);if(d&&h)return d==t&&h==e;var p=-1,y=!0,g=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++p<f;){var v=e[p],b=t[p];if(a)var m=l?a(b,v,p,t,e,c):a(v,b,p,e,t,c);if(void 0!==m){if(m)continue;y=!1;break}if(g){if(!o(t,(function(e,t){if(!i(g,t)&&(v===e||u(v,e,n,a,c)))return g.push(t)}))){y=!1;break}}else if(v!==b&&!u(v,b,n,a,c)){y=!1;break}}return c.delete(e),c.delete(t),y}},6001:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},8784:(e,t,n)=>{var r=n(6094),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,u){var c=1&n,l=r(e),f=l.length;if(f!=r(t).length&&!c)return!1;for(var s=f;s--;){var d=l[s];if(!(c?d in t:o.call(t,d)))return!1}var h=u.get(e),p=u.get(t);if(h&&p)return h==t&&p==e;var y=!0;u.set(e,t),u.set(t,e);for(var g=c;++s<f;){var v=e[d=l[s]],b=t[d];if(i)var m=c?i(b,v,d,t,e,u):i(v,b,d,e,t,u);if(!(void 0===m?v===b||a(v,b,n,i,u):m)){y=!1;break}g||(g="constructor"==d)}if(y&&!g){var x=e.constructor,w=t.constructor;x==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(y=!1)}return u.delete(e),u.delete(t),y}},3368:(e,t,n)=>{var r=n(5453),o=n(4468),i=n(8756);e.exports=function(e){return i(o(e,void 0,r),e+"")}},4414:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},6094:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},5559:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},9182:(e,t,n)=>{var r=n(1457),o=n(2635);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},4457:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},1407:(e,t,n)=>{var r=n(3717)(Object.getPrototypeOf,Object);e.exports=r},6686:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7383:(e,t,n)=>{var r=n(8422),o=n(6981),i=n(7236),a=n(4363),u=n(9216),c=n(8780);e.exports=function(e,t,n){for(var l=-1,f=(t=r(t,e)).length,s=!1;++l<f;){var d=c(t[l]);if(!(s=null!=e&&n(e,d)))break;e=e[d]}return s||++l!=f?s:!!(f=null==e?0:e.length)&&u(f)&&a(d,f)&&(i(e)||o(e))}},1754:(e,t,n)=>{var r=n(4690),o=n(6981),i=n(7236),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},4363:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},3108:e=>{e.exports=function(){return!1}},3266:(e,t,n)=>{var r=n(7236),o=n(2945),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},5003:e=>{e.exports=function(){return!1}},1457:(e,t,n)=>{var r=n(5973);e.exports=function(e){return e==e&&!r(e)}},7168:e=>{e.exports=function(){this.__data__=[],this.size=0}},6582:(e,t,n)=>{var r=n(3833),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))}},3867:(e,t,n)=>{var r=n(3833);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},9557:(e,t,n)=>{var r=n(3833);e.exports=function(e){return r(this.__data__,e)>-1}},2726:(e,t,n)=>{var r=n(3833);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}},7375:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},7085:e=>{e.exports=function(e){return e}},1782:(e,t,n)=>{e=n.nmd(e);var r=n(4414),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,u=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=u},3717:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},4468:(e,t,n)=>{var r=n(5198),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,u=o(i.length-t,0),c=Array(u);++a<u;)c[a]=i[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=i[a];return l[t]=n(c),r(e,this,l)}}},441:(e,t,n)=>{var r=n(4414),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},6350:e=>{e.exports=function(){return[]}},8756:e=>{e.exports=function(e){return e}},3879:(e,t,n)=>{var r=n(7085),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},8780:e=>{e.exports=function(e){return e}},6782:(e,t,n)=>{var r=n(7596),o=n(6051),i=n(2544),a=n(1580),u=n(5003),c=n(2635),l=Object.prototype.hasOwnProperty,f=i((function(e,t){if(u(t)||a(t))o(t,c(t),e);else for(var n in t)l.call(t,n)&&r(e,n,t[n])}));e.exports=f},5750:(e,t,n)=>{var r=n(5973),o=n(8148),i=n(8746),a=Math.max,u=Math.min;e.exports=function(e,t,n){var c,l,f,s,d,h,p=0,y=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=c,r=l;return c=l=void 0,p=t,s=e.apply(r,n)}function m(e){return p=e,d=setTimeout(w,t),y?b(e):s}function x(e){var n=e-h;return void 0===h||n>=t||n<0||g&&e-p>=f}function w(){var e=o();if(x(e))return O(e);d=setTimeout(w,function(e){var n=t-(e-h);return g?u(n,f-(e-p)):n}(e))}function O(e){return d=void 0,v&&c?b(e):(c=l=void 0,s)}function M(){var e=o(),n=x(e);if(c=arguments,l=this,h=e,n){if(void 0===d)return m(h);if(g)return clearTimeout(d),d=setTimeout(w,t),b(h)}return void 0===d&&(d=setTimeout(w,t)),s}return t=i(t)||0,r(n)&&(y=!!n.leading,f=(g="maxWait"in n)?a(i(n.maxWait)||0,t):f,v="trailing"in n?!!n.trailing:v),M.cancel=function(){void 0!==d&&clearTimeout(d),p=0,c=h=l=d=void 0},M.flush=function(){return void 0===d?s:O(o())},M}},7901:(e,t,n)=>{var r=n(4569),o=n(6530),i=n(3108),a=n(5850),u=Object.prototype,c=u.hasOwnProperty,l=r((function(e,t){e=Object(e);var n=-1,r=t.length,l=r>2?t[2]:void 0;for(l&&i(t[0],t[1],l)&&(r=1);++n<r;)for(var f=t[n],s=a(f),d=-1,h=s.length;++d<h;){var p=s[d],y=e[p];(void 0===y||o(y,u[p])&&!c.call(e,p))&&(e[p]=f[p])}return e}));e.exports=l},6530:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},6786:(e,t,n)=>{var r=n(3086)(n(8611));e.exports=r},8611:(e,t,n)=>{var r=n(528),o=n(8904),i=n(5225),a=Math.max;e.exports=function(e,t,n){var u=null==e?0:e.length;if(!u)return-1;var c=null==n?0:i(n);return c<0&&(c=a(u+c,0)),r(e,o(t,3),c)}},5453:(e,t,n)=>{var r=n(314);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},3795:(e,t,n)=>{var r=n(166);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},3646:(e,t,n)=>{var r=n(7),o=n(7383);e.exports=function(e,t){return null!=e&&o(e,t,r)}},5362:e=>{e.exports=function(e){return e}},6901:(e,t,n)=>{var r=n(7650);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},6981:e=>{e.exports=function(){return!1}},7236:e=>{var t=Array.isArray;e.exports=t},1580:(e,t,n)=>{var r=n(3839),o=n(9216);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},8752:e=>{e.exports=function(){return!1}},6834:(e,t,n)=>{var r=n(8803),o=n(6686),i=n(6981),a=n(7236),u=n(1580),c=n(8752),l=n(5003),f=n(4812),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(u(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||f(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(l(e))return!r(e).length;for(var n in e)if(s.call(e,n))return!1;return!0}},9793:(e,t,n)=>{var r=n(1071);e.exports=function(e,t){return r(e,t)}},3839:(e,t,n)=>{var r=n(4318),o=n(5973);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}},9216:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5973:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3387:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},9636:(e,t,n)=>{var r=n(4318),o=n(1407),i=n(3387),a=Function.prototype,u=Object.prototype,c=a.toString,l=u.hasOwnProperty,f=c.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}},2654:(e,t,n)=>{var r=n(1131),o=n(6535),i=n(1782),a=i&&i.isRegExp,u=a?o(a):r;e.exports=u},4461:(e,t,n)=>{var r=n(4318),o=n(7236),i=n(3387);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},2945:e=>{e.exports=function(){return!1}},4812:e=>{e.exports=function(){return!1}},2720:e=>{e.exports=function(e){return void 0===e}},2635:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},5850:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},2972:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},5913:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},8148:(e,t,n)=>{var r=n(441);e.exports=function(){return r.Date.now()}},5492:(e,t,n)=>{var r=n(8904),o=n(5913),i=n(9922);e.exports=function(e,t){return i(e,o(r(t)))}},1473:(e,t,n)=>{var r=n(690),o=n(7236);e.exports=function(e,t,n,i){return null==e?[]:(o(t)||(t=null==t?[]:[t]),o(n=i?void 0:n)||(n=null==n?[]:[n]),r(e,t,n))}},8423:(e,t,n)=>{var r=n(7410),o=n(3368)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},9922:(e,t,n)=>{var r=n(6460),o=n(8904),i=n(6621),a=n(5559);e.exports=function(e,t){if(null==e)return{};var n=r(a(e),(function(e){return[e]}));return t=o(t),i(e,n,(function(e,n){return t(e,n[0])}))}},1651:(e,t,n)=>{var r=n(1712),o=n(4815),i=n(3266),a=n(8780);e.exports=function(e){return i(e)?r(a(e)):o(e)}},9717:(e,t,n)=>{var r=n(9833)();e.exports=r},3259:(e,t,n)=>{var r=n(5750),o=n(5973);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},992:(e,t,n)=>{var r=n(8746);e.exports=function(e){return e?Infinity===(e=r(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},5225:(e,t,n)=>{var r=n(992);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},8746:e=>{e.exports=function(e){return e}},1119:e=>{e.exports=function(e){return e}},1815:(e,t,n)=>{var r=n(4351);e.exports=function(e){return e&&e.length?r(e):[]}},556:(e,t,n)=>{var r=n(1119),o=0;e.exports=function(e){var t=++o;return r(e)+t}},459:(e,t,n)=>{"use strict";var r=n(5704);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=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 u.name="Invariant Violation",u}}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}},216:(e,t,n)=>{e.exports=n(459)()},5704:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8266:e=>{"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty,o="undefined"!=typeof Element;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){var u,c,l,f=t(e),s=t(a);if(f&&s){if((c=e.length)!=a.length)return!1;for(u=c;0!=u--;)if(!i(e[u],a[u]))return!1;return!0}if(f!=s)return!1;var d=e instanceof Date,h=a instanceof Date;if(d!=h)return!1;if(d&&h)return e.getTime()==a.getTime();var p=e instanceof RegExp,y=a instanceof RegExp;if(p!=y)return!1;if(p&&y)return e.toString()==a.toString();var g=n(e);if((c=g.length)!==n(a).length)return!1;for(u=c;0!=u--;)if(!r.call(a,g[u]))return!1;if(o&&e instanceof Element&&a instanceof Element)return e===a;for(u=c;0!=u--;)if(!("_owner"===(l=g[u])&&e.$$typeof||i(e[l],a[l])))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return i(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},9787:t=>{"use strict";t.exports=e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(i.exports,i,i.exports,r),i.loaded=!0,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})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var o={};return(()=>{"use strict";r.r(o),r.d(o,{VictoryVoronoiContainer:()=>Uu,VoronoiHelpers:()=>Su,voronoiContainerMixin:()=>Nu});var e={};r.r(e),r.d(e,{interpolateCool:()=>Ja,interpolateCubehelixDefault:()=>Ga,interpolateInferno:()=>iu,interpolateMagma:()=>ou,interpolatePlasma:()=>au,interpolateRainbow:()=>tu,interpolateViridis:()=>ru,interpolateWarm:()=>Qa,scaleBand:()=>An,scaleIdentity:()=>Br,scaleImplicit:()=>kn,scaleLinear:()=>Vr,scaleLog:()=>eo,scaleOrdinal:()=>Tn,scalePoint:()=>jn,scalePow:()=>no,scaleQuantile:()=>oo,scaleQuantize:()=>io,scaleSequential:()=>uu,scaleSqrt:()=>ro,scaleThreshold:()=>ao,scaleTime:()=>Ma,scaleUtc:()=>Pa,schemeCategory10:()=>Ea,schemeCategory20:()=>Na,schemeCategory20b:()=>Da,schemeCategory20c:()=>La});var t=r(8423),n=r.n(t),i=r(3839),a=r.n(i),u=r(7901),c=r.n(u),l=r(216),f=r.n(l),s=r(9787),d=r.n(s),h=r(1473),p=r.n(h),y=r(9636),g=r.n(y),v=r(556),b=r.n(v),m=r(6782),x=r.n(m),w=r(2635),O=r.n(w),M=r(1651),k=r.n(M);function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function A(e){var t=function(e){return void 0!==e},n=e._x,r=e._x1,o=e._x0,i=e._voronoiX,a=e._y,u=e._y1,l=e._y0,f=e._voronoiY,s=t(r)?r:n,d=t(u)?u:a,h={x:t(i)?i:s,x0:t(o)?o:n,y:t(f)?f:d,y0:t(l)?l:a};return c()({},h,e)}function _(e,t){var n=e.scale,r=e.polar,o=e.horizontal,i=A(t),a=e.origin||{x:0,y:0},u=o?n.y(i.y):n.x(i.x),c=o?n.y(i.y0):n.x(i.x0),l=o?n.x(i.x):n.y(i.y),f=o?n.x(i.x0):n.y(i.y0);return{x:r?l*Math.cos(u)+a.x:u,x0:r?f*Math.cos(c)+a.x:c,y:r?-l*Math.sin(u)+a.y:l,y0:r?-f*Math.sin(c)+a.x:f}}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"padding",n=e[t],r="number"==typeof n?n:0,o="object"==typeof n?n:{};return{top:o.top||r,bottom:o.bottom||r,left:o.left||r,right:o.right||r}}function S(e,t){return a()(e)?e(t):e}function P(e,t){return t.disableInlineStyles?{}:e&&O()(e).some((function(t){return a()(e[t])}))?O()(e).reduce((function(n,r){return n[r]=S(e[r],t),n}),{}):e}function C(e){return a()(e)?e:null==e?function(e){return e}:k()(e)}function E(e,t){var n,r=A(t).x;return("number"==typeof(n=e.scale.x(r))?n/(Math.PI/180):n)%360}var D=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],L="#ECEFF1",N="#90A4AE",U="#455A64",I="#212121",z={width:350,height:350,padding:50},F={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:U,stroke:"transparent",strokeWidth:0},R=x()({textAnchor:"middle"},F),W="round",H="round";const q={area:x()({style:{data:{fill:I},labels:F}},z),axis:x()({style:{axis:{fill:"transparent",stroke:N,strokeWidth:2,strokeLinecap:W,strokeLinejoin:H},axisLabel:x()({},R,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:L,strokeDasharray:"10, 5",strokeLinecap:W,strokeLinejoin:H,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:N,strokeWidth:1,strokeLinecap:W,strokeLinejoin:H},tickLabels:x()({},F,{fill:U})}},z),polarDependentAxis:x()({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:x()({style:{data:{fill:U,padding:8,strokeWidth:0},labels:F}},z),boxplot:x()({style:{max:{padding:8,stroke:U,strokeWidth:1},maxLabels:x()({},F,{padding:3}),median:{padding:8,stroke:U,strokeWidth:1},medianLabels:x()({},F,{padding:3}),min:{padding:8,stroke:U,strokeWidth:1},minLabels:x()({},F,{padding:3}),q1:{padding:8,fill:U},q1Labels:x()({},F,{padding:3}),q3:{padding:8,fill:U},q3Labels:x()({},F,{padding:3})},boxWidth:20},z),candlestick:x()({style:{data:{stroke:U},labels:x()({},F,{padding:5})},candleColors:{positive:"#ffffff",negative:U}},z),chart:z,errorbar:x()({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:U,strokeWidth:2},labels:F}},z),group:x()({colorScale:D},z),histogram:x()({style:{data:{fill:U,stroke:I,strokeWidth:2},labels:F}},z),legend:{colorScale:D,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:F,title:x()({},F,{padding:5})}},line:x()({style:{data:{fill:"transparent",opacity:1,stroke:U,strokeWidth:2},labels:F}},z),pie:x()({colorScale:D,style:{data:{padding:8,stroke:L,strokeWidth:1},labels:x()({},F,{padding:20})}},z),scatter:x()({style:{data:{fill:U,opacity:1,stroke:"transparent",strokeWidth:0},labels:F}},z),stack:x()({colorScale:D},z),tooltip:{style:x()({},F,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:I,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:x()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:x()({},F,{padding:5,pointerEvents:"none"}),flyout:{stroke:I,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},z)};var Y=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],V="#252525",B="#969696",K={width:450,height:300,padding:50,colorScale:Y},Z={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:V,stroke:"transparent"},$=x()({textAnchor:"middle"},Z);const X={material:q,grayscale:{area:x()({style:{data:{fill:V},labels:Z}},K),axis:x()({style:{axis:{fill:"transparent",stroke:V,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:x()({},$,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:Z}},K),bar:x()({style:{data:{fill:V,padding:8,strokeWidth:0},labels:Z}},K),boxplot:x()({style:{max:{padding:8,stroke:V,strokeWidth:1},maxLabels:x()({},Z,{padding:3}),median:{padding:8,stroke:V,strokeWidth:1},medianLabels:x()({},Z,{padding:3}),min:{padding:8,stroke:V,strokeWidth:1},minLabels:x()({},Z,{padding:3}),q1:{padding:8,fill:B},q1Labels:x()({},Z,{padding:3}),q3:{padding:8,fill:B},q3Labels:x()({},Z,{padding:3})},boxWidth:20},K),candlestick:x()({style:{data:{stroke:V,strokeWidth:1},labels:x()({},Z,{padding:5})},candleColors:{positive:"#ffffff",negative:V}},K),chart:K,errorbar:x()({borderWidth:8,style:{data:{fill:"transparent",stroke:V,strokeWidth:2},labels:Z}},K),group:x()({colorScale:Y},K),histogram:x()({style:{data:{fill:B,stroke:V,strokeWidth:2},labels:Z}},K),legend:{colorScale:Y,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Z,title:x()({},Z,{padding:5})}},line:x()({style:{data:{fill:"transparent",stroke:V,strokeWidth:2},labels:Z}},K),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:x()({},Z,{padding:20})},colorScale:Y,width:400,height:400,padding:50},scatter:x()({style:{data:{fill:V,stroke:"transparent",strokeWidth:0},labels:Z}},K),stack:x()({colorScale:Y},K),tooltip:{style:x()({},Z,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:V,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:x()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:x()({},Z,{padding:5,pointerEvents:"none"}),flyout:{stroke:V,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},K)}};var G={"American Typewriter":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.4203125,.3296875,.6,.6375,.8015625,.8203125,.1875,.45625,.45625,.6375,.5,.2734375,.309375,.2734375,.4390625,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.2734375,.2734375,.5,.5,.5,.6,.6921875,.7640625,.6921875,.6375,.728125,.6734375,.6203125,.7109375,.784375,.3828125,.6421875,.7859375,.6375,.9484375,.7640625,.65625,.6375,.65625,.7296875,.6203125,.6375,.7109375,.740625,.940625,.784375,.7578125,.6203125,.4375,.5,.4375,.5,.5,.4921875,.5734375,.5890625,.5109375,.6,.528125,.43125,.5578125,.6375,.3109375,.40625,.6234375,.309375,.928125,.6375,.546875,.6,.58125,.4921875,.4921875,.4,.6203125,.625,.825,.6375,.640625,.528125,.5,.5,.5,.6671875],avg:.5793421052631578},Arial:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.278125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.584375,.584375,.584375,.55625,1.015625,.6703125,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.278125,.278125,.4703125,.584375,.334375,.55625,.55625,.5,.55625,.55625,.3125,.55625,.55625,.2234375,.2703125,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.346875,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.334375,.2609375,.334375,.584375],avg:.528733552631579},"Arial Black":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.33125,.334375,.5,.6609375,.6671875,1,.890625,.278125,.390625,.390625,.55625,.6609375,.334375,.334375,.334375,.28125,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.334375,.334375,.6609375,.6609375,.6609375,.6109375,.7453125,.78125,.778125,.778125,.778125,.7234375,.6671875,.834375,.834375,.390625,.6671875,.834375,.6671875,.9453125,.834375,.834375,.7234375,.834375,.78125,.7234375,.7234375,.834375,.7796875,1.003125,.78125,.78125,.7234375,.390625,.28125,.390625,.6609375,.5125,.334375,.6671875,.6671875,.6671875,.6671875,.6671875,.41875,.6671875,.6671875,.334375,.384375,.6671875,.334375,1,.6671875,.6671875,.6671875,.6671875,.4703125,.6109375,.4453125,.6671875,.6140625,.946875,.6671875,.615625,.55625,.390625,.278125,.390625,.6609375],avg:.6213157894736842},Baskerville:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.25,.40625,.6671875,.490625,.875,.7015625,.178125,.2453125,.246875,.4171875,.6671875,.25,.3125,.25,.521875,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.6671875,.6671875,.6671875,.396875,.9171875,.684375,.615625,.71875,.7609375,.625,.553125,.771875,.803125,.3546875,.515625,.78125,.6046875,.928125,.75,.8234375,.5625,.96875,.7296875,.5421875,.6984375,.771875,.7296875,.9484375,.771875,.678125,.6359375,.3640625,.521875,.3640625,.46875,.5125,.334375,.46875,.521875,.428125,.521875,.4375,.3890625,.4765625,.53125,.25,.359375,.4640625,.240625,.803125,.53125,.5,.521875,.521875,.365625,.334375,.2921875,.521875,.4640625,.678125,.4796875,.465625,.428125,.4796875,.5109375,.4796875,.6671875],avg:.5323519736842108},Courier:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},"Courier New":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6015296052631579},cursive:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1921875,.24375,.40625,.5671875,.3984375,.721875,.909375,.2328125,.434375,.365625,.4734375,.5578125,.19375,.3484375,.19375,.7734375,.503125,.4171875,.5453125,.45,.6046875,.4703125,.5984375,.55625,.503125,.5546875,.20625,.2,.5625,.5546875,.546875,.403125,.70625,.734375,.7078125,.64375,.85,.753125,.75,.6484375,1.0765625,.44375,.5359375,.8359375,.653125,1.0109375,1.1515625,.6796875,.6984375,1.0625,.8234375,.5125,.9234375,.8546875,.70625,.9109375,.7421875,.715625,.6015625,.4640625,.3359375,.4109375,.5421875,.5421875,.4328125,.5125,.5,.3859375,.7375,.359375,.75625,.540625,.5328125,.3203125,.5296875,.5015625,.484375,.7890625,.5640625,.4203125,.703125,.471875,.4734375,.35,.4125,.5640625,.471875,.6484375,.5296875,.575,.4140625,.415625,.20625,.3796875,.5421875],avg:.5604440789473684},fantasy:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.2625,.3265625,.6109375,.534375,.7625,.7828125,.2,.4359375,.4359375,.3765625,.5109375,.2796875,.4609375,.2796875,.5296875,.6640625,.253125,.521875,.4765625,.6640625,.490625,.528125,.5546875,.496875,.5421875,.2796875,.2796875,.5625,.4609375,.5625,.4828125,.609375,.740625,.7234375,.740625,.8265625,.7234375,.6171875,.7359375,.765625,.240625,.5453125,.715625,.6078125,.8640625,.653125,.9125,.6484375,.946875,.6921875,.653125,.6953125,.8015625,.58125,.784375,.671875,.6265625,.690625,.4359375,.5296875,.4359375,.53125,.5,.2875,.5375,.603125,.4984375,.60625,.53125,.434375,.6421875,.56875,.209375,.4671875,.5484375,.2203125,.709375,.55,.5984375,.6140625,.5765625,.40625,.4734375,.3734375,.559375,.4421875,.6421875,.4890625,.578125,.4484375,.2546875,.2203125,.2546875,.55],avg:.536496710526316},Geneva:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3328125,.3046875,.5,.6671875,.6671875,.90625,.728125,.3046875,.446875,.446875,.5078125,.6671875,.3046875,.3796875,.3046875,.5390625,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.3046875,.3046875,.6671875,.6671875,.6671875,.56875,.871875,.728125,.6375,.6515625,.7015625,.5765625,.5546875,.675,.690625,.2421875,.4921875,.6640625,.584375,.7890625,.709375,.7359375,.584375,.78125,.60625,.60625,.640625,.6671875,.728125,.946875,.6109375,.6109375,.5765625,.446875,.5390625,.446875,.6671875,.6671875,.5921875,.5546875,.6109375,.546875,.603125,.5765625,.390625,.6109375,.584375,.2359375,.334375,.5390625,.2359375,.8953125,.584375,.60625,.603125,.603125,.3875,.509375,.44375,.584375,.565625,.78125,.53125,.571875,.5546875,.4515625,.246875,.4515625,.6671875],avg:.5762664473684211},Georgia:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2421875,.33125,.4125,.64375,.6109375,.81875,.7109375,.215625,.375,.375,.4734375,.64375,.2703125,.375,.2703125,.46875,.6140625,.4296875,.559375,.553125,.565625,.5296875,.5671875,.503125,.596875,.5671875,.3125,.3125,.64375,.64375,.64375,.4796875,.9296875,.715625,.6546875,.6421875,.75,.6546875,.6,.7265625,.815625,.390625,.51875,.7203125,.6046875,.928125,.7671875,.7453125,.6109375,.7453125,.7234375,.5625,.61875,.7578125,.70625,.99375,.7125,.6640625,.6015625,.375,.46875,.375,.64375,.65,.5,.5046875,.56875,.4546875,.575,.484375,.39375,.509375,.5828125,.29375,.3671875,.546875,.2875,.88125,.5921875,.5390625,.571875,.5640625,.4109375,.4328125,.3453125,.5765625,.5203125,.75625,.50625,.5171875,.4453125,.43125,.375,.43125,.64375],avg:.5551809210526316},"Gill Sans":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2765625,.271875,.3546875,.584375,.5421875,.6765625,.625,.1890625,.3234375,.3234375,.4171875,.584375,.2203125,.3234375,.2203125,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.2203125,.2296875,.584375,.584375,.584375,.334375,1.0109375,.6671875,.5640625,.709375,.75,.5,.4703125,.740625,.7296875,.25,.3125,.65625,.490625,.78125,.78125,.8234375,.5109375,.8234375,.6046875,.459375,.6046875,.709375,.6046875,1.0421875,.709375,.6046875,.646875,.334375,.28125,.334375,.4703125,.5828125,.334375,.428125,.5,.4390625,.5109375,.4796875,.296875,.428125,.5,.2203125,.2265625,.5,.2203125,.771875,.5,.553125,.5,.5,.3984375,.3859375,.334375,.5,.4390625,.7203125,.5,.4390625,.4171875,.334375,.2609375,.334375,.584375],avg:.4933717105263159},Helvetica:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2796875,.2765625,.3546875,.5546875,.5546875,.8890625,.665625,.190625,.3328125,.3328125,.3890625,.5828125,.2765625,.3328125,.2765625,.3015625,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.2765625,.2765625,.584375,.5828125,.584375,.5546875,1.0140625,.665625,.665625,.721875,.721875,.665625,.609375,.7765625,.721875,.2765625,.5,.665625,.5546875,.8328125,.721875,.7765625,.665625,.7765625,.721875,.665625,.609375,.721875,.665625,.94375,.665625,.665625,.609375,.2765625,.3546875,.2765625,.4765625,.5546875,.3328125,.5546875,.5546875,.5,.5546875,.5546875,.2765625,.5546875,.5546875,.221875,.240625,.5,.221875,.8328125,.5546875,.5546875,.5546875,.5546875,.3328125,.5,.2765625,.5546875,.5,.721875,.5,.5,.5,.3546875,.259375,.353125,.5890625],avg:.5279276315789471},"Helvetica Neue":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.259375,.4265625,.55625,.55625,1,.6453125,.278125,.2703125,.26875,.353125,.6,.278125,.3890625,.278125,.36875,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.6,.6,.6,.55625,.8,.6625,.6859375,.7234375,.7046875,.6125,.575,.759375,.7234375,.259375,.5203125,.6703125,.55625,.871875,.7234375,.7609375,.6484375,.7609375,.6859375,.6484375,.575,.7234375,.6140625,.9265625,.6125,.6484375,.6125,.259375,.36875,.259375,.6,.5,.25625,.5375,.59375,.5375,.59375,.5375,.2984375,.575,.55625,.2234375,.2375,.5203125,.2234375,.853125,.55625,.575,.59375,.59375,.334375,.5,.315625,.55625,.5,.759375,.51875,.5,.48125,.334375,.2234375,.334375,.6],avg:.5279440789473684},"Hoefler Text":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2359375,.2234375,.3921875,.7125,.49375,.8859375,.771875,.2125,.3078125,.309375,.375,.4234375,.234375,.3125,.234375,.3,.5828125,.365625,.434375,.3921875,.5234375,.3984375,.5125,.4328125,.46875,.5125,.234375,.234375,.515625,.4234375,.515625,.340625,.7609375,.7359375,.6359375,.721875,.8125,.6375,.5875,.8078125,.853125,.4296875,.503125,.78125,.609375,.9609375,.8515625,.8140625,.6125,.8140625,.71875,.49375,.7125,.76875,.771875,1.125,.7765625,.7734375,.65625,.321875,.3078125,.321875,.3546875,.5,.3375,.446875,.5359375,.45,.5296875,.4546875,.425,.4921875,.54375,.2671875,.240625,.5390625,.25,.815625,.5375,.5234375,.5390625,.5421875,.365625,.36875,.35625,.5171875,.5015625,.75,.5,.509375,.44375,.2421875,.14375,.2421875,.35],avg:.5116447368421051},Montserrat:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2625,.2609375,.3734375,.696875,.615625,.8296875,.6703125,.203125,.3296875,.3296875,.3875,.575,.2125,.3828125,.2125,.3953125,.6625,.3625,.56875,.5640625,.6625,.5671875,.609375,.5890625,.6390625,.609375,.2125,.2125,.575,.575,.575,.5671875,1.034375,.7171875,.7546875,.7203125,.8265625,.6703125,.634375,.7734375,.8140625,.303125,.5078125,.7125,.5890625,.95625,.8140625,.8390625,.71875,.8390625,.7234375,.615625,.575,.7921875,.6984375,1.1125,.65625,.6359375,.6515625,.31875,.396875,.31875,.5765625,.5,.6,.590625,.678125,.5640625,.678125,.6046875,.375,.6875,.678125,.2703125,.365625,.6015625,.2703125,1.0625,.678125,.628125,.678125,.678125,.4015625,.4890625,.40625,.6734375,.5421875,.8796875,.534375,.5671875,.5125,.334375,.2953125,.334375,.575],avg:.571792763157895},monospace:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},Overpass:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2296875,.2765625,.4203125,.68125,.584375,.8515625,.7015625,.2203125,.3453125,.3453125,.53125,.63125,.2234375,.3953125,.2234375,.509375,.65,.4046875,.6171875,.60625,.6484375,.60625,.6015625,.5375,.615625,.6015625,.2234375,.2234375,.63125,.63125,.63125,.5015625,.8203125,.696875,.6671875,.65,.6859375,.6015625,.559375,.690625,.7078125,.2953125,.565625,.678125,.58125,.8046875,.7109375,.740625,.6421875,.740625,.6765625,.6046875,.590625,.696875,.6640625,.853125,.65,.6671875,.6625,.3734375,.509375,.3734375,.63125,.5125,.4,.5328125,.5625,.51875,.5625,.546875,.3359375,.5625,.565625,.25625,.3203125,.55,.265625,.85,.565625,.5671875,.5625,.5625,.4046875,.4765625,.3796875,.565625,.521875,.7265625,.53125,.5390625,.5125,.3671875,.275,.3671875,.63125],avg:.5430756578947369},Palatino:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.278125,.371875,.60625,.5,.840625,.778125,.209375,.334375,.334375,.390625,.60625,.2578125,.334375,.25,.60625,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.60625,.60625,.60625,.4453125,.7484375,.778125,.6109375,.709375,.775,.6109375,.55625,.7640625,.8328125,.3375,.346875,.7265625,.6109375,.946875,.83125,.7875,.6046875,.7875,.66875,.525,.6140625,.778125,.7234375,1,.6671875,.6671875,.6671875,.334375,.60625,.334375,.60625,.5,.334375,.5,.565625,.4453125,.6109375,.4796875,.340625,.55625,.5828125,.2921875,.2671875,.5640625,.2921875,.8828125,.5828125,.546875,.6015625,.5609375,.3953125,.425,.3265625,.603125,.565625,.834375,.5171875,.55625,.5,.334375,.60625,.334375,.60625],avg:.5408552631578947},RedHatText:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2328125,.2203125,.35625,.6890625,.55,.7390625,.6703125,.2140625,.4015625,.4015625,.4546875,.53125,.2203125,.45625,.2203125,.515625,.6609375,.3078125,.5484375,.5875,.61875,.5703125,.6203125,.559375,.6140625,.6203125,.2203125,.2234375,.465625,.534375,.465625,.5125,.7671875,.6609375,.6703125,.7265625,.728125,.6203125,.6109375,.8,.73125,.253125,.6,.6125,.6078125,.8625,.7390625,.8109375,.6546875,.809375,.6484375,.6234375,.6171875,.7125,.6609375,.8984375,.6546875,.646875,.60625,.3625,.5203125,.3625,.540625,.4609375,.5234375,.5265625,.584375,.509375,.5828125,.5578125,.3703125,.5828125,.553125,.2234375,.24375,.4890625,.2234375,.8453125,.553125,.58125,.584375,.5828125,.353125,.453125,.378125,.553125,.5015625,.6984375,.4875,.4984375,.459375,.3953125,.2921875,.3953125,.58125],avg:.5341940789473685},"sans-serif":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.303125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.5859375,.584375,.5859375,.55625,1.015625,.6671875,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.35625,.278125,.478125,.55625,.334375,.55625,.55625,.5,.55625,.55625,.278125,.55625,.55625,.2234375,.2421875,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.334375,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.35625,.2609375,.3546875,.590625],avg:.5293256578947368},Seravek:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.296875,.4171875,.6734375,.4953125,.9125,.740625,.2421875,.3375,.3375,.409375,.60625,.2609375,.35625,.25625,.41875,.5921875,.3515625,.475,.4875,.5375,.509375,.5484375,.4546875,.5421875,.5484375,.25625,.2546875,.5875,.6171875,.5875,.4578125,.8140625,.6765625,.5703125,.6109375,.684375,.5109375,.4953125,.678125,.6859375,.2625,.2625,.5859375,.4734375,.846875,.709375,.740625,.509375,.740625,.584375,.5015625,.528125,.675,.5953125,.9453125,.596875,.540625,.540625,.359375,.4203125,.359375,.5109375,.421875,.4046875,.5015625,.5421875,.446875,.5453125,.484375,.38125,.5140625,.5546875,.240625,.2640625,.490625,.2765625,.8625,.5546875,.546875,.5453125,.5453125,.3625,.41875,.3890625,.5453125,.4703125,.7546875,.4921875,.4609375,.453125,.4015625,.2640625,.4015625,.58125],avg:.5044078947368421},serif:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.278125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.7234375,.6109375,.890625,.7234375,.7234375,.55625,.7234375,.6671875,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.340625,.334375,.4703125,.5,.3453125,.4453125,.5,.4453125,.5,.4453125,.3828125,.5,.5,.278125,.3359375,.5,.278125,.778125,.5,.5,.5,.5,.3375,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5126315789473684},Tahoma:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3109375,.3328125,.4015625,.728125,.546875,.9765625,.70625,.2109375,.3828125,.3828125,.546875,.728125,.303125,.3640625,.303125,.3953125,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.3546875,.3546875,.728125,.728125,.728125,.475,.909375,.6109375,.590625,.6015625,.6796875,.5625,.521875,.66875,.6765625,.3734375,.4171875,.6046875,.4984375,.771875,.66875,.7078125,.5515625,.7078125,.6375,.5578125,.5875,.65625,.60625,.903125,.58125,.5890625,.559375,.3828125,.39375,.3828125,.728125,.5625,.546875,.525,.553125,.4625,.553125,.5265625,.3546875,.553125,.5578125,.2296875,.328125,.51875,.2296875,.840625,.5578125,.54375,.553125,.553125,.3609375,.446875,.3359375,.5578125,.4984375,.7421875,.4953125,.4984375,.4453125,.48125,.3828125,.48125,.728125],avg:.5384374999999998},"Times New Roman":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.73125,.6109375,.890625,.7375,.7234375,.55625,.7234375,.6765625,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.28125,.334375,.4703125,.51875,.334375,.4453125,.503125,.4453125,.503125,.4453125,.4359375,.5,.5,.278125,.35625,.50625,.278125,.778125,.5,.5,.5046875,.5,.340625,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5134375},"Trebuchet MS":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3015625,.3671875,.325,.53125,.525,.6015625,.70625,.1609375,.3671875,.3671875,.3671875,.525,.3671875,.3671875,.3671875,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.3671875,.3671875,.525,.525,.525,.3671875,.771875,.590625,.5671875,.5984375,.6140625,.5359375,.525,.6765625,.6546875,.2796875,.4765625,.5765625,.5078125,.7109375,.6390625,.675,.5578125,.7421875,.5828125,.48125,.58125,.6484375,.5875,.853125,.5578125,.5703125,.5515625,.3671875,.3578125,.3671875,.525,.53125,.525,.5265625,.5578125,.4953125,.5578125,.546875,.375,.503125,.546875,.2859375,.3671875,.5046875,.2953125,.83125,.546875,.5375,.5578125,.5578125,.3890625,.40625,.396875,.546875,.490625,.7453125,.5015625,.49375,.475,.3671875,.525,.3671875,.525],avg:.5085197368421052},Verdana:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.35,.39375,.459375,.81875,.6359375,1.0765625,.759375,.26875,.4546875,.4546875,.6359375,.81875,.3640625,.4546875,.3640625,.4703125,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.4546875,.4546875,.81875,.81875,.81875,.546875,1,.684375,.6859375,.6984375,.771875,.6328125,.575,.7765625,.7515625,.421875,.4546875,.69375,.5578125,.84375,.7484375,.7875,.603125,.7875,.7,.684375,.6171875,.7328125,.684375,.9890625,.6859375,.615625,.6859375,.4546875,.46875,.4546875,.81875,.6421875,.6359375,.6015625,.6234375,.521875,.6234375,.596875,.384375,.6234375,.6328125,.275,.3765625,.5921875,.275,.9734375,.6328125,.6078125,.6234375,.6234375,.43125,.521875,.3953125,.6328125,.5921875,.81875,.5921875,.5921875,.5265625,.6359375,.4546875,.6359375,.81875],avg:.6171875000000003}},Q={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},J={em:1,ex:.5},ee={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},te=function(e){return Array.isArray(e)?e:e.toString().split(/\r\n|\r|\n/g)},ne=function(e,t,n){var r=function(e){return e*Math.PI/180}(n);return Math.abs(Math.cos(r)*e)+Math.abs(Math.sin(r)*t)},re=function(e,t){var n=e.match(/[a-zA-Z%]+/)&&e.match(/[a-zA-Z%]+/)[0],r=e.match(/[0-9.,]+/);return n?Q.hasOwnProperty(n)?r*Q[n]:J.hasOwnProperty(n)?(t?r*t:r*ee.fontSize)*J[n]:r:r||0},oe=function(e,t){var n=Array.isArray(e)?e[t]:e,r=c()({},n,ee);return x()({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:re(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:re(String(r.fontSize))})},ie=function(e,t){if(void 0===e||""===e||null===e)return 0;var n,r=te(e).map((function(e,n){var r,o,i=e.toString().length,a=oe(t,n),u=a.fontSize,c=a.letterSpacing,l=(r=a.fontFamily,o=r.split(",").map((function(e){return e.replace(/'|"/g,"")})).find((function(e){return G[e]}))||"Helvetica",G[o]);return e.toString().split("").map((function(e){return e.charCodeAt(0)<l.widths.length?l.widths[e.charCodeAt(0)]:l.avg})).reduce((function(e,t){return t+e}),0)*u+c*Math.max(i-1,0)}));return Math.max.apply(Math,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(n=r)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}())},ae=function(e,t){return function(e,t){var n=Array.isArray(t)?t[0]&&t[0].angle:t&&t.angle,r=function(e,t){return void 0===e||""===e||null===e?0:te(e).reduce((function(e,n,r){var o=oe(t,r),i=n.toString().match(/[(A-Z)(0-9)]/)?1.15*o.fontSize:o.fontSize;return e+o.lineHeight*i}),0)}(e,t),o=ie(e,t);return{width:n?ne(o,r,n):o,height:1.05*(n?ne(r,o,n):r)}}(e,t)};var ue=d().createContext({});ue.displayName="PortalContext";const ce=ue;function le(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function se(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var de=function(e){function t(){return le(this,t),se(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}},{key:"componentDidUpdate",value:function(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}},{key:"componentWillUnmount",value:function(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}},{key:"renderPortal",value:function(e){return this.renderInPlace?e:(this.element=e,null)}},{key:"render",value:function(){var e=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,t=this.props.groupComponent,n=e&&e.props||{},r=n.groupComponent?{groupComponent:t,standalone:!1}:{},o=c()(r,n,T(this.props,["children","groupComponent"])),i=e&&d().cloneElement(e,o);return this.renderPortal(i)}}])&&fe(n.prototype,r),t}(d().Component);Object.defineProperty(de,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryPortal"}),Object.defineProperty(de,"role",{configurable:!0,enumerable:!0,writable:!0,value:"portal"}),Object.defineProperty(de,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:f().node,groupComponent:f().element}}),Object.defineProperty(de,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:d().createElement("g",null)}}),Object.defineProperty(de,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:ce});var he=r(2654),pe=r.n(he),ye=r(6786),ge=r.n(ye),ve=function(e){var t=function(t,n,r,o){var i=n[r];if(null==i)return t?new Error("Required `".concat(r,"` was not specified in `").concat(o,"`.")):null;for(var a=arguments.length,u=new Array(a>4?a-4:0),c=4;c<a;c++)u[c-4]=arguments[c];return e.apply(void 0,[n,r,o].concat(u))},n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},be=function(){return null},me=function(){},xe=function(e){return void 0===e?me:null===e?be:e.constructor},we=function(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).slice(8,-1)};function Oe(e){return ve((function(t,n,r){for(var o=arguments.length,i=new Array(o>3?o-3:0),a=3;a<o;a++)i[a-3]=arguments[a];return e.reduce((function(e,o){return e||o.apply(void 0,[t,n,r].concat(i))}),void 0)}))}var Me=ve((function(e,t,n){var r=e[t];if("number"!=typeof r||r<0)return new Error("`".concat(t,"` in `").concat(n,"` must be a non-negative number."))})),ke=ve((function(e,t,n){var r=e[t];if("number"!=typeof r||r%1!=0)return new Error("`".concat(t,"` in `").concat(n,"` must be an integer."))})),Te=(ve((function(e,t,n){var r=e[t];if("number"!=typeof r||r<=0)return new Error("`".concat(t,"` in `").concat(n,"` must be a number greater than zero."))})),ve((function(e,t,n){var r=e[t];if(!Array.isArray(r)||2!==r.length||r[1]===r[0])return new Error("`".concat(t,"` in `").concat(n,"` must be an array of two unique numeric values."))}))),Ae=ve((function(e,t,n){var r;if(r=e[t],!(a()(r)?a()(r.copy)&&a()(r.domain)&&a()(r.range):"string"==typeof r&&-1!==["linear","time","log","sqrt"].indexOf(r)))return new Error("`".concat(t,"` in `").concat(n,"` must be a d3 scale."))})),_e=(ve((function(e,t,n){var r=e[t];if(!Array.isArray(r))return new Error("`".concat(t,"` in `").concat(n,"` must be an array."));if(!(r.length<2)){var o=xe(r[0]),i=ge()(r,(function(e){return o!==xe(e)}));if(i){var a=we(r[0]),u=we(i);return new Error("Expected `".concat(t,"` in `").concat(n,"` to be a ")+"homogeneous array, but found types `".concat(a,"` and ")+"`".concat(u,"`."))}}})),ve((function(e,t){if(e[t]&&Array.isArray(e[t])&&e[t].length!==e.data.length)return new Error("Length of data and ".concat(t," arrays must match."))})),ve((function(e,t,n){if(e[t]&&!pe()(e[t]))return new Error("`".concat(t,"` in `").concat(n,"` must be a regular expression."))}))),je=r(6834),Se=r.n(je);function Pe(){return Pe=Object.assign||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},Pe.apply(this,arguments)}var Ce=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(n.length>0)return n.reduce((function(e,t){return[e,Ce(t)].join(" ")}),Ce(e)).trim();if(null==e||"string"==typeof e)return e;var o=[];for(var i in e)if(e.hasOwnProperty(i)){var a=e[i];o.push("".concat(i,"(").concat(a,")"))}return o.join(" ").trim()};var Ee=function(e){var t=e.children,n=e.title,r=e.desc,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]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","title","desc"]);return d().createElement("text",o,n&&d().createElement("title",null,n),r&&d().createElement("desc",null,r),t)};Ee.propTypes={children:f().node,desc:f().string,title:f().string};const De=Ee;function Le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ne(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Ue={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},Ie=function(e,t){return e.datum?_(e,e.datum)[t]:0},ze=function(e){var t=e&&e.fontSize;if("number"==typeof t)return t;if(null==t)return Ue.fontSize;if("string"==typeof t){var n=+t.replace("px","");return isNaN(n)?Ue.fontSize:n}return Ue.fontSize},Fe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(e)?e[t]||e[0]:e},Re=function(e){var t=e.backgroundStyle,n=e.backgroundPadding;return Array.isArray(t)&&!Se()(t)||Array.isArray(n)&&!Se()(n)},We=function(e,t){var n=e.direction,r=e.textAnchor,o=e.x,i=e.dx;if("rtl"===n)return o-t;switch(r){case"middle":return Math.round(o-t/2);case"end":return Math.round(o-t);default:return o+(i||0)}},He=function(e,t){var n=e.verticalAnchor,r=e.y,o=e.originalDy,i=r+(void 0===o?0:o);switch(n){case"start":return Math.floor(i);case"end":return Math.ceil(i-t);default:return Math.floor(i-t/2)}},qe=function(e,t){return Re(e)?function(e,t){var n=e.dy,r=e.dx,o=e.transform,i=e.backgroundStyle,a=e.backgroundPadding,u=e.backgroundComponent,l=e.inline,f=e.y,s=t.map((function(e,o){var i=Fe(t,o-1),u=e.textSize,c=e.fontSize*e.lineHeight,s=Math.ceil(c),d=Fe(a,o),h=Fe(a,o-1),p=l&&r||0,y=o&&!l?i.fontSize*i.lineHeight+h.top+h.bottom:n-.5*c-(e.fontSize-e.capHeight);return{textHeight:s,labelSize:u,heightWithPadding:s+d.top+d.bottom,widthWithPadding:u.width+d.left+d.right+p,y:f,fontSize:e.fontSize,dy:y}}));return s.map((function(t,n){var r=We(e,t.labelSize.width),h=s.slice(0,n+1).reduce((function(e,t){return e+t.dy}),f),p=Fe(a,n),y=t.heightWithPadding,g=l?function(e,t,n){var r=e.textAnchor,o=t.map((function(e){return e.widthWithPadding})),i=-o.reduce((function(e,t){return e+t}),0)/2;switch(r){case"start":return o.reduce((function(e,t,r){return r<n?e+t:e}),0);case"end":return o.reduce((function(e,t,r){return r>n?e-t:e}),0);default:return o.reduce((function(e,t,r){return r===n?e+t/2:e+(r<n?t:0)}),i)}}(e,s,n)+r-p.left:r,v=l?He(e,y)-p.top:h,b={key:"tspan-background-".concat(n),height:y,style:Fe(i,n),width:t.widthWithPadding,transform:o,x:g-p.left,y:v};return d().cloneElement(u,c()({},u.props,b))}))}(e,t):function(e,t){var n=e.dx,r=void 0===n?0:n,o=e.transform,i=e.backgroundComponent,a=e.backgroundStyle,u=e.inline,l=e.backgroundPadding,f=e.capHeight,s=t.map((function(e){return e.textSize})),h=u?Math.max.apply(Math,Ne(s.map((function(e){return e.height})))):s.reduce((function(e,n,r){var o=r?0:f/2;return e+n.height*(t[r].lineHeight-o)}),0),p=u?s.reduce((function(e,t,n){var o=n?r:0;return e+t.width+o}),0):Math.max.apply(Math,Ne(s.map((function(e){return e.width})))),y=We(e,p),g=He(e,h),v={key:"background",height:h+l.top+l.bottom,style:a,transform:o,width:p+l.left+l.right,x:u?y-l.left:y+r-l.left,y:g};return d().cloneElement(i,c()({},i.props,v))}(e,t)},Ye=function(e,t,n){var r=t.inline,o=Fe(e,n);return n&&!r?function(e,t,n){var r=Fe(e,t),o=Fe(e,t-1),i=o.fontSize*o.lineHeight,a=r.fontSize*r.lineHeight,u=o.fontSize-o.capHeight,c=r.fontSize-r.capHeight,l=i-o.fontSize/2+r.fontSize/2-i/2+a/2-c/2+u/2;return Re(n)?l+r.backgroundPadding.top+o.backgroundPadding.bottom:l}(e,n,t):r?0===n?o.backgroundPadding.top:void 0:o.backgroundPadding.top},Ve=function(e){var t=S(e.ariaLabel,e),n=Fe(e.style),r=function(e){var t=S(e.lineHeight,e);return Array.isArray(t)&&Se()(t)?[1]:t}(e),o=e.direction?S(e.direction,e):"inherit",i=e.textAnchor?S(e.textAnchor,e):n.textAnchor||"start",a=e.verticalAnchor?S(e.verticalAnchor,e):n.verticalAnchor||"middle",u=e.dx?S(e.dx,e):0,c=function(e,t,n){var r=e.dy?S(e.dy,e):0,o=e.inline?1:e.text.length,i=S(e.capHeight,e),a=t?S(t,e):"middle",u=Ne(Array(o).keys()).map((function(t){return Fe(e.style,t).fontSize})),c=Ne(Array(o).keys()).map((function(e){return Fe(n,e)}));if("start"===a)return r+(i/2+c[0]/2)*u[0];if(e.inline)return"end"===a?r+(i/2-c[0]/2)*u[0]:r+i/2*u[0];if(1===o)return"end"===a?r+(i/2+(.5-o)*c[0])*u[0]:r+(i/2+(.5-o/2)*c[0])*u[0];var l=Ne(Array(o).keys()).reduce((function(e,t){return e+(i/2+(.5-o)*c[t])*u[t]/o}),0);return"end"===a?r+l:r+l/2+i/2*c[o-1]*u[o-1]}(e,a,r),l=void 0!==e.x?e.x:Ie(e,"x"),f=void 0!==e.y?e.y:Ie(e,"y"),s=function(e,t,n){var r=e.polar,o=Fe(e.style),i=r?function(e,t){var n=e.labelPlacement,r=e.datum;if(!n||"vertical"===n)return 0;var o=E(e,r),i=0;return 0===o||180===o?i=90:o>0&&o<180?i=90-o:o>180&&o<360&&(i=270-o),i+(o>90&&o<180||o>270?1:-1)*("perpendicular"===n?0:90)}(e):0,a=void 0===o.angle?S(e.angle,e):o.angle,u=void 0===a?i:a,c=e.transform||o.transform,l=c&&S(c,e);return l||u?Ce(l,u&&{rotate:[u,t,n]}):void 0}(e,l,f);return x()({},e,{ariaLabel:t,lineHeight:r,direction:o,textAnchor:i,verticalAnchor:a,dx:u,dy:c,originalDy:e.dy,transform:s,x:l,y:f})},Be=function(e){if(null===(e=function(e){var t=function(e,t){if(null!=e){if(Array.isArray(e))return e.map((function(e){return S(e,t)}));var n=S(e,t);if(null!=n)return Array.isArray(n)?n:"".concat(n).split("\n")}}(e.text,e),n=function(e,t){if(t.disableInlineStyles){var n=P(e,t);return{fontSize:ze(n)}}var r=function(e){var n=P(e=e?c()({},e,Ue):Ue,t);return x()({},n,{fontSize:ze(n)})};return Array.isArray(e)&&!Se()(e)?e.map((function(e){return r(e)})):r(e)}(e.style,x()({},e,{text:t})),r=function(e,t){if(e)return Array.isArray(e)&&!Se()(e)?e.map((function(e){return P(e,t)})):P(e,t)}(e.backgroundStyle,x()({},e,{text:t,style:n})),o=function(e){return e.backgroundPadding&&Array.isArray(e.backgroundPadding)?e.backgroundPadding.map((function(t){return j({padding:S(t,e)})})):j({padding:S(e.backgroundPadding,e)})}(x()({},e,{text:t,style:n,backgroundStyle:r})),i=S(e.id,e);return x()({},e,{backgroundStyle:r,backgroundPadding:o,style:n,text:t,id:i})}(e)).text||void 0===e.text)return null;var t=Ve(e),n=t.text,r=t.style,o=t.capHeight,i=t.backgroundPadding,a=t.lineHeight,u=n.map((function(e,t){var n=Fe(r,t),u=re("".concat(o,"em"),n.fontSize),c=Fe(a,t);return{style:n,fontSize:n.fontSize||Ue.fontSize,capHeight:u,text:e,textSize:ae(e,n),lineHeight:c,backgroundPadding:Fe(i,t)}})),l=function(e,t){var n=e.ariaLabel,r=e.inline,o=e.className,i=e.title,a=e.events,u=e.direction,c=e.text,l=e.textAnchor,f=e.dx,s=e.dy,h=e.transform,p=e.x,y=e.y,g=e.desc,v=e.id,b=e.tabIndex,m=e.tspanComponent,x=e.textComponent,w=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Le(e,t,n[t])}))}return e}({"aria-label":n,key:"text"},a,{direction:u,dx:f,x:p,y:y+s,transform:h,className:o,title:i,desc:S(g,e),tabIndex:S(b,e),id:v}),O=c.map((function(n,o){var i=t[o].style,a={key:"".concat(v,"-key-").concat(o),x:r?void 0:p,dx:r?f+t[o].backgroundPadding.left:f,dy:Ye(t,e,o),textAnchor:i.textAnchor||l,style:i,children:n};return d().cloneElement(m,a)}));return d().cloneElement(x,w,O)}(t,u);if(e.backgroundStyle){var f=[qe(t,u),l],s=d().cloneElement(e.groupComponent,{},f);return e.renderInPortal?d().createElement(de,null,s):s}return e.renderInPortal?d().createElement(de,null,l):l};Be.displayName="VictoryLabel",Be.role="label",Be.defaultStyles=Ue,Be.propTypes={active:f().bool,angle:f().oneOfType([f().string,f().number,f().func]),ariaLabel:f().oneOfType([f().string,f().func]),backgroundComponent:f().element,backgroundPadding:f().oneOfType([f().number,f().object,f().array]),backgroundStyle:f().oneOfType([f().object,f().array]),capHeight:f().oneOfType([f().string,Me,f().func]),className:f().string,data:f().array,datum:f().any,desc:f().oneOfType([f().string,f().func]),direction:f().oneOf(["rtl","ltr","inherit"]),dx:f().oneOfType([f().number,f().string,f().func]),dy:f().oneOfType([f().number,f().string,f().func]),events:f().object,groupComponent:f().element,id:f().oneOfType([f().number,f().string,f().func]),index:f().oneOfType([f().number,f().string]),inline:f().bool,labelPlacement:f().oneOf(["parallel","perpendicular","vertical"]),lineHeight:f().oneOfType([f().string,Me,f().func,f().array]),origin:f().shape({x:Me,y:Me}),polar:f().bool,renderInPortal:f().bool,scale:f().shape({x:Ae,y:Ae}),style:f().oneOfType([f().object,f().array]),tabIndex:f().oneOfType([f().number,f().func]),text:f().oneOfType([f().string,f().number,f().func,f().array]),textAnchor:f().oneOfType([f().oneOf(["start","middle","end","inherit"]),f().func]),textComponent:f().element,title:f().string,transform:f().oneOfType([f().string,f().object,f().func]),tspanComponent:f().element,verticalAnchor:f().oneOfType([f().oneOf(["start","middle","end"]),f().func]),x:f().oneOfType([f().number,f().string]),y:f().oneOfType([f().number,f().string])},Be.defaultProps={backgroundComponent:d().createElement((function(e){var t=e.desc,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]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["desc"]);return t?d().createElement("rect",Pe({vectorEffect:"non-scaling-stroke"},n),d().createElement("desc",null,t)):d().createElement("rect",Pe({vectorEffect:"non-scaling-stroke"},n))}),null),groupComponent:d().createElement("g",null),direction:"inherit",textComponent:d().createElement(De,null),tspanComponent:d().createElement((function(e){return d().createElement("tspan",e)}),null),capHeight:.71,lineHeight:1};const Ke=Be;f().oneOfType([f().arrayOf(f().string),f().shape({x:f().arrayOf(f().string),y:f().arrayOf(f().string)})]),f().oneOfType([f().array,f().object]),f().element,f().bool,f().element,f().oneOfType([f().func,f().array]),f().oneOfType([f().func,Oe([ke,Me]),f().string,f().arrayOf(f().string)]),f().oneOf(["ascending","descending"]),f().shape({parent:f().object,data:f().object,labels:f().object}),f().oneOfType([f().func,Oe([ke,Me]),f().string,f().arrayOf(f().string)]),f().oneOfType([f().func,Oe([ke,Me]),f().string,f().arrayOf(f().string)]),f().oneOfType([f().func,Oe([ke,Me]),f().string,f().arrayOf(f().string)]),f().oneOfType([f().bool,f().object]),f().element,f().oneOfType([Te,f().shape({x:Te,y:Te})]),f().oneOfType([f().number,f().instanceOf(Date),f().shape({x:f().oneOfType([f().number,f().instanceOf(Date)]),y:f().oneOfType([f().number,f().instanceOf(Date)])})]),f().oneOfType([f().number,f().instanceOf(Date),f().shape({x:f().oneOfType([f().number,f().instanceOf(Date)]),y:f().oneOfType([f().number,f().instanceOf(Date)])})]),f().oneOfType([f().shape({x:f().oneOfType([f().number,f().arrayOf(f().number)]),y:f().oneOfType([f().number,f().arrayOf(f().number)])}),f().number,f().arrayOf(f().number)]),f().oneOfType([f().func,Oe([ke,Me]),f().string]),f().arrayOf(f().shape({target:f().oneOf(["data","labels","parent"]),eventKey:f().oneOfType([f().array,Oe([ke,Me]),f().string]),eventHandlers:f().object})),f().arrayOf(f().shape({callback:f().function,childName:f().oneOfType([f().string,f().array]),eventKey:f().oneOfType([f().array,Oe([ke,Me]),f().string]),mutation:f().function,target:f().oneOfType([f().string,f().array])})),f().element,f().string,f().shape({x:f().number,y:f().number}),f().oneOfType([f().number,f().shape({top:f().number,bottom:f().number,left:f().number,right:f().number})]),f().bool,f().oneOfType([Te,f().shape({x:Te,y:Te})]),f().oneOfType([Ae,f().shape({x:Ae,y:Ae})]),f().shape({events:f().array,getEventState:f().func}),f().oneOfType([f().bool,f().shape({x:f().oneOfType([f().bool]),y:f().oneOfType([f().bool])})]),f().bool,f().object;var Ze={active:f().bool,ariaLabel:f().oneOfType([f().string,f().func]),className:f().string,clipPath:f().string,data:f().oneOfType([f().array,f().object]),desc:f().oneOfType([f().string,f().func]),disableInlineStyles:f().bool,events:f().object,id:f().oneOfType([f().number,f().string,f().func]),index:f().oneOfType([f().number,f().string]),origin:f().shape({x:f().number,y:f().number}),polar:f().bool,role:f().string,scale:f().oneOfType([Ae,f().shape({x:Ae,y:Ae})]),shapeRendering:f().string,style:f().object,tabIndex:f().oneOfType([f().number,f().func]),transform:f().string};function $e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Xe(e,t,n[t])}))}return e}function Xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ge=function(e){var t=e.orientation||"top";return"left"===t||"right"===t?function(e){var t=e.pointerWidth,n=e.cornerRadius,r=e.orientation,o=e.width,i=e.height,a=e.center,u="left"===r?1:-1,c=e.x+(e.dx||0),l=e.y+(e.dy||0),f=g()(a)&&a.x,s=g()(a)&&a.y,d=f-u*(o/2),h=f+u*(o/2),p=s+i/2,y=s-i/2,v=u*(c-d)>0?0:e.pointerLength,b="left"===r?"0 0 0":"0 0 1",m="".concat(n," ").concat(n," ").concat(b);return"M ".concat(d,", ").concat(s-t/2,"\n L ").concat(v?c:d,", ").concat(v?l:s+t/2,"\n L ").concat(d,", ").concat(s+t/2,"\n L ").concat(d,", ").concat(p-n,"\n A ").concat(m," ").concat(d+u*n,", ").concat(p,"\n L ").concat(h-u*n,", ").concat(p,"\n A ").concat(m," ").concat(h,", ").concat(p-n,"\n L ").concat(h,", ").concat(y+n,"\n A ").concat(m," ").concat(h-u*n,", ").concat(y,"\n L ").concat(d+u*n,", ").concat(y,"\n A ").concat(m," ").concat(d,", ").concat(y+n,"\n z")}(e):function(e){var t=e.pointerWidth,n=e.cornerRadius,r=e.orientation,o=e.width,i=e.height,a=e.center,u="bottom"===r?1:-1,c=e.x+(e.dx||0),l=e.y+(e.dy||0),f=g()(a)&&a.x,s=g()(a)&&a.y,d=s+u*(i/2),h=s-u*(i/2),p=f+o/2,y=f-o/2,v=u*(l-d)<0?0:e.pointerLength,b="bottom"===r?"0 0 0":"0 0 1",m="".concat(n," ").concat(n," ").concat(b);return"M ".concat(f-t/2,", ").concat(d,"\n L ").concat(v?c:f+t/2,", ").concat(v?l:d,"\n L ").concat(f+t/2,", ").concat(d,"\n L ").concat(p-n,", ").concat(d,"\n A ").concat(m," ").concat(p,", ").concat(d-u*n,"\n L ").concat(p,", ").concat(h+u*n,"\n A ").concat(m," ").concat(p-n,", ").concat(h,"\n L ").concat(y+n,", ").concat(h,"\n A ").concat(m," ").concat(y,", ").concat(h+u*n,"\n L ").concat(y,", ").concat(d-u*n,"\n A ").concat(m," ").concat(y+n,", ").concat(d,"\n z")}(e)},Qe=function(e){return e=function(e){var t=S(e.id,e),n=P(e.style,e);return x()({},e,{id:t,style:n})}(e),d().cloneElement(e.pathComponent,$e({},e.events,{style:e.style,d:Ge(e),className:e.className,shapeRendering:e.shapeRendering,role:e.role,transform:e.transform,clipPath:e.clipPath}))};Qe.propTypes=$e({},Ze,{center:f().shape({x:f().number,y:f().number}),cornerRadius:f().number,datum:f().object,dx:f().number,dy:f().number,height:f().number,orientation:f().oneOf(["top","bottom","left","right"]),pathComponent:f().element,pointerLength:f().number,pointerWidth:f().number,width:f().number,x:f().number,y:f().number}),Qe.defaultProps={pathComponent:d().createElement((function(e){var t=e.desc,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]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["desc"]);return t?d().createElement("path",n,d().createElement("desc",null,t)):d().createElement("path",n)}),null),role:"presentation",shapeRendering:"auto"};const Je=Qe;function et(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var tt={cornerRadius:5,pointerLength:10,pointerWidth:10},nt=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).id=void 0===e.id?b()("tooltip-"):e.id,n}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,r=[{key:"getDefaultOrientation",value:function(e){var t=e.datum,n=e.horizontal;if(e.polar)return this.getPolarOrientation(e,t);var r=n?"right":"top",o=n?"left":"bottom";return t&&t.y<0?o:r}},{key:"getPolarOrientation",value:function(e,t){var n=E(e,t),r=e.labelPlacement||"vertical";return" vertical"===r?this.getVerticalOrientations(n):"parallel"===r?n<90||n>270?"right":"left":n>180?"bottom":"top"}},{key:"getVerticalOrientations",value:function(e){return e<45||e>315?"right":e>=45&&e<=135?"top":e>135&&e<225?"left":"bottom"}},{key:"getStyles",value:function(e){var t=e.theme||X.grayscale,n=t&&t.tooltip&&t.tooltip.style?t.tooltip.style:{},r=Array.isArray(e.style)?e.style.map((function(e){return c()({},e,n)})):c()({},e.style,n),o=t&&t.tooltip&&t.tooltip.flyoutStyle?t.tooltip.flyoutStyle:{},i=e.flyoutStyle?c()({},e.flyoutStyle,o):o,a=Array.isArray(r)?r.map((function(t){return P(t,e)})):P(r,e);return{style:a,flyoutStyle:P(i,x()({},e,{style:a}))}}},{key:"getEvaluatedProps",value:function(e){var t=e.cornerRadius,n=e.centerOffset,r=e.dx,o=e.dy,i=S(e.active,e),a=S(e.text,x()({},e,{active:i})),u=this.getStyles(x()({},e,{active:i,text:a})),c=u.style,l=u.flyoutStyle,f=S(e.orientation,x()({},e,{active:i,text:a,style:c,flyoutStyle:l}))||this.getDefaultOrientation(e),s=j({padding:S(e.flyoutPadding,x()({},e,{active:i,text:a,style:c,flyoutStyle:l,orientation:f}))||this.getLabelPadding(c)}),d=S(e.pointerWidth,x()({},e,{active:i,text:a,style:c,flyoutStyle:l,orientation:f})),h=S(e.pointerLength,x()({},e,{active:i,text:a,style:c,flyoutStyle:l,orientation:f})),p=ae(a,c),y=this.getDimensions(x()({},e,{style:c,flyoutStyle:l,active:i,text:a,orientation:f,flyoutPadding:s,pointerWidth:d,pointerLength:h}),p),v=y.flyoutHeight,b=y.flyoutWidth,m=x()({},e,{active:i,text:a,style:c,flyoutStyle:l,orientation:f,flyoutHeight:v,flyoutWidth:b,flyoutPadding:s,pointerWidth:d,pointerLength:h}),w=g()(n)&&void 0!==n.x?S(n.x,m):0,O=g()(n)&&void 0!==n.y?S(n.y,m):0;return x()({},m,{centerOffset:{x:w,y:O},dx:void 0!==r?S(r,m):0,dy:void 0!==o?S(o,m):0,cornerRadius:S(t,m)})}},{key:"getCalculatedValues",value:function(e){var t=e.style,n=e.text,r=e.flyoutStyle,o={height:e.flyoutHeight,width:e.flyoutWidth};return{style:t,flyoutStyle:r,labelSize:ae(n,t),flyoutDimensions:o,flyoutCenter:this.getFlyoutCenter(e,o),transform:this.getTransform(e)}}},{key:"getTransform",value:function(e){var t=e.x,n=e.y,r=(e.style||{}).angle||e.angle||this.getDefaultAngle(e);return r?"rotate(".concat(r," ").concat(t," ").concat(n,")"):void 0}},{key:"getDefaultAngle",value:function(e){var t=e.polar,n=e.labelPlacement,r=e.orientation,o=e.datum;if(!t||!n||"vertical"===n)return 0;var i,a=E(e,o);return 0===a||180===a?i="top"===r&&180===a?270:90:a>0&&a<180?i=90-a:a>180&&a<360&&(i=270-a),i+(a>90&&a<180||a>270?1:-1)*("perpendicular"===n?0:90)}},{key:"constrainTooltip",value:function(e,t,n){var r=e.x,o=e.y,i=n.width,a=n.height,u=[0,t.width],c=[0,t.height],l=[r-i/2,r+i/2],f=[o-a/2,o+a/2],s=[l[0]<u[0]?u[0]-l[0]:0,l[1]>u[1]?l[1]-u[1]:0],d=[f[0]<c[0]?c[0]-f[0]:0,f[1]>c[1]?f[1]-c[1]:0];return{x:Math.round(r+s[0]-s[1]),y:Math.round(o+d[0]-d[1])}}},{key:"getFlyoutCenter",value:function(e,t){var n=e.x,r=e.y,o=e.dx,i=e.dy,a=e.pointerLength,u=e.orientation,c=e.constrainToVisibleArea,l=e.centerOffset,f=t.height,s=t.width,d="left"===u?-1:1,h="bottom"===u?-1:1,p={x:"left"===u||"right"===u?n+d*(a+s/2+d*o):n+o,y:"top"===u||"bottom"===u?r-h*(a+f/2-h*i):r+i},y=g()(e.center)&&void 0!==e.center.x?e.center.x:p.x,v=g()(e.center)&&void 0!==e.center.y?e.center.y:p.y,b={x:y+l.x,y:v+l.y};return c?this.constrainTooltip(b,e,t):b}},{key:"getLabelPadding",value:function(e){if(!e)return 0;var t,n=Array.isArray(e)?e.map((function(e){return e.padding})):[e.padding];return Math.max.apply(Math,(t=n,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(t)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()).concat([0]))}},{key:"getDimensions",value:function(e,t){var n,r,o,i,a=e.orientation,u=e.pointerLength,c=e.pointerWidth,l=e.flyoutHeight,f=e.flyoutWidth,s=e.flyoutPadding,d=S(e.cornerRadius,e);return{flyoutHeight:l?S(l,e):(o=t.height+s.top+s.bottom,i="top"===a||"bottom"===a?2*d:2*d+c,Math.max(i,o)),flyoutWidth:f?S(f,e):(n=t.width+s.left+s.right,r="left"===a||"right"===a?2*d+u:2*d,Math.max(r,n))}}},{key:"getLabelProps",value:function(e,t){var n=t.flyoutCenter,r=t.style,o=t.labelSize,i=t.dy,a=void 0===i?0:i,u=t.dx,l=void 0===u?0:u,f=e.text,s=e.datum,d=e.activePoints,h=e.labelComponent,p=e.index,y=e.flyoutPadding,g=(Array.isArray(r)&&r.length?r[0].textAnchor:r.textAnchor)||"middle";return c()({},h.props,{key:"".concat(this.id,"-label-").concat(p),text:f,datum:s,activePoints:d,textAnchor:g,dy:a,dx:l,style:r,x:function(){if(!g||"middle"===g)return n.x;var e="end"===g?-1:1;return n.x-e*(o.width/2)}()+(y.left-y.right)/2,y:n.y+(y.top-y.bottom)/2,verticalAnchor:"middle",angle:r.angle})}},{key:"getPointerOrientation",value:function(e,t,n){var r=t.y+n.height/2,o=t.y-n.height/2,i=t.x-n.width/2,a=t.x+n.width/2,u=[{side:"top",val:o>e.y?o-e.y:-1},{side:"bottom",val:r<e.y?e.y-r:-1},{side:"right",val:a<e.x?e.x-a:-1},{side:"left",val:i>e.x?i-e.x:-1}];return p()(u,"val","desc")[0].side}},{key:"getFlyoutProps",value:function(e,t){var n=t.flyoutDimensions,r=t.flyoutStyle,o=t.flyoutCenter,i=e.x,a=e.y,u=e.dx,l=e.dy,f=e.datum,s=e.activePoints,d=e.index,h=e.pointerLength,p=e.pointerWidth,y=e.cornerRadius,g=e.events,v=e.flyoutComponent,b=S(e.pointerOrientation,e);return c()({},v.props,{x:i,y:a,dx:u,dy:l,datum:f,activePoints:s,index:d,pointerLength:h,pointerWidth:p,cornerRadius:y,events:g,orientation:b||this.getPointerOrientation({x:i,y:a},o,n),key:"".concat(this.id,"-tooltip-").concat(d),width:n.width,height:n.height,style:r,center:o})}},{key:"renderTooltip",value:function(e){var t=S(e.active,e),n=e.renderInPortal;if(!t)return n?d().createElement(de,null,null):null;var r=this.getEvaluatedProps(e),o=r.flyoutComponent,i=r.labelComponent,a=r.groupComponent,u=this.getCalculatedValues(r),c=[d().cloneElement(o,this.getFlyoutProps(r,u)),d().cloneElement(i,this.getLabelProps(r,u))],l=d().cloneElement(a,{role:"presentation",transform:u.transform},c);return n?d().createElement(de,null,l):l}},{key:"render",value:function(){var e=function(e,t,n){var r=T(e.theme&&e.theme[n]?e.theme[n]:{},["style"]),o=function(e){if(void 0!==e.horizontal||!e.children)return e.horizontal;var t=function(e){return e.reduce((function(e,n){var r=n.props||{};return e||r.horizontal||!r.children?e=e||r.horizontal:t(d().Children.toArray(r.children))}),!1)};return t(d().Children.toArray(e.children))}(e),i=void 0===o?{}:{horizontal:o};return c()(i,e,r,t)}(this.props,tt,"tooltip");return this.renderTooltip(e)}}],r&&et(n.prototype,r),t}(d().Component);Object.defineProperty(nt,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryTooltip"}),Object.defineProperty(nt,"role",{configurable:!0,enumerable:!0,writable:!0,value:"tooltip"}),Object.defineProperty(nt,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{activateData:f().bool,active:f().oneOfType([f().bool,f().func]),activePoints:f().array,angle:f().number,center:f().shape({x:Me,y:Me}),centerOffset:f().shape({x:f().oneOfType([f().number,f().func]),y:f().oneOfType([f().number,f().func])}),constrainToVisibleArea:f().bool,cornerRadius:f().oneOfType([Me,f().func]),data:f().array,datum:f().object,dx:f().oneOfType([f().number,f().func]),dy:f().oneOfType([f().number,f().func]),events:f().object,flyoutComponent:f().element,flyoutHeight:f().oneOfType([Me,f().func]),flyoutPadding:f().oneOfType([f().func,f().number,f().shape({top:f().number,bottom:f().number,left:f().number,right:f().number})]),flyoutStyle:f().object,flyoutWidth:f().oneOfType([Me,f().func]),groupComponent:f().element,height:f().number,horizontal:f().bool,id:f().oneOfType([f().number,f().string]),index:f().oneOfType([f().number,f().string]),labelComponent:f().element,orientation:f().oneOfType([f().oneOf(["top","bottom","left","right"]),f().func]),pointerLength:f().oneOfType([Me,f().func]),pointerOrientation:f().oneOfType([f().oneOf(["top","bottom","left","right"]),f().func]),pointerWidth:f().oneOfType([Me,f().func]),polar:f().bool,renderInPortal:f().bool,scale:f().shape({x:Ae,y:Ae}),style:f().oneOfType([f().object,f().array]),text:f().oneOfType([f().string,f().number,f().func,f().array]),theme:f().object,width:f().number,x:f().number,y:f().number}}),Object.defineProperty(nt,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{active:!1,renderInPortal:!0,labelComponent:d().createElement(Ke,null),flyoutComponent:d().createElement(Je,null),groupComponent:d().createElement("g",null)}}),Object.defineProperty(nt,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.activateData?[{target:"labels",mutation:function(){return{active:!0}}},{target:"data",mutation:function(){return{active:!0}}}]:[{target:"labels",mutation:function(){return{active:!0}}}],n=e.activateData?[{target:"labels",mutation:function(){return{active:void 0}}},{target:"data",mutation:function(){return{active:void 0}}}]:[{target:"labels",mutation:function(){return{active:void 0}}}];return[{target:"data",eventHandlers:{onMouseOver:function(){return t},onFocus:function(){return t},onTouchStart:function(){return t},onMouseOut:function(){return n},onBlur:function(){return n},onTouchEnd:function(){return n}}}]}});var rt=r(5973),ot=r.n(rt);function it(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function at(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var ut=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?at(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).map={},n.index=1,n.portalUpdate=n.portalUpdate.bind(at(n)),n.portalRegister=n.portalRegister.bind(at(n)),n.portalDeregister=n.portalDeregister.bind(at(n)),n}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"portalRegister",value:function(){return++this.index}},{key:"portalUpdate",value:function(e,t){this.map[e]=t,this.forceUpdate()}},{key:"portalDeregister",value:function(e){delete this.map[e],this.forceUpdate()}},{key:"getChildren",value:function(){var e=this;return O()(this.map).map((function(t){var n=e.map[t];return n?d().cloneElement(n,{key:t}):n}))}},{key:"render",value:function(){return d().createElement("svg",this.props,this.getChildren())}}])&&it(n.prototype,r),t}(d().Component);Object.defineProperty(ut,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"Portal"}),Object.defineProperty(ut,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:f().string,height:Me,style:f().object,viewBox:f().string,width:Me}});var ct,lt,ft=0,st=0,dt=0,ht=0,pt=0,yt=0,gt="object"==typeof performance&&performance.now?performance:Date,vt="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function bt(){return pt||(vt(mt),pt=gt.now()+yt)}function mt(){pt=0}function xt(){this._call=this._time=this._next=null}function wt(e,t,n){var r=new xt;return r.restart(e,t,n),r}function Ot(){pt=(ht=gt.now())+yt,ft=st=0;try{!function(){bt(),++ft;for(var e,t=ct;t;)(e=pt-t._time)>=0&&t._call.call(null,e),t=t._next;--ft}()}finally{ft=0,function(){for(var e,t,n=ct,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:ct=t);lt=e,kt(r)}(),pt=0}}function Mt(){var e=gt.now(),t=e-ht;t>1e3&&(yt-=t,ht=e)}function kt(e){ft||(st&&(st=clearTimeout(st)),e-pt>24?(e<1/0&&(st=setTimeout(Ot,e-gt.now()-yt)),dt&&(dt=clearInterval(dt))):(dt||(ht=gt.now(),dt=setInterval(Mt,1e3)),ft=1,vt(Ot)))}function Tt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}xt.prototype=wt.prototype={constructor:xt,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?bt():+n)+(null==t?0:+t),this._next||lt===this||(lt?lt._next=this:ct=this,lt=this),this._call=e,this._time=n,kt()},stop:function(){this._call&&(this._call=null,this._time=1/0,kt())}};var At=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.shouldAnimate=!0,this.subscribers=[],this.loop=this.loop.bind(this),this.timer=null,this.activeSubscriptions=0}var t,n;return t=e,(n=[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"loop",value:function(){this.subscribers.forEach((function(e){e.callback(bt()-e.startTime,e.duration)}))}},{key:"start",value:function(){this.timer||(this.timer=wt(this.loop))}},{key:"stop",value:function(){this.timer&&(this.timer.stop(),this.timer=null)}},{key:"subscribe",value:function(e,t){t=this.shouldAnimate?t:0;var n=this.subscribers.push({startTime:bt(),callback:e,duration:t});return this.activeSubscriptions++,this.start(),n}},{key:"unsubscribe",value:function(e){null!==e&&this.subscribers[e-1]&&(delete this.subscribers[e-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}])&&Tt(t.prototype,n),e}(),_t=d().createContext({transitionTimer:new At,animationTimer:new At});_t.displayName="TimerContext";const jt=_t;function St(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pt={startsWith:["data-","aria-"],exactMatch:[]},Ct=function(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){St(e,t,n[t])}))}return e}({},e);return Object.fromEntries(Object.entries(t).filter((function(e){var t,n;return function(e){return!(!function(e){var t=!1;return Pt.startsWith.forEach((function(n){new RegExp("\\b(".concat(n,")(\\w|-)+"),"g").test(e)&&(t=!0)})),t}(e)&&!function(e){return Pt.exactMatch.includes(e)}(e))}((t=e,n=1,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}())[0])})))};function Et(){return Et=Object.assign||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},Et.apply(this,arguments)}function Dt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Lt(e,t,n[t])}))}return e}function Lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Ut=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).containerId=ot()(e)&&void 0!==e.containerId?e.containerId:b()("victory-container-"),n.savePortalRef=function(e){return n.portalRef=e,e},n.portalUpdate=function(e,t){return n.portalRef.portalUpdate(e,t)},n.portalRegister=function(){return n.portalRef.portalRegister()},n.portalDeregister=function(e){return n.portalRef.portalDeregister(e)},n.saveContainerRef=e&&a()(e.containerRef)?e.containerRef:function(e){return n.containerRef=e,e},n.shouldHandleWheel=e&&e.events&&e.events.onWheel,n.shouldHandleWheel&&(n.handleWheel=function(e){return e.preventDefault()}),n}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}},{key:"componentWillUnmount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}},{key:"getIdForElement",value:function(e){return"".concat(this.containerId,"-").concat(e)}},{key:"getChildren",value:function(e){return e.children}},{key:"getOUIAProps",value:function(e){var t=e.ouiaId,n=e.ouiaSafe,r=e.ouiaType;return Dt({},t&&{"data-ouia-component-id":t},r&&{"data-ouia-component-type":r},void 0!==n&&{"data-ouia-safe":n})}},{key:"renderContainer",value:function(e,t,n){var r=e.title,o=e.desc,i=e.portalComponent,a=e.className,u=e.width,l=e.height,f=e.portalZIndex,s=e.responsive,h=this.getChildren(e),p=s?{width:"100%",height:"100%"}:{width:u,height:l},y=x()({pointerEvents:"none",touchAction:"none",position:"relative"},p),g=x()({zIndex:f,position:"absolute",top:0,left:0},p),v=x()({pointerEvents:"all"},p),b=x()({overflow:"visible"},p),m={width:u,height:l,viewBox:t.viewBox,preserveAspectRatio:t.preserveAspectRatio,style:b};return d().createElement(ce.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},d().createElement("div",Et({style:c()({},n,y),className:a,ref:this.saveContainerRef},this.getOUIAProps(e)),d().createElement("svg",Et({},t,{style:v}),r?d().createElement("title",{id:this.getIdForElement("title")},r):null,o?d().createElement("desc",{id:this.getIdForElement("desc")},o):null,h),d().createElement("div",{style:g},d().cloneElement(i,Dt({},m,{ref:this.savePortalRef})))))}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r=e.responsive,o=e.events,i=e.title,a=e.desc,u=e.tabIndex,c=e.preserveAspectRatio,l=e.role,f=r?this.props.style:T(this.props.style,["height","width"]),s=Ct(this.props),d=x()(Dt({width:t,height:n,tabIndex:u,role:l,"aria-labelledby":[i&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[a&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:r?"0 0 ".concat(t," ").concat(n):void 0,preserveAspectRatio:r?c:void 0},s),o);return this.renderContainer(this.props,d,f)}}])&&Nt(n.prototype,r),t}(d().Component);Object.defineProperty(Ut,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryContainer"}),Object.defineProperty(Ut,"role",{configurable:!0,enumerable:!0,writable:!0,value:"container"}),Object.defineProperty(Ut,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{"aria-describedby":f().string,"aria-labelledby":f().string,children:f().oneOfType([f().arrayOf(f().node),f().node]),className:f().string,containerId:f().oneOfType([f().number,f().string]),containerRef:f().func,desc:f().string,events:f().object,height:Me,name:f().string,origin:f().shape({x:Me,y:Me}),ouiaId:f().oneOfType([f().number,f().string]),ouiaSafe:f().bool,ouiaType:f().string,polar:f().bool,portalComponent:f().element,portalZIndex:ke,preserveAspectRatio:f().string,responsive:f().bool,role:f().string,style:f().object,tabIndex:f().number,theme:f().object,title:f().string,width:Me}}),Object.defineProperty(Ut,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{className:"VictoryContainer",portalComponent:d().createElement(ut,null),portalZIndex:99,responsive:!0,role:"img"}}),Object.defineProperty(Ut,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:jt});var It=r(4461),zt=r.n(It),Ft=r(6901),Rt=r.n(Ft),Wt=r(3259),Ht=r.n(Wt);function qt(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Yt(e){return Array.isArray(e)&&e.some((function(e){return e instanceof Date}))}function Vt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=e.concat(n);return Yt(o)?new Date(Math.min.apply(Math,qt(o))):Math.min.apply(Math,qt(o))}r(5492),r(2720);var Bt=r(9793),Kt=r.n(Bt),Zt=r(2972),$t=r.n(Zt),Xt=r(9717),Gt=r.n(Xt),Qt=r(1815),Jt=r.n(Qt);function en(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function tn(e){var t;return 1===e.length&&(t=e,e=function(e,n){return en(t(e),n)}),{left:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r<o;){var i=r+o>>>1;e(t[i],n)<0?r=i+1:o=i}return r},right:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r<o;){var i=r+o>>>1;e(t[i],n)>0?o=i:r=i+1}return r}}}var nn=tn(en),rn=nn.right;nn.left;const on=rn;var an=Array.prototype,un=(an.slice,an.map,Math.sqrt(50)),cn=Math.sqrt(10),ln=Math.sqrt(2);function fn(e,t,n){var r,o,i,a,u=-1;if(n=+n,(e=+e)==(t=+t)&&n>0)return[e];if((r=t<e)&&(o=e,e=t,t=o),0===(a=sn(e,t,n))||!isFinite(a))return[];if(a>0)for(e=Math.ceil(e/a),t=Math.floor(t/a),i=new Array(o=Math.ceil(t-e+1));++u<o;)i[u]=(e+u)*a;else for(e=Math.floor(e*a),t=Math.ceil(t*a),i=new Array(o=Math.ceil(e-t+1));++u<o;)i[u]=(e-u)/a;return r&&i.reverse(),i}function sn(e,t,n){var r=(t-e)/Math.max(0,n),o=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,o);return o>=0?(i>=un?10:i>=cn?5:i>=ln?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=un?10:i>=cn?5:i>=ln?2:1)}function dn(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=un?o*=10:i>=cn?o*=5:i>=ln&&(o*=2),t<e?-o:o}function hn(e){return null===e?NaN:+e}function pn(e,t,n){if(null==n&&(n=hn),r=e.length){if((t=+t)<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,i=Math.floor(o),a=+n(e[i],i,e);return a+(+n(e[i+1],i+1,e)-a)*(o-i)}}var yn="$";function gn(){}function vn(e,t){var n=new gn;if(e instanceof gn)e.each((function(e,t){n.set(t,e)}));else if(Array.isArray(e)){var r,o=-1,i=e.length;if(null==t)for(;++o<i;)n.set(o,e[o]);else for(;++o<i;)n.set(t(r=e[o],o,e),r)}else if(e)for(var a in e)n.set(a,e[a]);return n}gn.prototype=vn.prototype={constructor:gn,has:function(e){return yn+e in this},get:function(e){return this[yn+e]},set:function(e,t){return this[yn+e]=t,this},remove:function(e){var t=yn+e;return t in this&&delete this[t]},clear:function(){for(var e in this)e[0]===yn&&delete this[e]},keys:function(){var e=[];for(var t in this)t[0]===yn&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)t[0]===yn&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)t[0]===yn&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)t[0]===yn&&++e;return e},empty:function(){for(var e in this)if(e[0]===yn)return!1;return!0},each:function(e){for(var t in this)t[0]===yn&&e(this[t],t.slice(1),this)}};const bn=vn;function mn(){}var xn=bn.prototype;mn.prototype=function(e,t){var n=new mn;if(e instanceof mn)e.each((function(e){n.add(e)}));else if(e){var r=-1,o=e.length;if(null==t)for(;++r<o;)n.add(e[r]);else for(;++r<o;)n.add(t(e[r],r,e))}return n}.prototype={constructor:mn,has:xn.has,add:function(e){return this[yn+(e+="")]=e,this},remove:xn.remove,clear:xn.clear,values:xn.keys,size:xn.size,empty:xn.empty,each:xn.each};var wn=Array.prototype,On=wn.map,Mn=wn.slice,kn={name:"implicit"};function Tn(e){var t=bn(),n=[],r=kn;function o(o){var i=o+"",a=t.get(i);if(!a){if(r!==kn)return r;t.set(i,a=n.push(o))}return e[(a-1)%e.length]}return e=null==e?[]:Mn.call(e),o.domain=function(e){if(!arguments.length)return n.slice();n=[],t=bn();for(var r,i,a=-1,u=e.length;++a<u;)t.has(i=(r=e[a])+"")||t.set(i,n.push(r));return o},o.range=function(t){return arguments.length?(e=Mn.call(t),o):e.slice()},o.unknown=function(e){return arguments.length?(r=e,o):r},o.copy=function(){return Tn().domain(n).range(e).unknown(r)},o}function An(){var e,t,n=Tn().unknown(void 0),r=n.domain,o=n.range,i=[0,1],a=!1,u=0,c=0,l=.5;function f(){var n=r().length,f=i[1]<i[0],s=i[f-0],d=i[1-f];e=(d-s)/Math.max(1,n-u+2*c),a&&(e=Math.floor(e)),s+=(d-s-e*(n-u))*l,t=e*(1-u),a&&(s=Math.round(s),t=Math.round(t));var h=function(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(o);++r<o;)i[r]=e+r*n;return i}(n).map((function(t){return s+e*t}));return o(f?h.reverse():h)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),f()):r()},n.range=function(e){return arguments.length?(i=[+e[0],+e[1]],f()):i.slice()},n.rangeRound=function(e){return i=[+e[0],+e[1]],a=!0,f()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(a=!!e,f()):a},n.padding=function(e){return arguments.length?(u=c=Math.max(0,Math.min(1,e)),f()):u},n.paddingInner=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),f()):u},n.paddingOuter=function(e){return arguments.length?(c=Math.max(0,Math.min(1,e)),f()):c},n.align=function(e){return arguments.length?(l=Math.max(0,Math.min(1,e)),f()):l},n.copy=function(){return An().domain(r()).range(i).round(a).paddingInner(u).paddingOuter(c).align(l)},f()}function _n(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return _n(t())},e}function jn(){return _n(An().paddingInner(1))}function Sn(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Pn(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Cn(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function En(){}var Dn=.7,Ln=1/Dn,Nn="\\s*([+-]?\\d+)\\s*",Un="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",In="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",zn=/^#([0-9a-f]{3,8})$/,Fn=new RegExp("^rgb\\("+[Nn,Nn,Nn]+"\\)$"),Rn=new RegExp("^rgb\\("+[In,In,In]+"\\)$"),Wn=new RegExp("^rgba\\("+[Nn,Nn,Nn,Un]+"\\)$"),Hn=new RegExp("^rgba\\("+[In,In,In,Un]+"\\)$"),qn=new RegExp("^hsl\\("+[Un,In,In]+"\\)$"),Yn=new RegExp("^hsla\\("+[Un,In,In,Un]+"\\)$"),Vn={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 Bn(){return this.rgb().formatHex()}function Kn(){return this.rgb().formatRgb()}function Zn(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=zn.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?$n(t):3===n?new Jn(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Xn(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Xn(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=Fn.exec(e))?new Jn(t[1],t[2],t[3],1):(t=Rn.exec(e))?new Jn(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Wn.exec(e))?Xn(t[1],t[2],t[3],t[4]):(t=Hn.exec(e))?Xn(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=qn.exec(e))?rr(t[1],t[2]/100,t[3]/100,1):(t=Yn.exec(e))?rr(t[1],t[2]/100,t[3]/100,t[4]):Vn.hasOwnProperty(e)?$n(Vn[e]):"transparent"===e?new Jn(NaN,NaN,NaN,0):null}function $n(e){return new Jn(e>>16&255,e>>8&255,255&e,1)}function Xn(e,t,n,r){return r<=0&&(e=t=n=NaN),new Jn(e,t,n,r)}function Gn(e){return e instanceof En||(e=Zn(e)),e?new Jn((e=e.rgb()).r,e.g,e.b,e.opacity):new Jn}function Qn(e,t,n,r){return 1===arguments.length?Gn(e):new Jn(e,t,n,null==r?1:r)}function Jn(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function er(){return"#"+nr(this.r)+nr(this.g)+nr(this.b)}function tr(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function nr(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function rr(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new ir(e,t,n,r)}function or(e){if(e instanceof ir)return new ir(e.h,e.s,e.l,e.opacity);if(e instanceof En||(e=Zn(e)),!e)return new ir;if(e instanceof ir)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,u=i-o,c=(i+o)/2;return u?(a=t===i?(n-r)/u+6*(n<r):n===i?(r-t)/u+2:(t-n)/u+4,u/=c<.5?i+o:2-i-o,a*=60):u=c>0&&c<1?0:a,new ir(a,u,c,e.opacity)}function ir(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function ar(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 ur(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}function cr(e){return function(){return e}}function lr(e,t){return function(n){return e+n*t}}function fr(e,t){var n=t-e;return n?lr(e,n):cr(isNaN(e)?t:e)}Pn(En,Zn,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Bn,formatHex:Bn,formatHsl:function(){return or(this).formatHsl()},formatRgb:Kn,toString:Kn}),Pn(Jn,Qn,Cn(En,{brighter:function(e){return e=null==e?Ln:Math.pow(Ln,e),new Jn(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?Dn:Math.pow(Dn,e),new Jn(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){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:er,formatHex:er,formatRgb:tr,toString:tr})),Pn(ir,(function(e,t,n,r){return 1===arguments.length?or(e):new ir(e,t,n,null==r?1:r)}),Cn(En,{brighter:function(e){return e=null==e?Ln:Math.pow(Ln,e),new ir(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Dn:Math.pow(Dn,e),new ir(this.h,this.s,this.l*e,this.opacity)},rgb:function(){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 Jn(ar(e>=240?e-240:e+120,o,r),ar(e,o,r),ar(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));const sr=function e(t){var n=function(e){return 1==(e=+e)?fr: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):cr(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=Qn(e)).r,(t=Qn(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=fr(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 dr(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),u=new Array(o);for(n=0;n<o;++n)r=Qn(t[n]),i[n]=r.r||0,a[n]=r.g||0,u[n]=r.b||0;return i=e(i),a=e(a),u=e(u),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=u(e),r+""}}}function hr(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]=xr(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 pr(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function yr(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]=xr(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}}dr((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,u=r<t-1?e[r+2]:2*i-o;return ur((n-r/t)*t,a,o,i,u)}})),dr((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],u=e[(r+2)%t];return ur((n-r/t)*t,o,i,a,u)}}));var gr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,vr=new RegExp(gr.source,"g");function br(e,t){var n,r,o,i=gr.lastIndex=vr.lastIndex=0,a=-1,u=[],c=[];for(e+="",t+="";(n=gr.exec(e))&&(r=vr.exec(t));)(o=r.index)>i&&(o=t.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,c.push({i:a,x:Sn(n,r)})),i=vr.lastIndex;return i<t.length&&(o=t.slice(i),u[a]?u[a]+=o:u[++a]=o),u.length<2?c[0]?function(e){return function(t){return e(t)+""}}(c[0].x):function(e){return function(){return e}}(t):(t=c.length,function(e){for(var n,r=0;r<t;++r)u[(n=c[r]).i]=n.x(e);return u.join("")})}function mr(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 xr(e,t){var n,r,o=typeof t;return null==t||"boolean"===o?cr(t):("number"===o?Sn:"string"===o?(n=Zn(t))?(t=n,sr):br:t instanceof Zn?sr:t instanceof Date?pr:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?hr:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?yr:Sn:mr))(e,t)}function wr(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function Or(e){return function(){return e}}function Mr(e){return+e}var kr=[0,1];function Tr(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:Or(t)}function Ar(e,t,n,r){var o=e[0],i=e[1],a=t[0],u=t[1];return i<o?(o=n(i,o),a=r(u,a)):(o=n(o,i),a=r(a,u)),function(e){return a(o(e))}}function _r(e,t,n,r){var o=Math.min(e.length,t.length)-1,i=new Array(o),a=new Array(o),u=-1;for(e[o]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++u<o;)i[u]=n(e[u],e[u+1]),a[u]=r(t[u],t[u+1]);return function(t){var n=on(e,t,1,o)-1;return a[n](i[n](t))}}function jr(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp())}function Sr(e,t){var n,r,o,i=kr,a=kr,u=xr,c=!1;function l(){return n=Math.min(i.length,a.length)>2?_r:Ar,r=o=null,f}function f(t){return(r||(r=n(i,a,c?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}(e):e,u)))(+t)}return f.invert=function(e){return(o||(o=n(a,i,Tr,c?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}(t):t)))(+e)},f.domain=function(e){return arguments.length?(i=On.call(e,Mr),l()):i.slice()},f.range=function(e){return arguments.length?(a=Mn.call(e),l()):a.slice()},f.rangeRound=function(e){return a=Mn.call(e),u=wr,l()},f.clamp=function(e){return arguments.length?(c=!!e,l()):c},f.interpolate=function(e){return arguments.length?(u=e,l()):u},l()}var Pr,Cr=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Er(e){if(!(t=Cr.exec(e)))throw new Error("invalid format: "+e);var t;return new Dr({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 Dr(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 Lr(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 Nr(e){return(e=Lr(Math.abs(e)))?e[1]:NaN}function Ur(e,t){var n=Lr(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")}Er.prototype=Dr.prototype,Dr.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 Ir={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Ur(100*e,t)},r:Ur,s:function(e,t){var n=Lr(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(Pr=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")+Lr(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function zr(e){return e}var Fr,Rr,Wr,Hr=Array.prototype.map,qr=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Yr(e){var t=e.domain;return e.ticks=function(e){var n=t();return fn(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){return function(e,t,n){var r,o=e[0],i=e[e.length-1],a=dn(o,i,null==t?10:t);switch((n=Er(null==n?",f":n)).type){case"s":var u=Math.max(Math.abs(o),Math.abs(i));return null!=n.precision||isNaN(r=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Nr(t)/3)))-Nr(Math.abs(e)))}(a,u))||(n.precision=r),Wr(n,u);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(r=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Nr(t)-Nr(e))+1}(a,Math.max(Math.abs(o),Math.abs(i))))||(n.precision=r-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(r=function(e){return Math.max(0,-Nr(Math.abs(e)))}(a))||(n.precision=r-2*("%"===n.type))}return Rr(n)}(t(),e,n)},e.nice=function(n){null==n&&(n=10);var r,o=t(),i=0,a=o.length-1,u=o[i],c=o[a];return c<u&&(r=u,u=c,c=r,r=i,i=a,a=r),(r=sn(u,c,n))>0?r=sn(u=Math.floor(u/r)*r,c=Math.ceil(c/r)*r,n):r<0&&(r=sn(u=Math.ceil(u*r)/r,c=Math.floor(c*r)/r,n)),r>0?(o[i]=Math.floor(u/r)*r,o[a]=Math.ceil(c/r)*r,t(o)):r<0&&(o[i]=Math.ceil(u*r)/r,o[a]=Math.floor(c*r)/r,t(o)),e},e}function Vr(){var e=Sr(Tr,Sn);return e.copy=function(){return jr(e,Vr())},Yr(e)}function Br(){var e=[0,1];function t(e){return+e}return t.invert=t,t.domain=t.range=function(n){return arguments.length?(e=On.call(n,Mr),t):e.slice()},t.copy=function(){return Br().domain(e)},Yr(t)}function Kr(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}function Zr(e,t){return(t=Math.log(t/e))?function(n){return Math.log(n/e)/t}:Or(t)}function $r(e,t){return e<0?function(n){return-Math.pow(-t,n)*Math.pow(-e,1-n)}:function(n){return Math.pow(t,n)*Math.pow(e,1-n)}}function Xr(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Gr(e){return 10===e?Xr:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}function Qr(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}function Jr(e){return function(t){return-e(-t)}}function eo(){var e=Sr(Zr,$r).domain([1,10]),t=e.domain,n=10,r=Qr(10),o=Gr(10);function i(){return r=Qr(n),o=Gr(n),t()[0]<0&&(r=Jr(r),o=Jr(o)),e}return e.base=function(e){return arguments.length?(n=+e,i()):n},e.domain=function(e){return arguments.length?(t(e),i()):t()},e.ticks=function(e){var i,a=t(),u=a[0],c=a[a.length-1];(i=c<u)&&(d=u,u=c,c=d);var l,f,s,d=r(u),h=r(c),p=null==e?10:+e,y=[];if(!(n%1)&&h-d<p){if(d=Math.round(d)-1,h=Math.round(h)+1,u>0){for(;d<h;++d)for(f=1,l=o(d);f<n;++f)if(!((s=l*f)<u)){if(s>c)break;y.push(s)}}else for(;d<h;++d)for(f=n-1,l=o(d);f>=1;--f)if(!((s=l*f)<u)){if(s>c)break;y.push(s)}}else y=fn(d,h,Math.min(h-d,p)).map(o);return i?y.reverse():y},e.tickFormat=function(t,i){if(null==i&&(i=10===n?".0e":","),"function"!=typeof i&&(i=Rr(i)),t===1/0)return i;null==t&&(t=10);var a=Math.max(1,n*t/e.ticks().length);return function(e){var t=e/o(Math.round(r(e)));return t*n<n-.5&&(t*=n),t<=a?i(e):""}},e.nice=function(){return t(Kr(t(),{floor:function(e){return o(Math.floor(r(e)))},ceil:function(e){return o(Math.ceil(r(e)))}}))},e.copy=function(){return jr(e,eo().base(n))},e}function to(e,t){return e<0?-Math.pow(-e,t):Math.pow(e,t)}function no(){var e=1,t=Sr((function(t,n){return(n=to(n,e)-(t=to(t,e)))?function(r){return(to(r,e)-t)/n}:Or(n)}),(function(t,n){return n=to(n,e)-(t=to(t,e)),function(r){return to(t+n*r,1/e)}})),n=t.domain;return t.exponent=function(t){return arguments.length?(e=+t,n(n())):e},t.copy=function(){return jr(t,no().exponent(e))},Yr(t)}function ro(){return no().exponent(.5)}function oo(){var e=[],t=[],n=[];function r(){var r=0,i=Math.max(1,t.length);for(n=new Array(i-1);++r<i;)n[r-1]=pn(e,r/i);return o}function o(e){if(!isNaN(e=+e))return t[on(n,e)]}return o.invertExtent=function(r){var o=t.indexOf(r);return o<0?[NaN,NaN]:[o>0?n[o-1]:e[0],o<n.length?n[o]:e[e.length-1]]},o.domain=function(t){if(!arguments.length)return e.slice();e=[];for(var n,o=0,i=t.length;o<i;++o)null==(n=t[o])||isNaN(n=+n)||e.push(n);return e.sort(en),r()},o.range=function(e){return arguments.length?(t=Mn.call(e),r()):t.slice()},o.quantiles=function(){return n.slice()},o.copy=function(){return oo().domain(e).range(t)},o}function io(){var e=0,t=1,n=1,r=[.5],o=[0,1];function i(e){if(e<=e)return o[on(r,e,0,n)]}function a(){var o=-1;for(r=new Array(n);++o<n;)r[o]=((o+1)*t-(o-n)*e)/(n+1);return i}return i.domain=function(n){return arguments.length?(e=+n[0],t=+n[1],a()):[e,t]},i.range=function(e){return arguments.length?(n=(o=Mn.call(e)).length-1,a()):o.slice()},i.invertExtent=function(i){var a=o.indexOf(i);return a<0?[NaN,NaN]:a<1?[e,r[0]]:a>=n?[r[n-1],t]:[r[a-1],r[a]]},i.copy=function(){return io().domain([e,t]).range(o)},Yr(i)}function ao(){var e=[.5],t=[0,1],n=1;function r(r){if(r<=r)return t[on(e,r,0,n)]}return r.domain=function(o){return arguments.length?(e=Mn.call(o),n=Math.min(e.length,t.length-1),r):e.slice()},r.range=function(o){return arguments.length?(t=Mn.call(o),n=Math.min(e.length,t.length-1),r):t.slice()},r.invertExtent=function(n){var r=t.indexOf(n);return[e[r-1],e[r]]},r.copy=function(){return ao().domain(e).range(t)},r}Fr=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?zr:(t=Hr.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,u=t[0],c=0;o>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),i.push(e.substring(o-=u,o+u)),!((c+=u+1)>r));)u=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+"",u=void 0===e.numerals?zr:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Hr.call(e.numerals,String)),c=void 0===e.percent?"%":e.percent+"",l=void 0===e.minus?"-":e.minus+"",f=void 0===e.nan?"NaN":e.nan+"";function s(e){var t=(e=Er(e)).fill,n=e.align,s=e.sign,d=e.symbol,h=e.zero,p=e.width,y=e.comma,g=e.precision,v=e.trim,b=e.type;"n"===b?(y=!0,b="g"):Ir[b]||(void 0===g&&(g=12),v=!0,b="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var m="$"===d?o:"#"===d&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",x="$"===d?i:/[%p]/.test(b)?c:"",w=Ir[b],O=/[defgprs%]/.test(b);function M(e){var o,i,c,d=m,M=x;if("c"===b)M=w(e)+M,e="";else{var k=(e=+e)<0||1/e<0;if(e=isNaN(e)?f:w(Math.abs(e),g),v&&(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&&"+"!==s&&(k=!1),d=(k?"("===s?s:l:"-"===s||"("===s?"":s)+d,M=("s"===b?qr[8+Pr/3]:"")+M+(k&&"("===s?")":""),O)for(o=-1,i=e.length;++o<i;)if(48>(c=e.charCodeAt(o))||c>57){M=(46===c?a+e.slice(o+1):e.slice(o))+M,e=e.slice(0,o);break}}y&&!h&&(e=r(e,1/0));var T=d.length+e.length+M.length,A=T<p?new Array(p-T+1).join(t):"";switch(y&&h&&(e=r(A+e,A.length?p-M.length:1/0),A=""),n){case"<":e=d+e+M+A;break;case"=":e=d+A+e+M;break;case"^":e=A.slice(0,T=A.length>>1)+d+e+M+A.slice(T);break;default:e=A+d+e+M}return u(e)}return g=void 0===g?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),M.toString=function(){return e+""},M}return{format:s,formatPrefix:function(e,t){var n=s(((e=Er(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Nr(t)/3))),o=Math.pow(10,-r),i=qr[8+r/3];return function(e){return n(o*e)+i}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Rr=Fr.format,Wr=Fr.formatPrefix;var uo=new Date,co=new Date;function lo(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=function(t){return e(t=new Date(+t)),t},o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},o.range=function(n,r,i){var a,u=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return u;do{u.push(a=new Date(+n)),t(n,i),e(n)}while(a<n&&n<r);return u},o.filter=function(n){return lo((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(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=function(t,r){return uo.setTime(+t),co.setTime(+r),e(uo),e(co),Math.floor(n(uo,co))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e==0}:function(t){return o.count(0,t)%e==0}):o:null}),o}var fo=lo((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));fo.every=function(e){return isFinite(e=Math.floor(e))&&e>0?lo((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};const so=fo;fo.range;var ho=lo((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}));const po=ho;ho.range;var yo=1e3,go=6e4,vo=36e5,bo=864e5,mo=6048e5;function xo(e){return lo((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*go)/mo}))}var wo=xo(0),Oo=xo(1),Mo=xo(2),ko=xo(3),To=xo(4),Ao=xo(5),_o=xo(6),jo=(wo.range,Oo.range,Mo.range,ko.range,To.range,Ao.range,_o.range,lo((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*go)/bo}),(function(e){return e.getDate()-1})));const So=jo;jo.range;var Po=lo((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*yo-e.getMinutes()*go)}),(function(e,t){e.setTime(+e+t*vo)}),(function(e,t){return(t-e)/vo}),(function(e){return e.getHours()}));const Co=Po;Po.range;var Eo=lo((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*yo)}),(function(e,t){e.setTime(+e+t*go)}),(function(e,t){return(t-e)/go}),(function(e){return e.getMinutes()}));const Do=Eo;Eo.range;var Lo=lo((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*yo)}),(function(e,t){return(t-e)/yo}),(function(e){return e.getUTCSeconds()}));const No=Lo;Lo.range;var Uo=lo((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));Uo.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?lo((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):Uo:null};const Io=Uo;function zo(e){return lo((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/mo}))}Uo.range;var Fo=zo(0),Ro=zo(1),Wo=zo(2),Ho=zo(3),qo=zo(4),Yo=zo(5),Vo=zo(6),Bo=(Fo.range,Ro.range,Wo.range,Ho.range,qo.range,Yo.range,Vo.range,lo((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/bo}),(function(e){return e.getUTCDate()-1})));const Ko=Bo;Bo.range;var Zo=lo((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));Zo.every=function(e){return isFinite(e=Math.floor(e))&&e>0?lo((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};const $o=Zo;function Xo(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 Go(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 Qo(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}Zo.range;var Jo,ei,ti,ni={"-":"",_:" ",0:"0"},ri=/^\s*\d+/,oi=/^%/,ii=/[\\^$*+?|[\]().{}]/g;function ai(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 ui(e){return e.replace(ii,"\\$&")}function ci(e){return new RegExp("^(?:"+e.map(ui).join("|")+")","i")}function li(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function fi(e,t,n){var r=ri.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function si(e,t,n){var r=ri.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function di(e,t,n){var r=ri.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function hi(e,t,n){var r=ri.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function pi(e,t,n){var r=ri.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function yi(e,t,n){var r=ri.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function gi(e,t,n){var r=ri.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function vi(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 bi(e,t,n){var r=ri.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function mi(e,t,n){var r=ri.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function xi(e,t,n){var r=ri.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function wi(e,t,n){var r=ri.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Oi(e,t,n){var r=ri.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Mi(e,t,n){var r=ri.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function ki(e,t,n){var r=ri.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Ti(e,t,n){var r=ri.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Ai(e,t,n){var r=ri.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function _i(e,t,n){var r=oi.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function ji(e,t,n){var r=ri.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Si(e,t,n){var r=ri.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Pi(e,t){return ai(e.getDate(),t,2)}function Ci(e,t){return ai(e.getHours(),t,2)}function Ei(e,t){return ai(e.getHours()%12||12,t,2)}function Di(e,t){return ai(1+So.count(so(e),e),t,3)}function Li(e,t){return ai(e.getMilliseconds(),t,3)}function Ni(e,t){return Li(e,t)+"000"}function Ui(e,t){return ai(e.getMonth()+1,t,2)}function Ii(e,t){return ai(e.getMinutes(),t,2)}function zi(e,t){return ai(e.getSeconds(),t,2)}function Fi(e){var t=e.getDay();return 0===t?7:t}function Ri(e,t){return ai(wo.count(so(e)-1,e),t,2)}function Wi(e){var t=e.getDay();return t>=4||0===t?To(e):To.ceil(e)}function Hi(e,t){return e=Wi(e),ai(To.count(so(e),e)+(4===so(e).getDay()),t,2)}function qi(e){return e.getDay()}function Yi(e,t){return ai(Oo.count(so(e)-1,e),t,2)}function Vi(e,t){return ai(e.getFullYear()%100,t,2)}function Bi(e,t){return ai((e=Wi(e)).getFullYear()%100,t,2)}function Ki(e,t){return ai(e.getFullYear()%1e4,t,4)}function Zi(e,t){var n=e.getDay();return ai((e=n>=4||0===n?To(e):To.ceil(e)).getFullYear()%1e4,t,4)}function $i(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ai(t/60|0,"0",2)+ai(t%60,"0",2)}function Xi(e,t){return ai(e.getUTCDate(),t,2)}function Gi(e,t){return ai(e.getUTCHours(),t,2)}function Qi(e,t){return ai(e.getUTCHours()%12||12,t,2)}function Ji(e,t){return ai(1+Ko.count($o(e),e),t,3)}function ea(e,t){return ai(e.getUTCMilliseconds(),t,3)}function ta(e,t){return ea(e,t)+"000"}function na(e,t){return ai(e.getUTCMonth()+1,t,2)}function ra(e,t){return ai(e.getUTCMinutes(),t,2)}function oa(e,t){return ai(e.getUTCSeconds(),t,2)}function ia(e){var t=e.getUTCDay();return 0===t?7:t}function aa(e,t){return ai(Fo.count($o(e)-1,e),t,2)}function ua(e){var t=e.getUTCDay();return t>=4||0===t?qo(e):qo.ceil(e)}function ca(e,t){return e=ua(e),ai(qo.count($o(e),e)+(4===$o(e).getUTCDay()),t,2)}function la(e){return e.getUTCDay()}function fa(e,t){return ai(Ro.count($o(e)-1,e),t,2)}function sa(e,t){return ai(e.getUTCFullYear()%100,t,2)}function da(e,t){return ai((e=ua(e)).getUTCFullYear()%100,t,2)}function ha(e,t){return ai(e.getUTCFullYear()%1e4,t,4)}function pa(e,t){var n=e.getUTCDay();return ai((e=n>=4||0===n?qo(e):qo.ceil(e)).getUTCFullYear()%1e4,t,4)}function ya(){return"+0000"}function ga(){return"%"}function va(e){return+e}function ba(e){return Math.floor(+e/1e3)}Jo=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,u=e.months,c=e.shortMonths,l=ci(o),f=li(o),s=ci(i),d=li(i),h=ci(a),p=li(a),y=ci(u),g=li(u),v=ci(c),b=li(c),m={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return u[e.getMonth()]},c:null,d:Pi,e:Pi,f:Ni,g:Bi,G:Zi,H:Ci,I:Ei,j:Di,L:Li,m:Ui,M:Ii,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:va,s:ba,S:zi,u:Fi,U:Ri,V:Hi,w:qi,W:Yi,x:null,X:null,y:Vi,Y:Ki,Z:$i,"%":ga},x={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return u[e.getUTCMonth()]},c:null,d:Xi,e:Xi,f:ta,g:da,G:pa,H:Gi,I:Qi,j:Ji,L:ea,m:na,M:ra,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:va,s:ba,S:oa,u:ia,U:aa,V:ca,w:la,W:fa,x:null,X:null,y:sa,Y:ha,Z:ya,"%":ga},w={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=s.exec(t.slice(n));return r?(e.w=d[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=b[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[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return k(e,t,n,r)},d:xi,e:xi,f:Ai,g:gi,G:yi,H:Oi,I:Oi,j:wi,L:Ti,m:mi,M:Mi,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=f[r[0].toLowerCase()],n+r[0].length):-1},q:bi,Q:ji,s:Si,S:ki,u:si,U:di,V:hi,w:fi,W:pi,x:function(e,t,r){return k(e,n,t,r)},X:function(e,t,n){return k(e,r,t,n)},y:gi,Y:yi,Z:vi,"%":_i};function O(e,t){return function(n){var r,o,i,a=[],u=-1,c=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++u<l;)37===e.charCodeAt(u)&&(a.push(e.slice(c,u)),null!=(o=ni[r=e.charAt(++u)])?r=e.charAt(++u):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),a.push(r),c=u+1);return a.push(e.slice(c,u)),a.join("")}}function M(e,t){return function(n){var r,o,i=Qo(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=Go(Qo(i.y,0,1))).getUTCDay(),r=o>4||0===o?Ro.ceil(r):Ro(r),r=Ko.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=Xo(Qo(i.y,0,1))).getDay(),r=o>4||0===o?Oo.ceil(r):Oo(r),r=So.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?Go(Qo(i.y,0,1)).getUTCDay():Xo(Qo(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,Go(i)):Xo(i)}}function k(e,t,n,r){for(var o,i,a=0,u=t.length,c=n.length;a<u;){if(r>=c)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=w[o in ni?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return m.x=O(n,m),m.X=O(r,m),m.c=O(t,m),x.x=O(n,x),x.X=O(r,x),x.c=O(t,x),{format:function(e){var t=O(e+="",m);return t.toString=function(){return e},t},parse:function(e){var t=M(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=O(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=M(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"]}),ei=Jo.format,Jo.parse,ti=Jo.utcFormat,Jo.utcParse;var ma=31536e6;function xa(e){return new Date(e)}function wa(e){return e instanceof Date?+e:+new Date(+e)}function Oa(e,t,n,r,o,i,a,u,c){var l=Sr(Tr,Sn),f=l.invert,s=l.domain,d=c(".%L"),h=c(":%S"),p=c("%I:%M"),y=c("%I %p"),g=c("%a %d"),v=c("%b %d"),b=c("%B"),m=c("%Y"),x=[[a,1,1e3],[a,5,5e3],[a,15,15e3],[a,30,3e4],[i,1,6e4],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,36e5],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[t,1,2592e6],[t,3,7776e6],[e,1,ma]];function w(u){return(a(u)<u?d:i(u)<u?h:o(u)<u?p:r(u)<u?y:t(u)<u?n(u)<u?g:v:e(u)<u?b:m)(u)}function O(t,n,r,o){if(null==t&&(t=10),"number"==typeof t){var i=Math.abs(r-n)/t,a=tn((function(e){return e[2]})).right(x,i);a===x.length?(o=dn(n/ma,r/ma,t),t=e):a?(o=(a=x[i/x[a-1][2]<x[a][2]/i?a-1:a])[1],t=a[0]):(o=Math.max(dn(n,r,t),1),t=u)}return null==o?t:t.every(o)}return l.invert=function(e){return new Date(f(e))},l.domain=function(e){return arguments.length?s(On.call(e,wa)):s().map(xa)},l.ticks=function(e,t){var n,r=s(),o=r[0],i=r[r.length-1],a=i<o;return a&&(n=o,o=i,i=n),n=(n=O(e,o,i,t))?n.range(o,i+1):[],a?n.reverse():n},l.tickFormat=function(e,t){return null==t?w:c(t)},l.nice=function(e,t){var n=s();return(e=O(e,n[0],n[n.length-1],t))?s(Kr(n,e)):l},l.copy=function(){return jr(l,Oa(e,t,n,r,o,i,a,u,c))},l}function Ma(){return Oa(so,po,wo,So,Co,Do,No,Io,ei).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}var ka=lo((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}));const Ta=ka;ka.range;var Aa=lo((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*vo)}),(function(e,t){return(t-e)/vo}),(function(e){return e.getUTCHours()}));const _a=Aa;Aa.range;var ja=lo((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*go)}),(function(e,t){return(t-e)/go}),(function(e){return e.getUTCMinutes()}));const Sa=ja;function Pa(){return Oa($o,Ta,Fo,Ko,_a,Sa,No,Io,ti).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}function Ca(e){return e.match(/.{6}/g).map((function(e){return"#"+e}))}ja.range;const Ea=Ca("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Da=Ca("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),La=Ca("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),Na=Ca("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5");var Ua=Math.PI/180,Ia=180/Math.PI,za=-.14861,Fa=1.78277,Ra=-.29227,Wa=-.90649,Ha=1.97294,qa=Ha*Wa,Ya=Ha*Fa,Va=Fa*Ra-Wa*za;function Ba(e){if(e instanceof Za)return new Za(e.h,e.s,e.l,e.opacity);e instanceof Jn||(e=Gn(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(Va*r+qa*t-Ya*n)/(Va+qa-Ya),i=r-o,a=(Ha*(n-o)-Ra*i)/Wa,u=Math.sqrt(a*a+i*i)/(Ha*o*(1-o)),c=u?Math.atan2(a,i)*Ia-120:NaN;return new Za(c<0?c+360:c,u,o,e.opacity)}function Ka(e,t,n,r){return 1===arguments.length?Ba(e):new Za(e,t,n,null==r?1:r)}function Za(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function $a(e){return function t(n){function r(t,r){var o=e((t=Ka(t)).h,(r=Ka(r)).h),i=fr(t.s,r.s),a=fr(t.l,r.l),u=fr(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=u(e),t+""}}return n=+n,r.gamma=t,r}(1)}Pn(Za,Ka,Cn(En,{brighter:function(e){return e=null==e?Ln:Math.pow(Ln,e),new Za(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Dn:Math.pow(Dn,e),new Za(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*Ua,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new Jn(255*(t+n*(za*r+Fa*o)),255*(t+n*(Ra*r+Wa*o)),255*(t+n*(Ha*r)),this.opacity)}})),$a((function(e,t){var n=t-e;return n?lr(e,n>180||n<-180?n-360*Math.round(n/360):n):cr(isNaN(e)?t:e)}));var Xa=$a(fr);const Ga=Xa(Ka(300,.5,0),Ka(-240,.5,1));var Qa=Xa(Ka(-100,.75,.35),Ka(80,1.5,.8)),Ja=Xa(Ka(260,.75,.35),Ka(80,1.5,.8)),eu=Ka();function tu(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return eu.h=360*e-100,eu.s=1.5-1.5*t,eu.l=.8-.9*t,eu+""}function nu(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}const ru=nu(Ca("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var ou=nu(Ca("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),iu=nu(Ca("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),au=nu(Ca("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function uu(e){var t=0,n=1,r=!1;function o(o){var i=(o-t)/(n-t);return e(r?Math.max(0,Math.min(1,i)):i)}return o.domain=function(e){return arguments.length?(t=+e[0],n=+e[1],o):[t,n]},o.clamp=function(e){return arguments.length?(r=!!e,o):r},o.interpolator=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return uu(e).domain([t,n]).clamp(r)},Yr(o)}var cu=["linear","time","log","sqrt"];function lu(e){var t;return"scale".concat((t=e)&&t[0].toUpperCase()+t.slice(1))}function fu(e){return"function"==typeof e?a()(e.copy)&&a()(e.domain)&&a()(e.range):"string"==typeof e&&Rt()(cu,e)}function su(e,t){return!(!e.scale||(e.scale.x||e.scale.y)&&!e.scale[t])}function du(e,t){if(!e.data)return"linear";var n=C(e[t]);return Yt(e.data.map((function(e){var r=g()(n(e))?n(e)[t]:n(e);return void 0!==r?r:e[t]})))?"time":"linear"}function hu(e,t){return function(e,t){if(su(e,t)){var n=e.scale[t]||e.scale;return"string"==typeof n?n:function(e){if("string"==typeof e)return e;var t=[{name:"log",method:"base"},{name:"ordinal",method:"unknown"},{name:"pow-sqrt",method:"exponent"},{name:"quantile",method:"quantiles"},{name:"quantize-threshold",method:"invertExtent"}].filter((function(t){return void 0!==e[t.method]}))[0];return t?t.name:void 0}(n)}}(e,t)||du(e,t)}function pu(e){return!(!e||!e["@@__IMMUTABLE_ITERABLE__@@"])}function yu(e,t){return pu(e)?e.reduce((function(e,n,r){return t&&t[r]&&(n=yu(n)),e[r]=n,e}),function(e){return!(!e||!e["@@__IMMUTABLE_LIST__@@"])}(e)?[]:{}):e}function gu(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function vu(e){var t;return pu(t=e)||function(e){return!(!e||!e["@@__IMMUTABLE_RECORD__@@"])}(t)?yu(e,{errorX:!0,errorY:!0}):e}function bu(t,n){var r=(g()(t.domain)?t.domain[n]:t.domain)||function(t,n){var r,o=function(t,n){if(su(t,n)){var r=t.scale[n]||t.scale;return fu(r)?a()(r)?r:e[lu(r)]():void 0}}(t,n);if(o)return"string"==typeof o?fu(r=o)?e[lu(r)]():Vr():o;var i=function(e,t){var n;if(e.domain&&e.domain[t]?n=e.domain[t]:e.domain&&Array.isArray(e.domain)&&(n=e.domain),n)return Yt(n)?"time":"linear"}(t,n)||du(t,n);return e[lu(i)]()}(t,n).domain(),o=t.samples||1,i=Math.max.apply(Math,gu(r)),u=Math.min.apply(Math,gu(r)),c=(i-u)/o,l=Gt()(u,i,c);return $t()(l)===i?l:l.concat(i)}function mu(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ascending";if(!t)return e;"x"!==t&&"y"!==t||(t="_".concat(t));var r="ascending"===n?"asc":"desc";return p()(e,t,r)}function xu(e,t){var n=function(e,t){var n=e.tickValues,r=e.tickFormat;return(n&&(Array.isArray(n)||n[t])?n[t]||n:r&&Array.isArray(r)?r:[]).filter((function(e){return"string"==typeof e}))}(e,t),r=function(e,t){if(!e.categories)return[];var n=function(e,t){return e.categories&&!Array.isArray(e.categories)?e.categories[t]:e.categories}(e,t),r=n&&n.filter((function(e){return"string"==typeof e}));return r?r.filter((function(e){return void 0!==e})):[]}(e,t),o=function(e,t){if(!Array.isArray(e.data)&&!pu(e.data))return[];var n=C(void 0===e[t]?t:e[t]);return mu(e.data.reduce((function(e,t){return e.push(vu(t)),e}),[]),e.sortKey,e.sortOrder).reduce((function(e,t){return t=vu(t),e.push(n(t)),e}),[]).filter((function(e){return"string"==typeof e})).reduce((function(e,t){return null!=t&&-1===e.indexOf(t)&&e.push(t),e}),[])}(e,t),i=Jt()(gu(n).concat(gu(r),gu(o)));return 0===i.length?null:i.reduce((function(e,t,n){return e[t]=n+1,e}),{})}function wu(e,t,n){if(!Array.isArray(e)&&!pu(e)||function(e){return pu(e)?e.size:e.length}(e)<1)return[];var r,o=["x","y","y0"],i=(n=Array.isArray(n)?n:o).reduce((function(e,n){var r;return e[n]=C(void 0!==t[r=n]?t[r]:r),e}),{}),u=Kt()(n,o)&&"_x"===t.x&&"_y"===t.y&&"_y0"===t.y0;!1===u&&(r={x:-1!==n.indexOf("x")?xu(t,"x"):void 0,y:-1!==n.indexOf("y")?xu(t,"y"):void 0,y0:-1!==n.indexOf("y0")?xu(t,"y"):void 0});var c=u?e:e.reduce((function(e,t,o){var a={x:o,y:t=vu(t)},u=n.reduce((function(e,n){var o=i[n](t),u=void 0!==o?o:a[n];return void 0!==u&&("string"==typeof u&&r[n]?(e["".concat(n,"Name")]=u,e["_".concat(n)]=r[n][u]):e["_".concat(n)]=u),e}),{}),c=x()({},u,t);return Se()(c)||e.push(c),e}),[]),l=function(e,t){var n=1/Number.MAX_SAFE_INTEGER,r={x:hu(t,"x"),y:hu(t,"y")};if("log"!==r.x&&"log"!==r.y)return e;var o=function(e,t){return"log"!==r[t]||0!==e["_".concat(t)]};return e.map((function(e){return o(e,"x")&&o(e,"y")&&o(e,"y0")?e:function(e){var t=o(e,"x")?e._x:n,r=o(e,"y")?e._y:n,i=o(e,"y0")?e._y0:n;return x()({},e,{_x:t,_y:r,_y0:i})}(e)}))}(mu(c,t.sortKey,t.sortOrder),t);return function(e,t){var n,r=!!e.eventKey,o=(n=e.eventKey,a()(n)?n:null==n?function(){}:k()(n));return t.map((function(e,t){if(void 0!==e.eventKey)return e;if(r){var n=o(e,t);return void 0!==n?x()({eventKey:n},e):e}return e}))}(t,l)}function Ou(e,t,n){var r=t.a,o=t.d,i=t.e,a=t.f;return"y"===n?o*e+a:r*e+i}function Mu(e){if(!e.nativeEvent||void 0===e.nativeEvent.identifier){var t=function(e){return"svg"===e.nodeName?e:e.parentNode?t(e.parentNode):e};return t(e.target)}}var ku=r(8266),Tu=r.n(ku),Au=r(1080);function _u(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var ju={withinBounds:function(e,t){var n=e.width,r=e.height,o=e.polar,i=e.origin,a=e.scale,u=j(e,"voronoiPadding"),c=t.x,l=t.y;if(o){var f=Math.pow(c-i.x,2)+Math.pow(l-i.y,2),s=Math.max.apply(Math,_u(a.y.range()));return f<Math.pow(s,2)}return c>=u.left&&c<=n-u.right&&l>=u.top&&l<=r-u.bottom},getDatasets:function(e){var t={x:Vt(e.domain.x),y:Vt(e.domain.y)},r=d().Children.toArray(e.children),o=function(n,r,o){var i=o&&o.type&&o.type.continuous,a=o?o.props&&o.props.style:e.style;return n.map((function(n,o){var u=A(n),c=u.x,l=u.y,f=u.y0,s=(+c+ +u.x0)/2,d=(+l+ +f)/2;return x()({_voronoiX:"y"===e.voronoiDimension?t.x:s,_voronoiY:"x"===e.voronoiDimension?t.y:d,eventKey:o,childName:r,continuous:i,style:a},n)}))};if(e.data)return o(e.data);var i=function(e){var t=function(e){return e.data?wu(e.data,e):wu(function(e){var t=bu(e,"x"),n=bu(e,"y");return t.map((function(e,t){return{x:e,y:n[t]}}))}(e),e)}(e);return Array.isArray(t)&&t.length>0?t:void 0};return function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(e,t){return e.concat(t)},u=["data","domain","categories","polar","startAngle","endAngle","minDomain","maxDomain","horizontal"],c=function(e,l,f){return e.reduce((function(e,o,s){var h=o.type&&o.type.role,p=o.props.name||"".concat(h,"-").concat(l[s]);if(o.props&&o.props.children){var y=x()({},o.props,n()(r,u)),g=o.type&&"stack"===o.type.role&&a()(o.type.getChildren)?o.type.getChildren(y):d().Children.toArray(o.props.children).map((function(e){var t=x()({},e.props,n()(y,u));return d().cloneElement(e,t)})),v=g.map((function(e,t){return"".concat(p,"-").concat(t)})),b=c(g,v,o);e=i(e,b)}else{var m=t(o,p,f);m&&(e=i(e,m))}return e}),o)},l=e.map((function(e,t){return t}));return c(e,l)}(r,(function(t,n){var r=(t.props||{}).name||n,u=e.voronoiBlacklist||[],c=u.filter(zt()),l=u.filter(pe()).some((function(e){return e.test(r)}));if(!function(e){var t=function(e){return e&&e.type?e.type.role:""},n=t(e);if("portal"===n){var r=d().Children.toArray(e.props.children);n=r.length?t(r[0]):""}return Rt()(["area","bar","boxplot","candlestick","errorbar","group","histogram","line","pie","scatter","stack","voronoi"],n)}(t)||Rt()(c,r)||l)return null;var f=(t.type&&a()(t.type.getData)?t.type.getData:i)(t.props);return f?o(f,r,t):null}),e)},findPoints:function(e,t){return e.filter((function(e){return t._voronoiX===e._voronoiX&&t._voronoiY===e._voronoiY}))},withinRadius:function(e,t,n){if(!e)return!1;if(!n)return!0;var r=t.x,o=t.y;return Math.pow(r-e[0],2)+Math.pow(o-e[1],2)<Math.pow(n,2)},getVoronoiPoints:function(e,t){var n=this.getDatasets(e),r=n.map((function(t){var n=_(e,t);return[n.x,n.y]})),o=Au.Z.from(r).find(t.x,t.y);return{points:this.withinRadius(r[o],t,e.radius)?this.findPoints(n,n[o]):[],index:o}},getActiveMutations:function(e,t){var n=t.childName,r=t.continuous,o=e.activateData,i=e.activateLabels,a=e.labels;if(!o&&!i)return[];var u=o?["data"]:[],c=a&&!i?u:u.concat("labels");return Se()(c)?[]:c.map((function(e){var o=!0===r&&"data"===e?"all":t.eventKey;return{childName:n,eventKey:o,target:e,mutation:function(){return{active:!0}}}}))},getInactiveMutations:function(e,t){var n=t.childName,r=t.continuous,o=e.activateData,i=e.activateLabels,a=e.labels;if(!o&&!i)return[];var u=o?["data"]:[],c=a&&!i?u:u.concat("labels");return Se()(c)?[]:c.map((function(e){var o=r&&"data"===e?"all":t.eventKey;return{childName:n,eventKey:o,target:e,mutation:function(){return null}}}))},getParentMutation:function(e,t,n,r){return[{target:"parent",eventKey:"parent",mutation:function(){return{activePoints:e,mousePosition:t,parentSVG:n,vIndex:r}}}]},onActivated:function(e,t){a()(e.onActivated)&&e.onActivated(t,e)},onDeactivated:function(e,t){a()(e.onDeactivated)&&e.onDeactivated(t,e)},onMouseLeave:function(e,t){var n,r=this,o=t.activePoints||[];this.onDeactivated(t,o);var i=o.length?o.map((function(e){return r.getInactiveMutations(t,e)})):[];return(n=this.getParentMutation([])).concat.apply(n,_u(i))},onMouseMove:function(e,t){var n=this,r=t.activePoints||[],o=t.parentSVG||Mu(e),i=function(e,t){if(e.nativeEvent&&void 0!==e.nativeEvent.identifier)return{x:e.nativeEvent.locationX,y:e.nativeEvent.locationY};e=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e;var n=function(e){return e.getScreenCTM().inverse()}(t=t||Mu(e));return{x:Ou(e.clientX,n,"x"),y:Ou(e.clientY,n,"y")}}(e,o);if(!this.withinBounds(t,i)){var a;this.onDeactivated(t,r);var u=r.length?r.map((function(e){return n.getInactiveMutations(t,e)})):[];return(a=this.getParentMutation([],i,o)).concat.apply(a,_u(u))}var c=this.getVoronoiPoints(t,i),l=c.points,f=void 0===l?[]:l,s=c.index,d=this.getParentMutation(f,i,o,s);if(r.length&&Tu()(f,r))return d;this.onActivated(t,f),this.onDeactivated(t,r);var h=f.length?f.map((function(e){return n.getActiveMutations(t,e)})):[],p=r.length?r.map((function(e){return n.getInactiveMutations(t,e)})):[];return d.concat.apply(d,_u(p).concat(_u(h)))}};const Su={onMouseLeave:ju.onMouseLeave.bind(ju),onMouseMove:Ht()(ju.onMouseMove.bind(ju),32,{leading:!0,trailing:!1})};function Pu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Cu(e,t,n[t])}))}return e}function Cu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Du(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Lu(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var Nu=function(e){var t,r;return r=t=function(e){function t(){return Eu(this,t),Lu(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r=t,o=[{key:"getDimension",value:function(e){var t=e.horizontal,n=e.voronoiDimension;return t&&n?"x"===n?"y":"x":n}},{key:"getPoint",value:function(e){return n()(e,["_x","_x1","_x0","_y","_y1","_y0"])}},{key:"getLabelPosition",value:function(e,t,n){var r=e.mousePosition,o=e.mouseFollowTooltips,i=this.getDimension(e),a=_(e,this.getPoint(n[0])),u=o?r:void 0;if(!i||n.length<2)return Pu({},a,{center:c()({},t.center,u)});var l="y"===i?r.x:a.x,f="x"===i?r.y:a.y;return u=o?r:{x:l,y:f},{x:l,y:f,center:c()({},t.center,u)}}},{key:"getStyle",value:function(e,t,n){var r=e.labels,o=e.labelComponent,i=e.theme,u=o.props||{},l=i&&i.voronoi&&i.voronoi.style?i.voronoi.style:{},f="flyout"===n?u.flyoutStyle:u.style;return t.reduce((function(e,t,o){var i=c()({},u,{datum:t,active:!0}),s=a()(r)?r(i):void 0,d=void 0!==s?"".concat(s).split("\n"):[],h=t.style&&t.style[n]||{},p=Array.isArray(f)?f[o]:f,y=P(c()({},p,h,l[n]),i),g=d.length?d.map((function(){return y})):[y];return e.concat(g)}),[])}},{key:"getDefaultLabelProps",value:function(e,t){var n=e.voronoiDimension,r=e.horizontal,o=e.mouseFollowTooltips,i=this.getPoint(t[0]),a=n&&t.length>1,u=void 0!==i._y1?i._y1:i._y;return{orientation:o?void 0:r?u<0?"left":"right":u<0?"bottom":"top",pointerLength:a?0:void 0,constrainToVisibleArea:!(!a&&!o)||void 0}}},{key:"getLabelProps",value:function(e,t){var n=e.labels,r=e.scale,o=e.labelComponent,i=e.theme,u=e.width,l=e.height,f=o.props||{},s=t.reduce((function(e,t){var r=c()({},f,{datum:t,active:!0}),o=a()(n)?n(r):null;return null==o?e:e=e.concat("".concat(o).split("\n"))}),[]),d=t[0],h=d.childName,p=d.eventKey,y=(d.style,d.continuous,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]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(d,["childName","eventKey","style","continuous"])),g=e.name===h?h:"".concat(e.name,"-").concat(h),v=c()({key:"".concat(g,"-").concat(p,"-voronoi-tooltip"),id:"".concat(g,"-").concat(p,"-voronoi-tooltip"),active:!0,renderInPortal:!1,activePoints:t,datum:y,scale:r,theme:i},f,{text:s,width:u,height:l,style:this.getStyle(e,t,"labels"),flyoutStyle:this.getStyle(e,t,"flyout")[0]},this.getDefaultLabelProps(e,t)),b=this.getLabelPosition(e,v,t);return c()({},b,v)}},{key:"getTooltip",value:function(e){var t=e.labels,n=e.activePoints,r=e.labelComponent;if(!t)return null;if(Array.isArray(n)&&n.length){var o=this.getLabelProps(e,n),i=o.text;return(Array.isArray(i)?i.filter(Boolean).length:i)?d().cloneElement(r,o):null}return null}},{key:"getChildren",value:function(e){return(t=d().Children.toArray(e.children),function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(t)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()).concat([this.getTooltip(e)]);var t}}],o&&Du(r.prototype,o),t}(e),Object.defineProperty(t,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryVoronoiContainer"}),Object.defineProperty(t,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:Pu({},Ut.propTypes,{activateData:f().bool,activateLabels:f().bool,disable:f().bool,labelComponent:f().element,labels:f().func,mouseFollowTooltips:f().bool,onActivated:f().func,onDeactivated:f().func,radius:f().number,voronoiBlacklist:f().arrayOf(f().oneOfType([f().string,_e])),voronoiDimension:f().oneOf(["x","y"]),voronoiPadding:f().oneOfType([f().number,f().shape({top:f().number,bottom:f().number,left:f().number,right:f().number})])})}),Object.defineProperty(t,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:Pu({},Ut.defaultProps,{activateData:!0,activateLabels:!0,labelComponent:d().createElement(nt,null),voronoiPadding:5})}),Object.defineProperty(t,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:{onMouseLeave:function(t,n){return e.disable?{}:Su.onMouseLeave(t,n)},onTouchCancel:function(t,n){return e.disable?{}:Su.onMouseLeave(t,n)},onMouseMove:function(t,n){return e.disable?{}:Su.onMouseMove(t,n)},onTouchMove:function(t,n){return e.disable?{}:Su.onMouseMove(t,n)}}},{target:"data",eventHandlers:e.disable?{}:{onMouseOver:function(){return null},onMouseOut:function(){return null},onMouseMove:function(){return null}}}]}}),r};const Uu=Nu(Ut)})(),o})()}));
|
|
2
2
|
//# sourceMappingURL=victory-voronoi-container.min.js.map
|
package/es/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface VictoryVoronoiContainerProps extends VictoryContainerProps {
|
|
|
11
11
|
onActivated?: (points: any[], props: VictoryVoronoiContainerProps) => void;
|
|
12
12
|
onDeactivated?: (points: any[], props: VictoryVoronoiContainerProps) => void;
|
|
13
13
|
radius?: number;
|
|
14
|
-
voronoiBlacklist?: string[];
|
|
14
|
+
voronoiBlacklist?: (string | RegExp)[];
|
|
15
15
|
voronoiDimension?: "x" | "y";
|
|
16
16
|
voronoiPadding?: PaddingProps;
|
|
17
17
|
}
|
package/lib/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface VictoryVoronoiContainerProps extends VictoryContainerProps {
|
|
|
11
11
|
onActivated?: (points: any[], props: VictoryVoronoiContainerProps) => void;
|
|
12
12
|
onDeactivated?: (points: any[], props: VictoryVoronoiContainerProps) => void;
|
|
13
13
|
radius?: number;
|
|
14
|
-
voronoiBlacklist?: string[];
|
|
14
|
+
voronoiBlacklist?: (string | RegExp)[];
|
|
15
15
|
voronoiDimension?: "x" | "y";
|
|
16
16
|
voronoiPadding?: PaddingProps;
|
|
17
17
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "victory-voronoi-container",
|
|
3
|
-
"version": "36.
|
|
3
|
+
"version": "36.3.2",
|
|
4
4
|
"description": "Interactive Voronoi Mouseover Component for Victory",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data visualization",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"lodash": "^4.17.19",
|
|
24
24
|
"prop-types": "^15.5.8",
|
|
25
25
|
"react-fast-compare": "^2.0.0",
|
|
26
|
-
"victory-core": "^36.
|
|
27
|
-
"victory-tooltip": "^36.
|
|
26
|
+
"victory-core": "^36.3.2",
|
|
27
|
+
"victory-tooltip": "^36.3.2"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"react": "^16.6.0 || ^17.0.0"
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"version": "yarn run nps build-libs && nps build-dists"
|
|
34
34
|
},
|
|
35
35
|
"sideEffects": false,
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "18895d1290245732d14332bbbda10336032c9aab"
|
|
37
37
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface VictoryVoronoiContainerProps extends VictoryContainerProps {
|
|
|
11
11
|
onActivated?: (points: any[], props: VictoryVoronoiContainerProps) => void;
|
|
12
12
|
onDeactivated?: (points: any[], props: VictoryVoronoiContainerProps) => void;
|
|
13
13
|
radius?: number;
|
|
14
|
-
voronoiBlacklist?: string[];
|
|
14
|
+
voronoiBlacklist?: (string | RegExp)[];
|
|
15
15
|
voronoiDimension?: "x" | "y";
|
|
16
16
|
voronoiPadding?: PaddingProps;
|
|
17
17
|
}
|