victory-voronoi 36.8.3 → 36.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/victory-voronoi.js +4 -4
- package/dist/victory-voronoi.min.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/victory-voronoi.js
CHANGED
|
@@ -12979,9 +12979,9 @@ function getScopedEvents(events, namespace, childType, baseProps) {
|
|
|
12979
12979
|
}
|
|
12980
12980
|
|
|
12981
12981
|
if (eventReturn.eventKey === "all") {
|
|
12982
|
-
return
|
|
12982
|
+
return newBaseProps[childName] ? lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps[childName]), "parent") : lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps), "parent");
|
|
12983
12983
|
} else if (eventReturn.eventKey === undefined && eventKey === "parent") {
|
|
12984
|
-
return
|
|
12984
|
+
return newBaseProps[childName] ? lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps[childName]) : lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps);
|
|
12985
12985
|
}
|
|
12986
12986
|
|
|
12987
12987
|
return eventReturn.eventKey !== undefined ? eventReturn.eventKey : eventKey;
|
|
@@ -13006,7 +13006,7 @@ function getScopedEvents(events, namespace, childType, baseProps) {
|
|
|
13006
13006
|
key: key,
|
|
13007
13007
|
target: target
|
|
13008
13008
|
}, "state");
|
|
13009
|
-
var mutatedProps = eventReturn.mutation(lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()({}, mutationTargetProps, mutationTargetState),
|
|
13009
|
+
var mutatedProps = eventReturn.mutation(lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()({}, mutationTargetProps, mutationTargetState), newBaseProps);
|
|
13010
13010
|
var childState = baseState[childName] || {};
|
|
13011
13011
|
|
|
13012
13012
|
var filterState = function (state) {
|
|
@@ -13041,7 +13041,7 @@ function getScopedEvents(events, namespace, childType, baseProps) {
|
|
|
13041
13041
|
}; // returns an entire mutated state for all children
|
|
13042
13042
|
|
|
13043
13043
|
|
|
13044
|
-
var allChildNames = childNames === "all" ? lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(
|
|
13044
|
+
var allChildNames = childNames === "all" ? lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps), "parent") : childNames;
|
|
13045
13045
|
return Array.isArray(allChildNames) ? allChildNames.reduce(function (memo, childName) {
|
|
13046
13046
|
return lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()(memo, getReturnByChild(childName));
|
|
13047
13047
|
}, {}) : getReturnByChild(allChildNames);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react")):"function"==typeof define&&define.amd?define(["react"],n):"object"==typeof exports?exports.VictoryVoronoi=n(require("react")):t.VictoryVoronoi=n(t.React)}(self,(t=>(()=>{var n={503:(t,n,e)=>{var r=e(1171),o=e(7838),i=e(4859),a=e(4073),u=e(8541);function c(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},3273:(t,n,e)=>{var r=e(163);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},8708:(t,n,e)=>{var r=e(1171),o=e(7838),i=e(4859),a=e(4073),u=e(8541);function c(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},2596:(t,n,e)=>{var r=e(2373).Symbol;t.exports=r},6082:t=>{t.exports=function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}},5510:(t,n,e)=>{var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9955:t=>{t.exports=function(t,n,e){for(var r=-1,o=null==t?0:t.length;++r<o;)if(e(n,t[r]))return!0;return!1}},8644:t=>{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,o=Array(r);++e<r;)o[e]=n(t[e],e,t);return o}},9559:t=>{t.exports=function(t,n){for(var e=-1,r=n.length,o=t.length;++e<r;)t[o+e]=n[e];return t}},1634:t=>{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}},4132:(t,n,e)=>{var r=e(8347),o=e(788),i=Object.prototype.hasOwnProperty;t.exports=function(t,n,e){var a=t[n];i.call(t,n)&&o(a,e)&&(void 0!==e||n in t)||r(t,n,e)}},3162:(t,n,e)=>{var r=e(788);t.exports=function(t,n){for(var e=t.length;e--;)if(r(t[e][0],n))return e;return-1}},8347:(t,n,e)=>{var r=e(5525);t.exports=function(t,n,e){"__proto__"==n&&r?r(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}},1377:(t,n,e)=>{var r=e(3273),o=e(5510),i=e(9955),a=e(8644),u=e(9110),c=e(9914);t.exports=function(t,n,e,l){var s=-1,f=o,p=!0,d=t.length,h=[],y=n.length;if(!d)return h;e&&(n=a(n,u(e))),l?(f=i,p=!1):n.length>=200&&(f=c,p=!1,n=new r(n));t:for(;++s<d;){var v=t[s],g=null==e?v:e(v);if(v=l||0!==v?v:0,p&&g==g){for(var m=y;m--;)if(n[m]===g)continue t;h.push(v)}else f(n,g,l)||h.push(v)}return h}},3705:t=>{t.exports=function(t,n,e,r){for(var o=t.length,i=e+(r?1:-1);r?i--:++i<o;)if(n(t[i],i,t))return i;return-1}},6457:(t,n,e)=>{var r=e(9559),o=e(3608);t.exports=function t(n,e,i,a,u){var c=-1,l=n.length;for(i||(i=o),u||(u=[]);++c<l;){var s=n[c];e>0&&i(s)?e>1?t(s,e-1,i,a,u):r(u,s):a||(u[u.length]=s)}return u}},4432:(t,n,e)=>{var r=e(9026),o=e(3110);t.exports=function(t,n){for(var e=0,i=(n=r(n,t)).length;null!=t&&e<i;)t=t[o(n[e++])];return e&&e==i?t:void 0}},563:t=>{var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},6776:t=>{t.exports=function(t,n){return null!=t&&n in Object(t)}},6123:t=>{t.exports=function(t,n,e){for(var r=e-1,o=t.length;++r<o;)if(t[r]===n)return r;return-1}},7537:(t,n,e)=>{var r=e(563),o=e(3474);t.exports=function(t){return o(t)&&"[object Date]"==r(t)}},9070:(t,n,e)=>{var r=e(7028),o=e(3474);t.exports=function t(n,e,i,a,u){return n===e||(null==n||null==e||!o(n)&&!o(e)?n!=n&&e!=e:r(n,e,i,a,t,u))}},7028:(t,n,e)=>{var r=e(8708),o=e(8705),i=e(2813),a=e(6682),u=e(9667),c=e(163),l=e(4801),s=e(4289),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,y,v,g){var m=c(t),b=c(n),x=m?p:u(t),w=b?p:u(n),O=(x=x==f?d:x)==d,M=(w=w==f?d:w)==d,j=x==w;if(j&&l(t)){if(!l(n))return!1;m=!0,O=!1}if(j&&!O)return g||(g=new r),m||s(t)?o(t,n,e,y,v,g):i(t,n,x,e,y,v,g);if(!(1&e)){var E=O&&h.call(t,"__wrapped__"),A=M&&h.call(n,"__wrapped__");if(E||A){var k=E?t.value():t,S=A?n.value():n;return g||(g=new r),v(k,S,e,y,g)}}return!!j&&(g||(g=new r),a(t,n,e,y,v,g))}},9548:(t,n,e)=>{var r=e(8708),o=e(9070);t.exports=function(t,n,e,i){var a=e.length,u=a,c=!i;if(null==t)return!u;for(t=Object(t);a--;){var l=e[a];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<u;){var s=(l=e[a])[0],f=t[s],p=l[1];if(c&&l[2]){if(void 0===f&&!(s in t))return!1}else{var d=new r;if(i)var h=i(f,p,s,t,n,d);if(!(void 0===h?o(p,f,3,i,d):h))return!1}}return!0}},2229:(t,n,e)=>{var r=e(563),o=e(3474);t.exports=function(t){return o(t)&&"[object RegExp]"==r(t)}},3472:(t,n,e)=>{var r=e(758),o=e(5223),i=e(5346),a=e(163),u=e(8532);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):r(t):u(t)}},7190:(t,n,e)=>{var r=e(5125)(Object.keys,Object);t.exports=r},383:t=>{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,o=Array(r);++e<r;)o[e]=n(t[e],e,t);return o}},758:(t,n,e)=>{var r=e(9548),o=e(597),i=e(6878);t.exports=function(t){var n=o(t);return 1==n.length&&n[0][2]?i(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},5223:(t,n,e)=>{var r=e(9070),o=e(9201),i=e(5066),a=e(726),u=e(5385),c=e(6878),l=e(3110);t.exports=function(t,n){return a(t)&&u(n)?c(l(t),n):function(e){var a=o(e,t);return void 0===a&&a===n?i(e,t):r(n,a,3)}}},8245:(t,n,e)=>{var r=e(8644),o=e(4432),i=e(3472),a=e(383),u=e(9521),c=e(9110),l=e(9409),s=e(5346),f=e(163);t.exports=function(t,n,e){n=n.length?r(n,(function(t){return f(t)?function(n){return o(n,1===t.length?t[0]:t)}:t})):[s];var p=-1;n=r(n,c(i));var d=a(t,(function(t,e,o){return{criteria:r(n,(function(n){return n(t)})),index:++p,value:t}}));return u(d,(function(t,n){return l(t,n,e)}))}},5436:(t,n,e)=>{var r=e(6371),o=e(5066);t.exports=function(t,n){return r(t,n,(function(n,e){return o(t,e)}))}},6371:(t,n,e)=>{var r=e(4432),o=e(6539),i=e(9026);t.exports=function(t,n,e){for(var a=-1,u=n.length,c={};++a<u;){var l=n[a],s=r(t,l);e(s,l)&&o(c,i(l,t),s)}return c}},1600:t=>{t.exports=function(t){return function(n){return null==n?void 0:n[t]}}},3301:(t,n,e)=>{var r=e(4432);t.exports=function(t){return function(n){return r(n,t)}}},7805:t=>{var n=Math.ceil,e=Math.max;t.exports=function(t,r,o,i){for(var a=-1,u=e(n((r-t)/(o||1)),0),c=Array(u);u--;)c[i?u:++a]=t,t+=o;return c}},6317:(t,n,e)=>{var r=e(5346),o=e(4280),i=e(201);t.exports=function(t,n){return i(o(t,n,r),t+"")}},6539:(t,n,e)=>{var r=e(4132),o=e(9026),i=e(9099),a=e(7709),u=e(3110);t.exports=function(t,n,e,c){if(!a(t))return t;for(var l=-1,s=(n=o(n,t)).length,f=s-1,p=t;null!=p&&++l<s;){var d=u(n[l]),h=e;if("__proto__"===d||"constructor"===d||"prototype"===d)return t;if(l!=f){var y=p[d];void 0===(h=c?c(y,d,p):void 0)&&(h=a(y)?y:i(n[l+1])?[]:{})}r(p,d,h),p=p[d]}return t}},9521:t=>{t.exports=function(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}},7556:(t,n,e)=>{var r=e(788);t.exports=function(t,n){for(var e=-1,o=t.length,i=0,a=[];++e<o;){var u=t[e],c=n?n(u):u;if(!e||!r(c,l)){var l=c;a[i++]=0===u?0:u}}return a}},6316:(t,n,e)=>{var r=e(2596),o=e(8644),i=e(163),a=e(1995),u=r?r.prototype:void 0,c=u?u.toString:void 0;t.exports=function t(n){if("string"==typeof n)return n;if(i(n))return o(n,t)+"";if(a(n))return c?c.call(n):"";var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},1367:(t,n,e)=>{var r=e(4120),o=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(o,""):t}},9110:t=>{t.exports=function(t){return function(n){return t(n)}}},946:(t,n,e)=>{var r=e(3273),o=e(5510),i=e(9955),a=e(9914),u=e(6602),c=e(6226);t.exports=function(t,n,e){var l=-1,s=o,f=t.length,p=!0,d=[],h=d;if(e)p=!1,s=i;else if(f>=200){var y=n?null:u(t);if(y)return c(y);p=!1,s=a,h=new r}else h=n?[]:d;t:for(;++l<f;){var v=t[l],g=n?n(v):v;if(v=e||0!==v?v:0,p&&g==g){for(var m=h.length;m--;)if(h[m]===g)continue t;n&&h.push(g),d.push(v)}else s(h,g,e)||(h!==d&&h.push(g),d.push(v))}return d}},9914:(t,n,e)=>{var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9026:(t,n,e)=>{var r=e(163),o=e(726),i=e(7801),a=e(7010);t.exports=function(t,n){return r(t)?t:o(t,n)?[t]:i(a(t))}},522:(t,n,e)=>{var r=e(1995);t.exports=function(t,n){if(t!==n){var e=void 0!==t,o=null===t,i=t==t,a=r(t),u=void 0!==n,c=null===n,l=n==n,s=r(n);if(!c&&!s&&!a&&t>n||a&&u&&l&&!c&&!s||o&&u&&l||!e&&l||!i)return 1;if(!o&&!a&&!s&&t<n||s&&e&&i&&!o&&!a||c&&e&&i||!u&&i||!l)return-1}return 0}},9409:(t,n,e)=>{var r=e(522);t.exports=function(t,n,e){for(var o=-1,i=t.criteria,a=n.criteria,u=i.length,c=e.length;++o<u;){var l=r(i[o],a[o]);if(l)return o>=c?l:l*("desc"==e[o]?-1:1)}return t.index-n.index}},9021:(t,n,e)=>{var r=e(4132),o=e(8347);t.exports=function(t,n,e,i){var a=!e;e||(e={});for(var u=-1,c=n.length;++u<c;){var l=n[u],s=i?i(e[l],t[l],l,e,t):void 0;void 0===s&&(s=t[l]),a?o(e,l,s):r(e,l,s)}return e}},6092:(t,n,e)=>{var r=e(6317),o=e(8286);t.exports=function(t){return r((function(n,e){var r=-1,i=e.length,a=i>1?e[i-1]:void 0,u=i>2?e[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,u&&o(e[0],e[1],u)&&(a=i<3?void 0:a,i=1),n=Object(n);++r<i;){var c=e[r];c&&t(n,c,r,a)}return n}))}},4499:(t,n,e)=>{var r=e(3472),o=e(981),i=e(7747);t.exports=function(t){return function(n,e,a){var u=Object(n);if(!o(n)){var c=r(e,3);n=i(n),e=function(t){return c(u[t],t,u)}}var l=t(n,e,a);return l>-1?u[c?n[l]:l]:void 0}}},2507:(t,n,e)=>{var r=e(7805),o=e(8286),i=e(9139);t.exports=function(t){return function(n,e,a){return a&&"number"!=typeof a&&o(n,e,a)&&(e=a=void 0),n=i(n),void 0===e?(e=n,n=0):e=i(e),a=void 0===a?n<e?1:-1:i(a),r(n,e,a,t)}}},6602:t=>{t.exports=function(){}},5525:(t,n,e)=>{var r=e(3743),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},8705:(t,n,e)=>{var r=e(3273),o=e(1634),i=e(9914);t.exports=function(t,n,e,a,u,c){var l=1&e,s=t.length,f=n.length;if(s!=f&&!(l&&f>s))return!1;var p=c.get(t),d=c.get(n);if(p&&d)return p==n&&d==t;var h=-1,y=!0,v=2&e?new r:void 0;for(c.set(t,n),c.set(n,t);++h<s;){var g=t[h],m=n[h];if(a)var b=l?a(m,g,h,n,t,c):a(g,m,h,t,n,c);if(void 0!==b){if(b)continue;y=!1;break}if(v){if(!o(n,(function(t,n){if(!i(v,n)&&(g===t||u(g,t,e,a,c)))return v.push(n)}))){y=!1;break}}else if(g!==m&&!u(g,m,e,a,c)){y=!1;break}}return c.delete(t),c.delete(n),y}},2813:t=>{t.exports=function(t,n){return t===n||t!=t&&n!=n}},6682:(t,n,e)=>{var r=e(8143),o=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,i,a,u){var c=1&e,l=r(t),s=l.length;if(s!=r(n).length&&!c)return!1;for(var f=s;f--;){var p=l[f];if(!(c?p in n:o.call(n,p)))return!1}var d=u.get(t),h=u.get(n);if(d&&h)return d==n&&h==t;var y=!0;u.set(t,n),u.set(n,t);for(var v=c;++f<s;){var g=t[p=l[f]],m=n[p];if(i)var b=c?i(m,g,p,n,t,u):i(g,m,p,t,n,u);if(!(void 0===b?g===m||a(g,m,e,i,u):b)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var x=t.constructor,w=n.constructor;x==w||!("constructor"in t)||!("constructor"in n)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(y=!1)}return u.delete(t),u.delete(n),y}},5557:(t,n,e)=>{var r=e(2645),o=e(4280),i=e(201);t.exports=function(t){return i(o(t,void 0,r),t+"")}},2117:(t,n,e)=>{var r="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g;t.exports=r},8143:(t,n,e)=>{var r=e(5125)(Object.keys,Object);t.exports=r},7271:t=>{t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},597:(t,n,e)=>{var r=e(5385),o=e(7747);t.exports=function(t){for(var n=o(t),e=n.length;e--;){var i=n[e],a=t[i];n[e]=[i,a,r(a)]}return n}},3743:t=>{t.exports=function(t,n){return null==t?void 0:t[n]}},9817:(t,n,e)=>{var r=e(5125)(Object.getPrototypeOf,Object);t.exports=r},9667:t=>{var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},3096:(t,n,e)=>{var r=e(9026),o=e(5075),i=e(163),a=e(9099),u=e(8454),c=e(3110);t.exports=function(t,n,e){for(var l=-1,s=(n=r(n,t)).length,f=!1;++l<s;){var p=c(n[l]);if(!(f=null!=t&&e(t,p)))break;t=t[p]}return f||++l!=s?f:!!(s=null==t?0:t.length)&&u(s)&&a(p,s)&&(i(t)||o(t))}},3608:(t,n,e)=>{var r=e(2596),o=e(5075),i=e(163),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},9099:t=>{var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},8286:t=>{t.exports=function(){return!1}},726:(t,n,e)=>{var r=e(163),o=e(1995),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,n){if(r(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!o(t))||a.test(t)||!i.test(t)||null!=n&&t in Object(n)}},5782:t=>{t.exports=function(){return!1}},5385:(t,n,e)=>{var r=e(7709);t.exports=function(t){return t==t&&!r(t)}},1171:t=>{t.exports=function(){this.__data__=[],this.size=0}},7838:(t,n,e)=>{var r=e(3162),o=Array.prototype.splice;t.exports=function(t){var n=this.__data__,e=r(n,t);return!(e<0||(e==n.length-1?n.pop():o.call(n,e,1),--this.size,0))}},4859:(t,n,e)=>{var r=e(3162);t.exports=function(t){var n=this.__data__,e=r(n,t);return e<0?void 0:n[e][1]}},4073:(t,n,e)=>{var r=e(3162);t.exports=function(t){return r(this.__data__,t)>-1}},8541:(t,n,e)=>{var r=e(3162);t.exports=function(t,n){var e=this.__data__,o=r(e,t);return o<0?(++this.size,e.push([t,n])):e[o][1]=n,this}},6878:t=>{t.exports=function(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}},2453:t=>{t.exports=function(t){return t}},2348:(t,n,e)=>{t=e.nmd(t);var r=e(2117),o=n&&!n.nodeType&&n,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,u=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u},5125:t=>{t.exports=function(t,n){return function(e){return t(n(e))}}},4280:(t,n,e)=>{var r=e(6082),o=Math.max;t.exports=function(t,n,e){return n=o(void 0===n?t.length-1:n,0),function(){for(var i=arguments,a=-1,u=o(i.length-n,0),c=Array(u);++a<u;)c[a]=i[n+a];a=-1;for(var l=Array(n+1);++a<n;)l[a]=i[a];return l[n]=e(c),r(t,this,l)}}},2373:(t,n,e)=>{var r=e(2117),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},6226:t=>{t.exports=function(){return[]}},201:t=>{t.exports=function(t){return t}},7801:(t,n,e)=>{var r=e(2453),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(o,(function(t,e,r,o){n.push(r?o.replace(i,"$1"):e||t)})),n}));t.exports=a},3110:(t,n,e)=>{var r=e(1995);t.exports=function(t){if("string"==typeof t||r(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},4120:t=>{var n=/\s/;t.exports=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},156:(t,n,e)=>{var r=e(4132),o=e(9021),i=e(6092),a=e(981),u=e(5782),c=e(7747),l=Object.prototype.hasOwnProperty,s=i((function(t,n){if(u(n)||a(n))o(n,c(n),t);else for(var e in n)l.call(n,e)&&r(t,e,n[e])}));t.exports=s},1893:(t,n,e)=>{var r=e(6317),o=e(788),i=e(8286),a=e(8855),u=Object.prototype,c=u.hasOwnProperty,l=r((function(t,n){t=Object(t);var e=-1,r=n.length,l=r>2?n[2]:void 0;for(l&&i(n[0],n[1],l)&&(r=1);++e<r;)for(var s=n[e],f=a(s),p=-1,d=f.length;++p<d;){var h=f[p],y=t[h];(void 0===y||o(y,u[h])&&!c.call(t,h))&&(t[h]=s[h])}return t}));t.exports=l},6354:(t,n,e)=>{var r=e(1377),o=e(6457),i=e(6317),a=e(7605),u=i((function(t,n){return a(t)?r(t,o(n,1,a,!0)):[]}));t.exports=u},788:t=>{t.exports=function(t,n){return t===n||t!=t&&n!=n}},9992:(t,n,e)=>{var r=e(4499)(e(5541));t.exports=r},5541:(t,n,e)=>{var r=e(3705),o=e(3472),i=e(982),a=Math.max;t.exports=function(t,n,e){var u=null==t?0:t.length;if(!u)return-1;var c=null==e?0:i(e);return c<0&&(c=a(u+c,0)),r(t,o(n,3),c)}},2645:(t,n,e)=>{var r=e(6457);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9201:(t,n,e)=>{var r=e(4432);t.exports=function(t,n,e){var o=null==t?void 0:r(t,n);return void 0===o?e:o}},5066:(t,n,e)=>{var r=e(6776),o=e(3096);t.exports=function(t,n){return null!=t&&o(t,n,r)}},5346:t=>{t.exports=function(t){return t}},6149:(t,n,e)=>{var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},5075:t=>{t.exports=function(){return!1}},163:t=>{var n=Array.isArray;t.exports=n},981:(t,n,e)=>{var r=e(9642),o=e(8454);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},7605:(t,n,e)=>{var r=e(981),o=e(3474);t.exports=function(t){return o(t)&&r(t)}},4801:t=>{t.exports=function(){return!1}},4295:(t,n,e)=>{var r=e(7537),o=e(9110),i=e(2348),a=i&&i.isDate,u=a?o(a):r;t.exports=u},4155:(t,n,e)=>{var r=e(7190),o=e(9667),i=e(5075),a=e(163),u=e(981),c=e(4801),l=e(5782),s=e(4289),f=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(u(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||c(t)||s(t)||i(t)))return!t.length;var n=o(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(l(t))return!r(t).length;for(var e in t)if(f.call(t,e))return!1;return!0}},8254:(t,n,e)=>{var r=e(9070);t.exports=function(t,n){return r(t,n)}},9642:(t,n,e)=>{var r=e(563),o=e(7709);t.exports=function(t){if(!o(t))return!1;var n=r(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},8454:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},9555:t=>{t.exports=function(t){return null==t}},7709:t=>{t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},3474:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},3849:(t,n,e)=>{var r=e(563),o=e(9817),i=e(3474),a=Function.prototype,u=Object.prototype,c=a.toString,l=u.hasOwnProperty,s=c.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var n=o(t);if(null===n)return!0;var e=l.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&c.call(e)==s}},5395:(t,n,e)=>{var r=e(2229),o=e(9110),i=e(2348),a=i&&i.isRegExp,u=a?o(a):r;t.exports=u},1995:t=>{t.exports=function(){return!1}},4289:t=>{t.exports=function(){return!1}},8999:t=>{t.exports=function(t){return void 0===t}},7747:(t,n,e)=>{var r=e(5125)(Object.keys,Object);t.exports=r},8855:t=>{t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},1950:t=>{t.exports=function(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}},1594:(t,n,e)=>{var r=e(503);function o(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,o=n?n.apply(this,r):r[0],i=e.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return e.cache=i.set(o,a)||i,a};return e.cache=new(o.Cache||r),e}o.Cache=r,t.exports=o},6051:t=>{t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}},1616:(t,n,e)=>{var r=e(3472),o=e(6051),i=e(4912);t.exports=function(t,n){return i(t,o(r(n)))}},4143:(t,n,e)=>{var r=e(8245),o=e(163);t.exports=function(t,n,e,i){return null==t?[]:(o(n)||(n=null==n?[]:[n]),o(e=i?void 0:e)||(e=null==e?[]:[e]),r(t,n,e))}},9082:(t,n,e)=>{var r=e(5436),o=e(5557)((function(t,n){return null==t?{}:r(t,n)}));t.exports=o},4912:(t,n,e)=>{var r=e(8644),o=e(3472),i=e(6371),a=e(7271);t.exports=function(t,n){if(null==t)return{};var e=r(a(t),(function(t){return[t]}));return n=o(n),i(t,e,(function(t,e){return n(t,e[0])}))}},8532:(t,n,e)=>{var r=e(1600),o=e(3301),i=e(726),a=e(3110);t.exports=function(t){return i(t)?r(a(t)):o(t)}},8825:(t,n,e)=>{var r=e(2507)();t.exports=r},2829:(t,n,e)=>{var r=e(7556);t.exports=function(t){return t&&t.length?r(t):[]}},9139:(t,n,e)=>{var r=e(5812);t.exports=function(t){return t?Infinity===(t=r(t))||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},982:(t,n,e)=>{var r=e(9139);t.exports=function(t){var n=r(t),e=n%1;return n==n?e?n-e:n:0}},5812:(t,n,e)=>{var r=e(1367),o=e(7709),i=e(1995),a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=o(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var e=u.test(t);return e||c.test(t)?l(t.slice(2),e?2:8):a.test(t)?NaN:+t}},7010:(t,n,e)=>{var r=e(6316);t.exports=function(t){return null==t?"":r(t)}},9602:(t,n,e)=>{var r=e(946);t.exports=function(t){return t&&t.length?r(t):[]}},660:(t,n,e)=>{var r=e(7010),o=0;t.exports=function(t){var n=++o;return r(t)+n}},4882:(t,n,e)=>{var r=e(1377),o=e(6317),i=e(7605),a=o((function(t,n){return i(t)?r(t,n):[]}));t.exports=a},2504:(t,n,e)=>{"use strict";var r=e(2265);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,n,e,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function n(){return t}t.isRequired=t;var e={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:n,element:t,elementType:t,instanceOf:n,node:t,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:i,resetWarningCache:o};return e.PropTypes=e,e}},3698:(t,n,e)=>{t.exports=e(2504)()},2265:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7491:t=>{var n="undefined"!=typeof Element,e="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var u,c,l,s;if(Array.isArray(t)){if((u=t.length)!=a.length)return!1;for(c=u;0!=c--;)if(!i(t[c],a[c]))return!1;return!0}if(e&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(s=t.entries();!(c=s.next()).done;)if(!a.has(c.value[0]))return!1;for(s=t.entries();!(c=s.next()).done;)if(!i(c.value[1],a.get(c.value[0])))return!1;return!0}if(r&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(s=t.entries();!(c=s.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((u=t.length)!=a.length)return!1;for(c=u;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((u=(l=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(c=u;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,l[c]))return!1;if(n&&t instanceof Element)return!1;for(c=u;0!=c--;)if(("_owner"!==l[c]&&"__v"!==l[c]&&"__o"!==l[c]||!t.$$typeof)&&!i(t[l[c]],a[l[c]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,n){try{return i(t,n)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},9787:n=>{"use strict";n.exports=t}},e={};function r(t){var o=e[t];if(void 0!==o)return o.exports;var i=e[t]={id:t,loaded:!1,exports:{}};return n[t](i,i.exports,r),i.loaded=!0,i.exports}r.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return r.d(n,{a:n}),n},r.d=(t,n)=>{for(var e in n)r.o(n,e)&&!r.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},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=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var o={};return(()=>{"use strict";r.r(o),r.d(o,{VictoryVoronoi:()=>Pf,Voronoi:()=>Ds});var t={};r.r(t),r.d(t,{scaleBand:()=>ct,scaleDiverging:()=>pi,scaleDivergingLog:()=>di,scaleDivergingPow:()=>yi,scaleDivergingSqrt:()=>vi,scaleDivergingSymlog:()=>hi,scaleIdentity:()=>Kn,scaleImplicit:()=>at,scaleLinear:()=>Vn,scaleLog:()=>re,scaleOrdinal:()=>ut,scalePoint:()=>st,scalePow:()=>pe,scaleQuantile:()=>je,scaleQuantize:()=>Ee,scaleRadial:()=>ve,scaleSequential:()=>oi,scaleSequentialLog:()=>ii,scaleSequentialPow:()=>ui,scaleSequentialQuantile:()=>li,scaleSequentialSqrt:()=>ci,scaleSequentialSymlog:()=>ai,scaleSqrt:()=>de,scaleSymlog:()=>ue,scaleThreshold:()=>Ae,scaleTime:()=>ti,scaleUtc:()=>ni,tickFormat:()=>Bn});var n={};r.r(n),r.d(n,{easeBack:()=>Cl,easeBackIn:()=>Sl,easeBackInOut:()=>Cl,easeBackOut:()=>Pl,easeBounce:()=>El,easeBounceIn:()=>jl,easeBounceInOut:()=>Al,easeBounceOut:()=>El,easeCircle:()=>Ol,easeCircleIn:()=>xl,easeCircleInOut:()=>Ol,easeCircleOut:()=>wl,easeCubic:()=>ul,easeCubicIn:()=>il,easeCubicInOut:()=>ul,easeCubicOut:()=>al,easeElastic:()=>Dl,easeElasticIn:()=>_l,easeElasticInOut:()=>Il,easeElasticOut:()=>Dl,easeExp:()=>bl,easeExpIn:()=>gl,easeExpInOut:()=>bl,easeExpOut:()=>ml,easeLinear:()=>nl,easePoly:()=>sl,easePolyIn:()=>cl,easePolyInOut:()=>sl,easePolyOut:()=>ll,easeQuad:()=>ol,easeQuadIn:()=>el,easeQuadInOut:()=>ol,easeQuadOut:()=>rl,easeSin:()=>yl,easeSinIn:()=>dl,easeSinInOut:()=>yl,easeSinOut:()=>hl});var e=r(9787),i=r.n(e),a=r(7747),u=r.n(a),c=r(156),l=r.n(c),s=r(9082),f=r.n(s),p=r(8532),d=r.n(p),h=r(9642),y=r.n(h),v=r(1893),g=r.n(v);function m(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],e={};for(var r in t)n.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function b(t){var n=function(t){return void 0!==t},e=t._x,r=t._x1,o=t._x0,i=t._voronoiX,a=t._y,u=t._y1,c=t._y0,l=t._voronoiY,s=n(r)?r:e,f=n(u)?u:a,p={x:n(i)?i:s,x0:n(o)?o:e,y:n(l)?l:f,y0:n(c)?c:a};return g()({},p,t)}function x(t,n){var e=t.scale,r=t.polar,o=t.horizontal,i=b(n),a=t.origin||{x:0,y:0},u=o?e.y(i.y):e.x(i.x),c=o?e.y(i.y0):e.x(i.x0),l=o?e.x(i.x):e.y(i.y),s=o?e.x(i.x0):e.y(i.y0);return{x:r?l*Math.cos(u)+a.x:u,x0:r?s*Math.cos(c)+a.x:c,y:r?-l*Math.sin(u)+a.y:l,y0:r?-s*Math.sin(c)+a.x:s}}function w(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"padding",e=t[n],r="number"==typeof e?e:0,o="object"==typeof e?e:{};return{top:o.top||r,bottom:o.bottom||r,left:o.left||r,right:o.right||r}}function O(t,n){return y()(t)?t(n):t}function M(t,n){return n.disableInlineStyles?{}:t&&u()(t).some((function(n){return y()(t[n])}))?u()(t).reduce((function(e,r){return e[r]=O(t[r],n),e}),{}):t}function j(t){return"number"==typeof t?t*(Math.PI/180):t}function E(t){var n=w(t),e=n.left,r=n.right,o=n.top,i=n.bottom,a=t.width,u=t.height;return Math.min(a-e-r,u-o-i)/2}function A(t,n){return t.range&&t.range[n]?t.range[n]:t.range&&Array.isArray(t.range)?t.range:t.polar?function(t,n){return"x"===n?[j(t.startAngle||0),j(t.endAngle||360)]:[t.innerRadius||0,E(t)]}(t,n):function(t,n){var e="x"!==n,r=w(t);return e?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,n)}function k(t){return y()(t)?t:null==t?function(t){return t}:d()(t)}function S(t,n,e){var r=m(t.theme&&t.theme[e]?t.theme[e]:{},["style"]),o=function(t){if(void 0!==t.horizontal||!t.children)return t.horizontal;var n=function(t){return t.reduce((function(t,e){var r=e.props||{};return t||r.horizontal||!r.children?t||r.horizontal:n(i().Children.toArray(r.children))}),!1)};return n(i().Children.toArray(t.children))}(t),a=void 0===o?{}:{horizontal:o};return g()(a,t,r,n)}function P(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,o,i=[],a=!0,u=!1;try{for(e=e.call(t);!(a=(r=e.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==e.return||e.return()}finally{if(u)throw o}}return i}}(t,n)||function(t,n){if(t){if("string"==typeof t)return C(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?C(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function T(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function _(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var D={startsWith:["data-","aria-"],exactMatch:[]},I=function(t){var n=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?T(Object(e),!0).forEach((function(n){_(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):T(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({},t);return Object.fromEntries(Object.entries(n).filter((function(t){return function(t){return!(!function(t){var n=!1;return D.startsWith.forEach((function(e){new RegExp("\\b(".concat(e,")(\\w|-)+"),"g").test(t)&&(n=!0)})),n}(t)&&!function(t){return D.exactMatch.includes(t)}(t))}(P(t,1)[0])})).map((function(n){var e=P(n,2);return[e[0],O(e[1],t)]})))},N=r(7709),R=r.n(N),L=r(660),U=r.n(L),F=r(3698),z=r.n(F),W=r(5395),H=r.n(W),q=r(9992),$=r.n(q),B=r(3849),Y=r.n(B),V=r(6149),K=r.n(V);function G(t){return function(t){if(Array.isArray(t))return Q(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return Q(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Q(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function Z(t){return Array.isArray(t)&&t.some((function(t){return t instanceof Date}))}function X(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];var o=t.concat(e);return Z(o)?new Date(Math.max.apply(Math,G(o))):Math.max.apply(Math,G(o))}function J(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];var o=t.concat(e);return Z(o)?new Date(Math.min.apply(Math,G(o))):Math.min.apply(Math,G(o))}function tt(t,n,e){t=+t,n=+n,e=(o=arguments.length)<2?(n=t,t=0,1):o<3?1:+e;for(var r=-1,o=0|Math.max(0,Math.ceil((n-t)/e)),i=new Array(o);++r<o;)i[r]=t+r*e;return i}function nt(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function et(t,n){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof n?this.interpolator(n):this.range(n)}return this}class rt extends Map{constructor(t,n=it){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const[n,e]of t)this.set(n,e)}get(t){return super.get(ot(this,t))}has(t){return super.has(ot(this,t))}set(t,n){return super.set(function({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):(t.set(r,e),e)}(this,t),n)}delete(t){return super.delete(function({_intern:t,_key:n},e){const r=n(e);return t.has(r)&&(e=t.get(r),t.delete(r)),e}(this,t))}}function ot({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function it(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;const at=Symbol("implicit");function ut(){var t=new rt,n=[],e=[],r=at;function o(o){let i=t.get(o);if(void 0===i){if(r!==at)return r;t.set(o,i=n.push(o)-1)}return e[i%e.length]}return o.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new rt;for(const r of e)t.has(r)||t.set(r,n.push(r)-1);return o},o.range=function(t){return arguments.length?(e=Array.from(t),o):e.slice()},o.unknown=function(t){return arguments.length?(r=t,o):r},o.copy=function(){return ut(n,e).unknown(r)},nt.apply(o,arguments),o}function ct(){var t,n,e=ut().unknown(void 0),r=e.domain,o=e.range,i=0,a=1,u=!1,c=0,l=0,s=.5;function f(){var e=r().length,f=a<i,p=f?a:i,d=f?i:a;t=(d-p)/Math.max(1,e-c+2*l),u&&(t=Math.floor(t)),p+=(d-p-t*(e-c))*s,n=t*(1-c),u&&(p=Math.round(p),n=Math.round(n));var h=tt(e).map((function(n){return p+t*n}));return o(f?h.reverse():h)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),f()):r()},e.range=function(t){return arguments.length?([i,a]=t,i=+i,a=+a,f()):[i,a]},e.rangeRound=function(t){return[i,a]=t,i=+i,a=+a,u=!0,f()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(u=!!t,f()):u},e.padding=function(t){return arguments.length?(c=Math.min(1,l=+t),f()):c},e.paddingInner=function(t){return arguments.length?(c=Math.min(1,t),f()):c},e.paddingOuter=function(t){return arguments.length?(l=+t,f()):l},e.align=function(t){return arguments.length?(s=Math.max(0,Math.min(1,t)),f()):s},e.copy=function(){return ct(r(),[i,a]).round(u).paddingInner(c).paddingOuter(l).align(s)},nt.apply(f(),arguments)}function lt(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return lt(n())},t}function st(){return lt(ct.apply(null,arguments).paddingInner(1))}var ft=Math.sqrt(50),pt=Math.sqrt(10),dt=Math.sqrt(2);function ht(t,n,e){var r,o,i,a,u=-1;if(e=+e,(t=+t)==(n=+n)&&e>0)return[t];if((r=n<t)&&(o=t,t=n,n=o),0===(a=yt(t,n,e))||!isFinite(a))return[];if(a>0){let e=Math.round(t/a),r=Math.round(n/a);for(e*a<t&&++e,r*a>n&&--r,i=new Array(o=r-e+1);++u<o;)i[u]=(e+u)*a}else{a=-a;let e=Math.round(t*a),r=Math.round(n*a);for(e/a<t&&++e,r/a>n&&--r,i=new Array(o=r-e+1);++u<o;)i[u]=(e+u)/a}return r&&i.reverse(),i}function yt(t,n,e){var r=(n-t)/Math.max(0,e),o=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,o);return o>=0?(i>=ft?10:i>=pt?5:i>=dt?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=ft?10:i>=pt?5:i>=dt?2:1)}function vt(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=ft?o*=10:i>=pt?o*=5:i>=dt&&(o*=2),n<t?-o:o}function gt(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function mt(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function bt(t){let n,e,r;function o(t,r,o=0,i=t.length){if(o<i){if(0!==n(r,r))return i;do{const n=o+i>>>1;e(t[n],r)<0?o=n+1:i=n}while(o<i)}return o}return 2!==t.length?(n=gt,e=(n,e)=>gt(t(n),e),r=(n,e)=>t(n)-e):(n=t===gt||t===mt?t:xt,e=t,r=t),{left:o,center:function(t,n,e=0,i=t.length){const a=o(t,n,e,i-1);return a>e&&r(t[a-1],n)>-r(t[a],n)?a-1:a},right:function(t,r,o=0,i=t.length){if(o<i){if(0!==n(r,r))return i;do{const n=o+i>>>1;e(t[n],r)<=0?o=n+1:i=n}while(o<i)}return o}}}function xt(){return 0}function wt(t){return null===t?NaN:+t}const Ot=bt(gt),Mt=Ot.right,jt=(Ot.left,bt(wt).center,Mt);function Et(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function At(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function kt(){}var St=.7,Pt=1/St,Ct="\\s*([+-]?\\d+)\\s*",Tt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",_t="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Dt=/^#([0-9a-f]{3,8})$/,It=new RegExp(`^rgb\\(${Ct},${Ct},${Ct}\\)$`),Nt=new RegExp(`^rgb\\(${_t},${_t},${_t}\\)$`),Rt=new RegExp(`^rgba\\(${Ct},${Ct},${Ct},${Tt}\\)$`),Lt=new RegExp(`^rgba\\(${_t},${_t},${_t},${Tt}\\)$`),Ut=new RegExp(`^hsl\\(${Tt},${_t},${_t}\\)$`),Ft=new RegExp(`^hsla\\(${Tt},${_t},${_t},${Tt}\\)$`),zt={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 Wt(){return this.rgb().formatHex()}function Ht(){return this.rgb().formatRgb()}function qt(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=Dt.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?$t(n):3===e?new Kt(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?Bt(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?Bt(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=It.exec(t))?new Kt(n[1],n[2],n[3],1):(n=Nt.exec(t))?new Kt(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Rt.exec(t))?Bt(n[1],n[2],n[3],n[4]):(n=Lt.exec(t))?Bt(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Ut.exec(t))?tn(n[1],n[2]/100,n[3]/100,1):(n=Ft.exec(t))?tn(n[1],n[2]/100,n[3]/100,n[4]):zt.hasOwnProperty(t)?$t(zt[t]):"transparent"===t?new Kt(NaN,NaN,NaN,0):null}function $t(t){return new Kt(t>>16&255,t>>8&255,255&t,1)}function Bt(t,n,e,r){return r<=0&&(t=n=e=NaN),new Kt(t,n,e,r)}function Yt(t){return t instanceof kt||(t=qt(t)),t?new Kt((t=t.rgb()).r,t.g,t.b,t.opacity):new Kt}function Vt(t,n,e,r){return 1===arguments.length?Yt(t):new Kt(t,n,e,null==r?1:r)}function Kt(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Gt(){return`#${Jt(this.r)}${Jt(this.g)}${Jt(this.b)}`}function Qt(){const t=Zt(this.opacity);return`${1===t?"rgb(":"rgba("}${Xt(this.r)}, ${Xt(this.g)}, ${Xt(this.b)}${1===t?")":`, ${t})`}`}function Zt(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Xt(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Jt(t){return((t=Xt(t))<16?"0":"")+t.toString(16)}function tn(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new en(t,n,e,r)}function nn(t){if(t instanceof en)return new en(t.h,t.s,t.l,t.opacity);if(t instanceof kt||(t=qt(t)),!t)return new en;if(t instanceof en)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,o=Math.min(n,e,r),i=Math.max(n,e,r),a=NaN,u=i-o,c=(i+o)/2;return u?(a=n===i?(e-r)/u+6*(e<r):e===i?(r-n)/u+2:(n-e)/u+4,u/=c<.5?i+o:2-i-o,a*=60):u=c>0&&c<1?0:a,new en(a,u,c,t.opacity)}function en(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function rn(t){return(t=(t||0)%360)<0?t+360:t}function on(t){return Math.max(0,Math.min(1,t||0))}function an(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function un(t,n,e,r,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*n+(4-6*i+3*a)*e+(1+3*t+3*i-3*a)*r+a*o)/6}Et(kt,qt,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Wt,formatHex:Wt,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return nn(this).formatHsl()},formatRgb:Ht,toString:Ht}),Et(Kt,Vt,At(kt,{brighter(t){return t=null==t?Pt:Math.pow(Pt,t),new Kt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?St:Math.pow(St,t),new Kt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Kt(Xt(this.r),Xt(this.g),Xt(this.b),Zt(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:Gt,formatHex:Gt,formatHex8:function(){return`#${Jt(this.r)}${Jt(this.g)}${Jt(this.b)}${Jt(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Qt,toString:Qt})),Et(en,(function(t,n,e,r){return 1===arguments.length?nn(t):new en(t,n,e,null==r?1:r)}),At(kt,{brighter(t){return t=null==t?Pt:Math.pow(Pt,t),new en(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?St:Math.pow(St,t),new en(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,o=2*e-r;return new Kt(an(t>=240?t-240:t+120,o,r),an(t,o,r),an(t<120?t+240:t-120,o,r),this.opacity)},clamp(){return new en(rn(this.h),on(this.s),on(this.l),Zt(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=Zt(this.opacity);return`${1===t?"hsl(":"hsla("}${rn(this.h)}, ${100*on(this.s)}%, ${100*on(this.l)}%${1===t?")":`, ${t})`}`}}));const cn=t=>()=>t;function ln(t,n){var e=n-t;return e?function(t,n){return function(e){return t+e*n}}(t,e):cn(isNaN(t)?n:t)}const sn=function t(n){var e=function(t){return 1==(t=+t)?ln:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):cn(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=Vt(t)).r,(n=Vt(n)).r),o=e(t.g,n.g),i=e(t.b,n.b),a=ln(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=o(n),t.b=i(n),t.opacity=a(n),t+""}}return r.gamma=t,r}(1);function fn(t){return function(n){var e,r,o=n.length,i=new Array(o),a=new Array(o),u=new Array(o);for(e=0;e<o;++e)r=Vt(n[e]),i[e]=r.r||0,a[e]=r.g||0,u[e]=r.b||0;return i=t(i),a=t(a),u=t(u),r.opacity=1,function(t){return r.r=i(t),r.g=a(t),r.b=u(t),r+""}}}function pn(t,n){var e,r=n?n.length:0,o=t?Math.min(r,t.length):0,i=new Array(o),a=new Array(r);for(e=0;e<o;++e)i[e]=xn(t[e],n[e]);for(;e<r;++e)a[e]=n[e];return function(t){for(e=0;e<o;++e)a[e]=i[e](t);return a}}function dn(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}function hn(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}function yn(t,n){var e,r={},o={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?r[e]=xn(t[e],n[e]):o[e]=n[e];return function(t){for(e in r)o[e]=r[e](t);return o}}fn((function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),o=t[r],i=t[r+1],a=r>0?t[r-1]:2*o-i,u=r<n-1?t[r+2]:2*i-o;return un((e-r/n)*n,a,o,i,u)}})),fn((function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),o=t[(r+n-1)%n],i=t[r%n],a=t[(r+1)%n],u=t[(r+2)%n];return un((e-r/n)*n,o,i,a,u)}}));var vn=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,gn=new RegExp(vn.source,"g");function mn(t,n){var e,r,o,i=vn.lastIndex=gn.lastIndex=0,a=-1,u=[],c=[];for(t+="",n+="";(e=vn.exec(t))&&(r=gn.exec(n));)(o=r.index)>i&&(o=n.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(e=e[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,c.push({i:a,x:hn(e,r)})),i=gn.lastIndex;return i<n.length&&(o=n.slice(i),u[a]?u[a]+=o:u[++a]=o),u.length<2?c[0]?function(t){return function(n){return t(n)+""}}(c[0].x):function(t){return function(){return t}}(n):(n=c.length,function(t){for(var e,r=0;r<n;++r)u[(e=c[r]).i]=e.x(t);return u.join("")})}function bn(t,n){n||(n=[]);var e,r=t?Math.min(n.length,t.length):0,o=n.slice();return function(i){for(e=0;e<r;++e)o[e]=t[e]*(1-i)+n[e]*i;return o}}function xn(t,n){var e,r,o=typeof n;return null==n||"boolean"===o?cn(n):("number"===o?hn:"string"===o?(e=qt(n))?(n=e,sn):mn:n instanceof qt?sn:n instanceof Date?dn:(r=n,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(n)?pn:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?yn:hn:bn))(t,n)}function wn(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function On(t){return+t}var Mn=[0,1];function jn(t){return t}function En(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:(e=isNaN(n)?NaN:.5,function(){return e});var e}function An(t,n,e){var r=t[0],o=t[1],i=n[0],a=n[1];return o<r?(r=En(o,r),i=e(a,i)):(r=En(r,o),i=e(i,a)),function(t){return i(r(t))}}function kn(t,n,e){var r=Math.min(t.length,n.length)-1,o=new Array(r),i=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<r;)o[a]=En(t[a],t[a+1]),i[a]=e(n[a],n[a+1]);return function(n){var e=jt(t,n,1,r)-1;return i[e](o[e](n))}}function Sn(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Pn(){var t,n,e,r,o,i,a=Mn,u=Mn,c=xn,l=jn;function s(){var t,n,e,c=Math.min(a.length,u.length);return l!==jn&&(t=a[0],n=a[c-1],t>n&&(e=t,t=n,n=e),l=function(e){return Math.max(t,Math.min(n,e))}),r=c>2?kn:An,o=i=null,f}function f(n){return null==n||isNaN(n=+n)?e:(o||(o=r(a.map(t),u,c)))(t(l(n)))}return f.invert=function(e){return l(n((i||(i=r(u,a.map(t),hn)))(e)))},f.domain=function(t){return arguments.length?(a=Array.from(t,On),s()):a.slice()},f.range=function(t){return arguments.length?(u=Array.from(t),s()):u.slice()},f.rangeRound=function(t){return u=Array.from(t),c=wn,s()},f.clamp=function(t){return arguments.length?(l=!!t||jn,s()):l!==jn},f.interpolate=function(t){return arguments.length?(c=t,s()):c},f.unknown=function(t){return arguments.length?(e=t,f):e},function(e,r){return t=e,n=r,s()}}function Cn(){return Pn()(jn,jn)}var Tn,_n=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Dn(t){if(!(n=_n.exec(t)))throw new Error("invalid format: "+t);var n;return new In({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function In(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function Nn(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}function Rn(t){return(t=Nn(Math.abs(t)))?t[1]:NaN}function Ln(t,n){var e=Nn(t,n);if(!e)return t+"";var r=e[0],o=e[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}Dn.prototype=In.prototype,In.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const Un={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>Ln(100*t,n),r:Ln,s:function(t,n){var e=Nn(t,n);if(!e)return t+"";var r=e[0],o=e[1],i=o-(Tn=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+Nn(t,Math.max(0,n+i-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Fn(t){return t}var zn,Wn,Hn,qn=Array.prototype.map,$n=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Bn(t,n,e,r){var o,i=vt(t,n,e);switch((r=Dn(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(o=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Rn(n)/3)))-Rn(Math.abs(t)))}(i,a))||(r.precision=o),Hn(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Rn(n)-Rn(t))+1}(i,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(t){return Math.max(0,-Rn(Math.abs(t)))}(i))||(r.precision=o-2*("%"===r.type))}return Wn(r)}function Yn(t){var n=t.domain;return t.ticks=function(t){var e=n();return ht(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return Bn(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,o,i=n(),a=0,u=i.length-1,c=i[a],l=i[u],s=10;for(l<c&&(o=c,c=l,l=o,o=a,a=u,u=o);s-- >0;){if((o=yt(c,l,e))===r)return i[a]=c,i[u]=l,n(i);if(o>0)c=Math.floor(c/o)*o,l=Math.ceil(l/o)*o;else{if(!(o<0))break;c=Math.ceil(c*o)/o,l=Math.floor(l*o)/o}r=o}return t},t}function Vn(){var t=Cn();return t.copy=function(){return Sn(t,Vn())},nt.apply(t,arguments),Yn(t)}function Kn(t){var n;function e(t){return null==t||isNaN(t=+t)?n:t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=Array.from(n,On),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return Kn(t).unknown(n)},t=arguments.length?Array.from(t,On):[0,1],Yn(e)}function Gn(t,n){var e,r=0,o=(t=t.slice()).length-1,i=t[r],a=t[o];return a<i&&(e=r,r=o,o=e,e=i,i=a,a=e),t[r]=n.floor(i),t[o]=n.ceil(a),t}function Qn(t){return Math.log(t)}function Zn(t){return Math.exp(t)}function Xn(t){return-Math.log(-t)}function Jn(t){return-Math.exp(-t)}function te(t){return isFinite(t)?+("1e"+t):t<0?0:t}function ne(t){return(n,e)=>-t(-n,e)}function ee(t){const n=t(Qn,Zn),e=n.domain;let r,o,i=10;function a(){return r=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),n=>Math.log(n)/t)}(i),o=function(t){return 10===t?te:t===Math.E?Math.exp:n=>Math.pow(t,n)}(i),e()[0]<0?(r=ne(r),o=ne(o),t(Xn,Jn)):t(Qn,Zn),n}return n.base=function(t){return arguments.length?(i=+t,a()):i},n.domain=function(t){return arguments.length?(e(t),a()):e()},n.ticks=t=>{const n=e();let a=n[0],u=n[n.length-1];const c=u<a;c&&([a,u]=[u,a]);let l,s,f=r(a),p=r(u);const d=null==t?10:+t;let h=[];if(!(i%1)&&p-f<d){if(f=Math.floor(f),p=Math.ceil(p),a>0){for(;f<=p;++f)for(l=1;l<i;++l)if(s=f<0?l/o(-f):l*o(f),!(s<a)){if(s>u)break;h.push(s)}}else for(;f<=p;++f)for(l=i-1;l>=1;--l)if(s=f>0?l/o(-f):l*o(f),!(s<a)){if(s>u)break;h.push(s)}2*h.length<d&&(h=ht(a,u,d))}else h=ht(f,p,Math.min(p-f,d)).map(o);return c?h.reverse():h},n.tickFormat=(t,e)=>{if(null==t&&(t=10),null==e&&(e=10===i?"s":","),"function"!=typeof e&&(i%1||null!=(e=Dn(e)).precision||(e.trim=!0),e=Wn(e)),t===1/0)return e;const a=Math.max(1,i*t/n.ticks().length);return t=>{let n=t/o(Math.round(r(t)));return n*i<i-.5&&(n*=i),n<=a?e(t):""}},n.nice=()=>e(Gn(e(),{floor:t=>o(Math.floor(r(t))),ceil:t=>o(Math.ceil(r(t)))})),n}function re(){const t=ee(Pn()).domain([1,10]);return t.copy=()=>Sn(t,re()).base(t.base()),nt.apply(t,arguments),t}function oe(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function ie(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function ae(t){var n=1,e=t(oe(n),ie(n));return e.constant=function(e){return arguments.length?t(oe(n=+e),ie(n)):n},Yn(e)}function ue(){var t=ae(Pn());return t.copy=function(){return Sn(t,ue()).constant(t.constant())},nt.apply(t,arguments)}function ce(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function le(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function se(t){return t<0?-t*t:t*t}function fe(t){var n=t(jn,jn),e=1;function r(){return 1===e?t(jn,jn):.5===e?t(le,se):t(ce(e),ce(1/e))}return n.exponent=function(t){return arguments.length?(e=+t,r()):e},Yn(n)}function pe(){var t=fe(Pn());return t.copy=function(){return Sn(t,pe()).exponent(t.exponent())},nt.apply(t,arguments),t}function de(){return pe.apply(null,arguments).exponent(.5)}function he(t){return Math.sign(t)*t*t}function ye(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function ve(){var t,n=Cn(),e=[0,1],r=!1;function o(e){var o=ye(n(e));return isNaN(o)?t:r?Math.round(o):o}return o.invert=function(t){return n.invert(he(t))},o.domain=function(t){return arguments.length?(n.domain(t),o):n.domain()},o.range=function(t){return arguments.length?(n.range((e=Array.from(t,On)).map(he)),o):e.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(r=!!t,o):r},o.clamp=function(t){return arguments.length?(n.clamp(t),o):n.clamp()},o.unknown=function(n){return arguments.length?(t=n,o):t},o.copy=function(){return ve(n.domain(),e).round(r).clamp(n.clamp()).unknown(t)},nt.apply(o,arguments),Yn(o)}function ge(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e<n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let o of t)null!=(o=n(o,++r,t))&&(e<o||void 0===e&&o>=o)&&(e=o)}return e}function me(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e>n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let o of t)null!=(o=n(o,++r,t))&&(e>o||void 0===e&&o>=o)&&(e=o)}return e}function be(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}function xe(t,n,e=0,r=t.length-1,o){for(o=void 0===o?be:function(t=gt){if(t===gt)return be;if("function"!=typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}(o);r>e;){if(r-e>600){const i=r-e+1,a=n-e+1,u=Math.log(i),c=.5*Math.exp(2*u/3),l=.5*Math.sqrt(u*c*(i-c)/i)*(a-i/2<0?-1:1);xe(t,n,Math.max(e,Math.floor(n-a*c/i+l)),Math.min(r,Math.floor(n+(i-a)*c/i+l)),o)}const i=t[n];let a=e,u=r;for(we(t,e,n),o(t[r],i)>0&&we(t,e,r);a<u;){for(we(t,a,u),++a,--u;o(t[a],i)<0;)++a;for(;o(t[u],i)>0;)--u}0===o(t[e],i)?we(t,e,u):(++u,we(t,u,r)),u<=n&&(e=u+1),n<=u&&(r=u-1)}return t}function we(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function Oe(t,n,e){if(t=Float64Array.from(function*(t,n){if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(yield n);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(r=+r)>=r&&(yield r)}}(t,e)),r=t.length){if((n=+n)<=0||r<2)return me(t);if(n>=1)return ge(t);var r,o=(r-1)*n,i=Math.floor(o),a=ge(xe(t,i).subarray(0,i+1));return a+(me(t.subarray(i+1))-a)*(o-i)}}function Me(t,n,e=wt){if(r=t.length){if((n=+n)<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,o=(r-1)*n,i=Math.floor(o),a=+e(t[i],i,t);return a+(+e(t[i+1],i+1,t)-a)*(o-i)}}function je(){var t,n=[],e=[],r=[];function o(){var t=0,o=Math.max(1,e.length);for(r=new Array(o-1);++t<o;)r[t-1]=Me(n,t/o);return i}function i(n){return null==n||isNaN(n=+n)?t:e[jt(r,n)]}return i.invertExtent=function(t){var o=e.indexOf(t);return o<0?[NaN,NaN]:[o>0?r[o-1]:n[0],o<r.length?r[o]:n[n.length-1]]},i.domain=function(t){if(!arguments.length)return n.slice();n=[];for(let e of t)null==e||isNaN(e=+e)||n.push(e);return n.sort(gt),o()},i.range=function(t){return arguments.length?(e=Array.from(t),o()):e.slice()},i.unknown=function(n){return arguments.length?(t=n,i):t},i.quantiles=function(){return r.slice()},i.copy=function(){return je().domain(n).range(e).unknown(t)},nt.apply(i,arguments)}function Ee(){var t,n=0,e=1,r=1,o=[.5],i=[0,1];function a(n){return null!=n&&n<=n?i[jt(o,n,0,r)]:t}function u(){var t=-1;for(o=new Array(r);++t<r;)o[t]=((t+1)*e-(t-r)*n)/(r+1);return a}return a.domain=function(t){return arguments.length?([n,e]=t,n=+n,e=+e,u()):[n,e]},a.range=function(t){return arguments.length?(r=(i=Array.from(t)).length-1,u()):i.slice()},a.invertExtent=function(t){var a=i.indexOf(t);return a<0?[NaN,NaN]:a<1?[n,o[0]]:a>=r?[o[r-1],e]:[o[a-1],o[a]]},a.unknown=function(n){return arguments.length?(t=n,a):a},a.thresholds=function(){return o.slice()},a.copy=function(){return Ee().domain([n,e]).range(i).unknown(t)},nt.apply(Yn(a),arguments)}function Ae(){var t,n=[.5],e=[0,1],r=1;function o(o){return null!=o&&o<=o?e[jt(n,o,0,r)]:t}return o.domain=function(t){return arguments.length?(n=Array.from(t),r=Math.min(n.length,e.length-1),o):n.slice()},o.range=function(t){return arguments.length?(e=Array.from(t),r=Math.min(n.length,e.length-1),o):e.slice()},o.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},o.unknown=function(n){return arguments.length?(t=n,o):t},o.copy=function(){return Ae().domain(n).range(e).unknown(t)},nt.apply(o,arguments)}zn=function(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?Fn:(n=qn.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var o=t.length,i=[],a=0,u=n[0],c=0;o>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),i.push(t.substring(o-=u,o+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return i.reverse().join(e)}),o=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?Fn:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(qn.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",l=void 0===t.minus?"−":t.minus+"",s=void 0===t.nan?"NaN":t.nan+"";function f(t){var n=(t=Dn(t)).fill,e=t.align,f=t.sign,p=t.symbol,d=t.zero,h=t.width,y=t.comma,v=t.precision,g=t.trim,m=t.type;"n"===m?(y=!0,m="g"):Un[m]||(void 0===v&&(v=12),g=!0,m="g"),(d||"0"===n&&"="===e)&&(d=!0,n="0",e="=");var b="$"===p?o:"#"===p&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",x="$"===p?i:/[%p]/.test(m)?c:"",w=Un[m],O=/[defgprs%]/.test(m);function M(t){var o,i,c,p=b,M=x;if("c"===m)M=w(t)+M,t="";else{var j=(t=+t)<0||1/t<0;if(t=isNaN(t)?s:w(Math.abs(t),v),g&&(t=function(t){t:for(var n,e=t.length,r=1,o=-1;r<e;++r)switch(t[r]){case".":o=n=r;break;case"0":0===o&&(o=r),n=r;break;default:if(!+t[r])break t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(n+1):t}(t)),j&&0==+t&&"+"!==f&&(j=!1),p=(j?"("===f?f:l:"-"===f||"("===f?"":f)+p,M=("s"===m?$n[8+Tn/3]:"")+M+(j&&"("===f?")":""),O)for(o=-1,i=t.length;++o<i;)if(48>(c=t.charCodeAt(o))||c>57){M=(46===c?a+t.slice(o+1):t.slice(o))+M,t=t.slice(0,o);break}}y&&!d&&(t=r(t,1/0));var E=p.length+t.length+M.length,A=E<h?new Array(h-E+1).join(n):"";switch(y&&d&&(t=r(A+t,A.length?h-M.length:1/0),A=""),e){case"<":t=p+t+M+A;break;case"=":t=p+A+t+M;break;case"^":t=A.slice(0,E=A.length>>1)+p+t+M+A.slice(E);break;default:t=A+p+t+M}return u(t)}return v=void 0===v?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),M.toString=function(){return t+""},M}return{format:f,formatPrefix:function(t,n){var e=f(((t=Dn(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Rn(n)/3))),o=Math.pow(10,-r),i=$n[8+r/3];return function(t){return e(o*t)+i}}}}({thousands:",",grouping:[3],currency:["$",""]}),Wn=zn.format,Hn=zn.formatPrefix;const ke=1e3,Se=6e4,Pe=36e5,Ce=864e5,Te=6048e5,_e=31536e6;var De=new Date,Ie=new Date;function Ne(t,n,e,r){function o(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return o.floor=function(n){return t(n=new Date(+n)),n},o.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},o.round=function(t){var n=o(t),e=o.ceil(t);return t-n<e-t?n:e},o.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},o.range=function(e,r,i){var a,u=[];if(e=o.ceil(e),i=null==i?1:Math.floor(i),!(e<r&&i>0))return u;do{u.push(a=new Date(+e)),n(e,i),t(e)}while(a<e&&e<r);return u},o.filter=function(e){return Ne((function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(o.count=function(n,r){return De.setTime(+n),Ie.setTime(+r),t(De),t(Ie),Math.floor(e(De,Ie))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(r?function(n){return r(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null}),o}var Re=Ne((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));Re.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Ne((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):Re:null};const Le=Re;Re.range;var Ue=Ne((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*ke)}),(function(t,n){return(n-t)/ke}),(function(t){return t.getUTCSeconds()}));const Fe=Ue;Ue.range;var ze=Ne((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ke)}),(function(t,n){t.setTime(+t+n*Se)}),(function(t,n){return(n-t)/Se}),(function(t){return t.getMinutes()}));const We=ze;ze.range;var He=Ne((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ke-t.getMinutes()*Se)}),(function(t,n){t.setTime(+t+n*Pe)}),(function(t,n){return(n-t)/Pe}),(function(t){return t.getHours()}));const qe=He;He.range;var $e=Ne((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Se)/Ce),(t=>t.getDate()-1));const Be=$e;function Ye(t){return Ne((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Se)/Te}))}$e.range;var Ve=Ye(0),Ke=Ye(1),Ge=Ye(2),Qe=Ye(3),Ze=Ye(4),Xe=Ye(5),Je=Ye(6),tr=(Ve.range,Ke.range,Ge.range,Qe.range,Ze.range,Xe.range,Je.range,Ne((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()})));const nr=tr;tr.range;var er=Ne((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));er.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ne((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null};const rr=er;er.range;var or=Ne((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*Se)}),(function(t,n){return(n-t)/Se}),(function(t){return t.getUTCMinutes()}));const ir=or;or.range;var ar=Ne((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*Pe)}),(function(t,n){return(n-t)/Pe}),(function(t){return t.getUTCHours()}));const ur=ar;ar.range;var cr=Ne((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/Ce}),(function(t){return t.getUTCDate()-1}));const lr=cr;function sr(t){return Ne((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/Te}))}cr.range;var fr=sr(0),pr=sr(1),dr=sr(2),hr=sr(3),yr=sr(4),vr=sr(5),gr=sr(6),mr=(fr.range,pr.range,dr.range,hr.range,yr.range,vr.range,gr.range,Ne((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCMonth(t.getUTCMonth()+n)}),(function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()})));const br=mr;mr.range;var xr=Ne((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));xr.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ne((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null};const wr=xr;function Or(t,n,e,r,o,i){const a=[[Fe,1,ke],[Fe,5,5e3],[Fe,15,15e3],[Fe,30,3e4],[i,1,Se],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,Pe],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,Ce],[r,2,1728e5],[e,1,Te],[n,1,2592e6],[n,3,7776e6],[t,1,_e]];function u(n,e,r){const o=Math.abs(e-n)/r,i=bt((([,,t])=>t)).right(a,o);if(i===a.length)return t.every(vt(n/_e,e/_e,r));if(0===i)return Le.every(Math.max(vt(n,e,r),1));const[u,c]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return u.every(c)}return[function(t,n,e){const r=n<t;r&&([t,n]=[n,t]);const o=e&&"function"==typeof e.range?e:u(t,n,e),i=o?o.range(t,+n+1):[];return r?i.reverse():i},u]}xr.range;const[Mr,jr]=Or(wr,br,fr,lr,ur,ir),[Er,Ar]=Or(rr,nr,Ve,Be,qe,We);function kr(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Sr(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Pr(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var Cr,Tr,_r,Dr={"-":"",_:" ",0:"0"},Ir=/^\s*\d+/,Nr=/^%/,Rr=/[\\^$*+?|[\]().{}]/g;function Lr(t,n,e){var r=t<0?"-":"",o=(r?-t:t)+"",i=o.length;return r+(i<e?new Array(e-i+1).join(n)+o:o)}function Ur(t){return t.replace(Rr,"\\$&")}function Fr(t){return new RegExp("^(?:"+t.map(Ur).join("|")+")","i")}function zr(t){return new Map(t.map(((t,n)=>[t.toLowerCase(),n])))}function Wr(t,n,e){var r=Ir.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function Hr(t,n,e){var r=Ir.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function qr(t,n,e){var r=Ir.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function $r(t,n,e){var r=Ir.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function Br(t,n,e){var r=Ir.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function Yr(t,n,e){var r=Ir.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function Vr(t,n,e){var r=Ir.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function Kr(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function Gr(t,n,e){var r=Ir.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function Qr(t,n,e){var r=Ir.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function Zr(t,n,e){var r=Ir.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Xr(t,n,e){var r=Ir.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Jr(t,n,e){var r=Ir.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function to(t,n,e){var r=Ir.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function no(t,n,e){var r=Ir.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function eo(t,n,e){var r=Ir.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function ro(t,n,e){var r=Ir.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function oo(t,n,e){var r=Nr.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function io(t,n,e){var r=Ir.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function ao(t,n,e){var r=Ir.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function uo(t,n){return Lr(t.getDate(),n,2)}function co(t,n){return Lr(t.getHours(),n,2)}function lo(t,n){return Lr(t.getHours()%12||12,n,2)}function so(t,n){return Lr(1+Be.count(rr(t),t),n,3)}function fo(t,n){return Lr(t.getMilliseconds(),n,3)}function po(t,n){return fo(t,n)+"000"}function ho(t,n){return Lr(t.getMonth()+1,n,2)}function yo(t,n){return Lr(t.getMinutes(),n,2)}function vo(t,n){return Lr(t.getSeconds(),n,2)}function go(t){var n=t.getDay();return 0===n?7:n}function mo(t,n){return Lr(Ve.count(rr(t)-1,t),n,2)}function bo(t){var n=t.getDay();return n>=4||0===n?Ze(t):Ze.ceil(t)}function xo(t,n){return t=bo(t),Lr(Ze.count(rr(t),t)+(4===rr(t).getDay()),n,2)}function wo(t){return t.getDay()}function Oo(t,n){return Lr(Ke.count(rr(t)-1,t),n,2)}function Mo(t,n){return Lr(t.getFullYear()%100,n,2)}function jo(t,n){return Lr((t=bo(t)).getFullYear()%100,n,2)}function Eo(t,n){return Lr(t.getFullYear()%1e4,n,4)}function Ao(t,n){var e=t.getDay();return Lr((t=e>=4||0===e?Ze(t):Ze.ceil(t)).getFullYear()%1e4,n,4)}function ko(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Lr(n/60|0,"0",2)+Lr(n%60,"0",2)}function So(t,n){return Lr(t.getUTCDate(),n,2)}function Po(t,n){return Lr(t.getUTCHours(),n,2)}function Co(t,n){return Lr(t.getUTCHours()%12||12,n,2)}function To(t,n){return Lr(1+lr.count(wr(t),t),n,3)}function _o(t,n){return Lr(t.getUTCMilliseconds(),n,3)}function Do(t,n){return _o(t,n)+"000"}function Io(t,n){return Lr(t.getUTCMonth()+1,n,2)}function No(t,n){return Lr(t.getUTCMinutes(),n,2)}function Ro(t,n){return Lr(t.getUTCSeconds(),n,2)}function Lo(t){var n=t.getUTCDay();return 0===n?7:n}function Uo(t,n){return Lr(fr.count(wr(t)-1,t),n,2)}function Fo(t){var n=t.getUTCDay();return n>=4||0===n?yr(t):yr.ceil(t)}function zo(t,n){return t=Fo(t),Lr(yr.count(wr(t),t)+(4===wr(t).getUTCDay()),n,2)}function Wo(t){return t.getUTCDay()}function Ho(t,n){return Lr(pr.count(wr(t)-1,t),n,2)}function qo(t,n){return Lr(t.getUTCFullYear()%100,n,2)}function $o(t,n){return Lr((t=Fo(t)).getUTCFullYear()%100,n,2)}function Bo(t,n){return Lr(t.getUTCFullYear()%1e4,n,4)}function Yo(t,n){var e=t.getUTCDay();return Lr((t=e>=4||0===e?yr(t):yr.ceil(t)).getUTCFullYear()%1e4,n,4)}function Vo(){return"+0000"}function Ko(){return"%"}function Go(t){return+t}function Qo(t){return Math.floor(+t/1e3)}function Zo(t){return new Date(t)}function Xo(t){return t instanceof Date?+t:+new Date(+t)}function Jo(t,n,e,r,o,i,a,u,c,l){var s=Cn(),f=s.invert,p=s.domain,d=l(".%L"),h=l(":%S"),y=l("%I:%M"),v=l("%I %p"),g=l("%a %d"),m=l("%b %d"),b=l("%B"),x=l("%Y");function w(t){return(c(t)<t?d:u(t)<t?h:a(t)<t?y:i(t)<t?v:r(t)<t?o(t)<t?g:m:e(t)<t?b:x)(t)}return s.invert=function(t){return new Date(f(t))},s.domain=function(t){return arguments.length?p(Array.from(t,Xo)):p().map(Zo)},s.ticks=function(n){var e=p();return t(e[0],e[e.length-1],null==n?10:n)},s.tickFormat=function(t,n){return null==n?w:l(n)},s.nice=function(t){var e=p();return t&&"function"==typeof t.range||(t=n(e[0],e[e.length-1],null==t?10:t)),t?p(Gn(e,t)):s},s.copy=function(){return Sn(s,Jo(t,n,e,r,o,i,a,u,c,l))},s}function ti(){return nt.apply(Jo(Er,Ar,rr,nr,Ve,Be,qe,We,Fe,Tr).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function ni(){return nt.apply(Jo(Mr,jr,wr,br,fr,lr,ur,ir,Fe,_r).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function ei(){var t,n,e,r,o,i=0,a=1,u=jn,c=!1;function l(n){return null==n||isNaN(n=+n)?o:u(0===e?.5:(n=(r(n)-t)*e,c?Math.max(0,Math.min(1,n)):n))}function s(t){return function(n){var e,r;return arguments.length?([e,r]=n,u=t(e,r),l):[u(0),u(1)]}}return l.domain=function(o){return arguments.length?([i,a]=o,t=r(i=+i),n=r(a=+a),e=t===n?0:1/(n-t),l):[i,a]},l.clamp=function(t){return arguments.length?(c=!!t,l):c},l.interpolator=function(t){return arguments.length?(u=t,l):u},l.range=s(xn),l.rangeRound=s(wn),l.unknown=function(t){return arguments.length?(o=t,l):o},function(o){return r=o,t=o(i),n=o(a),e=t===n?0:1/(n-t),l}}function ri(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function oi(){var t=Yn(ei()(jn));return t.copy=function(){return ri(t,oi())},et.apply(t,arguments)}function ii(){var t=ee(ei()).domain([1,10]);return t.copy=function(){return ri(t,ii()).base(t.base())},et.apply(t,arguments)}function ai(){var t=ae(ei());return t.copy=function(){return ri(t,ai()).constant(t.constant())},et.apply(t,arguments)}function ui(){var t=fe(ei());return t.copy=function(){return ri(t,ui()).exponent(t.exponent())},et.apply(t,arguments)}function ci(){return ui.apply(null,arguments).exponent(.5)}function li(){var t=[],n=jn;function e(e){if(null!=e&&!isNaN(e=+e))return n((jt(t,e,1)-1)/(t.length-1))}return e.domain=function(n){if(!arguments.length)return t.slice();t=[];for(let e of n)null==e||isNaN(e=+e)||t.push(e);return t.sort(gt),e},e.interpolator=function(t){return arguments.length?(n=t,e):n},e.range=function(){return t.map(((e,r)=>n(r/(t.length-1))))},e.quantiles=function(n){return Array.from({length:n+1},((e,r)=>Oe(t,r/n)))},e.copy=function(){return li(n).domain(t)},et.apply(e,arguments)}function si(t,n){void 0===n&&(n=t,t=xn);for(var e=0,r=n.length-1,o=n[0],i=new Array(r<0?0:r);e<r;)i[e]=t(o,o=n[++e]);return function(t){var n=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return i[n](t-n)}}function fi(){var t,n,e,r,o,i,a,u=0,c=.5,l=1,s=1,f=jn,p=!1;function d(t){return isNaN(t=+t)?a:(t=.5+((t=+i(t))-n)*(s*t<s*n?r:o),f(p?Math.max(0,Math.min(1,t)):t))}function h(t){return function(n){var e,r,o;return arguments.length?([e,r,o]=n,f=si(t,[e,r,o]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([u,c,l]=a,t=i(u=+u),n=i(c=+c),e=i(l=+l),r=t===n?0:.5/(n-t),o=n===e?0:.5/(e-n),s=n<t?-1:1,d):[u,c,l]},d.clamp=function(t){return arguments.length?(p=!!t,d):p},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=h(xn),d.rangeRound=h(wn),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return i=a,t=a(u),n=a(c),e=a(l),r=t===n?0:.5/(n-t),o=n===e?0:.5/(e-n),s=n<t?-1:1,d}}function pi(){var t=Yn(fi()(jn));return t.copy=function(){return ri(t,pi())},et.apply(t,arguments)}function di(){var t=ee(fi()).domain([.1,1,10]);return t.copy=function(){return ri(t,di()).base(t.base())},et.apply(t,arguments)}function hi(){var t=ae(fi());return t.copy=function(){return ri(t,hi()).constant(t.constant())},et.apply(t,arguments)}function yi(){var t=fe(fi());return t.copy=function(){return ri(t,yi()).exponent(t.exponent())},et.apply(t,arguments)}function vi(){return yi.apply(null,arguments).exponent(.5)}Cr=function(t){var n=t.dateTime,e=t.date,r=t.time,o=t.periods,i=t.days,a=t.shortDays,u=t.months,c=t.shortMonths,l=Fr(o),s=zr(o),f=Fr(i),p=zr(i),d=Fr(a),h=zr(a),y=Fr(u),v=zr(u),g=Fr(c),m=zr(c),b={a:function(t){return a[t.getDay()]},A:function(t){return i[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:uo,e:uo,f:po,g:jo,G:Ao,H:co,I:lo,j:so,L:fo,m:ho,M:yo,p:function(t){return o[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Go,s:Qo,S:vo,u:go,U:mo,V:xo,w:wo,W:Oo,x:null,X:null,y:Mo,Y:Eo,Z:ko,"%":Ko},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return i[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:So,e:So,f:Do,g:$o,G:Yo,H:Po,I:Co,j:To,L:_o,m:Io,M:No,p:function(t){return o[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Go,s:Qo,S:Ro,u:Lo,U:Uo,V:zo,w:Wo,W:Ho,x:null,X:null,y:qo,Y:Bo,Z:Vo,"%":Ko},w={a:function(t,n,e){var r=d.exec(n.slice(e));return r?(t.w=h.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.w=p.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.m=m.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=y.exec(n.slice(e));return r?(t.m=v.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return j(t,n,e,r)},d:Zr,e:Zr,f:ro,g:Vr,G:Yr,H:Jr,I:Jr,j:Xr,L:eo,m:Qr,M:to,p:function(t,n,e){var r=l.exec(n.slice(e));return r?(t.p=s.get(r[0].toLowerCase()),e+r[0].length):-1},q:Gr,Q:io,s:ao,S:no,u:Hr,U:qr,V:$r,w:Wr,W:Br,x:function(t,n,r){return j(t,e,n,r)},X:function(t,n,e){return j(t,r,n,e)},y:Vr,Y:Yr,Z:Kr,"%":oo};function O(t,n){return function(e){var r,o,i,a=[],u=-1,c=0,l=t.length;for(e instanceof Date||(e=new Date(+e));++u<l;)37===t.charCodeAt(u)&&(a.push(t.slice(c,u)),null!=(o=Dr[r=t.charAt(++u)])?r=t.charAt(++u):o="e"===r?" ":"0",(i=n[r])&&(r=i(e,o)),a.push(r),c=u+1);return a.push(t.slice(c,u)),a.join("")}}function M(t,n){return function(e){var r,o,i=Pr(1900,void 0,1);if(j(i,t,e+="",0)!=e.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(n&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=Sr(Pr(i.y,0,1))).getUTCDay(),r=o>4||0===o?pr.ceil(r):pr(r),r=lr.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=kr(Pr(i.y,0,1))).getDay(),r=o>4||0===o?Ke.ceil(r):Ke(r),r=Be.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?Sr(Pr(i.y,0,1)).getUTCDay():kr(Pr(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,Sr(i)):kr(i)}}function j(t,n,e,r){for(var o,i,a=0,u=n.length,c=e.length;a<u;){if(r>=c)return-1;if(37===(o=n.charCodeAt(a++))){if(o=n.charAt(a++),!(i=w[o in Dr?n.charAt(a++):o])||(r=i(t,e,r))<0)return-1}else if(o!=e.charCodeAt(r++))return-1}return r}return b.x=O(e,b),b.X=O(r,b),b.c=O(n,b),x.x=O(e,x),x.X=O(r,x),x.c=O(n,x),{format:function(t){var n=O(t+="",b);return n.toString=function(){return t},n},parse:function(t){var n=M(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=O(t+="",x);return n.toString=function(){return t},n},utcParse:function(t){var n=M(t+="",!0);return n.toString=function(){return t},n}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),Tr=Cr.format,Cr.parse,_r=Cr.utcFormat,Cr.utcParse;var gi=["linear","time","log","sqrt"];function mi(t){return"function"==typeof t?y()(t.copy)&&y()(t.domain)&&y()(t.range):"string"==typeof t&&K()(gi,t)}function bi(t,n){return!(!t.scale||(t.scale.x||t.scale.y)&&!t.scale[n])}function xi(t,n){if(!t.data)return"linear";var e=k(t[n]);return Z(t.data.map((function(t){var r=Y()(e(t))?e(t)[n]:e(t);return void 0!==r?r:t[n]})))?"time":"linear"}function wi(n){if(mi(n)){var e=function(t){var n;return"scale".concat((n=t)&&n[0].toUpperCase()+n.slice(1))}(n);return t[e]()}return Vn()}function Oi(t,n){var e=function(t,n){if(bi(t,n)){var e=t.scale[n]||t.scale;return mi(e)?y()(e)?e:wi(e):void 0}}(t,n);return e?"string"==typeof e?wi(e):e:wi(function(t,n){var e;if(t.domain&&t.domain[n]?e=t.domain[n]:t.domain&&Array.isArray(t.domain)&&(e=t.domain),e)return Z(e)?"time":"linear"}(t,n)||xi(t,n))}function Mi(t,n){return function(t,n){if(bi(t,n)){var e=t.scale[n]||t.scale;return"string"==typeof e?e:function(t){if("string"==typeof t)return t;var n=ji.filter((function(n){return void 0!==t[n.method]}))[0];return n?n.name:void 0}(e)}}(t,n)||xi(t,n)}var ji=[{name:"quantile",method:"quantiles"},{name:"log",method:"base"}],Ei=function(t){var n=function(n){return function(e,r,o){var i=e[r];if(null==i)return n?new Error("Required `".concat(r,"` was not specified in `").concat(o,"`.")):null;for(var a=arguments.length,u=new Array(a>3?a-3:0),c=3;c<a;c++)u[c-3]=arguments[c];return t.apply(void 0,[e,r,o].concat(u))}};return Object.assign(n(!1),{isRequired:n(!0)})},Ai=function(){return null},ki=function(){},Si=function(t){return void 0===t?ki:null===t?Ai:t.constructor},Pi=function(t){return void 0===t?"undefined":null===t?"null":Object.prototype.toString.call(t).slice(8,-1)},Ci=Ei((function(t,n,e){var r=t[n];return"number"!=typeof r||r<0?new Error("`".concat(n,"` in `").concat(e,"` must be a non-negative number.")):null})),Ti=Ei((function(t,n,e){var r=t[n];return"number"!=typeof r||r%1!=0?new Error("`".concat(n,"` in `").concat(e,"` must be an integer.")):null})),_i=(Ei((function(t,n,e){var r=t[n];return"number"!=typeof r||r<=0?new Error("`".concat(n,"` in `").concat(e,"` must be a number greater than zero.")):null})),Ei((function(t,n,e){var r=t[n];return Array.isArray(r)&&2===r.length&&r[1]!==r[0]?null:new Error("`".concat(n,"` in `").concat(e,"` must be an array of two unique numeric values."))})),Ei((function(t,n,e){return mi(t[n])?null:new Error("`".concat(n,"` in `").concat(e,"` must be a d3 scale."))})));function Di(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ii(t,n){return Ii=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},Ii(t,n)}function Ni(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Ri(t){return Ri=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ri(t)}Ei((function(t,n,e){var r=t[n];if(!Array.isArray(r))return new Error("`".concat(n,"` in `").concat(e,"` must be an array."));if(r.length<2)return null;var o=Si(r[0]),i=$()(r,(function(t){return o!==Si(t)}));if(i){var a=Pi(r[0]),u=Pi(i);return new Error("Expected `".concat(n,"` in `").concat(e,"` to be a ")+"homogeneous array, but found types `".concat(a,"` and ")+"`".concat(u,"`."))}return null})),Ei((function(t,n){return t[n]&&Array.isArray(t[n])&&t[n].length!==t.data.length?new Error("Length of data and ".concat(n," arrays must match.")):null})),Ei((function(t,n,e){return t[n]&&!H()(t[n])?new Error("`".concat(n,"` in `").concat(e,"` must be a regular expression.")):null}));var Li=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&Ii(t,n)}(c,t);var n,e,r,o,a=(r=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=Ri(r);if(o){var e=Ri(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return Ni(this,t)});function c(t){var n;return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,c),(n=a.call(this,t)).map=void 0,n.index=void 0,n.portalRegister=function(){return++n.index},n.portalUpdate=function(t,e){n.map[t]=e,n.forceUpdate()},n.portalDeregister=function(t){delete n.map[t],n.forceUpdate()},n.map={},n.index=1,n}return n=c,(e=[{key:"getChildren",value:function(){var t=this;return u()(this.map).map((function(n){var e=t.map[n];return e?i().cloneElement(e,{key:n}):e}))}},{key:"render",value:function(){return i().createElement("svg",this.props,this.getChildren())}}])&&Di(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),c}(i().Component);Li.displayName="Portal",Li.propTypes={className:z().string,height:Ci,style:z().object,viewBox:z().string,width:Ci};var Ui=i().createContext({});Ui.displayName="PortalContext";var Fi,zi,Wi=0,Hi=0,qi=0,$i=0,Bi=0,Yi=0,Vi="object"==typeof performance&&performance.now?performance:Date,Ki="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Gi(){return Bi||(Ki(Qi),Bi=Vi.now()+Yi)}function Qi(){Bi=0}function Zi(){this._call=this._time=this._next=null}function Xi(t,n,e){var r=new Zi;return r.restart(t,n,e),r}function Ji(){Bi=($i=Vi.now())+Yi,Wi=Hi=0;try{!function(){Gi(),++Wi;for(var t,n=Fi;n;)(t=Bi-n._time)>=0&&n._call.call(void 0,t),n=n._next;--Wi}()}finally{Wi=0,function(){for(var t,n,e=Fi,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:Fi=n);zi=t,na(r)}(),Bi=0}}function ta(){var t=Vi.now(),n=t-$i;n>1e3&&(Yi-=n,$i=t)}function na(t){Wi||(Hi&&(Hi=clearTimeout(Hi)),t-Bi>24?(t<1/0&&(Hi=setTimeout(Ji,t-Vi.now()-Yi)),qi&&(qi=clearInterval(qi))):(qi||($i=Vi.now(),qi=setInterval(ta,1e3)),Wi=1,Ki(Ji)))}function ea(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Zi.prototype=Xi.prototype={constructor:Zi,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Gi():+e)+(null==n?0:+n),this._next||zi===this||(zi?zi._next=this:Fi=this,zi=this),this._call=t,this._time=e,na()},stop:function(){this._call&&(this._call=null,this._time=1/0,na())}};var ra=function(){function t(){var n=this;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.shouldAnimate=void 0,this.subscribers=void 0,this.activeSubscriptions=void 0,this.timer=void 0,this.loop=function(){n.subscribers.forEach((function(t){t.callback(Gi()-t.startTime,t.duration)}))},this.shouldAnimate=!0,this.subscribers=[],this.timer=null,this.activeSubscriptions=0}var n,e;return n=t,(e=[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"start",value:function(){this.timer||(this.timer=Xi(this.loop))}},{key:"stop",value:function(){this.timer&&(this.timer.stop(),this.timer=null)}},{key:"subscribe",value:function(t,n){var e=this.subscribers.push({startTime:Gi(),callback:t,duration:this.shouldAnimate?n:0});return this.activeSubscriptions++,this.start(),e}},{key:"unsubscribe",value:function(t){null!==t&&this.subscribers[t-1]&&(delete this.subscribers[t-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}])&&ea(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),t}(),oa=i().createContext({transitionTimer:new ra,animationTimer:new ra});oa.displayName="TimerContext";const ia=oa;function aa(){return aa=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},aa.apply(this,arguments)}function ua(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function ca(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?ua(Object(e),!0).forEach((function(n){la(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ua(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function la(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function sa(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function fa(t,n){return fa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},fa(t,n)}function pa(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function da(t){return da=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},da(t)}var ha=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&fa(t,n)}(u,t);var n,e,r,o,a=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=da(r);if(o){var e=da(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return pa(this,t)});function u(t){var n;return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),(n=a.call(this,t)).containerId=void 0,n.portalRef=void 0,n.containerRef=void 0,n.shouldHandleWheel=void 0,n.savePortalRef=function(t){return n.portalRef=t,t},n.portalUpdate=function(t,e){return n.portalRef.portalUpdate(t,e)},n.portalRegister=function(){return n.portalRef.portalRegister()},n.portalDeregister=function(t){return n.portalRef.portalDeregister(t)},n.saveContainerRef=function(t){return y()(n.props.containerRef)&&n.props.containerRef(t),n.containerRef=t,t},n.handleWheel=function(t){return t.preventDefault()},n.containerId=R()(t)&&void 0!==t.containerId?t.containerId:U()("victory-container-"),n.shouldHandleWheel=!!(t&&t.events&&t.events.onWheel),n}return n=u,(e=[{key:"componentDidMount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}},{key:"componentWillUnmount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}},{key:"getIdForElement",value:function(t){return"".concat(this.containerId,"-").concat(t)}},{key:"getChildren",value:function(t){return t.children}},{key:"getOUIAProps",value:function(t){var n=t.ouiaId,e=t.ouiaSafe,r=t.ouiaType;return ca(ca(ca({},n&&{"data-ouia-component-id":n}),r&&{"data-ouia-component-type":r}),void 0!==e&&{"data-ouia-safe":e})}},{key:"renderContainer",value:function(t,n,e){var r=t.title,o=t.desc,a=t.portalComponent,u=t.className,c=t.width,s=t.height,f=t.portalZIndex,p=t.responsive,d=this.getChildren(t),h=p?{width:"100%",height:"100%"}:{width:c,height:s},y=l()({pointerEvents:"none",touchAction:"none",position:"relative"},h),v=l()({zIndex:f,position:"absolute",top:0,left:0},h),m=l()({pointerEvents:"all"},h),b=l()({overflow:"visible"},h),x={width:c,height:s,viewBox:n.viewBox,preserveAspectRatio:n.preserveAspectRatio,style:b};return i().createElement(Ui.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},i().createElement("div",aa({style:g()({},e,y),className:u,ref:this.saveContainerRef},this.getOUIAProps(t)),i().createElement("svg",aa({},n,{style:m}),r?i().createElement("title",{id:this.getIdForElement("title")},r):null,o?i().createElement("desc",{id:this.getIdForElement("desc")},o):null,d),i().createElement("div",{style:v},i().cloneElement(a,ca(ca({},x),{},{ref:this.savePortalRef})))))}},{key:"render",value:function(){var t=this.props,n=t.width,e=t.height,r=t.responsive,o=t.events,i=t.title,a=t.desc,u=t.tabIndex,c=t.preserveAspectRatio,s=t.role,f=r?this.props.style:m(this.props.style,["height","width"]),p=I(this.props),d=l()(ca({width:n,height:e,tabIndex:u,role:s,"aria-labelledby":[i&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[a&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:r?"0 0 ".concat(n," ").concat(e):void 0,preserveAspectRatio:r?c:void 0},p),o);return this.renderContainer(this.props,d,f)}}])&&sa(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);ha.displayName="VictoryContainer",ha.role="container",ha.propTypes={"aria-describedby":z().string,"aria-labelledby":z().string,children:z().oneOfType([z().arrayOf(z().node),z().node]),className:z().string,containerId:z().oneOfType([z().number,z().string]),containerRef:z().func,desc:z().string,events:z().object,height:Ci,name:z().string,origin:z().shape({x:Ci,y:Ci}),ouiaId:z().oneOfType([z().number,z().string]),ouiaSafe:z().bool,ouiaType:z().string,polar:z().bool,portalComponent:z().element,portalZIndex:Ti,preserveAspectRatio:z().string,responsive:z().bool,role:z().string,style:z().object,tabIndex:z().number,theme:z().object,title:z().string,width:Ci},ha.defaultProps={className:"VictoryContainer",portalComponent:i().createElement(Li,null),portalZIndex:99,responsive:!0,role:"img"},ha.contextType=ia;var ya=r(4155),va=r.n(ya);function ga(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function ma(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ba(t,n){return ba=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},ba(t,n)}function xa(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function wa(t){return wa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},wa(t)}var Oa=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&ba(t,n)}(u,t);var n,e,r,o,a=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=wa(r);if(o){var e=wa(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return xa(this,t)});function u(){var t;ga(this,u);for(var n=arguments.length,e=new Array(n),r=0;r<n;r++)e[r]=arguments[r];return(t=a.call.apply(a,[this].concat(e))).checkedContext=void 0,t.renderInPlace=void 0,t.element=void 0,t.portalKey=void 0,t}return n=u,(e=[{key:"componentDidMount",value:function(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}},{key:"componentDidUpdate",value:function(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}},{key:"componentWillUnmount",value:function(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}},{key:"renderPortal",value:function(t){return this.renderInPlace?t:(this.element=t,null)}},{key:"render",value:function(){var t=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,n=this.props.groupComponent,e=t&&t.props||{},r=e.groupComponent?{groupComponent:n,standalone:!1}:{},o=g()(r,e,m(this.props,["children","groupComponent"])),a=t&&i().cloneElement(t,o);return this.renderPortal(a)}}])&&ma(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);Oa.displayName="VictoryPortal",Oa.role="portal",Oa.propTypes={children:z().node,groupComponent:z().element},Oa.defaultProps={groupComponent:i().createElement("g",null)},Oa.contextType=Ui;var Ma=["desc","id","tabIndex","origin"];function ja(){return ja=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},ja.apply(this,arguments)}function Ea(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Aa(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var ka=(0,e.forwardRef)((function(t,n){var e,r=t.desc,o=t.id,a=t.tabIndex,u=(t.origin,function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,Ma)),c=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Ea(Object(e),!0).forEach((function(n){Aa(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Ea(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({vectorEffect:"non-scaling-stroke",id:null===(e=O(o,t))||void 0===e?void 0:e.toString(),tabIndex:O(a,t)},u);return r?i().createElement("rect",ja({},c,{ref:n}),i().createElement("desc",null,r)):i().createElement("rect",ja({},c,{ref:n}))})),Sa=["children","desc","id","origin","tabIndex","title"];function Pa(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Ca(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Ta=function(t){var n,e=t.children,r=t.desc,o=t.id,a=(t.origin,t.tabIndex),u=t.title,c=function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,Sa),l=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Pa(Object(e),!0).forEach((function(n){Ca(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Pa(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({id:null===(n=O(o,t))||void 0===n?void 0:n.toString(),tabIndex:O(a,t)},c);return i().createElement("text",l,u&&i().createElement("title",null,u),r&&i().createElement("desc",null,r),e)},_a=["desc","id","tabIndex","origin"];function Da(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Ia(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Na=function(t){t.desc;var n,e=t.id,r=t.tabIndex,o=(t.origin,function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,_a)),a=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Da(Object(e),!0).forEach((function(n){Ia(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Da(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({id:null===(n=O(e,t))||void 0===n?void 0:n.toString(),tabIndex:O(r,t)},o);return i().createElement("tspan",a)};function Ra(t){var n=t.labelComponent,e=t.labelPlacement,r=t.polar?"perpendicular":"vertical";return e||n.props&&n.props.labelPlacement||r}function La(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2?arguments[2]:void 0;return void 0!==n.label?n.label:Array.isArray(t.labels)?t.labels[e]:t.labels}function Ua(t,n){var e,r=b(n).x;return("number"==typeof(e=t.scale.x(r))?e/(Math.PI/180):e)%360}function Fa(t,n){var e,r=t.scale,o=t.data,i=t.style,a=t.horizontal,u=t.polar,c=t.width,l=t.height,s=t.theme,f=t.labelComponent,p=t.disableInlineStyles,d=o[n],h=Ua(t,d),y=u?function(t,n){var e=Ra(t);return"perpendicular"===e||"vertical"===e&&(90===n||270===n)?"middle":n<=90||n>270?"start":"end"}(t,h):function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.style,r=t.horizontal,o=n._y>=0?1:-1,i=e&&e.labels||{};return n.verticalAnchor||i.verticalAnchor?n.verticalAnchor||i.verticalAnchor:r?o>=0?"start":"end":"middle"}(t,d),v=u?function(t,n){var e=Ra(t),r=function(t){return t<45||t>315?"right":t>=45&&t<=135?"top":t>135&&t<225?"left":"bottom"}(n);return"parallel"===e||"left"===r||"right"===r?"middle":"top"===r?"end":"start"}(t,h):function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=n._y>=0?1:-1,r=t.style&&t.style.labels||{};return n.verticalAnchor||r.verticalAnchor?n.verticalAnchor||r.verticalAnchor:t.horizontal?"middle":e>=0?"end":"start"}(t,d),b=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.style&&t.style.labels||{};return void 0===n.angle?e.angle:n.angle}(t,d),w=La(t,d,n),M=Ra(t),E=function(t,n){var e=t.polar,r=x(t,n),o=r.x,i=r.y;if(!e)return{x:o,y:i};var a=function(t,n){var e=t.style,r=Ua(t,n),o=O((e.labels||{}).padding,t)||0,i=j(r);return{x:o*Math.cos(i),y:-o*Math.sin(i)}}(t,n);return{x:o+a.x,y:i+a.y}}(t,d),A=E.x,k=E.y,S=function(t,n){if(t.polar)return{};var e=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.horizontal,r=O((t.style.labels||{}).padding,t)||0,o=n._y<0?-1:1;return{x:e?o*r:0,y:e?0:-1*o*r}}(t,n);return{dx:e.x,dy:e.y}}(t,d),P={angle:b,data:o,datum:d,disableInlineStyles:p,horizontal:a,index:n,polar:u,scale:r,labelPlacement:M,text:w,textAnchor:y,verticalAnchor:v,x:A,y:k,dx:S.dx,dy:S.dy,width:c,height:l,style:i.labels};if("tooltip"!==((e=f)&&e.type&&e.type.role))return P;var C=s&&s.tooltip||{};return g()({},P,m(C,["style"]))}var za=function(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];if(e.length>0)return e.reduce((function(t,n){return[t,za(n)].join(" ")}),za(t)).trim();if(null==t||"string"==typeof t)return t;var o=[];for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];o.push("".concat(i,"(").concat(a,")"))}return o.join(" ").trim()},Wa=r(1594),Ha=r.n(Wa);function qa(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,o,i=[],a=!0,u=!1;try{for(e=e.call(t);!(a=(r=e.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==e.return||e.return()}finally{if(u)throw o}}return i}}(t,n)||$a(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $a(t,n){if(t){if("string"==typeof t)return Ba(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Ba(t,n):void 0}}function Ba(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var Ya={"American Typewriter":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.4203125,.3296875,.6,.6375,.8015625,.8203125,.1875,.45625,.45625,.6375,.5,.2734375,.309375,.2734375,.4390625,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.2734375,.2734375,.5,.5,.5,.6,.6921875,.7640625,.6921875,.6375,.728125,.6734375,.6203125,.7109375,.784375,.3828125,.6421875,.7859375,.6375,.9484375,.7640625,.65625,.6375,.65625,.7296875,.6203125,.6375,.7109375,.740625,.940625,.784375,.7578125,.6203125,.4375,.5,.4375,.5,.5,.4921875,.5734375,.5890625,.5109375,.6,.528125,.43125,.5578125,.6375,.3109375,.40625,.6234375,.309375,.928125,.6375,.546875,.6,.58125,.4921875,.4921875,.4,.6203125,.625,.825,.6375,.640625,.528125,.5,.5,.5,.6671875],avg:.5793421052631578},Arial:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.278125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.584375,.584375,.584375,.55625,1.015625,.6703125,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.278125,.278125,.4703125,.584375,.334375,.55625,.55625,.5,.55625,.55625,.3125,.55625,.55625,.2234375,.2703125,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.346875,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.334375,.2609375,.334375,.584375],avg:.528733552631579},"Arial Black":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.33125,.334375,.5,.6609375,.6671875,1,.890625,.278125,.390625,.390625,.55625,.6609375,.334375,.334375,.334375,.28125,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.334375,.334375,.6609375,.6609375,.6609375,.6109375,.7453125,.78125,.778125,.778125,.778125,.7234375,.6671875,.834375,.834375,.390625,.6671875,.834375,.6671875,.9453125,.834375,.834375,.7234375,.834375,.78125,.7234375,.7234375,.834375,.7796875,1.003125,.78125,.78125,.7234375,.390625,.28125,.390625,.6609375,.5125,.334375,.6671875,.6671875,.6671875,.6671875,.6671875,.41875,.6671875,.6671875,.334375,.384375,.6671875,.334375,1,.6671875,.6671875,.6671875,.6671875,.4703125,.6109375,.4453125,.6671875,.6140625,.946875,.6671875,.615625,.55625,.390625,.278125,.390625,.6609375],avg:.6213157894736842},Baskerville:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.25,.40625,.6671875,.490625,.875,.7015625,.178125,.2453125,.246875,.4171875,.6671875,.25,.3125,.25,.521875,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.6671875,.6671875,.6671875,.396875,.9171875,.684375,.615625,.71875,.7609375,.625,.553125,.771875,.803125,.3546875,.515625,.78125,.6046875,.928125,.75,.8234375,.5625,.96875,.7296875,.5421875,.6984375,.771875,.7296875,.9484375,.771875,.678125,.6359375,.3640625,.521875,.3640625,.46875,.5125,.334375,.46875,.521875,.428125,.521875,.4375,.3890625,.4765625,.53125,.25,.359375,.4640625,.240625,.803125,.53125,.5,.521875,.521875,.365625,.334375,.2921875,.521875,.4640625,.678125,.4796875,.465625,.428125,.4796875,.5109375,.4796875,.6671875],avg:.5323519736842108},Courier:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},"Courier New":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6015296052631579},cursive:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1921875,.24375,.40625,.5671875,.3984375,.721875,.909375,.2328125,.434375,.365625,.4734375,.5578125,.19375,.3484375,.19375,.7734375,.503125,.4171875,.5453125,.45,.6046875,.4703125,.5984375,.55625,.503125,.5546875,.20625,.2,.5625,.5546875,.546875,.403125,.70625,.734375,.7078125,.64375,.85,.753125,.75,.6484375,1.0765625,.44375,.5359375,.8359375,.653125,1.0109375,1.1515625,.6796875,.6984375,1.0625,.8234375,.5125,.9234375,.8546875,.70625,.9109375,.7421875,.715625,.6015625,.4640625,.3359375,.4109375,.5421875,.5421875,.4328125,.5125,.5,.3859375,.7375,.359375,.75625,.540625,.5328125,.3203125,.5296875,.5015625,.484375,.7890625,.5640625,.4203125,.703125,.471875,.4734375,.35,.4125,.5640625,.471875,.6484375,.5296875,.575,.4140625,.415625,.20625,.3796875,.5421875],avg:.5604440789473684},fantasy:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.2625,.3265625,.6109375,.534375,.7625,.7828125,.2,.4359375,.4359375,.3765625,.5109375,.2796875,.4609375,.2796875,.5296875,.6640625,.253125,.521875,.4765625,.6640625,.490625,.528125,.5546875,.496875,.5421875,.2796875,.2796875,.5625,.4609375,.5625,.4828125,.609375,.740625,.7234375,.740625,.8265625,.7234375,.6171875,.7359375,.765625,.240625,.5453125,.715625,.6078125,.8640625,.653125,.9125,.6484375,.946875,.6921875,.653125,.6953125,.8015625,.58125,.784375,.671875,.6265625,.690625,.4359375,.5296875,.4359375,.53125,.5,.2875,.5375,.603125,.4984375,.60625,.53125,.434375,.6421875,.56875,.209375,.4671875,.5484375,.2203125,.709375,.55,.5984375,.6140625,.5765625,.40625,.4734375,.3734375,.559375,.4421875,.6421875,.4890625,.578125,.4484375,.2546875,.2203125,.2546875,.55],avg:.536496710526316},Geneva:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3328125,.3046875,.5,.6671875,.6671875,.90625,.728125,.3046875,.446875,.446875,.5078125,.6671875,.3046875,.3796875,.3046875,.5390625,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.3046875,.3046875,.6671875,.6671875,.6671875,.56875,.871875,.728125,.6375,.6515625,.7015625,.5765625,.5546875,.675,.690625,.2421875,.4921875,.6640625,.584375,.7890625,.709375,.7359375,.584375,.78125,.60625,.60625,.640625,.6671875,.728125,.946875,.6109375,.6109375,.5765625,.446875,.5390625,.446875,.6671875,.6671875,.5921875,.5546875,.6109375,.546875,.603125,.5765625,.390625,.6109375,.584375,.2359375,.334375,.5390625,.2359375,.8953125,.584375,.60625,.603125,.603125,.3875,.509375,.44375,.584375,.565625,.78125,.53125,.571875,.5546875,.4515625,.246875,.4515625,.6671875],avg:.5762664473684211},Georgia:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2421875,.33125,.4125,.64375,.6109375,.81875,.7109375,.215625,.375,.375,.4734375,.64375,.2703125,.375,.2703125,.46875,.6140625,.4296875,.559375,.553125,.565625,.5296875,.5671875,.503125,.596875,.5671875,.3125,.3125,.64375,.64375,.64375,.4796875,.9296875,.715625,.6546875,.6421875,.75,.6546875,.6,.7265625,.815625,.390625,.51875,.7203125,.6046875,.928125,.7671875,.7453125,.6109375,.7453125,.7234375,.5625,.61875,.7578125,.70625,.99375,.7125,.6640625,.6015625,.375,.46875,.375,.64375,.65,.5,.5046875,.56875,.4546875,.575,.484375,.39375,.509375,.5828125,.29375,.3671875,.546875,.2875,.88125,.5921875,.5390625,.571875,.5640625,.4109375,.4328125,.3453125,.5765625,.5203125,.75625,.50625,.5171875,.4453125,.43125,.375,.43125,.64375],avg:.5551809210526316},"Gill Sans":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2765625,.271875,.3546875,.584375,.5421875,.6765625,.625,.1890625,.3234375,.3234375,.4171875,.584375,.2203125,.3234375,.2203125,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.2203125,.2296875,.584375,.584375,.584375,.334375,1.0109375,.6671875,.5640625,.709375,.75,.5,.4703125,.740625,.7296875,.25,.3125,.65625,.490625,.78125,.78125,.8234375,.5109375,.8234375,.6046875,.459375,.6046875,.709375,.6046875,1.0421875,.709375,.6046875,.646875,.334375,.28125,.334375,.4703125,.5828125,.334375,.428125,.5,.4390625,.5109375,.4796875,.296875,.428125,.5,.2203125,.2265625,.5,.2203125,.771875,.5,.553125,.5,.5,.3984375,.3859375,.334375,.5,.4390625,.7203125,.5,.4390625,.4171875,.334375,.2609375,.334375,.584375],avg:.4933717105263159},Helvetica:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2796875,.2765625,.3546875,.5546875,.5546875,.8890625,.665625,.190625,.3328125,.3328125,.3890625,.5828125,.2765625,.3328125,.2765625,.3015625,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.2765625,.2765625,.584375,.5828125,.584375,.5546875,1.0140625,.665625,.665625,.721875,.721875,.665625,.609375,.7765625,.721875,.2765625,.5,.665625,.5546875,.8328125,.721875,.7765625,.665625,.7765625,.721875,.665625,.609375,.721875,.665625,.94375,.665625,.665625,.609375,.2765625,.3546875,.2765625,.4765625,.5546875,.3328125,.5546875,.5546875,.5,.5546875,.5546875,.2765625,.5546875,.5546875,.221875,.240625,.5,.221875,.8328125,.5546875,.5546875,.5546875,.5546875,.3328125,.5,.2765625,.5546875,.5,.721875,.5,.5,.5,.3546875,.259375,.353125,.5890625],avg:.5279276315789471},"Helvetica Neue":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.259375,.4265625,.55625,.55625,1,.6453125,.278125,.2703125,.26875,.353125,.6,.278125,.3890625,.278125,.36875,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.6,.6,.6,.55625,.8,.6625,.6859375,.7234375,.7046875,.6125,.575,.759375,.7234375,.259375,.5203125,.6703125,.55625,.871875,.7234375,.7609375,.6484375,.7609375,.6859375,.6484375,.575,.7234375,.6140625,.9265625,.6125,.6484375,.6125,.259375,.36875,.259375,.6,.5,.25625,.5375,.59375,.5375,.59375,.5375,.2984375,.575,.55625,.2234375,.2375,.5203125,.2234375,.853125,.55625,.575,.59375,.59375,.334375,.5,.315625,.55625,.5,.759375,.51875,.5,.48125,.334375,.2234375,.334375,.6],avg:.5279440789473684},"Hoefler Text":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2359375,.2234375,.3921875,.7125,.49375,.8859375,.771875,.2125,.3078125,.309375,.375,.4234375,.234375,.3125,.234375,.3,.5828125,.365625,.434375,.3921875,.5234375,.3984375,.5125,.4328125,.46875,.5125,.234375,.234375,.515625,.4234375,.515625,.340625,.7609375,.7359375,.6359375,.721875,.8125,.6375,.5875,.8078125,.853125,.4296875,.503125,.78125,.609375,.9609375,.8515625,.8140625,.6125,.8140625,.71875,.49375,.7125,.76875,.771875,1.125,.7765625,.7734375,.65625,.321875,.3078125,.321875,.3546875,.5,.3375,.446875,.5359375,.45,.5296875,.4546875,.425,.4921875,.54375,.2671875,.240625,.5390625,.25,.815625,.5375,.5234375,.5390625,.5421875,.365625,.36875,.35625,.5171875,.5015625,.75,.5,.509375,.44375,.2421875,.14375,.2421875,.35],avg:.5116447368421051},Montserrat:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2625,.2609375,.3734375,.696875,.615625,.8296875,.6703125,.203125,.3296875,.3296875,.3875,.575,.2125,.3828125,.2125,.3953125,.6625,.3625,.56875,.5640625,.6625,.5671875,.609375,.5890625,.6390625,.609375,.2125,.2125,.575,.575,.575,.5671875,1.034375,.7171875,.7546875,.7203125,.8265625,.6703125,.634375,.7734375,.8140625,.303125,.5078125,.7125,.5890625,.95625,.8140625,.8390625,.71875,.8390625,.7234375,.615625,.575,.7921875,.6984375,1.1125,.65625,.6359375,.6515625,.31875,.396875,.31875,.5765625,.5,.6,.590625,.678125,.5640625,.678125,.6046875,.375,.6875,.678125,.2703125,.365625,.6015625,.2703125,1.0625,.678125,.628125,.678125,.678125,.4015625,.4890625,.40625,.6734375,.5421875,.8796875,.534375,.5671875,.5125,.334375,.2953125,.334375,.575],avg:.571792763157895},monospace:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},Overpass:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2296875,.2765625,.4203125,.68125,.584375,.8515625,.7015625,.2203125,.3453125,.3453125,.53125,.63125,.2234375,.3953125,.2234375,.509375,.65,.4046875,.6171875,.60625,.6484375,.60625,.6015625,.5375,.615625,.6015625,.2234375,.2234375,.63125,.63125,.63125,.5015625,.8203125,.696875,.6671875,.65,.6859375,.6015625,.559375,.690625,.7078125,.2953125,.565625,.678125,.58125,.8046875,.7109375,.740625,.6421875,.740625,.6765625,.6046875,.590625,.696875,.6640625,.853125,.65,.6671875,.6625,.3734375,.509375,.3734375,.63125,.5125,.4,.5328125,.5625,.51875,.5625,.546875,.3359375,.5625,.565625,.25625,.3203125,.55,.265625,.85,.565625,.5671875,.5625,.5625,.4046875,.4765625,.3796875,.565625,.521875,.7265625,.53125,.5390625,.5125,.3671875,.275,.3671875,.63125],avg:.5430756578947369},Palatino:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.278125,.371875,.60625,.5,.840625,.778125,.209375,.334375,.334375,.390625,.60625,.2578125,.334375,.25,.60625,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.60625,.60625,.60625,.4453125,.7484375,.778125,.6109375,.709375,.775,.6109375,.55625,.7640625,.8328125,.3375,.346875,.7265625,.6109375,.946875,.83125,.7875,.6046875,.7875,.66875,.525,.6140625,.778125,.7234375,1,.6671875,.6671875,.6671875,.334375,.60625,.334375,.60625,.5,.334375,.5,.565625,.4453125,.6109375,.4796875,.340625,.55625,.5828125,.2921875,.2671875,.5640625,.2921875,.8828125,.5828125,.546875,.6015625,.5609375,.3953125,.425,.3265625,.603125,.565625,.834375,.5171875,.55625,.5,.334375,.60625,.334375,.60625],avg:.5408552631578947},RedHatText:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2328125,.2203125,.35625,.6890625,.55,.7390625,.6703125,.2140625,.4015625,.4015625,.4546875,.53125,.2203125,.45625,.2203125,.515625,.6609375,.3078125,.5484375,.5875,.61875,.5703125,.6203125,.559375,.6140625,.6203125,.2203125,.2234375,.465625,.534375,.465625,.5125,.7671875,.6609375,.6703125,.7265625,.728125,.6203125,.6109375,.8,.73125,.253125,.6,.6125,.6078125,.8625,.7390625,.8109375,.6546875,.809375,.6484375,.6234375,.6171875,.7125,.6609375,.8984375,.6546875,.646875,.60625,.3625,.5203125,.3625,.540625,.4609375,.5234375,.5265625,.584375,.509375,.5828125,.5578125,.3703125,.5828125,.553125,.2234375,.24375,.4890625,.2234375,.8453125,.553125,.58125,.584375,.5828125,.353125,.453125,.378125,.553125,.5015625,.6984375,.4875,.4984375,.459375,.3953125,.2921875,.3953125,.58125],avg:.5341940789473685},"sans-serif":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.303125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.5859375,.584375,.5859375,.55625,1.015625,.6671875,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.35625,.278125,.478125,.55625,.334375,.55625,.55625,.5,.55625,.55625,.278125,.55625,.55625,.2234375,.2421875,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.334375,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.35625,.2609375,.3546875,.590625],avg:.5293256578947368},Seravek:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.296875,.4171875,.6734375,.4953125,.9125,.740625,.2421875,.3375,.3375,.409375,.60625,.2609375,.35625,.25625,.41875,.5921875,.3515625,.475,.4875,.5375,.509375,.5484375,.4546875,.5421875,.5484375,.25625,.2546875,.5875,.6171875,.5875,.4578125,.8140625,.6765625,.5703125,.6109375,.684375,.5109375,.4953125,.678125,.6859375,.2625,.2625,.5859375,.4734375,.846875,.709375,.740625,.509375,.740625,.584375,.5015625,.528125,.675,.5953125,.9453125,.596875,.540625,.540625,.359375,.4203125,.359375,.5109375,.421875,.4046875,.5015625,.5421875,.446875,.5453125,.484375,.38125,.5140625,.5546875,.240625,.2640625,.490625,.2765625,.8625,.5546875,.546875,.5453125,.5453125,.3625,.41875,.3890625,.5453125,.4703125,.7546875,.4921875,.4609375,.453125,.4015625,.2640625,.4015625,.58125],avg:.5044078947368421},serif:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.278125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.7234375,.6109375,.890625,.7234375,.7234375,.55625,.7234375,.6671875,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.340625,.334375,.4703125,.5,.3453125,.4453125,.5,.4453125,.5,.4453125,.3828125,.5,.5,.278125,.3359375,.5,.278125,.778125,.5,.5,.5,.5,.3375,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5126315789473684},Tahoma:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3109375,.3328125,.4015625,.728125,.546875,.9765625,.70625,.2109375,.3828125,.3828125,.546875,.728125,.303125,.3640625,.303125,.3953125,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.3546875,.3546875,.728125,.728125,.728125,.475,.909375,.6109375,.590625,.6015625,.6796875,.5625,.521875,.66875,.6765625,.3734375,.4171875,.6046875,.4984375,.771875,.66875,.7078125,.5515625,.7078125,.6375,.5578125,.5875,.65625,.60625,.903125,.58125,.5890625,.559375,.3828125,.39375,.3828125,.728125,.5625,.546875,.525,.553125,.4625,.553125,.5265625,.3546875,.553125,.5578125,.2296875,.328125,.51875,.2296875,.840625,.5578125,.54375,.553125,.553125,.3609375,.446875,.3359375,.5578125,.4984375,.7421875,.4953125,.4984375,.4453125,.48125,.3828125,.48125,.728125],avg:.5384374999999998},"Times New Roman":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.73125,.6109375,.890625,.7375,.7234375,.55625,.7234375,.6765625,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.28125,.334375,.4703125,.51875,.334375,.4453125,.503125,.4453125,.503125,.4453125,.4359375,.5,.5,.278125,.35625,.50625,.278125,.778125,.5,.5,.5046875,.5,.340625,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5134375},"Trebuchet MS":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3015625,.3671875,.325,.53125,.525,.6015625,.70625,.1609375,.3671875,.3671875,.3671875,.525,.3671875,.3671875,.3671875,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.3671875,.3671875,.525,.525,.525,.3671875,.771875,.590625,.5671875,.5984375,.6140625,.5359375,.525,.6765625,.6546875,.2796875,.4765625,.5765625,.5078125,.7109375,.6390625,.675,.5578125,.7421875,.5828125,.48125,.58125,.6484375,.5875,.853125,.5578125,.5703125,.5515625,.3671875,.3578125,.3671875,.525,.53125,.525,.5265625,.5578125,.4953125,.5578125,.546875,.375,.503125,.546875,.2859375,.3671875,.5046875,.2953125,.83125,.546875,.5375,.5578125,.5578125,.3890625,.40625,.396875,.546875,.490625,.7453125,.5015625,.49375,.475,.3671875,.525,.3671875,.525],avg:.5085197368421052},Verdana:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.35,.39375,.459375,.81875,.6359375,1.0765625,.759375,.26875,.4546875,.4546875,.6359375,.81875,.3640625,.4546875,.3640625,.4703125,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.4546875,.4546875,.81875,.81875,.81875,.546875,1,.684375,.6859375,.6984375,.771875,.6328125,.575,.7765625,.7515625,.421875,.4546875,.69375,.5578125,.84375,.7484375,.7875,.603125,.7875,.7,.684375,.6171875,.7328125,.684375,.9890625,.6859375,.615625,.6859375,.4546875,.46875,.4546875,.81875,.6421875,.6359375,.6015625,.6234375,.521875,.6234375,.596875,.384375,.6234375,.6328125,.275,.3765625,.5921875,.275,.9734375,.6328125,.6078125,.6234375,.6234375,.43125,.521875,.3953125,.6328125,.5921875,.81875,.5921875,.5921875,.5265625,.6359375,.4546875,.6359375,.81875],avg:.6171875000000003}},Va={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},Ka={em:1,ex:.5},Ga={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},Qa=function(t){return Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g)},Za=function(t,n,e){var r=function(t){return t*Math.PI/180}(e);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*n)},Xa=function(t,n){var e,r=null===(e=t.match(/[a-zA-Z%]+/))||void 0===e?void 0:e[0],o=Number(t.match(/[0-9.,]+/));return r?Va.hasOwnProperty(r)?o*Va[r]:Ka.hasOwnProperty(r)?(n?o*n:o*Ga.fontSize)*Ka[r]:o:o||0},Ja=function(t,n){var e=Array.isArray(t)?t[n]:t,r=g()({},e,Ga);return l()({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:Xa(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:Xa(String(r.fontSize))})},tu=function(t,n){if(void 0===t||""===t||null===t)return 0;var e,r=Qa(t).map((function(t,e){var r,o,i=t.toString().length,a=Ja(n,e),u=a.fontSize,c=a.letterSpacing,l=(r=a.fontFamily,o=r.split(",").map((function(t){return t.replace(/'|"/g,"")})).find((function(t){return Ya[t]}))||"Helvetica",Ya[o]);return t.toString().split("").map((function(t){return t.charCodeAt(0)<l.widths.length?l.widths[t.charCodeAt(0)]:l.avg})).reduce((function(t,n){return n+t}),0)*u+c*Math.max(i-1,0)}));return Math.max.apply(Math,function(t){if(Array.isArray(t))return Ba(t)}(e=r)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||$a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())},nu=function(t,n){var e=Array.isArray(n)?n[0]&&n[0].angle:n&&n.angle,r=function(t,n){return void 0===t||""===t||null===t?0:Qa(t).reduce((function(t,e,r){var o=Ja(n,r),i=e.toString().match(/[(A-Z)(0-9)]/)?1.15*o.fontSize:o.fontSize;return t+o.lineHeight*i}),0)}(t,n),o=tu(t,n);return{width:e?Za(o,r,e):o,height:1.05*(e?Za(r,o,e):r)}},eu=Ha()((function(){var 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");var n=document.createElementNS("http://www.w3.org/2000/svg","text");return t.appendChild(n),t.style.position="fixed",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t),n})),ru=function(t){return t?"".concat(t.angle,":").concat(t.fontFamily,":").concat(t.fontSize,":").concat(t.letterSpacing,":").concat(t.lineHeight):"null"},ou=Ha()((function(t,n){var e,r,o=eu();o.isConnected||(null===(e=(r=eu.cache).clear)||void 0===e||e.call(r),o=eu());var i=Qa(t),a=0;for(var u of i.entries()){var c=qa(u,2),l=c[0],s=c[1],f=document.createElementNS("http://www.w3.org/2000/svg","tspan"),p=Ja(n,l);f.style.fontFamily=p.fontFamily,f.style.fontSize="".concat(p.fontSize,"px"),f.style.lineHeight=p.lineHeight,f.style.fontFamily=p.fontFamily,f.style.letterSpacing=p.letterSpacing,f.textContent=s,f.setAttribute("x","0"),f.setAttribute("y","".concat(a)),o.appendChild(f),a+=p.lineHeight*f.getBoundingClientRect().height}var d=o.getBoundingClientRect().width;return o.innerHTML="",{width:null!=n&&n.angle?Za(d,a,null==n?void 0:n.angle):d,height:null!=n&&n.angle?Za(a,d,null==n?void 0:n.angle):a}}),(function(t,n){var e=Array.isArray(t)?t.join():t,r=Array.isArray(n)?n.map(ru).join():ru(n);return"".concat(e,"::").concat(r)})),iu=function(t,n){return function(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||e?nu(t,n):ou(t,n)}(t,n)};function au(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function uu(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?au(Object(e),!0).forEach((function(n){cu(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):au(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function cu(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function lu(t){return function(t){if(Array.isArray(t))return su(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return su(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?su(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function su(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var fu={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},pu=function(t,n){return t.datum?x(t,t.datum)[n]:0},du=function(t){var n=t&&t.fontSize;if("number"==typeof n)return n;if(null==n)return fu.fontSize;if("string"==typeof n){var e=Number(n.replace("px",""));return isNaN(e)?fu.fontSize:e}return fu.fontSize},hu=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(t)?t[n]||t[0]:t},yu=function(t){var n=t.backgroundStyle,e=t.backgroundPadding;return Array.isArray(n)&&!va()(n)||Array.isArray(e)&&!va()(e)},vu=function(t,n){var e=t.direction,r=t.textAnchor,o=t.x,i=t.dx;if("rtl"===e)return o-n;switch(r){case"middle":return Math.round(o-n/2);case"end":return Math.round(o-n);default:return o+(i||0)}},gu=function(t,n){var e=t.verticalAnchor,r=t.y,o=t.originalDy,i=r+(void 0===o?0:o);switch(e){case"start":return Math.floor(i);case"end":return Math.ceil(i-n);default:return Math.floor(i-n/2)}},mu=function(t,n){return yu(t)?function(t,n){var e=t.dy,r=t.dx,o=t.transform,a=t.backgroundStyle,u=t.backgroundPadding,c=t.backgroundComponent,l=t.inline,s=t.y,f=n.map((function(t,o){var i=hu(n,o-1),a=t.textSize,c=t.fontSize*t.lineHeight,f=Math.ceil(c),p=hu(u,o),d=hu(u,o-1),h=l&&r||0,y=o&&!l?i.fontSize*i.lineHeight+d.top+d.bottom:e-.5*c-(t.fontSize-t.capHeight);return{textHeight:f,labelSize:a,heightWithPadding:f+p.top+p.bottom,widthWithPadding:a.width+p.left+p.right+h,y:s,fontSize:t.fontSize,dy:y}}));return f.map((function(n,e){var r=vu(t,n.labelSize.width),p=f.slice(0,e+1).reduce((function(t,n){return t+n.dy}),s),d=hu(u,e),h=n.heightWithPadding,y=l?function(t,n,e){var r=t.textAnchor,o=n.map((function(t){return t.widthWithPadding})),i=-o.reduce((function(t,n){return t+n}),0)/2;switch(r){case"start":return o.reduce((function(t,n,r){return r<e?t+n:t}),0);case"end":return o.reduce((function(t,n,r){return r>e?t-n:t}),0);default:return o.reduce((function(t,n,r){return r===e?t+n/2:t+(r<e?n:0)}),i)}}(t,f,e)+r-d.left:r,v=l?gu(t,h)-d.top:p,m={key:"tspan-background-".concat(e),height:h,style:hu(a,e),width:n.widthWithPadding,transform:o,x:y-d.left,y:v};return i().cloneElement(c,g()({},c.props,m))}))}(t,n):function(t,n){var e=t.dx,r=void 0===e?0:e,o=t.transform,a=t.backgroundComponent,u=t.backgroundStyle,c=t.inline,l=t.backgroundPadding,s=t.capHeight,f=n.map((function(t){return t.textSize})),p=c?Math.max.apply(Math,lu(f.map((function(t){return t.height})))):f.reduce((function(t,e,r){var o=r?0:s/2;return t+e.height*(n[r].lineHeight-o)}),0),d=c?f.reduce((function(t,n,e){var o=e?r:0;return t+n.width+o}),0):Math.max.apply(Math,lu(f.map((function(t){return t.width})))),h=vu(t,d),y=gu(t,p),v={key:"background",height:p+l.top+l.bottom,style:u,transform:o,width:d+l.left+l.right,x:c?h-l.left:h+r-l.left,y};return i().cloneElement(a,g()({},a.props,v))}(t,n)},bu=function(t,n,e){var r=n.inline,o=hu(t,e);return e&&!r?function(t,n,e){var r=hu(t,n),o=hu(t,n-1),i=o.fontSize*o.lineHeight,a=r.fontSize*r.lineHeight,u=o.fontSize-o.capHeight,c=r.fontSize-r.capHeight,l=i-o.fontSize/2+r.fontSize/2-i/2+a/2-c/2+u/2;return yu(e)?l+r.backgroundPadding.top+o.backgroundPadding.bottom:l}(t,e,n):r?0===e?o.backgroundPadding.top:void 0:o.backgroundPadding.top},xu=function(t){var n=O(t.ariaLabel,t),e=hu(t.style),r=function(t){var n=O(t.lineHeight,t);return Array.isArray(n)&&va()(n)?[1]:n}(t),o=t.direction?O(t.direction,t):"inherit",i=t.textAnchor?O(t.textAnchor,t):e.textAnchor||"start",a=t.verticalAnchor?O(t.verticalAnchor,t):e.verticalAnchor||"middle",u=t.dx?O(t.dx,t):0,c=function(t,n,e){var r=t.dy?O(t.dy,t):0,o=t.inline?1:t.text.length,i=O(t.capHeight,t),a=n?O(n,t):"middle",u=lu(Array(o).keys()).map((function(n){return hu(t.style,n).fontSize})),c=lu(Array(o).keys()).map((function(t){return hu(e,t)}));if("start"===a)return r+(i/2+c[0]/2)*u[0];if(t.inline)return"end"===a?r+(i/2-c[0]/2)*u[0]:r+i/2*u[0];if(1===o)return"end"===a?r+(i/2+(.5-o)*c[0])*u[0]:r+(i/2+(.5-o/2)*c[0])*u[0];var l=lu(Array(o).keys()).reduce((function(t,n){return t+(i/2+(.5-o)*c[n])*u[n]/o}),0);return"end"===a?r+l:r+l/2+i/2*c[o-1]*u[o-1]}(t,a,r),s=void 0!==t.x?t.x:pu(t,"x"),f=void 0!==t.y?t.y:pu(t,"y"),p=function(t,n,e){var r=t.polar,o=hu(t.style),i=r?function(t,n){var e=t.labelPlacement,r=t.datum;if(!e||"vertical"===e)return 0;var o=Ua(t,r),i=0;return 0===o||180===o?i=90:o>0&&o<180?i=90-o:o>180&&o<360&&(i=270-o),i+(o>90&&o<180||o>270?1:-1)*("perpendicular"===e?0:90)}(t):0,a=void 0===o.angle?O(t.angle,t):o.angle,u=void 0===a?i:a,c=t.transform||o.transform,l=c&&O(c,t);return l||u?za(l,u&&{rotate:[u,n,e]}):void 0}(t,s,f);return l()({},t,{ariaLabel:n,lineHeight:r,direction:o,textAnchor:i,verticalAnchor:a,dx:u,dy:c,originalDy:O(t.dy,t),transform:p,x:s,y:f})},wu={backgroundComponent:i().createElement(ka,null),groupComponent:i().createElement("g",null),direction:"inherit",textComponent:i().createElement(Ta,null),tspanComponent:i().createElement(Na,null),capHeight:.71,lineHeight:1},Ou=function(t){var n=function(t){var n=function(t,n){if(null!=t){if(Array.isArray(t))return t.map((function(t){return O(t,n)}));var e=O(t,n);if(null!=e)return Array.isArray(e)?e:"".concat(e).split("\n")}}(t.text,t),e=function(t,n){if(n.disableInlineStyles){var e=M(t,n);return{fontSize:du(e)}}var r=function(t){var e=M(t?g()({},t,fu):fu,n);return l()({},e,{fontSize:du(e)})};return Array.isArray(t)&&!va()(t)?t.map((function(t){return r(t)})):r(t)}(t.style,l()({},t,{text:n})),r=function(t,n){if(t)return Array.isArray(t)&&!va()(t)?t.map((function(t){return M(t,n)})):M(t,n)}(t.backgroundStyle,l()({},t,{text:n,style:e})),o=function(t){return t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((function(n){return w({padding:O(n,t)})})):w({padding:O(t.backgroundPadding,t)})}(l()({},t,{text:n,style:e,backgroundStyle:r})),i=O(t.id,t);return l()({},t,{backgroundStyle:r,backgroundPadding:o,style:e,text:n,id:i})}(uu(uu({},wu),t));if(null===n.text||void 0===n.text)return null;var e=xu(n),r=e.text,o=e.style,a=e.capHeight,u=e.backgroundPadding,c=e.lineHeight,s=r.map((function(t,n){var e=hu(o,n),r=Xa("".concat(a,"em"),e.fontSize),i=hu(c,n);return{style:e,fontSize:e.fontSize||fu.fontSize,capHeight:r,text:t,textSize:iu(t,e),lineHeight:i,backgroundPadding:hu(u,n)}})),f=function(t,n){var e=t.ariaLabel,r=t.inline,o=t.className,a=t.title,u=t.events,c=t.direction,l=t.text,s=t.textAnchor,f=t.dx,p=t.dy,d=t.transform,h=t.x,y=t.y,v=t.desc,g=t.id,m=t.tabIndex,b=t.tspanComponent,x=t.textComponent,w=I(t),M=uu(uu({"aria-label":e,key:"text"},u),{},{direction:c,dx:f,x:h,y:y+p,transform:d,className:o,title:a,desc:O(v,t),tabIndex:O(m,t),id:g},w),j=l.map((function(e,o){var a=n[o].style,u={key:"".concat(g,"-key-").concat(o),x:r?void 0:h,dx:r?f+n[o].backgroundPadding.left:f,dy:bu(n,t,o),textAnchor:a.textAnchor||s,style:a,children:e};return i().cloneElement(b,u)}));return i().cloneElement(x,M,j)}(e,s);if(n.backgroundStyle){var p=[mu(e,s),f],d=i().cloneElement(n.groupComponent,{},p);return n.renderInPortal?i().createElement(Oa,null,d):d}return n.renderInPortal?i().createElement(Oa,null,f):f};Ou.displayName="VictoryLabel",Ou.role="label",Ou.defaultStyles=fu,Ou.propTypes={active:z().bool,angle:z().oneOfType([z().string,z().number,z().func]),ariaLabel:z().oneOfType([z().string,z().func]),backgroundComponent:z().element,backgroundPadding:z().oneOfType([z().number,z().object,z().array]),backgroundStyle:z().oneOfType([z().object,z().array]),capHeight:z().oneOfType([z().string,Ci,z().func]),className:z().string,data:z().array,datum:z().any,desc:z().oneOfType([z().string,z().func]),direction:z().oneOf(["rtl","ltr","inherit"]),dx:z().oneOfType([z().number,z().string,z().func]),dy:z().oneOfType([z().number,z().string,z().func]),events:z().object,groupComponent:z().element,id:z().oneOfType([z().number,z().string,z().func]),index:z().oneOfType([z().number,z().string]),inline:z().bool,labelPlacement:z().oneOf(["parallel","perpendicular","vertical"]),lineHeight:z().oneOfType([z().string,Ci,z().func,z().array]),origin:z().shape({x:Ci.isRequired,y:Ci.isRequired}),polar:z().bool,renderInPortal:z().bool,scale:z().shape({x:_i,y:_i}),style:z().oneOfType([z().object,z().array]),tabIndex:z().oneOfType([z().number,z().func]),text:z().oneOfType([z().string,z().number,z().func,z().array]),textAnchor:z().oneOfType([z().oneOf(["start","middle","end","inherit"]),z().func]),textComponent:z().element,title:z().string,transform:z().oneOfType([z().string,z().object,z().func]),tspanComponent:z().element,verticalAnchor:z().oneOfType([z().oneOf(["start","middle","end"]),z().func]),x:z().oneOfType([z().number,z().string]),y:z().oneOfType([z().number,z().string])};var Mu=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],ju="#252525",Eu="#969696",Au={width:450,height:300,padding:50,colorScale:Mu},ku={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:ju,stroke:"transparent"},Su=l()({textAnchor:"middle"},ku),Pu={area:l()({style:{data:{fill:ju},labels:ku}},Au),axis:l()({style:{axis:{fill:"transparent",stroke:ju,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:l()({},Su,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:ku}},Au),bar:l()({style:{data:{fill:ju,padding:8,strokeWidth:0},labels:ku}},Au),boxplot:l()({style:{max:{padding:8,stroke:ju,strokeWidth:1},maxLabels:l()({},ku,{padding:3}),median:{padding:8,stroke:ju,strokeWidth:1},medianLabels:l()({},ku,{padding:3}),min:{padding:8,stroke:ju,strokeWidth:1},minLabels:l()({},ku,{padding:3}),q1:{padding:8,fill:Eu},q1Labels:l()({},ku,{padding:3}),q3:{padding:8,fill:Eu},q3Labels:l()({},ku,{padding:3})},boxWidth:20},Au),candlestick:l()({style:{data:{stroke:ju,strokeWidth:1},labels:l()({},ku,{padding:5})},candleColors:{positive:"#ffffff",negative:ju}},Au),chart:Au,errorbar:l()({borderWidth:8,style:{data:{fill:"transparent",stroke:ju,strokeWidth:2},labels:ku}},Au),group:l()({colorScale:Mu},Au),histogram:l()({style:{data:{fill:Eu,stroke:ju,strokeWidth:2},labels:ku}},Au),legend:{colorScale:Mu,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:ku,title:l()({},ku,{padding:5})}},line:l()({style:{data:{fill:"transparent",stroke:ju,strokeWidth:2},labels:ku}},Au),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:l()({},ku,{padding:20})},colorScale:Mu,width:400,height:400,padding:50},scatter:l()({style:{data:{fill:ju,stroke:"transparent",strokeWidth:0},labels:ku}},Au),stack:l()({colorScale:Mu},Au),tooltip:{style:l()({},ku,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:ju,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:l()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:l()({},ku,{padding:5,pointerEvents:"none"}),flyout:{stroke:ju,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Au)},Cu=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],Tu="#ECEFF1",_u="#90A4AE",Du="#455A64",Iu="#212121",Nu={width:350,height:350,padding:50},Ru={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:Du,stroke:"transparent",strokeWidth:0},Lu=l()({textAnchor:"middle"},Ru),Uu="round",Fu="round",zu={grayscale:Pu,material:{area:l()({style:{data:{fill:Iu},labels:Ru}},Nu),axis:l()({style:{axis:{fill:"transparent",stroke:_u,strokeWidth:2,strokeLinecap:Uu,strokeLinejoin:Fu},axisLabel:l()({},Lu,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:Tu,strokeDasharray:"10, 5",strokeLinecap:Uu,strokeLinejoin:Fu,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:_u,strokeWidth:1,strokeLinecap:Uu,strokeLinejoin:Fu},tickLabels:l()({},Ru,{fill:Du})}},Nu),polarDependentAxis:l()({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:l()({style:{data:{fill:Du,padding:8,strokeWidth:0},labels:Ru}},Nu),boxplot:l()({style:{max:{padding:8,stroke:Du,strokeWidth:1},maxLabels:l()({},Ru,{padding:3}),median:{padding:8,stroke:Du,strokeWidth:1},medianLabels:l()({},Ru,{padding:3}),min:{padding:8,stroke:Du,strokeWidth:1},minLabels:l()({},Ru,{padding:3}),q1:{padding:8,fill:Du},q1Labels:l()({},Ru,{padding:3}),q3:{padding:8,fill:Du},q3Labels:l()({},Ru,{padding:3})},boxWidth:20},Nu),candlestick:l()({style:{data:{stroke:Du},labels:l()({},Ru,{padding:5})},candleColors:{positive:"#ffffff",negative:Du}},Nu),chart:Nu,errorbar:l()({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:Du,strokeWidth:2},labels:Ru}},Nu),group:l()({colorScale:Cu},Nu),histogram:l()({style:{data:{fill:Du,stroke:Iu,strokeWidth:2},labels:Ru}},Nu),legend:{colorScale:Cu,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Ru,title:l()({},Ru,{padding:5})}},line:l()({style:{data:{fill:"transparent",opacity:1,stroke:Du,strokeWidth:2},labels:Ru}},Nu),pie:l()({colorScale:Cu,style:{data:{padding:8,stroke:Tu,strokeWidth:1},labels:l()({},Ru,{padding:20})}},Nu),scatter:l()({style:{data:{fill:Du,opacity:1,stroke:"transparent",strokeWidth:0},labels:Ru}},Nu),stack:l()({colorScale:Cu},Nu),tooltip:{style:l()({},Ru,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:Iu,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:l()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:l()({},Ru,{padding:5,pointerEvents:"none"}),flyout:{stroke:Iu,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Nu)}},Wu=r(4295),Hu=r.n(Wu),qu=r(2829),$u=r.n(qu),Bu=r(2645),Yu=r.n(Bu),Vu=r(1616),Ku=r.n(Vu),Gu=r(8999),Qu=r.n(Gu),Zu=r(8254),Xu=r.n(Zu),Ju=r(4143),tc=r.n(Ju),nc=r(1950),ec=r.n(nc),rc=r(8825),oc=r.n(rc),ic=r(9602),ac=r.n(ic);function uc(t){return!(!t||!t["@@__IMMUTABLE_ITERABLE__@@"])}function cc(t,n){return uc(t)?t.reduce((function(t,e,r){var o=e;return n&&n[r]&&(o=cc(e)),t[r]=o,t}),function(t){return!(!t||!t["@@__IMMUTABLE_LIST__@@"])}(t)?[]:{}):t}function lc(t){return function(t){if(Array.isArray(t))return sc(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return sc(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?sc(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sc(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function fc(t){var n;return uc(n=t)||function(t){return!(!t||!t["@@__IMMUTABLE_RECORD__@@"])}(n)?cc(t,{errorX:!0,errorY:!0}):t}function pc(t,n){var e=(Y()(t.domain)?t.domain[n]:t.domain)||Oi(t,n).domain(),r=t.samples||1,o=Math.max.apply(Math,lc(e)),i=Math.min.apply(Math,lc(e)),a=(o-i)/r,u=oc()(i,o,a);return ec()(u)===o?u:u.concat(o)}function dc(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ascending";if(!n)return t;var r=n;"x"!==n&&"y"!==n||(r="_".concat(n));var o="ascending"===e?"asc":"desc";return tc()(t,r,o)}function hc(t,n){var e=function(t,n){var e=t.tickValues,r=t.tickFormat;return(e&&(Array.isArray(e)||e[n])?e[n]||e:r&&Array.isArray(r)?r:[]).filter((function(t){return"string"==typeof t}))}(t,n),r=mc(t,n),o=function(t,n){if(!Array.isArray(t.data)&&!uc(t.data))return[];var e=k(void 0===t[n]?n:t[n]);return dc(t.data.reduce((function(t,n){return t.push(fc(n)),t}),[]),t.sortKey,t.sortOrder).reduce((function(t,n){var r=fc(n);return t.push(e(r)),t}),[]).filter((function(t){return"string"==typeof t})).reduce((function(t,n){return null!=n&&-1===t.indexOf(n)&&t.push(n),t}),[])}(t,n),i=ac()([].concat(lc(e),lc(r),lc(o)));return 0===i.length?null:i.reduce((function(t,n,e){return t[n]=e+1,t}),{})}function yc(t,n,e){if(!Array.isArray(t)&&!uc(t)||function(t){return uc(t)?t.size:t.length}(t)<1)return[];var r,o=["x","y","y0"],i=(e=Array.isArray(e)?e:o).reduce((function(t,e){var r;return t[e]=k(void 0!==n[r=e]?n[r]:r),t}),{}),a=Xu()(e,o)&&"_x"===n.x&&"_y"===n.y&&"_y0"===n.y0;!1===a&&(r={x:-1!==e.indexOf("x")?hc(n,"x"):void 0,y:-1!==e.indexOf("y")?hc(n,"y"):void 0,y0:-1!==e.indexOf("y0")?hc(n,"y"):void 0});var u=a?t:t.reduce((function(t,n,o){var a=fc(n),u={x:o,y:a},c=e.reduce((function(t,n){var e=i[n](a),o=void 0!==e?e:u[n];return void 0!==o&&("string"==typeof o&&r[n]?(t["".concat(n,"Name")]=o,t["_".concat(n)]=r[n][o]):t["_".concat(n)]=o),t}),{}),s=l()({},c,a);return va()(s)||t.push(s),t}),[]),c=function(t,n){var e=1/Number.MAX_SAFE_INTEGER,r={x:Mi(n,"x"),y:Mi(n,"y")};if("log"!==r.x&&"log"!==r.y)return t;var o=function(t,n){return"log"!==r[n]||0!==t["_".concat(n)]};return t.map((function(t){return o(t,"x")&&o(t,"y")&&o(t,"y0")?t:function(t){var n=o(t,"x")?t._x:e,r=o(t,"y")?t._y:e,i=o(t,"y0")?t._y0:e;return l()({},t,{_x:n,_y:r,_y0:i})}(t)}))}(dc(u,n.sortKey,n.sortOrder),n);return function(t,n){var e,r=!!t.eventKey,o=(e=t.eventKey,y()(e)?e:null==e?function(){}:d()(e));return n.map((function(t,n){if(void 0!==t.eventKey)return t;if(r){var e=o(t,n);return void 0!==e?l()({eventKey:e},t):t}return t}))}(n,c)}function vc(t,n){return t.categories&&!Array.isArray(t.categories)?t.categories[n]:t.categories}function gc(t){return t.data?yc(t.data,t):yc(function(t){var n=pc(t,"x"),e=pc(t,"y");return n.map((function(t,n){return{x:t,y:e[n]}}))}(t),t)}function mc(t,n){if(!t.categories)return[];var e=vc(t,n),r=e&&e.filter((function(t){return"string"==typeof t}));return r?r.filter((function(t){return void 0!==t})):[]}function bc(t){return function(t){if(Array.isArray(t))return xc(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return xc(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?xc(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xc(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function wc(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"min",r=function(t){return"max"===e?Math.max.apply(Math,bc(t)):Math.min.apply(Math,bc(t))},o="max"===e?-1/0:1/0,i=!1,a=Yu()(t).reduce((function(t,e){var o=void 0!==e["_".concat(n,"0")]?e["_".concat(n,"0")]:e["_".concat(n)],a=void 0!==e["_".concat(n,"1")]?e["_".concat(n,"1")]:e["_".concat(n)],u=r([o,a]);return i=i||o instanceof Date||a instanceof Date,r([t,u])}),o);return i?new Date(a):a}function Oc(t,n){var e=y()(t)?t:Ec,r=y()(n)?n:Mc;return function(t,n){var o=function(t,n){var e=Sc(t,n),r=kc(t,n);return Y()(t.domain)&&t.domain[n]?t.domain[n]:Array.isArray(t.domain)?t.domain:void 0!==e&&void 0!==r?Ac(e,r):void 0}(t,n);if(o)return r(o,t,n);var i=vc(t,n),a=i?function(t,n,e){var r=e||vc(t,n),o=t.polar,i=t.startAngle,a=void 0===i?0:i,u=t.endAngle,c=void 0===u?360:u;if(r){var l,s=Sc(t,n),f=kc(t,n),p=(l=r,Array.isArray(l)&&l.some((function(t){return"string"==typeof t}))?mc(t,n):[]),d=0===p.length?null:p.reduce((function(t,n,e){return t[n]=e+1,t}),{}),h=d?r.map((function(t){return d[t]})):r,y=Ac(void 0!==s?s:J(h),void 0!==f?f:X(h));return o&&"x"===n&&360===Math.abs(a-c)?Pc(y,h):y}}(t,n,i):e(t,n);return a?r(a,t,n):void 0}}function Mc(t,n,e){return function(t,n,e){return"log"!==Mi(n,e)?t:(o=(r=t)[0]<0||r[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER,[0===r[0]?o:r[0],0===r[1]?o:r[1]]);var r,o}(function(t,n,e){if(!n.domainPadding)return t;var r=Sc(n,e),o=kc(n,e),i=function(t,n){var e=function(t){return Array.isArray(t)?{left:t[0],right:t[1]}:{left:t,right:t}};return Y()(t.domainPadding)?e(t.domainPadding[n]):e(t.domainPadding)}(n,e);if(!i.left&&!i.right)return t;var a=J(t),u=X(t),c=function(t,n){return n?"x"===t?"y":"x":t}(e,n.horizontal),l=A(n,c),s=Math.abs(l[0]-l[1]),f=Math.max(s-i.left-i.right,1),p=Math.abs(u.valueOf()-a.valueOf())/f*s,d=p*i.left/s,h=p*i.right/s,y={min:a.valueOf()-d,max:u.valueOf()+h},v=Y()(n.singleQuadrantDomainPadding)?n.singleQuadrantDomainPadding[e]:n.singleQuadrantDomainPadding,g=function(t,n){return"min"===n&&a>=0&&t<=0||"max"===n&&u<=0&&t>=0?0:t};if((a>=0&&y.min<=0||u<=0&&y.max>=0)&&!1!==v){var m={left:Math.abs(u-a)*i.left/s,right:Math.abs(u-a)*i.right/s},b={min:g(a.valueOf()-m.left,"min"),max:g(u.valueOf()+m.right,"max")},x={left:Math.abs(b.max-b.min)*i.left/s,right:Math.abs(b.max-b.min)*i.right/s};y={min:g(a.valueOf()-x.left,"min"),max:g(u.valueOf()+x.right,"max")}}var w={min:void 0!==r?r:y.min,max:void 0!==o?o:y.max};return a instanceof Date||u instanceof Date?Ac(new Date(w.min),new Date(w.max)):Ac(w.min,w.max)}(t,n,e),n,e)}function jc(t,n){return Oc()(t,n)}function Ec(t,n,e){var r=e||gc(t),o=t.polar,i=t.startAngle,a=void 0===i?0:i,u=t.endAngle,c=void 0===u?360:u,l=Sc(t,n),s=kc(t,n);if(r.length<1)return void 0!==l&&void 0!==s?Ac(l,s):void 0;var f=Ac(void 0!==l?l:wc(r,n,"min"),void 0!==s?s:wc(r,n,"max"));return o&&"x"===n&&360===Math.abs(a-c)?Pc(f,function(t,n){var e="_".concat(n);return Yu()(t).map((function(t){return t[e]&&void 0!==t[e][1]?t[e][1]:t[e]}))}(r,n)):f}function Ac(t,n){var e,r,o,i;return Number(t)===Number(n)?(r=0===(e=n)?2*Math.pow(10,-10):Math.pow(10,-10),o=e instanceof Date?new Date(Number(e)-1):Number(e)-r,i=e instanceof Date?new Date(Number(e)+1):Number(e)+r,0===e?[0,i]:[o,i]):[t,n]}function kc(t,n){return Y()(t.maxDomain)&&void 0!==t.maxDomain[n]?t.maxDomain[n]:"number"==typeof t.maxDomain||Hu()(t.maxDomain)?t.maxDomain:void 0}function Sc(t,n){return Y()(t.minDomain)&&void 0!==t.minDomain[n]?t.minDomain[n]:"number"==typeof t.minDomain||Hu()(t.minDomain)?t.minDomain:void 0}function Pc(t,n){var e=$u()(n.sort((function(t,n){return t-n}))),r=e[1]-e[0];return[t[0],t[1]+r]}var Cc=r(4882),Tc=r.n(Cc),_c=r(9555),Dc=r.n(_c),Ic=r(6354),Nc=r.n(Ic),Rc=r(4912),Lc=r.n(Rc);function Uc(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function Fc(t){return function(t){if(Array.isArray(t))return zc(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return zc(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?zc(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zc(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var Wc=/^onGlobal(.*)$/;function Hc(t,n,e,r){var o,i=this,a=function(t){var r,o=(r=t.reduce((function(t,e){return void 0!==e.target?(Array.isArray(e.target)?K()(e.target,n):"".concat(e.target)==="".concat(n))?t.concat(e):t:t.concat(e)}),[]),void 0!==e&&"parent"!==n?r.filter((function(t){var n=t.eventKey,r=function(t){return!t||"".concat(t)==="".concat(e)};return Array.isArray(n)?n.some((function(t){return r(t)})):r(n)})):r);return Array.isArray(o)&&o.reduce((function(t,n){return n?l()(t,n.eventHandlers):t}),{})},u=Array.isArray(i.componentEvents)?Array.isArray(t.events)?(o=i.componentEvents).concat.apply(o,Fc(t.events)):i.componentEvents:t.events,c=u&&y()(r)?r(a(u),n):void 0;if(!t.sharedEvents)return c;var s=t.sharedEvents.getEvents,f=t.sharedEvents.events&&s(a(t.sharedEvents.events),n);return l()({},f,c)}function qc(t,n,e,r){var o=this;if(va()(t))return{};var i=r||this.baseProps,a=function(t,n){var e=t.childName,r=t.target,a=t.key,u="props"===n?i:o.state||{},c=null!=e&&u[e]?u[e]:u;return"parent"===a?c.parent:c[a]&&c[a][r]},c=function(t,i){var c="parent"===n?t.childName:t.childName||e,s=t.target||n,f=function(n,e){var i=o.state||{};if(!y()(t.mutation))return i;var c=a({childName:e,key:n,target:s},"props"),f=a({childName:e,key:n,target:s},"state"),p=t.mutation(l()({},c,f),r),d=i[e]||{},h=function(t){return p?function(t){return"parent"===s?l()(t,Uc({},n,l()(t[n],p))):l()(t,Uc({},n,l()(t[n],Uc({},s,p))))}(t):function(t){return t[n]&&t[n][s]&&delete t[n][s],t[n]&&!u()(t[n]).length&&delete t[n],t}(t)};return null!=e?l()(i,Uc({},e,h(d))):h(i)},p=function(n){var e=function(n){return"parent"===s?"parent":"all"===t.eventKey?r[n]?Tc()(u()(r[n]),"parent"):Tc()(u()(r),"parent"):void 0===t.eventKey&&"parent"===i?r[n]?u()(r[n]):u()(r):void 0!==t.eventKey?t.eventKey:i}(n);return Array.isArray(e)?e.reduce((function(t,e){return l()(t,f(e,n))}),{}):f(e,n)},d="all"===c?Tc()(u()(r),"parent"):c;return Array.isArray(d)?d.reduce((function(t,n){return l()(t,p(n))}),{}):p(d)},s=function(n,e,r,i){var a=t[i](n,e,r,o);if(!va()(a)){var u=function(t){var n=function(t){return y()(t.callback)&&t.callback},e=(Array.isArray(t)?t.map((function(t){return n(t)})):[n(t)]).filter((function(t){return!1!==t}));return e.length?function(){return e.forEach((function(t){return t()}))}:void 0}(a);o.setState(function(t,n){return Array.isArray(t)?t.reduce((function(t,e){return l()({},t,c(e,n))}),{}):c(t,n)}(a,r),u)}};return u()(t).reduce((function(t,n){return t[n]=s,t}),{})}function $c(t,n,e){return t?u()(t).reduce((function(r,o){return r[o]=function(r){return t[o](r,e,n,o)},r}),{}):{}}function Bc(t,n,e){var r=this.state||{};return e?r[e]&&r[e][t]&&r[e][t][n]:"parent"===t?r[t]&&r[t][n]||r[t]:r[t]&&r[t][n]}function Yc(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,o=u()(n);return o.reduce((function(o,i){var a=e[i]||{},c=n[i]||{};if("parent"===i){var s=Vc(t,c,a,{eventKey:i,target:"parent"});o[i]=void 0!==s?l()({},a,s):a}else{var f=ac()(u()(c).concat(u()(a)));o[i]=f.reduce((function(n,e){var o={eventKey:i,target:e,childName:r},u=Vc(t,c[e],a[e],o);return n[e]=void 0!==u?l()({},a[e],u):a[e],Lc()(n,(function(t){return!va()(t)}))}),{})}return Lc()(o,(function(t){return!va()(t)}))}),{})}function Vc(t,n,e,r){var o=function(t,n){if("string"==typeof t[n])return"all"===t[n]||t[n]===r[n];if(Array.isArray(t[n])){var e=t[n].map((function(t){return"".concat(t)}));return K()(e,r[n])}return!1},i=Array.isArray(t)?t:[t];r.childName&&(i=t.filter((function(t){return o(t,"childName")})));var a=i.filter((function(t){return o(t,"target")}));if(!va()(a)){var u=a.filter((function(t){return o(t,"eventKey")}));if(!va()(u))return u.reduce((function(t,r){var o=(r&&y()(r.mutation)?r.mutation:function(){})(l()({},n,e));return l()({},t,o)}),{})}}function Kc(t,n){var e=Array.isArray(n)&&n.reduce((function(n,e){var r=t[e],o=r&&r.type&&r.type.defaultEvents,i=y()(o)?o(r.props):o;return Array.isArray(i)?n.concat.apply(n,Fc(i)):n}),[]);return e&&e.length?e:void 0}function Gc(t){var n=t.match(Wc);return n&&n[1]&&n[1].toLowerCase()}var Qc=function(t){return Lc()(t,(function(t,n){return Wc.test(n)}))},Zc=function(t){return Ku()(t,(function(t,n){return Wc.test(n)}))},Xc=function(t){return l()(t,{nativeEvent:t})},Jc=r(7491),tl=r.n(Jc);const nl=t=>+t;function el(t){return t*t}function rl(t){return t*(2-t)}function ol(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function il(t){return t*t*t}function al(t){return--t*t*t+1}function ul(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var cl=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),ll=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),sl=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),fl=Math.PI,pl=fl/2;function dl(t){return 1==+t?1:1-Math.cos(t*pl)}function hl(t){return Math.sin(t*pl)}function yl(t){return(1-Math.cos(fl*t))/2}function vl(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function gl(t){return vl(1-+t)}function ml(t){return 1-vl(t)}function bl(t){return((t*=2)<=1?vl(1-t):2-vl(t-1))/2}function xl(t){return 1-Math.sqrt(1-t*t)}function wl(t){return Math.sqrt(1- --t*t)}function Ol(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var Ml=7.5625;function jl(t){return 1-El(1-t)}function El(t){return(t=+t)<.36363636363636365?Ml*t*t:t<.7272727272727273?Ml*(t-=.5454545454545454)*t+.75:t<.9090909090909091?Ml*(t-=.8181818181818182)*t+.9375:Ml*(t-=.9545454545454546)*t+.984375}function Al(t){return((t*=2)<=1?1-El(1-t):El(t-1)+1)/2}var kl=1.70158,Sl=function t(n){function e(t){return(t=+t)*t*(n*(t-1)+t)}return n=+n,e.overshoot=t,e}(kl),Pl=function t(n){function e(t){return--t*t*((t+1)*n+t)+1}return n=+n,e.overshoot=t,e}(kl),Cl=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(kl),Tl=2*Math.PI,_l=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Tl);function o(t){return n*vl(- --t)*Math.sin((r-t)/e)}return o.amplitude=function(n){return t(n,e*Tl)},o.period=function(e){return t(n,e)},o}(1,.3),Dl=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Tl);function o(t){return 1-n*vl(t=+t)*Math.sin((t+r)/e)}return o.amplitude=function(n){return t(n,e*Tl)},o.period=function(e){return t(n,e)},o}(1,.3),Il=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Tl);function o(t){return((t=2*t-1)<0?n*vl(-t)*Math.sin((r-t)/e):2-n*vl(t)*Math.sin((r+t)/e))/2}return o.amplitude=function(n){return t(n,e*Tl)},o.period=function(e){return t(n,e)},o}(1,.3),Nl=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)||Y()(t)}return!1},Rl=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(r){return r<e?t:n}},Ll=function(t,n){return function(e){return e>=1?n:function(){var r="function"==typeof t?t.apply(this,arguments):t,o="function"==typeof n?n.apply(this,arguments):n;return xn(r,o)(e)}}},Ul=function(t,n){var e,r,o,i=function(t){return Array.isArray(t)?tc()(t,"key"):t},a={},u={},c=t,l=n;for(e in null!==c&&"object"==typeof c||(c={}),null!==l&&"object"==typeof l||(l={}),l)e in c?a[e]=(r=i(c[e]))!==(o=i(l[e]))&&Nl(r)&&Nl(o)?"function"==typeof r||"function"==typeof o?Ll(r,o):"object"==typeof r&&Y()(r)||"object"==typeof o&&Y()(o)?Ul(r,o):xn(r,o):Rl(r,o):u[e]=l[e];return function(t){for(e in a)u[e]=a[e](t);return u}};function Fl(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function zl(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Wl(t,n){return Wl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},Wl(t,n)}function Hl(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function ql(t){return ql=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ql(t)}var $l=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&Wl(t,n)}(u,t);var e,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=ql(o);if(i){var e=ql(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return Hl(this,t)});function u(t,e){var r;return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),(r=a.call(this,t,e)).interpolator=void 0,r.queue=void 0,r.ease=void 0,r.timer=void 0,r.loopID=void 0,r.functionToBeRunEachFrame=function(t,n){var e=void 0!==n?n:r.props.duration,o=e?t/e:1;if(o>=1)return r.setState({data:r.interpolator(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),r.loopID&&r.timer.unsubscribe(r.loopID),r.queue.shift(),void r.traverseQueue();r.setState({data:r.interpolator(r.ease(o)),animationInfo:{progress:o,animating:o<1}})},r.state={data:Array.isArray(r.props.data)?r.props.data[0]:r.props.data,animationInfo:{progress:0,animating:!1}},r.interpolator=null,r.queue=Array.isArray(r.props.data)?r.props.data.slice(1):[],r.ease=n[r.toNewName(r.props.easing)],r.timer=r.context.animationTimer,r}return e=u,(r=[{key:"componentDidMount",value:function(){this.queue.length&&this.traverseQueue()}},{key:"componentDidUpdate",value:function(t){if(!tl()(this.props,t))if(this.interpolator&&this.state.animationInfo&&this.state.animationInfo.progress<1)this.setState({data:this.interpolator(1),animationInfo:{progress:1,animating:!1,terminating:!0}});else{var n;this.timer.unsubscribe(this.loopID),Array.isArray(this.props.data)?(n=this.queue).push.apply(n,function(t){if(Array.isArray(t))return Fl(t)}(e=this.props.data)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,n){if(t){if("string"==typeof t)return Fl(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Fl(t,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):(this.queue.length=0,this.queue.push(this.props.data)),this.traverseQueue()}var e}},{key:"componentWillUnmount",value:function(){this.loopID?this.timer.unsubscribe(this.loopID):this.timer.stop()}},{key:"toNewName",value:function(t){var n;return"ease".concat((n=t)&&n[0].toUpperCase()+n.slice(1))}},{key:"traverseQueue",value:function(){var t,n,e=this;if(this.queue.length){var r=this.queue[0];this.interpolator=(t=this.state.data)!==(n=r)&&Nl(t)&&Nl(n)?"function"==typeof t||"function"==typeof n?Ll(t,n):Y()(t)||Y()(n)?Ul(t,n):"string"==typeof t||"string"==typeof n?function(t,n){var e=function(t){return"string"==typeof t?t.replace(/,/g,""):t};return xn(e(t),e(n))}(t,n):xn(t,n):Rl(t,n),this.props.delay?setTimeout((function(){e.loopID=e.timer.subscribe(e.functionToBeRunEachFrame,e.props.duration)}),this.props.delay):this.loopID=this.timer.subscribe(this.functionToBeRunEachFrame,this.props.duration)}else this.props.onEnd&&this.props.onEnd()}},{key:"render",value:function(){return this.props.children(this.state.data,this.state.animationInfo)}}])&&zl(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(i().Component);$l.displayName="VictoryAnimation",$l.propTypes={children:z().func,data:z().oneOfType([z().object,z().array]),delay:z().number,duration:z().number,easing:z().oneOf(["back","backIn","backOut","backInOut","bounce","bounceIn","bounceOut","bounceInOut","circle","circleIn","circleOut","circleInOut","linear","linearIn","linearOut","linearInOut","cubic","cubicIn","cubicOut","cubicInOut","elastic","elasticIn","elasticOut","elasticInOut","exp","expIn","expOut","expInOut","poly","polyIn","polyOut","polyInOut","quad","quadIn","quadOut","quadInOut","sin","sinIn","sinOut","sinInOut"]),onEnd:z().func},$l.defaultProps={data:{},delay:0,duration:1e3,easing:"quadInOut"},$l.contextType=ia;var Bl=r(5346),Yl=r.n(Bl);function Vl(t,n){return(t.key||n).toString()}function Kl(t){return t.reduce((function(t,n,e){return t[Vl(n,e)]=n,t}),{})}function Gl(t,n){var e=!1,r=u()(t).reduce((function(t,r){return r in n||(e=!0,t[r]=!0),t}),{});return e&&r}function Ql(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function Zl(t,n){var e=!1,r=!1,o=function(t,n){return t.map((function(a,u){return a&&a.props&&a.props.children&&n[u]?o(i().Children.toArray(t[u].props.children),i().Children.toArray(n[u].props.children)):function(t,n){if(!n||t.type!==n.type)return{};var o,i,a,u,c=(o=Ql(t),i=Ql(n),a=o&&Kl(o),u=i&&Kl(i),{entering:a&&Gl(u,a),exiting:u&&Gl(a,u)}||{}),l=c.entering,s=c.exiting;return e=e||!!s,r=r||!!l,{entering:l||!1,exiting:s||!1}}(a,n[u])}))},a=o(i().Children.toArray(t),i().Children.toArray(n));return{nodesWillExit:e,nodesWillEnter:r,childrenTransitions:a,nodesShouldEnter:!1}}function Xl(t,n,e){var r=n&&n.nodesWillExit,o=n&&n.nodesWillEnter,i=n&&n.nodesShouldEnter,a=n&&n.nodesShouldLoad,u=n&&n.nodesDoneLoad,c=n&&n.childrenTransitions||[],s={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},f=function(t,n,r){return a?function(t,n,r){var o=l()({},t,{onEnd:function(){e({nodesShouldLoad:!1,nodesDoneLoad:!0})}});if(o&&o.onLoad&&!o.onLoad.duration)return{animate:t,data:n};var i=t.onLoad&&t.onLoad.after?t.onLoad.after:Yl();return{animate:o,data:n.map((function(t,e){return l()({},t,i(t,e,n))}))}}(r,n):function(t,n,r,o){var i=l()({},t,{onEnd:function(){e({nodesDoneLoad:!0})}});if(i&&i.onLoad&&!i.onLoad.duration)return{animate:i,data:r};var a=i.onLoad&&i.onLoad.before?i.onLoad.before:Yl();return{animate:i,data:r.map((function(t,n){return l()({},t,a(t,n,r))})),clipWidth:0}}(r,0,n)},p=function(t,n,r,o){return function(t,n,r,o,i){var a=t&&t.onExit,u=l()({},t,a),c=r;if(o){t.onEnd=function(){e({nodesWillExit:!1})};var s=t.onExit&&t.onExit.before?t.onExit.before:Yl();c=r.map((function(t,n){var e=(t.key||n).toString();return o[e]?l()({},t,s(t,n,r)):t}))}return{animate:u,data:c}}(o,0,r,t)},d=function(t,n,r,o){return i?function(t,n,r,o){var i=t&&t.onEnter,a=l()({},t,i),u=n;if(r){a.onEnd=function(){e({nodesWillEnter:!1})};var c=a.onEnter&&a.onEnter.after?a.onEnter.after:Yl();u=n.map((function(t,e){var o=Vl(t,e);return r[o]?l()({},t,c(t,e,n)):t}))}return{animate:a,data:u}}(o,r,t):function(t,n,r,o,i){var a=t,u=r;if(o){a=l()({},t,{onEnd:function(){e({nodesShouldEnter:!0})}});var c=t.onEnter&&t.onEnter.before?t.onEnter.before:Yl();u=r.map((function(t,n){var e=(t.key||n).toString();return o[e]?l()({},t,c(t,n,r)):t}))}return{animate:a,data:u}}(o,0,r,t)},h=function(t,n){var e=t.props.animate;if(!t.type)return{};var r=t.props&&t.props.polar&&t.type.defaultPolarTransitions||t.type.defaultTransitions;if(r){var o=e[n]&&e[n].duration;return void 0!==o?o:r[n]&&r[n].duration}return{}};return function(e,a){var y=Ql(e)||[],v=g()({},t.animate,e.props.animate),m=e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;v.onExit=g()({},v.onExit,m&&m.onExit),v.onEnter=g()({},v.onEnter,m&&m.onEnter),v.onLoad=g()({},v.onLoad,m&&m.onLoad);var b=c[a]||c[0];if(!u){var x={duration:void 0!==s.load?s.load:h(e,"onLoad")};return f(0,y,l()({},v,x))}if(r){var w=b&&b.exiting,O=void 0!==s.exit?s.exit:h(e,"onExit"),M=w?{duration:O}:{delay:O};return p(w,0,y,l()({},v,M))}if(o){var j=b&&b.entering,E=void 0!==s.enter?s.enter:h(e,"onEnter"),A=void 0!==s.move?s.move:e.props.animate&&e.props.animate.duration,k={duration:i&&j?E:A};return d(j,0,y,l()({},v,k))}return!n&&v&&v.onExit?function(t,n){var e=t.onEnter&&t.onEnter.after?t.onEnter.after:Yl();return{data:n.map((function(t,r){return l()({},t,e(t,r,n))}))}}(v,y):{animate:v,data:y}}}function Jl(){return Jl=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},Jl.apply(this,arguments)}function ts(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ns(t,n){return ns=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},ns(t,n)}function es(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function rs(t){return rs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},rs(t)}var os=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&ns(t,n)}(u,t);var n,e,r,o,a=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=rs(r);if(o){var e=rs(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return es(this,t)});function u(t,n){var e;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),(e=a.call(this,t,n)).continuous=void 0,e.timer=void 0,e.transitionProps=void 0,e.state={nodesShouldLoad:!1,nodesDoneLoad:!1};var r=e.props.children,o=r.props.polar;return e.continuous=!o&&r.type&&!0===r.type.continuous,e.timer=e.context.transitionTimer,e}return n=u,e=[{key:"componentDidMount",value:function(){this.setState({nodesShouldLoad:!0})}},{key:"shouldComponentUpdate",value:function(t){var n=this;return tl()(this.props,t)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,t),(function(){return n.timer.resumeAnimation()}))),!0}},{key:"componentWillUnmount",value:function(){this.timer.stop()}},{key:"getTransitionState",value:function(t,n){var e=t.animate;if(!e)return{};if(e.parentState)return{oldProps:e.parentState.nodesWillExit?t:null,nextProps:n};var r=Zl(i().Children.toArray(t.children),i().Children.toArray(n.children)),o=r.nodesWillExit;return{nodesWillExit:o,nodesWillEnter:r.nodesWillEnter,childrenTransitions:r.childrenTransitions,nodesShouldEnter:r.nodesShouldEnter,oldProps:o?t:null,nextProps:n}}},{key:"getDomainFromChildren",value:function(t,n){var e=function(t){return t.reduce((function(t,r){if(r.type&&y()(r.type.getDomain)){var o=r.props&&r.type.getDomain(r.props,n);return o?t.concat(o):t}return r.props&&r.props.children?t.concat(e(i().Children.toArray(r.props.children))):t}),[])},r=i().Children.toArray(t.children)[0],o=r.props||{},a=Array.isArray(o.domain)?o.domain:o.domain&&o.domain[n];if(!o.children&&a)return a;var u=e([r]);return 0===u.length?[0,1]:[J(u),X(u)]}},{key:"pickProps",value:function(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}},{key:"pickDomainProps",value:function(t){var n,e=null===(n=t.animate)||void 0===n?void 0:n.parentState;return e&&e.nodesWillExit?(this.continuous||e.continuous)&&(e.nextProps||this.state.nextProps)||t:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||t}},{key:"getClipWidth",value:function(t,n){var e=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==e?e:function(){var e=A(n.props,"x");return e?Math.abs(e[1]-e[0]):t.width}()}},{key:"render",value:function(){var t,n=this,e=this.pickProps(),r=null!==(t=this.props.animate)&&void 0!==t&&t.getTransitions?this.props.animate.getTransitions:Xl(e,this.state,(function(t){return n.setState(t)})),o=i().Children.toArray(e.children)[0],a=r(o);this.transitionProps=a;var u={x:this.getDomainFromChildren(this.pickDomainProps(e),"x"),y:this.getDomainFromChildren(e,"y")},c=this.getClipWidth(e,o),l=g()({domain:u,clipWidth:c},a,o.props),s=(e.animationWhitelist||[]).concat(["clipWidth"]),p=s.length?f()(l,s):l;return i().createElement($l,Jl({},l.animate,{data:p}),(function(t){if(o.props.groupComponent){var e=n.continuous?i().cloneElement(o.props.groupComponent,{clipWidth:t.clipWidth||0}):o.props.groupComponent;return i().cloneElement(o,g()({animate:null,animating:!0,groupComponent:e},t,l))}return i().cloneElement(o,g()({animate:null,animating:!0},t,l))}))}}],e&&ts(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);function is(t){return function(t){if(Array.isArray(t))return as(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return as(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?as(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function as(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function us(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function cs(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ls(t,n,e){return n&&cs(t.prototype,n),e&&cs(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function ss(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&fs(t,n)}function fs(t,n){return fs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},fs(t,n)}function ps(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,r=ys(t);if(n){var o=ys(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return ds(this,e)}}function ds(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return hs(t)}function hs(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ys(t){return ys=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ys(t)}os.displayName="VictoryTransition",os.propTypes={animate:z().oneOfType([z().bool,z().object]),animationWhitelist:z().array,children:z().node},os.contextType=ia;var vs=function(t){return!Dc()(t._x)&&!Dc()(t._y)},gs=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}],ms=["desc","id","tabIndex","origin"];function bs(){return bs=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},bs.apply(this,arguments)}function xs(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function ws(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Os=(0,e.forwardRef)((function(t,n){var e,r=t.desc,o=t.id,a=t.tabIndex,u=(t.origin,function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,ms)),c=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?xs(Object(e),!0).forEach((function(n){ws(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):xs(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({id:null===(e=O(o,t))||void 0===e?void 0:e.toString(),tabIndex:O(a,t)},u);return r?i().createElement("path",bs({},c,{ref:n}),i().createElement("desc",null,r)):i().createElement("path",bs({},c,{ref:n}))})),Ms=["desc","id","tabIndex","origin"];function js(){return js=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},js.apply(this,arguments)}function Es(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function As(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var ks=(0,e.forwardRef)((function(t,n){var e,r=t.desc,o=t.id,a=t.tabIndex,u=(t.origin,function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,Ms)),c=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Es(Object(e),!0).forEach((function(n){As(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Es(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({vectorEffect:"non-scaling-stroke",id:null===(e=O(o,t))||void 0===e?void 0:e.toString(),tabIndex:O(a,t)},u);return r?i().createElement("circle",js({},c,{ref:n}),i().createElement("desc",null,r)):i().createElement("circle",js({},c,{ref:n}))})),Ss=function(t){var n;return i().createElement("defs",null,i().createElement("clipPath",{id:null===(n=t.clipId)||void 0===n?void 0:n.toString()},t.children))};function Ps(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Cs(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Ps(Object(e),!0).forEach((function(n){Ts(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Ps(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function Ts(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var _s={pathComponent:i().createElement(Os,null),circleComponent:i().createElement(ks,null),clipPathComponent:i().createElement(Ss,null),groupComponent:i().createElement("g",null),role:"presentation",shapeRendering:"auto"},Ds=function(t){var n=function(t){var n=O(t.ariaLabel,t),e=O(t.id,t),r=O(t.size,t),o=M(t.style,t),i=O(t.tabIndex,t);return l()({},t,{ariaLabel:n,id:e,size:r,style:o,tabIndex:i})}(Cs(Cs({},_s),t)),e=n.ariaLabel,r=n.role,o=n.shapeRendering,a=n.className,u=n.events,c=n.transform,s=n.style,f=n.size,p=n.tabIndex,d=function(t){var n,e=t.polygon;return Array.isArray(e)&&e.length?"M ".concat(null===(n=t.polygon)||void 0===n?void 0:n.join("L")," Z"):""}(n),h=Cs({"aria-label":e,className:a,role:r,shapeRendering:o,style:s,tabIndex:p,transform:c},u),y=I(n);if(f){var v=i().cloneElement(n.circleComponent,Cs(Cs({},h),{},{key:"".concat(n.id,"-circle-clip"),clipPath:"url(#".concat(n.clipId,")"),cx:n.x,cy:n.y,r:f})),g=i().cloneElement(n.clipPathComponent,{key:"".concat(n.id,"-voronoi-clip"),clipId:n.clipId},i().cloneElement(n.pathComponent,{d,className:a}));return i().cloneElement(n.groupComponent,{},[g,v])}return i().cloneElement(n.pathComponent,Cs(Cs(Cs({},h),y),{},{d}))};function Is(t){return function(){return t}}function Ns(t){return t[0]}function Rs(t){return t[1]}function Ls(){this._=null}function Us(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function Fs(t,n){var e=n,r=n.R,o=e.U;o?o.L===e?o.L=r:o.R=r:t._=r,r.U=o,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function zs(t,n){var e=n,r=n.L,o=e.U;o?o.L===e?o.L=r:o.R=r:t._=r,r.U=o,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function Ws(t){for(;t.L;)t=t.L;return t}Ls.prototype={constructor:Ls,insert:function(t,n){var e,r,o;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;e=t}else this._?(t=Ws(this._),n.P=null,n.N=t,t.P=t.L=n,e=t):(n.P=n.N=null,this._=n,e=null);for(n.L=n.R=null,n.U=e,n.C=!0,t=n;e&&e.C;)e===(r=e.U).L?(o=r.R)&&o.C?(e.C=o.C=!1,r.C=!0,t=r):(t===e.R&&(Fs(this,e),e=(t=e).U),e.C=!1,r.C=!0,zs(this,r)):(o=r.L)&&o.C?(e.C=o.C=!1,r.C=!0,t=r):(t===e.L&&(zs(this,e),e=(t=e).U),e.C=!1,r.C=!0,Fs(this,r)),e=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,e,r,o=t.U,i=t.L,a=t.R;if(e=i?a?Ws(a):i:a,o?o.L===t?o.L=e:o.R=e:this._=e,i&&a?(r=e.C,e.C=t.C,e.L=i,i.U=e,e!==a?(o=e.U,e.U=t.U,t=e.R,o.L=t,e.R=a,a.U=e):(e.U=o,o=e,t=e.R)):(r=t.C,t=e),t&&(t.U=o),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===o.L){if((n=o.R).C&&(n.C=!1,o.C=!0,Fs(this,o),n=o.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,zs(this,n),n=o.R),n.C=o.C,o.C=n.R.C=!1,Fs(this,o),t=this._;break}}else if((n=o.L).C&&(n.C=!1,o.C=!0,zs(this,o),n=o.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,Fs(this,n),n=o.L),n.C=o.C,o.C=n.L.C=!1,zs(this,o),t=this._;break}n.C=!0,t=o,o=o.U}while(!t.C);t&&(t.C=!1)}}};const Hs=Ls;function qs(t,n,e,r){var o=[null,null],i=hf.push(o)-1;return o.left=t,o.right=n,e&&Bs(o,t,n,e),r&&Bs(o,n,t,r),pf[t.index].halfedges.push(i),pf[n.index].halfedges.push(i),o}function $s(t,n,e){var r=[n,e];return r.left=t,r}function Bs(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function Ys(t,n,e,r,o){var i,a=t[0],u=t[1],c=a[0],l=a[1],s=0,f=1,p=u[0]-c,d=u[1]-l;if(i=n-c,p||!(i>0)){if(i/=p,p<0){if(i<s)return;i<f&&(f=i)}else if(p>0){if(i>f)return;i>s&&(s=i)}if(i=r-c,p||!(i<0)){if(i/=p,p<0){if(i>f)return;i>s&&(s=i)}else if(p>0){if(i<s)return;i<f&&(f=i)}if(i=e-l,d||!(i>0)){if(i/=d,d<0){if(i<s)return;i<f&&(f=i)}else if(d>0){if(i>f)return;i>s&&(s=i)}if(i=o-l,d||!(i<0)){if(i/=d,d<0){if(i>f)return;i>s&&(s=i)}else if(d>0){if(i<s)return;i<f&&(f=i)}return!(s>0||f<1)||(s>0&&(t[0]=[c+s*p,l+s*d]),f<1&&(t[1]=[c+f*p,l+f*d]),!0)}}}}}function Vs(t,n,e,r,o){var i=t[1];if(i)return!0;var a,u,c=t[0],l=t.left,s=t.right,f=l[0],p=l[1],d=s[0],h=s[1],y=(f+d)/2,v=(p+h)/2;if(h===p){if(y<n||y>=r)return;if(f>d){if(c){if(c[1]>=o)return}else c=[y,e];i=[y,o]}else{if(c){if(c[1]<e)return}else c=[y,o];i=[y,e]}}else if(u=v-(a=(f-d)/(h-p))*y,a<-1||a>1)if(f>d){if(c){if(c[1]>=o)return}else c=[(e-u)/a,e];i=[(o-u)/a,o]}else{if(c){if(c[1]<e)return}else c=[(o-u)/a,o];i=[(e-u)/a,e]}else if(p<h){if(c){if(c[0]>=r)return}else c=[n,a*n+u];i=[r,a*r+u]}else{if(c){if(c[0]<n)return}else c=[r,a*r+u];i=[n,a*n+u]}return t[0]=c,t[1]=i,!0}function Ks(t,n){var e=t.site,r=n.left,o=n.right;return e===o&&(o=r,r=e),o?Math.atan2(o[1]-r[1],o[0]-r[0]):(e===r?(r=n[1],o=n[0]):(r=n[0],o=n[1]),Math.atan2(r[0]-o[0],o[1]-r[1]))}function Gs(t,n){return n[+(n.left!==t.site)]}function Qs(t,n){return n[+(n.left===t.site)]}var Zs,Xs=[];function Js(){Us(this),this.x=this.y=this.arc=this.site=this.cy=null}function tf(t){var n=t.P,e=t.N;if(n&&e){var r=n.site,o=t.site,i=e.site;if(r!==i){var a=o[0],u=o[1],c=r[0]-a,l=r[1]-u,s=i[0]-a,f=i[1]-u,p=2*(c*f-l*s);if(!(p>=-vf)){var d=c*c+l*l,h=s*s+f*f,y=(f*d-l*h)/p,v=(c*h-s*d)/p,g=Xs.pop()||new Js;g.arc=t,g.site=o,g.x=y+a,g.y=(g.cy=v+u)+Math.sqrt(y*y+v*v),t.circle=g;for(var m=null,b=df._;b;)if(g.y<b.y||g.y===b.y&&g.x<=b.x){if(!b.L){m=b.P;break}b=b.L}else{if(!b.R){m=b;break}b=b.R}df.insert(m,g),m||(Zs=g)}}}}function nf(t){var n=t.circle;n&&(n.P||(Zs=n.N),df.remove(n),Xs.push(n),Us(n),t.circle=null)}var ef=[];function rf(){Us(this),this.edge=this.site=this.circle=null}function of(t){var n=ef.pop()||new rf;return n.site=t,n}function af(t){nf(t),ff.remove(t),ef.push(t),Us(t)}function uf(t){var n=t.circle,e=n.x,r=n.cy,o=[e,r],i=t.P,a=t.N,u=[t];af(t);for(var c=i;c.circle&&Math.abs(e-c.circle.x)<yf&&Math.abs(r-c.circle.cy)<yf;)i=c.P,u.unshift(c),af(c),c=i;u.unshift(c),nf(c);for(var l=a;l.circle&&Math.abs(e-l.circle.x)<yf&&Math.abs(r-l.circle.cy)<yf;)a=l.N,u.push(l),af(l),l=a;u.push(l),nf(l);var s,f=u.length;for(s=1;s<f;++s)l=u[s],c=u[s-1],Bs(l.edge,c.site,l.site,o);c=u[0],(l=u[f-1]).edge=qs(c.site,l.site,null,o),tf(c),tf(l)}function cf(t){for(var n,e,r,o,i=t[0],a=t[1],u=ff._;u;)if((r=lf(u,a)-i)>yf)u=u.L;else{if(!((o=i-sf(u,a))>yf)){r>-yf?(n=u.P,e=u):o>-yf?(n=u,e=u.N):n=e=u;break}if(!u.R){n=u;break}u=u.R}!function(t){pf[t.index]={site:t,halfedges:[]}}(t);var c=of(t);if(ff.insert(n,c),n||e){if(n===e)return nf(n),e=of(n.site),ff.insert(c,e),c.edge=e.edge=qs(n.site,c.site),tf(n),void tf(e);if(e){nf(n),nf(e);var l=n.site,s=l[0],f=l[1],p=t[0]-s,d=t[1]-f,h=e.site,y=h[0]-s,v=h[1]-f,g=2*(p*v-d*y),m=p*p+d*d,b=y*y+v*v,x=[(v*m-d*b)/g+s,(p*b-y*m)/g+f];Bs(e.edge,l,h,x),c.edge=qs(l,t,null,x),e.edge=qs(t,h,null,x),tf(n),tf(e)}else c.edge=qs(n.site,c.site)}}function lf(t,n){var e=t.site,r=e[0],o=e[1],i=o-n;if(!i)return r;var a=t.P;if(!a)return-1/0;var u=(e=a.site)[0],c=e[1],l=c-n;if(!l)return u;var s=u-r,f=1/i-1/l,p=s/l;return f?(-p+Math.sqrt(p*p-2*f*(s*s/(-2*l)-c+l/2+o-i/2)))/f+r:(r+u)/2}function sf(t,n){var e=t.N;if(e)return lf(e,n);var r=t.site;return r[1]===n?r[0]:1/0}var ff,pf,df,hf,yf=1e-6,vf=1e-12;function gf(t,n){return n[1]-t[1]||n[0]-t[0]}function mf(t,n){var e,r,o,i=t.sort(gf).pop();for(hf=[],pf=new Array(t.length),ff=new Hs,df=new Hs;;)if(o=Zs,i&&(!o||i[1]<o.y||i[1]===o.y&&i[0]<o.x))i[0]===e&&i[1]===r||(cf(i),e=i[0],r=i[1]),i=t.pop();else{if(!o)break;uf(o.arc)}if(function(){for(var t,n,e,r,o=0,i=pf.length;o<i;++o)if((t=pf[o])&&(r=(n=t.halfedges).length)){var a=new Array(r),u=new Array(r);for(e=0;e<r;++e)a[e]=e,u[e]=Ks(t,hf[n[e]]);for(a.sort((function(t,n){return u[n]-u[t]})),e=0;e<r;++e)u[e]=n[a[e]];for(e=0;e<r;++e)n[e]=u[e]}}(),n){var a=+n[0][0],u=+n[0][1],c=+n[1][0],l=+n[1][1];!function(t,n,e,r){for(var o,i=hf.length;i--;)Vs(o=hf[i],t,n,e,r)&&Ys(o,t,n,e,r)&&(Math.abs(o[0][0]-o[1][0])>yf||Math.abs(o[0][1]-o[1][1])>yf)||delete hf[i]}(a,u,c,l),function(t,n,e,r){var o,i,a,u,c,l,s,f,p,d,h,y,v=pf.length,g=!0;for(o=0;o<v;++o)if(i=pf[o]){for(a=i.site,u=(c=i.halfedges).length;u--;)hf[c[u]]||c.splice(u,1);for(u=0,l=c.length;u<l;)h=(d=Qs(i,hf[c[u]]))[0],y=d[1],f=(s=Gs(i,hf[c[++u%l]]))[0],p=s[1],(Math.abs(h-f)>yf||Math.abs(y-p)>yf)&&(c.splice(u,0,hf.push($s(a,d,Math.abs(h-t)<yf&&r-y>yf?[t,Math.abs(f-t)<yf?p:r]:Math.abs(y-r)<yf&&e-h>yf?[Math.abs(p-r)<yf?f:e,r]:Math.abs(h-e)<yf&&y-n>yf?[e,Math.abs(f-e)<yf?p:n]:Math.abs(y-n)<yf&&h-t>yf?[Math.abs(p-n)<yf?f:t,n]:null))-1),++l);l&&(g=!1)}if(g){var m,b,x,w=1/0;for(o=0,g=null;o<v;++o)(i=pf[o])&&(x=(m=(a=i.site)[0]-t)*m+(b=a[1]-n)*b)<w&&(w=x,g=i);if(g){var O=[t,n],M=[t,r],j=[e,r],E=[e,n];g.halfedges.push(hf.push($s(a=g.site,O,M))-1,hf.push($s(a,M,j))-1,hf.push($s(a,j,E))-1,hf.push($s(a,E,O))-1)}}for(o=0;o<v;++o)(i=pf[o])&&(i.halfedges.length||delete pf[o])}(a,u,c,l)}this.edges=hf,this.cells=pf,ff=df=hf=pf=null}function bf(t){return function(t){if(Array.isArray(t))return xf(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return xf(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?xf(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xf(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}mf.prototype={constructor:mf,polygons:function(){var t=this.edges;return this.cells.map((function(n){var e=n.halfedges.map((function(e){return Gs(n,t[e])}));return e.data=n.site.data,e}))},triangles:function(){var t=[],n=this.edges;return this.cells.forEach((function(e,r){if(i=(o=e.halfedges).length)for(var o,i,a,u,c,l,s=e.site,f=-1,p=n[o[i-1]],d=p.left===s?p.right:p.left;++f<i;)a=d,d=(p=n[o[f]]).left===s?p.right:p.left,a&&d&&r<a.index&&r<d.index&&(c=a,l=d,((u=s)[0]-l[0])*(c[1]-u[1])-(u[0]-c[0])*(l[1]-u[1])<0)&&t.push([s.data,a.data,d.data])})),t},links:function(){return this.edges.filter((function(t){return t.right})).map((function(t){return{source:t.left.data,target:t.right.data}}))},find:function(t,n,e){for(var r,o,i=this,a=i._found||0,u=i.cells.length;!(o=i.cells[a]);)if(++a>=u)return null;var c=t-o.site[0],l=n-o.site[1],s=c*c+l*l;do{o=i.cells[r=a],a=null,o.halfedges.forEach((function(e){var r=i.edges[e],u=r.left;if(u!==o.site&&u||(u=r.right)){var c=t-u[0],l=n-u[1],f=c*c+l*l;f<s&&(s=f,a=u.index)}}))}while(null!==a);return i._found=r,null==e||s<=e*e?o.site:null}};var wf=function(t){var n=t.theme&&t.theme.voronoi&&t.theme.voronoi.style?t.theme.voronoi.style:{},e=function(t,n){var e="100%",r="100%";if(!t)return g()({parent:{height:r,width:e}},n);var o=t.data,i=t.labels,a=t.parent,u=n&&n.parent||{},c=n&&n.labels||{},l=n&&n.data||{};return{parent:g()({},a,u,{width:e,height:r}),labels:g()({},i,c),data:g()({},o,l)}}(t.style,n),r={x:A(t,"x"),y:A(t,"y")},o={x:jc(t,"x"),y:jc(t,"y")},i={x:Oi(t,"x").domain(o.x).range(t.horizontal?r.y:r.x),y:Oi(t,"y").domain(o.y).range(t.horizontal?r.x:r.y)},a=gc(t);a=function(t,n,e){var r=function(t){return void 0!==t},o=J(n.x),i=X(n.x),a=J(n.y),u=X(n.y),c=function(t){return function(n){return r(n)&&n<t}},s=function(t){return function(n){return r(n)&&n>t}},f=c(o),p=c(a),d=s(i),h=s(u);return t.map((function(t){var n=t._x,e=t._y,o=t._y0,i=t._y1;(f(n)||d(n))&&(n=null);var c=r(o)?o:undefined,s=r(i)?i:e;return r(s)?(r(c)||!p(s)&&!h(s)||(e=null),(p(c)&&p(s)||h(c)&&h(s))&&(e=o=i=null),p(c)&&!p(s)&&(o=a),h(c)&&!h(s)&&(o=u),l()({},t,Ku()({_x:n,_y:e,_y0:o,_y1:i},Qu()))):t}))}(a,o),a=a.filter((function(t){return null!==t._x&&null!==t._y}));var u=function(t,n,e){var r=[Math.min.apply(Math,bf(n.x)),Math.min.apply(Math,bf(n.y))],o=[Math.max.apply(Math,bf(n.x)),Math.max.apply(Math,bf(n.y))];return function(){var t=Ns,n=Rs,e=null;function r(r){return new mf(r.map((function(e,o){var i=[Math.round(t(e,o,r)/yf)*yf,Math.round(n(e,o,r)/yf)*yf];return i.index=o,i.data=e,i})),e)}return r.polygons=function(t){return r(t).polygons()},r.links=function(t){return r(t).links()},r.triangles=function(t){return r(t).triangles()},r.x=function(n){return arguments.length?(t="function"==typeof n?n:Is(+n),r):t},r.y=function(t){return arguments.length?(n="function"==typeof t?t:Is(+t),r):n},r.extent=function(t){return arguments.length?(e=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],r):e&&[[e[0][0],e[0][1]],[e[1][0],e[1][1]]]},r.size=function(t){return arguments.length?(e=null==t?null:[[0,0],[+t[0],+t[1]]],r):e&&[e[1][0]-e[0][0],e[1][1]-e[0][1]]},r}().x((function(n){return t.polar?function(t){return-1*e.x(void 0!==t._x1?t._x1:t._x)+Math.PI/2}(n):function(n){return t.horizontal?e.y(void 0!==n._y1?n._y1:n._y):e.x(void 0!==n._x1?n._x1:n._x)}(n)})).y((function(n){return function(n){return t.horizontal?e.x(void 0!==n._x1?n._x1:n._x):e.y(void 0!==n._y1?n._y1:n._y)}(n)})).extent([r,o])}(t,r,i).polygons(a),c=t.polar?t.origin||function(t){var n=t.width,e=t.height,r=w(t),o=r.top,i=r.bottom,a=r.left,u=r.right,c=Math.min(n-a-u,e-o-i)/2,l=n/2+a-u,s=e/2+o-i;return{x:l+c>n?c+a-u:l,y:s+c>e?c+o-i:s}}(t):void 0;return{domain:o,data:a,scale:i,style:e,polygons:u,origin:c}};function Of(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function Mf(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function jf(t,n){return jf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},jf(t,n)}function Ef(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Af(t){return Af=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Af(t)}var kf={width:450,height:300,padding:50},Sf=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&jf(t,n)}(u,t);var n,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=Af(o);if(i){var e=Af(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return Ef(this,t)});function u(){return Of(this,u),a.apply(this,arguments)}return n=u,(r=[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var t=Pf.animationWhitelist,n=Pf.role,r=S(this.props,kf,n);if(this.shouldAnimate())return this.animateComponent(r,t);var o=this.renderData(r);return function(t,n){return e.cloneElement(t,I(n))}(r.standalone?this.renderContainer(r.containerComponent,o):o,r)}}])&&Mf(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);Sf.animationWhitelist=["data","domain","height","padding","samples","size","style","width"],Sf.displayName="VictoryVoronoi",Sf.role="voronoi",Sf.defaultTransitions={onLoad:{duration:2e3,before:function(){return{opacity:0}},after:function(t){return t}},onExit:{duration:600,before:function(){return{opacity:0}}},onEnter:{duration:600,before:function(){return{opacity:0}},after:function(t){return t}}},Sf.defaultProps={containerComponent:i().createElement(ha,null),dataComponent:i().createElement(Ds,null),labelComponent:i().createElement(Ou,null),groupComponent:i().createElement("g",{role:"presentation"}),samples:50,sortOrder:"ascending",standalone:!0,theme:zu.grayscale},Sf.getDomain=jc,Sf.getData=gc,Sf.getBaseProps=function(t){return function(t,n){var e=S(t,n,"scatter"),r=l()({},e,wf(e)),o=r.data,i=r.domain,a=r.events,u=r.height,c=r.origin,s=r.padding,f=r.polar,p=r.polygons,d=r.scale,h=r.sharedEvents,y=r.standalone,v=r.style,g=r.theme,m=r.width,b=r.labels,w=r.name,O={parent:{style:v.parent,scale:d,domain:i,data:o,standalone:y,height:u,width:m,theme:g,origin:c,polar:f,padding:s,name:w}};return o.reduce((function(t,n,e){var i=Tc()(p[e],"data"),u=Dc()(n.eventKey)?e:n.eventKey,l=x(r,n),s={x:l.x,y:l.y,datum:n,data:o,index:e,scale:d,polygon:i,origin:c,size:r.size,style:v.data};return t[u]={data:s},(null!=La(r,n,e)||b&&(a||h))&&(t[u].labels=Fa(r,e)),t}),O)}(t,kf)},Sf.expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"];var Pf=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=function(e){ss(o,e);var r=ps(o);function o(t){var n;return us(this,o),(n=r.call(this,t)).state={},n.getEventState=Bc.bind(hs(n)),n.getScopedEvents=qc.bind(hs(n)),n.getEvents=function(t,e,r){return Hc.call(hs(n),t,e,r,n.getScopedEvents)},n.externalMutations=n.getExternalMutations(n.props),n.calculatedState=n.getStateChanges(n.props),n.globalEvents={},n.prevGlobalEventKeys=[],n.boundGlobalEvents={},n.cacheValues(n.getCalculatedValues(t)),n}return ls(o,[{key:"shouldComponentUpdate",value:function(t){var n=this.getExternalMutations(t),e=this.props.animating||this.props.animate,r=!tl()(n,this.externalMutations);if(e||r)return this.cacheValues(this.getCalculatedValues(t)),this.externalMutations=n,this.applyExternalMutations(t,n),!0;var o=this.getStateChanges(t);return tl()(this.calculatedState,o)?!tl()(this.props,t)&&(this.cacheValues(this.getCalculatedValues(t)),!0):(this.cacheValues(this.getCalculatedValues(t)),!0)}},{key:"componentDidMount",value:function(){var t=this,n=u()(this.globalEvents);n.forEach((function(n){return t.addGlobalListener(n)})),this.prevGlobalEventKeys=n}},{key:"componentDidUpdate",value:function(t){var n=this,e=this.getStateChanges(t);this.calculatedState=e;var r=u()(this.globalEvents);Nc()(this.prevGlobalEventKeys,r).forEach((function(t){return n.removeGlobalListener(t)})),Nc()(r,this.prevGlobalEventKeys).forEach((function(t){return n.addGlobalListener(t)})),this.prevGlobalEventKeys=r}},{key:"componentWillUnmount",value:function(){var t=this;this.prevGlobalEventKeys.forEach((function(n){return t.removeGlobalListener(n)}))}},{key:"addGlobalListener",value:function(t){var n=this,e=function(e){var r=n.globalEvents[t];return r&&r(Xc(e))};this.boundGlobalEvents[t]=e,window.addEventListener(Gc(t),e)}},{key:"removeGlobalListener",value:function(t){window.removeEventListener(Gc(t),this.boundGlobalEvents[t])}},{key:"getStateChanges",value:function(t){var e=this;if(!this.hasEvents)return{};var r=function(t,n){var r=g()({},e.getEventState(t,n),e.getSharedEventState(t,n));return va()(r)?void 0:r};return(n.components||gs).map((function(n){if(t.standalone||"parent"!==n.name)return void 0!==n.index?r(n.index,n.name):e.dataKeys.map((function(t){return r(t,n.name)})).filter(Boolean)})).filter(Boolean)}},{key:"applyExternalMutations",value:function(t,n){if(!va()(n)){var e=t.externalEventMutations.reduce((function(t,n){return y()(n.callback)?t.concat(n.callback):t}),[]),r=e.length?function(){e.forEach((function(t){return t()}))}:void 0;this.setState(n,r)}}},{key:"getCalculatedValues",value:function(n){var e=n.sharedEvents,r=Kc(n,t.expectedComponents),o=e&&y()(e.getEventState)?e.getEventState:function(){},i=this.getBaseProps(n,o);return{componentEvents:r,getSharedEventState:o,baseProps:i,dataKeys:u()(i).filter((function(t){return"parent"!==t})),hasEvents:n.events||n.sharedEvents||r,events:this.getAllEvents(n)}}},{key:"getExternalMutations",value:function(t){var n=t.sharedEvents,e=t.externalEventMutations;return va()(e)||n?void 0:Yc(e,this.baseProps,this.state)}},{key:"cacheValues",value:function(t){var n=this;u()(t).forEach((function(e){n[e]=t[e]}))}},{key:"getBaseProps",value:function(n,e){var r=(e||this.getSharedEventState.bind(this))("parent","parent"),o=this.getEventState("parent","parent"),i=g()({},o,r),a=i.parentControlledProps,u=a?f()(i,a):{},c=g()({},u,n);return"function"==typeof t.getBaseProps?t.getBaseProps(c):{}}},{key:"getAllEvents",value:function(t){var n;return Array.isArray(this.componentEvents)?Array.isArray(t.events)?(n=this.componentEvents).concat.apply(n,is(t.events)):this.componentEvents:t.events}},{key:"getComponentProps",value:function(n,e,r){var o=this.props.name||t.role,i=this.dataKeys&&this.dataKeys[r]||r,a="".concat(o,"-").concat(e,"-").concat(i),u=this.baseProps[i]&&this.baseProps[i][e]||this.baseProps[i];if(u||this.hasEvents){var c=n&&"object"==typeof n&&"props"in n?n.props:void 0;if(this.hasEvents){var s=this.getEvents(this.props,e,i),f=g()({index:r,key:a},this.getEventState(i,e),this.getSharedEventState(i,e),c,u,{id:a}),p=g()({},$c(s,i,f),f.events);return l()({},f,{events:p})}return g()({index:r,key:a},c,u,{id:a})}}},{key:"renderContainer",value:function(t,n){var e=t.type&&"container"===t.type.role?this.getComponentProps(t,"parent","parent"):{};return e.events&&(this.globalEvents=Qc(e.events),e.events=Zc(e.events)),i().cloneElement(t,e,n)}},{key:"animateComponent",value:function(t,n){var e,r="object"==typeof t.animate&&(null===(e=t.animate)||void 0===e?void 0:e.animationWhitelist)||n,o=this.constructor;return i().createElement(os,{animate:t.animate,animationWhitelist:r},i().createElement(o,t))}},{key:"renderContinuousData",value:function(t){var n=this,e=t.dataComponent,r=t.labelComponent,o=t.groupComponent,a=Tc()(this.dataKeys,"all").reduce((function(t,e){var o=t,a=n.getComponentProps(r,"labels",e);return a&&void 0!==a.text&&null!==a.text&&(o=o.concat(i().cloneElement(r,a))),o}),[]),u=this.getComponentProps(e,"data","all"),c=[i().cloneElement(e,u)].concat(is(a));return this.renderContainer(o,c)}},{key:"renderData",value:function(t){var n=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vs,r=t.dataComponent,o=t.labelComponent,a=t.groupComponent,u=this.dataKeys.reduce((function(t,o,a){var u=n.getComponentProps(r,"data",a);return e(u.datum)&&t.push(i().cloneElement(r,u)),t}),[]),c=this.dataKeys.map((function(t,e){var r=n.getComponentProps(o,"labels",e);if(void 0!==r.text&&null!==r.text)return i().cloneElement(o,r)})).filter(Boolean),l=[].concat(is(u),is(c));return this.renderContainer(a,l)}}]),o}(t);return e}(Sf)})(),o})()));
|
|
1
|
+
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react")):"function"==typeof define&&define.amd?define(["react"],n):"object"==typeof exports?exports.VictoryVoronoi=n(require("react")):t.VictoryVoronoi=n(t.React)}(self,(t=>(()=>{var n={503:(t,n,e)=>{var r=e(1171),o=e(7838),i=e(4859),a=e(4073),u=e(8541);function c(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},3273:(t,n,e)=>{var r=e(163);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},8708:(t,n,e)=>{var r=e(1171),o=e(7838),i=e(4859),a=e(4073),u=e(8541);function c(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},2596:(t,n,e)=>{var r=e(2373).Symbol;t.exports=r},6082:t=>{t.exports=function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}},5510:(t,n,e)=>{var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9955:t=>{t.exports=function(t,n,e){for(var r=-1,o=null==t?0:t.length;++r<o;)if(e(n,t[r]))return!0;return!1}},8644:t=>{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,o=Array(r);++e<r;)o[e]=n(t[e],e,t);return o}},9559:t=>{t.exports=function(t,n){for(var e=-1,r=n.length,o=t.length;++e<r;)t[o+e]=n[e];return t}},1634:t=>{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}},4132:(t,n,e)=>{var r=e(8347),o=e(788),i=Object.prototype.hasOwnProperty;t.exports=function(t,n,e){var a=t[n];i.call(t,n)&&o(a,e)&&(void 0!==e||n in t)||r(t,n,e)}},3162:(t,n,e)=>{var r=e(788);t.exports=function(t,n){for(var e=t.length;e--;)if(r(t[e][0],n))return e;return-1}},8347:(t,n,e)=>{var r=e(5525);t.exports=function(t,n,e){"__proto__"==n&&r?r(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}},1377:(t,n,e)=>{var r=e(3273),o=e(5510),i=e(9955),a=e(8644),u=e(9110),c=e(9914);t.exports=function(t,n,e,l){var s=-1,f=o,p=!0,d=t.length,h=[],y=n.length;if(!d)return h;e&&(n=a(n,u(e))),l?(f=i,p=!1):n.length>=200&&(f=c,p=!1,n=new r(n));t:for(;++s<d;){var v=t[s],g=null==e?v:e(v);if(v=l||0!==v?v:0,p&&g==g){for(var m=y;m--;)if(n[m]===g)continue t;h.push(v)}else f(n,g,l)||h.push(v)}return h}},3705:t=>{t.exports=function(t,n,e,r){for(var o=t.length,i=e+(r?1:-1);r?i--:++i<o;)if(n(t[i],i,t))return i;return-1}},6457:(t,n,e)=>{var r=e(9559),o=e(3608);t.exports=function t(n,e,i,a,u){var c=-1,l=n.length;for(i||(i=o),u||(u=[]);++c<l;){var s=n[c];e>0&&i(s)?e>1?t(s,e-1,i,a,u):r(u,s):a||(u[u.length]=s)}return u}},4432:(t,n,e)=>{var r=e(9026),o=e(3110);t.exports=function(t,n){for(var e=0,i=(n=r(n,t)).length;null!=t&&e<i;)t=t[o(n[e++])];return e&&e==i?t:void 0}},563:t=>{var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},6776:t=>{t.exports=function(t,n){return null!=t&&n in Object(t)}},6123:t=>{t.exports=function(t,n,e){for(var r=e-1,o=t.length;++r<o;)if(t[r]===n)return r;return-1}},7537:(t,n,e)=>{var r=e(563),o=e(3474);t.exports=function(t){return o(t)&&"[object Date]"==r(t)}},9070:(t,n,e)=>{var r=e(7028),o=e(3474);t.exports=function t(n,e,i,a,u){return n===e||(null==n||null==e||!o(n)&&!o(e)?n!=n&&e!=e:r(n,e,i,a,t,u))}},7028:(t,n,e)=>{var r=e(8708),o=e(8705),i=e(2813),a=e(6682),u=e(9667),c=e(163),l=e(4801),s=e(4289),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,y,v,g){var m=c(t),b=c(n),x=m?p:u(t),w=b?p:u(n),O=(x=x==f?d:x)==d,M=(w=w==f?d:w)==d,j=x==w;if(j&&l(t)){if(!l(n))return!1;m=!0,O=!1}if(j&&!O)return g||(g=new r),m||s(t)?o(t,n,e,y,v,g):i(t,n,x,e,y,v,g);if(!(1&e)){var E=O&&h.call(t,"__wrapped__"),A=M&&h.call(n,"__wrapped__");if(E||A){var k=E?t.value():t,S=A?n.value():n;return g||(g=new r),v(k,S,e,y,g)}}return!!j&&(g||(g=new r),a(t,n,e,y,v,g))}},9548:(t,n,e)=>{var r=e(8708),o=e(9070);t.exports=function(t,n,e,i){var a=e.length,u=a,c=!i;if(null==t)return!u;for(t=Object(t);a--;){var l=e[a];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<u;){var s=(l=e[a])[0],f=t[s],p=l[1];if(c&&l[2]){if(void 0===f&&!(s in t))return!1}else{var d=new r;if(i)var h=i(f,p,s,t,n,d);if(!(void 0===h?o(p,f,3,i,d):h))return!1}}return!0}},2229:(t,n,e)=>{var r=e(563),o=e(3474);t.exports=function(t){return o(t)&&"[object RegExp]"==r(t)}},3472:(t,n,e)=>{var r=e(758),o=e(5223),i=e(5346),a=e(163),u=e(8532);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):r(t):u(t)}},7190:(t,n,e)=>{var r=e(5125)(Object.keys,Object);t.exports=r},383:t=>{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,o=Array(r);++e<r;)o[e]=n(t[e],e,t);return o}},758:(t,n,e)=>{var r=e(9548),o=e(597),i=e(6878);t.exports=function(t){var n=o(t);return 1==n.length&&n[0][2]?i(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},5223:(t,n,e)=>{var r=e(9070),o=e(9201),i=e(5066),a=e(726),u=e(5385),c=e(6878),l=e(3110);t.exports=function(t,n){return a(t)&&u(n)?c(l(t),n):function(e){var a=o(e,t);return void 0===a&&a===n?i(e,t):r(n,a,3)}}},8245:(t,n,e)=>{var r=e(8644),o=e(4432),i=e(3472),a=e(383),u=e(9521),c=e(9110),l=e(9409),s=e(5346),f=e(163);t.exports=function(t,n,e){n=n.length?r(n,(function(t){return f(t)?function(n){return o(n,1===t.length?t[0]:t)}:t})):[s];var p=-1;n=r(n,c(i));var d=a(t,(function(t,e,o){return{criteria:r(n,(function(n){return n(t)})),index:++p,value:t}}));return u(d,(function(t,n){return l(t,n,e)}))}},5436:(t,n,e)=>{var r=e(6371),o=e(5066);t.exports=function(t,n){return r(t,n,(function(n,e){return o(t,e)}))}},6371:(t,n,e)=>{var r=e(4432),o=e(6539),i=e(9026);t.exports=function(t,n,e){for(var a=-1,u=n.length,c={};++a<u;){var l=n[a],s=r(t,l);e(s,l)&&o(c,i(l,t),s)}return c}},1600:t=>{t.exports=function(t){return function(n){return null==n?void 0:n[t]}}},3301:(t,n,e)=>{var r=e(4432);t.exports=function(t){return function(n){return r(n,t)}}},7805:t=>{var n=Math.ceil,e=Math.max;t.exports=function(t,r,o,i){for(var a=-1,u=e(n((r-t)/(o||1)),0),c=Array(u);u--;)c[i?u:++a]=t,t+=o;return c}},6317:(t,n,e)=>{var r=e(5346),o=e(4280),i=e(201);t.exports=function(t,n){return i(o(t,n,r),t+"")}},6539:(t,n,e)=>{var r=e(4132),o=e(9026),i=e(9099),a=e(7709),u=e(3110);t.exports=function(t,n,e,c){if(!a(t))return t;for(var l=-1,s=(n=o(n,t)).length,f=s-1,p=t;null!=p&&++l<s;){var d=u(n[l]),h=e;if("__proto__"===d||"constructor"===d||"prototype"===d)return t;if(l!=f){var y=p[d];void 0===(h=c?c(y,d,p):void 0)&&(h=a(y)?y:i(n[l+1])?[]:{})}r(p,d,h),p=p[d]}return t}},9521:t=>{t.exports=function(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}},7556:(t,n,e)=>{var r=e(788);t.exports=function(t,n){for(var e=-1,o=t.length,i=0,a=[];++e<o;){var u=t[e],c=n?n(u):u;if(!e||!r(c,l)){var l=c;a[i++]=0===u?0:u}}return a}},6316:(t,n,e)=>{var r=e(2596),o=e(8644),i=e(163),a=e(1995),u=r?r.prototype:void 0,c=u?u.toString:void 0;t.exports=function t(n){if("string"==typeof n)return n;if(i(n))return o(n,t)+"";if(a(n))return c?c.call(n):"";var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},1367:(t,n,e)=>{var r=e(4120),o=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(o,""):t}},9110:t=>{t.exports=function(t){return function(n){return t(n)}}},946:(t,n,e)=>{var r=e(3273),o=e(5510),i=e(9955),a=e(9914),u=e(6602),c=e(6226);t.exports=function(t,n,e){var l=-1,s=o,f=t.length,p=!0,d=[],h=d;if(e)p=!1,s=i;else if(f>=200){var y=n?null:u(t);if(y)return c(y);p=!1,s=a,h=new r}else h=n?[]:d;t:for(;++l<f;){var v=t[l],g=n?n(v):v;if(v=e||0!==v?v:0,p&&g==g){for(var m=h.length;m--;)if(h[m]===g)continue t;n&&h.push(g),d.push(v)}else s(h,g,e)||(h!==d&&h.push(g),d.push(v))}return d}},9914:(t,n,e)=>{var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9026:(t,n,e)=>{var r=e(163),o=e(726),i=e(7801),a=e(7010);t.exports=function(t,n){return r(t)?t:o(t,n)?[t]:i(a(t))}},522:(t,n,e)=>{var r=e(1995);t.exports=function(t,n){if(t!==n){var e=void 0!==t,o=null===t,i=t==t,a=r(t),u=void 0!==n,c=null===n,l=n==n,s=r(n);if(!c&&!s&&!a&&t>n||a&&u&&l&&!c&&!s||o&&u&&l||!e&&l||!i)return 1;if(!o&&!a&&!s&&t<n||s&&e&&i&&!o&&!a||c&&e&&i||!u&&i||!l)return-1}return 0}},9409:(t,n,e)=>{var r=e(522);t.exports=function(t,n,e){for(var o=-1,i=t.criteria,a=n.criteria,u=i.length,c=e.length;++o<u;){var l=r(i[o],a[o]);if(l)return o>=c?l:l*("desc"==e[o]?-1:1)}return t.index-n.index}},9021:(t,n,e)=>{var r=e(4132),o=e(8347);t.exports=function(t,n,e,i){var a=!e;e||(e={});for(var u=-1,c=n.length;++u<c;){var l=n[u],s=i?i(e[l],t[l],l,e,t):void 0;void 0===s&&(s=t[l]),a?o(e,l,s):r(e,l,s)}return e}},6092:(t,n,e)=>{var r=e(6317),o=e(8286);t.exports=function(t){return r((function(n,e){var r=-1,i=e.length,a=i>1?e[i-1]:void 0,u=i>2?e[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,u&&o(e[0],e[1],u)&&(a=i<3?void 0:a,i=1),n=Object(n);++r<i;){var c=e[r];c&&t(n,c,r,a)}return n}))}},4499:(t,n,e)=>{var r=e(3472),o=e(981),i=e(7747);t.exports=function(t){return function(n,e,a){var u=Object(n);if(!o(n)){var c=r(e,3);n=i(n),e=function(t){return c(u[t],t,u)}}var l=t(n,e,a);return l>-1?u[c?n[l]:l]:void 0}}},2507:(t,n,e)=>{var r=e(7805),o=e(8286),i=e(9139);t.exports=function(t){return function(n,e,a){return a&&"number"!=typeof a&&o(n,e,a)&&(e=a=void 0),n=i(n),void 0===e?(e=n,n=0):e=i(e),a=void 0===a?n<e?1:-1:i(a),r(n,e,a,t)}}},6602:t=>{t.exports=function(){}},5525:(t,n,e)=>{var r=e(3743),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},8705:(t,n,e)=>{var r=e(3273),o=e(1634),i=e(9914);t.exports=function(t,n,e,a,u,c){var l=1&e,s=t.length,f=n.length;if(s!=f&&!(l&&f>s))return!1;var p=c.get(t),d=c.get(n);if(p&&d)return p==n&&d==t;var h=-1,y=!0,v=2&e?new r:void 0;for(c.set(t,n),c.set(n,t);++h<s;){var g=t[h],m=n[h];if(a)var b=l?a(m,g,h,n,t,c):a(g,m,h,t,n,c);if(void 0!==b){if(b)continue;y=!1;break}if(v){if(!o(n,(function(t,n){if(!i(v,n)&&(g===t||u(g,t,e,a,c)))return v.push(n)}))){y=!1;break}}else if(g!==m&&!u(g,m,e,a,c)){y=!1;break}}return c.delete(t),c.delete(n),y}},2813:t=>{t.exports=function(t,n){return t===n||t!=t&&n!=n}},6682:(t,n,e)=>{var r=e(8143),o=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,i,a,u){var c=1&e,l=r(t),s=l.length;if(s!=r(n).length&&!c)return!1;for(var f=s;f--;){var p=l[f];if(!(c?p in n:o.call(n,p)))return!1}var d=u.get(t),h=u.get(n);if(d&&h)return d==n&&h==t;var y=!0;u.set(t,n),u.set(n,t);for(var v=c;++f<s;){var g=t[p=l[f]],m=n[p];if(i)var b=c?i(m,g,p,n,t,u):i(g,m,p,t,n,u);if(!(void 0===b?g===m||a(g,m,e,i,u):b)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var x=t.constructor,w=n.constructor;x==w||!("constructor"in t)||!("constructor"in n)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(y=!1)}return u.delete(t),u.delete(n),y}},5557:(t,n,e)=>{var r=e(2645),o=e(4280),i=e(201);t.exports=function(t){return i(o(t,void 0,r),t+"")}},2117:(t,n,e)=>{var r="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g;t.exports=r},8143:(t,n,e)=>{var r=e(5125)(Object.keys,Object);t.exports=r},7271:t=>{t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},597:(t,n,e)=>{var r=e(5385),o=e(7747);t.exports=function(t){for(var n=o(t),e=n.length;e--;){var i=n[e],a=t[i];n[e]=[i,a,r(a)]}return n}},3743:t=>{t.exports=function(t,n){return null==t?void 0:t[n]}},9817:(t,n,e)=>{var r=e(5125)(Object.getPrototypeOf,Object);t.exports=r},9667:t=>{var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},3096:(t,n,e)=>{var r=e(9026),o=e(5075),i=e(163),a=e(9099),u=e(8454),c=e(3110);t.exports=function(t,n,e){for(var l=-1,s=(n=r(n,t)).length,f=!1;++l<s;){var p=c(n[l]);if(!(f=null!=t&&e(t,p)))break;t=t[p]}return f||++l!=s?f:!!(s=null==t?0:t.length)&&u(s)&&a(p,s)&&(i(t)||o(t))}},3608:(t,n,e)=>{var r=e(2596),o=e(5075),i=e(163),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},9099:t=>{var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},8286:t=>{t.exports=function(){return!1}},726:(t,n,e)=>{var r=e(163),o=e(1995),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,n){if(r(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!o(t))||a.test(t)||!i.test(t)||null!=n&&t in Object(n)}},5782:t=>{t.exports=function(){return!1}},5385:(t,n,e)=>{var r=e(7709);t.exports=function(t){return t==t&&!r(t)}},1171:t=>{t.exports=function(){this.__data__=[],this.size=0}},7838:(t,n,e)=>{var r=e(3162),o=Array.prototype.splice;t.exports=function(t){var n=this.__data__,e=r(n,t);return!(e<0||(e==n.length-1?n.pop():o.call(n,e,1),--this.size,0))}},4859:(t,n,e)=>{var r=e(3162);t.exports=function(t){var n=this.__data__,e=r(n,t);return e<0?void 0:n[e][1]}},4073:(t,n,e)=>{var r=e(3162);t.exports=function(t){return r(this.__data__,t)>-1}},8541:(t,n,e)=>{var r=e(3162);t.exports=function(t,n){var e=this.__data__,o=r(e,t);return o<0?(++this.size,e.push([t,n])):e[o][1]=n,this}},6878:t=>{t.exports=function(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}},2453:t=>{t.exports=function(t){return t}},2348:(t,n,e)=>{t=e.nmd(t);var r=e(2117),o=n&&!n.nodeType&&n,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,u=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u},5125:t=>{t.exports=function(t,n){return function(e){return t(n(e))}}},4280:(t,n,e)=>{var r=e(6082),o=Math.max;t.exports=function(t,n,e){return n=o(void 0===n?t.length-1:n,0),function(){for(var i=arguments,a=-1,u=o(i.length-n,0),c=Array(u);++a<u;)c[a]=i[n+a];a=-1;for(var l=Array(n+1);++a<n;)l[a]=i[a];return l[n]=e(c),r(t,this,l)}}},2373:(t,n,e)=>{var r=e(2117),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},6226:t=>{t.exports=function(){return[]}},201:t=>{t.exports=function(t){return t}},7801:(t,n,e)=>{var r=e(2453),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(o,(function(t,e,r,o){n.push(r?o.replace(i,"$1"):e||t)})),n}));t.exports=a},3110:(t,n,e)=>{var r=e(1995);t.exports=function(t){if("string"==typeof t||r(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},4120:t=>{var n=/\s/;t.exports=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},156:(t,n,e)=>{var r=e(4132),o=e(9021),i=e(6092),a=e(981),u=e(5782),c=e(7747),l=Object.prototype.hasOwnProperty,s=i((function(t,n){if(u(n)||a(n))o(n,c(n),t);else for(var e in n)l.call(n,e)&&r(t,e,n[e])}));t.exports=s},1893:(t,n,e)=>{var r=e(6317),o=e(788),i=e(8286),a=e(8855),u=Object.prototype,c=u.hasOwnProperty,l=r((function(t,n){t=Object(t);var e=-1,r=n.length,l=r>2?n[2]:void 0;for(l&&i(n[0],n[1],l)&&(r=1);++e<r;)for(var s=n[e],f=a(s),p=-1,d=f.length;++p<d;){var h=f[p],y=t[h];(void 0===y||o(y,u[h])&&!c.call(t,h))&&(t[h]=s[h])}return t}));t.exports=l},6354:(t,n,e)=>{var r=e(1377),o=e(6457),i=e(6317),a=e(7605),u=i((function(t,n){return a(t)?r(t,o(n,1,a,!0)):[]}));t.exports=u},788:t=>{t.exports=function(t,n){return t===n||t!=t&&n!=n}},9992:(t,n,e)=>{var r=e(4499)(e(5541));t.exports=r},5541:(t,n,e)=>{var r=e(3705),o=e(3472),i=e(982),a=Math.max;t.exports=function(t,n,e){var u=null==t?0:t.length;if(!u)return-1;var c=null==e?0:i(e);return c<0&&(c=a(u+c,0)),r(t,o(n,3),c)}},2645:(t,n,e)=>{var r=e(6457);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9201:(t,n,e)=>{var r=e(4432);t.exports=function(t,n,e){var o=null==t?void 0:r(t,n);return void 0===o?e:o}},5066:(t,n,e)=>{var r=e(6776),o=e(3096);t.exports=function(t,n){return null!=t&&o(t,n,r)}},5346:t=>{t.exports=function(t){return t}},6149:(t,n,e)=>{var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},5075:t=>{t.exports=function(){return!1}},163:t=>{var n=Array.isArray;t.exports=n},981:(t,n,e)=>{var r=e(9642),o=e(8454);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},7605:(t,n,e)=>{var r=e(981),o=e(3474);t.exports=function(t){return o(t)&&r(t)}},4801:t=>{t.exports=function(){return!1}},4295:(t,n,e)=>{var r=e(7537),o=e(9110),i=e(2348),a=i&&i.isDate,u=a?o(a):r;t.exports=u},4155:(t,n,e)=>{var r=e(7190),o=e(9667),i=e(5075),a=e(163),u=e(981),c=e(4801),l=e(5782),s=e(4289),f=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(u(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||c(t)||s(t)||i(t)))return!t.length;var n=o(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(l(t))return!r(t).length;for(var e in t)if(f.call(t,e))return!1;return!0}},8254:(t,n,e)=>{var r=e(9070);t.exports=function(t,n){return r(t,n)}},9642:(t,n,e)=>{var r=e(563),o=e(7709);t.exports=function(t){if(!o(t))return!1;var n=r(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},8454:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},9555:t=>{t.exports=function(t){return null==t}},7709:t=>{t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},3474:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},3849:(t,n,e)=>{var r=e(563),o=e(9817),i=e(3474),a=Function.prototype,u=Object.prototype,c=a.toString,l=u.hasOwnProperty,s=c.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var n=o(t);if(null===n)return!0;var e=l.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&c.call(e)==s}},5395:(t,n,e)=>{var r=e(2229),o=e(9110),i=e(2348),a=i&&i.isRegExp,u=a?o(a):r;t.exports=u},1995:t=>{t.exports=function(){return!1}},4289:t=>{t.exports=function(){return!1}},8999:t=>{t.exports=function(t){return void 0===t}},7747:(t,n,e)=>{var r=e(5125)(Object.keys,Object);t.exports=r},8855:t=>{t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},1950:t=>{t.exports=function(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}},1594:(t,n,e)=>{var r=e(503);function o(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,o=n?n.apply(this,r):r[0],i=e.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return e.cache=i.set(o,a)||i,a};return e.cache=new(o.Cache||r),e}o.Cache=r,t.exports=o},6051:t=>{t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}},1616:(t,n,e)=>{var r=e(3472),o=e(6051),i=e(4912);t.exports=function(t,n){return i(t,o(r(n)))}},4143:(t,n,e)=>{var r=e(8245),o=e(163);t.exports=function(t,n,e,i){return null==t?[]:(o(n)||(n=null==n?[]:[n]),o(e=i?void 0:e)||(e=null==e?[]:[e]),r(t,n,e))}},9082:(t,n,e)=>{var r=e(5436),o=e(5557)((function(t,n){return null==t?{}:r(t,n)}));t.exports=o},4912:(t,n,e)=>{var r=e(8644),o=e(3472),i=e(6371),a=e(7271);t.exports=function(t,n){if(null==t)return{};var e=r(a(t),(function(t){return[t]}));return n=o(n),i(t,e,(function(t,e){return n(t,e[0])}))}},8532:(t,n,e)=>{var r=e(1600),o=e(3301),i=e(726),a=e(3110);t.exports=function(t){return i(t)?r(a(t)):o(t)}},8825:(t,n,e)=>{var r=e(2507)();t.exports=r},2829:(t,n,e)=>{var r=e(7556);t.exports=function(t){return t&&t.length?r(t):[]}},9139:(t,n,e)=>{var r=e(5812);t.exports=function(t){return t?Infinity===(t=r(t))||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},982:(t,n,e)=>{var r=e(9139);t.exports=function(t){var n=r(t),e=n%1;return n==n?e?n-e:n:0}},5812:(t,n,e)=>{var r=e(1367),o=e(7709),i=e(1995),a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=o(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var e=u.test(t);return e||c.test(t)?l(t.slice(2),e?2:8):a.test(t)?NaN:+t}},7010:(t,n,e)=>{var r=e(6316);t.exports=function(t){return null==t?"":r(t)}},9602:(t,n,e)=>{var r=e(946);t.exports=function(t){return t&&t.length?r(t):[]}},660:(t,n,e)=>{var r=e(7010),o=0;t.exports=function(t){var n=++o;return r(t)+n}},4882:(t,n,e)=>{var r=e(1377),o=e(6317),i=e(7605),a=o((function(t,n){return i(t)?r(t,n):[]}));t.exports=a},2504:(t,n,e)=>{"use strict";var r=e(2265);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,n,e,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function n(){return t}t.isRequired=t;var e={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:n,element:t,elementType:t,instanceOf:n,node:t,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:i,resetWarningCache:o};return e.PropTypes=e,e}},3698:(t,n,e)=>{t.exports=e(2504)()},2265:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7491:t=>{var n="undefined"!=typeof Element,e="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var u,c,l,s;if(Array.isArray(t)){if((u=t.length)!=a.length)return!1;for(c=u;0!=c--;)if(!i(t[c],a[c]))return!1;return!0}if(e&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(s=t.entries();!(c=s.next()).done;)if(!a.has(c.value[0]))return!1;for(s=t.entries();!(c=s.next()).done;)if(!i(c.value[1],a.get(c.value[0])))return!1;return!0}if(r&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(s=t.entries();!(c=s.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((u=t.length)!=a.length)return!1;for(c=u;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((u=(l=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(c=u;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,l[c]))return!1;if(n&&t instanceof Element)return!1;for(c=u;0!=c--;)if(("_owner"!==l[c]&&"__v"!==l[c]&&"__o"!==l[c]||!t.$$typeof)&&!i(t[l[c]],a[l[c]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,n){try{return i(t,n)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},9787:n=>{"use strict";n.exports=t}},e={};function r(t){var o=e[t];if(void 0!==o)return o.exports;var i=e[t]={id:t,loaded:!1,exports:{}};return n[t](i,i.exports,r),i.loaded=!0,i.exports}r.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return r.d(n,{a:n}),n},r.d=(t,n)=>{for(var e in n)r.o(n,e)&&!r.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},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=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var o={};return(()=>{"use strict";r.r(o),r.d(o,{VictoryVoronoi:()=>Pf,Voronoi:()=>Ds});var t={};r.r(t),r.d(t,{scaleBand:()=>ct,scaleDiverging:()=>pi,scaleDivergingLog:()=>di,scaleDivergingPow:()=>yi,scaleDivergingSqrt:()=>vi,scaleDivergingSymlog:()=>hi,scaleIdentity:()=>Kn,scaleImplicit:()=>at,scaleLinear:()=>Vn,scaleLog:()=>re,scaleOrdinal:()=>ut,scalePoint:()=>st,scalePow:()=>pe,scaleQuantile:()=>je,scaleQuantize:()=>Ee,scaleRadial:()=>ve,scaleSequential:()=>oi,scaleSequentialLog:()=>ii,scaleSequentialPow:()=>ui,scaleSequentialQuantile:()=>li,scaleSequentialSqrt:()=>ci,scaleSequentialSymlog:()=>ai,scaleSqrt:()=>de,scaleSymlog:()=>ue,scaleThreshold:()=>Ae,scaleTime:()=>ti,scaleUtc:()=>ni,tickFormat:()=>Bn});var n={};r.r(n),r.d(n,{easeBack:()=>Cl,easeBackIn:()=>Sl,easeBackInOut:()=>Cl,easeBackOut:()=>Pl,easeBounce:()=>El,easeBounceIn:()=>jl,easeBounceInOut:()=>Al,easeBounceOut:()=>El,easeCircle:()=>Ol,easeCircleIn:()=>xl,easeCircleInOut:()=>Ol,easeCircleOut:()=>wl,easeCubic:()=>ul,easeCubicIn:()=>il,easeCubicInOut:()=>ul,easeCubicOut:()=>al,easeElastic:()=>Dl,easeElasticIn:()=>_l,easeElasticInOut:()=>Il,easeElasticOut:()=>Dl,easeExp:()=>bl,easeExpIn:()=>gl,easeExpInOut:()=>bl,easeExpOut:()=>ml,easeLinear:()=>nl,easePoly:()=>sl,easePolyIn:()=>cl,easePolyInOut:()=>sl,easePolyOut:()=>ll,easeQuad:()=>ol,easeQuadIn:()=>el,easeQuadInOut:()=>ol,easeQuadOut:()=>rl,easeSin:()=>yl,easeSinIn:()=>dl,easeSinInOut:()=>yl,easeSinOut:()=>hl});var e=r(9787),i=r.n(e),a=r(7747),u=r.n(a),c=r(156),l=r.n(c),s=r(9082),f=r.n(s),p=r(8532),d=r.n(p),h=r(9642),y=r.n(h),v=r(1893),g=r.n(v);function m(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],e={};for(var r in t)n.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function b(t){var n=function(t){return void 0!==t},e=t._x,r=t._x1,o=t._x0,i=t._voronoiX,a=t._y,u=t._y1,c=t._y0,l=t._voronoiY,s=n(r)?r:e,f=n(u)?u:a,p={x:n(i)?i:s,x0:n(o)?o:e,y:n(l)?l:f,y0:n(c)?c:a};return g()({},p,t)}function x(t,n){var e=t.scale,r=t.polar,o=t.horizontal,i=b(n),a=t.origin||{x:0,y:0},u=o?e.y(i.y):e.x(i.x),c=o?e.y(i.y0):e.x(i.x0),l=o?e.x(i.x):e.y(i.y),s=o?e.x(i.x0):e.y(i.y0);return{x:r?l*Math.cos(u)+a.x:u,x0:r?s*Math.cos(c)+a.x:c,y:r?-l*Math.sin(u)+a.y:l,y0:r?-s*Math.sin(c)+a.x:s}}function w(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"padding",e=t[n],r="number"==typeof e?e:0,o="object"==typeof e?e:{};return{top:o.top||r,bottom:o.bottom||r,left:o.left||r,right:o.right||r}}function O(t,n){return y()(t)?t(n):t}function M(t,n){return n.disableInlineStyles?{}:t&&u()(t).some((function(n){return y()(t[n])}))?u()(t).reduce((function(e,r){return e[r]=O(t[r],n),e}),{}):t}function j(t){return"number"==typeof t?t*(Math.PI/180):t}function E(t){var n=w(t),e=n.left,r=n.right,o=n.top,i=n.bottom,a=t.width,u=t.height;return Math.min(a-e-r,u-o-i)/2}function A(t,n){return t.range&&t.range[n]?t.range[n]:t.range&&Array.isArray(t.range)?t.range:t.polar?function(t,n){return"x"===n?[j(t.startAngle||0),j(t.endAngle||360)]:[t.innerRadius||0,E(t)]}(t,n):function(t,n){var e="x"!==n,r=w(t);return e?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,n)}function k(t){return y()(t)?t:null==t?function(t){return t}:d()(t)}function S(t,n,e){var r=m(t.theme&&t.theme[e]?t.theme[e]:{},["style"]),o=function(t){if(void 0!==t.horizontal||!t.children)return t.horizontal;var n=function(t){return t.reduce((function(t,e){var r=e.props||{};return t||r.horizontal||!r.children?t||r.horizontal:n(i().Children.toArray(r.children))}),!1)};return n(i().Children.toArray(t.children))}(t),a=void 0===o?{}:{horizontal:o};return g()(a,t,r,n)}function P(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,o,i=[],a=!0,u=!1;try{for(e=e.call(t);!(a=(r=e.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==e.return||e.return()}finally{if(u)throw o}}return i}}(t,n)||function(t,n){if(t){if("string"==typeof t)return C(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?C(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function T(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function _(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var D={startsWith:["data-","aria-"],exactMatch:[]},I=function(t){var n=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?T(Object(e),!0).forEach((function(n){_(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):T(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({},t);return Object.fromEntries(Object.entries(n).filter((function(t){return function(t){return!(!function(t){var n=!1;return D.startsWith.forEach((function(e){new RegExp("\\b(".concat(e,")(\\w|-)+"),"g").test(t)&&(n=!0)})),n}(t)&&!function(t){return D.exactMatch.includes(t)}(t))}(P(t,1)[0])})).map((function(n){var e=P(n,2);return[e[0],O(e[1],t)]})))},N=r(7709),R=r.n(N),L=r(660),U=r.n(L),F=r(3698),z=r.n(F),W=r(5395),H=r.n(W),q=r(9992),$=r.n(q),B=r(3849),Y=r.n(B),V=r(6149),K=r.n(V);function G(t){return function(t){if(Array.isArray(t))return Q(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return Q(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Q(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function Z(t){return Array.isArray(t)&&t.some((function(t){return t instanceof Date}))}function X(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];var o=t.concat(e);return Z(o)?new Date(Math.max.apply(Math,G(o))):Math.max.apply(Math,G(o))}function J(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];var o=t.concat(e);return Z(o)?new Date(Math.min.apply(Math,G(o))):Math.min.apply(Math,G(o))}function tt(t,n,e){t=+t,n=+n,e=(o=arguments.length)<2?(n=t,t=0,1):o<3?1:+e;for(var r=-1,o=0|Math.max(0,Math.ceil((n-t)/e)),i=new Array(o);++r<o;)i[r]=t+r*e;return i}function nt(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function et(t,n){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof n?this.interpolator(n):this.range(n)}return this}class rt extends Map{constructor(t,n=it){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const[n,e]of t)this.set(n,e)}get(t){return super.get(ot(this,t))}has(t){return super.has(ot(this,t))}set(t,n){return super.set(function({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):(t.set(r,e),e)}(this,t),n)}delete(t){return super.delete(function({_intern:t,_key:n},e){const r=n(e);return t.has(r)&&(e=t.get(r),t.delete(r)),e}(this,t))}}function ot({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function it(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;const at=Symbol("implicit");function ut(){var t=new rt,n=[],e=[],r=at;function o(o){let i=t.get(o);if(void 0===i){if(r!==at)return r;t.set(o,i=n.push(o)-1)}return e[i%e.length]}return o.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new rt;for(const r of e)t.has(r)||t.set(r,n.push(r)-1);return o},o.range=function(t){return arguments.length?(e=Array.from(t),o):e.slice()},o.unknown=function(t){return arguments.length?(r=t,o):r},o.copy=function(){return ut(n,e).unknown(r)},nt.apply(o,arguments),o}function ct(){var t,n,e=ut().unknown(void 0),r=e.domain,o=e.range,i=0,a=1,u=!1,c=0,l=0,s=.5;function f(){var e=r().length,f=a<i,p=f?a:i,d=f?i:a;t=(d-p)/Math.max(1,e-c+2*l),u&&(t=Math.floor(t)),p+=(d-p-t*(e-c))*s,n=t*(1-c),u&&(p=Math.round(p),n=Math.round(n));var h=tt(e).map((function(n){return p+t*n}));return o(f?h.reverse():h)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),f()):r()},e.range=function(t){return arguments.length?([i,a]=t,i=+i,a=+a,f()):[i,a]},e.rangeRound=function(t){return[i,a]=t,i=+i,a=+a,u=!0,f()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(u=!!t,f()):u},e.padding=function(t){return arguments.length?(c=Math.min(1,l=+t),f()):c},e.paddingInner=function(t){return arguments.length?(c=Math.min(1,t),f()):c},e.paddingOuter=function(t){return arguments.length?(l=+t,f()):l},e.align=function(t){return arguments.length?(s=Math.max(0,Math.min(1,t)),f()):s},e.copy=function(){return ct(r(),[i,a]).round(u).paddingInner(c).paddingOuter(l).align(s)},nt.apply(f(),arguments)}function lt(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return lt(n())},t}function st(){return lt(ct.apply(null,arguments).paddingInner(1))}var ft=Math.sqrt(50),pt=Math.sqrt(10),dt=Math.sqrt(2);function ht(t,n,e){var r,o,i,a,u=-1;if(e=+e,(t=+t)==(n=+n)&&e>0)return[t];if((r=n<t)&&(o=t,t=n,n=o),0===(a=yt(t,n,e))||!isFinite(a))return[];if(a>0){let e=Math.round(t/a),r=Math.round(n/a);for(e*a<t&&++e,r*a>n&&--r,i=new Array(o=r-e+1);++u<o;)i[u]=(e+u)*a}else{a=-a;let e=Math.round(t*a),r=Math.round(n*a);for(e/a<t&&++e,r/a>n&&--r,i=new Array(o=r-e+1);++u<o;)i[u]=(e+u)/a}return r&&i.reverse(),i}function yt(t,n,e){var r=(n-t)/Math.max(0,e),o=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,o);return o>=0?(i>=ft?10:i>=pt?5:i>=dt?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=ft?10:i>=pt?5:i>=dt?2:1)}function vt(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=ft?o*=10:i>=pt?o*=5:i>=dt&&(o*=2),n<t?-o:o}function gt(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function mt(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function bt(t){let n,e,r;function o(t,r,o=0,i=t.length){if(o<i){if(0!==n(r,r))return i;do{const n=o+i>>>1;e(t[n],r)<0?o=n+1:i=n}while(o<i)}return o}return 2!==t.length?(n=gt,e=(n,e)=>gt(t(n),e),r=(n,e)=>t(n)-e):(n=t===gt||t===mt?t:xt,e=t,r=t),{left:o,center:function(t,n,e=0,i=t.length){const a=o(t,n,e,i-1);return a>e&&r(t[a-1],n)>-r(t[a],n)?a-1:a},right:function(t,r,o=0,i=t.length){if(o<i){if(0!==n(r,r))return i;do{const n=o+i>>>1;e(t[n],r)<=0?o=n+1:i=n}while(o<i)}return o}}}function xt(){return 0}function wt(t){return null===t?NaN:+t}const Ot=bt(gt),Mt=Ot.right,jt=(Ot.left,bt(wt).center,Mt);function Et(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function At(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function kt(){}var St=.7,Pt=1/St,Ct="\\s*([+-]?\\d+)\\s*",Tt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",_t="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Dt=/^#([0-9a-f]{3,8})$/,It=new RegExp(`^rgb\\(${Ct},${Ct},${Ct}\\)$`),Nt=new RegExp(`^rgb\\(${_t},${_t},${_t}\\)$`),Rt=new RegExp(`^rgba\\(${Ct},${Ct},${Ct},${Tt}\\)$`),Lt=new RegExp(`^rgba\\(${_t},${_t},${_t},${Tt}\\)$`),Ut=new RegExp(`^hsl\\(${Tt},${_t},${_t}\\)$`),Ft=new RegExp(`^hsla\\(${Tt},${_t},${_t},${Tt}\\)$`),zt={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 Wt(){return this.rgb().formatHex()}function Ht(){return this.rgb().formatRgb()}function qt(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=Dt.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?$t(n):3===e?new Kt(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?Bt(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?Bt(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=It.exec(t))?new Kt(n[1],n[2],n[3],1):(n=Nt.exec(t))?new Kt(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Rt.exec(t))?Bt(n[1],n[2],n[3],n[4]):(n=Lt.exec(t))?Bt(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Ut.exec(t))?tn(n[1],n[2]/100,n[3]/100,1):(n=Ft.exec(t))?tn(n[1],n[2]/100,n[3]/100,n[4]):zt.hasOwnProperty(t)?$t(zt[t]):"transparent"===t?new Kt(NaN,NaN,NaN,0):null}function $t(t){return new Kt(t>>16&255,t>>8&255,255&t,1)}function Bt(t,n,e,r){return r<=0&&(t=n=e=NaN),new Kt(t,n,e,r)}function Yt(t){return t instanceof kt||(t=qt(t)),t?new Kt((t=t.rgb()).r,t.g,t.b,t.opacity):new Kt}function Vt(t,n,e,r){return 1===arguments.length?Yt(t):new Kt(t,n,e,null==r?1:r)}function Kt(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Gt(){return`#${Jt(this.r)}${Jt(this.g)}${Jt(this.b)}`}function Qt(){const t=Zt(this.opacity);return`${1===t?"rgb(":"rgba("}${Xt(this.r)}, ${Xt(this.g)}, ${Xt(this.b)}${1===t?")":`, ${t})`}`}function Zt(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Xt(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Jt(t){return((t=Xt(t))<16?"0":"")+t.toString(16)}function tn(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new en(t,n,e,r)}function nn(t){if(t instanceof en)return new en(t.h,t.s,t.l,t.opacity);if(t instanceof kt||(t=qt(t)),!t)return new en;if(t instanceof en)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,o=Math.min(n,e,r),i=Math.max(n,e,r),a=NaN,u=i-o,c=(i+o)/2;return u?(a=n===i?(e-r)/u+6*(e<r):e===i?(r-n)/u+2:(n-e)/u+4,u/=c<.5?i+o:2-i-o,a*=60):u=c>0&&c<1?0:a,new en(a,u,c,t.opacity)}function en(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function rn(t){return(t=(t||0)%360)<0?t+360:t}function on(t){return Math.max(0,Math.min(1,t||0))}function an(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function un(t,n,e,r,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*n+(4-6*i+3*a)*e+(1+3*t+3*i-3*a)*r+a*o)/6}Et(kt,qt,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Wt,formatHex:Wt,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return nn(this).formatHsl()},formatRgb:Ht,toString:Ht}),Et(Kt,Vt,At(kt,{brighter(t){return t=null==t?Pt:Math.pow(Pt,t),new Kt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?St:Math.pow(St,t),new Kt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Kt(Xt(this.r),Xt(this.g),Xt(this.b),Zt(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:Gt,formatHex:Gt,formatHex8:function(){return`#${Jt(this.r)}${Jt(this.g)}${Jt(this.b)}${Jt(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Qt,toString:Qt})),Et(en,(function(t,n,e,r){return 1===arguments.length?nn(t):new en(t,n,e,null==r?1:r)}),At(kt,{brighter(t){return t=null==t?Pt:Math.pow(Pt,t),new en(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?St:Math.pow(St,t),new en(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,o=2*e-r;return new Kt(an(t>=240?t-240:t+120,o,r),an(t,o,r),an(t<120?t+240:t-120,o,r),this.opacity)},clamp(){return new en(rn(this.h),on(this.s),on(this.l),Zt(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=Zt(this.opacity);return`${1===t?"hsl(":"hsla("}${rn(this.h)}, ${100*on(this.s)}%, ${100*on(this.l)}%${1===t?")":`, ${t})`}`}}));const cn=t=>()=>t;function ln(t,n){var e=n-t;return e?function(t,n){return function(e){return t+e*n}}(t,e):cn(isNaN(t)?n:t)}const sn=function t(n){var e=function(t){return 1==(t=+t)?ln:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):cn(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=Vt(t)).r,(n=Vt(n)).r),o=e(t.g,n.g),i=e(t.b,n.b),a=ln(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=o(n),t.b=i(n),t.opacity=a(n),t+""}}return r.gamma=t,r}(1);function fn(t){return function(n){var e,r,o=n.length,i=new Array(o),a=new Array(o),u=new Array(o);for(e=0;e<o;++e)r=Vt(n[e]),i[e]=r.r||0,a[e]=r.g||0,u[e]=r.b||0;return i=t(i),a=t(a),u=t(u),r.opacity=1,function(t){return r.r=i(t),r.g=a(t),r.b=u(t),r+""}}}function pn(t,n){var e,r=n?n.length:0,o=t?Math.min(r,t.length):0,i=new Array(o),a=new Array(r);for(e=0;e<o;++e)i[e]=xn(t[e],n[e]);for(;e<r;++e)a[e]=n[e];return function(t){for(e=0;e<o;++e)a[e]=i[e](t);return a}}function dn(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}function hn(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}function yn(t,n){var e,r={},o={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?r[e]=xn(t[e],n[e]):o[e]=n[e];return function(t){for(e in r)o[e]=r[e](t);return o}}fn((function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),o=t[r],i=t[r+1],a=r>0?t[r-1]:2*o-i,u=r<n-1?t[r+2]:2*i-o;return un((e-r/n)*n,a,o,i,u)}})),fn((function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),o=t[(r+n-1)%n],i=t[r%n],a=t[(r+1)%n],u=t[(r+2)%n];return un((e-r/n)*n,o,i,a,u)}}));var vn=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,gn=new RegExp(vn.source,"g");function mn(t,n){var e,r,o,i=vn.lastIndex=gn.lastIndex=0,a=-1,u=[],c=[];for(t+="",n+="";(e=vn.exec(t))&&(r=gn.exec(n));)(o=r.index)>i&&(o=n.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(e=e[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,c.push({i:a,x:hn(e,r)})),i=gn.lastIndex;return i<n.length&&(o=n.slice(i),u[a]?u[a]+=o:u[++a]=o),u.length<2?c[0]?function(t){return function(n){return t(n)+""}}(c[0].x):function(t){return function(){return t}}(n):(n=c.length,function(t){for(var e,r=0;r<n;++r)u[(e=c[r]).i]=e.x(t);return u.join("")})}function bn(t,n){n||(n=[]);var e,r=t?Math.min(n.length,t.length):0,o=n.slice();return function(i){for(e=0;e<r;++e)o[e]=t[e]*(1-i)+n[e]*i;return o}}function xn(t,n){var e,r,o=typeof n;return null==n||"boolean"===o?cn(n):("number"===o?hn:"string"===o?(e=qt(n))?(n=e,sn):mn:n instanceof qt?sn:n instanceof Date?dn:(r=n,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(n)?pn:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?yn:hn:bn))(t,n)}function wn(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function On(t){return+t}var Mn=[0,1];function jn(t){return t}function En(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:(e=isNaN(n)?NaN:.5,function(){return e});var e}function An(t,n,e){var r=t[0],o=t[1],i=n[0],a=n[1];return o<r?(r=En(o,r),i=e(a,i)):(r=En(r,o),i=e(i,a)),function(t){return i(r(t))}}function kn(t,n,e){var r=Math.min(t.length,n.length)-1,o=new Array(r),i=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<r;)o[a]=En(t[a],t[a+1]),i[a]=e(n[a],n[a+1]);return function(n){var e=jt(t,n,1,r)-1;return i[e](o[e](n))}}function Sn(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Pn(){var t,n,e,r,o,i,a=Mn,u=Mn,c=xn,l=jn;function s(){var t,n,e,c=Math.min(a.length,u.length);return l!==jn&&(t=a[0],n=a[c-1],t>n&&(e=t,t=n,n=e),l=function(e){return Math.max(t,Math.min(n,e))}),r=c>2?kn:An,o=i=null,f}function f(n){return null==n||isNaN(n=+n)?e:(o||(o=r(a.map(t),u,c)))(t(l(n)))}return f.invert=function(e){return l(n((i||(i=r(u,a.map(t),hn)))(e)))},f.domain=function(t){return arguments.length?(a=Array.from(t,On),s()):a.slice()},f.range=function(t){return arguments.length?(u=Array.from(t),s()):u.slice()},f.rangeRound=function(t){return u=Array.from(t),c=wn,s()},f.clamp=function(t){return arguments.length?(l=!!t||jn,s()):l!==jn},f.interpolate=function(t){return arguments.length?(c=t,s()):c},f.unknown=function(t){return arguments.length?(e=t,f):e},function(e,r){return t=e,n=r,s()}}function Cn(){return Pn()(jn,jn)}var Tn,_n=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Dn(t){if(!(n=_n.exec(t)))throw new Error("invalid format: "+t);var n;return new In({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function In(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function Nn(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}function Rn(t){return(t=Nn(Math.abs(t)))?t[1]:NaN}function Ln(t,n){var e=Nn(t,n);if(!e)return t+"";var r=e[0],o=e[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}Dn.prototype=In.prototype,In.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const Un={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>Ln(100*t,n),r:Ln,s:function(t,n){var e=Nn(t,n);if(!e)return t+"";var r=e[0],o=e[1],i=o-(Tn=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+Nn(t,Math.max(0,n+i-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Fn(t){return t}var zn,Wn,Hn,qn=Array.prototype.map,$n=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Bn(t,n,e,r){var o,i=vt(t,n,e);switch((r=Dn(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(o=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Rn(n)/3)))-Rn(Math.abs(t)))}(i,a))||(r.precision=o),Hn(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Rn(n)-Rn(t))+1}(i,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(t){return Math.max(0,-Rn(Math.abs(t)))}(i))||(r.precision=o-2*("%"===r.type))}return Wn(r)}function Yn(t){var n=t.domain;return t.ticks=function(t){var e=n();return ht(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return Bn(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,o,i=n(),a=0,u=i.length-1,c=i[a],l=i[u],s=10;for(l<c&&(o=c,c=l,l=o,o=a,a=u,u=o);s-- >0;){if((o=yt(c,l,e))===r)return i[a]=c,i[u]=l,n(i);if(o>0)c=Math.floor(c/o)*o,l=Math.ceil(l/o)*o;else{if(!(o<0))break;c=Math.ceil(c*o)/o,l=Math.floor(l*o)/o}r=o}return t},t}function Vn(){var t=Cn();return t.copy=function(){return Sn(t,Vn())},nt.apply(t,arguments),Yn(t)}function Kn(t){var n;function e(t){return null==t||isNaN(t=+t)?n:t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=Array.from(n,On),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return Kn(t).unknown(n)},t=arguments.length?Array.from(t,On):[0,1],Yn(e)}function Gn(t,n){var e,r=0,o=(t=t.slice()).length-1,i=t[r],a=t[o];return a<i&&(e=r,r=o,o=e,e=i,i=a,a=e),t[r]=n.floor(i),t[o]=n.ceil(a),t}function Qn(t){return Math.log(t)}function Zn(t){return Math.exp(t)}function Xn(t){return-Math.log(-t)}function Jn(t){return-Math.exp(-t)}function te(t){return isFinite(t)?+("1e"+t):t<0?0:t}function ne(t){return(n,e)=>-t(-n,e)}function ee(t){const n=t(Qn,Zn),e=n.domain;let r,o,i=10;function a(){return r=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),n=>Math.log(n)/t)}(i),o=function(t){return 10===t?te:t===Math.E?Math.exp:n=>Math.pow(t,n)}(i),e()[0]<0?(r=ne(r),o=ne(o),t(Xn,Jn)):t(Qn,Zn),n}return n.base=function(t){return arguments.length?(i=+t,a()):i},n.domain=function(t){return arguments.length?(e(t),a()):e()},n.ticks=t=>{const n=e();let a=n[0],u=n[n.length-1];const c=u<a;c&&([a,u]=[u,a]);let l,s,f=r(a),p=r(u);const d=null==t?10:+t;let h=[];if(!(i%1)&&p-f<d){if(f=Math.floor(f),p=Math.ceil(p),a>0){for(;f<=p;++f)for(l=1;l<i;++l)if(s=f<0?l/o(-f):l*o(f),!(s<a)){if(s>u)break;h.push(s)}}else for(;f<=p;++f)for(l=i-1;l>=1;--l)if(s=f>0?l/o(-f):l*o(f),!(s<a)){if(s>u)break;h.push(s)}2*h.length<d&&(h=ht(a,u,d))}else h=ht(f,p,Math.min(p-f,d)).map(o);return c?h.reverse():h},n.tickFormat=(t,e)=>{if(null==t&&(t=10),null==e&&(e=10===i?"s":","),"function"!=typeof e&&(i%1||null!=(e=Dn(e)).precision||(e.trim=!0),e=Wn(e)),t===1/0)return e;const a=Math.max(1,i*t/n.ticks().length);return t=>{let n=t/o(Math.round(r(t)));return n*i<i-.5&&(n*=i),n<=a?e(t):""}},n.nice=()=>e(Gn(e(),{floor:t=>o(Math.floor(r(t))),ceil:t=>o(Math.ceil(r(t)))})),n}function re(){const t=ee(Pn()).domain([1,10]);return t.copy=()=>Sn(t,re()).base(t.base()),nt.apply(t,arguments),t}function oe(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function ie(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function ae(t){var n=1,e=t(oe(n),ie(n));return e.constant=function(e){return arguments.length?t(oe(n=+e),ie(n)):n},Yn(e)}function ue(){var t=ae(Pn());return t.copy=function(){return Sn(t,ue()).constant(t.constant())},nt.apply(t,arguments)}function ce(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function le(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function se(t){return t<0?-t*t:t*t}function fe(t){var n=t(jn,jn),e=1;function r(){return 1===e?t(jn,jn):.5===e?t(le,se):t(ce(e),ce(1/e))}return n.exponent=function(t){return arguments.length?(e=+t,r()):e},Yn(n)}function pe(){var t=fe(Pn());return t.copy=function(){return Sn(t,pe()).exponent(t.exponent())},nt.apply(t,arguments),t}function de(){return pe.apply(null,arguments).exponent(.5)}function he(t){return Math.sign(t)*t*t}function ye(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function ve(){var t,n=Cn(),e=[0,1],r=!1;function o(e){var o=ye(n(e));return isNaN(o)?t:r?Math.round(o):o}return o.invert=function(t){return n.invert(he(t))},o.domain=function(t){return arguments.length?(n.domain(t),o):n.domain()},o.range=function(t){return arguments.length?(n.range((e=Array.from(t,On)).map(he)),o):e.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(r=!!t,o):r},o.clamp=function(t){return arguments.length?(n.clamp(t),o):n.clamp()},o.unknown=function(n){return arguments.length?(t=n,o):t},o.copy=function(){return ve(n.domain(),e).round(r).clamp(n.clamp()).unknown(t)},nt.apply(o,arguments),Yn(o)}function ge(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e<n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let o of t)null!=(o=n(o,++r,t))&&(e<o||void 0===e&&o>=o)&&(e=o)}return e}function me(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e>n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let o of t)null!=(o=n(o,++r,t))&&(e>o||void 0===e&&o>=o)&&(e=o)}return e}function be(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}function xe(t,n,e=0,r=t.length-1,o){for(o=void 0===o?be:function(t=gt){if(t===gt)return be;if("function"!=typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}(o);r>e;){if(r-e>600){const i=r-e+1,a=n-e+1,u=Math.log(i),c=.5*Math.exp(2*u/3),l=.5*Math.sqrt(u*c*(i-c)/i)*(a-i/2<0?-1:1);xe(t,n,Math.max(e,Math.floor(n-a*c/i+l)),Math.min(r,Math.floor(n+(i-a)*c/i+l)),o)}const i=t[n];let a=e,u=r;for(we(t,e,n),o(t[r],i)>0&&we(t,e,r);a<u;){for(we(t,a,u),++a,--u;o(t[a],i)<0;)++a;for(;o(t[u],i)>0;)--u}0===o(t[e],i)?we(t,e,u):(++u,we(t,u,r)),u<=n&&(e=u+1),n<=u&&(r=u-1)}return t}function we(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function Oe(t,n,e){if(t=Float64Array.from(function*(t,n){if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(yield n);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(r=+r)>=r&&(yield r)}}(t,e)),r=t.length){if((n=+n)<=0||r<2)return me(t);if(n>=1)return ge(t);var r,o=(r-1)*n,i=Math.floor(o),a=ge(xe(t,i).subarray(0,i+1));return a+(me(t.subarray(i+1))-a)*(o-i)}}function Me(t,n,e=wt){if(r=t.length){if((n=+n)<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,o=(r-1)*n,i=Math.floor(o),a=+e(t[i],i,t);return a+(+e(t[i+1],i+1,t)-a)*(o-i)}}function je(){var t,n=[],e=[],r=[];function o(){var t=0,o=Math.max(1,e.length);for(r=new Array(o-1);++t<o;)r[t-1]=Me(n,t/o);return i}function i(n){return null==n||isNaN(n=+n)?t:e[jt(r,n)]}return i.invertExtent=function(t){var o=e.indexOf(t);return o<0?[NaN,NaN]:[o>0?r[o-1]:n[0],o<r.length?r[o]:n[n.length-1]]},i.domain=function(t){if(!arguments.length)return n.slice();n=[];for(let e of t)null==e||isNaN(e=+e)||n.push(e);return n.sort(gt),o()},i.range=function(t){return arguments.length?(e=Array.from(t),o()):e.slice()},i.unknown=function(n){return arguments.length?(t=n,i):t},i.quantiles=function(){return r.slice()},i.copy=function(){return je().domain(n).range(e).unknown(t)},nt.apply(i,arguments)}function Ee(){var t,n=0,e=1,r=1,o=[.5],i=[0,1];function a(n){return null!=n&&n<=n?i[jt(o,n,0,r)]:t}function u(){var t=-1;for(o=new Array(r);++t<r;)o[t]=((t+1)*e-(t-r)*n)/(r+1);return a}return a.domain=function(t){return arguments.length?([n,e]=t,n=+n,e=+e,u()):[n,e]},a.range=function(t){return arguments.length?(r=(i=Array.from(t)).length-1,u()):i.slice()},a.invertExtent=function(t){var a=i.indexOf(t);return a<0?[NaN,NaN]:a<1?[n,o[0]]:a>=r?[o[r-1],e]:[o[a-1],o[a]]},a.unknown=function(n){return arguments.length?(t=n,a):a},a.thresholds=function(){return o.slice()},a.copy=function(){return Ee().domain([n,e]).range(i).unknown(t)},nt.apply(Yn(a),arguments)}function Ae(){var t,n=[.5],e=[0,1],r=1;function o(o){return null!=o&&o<=o?e[jt(n,o,0,r)]:t}return o.domain=function(t){return arguments.length?(n=Array.from(t),r=Math.min(n.length,e.length-1),o):n.slice()},o.range=function(t){return arguments.length?(e=Array.from(t),r=Math.min(n.length,e.length-1),o):e.slice()},o.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},o.unknown=function(n){return arguments.length?(t=n,o):t},o.copy=function(){return Ae().domain(n).range(e).unknown(t)},nt.apply(o,arguments)}zn=function(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?Fn:(n=qn.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var o=t.length,i=[],a=0,u=n[0],c=0;o>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),i.push(t.substring(o-=u,o+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return i.reverse().join(e)}),o=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?Fn:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(qn.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",l=void 0===t.minus?"−":t.minus+"",s=void 0===t.nan?"NaN":t.nan+"";function f(t){var n=(t=Dn(t)).fill,e=t.align,f=t.sign,p=t.symbol,d=t.zero,h=t.width,y=t.comma,v=t.precision,g=t.trim,m=t.type;"n"===m?(y=!0,m="g"):Un[m]||(void 0===v&&(v=12),g=!0,m="g"),(d||"0"===n&&"="===e)&&(d=!0,n="0",e="=");var b="$"===p?o:"#"===p&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",x="$"===p?i:/[%p]/.test(m)?c:"",w=Un[m],O=/[defgprs%]/.test(m);function M(t){var o,i,c,p=b,M=x;if("c"===m)M=w(t)+M,t="";else{var j=(t=+t)<0||1/t<0;if(t=isNaN(t)?s:w(Math.abs(t),v),g&&(t=function(t){t:for(var n,e=t.length,r=1,o=-1;r<e;++r)switch(t[r]){case".":o=n=r;break;case"0":0===o&&(o=r),n=r;break;default:if(!+t[r])break t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(n+1):t}(t)),j&&0==+t&&"+"!==f&&(j=!1),p=(j?"("===f?f:l:"-"===f||"("===f?"":f)+p,M=("s"===m?$n[8+Tn/3]:"")+M+(j&&"("===f?")":""),O)for(o=-1,i=t.length;++o<i;)if(48>(c=t.charCodeAt(o))||c>57){M=(46===c?a+t.slice(o+1):t.slice(o))+M,t=t.slice(0,o);break}}y&&!d&&(t=r(t,1/0));var E=p.length+t.length+M.length,A=E<h?new Array(h-E+1).join(n):"";switch(y&&d&&(t=r(A+t,A.length?h-M.length:1/0),A=""),e){case"<":t=p+t+M+A;break;case"=":t=p+A+t+M;break;case"^":t=A.slice(0,E=A.length>>1)+p+t+M+A.slice(E);break;default:t=A+p+t+M}return u(t)}return v=void 0===v?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),M.toString=function(){return t+""},M}return{format:f,formatPrefix:function(t,n){var e=f(((t=Dn(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Rn(n)/3))),o=Math.pow(10,-r),i=$n[8+r/3];return function(t){return e(o*t)+i}}}}({thousands:",",grouping:[3],currency:["$",""]}),Wn=zn.format,Hn=zn.formatPrefix;const ke=1e3,Se=6e4,Pe=36e5,Ce=864e5,Te=6048e5,_e=31536e6;var De=new Date,Ie=new Date;function Ne(t,n,e,r){function o(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return o.floor=function(n){return t(n=new Date(+n)),n},o.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},o.round=function(t){var n=o(t),e=o.ceil(t);return t-n<e-t?n:e},o.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},o.range=function(e,r,i){var a,u=[];if(e=o.ceil(e),i=null==i?1:Math.floor(i),!(e<r&&i>0))return u;do{u.push(a=new Date(+e)),n(e,i),t(e)}while(a<e&&e<r);return u},o.filter=function(e){return Ne((function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(o.count=function(n,r){return De.setTime(+n),Ie.setTime(+r),t(De),t(Ie),Math.floor(e(De,Ie))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(r?function(n){return r(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null}),o}var Re=Ne((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));Re.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Ne((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):Re:null};const Le=Re;Re.range;var Ue=Ne((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*ke)}),(function(t,n){return(n-t)/ke}),(function(t){return t.getUTCSeconds()}));const Fe=Ue;Ue.range;var ze=Ne((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ke)}),(function(t,n){t.setTime(+t+n*Se)}),(function(t,n){return(n-t)/Se}),(function(t){return t.getMinutes()}));const We=ze;ze.range;var He=Ne((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ke-t.getMinutes()*Se)}),(function(t,n){t.setTime(+t+n*Pe)}),(function(t,n){return(n-t)/Pe}),(function(t){return t.getHours()}));const qe=He;He.range;var $e=Ne((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Se)/Ce),(t=>t.getDate()-1));const Be=$e;function Ye(t){return Ne((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Se)/Te}))}$e.range;var Ve=Ye(0),Ke=Ye(1),Ge=Ye(2),Qe=Ye(3),Ze=Ye(4),Xe=Ye(5),Je=Ye(6),tr=(Ve.range,Ke.range,Ge.range,Qe.range,Ze.range,Xe.range,Je.range,Ne((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()})));const nr=tr;tr.range;var er=Ne((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));er.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ne((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null};const rr=er;er.range;var or=Ne((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*Se)}),(function(t,n){return(n-t)/Se}),(function(t){return t.getUTCMinutes()}));const ir=or;or.range;var ar=Ne((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*Pe)}),(function(t,n){return(n-t)/Pe}),(function(t){return t.getUTCHours()}));const ur=ar;ar.range;var cr=Ne((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/Ce}),(function(t){return t.getUTCDate()-1}));const lr=cr;function sr(t){return Ne((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/Te}))}cr.range;var fr=sr(0),pr=sr(1),dr=sr(2),hr=sr(3),yr=sr(4),vr=sr(5),gr=sr(6),mr=(fr.range,pr.range,dr.range,hr.range,yr.range,vr.range,gr.range,Ne((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCMonth(t.getUTCMonth()+n)}),(function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()})));const br=mr;mr.range;var xr=Ne((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));xr.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ne((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null};const wr=xr;function Or(t,n,e,r,o,i){const a=[[Fe,1,ke],[Fe,5,5e3],[Fe,15,15e3],[Fe,30,3e4],[i,1,Se],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,Pe],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,Ce],[r,2,1728e5],[e,1,Te],[n,1,2592e6],[n,3,7776e6],[t,1,_e]];function u(n,e,r){const o=Math.abs(e-n)/r,i=bt((([,,t])=>t)).right(a,o);if(i===a.length)return t.every(vt(n/_e,e/_e,r));if(0===i)return Le.every(Math.max(vt(n,e,r),1));const[u,c]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return u.every(c)}return[function(t,n,e){const r=n<t;r&&([t,n]=[n,t]);const o=e&&"function"==typeof e.range?e:u(t,n,e),i=o?o.range(t,+n+1):[];return r?i.reverse():i},u]}xr.range;const[Mr,jr]=Or(wr,br,fr,lr,ur,ir),[Er,Ar]=Or(rr,nr,Ve,Be,qe,We);function kr(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Sr(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Pr(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var Cr,Tr,_r,Dr={"-":"",_:" ",0:"0"},Ir=/^\s*\d+/,Nr=/^%/,Rr=/[\\^$*+?|[\]().{}]/g;function Lr(t,n,e){var r=t<0?"-":"",o=(r?-t:t)+"",i=o.length;return r+(i<e?new Array(e-i+1).join(n)+o:o)}function Ur(t){return t.replace(Rr,"\\$&")}function Fr(t){return new RegExp("^(?:"+t.map(Ur).join("|")+")","i")}function zr(t){return new Map(t.map(((t,n)=>[t.toLowerCase(),n])))}function Wr(t,n,e){var r=Ir.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function Hr(t,n,e){var r=Ir.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function qr(t,n,e){var r=Ir.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function $r(t,n,e){var r=Ir.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function Br(t,n,e){var r=Ir.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function Yr(t,n,e){var r=Ir.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function Vr(t,n,e){var r=Ir.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function Kr(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function Gr(t,n,e){var r=Ir.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function Qr(t,n,e){var r=Ir.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function Zr(t,n,e){var r=Ir.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Xr(t,n,e){var r=Ir.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Jr(t,n,e){var r=Ir.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function to(t,n,e){var r=Ir.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function no(t,n,e){var r=Ir.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function eo(t,n,e){var r=Ir.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function ro(t,n,e){var r=Ir.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function oo(t,n,e){var r=Nr.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function io(t,n,e){var r=Ir.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function ao(t,n,e){var r=Ir.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function uo(t,n){return Lr(t.getDate(),n,2)}function co(t,n){return Lr(t.getHours(),n,2)}function lo(t,n){return Lr(t.getHours()%12||12,n,2)}function so(t,n){return Lr(1+Be.count(rr(t),t),n,3)}function fo(t,n){return Lr(t.getMilliseconds(),n,3)}function po(t,n){return fo(t,n)+"000"}function ho(t,n){return Lr(t.getMonth()+1,n,2)}function yo(t,n){return Lr(t.getMinutes(),n,2)}function vo(t,n){return Lr(t.getSeconds(),n,2)}function go(t){var n=t.getDay();return 0===n?7:n}function mo(t,n){return Lr(Ve.count(rr(t)-1,t),n,2)}function bo(t){var n=t.getDay();return n>=4||0===n?Ze(t):Ze.ceil(t)}function xo(t,n){return t=bo(t),Lr(Ze.count(rr(t),t)+(4===rr(t).getDay()),n,2)}function wo(t){return t.getDay()}function Oo(t,n){return Lr(Ke.count(rr(t)-1,t),n,2)}function Mo(t,n){return Lr(t.getFullYear()%100,n,2)}function jo(t,n){return Lr((t=bo(t)).getFullYear()%100,n,2)}function Eo(t,n){return Lr(t.getFullYear()%1e4,n,4)}function Ao(t,n){var e=t.getDay();return Lr((t=e>=4||0===e?Ze(t):Ze.ceil(t)).getFullYear()%1e4,n,4)}function ko(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Lr(n/60|0,"0",2)+Lr(n%60,"0",2)}function So(t,n){return Lr(t.getUTCDate(),n,2)}function Po(t,n){return Lr(t.getUTCHours(),n,2)}function Co(t,n){return Lr(t.getUTCHours()%12||12,n,2)}function To(t,n){return Lr(1+lr.count(wr(t),t),n,3)}function _o(t,n){return Lr(t.getUTCMilliseconds(),n,3)}function Do(t,n){return _o(t,n)+"000"}function Io(t,n){return Lr(t.getUTCMonth()+1,n,2)}function No(t,n){return Lr(t.getUTCMinutes(),n,2)}function Ro(t,n){return Lr(t.getUTCSeconds(),n,2)}function Lo(t){var n=t.getUTCDay();return 0===n?7:n}function Uo(t,n){return Lr(fr.count(wr(t)-1,t),n,2)}function Fo(t){var n=t.getUTCDay();return n>=4||0===n?yr(t):yr.ceil(t)}function zo(t,n){return t=Fo(t),Lr(yr.count(wr(t),t)+(4===wr(t).getUTCDay()),n,2)}function Wo(t){return t.getUTCDay()}function Ho(t,n){return Lr(pr.count(wr(t)-1,t),n,2)}function qo(t,n){return Lr(t.getUTCFullYear()%100,n,2)}function $o(t,n){return Lr((t=Fo(t)).getUTCFullYear()%100,n,2)}function Bo(t,n){return Lr(t.getUTCFullYear()%1e4,n,4)}function Yo(t,n){var e=t.getUTCDay();return Lr((t=e>=4||0===e?yr(t):yr.ceil(t)).getUTCFullYear()%1e4,n,4)}function Vo(){return"+0000"}function Ko(){return"%"}function Go(t){return+t}function Qo(t){return Math.floor(+t/1e3)}function Zo(t){return new Date(t)}function Xo(t){return t instanceof Date?+t:+new Date(+t)}function Jo(t,n,e,r,o,i,a,u,c,l){var s=Cn(),f=s.invert,p=s.domain,d=l(".%L"),h=l(":%S"),y=l("%I:%M"),v=l("%I %p"),g=l("%a %d"),m=l("%b %d"),b=l("%B"),x=l("%Y");function w(t){return(c(t)<t?d:u(t)<t?h:a(t)<t?y:i(t)<t?v:r(t)<t?o(t)<t?g:m:e(t)<t?b:x)(t)}return s.invert=function(t){return new Date(f(t))},s.domain=function(t){return arguments.length?p(Array.from(t,Xo)):p().map(Zo)},s.ticks=function(n){var e=p();return t(e[0],e[e.length-1],null==n?10:n)},s.tickFormat=function(t,n){return null==n?w:l(n)},s.nice=function(t){var e=p();return t&&"function"==typeof t.range||(t=n(e[0],e[e.length-1],null==t?10:t)),t?p(Gn(e,t)):s},s.copy=function(){return Sn(s,Jo(t,n,e,r,o,i,a,u,c,l))},s}function ti(){return nt.apply(Jo(Er,Ar,rr,nr,Ve,Be,qe,We,Fe,Tr).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function ni(){return nt.apply(Jo(Mr,jr,wr,br,fr,lr,ur,ir,Fe,_r).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function ei(){var t,n,e,r,o,i=0,a=1,u=jn,c=!1;function l(n){return null==n||isNaN(n=+n)?o:u(0===e?.5:(n=(r(n)-t)*e,c?Math.max(0,Math.min(1,n)):n))}function s(t){return function(n){var e,r;return arguments.length?([e,r]=n,u=t(e,r),l):[u(0),u(1)]}}return l.domain=function(o){return arguments.length?([i,a]=o,t=r(i=+i),n=r(a=+a),e=t===n?0:1/(n-t),l):[i,a]},l.clamp=function(t){return arguments.length?(c=!!t,l):c},l.interpolator=function(t){return arguments.length?(u=t,l):u},l.range=s(xn),l.rangeRound=s(wn),l.unknown=function(t){return arguments.length?(o=t,l):o},function(o){return r=o,t=o(i),n=o(a),e=t===n?0:1/(n-t),l}}function ri(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function oi(){var t=Yn(ei()(jn));return t.copy=function(){return ri(t,oi())},et.apply(t,arguments)}function ii(){var t=ee(ei()).domain([1,10]);return t.copy=function(){return ri(t,ii()).base(t.base())},et.apply(t,arguments)}function ai(){var t=ae(ei());return t.copy=function(){return ri(t,ai()).constant(t.constant())},et.apply(t,arguments)}function ui(){var t=fe(ei());return t.copy=function(){return ri(t,ui()).exponent(t.exponent())},et.apply(t,arguments)}function ci(){return ui.apply(null,arguments).exponent(.5)}function li(){var t=[],n=jn;function e(e){if(null!=e&&!isNaN(e=+e))return n((jt(t,e,1)-1)/(t.length-1))}return e.domain=function(n){if(!arguments.length)return t.slice();t=[];for(let e of n)null==e||isNaN(e=+e)||t.push(e);return t.sort(gt),e},e.interpolator=function(t){return arguments.length?(n=t,e):n},e.range=function(){return t.map(((e,r)=>n(r/(t.length-1))))},e.quantiles=function(n){return Array.from({length:n+1},((e,r)=>Oe(t,r/n)))},e.copy=function(){return li(n).domain(t)},et.apply(e,arguments)}function si(t,n){void 0===n&&(n=t,t=xn);for(var e=0,r=n.length-1,o=n[0],i=new Array(r<0?0:r);e<r;)i[e]=t(o,o=n[++e]);return function(t){var n=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return i[n](t-n)}}function fi(){var t,n,e,r,o,i,a,u=0,c=.5,l=1,s=1,f=jn,p=!1;function d(t){return isNaN(t=+t)?a:(t=.5+((t=+i(t))-n)*(s*t<s*n?r:o),f(p?Math.max(0,Math.min(1,t)):t))}function h(t){return function(n){var e,r,o;return arguments.length?([e,r,o]=n,f=si(t,[e,r,o]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([u,c,l]=a,t=i(u=+u),n=i(c=+c),e=i(l=+l),r=t===n?0:.5/(n-t),o=n===e?0:.5/(e-n),s=n<t?-1:1,d):[u,c,l]},d.clamp=function(t){return arguments.length?(p=!!t,d):p},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=h(xn),d.rangeRound=h(wn),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return i=a,t=a(u),n=a(c),e=a(l),r=t===n?0:.5/(n-t),o=n===e?0:.5/(e-n),s=n<t?-1:1,d}}function pi(){var t=Yn(fi()(jn));return t.copy=function(){return ri(t,pi())},et.apply(t,arguments)}function di(){var t=ee(fi()).domain([.1,1,10]);return t.copy=function(){return ri(t,di()).base(t.base())},et.apply(t,arguments)}function hi(){var t=ae(fi());return t.copy=function(){return ri(t,hi()).constant(t.constant())},et.apply(t,arguments)}function yi(){var t=fe(fi());return t.copy=function(){return ri(t,yi()).exponent(t.exponent())},et.apply(t,arguments)}function vi(){return yi.apply(null,arguments).exponent(.5)}Cr=function(t){var n=t.dateTime,e=t.date,r=t.time,o=t.periods,i=t.days,a=t.shortDays,u=t.months,c=t.shortMonths,l=Fr(o),s=zr(o),f=Fr(i),p=zr(i),d=Fr(a),h=zr(a),y=Fr(u),v=zr(u),g=Fr(c),m=zr(c),b={a:function(t){return a[t.getDay()]},A:function(t){return i[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:uo,e:uo,f:po,g:jo,G:Ao,H:co,I:lo,j:so,L:fo,m:ho,M:yo,p:function(t){return o[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Go,s:Qo,S:vo,u:go,U:mo,V:xo,w:wo,W:Oo,x:null,X:null,y:Mo,Y:Eo,Z:ko,"%":Ko},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return i[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:So,e:So,f:Do,g:$o,G:Yo,H:Po,I:Co,j:To,L:_o,m:Io,M:No,p:function(t){return o[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Go,s:Qo,S:Ro,u:Lo,U:Uo,V:zo,w:Wo,W:Ho,x:null,X:null,y:qo,Y:Bo,Z:Vo,"%":Ko},w={a:function(t,n,e){var r=d.exec(n.slice(e));return r?(t.w=h.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.w=p.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.m=m.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=y.exec(n.slice(e));return r?(t.m=v.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return j(t,n,e,r)},d:Zr,e:Zr,f:ro,g:Vr,G:Yr,H:Jr,I:Jr,j:Xr,L:eo,m:Qr,M:to,p:function(t,n,e){var r=l.exec(n.slice(e));return r?(t.p=s.get(r[0].toLowerCase()),e+r[0].length):-1},q:Gr,Q:io,s:ao,S:no,u:Hr,U:qr,V:$r,w:Wr,W:Br,x:function(t,n,r){return j(t,e,n,r)},X:function(t,n,e){return j(t,r,n,e)},y:Vr,Y:Yr,Z:Kr,"%":oo};function O(t,n){return function(e){var r,o,i,a=[],u=-1,c=0,l=t.length;for(e instanceof Date||(e=new Date(+e));++u<l;)37===t.charCodeAt(u)&&(a.push(t.slice(c,u)),null!=(o=Dr[r=t.charAt(++u)])?r=t.charAt(++u):o="e"===r?" ":"0",(i=n[r])&&(r=i(e,o)),a.push(r),c=u+1);return a.push(t.slice(c,u)),a.join("")}}function M(t,n){return function(e){var r,o,i=Pr(1900,void 0,1);if(j(i,t,e+="",0)!=e.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(n&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=Sr(Pr(i.y,0,1))).getUTCDay(),r=o>4||0===o?pr.ceil(r):pr(r),r=lr.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=kr(Pr(i.y,0,1))).getDay(),r=o>4||0===o?Ke.ceil(r):Ke(r),r=Be.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?Sr(Pr(i.y,0,1)).getUTCDay():kr(Pr(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,Sr(i)):kr(i)}}function j(t,n,e,r){for(var o,i,a=0,u=n.length,c=e.length;a<u;){if(r>=c)return-1;if(37===(o=n.charCodeAt(a++))){if(o=n.charAt(a++),!(i=w[o in Dr?n.charAt(a++):o])||(r=i(t,e,r))<0)return-1}else if(o!=e.charCodeAt(r++))return-1}return r}return b.x=O(e,b),b.X=O(r,b),b.c=O(n,b),x.x=O(e,x),x.X=O(r,x),x.c=O(n,x),{format:function(t){var n=O(t+="",b);return n.toString=function(){return t},n},parse:function(t){var n=M(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=O(t+="",x);return n.toString=function(){return t},n},utcParse:function(t){var n=M(t+="",!0);return n.toString=function(){return t},n}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),Tr=Cr.format,Cr.parse,_r=Cr.utcFormat,Cr.utcParse;var gi=["linear","time","log","sqrt"];function mi(t){return"function"==typeof t?y()(t.copy)&&y()(t.domain)&&y()(t.range):"string"==typeof t&&K()(gi,t)}function bi(t,n){return!(!t.scale||(t.scale.x||t.scale.y)&&!t.scale[n])}function xi(t,n){if(!t.data)return"linear";var e=k(t[n]);return Z(t.data.map((function(t){var r=Y()(e(t))?e(t)[n]:e(t);return void 0!==r?r:t[n]})))?"time":"linear"}function wi(n){if(mi(n)){var e=function(t){var n;return"scale".concat((n=t)&&n[0].toUpperCase()+n.slice(1))}(n);return t[e]()}return Vn()}function Oi(t,n){var e=function(t,n){if(bi(t,n)){var e=t.scale[n]||t.scale;return mi(e)?y()(e)?e:wi(e):void 0}}(t,n);return e?"string"==typeof e?wi(e):e:wi(function(t,n){var e;if(t.domain&&t.domain[n]?e=t.domain[n]:t.domain&&Array.isArray(t.domain)&&(e=t.domain),e)return Z(e)?"time":"linear"}(t,n)||xi(t,n))}function Mi(t,n){return function(t,n){if(bi(t,n)){var e=t.scale[n]||t.scale;return"string"==typeof e?e:function(t){if("string"==typeof t)return t;var n=ji.filter((function(n){return void 0!==t[n.method]}))[0];return n?n.name:void 0}(e)}}(t,n)||xi(t,n)}var ji=[{name:"quantile",method:"quantiles"},{name:"log",method:"base"}],Ei=function(t){var n=function(n){return function(e,r,o){var i=e[r];if(null==i)return n?new Error("Required `".concat(r,"` was not specified in `").concat(o,"`.")):null;for(var a=arguments.length,u=new Array(a>3?a-3:0),c=3;c<a;c++)u[c-3]=arguments[c];return t.apply(void 0,[e,r,o].concat(u))}};return Object.assign(n(!1),{isRequired:n(!0)})},Ai=function(){return null},ki=function(){},Si=function(t){return void 0===t?ki:null===t?Ai:t.constructor},Pi=function(t){return void 0===t?"undefined":null===t?"null":Object.prototype.toString.call(t).slice(8,-1)},Ci=Ei((function(t,n,e){var r=t[n];return"number"!=typeof r||r<0?new Error("`".concat(n,"` in `").concat(e,"` must be a non-negative number.")):null})),Ti=Ei((function(t,n,e){var r=t[n];return"number"!=typeof r||r%1!=0?new Error("`".concat(n,"` in `").concat(e,"` must be an integer.")):null})),_i=(Ei((function(t,n,e){var r=t[n];return"number"!=typeof r||r<=0?new Error("`".concat(n,"` in `").concat(e,"` must be a number greater than zero.")):null})),Ei((function(t,n,e){var r=t[n];return Array.isArray(r)&&2===r.length&&r[1]!==r[0]?null:new Error("`".concat(n,"` in `").concat(e,"` must be an array of two unique numeric values."))})),Ei((function(t,n,e){return mi(t[n])?null:new Error("`".concat(n,"` in `").concat(e,"` must be a d3 scale."))})));function Di(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ii(t,n){return Ii=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},Ii(t,n)}function Ni(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Ri(t){return Ri=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ri(t)}Ei((function(t,n,e){var r=t[n];if(!Array.isArray(r))return new Error("`".concat(n,"` in `").concat(e,"` must be an array."));if(r.length<2)return null;var o=Si(r[0]),i=$()(r,(function(t){return o!==Si(t)}));if(i){var a=Pi(r[0]),u=Pi(i);return new Error("Expected `".concat(n,"` in `").concat(e,"` to be a ")+"homogeneous array, but found types `".concat(a,"` and ")+"`".concat(u,"`."))}return null})),Ei((function(t,n){return t[n]&&Array.isArray(t[n])&&t[n].length!==t.data.length?new Error("Length of data and ".concat(n," arrays must match.")):null})),Ei((function(t,n,e){return t[n]&&!H()(t[n])?new Error("`".concat(n,"` in `").concat(e,"` must be a regular expression.")):null}));var Li=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&Ii(t,n)}(c,t);var n,e,r,o,a=(r=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=Ri(r);if(o){var e=Ri(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return Ni(this,t)});function c(t){var n;return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,c),(n=a.call(this,t)).map=void 0,n.index=void 0,n.portalRegister=function(){return++n.index},n.portalUpdate=function(t,e){n.map[t]=e,n.forceUpdate()},n.portalDeregister=function(t){delete n.map[t],n.forceUpdate()},n.map={},n.index=1,n}return n=c,(e=[{key:"getChildren",value:function(){var t=this;return u()(this.map).map((function(n){var e=t.map[n];return e?i().cloneElement(e,{key:n}):e}))}},{key:"render",value:function(){return i().createElement("svg",this.props,this.getChildren())}}])&&Di(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),c}(i().Component);Li.displayName="Portal",Li.propTypes={className:z().string,height:Ci,style:z().object,viewBox:z().string,width:Ci};var Ui=i().createContext({});Ui.displayName="PortalContext";var Fi,zi,Wi=0,Hi=0,qi=0,$i=0,Bi=0,Yi=0,Vi="object"==typeof performance&&performance.now?performance:Date,Ki="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Gi(){return Bi||(Ki(Qi),Bi=Vi.now()+Yi)}function Qi(){Bi=0}function Zi(){this._call=this._time=this._next=null}function Xi(t,n,e){var r=new Zi;return r.restart(t,n,e),r}function Ji(){Bi=($i=Vi.now())+Yi,Wi=Hi=0;try{!function(){Gi(),++Wi;for(var t,n=Fi;n;)(t=Bi-n._time)>=0&&n._call.call(void 0,t),n=n._next;--Wi}()}finally{Wi=0,function(){for(var t,n,e=Fi,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:Fi=n);zi=t,na(r)}(),Bi=0}}function ta(){var t=Vi.now(),n=t-$i;n>1e3&&(Yi-=n,$i=t)}function na(t){Wi||(Hi&&(Hi=clearTimeout(Hi)),t-Bi>24?(t<1/0&&(Hi=setTimeout(Ji,t-Vi.now()-Yi)),qi&&(qi=clearInterval(qi))):(qi||($i=Vi.now(),qi=setInterval(ta,1e3)),Wi=1,Ki(Ji)))}function ea(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Zi.prototype=Xi.prototype={constructor:Zi,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Gi():+e)+(null==n?0:+n),this._next||zi===this||(zi?zi._next=this:Fi=this,zi=this),this._call=t,this._time=e,na()},stop:function(){this._call&&(this._call=null,this._time=1/0,na())}};var ra=function(){function t(){var n=this;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.shouldAnimate=void 0,this.subscribers=void 0,this.activeSubscriptions=void 0,this.timer=void 0,this.loop=function(){n.subscribers.forEach((function(t){t.callback(Gi()-t.startTime,t.duration)}))},this.shouldAnimate=!0,this.subscribers=[],this.timer=null,this.activeSubscriptions=0}var n,e;return n=t,(e=[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"start",value:function(){this.timer||(this.timer=Xi(this.loop))}},{key:"stop",value:function(){this.timer&&(this.timer.stop(),this.timer=null)}},{key:"subscribe",value:function(t,n){var e=this.subscribers.push({startTime:Gi(),callback:t,duration:this.shouldAnimate?n:0});return this.activeSubscriptions++,this.start(),e}},{key:"unsubscribe",value:function(t){null!==t&&this.subscribers[t-1]&&(delete this.subscribers[t-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}])&&ea(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),t}(),oa=i().createContext({transitionTimer:new ra,animationTimer:new ra});oa.displayName="TimerContext";const ia=oa;function aa(){return aa=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},aa.apply(this,arguments)}function ua(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function ca(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?ua(Object(e),!0).forEach((function(n){la(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ua(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function la(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function sa(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function fa(t,n){return fa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},fa(t,n)}function pa(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function da(t){return da=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},da(t)}var ha=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&fa(t,n)}(u,t);var n,e,r,o,a=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=da(r);if(o){var e=da(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return pa(this,t)});function u(t){var n;return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),(n=a.call(this,t)).containerId=void 0,n.portalRef=void 0,n.containerRef=void 0,n.shouldHandleWheel=void 0,n.savePortalRef=function(t){return n.portalRef=t,t},n.portalUpdate=function(t,e){return n.portalRef.portalUpdate(t,e)},n.portalRegister=function(){return n.portalRef.portalRegister()},n.portalDeregister=function(t){return n.portalRef.portalDeregister(t)},n.saveContainerRef=function(t){return y()(n.props.containerRef)&&n.props.containerRef(t),n.containerRef=t,t},n.handleWheel=function(t){return t.preventDefault()},n.containerId=R()(t)&&void 0!==t.containerId?t.containerId:U()("victory-container-"),n.shouldHandleWheel=!!(t&&t.events&&t.events.onWheel),n}return n=u,(e=[{key:"componentDidMount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}},{key:"componentWillUnmount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}},{key:"getIdForElement",value:function(t){return"".concat(this.containerId,"-").concat(t)}},{key:"getChildren",value:function(t){return t.children}},{key:"getOUIAProps",value:function(t){var n=t.ouiaId,e=t.ouiaSafe,r=t.ouiaType;return ca(ca(ca({},n&&{"data-ouia-component-id":n}),r&&{"data-ouia-component-type":r}),void 0!==e&&{"data-ouia-safe":e})}},{key:"renderContainer",value:function(t,n,e){var r=t.title,o=t.desc,a=t.portalComponent,u=t.className,c=t.width,s=t.height,f=t.portalZIndex,p=t.responsive,d=this.getChildren(t),h=p?{width:"100%",height:"100%"}:{width:c,height:s},y=l()({pointerEvents:"none",touchAction:"none",position:"relative"},h),v=l()({zIndex:f,position:"absolute",top:0,left:0},h),m=l()({pointerEvents:"all"},h),b=l()({overflow:"visible"},h),x={width:c,height:s,viewBox:n.viewBox,preserveAspectRatio:n.preserveAspectRatio,style:b};return i().createElement(Ui.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},i().createElement("div",aa({style:g()({},e,y),className:u,ref:this.saveContainerRef},this.getOUIAProps(t)),i().createElement("svg",aa({},n,{style:m}),r?i().createElement("title",{id:this.getIdForElement("title")},r):null,o?i().createElement("desc",{id:this.getIdForElement("desc")},o):null,d),i().createElement("div",{style:v},i().cloneElement(a,ca(ca({},x),{},{ref:this.savePortalRef})))))}},{key:"render",value:function(){var t=this.props,n=t.width,e=t.height,r=t.responsive,o=t.events,i=t.title,a=t.desc,u=t.tabIndex,c=t.preserveAspectRatio,s=t.role,f=r?this.props.style:m(this.props.style,["height","width"]),p=I(this.props),d=l()(ca({width:n,height:e,tabIndex:u,role:s,"aria-labelledby":[i&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[a&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:r?"0 0 ".concat(n," ").concat(e):void 0,preserveAspectRatio:r?c:void 0},p),o);return this.renderContainer(this.props,d,f)}}])&&sa(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);ha.displayName="VictoryContainer",ha.role="container",ha.propTypes={"aria-describedby":z().string,"aria-labelledby":z().string,children:z().oneOfType([z().arrayOf(z().node),z().node]),className:z().string,containerId:z().oneOfType([z().number,z().string]),containerRef:z().func,desc:z().string,events:z().object,height:Ci,name:z().string,origin:z().shape({x:Ci,y:Ci}),ouiaId:z().oneOfType([z().number,z().string]),ouiaSafe:z().bool,ouiaType:z().string,polar:z().bool,portalComponent:z().element,portalZIndex:Ti,preserveAspectRatio:z().string,responsive:z().bool,role:z().string,style:z().object,tabIndex:z().number,theme:z().object,title:z().string,width:Ci},ha.defaultProps={className:"VictoryContainer",portalComponent:i().createElement(Li,null),portalZIndex:99,responsive:!0,role:"img"},ha.contextType=ia;var ya=r(4155),va=r.n(ya);function ga(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function ma(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ba(t,n){return ba=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},ba(t,n)}function xa(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function wa(t){return wa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},wa(t)}var Oa=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&ba(t,n)}(u,t);var n,e,r,o,a=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=wa(r);if(o){var e=wa(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return xa(this,t)});function u(){var t;ga(this,u);for(var n=arguments.length,e=new Array(n),r=0;r<n;r++)e[r]=arguments[r];return(t=a.call.apply(a,[this].concat(e))).checkedContext=void 0,t.renderInPlace=void 0,t.element=void 0,t.portalKey=void 0,t}return n=u,(e=[{key:"componentDidMount",value:function(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}},{key:"componentDidUpdate",value:function(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}},{key:"componentWillUnmount",value:function(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}},{key:"renderPortal",value:function(t){return this.renderInPlace?t:(this.element=t,null)}},{key:"render",value:function(){var t=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,n=this.props.groupComponent,e=t&&t.props||{},r=e.groupComponent?{groupComponent:n,standalone:!1}:{},o=g()(r,e,m(this.props,["children","groupComponent"])),a=t&&i().cloneElement(t,o);return this.renderPortal(a)}}])&&ma(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);Oa.displayName="VictoryPortal",Oa.role="portal",Oa.propTypes={children:z().node,groupComponent:z().element},Oa.defaultProps={groupComponent:i().createElement("g",null)},Oa.contextType=Ui;var Ma=["desc","id","tabIndex","origin"];function ja(){return ja=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},ja.apply(this,arguments)}function Ea(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Aa(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var ka=(0,e.forwardRef)((function(t,n){var e,r=t.desc,o=t.id,a=t.tabIndex,u=(t.origin,function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,Ma)),c=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Ea(Object(e),!0).forEach((function(n){Aa(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Ea(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({vectorEffect:"non-scaling-stroke",id:null===(e=O(o,t))||void 0===e?void 0:e.toString(),tabIndex:O(a,t)},u);return r?i().createElement("rect",ja({},c,{ref:n}),i().createElement("desc",null,r)):i().createElement("rect",ja({},c,{ref:n}))})),Sa=["children","desc","id","origin","tabIndex","title"];function Pa(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Ca(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Ta=function(t){var n,e=t.children,r=t.desc,o=t.id,a=(t.origin,t.tabIndex),u=t.title,c=function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,Sa),l=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Pa(Object(e),!0).forEach((function(n){Ca(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Pa(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({id:null===(n=O(o,t))||void 0===n?void 0:n.toString(),tabIndex:O(a,t)},c);return i().createElement("text",l,u&&i().createElement("title",null,u),r&&i().createElement("desc",null,r),e)},_a=["desc","id","tabIndex","origin"];function Da(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Ia(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Na=function(t){t.desc;var n,e=t.id,r=t.tabIndex,o=(t.origin,function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,_a)),a=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Da(Object(e),!0).forEach((function(n){Ia(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Da(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({id:null===(n=O(e,t))||void 0===n?void 0:n.toString(),tabIndex:O(r,t)},o);return i().createElement("tspan",a)};function Ra(t){var n=t.labelComponent,e=t.labelPlacement,r=t.polar?"perpendicular":"vertical";return e||n.props&&n.props.labelPlacement||r}function La(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2?arguments[2]:void 0;return void 0!==n.label?n.label:Array.isArray(t.labels)?t.labels[e]:t.labels}function Ua(t,n){var e,r=b(n).x;return("number"==typeof(e=t.scale.x(r))?e/(Math.PI/180):e)%360}function Fa(t,n){var e,r=t.scale,o=t.data,i=t.style,a=t.horizontal,u=t.polar,c=t.width,l=t.height,s=t.theme,f=t.labelComponent,p=t.disableInlineStyles,d=o[n],h=Ua(t,d),y=u?function(t,n){var e=Ra(t);return"perpendicular"===e||"vertical"===e&&(90===n||270===n)?"middle":n<=90||n>270?"start":"end"}(t,h):function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.style,r=t.horizontal,o=n._y>=0?1:-1,i=e&&e.labels||{};return n.verticalAnchor||i.verticalAnchor?n.verticalAnchor||i.verticalAnchor:r?o>=0?"start":"end":"middle"}(t,d),v=u?function(t,n){var e=Ra(t),r=function(t){return t<45||t>315?"right":t>=45&&t<=135?"top":t>135&&t<225?"left":"bottom"}(n);return"parallel"===e||"left"===r||"right"===r?"middle":"top"===r?"end":"start"}(t,h):function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=n._y>=0?1:-1,r=t.style&&t.style.labels||{};return n.verticalAnchor||r.verticalAnchor?n.verticalAnchor||r.verticalAnchor:t.horizontal?"middle":e>=0?"end":"start"}(t,d),b=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.style&&t.style.labels||{};return void 0===n.angle?e.angle:n.angle}(t,d),w=La(t,d,n),M=Ra(t),E=function(t,n){var e=t.polar,r=x(t,n),o=r.x,i=r.y;if(!e)return{x:o,y:i};var a=function(t,n){var e=t.style,r=Ua(t,n),o=O((e.labels||{}).padding,t)||0,i=j(r);return{x:o*Math.cos(i),y:-o*Math.sin(i)}}(t,n);return{x:o+a.x,y:i+a.y}}(t,d),A=E.x,k=E.y,S=function(t,n){if(t.polar)return{};var e=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.horizontal,r=O((t.style.labels||{}).padding,t)||0,o=n._y<0?-1:1;return{x:e?o*r:0,y:e?0:-1*o*r}}(t,n);return{dx:e.x,dy:e.y}}(t,d),P={angle:b,data:o,datum:d,disableInlineStyles:p,horizontal:a,index:n,polar:u,scale:r,labelPlacement:M,text:w,textAnchor:y,verticalAnchor:v,x:A,y:k,dx:S.dx,dy:S.dy,width:c,height:l,style:i.labels};if("tooltip"!==((e=f)&&e.type&&e.type.role))return P;var C=s&&s.tooltip||{};return g()({},P,m(C,["style"]))}var za=function(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];if(e.length>0)return e.reduce((function(t,n){return[t,za(n)].join(" ")}),za(t)).trim();if(null==t||"string"==typeof t)return t;var o=[];for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];o.push("".concat(i,"(").concat(a,")"))}return o.join(" ").trim()},Wa=r(1594),Ha=r.n(Wa);function qa(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,o,i=[],a=!0,u=!1;try{for(e=e.call(t);!(a=(r=e.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==e.return||e.return()}finally{if(u)throw o}}return i}}(t,n)||$a(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $a(t,n){if(t){if("string"==typeof t)return Ba(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Ba(t,n):void 0}}function Ba(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var Ya={"American Typewriter":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.4203125,.3296875,.6,.6375,.8015625,.8203125,.1875,.45625,.45625,.6375,.5,.2734375,.309375,.2734375,.4390625,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.2734375,.2734375,.5,.5,.5,.6,.6921875,.7640625,.6921875,.6375,.728125,.6734375,.6203125,.7109375,.784375,.3828125,.6421875,.7859375,.6375,.9484375,.7640625,.65625,.6375,.65625,.7296875,.6203125,.6375,.7109375,.740625,.940625,.784375,.7578125,.6203125,.4375,.5,.4375,.5,.5,.4921875,.5734375,.5890625,.5109375,.6,.528125,.43125,.5578125,.6375,.3109375,.40625,.6234375,.309375,.928125,.6375,.546875,.6,.58125,.4921875,.4921875,.4,.6203125,.625,.825,.6375,.640625,.528125,.5,.5,.5,.6671875],avg:.5793421052631578},Arial:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.278125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.584375,.584375,.584375,.55625,1.015625,.6703125,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.278125,.278125,.4703125,.584375,.334375,.55625,.55625,.5,.55625,.55625,.3125,.55625,.55625,.2234375,.2703125,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.346875,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.334375,.2609375,.334375,.584375],avg:.528733552631579},"Arial Black":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.33125,.334375,.5,.6609375,.6671875,1,.890625,.278125,.390625,.390625,.55625,.6609375,.334375,.334375,.334375,.28125,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.334375,.334375,.6609375,.6609375,.6609375,.6109375,.7453125,.78125,.778125,.778125,.778125,.7234375,.6671875,.834375,.834375,.390625,.6671875,.834375,.6671875,.9453125,.834375,.834375,.7234375,.834375,.78125,.7234375,.7234375,.834375,.7796875,1.003125,.78125,.78125,.7234375,.390625,.28125,.390625,.6609375,.5125,.334375,.6671875,.6671875,.6671875,.6671875,.6671875,.41875,.6671875,.6671875,.334375,.384375,.6671875,.334375,1,.6671875,.6671875,.6671875,.6671875,.4703125,.6109375,.4453125,.6671875,.6140625,.946875,.6671875,.615625,.55625,.390625,.278125,.390625,.6609375],avg:.6213157894736842},Baskerville:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.25,.40625,.6671875,.490625,.875,.7015625,.178125,.2453125,.246875,.4171875,.6671875,.25,.3125,.25,.521875,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.6671875,.6671875,.6671875,.396875,.9171875,.684375,.615625,.71875,.7609375,.625,.553125,.771875,.803125,.3546875,.515625,.78125,.6046875,.928125,.75,.8234375,.5625,.96875,.7296875,.5421875,.6984375,.771875,.7296875,.9484375,.771875,.678125,.6359375,.3640625,.521875,.3640625,.46875,.5125,.334375,.46875,.521875,.428125,.521875,.4375,.3890625,.4765625,.53125,.25,.359375,.4640625,.240625,.803125,.53125,.5,.521875,.521875,.365625,.334375,.2921875,.521875,.4640625,.678125,.4796875,.465625,.428125,.4796875,.5109375,.4796875,.6671875],avg:.5323519736842108},Courier:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},"Courier New":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6015296052631579},cursive:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1921875,.24375,.40625,.5671875,.3984375,.721875,.909375,.2328125,.434375,.365625,.4734375,.5578125,.19375,.3484375,.19375,.7734375,.503125,.4171875,.5453125,.45,.6046875,.4703125,.5984375,.55625,.503125,.5546875,.20625,.2,.5625,.5546875,.546875,.403125,.70625,.734375,.7078125,.64375,.85,.753125,.75,.6484375,1.0765625,.44375,.5359375,.8359375,.653125,1.0109375,1.1515625,.6796875,.6984375,1.0625,.8234375,.5125,.9234375,.8546875,.70625,.9109375,.7421875,.715625,.6015625,.4640625,.3359375,.4109375,.5421875,.5421875,.4328125,.5125,.5,.3859375,.7375,.359375,.75625,.540625,.5328125,.3203125,.5296875,.5015625,.484375,.7890625,.5640625,.4203125,.703125,.471875,.4734375,.35,.4125,.5640625,.471875,.6484375,.5296875,.575,.4140625,.415625,.20625,.3796875,.5421875],avg:.5604440789473684},fantasy:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.2625,.3265625,.6109375,.534375,.7625,.7828125,.2,.4359375,.4359375,.3765625,.5109375,.2796875,.4609375,.2796875,.5296875,.6640625,.253125,.521875,.4765625,.6640625,.490625,.528125,.5546875,.496875,.5421875,.2796875,.2796875,.5625,.4609375,.5625,.4828125,.609375,.740625,.7234375,.740625,.8265625,.7234375,.6171875,.7359375,.765625,.240625,.5453125,.715625,.6078125,.8640625,.653125,.9125,.6484375,.946875,.6921875,.653125,.6953125,.8015625,.58125,.784375,.671875,.6265625,.690625,.4359375,.5296875,.4359375,.53125,.5,.2875,.5375,.603125,.4984375,.60625,.53125,.434375,.6421875,.56875,.209375,.4671875,.5484375,.2203125,.709375,.55,.5984375,.6140625,.5765625,.40625,.4734375,.3734375,.559375,.4421875,.6421875,.4890625,.578125,.4484375,.2546875,.2203125,.2546875,.55],avg:.536496710526316},Geneva:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3328125,.3046875,.5,.6671875,.6671875,.90625,.728125,.3046875,.446875,.446875,.5078125,.6671875,.3046875,.3796875,.3046875,.5390625,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.3046875,.3046875,.6671875,.6671875,.6671875,.56875,.871875,.728125,.6375,.6515625,.7015625,.5765625,.5546875,.675,.690625,.2421875,.4921875,.6640625,.584375,.7890625,.709375,.7359375,.584375,.78125,.60625,.60625,.640625,.6671875,.728125,.946875,.6109375,.6109375,.5765625,.446875,.5390625,.446875,.6671875,.6671875,.5921875,.5546875,.6109375,.546875,.603125,.5765625,.390625,.6109375,.584375,.2359375,.334375,.5390625,.2359375,.8953125,.584375,.60625,.603125,.603125,.3875,.509375,.44375,.584375,.565625,.78125,.53125,.571875,.5546875,.4515625,.246875,.4515625,.6671875],avg:.5762664473684211},Georgia:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2421875,.33125,.4125,.64375,.6109375,.81875,.7109375,.215625,.375,.375,.4734375,.64375,.2703125,.375,.2703125,.46875,.6140625,.4296875,.559375,.553125,.565625,.5296875,.5671875,.503125,.596875,.5671875,.3125,.3125,.64375,.64375,.64375,.4796875,.9296875,.715625,.6546875,.6421875,.75,.6546875,.6,.7265625,.815625,.390625,.51875,.7203125,.6046875,.928125,.7671875,.7453125,.6109375,.7453125,.7234375,.5625,.61875,.7578125,.70625,.99375,.7125,.6640625,.6015625,.375,.46875,.375,.64375,.65,.5,.5046875,.56875,.4546875,.575,.484375,.39375,.509375,.5828125,.29375,.3671875,.546875,.2875,.88125,.5921875,.5390625,.571875,.5640625,.4109375,.4328125,.3453125,.5765625,.5203125,.75625,.50625,.5171875,.4453125,.43125,.375,.43125,.64375],avg:.5551809210526316},"Gill Sans":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2765625,.271875,.3546875,.584375,.5421875,.6765625,.625,.1890625,.3234375,.3234375,.4171875,.584375,.2203125,.3234375,.2203125,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.2203125,.2296875,.584375,.584375,.584375,.334375,1.0109375,.6671875,.5640625,.709375,.75,.5,.4703125,.740625,.7296875,.25,.3125,.65625,.490625,.78125,.78125,.8234375,.5109375,.8234375,.6046875,.459375,.6046875,.709375,.6046875,1.0421875,.709375,.6046875,.646875,.334375,.28125,.334375,.4703125,.5828125,.334375,.428125,.5,.4390625,.5109375,.4796875,.296875,.428125,.5,.2203125,.2265625,.5,.2203125,.771875,.5,.553125,.5,.5,.3984375,.3859375,.334375,.5,.4390625,.7203125,.5,.4390625,.4171875,.334375,.2609375,.334375,.584375],avg:.4933717105263159},Helvetica:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2796875,.2765625,.3546875,.5546875,.5546875,.8890625,.665625,.190625,.3328125,.3328125,.3890625,.5828125,.2765625,.3328125,.2765625,.3015625,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.2765625,.2765625,.584375,.5828125,.584375,.5546875,1.0140625,.665625,.665625,.721875,.721875,.665625,.609375,.7765625,.721875,.2765625,.5,.665625,.5546875,.8328125,.721875,.7765625,.665625,.7765625,.721875,.665625,.609375,.721875,.665625,.94375,.665625,.665625,.609375,.2765625,.3546875,.2765625,.4765625,.5546875,.3328125,.5546875,.5546875,.5,.5546875,.5546875,.2765625,.5546875,.5546875,.221875,.240625,.5,.221875,.8328125,.5546875,.5546875,.5546875,.5546875,.3328125,.5,.2765625,.5546875,.5,.721875,.5,.5,.5,.3546875,.259375,.353125,.5890625],avg:.5279276315789471},"Helvetica Neue":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.259375,.4265625,.55625,.55625,1,.6453125,.278125,.2703125,.26875,.353125,.6,.278125,.3890625,.278125,.36875,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.6,.6,.6,.55625,.8,.6625,.6859375,.7234375,.7046875,.6125,.575,.759375,.7234375,.259375,.5203125,.6703125,.55625,.871875,.7234375,.7609375,.6484375,.7609375,.6859375,.6484375,.575,.7234375,.6140625,.9265625,.6125,.6484375,.6125,.259375,.36875,.259375,.6,.5,.25625,.5375,.59375,.5375,.59375,.5375,.2984375,.575,.55625,.2234375,.2375,.5203125,.2234375,.853125,.55625,.575,.59375,.59375,.334375,.5,.315625,.55625,.5,.759375,.51875,.5,.48125,.334375,.2234375,.334375,.6],avg:.5279440789473684},"Hoefler Text":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2359375,.2234375,.3921875,.7125,.49375,.8859375,.771875,.2125,.3078125,.309375,.375,.4234375,.234375,.3125,.234375,.3,.5828125,.365625,.434375,.3921875,.5234375,.3984375,.5125,.4328125,.46875,.5125,.234375,.234375,.515625,.4234375,.515625,.340625,.7609375,.7359375,.6359375,.721875,.8125,.6375,.5875,.8078125,.853125,.4296875,.503125,.78125,.609375,.9609375,.8515625,.8140625,.6125,.8140625,.71875,.49375,.7125,.76875,.771875,1.125,.7765625,.7734375,.65625,.321875,.3078125,.321875,.3546875,.5,.3375,.446875,.5359375,.45,.5296875,.4546875,.425,.4921875,.54375,.2671875,.240625,.5390625,.25,.815625,.5375,.5234375,.5390625,.5421875,.365625,.36875,.35625,.5171875,.5015625,.75,.5,.509375,.44375,.2421875,.14375,.2421875,.35],avg:.5116447368421051},Montserrat:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2625,.2609375,.3734375,.696875,.615625,.8296875,.6703125,.203125,.3296875,.3296875,.3875,.575,.2125,.3828125,.2125,.3953125,.6625,.3625,.56875,.5640625,.6625,.5671875,.609375,.5890625,.6390625,.609375,.2125,.2125,.575,.575,.575,.5671875,1.034375,.7171875,.7546875,.7203125,.8265625,.6703125,.634375,.7734375,.8140625,.303125,.5078125,.7125,.5890625,.95625,.8140625,.8390625,.71875,.8390625,.7234375,.615625,.575,.7921875,.6984375,1.1125,.65625,.6359375,.6515625,.31875,.396875,.31875,.5765625,.5,.6,.590625,.678125,.5640625,.678125,.6046875,.375,.6875,.678125,.2703125,.365625,.6015625,.2703125,1.0625,.678125,.628125,.678125,.678125,.4015625,.4890625,.40625,.6734375,.5421875,.8796875,.534375,.5671875,.5125,.334375,.2953125,.334375,.575],avg:.571792763157895},monospace:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},Overpass:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2296875,.2765625,.4203125,.68125,.584375,.8515625,.7015625,.2203125,.3453125,.3453125,.53125,.63125,.2234375,.3953125,.2234375,.509375,.65,.4046875,.6171875,.60625,.6484375,.60625,.6015625,.5375,.615625,.6015625,.2234375,.2234375,.63125,.63125,.63125,.5015625,.8203125,.696875,.6671875,.65,.6859375,.6015625,.559375,.690625,.7078125,.2953125,.565625,.678125,.58125,.8046875,.7109375,.740625,.6421875,.740625,.6765625,.6046875,.590625,.696875,.6640625,.853125,.65,.6671875,.6625,.3734375,.509375,.3734375,.63125,.5125,.4,.5328125,.5625,.51875,.5625,.546875,.3359375,.5625,.565625,.25625,.3203125,.55,.265625,.85,.565625,.5671875,.5625,.5625,.4046875,.4765625,.3796875,.565625,.521875,.7265625,.53125,.5390625,.5125,.3671875,.275,.3671875,.63125],avg:.5430756578947369},Palatino:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.278125,.371875,.60625,.5,.840625,.778125,.209375,.334375,.334375,.390625,.60625,.2578125,.334375,.25,.60625,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.60625,.60625,.60625,.4453125,.7484375,.778125,.6109375,.709375,.775,.6109375,.55625,.7640625,.8328125,.3375,.346875,.7265625,.6109375,.946875,.83125,.7875,.6046875,.7875,.66875,.525,.6140625,.778125,.7234375,1,.6671875,.6671875,.6671875,.334375,.60625,.334375,.60625,.5,.334375,.5,.565625,.4453125,.6109375,.4796875,.340625,.55625,.5828125,.2921875,.2671875,.5640625,.2921875,.8828125,.5828125,.546875,.6015625,.5609375,.3953125,.425,.3265625,.603125,.565625,.834375,.5171875,.55625,.5,.334375,.60625,.334375,.60625],avg:.5408552631578947},RedHatText:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2328125,.2203125,.35625,.6890625,.55,.7390625,.6703125,.2140625,.4015625,.4015625,.4546875,.53125,.2203125,.45625,.2203125,.515625,.6609375,.3078125,.5484375,.5875,.61875,.5703125,.6203125,.559375,.6140625,.6203125,.2203125,.2234375,.465625,.534375,.465625,.5125,.7671875,.6609375,.6703125,.7265625,.728125,.6203125,.6109375,.8,.73125,.253125,.6,.6125,.6078125,.8625,.7390625,.8109375,.6546875,.809375,.6484375,.6234375,.6171875,.7125,.6609375,.8984375,.6546875,.646875,.60625,.3625,.5203125,.3625,.540625,.4609375,.5234375,.5265625,.584375,.509375,.5828125,.5578125,.3703125,.5828125,.553125,.2234375,.24375,.4890625,.2234375,.8453125,.553125,.58125,.584375,.5828125,.353125,.453125,.378125,.553125,.5015625,.6984375,.4875,.4984375,.459375,.3953125,.2921875,.3953125,.58125],avg:.5341940789473685},"sans-serif":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.303125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.5859375,.584375,.5859375,.55625,1.015625,.6671875,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.35625,.278125,.478125,.55625,.334375,.55625,.55625,.5,.55625,.55625,.278125,.55625,.55625,.2234375,.2421875,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.334375,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.35625,.2609375,.3546875,.590625],avg:.5293256578947368},Seravek:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.296875,.4171875,.6734375,.4953125,.9125,.740625,.2421875,.3375,.3375,.409375,.60625,.2609375,.35625,.25625,.41875,.5921875,.3515625,.475,.4875,.5375,.509375,.5484375,.4546875,.5421875,.5484375,.25625,.2546875,.5875,.6171875,.5875,.4578125,.8140625,.6765625,.5703125,.6109375,.684375,.5109375,.4953125,.678125,.6859375,.2625,.2625,.5859375,.4734375,.846875,.709375,.740625,.509375,.740625,.584375,.5015625,.528125,.675,.5953125,.9453125,.596875,.540625,.540625,.359375,.4203125,.359375,.5109375,.421875,.4046875,.5015625,.5421875,.446875,.5453125,.484375,.38125,.5140625,.5546875,.240625,.2640625,.490625,.2765625,.8625,.5546875,.546875,.5453125,.5453125,.3625,.41875,.3890625,.5453125,.4703125,.7546875,.4921875,.4609375,.453125,.4015625,.2640625,.4015625,.58125],avg:.5044078947368421},serif:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.278125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.7234375,.6109375,.890625,.7234375,.7234375,.55625,.7234375,.6671875,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.340625,.334375,.4703125,.5,.3453125,.4453125,.5,.4453125,.5,.4453125,.3828125,.5,.5,.278125,.3359375,.5,.278125,.778125,.5,.5,.5,.5,.3375,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5126315789473684},Tahoma:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3109375,.3328125,.4015625,.728125,.546875,.9765625,.70625,.2109375,.3828125,.3828125,.546875,.728125,.303125,.3640625,.303125,.3953125,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.3546875,.3546875,.728125,.728125,.728125,.475,.909375,.6109375,.590625,.6015625,.6796875,.5625,.521875,.66875,.6765625,.3734375,.4171875,.6046875,.4984375,.771875,.66875,.7078125,.5515625,.7078125,.6375,.5578125,.5875,.65625,.60625,.903125,.58125,.5890625,.559375,.3828125,.39375,.3828125,.728125,.5625,.546875,.525,.553125,.4625,.553125,.5265625,.3546875,.553125,.5578125,.2296875,.328125,.51875,.2296875,.840625,.5578125,.54375,.553125,.553125,.3609375,.446875,.3359375,.5578125,.4984375,.7421875,.4953125,.4984375,.4453125,.48125,.3828125,.48125,.728125],avg:.5384374999999998},"Times New Roman":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.73125,.6109375,.890625,.7375,.7234375,.55625,.7234375,.6765625,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.28125,.334375,.4703125,.51875,.334375,.4453125,.503125,.4453125,.503125,.4453125,.4359375,.5,.5,.278125,.35625,.50625,.278125,.778125,.5,.5,.5046875,.5,.340625,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5134375},"Trebuchet MS":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3015625,.3671875,.325,.53125,.525,.6015625,.70625,.1609375,.3671875,.3671875,.3671875,.525,.3671875,.3671875,.3671875,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.3671875,.3671875,.525,.525,.525,.3671875,.771875,.590625,.5671875,.5984375,.6140625,.5359375,.525,.6765625,.6546875,.2796875,.4765625,.5765625,.5078125,.7109375,.6390625,.675,.5578125,.7421875,.5828125,.48125,.58125,.6484375,.5875,.853125,.5578125,.5703125,.5515625,.3671875,.3578125,.3671875,.525,.53125,.525,.5265625,.5578125,.4953125,.5578125,.546875,.375,.503125,.546875,.2859375,.3671875,.5046875,.2953125,.83125,.546875,.5375,.5578125,.5578125,.3890625,.40625,.396875,.546875,.490625,.7453125,.5015625,.49375,.475,.3671875,.525,.3671875,.525],avg:.5085197368421052},Verdana:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.35,.39375,.459375,.81875,.6359375,1.0765625,.759375,.26875,.4546875,.4546875,.6359375,.81875,.3640625,.4546875,.3640625,.4703125,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.4546875,.4546875,.81875,.81875,.81875,.546875,1,.684375,.6859375,.6984375,.771875,.6328125,.575,.7765625,.7515625,.421875,.4546875,.69375,.5578125,.84375,.7484375,.7875,.603125,.7875,.7,.684375,.6171875,.7328125,.684375,.9890625,.6859375,.615625,.6859375,.4546875,.46875,.4546875,.81875,.6421875,.6359375,.6015625,.6234375,.521875,.6234375,.596875,.384375,.6234375,.6328125,.275,.3765625,.5921875,.275,.9734375,.6328125,.6078125,.6234375,.6234375,.43125,.521875,.3953125,.6328125,.5921875,.81875,.5921875,.5921875,.5265625,.6359375,.4546875,.6359375,.81875],avg:.6171875000000003}},Va={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},Ka={em:1,ex:.5},Ga={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},Qa=function(t){return Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g)},Za=function(t,n,e){var r=function(t){return t*Math.PI/180}(e);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*n)},Xa=function(t,n){var e,r=null===(e=t.match(/[a-zA-Z%]+/))||void 0===e?void 0:e[0],o=Number(t.match(/[0-9.,]+/));return r?Va.hasOwnProperty(r)?o*Va[r]:Ka.hasOwnProperty(r)?(n?o*n:o*Ga.fontSize)*Ka[r]:o:o||0},Ja=function(t,n){var e=Array.isArray(t)?t[n]:t,r=g()({},e,Ga);return l()({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:Xa(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:Xa(String(r.fontSize))})},tu=function(t,n){if(void 0===t||""===t||null===t)return 0;var e,r=Qa(t).map((function(t,e){var r,o,i=t.toString().length,a=Ja(n,e),u=a.fontSize,c=a.letterSpacing,l=(r=a.fontFamily,o=r.split(",").map((function(t){return t.replace(/'|"/g,"")})).find((function(t){return Ya[t]}))||"Helvetica",Ya[o]);return t.toString().split("").map((function(t){return t.charCodeAt(0)<l.widths.length?l.widths[t.charCodeAt(0)]:l.avg})).reduce((function(t,n){return n+t}),0)*u+c*Math.max(i-1,0)}));return Math.max.apply(Math,function(t){if(Array.isArray(t))return Ba(t)}(e=r)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||$a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())},nu=function(t,n){var e=Array.isArray(n)?n[0]&&n[0].angle:n&&n.angle,r=function(t,n){return void 0===t||""===t||null===t?0:Qa(t).reduce((function(t,e,r){var o=Ja(n,r),i=e.toString().match(/[(A-Z)(0-9)]/)?1.15*o.fontSize:o.fontSize;return t+o.lineHeight*i}),0)}(t,n),o=tu(t,n);return{width:e?Za(o,r,e):o,height:1.05*(e?Za(r,o,e):r)}},eu=Ha()((function(){var 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");var n=document.createElementNS("http://www.w3.org/2000/svg","text");return t.appendChild(n),t.style.position="fixed",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t),n})),ru=function(t){return t?"".concat(t.angle,":").concat(t.fontFamily,":").concat(t.fontSize,":").concat(t.letterSpacing,":").concat(t.lineHeight):"null"},ou=Ha()((function(t,n){var e,r,o=eu();o.isConnected||(null===(e=(r=eu.cache).clear)||void 0===e||e.call(r),o=eu());var i=Qa(t),a=0;for(var u of i.entries()){var c=qa(u,2),l=c[0],s=c[1],f=document.createElementNS("http://www.w3.org/2000/svg","tspan"),p=Ja(n,l);f.style.fontFamily=p.fontFamily,f.style.fontSize="".concat(p.fontSize,"px"),f.style.lineHeight=p.lineHeight,f.style.fontFamily=p.fontFamily,f.style.letterSpacing=p.letterSpacing,f.textContent=s,f.setAttribute("x","0"),f.setAttribute("y","".concat(a)),o.appendChild(f),a+=p.lineHeight*f.getBoundingClientRect().height}var d=o.getBoundingClientRect().width;return o.innerHTML="",{width:null!=n&&n.angle?Za(d,a,null==n?void 0:n.angle):d,height:null!=n&&n.angle?Za(a,d,null==n?void 0:n.angle):a}}),(function(t,n){var e=Array.isArray(t)?t.join():t,r=Array.isArray(n)?n.map(ru).join():ru(n);return"".concat(e,"::").concat(r)})),iu=function(t,n){return function(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||e?nu(t,n):ou(t,n)}(t,n)};function au(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function uu(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?au(Object(e),!0).forEach((function(n){cu(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):au(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function cu(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function lu(t){return function(t){if(Array.isArray(t))return su(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return su(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?su(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function su(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var fu={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},pu=function(t,n){return t.datum?x(t,t.datum)[n]:0},du=function(t){var n=t&&t.fontSize;if("number"==typeof n)return n;if(null==n)return fu.fontSize;if("string"==typeof n){var e=Number(n.replace("px",""));return isNaN(e)?fu.fontSize:e}return fu.fontSize},hu=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(t)?t[n]||t[0]:t},yu=function(t){var n=t.backgroundStyle,e=t.backgroundPadding;return Array.isArray(n)&&!va()(n)||Array.isArray(e)&&!va()(e)},vu=function(t,n){var e=t.direction,r=t.textAnchor,o=t.x,i=t.dx;if("rtl"===e)return o-n;switch(r){case"middle":return Math.round(o-n/2);case"end":return Math.round(o-n);default:return o+(i||0)}},gu=function(t,n){var e=t.verticalAnchor,r=t.y,o=t.originalDy,i=r+(void 0===o?0:o);switch(e){case"start":return Math.floor(i);case"end":return Math.ceil(i-n);default:return Math.floor(i-n/2)}},mu=function(t,n){return yu(t)?function(t,n){var e=t.dy,r=t.dx,o=t.transform,a=t.backgroundStyle,u=t.backgroundPadding,c=t.backgroundComponent,l=t.inline,s=t.y,f=n.map((function(t,o){var i=hu(n,o-1),a=t.textSize,c=t.fontSize*t.lineHeight,f=Math.ceil(c),p=hu(u,o),d=hu(u,o-1),h=l&&r||0,y=o&&!l?i.fontSize*i.lineHeight+d.top+d.bottom:e-.5*c-(t.fontSize-t.capHeight);return{textHeight:f,labelSize:a,heightWithPadding:f+p.top+p.bottom,widthWithPadding:a.width+p.left+p.right+h,y:s,fontSize:t.fontSize,dy:y}}));return f.map((function(n,e){var r=vu(t,n.labelSize.width),p=f.slice(0,e+1).reduce((function(t,n){return t+n.dy}),s),d=hu(u,e),h=n.heightWithPadding,y=l?function(t,n,e){var r=t.textAnchor,o=n.map((function(t){return t.widthWithPadding})),i=-o.reduce((function(t,n){return t+n}),0)/2;switch(r){case"start":return o.reduce((function(t,n,r){return r<e?t+n:t}),0);case"end":return o.reduce((function(t,n,r){return r>e?t-n:t}),0);default:return o.reduce((function(t,n,r){return r===e?t+n/2:t+(r<e?n:0)}),i)}}(t,f,e)+r-d.left:r,v=l?gu(t,h)-d.top:p,m={key:"tspan-background-".concat(e),height:h,style:hu(a,e),width:n.widthWithPadding,transform:o,x:y-d.left,y:v};return i().cloneElement(c,g()({},c.props,m))}))}(t,n):function(t,n){var e=t.dx,r=void 0===e?0:e,o=t.transform,a=t.backgroundComponent,u=t.backgroundStyle,c=t.inline,l=t.backgroundPadding,s=t.capHeight,f=n.map((function(t){return t.textSize})),p=c?Math.max.apply(Math,lu(f.map((function(t){return t.height})))):f.reduce((function(t,e,r){var o=r?0:s/2;return t+e.height*(n[r].lineHeight-o)}),0),d=c?f.reduce((function(t,n,e){var o=e?r:0;return t+n.width+o}),0):Math.max.apply(Math,lu(f.map((function(t){return t.width})))),h=vu(t,d),y=gu(t,p),v={key:"background",height:p+l.top+l.bottom,style:u,transform:o,width:d+l.left+l.right,x:c?h-l.left:h+r-l.left,y};return i().cloneElement(a,g()({},a.props,v))}(t,n)},bu=function(t,n,e){var r=n.inline,o=hu(t,e);return e&&!r?function(t,n,e){var r=hu(t,n),o=hu(t,n-1),i=o.fontSize*o.lineHeight,a=r.fontSize*r.lineHeight,u=o.fontSize-o.capHeight,c=r.fontSize-r.capHeight,l=i-o.fontSize/2+r.fontSize/2-i/2+a/2-c/2+u/2;return yu(e)?l+r.backgroundPadding.top+o.backgroundPadding.bottom:l}(t,e,n):r?0===e?o.backgroundPadding.top:void 0:o.backgroundPadding.top},xu=function(t){var n=O(t.ariaLabel,t),e=hu(t.style),r=function(t){var n=O(t.lineHeight,t);return Array.isArray(n)&&va()(n)?[1]:n}(t),o=t.direction?O(t.direction,t):"inherit",i=t.textAnchor?O(t.textAnchor,t):e.textAnchor||"start",a=t.verticalAnchor?O(t.verticalAnchor,t):e.verticalAnchor||"middle",u=t.dx?O(t.dx,t):0,c=function(t,n,e){var r=t.dy?O(t.dy,t):0,o=t.inline?1:t.text.length,i=O(t.capHeight,t),a=n?O(n,t):"middle",u=lu(Array(o).keys()).map((function(n){return hu(t.style,n).fontSize})),c=lu(Array(o).keys()).map((function(t){return hu(e,t)}));if("start"===a)return r+(i/2+c[0]/2)*u[0];if(t.inline)return"end"===a?r+(i/2-c[0]/2)*u[0]:r+i/2*u[0];if(1===o)return"end"===a?r+(i/2+(.5-o)*c[0])*u[0]:r+(i/2+(.5-o/2)*c[0])*u[0];var l=lu(Array(o).keys()).reduce((function(t,n){return t+(i/2+(.5-o)*c[n])*u[n]/o}),0);return"end"===a?r+l:r+l/2+i/2*c[o-1]*u[o-1]}(t,a,r),s=void 0!==t.x?t.x:pu(t,"x"),f=void 0!==t.y?t.y:pu(t,"y"),p=function(t,n,e){var r=t.polar,o=hu(t.style),i=r?function(t,n){var e=t.labelPlacement,r=t.datum;if(!e||"vertical"===e)return 0;var o=Ua(t,r),i=0;return 0===o||180===o?i=90:o>0&&o<180?i=90-o:o>180&&o<360&&(i=270-o),i+(o>90&&o<180||o>270?1:-1)*("perpendicular"===e?0:90)}(t):0,a=void 0===o.angle?O(t.angle,t):o.angle,u=void 0===a?i:a,c=t.transform||o.transform,l=c&&O(c,t);return l||u?za(l,u&&{rotate:[u,n,e]}):void 0}(t,s,f);return l()({},t,{ariaLabel:n,lineHeight:r,direction:o,textAnchor:i,verticalAnchor:a,dx:u,dy:c,originalDy:O(t.dy,t),transform:p,x:s,y:f})},wu={backgroundComponent:i().createElement(ka,null),groupComponent:i().createElement("g",null),direction:"inherit",textComponent:i().createElement(Ta,null),tspanComponent:i().createElement(Na,null),capHeight:.71,lineHeight:1},Ou=function(t){var n=function(t){var n=function(t,n){if(null!=t){if(Array.isArray(t))return t.map((function(t){return O(t,n)}));var e=O(t,n);if(null!=e)return Array.isArray(e)?e:"".concat(e).split("\n")}}(t.text,t),e=function(t,n){if(n.disableInlineStyles){var e=M(t,n);return{fontSize:du(e)}}var r=function(t){var e=M(t?g()({},t,fu):fu,n);return l()({},e,{fontSize:du(e)})};return Array.isArray(t)&&!va()(t)?t.map((function(t){return r(t)})):r(t)}(t.style,l()({},t,{text:n})),r=function(t,n){if(t)return Array.isArray(t)&&!va()(t)?t.map((function(t){return M(t,n)})):M(t,n)}(t.backgroundStyle,l()({},t,{text:n,style:e})),o=function(t){return t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((function(n){return w({padding:O(n,t)})})):w({padding:O(t.backgroundPadding,t)})}(l()({},t,{text:n,style:e,backgroundStyle:r})),i=O(t.id,t);return l()({},t,{backgroundStyle:r,backgroundPadding:o,style:e,text:n,id:i})}(uu(uu({},wu),t));if(null===n.text||void 0===n.text)return null;var e=xu(n),r=e.text,o=e.style,a=e.capHeight,u=e.backgroundPadding,c=e.lineHeight,s=r.map((function(t,n){var e=hu(o,n),r=Xa("".concat(a,"em"),e.fontSize),i=hu(c,n);return{style:e,fontSize:e.fontSize||fu.fontSize,capHeight:r,text:t,textSize:iu(t,e),lineHeight:i,backgroundPadding:hu(u,n)}})),f=function(t,n){var e=t.ariaLabel,r=t.inline,o=t.className,a=t.title,u=t.events,c=t.direction,l=t.text,s=t.textAnchor,f=t.dx,p=t.dy,d=t.transform,h=t.x,y=t.y,v=t.desc,g=t.id,m=t.tabIndex,b=t.tspanComponent,x=t.textComponent,w=I(t),M=uu(uu({"aria-label":e,key:"text"},u),{},{direction:c,dx:f,x:h,y:y+p,transform:d,className:o,title:a,desc:O(v,t),tabIndex:O(m,t),id:g},w),j=l.map((function(e,o){var a=n[o].style,u={key:"".concat(g,"-key-").concat(o),x:r?void 0:h,dx:r?f+n[o].backgroundPadding.left:f,dy:bu(n,t,o),textAnchor:a.textAnchor||s,style:a,children:e};return i().cloneElement(b,u)}));return i().cloneElement(x,M,j)}(e,s);if(n.backgroundStyle){var p=[mu(e,s),f],d=i().cloneElement(n.groupComponent,{},p);return n.renderInPortal?i().createElement(Oa,null,d):d}return n.renderInPortal?i().createElement(Oa,null,f):f};Ou.displayName="VictoryLabel",Ou.role="label",Ou.defaultStyles=fu,Ou.propTypes={active:z().bool,angle:z().oneOfType([z().string,z().number,z().func]),ariaLabel:z().oneOfType([z().string,z().func]),backgroundComponent:z().element,backgroundPadding:z().oneOfType([z().number,z().object,z().array]),backgroundStyle:z().oneOfType([z().object,z().array]),capHeight:z().oneOfType([z().string,Ci,z().func]),className:z().string,data:z().array,datum:z().any,desc:z().oneOfType([z().string,z().func]),direction:z().oneOf(["rtl","ltr","inherit"]),dx:z().oneOfType([z().number,z().string,z().func]),dy:z().oneOfType([z().number,z().string,z().func]),events:z().object,groupComponent:z().element,id:z().oneOfType([z().number,z().string,z().func]),index:z().oneOfType([z().number,z().string]),inline:z().bool,labelPlacement:z().oneOf(["parallel","perpendicular","vertical"]),lineHeight:z().oneOfType([z().string,Ci,z().func,z().array]),origin:z().shape({x:Ci.isRequired,y:Ci.isRequired}),polar:z().bool,renderInPortal:z().bool,scale:z().shape({x:_i,y:_i}),style:z().oneOfType([z().object,z().array]),tabIndex:z().oneOfType([z().number,z().func]),text:z().oneOfType([z().string,z().number,z().func,z().array]),textAnchor:z().oneOfType([z().oneOf(["start","middle","end","inherit"]),z().func]),textComponent:z().element,title:z().string,transform:z().oneOfType([z().string,z().object,z().func]),tspanComponent:z().element,verticalAnchor:z().oneOfType([z().oneOf(["start","middle","end"]),z().func]),x:z().oneOfType([z().number,z().string]),y:z().oneOfType([z().number,z().string])};var Mu=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],ju="#252525",Eu="#969696",Au={width:450,height:300,padding:50,colorScale:Mu},ku={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:ju,stroke:"transparent"},Su=l()({textAnchor:"middle"},ku),Pu={area:l()({style:{data:{fill:ju},labels:ku}},Au),axis:l()({style:{axis:{fill:"transparent",stroke:ju,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:l()({},Su,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:ku}},Au),bar:l()({style:{data:{fill:ju,padding:8,strokeWidth:0},labels:ku}},Au),boxplot:l()({style:{max:{padding:8,stroke:ju,strokeWidth:1},maxLabels:l()({},ku,{padding:3}),median:{padding:8,stroke:ju,strokeWidth:1},medianLabels:l()({},ku,{padding:3}),min:{padding:8,stroke:ju,strokeWidth:1},minLabels:l()({},ku,{padding:3}),q1:{padding:8,fill:Eu},q1Labels:l()({},ku,{padding:3}),q3:{padding:8,fill:Eu},q3Labels:l()({},ku,{padding:3})},boxWidth:20},Au),candlestick:l()({style:{data:{stroke:ju,strokeWidth:1},labels:l()({},ku,{padding:5})},candleColors:{positive:"#ffffff",negative:ju}},Au),chart:Au,errorbar:l()({borderWidth:8,style:{data:{fill:"transparent",stroke:ju,strokeWidth:2},labels:ku}},Au),group:l()({colorScale:Mu},Au),histogram:l()({style:{data:{fill:Eu,stroke:ju,strokeWidth:2},labels:ku}},Au),legend:{colorScale:Mu,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:ku,title:l()({},ku,{padding:5})}},line:l()({style:{data:{fill:"transparent",stroke:ju,strokeWidth:2},labels:ku}},Au),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:l()({},ku,{padding:20})},colorScale:Mu,width:400,height:400,padding:50},scatter:l()({style:{data:{fill:ju,stroke:"transparent",strokeWidth:0},labels:ku}},Au),stack:l()({colorScale:Mu},Au),tooltip:{style:l()({},ku,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:ju,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:l()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:l()({},ku,{padding:5,pointerEvents:"none"}),flyout:{stroke:ju,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Au)},Cu=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],Tu="#ECEFF1",_u="#90A4AE",Du="#455A64",Iu="#212121",Nu={width:350,height:350,padding:50},Ru={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:Du,stroke:"transparent",strokeWidth:0},Lu=l()({textAnchor:"middle"},Ru),Uu="round",Fu="round",zu={grayscale:Pu,material:{area:l()({style:{data:{fill:Iu},labels:Ru}},Nu),axis:l()({style:{axis:{fill:"transparent",stroke:_u,strokeWidth:2,strokeLinecap:Uu,strokeLinejoin:Fu},axisLabel:l()({},Lu,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:Tu,strokeDasharray:"10, 5",strokeLinecap:Uu,strokeLinejoin:Fu,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:_u,strokeWidth:1,strokeLinecap:Uu,strokeLinejoin:Fu},tickLabels:l()({},Ru,{fill:Du})}},Nu),polarDependentAxis:l()({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:l()({style:{data:{fill:Du,padding:8,strokeWidth:0},labels:Ru}},Nu),boxplot:l()({style:{max:{padding:8,stroke:Du,strokeWidth:1},maxLabels:l()({},Ru,{padding:3}),median:{padding:8,stroke:Du,strokeWidth:1},medianLabels:l()({},Ru,{padding:3}),min:{padding:8,stroke:Du,strokeWidth:1},minLabels:l()({},Ru,{padding:3}),q1:{padding:8,fill:Du},q1Labels:l()({},Ru,{padding:3}),q3:{padding:8,fill:Du},q3Labels:l()({},Ru,{padding:3})},boxWidth:20},Nu),candlestick:l()({style:{data:{stroke:Du},labels:l()({},Ru,{padding:5})},candleColors:{positive:"#ffffff",negative:Du}},Nu),chart:Nu,errorbar:l()({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:Du,strokeWidth:2},labels:Ru}},Nu),group:l()({colorScale:Cu},Nu),histogram:l()({style:{data:{fill:Du,stroke:Iu,strokeWidth:2},labels:Ru}},Nu),legend:{colorScale:Cu,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Ru,title:l()({},Ru,{padding:5})}},line:l()({style:{data:{fill:"transparent",opacity:1,stroke:Du,strokeWidth:2},labels:Ru}},Nu),pie:l()({colorScale:Cu,style:{data:{padding:8,stroke:Tu,strokeWidth:1},labels:l()({},Ru,{padding:20})}},Nu),scatter:l()({style:{data:{fill:Du,opacity:1,stroke:"transparent",strokeWidth:0},labels:Ru}},Nu),stack:l()({colorScale:Cu},Nu),tooltip:{style:l()({},Ru,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:Iu,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:l()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:l()({},Ru,{padding:5,pointerEvents:"none"}),flyout:{stroke:Iu,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Nu)}},Wu=r(4295),Hu=r.n(Wu),qu=r(2829),$u=r.n(qu),Bu=r(2645),Yu=r.n(Bu),Vu=r(1616),Ku=r.n(Vu),Gu=r(8999),Qu=r.n(Gu),Zu=r(8254),Xu=r.n(Zu),Ju=r(4143),tc=r.n(Ju),nc=r(1950),ec=r.n(nc),rc=r(8825),oc=r.n(rc),ic=r(9602),ac=r.n(ic);function uc(t){return!(!t||!t["@@__IMMUTABLE_ITERABLE__@@"])}function cc(t,n){return uc(t)?t.reduce((function(t,e,r){var o=e;return n&&n[r]&&(o=cc(e)),t[r]=o,t}),function(t){return!(!t||!t["@@__IMMUTABLE_LIST__@@"])}(t)?[]:{}):t}function lc(t){return function(t){if(Array.isArray(t))return sc(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return sc(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?sc(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sc(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function fc(t){var n;return uc(n=t)||function(t){return!(!t||!t["@@__IMMUTABLE_RECORD__@@"])}(n)?cc(t,{errorX:!0,errorY:!0}):t}function pc(t,n){var e=(Y()(t.domain)?t.domain[n]:t.domain)||Oi(t,n).domain(),r=t.samples||1,o=Math.max.apply(Math,lc(e)),i=Math.min.apply(Math,lc(e)),a=(o-i)/r,u=oc()(i,o,a);return ec()(u)===o?u:u.concat(o)}function dc(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ascending";if(!n)return t;var r=n;"x"!==n&&"y"!==n||(r="_".concat(n));var o="ascending"===e?"asc":"desc";return tc()(t,r,o)}function hc(t,n){var e=function(t,n){var e=t.tickValues,r=t.tickFormat;return(e&&(Array.isArray(e)||e[n])?e[n]||e:r&&Array.isArray(r)?r:[]).filter((function(t){return"string"==typeof t}))}(t,n),r=mc(t,n),o=function(t,n){if(!Array.isArray(t.data)&&!uc(t.data))return[];var e=k(void 0===t[n]?n:t[n]);return dc(t.data.reduce((function(t,n){return t.push(fc(n)),t}),[]),t.sortKey,t.sortOrder).reduce((function(t,n){var r=fc(n);return t.push(e(r)),t}),[]).filter((function(t){return"string"==typeof t})).reduce((function(t,n){return null!=n&&-1===t.indexOf(n)&&t.push(n),t}),[])}(t,n),i=ac()([].concat(lc(e),lc(r),lc(o)));return 0===i.length?null:i.reduce((function(t,n,e){return t[n]=e+1,t}),{})}function yc(t,n,e){if(!Array.isArray(t)&&!uc(t)||function(t){return uc(t)?t.size:t.length}(t)<1)return[];var r,o=["x","y","y0"],i=(e=Array.isArray(e)?e:o).reduce((function(t,e){var r;return t[e]=k(void 0!==n[r=e]?n[r]:r),t}),{}),a=Xu()(e,o)&&"_x"===n.x&&"_y"===n.y&&"_y0"===n.y0;!1===a&&(r={x:-1!==e.indexOf("x")?hc(n,"x"):void 0,y:-1!==e.indexOf("y")?hc(n,"y"):void 0,y0:-1!==e.indexOf("y0")?hc(n,"y"):void 0});var u=a?t:t.reduce((function(t,n,o){var a=fc(n),u={x:o,y:a},c=e.reduce((function(t,n){var e=i[n](a),o=void 0!==e?e:u[n];return void 0!==o&&("string"==typeof o&&r[n]?(t["".concat(n,"Name")]=o,t["_".concat(n)]=r[n][o]):t["_".concat(n)]=o),t}),{}),s=l()({},c,a);return va()(s)||t.push(s),t}),[]),c=function(t,n){var e=1/Number.MAX_SAFE_INTEGER,r={x:Mi(n,"x"),y:Mi(n,"y")};if("log"!==r.x&&"log"!==r.y)return t;var o=function(t,n){return"log"!==r[n]||0!==t["_".concat(n)]};return t.map((function(t){return o(t,"x")&&o(t,"y")&&o(t,"y0")?t:function(t){var n=o(t,"x")?t._x:e,r=o(t,"y")?t._y:e,i=o(t,"y0")?t._y0:e;return l()({},t,{_x:n,_y:r,_y0:i})}(t)}))}(dc(u,n.sortKey,n.sortOrder),n);return function(t,n){var e,r=!!t.eventKey,o=(e=t.eventKey,y()(e)?e:null==e?function(){}:d()(e));return n.map((function(t,n){if(void 0!==t.eventKey)return t;if(r){var e=o(t,n);return void 0!==e?l()({eventKey:e},t):t}return t}))}(n,c)}function vc(t,n){return t.categories&&!Array.isArray(t.categories)?t.categories[n]:t.categories}function gc(t){return t.data?yc(t.data,t):yc(function(t){var n=pc(t,"x"),e=pc(t,"y");return n.map((function(t,n){return{x:t,y:e[n]}}))}(t),t)}function mc(t,n){if(!t.categories)return[];var e=vc(t,n),r=e&&e.filter((function(t){return"string"==typeof t}));return r?r.filter((function(t){return void 0!==t})):[]}function bc(t){return function(t){if(Array.isArray(t))return xc(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return xc(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?xc(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xc(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function wc(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"min",r=function(t){return"max"===e?Math.max.apply(Math,bc(t)):Math.min.apply(Math,bc(t))},o="max"===e?-1/0:1/0,i=!1,a=Yu()(t).reduce((function(t,e){var o=void 0!==e["_".concat(n,"0")]?e["_".concat(n,"0")]:e["_".concat(n)],a=void 0!==e["_".concat(n,"1")]?e["_".concat(n,"1")]:e["_".concat(n)],u=r([o,a]);return i=i||o instanceof Date||a instanceof Date,r([t,u])}),o);return i?new Date(a):a}function Oc(t,n){var e=y()(t)?t:Ec,r=y()(n)?n:Mc;return function(t,n){var o=function(t,n){var e=Sc(t,n),r=kc(t,n);return Y()(t.domain)&&t.domain[n]?t.domain[n]:Array.isArray(t.domain)?t.domain:void 0!==e&&void 0!==r?Ac(e,r):void 0}(t,n);if(o)return r(o,t,n);var i=vc(t,n),a=i?function(t,n,e){var r=e||vc(t,n),o=t.polar,i=t.startAngle,a=void 0===i?0:i,u=t.endAngle,c=void 0===u?360:u;if(r){var l,s=Sc(t,n),f=kc(t,n),p=(l=r,Array.isArray(l)&&l.some((function(t){return"string"==typeof t}))?mc(t,n):[]),d=0===p.length?null:p.reduce((function(t,n,e){return t[n]=e+1,t}),{}),h=d?r.map((function(t){return d[t]})):r,y=Ac(void 0!==s?s:J(h),void 0!==f?f:X(h));return o&&"x"===n&&360===Math.abs(a-c)?Pc(y,h):y}}(t,n,i):e(t,n);return a?r(a,t,n):void 0}}function Mc(t,n,e){return function(t,n,e){return"log"!==Mi(n,e)?t:(o=(r=t)[0]<0||r[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER,[0===r[0]?o:r[0],0===r[1]?o:r[1]]);var r,o}(function(t,n,e){if(!n.domainPadding)return t;var r=Sc(n,e),o=kc(n,e),i=function(t,n){var e=function(t){return Array.isArray(t)?{left:t[0],right:t[1]}:{left:t,right:t}};return Y()(t.domainPadding)?e(t.domainPadding[n]):e(t.domainPadding)}(n,e);if(!i.left&&!i.right)return t;var a=J(t),u=X(t),c=function(t,n){return n?"x"===t?"y":"x":t}(e,n.horizontal),l=A(n,c),s=Math.abs(l[0]-l[1]),f=Math.max(s-i.left-i.right,1),p=Math.abs(u.valueOf()-a.valueOf())/f*s,d=p*i.left/s,h=p*i.right/s,y={min:a.valueOf()-d,max:u.valueOf()+h},v=Y()(n.singleQuadrantDomainPadding)?n.singleQuadrantDomainPadding[e]:n.singleQuadrantDomainPadding,g=function(t,n){return"min"===n&&a>=0&&t<=0||"max"===n&&u<=0&&t>=0?0:t};if((a>=0&&y.min<=0||u<=0&&y.max>=0)&&!1!==v){var m={left:Math.abs(u-a)*i.left/s,right:Math.abs(u-a)*i.right/s},b={min:g(a.valueOf()-m.left,"min"),max:g(u.valueOf()+m.right,"max")},x={left:Math.abs(b.max-b.min)*i.left/s,right:Math.abs(b.max-b.min)*i.right/s};y={min:g(a.valueOf()-x.left,"min"),max:g(u.valueOf()+x.right,"max")}}var w={min:void 0!==r?r:y.min,max:void 0!==o?o:y.max};return a instanceof Date||u instanceof Date?Ac(new Date(w.min),new Date(w.max)):Ac(w.min,w.max)}(t,n,e),n,e)}function jc(t,n){return Oc()(t,n)}function Ec(t,n,e){var r=e||gc(t),o=t.polar,i=t.startAngle,a=void 0===i?0:i,u=t.endAngle,c=void 0===u?360:u,l=Sc(t,n),s=kc(t,n);if(r.length<1)return void 0!==l&&void 0!==s?Ac(l,s):void 0;var f=Ac(void 0!==l?l:wc(r,n,"min"),void 0!==s?s:wc(r,n,"max"));return o&&"x"===n&&360===Math.abs(a-c)?Pc(f,function(t,n){var e="_".concat(n);return Yu()(t).map((function(t){return t[e]&&void 0!==t[e][1]?t[e][1]:t[e]}))}(r,n)):f}function Ac(t,n){var e,r,o,i;return Number(t)===Number(n)?(r=0===(e=n)?2*Math.pow(10,-10):Math.pow(10,-10),o=e instanceof Date?new Date(Number(e)-1):Number(e)-r,i=e instanceof Date?new Date(Number(e)+1):Number(e)+r,0===e?[0,i]:[o,i]):[t,n]}function kc(t,n){return Y()(t.maxDomain)&&void 0!==t.maxDomain[n]?t.maxDomain[n]:"number"==typeof t.maxDomain||Hu()(t.maxDomain)?t.maxDomain:void 0}function Sc(t,n){return Y()(t.minDomain)&&void 0!==t.minDomain[n]?t.minDomain[n]:"number"==typeof t.minDomain||Hu()(t.minDomain)?t.minDomain:void 0}function Pc(t,n){var e=$u()(n.sort((function(t,n){return t-n}))),r=e[1]-e[0];return[t[0],t[1]+r]}var Cc=r(4882),Tc=r.n(Cc),_c=r(9555),Dc=r.n(_c),Ic=r(6354),Nc=r.n(Ic),Rc=r(4912),Lc=r.n(Rc);function Uc(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function Fc(t){return function(t){if(Array.isArray(t))return zc(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return zc(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?zc(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zc(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var Wc=/^onGlobal(.*)$/;function Hc(t,n,e,r){var o,i=this,a=function(t){var r,o=(r=t.reduce((function(t,e){return void 0!==e.target?(Array.isArray(e.target)?K()(e.target,n):"".concat(e.target)==="".concat(n))?t.concat(e):t:t.concat(e)}),[]),void 0!==e&&"parent"!==n?r.filter((function(t){var n=t.eventKey,r=function(t){return!t||"".concat(t)==="".concat(e)};return Array.isArray(n)?n.some((function(t){return r(t)})):r(n)})):r);return Array.isArray(o)&&o.reduce((function(t,n){return n?l()(t,n.eventHandlers):t}),{})},u=Array.isArray(i.componentEvents)?Array.isArray(t.events)?(o=i.componentEvents).concat.apply(o,Fc(t.events)):i.componentEvents:t.events,c=u&&y()(r)?r(a(u),n):void 0;if(!t.sharedEvents)return c;var s=t.sharedEvents.getEvents,f=t.sharedEvents.events&&s(a(t.sharedEvents.events),n);return l()({},f,c)}function qc(t,n,e,r){var o=this;if(va()(t))return{};var i=r||this.baseProps,a=function(t,n){var e=t.childName,r=t.target,a=t.key,u="props"===n?i:o.state||{},c=null!=e&&u[e]?u[e]:u;return"parent"===a?c.parent:c[a]&&c[a][r]},c=function(t,r){var c="parent"===n?t.childName:t.childName||e,s=t.target||n,f=function(n,e){var r=o.state||{};if(!y()(t.mutation))return r;var c=a({childName:e,key:n,target:s},"props"),f=a({childName:e,key:n,target:s},"state"),p=t.mutation(l()({},c,f),i),d=r[e]||{},h=function(t){return p?function(t){return"parent"===s?l()(t,Uc({},n,l()(t[n],p))):l()(t,Uc({},n,l()(t[n],Uc({},s,p))))}(t):function(t){return t[n]&&t[n][s]&&delete t[n][s],t[n]&&!u()(t[n]).length&&delete t[n],t}(t)};return null!=e?l()(r,Uc({},e,h(d))):h(r)},p=function(n){var e=function(n){return"parent"===s?"parent":"all"===t.eventKey?i[n]?Tc()(u()(i[n]),"parent"):Tc()(u()(i),"parent"):void 0===t.eventKey&&"parent"===r?i[n]?u()(i[n]):u()(i):void 0!==t.eventKey?t.eventKey:r}(n);return Array.isArray(e)?e.reduce((function(t,e){return l()(t,f(e,n))}),{}):f(e,n)},d="all"===c?Tc()(u()(i),"parent"):c;return Array.isArray(d)?d.reduce((function(t,n){return l()(t,p(n))}),{}):p(d)},s=function(n,e,r,i){var a=t[i](n,e,r,o);if(!va()(a)){var u=function(t){var n=function(t){return y()(t.callback)&&t.callback},e=(Array.isArray(t)?t.map((function(t){return n(t)})):[n(t)]).filter((function(t){return!1!==t}));return e.length?function(){return e.forEach((function(t){return t()}))}:void 0}(a);o.setState(function(t,n){return Array.isArray(t)?t.reduce((function(t,e){return l()({},t,c(e,n))}),{}):c(t,n)}(a,r),u)}};return u()(t).reduce((function(t,n){return t[n]=s,t}),{})}function $c(t,n,e){return t?u()(t).reduce((function(r,o){return r[o]=function(r){return t[o](r,e,n,o)},r}),{}):{}}function Bc(t,n,e){var r=this.state||{};return e?r[e]&&r[e][t]&&r[e][t][n]:"parent"===t?r[t]&&r[t][n]||r[t]:r[t]&&r[t][n]}function Yc(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,o=u()(n);return o.reduce((function(o,i){var a=e[i]||{},c=n[i]||{};if("parent"===i){var s=Vc(t,c,a,{eventKey:i,target:"parent"});o[i]=void 0!==s?l()({},a,s):a}else{var f=ac()(u()(c).concat(u()(a)));o[i]=f.reduce((function(n,e){var o={eventKey:i,target:e,childName:r},u=Vc(t,c[e],a[e],o);return n[e]=void 0!==u?l()({},a[e],u):a[e],Lc()(n,(function(t){return!va()(t)}))}),{})}return Lc()(o,(function(t){return!va()(t)}))}),{})}function Vc(t,n,e,r){var o=function(t,n){if("string"==typeof t[n])return"all"===t[n]||t[n]===r[n];if(Array.isArray(t[n])){var e=t[n].map((function(t){return"".concat(t)}));return K()(e,r[n])}return!1},i=Array.isArray(t)?t:[t];r.childName&&(i=t.filter((function(t){return o(t,"childName")})));var a=i.filter((function(t){return o(t,"target")}));if(!va()(a)){var u=a.filter((function(t){return o(t,"eventKey")}));if(!va()(u))return u.reduce((function(t,r){var o=(r&&y()(r.mutation)?r.mutation:function(){})(l()({},n,e));return l()({},t,o)}),{})}}function Kc(t,n){var e=Array.isArray(n)&&n.reduce((function(n,e){var r=t[e],o=r&&r.type&&r.type.defaultEvents,i=y()(o)?o(r.props):o;return Array.isArray(i)?n.concat.apply(n,Fc(i)):n}),[]);return e&&e.length?e:void 0}function Gc(t){var n=t.match(Wc);return n&&n[1]&&n[1].toLowerCase()}var Qc=function(t){return Lc()(t,(function(t,n){return Wc.test(n)}))},Zc=function(t){return Ku()(t,(function(t,n){return Wc.test(n)}))},Xc=function(t){return l()(t,{nativeEvent:t})},Jc=r(7491),tl=r.n(Jc);const nl=t=>+t;function el(t){return t*t}function rl(t){return t*(2-t)}function ol(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function il(t){return t*t*t}function al(t){return--t*t*t+1}function ul(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var cl=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),ll=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),sl=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),fl=Math.PI,pl=fl/2;function dl(t){return 1==+t?1:1-Math.cos(t*pl)}function hl(t){return Math.sin(t*pl)}function yl(t){return(1-Math.cos(fl*t))/2}function vl(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function gl(t){return vl(1-+t)}function ml(t){return 1-vl(t)}function bl(t){return((t*=2)<=1?vl(1-t):2-vl(t-1))/2}function xl(t){return 1-Math.sqrt(1-t*t)}function wl(t){return Math.sqrt(1- --t*t)}function Ol(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var Ml=7.5625;function jl(t){return 1-El(1-t)}function El(t){return(t=+t)<.36363636363636365?Ml*t*t:t<.7272727272727273?Ml*(t-=.5454545454545454)*t+.75:t<.9090909090909091?Ml*(t-=.8181818181818182)*t+.9375:Ml*(t-=.9545454545454546)*t+.984375}function Al(t){return((t*=2)<=1?1-El(1-t):El(t-1)+1)/2}var kl=1.70158,Sl=function t(n){function e(t){return(t=+t)*t*(n*(t-1)+t)}return n=+n,e.overshoot=t,e}(kl),Pl=function t(n){function e(t){return--t*t*((t+1)*n+t)+1}return n=+n,e.overshoot=t,e}(kl),Cl=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(kl),Tl=2*Math.PI,_l=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Tl);function o(t){return n*vl(- --t)*Math.sin((r-t)/e)}return o.amplitude=function(n){return t(n,e*Tl)},o.period=function(e){return t(n,e)},o}(1,.3),Dl=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Tl);function o(t){return 1-n*vl(t=+t)*Math.sin((t+r)/e)}return o.amplitude=function(n){return t(n,e*Tl)},o.period=function(e){return t(n,e)},o}(1,.3),Il=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Tl);function o(t){return((t=2*t-1)<0?n*vl(-t)*Math.sin((r-t)/e):2-n*vl(t)*Math.sin((r+t)/e))/2}return o.amplitude=function(n){return t(n,e*Tl)},o.period=function(e){return t(n,e)},o}(1,.3),Nl=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)||Y()(t)}return!1},Rl=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(r){return r<e?t:n}},Ll=function(t,n){return function(e){return e>=1?n:function(){var r="function"==typeof t?t.apply(this,arguments):t,o="function"==typeof n?n.apply(this,arguments):n;return xn(r,o)(e)}}},Ul=function(t,n){var e,r,o,i=function(t){return Array.isArray(t)?tc()(t,"key"):t},a={},u={},c=t,l=n;for(e in null!==c&&"object"==typeof c||(c={}),null!==l&&"object"==typeof l||(l={}),l)e in c?a[e]=(r=i(c[e]))!==(o=i(l[e]))&&Nl(r)&&Nl(o)?"function"==typeof r||"function"==typeof o?Ll(r,o):"object"==typeof r&&Y()(r)||"object"==typeof o&&Y()(o)?Ul(r,o):xn(r,o):Rl(r,o):u[e]=l[e];return function(t){for(e in a)u[e]=a[e](t);return u}};function Fl(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function zl(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Wl(t,n){return Wl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},Wl(t,n)}function Hl(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function ql(t){return ql=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ql(t)}var $l=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&Wl(t,n)}(u,t);var e,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=ql(o);if(i){var e=ql(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return Hl(this,t)});function u(t,e){var r;return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),(r=a.call(this,t,e)).interpolator=void 0,r.queue=void 0,r.ease=void 0,r.timer=void 0,r.loopID=void 0,r.functionToBeRunEachFrame=function(t,n){var e=void 0!==n?n:r.props.duration,o=e?t/e:1;if(o>=1)return r.setState({data:r.interpolator(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),r.loopID&&r.timer.unsubscribe(r.loopID),r.queue.shift(),void r.traverseQueue();r.setState({data:r.interpolator(r.ease(o)),animationInfo:{progress:o,animating:o<1}})},r.state={data:Array.isArray(r.props.data)?r.props.data[0]:r.props.data,animationInfo:{progress:0,animating:!1}},r.interpolator=null,r.queue=Array.isArray(r.props.data)?r.props.data.slice(1):[],r.ease=n[r.toNewName(r.props.easing)],r.timer=r.context.animationTimer,r}return e=u,(r=[{key:"componentDidMount",value:function(){this.queue.length&&this.traverseQueue()}},{key:"componentDidUpdate",value:function(t){if(!tl()(this.props,t))if(this.interpolator&&this.state.animationInfo&&this.state.animationInfo.progress<1)this.setState({data:this.interpolator(1),animationInfo:{progress:1,animating:!1,terminating:!0}});else{var n;this.timer.unsubscribe(this.loopID),Array.isArray(this.props.data)?(n=this.queue).push.apply(n,function(t){if(Array.isArray(t))return Fl(t)}(e=this.props.data)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,n){if(t){if("string"==typeof t)return Fl(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Fl(t,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):(this.queue.length=0,this.queue.push(this.props.data)),this.traverseQueue()}var e}},{key:"componentWillUnmount",value:function(){this.loopID?this.timer.unsubscribe(this.loopID):this.timer.stop()}},{key:"toNewName",value:function(t){var n;return"ease".concat((n=t)&&n[0].toUpperCase()+n.slice(1))}},{key:"traverseQueue",value:function(){var t,n,e=this;if(this.queue.length){var r=this.queue[0];this.interpolator=(t=this.state.data)!==(n=r)&&Nl(t)&&Nl(n)?"function"==typeof t||"function"==typeof n?Ll(t,n):Y()(t)||Y()(n)?Ul(t,n):"string"==typeof t||"string"==typeof n?function(t,n){var e=function(t){return"string"==typeof t?t.replace(/,/g,""):t};return xn(e(t),e(n))}(t,n):xn(t,n):Rl(t,n),this.props.delay?setTimeout((function(){e.loopID=e.timer.subscribe(e.functionToBeRunEachFrame,e.props.duration)}),this.props.delay):this.loopID=this.timer.subscribe(this.functionToBeRunEachFrame,this.props.duration)}else this.props.onEnd&&this.props.onEnd()}},{key:"render",value:function(){return this.props.children(this.state.data,this.state.animationInfo)}}])&&zl(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(i().Component);$l.displayName="VictoryAnimation",$l.propTypes={children:z().func,data:z().oneOfType([z().object,z().array]),delay:z().number,duration:z().number,easing:z().oneOf(["back","backIn","backOut","backInOut","bounce","bounceIn","bounceOut","bounceInOut","circle","circleIn","circleOut","circleInOut","linear","linearIn","linearOut","linearInOut","cubic","cubicIn","cubicOut","cubicInOut","elastic","elasticIn","elasticOut","elasticInOut","exp","expIn","expOut","expInOut","poly","polyIn","polyOut","polyInOut","quad","quadIn","quadOut","quadInOut","sin","sinIn","sinOut","sinInOut"]),onEnd:z().func},$l.defaultProps={data:{},delay:0,duration:1e3,easing:"quadInOut"},$l.contextType=ia;var Bl=r(5346),Yl=r.n(Bl);function Vl(t,n){return(t.key||n).toString()}function Kl(t){return t.reduce((function(t,n,e){return t[Vl(n,e)]=n,t}),{})}function Gl(t,n){var e=!1,r=u()(t).reduce((function(t,r){return r in n||(e=!0,t[r]=!0),t}),{});return e&&r}function Ql(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function Zl(t,n){var e=!1,r=!1,o=function(t,n){return t.map((function(a,u){return a&&a.props&&a.props.children&&n[u]?o(i().Children.toArray(t[u].props.children),i().Children.toArray(n[u].props.children)):function(t,n){if(!n||t.type!==n.type)return{};var o,i,a,u,c=(o=Ql(t),i=Ql(n),a=o&&Kl(o),u=i&&Kl(i),{entering:a&&Gl(u,a),exiting:u&&Gl(a,u)}||{}),l=c.entering,s=c.exiting;return e=e||!!s,r=r||!!l,{entering:l||!1,exiting:s||!1}}(a,n[u])}))},a=o(i().Children.toArray(t),i().Children.toArray(n));return{nodesWillExit:e,nodesWillEnter:r,childrenTransitions:a,nodesShouldEnter:!1}}function Xl(t,n,e){var r=n&&n.nodesWillExit,o=n&&n.nodesWillEnter,i=n&&n.nodesShouldEnter,a=n&&n.nodesShouldLoad,u=n&&n.nodesDoneLoad,c=n&&n.childrenTransitions||[],s={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},f=function(t,n,r){return a?function(t,n,r){var o=l()({},t,{onEnd:function(){e({nodesShouldLoad:!1,nodesDoneLoad:!0})}});if(o&&o.onLoad&&!o.onLoad.duration)return{animate:t,data:n};var i=t.onLoad&&t.onLoad.after?t.onLoad.after:Yl();return{animate:o,data:n.map((function(t,e){return l()({},t,i(t,e,n))}))}}(r,n):function(t,n,r,o){var i=l()({},t,{onEnd:function(){e({nodesDoneLoad:!0})}});if(i&&i.onLoad&&!i.onLoad.duration)return{animate:i,data:r};var a=i.onLoad&&i.onLoad.before?i.onLoad.before:Yl();return{animate:i,data:r.map((function(t,n){return l()({},t,a(t,n,r))})),clipWidth:0}}(r,0,n)},p=function(t,n,r,o){return function(t,n,r,o,i){var a=t&&t.onExit,u=l()({},t,a),c=r;if(o){t.onEnd=function(){e({nodesWillExit:!1})};var s=t.onExit&&t.onExit.before?t.onExit.before:Yl();c=r.map((function(t,n){var e=(t.key||n).toString();return o[e]?l()({},t,s(t,n,r)):t}))}return{animate:u,data:c}}(o,0,r,t)},d=function(t,n,r,o){return i?function(t,n,r,o){var i=t&&t.onEnter,a=l()({},t,i),u=n;if(r){a.onEnd=function(){e({nodesWillEnter:!1})};var c=a.onEnter&&a.onEnter.after?a.onEnter.after:Yl();u=n.map((function(t,e){var o=Vl(t,e);return r[o]?l()({},t,c(t,e,n)):t}))}return{animate:a,data:u}}(o,r,t):function(t,n,r,o,i){var a=t,u=r;if(o){a=l()({},t,{onEnd:function(){e({nodesShouldEnter:!0})}});var c=t.onEnter&&t.onEnter.before?t.onEnter.before:Yl();u=r.map((function(t,n){var e=(t.key||n).toString();return o[e]?l()({},t,c(t,n,r)):t}))}return{animate:a,data:u}}(o,0,r,t)},h=function(t,n){var e=t.props.animate;if(!t.type)return{};var r=t.props&&t.props.polar&&t.type.defaultPolarTransitions||t.type.defaultTransitions;if(r){var o=e[n]&&e[n].duration;return void 0!==o?o:r[n]&&r[n].duration}return{}};return function(e,a){var y=Ql(e)||[],v=g()({},t.animate,e.props.animate),m=e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;v.onExit=g()({},v.onExit,m&&m.onExit),v.onEnter=g()({},v.onEnter,m&&m.onEnter),v.onLoad=g()({},v.onLoad,m&&m.onLoad);var b=c[a]||c[0];if(!u){var x={duration:void 0!==s.load?s.load:h(e,"onLoad")};return f(0,y,l()({},v,x))}if(r){var w=b&&b.exiting,O=void 0!==s.exit?s.exit:h(e,"onExit"),M=w?{duration:O}:{delay:O};return p(w,0,y,l()({},v,M))}if(o){var j=b&&b.entering,E=void 0!==s.enter?s.enter:h(e,"onEnter"),A=void 0!==s.move?s.move:e.props.animate&&e.props.animate.duration,k={duration:i&&j?E:A};return d(j,0,y,l()({},v,k))}return!n&&v&&v.onExit?function(t,n){var e=t.onEnter&&t.onEnter.after?t.onEnter.after:Yl();return{data:n.map((function(t,r){return l()({},t,e(t,r,n))}))}}(v,y):{animate:v,data:y}}}function Jl(){return Jl=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},Jl.apply(this,arguments)}function ts(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ns(t,n){return ns=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},ns(t,n)}function es(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function rs(t){return rs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},rs(t)}var os=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&ns(t,n)}(u,t);var n,e,r,o,a=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=rs(r);if(o){var e=rs(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return es(this,t)});function u(t,n){var e;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),(e=a.call(this,t,n)).continuous=void 0,e.timer=void 0,e.transitionProps=void 0,e.state={nodesShouldLoad:!1,nodesDoneLoad:!1};var r=e.props.children,o=r.props.polar;return e.continuous=!o&&r.type&&!0===r.type.continuous,e.timer=e.context.transitionTimer,e}return n=u,e=[{key:"componentDidMount",value:function(){this.setState({nodesShouldLoad:!0})}},{key:"shouldComponentUpdate",value:function(t){var n=this;return tl()(this.props,t)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,t),(function(){return n.timer.resumeAnimation()}))),!0}},{key:"componentWillUnmount",value:function(){this.timer.stop()}},{key:"getTransitionState",value:function(t,n){var e=t.animate;if(!e)return{};if(e.parentState)return{oldProps:e.parentState.nodesWillExit?t:null,nextProps:n};var r=Zl(i().Children.toArray(t.children),i().Children.toArray(n.children)),o=r.nodesWillExit;return{nodesWillExit:o,nodesWillEnter:r.nodesWillEnter,childrenTransitions:r.childrenTransitions,nodesShouldEnter:r.nodesShouldEnter,oldProps:o?t:null,nextProps:n}}},{key:"getDomainFromChildren",value:function(t,n){var e=function(t){return t.reduce((function(t,r){if(r.type&&y()(r.type.getDomain)){var o=r.props&&r.type.getDomain(r.props,n);return o?t.concat(o):t}return r.props&&r.props.children?t.concat(e(i().Children.toArray(r.props.children))):t}),[])},r=i().Children.toArray(t.children)[0],o=r.props||{},a=Array.isArray(o.domain)?o.domain:o.domain&&o.domain[n];if(!o.children&&a)return a;var u=e([r]);return 0===u.length?[0,1]:[J(u),X(u)]}},{key:"pickProps",value:function(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}},{key:"pickDomainProps",value:function(t){var n,e=null===(n=t.animate)||void 0===n?void 0:n.parentState;return e&&e.nodesWillExit?(this.continuous||e.continuous)&&(e.nextProps||this.state.nextProps)||t:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||t}},{key:"getClipWidth",value:function(t,n){var e=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==e?e:function(){var e=A(n.props,"x");return e?Math.abs(e[1]-e[0]):t.width}()}},{key:"render",value:function(){var t,n=this,e=this.pickProps(),r=null!==(t=this.props.animate)&&void 0!==t&&t.getTransitions?this.props.animate.getTransitions:Xl(e,this.state,(function(t){return n.setState(t)})),o=i().Children.toArray(e.children)[0],a=r(o);this.transitionProps=a;var u={x:this.getDomainFromChildren(this.pickDomainProps(e),"x"),y:this.getDomainFromChildren(e,"y")},c=this.getClipWidth(e,o),l=g()({domain:u,clipWidth:c},a,o.props),s=(e.animationWhitelist||[]).concat(["clipWidth"]),p=s.length?f()(l,s):l;return i().createElement($l,Jl({},l.animate,{data:p}),(function(t){if(o.props.groupComponent){var e=n.continuous?i().cloneElement(o.props.groupComponent,{clipWidth:t.clipWidth||0}):o.props.groupComponent;return i().cloneElement(o,g()({animate:null,animating:!0,groupComponent:e},t,l))}return i().cloneElement(o,g()({animate:null,animating:!0},t,l))}))}}],e&&ts(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);function is(t){return function(t){if(Array.isArray(t))return as(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return as(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?as(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function as(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function us(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function cs(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ls(t,n,e){return n&&cs(t.prototype,n),e&&cs(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function ss(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&fs(t,n)}function fs(t,n){return fs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},fs(t,n)}function ps(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,r=ys(t);if(n){var o=ys(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return ds(this,e)}}function ds(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return hs(t)}function hs(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ys(t){return ys=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ys(t)}os.displayName="VictoryTransition",os.propTypes={animate:z().oneOfType([z().bool,z().object]),animationWhitelist:z().array,children:z().node},os.contextType=ia;var vs=function(t){return!Dc()(t._x)&&!Dc()(t._y)},gs=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}],ms=["desc","id","tabIndex","origin"];function bs(){return bs=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},bs.apply(this,arguments)}function xs(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function ws(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Os=(0,e.forwardRef)((function(t,n){var e,r=t.desc,o=t.id,a=t.tabIndex,u=(t.origin,function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,ms)),c=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?xs(Object(e),!0).forEach((function(n){ws(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):xs(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({id:null===(e=O(o,t))||void 0===e?void 0:e.toString(),tabIndex:O(a,t)},u);return r?i().createElement("path",bs({},c,{ref:n}),i().createElement("desc",null,r)):i().createElement("path",bs({},c,{ref:n}))})),Ms=["desc","id","tabIndex","origin"];function js(){return js=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},js.apply(this,arguments)}function Es(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function As(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var ks=(0,e.forwardRef)((function(t,n){var e,r=t.desc,o=t.id,a=t.tabIndex,u=(t.origin,function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,Ms)),c=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Es(Object(e),!0).forEach((function(n){As(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Es(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({vectorEffect:"non-scaling-stroke",id:null===(e=O(o,t))||void 0===e?void 0:e.toString(),tabIndex:O(a,t)},u);return r?i().createElement("circle",js({},c,{ref:n}),i().createElement("desc",null,r)):i().createElement("circle",js({},c,{ref:n}))})),Ss=function(t){var n;return i().createElement("defs",null,i().createElement("clipPath",{id:null===(n=t.clipId)||void 0===n?void 0:n.toString()},t.children))};function Ps(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Cs(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Ps(Object(e),!0).forEach((function(n){Ts(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Ps(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function Ts(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var _s={pathComponent:i().createElement(Os,null),circleComponent:i().createElement(ks,null),clipPathComponent:i().createElement(Ss,null),groupComponent:i().createElement("g",null),role:"presentation",shapeRendering:"auto"},Ds=function(t){var n=function(t){var n=O(t.ariaLabel,t),e=O(t.id,t),r=O(t.size,t),o=M(t.style,t),i=O(t.tabIndex,t);return l()({},t,{ariaLabel:n,id:e,size:r,style:o,tabIndex:i})}(Cs(Cs({},_s),t)),e=n.ariaLabel,r=n.role,o=n.shapeRendering,a=n.className,u=n.events,c=n.transform,s=n.style,f=n.size,p=n.tabIndex,d=function(t){var n,e=t.polygon;return Array.isArray(e)&&e.length?"M ".concat(null===(n=t.polygon)||void 0===n?void 0:n.join("L")," Z"):""}(n),h=Cs({"aria-label":e,className:a,role:r,shapeRendering:o,style:s,tabIndex:p,transform:c},u),y=I(n);if(f){var v=i().cloneElement(n.circleComponent,Cs(Cs({},h),{},{key:"".concat(n.id,"-circle-clip"),clipPath:"url(#".concat(n.clipId,")"),cx:n.x,cy:n.y,r:f})),g=i().cloneElement(n.clipPathComponent,{key:"".concat(n.id,"-voronoi-clip"),clipId:n.clipId},i().cloneElement(n.pathComponent,{d,className:a}));return i().cloneElement(n.groupComponent,{},[g,v])}return i().cloneElement(n.pathComponent,Cs(Cs(Cs({},h),y),{},{d}))};function Is(t){return function(){return t}}function Ns(t){return t[0]}function Rs(t){return t[1]}function Ls(){this._=null}function Us(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function Fs(t,n){var e=n,r=n.R,o=e.U;o?o.L===e?o.L=r:o.R=r:t._=r,r.U=o,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function zs(t,n){var e=n,r=n.L,o=e.U;o?o.L===e?o.L=r:o.R=r:t._=r,r.U=o,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function Ws(t){for(;t.L;)t=t.L;return t}Ls.prototype={constructor:Ls,insert:function(t,n){var e,r,o;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;e=t}else this._?(t=Ws(this._),n.P=null,n.N=t,t.P=t.L=n,e=t):(n.P=n.N=null,this._=n,e=null);for(n.L=n.R=null,n.U=e,n.C=!0,t=n;e&&e.C;)e===(r=e.U).L?(o=r.R)&&o.C?(e.C=o.C=!1,r.C=!0,t=r):(t===e.R&&(Fs(this,e),e=(t=e).U),e.C=!1,r.C=!0,zs(this,r)):(o=r.L)&&o.C?(e.C=o.C=!1,r.C=!0,t=r):(t===e.L&&(zs(this,e),e=(t=e).U),e.C=!1,r.C=!0,Fs(this,r)),e=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,e,r,o=t.U,i=t.L,a=t.R;if(e=i?a?Ws(a):i:a,o?o.L===t?o.L=e:o.R=e:this._=e,i&&a?(r=e.C,e.C=t.C,e.L=i,i.U=e,e!==a?(o=e.U,e.U=t.U,t=e.R,o.L=t,e.R=a,a.U=e):(e.U=o,o=e,t=e.R)):(r=t.C,t=e),t&&(t.U=o),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===o.L){if((n=o.R).C&&(n.C=!1,o.C=!0,Fs(this,o),n=o.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,zs(this,n),n=o.R),n.C=o.C,o.C=n.R.C=!1,Fs(this,o),t=this._;break}}else if((n=o.L).C&&(n.C=!1,o.C=!0,zs(this,o),n=o.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,Fs(this,n),n=o.L),n.C=o.C,o.C=n.L.C=!1,zs(this,o),t=this._;break}n.C=!0,t=o,o=o.U}while(!t.C);t&&(t.C=!1)}}};const Hs=Ls;function qs(t,n,e,r){var o=[null,null],i=hf.push(o)-1;return o.left=t,o.right=n,e&&Bs(o,t,n,e),r&&Bs(o,n,t,r),pf[t.index].halfedges.push(i),pf[n.index].halfedges.push(i),o}function $s(t,n,e){var r=[n,e];return r.left=t,r}function Bs(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function Ys(t,n,e,r,o){var i,a=t[0],u=t[1],c=a[0],l=a[1],s=0,f=1,p=u[0]-c,d=u[1]-l;if(i=n-c,p||!(i>0)){if(i/=p,p<0){if(i<s)return;i<f&&(f=i)}else if(p>0){if(i>f)return;i>s&&(s=i)}if(i=r-c,p||!(i<0)){if(i/=p,p<0){if(i>f)return;i>s&&(s=i)}else if(p>0){if(i<s)return;i<f&&(f=i)}if(i=e-l,d||!(i>0)){if(i/=d,d<0){if(i<s)return;i<f&&(f=i)}else if(d>0){if(i>f)return;i>s&&(s=i)}if(i=o-l,d||!(i<0)){if(i/=d,d<0){if(i>f)return;i>s&&(s=i)}else if(d>0){if(i<s)return;i<f&&(f=i)}return!(s>0||f<1)||(s>0&&(t[0]=[c+s*p,l+s*d]),f<1&&(t[1]=[c+f*p,l+f*d]),!0)}}}}}function Vs(t,n,e,r,o){var i=t[1];if(i)return!0;var a,u,c=t[0],l=t.left,s=t.right,f=l[0],p=l[1],d=s[0],h=s[1],y=(f+d)/2,v=(p+h)/2;if(h===p){if(y<n||y>=r)return;if(f>d){if(c){if(c[1]>=o)return}else c=[y,e];i=[y,o]}else{if(c){if(c[1]<e)return}else c=[y,o];i=[y,e]}}else if(u=v-(a=(f-d)/(h-p))*y,a<-1||a>1)if(f>d){if(c){if(c[1]>=o)return}else c=[(e-u)/a,e];i=[(o-u)/a,o]}else{if(c){if(c[1]<e)return}else c=[(o-u)/a,o];i=[(e-u)/a,e]}else if(p<h){if(c){if(c[0]>=r)return}else c=[n,a*n+u];i=[r,a*r+u]}else{if(c){if(c[0]<n)return}else c=[r,a*r+u];i=[n,a*n+u]}return t[0]=c,t[1]=i,!0}function Ks(t,n){var e=t.site,r=n.left,o=n.right;return e===o&&(o=r,r=e),o?Math.atan2(o[1]-r[1],o[0]-r[0]):(e===r?(r=n[1],o=n[0]):(r=n[0],o=n[1]),Math.atan2(r[0]-o[0],o[1]-r[1]))}function Gs(t,n){return n[+(n.left!==t.site)]}function Qs(t,n){return n[+(n.left===t.site)]}var Zs,Xs=[];function Js(){Us(this),this.x=this.y=this.arc=this.site=this.cy=null}function tf(t){var n=t.P,e=t.N;if(n&&e){var r=n.site,o=t.site,i=e.site;if(r!==i){var a=o[0],u=o[1],c=r[0]-a,l=r[1]-u,s=i[0]-a,f=i[1]-u,p=2*(c*f-l*s);if(!(p>=-vf)){var d=c*c+l*l,h=s*s+f*f,y=(f*d-l*h)/p,v=(c*h-s*d)/p,g=Xs.pop()||new Js;g.arc=t,g.site=o,g.x=y+a,g.y=(g.cy=v+u)+Math.sqrt(y*y+v*v),t.circle=g;for(var m=null,b=df._;b;)if(g.y<b.y||g.y===b.y&&g.x<=b.x){if(!b.L){m=b.P;break}b=b.L}else{if(!b.R){m=b;break}b=b.R}df.insert(m,g),m||(Zs=g)}}}}function nf(t){var n=t.circle;n&&(n.P||(Zs=n.N),df.remove(n),Xs.push(n),Us(n),t.circle=null)}var ef=[];function rf(){Us(this),this.edge=this.site=this.circle=null}function of(t){var n=ef.pop()||new rf;return n.site=t,n}function af(t){nf(t),ff.remove(t),ef.push(t),Us(t)}function uf(t){var n=t.circle,e=n.x,r=n.cy,o=[e,r],i=t.P,a=t.N,u=[t];af(t);for(var c=i;c.circle&&Math.abs(e-c.circle.x)<yf&&Math.abs(r-c.circle.cy)<yf;)i=c.P,u.unshift(c),af(c),c=i;u.unshift(c),nf(c);for(var l=a;l.circle&&Math.abs(e-l.circle.x)<yf&&Math.abs(r-l.circle.cy)<yf;)a=l.N,u.push(l),af(l),l=a;u.push(l),nf(l);var s,f=u.length;for(s=1;s<f;++s)l=u[s],c=u[s-1],Bs(l.edge,c.site,l.site,o);c=u[0],(l=u[f-1]).edge=qs(c.site,l.site,null,o),tf(c),tf(l)}function cf(t){for(var n,e,r,o,i=t[0],a=t[1],u=ff._;u;)if((r=lf(u,a)-i)>yf)u=u.L;else{if(!((o=i-sf(u,a))>yf)){r>-yf?(n=u.P,e=u):o>-yf?(n=u,e=u.N):n=e=u;break}if(!u.R){n=u;break}u=u.R}!function(t){pf[t.index]={site:t,halfedges:[]}}(t);var c=of(t);if(ff.insert(n,c),n||e){if(n===e)return nf(n),e=of(n.site),ff.insert(c,e),c.edge=e.edge=qs(n.site,c.site),tf(n),void tf(e);if(e){nf(n),nf(e);var l=n.site,s=l[0],f=l[1],p=t[0]-s,d=t[1]-f,h=e.site,y=h[0]-s,v=h[1]-f,g=2*(p*v-d*y),m=p*p+d*d,b=y*y+v*v,x=[(v*m-d*b)/g+s,(p*b-y*m)/g+f];Bs(e.edge,l,h,x),c.edge=qs(l,t,null,x),e.edge=qs(t,h,null,x),tf(n),tf(e)}else c.edge=qs(n.site,c.site)}}function lf(t,n){var e=t.site,r=e[0],o=e[1],i=o-n;if(!i)return r;var a=t.P;if(!a)return-1/0;var u=(e=a.site)[0],c=e[1],l=c-n;if(!l)return u;var s=u-r,f=1/i-1/l,p=s/l;return f?(-p+Math.sqrt(p*p-2*f*(s*s/(-2*l)-c+l/2+o-i/2)))/f+r:(r+u)/2}function sf(t,n){var e=t.N;if(e)return lf(e,n);var r=t.site;return r[1]===n?r[0]:1/0}var ff,pf,df,hf,yf=1e-6,vf=1e-12;function gf(t,n){return n[1]-t[1]||n[0]-t[0]}function mf(t,n){var e,r,o,i=t.sort(gf).pop();for(hf=[],pf=new Array(t.length),ff=new Hs,df=new Hs;;)if(o=Zs,i&&(!o||i[1]<o.y||i[1]===o.y&&i[0]<o.x))i[0]===e&&i[1]===r||(cf(i),e=i[0],r=i[1]),i=t.pop();else{if(!o)break;uf(o.arc)}if(function(){for(var t,n,e,r,o=0,i=pf.length;o<i;++o)if((t=pf[o])&&(r=(n=t.halfedges).length)){var a=new Array(r),u=new Array(r);for(e=0;e<r;++e)a[e]=e,u[e]=Ks(t,hf[n[e]]);for(a.sort((function(t,n){return u[n]-u[t]})),e=0;e<r;++e)u[e]=n[a[e]];for(e=0;e<r;++e)n[e]=u[e]}}(),n){var a=+n[0][0],u=+n[0][1],c=+n[1][0],l=+n[1][1];!function(t,n,e,r){for(var o,i=hf.length;i--;)Vs(o=hf[i],t,n,e,r)&&Ys(o,t,n,e,r)&&(Math.abs(o[0][0]-o[1][0])>yf||Math.abs(o[0][1]-o[1][1])>yf)||delete hf[i]}(a,u,c,l),function(t,n,e,r){var o,i,a,u,c,l,s,f,p,d,h,y,v=pf.length,g=!0;for(o=0;o<v;++o)if(i=pf[o]){for(a=i.site,u=(c=i.halfedges).length;u--;)hf[c[u]]||c.splice(u,1);for(u=0,l=c.length;u<l;)h=(d=Qs(i,hf[c[u]]))[0],y=d[1],f=(s=Gs(i,hf[c[++u%l]]))[0],p=s[1],(Math.abs(h-f)>yf||Math.abs(y-p)>yf)&&(c.splice(u,0,hf.push($s(a,d,Math.abs(h-t)<yf&&r-y>yf?[t,Math.abs(f-t)<yf?p:r]:Math.abs(y-r)<yf&&e-h>yf?[Math.abs(p-r)<yf?f:e,r]:Math.abs(h-e)<yf&&y-n>yf?[e,Math.abs(f-e)<yf?p:n]:Math.abs(y-n)<yf&&h-t>yf?[Math.abs(p-n)<yf?f:t,n]:null))-1),++l);l&&(g=!1)}if(g){var m,b,x,w=1/0;for(o=0,g=null;o<v;++o)(i=pf[o])&&(x=(m=(a=i.site)[0]-t)*m+(b=a[1]-n)*b)<w&&(w=x,g=i);if(g){var O=[t,n],M=[t,r],j=[e,r],E=[e,n];g.halfedges.push(hf.push($s(a=g.site,O,M))-1,hf.push($s(a,M,j))-1,hf.push($s(a,j,E))-1,hf.push($s(a,E,O))-1)}}for(o=0;o<v;++o)(i=pf[o])&&(i.halfedges.length||delete pf[o])}(a,u,c,l)}this.edges=hf,this.cells=pf,ff=df=hf=pf=null}function bf(t){return function(t){if(Array.isArray(t))return xf(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return xf(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?xf(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xf(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}mf.prototype={constructor:mf,polygons:function(){var t=this.edges;return this.cells.map((function(n){var e=n.halfedges.map((function(e){return Gs(n,t[e])}));return e.data=n.site.data,e}))},triangles:function(){var t=[],n=this.edges;return this.cells.forEach((function(e,r){if(i=(o=e.halfedges).length)for(var o,i,a,u,c,l,s=e.site,f=-1,p=n[o[i-1]],d=p.left===s?p.right:p.left;++f<i;)a=d,d=(p=n[o[f]]).left===s?p.right:p.left,a&&d&&r<a.index&&r<d.index&&(c=a,l=d,((u=s)[0]-l[0])*(c[1]-u[1])-(u[0]-c[0])*(l[1]-u[1])<0)&&t.push([s.data,a.data,d.data])})),t},links:function(){return this.edges.filter((function(t){return t.right})).map((function(t){return{source:t.left.data,target:t.right.data}}))},find:function(t,n,e){for(var r,o,i=this,a=i._found||0,u=i.cells.length;!(o=i.cells[a]);)if(++a>=u)return null;var c=t-o.site[0],l=n-o.site[1],s=c*c+l*l;do{o=i.cells[r=a],a=null,o.halfedges.forEach((function(e){var r=i.edges[e],u=r.left;if(u!==o.site&&u||(u=r.right)){var c=t-u[0],l=n-u[1],f=c*c+l*l;f<s&&(s=f,a=u.index)}}))}while(null!==a);return i._found=r,null==e||s<=e*e?o.site:null}};var wf=function(t){var n=t.theme&&t.theme.voronoi&&t.theme.voronoi.style?t.theme.voronoi.style:{},e=function(t,n){var e="100%",r="100%";if(!t)return g()({parent:{height:r,width:e}},n);var o=t.data,i=t.labels,a=t.parent,u=n&&n.parent||{},c=n&&n.labels||{},l=n&&n.data||{};return{parent:g()({},a,u,{width:e,height:r}),labels:g()({},i,c),data:g()({},o,l)}}(t.style,n),r={x:A(t,"x"),y:A(t,"y")},o={x:jc(t,"x"),y:jc(t,"y")},i={x:Oi(t,"x").domain(o.x).range(t.horizontal?r.y:r.x),y:Oi(t,"y").domain(o.y).range(t.horizontal?r.x:r.y)},a=gc(t);a=function(t,n,e){var r=function(t){return void 0!==t},o=J(n.x),i=X(n.x),a=J(n.y),u=X(n.y),c=function(t){return function(n){return r(n)&&n<t}},s=function(t){return function(n){return r(n)&&n>t}},f=c(o),p=c(a),d=s(i),h=s(u);return t.map((function(t){var n=t._x,e=t._y,o=t._y0,i=t._y1;(f(n)||d(n))&&(n=null);var c=r(o)?o:undefined,s=r(i)?i:e;return r(s)?(r(c)||!p(s)&&!h(s)||(e=null),(p(c)&&p(s)||h(c)&&h(s))&&(e=o=i=null),p(c)&&!p(s)&&(o=a),h(c)&&!h(s)&&(o=u),l()({},t,Ku()({_x:n,_y:e,_y0:o,_y1:i},Qu()))):t}))}(a,o),a=a.filter((function(t){return null!==t._x&&null!==t._y}));var u=function(t,n,e){var r=[Math.min.apply(Math,bf(n.x)),Math.min.apply(Math,bf(n.y))],o=[Math.max.apply(Math,bf(n.x)),Math.max.apply(Math,bf(n.y))];return function(){var t=Ns,n=Rs,e=null;function r(r){return new mf(r.map((function(e,o){var i=[Math.round(t(e,o,r)/yf)*yf,Math.round(n(e,o,r)/yf)*yf];return i.index=o,i.data=e,i})),e)}return r.polygons=function(t){return r(t).polygons()},r.links=function(t){return r(t).links()},r.triangles=function(t){return r(t).triangles()},r.x=function(n){return arguments.length?(t="function"==typeof n?n:Is(+n),r):t},r.y=function(t){return arguments.length?(n="function"==typeof t?t:Is(+t),r):n},r.extent=function(t){return arguments.length?(e=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],r):e&&[[e[0][0],e[0][1]],[e[1][0],e[1][1]]]},r.size=function(t){return arguments.length?(e=null==t?null:[[0,0],[+t[0],+t[1]]],r):e&&[e[1][0]-e[0][0],e[1][1]-e[0][1]]},r}().x((function(n){return t.polar?function(t){return-1*e.x(void 0!==t._x1?t._x1:t._x)+Math.PI/2}(n):function(n){return t.horizontal?e.y(void 0!==n._y1?n._y1:n._y):e.x(void 0!==n._x1?n._x1:n._x)}(n)})).y((function(n){return function(n){return t.horizontal?e.x(void 0!==n._x1?n._x1:n._x):e.y(void 0!==n._y1?n._y1:n._y)}(n)})).extent([r,o])}(t,r,i).polygons(a),c=t.polar?t.origin||function(t){var n=t.width,e=t.height,r=w(t),o=r.top,i=r.bottom,a=r.left,u=r.right,c=Math.min(n-a-u,e-o-i)/2,l=n/2+a-u,s=e/2+o-i;return{x:l+c>n?c+a-u:l,y:s+c>e?c+o-i:s}}(t):void 0;return{domain:o,data:a,scale:i,style:e,polygons:u,origin:c}};function Of(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function Mf(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function jf(t,n){return jf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},jf(t,n)}function Ef(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Af(t){return Af=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Af(t)}var kf={width:450,height:300,padding:50},Sf=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&jf(t,n)}(u,t);var n,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=Af(o);if(i){var e=Af(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return Ef(this,t)});function u(){return Of(this,u),a.apply(this,arguments)}return n=u,(r=[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var t=Pf.animationWhitelist,n=Pf.role,r=S(this.props,kf,n);if(this.shouldAnimate())return this.animateComponent(r,t);var o=this.renderData(r);return function(t,n){return e.cloneElement(t,I(n))}(r.standalone?this.renderContainer(r.containerComponent,o):o,r)}}])&&Mf(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);Sf.animationWhitelist=["data","domain","height","padding","samples","size","style","width"],Sf.displayName="VictoryVoronoi",Sf.role="voronoi",Sf.defaultTransitions={onLoad:{duration:2e3,before:function(){return{opacity:0}},after:function(t){return t}},onExit:{duration:600,before:function(){return{opacity:0}}},onEnter:{duration:600,before:function(){return{opacity:0}},after:function(t){return t}}},Sf.defaultProps={containerComponent:i().createElement(ha,null),dataComponent:i().createElement(Ds,null),labelComponent:i().createElement(Ou,null),groupComponent:i().createElement("g",{role:"presentation"}),samples:50,sortOrder:"ascending",standalone:!0,theme:zu.grayscale},Sf.getDomain=jc,Sf.getData=gc,Sf.getBaseProps=function(t){return function(t,n){var e=S(t,n,"scatter"),r=l()({},e,wf(e)),o=r.data,i=r.domain,a=r.events,u=r.height,c=r.origin,s=r.padding,f=r.polar,p=r.polygons,d=r.scale,h=r.sharedEvents,y=r.standalone,v=r.style,g=r.theme,m=r.width,b=r.labels,w=r.name,O={parent:{style:v.parent,scale:d,domain:i,data:o,standalone:y,height:u,width:m,theme:g,origin:c,polar:f,padding:s,name:w}};return o.reduce((function(t,n,e){var i=Tc()(p[e],"data"),u=Dc()(n.eventKey)?e:n.eventKey,l=x(r,n),s={x:l.x,y:l.y,datum:n,data:o,index:e,scale:d,polygon:i,origin:c,size:r.size,style:v.data};return t[u]={data:s},(null!=La(r,n,e)||b&&(a||h))&&(t[u].labels=Fa(r,e)),t}),O)}(t,kf)},Sf.expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"];var Pf=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=function(e){ss(o,e);var r=ps(o);function o(t){var n;return us(this,o),(n=r.call(this,t)).state={},n.getEventState=Bc.bind(hs(n)),n.getScopedEvents=qc.bind(hs(n)),n.getEvents=function(t,e,r){return Hc.call(hs(n),t,e,r,n.getScopedEvents)},n.externalMutations=n.getExternalMutations(n.props),n.calculatedState=n.getStateChanges(n.props),n.globalEvents={},n.prevGlobalEventKeys=[],n.boundGlobalEvents={},n.cacheValues(n.getCalculatedValues(t)),n}return ls(o,[{key:"shouldComponentUpdate",value:function(t){var n=this.getExternalMutations(t),e=this.props.animating||this.props.animate,r=!tl()(n,this.externalMutations);if(e||r)return this.cacheValues(this.getCalculatedValues(t)),this.externalMutations=n,this.applyExternalMutations(t,n),!0;var o=this.getStateChanges(t);return tl()(this.calculatedState,o)?!tl()(this.props,t)&&(this.cacheValues(this.getCalculatedValues(t)),!0):(this.cacheValues(this.getCalculatedValues(t)),!0)}},{key:"componentDidMount",value:function(){var t=this,n=u()(this.globalEvents);n.forEach((function(n){return t.addGlobalListener(n)})),this.prevGlobalEventKeys=n}},{key:"componentDidUpdate",value:function(t){var n=this,e=this.getStateChanges(t);this.calculatedState=e;var r=u()(this.globalEvents);Nc()(this.prevGlobalEventKeys,r).forEach((function(t){return n.removeGlobalListener(t)})),Nc()(r,this.prevGlobalEventKeys).forEach((function(t){return n.addGlobalListener(t)})),this.prevGlobalEventKeys=r}},{key:"componentWillUnmount",value:function(){var t=this;this.prevGlobalEventKeys.forEach((function(n){return t.removeGlobalListener(n)}))}},{key:"addGlobalListener",value:function(t){var n=this,e=function(e){var r=n.globalEvents[t];return r&&r(Xc(e))};this.boundGlobalEvents[t]=e,window.addEventListener(Gc(t),e)}},{key:"removeGlobalListener",value:function(t){window.removeEventListener(Gc(t),this.boundGlobalEvents[t])}},{key:"getStateChanges",value:function(t){var e=this;if(!this.hasEvents)return{};var r=function(t,n){var r=g()({},e.getEventState(t,n),e.getSharedEventState(t,n));return va()(r)?void 0:r};return(n.components||gs).map((function(n){if(t.standalone||"parent"!==n.name)return void 0!==n.index?r(n.index,n.name):e.dataKeys.map((function(t){return r(t,n.name)})).filter(Boolean)})).filter(Boolean)}},{key:"applyExternalMutations",value:function(t,n){if(!va()(n)){var e=t.externalEventMutations.reduce((function(t,n){return y()(n.callback)?t.concat(n.callback):t}),[]),r=e.length?function(){e.forEach((function(t){return t()}))}:void 0;this.setState(n,r)}}},{key:"getCalculatedValues",value:function(n){var e=n.sharedEvents,r=Kc(n,t.expectedComponents),o=e&&y()(e.getEventState)?e.getEventState:function(){},i=this.getBaseProps(n,o);return{componentEvents:r,getSharedEventState:o,baseProps:i,dataKeys:u()(i).filter((function(t){return"parent"!==t})),hasEvents:n.events||n.sharedEvents||r,events:this.getAllEvents(n)}}},{key:"getExternalMutations",value:function(t){var n=t.sharedEvents,e=t.externalEventMutations;return va()(e)||n?void 0:Yc(e,this.baseProps,this.state)}},{key:"cacheValues",value:function(t){var n=this;u()(t).forEach((function(e){n[e]=t[e]}))}},{key:"getBaseProps",value:function(n,e){var r=(e||this.getSharedEventState.bind(this))("parent","parent"),o=this.getEventState("parent","parent"),i=g()({},o,r),a=i.parentControlledProps,u=a?f()(i,a):{},c=g()({},u,n);return"function"==typeof t.getBaseProps?t.getBaseProps(c):{}}},{key:"getAllEvents",value:function(t){var n;return Array.isArray(this.componentEvents)?Array.isArray(t.events)?(n=this.componentEvents).concat.apply(n,is(t.events)):this.componentEvents:t.events}},{key:"getComponentProps",value:function(n,e,r){var o=this.props.name||t.role,i=this.dataKeys&&this.dataKeys[r]||r,a="".concat(o,"-").concat(e,"-").concat(i),u=this.baseProps[i]&&this.baseProps[i][e]||this.baseProps[i];if(u||this.hasEvents){var c=n&&"object"==typeof n&&"props"in n?n.props:void 0;if(this.hasEvents){var s=this.getEvents(this.props,e,i),f=g()({index:r,key:a},this.getEventState(i,e),this.getSharedEventState(i,e),c,u,{id:a}),p=g()({},$c(s,i,f),f.events);return l()({},f,{events:p})}return g()({index:r,key:a},c,u,{id:a})}}},{key:"renderContainer",value:function(t,n){var e=t.type&&"container"===t.type.role?this.getComponentProps(t,"parent","parent"):{};return e.events&&(this.globalEvents=Qc(e.events),e.events=Zc(e.events)),i().cloneElement(t,e,n)}},{key:"animateComponent",value:function(t,n){var e,r="object"==typeof t.animate&&(null===(e=t.animate)||void 0===e?void 0:e.animationWhitelist)||n,o=this.constructor;return i().createElement(os,{animate:t.animate,animationWhitelist:r},i().createElement(o,t))}},{key:"renderContinuousData",value:function(t){var n=this,e=t.dataComponent,r=t.labelComponent,o=t.groupComponent,a=Tc()(this.dataKeys,"all").reduce((function(t,e){var o=t,a=n.getComponentProps(r,"labels",e);return a&&void 0!==a.text&&null!==a.text&&(o=o.concat(i().cloneElement(r,a))),o}),[]),u=this.getComponentProps(e,"data","all"),c=[i().cloneElement(e,u)].concat(is(a));return this.renderContainer(o,c)}},{key:"renderData",value:function(t){var n=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vs,r=t.dataComponent,o=t.labelComponent,a=t.groupComponent,u=this.dataKeys.reduce((function(t,o,a){var u=n.getComponentProps(r,"data",a);return e(u.datum)&&t.push(i().cloneElement(r,u)),t}),[]),c=this.dataKeys.map((function(t,e){var r=n.getComponentProps(o,"labels",e);if(void 0!==r.text&&null!==r.text)return i().cloneElement(o,r)})).filter(Boolean),l=[].concat(is(u),is(c));return this.renderContainer(a,l)}}]),o}(t);return e}(Sf)})(),o})()));
|
|
2
2
|
//# sourceMappingURL=victory-voronoi.min.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "victory-voronoi",
|
|
3
|
-
"version": "36.8.
|
|
3
|
+
"version": "36.8.4",
|
|
4
4
|
"description": "Voronoi Component for Victory",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data visualization",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"d3-voronoi": "^1.1.4",
|
|
24
24
|
"lodash": "^4.17.19",
|
|
25
25
|
"prop-types": "^15.8.1",
|
|
26
|
-
"victory-core": "^36.8.
|
|
26
|
+
"victory-core": "^36.8.4"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"react": ">=16.6.0"
|