victory-legend 36.2.2 → 36.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/victory-legend.js +11290 -11072
- package/dist/victory-legend.min.js +1 -1
- package/es/helper-methods.js +12 -6
- package/es/victory-legend.js +124 -138
- package/lib/helper-methods.js +13 -7
- package/lib/victory-legend.js +123 -138
- package/package.json +3 -3
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.VictoryLegend=t(require("react")):e.VictoryLegend=t(e.React)}(self,(function(e){return(()=>{var t={1124:(e,t,n)=>{var r=n(7236);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return r(e)?e:[e]}},4281:(e,t,n)=>{var r=n(7168),o=n(6582),a=n(3867),i=n(9557),u=n(2726);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=u,e.exports=c},4690:(e,t,n)=>{var r=n(441).Symbol;e.exports=r},5198:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},4802:e=>{e.exports=function(e,t,n,r){for(var o=-1,a=null==e?0:e.length;++o<a;){var i=e[o];t(r,i,n(i),e)}return r}},8058:(e,t,n)=>{var r=n(7650);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},7431:e=>{e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},6460:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},3848:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},4793:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},7596:(e,t,n)=>{var r=n(999),o=n(6530),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var i=e[t];a.call(e,t)&&o(i,n)&&(void 0!==n||t in e)||r(e,t,n)}},3833:(e,t,n)=>{var r=n(6530);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},2435:e=>{e.exports=function(e,t,n,r){for(var o=-1,a=null==e?0:e.length;++o<a;){var i=e[o];t(r,i,n(i),e)}return r}},999:(e,t,n)=>{var r=n(9346);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},1096:(e,t,n)=>{var r=n(1124),o=n(8058),a=n(7431),i=n(6460),u=n(6535),c=n(555);e.exports=function(e,t,n,l){var s=-1,f=o,p=!0,d=e.length,h=[],y=t.length;if(!d)return h;n&&(t=i(t,u(n))),l?(f=a,p=!1):t.length>=200&&(f=c,p=!1,t=new r(t));e:for(;++s<d;){var v=e[s],b=null==n?v:n(v);if(v=l||0!==v?v:0,p&&b==b){for(var g=y;g--;)if(t[g]===b)continue e;h.push(v)}else f(t,b,l)||h.push(v)}return h}},528:e=>{e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},314:(e,t,n)=>{var r=n(3848),o=n(1754);e.exports=function e(t,n,a,i,u){var c=-1,l=t.length;for(a||(a=o),u||(u=[]);++c<l;){var s=t[c];n>0&&a(s)?n>1?e(s,n-1,a,i,u):r(u,s):i||(u[u.length]=s)}return u}},166:(e,t,n)=>{var r=n(8422),o=n(8780);e.exports=function(e,t){for(var n=0,a=(t=r(t,e)).length;null!=e&&n<a;)e=e[o(t[n++])];return n&&n==a?e:void 0}},4318:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},7650:e=>{e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},1071:(e,t,n)=>{var r=n(7229),o=n(3387);e.exports=function e(t,n,a,i,u){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,u))}},7229:(e,t,n)=>{var r=n(4281),o=n(2503),a=n(6001),i=n(8784),u=n(6686),c=n(7236),l=n(8752),s=n(4812),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,y,v,b){var g=c(e),m=c(t),x=g?p:u(e),O=m?p:u(t),w=(x=x==f?d:x)==d,E=(O=O==f?d:O)==d,k=x==O;if(k&&l(e)){if(!l(t))return!1;g=!0,w=!1}if(k&&!w)return b||(b=new r),g||s(e)?o(e,t,n,y,v,b):a(e,t,x,n,y,v,b);if(!(1&n)){var j=w&&h.call(e,"__wrapped__"),A=E&&h.call(t,"__wrapped__");if(j||A){var S=j?e.value():e,P=A?t.value():t;return b||(b=new r),v(S,P,n,y,b)}}return!!k&&(b||(b=new r),i(e,t,n,y,v,b))}},9157:(e,t,n)=>{var r=n(4281),o=n(1071);e.exports=function(e,t,n,a){var i=n.length,u=i,c=!a;if(null==e)return!u;for(e=Object(e);i--;){var l=n[i];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<u;){var s=(l=n[i])[0],f=e[s],p=l[1];if(c&&l[2]){if(void 0===f&&!(s in e))return!1}else{var d=new r;if(a)var h=a(f,p,s,e,t,d);if(!(void 0===h?o(p,f,3,a,d):h))return!1}}return!0}},1131:(e,t,n)=>{var r=n(4318),o=n(3387);e.exports=function(e){return o(e)&&"[object RegExp]"==r(e)}},8904:(e,t,n)=>{var r=n(8418),o=n(4555),a=n(5362),i=n(7236),u=n(1651);e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):u(e)}},8803:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},2920:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},8418:(e,t,n)=>{var r=n(9157),o=n(9182),a=n(7375);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},4555:(e,t,n)=>{var r=n(1071),o=n(3795),a=n(3646),i=n(3266),u=n(1457),c=n(7375),l=n(8780);e.exports=function(e,t){return i(e)&&u(t)?c(l(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},690:(e,t,n)=>{var r=n(6460),o=n(166),a=n(8904),i=n(2920),u=n(6024),c=n(6535),l=n(1397),s=n(5362),f=n(7236);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return f(e)?function(t){return o(t,1===e.length?e[0]:e)}:e})):[s];var p=-1;t=r(t,c(a));var d=i(e,(function(e,n,o){return{criteria:r(t,(function(t){return t(e)})),index:++p,value:e}}));return u(d,(function(e,t){return l(e,t,n)}))}},7410:(e,t,n)=>{var r=n(6621),o=n(3646);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},6621:(e,t,n)=>{var r=n(166),o=n(8116),a=n(8422);e.exports=function(e,t,n){for(var i=-1,u=t.length,c={};++i<u;){var l=t[i],s=r(e,l);n(s,l)&&o(c,a(l,e),s)}return c}},1712:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},4815:(e,t,n)=>{var r=n(166);e.exports=function(e){return function(t){return r(t,e)}}},797:e=>{var t=Math.ceil,n=Math.max;e.exports=function(e,r,o,a){for(var i=-1,u=n(t((r-e)/(o||1)),0),c=Array(u);u--;)c[a?u:++i]=e,e+=o;return c}},4569:(e,t,n)=>{var r=n(5362),o=n(4468),a=n(8756);e.exports=function(e,t){return a(o(e,t,r),e+"")}},8116:(e,t,n)=>{var r=n(7596),o=n(8422),a=n(4363),i=n(5973),u=n(8780);e.exports=function(e,t,n,c){if(!i(e))return e;for(var l=-1,s=(t=o(t,e)).length,f=s-1,p=e;null!=p&&++l<s;){var d=u(t[l]),h=n;if("__proto__"===d||"constructor"===d||"prototype"===d)return e;if(l!=f){var y=p[d];void 0===(h=c?c(y,d,p):void 0)&&(h=i(y)?y:a(t[l+1])?[]:{})}r(p,d,h),p=p[d]}return e}},6024:e=>{e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},3815:e=>{e.exports=function(e,t){for(var n,r=-1,o=e.length;++r<o;){var a=t(e[r]);void 0!==a&&(n=void 0===n?a:n+a)}return n}},454:(e,t,n)=>{var r=n(4690),o=n(6460),a=n(7236),i=n(2945),u=r?r.prototype:void 0,c=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(a(t))return o(t,e)+"";if(i(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},6535:e=>{e.exports=function(e){return function(t){return e(t)}}},4351:(e,t,n)=>{var r=n(1124),o=n(8058),a=n(7431),i=n(555),u=n(8491),c=n(6350);e.exports=function(e,t,n){var l=-1,s=o,f=e.length,p=!0,d=[],h=d;if(n)p=!1,s=a;else if(f>=200){var y=t?null:u(e);if(y)return c(y);p=!1,s=i,h=new r}else h=t?[]:d;e:for(;++l<f;){var v=e[l],b=t?t(v):v;if(v=n||0!==v?v:0,p&&b==b){for(var g=h.length;g--;)if(h[g]===b)continue e;t&&h.push(b),d.push(v)}else s(h,b,n)||(h!==d&&h.push(b),d.push(v))}return d}},555:(e,t,n)=>{var r=n(7650);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},8422:(e,t,n)=>{var r=n(7236),o=n(3266),a=n(3879),i=n(1119);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:a(i(e))}},709:(e,t,n)=>{var r=n(2945);e.exports=function(e,t){if(e!==t){var n=void 0!==e,o=null===e,a=e==e,i=r(e),u=void 0!==t,c=null===t,l=t==t,s=r(t);if(!c&&!s&&!i&&e>t||i&&u&&l&&!c&&!s||o&&u&&l||!n&&l||!a)return 1;if(!o&&!i&&!s&&e<t||s&&n&&a&&!o&&!i||c&&n&&a||!u&&a||!l)return-1}return 0}},1397:(e,t,n)=>{var r=n(709);e.exports=function(e,t,n){for(var o=-1,a=e.criteria,i=t.criteria,u=a.length,c=n.length;++o<u;){var l=r(a[o],i[o]);if(l)return o>=c?l:l*("desc"==n[o]?-1:1)}return e.index-t.index}},6051:(e,t,n)=>{var r=n(7596),o=n(999);e.exports=function(e,t,n,a){var i=!n;n||(n={});for(var u=-1,c=t.length;++u<c;){var l=t[u],s=a?a(n[l],e[l],l,n,e):void 0;void 0===s&&(s=e[l]),i?o(n,l,s):r(n,l,s)}return n}},5580:(e,t,n)=>{var r=n(4802),o=n(2435),a=n(8904),i=n(7236);e.exports=function(e,t){return function(n,u){var c=i(n)?r:o,l=t?t():{};return c(n,e,a(u,2),l)}}},2544:(e,t,n)=>{var r=n(4569),o=n(3108);e.exports=function(e){return r((function(t,n){var r=-1,a=n.length,i=a>1?n[a-1]:void 0,u=a>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,u&&o(n[0],n[1],u)&&(i=a<3?void 0:i,a=1),t=Object(t);++r<a;){var c=n[r];c&&e(t,c,r,i)}return t}))}},3086:(e,t,n)=>{var r=n(8904),o=n(1580),a=n(2635);e.exports=function(e){return function(t,n,i){var u=Object(t);if(!o(t)){var c=r(n,3);t=a(t),n=function(e){return c(u[e],e,u)}}var l=e(t,n,i);return l>-1?u[c?t[l]:l]:void 0}}},9833:(e,t,n)=>{var r=n(797),o=n(3108),a=n(992);e.exports=function(e){return function(t,n,i){return i&&"number"!=typeof i&&o(t,n,i)&&(n=i=void 0),t=a(t),void 0===n?(n=t,t=0):n=a(n),i=void 0===i?t<n?1:-1:a(i),r(t,n,i,e)}}},8491:e=>{e.exports=function(){}},9346:(e,t,n)=>{var r=n(4457),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},2503:(e,t,n)=>{var r=n(1124),o=n(4793),a=n(555);e.exports=function(e,t,n,i,u,c){var l=1&n,s=e.length,f=t.length;if(s!=f&&!(l&&f>s))return!1;var p=c.get(e),d=c.get(t);if(p&&d)return p==t&&d==e;var h=-1,y=!0,v=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++h<s;){var b=e[h],g=t[h];if(i)var m=l?i(g,b,h,t,e,c):i(b,g,h,e,t,c);if(void 0!==m){if(m)continue;y=!1;break}if(v){if(!o(t,(function(e,t){if(!a(v,t)&&(b===e||u(b,e,n,i,c)))return v.push(t)}))){y=!1;break}}else if(b!==g&&!u(b,g,n,i,c)){y=!1;break}}return c.delete(e),c.delete(t),y}},6001:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},8784:(e,t,n)=>{var r=n(6094),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,u){var c=1&n,l=r(e),s=l.length;if(s!=r(t).length&&!c)return!1;for(var f=s;f--;){var p=l[f];if(!(c?p in t:o.call(t,p)))return!1}var d=u.get(e),h=u.get(t);if(d&&h)return d==t&&h==e;var y=!0;u.set(e,t),u.set(t,e);for(var v=c;++f<s;){var b=e[p=l[f]],g=t[p];if(a)var m=c?a(g,b,p,t,e,u):a(b,g,p,e,t,u);if(!(void 0===m?b===g||i(b,g,n,a,u):m)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var x=e.constructor,O=t.constructor;x==O||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof O&&O instanceof O||(y=!1)}return u.delete(e),u.delete(t),y}},3368:(e,t,n)=>{var r=n(5453),o=n(4468),a=n(8756);e.exports=function(e){return a(o(e,void 0,r),e+"")}},4414:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},6094:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},5559:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},9182:(e,t,n)=>{var r=n(1457),o=n(2635);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},4457:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},1407:(e,t,n)=>{var r=n(3717)(Object.getPrototypeOf,Object);e.exports=r},6686:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7383:(e,t,n)=>{var r=n(8422),o=n(6981),a=n(7236),i=n(4363),u=n(9216),c=n(8780);e.exports=function(e,t,n){for(var l=-1,s=(t=r(t,e)).length,f=!1;++l<s;){var p=c(t[l]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++l!=s?f:!!(s=null==e?0:e.length)&&u(s)&&i(p,s)&&(a(e)||o(e))}},1754:(e,t,n)=>{var r=n(4690),o=n(6981),a=n(7236),i=r?r.isConcatSpreadable:void 0;e.exports=function(e){return a(e)||o(e)||!!(i&&e&&e[i])}},4363:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},3108:e=>{e.exports=function(){return!1}},3266:(e,t,n)=>{var r=n(7236),o=n(2945),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||i.test(e)||!a.test(e)||null!=t&&e in Object(t)}},5003:e=>{e.exports=function(){return!1}},1457:(e,t,n)=>{var r=n(5973);e.exports=function(e){return e==e&&!r(e)}},7168:e=>{e.exports=function(){this.__data__=[],this.size=0}},6582:(e,t,n)=>{var r=n(3833),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},3867:(e,t,n)=>{var r=n(3833);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},9557:(e,t,n)=>{var r=n(3833);e.exports=function(e){return r(this.__data__,e)>-1}},2726:(e,t,n)=>{var r=n(3833);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},7375:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},7085:e=>{e.exports=function(e){return e}},1782:(e,t,n)=>{e=n.nmd(e);var r=n(4414),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,u=function(){try{return a&&a.require&&a.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=u},3717:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},4468:(e,t,n)=>{var r=n(5198),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var a=arguments,i=-1,u=o(a.length-t,0),c=Array(u);++i<u;)c[i]=a[t+i];i=-1;for(var l=Array(t+1);++i<t;)l[i]=a[i];return l[t]=n(c),r(e,this,l)}}},441:(e,t,n)=>{var r=n(4414),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},6350:e=>{e.exports=function(){return[]}},8756:e=>{e.exports=function(e){return e}},3879:(e,t,n)=>{var r=n(7085),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(a,"$1"):n||e)})),t}));e.exports=i},8780:e=>{e.exports=function(e){return e}},6782:(e,t,n)=>{var r=n(7596),o=n(6051),a=n(2544),i=n(1580),u=n(5003),c=n(2635),l=Object.prototype.hasOwnProperty,s=a((function(e,t){if(u(t)||i(t))o(t,c(t),e);else for(var n in t)l.call(t,n)&&r(e,n,t[n])}));e.exports=s},7901:(e,t,n)=>{var r=n(4569),o=n(6530),a=n(3108),i=n(5850),u=Object.prototype,c=u.hasOwnProperty,l=r((function(e,t){e=Object(e);var n=-1,r=t.length,l=r>2?t[2]:void 0;for(l&&a(t[0],t[1],l)&&(r=1);++n<r;)for(var s=t[n],f=i(s),p=-1,d=f.length;++p<d;){var h=f[p],y=e[h];(void 0===y||o(y,u[h])&&!c.call(e,h))&&(e[h]=s[h])}return e}));e.exports=l},484:(e,t,n)=>{var r=n(1096),o=n(314),a=n(4569),i=n(9747),u=a((function(e,t){return i(e)?r(e,o(t,1,i,!0)):[]}));e.exports=u},6530:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},6786:(e,t,n)=>{var r=n(3086)(n(8611));e.exports=r},8611:(e,t,n)=>{var r=n(528),o=n(8904),a=n(5225),i=Math.max;e.exports=function(e,t,n){var u=null==e?0:e.length;if(!u)return-1;var c=null==n?0:a(n);return c<0&&(c=i(u+c,0)),r(e,o(t,3),c)}},5453:(e,t,n)=>{var r=n(314);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},3795:(e,t,n)=>{var r=n(166);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},1346:(e,t,n)=>{var r=n(999),o=n(5580),a=Object.prototype.hasOwnProperty,i=o((function(e,t,n){a.call(e,n)?e[n].push(t):r(e,n,[t])}));e.exports=i},3646:(e,t,n)=>{var r=n(7),o=n(7383);e.exports=function(e,t){return null!=e&&o(e,t,r)}},5362:e=>{e.exports=function(e){return e}},6901:(e,t,n)=>{var r=n(7650);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},6981:e=>{e.exports=function(){return!1}},7236:e=>{var t=Array.isArray;e.exports=t},1580:(e,t,n)=>{var r=n(3839),o=n(9216);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},9747:(e,t,n)=>{var r=n(1580),o=n(3387);e.exports=function(e){return o(e)&&r(e)}},8752:e=>{e.exports=function(){return!1}},6834:(e,t,n)=>{var r=n(8803),o=n(6686),a=n(6981),i=n(7236),u=n(1580),c=n(8752),l=n(5003),s=n(4812),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(u(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||s(e)||a(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(l(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},3839:(e,t,n)=>{var r=n(4318),o=n(5973);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},9216:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},6866:e=>{e.exports=function(e){return null==e}},5973:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3387:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},9636:(e,t,n)=>{var r=n(4318),o=n(1407),a=n(3387),i=Function.prototype,u=Object.prototype,c=i.toString,l=u.hasOwnProperty,s=c.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==s}},2654:(e,t,n)=>{var r=n(1131),o=n(6535),a=n(1782),i=a&&a.isRegExp,u=i?o(i):r;e.exports=u},2945:e=>{e.exports=function(){return!1}},4812:e=>{e.exports=function(){return!1}},2635:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},5850:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},5913:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},5492:(e,t,n)=>{var r=n(8904),o=n(5913),a=n(9922);e.exports=function(e,t){return a(e,o(r(t)))}},1473:(e,t,n)=>{var r=n(690),o=n(7236);e.exports=function(e,t,n,a){return null==e?[]:(o(t)||(t=null==t?[]:[t]),o(n=a?void 0:n)||(n=null==n?[]:[n]),r(e,t,n))}},8423:(e,t,n)=>{var r=n(7410),o=n(3368)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},9922:(e,t,n)=>{var r=n(6460),o=n(8904),a=n(6621),i=n(5559);e.exports=function(e,t){if(null==e)return{};var n=r(i(e),(function(e){return[e]}));return t=o(t),a(e,n,(function(e,n){return t(e,n[0])}))}},1651:(e,t,n)=>{var r=n(1712),o=n(4815),a=n(3266),i=n(8780);e.exports=function(e){return a(e)?r(i(e)):o(e)}},9717:(e,t,n)=>{var r=n(9833)();e.exports=r},2290:(e,t,n)=>{var r=n(3815),o=n(5362);e.exports=function(e){return e&&e.length?r(e,o):0}},992:e=>{e.exports=function(e){return e}},5225:(e,t,n)=>{var r=n(992);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},1119:(e,t,n)=>{var r=n(454);e.exports=function(e){return null==e?"":r(e)}},1815:(e,t,n)=>{var r=n(4351);e.exports=function(e){return e&&e.length?r(e):[]}},556:(e,t,n)=>{var r=n(1119),o=0;e.exports=function(e){var t=++o;return r(e)+t}},6205:(e,t,n)=>{var r=n(1096),o=n(4569),a=n(9747),i=o((function(e,t){return a(e)?r(e,t):[]}));e.exports=i},459:(e,t,n)=>{"use strict";var r=n(5704);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},216:(e,t,n)=>{e.exports=n(459)()},5704:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8266:e=>{"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty,o="undefined"!=typeof Element;function a(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){var u,c,l,s=t(e),f=t(i);if(s&&f){if((c=e.length)!=i.length)return!1;for(u=c;0!=u--;)if(!a(e[u],i[u]))return!1;return!0}if(s!=f)return!1;var p=e instanceof Date,d=i instanceof Date;if(p!=d)return!1;if(p&&d)return e.getTime()==i.getTime();var h=e instanceof RegExp,y=i instanceof RegExp;if(h!=y)return!1;if(h&&y)return e.toString()==i.toString();var v=n(e);if((c=v.length)!==n(i).length)return!1;for(u=c;0!=u--;)if(!r.call(i,v[u]))return!1;if(o&&e instanceof Element&&i instanceof Element)return e===i;for(u=c;0!=u--;)if(!("_owner"===(l=v[u])&&e.$$typeof||a(e[l],i[l])))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return a(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},9787:t=>{"use strict";t.exports=e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={id:e,loaded:!1,exports:{}};return t[e](a,a.exports,r),a.loaded=!0,a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var o={};return(()=>{"use strict";r.r(o),r.d(o,{VictoryLegend:()=>Co});var e={};r.r(e),r.d(e,{easeBack:()=>$n,easeBackIn:()=>Gn,easeBackInOut:()=>$n,easeBackOut:()=>Vn,easeBounce:()=>Hn,easeBounceIn:()=>Bn,easeBounceInOut:()=>Kn,easeBounceOut:()=>Hn,easeCircle:()=>qn,easeCircleIn:()=>Wn,easeCircleInOut:()=>qn,easeCircleOut:()=>Rn,easeCubic:()=>jn,easeCubicIn:()=>En,easeCubicInOut:()=>jn,easeCubicOut:()=>kn,easeElastic:()=>Yn,easeElasticIn:()=>Zn,easeElasticInOut:()=>Xn,easeElasticOut:()=>Yn,easeExp:()=>Nn,easeExpIn:()=>zn,easeExpInOut:()=>Nn,easeExpOut:()=>Ln,easeLinear:()=>mn,easePoly:()=>Pn,easePolyIn:()=>An,easePolyInOut:()=>Pn,easePolyOut:()=>Sn,easeQuad:()=>wn,easeQuadIn:()=>xn,easeQuadInOut:()=>wn,easeQuadOut:()=>On,easeSin:()=>In,easeSinIn:()=>Mn,easeSinInOut:()=>In,easeSinOut:()=>_n});var t=r(9787),n=r.n(t),a=r(216),i=r.n(a),u=r(6866),c=r.n(u),l=r(9717),s=r.n(l),f=r(2290),p=r.n(f),d=r(2635),h=r.n(d),y=r(1346),v=r.n(y),b=r(6782),g=r.n(b),m=r(7901),x=r.n(m),O=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(n.length>0)return n.reduce((function(e,t){return[e,O(t)].join(" ")}),O(e)).trim();if(null==e||"string"==typeof e)return e;var o=[];for(var a in e)if(e.hasOwnProperty(a)){var i=e[a];o.push("".concat(a,"(").concat(i,")"))}return o.join(" ").trim()},w=r(8423),E=r.n(w),k=(r(1651),r(3839)),j=r.n(k);function A(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function S(e){var t=function(e){return void 0!==e},n=e._x,r=e._x1,o=e._x0,a=e._voronoiX,i=e._y,u=e._y1,c=e._y0,l=e._voronoiY,s=t(r)?r:n,f=t(u)?u:i,p={x:t(a)?a:s,x0:t(o)?o:n,y:t(l)?l:f,y0:t(c)?c:i};return x()({},p,e)}function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"padding",n=e[t],r="number"==typeof n?n:0,o="object"==typeof n?n:{};return{top:o.top||r,bottom:o.bottom||r,left:o.left||r,right:o.right||r}}function C(e,t){return j()(e)?e(t):e}function T(e,t){return t.disableInlineStyles?{}:e&&h()(e).some((function(t){return j()(e[t])}))?h()(e).reduce((function(n,r){return n[r]=C(e[r],t),n}),{}):e}function M(e){return"number"==typeof e?e*(Math.PI/180):e}function _(e){var t=P(e),n=t.left,r=t.right,o=t.top,a=t.bottom,i=e.width,u=e.height;return Math.min(i-n-r,u-o-a)/2}function I(e,t,r){var o=A(e.theme&&e.theme[r]?e.theme[r]:{},["style"]),a=function(e){if(void 0!==e.horizontal||!e.children)return e.horizontal;var t=function(e){return e.reduce((function(e,r){var o=r.props||{};return e||o.horizontal||!o.children?e=e||o.horizontal:t(n().Children.toArray(o.children))}),!1)};return t(n().Children.toArray(e.children))}(e),i=void 0===a?{}:{horizontal:a};return x()(i,e,o,t)}var D={"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}},z={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},L={em:1,ex:.5},N={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},W=function(e){return Array.isArray(e)?e:e.toString().split(/\r\n|\r|\n/g)},R=function(e,t,n){var r=function(e){return e*Math.PI/180}(n);return Math.abs(Math.cos(r)*e)+Math.abs(Math.sin(r)*t)},q=function(e,t){var n=e.match(/[a-zA-Z%]+/)&&e.match(/[a-zA-Z%]+/)[0],r=e.match(/[0-9.,]+/);return n?z.hasOwnProperty(n)?r*z[n]:L.hasOwnProperty(n)?(t?r*t:r*N.fontSize)*L[n]:r:r||0},F=function(e,t){var n=Array.isArray(e)?e[t]:e,r=x()({},n,N);return g()({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:q(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:q(String(r.fontSize))})},B=function(e,t){if(void 0===e||""===e||null===e)return 0;var n,r=W(e).map((function(e,n){var r,o,a=e.toString().length,i=F(t,n),u=i.fontSize,c=i.letterSpacing,l=(r=i.fontFamily,o=r.split(",").map((function(e){return e.replace(/'|"/g,"")})).find((function(e){return D[e]}))||"Helvetica",D[o]);return e.toString().split("").map((function(e){return e.charCodeAt(0)<l.widths.length?l.widths[e.charCodeAt(0)]:l.avg})).reduce((function(e,t){return t+e}),0)*u+c*Math.max(a-1,0)}));return Math.max.apply(Math,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(n=r)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}())},H=function(e,t){return function(e,t){var n=Array.isArray(t)?t[0]&&t[0].angle:t&&t.angle,r=function(e,t){return void 0===e||""===e||null===e?0:W(e).reduce((function(e,n,r){var o=F(t,r),a=n.toString().match(/[(A-Z)(0-9)]/)?1.15*o.fontSize:o.fontSize;return e+o.lineHeight*a}),0)}(e,t),o=B(e,t);return{width:n?R(o,r,n):o,height:1.05*(n?R(r,o,n):r)}}(e,t)};function K(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var G=function(e){var t=e.data,n=e.style;return t.map((function(e,r){return T(x()({},e.labels,n.labels),{datum:e,index:r,data:t})}))},V=function(e){var t=e.orientation,n=e.theme,r=function(e,t){var n=e.style||{};return t=t||{},{parent:x()(n.parent,t.parent,{height:"100%",width:"100%"}),data:x()({},n.data,t.data),labels:x()({},n.labels,t.labels),border:x()({},n.border,t.border),title:x()({},n.title,t.title)}}(e,n&&n.legend&&n.legend.style?n.legend.style:{}),o=function(e){var t,n,r=e.colorScale;return"string"==typeof r?(n={grayscale:["#cccccc","#969696","#636363","#252525"],qualitative:["#334D5C","#45B29D","#EFC94C","#E27A3F","#DF5A49","#4F7DA1","#55DBC1","#EFDA97","#E2A37F","#DF948A"],heatmap:["#428517","#77D200","#D6D305","#EC8E19","#C92B05"],warm:["#940031","#C43343","#DC5429","#FF821D","#FFAF55"],cool:["#2746B9","#0B69D4","#2794DB","#31BB76","#60E83B"],red:["#FCAE91","#FB6A4A","#DE2D26","#A50F15","#750B0E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"]},(t=r)?n[t]:n.grayscale):r||[]}(e),a="horizontal"===t,i=P({padding:e.borderPadding});return g()({},e,{style:r,isHorizontal:a,colorScale:o,borderPadding:i})},$=function(e,t){var n=e.itemsPerRow,r=e.isHorizontal;return n?r?t%n:Math.floor(t/n):r?t:0},Q=function(e,t){var n=e.itemsPerRow,r=e.isHorizontal;return n?r?Math.floor(t/n):t%n:r?0:t},Z=function(e){var t=e.data,n=e.style&&e.style.data||{},r=G(e);return t.map((function(t,o){var a=t.symbol||{},i=r[o].fontSize,u=a.size||n.size||i/2.5;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){U(e,t,n[t])}))}return e}({},t,{size:u,symbolSpacer:e.symbolSpacer||Math.max(u,i),fontSize:i,textSize:H(t.name,r[o]),column:$(e,o),row:Q(e,o)})}))},Y=function(e,t){var n=e.gutter||{},r="object"==typeof n?(n.left||0)+(n.right||0):n||0,o=v()(t,"column");return h()(o).reduce((function(e,t,n){var a=o[t].map((function(e){return e.textSize.width+e.size+e.symbolSpacer+r}));return e[n]=Math.max.apply(Math,K(a)),e}),[])},X=function(e,t){var n=e.rowGutter||{},r="object"==typeof n?(n.top||0)+(n.bottom||0):n||0,o=v()(t,"row");return h()(o).reduce((function(e,t,n){var a=o[t].map((function(e){return e.textSize.height+e.symbolSpacer+r}));return e[n]=Math.max.apply(Math,K(a)),e}),[])},J=function(e){var t=e.style&&e.style.title||{},n=H(e.title,t),r=t.padding||0;return{height:n.height+2*r||0,width:n.width+2*r||0}},ee=function(e,t){var n=I(e,t,"legend"),r=e=g()({},n,V(n)),o=r.title,a=r.titleOrientation,i=Z(e),u=Y(e,i),c=X(e,i),l=o?J(e):{height:0,width:0};return{height:"left"===a||"right"===a?Math.max(p()(c),l.height):p()(c)+l.height,width:"left"===a||"right"===a?p()(u)+l.width:Math.max(p()(u),l.width)}},te=function(e,t){var n=I(e,t,"legend"),r=e=g()({},n,V(n)),o=r.data,a=r.standalone,i=r.theme,u=r.padding,l=r.style,f=r.colorScale,p=r.gutter,d=r.rowGutter,h=r.borderPadding,y=r.title,v=r.titleOrientation,b=r.name,m=r.x,O=void 0===m?0:m,w=r.y,E=void 0===w?0:w,k=Z(e),j=Y(e,k),A=X(e,k),S=G(e),P=y?J(e):{height:0,width:0},C="left"===v?P.width:0,T="top"===v?P.height:0,M=p&&"object"==typeof p&&p.left||0,_=d&&"object"==typeof d&&d.top||0,D=ee(e,t),z=function(e,t,n){var r=e.x,o=e.y,a=e.borderPadding,i=e.style;return{x:r,y:o,height:(t||0)+a.top+a.bottom,width:(n||0)+a.left+a.right,style:g()({fill:"none"},i.border)}}(e,D.height,D.width),L=function(e,t){var n=e.title,r=e.titleOrientation,o=e.centerTitle,a=e.borderPadding,i=t.height,u=t.width,c=function(e){var t=e.titleOrientation,n=e.centerTitle,r=e.titleComponent,o=e.style&&e.style.title||{},a=r.props&&r.props.style||{},i=function(e,t){var n={textAnchor:"right"===e?"end":"start",verticalAnchor:"bottom"===e?"end":"start"};if(t){var r="top"===e||"bottom"===e;return{textAnchor:r?"middle":n.textAnchor,verticalAnchor:r?n.verticalAnchor:"middle"}}return n}(t,n);return Array.isArray(a)?a.map((function(e){return x()({},e,o,i)})):x()({},a,o,i)}(e),l=Array.isArray(c)?c[0].padding:c.padding,s="top"===r||"bottom"===r,f="right"===r?"right":"left",p={x:o?u/2:a["bottom"===r?"bottom":"top"]+(l||0),y:o?i/2:a[f]+(l||0)},d=function(){return a[r]+(l||0)},h=s?p.x:d(),y=s?d():p.y;return{x:"right"===r?e.x+u-h:e.x+h,y:"bottom"===r?e.y+i-y:e.y+y,style:c,text:n}}(e,z),N={parent:{data:o,standalone:a,theme:i,padding:u,name:b,height:e.height,width:e.width,style:l.parent},all:{border:z,title:L}};return k.reduce((function(e,t,n){var r=f[n%f.length],a=x()({},t.symbol,l.data,{fill:r}),i=c()(t.eventKey)?n:t.eventKey,u=function(e,t,n){var r=e.column,o=e.row;return{x:s()(r).reduce((function(e,t){return e+n[t]}),0),y:s()(o).reduce((function(e,n){return e+t[n]}),0)}}(t,A,j),p=E+h.top+t.symbolSpacer,d=O+h.left+t.symbolSpacer,y={index:n,data:o,datum:t,symbol:a.type||a.symbol||"circle",size:t.size,style:a,y:p+u.y+T+_,x:d+u.x+C+M},v={datum:t,data:o,text:t.name,style:S[n],y:y.y,x:y.x+t.symbolSpacer+t.size/2};return e[i]={data:y,labels:v},e}),N)},ne=r(2654),re=r.n(ne),oe=r(6786),ae=r.n(oe),ie=function(e){var t=function(t,n,r,o){var a=n[r];if(null==a)return t?new Error("Required `".concat(r,"` was not specified in `").concat(o,"`.")):null;for(var i=arguments.length,u=new Array(i>4?i-4:0),c=4;c<i;c++)u[c-4]=arguments[c];return e.apply(void 0,[n,r,o].concat(u))},n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},ue=function(){return null},ce=function(){},le=function(e){return void 0===e?ce:null===e?ue:e.constructor},se=function(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).slice(8,-1)};function fe(e){return ie((function(t,n,r){for(var o=arguments.length,a=new Array(o>3?o-3:0),i=3;i<o;i++)a[i-3]=arguments[i];return e.reduce((function(e,o){return e||o.apply(void 0,[t,n,r].concat(a))}),void 0)}))}var pe=ie((function(e,t,n){var r=e[t];if("number"!=typeof r||r<0)return new Error("`".concat(t,"` in `").concat(n,"` must be a non-negative number."))})),de=ie((function(e,t,n){var r=e[t];if("number"!=typeof r||r%1!=0)return new Error("`".concat(t,"` in `").concat(n,"` must be an integer."))})),he=(ie((function(e,t,n){var r=e[t];if("number"!=typeof r||r<=0)return new Error("`".concat(t,"` in `").concat(n,"` must be a number greater than zero."))})),ie((function(e,t,n){var r=e[t];if(!Array.isArray(r)||2!==r.length||r[1]===r[0])return new Error("`".concat(t,"` in `").concat(n,"` must be an array of two unique numeric values."))}))),ye=ie((function(e,t,n){var r;if(r=e[t],!(j()(r)?j()(r.copy)&&j()(r.domain)&&j()(r.range):"string"==typeof r&&-1!==["linear","time","log","sqrt"].indexOf(r)))return new Error("`".concat(t,"` in `").concat(n,"` must be a d3 scale."))})),ve=(ie((function(e,t,n){var r=e[t];if(!Array.isArray(r))return new Error("`".concat(t,"` in `").concat(n,"` must be an array."));if(!(r.length<2)){var o=le(r[0]),a=ae()(r,(function(e){return o!==le(e)}));if(a){var i=se(r[0]),u=se(a);return new Error("Expected `".concat(t,"` in `").concat(n,"` to be a ")+"homogeneous array, but found types `".concat(i,"` and ")+"`".concat(u,"`."))}}})),ie((function(e,t){if(e[t]&&Array.isArray(e[t])&&e[t].length!==e.data.length)return new Error("Length of data and ".concat(t," arrays must match."))})),ie((function(e,t,n){if(e[t]&&!re()(e[t]))return new Error("`".concat(t,"` in `").concat(n,"` must be a regular expression."))})),i().oneOfType([i().arrayOf(i().string),i().shape({x:i().arrayOf(i().string),y:i().arrayOf(i().string)})]),i().oneOfType([i().array,i().object]),i().element,i().bool,i().element,i().oneOfType([i().func,i().array]),i().oneOfType([i().func,fe([de,pe]),i().string,i().arrayOf(i().string)]),i().oneOf(["ascending","descending"]),i().shape({parent:i().object,data:i().object,labels:i().object}),i().oneOfType([i().func,fe([de,pe]),i().string,i().arrayOf(i().string)]),i().oneOfType([i().func,fe([de,pe]),i().string,i().arrayOf(i().string)]),i().oneOfType([i().func,fe([de,pe]),i().string,i().arrayOf(i().string)]),i().oneOfType([i().bool,i().object]),i().element,i().oneOfType([he,i().shape({x:he,y:he})]),i().oneOfType([i().number,i().instanceOf(Date),i().shape({x:i().oneOfType([i().number,i().instanceOf(Date)]),y:i().oneOfType([i().number,i().instanceOf(Date)])})]),i().oneOfType([i().number,i().instanceOf(Date),i().shape({x:i().oneOfType([i().number,i().instanceOf(Date)]),y:i().oneOfType([i().number,i().instanceOf(Date)])})]),i().oneOfType([i().shape({x:i().oneOfType([i().number,i().arrayOf(i().number)]),y:i().oneOfType([i().number,i().arrayOf(i().number)])}),i().number,i().arrayOf(i().number)]),i().oneOfType([i().func,fe([de,pe]),i().string]),i().arrayOf(i().shape({target:i().oneOf(["data","labels","parent"]),eventKey:i().oneOfType([i().array,fe([de,pe]),i().string]),eventHandlers:i().object})),i().arrayOf(i().shape({callback:i().function,childName:i().oneOfType([i().string,i().array]),eventKey:i().oneOfType([i().array,fe([de,pe]),i().string]),mutation:i().function,target:i().oneOfType([i().string,i().array])})),i().element,i().string,i().shape({x:i().number,y:i().number}),i().oneOfType([i().number,i().shape({top:i().number,bottom:i().number,left:i().number,right:i().number})]),i().bool,i().oneOfType([he,i().shape({x:he,y:he})]),i().oneOfType([ye,i().shape({x:ye,y:ye})]),i().shape({events:i().array,getEventState:i().func}),i().oneOfType([i().bool,i().shape({x:i().oneOfType([i().bool]),y:i().oneOfType([i().bool])})]),i().bool,i().object,{active:i().bool,ariaLabel:i().oneOfType([i().string,i().func]),className:i().string,clipPath:i().string,data:i().oneOfType([i().array,i().object]),desc:i().oneOfType([i().string,i().func]),disableInlineStyles:i().bool,events:i().object,id:i().oneOfType([i().number,i().string,i().func]),index:i().oneOfType([i().number,i().string]),origin:i().shape({x:i().number,y:i().number}),polar:i().bool,role:i().string,scale:i().oneOfType([ye,i().shape({x:ye,y:ye})]),shapeRendering:i().string,style:i().object,tabIndex:i().oneOfType([i().number,i().func]),transform:i().string});function be(){return be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},be.apply(this,arguments)}const ge=function(e){var t=e.desc,r=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["desc"]);return t?n().createElement("rect",be({vectorEffect:"non-scaling-stroke"},r),n().createElement("desc",null,t)):n().createElement("rect",be({vectorEffect:"non-scaling-stroke"},r))};function me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){xe(e,t,n[t])}))}return e}function xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Oe=function(e){return e=function(e){var t=C(e.ariaLabel,e),n=C(e.desc,e),r=C(e.id,e),o=T(g()({fill:"none"},e.style),e),a=C(e.tabIndex,e);return g()({},e,{ariaLabel:t,desc:n,id:r,style:o,tabIndex:a})}(e),n().cloneElement(e.rectComponent,me({},e.events,{"aria-label":e.ariaLabel,style:e.style,desc:e.desc,tabIndex:e.tabIndex,transform:e.transform,className:e.className,role:e.role,shapeRendering:e.shapeRendering,x:e.x,y:e.y,width:e.width,height:e.height,clipPath:e.clipPath}))};Oe.propTypes=me({},ve,{height:i().number,rectComponent:i().element,width:i().number,x:i().number,y:i().number}),Oe.defaultProps={rectComponent:n().createElement(ge,null),role:"presentation",shapeRendering:"auto"};const we=Oe;var Ee=r(5973),ke=r.n(Ee),je=r(556),Ae=r.n(je);function Se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Ce=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Pe(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).map={},n.index=1,n.portalUpdate=n.portalUpdate.bind(Pe(n)),n.portalRegister=n.portalRegister.bind(Pe(n)),n.portalDeregister=n.portalDeregister.bind(Pe(n)),n}var r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r=t,(o=[{key:"portalRegister",value:function(){return++this.index}},{key:"portalUpdate",value:function(e,t){this.map[e]=t,this.forceUpdate()}},{key:"portalDeregister",value:function(e){delete this.map[e],this.forceUpdate()}},{key:"getChildren",value:function(){var e=this;return h()(this.map).map((function(t){var r=e.map[t];return r?n().cloneElement(r,{key:t}):r}))}},{key:"render",value:function(){return n().createElement("svg",this.props,this.getChildren())}}])&&Se(r.prototype,o),t}(n().Component);Object.defineProperty(Ce,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"Portal"}),Object.defineProperty(Ce,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:i().string,height:pe,style:i().object,viewBox:i().string,width:pe}});var Te=n().createContext({});Te.displayName="PortalContext";const Me=Te;var _e,Ie,De=0,ze=0,Le=0,Ne=0,We=0,Re=0,qe="object"==typeof performance&&performance.now?performance:Date,Fe="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Be(){return We||(Fe(He),We=qe.now()+Re)}function He(){We=0}function Ke(){this._call=this._time=this._next=null}function Ue(e,t,n){var r=new Ke;return r.restart(e,t,n),r}function Ge(){We=(Ne=qe.now())+Re,De=ze=0;try{!function(){Be(),++De;for(var e,t=_e;t;)(e=We-t._time)>=0&&t._call.call(null,e),t=t._next;--De}()}finally{De=0,function(){for(var e,t,n=_e,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:_e=t);Ie=e,$e(r)}(),We=0}}function Ve(){var e=qe.now(),t=e-Ne;t>1e3&&(Re-=t,Ne=e)}function $e(e){De||(ze&&(ze=clearTimeout(ze)),e-We>24?(e<1/0&&(ze=setTimeout(Ge,e-qe.now()-Re)),Le&&(Le=clearInterval(Le))):(Le||(Ne=qe.now(),Le=setInterval(Ve,1e3)),De=1,Fe(Ge)))}function Qe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Ke.prototype=Ue.prototype={constructor:Ke,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?Be():+n)+(null==t?0:+t),this._next||Ie===this||(Ie?Ie._next=this:_e=this,Ie=this),this._call=e,this._time=n,$e()},stop:function(){this._call&&(this._call=null,this._time=1/0,$e())}};var Ze=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.shouldAnimate=!0,this.subscribers=[],this.loop=this.loop.bind(this),this.timer=null,this.activeSubscriptions=0}var t,n;return t=e,(n=[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"loop",value:function(){this.subscribers.forEach((function(e){e.callback(Be()-e.startTime,e.duration)}))}},{key:"start",value:function(){this.timer||(this.timer=Ue(this.loop))}},{key:"stop",value:function(){this.timer&&(this.timer.stop(),this.timer=null)}},{key:"subscribe",value:function(e,t){t=this.shouldAnimate?t:0;var n=this.subscribers.push({startTime:Be(),callback:e,duration:t});return this.activeSubscriptions++,this.start(),n}},{key:"unsubscribe",value:function(e){null!==e&&this.subscribers[e-1]&&(delete this.subscribers[e-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}])&&Qe(t.prototype,n),e}(),Ye=n().createContext({transitionTimer:new Ze,animationTimer:new Ze});Ye.displayName="TimerContext";const Xe=Ye;function Je(){return Je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Je.apply(this,arguments)}function et(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){tt(e,t,n[t])}))}return e}function tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var rt=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).containerId=ke()(e)&&void 0!==e.containerId?e.containerId:Ae()("victory-container-"),n.savePortalRef=function(e){return n.portalRef=e,e},n.portalUpdate=function(e,t){return n.portalRef.portalUpdate(e,t)},n.portalRegister=function(){return n.portalRef.portalRegister()},n.portalDeregister=function(e){return n.portalRef.portalDeregister(e)},n.saveContainerRef=e&&j()(e.containerRef)?e.containerRef:function(e){return n.containerRef=e,e},n.shouldHandleWheel=e&&e.events&&e.events.onWheel,n.shouldHandleWheel&&(n.handleWheel=function(e){return e.preventDefault()}),n}var r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r=t,(o=[{key:"componentDidMount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}},{key:"componentWillUnmount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}},{key:"getIdForElement",value:function(e){return"".concat(this.containerId,"-").concat(e)}},{key:"getChildren",value:function(e){return e.children}},{key:"getOUIAProps",value:function(e){var t=e.ouiaId,n=e.ouiaSafe,r=e.ouiaType;return et({},t&&{"data-ouia-component-id":t},r&&{"data-ouia-component-type":r},void 0!==n&&{"data-ouia-safe":n})}},{key:"renderContainer",value:function(e,t,r){var o=e.title,a=e.desc,i=e.portalComponent,u=e.className,c=e.width,l=e.height,s=e.portalZIndex,f=e.responsive,p=this.getChildren(e),d=f?{width:"100%",height:"100%"}:{width:c,height:l},h=g()({pointerEvents:"none",touchAction:"none",position:"relative"},d),y=g()({zIndex:s,position:"absolute",top:0,left:0},d),v=g()({pointerEvents:"all"},d),b=g()({overflow:"visible"},d),m={width:c,height:l,viewBox:t.viewBox,preserveAspectRatio:t.preserveAspectRatio,style:b};return n().createElement(Me.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},n().createElement("div",Je({style:x()({},r,h),className:u,ref:this.saveContainerRef},this.getOUIAProps(e)),n().createElement("svg",Je({},t,{style:v}),o?n().createElement("title",{id:this.getIdForElement("title")},o):null,a?n().createElement("desc",{id:this.getIdForElement("desc")},a):null,p),n().createElement("div",{style:y},n().cloneElement(i,et({},m,{ref:this.savePortalRef})))))}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r=e.responsive,o=e.events,a=e.title,i=e.desc,u=e.tabIndex,c=e.preserveAspectRatio,l=e.role,s=r?this.props.style:A(this.props.style,["height","width"]),f=g()({width:t,height:n,tabIndex:u,role:l,"aria-labelledby":[a&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[i&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:r?"0 0 ".concat(t," ").concat(n):void 0,preserveAspectRatio:r?c:void 0},o);return this.renderContainer(this.props,f,s)}}])&&nt(r.prototype,o),t}(n().Component);Object.defineProperty(rt,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryContainer"}),Object.defineProperty(rt,"role",{configurable:!0,enumerable:!0,writable:!0,value:"container"}),Object.defineProperty(rt,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{"aria-describedby":i().string,"aria-labelledby":i().string,children:i().oneOfType([i().arrayOf(i().node),i().node]),className:i().string,containerId:i().oneOfType([i().number,i().string]),containerRef:i().func,desc:i().string,events:i().object,height:pe,name:i().string,origin:i().shape({x:pe,y:pe}),ouiaId:i().oneOfType([i().number,i().string]),ouiaSafe:i().bool,ouiaType:i().string,polar:i().bool,portalComponent:i().element,portalZIndex:de,preserveAspectRatio:i().string,responsive:i().bool,role:i().string,style:i().object,tabIndex:i().number,theme:i().object,title:i().string,width:pe}}),Object.defineProperty(rt,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{className:"VictoryContainer",portalComponent:n().createElement(Ce,null),portalZIndex:99,responsive:!0,role:"img"}}),Object.defineProperty(rt,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Xe});const ot={circle:function(e,t,n){return"M ".concat(e,", ").concat(t,"\n m ").concat(-n,", 0\n a ").concat(n,", ").concat(n," 0 1,0 ").concat(2*n,",0\n a ").concat(n,", ").concat(n," 0 1,0 ").concat(2*-n,",0")},square:function(e,t,n){var r=.87*n,o=e-r,a=t+r,i=e+r-o;return"M ".concat(o,", ").concat(a,"\n h").concat(i,"\n v-").concat(i,"\n h-").concat(i,"\n z")},diamond:function(e,t,n){var r=.87*n,o=Math.sqrt(r*r*2);return"M ".concat(e,", ").concat(t+o,"\n l ").concat(o,", -").concat(o,"\n l -").concat(o,", -").concat(o,"\n l -").concat(o,", ").concat(o,"\n l ").concat(o,", ").concat(o,"\n z")},triangleDown:function(e,t,n){var r=e+n,o=t-n,a=t+n/2*Math.sqrt(3);return"M ".concat(e-n,", ").concat(o,"\n L ").concat(r,", ").concat(o,"\n L ").concat(e,", ").concat(a,"\n z")},triangleUp:function(e,t,n){var r=e+n,o=t-n/2*Math.sqrt(3),a=t+n;return"M ".concat(e-n,", ").concat(a,"\n L ").concat(r,", ").concat(a,"\n L ").concat(e,", ").concat(o,"\n z")},plus:function(e,t,n){var r=1.1*n,o=r/1.5;return"\n M ".concat(e-o/2,", ").concat(t+r,"\n v-").concat(o,"\n h-").concat(o,"\n v-").concat(o,"\n h").concat(o,"\n v-").concat(o,"\n h").concat(o,"\n v").concat(o,"\n h").concat(o,"\n v").concat(o,"\n h-").concat(o,"\n v").concat(o,"\n z")},cross:function(e,t,n){var r=.8*n,o=r/1.5;return"\n M ".concat(e-o/2,", ").concat(t+r+o,"\n v-").concat(2*o,"\n h-").concat(o,"\n v-").concat(o,"\n h").concat(o,"\n v-").concat(o,"\n h").concat(o,"\n v").concat(o,"\n h").concat(o,"\n v").concat(o,"\n h-").concat(o,"\n v").concat(2*o,"\n z")},minus:function(e,t,n){var r=1.1*n,o=r-.3*r,a=e-r,i=t+o/2,u=e+r-a;return"M ".concat(a,", ").concat(i,"\n h").concat(u,"\n v-").concat(o,"\n h-").concat(u,"\n z")},star:function(e,t,n){var r=1.35*n,o=Math.PI/5,a=s()(10).map((function(n){var a=n%2==0?r:r/2;return"".concat(a*Math.sin(o*(n+1))+e,",\n ").concat(a*Math.cos(o*(n+1))+t)}));return"M ".concat(a.join("L")," z")}};function at(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){it(e,t,n[t])}))}return e}function it(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ut=function(e){var t=e.x,n=e.y,r=e.size,o=e.symbol;if(e.getPath)return e.getPath(t,n,r);var a={circle:ot.circle,square:ot.square,diamond:ot.diamond,triangleDown:ot.triangleDown,triangleUp:ot.triangleUp,plus:ot.plus,minus:ot.minus,star:ot.star,cross:ot.cross};return("function"==typeof a[o]?a[o]:a.circle)(t,n,r)},ct=function(e){return e=function(e){var t=C(e.ariaLabel,e),n=C(e.desc,e),r=C(e.id,e),o=C(e.size,e),a=T(e.style,e),i=C(e.symbol,e),u=C(e.tabIndex,e);return g()({},e,{ariaLabel:t,desc:n,id:r,size:o,style:a,symbol:i,tabIndex:u})}(e),n().cloneElement(e.pathComponent,at({},e.events,{"aria-label":e.ariaLabel,d:ut(e),style:e.style,desc:e.desc,tabIndex:e.tabIndex,role:e.role,shapeRendering:e.shapeRendering,className:e.className,transform:e.transform,clipPath:e.clipPath}))};ct.propTypes=at({},ve,{datum:i().object,getPath:i().func,pathComponent:i().element,size:i().oneOfType([i().number,i().func]),symbol:i().oneOfType([i().oneOf(["circle","cross","diamond","plus","minus","square","star","triangleDown","triangleUp"]),i().func]),x:i().number,y:i().number}),ct.defaultProps={pathComponent:n().createElement((function(e){var t=e.desc,r=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["desc"]);return t?n().createElement("path",r,n().createElement("desc",null,t)):n().createElement("path",r)}),null),role:"presentation",shapeRendering:"auto"};const lt=ct;var st=r(6834),ft=r.n(st);function pt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ht(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var yt=function(e){function t(){return pt(this,t),ht(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r=t,(o=[{key:"componentDidMount",value:function(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}},{key:"componentDidUpdate",value:function(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}},{key:"componentWillUnmount",value:function(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}},{key:"renderPortal",value:function(e){return this.renderInPlace?e:(this.element=e,null)}},{key:"render",value:function(){var e=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,t=this.props.groupComponent,r=e&&e.props||{},o=r.groupComponent?{groupComponent:t,standalone:!1}:{},a=x()(o,r,A(this.props,["children","groupComponent"])),i=e&&n().cloneElement(e,a);return this.renderPortal(i)}}])&&dt(r.prototype,o),t}(n().Component);Object.defineProperty(yt,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryPortal"}),Object.defineProperty(yt,"role",{configurable:!0,enumerable:!0,writable:!0,value:"portal"}),Object.defineProperty(yt,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:i().node,groupComponent:i().element}}),Object.defineProperty(yt,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:n().createElement("g",null)}}),Object.defineProperty(yt,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Me});var vt=function(e){var t=e.children,r=e.title,o=e.desc,a=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","title","desc"]);return n().createElement("text",a,r&&n().createElement("title",null,r),o&&n().createElement("desc",null,o),t)};vt.propTypes={children:i().node,desc:i().string,title:i().string};const bt=vt;function gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mt(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var xt={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},Ot=function(e,t){if(!e.datum)return 0;var n=function(e,t){var n=e.scale,r=e.polar,o=e.horizontal,a=S(t),i=e.origin||{x:0,y:0},u=o?n.y(a.y):n.x(a.x),c=o?n.y(a.y0):n.x(a.x0),l=o?n.x(a.x):n.y(a.y),s=o?n.x(a.x0):n.y(a.y0);return{x:r?l*Math.cos(u)+i.x:u,x0:r?s*Math.cos(c)+i.x:c,y:r?-l*Math.sin(u)+i.y:l,y0:r?-s*Math.sin(c)+i.x:s}}(e,e.datum);return n[t]},wt=function(e){var t=e&&e.fontSize;if("number"==typeof t)return t;if(null==t)return xt.fontSize;if("string"==typeof t){var n=+t.replace("px","");return isNaN(n)?xt.fontSize:n}return xt.fontSize},Et=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(e)?e[t]||e[0]:e},kt=function(e){var t=e.backgroundStyle,n=e.backgroundPadding;return Array.isArray(t)&&!ft()(t)||Array.isArray(n)&&!ft()(n)},jt=function(e,t,n){var r=e.polar,o=Et(e.style),a=r?function(e,t){var n=e.labelPlacement,r=e.datum;if(!n||"vertical"===n)return 0;var o=function(e,t){var n,r=S(t).x;return("number"==typeof(n=e.scale.x(r))?n/(Math.PI/180):n)%360}(e,r),a=0;return 0===o||180===o?a=90:o>0&&o<180?a=90-o:o>180&&o<360&&(a=270-o),a+(o>90&&o<180||o>270?1:-1)*("perpendicular"===n?0:90)}(e):0,i=void 0===o.angle?C(e.angle,e):o.angle,u=void 0===i?a:i,c=e.transform||o.transform,l=c&&C(c,e);return l||u?O(l,u&&{rotate:[u,t,n]}):void 0},At=function(e,t){var n=e.direction,r=e.textAnchor,o=e.x,a=e.dx;if("rtl"===n)return o-t;switch(r){case"middle":return Math.round(o-t/2);case"end":return Math.round(o-t);default:return o+(a||0)}},St=function(e,t){var n=e.verticalAnchor,r=e.y,o=e.originalDy,a=r+(void 0===o?0:o);switch(n){case"start":return Math.floor(a);case"end":return Math.ceil(a-t);default:return Math.floor(a-t/2)}},Pt=function(e,t){return kt(e)?function(e,t){var r=e.dy,o=e.dx,a=e.transform,i=e.backgroundStyle,u=e.backgroundPadding,c=e.backgroundComponent,l=e.inline,s=e.y,f=t.map((function(e,n){var a=Et(t,n-1),i=e.textSize,c=e.fontSize*e.lineHeight,f=Math.ceil(c),p=Et(u,n),d=Et(u,n-1),h=l&&o||0,y=n&&!l?a.fontSize*a.lineHeight+d.top+d.bottom:r-.5*c-(e.fontSize-e.capHeight);return{textHeight:f,labelSize:i,heightWithPadding:f+p.top+p.bottom,widthWithPadding:i.width+p.left+p.right+h,y:s,fontSize:e.fontSize,dy:y}}));return f.map((function(t,r){var o=At(e,t.labelSize.width),p=f.slice(0,r+1).reduce((function(e,t){return e+t.dy}),s),d=Et(u,r),h=t.heightWithPadding,y=l?function(e,t,n){var r=e.textAnchor,o=t.map((function(e){return e.widthWithPadding})),a=-o.reduce((function(e,t){return e+t}),0)/2;switch(r){case"start":return o.reduce((function(e,t,r){return r<n?e+t:e}),0);case"end":return o.reduce((function(e,t,r){return r>n?e-t:e}),0);default:return o.reduce((function(e,t,r){return r===n?e+t/2:e+(r<n?t:0)}),a)}}(e,f,r)+o-d.left:o,v=l?St(e,h)-d.top:p,b={key:"tspan-background-".concat(r),height:h,style:Et(i,r),width:t.widthWithPadding,transform:a,x:y-d.left,y:v};return n().cloneElement(c,x()({},c.props,b))}))}(e,t):function(e,t){var r=e.dx,o=void 0===r?0:r,a=e.transform,i=e.backgroundComponent,u=e.backgroundStyle,c=e.inline,l=e.backgroundPadding,s=e.capHeight,f=t.map((function(e){return e.textSize})),p=c?Math.max.apply(Math,mt(f.map((function(e){return e.height})))):f.reduce((function(e,n,r){var o=r?0:s/2;return e+n.height*(t[r].lineHeight-o)}),0),d=c?f.reduce((function(e,t,n){var r=n?o:0;return e+t.width+r}),0):Math.max.apply(Math,mt(f.map((function(e){return e.width})))),h=At(e,d),y=St(e,p),v={key:"background",height:p+l.top+l.bottom,style:u,transform:a,width:d+l.left+l.right,x:c?h-l.left:h+o-l.left,y};return n().cloneElement(i,x()({},i.props,v))}(e,t)},Ct=function(e,t,n){var r=t.inline,o=Et(e,n);return n&&!r?function(e,t,n){var r=Et(e,t),o=Et(e,t-1),a=o.fontSize*o.lineHeight,i=r.fontSize*r.lineHeight,u=o.fontSize-o.capHeight,c=r.fontSize-r.capHeight,l=a-o.fontSize/2+r.fontSize/2-a/2+i/2-c/2+u/2;return kt(n)?l+r.backgroundPadding.top+o.backgroundPadding.bottom:l}(e,n,t):r?0===n?o.backgroundPadding.top:void 0:o.backgroundPadding.top},Tt=function(e){if(null===(e=function(e){var t=function(e,t){if(null!=e){if(Array.isArray(e))return e.map((function(e){return C(e,t)}));var n=C(e,t);if(null!=n)return Array.isArray(n)?n:"".concat(n).split("\n")}}(e.text,e),n=function(e,t){if(t.disableInlineStyles){var n=T(e,t);return{fontSize:wt(n)}}var r=function(e){var n=T(e=e?x()({},e,xt):xt,t);return g()({},n,{fontSize:wt(n)})};return Array.isArray(e)&&!ft()(e)?e.map((function(e){return r(e)})):r(e)}(e.style,g()({},e,{text:t})),r=function(e,t){if(e)return Array.isArray(e)&&!ft()(e)?e.map((function(e){return T(e,t)})):T(e,t)}(e.backgroundStyle,g()({},e,{text:t,style:n})),o=function(e){return e.backgroundPadding&&Array.isArray(e.backgroundPadding)?e.backgroundPadding.map((function(t){return P({padding:C(t,e)})})):P({padding:C(e.backgroundPadding,e)})}(g()({},e,{text:t,style:n,backgroundStyle:r})),a=C(e.id,e);return g()({},e,{backgroundStyle:r,backgroundPadding:o,style:n,text:t,id:a})}(e)).text||void 0===e.text)return null;var t=function(e){var t=C(e.ariaLabel,e),n=Et(e.style),r=function(e){var t=C(e.lineHeight,e);return Array.isArray(t)&&ft()(t)?[1]:t}(e),o=e.direction?C(e.direction,e):"inherit",a=e.textAnchor?C(e.textAnchor,e):n.textAnchor||"start",i=e.verticalAnchor?C(e.verticalAnchor,e):n.verticalAnchor||"middle",u=e.dx?C(e.dx,e):0,c=function(e,t,n){var r=e.dy?C(e.dy,e):0,o=e.inline?1:e.text.length,a=C(e.capHeight,e),i=t?C(t,e):"middle",u=mt(Array(o).keys()).map((function(t){return Et(e.style,t).fontSize})),c=mt(Array(o).keys()).map((function(e){return Et(n,e)}));if("start"===i)return r+(a/2+c[0]/2)*u[0];if(e.inline)return"end"===i?r+(a/2-c[0]/2)*u[0]:r+a/2*u[0];if(1===o)return"end"===i?r+(a/2+(.5-o)*c[0])*u[0]:r+(a/2+(.5-o/2)*c[0])*u[0];var l=mt(Array(o).keys()).reduce((function(e,t){return e+(a/2+(.5-o)*c[t])*u[t]/o}),0);return"end"===i?r+l:r+l/2+a/2*c[o-1]*u[o-1]}(e,i,r),l=void 0!==e.x?e.x:Ot(e,"x"),s=void 0!==e.y?e.y:Ot(e,"y"),f=jt(e,l,s);return g()({},e,{ariaLabel:t,lineHeight:r,direction:o,textAnchor:a,verticalAnchor:i,dx:u,dy:c,originalDy:e.dy,transform:f,x:l,y:s})}(e),r=t.text,o=t.style,a=t.capHeight,i=t.backgroundPadding,u=t.lineHeight,c=r.map((function(e,t){var n=Et(o,t),r=q("".concat(a,"em"),n.fontSize),c=Et(u,t);return{style:n,fontSize:n.fontSize||xt.fontSize,capHeight:r,text:e,textSize:H(e,n),lineHeight:c,backgroundPadding:Et(i,t)}})),l=function(e,t){var r=e.ariaLabel,o=e.inline,a=e.className,i=e.title,u=e.events,c=e.direction,l=e.text,s=e.textAnchor,f=e.dx,p=e.dy,d=e.transform,h=e.x,y=e.y,v=e.desc,b=e.id,g=e.tabIndex,m=e.tspanComponent,x=e.textComponent,O=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){gt(e,t,n[t])}))}return e}({"aria-label":r,key:"text"},u,{direction:c,dx:f,x:h,y:y+p,transform:d,className:a,title:i,desc:C(v,e),tabIndex:C(g,e),id:b}),w=l.map((function(r,a){var i=t[a].style,u={key:"".concat(b,"-key-").concat(a),x:o?void 0:h,dx:o?f+t[a].backgroundPadding.left:f,dy:Ct(t,e,a),textAnchor:i.textAnchor||s,style:i,children:r};return n().cloneElement(m,u)}));return n().cloneElement(x,O,w)}(t,c);if(e.backgroundStyle){var s=[Pt(t,c),l],f=n().cloneElement(e.groupComponent,{},s);return e.renderInPortal?n().createElement(yt,null,f):f}return e.renderInPortal?n().createElement(yt,null,l):l};Tt.displayName="VictoryLabel",Tt.role="label",Tt.defaultStyles=xt,Tt.propTypes={active:i().bool,angle:i().oneOfType([i().string,i().number,i().func]),ariaLabel:i().oneOfType([i().string,i().func]),backgroundComponent:i().element,backgroundPadding:i().oneOfType([i().number,i().object,i().array]),backgroundStyle:i().oneOfType([i().object,i().array]),capHeight:i().oneOfType([i().string,pe,i().func]),className:i().string,data:i().array,datum:i().any,desc:i().oneOfType([i().string,i().func]),direction:i().oneOf(["rtl","ltr","inherit"]),dx:i().oneOfType([i().number,i().string,i().func]),dy:i().oneOfType([i().number,i().string,i().func]),events:i().object,groupComponent:i().element,id:i().oneOfType([i().number,i().string,i().func]),index:i().oneOfType([i().number,i().string]),inline:i().bool,labelPlacement:i().oneOf(["parallel","perpendicular","vertical"]),lineHeight:i().oneOfType([i().string,pe,i().func,i().array]),origin:i().shape({x:pe,y:pe}),polar:i().bool,renderInPortal:i().bool,scale:i().shape({x:ye,y:ye}),style:i().oneOfType([i().object,i().array]),tabIndex:i().oneOfType([i().number,i().func]),text:i().oneOfType([i().string,i().number,i().func,i().array]),textAnchor:i().oneOfType([i().oneOf(["start","middle","end","inherit"]),i().func]),textComponent:i().element,title:i().string,transform:i().oneOfType([i().string,i().object,i().func]),tspanComponent:i().element,verticalAnchor:i().oneOfType([i().oneOf(["start","middle","end"]),i().func]),x:i().oneOfType([i().number,i().string]),y:i().oneOfType([i().number,i().string])},Tt.defaultProps={backgroundComponent:n().createElement(ge,null),groupComponent:n().createElement("g",null),direction:"inherit",textComponent:n().createElement(bt,null),tspanComponent:n().createElement((function(e){return n().createElement("tspan",e)}),null),capHeight:.71,lineHeight:1};const Mt=Tt;var _t=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],It="#ECEFF1",Dt="#90A4AE",zt="#455A64",Lt="#212121",Nt={width:350,height:350,padding:50},Wt={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:zt,stroke:"transparent",strokeWidth:0},Rt=g()({textAnchor:"middle"},Wt),qt="round",Ft="round";const Bt={area:g()({style:{data:{fill:Lt},labels:Wt}},Nt),axis:g()({style:{axis:{fill:"transparent",stroke:Dt,strokeWidth:2,strokeLinecap:qt,strokeLinejoin:Ft},axisLabel:g()({},Rt,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:It,strokeDasharray:"10, 5",strokeLinecap:qt,strokeLinejoin:Ft,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:Dt,strokeWidth:1,strokeLinecap:qt,strokeLinejoin:Ft},tickLabels:g()({},Wt,{fill:zt})}},Nt),polarDependentAxis:g()({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:g()({style:{data:{fill:zt,padding:8,strokeWidth:0},labels:Wt}},Nt),boxplot:g()({style:{max:{padding:8,stroke:zt,strokeWidth:1},maxLabels:g()({},Wt,{padding:3}),median:{padding:8,stroke:zt,strokeWidth:1},medianLabels:g()({},Wt,{padding:3}),min:{padding:8,stroke:zt,strokeWidth:1},minLabels:g()({},Wt,{padding:3}),q1:{padding:8,fill:zt},q1Labels:g()({},Wt,{padding:3}),q3:{padding:8,fill:zt},q3Labels:g()({},Wt,{padding:3})},boxWidth:20},Nt),candlestick:g()({style:{data:{stroke:zt},labels:g()({},Wt,{padding:5})},candleColors:{positive:"#ffffff",negative:zt}},Nt),chart:Nt,errorbar:g()({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:zt,strokeWidth:2},labels:Wt}},Nt),group:g()({colorScale:_t},Nt),histogram:g()({style:{data:{fill:zt,stroke:Lt,strokeWidth:2},labels:Wt}},Nt),legend:{colorScale:_t,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Wt,title:g()({},Wt,{padding:5})}},line:g()({style:{data:{fill:"transparent",opacity:1,stroke:zt,strokeWidth:2},labels:Wt}},Nt),pie:g()({colorScale:_t,style:{data:{padding:8,stroke:It,strokeWidth:1},labels:g()({},Wt,{padding:20})}},Nt),scatter:g()({style:{data:{fill:zt,opacity:1,stroke:"transparent",strokeWidth:0},labels:Wt}},Nt),stack:g()({colorScale:_t},Nt),tooltip:{style:g()({},Wt,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:Lt,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:g()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:g()({},Wt,{padding:5,pointerEvents:"none"}),flyout:{stroke:Lt,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Nt)};var Ht=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],Kt="#252525",Ut="#969696",Gt={width:450,height:300,padding:50,colorScale:Ht},Vt={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:Kt,stroke:"transparent"},$t=g()({textAnchor:"middle"},Vt);const Qt={material:Bt,grayscale:{area:g()({style:{data:{fill:Kt},labels:Vt}},Gt),axis:g()({style:{axis:{fill:"transparent",stroke:Kt,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:g()({},$t,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:Vt}},Gt),bar:g()({style:{data:{fill:Kt,padding:8,strokeWidth:0},labels:Vt}},Gt),boxplot:g()({style:{max:{padding:8,stroke:Kt,strokeWidth:1},maxLabels:g()({},Vt,{padding:3}),median:{padding:8,stroke:Kt,strokeWidth:1},medianLabels:g()({},Vt,{padding:3}),min:{padding:8,stroke:Kt,strokeWidth:1},minLabels:g()({},Vt,{padding:3}),q1:{padding:8,fill:Ut},q1Labels:g()({},Vt,{padding:3}),q3:{padding:8,fill:Ut},q3Labels:g()({},Vt,{padding:3})},boxWidth:20},Gt),candlestick:g()({style:{data:{stroke:Kt,strokeWidth:1},labels:g()({},Vt,{padding:5})},candleColors:{positive:"#ffffff",negative:Kt}},Gt),chart:Gt,errorbar:g()({borderWidth:8,style:{data:{fill:"transparent",stroke:Kt,strokeWidth:2},labels:Vt}},Gt),group:g()({colorScale:Ht},Gt),histogram:g()({style:{data:{fill:Ut,stroke:Kt,strokeWidth:2},labels:Vt}},Gt),legend:{colorScale:Ht,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Vt,title:g()({},Vt,{padding:5})}},line:g()({style:{data:{fill:"transparent",stroke:Kt,strokeWidth:2},labels:Vt}},Gt),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:g()({},Vt,{padding:20})},colorScale:Ht,width:400,height:400,padding:50},scatter:g()({style:{data:{fill:Kt,stroke:"transparent",strokeWidth:0},labels:Vt}},Gt),stack:g()({colorScale:Ht},Gt),tooltip:{style:g()({},Vt,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:Kt,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:g()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:g()({},Vt,{padding:5,pointerEvents:"none"}),flyout:{stroke:Kt,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Gt)}};var Zt=r(484),Yt=r.n(Zt),Xt=r(6205),Jt=r.n(Xt),en=r(6901),tn=r.n(en),nn=r(1815),rn=r.n(nn),on=r(5492),an=r.n(on),un=r(9922),cn=r.n(un);function ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sn(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var fn=/^onGlobal(.*)$/;function pn(e,t,n,r){var o,a=this,i=function(e){var r,o=(r=e.reduce((function(e,n){return void 0!==n.target?(Array.isArray(n.target)?tn()(n.target,t):"".concat(n.target)==="".concat(t))?e.concat(n):e:e.concat(n)}),[]),void 0!==n&&"parent"!==t?r.filter((function(e){var t=e.eventKey,r=function(e){return!e||"".concat(e)==="".concat(n)};return Array.isArray(t)?t.some((function(e){return r(e)})):r(t)})):r);return Array.isArray(o)&&o.reduce((function(e,t){return t?g()(e,t.eventHandlers):e}),{})},u=Array.isArray(a.componentEvents)?Array.isArray(e.events)?(o=a.componentEvents).concat.apply(o,sn(e.events)):a.componentEvents:e.events,c=u&&j()(r)?r(i(u),t):void 0;if(!e.sharedEvents)return c;var l=e.sharedEvents.getEvents,s=e.sharedEvents.events&&l(i(e.sharedEvents.events),t);return g()({},s,c)}function dn(e,t,n,r){var o=this;if(ft()(e))return{};r=r||this.baseProps;var a=function(e,t){var n=e.childName,a=e.target,i=e.key,u="props"===t?r:o.state||{},c=null!=n&&u[n]?u[n]:u;return"parent"===i?c.parent:c[i]&&c[i][a]},i=function(e,i){var u="parent"===t?e.childName:e.childName||n,c=e.target||t,l=function(t,n){var i=o.state||{};if(!j()(e.mutation))return i;var u=a({childName:n,key:t,target:c},"props"),l=a({childName:n,key:t,target:c},"state"),s=e.mutation(g()({},u,l),r),f=i[n]||{},p=function(e){return s?function(e){return"parent"===c?g()(e,ln({},t,g()(e[t],s))):g()(e,ln({},t,g()(e[t],ln({},c,s))))}(e):function(e){return e[t]&&e[t][c]&&delete e[t][c],e[t]&&!h()(e[t]).length&&delete e[t],e}(e)};return null!=n?g()(i,ln({},n,p(f))):p(i)},s=function(t){var n=function(t){return"parent"===c?"parent":"all"===e.eventKey?r[t]?Jt()(h()(r[t]),"parent"):Jt()(h()(r),"parent"):void 0===e.eventKey&&"parent"===i?r[t]?h()(r[t]):h()(r):void 0!==e.eventKey?e.eventKey:i}(t);return Array.isArray(n)?n.reduce((function(e,n){return g()(e,l(n,t))}),{}):l(n,t)},f="all"===u?Jt()(h()(r),"parent"):u;return Array.isArray(f)?f.reduce((function(e,t){return g()(e,s(t))}),{}):s(f)},u=function(t,n,r,a){var u=e[a](t,n,r,o);if(!ft()(u)){var c=function(e){var t=function(e){return j()(e.callback)&&e.callback},n=(Array.isArray(e)?e.map((function(e){return t(e)})):[t(e)]).filter((function(e){return!1!==e}));return n.length?function(){return n.forEach((function(e){return e()}))}:void 0}(u);o.setState(function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return g()({},e,i(n,t))}),{}):i(e,t)}(u,r),c)}};return h()(e).reduce((function(e,t){return e[t]=u,e}),{})}function hn(e,t,n){var r=this.state||{};return n?r[n]&&r[n][e]&&r[n][e][t]:"parent"===e?r[e]&&r[e][t]||r[e]:r[e]&&r[e][t]}function yn(e,t,n,r){var o=function(e,t){if("string"==typeof e[t])return"all"===e[t]||e[t]===r[t];if(Array.isArray(e[t])){var n=e[t].map((function(e){return"".concat(e)}));return tn()(n,r[t])}return!1},a=e=Array.isArray(e)?e:[e];r.childName&&(a=e.filter((function(e){return o(e,"childName")})));var i=a.filter((function(e){return o(e,"target")}));if(!ft()(i)){var u=i.filter((function(e){return o(e,"eventKey")}));if(!ft()(u))return u.reduce((function(e,r){var o=(r&&j()(r.mutation)?r.mutation:function(){})(g()({},t,n));return g()({},e,o)}),{})}}function vn(e){var t=e.match(fn);return t&&t[1]&&t[1].toLowerCase()}var bn=r(8266),gn=r.n(bn);function mn(e){return+e}function xn(e){return e*e}function On(e){return e*(2-e)}function wn(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function En(e){return e*e*e}function kn(e){return--e*e*e+1}function jn(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var An=function e(t){function n(e){return Math.pow(e,t)}return t=+t,n.exponent=e,n}(3),Sn=function e(t){function n(e){return 1-Math.pow(1-e,t)}return t=+t,n.exponent=e,n}(3),Pn=function e(t){function n(e){return((e*=2)<=1?Math.pow(e,t):2-Math.pow(2-e,t))/2}return t=+t,n.exponent=e,n}(3),Cn=Math.PI,Tn=Cn/2;function Mn(e){return 1==+e?1:1-Math.cos(e*Tn)}function _n(e){return Math.sin(e*Tn)}function In(e){return(1-Math.cos(Cn*e))/2}function Dn(e){return 1.0009775171065494*(Math.pow(2,-10*e)-.0009765625)}function zn(e){return Dn(1-+e)}function Ln(e){return 1-Dn(e)}function Nn(e){return((e*=2)<=1?Dn(1-e):2-Dn(e-1))/2}function Wn(e){return 1-Math.sqrt(1-e*e)}function Rn(e){return Math.sqrt(1- --e*e)}function qn(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}var Fn=7.5625;function Bn(e){return 1-Hn(1-e)}function Hn(e){return(e=+e)<.36363636363636365?Fn*e*e:e<.7272727272727273?Fn*(e-=.5454545454545454)*e+.75:e<.9090909090909091?Fn*(e-=.8181818181818182)*e+.9375:Fn*(e-=.9545454545454546)*e+.984375}function Kn(e){return((e*=2)<=1?1-Hn(1-e):Hn(e-1)+1)/2}var Un=1.70158,Gn=function e(t){function n(e){return(e=+e)*e*(t*(e-1)+e)}return t=+t,n.overshoot=e,n}(Un),Vn=function e(t){function n(e){return--e*e*((e+1)*t+e)+1}return t=+t,n.overshoot=e,n}(Un),$n=function e(t){function n(e){return((e*=2)<1?e*e*((t+1)*e-t):(e-=2)*e*((t+1)*e+t)+2)/2}return t=+t,n.overshoot=e,n}(Un),Qn=2*Math.PI,Zn=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=Qn);function o(e){return t*Dn(- --e)*Math.sin((r-e)/n)}return o.amplitude=function(t){return e(t,n*Qn)},o.period=function(n){return e(t,n)},o}(1,.3),Yn=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=Qn);function o(e){return 1-t*Dn(e=+e)*Math.sin((e+r)/n)}return o.amplitude=function(t){return e(t,n*Qn)},o.period=function(n){return e(t,n)},o}(1,.3),Xn=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=Qn);function o(e){return((e=2*e-1)<0?t*Dn(-e)*Math.sin((r-e)/n):2-t*Dn(e)*Math.sin((r+e)/n))/2}return o.amplitude=function(t){return e(t,n*Qn)},o.period=function(n){return e(t,n)},o}(1,.3),Jn=r(1473),er=r.n(Jn),tr=r(9636),nr=r.n(tr);function rr(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function or(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function ar(){}var ir=.7,ur=1/ir,cr="\\s*([+-]?\\d+)\\s*",lr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",sr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",fr=/^#([0-9a-f]{3,8})$/,pr=new RegExp("^rgb\\("+[cr,cr,cr]+"\\)$"),dr=new RegExp("^rgb\\("+[sr,sr,sr]+"\\)$"),hr=new RegExp("^rgba\\("+[cr,cr,cr,lr]+"\\)$"),yr=new RegExp("^rgba\\("+[sr,sr,sr,lr]+"\\)$"),vr=new RegExp("^hsl\\("+[lr,sr,sr]+"\\)$"),br=new RegExp("^hsla\\("+[lr,sr,sr,lr]+"\\)$"),gr={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 mr(){return this.rgb().formatHex()}function xr(){return this.rgb().formatRgb()}function Or(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=fr.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?wr(t):3===n?new Ar(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Er(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Er(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=pr.exec(e))?new Ar(t[1],t[2],t[3],1):(t=dr.exec(e))?new Ar(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=hr.exec(e))?Er(t[1],t[2],t[3],t[4]):(t=yr.exec(e))?Er(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=vr.exec(e))?Tr(t[1],t[2]/100,t[3]/100,1):(t=br.exec(e))?Tr(t[1],t[2]/100,t[3]/100,t[4]):gr.hasOwnProperty(e)?wr(gr[e]):"transparent"===e?new Ar(NaN,NaN,NaN,0):null}function wr(e){return new Ar(e>>16&255,e>>8&255,255&e,1)}function Er(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ar(e,t,n,r)}function kr(e){return e instanceof ar||(e=Or(e)),e?new Ar((e=e.rgb()).r,e.g,e.b,e.opacity):new Ar}function jr(e,t,n,r){return 1===arguments.length?kr(e):new Ar(e,t,n,null==r?1:r)}function Ar(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Sr(){return"#"+Cr(this.r)+Cr(this.g)+Cr(this.b)}function Pr(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function Cr(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Tr(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new _r(e,t,n,r)}function Mr(e){if(e instanceof _r)return new _r(e.h,e.s,e.l,e.opacity);if(e instanceof ar||(e=Or(e)),!e)return new _r;if(e instanceof _r)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),a=Math.max(t,n,r),i=NaN,u=a-o,c=(a+o)/2;return u?(i=t===a?(n-r)/u+6*(n<r):n===a?(r-t)/u+2:(t-n)/u+4,u/=c<.5?a+o:2-a-o,i*=60):u=c>0&&c<1?0:i,new _r(i,u,c,e.opacity)}function _r(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Ir(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function Dr(e,t,n,r,o){var a=e*e,i=a*e;return((1-3*e+3*a-i)*t+(4-6*a+3*i)*n+(1+3*e+3*a-3*i)*r+i*o)/6}function zr(e){return function(){return e}}function Lr(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):zr(isNaN(e)?t:e)}rr(ar,Or,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:mr,formatHex:mr,formatHsl:function(){return Mr(this).formatHsl()},formatRgb:xr,toString:xr}),rr(Ar,jr,or(ar,{brighter:function(e){return e=null==e?ur:Math.pow(ur,e),new Ar(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?ir:Math.pow(ir,e),new Ar(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Sr,formatHex:Sr,formatRgb:Pr,toString:Pr})),rr(_r,(function(e,t,n,r){return 1===arguments.length?Mr(e):new _r(e,t,n,null==r?1:r)}),or(ar,{brighter:function(e){return e=null==e?ur:Math.pow(ur,e),new _r(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?ir:Math.pow(ir,e),new _r(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Ar(Ir(e>=240?e-240:e+120,o,r),Ir(e,o,r),Ir(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));const Nr=function e(t){var n=function(e){return 1==(e=+e)?Lr:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):zr(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=jr(e)).r,(t=jr(t)).r),o=n(e.g,t.g),a=n(e.b,t.b),i=Lr(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=a(t),e.opacity=i(t),e+""}}return r.gamma=e,r}(1);function Wr(e){return function(t){var n,r,o=t.length,a=new Array(o),i=new Array(o),u=new Array(o);for(n=0;n<o;++n)r=jr(t[n]),a[n]=r.r||0,i[n]=r.g||0,u[n]=r.b||0;return a=e(a),i=e(i),u=e(u),r.opacity=1,function(e){return r.r=a(e),r.g=i(e),r.b=u(e),r+""}}}function Rr(e,t){var n,r=t?t.length:0,o=e?Math.min(r,e.length):0,a=new Array(o),i=new Array(r);for(n=0;n<o;++n)a[n]=Vr(e[n],t[n]);for(;n<r;++n)i[n]=t[n];return function(e){for(n=0;n<o;++n)i[n]=a[n](e);return i}}function qr(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Fr(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Br(e,t){var n,r={},o={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=Vr(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}}Wr((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],a=e[r+1],i=r>0?e[r-1]:2*o-a,u=r<t-1?e[r+2]:2*a-o;return Dr((n-r/t)*t,i,o,a,u)}})),Wr((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],a=e[r%t],i=e[(r+1)%t],u=e[(r+2)%t];return Dr((n-r/t)*t,o,a,i,u)}}));var Hr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Kr=new RegExp(Hr.source,"g");function Ur(e,t){var n,r,o,a=Hr.lastIndex=Kr.lastIndex=0,i=-1,u=[],c=[];for(e+="",t+="";(n=Hr.exec(e))&&(r=Kr.exec(t));)(o=r.index)>a&&(o=t.slice(a,o),u[i]?u[i]+=o:u[++i]=o),(n=n[0])===(r=r[0])?u[i]?u[i]+=r:u[++i]=r:(u[++i]=null,c.push({i,x:Fr(n,r)})),a=Kr.lastIndex;return a<t.length&&(o=t.slice(a),u[i]?u[i]+=o:u[++i]=o),u.length<2?c[0]?function(e){return function(t){return e(t)+""}}(c[0].x):function(e){return function(){return e}}(t):(t=c.length,function(e){for(var n,r=0;r<t;++r)u[(n=c[r]).i]=n.x(e);return u.join("")})}function Gr(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,o=t.slice();return function(a){for(n=0;n<r;++n)o[n]=e[n]*(1-a)+t[n]*a;return o}}function Vr(e,t){var n,r,o=typeof t;return null==t||"boolean"===o?zr(t):("number"===o?Fr:"string"===o?(n=Or(t))?(t=n,Nr):Ur:t instanceof Or?Nr:t instanceof Date?qr:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?Rr:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Br:Fr:Gr))(e,t)}var $r=function(e){if(null!==e)switch(typeof e){case"undefined":case"boolean":return!1;case"number":return!isNaN(e)&&e!==Number.POSITIVE_INFINITY&&e!==Number.NEGATIVE_INFINITY;case"string":case"function":return!0;case"object":return e instanceof Date||Array.isArray(e)||nr()(e)}return!1},Qr=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(r){return r<n?e:t}},Zr=function(e,t){return function(n){return n>=1?t:function(){var r="function"==typeof e?e.apply(this,arguments):e,o="function"==typeof t?t.apply(this,arguments):t;return Vr(r,o)(n)}}},Yr=function(e,t){var n,r,o,a=function(e){return Array.isArray(e)?er()(e,"key"):e},i={},u={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?i[n]=(r=a(e[n]))!==(o=a(t[n]))&&$r(r)&&$r(o)?"function"==typeof r||"function"==typeof o?Zr(r,o):"object"==typeof r&&nr()(r)||"object"==typeof o&&nr()(o)?Yr(r,o):Vr(r,o):Qr(r,o):u[n]=t[n];return function(e){for(n in i)u[n]=i[n](e);return u}};function Xr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var eo=function(t){function n(t,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(o=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Jr(e):t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t,r))).state={data:Array.isArray(o.props.data)?o.props.data[0]:o.props.data,animationInfo:{progress:0,animating:!1}},o.interpolator=null,o.queue=Array.isArray(o.props.data)?o.props.data.slice(1):[],o.ease=e[o.toNewName(o.props.easing)],o.functionToBeRunEachFrame=o.functionToBeRunEachFrame.bind(Jr(o)),o.timer=o.context.animationTimer,o}var r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),r=n,(o=[{key:"componentDidMount",value:function(){this.queue.length&&this.traverseQueue()}},{key:"componentDidUpdate",value:function(e){if(!gn()(this.props,e))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 t;this.timer.unsubscribe(this.loopID),Array.isArray(this.props.data)?(t=this.queue).push.apply(t,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(n=this.props.data)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()):(this.queue.length=0,this.queue.push(this.props.data)),this.traverseQueue()}var n}},{key:"componentWillUnmount",value:function(){this.loopID?this.timer.unsubscribe(this.loopID):this.timer.stop()}},{key:"toNewName",value:function(e){var t;return"ease".concat((t=e)&&t[0].toUpperCase()+t.slice(1))}},{key:"traverseQueue",value:function(){var e,t,n=this;if(this.queue.length){var r=this.queue[0];this.interpolator=(e=this.state.data)!==(t=r)&&$r(e)&&$r(t)?"function"==typeof e||"function"==typeof t?Zr(e,t):nr()(e)||nr()(t)?Yr(e,t):"string"==typeof e||"string"==typeof t?function(e,t){var n=function(e){return"string"==typeof e?e.replace(/,/g,""):e};return Vr(n(e),n(t))}(e,t):Vr(e,t):Qr(e,t),this.props.delay?setTimeout((function(){n.loopID=n.timer.subscribe(n.functionToBeRunEachFrame,n.props.duration)}),this.props.delay):this.loopID=this.timer.subscribe(this.functionToBeRunEachFrame,this.props.duration)}else this.props.onEnd&&this.props.onEnd()}},{key:"functionToBeRunEachFrame",value:function(e,t){var n=(t=void 0!==t?t:this.props.duration)?e/t:1;if(n>=1)return this.setState({data:this.interpolator(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),this.loopID&&this.timer.unsubscribe(this.loopID),this.queue.shift(),void this.traverseQueue();this.setState({data:this.interpolator(this.ease(n)),animationInfo:{progress:n,animating:n<1}})}},{key:"render",value:function(){return this.props.children(this.state.data,this.state.animationInfo)}}])&&Xr(r.prototype,o),n}(n().Component);function to(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function no(e){return Array.isArray(e)&&e.some((function(e){return e instanceof Date}))}function ro(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=e.concat(n);return no(o)?new Date(Math.max.apply(Math,to(o))):Math.max.apply(Math,to(o))}function oo(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=e.concat(n);return no(o)?new Date(Math.min.apply(Math,to(o))):Math.min.apply(Math,to(o))}Object.defineProperty(eo,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAnimation"}),Object.defineProperty(eo,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:i().func,data:i().oneOfType([i().object,i().array]),delay:i().number,duration:i().number,easing:i().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:i().func}}),Object.defineProperty(eo,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{data:{},delay:0,duration:1e3,easing:"quadInOut"}}),Object.defineProperty(eo,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Xe});var ao=r(5362),io=r.n(ao);function uo(e,t){return(e.key||t).toString()}function co(e){return e.reduce((function(e,t,n){return e[uo(t,n)]=t,e}),{})}function lo(e,t){var n=!1,r=h()(e).reduce((function(e,r){return r in t||(n=!0,e[r]=!0),e}),{});return n&&r}function so(e){return e.type&&e.type.getData?e.type.getData(e.props):e.props&&e.props.data||!1}function fo(e,t){var r=!1,o=!1,a=function(e,t){return e.map((function(i,u){return i&&i.props&&i.props.children&&t[u]?a(n().Children.toArray(e[u].props.children),n().Children.toArray(t[u].props.children)):function(e,t){if(!t||e.type!==t.type)return{};var n,a,i,u,c=(n=so(e),a=so(t),i=n&&co(n),u=a&&co(a),{entering:i&&lo(u,i),exiting:u&&lo(i,u)}||{}),l=c.entering,s=c.exiting;return r=r||!!s,o=o||!!l,{entering:l||!1,exiting:s||!1}}(i,t[u])}))},i=a(n().Children.toArray(e),n().Children.toArray(t));return{nodesWillExit:r,nodesWillEnter:o,childrenTransitions:i,nodesShouldEnter:!1}}function po(e,t,n){var r=t&&t.nodesWillExit,o=t&&t.nodesWillEnter,a=t&&t.nodesShouldEnter,i=t&&t.nodesShouldLoad,u=t&&t.nodesDoneLoad,c=t&&t.childrenTransitions||[],l={enter:e.animate&&e.animate.onEnter&&e.animate.onEnter.duration,exit:e.animate&&e.animate.onExit&&e.animate.onExit.duration,load:e.animate&&e.animate.onLoad&&e.animate.onLoad.duration,move:e.animate&&e.animate.duration},s=function(e,t,r){return i?function(e,t,r){if((e=g()({},e,{onEnd:function(){n({nodesShouldLoad:!1,nodesDoneLoad:!0})}}))&&e.onLoad&&!e.onLoad.duration)return{animate:e,data:t};var o=e.onLoad&&e.onLoad.after?e.onLoad.after:io();return{animate:e,data:t=t.map((function(e,n){return g()({},e,o(e,n,t))}))}}(r,t):function(e,t,r,o){if((e=g()({},e,{onEnd:function(){n({nodesDoneLoad:!0})}}))&&e.onLoad&&!e.onLoad.duration)return{animate:e,data:r};var a=e.onLoad&&e.onLoad.before?e.onLoad.before:io();return{animate:e,data:r=r.map((function(e,t){return g()({},e,a(e,t,r))})),clipWidth:0}}(r,0,t)},f=function(e,t,r,o){return function(e,t,r,o,a){var i=e&&e.onExit;if(e=g()({},e,i),o){e.onEnd=function(){n({nodesWillExit:!1})};var u=e.onExit&&e.onExit.before?e.onExit.before:io();r=r.map((function(e,t){var n=(e.key||t).toString();return o[n]?g()({},e,u(e,t,r)):e}))}return{animate:e,data:r}}(o,0,r,e)},p=function(e,t,r,o){return a?function(e,t,r,o){var a=e&&e.onEnter;if(e=g()({},e,a),r){e.onEnd=function(){n({nodesWillEnter:!1})};var i=e.onEnter&&e.onEnter.after?e.onEnter.after:io();t=t.map((function(e,n){var o=uo(e,n);return r[o]?g()({},e,i(e,n,t)):e}))}return{animate:e,data:t}}(o,r,e):function(e,t,r,o,a){if(o){var i=(e=g()({},e,{onEnd:function(){n({nodesShouldEnter:!0})}})).onEnter&&e.onEnter.before?e.onEnter.before:io();r=r.map((function(e,t){var n=(e.key||t).toString();return o[n]?g()({},e,i(e,t,r)):e}))}return{animate:e,data:r}}(o,0,r,e)},d=function(e,t){var n=e.props.animate;if(!e.type)return{};var r=e.props&&e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;if(r){var o=n[t]&&n[t].duration;return void 0!==o?o:r[t]&&r[t].duration}return{}};return function(n,i){var h=so(n)||[],y=x()({},e.animate,n.props.animate),v=n.props.polar&&n.type.defaultPolarTransitions||n.type.defaultTransitions;y.onExit=x()({},y.onExit,v&&v.onExit),y.onEnter=x()({},y.onEnter,v&&v.onEnter),y.onLoad=x()({},y.onLoad,v&&v.onLoad);var b=c[i]||c[0];if(!u){var m={duration:void 0!==l.load?l.load:d(n,"onLoad")};return s(0,h,g()({},y,m))}if(r){var O=b&&b.exiting,w=void 0!==l.exit?l.exit:d(n,"onExit"),E=O?{duration:w}:{delay:w};return f(O,0,h,g()({},y,E))}if(o){var k=b&&b.entering,j=void 0!==l.enter?l.enter:d(n,"onEnter"),A=void 0!==l.move?l.move:n.props.animate&&n.props.animate.duration,S={duration:a&&k?j:A};return p(k,0,h,g()({},y,S))}return!t&&y&&y.onExit?function(e,t){var n=e.onEnter&&e.onEnter.after?e.onEnter.after:io();return{data:t.map((function(e,r){return g()({},e,n(e,r,t))}))}}(y,h):{animate:y,data:h}}}function ho(){return ho=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ho.apply(this,arguments)}function yo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var bo=function(e){function t(e,n){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?vo(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))).state={nodesShouldLoad:!1,nodesDoneLoad:!1};var o=r.props.children,a=o.props.polar;return r.continuous=!a&&o.type&&!0===o.type.continuous,r.getTransitionState=r.getTransitionState.bind(vo(r)),r.timer=r.context.transitionTimer,r}var r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r=t,o=[{key:"componentDidMount",value:function(){this.setState({nodesShouldLoad:!0})}},{key:"shouldComponentUpdate",value:function(e){var t=this;return gn()(this.props,e)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,e),(function(){return t.timer.resumeAnimation()}))),!0}},{key:"componentWillUnmount",value:function(){this.timer.stop()}},{key:"getTransitionState",value:function(e,t){var r=e.animate;if(r){if(r.parentState)return{oldProps:r.parentState.nodesWillExit?e:null,nextProps:t};var o=fo(n().Children.toArray(e.children),n().Children.toArray(t.children)),a=o.nodesWillExit;return{nodesWillExit:a,nodesWillEnter:o.nodesWillEnter,childrenTransitions:o.childrenTransitions,nodesShouldEnter:o.nodesShouldEnter,oldProps:a?e:null,nextProps:t}}return{}}},{key:"getDomainFromChildren",value:function(e,t){var r=function(e){return e.reduce((function(e,o){if(o.type&&j()(o.type.getDomain)){var a=o.props&&o.type.getDomain(o.props,t);return a?e.concat(a):e}return o.props&&o.props.children?e.concat(r(n().Children.toArray(o.props.children))):e}),[])},o=n().Children.toArray(e.children)[0],a=o.props||{},i=Array.isArray(a.domain)?a.domain:a.domain&&a.domain[t];if(!a.children&&i)return i;var u=r([o]);return 0===u.length?[0,1]:[oo(u),ro(u)]}},{key:"pickProps",value:function(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}},{key:"pickDomainProps",value:function(e){var t=ke()(e.animate)&&e.animate.parentState;return t&&t.nodesWillExit?(this.continous||t.continuous)&&(t.nextProps||this.state.nextProps)||e:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||e}},{key:"getClipWidth",value:function(e,t){var n=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==n?n:function(){var n=function(e,t){return e.range&&e.range[t]?e.range[t]:e.range&&Array.isArray(e.range)?e.range:e.polar?function(e,t){return"x"===t?[M(e.startAngle||0),M(e.endAngle||360)]:[e.innerRadius||0,_(e)]}(e,t):function(e,t){var n="x"!==t,r=P(e);return n?[e.height-r.bottom,r.top]:[r.left,e.width-r.right]}(e,t)}(t.props,"x");return n?Math.abs(n[1]-n[0]):e.width}()}},{key:"render",value:function(){var e=this,t=this.pickProps(),r=ke()(this.props.animate)&&this.props.animate.getTransitions?this.props.animate.getTransitions:po(t,this.state,(function(t){return e.setState(t)})),o=n().Children.toArray(t.children)[0],a=r(o);this.transitionProps=a;var i={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},u=this.getClipWidth(t,o),c=x()({domain:i,clipWidth:u},a,o.props),l=(t.animationWhitelist||[]).concat(["clipWidth"]),s=l.length?E()(c,l):c;return n().createElement(eo,ho({},c.animate,{data:s}),(function(t){if(o.props.groupComponent){var r=e.continuous?n().cloneElement(o.props.groupComponent,{clipWidth:t.clipWidth||0}):o.props.groupComponent;return n().cloneElement(o,x()({animate:null,animating:!0,groupComponent:r},t,c))}return n().cloneElement(o,x()({animate:null,animating:!0},t,c))}))}}],o&&yo(r.prototype,o),t}(n().Component);function go(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function mo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(bo,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryTransition"}),Object.defineProperty(bo,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{animate:i().oneOfType([i().bool,i().object]),animationWhitelist:i().array,children:i().node}}),Object.defineProperty(bo,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Xe});var Oo=function(e){return!c()(e._x)&&!c()(e._y)},wo=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];function Eo(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ko(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ao(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var So={orientation:"vertical",titleOrientation:"top",width:450,height:300,x:0,y:0},Po=function(e){function t(){return ko(this,t),Ao(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r=t,(o=[{key:"renderChildren",value:function(e){var t=this,r=e.dataComponent,o=e.labelComponent,a=e.title,i=this.dataKeys.map((function(e,o){if("all"!==e){var a=t.getComponentProps(r,"data",o);return n().cloneElement(r,a)}})).filter(Boolean),u=this.dataKeys.map((function(e,r){if("all"!==e){var a=t.getComponentProps(o,"labels",r);return void 0!==a.text&&null!==a.text?n().cloneElement(o,a):void 0}})).filter(Boolean),c=this.getComponentProps(e.borderComponent,"border","all"),l=n().cloneElement(e.borderComponent,c);if(a){var s=this.getComponentProps(e.title,"title","all"),f=n().cloneElement(e.titleComponent,s);return[l].concat(Eo(i),[f],Eo(u))}return[l].concat(Eo(i),Eo(u))}},{key:"render",value:function(){var e=this.constructor.role,t=I(this.props,So,e),r=[this.renderChildren(t)];return t.standalone?this.renderContainer(t.containerComponent,r):n().cloneElement(t.groupComponent,{},r)}}])&&jo(r.prototype,o),t}(n().Component);Object.defineProperty(Po,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryLegend"}),Object.defineProperty(Po,"role",{configurable:!0,enumerable:!0,writable:!0,value:"legend"}),Object.defineProperty(Po,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{borderComponent:i().element,borderPadding:i().oneOfType([i().number,i().shape({top:i().number,bottom:i().number,left:i().number,right:i().number})]),centerTitle:i().bool,colorScale:i().oneOfType([i().arrayOf(i().string),i().oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),containerComponent:i().element,data:i().arrayOf(i().shape({name:i().string.isRequired,label:i().object,symbol:i().object})),dataComponent:i().element,eventKey:i().oneOfType([i().func,fe([de,pe]),i().string]),events:i().arrayOf(i().shape({target:i().oneOf(["data","labels","parent"]),eventKey:i().oneOfType([i().array,fe([de,pe]),i().string]),eventHandlers:i().object})),externalEventMutations:i().arrayOf(i().shape({callback:i().function,childName:i().oneOfType([i().string,i().array]),eventKey:i().oneOfType([i().array,fe([de,pe]),i().string]),mutation:i().function,target:i().oneOfType([i().string,i().array])})),groupComponent:i().element,gutter:i().oneOfType([i().number,i().shape({left:i().number,right:i().number})]),height:pe,itemsPerRow:pe,labelComponent:i().element,name:i().string,orientation:i().oneOf(["horizontal","vertical"]),padding:i().oneOfType([i().number,i().shape({top:i().number,bottom:i().number,left:i().number,right:i().number})]),rowGutter:i().oneOfType([i().number,i().shape({top:i().number,bottom:i().number})]),sharedEvents:i().shape({events:i().array,getEventState:i().func}),standalone:i().bool,style:i().shape({border:i().object,data:i().object,labels:i().object,parent:i().object,title:i().object}),symbolSpacer:i().number,theme:i().object,title:i().oneOfType([i().string,i().array]),titleComponent:i().element,titleOrientation:i().oneOf(["top","bottom","left","right"]),width:pe,x:pe,y:pe}}),Object.defineProperty(Po,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{borderComponent:n().createElement(we,null),data:[{name:"Series 1"},{name:"Series 2"}],containerComponent:n().createElement(rt,null),dataComponent:n().createElement(lt,null),groupComponent:n().createElement("g",null),labelComponent:n().createElement(Mt,null),standalone:!0,theme:Qt.grayscale,titleComponent:n().createElement(Mt,null)}}),Object.defineProperty(Po,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return te(e,So)}}),Object.defineProperty(Po,"getDimensions",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return ee(e,So)}}),Object.defineProperty(Po,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["borderComponent","containerComponent","dataComponent","groupComponent","labelComponent","titleComponent"]});const Co=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?xo(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));var r=dn.bind(xo(n)),o=pn.bind(xo(n));n.state={},n.getEvents=function(e,t,n){return o(e,t,n,r)},n.getEventState=hn.bind(xo(n));var a=n.getCalculatedValues(e);return n.cacheValues(a),n.externalMutations=n.getExternalMutations(e),n.calculatedState=n.getStateChanges(e),n.globalEvents={},n.prevGlobalEventKeys=[],n.boundGlobalEvents={},n}var r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r=t,o=[{key:"shouldComponentUpdate",value:function(e){var t=this.getExternalMutations(e),n=this.props.animating||this.props.animate,r=!gn()(t,this.externalMutations);if(n||r)return this.cacheValues(this.getCalculatedValues(e)),this.externalMutations=t,this.applyExternalMutations(e,t),!0;var o=this.getStateChanges(e);return gn()(this.calculatedState,o)?!gn()(this.props,e)&&(this.cacheValues(this.getCalculatedValues(e)),!0):(this.cacheValues(this.getCalculatedValues(e)),!0)}},{key:"componentDidMount",value:function(){var e=this,t=h()(this.globalEvents);t.forEach((function(t){return e.addGlobalListener(t)})),this.prevGlobalEventKeys=t}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.getStateChanges(e);this.calculatedState=n;var r=h()(this.globalEvents);Yt()(this.prevGlobalEventKeys,r).forEach((function(e){return t.removeGlobalListener(e)})),Yt()(r,this.prevGlobalEventKeys).forEach((function(e){return t.addGlobalListener(e)})),this.prevGlobalEventKeys=r}},{key:"componentWillUnmount",value:function(){var e=this;this.prevGlobalEventKeys.forEach((function(t){return e.removeGlobalListener(t)}))}},{key:"addGlobalListener",value:function(e){var t=this,n=function(n){var r=t.globalEvents[e];return r&&r(function(e){return g()(e,{nativeEvent:e})}(n))};this.boundGlobalEvents[e]=n,window.addEventListener(vn(e),n)}},{key:"removeGlobalListener",value:function(e){window.removeEventListener(vn(e),this.boundGlobalEvents[e])}},{key:"getStateChanges",value:function(e){var t=this;if(!this.hasEvents)return{};var n=function(e,n){var r=x()({},t.getEventState(e,n),t.getSharedEventState(e,n));return ft()(r)?void 0:r};return((Mo=Mo||{}).components||wo).map((function(r){return e.standalone||"parent"!==r.name?void 0!==r.index?n(r.index,r.name):t.dataKeys.map((function(e){return n(e,r.name)})).filter(Boolean):void 0})).filter(Boolean)}},{key:"applyExternalMutations",value:function(e,t){if(!ft()(t)){var n=e.externalEventMutations.reduce((function(e,t){return j()(t.callback)?e.concat(t.callback):e}),[]),r=n.length?function(){n.forEach((function(e){return e()}))}:void 0;this.setState(t,r)}}},{key:"getCalculatedValues",value:function(e){var t=e.sharedEvents,n=function(e,t){var n=Array.isArray(t)&&t.reduce((function(t,n){var r,o=e[n],a=o&&o.type&&o.type.defaultEvents,i=j()(a)?a(o.props):a;return Array.isArray(i)?(r=t).concat.apply(r,sn(i)):t}),[]);return n&&n.length?n:void 0}(e,To.expectedComponents),r=t&&j()(t.getEventState)?t.getEventState:function(){},o=this.getBaseProps(e,r);return{componentEvents:n,getSharedEventState:r,baseProps:o,dataKeys:h()(o).filter((function(e){return"parent"!==e})),hasEvents:e.events||e.sharedEvents||n,events:this.getAllEvents(e)}}},{key:"getExternalMutations",value:function(e){var t,n,r,o,a=e.sharedEvents,i=e.externalEventMutations;return ft()(i)||a?void 0:(t=i,n=this.baseProps,r=this.state,n=n||{},r=r||{},h()(n).reduce((function(e,a){var i=r[a]||{},u=n[a]||{};if("parent"===a){var c=yn(t,u,i,{eventKey:a,target:"parent"});e[a]=void 0!==c?g()({},i,c):i}else{var l=rn()(h()(u).concat(h()(i)));e[a]=l.reduce((function(e,n){var r={eventKey:a,target:n,childName:o},c=yn(t,u[n],i[n],r);return e[n]=void 0!==c?g()({},i[n],c):i[n],cn()(e,(function(e){return!ft()(e)}))}),{})}return cn()(e,(function(e){return!ft()(e)}))}),{}))}},{key:"cacheValues",value:function(e){var t=this;h()(e).forEach((function(n){t[n]=e[n]}))}},{key:"getBaseProps",value:function(e,t){var n=(t=t||this.getSharedEventState)("parent","parent"),r=this.getEventState("parent","parent"),o=x()({},r,n),a=o.parentControlledProps,i=a?E()(o,a):{},u=x()({},i,e);return j()(To.getBaseProps)?To.getBaseProps(u):{}}},{key:"getAllEvents",value:function(e){var t;return Array.isArray(this.componentEvents)?Array.isArray(e.events)?(t=this.componentEvents).concat.apply(t,go(e.events)):this.componentEvents:e.events}},{key:"getComponentProps",value:function(e,t,n){var r=this.props.name||To.role,o=this.dataKeys&&this.dataKeys[n]||n,a="".concat(r,"-").concat(t,"-").concat(o),i=this.baseProps[o]&&this.baseProps[o][t]||this.baseProps[o];if(i||this.hasEvents){if(this.hasEvents){var u=this.getEvents(this.props,t,o),c=x()({index:n,key:a},this.getEventState(o,t),this.getSharedEventState(o,t),e.props,i,{id:a}),l=x()({},function(e,t,n){return e?h()(e).reduce((function(r,o){return r[o]=function(r){return e[o](r,n,t,o)},r}),{}):{}}(u,o,c),c.events);return g()({},c,{events:l})}return x()({index:n,key:a},e.props,i,{id:a})}}},{key:"renderContainer",value:function(e,t){var r,o=e.type&&"container"===e.type.role?this.getComponentProps(e,"parent","parent"):{};return o.events&&(this.globalEvents=(r=o.events,cn()(r,(function(e,t){return fn.test(t)}))),o.events=function(e){return an()(e,(function(e,t){return fn.test(t)}))}(o.events)),n().cloneElement(e,o,t)}},{key:"animateComponent",value:function(e,t){var r=e.animate&&e.animate.animationWhitelist?e.animate.animationWhitelist:t;return n().createElement(bo,{animate:e.animate,animationWhitelist:r},n().createElement(this.constructor,e))}},{key:"renderContinuousData",value:function(e){var t=this,r=e.dataComponent,o=e.labelComponent,a=e.groupComponent,i=Jt()(this.dataKeys,"all").reduce((function(e,r){var a=t.getComponentProps(o,"labels",r);return a&&void 0!==a.text&&null!==a.text&&(e=e.concat(n().cloneElement(o,a))),e}),[]),u=this.getComponentProps(r,"data","all"),c=[n().cloneElement(r,u)].concat(go(i));return this.renderContainer(a,c)}},{key:"renderData",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Oo,o=e.dataComponent,a=e.labelComponent,i=e.groupComponent,u=this.dataKeys.reduce((function(e,a,i){var u=t.getComponentProps(o,"data",i);return r(u.datum)&&e.push(n().cloneElement(o,u)),e}),[]),c=this.dataKeys.map((function(e,r){var o=t.getComponentProps(a,"labels",r);if(void 0!==o.text&&null!==o.text)return n().cloneElement(a,o)})).filter(Boolean),l=go(u).concat(go(c));return this.renderContainer(i,l)}}],o&&mo(r.prototype,o),t}(To=Po);var To,Mo})(),o})()}));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.VictoryLegend=e(require("react")):t.VictoryLegend=e(t.React)}(self,(function(t){return(()=>{var e={1124:(t,e,n)=>{var r=n(7236);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},4281:(t,e,n)=>{var r=n(7168),o=n(6582),i=n(3867),a=n(9557),u=n(2726);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},4690:(t,e,n)=>{var r=n(441).Symbol;t.exports=r},5198:t=>{t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},4802:t=>{t.exports=function(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var a=t[o];e(r,a,n(a),t)}return r}},8058:(t,e,n)=>{var r=n(7650);t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},7431:t=>{t.exports=function(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}},6460:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},3848:t=>{t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}},4793:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},7596:(t,e,n)=>{var r=n(999),o=n(6530),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];i.call(t,e)&&o(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},3833:(t,e,n)=>{var r=n(6530);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},2435:t=>{t.exports=function(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var a=t[o];e(r,a,n(a),t)}return r}},999:(t,e,n)=>{var r=n(9346);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},1096:(t,e,n)=>{var r=n(1124),o=n(8058),i=n(7431),a=n(6460),u=n(6535),c=n(555);t.exports=function(t,e,n,l){var s=-1,f=o,p=!0,d=t.length,h=[],y=e.length;if(!d)return h;n&&(e=a(e,u(n))),l?(f=i,p=!1):e.length>=200&&(f=c,p=!1,e=new r(e));t:for(;++s<d;){var v=t[s],b=null==n?v:n(v);if(v=l||0!==v?v:0,p&&b==b){for(var m=y;m--;)if(e[m]===b)continue t;h.push(v)}else f(e,b,l)||h.push(v)}return h}},528:t=>{t.exports=function(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}},314:(t,e,n)=>{var r=n(3848),o=n(1754);t.exports=function t(e,n,i,a,u){var c=-1,l=e.length;for(i||(i=o),u||(u=[]);++c<l;){var s=e[c];n>0&&i(s)?n>1?t(s,n-1,i,a,u):r(u,s):a||(u[u.length]=s)}return u}},166:(t,e,n)=>{var r=n(8422),o=n(8780);t.exports=function(t,e){for(var n=0,i=(e=r(e,t)).length;null!=t&&n<i;)t=t[o(e[n++])];return n&&n==i?t:void 0}},4318:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},7:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},7650:t=>{t.exports=function(t,e,n){for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}},1071:(t,e,n)=>{var r=n(7229),o=n(3387);t.exports=function t(e,n,i,a,u){return e===n||(null==e||null==n||!o(e)&&!o(n)?e!=e&&n!=n:r(e,n,i,a,t,u))}},7229:(t,e,n)=>{var r=n(4281),o=n(2503),i=n(6001),a=n(8784),u=n(6686),c=n(7236),l=n(8752),s=n(4812),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,y,v,b){var m=c(t),g=c(e),x=m?p:u(t),O=g?p:u(e),w=(x=x==f?d:x)==d,E=(O=O==f?d:O)==d,j=x==O;if(j&&l(t)){if(!l(e))return!1;m=!0,w=!1}if(j&&!w)return b||(b=new r),m||s(t)?o(t,e,n,y,v,b):i(t,e,x,n,y,v,b);if(!(1&n)){var k=w&&h.call(t,"__wrapped__"),P=E&&h.call(e,"__wrapped__");if(k||P){var A=k?t.value():t,S=P?e.value():e;return b||(b=new r),v(A,S,n,y,b)}}return!!j&&(b||(b=new r),a(t,e,n,y,v,b))}},9157:(t,e,n)=>{var r=n(4281),o=n(1071);t.exports=function(t,e,n,i){var a=n.length,u=a,c=!i;if(null==t)return!u;for(t=Object(t);a--;){var l=n[a];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<u;){var s=(l=n[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,e,d);if(!(void 0===h?o(p,f,3,i,d):h))return!1}}return!0}},1131:(t,e,n)=>{var r=n(4318),o=n(3387);t.exports=function(t){return o(t)&&"[object RegExp]"==r(t)}},8904:(t,e,n)=>{var r=n(8418),o=n(4555),i=n(5362),a=n(7236),u=n(1651);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)}},8803:(t,e,n)=>{var r=n(3717)(Object.keys,Object);t.exports=r},2920:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},8418:(t,e,n)=>{var r=n(9157),o=n(9182),i=n(7375);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},4555:(t,e,n)=>{var r=n(1071),o=n(3795),i=n(3646),a=n(3266),u=n(1457),c=n(7375),l=n(8780);t.exports=function(t,e){return a(t)&&u(e)?c(l(t),e):function(n){var a=o(n,t);return void 0===a&&a===e?i(n,t):r(e,a,3)}}},690:(t,e,n)=>{var r=n(6460),o=n(166),i=n(8904),a=n(2920),u=n(6024),c=n(6535),l=n(1397),s=n(5362),f=n(7236);t.exports=function(t,e,n){e=e.length?r(e,(function(t){return f(t)?function(e){return o(e,1===t.length?t[0]:t)}:t})):[s];var p=-1;e=r(e,c(i));var d=a(t,(function(t,n,o){return{criteria:r(e,(function(e){return e(t)})),index:++p,value:t}}));return u(d,(function(t,e){return l(t,e,n)}))}},7410:(t,e,n)=>{var r=n(6621),o=n(3646);t.exports=function(t,e){return r(t,e,(function(e,n){return o(t,n)}))}},6621:(t,e,n)=>{var r=n(166),o=n(8116),i=n(8422);t.exports=function(t,e,n){for(var a=-1,u=e.length,c={};++a<u;){var l=e[a],s=r(t,l);n(s,l)&&o(c,i(l,t),s)}return c}},1712:t=>{t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},4815:(t,e,n)=>{var r=n(166);t.exports=function(t){return function(e){return r(e,t)}}},797:t=>{var e=Math.ceil,n=Math.max;t.exports=function(t,r,o,i){for(var a=-1,u=n(e((r-t)/(o||1)),0),c=Array(u);u--;)c[i?u:++a]=t,t+=o;return c}},4569:(t,e,n)=>{var r=n(5362),o=n(4468),i=n(8756);t.exports=function(t,e){return i(o(t,e,r),t+"")}},8116:(t,e,n)=>{var r=n(7596),o=n(8422),i=n(4363),a=n(5973),u=n(8780);t.exports=function(t,e,n,c){if(!a(t))return t;for(var l=-1,s=(e=o(e,t)).length,f=s-1,p=t;null!=p&&++l<s;){var d=u(e[l]),h=n;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(e[l+1])?[]:{})}r(p,d,h),p=p[d]}return t}},6024:t=>{t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},3815:t=>{t.exports=function(t,e){for(var n,r=-1,o=t.length;++r<o;){var i=e(t[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n}},454:(t,e,n)=>{var r=n(4690),o=n(6460),i=n(7236),a=n(2945),u=r?r.prototype:void 0,c=u?u.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},6535:t=>{t.exports=function(t){return function(e){return t(e)}}},4351:(t,e,n)=>{var r=n(1124),o=n(8058),i=n(7431),a=n(555),u=n(8491),c=n(6350);t.exports=function(t,e,n){var l=-1,s=o,f=t.length,p=!0,d=[],h=d;if(n)p=!1,s=i;else if(f>=200){var y=e?null:u(t);if(y)return c(y);p=!1,s=a,h=new r}else h=e?[]:d;t:for(;++l<f;){var v=t[l],b=e?e(v):v;if(v=n||0!==v?v:0,p&&b==b){for(var m=h.length;m--;)if(h[m]===b)continue t;e&&h.push(b),d.push(v)}else s(h,b,n)||(h!==d&&h.push(b),d.push(v))}return d}},555:(t,e,n)=>{var r=n(7650);t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},8422:(t,e,n)=>{var r=n(7236),o=n(3266),i=n(3879),a=n(1119);t.exports=function(t,e){return r(t)?t:o(t,e)?[t]:i(a(t))}},709:(t,e,n)=>{var r=n(2945);t.exports=function(t,e){if(t!==e){var n=void 0!==t,o=null===t,i=t==t,a=r(t),u=void 0!==e,c=null===e,l=e==e,s=r(e);if(!c&&!s&&!a&&t>e||a&&u&&l&&!c&&!s||o&&u&&l||!n&&l||!i)return 1;if(!o&&!a&&!s&&t<e||s&&n&&i&&!o&&!a||c&&n&&i||!u&&i||!l)return-1}return 0}},1397:(t,e,n)=>{var r=n(709);t.exports=function(t,e,n){for(var o=-1,i=t.criteria,a=e.criteria,u=i.length,c=n.length;++o<u;){var l=r(i[o],a[o]);if(l)return o>=c?l:l*("desc"==n[o]?-1:1)}return t.index-e.index}},6051:(t,e,n)=>{var r=n(7596),o=n(999);t.exports=function(t,e,n,i){var a=!n;n||(n={});for(var u=-1,c=e.length;++u<c;){var l=e[u],s=i?i(n[l],t[l],l,n,t):void 0;void 0===s&&(s=t[l]),a?o(n,l,s):r(n,l,s)}return n}},5580:(t,e,n)=>{var r=n(4802),o=n(2435),i=n(8904),a=n(7236);t.exports=function(t,e){return function(n,u){var c=a(n)?r:o,l=e?e():{};return c(n,t,i(u,2),l)}}},2544:(t,e,n)=>{var r=n(4569),o=n(3108);t.exports=function(t){return r((function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,u=i>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,u&&o(n[0],n[1],u)&&(a=i<3?void 0:a,i=1),e=Object(e);++r<i;){var c=n[r];c&&t(e,c,r,a)}return e}))}},3086:(t,e,n)=>{var r=n(8904),o=n(1580),i=n(2635);t.exports=function(t){return function(e,n,a){var u=Object(e);if(!o(e)){var c=r(n,3);e=i(e),n=function(t){return c(u[t],t,u)}}var l=t(e,n,a);return l>-1?u[c?e[l]:l]:void 0}}},9833:(t,e,n)=>{var r=n(797),o=n(3108),i=n(992);t.exports=function(t){return function(e,n,a){return a&&"number"!=typeof a&&o(e,n,a)&&(n=a=void 0),e=i(e),void 0===n?(n=e,e=0):n=i(n),a=void 0===a?e<n?1:-1:i(a),r(e,n,a,t)}}},8491:t=>{t.exports=function(){}},9346:(t,e,n)=>{var r=n(4457),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},2503:(t,e,n)=>{var r=n(1124),o=n(4793),i=n(555);t.exports=function(t,e,n,a,u,c){var l=1&n,s=t.length,f=e.length;if(s!=f&&!(l&&f>s))return!1;var p=c.get(t),d=c.get(e);if(p&&d)return p==e&&d==t;var h=-1,y=!0,v=2&n?new r:void 0;for(c.set(t,e),c.set(e,t);++h<s;){var b=t[h],m=e[h];if(a)var g=l?a(m,b,h,e,t,c):a(b,m,h,t,e,c);if(void 0!==g){if(g)continue;y=!1;break}if(v){if(!o(e,(function(t,e){if(!i(v,e)&&(b===t||u(b,t,n,a,c)))return v.push(e)}))){y=!1;break}}else if(b!==m&&!u(b,m,n,a,c)){y=!1;break}}return c.delete(t),c.delete(e),y}},6001:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},8784:(t,e,n)=>{var r=n(6094),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,i,a,u){var c=1&n,l=r(t),s=l.length;if(s!=r(e).length&&!c)return!1;for(var f=s;f--;){var p=l[f];if(!(c?p in e:o.call(e,p)))return!1}var d=u.get(t),h=u.get(e);if(d&&h)return d==e&&h==t;var y=!0;u.set(t,e),u.set(e,t);for(var v=c;++f<s;){var b=t[p=l[f]],m=e[p];if(i)var g=c?i(m,b,p,e,t,u):i(b,m,p,t,e,u);if(!(void 0===g?b===m||a(b,m,n,i,u):g)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var x=t.constructor,O=e.constructor;x==O||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof O&&O instanceof O||(y=!1)}return u.delete(t),u.delete(e),y}},3368:(t,e,n)=>{var r=n(5453),o=n(4468),i=n(8756);t.exports=function(t){return i(o(t,void 0,r),t+"")}},4414:(t,e,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},6094:(t,e,n)=>{var r=n(3717)(Object.keys,Object);t.exports=r},5559:t=>{t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},9182:(t,e,n)=>{var r=n(1457),o=n(2635);t.exports=function(t){for(var e=o(t),n=e.length;n--;){var i=e[n],a=t[i];e[n]=[i,a,r(a)]}return e}},4457:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},1407:(t,e,n)=>{var r=n(3717)(Object.getPrototypeOf,Object);t.exports=r},6686:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},7383:(t,e,n)=>{var r=n(8422),o=n(6981),i=n(7236),a=n(4363),u=n(9216),c=n(8780);t.exports=function(t,e,n){for(var l=-1,s=(e=r(e,t)).length,f=!1;++l<s;){var p=c(e[l]);if(!(f=null!=t&&n(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))}},1754:(t,e,n)=>{var r=n(4690),o=n(6981),i=n(7236),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},4363:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},3108:t=>{t.exports=function(){return!1}},3266:(t,e,n)=>{var r=n(7236),o=n(2945),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||a.test(t)||!i.test(t)||null!=e&&t in Object(e)}},5003:t=>{t.exports=function(){return!1}},1457:(t,e,n)=>{var r=n(5973);t.exports=function(t){return t==t&&!r(t)}},7168:t=>{t.exports=function(){this.__data__=[],this.size=0}},6582:(t,e,n)=>{var r=n(3833),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():o.call(e,n,1),--this.size,0))}},3867:(t,e,n)=>{var r=n(3833);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},9557:(t,e,n)=>{var r=n(3833);t.exports=function(t){return r(this.__data__,t)>-1}},2726:(t,e,n)=>{var r=n(3833);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},7375:t=>{t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},7085:t=>{t.exports=function(t){return t}},1782:(t,e,n)=>{t=n.nmd(t);var r=n(4414),o=e&&!e.nodeType&&e,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},3717:t=>{t.exports=function(t,e){return function(n){return t(e(n))}}},4468:(t,e,n)=>{var r=n(5198),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,u=o(i.length-e,0),c=Array(u);++a<u;)c[a]=i[e+a];a=-1;for(var l=Array(e+1);++a<e;)l[a]=i[a];return l[e]=n(c),r(t,this,l)}}},441:(t,e,n)=>{var r=n(4414),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},6350:t=>{t.exports=function(){return[]}},8756:t=>{t.exports=function(t){return t}},3879:(t,e,n)=>{var r=n(7085),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)})),e}));t.exports=a},8780:t=>{t.exports=function(t){return t}},6782:(t,e,n)=>{var r=n(7596),o=n(6051),i=n(2544),a=n(1580),u=n(5003),c=n(2635),l=Object.prototype.hasOwnProperty,s=i((function(t,e){if(u(e)||a(e))o(e,c(e),t);else for(var n in e)l.call(e,n)&&r(t,n,e[n])}));t.exports=s},7901:(t,e,n)=>{var r=n(4569),o=n(6530),i=n(3108),a=n(5850),u=Object.prototype,c=u.hasOwnProperty,l=r((function(t,e){t=Object(t);var n=-1,r=e.length,l=r>2?e[2]:void 0;for(l&&i(e[0],e[1],l)&&(r=1);++n<r;)for(var s=e[n],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},484:(t,e,n)=>{var r=n(1096),o=n(314),i=n(4569),a=n(9747),u=i((function(t,e){return a(t)?r(t,o(e,1,a,!0)):[]}));t.exports=u},6530:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},6786:(t,e,n)=>{var r=n(3086)(n(8611));t.exports=r},8611:(t,e,n)=>{var r=n(528),o=n(8904),i=n(5225),a=Math.max;t.exports=function(t,e,n){var u=null==t?0:t.length;if(!u)return-1;var c=null==n?0:i(n);return c<0&&(c=a(u+c,0)),r(t,o(e,3),c)}},5453:(t,e,n)=>{var r=n(314);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},3795:(t,e,n)=>{var r=n(166);t.exports=function(t,e,n){var o=null==t?void 0:r(t,e);return void 0===o?n:o}},1346:(t,e,n)=>{var r=n(999),o=n(5580),i=Object.prototype.hasOwnProperty,a=o((function(t,e,n){i.call(t,n)?t[n].push(e):r(t,n,[e])}));t.exports=a},3646:(t,e,n)=>{var r=n(7),o=n(7383);t.exports=function(t,e){return null!=t&&o(t,e,r)}},5362:t=>{t.exports=function(t){return t}},6901:(t,e,n)=>{var r=n(7650);t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},6981:t=>{t.exports=function(){return!1}},7236:t=>{var e=Array.isArray;t.exports=e},1580:(t,e,n)=>{var r=n(3839),o=n(9216);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},9747:(t,e,n)=>{var r=n(1580),o=n(3387);t.exports=function(t){return o(t)&&r(t)}},8752:t=>{t.exports=function(){return!1}},6834:(t,e,n)=>{var r=n(8803),o=n(6686),i=n(6981),a=n(7236),u=n(1580),c=n(8752),l=n(5003),s=n(4812),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 e=o(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(l(t))return!r(t).length;for(var n in t)if(f.call(t,n))return!1;return!0}},3839:(t,e,n)=>{var r=n(4318),o=n(5973);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},9216:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},6866:t=>{t.exports=function(t){return null==t}},5973:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3387:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},9636:(t,e,n)=>{var r=n(4318),o=n(1407),i=n(3387),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 e=o(t);if(null===e)return!0;var n=l.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==s}},2654:(t,e,n)=>{var r=n(1131),o=n(6535),i=n(1782),a=i&&i.isRegExp,u=a?o(a):r;t.exports=u},2945:t=>{t.exports=function(){return!1}},4812:t=>{t.exports=function(){return!1}},2635:(t,e,n)=>{var r=n(3717)(Object.keys,Object);t.exports=r},5850:t=>{t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},5913:t=>{t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}},5492:(t,e,n)=>{var r=n(8904),o=n(5913),i=n(9922);t.exports=function(t,e){return i(t,o(r(e)))}},1473:(t,e,n)=>{var r=n(690),o=n(7236);t.exports=function(t,e,n,i){return null==t?[]:(o(e)||(e=null==e?[]:[e]),o(n=i?void 0:n)||(n=null==n?[]:[n]),r(t,e,n))}},8423:(t,e,n)=>{var r=n(7410),o=n(3368)((function(t,e){return null==t?{}:r(t,e)}));t.exports=o},9922:(t,e,n)=>{var r=n(6460),o=n(8904),i=n(6621),a=n(5559);t.exports=function(t,e){if(null==t)return{};var n=r(a(t),(function(t){return[t]}));return e=o(e),i(t,n,(function(t,n){return e(t,n[0])}))}},1651:(t,e,n)=>{var r=n(1712),o=n(4815),i=n(3266),a=n(8780);t.exports=function(t){return i(t)?r(a(t)):o(t)}},9717:(t,e,n)=>{var r=n(9833)();t.exports=r},2290:(t,e,n)=>{var r=n(3815),o=n(5362);t.exports=function(t){return t&&t.length?r(t,o):0}},992:t=>{t.exports=function(t){return t}},5225:(t,e,n)=>{var r=n(992);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},1119:(t,e,n)=>{var r=n(454);t.exports=function(t){return null==t?"":r(t)}},1815:(t,e,n)=>{var r=n(4351);t.exports=function(t){return t&&t.length?r(t):[]}},556:(t,e,n)=>{var r=n(1119),o=0;t.exports=function(t){var e=++o;return r(t)+e}},6205:(t,e,n)=>{var r=n(1096),o=n(4569),i=n(9747),a=o((function(t,e){return i(t)?r(t,e):[]}));t.exports=a},459:(t,e,n)=>{"use strict";var r=n(5704);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},216:(t,e,n)=>{t.exports=n(459)()},5704:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8266:t=>{"use strict";var e=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty,o="undefined"!=typeof Element;function i(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){var u,c,l,s=e(t),f=e(a);if(s&&f){if((c=t.length)!=a.length)return!1;for(u=c;0!=u--;)if(!i(t[u],a[u]))return!1;return!0}if(s!=f)return!1;var p=t instanceof Date,d=a instanceof Date;if(p!=d)return!1;if(p&&d)return t.getTime()==a.getTime();var h=t instanceof RegExp,y=a instanceof RegExp;if(h!=y)return!1;if(h&&y)return t.toString()==a.toString();var v=n(t);if((c=v.length)!==n(a).length)return!1;for(u=c;0!=u--;)if(!r.call(a,v[u]))return!1;if(o&&t instanceof Element&&a instanceof Element)return t===a;for(u=c;0!=u--;)if(!("_owner"===(l=v[u])&&t.$$typeof||i(t[l],a[l])))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,e){try{return i(t,e)}catch(t){if(t.message&&t.message.match(/stack|recursion/i)||-2146828260===t.number)return console.warn("Warning: react-fast-compare does not handle circular references.",t.name,t.message),!1;throw t}}},9787:e=>{"use strict";e.exports=t}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var i=n[t]={id:t,loaded:!1,exports:{}};return e[t](i,i.exports,r),i.loaded=!0,i.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),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,{VictoryLegend:()=>Ti});var t={};r.r(t),r.d(t,{easeBack:()=>Ar,easeBackIn:()=>kr,easeBackInOut:()=>Ar,easeBackOut:()=>Pr,easeBounce:()=>wr,easeBounceIn:()=>Or,easeBounceInOut:()=>Er,easeBounceOut:()=>wr,easeCircle:()=>gr,easeCircleIn:()=>br,easeCircleInOut:()=>gr,easeCircleOut:()=>mr,easeCubic:()=>or,easeCubicIn:()=>nr,easeCubicInOut:()=>or,easeCubicOut:()=>rr,easeElastic:()=>Tr,easeElasticIn:()=>Cr,easeElasticInOut:()=>Ir,easeElasticOut:()=>Tr,easeExp:()=>vr,easeExpIn:()=>hr,easeExpInOut:()=>vr,easeExpOut:()=>yr,easeLinear:()=>Xn,easePoly:()=>ur,easePolyIn:()=>ir,easePolyInOut:()=>ur,easePolyOut:()=>ar,easeQuad:()=>er,easeQuadIn:()=>Jn,easeQuadInOut:()=>er,easeQuadOut:()=>tr,easeSin:()=>pr,easeSinIn:()=>sr,easeSinInOut:()=>pr,easeSinOut:()=>fr});var e=r(9787),n=r.n(e),i=r(216),a=r.n(i),u=r(6866),c=r.n(u),l=r(9717),s=r.n(l),f=r(2290),p=r.n(f),d=r(2635),h=r.n(d),y=r(1346),v=r.n(y),b=r(6782),m=r.n(b),g=r(7901),x=r.n(g),O=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];if(n.length>0)return n.reduce((function(t,e){return[t,O(e)].join(" ")}),O(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()},w=r(8423),E=r.n(w),j=(r(1651),r(3839)),k=r.n(j);function P(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function A(t){var e=function(t){return void 0!==t},n=t._x,r=t._x1,o=t._x0,i=t._voronoiX,a=t._y,u=t._y1,c=t._y0,l=t._voronoiY,s=e(r)?r:n,f=e(u)?u:a,p={x:e(i)?i:s,x0:e(o)?o:n,y:e(l)?l:f,y0:e(c)?c:a};return x()({},p,t)}function S(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"padding",n=t[e],r="number"==typeof n?n:0,o="object"==typeof n?n:{};return{top:o.top||r,bottom:o.bottom||r,left:o.left||r,right:o.right||r}}function C(t,e){return k()(t)?t(e):t}function T(t,e){return e.disableInlineStyles?{}:t&&h()(t).some((function(e){return k()(t[e])}))?h()(t).reduce((function(n,r){return n[r]=C(t[r],e),n}),{}):t}function I(t){return"number"==typeof t?t*(Math.PI/180):t}function M(t){var e=S(t),n=e.left,r=e.right,o=e.top,i=e.bottom,a=t.width,u=t.height;return Math.min(a-n-r,u-o-i)/2}function _(t,e,r){var o=P(t.theme&&t.theme[r]?t.theme[r]:{},["style"]),i=function(t){if(void 0!==t.horizontal||!t.children)return t.horizontal;var e=function(t){return t.reduce((function(t,r){var o=r.props||{};return t||o.horizontal||!o.children?t=t||o.horizontal:e(n().Children.toArray(o.children))}),!1)};return e(n().Children.toArray(t.children))}(t),a=void 0===i?{}:{horizontal:i};return x()(a,t,o,e)}function D(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var R={"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}},z={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},L={em:1,ex:.5},N={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},W=function(t){return Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g)},B=function(t,e,n){var r=function(t){return t*Math.PI/180}(n);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*e)},$=function(t,e){var n=t.match(/[a-zA-Z%]+/)&&t.match(/[a-zA-Z%]+/)[0],r=t.match(/[0-9.,]+/);return n?z.hasOwnProperty(n)?r*z[n]:L.hasOwnProperty(n)?(e?r*e:r*N.fontSize)*L[n]:r:r||0},q=function(t,e){var n=Array.isArray(t)?t[e]:t,r=x()({},n,N);return m()({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:$(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:$(String(r.fontSize))})},F=function(t,e){if(void 0===t||""===t||null===t)return 0;var n,r=W(t).map((function(t,n){var r,o,i=t.toString().length,a=q(e,n),u=a.fontSize,c=a.letterSpacing,l=(r=a.fontFamily,o=r.split(",").map((function(t){return t.replace(/'|"/g,"")})).find((function(t){return R[t]}))||"Helvetica",R[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,e){return e+t}),0)*u+c*Math.max(i-1,0)}));return Math.max.apply(Math,function(t){if(Array.isArray(t))return D(t)}(n=r)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||function(t,e){if(t){if("string"==typeof t)return D(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?D(t,e):void 0}}(n)||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.")}())},H=function(t,e){return function(t,e){var n=Array.isArray(e)?e[0]&&e[0].angle:e&&e.angle,r=function(t,e){return void 0===t||""===t||null===t?0:W(t).reduce((function(t,n,r){var o=q(e,r),i=n.toString().match(/[(A-Z)(0-9)]/)?1.15*o.fontSize:o.fontSize;return t+o.lineHeight*i}),0)}(t,e),o=F(t,e);return{width:n?B(o,r,n):o,height:1.05*(n?B(r,o,n):r)}}(t,e)};function U(t){return function(t){if(Array.isArray(t))return K(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return K(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?K(t,e):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 K(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function G(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function V(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?G(Object(n),!0).forEach((function(e){Q(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Z=function(t){var e=t.data,n=t.style;return e.map((function(t,r){return T(x()({},t.labels,n.labels),{datum:t,index:r,data:e})}))},Y=function(t){var e=t.orientation,n=t.theme,r=function(t,e){var n=t.style||{};return e=e||{},{parent:x()(n.parent,e.parent,{height:"100%",width:"100%"}),data:x()({},n.data,e.data),labels:x()({},n.labels,e.labels),border:x()({},n.border,e.border),title:x()({},n.title,e.title)}}(t,n&&n.legend&&n.legend.style?n.legend.style:{}),o=function(t){var e,n,r=t.colorScale;return"string"==typeof r?(n={grayscale:["#cccccc","#969696","#636363","#252525"],qualitative:["#334D5C","#45B29D","#EFC94C","#E27A3F","#DF5A49","#4F7DA1","#55DBC1","#EFDA97","#E2A37F","#DF948A"],heatmap:["#428517","#77D200","#D6D305","#EC8E19","#C92B05"],warm:["#940031","#C43343","#DC5429","#FF821D","#FFAF55"],cool:["#2746B9","#0B69D4","#2794DB","#31BB76","#60E83B"],red:["#FCAE91","#FB6A4A","#DE2D26","#A50F15","#750B0E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"]},(e=r)?n[e]:n.grayscale):r||[]}(t),i="horizontal"===e,a=S({padding:t.borderPadding});return m()({},t,{style:r,isHorizontal:i,colorScale:o,borderPadding:a})},X=function(t,e){var n=t.itemsPerRow,r=t.isHorizontal;return n?r?e%n:Math.floor(e/n):r?e:0},J=function(t,e){var n=t.itemsPerRow,r=t.isHorizontal;return n?r?Math.floor(e/n):e%n:r?0:e},tt=function(t){var e=t.data,n=t.style&&t.style.data||{},r=Z(t);return e.map((function(e,o){var i=e.symbol||{},a=r[o].fontSize,u=i.size||n.size||a/2.5,c=t.symbolSpacer||Math.max(u,a);return V(V({},e),{},{size:u,symbolSpacer:c,fontSize:a,textSize:H(e.name,r[o]),column:X(t,o),row:J(t,o)})}))},et=function(t,e){var n=t.gutter||{},r="object"==typeof n?(n.left||0)+(n.right||0):n||0,o=v()(e,"column");return h()(o).reduce((function(t,e,n){var i=o[e].map((function(t){return t.textSize.width+t.size+t.symbolSpacer+r}));return t[n]=Math.max.apply(Math,U(i)),t}),[])},nt=function(t,e){var n=t.rowGutter||{},r="object"==typeof n?(n.top||0)+(n.bottom||0):n||0,o=v()(e,"row");return h()(o).reduce((function(t,e,n){var i=o[e].map((function(t){return t.textSize.height+t.symbolSpacer+r}));return t[n]=Math.max.apply(Math,U(i)),t}),[])},rt=function(t){var e=t.style&&t.style.title||{},n=H(t.title,e),r=e.padding||0;return{height:n.height+2*r||0,width:n.width+2*r||0}},ot=function(t,e){var n=_(t,e,"legend"),r=t=m()({},n,Y(n)),o=r.title,i=r.titleOrientation,a=tt(t),u=et(t,a),c=nt(t,a),l=o?rt(t):{height:0,width:0};return{height:"left"===i||"right"===i?Math.max(p()(c),l.height):p()(c)+l.height,width:"left"===i||"right"===i?p()(u)+l.width:Math.max(p()(u),l.width)}},it=function(t,e){var n=_(t,e,"legend"),r=t=m()({},n,Y(n)),o=r.data,i=r.standalone,a=r.theme,u=r.padding,l=r.style,f=r.colorScale,p=r.gutter,d=r.rowGutter,h=r.borderPadding,y=r.title,v=r.titleOrientation,b=r.name,g=r.x,O=void 0===g?0:g,w=r.y,E=void 0===w?0:w,j=tt(t),k=et(t,j),P=nt(t,j),A=Z(t),S=y?rt(t):{height:0,width:0},C="left"===v?S.width:0,T="top"===v?S.height:0,I=p&&"object"==typeof p&&p.left||0,M=d&&"object"==typeof d&&d.top||0,D=ot(t,e),R=function(t,e,n){var r=t.x,o=t.y,i=t.borderPadding,a=t.style;return{x:r,y:o,height:(e||0)+i.top+i.bottom,width:(n||0)+i.left+i.right,style:m()({fill:"none"},a.border)}}(t,D.height,D.width),z=function(t,e){var n=t.title,r=t.titleOrientation,o=t.centerTitle,i=t.borderPadding,a=e.height,u=e.width,c=function(t){var e=t.titleOrientation,n=t.centerTitle,r=t.titleComponent,o=t.style&&t.style.title||{},i=r.props&&r.props.style||{},a=function(t,e){var n={textAnchor:"right"===t?"end":"start",verticalAnchor:"bottom"===t?"end":"start"};if(e){var r="top"===t||"bottom"===t;return{textAnchor:r?"middle":n.textAnchor,verticalAnchor:r?n.verticalAnchor:"middle"}}return n}(e,n);return Array.isArray(i)?i.map((function(t){return x()({},t,o,a)})):x()({},i,o,a)}(t),l=Array.isArray(c)?c[0].padding:c.padding,s="top"===r||"bottom"===r,f="right"===r?"right":"left",p={x:o?u/2:i["bottom"===r?"bottom":"top"]+(l||0),y:o?a/2:i[f]+(l||0)},d=function(){return i[r]+(l||0)},h=s?p.x:d(),y=s?d():p.y;return{x:"right"===r?t.x+u-h:t.x+h,y:"bottom"===r?t.y+a-y:t.y+y,style:c,text:n}}(t,R),L={parent:{data:o,standalone:i,theme:a,padding:u,name:b,height:t.height,width:t.width,style:l.parent},all:{border:R,title:z}};return j.reduce((function(t,e,n){var r=f[n%f.length],i=x()({},e.symbol,l.data,{fill:r}),a=c()(e.eventKey)?n:e.eventKey,u=function(t,e,n){var r=t.column,o=t.row;return{x:s()(r).reduce((function(t,e){return t+n[e]}),0),y:s()(o).reduce((function(t,n){return t+e[n]}),0)}}(e,P,k),p=E+h.top+e.symbolSpacer,d=O+h.left+e.symbolSpacer,y={index:n,data:o,datum:e,symbol:i.type||i.symbol||"circle",size:e.size,style:i,y:p+u.y+T+M,x:d+u.x+C+I},v={datum:e,data:o,text:e.name,style:A[n],y:y.y,x:y.x+e.symbolSpacer+e.size/2};return t[a]={data:y,labels:v},t}),L)},at=r(2654),ut=r.n(at),ct=r(6786),lt=r.n(ct),st=function(t){var e=function(e,n,r,o){var i=n[r];if(null==i)return e?new Error("Required `".concat(r,"` was not specified in `").concat(o,"`.")):null;for(var a=arguments.length,u=new Array(a>4?a-4:0),c=4;c<a;c++)u[c-4]=arguments[c];return t.apply(void 0,[n,r,o].concat(u))},n=e.bind(null,!1);return n.isRequired=e.bind(null,!0),n},ft=function(){return null},pt=function(){},dt=function(t){return void 0===t?pt:null===t?ft:t.constructor},ht=function(t){return void 0===t?"undefined":null===t?"null":Object.prototype.toString.call(t).slice(8,-1)};function yt(t){return st((function(e,n,r){for(var o=arguments.length,i=new Array(o>3?o-3:0),a=3;a<o;a++)i[a-3]=arguments[a];return t.reduce((function(t,o){return t||o.apply(void 0,[e,n,r].concat(i))}),void 0)}))}var vt=st((function(t,e,n){var r=t[e];if("number"!=typeof r||r<0)return new Error("`".concat(e,"` in `").concat(n,"` must be a non-negative number."))})),bt=st((function(t,e,n){var r=t[e];if("number"!=typeof r||r%1!=0)return new Error("`".concat(e,"` in `").concat(n,"` must be an integer."))})),mt=(st((function(t,e,n){var r=t[e];if("number"!=typeof r||r<=0)return new Error("`".concat(e,"` in `").concat(n,"` must be a number greater than zero."))})),st((function(t,e,n){var r=t[e];if(!Array.isArray(r)||2!==r.length||r[1]===r[0])return new Error("`".concat(e,"` in `").concat(n,"` must be an array of two unique numeric values."))}))),gt=st((function(t,e,n){var r;if(r=t[e],!(k()(r)?k()(r.copy)&&k()(r.domain)&&k()(r.range):"string"==typeof r&&-1!==["linear","time","log","sqrt"].indexOf(r)))return new Error("`".concat(e,"` in `").concat(n,"` must be a d3 scale."))})),xt=(st((function(t,e,n){var r=t[e];if(!Array.isArray(r))return new Error("`".concat(e,"` in `").concat(n,"` must be an array."));if(!(r.length<2)){var o=dt(r[0]),i=lt()(r,(function(t){return o!==dt(t)}));if(i){var a=ht(r[0]),u=ht(i);return new Error("Expected `".concat(e,"` in `").concat(n,"` to be a ")+"homogeneous array, but found types `".concat(a,"` and ")+"`".concat(u,"`."))}}})),st((function(t,e){if(t[e]&&Array.isArray(t[e])&&t[e].length!==t.data.length)return new Error("Length of data and ".concat(e," arrays must match."))})),st((function(t,e,n){if(t[e]&&!ut()(t[e]))return new Error("`".concat(e,"` in `").concat(n,"` must be a regular expression."))})),a().oneOfType([a().arrayOf(a().string),a().shape({x:a().arrayOf(a().string),y:a().arrayOf(a().string)})]),a().oneOfType([a().array,a().object]),a().element,a().bool,a().element,a().oneOfType([a().func,a().array]),a().oneOfType([a().func,yt([bt,vt]),a().string,a().arrayOf(a().string)]),a().oneOf(["ascending","descending"]),a().shape({parent:a().object,data:a().object,labels:a().object}),a().oneOfType([a().func,yt([bt,vt]),a().string,a().arrayOf(a().string)]),a().oneOfType([a().func,yt([bt,vt]),a().string,a().arrayOf(a().string)]),a().oneOfType([a().func,yt([bt,vt]),a().string,a().arrayOf(a().string)]),a().oneOfType([a().bool,a().object]),a().element,a().oneOfType([mt,a().shape({x:mt,y:mt})]),a().oneOfType([a().number,a().instanceOf(Date),a().shape({x:a().oneOfType([a().number,a().instanceOf(Date)]),y:a().oneOfType([a().number,a().instanceOf(Date)])})]),a().oneOfType([a().number,a().instanceOf(Date),a().shape({x:a().oneOfType([a().number,a().instanceOf(Date)]),y:a().oneOfType([a().number,a().instanceOf(Date)])})]),a().oneOfType([a().shape({x:a().oneOfType([a().number,a().arrayOf(a().number)]),y:a().oneOfType([a().number,a().arrayOf(a().number)])}),a().number,a().arrayOf(a().number)]),a().oneOfType([a().func,yt([bt,vt]),a().string]),a().arrayOf(a().shape({target:a().oneOf(["data","labels","parent"]),eventKey:a().oneOfType([a().array,yt([bt,vt]),a().string]),eventHandlers:a().object})),a().arrayOf(a().shape({callback:a().function,childName:a().oneOfType([a().string,a().array]),eventKey:a().oneOfType([a().array,yt([bt,vt]),a().string]),mutation:a().function,target:a().oneOfType([a().string,a().array])})),a().element,a().string,a().shape({x:a().number,y:a().number}),a().oneOfType([a().number,a().shape({top:a().number,bottom:a().number,left:a().number,right:a().number})]),a().bool,a().oneOfType([mt,a().shape({x:mt,y:mt})]),a().oneOfType([gt,a().shape({x:gt,y:gt})]),a().shape({events:a().array,getEventState:a().func}),a().oneOfType([a().bool,a().shape({x:a().oneOfType([a().bool]),y:a().oneOfType([a().bool])})]),a().bool,a().object,{active:a().bool,ariaLabel:a().oneOfType([a().string,a().func]),className:a().string,clipPath:a().string,data:a().oneOfType([a().array,a().object]),desc:a().oneOfType([a().string,a().func]),disableInlineStyles:a().bool,events:a().object,id:a().oneOfType([a().number,a().string,a().func]),index:a().oneOfType([a().number,a().string]),origin:a().shape({x:a().number,y:a().number}),polar:a().bool,role:a().string,scale:a().oneOfType([gt,a().shape({x:gt,y:gt})]),shapeRendering:a().string,style:a().object,tabIndex:a().oneOfType([a().number,a().func]),transform:a().string}),Ot=["desc"];function wt(){return wt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},wt.apply(this,arguments)}const Et=function(t){var e=t.desc,r=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,Ot);return e?n().createElement("rect",wt({vectorEffect:"non-scaling-stroke"},r),n().createElement("desc",null,e)):n().createElement("rect",wt({vectorEffect:"non-scaling-stroke"},r))};function jt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function kt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?jt(Object(n),!0).forEach((function(e){Pt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):jt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Pt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var At=function(t){return t=function(t){var e=C(t.ariaLabel,t),n=C(t.desc,t),r=C(t.id,t),o=T(m()({fill:"none"},t.style),t),i=C(t.tabIndex,t);return m()({},t,{ariaLabel:e,desc:n,id:r,style:o,tabIndex:i})}(t),n().cloneElement(t.rectComponent,kt(kt({},t.events),{},{"aria-label":t.ariaLabel,style:t.style,desc:t.desc,tabIndex:t.tabIndex,transform:t.transform,className:t.className,role:t.role,shapeRendering:t.shapeRendering,x:t.x,y:t.y,width:t.width,height:t.height,clipPath:t.clipPath}))};At.propTypes=kt(kt({},xt),{},{height:a().number,rectComponent:a().element,width:a().number,x:a().number,y:a().number}),At.defaultProps={rectComponent:n().createElement(Et,null),role:"presentation",shapeRendering:"auto"};const St=At;var Ct=r(5973),Tt=r.n(Ct),It=r(556),Mt=r.n(It);function _t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Dt(t,e){return Dt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Dt(t,e)}function Rt(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return zt(t)}function zt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lt(t){return Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Lt(t)}function Nt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Wt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Dt(t,e)}(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,e=Lt(o);if(i){var n=Lt(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Rt(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=a.call(this,t)).map={},e.index=1,e.portalUpdate=e.portalUpdate.bind(zt(e)),e.portalRegister=e.portalRegister.bind(zt(e)),e.portalDeregister=e.portalDeregister.bind(zt(e)),e}return e=u,(r=[{key:"portalRegister",value:function(){return++this.index}},{key:"portalUpdate",value:function(t,e){this.map[t]=e,this.forceUpdate()}},{key:"portalDeregister",value:function(t){delete this.map[t],this.forceUpdate()}},{key:"getChildren",value:function(){var t=this;return h()(this.map).map((function(e){var r=t.map[e];return r?n().cloneElement(r,{key:e}):r}))}},{key:"render",value:function(){return n().createElement("svg",this.props,this.getChildren())}}])&&_t(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(n().Component);Nt(Wt,"displayName","Portal"),Nt(Wt,"propTypes",{className:a().string,height:vt,style:a().object,viewBox:a().string,width:vt});var Bt=n().createContext({});Bt.displayName="PortalContext";const $t=Bt;var qt,Ft,Ht=0,Ut=0,Kt=0,Gt=0,Vt=0,Qt=0,Zt="object"==typeof performance&&performance.now?performance:Date,Yt="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Xt(){return Vt||(Yt(Jt),Vt=Zt.now()+Qt)}function Jt(){Vt=0}function te(){this._call=this._time=this._next=null}function ee(t,e,n){var r=new te;return r.restart(t,e,n),r}function ne(){Vt=(Gt=Zt.now())+Qt,Ht=Ut=0;try{!function(){Xt(),++Ht;for(var t,e=qt;e;)(t=Vt-e._time)>=0&&e._call.call(void 0,t),e=e._next;--Ht}()}finally{Ht=0,function(){for(var t,e,n=qt,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:qt=e);Ft=t,oe(r)}(),Vt=0}}function re(){var t=Zt.now(),e=t-Gt;e>1e3&&(Qt-=e,Gt=t)}function oe(t){Ht||(Ut&&(Ut=clearTimeout(Ut)),t-Vt>24?(t<1/0&&(Ut=setTimeout(ne,t-Zt.now()-Qt)),Kt&&(Kt=clearInterval(Kt))):(Kt||(Gt=Zt.now(),Kt=setInterval(re,1e3)),Ht=1,Yt(ne)))}function ie(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}te.prototype=ee.prototype={constructor:te,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Xt():+n)+(null==e?0:+e),this._next||Ft===this||(Ft?Ft._next=this:qt=this,Ft=this),this._call=t,this._time=n,oe()},stop:function(){this._call&&(this._call=null,this._time=1/0,oe())}};var ae=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.shouldAnimate=!0,this.subscribers=[],this.loop=this.loop.bind(this),this.timer=null,this.activeSubscriptions=0}var e,n;return e=t,(n=[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"loop",value:function(){this.subscribers.forEach((function(t){t.callback(Xt()-t.startTime,t.duration)}))}},{key:"start",value:function(){this.timer||(this.timer=ee(this.loop))}},{key:"stop",value:function(){this.timer&&(this.timer.stop(),this.timer=null)}},{key:"subscribe",value:function(t,e){e=this.shouldAnimate?e:0;var n=this.subscribers.push({startTime:Xt(),callback:t,duration:e});return this.activeSubscriptions++,this.start(),n}},{key:"unsubscribe",value:function(t){null!==t&&this.subscribers[t-1]&&(delete this.subscribers[t-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}])&&ie(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),ue=n().createContext({transitionTimer:new ae,animationTimer:new ae});ue.displayName="TimerContext";const ce=ue;function le(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return se(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?se(t,e):void 0}}(t,e)||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 se(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function fe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var de={startsWith:["data-","aria-"],exactMatch:[]},he=function(t,e){return"function"==typeof t?t(e):t},ye=function(t){var e=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fe(Object(n),!0).forEach((function(e){pe(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t);return Object.fromEntries(Object.entries(e).filter((function(t){return function(t){return!(!function(t){var e=!1;return de.startsWith.forEach((function(n){new RegExp("\\b(".concat(n,")(\\w|-)+"),"g").test(t)&&(e=!0)})),e}(t)&&!function(t){return de.exactMatch.includes(t)}(t))}(le(t,1)[0])})).map((function(e){var n=le(e,2),r=n[0],o=n[1];return[r,he(o,t)]})))};function ve(){return ve=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ve.apply(this,arguments)}function be(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function me(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?be(Object(n),!0).forEach((function(e){Ee(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):be(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ge(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function xe(t,e){return xe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},xe(t,e)}function Oe(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)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 we(t){return we=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},we(t)}function Ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var je=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&xe(t,e)}(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,e=we(o);if(i){var n=we(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Oe(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=a.call(this,t)).containerId=Tt()(t)&&void 0!==t.containerId?t.containerId:Mt()("victory-container-"),e.savePortalRef=function(t){return e.portalRef=t,t},e.portalUpdate=function(t,n){return e.portalRef.portalUpdate(t,n)},e.portalRegister=function(){return e.portalRef.portalRegister()},e.portalDeregister=function(t){return e.portalRef.portalDeregister(t)},e.saveContainerRef=t&&k()(t.containerRef)?t.containerRef:function(t){return e.containerRef=t,t},e.shouldHandleWheel=t&&t.events&&t.events.onWheel,e.shouldHandleWheel&&(e.handleWheel=function(t){return t.preventDefault()}),e}return e=u,(r=[{key:"componentDidMount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}},{key:"componentWillUnmount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}},{key:"getIdForElement",value:function(t){return"".concat(this.containerId,"-").concat(t)}},{key:"getChildren",value:function(t){return t.children}},{key:"getOUIAProps",value:function(t){var e=t.ouiaId,n=t.ouiaSafe,r=t.ouiaType;return me(me(me({},e&&{"data-ouia-component-id":e}),r&&{"data-ouia-component-type":r}),void 0!==n&&{"data-ouia-safe":n})}},{key:"renderContainer",value:function(t,e,r){var o=t.title,i=t.desc,a=t.portalComponent,u=t.className,c=t.width,l=t.height,s=t.portalZIndex,f=t.responsive,p=this.getChildren(t),d=f?{width:"100%",height:"100%"}:{width:c,height:l},h=m()({pointerEvents:"none",touchAction:"none",position:"relative"},d),y=m()({zIndex:s,position:"absolute",top:0,left:0},d),v=m()({pointerEvents:"all"},d),b=m()({overflow:"visible"},d),g={width:c,height:l,viewBox:e.viewBox,preserveAspectRatio:e.preserveAspectRatio,style:b};return n().createElement($t.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},n().createElement("div",ve({style:x()({},r,h),className:u,ref:this.saveContainerRef},this.getOUIAProps(t)),n().createElement("svg",ve({},e,{style:v}),o?n().createElement("title",{id:this.getIdForElement("title")},o):null,i?n().createElement("desc",{id:this.getIdForElement("desc")},i):null,p),n().createElement("div",{style:y},n().cloneElement(a,me(me({},g),{},{ref:this.savePortalRef})))))}},{key:"render",value:function(){var t=this.props,e=t.width,n=t.height,r=t.responsive,o=t.events,i=t.title,a=t.desc,u=t.tabIndex,c=t.preserveAspectRatio,l=t.role,s=r?this.props.style:P(this.props.style,["height","width"]),f=ye(this.props),p=m()(me({width:e,height:n,tabIndex:u,role:l,"aria-labelledby":[i&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[a&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:r?"0 0 ".concat(e," ").concat(n):void 0,preserveAspectRatio:r?c:void 0},f),o);return this.renderContainer(this.props,p,s)}}])&&ge(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(n().Component);Ee(je,"displayName","VictoryContainer"),Ee(je,"role","container"),Ee(je,"propTypes",{"aria-describedby":a().string,"aria-labelledby":a().string,children:a().oneOfType([a().arrayOf(a().node),a().node]),className:a().string,containerId:a().oneOfType([a().number,a().string]),containerRef:a().func,desc:a().string,events:a().object,height:vt,name:a().string,origin:a().shape({x:vt,y:vt}),ouiaId:a().oneOfType([a().number,a().string]),ouiaSafe:a().bool,ouiaType:a().string,polar:a().bool,portalComponent:a().element,portalZIndex:bt,preserveAspectRatio:a().string,responsive:a().bool,role:a().string,style:a().object,tabIndex:a().number,theme:a().object,title:a().string,width:vt}),Ee(je,"defaultProps",{className:"VictoryContainer",portalComponent:n().createElement(Wt,null),portalZIndex:99,responsive:!0,role:"img"}),Ee(je,"contextType",ce);const ke={circle:function(t,e,n){return"M ".concat(t,", ").concat(e,"\n m ").concat(-n,", 0\n a ").concat(n,", ").concat(n," 0 1,0 ").concat(2*n,",0\n a ").concat(n,", ").concat(n," 0 1,0 ").concat(2*-n,",0")},square:function(t,e,n){var r=.87*n,o=t-r,i=e+r,a=t+r-o;return"M ".concat(o,", ").concat(i,"\n h").concat(a,"\n v-").concat(a,"\n h-").concat(a,"\n z")},diamond:function(t,e,n){var r=.87*n,o=Math.sqrt(r*r*2);return"M ".concat(t,", ").concat(e+o,"\n l ").concat(o,", -").concat(o,"\n l -").concat(o,", -").concat(o,"\n l -").concat(o,", ").concat(o,"\n l ").concat(o,", ").concat(o,"\n z")},triangleDown:function(t,e,n){var r=t+n,o=e-n,i=e+n/2*Math.sqrt(3);return"M ".concat(t-n,", ").concat(o,"\n L ").concat(r,", ").concat(o,"\n L ").concat(t,", ").concat(i,"\n z")},triangleUp:function(t,e,n){var r=t+n,o=e-n/2*Math.sqrt(3),i=e+n;return"M ".concat(t-n,", ").concat(i,"\n L ").concat(r,", ").concat(i,"\n L ").concat(t,", ").concat(o,"\n z")},plus:function(t,e,n){var r=1.1*n,o=r/1.5;return"\n M ".concat(t-o/2,", ").concat(e+r,"\n v-").concat(o,"\n h-").concat(o,"\n v-").concat(o,"\n h").concat(o,"\n v-").concat(o,"\n h").concat(o,"\n v").concat(o,"\n h").concat(o,"\n v").concat(o,"\n h-").concat(o,"\n v").concat(o,"\n z")},cross:function(t,e,n){var r=.8*n,o=r/1.5;return"\n M ".concat(t-o/2,", ").concat(e+r+o,"\n v-").concat(2*o,"\n h-").concat(o,"\n v-").concat(o,"\n h").concat(o,"\n v-").concat(o,"\n h").concat(o,"\n v").concat(o,"\n h").concat(o,"\n v").concat(o,"\n h-").concat(o,"\n v").concat(2*o,"\n z")},minus:function(t,e,n){var r=1.1*n,o=r-.3*r,i=t-r,a=e+o/2,u=t+r-i;return"M ".concat(i,", ").concat(a,"\n h").concat(u,"\n v-").concat(o,"\n h-").concat(u,"\n z")},star:function(t,e,n){var r=1.35*n,o=Math.PI/5,i=s()(10).map((function(n){var i=n%2==0?r:r/2;return"".concat(i*Math.sin(o*(n+1))+t,",\n ").concat(i*Math.cos(o*(n+1))+e)}));return"M ".concat(i.join("L")," z")}};var Pe=["desc"];const Ae=function(t){var e=t.desc,r=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,Pe);return e?n().createElement("path",r,n().createElement("desc",null,e)):n().createElement("path",r)};function Se(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ce(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Se(Object(n),!0).forEach((function(e){Te(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Se(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ie=function(t){var e=t.x,n=t.y,r=t.size,o=t.symbol;if(t.getPath)return t.getPath(e,n,r);var i={circle:ke.circle,square:ke.square,diamond:ke.diamond,triangleDown:ke.triangleDown,triangleUp:ke.triangleUp,plus:ke.plus,minus:ke.minus,star:ke.star,cross:ke.cross};return("function"==typeof i[o]?i[o]:i.circle)(e,n,r)},Me=function(t){return t=function(t){var e=C(t.ariaLabel,t),n=C(t.desc,t),r=C(t.id,t),o=C(t.size,t),i=T(t.style,t),a=C(t.symbol,t),u=C(t.tabIndex,t);return m()({},t,{ariaLabel:e,desc:n,id:r,size:o,style:i,symbol:a,tabIndex:u})}(t),n().cloneElement(t.pathComponent,Ce(Ce({},t.events),{},{"aria-label":t.ariaLabel,d:Ie(t),style:t.style,desc:t.desc,tabIndex:t.tabIndex,role:t.role,shapeRendering:t.shapeRendering,className:t.className,transform:t.transform,clipPath:t.clipPath}))};Me.propTypes=Ce(Ce({},xt),{},{datum:a().object,getPath:a().func,pathComponent:a().element,size:a().oneOfType([a().number,a().func]),symbol:a().oneOfType([a().oneOf(["circle","cross","diamond","plus","minus","square","star","triangleDown","triangleUp"]),a().func]),x:a().number,y:a().number}),Me.defaultProps={pathComponent:n().createElement(Ae,null),role:"presentation",shapeRendering:"auto"};const _e=Me;var De=r(6834),Re=r.n(De);function ze(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Le(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ne(t,e){return Ne=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Ne(t,e)}function We(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)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 Be(t){return Be=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Be(t)}function $e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var qe=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ne(t,e)}(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,e=Be(o);if(i){var n=Be(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return We(this,t)});function u(){return ze(this,u),a.apply(this,arguments)}return e=u,(r=[{key:"componentDidMount",value:function(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}},{key:"componentDidUpdate",value:function(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}},{key:"componentWillUnmount",value:function(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}},{key:"renderPortal",value:function(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,e=this.props.groupComponent,r=t&&t.props||{},o=r.groupComponent?{groupComponent:e,standalone:!1}:{},i=x()(o,r,P(this.props,["children","groupComponent"])),a=t&&n().cloneElement(t,i);return this.renderPortal(a)}}])&&Le(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(n().Component);$e(qe,"displayName","VictoryPortal"),$e(qe,"role","portal"),$e(qe,"propTypes",{children:a().node,groupComponent:a().element}),$e(qe,"defaultProps",{groupComponent:n().createElement("g",null)}),$e(qe,"contextType",$t);var Fe=["children","title","desc"];var He=function(t){var e=t.children,r=t.title,o=t.desc,i=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,Fe);return n().createElement("text",i,r&&n().createElement("title",null,r),o&&n().createElement("desc",null,o),e)};He.propTypes={children:a().node,desc:a().string,title:a().string};const Ue=He,Ke=function(t){return n().createElement("tspan",t)};function Ge(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ve(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ge(Object(n),!0).forEach((function(e){Qe(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Qe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ze(t){return function(t){if(Array.isArray(t))return Ye(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Ye(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ye(t,e):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 Ye(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Xe={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},Je=function(t,e){if(!t.datum)return 0;var n=function(t,e){var n=t.scale,r=t.polar,o=t.horizontal,i=A(e),a=t.origin||{x:0,y:0},u=o?n.y(i.y):n.x(i.x),c=o?n.y(i.y0):n.x(i.x0),l=o?n.x(i.x):n.y(i.y),s=o?n.x(i.x0):n.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}}(t,t.datum);return n[e]},tn=function(t){var e=t&&t.fontSize;if("number"==typeof e)return e;if(null==e)return Xe.fontSize;if("string"==typeof e){var n=+e.replace("px","");return isNaN(n)?Xe.fontSize:n}return Xe.fontSize},en=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(t)?t[e]||t[0]:t},nn=function(t){var e=t.backgroundStyle,n=t.backgroundPadding;return Array.isArray(e)&&!Re()(e)||Array.isArray(n)&&!Re()(n)},rn=function(t,e,n){var r=t.polar,o=en(t.style),i=r?function(t,e){var n=t.labelPlacement,r=t.datum;if(!n||"vertical"===n)return 0;var o=function(t,e){var n,r=A(e).x;return("number"==typeof(n=t.scale.x(r))?n/(Math.PI/180):n)%360}(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"===n?0:90)}(t):0,a=void 0===o.angle?C(t.angle,t):o.angle,u=void 0===a?i:a,c=t.transform||o.transform,l=c&&C(c,t);return l||u?O(l,u&&{rotate:[u,e,n]}):void 0},on=function(t,e){var n=t.direction,r=t.textAnchor,o=t.x,i=t.dx;if("rtl"===n)return o-e;switch(r){case"middle":return Math.round(o-e/2);case"end":return Math.round(o-e);default:return o+(i||0)}},an=function(t,e){var n=t.verticalAnchor,r=t.y,o=t.originalDy,i=r+(void 0===o?0:o);switch(n){case"start":return Math.floor(i);case"end":return Math.ceil(i-e);default:return Math.floor(i-e/2)}},un=function(t,e){return nn(t)?function(t,e){var r=t.dy,o=t.dx,i=t.transform,a=t.backgroundStyle,u=t.backgroundPadding,c=t.backgroundComponent,l=t.inline,s=t.y,f=e.map((function(t,n){var i=en(e,n-1),a=t.textSize,c=t.fontSize*t.lineHeight,f=Math.ceil(c),p=en(u,n),d=en(u,n-1),h=l&&o||0,y=n&&!l?i.fontSize*i.lineHeight+d.top+d.bottom:r-.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(e,r){var o=on(t,e.labelSize.width),p=f.slice(0,r+1).reduce((function(t,e){return t+e.dy}),s),d=en(u,r),h=e.heightWithPadding,y=l?function(t,e,n){var r=t.textAnchor,o=e.map((function(t){return t.widthWithPadding})),i=-o.reduce((function(t,e){return t+e}),0)/2;switch(r){case"start":return o.reduce((function(t,e,r){return r<n?t+e:t}),0);case"end":return o.reduce((function(t,e,r){return r>n?t-e:t}),0);default:return o.reduce((function(t,e,r){return r===n?t+e/2:t+(r<n?e:0)}),i)}}(t,f,r)+o-d.left:o,v=l?an(t,h)-d.top:p,b={key:"tspan-background-".concat(r),height:h,style:en(a,r),width:e.widthWithPadding,transform:i,x:y-d.left,y:v};return n().cloneElement(c,x()({},c.props,b))}))}(t,e):function(t,e){var r=t.dx,o=void 0===r?0:r,i=t.transform,a=t.backgroundComponent,u=t.backgroundStyle,c=t.inline,l=t.backgroundPadding,s=t.capHeight,f=e.map((function(t){return t.textSize})),p=c?Math.max.apply(Math,Ze(f.map((function(t){return t.height})))):f.reduce((function(t,n,r){var o=r?0:s/2;return t+n.height*(e[r].lineHeight-o)}),0),d=c?f.reduce((function(t,e,n){var r=n?o:0;return t+e.width+r}),0):Math.max.apply(Math,Ze(f.map((function(t){return t.width})))),h=on(t,d),y=an(t,p),v={key:"background",height:p+l.top+l.bottom,style:u,transform:i,width:d+l.left+l.right,x:c?h-l.left:h+o-l.left,y};return n().cloneElement(a,x()({},a.props,v))}(t,e)},cn=function(t,e,n){var r=e.inline,o=en(t,n);return n&&!r?function(t,e,n){var r=en(t,e),o=en(t,e-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 nn(n)?l+r.backgroundPadding.top+o.backgroundPadding.bottom:l}(t,n,e):r?0===n?o.backgroundPadding.top:void 0:o.backgroundPadding.top},ln=function(t){if(null===(t=function(t){var e=function(t,e){if(null!=t){if(Array.isArray(t))return t.map((function(t){return C(t,e)}));var n=C(t,e);if(null!=n)return Array.isArray(n)?n:"".concat(n).split("\n")}}(t.text,t),n=function(t,e){if(e.disableInlineStyles){var n=T(t,e);return{fontSize:tn(n)}}var r=function(t){var n=T(t=t?x()({},t,Xe):Xe,e);return m()({},n,{fontSize:tn(n)})};return Array.isArray(t)&&!Re()(t)?t.map((function(t){return r(t)})):r(t)}(t.style,m()({},t,{text:e})),r=function(t,e){if(t)return Array.isArray(t)&&!Re()(t)?t.map((function(t){return T(t,e)})):T(t,e)}(t.backgroundStyle,m()({},t,{text:e,style:n})),o=function(t){return t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((function(e){return S({padding:C(e,t)})})):S({padding:C(t.backgroundPadding,t)})}(m()({},t,{text:e,style:n,backgroundStyle:r})),i=C(t.id,t);return m()({},t,{backgroundStyle:r,backgroundPadding:o,style:n,text:e,id:i})}(t)).text||void 0===t.text)return null;var e=function(t){var e=C(t.ariaLabel,t),n=en(t.style),r=function(t){var e=C(t.lineHeight,t);return Array.isArray(e)&&Re()(e)?[1]:e}(t),o=t.direction?C(t.direction,t):"inherit",i=t.textAnchor?C(t.textAnchor,t):n.textAnchor||"start",a=t.verticalAnchor?C(t.verticalAnchor,t):n.verticalAnchor||"middle",u=t.dx?C(t.dx,t):0,c=function(t,e,n){var r=t.dy?C(t.dy,t):0,o=t.inline?1:t.text.length,i=C(t.capHeight,t),a=e?C(e,t):"middle",u=Ze(Array(o).keys()).map((function(e){return en(t.style,e).fontSize})),c=Ze(Array(o).keys()).map((function(t){return en(n,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=Ze(Array(o).keys()).reduce((function(t,e){return t+(i/2+(.5-o)*c[e])*u[e]/o}),0);return"end"===a?r+l:r+l/2+i/2*c[o-1]*u[o-1]}(t,a,r),l=void 0!==t.x?t.x:Je(t,"x"),s=void 0!==t.y?t.y:Je(t,"y"),f=rn(t,l,s);return m()({},t,{ariaLabel:e,lineHeight:r,direction:o,textAnchor:i,verticalAnchor:a,dx:u,dy:c,originalDy:t.dy,transform:f,x:l,y:s})}(t),r=e.text,o=e.style,i=e.capHeight,a=e.backgroundPadding,u=e.lineHeight,c=r.map((function(t,e){var n=en(o,e),r=$("".concat(i,"em"),n.fontSize),c=en(u,e);return{style:n,fontSize:n.fontSize||Xe.fontSize,capHeight:r,text:t,textSize:H(t,n),lineHeight:c,backgroundPadding:en(a,e)}})),l=function(t,e){var r=t.ariaLabel,o=t.inline,i=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,b=t.id,m=t.tabIndex,g=t.tspanComponent,x=t.textComponent,O=Ve(Ve({"aria-label":r,key:"text"},u),{},{direction:c,dx:f,x:h,y:y+p,transform:d,className:i,title:a,desc:C(v,t),tabIndex:C(m,t),id:b}),w=l.map((function(r,i){var a=e[i].style,u={key:"".concat(b,"-key-").concat(i),x:o?void 0:h,dx:o?f+e[i].backgroundPadding.left:f,dy:cn(e,t,i),textAnchor:a.textAnchor||s,style:a,children:r};return n().cloneElement(g,u)}));return n().cloneElement(x,O,w)}(e,c);if(t.backgroundStyle){var s=[un(e,c),l],f=n().cloneElement(t.groupComponent,{},s);return t.renderInPortal?n().createElement(qe,null,f):f}return t.renderInPortal?n().createElement(qe,null,l):l};ln.displayName="VictoryLabel",ln.role="label",ln.defaultStyles=Xe,ln.propTypes={active:a().bool,angle:a().oneOfType([a().string,a().number,a().func]),ariaLabel:a().oneOfType([a().string,a().func]),backgroundComponent:a().element,backgroundPadding:a().oneOfType([a().number,a().object,a().array]),backgroundStyle:a().oneOfType([a().object,a().array]),capHeight:a().oneOfType([a().string,vt,a().func]),className:a().string,data:a().array,datum:a().any,desc:a().oneOfType([a().string,a().func]),direction:a().oneOf(["rtl","ltr","inherit"]),dx:a().oneOfType([a().number,a().string,a().func]),dy:a().oneOfType([a().number,a().string,a().func]),events:a().object,groupComponent:a().element,id:a().oneOfType([a().number,a().string,a().func]),index:a().oneOfType([a().number,a().string]),inline:a().bool,labelPlacement:a().oneOf(["parallel","perpendicular","vertical"]),lineHeight:a().oneOfType([a().string,vt,a().func,a().array]),origin:a().shape({x:vt,y:vt}),polar:a().bool,renderInPortal:a().bool,scale:a().shape({x:gt,y:gt}),style:a().oneOfType([a().object,a().array]),tabIndex:a().oneOfType([a().number,a().func]),text:a().oneOfType([a().string,a().number,a().func,a().array]),textAnchor:a().oneOfType([a().oneOf(["start","middle","end","inherit"]),a().func]),textComponent:a().element,title:a().string,transform:a().oneOfType([a().string,a().object,a().func]),tspanComponent:a().element,verticalAnchor:a().oneOfType([a().oneOf(["start","middle","end"]),a().func]),x:a().oneOfType([a().number,a().string]),y:a().oneOfType([a().number,a().string])},ln.defaultProps={backgroundComponent:n().createElement(Et,null),groupComponent:n().createElement("g",null),direction:"inherit",textComponent:n().createElement(Ue,null),tspanComponent:n().createElement(Ke,null),capHeight:.71,lineHeight:1};const sn=ln;var fn=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],pn="#ECEFF1",dn="#90A4AE",hn="#455A64",yn="#212121",vn={width:350,height:350,padding:50},bn={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:hn,stroke:"transparent",strokeWidth:0},mn=m()({textAnchor:"middle"},bn),gn="round",xn="round";const On={area:m()({style:{data:{fill:yn},labels:bn}},vn),axis:m()({style:{axis:{fill:"transparent",stroke:dn,strokeWidth:2,strokeLinecap:gn,strokeLinejoin:xn},axisLabel:m()({},mn,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:pn,strokeDasharray:"10, 5",strokeLinecap:gn,strokeLinejoin:xn,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:dn,strokeWidth:1,strokeLinecap:gn,strokeLinejoin:xn},tickLabels:m()({},bn,{fill:hn})}},vn),polarDependentAxis:m()({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:m()({style:{data:{fill:hn,padding:8,strokeWidth:0},labels:bn}},vn),boxplot:m()({style:{max:{padding:8,stroke:hn,strokeWidth:1},maxLabels:m()({},bn,{padding:3}),median:{padding:8,stroke:hn,strokeWidth:1},medianLabels:m()({},bn,{padding:3}),min:{padding:8,stroke:hn,strokeWidth:1},minLabels:m()({},bn,{padding:3}),q1:{padding:8,fill:hn},q1Labels:m()({},bn,{padding:3}),q3:{padding:8,fill:hn},q3Labels:m()({},bn,{padding:3})},boxWidth:20},vn),candlestick:m()({style:{data:{stroke:hn},labels:m()({},bn,{padding:5})},candleColors:{positive:"#ffffff",negative:hn}},vn),chart:vn,errorbar:m()({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:hn,strokeWidth:2},labels:bn}},vn),group:m()({colorScale:fn},vn),histogram:m()({style:{data:{fill:hn,stroke:yn,strokeWidth:2},labels:bn}},vn),legend:{colorScale:fn,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:bn,title:m()({},bn,{padding:5})}},line:m()({style:{data:{fill:"transparent",opacity:1,stroke:hn,strokeWidth:2},labels:bn}},vn),pie:m()({colorScale:fn,style:{data:{padding:8,stroke:pn,strokeWidth:1},labels:m()({},bn,{padding:20})}},vn),scatter:m()({style:{data:{fill:hn,opacity:1,stroke:"transparent",strokeWidth:0},labels:bn}},vn),stack:m()({colorScale:fn},vn),tooltip:{style:m()({},bn,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:yn,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:m()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:m()({},bn,{padding:5,pointerEvents:"none"}),flyout:{stroke:yn,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},vn)};var wn=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],En="#252525",jn="#969696",kn={width:450,height:300,padding:50,colorScale:wn},Pn={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:En,stroke:"transparent"},An=m()({textAnchor:"middle"},Pn);const Sn={material:On,grayscale:{area:m()({style:{data:{fill:En},labels:Pn}},kn),axis:m()({style:{axis:{fill:"transparent",stroke:En,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:m()({},An,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:Pn}},kn),bar:m()({style:{data:{fill:En,padding:8,strokeWidth:0},labels:Pn}},kn),boxplot:m()({style:{max:{padding:8,stroke:En,strokeWidth:1},maxLabels:m()({},Pn,{padding:3}),median:{padding:8,stroke:En,strokeWidth:1},medianLabels:m()({},Pn,{padding:3}),min:{padding:8,stroke:En,strokeWidth:1},minLabels:m()({},Pn,{padding:3}),q1:{padding:8,fill:jn},q1Labels:m()({},Pn,{padding:3}),q3:{padding:8,fill:jn},q3Labels:m()({},Pn,{padding:3})},boxWidth:20},kn),candlestick:m()({style:{data:{stroke:En,strokeWidth:1},labels:m()({},Pn,{padding:5})},candleColors:{positive:"#ffffff",negative:En}},kn),chart:kn,errorbar:m()({borderWidth:8,style:{data:{fill:"transparent",stroke:En,strokeWidth:2},labels:Pn}},kn),group:m()({colorScale:wn},kn),histogram:m()({style:{data:{fill:jn,stroke:En,strokeWidth:2},labels:Pn}},kn),legend:{colorScale:wn,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Pn,title:m()({},Pn,{padding:5})}},line:m()({style:{data:{fill:"transparent",stroke:En,strokeWidth:2},labels:Pn}},kn),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:m()({},Pn,{padding:20})},colorScale:wn,width:400,height:400,padding:50},scatter:m()({style:{data:{fill:En,stroke:"transparent",strokeWidth:0},labels:Pn}},kn),stack:m()({colorScale:wn},kn),tooltip:{style:m()({},Pn,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:En,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:m()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:m()({},Pn,{padding:5,pointerEvents:"none"}),flyout:{stroke:En,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},kn)}};var Cn=r(484),Tn=r.n(Cn),In=r(6205),Mn=r.n(In),_n=r(6901),Dn=r.n(_n),Rn=r(1815),zn=r.n(Rn),Ln=r(5492),Nn=r.n(Ln),Wn=r(9922),Bn=r.n(Wn);function $n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qn(t){return function(t){if(Array.isArray(t))return Fn(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Fn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fn(t,e):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 Fn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Hn=/^onGlobal(.*)$/;function Un(t,e,n,r){var o,i=this,a=function(t){var r,o=(r=t.reduce((function(t,n){return void 0!==n.target?(Array.isArray(n.target)?Dn()(n.target,e):"".concat(n.target)==="".concat(e))?t.concat(n):t:t.concat(n)}),[]),void 0!==n&&"parent"!==e?r.filter((function(t){var e=t.eventKey,r=function(t){return!t||"".concat(t)==="".concat(n)};return Array.isArray(e)?e.some((function(t){return r(t)})):r(e)})):r);return Array.isArray(o)&&o.reduce((function(t,e){return e?m()(t,e.eventHandlers):t}),{})},u=Array.isArray(i.componentEvents)?Array.isArray(t.events)?(o=i.componentEvents).concat.apply(o,qn(t.events)):i.componentEvents:t.events,c=u&&k()(r)?r(a(u),e):void 0;if(!t.sharedEvents)return c;var l=t.sharedEvents.getEvents,s=t.sharedEvents.events&&l(a(t.sharedEvents.events),e);return m()({},s,c)}function Kn(t,e,n,r){var o=this;if(Re()(t))return{};r=r||this.baseProps;var i=function(t,e){var n=t.childName,i=t.target,a=t.key,u="props"===e?r:o.state||{},c=null!=n&&u[n]?u[n]:u;return"parent"===a?c.parent:c[a]&&c[a][i]},a=function(t,a){var u="parent"===e?t.childName:t.childName||n,c=t.target||e,l=function(e,n){var a=o.state||{};if(!k()(t.mutation))return a;var u=i({childName:n,key:e,target:c},"props"),l=i({childName:n,key:e,target:c},"state"),s=t.mutation(m()({},u,l),r),f=a[n]||{},p=function(t){return s?function(t){return"parent"===c?m()(t,$n({},e,m()(t[e],s))):m()(t,$n({},e,m()(t[e],$n({},c,s))))}(t):function(t){return t[e]&&t[e][c]&&delete t[e][c],t[e]&&!h()(t[e]).length&&delete t[e],t}(t)};return null!=n?m()(a,$n({},n,p(f))):p(a)},s=function(e){var n=function(e){return"parent"===c?"parent":"all"===t.eventKey?r[e]?Mn()(h()(r[e]),"parent"):Mn()(h()(r),"parent"):void 0===t.eventKey&&"parent"===a?r[e]?h()(r[e]):h()(r):void 0!==t.eventKey?t.eventKey:a}(e);return Array.isArray(n)?n.reduce((function(t,n){return m()(t,l(n,e))}),{}):l(n,e)},f="all"===u?Mn()(h()(r),"parent"):u;return Array.isArray(f)?f.reduce((function(t,e){return m()(t,s(e))}),{}):s(f)},u=function(e,n,r,i){var u=t[i](e,n,r,o);if(!Re()(u)){var c=function(t){var e=function(t){return k()(t.callback)&&t.callback},n=(Array.isArray(t)?t.map((function(t){return e(t)})):[e(t)]).filter((function(t){return!1!==t}));return n.length?function(){return n.forEach((function(t){return t()}))}:void 0}(u);o.setState(function(t,e){return Array.isArray(t)?t.reduce((function(t,n){return m()({},t,a(n,e))}),{}):a(t,e)}(u,r),c)}};return h()(t).reduce((function(t,e){return t[e]=u,t}),{})}function Gn(t,e,n){var r=this.state||{};return n?r[n]&&r[n][t]&&r[n][t][e]:"parent"===t?r[t]&&r[t][e]||r[t]:r[t]&&r[t][e]}function Vn(t,e,n,r){var o=function(t,e){if("string"==typeof t[e])return"all"===t[e]||t[e]===r[e];if(Array.isArray(t[e])){var n=t[e].map((function(t){return"".concat(t)}));return Dn()(n,r[e])}return!1},i=t=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(!Re()(a)){var u=a.filter((function(t){return o(t,"eventKey")}));if(!Re()(u))return u.reduce((function(t,r){var o=(r&&k()(r.mutation)?r.mutation:function(){})(m()({},e,n));return m()({},t,o)}),{})}}function Qn(t){var e=t.match(Hn);return e&&e[1]&&e[1].toLowerCase()}var Zn=r(8266),Yn=r.n(Zn);const Xn=t=>+t;function Jn(t){return t*t}function tr(t){return t*(2-t)}function er(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function nr(t){return t*t*t}function rr(t){return--t*t*t+1}function or(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var ir=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),ar=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),ur=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3),cr=Math.PI,lr=cr/2;function sr(t){return 1==+t?1:1-Math.cos(t*lr)}function fr(t){return Math.sin(t*lr)}function pr(t){return(1-Math.cos(cr*t))/2}function dr(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function hr(t){return dr(1-+t)}function yr(t){return 1-dr(t)}function vr(t){return((t*=2)<=1?dr(1-t):2-dr(t-1))/2}function br(t){return 1-Math.sqrt(1-t*t)}function mr(t){return Math.sqrt(1- --t*t)}function gr(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var xr=7.5625;function Or(t){return 1-wr(1-t)}function wr(t){return(t=+t)<.36363636363636365?xr*t*t:t<.7272727272727273?xr*(t-=.5454545454545454)*t+.75:t<.9090909090909091?xr*(t-=.8181818181818182)*t+.9375:xr*(t-=.9545454545454546)*t+.984375}function Er(t){return((t*=2)<=1?1-wr(1-t):wr(t-1)+1)/2}var jr=1.70158,kr=function t(e){function n(t){return(t=+t)*t*(e*(t-1)+t)}return e=+e,n.overshoot=t,n}(jr),Pr=function t(e){function n(t){return--t*t*((t+1)*e+t)+1}return e=+e,n.overshoot=t,n}(jr),Ar=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(jr),Sr=2*Math.PI,Cr=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Sr);function o(t){return e*dr(- --t)*Math.sin((r-t)/n)}return o.amplitude=function(e){return t(e,n*Sr)},o.period=function(n){return t(e,n)},o}(1,.3),Tr=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Sr);function o(t){return 1-e*dr(t=+t)*Math.sin((t+r)/n)}return o.amplitude=function(e){return t(e,n*Sr)},o.period=function(n){return t(e,n)},o}(1,.3),Ir=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Sr);function o(t){return((t=2*t-1)<0?e*dr(-t)*Math.sin((r-t)/n):2-e*dr(t)*Math.sin((r+t)/n))/2}return o.amplitude=function(e){return t(e,n*Sr)},o.period=function(n){return t(e,n)},o}(1,.3),Mr=r(1473),_r=r.n(Mr),Dr=r(9636),Rr=r.n(Dr);function zr(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Lr(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Nr(){}var Wr=.7,Br=1/Wr,$r="\\s*([+-]?\\d+)\\s*",qr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Fr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Hr=/^#([0-9a-f]{3,8})$/,Ur=new RegExp(`^rgb\\(${$r},${$r},${$r}\\)$`),Kr=new RegExp(`^rgb\\(${Fr},${Fr},${Fr}\\)$`),Gr=new RegExp(`^rgba\\(${$r},${$r},${$r},${qr}\\)$`),Vr=new RegExp(`^rgba\\(${Fr},${Fr},${Fr},${qr}\\)$`),Qr=new RegExp(`^hsl\\(${qr},${Fr},${Fr}\\)$`),Zr=new RegExp(`^hsla\\(${qr},${Fr},${Fr},${qr}\\)$`),Yr={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 Xr(){return this.rgb().formatHex()}function Jr(){return this.rgb().formatRgb()}function to(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=Hr.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?eo(e):3===n?new io(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?no(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?no(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Ur.exec(t))?new io(e[1],e[2],e[3],1):(e=Kr.exec(t))?new io(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Gr.exec(t))?no(e[1],e[2],e[3],e[4]):(e=Vr.exec(t))?no(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Qr.exec(t))?fo(e[1],e[2]/100,e[3]/100,1):(e=Zr.exec(t))?fo(e[1],e[2]/100,e[3]/100,e[4]):Yr.hasOwnProperty(t)?eo(Yr[t]):"transparent"===t?new io(NaN,NaN,NaN,0):null}function eo(t){return new io(t>>16&255,t>>8&255,255&t,1)}function no(t,e,n,r){return r<=0&&(t=e=n=NaN),new io(t,e,n,r)}function ro(t){return t instanceof Nr||(t=to(t)),t?new io((t=t.rgb()).r,t.g,t.b,t.opacity):new io}function oo(t,e,n,r){return 1===arguments.length?ro(t):new io(t,e,n,null==r?1:r)}function io(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function ao(){return`#${so(this.r)}${so(this.g)}${so(this.b)}`}function uo(){const t=co(this.opacity);return`${1===t?"rgb(":"rgba("}${lo(this.r)}, ${lo(this.g)}, ${lo(this.b)}${1===t?")":`, ${t})`}`}function co(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function lo(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function so(t){return((t=lo(t))<16?"0":"")+t.toString(16)}function fo(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new ho(t,e,n,r)}function po(t){if(t instanceof ho)return new ho(t.h,t.s,t.l,t.opacity);if(t instanceof Nr||(t=to(t)),!t)return new ho;if(t instanceof ho)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,o=Math.min(e,n,r),i=Math.max(e,n,r),a=NaN,u=i-o,c=(i+o)/2;return u?(a=e===i?(n-r)/u+6*(n<r):n===i?(r-e)/u+2:(e-n)/u+4,u/=c<.5?i+o:2-i-o,a*=60):u=c>0&&c<1?0:a,new ho(a,u,c,t.opacity)}function ho(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function yo(t){return(t=(t||0)%360)<0?t+360:t}function vo(t){return Math.max(0,Math.min(1,t||0))}function bo(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function mo(t,e,n,r,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*e+(4-6*i+3*a)*n+(1+3*t+3*i-3*a)*r+a*o)/6}zr(Nr,to,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Xr,formatHex:Xr,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return po(this).formatHsl()},formatRgb:Jr,toString:Jr}),zr(io,oo,Lr(Nr,{brighter(t){return t=null==t?Br:Math.pow(Br,t),new io(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?Wr:Math.pow(Wr,t),new io(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new io(lo(this.r),lo(this.g),lo(this.b),co(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:ao,formatHex:ao,formatHex8:function(){return`#${so(this.r)}${so(this.g)}${so(this.b)}${so(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:uo,toString:uo})),zr(ho,(function(t,e,n,r){return 1===arguments.length?po(t):new ho(t,e,n,null==r?1:r)}),Lr(Nr,{brighter(t){return t=null==t?Br:Math.pow(Br,t),new ho(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Wr:Math.pow(Wr,t),new ho(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,o=2*n-r;return new io(bo(t>=240?t-240:t+120,o,r),bo(t,o,r),bo(t<120?t+240:t-120,o,r),this.opacity)},clamp(){return new ho(yo(this.h),vo(this.s),vo(this.l),co(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=co(this.opacity);return`${1===t?"hsl(":"hsla("}${yo(this.h)}, ${100*vo(this.s)}%, ${100*vo(this.l)}%${1===t?")":`, ${t})`}`}}));const go=t=>()=>t;function xo(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):go(isNaN(t)?e:t)}const Oo=function t(e){var n=function(t){return 1==(t=+t)?xo:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):go(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=oo(t)).r,(e=oo(e)).r),o=n(t.g,e.g),i=n(t.b,e.b),a=xo(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=o(e),t.b=i(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function wo(t){return function(e){var n,r,o=e.length,i=new Array(o),a=new Array(o),u=new Array(o);for(n=0;n<o;++n)r=oo(e[n]),i[n]=r.r||0,a[n]=r.g||0,u[n]=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 Eo(t,e){var n,r=e?e.length:0,o=t?Math.min(r,t.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=Io(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<o;++n)a[n]=i[n](t);return a}}function jo(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function ko(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function Po(t,e){var n,r={},o={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=Io(t[n],e[n]):o[n]=e[n];return function(t){for(n in r)o[n]=r[n](t);return o}}wo((function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),o=t[r],i=t[r+1],a=r>0?t[r-1]:2*o-i,u=r<e-1?t[r+2]:2*i-o;return mo((n-r/e)*e,a,o,i,u)}})),wo((function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),o=t[(r+e-1)%e],i=t[r%e],a=t[(r+1)%e],u=t[(r+2)%e];return mo((n-r/e)*e,o,i,a,u)}}));var Ao=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,So=new RegExp(Ao.source,"g");function Co(t,e){var n,r,o,i=Ao.lastIndex=So.lastIndex=0,a=-1,u=[],c=[];for(t+="",e+="";(n=Ao.exec(t))&&(r=So.exec(e));)(o=r.index)>i&&(o=e.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,c.push({i:a,x:ko(n,r)})),i=So.lastIndex;return i<e.length&&(o=e.slice(i),u[a]?u[a]+=o:u[++a]=o),u.length<2?c[0]?function(t){return function(e){return t(e)+""}}(c[0].x):function(t){return function(){return t}}(e):(e=c.length,function(t){for(var n,r=0;r<e;++r)u[(n=c[r]).i]=n.x(t);return u.join("")})}function To(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,o=e.slice();return function(i){for(n=0;n<r;++n)o[n]=t[n]*(1-i)+e[n]*i;return o}}function Io(t,e){var n,r,o=typeof e;return null==e||"boolean"===o?go(e):("number"===o?ko:"string"===o?(n=to(e))?(e=n,Oo):Co:e instanceof to?Oo:e instanceof Date?jo:(r=e,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(e)?Eo:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?Po:ko:To))(t,e)}var Mo=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)||Rr()(t)}return!1},_o=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(r){return r<n?t:e}},Do=function(t,e){return function(n){return n>=1?e:function(){var r="function"==typeof t?t.apply(this,arguments):t,o="function"==typeof e?e.apply(this,arguments):e;return Io(r,o)(n)}}},Ro=function(t,e){var n,r,o,i=function(t){return Array.isArray(t)?_r()(t,"key"):t},a={},u={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?a[n]=(r=i(t[n]))!==(o=i(e[n]))&&Mo(r)&&Mo(o)?"function"==typeof r||"function"==typeof o?Do(r,o):"object"==typeof r&&Rr()(r)||"object"==typeof o&&Rr()(o)?Ro(r,o):Io(r,o):_o(r,o):u[n]=e[n];return function(t){for(n in a)u[n]=a[n](t);return u}};function zo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Lo(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function No(t,e){return No=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},No(t,e)}function Wo(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Bo(t)}function Bo(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $o(t){return $o=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},$o(t)}function qo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Fo=function(e){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&No(t,e)}(u,e);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,e=$o(o);if(i){var n=$o(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Wo(this,t)});function u(e,n){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(r=a.call(this,e,n)).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=t[r.toNewName(r.props.easing)],r.functionToBeRunEachFrame=r.functionToBeRunEachFrame.bind(Bo(r)),r.timer=r.context.animationTimer,r}return n=u,(r=[{key:"componentDidMount",value:function(){this.queue.length&&this.traverseQueue()}},{key:"componentDidUpdate",value:function(t){if(!Yn()(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 e;this.timer.unsubscribe(this.loopID),Array.isArray(this.props.data)?(e=this.queue).push.apply(e,function(t){if(Array.isArray(t))return zo(t)}(n=this.props.data)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||function(t,e){if(t){if("string"==typeof t)return zo(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zo(t,e):void 0}}(n)||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 n}},{key:"componentWillUnmount",value:function(){this.loopID?this.timer.unsubscribe(this.loopID):this.timer.stop()}},{key:"toNewName",value:function(t){var e;return"ease".concat((e=t)&&e[0].toUpperCase()+e.slice(1))}},{key:"traverseQueue",value:function(){var t,e,n=this;if(this.queue.length){var r=this.queue[0];this.interpolator=(t=this.state.data)!==(e=r)&&Mo(t)&&Mo(e)?"function"==typeof t||"function"==typeof e?Do(t,e):Rr()(t)||Rr()(e)?Ro(t,e):"string"==typeof t||"string"==typeof e?function(t,e){var n=function(t){return"string"==typeof t?t.replace(/,/g,""):t};return Io(n(t),n(e))}(t,e):Io(t,e):_o(t,e),this.props.delay?setTimeout((function(){n.loopID=n.timer.subscribe(n.functionToBeRunEachFrame,n.props.duration)}),this.props.delay):this.loopID=this.timer.subscribe(this.functionToBeRunEachFrame,this.props.duration)}else this.props.onEnd&&this.props.onEnd()}},{key:"functionToBeRunEachFrame",value:function(t,e){var n=(e=void 0!==e?e:this.props.duration)?t/e:1;if(n>=1)return this.setState({data:this.interpolator(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),this.loopID&&this.timer.unsubscribe(this.loopID),this.queue.shift(),void this.traverseQueue();this.setState({data:this.interpolator(this.ease(n)),animationInfo:{progress:n,animating:n<1}})}},{key:"render",value:function(){return this.props.children(this.state.data,this.state.animationInfo)}}])&&Lo(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),u}(n().Component);function Ho(t){return function(t){if(Array.isArray(t))return Uo(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Uo(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Uo(t,e):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 Uo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Ko(t){return Array.isArray(t)&&t.some((function(t){return t instanceof Date}))}function Go(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=t.concat(n);return Ko(o)?new Date(Math.max.apply(Math,Ho(o))):Math.max.apply(Math,Ho(o))}function Vo(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=t.concat(n);return Ko(o)?new Date(Math.min.apply(Math,Ho(o))):Math.min.apply(Math,Ho(o))}qo(Fo,"displayName","VictoryAnimation"),qo(Fo,"propTypes",{children:a().func,data:a().oneOfType([a().object,a().array]),delay:a().number,duration:a().number,easing:a().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:a().func}),qo(Fo,"defaultProps",{data:{},delay:0,duration:1e3,easing:"quadInOut"}),qo(Fo,"contextType",ce);var Qo=r(5362),Zo=r.n(Qo);function Yo(t,e){return(t.key||e).toString()}function Xo(t){return t.reduce((function(t,e,n){return t[Yo(e,n)]=e,t}),{})}function Jo(t,e){var n=!1,r=h()(t).reduce((function(t,r){return r in e||(n=!0,t[r]=!0),t}),{});return n&&r}function ti(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function ei(t,e){var r=!1,o=!1,i=function(t,e){return t.map((function(a,u){return a&&a.props&&a.props.children&&e[u]?i(n().Children.toArray(t[u].props.children),n().Children.toArray(e[u].props.children)):function(t,e){if(!e||t.type!==e.type)return{};var n,i,a,u,c=(n=ti(t),i=ti(e),a=n&&Xo(n),u=i&&Xo(i),{entering:a&&Jo(u,a),exiting:u&&Jo(a,u)}||{}),l=c.entering,s=c.exiting;return r=r||!!s,o=o||!!l,{entering:l||!1,exiting:s||!1}}(a,e[u])}))},a=i(n().Children.toArray(t),n().Children.toArray(e));return{nodesWillExit:r,nodesWillEnter:o,childrenTransitions:a,nodesShouldEnter:!1}}function ni(t,e,n){var r=e&&e.nodesWillExit,o=e&&e.nodesWillEnter,i=e&&e.nodesShouldEnter,a=e&&e.nodesShouldLoad,u=e&&e.nodesDoneLoad,c=e&&e.childrenTransitions||[],l={enter:t.animate&&t.animate.onEnter&&t.animate.onEnter.duration,exit:t.animate&&t.animate.onExit&&t.animate.onExit.duration,load:t.animate&&t.animate.onLoad&&t.animate.onLoad.duration,move:t.animate&&t.animate.duration},s=function(t,e,r){return a?function(t,e,r){if((t=m()({},t,{onEnd:function(){n({nodesShouldLoad:!1,nodesDoneLoad:!0})}}))&&t.onLoad&&!t.onLoad.duration)return{animate:t,data:e};var o=t.onLoad&&t.onLoad.after?t.onLoad.after:Zo();return{animate:t,data:e=e.map((function(t,n){return m()({},t,o(t,n,e))}))}}(r,e):function(t,e,r,o){if((t=m()({},t,{onEnd:function(){n({nodesDoneLoad:!0})}}))&&t.onLoad&&!t.onLoad.duration)return{animate:t,data:r};var i=t.onLoad&&t.onLoad.before?t.onLoad.before:Zo();return{animate:t,data:r=r.map((function(t,e){return m()({},t,i(t,e,r))})),clipWidth:0}}(r,0,e)},f=function(t,e,r,o){return function(t,e,r,o,i){var a=t&&t.onExit;if(t=m()({},t,a),o){t.onEnd=function(){n({nodesWillExit:!1})};var u=t.onExit&&t.onExit.before?t.onExit.before:Zo();r=r.map((function(t,e){var n=(t.key||e).toString();return o[n]?m()({},t,u(t,e,r)):t}))}return{animate:t,data:r}}(o,0,r,t)},p=function(t,e,r,o){return i?function(t,e,r,o){var i=t&&t.onEnter;if(t=m()({},t,i),r){t.onEnd=function(){n({nodesWillEnter:!1})};var a=t.onEnter&&t.onEnter.after?t.onEnter.after:Zo();e=e.map((function(t,n){var o=Yo(t,n);return r[o]?m()({},t,a(t,n,e)):t}))}return{animate:t,data:e}}(o,r,t):function(t,e,r,o,i){if(o){var a=(t=m()({},t,{onEnd:function(){n({nodesShouldEnter:!0})}})).onEnter&&t.onEnter.before?t.onEnter.before:Zo();r=r.map((function(t,e){var n=(t.key||e).toString();return o[n]?m()({},t,a(t,e,r)):t}))}return{animate:t,data:r}}(o,0,r,t)},d=function(t,e){var n=t.props.animate;if(!t.type)return{};var r=t.props&&t.props.polar&&t.type.defaultPolarTransitions||t.type.defaultTransitions;if(r){var o=n[e]&&n[e].duration;return void 0!==o?o:r[e]&&r[e].duration}return{}};return function(n,a){var h=ti(n)||[],y=x()({},t.animate,n.props.animate),v=n.props.polar&&n.type.defaultPolarTransitions||n.type.defaultTransitions;y.onExit=x()({},y.onExit,v&&v.onExit),y.onEnter=x()({},y.onEnter,v&&v.onEnter),y.onLoad=x()({},y.onLoad,v&&v.onLoad);var b=c[a]||c[0];if(!u){var g={duration:void 0!==l.load?l.load:d(n,"onLoad")};return s(0,h,m()({},y,g))}if(r){var O=b&&b.exiting,w=void 0!==l.exit?l.exit:d(n,"onExit"),E=O?{duration:w}:{delay:w};return f(O,0,h,m()({},y,E))}if(o){var j=b&&b.entering,k=void 0!==l.enter?l.enter:d(n,"onEnter"),P=void 0!==l.move?l.move:n.props.animate&&n.props.animate.duration,A={duration:i&&j?k:P};return p(j,0,h,m()({},y,A))}return!e&&y&&y.onExit?function(t,e){var n=t.onEnter&&t.onEnter.after?t.onEnter.after:Zo();return{data:e.map((function(t,r){return m()({},t,n(t,r,e))}))}}(y,h):{animate:y,data:h}}}function ri(){return ri=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ri.apply(this,arguments)}function oi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ii(t,e){return ii=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},ii(t,e)}function ai(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return ui(t)}function ui(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},ci(t)}function li(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var si=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ii(t,e)}(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,e=ci(o);if(i){var n=ci(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return ai(this,t)});function u(t,e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(n=a.call(this,t,e)).state={nodesShouldLoad:!1,nodesDoneLoad:!1};var r=n.props.children,o=r.props.polar;return n.continuous=!o&&r.type&&!0===r.type.continuous,n.getTransitionState=n.getTransitionState.bind(ui(n)),n.timer=n.context.transitionTimer,n}return e=u,r=[{key:"componentDidMount",value:function(){this.setState({nodesShouldLoad:!0})}},{key:"shouldComponentUpdate",value:function(t){var e=this;return Yn()(this.props,t)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,t),(function(){return e.timer.resumeAnimation()}))),!0}},{key:"componentWillUnmount",value:function(){this.timer.stop()}},{key:"getTransitionState",value:function(t,e){var r=t.animate;if(r){if(r.parentState)return{oldProps:r.parentState.nodesWillExit?t:null,nextProps:e};var o=ei(n().Children.toArray(t.children),n().Children.toArray(e.children)),i=o.nodesWillExit;return{nodesWillExit:i,nodesWillEnter:o.nodesWillEnter,childrenTransitions:o.childrenTransitions,nodesShouldEnter:o.nodesShouldEnter,oldProps:i?t:null,nextProps:e}}return{}}},{key:"getDomainFromChildren",value:function(t,e){var r=function(t){return t.reduce((function(t,o){if(o.type&&k()(o.type.getDomain)){var i=o.props&&o.type.getDomain(o.props,e);return i?t.concat(i):t}return o.props&&o.props.children?t.concat(r(n().Children.toArray(o.props.children))):t}),[])},o=n().Children.toArray(t.children)[0],i=o.props||{},a=Array.isArray(i.domain)?i.domain:i.domain&&i.domain[e];if(!i.children&&a)return a;var u=r([o]);return 0===u.length?[0,1]:[Vo(u),Go(u)]}},{key:"pickProps",value:function(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}},{key:"pickDomainProps",value:function(t){var e=Tt()(t.animate)&&t.animate.parentState;return e&&e.nodesWillExit?(this.continous||e.continuous)&&(e.nextProps||this.state.nextProps)||t:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||t}},{key:"getClipWidth",value:function(t,e){var n=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==n?n:function(){var n=function(t,e){return t.range&&t.range[e]?t.range[e]:t.range&&Array.isArray(t.range)?t.range:t.polar?function(t,e){return"x"===e?[I(t.startAngle||0),I(t.endAngle||360)]:[t.innerRadius||0,M(t)]}(t,e):function(t,e){var n="x"!==e,r=S(t);return n?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,e)}(e.props,"x");return n?Math.abs(n[1]-n[0]):t.width}()}},{key:"render",value:function(){var t=this,e=this.pickProps(),r=Tt()(this.props.animate)&&this.props.animate.getTransitions?this.props.animate.getTransitions:ni(e,this.state,(function(e){return t.setState(e)})),o=n().Children.toArray(e.children)[0],i=r(o);this.transitionProps=i;var a={x:this.getDomainFromChildren(this.pickDomainProps(e),"x"),y:this.getDomainFromChildren(e,"y")},u=this.getClipWidth(e,o),c=x()({domain:a,clipWidth:u},i,o.props),l=(e.animationWhitelist||[]).concat(["clipWidth"]),s=l.length?E()(c,l):c;return n().createElement(Fo,ri({},c.animate,{data:s}),(function(e){if(o.props.groupComponent){var r=t.continuous?n().cloneElement(o.props.groupComponent,{clipWidth:e.clipWidth||0}):o.props.groupComponent;return n().cloneElement(o,x()({animate:null,animating:!0,groupComponent:r},e,c))}return n().cloneElement(o,x()({animate:null,animating:!0},e,c))}))}}],r&&oi(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(n().Component);function fi(t){return function(t){if(Array.isArray(t))return pi(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return pi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pi(t,e):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 pi(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function di(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function hi(t,e){return hi=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},hi(t,e)}function yi(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return vi(t)}function vi(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},bi(t)}li(si,"displayName","VictoryTransition"),li(si,"propTypes",{animate:a().oneOfType([a().bool,a().object]),animationWhitelist:a().array,children:a().node}),li(si,"contextType",ce);var mi=function(t){return!c()(t._x)&&!c()(t._y)},gi=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];function xi(t){return function(t){if(Array.isArray(t))return Oi(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Oi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Oi(t,e):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 Oi(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function wi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ei(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ji(t,e){return ji=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},ji(t,e)}function ki(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)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 Pi(t){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Pi(t)}function Ai(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Si={orientation:"vertical",titleOrientation:"top",width:450,height:300,x:0,y:0},Ci=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ji(t,e)}(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,e=Pi(o);if(i){var n=Pi(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return ki(this,t)});function u(){return wi(this,u),a.apply(this,arguments)}return e=u,(r=[{key:"renderChildren",value:function(t){var e=this,r=t.dataComponent,o=t.labelComponent,i=t.title,a=this.dataKeys.map((function(t,o){if("all"!==t){var i=e.getComponentProps(r,"data",o);return n().cloneElement(r,i)}})).filter(Boolean),u=this.dataKeys.map((function(t,r){if("all"!==t){var i=e.getComponentProps(o,"labels",r);return void 0!==i.text&&null!==i.text?n().cloneElement(o,i):void 0}})).filter(Boolean),c=this.getComponentProps(t.borderComponent,"border","all"),l=n().cloneElement(t.borderComponent,c);if(i){var s=this.getComponentProps(t.title,"title","all"),f=n().cloneElement(t.titleComponent,s);return[l].concat(xi(a),[f],xi(u))}return[l].concat(xi(a),xi(u))}},{key:"render",value:function(){var t=this.constructor.role,e=_(this.props,Si,t),r=[this.renderChildren(e)];return e.standalone?this.renderContainer(e.containerComponent,r):n().cloneElement(e.groupComponent,{},r)}}])&&Ei(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(n().Component);Ai(Ci,"displayName","VictoryLegend"),Ai(Ci,"role","legend"),Ai(Ci,"propTypes",{borderComponent:a().element,borderPadding:a().oneOfType([a().number,a().shape({top:a().number,bottom:a().number,left:a().number,right:a().number})]),centerTitle:a().bool,colorScale:a().oneOfType([a().arrayOf(a().string),a().oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),containerComponent:a().element,data:a().arrayOf(a().shape({name:a().string.isRequired,label:a().object,symbol:a().object})),dataComponent:a().element,eventKey:a().oneOfType([a().func,yt([bt,vt]),a().string]),events:a().arrayOf(a().shape({target:a().oneOf(["data","labels","parent"]),eventKey:a().oneOfType([a().array,yt([bt,vt]),a().string]),eventHandlers:a().object})),externalEventMutations:a().arrayOf(a().shape({callback:a().function,childName:a().oneOfType([a().string,a().array]),eventKey:a().oneOfType([a().array,yt([bt,vt]),a().string]),mutation:a().function,target:a().oneOfType([a().string,a().array])})),groupComponent:a().element,gutter:a().oneOfType([a().number,a().shape({left:a().number,right:a().number})]),height:vt,itemsPerRow:vt,labelComponent:a().element,name:a().string,orientation:a().oneOf(["horizontal","vertical"]),padding:a().oneOfType([a().number,a().shape({top:a().number,bottom:a().number,left:a().number,right:a().number})]),rowGutter:a().oneOfType([a().number,a().shape({top:a().number,bottom:a().number})]),sharedEvents:a().shape({events:a().array,getEventState:a().func}),standalone:a().bool,style:a().shape({border:a().object,data:a().object,labels:a().object,parent:a().object,title:a().object}),symbolSpacer:a().number,theme:a().object,title:a().oneOfType([a().string,a().array]),titleComponent:a().element,titleOrientation:a().oneOf(["top","bottom","left","right"]),width:vt,x:vt,y:vt}),Ai(Ci,"defaultProps",{borderComponent:n().createElement(St,null),data:[{name:"Series 1"},{name:"Series 2"}],containerComponent:n().createElement(je,null),dataComponent:n().createElement(_e,null),groupComponent:n().createElement("g",null),labelComponent:n().createElement(sn,null),standalone:!0,theme:Sn.grayscale,titleComponent:n().createElement(sn,null)}),Ai(Ci,"getBaseProps",(function(t){return it(t,Si)})),Ai(Ci,"getDimensions",(function(t){return ot(t,Si)})),Ai(Ci,"expectedComponents",["borderComponent","containerComponent","dataComponent","groupComponent","labelComponent","titleComponent"]);const Ti=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&hi(t,e)}(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,e=bi(o);if(i){var n=bi(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return yi(this,t)});function u(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),e=a.call(this,t);var n=Kn.bind(vi(e)),r=Un.bind(vi(e));e.state={},e.getEvents=function(t,e,o){return r(t,e,o,n)},e.getEventState=Gn.bind(vi(e));var o=e.getCalculatedValues(t);return e.cacheValues(o),e.externalMutations=e.getExternalMutations(t),e.calculatedState=e.getStateChanges(t),e.globalEvents={},e.prevGlobalEventKeys=[],e.boundGlobalEvents={},e}return e=u,r=[{key:"shouldComponentUpdate",value:function(t){var e=this.getExternalMutations(t),n=this.props.animating||this.props.animate,r=!Yn()(e,this.externalMutations);if(n||r)return this.cacheValues(this.getCalculatedValues(t)),this.externalMutations=e,this.applyExternalMutations(t,e),!0;var o=this.getStateChanges(t);return Yn()(this.calculatedState,o)?!Yn()(this.props,t)&&(this.cacheValues(this.getCalculatedValues(t)),!0):(this.cacheValues(this.getCalculatedValues(t)),!0)}},{key:"componentDidMount",value:function(){var t=this,e=h()(this.globalEvents);e.forEach((function(e){return t.addGlobalListener(e)})),this.prevGlobalEventKeys=e}},{key:"componentDidUpdate",value:function(t){var e=this,n=this.getStateChanges(t);this.calculatedState=n;var r=h()(this.globalEvents);Tn()(this.prevGlobalEventKeys,r).forEach((function(t){return e.removeGlobalListener(t)})),Tn()(r,this.prevGlobalEventKeys).forEach((function(t){return e.addGlobalListener(t)})),this.prevGlobalEventKeys=r}},{key:"componentWillUnmount",value:function(){var t=this;this.prevGlobalEventKeys.forEach((function(e){return t.removeGlobalListener(e)}))}},{key:"addGlobalListener",value:function(t){var e=this,n=function(n){var r=e.globalEvents[t];return r&&r(function(t){return m()(t,{nativeEvent:t})}(n))};this.boundGlobalEvents[t]=n,window.addEventListener(Qn(t),n)}},{key:"removeGlobalListener",value:function(t){window.removeEventListener(Qn(t),this.boundGlobalEvents[t])}},{key:"getStateChanges",value:function(t){var e=this;if(!this.hasEvents)return{};var n=function(t,n){var r=x()({},e.getEventState(t,n),e.getSharedEventState(t,n));return Re()(r)?void 0:r};return((Mi=Mi||{}).components||gi).map((function(r){return t.standalone||"parent"!==r.name?void 0!==r.index?n(r.index,r.name):e.dataKeys.map((function(t){return n(t,r.name)})).filter(Boolean):void 0})).filter(Boolean)}},{key:"applyExternalMutations",value:function(t,e){if(!Re()(e)){var n=t.externalEventMutations.reduce((function(t,e){return k()(e.callback)?t.concat(e.callback):t}),[]),r=n.length?function(){n.forEach((function(t){return t()}))}:void 0;this.setState(e,r)}}},{key:"getCalculatedValues",value:function(t){var e=t.sharedEvents,n=function(t,e){var n=Array.isArray(e)&&e.reduce((function(e,n){var r,o=t[n],i=o&&o.type&&o.type.defaultEvents,a=k()(i)?i(o.props):i;return Array.isArray(a)?(r=e).concat.apply(r,qn(a)):e}),[]);return n&&n.length?n:void 0}(t,Ii.expectedComponents),r=e&&k()(e.getEventState)?e.getEventState:function(){},o=this.getBaseProps(t,r);return{componentEvents:n,getSharedEventState:r,baseProps:o,dataKeys:h()(o).filter((function(t){return"parent"!==t})),hasEvents:t.events||t.sharedEvents||n,events:this.getAllEvents(t)}}},{key:"getExternalMutations",value:function(t){var e,n,r,o,i=t.sharedEvents,a=t.externalEventMutations;return Re()(a)||i?void 0:(e=a,n=this.baseProps,r=this.state,n=n||{},r=r||{},h()(n).reduce((function(t,i){var a=r[i]||{},u=n[i]||{};if("parent"===i){var c=Vn(e,u,a,{eventKey:i,target:"parent"});t[i]=void 0!==c?m()({},a,c):a}else{var l=zn()(h()(u).concat(h()(a)));t[i]=l.reduce((function(t,n){var r={eventKey:i,target:n,childName:o},c=Vn(e,u[n],a[n],r);return t[n]=void 0!==c?m()({},a[n],c):a[n],Bn()(t,(function(t){return!Re()(t)}))}),{})}return Bn()(t,(function(t){return!Re()(t)}))}),{}))}},{key:"cacheValues",value:function(t){var e=this;h()(t).forEach((function(n){e[n]=t[n]}))}},{key:"getBaseProps",value:function(t,e){var n=(e=e||this.getSharedEventState)("parent","parent"),r=this.getEventState("parent","parent"),o=x()({},r,n),i=o.parentControlledProps,a=i?E()(o,i):{},u=x()({},a,t);return k()(Ii.getBaseProps)?Ii.getBaseProps(u):{}}},{key:"getAllEvents",value:function(t){var e;return Array.isArray(this.componentEvents)?Array.isArray(t.events)?(e=this.componentEvents).concat.apply(e,fi(t.events)):this.componentEvents:t.events}},{key:"getComponentProps",value:function(t,e,n){var r=this.props.name||Ii.role,o=this.dataKeys&&this.dataKeys[n]||n,i="".concat(r,"-").concat(e,"-").concat(o),a=this.baseProps[o]&&this.baseProps[o][e]||this.baseProps[o];if(a||this.hasEvents){if(this.hasEvents){var u=this.getEvents(this.props,e,o),c=x()({index:n,key:i},this.getEventState(o,e),this.getSharedEventState(o,e),t.props,a,{id:i}),l=x()({},function(t,e,n){return t?h()(t).reduce((function(r,o){return r[o]=function(r){return t[o](r,n,e,o)},r}),{}):{}}(u,o,c),c.events);return m()({},c,{events:l})}return x()({index:n,key:i},t.props,a,{id:i})}}},{key:"renderContainer",value:function(t,e){var r,o=t.type&&"container"===t.type.role?this.getComponentProps(t,"parent","parent"):{};return o.events&&(this.globalEvents=(r=o.events,Bn()(r,(function(t,e){return Hn.test(e)}))),o.events=function(t){return Nn()(t,(function(t,e){return Hn.test(e)}))}(o.events)),n().cloneElement(t,o,e)}},{key:"animateComponent",value:function(t,e){var r=t.animate&&t.animate.animationWhitelist?t.animate.animationWhitelist:e;return n().createElement(si,{animate:t.animate,animationWhitelist:r},n().createElement(this.constructor,t))}},{key:"renderContinuousData",value:function(t){var e=this,r=t.dataComponent,o=t.labelComponent,i=t.groupComponent,a=Mn()(this.dataKeys,"all").reduce((function(t,r){var i=e.getComponentProps(o,"labels",r);return i&&void 0!==i.text&&null!==i.text&&(t=t.concat(n().cloneElement(o,i))),t}),[]),u=this.getComponentProps(r,"data","all"),c=[n().cloneElement(r,u)].concat(fi(a));return this.renderContainer(i,c)}},{key:"renderData",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:mi,o=t.dataComponent,i=t.labelComponent,a=t.groupComponent,u=ye(t),c=this.dataKeys.reduce((function(t,i,a){var u=e.getComponentProps(o,"data",a);return r(u.datum)&&t.push(n().cloneElement(o,u)),t}),[]),l=this.dataKeys.map((function(t,r){var o=e.getComponentProps(i,"labels",r);if(void 0!==o.text&&null!==o.text)return n().cloneElement(i,o)})).filter(Boolean),s=[].concat(fi(c),fi(l)),f=n().cloneElement(a,u,s);return this.renderContainer(f,s)}}],r&&di(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(Ii=Ci);var Ii,Mi})(),o})()}));
|
|
2
2
|
//# sourceMappingURL=victory-legend.min.js.map
|