victory-errorbar 37.0.1-next.2 → 37.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- !function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react")):"function"==typeof define&&define.amd?define(["react"],n):"object"==typeof exports?exports.VictoryErrorbar=n(require("react")):t.VictoryErrorbar=n(t.React)}(self,(function(t){return function(){var n={503:function(t,n,e){var r=e(1171),o=e(7838),i=e(4859),a=e(4073),u=e(8541);function s(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},3273:function(t,n,e){var r=e(163);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},8708:function(t,n,e){var r=e(1171),o=e(7838),i=e(4859),a=e(4073),u=e(8541);function s(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},2596:function(t,n,e){var r=e(2373).Symbol;t.exports=r},6082:function(t){t.exports=function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}},5510:function(t,n,e){var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9955:function(t){t.exports=function(t,n,e){for(var r=-1,o=null==t?0:t.length;++r<o;)if(e(n,t[r]))return!0;return!1}},8644:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,o=Array(r);++e<r;)o[e]=n(t[e],e,t);return o}},9559:function(t){t.exports=function(t,n){for(var e=-1,r=n.length,o=t.length;++e<r;)t[o+e]=n[e];return t}},1634:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}},4132:function(t,n,e){var r=e(8347),o=e(788),i=Object.prototype.hasOwnProperty;t.exports=function(t,n,e){var a=t[n];i.call(t,n)&&o(a,e)&&(void 0!==e||n in t)||r(t,n,e)}},3162:function(t,n,e){var r=e(788);t.exports=function(t,n){for(var e=t.length;e--;)if(r(t[e][0],n))return e;return-1}},8347:function(t,n,e){var r=e(5525);t.exports=function(t,n,e){"__proto__"==n&&r?r(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}},6457:function(t,n,e){var r=e(9559),o=e(3608);t.exports=function t(n,e,i,a,u){var s=-1,c=n.length;for(i||(i=o),u||(u=[]);++s<c;){var l=n[s];e>0&&i(l)?e>1?t(l,e-1,i,a,u):r(u,l):a||(u[u.length]=l)}return u}},4432:function(t,n,e){var r=e(9026),o=e(3110);t.exports=function(t,n){for(var e=0,i=(n=r(n,t)).length;null!=t&&e<i;)t=t[o(n[e++])];return e&&e==i?t:void 0}},563:function(t){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},6776:function(t){t.exports=function(t,n){return null!=t&&n in Object(t)}},6123:function(t){t.exports=function(t,n,e){for(var r=e-1,o=t.length;++r<o;)if(t[r]===n)return r;return-1}},7537:function(t,n,e){var r=e(563),o=e(3474);t.exports=function(t){return o(t)&&"[object Date]"==r(t)}},9070:function(t,n,e){var r=e(7028),o=e(3474);t.exports=function t(n,e,i,a,u){return n===e||(null==n||null==e||!o(n)&&!o(e)?n!=n&&e!=e:r(n,e,i,a,t,u))}},7028:function(t,n,e){var r=e(8708),o=e(8705),i=e(2813),a=e(6682),u=e(9667),s=e(163),c=e(4801),l=e(4289),f="[object Arguments]",d="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,g,m,y){var v=s(t),b=s(n),x=v?d:u(t),w=b?d:u(n),M=(x=x==f?h:x)==h,E=(w=w==f?h:w)==h,k=x==w;if(k&&c(t)){if(!c(n))return!1;v=!0,M=!1}if(k&&!M)return y||(y=new r),v||l(t)?o(t,n,e,g,m,y):i(t,n,x,e,g,m,y);if(!(1&e)){var A=M&&p.call(t,"__wrapped__"),O=E&&p.call(n,"__wrapped__");if(A||O){var j=A?t.value():t,S=O?n.value():n;return y||(y=new r),m(j,S,e,g,y)}}return!!k&&(y||(y=new r),a(t,n,e,g,m,y))}},9548:function(t,n,e){var r=e(8708),o=e(9070);t.exports=function(t,n,e,i){var a=e.length,u=a,s=!i;if(null==t)return!u;for(t=Object(t);a--;){var c=e[a];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a<u;){var l=(c=e[a])[0],f=t[l],d=c[1];if(s&&c[2]){if(void 0===f&&!(l in t))return!1}else{var h=new r;if(i)var p=i(f,d,l,t,n,h);if(!(void 0===p?o(d,f,3,i,h):p))return!1}}return!0}},3472:function(t,n,e){var r=e(758),o=e(5223),i=e(5346),a=e(163),u=e(8532);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):r(t):u(t)}},7190:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},383:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,o=Array(r);++e<r;)o[e]=n(t[e],e,t);return o}},758:function(t,n,e){var r=e(9548),o=e(597),i=e(6878);t.exports=function(t){var n=o(t);return 1==n.length&&n[0][2]?i(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},5223:function(t,n,e){var r=e(9070),o=e(9201),i=e(5066),a=e(726),u=e(5385),s=e(6878),c=e(3110);t.exports=function(t,n){return a(t)&&u(n)?s(c(t),n):function(e){var a=o(e,t);return void 0===a&&a===n?i(e,t):r(n,a,3)}}},8245:function(t,n,e){var r=e(8644),o=e(4432),i=e(3472),a=e(383),u=e(9521),s=e(9110),c=e(9409),l=e(5346),f=e(163);t.exports=function(t,n,e){n=n.length?r(n,(function(t){return f(t)?function(n){return o(n,1===t.length?t[0]:t)}:t})):[l];var d=-1;n=r(n,s(i));var h=a(t,(function(t,e,o){return{criteria:r(n,(function(n){return n(t)})),index:++d,value:t}}));return u(h,(function(t,n){return c(t,n,e)}))}},5436:function(t,n,e){var r=e(6371),o=e(5066);t.exports=function(t,n){return r(t,n,(function(n,e){return o(t,e)}))}},6371:function(t,n,e){var r=e(4432),o=e(6539),i=e(9026);t.exports=function(t,n,e){for(var a=-1,u=n.length,s={};++a<u;){var c=n[a],l=r(t,c);e(l,c)&&o(s,i(c,t),l)}return s}},1600:function(t){t.exports=function(t){return function(n){return null==n?void 0:n[t]}}},3301:function(t,n,e){var r=e(4432);t.exports=function(t){return function(n){return r(n,t)}}},6317:function(t,n,e){var r=e(5346),o=e(4280),i=e(201);t.exports=function(t,n){return i(o(t,n,r),t+"")}},6539:function(t,n,e){var r=e(4132),o=e(9026),i=e(9099),a=e(7709),u=e(3110);t.exports=function(t,n,e,s){if(!a(t))return t;for(var c=-1,l=(n=o(n,t)).length,f=l-1,d=t;null!=d&&++c<l;){var h=u(n[c]),p=e;if("__proto__"===h||"constructor"===h||"prototype"===h)return t;if(c!=f){var g=d[h];void 0===(p=s?s(g,h,d):void 0)&&(p=a(g)?g:i(n[c+1])?[]:{})}r(d,h,p),d=d[h]}return t}},9521:function(t){t.exports=function(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}},7556:function(t,n,e){var r=e(788);t.exports=function(t,n){for(var e=-1,o=t.length,i=0,a=[];++e<o;){var u=t[e],s=n?n(u):u;if(!e||!r(s,c)){var c=s;a[i++]=0===u?0:u}}return a}},6316:function(t,n,e){var r=e(2596),o=e(8644),i=e(163),a=e(1995),u=r?r.prototype:void 0,s=u?u.toString:void 0;t.exports=function t(n){if("string"==typeof n)return n;if(i(n))return o(n,t)+"";if(a(n))return s?s.call(n):"";var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},9110:function(t){t.exports=function(t){return function(n){return t(n)}}},946:function(t,n,e){var r=e(3273),o=e(5510),i=e(9955),a=e(9914),u=e(6602),s=e(6226);t.exports=function(t,n,e){var c=-1,l=o,f=t.length,d=!0,h=[],p=h;if(e)d=!1,l=i;else if(f>=200){var g=n?null:u(t);if(g)return s(g);d=!1,l=a,p=new r}else p=n?[]:h;t:for(;++c<f;){var m=t[c],y=n?n(m):m;if(m=e||0!==m?m:0,d&&y==y){for(var v=p.length;v--;)if(p[v]===y)continue t;n&&p.push(y),h.push(m)}else l(p,y,e)||(p!==h&&p.push(y),h.push(m))}return h}},9914:function(t,n,e){var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9026:function(t,n,e){var r=e(163),o=e(726),i=e(7801),a=e(7010);t.exports=function(t,n){return r(t)?t:o(t,n)?[t]:i(a(t))}},522:function(t,n,e){var r=e(1995);t.exports=function(t,n){if(t!==n){var e=void 0!==t,o=null===t,i=t==t,a=r(t),u=void 0!==n,s=null===n,c=n==n,l=r(n);if(!s&&!l&&!a&&t>n||a&&u&&c&&!s&&!l||o&&u&&c||!e&&c||!i)return 1;if(!o&&!a&&!l&&t<n||l&&e&&i&&!o&&!a||s&&e&&i||!u&&i||!c)return-1}return 0}},9409:function(t,n,e){var r=e(522);t.exports=function(t,n,e){for(var o=-1,i=t.criteria,a=n.criteria,u=i.length,s=e.length;++o<u;){var c=r(i[o],a[o]);if(c)return o>=s?c:c*("desc"==e[o]?-1:1)}return t.index-n.index}},9021:function(t,n,e){var r=e(4132),o=e(8347);t.exports=function(t,n,e,i){var a=!e;e||(e={});for(var u=-1,s=n.length;++u<s;){var c=n[u],l=i?i(e[c],t[c],c,e,t):void 0;void 0===l&&(l=t[c]),a?o(e,c,l):r(e,c,l)}return e}},6092:function(t,n,e){var r=e(6317),o=e(8286);t.exports=function(t){return r((function(n,e){var r=-1,i=e.length,a=i>1?e[i-1]:void 0,u=i>2?e[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,u&&o(e[0],e[1],u)&&(a=i<3?void 0:a,i=1),n=Object(n);++r<i;){var s=e[r];s&&t(n,s,r,a)}return n}))}},6602:function(t){t.exports=function(){}},5525:function(t,n,e){var r=e(3743),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},8705:function(t,n,e){var r=e(3273),o=e(1634),i=e(9914);t.exports=function(t,n,e,a,u,s){var c=1&e,l=t.length,f=n.length;if(l!=f&&!(c&&f>l))return!1;var d=s.get(t),h=s.get(n);if(d&&h)return d==n&&h==t;var p=-1,g=!0,m=2&e?new r:void 0;for(s.set(t,n),s.set(n,t);++p<l;){var y=t[p],v=n[p];if(a)var b=c?a(v,y,p,n,t,s):a(y,v,p,t,n,s);if(void 0!==b){if(b)continue;g=!1;break}if(m){if(!o(n,(function(t,n){if(!i(m,n)&&(y===t||u(y,t,e,a,s)))return m.push(n)}))){g=!1;break}}else if(y!==v&&!u(y,v,e,a,s)){g=!1;break}}return s.delete(t),s.delete(n),g}},2813:function(t){t.exports=function(t,n){return t===n||t!=t&&n!=n}},6682:function(t,n,e){var r=e(8143),o=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,i,a,u){var s=1&e,c=r(t),l=c.length;if(l!=r(n).length&&!s)return!1;for(var f=l;f--;){var d=c[f];if(!(s?d in n:o.call(n,d)))return!1}var h=u.get(t),p=u.get(n);if(h&&p)return h==n&&p==t;var g=!0;u.set(t,n),u.set(n,t);for(var m=s;++f<l;){var y=t[d=c[f]],v=n[d];if(i)var b=s?i(v,y,d,n,t,u):i(y,v,d,t,n,u);if(!(void 0===b?y===v||a(y,v,e,i,u):b)){g=!1;break}m||(m="constructor"==d)}if(g&&!m){var x=t.constructor,w=n.constructor;x==w||!("constructor"in t)||!("constructor"in n)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(g=!1)}return u.delete(t),u.delete(n),g}},5557:function(t,n,e){var r=e(2645),o=e(4280),i=e(201);t.exports=function(t){return i(o(t,void 0,r),t+"")}},2117:function(t,n,e){var r="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g;t.exports=r},8143:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},7271:function(t){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},597:function(t,n,e){var r=e(5385),o=e(7747);t.exports=function(t){for(var n=o(t),e=n.length;e--;){var i=n[e],a=t[i];n[e]=[i,a,r(a)]}return n}},3743:function(t){t.exports=function(t,n){return null==t?void 0:t[n]}},9817:function(t,n,e){var r=e(5125)(Object.getPrototypeOf,Object);t.exports=r},9667:function(t){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},3096:function(t,n,e){var r=e(9026),o=e(5075),i=e(163),a=e(9099),u=e(8454),s=e(3110);t.exports=function(t,n,e){for(var c=-1,l=(n=r(n,t)).length,f=!1;++c<l;){var d=s(n[c]);if(!(f=null!=t&&e(t,d)))break;t=t[d]}return f||++c!=l?f:!!(l=null==t?0:t.length)&&u(l)&&a(d,l)&&(i(t)||o(t))}},3608:function(t,n,e){var r=e(2596),o=e(5075),i=e(163),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},9099:function(t){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},8286:function(t){t.exports=function(){return!1}},726:function(t,n,e){var r=e(163),o=e(1995),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,n){if(r(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!o(t))||a.test(t)||!i.test(t)||null!=n&&t in Object(n)}},5782:function(t){t.exports=function(){return!1}},5385:function(t,n,e){var r=e(7709);t.exports=function(t){return t==t&&!r(t)}},1171:function(t){t.exports=function(){this.__data__=[],this.size=0}},7838:function(t,n,e){var r=e(3162),o=Array.prototype.splice;t.exports=function(t){var n=this.__data__,e=r(n,t);return!(e<0||(e==n.length-1?n.pop():o.call(n,e,1),--this.size,0))}},4859:function(t,n,e){var r=e(3162);t.exports=function(t){var n=this.__data__,e=r(n,t);return e<0?void 0:n[e][1]}},4073:function(t,n,e){var r=e(3162);t.exports=function(t){return r(this.__data__,t)>-1}},8541:function(t,n,e){var r=e(3162);t.exports=function(t,n){var e=this.__data__,o=r(e,t);return o<0?(++this.size,e.push([t,n])):e[o][1]=n,this}},6878:function(t){t.exports=function(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}},2453:function(t){t.exports=function(t){return t}},2348:function(t,n,e){t=e.nmd(t);var r=e(2117),o=n&&!n.nodeType&&n,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,u=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u},5125:function(t){t.exports=function(t,n){return function(e){return t(n(e))}}},4280:function(t,n,e){var r=e(6082),o=Math.max;t.exports=function(t,n,e){return n=o(void 0===n?t.length-1:n,0),function(){for(var i=arguments,a=-1,u=o(i.length-n,0),s=Array(u);++a<u;)s[a]=i[n+a];a=-1;for(var c=Array(n+1);++a<n;)c[a]=i[a];return c[n]=e(s),r(t,this,c)}}},2373:function(t,n,e){var r=e(2117),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},6226:function(t){t.exports=function(){return[]}},201:function(t){t.exports=function(t){return t}},7801:function(t,n,e){var r=e(2453),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(o,(function(t,e,r,o){n.push(r?o.replace(i,"$1"):e||t)})),n}));t.exports=a},3110:function(t,n,e){var r=e(1995);t.exports=function(t){if("string"==typeof t||r(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},156:function(t,n,e){var r=e(4132),o=e(9021),i=e(6092),a=e(981),u=e(5782),s=e(7747),c=Object.prototype.hasOwnProperty,l=i((function(t,n){if(u(n)||a(n))o(n,s(n),t);else for(var e in n)c.call(n,e)&&r(t,e,n[e])}));t.exports=l},1893:function(t,n,e){var r=e(6317),o=e(788),i=e(8286),a=e(8855),u=Object.prototype,s=u.hasOwnProperty,c=r((function(t,n){t=Object(t);var e=-1,r=n.length,c=r>2?n[2]:void 0;for(c&&i(n[0],n[1],c)&&(r=1);++e<r;)for(var l=n[e],f=a(l),d=-1,h=f.length;++d<h;){var p=f[d],g=t[p];(void 0===g||o(g,u[p])&&!s.call(t,p))&&(t[p]=l[p])}return t}));t.exports=c},788:function(t){t.exports=function(t,n){return t===n||t!=t&&n!=n}},2645:function(t,n,e){var r=e(6457);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9201:function(t,n,e){var r=e(4432);t.exports=function(t,n,e){var o=null==t?void 0:r(t,n);return void 0===o?e:o}},5066:function(t,n,e){var r=e(6776),o=e(3096);t.exports=function(t,n){return null!=t&&o(t,n,r)}},5346:function(t){t.exports=function(t){return t}},5075:function(t){t.exports=function(){return!1}},163:function(t){var n=Array.isArray;t.exports=n},981:function(t,n,e){var r=e(9642),o=e(8454);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},4801:function(t){t.exports=function(){return!1}},4295:function(t,n,e){var r=e(7537),o=e(9110),i=e(2348),a=i&&i.isDate,u=a?o(a):r;t.exports=u},4155:function(t,n,e){var r=e(7190),o=e(9667),i=e(5075),a=e(163),u=e(981),s=e(4801),c=e(5782),l=e(4289),f=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(u(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||s(t)||l(t)||i(t)))return!t.length;var n=o(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(c(t))return!r(t).length;for(var e in t)if(f.call(t,e))return!1;return!0}},8254:function(t,n,e){var r=e(9070);t.exports=function(t,n){return r(t,n)}},9642:function(t,n,e){var r=e(563),o=e(7709);t.exports=function(t){if(!o(t))return!1;var n=r(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},8454:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7709:function(t){t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},3474:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},3849:function(t,n,e){var r=e(563),o=e(9817),i=e(3474),a=Function.prototype,u=Object.prototype,s=a.toString,c=u.hasOwnProperty,l=s.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var n=o(t);if(null===n)return!0;var e=c.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&s.call(e)==l}},1995:function(t){t.exports=function(){return!1}},4289:function(t){t.exports=function(){return!1}},8999:function(t){t.exports=function(t){return void 0===t}},7747:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},8855:function(t){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},1594:function(t,n,e){var r=e(503);function o(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,o=n?n.apply(this,r):r[0],i=e.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return e.cache=i.set(o,a)||i,a};return e.cache=new(o.Cache||r),e}o.Cache=r,t.exports=o},6051:function(t){t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}},1616:function(t,n,e){var r=e(3472),o=e(6051),i=e(4912);t.exports=function(t,n){return i(t,o(r(n)))}},4143:function(t,n,e){var r=e(8245),o=e(163);t.exports=function(t,n,e,i){return null==t?[]:(o(n)||(n=null==n?[]:[n]),o(e=i?void 0:e)||(e=null==e?[]:[e]),r(t,n,e))}},9082:function(t,n,e){var r=e(5436),o=e(5557)((function(t,n){return null==t?{}:r(t,n)}));t.exports=o},4912:function(t,n,e){var r=e(8644),o=e(3472),i=e(6371),a=e(7271);t.exports=function(t,n){if(null==t)return{};var e=r(a(t),(function(t){return[t]}));return n=o(n),i(t,e,(function(t,e){return n(t,e[0])}))}},8532:function(t,n,e){var r=e(1600),o=e(3301),i=e(726),a=e(3110);t.exports=function(t){return i(t)?r(a(t)):o(t)}},2829:function(t,n,e){var r=e(7556);t.exports=function(t){return t&&t.length?r(t):[]}},7010:function(t,n,e){var r=e(6316);t.exports=function(t){return null==t?"":r(t)}},9602:function(t,n,e){var r=e(946);t.exports=function(t){return t&&t.length?r(t):[]}},660:function(t,n,e){var r=e(7010),o=0;t.exports=function(t){var n=++o;return r(t)+n}},7491:function(t){var n="undefined"!=typeof Element,e="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var u,s,c,l;if(Array.isArray(t)){if((u=t.length)!=a.length)return!1;for(s=u;0!=s--;)if(!i(t[s],a[s]))return!1;return!0}if(e&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(s=l.next()).done;)if(!a.has(s.value[0]))return!1;for(l=t.entries();!(s=l.next()).done;)if(!i(s.value[1],a.get(s.value[0])))return!1;return!0}if(r&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(l=t.entries();!(s=l.next()).done;)if(!a.has(s.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((u=t.length)!=a.length)return!1;for(s=u;0!=s--;)if(t[s]!==a[s])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((u=(c=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(s=u;0!=s--;)if(!Object.prototype.hasOwnProperty.call(a,c[s]))return!1;if(n&&t instanceof Element)return!1;for(s=u;0!=s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!t.$$typeof)&&!i(t[c[s]],a[c[s]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,n){try{return i(t,n)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},9787:function(n){"use strict";n.exports=t}},e={};function r(t){var o=e[t];if(void 0!==o)return o.exports;var i=e[t]={id:t,loaded:!1,exports:{}};return n[t](i,i.exports,r),i.loaded=!0,i.exports}r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,{a:n}),n},r.d=function(t,n){for(var e in n)r.o(n,e)&&!r.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t};var o={};return function(){"use strict";r.r(o),r.d(o,{ErrorBar:function(){return Mr},VictoryErrorBar:function(){return Ns}});var t={};r.r(t),r.d(t,{easeBack:function(){return _n},easeBackIn:function(){return Dn},easeBackInOut:function(){return _n},easeBackOut:function(){return Nn},easeBounce:function(){return Sn},easeBounceIn:function(){return jn},easeBounceInOut:function(){return Cn},easeBounceOut:function(){return Sn},easeCircle:function(){return An},easeCircleIn:function(){return En},easeCircleInOut:function(){return An},easeCircleOut:function(){return kn},easeCubic:function(){return ln},easeCubicIn:function(){return sn},easeCubicInOut:function(){return ln},easeCubicOut:function(){return cn},easeElastic:function(){return In},easeElasticIn:function(){return $n},easeElasticInOut:function(){return Un},easeElasticOut:function(){return In},easeExp:function(){return Mn},easeExpIn:function(){return xn},easeExpInOut:function(){return Mn},easeExpOut:function(){return wn},easeLinear:function(){return rn},easePoly:function(){return hn},easePolyIn:function(){return fn},easePolyInOut:function(){return hn},easePolyOut:function(){return dn},easeQuad:function(){return un},easeQuadIn:function(){return on},easeQuadInOut:function(){return un},easeQuadOut:function(){return an},easeSin:function(){return vn},easeSinIn:function(){return mn},easeSinInOut:function(){return vn},easeSinOut:function(){return yn}});var n={};r.r(n),r.d(n,{scaleBand:function(){return $r},scaleDiverging:function(){return Ru},scaleDivergingLog:function(){return Yu},scaleDivergingPow:function(){return Bu},scaleDivergingSqrt:function(){return Vu},scaleDivergingSymlog:function(){return qu},scaleIdentity:function(){return Oo},scaleImplicit:function(){return _r},scaleLinear:function(){return Ao},scaleLog:function(){return $o},scaleOrdinal:function(){return Pr},scalePoint:function(){return Ur},scalePow:function(){return Yo},scaleQuantile:function(){return ei},scaleQuantize:function(){return ri},scaleRadial:function(){return Ko},scaleSequential:function(){return $u},scaleSequentialLog:function(){return Iu},scaleSequentialPow:function(){return Lu},scaleSequentialQuantile:function(){return Fu},scaleSequentialSqrt:function(){return Wu},scaleSequentialSymlog:function(){return Uu},scaleSqrt:function(){return qo},scaleSymlog:function(){return Wo},scaleThreshold:function(){return oi},scaleTime:function(){return Du},scaleUtc:function(){return Nu},tickFormat:function(){return Eo}});var e=r(9787),i=r.n(e),a=r(7709),u=r.n(a),s=r(660),c=r.n(s),l=r(1893),f=r.n(l);class d extends i().Component{static displayName="Portal";constructor(t){super(t),this.map={},this.index=1}portalRegister=()=>++this.index;portalUpdate=(t,n)=>{this.map[t]=n,this.forceUpdate()};portalDeregister=t=>{delete this.map[t],this.forceUpdate()};getChildren(){return Object.keys(this.map).map((t=>{const n=this.map[t];return n?i().cloneElement(n,{key:t}):n}))}render(){return i().createElement("svg",this.props,this.getChildren())}}const h=i().createContext({});h.displayName="PortalContext";var p,g,m=0,y=0,v=0,b=0,x=0,w=0,M="object"==typeof performance&&performance.now?performance:Date,E="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function k(){return x||(E(A),x=M.now()+w)}function A(){x=0}function O(){this._call=this._time=this._next=null}function j(t,n,e){var r=new O;return r.restart(t,n,e),r}function S(){x=(b=M.now())+w,m=y=0;try{!function(){k(),++m;for(var t,n=p;n;)(t=x-n._time)>=0&&n._call.call(void 0,t),n=n._next;--m}()}finally{m=0,function(){for(var t,n,e=p,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:p=n);g=t,T(r)}(),x=0}}function C(){var t=M.now(),n=t-b;n>1e3&&(w-=n,b=t)}function T(t){m||(y&&(y=clearTimeout(y)),t-x>24?(t<1/0&&(y=setTimeout(S,t-M.now()-w)),v&&(v=clearInterval(v))):(v||(b=M.now(),v=setInterval(C,1e3)),m=1,E(S)))}O.prototype=j.prototype={constructor:O,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?k():+e)+(null==n?0:+n),this._next||g===this||(g?g._next=this:p=this,g=this),this._call=t,this._time=e,T()},stop:function(){this._call&&(this._call=null,this._time=1/0,T())}};class D{constructor(){this.shouldAnimate=!0,this.subscribers=[],this.timer=null,this.activeSubscriptions=0}bypassAnimation(){this.shouldAnimate=!1}resumeAnimation(){this.shouldAnimate=!0}loop=()=>{this.subscribers.forEach((t=>{t.callback(k()-t.startTime,t.duration)}))};start(){this.timer||(this.timer=j(this.loop))}stop(){this.timer&&(this.timer.stop(),this.timer=null)}subscribe(t,n){const e=this.subscribers.push({startTime:k(),callback:t,duration:this.shouldAnimate?n:0});return this.activeSubscriptions++,this.start(),e}unsubscribe(t){null!==t&&this.subscribers[t-1]&&(delete this.subscribers[t-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}const N=i().createContext({transitionTimer:new D,animationTimer:new D});N.displayName="TimerContext";var _=N,P=r(9082),$=r.n(P),I=r(8532),U=r.n(I);function L(t,n){void 0===n&&(n=[]);const e={};for(const r in t)n.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function W(t){const n=t=>void 0!==t,{_x:e,_x1:r,_x0:o,_voronoiX:i,_y:a,_y1:u,_y0:s,_voronoiY:c}=t,l=n(r)?r:e,d=n(u)?u:a,h={x:n(i)?i:l,x0:n(o)?o:e,y:n(c)?c:d,y0:n(s)?s:a};return f()({},h,t)}function F(t,n){const{scale:e,polar:r,horizontal:o}=t,i=W(n),a=t.origin||{x:0,y:0},u=o?e.y(i.y):e.x(i.x),s=o?e.y(i.y0):e.x(i.x0),c=o?e.x(i.x):e.y(i.y),l=o?e.x(i.x0):e.y(i.y0);return{x:r?c*Math.cos(u)+a.x:u,x0:r?l*Math.cos(s)+a.x:s,y:r?-c*Math.sin(u)+a.y:c,y0:r?-l*Math.sin(s)+a.x:l}}function z(t,n){void 0===n&&(n="padding");const e=t[n],r="number"==typeof e?e:0,o="object"==typeof e?e:{};return{top:o.top||r,bottom:o.bottom||r,left:o.left||r,right:o.right||r}}function H(t){return"tooltip"===(t&&t.type&&t.type.role)}function R(t,n){return G(t)?t(n):t}function Y(t,n){return n.disableInlineStyles?{}:t&&Object.keys(t).some((n=>G(t[n])))?Object.keys(t).reduce(((e,r)=>(e[r]=R(t[r],n),e)),{}):t}function q(t){return"number"==typeof t?t*(Math.PI/180):t}function B(t){const{left:n,right:e,top:r,bottom:o}=z(t),{width:i,height:a}=t;return Math.min(i-n-e,a-r-o)/2}function V(t,n){return t.range&&t.range[n]?t.range[n]:t.range&&Array.isArray(t.range)?t.range:t.polar?function(t,n){return"x"===n?[q(t.startAngle||0),q(t.endAngle||360)]:[t.innerRadius||0,B(t)]}(t,n):function(t,n){const e="x"!==n,r=z(t);return e?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,n)}function K(t){return null==t}function G(t){return"function"==typeof t}function X(t){return G(t)?t:null==t?t=>t:U()(t)}function Z(t,n,e){const r=L(t.theme&&t.theme[e]?t.theme[e]:{},["style"]),o=function(t){if(void 0!==t.horizontal||!t.children)return t.horizontal;const n=t=>t.reduce(((t,e)=>{const r=e.props||{};return t||r.horizontal||!r.children?t||r.horizontal:n(i().Children.toArray(r.children))}),!1);return n(i().Children.toArray(t.children))}(t),a=void 0===o?{}:{horizontal:o};return f()(a,t,r,n)}const Q={startsWith:["data-","aria-"],exactMatch:[]},J=t=>{const n={...t};return Object.fromEntries(Object.entries(n).filter((t=>{let[n]=t;return(t=>!(!(t=>{let n=!1;return Q.startsWith.forEach((e=>{new RegExp(`\\b(${e})(\\w|-)+`,"g").test(t)&&(n=!0)})),n})(t)&&!(t=>Q.exactMatch.includes(t))(t)))(n)})).map((n=>{let[e,r]=n;return[e,R(r,t)]})))};function tt(){return tt=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},tt.apply(this,arguments)}class nt extends i().Component{static displayName="VictoryContainer";static role="container";static defaultProps={className:"VictoryContainer",portalComponent:i().createElement(d,null),portalZIndex:99,responsive:!0,role:"img"};static contextType=_;constructor(t){super(t),this.containerId=u()(t)&&void 0!==t.containerId?t.containerId:c()("victory-container-"),this.shouldHandleWheel=!!(t&&t.events&&t.events.onWheel)}savePortalRef=t=>(this.portalRef=t,t);portalUpdate=(t,n)=>this.portalRef.portalUpdate(t,n);portalRegister=()=>this.portalRef.portalRegister();portalDeregister=t=>this.portalRef.portalDeregister(t);saveContainerRef=t=>(G(this.props.containerRef)&&this.props.containerRef(t),this.containerRef=t,t);handleWheel=t=>t.preventDefault();componentDidMount(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}componentWillUnmount(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}getIdForElement(t){return`${this.containerId}-${t}`}getChildren(t){return t.children}getOUIAProps(t){const{ouiaId:n,ouiaSafe:e,ouiaType:r}=t;return{...n&&{"data-ouia-component-id":n},...r&&{"data-ouia-component-type":r},...void 0!==e&&{"data-ouia-safe":e}}}renderContainer(t,n,e){const{title:r,desc:o,portalComponent:a,className:u,width:s,height:c,portalZIndex:l,responsive:d}=t,p=this.getChildren(t),g=d?{width:"100%",height:"100%"}:{width:s,height:c},m=Object.assign({pointerEvents:"none",touchAction:"none",position:"relative"},g),y=Object.assign({zIndex:l,position:"absolute",top:0,left:0},g),v=Object.assign({pointerEvents:"all"},g),b=Object.assign({overflow:"visible"},g),x={width:s,height:c,viewBox:n.viewBox,preserveAspectRatio:n.preserveAspectRatio,style:b};return i().createElement(h.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},i().createElement("div",tt({style:f()({},e,m),className:u,ref:this.saveContainerRef},this.getOUIAProps(t)),i().createElement("svg",tt({},n,{style:v}),r?i().createElement("title",{id:this.getIdForElement("title")},r):null,o?i().createElement("desc",{id:this.getIdForElement("desc")},o):null,p),i().createElement("div",{style:y},i().cloneElement(a,{...x,ref:this.savePortalRef}))))}render(){const{width:t,height:n,responsive:e,events:r,title:o,desc:i,tabIndex:a,preserveAspectRatio:u,role:s}=this.props,c=e?this.props.style:L(this.props.style,["height","width"]),l=J(this.props),f=Object.assign({width:t,height:n,tabIndex:a,role:s,"aria-labelledby":[o&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[i&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:e?`0 0 ${t} ${n}`:void 0,preserveAspectRatio:e?u:void 0,...l},r);return this.renderContainer(this.props,f,c)}}var et=r(4155),rt=r.n(et);class ot extends i().Component{static displayName="VictoryPortal";static role="portal";static defaultProps={groupComponent:i().createElement("g",null)};static contextType=h;componentDidMount(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}componentDidUpdate(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}componentWillUnmount(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}renderPortal(t){return this.renderInPlace?t:(this.element=t,null)}render(){const t=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,{groupComponent:n}=this.props,e=t&&t.props||{},r=e.groupComponent?{groupComponent:n,standalone:!1}:{},o=f()(r,e,L(this.props,["children","groupComponent"])),a=t&&i().cloneElement(t,o);return this.renderPortal(a)}}function it(){return it=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},it.apply(this,arguments)}const at=(0,e.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:o,origin:a,...u}=t,s={vectorEffect:"non-scaling-stroke",id:R(r,t)?.toString(),tabIndex:R(o,t),...u};return e?i().createElement("rect",it({},s,{ref:n}),i().createElement("desc",null,e)):i().createElement("rect",it({},s,{ref:n}))})),ut=t=>{const{children:n,desc:e,id:r,origin:o,tabIndex:a,title:u,...s}=t,c={id:R(r,t)?.toString(),tabIndex:R(a,t),...s};return i().createElement("text",c,u&&i().createElement("title",null,u),e&&i().createElement("desc",null,e),n)},st=t=>{const{desc:n,id:e,tabIndex:r,origin:o,...a}=t,u={id:R(e,t)?.toString(),tabIndex:R(r,t),...a};return i().createElement("tspan",u)};const ct=function(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];if(e.length>0)return e.reduce(((t,n)=>[t,ct(n)].join(" ")),ct(t)).trim();if(null==t||"string"==typeof t)return t;const o=[];for(const n in t)if(t.hasOwnProperty(n)){const e=t[n];o.push(`${n}(${e})`)}return o.join(" ").trim()};var lt=r(1594),ft=r.n(lt);const dt={"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}},ht={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},pt={em:1,ex:.5},gt={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},mt=t=>Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g),yt=(t,n,e)=>{const r=(t=>t*Math.PI/180)(e);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*n)},vt=(t,n)=>{const e=t.match(/[a-zA-Z%]+/)?.[0],r=Number(t.match(/[0-9.,]+/));let o;return o=e?ht.hasOwnProperty(e)?r*ht[e]:pt.hasOwnProperty(e)?(n?r*n:r*gt.fontSize)*pt[e]:r:r||0,o},bt=(t,n)=>{const e=Array.isArray(t)?t[n]:t,r=f()({},e,gt);return Object.assign({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:vt(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:vt(String(r.fontSize))})},xt=(t,n)=>{const e=Array.isArray(n)?n[0]&&n[0].angle:n&&n.angle,r=((t,n)=>void 0===t||""===t||null===t?0:mt(t).reduce(((t,e,r)=>{const o=bt(n,r),i=e.toString().match(/[(A-Z)(0-9)]/)?1.15*o.fontSize:o.fontSize;return t+o.lineHeight*i}),0))(t,n),o=((t,n)=>{if(void 0===t||""===t||null===t)return 0;const e=mt(t).map(((t,e)=>{const r=t.toString().length,{fontSize:o,letterSpacing:i,fontFamily:a}=bt(n,e),u=(t=>{const n=t.split(",").map((t=>t.replace(/'|"/g,""))).find((t=>dt[t]))||"Helvetica";return dt[n]})(a);return t.toString().split("").map((t=>t.charCodeAt(0)<u.widths.length?u.widths[t.charCodeAt(0)]:u.avg)).reduce(((t,n)=>n+t),0)*o+i*Math.max(r-1,0)}));return Math.max(...e)})(t,n);return{width:e?yt(o,r,e):o,height:1.05*(e?yt(r,o,e):r)}},wt=ft()((()=>{const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("xlink","http://www.w3.org/1999/xlink"),t.setAttribute("width","300"),t.setAttribute("height","300"),t.setAttribute("viewBox","0 0 300 300"),t.setAttribute("aria-hidden","true");const n=document.createElementNS("http://www.w3.org/2000/svg","text");return t.appendChild(n),t.style.position="fixed",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t),n})),Mt=t=>t?`${t.angle}:${t.fontFamily}:${t.fontSize}:${t.letterSpacing}:${t.lineHeight}`:"null",Et=ft()(((t,n)=>{let e=wt();e.isConnected||(wt.cache.clear?.(),e=wt());const r=mt(t);let o=0;for(const[t,i]of r.entries()){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan"),a=bt(n,t);r.style.fontFamily=a.fontFamily,r.style.fontSize=`${a.fontSize}px`,r.style.lineHeight=a.lineHeight,r.style.fontFamily=a.fontFamily,r.style.letterSpacing=a.letterSpacing,r.textContent=i,r.setAttribute("x","0"),r.setAttribute("y",`${o}`),e.appendChild(r),o+=a.lineHeight*r.getBoundingClientRect().height}const{width:i}=e.getBoundingClientRect();return e.innerHTML="",{width:n?.angle?yt(i,o,n?.angle):i,height:n?.angle?yt(o,i,n?.angle):o}}),((t,n)=>`${Array.isArray(t)?t.join():t}::${Array.isArray(n)?n.map(Mt).join():Mt(n)}`)),kt=(t,n)=>function(t,n,e){return void 0===e&&(e=!1),"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||e?xt(t,n):Et(t,n)}(t,n),At={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Ser­avek', 'Trebuchet MS', sans-serif",stroke:"transparent"},Ot=(t,n)=>t.datum?F(t,t.datum)[n]:0,jt=t=>{const n=t&&t.fontSize;if("number"==typeof n)return n;if(null==n)return At.fontSize;if("string"==typeof n){const t=Number(n.replace("px",""));return isNaN(t)?At.fontSize:t}return At.fontSize},St=function(t,n){return void 0===n&&(n=0),Array.isArray(t)?t[n]||t[0]:t},Ct=t=>{const{backgroundStyle:n,backgroundPadding:e}=t;return Array.isArray(n)&&!rt()(n)||Array.isArray(e)&&!rt()(e)},Tt=(t,n,e)=>{const{polar:r}=t,o=St(t.style),i=r?function(t,n){const{labelPlacement:e,datum:r}=t;if(!e||"vertical"===e)return 0;const o=function(t,n){const{x:e}=W(n);return("number"==typeof(r=t.scale.x(e))?r/(Math.PI/180):r)%360;var r}(t,r);let i=0;return 0===o||180===o?i=90:o>0&&o<180?i=90-o:o>180&&o<360&&(i=270-o),i+(o>90&&o<180||o>270?1:-1)*("perpendicular"===e?0:90)}(t):0,a=void 0===o.angle?R(t.angle,t):o.angle,u=void 0===a?i:a,s=t.transform||o.transform,c=s&&R(s,t);return c||u?ct(c,u&&{rotate:[u,n,e]}):void 0},Dt=(t,n)=>{const{direction:e,textAnchor:r,x:o,dx:i}=t;if("rtl"===e)return o-n;switch(r){case"middle":return Math.round(o-n/2);case"end":return Math.round(o-n);default:return o+(i||0)}},Nt=(t,n)=>{const{verticalAnchor:e,y:r,originalDy:o=0}=t,i=r+o;switch(e){case"start":return Math.floor(i);case"end":return Math.ceil(i-n);default:return Math.floor(i-n/2)}},_t=(t,n)=>Ct(t)?((t,n)=>{const{dy:e,dx:r,transform:o,backgroundStyle:a,backgroundPadding:u,backgroundComponent:s,inline:c,y:l}=t,d=n.map(((t,o)=>{const i=St(n,o-1),a=t.textSize,s=t.fontSize*t.lineHeight,f=Math.ceil(s),d=St(u,o),h=St(u,o-1),p=c&&r||0,g=o&&!c?i.fontSize*i.lineHeight+h.top+h.bottom:e-.5*s-(t.fontSize-t.capHeight);return{textHeight:f,labelSize:a,heightWithPadding:f+d.top+d.bottom,widthWithPadding:a.width+d.left+d.right+p,y:l,fontSize:t.fontSize,dy:g}}));return d.map(((n,e)=>{const r=Dt(t,n.labelSize.width),h=d.slice(0,e+1).reduce(((t,n)=>t+n.dy),l),p=St(u,e),g=n.heightWithPadding,m=c?((t,n,e)=>{const{textAnchor:r}=t,o=n.map((t=>t.widthWithPadding)),i=-o.reduce(((t,n)=>t+n),0)/2;switch(r){case"start":return o.reduce(((t,n,r)=>r<e?t+n:t),0);case"end":return o.reduce(((t,n,r)=>r>e?t-n:t),0);default:return o.reduce(((t,n,r)=>r===e?t+n/2:t+(r<e?n:0)),i)}})(t,d,e)+r-p.left:r,y=c?Nt(t,g)-p.top:h,v={key:`tspan-background-${e}`,height:g,style:St(a,e),width:n.widthWithPadding,transform:o,x:m-p.left,y:y};return i().cloneElement(s,f()({},s.props,v))}))})(t,n):((t,n)=>{const{dx:e=0,transform:r,backgroundComponent:o,backgroundStyle:a,inline:u,backgroundPadding:s,capHeight:c}=t,l=n.map((t=>t.textSize)),d=u?Math.max(...l.map((t=>t.height))):l.reduce(((t,e,r)=>{const o=r?0:c/2;return t+e.height*(n[r].lineHeight-o)}),0),h=u?l.reduce(((t,n,r)=>{const o=r?e:0;return t+n.width+o}),0):Math.max(...l.map((t=>t.width))),p=Dt(t,h),g=Nt(t,d),m={key:"background",height:d+s.top+s.bottom,style:a,transform:r,width:h+s.left+s.right,x:u?p-s.left:p+e-s.left,y:g};return i().cloneElement(o,f()({},o.props,m))})(t,n),Pt=(t,n,e)=>{const{inline:r}=n,o=St(t,e);return e&&!r?((t,n,e)=>{const r=St(t,n),o=St(t,n-1),i=o.fontSize*o.lineHeight,a=r.fontSize*r.lineHeight,u=o.fontSize-o.capHeight,s=r.fontSize-r.capHeight,c=i-o.fontSize/2+r.fontSize/2-i/2+a/2-s/2+u/2;return Ct(e)?c+r.backgroundPadding.top+o.backgroundPadding.bottom:c})(t,e,n):r?0===e?o.backgroundPadding.top:void 0:o.backgroundPadding.top},$t={backgroundComponent:i().createElement(at,null),groupComponent:i().createElement("g",null),direction:"inherit",textComponent:i().createElement(ut,null),tspanComponent:i().createElement(st,null),capHeight:.71,lineHeight:1},It=t=>{const n=(t=>{const n=((t,n)=>{if(null==t)return;if(Array.isArray(t))return t.map((t=>R(t,n)));const e=R(t,n);return null!=e?Array.isArray(e)?e:`${e}`.split("\n"):void 0})(t.text,t),e=((t,n)=>{if(n.disableInlineStyles){const e=Y(t,n);return{fontSize:jt(e)}}const e=t=>{const e=Y(t?f()({},t,At):At,n);return Object.assign({},e,{fontSize:jt(e)})};return Array.isArray(t)&&!rt()(t)?t.map((t=>e(t))):e(t)})(t.style,Object.assign({},t,{text:n})),r=((t,n)=>{if(t)return Array.isArray(t)&&!rt()(t)?t.map((t=>Y(t,n))):Y(t,n)})(t.backgroundStyle,Object.assign({},t,{text:n,style:e})),o=(t=>t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((n=>z({padding:R(n,t)}))):z({padding:R(t.backgroundPadding,t)}))(Object.assign({},t,{text:n,style:e,backgroundStyle:r})),i=R(t.id,t);return Object.assign({},t,{backgroundStyle:r,backgroundPadding:o,style:e,text:n,id:i})})({...$t,...t});if(null===n.text||void 0===n.text)return null;const e=(t=>{const n=R(t.ariaLabel,t),e=St(t.style),r=(t=>{const n=R(t.lineHeight,t);return Array.isArray(n)&&rt()(n)?[1]:n})(t),o=t.direction?R(t.direction,t):"inherit",i=t.textAnchor?R(t.textAnchor,t):e.textAnchor||"start",a=t.verticalAnchor?R(t.verticalAnchor,t):e.verticalAnchor||"middle",u=t.dx?R(t.dx,t):0,s=((t,n,e)=>{const r=t.dy?R(t.dy,t):0,o=t.inline?1:t.text.length,i=R(t.capHeight,t),a=n?R(n,t):"middle",u=[...Array(o).keys()].map((n=>St(t.style,n).fontSize)),s=[...Array(o).keys()].map((t=>St(e,t)));if("start"===a)return r+(i/2+s[0]/2)*u[0];if(t.inline)return"end"===a?r+(i/2-s[0]/2)*u[0]:r+i/2*u[0];if(1===o)return"end"===a?r+(i/2+(.5-o)*s[0])*u[0]:r+(i/2+(.5-o/2)*s[0])*u[0];const c=[...Array(o).keys()].reduce(((t,n)=>t+(i/2+(.5-o)*s[n])*u[n]/o),0);return"end"===a?r+c:r+c/2+i/2*s[o-1]*u[o-1]})(t,a,r),c=void 0!==t.x?t.x:Ot(t,"x"),l=void 0!==t.y?t.y:Ot(t,"y"),f=Tt(t,c,l);return Object.assign({},t,{ariaLabel:n,lineHeight:r,direction:o,textAnchor:i,verticalAnchor:a,dx:u,dy:s,originalDy:R(t.dy,t),transform:f,x:c,y:l})})(n),{text:r,style:o,capHeight:a,backgroundPadding:u,lineHeight:s}=e,c=r.map(((t,n)=>{const e=St(o,n),r=vt(`${a}em`,e.fontSize),i=St(s,n);return{style:e,fontSize:e.fontSize||At.fontSize,capHeight:r,text:t,textSize:kt(t,e),lineHeight:i,backgroundPadding:St(u,n)}})),l=((t,n)=>{const{ariaLabel:e,inline:r,className:o,title:a,events:u,direction:s,text:c,textAnchor:l,dx:f,dy:d,transform:h,x:p,y:g,desc:m,id:y,tabIndex:v,tspanComponent:b,textComponent:x}=t,w=J(t),M={"aria-label":e,key:"text",...u,direction:s,dx:f,x:p,y:g+d,transform:h,className:o,title:a,desc:R(m,t),tabIndex:R(v,t),id:y,...w},E=c.map(((e,o)=>{const a=n[o].style,u={key:`${y}-key-${o}`,x:r?void 0:p,dx:r?f+n[o].backgroundPadding.left:f,dy:Pt(n,t,o),textAnchor:a.textAnchor||l,style:a,children:e};return i().cloneElement(b,u)}));return i().cloneElement(x,M,E)})(e,c);if(n.backgroundStyle){const t=[_t(e,c),l],r=i().cloneElement(n.groupComponent,{},t);return n.renderInPortal?i().createElement(ot,null,r):r}return n.renderInPortal?i().createElement(ot,null,l):l};It.displayName="VictoryLabel",It.role="label",It.defaultStyles=At;const Ut=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],Lt="#252525",Wt="#969696",Ft={width:450,height:300,padding:50,colorScale:Ut},zt={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:Lt,stroke:"transparent"},Ht=Object.assign({textAnchor:"middle"},zt),Rt={area:Object.assign({style:{data:{fill:Lt},labels:zt}},Ft),axis:Object.assign({style:{axis:{fill:"transparent",stroke:Lt,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},Ht,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:zt}},Ft),bar:Object.assign({style:{data:{fill:Lt,padding:8,strokeWidth:0},labels:zt}},Ft),boxplot:Object.assign({style:{max:{padding:8,stroke:Lt,strokeWidth:1},maxLabels:Object.assign({},zt,{padding:3}),median:{padding:8,stroke:Lt,strokeWidth:1},medianLabels:Object.assign({},zt,{padding:3}),min:{padding:8,stroke:Lt,strokeWidth:1},minLabels:Object.assign({},zt,{padding:3}),q1:{padding:8,fill:Wt},q1Labels:Object.assign({},zt,{padding:3}),q3:{padding:8,fill:Wt},q3Labels:Object.assign({},zt,{padding:3})},boxWidth:20},Ft),candlestick:Object.assign({style:{data:{stroke:Lt,strokeWidth:1},labels:Object.assign({},zt,{padding:5})},candleColors:{positive:"#ffffff",negative:Lt}},Ft),chart:Ft,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:Lt,strokeWidth:2},labels:zt}},Ft),group:Object.assign({colorScale:Ut},Ft),histogram:Object.assign({style:{data:{fill:Wt,stroke:Lt,strokeWidth:2},labels:zt}},Ft),legend:{colorScale:Ut,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:zt,title:Object.assign({},zt,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:Lt,strokeWidth:2},labels:zt}},Ft),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},zt,{padding:20})},colorScale:Ut,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:Lt,stroke:"transparent",strokeWidth:0},labels:zt}},Ft),stack:Object.assign({colorScale:Ut},Ft),tooltip:{style:Object.assign({},zt,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:Lt,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},zt,{padding:5,pointerEvents:"none"}),flyout:{stroke:Lt,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Ft)},Yt=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],qt="#ECEFF1",Bt="#90A4AE",Vt="#455A64",Kt="#212121",Gt={width:350,height:350,padding:50},Xt={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:Vt,stroke:"transparent",strokeWidth:0},Zt=Object.assign({textAnchor:"middle"},Xt),Qt="round",Jt="round",tn=(Object.assign({style:{data:{fill:Kt},labels:Xt}},Gt),Object.assign({style:{axis:{fill:"transparent",stroke:Bt,strokeWidth:2,strokeLinecap:Qt,strokeLinejoin:Jt},axisLabel:Object.assign({},Zt,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:qt,strokeDasharray:"10, 5",strokeLinecap:Qt,strokeLinejoin:Jt,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:Bt,strokeWidth:1,strokeLinecap:Qt,strokeLinejoin:Jt},tickLabels:Object.assign({},Xt,{fill:Vt})}},Gt),Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),Object.assign({style:{data:{fill:Vt,padding:8,strokeWidth:0},labels:Xt}},Gt),Object.assign({style:{max:{padding:8,stroke:Vt,strokeWidth:1},maxLabels:Object.assign({},Xt,{padding:3}),median:{padding:8,stroke:Vt,strokeWidth:1},medianLabels:Object.assign({},Xt,{padding:3}),min:{padding:8,stroke:Vt,strokeWidth:1},minLabels:Object.assign({},Xt,{padding:3}),q1:{padding:8,fill:Vt},q1Labels:Object.assign({},Xt,{padding:3}),q3:{padding:8,fill:Vt},q3Labels:Object.assign({},Xt,{padding:3})},boxWidth:20},Gt),Object.assign({style:{data:{stroke:Vt},labels:Object.assign({},Xt,{padding:5})},candleColors:{positive:"#ffffff",negative:Vt}},Gt),Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:Vt,strokeWidth:2},labels:Xt}},Gt),Object.assign({colorScale:Yt},Gt),Object.assign({style:{data:{fill:Vt,stroke:Kt,strokeWidth:2},labels:Xt}},Gt),Object.assign({},Xt,{padding:5}),Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:Vt,strokeWidth:2},labels:Xt}},Gt),Object.assign({colorScale:Yt,style:{data:{padding:8,stroke:qt,strokeWidth:1},labels:Object.assign({},Xt,{padding:20})}},Gt),Object.assign({style:{data:{fill:Vt,opacity:1,stroke:"transparent",strokeWidth:0},labels:Xt}},Gt),Object.assign({colorScale:Yt},Gt),Object.assign({},Xt,{padding:0,pointerEvents:"none"}),Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},Xt,{padding:5,pointerEvents:"none"}),flyout:{stroke:Kt,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Gt),Rt);var nn=r(7491),en=r.n(nn);const rn=t=>+t;function on(t){return t*t}function an(t){return t*(2-t)}function un(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function sn(t){return t*t*t}function cn(t){return--t*t*t+1}function ln(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var fn=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),dn=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),hn=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),pn=Math.PI,gn=pn/2;function mn(t){return 1==+t?1:1-Math.cos(t*gn)}function yn(t){return Math.sin(t*gn)}function vn(t){return(1-Math.cos(pn*t))/2}function bn(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function xn(t){return bn(1-+t)}function wn(t){return 1-bn(t)}function Mn(t){return((t*=2)<=1?bn(1-t):2-bn(t-1))/2}function En(t){return 1-Math.sqrt(1-t*t)}function kn(t){return Math.sqrt(1- --t*t)}function An(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var On=7.5625;function jn(t){return 1-Sn(1-t)}function Sn(t){return(t=+t)<.36363636363636365?On*t*t:t<.7272727272727273?On*(t-=.5454545454545454)*t+.75:t<.9090909090909091?On*(t-=.8181818181818182)*t+.9375:On*(t-=.9545454545454546)*t+.984375}function Cn(t){return((t*=2)<=1?1-Sn(1-t):Sn(t-1)+1)/2}var Tn=1.70158,Dn=function t(n){function e(t){return(t=+t)*t*(n*(t-1)+t)}return n=+n,e.overshoot=t,e}(Tn),Nn=function t(n){function e(t){return--t*t*((t+1)*n+t)+1}return n=+n,e.overshoot=t,e}(Tn),_n=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(Tn),Pn=2*Math.PI,$n=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Pn);function o(t){return n*bn(- --t)*Math.sin((r-t)/e)}return o.amplitude=function(n){return t(n,e*Pn)},o.period=function(e){return t(n,e)},o}(1,.3),In=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Pn);function o(t){return 1-n*bn(t=+t)*Math.sin((t+r)/e)}return o.amplitude=function(n){return t(n,e*Pn)},o.period=function(e){return t(n,e)},o}(1,.3),Un=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Pn);function o(t){return((t=2*t-1)<0?n*bn(-t)*Math.sin((r-t)/e):2-n*bn(t)*Math.sin((r+t)/e))/2}return o.amplitude=function(n){return t(n,e*Pn)},o.period=function(e){return t(n,e)},o}(1,.3),Ln=r(4143),Wn=r.n(Ln),Fn=r(3849),zn=r.n(Fn);function Hn(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function Rn(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function Yn(){}var qn=.7,Bn=1/qn,Vn="\\s*([+-]?\\d+)\\s*",Kn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Gn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Xn=/^#([0-9a-f]{3,8})$/,Zn=new RegExp(`^rgb\\(${Vn},${Vn},${Vn}\\)$`),Qn=new RegExp(`^rgb\\(${Gn},${Gn},${Gn}\\)$`),Jn=new RegExp(`^rgba\\(${Vn},${Vn},${Vn},${Kn}\\)$`),te=new RegExp(`^rgba\\(${Gn},${Gn},${Gn},${Kn}\\)$`),ne=new RegExp(`^hsl\\(${Kn},${Gn},${Gn}\\)$`),ee=new RegExp(`^hsla\\(${Kn},${Gn},${Gn},${Kn}\\)$`),re={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 oe(){return this.rgb().formatHex()}function ie(){return this.rgb().formatRgb()}function ae(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=Xn.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?ue(n):3===e?new fe(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?se(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?se(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=Zn.exec(t))?new fe(n[1],n[2],n[3],1):(n=Qn.exec(t))?new fe(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Jn.exec(t))?se(n[1],n[2],n[3],n[4]):(n=te.exec(t))?se(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=ne.exec(t))?ye(n[1],n[2]/100,n[3]/100,1):(n=ee.exec(t))?ye(n[1],n[2]/100,n[3]/100,n[4]):re.hasOwnProperty(t)?ue(re[t]):"transparent"===t?new fe(NaN,NaN,NaN,0):null}function ue(t){return new fe(t>>16&255,t>>8&255,255&t,1)}function se(t,n,e,r){return r<=0&&(t=n=e=NaN),new fe(t,n,e,r)}function ce(t){return t instanceof Yn||(t=ae(t)),t?new fe((t=t.rgb()).r,t.g,t.b,t.opacity):new fe}function le(t,n,e,r){return 1===arguments.length?ce(t):new fe(t,n,e,null==r?1:r)}function fe(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function de(){return`#${me(this.r)}${me(this.g)}${me(this.b)}`}function he(){const t=pe(this.opacity);return`${1===t?"rgb(":"rgba("}${ge(this.r)}, ${ge(this.g)}, ${ge(this.b)}${1===t?")":`, ${t})`}`}function pe(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function ge(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function me(t){return((t=ge(t))<16?"0":"")+t.toString(16)}function ye(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new be(t,n,e,r)}function ve(t){if(t instanceof be)return new be(t.h,t.s,t.l,t.opacity);if(t instanceof Yn||(t=ae(t)),!t)return new be;if(t instanceof be)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,o=Math.min(n,e,r),i=Math.max(n,e,r),a=NaN,u=i-o,s=(i+o)/2;return u?(a=n===i?(e-r)/u+6*(e<r):e===i?(r-n)/u+2:(n-e)/u+4,u/=s<.5?i+o:2-i-o,a*=60):u=s>0&&s<1?0:a,new be(a,u,s,t.opacity)}function be(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function xe(t){return(t=(t||0)%360)<0?t+360:t}function we(t){return Math.max(0,Math.min(1,t||0))}function Me(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function Ee(t,n,e,r,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*n+(4-6*i+3*a)*e+(1+3*t+3*i-3*a)*r+a*o)/6}Hn(Yn,ae,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:oe,formatHex:oe,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return ve(this).formatHsl()},formatRgb:ie,toString:ie}),Hn(fe,le,Rn(Yn,{brighter(t){return t=null==t?Bn:Math.pow(Bn,t),new fe(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?qn:Math.pow(qn,t),new fe(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new fe(ge(this.r),ge(this.g),ge(this.b),pe(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:de,formatHex:de,formatHex8:function(){return`#${me(this.r)}${me(this.g)}${me(this.b)}${me(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:he,toString:he})),Hn(be,(function(t,n,e,r){return 1===arguments.length?ve(t):new be(t,n,e,null==r?1:r)}),Rn(Yn,{brighter(t){return t=null==t?Bn:Math.pow(Bn,t),new be(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?qn:Math.pow(qn,t),new be(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,o=2*e-r;return new fe(Me(t>=240?t-240:t+120,o,r),Me(t,o,r),Me(t<120?t+240:t-120,o,r),this.opacity)},clamp(){return new be(xe(this.h),we(this.s),we(this.l),pe(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=pe(this.opacity);return`${1===t?"hsl(":"hsla("}${xe(this.h)}, ${100*we(this.s)}%, ${100*we(this.l)}%${1===t?")":`, ${t})`}`}}));var ke=t=>()=>t;function Ae(t,n){var e=n-t;return e?function(t,n){return function(e){return t+e*n}}(t,e):ke(isNaN(t)?n:t)}var Oe=function t(n){var e=function(t){return 1==(t=+t)?Ae:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):ke(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=le(t)).r,(n=le(n)).r),o=e(t.g,n.g),i=e(t.b,n.b),a=Ae(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=o(n),t.b=i(n),t.opacity=a(n),t+""}}return r.gamma=t,r}(1);function je(t){return function(n){var e,r,o=n.length,i=new Array(o),a=new Array(o),u=new Array(o);for(e=0;e<o;++e)r=le(n[e]),i[e]=r.r||0,a[e]=r.g||0,u[e]=r.b||0;return i=t(i),a=t(a),u=t(u),r.opacity=1,function(t){return r.r=i(t),r.g=a(t),r.b=u(t),r+""}}}function Se(t,n){var e,r=n?n.length:0,o=t?Math.min(r,t.length):0,i=new Array(o),a=new Array(r);for(e=0;e<o;++e)i[e]=Ie(t[e],n[e]);for(;e<r;++e)a[e]=n[e];return function(t){for(e=0;e<o;++e)a[e]=i[e](t);return a}}function Ce(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}function Te(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}function De(t,n){var e,r={},o={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?r[e]=Ie(t[e],n[e]):o[e]=n[e];return function(t){for(e in r)o[e]=r[e](t);return o}}je((function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),o=t[r],i=t[r+1],a=r>0?t[r-1]:2*o-i,u=r<n-1?t[r+2]:2*i-o;return Ee((e-r/n)*n,a,o,i,u)}})),je((function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),o=t[(r+n-1)%n],i=t[r%n],a=t[(r+1)%n],u=t[(r+2)%n];return Ee((e-r/n)*n,o,i,a,u)}}));var Ne=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,_e=new RegExp(Ne.source,"g");function Pe(t,n){var e,r,o,i=Ne.lastIndex=_e.lastIndex=0,a=-1,u=[],s=[];for(t+="",n+="";(e=Ne.exec(t))&&(r=_e.exec(n));)(o=r.index)>i&&(o=n.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(e=e[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:Te(e,r)})),i=_e.lastIndex;return i<n.length&&(o=n.slice(i),u[a]?u[a]+=o:u[++a]=o),u.length<2?s[0]?function(t){return function(n){return t(n)+""}}(s[0].x):function(t){return function(){return t}}(n):(n=s.length,function(t){for(var e,r=0;r<n;++r)u[(e=s[r]).i]=e.x(t);return u.join("")})}function $e(t,n){n||(n=[]);var e,r=t?Math.min(n.length,t.length):0,o=n.slice();return function(i){for(e=0;e<r;++e)o[e]=t[e]*(1-i)+n[e]*i;return o}}function Ie(t,n){var e,r,o=typeof n;return null==n||"boolean"===o?ke(n):("number"===o?Te:"string"===o?(e=ae(n))?(n=e,Oe):Pe:n instanceof ae?Oe:n instanceof Date?Ce:(r=n,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(n)?Se:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?De:Te:$e))(t,n)}const Ue=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)||zn()(t)}return!1},Le=function(t,n,e){return void 0===e&&(e=0),function(r){return r<e?t:n}},We=function(t,n){return function(e){return e>=1?n:function(){const r="function"==typeof t?t.apply(this,arguments):t,o="function"==typeof n?n.apply(this,arguments):n;return Ie(r,o)(e)}}},Fe=function(t,n){const e=t=>Array.isArray(t)?Wn()(t,"key"):t,r={},o={};let i,a=t,u=n;for(i in null!==a&&"object"==typeof a||(a={}),null!==u&&"object"==typeof u||(u={}),u)i in a?r[i]=(s=e(a[i]))!==(c=e(u[i]))&&Ue(s)&&Ue(c)?"function"==typeof s||"function"==typeof c?We(s,c):"object"==typeof s&&zn()(s)||"object"==typeof c&&zn()(c)?Fe(s,c):Ie(s,c):Le(s,c):o[i]=u[i];var s,c;return function(t){for(i in r)o[i]=r[i](t);return o}},ze=1e3,He=n=>{let{duration:e=ze,easing:r="quadInOut",delay:o=0,data:a,children:u,onEnd:s}=n;const[c,l]=i().useState({data:Array.isArray(a)?a[0]:a,animationInfo:{progress:0,animating:!1}}),f=i().useContext(_).animationTimer,d=i().useRef(Array.isArray(a)?a.slice(1):[]),h=i().useRef(null),p=i().useRef(void 0),g=t[(m=r,`ease${m.charAt(0).toUpperCase()+m.slice(1)}`)];var m;i().useEffect((()=>(d.current.length&&y(),()=>{p.current?f.unsubscribe(p.current):f.stop()})),[]),i().useEffect((()=>{h.current&&c.animationInfo&&c.animationInfo.progress<1?l({data:h.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}):(f.unsubscribe(p.current),d.current=Array.isArray(a)?a:[a],y())}),[a]);const y=()=>{if(d.current.length){const r=d.current[0];h.current=(t=c.data)!==(n=r)&&Ue(t)&&Ue(n)?"function"==typeof t||"function"==typeof n?We(t,n):zn()(t)||zn()(n)?Fe(t,n):"string"==typeof t||"string"==typeof n?function(t,n){const e=t=>"string"==typeof t?t.replace(/,/g,""):t;return Ie(e(t),e(n))}(t,n):Ie(t,n):Le(t,n),o?setTimeout((()=>{p.current=f.subscribe(v,e)}),o):p.current=f.subscribe(v,e)}else s&&s();var t,n},v=t=>{if(!h.current)return;const n=e?t/e:1;if(n>=1)return l({data:h.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),p.current&&f.unsubscribe(p.current),d.current.shift(),void y();l({data:h.current(g(n)),animationInfo:{progress:n,animating:n<1}})};return u(c.data,c.animationInfo)};function Re(t){return Array.isArray(t)&&t.some((t=>t instanceof Date))}function Ye(t,n){return t&&n?t.filter((t=>!n.includes(t))):[]}function qe(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];const o=t.concat(e);return Re(o)?new Date(Math.max(...o)):Math.max(...o)}function Be(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];const o=t.concat(e);return Re(o)?new Date(Math.min(...o)):Math.min(...o)}var Ve=r(5346),Ke=r.n(Ve);function Ge(t,n){return(t.key||n).toString()}function Xe(t){return t.reduce(((t,n,e)=>(t[Ge(n,e)]=n,t)),{})}function Ze(t,n){let e=!1;const r=Object.keys(t).reduce(((t,r)=>(r in n||(e=!0,t[r]=!0),t)),{});return e&&r}function Qe(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function Je(t,n){let e=!1,r=!1;const o=(t,n)=>t.map(((a,u)=>a&&a.props&&a.props.children&&n[u]?o(i().Children.toArray(t[u].props.children),i().Children.toArray(n[u].props.children)):((t,n)=>{if(!n||t.type!==n.type)return{};const{entering:o,exiting:i}=function(t,n){const e=t&&Xe(t),r=n&&Xe(n);return{entering:e&&Ze(r,e),exiting:r&&Ze(e,r)}}(Qe(t),Qe(n))||{};return e=e||!!i,r=r||!!o,{entering:o||!1,exiting:i||!1}})(a,n[u]))),a=o(i().Children.toArray(t),i().Children.toArray(n));return{nodesWillExit:e,nodesWillEnter:r,childrenTransitions:a,nodesShouldEnter:!1}}function tr(t,n,e){const r=n&&n.nodesWillExit,o=n&&n.nodesWillEnter,i=n&&n.nodesShouldEnter,a=n&&n.nodesShouldLoad,u=n&&n.nodesDoneLoad,s=n&&n.childrenTransitions||[],c={enter:t.animate&&t.animate.onEnter&&t.animate.onEnter.duration,exit:t.animate&&t.animate.onExit&&t.animate.onExit.duration,load:t.animate&&t.animate.onLoad&&t.animate.onLoad.duration,move:t.animate&&t.animate.duration},l=(t,n,r)=>a?function(t,n,r){const o=Object.assign({},t,{onEnd:()=>{e({nodesShouldLoad:!1,nodesDoneLoad:!0})}});let i=n;if(o&&o.onLoad&&!o.onLoad.duration)return{animate:t,data:n};const a=t.onLoad&&t.onLoad.after?t.onLoad.after:Ke();return i=n.map(((t,e)=>Object.assign({},t,a(t,e,n)))),{animate:o,data:i}}(r,n):function(t,n,r,o){const i=Object.assign({},t,{onEnd:()=>{e({nodesDoneLoad:!0})}});if(i&&i.onLoad&&!i.onLoad.duration)return{animate:i,data:r};const a=i.onLoad&&i.onLoad.before?i.onLoad.before:Ke();return{animate:i,data:r.map(((t,n)=>Object.assign({},t,a(t,n,r)))),clipWidth:0}}(r,0,n),d=(t,n,r,o)=>function(t,n,r,o,i){const a=t&&t.onExit,u=Object.assign({},t,a);let s=r;if(o){t.onEnd=()=>{e({nodesWillExit:!1})};const n=t.onExit&&t.onExit.before?t.onExit.before:Ke();s=r.map(((t,e)=>{const i=(t.key||e).toString();return o[i]?Object.assign({},t,n(t,e,r)):t}))}return{animate:u,data:s}}(o,0,r,t),h=(t,n,r,o)=>i?function(t,n,r,o){const i=t&&t.onEnter,a=Object.assign({},t,i);let u=n;if(r){a.onEnd=()=>{e({nodesWillEnter:!1})};const t=a.onEnter&&a.onEnter.after?a.onEnter.after:Ke();u=n.map(((e,o)=>{const i=Ge(e,o);return r[i]?Object.assign({},e,t(e,o,n)):e}))}return{animate:a,data:u}}(o,r,t):function(t,n,r,o,i){let a=t,u=r;if(o){a=Object.assign({},t,{onEnd:()=>{e({nodesShouldEnter:!0})}});const n=t.onEnter&&t.onEnter.before?t.onEnter.before:Ke();u=r.map(((t,e)=>{const i=(t.key||e).toString();return o[i]?Object.assign({},t,n(t,e,r)):t}))}return{animate:a,data:u}}(o,0,r,t),p=function(t,n){const e=t.props.animate;if(!t.type)return{};const r=t.props&&t.props.polar&&t.type.defaultPolarTransitions||t.type.defaultTransitions;if(r){const t=e[n]&&e[n].duration;return void 0!==t?t:r[n]&&r[n].duration}return{}};return function(e,a){const g=Qe(e)||[],m=f()({},t.animate,e.props.animate),y=e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;m.onExit=f()({},m.onExit,y&&y.onExit),m.onEnter=f()({},m.onEnter,y&&y.onEnter),m.onLoad=f()({},m.onLoad,y&&y.onLoad);const v=s[a]||s[0];if(!u){const t={duration:void 0!==c.load?c.load:p(e,"onLoad")};return l(0,g,Object.assign({},m,t))}if(r){const t=v&&v.exiting,n=void 0!==c.exit?c.exit:p(e,"onExit"),r=t?{duration:n}:{delay:n};return d(t,0,g,Object.assign({},m,r))}if(o){const t=v&&v.entering,n=void 0!==c.enter?c.enter:p(e,"onEnter"),r=void 0!==c.move?c.move:e.props.animate&&e.props.animate.duration,o={duration:i&&t?n:r};return h(t,0,g,Object.assign({},m,o))}return!n&&m&&m.onExit?function(t,n){const e=t.onEnter&&t.onEnter.after?t.onEnter.after:Ke();return{data:n.map(((t,r)=>Object.assign({},t,e(t,r,n))))}}(m,g):{animate:m,data:g}}}function nr(){return nr=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},nr.apply(this,arguments)}class er extends i().Component{static displayName="VictoryTransition";static contextType=_;constructor(t,n){super(t,n),this.state={nodesShouldLoad:!1,nodesDoneLoad:!1};const e=this.props.children,r=e.props.polar;this.continuous=!r&&e.type&&!0===e.type.continuous,this.timer=this.context.transitionTimer}componentDidMount(){this.setState({nodesShouldLoad:!0})}shouldComponentUpdate(t){return en()(this.props,t)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,t),(()=>this.timer.resumeAnimation()))),!0}componentWillUnmount(){this.timer.stop()}getTransitionState(t,n){const{animate:e}=t;if(!e)return{};if(e.parentState)return{oldProps:e.parentState.nodesWillExit?t:null,nextProps:n};const r=i().Children.toArray(t.children),o=i().Children.toArray(n.children),{nodesWillExit:a,nodesWillEnter:u,childrenTransitions:s,nodesShouldEnter:c}=Je(r,o);return{nodesWillExit:a,nodesWillEnter:u,childrenTransitions:s,nodesShouldEnter:c,oldProps:a?t:null,nextProps:n}}getDomainFromChildren(t,n){const e=t=>t.reduce(((t,r)=>{if(r.type&&G(r.type.getDomain)){const e=r.props&&r.type.getDomain(r.props,n);return e?t.concat(e):t}return r.props&&r.props.children?t.concat(e(i().Children.toArray(r.props.children))):t}),[]),r=i().Children.toArray(t.children)[0],o=r.props||{},a=Array.isArray(o.domain)?o.domain:o.domain&&o.domain[n];if(!o.children&&a)return a;const u=e([r]);return 0===u.length?[0,1]:[Be(u),qe(u)]}pickProps(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}pickDomainProps(t){const n=t.animate?.parentState;return n&&n.nodesWillExit?(this.continuous||n.continuous)&&(n.nextProps||this.state.nextProps)||t:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||t}getClipWidth(t,n){const e=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==e?e:(()=>{const e=V(n.props,"x");return e?Math.abs(e[1]-e[0]):t.width})()}render(){const t=this.pickProps(),n=this.props.animate?.getTransitions?this.props.animate.getTransitions:tr(t,this.state,(t=>this.setState(t))),e=i().Children.toArray(t.children)[0],r=n(e);this.transitionProps=r;const o={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},a=this.getClipWidth(t,e),u=f()({domain:o,clipWidth:a},r,e.props),s=(t.animationWhitelist||[]).concat(["clipWidth"]),c=s.length?$()(u,s):u;return i().createElement(He,nr({},u.animate,{data:c}),(t=>{if(e.props.groupComponent){const n=this.continuous?i().cloneElement(e.props.groupComponent,{clipWidth:t.clipWidth||0}):e.props.groupComponent;return i().cloneElement(e,f()({animate:null,animating:!0,groupComponent:n},t,u))}return i().cloneElement(e,f()({animate:null,animating:!0},t,u))}))}}var rr=r(9602),or=r.n(rr),ir=r(1616),ar=r.n(ir),ur=r(4912),sr=r.n(ur);const cr=/^onGlobal(.*)$/;function lr(t,n,e,r){const o=t=>{const r=(()=>{const r=t.reduce(((t,e)=>void 0!==e.target?(Array.isArray(e.target)?e.target.includes(n):`${e.target}`==`${n}`)?t.concat(e):t:t.concat(e)),[]);return void 0!==e&&"parent"!==n?r.filter((t=>{const n=t.eventKey,r=t=>!t||`${t}`==`${e}`;return Array.isArray(n)?n.some((t=>r(t))):r(n)})):r})();return Array.isArray(r)&&r.reduce(((t,n)=>n?Object.assign(t,n.eventHandlers):t),{})},i=(()=>Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events)(),a=i&&G(r)?r(o(i),n):void 0;if(!t.sharedEvents)return a;const u=t.sharedEvents.getEvents,s=t.sharedEvents.events&&u(o(t.sharedEvents.events),n);return Object.assign({},s,a)}function fr(t,n,e,r){if(rt()(t))return{};const o=r||this.baseProps,i=(t,n)=>{const{childName:e,target:r,key:i}=t,a="props"===n?o:this.state||{},u=null!=e&&a[e]?a[e]:a;return"parent"===i?u.parent:u[i]&&u[i][r]},a=(t,r)=>{const a="parent"===n?t.childName:t.childName||e,u=t.target||n,s=(n,e)=>{const r=this.state||{};if(!G(t.mutation))return r;const a=i({childName:e,key:n,target:u},"props"),s=i({childName:e,key:n,target:u},"state"),c=t.mutation(Object.assign({},a,s),o),l=r[e]||{},f=t=>c?(t=>"parent"===u?Object.assign(t,{[n]:Object.assign(t[n]||{},c)}):Object.assign(t,{[n]:Object.assign(t[n]||{},{[u]:c})}))(t):(t=>(t[n]&&t[n][u]&&delete t[n][u],t[n]&&!Object.keys(t[n]).length&&delete t[n],t))(t);return null!=e?Object.assign(r,{[e]:f(l)}):f(r)},c=n=>{const e=(n=>"parent"===u?"parent":"all"===t.eventKey?o[n]?Object.keys(o[n]).filter((t=>"parent"!==t)):Object.keys(o).filter((t=>"parent"!==t)):void 0===t.eventKey&&"parent"===r?o[n]?Object.keys(o[n]):Object.keys(o):void 0!==t.eventKey?t.eventKey:r)(n);return Array.isArray(e)?e.reduce(((t,e)=>Object.assign(t,s(e,n))),{}):s(e,n)},l="all"===a?Object.keys(o).filter((t=>"parent"!==t)):a;return Array.isArray(l)?l.reduce(((t,n)=>Object.assign(t,c(n))),{}):c(l)},u=(n,e,r,o)=>{const i=t[o](n,e,r,this);if(!rt()(i)){const t=(t=>{const n=t=>G(t.callback)&&t.callback,e=(Array.isArray(t)?t.map((t=>n(t))):[n(t)]).filter((t=>!1!==t));return e.length?()=>e.forEach((t=>t())):void 0})(i);this.setState(((t,n)=>Array.isArray(t)?t.reduce(((t,e)=>Object.assign({},t,a(e,n))),{}):a(t,n))(i,r),t)}};return Object.keys(t).reduce(((t,n)=>(t[n]=u,t)),{})}function dr(t,n,e){const r=this.state||{};return e?r[e]&&r[e][t]&&r[e][t][n]:"parent"===t?r[t]&&r[t][n]||r[t]:r[t]&&r[t][n]}function hr(t,n,e,r){const o=(t,n)=>"string"==typeof t[n]?"all"===t[n]||t[n]===r[n]:!!Array.isArray(t[n])&&t[n].map((t=>`${t}`)).includes(r[n]);let i=Array.isArray(t)?t:[t];r.childName&&(i=t.filter((t=>o(t,"childName"))));const a=i.filter((t=>o(t,"target")));if(rt()(a))return;const u=a.filter((t=>o(t,"eventKey")));return rt()(u)?void 0:u.reduce(((t,r)=>{const o=(r&&G(r.mutation)?r.mutation:()=>{})(Object.assign({},n,e));return Object.assign({},t,o)}),{})}function pr(t){const n=t.match(cr);return n&&n[1]&&n[1].toLowerCase()}const gr=t=>!K(t._x)&&!K(t._y),mr=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];function yr(){return yr=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},yr.apply(this,arguments)}const vr=(0,e.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:o,origin:a,...u}=t,s={vectorEffect:"non-scaling-stroke",id:R(r,t)?.toString(),tabIndex:R(o,t),...u};return e?i().createElement("line",yr({},s,{ref:n}),i().createElement("desc",null,e)):i().createElement("line",yr({},s,{ref:n}))})),br=(t,n,e)=>{const r="right"===e||"left"===e;return i().cloneElement(t.lineComponent,{...t.events,role:t.role,shapeRendering:t.shapeRendering,className:t.className,style:t.style,transform:t.transform,key:`${t.id}-border-${e}`,x1:r?n[e]:t.x-t.borderWidth,x2:r?n[e]:t.x+t.borderWidth,y1:r?t.y-t.borderWidth:n[e],y2:r?t.y+t.borderWidth:n[e],"data-type":`border-${e}`})},xr=(t,n,e)=>{const r="top"===e||"bottom"===e;return i().cloneElement(t.lineComponent,{...t.events,role:t.role,shapeRendering:t.shapeRendering,className:t.className,style:t.style,transform:t.transform,key:`${t.id}-cross-${e}`,x1:t.x,x2:r?t.x:n[e],y1:t.y,y2:r?n[e]:t.y,"data-type":`cross-${e}`})},wr={groupComponent:i().createElement("g",null),lineComponent:i().createElement(vr,null),role:"presentation",shapeRendering:"auto"},Mr=t=>{const n=(t=>{const n=R(t.ariaLabel,t),e=R(t.id,t),r=Y(Object.assign({stroke:"black"},t.style),t),o=R(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,id:e,style:r,tabIndex:o})})({...wr,...t}),{groupComponent:e}=n,r=J(n),{tabIndex:o,ariaLabel:a}=n,u=(t=>{const{errorX:n,errorY:e}=t,r={right:{error:n,errorIndex:0},left:{error:n,errorIndex:1},top:{error:e,errorIndex:1},bottom:{error:e,errorIndex:0}};return["right","left","top","bottom"].reduce(((t,n)=>(t[n]=(t=>{const{error:n,errorIndex:e}=r[t];return n?n[e]:void 0})(n),t)),{})})(n),s=[u.right?br(n,u,"right"):null,u.left?br(n,u,"left"):null,u.bottom?br(n,u,"bottom"):null,u.top?br(n,u,"top"):null,u.right?xr(n,u,"right"):null,u.left?xr(n,u,"left"):null,u.bottom?xr(n,u,"bottom"):null,u.top?xr(n,u,"top"):null].filter(Boolean);return i().cloneElement(e,{tabIndex:o,"aria-label":a,...r},s)};var Er=r(156),kr=r.n(Er),Ar=(r(8999),r(8254)),Or=r.n(Ar);function jr(t,n,e){t=+t,n=+n,e=(o=arguments.length)<2?(n=t,t=0,1):o<3?1:+e;for(var r=-1,o=0|Math.max(0,Math.ceil((n-t)/e)),i=new Array(o);++r<o;)i[r]=t+r*e;return i}function Sr(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function Cr(t,n){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof n?this.interpolator(n):this.range(n)}return this}class Tr extends Map{constructor(t,n=Nr){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const[n,e]of t)this.set(n,e)}get(t){return super.get(Dr(this,t))}has(t){return super.has(Dr(this,t))}set(t,n){return super.set(function({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):(t.set(r,e),e)}(this,t),n)}delete(t){return super.delete(function({_intern:t,_key:n},e){const r=n(e);return t.has(r)&&(e=t.get(r),t.delete(r)),e}(this,t))}}function Dr({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function Nr(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;const _r=Symbol("implicit");function Pr(){var t=new Tr,n=[],e=[],r=_r;function o(o){let i=t.get(o);if(void 0===i){if(r!==_r)return r;t.set(o,i=n.push(o)-1)}return e[i%e.length]}return o.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new Tr;for(const r of e)t.has(r)||t.set(r,n.push(r)-1);return o},o.range=function(t){return arguments.length?(e=Array.from(t),o):e.slice()},o.unknown=function(t){return arguments.length?(r=t,o):r},o.copy=function(){return Pr(n,e).unknown(r)},Sr.apply(o,arguments),o}function $r(){var t,n,e=Pr().unknown(void 0),r=e.domain,o=e.range,i=0,a=1,u=!1,s=0,c=0,l=.5;function f(){var e=r().length,f=a<i,d=f?a:i,h=f?i:a;t=(h-d)/Math.max(1,e-s+2*c),u&&(t=Math.floor(t)),d+=(h-d-t*(e-s))*l,n=t*(1-s),u&&(d=Math.round(d),n=Math.round(n));var p=jr(e).map((function(n){return d+t*n}));return o(f?p.reverse():p)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),f()):r()},e.range=function(t){return arguments.length?([i,a]=t,i=+i,a=+a,f()):[i,a]},e.rangeRound=function(t){return[i,a]=t,i=+i,a=+a,u=!0,f()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(u=!!t,f()):u},e.padding=function(t){return arguments.length?(s=Math.min(1,c=+t),f()):s},e.paddingInner=function(t){return arguments.length?(s=Math.min(1,t),f()):s},e.paddingOuter=function(t){return arguments.length?(c=+t,f()):c},e.align=function(t){return arguments.length?(l=Math.max(0,Math.min(1,t)),f()):l},e.copy=function(){return $r(r(),[i,a]).round(u).paddingInner(s).paddingOuter(c).align(l)},Sr.apply(f(),arguments)}function Ir(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return Ir(n())},t}function Ur(){return Ir($r.apply(null,arguments).paddingInner(1))}var Lr=Math.sqrt(50),Wr=Math.sqrt(10),Fr=Math.sqrt(2);function zr(t,n,e){var r,o,i,a,u=-1;if(e=+e,(t=+t)==(n=+n)&&e>0)return[t];if((r=n<t)&&(o=t,t=n,n=o),0===(a=Hr(t,n,e))||!isFinite(a))return[];if(a>0){let e=Math.round(t/a),r=Math.round(n/a);for(e*a<t&&++e,r*a>n&&--r,i=new Array(o=r-e+1);++u<o;)i[u]=(e+u)*a}else{a=-a;let e=Math.round(t*a),r=Math.round(n*a);for(e/a<t&&++e,r/a>n&&--r,i=new Array(o=r-e+1);++u<o;)i[u]=(e+u)/a}return r&&i.reverse(),i}function Hr(t,n,e){var r=(n-t)/Math.max(0,e),o=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,o);return o>=0?(i>=Lr?10:i>=Wr?5:i>=Fr?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=Lr?10:i>=Wr?5:i>=Fr?2:1)}function Rr(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=Lr?o*=10:i>=Wr?o*=5:i>=Fr&&(o*=2),n<t?-o:o}function Yr(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function qr(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function Br(t){let n,e,r;function o(t,r,o=0,i=t.length){if(o<i){if(0!==n(r,r))return i;do{const n=o+i>>>1;e(t[n],r)<0?o=n+1:i=n}while(o<i)}return o}return 2!==t.length?(n=Yr,e=(n,e)=>Yr(t(n),e),r=(n,e)=>t(n)-e):(n=t===Yr||t===qr?t:Vr,e=t,r=t),{left:o,center:function(t,n,e=0,i=t.length){const a=o(t,n,e,i-1);return a>e&&r(t[a-1],n)>-r(t[a],n)?a-1:a},right:function(t,r,o=0,i=t.length){if(o<i){if(0!==n(r,r))return i;do{const n=o+i>>>1;e(t[n],r)<=0?o=n+1:i=n}while(o<i)}return o}}}function Vr(){return 0}function Kr(t){return null===t?NaN:+t}const Gr=Br(Yr),Xr=Gr.right;Gr.left,Br(Kr).center;var Zr=Xr;function Qr(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function Jr(t){return+t}var to=[0,1];function no(t){return t}function eo(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:(e=isNaN(n)?NaN:.5,function(){return e});var e}function ro(t,n,e){var r=t[0],o=t[1],i=n[0],a=n[1];return o<r?(r=eo(o,r),i=e(a,i)):(r=eo(r,o),i=e(i,a)),function(t){return i(r(t))}}function oo(t,n,e){var r=Math.min(t.length,n.length)-1,o=new Array(r),i=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<r;)o[a]=eo(t[a],t[a+1]),i[a]=e(n[a],n[a+1]);return function(n){var e=Zr(t,n,1,r)-1;return i[e](o[e](n))}}function io(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function ao(){var t,n,e,r,o,i,a=to,u=to,s=Ie,c=no;function l(){var t,n,e,s=Math.min(a.length,u.length);return c!==no&&(t=a[0],n=a[s-1],t>n&&(e=t,t=n,n=e),c=function(e){return Math.max(t,Math.min(n,e))}),r=s>2?oo:ro,o=i=null,f}function f(n){return null==n||isNaN(n=+n)?e:(o||(o=r(a.map(t),u,s)))(t(c(n)))}return f.invert=function(e){return c(n((i||(i=r(u,a.map(t),Te)))(e)))},f.domain=function(t){return arguments.length?(a=Array.from(t,Jr),l()):a.slice()},f.range=function(t){return arguments.length?(u=Array.from(t),l()):u.slice()},f.rangeRound=function(t){return u=Array.from(t),s=Qr,l()},f.clamp=function(t){return arguments.length?(c=!!t||no,l()):c!==no},f.interpolate=function(t){return arguments.length?(s=t,l()):s},f.unknown=function(t){return arguments.length?(e=t,f):e},function(e,r){return t=e,n=r,l()}}function uo(){return ao()(no,no)}var so,co=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function lo(t){if(!(n=co.exec(t)))throw new Error("invalid format: "+t);var n;return new fo({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function fo(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function ho(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}function po(t){return(t=ho(Math.abs(t)))?t[1]:NaN}function go(t,n){var e=ho(t,n);if(!e)return t+"";var r=e[0],o=e[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}lo.prototype=fo.prototype,fo.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var mo={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>go(100*t,n),r:go,s:function(t,n){var e=ho(t,n);if(!e)return t+"";var r=e[0],o=e[1],i=o-(so=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+ho(t,Math.max(0,n+i-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function yo(t){return t}var vo,bo,xo,wo=Array.prototype.map,Mo=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Eo(t,n,e,r){var o,i=Rr(t,n,e);switch((r=lo(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(o=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(po(n)/3)))-po(Math.abs(t)))}(i,a))||(r.precision=o),xo(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,po(n)-po(t))+1}(i,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(t){return Math.max(0,-po(Math.abs(t)))}(i))||(r.precision=o-2*("%"===r.type))}return bo(r)}function ko(t){var n=t.domain;return t.ticks=function(t){var e=n();return zr(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return Eo(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,o,i=n(),a=0,u=i.length-1,s=i[a],c=i[u],l=10;for(c<s&&(o=s,s=c,c=o,o=a,a=u,u=o);l-- >0;){if((o=Hr(s,c,e))===r)return i[a]=s,i[u]=c,n(i);if(o>0)s=Math.floor(s/o)*o,c=Math.ceil(c/o)*o;else{if(!(o<0))break;s=Math.ceil(s*o)/o,c=Math.floor(c*o)/o}r=o}return t},t}function Ao(){var t=uo();return t.copy=function(){return io(t,Ao())},Sr.apply(t,arguments),ko(t)}function Oo(t){var n;function e(t){return null==t||isNaN(t=+t)?n:t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=Array.from(n,Jr),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return Oo(t).unknown(n)},t=arguments.length?Array.from(t,Jr):[0,1],ko(e)}function jo(t,n){var e,r=0,o=(t=t.slice()).length-1,i=t[r],a=t[o];return a<i&&(e=r,r=o,o=e,e=i,i=a,a=e),t[r]=n.floor(i),t[o]=n.ceil(a),t}function So(t){return Math.log(t)}function Co(t){return Math.exp(t)}function To(t){return-Math.log(-t)}function Do(t){return-Math.exp(-t)}function No(t){return isFinite(t)?+("1e"+t):t<0?0:t}function _o(t){return(n,e)=>-t(-n,e)}function Po(t){const n=t(So,Co),e=n.domain;let r,o,i=10;function a(){return r=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),n=>Math.log(n)/t)}(i),o=function(t){return 10===t?No:t===Math.E?Math.exp:n=>Math.pow(t,n)}(i),e()[0]<0?(r=_o(r),o=_o(o),t(To,Do)):t(So,Co),n}return n.base=function(t){return arguments.length?(i=+t,a()):i},n.domain=function(t){return arguments.length?(e(t),a()):e()},n.ticks=t=>{const n=e();let a=n[0],u=n[n.length-1];const s=u<a;s&&([a,u]=[u,a]);let c,l,f=r(a),d=r(u);const h=null==t?10:+t;let p=[];if(!(i%1)&&d-f<h){if(f=Math.floor(f),d=Math.ceil(d),a>0){for(;f<=d;++f)for(c=1;c<i;++c)if(l=f<0?c/o(-f):c*o(f),!(l<a)){if(l>u)break;p.push(l)}}else for(;f<=d;++f)for(c=i-1;c>=1;--c)if(l=f>0?c/o(-f):c*o(f),!(l<a)){if(l>u)break;p.push(l)}2*p.length<h&&(p=zr(a,u,h))}else p=zr(f,d,Math.min(d-f,h)).map(o);return s?p.reverse():p},n.tickFormat=(t,e)=>{if(null==t&&(t=10),null==e&&(e=10===i?"s":","),"function"!=typeof e&&(i%1||null!=(e=lo(e)).precision||(e.trim=!0),e=bo(e)),t===1/0)return e;const a=Math.max(1,i*t/n.ticks().length);return t=>{let n=t/o(Math.round(r(t)));return n*i<i-.5&&(n*=i),n<=a?e(t):""}},n.nice=()=>e(jo(e(),{floor:t=>o(Math.floor(r(t))),ceil:t=>o(Math.ceil(r(t)))})),n}function $o(){const t=Po(ao()).domain([1,10]);return t.copy=()=>io(t,$o()).base(t.base()),Sr.apply(t,arguments),t}function Io(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function Uo(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function Lo(t){var n=1,e=t(Io(n),Uo(n));return e.constant=function(e){return arguments.length?t(Io(n=+e),Uo(n)):n},ko(e)}function Wo(){var t=Lo(ao());return t.copy=function(){return io(t,Wo()).constant(t.constant())},Sr.apply(t,arguments)}function Fo(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function zo(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Ho(t){return t<0?-t*t:t*t}function Ro(t){var n=t(no,no),e=1;function r(){return 1===e?t(no,no):.5===e?t(zo,Ho):t(Fo(e),Fo(1/e))}return n.exponent=function(t){return arguments.length?(e=+t,r()):e},ko(n)}function Yo(){var t=Ro(ao());return t.copy=function(){return io(t,Yo()).exponent(t.exponent())},Sr.apply(t,arguments),t}function qo(){return Yo.apply(null,arguments).exponent(.5)}function Bo(t){return Math.sign(t)*t*t}function Vo(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function Ko(){var t,n=uo(),e=[0,1],r=!1;function o(e){var o=Vo(n(e));return isNaN(o)?t:r?Math.round(o):o}return o.invert=function(t){return n.invert(Bo(t))},o.domain=function(t){return arguments.length?(n.domain(t),o):n.domain()},o.range=function(t){return arguments.length?(n.range((e=Array.from(t,Jr)).map(Bo)),o):e.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(r=!!t,o):r},o.clamp=function(t){return arguments.length?(n.clamp(t),o):n.clamp()},o.unknown=function(n){return arguments.length?(t=n,o):t},o.copy=function(){return Ko(n.domain(),e).round(r).clamp(n.clamp()).unknown(t)},Sr.apply(o,arguments),ko(o)}function Go(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e<n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let o of t)null!=(o=n(o,++r,t))&&(e<o||void 0===e&&o>=o)&&(e=o)}return e}function Xo(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e>n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let o of t)null!=(o=n(o,++r,t))&&(e>o||void 0===e&&o>=o)&&(e=o)}return e}function Zo(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}function Qo(t,n,e=0,r=t.length-1,o){for(o=void 0===o?Zo:function(t=Yr){if(t===Yr)return Zo;if("function"!=typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}(o);r>e;){if(r-e>600){const i=r-e+1,a=n-e+1,u=Math.log(i),s=.5*Math.exp(2*u/3),c=.5*Math.sqrt(u*s*(i-s)/i)*(a-i/2<0?-1:1);Qo(t,n,Math.max(e,Math.floor(n-a*s/i+c)),Math.min(r,Math.floor(n+(i-a)*s/i+c)),o)}const i=t[n];let a=e,u=r;for(Jo(t,e,n),o(t[r],i)>0&&Jo(t,e,r);a<u;){for(Jo(t,a,u),++a,--u;o(t[a],i)<0;)++a;for(;o(t[u],i)>0;)--u}0===o(t[e],i)?Jo(t,e,u):(++u,Jo(t,u,r)),u<=n&&(e=u+1),n<=u&&(r=u-1)}return t}function Jo(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function ti(t,n,e){if(t=Float64Array.from(function*(t,n){if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(yield n);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(r=+r)>=r&&(yield r)}}(t,e)),r=t.length){if((n=+n)<=0||r<2)return Xo(t);if(n>=1)return Go(t);var r,o=(r-1)*n,i=Math.floor(o),a=Go(Qo(t,i).subarray(0,i+1));return a+(Xo(t.subarray(i+1))-a)*(o-i)}}function ni(t,n,e=Kr){if(r=t.length){if((n=+n)<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,o=(r-1)*n,i=Math.floor(o),a=+e(t[i],i,t);return a+(+e(t[i+1],i+1,t)-a)*(o-i)}}function ei(){var t,n=[],e=[],r=[];function o(){var t=0,o=Math.max(1,e.length);for(r=new Array(o-1);++t<o;)r[t-1]=ni(n,t/o);return i}function i(n){return null==n||isNaN(n=+n)?t:e[Zr(r,n)]}return i.invertExtent=function(t){var o=e.indexOf(t);return o<0?[NaN,NaN]:[o>0?r[o-1]:n[0],o<r.length?r[o]:n[n.length-1]]},i.domain=function(t){if(!arguments.length)return n.slice();n=[];for(let e of t)null==e||isNaN(e=+e)||n.push(e);return n.sort(Yr),o()},i.range=function(t){return arguments.length?(e=Array.from(t),o()):e.slice()},i.unknown=function(n){return arguments.length?(t=n,i):t},i.quantiles=function(){return r.slice()},i.copy=function(){return ei().domain(n).range(e).unknown(t)},Sr.apply(i,arguments)}function ri(){var t,n=0,e=1,r=1,o=[.5],i=[0,1];function a(n){return null!=n&&n<=n?i[Zr(o,n,0,r)]:t}function u(){var t=-1;for(o=new Array(r);++t<r;)o[t]=((t+1)*e-(t-r)*n)/(r+1);return a}return a.domain=function(t){return arguments.length?([n,e]=t,n=+n,e=+e,u()):[n,e]},a.range=function(t){return arguments.length?(r=(i=Array.from(t)).length-1,u()):i.slice()},a.invertExtent=function(t){var a=i.indexOf(t);return a<0?[NaN,NaN]:a<1?[n,o[0]]:a>=r?[o[r-1],e]:[o[a-1],o[a]]},a.unknown=function(n){return arguments.length?(t=n,a):a},a.thresholds=function(){return o.slice()},a.copy=function(){return ri().domain([n,e]).range(i).unknown(t)},Sr.apply(ko(a),arguments)}function oi(){var t,n=[.5],e=[0,1],r=1;function o(o){return null!=o&&o<=o?e[Zr(n,o,0,r)]:t}return o.domain=function(t){return arguments.length?(n=Array.from(t),r=Math.min(n.length,e.length-1),o):n.slice()},o.range=function(t){return arguments.length?(e=Array.from(t),r=Math.min(n.length,e.length-1),o):e.slice()},o.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},o.unknown=function(n){return arguments.length?(t=n,o):t},o.copy=function(){return oi().domain(n).range(e).unknown(t)},Sr.apply(o,arguments)}vo=function(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?yo:(n=wo.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var o=t.length,i=[],a=0,u=n[0],s=0;o>0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),i.push(t.substring(o-=u,o+u)),!((s+=u+1)>r));)u=n[a=(a+1)%n.length];return i.reverse().join(e)}),o=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?yo:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(wo.call(t.numerals,String)),s=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"−":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function f(t){var n=(t=lo(t)).fill,e=t.align,f=t.sign,d=t.symbol,h=t.zero,p=t.width,g=t.comma,m=t.precision,y=t.trim,v=t.type;"n"===v?(g=!0,v="g"):mo[v]||(void 0===m&&(m=12),y=!0,v="g"),(h||"0"===n&&"="===e)&&(h=!0,n="0",e="=");var b="$"===d?o:"#"===d&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",x="$"===d?i:/[%p]/.test(v)?s:"",w=mo[v],M=/[defgprs%]/.test(v);function E(t){var o,i,s,d=b,E=x;if("c"===v)E=w(t)+E,t="";else{var k=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:w(Math.abs(t),m),y&&(t=function(t){t:for(var n,e=t.length,r=1,o=-1;r<e;++r)switch(t[r]){case".":o=n=r;break;case"0":0===o&&(o=r),n=r;break;default:if(!+t[r])break t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(n+1):t}(t)),k&&0==+t&&"+"!==f&&(k=!1),d=(k?"("===f?f:c:"-"===f||"("===f?"":f)+d,E=("s"===v?Mo[8+so/3]:"")+E+(k&&"("===f?")":""),M)for(o=-1,i=t.length;++o<i;)if(48>(s=t.charCodeAt(o))||s>57){E=(46===s?a+t.slice(o+1):t.slice(o))+E,t=t.slice(0,o);break}}g&&!h&&(t=r(t,1/0));var A=d.length+t.length+E.length,O=A<p?new Array(p-A+1).join(n):"";switch(g&&h&&(t=r(O+t,O.length?p-E.length:1/0),O=""),e){case"<":t=d+t+E+O;break;case"=":t=d+O+t+E;break;case"^":t=O.slice(0,A=O.length>>1)+d+t+E+O.slice(A);break;default:t=O+d+t+E}return u(t)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),E.toString=function(){return t+""},E}return{format:f,formatPrefix:function(t,n){var e=f(((t=lo(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(po(n)/3))),o=Math.pow(10,-r),i=Mo[8+r/3];return function(t){return e(o*t)+i}}}}({thousands:",",grouping:[3],currency:["$",""]}),bo=vo.format,xo=vo.formatPrefix;const ii=1e3,ai=6e4,ui=36e5,si=864e5,ci=6048e5,li=31536e6;var fi=new Date,di=new Date;function hi(t,n,e,r){function o(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return o.floor=function(n){return t(n=new Date(+n)),n},o.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},o.round=function(t){var n=o(t),e=o.ceil(t);return t-n<e-t?n:e},o.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},o.range=function(e,r,i){var a,u=[];if(e=o.ceil(e),i=null==i?1:Math.floor(i),!(e<r&&i>0))return u;do{u.push(a=new Date(+e)),n(e,i),t(e)}while(a<e&&e<r);return u},o.filter=function(e){return hi((function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(o.count=function(n,r){return fi.setTime(+n),di.setTime(+r),t(fi),t(di),Math.floor(e(fi,di))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(r?function(n){return r(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null}),o}var pi=hi((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));pi.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?hi((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):pi:null};var gi=pi,mi=(pi.range,hi((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*ii)}),(function(t,n){return(n-t)/ii}),(function(t){return t.getUTCSeconds()}))),yi=mi,vi=(mi.range,hi((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ii)}),(function(t,n){t.setTime(+t+n*ai)}),(function(t,n){return(n-t)/ai}),(function(t){return t.getMinutes()}))),bi=vi,xi=(vi.range,hi((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ii-t.getMinutes()*ai)}),(function(t,n){t.setTime(+t+n*ui)}),(function(t,n){return(n-t)/ui}),(function(t){return t.getHours()}))),wi=xi,Mi=(xi.range,hi((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*ai)/si),(t=>t.getDate()-1))),Ei=Mi;function ki(t){return hi((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*ai)/ci}))}Mi.range;var Ai=ki(0),Oi=ki(1),ji=ki(2),Si=ki(3),Ci=ki(4),Ti=ki(5),Di=ki(6),Ni=(Ai.range,Oi.range,ji.range,Si.range,Ci.range,Ti.range,Di.range,hi((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}))),_i=Ni,Pi=(Ni.range,hi((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()})));Pi.every=function(t){return isFinite(t=Math.floor(t))&&t>0?hi((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null};var $i=Pi,Ii=(Pi.range,hi((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*ai)}),(function(t,n){return(n-t)/ai}),(function(t){return t.getUTCMinutes()}))),Ui=Ii,Li=(Ii.range,hi((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*ui)}),(function(t,n){return(n-t)/ui}),(function(t){return t.getUTCHours()}))),Wi=Li,Fi=(Li.range,hi((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/si}),(function(t){return t.getUTCDate()-1}))),zi=Fi;function Hi(t){return hi((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/ci}))}Fi.range;var Ri=Hi(0),Yi=Hi(1),qi=Hi(2),Bi=Hi(3),Vi=Hi(4),Ki=Hi(5),Gi=Hi(6),Xi=(Ri.range,Yi.range,qi.range,Bi.range,Vi.range,Ki.range,Gi.range,hi((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCMonth(t.getUTCMonth()+n)}),(function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}))),Zi=Xi,Qi=(Xi.range,hi((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()})));Qi.every=function(t){return isFinite(t=Math.floor(t))&&t>0?hi((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null};var Ji=Qi;function ta(t,n,e,r,o,i){const a=[[yi,1,ii],[yi,5,5e3],[yi,15,15e3],[yi,30,3e4],[i,1,ai],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,ui],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,si],[r,2,1728e5],[e,1,ci],[n,1,2592e6],[n,3,7776e6],[t,1,li]];function u(n,e,r){const o=Math.abs(e-n)/r,i=Br((([,,t])=>t)).right(a,o);if(i===a.length)return t.every(Rr(n/li,e/li,r));if(0===i)return gi.every(Math.max(Rr(n,e,r),1));const[u,s]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return u.every(s)}return[function(t,n,e){const r=n<t;r&&([t,n]=[n,t]);const o=e&&"function"==typeof e.range?e:u(t,n,e),i=o?o.range(t,+n+1):[];return r?i.reverse():i},u]}Qi.range;const[na,ea]=ta(Ji,Zi,Ri,zi,Wi,Ui),[ra,oa]=ta($i,_i,Ai,Ei,wi,bi);function ia(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function aa(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function ua(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var sa,ca,la,fa={"-":"",_:" ",0:"0"},da=/^\s*\d+/,ha=/^%/,pa=/[\\^$*+?|[\]().{}]/g;function ga(t,n,e){var r=t<0?"-":"",o=(r?-t:t)+"",i=o.length;return r+(i<e?new Array(e-i+1).join(n)+o:o)}function ma(t){return t.replace(pa,"\\$&")}function ya(t){return new RegExp("^(?:"+t.map(ma).join("|")+")","i")}function va(t){return new Map(t.map(((t,n)=>[t.toLowerCase(),n])))}function ba(t,n,e){var r=da.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function xa(t,n,e){var r=da.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function wa(t,n,e){var r=da.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function Ma(t,n,e){var r=da.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function Ea(t,n,e){var r=da.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function ka(t,n,e){var r=da.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function Aa(t,n,e){var r=da.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function Oa(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function ja(t,n,e){var r=da.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function Sa(t,n,e){var r=da.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function Ca(t,n,e){var r=da.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Ta(t,n,e){var r=da.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Da(t,n,e){var r=da.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function Na(t,n,e){var r=da.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function _a(t,n,e){var r=da.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function Pa(t,n,e){var r=da.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function $a(t,n,e){var r=da.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function Ia(t,n,e){var r=ha.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Ua(t,n,e){var r=da.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function La(t,n,e){var r=da.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function Wa(t,n){return ga(t.getDate(),n,2)}function Fa(t,n){return ga(t.getHours(),n,2)}function za(t,n){return ga(t.getHours()%12||12,n,2)}function Ha(t,n){return ga(1+Ei.count($i(t),t),n,3)}function Ra(t,n){return ga(t.getMilliseconds(),n,3)}function Ya(t,n){return Ra(t,n)+"000"}function qa(t,n){return ga(t.getMonth()+1,n,2)}function Ba(t,n){return ga(t.getMinutes(),n,2)}function Va(t,n){return ga(t.getSeconds(),n,2)}function Ka(t){var n=t.getDay();return 0===n?7:n}function Ga(t,n){return ga(Ai.count($i(t)-1,t),n,2)}function Xa(t){var n=t.getDay();return n>=4||0===n?Ci(t):Ci.ceil(t)}function Za(t,n){return t=Xa(t),ga(Ci.count($i(t),t)+(4===$i(t).getDay()),n,2)}function Qa(t){return t.getDay()}function Ja(t,n){return ga(Oi.count($i(t)-1,t),n,2)}function tu(t,n){return ga(t.getFullYear()%100,n,2)}function nu(t,n){return ga((t=Xa(t)).getFullYear()%100,n,2)}function eu(t,n){return ga(t.getFullYear()%1e4,n,4)}function ru(t,n){var e=t.getDay();return ga((t=e>=4||0===e?Ci(t):Ci.ceil(t)).getFullYear()%1e4,n,4)}function ou(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+ga(n/60|0,"0",2)+ga(n%60,"0",2)}function iu(t,n){return ga(t.getUTCDate(),n,2)}function au(t,n){return ga(t.getUTCHours(),n,2)}function uu(t,n){return ga(t.getUTCHours()%12||12,n,2)}function su(t,n){return ga(1+zi.count(Ji(t),t),n,3)}function cu(t,n){return ga(t.getUTCMilliseconds(),n,3)}function lu(t,n){return cu(t,n)+"000"}function fu(t,n){return ga(t.getUTCMonth()+1,n,2)}function du(t,n){return ga(t.getUTCMinutes(),n,2)}function hu(t,n){return ga(t.getUTCSeconds(),n,2)}function pu(t){var n=t.getUTCDay();return 0===n?7:n}function gu(t,n){return ga(Ri.count(Ji(t)-1,t),n,2)}function mu(t){var n=t.getUTCDay();return n>=4||0===n?Vi(t):Vi.ceil(t)}function yu(t,n){return t=mu(t),ga(Vi.count(Ji(t),t)+(4===Ji(t).getUTCDay()),n,2)}function vu(t){return t.getUTCDay()}function bu(t,n){return ga(Yi.count(Ji(t)-1,t),n,2)}function xu(t,n){return ga(t.getUTCFullYear()%100,n,2)}function wu(t,n){return ga((t=mu(t)).getUTCFullYear()%100,n,2)}function Mu(t,n){return ga(t.getUTCFullYear()%1e4,n,4)}function Eu(t,n){var e=t.getUTCDay();return ga((t=e>=4||0===e?Vi(t):Vi.ceil(t)).getUTCFullYear()%1e4,n,4)}function ku(){return"+0000"}function Au(){return"%"}function Ou(t){return+t}function ju(t){return Math.floor(+t/1e3)}function Su(t){return new Date(t)}function Cu(t){return t instanceof Date?+t:+new Date(+t)}function Tu(t,n,e,r,o,i,a,u,s,c){var l=uo(),f=l.invert,d=l.domain,h=c(".%L"),p=c(":%S"),g=c("%I:%M"),m=c("%I %p"),y=c("%a %d"),v=c("%b %d"),b=c("%B"),x=c("%Y");function w(t){return(s(t)<t?h:u(t)<t?p:a(t)<t?g:i(t)<t?m:r(t)<t?o(t)<t?y:v:e(t)<t?b:x)(t)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?d(Array.from(t,Cu)):d().map(Su)},l.ticks=function(n){var e=d();return t(e[0],e[e.length-1],null==n?10:n)},l.tickFormat=function(t,n){return null==n?w:c(n)},l.nice=function(t){var e=d();return t&&"function"==typeof t.range||(t=n(e[0],e[e.length-1],null==t?10:t)),t?d(jo(e,t)):l},l.copy=function(){return io(l,Tu(t,n,e,r,o,i,a,u,s,c))},l}function Du(){return Sr.apply(Tu(ra,oa,$i,_i,Ai,Ei,wi,bi,yi,ca).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Nu(){return Sr.apply(Tu(na,ea,Ji,Zi,Ri,zi,Wi,Ui,yi,la).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function _u(){var t,n,e,r,o,i=0,a=1,u=no,s=!1;function c(n){return null==n||isNaN(n=+n)?o:u(0===e?.5:(n=(r(n)-t)*e,s?Math.max(0,Math.min(1,n)):n))}function l(t){return function(n){var e,r;return arguments.length?([e,r]=n,u=t(e,r),c):[u(0),u(1)]}}return c.domain=function(o){return arguments.length?([i,a]=o,t=r(i=+i),n=r(a=+a),e=t===n?0:1/(n-t),c):[i,a]},c.clamp=function(t){return arguments.length?(s=!!t,c):s},c.interpolator=function(t){return arguments.length?(u=t,c):u},c.range=l(Ie),c.rangeRound=l(Qr),c.unknown=function(t){return arguments.length?(o=t,c):o},function(o){return r=o,t=o(i),n=o(a),e=t===n?0:1/(n-t),c}}function Pu(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function $u(){var t=ko(_u()(no));return t.copy=function(){return Pu(t,$u())},Cr.apply(t,arguments)}function Iu(){var t=Po(_u()).domain([1,10]);return t.copy=function(){return Pu(t,Iu()).base(t.base())},Cr.apply(t,arguments)}function Uu(){var t=Lo(_u());return t.copy=function(){return Pu(t,Uu()).constant(t.constant())},Cr.apply(t,arguments)}function Lu(){var t=Ro(_u());return t.copy=function(){return Pu(t,Lu()).exponent(t.exponent())},Cr.apply(t,arguments)}function Wu(){return Lu.apply(null,arguments).exponent(.5)}function Fu(){var t=[],n=no;function e(e){if(null!=e&&!isNaN(e=+e))return n((Zr(t,e,1)-1)/(t.length-1))}return e.domain=function(n){if(!arguments.length)return t.slice();t=[];for(let e of n)null==e||isNaN(e=+e)||t.push(e);return t.sort(Yr),e},e.interpolator=function(t){return arguments.length?(n=t,e):n},e.range=function(){return t.map(((e,r)=>n(r/(t.length-1))))},e.quantiles=function(n){return Array.from({length:n+1},((e,r)=>ti(t,r/n)))},e.copy=function(){return Fu(n).domain(t)},Cr.apply(e,arguments)}function zu(t,n){void 0===n&&(n=t,t=Ie);for(var e=0,r=n.length-1,o=n[0],i=new Array(r<0?0:r);e<r;)i[e]=t(o,o=n[++e]);return function(t){var n=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return i[n](t-n)}}function Hu(){var t,n,e,r,o,i,a,u=0,s=.5,c=1,l=1,f=no,d=!1;function h(t){return isNaN(t=+t)?a:(t=.5+((t=+i(t))-n)*(l*t<l*n?r:o),f(d?Math.max(0,Math.min(1,t)):t))}function p(t){return function(n){var e,r,o;return arguments.length?([e,r,o]=n,f=zu(t,[e,r,o]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){return arguments.length?([u,s,c]=a,t=i(u=+u),n=i(s=+s),e=i(c=+c),r=t===n?0:.5/(n-t),o=n===e?0:.5/(e-n),l=n<t?-1:1,h):[u,s,c]},h.clamp=function(t){return arguments.length?(d=!!t,h):d},h.interpolator=function(t){return arguments.length?(f=t,h):f},h.range=p(Ie),h.rangeRound=p(Qr),h.unknown=function(t){return arguments.length?(a=t,h):a},function(a){return i=a,t=a(u),n=a(s),e=a(c),r=t===n?0:.5/(n-t),o=n===e?0:.5/(e-n),l=n<t?-1:1,h}}function Ru(){var t=ko(Hu()(no));return t.copy=function(){return Pu(t,Ru())},Cr.apply(t,arguments)}function Yu(){var t=Po(Hu()).domain([.1,1,10]);return t.copy=function(){return Pu(t,Yu()).base(t.base())},Cr.apply(t,arguments)}function qu(){var t=Lo(Hu());return t.copy=function(){return Pu(t,qu()).constant(t.constant())},Cr.apply(t,arguments)}function Bu(){var t=Ro(Hu());return t.copy=function(){return Pu(t,Bu()).exponent(t.exponent())},Cr.apply(t,arguments)}function Vu(){return Bu.apply(null,arguments).exponent(.5)}sa=function(t){var n=t.dateTime,e=t.date,r=t.time,o=t.periods,i=t.days,a=t.shortDays,u=t.months,s=t.shortMonths,c=ya(o),l=va(o),f=ya(i),d=va(i),h=ya(a),p=va(a),g=ya(u),m=va(u),y=ya(s),v=va(s),b={a:function(t){return a[t.getDay()]},A:function(t){return i[t.getDay()]},b:function(t){return s[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:Wa,e:Wa,f:Ya,g:nu,G:ru,H:Fa,I:za,j:Ha,L:Ra,m:qa,M:Ba,p:function(t){return o[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Ou,s:ju,S:Va,u:Ka,U:Ga,V:Za,w:Qa,W:Ja,x:null,X:null,y:tu,Y:eu,Z:ou,"%":Au},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return i[t.getUTCDay()]},b:function(t){return s[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:iu,e:iu,f:lu,g:wu,G:Eu,H:au,I:uu,j:su,L:cu,m:fu,M:du,p:function(t){return o[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Ou,s:ju,S:hu,u:pu,U:gu,V:yu,w:vu,W:bu,x:null,X:null,y:xu,Y:Mu,Z:ku,"%":Au},w={a:function(t,n,e){var r=h.exec(n.slice(e));return r?(t.w=p.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.w=d.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(t,n,e){var r=y.exec(n.slice(e));return r?(t.m=v.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.m=m.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return k(t,n,e,r)},d:Ca,e:Ca,f:$a,g:Aa,G:ka,H:Da,I:Da,j:Ta,L:Pa,m:Sa,M:Na,p:function(t,n,e){var r=c.exec(n.slice(e));return r?(t.p=l.get(r[0].toLowerCase()),e+r[0].length):-1},q:ja,Q:Ua,s:La,S:_a,u:xa,U:wa,V:Ma,w:ba,W:Ea,x:function(t,n,r){return k(t,e,n,r)},X:function(t,n,e){return k(t,r,n,e)},y:Aa,Y:ka,Z:Oa,"%":Ia};function M(t,n){return function(e){var r,o,i,a=[],u=-1,s=0,c=t.length;for(e instanceof Date||(e=new Date(+e));++u<c;)37===t.charCodeAt(u)&&(a.push(t.slice(s,u)),null!=(o=fa[r=t.charAt(++u)])?r=t.charAt(++u):o="e"===r?" ":"0",(i=n[r])&&(r=i(e,o)),a.push(r),s=u+1);return a.push(t.slice(s,u)),a.join("")}}function E(t,n){return function(e){var r,o,i=ua(1900,void 0,1);if(k(i,t,e+="",0)!=e.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(n&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=aa(ua(i.y,0,1))).getUTCDay(),r=o>4||0===o?Yi.ceil(r):Yi(r),r=zi.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=ia(ua(i.y,0,1))).getDay(),r=o>4||0===o?Oi.ceil(r):Oi(r),r=Ei.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?aa(ua(i.y,0,1)).getUTCDay():ia(ua(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,aa(i)):ia(i)}}function k(t,n,e,r){for(var o,i,a=0,u=n.length,s=e.length;a<u;){if(r>=s)return-1;if(37===(o=n.charCodeAt(a++))){if(o=n.charAt(a++),!(i=w[o in fa?n.charAt(a++):o])||(r=i(t,e,r))<0)return-1}else if(o!=e.charCodeAt(r++))return-1}return r}return b.x=M(e,b),b.X=M(r,b),b.c=M(n,b),x.x=M(e,x),x.X=M(r,x),x.c=M(n,x),{format:function(t){var n=M(t+="",b);return n.toString=function(){return t},n},parse:function(t){var n=E(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=M(t+="",x);return n.toString=function(){return t},n},utcParse:function(t){var n=E(t+="",!0);return n.toString=function(){return t},n}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),ca=sa.format,sa.parse,la=sa.utcFormat,sa.utcParse;const Ku=["linear","time","log","sqrt"];function Gu(t){return"function"==typeof t?G(t.copy)&&G(t.domain)&&G(t.range):"string"==typeof t&&Ku.includes(t)}function Xu(t,n){return!(!t.scale||(t.scale.x||t.scale.y)&&!t.scale[n])}function Zu(t,n){if(!t.data)return"linear";const e=X(t[n]);return Re(t.data.map((t=>{const r=zn()(e(t))?e(t)[n]:e(t);return void 0!==r?r:t[n]})))?"time":"linear"}function Qu(t){if(Gu(t)){const r=`scale${e=t,e&&e[0].toUpperCase()+e.slice(1)}`;return n[r]()}var e;return Ao()}function Ju(t,n){const e=function(t,n){if(!Xu(t,n))return;const e=t.scale[n]||t.scale;return Gu(e)?G(e)?e:Qu(e):void 0}(t,n);return e?"string"==typeof e?Qu(e):e:Qu(function(t,n){let e;if(t.domain&&t.domain[n]?e=t.domain[n]:t.domain&&Array.isArray(t.domain)&&(e=t.domain),e)return Re(e)?"time":"linear"}(t,n)||Zu(t,n))}function ts(t,n){return function(t,n){if(!Xu(t,n))return;const e=t.scale[n]||t.scale;return"string"==typeof e?e:function(t){if("string"==typeof t)return t;const n=ns.filter((n=>void 0!==t[n.method]))[0];return n?n.name:void 0}(e)}(t,n)||Zu(t,n)}const ns=[{name:"quantile",method:"quantiles"},{name:"log",method:"base"}];function es(t){return!(!t||!t["@@__IMMUTABLE_ITERABLE__@@"])}function rs(t,n){return es(t)?t.reduce(((t,e,r)=>{let o=e;return n&&n[r]&&(o=rs(e)),t[r]=o,t}),function(t){return!(!t||!t["@@__IMMUTABLE_LIST__@@"])}(t)?[]:{}):t}function os(t){return es(n=t)||function(t){return!(!t||!t["@@__IMMUTABLE_RECORD__@@"])}(n)?rs(t,{errorX:!0,errorY:!0}):t;var n}function is(t,n){const e=(zn()(t.domain)?t.domain[n]:t.domain)||Ju(t,n).domain(),r=t.samples||1,o=Math.max(...e),i=Math.min(...e),a=function(t,n,e){const r=n?t:0;let o=n||t;o||(o=0);const i=o-r,a=Math.abs(i),u=i/a||1,s=e||1,c=Math.max(Math.ceil(a/s),0);return Array.from(Array(c),((t,n)=>r+n*u*s))}(i,o,(o-i)/r);return a[a.length-1]===o?a:a.concat(o)}function as(t,n,e){if(void 0===e&&(e="ascending"),!n)return t;let r=n;"x"!==n&&"y"!==n||(r=`_${n}`);const o="ascending"===e?"asc":"desc";return Wn()(t,r,o)}function us(t,n){const e=function(t,n){const{tickValues:e,tickFormat:r}=t;let o;return o=e&&(Array.isArray(e)||e[n])?e[n]||e:r&&Array.isArray(r)?r:[],o.filter((t=>"string"==typeof t))}(t,n),r=fs(t,n),o=function(t,n){if(!Array.isArray(t.data)&&!es(t.data))return[];const e=X(void 0===t[n]?n:t[n]);return as(t.data.reduce(((t,n)=>(t.push(os(n)),t)),[]),t.sortKey,t.sortOrder).reduce(((t,n)=>{const r=os(n);return t.push(e(r)),t}),[]).filter((t=>"string"==typeof t)).reduce(((t,n)=>(null!=n&&-1===t.indexOf(n)&&t.push(n),t)),[])}(t,n),i=or()([...e,...r,...o]);return 0===i.length?null:i.reduce(((t,n,e)=>(t[n]=e+1,t)),{})}function ss(t,n,e){if(!Array.isArray(t)&&!es(t)||function(t){return es(t)?t.size:t.length}(t)<1)return[];const r=["x","y","y0"],o=(e=Array.isArray(e)?e:r).reduce(((t,e)=>{var r;return t[e]=X(void 0!==n[r=e]?n[r]:r),t}),{}),i=Or()(e,r)&&"_x"===n.x&&"_y"===n.y&&"_y0"===n.y0;let a;!1===i&&(a={x:-1!==e.indexOf("x")?us(n,"x"):void 0,y:-1!==e.indexOf("y")?us(n,"y"):void 0,y0:-1!==e.indexOf("y0")?us(n,"y"):void 0});const u=i?t:t.reduce(((t,n,r)=>{const i=os(n),u={x:r,y:i},s=e.reduce(((t,n)=>{const e=o[n](i),r=void 0!==e?e:u[n];return void 0!==r&&("string"==typeof r&&a[n]?(t[`${n}Name`]=r,t[`_${n}`]=a[n][r]):t[`_${n}`]=r),t}),{}),c=Object.assign({},s,i);return rt()(c)||t.push(c),t}),[]),s=function(t,n){const e=1/Number.MAX_SAFE_INTEGER,r={x:ts(n,"x"),y:ts(n,"y")};if("log"!==r.x&&"log"!==r.y)return t;const o=(t,n)=>"log"!==r[n]||0!==t[`_${n}`];return t.map((t=>o(t,"x")&&o(t,"y")&&o(t,"y0")?t:(t=>{const n=o(t,"x")?t._x:e,r=o(t,"y")?t._y:e,i=o(t,"y0")?t._y0:e;return Object.assign({},t,{_x:n,_y:r,_y0:i})})(t)))}(as(u,n.sortKey,n.sortOrder),n);return function(t,n){const e=!!t.eventKey,r=G(o=t.eventKey)?o:null==o?()=>{}:U()(o);var o;return n.map(((t,n)=>{if(void 0!==t.eventKey)return t;if(e){const e=r(t,n);return void 0!==e?Object.assign({eventKey:e},t):t}return t}))}(n,s)}function cs(t){const n=is(t,"x"),e=is(t,"y");return n.map(((t,n)=>({x:t,y:e[n]})))}function ls(t,n){return t.categories&&!Array.isArray(t.categories)?t.categories[n]:t.categories}function fs(t,n){if(!t.categories)return[];const e=ls(t,n),r=e&&e.filter((t=>"string"==typeof t));return r?r.filter((t=>void 0!==t)):[]}var ds=r(4295),hs=r.n(ds),ps=r(2829),gs=r.n(ps);function ms(t,n,e){void 0===e&&(e="min");const r=t=>"max"===e?Math.max(...t):Math.min(...t),o="max"===e?-1/0:1/0;let i=!1;const a=t.flat().reduce(((t,e)=>{const o=void 0!==e[`_${n}0`]?e[`_${n}0`]:e[`_${n}`],a=void 0!==e[`_${n}1`]?e[`_${n}1`]:e[`_${n}`],u=r([o,a]);return i=i||o instanceof Date||a instanceof Date,r([t,u])}),o);return i?new Date(a):a}function ys(t,n){const e=G(t)?t:bs,r=G(n)?n:vs;return(t,n)=>{const o=function(t,n){const e=Ms(t,n),r=ws(t,n);return zn()(t.domain)&&t.domain[n]?t.domain[n]:Array.isArray(t.domain)?t.domain:void 0!==e&&void 0!==r?xs(e,r):void 0}(t,n);if(o)return r(o,t,n);const i=ls(t,n),a=i?function(t,n,e){const r=e||ls(t,n),{polar:o,startAngle:i=0,endAngle:a=360}=t;if(!r)return;const u=Ms(t,n),s=ws(t,n),c=(h=r,Array.isArray(h)&&h.some((t=>"string"==typeof t))?fs(t,n):[]),l=0===c.length?null:c.reduce(((t,n,e)=>(t[n]=e+1,t)),{}),f=l?r.map((t=>l[t])):r,d=xs(void 0!==u?u:Be(f),void 0!==s?s:qe(f));var h;return o&&"x"===n&&360===Math.abs(i-a)?Es(d,f):d}(t,n,i):e(t,n);return a?r(a,t,n):void 0}}function vs(t,n,e){return function(t,n,e){return"log"!==ts(n,e)?t:(t=>{const n=t[0]<0||t[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER;return[0===t[0]?n:t[0],0===t[1]?n:t[1]]})(t)}(function(t,n,e){if(!n.domainPadding)return t;const r=Ms(n,e),o=ws(n,e),i=function(t,n){const e=t=>Array.isArray(t)?{left:t[0],right:t[1]}:{left:t,right:t};return zn()(t.domainPadding)?e(t.domainPadding[n]):e(t.domainPadding)}(n,e);if(!i.left&&!i.right)return t;const a=Be(t),u=qe(t),s=function(t,n){return n?"x"===t?"y":"x":t}(e,n.horizontal),c=V(n,s),l=Math.abs(c[0]-c[1]),f=Math.max(l-i.left-i.right,1),d=Math.abs(u.valueOf()-a.valueOf())/f*l,h=d*i.left/l,p=d*i.right/l;let g={min:a.valueOf()-h,max:u.valueOf()+p};const m=zn()(n.singleQuadrantDomainPadding)?n.singleQuadrantDomainPadding[e]:n.singleQuadrantDomainPadding,y=(t,n)=>"min"===n&&a>=0&&t<=0||"max"===n&&u<=0&&t>=0?0:t;if((a>=0&&g.min<=0||u<=0&&g.max>=0)&&!1!==m){const t={left:Math.abs(u-a)*i.left/l,right:Math.abs(u-a)*i.right/l},n={min:y(a.valueOf()-t.left,"min"),max:y(u.valueOf()+t.right,"max")},e={left:Math.abs(n.max-n.min)*i.left/l,right:Math.abs(n.max-n.min)*i.right/l};g={min:y(a.valueOf()-e.left,"min"),max:y(u.valueOf()+e.right,"max")}}const v={min:void 0!==r?r:g.min,max:void 0!==o?o:g.max};return a instanceof Date||u instanceof Date?xs(new Date(v.min),new Date(v.max)):xs(v.min,v.max)}(t,n,e),n,e)}function bs(t,n,e){const r=e||function(t){return t.data?ss(t.data,t):ss(cs(t),t)}(t),{polar:o,startAngle:i=0,endAngle:a=360}=t,u=Ms(t,n),s=ws(t,n);if(r.length<1)return void 0!==u&&void 0!==s?xs(u,s):void 0;const c=xs(void 0!==u?u:ms(r,n,"min"),void 0!==s?s:ms(r,n,"max"));return o&&"x"===n&&360===Math.abs(i-a)?Es(c,function(t,n){const e=`_${n}`;return t.flat().map((t=>t[e]&&void 0!==t[e][1]?t[e][1]:t[e]))}(r,n)):c}function xs(t,n){return Number(t)===Number(n)?(t=>{const n=0===t?2*Math.pow(10,-10):Math.pow(10,-10),e=t instanceof Date?new Date(Number(t)-1):Number(t)-n,r=t instanceof Date?new Date(Number(t)+1):Number(t)+n;return 0===t?[0,r]:[e,r]})(n):[t,n]}function ws(t,n){return zn()(t.maxDomain)&&void 0!==t.maxDomain[n]?t.maxDomain[n]:"number"==typeof t.maxDomain||hs()(t.maxDomain)?t.maxDomain:void 0}function Ms(t,n){return zn()(t.minDomain)&&void 0!==t.minDomain[n]?t.minDomain[n]:"number"==typeof t.minDomain||hs()(t.minDomain)?t.minDomain:void 0}function Es(t,n){const e=gs()(n.sort(((t,n)=>t-n))),r=e[1]-e[0];return[t[0],t[1]+r]}const ks=(t,n,e)=>{const r=n[{x:"_errorX",y:"_errorY"}[e]];if(0===r)return!1;const o=t.scale[e];return Array.isArray(r)?[0!==r[0]&&o(r[0]+n[`_${e}`]),0!==r[1]&&o(n[`_${e}`]-r[1])]:[o(r+n[`_${e}`]),o(n[`_${e}`]-r)]},As=t=>{const n=["x","y","errorX","errorY"];return t.data?ss(t.data,t,n):ss(t.errorX||t.errorY?cs(t):[],t,n)},Os=(t,n)=>{const e=Ms(t,n),r=ws(t,n),o=As(t);if(o.length<1)return void 0!==e&&void 0!==r?xs(e,r):void 0;const i="x"===n?"_errorX":"_errorY",a=t=>{const e="min"===t?1/0:-1/0,r="min"===t?1:0,a="min"===t?-1:1;return o.reduce(((e,o)=>{const u=Array.isArray(o[i])?o[i][r]:o[i],s=o[`_${n}`]+a*(u||0);return e<s&&"min"===t||e>s&&"max"===t?e:s}),e)};return xs(void 0!==e?e:a("min"),void 0!==r?r:a("max"))},js=(t,n)=>ys(Os)(t,n),Ss=(t,n)=>{const e=Z(t,n,"errorbar"),r=Object.assign({},e,(t=>{const n=function(t,n){const{theme:e={},labelComponent:r}=t,o=e[n]&&e[n].style||{};if(!H(r))return o;const i=e.tooltip&&e.tooltip.style||{},a=f()({},i,o.labels);return f()({},{labels:a},o)}(t,"errorbar"),e=function(t,n){const e="100%",r="100%";if(!t)return f()({parent:{height:r,width:e}},n);const{data:o,labels:i,parent:a}=t,u=n&&n.parent||{},s=n&&n.labels||{},c=n&&n.data||{};return{parent:f()({},a,u,{width:e,height:r}),labels:f()({},i,s),data:f()({},o,c)}}(t.style,n)||{},r=As(t),o={x:V(t,"x"),y:V(t,"y")},i={x:js(t,"x"),y:js(t,"y")},a={x:Ju(t,"x").domain(i.x).range(t.horizontal?o.y:o.x),y:Ju(t,"y").domain(i.y).range(t.horizontal?o.x:o.y)},u=t.polar?t.origin||function(t){const{width:n,height:e}=t,{top:r,bottom:o,left:i,right:a}=z(t),u=Math.min(n-i-a,e-r-o)/2,s=n/2+i-a,c=e/2+r-o;return{x:s+u>n?u+i-a:s,y:c+u>e?u+r-o:c}}(t):void 0;return{domain:i,data:r,scale:a,style:e,origin:u}})(e)),{borderWidth:o,data:i,domain:a,events:u,groupComponent:s,height:c,horizontal:l,labels:d,name:h,origin:p,padding:g,polar:m,scale:y,sharedEvents:v,standalone:b,style:x,theme:w,width:M,disableInlineStyles:E}=r,k={parent:{data:i,domain:a,height:c,horizontal:l,name:h,origin:p,padding:g,polar:m,scale:y,standalone:b,style:x.parent,theme:w,width:M}};return i.reduce(((t,n,e)=>{const c=K(n.eventKey)?e:n.eventKey,{x:h,y:p}=F(kr()({},r,{scale:y}),n),g=((t,n)=>{const e=Be(n.x),r=qe(n.x),o=Be(n.y),i=qe(n.y);let{_x:a,_y:u}=t;return(a<e||a>r||u<o||u>i)&&(a=u=null),Object.assign({},t,{_x:a,_y:u})})(n,a),m=ks(r,g,"x"),b=ks(r,g,"y"),w={borderWidth:o,data:i,datum:g,errorX:l?b:m,errorY:l?m:b,groupComponent:s,horizontal:l,index:e,scale:y,style:E?{}:x.data,x:h,y:p,disableInlineStyles:E};t[c]={data:w};const M=function(t,n,e){return void 0===n&&(n={}),void 0!==n.label?n.label:Array.isArray(t.labels)?t.labels[e]:t.labels}(r,n,e);return(null!=M||d&&(u||v))&&(t[c].labels=((t,n,e)=>{const{x:r,y:o,index:i,scale:a,errorY:u,errorX:s,horizontal:c,labelComponent:l,theme:d,disableInlineStyles:h}=t,p=function(n){void 0===n&&(n="x");const e="y"===n?u:s;return(e&&Array.isArray(e)?e[0]:e)||t[n]},g=e.labels||{},m=g.padding||0,y=c?"start":"middle",v=c?"middle":"end",b={style:g,y:c?o:p("y"),x:c?p("x"):r,dy:c?0:-m,dx:c?m:0,text:n,index:i,scale:a,datum:t.datum,data:t.data,textAnchor:g.textAnchor||y,verticalAnchor:g.verticalAnchor||v,angle:g.angle,horizontal:c,disableInlineStyles:h};if(!H(l))return b;const x=d&&d.tooltip||{};return f()({},b,L(x,["style"]))})(Object.assign({},r,w),M,x)),t}),k)},Cs={width:450,height:300,padding:50},Ts=[{x:1,y:1,errorX:.1,errorY:.1},{x:2,y:2,errorX:.2,errorY:.2},{x:3,y:3,errorX:.3,errorY:.3},{x:4,y:4,errorX:.4,errorY:.4}];class Ds extends i().Component{static animationWhitelist=["data","domain","height","padding","samples","style","width","errorX","errorY","borderWidth"];static displayName="VictoryErrorBar";static role="errorbar";static defaultTransitions={onLoad:{duration:2e3,before:()=>({opacity:0}),after:t=>t},onExit:{duration:600,before:()=>({opacity:0})},onEnter:{duration:600,before:()=>({opacity:0}),after:t=>t}};static defaultProps={containerComponent:i().createElement(nt,null),data:Ts,dataComponent:i().createElement(Mr,null),labelComponent:i().createElement(It,null),groupComponent:i().createElement("g",{role:"presentation"}),samples:50,sortOrder:"ascending",standalone:!0,theme:tn};static getDomain(t,n){return js(t,n)}static getData(t){return As(t)}static getBaseProps(t){return Ss(t,Cs)}static expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"];shouldAnimate(){return!!this.props.animate}render(){const{animationWhitelist:t,role:n}=Ns,r=Z(this.props,Cs,n);if(this.shouldAnimate())return this.animateComponent(r,t);const o=this.renderData(r);return((t,n)=>e.cloneElement(t,J(n)))(r.standalone?this.renderContainer(r.containerComponent,o):o,r)}}const Ns=(_s=Ds,void 0===Ps&&(Ps={}),class extends _s{constructor(t){super(t),this.cacheValues(this.getCalculatedValues(t))}state={};getEventState=dr.bind(this);getScopedEvents=fr.bind(this);getEvents=(t,n,e)=>lr.call(this,t,n,e,this.getScopedEvents);externalMutations=this.getExternalMutations(this.props);calculatedState=this.getStateChanges(this.props);globalEvents={};prevGlobalEventKeys=[];boundGlobalEvents={};shouldComponentUpdate(t){const n=this.getExternalMutations(t),e=this.props.animating||this.props.animate,r=!en()(n,this.externalMutations);if(e||r)return this.cacheValues(this.getCalculatedValues(t)),this.externalMutations=n,this.applyExternalMutations(t,n),!0;const o=this.getStateChanges(t);return en()(this.calculatedState,o)?!en()(this.props,t)&&(this.cacheValues(this.getCalculatedValues(t)),!0):(this.cacheValues(this.getCalculatedValues(t)),!0)}componentDidMount(){const t=Object.keys(this.globalEvents);t.forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=t}componentDidUpdate(t){const n=this.getStateChanges(t);this.calculatedState=n;const e=Object.keys(this.globalEvents);Ye(this.prevGlobalEventKeys,e).forEach((t=>this.removeGlobalListener(t))),Ye(e,this.prevGlobalEventKeys).forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=e}componentWillUnmount(){this.prevGlobalEventKeys.forEach((t=>this.removeGlobalListener(t)))}addGlobalListener(t){const n=n=>{const e=this.globalEvents[t];return e&&e((t=>Object.assign(t,{nativeEvent:t}))(n))};this.boundGlobalEvents[t]=n,window.addEventListener(pr(t),n)}removeGlobalListener(t){window.removeEventListener(pr(t),this.boundGlobalEvents[t])}getStateChanges(t){if(!this.hasEvents)return{};const n=(t,n)=>{const e=f()({},this.getEventState(t,n),this.getSharedEventState(t,n));return rt()(e)?void 0:e};return(Ps.components||mr).map((e=>{if(t.standalone||"parent"!==e.name)return void 0!==e.index?n(e.index,e.name):this.dataKeys.map((t=>n(t,e.name))).filter(Boolean)})).filter(Boolean)}applyExternalMutations(t,n){if(!rt()(n)){const e=t.externalEventMutations.reduce(((t,n)=>G(n.callback)?t.concat(n.callback):t),[]),r=e.length?()=>{e.forEach((t=>t()))}:void 0;this.setState(n,r)}}getCalculatedValues(t){const{sharedEvents:n}=t,e=function(t,n){const e=Array.isArray(n)&&n.reduce(((n,e)=>{const r=t[e],o=r&&r.type&&r.type.defaultEvents,i=G(o)?o(r.props):o;return Array.isArray(i)?n.concat(...i):n}),[]);return e&&e.length?e:void 0}(t,_s.expectedComponents),r=n&&G(n.getEventState)?n.getEventState:()=>{},o=this.getBaseProps(t,r);return{componentEvents:e,getSharedEventState:r,baseProps:o,dataKeys:Object.keys(o).filter((t=>"parent"!==t)),hasEvents:t.events||t.sharedEvents||e,events:this.getAllEvents(t)}}getExternalMutations(t){const{sharedEvents:n,externalEventMutations:e}=t;return rt()(e)||n?void 0:function(t,n,e,r){return void 0===n&&(n={}),void 0===e&&(e={}),Object.keys(n).reduce(((o,i)=>{const a=e[i]||{},u=n[i]||{};if("parent"===i){const n=hr(t,u,a,{eventKey:i,target:"parent"});o[i]=void 0!==n?Object.assign({},a,n):a}else{const n=or()(Object.keys(u).concat(Object.keys(a)));o[i]=n.reduce(((n,e)=>{const o={eventKey:i,target:e,childName:r},s=hr(t,u[e],a[e],o);return n[e]=void 0!==s?Object.assign({},a[e],s):a[e],sr()(n,(t=>!rt()(t)))}),{})}return sr()(o,(t=>!rt()(t)))}),{})}(e,this.baseProps,this.state)}cacheValues(t){Object.keys(t).forEach((n=>{this[n]=t[n]}))}getBaseProps(t,n){const e=(n||this.getSharedEventState.bind(this))("parent","parent"),r=this.getEventState("parent","parent"),o=f()({},r,e),i=o.parentControlledProps,a=i?$()(o,i):{},u=f()({},a,t);return"function"==typeof _s.getBaseProps?_s.getBaseProps(u):{}}getAllEvents(t){return Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events}getComponentProps(t,n,e){const r=this.props.name||_s.role,o=this.dataKeys&&this.dataKeys[e]||e,i=`${r}-${n}-${o}`,a=this.baseProps[o]&&this.baseProps[o][n]||this.baseProps[o];if(!a&&!this.hasEvents)return;const u=t&&"object"==typeof t&&"props"in t?t.props:void 0;if(this.hasEvents){const t=this.getEvents(this.props,n,o),r=f()({index:e,key:i},this.getEventState(o,n),this.getSharedEventState(o,n),u,a,{id:i}),s=f()({},function(t,n,e){return t?Object.keys(t).reduce(((r,o)=>(r[o]=r=>t[o](r,e,n,o),r)),{}):{}}(t,o,r),r.events);return Object.assign({},r,{events:s})}return f()({index:e,key:i},u,a,{id:i})}renderContainer(t,n){const e=t.type&&"container"===t.type.role?this.getComponentProps(t,"parent","parent"):{};var r;return e.events&&(this.globalEvents=(r=e.events,sr()(r,((t,n)=>cr.test(n)))),e.events=(t=>ar()(t,((t,n)=>cr.test(n))))(e.events)),i().cloneElement(t,e,n)}animateComponent(t,n){const e="object"==typeof t.animate&&t.animate?.animationWhitelist||n,r=this.constructor;return i().createElement(er,{animate:t.animate,animationWhitelist:e},i().createElement(r,t))}renderContinuousData(t){const{dataComponent:n,labelComponent:e,groupComponent:r}=t,o=this.dataKeys.filter((t=>"all"!==t)),a=o.reduce(((t,n)=>{let r=t;const o=this.getComponentProps(e,"labels",n);return o&&void 0!==o.text&&null!==o.text&&(r=r.concat(i().cloneElement(e,o))),r}),[]),u=this.getComponentProps(n,"data","all"),s=[i().cloneElement(n,u),...a];return this.renderContainer(r,s)}renderData(t,n){void 0===n&&(n=gr);const{dataComponent:e,labelComponent:r,groupComponent:o}=t,a=[...this.dataKeys.reduce(((t,r,o)=>{const a=this.getComponentProps(e,"data",o);return n(a.datum)&&t.push(i().cloneElement(e,a)),t}),[]),...this.dataKeys.map(((t,n)=>{const e=this.getComponentProps(r,"labels",n);if(void 0!==e.text&&null!==e.text)return i().cloneElement(r,e)})).filter(Boolean)];return this.renderContainer(o,a)}});var _s,Ps}(),o}()}));
1
+ !function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react")):"function"==typeof define&&define.amd?define(["react"],n):"object"==typeof exports?exports.VictoryErrorbar=n(require("react")):t.VictoryErrorbar=n(t.React)}(self,(function(t){return function(){var n={503:function(t,n,e){var r=e(1171),o=e(7838),i=e(4859),a=e(4073),u=e(8541);function s(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},3273:function(t,n,e){var r=e(163);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},8708:function(t,n,e){var r=e(1171),o=e(7838),i=e(4859),a=e(4073),u=e(8541);function s(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},2596:function(t,n,e){var r=e(2373).Symbol;t.exports=r},6082:function(t){t.exports=function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}},5510:function(t,n,e){var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9955:function(t){t.exports=function(t,n,e){for(var r=-1,o=null==t?0:t.length;++r<o;)if(e(n,t[r]))return!0;return!1}},8644:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,o=Array(r);++e<r;)o[e]=n(t[e],e,t);return o}},9559:function(t){t.exports=function(t,n){for(var e=-1,r=n.length,o=t.length;++e<r;)t[o+e]=n[e];return t}},1634:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}},4132:function(t,n,e){var r=e(8347),o=e(788),i=Object.prototype.hasOwnProperty;t.exports=function(t,n,e){var a=t[n];i.call(t,n)&&o(a,e)&&(void 0!==e||n in t)||r(t,n,e)}},3162:function(t,n,e){var r=e(788);t.exports=function(t,n){for(var e=t.length;e--;)if(r(t[e][0],n))return e;return-1}},8347:function(t,n,e){var r=e(5525);t.exports=function(t,n,e){"__proto__"==n&&r?r(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}},6457:function(t,n,e){var r=e(9559),o=e(3608);t.exports=function t(n,e,i,a,u){var s=-1,c=n.length;for(i||(i=o),u||(u=[]);++s<c;){var l=n[s];e>0&&i(l)?e>1?t(l,e-1,i,a,u):r(u,l):a||(u[u.length]=l)}return u}},4432:function(t,n,e){var r=e(9026),o=e(3110);t.exports=function(t,n){for(var e=0,i=(n=r(n,t)).length;null!=t&&e<i;)t=t[o(n[e++])];return e&&e==i?t:void 0}},563:function(t){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},6776:function(t){t.exports=function(t,n){return null!=t&&n in Object(t)}},6123:function(t){t.exports=function(t,n,e){for(var r=e-1,o=t.length;++r<o;)if(t[r]===n)return r;return-1}},7537:function(t,n,e){var r=e(563),o=e(3474);t.exports=function(t){return o(t)&&"[object Date]"==r(t)}},9070:function(t,n,e){var r=e(7028),o=e(3474);t.exports=function t(n,e,i,a,u){return n===e||(null==n||null==e||!o(n)&&!o(e)?n!=n&&e!=e:r(n,e,i,a,t,u))}},7028:function(t,n,e){var r=e(8708),o=e(8705),i=e(2813),a=e(6682),u=e(9667),s=e(163),c=e(4801),l=e(4289),f="[object Arguments]",d="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,g,m,y){var v=s(t),b=s(n),x=v?d:u(t),w=b?d:u(n),M=(x=x==f?h:x)==h,E=(w=w==f?h:w)==h,k=x==w;if(k&&c(t)){if(!c(n))return!1;v=!0,M=!1}if(k&&!M)return y||(y=new r),v||l(t)?o(t,n,e,g,m,y):i(t,n,x,e,g,m,y);if(!(1&e)){var A=M&&p.call(t,"__wrapped__"),O=E&&p.call(n,"__wrapped__");if(A||O){var j=A?t.value():t,S=O?n.value():n;return y||(y=new r),m(j,S,e,g,y)}}return!!k&&(y||(y=new r),a(t,n,e,g,m,y))}},9548:function(t,n,e){var r=e(8708),o=e(9070);t.exports=function(t,n,e,i){var a=e.length,u=a,s=!i;if(null==t)return!u;for(t=Object(t);a--;){var c=e[a];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a<u;){var l=(c=e[a])[0],f=t[l],d=c[1];if(s&&c[2]){if(void 0===f&&!(l in t))return!1}else{var h=new r;if(i)var p=i(f,d,l,t,n,h);if(!(void 0===p?o(d,f,3,i,h):p))return!1}}return!0}},3472:function(t,n,e){var r=e(758),o=e(5223),i=e(5346),a=e(163),u=e(8532);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):r(t):u(t)}},7190:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},383:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,o=Array(r);++e<r;)o[e]=n(t[e],e,t);return o}},758:function(t,n,e){var r=e(9548),o=e(597),i=e(6878);t.exports=function(t){var n=o(t);return 1==n.length&&n[0][2]?i(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},5223:function(t,n,e){var r=e(9070),o=e(9201),i=e(5066),a=e(726),u=e(5385),s=e(6878),c=e(3110);t.exports=function(t,n){return a(t)&&u(n)?s(c(t),n):function(e){var a=o(e,t);return void 0===a&&a===n?i(e,t):r(n,a,3)}}},8245:function(t,n,e){var r=e(8644),o=e(4432),i=e(3472),a=e(383),u=e(9521),s=e(9110),c=e(9409),l=e(5346),f=e(163);t.exports=function(t,n,e){n=n.length?r(n,(function(t){return f(t)?function(n){return o(n,1===t.length?t[0]:t)}:t})):[l];var d=-1;n=r(n,s(i));var h=a(t,(function(t,e,o){return{criteria:r(n,(function(n){return n(t)})),index:++d,value:t}}));return u(h,(function(t,n){return c(t,n,e)}))}},5436:function(t,n,e){var r=e(6371),o=e(5066);t.exports=function(t,n){return r(t,n,(function(n,e){return o(t,e)}))}},6371:function(t,n,e){var r=e(4432),o=e(6539),i=e(9026);t.exports=function(t,n,e){for(var a=-1,u=n.length,s={};++a<u;){var c=n[a],l=r(t,c);e(l,c)&&o(s,i(c,t),l)}return s}},1600:function(t){t.exports=function(t){return function(n){return null==n?void 0:n[t]}}},3301:function(t,n,e){var r=e(4432);t.exports=function(t){return function(n){return r(n,t)}}},6317:function(t,n,e){var r=e(5346),o=e(4280),i=e(201);t.exports=function(t,n){return i(o(t,n,r),t+"")}},6539:function(t,n,e){var r=e(4132),o=e(9026),i=e(9099),a=e(7709),u=e(3110);t.exports=function(t,n,e,s){if(!a(t))return t;for(var c=-1,l=(n=o(n,t)).length,f=l-1,d=t;null!=d&&++c<l;){var h=u(n[c]),p=e;if("__proto__"===h||"constructor"===h||"prototype"===h)return t;if(c!=f){var g=d[h];void 0===(p=s?s(g,h,d):void 0)&&(p=a(g)?g:i(n[c+1])?[]:{})}r(d,h,p),d=d[h]}return t}},9521:function(t){t.exports=function(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}},7556:function(t,n,e){var r=e(788);t.exports=function(t,n){for(var e=-1,o=t.length,i=0,a=[];++e<o;){var u=t[e],s=n?n(u):u;if(!e||!r(s,c)){var c=s;a[i++]=0===u?0:u}}return a}},6316:function(t,n,e){var r=e(2596),o=e(8644),i=e(163),a=e(1995),u=r?r.prototype:void 0,s=u?u.toString:void 0;t.exports=function t(n){if("string"==typeof n)return n;if(i(n))return o(n,t)+"";if(a(n))return s?s.call(n):"";var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},9110:function(t){t.exports=function(t){return function(n){return t(n)}}},946:function(t,n,e){var r=e(3273),o=e(5510),i=e(9955),a=e(9914),u=e(6602),s=e(6226);t.exports=function(t,n,e){var c=-1,l=o,f=t.length,d=!0,h=[],p=h;if(e)d=!1,l=i;else if(f>=200){var g=n?null:u(t);if(g)return s(g);d=!1,l=a,p=new r}else p=n?[]:h;t:for(;++c<f;){var m=t[c],y=n?n(m):m;if(m=e||0!==m?m:0,d&&y==y){for(var v=p.length;v--;)if(p[v]===y)continue t;n&&p.push(y),h.push(m)}else l(p,y,e)||(p!==h&&p.push(y),h.push(m))}return h}},9914:function(t,n,e){var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9026:function(t,n,e){var r=e(163),o=e(726),i=e(7801),a=e(7010);t.exports=function(t,n){return r(t)?t:o(t,n)?[t]:i(a(t))}},522:function(t,n,e){var r=e(1995);t.exports=function(t,n){if(t!==n){var e=void 0!==t,o=null===t,i=t==t,a=r(t),u=void 0!==n,s=null===n,c=n==n,l=r(n);if(!s&&!l&&!a&&t>n||a&&u&&c&&!s&&!l||o&&u&&c||!e&&c||!i)return 1;if(!o&&!a&&!l&&t<n||l&&e&&i&&!o&&!a||s&&e&&i||!u&&i||!c)return-1}return 0}},9409:function(t,n,e){var r=e(522);t.exports=function(t,n,e){for(var o=-1,i=t.criteria,a=n.criteria,u=i.length,s=e.length;++o<u;){var c=r(i[o],a[o]);if(c)return o>=s?c:c*("desc"==e[o]?-1:1)}return t.index-n.index}},9021:function(t,n,e){var r=e(4132),o=e(8347);t.exports=function(t,n,e,i){var a=!e;e||(e={});for(var u=-1,s=n.length;++u<s;){var c=n[u],l=i?i(e[c],t[c],c,e,t):void 0;void 0===l&&(l=t[c]),a?o(e,c,l):r(e,c,l)}return e}},6092:function(t,n,e){var r=e(6317),o=e(8286);t.exports=function(t){return r((function(n,e){var r=-1,i=e.length,a=i>1?e[i-1]:void 0,u=i>2?e[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,u&&o(e[0],e[1],u)&&(a=i<3?void 0:a,i=1),n=Object(n);++r<i;){var s=e[r];s&&t(n,s,r,a)}return n}))}},6602:function(t){t.exports=function(){}},5525:function(t,n,e){var r=e(3743),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},8705:function(t,n,e){var r=e(3273),o=e(1634),i=e(9914);t.exports=function(t,n,e,a,u,s){var c=1&e,l=t.length,f=n.length;if(l!=f&&!(c&&f>l))return!1;var d=s.get(t),h=s.get(n);if(d&&h)return d==n&&h==t;var p=-1,g=!0,m=2&e?new r:void 0;for(s.set(t,n),s.set(n,t);++p<l;){var y=t[p],v=n[p];if(a)var b=c?a(v,y,p,n,t,s):a(y,v,p,t,n,s);if(void 0!==b){if(b)continue;g=!1;break}if(m){if(!o(n,(function(t,n){if(!i(m,n)&&(y===t||u(y,t,e,a,s)))return m.push(n)}))){g=!1;break}}else if(y!==v&&!u(y,v,e,a,s)){g=!1;break}}return s.delete(t),s.delete(n),g}},2813:function(t){t.exports=function(t,n){return t===n||t!=t&&n!=n}},6682:function(t,n,e){var r=e(8143),o=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,i,a,u){var s=1&e,c=r(t),l=c.length;if(l!=r(n).length&&!s)return!1;for(var f=l;f--;){var d=c[f];if(!(s?d in n:o.call(n,d)))return!1}var h=u.get(t),p=u.get(n);if(h&&p)return h==n&&p==t;var g=!0;u.set(t,n),u.set(n,t);for(var m=s;++f<l;){var y=t[d=c[f]],v=n[d];if(i)var b=s?i(v,y,d,n,t,u):i(y,v,d,t,n,u);if(!(void 0===b?y===v||a(y,v,e,i,u):b)){g=!1;break}m||(m="constructor"==d)}if(g&&!m){var x=t.constructor,w=n.constructor;x==w||!("constructor"in t)||!("constructor"in n)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(g=!1)}return u.delete(t),u.delete(n),g}},5557:function(t,n,e){var r=e(2645),o=e(4280),i=e(201);t.exports=function(t){return i(o(t,void 0,r),t+"")}},2117:function(t,n,e){var r="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g;t.exports=r},8143:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},7271:function(t){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},597:function(t,n,e){var r=e(5385),o=e(7747);t.exports=function(t){for(var n=o(t),e=n.length;e--;){var i=n[e],a=t[i];n[e]=[i,a,r(a)]}return n}},3743:function(t){t.exports=function(t,n){return null==t?void 0:t[n]}},9817:function(t,n,e){var r=e(5125)(Object.getPrototypeOf,Object);t.exports=r},9667:function(t){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},3096:function(t,n,e){var r=e(9026),o=e(5075),i=e(163),a=e(9099),u=e(8454),s=e(3110);t.exports=function(t,n,e){for(var c=-1,l=(n=r(n,t)).length,f=!1;++c<l;){var d=s(n[c]);if(!(f=null!=t&&e(t,d)))break;t=t[d]}return f||++c!=l?f:!!(l=null==t?0:t.length)&&u(l)&&a(d,l)&&(i(t)||o(t))}},3608:function(t,n,e){var r=e(2596),o=e(5075),i=e(163),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},9099:function(t){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},8286:function(t){t.exports=function(){return!1}},726:function(t,n,e){var r=e(163),o=e(1995),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,n){if(r(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!o(t))||a.test(t)||!i.test(t)||null!=n&&t in Object(n)}},5782:function(t){t.exports=function(){return!1}},5385:function(t,n,e){var r=e(7709);t.exports=function(t){return t==t&&!r(t)}},1171:function(t){t.exports=function(){this.__data__=[],this.size=0}},7838:function(t,n,e){var r=e(3162),o=Array.prototype.splice;t.exports=function(t){var n=this.__data__,e=r(n,t);return!(e<0||(e==n.length-1?n.pop():o.call(n,e,1),--this.size,0))}},4859:function(t,n,e){var r=e(3162);t.exports=function(t){var n=this.__data__,e=r(n,t);return e<0?void 0:n[e][1]}},4073:function(t,n,e){var r=e(3162);t.exports=function(t){return r(this.__data__,t)>-1}},8541:function(t,n,e){var r=e(3162);t.exports=function(t,n){var e=this.__data__,o=r(e,t);return o<0?(++this.size,e.push([t,n])):e[o][1]=n,this}},6878:function(t){t.exports=function(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}},2453:function(t){t.exports=function(t){return t}},2348:function(t,n,e){t=e.nmd(t);var r=e(2117),o=n&&!n.nodeType&&n,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,u=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u},5125:function(t){t.exports=function(t,n){return function(e){return t(n(e))}}},4280:function(t,n,e){var r=e(6082),o=Math.max;t.exports=function(t,n,e){return n=o(void 0===n?t.length-1:n,0),function(){for(var i=arguments,a=-1,u=o(i.length-n,0),s=Array(u);++a<u;)s[a]=i[n+a];a=-1;for(var c=Array(n+1);++a<n;)c[a]=i[a];return c[n]=e(s),r(t,this,c)}}},2373:function(t,n,e){var r=e(2117),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},6226:function(t){t.exports=function(){return[]}},201:function(t){t.exports=function(t){return t}},7801:function(t,n,e){var r=e(2453),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(o,(function(t,e,r,o){n.push(r?o.replace(i,"$1"):e||t)})),n}));t.exports=a},3110:function(t,n,e){var r=e(1995);t.exports=function(t){if("string"==typeof t||r(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},156:function(t,n,e){var r=e(4132),o=e(9021),i=e(6092),a=e(981),u=e(5782),s=e(7747),c=Object.prototype.hasOwnProperty,l=i((function(t,n){if(u(n)||a(n))o(n,s(n),t);else for(var e in n)c.call(n,e)&&r(t,e,n[e])}));t.exports=l},1893:function(t,n,e){var r=e(6317),o=e(788),i=e(8286),a=e(8855),u=Object.prototype,s=u.hasOwnProperty,c=r((function(t,n){t=Object(t);var e=-1,r=n.length,c=r>2?n[2]:void 0;for(c&&i(n[0],n[1],c)&&(r=1);++e<r;)for(var l=n[e],f=a(l),d=-1,h=f.length;++d<h;){var p=f[d],g=t[p];(void 0===g||o(g,u[p])&&!s.call(t,p))&&(t[p]=l[p])}return t}));t.exports=c},788:function(t){t.exports=function(t,n){return t===n||t!=t&&n!=n}},2645:function(t,n,e){var r=e(6457);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9201:function(t,n,e){var r=e(4432);t.exports=function(t,n,e){var o=null==t?void 0:r(t,n);return void 0===o?e:o}},5066:function(t,n,e){var r=e(6776),o=e(3096);t.exports=function(t,n){return null!=t&&o(t,n,r)}},5346:function(t){t.exports=function(t){return t}},5075:function(t){t.exports=function(){return!1}},163:function(t){var n=Array.isArray;t.exports=n},981:function(t,n,e){var r=e(9642),o=e(8454);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},4801:function(t){t.exports=function(){return!1}},4295:function(t,n,e){var r=e(7537),o=e(9110),i=e(2348),a=i&&i.isDate,u=a?o(a):r;t.exports=u},4155:function(t,n,e){var r=e(7190),o=e(9667),i=e(5075),a=e(163),u=e(981),s=e(4801),c=e(5782),l=e(4289),f=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(u(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||s(t)||l(t)||i(t)))return!t.length;var n=o(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(c(t))return!r(t).length;for(var e in t)if(f.call(t,e))return!1;return!0}},8254:function(t,n,e){var r=e(9070);t.exports=function(t,n){return r(t,n)}},9642:function(t,n,e){var r=e(563),o=e(7709);t.exports=function(t){if(!o(t))return!1;var n=r(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},8454:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7709:function(t){t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},3474:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},3849:function(t,n,e){var r=e(563),o=e(9817),i=e(3474),a=Function.prototype,u=Object.prototype,s=a.toString,c=u.hasOwnProperty,l=s.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var n=o(t);if(null===n)return!0;var e=c.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&s.call(e)==l}},1995:function(t){t.exports=function(){return!1}},4289:function(t){t.exports=function(){return!1}},8999:function(t){t.exports=function(t){return void 0===t}},7747:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},8855:function(t){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},1594:function(t,n,e){var r=e(503);function o(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,o=n?n.apply(this,r):r[0],i=e.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return e.cache=i.set(o,a)||i,a};return e.cache=new(o.Cache||r),e}o.Cache=r,t.exports=o},6051:function(t){t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}},1616:function(t,n,e){var r=e(3472),o=e(6051),i=e(4912);t.exports=function(t,n){return i(t,o(r(n)))}},4143:function(t,n,e){var r=e(8245),o=e(163);t.exports=function(t,n,e,i){return null==t?[]:(o(n)||(n=null==n?[]:[n]),o(e=i?void 0:e)||(e=null==e?[]:[e]),r(t,n,e))}},9082:function(t,n,e){var r=e(5436),o=e(5557)((function(t,n){return null==t?{}:r(t,n)}));t.exports=o},4912:function(t,n,e){var r=e(8644),o=e(3472),i=e(6371),a=e(7271);t.exports=function(t,n){if(null==t)return{};var e=r(a(t),(function(t){return[t]}));return n=o(n),i(t,e,(function(t,e){return n(t,e[0])}))}},8532:function(t,n,e){var r=e(1600),o=e(3301),i=e(726),a=e(3110);t.exports=function(t){return i(t)?r(a(t)):o(t)}},2829:function(t,n,e){var r=e(7556);t.exports=function(t){return t&&t.length?r(t):[]}},7010:function(t,n,e){var r=e(6316);t.exports=function(t){return null==t?"":r(t)}},9602:function(t,n,e){var r=e(946);t.exports=function(t){return t&&t.length?r(t):[]}},660:function(t,n,e){var r=e(7010),o=0;t.exports=function(t){var n=++o;return r(t)+n}},7491:function(t){var n="undefined"!=typeof Element,e="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var u,s,c,l;if(Array.isArray(t)){if((u=t.length)!=a.length)return!1;for(s=u;0!=s--;)if(!i(t[s],a[s]))return!1;return!0}if(e&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(s=l.next()).done;)if(!a.has(s.value[0]))return!1;for(l=t.entries();!(s=l.next()).done;)if(!i(s.value[1],a.get(s.value[0])))return!1;return!0}if(r&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(l=t.entries();!(s=l.next()).done;)if(!a.has(s.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((u=t.length)!=a.length)return!1;for(s=u;0!=s--;)if(t[s]!==a[s])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((u=(c=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(s=u;0!=s--;)if(!Object.prototype.hasOwnProperty.call(a,c[s]))return!1;if(n&&t instanceof Element)return!1;for(s=u;0!=s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!t.$$typeof)&&!i(t[c[s]],a[c[s]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,n){try{return i(t,n)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},9787:function(n){"use strict";n.exports=t}},e={};function r(t){var o=e[t];if(void 0!==o)return o.exports;var i=e[t]={id:t,loaded:!1,exports:{}};return n[t](i,i.exports,r),i.loaded=!0,i.exports}r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,{a:n}),n},r.d=function(t,n){for(var e in n)r.o(n,e)&&!r.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t};var o={};return function(){"use strict";r.r(o),r.d(o,{ErrorBar:function(){return Mr},VictoryErrorBar:function(){return Ns}});var t={};r.r(t),r.d(t,{easeBack:function(){return _n},easeBackIn:function(){return Dn},easeBackInOut:function(){return _n},easeBackOut:function(){return Nn},easeBounce:function(){return Sn},easeBounceIn:function(){return jn},easeBounceInOut:function(){return Cn},easeBounceOut:function(){return Sn},easeCircle:function(){return An},easeCircleIn:function(){return En},easeCircleInOut:function(){return An},easeCircleOut:function(){return kn},easeCubic:function(){return ln},easeCubicIn:function(){return sn},easeCubicInOut:function(){return ln},easeCubicOut:function(){return cn},easeElastic:function(){return In},easeElasticIn:function(){return $n},easeElasticInOut:function(){return Un},easeElasticOut:function(){return In},easeExp:function(){return Mn},easeExpIn:function(){return xn},easeExpInOut:function(){return Mn},easeExpOut:function(){return wn},easeLinear:function(){return rn},easePoly:function(){return hn},easePolyIn:function(){return fn},easePolyInOut:function(){return hn},easePolyOut:function(){return dn},easeQuad:function(){return un},easeQuadIn:function(){return on},easeQuadInOut:function(){return un},easeQuadOut:function(){return an},easeSin:function(){return vn},easeSinIn:function(){return mn},easeSinInOut:function(){return vn},easeSinOut:function(){return yn}});var n={};r.r(n),r.d(n,{scaleBand:function(){return $r},scaleDiverging:function(){return Ru},scaleDivergingLog:function(){return Yu},scaleDivergingPow:function(){return Bu},scaleDivergingSqrt:function(){return Vu},scaleDivergingSymlog:function(){return qu},scaleIdentity:function(){return Oo},scaleImplicit:function(){return _r},scaleLinear:function(){return Ao},scaleLog:function(){return $o},scaleOrdinal:function(){return Pr},scalePoint:function(){return Ur},scalePow:function(){return Yo},scaleQuantile:function(){return ei},scaleQuantize:function(){return ri},scaleRadial:function(){return Ko},scaleSequential:function(){return $u},scaleSequentialLog:function(){return Iu},scaleSequentialPow:function(){return Lu},scaleSequentialQuantile:function(){return Fu},scaleSequentialSqrt:function(){return Wu},scaleSequentialSymlog:function(){return Uu},scaleSqrt:function(){return qo},scaleSymlog:function(){return Wo},scaleThreshold:function(){return oi},scaleTime:function(){return Du},scaleUtc:function(){return Nu},tickFormat:function(){return Eo}});var e=r(9787),i=r.n(e),a=r(7709),u=r.n(a),s=r(660),c=r.n(s),l=r(1893),f=r.n(l);class d extends i().Component{static displayName="Portal";constructor(t){super(t),this.map={},this.index=1}portalRegister=()=>++this.index;portalUpdate=(t,n)=>{this.map[t]=n,this.forceUpdate()};portalDeregister=t=>{delete this.map[t],this.forceUpdate()};getChildren(){return Object.keys(this.map).map((t=>{const n=this.map[t];return n?i().cloneElement(n,{key:t}):n}))}render(){return i().createElement("svg",this.props,this.getChildren())}}const h=i().createContext({});h.displayName="PortalContext";var p,g,m=0,y=0,v=0,b=0,x=0,w=0,M="object"==typeof performance&&performance.now?performance:Date,E="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function k(){return x||(E(A),x=M.now()+w)}function A(){x=0}function O(){this._call=this._time=this._next=null}function j(t,n,e){var r=new O;return r.restart(t,n,e),r}function S(){x=(b=M.now())+w,m=y=0;try{!function(){k(),++m;for(var t,n=p;n;)(t=x-n._time)>=0&&n._call.call(void 0,t),n=n._next;--m}()}finally{m=0,function(){for(var t,n,e=p,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:p=n);g=t,T(r)}(),x=0}}function C(){var t=M.now(),n=t-b;n>1e3&&(w-=n,b=t)}function T(t){m||(y&&(y=clearTimeout(y)),t-x>24?(t<1/0&&(y=setTimeout(S,t-M.now()-w)),v&&(v=clearInterval(v))):(v||(b=M.now(),v=setInterval(C,1e3)),m=1,E(S)))}O.prototype=j.prototype={constructor:O,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?k():+e)+(null==n?0:+n),this._next||g===this||(g?g._next=this:p=this,g=this),this._call=t,this._time=e,T()},stop:function(){this._call&&(this._call=null,this._time=1/0,T())}};class D{constructor(){this.shouldAnimate=!0,this.subscribers=[],this.timer=null,this.activeSubscriptions=0}bypassAnimation(){this.shouldAnimate=!1}resumeAnimation(){this.shouldAnimate=!0}loop=()=>{this.subscribers.forEach((t=>{t.callback(k()-t.startTime,t.duration)}))};start(){this.timer||(this.timer=j(this.loop))}stop(){this.timer&&(this.timer.stop(),this.timer=null)}subscribe(t,n){const e=this.subscribers.push({startTime:k(),callback:t,duration:this.shouldAnimate?n:0});return this.activeSubscriptions++,this.start(),e}unsubscribe(t){null!==t&&this.subscribers[t-1]&&(delete this.subscribers[t-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}const N=i().createContext({transitionTimer:new D,animationTimer:new D});N.displayName="TimerContext";var _=N,P=r(9082),$=r.n(P),I=r(8532),U=r.n(I);function L(t,n){void 0===n&&(n=[]);const e={};for(const r in t)n.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function W(t){const n=t=>void 0!==t,{_x:e,_x1:r,_x0:o,_voronoiX:i,_y:a,_y1:u,_y0:s,_voronoiY:c}=t,l=n(r)?r:e,d=n(u)?u:a,h={x:n(i)?i:l,x0:n(o)?o:e,y:n(c)?c:d,y0:n(s)?s:a};return f()({},h,t)}function F(t,n){const{scale:e,polar:r,horizontal:o}=t,i=W(n),a=t.origin||{x:0,y:0},u=o?e.y(i.y):e.x(i.x),s=o?e.y(i.y0):e.x(i.x0),c=o?e.x(i.x):e.y(i.y),l=o?e.x(i.x0):e.y(i.y0);return{x:r?c*Math.cos(u)+a.x:u,x0:r?l*Math.cos(s)+a.x:s,y:r?-c*Math.sin(u)+a.y:c,y0:r?-l*Math.sin(s)+a.x:l}}function z(t,n){void 0===n&&(n="padding");const e=t[n],r="number"==typeof e?e:0,o="object"==typeof e?e:{};return{top:o.top||r,bottom:o.bottom||r,left:o.left||r,right:o.right||r}}function H(t){return"tooltip"===(t&&t.type&&t.type.role)}function R(t,n){return G(t)?t(n):t}function Y(t,n){return n.disableInlineStyles?{}:t&&Object.keys(t).some((n=>G(t[n])))?Object.keys(t).reduce(((e,r)=>(e[r]=R(t[r],n),e)),{}):t}function q(t){return"number"==typeof t?t*(Math.PI/180):t}function B(t){const{left:n,right:e,top:r,bottom:o}=z(t),{width:i,height:a}=t;return Math.min(i-n-e,a-r-o)/2}function V(t,n){return t.range&&t.range[n]?t.range[n]:t.range&&Array.isArray(t.range)?t.range:t.polar?function(t,n){return"x"===n?[q(t.startAngle||0),q(t.endAngle||360)]:[t.innerRadius||0,B(t)]}(t,n):function(t,n){const e="x"!==n,r=z(t);return e?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,n)}function K(t){return null==t}function G(t){return"function"==typeof t}function X(t){return G(t)?t:null==t?t=>t:U()(t)}function Z(t,n,e){const r=L(t.theme&&t.theme[e]?t.theme[e]:{},["style"]),o=function(t){if(void 0!==t.horizontal||!t.children)return t.horizontal;const n=t=>t.reduce(((t,e)=>{const r=e.props||{};return t||r.horizontal||!r.children?t||r.horizontal:n(i().Children.toArray(r.children))}),!1);return n(i().Children.toArray(t.children))}(t),a=void 0===o?{}:{horizontal:o};return f()(a,t,r,n)}const Q={startsWith:["data-","aria-"],exactMatch:[]},J=t=>{const n={...t};return Object.fromEntries(Object.entries(n).filter((t=>{let[n]=t;return(t=>!(!(t=>{let n=!1;return Q.startsWith.forEach((e=>{new RegExp(`\\b(${e})(\\w|-)+`,"g").test(t)&&(n=!0)})),n})(t)&&!(t=>Q.exactMatch.includes(t))(t)))(n)})).map((n=>{let[e,r]=n;return[e,R(r,t)]})))};function tt(){return tt=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},tt.apply(this,arguments)}class nt extends i().Component{static displayName="VictoryContainer";static role="container";static defaultProps={className:"VictoryContainer",portalComponent:i().createElement(d,null),portalZIndex:99,responsive:!0,role:"img"};static contextType=_;constructor(t){super(t),this.containerId=u()(t)&&void 0!==t.containerId?t.containerId:c()("victory-container-"),this.shouldHandleWheel=!!(t&&t.events&&t.events.onWheel)}savePortalRef=t=>(this.portalRef=t,t);portalUpdate=(t,n)=>this.portalRef.portalUpdate(t,n);portalRegister=()=>this.portalRef.portalRegister();portalDeregister=t=>this.portalRef.portalDeregister(t);saveContainerRef=t=>(G(this.props.containerRef)&&this.props.containerRef(t),this.containerRef=t,t);handleWheel=t=>t.preventDefault();componentDidMount(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}componentWillUnmount(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}getIdForElement(t){return`${this.containerId}-${t}`}getChildren(t){return t.children}getOUIAProps(t){const{ouiaId:n,ouiaSafe:e,ouiaType:r}=t;return{...n&&{"data-ouia-component-id":n},...r&&{"data-ouia-component-type":r},...void 0!==e&&{"data-ouia-safe":e}}}renderContainer(t,n,e){const{title:r,desc:o,portalComponent:a,className:u,width:s,height:c,portalZIndex:l,responsive:d}=t,p=this.getChildren(t),g=d?{width:"100%",height:"100%"}:{width:s,height:c},m=Object.assign({pointerEvents:"none",touchAction:"none",position:"relative"},g),y=Object.assign({zIndex:l,position:"absolute",top:0,left:0},g),v=Object.assign({pointerEvents:"all"},g),b=Object.assign({overflow:"visible"},g),x={width:s,height:c,viewBox:n.viewBox,preserveAspectRatio:n.preserveAspectRatio,style:b};return i().createElement(h.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},i().createElement("div",tt({style:f()({},e,m),className:u,ref:this.saveContainerRef},this.getOUIAProps(t)),i().createElement("svg",tt({},n,{style:v}),r?i().createElement("title",{id:this.getIdForElement("title")},r):null,o?i().createElement("desc",{id:this.getIdForElement("desc")},o):null,p),i().createElement("div",{style:y},i().cloneElement(a,{...x,ref:this.savePortalRef}))))}render(){const{width:t,height:n,responsive:e,events:r,title:o,desc:i,tabIndex:a,preserveAspectRatio:u,role:s}=this.props,c=e?this.props.style:L(this.props.style,["height","width"]),l=J(this.props),f=Object.assign({width:t,height:n,tabIndex:a,role:s,"aria-labelledby":[o&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[i&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:e?`0 0 ${t} ${n}`:void 0,preserveAspectRatio:e?u:void 0,...l},r);return this.renderContainer(this.props,f,c)}}var et=r(4155),rt=r.n(et);class ot extends i().Component{static displayName="VictoryPortal";static role="portal";static defaultProps={groupComponent:i().createElement("g",null)};static contextType=h;componentDidMount(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}componentDidUpdate(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}componentWillUnmount(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}renderPortal(t){return this.renderInPlace?t:(this.element=t,null)}render(){const t=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,{groupComponent:n}=this.props,e=t&&t.props||{},r=e.groupComponent?{groupComponent:n,standalone:!1}:{},o=f()(r,e,L(this.props,["children","groupComponent"])),a=t&&i().cloneElement(t,o);return this.renderPortal(a)}}function it(){return it=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},it.apply(this,arguments)}const at=(0,e.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:o,origin:a,...u}=t,s={vectorEffect:"non-scaling-stroke",id:R(r,t)?.toString(),tabIndex:R(o,t),...u};return e?i().createElement("rect",it({},s,{ref:n}),i().createElement("desc",null,e)):i().createElement("rect",it({},s,{ref:n}))})),ut=t=>{const{children:n,desc:e,id:r,origin:o,tabIndex:a,title:u,...s}=t,c={id:R(r,t)?.toString(),tabIndex:R(a,t),...s};return i().createElement("text",c,u&&i().createElement("title",null,u),e&&i().createElement("desc",null,e),n)},st=t=>{const{desc:n,id:e,tabIndex:r,origin:o,...a}=t,u={id:R(e,t)?.toString(),tabIndex:R(r,t),...a};return i().createElement("tspan",u)};const ct=function(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];if(e.length>0)return e.reduce(((t,n)=>[t,ct(n)].join(" ")),ct(t)).trim();if(null==t||"string"==typeof t)return t;const o=[];for(const n in t)if(t.hasOwnProperty(n)){const e=t[n];o.push(`${n}(${e})`)}return o.join(" ").trim()};var lt=r(1594),ft=r.n(lt);const dt={"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}},ht={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},pt={em:1,ex:.5},gt={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},mt=t=>Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g),yt=(t,n,e)=>{const r=(t=>t*Math.PI/180)(e);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*n)},vt=(t,n)=>{const e=t.match(/[a-zA-Z%]+/)?.[0],r=Number(t.match(/[0-9.,]+/));let o;return o=e?ht.hasOwnProperty(e)?r*ht[e]:pt.hasOwnProperty(e)?(n?r*n:r*gt.fontSize)*pt[e]:r:r||0,o},bt=(t,n)=>{const e=Array.isArray(t)?t[n]:t,r=f()({},e,gt);return Object.assign({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:vt(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:vt(String(r.fontSize))})},xt=(t,n)=>{const e=Array.isArray(n)?n[0]&&n[0].angle:n&&n.angle,r=((t,n)=>void 0===t||""===t||null===t?0:mt(t).reduce(((t,e,r)=>{const o=bt(n,r),i=e.toString().match(/[(A-Z)(0-9)]/)?1.15*o.fontSize:o.fontSize;return t+o.lineHeight*i}),0))(t,n),o=((t,n)=>{if(void 0===t||""===t||null===t)return 0;const e=mt(t).map(((t,e)=>{const r=t.toString().length,{fontSize:o,letterSpacing:i,fontFamily:a}=bt(n,e),u=(t=>{const n=t.split(",").map((t=>t.replace(/'|"/g,""))).find((t=>dt[t]))||"Helvetica";return dt[n]})(a);return t.toString().split("").map((t=>t.charCodeAt(0)<u.widths.length?u.widths[t.charCodeAt(0)]:u.avg)).reduce(((t,n)=>n+t),0)*o+i*Math.max(r-1,0)}));return Math.max(...e)})(t,n);return{width:e?yt(o,r,e):o,height:1.05*(e?yt(r,o,e):r)}},wt=ft()((()=>{const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("xlink","http://www.w3.org/1999/xlink"),t.setAttribute("width","300"),t.setAttribute("height","300"),t.setAttribute("viewBox","0 0 300 300"),t.setAttribute("aria-hidden","true");const n=document.createElementNS("http://www.w3.org/2000/svg","text");return t.appendChild(n),t.style.position="fixed",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t),n})),Mt=t=>t?`${t.angle}:${t.fontFamily}:${t.fontSize}:${t.letterSpacing}:${t.lineHeight}`:"null",Et=ft()(((t,n)=>{let e=wt();e.isConnected||(wt.cache.clear?.(),e=wt());const r=mt(t);let o=0;for(const[t,i]of r.entries()){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan"),a=bt(n,t);r.style.fontFamily=a.fontFamily,r.style.fontSize=`${a.fontSize}px`,r.style.lineHeight=a.lineHeight,r.style.fontFamily=a.fontFamily,r.style.letterSpacing=a.letterSpacing,r.textContent=i,r.setAttribute("x","0"),r.setAttribute("y",`${o}`),e.appendChild(r),o+=a.lineHeight*r.getBoundingClientRect().height}const{width:i}=e.getBoundingClientRect();return e.innerHTML="",{width:n?.angle?yt(i,o,n?.angle):i,height:n?.angle?yt(o,i,n?.angle):o}}),((t,n)=>`${Array.isArray(t)?t.join():t}::${Array.isArray(n)?n.map(Mt).join():Mt(n)}`)),kt=(t,n)=>function(t,n,e){return void 0===e&&(e=!1),"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||e?xt(t,n):Et(t,n)}(t,n),At={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Ser­avek', 'Trebuchet MS', sans-serif",stroke:"transparent"},Ot=(t,n)=>t.datum?F(t,t.datum)[n]:0,jt=t=>{const n=t&&t.fontSize;if("number"==typeof n)return n;if(null==n)return At.fontSize;if("string"==typeof n){const t=Number(n.replace("px",""));return isNaN(t)?At.fontSize:t}return At.fontSize},St=function(t,n){return void 0===n&&(n=0),Array.isArray(t)?t[n]||t[0]:t},Ct=t=>{const{backgroundStyle:n,backgroundPadding:e}=t;return Array.isArray(n)&&!rt()(n)||Array.isArray(e)&&!rt()(e)},Tt=(t,n,e)=>{const{polar:r}=t,o=St(t.style),i=r?function(t,n){const{labelPlacement:e,datum:r}=t;if(!e||"vertical"===e)return 0;const o=function(t,n){const{x:e}=W(n);return("number"==typeof(r=t.scale.x(e))?r/(Math.PI/180):r)%360;var r}(t,r);let i=0;return 0===o||180===o?i=90:o>0&&o<180?i=90-o:o>180&&o<360&&(i=270-o),i+(o>90&&o<180||o>270?1:-1)*("perpendicular"===e?0:90)}(t):0,a=void 0===o.angle?R(t.angle,t):o.angle,u=void 0===a?i:a,s=t.transform||o.transform,c=s&&R(s,t);return c||u?ct(c,u&&{rotate:[u,n,e]}):void 0},Dt=(t,n)=>{const{direction:e,textAnchor:r,x:o,dx:i}=t;if("rtl"===e)return o-n;switch(r){case"middle":return Math.round(o-n/2);case"end":return Math.round(o-n);default:return o+(i||0)}},Nt=(t,n)=>{const{verticalAnchor:e,y:r,originalDy:o=0}=t,i=r+o;switch(e){case"start":return Math.floor(i);case"end":return Math.ceil(i-n);default:return Math.floor(i-n/2)}},_t=(t,n)=>Ct(t)?((t,n)=>{const{dy:e,dx:r,transform:o,backgroundStyle:a,backgroundPadding:u,backgroundComponent:s,inline:c,y:l}=t,d=n.map(((t,o)=>{const i=St(n,o-1),a=t.textSize,s=t.fontSize*t.lineHeight,f=Math.ceil(s),d=St(u,o),h=St(u,o-1),p=c&&r||0,g=o&&!c?i.fontSize*i.lineHeight+h.top+h.bottom:e-.5*s-(t.fontSize-t.capHeight);return{textHeight:f,labelSize:a,heightWithPadding:f+d.top+d.bottom,widthWithPadding:a.width+d.left+d.right+p,y:l,fontSize:t.fontSize,dy:g}}));return d.map(((n,e)=>{const r=Dt(t,n.labelSize.width),h=d.slice(0,e+1).reduce(((t,n)=>t+n.dy),l),p=St(u,e),g=n.heightWithPadding,m=c?((t,n,e)=>{const{textAnchor:r}=t,o=n.map((t=>t.widthWithPadding)),i=-o.reduce(((t,n)=>t+n),0)/2;switch(r){case"start":return o.reduce(((t,n,r)=>r<e?t+n:t),0);case"end":return o.reduce(((t,n,r)=>r>e?t-n:t),0);default:return o.reduce(((t,n,r)=>r===e?t+n/2:t+(r<e?n:0)),i)}})(t,d,e)+r-p.left:r,y=c?Nt(t,g)-p.top:h,v={key:`tspan-background-${e}`,height:g,style:St(a,e),width:n.widthWithPadding,transform:o,x:m-p.left,y:y};return i().cloneElement(s,f()({},s.props,v))}))})(t,n):((t,n)=>{const{dx:e=0,transform:r,backgroundComponent:o,backgroundStyle:a,inline:u,backgroundPadding:s,capHeight:c}=t,l=n.map((t=>t.textSize)),d=u?Math.max(...l.map((t=>t.height))):l.reduce(((t,e,r)=>{const o=r?0:c/2;return t+e.height*(n[r].lineHeight-o)}),0),h=u?l.reduce(((t,n,r)=>{const o=r?e:0;return t+n.width+o}),0):Math.max(...l.map((t=>t.width))),p=Dt(t,h),g=Nt(t,d),m={key:"background",height:d+s.top+s.bottom,style:a,transform:r,width:h+s.left+s.right,x:u?p-s.left:p+e-s.left,y:g};return i().cloneElement(o,f()({},o.props,m))})(t,n),Pt=(t,n,e)=>{const{inline:r}=n,o=St(t,e);return e&&!r?((t,n,e)=>{const r=St(t,n),o=St(t,n-1),i=o.fontSize*o.lineHeight,a=r.fontSize*r.lineHeight,u=o.fontSize-o.capHeight,s=r.fontSize-r.capHeight,c=i-o.fontSize/2+r.fontSize/2-i/2+a/2-s/2+u/2;return Ct(e)?c+r.backgroundPadding.top+o.backgroundPadding.bottom:c})(t,e,n):r?0===e?o.backgroundPadding.top:void 0:o.backgroundPadding.top},$t={backgroundComponent:i().createElement(at,null),groupComponent:i().createElement("g",null),direction:"inherit",textComponent:i().createElement(ut,null),tspanComponent:i().createElement(st,null),capHeight:.71,lineHeight:1},It=t=>{const n=(t=>{const n=((t,n)=>{if(null==t)return;if(Array.isArray(t))return t.map((t=>R(t,n)));const e=R(t,n);return null!=e?Array.isArray(e)?e:`${e}`.split("\n"):void 0})(t.text,t),e=((t,n)=>{if(n.disableInlineStyles){const e=Y(t,n);return{fontSize:jt(e)}}const e=t=>{const e=Y(t?f()({},t,At):At,n);return Object.assign({},e,{fontSize:jt(e)})};return Array.isArray(t)&&!rt()(t)?t.map((t=>e(t))):e(t)})(t.style,Object.assign({},t,{text:n})),r=((t,n)=>{if(t)return Array.isArray(t)&&!rt()(t)?t.map((t=>Y(t,n))):Y(t,n)})(t.backgroundStyle,Object.assign({},t,{text:n,style:e})),o=(t=>t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((n=>z({padding:R(n,t)}))):z({padding:R(t.backgroundPadding,t)}))(Object.assign({},t,{text:n,style:e,backgroundStyle:r})),i=R(t.id,t);return Object.assign({},t,{backgroundStyle:r,backgroundPadding:o,style:e,text:n,id:i})})(f()({},t,$t));if(null===n.text||void 0===n.text)return null;const e=(t=>{const n=R(t.ariaLabel,t),e=St(t.style),r=(t=>{const n=R(t.lineHeight,t);return Array.isArray(n)&&rt()(n)?[1]:n})(t),o=t.direction?R(t.direction,t):"inherit",i=t.textAnchor?R(t.textAnchor,t):e.textAnchor||"start",a=t.verticalAnchor?R(t.verticalAnchor,t):e.verticalAnchor||"middle",u=t.dx?R(t.dx,t):0,s=((t,n,e)=>{const r=t.dy?R(t.dy,t):0,o=t.inline?1:t.text.length,i=R(t.capHeight,t),a=n?R(n,t):"middle",u=[...Array(o).keys()].map((n=>St(t.style,n).fontSize)),s=[...Array(o).keys()].map((t=>St(e,t)));if("start"===a)return r+(i/2+s[0]/2)*u[0];if(t.inline)return"end"===a?r+(i/2-s[0]/2)*u[0]:r+i/2*u[0];if(1===o)return"end"===a?r+(i/2+(.5-o)*s[0])*u[0]:r+(i/2+(.5-o/2)*s[0])*u[0];const c=[...Array(o).keys()].reduce(((t,n)=>t+(i/2+(.5-o)*s[n])*u[n]/o),0);return"end"===a?r+c:r+c/2+i/2*s[o-1]*u[o-1]})(t,a,r),c=void 0!==t.x?t.x:Ot(t,"x"),l=void 0!==t.y?t.y:Ot(t,"y"),f=Tt(t,c,l);return Object.assign({},t,{ariaLabel:n,lineHeight:r,direction:o,textAnchor:i,verticalAnchor:a,dx:u,dy:s,originalDy:R(t.dy,t),transform:f,x:c,y:l})})(n),{text:r,style:o,capHeight:a,backgroundPadding:u,lineHeight:s}=e,c=r.map(((t,n)=>{const e=St(o,n),r=vt(`${a}em`,e.fontSize),i=St(s,n);return{style:e,fontSize:e.fontSize||At.fontSize,capHeight:r,text:t,textSize:kt(t,e),lineHeight:i,backgroundPadding:St(u,n)}})),l=((t,n)=>{const{ariaLabel:e,inline:r,className:o,title:a,events:u,direction:s,text:c,textAnchor:l,dx:f,dy:d,transform:h,x:p,y:g,desc:m,id:y,tabIndex:v,tspanComponent:b,textComponent:x}=t,w=J(t),M={"aria-label":e,key:"text",...u,direction:s,dx:f,x:p,y:g+d,transform:h,className:o,title:a,desc:R(m,t),tabIndex:R(v,t),id:y,...w},E=c.map(((e,o)=>{const a=n[o].style,u={key:`${y}-key-${o}`,x:r?void 0:p,dx:r?f+n[o].backgroundPadding.left:f,dy:Pt(n,t,o),textAnchor:a.textAnchor||l,style:a,children:e};return i().cloneElement(b,u)}));return i().cloneElement(x,M,E)})(e,c);if(n.backgroundStyle){const t=[_t(e,c),l],r=i().cloneElement(n.groupComponent,{},t);return n.renderInPortal?i().createElement(ot,null,r):r}return n.renderInPortal?i().createElement(ot,null,l):l};It.displayName="VictoryLabel",It.role="label",It.defaultStyles=At;const Ut=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],Lt="#252525",Wt="#969696",Ft={width:450,height:300,padding:50,colorScale:Ut},zt={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:Lt,stroke:"transparent"},Ht=Object.assign({textAnchor:"middle"},zt),Rt={area:Object.assign({style:{data:{fill:Lt},labels:zt}},Ft),axis:Object.assign({style:{axis:{fill:"transparent",stroke:Lt,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},Ht,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:zt}},Ft),bar:Object.assign({style:{data:{fill:Lt,padding:8,strokeWidth:0},labels:zt}},Ft),boxplot:Object.assign({style:{max:{padding:8,stroke:Lt,strokeWidth:1},maxLabels:Object.assign({},zt,{padding:3}),median:{padding:8,stroke:Lt,strokeWidth:1},medianLabels:Object.assign({},zt,{padding:3}),min:{padding:8,stroke:Lt,strokeWidth:1},minLabels:Object.assign({},zt,{padding:3}),q1:{padding:8,fill:Wt},q1Labels:Object.assign({},zt,{padding:3}),q3:{padding:8,fill:Wt},q3Labels:Object.assign({},zt,{padding:3})},boxWidth:20},Ft),candlestick:Object.assign({style:{data:{stroke:Lt,strokeWidth:1},labels:Object.assign({},zt,{padding:5})},candleColors:{positive:"#ffffff",negative:Lt}},Ft),chart:Ft,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:Lt,strokeWidth:2},labels:zt}},Ft),group:Object.assign({colorScale:Ut},Ft),histogram:Object.assign({style:{data:{fill:Wt,stroke:Lt,strokeWidth:2},labels:zt}},Ft),legend:{colorScale:Ut,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:zt,title:Object.assign({},zt,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:Lt,strokeWidth:2},labels:zt}},Ft),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},zt,{padding:20})},colorScale:Ut,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:Lt,stroke:"transparent",strokeWidth:0},labels:zt}},Ft),stack:Object.assign({colorScale:Ut},Ft),tooltip:{style:Object.assign({},zt,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:Lt,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},zt,{padding:5,pointerEvents:"none"}),flyout:{stroke:Lt,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Ft)},Yt=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],qt="#ECEFF1",Bt="#90A4AE",Vt="#455A64",Kt="#212121",Gt={width:350,height:350,padding:50},Xt={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:Vt,stroke:"transparent",strokeWidth:0},Zt=Object.assign({textAnchor:"middle"},Xt),Qt="round",Jt="round",tn=(Object.assign({style:{data:{fill:Kt},labels:Xt}},Gt),Object.assign({style:{axis:{fill:"transparent",stroke:Bt,strokeWidth:2,strokeLinecap:Qt,strokeLinejoin:Jt},axisLabel:Object.assign({},Zt,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:qt,strokeDasharray:"10, 5",strokeLinecap:Qt,strokeLinejoin:Jt,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:Bt,strokeWidth:1,strokeLinecap:Qt,strokeLinejoin:Jt},tickLabels:Object.assign({},Xt,{fill:Vt})}},Gt),Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),Object.assign({style:{data:{fill:Vt,padding:8,strokeWidth:0},labels:Xt}},Gt),Object.assign({style:{max:{padding:8,stroke:Vt,strokeWidth:1},maxLabels:Object.assign({},Xt,{padding:3}),median:{padding:8,stroke:Vt,strokeWidth:1},medianLabels:Object.assign({},Xt,{padding:3}),min:{padding:8,stroke:Vt,strokeWidth:1},minLabels:Object.assign({},Xt,{padding:3}),q1:{padding:8,fill:Vt},q1Labels:Object.assign({},Xt,{padding:3}),q3:{padding:8,fill:Vt},q3Labels:Object.assign({},Xt,{padding:3})},boxWidth:20},Gt),Object.assign({style:{data:{stroke:Vt},labels:Object.assign({},Xt,{padding:5})},candleColors:{positive:"#ffffff",negative:Vt}},Gt),Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:Vt,strokeWidth:2},labels:Xt}},Gt),Object.assign({colorScale:Yt},Gt),Object.assign({style:{data:{fill:Vt,stroke:Kt,strokeWidth:2},labels:Xt}},Gt),Object.assign({},Xt,{padding:5}),Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:Vt,strokeWidth:2},labels:Xt}},Gt),Object.assign({colorScale:Yt,style:{data:{padding:8,stroke:qt,strokeWidth:1},labels:Object.assign({},Xt,{padding:20})}},Gt),Object.assign({style:{data:{fill:Vt,opacity:1,stroke:"transparent",strokeWidth:0},labels:Xt}},Gt),Object.assign({colorScale:Yt},Gt),Object.assign({},Xt,{padding:0,pointerEvents:"none"}),Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},Xt,{padding:5,pointerEvents:"none"}),flyout:{stroke:Kt,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Gt),Rt);var nn=r(7491),en=r.n(nn);const rn=t=>+t;function on(t){return t*t}function an(t){return t*(2-t)}function un(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function sn(t){return t*t*t}function cn(t){return--t*t*t+1}function ln(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var fn=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),dn=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),hn=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),pn=Math.PI,gn=pn/2;function mn(t){return 1==+t?1:1-Math.cos(t*gn)}function yn(t){return Math.sin(t*gn)}function vn(t){return(1-Math.cos(pn*t))/2}function bn(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function xn(t){return bn(1-+t)}function wn(t){return 1-bn(t)}function Mn(t){return((t*=2)<=1?bn(1-t):2-bn(t-1))/2}function En(t){return 1-Math.sqrt(1-t*t)}function kn(t){return Math.sqrt(1- --t*t)}function An(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var On=7.5625;function jn(t){return 1-Sn(1-t)}function Sn(t){return(t=+t)<.36363636363636365?On*t*t:t<.7272727272727273?On*(t-=.5454545454545454)*t+.75:t<.9090909090909091?On*(t-=.8181818181818182)*t+.9375:On*(t-=.9545454545454546)*t+.984375}function Cn(t){return((t*=2)<=1?1-Sn(1-t):Sn(t-1)+1)/2}var Tn=1.70158,Dn=function t(n){function e(t){return(t=+t)*t*(n*(t-1)+t)}return n=+n,e.overshoot=t,e}(Tn),Nn=function t(n){function e(t){return--t*t*((t+1)*n+t)+1}return n=+n,e.overshoot=t,e}(Tn),_n=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(Tn),Pn=2*Math.PI,$n=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Pn);function o(t){return n*bn(- --t)*Math.sin((r-t)/e)}return o.amplitude=function(n){return t(n,e*Pn)},o.period=function(e){return t(n,e)},o}(1,.3),In=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Pn);function o(t){return 1-n*bn(t=+t)*Math.sin((t+r)/e)}return o.amplitude=function(n){return t(n,e*Pn)},o.period=function(e){return t(n,e)},o}(1,.3),Un=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Pn);function o(t){return((t=2*t-1)<0?n*bn(-t)*Math.sin((r-t)/e):2-n*bn(t)*Math.sin((r+t)/e))/2}return o.amplitude=function(n){return t(n,e*Pn)},o.period=function(e){return t(n,e)},o}(1,.3),Ln=r(4143),Wn=r.n(Ln),Fn=r(3849),zn=r.n(Fn);function Hn(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function Rn(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function Yn(){}var qn=.7,Bn=1/qn,Vn="\\s*([+-]?\\d+)\\s*",Kn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Gn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Xn=/^#([0-9a-f]{3,8})$/,Zn=new RegExp(`^rgb\\(${Vn},${Vn},${Vn}\\)$`),Qn=new RegExp(`^rgb\\(${Gn},${Gn},${Gn}\\)$`),Jn=new RegExp(`^rgba\\(${Vn},${Vn},${Vn},${Kn}\\)$`),te=new RegExp(`^rgba\\(${Gn},${Gn},${Gn},${Kn}\\)$`),ne=new RegExp(`^hsl\\(${Kn},${Gn},${Gn}\\)$`),ee=new RegExp(`^hsla\\(${Kn},${Gn},${Gn},${Kn}\\)$`),re={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 oe(){return this.rgb().formatHex()}function ie(){return this.rgb().formatRgb()}function ae(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=Xn.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?ue(n):3===e?new fe(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?se(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?se(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=Zn.exec(t))?new fe(n[1],n[2],n[3],1):(n=Qn.exec(t))?new fe(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Jn.exec(t))?se(n[1],n[2],n[3],n[4]):(n=te.exec(t))?se(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=ne.exec(t))?ye(n[1],n[2]/100,n[3]/100,1):(n=ee.exec(t))?ye(n[1],n[2]/100,n[3]/100,n[4]):re.hasOwnProperty(t)?ue(re[t]):"transparent"===t?new fe(NaN,NaN,NaN,0):null}function ue(t){return new fe(t>>16&255,t>>8&255,255&t,1)}function se(t,n,e,r){return r<=0&&(t=n=e=NaN),new fe(t,n,e,r)}function ce(t){return t instanceof Yn||(t=ae(t)),t?new fe((t=t.rgb()).r,t.g,t.b,t.opacity):new fe}function le(t,n,e,r){return 1===arguments.length?ce(t):new fe(t,n,e,null==r?1:r)}function fe(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function de(){return`#${me(this.r)}${me(this.g)}${me(this.b)}`}function he(){const t=pe(this.opacity);return`${1===t?"rgb(":"rgba("}${ge(this.r)}, ${ge(this.g)}, ${ge(this.b)}${1===t?")":`, ${t})`}`}function pe(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function ge(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function me(t){return((t=ge(t))<16?"0":"")+t.toString(16)}function ye(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new be(t,n,e,r)}function ve(t){if(t instanceof be)return new be(t.h,t.s,t.l,t.opacity);if(t instanceof Yn||(t=ae(t)),!t)return new be;if(t instanceof be)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,o=Math.min(n,e,r),i=Math.max(n,e,r),a=NaN,u=i-o,s=(i+o)/2;return u?(a=n===i?(e-r)/u+6*(e<r):e===i?(r-n)/u+2:(n-e)/u+4,u/=s<.5?i+o:2-i-o,a*=60):u=s>0&&s<1?0:a,new be(a,u,s,t.opacity)}function be(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function xe(t){return(t=(t||0)%360)<0?t+360:t}function we(t){return Math.max(0,Math.min(1,t||0))}function Me(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function Ee(t,n,e,r,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*n+(4-6*i+3*a)*e+(1+3*t+3*i-3*a)*r+a*o)/6}Hn(Yn,ae,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:oe,formatHex:oe,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return ve(this).formatHsl()},formatRgb:ie,toString:ie}),Hn(fe,le,Rn(Yn,{brighter(t){return t=null==t?Bn:Math.pow(Bn,t),new fe(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?qn:Math.pow(qn,t),new fe(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new fe(ge(this.r),ge(this.g),ge(this.b),pe(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:de,formatHex:de,formatHex8:function(){return`#${me(this.r)}${me(this.g)}${me(this.b)}${me(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:he,toString:he})),Hn(be,(function(t,n,e,r){return 1===arguments.length?ve(t):new be(t,n,e,null==r?1:r)}),Rn(Yn,{brighter(t){return t=null==t?Bn:Math.pow(Bn,t),new be(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?qn:Math.pow(qn,t),new be(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,o=2*e-r;return new fe(Me(t>=240?t-240:t+120,o,r),Me(t,o,r),Me(t<120?t+240:t-120,o,r),this.opacity)},clamp(){return new be(xe(this.h),we(this.s),we(this.l),pe(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=pe(this.opacity);return`${1===t?"hsl(":"hsla("}${xe(this.h)}, ${100*we(this.s)}%, ${100*we(this.l)}%${1===t?")":`, ${t})`}`}}));var ke=t=>()=>t;function Ae(t,n){var e=n-t;return e?function(t,n){return function(e){return t+e*n}}(t,e):ke(isNaN(t)?n:t)}var Oe=function t(n){var e=function(t){return 1==(t=+t)?Ae:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):ke(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=le(t)).r,(n=le(n)).r),o=e(t.g,n.g),i=e(t.b,n.b),a=Ae(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=o(n),t.b=i(n),t.opacity=a(n),t+""}}return r.gamma=t,r}(1);function je(t){return function(n){var e,r,o=n.length,i=new Array(o),a=new Array(o),u=new Array(o);for(e=0;e<o;++e)r=le(n[e]),i[e]=r.r||0,a[e]=r.g||0,u[e]=r.b||0;return i=t(i),a=t(a),u=t(u),r.opacity=1,function(t){return r.r=i(t),r.g=a(t),r.b=u(t),r+""}}}function Se(t,n){var e,r=n?n.length:0,o=t?Math.min(r,t.length):0,i=new Array(o),a=new Array(r);for(e=0;e<o;++e)i[e]=Ie(t[e],n[e]);for(;e<r;++e)a[e]=n[e];return function(t){for(e=0;e<o;++e)a[e]=i[e](t);return a}}function Ce(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}function Te(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}function De(t,n){var e,r={},o={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?r[e]=Ie(t[e],n[e]):o[e]=n[e];return function(t){for(e in r)o[e]=r[e](t);return o}}je((function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),o=t[r],i=t[r+1],a=r>0?t[r-1]:2*o-i,u=r<n-1?t[r+2]:2*i-o;return Ee((e-r/n)*n,a,o,i,u)}})),je((function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),o=t[(r+n-1)%n],i=t[r%n],a=t[(r+1)%n],u=t[(r+2)%n];return Ee((e-r/n)*n,o,i,a,u)}}));var Ne=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,_e=new RegExp(Ne.source,"g");function Pe(t,n){var e,r,o,i=Ne.lastIndex=_e.lastIndex=0,a=-1,u=[],s=[];for(t+="",n+="";(e=Ne.exec(t))&&(r=_e.exec(n));)(o=r.index)>i&&(o=n.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(e=e[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:Te(e,r)})),i=_e.lastIndex;return i<n.length&&(o=n.slice(i),u[a]?u[a]+=o:u[++a]=o),u.length<2?s[0]?function(t){return function(n){return t(n)+""}}(s[0].x):function(t){return function(){return t}}(n):(n=s.length,function(t){for(var e,r=0;r<n;++r)u[(e=s[r]).i]=e.x(t);return u.join("")})}function $e(t,n){n||(n=[]);var e,r=t?Math.min(n.length,t.length):0,o=n.slice();return function(i){for(e=0;e<r;++e)o[e]=t[e]*(1-i)+n[e]*i;return o}}function Ie(t,n){var e,r,o=typeof n;return null==n||"boolean"===o?ke(n):("number"===o?Te:"string"===o?(e=ae(n))?(n=e,Oe):Pe:n instanceof ae?Oe:n instanceof Date?Ce:(r=n,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(n)?Se:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?De:Te:$e))(t,n)}const Ue=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)||zn()(t)}return!1},Le=function(t,n,e){return void 0===e&&(e=0),function(r){return r<e?t:n}},We=function(t,n){return function(e){return e>=1?n:function(){const r="function"==typeof t?t.apply(this,arguments):t,o="function"==typeof n?n.apply(this,arguments):n;return Ie(r,o)(e)}}},Fe=function(t,n){const e=t=>Array.isArray(t)?Wn()(t,"key"):t,r={},o={};let i,a=t,u=n;for(i in null!==a&&"object"==typeof a||(a={}),null!==u&&"object"==typeof u||(u={}),u)i in a?r[i]=(s=e(a[i]))!==(c=e(u[i]))&&Ue(s)&&Ue(c)?"function"==typeof s||"function"==typeof c?We(s,c):"object"==typeof s&&zn()(s)||"object"==typeof c&&zn()(c)?Fe(s,c):Ie(s,c):Le(s,c):o[i]=u[i];var s,c;return function(t){for(i in r)o[i]=r[i](t);return o}},ze=1e3,He=n=>{let{duration:e=ze,easing:r="quadInOut",delay:o=0,data:a,children:u,onEnd:s}=n;const[c,l]=i().useState({data:Array.isArray(a)?a[0]:a,animationInfo:{progress:0,animating:!1}}),f=i().useContext(_).animationTimer,d=i().useRef(Array.isArray(a)?a.slice(1):[]),h=i().useRef(null),p=i().useRef(void 0),g=t[(m=r,`ease${m.charAt(0).toUpperCase()+m.slice(1)}`)];var m;i().useEffect((()=>(d.current.length&&y(),()=>{p.current?f.unsubscribe(p.current):f.stop()})),[]),i().useEffect((()=>{h.current&&c.animationInfo&&c.animationInfo.progress<1?l({data:h.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}):(f.unsubscribe(p.current),d.current=Array.isArray(a)?a:[a],y())}),[a]);const y=()=>{if(d.current.length){const r=d.current[0];h.current=(t=c.data)!==(n=r)&&Ue(t)&&Ue(n)?"function"==typeof t||"function"==typeof n?We(t,n):zn()(t)||zn()(n)?Fe(t,n):"string"==typeof t||"string"==typeof n?function(t,n){const e=t=>"string"==typeof t?t.replace(/,/g,""):t;return Ie(e(t),e(n))}(t,n):Ie(t,n):Le(t,n),o?setTimeout((()=>{p.current=f.subscribe(v,e)}),o):p.current=f.subscribe(v,e)}else s&&s();var t,n},v=t=>{if(!h.current)return;const n=e?t/e:1;if(n>=1)return l({data:h.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),p.current&&f.unsubscribe(p.current),d.current.shift(),void y();l({data:h.current(g(n)),animationInfo:{progress:n,animating:n<1}})};return u(c.data,c.animationInfo)};function Re(t){return Array.isArray(t)&&t.some((t=>t instanceof Date))}function Ye(t,n){return t&&n?t.filter((t=>!n.includes(t))):[]}function qe(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];const o=t.concat(e);return Re(o)?new Date(Math.max(...o)):Math.max(...o)}function Be(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];const o=t.concat(e);return Re(o)?new Date(Math.min(...o)):Math.min(...o)}var Ve=r(5346),Ke=r.n(Ve);function Ge(t,n){return(t.key||n).toString()}function Xe(t){return t.reduce(((t,n,e)=>(t[Ge(n,e)]=n,t)),{})}function Ze(t,n){let e=!1;const r=Object.keys(t).reduce(((t,r)=>(r in n||(e=!0,t[r]=!0),t)),{});return e&&r}function Qe(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function Je(t,n){let e=!1,r=!1;const o=(t,n)=>t.map(((a,u)=>a&&a.props&&a.props.children&&n[u]?o(i().Children.toArray(t[u].props.children),i().Children.toArray(n[u].props.children)):((t,n)=>{if(!n||t.type!==n.type)return{};const{entering:o,exiting:i}=function(t,n){const e=t&&Xe(t),r=n&&Xe(n);return{entering:e&&Ze(r,e),exiting:r&&Ze(e,r)}}(Qe(t),Qe(n))||{};return e=e||!!i,r=r||!!o,{entering:o||!1,exiting:i||!1}})(a,n[u]))),a=o(i().Children.toArray(t),i().Children.toArray(n));return{nodesWillExit:e,nodesWillEnter:r,childrenTransitions:a,nodesShouldEnter:!1}}function tr(t,n,e){const r=n&&n.nodesWillExit,o=n&&n.nodesWillEnter,i=n&&n.nodesShouldEnter,a=n&&n.nodesShouldLoad,u=n&&n.nodesDoneLoad,s=n&&n.childrenTransitions||[],c={enter:t.animate&&t.animate.onEnter&&t.animate.onEnter.duration,exit:t.animate&&t.animate.onExit&&t.animate.onExit.duration,load:t.animate&&t.animate.onLoad&&t.animate.onLoad.duration,move:t.animate&&t.animate.duration},l=(t,n,r)=>a?function(t,n,r){const o=Object.assign({},t,{onEnd:()=>{e({nodesShouldLoad:!1,nodesDoneLoad:!0})}});let i=n;if(o&&o.onLoad&&!o.onLoad.duration)return{animate:t,data:n};const a=t.onLoad&&t.onLoad.after?t.onLoad.after:Ke();return i=n.map(((t,e)=>Object.assign({},t,a(t,e,n)))),{animate:o,data:i}}(r,n):function(t,n,r,o){const i=Object.assign({},t,{onEnd:()=>{e({nodesDoneLoad:!0})}});if(i&&i.onLoad&&!i.onLoad.duration)return{animate:i,data:r};const a=i.onLoad&&i.onLoad.before?i.onLoad.before:Ke();return{animate:i,data:r.map(((t,n)=>Object.assign({},t,a(t,n,r)))),clipWidth:0}}(r,0,n),d=(t,n,r,o)=>function(t,n,r,o,i){const a=t&&t.onExit,u=Object.assign({},t,a);let s=r;if(o){t.onEnd=()=>{e({nodesWillExit:!1})};const n=t.onExit&&t.onExit.before?t.onExit.before:Ke();s=r.map(((t,e)=>{const i=(t.key||e).toString();return o[i]?Object.assign({},t,n(t,e,r)):t}))}return{animate:u,data:s}}(o,0,r,t),h=(t,n,r,o)=>i?function(t,n,r,o){const i=t&&t.onEnter,a=Object.assign({},t,i);let u=n;if(r){a.onEnd=()=>{e({nodesWillEnter:!1})};const t=a.onEnter&&a.onEnter.after?a.onEnter.after:Ke();u=n.map(((e,o)=>{const i=Ge(e,o);return r[i]?Object.assign({},e,t(e,o,n)):e}))}return{animate:a,data:u}}(o,r,t):function(t,n,r,o,i){let a=t,u=r;if(o){a=Object.assign({},t,{onEnd:()=>{e({nodesShouldEnter:!0})}});const n=t.onEnter&&t.onEnter.before?t.onEnter.before:Ke();u=r.map(((t,e)=>{const i=(t.key||e).toString();return o[i]?Object.assign({},t,n(t,e,r)):t}))}return{animate:a,data:u}}(o,0,r,t),p=function(t,n){const e=t.props.animate;if(!t.type)return{};const r=t.props&&t.props.polar&&t.type.defaultPolarTransitions||t.type.defaultTransitions;if(r){const t=e[n]&&e[n].duration;return void 0!==t?t:r[n]&&r[n].duration}return{}};return function(e,a){const g=Qe(e)||[],m=f()({},t.animate,e.props.animate),y=e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;m.onExit=f()({},m.onExit,y&&y.onExit),m.onEnter=f()({},m.onEnter,y&&y.onEnter),m.onLoad=f()({},m.onLoad,y&&y.onLoad);const v=s[a]||s[0];if(!u){const t={duration:void 0!==c.load?c.load:p(e,"onLoad")};return l(0,g,Object.assign({},m,t))}if(r){const t=v&&v.exiting,n=void 0!==c.exit?c.exit:p(e,"onExit"),r=t?{duration:n}:{delay:n};return d(t,0,g,Object.assign({},m,r))}if(o){const t=v&&v.entering,n=void 0!==c.enter?c.enter:p(e,"onEnter"),r=void 0!==c.move?c.move:e.props.animate&&e.props.animate.duration,o={duration:i&&t?n:r};return h(t,0,g,Object.assign({},m,o))}return!n&&m&&m.onExit?function(t,n){const e=t.onEnter&&t.onEnter.after?t.onEnter.after:Ke();return{data:n.map(((t,r)=>Object.assign({},t,e(t,r,n))))}}(m,g):{animate:m,data:g}}}function nr(){return nr=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},nr.apply(this,arguments)}class er extends i().Component{static displayName="VictoryTransition";static contextType=_;constructor(t,n){super(t,n),this.state={nodesShouldLoad:!1,nodesDoneLoad:!1};const e=this.props.children,r=e.props.polar;this.continuous=!r&&e.type&&!0===e.type.continuous,this.timer=this.context.transitionTimer}componentDidMount(){this.setState({nodesShouldLoad:!0})}shouldComponentUpdate(t){return en()(this.props,t)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,t),(()=>this.timer.resumeAnimation()))),!0}componentWillUnmount(){this.timer.stop()}getTransitionState(t,n){const{animate:e}=t;if(!e)return{};if(e.parentState)return{oldProps:e.parentState.nodesWillExit?t:null,nextProps:n};const r=i().Children.toArray(t.children),o=i().Children.toArray(n.children),{nodesWillExit:a,nodesWillEnter:u,childrenTransitions:s,nodesShouldEnter:c}=Je(r,o);return{nodesWillExit:a,nodesWillEnter:u,childrenTransitions:s,nodesShouldEnter:c,oldProps:a?t:null,nextProps:n}}getDomainFromChildren(t,n){const e=t=>t.reduce(((t,r)=>{if(r.type&&G(r.type.getDomain)){const e=r.props&&r.type.getDomain(r.props,n);return e?t.concat(e):t}return r.props&&r.props.children?t.concat(e(i().Children.toArray(r.props.children))):t}),[]),r=i().Children.toArray(t.children)[0],o=r.props||{},a=Array.isArray(o.domain)?o.domain:o.domain&&o.domain[n];if(!o.children&&a)return a;const u=e([r]);return 0===u.length?[0,1]:[Be(u),qe(u)]}pickProps(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}pickDomainProps(t){const n=t.animate?.parentState;return n&&n.nodesWillExit?(this.continuous||n.continuous)&&(n.nextProps||this.state.nextProps)||t:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||t}getClipWidth(t,n){const e=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==e?e:(()=>{const e=V(n.props,"x");return e?Math.abs(e[1]-e[0]):t.width})()}render(){const t=this.pickProps(),n=this.props.animate?.getTransitions?this.props.animate.getTransitions:tr(t,this.state,(t=>this.setState(t))),e=i().Children.toArray(t.children)[0],r=n(e);this.transitionProps=r;const o={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},a=this.getClipWidth(t,e),u=f()({domain:o,clipWidth:a},r,e.props),s=(t.animationWhitelist||[]).concat(["clipWidth"]),c=s.length?$()(u,s):u;return i().createElement(He,nr({},u.animate,{data:c}),(t=>{if(e.props.groupComponent){const n=this.continuous?i().cloneElement(e.props.groupComponent,{clipWidth:t.clipWidth||0}):e.props.groupComponent;return i().cloneElement(e,f()({animate:null,animating:!0,groupComponent:n},t,u))}return i().cloneElement(e,f()({animate:null,animating:!0},t,u))}))}}var rr=r(9602),or=r.n(rr),ir=r(1616),ar=r.n(ir),ur=r(4912),sr=r.n(ur);const cr=/^onGlobal(.*)$/;function lr(t,n,e,r){const o=t=>{const r=(()=>{const r=t.reduce(((t,e)=>void 0!==e.target?(Array.isArray(e.target)?e.target.includes(n):`${e.target}`==`${n}`)?t.concat(e):t:t.concat(e)),[]);return void 0!==e&&"parent"!==n?r.filter((t=>{const n=t.eventKey,r=t=>!t||`${t}`==`${e}`;return Array.isArray(n)?n.some((t=>r(t))):r(n)})):r})();return Array.isArray(r)&&r.reduce(((t,n)=>n?Object.assign(t,n.eventHandlers):t),{})},i=(()=>Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events)(),a=i&&G(r)?r(o(i),n):void 0;if(!t.sharedEvents)return a;const u=t.sharedEvents.getEvents,s=t.sharedEvents.events&&u(o(t.sharedEvents.events),n);return Object.assign({},s,a)}function fr(t,n,e,r){if(rt()(t))return{};const o=r||this.baseProps,i=(t,n)=>{const{childName:e,target:r,key:i}=t,a="props"===n?o:this.state||{},u=null!=e&&a[e]?a[e]:a;return"parent"===i?u.parent:u[i]&&u[i][r]},a=(t,r)=>{const a="parent"===n?t.childName:t.childName||e,u=t.target||n,s=(n,e)=>{const r=this.state||{};if(!G(t.mutation))return r;const a=i({childName:e,key:n,target:u},"props"),s=i({childName:e,key:n,target:u},"state"),c=t.mutation(Object.assign({},a,s),o),l=r[e]||{},f=t=>c?(t=>"parent"===u?Object.assign(t,{[n]:Object.assign(t[n]||{},c)}):Object.assign(t,{[n]:Object.assign(t[n]||{},{[u]:c})}))(t):(t=>(t[n]&&t[n][u]&&delete t[n][u],t[n]&&!Object.keys(t[n]).length&&delete t[n],t))(t);return null!=e?Object.assign(r,{[e]:f(l)}):f(r)},c=n=>{const e=(n=>"parent"===u?"parent":"all"===t.eventKey?o[n]?Object.keys(o[n]).filter((t=>"parent"!==t)):Object.keys(o).filter((t=>"parent"!==t)):void 0===t.eventKey&&"parent"===r?o[n]?Object.keys(o[n]):Object.keys(o):void 0!==t.eventKey?t.eventKey:r)(n);return Array.isArray(e)?e.reduce(((t,e)=>Object.assign(t,s(e,n))),{}):s(e,n)},l="all"===a?Object.keys(o).filter((t=>"parent"!==t)):a;return Array.isArray(l)?l.reduce(((t,n)=>Object.assign(t,c(n))),{}):c(l)},u=(n,e,r,o)=>{const i=t[o](n,e,r,this);if(!rt()(i)){const t=(t=>{const n=t=>G(t.callback)&&t.callback,e=(Array.isArray(t)?t.map((t=>n(t))):[n(t)]).filter((t=>!1!==t));return e.length?()=>e.forEach((t=>t())):void 0})(i);this.setState(((t,n)=>Array.isArray(t)?t.reduce(((t,e)=>Object.assign({},t,a(e,n))),{}):a(t,n))(i,r),t)}};return Object.keys(t).reduce(((t,n)=>(t[n]=u,t)),{})}function dr(t,n,e){const r=this.state||{};return e?r[e]&&r[e][t]&&r[e][t][n]:"parent"===t?r[t]&&r[t][n]||r[t]:r[t]&&r[t][n]}function hr(t,n,e,r){const o=(t,n)=>"string"==typeof t[n]?"all"===t[n]||t[n]===r[n]:!!Array.isArray(t[n])&&t[n].map((t=>`${t}`)).includes(r[n]);let i=Array.isArray(t)?t:[t];r.childName&&(i=t.filter((t=>o(t,"childName"))));const a=i.filter((t=>o(t,"target")));if(rt()(a))return;const u=a.filter((t=>o(t,"eventKey")));return rt()(u)?void 0:u.reduce(((t,r)=>{const o=(r&&G(r.mutation)?r.mutation:()=>{})(Object.assign({},n,e));return Object.assign({},t,o)}),{})}function pr(t){const n=t.match(cr);return n&&n[1]&&n[1].toLowerCase()}const gr=t=>!K(t._x)&&!K(t._y),mr=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];function yr(){return yr=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},yr.apply(this,arguments)}const vr=(0,e.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:o,origin:a,...u}=t,s={vectorEffect:"non-scaling-stroke",id:R(r,t)?.toString(),tabIndex:R(o,t),...u};return e?i().createElement("line",yr({},s,{ref:n}),i().createElement("desc",null,e)):i().createElement("line",yr({},s,{ref:n}))})),br=(t,n,e)=>{const r="right"===e||"left"===e;return i().cloneElement(t.lineComponent,{...t.events,role:t.role,shapeRendering:t.shapeRendering,className:t.className,style:t.style,transform:t.transform,key:`${t.id}-border-${e}`,x1:r?n[e]:t.x-t.borderWidth,x2:r?n[e]:t.x+t.borderWidth,y1:r?t.y-t.borderWidth:n[e],y2:r?t.y+t.borderWidth:n[e],"data-type":`border-${e}`})},xr=(t,n,e)=>{const r="top"===e||"bottom"===e;return i().cloneElement(t.lineComponent,{...t.events,role:t.role,shapeRendering:t.shapeRendering,className:t.className,style:t.style,transform:t.transform,key:`${t.id}-cross-${e}`,x1:t.x,x2:r?t.x:n[e],y1:t.y,y2:r?n[e]:t.y,"data-type":`cross-${e}`})},wr={groupComponent:i().createElement("g",null),lineComponent:i().createElement(vr,null),role:"presentation",shapeRendering:"auto"},Mr=t=>{const n=(t=>{const n=R(t.ariaLabel,t),e=R(t.id,t),r=Y(Object.assign({stroke:"black"},t.style),t),o=R(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,id:e,style:r,tabIndex:o})})(f()({},t,wr)),{groupComponent:e}=n,r=J(n),{tabIndex:o,ariaLabel:a}=n,u=(t=>{const{errorX:n,errorY:e}=t,r={right:{error:n,errorIndex:0},left:{error:n,errorIndex:1},top:{error:e,errorIndex:1},bottom:{error:e,errorIndex:0}};return["right","left","top","bottom"].reduce(((t,n)=>(t[n]=(t=>{const{error:n,errorIndex:e}=r[t];return n?n[e]:void 0})(n),t)),{})})(n),s=[u.right?br(n,u,"right"):null,u.left?br(n,u,"left"):null,u.bottom?br(n,u,"bottom"):null,u.top?br(n,u,"top"):null,u.right?xr(n,u,"right"):null,u.left?xr(n,u,"left"):null,u.bottom?xr(n,u,"bottom"):null,u.top?xr(n,u,"top"):null].filter(Boolean);return i().cloneElement(e,{tabIndex:o,"aria-label":a,...r},s)};var Er=r(156),kr=r.n(Er),Ar=(r(8999),r(8254)),Or=r.n(Ar);function jr(t,n,e){t=+t,n=+n,e=(o=arguments.length)<2?(n=t,t=0,1):o<3?1:+e;for(var r=-1,o=0|Math.max(0,Math.ceil((n-t)/e)),i=new Array(o);++r<o;)i[r]=t+r*e;return i}function Sr(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function Cr(t,n){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof n?this.interpolator(n):this.range(n)}return this}class Tr extends Map{constructor(t,n=Nr){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const[n,e]of t)this.set(n,e)}get(t){return super.get(Dr(this,t))}has(t){return super.has(Dr(this,t))}set(t,n){return super.set(function({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):(t.set(r,e),e)}(this,t),n)}delete(t){return super.delete(function({_intern:t,_key:n},e){const r=n(e);return t.has(r)&&(e=t.get(r),t.delete(r)),e}(this,t))}}function Dr({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function Nr(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;const _r=Symbol("implicit");function Pr(){var t=new Tr,n=[],e=[],r=_r;function o(o){let i=t.get(o);if(void 0===i){if(r!==_r)return r;t.set(o,i=n.push(o)-1)}return e[i%e.length]}return o.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new Tr;for(const r of e)t.has(r)||t.set(r,n.push(r)-1);return o},o.range=function(t){return arguments.length?(e=Array.from(t),o):e.slice()},o.unknown=function(t){return arguments.length?(r=t,o):r},o.copy=function(){return Pr(n,e).unknown(r)},Sr.apply(o,arguments),o}function $r(){var t,n,e=Pr().unknown(void 0),r=e.domain,o=e.range,i=0,a=1,u=!1,s=0,c=0,l=.5;function f(){var e=r().length,f=a<i,d=f?a:i,h=f?i:a;t=(h-d)/Math.max(1,e-s+2*c),u&&(t=Math.floor(t)),d+=(h-d-t*(e-s))*l,n=t*(1-s),u&&(d=Math.round(d),n=Math.round(n));var p=jr(e).map((function(n){return d+t*n}));return o(f?p.reverse():p)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),f()):r()},e.range=function(t){return arguments.length?([i,a]=t,i=+i,a=+a,f()):[i,a]},e.rangeRound=function(t){return[i,a]=t,i=+i,a=+a,u=!0,f()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(u=!!t,f()):u},e.padding=function(t){return arguments.length?(s=Math.min(1,c=+t),f()):s},e.paddingInner=function(t){return arguments.length?(s=Math.min(1,t),f()):s},e.paddingOuter=function(t){return arguments.length?(c=+t,f()):c},e.align=function(t){return arguments.length?(l=Math.max(0,Math.min(1,t)),f()):l},e.copy=function(){return $r(r(),[i,a]).round(u).paddingInner(s).paddingOuter(c).align(l)},Sr.apply(f(),arguments)}function Ir(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return Ir(n())},t}function Ur(){return Ir($r.apply(null,arguments).paddingInner(1))}var Lr=Math.sqrt(50),Wr=Math.sqrt(10),Fr=Math.sqrt(2);function zr(t,n,e){var r,o,i,a,u=-1;if(e=+e,(t=+t)==(n=+n)&&e>0)return[t];if((r=n<t)&&(o=t,t=n,n=o),0===(a=Hr(t,n,e))||!isFinite(a))return[];if(a>0){let e=Math.round(t/a),r=Math.round(n/a);for(e*a<t&&++e,r*a>n&&--r,i=new Array(o=r-e+1);++u<o;)i[u]=(e+u)*a}else{a=-a;let e=Math.round(t*a),r=Math.round(n*a);for(e/a<t&&++e,r/a>n&&--r,i=new Array(o=r-e+1);++u<o;)i[u]=(e+u)/a}return r&&i.reverse(),i}function Hr(t,n,e){var r=(n-t)/Math.max(0,e),o=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,o);return o>=0?(i>=Lr?10:i>=Wr?5:i>=Fr?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=Lr?10:i>=Wr?5:i>=Fr?2:1)}function Rr(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=Lr?o*=10:i>=Wr?o*=5:i>=Fr&&(o*=2),n<t?-o:o}function Yr(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function qr(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function Br(t){let n,e,r;function o(t,r,o=0,i=t.length){if(o<i){if(0!==n(r,r))return i;do{const n=o+i>>>1;e(t[n],r)<0?o=n+1:i=n}while(o<i)}return o}return 2!==t.length?(n=Yr,e=(n,e)=>Yr(t(n),e),r=(n,e)=>t(n)-e):(n=t===Yr||t===qr?t:Vr,e=t,r=t),{left:o,center:function(t,n,e=0,i=t.length){const a=o(t,n,e,i-1);return a>e&&r(t[a-1],n)>-r(t[a],n)?a-1:a},right:function(t,r,o=0,i=t.length){if(o<i){if(0!==n(r,r))return i;do{const n=o+i>>>1;e(t[n],r)<=0?o=n+1:i=n}while(o<i)}return o}}}function Vr(){return 0}function Kr(t){return null===t?NaN:+t}const Gr=Br(Yr),Xr=Gr.right;Gr.left,Br(Kr).center;var Zr=Xr;function Qr(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function Jr(t){return+t}var to=[0,1];function no(t){return t}function eo(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:(e=isNaN(n)?NaN:.5,function(){return e});var e}function ro(t,n,e){var r=t[0],o=t[1],i=n[0],a=n[1];return o<r?(r=eo(o,r),i=e(a,i)):(r=eo(r,o),i=e(i,a)),function(t){return i(r(t))}}function oo(t,n,e){var r=Math.min(t.length,n.length)-1,o=new Array(r),i=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<r;)o[a]=eo(t[a],t[a+1]),i[a]=e(n[a],n[a+1]);return function(n){var e=Zr(t,n,1,r)-1;return i[e](o[e](n))}}function io(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function ao(){var t,n,e,r,o,i,a=to,u=to,s=Ie,c=no;function l(){var t,n,e,s=Math.min(a.length,u.length);return c!==no&&(t=a[0],n=a[s-1],t>n&&(e=t,t=n,n=e),c=function(e){return Math.max(t,Math.min(n,e))}),r=s>2?oo:ro,o=i=null,f}function f(n){return null==n||isNaN(n=+n)?e:(o||(o=r(a.map(t),u,s)))(t(c(n)))}return f.invert=function(e){return c(n((i||(i=r(u,a.map(t),Te)))(e)))},f.domain=function(t){return arguments.length?(a=Array.from(t,Jr),l()):a.slice()},f.range=function(t){return arguments.length?(u=Array.from(t),l()):u.slice()},f.rangeRound=function(t){return u=Array.from(t),s=Qr,l()},f.clamp=function(t){return arguments.length?(c=!!t||no,l()):c!==no},f.interpolate=function(t){return arguments.length?(s=t,l()):s},f.unknown=function(t){return arguments.length?(e=t,f):e},function(e,r){return t=e,n=r,l()}}function uo(){return ao()(no,no)}var so,co=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function lo(t){if(!(n=co.exec(t)))throw new Error("invalid format: "+t);var n;return new fo({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function fo(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function ho(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}function po(t){return(t=ho(Math.abs(t)))?t[1]:NaN}function go(t,n){var e=ho(t,n);if(!e)return t+"";var r=e[0],o=e[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}lo.prototype=fo.prototype,fo.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var mo={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>go(100*t,n),r:go,s:function(t,n){var e=ho(t,n);if(!e)return t+"";var r=e[0],o=e[1],i=o-(so=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+ho(t,Math.max(0,n+i-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function yo(t){return t}var vo,bo,xo,wo=Array.prototype.map,Mo=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Eo(t,n,e,r){var o,i=Rr(t,n,e);switch((r=lo(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(o=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(po(n)/3)))-po(Math.abs(t)))}(i,a))||(r.precision=o),xo(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,po(n)-po(t))+1}(i,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(t){return Math.max(0,-po(Math.abs(t)))}(i))||(r.precision=o-2*("%"===r.type))}return bo(r)}function ko(t){var n=t.domain;return t.ticks=function(t){var e=n();return zr(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return Eo(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,o,i=n(),a=0,u=i.length-1,s=i[a],c=i[u],l=10;for(c<s&&(o=s,s=c,c=o,o=a,a=u,u=o);l-- >0;){if((o=Hr(s,c,e))===r)return i[a]=s,i[u]=c,n(i);if(o>0)s=Math.floor(s/o)*o,c=Math.ceil(c/o)*o;else{if(!(o<0))break;s=Math.ceil(s*o)/o,c=Math.floor(c*o)/o}r=o}return t},t}function Ao(){var t=uo();return t.copy=function(){return io(t,Ao())},Sr.apply(t,arguments),ko(t)}function Oo(t){var n;function e(t){return null==t||isNaN(t=+t)?n:t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=Array.from(n,Jr),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return Oo(t).unknown(n)},t=arguments.length?Array.from(t,Jr):[0,1],ko(e)}function jo(t,n){var e,r=0,o=(t=t.slice()).length-1,i=t[r],a=t[o];return a<i&&(e=r,r=o,o=e,e=i,i=a,a=e),t[r]=n.floor(i),t[o]=n.ceil(a),t}function So(t){return Math.log(t)}function Co(t){return Math.exp(t)}function To(t){return-Math.log(-t)}function Do(t){return-Math.exp(-t)}function No(t){return isFinite(t)?+("1e"+t):t<0?0:t}function _o(t){return(n,e)=>-t(-n,e)}function Po(t){const n=t(So,Co),e=n.domain;let r,o,i=10;function a(){return r=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),n=>Math.log(n)/t)}(i),o=function(t){return 10===t?No:t===Math.E?Math.exp:n=>Math.pow(t,n)}(i),e()[0]<0?(r=_o(r),o=_o(o),t(To,Do)):t(So,Co),n}return n.base=function(t){return arguments.length?(i=+t,a()):i},n.domain=function(t){return arguments.length?(e(t),a()):e()},n.ticks=t=>{const n=e();let a=n[0],u=n[n.length-1];const s=u<a;s&&([a,u]=[u,a]);let c,l,f=r(a),d=r(u);const h=null==t?10:+t;let p=[];if(!(i%1)&&d-f<h){if(f=Math.floor(f),d=Math.ceil(d),a>0){for(;f<=d;++f)for(c=1;c<i;++c)if(l=f<0?c/o(-f):c*o(f),!(l<a)){if(l>u)break;p.push(l)}}else for(;f<=d;++f)for(c=i-1;c>=1;--c)if(l=f>0?c/o(-f):c*o(f),!(l<a)){if(l>u)break;p.push(l)}2*p.length<h&&(p=zr(a,u,h))}else p=zr(f,d,Math.min(d-f,h)).map(o);return s?p.reverse():p},n.tickFormat=(t,e)=>{if(null==t&&(t=10),null==e&&(e=10===i?"s":","),"function"!=typeof e&&(i%1||null!=(e=lo(e)).precision||(e.trim=!0),e=bo(e)),t===1/0)return e;const a=Math.max(1,i*t/n.ticks().length);return t=>{let n=t/o(Math.round(r(t)));return n*i<i-.5&&(n*=i),n<=a?e(t):""}},n.nice=()=>e(jo(e(),{floor:t=>o(Math.floor(r(t))),ceil:t=>o(Math.ceil(r(t)))})),n}function $o(){const t=Po(ao()).domain([1,10]);return t.copy=()=>io(t,$o()).base(t.base()),Sr.apply(t,arguments),t}function Io(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function Uo(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function Lo(t){var n=1,e=t(Io(n),Uo(n));return e.constant=function(e){return arguments.length?t(Io(n=+e),Uo(n)):n},ko(e)}function Wo(){var t=Lo(ao());return t.copy=function(){return io(t,Wo()).constant(t.constant())},Sr.apply(t,arguments)}function Fo(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function zo(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Ho(t){return t<0?-t*t:t*t}function Ro(t){var n=t(no,no),e=1;function r(){return 1===e?t(no,no):.5===e?t(zo,Ho):t(Fo(e),Fo(1/e))}return n.exponent=function(t){return arguments.length?(e=+t,r()):e},ko(n)}function Yo(){var t=Ro(ao());return t.copy=function(){return io(t,Yo()).exponent(t.exponent())},Sr.apply(t,arguments),t}function qo(){return Yo.apply(null,arguments).exponent(.5)}function Bo(t){return Math.sign(t)*t*t}function Vo(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function Ko(){var t,n=uo(),e=[0,1],r=!1;function o(e){var o=Vo(n(e));return isNaN(o)?t:r?Math.round(o):o}return o.invert=function(t){return n.invert(Bo(t))},o.domain=function(t){return arguments.length?(n.domain(t),o):n.domain()},o.range=function(t){return arguments.length?(n.range((e=Array.from(t,Jr)).map(Bo)),o):e.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(r=!!t,o):r},o.clamp=function(t){return arguments.length?(n.clamp(t),o):n.clamp()},o.unknown=function(n){return arguments.length?(t=n,o):t},o.copy=function(){return Ko(n.domain(),e).round(r).clamp(n.clamp()).unknown(t)},Sr.apply(o,arguments),ko(o)}function Go(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e<n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let o of t)null!=(o=n(o,++r,t))&&(e<o||void 0===e&&o>=o)&&(e=o)}return e}function Xo(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e>n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let o of t)null!=(o=n(o,++r,t))&&(e>o||void 0===e&&o>=o)&&(e=o)}return e}function Zo(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}function Qo(t,n,e=0,r=t.length-1,o){for(o=void 0===o?Zo:function(t=Yr){if(t===Yr)return Zo;if("function"!=typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}(o);r>e;){if(r-e>600){const i=r-e+1,a=n-e+1,u=Math.log(i),s=.5*Math.exp(2*u/3),c=.5*Math.sqrt(u*s*(i-s)/i)*(a-i/2<0?-1:1);Qo(t,n,Math.max(e,Math.floor(n-a*s/i+c)),Math.min(r,Math.floor(n+(i-a)*s/i+c)),o)}const i=t[n];let a=e,u=r;for(Jo(t,e,n),o(t[r],i)>0&&Jo(t,e,r);a<u;){for(Jo(t,a,u),++a,--u;o(t[a],i)<0;)++a;for(;o(t[u],i)>0;)--u}0===o(t[e],i)?Jo(t,e,u):(++u,Jo(t,u,r)),u<=n&&(e=u+1),n<=u&&(r=u-1)}return t}function Jo(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function ti(t,n,e){if(t=Float64Array.from(function*(t,n){if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(yield n);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(r=+r)>=r&&(yield r)}}(t,e)),r=t.length){if((n=+n)<=0||r<2)return Xo(t);if(n>=1)return Go(t);var r,o=(r-1)*n,i=Math.floor(o),a=Go(Qo(t,i).subarray(0,i+1));return a+(Xo(t.subarray(i+1))-a)*(o-i)}}function ni(t,n,e=Kr){if(r=t.length){if((n=+n)<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,o=(r-1)*n,i=Math.floor(o),a=+e(t[i],i,t);return a+(+e(t[i+1],i+1,t)-a)*(o-i)}}function ei(){var t,n=[],e=[],r=[];function o(){var t=0,o=Math.max(1,e.length);for(r=new Array(o-1);++t<o;)r[t-1]=ni(n,t/o);return i}function i(n){return null==n||isNaN(n=+n)?t:e[Zr(r,n)]}return i.invertExtent=function(t){var o=e.indexOf(t);return o<0?[NaN,NaN]:[o>0?r[o-1]:n[0],o<r.length?r[o]:n[n.length-1]]},i.domain=function(t){if(!arguments.length)return n.slice();n=[];for(let e of t)null==e||isNaN(e=+e)||n.push(e);return n.sort(Yr),o()},i.range=function(t){return arguments.length?(e=Array.from(t),o()):e.slice()},i.unknown=function(n){return arguments.length?(t=n,i):t},i.quantiles=function(){return r.slice()},i.copy=function(){return ei().domain(n).range(e).unknown(t)},Sr.apply(i,arguments)}function ri(){var t,n=0,e=1,r=1,o=[.5],i=[0,1];function a(n){return null!=n&&n<=n?i[Zr(o,n,0,r)]:t}function u(){var t=-1;for(o=new Array(r);++t<r;)o[t]=((t+1)*e-(t-r)*n)/(r+1);return a}return a.domain=function(t){return arguments.length?([n,e]=t,n=+n,e=+e,u()):[n,e]},a.range=function(t){return arguments.length?(r=(i=Array.from(t)).length-1,u()):i.slice()},a.invertExtent=function(t){var a=i.indexOf(t);return a<0?[NaN,NaN]:a<1?[n,o[0]]:a>=r?[o[r-1],e]:[o[a-1],o[a]]},a.unknown=function(n){return arguments.length?(t=n,a):a},a.thresholds=function(){return o.slice()},a.copy=function(){return ri().domain([n,e]).range(i).unknown(t)},Sr.apply(ko(a),arguments)}function oi(){var t,n=[.5],e=[0,1],r=1;function o(o){return null!=o&&o<=o?e[Zr(n,o,0,r)]:t}return o.domain=function(t){return arguments.length?(n=Array.from(t),r=Math.min(n.length,e.length-1),o):n.slice()},o.range=function(t){return arguments.length?(e=Array.from(t),r=Math.min(n.length,e.length-1),o):e.slice()},o.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},o.unknown=function(n){return arguments.length?(t=n,o):t},o.copy=function(){return oi().domain(n).range(e).unknown(t)},Sr.apply(o,arguments)}vo=function(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?yo:(n=wo.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var o=t.length,i=[],a=0,u=n[0],s=0;o>0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),i.push(t.substring(o-=u,o+u)),!((s+=u+1)>r));)u=n[a=(a+1)%n.length];return i.reverse().join(e)}),o=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?yo:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(wo.call(t.numerals,String)),s=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"−":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function f(t){var n=(t=lo(t)).fill,e=t.align,f=t.sign,d=t.symbol,h=t.zero,p=t.width,g=t.comma,m=t.precision,y=t.trim,v=t.type;"n"===v?(g=!0,v="g"):mo[v]||(void 0===m&&(m=12),y=!0,v="g"),(h||"0"===n&&"="===e)&&(h=!0,n="0",e="=");var b="$"===d?o:"#"===d&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",x="$"===d?i:/[%p]/.test(v)?s:"",w=mo[v],M=/[defgprs%]/.test(v);function E(t){var o,i,s,d=b,E=x;if("c"===v)E=w(t)+E,t="";else{var k=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:w(Math.abs(t),m),y&&(t=function(t){t:for(var n,e=t.length,r=1,o=-1;r<e;++r)switch(t[r]){case".":o=n=r;break;case"0":0===o&&(o=r),n=r;break;default:if(!+t[r])break t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(n+1):t}(t)),k&&0==+t&&"+"!==f&&(k=!1),d=(k?"("===f?f:c:"-"===f||"("===f?"":f)+d,E=("s"===v?Mo[8+so/3]:"")+E+(k&&"("===f?")":""),M)for(o=-1,i=t.length;++o<i;)if(48>(s=t.charCodeAt(o))||s>57){E=(46===s?a+t.slice(o+1):t.slice(o))+E,t=t.slice(0,o);break}}g&&!h&&(t=r(t,1/0));var A=d.length+t.length+E.length,O=A<p?new Array(p-A+1).join(n):"";switch(g&&h&&(t=r(O+t,O.length?p-E.length:1/0),O=""),e){case"<":t=d+t+E+O;break;case"=":t=d+O+t+E;break;case"^":t=O.slice(0,A=O.length>>1)+d+t+E+O.slice(A);break;default:t=O+d+t+E}return u(t)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),E.toString=function(){return t+""},E}return{format:f,formatPrefix:function(t,n){var e=f(((t=lo(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(po(n)/3))),o=Math.pow(10,-r),i=Mo[8+r/3];return function(t){return e(o*t)+i}}}}({thousands:",",grouping:[3],currency:["$",""]}),bo=vo.format,xo=vo.formatPrefix;const ii=1e3,ai=6e4,ui=36e5,si=864e5,ci=6048e5,li=31536e6;var fi=new Date,di=new Date;function hi(t,n,e,r){function o(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return o.floor=function(n){return t(n=new Date(+n)),n},o.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},o.round=function(t){var n=o(t),e=o.ceil(t);return t-n<e-t?n:e},o.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},o.range=function(e,r,i){var a,u=[];if(e=o.ceil(e),i=null==i?1:Math.floor(i),!(e<r&&i>0))return u;do{u.push(a=new Date(+e)),n(e,i),t(e)}while(a<e&&e<r);return u},o.filter=function(e){return hi((function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(o.count=function(n,r){return fi.setTime(+n),di.setTime(+r),t(fi),t(di),Math.floor(e(fi,di))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(r?function(n){return r(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null}),o}var pi=hi((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));pi.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?hi((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):pi:null};var gi=pi,mi=(pi.range,hi((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*ii)}),(function(t,n){return(n-t)/ii}),(function(t){return t.getUTCSeconds()}))),yi=mi,vi=(mi.range,hi((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ii)}),(function(t,n){t.setTime(+t+n*ai)}),(function(t,n){return(n-t)/ai}),(function(t){return t.getMinutes()}))),bi=vi,xi=(vi.range,hi((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ii-t.getMinutes()*ai)}),(function(t,n){t.setTime(+t+n*ui)}),(function(t,n){return(n-t)/ui}),(function(t){return t.getHours()}))),wi=xi,Mi=(xi.range,hi((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*ai)/si),(t=>t.getDate()-1))),Ei=Mi;function ki(t){return hi((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*ai)/ci}))}Mi.range;var Ai=ki(0),Oi=ki(1),ji=ki(2),Si=ki(3),Ci=ki(4),Ti=ki(5),Di=ki(6),Ni=(Ai.range,Oi.range,ji.range,Si.range,Ci.range,Ti.range,Di.range,hi((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}))),_i=Ni,Pi=(Ni.range,hi((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()})));Pi.every=function(t){return isFinite(t=Math.floor(t))&&t>0?hi((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null};var $i=Pi,Ii=(Pi.range,hi((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*ai)}),(function(t,n){return(n-t)/ai}),(function(t){return t.getUTCMinutes()}))),Ui=Ii,Li=(Ii.range,hi((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*ui)}),(function(t,n){return(n-t)/ui}),(function(t){return t.getUTCHours()}))),Wi=Li,Fi=(Li.range,hi((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/si}),(function(t){return t.getUTCDate()-1}))),zi=Fi;function Hi(t){return hi((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/ci}))}Fi.range;var Ri=Hi(0),Yi=Hi(1),qi=Hi(2),Bi=Hi(3),Vi=Hi(4),Ki=Hi(5),Gi=Hi(6),Xi=(Ri.range,Yi.range,qi.range,Bi.range,Vi.range,Ki.range,Gi.range,hi((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCMonth(t.getUTCMonth()+n)}),(function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}))),Zi=Xi,Qi=(Xi.range,hi((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()})));Qi.every=function(t){return isFinite(t=Math.floor(t))&&t>0?hi((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null};var Ji=Qi;function ta(t,n,e,r,o,i){const a=[[yi,1,ii],[yi,5,5e3],[yi,15,15e3],[yi,30,3e4],[i,1,ai],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,ui],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,si],[r,2,1728e5],[e,1,ci],[n,1,2592e6],[n,3,7776e6],[t,1,li]];function u(n,e,r){const o=Math.abs(e-n)/r,i=Br((([,,t])=>t)).right(a,o);if(i===a.length)return t.every(Rr(n/li,e/li,r));if(0===i)return gi.every(Math.max(Rr(n,e,r),1));const[u,s]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return u.every(s)}return[function(t,n,e){const r=n<t;r&&([t,n]=[n,t]);const o=e&&"function"==typeof e.range?e:u(t,n,e),i=o?o.range(t,+n+1):[];return r?i.reverse():i},u]}Qi.range;const[na,ea]=ta(Ji,Zi,Ri,zi,Wi,Ui),[ra,oa]=ta($i,_i,Ai,Ei,wi,bi);function ia(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function aa(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function ua(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var sa,ca,la,fa={"-":"",_:" ",0:"0"},da=/^\s*\d+/,ha=/^%/,pa=/[\\^$*+?|[\]().{}]/g;function ga(t,n,e){var r=t<0?"-":"",o=(r?-t:t)+"",i=o.length;return r+(i<e?new Array(e-i+1).join(n)+o:o)}function ma(t){return t.replace(pa,"\\$&")}function ya(t){return new RegExp("^(?:"+t.map(ma).join("|")+")","i")}function va(t){return new Map(t.map(((t,n)=>[t.toLowerCase(),n])))}function ba(t,n,e){var r=da.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function xa(t,n,e){var r=da.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function wa(t,n,e){var r=da.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function Ma(t,n,e){var r=da.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function Ea(t,n,e){var r=da.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function ka(t,n,e){var r=da.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function Aa(t,n,e){var r=da.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function Oa(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function ja(t,n,e){var r=da.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function Sa(t,n,e){var r=da.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function Ca(t,n,e){var r=da.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Ta(t,n,e){var r=da.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Da(t,n,e){var r=da.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function Na(t,n,e){var r=da.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function _a(t,n,e){var r=da.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function Pa(t,n,e){var r=da.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function $a(t,n,e){var r=da.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function Ia(t,n,e){var r=ha.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Ua(t,n,e){var r=da.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function La(t,n,e){var r=da.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function Wa(t,n){return ga(t.getDate(),n,2)}function Fa(t,n){return ga(t.getHours(),n,2)}function za(t,n){return ga(t.getHours()%12||12,n,2)}function Ha(t,n){return ga(1+Ei.count($i(t),t),n,3)}function Ra(t,n){return ga(t.getMilliseconds(),n,3)}function Ya(t,n){return Ra(t,n)+"000"}function qa(t,n){return ga(t.getMonth()+1,n,2)}function Ba(t,n){return ga(t.getMinutes(),n,2)}function Va(t,n){return ga(t.getSeconds(),n,2)}function Ka(t){var n=t.getDay();return 0===n?7:n}function Ga(t,n){return ga(Ai.count($i(t)-1,t),n,2)}function Xa(t){var n=t.getDay();return n>=4||0===n?Ci(t):Ci.ceil(t)}function Za(t,n){return t=Xa(t),ga(Ci.count($i(t),t)+(4===$i(t).getDay()),n,2)}function Qa(t){return t.getDay()}function Ja(t,n){return ga(Oi.count($i(t)-1,t),n,2)}function tu(t,n){return ga(t.getFullYear()%100,n,2)}function nu(t,n){return ga((t=Xa(t)).getFullYear()%100,n,2)}function eu(t,n){return ga(t.getFullYear()%1e4,n,4)}function ru(t,n){var e=t.getDay();return ga((t=e>=4||0===e?Ci(t):Ci.ceil(t)).getFullYear()%1e4,n,4)}function ou(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+ga(n/60|0,"0",2)+ga(n%60,"0",2)}function iu(t,n){return ga(t.getUTCDate(),n,2)}function au(t,n){return ga(t.getUTCHours(),n,2)}function uu(t,n){return ga(t.getUTCHours()%12||12,n,2)}function su(t,n){return ga(1+zi.count(Ji(t),t),n,3)}function cu(t,n){return ga(t.getUTCMilliseconds(),n,3)}function lu(t,n){return cu(t,n)+"000"}function fu(t,n){return ga(t.getUTCMonth()+1,n,2)}function du(t,n){return ga(t.getUTCMinutes(),n,2)}function hu(t,n){return ga(t.getUTCSeconds(),n,2)}function pu(t){var n=t.getUTCDay();return 0===n?7:n}function gu(t,n){return ga(Ri.count(Ji(t)-1,t),n,2)}function mu(t){var n=t.getUTCDay();return n>=4||0===n?Vi(t):Vi.ceil(t)}function yu(t,n){return t=mu(t),ga(Vi.count(Ji(t),t)+(4===Ji(t).getUTCDay()),n,2)}function vu(t){return t.getUTCDay()}function bu(t,n){return ga(Yi.count(Ji(t)-1,t),n,2)}function xu(t,n){return ga(t.getUTCFullYear()%100,n,2)}function wu(t,n){return ga((t=mu(t)).getUTCFullYear()%100,n,2)}function Mu(t,n){return ga(t.getUTCFullYear()%1e4,n,4)}function Eu(t,n){var e=t.getUTCDay();return ga((t=e>=4||0===e?Vi(t):Vi.ceil(t)).getUTCFullYear()%1e4,n,4)}function ku(){return"+0000"}function Au(){return"%"}function Ou(t){return+t}function ju(t){return Math.floor(+t/1e3)}function Su(t){return new Date(t)}function Cu(t){return t instanceof Date?+t:+new Date(+t)}function Tu(t,n,e,r,o,i,a,u,s,c){var l=uo(),f=l.invert,d=l.domain,h=c(".%L"),p=c(":%S"),g=c("%I:%M"),m=c("%I %p"),y=c("%a %d"),v=c("%b %d"),b=c("%B"),x=c("%Y");function w(t){return(s(t)<t?h:u(t)<t?p:a(t)<t?g:i(t)<t?m:r(t)<t?o(t)<t?y:v:e(t)<t?b:x)(t)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?d(Array.from(t,Cu)):d().map(Su)},l.ticks=function(n){var e=d();return t(e[0],e[e.length-1],null==n?10:n)},l.tickFormat=function(t,n){return null==n?w:c(n)},l.nice=function(t){var e=d();return t&&"function"==typeof t.range||(t=n(e[0],e[e.length-1],null==t?10:t)),t?d(jo(e,t)):l},l.copy=function(){return io(l,Tu(t,n,e,r,o,i,a,u,s,c))},l}function Du(){return Sr.apply(Tu(ra,oa,$i,_i,Ai,Ei,wi,bi,yi,ca).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Nu(){return Sr.apply(Tu(na,ea,Ji,Zi,Ri,zi,Wi,Ui,yi,la).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function _u(){var t,n,e,r,o,i=0,a=1,u=no,s=!1;function c(n){return null==n||isNaN(n=+n)?o:u(0===e?.5:(n=(r(n)-t)*e,s?Math.max(0,Math.min(1,n)):n))}function l(t){return function(n){var e,r;return arguments.length?([e,r]=n,u=t(e,r),c):[u(0),u(1)]}}return c.domain=function(o){return arguments.length?([i,a]=o,t=r(i=+i),n=r(a=+a),e=t===n?0:1/(n-t),c):[i,a]},c.clamp=function(t){return arguments.length?(s=!!t,c):s},c.interpolator=function(t){return arguments.length?(u=t,c):u},c.range=l(Ie),c.rangeRound=l(Qr),c.unknown=function(t){return arguments.length?(o=t,c):o},function(o){return r=o,t=o(i),n=o(a),e=t===n?0:1/(n-t),c}}function Pu(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function $u(){var t=ko(_u()(no));return t.copy=function(){return Pu(t,$u())},Cr.apply(t,arguments)}function Iu(){var t=Po(_u()).domain([1,10]);return t.copy=function(){return Pu(t,Iu()).base(t.base())},Cr.apply(t,arguments)}function Uu(){var t=Lo(_u());return t.copy=function(){return Pu(t,Uu()).constant(t.constant())},Cr.apply(t,arguments)}function Lu(){var t=Ro(_u());return t.copy=function(){return Pu(t,Lu()).exponent(t.exponent())},Cr.apply(t,arguments)}function Wu(){return Lu.apply(null,arguments).exponent(.5)}function Fu(){var t=[],n=no;function e(e){if(null!=e&&!isNaN(e=+e))return n((Zr(t,e,1)-1)/(t.length-1))}return e.domain=function(n){if(!arguments.length)return t.slice();t=[];for(let e of n)null==e||isNaN(e=+e)||t.push(e);return t.sort(Yr),e},e.interpolator=function(t){return arguments.length?(n=t,e):n},e.range=function(){return t.map(((e,r)=>n(r/(t.length-1))))},e.quantiles=function(n){return Array.from({length:n+1},((e,r)=>ti(t,r/n)))},e.copy=function(){return Fu(n).domain(t)},Cr.apply(e,arguments)}function zu(t,n){void 0===n&&(n=t,t=Ie);for(var e=0,r=n.length-1,o=n[0],i=new Array(r<0?0:r);e<r;)i[e]=t(o,o=n[++e]);return function(t){var n=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return i[n](t-n)}}function Hu(){var t,n,e,r,o,i,a,u=0,s=.5,c=1,l=1,f=no,d=!1;function h(t){return isNaN(t=+t)?a:(t=.5+((t=+i(t))-n)*(l*t<l*n?r:o),f(d?Math.max(0,Math.min(1,t)):t))}function p(t){return function(n){var e,r,o;return arguments.length?([e,r,o]=n,f=zu(t,[e,r,o]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){return arguments.length?([u,s,c]=a,t=i(u=+u),n=i(s=+s),e=i(c=+c),r=t===n?0:.5/(n-t),o=n===e?0:.5/(e-n),l=n<t?-1:1,h):[u,s,c]},h.clamp=function(t){return arguments.length?(d=!!t,h):d},h.interpolator=function(t){return arguments.length?(f=t,h):f},h.range=p(Ie),h.rangeRound=p(Qr),h.unknown=function(t){return arguments.length?(a=t,h):a},function(a){return i=a,t=a(u),n=a(s),e=a(c),r=t===n?0:.5/(n-t),o=n===e?0:.5/(e-n),l=n<t?-1:1,h}}function Ru(){var t=ko(Hu()(no));return t.copy=function(){return Pu(t,Ru())},Cr.apply(t,arguments)}function Yu(){var t=Po(Hu()).domain([.1,1,10]);return t.copy=function(){return Pu(t,Yu()).base(t.base())},Cr.apply(t,arguments)}function qu(){var t=Lo(Hu());return t.copy=function(){return Pu(t,qu()).constant(t.constant())},Cr.apply(t,arguments)}function Bu(){var t=Ro(Hu());return t.copy=function(){return Pu(t,Bu()).exponent(t.exponent())},Cr.apply(t,arguments)}function Vu(){return Bu.apply(null,arguments).exponent(.5)}sa=function(t){var n=t.dateTime,e=t.date,r=t.time,o=t.periods,i=t.days,a=t.shortDays,u=t.months,s=t.shortMonths,c=ya(o),l=va(o),f=ya(i),d=va(i),h=ya(a),p=va(a),g=ya(u),m=va(u),y=ya(s),v=va(s),b={a:function(t){return a[t.getDay()]},A:function(t){return i[t.getDay()]},b:function(t){return s[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:Wa,e:Wa,f:Ya,g:nu,G:ru,H:Fa,I:za,j:Ha,L:Ra,m:qa,M:Ba,p:function(t){return o[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Ou,s:ju,S:Va,u:Ka,U:Ga,V:Za,w:Qa,W:Ja,x:null,X:null,y:tu,Y:eu,Z:ou,"%":Au},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return i[t.getUTCDay()]},b:function(t){return s[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:iu,e:iu,f:lu,g:wu,G:Eu,H:au,I:uu,j:su,L:cu,m:fu,M:du,p:function(t){return o[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Ou,s:ju,S:hu,u:pu,U:gu,V:yu,w:vu,W:bu,x:null,X:null,y:xu,Y:Mu,Z:ku,"%":Au},w={a:function(t,n,e){var r=h.exec(n.slice(e));return r?(t.w=p.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.w=d.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(t,n,e){var r=y.exec(n.slice(e));return r?(t.m=v.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.m=m.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return k(t,n,e,r)},d:Ca,e:Ca,f:$a,g:Aa,G:ka,H:Da,I:Da,j:Ta,L:Pa,m:Sa,M:Na,p:function(t,n,e){var r=c.exec(n.slice(e));return r?(t.p=l.get(r[0].toLowerCase()),e+r[0].length):-1},q:ja,Q:Ua,s:La,S:_a,u:xa,U:wa,V:Ma,w:ba,W:Ea,x:function(t,n,r){return k(t,e,n,r)},X:function(t,n,e){return k(t,r,n,e)},y:Aa,Y:ka,Z:Oa,"%":Ia};function M(t,n){return function(e){var r,o,i,a=[],u=-1,s=0,c=t.length;for(e instanceof Date||(e=new Date(+e));++u<c;)37===t.charCodeAt(u)&&(a.push(t.slice(s,u)),null!=(o=fa[r=t.charAt(++u)])?r=t.charAt(++u):o="e"===r?" ":"0",(i=n[r])&&(r=i(e,o)),a.push(r),s=u+1);return a.push(t.slice(s,u)),a.join("")}}function E(t,n){return function(e){var r,o,i=ua(1900,void 0,1);if(k(i,t,e+="",0)!=e.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(n&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=aa(ua(i.y,0,1))).getUTCDay(),r=o>4||0===o?Yi.ceil(r):Yi(r),r=zi.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=ia(ua(i.y,0,1))).getDay(),r=o>4||0===o?Oi.ceil(r):Oi(r),r=Ei.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?aa(ua(i.y,0,1)).getUTCDay():ia(ua(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,aa(i)):ia(i)}}function k(t,n,e,r){for(var o,i,a=0,u=n.length,s=e.length;a<u;){if(r>=s)return-1;if(37===(o=n.charCodeAt(a++))){if(o=n.charAt(a++),!(i=w[o in fa?n.charAt(a++):o])||(r=i(t,e,r))<0)return-1}else if(o!=e.charCodeAt(r++))return-1}return r}return b.x=M(e,b),b.X=M(r,b),b.c=M(n,b),x.x=M(e,x),x.X=M(r,x),x.c=M(n,x),{format:function(t){var n=M(t+="",b);return n.toString=function(){return t},n},parse:function(t){var n=E(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=M(t+="",x);return n.toString=function(){return t},n},utcParse:function(t){var n=E(t+="",!0);return n.toString=function(){return t},n}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),ca=sa.format,sa.parse,la=sa.utcFormat,sa.utcParse;const Ku=["linear","time","log","sqrt"];function Gu(t){return"function"==typeof t?G(t.copy)&&G(t.domain)&&G(t.range):"string"==typeof t&&Ku.includes(t)}function Xu(t,n){return!(!t.scale||(t.scale.x||t.scale.y)&&!t.scale[n])}function Zu(t,n){if(!t.data)return"linear";const e=X(t[n]);return Re(t.data.map((t=>{const r=zn()(e(t))?e(t)[n]:e(t);return void 0!==r?r:t[n]})))?"time":"linear"}function Qu(t){if(Gu(t)){const r=`scale${e=t,e&&e[0].toUpperCase()+e.slice(1)}`;return n[r]()}var e;return Ao()}function Ju(t,n){const e=function(t,n){if(!Xu(t,n))return;const e=t.scale[n]||t.scale;return Gu(e)?G(e)?e:Qu(e):void 0}(t,n);return e?"string"==typeof e?Qu(e):e:Qu(function(t,n){let e;if(t.domain&&t.domain[n]?e=t.domain[n]:t.domain&&Array.isArray(t.domain)&&(e=t.domain),e)return Re(e)?"time":"linear"}(t,n)||Zu(t,n))}function ts(t,n){return function(t,n){if(!Xu(t,n))return;const e=t.scale[n]||t.scale;return"string"==typeof e?e:function(t){if("string"==typeof t)return t;const n=ns.filter((n=>void 0!==t[n.method]))[0];return n?n.name:void 0}(e)}(t,n)||Zu(t,n)}const ns=[{name:"quantile",method:"quantiles"},{name:"log",method:"base"}];function es(t){return!(!t||!t["@@__IMMUTABLE_ITERABLE__@@"])}function rs(t,n){return es(t)?t.reduce(((t,e,r)=>{let o=e;return n&&n[r]&&(o=rs(e)),t[r]=o,t}),function(t){return!(!t||!t["@@__IMMUTABLE_LIST__@@"])}(t)?[]:{}):t}function os(t){return es(n=t)||function(t){return!(!t||!t["@@__IMMUTABLE_RECORD__@@"])}(n)?rs(t,{errorX:!0,errorY:!0}):t;var n}function is(t,n){const e=(zn()(t.domain)?t.domain[n]:t.domain)||Ju(t,n).domain(),r=t.samples||1,o=Math.max(...e),i=Math.min(...e),a=function(t,n,e){const r=n?t:0;let o=n||t;o||(o=0);const i=o-r,a=Math.abs(i),u=i/a||1,s=e||1,c=Math.max(Math.ceil(a/s),0);return Array.from(Array(c),((t,n)=>r+n*u*s))}(i,o,(o-i)/r);return a[a.length-1]===o?a:a.concat(o)}function as(t,n,e){if(void 0===e&&(e="ascending"),!n)return t;let r=n;"x"!==n&&"y"!==n||(r=`_${n}`);const o="ascending"===e?"asc":"desc";return Wn()(t,r,o)}function us(t,n){const e=function(t,n){const{tickValues:e,tickFormat:r}=t;let o;return o=e&&(Array.isArray(e)||e[n])?e[n]||e:r&&Array.isArray(r)?r:[],o.filter((t=>"string"==typeof t))}(t,n),r=fs(t,n),o=function(t,n){if(!Array.isArray(t.data)&&!es(t.data))return[];const e=X(void 0===t[n]?n:t[n]);return as(t.data.reduce(((t,n)=>(t.push(os(n)),t)),[]),t.sortKey,t.sortOrder).reduce(((t,n)=>{const r=os(n);return t.push(e(r)),t}),[]).filter((t=>"string"==typeof t)).reduce(((t,n)=>(null!=n&&-1===t.indexOf(n)&&t.push(n),t)),[])}(t,n),i=or()([...e,...r,...o]);return 0===i.length?null:i.reduce(((t,n,e)=>(t[n]=e+1,t)),{})}function ss(t,n,e){if(!Array.isArray(t)&&!es(t)||function(t){return es(t)?t.size:t.length}(t)<1)return[];const r=["x","y","y0"],o=(e=Array.isArray(e)?e:r).reduce(((t,e)=>{var r;return t[e]=X(void 0!==n[r=e]?n[r]:r),t}),{}),i=Or()(e,r)&&"_x"===n.x&&"_y"===n.y&&"_y0"===n.y0;let a;!1===i&&(a={x:-1!==e.indexOf("x")?us(n,"x"):void 0,y:-1!==e.indexOf("y")?us(n,"y"):void 0,y0:-1!==e.indexOf("y0")?us(n,"y"):void 0});const u=i?t:t.reduce(((t,n,r)=>{const i=os(n),u={x:r,y:i},s=e.reduce(((t,n)=>{const e=o[n](i),r=void 0!==e?e:u[n];return void 0!==r&&("string"==typeof r&&a[n]?(t[`${n}Name`]=r,t[`_${n}`]=a[n][r]):t[`_${n}`]=r),t}),{}),c=Object.assign({},s,i);return rt()(c)||t.push(c),t}),[]),s=function(t,n){const e=1/Number.MAX_SAFE_INTEGER,r={x:ts(n,"x"),y:ts(n,"y")};if("log"!==r.x&&"log"!==r.y)return t;const o=(t,n)=>"log"!==r[n]||0!==t[`_${n}`];return t.map((t=>o(t,"x")&&o(t,"y")&&o(t,"y0")?t:(t=>{const n=o(t,"x")?t._x:e,r=o(t,"y")?t._y:e,i=o(t,"y0")?t._y0:e;return Object.assign({},t,{_x:n,_y:r,_y0:i})})(t)))}(as(u,n.sortKey,n.sortOrder),n);return function(t,n){const e=!!t.eventKey,r=G(o=t.eventKey)?o:null==o?()=>{}:U()(o);var o;return n.map(((t,n)=>{if(void 0!==t.eventKey)return t;if(e){const e=r(t,n);return void 0!==e?Object.assign({eventKey:e},t):t}return t}))}(n,s)}function cs(t){const n=is(t,"x"),e=is(t,"y");return n.map(((t,n)=>({x:t,y:e[n]})))}function ls(t,n){return t.categories&&!Array.isArray(t.categories)?t.categories[n]:t.categories}function fs(t,n){if(!t.categories)return[];const e=ls(t,n),r=e&&e.filter((t=>"string"==typeof t));return r?r.filter((t=>void 0!==t)):[]}var ds=r(4295),hs=r.n(ds),ps=r(2829),gs=r.n(ps);function ms(t,n,e){void 0===e&&(e="min");const r=t=>"max"===e?Math.max(...t):Math.min(...t),o="max"===e?-1/0:1/0;let i=!1;const a=t.flat().reduce(((t,e)=>{const o=void 0!==e[`_${n}0`]?e[`_${n}0`]:e[`_${n}`],a=void 0!==e[`_${n}1`]?e[`_${n}1`]:e[`_${n}`],u=r([o,a]);return i=i||o instanceof Date||a instanceof Date,r([t,u])}),o);return i?new Date(a):a}function ys(t,n){const e=G(t)?t:bs,r=G(n)?n:vs;return(t,n)=>{const o=function(t,n){const e=Ms(t,n),r=ws(t,n);return zn()(t.domain)&&t.domain[n]?t.domain[n]:Array.isArray(t.domain)?t.domain:void 0!==e&&void 0!==r?xs(e,r):void 0}(t,n);if(o)return r(o,t,n);const i=ls(t,n),a=i?function(t,n,e){const r=e||ls(t,n),{polar:o,startAngle:i=0,endAngle:a=360}=t;if(!r)return;const u=Ms(t,n),s=ws(t,n),c=(h=r,Array.isArray(h)&&h.some((t=>"string"==typeof t))?fs(t,n):[]),l=0===c.length?null:c.reduce(((t,n,e)=>(t[n]=e+1,t)),{}),f=l?r.map((t=>l[t])):r,d=xs(void 0!==u?u:Be(f),void 0!==s?s:qe(f));var h;return o&&"x"===n&&360===Math.abs(i-a)?Es(d,f):d}(t,n,i):e(t,n);return a?r(a,t,n):void 0}}function vs(t,n,e){return function(t,n,e){return"log"!==ts(n,e)?t:(t=>{const n=t[0]<0||t[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER;return[0===t[0]?n:t[0],0===t[1]?n:t[1]]})(t)}(function(t,n,e){if(!n.domainPadding)return t;const r=Ms(n,e),o=ws(n,e),i=function(t,n){const e=t=>Array.isArray(t)?{left:t[0],right:t[1]}:{left:t,right:t};return zn()(t.domainPadding)?e(t.domainPadding[n]):e(t.domainPadding)}(n,e);if(!i.left&&!i.right)return t;const a=Be(t),u=qe(t),s=function(t,n){return n?"x"===t?"y":"x":t}(e,n.horizontal),c=V(n,s),l=Math.abs(c[0]-c[1]),f=Math.max(l-i.left-i.right,1),d=Math.abs(u.valueOf()-a.valueOf())/f*l,h=d*i.left/l,p=d*i.right/l;let g={min:a.valueOf()-h,max:u.valueOf()+p};const m=zn()(n.singleQuadrantDomainPadding)?n.singleQuadrantDomainPadding[e]:n.singleQuadrantDomainPadding,y=(t,n)=>"min"===n&&a>=0&&t<=0||"max"===n&&u<=0&&t>=0?0:t;if((a>=0&&g.min<=0||u<=0&&g.max>=0)&&!1!==m){const t={left:Math.abs(u-a)*i.left/l,right:Math.abs(u-a)*i.right/l},n={min:y(a.valueOf()-t.left,"min"),max:y(u.valueOf()+t.right,"max")},e={left:Math.abs(n.max-n.min)*i.left/l,right:Math.abs(n.max-n.min)*i.right/l};g={min:y(a.valueOf()-e.left,"min"),max:y(u.valueOf()+e.right,"max")}}const v={min:void 0!==r?r:g.min,max:void 0!==o?o:g.max};return a instanceof Date||u instanceof Date?xs(new Date(v.min),new Date(v.max)):xs(v.min,v.max)}(t,n,e),n,e)}function bs(t,n,e){const r=e||function(t){return t.data?ss(t.data,t):ss(cs(t),t)}(t),{polar:o,startAngle:i=0,endAngle:a=360}=t,u=Ms(t,n),s=ws(t,n);if(r.length<1)return void 0!==u&&void 0!==s?xs(u,s):void 0;const c=xs(void 0!==u?u:ms(r,n,"min"),void 0!==s?s:ms(r,n,"max"));return o&&"x"===n&&360===Math.abs(i-a)?Es(c,function(t,n){const e=`_${n}`;return t.flat().map((t=>t[e]&&void 0!==t[e][1]?t[e][1]:t[e]))}(r,n)):c}function xs(t,n){return Number(t)===Number(n)?(t=>{const n=0===t?2*Math.pow(10,-10):Math.pow(10,-10),e=t instanceof Date?new Date(Number(t)-1):Number(t)-n,r=t instanceof Date?new Date(Number(t)+1):Number(t)+n;return 0===t?[0,r]:[e,r]})(n):[t,n]}function ws(t,n){return zn()(t.maxDomain)&&void 0!==t.maxDomain[n]?t.maxDomain[n]:"number"==typeof t.maxDomain||hs()(t.maxDomain)?t.maxDomain:void 0}function Ms(t,n){return zn()(t.minDomain)&&void 0!==t.minDomain[n]?t.minDomain[n]:"number"==typeof t.minDomain||hs()(t.minDomain)?t.minDomain:void 0}function Es(t,n){const e=gs()(n.sort(((t,n)=>t-n))),r=e[1]-e[0];return[t[0],t[1]+r]}const ks=(t,n,e)=>{const r=n[{x:"_errorX",y:"_errorY"}[e]];if(0===r)return!1;const o=t.scale[e];return Array.isArray(r)?[0!==r[0]&&o(r[0]+n[`_${e}`]),0!==r[1]&&o(n[`_${e}`]-r[1])]:[o(r+n[`_${e}`]),o(n[`_${e}`]-r)]},As=t=>{const n=["x","y","errorX","errorY"];return t.data?ss(t.data,t,n):ss(t.errorX||t.errorY?cs(t):[],t,n)},Os=(t,n)=>{const e=Ms(t,n),r=ws(t,n),o=As(t);if(o.length<1)return void 0!==e&&void 0!==r?xs(e,r):void 0;const i="x"===n?"_errorX":"_errorY",a=t=>{const e="min"===t?1/0:-1/0,r="min"===t?1:0,a="min"===t?-1:1;return o.reduce(((e,o)=>{const u=Array.isArray(o[i])?o[i][r]:o[i],s=o[`_${n}`]+a*(u||0);return e<s&&"min"===t||e>s&&"max"===t?e:s}),e)};return xs(void 0!==e?e:a("min"),void 0!==r?r:a("max"))},js=(t,n)=>ys(Os)(t,n),Ss=(t,n)=>{const e=Z(t,n,"errorbar"),r=Object.assign({},e,(t=>{const n=function(t,n){const{theme:e={},labelComponent:r}=t,o=e[n]&&e[n].style||{};if(!H(r))return o;const i=e.tooltip&&e.tooltip.style||{},a=f()({},i,o.labels);return f()({},{labels:a},o)}(t,"errorbar"),e=function(t,n){const e="100%",r="100%";if(!t)return f()({parent:{height:r,width:e}},n);const{data:o,labels:i,parent:a}=t,u=n&&n.parent||{},s=n&&n.labels||{},c=n&&n.data||{};return{parent:f()({},a,u,{width:e,height:r}),labels:f()({},i,s),data:f()({},o,c)}}(t.style,n)||{},r=As(t),o={x:V(t,"x"),y:V(t,"y")},i={x:js(t,"x"),y:js(t,"y")},a={x:Ju(t,"x").domain(i.x).range(t.horizontal?o.y:o.x),y:Ju(t,"y").domain(i.y).range(t.horizontal?o.x:o.y)},u=t.polar?t.origin||function(t){const{width:n,height:e}=t,{top:r,bottom:o,left:i,right:a}=z(t),u=Math.min(n-i-a,e-r-o)/2,s=n/2+i-a,c=e/2+r-o;return{x:s+u>n?u+i-a:s,y:c+u>e?u+r-o:c}}(t):void 0;return{domain:i,data:r,scale:a,style:e,origin:u}})(e)),{borderWidth:o,data:i,domain:a,events:u,groupComponent:s,height:c,horizontal:l,labels:d,name:h,origin:p,padding:g,polar:m,scale:y,sharedEvents:v,standalone:b,style:x,theme:w,width:M,disableInlineStyles:E}=r,k={parent:{data:i,domain:a,height:c,horizontal:l,name:h,origin:p,padding:g,polar:m,scale:y,standalone:b,style:x.parent,theme:w,width:M}};return i.reduce(((t,n,e)=>{const c=K(n.eventKey)?e:n.eventKey,{x:h,y:p}=F(kr()({},r,{scale:y}),n),g=((t,n)=>{const e=Be(n.x),r=qe(n.x),o=Be(n.y),i=qe(n.y);let{_x:a,_y:u}=t;return(a<e||a>r||u<o||u>i)&&(a=u=null),Object.assign({},t,{_x:a,_y:u})})(n,a),m=ks(r,g,"x"),b=ks(r,g,"y"),w={borderWidth:o,data:i,datum:g,errorX:l?b:m,errorY:l?m:b,groupComponent:s,horizontal:l,index:e,scale:y,style:E?{}:x.data,x:h,y:p,disableInlineStyles:E};t[c]={data:w};const M=function(t,n,e){return void 0===n&&(n={}),void 0!==n.label?n.label:Array.isArray(t.labels)?t.labels[e]:t.labels}(r,n,e);return(null!=M||d&&(u||v))&&(t[c].labels=((t,n,e)=>{const{x:r,y:o,index:i,scale:a,errorY:u,errorX:s,horizontal:c,labelComponent:l,theme:d,disableInlineStyles:h}=t,p=function(n){void 0===n&&(n="x");const e="y"===n?u:s;return(e&&Array.isArray(e)?e[0]:e)||t[n]},g=e.labels||{},m=g.padding||0,y=c?"start":"middle",v=c?"middle":"end",b={style:g,y:c?o:p("y"),x:c?p("x"):r,dy:c?0:-m,dx:c?m:0,text:n,index:i,scale:a,datum:t.datum,data:t.data,textAnchor:g.textAnchor||y,verticalAnchor:g.verticalAnchor||v,angle:g.angle,horizontal:c,disableInlineStyles:h};if(!H(l))return b;const x=d&&d.tooltip||{};return f()({},b,L(x,["style"]))})(Object.assign({},r,w),M,x)),t}),k)},Cs={width:450,height:300,padding:50},Ts=[{x:1,y:1,errorX:.1,errorY:.1},{x:2,y:2,errorX:.2,errorY:.2},{x:3,y:3,errorX:.3,errorY:.3},{x:4,y:4,errorX:.4,errorY:.4}];class Ds extends i().Component{static animationWhitelist=["data","domain","height","padding","samples","style","width","errorX","errorY","borderWidth"];static displayName="VictoryErrorBar";static role="errorbar";static defaultTransitions={onLoad:{duration:2e3,before:()=>({opacity:0}),after:t=>t},onExit:{duration:600,before:()=>({opacity:0})},onEnter:{duration:600,before:()=>({opacity:0}),after:t=>t}};static defaultProps={containerComponent:i().createElement(nt,null),data:Ts,dataComponent:i().createElement(Mr,null),labelComponent:i().createElement(It,null),groupComponent:i().createElement("g",{role:"presentation"}),samples:50,sortOrder:"ascending",standalone:!0,theme:tn};static getDomain(t,n){return js(t,n)}static getData(t){return As(t)}static getBaseProps(t){return Ss(t,Cs)}static expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"];shouldAnimate(){return!!this.props.animate}render(){const{animationWhitelist:t,role:n}=Ns,r=Z(this.props,Cs,n);if(this.shouldAnimate())return this.animateComponent(r,t);const o=this.renderData(r);return((t,n)=>e.cloneElement(t,J(n)))(r.standalone?this.renderContainer(r.containerComponent,o):o,r)}}const Ns=(_s=Ds,void 0===Ps&&(Ps={}),class extends _s{constructor(t){super(t),this.cacheValues(this.getCalculatedValues(t))}state={};getEventState=dr.bind(this);getScopedEvents=fr.bind(this);getEvents=(t,n,e)=>lr.call(this,t,n,e,this.getScopedEvents);externalMutations=this.getExternalMutations(this.props);calculatedState=this.getStateChanges(this.props);globalEvents={};prevGlobalEventKeys=[];boundGlobalEvents={};shouldComponentUpdate(t){const n=this.getExternalMutations(t),e=this.props.animating||this.props.animate,r=!en()(n,this.externalMutations);if(e||r)return this.cacheValues(this.getCalculatedValues(t)),this.externalMutations=n,this.applyExternalMutations(t,n),!0;const o=this.getStateChanges(t);return en()(this.calculatedState,o)?!en()(this.props,t)&&(this.cacheValues(this.getCalculatedValues(t)),!0):(this.cacheValues(this.getCalculatedValues(t)),!0)}componentDidMount(){const t=Object.keys(this.globalEvents);t.forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=t}componentDidUpdate(t){const n=this.getStateChanges(t);this.calculatedState=n;const e=Object.keys(this.globalEvents);Ye(this.prevGlobalEventKeys,e).forEach((t=>this.removeGlobalListener(t))),Ye(e,this.prevGlobalEventKeys).forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=e}componentWillUnmount(){this.prevGlobalEventKeys.forEach((t=>this.removeGlobalListener(t)))}addGlobalListener(t){const n=n=>{const e=this.globalEvents[t];return e&&e((t=>Object.assign(t,{nativeEvent:t}))(n))};this.boundGlobalEvents[t]=n,window.addEventListener(pr(t),n)}removeGlobalListener(t){window.removeEventListener(pr(t),this.boundGlobalEvents[t])}getStateChanges(t){if(!this.hasEvents)return{};const n=(t,n)=>{const e=f()({},this.getEventState(t,n),this.getSharedEventState(t,n));return rt()(e)?void 0:e};return(Ps.components||mr).map((e=>{if(t.standalone||"parent"!==e.name)return void 0!==e.index?n(e.index,e.name):this.dataKeys.map((t=>n(t,e.name))).filter(Boolean)})).filter(Boolean)}applyExternalMutations(t,n){if(!rt()(n)){const e=t.externalEventMutations.reduce(((t,n)=>G(n.callback)?t.concat(n.callback):t),[]),r=e.length?()=>{e.forEach((t=>t()))}:void 0;this.setState(n,r)}}getCalculatedValues(t){const{sharedEvents:n}=t,e=function(t,n){const e=Array.isArray(n)&&n.reduce(((n,e)=>{const r=t[e],o=r&&r.type&&r.type.defaultEvents,i=G(o)?o(r.props):o;return Array.isArray(i)?n.concat(...i):n}),[]);return e&&e.length?e:void 0}(t,_s.expectedComponents),r=n&&G(n.getEventState)?n.getEventState:()=>{},o=this.getBaseProps(t,r);return{componentEvents:e,getSharedEventState:r,baseProps:o,dataKeys:Object.keys(o).filter((t=>"parent"!==t)),hasEvents:t.events||t.sharedEvents||e,events:this.getAllEvents(t)}}getExternalMutations(t){const{sharedEvents:n,externalEventMutations:e}=t;return rt()(e)||n?void 0:function(t,n,e,r){return void 0===n&&(n={}),void 0===e&&(e={}),Object.keys(n).reduce(((o,i)=>{const a=e[i]||{},u=n[i]||{};if("parent"===i){const n=hr(t,u,a,{eventKey:i,target:"parent"});o[i]=void 0!==n?Object.assign({},a,n):a}else{const n=or()(Object.keys(u).concat(Object.keys(a)));o[i]=n.reduce(((n,e)=>{const o={eventKey:i,target:e,childName:r},s=hr(t,u[e],a[e],o);return n[e]=void 0!==s?Object.assign({},a[e],s):a[e],sr()(n,(t=>!rt()(t)))}),{})}return sr()(o,(t=>!rt()(t)))}),{})}(e,this.baseProps,this.state)}cacheValues(t){Object.keys(t).forEach((n=>{this[n]=t[n]}))}getBaseProps(t,n){const e=(n||this.getSharedEventState.bind(this))("parent","parent"),r=this.getEventState("parent","parent"),o=f()({},r,e),i=o.parentControlledProps,a=i?$()(o,i):{},u=f()({},a,t);return"function"==typeof _s.getBaseProps?_s.getBaseProps(u):{}}getAllEvents(t){return Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events}getComponentProps(t,n,e){const r=this.props.name||_s.role,o=this.dataKeys&&this.dataKeys[e]||e,i=`${r}-${n}-${o}`,a=this.baseProps[o]&&this.baseProps[o][n]||this.baseProps[o];if(!a&&!this.hasEvents)return;const u=t&&"object"==typeof t&&"props"in t?t.props:void 0;if(this.hasEvents){const t=this.getEvents(this.props,n,o),r=f()({index:e,key:i},this.getEventState(o,n),this.getSharedEventState(o,n),u,a,{id:i}),s=f()({},function(t,n,e){return t?Object.keys(t).reduce(((r,o)=>(r[o]=r=>t[o](r,e,n,o),r)),{}):{}}(t,o,r),r.events);return Object.assign({},r,{events:s})}return f()({index:e,key:i},u,a,{id:i})}renderContainer(t,n){const e=t.type&&"container"===t.type.role?this.getComponentProps(t,"parent","parent"):{};var r;return e.events&&(this.globalEvents=(r=e.events,sr()(r,((t,n)=>cr.test(n)))),e.events=(t=>ar()(t,((t,n)=>cr.test(n))))(e.events)),i().cloneElement(t,e,n)}animateComponent(t,n){const e="object"==typeof t.animate&&t.animate?.animationWhitelist||n,r=this.constructor;return i().createElement(er,{animate:t.animate,animationWhitelist:e},i().createElement(r,t))}renderContinuousData(t){const{dataComponent:n,labelComponent:e,groupComponent:r}=t,o=this.dataKeys.filter((t=>"all"!==t)),a=o.reduce(((t,n)=>{let r=t;const o=this.getComponentProps(e,"labels",n);return o&&void 0!==o.text&&null!==o.text&&(r=r.concat(i().cloneElement(e,o))),r}),[]),u=this.getComponentProps(n,"data","all"),s=[i().cloneElement(n,u),...a];return this.renderContainer(r,s)}renderData(t,n){void 0===n&&(n=gr);const{dataComponent:e,labelComponent:r,groupComponent:o}=t,a=[...this.dataKeys.reduce(((t,r,o)=>{const a=this.getComponentProps(e,"data",o);return n(a.datum)&&t.push(i().cloneElement(e,a)),t}),[]),...this.dataKeys.map(((t,n)=>{const e=this.getComponentProps(r,"labels",n);if(void 0!==e.text&&null!==e.text)return i().cloneElement(r,e)})).filter(Boolean)];return this.renderContainer(o,a)}});var _s,Ps}(),o}()}));
2
2
  //# sourceMappingURL=victory-errorbar.min.js.map