victory-legend 37.0.1 → 37.0.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/CHANGELOG.md +2 -0
- package/dist/victory-legend.js +37 -40
- package/dist/victory-legend.min.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/victory-legend.js
CHANGED
|
@@ -6049,10 +6049,7 @@ const defaultProps = {
|
|
|
6049
6049
|
lineHeight: 1
|
|
6050
6050
|
};
|
|
6051
6051
|
const VictoryLabel = initialProps => {
|
|
6052
|
-
const props = evaluateProps({
|
|
6053
|
-
...defaultProps,
|
|
6054
|
-
...initialProps
|
|
6055
|
-
});
|
|
6052
|
+
const props = evaluateProps(lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, initialProps, defaultProps));
|
|
6056
6053
|
if (props.text === null || props.text === undefined) {
|
|
6057
6054
|
return null;
|
|
6058
6055
|
}
|
|
@@ -6256,10 +6253,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6256
6253
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6257
6254
|
/* harmony export */ "Border": function() { return /* binding */ Border; }
|
|
6258
6255
|
/* harmony export */ });
|
|
6259
|
-
/* harmony import */ var
|
|
6260
|
-
/* harmony import */ var
|
|
6261
|
-
/* harmony import */ var
|
|
6262
|
-
/* harmony import */ var
|
|
6256
|
+
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
|
|
6257
|
+
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
|
|
6258
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
6259
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
6260
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
6261
|
+
/* harmony import */ var _rect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./rect */ "../../victory-core/es/victory-primitives/rect.js");
|
|
6262
|
+
|
|
6263
6263
|
|
|
6264
6264
|
|
|
6265
6265
|
|
|
@@ -6272,13 +6272,13 @@ const evaluateProps = props => {
|
|
|
6272
6272
|
* `style`
|
|
6273
6273
|
* `tabIndex`
|
|
6274
6274
|
*/
|
|
6275
|
-
const ariaLabel =
|
|
6276
|
-
const desc =
|
|
6277
|
-
const id =
|
|
6278
|
-
const style =
|
|
6275
|
+
const ariaLabel = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.ariaLabel, props);
|
|
6276
|
+
const desc = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.desc, props);
|
|
6277
|
+
const id = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.id, props);
|
|
6278
|
+
const style = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__.evaluateStyle(Object.assign({
|
|
6279
6279
|
fill: "none"
|
|
6280
6280
|
}, props.style), props);
|
|
6281
|
-
const tabIndex =
|
|
6281
|
+
const tabIndex = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__.evaluateProp(props.tabIndex, props);
|
|
6282
6282
|
return Object.assign({}, props, {
|
|
6283
6283
|
ariaLabel,
|
|
6284
6284
|
desc,
|
|
@@ -6288,16 +6288,13 @@ const evaluateProps = props => {
|
|
|
6288
6288
|
});
|
|
6289
6289
|
};
|
|
6290
6290
|
const defaultProps = {
|
|
6291
|
-
rectComponent: /*#__PURE__*/
|
|
6291
|
+
rectComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_rect__WEBPACK_IMPORTED_MODULE_3__.Rect, null),
|
|
6292
6292
|
role: "presentation",
|
|
6293
6293
|
shapeRendering: "auto"
|
|
6294
6294
|
};
|
|
6295
6295
|
const Border = initialProps => {
|
|
6296
|
-
const props = evaluateProps({
|
|
6297
|
-
|
|
6298
|
-
...initialProps
|
|
6299
|
-
});
|
|
6300
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(props.rectComponent, {
|
|
6296
|
+
const props = evaluateProps(lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, initialProps, defaultProps));
|
|
6297
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(props.rectComponent, {
|
|
6301
6298
|
...props.events,
|
|
6302
6299
|
"aria-label": props.ariaLabel,
|
|
6303
6300
|
style: props.style,
|
|
@@ -6370,12 +6367,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6370
6367
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6371
6368
|
/* harmony export */ "Point": function() { return /* binding */ Point; }
|
|
6372
6369
|
/* harmony export */ });
|
|
6373
|
-
/* harmony import */ var
|
|
6374
|
-
/* harmony import */ var
|
|
6375
|
-
/* harmony import */ var
|
|
6376
|
-
/* harmony import */ var
|
|
6377
|
-
/* harmony import */ var
|
|
6378
|
-
/* harmony import */ var
|
|
6370
|
+
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
|
|
6371
|
+
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
|
|
6372
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
6373
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
6374
|
+
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
6375
|
+
/* harmony import */ var _victory_util_point_path_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../victory-util/point-path-helpers */ "../../victory-core/es/victory-util/point-path-helpers.js");
|
|
6376
|
+
/* harmony import */ var _victory_util_user_props__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../victory-util/user-props */ "../../victory-core/es/victory-util/user-props.js");
|
|
6377
|
+
/* harmony import */ var _path__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./path */ "../../victory-core/es/victory-primitives/path.js");
|
|
6378
|
+
|
|
6379
6379
|
|
|
6380
6380
|
|
|
6381
6381
|
|
|
@@ -6391,7 +6391,7 @@ const getPath = props => {
|
|
|
6391
6391
|
if (props.getPath) {
|
|
6392
6392
|
return props.getPath(x, y, size);
|
|
6393
6393
|
}
|
|
6394
|
-
const pathFunctions =
|
|
6394
|
+
const pathFunctions = _victory_util_point_path_helpers__WEBPACK_IMPORTED_MODULE_2__;
|
|
6395
6395
|
const symbolFunction = typeof pathFunctions[symbol] === "function" ? pathFunctions[symbol] : pathFunctions.circle;
|
|
6396
6396
|
return symbolFunction(x, y, size);
|
|
6397
6397
|
};
|
|
@@ -6406,13 +6406,13 @@ const evaluateProps = props => {
|
|
|
6406
6406
|
* `symbol`
|
|
6407
6407
|
* `tabIndex`
|
|
6408
6408
|
*/
|
|
6409
|
-
const ariaLabel =
|
|
6410
|
-
const desc =
|
|
6411
|
-
const id =
|
|
6412
|
-
const size =
|
|
6413
|
-
const style =
|
|
6414
|
-
const symbol =
|
|
6415
|
-
const tabIndex =
|
|
6409
|
+
const ariaLabel = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(props.ariaLabel, props);
|
|
6410
|
+
const desc = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(props.desc, props);
|
|
6411
|
+
const id = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(props.id, props);
|
|
6412
|
+
const size = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(props.size, props);
|
|
6413
|
+
const style = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateStyle(props.style, props);
|
|
6414
|
+
const symbol = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(props.symbol, props);
|
|
6415
|
+
const tabIndex = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(props.tabIndex, props);
|
|
6416
6416
|
return Object.assign({}, props, {
|
|
6417
6417
|
ariaLabel,
|
|
6418
6418
|
desc,
|
|
@@ -6424,17 +6424,14 @@ const evaluateProps = props => {
|
|
|
6424
6424
|
});
|
|
6425
6425
|
};
|
|
6426
6426
|
const defaultProps = {
|
|
6427
|
-
pathComponent: /*#__PURE__*/
|
|
6427
|
+
pathComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_path__WEBPACK_IMPORTED_MODULE_4__.Path, null),
|
|
6428
6428
|
role: "presentation",
|
|
6429
6429
|
shapeRendering: "auto"
|
|
6430
6430
|
};
|
|
6431
6431
|
const Point = initialProps => {
|
|
6432
|
-
const props = evaluateProps({
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
});
|
|
6436
|
-
const userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_4__.getSafeUserProps(props);
|
|
6437
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(props.pathComponent, {
|
|
6432
|
+
const props = evaluateProps(lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, initialProps, defaultProps));
|
|
6433
|
+
const userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_5__.getSafeUserProps(props);
|
|
6434
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(props.pathComponent, {
|
|
6438
6435
|
...props.events,
|
|
6439
6436
|
"aria-label": props.ariaLabel,
|
|
6440
6437
|
d: getPath(props),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.VictoryLegend=e(require("react")):t.VictoryLegend=e(t.React)}(self,(function(t){return function(){var e={503:function(t,e,n){var r=n(1171),o=n(7838),i=n(4859),a=n(4073),s=n(8541);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];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=s,t.exports=c},3273:function(t,e,n){var r=n(163);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},8708:function(t,e,n){var r=n(1171),o=n(7838),i=n(4859),a=n(4073),s=n(8541);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];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=s,t.exports=c},2596:function(t,e,n){var r=n(2373).Symbol;t.exports=r},6082:function(t){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},6649:function(t){t.exports=function(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var a=t[o];e(r,a,n(a),t)}return r}},5510:function(t,e,n){var r=n(6123);t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},9955:function(t){t.exports=function(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}},8644:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},9559:function(t){t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}},1634:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},4132:function(t,e,n){var r=n(8347),o=n(788),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];i.call(t,e)&&o(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},3162:function(t,e,n){var r=n(788);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},4508:function(t){t.exports=function(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var a=t[o];e(r,a,n(a),t)}return r}},8347:function(t,e,n){var r=n(5525);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},6457:function(t,e,n){var r=n(9559),o=n(3608);t.exports=function t(e,n,i,a,s){var c=-1,u=e.length;for(i||(i=o),s||(s=[]);++c<u;){var l=e[c];n>0&&i(l)?n>1?t(l,n-1,i,a,s):r(s,l):a||(s[s.length]=l)}return s}},4432:function(t,e,n){var r=n(9026),o=n(3110);t.exports=function(t,e){for(var n=0,i=(e=r(e,t)).length;null!=t&&n<i;)t=t[o(e[n++])];return n&&n==i?t:void 0}},563:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},6776:function(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},6123:function(t){t.exports=function(t,e,n){for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}},9070:function(t,e,n){var r=n(7028),o=n(3474);t.exports=function t(e,n,i,a,s){return e===n||(null==e||null==n||!o(e)&&!o(n)?e!=e&&n!=n:r(e,n,i,a,t,s))}},7028:function(t,e,n){var r=n(8708),o=n(8705),i=n(2813),a=n(6682),s=n(9667),c=n(163),u=n(4801),l=n(4289),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,g,y,m){var b=c(t),v=c(e),x=b?f:s(t),w=v?f:s(e),E=(x=x==d?p:x)==p,O=(w=w==d?p:w)==p,j=x==w;if(j&&u(t)){if(!u(e))return!1;b=!0,E=!1}if(j&&!E)return m||(m=new r),b||l(t)?o(t,e,n,g,y,m):i(t,e,x,n,g,y,m);if(!(1&n)){var k=E&&h.call(t,"__wrapped__"),A=O&&h.call(e,"__wrapped__");if(k||A){var S=k?t.value():t,C=A?e.value():e;return m||(m=new r),y(S,C,n,g,m)}}return!!j&&(m||(m=new r),a(t,e,n,g,y,m))}},9548:function(t,e,n){var r=n(8708),o=n(9070);t.exports=function(t,e,n,i){var a=n.length,s=a,c=!i;if(null==t)return!s;for(t=Object(t);a--;){var u=n[a];if(c&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++a<s;){var l=(u=n[a])[0],d=t[l],f=u[1];if(c&&u[2]){if(void 0===d&&!(l in t))return!1}else{var p=new r;if(i)var h=i(d,f,l,t,e,p);if(!(void 0===h?o(f,d,3,i,p):h))return!1}}return!0}},3472:function(t,e,n){var r=n(758),o=n(5223),i=n(5346),a=n(163),s=n(8532);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):r(t):s(t)}},7190:function(t,e,n){var r=n(5125)(Object.keys,Object);t.exports=r},383:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},758:function(t,e,n){var r=n(9548),o=n(597),i=n(6878);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},5223:function(t,e,n){var r=n(9070),o=n(9201),i=n(5066),a=n(726),s=n(5385),c=n(6878),u=n(3110);t.exports=function(t,e){return a(t)&&s(e)?c(u(t),e):function(n){var a=o(n,t);return void 0===a&&a===e?i(n,t):r(e,a,3)}}},8245:function(t,e,n){var r=n(8644),o=n(4432),i=n(3472),a=n(383),s=n(9521),c=n(9110),u=n(9409),l=n(5346),d=n(163);t.exports=function(t,e,n){e=e.length?r(e,(function(t){return d(t)?function(e){return o(e,1===t.length?t[0]:t)}:t})):[l];var f=-1;e=r(e,c(i));var p=a(t,(function(t,n,o){return{criteria:r(e,(function(e){return e(t)})),index:++f,value:t}}));return s(p,(function(t,e){return u(t,e,n)}))}},5436:function(t,e,n){var r=n(6371),o=n(5066);t.exports=function(t,e){return r(t,e,(function(e,n){return o(t,n)}))}},6371:function(t,e,n){var r=n(4432),o=n(6539),i=n(9026);t.exports=function(t,e,n){for(var a=-1,s=e.length,c={};++a<s;){var u=e[a],l=r(t,u);n(l,u)&&o(c,i(u,t),l)}return c}},1600:function(t){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},3301:function(t,e,n){var r=n(4432);t.exports=function(t){return function(e){return r(e,t)}}},7805:function(t){var e=Math.ceil,n=Math.max;t.exports=function(t,r,o,i){for(var a=-1,s=n(e((r-t)/(o||1)),0),c=Array(s);s--;)c[i?s:++a]=t,t+=o;return c}},6317:function(t,e,n){var r=n(5346),o=n(4280),i=n(201);t.exports=function(t,e){return i(o(t,e,r),t+"")}},6539:function(t,e,n){var r=n(4132),o=n(9026),i=n(9099),a=n(7709),s=n(3110);t.exports=function(t,e,n,c){if(!a(t))return t;for(var u=-1,l=(e=o(e,t)).length,d=l-1,f=t;null!=f&&++u<l;){var p=s(e[u]),h=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return t;if(u!=d){var g=f[p];void 0===(h=c?c(g,p,f):void 0)&&(h=a(g)?g:i(e[u+1])?[]:{})}r(f,p,h),f=f[p]}return t}},9521:function(t){t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},6316:function(t,e,n){var r=n(2596),o=n(8644),i=n(163),a=n(1995),s=r?r.prototype:void 0,c=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},9110:function(t){t.exports=function(t){return function(e){return t(e)}}},946:function(t,e,n){var r=n(3273),o=n(5510),i=n(9955),a=n(9914),s=n(6602),c=n(6226);t.exports=function(t,e,n){var u=-1,l=o,d=t.length,f=!0,p=[],h=p;if(n)f=!1,l=i;else if(d>=200){var g=e?null:s(t);if(g)return c(g);f=!1,l=a,h=new r}else h=e?[]:p;t:for(;++u<d;){var y=t[u],m=e?e(y):y;if(y=n||0!==y?y:0,f&&m==m){for(var b=h.length;b--;)if(h[b]===m)continue t;e&&h.push(m),p.push(y)}else l(h,m,n)||(h!==p&&h.push(m),p.push(y))}return p}},9914:function(t,e,n){var r=n(6123);t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},9026:function(t,e,n){var r=n(163),o=n(726),i=n(7801),a=n(7010);t.exports=function(t,e){return r(t)?t:o(t,e)?[t]:i(a(t))}},522:function(t,e,n){var r=n(1995);t.exports=function(t,e){if(t!==e){var n=void 0!==t,o=null===t,i=t==t,a=r(t),s=void 0!==e,c=null===e,u=e==e,l=r(e);if(!c&&!l&&!a&&t>e||a&&s&&u&&!c&&!l||o&&s&&u||!n&&u||!i)return 1;if(!o&&!a&&!l&&t<e||l&&n&&i&&!o&&!a||c&&n&&i||!s&&i||!u)return-1}return 0}},9409:function(t,e,n){var r=n(522);t.exports=function(t,e,n){for(var o=-1,i=t.criteria,a=e.criteria,s=i.length,c=n.length;++o<s;){var u=r(i[o],a[o]);if(u)return o>=c?u:u*("desc"==n[o]?-1:1)}return t.index-e.index}},5659:function(t,e,n){var r=n(6649),o=n(4508),i=n(3472),a=n(163);t.exports=function(t,e){return function(n,s){var c=a(n)?r:o,u=e?e():{};return c(n,t,i(s,2),u)}}},2507:function(t,e,n){var r=n(7805),o=n(8286),i=n(9139);t.exports=function(t){return function(e,n,a){return a&&"number"!=typeof a&&o(e,n,a)&&(n=a=void 0),e=i(e),void 0===n?(n=e,e=0):n=i(n),a=void 0===a?e<n?1:-1:i(a),r(e,n,a,t)}}},6602:function(t){t.exports=function(){}},5525:function(t,e,n){var r=n(3743),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},8705:function(t,e,n){var r=n(3273),o=n(1634),i=n(9914);t.exports=function(t,e,n,a,s,c){var u=1&n,l=t.length,d=e.length;if(l!=d&&!(u&&d>l))return!1;var f=c.get(t),p=c.get(e);if(f&&p)return f==e&&p==t;var h=-1,g=!0,y=2&n?new r:void 0;for(c.set(t,e),c.set(e,t);++h<l;){var m=t[h],b=e[h];if(a)var v=u?a(b,m,h,e,t,c):a(m,b,h,t,e,c);if(void 0!==v){if(v)continue;g=!1;break}if(y){if(!o(e,(function(t,e){if(!i(y,e)&&(m===t||s(m,t,n,a,c)))return y.push(e)}))){g=!1;break}}else if(m!==b&&!s(m,b,n,a,c)){g=!1;break}}return c.delete(t),c.delete(e),g}},2813:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},6682:function(t,e,n){var r=n(8143),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,i,a,s){var c=1&n,u=r(t),l=u.length;if(l!=r(e).length&&!c)return!1;for(var d=l;d--;){var f=u[d];if(!(c?f in e:o.call(e,f)))return!1}var p=s.get(t),h=s.get(e);if(p&&h)return p==e&&h==t;var g=!0;s.set(t,e),s.set(e,t);for(var y=c;++d<l;){var m=t[f=u[d]],b=e[f];if(i)var v=c?i(b,m,f,e,t,s):i(m,b,f,t,e,s);if(!(void 0===v?m===b||a(m,b,n,i,s):v)){g=!1;break}y||(y="constructor"==f)}if(g&&!y){var x=t.constructor,w=e.constructor;x==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(g=!1)}return s.delete(t),s.delete(e),g}},5557:function(t,e,n){var r=n(2645),o=n(4280),i=n(201);t.exports=function(t){return i(o(t,void 0,r),t+"")}},2117:function(t,e,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},8143:function(t,e,n){var r=n(5125)(Object.keys,Object);t.exports=r},7271:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},597:function(t,e,n){var r=n(5385),o=n(7747);t.exports=function(t){for(var e=o(t),n=e.length;n--;){var i=e[n],a=t[i];e[n]=[i,a,r(a)]}return e}},3743:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},9817:function(t,e,n){var r=n(5125)(Object.getPrototypeOf,Object);t.exports=r},9667:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},3096:function(t,e,n){var r=n(9026),o=n(5075),i=n(163),a=n(9099),s=n(8454),c=n(3110);t.exports=function(t,e,n){for(var u=-1,l=(e=r(e,t)).length,d=!1;++u<l;){var f=c(e[u]);if(!(d=null!=t&&n(t,f)))break;t=t[f]}return d||++u!=l?d:!!(l=null==t?0:t.length)&&s(l)&&a(f,l)&&(i(t)||o(t))}},3608:function(t,e,n){var r=n(2596),o=n(5075),i=n(163),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},9099:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},8286:function(t){t.exports=function(){return!1}},726:function(t,e,n){var r=n(163),o=n(1995),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||a.test(t)||!i.test(t)||null!=e&&t in Object(e)}},5782:function(t){t.exports=function(){return!1}},5385:function(t,e,n){var r=n(7709);t.exports=function(t){return t==t&&!r(t)}},1171:function(t){t.exports=function(){this.__data__=[],this.size=0}},7838:function(t,e,n){var r=n(3162),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():o.call(e,n,1),--this.size,0))}},4859:function(t,e,n){var r=n(3162);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},4073:function(t,e,n){var r=n(3162);t.exports=function(t){return r(this.__data__,t)>-1}},8541:function(t,e,n){var r=n(3162);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},6878:function(t){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},2453:function(t){t.exports=function(t){return t}},5125:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},4280:function(t,e,n){var r=n(6082),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,s=o(i.length-e,0),c=Array(s);++a<s;)c[a]=i[e+a];a=-1;for(var u=Array(e+1);++a<e;)u[a]=i[a];return u[e]=n(c),r(t,this,u)}}},2373:function(t,e,n){var r=n(2117),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},6226:function(t){t.exports=function(){return[]}},201:function(t){t.exports=function(t){return t}},7801:function(t,e,n){var r=n(2453),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)})),e}));t.exports=a},3110:function(t,e,n){var r=n(1995);t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},1893:function(t,e,n){var r=n(6317),o=n(788),i=n(8286),a=n(8855),s=Object.prototype,c=s.hasOwnProperty,u=r((function(t,e){t=Object(t);var n=-1,r=e.length,u=r>2?e[2]:void 0;for(u&&i(e[0],e[1],u)&&(r=1);++n<r;)for(var l=e[n],d=a(l),f=-1,p=d.length;++f<p;){var h=d[f],g=t[h];(void 0===g||o(g,s[h])&&!c.call(t,h))&&(t[h]=l[h])}return t}));t.exports=u},788:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},2645:function(t,e,n){var r=n(6457);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9201:function(t,e,n){var r=n(4432);t.exports=function(t,e,n){var o=null==t?void 0:r(t,e);return void 0===o?n:o}},9056:function(t,e,n){var r=n(8347),o=n(5659),i=Object.prototype.hasOwnProperty,a=o((function(t,e,n){i.call(t,n)?t[n].push(e):r(t,n,[e])}));t.exports=a},5066:function(t,e,n){var r=n(6776),o=n(3096);t.exports=function(t,e){return null!=t&&o(t,e,r)}},5346:function(t){t.exports=function(t){return t}},5075:function(t){t.exports=function(){return!1}},163:function(t){var e=Array.isArray;t.exports=e},981:function(t,e,n){var r=n(9642),o=n(8454);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},4801:function(t){t.exports=function(){return!1}},4155:function(t,e,n){var r=n(7190),o=n(9667),i=n(5075),a=n(163),s=n(981),c=n(4801),u=n(5782),l=n(4289),d=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||c(t)||l(t)||i(t)))return!t.length;var e=o(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(u(t))return!r(t).length;for(var n in t)if(d.call(t,n))return!1;return!0}},9642:function(t,e,n){var r=n(563),o=n(7709);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},8454:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7709:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3474:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},3849:function(t,e,n){var r=n(563),o=n(9817),i=n(3474),a=Function.prototype,s=Object.prototype,c=a.toString,u=s.hasOwnProperty,l=c.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var e=o(t);if(null===e)return!0;var n=u.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},1995:function(t){t.exports=function(){return!1}},4289:function(t){t.exports=function(){return!1}},7747:function(t,e,n){var r=n(5125)(Object.keys,Object);t.exports=r},8855:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},1594:function(t,e,n){var r=n(503);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,t.exports=o},6051:function(t){t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}},1616:function(t,e,n){var r=n(3472),o=n(6051),i=n(4912);t.exports=function(t,e){return i(t,o(r(e)))}},4143:function(t,e,n){var r=n(8245),o=n(163);t.exports=function(t,e,n,i){return null==t?[]:(o(e)||(e=null==e?[]:[e]),o(n=i?void 0:n)||(n=null==n?[]:[n]),r(t,e,n))}},9082:function(t,e,n){var r=n(5436),o=n(5557)((function(t,e){return null==t?{}:r(t,e)}));t.exports=o},4912:function(t,e,n){var r=n(8644),o=n(3472),i=n(6371),a=n(7271);t.exports=function(t,e){if(null==t)return{};var n=r(a(t),(function(t){return[t]}));return e=o(e),i(t,n,(function(t,n){return e(t,n[0])}))}},8532:function(t,e,n){var r=n(1600),o=n(3301),i=n(726),a=n(3110);t.exports=function(t){return i(t)?r(a(t)):o(t)}},8825:function(t,e,n){var r=n(2507)();t.exports=r},9139:function(t){t.exports=function(t){return t}},7010:function(t,e,n){var r=n(6316);t.exports=function(t){return null==t?"":r(t)}},9602:function(t,e,n){var r=n(946);t.exports=function(t){return t&&t.length?r(t):[]}},660:function(t,e,n){var r=n(7010),o=0;t.exports=function(t){var e=++o;return r(t)+e}},7491:function(t){var e="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var s,c,u,l;if(Array.isArray(t)){if((s=t.length)!=a.length)return!1;for(c=s;0!=c--;)if(!i(t[c],a[c]))return!1;return!0}if(n&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;for(l=t.entries();!(c=l.next()).done;)if(!i(c.value[1],a.get(c.value[0])))return!1;return!0}if(r&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((s=t.length)!=a.length)return!1;for(c=s;0!=c--;)if(t[c]!==a[c])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((s=(u=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(c=s;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,u[c]))return!1;if(e&&t instanceof Element)return!1;for(c=s;0!=c--;)if(("_owner"!==u[c]&&"__v"!==u[c]&&"__o"!==u[c]||!t.$$typeof)&&!i(t[u[c]],a[u[c]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,e){try{return i(t,e)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},9787:function(e){"use strict";e.exports=t}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var i=n[t]={exports:{}};return e[t](i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};return function(){"use strict";r.r(o),r.d(o,{VictoryLegend:function(){return Kr}});var t={};r.r(t),r.d(t,{circle:function(){return Pt},cross:function(){return Wt},diamond:function(){return It},minus:function(){return Dt},plus:function(){return _t},square:function(){return zt},star:function(){return Rt},triangleDown:function(){return Lt},triangleUp:function(){return Nt}});var e={};r.r(e),r.d(e,{easeBack:function(){return rn},easeBackIn:function(){return en},easeBackInOut:function(){return rn},easeBackOut:function(){return nn},easeBounce:function(){return Xe},easeBounceIn:function(){return Ye},easeBounceInOut:function(){return Je},easeBounceOut:function(){return Xe},easeCircle:function(){return Qe},easeCircleIn:function(){return Ge},easeCircleInOut:function(){return Qe},easeCircleOut:function(){return Ue},easeCubic:function(){return Le},easeCubicIn:function(){return ze},easeCubicInOut:function(){return Le},easeCubicOut:function(){return Ie},easeElastic:function(){return sn},easeElasticIn:function(){return an},easeElasticInOut:function(){return cn},easeElasticOut:function(){return sn},easeExp:function(){return Ve},easeExpIn:function(){return qe},easeExpInOut:function(){return Ve},easeExpOut:function(){return Ke},easeLinear:function(){return Ce},easePoly:function(){return We},easePolyIn:function(){return Ne},easePolyInOut:function(){return We},easePolyOut:function(){return _e},easeQuad:function(){return Pe},easeQuadIn:function(){return $e},easeQuadInOut:function(){return Pe},easeQuadOut:function(){return Me},easeSin:function(){return He},easeSinIn:function(){return Fe},easeSinInOut:function(){return He},easeSinOut:function(){return Te}});var n=r(9787),i=r.n(n),a=r(8825),s=r.n(a),c=r(9056),u=r.n(c),l=r(1893),d=r.n(l);const f=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];if(n.length>0)return n.reduce(((t,e)=>[t,f(e)].join(" ")),f(t)).trim();if(null==t||"string"==typeof t)return t;const o=[];for(const e in t)if(t.hasOwnProperty(e)){const n=t[e];o.push(`${e}(${n})`)}return o.join(" ").trim()};var p=r(9082),h=r.n(p);function g(t,e){void 0===e&&(e=[]);const n={};for(const r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function y(t){const e=t=>void 0!==t,{_x:n,_x1:r,_x0:o,_voronoiX:i,_y:a,_y1:s,_y0:c,_voronoiY:u}=t,l=e(r)?r:n,f=e(s)?s:a,p={x:e(i)?i:l,x0:e(o)?o:n,y:e(u)?u:f,y0:e(c)?c:a};return d()({},p,t)}function m(t,e){void 0===e&&(e="padding");const n=t[e],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 b(t,e){return O(t)?t(e):t}function v(t,e){return e.disableInlineStyles?{}:t&&Object.keys(t).some((e=>O(t[e])))?Object.keys(t).reduce(((n,r)=>(n[r]=b(t[r],e),n)),{}):t}function x(t){return"number"==typeof t?t*(Math.PI/180):t}function w(t){const{left:e,right:n,top:r,bottom:o}=m(t),{width:i,height:a}=t;return Math.min(i-e-n,a-r-o)/2}function E(t){return null==t}function O(t){return"function"==typeof t}function j(t,e,n){const r=g(t.theme&&t.theme[n]?t.theme[n]:{},["style"]),o=function(t){if(void 0!==t.horizontal||!t.children)return t.horizontal;const e=t=>t.reduce(((t,n)=>{const r=n.props||{};return t||r.horizontal||!r.children?t||r.horizontal:e(i().Children.toArray(r.children))}),!1);return e(i().Children.toArray(t.children))}(t),a=void 0===o?{}:{horizontal:o};return d()(a,t,r,e)}r(8532);var k=r(1594),A=r.n(k);const S={"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}},C={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},$={em:1,ex:.5},M={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},P=t=>Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g),z=(t,e,n)=>{const r=(t=>t*Math.PI/180)(n);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*e)},I=(t,e)=>{const n=t.match(/[a-zA-Z%]+/)?.[0],r=Number(t.match(/[0-9.,]+/));let o;return o=n?C.hasOwnProperty(n)?r*C[n]:$.hasOwnProperty(n)?(e?r*e:r*M.fontSize)*$[n]:r:r||0,o},L=(t,e)=>{const n=Array.isArray(t)?t[e]:t,r=d()({},n,M);return Object.assign({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:I(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:I(String(r.fontSize))})},N=(t,e)=>{const n=Array.isArray(e)?e[0]&&e[0].angle:e&&e.angle,r=((t,e)=>void 0===t||""===t||null===t?0:P(t).reduce(((t,n,r)=>{const o=L(e,r),i=n.toString().match(/[(A-Z)(0-9)]/)?1.15*o.fontSize:o.fontSize;return t+o.lineHeight*i}),0))(t,e),o=((t,e)=>{if(void 0===t||""===t||null===t)return 0;const n=P(t).map(((t,n)=>{const r=t.toString().length,{fontSize:o,letterSpacing:i,fontFamily:a}=L(e,n),s=(t=>{const e=t.split(",").map((t=>t.replace(/'|"/g,""))).find((t=>S[t]))||"Helvetica";return S[e]})(a);return t.toString().split("").map((t=>t.charCodeAt(0)<s.widths.length?s.widths[t.charCodeAt(0)]:s.avg)).reduce(((t,e)=>e+t),0)*o+i*Math.max(r-1,0)}));return Math.max(...n)})(t,e);return{width:n?z(o,r,n):o,height:1.05*(n?z(r,o,n):r)}},_=A()((()=>{const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("xlink","http://www.w3.org/1999/xlink"),t.setAttribute("width","300"),t.setAttribute("height","300"),t.setAttribute("viewBox","0 0 300 300"),t.setAttribute("aria-hidden","true");const e=document.createElementNS("http://www.w3.org/2000/svg","text");return t.appendChild(e),t.style.position="fixed",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t),e})),W=t=>t?`${t.angle}:${t.fontFamily}:${t.fontSize}:${t.letterSpacing}:${t.lineHeight}`:"null",D=A()(((t,e)=>{let n=_();n.isConnected||(_.cache.clear?.(),n=_());const r=P(t);let o=0;for(const[t,i]of r.entries()){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan"),a=L(e,t);r.style.fontFamily=a.fontFamily,r.style.fontSize=`${a.fontSize}px`,r.style.lineHeight=a.lineHeight,r.style.fontFamily=a.fontFamily,r.style.letterSpacing=a.letterSpacing,r.textContent=i,r.setAttribute("x","0"),r.setAttribute("y",`${o}`),n.appendChild(r),o+=a.lineHeight*r.getBoundingClientRect().height}const{width:i}=n.getBoundingClientRect();return n.innerHTML="",{width:e?.angle?z(i,o,e?.angle):i,height:e?.angle?z(o,i,e?.angle):o}}),((t,e)=>`${Array.isArray(t)?t.join():t}::${Array.isArray(e)?e.map(W).join():W(e)}`)),R=(t,e)=>function(t,e,n){return void 0===n&&(n=!1),"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||n?N(t,e):D(t,e)}(t,e),F=t=>{const{data:e,style:n}=t;return e.map(((t,r)=>v(d()({},t.labels,n.labels),{datum:t,index:r,data:e})))},T=t=>{const{orientation:e,theme:n}=t,r=function(t,e){void 0===e&&(e={});const n=t.style||{};return{parent:d()(n.parent,e.parent,{height:"100%",width:"100%"}),data:d()({},n.data,e.data),labels:d()({},n.labels,e.labels),border:d()({},n.border,e.border),title:d()({},n.title,e.title)}}(t,n&&n.legend&&n.legend.style?n.legend.style:{}),o=(t=>{const{colorScale:e}=t;return"string"==typeof e?function(t){const e={grayscale:["#cccccc","#969696","#636363","#252525"],qualitative:["#334D5C","#45B29D","#EFC94C","#E27A3F","#DF5A49","#4F7DA1","#55DBC1","#EFDA97","#E2A37F","#DF948A"],heatmap:["#428517","#77D200","#D6D305","#EC8E19","#C92B05"],warm:["#940031","#C43343","#DC5429","#FF821D","#FFAF55"],cool:["#2746B9","#0B69D4","#2794DB","#31BB76","#60E83B"],red:["#FCAE91","#FB6A4A","#DE2D26","#A50F15","#750B0E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"]};return t?e[t]:e.grayscale}(e):e||[]})(t),i="horizontal"===e,a=m({padding:t.borderPadding});return Object.assign({},t,{style:r,isHorizontal:i,colorScale:o,borderPadding:a})},H=(t,e)=>{const{itemsPerRow:n,isHorizontal:r}=t;return n?r?e%n:Math.floor(e/n):r?e:0},B=(t,e)=>{const{itemsPerRow:n,isHorizontal:r}=t;return n?r?Math.floor(e/n):e%n:r?0:e},q=t=>{const{data:e}=t,n=t.style&&t.style.data||{},r=F(t);return e.map(((e,o)=>{const i=e.symbol||{},{fontSize:a}=r[o],s=i.size||n.size||a/2.5,c=t.symbolSpacer||Math.max(s,a);return{...e,size:s,symbolSpacer:c,fontSize:a,textSize:R(e.name,r[o]),column:H(t,o),row:B(t,o)}}))},K=(t,e)=>{const n=t.gutter||{},r="object"==typeof n?(n.left||0)+(n.right||0):n||0,o=u()(e,"column");return Object.keys(o).reduce(((t,e,n)=>{const i=o[e].map((t=>t.textSize.width+t.size+t.symbolSpacer+r));return t[n]=Math.max(...i),t}),[])},V=(t,e)=>{const n=t.rowGutter||{},r="object"==typeof n?(n.top||0)+(n.bottom||0):n||0,o=u()(e,"row");return Object.keys(o).reduce(((t,e,n)=>{const i=o[e].map((t=>t.textSize.height+t.symbolSpacer+r));return t[n]=Math.max(...i),t}),[])},G=t=>{const e=t.style&&t.style.title||{},n=R(t.title,e),r=e.padding||0;return{height:n.height+2*r||0,width:n.width+2*r||0}},U=(t,e)=>{const n=j(t,e,"legend"),r=Object.assign({},n,T(n)),{title:o,titleOrientation:i}=r,a=q(r),s=K(r,a),c=V(r,a),u=o?G(r):{height:0,width:0};return{height:"left"===i||"right"===i?Math.max(Z(c),u.height):Z(c)+u.height,width:"left"===i||"right"===i?Z(s)+u.width:Math.max(Z(s),u.width)}},Q=(t,e)=>{const n=j(t,e,"legend"),r=Object.assign({},n,T(n)),{data:o,standalone:i,theme:a,padding:c,style:u,colorScale:l,gutter:f,rowGutter:p,borderPadding:h,title:g,titleOrientation:y,name:m,x:b=0,y:v=0}=r,x=q(r),w=K(r,x),O=V(r,x),k=F(r),A=g?G(r):{height:0,width:0},S="left"===y?A.width:0,C="top"===y?A.height:0,$=f&&"object"==typeof f&&f.left||0,M=p&&"object"==typeof p&&p.top||0,{height:P,width:z}=U(r,e),I=((t,e,n)=>{const{x:r,y:o,borderPadding:i,style:a}=t;return{x:r,y:o,height:(e||0)+i.top+i.bottom,width:(n||0)+i.left+i.right,style:Object.assign({fill:"none"},a.border)}})(r,P,z),L=((t,e)=>{const{title:n,titleOrientation:r,centerTitle:o,borderPadding:i}=t,{height:a,width:s}=e,c=(t=>{const{titleOrientation:e,centerTitle:n,titleComponent:r}=t,o=t.style&&t.style.title||{},i=r.props&&r.props.style||{},a=((t,e)=>{const n={textAnchor:"right"===t?"end":"start",verticalAnchor:"bottom"===t?"end":"start"};if(e){const e="top"===t||"bottom"===t;return{textAnchor:e?"middle":n.textAnchor,verticalAnchor:e?n.verticalAnchor:"middle"}}return n})(e,n);return Array.isArray(i)?i.map((t=>d()({},t,o,a))):d()({},i,o,a)})(t),u=Array.isArray(c)?c[0].padding:c.padding,l="top"===r||"bottom"===r,f="right"===r?"right":"left",p={x:o?s/2:i["bottom"===r?"bottom":"top"]+(u||0),y:o?a/2:i[f]+(u||0)},h=()=>i[r]+(u||0),g=l?p.x:h(),y=l?h():p.y;return{x:"right"===r?t.x+s-g:t.x+g,y:"bottom"===r?t.y+a-y:t.y+y,style:c,text:n}})(r,I),N={parent:{data:o,standalone:i,theme:a,padding:c,name:m,height:r.height,width:r.width,style:u.parent},all:{border:I,title:L}};return x.reduce(((t,e,n)=>{const r=l[n%l.length],i=d()({},e.symbol,u.data,{fill:r}),a=E(e.eventKey)?n:e.eventKey,c=((t,e,n)=>{const{column:r,row:o}=t;return{x:s()(r).reduce(((t,e)=>t+n[e]),0),y:s()(o).reduce(((t,n)=>t+e[n]),0)}})(e,O,w),f=v+h.top+e.symbolSpacer,p=b+h.left+e.symbolSpacer,g={index:n,data:o,datum:e,symbol:i.type||i.symbol||"circle",size:e.size,style:i,y:f+c.y+C+M,x:p+c.x+S+$},y={datum:e,data:o,text:e.name,style:k[n],y:g.y,x:g.x+e.symbolSpacer+e.size/2};return t[a]={data:g,labels:y},t}),N)};function Z(t){if(t&&t.length){let e=0;for(let n=0;n<t.length;n++)e+=t[n];return e}return 0}function Y(){return Y=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Y.apply(this,arguments)}const X=(0,n.forwardRef)(((t,e)=>{const{desc:n,id:r,tabIndex:o,origin:a,...s}=t,c={vectorEffect:"non-scaling-stroke",id:b(r,t)?.toString(),tabIndex:b(o,t),...s};return n?i().createElement("rect",Y({},c,{ref:e}),i().createElement("desc",null,n)):i().createElement("rect",Y({},c,{ref:e}))})),J={rectComponent:i().createElement(X,null),role:"presentation",shapeRendering:"auto"},tt=t=>{const e=(t=>{const e=b(t.ariaLabel,t),n=b(t.desc,t),r=b(t.id,t),o=v(Object.assign({fill:"none"},t.style),t),i=b(t.tabIndex,t);return Object.assign({},t,{ariaLabel:e,desc:n,id:r,style:o,tabIndex:i})})({...J,...t});return i().cloneElement(e.rectComponent,{...e.events,"aria-label":e.ariaLabel,style:e.style,desc:e.desc,tabIndex:e.tabIndex,transform:e.transform,className:e.className,role:e.role,shapeRendering:e.shapeRendering,x:e.x,y:e.y,width:e.width,height:e.height,clipPath:e.clipPath})};var et=r(7709),nt=r.n(et),rt=r(660),ot=r.n(rt);class it extends i().Component{static displayName="Portal";constructor(t){super(t),this.map={},this.index=1}portalRegister=()=>++this.index;portalUpdate=(t,e)=>{this.map[t]=e,this.forceUpdate()};portalDeregister=t=>{delete this.map[t],this.forceUpdate()};getChildren(){return Object.keys(this.map).map((t=>{const e=this.map[t];return e?i().cloneElement(e,{key:t}):e}))}render(){return i().createElement("svg",this.props,this.getChildren())}}const at=i().createContext({});at.displayName="PortalContext";var st,ct,ut=0,lt=0,dt=0,ft=0,pt=0,ht=0,gt="object"==typeof performance&&performance.now?performance:Date,yt="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function mt(){return pt||(yt(bt),pt=gt.now()+ht)}function bt(){pt=0}function vt(){this._call=this._time=this._next=null}function xt(t,e,n){var r=new vt;return r.restart(t,e,n),r}function wt(){pt=(ft=gt.now())+ht,ut=lt=0;try{!function(){mt(),++ut;for(var t,e=st;e;)(t=pt-e._time)>=0&&e._call.call(void 0,t),e=e._next;--ut}()}finally{ut=0,function(){for(var t,e,n=st,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:st=e);ct=t,Ot(r)}(),pt=0}}function Et(){var t=gt.now(),e=t-ft;e>1e3&&(ht-=e,ft=t)}function Ot(t){ut||(lt&&(lt=clearTimeout(lt)),t-pt>24?(t<1/0&&(lt=setTimeout(wt,t-gt.now()-ht)),dt&&(dt=clearInterval(dt))):(dt||(ft=gt.now(),dt=setInterval(Et,1e3)),ut=1,yt(wt)))}vt.prototype=xt.prototype={constructor:vt,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?mt():+n)+(null==e?0:+e),this._next||ct===this||(ct?ct._next=this:st=this,ct=this),this._call=t,this._time=n,Ot()},stop:function(){this._call&&(this._call=null,this._time=1/0,Ot())}};class jt{constructor(){this.shouldAnimate=!0,this.subscribers=[],this.timer=null,this.activeSubscriptions=0}bypassAnimation(){this.shouldAnimate=!1}resumeAnimation(){this.shouldAnimate=!0}loop=()=>{this.subscribers.forEach((t=>{t.callback(mt()-t.startTime,t.duration)}))};start(){this.timer||(this.timer=xt(this.loop))}stop(){this.timer&&(this.timer.stop(),this.timer=null)}subscribe(t,e){const n=this.subscribers.push({startTime:mt(),callback:t,duration:this.shouldAnimate?e:0});return this.activeSubscriptions++,this.start(),n}unsubscribe(t){null!==t&&this.subscribers[t-1]&&(delete this.subscribers[t-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}const kt=i().createContext({transitionTimer:new jt,animationTimer:new jt});kt.displayName="TimerContext";var At=kt;const St={startsWith:["data-","aria-"],exactMatch:[]},Ct=t=>{const e={...t};return Object.fromEntries(Object.entries(e).filter((t=>{let[e]=t;return(t=>!(!(t=>{let e=!1;return St.startsWith.forEach((n=>{new RegExp(`\\b(${n})(\\w|-)+`,"g").test(t)&&(e=!0)})),e})(t)&&!(t=>St.exactMatch.includes(t))(t)))(e)})).map((e=>{let[n,r]=e;return[n,b(r,t)]})))};function $t(){return $t=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},$t.apply(this,arguments)}class Mt extends i().Component{static displayName="VictoryContainer";static role="container";static defaultProps={className:"VictoryContainer",portalComponent:i().createElement(it,null),portalZIndex:99,responsive:!0,role:"img"};static contextType=At;constructor(t){super(t),this.containerId=nt()(t)&&void 0!==t.containerId?t.containerId:ot()("victory-container-"),this.shouldHandleWheel=!!(t&&t.events&&t.events.onWheel)}savePortalRef=t=>(this.portalRef=t,t);portalUpdate=(t,e)=>this.portalRef.portalUpdate(t,e);portalRegister=()=>this.portalRef.portalRegister();portalDeregister=t=>this.portalRef.portalDeregister(t);saveContainerRef=t=>(O(this.props.containerRef)&&this.props.containerRef(t),this.containerRef=t,t);handleWheel=t=>t.preventDefault();componentDidMount(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}componentWillUnmount(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}getIdForElement(t){return`${this.containerId}-${t}`}getChildren(t){return t.children}getOUIAProps(t){const{ouiaId:e,ouiaSafe:n,ouiaType:r}=t;return{...e&&{"data-ouia-component-id":e},...r&&{"data-ouia-component-type":r},...void 0!==n&&{"data-ouia-safe":n}}}renderContainer(t,e,n){const{title:r,desc:o,portalComponent:a,className:s,width:c,height:u,portalZIndex:l,responsive:f}=t,p=this.getChildren(t),h=f?{width:"100%",height:"100%"}:{width:c,height:u},g=Object.assign({pointerEvents:"none",touchAction:"none",position:"relative"},h),y=Object.assign({zIndex:l,position:"absolute",top:0,left:0},h),m=Object.assign({pointerEvents:"all"},h),b=Object.assign({overflow:"visible"},h),v={width:c,height:u,viewBox:e.viewBox,preserveAspectRatio:e.preserveAspectRatio,style:b};return i().createElement(at.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},i().createElement("div",$t({style:d()({},n,g),className:s,ref:this.saveContainerRef},this.getOUIAProps(t)),i().createElement("svg",$t({},e,{style:m}),r?i().createElement("title",{id:this.getIdForElement("title")},r):null,o?i().createElement("desc",{id:this.getIdForElement("desc")},o):null,p),i().createElement("div",{style:y},i().cloneElement(a,{...v,ref:this.savePortalRef}))))}render(){const{width:t,height:e,responsive:n,events:r,title:o,desc:i,tabIndex:a,preserveAspectRatio:s,role:c}=this.props,u=n?this.props.style:g(this.props.style,["height","width"]),l=Ct(this.props),d=Object.assign({width:t,height:e,tabIndex:a,role:c,"aria-labelledby":[o&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[i&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:n?`0 0 ${t} ${e}`:void 0,preserveAspectRatio:n?s:void 0,...l},r);return this.renderContainer(this.props,d,u)}}function Pt(t,e,n){return`M ${t}, ${e}\n m ${-n}, 0\n a ${n}, ${n} 0 1,0 ${2*n},0\n a ${n}, ${n} 0 1,0 ${2*-n},0`}function zt(t,e,n){const r=.87*n,o=t-r,i=t+r-o;return`M ${o}, ${e+r}\n h${i}\n v-${i}\n h-${i}\n z`}function It(t,e,n){const r=.87*n,o=Math.sqrt(r*r*2);return`M ${t}, ${e+o}\n l ${o}, -${o}\n l -${o}, -${o}\n l -${o}, ${o}\n l ${o}, ${o}\n z`}function Lt(t,e,n){const r=e-n;return`M ${t-n}, ${r}\n L ${t+n}, ${r}\n L ${t}, ${e+n/2*Math.sqrt(3)}\n z`}function Nt(t,e,n){const r=e+n;return`M ${t-n}, ${r}\n L ${t+n}, ${r}\n L ${t}, ${e-n/2*Math.sqrt(3)}\n z`}function _t(t,e,n){const r=1.1*n,o=r/1.5;return`\n M ${t-o/2}, ${e+r}\n v-${o}\n h-${o}\n v-${o}\n h${o}\n v-${o}\n h${o}\n v${o}\n h${o}\n v${o}\n h-${o}\n v${o}\n z`}function Wt(t,e,n){const r=.8*n,o=r/1.5;return`\n M ${t-o/2}, ${e+r+o}\n v-${2*o}\n h-${o}\n v-${o}\n h${o}\n v-${o}\n h${o}\n v${o}\n h${o}\n v${o}\n h-${o}\n v${2*o}\n z`}function Dt(t,e,n){const r=1.1*n,o=r-.3*r,i=t-r,a=t+r-i;return`M ${i}, ${e+o/2}\n h${a}\n v-${o}\n h-${a}\n z`}function Rt(t,e,n){const r=1.35*n,o=Math.PI/5;return`M ${function(t,e,n){let r=10;r||(r=0);const o=r-0,i=Math.abs(o),a=o/i||1,s=Math.max(Math.ceil(i/1),0);return Array.from(Array(s),((t,e)=>0+e*a*1))}().map((n=>{const i=n%2==0?r:r/2;return`${i*Math.sin(o*(n+1))+t},\n ${i*Math.cos(o*(n+1))+e}`})).join("L")} z`}function Ft(){return Ft=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ft.apply(this,arguments)}const Tt=(0,n.forwardRef)(((t,e)=>{const{desc:n,id:r,tabIndex:o,origin:a,...s}=t,c={id:b(r,t)?.toString(),tabIndex:b(o,t),...s};return n?i().createElement("path",Ft({},c,{ref:e}),i().createElement("desc",null,n)):i().createElement("path",Ft({},c,{ref:e}))})),Ht=e=>{const{x:n,y:r,size:o,symbol:i}=e;return e.getPath?e.getPath(n,r,o):("function"==typeof t[i]?t[i]:t.circle)(n,r,o)},Bt={pathComponent:i().createElement(Tt,null),role:"presentation",shapeRendering:"auto"},qt=t=>{const e=(t=>{const e=b(t.ariaLabel,t),n=b(t.desc,t),r=b(t.id,t),o=b(t.size,t),i=v(t.style,t),a=b(t.symbol,t),s=b(t.tabIndex,t);return Object.assign({},t,{ariaLabel:e,desc:n,id:r,size:o,style:i,symbol:a,tabIndex:s})})({...Bt,...t}),n=Ct(e);return i().cloneElement(e.pathComponent,{...e.events,"aria-label":e.ariaLabel,d:Ht(e),style:e.style,desc:e.desc,tabIndex:e.tabIndex,role:e.role,shapeRendering:e.shapeRendering,className:e.className,transform:e.transform,clipPath:e.clipPath,...n})};var Kt=r(4155),Vt=r.n(Kt);class Gt extends i().Component{static displayName="VictoryPortal";static role="portal";static defaultProps={groupComponent:i().createElement("g",null)};static contextType=at;componentDidMount(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}componentDidUpdate(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}componentWillUnmount(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}renderPortal(t){return this.renderInPlace?t:(this.element=t,null)}render(){const t=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,{groupComponent:e}=this.props,n=t&&t.props||{},r=n.groupComponent?{groupComponent:e,standalone:!1}:{},o=d()(r,n,g(this.props,["children","groupComponent"])),a=t&&i().cloneElement(t,o);return this.renderPortal(a)}}const Ut=t=>{const{children:e,desc:n,id:r,origin:o,tabIndex:a,title:s,...c}=t,u={id:b(r,t)?.toString(),tabIndex:b(a,t),...c};return i().createElement("text",u,s&&i().createElement("title",null,s),n&&i().createElement("desc",null,n),e)},Qt=t=>{const{desc:e,id:n,tabIndex:r,origin:o,...a}=t,s={id:b(n,t)?.toString(),tabIndex:b(r,t),...a};return i().createElement("tspan",s)};const Zt={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},Yt=(t,e)=>{if(!t.datum)return 0;const n=function(t,e){const{scale:n,polar:r,horizontal:o}=t,i=y(e),a=t.origin||{x:0,y:0},s=o?n.y(i.y):n.x(i.x),c=o?n.y(i.y0):n.x(i.x0),u=o?n.x(i.x):n.y(i.y),l=o?n.x(i.x0):n.y(i.y0);return{x:r?u*Math.cos(s)+a.x:s,x0:r?l*Math.cos(c)+a.x:c,y:r?-u*Math.sin(s)+a.y:u,y0:r?-l*Math.sin(c)+a.x:l}}(t,t.datum);return n[e]},Xt=t=>{const e=t&&t.fontSize;if("number"==typeof e)return e;if(null==e)return Zt.fontSize;if("string"==typeof e){const t=Number(e.replace("px",""));return isNaN(t)?Zt.fontSize:t}return Zt.fontSize},Jt=function(t,e){return void 0===e&&(e=0),Array.isArray(t)?t[e]||t[0]:t},te=t=>{const{backgroundStyle:e,backgroundPadding:n}=t;return Array.isArray(e)&&!Vt()(e)||Array.isArray(n)&&!Vt()(n)},ee=(t,e,n)=>{const{polar:r}=t,o=Jt(t.style),i=r?function(t,e){const{labelPlacement:n,datum:r}=t;if(!n||"vertical"===n)return 0;const o=function(t,e){const{x:n}=y(e);return("number"==typeof(r=t.scale.x(n))?r/(Math.PI/180):r)%360;var r}(t,r);let 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)}(t):0,a=void 0===o.angle?b(t.angle,t):o.angle,s=void 0===a?i:a,c=t.transform||o.transform,u=c&&b(c,t);return u||s?f(u,s&&{rotate:[s,e,n]}):void 0},ne=(t,e)=>{const{direction:n,textAnchor:r,x:o,dx:i}=t;if("rtl"===n)return o-e;switch(r){case"middle":return Math.round(o-e/2);case"end":return Math.round(o-e);default:return o+(i||0)}},re=(t,e)=>{const{verticalAnchor:n,y:r,originalDy:o=0}=t,i=r+o;switch(n){case"start":return Math.floor(i);case"end":return Math.ceil(i-e);default:return Math.floor(i-e/2)}},oe=(t,e)=>te(t)?((t,e)=>{const{dy:n,dx:r,transform:o,backgroundStyle:a,backgroundPadding:s,backgroundComponent:c,inline:u,y:l}=t,f=e.map(((t,o)=>{const i=Jt(e,o-1),a=t.textSize,c=t.fontSize*t.lineHeight,d=Math.ceil(c),f=Jt(s,o),p=Jt(s,o-1),h=u&&r||0,g=o&&!u?i.fontSize*i.lineHeight+p.top+p.bottom:n-.5*c-(t.fontSize-t.capHeight);return{textHeight:d,labelSize:a,heightWithPadding:d+f.top+f.bottom,widthWithPadding:a.width+f.left+f.right+h,y:l,fontSize:t.fontSize,dy:g}}));return f.map(((e,n)=>{const r=ne(t,e.labelSize.width),p=f.slice(0,n+1).reduce(((t,e)=>t+e.dy),l),h=Jt(s,n),g=e.heightWithPadding,y=u?((t,e,n)=>{const{textAnchor:r}=t,o=e.map((t=>t.widthWithPadding)),i=-o.reduce(((t,e)=>t+e),0)/2;switch(r){case"start":return o.reduce(((t,e,r)=>r<n?t+e:t),0);case"end":return o.reduce(((t,e,r)=>r>n?t-e:t),0);default:return o.reduce(((t,e,r)=>r===n?t+e/2:t+(r<n?e:0)),i)}})(t,f,n)+r-h.left:r,m=u?re(t,g)-h.top:p,b={key:`tspan-background-${n}`,height:g,style:Jt(a,n),width:e.widthWithPadding,transform:o,x:y-h.left,y:m};return i().cloneElement(c,d()({},c.props,b))}))})(t,e):((t,e)=>{const{dx:n=0,transform:r,backgroundComponent:o,backgroundStyle:a,inline:s,backgroundPadding:c,capHeight:u}=t,l=e.map((t=>t.textSize)),f=s?Math.max(...l.map((t=>t.height))):l.reduce(((t,n,r)=>{const o=r?0:u/2;return t+n.height*(e[r].lineHeight-o)}),0),p=s?l.reduce(((t,e,r)=>{const o=r?n:0;return t+e.width+o}),0):Math.max(...l.map((t=>t.width))),h=ne(t,p),g=re(t,f),y={key:"background",height:f+c.top+c.bottom,style:a,transform:r,width:p+c.left+c.right,x:s?h-c.left:h+n-c.left,y:g};return i().cloneElement(o,d()({},o.props,y))})(t,e),ie=(t,e,n)=>{const{inline:r}=e,o=Jt(t,n);return n&&!r?((t,e,n)=>{const r=Jt(t,e),o=Jt(t,e-1),i=o.fontSize*o.lineHeight,a=r.fontSize*r.lineHeight,s=o.fontSize-o.capHeight,c=r.fontSize-r.capHeight,u=i-o.fontSize/2+r.fontSize/2-i/2+a/2-c/2+s/2;return te(n)?u+r.backgroundPadding.top+o.backgroundPadding.bottom:u})(t,n,e):r?0===n?o.backgroundPadding.top:void 0:o.backgroundPadding.top},ae={backgroundComponent:i().createElement(X,null),groupComponent:i().createElement("g",null),direction:"inherit",textComponent:i().createElement(Ut,null),tspanComponent:i().createElement(Qt,null),capHeight:.71,lineHeight:1},se=t=>{const e=(t=>{const e=((t,e)=>{if(null==t)return;if(Array.isArray(t))return t.map((t=>b(t,e)));const n=b(t,e);return null!=n?Array.isArray(n)?n:`${n}`.split("\n"):void 0})(t.text,t),n=((t,e)=>{if(e.disableInlineStyles){const n=v(t,e);return{fontSize:Xt(n)}}const n=t=>{const n=v(t?d()({},t,Zt):Zt,e);return Object.assign({},n,{fontSize:Xt(n)})};return Array.isArray(t)&&!Vt()(t)?t.map((t=>n(t))):n(t)})(t.style,Object.assign({},t,{text:e})),r=((t,e)=>{if(t)return Array.isArray(t)&&!Vt()(t)?t.map((t=>v(t,e))):v(t,e)})(t.backgroundStyle,Object.assign({},t,{text:e,style:n})),o=(t=>t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((e=>m({padding:b(e,t)}))):m({padding:b(t.backgroundPadding,t)}))(Object.assign({},t,{text:e,style:n,backgroundStyle:r})),i=b(t.id,t);return Object.assign({},t,{backgroundStyle:r,backgroundPadding:o,style:n,text:e,id:i})})({...ae,...t});if(null===e.text||void 0===e.text)return null;const n=(t=>{const e=b(t.ariaLabel,t),n=Jt(t.style),r=(t=>{const e=b(t.lineHeight,t);return Array.isArray(e)&&Vt()(e)?[1]:e})(t),o=t.direction?b(t.direction,t):"inherit",i=t.textAnchor?b(t.textAnchor,t):n.textAnchor||"start",a=t.verticalAnchor?b(t.verticalAnchor,t):n.verticalAnchor||"middle",s=t.dx?b(t.dx,t):0,c=((t,e,n)=>{const r=t.dy?b(t.dy,t):0,o=t.inline?1:t.text.length,i=b(t.capHeight,t),a=e?b(e,t):"middle",s=[...Array(o).keys()].map((e=>Jt(t.style,e).fontSize)),c=[...Array(o).keys()].map((t=>Jt(n,t)));if("start"===a)return r+(i/2+c[0]/2)*s[0];if(t.inline)return"end"===a?r+(i/2-c[0]/2)*s[0]:r+i/2*s[0];if(1===o)return"end"===a?r+(i/2+(.5-o)*c[0])*s[0]:r+(i/2+(.5-o/2)*c[0])*s[0];const u=[...Array(o).keys()].reduce(((t,e)=>t+(i/2+(.5-o)*c[e])*s[e]/o),0);return"end"===a?r+u:r+u/2+i/2*c[o-1]*s[o-1]})(t,a,r),u=void 0!==t.x?t.x:Yt(t,"x"),l=void 0!==t.y?t.y:Yt(t,"y"),d=ee(t,u,l);return Object.assign({},t,{ariaLabel:e,lineHeight:r,direction:o,textAnchor:i,verticalAnchor:a,dx:s,dy:c,originalDy:b(t.dy,t),transform:d,x:u,y:l})})(e),{text:r,style:o,capHeight:a,backgroundPadding:s,lineHeight:c}=n,u=r.map(((t,e)=>{const n=Jt(o,e),r=I(`${a}em`,n.fontSize),i=Jt(c,e);return{style:n,fontSize:n.fontSize||Zt.fontSize,capHeight:r,text:t,textSize:R(t,n),lineHeight:i,backgroundPadding:Jt(s,e)}})),l=((t,e)=>{const{ariaLabel:n,inline:r,className:o,title:a,events:s,direction:c,text:u,textAnchor:l,dx:d,dy:f,transform:p,x:h,y:g,desc:y,id:m,tabIndex:v,tspanComponent:x,textComponent:w}=t,E=Ct(t),O={"aria-label":n,key:"text",...s,direction:c,dx:d,x:h,y:g+f,transform:p,className:o,title:a,desc:b(y,t),tabIndex:b(v,t),id:m,...E},j=u.map(((n,o)=>{const a=e[o].style,s={key:`${m}-key-${o}`,x:r?void 0:h,dx:r?d+e[o].backgroundPadding.left:d,dy:ie(e,t,o),textAnchor:a.textAnchor||l,style:a,children:n};return i().cloneElement(x,s)}));return i().cloneElement(w,O,j)})(n,u);if(e.backgroundStyle){const t=[oe(n,u),l],r=i().cloneElement(e.groupComponent,{},t);return e.renderInPortal?i().createElement(Gt,null,r):r}return e.renderInPortal?i().createElement(Gt,null,l):l};se.displayName="VictoryLabel",se.role="label",se.defaultStyles=Zt;const ce=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],ue="#252525",le="#969696",de={width:450,height:300,padding:50,colorScale:ce},fe={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:ue,stroke:"transparent"},pe=Object.assign({textAnchor:"middle"},fe),he={area:Object.assign({style:{data:{fill:ue},labels:fe}},de),axis:Object.assign({style:{axis:{fill:"transparent",stroke:ue,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},pe,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:fe}},de),bar:Object.assign({style:{data:{fill:ue,padding:8,strokeWidth:0},labels:fe}},de),boxplot:Object.assign({style:{max:{padding:8,stroke:ue,strokeWidth:1},maxLabels:Object.assign({},fe,{padding:3}),median:{padding:8,stroke:ue,strokeWidth:1},medianLabels:Object.assign({},fe,{padding:3}),min:{padding:8,stroke:ue,strokeWidth:1},minLabels:Object.assign({},fe,{padding:3}),q1:{padding:8,fill:le},q1Labels:Object.assign({},fe,{padding:3}),q3:{padding:8,fill:le},q3Labels:Object.assign({},fe,{padding:3})},boxWidth:20},de),candlestick:Object.assign({style:{data:{stroke:ue,strokeWidth:1},labels:Object.assign({},fe,{padding:5})},candleColors:{positive:"#ffffff",negative:ue}},de),chart:de,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:ue,strokeWidth:2},labels:fe}},de),group:Object.assign({colorScale:ce},de),histogram:Object.assign({style:{data:{fill:le,stroke:ue,strokeWidth:2},labels:fe}},de),legend:{colorScale:ce,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:fe,title:Object.assign({},fe,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:ue,strokeWidth:2},labels:fe}},de),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},fe,{padding:20})},colorScale:ce,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:ue,stroke:"transparent",strokeWidth:0},labels:fe}},de),stack:Object.assign({colorScale:ce},de),tooltip:{style:Object.assign({},fe,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:ue,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},fe,{padding:5,pointerEvents:"none"}),flyout:{stroke:ue,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},de)},ge=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],ye="#ECEFF1",me="#90A4AE",be="#455A64",ve="#212121",xe={width:350,height:350,padding:50},we={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:be,stroke:"transparent",strokeWidth:0},Ee=Object.assign({textAnchor:"middle"},we),Oe="round",je="round",ke=(Object.assign({style:{data:{fill:ve},labels:we}},xe),Object.assign({style:{axis:{fill:"transparent",stroke:me,strokeWidth:2,strokeLinecap:Oe,strokeLinejoin:je},axisLabel:Object.assign({},Ee,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:ye,strokeDasharray:"10, 5",strokeLinecap:Oe,strokeLinejoin:je,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:me,strokeWidth:1,strokeLinecap:Oe,strokeLinejoin:je},tickLabels:Object.assign({},we,{fill:be})}},xe),Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),Object.assign({style:{data:{fill:be,padding:8,strokeWidth:0},labels:we}},xe),Object.assign({style:{max:{padding:8,stroke:be,strokeWidth:1},maxLabels:Object.assign({},we,{padding:3}),median:{padding:8,stroke:be,strokeWidth:1},medianLabels:Object.assign({},we,{padding:3}),min:{padding:8,stroke:be,strokeWidth:1},minLabels:Object.assign({},we,{padding:3}),q1:{padding:8,fill:be},q1Labels:Object.assign({},we,{padding:3}),q3:{padding:8,fill:be},q3Labels:Object.assign({},we,{padding:3})},boxWidth:20},xe),Object.assign({style:{data:{stroke:be},labels:Object.assign({},we,{padding:5})},candleColors:{positive:"#ffffff",negative:be}},xe),Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:be,strokeWidth:2},labels:we}},xe),Object.assign({colorScale:ge},xe),Object.assign({style:{data:{fill:be,stroke:ve,strokeWidth:2},labels:we}},xe),Object.assign({},we,{padding:5}),Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:be,strokeWidth:2},labels:we}},xe),Object.assign({colorScale:ge,style:{data:{padding:8,stroke:ye,strokeWidth:1},labels:Object.assign({},we,{padding:20})}},xe),Object.assign({style:{data:{fill:be,opacity:1,stroke:"transparent",strokeWidth:0},labels:we}},xe),Object.assign({colorScale:ge},xe),Object.assign({},we,{padding:0,pointerEvents:"none"}),Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},we,{padding:5,pointerEvents:"none"}),flyout:{stroke:ve,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},xe),he);var Ae=r(7491),Se=r.n(Ae);const Ce=t=>+t;function $e(t){return t*t}function Me(t){return t*(2-t)}function Pe(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function ze(t){return t*t*t}function Ie(t){return--t*t*t+1}function Le(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var Ne=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),_e=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),We=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3),De=Math.PI,Re=De/2;function Fe(t){return 1==+t?1:1-Math.cos(t*Re)}function Te(t){return Math.sin(t*Re)}function He(t){return(1-Math.cos(De*t))/2}function Be(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function qe(t){return Be(1-+t)}function Ke(t){return 1-Be(t)}function Ve(t){return((t*=2)<=1?Be(1-t):2-Be(t-1))/2}function Ge(t){return 1-Math.sqrt(1-t*t)}function Ue(t){return Math.sqrt(1- --t*t)}function Qe(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var Ze=7.5625;function Ye(t){return 1-Xe(1-t)}function Xe(t){return(t=+t)<.36363636363636365?Ze*t*t:t<.7272727272727273?Ze*(t-=.5454545454545454)*t+.75:t<.9090909090909091?Ze*(t-=.8181818181818182)*t+.9375:Ze*(t-=.9545454545454546)*t+.984375}function Je(t){return((t*=2)<=1?1-Xe(1-t):Xe(t-1)+1)/2}var tn=1.70158,en=function t(e){function n(t){return(t=+t)*t*(e*(t-1)+t)}return e=+e,n.overshoot=t,n}(tn),nn=function t(e){function n(t){return--t*t*((t+1)*e+t)+1}return e=+e,n.overshoot=t,n}(tn),rn=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(tn),on=2*Math.PI,an=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=on);function o(t){return e*Be(- --t)*Math.sin((r-t)/n)}return o.amplitude=function(e){return t(e,n*on)},o.period=function(n){return t(e,n)},o}(1,.3),sn=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=on);function o(t){return 1-e*Be(t=+t)*Math.sin((t+r)/n)}return o.amplitude=function(e){return t(e,n*on)},o.period=function(n){return t(e,n)},o}(1,.3),cn=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=on);function o(t){return((t=2*t-1)<0?e*Be(-t)*Math.sin((r-t)/n):2-e*Be(t)*Math.sin((r+t)/n))/2}return o.amplitude=function(e){return t(e,n*on)},o.period=function(n){return t(e,n)},o}(1,.3),un=r(4143),ln=r.n(un),dn=r(3849),fn=r.n(dn);function pn(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function hn(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function gn(){}var yn=.7,mn=1/yn,bn="\\s*([+-]?\\d+)\\s*",vn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",xn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",wn=/^#([0-9a-f]{3,8})$/,En=new RegExp(`^rgb\\(${bn},${bn},${bn}\\)$`),On=new RegExp(`^rgb\\(${xn},${xn},${xn}\\)$`),jn=new RegExp(`^rgba\\(${bn},${bn},${bn},${vn}\\)$`),kn=new RegExp(`^rgba\\(${xn},${xn},${xn},${vn}\\)$`),An=new RegExp(`^hsl\\(${vn},${xn},${xn}\\)$`),Sn=new RegExp(`^hsla\\(${vn},${xn},${xn},${vn}\\)$`),Cn={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 $n(){return this.rgb().formatHex()}function Mn(){return this.rgb().formatRgb()}function Pn(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=wn.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?zn(e):3===n?new _n(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?In(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?In(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=En.exec(t))?new _n(e[1],e[2],e[3],1):(e=On.exec(t))?new _n(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=jn.exec(t))?In(e[1],e[2],e[3],e[4]):(e=kn.exec(t))?In(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=An.exec(t))?Hn(e[1],e[2]/100,e[3]/100,1):(e=Sn.exec(t))?Hn(e[1],e[2]/100,e[3]/100,e[4]):Cn.hasOwnProperty(t)?zn(Cn[t]):"transparent"===t?new _n(NaN,NaN,NaN,0):null}function zn(t){return new _n(t>>16&255,t>>8&255,255&t,1)}function In(t,e,n,r){return r<=0&&(t=e=n=NaN),new _n(t,e,n,r)}function Ln(t){return t instanceof gn||(t=Pn(t)),t?new _n((t=t.rgb()).r,t.g,t.b,t.opacity):new _n}function Nn(t,e,n,r){return 1===arguments.length?Ln(t):new _n(t,e,n,null==r?1:r)}function _n(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Wn(){return`#${Tn(this.r)}${Tn(this.g)}${Tn(this.b)}`}function Dn(){const t=Rn(this.opacity);return`${1===t?"rgb(":"rgba("}${Fn(this.r)}, ${Fn(this.g)}, ${Fn(this.b)}${1===t?")":`, ${t})`}`}function Rn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Fn(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Tn(t){return((t=Fn(t))<16?"0":"")+t.toString(16)}function Hn(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new qn(t,e,n,r)}function Bn(t){if(t instanceof qn)return new qn(t.h,t.s,t.l,t.opacity);if(t instanceof gn||(t=Pn(t)),!t)return new qn;if(t instanceof qn)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,o=Math.min(e,n,r),i=Math.max(e,n,r),a=NaN,s=i-o,c=(i+o)/2;return s?(a=e===i?(n-r)/s+6*(n<r):n===i?(r-e)/s+2:(e-n)/s+4,s/=c<.5?i+o:2-i-o,a*=60):s=c>0&&c<1?0:a,new qn(a,s,c,t.opacity)}function qn(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Kn(t){return(t=(t||0)%360)<0?t+360:t}function Vn(t){return Math.max(0,Math.min(1,t||0))}function Gn(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function Un(t,e,n,r,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*e+(4-6*i+3*a)*n+(1+3*t+3*i-3*a)*r+a*o)/6}pn(gn,Pn,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:$n,formatHex:$n,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Bn(this).formatHsl()},formatRgb:Mn,toString:Mn}),pn(_n,Nn,hn(gn,{brighter(t){return t=null==t?mn:Math.pow(mn,t),new _n(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?yn:Math.pow(yn,t),new _n(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new _n(Fn(this.r),Fn(this.g),Fn(this.b),Rn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Wn,formatHex:Wn,formatHex8:function(){return`#${Tn(this.r)}${Tn(this.g)}${Tn(this.b)}${Tn(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Dn,toString:Dn})),pn(qn,(function(t,e,n,r){return 1===arguments.length?Bn(t):new qn(t,e,n,null==r?1:r)}),hn(gn,{brighter(t){return t=null==t?mn:Math.pow(mn,t),new qn(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?yn:Math.pow(yn,t),new qn(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,o=2*n-r;return new _n(Gn(t>=240?t-240:t+120,o,r),Gn(t,o,r),Gn(t<120?t+240:t-120,o,r),this.opacity)},clamp(){return new qn(Kn(this.h),Vn(this.s),Vn(this.l),Rn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Rn(this.opacity);return`${1===t?"hsl(":"hsla("}${Kn(this.h)}, ${100*Vn(this.s)}%, ${100*Vn(this.l)}%${1===t?")":`, ${t})`}`}}));var Qn=t=>()=>t;function Zn(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):Qn(isNaN(t)?e:t)}var Yn=function t(e){var n=function(t){return 1==(t=+t)?Zn:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Qn(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=Nn(t)).r,(e=Nn(e)).r),o=n(t.g,e.g),i=n(t.b,e.b),a=Zn(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=o(e),t.b=i(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function Xn(t){return function(e){var n,r,o=e.length,i=new Array(o),a=new Array(o),s=new Array(o);for(n=0;n<o;++n)r=Nn(e[n]),i[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return i=t(i),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=i(t),r.g=a(t),r.b=s(t),r+""}}}function Jn(t,e){var n,r=e?e.length:0,o=t?Math.min(r,t.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=sr(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<o;++n)a[n]=i[n](t);return a}}function tr(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function er(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function nr(t,e){var n,r={},o={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=sr(t[n],e[n]):o[n]=e[n];return function(t){for(n in r)o[n]=r[n](t);return o}}Xn((function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),o=t[r],i=t[r+1],a=r>0?t[r-1]:2*o-i,s=r<e-1?t[r+2]:2*i-o;return Un((n-r/e)*e,a,o,i,s)}})),Xn((function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),o=t[(r+e-1)%e],i=t[r%e],a=t[(r+1)%e],s=t[(r+2)%e];return Un((n-r/e)*e,o,i,a,s)}}));var rr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,or=new RegExp(rr.source,"g");function ir(t,e){var n,r,o,i=rr.lastIndex=or.lastIndex=0,a=-1,s=[],c=[];for(t+="",e+="";(n=rr.exec(t))&&(r=or.exec(e));)(o=r.index)>i&&(o=e.slice(i,o),s[a]?s[a]+=o:s[++a]=o),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,c.push({i:a,x:er(n,r)})),i=or.lastIndex;return i<e.length&&(o=e.slice(i),s[a]?s[a]+=o:s[++a]=o),s.length<2?c[0]?function(t){return function(e){return t(e)+""}}(c[0].x):function(t){return function(){return t}}(e):(e=c.length,function(t){for(var n,r=0;r<e;++r)s[(n=c[r]).i]=n.x(t);return s.join("")})}function ar(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,o=e.slice();return function(i){for(n=0;n<r;++n)o[n]=t[n]*(1-i)+e[n]*i;return o}}function sr(t,e){var n,r,o=typeof e;return null==e||"boolean"===o?Qn(e):("number"===o?er:"string"===o?(n=Pn(e))?(e=n,Yn):ir:e instanceof Pn?Yn:e instanceof Date?tr:(r=e,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(e)?Jn:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?nr:er:ar))(t,e)}const cr=function(t){if(null!==t)switch(typeof t){case"undefined":case"boolean":return!1;case"number":return!isNaN(t)&&t!==Number.POSITIVE_INFINITY&&t!==Number.NEGATIVE_INFINITY;case"string":case"function":return!0;case"object":return t instanceof Date||Array.isArray(t)||fn()(t)}return!1},ur=function(t,e,n){return void 0===n&&(n=0),function(r){return r<n?t:e}},lr=function(t,e){return function(n){return n>=1?e:function(){const r="function"==typeof t?t.apply(this,arguments):t,o="function"==typeof e?e.apply(this,arguments):e;return sr(r,o)(n)}}},dr=function(t,e){const n=t=>Array.isArray(t)?ln()(t,"key"):t,r={},o={};let i,a=t,s=e;for(i in null!==a&&"object"==typeof a||(a={}),null!==s&&"object"==typeof s||(s={}),s)i in a?r[i]=(c=n(a[i]))!==(u=n(s[i]))&&cr(c)&&cr(u)?"function"==typeof c||"function"==typeof u?lr(c,u):"object"==typeof c&&fn()(c)||"object"==typeof u&&fn()(u)?dr(c,u):sr(c,u):ur(c,u):o[i]=s[i];var c,u;return function(t){for(i in r)o[i]=r[i](t);return o}},fr=1e3,pr=t=>{let{duration:n=fr,easing:r="quadInOut",delay:o=0,data:a,children:s,onEnd:c}=t;const[u,l]=i().useState({data:Array.isArray(a)?a[0]:a,animationInfo:{progress:0,animating:!1}}),d=i().useContext(At).animationTimer,f=i().useRef(Array.isArray(a)?a.slice(1):[]),p=i().useRef(null),h=i().useRef(void 0),g=e[(y=r,`ease${y.charAt(0).toUpperCase()+y.slice(1)}`)];var y;i().useEffect((()=>(f.current.length&&m(),()=>{h.current?d.unsubscribe(h.current):d.stop()})),[]),i().useEffect((()=>{p.current&&u.animationInfo&&u.animationInfo.progress<1?l({data:p.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}):(d.unsubscribe(h.current),f.current=Array.isArray(a)?a:[a],m())}),[a]);const m=()=>{if(f.current.length){const r=f.current[0];p.current=(t=u.data)!==(e=r)&&cr(t)&&cr(e)?"function"==typeof t||"function"==typeof e?lr(t,e):fn()(t)||fn()(e)?dr(t,e):"string"==typeof t||"string"==typeof e?function(t,e){const n=t=>"string"==typeof t?t.replace(/,/g,""):t;return sr(n(t),n(e))}(t,e):sr(t,e):ur(t,e),o?setTimeout((()=>{h.current=d.subscribe(b,n)}),o):h.current=d.subscribe(b,n)}else c&&c();var t,e},b=t=>{if(!p.current)return;const e=n?t/n:1;if(e>=1)return l({data:p.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),h.current&&d.unsubscribe(h.current),f.current.shift(),void m();l({data:p.current(g(e)),animationInfo:{progress:e,animating:e<1}})};return s(u.data,u.animationInfo)};function hr(t){return Array.isArray(t)&&t.some((t=>t instanceof Date))}function gr(t,e){return t&&e?t.filter((t=>!e.includes(t))):[]}function yr(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];const o=t.concat(n);return hr(o)?new Date(Math.max(...o)):Math.max(...o)}function mr(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];const o=t.concat(n);return hr(o)?new Date(Math.min(...o)):Math.min(...o)}var br=r(5346),vr=r.n(br);function xr(t,e){return(t.key||e).toString()}function wr(t){return t.reduce(((t,e,n)=>(t[xr(e,n)]=e,t)),{})}function Er(t,e){let n=!1;const r=Object.keys(t).reduce(((t,r)=>(r in e||(n=!0,t[r]=!0),t)),{});return n&&r}function Or(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function jr(t,e){let n=!1,r=!1;const o=(t,e)=>t.map(((a,s)=>a&&a.props&&a.props.children&&e[s]?o(i().Children.toArray(t[s].props.children),i().Children.toArray(e[s].props.children)):((t,e)=>{if(!e||t.type!==e.type)return{};const{entering:o,exiting:i}=function(t,e){const n=t&&wr(t),r=e&&wr(e);return{entering:n&&Er(r,n),exiting:r&&Er(n,r)}}(Or(t),Or(e))||{};return n=n||!!i,r=r||!!o,{entering:o||!1,exiting:i||!1}})(a,e[s]))),a=o(i().Children.toArray(t),i().Children.toArray(e));return{nodesWillExit:n,nodesWillEnter:r,childrenTransitions:a,nodesShouldEnter:!1}}function kr(t,e,n){const r=e&&e.nodesWillExit,o=e&&e.nodesWillEnter,i=e&&e.nodesShouldEnter,a=e&&e.nodesShouldLoad,s=e&&e.nodesDoneLoad,c=e&&e.childrenTransitions||[],u={enter:t.animate&&t.animate.onEnter&&t.animate.onEnter.duration,exit:t.animate&&t.animate.onExit&&t.animate.onExit.duration,load:t.animate&&t.animate.onLoad&&t.animate.onLoad.duration,move:t.animate&&t.animate.duration},l=(t,e,r)=>a?function(t,e,r){const o=Object.assign({},t,{onEnd:()=>{n({nodesShouldLoad:!1,nodesDoneLoad:!0})}});let i=e;if(o&&o.onLoad&&!o.onLoad.duration)return{animate:t,data:e};const a=t.onLoad&&t.onLoad.after?t.onLoad.after:vr();return i=e.map(((t,n)=>Object.assign({},t,a(t,n,e)))),{animate:o,data:i}}(r,e):function(t,e,r,o){const i=Object.assign({},t,{onEnd:()=>{n({nodesDoneLoad:!0})}});if(i&&i.onLoad&&!i.onLoad.duration)return{animate:i,data:r};const a=i.onLoad&&i.onLoad.before?i.onLoad.before:vr();return{animate:i,data:r.map(((t,e)=>Object.assign({},t,a(t,e,r)))),clipWidth:0}}(r,0,e),f=(t,e,r,o)=>function(t,e,r,o,i){const a=t&&t.onExit,s=Object.assign({},t,a);let c=r;if(o){t.onEnd=()=>{n({nodesWillExit:!1})};const e=t.onExit&&t.onExit.before?t.onExit.before:vr();c=r.map(((t,n)=>{const i=(t.key||n).toString();return o[i]?Object.assign({},t,e(t,n,r)):t}))}return{animate:s,data:c}}(o,0,r,t),p=(t,e,r,o)=>i?function(t,e,r,o){const i=t&&t.onEnter,a=Object.assign({},t,i);let s=e;if(r){a.onEnd=()=>{n({nodesWillEnter:!1})};const t=a.onEnter&&a.onEnter.after?a.onEnter.after:vr();s=e.map(((n,o)=>{const i=xr(n,o);return r[i]?Object.assign({},n,t(n,o,e)):n}))}return{animate:a,data:s}}(o,r,t):function(t,e,r,o,i){let a=t,s=r;if(o){a=Object.assign({},t,{onEnd:()=>{n({nodesShouldEnter:!0})}});const e=t.onEnter&&t.onEnter.before?t.onEnter.before:vr();s=r.map(((t,n)=>{const i=(t.key||n).toString();return o[i]?Object.assign({},t,e(t,n,r)):t}))}return{animate:a,data:s}}(o,0,r,t),h=function(t,e){const n=t.props.animate;if(!t.type)return{};const r=t.props&&t.props.polar&&t.type.defaultPolarTransitions||t.type.defaultTransitions;if(r){const t=n[e]&&n[e].duration;return void 0!==t?t:r[e]&&r[e].duration}return{}};return function(n,a){const g=Or(n)||[],y=d()({},t.animate,n.props.animate),m=n.props.polar&&n.type.defaultPolarTransitions||n.type.defaultTransitions;y.onExit=d()({},y.onExit,m&&m.onExit),y.onEnter=d()({},y.onEnter,m&&m.onEnter),y.onLoad=d()({},y.onLoad,m&&m.onLoad);const b=c[a]||c[0];if(!s){const t={duration:void 0!==u.load?u.load:h(n,"onLoad")};return l(0,g,Object.assign({},y,t))}if(r){const t=b&&b.exiting,e=void 0!==u.exit?u.exit:h(n,"onExit"),r=t?{duration:e}:{delay:e};return f(t,0,g,Object.assign({},y,r))}if(o){const t=b&&b.entering,e=void 0!==u.enter?u.enter:h(n,"onEnter"),r=void 0!==u.move?u.move:n.props.animate&&n.props.animate.duration,o={duration:i&&t?e:r};return p(t,0,g,Object.assign({},y,o))}return!e&&y&&y.onExit?function(t,e){const n=t.onEnter&&t.onEnter.after?t.onEnter.after:vr();return{data:e.map(((t,r)=>Object.assign({},t,n(t,r,e))))}}(y,g):{animate:y,data:g}}}function Ar(){return Ar=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ar.apply(this,arguments)}class Sr extends i().Component{static displayName="VictoryTransition";static contextType=At;constructor(t,e){super(t,e),this.state={nodesShouldLoad:!1,nodesDoneLoad:!1};const n=this.props.children,r=n.props.polar;this.continuous=!r&&n.type&&!0===n.type.continuous,this.timer=this.context.transitionTimer}componentDidMount(){this.setState({nodesShouldLoad:!0})}shouldComponentUpdate(t){return Se()(this.props,t)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,t),(()=>this.timer.resumeAnimation()))),!0}componentWillUnmount(){this.timer.stop()}getTransitionState(t,e){const{animate:n}=t;if(!n)return{};if(n.parentState)return{oldProps:n.parentState.nodesWillExit?t:null,nextProps:e};const r=i().Children.toArray(t.children),o=i().Children.toArray(e.children),{nodesWillExit:a,nodesWillEnter:s,childrenTransitions:c,nodesShouldEnter:u}=jr(r,o);return{nodesWillExit:a,nodesWillEnter:s,childrenTransitions:c,nodesShouldEnter:u,oldProps:a?t:null,nextProps:e}}getDomainFromChildren(t,e){const n=t=>t.reduce(((t,r)=>{if(r.type&&O(r.type.getDomain)){const n=r.props&&r.type.getDomain(r.props,e);return n?t.concat(n):t}return r.props&&r.props.children?t.concat(n(i().Children.toArray(r.props.children))):t}),[]),r=i().Children.toArray(t.children)[0],o=r.props||{},a=Array.isArray(o.domain)?o.domain:o.domain&&o.domain[e];if(!o.children&&a)return a;const s=n([r]);return 0===s.length?[0,1]:[mr(s),yr(s)]}pickProps(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}pickDomainProps(t){const e=t.animate?.parentState;return e&&e.nodesWillExit?(this.continuous||e.continuous)&&(e.nextProps||this.state.nextProps)||t:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||t}getClipWidth(t,e){const n=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==n?n:(()=>{const n=function(t,e){return t.range&&t.range[e]?t.range[e]:t.range&&Array.isArray(t.range)?t.range:t.polar?function(t,e){return"x"===e?[x(t.startAngle||0),x(t.endAngle||360)]:[t.innerRadius||0,w(t)]}(t,e):function(t,e){const n="x"!==e,r=m(t);return n?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,e)}(e.props,"x");return n?Math.abs(n[1]-n[0]):t.width})()}render(){const t=this.pickProps(),e=this.props.animate?.getTransitions?this.props.animate.getTransitions:kr(t,this.state,(t=>this.setState(t))),n=i().Children.toArray(t.children)[0],r=e(n);this.transitionProps=r;const o={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},a=this.getClipWidth(t,n),s=d()({domain:o,clipWidth:a},r,n.props),c=(t.animationWhitelist||[]).concat(["clipWidth"]),u=c.length?h()(s,c):s;return i().createElement(pr,Ar({},s.animate,{data:u}),(t=>{if(n.props.groupComponent){const e=this.continuous?i().cloneElement(n.props.groupComponent,{clipWidth:t.clipWidth||0}):n.props.groupComponent;return i().cloneElement(n,d()({animate:null,animating:!0,groupComponent:e},t,s))}return i().cloneElement(n,d()({animate:null,animating:!0},t,s))}))}}var Cr=r(9602),$r=r.n(Cr),Mr=r(1616),Pr=r.n(Mr),zr=r(4912),Ir=r.n(zr);const Lr=/^onGlobal(.*)$/;function Nr(t,e,n,r){const o=t=>{const r=(()=>{const r=t.reduce(((t,n)=>void 0!==n.target?(Array.isArray(n.target)?n.target.includes(e):`${n.target}`==`${e}`)?t.concat(n):t:t.concat(n)),[]);return void 0!==n&&"parent"!==e?r.filter((t=>{const e=t.eventKey,r=t=>!t||`${t}`==`${n}`;return Array.isArray(e)?e.some((t=>r(t))):r(e)})):r})();return Array.isArray(r)&&r.reduce(((t,e)=>e?Object.assign(t,e.eventHandlers):t),{})},i=(()=>Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events)(),a=i&&O(r)?r(o(i),e):void 0;if(!t.sharedEvents)return a;const s=t.sharedEvents.getEvents,c=t.sharedEvents.events&&s(o(t.sharedEvents.events),e);return Object.assign({},c,a)}function _r(t,e,n,r){if(Vt()(t))return{};const o=r||this.baseProps,i=(t,e)=>{const{childName:n,target:r,key:i}=t,a="props"===e?o:this.state||{},s=null!=n&&a[n]?a[n]:a;return"parent"===i?s.parent:s[i]&&s[i][r]},a=(t,r)=>{const a="parent"===e?t.childName:t.childName||n,s=t.target||e,c=(e,n)=>{const r=this.state||{};if(!O(t.mutation))return r;const a=i({childName:n,key:e,target:s},"props"),c=i({childName:n,key:e,target:s},"state"),u=t.mutation(Object.assign({},a,c),o),l=r[n]||{},d=t=>u?(t=>"parent"===s?Object.assign(t,{[e]:Object.assign(t[e]||{},u)}):Object.assign(t,{[e]:Object.assign(t[e]||{},{[s]:u})}))(t):(t=>(t[e]&&t[e][s]&&delete t[e][s],t[e]&&!Object.keys(t[e]).length&&delete t[e],t))(t);return null!=n?Object.assign(r,{[n]:d(l)}):d(r)},u=e=>{const n=(e=>"parent"===s?"parent":"all"===t.eventKey?o[e]?Object.keys(o[e]).filter((t=>"parent"!==t)):Object.keys(o).filter((t=>"parent"!==t)):void 0===t.eventKey&&"parent"===r?o[e]?Object.keys(o[e]):Object.keys(o):void 0!==t.eventKey?t.eventKey:r)(e);return Array.isArray(n)?n.reduce(((t,n)=>Object.assign(t,c(n,e))),{}):c(n,e)},l="all"===a?Object.keys(o).filter((t=>"parent"!==t)):a;return Array.isArray(l)?l.reduce(((t,e)=>Object.assign(t,u(e))),{}):u(l)},s=(e,n,r,o)=>{const i=t[o](e,n,r,this);if(!Vt()(i)){const t=(t=>{const e=t=>O(t.callback)&&t.callback,n=(Array.isArray(t)?t.map((t=>e(t))):[e(t)]).filter((t=>!1!==t));return n.length?()=>n.forEach((t=>t())):void 0})(i);this.setState(((t,e)=>Array.isArray(t)?t.reduce(((t,n)=>Object.assign({},t,a(n,e))),{}):a(t,e))(i,r),t)}};return Object.keys(t).reduce(((t,e)=>(t[e]=s,t)),{})}function Wr(t,e,n){const r=this.state||{};return n?r[n]&&r[n][t]&&r[n][t][e]:"parent"===t?r[t]&&r[t][e]||r[t]:r[t]&&r[t][e]}function Dr(t,e,n,r){const o=(t,e)=>"string"==typeof t[e]?"all"===t[e]||t[e]===r[e]:!!Array.isArray(t[e])&&t[e].map((t=>`${t}`)).includes(r[e]);let i=Array.isArray(t)?t:[t];r.childName&&(i=t.filter((t=>o(t,"childName"))));const a=i.filter((t=>o(t,"target")));if(Vt()(a))return;const s=a.filter((t=>o(t,"eventKey")));return Vt()(s)?void 0:s.reduce(((t,r)=>{const o=(r&&O(r.mutation)?r.mutation:()=>{})(Object.assign({},e,n));return Object.assign({},t,o)}),{})}function Rr(t){const e=t.match(Lr);return e&&e[1]&&e[1].toLowerCase()}const Fr=t=>!E(t._x)&&!E(t._y),Tr=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}],Hr={orientation:"vertical",titleOrientation:"top",width:450,height:300,x:0,y:0},Br=[{name:"Series 1"},{name:"Series 2"}];class qr extends i().Component{static displayName="VictoryLegend";static role="legend";static defaultProps={borderComponent:i().createElement(tt,null),data:Br,containerComponent:i().createElement(Mt,null),dataComponent:i().createElement(qt,null),groupComponent:i().createElement("g",null),labelComponent:i().createElement(se,null),standalone:!0,theme:ke,titleComponent:i().createElement(se,null)};static getBaseProps(t){return Q(t,Hr)}static getDimensions(t){return U(t,Hr)}static expectedComponents=["borderComponent","containerComponent","dataComponent","groupComponent","labelComponent","titleComponent"];renderChildren(t){const{dataComponent:e,labelComponent:n,title:r}=t,o=[];if(t.borderComponent){const e=this.getComponentProps(t.borderComponent,"border","all"),n=i().cloneElement(t.borderComponent,e);o.push(n)}if(e){const t=this.dataKeys.map(((t,n)=>{if("all"===t)return;const r=this.getComponentProps(e,"data",n);return i().cloneElement(e,r)})).filter((t=>void 0!==t));o.push(...t)}if(r&&t.titleComponent){const e=this.getComponentProps(r,"title","all"),n=i().cloneElement(t.titleComponent,e);o.push(n)}if(n){const t=this.dataKeys.map(((t,e)=>{if("all"===t)return;const r=this.getComponentProps(n,"labels",e);return void 0!==r.text&&null!==r.text?i().cloneElement(n,r):void 0})).filter((t=>void 0!==t));o.push(...t)}return o}render(){const{role:t}=this.constructor,e=j(this.props,Hr,t),n=this.renderChildren(e);return e.standalone?this.renderContainer(e.containerComponent,n):i().cloneElement(e.groupComponent,{},n)}}const Kr=(Vr=qr,void 0===Gr&&(Gr={}),class extends Vr{constructor(t){super(t),this.cacheValues(this.getCalculatedValues(t))}state={};getEventState=Wr.bind(this);getScopedEvents=_r.bind(this);getEvents=(t,e,n)=>Nr.call(this,t,e,n,this.getScopedEvents);externalMutations=this.getExternalMutations(this.props);calculatedState=this.getStateChanges(this.props);globalEvents={};prevGlobalEventKeys=[];boundGlobalEvents={};shouldComponentUpdate(t){const e=this.getExternalMutations(t),n=this.props.animating||this.props.animate,r=!Se()(e,this.externalMutations);if(n||r)return this.cacheValues(this.getCalculatedValues(t)),this.externalMutations=e,this.applyExternalMutations(t,e),!0;const o=this.getStateChanges(t);return Se()(this.calculatedState,o)?!Se()(this.props,t)&&(this.cacheValues(this.getCalculatedValues(t)),!0):(this.cacheValues(this.getCalculatedValues(t)),!0)}componentDidMount(){const t=Object.keys(this.globalEvents);t.forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=t}componentDidUpdate(t){const e=this.getStateChanges(t);this.calculatedState=e;const n=Object.keys(this.globalEvents);gr(this.prevGlobalEventKeys,n).forEach((t=>this.removeGlobalListener(t))),gr(n,this.prevGlobalEventKeys).forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=n}componentWillUnmount(){this.prevGlobalEventKeys.forEach((t=>this.removeGlobalListener(t)))}addGlobalListener(t){const e=e=>{const n=this.globalEvents[t];return n&&n((t=>Object.assign(t,{nativeEvent:t}))(e))};this.boundGlobalEvents[t]=e,window.addEventListener(Rr(t),e)}removeGlobalListener(t){window.removeEventListener(Rr(t),this.boundGlobalEvents[t])}getStateChanges(t){if(!this.hasEvents)return{};const e=(t,e)=>{const n=d()({},this.getEventState(t,e),this.getSharedEventState(t,e));return Vt()(n)?void 0:n};return(Gr.components||Tr).map((n=>{if(t.standalone||"parent"!==n.name)return void 0!==n.index?e(n.index,n.name):this.dataKeys.map((t=>e(t,n.name))).filter(Boolean)})).filter(Boolean)}applyExternalMutations(t,e){if(!Vt()(e)){const n=t.externalEventMutations.reduce(((t,e)=>O(e.callback)?t.concat(e.callback):t),[]),r=n.length?()=>{n.forEach((t=>t()))}:void 0;this.setState(e,r)}}getCalculatedValues(t){const{sharedEvents:e}=t,n=function(t,e){const n=Array.isArray(e)&&e.reduce(((e,n)=>{const r=t[n],o=r&&r.type&&r.type.defaultEvents,i=O(o)?o(r.props):o;return Array.isArray(i)?e.concat(...i):e}),[]);return n&&n.length?n:void 0}(t,Vr.expectedComponents),r=e&&O(e.getEventState)?e.getEventState:()=>{},o=this.getBaseProps(t,r);return{componentEvents:n,getSharedEventState:r,baseProps:o,dataKeys:Object.keys(o).filter((t=>"parent"!==t)),hasEvents:t.events||t.sharedEvents||n,events:this.getAllEvents(t)}}getExternalMutations(t){const{sharedEvents:e,externalEventMutations:n}=t;return Vt()(n)||e?void 0:function(t,e,n,r){return void 0===e&&(e={}),void 0===n&&(n={}),Object.keys(e).reduce(((o,i)=>{const a=n[i]||{},s=e[i]||{};if("parent"===i){const e=Dr(t,s,a,{eventKey:i,target:"parent"});o[i]=void 0!==e?Object.assign({},a,e):a}else{const e=$r()(Object.keys(s).concat(Object.keys(a)));o[i]=e.reduce(((e,n)=>{const o={eventKey:i,target:n,childName:r},c=Dr(t,s[n],a[n],o);return e[n]=void 0!==c?Object.assign({},a[n],c):a[n],Ir()(e,(t=>!Vt()(t)))}),{})}return Ir()(o,(t=>!Vt()(t)))}),{})}(n,this.baseProps,this.state)}cacheValues(t){Object.keys(t).forEach((e=>{this[e]=t[e]}))}getBaseProps(t,e){const n=(e||this.getSharedEventState.bind(this))("parent","parent"),r=this.getEventState("parent","parent"),o=d()({},r,n),i=o.parentControlledProps,a=i?h()(o,i):{},s=d()({},a,t);return"function"==typeof Vr.getBaseProps?Vr.getBaseProps(s):{}}getAllEvents(t){return Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events}getComponentProps(t,e,n){const r=this.props.name||Vr.role,o=this.dataKeys&&this.dataKeys[n]||n,i=`${r}-${e}-${o}`,a=this.baseProps[o]&&this.baseProps[o][e]||this.baseProps[o];if(!a&&!this.hasEvents)return;const s=t&&"object"==typeof t&&"props"in t?t.props:void 0;if(this.hasEvents){const t=this.getEvents(this.props,e,o),r=d()({index:n,key:i},this.getEventState(o,e),this.getSharedEventState(o,e),s,a,{id:i}),c=d()({},function(t,e,n){return t?Object.keys(t).reduce(((r,o)=>(r[o]=r=>t[o](r,n,e,o),r)),{}):{}}(t,o,r),r.events);return Object.assign({},r,{events:c})}return d()({index:n,key:i},s,a,{id:i})}renderContainer(t,e){const n=t.type&&"container"===t.type.role?this.getComponentProps(t,"parent","parent"):{};var r;return n.events&&(this.globalEvents=(r=n.events,Ir()(r,((t,e)=>Lr.test(e)))),n.events=(t=>Pr()(t,((t,e)=>Lr.test(e))))(n.events)),i().cloneElement(t,n,e)}animateComponent(t,e){const n="object"==typeof t.animate&&t.animate?.animationWhitelist||e,r=this.constructor;return i().createElement(Sr,{animate:t.animate,animationWhitelist:n},i().createElement(r,t))}renderContinuousData(t){const{dataComponent:e,labelComponent:n,groupComponent:r}=t,o=this.dataKeys.filter((t=>"all"!==t)),a=o.reduce(((t,e)=>{let r=t;const o=this.getComponentProps(n,"labels",e);return o&&void 0!==o.text&&null!==o.text&&(r=r.concat(i().cloneElement(n,o))),r}),[]),s=this.getComponentProps(e,"data","all"),c=[i().cloneElement(e,s),...a];return this.renderContainer(r,c)}renderData(t,e){void 0===e&&(e=Fr);const{dataComponent:n,labelComponent:r,groupComponent:o}=t,a=[...this.dataKeys.reduce(((t,r,o)=>{const a=this.getComponentProps(n,"data",o);return e(a.datum)&&t.push(i().cloneElement(n,a)),t}),[]),...this.dataKeys.map(((t,e)=>{const n=this.getComponentProps(r,"labels",e);if(void 0!==n.text&&null!==n.text)return i().cloneElement(r,n)})).filter(Boolean)];return this.renderContainer(o,a)}});var Vr,Gr}(),o}()}));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.VictoryLegend=e(require("react")):t.VictoryLegend=e(t.React)}(self,(function(t){return function(){var e={503:function(t,e,n){var r=n(1171),o=n(7838),i=n(4859),a=n(4073),s=n(8541);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];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=s,t.exports=c},3273:function(t,e,n){var r=n(163);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},8708:function(t,e,n){var r=n(1171),o=n(7838),i=n(4859),a=n(4073),s=n(8541);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];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=s,t.exports=c},2596:function(t,e,n){var r=n(2373).Symbol;t.exports=r},6082:function(t){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},6649:function(t){t.exports=function(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var a=t[o];e(r,a,n(a),t)}return r}},5510:function(t,e,n){var r=n(6123);t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},9955:function(t){t.exports=function(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}},8644:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},9559:function(t){t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}},1634:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},4132:function(t,e,n){var r=n(8347),o=n(788),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];i.call(t,e)&&o(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},3162:function(t,e,n){var r=n(788);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},4508:function(t){t.exports=function(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var a=t[o];e(r,a,n(a),t)}return r}},8347:function(t,e,n){var r=n(5525);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},6457:function(t,e,n){var r=n(9559),o=n(3608);t.exports=function t(e,n,i,a,s){var c=-1,u=e.length;for(i||(i=o),s||(s=[]);++c<u;){var l=e[c];n>0&&i(l)?n>1?t(l,n-1,i,a,s):r(s,l):a||(s[s.length]=l)}return s}},4432:function(t,e,n){var r=n(9026),o=n(3110);t.exports=function(t,e){for(var n=0,i=(e=r(e,t)).length;null!=t&&n<i;)t=t[o(e[n++])];return n&&n==i?t:void 0}},563:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},6776:function(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},6123:function(t){t.exports=function(t,e,n){for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}},9070:function(t,e,n){var r=n(7028),o=n(3474);t.exports=function t(e,n,i,a,s){return e===n||(null==e||null==n||!o(e)&&!o(n)?e!=e&&n!=n:r(e,n,i,a,t,s))}},7028:function(t,e,n){var r=n(8708),o=n(8705),i=n(2813),a=n(6682),s=n(9667),c=n(163),u=n(4801),l=n(4289),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,g,y,m){var b=c(t),v=c(e),x=b?f:s(t),w=v?f:s(e),E=(x=x==d?p:x)==p,O=(w=w==d?p:w)==p,j=x==w;if(j&&u(t)){if(!u(e))return!1;b=!0,E=!1}if(j&&!E)return m||(m=new r),b||l(t)?o(t,e,n,g,y,m):i(t,e,x,n,g,y,m);if(!(1&n)){var k=E&&h.call(t,"__wrapped__"),A=O&&h.call(e,"__wrapped__");if(k||A){var S=k?t.value():t,C=A?e.value():e;return m||(m=new r),y(S,C,n,g,m)}}return!!j&&(m||(m=new r),a(t,e,n,g,y,m))}},9548:function(t,e,n){var r=n(8708),o=n(9070);t.exports=function(t,e,n,i){var a=n.length,s=a,c=!i;if(null==t)return!s;for(t=Object(t);a--;){var u=n[a];if(c&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++a<s;){var l=(u=n[a])[0],d=t[l],f=u[1];if(c&&u[2]){if(void 0===d&&!(l in t))return!1}else{var p=new r;if(i)var h=i(d,f,l,t,e,p);if(!(void 0===h?o(f,d,3,i,p):h))return!1}}return!0}},3472:function(t,e,n){var r=n(758),o=n(5223),i=n(5346),a=n(163),s=n(8532);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):r(t):s(t)}},7190:function(t,e,n){var r=n(5125)(Object.keys,Object);t.exports=r},383:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},758:function(t,e,n){var r=n(9548),o=n(597),i=n(6878);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},5223:function(t,e,n){var r=n(9070),o=n(9201),i=n(5066),a=n(726),s=n(5385),c=n(6878),u=n(3110);t.exports=function(t,e){return a(t)&&s(e)?c(u(t),e):function(n){var a=o(n,t);return void 0===a&&a===e?i(n,t):r(e,a,3)}}},8245:function(t,e,n){var r=n(8644),o=n(4432),i=n(3472),a=n(383),s=n(9521),c=n(9110),u=n(9409),l=n(5346),d=n(163);t.exports=function(t,e,n){e=e.length?r(e,(function(t){return d(t)?function(e){return o(e,1===t.length?t[0]:t)}:t})):[l];var f=-1;e=r(e,c(i));var p=a(t,(function(t,n,o){return{criteria:r(e,(function(e){return e(t)})),index:++f,value:t}}));return s(p,(function(t,e){return u(t,e,n)}))}},5436:function(t,e,n){var r=n(6371),o=n(5066);t.exports=function(t,e){return r(t,e,(function(e,n){return o(t,n)}))}},6371:function(t,e,n){var r=n(4432),o=n(6539),i=n(9026);t.exports=function(t,e,n){for(var a=-1,s=e.length,c={};++a<s;){var u=e[a],l=r(t,u);n(l,u)&&o(c,i(u,t),l)}return c}},1600:function(t){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},3301:function(t,e,n){var r=n(4432);t.exports=function(t){return function(e){return r(e,t)}}},7805:function(t){var e=Math.ceil,n=Math.max;t.exports=function(t,r,o,i){for(var a=-1,s=n(e((r-t)/(o||1)),0),c=Array(s);s--;)c[i?s:++a]=t,t+=o;return c}},6317:function(t,e,n){var r=n(5346),o=n(4280),i=n(201);t.exports=function(t,e){return i(o(t,e,r),t+"")}},6539:function(t,e,n){var r=n(4132),o=n(9026),i=n(9099),a=n(7709),s=n(3110);t.exports=function(t,e,n,c){if(!a(t))return t;for(var u=-1,l=(e=o(e,t)).length,d=l-1,f=t;null!=f&&++u<l;){var p=s(e[u]),h=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return t;if(u!=d){var g=f[p];void 0===(h=c?c(g,p,f):void 0)&&(h=a(g)?g:i(e[u+1])?[]:{})}r(f,p,h),f=f[p]}return t}},9521:function(t){t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},6316:function(t,e,n){var r=n(2596),o=n(8644),i=n(163),a=n(1995),s=r?r.prototype:void 0,c=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},9110:function(t){t.exports=function(t){return function(e){return t(e)}}},946:function(t,e,n){var r=n(3273),o=n(5510),i=n(9955),a=n(9914),s=n(6602),c=n(6226);t.exports=function(t,e,n){var u=-1,l=o,d=t.length,f=!0,p=[],h=p;if(n)f=!1,l=i;else if(d>=200){var g=e?null:s(t);if(g)return c(g);f=!1,l=a,h=new r}else h=e?[]:p;t:for(;++u<d;){var y=t[u],m=e?e(y):y;if(y=n||0!==y?y:0,f&&m==m){for(var b=h.length;b--;)if(h[b]===m)continue t;e&&h.push(m),p.push(y)}else l(h,m,n)||(h!==p&&h.push(m),p.push(y))}return p}},9914:function(t,e,n){var r=n(6123);t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},9026:function(t,e,n){var r=n(163),o=n(726),i=n(7801),a=n(7010);t.exports=function(t,e){return r(t)?t:o(t,e)?[t]:i(a(t))}},522:function(t,e,n){var r=n(1995);t.exports=function(t,e){if(t!==e){var n=void 0!==t,o=null===t,i=t==t,a=r(t),s=void 0!==e,c=null===e,u=e==e,l=r(e);if(!c&&!l&&!a&&t>e||a&&s&&u&&!c&&!l||o&&s&&u||!n&&u||!i)return 1;if(!o&&!a&&!l&&t<e||l&&n&&i&&!o&&!a||c&&n&&i||!s&&i||!u)return-1}return 0}},9409:function(t,e,n){var r=n(522);t.exports=function(t,e,n){for(var o=-1,i=t.criteria,a=e.criteria,s=i.length,c=n.length;++o<s;){var u=r(i[o],a[o]);if(u)return o>=c?u:u*("desc"==n[o]?-1:1)}return t.index-e.index}},5659:function(t,e,n){var r=n(6649),o=n(4508),i=n(3472),a=n(163);t.exports=function(t,e){return function(n,s){var c=a(n)?r:o,u=e?e():{};return c(n,t,i(s,2),u)}}},2507:function(t,e,n){var r=n(7805),o=n(8286),i=n(9139);t.exports=function(t){return function(e,n,a){return a&&"number"!=typeof a&&o(e,n,a)&&(n=a=void 0),e=i(e),void 0===n?(n=e,e=0):n=i(n),a=void 0===a?e<n?1:-1:i(a),r(e,n,a,t)}}},6602:function(t){t.exports=function(){}},5525:function(t,e,n){var r=n(3743),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},8705:function(t,e,n){var r=n(3273),o=n(1634),i=n(9914);t.exports=function(t,e,n,a,s,c){var u=1&n,l=t.length,d=e.length;if(l!=d&&!(u&&d>l))return!1;var f=c.get(t),p=c.get(e);if(f&&p)return f==e&&p==t;var h=-1,g=!0,y=2&n?new r:void 0;for(c.set(t,e),c.set(e,t);++h<l;){var m=t[h],b=e[h];if(a)var v=u?a(b,m,h,e,t,c):a(m,b,h,t,e,c);if(void 0!==v){if(v)continue;g=!1;break}if(y){if(!o(e,(function(t,e){if(!i(y,e)&&(m===t||s(m,t,n,a,c)))return y.push(e)}))){g=!1;break}}else if(m!==b&&!s(m,b,n,a,c)){g=!1;break}}return c.delete(t),c.delete(e),g}},2813:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},6682:function(t,e,n){var r=n(8143),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,i,a,s){var c=1&n,u=r(t),l=u.length;if(l!=r(e).length&&!c)return!1;for(var d=l;d--;){var f=u[d];if(!(c?f in e:o.call(e,f)))return!1}var p=s.get(t),h=s.get(e);if(p&&h)return p==e&&h==t;var g=!0;s.set(t,e),s.set(e,t);for(var y=c;++d<l;){var m=t[f=u[d]],b=e[f];if(i)var v=c?i(b,m,f,e,t,s):i(m,b,f,t,e,s);if(!(void 0===v?m===b||a(m,b,n,i,s):v)){g=!1;break}y||(y="constructor"==f)}if(g&&!y){var x=t.constructor,w=e.constructor;x==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(g=!1)}return s.delete(t),s.delete(e),g}},5557:function(t,e,n){var r=n(2645),o=n(4280),i=n(201);t.exports=function(t){return i(o(t,void 0,r),t+"")}},2117:function(t,e,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},8143:function(t,e,n){var r=n(5125)(Object.keys,Object);t.exports=r},7271:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},597:function(t,e,n){var r=n(5385),o=n(7747);t.exports=function(t){for(var e=o(t),n=e.length;n--;){var i=e[n],a=t[i];e[n]=[i,a,r(a)]}return e}},3743:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},9817:function(t,e,n){var r=n(5125)(Object.getPrototypeOf,Object);t.exports=r},9667:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},3096:function(t,e,n){var r=n(9026),o=n(5075),i=n(163),a=n(9099),s=n(8454),c=n(3110);t.exports=function(t,e,n){for(var u=-1,l=(e=r(e,t)).length,d=!1;++u<l;){var f=c(e[u]);if(!(d=null!=t&&n(t,f)))break;t=t[f]}return d||++u!=l?d:!!(l=null==t?0:t.length)&&s(l)&&a(f,l)&&(i(t)||o(t))}},3608:function(t,e,n){var r=n(2596),o=n(5075),i=n(163),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},9099:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},8286:function(t){t.exports=function(){return!1}},726:function(t,e,n){var r=n(163),o=n(1995),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||a.test(t)||!i.test(t)||null!=e&&t in Object(e)}},5782:function(t){t.exports=function(){return!1}},5385:function(t,e,n){var r=n(7709);t.exports=function(t){return t==t&&!r(t)}},1171:function(t){t.exports=function(){this.__data__=[],this.size=0}},7838:function(t,e,n){var r=n(3162),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():o.call(e,n,1),--this.size,0))}},4859:function(t,e,n){var r=n(3162);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},4073:function(t,e,n){var r=n(3162);t.exports=function(t){return r(this.__data__,t)>-1}},8541:function(t,e,n){var r=n(3162);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},6878:function(t){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},2453:function(t){t.exports=function(t){return t}},5125:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},4280:function(t,e,n){var r=n(6082),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,s=o(i.length-e,0),c=Array(s);++a<s;)c[a]=i[e+a];a=-1;for(var u=Array(e+1);++a<e;)u[a]=i[a];return u[e]=n(c),r(t,this,u)}}},2373:function(t,e,n){var r=n(2117),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},6226:function(t){t.exports=function(){return[]}},201:function(t){t.exports=function(t){return t}},7801:function(t,e,n){var r=n(2453),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)})),e}));t.exports=a},3110:function(t,e,n){var r=n(1995);t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},1893:function(t,e,n){var r=n(6317),o=n(788),i=n(8286),a=n(8855),s=Object.prototype,c=s.hasOwnProperty,u=r((function(t,e){t=Object(t);var n=-1,r=e.length,u=r>2?e[2]:void 0;for(u&&i(e[0],e[1],u)&&(r=1);++n<r;)for(var l=e[n],d=a(l),f=-1,p=d.length;++f<p;){var h=d[f],g=t[h];(void 0===g||o(g,s[h])&&!c.call(t,h))&&(t[h]=l[h])}return t}));t.exports=u},788:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},2645:function(t,e,n){var r=n(6457);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9201:function(t,e,n){var r=n(4432);t.exports=function(t,e,n){var o=null==t?void 0:r(t,e);return void 0===o?n:o}},9056:function(t,e,n){var r=n(8347),o=n(5659),i=Object.prototype.hasOwnProperty,a=o((function(t,e,n){i.call(t,n)?t[n].push(e):r(t,n,[e])}));t.exports=a},5066:function(t,e,n){var r=n(6776),o=n(3096);t.exports=function(t,e){return null!=t&&o(t,e,r)}},5346:function(t){t.exports=function(t){return t}},5075:function(t){t.exports=function(){return!1}},163:function(t){var e=Array.isArray;t.exports=e},981:function(t,e,n){var r=n(9642),o=n(8454);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},4801:function(t){t.exports=function(){return!1}},4155:function(t,e,n){var r=n(7190),o=n(9667),i=n(5075),a=n(163),s=n(981),c=n(4801),u=n(5782),l=n(4289),d=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||c(t)||l(t)||i(t)))return!t.length;var e=o(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(u(t))return!r(t).length;for(var n in t)if(d.call(t,n))return!1;return!0}},9642:function(t,e,n){var r=n(563),o=n(7709);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},8454:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7709:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3474:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},3849:function(t,e,n){var r=n(563),o=n(9817),i=n(3474),a=Function.prototype,s=Object.prototype,c=a.toString,u=s.hasOwnProperty,l=c.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var e=o(t);if(null===e)return!0;var n=u.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},1995:function(t){t.exports=function(){return!1}},4289:function(t){t.exports=function(){return!1}},7747:function(t,e,n){var r=n(5125)(Object.keys,Object);t.exports=r},8855:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},1594:function(t,e,n){var r=n(503);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,t.exports=o},6051:function(t){t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}},1616:function(t,e,n){var r=n(3472),o=n(6051),i=n(4912);t.exports=function(t,e){return i(t,o(r(e)))}},4143:function(t,e,n){var r=n(8245),o=n(163);t.exports=function(t,e,n,i){return null==t?[]:(o(e)||(e=null==e?[]:[e]),o(n=i?void 0:n)||(n=null==n?[]:[n]),r(t,e,n))}},9082:function(t,e,n){var r=n(5436),o=n(5557)((function(t,e){return null==t?{}:r(t,e)}));t.exports=o},4912:function(t,e,n){var r=n(8644),o=n(3472),i=n(6371),a=n(7271);t.exports=function(t,e){if(null==t)return{};var n=r(a(t),(function(t){return[t]}));return e=o(e),i(t,n,(function(t,n){return e(t,n[0])}))}},8532:function(t,e,n){var r=n(1600),o=n(3301),i=n(726),a=n(3110);t.exports=function(t){return i(t)?r(a(t)):o(t)}},8825:function(t,e,n){var r=n(2507)();t.exports=r},9139:function(t){t.exports=function(t){return t}},7010:function(t,e,n){var r=n(6316);t.exports=function(t){return null==t?"":r(t)}},9602:function(t,e,n){var r=n(946);t.exports=function(t){return t&&t.length?r(t):[]}},660:function(t,e,n){var r=n(7010),o=0;t.exports=function(t){var e=++o;return r(t)+e}},7491:function(t){var e="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var s,c,u,l;if(Array.isArray(t)){if((s=t.length)!=a.length)return!1;for(c=s;0!=c--;)if(!i(t[c],a[c]))return!1;return!0}if(n&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;for(l=t.entries();!(c=l.next()).done;)if(!i(c.value[1],a.get(c.value[0])))return!1;return!0}if(r&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((s=t.length)!=a.length)return!1;for(c=s;0!=c--;)if(t[c]!==a[c])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((s=(u=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(c=s;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,u[c]))return!1;if(e&&t instanceof Element)return!1;for(c=s;0!=c--;)if(("_owner"!==u[c]&&"__v"!==u[c]&&"__o"!==u[c]||!t.$$typeof)&&!i(t[u[c]],a[u[c]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,e){try{return i(t,e)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},9787:function(e){"use strict";e.exports=t}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var i=n[t]={exports:{}};return e[t](i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};return function(){"use strict";r.r(o),r.d(o,{VictoryLegend:function(){return Kr}});var t={};r.r(t),r.d(t,{circle:function(){return Pt},cross:function(){return Wt},diamond:function(){return It},minus:function(){return Dt},plus:function(){return _t},square:function(){return zt},star:function(){return Rt},triangleDown:function(){return Lt},triangleUp:function(){return Nt}});var e={};r.r(e),r.d(e,{easeBack:function(){return rn},easeBackIn:function(){return en},easeBackInOut:function(){return rn},easeBackOut:function(){return nn},easeBounce:function(){return Xe},easeBounceIn:function(){return Ye},easeBounceInOut:function(){return Je},easeBounceOut:function(){return Xe},easeCircle:function(){return Qe},easeCircleIn:function(){return Ge},easeCircleInOut:function(){return Qe},easeCircleOut:function(){return Ue},easeCubic:function(){return Le},easeCubicIn:function(){return ze},easeCubicInOut:function(){return Le},easeCubicOut:function(){return Ie},easeElastic:function(){return sn},easeElasticIn:function(){return an},easeElasticInOut:function(){return cn},easeElasticOut:function(){return sn},easeExp:function(){return Ve},easeExpIn:function(){return qe},easeExpInOut:function(){return Ve},easeExpOut:function(){return Ke},easeLinear:function(){return Ce},easePoly:function(){return We},easePolyIn:function(){return Ne},easePolyInOut:function(){return We},easePolyOut:function(){return _e},easeQuad:function(){return Pe},easeQuadIn:function(){return $e},easeQuadInOut:function(){return Pe},easeQuadOut:function(){return Me},easeSin:function(){return He},easeSinIn:function(){return Fe},easeSinInOut:function(){return He},easeSinOut:function(){return Te}});var n=r(9787),i=r.n(n),a=r(8825),s=r.n(a),c=r(9056),u=r.n(c),l=r(1893),d=r.n(l);const f=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];if(n.length>0)return n.reduce(((t,e)=>[t,f(e)].join(" ")),f(t)).trim();if(null==t||"string"==typeof t)return t;const o=[];for(const e in t)if(t.hasOwnProperty(e)){const n=t[e];o.push(`${e}(${n})`)}return o.join(" ").trim()};var p=r(9082),h=r.n(p);function g(t,e){void 0===e&&(e=[]);const n={};for(const r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function y(t){const e=t=>void 0!==t,{_x:n,_x1:r,_x0:o,_voronoiX:i,_y:a,_y1:s,_y0:c,_voronoiY:u}=t,l=e(r)?r:n,f=e(s)?s:a,p={x:e(i)?i:l,x0:e(o)?o:n,y:e(u)?u:f,y0:e(c)?c:a};return d()({},p,t)}function m(t,e){void 0===e&&(e="padding");const n=t[e],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 b(t,e){return O(t)?t(e):t}function v(t,e){return e.disableInlineStyles?{}:t&&Object.keys(t).some((e=>O(t[e])))?Object.keys(t).reduce(((n,r)=>(n[r]=b(t[r],e),n)),{}):t}function x(t){return"number"==typeof t?t*(Math.PI/180):t}function w(t){const{left:e,right:n,top:r,bottom:o}=m(t),{width:i,height:a}=t;return Math.min(i-e-n,a-r-o)/2}function E(t){return null==t}function O(t){return"function"==typeof t}function j(t,e,n){const r=g(t.theme&&t.theme[n]?t.theme[n]:{},["style"]),o=function(t){if(void 0!==t.horizontal||!t.children)return t.horizontal;const e=t=>t.reduce(((t,n)=>{const r=n.props||{};return t||r.horizontal||!r.children?t||r.horizontal:e(i().Children.toArray(r.children))}),!1);return e(i().Children.toArray(t.children))}(t),a=void 0===o?{}:{horizontal:o};return d()(a,t,r,e)}r(8532);var k=r(1594),A=r.n(k);const S={"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}},C={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},$={em:1,ex:.5},M={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},P=t=>Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g),z=(t,e,n)=>{const r=(t=>t*Math.PI/180)(n);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*e)},I=(t,e)=>{const n=t.match(/[a-zA-Z%]+/)?.[0],r=Number(t.match(/[0-9.,]+/));let o;return o=n?C.hasOwnProperty(n)?r*C[n]:$.hasOwnProperty(n)?(e?r*e:r*M.fontSize)*$[n]:r:r||0,o},L=(t,e)=>{const n=Array.isArray(t)?t[e]:t,r=d()({},n,M);return Object.assign({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:I(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:I(String(r.fontSize))})},N=(t,e)=>{const n=Array.isArray(e)?e[0]&&e[0].angle:e&&e.angle,r=((t,e)=>void 0===t||""===t||null===t?0:P(t).reduce(((t,n,r)=>{const o=L(e,r),i=n.toString().match(/[(A-Z)(0-9)]/)?1.15*o.fontSize:o.fontSize;return t+o.lineHeight*i}),0))(t,e),o=((t,e)=>{if(void 0===t||""===t||null===t)return 0;const n=P(t).map(((t,n)=>{const r=t.toString().length,{fontSize:o,letterSpacing:i,fontFamily:a}=L(e,n),s=(t=>{const e=t.split(",").map((t=>t.replace(/'|"/g,""))).find((t=>S[t]))||"Helvetica";return S[e]})(a);return t.toString().split("").map((t=>t.charCodeAt(0)<s.widths.length?s.widths[t.charCodeAt(0)]:s.avg)).reduce(((t,e)=>e+t),0)*o+i*Math.max(r-1,0)}));return Math.max(...n)})(t,e);return{width:n?z(o,r,n):o,height:1.05*(n?z(r,o,n):r)}},_=A()((()=>{const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("xlink","http://www.w3.org/1999/xlink"),t.setAttribute("width","300"),t.setAttribute("height","300"),t.setAttribute("viewBox","0 0 300 300"),t.setAttribute("aria-hidden","true");const e=document.createElementNS("http://www.w3.org/2000/svg","text");return t.appendChild(e),t.style.position="fixed",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t),e})),W=t=>t?`${t.angle}:${t.fontFamily}:${t.fontSize}:${t.letterSpacing}:${t.lineHeight}`:"null",D=A()(((t,e)=>{let n=_();n.isConnected||(_.cache.clear?.(),n=_());const r=P(t);let o=0;for(const[t,i]of r.entries()){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan"),a=L(e,t);r.style.fontFamily=a.fontFamily,r.style.fontSize=`${a.fontSize}px`,r.style.lineHeight=a.lineHeight,r.style.fontFamily=a.fontFamily,r.style.letterSpacing=a.letterSpacing,r.textContent=i,r.setAttribute("x","0"),r.setAttribute("y",`${o}`),n.appendChild(r),o+=a.lineHeight*r.getBoundingClientRect().height}const{width:i}=n.getBoundingClientRect();return n.innerHTML="",{width:e?.angle?z(i,o,e?.angle):i,height:e?.angle?z(o,i,e?.angle):o}}),((t,e)=>`${Array.isArray(t)?t.join():t}::${Array.isArray(e)?e.map(W).join():W(e)}`)),R=(t,e)=>function(t,e,n){return void 0===n&&(n=!1),"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||n?N(t,e):D(t,e)}(t,e),F=t=>{const{data:e,style:n}=t;return e.map(((t,r)=>v(d()({},t.labels,n.labels),{datum:t,index:r,data:e})))},T=t=>{const{orientation:e,theme:n}=t,r=function(t,e){void 0===e&&(e={});const n=t.style||{};return{parent:d()(n.parent,e.parent,{height:"100%",width:"100%"}),data:d()({},n.data,e.data),labels:d()({},n.labels,e.labels),border:d()({},n.border,e.border),title:d()({},n.title,e.title)}}(t,n&&n.legend&&n.legend.style?n.legend.style:{}),o=(t=>{const{colorScale:e}=t;return"string"==typeof e?function(t){const e={grayscale:["#cccccc","#969696","#636363","#252525"],qualitative:["#334D5C","#45B29D","#EFC94C","#E27A3F","#DF5A49","#4F7DA1","#55DBC1","#EFDA97","#E2A37F","#DF948A"],heatmap:["#428517","#77D200","#D6D305","#EC8E19","#C92B05"],warm:["#940031","#C43343","#DC5429","#FF821D","#FFAF55"],cool:["#2746B9","#0B69D4","#2794DB","#31BB76","#60E83B"],red:["#FCAE91","#FB6A4A","#DE2D26","#A50F15","#750B0E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"]};return t?e[t]:e.grayscale}(e):e||[]})(t),i="horizontal"===e,a=m({padding:t.borderPadding});return Object.assign({},t,{style:r,isHorizontal:i,colorScale:o,borderPadding:a})},H=(t,e)=>{const{itemsPerRow:n,isHorizontal:r}=t;return n?r?e%n:Math.floor(e/n):r?e:0},B=(t,e)=>{const{itemsPerRow:n,isHorizontal:r}=t;return n?r?Math.floor(e/n):e%n:r?0:e},q=t=>{const{data:e}=t,n=t.style&&t.style.data||{},r=F(t);return e.map(((e,o)=>{const i=e.symbol||{},{fontSize:a}=r[o],s=i.size||n.size||a/2.5,c=t.symbolSpacer||Math.max(s,a);return{...e,size:s,symbolSpacer:c,fontSize:a,textSize:R(e.name,r[o]),column:H(t,o),row:B(t,o)}}))},K=(t,e)=>{const n=t.gutter||{},r="object"==typeof n?(n.left||0)+(n.right||0):n||0,o=u()(e,"column");return Object.keys(o).reduce(((t,e,n)=>{const i=o[e].map((t=>t.textSize.width+t.size+t.symbolSpacer+r));return t[n]=Math.max(...i),t}),[])},V=(t,e)=>{const n=t.rowGutter||{},r="object"==typeof n?(n.top||0)+(n.bottom||0):n||0,o=u()(e,"row");return Object.keys(o).reduce(((t,e,n)=>{const i=o[e].map((t=>t.textSize.height+t.symbolSpacer+r));return t[n]=Math.max(...i),t}),[])},G=t=>{const e=t.style&&t.style.title||{},n=R(t.title,e),r=e.padding||0;return{height:n.height+2*r||0,width:n.width+2*r||0}},U=(t,e)=>{const n=j(t,e,"legend"),r=Object.assign({},n,T(n)),{title:o,titleOrientation:i}=r,a=q(r),s=K(r,a),c=V(r,a),u=o?G(r):{height:0,width:0};return{height:"left"===i||"right"===i?Math.max(Z(c),u.height):Z(c)+u.height,width:"left"===i||"right"===i?Z(s)+u.width:Math.max(Z(s),u.width)}},Q=(t,e)=>{const n=j(t,e,"legend"),r=Object.assign({},n,T(n)),{data:o,standalone:i,theme:a,padding:c,style:u,colorScale:l,gutter:f,rowGutter:p,borderPadding:h,title:g,titleOrientation:y,name:m,x:b=0,y:v=0}=r,x=q(r),w=K(r,x),O=V(r,x),k=F(r),A=g?G(r):{height:0,width:0},S="left"===y?A.width:0,C="top"===y?A.height:0,$=f&&"object"==typeof f&&f.left||0,M=p&&"object"==typeof p&&p.top||0,{height:P,width:z}=U(r,e),I=((t,e,n)=>{const{x:r,y:o,borderPadding:i,style:a}=t;return{x:r,y:o,height:(e||0)+i.top+i.bottom,width:(n||0)+i.left+i.right,style:Object.assign({fill:"none"},a.border)}})(r,P,z),L=((t,e)=>{const{title:n,titleOrientation:r,centerTitle:o,borderPadding:i}=t,{height:a,width:s}=e,c=(t=>{const{titleOrientation:e,centerTitle:n,titleComponent:r}=t,o=t.style&&t.style.title||{},i=r.props&&r.props.style||{},a=((t,e)=>{const n={textAnchor:"right"===t?"end":"start",verticalAnchor:"bottom"===t?"end":"start"};if(e){const e="top"===t||"bottom"===t;return{textAnchor:e?"middle":n.textAnchor,verticalAnchor:e?n.verticalAnchor:"middle"}}return n})(e,n);return Array.isArray(i)?i.map((t=>d()({},t,o,a))):d()({},i,o,a)})(t),u=Array.isArray(c)?c[0].padding:c.padding,l="top"===r||"bottom"===r,f="right"===r?"right":"left",p={x:o?s/2:i["bottom"===r?"bottom":"top"]+(u||0),y:o?a/2:i[f]+(u||0)},h=()=>i[r]+(u||0),g=l?p.x:h(),y=l?h():p.y;return{x:"right"===r?t.x+s-g:t.x+g,y:"bottom"===r?t.y+a-y:t.y+y,style:c,text:n}})(r,I),N={parent:{data:o,standalone:i,theme:a,padding:c,name:m,height:r.height,width:r.width,style:u.parent},all:{border:I,title:L}};return x.reduce(((t,e,n)=>{const r=l[n%l.length],i=d()({},e.symbol,u.data,{fill:r}),a=E(e.eventKey)?n:e.eventKey,c=((t,e,n)=>{const{column:r,row:o}=t;return{x:s()(r).reduce(((t,e)=>t+n[e]),0),y:s()(o).reduce(((t,n)=>t+e[n]),0)}})(e,O,w),f=v+h.top+e.symbolSpacer,p=b+h.left+e.symbolSpacer,g={index:n,data:o,datum:e,symbol:i.type||i.symbol||"circle",size:e.size,style:i,y:f+c.y+C+M,x:p+c.x+S+$},y={datum:e,data:o,text:e.name,style:k[n],y:g.y,x:g.x+e.symbolSpacer+e.size/2};return t[a]={data:g,labels:y},t}),N)};function Z(t){if(t&&t.length){let e=0;for(let n=0;n<t.length;n++)e+=t[n];return e}return 0}function Y(){return Y=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Y.apply(this,arguments)}const X=(0,n.forwardRef)(((t,e)=>{const{desc:n,id:r,tabIndex:o,origin:a,...s}=t,c={vectorEffect:"non-scaling-stroke",id:b(r,t)?.toString(),tabIndex:b(o,t),...s};return n?i().createElement("rect",Y({},c,{ref:e}),i().createElement("desc",null,n)):i().createElement("rect",Y({},c,{ref:e}))})),J={rectComponent:i().createElement(X,null),role:"presentation",shapeRendering:"auto"},tt=t=>{const e=(t=>{const e=b(t.ariaLabel,t),n=b(t.desc,t),r=b(t.id,t),o=v(Object.assign({fill:"none"},t.style),t),i=b(t.tabIndex,t);return Object.assign({},t,{ariaLabel:e,desc:n,id:r,style:o,tabIndex:i})})(d()({},t,J));return i().cloneElement(e.rectComponent,{...e.events,"aria-label":e.ariaLabel,style:e.style,desc:e.desc,tabIndex:e.tabIndex,transform:e.transform,className:e.className,role:e.role,shapeRendering:e.shapeRendering,x:e.x,y:e.y,width:e.width,height:e.height,clipPath:e.clipPath})};var et=r(7709),nt=r.n(et),rt=r(660),ot=r.n(rt);class it extends i().Component{static displayName="Portal";constructor(t){super(t),this.map={},this.index=1}portalRegister=()=>++this.index;portalUpdate=(t,e)=>{this.map[t]=e,this.forceUpdate()};portalDeregister=t=>{delete this.map[t],this.forceUpdate()};getChildren(){return Object.keys(this.map).map((t=>{const e=this.map[t];return e?i().cloneElement(e,{key:t}):e}))}render(){return i().createElement("svg",this.props,this.getChildren())}}const at=i().createContext({});at.displayName="PortalContext";var st,ct,ut=0,lt=0,dt=0,ft=0,pt=0,ht=0,gt="object"==typeof performance&&performance.now?performance:Date,yt="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function mt(){return pt||(yt(bt),pt=gt.now()+ht)}function bt(){pt=0}function vt(){this._call=this._time=this._next=null}function xt(t,e,n){var r=new vt;return r.restart(t,e,n),r}function wt(){pt=(ft=gt.now())+ht,ut=lt=0;try{!function(){mt(),++ut;for(var t,e=st;e;)(t=pt-e._time)>=0&&e._call.call(void 0,t),e=e._next;--ut}()}finally{ut=0,function(){for(var t,e,n=st,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:st=e);ct=t,Ot(r)}(),pt=0}}function Et(){var t=gt.now(),e=t-ft;e>1e3&&(ht-=e,ft=t)}function Ot(t){ut||(lt&&(lt=clearTimeout(lt)),t-pt>24?(t<1/0&&(lt=setTimeout(wt,t-gt.now()-ht)),dt&&(dt=clearInterval(dt))):(dt||(ft=gt.now(),dt=setInterval(Et,1e3)),ut=1,yt(wt)))}vt.prototype=xt.prototype={constructor:vt,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?mt():+n)+(null==e?0:+e),this._next||ct===this||(ct?ct._next=this:st=this,ct=this),this._call=t,this._time=n,Ot()},stop:function(){this._call&&(this._call=null,this._time=1/0,Ot())}};class jt{constructor(){this.shouldAnimate=!0,this.subscribers=[],this.timer=null,this.activeSubscriptions=0}bypassAnimation(){this.shouldAnimate=!1}resumeAnimation(){this.shouldAnimate=!0}loop=()=>{this.subscribers.forEach((t=>{t.callback(mt()-t.startTime,t.duration)}))};start(){this.timer||(this.timer=xt(this.loop))}stop(){this.timer&&(this.timer.stop(),this.timer=null)}subscribe(t,e){const n=this.subscribers.push({startTime:mt(),callback:t,duration:this.shouldAnimate?e:0});return this.activeSubscriptions++,this.start(),n}unsubscribe(t){null!==t&&this.subscribers[t-1]&&(delete this.subscribers[t-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}const kt=i().createContext({transitionTimer:new jt,animationTimer:new jt});kt.displayName="TimerContext";var At=kt;const St={startsWith:["data-","aria-"],exactMatch:[]},Ct=t=>{const e={...t};return Object.fromEntries(Object.entries(e).filter((t=>{let[e]=t;return(t=>!(!(t=>{let e=!1;return St.startsWith.forEach((n=>{new RegExp(`\\b(${n})(\\w|-)+`,"g").test(t)&&(e=!0)})),e})(t)&&!(t=>St.exactMatch.includes(t))(t)))(e)})).map((e=>{let[n,r]=e;return[n,b(r,t)]})))};function $t(){return $t=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},$t.apply(this,arguments)}class Mt extends i().Component{static displayName="VictoryContainer";static role="container";static defaultProps={className:"VictoryContainer",portalComponent:i().createElement(it,null),portalZIndex:99,responsive:!0,role:"img"};static contextType=At;constructor(t){super(t),this.containerId=nt()(t)&&void 0!==t.containerId?t.containerId:ot()("victory-container-"),this.shouldHandleWheel=!!(t&&t.events&&t.events.onWheel)}savePortalRef=t=>(this.portalRef=t,t);portalUpdate=(t,e)=>this.portalRef.portalUpdate(t,e);portalRegister=()=>this.portalRef.portalRegister();portalDeregister=t=>this.portalRef.portalDeregister(t);saveContainerRef=t=>(O(this.props.containerRef)&&this.props.containerRef(t),this.containerRef=t,t);handleWheel=t=>t.preventDefault();componentDidMount(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}componentWillUnmount(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}getIdForElement(t){return`${this.containerId}-${t}`}getChildren(t){return t.children}getOUIAProps(t){const{ouiaId:e,ouiaSafe:n,ouiaType:r}=t;return{...e&&{"data-ouia-component-id":e},...r&&{"data-ouia-component-type":r},...void 0!==n&&{"data-ouia-safe":n}}}renderContainer(t,e,n){const{title:r,desc:o,portalComponent:a,className:s,width:c,height:u,portalZIndex:l,responsive:f}=t,p=this.getChildren(t),h=f?{width:"100%",height:"100%"}:{width:c,height:u},g=Object.assign({pointerEvents:"none",touchAction:"none",position:"relative"},h),y=Object.assign({zIndex:l,position:"absolute",top:0,left:0},h),m=Object.assign({pointerEvents:"all"},h),b=Object.assign({overflow:"visible"},h),v={width:c,height:u,viewBox:e.viewBox,preserveAspectRatio:e.preserveAspectRatio,style:b};return i().createElement(at.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},i().createElement("div",$t({style:d()({},n,g),className:s,ref:this.saveContainerRef},this.getOUIAProps(t)),i().createElement("svg",$t({},e,{style:m}),r?i().createElement("title",{id:this.getIdForElement("title")},r):null,o?i().createElement("desc",{id:this.getIdForElement("desc")},o):null,p),i().createElement("div",{style:y},i().cloneElement(a,{...v,ref:this.savePortalRef}))))}render(){const{width:t,height:e,responsive:n,events:r,title:o,desc:i,tabIndex:a,preserveAspectRatio:s,role:c}=this.props,u=n?this.props.style:g(this.props.style,["height","width"]),l=Ct(this.props),d=Object.assign({width:t,height:e,tabIndex:a,role:c,"aria-labelledby":[o&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[i&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:n?`0 0 ${t} ${e}`:void 0,preserveAspectRatio:n?s:void 0,...l},r);return this.renderContainer(this.props,d,u)}}function Pt(t,e,n){return`M ${t}, ${e}\n m ${-n}, 0\n a ${n}, ${n} 0 1,0 ${2*n},0\n a ${n}, ${n} 0 1,0 ${2*-n},0`}function zt(t,e,n){const r=.87*n,o=t-r,i=t+r-o;return`M ${o}, ${e+r}\n h${i}\n v-${i}\n h-${i}\n z`}function It(t,e,n){const r=.87*n,o=Math.sqrt(r*r*2);return`M ${t}, ${e+o}\n l ${o}, -${o}\n l -${o}, -${o}\n l -${o}, ${o}\n l ${o}, ${o}\n z`}function Lt(t,e,n){const r=e-n;return`M ${t-n}, ${r}\n L ${t+n}, ${r}\n L ${t}, ${e+n/2*Math.sqrt(3)}\n z`}function Nt(t,e,n){const r=e+n;return`M ${t-n}, ${r}\n L ${t+n}, ${r}\n L ${t}, ${e-n/2*Math.sqrt(3)}\n z`}function _t(t,e,n){const r=1.1*n,o=r/1.5;return`\n M ${t-o/2}, ${e+r}\n v-${o}\n h-${o}\n v-${o}\n h${o}\n v-${o}\n h${o}\n v${o}\n h${o}\n v${o}\n h-${o}\n v${o}\n z`}function Wt(t,e,n){const r=.8*n,o=r/1.5;return`\n M ${t-o/2}, ${e+r+o}\n v-${2*o}\n h-${o}\n v-${o}\n h${o}\n v-${o}\n h${o}\n v${o}\n h${o}\n v${o}\n h-${o}\n v${2*o}\n z`}function Dt(t,e,n){const r=1.1*n,o=r-.3*r,i=t-r,a=t+r-i;return`M ${i}, ${e+o/2}\n h${a}\n v-${o}\n h-${a}\n z`}function Rt(t,e,n){const r=1.35*n,o=Math.PI/5;return`M ${function(t,e,n){let r=10;r||(r=0);const o=r-0,i=Math.abs(o),a=o/i||1,s=Math.max(Math.ceil(i/1),0);return Array.from(Array(s),((t,e)=>0+e*a*1))}().map((n=>{const i=n%2==0?r:r/2;return`${i*Math.sin(o*(n+1))+t},\n ${i*Math.cos(o*(n+1))+e}`})).join("L")} z`}function Ft(){return Ft=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ft.apply(this,arguments)}const Tt=(0,n.forwardRef)(((t,e)=>{const{desc:n,id:r,tabIndex:o,origin:a,...s}=t,c={id:b(r,t)?.toString(),tabIndex:b(o,t),...s};return n?i().createElement("path",Ft({},c,{ref:e}),i().createElement("desc",null,n)):i().createElement("path",Ft({},c,{ref:e}))})),Ht=e=>{const{x:n,y:r,size:o,symbol:i}=e;return e.getPath?e.getPath(n,r,o):("function"==typeof t[i]?t[i]:t.circle)(n,r,o)},Bt={pathComponent:i().createElement(Tt,null),role:"presentation",shapeRendering:"auto"},qt=t=>{const e=(t=>{const e=b(t.ariaLabel,t),n=b(t.desc,t),r=b(t.id,t),o=b(t.size,t),i=v(t.style,t),a=b(t.symbol,t),s=b(t.tabIndex,t);return Object.assign({},t,{ariaLabel:e,desc:n,id:r,size:o,style:i,symbol:a,tabIndex:s})})(d()({},t,Bt)),n=Ct(e);return i().cloneElement(e.pathComponent,{...e.events,"aria-label":e.ariaLabel,d:Ht(e),style:e.style,desc:e.desc,tabIndex:e.tabIndex,role:e.role,shapeRendering:e.shapeRendering,className:e.className,transform:e.transform,clipPath:e.clipPath,...n})};var Kt=r(4155),Vt=r.n(Kt);class Gt extends i().Component{static displayName="VictoryPortal";static role="portal";static defaultProps={groupComponent:i().createElement("g",null)};static contextType=at;componentDidMount(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}componentDidUpdate(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}componentWillUnmount(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}renderPortal(t){return this.renderInPlace?t:(this.element=t,null)}render(){const t=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,{groupComponent:e}=this.props,n=t&&t.props||{},r=n.groupComponent?{groupComponent:e,standalone:!1}:{},o=d()(r,n,g(this.props,["children","groupComponent"])),a=t&&i().cloneElement(t,o);return this.renderPortal(a)}}const Ut=t=>{const{children:e,desc:n,id:r,origin:o,tabIndex:a,title:s,...c}=t,u={id:b(r,t)?.toString(),tabIndex:b(a,t),...c};return i().createElement("text",u,s&&i().createElement("title",null,s),n&&i().createElement("desc",null,n),e)},Qt=t=>{const{desc:e,id:n,tabIndex:r,origin:o,...a}=t,s={id:b(n,t)?.toString(),tabIndex:b(r,t),...a};return i().createElement("tspan",s)};const Zt={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},Yt=(t,e)=>{if(!t.datum)return 0;const n=function(t,e){const{scale:n,polar:r,horizontal:o}=t,i=y(e),a=t.origin||{x:0,y:0},s=o?n.y(i.y):n.x(i.x),c=o?n.y(i.y0):n.x(i.x0),u=o?n.x(i.x):n.y(i.y),l=o?n.x(i.x0):n.y(i.y0);return{x:r?u*Math.cos(s)+a.x:s,x0:r?l*Math.cos(c)+a.x:c,y:r?-u*Math.sin(s)+a.y:u,y0:r?-l*Math.sin(c)+a.x:l}}(t,t.datum);return n[e]},Xt=t=>{const e=t&&t.fontSize;if("number"==typeof e)return e;if(null==e)return Zt.fontSize;if("string"==typeof e){const t=Number(e.replace("px",""));return isNaN(t)?Zt.fontSize:t}return Zt.fontSize},Jt=function(t,e){return void 0===e&&(e=0),Array.isArray(t)?t[e]||t[0]:t},te=t=>{const{backgroundStyle:e,backgroundPadding:n}=t;return Array.isArray(e)&&!Vt()(e)||Array.isArray(n)&&!Vt()(n)},ee=(t,e,n)=>{const{polar:r}=t,o=Jt(t.style),i=r?function(t,e){const{labelPlacement:n,datum:r}=t;if(!n||"vertical"===n)return 0;const o=function(t,e){const{x:n}=y(e);return("number"==typeof(r=t.scale.x(n))?r/(Math.PI/180):r)%360;var r}(t,r);let 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)}(t):0,a=void 0===o.angle?b(t.angle,t):o.angle,s=void 0===a?i:a,c=t.transform||o.transform,u=c&&b(c,t);return u||s?f(u,s&&{rotate:[s,e,n]}):void 0},ne=(t,e)=>{const{direction:n,textAnchor:r,x:o,dx:i}=t;if("rtl"===n)return o-e;switch(r){case"middle":return Math.round(o-e/2);case"end":return Math.round(o-e);default:return o+(i||0)}},re=(t,e)=>{const{verticalAnchor:n,y:r,originalDy:o=0}=t,i=r+o;switch(n){case"start":return Math.floor(i);case"end":return Math.ceil(i-e);default:return Math.floor(i-e/2)}},oe=(t,e)=>te(t)?((t,e)=>{const{dy:n,dx:r,transform:o,backgroundStyle:a,backgroundPadding:s,backgroundComponent:c,inline:u,y:l}=t,f=e.map(((t,o)=>{const i=Jt(e,o-1),a=t.textSize,c=t.fontSize*t.lineHeight,d=Math.ceil(c),f=Jt(s,o),p=Jt(s,o-1),h=u&&r||0,g=o&&!u?i.fontSize*i.lineHeight+p.top+p.bottom:n-.5*c-(t.fontSize-t.capHeight);return{textHeight:d,labelSize:a,heightWithPadding:d+f.top+f.bottom,widthWithPadding:a.width+f.left+f.right+h,y:l,fontSize:t.fontSize,dy:g}}));return f.map(((e,n)=>{const r=ne(t,e.labelSize.width),p=f.slice(0,n+1).reduce(((t,e)=>t+e.dy),l),h=Jt(s,n),g=e.heightWithPadding,y=u?((t,e,n)=>{const{textAnchor:r}=t,o=e.map((t=>t.widthWithPadding)),i=-o.reduce(((t,e)=>t+e),0)/2;switch(r){case"start":return o.reduce(((t,e,r)=>r<n?t+e:t),0);case"end":return o.reduce(((t,e,r)=>r>n?t-e:t),0);default:return o.reduce(((t,e,r)=>r===n?t+e/2:t+(r<n?e:0)),i)}})(t,f,n)+r-h.left:r,m=u?re(t,g)-h.top:p,b={key:`tspan-background-${n}`,height:g,style:Jt(a,n),width:e.widthWithPadding,transform:o,x:y-h.left,y:m};return i().cloneElement(c,d()({},c.props,b))}))})(t,e):((t,e)=>{const{dx:n=0,transform:r,backgroundComponent:o,backgroundStyle:a,inline:s,backgroundPadding:c,capHeight:u}=t,l=e.map((t=>t.textSize)),f=s?Math.max(...l.map((t=>t.height))):l.reduce(((t,n,r)=>{const o=r?0:u/2;return t+n.height*(e[r].lineHeight-o)}),0),p=s?l.reduce(((t,e,r)=>{const o=r?n:0;return t+e.width+o}),0):Math.max(...l.map((t=>t.width))),h=ne(t,p),g=re(t,f),y={key:"background",height:f+c.top+c.bottom,style:a,transform:r,width:p+c.left+c.right,x:s?h-c.left:h+n-c.left,y:g};return i().cloneElement(o,d()({},o.props,y))})(t,e),ie=(t,e,n)=>{const{inline:r}=e,o=Jt(t,n);return n&&!r?((t,e,n)=>{const r=Jt(t,e),o=Jt(t,e-1),i=o.fontSize*o.lineHeight,a=r.fontSize*r.lineHeight,s=o.fontSize-o.capHeight,c=r.fontSize-r.capHeight,u=i-o.fontSize/2+r.fontSize/2-i/2+a/2-c/2+s/2;return te(n)?u+r.backgroundPadding.top+o.backgroundPadding.bottom:u})(t,n,e):r?0===n?o.backgroundPadding.top:void 0:o.backgroundPadding.top},ae={backgroundComponent:i().createElement(X,null),groupComponent:i().createElement("g",null),direction:"inherit",textComponent:i().createElement(Ut,null),tspanComponent:i().createElement(Qt,null),capHeight:.71,lineHeight:1},se=t=>{const e=(t=>{const e=((t,e)=>{if(null==t)return;if(Array.isArray(t))return t.map((t=>b(t,e)));const n=b(t,e);return null!=n?Array.isArray(n)?n:`${n}`.split("\n"):void 0})(t.text,t),n=((t,e)=>{if(e.disableInlineStyles){const n=v(t,e);return{fontSize:Xt(n)}}const n=t=>{const n=v(t?d()({},t,Zt):Zt,e);return Object.assign({},n,{fontSize:Xt(n)})};return Array.isArray(t)&&!Vt()(t)?t.map((t=>n(t))):n(t)})(t.style,Object.assign({},t,{text:e})),r=((t,e)=>{if(t)return Array.isArray(t)&&!Vt()(t)?t.map((t=>v(t,e))):v(t,e)})(t.backgroundStyle,Object.assign({},t,{text:e,style:n})),o=(t=>t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((e=>m({padding:b(e,t)}))):m({padding:b(t.backgroundPadding,t)}))(Object.assign({},t,{text:e,style:n,backgroundStyle:r})),i=b(t.id,t);return Object.assign({},t,{backgroundStyle:r,backgroundPadding:o,style:n,text:e,id:i})})(d()({},t,ae));if(null===e.text||void 0===e.text)return null;const n=(t=>{const e=b(t.ariaLabel,t),n=Jt(t.style),r=(t=>{const e=b(t.lineHeight,t);return Array.isArray(e)&&Vt()(e)?[1]:e})(t),o=t.direction?b(t.direction,t):"inherit",i=t.textAnchor?b(t.textAnchor,t):n.textAnchor||"start",a=t.verticalAnchor?b(t.verticalAnchor,t):n.verticalAnchor||"middle",s=t.dx?b(t.dx,t):0,c=((t,e,n)=>{const r=t.dy?b(t.dy,t):0,o=t.inline?1:t.text.length,i=b(t.capHeight,t),a=e?b(e,t):"middle",s=[...Array(o).keys()].map((e=>Jt(t.style,e).fontSize)),c=[...Array(o).keys()].map((t=>Jt(n,t)));if("start"===a)return r+(i/2+c[0]/2)*s[0];if(t.inline)return"end"===a?r+(i/2-c[0]/2)*s[0]:r+i/2*s[0];if(1===o)return"end"===a?r+(i/2+(.5-o)*c[0])*s[0]:r+(i/2+(.5-o/2)*c[0])*s[0];const u=[...Array(o).keys()].reduce(((t,e)=>t+(i/2+(.5-o)*c[e])*s[e]/o),0);return"end"===a?r+u:r+u/2+i/2*c[o-1]*s[o-1]})(t,a,r),u=void 0!==t.x?t.x:Yt(t,"x"),l=void 0!==t.y?t.y:Yt(t,"y"),d=ee(t,u,l);return Object.assign({},t,{ariaLabel:e,lineHeight:r,direction:o,textAnchor:i,verticalAnchor:a,dx:s,dy:c,originalDy:b(t.dy,t),transform:d,x:u,y:l})})(e),{text:r,style:o,capHeight:a,backgroundPadding:s,lineHeight:c}=n,u=r.map(((t,e)=>{const n=Jt(o,e),r=I(`${a}em`,n.fontSize),i=Jt(c,e);return{style:n,fontSize:n.fontSize||Zt.fontSize,capHeight:r,text:t,textSize:R(t,n),lineHeight:i,backgroundPadding:Jt(s,e)}})),l=((t,e)=>{const{ariaLabel:n,inline:r,className:o,title:a,events:s,direction:c,text:u,textAnchor:l,dx:d,dy:f,transform:p,x:h,y:g,desc:y,id:m,tabIndex:v,tspanComponent:x,textComponent:w}=t,E=Ct(t),O={"aria-label":n,key:"text",...s,direction:c,dx:d,x:h,y:g+f,transform:p,className:o,title:a,desc:b(y,t),tabIndex:b(v,t),id:m,...E},j=u.map(((n,o)=>{const a=e[o].style,s={key:`${m}-key-${o}`,x:r?void 0:h,dx:r?d+e[o].backgroundPadding.left:d,dy:ie(e,t,o),textAnchor:a.textAnchor||l,style:a,children:n};return i().cloneElement(x,s)}));return i().cloneElement(w,O,j)})(n,u);if(e.backgroundStyle){const t=[oe(n,u),l],r=i().cloneElement(e.groupComponent,{},t);return e.renderInPortal?i().createElement(Gt,null,r):r}return e.renderInPortal?i().createElement(Gt,null,l):l};se.displayName="VictoryLabel",se.role="label",se.defaultStyles=Zt;const ce=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],ue="#252525",le="#969696",de={width:450,height:300,padding:50,colorScale:ce},fe={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:ue,stroke:"transparent"},pe=Object.assign({textAnchor:"middle"},fe),he={area:Object.assign({style:{data:{fill:ue},labels:fe}},de),axis:Object.assign({style:{axis:{fill:"transparent",stroke:ue,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},pe,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:fe}},de),bar:Object.assign({style:{data:{fill:ue,padding:8,strokeWidth:0},labels:fe}},de),boxplot:Object.assign({style:{max:{padding:8,stroke:ue,strokeWidth:1},maxLabels:Object.assign({},fe,{padding:3}),median:{padding:8,stroke:ue,strokeWidth:1},medianLabels:Object.assign({},fe,{padding:3}),min:{padding:8,stroke:ue,strokeWidth:1},minLabels:Object.assign({},fe,{padding:3}),q1:{padding:8,fill:le},q1Labels:Object.assign({},fe,{padding:3}),q3:{padding:8,fill:le},q3Labels:Object.assign({},fe,{padding:3})},boxWidth:20},de),candlestick:Object.assign({style:{data:{stroke:ue,strokeWidth:1},labels:Object.assign({},fe,{padding:5})},candleColors:{positive:"#ffffff",negative:ue}},de),chart:de,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:ue,strokeWidth:2},labels:fe}},de),group:Object.assign({colorScale:ce},de),histogram:Object.assign({style:{data:{fill:le,stroke:ue,strokeWidth:2},labels:fe}},de),legend:{colorScale:ce,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:fe,title:Object.assign({},fe,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:ue,strokeWidth:2},labels:fe}},de),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},fe,{padding:20})},colorScale:ce,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:ue,stroke:"transparent",strokeWidth:0},labels:fe}},de),stack:Object.assign({colorScale:ce},de),tooltip:{style:Object.assign({},fe,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:ue,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},fe,{padding:5,pointerEvents:"none"}),flyout:{stroke:ue,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},de)},ge=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],ye="#ECEFF1",me="#90A4AE",be="#455A64",ve="#212121",xe={width:350,height:350,padding:50},we={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:be,stroke:"transparent",strokeWidth:0},Ee=Object.assign({textAnchor:"middle"},we),Oe="round",je="round",ke=(Object.assign({style:{data:{fill:ve},labels:we}},xe),Object.assign({style:{axis:{fill:"transparent",stroke:me,strokeWidth:2,strokeLinecap:Oe,strokeLinejoin:je},axisLabel:Object.assign({},Ee,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:ye,strokeDasharray:"10, 5",strokeLinecap:Oe,strokeLinejoin:je,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:me,strokeWidth:1,strokeLinecap:Oe,strokeLinejoin:je},tickLabels:Object.assign({},we,{fill:be})}},xe),Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),Object.assign({style:{data:{fill:be,padding:8,strokeWidth:0},labels:we}},xe),Object.assign({style:{max:{padding:8,stroke:be,strokeWidth:1},maxLabels:Object.assign({},we,{padding:3}),median:{padding:8,stroke:be,strokeWidth:1},medianLabels:Object.assign({},we,{padding:3}),min:{padding:8,stroke:be,strokeWidth:1},minLabels:Object.assign({},we,{padding:3}),q1:{padding:8,fill:be},q1Labels:Object.assign({},we,{padding:3}),q3:{padding:8,fill:be},q3Labels:Object.assign({},we,{padding:3})},boxWidth:20},xe),Object.assign({style:{data:{stroke:be},labels:Object.assign({},we,{padding:5})},candleColors:{positive:"#ffffff",negative:be}},xe),Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:be,strokeWidth:2},labels:we}},xe),Object.assign({colorScale:ge},xe),Object.assign({style:{data:{fill:be,stroke:ve,strokeWidth:2},labels:we}},xe),Object.assign({},we,{padding:5}),Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:be,strokeWidth:2},labels:we}},xe),Object.assign({colorScale:ge,style:{data:{padding:8,stroke:ye,strokeWidth:1},labels:Object.assign({},we,{padding:20})}},xe),Object.assign({style:{data:{fill:be,opacity:1,stroke:"transparent",strokeWidth:0},labels:we}},xe),Object.assign({colorScale:ge},xe),Object.assign({},we,{padding:0,pointerEvents:"none"}),Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},we,{padding:5,pointerEvents:"none"}),flyout:{stroke:ve,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},xe),he);var Ae=r(7491),Se=r.n(Ae);const Ce=t=>+t;function $e(t){return t*t}function Me(t){return t*(2-t)}function Pe(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function ze(t){return t*t*t}function Ie(t){return--t*t*t+1}function Le(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var Ne=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),_e=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),We=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3),De=Math.PI,Re=De/2;function Fe(t){return 1==+t?1:1-Math.cos(t*Re)}function Te(t){return Math.sin(t*Re)}function He(t){return(1-Math.cos(De*t))/2}function Be(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function qe(t){return Be(1-+t)}function Ke(t){return 1-Be(t)}function Ve(t){return((t*=2)<=1?Be(1-t):2-Be(t-1))/2}function Ge(t){return 1-Math.sqrt(1-t*t)}function Ue(t){return Math.sqrt(1- --t*t)}function Qe(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var Ze=7.5625;function Ye(t){return 1-Xe(1-t)}function Xe(t){return(t=+t)<.36363636363636365?Ze*t*t:t<.7272727272727273?Ze*(t-=.5454545454545454)*t+.75:t<.9090909090909091?Ze*(t-=.8181818181818182)*t+.9375:Ze*(t-=.9545454545454546)*t+.984375}function Je(t){return((t*=2)<=1?1-Xe(1-t):Xe(t-1)+1)/2}var tn=1.70158,en=function t(e){function n(t){return(t=+t)*t*(e*(t-1)+t)}return e=+e,n.overshoot=t,n}(tn),nn=function t(e){function n(t){return--t*t*((t+1)*e+t)+1}return e=+e,n.overshoot=t,n}(tn),rn=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(tn),on=2*Math.PI,an=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=on);function o(t){return e*Be(- --t)*Math.sin((r-t)/n)}return o.amplitude=function(e){return t(e,n*on)},o.period=function(n){return t(e,n)},o}(1,.3),sn=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=on);function o(t){return 1-e*Be(t=+t)*Math.sin((t+r)/n)}return o.amplitude=function(e){return t(e,n*on)},o.period=function(n){return t(e,n)},o}(1,.3),cn=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=on);function o(t){return((t=2*t-1)<0?e*Be(-t)*Math.sin((r-t)/n):2-e*Be(t)*Math.sin((r+t)/n))/2}return o.amplitude=function(e){return t(e,n*on)},o.period=function(n){return t(e,n)},o}(1,.3),un=r(4143),ln=r.n(un),dn=r(3849),fn=r.n(dn);function pn(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function hn(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function gn(){}var yn=.7,mn=1/yn,bn="\\s*([+-]?\\d+)\\s*",vn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",xn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",wn=/^#([0-9a-f]{3,8})$/,En=new RegExp(`^rgb\\(${bn},${bn},${bn}\\)$`),On=new RegExp(`^rgb\\(${xn},${xn},${xn}\\)$`),jn=new RegExp(`^rgba\\(${bn},${bn},${bn},${vn}\\)$`),kn=new RegExp(`^rgba\\(${xn},${xn},${xn},${vn}\\)$`),An=new RegExp(`^hsl\\(${vn},${xn},${xn}\\)$`),Sn=new RegExp(`^hsla\\(${vn},${xn},${xn},${vn}\\)$`),Cn={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 $n(){return this.rgb().formatHex()}function Mn(){return this.rgb().formatRgb()}function Pn(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=wn.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?zn(e):3===n?new _n(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?In(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?In(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=En.exec(t))?new _n(e[1],e[2],e[3],1):(e=On.exec(t))?new _n(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=jn.exec(t))?In(e[1],e[2],e[3],e[4]):(e=kn.exec(t))?In(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=An.exec(t))?Hn(e[1],e[2]/100,e[3]/100,1):(e=Sn.exec(t))?Hn(e[1],e[2]/100,e[3]/100,e[4]):Cn.hasOwnProperty(t)?zn(Cn[t]):"transparent"===t?new _n(NaN,NaN,NaN,0):null}function zn(t){return new _n(t>>16&255,t>>8&255,255&t,1)}function In(t,e,n,r){return r<=0&&(t=e=n=NaN),new _n(t,e,n,r)}function Ln(t){return t instanceof gn||(t=Pn(t)),t?new _n((t=t.rgb()).r,t.g,t.b,t.opacity):new _n}function Nn(t,e,n,r){return 1===arguments.length?Ln(t):new _n(t,e,n,null==r?1:r)}function _n(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Wn(){return`#${Tn(this.r)}${Tn(this.g)}${Tn(this.b)}`}function Dn(){const t=Rn(this.opacity);return`${1===t?"rgb(":"rgba("}${Fn(this.r)}, ${Fn(this.g)}, ${Fn(this.b)}${1===t?")":`, ${t})`}`}function Rn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Fn(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Tn(t){return((t=Fn(t))<16?"0":"")+t.toString(16)}function Hn(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new qn(t,e,n,r)}function Bn(t){if(t instanceof qn)return new qn(t.h,t.s,t.l,t.opacity);if(t instanceof gn||(t=Pn(t)),!t)return new qn;if(t instanceof qn)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,o=Math.min(e,n,r),i=Math.max(e,n,r),a=NaN,s=i-o,c=(i+o)/2;return s?(a=e===i?(n-r)/s+6*(n<r):n===i?(r-e)/s+2:(e-n)/s+4,s/=c<.5?i+o:2-i-o,a*=60):s=c>0&&c<1?0:a,new qn(a,s,c,t.opacity)}function qn(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Kn(t){return(t=(t||0)%360)<0?t+360:t}function Vn(t){return Math.max(0,Math.min(1,t||0))}function Gn(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function Un(t,e,n,r,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*e+(4-6*i+3*a)*n+(1+3*t+3*i-3*a)*r+a*o)/6}pn(gn,Pn,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:$n,formatHex:$n,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Bn(this).formatHsl()},formatRgb:Mn,toString:Mn}),pn(_n,Nn,hn(gn,{brighter(t){return t=null==t?mn:Math.pow(mn,t),new _n(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?yn:Math.pow(yn,t),new _n(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new _n(Fn(this.r),Fn(this.g),Fn(this.b),Rn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Wn,formatHex:Wn,formatHex8:function(){return`#${Tn(this.r)}${Tn(this.g)}${Tn(this.b)}${Tn(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Dn,toString:Dn})),pn(qn,(function(t,e,n,r){return 1===arguments.length?Bn(t):new qn(t,e,n,null==r?1:r)}),hn(gn,{brighter(t){return t=null==t?mn:Math.pow(mn,t),new qn(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?yn:Math.pow(yn,t),new qn(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,o=2*n-r;return new _n(Gn(t>=240?t-240:t+120,o,r),Gn(t,o,r),Gn(t<120?t+240:t-120,o,r),this.opacity)},clamp(){return new qn(Kn(this.h),Vn(this.s),Vn(this.l),Rn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Rn(this.opacity);return`${1===t?"hsl(":"hsla("}${Kn(this.h)}, ${100*Vn(this.s)}%, ${100*Vn(this.l)}%${1===t?")":`, ${t})`}`}}));var Qn=t=>()=>t;function Zn(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):Qn(isNaN(t)?e:t)}var Yn=function t(e){var n=function(t){return 1==(t=+t)?Zn:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Qn(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=Nn(t)).r,(e=Nn(e)).r),o=n(t.g,e.g),i=n(t.b,e.b),a=Zn(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=o(e),t.b=i(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function Xn(t){return function(e){var n,r,o=e.length,i=new Array(o),a=new Array(o),s=new Array(o);for(n=0;n<o;++n)r=Nn(e[n]),i[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return i=t(i),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=i(t),r.g=a(t),r.b=s(t),r+""}}}function Jn(t,e){var n,r=e?e.length:0,o=t?Math.min(r,t.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=sr(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<o;++n)a[n]=i[n](t);return a}}function tr(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function er(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function nr(t,e){var n,r={},o={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=sr(t[n],e[n]):o[n]=e[n];return function(t){for(n in r)o[n]=r[n](t);return o}}Xn((function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),o=t[r],i=t[r+1],a=r>0?t[r-1]:2*o-i,s=r<e-1?t[r+2]:2*i-o;return Un((n-r/e)*e,a,o,i,s)}})),Xn((function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),o=t[(r+e-1)%e],i=t[r%e],a=t[(r+1)%e],s=t[(r+2)%e];return Un((n-r/e)*e,o,i,a,s)}}));var rr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,or=new RegExp(rr.source,"g");function ir(t,e){var n,r,o,i=rr.lastIndex=or.lastIndex=0,a=-1,s=[],c=[];for(t+="",e+="";(n=rr.exec(t))&&(r=or.exec(e));)(o=r.index)>i&&(o=e.slice(i,o),s[a]?s[a]+=o:s[++a]=o),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,c.push({i:a,x:er(n,r)})),i=or.lastIndex;return i<e.length&&(o=e.slice(i),s[a]?s[a]+=o:s[++a]=o),s.length<2?c[0]?function(t){return function(e){return t(e)+""}}(c[0].x):function(t){return function(){return t}}(e):(e=c.length,function(t){for(var n,r=0;r<e;++r)s[(n=c[r]).i]=n.x(t);return s.join("")})}function ar(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,o=e.slice();return function(i){for(n=0;n<r;++n)o[n]=t[n]*(1-i)+e[n]*i;return o}}function sr(t,e){var n,r,o=typeof e;return null==e||"boolean"===o?Qn(e):("number"===o?er:"string"===o?(n=Pn(e))?(e=n,Yn):ir:e instanceof Pn?Yn:e instanceof Date?tr:(r=e,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(e)?Jn:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?nr:er:ar))(t,e)}const cr=function(t){if(null!==t)switch(typeof t){case"undefined":case"boolean":return!1;case"number":return!isNaN(t)&&t!==Number.POSITIVE_INFINITY&&t!==Number.NEGATIVE_INFINITY;case"string":case"function":return!0;case"object":return t instanceof Date||Array.isArray(t)||fn()(t)}return!1},ur=function(t,e,n){return void 0===n&&(n=0),function(r){return r<n?t:e}},lr=function(t,e){return function(n){return n>=1?e:function(){const r="function"==typeof t?t.apply(this,arguments):t,o="function"==typeof e?e.apply(this,arguments):e;return sr(r,o)(n)}}},dr=function(t,e){const n=t=>Array.isArray(t)?ln()(t,"key"):t,r={},o={};let i,a=t,s=e;for(i in null!==a&&"object"==typeof a||(a={}),null!==s&&"object"==typeof s||(s={}),s)i in a?r[i]=(c=n(a[i]))!==(u=n(s[i]))&&cr(c)&&cr(u)?"function"==typeof c||"function"==typeof u?lr(c,u):"object"==typeof c&&fn()(c)||"object"==typeof u&&fn()(u)?dr(c,u):sr(c,u):ur(c,u):o[i]=s[i];var c,u;return function(t){for(i in r)o[i]=r[i](t);return o}},fr=1e3,pr=t=>{let{duration:n=fr,easing:r="quadInOut",delay:o=0,data:a,children:s,onEnd:c}=t;const[u,l]=i().useState({data:Array.isArray(a)?a[0]:a,animationInfo:{progress:0,animating:!1}}),d=i().useContext(At).animationTimer,f=i().useRef(Array.isArray(a)?a.slice(1):[]),p=i().useRef(null),h=i().useRef(void 0),g=e[(y=r,`ease${y.charAt(0).toUpperCase()+y.slice(1)}`)];var y;i().useEffect((()=>(f.current.length&&m(),()=>{h.current?d.unsubscribe(h.current):d.stop()})),[]),i().useEffect((()=>{p.current&&u.animationInfo&&u.animationInfo.progress<1?l({data:p.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}):(d.unsubscribe(h.current),f.current=Array.isArray(a)?a:[a],m())}),[a]);const m=()=>{if(f.current.length){const r=f.current[0];p.current=(t=u.data)!==(e=r)&&cr(t)&&cr(e)?"function"==typeof t||"function"==typeof e?lr(t,e):fn()(t)||fn()(e)?dr(t,e):"string"==typeof t||"string"==typeof e?function(t,e){const n=t=>"string"==typeof t?t.replace(/,/g,""):t;return sr(n(t),n(e))}(t,e):sr(t,e):ur(t,e),o?setTimeout((()=>{h.current=d.subscribe(b,n)}),o):h.current=d.subscribe(b,n)}else c&&c();var t,e},b=t=>{if(!p.current)return;const e=n?t/n:1;if(e>=1)return l({data:p.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),h.current&&d.unsubscribe(h.current),f.current.shift(),void m();l({data:p.current(g(e)),animationInfo:{progress:e,animating:e<1}})};return s(u.data,u.animationInfo)};function hr(t){return Array.isArray(t)&&t.some((t=>t instanceof Date))}function gr(t,e){return t&&e?t.filter((t=>!e.includes(t))):[]}function yr(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];const o=t.concat(n);return hr(o)?new Date(Math.max(...o)):Math.max(...o)}function mr(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];const o=t.concat(n);return hr(o)?new Date(Math.min(...o)):Math.min(...o)}var br=r(5346),vr=r.n(br);function xr(t,e){return(t.key||e).toString()}function wr(t){return t.reduce(((t,e,n)=>(t[xr(e,n)]=e,t)),{})}function Er(t,e){let n=!1;const r=Object.keys(t).reduce(((t,r)=>(r in e||(n=!0,t[r]=!0),t)),{});return n&&r}function Or(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function jr(t,e){let n=!1,r=!1;const o=(t,e)=>t.map(((a,s)=>a&&a.props&&a.props.children&&e[s]?o(i().Children.toArray(t[s].props.children),i().Children.toArray(e[s].props.children)):((t,e)=>{if(!e||t.type!==e.type)return{};const{entering:o,exiting:i}=function(t,e){const n=t&&wr(t),r=e&&wr(e);return{entering:n&&Er(r,n),exiting:r&&Er(n,r)}}(Or(t),Or(e))||{};return n=n||!!i,r=r||!!o,{entering:o||!1,exiting:i||!1}})(a,e[s]))),a=o(i().Children.toArray(t),i().Children.toArray(e));return{nodesWillExit:n,nodesWillEnter:r,childrenTransitions:a,nodesShouldEnter:!1}}function kr(t,e,n){const r=e&&e.nodesWillExit,o=e&&e.nodesWillEnter,i=e&&e.nodesShouldEnter,a=e&&e.nodesShouldLoad,s=e&&e.nodesDoneLoad,c=e&&e.childrenTransitions||[],u={enter:t.animate&&t.animate.onEnter&&t.animate.onEnter.duration,exit:t.animate&&t.animate.onExit&&t.animate.onExit.duration,load:t.animate&&t.animate.onLoad&&t.animate.onLoad.duration,move:t.animate&&t.animate.duration},l=(t,e,r)=>a?function(t,e,r){const o=Object.assign({},t,{onEnd:()=>{n({nodesShouldLoad:!1,nodesDoneLoad:!0})}});let i=e;if(o&&o.onLoad&&!o.onLoad.duration)return{animate:t,data:e};const a=t.onLoad&&t.onLoad.after?t.onLoad.after:vr();return i=e.map(((t,n)=>Object.assign({},t,a(t,n,e)))),{animate:o,data:i}}(r,e):function(t,e,r,o){const i=Object.assign({},t,{onEnd:()=>{n({nodesDoneLoad:!0})}});if(i&&i.onLoad&&!i.onLoad.duration)return{animate:i,data:r};const a=i.onLoad&&i.onLoad.before?i.onLoad.before:vr();return{animate:i,data:r.map(((t,e)=>Object.assign({},t,a(t,e,r)))),clipWidth:0}}(r,0,e),f=(t,e,r,o)=>function(t,e,r,o,i){const a=t&&t.onExit,s=Object.assign({},t,a);let c=r;if(o){t.onEnd=()=>{n({nodesWillExit:!1})};const e=t.onExit&&t.onExit.before?t.onExit.before:vr();c=r.map(((t,n)=>{const i=(t.key||n).toString();return o[i]?Object.assign({},t,e(t,n,r)):t}))}return{animate:s,data:c}}(o,0,r,t),p=(t,e,r,o)=>i?function(t,e,r,o){const i=t&&t.onEnter,a=Object.assign({},t,i);let s=e;if(r){a.onEnd=()=>{n({nodesWillEnter:!1})};const t=a.onEnter&&a.onEnter.after?a.onEnter.after:vr();s=e.map(((n,o)=>{const i=xr(n,o);return r[i]?Object.assign({},n,t(n,o,e)):n}))}return{animate:a,data:s}}(o,r,t):function(t,e,r,o,i){let a=t,s=r;if(o){a=Object.assign({},t,{onEnd:()=>{n({nodesShouldEnter:!0})}});const e=t.onEnter&&t.onEnter.before?t.onEnter.before:vr();s=r.map(((t,n)=>{const i=(t.key||n).toString();return o[i]?Object.assign({},t,e(t,n,r)):t}))}return{animate:a,data:s}}(o,0,r,t),h=function(t,e){const n=t.props.animate;if(!t.type)return{};const r=t.props&&t.props.polar&&t.type.defaultPolarTransitions||t.type.defaultTransitions;if(r){const t=n[e]&&n[e].duration;return void 0!==t?t:r[e]&&r[e].duration}return{}};return function(n,a){const g=Or(n)||[],y=d()({},t.animate,n.props.animate),m=n.props.polar&&n.type.defaultPolarTransitions||n.type.defaultTransitions;y.onExit=d()({},y.onExit,m&&m.onExit),y.onEnter=d()({},y.onEnter,m&&m.onEnter),y.onLoad=d()({},y.onLoad,m&&m.onLoad);const b=c[a]||c[0];if(!s){const t={duration:void 0!==u.load?u.load:h(n,"onLoad")};return l(0,g,Object.assign({},y,t))}if(r){const t=b&&b.exiting,e=void 0!==u.exit?u.exit:h(n,"onExit"),r=t?{duration:e}:{delay:e};return f(t,0,g,Object.assign({},y,r))}if(o){const t=b&&b.entering,e=void 0!==u.enter?u.enter:h(n,"onEnter"),r=void 0!==u.move?u.move:n.props.animate&&n.props.animate.duration,o={duration:i&&t?e:r};return p(t,0,g,Object.assign({},y,o))}return!e&&y&&y.onExit?function(t,e){const n=t.onEnter&&t.onEnter.after?t.onEnter.after:vr();return{data:e.map(((t,r)=>Object.assign({},t,n(t,r,e))))}}(y,g):{animate:y,data:g}}}function Ar(){return Ar=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ar.apply(this,arguments)}class Sr extends i().Component{static displayName="VictoryTransition";static contextType=At;constructor(t,e){super(t,e),this.state={nodesShouldLoad:!1,nodesDoneLoad:!1};const n=this.props.children,r=n.props.polar;this.continuous=!r&&n.type&&!0===n.type.continuous,this.timer=this.context.transitionTimer}componentDidMount(){this.setState({nodesShouldLoad:!0})}shouldComponentUpdate(t){return Se()(this.props,t)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,t),(()=>this.timer.resumeAnimation()))),!0}componentWillUnmount(){this.timer.stop()}getTransitionState(t,e){const{animate:n}=t;if(!n)return{};if(n.parentState)return{oldProps:n.parentState.nodesWillExit?t:null,nextProps:e};const r=i().Children.toArray(t.children),o=i().Children.toArray(e.children),{nodesWillExit:a,nodesWillEnter:s,childrenTransitions:c,nodesShouldEnter:u}=jr(r,o);return{nodesWillExit:a,nodesWillEnter:s,childrenTransitions:c,nodesShouldEnter:u,oldProps:a?t:null,nextProps:e}}getDomainFromChildren(t,e){const n=t=>t.reduce(((t,r)=>{if(r.type&&O(r.type.getDomain)){const n=r.props&&r.type.getDomain(r.props,e);return n?t.concat(n):t}return r.props&&r.props.children?t.concat(n(i().Children.toArray(r.props.children))):t}),[]),r=i().Children.toArray(t.children)[0],o=r.props||{},a=Array.isArray(o.domain)?o.domain:o.domain&&o.domain[e];if(!o.children&&a)return a;const s=n([r]);return 0===s.length?[0,1]:[mr(s),yr(s)]}pickProps(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}pickDomainProps(t){const e=t.animate?.parentState;return e&&e.nodesWillExit?(this.continuous||e.continuous)&&(e.nextProps||this.state.nextProps)||t:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||t}getClipWidth(t,e){const n=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==n?n:(()=>{const n=function(t,e){return t.range&&t.range[e]?t.range[e]:t.range&&Array.isArray(t.range)?t.range:t.polar?function(t,e){return"x"===e?[x(t.startAngle||0),x(t.endAngle||360)]:[t.innerRadius||0,w(t)]}(t,e):function(t,e){const n="x"!==e,r=m(t);return n?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,e)}(e.props,"x");return n?Math.abs(n[1]-n[0]):t.width})()}render(){const t=this.pickProps(),e=this.props.animate?.getTransitions?this.props.animate.getTransitions:kr(t,this.state,(t=>this.setState(t))),n=i().Children.toArray(t.children)[0],r=e(n);this.transitionProps=r;const o={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},a=this.getClipWidth(t,n),s=d()({domain:o,clipWidth:a},r,n.props),c=(t.animationWhitelist||[]).concat(["clipWidth"]),u=c.length?h()(s,c):s;return i().createElement(pr,Ar({},s.animate,{data:u}),(t=>{if(n.props.groupComponent){const e=this.continuous?i().cloneElement(n.props.groupComponent,{clipWidth:t.clipWidth||0}):n.props.groupComponent;return i().cloneElement(n,d()({animate:null,animating:!0,groupComponent:e},t,s))}return i().cloneElement(n,d()({animate:null,animating:!0},t,s))}))}}var Cr=r(9602),$r=r.n(Cr),Mr=r(1616),Pr=r.n(Mr),zr=r(4912),Ir=r.n(zr);const Lr=/^onGlobal(.*)$/;function Nr(t,e,n,r){const o=t=>{const r=(()=>{const r=t.reduce(((t,n)=>void 0!==n.target?(Array.isArray(n.target)?n.target.includes(e):`${n.target}`==`${e}`)?t.concat(n):t:t.concat(n)),[]);return void 0!==n&&"parent"!==e?r.filter((t=>{const e=t.eventKey,r=t=>!t||`${t}`==`${n}`;return Array.isArray(e)?e.some((t=>r(t))):r(e)})):r})();return Array.isArray(r)&&r.reduce(((t,e)=>e?Object.assign(t,e.eventHandlers):t),{})},i=(()=>Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events)(),a=i&&O(r)?r(o(i),e):void 0;if(!t.sharedEvents)return a;const s=t.sharedEvents.getEvents,c=t.sharedEvents.events&&s(o(t.sharedEvents.events),e);return Object.assign({},c,a)}function _r(t,e,n,r){if(Vt()(t))return{};const o=r||this.baseProps,i=(t,e)=>{const{childName:n,target:r,key:i}=t,a="props"===e?o:this.state||{},s=null!=n&&a[n]?a[n]:a;return"parent"===i?s.parent:s[i]&&s[i][r]},a=(t,r)=>{const a="parent"===e?t.childName:t.childName||n,s=t.target||e,c=(e,n)=>{const r=this.state||{};if(!O(t.mutation))return r;const a=i({childName:n,key:e,target:s},"props"),c=i({childName:n,key:e,target:s},"state"),u=t.mutation(Object.assign({},a,c),o),l=r[n]||{},d=t=>u?(t=>"parent"===s?Object.assign(t,{[e]:Object.assign(t[e]||{},u)}):Object.assign(t,{[e]:Object.assign(t[e]||{},{[s]:u})}))(t):(t=>(t[e]&&t[e][s]&&delete t[e][s],t[e]&&!Object.keys(t[e]).length&&delete t[e],t))(t);return null!=n?Object.assign(r,{[n]:d(l)}):d(r)},u=e=>{const n=(e=>"parent"===s?"parent":"all"===t.eventKey?o[e]?Object.keys(o[e]).filter((t=>"parent"!==t)):Object.keys(o).filter((t=>"parent"!==t)):void 0===t.eventKey&&"parent"===r?o[e]?Object.keys(o[e]):Object.keys(o):void 0!==t.eventKey?t.eventKey:r)(e);return Array.isArray(n)?n.reduce(((t,n)=>Object.assign(t,c(n,e))),{}):c(n,e)},l="all"===a?Object.keys(o).filter((t=>"parent"!==t)):a;return Array.isArray(l)?l.reduce(((t,e)=>Object.assign(t,u(e))),{}):u(l)},s=(e,n,r,o)=>{const i=t[o](e,n,r,this);if(!Vt()(i)){const t=(t=>{const e=t=>O(t.callback)&&t.callback,n=(Array.isArray(t)?t.map((t=>e(t))):[e(t)]).filter((t=>!1!==t));return n.length?()=>n.forEach((t=>t())):void 0})(i);this.setState(((t,e)=>Array.isArray(t)?t.reduce(((t,n)=>Object.assign({},t,a(n,e))),{}):a(t,e))(i,r),t)}};return Object.keys(t).reduce(((t,e)=>(t[e]=s,t)),{})}function Wr(t,e,n){const r=this.state||{};return n?r[n]&&r[n][t]&&r[n][t][e]:"parent"===t?r[t]&&r[t][e]||r[t]:r[t]&&r[t][e]}function Dr(t,e,n,r){const o=(t,e)=>"string"==typeof t[e]?"all"===t[e]||t[e]===r[e]:!!Array.isArray(t[e])&&t[e].map((t=>`${t}`)).includes(r[e]);let i=Array.isArray(t)?t:[t];r.childName&&(i=t.filter((t=>o(t,"childName"))));const a=i.filter((t=>o(t,"target")));if(Vt()(a))return;const s=a.filter((t=>o(t,"eventKey")));return Vt()(s)?void 0:s.reduce(((t,r)=>{const o=(r&&O(r.mutation)?r.mutation:()=>{})(Object.assign({},e,n));return Object.assign({},t,o)}),{})}function Rr(t){const e=t.match(Lr);return e&&e[1]&&e[1].toLowerCase()}const Fr=t=>!E(t._x)&&!E(t._y),Tr=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}],Hr={orientation:"vertical",titleOrientation:"top",width:450,height:300,x:0,y:0},Br=[{name:"Series 1"},{name:"Series 2"}];class qr extends i().Component{static displayName="VictoryLegend";static role="legend";static defaultProps={borderComponent:i().createElement(tt,null),data:Br,containerComponent:i().createElement(Mt,null),dataComponent:i().createElement(qt,null),groupComponent:i().createElement("g",null),labelComponent:i().createElement(se,null),standalone:!0,theme:ke,titleComponent:i().createElement(se,null)};static getBaseProps(t){return Q(t,Hr)}static getDimensions(t){return U(t,Hr)}static expectedComponents=["borderComponent","containerComponent","dataComponent","groupComponent","labelComponent","titleComponent"];renderChildren(t){const{dataComponent:e,labelComponent:n,title:r}=t,o=[];if(t.borderComponent){const e=this.getComponentProps(t.borderComponent,"border","all"),n=i().cloneElement(t.borderComponent,e);o.push(n)}if(e){const t=this.dataKeys.map(((t,n)=>{if("all"===t)return;const r=this.getComponentProps(e,"data",n);return i().cloneElement(e,r)})).filter((t=>void 0!==t));o.push(...t)}if(r&&t.titleComponent){const e=this.getComponentProps(r,"title","all"),n=i().cloneElement(t.titleComponent,e);o.push(n)}if(n){const t=this.dataKeys.map(((t,e)=>{if("all"===t)return;const r=this.getComponentProps(n,"labels",e);return void 0!==r.text&&null!==r.text?i().cloneElement(n,r):void 0})).filter((t=>void 0!==t));o.push(...t)}return o}render(){const{role:t}=this.constructor,e=j(this.props,Hr,t),n=this.renderChildren(e);return e.standalone?this.renderContainer(e.containerComponent,n):i().cloneElement(e.groupComponent,{},n)}}const Kr=(Vr=qr,void 0===Gr&&(Gr={}),class extends Vr{constructor(t){super(t),this.cacheValues(this.getCalculatedValues(t))}state={};getEventState=Wr.bind(this);getScopedEvents=_r.bind(this);getEvents=(t,e,n)=>Nr.call(this,t,e,n,this.getScopedEvents);externalMutations=this.getExternalMutations(this.props);calculatedState=this.getStateChanges(this.props);globalEvents={};prevGlobalEventKeys=[];boundGlobalEvents={};shouldComponentUpdate(t){const e=this.getExternalMutations(t),n=this.props.animating||this.props.animate,r=!Se()(e,this.externalMutations);if(n||r)return this.cacheValues(this.getCalculatedValues(t)),this.externalMutations=e,this.applyExternalMutations(t,e),!0;const o=this.getStateChanges(t);return Se()(this.calculatedState,o)?!Se()(this.props,t)&&(this.cacheValues(this.getCalculatedValues(t)),!0):(this.cacheValues(this.getCalculatedValues(t)),!0)}componentDidMount(){const t=Object.keys(this.globalEvents);t.forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=t}componentDidUpdate(t){const e=this.getStateChanges(t);this.calculatedState=e;const n=Object.keys(this.globalEvents);gr(this.prevGlobalEventKeys,n).forEach((t=>this.removeGlobalListener(t))),gr(n,this.prevGlobalEventKeys).forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=n}componentWillUnmount(){this.prevGlobalEventKeys.forEach((t=>this.removeGlobalListener(t)))}addGlobalListener(t){const e=e=>{const n=this.globalEvents[t];return n&&n((t=>Object.assign(t,{nativeEvent:t}))(e))};this.boundGlobalEvents[t]=e,window.addEventListener(Rr(t),e)}removeGlobalListener(t){window.removeEventListener(Rr(t),this.boundGlobalEvents[t])}getStateChanges(t){if(!this.hasEvents)return{};const e=(t,e)=>{const n=d()({},this.getEventState(t,e),this.getSharedEventState(t,e));return Vt()(n)?void 0:n};return(Gr.components||Tr).map((n=>{if(t.standalone||"parent"!==n.name)return void 0!==n.index?e(n.index,n.name):this.dataKeys.map((t=>e(t,n.name))).filter(Boolean)})).filter(Boolean)}applyExternalMutations(t,e){if(!Vt()(e)){const n=t.externalEventMutations.reduce(((t,e)=>O(e.callback)?t.concat(e.callback):t),[]),r=n.length?()=>{n.forEach((t=>t()))}:void 0;this.setState(e,r)}}getCalculatedValues(t){const{sharedEvents:e}=t,n=function(t,e){const n=Array.isArray(e)&&e.reduce(((e,n)=>{const r=t[n],o=r&&r.type&&r.type.defaultEvents,i=O(o)?o(r.props):o;return Array.isArray(i)?e.concat(...i):e}),[]);return n&&n.length?n:void 0}(t,Vr.expectedComponents),r=e&&O(e.getEventState)?e.getEventState:()=>{},o=this.getBaseProps(t,r);return{componentEvents:n,getSharedEventState:r,baseProps:o,dataKeys:Object.keys(o).filter((t=>"parent"!==t)),hasEvents:t.events||t.sharedEvents||n,events:this.getAllEvents(t)}}getExternalMutations(t){const{sharedEvents:e,externalEventMutations:n}=t;return Vt()(n)||e?void 0:function(t,e,n,r){return void 0===e&&(e={}),void 0===n&&(n={}),Object.keys(e).reduce(((o,i)=>{const a=n[i]||{},s=e[i]||{};if("parent"===i){const e=Dr(t,s,a,{eventKey:i,target:"parent"});o[i]=void 0!==e?Object.assign({},a,e):a}else{const e=$r()(Object.keys(s).concat(Object.keys(a)));o[i]=e.reduce(((e,n)=>{const o={eventKey:i,target:n,childName:r},c=Dr(t,s[n],a[n],o);return e[n]=void 0!==c?Object.assign({},a[n],c):a[n],Ir()(e,(t=>!Vt()(t)))}),{})}return Ir()(o,(t=>!Vt()(t)))}),{})}(n,this.baseProps,this.state)}cacheValues(t){Object.keys(t).forEach((e=>{this[e]=t[e]}))}getBaseProps(t,e){const n=(e||this.getSharedEventState.bind(this))("parent","parent"),r=this.getEventState("parent","parent"),o=d()({},r,n),i=o.parentControlledProps,a=i?h()(o,i):{},s=d()({},a,t);return"function"==typeof Vr.getBaseProps?Vr.getBaseProps(s):{}}getAllEvents(t){return Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events}getComponentProps(t,e,n){const r=this.props.name||Vr.role,o=this.dataKeys&&this.dataKeys[n]||n,i=`${r}-${e}-${o}`,a=this.baseProps[o]&&this.baseProps[o][e]||this.baseProps[o];if(!a&&!this.hasEvents)return;const s=t&&"object"==typeof t&&"props"in t?t.props:void 0;if(this.hasEvents){const t=this.getEvents(this.props,e,o),r=d()({index:n,key:i},this.getEventState(o,e),this.getSharedEventState(o,e),s,a,{id:i}),c=d()({},function(t,e,n){return t?Object.keys(t).reduce(((r,o)=>(r[o]=r=>t[o](r,n,e,o),r)),{}):{}}(t,o,r),r.events);return Object.assign({},r,{events:c})}return d()({index:n,key:i},s,a,{id:i})}renderContainer(t,e){const n=t.type&&"container"===t.type.role?this.getComponentProps(t,"parent","parent"):{};var r;return n.events&&(this.globalEvents=(r=n.events,Ir()(r,((t,e)=>Lr.test(e)))),n.events=(t=>Pr()(t,((t,e)=>Lr.test(e))))(n.events)),i().cloneElement(t,n,e)}animateComponent(t,e){const n="object"==typeof t.animate&&t.animate?.animationWhitelist||e,r=this.constructor;return i().createElement(Sr,{animate:t.animate,animationWhitelist:n},i().createElement(r,t))}renderContinuousData(t){const{dataComponent:e,labelComponent:n,groupComponent:r}=t,o=this.dataKeys.filter((t=>"all"!==t)),a=o.reduce(((t,e)=>{let r=t;const o=this.getComponentProps(n,"labels",e);return o&&void 0!==o.text&&null!==o.text&&(r=r.concat(i().cloneElement(n,o))),r}),[]),s=this.getComponentProps(e,"data","all"),c=[i().cloneElement(e,s),...a];return this.renderContainer(r,c)}renderData(t,e){void 0===e&&(e=Fr);const{dataComponent:n,labelComponent:r,groupComponent:o}=t,a=[...this.dataKeys.reduce(((t,r,o)=>{const a=this.getComponentProps(n,"data",o);return e(a.datum)&&t.push(i().cloneElement(n,a)),t}),[]),...this.dataKeys.map(((t,e)=>{const n=this.getComponentProps(r,"labels",e);if(void 0!==n.text&&null!==n.text)return i().cloneElement(r,n)})).filter(Boolean)];return this.renderContainer(o,a)}});var Vr,Gr}(),o}()}));
|
|
2
2
|
//# sourceMappingURL=victory-legend.min.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "victory-legend",
|
|
3
|
-
"version": "37.0.
|
|
3
|
+
"version": "37.0.2",
|
|
4
4
|
"description": "Legend Component for Victory",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data visualization",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"lodash": "^4.17.19",
|
|
24
|
-
"victory-core": "^37.0.
|
|
24
|
+
"victory-core": "^37.0.2"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": ">=16.6.0"
|