victory-legend 37.2.0 → 37.3.1

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # victory-legend
2
2
 
3
+ ## 37.3.1
4
+
5
+ ## 37.3.0
6
+
3
7
  ## 37.2.0
4
8
 
5
9
  ### Minor Changes
@@ -6202,7 +6202,7 @@ const VictoryPortal = initialProps => {
6202
6202
  ...defaultProps,
6203
6203
  ...initialProps
6204
6204
  };
6205
- const id = lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0___default()();
6205
+ const [id] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0___default()());
6206
6206
  const portalContext = (0,_portal_context__WEBPACK_IMPORTED_MODULE_3__.usePortalContext)();
6207
6207
  if (!portalContext) {
6208
6208
  const msg = "`renderInPortal` is not supported outside of `VictoryContainer`. " + "Component will be rendered in place";
@@ -6600,20 +6600,16 @@ const orange = {
6600
6600
  "100": "#FEE2D5",
6601
6601
  "300": "#FFA981",
6602
6602
  "500": "#FF6F2C",
6603
+ "700": "#FF4E1B",
6603
6604
  "900": "#D74D26"
6604
6605
  };
6605
6606
  const red = {
6606
6607
  "100": "#FFDCE5",
6607
6608
  "300": "#FF9EB7",
6608
6609
  "500": "#F82B60",
6610
+ "700": "#D31A3D",
6609
6611
  "900": "#BA1E45"
6610
6612
  };
6611
- const pink = {
6612
- "100": "#FFDAF6",
6613
- "300": "#F99DE2",
6614
- "500": "#FF08C2",
6615
- "900": "#B2158B"
6616
- };
6617
6613
  const purple = {
6618
6614
  "100": "#EDE3FE",
6619
6615
  "300": "#CDB0FF",
@@ -6624,6 +6620,7 @@ const blue = {
6624
6620
  "100": "#CFDFFF",
6625
6621
  "300": "#9CC7FF",
6626
6622
  "500": "#2D7FF9",
6623
+ "700": "#0056B3",
6627
6624
  "900": "#2750AE"
6628
6625
  };
6629
6626
  const cyan = {
@@ -6642,27 +6639,28 @@ const green = {
6642
6639
  "100": "#D1F7C4",
6643
6640
  "300": "#93E088",
6644
6641
  "500": "#20C933",
6642
+ "700": "#1B9B2A",
6645
6643
  "900": "#338A17"
6646
6644
  };
6647
6645
  const colors = {
6648
6646
  blue: blue["500"],
6649
- pink: pink["500"],
6650
- teal: teal["500"],
6651
- purple: purple["500"],
6647
+ cyan: cyan["500"],
6652
6648
  green: green["500"],
6649
+ yellow: yellow["500"],
6653
6650
  orange: orange["500"],
6654
- cyan: cyan["500"],
6655
6651
  red: red["500"],
6656
- yellow: yellow["500"]
6652
+ purple: purple["500"],
6653
+ teal: teal["500"]
6657
6654
  };
6658
6655
  const colorScale = Object.values(colors);
6659
- const grayscale = [gray["200"], gray["400"], gray["600"], gray["900"]];
6660
- const warm = [yellow["500"], orange["500"], red["500"], pink["500"]];
6661
- const cool = [cyan["500"], teal["500"], blue["500"], purple["500"]];
6662
- const heatmap = [green["500"], yellow["500"], red["500"]];
6663
- const redPalette = [red["500"], red["300"], red["100"]];
6664
- const greenPalette = [green["500"], green["300"], green["100"]];
6665
- const bluePalette = [blue["500"], blue["300"], blue["100"]];
6656
+ const grayscale = [gray["100"], gray["300"], gray["500"], gray["700"], gray["900"]];
6657
+ const warm = [yellow["300"], yellow["500"], orange["500"], orange["900"], red["500"]];
6658
+ const cool = [purple["500"], blue["500"], cyan["500"], teal["500"], green["500"]];
6659
+ const heatmap = [green["900"], green["500"], yellow["500"], orange["500"], red["500"]];
6660
+ const redPalette = Object.values(red);
6661
+ const greenPalette = Object.values(green);
6662
+ const bluePalette = Object.values(blue);
6663
+ const defaultColor = blue["500"];
6666
6664
 
6667
6665
  // *
6668
6666
  // * Typography
@@ -6677,7 +6675,7 @@ const padding = 8;
6677
6675
  const baseProps = {
6678
6676
  width: 450,
6679
6677
  height: 300,
6680
- padding: 50,
6678
+ padding: 60,
6681
6679
  colorScale
6682
6680
  };
6683
6681
  // *
@@ -6721,7 +6719,7 @@ const clean = {
6721
6719
  area: Object.assign({
6722
6720
  style: {
6723
6721
  data: {
6724
- fill: blue["500"],
6722
+ fill: defaultColor,
6725
6723
  strokeWidth: 2,
6726
6724
  fillOpacity: 0.5
6727
6725
  },
@@ -6738,7 +6736,7 @@ const clean = {
6738
6736
  strokeLinejoin
6739
6737
  },
6740
6738
  axisLabel: Object.assign({}, centeredLabelStyles, {
6741
- padding,
6739
+ padding: 35,
6742
6740
  stroke: "transparent"
6743
6741
  }),
6744
6742
  grid: {
@@ -6803,7 +6801,7 @@ const clean = {
6803
6801
  bar: Object.assign({
6804
6802
  style: {
6805
6803
  data: {
6806
- fill: blue["500"],
6804
+ fill: defaultColor,
6807
6805
  padding,
6808
6806
  strokeWidth: 1,
6809
6807
  fillOpacity: 0.5
@@ -6842,7 +6840,7 @@ const clean = {
6842
6840
  }),
6843
6841
  q1: {
6844
6842
  padding,
6845
- fill: teal["500"],
6843
+ fill: colorScale[0],
6846
6844
  rx: borderRadius,
6847
6845
  strokeWidth: 2
6848
6846
  },
@@ -6851,7 +6849,7 @@ const clean = {
6851
6849
  }),
6852
6850
  q3: {
6853
6851
  padding,
6854
- fill: cyan["500"],
6852
+ fill: colorScale[1],
6855
6853
  rx: borderRadius
6856
6854
  },
6857
6855
  q3Labels: Object.assign({}, baseLabelStyles, {
@@ -6872,8 +6870,8 @@ const clean = {
6872
6870
  })
6873
6871
  },
6874
6872
  candleColors: {
6875
- positive: teal["500"],
6876
- negative: orange["500"]
6873
+ positive: green["500"],
6874
+ negative: red["500"]
6877
6875
  },
6878
6876
  wickStrokeWidth: 2
6879
6877
  }, baseProps),
@@ -6939,7 +6937,7 @@ const clean = {
6939
6937
  data: {
6940
6938
  fill: "transparent",
6941
6939
  opacity: 1,
6942
- stroke: blue["500"],
6940
+ stroke: defaultColor,
6943
6941
  strokeWidth: 2,
6944
6942
  strokeLinecap,
6945
6943
  strokeLinejoin
@@ -6970,7 +6968,7 @@ const clean = {
6970
6968
  scatter: Object.assign({
6971
6969
  style: {
6972
6970
  data: {
6973
- fill: purple["500"],
6971
+ fill: defaultColor,
6974
6972
  opacity: 1,
6975
6973
  stroke: "transparent",
6976
6974
  strokeWidth: 0
@@ -7008,9 +7006,8 @@ const clean = {
7008
7006
  style: {
7009
7007
  data: {
7010
7008
  fill: blue["100"],
7011
- stroke: blue["500"],
7012
- strokeWidth: 2,
7013
- opacity: 0.4
7009
+ stroke: defaultColor,
7010
+ strokeWidth: 2
7014
7011
  },
7015
7012
  labels: Object.assign({}, baseLabelStyles, {
7016
7013
  padding: 5,
@@ -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),i=n(7838),o=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=i,c.prototype.get=o,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),i=n(7838),o=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=i,c.prototype.get=o,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 i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];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,i=null==t?0:t.length;++r<i;)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,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}},9559:function(t){t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+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),i=n(788),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];o.call(t,e)&&i(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 i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];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),i=n(3608);t.exports=function t(e,n,o,a,s){var c=-1,l=e.length;for(o||(o=i),s||(s=[]);++c<l;){var u=e[c];n>0&&o(u)?n>1?t(u,n-1,o,a,s):r(s,u):a||(s[s.length]=u)}return s}},4432:function(t,e,n){var r=n(9026),i=n(3110);t.exports=function(t,e){for(var n=0,o=(e=r(e,t)).length;null!=t&&n<o;)t=t[i(e[n++])];return n&&n==o?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,i=t.length;++r<i;)if(t[r]===e)return r;return-1}},9070:function(t,e,n){var r=n(7028),i=n(3474);t.exports=function t(e,n,o,a,s){return e===n||(null==e||null==n||!i(e)&&!i(n)?e!=e&&n!=n:r(e,n,o,a,t,s))}},7028:function(t,e,n){var r=n(8708),i=n(8705),o=n(2813),a=n(6682),s=n(9667),c=n(163),l=n(4801),u=n(4289),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,g,y,b){var m=c(t),v=c(e),x=m?f:s(t),k=v?f:s(e),w=(x=x==d?p:x)==p,E=(k=k==d?p:k)==p,O=x==k;if(O&&l(t)){if(!l(e))return!1;m=!0,w=!1}if(O&&!w)return b||(b=new r),m||u(t)?i(t,e,n,g,y,b):o(t,e,x,n,g,y,b);if(!(1&n)){var j=w&&h.call(t,"__wrapped__"),A=E&&h.call(e,"__wrapped__");if(j||A){var S=j?t.value():t,C=A?e.value():e;return b||(b=new r),y(S,C,n,g,b)}}return!!O&&(b||(b=new r),a(t,e,n,g,y,b))}},9548:function(t,e,n){var r=n(8708),i=n(9070);t.exports=function(t,e,n,o){var a=n.length,s=a,c=!o;if(null==t)return!s;for(t=Object(t);a--;){var l=n[a];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<s;){var u=(l=n[a])[0],d=t[u],f=l[1];if(c&&l[2]){if(void 0===d&&!(u in t))return!1}else{var p=new r;if(o)var h=o(d,f,u,t,e,p);if(!(void 0===h?i(f,d,3,o,p):h))return!1}}return!0}},3472:function(t,e,n){var r=n(758),i=n(5223),o=n(5346),a=n(163),s=n(8532);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(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,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}},758:function(t,e,n){var r=n(9548),i=n(597),o=n(6878);t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},5223:function(t,e,n){var r=n(9070),i=n(9201),o=n(5066),a=n(726),s=n(5385),c=n(6878),l=n(3110);t.exports=function(t,e){return a(t)&&s(e)?c(l(t),e):function(n){var a=i(n,t);return void 0===a&&a===e?o(n,t):r(e,a,3)}}},8245:function(t,e,n){var r=n(8644),i=n(4432),o=n(3472),a=n(383),s=n(9521),c=n(9110),l=n(9409),u=n(5346),d=n(163);t.exports=function(t,e,n){e=e.length?r(e,(function(t){return d(t)?function(e){return i(e,1===t.length?t[0]:t)}:t})):[u];var f=-1;e=r(e,c(o));var p=a(t,(function(t,n,i){return{criteria:r(e,(function(e){return e(t)})),index:++f,value:t}}));return s(p,(function(t,e){return l(t,e,n)}))}},5436:function(t,e,n){var r=n(6371),i=n(5066);t.exports=function(t,e){return r(t,e,(function(e,n){return i(t,n)}))}},6371:function(t,e,n){var r=n(4432),i=n(6539),o=n(9026);t.exports=function(t,e,n){for(var a=-1,s=e.length,c={};++a<s;){var l=e[a],u=r(t,l);n(u,l)&&i(c,o(l,t),u)}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,i,o){for(var a=-1,s=n(e((r-t)/(i||1)),0),c=Array(s);s--;)c[o?s:++a]=t,t+=i;return c}},6317:function(t,e,n){var r=n(5346),i=n(4280),o=n(201);t.exports=function(t,e){return o(i(t,e,r),t+"")}},6539:function(t,e,n){var r=n(4132),i=n(9026),o=n(9099),a=n(7709),s=n(3110);t.exports=function(t,e,n,c){if(!a(t))return t;for(var l=-1,u=(e=i(e,t)).length,d=u-1,f=t;null!=f&&++l<u;){var p=s(e[l]),h=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return t;if(l!=d){var g=f[p];void 0===(h=c?c(g,p,f):void 0)&&(h=a(g)?g:o(e[l+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),i=n(8644),o=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(o(e))return i(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),i=n(5510),o=n(9955),a=n(9914),s=n(6602),c=n(6226);t.exports=function(t,e,n){var l=-1,u=i,d=t.length,f=!0,p=[],h=p;if(n)f=!1,u=o;else if(d>=200){var g=e?null:s(t);if(g)return c(g);f=!1,u=a,h=new r}else h=e?[]:p;t:for(;++l<d;){var y=t[l],b=e?e(y):y;if(y=n||0!==y?y:0,f&&b==b){for(var m=h.length;m--;)if(h[m]===b)continue t;e&&h.push(b),p.push(y)}else u(h,b,n)||(h!==p&&h.push(b),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),i=n(726),o=n(7801),a=n(7010);t.exports=function(t,e){return r(t)?t:i(t,e)?[t]:o(a(t))}},522:function(t,e,n){var r=n(1995);t.exports=function(t,e){if(t!==e){var n=void 0!==t,i=null===t,o=t==t,a=r(t),s=void 0!==e,c=null===e,l=e==e,u=r(e);if(!c&&!u&&!a&&t>e||a&&s&&l&&!c&&!u||i&&s&&l||!n&&l||!o)return 1;if(!i&&!a&&!u&&t<e||u&&n&&o&&!i&&!a||c&&n&&o||!s&&o||!l)return-1}return 0}},9409:function(t,e,n){var r=n(522);t.exports=function(t,e,n){for(var i=-1,o=t.criteria,a=e.criteria,s=o.length,c=n.length;++i<s;){var l=r(o[i],a[i]);if(l)return i>=c?l:l*("desc"==n[i]?-1:1)}return t.index-e.index}},5659:function(t,e,n){var r=n(6649),i=n(4508),o=n(3472),a=n(163);t.exports=function(t,e){return function(n,s){var c=a(n)?r:i,l=e?e():{};return c(n,t,o(s,2),l)}}},2507:function(t,e,n){var r=n(7805),i=n(8286),o=n(9139);t.exports=function(t){return function(e,n,a){return a&&"number"!=typeof a&&i(e,n,a)&&(n=a=void 0),e=o(e),void 0===n?(n=e,e=0):n=o(n),a=void 0===a?e<n?1:-1:o(a),r(e,n,a,t)}}},6602:function(t){t.exports=function(){}},5525:function(t,e,n){var r=n(3743),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},8705:function(t,e,n){var r=n(3273),i=n(1634),o=n(9914);t.exports=function(t,e,n,a,s,c){var l=1&n,u=t.length,d=e.length;if(u!=d&&!(l&&d>u))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<u;){var b=t[h],m=e[h];if(a)var v=l?a(m,b,h,e,t,c):a(b,m,h,t,e,c);if(void 0!==v){if(v)continue;g=!1;break}if(y){if(!i(e,(function(t,e){if(!o(y,e)&&(b===t||s(b,t,n,a,c)))return y.push(e)}))){g=!1;break}}else if(b!==m&&!s(b,m,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),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,o,a,s){var c=1&n,l=r(t),u=l.length;if(u!=r(e).length&&!c)return!1;for(var d=u;d--;){var f=l[d];if(!(c?f in e:i.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<u;){var b=t[f=l[d]],m=e[f];if(o)var v=c?o(m,b,f,e,t,s):o(b,m,f,t,e,s);if(!(void 0===v?b===m||a(b,m,n,o,s):v)){g=!1;break}y||(y="constructor"==f)}if(g&&!y){var x=t.constructor,k=e.constructor;x==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof k&&k instanceof k||(g=!1)}return s.delete(t),s.delete(e),g}},5557:function(t,e,n){var r=n(2645),i=n(4280),o=n(201);t.exports=function(t){return o(i(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),i=n(7747);t.exports=function(t){for(var e=i(t),n=e.length;n--;){var o=e[n],a=t[o];e[n]=[o,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),i=n(5075),o=n(163),a=n(9099),s=n(8454),c=n(3110);t.exports=function(t,e,n){for(var l=-1,u=(e=r(e,t)).length,d=!1;++l<u;){var f=c(e[l]);if(!(d=null!=t&&n(t,f)))break;t=t[f]}return d||++l!=u?d:!!(u=null==t?0:t.length)&&s(u)&&a(f,u)&&(o(t)||i(t))}},3608:function(t,e,n){var r=n(2596),i=n(5075),o=n(163),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(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),i=n(1995),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\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&&!i(t))||a.test(t)||!o.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),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():i.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__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][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),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),c=Array(s);++a<s;)c[a]=o[e+a];a=-1;for(var l=Array(e+1);++a<e;)l[a]=o[a];return l[e]=n(c),r(t,this,l)}}},2373:function(t,e,n){var r=n(2117),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},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),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,n,r,i){e.push(r?i.replace(o,"$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),i=n(788),o=n(8286),a=n(8855),s=Object.prototype,c=s.hasOwnProperty,l=r((function(t,e){t=Object(t);var n=-1,r=e.length,l=r>2?e[2]:void 0;for(l&&o(e[0],e[1],l)&&(r=1);++n<r;)for(var u=e[n],d=a(u),f=-1,p=d.length;++f<p;){var h=d[f],g=t[h];(void 0===g||i(g,s[h])&&!c.call(t,h))&&(t[h]=u[h])}return t}));t.exports=l},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 i=null==t?void 0:r(t,e);return void 0===i?n:i}},9056:function(t,e,n){var r=n(8347),i=n(5659),o=Object.prototype.hasOwnProperty,a=i((function(t,e,n){o.call(t,n)?t[n].push(e):r(t,n,[e])}));t.exports=a},5066:function(t,e,n){var r=n(6776),i=n(3096);t.exports=function(t,e){return null!=t&&i(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),i=n(8454);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},4801:function(t){t.exports=function(){return!1}},4155:function(t,e,n){var r=n(7190),i=n(9667),o=n(5075),a=n(163),s=n(981),c=n(4801),l=n(5782),u=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)||u(t)||o(t)))return!t.length;var e=i(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(l(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),i=n(7709);t.exports=function(t){if(!i(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),i=n(9817),o=n(3474),a=Function.prototype,s=Object.prototype,c=a.toString,l=s.hasOwnProperty,u=c.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var e=i(t);if(null===e)return!0;var n=l.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==u}},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 i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},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),i=n(6051),o=n(4912);t.exports=function(t,e){return o(t,i(r(e)))}},4143:function(t,e,n){var r=n(8245),i=n(163);t.exports=function(t,e,n,o){return null==t?[]:(i(e)||(e=null==e?[]:[e]),i(n=o?void 0:n)||(n=null==n?[]:[n]),r(t,e,n))}},9082:function(t,e,n){var r=n(5436),i=n(5557)((function(t,e){return null==t?{}:r(t,e)}));t.exports=i},4912:function(t,e,n){var r=n(8644),i=n(3472),o=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=i(e),o(t,n,(function(t,n){return e(t,n[0])}))}},8532:function(t,e,n){var r=n(1600),i=n(3301),o=n(726),a=n(3110);t.exports=function(t){return o(t)?r(a(t)):i(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),i=0;t.exports=function(t){var e=++i;return r(t)+e}},7491:function(t){var e="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(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,l,u;if(Array.isArray(t)){if((s=t.length)!=a.length)return!1;for(c=s;0!=c--;)if(!o(t[c],a[c]))return!1;return!0}if(n&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(u=t.entries();!(c=u.next()).done;)if(!a.has(c.value[0]))return!1;for(u=t.entries();!(c=u.next()).done;)if(!o(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(u=t.entries();!(c=u.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(i&&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=(l=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(c=s;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,l[c]))return!1;if(e&&t instanceof Element)return!1;for(c=s;0!=c--;)if(("_owner"!==l[c]&&"__v"!==l[c]&&"__o"!==l[c]||!t.$$typeof)&&!o(t[l[c]],a[l[c]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,e){try{return o(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 i=n[t];if(void 0!==i)return i.exports;var o=n[t]={exports:{}};return e[t](o,o.exports,r),o.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 i={};return function(){"use strict";r.r(i),r.d(i,{VictoryLegend:function(){return Wi}});var t={};r.r(t),r.d(t,{circle:function(){return me},cross:function(){return Oe},diamond:function(){return xe},minus:function(){return je},plus:function(){return Ee},square:function(){return ve},star:function(){return Ae},triangleDown:function(){return ke},triangleUp:function(){return we}});var e={};r.r(e),r.d(e,{easeBack:function(){return Cn},easeBackIn:function(){return An},easeBackInOut:function(){return Cn},easeBackOut:function(){return Sn},easeBounce:function(){return En},easeBounceIn:function(){return wn},easeBounceInOut:function(){return On},easeBounceOut:function(){return En},easeCircle:function(){return xn},easeCircleIn:function(){return mn},easeCircleInOut:function(){return xn},easeCircleOut:function(){return vn},easeCubic:function(){return on},easeCubicIn:function(){return nn},easeCubicInOut:function(){return on},easeCubicOut:function(){return rn},easeElastic:function(){return Pn},easeElasticIn:function(){return Mn},easeElasticInOut:function(){return Fn},easeElasticOut:function(){return Pn},easeExp:function(){return bn},easeExpIn:function(){return gn},easeExpInOut:function(){return bn},easeExpOut:function(){return yn},easeLinear:function(){return Xe},easePoly:function(){return cn},easePolyIn:function(){return an},easePolyInOut:function(){return cn},easePolyOut:function(){return sn},easeQuad:function(){return en},easeQuadIn:function(){return Je},easeQuadInOut:function(){return en},easeQuadOut:function(){return tn},easeSin:function(){return pn},easeSinIn:function(){return dn},easeSinInOut:function(){return pn},easeSinOut:function(){return fn}});var n=r(9787),o=r.n(n),a=r(8825),s=r.n(a),c=r(9056),l=r.n(c),u=r(1893),d=r.n(u);const f=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],p="#252525",h="#969696",g={width:450,height:300,padding:50,colorScale:f},y={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:p,stroke:"transparent"},b=Object.assign({textAnchor:"middle"},y),m={palette:{colors:{blue:"#4F7DA1",pink:"#E2A37F",teal:"#00796B",purple:"#DF948A",green:"#8BC34A",orange:"#F4511E",cyan:"#006064",red:"#DF5A49",yellow:"#FFF59D"},grayscale:f,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"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"]},area:Object.assign({style:{data:{fill:p},labels:y}},g),axis:Object.assign({style:{axis:{fill:"transparent",stroke:p,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},b,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:y}},g),bar:Object.assign({style:{data:{fill:p,padding:8,strokeWidth:0},labels:y}},g),boxplot:Object.assign({style:{max:{padding:8,stroke:p,strokeWidth:1},maxLabels:Object.assign({},y,{padding:3}),median:{padding:8,stroke:p,strokeWidth:1},medianLabels:Object.assign({},y,{padding:3}),min:{padding:8,stroke:p,strokeWidth:1},minLabels:Object.assign({},y,{padding:3}),q1:{padding:8,fill:h},q1Labels:Object.assign({},y,{padding:3}),q3:{padding:8,fill:h},q3Labels:Object.assign({},y,{padding:3})},boxWidth:20},g),candlestick:Object.assign({style:{data:{stroke:p,strokeWidth:1},labels:Object.assign({},y,{padding:5})},candleColors:{positive:"#ffffff",negative:p}},g),chart:g,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:p,strokeWidth:2},labels:y}},g),group:Object.assign({colorScale:f},g),histogram:Object.assign({style:{data:{fill:h,stroke:p,strokeWidth:2},labels:y}},g),legend:{colorScale:f,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:y,title:Object.assign({},y,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:p,strokeWidth:2},labels:y}},g),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},y,{padding:20})},colorScale:f,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:p,stroke:"transparent",strokeWidth:0},labels:y}},g),stack:Object.assign({colorScale:f},g),tooltip:{style:Object.assign({},y,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:p,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({},y,{padding:5,pointerEvents:"none"}),flyout:{stroke:p,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},g)},v="#FFF59D",x="#F4511E",k="#8BC34A",w="#00796B",E="#006064",O=[x,v,"#DCE775",k,w,E],j="#ECEFF1",A="#90A4AE",S="#455A64",C="#212121",$={blue:"#4F7DA1",pink:"#E2A37F",teal:w,purple:"#DF948A",green:k,orange:x,cyan:E,red:"#DF5A49",yellow:v},M=[j,A,S,C],P={width:350,height:350,padding:50},F={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:S,stroke:"transparent",strokeWidth:0},L=Object.assign({textAnchor:"middle"},F),z="round",W="round",D={palette:{colors:$,grayscale:M,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"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"]},area:Object.assign({style:{data:{fill:C},labels:F}},P),axis:Object.assign({style:{axis:{fill:"transparent",stroke:A,strokeWidth:2,strokeLinecap:z,strokeLinejoin:W},axisLabel:Object.assign({},L,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:j,strokeDasharray:"10, 5",strokeLinecap:z,strokeLinejoin:W,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:A,strokeWidth:1,strokeLinecap:z,strokeLinejoin:W},tickLabels:Object.assign({},F,{fill:S})}},P),polarDependentAxis:Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:Object.assign({style:{data:{fill:S,padding:8,strokeWidth:0},labels:F}},P),boxplot:Object.assign({style:{max:{padding:8,stroke:S,strokeWidth:1},maxLabels:Object.assign({},F,{padding:3}),median:{padding:8,stroke:S,strokeWidth:1},medianLabels:Object.assign({},F,{padding:3}),min:{padding:8,stroke:S,strokeWidth:1},minLabels:Object.assign({},F,{padding:3}),q1:{padding:8,fill:S},q1Labels:Object.assign({},F,{padding:3}),q3:{padding:8,fill:S},q3Labels:Object.assign({},F,{padding:3})},boxWidth:20},P),candlestick:Object.assign({style:{data:{stroke:S},labels:Object.assign({},F,{padding:5})},candleColors:{positive:"#ffffff",negative:S}},P),chart:P,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:S,strokeWidth:2},labels:F}},P),group:Object.assign({colorScale:O},P),histogram:Object.assign({style:{data:{fill:S,stroke:C,strokeWidth:2},labels:F}},P),legend:{colorScale:O,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:F,title:Object.assign({},F,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:S,strokeWidth:2},labels:F}},P),pie:Object.assign({colorScale:O,style:{data:{padding:8,stroke:j,strokeWidth:1},labels:Object.assign({},F,{padding:20})}},P),scatter:Object.assign({style:{data:{fill:S,opacity:1,stroke:"transparent",strokeWidth:0},labels:F}},P),stack:Object.assign({colorScale:O},P),tooltip:{style:Object.assign({},F,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:C,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({},F,{padding:5,pointerEvents:"none"}),flyout:{stroke:C,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},P)},I="#FFFFFF",_="#E8E8E8",B="#E0E0E0",N="#D1D1D1",T="#757575",H="#5C5C5C",R="#292929",q="#FCB400",G="#FF6F2C",K="#F82B60",V="#FF08C2",U="#8B46FF",Q="#CFDFFF",Z="#2D7FF9",Y="#18BFFF",X="#20D9D2",J="#20C933",tt={blue:Z,pink:V,teal:X,purple:U,green:J,orange:G,cyan:Y,red:K,yellow:q},et=Object.values(tt),nt=[_,N,H,R],rt=[q,G,K,V],it=[Y,X,Z,U],ot=[J,q,K],at=[K,"#FF9EB7","#FFDCE5"],st=[J,"#93E088","#D1F7C4"],ct=[Z,"#9CC7FF",Q],lt={width:450,height:300,padding:50,colorScale:et},ut={fontFamily:"'Inter', 'Helvetica Neue', 'Seravek', 'Helvetica', sans-serif",fontSize:12,fontWeight:300,letterSpacing:"normal",padding:8,fill:R,stroke:"transparent"},dt=Object.assign({textAnchor:"middle"},ut),ft="10, 5",pt="round",ht="round",gt={grayscale:m,material:D,clean:{palette:{colors:tt,grayscale:nt,qualitative:et,heatmap:ot,warm:rt,cool:it,red:at,green:st,blue:ct},area:Object.assign({style:{data:{fill:Z,strokeWidth:2,fillOpacity:.5},labels:ut}},lt),axis:Object.assign({style:{axis:{fill:"transparent",stroke:T,strokeWidth:1,strokeLinecap:pt,strokeLinejoin:ht},axisLabel:Object.assign({},dt,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:"none",painterEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:"transparent"},tickLabels:ut}},lt),polarAxis:Object.assign({style:{axis:{stroke:T},grid:{stroke:N,strokeDasharray:ft,strokeLinecap:pt,strokeLinejoin:ht,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:N,strokeWidth:1,strokeLinecap:pt,strokeLinejoin:ht},tickLabels:ut}}),polarDependentAxis:Object.assign({style:{axis:{stroke:T},grid:{stroke:N,strokeDasharray:ft,strokeLinecap:pt,strokeLinejoin:ht,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:B,strokeWidth:1,strokeLinecap:pt,strokeLinejoin:ht},tickLabels:ut}}),bar:Object.assign({style:{data:{fill:Z,padding:8,strokeWidth:1,fillOpacity:.5},labels:ut},cornerRadius:{top:1}},lt),boxplot:Object.assign({style:{max:{padding:8,stroke:N,strokeWidth:2},maxLabels:Object.assign({},ut,{padding:3}),median:{padding:8,stroke:I,strokeWidth:2},medianLabels:Object.assign({},ut,{padding:3}),min:{padding:8,stroke:N,strokeWidth:2},minLabels:Object.assign({},ut,{padding:3}),q1:{padding:8,fill:X,rx:1,strokeWidth:2},q1Labels:Object.assign({},ut,{padding:3}),q3:{padding:8,fill:Y,rx:1},q3Labels:Object.assign({},ut,{padding:3})},boxWidth:20},lt),candlestick:Object.assign({style:{data:{stroke:B,strokeWidth:0,rx:1},labels:Object.assign({},ut,{padding:5})},candleColors:{positive:X,negative:G},wickStrokeWidth:2},lt),chart:lt,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:"#424242",strokeWidth:2,strokeLinecap:pt},labels:ut}},lt),group:Object.assign({colorScale:et},lt),histogram:Object.assign({style:{data:{fill:Y,fillOpacity:.5},labels:ut},binSpacing:4,cornerRadius:{top:1}},lt),label:ut,legend:{colorScale:et,gutter:24,borderPadding:10,orientation:"horizontal",titleOrientation:"top",centerTitle:!0,style:{data:{type:"circle"},labels:{...ut,fontSize:12},title:Object.assign({},ut,{padding:8,fontSize:16}),border:{stroke:_,strokeWidth:2,padding:16}}},line:Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:Z,strokeWidth:2,strokeLinecap:pt,strokeLinejoin:ht},labels:ut}},lt),pie:Object.assign({style:{parent:{backgroundColor:I},data:{padding:8,stroke:I,strokeWidth:1},labels:{...ut,padding:20,fill:H,fontSize:10}},colorScale:et,cornerRadius:1},lt),scatter:Object.assign({style:{data:{fill:U,opacity:1,stroke:"transparent",strokeWidth:0},labels:{...ut,padding:20}}},lt),stack:Object.assign({colorScale:et},lt),tooltip:{style:Object.assign({},ut,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:B,strokeWidth:2,fill:I,pointerEvents:"none"},flyoutPadding:{top:8,bottom:8,left:16,right:16},cornerRadius:1,pointerLength:4},voronoi:Object.assign({style:{data:{fill:Q,stroke:Z,strokeWidth:2,opacity:.4},labels:Object.assign({},ut,{padding:5,pointerEvents:"none"}),flyout:{stroke:R,strokeWidth:1,fill:"#F2F2F2",pointerEvents:"none"},padding:{left:2,bottom:2}}},lt)}},yt=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,yt(e)].join(" ")),yt(t)).trim();if(null==t||"string"==typeof t)return t;const i=[];for(const e in t)if(t.hasOwnProperty(e)){const n=t[e];i.push(`${e}(${n})`)}return i.join(" ").trim()};var bt=r(9082),mt=r.n(bt);function vt(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 xt(t){const e=t=>void 0!==t,{_x:n,_x1:r,_x0:i,_voronoiX:o,_y:a,_y1:s,_y0:c,_voronoiY:l}=t,u=e(r)?r:n,f=e(s)?s:a,p={x:e(o)?o:u,x0:e(i)?i:n,y:e(l)?l:f,y0:e(c)?c:a};return d()({},p,t)}function kt(t,e){void 0===e&&(e="padding");const n=t[e],r="number"==typeof n?n:0,i="object"==typeof n?n:{};return{top:i.top||r,bottom:i.bottom||r,left:i.left||r,right:i.right||r}}function wt(t,e){return St(t)?t(e):t}function Et(t,e){return e.disableInlineStyles?{}:t&&Object.keys(t).some((e=>St(t[e])))?Object.keys(t).reduce(((n,r)=>(n[r]=wt(t[r],e),n)),{}):t}function Ot(t){return"number"==typeof t?t*(Math.PI/180):t}function jt(t){const{left:e,right:n,top:r,bottom:i}=kt(t),{width:o,height:a}=t;return Math.min(o-e-n,a-r-i)/2}function At(t){return null==t}function St(t){return"function"==typeof t}function Ct(t,e,n){const r=vt(t.theme&&t.theme[n]?t.theme[n]:{},["style"]),i=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(o().Children.toArray(r.children))}),!1);return e(o().Children.toArray(t.children))}(t),a=void 0===i?{}:{horizontal:i};return d()(a,t,r,e)}r(8532);var $t=r(1594),Mt=r.n($t);const Pt={"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},Inter:{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,.2890625,.4671875,.634375,.6421875,.9828125,.6453125,.3,.365625,.365625,.5015625,.6625,.2890625,.4609375,.2890625,.3609375,.63125,.4078125,.6109375,.61875,.646875,.59375,.6203125,.5671875,.61875,.6203125,.2890625,.303125,.6625,.6625,.6625,.5125,.9671875,.690625,.6546875,.73125,.721875,.6015625,.590625,.746875,.74375,.26875,.571875,.671875,.565625,.9046875,.7546875,.765625,.6390625,.765625,.64375,.6421875,.646875,.7453125,.690625,.9859375,.6828125,.6796875,.6296875,.365625,.3609375,.365625,.471875,.45625,.3234375,.5625,.6125,.571875,.6125,.584375,.3703125,.6140625,.5921875,.2421875,.2548828125,.55,.2421875,.8765625,.5921875,.6,.6125,.6125,.3765625,.528125,.328125,.5921875,.5625,.81875,.546875,.5625,.553125,.4265625,.3328125,.4265625,.6625],avg:.5624362664473683},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}},Ft={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},Lt={em:1,ex:.5},zt={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},Wt=t=>Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g),Dt=(t,e,n)=>{const r=(t=>t*Math.PI/180)(n);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*e)},It=(t,e)=>{const n=t.match(/[a-zA-Z%]+/)?.[0],r=Number(t.match(/[0-9.,]+/));let i;return i=n?Ft.hasOwnProperty(n)?r*Ft[n]:Lt.hasOwnProperty(n)?(e?r*e:r*zt.fontSize)*Lt[n]:r:r||0,i},_t=(t,e)=>{const n=Array.isArray(t)?t[e]:t,r=d()({},n,zt);return Object.assign({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:It(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:It(String(r.fontSize))})},Bt=(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:Wt(t).reduce(((t,n,r)=>{const i=_t(e,r),o=n.toString().match(/[(A-Z)(0-9)]/)?1.15*i.fontSize:i.fontSize;return t+i.lineHeight*o}),0))(t,e),i=((t,e)=>{if(void 0===t||""===t||null===t)return 0;const n=Wt(t).map(((t,n)=>{const r=t.toString().length,{fontSize:i,letterSpacing:o,fontFamily:a}=_t(e,n),s=(t=>{const e=t.split(",").map((t=>t.replace(/'|"/g,""))).find((t=>Pt[t]))||"Helvetica";return Pt[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)*i+o*Math.max(r-1,0)}));return Math.max(...n)})(t,e);return{width:n?Dt(i,r,n):i,height:1.05*(n?Dt(r,i,n):r)}},Nt=Mt()((()=>{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})),Tt=t=>t?`${t.angle}:${t.fontFamily}:${t.fontSize}:${t.letterSpacing}:${t.lineHeight}`:"null",Ht=Mt()(((t,e)=>{let n=Nt();n.isConnected||(Nt.cache.clear?.(),n=Nt());const r=Wt(t);let i=0;for(const[t,o]of r.entries()){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan"),a=_t(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=o,r.setAttribute("x","0"),r.setAttribute("y",`${i}`),n.appendChild(r),i+=a.lineHeight*r.getBoundingClientRect().height}const{width:o}=n.getBoundingClientRect();return n.innerHTML="",{width:e?.angle?Dt(o,i,e?.angle):o,height:e?.angle?Dt(i,o,e?.angle):i}}),((t,e)=>`${Array.isArray(t)?t.join():t}::${Array.isArray(e)?e.map(Tt).join():Tt(e)}`)),Rt=(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?Bt(t,e):Ht(t,e)}(t,e),qt=t=>{const{data:e,style:n}=t;return e.map(((t,r)=>Et(d()({},t.labels,n.labels),{datum:t,index:r,data:e})))},Gt=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:{}),i=(t=>{const{colorScale:e,theme:n}=t;return"string"==typeof e?function(t,e){void 0===e&&(e=gt.material);const{palette:{grayscale:n=["#cccccc","#969696","#636363","#252525"],qualitative:r=[],heatmap:i=[],warm:o=[],cool:a=[],red:s=[],blue:c=[],green:l=[]}={}}=e,u={grayscale:n,qualitative:r,heatmap:i,warm:o,cool:a,red:s,blue:c,green:l};return t&&u[t]?.length?u[t]:u.grayscale}(e,n):e||[]})(t),o="horizontal"===e,a=kt({padding:t.borderPadding});return Object.assign({},t,{style:r,isHorizontal:o,colorScale:i,borderPadding:a})},Kt=(t,e)=>{const{itemsPerRow:n,isHorizontal:r}=t;return n?r?e%n:Math.floor(e/n):r?e:0},Vt=(t,e)=>{const{itemsPerRow:n,isHorizontal:r}=t;return n?r?Math.floor(e/n):e%n:r?0:e},Ut=t=>{const{data:e}=t,n=t.style&&t.style.data||{},r=qt(t);return e.map(((e,i)=>{const o=e.symbol||{},{fontSize:a}=r[i],s=o.size||n.size||a/2.5,c=t.symbolSpacer||Math.max(s,a);return{...e,size:s,symbolSpacer:c,fontSize:a,textSize:Rt(e.name,r[i]),column:Kt(t,i),row:Vt(t,i)}}))},Qt=(t,e)=>{const n=t.gutter||{},r="object"==typeof n?(n.left||0)+(n.right||0):n||0,i=l()(e,"column");return Object.keys(i).reduce(((t,e,n)=>{const o=i[e].map((t=>t.textSize.width+t.size+t.symbolSpacer+r));return t[n]=Math.max(...o),t}),[])},Zt=(t,e)=>{const n=t.rowGutter||{},r="object"==typeof n?(n.top||0)+(n.bottom||0):n||0,i=l()(e,"row");return Object.keys(i).reduce(((t,e,n)=>{const o=i[e].map((t=>t.textSize.height+t.symbolSpacer+r));return t[n]=Math.max(...o),t}),[])},Yt=t=>{const e=t.style&&t.style.title||{},n=Rt(t.title,e),r=e.padding||0;return{height:n.height+2*r||0,width:n.width+2*r||0}},Xt=(t,e)=>{const n=Ct(t,e,"legend"),r=Object.assign({},n,Gt(n)),{title:i,titleOrientation:o}=r,a=Ut(r),s=Qt(r,a),c=Zt(r,a),l=i?Yt(r):{height:0,width:0};return{height:"left"===o||"right"===o?Math.max(te(c),l.height):te(c)+l.height,width:"left"===o||"right"===o?te(s)+l.width:Math.max(te(s),l.width)}},Jt=(t,e)=>{const n=Ct(t,e,"legend"),r=Object.assign({},n,Gt(n)),{data:i,standalone:o,theme:a,padding:c,style:l,colorScale:u,gutter:f,rowGutter:p,borderPadding:h,title:g,titleOrientation:y,name:b,x:m=0,y:v=0}=r,x=Ut(r),k=Qt(r,x),w=Zt(r,x),E=qt(r),O=g?Yt(r):{height:0,width:0},j="left"===y?O.width:0,A="top"===y?O.height:0,S=f&&"object"==typeof f&&f.left||0,C=p&&"object"==typeof p&&p.top||0,{height:$,width:M}=Xt(r,e),P=((t,e,n)=>{const{x:r,y:i,borderPadding:o,style:a}=t;return{x:r,y:i,height:(e||0)+o.top+o.bottom,width:(n||0)+o.left+o.right,style:Object.assign({fill:"none"},a.border)}})(r,$,M),F=((t,e)=>{const{title:n,titleOrientation:r,centerTitle:i,borderPadding:o}=t,{height:a,width:s}=e,c=(t=>{const{titleOrientation:e,centerTitle:n,titleComponent:r}=t,i=t.style&&t.style.title||{},o=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(o)?o.map((t=>d()({},t,i,a))):d()({},o,i,a)})(t),l=Array.isArray(c)?c[0].padding:c.padding,u="top"===r||"bottom"===r,f="right"===r?"right":"left",p={x:i?s/2:o["bottom"===r?"bottom":"top"]+(l||0),y:i?a/2:o[f]+(l||0)},h=()=>o[r]+(l||0),g=u?p.x:h(),y=u?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,P),L={parent:{data:i,standalone:o,theme:a,padding:c,name:b,height:r.height,width:r.width,style:l.parent},all:{border:P,title:F}};return x.reduce(((t,e,n)=>{const r=u[n%u.length],o=d()({},e.symbol,l.data,{fill:r}),a=At(e.eventKey)?n:e.eventKey,c=((t,e,n)=>{const{column:r,row:i}=t;return{x:s()(r).reduce(((t,e)=>t+n[e]),0),y:s()(i).reduce(((t,n)=>t+e[n]),0)}})(e,w,k),f=v+h.top+e.symbolSpacer,p=m+h.left+e.symbolSpacer,g={index:n,data:i,datum:e,symbol:o.type||o.symbol||"circle",size:e.size,style:o,y:f+c.y+A+C,x:p+c.x+j+S},y={datum:e,data:i,text:e.name,style:E[n],y:g.y,x:g.x+e.symbolSpacer+e.size/2};return t[a]={data:g,labels:y},t}),L)};function te(t){if(t&&t.length){let e=0;for(let n=0;n<t.length;n++)e+=t[n];return e}return 0}function ee(){return ee=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},ee.apply(this,arguments)}const ne=(0,n.forwardRef)(((t,e)=>{const{desc:n,id:r,tabIndex:i,origin:a,...s}=t,c={vectorEffect:"non-scaling-stroke",id:wt(r,t)?.toString(),tabIndex:wt(i,t),...s};return n?o().createElement("rect",ee({},c,{ref:e}),o().createElement("desc",null,n)):o().createElement("rect",ee({},c,{ref:e}))})),re={rectComponent:o().createElement(ne,null),role:"presentation",shapeRendering:"auto"},ie=t=>{const e=(t=>{const e=wt(t.ariaLabel,t),n=wt(t.desc,t),r=wt(t.id,t),i=Et(Object.assign({fill:"none"},t.style),t),o=wt(t.tabIndex,t);return Object.assign({},t,{ariaLabel:e,desc:n,id:r,style:i,tabIndex:o})})(d()({},t,re));return o().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 oe=r(660),ae=r.n(oe);function se(){return se=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},se.apply(this,arguments)}const ce=o().forwardRef(((t,e)=>o().createElement("svg",se({ref:e},t)))),le={startsWith:["data-","aria-"],exactMatch:[]},ue=t=>{const e={...t};return Object.fromEntries(Object.entries(e).filter((t=>{let[e]=t;return(t=>!(!(t=>{let e=!1;return le.startsWith.forEach((n=>{new RegExp(`\\b(${n})(\\w|-)+`,"g").test(t)&&(e=!0)})),e})(t)&&!(t=>le.exactMatch.includes(t))(t)))(e)})).map((e=>{let[n,r]=e;return[n,wt(r,t)]})))},de=o().createContext(void 0);de.displayName="PortalContext";const fe=()=>o().useContext(de),pe=t=>{let{children:e}=t;const[n,r]=o().useState(new Map),i=o().useCallback(((t,e)=>{r((n=>{const r=new Map(n);return r.set(t,e),r}))}),[r]),a=o().useCallback((t=>{r((e=>{const n=new Map(e);return n.delete(t),n}))}),[r]),s=o().useMemo((()=>({addChild:i,removeChild:a,children:n})),[i,a,n]);return o().createElement(de.Provider,{value:s},e)},he=t=>{let{as:e,...n}=t;const r=fe();if(!r)return null;const i=Array.from(r.children.values());return o().cloneElement(e,n,i)};function ge(){return ge=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},ge.apply(this,arguments)}const ye={className:"VictoryContainer",portalComponent:o().createElement(ce,null),portalZIndex:99,responsive:!0,role:"img"},be=t=>{const{role:e,title:r,desc:i,children:a,className:s,portalZIndex:c,portalComponent:l,width:u,height:d,style:f,tabIndex:p,responsive:h,events:g,ouiaId:y,ouiaSafe:b,ouiaType:m,dimensions:v,ariaDescribedBy:x,ariaLabelledBy:k,viewBox:w,preserveAspectRatio:E,userProps:O,titleId:j,descId:A,containerRef:S,localContainerRef:C}=function(t){const e={...ye,...t},{title:r,desc:i,width:o,height:a,responsive:s}=e,c=(0,n.useRef)(null),l=(0,n.useRef)(ae()("victory-container-")),u=e.containerId??l.current,d=t=>`${u}-${t}`,f=ue(e),p=s?{width:"100%",height:"100%"}:{width:o,height:a},h=s?`0 0 ${o} ${a}`:void 0,g=s?e.preserveAspectRatio:void 0,y=[r&&d("title"),e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,b=[i&&d("desc"),e["aria-describedby"]].filter(Boolean).join(" ")||void 0,m=d("title"),v=d("desc");return{...e,titleId:m,descId:v,dimensions:p,viewBox:h,preserveAspectRatio:g,ariaLabelledBy:y,ariaDescribedBy:b,userProps:f,localContainerRef:c}}(t);return o().useEffect((()=>{if(!g?.onWheel)return;const t=t=>t.preventDefault(),e=C?.current;return e?.addEventListener("wheel",t),()=>{e?.removeEventListener("wheel",t)}}),[]),o().createElement("div",{className:s,style:{...f,width:h?f?.width:v.width,height:h?f?.height:v.height,pointerEvents:"none",touchAction:"none",position:"relative"},"data-ouia-component-id":y,"data-ouia-component-type":m,"data-ouia-safe":b,ref:($=[C,S],t=>{$.forEach((e=>{St(e)?e(t):null!=e&&(e.current=t)}))})},o().createElement(pe,null,o().createElement("svg",ge({width:u,height:d,tabIndex:p,role:e,"aria-labelledby":k,"aria-describedby":x,viewBox:w,preserveAspectRatio:E,style:{...v,pointerEvents:"all"}},O,g),r?o().createElement("title",{id:j},r):null,i?o().createElement("desc",{id:A},i):null,a),o().createElement("div",{style:{...v,zIndex:c,position:"absolute",top:0,left:0}},o().createElement(he,{as:l,width:u,height:d,viewBox:w,preserveAspectRatio:E,style:{...v,overflow:"visible"}}))));var $};function me(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 ve(t,e,n){const r=.87*n,i=t-r,o=t+r-i;return`M ${i}, ${e+r}\n h${o}\n v-${o}\n h-${o}\n z`}function xe(t,e,n){const r=.87*n,i=Math.sqrt(r*r*2);return`M ${t}, ${e+i}\n l ${i}, -${i}\n l -${i}, -${i}\n l -${i}, ${i}\n l ${i}, ${i}\n z`}function ke(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 we(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 Ee(t,e,n){const r=1.1*n,i=r/1.5;return`\n M ${t-i/2}, ${e+r}\n v-${i}\n h-${i}\n v-${i}\n h${i}\n v-${i}\n h${i}\n v${i}\n h${i}\n v${i}\n h-${i}\n v${i}\n z`}function Oe(t,e,n){const r=.8*n,i=r/1.5;return`\n M ${t-i/2}, ${e+r+i}\n v-${2*i}\n h-${i}\n v-${i}\n h${i}\n v-${i}\n h${i}\n v${i}\n h${i}\n v${i}\n h-${i}\n v${2*i}\n z`}function je(t,e,n){const r=1.1*n,i=r-.3*r,o=t-r,a=t+r-o;return`M ${o}, ${e+i/2}\n h${a}\n v-${i}\n h-${a}\n z`}function Ae(t,e,n){const r=1.35*n,i=Math.PI/5;return`M ${function(t,e,n){let r=10;r||(r=0);const i=r-0,o=Math.abs(i),a=i/o||1,s=Math.max(Math.ceil(o/1),0);return Array.from(Array(s),((t,e)=>0+e*a*1))}().map((n=>{const o=n%2==0?r:r/2;return`${o*Math.sin(i*(n+1))+t},\n ${o*Math.cos(i*(n+1))+e}`})).join("L")} z`}function Se(){return Se=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},Se.apply(this,arguments)}be.role="container";const Ce=(0,n.forwardRef)(((t,e)=>{const{desc:n,id:r,tabIndex:i,origin:a,...s}=t,c={id:wt(r,t)?.toString(),tabIndex:wt(i,t),...s};return n?o().createElement("path",Se({},c,{ref:e}),o().createElement("desc",null,n)):o().createElement("path",Se({},c,{ref:e}))})),$e=e=>{const{x:n,y:r,size:i,symbol:o}=e;return e.getPath?e.getPath(n,r,i):("function"==typeof t[o]?t[o]:t.circle)(n,r,i)},Me={pathComponent:o().createElement(Ce,null),role:"presentation",shapeRendering:"auto"},Pe=t=>{const e=(t=>{const e=wt(t.ariaLabel,t),n=wt(t.desc,t),r=wt(t.id,t),i=wt(t.size,t),o=Et(t.style,t),a=wt(t.symbol,t),s=wt(t.tabIndex,t);return Object.assign({},t,{ariaLabel:e,desc:n,id:r,size:i,style:o,symbol:a,tabIndex:s})})(d()({},t,Me)),n=ue(e);return o().cloneElement(e.pathComponent,{...e.events,"aria-label":e.ariaLabel,d:$e(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 Fe=r(4155),Le=r.n(Fe);const ze={groupComponent:o().createElement("g",null)},We=t=>{const e={...ze,...t},n=ae()(),r=fe(),i=Array.isArray(e.children)?e.children[0]:e.children,{groupComponent:a}=e,s=i&&i.props||{},c=s.groupComponent?{groupComponent:a,standalone:!1}:{},l=d()(c,s,vt(e,["children","groupComponent"]),{key:s.key??n}),u=i&&o().cloneElement(i,l);return o().useEffect((()=>{r?.addChild(n,u)}),[e.children]),o().useEffect((()=>()=>r?.removeChild(n)),[]),r?null:u};We.role="portal";const De=t=>{const{children:e,desc:n,id:r,origin:i,tabIndex:a,title:s,...c}=t,l={id:wt(r,t)?.toString(),tabIndex:wt(a,t),...c};return o().createElement("text",l,s&&o().createElement("title",null,s),n&&o().createElement("desc",null,n),e)},Ie=t=>{const{desc:e,id:n,tabIndex:r,origin:i,...a}=t,s={id:wt(n,t)?.toString(),tabIndex:wt(r,t),...a};return o().createElement("tspan",s)};const _e={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Ser­avek', 'Trebuchet MS', sans-serif",stroke:"transparent"},Be=(t,e)=>{if(!t.datum)return 0;const n=function(t,e){const{scale:n,polar:r,horizontal:i}=t,o=xt(e),a=t.origin||{x:0,y:0},s=i?n.y(o.y):n.x(o.x),c=i?n.y(o.y0):n.x(o.x0),l=i?n.x(o.x):n.y(o.y),u=i?n.x(o.x0):n.y(o.y0);return{x:r?l*Math.cos(s)+a.x:s,x0:r?u*Math.cos(c)+a.x:c,y:r?-l*Math.sin(s)+a.y:l,y0:r?-u*Math.sin(c)+a.x:u}}(t,t.datum);return n[e]},Ne=t=>{const e=t&&t.fontSize;if("number"==typeof e)return e;if(null==e)return _e.fontSize;if("string"==typeof e){const t=Number(e.replace("px",""));return isNaN(t)?_e.fontSize:t}return _e.fontSize},Te=function(t,e){return void 0===e&&(e=0),Array.isArray(t)?t[e]||t[0]:t},He=t=>{const{backgroundStyle:e,backgroundPadding:n}=t;return Array.isArray(e)&&!Le()(e)||Array.isArray(n)&&!Le()(n)},Re=(t,e,n)=>{const{polar:r}=t,i=Te(t.style),o=r?function(t,e){const{labelPlacement:n,datum:r}=t;if(!n||"vertical"===n)return 0;const i=function(t,e){const{x:n}=xt(e);return("number"==typeof(r=t.scale.x(n))?r/(Math.PI/180):r)%360;var r}(t,r);let o=0;return 0===i||180===i?o=90:i>0&&i<180?o=90-i:i>180&&i<360&&(o=270-i),o+(i>90&&i<180||i>270?1:-1)*("perpendicular"===n?0:90)}(t):0,a=void 0===i.angle?wt(t.angle,t):i.angle,s=void 0===a?o:a,c=t.transform||i.transform,l=c&&wt(c,t);return l||s?yt(l,s&&{rotate:[s,e,n]}):void 0},qe=(t,e)=>{const{direction:n,textAnchor:r,x:i,dx:o}=t;if("rtl"===n)return i-e;switch(r){case"middle":return Math.round(i-e/2);case"end":return Math.round(i-e);default:return i+(o||0)}},Ge=(t,e)=>{const{verticalAnchor:n,y:r,originalDy:i=0}=t,o=r+i;switch(n){case"start":return Math.floor(o);case"end":return Math.ceil(o-e);default:return Math.floor(o-e/2)}},Ke=(t,e)=>He(t)?((t,e)=>{const{dy:n,dx:r,transform:i,backgroundStyle:a,backgroundPadding:s,backgroundComponent:c,inline:l,y:u}=t,f=e.map(((t,i)=>{const o=Te(e,i-1),a=t.textSize,c=t.fontSize*t.lineHeight,d=Math.ceil(c),f=Te(s,i),p=Te(s,i-1),h=l&&r||0,g=i&&!l?o.fontSize*o.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:u,fontSize:t.fontSize,dy:g}}));return f.map(((e,n)=>{const r=qe(t,e.labelSize.width),p=f.slice(0,n+1).reduce(((t,e)=>t+e.dy),u),h=Te(s,n),g=e.heightWithPadding,y=l?((t,e,n)=>{const{textAnchor:r}=t,i=e.map((t=>t.widthWithPadding)),o=-i.reduce(((t,e)=>t+e),0)/2;switch(r){case"start":return i.reduce(((t,e,r)=>r<n?t+e:t),0);case"end":return i.reduce(((t,e,r)=>r>n?t-e:t),0);default:return i.reduce(((t,e,r)=>r===n?t+e/2:t+(r<n?e:0)),o)}})(t,f,n)+r-h.left:r,b=l?Ge(t,g)-h.top:p,m={key:`tspan-background-${n}`,height:g,style:Te(a,n),width:e.widthWithPadding,transform:i,x:y-h.left,y:b};return o().cloneElement(c,d()({},c.props,m))}))})(t,e):((t,e)=>{const{dx:n=0,transform:r,backgroundComponent:i,backgroundStyle:a,inline:s,backgroundPadding:c,capHeight:l}=t,u=e.map((t=>t.textSize)),f=s?Math.max(...u.map((t=>t.height))):u.reduce(((t,n,r)=>{const i=r?0:l/2;return t+n.height*(e[r].lineHeight-i)}),0),p=s?u.reduce(((t,e,r)=>{const i=r?n:0;return t+e.width+i}),0):Math.max(...u.map((t=>t.width))),h=qe(t,p),g=Ge(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 o().cloneElement(i,d()({},i.props,y))})(t,e),Ve=(t,e,n)=>{const{inline:r}=e,i=Te(t,n);return n&&!r?((t,e,n)=>{const r=Te(t,e),i=Te(t,e-1),o=i.fontSize*i.lineHeight,a=r.fontSize*r.lineHeight,s=i.fontSize-i.capHeight,c=r.fontSize-r.capHeight,l=o-i.fontSize/2+r.fontSize/2-o/2+a/2-c/2+s/2;return He(n)?l+r.backgroundPadding.top+i.backgroundPadding.bottom:l})(t,n,e):r?0===n?i.backgroundPadding.top:void 0:i.backgroundPadding.top},Ue={backgroundComponent:o().createElement(ne,null),groupComponent:o().createElement("g",null),direction:"inherit",textComponent:o().createElement(De,null),tspanComponent:o().createElement(Ie,null),capHeight:.71,lineHeight:1},Qe=t=>{const e=(t=>{const e=((t,e)=>{if(null==t)return;if(Array.isArray(t))return t.map((t=>wt(t,e)));const n=wt(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=Et(t,e);return{fontSize:Ne(n)}}const n=t=>{const n=Et(t?d()({},t,_e):_e,e);return Object.assign({},n,{fontSize:Ne(n)})};return Array.isArray(t)&&!Le()(t)?t.map((t=>n(t))):n(t)})(t.style,Object.assign({},t,{text:e})),r=((t,e)=>{if(t)return Array.isArray(t)&&!Le()(t)?t.map((t=>Et(t,e))):Et(t,e)})(t.backgroundStyle,Object.assign({},t,{text:e,style:n})),i=(t=>t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((e=>kt({padding:wt(e,t)}))):kt({padding:wt(t.backgroundPadding,t)}))(Object.assign({},t,{text:e,style:n,backgroundStyle:r})),o=wt(t.id,t);return Object.assign({},t,{backgroundStyle:r,backgroundPadding:i,style:n,text:e,id:o})})(d()({},t,Ue));if(null===e.text||void 0===e.text)return null;const n=(t=>{const e=wt(t.ariaLabel,t),n=Te(t.style),r=(t=>{const e=wt(t.lineHeight,t);return Array.isArray(e)&&Le()(e)?[1]:e})(t),i=t.direction?wt(t.direction,t):"inherit",o=t.textAnchor?wt(t.textAnchor,t):n.textAnchor||"start",a=t.verticalAnchor?wt(t.verticalAnchor,t):n.verticalAnchor||"middle",s=t.dx?wt(t.dx,t):0,c=((t,e,n)=>{const r=t.dy?wt(t.dy,t):0,i=t.inline?1:t.text.length,o=wt(t.capHeight,t),a=e?wt(e,t):"middle",s=[...Array(i).keys()].map((e=>Te(t.style,e).fontSize)),c=[...Array(i).keys()].map((t=>Te(n,t)));if("start"===a)return r+(o/2+c[0]/2)*s[0];if(t.inline)return"end"===a?r+(o/2-c[0]/2)*s[0]:r+o/2*s[0];if(1===i)return"end"===a?r+(o/2+(.5-i)*c[0])*s[0]:r+(o/2+(.5-i/2)*c[0])*s[0];const l=[...Array(i).keys()].reduce(((t,e)=>t+(o/2+(.5-i)*c[e])*s[e]/i),0);return"end"===a?r+l:r+l/2+o/2*c[i-1]*s[i-1]})(t,a,r),l=void 0!==t.x?t.x:Be(t,"x"),u=void 0!==t.y?t.y:Be(t,"y"),d=Re(t,l,u);return Object.assign({},t,{ariaLabel:e,lineHeight:r,direction:i,textAnchor:o,verticalAnchor:a,dx:s,dy:c,originalDy:wt(t.dy,t),transform:d,x:l,y:u})})(e),{text:r,style:i,capHeight:a,backgroundPadding:s,lineHeight:c}=n,l=r.map(((t,e)=>{const n=Te(i,e),r=It(`${a}em`,n.fontSize),o=Te(c,e);return{style:n,fontSize:n.fontSize||_e.fontSize,capHeight:r,text:t,textSize:Rt(t,n),lineHeight:o,backgroundPadding:Te(s,e)}})),u=((t,e)=>{const{ariaLabel:n,inline:r,className:i,title:a,events:s,direction:c,text:l,textAnchor:u,dx:d,dy:f,transform:p,x:h,y:g,desc:y,id:b,tabIndex:m,tspanComponent:v,textComponent:x}=t,k=ue(t),w={"aria-label":n,key:"text",...s,direction:c,dx:d,x:h,y:g+f,transform:p,className:i,title:a,desc:wt(y,t),tabIndex:wt(m,t),id:b,...k},E=l.map(((n,i)=>{const a=e[i].style,s={key:`${b}-key-${i}`,x:r?void 0:h,dx:r?d+e[i].backgroundPadding.left:d,dy:Ve(e,t,i),textAnchor:a.textAnchor||u,style:a,children:n};return o().cloneElement(v,s)}));return o().cloneElement(x,w,E)})(n,l);if(e.backgroundStyle){const t=[Ke(n,l),u],r=o().cloneElement(e.groupComponent,{},t);return e.renderInPortal?o().createElement(We,null,r):r}return e.renderInPortal?o().createElement(We,null,u):u};Qe.displayName="VictoryLabel",Qe.role="label",Qe.defaultStyles=_e;var Ze=r(7491),Ye=r.n(Ze);const Xe=t=>+t;function Je(t){return t*t}function tn(t){return t*(2-t)}function en(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function nn(t){return t*t*t}function rn(t){return--t*t*t+1}function on(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var an=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),sn=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),cn=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),ln=Math.PI,un=ln/2;function dn(t){return 1==+t?1:1-Math.cos(t*un)}function fn(t){return Math.sin(t*un)}function pn(t){return(1-Math.cos(ln*t))/2}function hn(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function gn(t){return hn(1-+t)}function yn(t){return 1-hn(t)}function bn(t){return((t*=2)<=1?hn(1-t):2-hn(t-1))/2}function mn(t){return 1-Math.sqrt(1-t*t)}function vn(t){return Math.sqrt(1- --t*t)}function xn(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var kn=7.5625;function wn(t){return 1-En(1-t)}function En(t){return(t=+t)<.36363636363636365?kn*t*t:t<.7272727272727273?kn*(t-=.5454545454545454)*t+.75:t<.9090909090909091?kn*(t-=.8181818181818182)*t+.9375:kn*(t-=.9545454545454546)*t+.984375}function On(t){return((t*=2)<=1?1-En(1-t):En(t-1)+1)/2}var jn=1.70158,An=function t(e){function n(t){return(t=+t)*t*(e*(t-1)+t)}return e=+e,n.overshoot=t,n}(jn),Sn=function t(e){function n(t){return--t*t*((t+1)*e+t)+1}return e=+e,n.overshoot=t,n}(jn),Cn=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}(jn),$n=2*Math.PI,Mn=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=$n);function i(t){return e*hn(- --t)*Math.sin((r-t)/n)}return i.amplitude=function(e){return t(e,n*$n)},i.period=function(n){return t(e,n)},i}(1,.3),Pn=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=$n);function i(t){return 1-e*hn(t=+t)*Math.sin((t+r)/n)}return i.amplitude=function(e){return t(e,n*$n)},i.period=function(n){return t(e,n)},i}(1,.3),Fn=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=$n);function i(t){return((t=2*t-1)<0?e*hn(-t)*Math.sin((r-t)/n):2-e*hn(t)*Math.sin((r+t)/n))/2}return i.amplitude=function(e){return t(e,n*$n)},i.period=function(n){return t(e,n)},i}(1,.3),Ln=r(4143),zn=r.n(Ln),Wn=r(3849),Dn=r.n(Wn);function In(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function _n(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Bn(){}var Nn=.7,Tn=1/Nn,Hn="\\s*([+-]?\\d+)\\s*",Rn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",qn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Gn=/^#([0-9a-f]{3,8})$/,Kn=new RegExp(`^rgb\\(${Hn},${Hn},${Hn}\\)$`),Vn=new RegExp(`^rgb\\(${qn},${qn},${qn}\\)$`),Un=new RegExp(`^rgba\\(${Hn},${Hn},${Hn},${Rn}\\)$`),Qn=new RegExp(`^rgba\\(${qn},${qn},${qn},${Rn}\\)$`),Zn=new RegExp(`^hsl\\(${Rn},${qn},${qn}\\)$`),Yn=new RegExp(`^hsla\\(${Rn},${qn},${qn},${Rn}\\)$`),Xn={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 Jn(){return this.rgb().formatHex()}function tr(){return this.rgb().formatRgb()}function er(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=Gn.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?nr(e):3===n?new ar(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?rr(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?rr(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=Kn.exec(t))?new ar(e[1],e[2],e[3],1):(e=Vn.exec(t))?new ar(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Un.exec(t))?rr(e[1],e[2],e[3],e[4]):(e=Qn.exec(t))?rr(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Zn.exec(t))?fr(e[1],e[2]/100,e[3]/100,1):(e=Yn.exec(t))?fr(e[1],e[2]/100,e[3]/100,e[4]):Xn.hasOwnProperty(t)?nr(Xn[t]):"transparent"===t?new ar(NaN,NaN,NaN,0):null}function nr(t){return new ar(t>>16&255,t>>8&255,255&t,1)}function rr(t,e,n,r){return r<=0&&(t=e=n=NaN),new ar(t,e,n,r)}function ir(t){return t instanceof Bn||(t=er(t)),t?new ar((t=t.rgb()).r,t.g,t.b,t.opacity):new ar}function or(t,e,n,r){return 1===arguments.length?ir(t):new ar(t,e,n,null==r?1:r)}function ar(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function sr(){return`#${dr(this.r)}${dr(this.g)}${dr(this.b)}`}function cr(){const t=lr(this.opacity);return`${1===t?"rgb(":"rgba("}${ur(this.r)}, ${ur(this.g)}, ${ur(this.b)}${1===t?")":`, ${t})`}`}function lr(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function ur(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function dr(t){return((t=ur(t))<16?"0":"")+t.toString(16)}function fr(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new hr(t,e,n,r)}function pr(t){if(t instanceof hr)return new hr(t.h,t.s,t.l,t.opacity);if(t instanceof Bn||(t=er(t)),!t)return new hr;if(t instanceof hr)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,c=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n<r):n===o?(r-e)/s+2:(e-n)/s+4,s/=c<.5?o+i:2-o-i,a*=60):s=c>0&&c<1?0:a,new hr(a,s,c,t.opacity)}function hr(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function gr(t){return(t=(t||0)%360)<0?t+360:t}function yr(t){return Math.max(0,Math.min(1,t||0))}function br(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 mr(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}In(Bn,er,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Jn,formatHex:Jn,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return pr(this).formatHsl()},formatRgb:tr,toString:tr}),In(ar,or,_n(Bn,{brighter(t){return t=null==t?Tn:Math.pow(Tn,t),new ar(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?Nn:Math.pow(Nn,t),new ar(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new ar(ur(this.r),ur(this.g),ur(this.b),lr(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:sr,formatHex:sr,formatHex8:function(){return`#${dr(this.r)}${dr(this.g)}${dr(this.b)}${dr(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:cr,toString:cr})),In(hr,(function(t,e,n,r){return 1===arguments.length?pr(t):new hr(t,e,n,null==r?1:r)}),_n(Bn,{brighter(t){return t=null==t?Tn:Math.pow(Tn,t),new hr(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Nn:Math.pow(Nn,t),new hr(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,i=2*n-r;return new ar(br(t>=240?t-240:t+120,i,r),br(t,i,r),br(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new hr(gr(this.h),yr(this.s),yr(this.l),lr(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=lr(this.opacity);return`${1===t?"hsl(":"hsla("}${gr(this.h)}, ${100*yr(this.s)}%, ${100*yr(this.l)}%${1===t?")":`, ${t})`}`}}));var vr=t=>()=>t;function xr(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):vr(isNaN(t)?e:t)}var kr=function t(e){var n=function(t){return 1==(t=+t)?xr: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):vr(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=or(t)).r,(e=or(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=xr(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function wr(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n<i;++n)r=or(e[n]),o[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return o=t(o),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=s(t),r+""}}}function Er(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=Pr(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}}function Or(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function jr(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function Ar(t,e){var n,r={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=Pr(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}wr((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),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=r<e-1?t[r+2]:2*o-i;return mr((n-r/e)*e,a,i,o,s)}})),wr((function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],a=t[(r+1)%e],s=t[(r+2)%e];return mr((n-r/e)*e,i,o,a,s)}}));var Sr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Cr=new RegExp(Sr.source,"g");function $r(t,e){var n,r,i,o=Sr.lastIndex=Cr.lastIndex=0,a=-1,s=[],c=[];for(t+="",e+="";(n=Sr.exec(t))&&(r=Cr.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,c.push({i:a,x:jr(n,r)})),o=Cr.lastIndex;return o<e.length&&(i=e.slice(o),s[a]?s[a]+=i:s[++a]=i),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 Mr(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}}function Pr(t,e){var n,r,i=typeof e;return null==e||"boolean"===i?vr(e):("number"===i?jr:"string"===i?(n=er(e))?(e=n,kr):$r:e instanceof er?kr:e instanceof Date?Or:(r=e,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(e)?Er:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?Ar:jr:Mr))(t,e)}const Fr=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)||Dn()(t)}return!1},Lr=function(t,e,n){return void 0===n&&(n=0),function(r){return r<n?t:e}},zr=function(t,e){return function(n){return n>=1?e:function(){const r="function"==typeof t?t.apply(this,arguments):t,i="function"==typeof e?e.apply(this,arguments):e;return Pr(r,i)(n)}}},Wr=function(t,e){const n=t=>Array.isArray(t)?zn()(t,"key"):t,r={},i={};let o,a=t,s=e;for(o in null!==a&&"object"==typeof a||(a={}),null!==s&&"object"==typeof s||(s={}),s)o in a?r[o]=(c=n(a[o]))!==(l=n(s[o]))&&Fr(c)&&Fr(l)?"function"==typeof c||"function"==typeof l?zr(c,l):"object"==typeof c&&Dn()(c)||"object"==typeof l&&Dn()(l)?Wr(c,l):Pr(c,l):Lr(c,l):i[o]=s[o];var c,l;return function(t){for(o in r)i[o]=r[o](t);return i}};var Dr,Ir,_r=0,Br=0,Nr=0,Tr=0,Hr=0,Rr=0,qr="object"==typeof performance&&performance.now?performance:Date,Gr="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Kr(){return Hr||(Gr(Vr),Hr=qr.now()+Rr)}function Vr(){Hr=0}function Ur(){this._call=this._time=this._next=null}function Qr(t,e,n){var r=new Ur;return r.restart(t,e,n),r}function Zr(){Hr=(Tr=qr.now())+Rr,_r=Br=0;try{!function(){Kr(),++_r;for(var t,e=Dr;e;)(t=Hr-e._time)>=0&&e._call.call(void 0,t),e=e._next;--_r}()}finally{_r=0,function(){for(var t,e,n=Dr,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:Dr=e);Ir=t,Xr(r)}(),Hr=0}}function Yr(){var t=qr.now(),e=t-Tr;e>1e3&&(Rr-=e,Tr=t)}function Xr(t){_r||(Br&&(Br=clearTimeout(Br)),t-Hr>24?(t<1/0&&(Br=setTimeout(Zr,t-qr.now()-Rr)),Nr&&(Nr=clearInterval(Nr))):(Nr||(Tr=qr.now(),Nr=setInterval(Yr,1e3)),_r=1,Gr(Zr)))}Ur.prototype=Qr.prototype={constructor:Ur,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Kr():+n)+(null==e?0:+e),this._next||Ir===this||(Ir?Ir._next=this:Dr=this,Ir=this),this._call=t,this._time=n,Xr()},stop:function(){this._call&&(this._call=null,this._time=1/0,Xr())}};class Jr{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(Kr()-t.startTime,t.duration)}))};start(){this.timer||(this.timer=Qr(this.loop))}stop(){this.timer&&(this.timer.stop(),this.timer=null)}subscribe(t,e){const n=this.subscribers.push({startTime:Kr(),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 ti=o().createContext({transitionTimer:new Jr,animationTimer:new Jr});ti.displayName="TimerContext";var ei=ti;const ni=1e3,ri=t=>{let{duration:n=ni,easing:r="quadInOut",delay:i=0,data:a,children:s,onEnd:c}=t;const[l,u]=o().useState({data:Array.isArray(a)?a[0]:a,animationInfo:{progress:0,animating:!1}}),d=o().useContext(ei).animationTimer,f=o().useRef(Array.isArray(a)?a.slice(1):[]),p=o().useRef(null),h=o().useRef(void 0),g=e[(y=r,`ease${y.charAt(0).toUpperCase()+y.slice(1)}`)];var y;o().useEffect((()=>(f.current.length&&b(),()=>{h.current?d.unsubscribe(h.current):d.stop()})),[]),o().useEffect((()=>{p.current&&l.animationInfo&&l.animationInfo.progress<1?u({data:p.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}):(d.unsubscribe(h.current),f.current=Array.isArray(a)?a:[a],b())}),[a]);const b=()=>{if(f.current.length){const r=f.current[0];p.current=(t=l.data)!==(e=r)&&Fr(t)&&Fr(e)?"function"==typeof t||"function"==typeof e?zr(t,e):Dn()(t)||Dn()(e)?Wr(t,e):"string"==typeof t||"string"==typeof e?function(t,e){const n=t=>"string"==typeof t?t.replace(/,/g,""):t;return Pr(n(t),n(e))}(t,e):Pr(t,e):Lr(t,e),i?setTimeout((()=>{h.current=d.subscribe(m,n)}),i):h.current=d.subscribe(m,n)}else c&&c();var t,e},m=t=>{if(!p.current)return;const e=n?t/n:1;if(e>=1)return u({data:p.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),h.current&&d.unsubscribe(h.current),f.current.shift(),void b();u({data:p.current(g(e)),animationInfo:{progress:e,animating:e<1}})};return s(l.data,l.animationInfo)};function ii(t){return Array.isArray(t)&&t.some((t=>t instanceof Date))}function oi(t,e){return t&&e?t.filter((t=>!e.includes(t))):[]}function ai(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 i=t.concat(n);return ii(i)?new Date(Math.max(...i)):Math.max(...i)}function si(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 i=t.concat(n);return ii(i)?new Date(Math.min(...i)):Math.min(...i)}var ci=r(5346),li=r.n(ci);function ui(t,e){return(t.key||e).toString()}function di(t){return t.reduce(((t,e,n)=>(t[ui(e,n)]=e,t)),{})}function fi(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 pi(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function hi(t,e){let n=!1,r=!1;const i=(t,e)=>t.map(((a,s)=>a&&a.props&&a.props.children&&e[s]?i(o().Children.toArray(t[s].props.children),o().Children.toArray(e[s].props.children)):((t,e)=>{if(!e||t.type!==e.type)return{};const{entering:i,exiting:o}=function(t,e){const n=t&&di(t),r=e&&di(e);return{entering:n&&fi(r,n),exiting:r&&fi(n,r)}}(pi(t),pi(e))||{};return n=n||!!o,r=r||!!i,{entering:i||!1,exiting:o||!1}})(a,e[s]))),a=i(o().Children.toArray(t),o().Children.toArray(e));return{nodesWillExit:n,nodesWillEnter:r,childrenTransitions:a,nodesShouldEnter:!1}}function gi(t,e,n){const r=e&&e.nodesWillExit,i=e&&e.nodesWillEnter,o=e&&e.nodesShouldEnter,a=e&&e.nodesShouldLoad,s=e&&e.nodesDoneLoad,c=e&&e.childrenTransitions||[],l={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},u=(t,e,r)=>a?function(t,e,r){const i=Object.assign({},t,{onEnd:()=>{n({nodesShouldLoad:!1,nodesDoneLoad:!0})}});let o=e;if(i&&i.onLoad&&!i.onLoad.duration)return{animate:t,data:e};const a=t.onLoad&&t.onLoad.after?t.onLoad.after:li();return o=e.map(((t,n)=>Object.assign({},t,a(t,n,e)))),{animate:i,data:o}}(r,e):function(t,e,r,i){const o=Object.assign({},t,{onEnd:()=>{n({nodesDoneLoad:!0})}});if(o&&o.onLoad&&!o.onLoad.duration)return{animate:o,data:r};const a=o.onLoad&&o.onLoad.before?o.onLoad.before:li();return{animate:o,data:r.map(((t,e)=>Object.assign({},t,a(t,e,r)))),clipWidth:0}}(r,0,e),f=(t,e,r,i)=>function(t,e,r,i,o){const a=t&&t.onExit,s=Object.assign({},t,a);let c=r;if(i){t.onEnd=()=>{n({nodesWillExit:!1})};const e=t.onExit&&t.onExit.before?t.onExit.before:li();c=r.map(((t,n)=>{const o=(t.key||n).toString();return i[o]?Object.assign({},t,e(t,n,r)):t}))}return{animate:s,data:c}}(i,0,r,t),p=(t,e,r,i)=>o?function(t,e,r,i){const o=t&&t.onEnter,a=Object.assign({},t,o);let s=e;if(r){a.onEnd=()=>{n({nodesWillEnter:!1})};const t=a.onEnter&&a.onEnter.after?a.onEnter.after:li();s=e.map(((n,i)=>{const o=ui(n,i);return r[o]?Object.assign({},n,t(n,i,e)):n}))}return{animate:a,data:s}}(i,r,t):function(t,e,r,i,o){let a=t,s=r;if(i){a=Object.assign({},t,{onEnd:()=>{n({nodesShouldEnter:!0})}});const e=t.onEnter&&t.onEnter.before?t.onEnter.before:li();s=r.map(((t,n)=>{const o=(t.key||n).toString();return i[o]?Object.assign({},t,e(t,n,r)):t}))}return{animate:a,data:s}}(i,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=pi(n)||[],y=d()({},t.animate,n.props.animate),b=n.props.polar&&n.type.defaultPolarTransitions||n.type.defaultTransitions;y.onExit=d()({},y.onExit,b&&b.onExit),y.onEnter=d()({},y.onEnter,b&&b.onEnter),y.onLoad=d()({},y.onLoad,b&&b.onLoad);const m=c[a]||c[0];if(!s){const t={duration:void 0!==l.load?l.load:h(n,"onLoad")};return u(0,g,Object.assign({},y,t))}if(r){const t=m&&m.exiting,e=void 0!==l.exit?l.exit:h(n,"onExit"),r=t?{duration:e}:{delay:e};return f(t,0,g,Object.assign({},y,r))}if(i){const t=m&&m.entering,e=void 0!==l.enter?l.enter:h(n,"onEnter"),r=void 0!==l.move?l.move:n.props.animate&&n.props.animate.duration,i={duration:o&&t?e:r};return p(t,0,g,Object.assign({},y,i))}return!e&&y&&y.onExit?function(t,e){const n=t.onEnter&&t.onEnter.after?t.onEnter.after:li();return{data:e.map(((t,r)=>Object.assign({},t,n(t,r,e))))}}(y,g):{animate:y,data:g}}}function yi(){return yi=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},yi.apply(this,arguments)}class bi extends o().Component{static displayName="VictoryTransition";static contextType=ei;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 Ye()(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=o().Children.toArray(t.children),i=o().Children.toArray(e.children),{nodesWillExit:a,nodesWillEnter:s,childrenTransitions:c,nodesShouldEnter:l}=hi(r,i);return{nodesWillExit:a,nodesWillEnter:s,childrenTransitions:c,nodesShouldEnter:l,oldProps:a?t:null,nextProps:e}}getDomainFromChildren(t,e){const n=t=>t.reduce(((t,r)=>{if(r.type&&St(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(o().Children.toArray(r.props.children))):t}),[]),r=o().Children.toArray(t.children)[0],i=r.props||{},a=Array.isArray(i.domain)?i.domain:i.domain&&i.domain[e];if(!i.children&&a)return a;const s=n([r]);return 0===s.length?[0,1]:[si(s),ai(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?[Ot(t.startAngle||0),Ot(t.endAngle||360)]:[t.innerRadius||0,jt(t)]}(t,e):function(t,e){const n="x"!==e,r=kt(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:gi(t,this.state,(t=>this.setState(t))),n=o().Children.toArray(t.children)[0],r=e(n);this.transitionProps=r;const i={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},a=this.getClipWidth(t,n),s=d()({domain:i,clipWidth:a},r,n.props),c=(t.animationWhitelist||[]).concat(["clipWidth"]),l=c.length?mt()(s,c):s;return o().createElement(ri,yi({},s.animate,{data:l}),(t=>{if(n.props.groupComponent){const e=this.continuous?o().cloneElement(n.props.groupComponent,{clipWidth:t.clipWidth||0}):n.props.groupComponent;return o().cloneElement(n,d()({animate:null,animating:!0,groupComponent:e},t,s))}return o().cloneElement(n,d()({animate:null,animating:!0},t,s))}))}}var mi=r(9602),vi=r.n(mi),xi=r(1616),ki=r.n(xi),wi=r(4912),Ei=r.n(wi);const Oi=/^onGlobal(.*)$/;function ji(t,e,n,r){const i=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),{})},o=(()=>Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events)(),a=o&&St(r)?r(i(o),e):void 0;if(!t.sharedEvents)return a;const s=t.sharedEvents.getEvents,c=t.sharedEvents.events&&s(i(t.sharedEvents.events),e);return Object.assign({},c,a)}function Ai(t,e,n,r){if(Le()(t))return{};const i=r||this.baseProps,o=(t,e)=>{const{childName:n,target:r,key:o}=t,a="props"===e?i:this.state||{},s=null!=n&&a[n]?a[n]:a;return"parent"===o?s.parent:s[o]&&s[o][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(!St(t.mutation))return r;const a=o({childName:n,key:e,target:s},"props"),c=o({childName:n,key:e,target:s},"state"),l=t.mutation(Object.assign({},a,c),i),u=r[n]||{},d=t=>l?(t=>"parent"===s?Object.assign(t,{[e]:Object.assign(t[e]||{},l)}):Object.assign(t,{[e]:Object.assign(t[e]||{},{[s]:l})}))(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(u)}):d(r)},l=e=>{const n=(e=>"parent"===s?"parent":"all"===t.eventKey?i[e]?Object.keys(i[e]).filter((t=>"parent"!==t)):Object.keys(i).filter((t=>"parent"!==t)):void 0===t.eventKey&&"parent"===r?i[e]?Object.keys(i[e]):Object.keys(i):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)},u="all"===a?Object.keys(i).filter((t=>"parent"!==t)):a;return Array.isArray(u)?u.reduce(((t,e)=>Object.assign(t,l(e))),{}):l(u)},s=(e,n,r,i)=>{const o=t[i](e,n,r,this);if(!Le()(o)){const t=(t=>{const e=t=>St(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})(o);this.setState(((t,e)=>Array.isArray(t)?t.reduce(((t,n)=>Object.assign({},t,a(n,e))),{}):a(t,e))(o,r),t)}};return Object.keys(t).reduce(((t,e)=>(t[e]=s,t)),{})}function Si(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 Ci(t,e,n,r){const i=(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 o=Array.isArray(t)?t:[t];r.childName&&(o=t.filter((t=>i(t,"childName"))));const a=o.filter((t=>i(t,"target")));if(Le()(a))return;const s=a.filter((t=>i(t,"eventKey")));return Le()(s)?void 0:s.reduce(((t,r)=>{const i=(r&&St(r.mutation)?r.mutation:()=>{})(Object.assign({},e,n));return Object.assign({},t,i)}),{})}function $i(t){const e=t.match(Oi);return e&&e[1]&&e[1].toLowerCase()}const Mi=t=>!At(t._x)&&!At(t._y),Pi=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}],Fi={orientation:"vertical",titleOrientation:"top",width:450,height:300,x:0,y:0},Li=[{name:"Series 1"},{name:"Series 2"}];class zi extends o().Component{static displayName="VictoryLegend";static role="legend";static defaultProps={borderComponent:o().createElement(ie,null),data:Li,containerComponent:o().createElement(be,null),dataComponent:o().createElement(Pe,null),groupComponent:o().createElement("g",null),labelComponent:o().createElement(Qe,null),standalone:!0,theme:gt.grayscale,titleComponent:o().createElement(Qe,null)};static getBaseProps(t){return Jt(t,Fi)}static getDimensions(t){return Xt(t,Fi)}static expectedComponents=["borderComponent","containerComponent","dataComponent","groupComponent","labelComponent","titleComponent"];renderChildren(t){const{dataComponent:e,labelComponent:n,title:r}=t,i=[];if(t.borderComponent){const e=this.getComponentProps(t.borderComponent,"border","all"),n=o().cloneElement(t.borderComponent,e);i.push(n)}if(e){const t=this.dataKeys.map(((t,n)=>{if("all"===t)return;const r=this.getComponentProps(e,"data",n);return o().cloneElement(e,r)})).filter((t=>void 0!==t));i.push(...t)}if(r&&t.titleComponent){const e=this.getComponentProps(r,"title","all"),n=o().cloneElement(t.titleComponent,e);i.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?o().cloneElement(n,r):void 0})).filter((t=>void 0!==t));i.push(...t)}return i}render(){const{role:t}=this.constructor,e=Ct(this.props,Fi,t),n=this.renderChildren(e);return e.standalone?this.renderContainer(e.containerComponent,n):o().cloneElement(e.groupComponent,{},n)}}const Wi=(Di=zi,void 0===Ii&&(Ii={}),class extends Di{constructor(t){super(t),this.cacheValues(this.getCalculatedValues(t))}state={};getEventState=Si.bind(this);getScopedEvents=Ai.bind(this);getEvents=(t,e,n)=>ji.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=!Ye()(e,this.externalMutations);if(n||r)return this.cacheValues(this.getCalculatedValues(t)),this.externalMutations=e,this.applyExternalMutations(t,e),!0;const i=this.getStateChanges(t);return Ye()(this.calculatedState,i)?!Ye()(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);oi(this.prevGlobalEventKeys,n).forEach((t=>this.removeGlobalListener(t))),oi(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($i(t),e)}removeGlobalListener(t){window.removeEventListener($i(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 Le()(n)?void 0:n};return(Ii.components||Pi).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(!Le()(e)){const n=t.externalEventMutations.reduce(((t,e)=>St(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],i=r&&r.type&&r.type.defaultEvents,o=St(i)?i(r.props):i;return Array.isArray(o)?e.concat(...o):e}),[]);return n&&n.length?n:void 0}(t,Di.expectedComponents),r=e&&St(e.getEventState)?e.getEventState:()=>{},i=this.getBaseProps(t,r);return{componentEvents:n,getSharedEventState:r,baseProps:i,dataKeys:Object.keys(i).filter((t=>"parent"!==t)),hasEvents:t.events||t.sharedEvents||n,events:this.getAllEvents(t)}}getExternalMutations(t){const{sharedEvents:e,externalEventMutations:n}=t;return Le()(n)||e?void 0:function(t,e,n,r){return void 0===e&&(e={}),void 0===n&&(n={}),Object.keys(e).reduce(((i,o)=>{const a=n[o]||{},s=e[o]||{};if("parent"===o){const e=Ci(t,s,a,{eventKey:o,target:"parent"});i[o]=void 0!==e?Object.assign({},a,e):a}else{const e=vi()(Object.keys(s).concat(Object.keys(a)));i[o]=e.reduce(((e,n)=>{const i={eventKey:o,target:n,childName:r},c=Ci(t,s[n],a[n],i);return e[n]=void 0!==c?Object.assign({},a[n],c):a[n],Ei()(e,(t=>!Le()(t)))}),{})}return Ei()(i,(t=>!Le()(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"),i=d()({},r,n),o=i.parentControlledProps,a=o?mt()(i,o):{},s=d()({},a,t);return"function"==typeof Di.getBaseProps?Di.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||Di.role,i=this.dataKeys&&this.dataKeys[n]||n,o=`${r}-${e}-${i}`,a=this.baseProps[i]&&this.baseProps[i][e]||this.baseProps[i];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,i),r=d()({index:n,key:o},this.getEventState(i,e),this.getSharedEventState(i,e),s,a,{id:o}),c=d()({},function(t,e,n){return t?Object.keys(t).reduce(((r,i)=>(r[i]=r=>t[i](r,n,e,i),r)),{}):{}}(t,i,r),r.events);return Object.assign({},r,{events:c})}return d()({index:n,key:o},s,a,{id:o})}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,Ei()(r,((t,e)=>Oi.test(e)))),n.events=(t=>ki()(t,((t,e)=>Oi.test(e))))(n.events)),o().cloneElement(t,n,e)}animateComponent(t,e){const n="object"==typeof t.animate&&t.animate?.animationWhitelist||e,r=this.constructor;return o().createElement(bi,{animate:t.animate,animationWhitelist:n},o().createElement(r,t))}renderContinuousData(t){const{dataComponent:e,labelComponent:n,groupComponent:r}=t,i=this.dataKeys.filter((t=>"all"!==t)),a=i.reduce(((t,e)=>{let r=t;const i=this.getComponentProps(n,"labels",e);return i&&void 0!==i.text&&null!==i.text&&(r=r.concat(o().cloneElement(n,i))),r}),[]),s=this.getComponentProps(e,"data","all"),c=[o().cloneElement(e,s),...a];return this.renderContainer(r,c)}renderData(t,e){void 0===e&&(e=Mi);const{dataComponent:n,labelComponent:r,groupComponent:i}=t,a=[...this.dataKeys.reduce(((t,r,i)=>{const a=this.getComponentProps(n,"data",i);return e(a.datum)&&t.push(o().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 o().cloneElement(r,n)})).filter(Boolean)];return this.renderContainer(i,a)}});var Di,Ii}(),i}()}));
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),i=n(7838),o=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=i,c.prototype.get=o,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),i=n(7838),o=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=i,c.prototype.get=o,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 i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];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,i=null==t?0:t.length;++r<i;)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,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}},9559:function(t){t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+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),i=n(788),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];o.call(t,e)&&i(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 i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];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),i=n(3608);t.exports=function t(e,n,o,a,s){var c=-1,l=e.length;for(o||(o=i),s||(s=[]);++c<l;){var u=e[c];n>0&&o(u)?n>1?t(u,n-1,o,a,s):r(s,u):a||(s[s.length]=u)}return s}},4432:function(t,e,n){var r=n(9026),i=n(3110);t.exports=function(t,e){for(var n=0,o=(e=r(e,t)).length;null!=t&&n<o;)t=t[i(e[n++])];return n&&n==o?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,i=t.length;++r<i;)if(t[r]===e)return r;return-1}},9070:function(t,e,n){var r=n(7028),i=n(3474);t.exports=function t(e,n,o,a,s){return e===n||(null==e||null==n||!i(e)&&!i(n)?e!=e&&n!=n:r(e,n,o,a,t,s))}},7028:function(t,e,n){var r=n(8708),i=n(8705),o=n(2813),a=n(6682),s=n(9667),c=n(163),l=n(4801),u=n(4289),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,g,y,b){var m=c(t),v=c(e),x=m?f:s(t),k=v?f:s(e),E=(x=x==d?p:x)==p,w=(k=k==d?p:k)==p,O=x==k;if(O&&l(t)){if(!l(e))return!1;m=!0,E=!1}if(O&&!E)return b||(b=new r),m||u(t)?i(t,e,n,g,y,b):o(t,e,x,n,g,y,b);if(!(1&n)){var j=E&&h.call(t,"__wrapped__"),A=w&&h.call(e,"__wrapped__");if(j||A){var S=j?t.value():t,C=A?e.value():e;return b||(b=new r),y(S,C,n,g,b)}}return!!O&&(b||(b=new r),a(t,e,n,g,y,b))}},9548:function(t,e,n){var r=n(8708),i=n(9070);t.exports=function(t,e,n,o){var a=n.length,s=a,c=!o;if(null==t)return!s;for(t=Object(t);a--;){var l=n[a];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<s;){var u=(l=n[a])[0],d=t[u],f=l[1];if(c&&l[2]){if(void 0===d&&!(u in t))return!1}else{var p=new r;if(o)var h=o(d,f,u,t,e,p);if(!(void 0===h?i(f,d,3,o,p):h))return!1}}return!0}},3472:function(t,e,n){var r=n(758),i=n(5223),o=n(5346),a=n(163),s=n(8532);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(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,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}},758:function(t,e,n){var r=n(9548),i=n(597),o=n(6878);t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},5223:function(t,e,n){var r=n(9070),i=n(9201),o=n(5066),a=n(726),s=n(5385),c=n(6878),l=n(3110);t.exports=function(t,e){return a(t)&&s(e)?c(l(t),e):function(n){var a=i(n,t);return void 0===a&&a===e?o(n,t):r(e,a,3)}}},8245:function(t,e,n){var r=n(8644),i=n(4432),o=n(3472),a=n(383),s=n(9521),c=n(9110),l=n(9409),u=n(5346),d=n(163);t.exports=function(t,e,n){e=e.length?r(e,(function(t){return d(t)?function(e){return i(e,1===t.length?t[0]:t)}:t})):[u];var f=-1;e=r(e,c(o));var p=a(t,(function(t,n,i){return{criteria:r(e,(function(e){return e(t)})),index:++f,value:t}}));return s(p,(function(t,e){return l(t,e,n)}))}},5436:function(t,e,n){var r=n(6371),i=n(5066);t.exports=function(t,e){return r(t,e,(function(e,n){return i(t,n)}))}},6371:function(t,e,n){var r=n(4432),i=n(6539),o=n(9026);t.exports=function(t,e,n){for(var a=-1,s=e.length,c={};++a<s;){var l=e[a],u=r(t,l);n(u,l)&&i(c,o(l,t),u)}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,i,o){for(var a=-1,s=n(e((r-t)/(i||1)),0),c=Array(s);s--;)c[o?s:++a]=t,t+=i;return c}},6317:function(t,e,n){var r=n(5346),i=n(4280),o=n(201);t.exports=function(t,e){return o(i(t,e,r),t+"")}},6539:function(t,e,n){var r=n(4132),i=n(9026),o=n(9099),a=n(7709),s=n(3110);t.exports=function(t,e,n,c){if(!a(t))return t;for(var l=-1,u=(e=i(e,t)).length,d=u-1,f=t;null!=f&&++l<u;){var p=s(e[l]),h=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return t;if(l!=d){var g=f[p];void 0===(h=c?c(g,p,f):void 0)&&(h=a(g)?g:o(e[l+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),i=n(8644),o=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(o(e))return i(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),i=n(5510),o=n(9955),a=n(9914),s=n(6602),c=n(6226);t.exports=function(t,e,n){var l=-1,u=i,d=t.length,f=!0,p=[],h=p;if(n)f=!1,u=o;else if(d>=200){var g=e?null:s(t);if(g)return c(g);f=!1,u=a,h=new r}else h=e?[]:p;t:for(;++l<d;){var y=t[l],b=e?e(y):y;if(y=n||0!==y?y:0,f&&b==b){for(var m=h.length;m--;)if(h[m]===b)continue t;e&&h.push(b),p.push(y)}else u(h,b,n)||(h!==p&&h.push(b),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),i=n(726),o=n(7801),a=n(7010);t.exports=function(t,e){return r(t)?t:i(t,e)?[t]:o(a(t))}},522:function(t,e,n){var r=n(1995);t.exports=function(t,e){if(t!==e){var n=void 0!==t,i=null===t,o=t==t,a=r(t),s=void 0!==e,c=null===e,l=e==e,u=r(e);if(!c&&!u&&!a&&t>e||a&&s&&l&&!c&&!u||i&&s&&l||!n&&l||!o)return 1;if(!i&&!a&&!u&&t<e||u&&n&&o&&!i&&!a||c&&n&&o||!s&&o||!l)return-1}return 0}},9409:function(t,e,n){var r=n(522);t.exports=function(t,e,n){for(var i=-1,o=t.criteria,a=e.criteria,s=o.length,c=n.length;++i<s;){var l=r(o[i],a[i]);if(l)return i>=c?l:l*("desc"==n[i]?-1:1)}return t.index-e.index}},5659:function(t,e,n){var r=n(6649),i=n(4508),o=n(3472),a=n(163);t.exports=function(t,e){return function(n,s){var c=a(n)?r:i,l=e?e():{};return c(n,t,o(s,2),l)}}},2507:function(t,e,n){var r=n(7805),i=n(8286),o=n(9139);t.exports=function(t){return function(e,n,a){return a&&"number"!=typeof a&&i(e,n,a)&&(n=a=void 0),e=o(e),void 0===n?(n=e,e=0):n=o(n),a=void 0===a?e<n?1:-1:o(a),r(e,n,a,t)}}},6602:function(t){t.exports=function(){}},5525:function(t,e,n){var r=n(3743),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},8705:function(t,e,n){var r=n(3273),i=n(1634),o=n(9914);t.exports=function(t,e,n,a,s,c){var l=1&n,u=t.length,d=e.length;if(u!=d&&!(l&&d>u))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<u;){var b=t[h],m=e[h];if(a)var v=l?a(m,b,h,e,t,c):a(b,m,h,t,e,c);if(void 0!==v){if(v)continue;g=!1;break}if(y){if(!i(e,(function(t,e){if(!o(y,e)&&(b===t||s(b,t,n,a,c)))return y.push(e)}))){g=!1;break}}else if(b!==m&&!s(b,m,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),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,o,a,s){var c=1&n,l=r(t),u=l.length;if(u!=r(e).length&&!c)return!1;for(var d=u;d--;){var f=l[d];if(!(c?f in e:i.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<u;){var b=t[f=l[d]],m=e[f];if(o)var v=c?o(m,b,f,e,t,s):o(b,m,f,t,e,s);if(!(void 0===v?b===m||a(b,m,n,o,s):v)){g=!1;break}y||(y="constructor"==f)}if(g&&!y){var x=t.constructor,k=e.constructor;x==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof k&&k instanceof k||(g=!1)}return s.delete(t),s.delete(e),g}},5557:function(t,e,n){var r=n(2645),i=n(4280),o=n(201);t.exports=function(t){return o(i(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),i=n(7747);t.exports=function(t){for(var e=i(t),n=e.length;n--;){var o=e[n],a=t[o];e[n]=[o,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),i=n(5075),o=n(163),a=n(9099),s=n(8454),c=n(3110);t.exports=function(t,e,n){for(var l=-1,u=(e=r(e,t)).length,d=!1;++l<u;){var f=c(e[l]);if(!(d=null!=t&&n(t,f)))break;t=t[f]}return d||++l!=u?d:!!(u=null==t?0:t.length)&&s(u)&&a(f,u)&&(o(t)||i(t))}},3608:function(t,e,n){var r=n(2596),i=n(5075),o=n(163),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(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),i=n(1995),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\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&&!i(t))||a.test(t)||!o.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),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():i.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__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][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),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),c=Array(s);++a<s;)c[a]=o[e+a];a=-1;for(var l=Array(e+1);++a<e;)l[a]=o[a];return l[e]=n(c),r(t,this,l)}}},2373:function(t,e,n){var r=n(2117),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},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),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,n,r,i){e.push(r?i.replace(o,"$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),i=n(788),o=n(8286),a=n(8855),s=Object.prototype,c=s.hasOwnProperty,l=r((function(t,e){t=Object(t);var n=-1,r=e.length,l=r>2?e[2]:void 0;for(l&&o(e[0],e[1],l)&&(r=1);++n<r;)for(var u=e[n],d=a(u),f=-1,p=d.length;++f<p;){var h=d[f],g=t[h];(void 0===g||i(g,s[h])&&!c.call(t,h))&&(t[h]=u[h])}return t}));t.exports=l},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 i=null==t?void 0:r(t,e);return void 0===i?n:i}},9056:function(t,e,n){var r=n(8347),i=n(5659),o=Object.prototype.hasOwnProperty,a=i((function(t,e,n){o.call(t,n)?t[n].push(e):r(t,n,[e])}));t.exports=a},5066:function(t,e,n){var r=n(6776),i=n(3096);t.exports=function(t,e){return null!=t&&i(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),i=n(8454);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},4801:function(t){t.exports=function(){return!1}},4155:function(t,e,n){var r=n(7190),i=n(9667),o=n(5075),a=n(163),s=n(981),c=n(4801),l=n(5782),u=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)||u(t)||o(t)))return!t.length;var e=i(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(l(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),i=n(7709);t.exports=function(t){if(!i(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),i=n(9817),o=n(3474),a=Function.prototype,s=Object.prototype,c=a.toString,l=s.hasOwnProperty,u=c.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var e=i(t);if(null===e)return!0;var n=l.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==u}},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 i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},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),i=n(6051),o=n(4912);t.exports=function(t,e){return o(t,i(r(e)))}},4143:function(t,e,n){var r=n(8245),i=n(163);t.exports=function(t,e,n,o){return null==t?[]:(i(e)||(e=null==e?[]:[e]),i(n=o?void 0:n)||(n=null==n?[]:[n]),r(t,e,n))}},9082:function(t,e,n){var r=n(5436),i=n(5557)((function(t,e){return null==t?{}:r(t,e)}));t.exports=i},4912:function(t,e,n){var r=n(8644),i=n(3472),o=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=i(e),o(t,n,(function(t,n){return e(t,n[0])}))}},8532:function(t,e,n){var r=n(1600),i=n(3301),o=n(726),a=n(3110);t.exports=function(t){return o(t)?r(a(t)):i(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),i=0;t.exports=function(t){var e=++i;return r(t)+e}},7491:function(t){var e="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(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,l,u;if(Array.isArray(t)){if((s=t.length)!=a.length)return!1;for(c=s;0!=c--;)if(!o(t[c],a[c]))return!1;return!0}if(n&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(u=t.entries();!(c=u.next()).done;)if(!a.has(c.value[0]))return!1;for(u=t.entries();!(c=u.next()).done;)if(!o(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(u=t.entries();!(c=u.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(i&&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=(l=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(c=s;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,l[c]))return!1;if(e&&t instanceof Element)return!1;for(c=s;0!=c--;)if(("_owner"!==l[c]&&"__v"!==l[c]&&"__o"!==l[c]||!t.$$typeof)&&!o(t[l[c]],a[l[c]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,e){try{return o(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 i=n[t];if(void 0!==i)return i.exports;var o=n[t]={exports:{}};return e[t](o,o.exports,r),o.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 i={};return function(){"use strict";r.r(i),r.d(i,{VictoryLegend:function(){return zi}});var t={};r.r(t),r.d(t,{circle:function(){return be},cross:function(){return we},diamond:function(){return ve},minus:function(){return Oe},plus:function(){return Ee},square:function(){return me},star:function(){return je},triangleDown:function(){return xe},triangleUp:function(){return ke}});var e={};r.r(e),r.d(e,{easeBack:function(){return Sn},easeBackIn:function(){return jn},easeBackInOut:function(){return Sn},easeBackOut:function(){return An},easeBounce:function(){return En},easeBounceIn:function(){return kn},easeBounceInOut:function(){return wn},easeBounceOut:function(){return En},easeCircle:function(){return vn},easeCircleIn:function(){return bn},easeCircleInOut:function(){return vn},easeCircleOut:function(){return mn},easeCubic:function(){return rn},easeCubicIn:function(){return en},easeCubicInOut:function(){return rn},easeCubicOut:function(){return nn},easeElastic:function(){return Mn},easeElasticIn:function(){return $n},easeElasticInOut:function(){return Pn},easeElasticOut:function(){return Mn},easeExp:function(){return yn},easeExpIn:function(){return hn},easeExpInOut:function(){return yn},easeExpOut:function(){return gn},easeLinear:function(){return Ye},easePoly:function(){return sn},easePolyIn:function(){return on},easePolyInOut:function(){return sn},easePolyOut:function(){return an},easeQuad:function(){return tn},easeQuadIn:function(){return Xe},easeQuadInOut:function(){return tn},easeQuadOut:function(){return Je},easeSin:function(){return fn},easeSinIn:function(){return un},easeSinInOut:function(){return fn},easeSinOut:function(){return dn}});var n=r(9787),o=r.n(n),a=r(8825),s=r.n(a),c=r(9056),l=r.n(c),u=r(1893),d=r.n(u);const f=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],p="#252525",h="#969696",g={width:450,height:300,padding:50,colorScale:f},y={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:p,stroke:"transparent"},b=Object.assign({textAnchor:"middle"},y),m={palette:{colors:{blue:"#4F7DA1",pink:"#E2A37F",teal:"#00796B",purple:"#DF948A",green:"#8BC34A",orange:"#F4511E",cyan:"#006064",red:"#DF5A49",yellow:"#FFF59D"},grayscale:f,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"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"]},area:Object.assign({style:{data:{fill:p},labels:y}},g),axis:Object.assign({style:{axis:{fill:"transparent",stroke:p,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},b,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:y}},g),bar:Object.assign({style:{data:{fill:p,padding:8,strokeWidth:0},labels:y}},g),boxplot:Object.assign({style:{max:{padding:8,stroke:p,strokeWidth:1},maxLabels:Object.assign({},y,{padding:3}),median:{padding:8,stroke:p,strokeWidth:1},medianLabels:Object.assign({},y,{padding:3}),min:{padding:8,stroke:p,strokeWidth:1},minLabels:Object.assign({},y,{padding:3}),q1:{padding:8,fill:h},q1Labels:Object.assign({},y,{padding:3}),q3:{padding:8,fill:h},q3Labels:Object.assign({},y,{padding:3})},boxWidth:20},g),candlestick:Object.assign({style:{data:{stroke:p,strokeWidth:1},labels:Object.assign({},y,{padding:5})},candleColors:{positive:"#ffffff",negative:p}},g),chart:g,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:p,strokeWidth:2},labels:y}},g),group:Object.assign({colorScale:f},g),histogram:Object.assign({style:{data:{fill:h,stroke:p,strokeWidth:2},labels:y}},g),legend:{colorScale:f,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:y,title:Object.assign({},y,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:p,strokeWidth:2},labels:y}},g),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},y,{padding:20})},colorScale:f,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:p,stroke:"transparent",strokeWidth:0},labels:y}},g),stack:Object.assign({colorScale:f},g),tooltip:{style:Object.assign({},y,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:p,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({},y,{padding:5,pointerEvents:"none"}),flyout:{stroke:p,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},g)},v="#FFF59D",x="#F4511E",k="#8BC34A",E="#00796B",w="#006064",O=[x,v,"#DCE775",k,E,w],j="#ECEFF1",A="#90A4AE",S="#455A64",C="#212121",$={blue:"#4F7DA1",pink:"#E2A37F",teal:E,purple:"#DF948A",green:k,orange:x,cyan:w,red:"#DF5A49",yellow:v},M=[j,A,S,C],P={width:350,height:350,padding:50},F={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:S,stroke:"transparent",strokeWidth:0},L=Object.assign({textAnchor:"middle"},F),z="round",D="round",W={palette:{colors:$,grayscale:M,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"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"]},area:Object.assign({style:{data:{fill:C},labels:F}},P),axis:Object.assign({style:{axis:{fill:"transparent",stroke:A,strokeWidth:2,strokeLinecap:z,strokeLinejoin:D},axisLabel:Object.assign({},L,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:j,strokeDasharray:"10, 5",strokeLinecap:z,strokeLinejoin:D,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:A,strokeWidth:1,strokeLinecap:z,strokeLinejoin:D},tickLabels:Object.assign({},F,{fill:S})}},P),polarDependentAxis:Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:Object.assign({style:{data:{fill:S,padding:8,strokeWidth:0},labels:F}},P),boxplot:Object.assign({style:{max:{padding:8,stroke:S,strokeWidth:1},maxLabels:Object.assign({},F,{padding:3}),median:{padding:8,stroke:S,strokeWidth:1},medianLabels:Object.assign({},F,{padding:3}),min:{padding:8,stroke:S,strokeWidth:1},minLabels:Object.assign({},F,{padding:3}),q1:{padding:8,fill:S},q1Labels:Object.assign({},F,{padding:3}),q3:{padding:8,fill:S},q3Labels:Object.assign({},F,{padding:3})},boxWidth:20},P),candlestick:Object.assign({style:{data:{stroke:S},labels:Object.assign({},F,{padding:5})},candleColors:{positive:"#ffffff",negative:S}},P),chart:P,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:S,strokeWidth:2},labels:F}},P),group:Object.assign({colorScale:O},P),histogram:Object.assign({style:{data:{fill:S,stroke:C,strokeWidth:2},labels:F}},P),legend:{colorScale:O,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:F,title:Object.assign({},F,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:S,strokeWidth:2},labels:F}},P),pie:Object.assign({colorScale:O,style:{data:{padding:8,stroke:j,strokeWidth:1},labels:Object.assign({},F,{padding:20})}},P),scatter:Object.assign({style:{data:{fill:S,opacity:1,stroke:"transparent",strokeWidth:0},labels:F}},P),stack:Object.assign({colorScale:O},P),tooltip:{style:Object.assign({},F,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:C,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({},F,{padding:5,pointerEvents:"none"}),flyout:{stroke:C,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},P)},I="#FFFFFF",B="#F2F2F2",_="#E0E0E0",N="#D1D1D1",T="#757575",H="#424242",R="#292929",q="#FCB400",G="#FF6F2C",K={100:"#FFDCE5",300:"#FF9EB7",500:"#F82B60",700:"#D31A3D",900:"#BA1E45"},V="#8B46FF",U={100:"#CFDFFF",300:"#9CC7FF",500:"#2D7FF9",700:"#0056B3",900:"#2750AE"},Q="#18BFFF",Z="#20D9D2",Y={100:"#D1F7C4",300:"#93E088",500:"#20C933",700:"#1B9B2A",900:"#338A17"},X={blue:U[500],cyan:Q,green:Y[500],yellow:q,orange:G,red:K[500],purple:V,teal:Z},J=Object.values(X),tt=[B,_,T,H,R],et=["#FFD66E",q,G,"#D74D26",K[500]],nt=[V,U[500],Q,Z,Y[500]],rt=[Y[900],Y[500],q,G,K[500]],it=Object.values(K),ot=Object.values(Y),at=Object.values(U),st=U[500],ct={width:450,height:300,padding:60,colorScale:J},lt={fontFamily:"'Inter', 'Helvetica Neue', 'Seravek', 'Helvetica', sans-serif",fontSize:12,fontWeight:300,letterSpacing:"normal",padding:8,fill:R,stroke:"transparent"},ut=Object.assign({textAnchor:"middle"},lt),dt="10, 5",ft="round",pt="round",ht={grayscale:m,material:W,clean:{palette:{colors:X,grayscale:tt,qualitative:J,heatmap:rt,warm:et,cool:nt,red:it,green:ot,blue:at},area:Object.assign({style:{data:{fill:st,strokeWidth:2,fillOpacity:.5},labels:lt}},ct),axis:Object.assign({style:{axis:{fill:"transparent",stroke:T,strokeWidth:1,strokeLinecap:ft,strokeLinejoin:pt},axisLabel:Object.assign({},ut,{padding:35,stroke:"transparent"}),grid:{fill:"none",stroke:"none",painterEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:"transparent"},tickLabels:lt}},ct),polarAxis:Object.assign({style:{axis:{stroke:T},grid:{stroke:N,strokeDasharray:dt,strokeLinecap:ft,strokeLinejoin:pt,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:N,strokeWidth:1,strokeLinecap:ft,strokeLinejoin:pt},tickLabels:lt}}),polarDependentAxis:Object.assign({style:{axis:{stroke:T},grid:{stroke:N,strokeDasharray:dt,strokeLinecap:ft,strokeLinejoin:pt,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:_,strokeWidth:1,strokeLinecap:ft,strokeLinejoin:pt},tickLabels:lt}}),bar:Object.assign({style:{data:{fill:st,padding:8,strokeWidth:1,fillOpacity:.5},labels:lt},cornerRadius:{top:1}},ct),boxplot:Object.assign({style:{max:{padding:8,stroke:N,strokeWidth:2},maxLabels:Object.assign({},lt,{padding:3}),median:{padding:8,stroke:I,strokeWidth:2},medianLabels:Object.assign({},lt,{padding:3}),min:{padding:8,stroke:N,strokeWidth:2},minLabels:Object.assign({},lt,{padding:3}),q1:{padding:8,fill:J[0],rx:1,strokeWidth:2},q1Labels:Object.assign({},lt,{padding:3}),q3:{padding:8,fill:J[1],rx:1},q3Labels:Object.assign({},lt,{padding:3})},boxWidth:20},ct),candlestick:Object.assign({style:{data:{stroke:_,strokeWidth:0,rx:1},labels:Object.assign({},lt,{padding:5})},candleColors:{positive:Y[500],negative:K[500]},wickStrokeWidth:2},ct),chart:ct,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:H,strokeWidth:2,strokeLinecap:ft},labels:lt}},ct),group:Object.assign({colorScale:J},ct),histogram:Object.assign({style:{data:{fill:Q,fillOpacity:.5},labels:lt},binSpacing:4,cornerRadius:{top:1}},ct),label:lt,legend:{colorScale:J,gutter:24,borderPadding:10,orientation:"horizontal",titleOrientation:"top",centerTitle:!0,style:{data:{type:"circle"},labels:{...lt,fontSize:12},title:Object.assign({},lt,{padding:8,fontSize:16}),border:{stroke:"#E8E8E8",strokeWidth:2,padding:16}}},line:Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:st,strokeWidth:2,strokeLinecap:ft,strokeLinejoin:pt},labels:lt}},ct),pie:Object.assign({style:{parent:{backgroundColor:I},data:{padding:8,stroke:I,strokeWidth:1},labels:{...lt,padding:20,fill:"#5C5C5C",fontSize:10}},colorScale:J,cornerRadius:1},ct),scatter:Object.assign({style:{data:{fill:st,opacity:1,stroke:"transparent",strokeWidth:0},labels:{...lt,padding:20}}},ct),stack:Object.assign({colorScale:J},ct),tooltip:{style:Object.assign({},lt,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:_,strokeWidth:2,fill:I,pointerEvents:"none"},flyoutPadding:{top:8,bottom:8,left:16,right:16},cornerRadius:1,pointerLength:4},voronoi:Object.assign({style:{data:{fill:U[100],stroke:st,strokeWidth:2},labels:Object.assign({},lt,{padding:5,pointerEvents:"none"}),flyout:{stroke:R,strokeWidth:1,fill:B,pointerEvents:"none"},padding:{left:2,bottom:2}}},ct)}},gt=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,gt(e)].join(" ")),gt(t)).trim();if(null==t||"string"==typeof t)return t;const i=[];for(const e in t)if(t.hasOwnProperty(e)){const n=t[e];i.push(`${e}(${n})`)}return i.join(" ").trim()};var yt=r(9082),bt=r.n(yt);function mt(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 vt(t){const e=t=>void 0!==t,{_x:n,_x1:r,_x0:i,_voronoiX:o,_y:a,_y1:s,_y0:c,_voronoiY:l}=t,u=e(r)?r:n,f=e(s)?s:a,p={x:e(o)?o:u,x0:e(i)?i:n,y:e(l)?l:f,y0:e(c)?c:a};return d()({},p,t)}function xt(t,e){void 0===e&&(e="padding");const n=t[e],r="number"==typeof n?n:0,i="object"==typeof n?n:{};return{top:i.top||r,bottom:i.bottom||r,left:i.left||r,right:i.right||r}}function kt(t,e){return At(t)?t(e):t}function Et(t,e){return e.disableInlineStyles?{}:t&&Object.keys(t).some((e=>At(t[e])))?Object.keys(t).reduce(((n,r)=>(n[r]=kt(t[r],e),n)),{}):t}function wt(t){return"number"==typeof t?t*(Math.PI/180):t}function Ot(t){const{left:e,right:n,top:r,bottom:i}=xt(t),{width:o,height:a}=t;return Math.min(o-e-n,a-r-i)/2}function jt(t){return null==t}function At(t){return"function"==typeof t}function St(t,e,n){const r=mt(t.theme&&t.theme[n]?t.theme[n]:{},["style"]),i=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(o().Children.toArray(r.children))}),!1);return e(o().Children.toArray(t.children))}(t),a=void 0===i?{}:{horizontal:i};return d()(a,t,r,e)}r(8532);var Ct=r(1594),$t=r.n(Ct);const Mt={"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},Inter:{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,.2890625,.4671875,.634375,.6421875,.9828125,.6453125,.3,.365625,.365625,.5015625,.6625,.2890625,.4609375,.2890625,.3609375,.63125,.4078125,.6109375,.61875,.646875,.59375,.6203125,.5671875,.61875,.6203125,.2890625,.303125,.6625,.6625,.6625,.5125,.9671875,.690625,.6546875,.73125,.721875,.6015625,.590625,.746875,.74375,.26875,.571875,.671875,.565625,.9046875,.7546875,.765625,.6390625,.765625,.64375,.6421875,.646875,.7453125,.690625,.9859375,.6828125,.6796875,.6296875,.365625,.3609375,.365625,.471875,.45625,.3234375,.5625,.6125,.571875,.6125,.584375,.3703125,.6140625,.5921875,.2421875,.2548828125,.55,.2421875,.8765625,.5921875,.6,.6125,.6125,.3765625,.528125,.328125,.5921875,.5625,.81875,.546875,.5625,.553125,.4265625,.3328125,.4265625,.6625],avg:.5624362664473683},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}},Pt={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},Ft={em:1,ex:.5},Lt={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},zt=t=>Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g),Dt=(t,e,n)=>{const r=(t=>t*Math.PI/180)(n);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*e)},Wt=(t,e)=>{const n=t.match(/[a-zA-Z%]+/)?.[0],r=Number(t.match(/[0-9.,]+/));let i;return i=n?Pt.hasOwnProperty(n)?r*Pt[n]:Ft.hasOwnProperty(n)?(e?r*e:r*Lt.fontSize)*Ft[n]:r:r||0,i},It=(t,e)=>{const n=Array.isArray(t)?t[e]:t,r=d()({},n,Lt);return Object.assign({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:Wt(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:Wt(String(r.fontSize))})},Bt=(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:zt(t).reduce(((t,n,r)=>{const i=It(e,r),o=n.toString().match(/[(A-Z)(0-9)]/)?1.15*i.fontSize:i.fontSize;return t+i.lineHeight*o}),0))(t,e),i=((t,e)=>{if(void 0===t||""===t||null===t)return 0;const n=zt(t).map(((t,n)=>{const r=t.toString().length,{fontSize:i,letterSpacing:o,fontFamily:a}=It(e,n),s=(t=>{const e=t.split(",").map((t=>t.replace(/'|"/g,""))).find((t=>Mt[t]))||"Helvetica";return Mt[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)*i+o*Math.max(r-1,0)}));return Math.max(...n)})(t,e);return{width:n?Dt(i,r,n):i,height:1.05*(n?Dt(r,i,n):r)}},_t=$t()((()=>{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})),Nt=t=>t?`${t.angle}:${t.fontFamily}:${t.fontSize}:${t.letterSpacing}:${t.lineHeight}`:"null",Tt=$t()(((t,e)=>{let n=_t();n.isConnected||(_t.cache.clear?.(),n=_t());const r=zt(t);let i=0;for(const[t,o]of r.entries()){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan"),a=It(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=o,r.setAttribute("x","0"),r.setAttribute("y",`${i}`),n.appendChild(r),i+=a.lineHeight*r.getBoundingClientRect().height}const{width:o}=n.getBoundingClientRect();return n.innerHTML="",{width:e?.angle?Dt(o,i,e?.angle):o,height:e?.angle?Dt(i,o,e?.angle):i}}),((t,e)=>`${Array.isArray(t)?t.join():t}::${Array.isArray(e)?e.map(Nt).join():Nt(e)}`)),Ht=(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?Bt(t,e):Tt(t,e)}(t,e),Rt=t=>{const{data:e,style:n}=t;return e.map(((t,r)=>Et(d()({},t.labels,n.labels),{datum:t,index:r,data:e})))},qt=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:{}),i=(t=>{const{colorScale:e,theme:n}=t;return"string"==typeof e?function(t,e){void 0===e&&(e=ht.material);const{palette:{grayscale:n=["#cccccc","#969696","#636363","#252525"],qualitative:r=[],heatmap:i=[],warm:o=[],cool:a=[],red:s=[],blue:c=[],green:l=[]}={}}=e,u={grayscale:n,qualitative:r,heatmap:i,warm:o,cool:a,red:s,blue:c,green:l};return t&&u[t]?.length?u[t]:u.grayscale}(e,n):e||[]})(t),o="horizontal"===e,a=xt({padding:t.borderPadding});return Object.assign({},t,{style:r,isHorizontal:o,colorScale:i,borderPadding:a})},Gt=(t,e)=>{const{itemsPerRow:n,isHorizontal:r}=t;return n?r?e%n:Math.floor(e/n):r?e:0},Kt=(t,e)=>{const{itemsPerRow:n,isHorizontal:r}=t;return n?r?Math.floor(e/n):e%n:r?0:e},Vt=t=>{const{data:e}=t,n=t.style&&t.style.data||{},r=Rt(t);return e.map(((e,i)=>{const o=e.symbol||{},{fontSize:a}=r[i],s=o.size||n.size||a/2.5,c=t.symbolSpacer||Math.max(s,a);return{...e,size:s,symbolSpacer:c,fontSize:a,textSize:Ht(e.name,r[i]),column:Gt(t,i),row:Kt(t,i)}}))},Ut=(t,e)=>{const n=t.gutter||{},r="object"==typeof n?(n.left||0)+(n.right||0):n||0,i=l()(e,"column");return Object.keys(i).reduce(((t,e,n)=>{const o=i[e].map((t=>t.textSize.width+t.size+t.symbolSpacer+r));return t[n]=Math.max(...o),t}),[])},Qt=(t,e)=>{const n=t.rowGutter||{},r="object"==typeof n?(n.top||0)+(n.bottom||0):n||0,i=l()(e,"row");return Object.keys(i).reduce(((t,e,n)=>{const o=i[e].map((t=>t.textSize.height+t.symbolSpacer+r));return t[n]=Math.max(...o),t}),[])},Zt=t=>{const e=t.style&&t.style.title||{},n=Ht(t.title,e),r=e.padding||0;return{height:n.height+2*r||0,width:n.width+2*r||0}},Yt=(t,e)=>{const n=St(t,e,"legend"),r=Object.assign({},n,qt(n)),{title:i,titleOrientation:o}=r,a=Vt(r),s=Ut(r,a),c=Qt(r,a),l=i?Zt(r):{height:0,width:0};return{height:"left"===o||"right"===o?Math.max(Jt(c),l.height):Jt(c)+l.height,width:"left"===o||"right"===o?Jt(s)+l.width:Math.max(Jt(s),l.width)}},Xt=(t,e)=>{const n=St(t,e,"legend"),r=Object.assign({},n,qt(n)),{data:i,standalone:o,theme:a,padding:c,style:l,colorScale:u,gutter:f,rowGutter:p,borderPadding:h,title:g,titleOrientation:y,name:b,x:m=0,y:v=0}=r,x=Vt(r),k=Ut(r,x),E=Qt(r,x),w=Rt(r),O=g?Zt(r):{height:0,width:0},j="left"===y?O.width:0,A="top"===y?O.height:0,S=f&&"object"==typeof f&&f.left||0,C=p&&"object"==typeof p&&p.top||0,{height:$,width:M}=Yt(r,e),P=((t,e,n)=>{const{x:r,y:i,borderPadding:o,style:a}=t;return{x:r,y:i,height:(e||0)+o.top+o.bottom,width:(n||0)+o.left+o.right,style:Object.assign({fill:"none"},a.border)}})(r,$,M),F=((t,e)=>{const{title:n,titleOrientation:r,centerTitle:i,borderPadding:o}=t,{height:a,width:s}=e,c=(t=>{const{titleOrientation:e,centerTitle:n,titleComponent:r}=t,i=t.style&&t.style.title||{},o=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(o)?o.map((t=>d()({},t,i,a))):d()({},o,i,a)})(t),l=Array.isArray(c)?c[0].padding:c.padding,u="top"===r||"bottom"===r,f="right"===r?"right":"left",p={x:i?s/2:o["bottom"===r?"bottom":"top"]+(l||0),y:i?a/2:o[f]+(l||0)},h=()=>o[r]+(l||0),g=u?p.x:h(),y=u?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,P),L={parent:{data:i,standalone:o,theme:a,padding:c,name:b,height:r.height,width:r.width,style:l.parent},all:{border:P,title:F}};return x.reduce(((t,e,n)=>{const r=u[n%u.length],o=d()({},e.symbol,l.data,{fill:r}),a=jt(e.eventKey)?n:e.eventKey,c=((t,e,n)=>{const{column:r,row:i}=t;return{x:s()(r).reduce(((t,e)=>t+n[e]),0),y:s()(i).reduce(((t,n)=>t+e[n]),0)}})(e,E,k),f=v+h.top+e.symbolSpacer,p=m+h.left+e.symbolSpacer,g={index:n,data:i,datum:e,symbol:o.type||o.symbol||"circle",size:e.size,style:o,y:f+c.y+A+C,x:p+c.x+j+S},y={datum:e,data:i,text:e.name,style:w[n],y:g.y,x:g.x+e.symbolSpacer+e.size/2};return t[a]={data:g,labels:y},t}),L)};function Jt(t){if(t&&t.length){let e=0;for(let n=0;n<t.length;n++)e+=t[n];return e}return 0}function te(){return te=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},te.apply(this,arguments)}const ee=(0,n.forwardRef)(((t,e)=>{const{desc:n,id:r,tabIndex:i,origin:a,...s}=t,c={vectorEffect:"non-scaling-stroke",id:kt(r,t)?.toString(),tabIndex:kt(i,t),...s};return n?o().createElement("rect",te({},c,{ref:e}),o().createElement("desc",null,n)):o().createElement("rect",te({},c,{ref:e}))})),ne={rectComponent:o().createElement(ee,null),role:"presentation",shapeRendering:"auto"},re=t=>{const e=(t=>{const e=kt(t.ariaLabel,t),n=kt(t.desc,t),r=kt(t.id,t),i=Et(Object.assign({fill:"none"},t.style),t),o=kt(t.tabIndex,t);return Object.assign({},t,{ariaLabel:e,desc:n,id:r,style:i,tabIndex:o})})(d()({},t,ne));return o().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 ie=r(660),oe=r.n(ie);function ae(){return ae=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},ae.apply(this,arguments)}const se=o().forwardRef(((t,e)=>o().createElement("svg",ae({ref:e},t)))),ce={startsWith:["data-","aria-"],exactMatch:[]},le=t=>{const e={...t};return Object.fromEntries(Object.entries(e).filter((t=>{let[e]=t;return(t=>!(!(t=>{let e=!1;return ce.startsWith.forEach((n=>{new RegExp(`\\b(${n})(\\w|-)+`,"g").test(t)&&(e=!0)})),e})(t)&&!(t=>ce.exactMatch.includes(t))(t)))(e)})).map((e=>{let[n,r]=e;return[n,kt(r,t)]})))},ue=o().createContext(void 0);ue.displayName="PortalContext";const de=()=>o().useContext(ue),fe=t=>{let{children:e}=t;const[n,r]=o().useState(new Map),i=o().useCallback(((t,e)=>{r((n=>{const r=new Map(n);return r.set(t,e),r}))}),[r]),a=o().useCallback((t=>{r((e=>{const n=new Map(e);return n.delete(t),n}))}),[r]),s=o().useMemo((()=>({addChild:i,removeChild:a,children:n})),[i,a,n]);return o().createElement(ue.Provider,{value:s},e)},pe=t=>{let{as:e,...n}=t;const r=de();if(!r)return null;const i=Array.from(r.children.values());return o().cloneElement(e,n,i)};function he(){return he=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},he.apply(this,arguments)}const ge={className:"VictoryContainer",portalComponent:o().createElement(se,null),portalZIndex:99,responsive:!0,role:"img"},ye=t=>{const{role:e,title:r,desc:i,children:a,className:s,portalZIndex:c,portalComponent:l,width:u,height:d,style:f,tabIndex:p,responsive:h,events:g,ouiaId:y,ouiaSafe:b,ouiaType:m,dimensions:v,ariaDescribedBy:x,ariaLabelledBy:k,viewBox:E,preserveAspectRatio:w,userProps:O,titleId:j,descId:A,containerRef:S,localContainerRef:C}=function(t){const e={...ge,...t},{title:r,desc:i,width:o,height:a,responsive:s}=e,c=(0,n.useRef)(null),l=(0,n.useRef)(oe()("victory-container-")),u=e.containerId??l.current,d=t=>`${u}-${t}`,f=le(e),p=s?{width:"100%",height:"100%"}:{width:o,height:a},h=s?`0 0 ${o} ${a}`:void 0,g=s?e.preserveAspectRatio:void 0,y=[r&&d("title"),e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,b=[i&&d("desc"),e["aria-describedby"]].filter(Boolean).join(" ")||void 0,m=d("title"),v=d("desc");return{...e,titleId:m,descId:v,dimensions:p,viewBox:h,preserveAspectRatio:g,ariaLabelledBy:y,ariaDescribedBy:b,userProps:f,localContainerRef:c}}(t);return o().useEffect((()=>{if(!g?.onWheel)return;const t=t=>t.preventDefault(),e=C?.current;return e?.addEventListener("wheel",t),()=>{e?.removeEventListener("wheel",t)}}),[]),o().createElement("div",{className:s,style:{...f,width:h?f?.width:v.width,height:h?f?.height:v.height,pointerEvents:"none",touchAction:"none",position:"relative"},"data-ouia-component-id":y,"data-ouia-component-type":m,"data-ouia-safe":b,ref:($=[C,S],t=>{$.forEach((e=>{At(e)?e(t):null!=e&&(e.current=t)}))})},o().createElement(fe,null,o().createElement("svg",he({width:u,height:d,tabIndex:p,role:e,"aria-labelledby":k,"aria-describedby":x,viewBox:E,preserveAspectRatio:w,style:{...v,pointerEvents:"all"}},O,g),r?o().createElement("title",{id:j},r):null,i?o().createElement("desc",{id:A},i):null,a),o().createElement("div",{style:{...v,zIndex:c,position:"absolute",top:0,left:0}},o().createElement(pe,{as:l,width:u,height:d,viewBox:E,preserveAspectRatio:w,style:{...v,overflow:"visible"}}))));var $};function be(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 me(t,e,n){const r=.87*n,i=t-r,o=t+r-i;return`M ${i}, ${e+r}\n h${o}\n v-${o}\n h-${o}\n z`}function ve(t,e,n){const r=.87*n,i=Math.sqrt(r*r*2);return`M ${t}, ${e+i}\n l ${i}, -${i}\n l -${i}, -${i}\n l -${i}, ${i}\n l ${i}, ${i}\n z`}function xe(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 ke(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 Ee(t,e,n){const r=1.1*n,i=r/1.5;return`\n M ${t-i/2}, ${e+r}\n v-${i}\n h-${i}\n v-${i}\n h${i}\n v-${i}\n h${i}\n v${i}\n h${i}\n v${i}\n h-${i}\n v${i}\n z`}function we(t,e,n){const r=.8*n,i=r/1.5;return`\n M ${t-i/2}, ${e+r+i}\n v-${2*i}\n h-${i}\n v-${i}\n h${i}\n v-${i}\n h${i}\n v${i}\n h${i}\n v${i}\n h-${i}\n v${2*i}\n z`}function Oe(t,e,n){const r=1.1*n,i=r-.3*r,o=t-r,a=t+r-o;return`M ${o}, ${e+i/2}\n h${a}\n v-${i}\n h-${a}\n z`}function je(t,e,n){const r=1.35*n,i=Math.PI/5;return`M ${function(t,e,n){let r=10;r||(r=0);const i=r-0,o=Math.abs(i),a=i/o||1,s=Math.max(Math.ceil(o/1),0);return Array.from(Array(s),((t,e)=>0+e*a*1))}().map((n=>{const o=n%2==0?r:r/2;return`${o*Math.sin(i*(n+1))+t},\n ${o*Math.cos(i*(n+1))+e}`})).join("L")} z`}function Ae(){return Ae=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},Ae.apply(this,arguments)}ye.role="container";const Se=(0,n.forwardRef)(((t,e)=>{const{desc:n,id:r,tabIndex:i,origin:a,...s}=t,c={id:kt(r,t)?.toString(),tabIndex:kt(i,t),...s};return n?o().createElement("path",Ae({},c,{ref:e}),o().createElement("desc",null,n)):o().createElement("path",Ae({},c,{ref:e}))})),Ce=e=>{const{x:n,y:r,size:i,symbol:o}=e;return e.getPath?e.getPath(n,r,i):("function"==typeof t[o]?t[o]:t.circle)(n,r,i)},$e={pathComponent:o().createElement(Se,null),role:"presentation",shapeRendering:"auto"},Me=t=>{const e=(t=>{const e=kt(t.ariaLabel,t),n=kt(t.desc,t),r=kt(t.id,t),i=kt(t.size,t),o=Et(t.style,t),a=kt(t.symbol,t),s=kt(t.tabIndex,t);return Object.assign({},t,{ariaLabel:e,desc:n,id:r,size:i,style:o,symbol:a,tabIndex:s})})(d()({},t,$e)),n=le(e);return o().cloneElement(e.pathComponent,{...e.events,"aria-label":e.ariaLabel,d:Ce(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 Pe=r(4155),Fe=r.n(Pe);const Le={groupComponent:o().createElement("g",null)},ze=t=>{const e={...Le,...t},[r]=(0,n.useState)(oe()()),i=de(),a=Array.isArray(e.children)?e.children[0]:e.children,{groupComponent:s}=e,c=a&&a.props||{},l=c.groupComponent?{groupComponent:s,standalone:!1}:{},u=d()(l,c,mt(e,["children","groupComponent"]),{key:c.key??r}),f=a&&o().cloneElement(a,u);return o().useEffect((()=>{i?.addChild(r,f)}),[e.children]),o().useEffect((()=>()=>i?.removeChild(r)),[]),i?null:f};ze.role="portal";const De=t=>{const{children:e,desc:n,id:r,origin:i,tabIndex:a,title:s,...c}=t,l={id:kt(r,t)?.toString(),tabIndex:kt(a,t),...c};return o().createElement("text",l,s&&o().createElement("title",null,s),n&&o().createElement("desc",null,n),e)},We=t=>{const{desc:e,id:n,tabIndex:r,origin:i,...a}=t,s={id:kt(n,t)?.toString(),tabIndex:kt(r,t),...a};return o().createElement("tspan",s)};const Ie={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Ser­avek', 'Trebuchet MS', sans-serif",stroke:"transparent"},Be=(t,e)=>{if(!t.datum)return 0;const n=function(t,e){const{scale:n,polar:r,horizontal:i}=t,o=vt(e),a=t.origin||{x:0,y:0},s=i?n.y(o.y):n.x(o.x),c=i?n.y(o.y0):n.x(o.x0),l=i?n.x(o.x):n.y(o.y),u=i?n.x(o.x0):n.y(o.y0);return{x:r?l*Math.cos(s)+a.x:s,x0:r?u*Math.cos(c)+a.x:c,y:r?-l*Math.sin(s)+a.y:l,y0:r?-u*Math.sin(c)+a.x:u}}(t,t.datum);return n[e]},_e=t=>{const e=t&&t.fontSize;if("number"==typeof e)return e;if(null==e)return Ie.fontSize;if("string"==typeof e){const t=Number(e.replace("px",""));return isNaN(t)?Ie.fontSize:t}return Ie.fontSize},Ne=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)&&!Fe()(e)||Array.isArray(n)&&!Fe()(n)},He=(t,e,n)=>{const{polar:r}=t,i=Ne(t.style),o=r?function(t,e){const{labelPlacement:n,datum:r}=t;if(!n||"vertical"===n)return 0;const i=function(t,e){const{x:n}=vt(e);return("number"==typeof(r=t.scale.x(n))?r/(Math.PI/180):r)%360;var r}(t,r);let o=0;return 0===i||180===i?o=90:i>0&&i<180?o=90-i:i>180&&i<360&&(o=270-i),o+(i>90&&i<180||i>270?1:-1)*("perpendicular"===n?0:90)}(t):0,a=void 0===i.angle?kt(t.angle,t):i.angle,s=void 0===a?o:a,c=t.transform||i.transform,l=c&&kt(c,t);return l||s?gt(l,s&&{rotate:[s,e,n]}):void 0},Re=(t,e)=>{const{direction:n,textAnchor:r,x:i,dx:o}=t;if("rtl"===n)return i-e;switch(r){case"middle":return Math.round(i-e/2);case"end":return Math.round(i-e);default:return i+(o||0)}},qe=(t,e)=>{const{verticalAnchor:n,y:r,originalDy:i=0}=t,o=r+i;switch(n){case"start":return Math.floor(o);case"end":return Math.ceil(o-e);default:return Math.floor(o-e/2)}},Ge=(t,e)=>Te(t)?((t,e)=>{const{dy:n,dx:r,transform:i,backgroundStyle:a,backgroundPadding:s,backgroundComponent:c,inline:l,y:u}=t,f=e.map(((t,i)=>{const o=Ne(e,i-1),a=t.textSize,c=t.fontSize*t.lineHeight,d=Math.ceil(c),f=Ne(s,i),p=Ne(s,i-1),h=l&&r||0,g=i&&!l?o.fontSize*o.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:u,fontSize:t.fontSize,dy:g}}));return f.map(((e,n)=>{const r=Re(t,e.labelSize.width),p=f.slice(0,n+1).reduce(((t,e)=>t+e.dy),u),h=Ne(s,n),g=e.heightWithPadding,y=l?((t,e,n)=>{const{textAnchor:r}=t,i=e.map((t=>t.widthWithPadding)),o=-i.reduce(((t,e)=>t+e),0)/2;switch(r){case"start":return i.reduce(((t,e,r)=>r<n?t+e:t),0);case"end":return i.reduce(((t,e,r)=>r>n?t-e:t),0);default:return i.reduce(((t,e,r)=>r===n?t+e/2:t+(r<n?e:0)),o)}})(t,f,n)+r-h.left:r,b=l?qe(t,g)-h.top:p,m={key:`tspan-background-${n}`,height:g,style:Ne(a,n),width:e.widthWithPadding,transform:i,x:y-h.left,y:b};return o().cloneElement(c,d()({},c.props,m))}))})(t,e):((t,e)=>{const{dx:n=0,transform:r,backgroundComponent:i,backgroundStyle:a,inline:s,backgroundPadding:c,capHeight:l}=t,u=e.map((t=>t.textSize)),f=s?Math.max(...u.map((t=>t.height))):u.reduce(((t,n,r)=>{const i=r?0:l/2;return t+n.height*(e[r].lineHeight-i)}),0),p=s?u.reduce(((t,e,r)=>{const i=r?n:0;return t+e.width+i}),0):Math.max(...u.map((t=>t.width))),h=Re(t,p),g=qe(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 o().cloneElement(i,d()({},i.props,y))})(t,e),Ke=(t,e,n)=>{const{inline:r}=e,i=Ne(t,n);return n&&!r?((t,e,n)=>{const r=Ne(t,e),i=Ne(t,e-1),o=i.fontSize*i.lineHeight,a=r.fontSize*r.lineHeight,s=i.fontSize-i.capHeight,c=r.fontSize-r.capHeight,l=o-i.fontSize/2+r.fontSize/2-o/2+a/2-c/2+s/2;return Te(n)?l+r.backgroundPadding.top+i.backgroundPadding.bottom:l})(t,n,e):r?0===n?i.backgroundPadding.top:void 0:i.backgroundPadding.top},Ve={backgroundComponent:o().createElement(ee,null),groupComponent:o().createElement("g",null),direction:"inherit",textComponent:o().createElement(De,null),tspanComponent:o().createElement(We,null),capHeight:.71,lineHeight:1},Ue=t=>{const e=(t=>{const e=((t,e)=>{if(null==t)return;if(Array.isArray(t))return t.map((t=>kt(t,e)));const n=kt(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=Et(t,e);return{fontSize:_e(n)}}const n=t=>{const n=Et(t?d()({},t,Ie):Ie,e);return Object.assign({},n,{fontSize:_e(n)})};return Array.isArray(t)&&!Fe()(t)?t.map((t=>n(t))):n(t)})(t.style,Object.assign({},t,{text:e})),r=((t,e)=>{if(t)return Array.isArray(t)&&!Fe()(t)?t.map((t=>Et(t,e))):Et(t,e)})(t.backgroundStyle,Object.assign({},t,{text:e,style:n})),i=(t=>t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((e=>xt({padding:kt(e,t)}))):xt({padding:kt(t.backgroundPadding,t)}))(Object.assign({},t,{text:e,style:n,backgroundStyle:r})),o=kt(t.id,t);return Object.assign({},t,{backgroundStyle:r,backgroundPadding:i,style:n,text:e,id:o})})(d()({},t,Ve));if(null===e.text||void 0===e.text)return null;const n=(t=>{const e=kt(t.ariaLabel,t),n=Ne(t.style),r=(t=>{const e=kt(t.lineHeight,t);return Array.isArray(e)&&Fe()(e)?[1]:e})(t),i=t.direction?kt(t.direction,t):"inherit",o=t.textAnchor?kt(t.textAnchor,t):n.textAnchor||"start",a=t.verticalAnchor?kt(t.verticalAnchor,t):n.verticalAnchor||"middle",s=t.dx?kt(t.dx,t):0,c=((t,e,n)=>{const r=t.dy?kt(t.dy,t):0,i=t.inline?1:t.text.length,o=kt(t.capHeight,t),a=e?kt(e,t):"middle",s=[...Array(i).keys()].map((e=>Ne(t.style,e).fontSize)),c=[...Array(i).keys()].map((t=>Ne(n,t)));if("start"===a)return r+(o/2+c[0]/2)*s[0];if(t.inline)return"end"===a?r+(o/2-c[0]/2)*s[0]:r+o/2*s[0];if(1===i)return"end"===a?r+(o/2+(.5-i)*c[0])*s[0]:r+(o/2+(.5-i/2)*c[0])*s[0];const l=[...Array(i).keys()].reduce(((t,e)=>t+(o/2+(.5-i)*c[e])*s[e]/i),0);return"end"===a?r+l:r+l/2+o/2*c[i-1]*s[i-1]})(t,a,r),l=void 0!==t.x?t.x:Be(t,"x"),u=void 0!==t.y?t.y:Be(t,"y"),d=He(t,l,u);return Object.assign({},t,{ariaLabel:e,lineHeight:r,direction:i,textAnchor:o,verticalAnchor:a,dx:s,dy:c,originalDy:kt(t.dy,t),transform:d,x:l,y:u})})(e),{text:r,style:i,capHeight:a,backgroundPadding:s,lineHeight:c}=n,l=r.map(((t,e)=>{const n=Ne(i,e),r=Wt(`${a}em`,n.fontSize),o=Ne(c,e);return{style:n,fontSize:n.fontSize||Ie.fontSize,capHeight:r,text:t,textSize:Ht(t,n),lineHeight:o,backgroundPadding:Ne(s,e)}})),u=((t,e)=>{const{ariaLabel:n,inline:r,className:i,title:a,events:s,direction:c,text:l,textAnchor:u,dx:d,dy:f,transform:p,x:h,y:g,desc:y,id:b,tabIndex:m,tspanComponent:v,textComponent:x}=t,k=le(t),E={"aria-label":n,key:"text",...s,direction:c,dx:d,x:h,y:g+f,transform:p,className:i,title:a,desc:kt(y,t),tabIndex:kt(m,t),id:b,...k},w=l.map(((n,i)=>{const a=e[i].style,s={key:`${b}-key-${i}`,x:r?void 0:h,dx:r?d+e[i].backgroundPadding.left:d,dy:Ke(e,t,i),textAnchor:a.textAnchor||u,style:a,children:n};return o().cloneElement(v,s)}));return o().cloneElement(x,E,w)})(n,l);if(e.backgroundStyle){const t=[Ge(n,l),u],r=o().cloneElement(e.groupComponent,{},t);return e.renderInPortal?o().createElement(ze,null,r):r}return e.renderInPortal?o().createElement(ze,null,u):u};Ue.displayName="VictoryLabel",Ue.role="label",Ue.defaultStyles=Ie;var Qe=r(7491),Ze=r.n(Qe);const Ye=t=>+t;function Xe(t){return t*t}function Je(t){return t*(2-t)}function tn(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function en(t){return t*t*t}function nn(t){return--t*t*t+1}function rn(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var on=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),an=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),sn=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),cn=Math.PI,ln=cn/2;function un(t){return 1==+t?1:1-Math.cos(t*ln)}function dn(t){return Math.sin(t*ln)}function fn(t){return(1-Math.cos(cn*t))/2}function pn(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function hn(t){return pn(1-+t)}function gn(t){return 1-pn(t)}function yn(t){return((t*=2)<=1?pn(1-t):2-pn(t-1))/2}function bn(t){return 1-Math.sqrt(1-t*t)}function mn(t){return Math.sqrt(1- --t*t)}function vn(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var xn=7.5625;function kn(t){return 1-En(1-t)}function En(t){return(t=+t)<.36363636363636365?xn*t*t:t<.7272727272727273?xn*(t-=.5454545454545454)*t+.75:t<.9090909090909091?xn*(t-=.8181818181818182)*t+.9375:xn*(t-=.9545454545454546)*t+.984375}function wn(t){return((t*=2)<=1?1-En(1-t):En(t-1)+1)/2}var On=1.70158,jn=function t(e){function n(t){return(t=+t)*t*(e*(t-1)+t)}return e=+e,n.overshoot=t,n}(On),An=function t(e){function n(t){return--t*t*((t+1)*e+t)+1}return e=+e,n.overshoot=t,n}(On),Sn=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}(On),Cn=2*Math.PI,$n=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Cn);function i(t){return e*pn(- --t)*Math.sin((r-t)/n)}return i.amplitude=function(e){return t(e,n*Cn)},i.period=function(n){return t(e,n)},i}(1,.3),Mn=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Cn);function i(t){return 1-e*pn(t=+t)*Math.sin((t+r)/n)}return i.amplitude=function(e){return t(e,n*Cn)},i.period=function(n){return t(e,n)},i}(1,.3),Pn=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Cn);function i(t){return((t=2*t-1)<0?e*pn(-t)*Math.sin((r-t)/n):2-e*pn(t)*Math.sin((r+t)/n))/2}return i.amplitude=function(e){return t(e,n*Cn)},i.period=function(n){return t(e,n)},i}(1,.3),Fn=r(4143),Ln=r.n(Fn),zn=r(3849),Dn=r.n(zn);function Wn(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function In(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Bn(){}var _n=.7,Nn=1/_n,Tn="\\s*([+-]?\\d+)\\s*",Hn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Rn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",qn=/^#([0-9a-f]{3,8})$/,Gn=new RegExp(`^rgb\\(${Tn},${Tn},${Tn}\\)$`),Kn=new RegExp(`^rgb\\(${Rn},${Rn},${Rn}\\)$`),Vn=new RegExp(`^rgba\\(${Tn},${Tn},${Tn},${Hn}\\)$`),Un=new RegExp(`^rgba\\(${Rn},${Rn},${Rn},${Hn}\\)$`),Qn=new RegExp(`^hsl\\(${Hn},${Rn},${Rn}\\)$`),Zn=new RegExp(`^hsla\\(${Hn},${Rn},${Rn},${Hn}\\)$`),Yn={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 Xn(){return this.rgb().formatHex()}function Jn(){return this.rgb().formatRgb()}function tr(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=qn.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?er(e):3===n?new or(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?nr(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?nr(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=Gn.exec(t))?new or(e[1],e[2],e[3],1):(e=Kn.exec(t))?new or(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Vn.exec(t))?nr(e[1],e[2],e[3],e[4]):(e=Un.exec(t))?nr(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Qn.exec(t))?dr(e[1],e[2]/100,e[3]/100,1):(e=Zn.exec(t))?dr(e[1],e[2]/100,e[3]/100,e[4]):Yn.hasOwnProperty(t)?er(Yn[t]):"transparent"===t?new or(NaN,NaN,NaN,0):null}function er(t){return new or(t>>16&255,t>>8&255,255&t,1)}function nr(t,e,n,r){return r<=0&&(t=e=n=NaN),new or(t,e,n,r)}function rr(t){return t instanceof Bn||(t=tr(t)),t?new or((t=t.rgb()).r,t.g,t.b,t.opacity):new or}function ir(t,e,n,r){return 1===arguments.length?rr(t):new or(t,e,n,null==r?1:r)}function or(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function ar(){return`#${ur(this.r)}${ur(this.g)}${ur(this.b)}`}function sr(){const t=cr(this.opacity);return`${1===t?"rgb(":"rgba("}${lr(this.r)}, ${lr(this.g)}, ${lr(this.b)}${1===t?")":`, ${t})`}`}function cr(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function lr(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function ur(t){return((t=lr(t))<16?"0":"")+t.toString(16)}function dr(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new pr(t,e,n,r)}function fr(t){if(t instanceof pr)return new pr(t.h,t.s,t.l,t.opacity);if(t instanceof Bn||(t=tr(t)),!t)return new pr;if(t instanceof pr)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,c=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n<r):n===o?(r-e)/s+2:(e-n)/s+4,s/=c<.5?o+i:2-o-i,a*=60):s=c>0&&c<1?0:a,new pr(a,s,c,t.opacity)}function pr(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function hr(t){return(t=(t||0)%360)<0?t+360:t}function gr(t){return Math.max(0,Math.min(1,t||0))}function yr(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 br(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}Wn(Bn,tr,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Xn,formatHex:Xn,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return fr(this).formatHsl()},formatRgb:Jn,toString:Jn}),Wn(or,ir,In(Bn,{brighter(t){return t=null==t?Nn:Math.pow(Nn,t),new or(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?_n:Math.pow(_n,t),new or(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new or(lr(this.r),lr(this.g),lr(this.b),cr(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:ar,formatHex:ar,formatHex8:function(){return`#${ur(this.r)}${ur(this.g)}${ur(this.b)}${ur(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:sr,toString:sr})),Wn(pr,(function(t,e,n,r){return 1===arguments.length?fr(t):new pr(t,e,n,null==r?1:r)}),In(Bn,{brighter(t){return t=null==t?Nn:Math.pow(Nn,t),new pr(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?_n:Math.pow(_n,t),new pr(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,i=2*n-r;return new or(yr(t>=240?t-240:t+120,i,r),yr(t,i,r),yr(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new pr(hr(this.h),gr(this.s),gr(this.l),cr(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=cr(this.opacity);return`${1===t?"hsl(":"hsla("}${hr(this.h)}, ${100*gr(this.s)}%, ${100*gr(this.l)}%${1===t?")":`, ${t})`}`}}));var mr=t=>()=>t;function vr(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):mr(isNaN(t)?e:t)}var xr=function t(e){var n=function(t){return 1==(t=+t)?vr: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):mr(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=ir(t)).r,(e=ir(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=vr(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function kr(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n<i;++n)r=ir(e[n]),o[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return o=t(o),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=s(t),r+""}}}function Er(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=Mr(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}}function wr(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function Or(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function jr(t,e){var n,r={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=Mr(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}kr((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),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=r<e-1?t[r+2]:2*o-i;return br((n-r/e)*e,a,i,o,s)}})),kr((function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],a=t[(r+1)%e],s=t[(r+2)%e];return br((n-r/e)*e,i,o,a,s)}}));var Ar=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Sr=new RegExp(Ar.source,"g");function Cr(t,e){var n,r,i,o=Ar.lastIndex=Sr.lastIndex=0,a=-1,s=[],c=[];for(t+="",e+="";(n=Ar.exec(t))&&(r=Sr.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,c.push({i:a,x:Or(n,r)})),o=Sr.lastIndex;return o<e.length&&(i=e.slice(o),s[a]?s[a]+=i:s[++a]=i),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 $r(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}}function Mr(t,e){var n,r,i=typeof e;return null==e||"boolean"===i?mr(e):("number"===i?Or:"string"===i?(n=tr(e))?(e=n,xr):Cr:e instanceof tr?xr:e instanceof Date?wr:(r=e,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(e)?Er:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?jr:Or:$r))(t,e)}const Pr=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)||Dn()(t)}return!1},Fr=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,i="function"==typeof e?e.apply(this,arguments):e;return Mr(r,i)(n)}}},zr=function(t,e){const n=t=>Array.isArray(t)?Ln()(t,"key"):t,r={},i={};let o,a=t,s=e;for(o in null!==a&&"object"==typeof a||(a={}),null!==s&&"object"==typeof s||(s={}),s)o in a?r[o]=(c=n(a[o]))!==(l=n(s[o]))&&Pr(c)&&Pr(l)?"function"==typeof c||"function"==typeof l?Lr(c,l):"object"==typeof c&&Dn()(c)||"object"==typeof l&&Dn()(l)?zr(c,l):Mr(c,l):Fr(c,l):i[o]=s[o];var c,l;return function(t){for(o in r)i[o]=r[o](t);return i}};var Dr,Wr,Ir=0,Br=0,_r=0,Nr=0,Tr=0,Hr=0,Rr="object"==typeof performance&&performance.now?performance:Date,qr="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Gr(){return Tr||(qr(Kr),Tr=Rr.now()+Hr)}function Kr(){Tr=0}function Vr(){this._call=this._time=this._next=null}function Ur(t,e,n){var r=new Vr;return r.restart(t,e,n),r}function Qr(){Tr=(Nr=Rr.now())+Hr,Ir=Br=0;try{!function(){Gr(),++Ir;for(var t,e=Dr;e;)(t=Tr-e._time)>=0&&e._call.call(void 0,t),e=e._next;--Ir}()}finally{Ir=0,function(){for(var t,e,n=Dr,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:Dr=e);Wr=t,Yr(r)}(),Tr=0}}function Zr(){var t=Rr.now(),e=t-Nr;e>1e3&&(Hr-=e,Nr=t)}function Yr(t){Ir||(Br&&(Br=clearTimeout(Br)),t-Tr>24?(t<1/0&&(Br=setTimeout(Qr,t-Rr.now()-Hr)),_r&&(_r=clearInterval(_r))):(_r||(Nr=Rr.now(),_r=setInterval(Zr,1e3)),Ir=1,qr(Qr)))}Vr.prototype=Ur.prototype={constructor:Vr,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Gr():+n)+(null==e?0:+e),this._next||Wr===this||(Wr?Wr._next=this:Dr=this,Wr=this),this._call=t,this._time=n,Yr()},stop:function(){this._call&&(this._call=null,this._time=1/0,Yr())}};class Xr{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(Gr()-t.startTime,t.duration)}))};start(){this.timer||(this.timer=Ur(this.loop))}stop(){this.timer&&(this.timer.stop(),this.timer=null)}subscribe(t,e){const n=this.subscribers.push({startTime:Gr(),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 Jr=o().createContext({transitionTimer:new Xr,animationTimer:new Xr});Jr.displayName="TimerContext";var ti=Jr;const ei=1e3,ni=t=>{let{duration:n=ei,easing:r="quadInOut",delay:i=0,data:a,children:s,onEnd:c}=t;const[l,u]=o().useState({data:Array.isArray(a)?a[0]:a,animationInfo:{progress:0,animating:!1}}),d=o().useContext(ti).animationTimer,f=o().useRef(Array.isArray(a)?a.slice(1):[]),p=o().useRef(null),h=o().useRef(void 0),g=e[(y=r,`ease${y.charAt(0).toUpperCase()+y.slice(1)}`)];var y;o().useEffect((()=>(f.current.length&&b(),()=>{h.current?d.unsubscribe(h.current):d.stop()})),[]),o().useEffect((()=>{p.current&&l.animationInfo&&l.animationInfo.progress<1?u({data:p.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}):(d.unsubscribe(h.current),f.current=Array.isArray(a)?a:[a],b())}),[a]);const b=()=>{if(f.current.length){const r=f.current[0];p.current=(t=l.data)!==(e=r)&&Pr(t)&&Pr(e)?"function"==typeof t||"function"==typeof e?Lr(t,e):Dn()(t)||Dn()(e)?zr(t,e):"string"==typeof t||"string"==typeof e?function(t,e){const n=t=>"string"==typeof t?t.replace(/,/g,""):t;return Mr(n(t),n(e))}(t,e):Mr(t,e):Fr(t,e),i?setTimeout((()=>{h.current=d.subscribe(m,n)}),i):h.current=d.subscribe(m,n)}else c&&c();var t,e},m=t=>{if(!p.current)return;const e=n?t/n:1;if(e>=1)return u({data:p.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),h.current&&d.unsubscribe(h.current),f.current.shift(),void b();u({data:p.current(g(e)),animationInfo:{progress:e,animating:e<1}})};return s(l.data,l.animationInfo)};function ri(t){return Array.isArray(t)&&t.some((t=>t instanceof Date))}function ii(t,e){return t&&e?t.filter((t=>!e.includes(t))):[]}function oi(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 i=t.concat(n);return ri(i)?new Date(Math.max(...i)):Math.max(...i)}function ai(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 i=t.concat(n);return ri(i)?new Date(Math.min(...i)):Math.min(...i)}var si=r(5346),ci=r.n(si);function li(t,e){return(t.key||e).toString()}function ui(t){return t.reduce(((t,e,n)=>(t[li(e,n)]=e,t)),{})}function di(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 fi(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function pi(t,e){let n=!1,r=!1;const i=(t,e)=>t.map(((a,s)=>a&&a.props&&a.props.children&&e[s]?i(o().Children.toArray(t[s].props.children),o().Children.toArray(e[s].props.children)):((t,e)=>{if(!e||t.type!==e.type)return{};const{entering:i,exiting:o}=function(t,e){const n=t&&ui(t),r=e&&ui(e);return{entering:n&&di(r,n),exiting:r&&di(n,r)}}(fi(t),fi(e))||{};return n=n||!!o,r=r||!!i,{entering:i||!1,exiting:o||!1}})(a,e[s]))),a=i(o().Children.toArray(t),o().Children.toArray(e));return{nodesWillExit:n,nodesWillEnter:r,childrenTransitions:a,nodesShouldEnter:!1}}function hi(t,e,n){const r=e&&e.nodesWillExit,i=e&&e.nodesWillEnter,o=e&&e.nodesShouldEnter,a=e&&e.nodesShouldLoad,s=e&&e.nodesDoneLoad,c=e&&e.childrenTransitions||[],l={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},u=(t,e,r)=>a?function(t,e,r){const i=Object.assign({},t,{onEnd:()=>{n({nodesShouldLoad:!1,nodesDoneLoad:!0})}});let o=e;if(i&&i.onLoad&&!i.onLoad.duration)return{animate:t,data:e};const a=t.onLoad&&t.onLoad.after?t.onLoad.after:ci();return o=e.map(((t,n)=>Object.assign({},t,a(t,n,e)))),{animate:i,data:o}}(r,e):function(t,e,r,i){const o=Object.assign({},t,{onEnd:()=>{n({nodesDoneLoad:!0})}});if(o&&o.onLoad&&!o.onLoad.duration)return{animate:o,data:r};const a=o.onLoad&&o.onLoad.before?o.onLoad.before:ci();return{animate:o,data:r.map(((t,e)=>Object.assign({},t,a(t,e,r)))),clipWidth:0}}(r,0,e),f=(t,e,r,i)=>function(t,e,r,i,o){const a=t&&t.onExit,s=Object.assign({},t,a);let c=r;if(i){t.onEnd=()=>{n({nodesWillExit:!1})};const e=t.onExit&&t.onExit.before?t.onExit.before:ci();c=r.map(((t,n)=>{const o=(t.key||n).toString();return i[o]?Object.assign({},t,e(t,n,r)):t}))}return{animate:s,data:c}}(i,0,r,t),p=(t,e,r,i)=>o?function(t,e,r,i){const o=t&&t.onEnter,a=Object.assign({},t,o);let s=e;if(r){a.onEnd=()=>{n({nodesWillEnter:!1})};const t=a.onEnter&&a.onEnter.after?a.onEnter.after:ci();s=e.map(((n,i)=>{const o=li(n,i);return r[o]?Object.assign({},n,t(n,i,e)):n}))}return{animate:a,data:s}}(i,r,t):function(t,e,r,i,o){let a=t,s=r;if(i){a=Object.assign({},t,{onEnd:()=>{n({nodesShouldEnter:!0})}});const e=t.onEnter&&t.onEnter.before?t.onEnter.before:ci();s=r.map(((t,n)=>{const o=(t.key||n).toString();return i[o]?Object.assign({},t,e(t,n,r)):t}))}return{animate:a,data:s}}(i,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=fi(n)||[],y=d()({},t.animate,n.props.animate),b=n.props.polar&&n.type.defaultPolarTransitions||n.type.defaultTransitions;y.onExit=d()({},y.onExit,b&&b.onExit),y.onEnter=d()({},y.onEnter,b&&b.onEnter),y.onLoad=d()({},y.onLoad,b&&b.onLoad);const m=c[a]||c[0];if(!s){const t={duration:void 0!==l.load?l.load:h(n,"onLoad")};return u(0,g,Object.assign({},y,t))}if(r){const t=m&&m.exiting,e=void 0!==l.exit?l.exit:h(n,"onExit"),r=t?{duration:e}:{delay:e};return f(t,0,g,Object.assign({},y,r))}if(i){const t=m&&m.entering,e=void 0!==l.enter?l.enter:h(n,"onEnter"),r=void 0!==l.move?l.move:n.props.animate&&n.props.animate.duration,i={duration:o&&t?e:r};return p(t,0,g,Object.assign({},y,i))}return!e&&y&&y.onExit?function(t,e){const n=t.onEnter&&t.onEnter.after?t.onEnter.after:ci();return{data:e.map(((t,r)=>Object.assign({},t,n(t,r,e))))}}(y,g):{animate:y,data:g}}}function gi(){return gi=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},gi.apply(this,arguments)}class yi extends o().Component{static displayName="VictoryTransition";static contextType=ti;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 Ze()(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=o().Children.toArray(t.children),i=o().Children.toArray(e.children),{nodesWillExit:a,nodesWillEnter:s,childrenTransitions:c,nodesShouldEnter:l}=pi(r,i);return{nodesWillExit:a,nodesWillEnter:s,childrenTransitions:c,nodesShouldEnter:l,oldProps:a?t:null,nextProps:e}}getDomainFromChildren(t,e){const n=t=>t.reduce(((t,r)=>{if(r.type&&At(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(o().Children.toArray(r.props.children))):t}),[]),r=o().Children.toArray(t.children)[0],i=r.props||{},a=Array.isArray(i.domain)?i.domain:i.domain&&i.domain[e];if(!i.children&&a)return a;const s=n([r]);return 0===s.length?[0,1]:[ai(s),oi(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?[wt(t.startAngle||0),wt(t.endAngle||360)]:[t.innerRadius||0,Ot(t)]}(t,e):function(t,e){const n="x"!==e,r=xt(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:hi(t,this.state,(t=>this.setState(t))),n=o().Children.toArray(t.children)[0],r=e(n);this.transitionProps=r;const i={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},a=this.getClipWidth(t,n),s=d()({domain:i,clipWidth:a},r,n.props),c=(t.animationWhitelist||[]).concat(["clipWidth"]),l=c.length?bt()(s,c):s;return o().createElement(ni,gi({},s.animate,{data:l}),(t=>{if(n.props.groupComponent){const e=this.continuous?o().cloneElement(n.props.groupComponent,{clipWidth:t.clipWidth||0}):n.props.groupComponent;return o().cloneElement(n,d()({animate:null,animating:!0,groupComponent:e},t,s))}return o().cloneElement(n,d()({animate:null,animating:!0},t,s))}))}}var bi=r(9602),mi=r.n(bi),vi=r(1616),xi=r.n(vi),ki=r(4912),Ei=r.n(ki);const wi=/^onGlobal(.*)$/;function Oi(t,e,n,r){const i=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),{})},o=(()=>Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events)(),a=o&&At(r)?r(i(o),e):void 0;if(!t.sharedEvents)return a;const s=t.sharedEvents.getEvents,c=t.sharedEvents.events&&s(i(t.sharedEvents.events),e);return Object.assign({},c,a)}function ji(t,e,n,r){if(Fe()(t))return{};const i=r||this.baseProps,o=(t,e)=>{const{childName:n,target:r,key:o}=t,a="props"===e?i:this.state||{},s=null!=n&&a[n]?a[n]:a;return"parent"===o?s.parent:s[o]&&s[o][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(!At(t.mutation))return r;const a=o({childName:n,key:e,target:s},"props"),c=o({childName:n,key:e,target:s},"state"),l=t.mutation(Object.assign({},a,c),i),u=r[n]||{},d=t=>l?(t=>"parent"===s?Object.assign(t,{[e]:Object.assign(t[e]||{},l)}):Object.assign(t,{[e]:Object.assign(t[e]||{},{[s]:l})}))(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(u)}):d(r)},l=e=>{const n=(e=>"parent"===s?"parent":"all"===t.eventKey?i[e]?Object.keys(i[e]).filter((t=>"parent"!==t)):Object.keys(i).filter((t=>"parent"!==t)):void 0===t.eventKey&&"parent"===r?i[e]?Object.keys(i[e]):Object.keys(i):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)},u="all"===a?Object.keys(i).filter((t=>"parent"!==t)):a;return Array.isArray(u)?u.reduce(((t,e)=>Object.assign(t,l(e))),{}):l(u)},s=(e,n,r,i)=>{const o=t[i](e,n,r,this);if(!Fe()(o)){const t=(t=>{const e=t=>At(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})(o);this.setState(((t,e)=>Array.isArray(t)?t.reduce(((t,n)=>Object.assign({},t,a(n,e))),{}):a(t,e))(o,r),t)}};return Object.keys(t).reduce(((t,e)=>(t[e]=s,t)),{})}function Ai(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 Si(t,e,n,r){const i=(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 o=Array.isArray(t)?t:[t];r.childName&&(o=t.filter((t=>i(t,"childName"))));const a=o.filter((t=>i(t,"target")));if(Fe()(a))return;const s=a.filter((t=>i(t,"eventKey")));return Fe()(s)?void 0:s.reduce(((t,r)=>{const i=(r&&At(r.mutation)?r.mutation:()=>{})(Object.assign({},e,n));return Object.assign({},t,i)}),{})}function Ci(t){const e=t.match(wi);return e&&e[1]&&e[1].toLowerCase()}const $i=t=>!jt(t._x)&&!jt(t._y),Mi=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}],Pi={orientation:"vertical",titleOrientation:"top",width:450,height:300,x:0,y:0},Fi=[{name:"Series 1"},{name:"Series 2"}];class Li extends o().Component{static displayName="VictoryLegend";static role="legend";static defaultProps={borderComponent:o().createElement(re,null),data:Fi,containerComponent:o().createElement(ye,null),dataComponent:o().createElement(Me,null),groupComponent:o().createElement("g",null),labelComponent:o().createElement(Ue,null),standalone:!0,theme:ht.grayscale,titleComponent:o().createElement(Ue,null)};static getBaseProps(t){return Xt(t,Pi)}static getDimensions(t){return Yt(t,Pi)}static expectedComponents=["borderComponent","containerComponent","dataComponent","groupComponent","labelComponent","titleComponent"];renderChildren(t){const{dataComponent:e,labelComponent:n,title:r}=t,i=[];if(t.borderComponent){const e=this.getComponentProps(t.borderComponent,"border","all"),n=o().cloneElement(t.borderComponent,e);i.push(n)}if(e){const t=this.dataKeys.map(((t,n)=>{if("all"===t)return;const r=this.getComponentProps(e,"data",n);return o().cloneElement(e,r)})).filter((t=>void 0!==t));i.push(...t)}if(r&&t.titleComponent){const e=this.getComponentProps(r,"title","all"),n=o().cloneElement(t.titleComponent,e);i.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?o().cloneElement(n,r):void 0})).filter((t=>void 0!==t));i.push(...t)}return i}render(){const{role:t}=this.constructor,e=St(this.props,Pi,t),n=this.renderChildren(e);return e.standalone?this.renderContainer(e.containerComponent,n):o().cloneElement(e.groupComponent,{},n)}}const zi=(Di=Li,void 0===Wi&&(Wi={}),class extends Di{constructor(t){super(t),this.cacheValues(this.getCalculatedValues(t))}state={};getEventState=Ai.bind(this);getScopedEvents=ji.bind(this);getEvents=(t,e,n)=>Oi.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=!Ze()(e,this.externalMutations);if(n||r)return this.cacheValues(this.getCalculatedValues(t)),this.externalMutations=e,this.applyExternalMutations(t,e),!0;const i=this.getStateChanges(t);return Ze()(this.calculatedState,i)?!Ze()(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);ii(this.prevGlobalEventKeys,n).forEach((t=>this.removeGlobalListener(t))),ii(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(Ci(t),e)}removeGlobalListener(t){window.removeEventListener(Ci(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 Fe()(n)?void 0:n};return(Wi.components||Mi).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(!Fe()(e)){const n=t.externalEventMutations.reduce(((t,e)=>At(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],i=r&&r.type&&r.type.defaultEvents,o=At(i)?i(r.props):i;return Array.isArray(o)?e.concat(...o):e}),[]);return n&&n.length?n:void 0}(t,Di.expectedComponents),r=e&&At(e.getEventState)?e.getEventState:()=>{},i=this.getBaseProps(t,r);return{componentEvents:n,getSharedEventState:r,baseProps:i,dataKeys:Object.keys(i).filter((t=>"parent"!==t)),hasEvents:t.events||t.sharedEvents||n,events:this.getAllEvents(t)}}getExternalMutations(t){const{sharedEvents:e,externalEventMutations:n}=t;return Fe()(n)||e?void 0:function(t,e,n,r){return void 0===e&&(e={}),void 0===n&&(n={}),Object.keys(e).reduce(((i,o)=>{const a=n[o]||{},s=e[o]||{};if("parent"===o){const e=Si(t,s,a,{eventKey:o,target:"parent"});i[o]=void 0!==e?Object.assign({},a,e):a}else{const e=mi()(Object.keys(s).concat(Object.keys(a)));i[o]=e.reduce(((e,n)=>{const i={eventKey:o,target:n,childName:r},c=Si(t,s[n],a[n],i);return e[n]=void 0!==c?Object.assign({},a[n],c):a[n],Ei()(e,(t=>!Fe()(t)))}),{})}return Ei()(i,(t=>!Fe()(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"),i=d()({},r,n),o=i.parentControlledProps,a=o?bt()(i,o):{},s=d()({},a,t);return"function"==typeof Di.getBaseProps?Di.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||Di.role,i=this.dataKeys&&this.dataKeys[n]||n,o=`${r}-${e}-${i}`,a=this.baseProps[i]&&this.baseProps[i][e]||this.baseProps[i];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,i),r=d()({index:n,key:o},this.getEventState(i,e),this.getSharedEventState(i,e),s,a,{id:o}),c=d()({},function(t,e,n){return t?Object.keys(t).reduce(((r,i)=>(r[i]=r=>t[i](r,n,e,i),r)),{}):{}}(t,i,r),r.events);return Object.assign({},r,{events:c})}return d()({index:n,key:o},s,a,{id:o})}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,Ei()(r,((t,e)=>wi.test(e)))),n.events=(t=>xi()(t,((t,e)=>wi.test(e))))(n.events)),o().cloneElement(t,n,e)}animateComponent(t,e){const n="object"==typeof t.animate&&t.animate?.animationWhitelist||e,r=this.constructor;return o().createElement(yi,{animate:t.animate,animationWhitelist:n},o().createElement(r,t))}renderContinuousData(t){const{dataComponent:e,labelComponent:n,groupComponent:r}=t,i=this.dataKeys.filter((t=>"all"!==t)),a=i.reduce(((t,e)=>{let r=t;const i=this.getComponentProps(n,"labels",e);return i&&void 0!==i.text&&null!==i.text&&(r=r.concat(o().cloneElement(n,i))),r}),[]),s=this.getComponentProps(e,"data","all"),c=[o().cloneElement(e,s),...a];return this.renderContainer(r,c)}renderData(t,e){void 0===e&&(e=$i);const{dataComponent:n,labelComponent:r,groupComponent:i}=t,a=[...this.dataKeys.reduce(((t,r,i)=>{const a=this.getComponentProps(n,"data",i);return e(a.datum)&&t.push(o().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 o().cloneElement(r,n)})).filter(Boolean)];return this.renderContainer(i,a)}});var Di,Wi}(),i}()}));
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.2.0",
3
+ "version": "37.3.1",
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.2.0"
24
+ "victory-core": "37.3.1"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "react": ">=16.6.0"