text: !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.VictoryAxis=t(require("react")):e.VictoryAxis=t(e.React)}(self,(function(e){return(()=>{var t={1124:(e,t,n)=>{var r=n(7236);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return r(e)?e:[e]}},4281:(e,t,n)=>{var r=n(7168),a=n(6582),o=n(3867),i=n(9557),u=n(2726);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=a,c.prototype.get=o,c.prototype.has=i,c.prototype.set=u,e.exports=c},4690:(e,t,n)=>{var r=n(441).Symbol;e.exports=r},5198:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},8058:(e,t,n)=>{var r=n(7650);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},7431:e=>{e.exports=function(e,t,n){for(var r=-1,a=null==e?0:e.length;++r<a;)if(n(t,e[r]))return!0;return!1}},6460:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}},3848:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}},4793:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},7596:(e,t,n)=>{var r=n(999),a=n(6530),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var i=e[t];o.call(e,t)&&a(i,n)&&(void 0!==n||t in e)||r(e,t,n)}},3833:(e,t,n)=>{var r=n(6530);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},999:(e,t,n)=>{var r=n(9346);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},1096:(e,t,n)=>{var r=n(1124),a=n(8058),o=n(7431),i=n(6460),u=n(6535),c=n(555);e.exports=function(e,t,n,f){var l=-1,s=a,d=!0,p=e.length,h=[],v=t.length;if(!p)return h;n&&(t=i(t,u(n))),f?(s=o,d=!1):t.length>=200&&(s=c,d=!1,t=new r(t));e:for(;++l<p;){var y=e[l],g=null==n?y:n(y);if(y=f||0!==y?y:0,d&&g==g){for(var b=v;b--;)if(t[b]===g)continue e;h.push(y)}else s(t,g,f)||h.push(y)}return h}},528:e=>{e.exports=function(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o<a;)if(t(e[o],o,e))return o;return-1}},314:(e,t,n)=>{var r=n(3848),a=n(1754);e.exports=function e(t,n,o,i,u){var c=-1,f=t.length;for(o||(o=a),u||(u=[]);++c<f;){var l=t[c];n>0&&o(l)?n>1?e(l,n-1,o,i,u):r(u,l):i||(u[u.length]=l)}return u}},641:(e,t,n)=>{var r=n(2630)();e.exports=r},5897:(e,t,n)=>{var r=n(641),a=n(2635);e.exports=function(e,t){return e&&r(e,t,a)}},166:(e,t,n)=>{var r=n(8422),a=n(8780);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n<o;)e=e[a(t[n++])];return n&&n==o?e:void 0}},4318:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},7650:e=>{e.exports=function(e,t,n){for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}},8376:(e,t,n)=>{var r=n(5897);e.exports=function(e,t,n,a){return r(e,(function(e,r,o){t(a,n(e),r,o)})),a}},5432:(e,t,n)=>{var r=n(4318),a=n(3387);e.exports=function(e){return a(e)&&"[object Date]"==r(e)}},1071:(e,t,n)=>{var r=n(7229),a=n(3387);e.exports=function e(t,n,o,i,u){return t===n||(null==t||null==n||!a(t)&&!a(n)?t!=t&&n!=n:r(t,n,o,i,e,u))}},7229:(e,t,n)=>{var r=n(4281),a=n(2503),o=n(6001),i=n(8784),u=n(6686),c=n(7236),f=n(8752),l=n(4812),s="[object Arguments]",d="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,v,y,g){var b=c(e),m=c(t),x=b?d:u(e),w=m?d:u(t),O=(x=x==s?p:x)==p,k=(w=w==s?p:w)==p,M=x==w;if(M&&f(e)){if(!f(t))return!1;b=!0,O=!1}if(M&&!O)return g||(g=new r),b||l(e)?a(e,t,n,v,y,g):o(e,t,x,n,v,y,g);if(!(1&n)){var A=O&&h.call(e,"__wrapped__"),E=k&&h.call(t,"__wrapped__");if(A||E){var T=A?e.value():e,j=E?t.value():t;return g||(g=new r),y(T,j,n,v,g)}}return!!M&&(g||(g=new r),i(e,t,n,v,y,g))}},9157:(e,t,n)=>{var r=n(4281),a=n(1071);e.exports=function(e,t,n,o){var i=n.length,u=i,c=!o;if(null==e)return!u;for(e=Object(e);i--;){var f=n[i];if(c&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++i<u;){var l=(f=n[i])[0],s=e[l],d=f[1];if(c&&f[2]){if(void 0===s&&!(l in e))return!1}else{var p=new r;if(o)var h=o(s,d,l,e,t,p);if(!(void 0===h?a(d,s,3,o,p):h))return!1}}return!0}},1131:(e,t,n)=>{var r=n(4318),a=n(3387);e.exports=function(e){return a(e)&&"[object RegExp]"==r(e)}},8904:(e,t,n)=>{var r=n(8418),a=n(4555),o=n(5362),i=n(7236),u=n(1651);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?i(e)?a(e[0],e[1]):r(e):u(e)}},8803:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},2920:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}},8418:(e,t,n)=>{var r=n(9157),a=n(9182),o=n(7375);e.exports=function(e){var t=a(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},4555:(e,t,n)=>{var r=n(1071),a=n(3795),o=n(3646),i=n(3266),u=n(1457),c=n(7375),f=n(8780);e.exports=function(e,t){return i(e)&&u(t)?c(f(e),t):function(n){var i=a(n,e);return void 0===i&&i===t?o(n,e):r(t,i,3)}}},690:(e,t,n)=>{var r=n(6460),a=n(166),o=n(8904),i=n(2920),u=n(6024),c=n(6535),f=n(1397),l=n(5362),s=n(7236);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return s(e)?function(t){return a(t,1===e.length?e[0]:e)}:e})):[l];var d=-1;t=r(t,c(o));var p=i(e,(function(e,n,a){return{criteria:r(t,(function(t){return t(e)})),index:++d,value:e}}));return u(p,(function(e,t){return f(e,t,n)}))}},7410:(e,t,n)=>{var r=n(6621),a=n(3646);e.exports=function(e,t){return r(e,t,(function(t,n){return a(e,n)}))}},6621:(e,t,n)=>{var r=n(166),a=n(8116),o=n(8422);e.exports=function(e,t,n){for(var i=-1,u=t.length,c={};++i<u;){var f=t[i],l=r(e,f);n(l,f)&&a(c,o(f,e),l)}return c}},1712:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},4815:(e,t,n)=>{var r=n(166);e.exports=function(e){return function(t){return r(t,e)}}},797:e=>{var t=Math.ceil,n=Math.max;e.exports=function(e,r,a,o){for(var i=-1,u=n(t((r-e)/(a||1)),0),c=Array(u);u--;)c[o?u:++i]=e,e+=a;return c}},4569:(e,t,n)=>{var r=n(5362),a=n(4468),o=n(8756);e.exports=function(e,t){return o(a(e,t,r),e+"")}},8116:(e,t,n)=>{var r=n(7596),a=n(8422),o=n(4363),i=n(5973),u=n(8780);e.exports=function(e,t,n,c){if(!i(e))return e;for(var f=-1,l=(t=a(t,e)).length,s=l-1,d=e;null!=d&&++f<l;){var p=u(t[f]),h=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return e;if(f!=s){var v=d[p];void 0===(h=c?c(v,p,d):void 0)&&(h=i(v)?v:o(t[f+1])?[]:{})}r(d,p,h),d=d[p]}return e}},6024:e=>{e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},5159:(e,t,n)=>{var r=n(6530);e.exports=function(e,t){for(var n=-1,a=e.length,o=0,i=[];++n<a;){var u=e[n],c=t?t(u):u;if(!n||!r(c,f)){var f=c;i[o++]=0===u?0:u}}return i}},454:(e,t,n)=>{var r=n(4690),a=n(6460),o=n(7236),i=n(2945),u=r?r.prototype:void 0,c=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return a(t,e)+"";if(i(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},3349:(e,t,n)=>{var r=n(5720),a=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(a,""):e}},6535:e=>{e.exports=function(e){return function(t){return e(t)}}},4351:(e,t,n)=>{var r=n(1124),a=n(8058),o=n(7431),i=n(555),u=n(8491),c=n(6350);e.exports=function(e,t,n){var f=-1,l=a,s=e.length,d=!0,p=[],h=p;if(n)d=!1,l=o;else if(s>=200){var v=t?null:u(e);if(v)return c(v);d=!1,l=i,h=new r}else h=t?[]:p;e:for(;++f<s;){var y=e[f],g=t?t(y):y;if(y=n||0!==y?y:0,d&&g==g){for(var b=h.length;b--;)if(h[b]===g)continue e;t&&h.push(g),p.push(y)}else l(h,g,n)||(h!==p&&h.push(g),p.push(y))}return p}},925:(e,t,n)=>{var r=n(6460);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},555:(e,t,n)=>{var r=n(7650);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},8422:(e,t,n)=>{var r=n(7236),a=n(3266),o=n(3879),i=n(1119);e.exports=function(e,t){return r(e)?e:a(e,t)?[e]:o(i(e))}},709:(e,t,n)=>{var r=n(2945);e.exports=function(e,t){if(e!==t){var n=void 0!==e,a=null===e,o=e==e,i=r(e),u=void 0!==t,c=null===t,f=t==t,l=r(t);if(!c&&!l&&!i&&e>t||i&&u&&f&&!c&&!l||a&&u&&f||!n&&f||!o)return 1;if(!a&&!i&&!l&&e<t||l&&n&&o&&!a&&!i||c&&n&&o||!u&&o||!f)return-1}return 0}},1397:(e,t,n)=>{var r=n(709);e.exports=function(e,t,n){for(var a=-1,o=e.criteria,i=t.criteria,u=o.length,c=n.length;++a<u;){var f=r(o[a],i[a]);if(f)return a>=c?f:f*("desc"==n[a]?-1:1)}return e.index-t.index}},6051:(e,t,n)=>{var r=n(7596),a=n(999);e.exports=function(e,t,n,o){var i=!n;n||(n={});for(var u=-1,c=t.length;++u<c;){var f=t[u],l=o?o(n[f],e[f],f,n,e):void 0;void 0===l&&(l=e[f]),i?a(n,f,l):r(n,f,l)}return n}},2544:(e,t,n)=>{var r=n(4569),a=n(3108);e.exports=function(e){return r((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,u=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,u&&a(n[0],n[1],u)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var c=n[r];c&&e(t,c,r,i)}return t}))}},2630:e=>{e.exports=function(e){return function(t,n,r){for(var a=-1,o=Object(t),i=r(t),u=i.length;u--;){var c=i[e?u:++a];if(!1===n(o[c],c,o))break}return t}}},3086:(e,t,n)=>{var r=n(8904),a=n(1580),o=n(2635);e.exports=function(e){return function(t,n,i){var u=Object(t);if(!a(t)){var c=r(n,3);t=o(t),n=function(e){return c(u[e],e,u)}}var f=e(t,n,i);return f>-1?u[c?t[f]:f]:void 0}}},3186:(e,t,n)=>{var r=n(8376);e.exports=function(e,t){return function(n,a){return r(n,e,t(a),{})}}},9833:(e,t,n)=>{var r=n(797),a=n(3108),o=n(992);e.exports=function(e){return function(t,n,i){return i&&"number"!=typeof i&&a(t,n,i)&&(n=i=void 0),t=o(t),void 0===n?(n=t,t=0):n=o(n),i=void 0===i?t<n?1:-1:o(i),r(t,n,i,e)}}},8491:e=>{e.exports=function(){}},9346:(e,t,n)=>{var r=n(4457),a=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=a},2503:(e,t,n)=>{var r=n(1124),a=n(4793),o=n(555);e.exports=function(e,t,n,i,u,c){var f=1&n,l=e.length,s=t.length;if(l!=s&&!(f&&s>l))return!1;var d=c.get(e),p=c.get(t);if(d&&p)return d==t&&p==e;var h=-1,v=!0,y=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++h<l;){var g=e[h],b=t[h];if(i)var m=f?i(b,g,h,t,e,c):i(g,b,h,e,t,c);if(void 0!==m){if(m)continue;v=!1;break}if(y){if(!a(t,(function(e,t){if(!o(y,t)&&(g===e||u(g,e,n,i,c)))return y.push(t)}))){v=!1;break}}else if(g!==b&&!u(g,b,n,i,c)){v=!1;break}}return c.delete(e),c.delete(t),v}},6001:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},8784:(e,t,n)=>{var r=n(6094),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,i,u){var c=1&n,f=r(e),l=f.length;if(l!=r(t).length&&!c)return!1;for(var s=l;s--;){var d=f[s];if(!(c?d in t:a.call(t,d)))return!1}var p=u.get(e),h=u.get(t);if(p&&h)return p==t&&h==e;var v=!0;u.set(e,t),u.set(t,e);for(var y=c;++s<l;){var g=e[d=f[s]],b=t[d];if(o)var m=c?o(b,g,d,t,e,u):o(g,b,d,e,t,u);if(!(void 0===m?g===b||i(g,b,n,o,u):m)){v=!1;break}y||(y="constructor"==d)}if(v&&!y){var x=e.constructor,w=t.constructor;x==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(v=!1)}return u.delete(e),u.delete(t),v}},3368:(e,t,n)=>{var r=n(5453),a=n(4468),o=n(8756);e.exports=function(e){return o(a(e,void 0,r),e+"")}},4414:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},6094:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},5559:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},9182:(e,t,n)=>{var r=n(1457),a=n(2635);e.exports=function(e){for(var t=a(e),n=t.length;n--;){var o=t[n],i=e[o];t[n]=[o,i,r(i)]}return t}},4457:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},1407:(e,t,n)=>{var r=n(3717)(Object.getPrototypeOf,Object);e.exports=r},6686:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7383:(e,t,n)=>{var r=n(8422),a=n(6981),o=n(7236),i=n(4363),u=n(9216),c=n(8780);e.exports=function(e,t,n){for(var f=-1,l=(t=r(t,e)).length,s=!1;++f<l;){var d=c(t[f]);if(!(s=null!=e&&n(e,d)))break;e=e[d]}return s||++f!=l?s:!!(l=null==e?0:e.length)&&u(l)&&i(d,l)&&(o(e)||a(e))}},1754:(e,t,n)=>{var r=n(4690),a=n(6981),o=n(7236),i=r?r.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||a(e)||!!(i&&e&&e[i])}},4363:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},3108:e=>{e.exports=function(){return!1}},3266:(e,t,n)=>{var r=n(7236),a=n(2945),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!a(e))||i.test(e)||!o.test(e)||null!=t&&e in Object(t)}},5003:e=>{e.exports=function(){return!1}},1457:(e,t,n)=>{var r=n(5973);e.exports=function(e){return e==e&&!r(e)}},7168:e=>{e.exports=function(){this.__data__=[],this.size=0}},6582:(e,t,n)=>{var r=n(3833),a=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():a.call(t,n,1),--this.size,0))}},3867:(e,t,n)=>{var r=n(3833);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},9557:(e,t,n)=>{var r=n(3833);e.exports=function(e){return r(this.__data__,e)>-1}},2726:(e,t,n)=>{var r=n(3833);e.exports=function(e,t){var n=this.__data__,a=r(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}},7375:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},7085:e=>{e.exports=function(e){return e}},1782:(e,t,n)=>{e=n.nmd(e);var r=n(4414),a=t&&!t.nodeType&&t,o=a&&e&&!e.nodeType&&e,i=o&&o.exports===a&&r.process,u=function(){try{return o&&o.require&&o.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=u},3717:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},4468:(e,t,n)=>{var r=n(5198),a=Math.max;e.exports=function(e,t,n){return t=a(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,u=a(o.length-t,0),c=Array(u);++i<u;)c[i]=o[t+i];i=-1;for(var f=Array(t+1);++i<t;)f[i]=o[i];return f[t]=n(c),r(e,this,f)}}},441:(e,t,n)=>{var r=n(4414),a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")();e.exports=o},6350:e=>{e.exports=function(){return[]}},8756:e=>{e.exports=function(e){return e}},3879:(e,t,n)=>{var r=n(7085),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,(function(e,n,r,a){t.push(r?a.replace(o,"$1"):n||e)})),t}));e.exports=i},8780:(e,t,n)=>{var r=n(2945);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},5720:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},6782:(e,t,n)=>{var r=n(7596),a=n(6051),o=n(2544),i=n(1580),u=n(5003),c=n(2635),f=Object.prototype.hasOwnProperty,l=o((function(e,t){if(u(t)||i(t))a(t,c(t),e);else for(var n in t)f.call(t,n)&&r(e,n,t[n])}));e.exports=l},8211:e=>{e.exports=function(e){return function(){return e}}},7901:(e,t,n)=>{var r=n(4569),a=n(6530),o=n(3108),i=n(5850),u=Object.prototype,c=u.hasOwnProperty,f=r((function(e,t){e=Object(e);var n=-1,r=t.length,f=r>2?t[2]:void 0;for(f&&o(t[0],t[1],f)&&(r=1);++n<r;)for(var l=t[n],s=i(l),d=-1,p=s.length;++d<p;){var h=s[d],v=e[h];(void 0===v||a(v,u[h])&&!c.call(e,h))&&(e[h]=l[h])}return e}));e.exports=f},484:(e,t,n)=>{var r=n(1096),a=n(314),o=n(4569),i=n(9747),u=o((function(e,t){return i(e)?r(e,a(t,1,i,!0)):[]}));e.exports=u},6530:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},6786:(e,t,n)=>{var r=n(3086)(n(8611));e.exports=r},8611:(e,t,n)=>{var r=n(528),a=n(8904),o=n(5225),i=Math.max;e.exports=function(e,t,n){var u=null==e?0:e.length;if(!u)return-1;var c=null==n?0:o(n);return c<0&&(c=i(u+c,0)),r(e,a(t,3),c)}},5453:(e,t,n)=>{var r=n(314);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},3795:(e,t,n)=>{var r=n(166);e.exports=function(e,t,n){var a=null==e?void 0:r(e,t);return void 0===a?n:a}},3646:(e,t,n)=>{var r=n(7),a=n(7383);e.exports=function(e,t){return null!=e&&a(e,t,r)}},5362:e=>{e.exports=function(e){return e}},6901:(e,t,n)=>{var r=n(7650);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},3323:(e,t,n)=>{var r=n(8211),a=n(3186),o=n(5362),i=Object.prototype.toString,u=a((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=i.call(t)),e[t]=n}),r(o));e.exports=u},6981:e=>{e.exports=function(){return!1}},7236:e=>{var t=Array.isArray;e.exports=t},1580:(e,t,n)=>{var r=n(3839),a=n(9216);e.exports=function(e){return null!=e&&a(e.length)&&!r(e)}},9747:(e,t,n)=>{var r=n(1580),a=n(3387);e.exports=function(e){return a(e)&&r(e)}},8752:e=>{e.exports=function(){return!1}},7957:(e,t,n)=>{var r=n(5432),a=n(6535),o=n(1782),i=o&&o.isDate,u=i?a(i):r;e.exports=u},6834:(e,t,n)=>{var r=n(8803),a=n(6686),o=n(6981),i=n(7236),u=n(1580),c=n(8752),f=n(5003),l=n(4812),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(u(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||l(e)||o(e)))return!e.length;var t=a(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(f(e))return!r(e).length;for(var n in e)if(s.call(e,n))return!1;return!0}},9793:(e,t,n)=>{var r=n(1071);e.exports=function(e,t){return r(e,t)}},3839:(e,t,n)=>{var r=n(4318),a=n(5973);e.exports=function(e){if(!a(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},9216:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},6866:e=>{e.exports=function(e){return null==e}},5973:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3387:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},9636:(e,t,n)=>{var r=n(4318),a=n(1407),o=n(3387),i=Function.prototype,u=Object.prototype,c=i.toString,f=u.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=a(e);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},2654:(e,t,n)=>{var r=n(1131),a=n(6535),o=n(1782),i=o&&o.isRegExp,u=i?a(i):r;e.exports=u},2945:e=>{e.exports=function(){return!1}},4812:e=>{e.exports=function(){return!1}},2720:e=>{e.exports=function(e){return void 0===e}},2635:(e,t,n)=>{var r=n(3717)(Object.keys,Object);e.exports=r},5850:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},2972:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},5913:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},5492:(e,t,n)=>{var r=n(8904),a=n(5913),o=n(9922);e.exports=function(e,t){return o(e,a(r(t)))}},1473:(e,t,n)=>{var r=n(690),a=n(7236);e.exports=function(e,t,n,o){return null==e?[]:(a(t)||(t=null==t?[]:[t]),a(n=o?void 0:n)||(n=null==n?[]:[n]),r(e,t,n))}},8423:(e,t,n)=>{var r=n(7410),a=n(3368)((function(e,t){return null==e?{}:r(e,t)}));e.exports=a},9922:(e,t,n)=>{var r=n(6460),a=n(8904),o=n(6621),i=n(5559);e.exports=function(e,t){if(null==e)return{};var n=r(i(e),(function(e){return[e]}));return t=a(t),o(e,n,(function(e,n){return t(e,n[0])}))}},1651:(e,t,n)=>{var r=n(1712),a=n(4815),o=n(3266),i=n(8780);e.exports=function(e){return o(e)?r(i(e)):a(e)}},9717:(e,t,n)=>{var r=n(9833)();e.exports=r},5921:(e,t,n)=>{var r=n(5159);e.exports=function(e){return e&&e.length?r(e):[]}},992:(e,t,n)=>{var r=n(8746);e.exports=function(e){return e?Infinity===(e=r(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},5225:(e,t,n)=>{var r=n(992);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},8746:(e,t,n)=>{var r=n(3349),a=n(5973),o=n(2945),i=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,f=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=u.test(e);return n||c.test(e)?f(e.slice(2),n?2:8):i.test(e)?NaN:+e}},1119:(e,t,n)=>{var r=n(454);e.exports=function(e){return null==e?"":r(e)}},1815:(e,t,n)=>{var r=n(4351);e.exports=function(e){return e&&e.length?r(e):[]}},556:(e,t,n)=>{var r=n(1119),a=0;e.exports=function(e){var t=++a;return r(e)+t}},567:(e,t,n)=>{var r=n(925),a=n(2635);e.exports=function(e){return null==e?[]:r(e,a(e))}},6205:(e,t,n)=>{var r=n(1096),a=n(4569),o=n(9747),i=a((function(e,t){return o(e)?r(e,t):[]}));e.exports=i},459:(e,t,n)=>{"use strict";var r=n(5704);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},216:(e,t,n)=>{e.exports=n(459)()},5704:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8266:e=>{"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty,a="undefined"!=typeof Element;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){var u,c,f,l=t(e),s=t(i);if(l&&s){if((c=e.length)!=i.length)return!1;for(u=c;0!=u--;)if(!o(e[u],i[u]))return!1;return!0}if(l!=s)return!1;var d=e instanceof Date,p=i instanceof Date;if(d!=p)return!1;if(d&&p)return e.getTime()==i.getTime();var h=e instanceof RegExp,v=i instanceof RegExp;if(h!=v)return!1;if(h&&v)return e.toString()==i.toString();var y=n(e);if((c=y.length)!==n(i).length)return!1;for(u=c;0!=u--;)if(!r.call(i,y[u]))return!1;if(a&&e instanceof Element&&i instanceof Element)return e===i;for(u=c;0!=u--;)if(!("_owner"===(f=y[u])&&e.$$typeof||o(e[f],i[f])))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},9787:t=>{"use strict";t.exports=e}},n={};function r(e){var a=n[e];if(void 0!==a)return a.exports;var o=n[e]={id:e,loaded:!1,exports:{}};return t[e](o,o.exports,r),o.loaded=!0,o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var a={};return(()=>{"use strict";r.r(a),r.d(a,{VictoryAxis:()=>Vf});var e={};r.r(e),r.d(e,{interpolateCool:()=>ho,interpolateCubehelixDefault:()=>so,interpolateInferno:()=>xo,interpolateMagma:()=>mo,interpolatePlasma:()=>wo,interpolateRainbow:()=>yo,interpolateViridis:()=>bo,interpolateWarm:()=>po,scaleBand:()=>ze,scaleIdentity:()=>un,scaleImplicit:()=>Fe,scaleLinear:()=>on,scaleLog:()=>vn,scaleOrdinal:()=>We,scalePoint:()=>He,scalePow:()=>gn,scaleQuantile:()=>mn,scaleQuantize:()=>xn,scaleSequential:()=>Oo,scaleSqrt:()=>bn,scaleThreshold:()=>wn,scaleTime:()=>Ua,scaleUtc:()=>Va,schemeCategory10:()=>Ba,schemeCategory20:()=>$a,schemeCategory20b:()=>Ka,schemeCategory20c:()=>Ga});var t={};r.r(t),r.d(t,{easeBack:()=>$c,easeBackIn:()=>Kc,easeBackInOut:()=>$c,easeBackOut:()=>Gc,easeBounce:()=>Vc,easeBounceIn:()=>qc,easeBounceInOut:()=>Yc,easeBounceOut:()=>Vc,easeCircle:()=>Rc,easeCircleIn:()=>Wc,easeCircleInOut:()=>Rc,easeCircleOut:()=>zc,easeCubic:()=>Ec,easeCubicIn:()=>Mc,easeCubicInOut:()=>Ec,easeCubicOut:()=>Ac,easeElastic:()=>Zc,easeElasticIn:()=>Qc,easeElasticInOut:()=>Jc,easeElasticOut:()=>Zc,easeExp:()=>Fc,easeExpIn:()=>Nc,easeExpInOut:()=>Fc,easeExpOut:()=>Uc,easeLinear:()=>xc,easePoly:()=>Sc,easePolyIn:()=>Tc,easePolyInOut:()=>Sc,easePolyOut:()=>jc,easeQuad:()=>kc,easeQuadIn:()=>wc,easeQuadInOut:()=>kc,easeQuadOut:()=>Oc,easeSin:()=>Ic,easeSinIn:()=>_c,easeSinInOut:()=>Ic,easeSinOut:()=>Dc});var n=r(6834),o=r.n(n),i=r(6782),u=r.n(i),c=r(216),f=r.n(c),l=r(9787),s=r.n(l),d=r(6205),p=r.n(d),h=r(6901),v=r.n(h),y=r(567),g=r.n(y),b=r(1473),m=r.n(b),x=r(9717),w=r.n(x),O=r(1815),k=r.n(O),M=r(3323),A=r.n(M),E=r(5973),T=r.n(E),j=r(3839),S=r.n(j),C=r(5362),P=r.n(C),_=r(7901),D=r.n(_);function I(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function L(e){return Array.isArray(e)&&e.some((function(e){return"string"==typeof e}))}function N(e){return Array.isArray(e)&&e.some((function(e){return e instanceof Date}))}function U(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=e.concat(n);return N(a)?new Date(Math.max.apply(Math,I(a))):Math.max.apply(Math,I(a))}function F(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=e.concat(n);return N(a)?new Date(Math.min.apply(Math,I(a))):Math.min.apply(Math,I(a))}var W=r(7957),z=r.n(W),R=r(5921),H=r.n(R),q=r(9636),V=r.n(q),Y=r(5453),B=r.n(Y),K=r(5492),G=r.n(K),$=(r(2720),r(9793)),X=r.n($),Q=r(1651),Z=r.n(Q),J=r(2972),ee=r.n(J),te=r(2635),ne=r.n(te),re=r(8423),ae=r.n(re);function oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function ie(e){var t=function(e){return void 0!==e},n=e._x,r=e._x1,a=e._x0,o=e._voronoiX,i=e._y,u=e._y1,c=e._y0,f=e._voronoiY,l=t(r)?r:n,s=t(u)?u:i,d={x:t(o)?o:l,x0:t(a)?a:n,y:t(f)?f:s,y0:t(c)?c:i};return D()({},d,e)}function ue(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"padding",n=e[t],r="number"==typeof n?n:0,a="object"==typeof n?n:{};return{top:a.top||r,bottom:a.bottom||r,left:a.left||r,right:a.right||r}}function ce(e,t){return S()(e)?e(t):e}function fe(e,t){return t.disableInlineStyles?{}:e&&ne()(e).some((function(t){return S()(e[t])}))?ne()(e).reduce((function(n,r){return n[r]=ce(e[r],t),n}),{}):e}function le(e){return"number"==typeof e?e*(Math.PI/180):e}function se(e){var t=ue(e),n=t.left,r=t.right,a=t.top,o=t.bottom,i=e.width,u=e.height;return Math.min(i-n-r,u-a-o)/2}function de(e,t){return e.range&&e.range[t]?e.range[t]:e.range&&Array.isArray(e.range)?e.range:e.polar?function(e,t){return"x"===t?[le(e.startAngle||0),le(e.endAngle||360)]:[e.innerRadius||0,se(e)]}(e,t):function(e,t){var n="x"!==t,r=ue(e);return n?[e.height-r.bottom,r.top]:[r.left,e.width-r.right]}(e,t)}function pe(e){return S()(e)?e:null==e?function(e){return e}:Z()(e)}function he(e,t,n){var r=oe(e.theme&&e.theme[n]?e.theme[n]:{},["style"]),a=function(e){if(void 0!==e.horizontal||!e.children)return e.horizontal;var t=function(e){return e.reduce((function(e,n){var r=n.props||{};return e||r.horizontal||!r.children?e=e||r.horizontal:t(s().Children.toArray(r.children))}),!1)};return t(s().Children.toArray(e.children))}(e),o=void 0===a?{}:{horizontal:a};return D()(o,e,r,t)}function ve(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function ye(e){var t;return 1===e.length&&(t=e,e=function(e,n){return ve(t(e),n)}),{left:function(t,n,r,a){for(null==r&&(r=0),null==a&&(a=t.length);r<a;){var o=r+a>>>1;e(t[o],n)<0?r=o+1:a=o}return r},right:function(t,n,r,a){for(null==r&&(r=0),null==a&&(a=t.length);r<a;){var o=r+a>>>1;e(t[o],n)>0?a=o:r=o+1}return r}}}var ge=ye(ve),be=ge.right;ge.left;const me=be;var xe=Array.prototype,we=(xe.slice,xe.map,Math.sqrt(50)),Oe=Math.sqrt(10),ke=Math.sqrt(2);function Me(e,t,n){var r,a,o,i,u=-1;if(n=+n,(e=+e)==(t=+t)&&n>0)return[e];if((r=t<e)&&(a=e,e=t,t=a),0===(i=Ae(e,t,n))||!isFinite(i))return[];if(i>0)for(e=Math.ceil(e/i),t=Math.floor(t/i),o=new Array(a=Math.ceil(t-e+1));++u<a;)o[u]=(e+u)*i;else for(e=Math.floor(e*i),t=Math.ceil(t*i),o=new Array(a=Math.ceil(e-t+1));++u<a;)o[u]=(e-u)/i;return r&&o.reverse(),o}function Ae(e,t,n){var r=(t-e)/Math.max(0,n),a=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,a);return a>=0?(o>=we?10:o>=Oe?5:o>=ke?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(o>=we?10:o>=Oe?5:o>=ke?2:1)}function Ee(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),a=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/a;return o>=we?a*=10:o>=Oe?a*=5:o>=ke&&(a*=2),t<e?-a:a}function Te(e){return null===e?NaN:+e}function je(e,t,n){if(null==n&&(n=Te),r=e.length){if((t=+t)<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,a=(r-1)*t,o=Math.floor(a),i=+n(e[o],o,e);return i+(+n(e[o+1],o+1,e)-i)*(a-o)}}var Se="$";function Ce(){}function Pe(e,t){var n=new Ce;if(e instanceof Ce)e.each((function(e,t){n.set(t,e)}));else if(Array.isArray(e)){var r,a=-1,o=e.length;if(null==t)for(;++a<o;)n.set(a,e[a]);else for(;++a<o;)n.set(t(r=e[a],a,e),r)}else if(e)for(var i in e)n.set(i,e[i]);return n}Ce.prototype=Pe.prototype={constructor:Ce,has:function(e){return Se+e in this},get:function(e){return this[Se+e]},set:function(e,t){return this[Se+e]=t,this},remove:function(e){var t=Se+e;return t in this&&delete this[t]},clear:function(){for(var e in this)e[0]===Se&&delete this[e]},keys:function(){var e=[];for(var t in this)t[0]===Se&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)t[0]===Se&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)t[0]===Se&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)t[0]===Se&&++e;return e},empty:function(){for(var e in this)if(e[0]===Se)return!1;return!0},each:function(e){for(var t in this)t[0]===Se&&e(this[t],t.slice(1),this)}};const _e=Pe;function De(){}var Ie=_e.prototype;De.prototype=function(e,t){var n=new De;if(e instanceof De)e.each((function(e){n.add(e)}));else if(e){var r=-1,a=e.length;if(null==t)for(;++r<a;)n.add(e[r]);else for(;++r<a;)n.add(t(e[r],r,e))}return n}.prototype={constructor:De,has:Ie.has,add:function(e){return this[Se+(e+="")]=e,this},remove:Ie.remove,clear:Ie.clear,values:Ie.keys,size:Ie.size,empty:Ie.empty,each:Ie.each};var Le=Array.prototype,Ne=Le.map,Ue=Le.slice,Fe={name:"implicit"};function We(e){var t=_e(),n=[],r=Fe;function a(a){var o=a+"",i=t.get(o);if(!i){if(r!==Fe)return r;t.set(o,i=n.push(a))}return e[(i-1)%e.length]}return e=null==e?[]:Ue.call(e),a.domain=function(e){if(!arguments.length)return n.slice();n=[],t=_e();for(var r,o,i=-1,u=e.length;++i<u;)t.has(o=(r=e[i])+"")||t.set(o,n.push(r));return a},a.range=function(t){return arguments.length?(e=Ue.call(t),a):e.slice()},a.unknown=function(e){return arguments.length?(r=e,a):r},a.copy=function(){return We().domain(n).range(e).unknown(r)},a}function ze(){var e,t,n=We().unknown(void 0),r=n.domain,a=n.range,o=[0,1],i=!1,u=0,c=0,f=.5;function l(){var n=r().length,l=o[1]<o[0],s=o[l-0],d=o[1-l];e=(d-s)/Math.max(1,n-u+2*c),i&&(e=Math.floor(e)),s+=(d-s-e*(n-u))*f,t=e*(1-u),i&&(s=Math.round(s),t=Math.round(t));var p=function(e,t,n){e=+e,t=+t,n=(a=arguments.length)<2?(t=e,e=0,1):a<3?1:+n;for(var r=-1,a=0|Math.max(0,Math.ceil((t-e)/n)),o=new Array(a);++r<a;)o[r]=e+r*n;return o}(n).map((function(t){return s+e*t}));return a(l?p.reverse():p)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),l()):r()},n.range=function(e){return arguments.length?(o=[+e[0],+e[1]],l()):o.slice()},n.rangeRound=function(e){return o=[+e[0],+e[1]],i=!0,l()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(i=!!e,l()):i},n.padding=function(e){return arguments.length?(u=c=Math.max(0,Math.min(1,e)),l()):u},n.paddingInner=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),l()):u},n.paddingOuter=function(e){return arguments.length?(c=Math.max(0,Math.min(1,e)),l()):c},n.align=function(e){return arguments.length?(f=Math.max(0,Math.min(1,e)),l()):f},n.copy=function(){return ze().domain(r()).range(o).round(i).paddingInner(u).paddingOuter(c).align(f)},l()}function Re(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return Re(t())},e}function He(){return Re(ze().paddingInner(1))}function qe(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Ve(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Ye(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Be(){}var Ke=.7,Ge=1/Ke,$e="\\s*([+-]?\\d+)\\s*",Xe="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Qe="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Ze=/^#([0-9a-f]{3,8})$/,Je=new RegExp("^rgb\\("+[$e,$e,$e]+"\\)$"),et=new RegExp("^rgb\\("+[Qe,Qe,Qe]+"\\)$"),tt=new RegExp("^rgba\\("+[$e,$e,$e,Xe]+"\\)$"),nt=new RegExp("^rgba\\("+[Qe,Qe,Qe,Xe]+"\\)$"),rt=new RegExp("^hsl\\("+[Xe,Qe,Qe]+"\\)$"),at=new RegExp("^hsla\\("+[Xe,Qe,Qe,Xe]+"\\)$"),ot={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 it(){return this.rgb().formatHex()}function ut(){return this.rgb().formatRgb()}function ct(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Ze.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?ft(t):3===n?new pt(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?lt(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?lt(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Je.exec(e))?new pt(t[1],t[2],t[3],1):(t=et.exec(e))?new pt(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=tt.exec(e))?lt(t[1],t[2],t[3],t[4]):(t=nt.exec(e))?lt(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=rt.exec(e))?gt(t[1],t[2]/100,t[3]/100,1):(t=at.exec(e))?gt(t[1],t[2]/100,t[3]/100,t[4]):ot.hasOwnProperty(e)?ft(ot[e]):"transparent"===e?new pt(NaN,NaN,NaN,0):null}function ft(e){return new pt(e>>16&255,e>>8&255,255&e,1)}function lt(e,t,n,r){return r<=0&&(e=t=n=NaN),new pt(e,t,n,r)}function st(e){return e instanceof Be||(e=ct(e)),e?new pt((e=e.rgb()).r,e.g,e.b,e.opacity):new pt}function dt(e,t,n,r){return 1===arguments.length?st(e):new pt(e,t,n,null==r?1:r)}function pt(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function ht(){return"#"+yt(this.r)+yt(this.g)+yt(this.b)}function vt(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function yt(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function gt(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new mt(e,t,n,r)}function bt(e){if(e instanceof mt)return new mt(e.h,e.s,e.l,e.opacity);if(e instanceof Be||(e=ct(e)),!e)return new mt;if(e instanceof mt)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,a=Math.min(t,n,r),o=Math.max(t,n,r),i=NaN,u=o-a,c=(o+a)/2;return u?(i=t===o?(n-r)/u+6*(n<r):n===o?(r-t)/u+2:(t-n)/u+4,u/=c<.5?o+a:2-o-a,i*=60):u=c>0&&c<1?0:i,new mt(i,u,c,e.opacity)}function mt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function xt(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function wt(e,t,n,r,a){var o=e*e,i=o*e;return((1-3*e+3*o-i)*t+(4-6*o+3*i)*n+(1+3*e+3*o-3*i)*r+i*a)/6}function Ot(e){return function(){return e}}function kt(e,t){return function(n){return e+n*t}}function Mt(e,t){var n=t-e;return n?kt(e,n):Ot(isNaN(e)?t:e)}Ve(Be,ct,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:it,formatHex:it,formatHsl:function(){return bt(this).formatHsl()},formatRgb:ut,toString:ut}),Ve(pt,dt,Ye(Be,{brighter:function(e){return e=null==e?Ge:Math.pow(Ge,e),new pt(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?Ke:Math.pow(Ke,e),new pt(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ht,formatHex:ht,formatRgb:vt,toString:vt})),Ve(mt,(function(e,t,n,r){return 1===arguments.length?bt(e):new mt(e,t,n,null==r?1:r)}),Ye(Be,{brighter:function(e){return e=null==e?Ge:Math.pow(Ge,e),new mt(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Ke:Math.pow(Ke,e),new mt(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,a=2*n-r;return new pt(xt(e>=240?e-240:e+120,a,r),xt(e,a,r),xt(e<120?e+240:e-120,a,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));const At=function e(t){var n=function(e){return 1==(e=+e)?Mt:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Ot(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=dt(e)).r,(t=dt(t)).r),a=n(e.g,t.g),o=n(e.b,t.b),i=Mt(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=a(t),e.b=o(t),e.opacity=i(t),e+""}}return r.gamma=e,r}(1);function Et(e){return function(t){var n,r,a=t.length,o=new Array(a),i=new Array(a),u=new Array(a);for(n=0;n<a;++n)r=dt(t[n]),o[n]=r.r||0,i[n]=r.g||0,u[n]=r.b||0;return o=e(o),i=e(i),u=e(u),r.opacity=1,function(e){return r.r=o(e),r.g=i(e),r.b=u(e),r+""}}}function Tt(e,t){var n,r=t?t.length:0,a=e?Math.min(r,e.length):0,o=new Array(a),i=new Array(r);for(n=0;n<a;++n)o[n]=It(e[n],t[n]);for(;n<r;++n)i[n]=t[n];return function(e){for(n=0;n<a;++n)i[n]=o[n](e);return i}}function jt(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function St(e,t){var n,r={},a={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=It(e[n],t[n]):a[n]=t[n];return function(e){for(n in r)a[n]=r[n](e);return a}}Et((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),a=e[r],o=e[r+1],i=r>0?e[r-1]:2*a-o,u=r<t-1?e[r+2]:2*o-a;return wt((n-r/t)*t,i,a,o,u)}})),Et((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),a=e[(r+t-1)%t],o=e[r%t],i=e[(r+1)%t],u=e[(r+2)%t];return wt((n-r/t)*t,a,o,i,u)}}));var Ct=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Pt=new RegExp(Ct.source,"g");function _t(e,t){var n,r,a,o=Ct.lastIndex=Pt.lastIndex=0,i=-1,u=[],c=[];for(e+="",t+="";(n=Ct.exec(e))&&(r=Pt.exec(t));)(a=r.index)>o&&(a=t.slice(o,a),u[i]?u[i]+=a:u[++i]=a),(n=n[0])===(r=r[0])?u[i]?u[i]+=r:u[++i]=r:(u[++i]=null,c.push({i,x:qe(n,r)})),o=Pt.lastIndex;return o<t.length&&(a=t.slice(o),u[i]?u[i]+=a:u[++i]=a),u.length<2?c[0]?function(e){return function(t){return e(t)+""}}(c[0].x):function(e){return function(){return e}}(t):(t=c.length,function(e){for(var n,r=0;r<t;++r)u[(n=c[r]).i]=n.x(e);return u.join("")})}function Dt(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,a=t.slice();return function(o){for(n=0;n<r;++n)a[n]=e[n]*(1-o)+t[n]*o;return a}}function It(e,t){var n,r,a=typeof t;return null==t||"boolean"===a?Ot(t):("number"===a?qe:"string"===a?(n=ct(t))?(t=n,At):_t:t instanceof ct?At:t instanceof Date?jt:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?Tt:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?St:qe:Dt))(e,t)}function Lt(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function Nt(e){return function(){return e}}function Ut(e){return+e}var Ft=[0,1];function Wt(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:Nt(t)}function zt(e,t,n,r){var a=e[0],o=e[1],i=t[0],u=t[1];return o<a?(a=n(o,a),i=r(u,i)):(a=n(a,o),i=r(i,u)),function(e){return i(a(e))}}function Rt(e,t,n,r){var a=Math.min(e.length,t.length)-1,o=new Array(a),i=new Array(a),u=-1;for(e[a]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++u<a;)o[u]=n(e[u],e[u+1]),i[u]=r(t[u],t[u+1]);return function(t){var n=me(e,t,1,a)-1;return i[n](o[n](t))}}function Ht(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp())}function qt(e,t){var n,r,a,o=Ft,i=Ft,u=It,c=!1;function f(){return n=Math.min(o.length,i.length)>2?Rt:zt,r=a=null,l}function l(t){return(r||(r=n(o,i,c?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}(e):e,u)))(+t)}return l.invert=function(e){return(a||(a=n(i,o,Wt,c?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}(t):t)))(+e)},l.domain=function(e){return arguments.length?(o=Ne.call(e,Ut),f()):o.slice()},l.range=function(e){return arguments.length?(i=Ue.call(e),f()):i.slice()},l.rangeRound=function(e){return i=Ue.call(e),u=Lt,f()},l.clamp=function(e){return arguments.length?(c=!!e,f()):c},l.interpolate=function(e){return arguments.length?(u=e,f()):u},f()}var Vt,Yt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Bt(e){if(!(t=Yt.exec(e)))throw new Error("invalid format: "+e);var t;return new Kt({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Kt(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Gt(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function $t(e){return(e=Gt(Math.abs(e)))?e[1]:NaN}function Xt(e,t){var n=Gt(e,t);if(!n)return e+"";var r=n[0],a=n[1];return a<0?"0."+new Array(-a).join("0")+r:r.length>a+1?r.slice(0,a+1)+"."+r.slice(a+1):r+new Array(a-r.length+2).join("0")}Bt.prototype=Kt.prototype,Kt.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const Qt={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Xt(100*e,t)},r:Xt,s:function(e,t){var n=Gt(e,t);if(!n)return e+"";var r=n[0],a=n[1],o=a-(Vt=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,i=r.length;return o===i?r:o>i?r+new Array(o-i+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Gt(e,Math.max(0,t+o-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function Zt(e){return e}var Jt,en,tn,nn=Array.prototype.map,rn=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function an(e){var t=e.domain;return e.ticks=function(e){var n=t();return Me(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){return function(e,t,n){var r,a=e[0],o=e[e.length-1],i=Ee(a,o,null==t?10:t);switch((n=Bt(null==n?",f":n)).type){case"s":var u=Math.max(Math.abs(a),Math.abs(o));return null!=n.precision||isNaN(r=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor($t(t)/3)))-$t(Math.abs(e)))}(i,u))||(n.precision=r),tn(n,u);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(r=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,$t(t)-$t(e))+1}(i,Math.max(Math.abs(a),Math.abs(o))))||(n.precision=r-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(r=function(e){return Math.max(0,-$t(Math.abs(e)))}(i))||(n.precision=r-2*("%"===n.type))}return en(n)}(t(),e,n)},e.nice=function(n){null==n&&(n=10);var r,a=t(),o=0,i=a.length-1,u=a[o],c=a[i];return c<u&&(r=u,u=c,c=r,r=o,o=i,i=r),(r=Ae(u,c,n))>0?r=Ae(u=Math.floor(u/r)*r,c=Math.ceil(c/r)*r,n):r<0&&(r=Ae(u=Math.ceil(u*r)/r,c=Math.floor(c*r)/r,n)),r>0?(a[o]=Math.floor(u/r)*r,a[i]=Math.ceil(c/r)*r,t(a)):r<0&&(a[o]=Math.ceil(u*r)/r,a[i]=Math.floor(c*r)/r,t(a)),e},e}function on(){var e=qt(Wt,qe);return e.copy=function(){return Ht(e,on())},an(e)}function un(){var e=[0,1];function t(e){return+e}return t.invert=t,t.domain=t.range=function(n){return arguments.length?(e=Ne.call(n,Ut),t):e.slice()},t.copy=function(){return un().domain(e)},an(t)}function cn(e,t){var n,r=0,a=(e=e.slice()).length-1,o=e[r],i=e[a];return i<o&&(n=r,r=a,a=n,n=o,o=i,i=n),e[r]=t.floor(o),e[a]=t.ceil(i),e}function fn(e,t){return(t=Math.log(t/e))?function(n){return Math.log(n/e)/t}:Nt(t)}function ln(e,t){return e<0?function(n){return-Math.pow(-t,n)*Math.pow(-e,1-n)}:function(n){return Math.pow(t,n)*Math.pow(e,1-n)}}function sn(e){return isFinite(e)?+("1e"+e):e<0?0:e}function dn(e){return 10===e?sn:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}function pn(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}function hn(e){return function(t){return-e(-t)}}function vn(){var e=qt(fn,ln).domain([1,10]),t=e.domain,n=10,r=pn(10),a=dn(10);function o(){return r=pn(n),a=dn(n),t()[0]<0&&(r=hn(r),a=hn(a)),e}return e.base=function(e){return arguments.length?(n=+e,o()):n},e.domain=function(e){return arguments.length?(t(e),o()):t()},e.ticks=function(e){var o,i=t(),u=i[0],c=i[i.length-1];(o=c<u)&&(d=u,u=c,c=d);var f,l,s,d=r(u),p=r(c),h=null==e?10:+e,v=[];if(!(n%1)&&p-d<h){if(d=Math.round(d)-1,p=Math.round(p)+1,u>0){for(;d<p;++d)for(l=1,f=a(d);l<n;++l)if(!((s=f*l)<u)){if(s>c)break;v.push(s)}}else for(;d<p;++d)for(l=n-1,f=a(d);l>=1;--l)if(!((s=f*l)<u)){if(s>c)break;v.push(s)}}else v=Me(d,p,Math.min(p-d,h)).map(a);return o?v.reverse():v},e.tickFormat=function(t,o){if(null==o&&(o=10===n?".0e":","),"function"!=typeof o&&(o=en(o)),t===1/0)return o;null==t&&(t=10);var i=Math.max(1,n*t/e.ticks().length);return function(e){var t=e/a(Math.round(r(e)));return t*n<n-.5&&(t*=n),t<=i?o(e):""}},e.nice=function(){return t(cn(t(),{floor:function(e){return a(Math.floor(r(e)))},ceil:function(e){return a(Math.ceil(r(e)))}}))},e.copy=function(){return Ht(e,vn().base(n))},e}function yn(e,t){return e<0?-Math.pow(-e,t):Math.pow(e,t)}function gn(){var e=1,t=qt((function(t,n){return(n=yn(n,e)-(t=yn(t,e)))?function(r){return(yn(r,e)-t)/n}:Nt(n)}),(function(t,n){return n=yn(n,e)-(t=yn(t,e)),function(r){return yn(t+n*r,1/e)}})),n=t.domain;return t.exponent=function(t){return arguments.length?(e=+t,n(n())):e},t.copy=function(){return Ht(t,gn().exponent(e))},an(t)}function bn(){return gn().exponent(.5)}function mn(){var e=[],t=[],n=[];function r(){var r=0,o=Math.max(1,t.length);for(n=new Array(o-1);++r<o;)n[r-1]=je(e,r/o);return a}function a(e){if(!isNaN(e=+e))return t[me(n,e)]}return a.invertExtent=function(r){var a=t.indexOf(r);return a<0?[NaN,NaN]:[a>0?n[a-1]:e[0],a<n.length?n[a]:e[e.length-1]]},a.domain=function(t){if(!arguments.length)return e.slice();e=[];for(var n,a=0,o=t.length;a<o;++a)null==(n=t[a])||isNaN(n=+n)||e.push(n);return e.sort(ve),r()},a.range=function(e){return arguments.length?(t=Ue.call(e),r()):t.slice()},a.quantiles=function(){return n.slice()},a.copy=function(){return mn().domain(e).range(t)},a}function xn(){var e=0,t=1,n=1,r=[.5],a=[0,1];function o(e){if(e<=e)return a[me(r,e,0,n)]}function i(){var a=-1;for(r=new Array(n);++a<n;)r[a]=((a+1)*t-(a-n)*e)/(n+1);return o}return o.domain=function(n){return arguments.length?(e=+n[0],t=+n[1],i()):[e,t]},o.range=function(e){return arguments.length?(n=(a=Ue.call(e)).length-1,i()):a.slice()},o.invertExtent=function(o){var i=a.indexOf(o);return i<0?[NaN,NaN]:i<1?[e,r[0]]:i>=n?[r[n-1],t]:[r[i-1],r[i]]},o.copy=function(){return xn().domain([e,t]).range(a)},an(o)}function wn(){var e=[.5],t=[0,1],n=1;function r(r){if(r<=r)return t[me(e,r,0,n)]}return r.domain=function(a){return arguments.length?(e=Ue.call(a),n=Math.min(e.length,t.length-1),r):e.slice()},r.range=function(a){return arguments.length?(t=Ue.call(a),n=Math.min(e.length,t.length-1),r):t.slice()},r.invertExtent=function(n){var r=t.indexOf(n);return[e[r-1],e[r]]},r.copy=function(){return wn().domain(e).range(t)},r}Jt=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Zt:(t=nn.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var a=e.length,o=[],i=0,u=t[0],c=0;a>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),o.push(e.substring(a-=u,a+u)),!((c+=u+1)>r));)u=t[i=(i+1)%t.length];return o.reverse().join(n)}),a=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",i=void 0===e.decimal?".":e.decimal+"",u=void 0===e.numerals?Zt:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(nn.call(e.numerals,String)),c=void 0===e.percent?"%":e.percent+"",f=void 0===e.minus?"-":e.minus+"",l=void 0===e.nan?"NaN":e.nan+"";function s(e){var t=(e=Bt(e)).fill,n=e.align,s=e.sign,d=e.symbol,p=e.zero,h=e.width,v=e.comma,y=e.precision,g=e.trim,b=e.type;"n"===b?(v=!0,b="g"):Qt[b]||(void 0===y&&(y=12),g=!0,b="g"),(p||"0"===t&&"="===n)&&(p=!0,t="0",n="=");var m="$"===d?a:"#"===d&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",x="$"===d?o:/[%p]/.test(b)?c:"",w=Qt[b],O=/[defgprs%]/.test(b);function k(e){var a,o,c,d=m,k=x;if("c"===b)k=w(e)+k,e="";else{var M=(e=+e)<0||1/e<0;if(e=isNaN(e)?l:w(Math.abs(e),y),g&&(e=function(e){e:for(var t,n=e.length,r=1,a=-1;r<n;++r)switch(e[r]){case".":a=t=r;break;case"0":0===a&&(a=r),t=r;break;default:if(!+e[r])break e;a>0&&(a=0)}return a>0?e.slice(0,a)+e.slice(t+1):e}(e)),M&&0==+e&&"+"!==s&&(M=!1),d=(M?"("===s?s:f:"-"===s||"("===s?"":s)+d,k=("s"===b?rn[8+Vt/3]:"")+k+(M&&"("===s?")":""),O)for(a=-1,o=e.length;++a<o;)if(48>(c=e.charCodeAt(a))||c>57){k=(46===c?i+e.slice(a+1):e.slice(a))+k,e=e.slice(0,a);break}}v&&!p&&(e=r(e,1/0));var A=d.length+e.length+k.length,E=A<h?new Array(h-A+1).join(t):"";switch(v&&p&&(e=r(E+e,E.length?h-k.length:1/0),E=""),n){case"<":e=d+e+k+E;break;case"=":e=d+E+e+k;break;case"^":e=E.slice(0,A=E.length>>1)+d+e+k+E.slice(A);break;default:e=E+d+e+k}return u(e)}return y=void 0===y?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),k.toString=function(){return e+""},k}return{format:s,formatPrefix:function(e,t){var n=s(((e=Bt(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor($t(t)/3))),a=Math.pow(10,-r),o=rn[8+r/3];return function(e){return n(a*e)+o}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),en=Jt.format,tn=Jt.formatPrefix;var On=new Date,kn=new Date;function Mn(e,t,n,r){function a(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return a.floor=function(t){return e(t=new Date(+t)),t},a.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},a.round=function(e){var t=a(e),n=a.ceil(e);return e-t<n-e?t:n},a.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},a.range=function(n,r,o){var i,u=[];if(n=a.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return u;do{u.push(i=new Date(+n)),t(n,o),e(n)}while(i<n&&n<r);return u},a.filter=function(n){return Mn((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(a.count=function(t,r){return On.setTime(+t),kn.setTime(+r),e(On),e(kn),Math.floor(n(On,kn))},a.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?a.filter(r?function(t){return r(t)%e==0}:function(t){return a.count(0,t)%e==0}):a:null}),a}var An=Mn((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));An.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Mn((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};const En=An;An.range;var Tn=Mn((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}));const jn=Tn;Tn.range;var Sn=1e3,Cn=6e4,Pn=36e5,_n=864e5,Dn=6048e5;function In(e){return Mn((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Cn)/Dn}))}var Ln=In(0),Nn=In(1),Un=In(2),Fn=In(3),Wn=In(4),zn=In(5),Rn=In(6),Hn=(Ln.range,Nn.range,Un.range,Fn.range,Wn.range,zn.range,Rn.range,Mn((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Cn)/_n}),(function(e){return e.getDate()-1})));const qn=Hn;Hn.range;var Vn=Mn((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Sn-e.getMinutes()*Cn)}),(function(e,t){e.setTime(+e+t*Pn)}),(function(e,t){return(t-e)/Pn}),(function(e){return e.getHours()}));const Yn=Vn;Vn.range;var Bn=Mn((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Sn)}),(function(e,t){e.setTime(+e+t*Cn)}),(function(e,t){return(t-e)/Cn}),(function(e){return e.getMinutes()}));const Kn=Bn;Bn.range;var Gn=Mn((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*Sn)}),(function(e,t){return(t-e)/Sn}),(function(e){return e.getUTCSeconds()}));const $n=Gn;Gn.range;var Xn=Mn((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));Xn.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Mn((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):Xn:null};const Qn=Xn;function Zn(e){return Mn((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/Dn}))}Xn.range;var Jn=Zn(0),er=Zn(1),tr=Zn(2),nr=Zn(3),rr=Zn(4),ar=Zn(5),or=Zn(6),ir=(Jn.range,er.range,tr.range,nr.range,rr.range,ar.range,or.range,Mn((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/_n}),(function(e){return e.getUTCDate()-1})));const ur=ir;ir.range;var cr=Mn((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));cr.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Mn((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};const fr=cr;function lr(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function sr(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function dr(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}cr.range;var pr,hr,vr,yr={"-":"",_:" ",0:"0"},gr=/^\s*\d+/,br=/^%/,mr=/[\\^$*+?|[\]().{}]/g;function xr(e,t,n){var r=e<0?"-":"",a=(r?-e:e)+"",o=a.length;return r+(o<n?new Array(n-o+1).join(t)+a:a)}function wr(e){return e.replace(mr,"\\$&")}function Or(e){return new RegExp("^(?:"+e.map(wr).join("|")+")","i")}function kr(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function Mr(e,t,n){var r=gr.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Ar(e,t,n){var r=gr.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Er(e,t,n){var r=gr.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Tr(e,t,n){var r=gr.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function jr(e,t,n){var r=gr.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Sr(e,t,n){var r=gr.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Cr(e,t,n){var r=gr.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Pr(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function _r(e,t,n){var r=gr.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Dr(e,t,n){var r=gr.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Ir(e,t,n){var r=gr.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Lr(e,t,n){var r=gr.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Nr(e,t,n){var r=gr.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Ur(e,t,n){var r=gr.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Fr(e,t,n){var r=gr.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Wr(e,t,n){var r=gr.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function zr(e,t,n){var r=gr.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Rr(e,t,n){var r=br.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Hr(e,t,n){var r=gr.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function qr(e,t,n){var r=gr.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Vr(e,t){return xr(e.getDate(),t,2)}function Yr(e,t){return xr(e.getHours(),t,2)}function Br(e,t){return xr(e.getHours()%12||12,t,2)}function Kr(e,t){return xr(1+qn.count(En(e),e),t,3)}function Gr(e,t){return xr(e.getMilliseconds(),t,3)}function $r(e,t){return Gr(e,t)+"000"}function Xr(e,t){return xr(e.getMonth()+1,t,2)}function Qr(e,t){return xr(e.getMinutes(),t,2)}function Zr(e,t){return xr(e.getSeconds(),t,2)}function Jr(e){var t=e.getDay();return 0===t?7:t}function ea(e,t){return xr(Ln.count(En(e)-1,e),t,2)}function ta(e){var t=e.getDay();return t>=4||0===t?Wn(e):Wn.ceil(e)}function na(e,t){return e=ta(e),xr(Wn.count(En(e),e)+(4===En(e).getDay()),t,2)}function ra(e){return e.getDay()}function aa(e,t){return xr(Nn.count(En(e)-1,e),t,2)}function oa(e,t){return xr(e.getFullYear()%100,t,2)}function ia(e,t){return xr((e=ta(e)).getFullYear()%100,t,2)}function ua(e,t){return xr(e.getFullYear()%1e4,t,4)}function ca(e,t){var n=e.getDay();return xr((e=n>=4||0===n?Wn(e):Wn.ceil(e)).getFullYear()%1e4,t,4)}function fa(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+xr(t/60|0,"0",2)+xr(t%60,"0",2)}function la(e,t){return xr(e.getUTCDate(),t,2)}function sa(e,t){return xr(e.getUTCHours(),t,2)}function da(e,t){return xr(e.getUTCHours()%12||12,t,2)}function pa(e,t){return xr(1+ur.count(fr(e),e),t,3)}function ha(e,t){return xr(e.getUTCMilliseconds(),t,3)}function va(e,t){return ha(e,t)+"000"}function ya(e,t){return xr(e.getUTCMonth()+1,t,2)}function ga(e,t){return xr(e.getUTCMinutes(),t,2)}function ba(e,t){return xr(e.getUTCSeconds(),t,2)}function ma(e){var t=e.getUTCDay();return 0===t?7:t}function xa(e,t){return xr(Jn.count(fr(e)-1,e),t,2)}function wa(e){var t=e.getUTCDay();return t>=4||0===t?rr(e):rr.ceil(e)}function Oa(e,t){return e=wa(e),xr(rr.count(fr(e),e)+(4===fr(e).getUTCDay()),t,2)}function ka(e){return e.getUTCDay()}function Ma(e,t){return xr(er.count(fr(e)-1,e),t,2)}function Aa(e,t){return xr(e.getUTCFullYear()%100,t,2)}function Ea(e,t){return xr((e=wa(e)).getUTCFullYear()%100,t,2)}function Ta(e,t){return xr(e.getUTCFullYear()%1e4,t,4)}function ja(e,t){var n=e.getUTCDay();return xr((e=n>=4||0===n?rr(e):rr.ceil(e)).getUTCFullYear()%1e4,t,4)}function Sa(){return"+0000"}function Ca(){return"%"}function Pa(e){return+e}function _a(e){return Math.floor(+e/1e3)}pr=function(e){var t=e.dateTime,n=e.date,r=e.time,a=e.periods,o=e.days,i=e.shortDays,u=e.months,c=e.shortMonths,f=Or(a),l=kr(a),s=Or(o),d=kr(o),p=Or(i),h=kr(i),v=Or(u),y=kr(u),g=Or(c),b=kr(c),m={a:function(e){return i[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return u[e.getMonth()]},c:null,d:Vr,e:Vr,f:$r,g:ia,G:ca,H:Yr,I:Br,j:Kr,L:Gr,m:Xr,M:Qr,p:function(e){return a[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Pa,s:_a,S:Zr,u:Jr,U:ea,V:na,w:ra,W:aa,x:null,X:null,y:oa,Y:ua,Z:fa,"%":Ca},x={a:function(e){return i[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return u[e.getUTCMonth()]},c:null,d:la,e:la,f:va,g:Ea,G:ja,H:sa,I:da,j:pa,L:ha,m:ya,M:ga,p:function(e){return a[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Pa,s:_a,S:ba,u:ma,U:xa,V:Oa,w:ka,W:Ma,x:null,X:null,y:Aa,Y:Ta,Z:Sa,"%":Ca},w={a:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=h[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=s.exec(t.slice(n));return r?(e.w=d[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=b[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=y[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return M(e,t,n,r)},d:Ir,e:Ir,f:zr,g:Cr,G:Sr,H:Nr,I:Nr,j:Lr,L:Wr,m:Dr,M:Ur,p:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.p=l[r[0].toLowerCase()],n+r[0].length):-1},q:_r,Q:Hr,s:qr,S:Fr,u:Ar,U:Er,V:Tr,w:Mr,W:jr,x:function(e,t,r){return M(e,n,t,r)},X:function(e,t,n){return M(e,r,t,n)},y:Cr,Y:Sr,Z:Pr,"%":Rr};function O(e,t){return function(n){var r,a,o,i=[],u=-1,c=0,f=e.length;for(n instanceof Date||(n=new Date(+n));++u<f;)37===e.charCodeAt(u)&&(i.push(e.slice(c,u)),null!=(a=yr[r=e.charAt(++u)])?r=e.charAt(++u):a="e"===r?" ":"0",(o=t[r])&&(r=o(n,a)),i.push(r),c=u+1);return i.push(e.slice(c,u)),i.join("")}}function k(e,t){return function(n){var r,a,o=dr(1900,void 0,1);if(M(o,e,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(a=(r=sr(dr(o.y,0,1))).getUTCDay(),r=a>4||0===a?er.ceil(r):er(r),r=ur.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(a=(r=lr(dr(o.y,0,1))).getDay(),r=a>4||0===a?Nn.ceil(r):Nn(r),r=qn.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),a="Z"in o?sr(dr(o.y,0,1)).getUTCDay():lr(dr(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(a+5)%7:o.w+7*o.U-(a+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,sr(o)):lr(o)}}function M(e,t,n,r){for(var a,o,i=0,u=t.length,c=n.length;i<u;){if(r>=c)return-1;if(37===(a=t.charCodeAt(i++))){if(a=t.charAt(i++),!(o=w[a in yr?t.charAt(i++):a])||(r=o(e,n,r))<0)return-1}else if(a!=n.charCodeAt(r++))return-1}return r}return m.x=O(n,m),m.X=O(r,m),m.c=O(t,m),x.x=O(n,x),x.X=O(r,x),x.c=O(t,x),{format:function(e){var t=O(e+="",m);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=O(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}({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"]}),hr=pr.format,pr.parse,vr=pr.utcFormat,pr.utcParse;var Da=31536e6;function Ia(e){return new Date(e)}function La(e){return e instanceof Date?+e:+new Date(+e)}function Na(e,t,n,r,a,o,i,u,c){var f=qt(Wt,qe),l=f.invert,s=f.domain,d=c(".%L"),p=c(":%S"),h=c("%I:%M"),v=c("%I %p"),y=c("%a %d"),g=c("%b %d"),b=c("%B"),m=c("%Y"),x=[[i,1,1e3],[i,5,5e3],[i,15,15e3],[i,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[a,1,36e5],[a,3,108e5],[a,6,216e5],[a,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[t,1,2592e6],[t,3,7776e6],[e,1,Da]];function w(u){return(i(u)<u?d:o(u)<u?p:a(u)<u?h:r(u)<u?v:t(u)<u?n(u)<u?y:g:e(u)<u?b:m)(u)}function O(t,n,r,a){if(null==t&&(t=10),"number"==typeof t){var o=Math.abs(r-n)/t,i=ye((function(e){return e[2]})).right(x,o);i===x.length?(a=Ee(n/Da,r/Da,t),t=e):i?(a=(i=x[o/x[i-1][2]<x[i][2]/o?i-1:i])[1],t=i[0]):(a=Math.max(Ee(n,r,t),1),t=u)}return null==a?t:t.every(a)}return f.invert=function(e){return new Date(l(e))},f.domain=function(e){return arguments.length?s(Ne.call(e,La)):s().map(Ia)},f.ticks=function(e,t){var n,r=s(),a=r[0],o=r[r.length-1],i=o<a;return i&&(n=a,a=o,o=n),n=(n=O(e,a,o,t))?n.range(a,o+1):[],i?n.reverse():n},f.tickFormat=function(e,t){return null==t?w:c(t)},f.nice=function(e,t){var n=s();return(e=O(e,n[0],n[n.length-1],t))?s(cn(n,e)):f},f.copy=function(){return Ht(f,Na(e,t,n,r,a,o,i,u,c))},f}function Ua(){return Na(En,jn,Ln,qn,Yn,Kn,$n,Qn,hr).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}var Fa=Mn((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}));const Wa=Fa;Fa.range;var za=Mn((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*Pn)}),(function(e,t){return(t-e)/Pn}),(function(e){return e.getUTCHours()}));const Ra=za;za.range;var Ha=Mn((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*Cn)}),(function(e,t){return(t-e)/Cn}),(function(e){return e.getUTCMinutes()}));const qa=Ha;function Va(){return Na(fr,Wa,Jn,ur,Ra,qa,$n,Qn,vr).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}function Ya(e){return e.match(/.{6}/g).map((function(e){return"#"+e}))}Ha.range;const Ba=Ya("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Ka=Ya("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),Ga=Ya("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),$a=Ya("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5");var Xa=Math.PI/180,Qa=180/Math.PI,Za=-.14861,Ja=1.78277,eo=-.29227,to=-.90649,no=1.97294,ro=no*to,ao=no*Ja,oo=Ja*eo-to*Za;function io(e){if(e instanceof co)return new co(e.h,e.s,e.l,e.opacity);e instanceof pt||(e=st(e));var t=e.r/255,n=e.g/255,r=e.b/255,a=(oo*r+ro*t-ao*n)/(oo+ro-ao),o=r-a,i=(no*(n-a)-eo*o)/to,u=Math.sqrt(i*i+o*o)/(no*a*(1-a)),c=u?Math.atan2(i,o)*Qa-120:NaN;return new co(c<0?c+360:c,u,a,e.opacity)}function uo(e,t,n,r){return 1===arguments.length?io(e):new co(e,t,n,null==r?1:r)}function co(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function fo(e){return function t(n){function r(t,r){var a=e((t=uo(t)).h,(r=uo(r)).h),o=Mt(t.s,r.s),i=Mt(t.l,r.l),u=Mt(t.opacity,r.opacity);return function(e){return t.h=a(e),t.s=o(e),t.l=i(Math.pow(e,n)),t.opacity=u(e),t+""}}return n=+n,r.gamma=t,r}(1)}Ve(co,uo,Ye(Be,{brighter:function(e){return e=null==e?Ge:Math.pow(Ge,e),new co(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Ke:Math.pow(Ke,e),new co(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*Xa,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),a=Math.sin(e);return new pt(255*(t+n*(Za*r+Ja*a)),255*(t+n*(eo*r+to*a)),255*(t+n*(no*r)),this.opacity)}})),fo((function(e,t){var n=t-e;return n?kt(e,n>180||n<-180?n-360*Math.round(n/360):n):Ot(isNaN(e)?t:e)}));var lo=fo(Mt);const so=lo(uo(300,.5,0),uo(-240,.5,1));var po=lo(uo(-100,.75,.35),uo(80,1.5,.8)),ho=lo(uo(260,.75,.35),uo(80,1.5,.8)),vo=uo();function yo(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return vo.h=360*e-100,vo.s=1.5-1.5*t,vo.l=.8-.9*t,vo+""}function go(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}const bo=go(Ya("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var mo=go(Ya("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),xo=go(Ya("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),wo=go(Ya("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function Oo(e){var t=0,n=1,r=!1;function a(a){var o=(a-t)/(n-t);return e(r?Math.max(0,Math.min(1,o)):o)}return a.domain=function(e){return arguments.length?(t=+e[0],n=+e[1],a):[t,n]},a.clamp=function(e){return arguments.length?(r=!!e,a):r},a.interpolator=function(t){return arguments.length?(e=t,a):e},a.copy=function(){return Oo(e).domain([t,n]).clamp(r)},an(a)}var ko=["linear","time","log","sqrt"];function Mo(e){var t;return"scale".concat((t=e)&&t[0].toUpperCase()+t.slice(1))}function Ao(e){return"function"==typeof e?S()(e.copy)&&S()(e.domain)&&S()(e.range):"string"==typeof e&&v()(ko,e)}function Eo(e,t){return!(!e.scale||(e.scale.x||e.scale.y)&&!e.scale[t])}function To(e,t){if(!e.data)return"linear";var n=pe(e[t]);return N(e.data.map((function(e){var r=V()(n(e))?n(e)[t]:n(e);return void 0!==r?r:e[t]})))?"time":"linear"}function jo(t,n){var r,a=function(t,n){if(Eo(t,n)){var r=t.scale[n]||t.scale;return Ao(r)?S()(r)?r:e[Mo(r)]():void 0}}(t,n);if(a)return"string"==typeof a?Ao(r=a)?e[Mo(r)]():on():a;var o=function(e,t){var n;if(e.domain&&e.domain[t]?n=e.domain[t]:e.domain&&Array.isArray(e.domain)&&(n=e.domain),n)return N(n)?"time":"linear"}(t,n)||To(t,n);return e[Mo(o)]()}function So(e,t){return function(e,t){if(Eo(e,t)){var n=e.scale[t]||e.scale;return"string"==typeof n?n:function(e){if("string"==typeof e)return e;var t=[{name:"log",method:"base"},{name:"ordinal",method:"unknown"},{name:"pow-sqrt",method:"exponent"},{name:"quantile",method:"quantiles"},{name:"quantize-threshold",method:"invertExtent"}].filter((function(t){return void 0!==e[t.method]}))[0];return t?t.name:void 0}(n)}}(e,t)||To(e,t)}function Co(e){return!(!e||!e["@@__IMMUTABLE_ITERABLE__@@"])}function Po(e,t){return Co(e)?e.reduce((function(e,n,r){return t&&t[r]&&(n=Po(n)),e[r]=n,e}),function(e){return!(!e||!e["@@__IMMUTABLE_LIST__@@"])}(e)?[]:{}):e}function _o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Do(e){var t;return Co(t=e)||function(e){return!(!e||!e["@@__IMMUTABLE_RECORD__@@"])}(t)?Po(e,{errorX:!0,errorY:!0}):e}function Io(e,t){var n=(V()(e.domain)?e.domain[t]:e.domain)||jo(e,t).domain(),r=e.samples||1,a=Math.max.apply(Math,_o(n)),o=Math.min.apply(Math,_o(n)),i=(a-o)/r,u=w()(o,a,i);return ee()(u)===a?u:u.concat(a)}function Lo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ascending";if(!t)return e;"x"!==t&&"y"!==t||(t="_".concat(t));var r="ascending"===n?"asc":"desc";return m()(e,t,r)}function No(e,t){var n=function(e,t){var n=e.tickValues,r=e.tickFormat;return(n&&(Array.isArray(n)||n[t])?n[t]||n:r&&Array.isArray(r)?r:[]).filter((function(e){return"string"==typeof e}))}(e,t),r=Wo(e,t),a=function(e,t){if(!Array.isArray(e.data)&&!Co(e.data))return[];var n=pe(void 0===e[t]?t:e[t]);return Lo(e.data.reduce((function(e,t){return e.push(Do(t)),e}),[]),e.sortKey,e.sortOrder).reduce((function(e,t){return t=Do(t),e.push(n(t)),e}),[]).filter((function(e){return"string"==typeof e})).reduce((function(e,t){return null!=t&&-1===e.indexOf(t)&&e.push(t),e}),[])}(e,t),o=k()(_o(n).concat(_o(r),_o(a)));return 0===o.length?null:o.reduce((function(e,t,n){return e[t]=n+1,e}),{})}function Uo(e,t,n){if(!Array.isArray(e)&&!Co(e)||function(e){return Co(e)?e.size:e.length}(e)<1)return[];var r,a=["x","y","y0"],i=(n=Array.isArray(n)?n:a).reduce((function(e,n){var r;return e[n]=pe(void 0!==t[r=n]?t[r]:r),e}),{}),c=X()(n,a)&&"_x"===t.x&&"_y"===t.y&&"_y0"===t.y0;!1===c&&(r={x:-1!==n.indexOf("x")?No(t,"x"):void 0,y:-1!==n.indexOf("y")?No(t,"y"):void 0,y0:-1!==n.indexOf("y0")?No(t,"y"):void 0});var f=c?e:e.reduce((function(e,t,a){var c={x:a,y:t=Do(t)},f=n.reduce((function(e,n){var a=i[n](t),o=void 0!==a?a:c[n];return void 0!==o&&("string"==typeof o&&r[n]?(e["".concat(n,"Name")]=o,e["_".concat(n)]=r[n][o]):e["_".concat(n)]=o),e}),{}),l=u()({},f,t);return o()(l)||e.push(l),e}),[]),l=function(e,t){var n=1/Number.MAX_SAFE_INTEGER,r={x:So(t,"x"),y:So(t,"y")};if("log"!==r.x&&"log"!==r.y)return e;var a=function(e,t){return"log"!==r[t]||0!==e["_".concat(t)]};return e.map((function(e){return a(e,"x")&&a(e,"y")&&a(e,"y0")?e:function(e){var t=a(e,"x")?e._x:n,r=a(e,"y")?e._y:n,o=a(e,"y0")?e._y0:n;return u()({},e,{_x:t,_y:r,_y0:o})}(e)}))}(Lo(f,t.sortKey,t.sortOrder),t);return function(e,t){var n,r=!!e.eventKey,a=(n=e.eventKey,S()(n)?n:null==n?function(){}:Z()(n));return t.map((function(e,t){if(void 0!==e.eventKey)return e;if(r){var n=a(e,t);return void 0!==n?u()({eventKey:n},e):e}return e}))}(t,l)}function Fo(e,t){return e.categories&&!Array.isArray(e.categories)?e.categories[t]:e.categories}function Wo(e,t){if(!e.categories)return[];var n=Fo(e,t),r=n&&n.filter((function(e){return"string"==typeof e}));return r?r.filter((function(e){return void 0!==e})):[]}function zo(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Ro(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"min",r=function(e){return"max"===n?Math.max.apply(Math,zo(e)):Math.min.apply(Math,zo(e))},a="max"===n?-1/0:1/0,o=!1,i=B()(e).reduce((function(e,n){var a=void 0!==n["_".concat(t,"0")]?n["_".concat(t,"0")]:n["_".concat(t)],i=void 0!==n["_".concat(t,"1")]?n["_".concat(t,"1")]:n["_".concat(t)],u=r([a,i]);return o=o||a instanceof Date||i instanceof Date,r([e,u])}),a);return o?new Date(i):i}function Ho(e,t){return e=S()(e)?e:Vo,t=S()(t)?t:qo,function(n,r){var a=function(e,t){var n=Ko(e,t),r=Bo(e,t);return V()(e.domain)&&e.domain[t]?e.domain[t]:Array.isArray(e.domain)?e.domain:void 0!==n&&void 0!==r?Yo(n,r):void 0}(n,r);if(a)return t(a,n,r);var o=Fo(n,r),i=o?function(e,t,n){n=n||Fo(e,t);var r=e.polar,a=e.startAngle,o=void 0===a?0:a,i=e.endAngle,u=void 0===i?360:i;if(n){var c=Ko(e,t),f=Bo(e,t),l=L(n)?Wo(e,t):[],s=0===l.length?null:l.reduce((function(e,t,n){return e[t]=n+1,e}),{}),d=s?n.map((function(e){return s[e]})):n,p=Yo(void 0!==c?c:F(d),void 0!==f?f:U(d));return r&&"x"===t&&360===Math.abs(o-u)?Go(p,d):p}}(n,r,o):e(n,r);return i?t(i,n,r):void 0}}function qo(e,t,n){return function(e,t,n){return"log"!==So(t,n)?e:(a=(r=e)[0]<0||r[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER,[0===r[0]?a:r[0],0===r[1]?a:r[1]]);var r,a}(function(e,t,n){if(!t.domainPadding)return e;var r=Ko(t,n),a=Bo(t,n),o=function(e,t){var n=function(e){return Array.isArray(e)?{left:e[0],right:e[1]}:{left:e,right:e}};return V()(e.domainPadding)?n(e.domainPadding[t]):n(e.domainPadding)}(t,n);if(!o.left&&!o.right)return e;var i=F(e),u=U(e),c=function(e,t){return t?"x"===e?"y":"x":e}(n,t.horizontal),f=de(t,c),l=Math.abs(f[0]-f[1]),s=Math.max(l-o.left-o.right,1),d=Math.abs(u.valueOf()-i.valueOf())/s*l,p=d*o.left/l,h=d*o.right/l,v={min:i.valueOf()-p,max:u.valueOf()+h},y=V()(t.singleQuadrantDomainPadding)?t.singleQuadrantDomainPadding[n]:t.singleQuadrantDomainPadding,g=function(e,t){return"min"===t&&i>=0&&e<=0||"max"===t&&u<=0&&e>=0?0:e};if((i>=0&&v.min<=0||u<=0&&v.max>=0)&&!1!==y){var b={left:Math.abs(u-i)*o.left/l,right:Math.abs(u-i)*o.right/l},m={min:g(i.valueOf()-b.left,"min"),max:g(u.valueOf()+b.right,"max")},x={left:Math.abs(m.max-m.min)*o.left/l,right:Math.abs(m.max-m.min)*o.right/l};v={min:g(i.valueOf()-x.left,"min"),max:g(u.valueOf()+x.right,"max")}}var w={min:void 0!==r?r:v.min,max:void 0!==a?a:v.max};return i instanceof Date||u instanceof Date?Yo(new Date(w.min),new Date(w.max)):Yo(w.min,w.max)}(e,t,n),t,n)}function Vo(e,t,n){n=n||function(e){return e.data?Uo(e.data,e):Uo(function(e){var t=Io(e,"x"),n=Io(e,"y");return t.map((function(e,t){return{x:e,y:n[t]}}))}(e),e)}(e);var r=e.polar,a=e.startAngle,o=void 0===a?0:a,i=e.endAngle,u=void 0===i?360:i,c=Ko(e,t),f=Bo(e,t);if(n.length<1)return void 0!==c&&void 0!==f?Yo(c,f):void 0;var l=Yo(void 0!==c?c:Ro(n,t,"min"),void 0!==f?f:Ro(n,t,"max"));return r&&"x"===t&&360===Math.abs(o-u)?Go(l,function(e,t){return B()(e).map((function(e){return e["_".concat(t)]&&void 0!==e["_".concat(t)][1]?e["_".concat(t)][1]:e["_".concat(t)]}))}(n,t)):l}function Yo(e,t){var n,r,a,o;return+e==+t?(r=0===(n=t)?2*Math.pow(10,-10):Math.pow(10,-10),a=n instanceof Date?new Date(+n-1):+n-r,o=n instanceof Date?new Date(+n+1):+n+r,0===n?[0,o]:[a,o]):[e,t]}function Bo(e,t){return V()(e.maxDomain)&&void 0!==e.maxDomain[t]?e.maxDomain[t]:"number"==typeof e.maxDomain||z()(e.maxDomain)?e.maxDomain:void 0}function Ko(e,t){return V()(e.minDomain)&&void 0!==e.minDomain[t]?e.minDomain[t]:"number"==typeof e.minDomain||z()(e.minDomain)?e.minDomain:void 0}function Go(e,t){var n=H()(t.sort((function(e,t){return e-t}))),r=n[1]-n[0];return[e[0],e[1]+r]}function $o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Xo(e){return e.dependentAxis?"y":"x"}function Qo(e,t){return N(t)?"positive":e<=0&&Math.max.apply(Math,$o(t))<=0?"negative":"positive"}function Zo(e){return{top:!1,bottom:!1,left:!0,right:!0}[e.orientation||(e.dependentAxis?"left":"bottom")]}function Jo(e){return void 0!==e.tickValues&&L(e.tickValues)}function ei(e){var t,n=Xo(e),r=e.stringMap&&e.stringMap[n],a=Array.isArray(e.categories)?e.categories:e.categories&&e.categories[n],o=a&&function(e){return Array.isArray(e)&&e.length>0}(t=a)&&t.every((function(e){return"string"==typeof e}))?a.map((function(e){return r[e]})):void 0,i=r&&g()(r);return o&&0!==o.length?o:i}function ti(e){var t=e.tickValues,n=e.tickFormat,r=Xo(e),a=e.stringMap&&e.stringMap[r],o=t;a&&(o=ei(e)),t&&L(t)&&(o=a?t.map((function(e){return a[e]})):w()(1,t.length+1));var i=o?k()(o):function(){if(n&&Array.isArray(n))return L(n)?n.map((function(e,t){return t})):n}();return Array.isArray(i)&&i.length?function(t){var n=[],a=e.domain&&e.domain[r]||e.domain;return t?(t.forEach((function(e,t){Array.isArray(a)?e>=F(a)&&e<=U(a)&&n.push({value:e,index:t}):n.push({value:e,index:t})})),n):void 0}(i):void 0}function ni(e,t){if(!t||!Array.isArray(e)||e.length<=t)return e;var n=Math.floor(e.length/t);return e.filter((function(e,t){return t%n==0}))}function ri(e,t){var n=e.polar,r=e.startAngle,a=void 0===r?0:r,o=e.endAngle,i=void 0===o?360:o,u=ti(e),c=u?u.map((function(e){return e.value})):void 0;if(Array.isArray(c)){var f=Ko(e,t),l=Bo(e,t),s=Jo(e),d=c.map((function(e){return+e})),p=s?1:F(d),h=s?c.length:U(d),v=Yo(void 0!==f?f:p,void 0!==l?l:h),y=n&&"x"===t&&360===Math.abs(a-i)?Go(v,d):v;return Zo(e)&&!n&&y.reverse(),y}}function ai(e,t){var n=Xo(e);if(!t||t===n)return Ho(ri)(e,n)}function oi(e,t){if(!T()(e.theme))return he(e,t,"axis");var n="axis";if(e.dependentAxis&&e.theme.dependentAxis?n="dependentAxis":!e.dependentAxis&&e.theme.independentAxis&&(n="independentAxis"),"axis"===n)return he(e,t,"axis");var r=D()({},e.theme[n],e.theme.axis),a=u()({},e.theme,{axis:r});return he(u()({},e,{theme:a}),t,"axis")}var ii={"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}},ui={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},ci={em:1,ex:.5},fi={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},li=function(e){return Array.isArray(e)?e:e.toString().split(/\r\n|\r|\n/g)},si=function(e,t,n){var r=function(e){return e*Math.PI/180}(n);return Math.abs(Math.cos(r)*e)+Math.abs(Math.sin(r)*t)},di=function(e,t){var n=e.match(/[a-zA-Z%]+/)&&e.match(/[a-zA-Z%]+/)[0],r=e.match(/[0-9.,]+/);return n?ui.hasOwnProperty(n)?r*ui[n]:ci.hasOwnProperty(n)?(t?r*t:r*fi.fontSize)*ci[n]:r:r||0},pi=function(e,t){var n=Array.isArray(e)?e[t]:e,r=D()({},n,fi);return u()({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:di(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:di(String(r.fontSize))})},hi=function(e,t){if(void 0===e||""===e||null===e)return 0;var n,r=li(e).map((function(e,n){var r,a,o=e.toString().length,i=pi(t,n),u=i.fontSize,c=i.letterSpacing,f=(r=i.fontFamily,a=r.split(",").map((function(e){return e.replace(/'|"/g,"")})).find((function(e){return ii[e]}))||"Helvetica",ii[a]);return e.toString().split("").map((function(e){return e.charCodeAt(0)<f.widths.length?f.widths[e.charCodeAt(0)]:f.avg})).reduce((function(e,t){return t+e}),0)*u+c*Math.max(o-1,0)}));return Math.max.apply(Math,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(n=r)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}())},vi=function(e,t){return function(e,t){var n=Array.isArray(t)?t[0]&&t[0].angle:t&&t.angle,r=function(e,t){return void 0===e||""===e||null===e?0:li(e).reduce((function(e,n,r){var a=pi(t,r),o=n.toString().match(/[(A-Z)(0-9)]/)?1.15*a.fontSize:a.fontSize;return e+a.lineHeight*o}),0)}(e,t),a=hi(e,t);return{width:n?si(a,r,n):a,height:1.05*(n?si(r,a,n):r)}}(e,t)},yi=r(2654),gi=r.n(yi),bi=r(6786),mi=r.n(bi),xi=function(e){var t=function(t,n,r,a){var o=n[r];if(null==o)return t?new Error("Required `".concat(r,"` was not specified in `").concat(a,"`.")):null;for(var i=arguments.length,u=new Array(i>4?i-4:0),c=4;c<i;c++)u[c-4]=arguments[c];return e.apply(void 0,[n,r,a].concat(u))},n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},wi=function(){return null},Oi=function(){},ki=function(e){return void 0===e?Oi:null===e?wi:e.constructor},Mi=function(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).slice(8,-1)};function Ai(e){return xi((function(t,n,r){for(var a=arguments.length,o=new Array(a>3?a-3:0),i=3;i<a;i++)o[i-3]=arguments[i];return e.reduce((function(e,a){return e||a.apply(void 0,[t,n,r].concat(o))}),void 0)}))}var Ei=xi((function(e,t,n){var r=e[t];if("number"!=typeof r||r<0)return new Error("`".concat(t,"` in `").concat(n,"` must be a non-negative number."))})),Ti=xi((function(e,t,n){var r=e[t];if("number"!=typeof r||r%1!=0)return new Error("`".concat(t,"` in `").concat(n,"` must be an integer."))})),ji=xi((function(e,t,n){var r=e[t];if("number"!=typeof r||r<=0)return new Error("`".concat(t,"` in `").concat(n,"` must be a number greater than zero."))})),Si=xi((function(e,t,n){var r=e[t];if(!Array.isArray(r)||2!==r.length||r[1]===r[0])return new Error("`".concat(t,"` in `").concat(n,"` must be an array of two unique numeric values."))})),Ci=xi((function(e,t,n){var r;if(r=e[t],!(S()(r)?S()(r.copy)&&S()(r.domain)&&S()(r.range):"string"==typeof r&&-1!==["linear","time","log","sqrt"].indexOf(r)))return new Error("`".concat(t,"` in `").concat(n,"` must be a d3 scale."))})),Pi=xi((function(e,t,n){var r=e[t];if(!Array.isArray(r))return new Error("`".concat(t,"` in `").concat(n,"` must be an array."));if(!(r.length<2)){var a=ki(r[0]),o=mi()(r,(function(e){return a!==ki(e)}));if(o){var i=Mi(r[0]),u=Mi(o);return new Error("Expected `".concat(t,"` in `").concat(n,"` to be a ")+"homogeneous array, but found types `".concat(i,"` and ")+"`".concat(u,"`."))}}})),_i=(xi((function(e,t){if(e[t]&&Array.isArray(e[t])&&e[t].length!==e.data.length)return new Error("Length of data and ".concat(t," arrays must match."))})),xi((function(e,t,n){if(e[t]&&!gi()(e[t]))return new Error("`".concat(t,"` in `").concat(n,"` must be a regular expression."))})),f().oneOfType([f().arrayOf(f().string),f().shape({x:f().arrayOf(f().string),y:f().arrayOf(f().string)})]),f().oneOfType([f().array,f().object]),f().element,f().bool,f().element,f().oneOfType([f().func,f().array]),f().oneOfType([f().func,Ai([Ti,Ei]),f().string,f().arrayOf(f().string)]),f().oneOf(["ascending","descending"]),f().shape({parent:f().object,data:f().object,labels:f().object}),f().oneOfType([f().func,Ai([Ti,Ei]),f().string,f().arrayOf(f().string)]),f().oneOfType([f().func,Ai([Ti,Ei]),f().string,f().arrayOf(f().string)]),f().oneOfType([f().func,Ai([Ti,Ei]),f().string,f().arrayOf(f().string)]),{animate:f().oneOfType([f().bool,f().object]),containerComponent:f().element,domain:f().oneOfType([Si,f().shape({x:Si,y:Si})]),maxDomain:f().oneOfType([f().number,f().instanceOf(Date),f().shape({x:f().oneOfType([f().number,f().instanceOf(Date)]),y:f().oneOfType([f().number,f().instanceOf(Date)])})]),minDomain:f().oneOfType([f().number,f().instanceOf(Date),f().shape({x:f().oneOfType([f().number,f().instanceOf(Date)]),y:f().oneOfType([f().number,f().instanceOf(Date)])})]),domainPadding:f().oneOfType([f().shape({x:f().oneOfType([f().number,f().arrayOf(f().number)]),y:f().oneOfType([f().number,f().arrayOf(f().number)])}),f().number,f().arrayOf(f().number)]),eventKey:f().oneOfType([f().func,Ai([Ti,Ei]),f().string]),events:f().arrayOf(f().shape({target:f().oneOf(["data","labels","parent"]),eventKey:f().oneOfType([f().array,Ai([Ti,Ei]),f().string]),eventHandlers:f().object})),externalEventMutations:f().arrayOf(f().shape({callback:f().function,childName:f().oneOfType([f().string,f().array]),eventKey:f().oneOfType([f().array,Ai([Ti,Ei]),f().string]),mutation:f().function,target:f().oneOfType([f().string,f().array])})),groupComponent:f().element,height:Ei,name:f().string,origin:f().shape({x:f().number,y:f().number}),padding:f().oneOfType([f().number,f().shape({top:f().number,bottom:f().number,left:f().number,right:f().number})]),polar:f().bool,range:f().oneOfType([Si,f().shape({x:Si,y:Si})]),scale:f().oneOfType([Ci,f().shape({x:Ci,y:Ci})]),sharedEvents:f().shape({events:f().array,getEventState:f().func}),singleQuadrantDomainPadding:f().oneOfType([f().bool,f().shape({x:f().oneOfType([f().bool]),y:f().oneOfType([f().bool])})]),standalone:f().bool,theme:f().object,width:Ei}),Di={active:f().bool,ariaLabel:f().oneOfType([f().string,f().func]),className:f().string,clipPath:f().string,data:f().oneOfType([f().array,f().object]),desc:f().oneOfType([f().string,f().func]),disableInlineStyles:f().bool,events:f().object,id:f().oneOfType([f().number,f().string,f().func]),index:f().oneOfType([f().number,f().string]),origin:f().shape({x:f().number,y:f().number}),polar:f().bool,role:f().string,scale:f().oneOfType([Ci,f().shape({x:Ci,y:Ci})]),shapeRendering:f().string,style:f().object,tabIndex:f().oneOfType([f().number,f().func]),transform:f().string};function Ii(){return Ii=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ii.apply(this,arguments)}function Li(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Ni(e,t,n[t])}))}return e}function Ni(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ui=function(e){return e=function(e){var t=ce(e.ariaLabel,e),n=ce(e.desc,e),r=ce(e.id,e),a=fe(u()({stroke:"black"},e.style),e),o=ce(e.tabIndex,e);return u()({},e,{ariaLabel:t,desc:n,id:r,style:a,tabIndex:o})}(e),s().cloneElement(e.lineComponent,Li({},e.events,{"aria-label":e.ariaLabel,style:e.style,desc:e.desc,tabIndex:e.tabIndex,className:e.className,role:e.role,shapeRendering:e.shapeRendering,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2,transform:e.transform,clipPath:e.clipPath}))};Ui.propTypes=Li({},Di,{datum:f().any,lineComponent:f().element,x1:f().number,x2:f().number,y1:f().number,y2:f().number}),Ui.defaultProps={lineComponent:s().createElement((function(e){var t=e.desc,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["desc"]);return t?s().createElement("line",Ii({vectorEffect:"non-scaling-stroke"},n),s().createElement("desc",null,t)):s().createElement("line",Ii({vectorEffect:"non-scaling-stroke"},n))}),null),role:"presentation",shapeRendering:"auto"};const Fi=Ui;var Wi=s().createContext({});Wi.displayName="PortalContext";const zi=Wi;function Ri(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qi(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var Vi=function(e){function t(){return Ri(this,t),qi(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}},{key:"componentDidUpdate",value:function(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}},{key:"componentWillUnmount",value:function(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}},{key:"renderPortal",value:function(e){return this.renderInPlace?e:(this.element=e,null)}},{key:"render",value:function(){var e=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,t=this.props.groupComponent,n=e&&e.props||{},r=n.groupComponent?{groupComponent:t,standalone:!1}:{},a=D()(r,n,oe(this.props,["children","groupComponent"])),o=e&&s().cloneElement(e,a);return this.renderPortal(o)}}])&&Hi(n.prototype,r),t}(s().Component);function Yi(){return Yi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yi.apply(this,arguments)}Object.defineProperty(Vi,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryPortal"}),Object.defineProperty(Vi,"role",{configurable:!0,enumerable:!0,writable:!0,value:"portal"}),Object.defineProperty(Vi,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:f().node,groupComponent:f().element}}),Object.defineProperty(Vi,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:s().createElement("g",null)}}),Object.defineProperty(Vi,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:zi});var Bi=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(n.length>0)return n.reduce((function(e,t){return[e,Bi(t)].join(" ")}),Bi(e)).trim();if(null==e||"string"==typeof e)return e;var a=[];for(var o in e)if(e.hasOwnProperty(o)){var i=e[o];a.push("".concat(o,"(").concat(i,")"))}return a.join(" ").trim()};var Ki=function(e){var t=e.children,n=e.title,r=e.desc,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["children","title","desc"]);return s().createElement("text",a,n&&s().createElement("title",null,n),r&&s().createElement("desc",null,r),t)};Ki.propTypes={children:f().node,desc:f().string,title:f().string};const Gi=Ki;function $i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xi(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Qi={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Ser­avek', 'Trebuchet MS', sans-serif",stroke:"transparent"},Zi=function(e,t){if(!e.datum)return 0;var n=function(e,t){var n=e.scale,r=e.polar,a=e.horizontal,o=ie(t),i=e.origin||{x:0,y:0},u=a?n.y(o.y):n.x(o.x),c=a?n.y(o.y0):n.x(o.x0),f=a?n.x(o.x):n.y(o.y),l=a?n.x(o.x0):n.y(o.y0);return{x:r?f*Math.cos(u)+i.x:u,x0:r?l*Math.cos(c)+i.x:c,y:r?-f*Math.sin(u)+i.y:f,y0:r?-l*Math.sin(c)+i.x:l}}(e,e.datum);return n[t]},Ji=function(e){var t=e&&e.fontSize;if("number"==typeof t)return t;if(null==t)return Qi.fontSize;if("string"==typeof t){var n=+t.replace("px","");return isNaN(n)?Qi.fontSize:n}return Qi.fontSize},eu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(e)?e[t]||e[0]:e},tu=function(e){var t=e.backgroundStyle,n=e.backgroundPadding;return Array.isArray(t)&&!o()(t)||Array.isArray(n)&&!o()(n)},nu=function(e,t,n){var r=e.polar,a=eu(e.style),o=r?function(e,t){var n=e.labelPlacement,r=e.datum;if(!n||"vertical"===n)return 0;var a=function(e,t){var n,r=ie(t).x;return("number"==typeof(n=e.scale.x(r))?n/(Math.PI/180):n)%360}(e,r),o=0;return 0===a||180===a?o=90:a>0&&a<180?o=90-a:a>180&&a<360&&(o=270-a),o+(a>90&&a<180||a>270?1:-1)*("perpendicular"===n?0:90)}(e):0,i=void 0===a.angle?ce(e.angle,e):a.angle,u=void 0===i?o:i,c=e.transform||a.transform,f=c&&ce(c,e);return f||u?Bi(f,u&&{rotate:[u,t,n]}):void 0},ru=function(e,t){var n=e.direction,r=e.textAnchor,a=e.x,o=e.dx;if("rtl"===n)return a-t;switch(r){case"middle":return Math.round(a-t/2);case"end":return Math.round(a-t);default:return a+(o||0)}},au=function(e,t){var n=e.verticalAnchor,r=e.y,a=e.originalDy,o=r+(void 0===a?0:a);switch(n){case"start":return Math.floor(o);case"end":return Math.ceil(o-t);default:return Math.floor(o-t/2)}},ou=function(e,t){return tu(e)?function(e,t){var n=e.dy,r=e.dx,a=e.transform,o=e.backgroundStyle,i=e.backgroundPadding,u=e.backgroundComponent,c=e.inline,f=e.y,l=t.map((function(e,a){var o=eu(t,a-1),u=e.textSize,l=e.fontSize*e.lineHeight,s=Math.ceil(l),d=eu(i,a),p=eu(i,a-1),h=c&&r||0,v=a&&!c?o.fontSize*o.lineHeight+p.top+p.bottom:n-.5*l-(e.fontSize-e.capHeight);return{textHeight:s,labelSize:u,heightWithPadding:s+d.top+d.bottom,widthWithPadding:u.width+d.left+d.right+h,y:f,fontSize:e.fontSize,dy:v}}));return l.map((function(t,n){var r=ru(e,t.labelSize.width),d=l.slice(0,n+1).reduce((function(e,t){return e+t.dy}),f),p=eu(i,n),h=t.heightWithPadding,v=c?function(e,t,n){var r=e.textAnchor,a=t.map((function(e){return e.widthWithPadding})),o=-a.reduce((function(e,t){return e+t}),0)/2;switch(r){case"start":return a.reduce((function(e,t,r){return r<n?e+t:e}),0);case"end":return a.reduce((function(e,t,r){return r>n?e-t:e}),0);default:return a.reduce((function(e,t,r){return r===n?e+t/2:e+(r<n?t:0)}),o)}}(e,l,n)+r-p.left:r,y=c?au(e,h)-p.top:d,g={key:"tspan-background-".concat(n),height:h,style:eu(o,n),width:t.widthWithPadding,transform:a,x:v-p.left,y};return s().cloneElement(u,D()({},u.props,g))}))}(e,t):function(e,t){var n=e.dx,r=void 0===n?0:n,a=e.transform,o=e.backgroundComponent,i=e.backgroundStyle,u=e.inline,c=e.backgroundPadding,f=e.capHeight,l=t.map((function(e){return e.textSize})),d=u?Math.max.apply(Math,Xi(l.map((function(e){return e.height})))):l.reduce((function(e,n,r){var a=r?0:f/2;return e+n.height*(t[r].lineHeight-a)}),0),p=u?l.reduce((function(e,t,n){var a=n?r:0;return e+t.width+a}),0):Math.max.apply(Math,Xi(l.map((function(e){return e.width})))),h=ru(e,p),v=au(e,d),y={key:"background",height:d+c.top+c.bottom,style:i,transform:a,width:p+c.left+c.right,x:u?h-c.left:h+r-c.left,y:v};return s().cloneElement(o,D()({},o.props,y))}(e,t)},iu=function(e,t,n){var r=t.inline,a=eu(e,n);return n&&!r?function(e,t,n){var r=eu(e,t),a=eu(e,t-1),o=a.fontSize*a.lineHeight,i=r.fontSize*r.lineHeight,u=a.fontSize-a.capHeight,c=r.fontSize-r.capHeight,f=o-a.fontSize/2+r.fontSize/2-o/2+i/2-c/2+u/2;return tu(n)?f+r.backgroundPadding.top+a.backgroundPadding.bottom:f}(e,n,t):r?0===n?a.backgroundPadding.top:void 0:a.backgroundPadding.top},uu=function(e){if(null===(e=function(e){var t=function(e,t){if(null!=e){if(Array.isArray(e))return e.map((function(e){return ce(e,t)}));var n=ce(e,t);if(null!=n)return Array.isArray(n)?n:"".concat(n).split("\n")}}(e.text,e),n=function(e,t){if(t.disableInlineStyles){var n=fe(e,t);return{fontSize:Ji(n)}}var r=function(e){var n=fe(e=e?D()({},e,Qi):Qi,t);return u()({},n,{fontSize:Ji(n)})};return Array.isArray(e)&&!o()(e)?e.map((function(e){return r(e)})):r(e)}(e.style,u()({},e,{text:t})),r=function(e,t){if(e)return Array.isArray(e)&&!o()(e)?e.map((function(e){return fe(e,t)})):fe(e,t)}(e.backgroundStyle,u()({},e,{text:t,style:n})),a=function(e){return e.backgroundPadding&&Array.isArray(e.backgroundPadding)?e.backgroundPadding.map((function(t){return ue({padding:ce(t,e)})})):ue({padding:ce(e.backgroundPadding,e)})}(u()({},e,{text:t,style:n,backgroundStyle:r})),i=ce(e.id,e);return u()({},e,{backgroundStyle:r,backgroundPadding:a,style:n,text:t,id:i})}(e)).text||void 0===e.text)return null;var t=function(e){var t=ce(e.ariaLabel,e),n=eu(e.style),r=function(e){var t=ce(e.lineHeight,e);return Array.isArray(t)&&o()(t)?[1]:t}(e),a=e.direction?ce(e.direction,e):"inherit",i=e.textAnchor?ce(e.textAnchor,e):n.textAnchor||"start",c=e.verticalAnchor?ce(e.verticalAnchor,e):n.verticalAnchor||"middle",f=e.dx?ce(e.dx,e):0,l=function(e,t,n){var r=e.dy?ce(e.dy,e):0,a=e.inline?1:e.text.length,o=ce(e.capHeight,e),i=t?ce(t,e):"middle",u=Xi(Array(a).keys()).map((function(t){return eu(e.style,t).fontSize})),c=Xi(Array(a).keys()).map((function(e){return eu(n,e)}));if("start"===i)return r+(o/2+c[0]/2)*u[0];if(e.inline)return"end"===i?r+(o/2-c[0]/2)*u[0]:r+o/2*u[0];if(1===a)return"end"===i?r+(o/2+(.5-a)*c[0])*u[0]:r+(o/2+(.5-a/2)*c[0])*u[0];var f=Xi(Array(a).keys()).reduce((function(e,t){return e+(o/2+(.5-a)*c[t])*u[t]/a}),0);return"end"===i?r+f:r+f/2+o/2*c[a-1]*u[a-1]}(e,c,r),s=void 0!==e.x?e.x:Zi(e,"x"),d=void 0!==e.y?e.y:Zi(e,"y"),p=nu(e,s,d);return u()({},e,{ariaLabel:t,lineHeight:r,direction:a,textAnchor:i,verticalAnchor:c,dx:f,dy:l,originalDy:e.dy,transform:p,x:s,y:d})}(e),n=t.text,r=t.style,a=t.capHeight,i=t.backgroundPadding,c=t.lineHeight,f=n.map((function(e,t){var n=eu(r,t),o=di("".concat(a,"em"),n.fontSize),u=eu(c,t);return{style:n,fontSize:n.fontSize||Qi.fontSize,capHeight:o,text:e,textSize:vi(e,n),lineHeight:u,backgroundPadding:eu(i,t)}})),l=function(e,t){var n=e.ariaLabel,r=e.inline,a=e.className,o=e.title,i=e.events,u=e.direction,c=e.text,f=e.textAnchor,l=e.dx,d=e.dy,p=e.transform,h=e.x,v=e.y,y=e.desc,g=e.id,b=e.tabIndex,m=e.tspanComponent,x=e.textComponent,w=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){$i(e,t,n[t])}))}return e}({"aria-label":n,key:"text"},i,{direction:u,dx:l,x:h,y:v+d,transform:p,className:a,title:o,desc:ce(y,e),tabIndex:ce(b,e),id:g}),O=c.map((function(n,a){var o=t[a].style,i={key:"".concat(g,"-key-").concat(a),x:r?void 0:h,dx:r?l+t[a].backgroundPadding.left:l,dy:iu(t,e,a),textAnchor:o.textAnchor||f,style:o,children:n};return s().cloneElement(m,i)}));return s().cloneElement(x,w,O)}(t,f);if(e.backgroundStyle){var d=[ou(t,f),l],p=s().cloneElement(e.groupComponent,{},d);return e.renderInPortal?s().createElement(Vi,null,p):p}return e.renderInPortal?s().createElement(Vi,null,l):l};uu.displayName="VictoryLabel",uu.role="label",uu.defaultStyles=Qi,uu.propTypes={active:f().bool,angle:f().oneOfType([f().string,f().number,f().func]),ariaLabel:f().oneOfType([f().string,f().func]),backgroundComponent:f().element,backgroundPadding:f().oneOfType([f().number,f().object,f().array]),backgroundStyle:f().oneOfType([f().object,f().array]),capHeight:f().oneOfType([f().string,Ei,f().func]),className:f().string,data:f().array,datum:f().any,desc:f().oneOfType([f().string,f().func]),direction:f().oneOf(["rtl","ltr","inherit"]),dx:f().oneOfType([f().number,f().string,f().func]),dy:f().oneOfType([f().number,f().string,f().func]),events:f().object,groupComponent:f().element,id:f().oneOfType([f().number,f().string,f().func]),index:f().oneOfType([f().number,f().string]),inline:f().bool,labelPlacement:f().oneOf(["parallel","perpendicular","vertical"]),lineHeight:f().oneOfType([f().string,Ei,f().func,f().array]),origin:f().shape({x:Ei,y:Ei}),polar:f().bool,renderInPortal:f().bool,scale:f().shape({x:Ci,y:Ci}),style:f().oneOfType([f().object,f().array]),tabIndex:f().oneOfType([f().number,f().func]),text:f().oneOfType([f().string,f().number,f().func,f().array]),textAnchor:f().oneOfType([f().oneOf(["start","middle","end","inherit"]),f().func]),textComponent:f().element,title:f().string,transform:f().oneOfType([f().string,f().object,f().func]),tspanComponent:f().element,verticalAnchor:f().oneOfType([f().oneOf(["start","middle","end"]),f().func]),x:f().oneOfType([f().number,f().string]),y:f().oneOfType([f().number,f().string])},uu.defaultProps={backgroundComponent:s().createElement((function(e){var t=e.desc,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["desc"]);return t?s().createElement("rect",Yi({vectorEffect:"non-scaling-stroke"},n),s().createElement("desc",null,t)):s().createElement("rect",Yi({vectorEffect:"non-scaling-stroke"},n))}),null),groupComponent:s().createElement("g",null),direction:"inherit",textComponent:s().createElement(Gi,null),tspanComponent:s().createElement((function(e){return s().createElement("tspan",e)}),null),capHeight:.71,lineHeight:1};const cu=uu;var fu=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],lu="#ECEFF1",su="#90A4AE",du="#455A64",pu="#212121",hu={width:350,height:350,padding:50},vu={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:du,stroke:"transparent",strokeWidth:0},yu=u()({textAnchor:"middle"},vu),gu="round",bu="round";const mu={area:u()({style:{data:{fill:pu},labels:vu}},hu),axis:u()({style:{axis:{fill:"transparent",stroke:su,strokeWidth:2,strokeLinecap:gu,strokeLinejoin:bu},axisLabel:u()({},yu,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:lu,strokeDasharray:"10, 5",strokeLinecap:gu,strokeLinejoin:bu,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:su,strokeWidth:1,strokeLinecap:gu,strokeLinejoin:bu},tickLabels:u()({},vu,{fill:du})}},hu),polarDependentAxis:u()({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:u()({style:{data:{fill:du,padding:8,strokeWidth:0},labels:vu}},hu),boxplot:u()({style:{max:{padding:8,stroke:du,strokeWidth:1},maxLabels:u()({},vu,{padding:3}),median:{padding:8,stroke:du,strokeWidth:1},medianLabels:u()({},vu,{padding:3}),min:{padding:8,stroke:du,strokeWidth:1},minLabels:u()({},vu,{padding:3}),q1:{padding:8,fill:du},q1Labels:u()({},vu,{padding:3}),q3:{padding:8,fill:du},q3Labels:u()({},vu,{padding:3})},boxWidth:20},hu),candlestick:u()({style:{data:{stroke:du},labels:u()({},vu,{padding:5})},candleColors:{positive:"#ffffff",negative:du}},hu),chart:hu,errorbar:u()({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:du,strokeWidth:2},labels:vu}},hu),group:u()({colorScale:fu},hu),histogram:u()({style:{data:{fill:du,stroke:pu,strokeWidth:2},labels:vu}},hu),legend:{colorScale:fu,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:vu,title:u()({},vu,{padding:5})}},line:u()({style:{data:{fill:"transparent",opacity:1,stroke:du,strokeWidth:2},labels:vu}},hu),pie:u()({colorScale:fu,style:{data:{padding:8,stroke:lu,strokeWidth:1},labels:u()({},vu,{padding:20})}},hu),scatter:u()({style:{data:{fill:du,opacity:1,stroke:"transparent",strokeWidth:0},labels:vu}},hu),stack:u()({colorScale:fu},hu),tooltip:{style:u()({},vu,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:pu,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:u()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:u()({},vu,{padding:5,pointerEvents:"none"}),flyout:{stroke:pu,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},hu)};var xu=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],wu="#252525",Ou="#969696",ku={width:450,height:300,padding:50,colorScale:xu},Mu={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:wu,stroke:"transparent"},Au=u()({textAnchor:"middle"},Mu);const Eu={material:mu,grayscale:{area:u()({style:{data:{fill:wu},labels:Mu}},ku),axis:u()({style:{axis:{fill:"transparent",stroke:wu,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:u()({},Au,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:Mu}},ku),bar:u()({style:{data:{fill:wu,padding:8,strokeWidth:0},labels:Mu}},ku),boxplot:u()({style:{max:{padding:8,stroke:wu,strokeWidth:1},maxLabels:u()({},Mu,{padding:3}),median:{padding:8,stroke:wu,strokeWidth:1},medianLabels:u()({},Mu,{padding:3}),min:{padding:8,stroke:wu,strokeWidth:1},minLabels:u()({},Mu,{padding:3}),q1:{padding:8,fill:Ou},q1Labels:u()({},Mu,{padding:3}),q3:{padding:8,fill:Ou},q3Labels:u()({},Mu,{padding:3})},boxWidth:20},ku),candlestick:u()({style:{data:{stroke:wu,strokeWidth:1},labels:u()({},Mu,{padding:5})},candleColors:{positive:"#ffffff",negative:wu}},ku),chart:ku,errorbar:u()({borderWidth:8,style:{data:{fill:"transparent",stroke:wu,strokeWidth:2},labels:Mu}},ku),group:u()({colorScale:xu},ku),histogram:u()({style:{data:{fill:Ou,stroke:wu,strokeWidth:2},labels:Mu}},ku),legend:{colorScale:xu,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Mu,title:u()({},Mu,{padding:5})}},line:u()({style:{data:{fill:"transparent",stroke:wu,strokeWidth:2},labels:Mu}},ku),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:u()({},Mu,{padding:20})},colorScale:xu,width:400,height:400,padding:50},scatter:u()({style:{data:{fill:wu,stroke:"transparent",strokeWidth:0},labels:Mu}},ku),stack:u()({colorScale:xu},ku),tooltip:{style:u()({},Mu,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:wu,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:u()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:u()({},Mu,{padding:5,pointerEvents:"none"}),flyout:{stroke:wu,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},ku)}};var Tu=r(556),ju=r.n(Tu);function Su(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Cu(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Pu=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Cu(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).map={},n.index=1,n.portalUpdate=n.portalUpdate.bind(Cu(n)),n.portalRegister=n.portalRegister.bind(Cu(n)),n.portalDeregister=n.portalDeregister.bind(Cu(n)),n}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"portalRegister",value:function(){return++this.index}},{key:"portalUpdate",value:function(e,t){this.map[e]=t,this.forceUpdate()}},{key:"portalDeregister",value:function(e){delete this.map[e],this.forceUpdate()}},{key:"getChildren",value:function(){var e=this;return ne()(this.map).map((function(t){var n=e.map[t];return n?s().cloneElement(n,{key:t}):n}))}},{key:"render",value:function(){return s().createElement("svg",this.props,this.getChildren())}}])&&Su(n.prototype,r),t}(s().Component);Object.defineProperty(Pu,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"Portal"}),Object.defineProperty(Pu,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:f().string,height:Ei,style:f().object,viewBox:f().string,width:Ei}});var _u,Du,Iu=0,Lu=0,Nu=0,Uu=0,Fu=0,Wu=0,zu="object"==typeof performance&&performance.now?performance:Date,Ru="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Hu(){return Fu||(Ru(qu),Fu=zu.now()+Wu)}function qu(){Fu=0}function Vu(){this._call=this._time=this._next=null}function Yu(e,t,n){var r=new Vu;return r.restart(e,t,n),r}function Bu(){Fu=(Uu=zu.now())+Wu,Iu=Lu=0;try{!function(){Hu(),++Iu;for(var e,t=_u;t;)(e=Fu-t._time)>=0&&t._call.call(null,e),t=t._next;--Iu}()}finally{Iu=0,function(){for(var e,t,n=_u,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:_u=t);Du=e,Gu(r)}(),Fu=0}}function Ku(){var e=zu.now(),t=e-Uu;t>1e3&&(Wu-=t,Uu=e)}function Gu(e){Iu||(Lu&&(Lu=clearTimeout(Lu)),e-Fu>24?(e<1/0&&(Lu=setTimeout(Bu,e-zu.now()-Wu)),Nu&&(Nu=clearInterval(Nu))):(Nu||(Uu=zu.now(),Nu=setInterval(Ku,1e3)),Iu=1,Ru(Bu)))}function $u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Vu.prototype=Yu.prototype={constructor:Vu,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?Hu():+n)+(null==t?0:+t),this._next||Du===this||(Du?Du._next=this:_u=this,Du=this),this._call=e,this._time=n,Gu()},stop:function(){this._call&&(this._call=null,this._time=1/0,Gu())}};var Xu=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.shouldAnimate=!0,this.subscribers=[],this.loop=this.loop.bind(this),this.timer=null,this.activeSubscriptions=0}var t,n;return t=e,(n=[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"loop",value:function(){this.subscribers.forEach((function(e){e.callback(Hu()-e.startTime,e.duration)}))}},{key:"start",value:function(){this.timer||(this.timer=Yu(this.loop))}},{key:"stop",value:function(){this.timer&&(this.timer.stop(),this.timer=null)}},{key:"subscribe",value:function(e,t){t=this.shouldAnimate?t:0;var n=this.subscribers.push({startTime:Hu(),callback:e,duration:t});return this.activeSubscriptions++,this.start(),n}},{key:"unsubscribe",value:function(e){null!==e&&this.subscribers[e-1]&&(delete this.subscribers[e-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}])&&$u(t.prototype,n),e}(),Qu=s().createContext({transitionTimer:new Xu,animationTimer:new Xu});Qu.displayName="TimerContext";const Zu=Qu;function Ju(){return Ju=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ju.apply(this,arguments)}function ec(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){tc(e,t,n[t])}))}return e}function tc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var rc=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).containerId=T()(e)&&void 0!==e.containerId?e.containerId:ju()("victory-container-"),n.savePortalRef=function(e){return n.portalRef=e,e},n.portalUpdate=function(e,t){return n.portalRef.portalUpdate(e,t)},n.portalRegister=function(){return n.portalRef.portalRegister()},n.portalDeregister=function(e){return n.portalRef.portalDeregister(e)},n.saveContainerRef=e&&S()(e.containerRef)?e.containerRef:function(e){return n.containerRef=e,e},n.shouldHandleWheel=e&&e.events&&e.events.onWheel,n.shouldHandleWheel&&(n.handleWheel=function(e){return e.preventDefault()}),n}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}},{key:"componentWillUnmount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}},{key:"getIdForElement",value:function(e){return"".concat(this.containerId,"-").concat(e)}},{key:"getChildren",value:function(e){return e.children}},{key:"getOUIAProps",value:function(e){var t=e.ouiaId,n=e.ouiaSafe,r=e.ouiaType;return ec({},t&&{"data-ouia-component-id":t},r&&{"data-ouia-component-type":r},void 0!==n&&{"data-ouia-safe":n})}},{key:"renderContainer",value:function(e,t,n){var r=e.title,a=e.desc,o=e.portalComponent,i=e.className,c=e.width,f=e.height,l=e.portalZIndex,d=e.responsive,p=this.getChildren(e),h=d?{width:"100%",height:"100%"}:{width:c,height:f},v=u()({pointerEvents:"none",touchAction:"none",position:"relative"},h),y=u()({zIndex:l,position:"absolute",top:0,left:0},h),g=u()({pointerEvents:"all"},h),b=u()({overflow:"visible"},h),m={width:c,height:f,viewBox:t.viewBox,preserveAspectRatio:t.preserveAspectRatio,style:b};return s().createElement(zi.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},s().createElement("div",Ju({style:D()({},n,v),className:i,ref:this.saveContainerRef},this.getOUIAProps(e)),s().createElement("svg",Ju({},t,{style:g}),r?s().createElement("title",{id:this.getIdForElement("title")},r):null,a?s().createElement("desc",{id:this.getIdForElement("desc")},a):null,p),s().createElement("div",{style:y},s().cloneElement(o,ec({},m,{ref:this.savePortalRef})))))}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r=e.responsive,a=e.events,o=e.title,i=e.desc,c=e.tabIndex,f=e.preserveAspectRatio,l=e.role,s=r?this.props.style:oe(this.props.style,["height","width"]),d=u()({width:t,height:n,tabIndex:c,role:l,"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:r?"0 0 ".concat(t," ").concat(n):void 0,preserveAspectRatio:r?f:void 0},a);return this.renderContainer(this.props,d,s)}}])&&nc(n.prototype,r),t}(s().Component);Object.defineProperty(rc,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryContainer"}),Object.defineProperty(rc,"role",{configurable:!0,enumerable:!0,writable:!0,value:"container"}),Object.defineProperty(rc,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{"aria-describedby":f().string,"aria-labelledby":f().string,children:f().oneOfType([f().arrayOf(f().node),f().node]),className:f().string,containerId:f().oneOfType([f().number,f().string]),containerRef:f().func,desc:f().string,events:f().object,height:Ei,name:f().string,origin:f().shape({x:Ei,y:Ei}),ouiaId:f().oneOfType([f().number,f().string]),ouiaSafe:f().bool,ouiaType:f().string,polar:f().bool,portalComponent:f().element,portalZIndex:Ti,preserveAspectRatio:f().string,responsive:f().bool,role:f().string,style:f().object,tabIndex:f().number,theme:f().object,title:f().string,width:Ei}}),Object.defineProperty(rc,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{className:"VictoryContainer",portalComponent:s().createElement(Pu,null),portalZIndex:99,responsive:!0,role:"img"}}),Object.defineProperty(rc,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Zu});var ac=r(484),oc=r.n(ac),ic=r(6866),uc=r.n(ic),cc=r(9922),fc=r.n(cc);function lc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sc(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var dc=/^onGlobal(.*)$/;function pc(e,t,n,r){var a,o=this,i=function(e){var r,a=(r=e.reduce((function(e,n){return void 0!==n.target?(Array.isArray(n.target)?v()(n.target,t):"".concat(n.target)==="".concat(t))?e.concat(n):e:e.concat(n)}),[]),void 0!==n&&"parent"!==t?r.filter((function(e){var t=e.eventKey,r=function(e){return!e||"".concat(e)==="".concat(n)};return Array.isArray(t)?t.some((function(e){return r(e)})):r(t)})):r);return Array.isArray(a)&&a.reduce((function(e,t){return t?u()(e,t.eventHandlers):e}),{})},c=Array.isArray(o.componentEvents)?Array.isArray(e.events)?(a=o.componentEvents).concat.apply(a,sc(e.events)):o.componentEvents:e.events,f=c&&S()(r)?r(i(c),t):void 0;if(!e.sharedEvents)return f;var l=e.sharedEvents.getEvents,s=e.sharedEvents.events&&l(i(e.sharedEvents.events),t);return u()({},s,f)}function hc(e,t,n,r){var a=this;if(o()(e))return{};r=r||this.baseProps;var i=function(e,t){var n=e.childName,o=e.target,i=e.key,u="props"===t?r:a.state||{},c=null!=n&&u[n]?u[n]:u;return"parent"===i?c.parent:c[i]&&c[i][o]},c=function(e,o){var c="parent"===t?e.childName:e.childName||n,f=e.target||t,l=function(t,n){var o=a.state||{};if(!S()(e.mutation))return o;var c=i({childName:n,key:t,target:f},"props"),l=i({childName:n,key:t,target:f},"state"),s=e.mutation(u()({},c,l),r),d=o[n]||{},p=function(e){return s?function(e){return"parent"===f?u()(e,lc({},t,u()(e[t],s))):u()(e,lc({},t,u()(e[t],lc({},f,s))))}(e):function(e){return e[t]&&e[t][f]&&delete e[t][f],e[t]&&!ne()(e[t]).length&&delete e[t],e}(e)};return null!=n?u()(o,lc({},n,p(d))):p(o)},s=function(t){var n=function(t){return"parent"===f?"parent":"all"===e.eventKey?r[t]?p()(ne()(r[t]),"parent"):p()(ne()(r),"parent"):void 0===e.eventKey&&"parent"===o?r[t]?ne()(r[t]):ne()(r):void 0!==e.eventKey?e.eventKey:o}(t);return Array.isArray(n)?n.reduce((function(e,n){return u()(e,l(n,t))}),{}):l(n,t)},d="all"===c?p()(ne()(r),"parent"):c;return Array.isArray(d)?d.reduce((function(e,t){return u()(e,s(t))}),{}):s(d)},f=function(t,n,r,i){var f=e[i](t,n,r,a);if(!o()(f)){var l=function(e){var t=function(e){return S()(e.callback)&&e.callback},n=(Array.isArray(e)?e.map((function(e){return t(e)})):[t(e)]).filter((function(e){return!1!==e}));return n.length?function(){return n.forEach((function(e){return e()}))}:void 0}(f);a.setState(function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return u()({},e,c(n,t))}),{}):c(e,t)}(f,r),l)}};return ne()(e).reduce((function(e,t){return e[t]=f,e}),{})}function vc(e,t,n){var r=this.state||{};return n?r[n]&&r[n][e]&&r[n][e][t]:"parent"===e?r[e]&&r[e][t]||r[e]:r[e]&&r[e][t]}function yc(e,t,n,r){var a=function(e,t){if("string"==typeof e[t])return"all"===e[t]||e[t]===r[t];if(Array.isArray(e[t])){var n=e[t].map((function(e){return"".concat(e)}));return v()(n,r[t])}return!1},i=e=Array.isArray(e)?e:[e];r.childName&&(i=e.filter((function(e){return a(e,"childName")})));var c=i.filter((function(e){return a(e,"target")}));if(!o()(c)){var f=c.filter((function(e){return a(e,"eventKey")}));if(!o()(f))return f.reduce((function(e,r){var a=(r&&S()(r.mutation)?r.mutation:function(){})(u()({},t,n));return u()({},e,a)}),{})}}function gc(e){var t=e.match(dc);return t&&t[1]&&t[1].toLowerCase()}var bc=r(8266),mc=r.n(bc);function xc(e){return+e}function wc(e){return e*e}function Oc(e){return e*(2-e)}function kc(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function Mc(e){return e*e*e}function Ac(e){return--e*e*e+1}function Ec(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var Tc=function e(t){function n(e){return Math.pow(e,t)}return t=+t,n.exponent=e,n}(3),jc=function e(t){function n(e){return 1-Math.pow(1-e,t)}return t=+t,n.exponent=e,n}(3),Sc=function e(t){function n(e){return((e*=2)<=1?Math.pow(e,t):2-Math.pow(2-e,t))/2}return t=+t,n.exponent=e,n}(3),Cc=Math.PI,Pc=Cc/2;function _c(e){return 1==+e?1:1-Math.cos(e*Pc)}function Dc(e){return Math.sin(e*Pc)}function Ic(e){return(1-Math.cos(Cc*e))/2}function Lc(e){return 1.0009775171065494*(Math.pow(2,-10*e)-.0009765625)}function Nc(e){return Lc(1-+e)}function Uc(e){return 1-Lc(e)}function Fc(e){return((e*=2)<=1?Lc(1-e):2-Lc(e-1))/2}function Wc(e){return 1-Math.sqrt(1-e*e)}function zc(e){return Math.sqrt(1- --e*e)}function Rc(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}var Hc=7.5625;function qc(e){return 1-Vc(1-e)}function Vc(e){return(e=+e)<.36363636363636365?Hc*e*e:e<.7272727272727273?Hc*(e-=.5454545454545454)*e+.75:e<.9090909090909091?Hc*(e-=.8181818181818182)*e+.9375:Hc*(e-=.9545454545454546)*e+.984375}function Yc(e){return((e*=2)<=1?1-Vc(1-e):Vc(e-1)+1)/2}var Bc=1.70158,Kc=function e(t){function n(e){return(e=+e)*e*(t*(e-1)+e)}return t=+t,n.overshoot=e,n}(Bc),Gc=function e(t){function n(e){return--e*e*((e+1)*t+e)+1}return t=+t,n.overshoot=e,n}(Bc),$c=function e(t){function n(e){return((e*=2)<1?e*e*((t+1)*e-t):(e-=2)*e*((t+1)*e+t)+2)/2}return t=+t,n.overshoot=e,n}(Bc),Xc=2*Math.PI,Qc=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=Xc);function a(e){return t*Lc(- --e)*Math.sin((r-e)/n)}return a.amplitude=function(t){return e(t,n*Xc)},a.period=function(n){return e(t,n)},a}(1,.3),Zc=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=Xc);function a(e){return 1-t*Lc(e=+e)*Math.sin((e+r)/n)}return a.amplitude=function(t){return e(t,n*Xc)},a.period=function(n){return e(t,n)},a}(1,.3),Jc=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=Xc);function a(e){return((e=2*e-1)<0?t*Lc(-e)*Math.sin((r-e)/n):2-t*Lc(e)*Math.sin((r+e)/n))/2}return a.amplitude=function(t){return e(t,n*Xc)},a.period=function(n){return e(t,n)},a}(1,.3),ef=function(e){if(null!==e)switch(typeof e){case"undefined":case"boolean":return!1;case"number":return!isNaN(e)&&e!==Number.POSITIVE_INFINITY&&e!==Number.NEGATIVE_INFINITY;case"string":case"function":return!0;case"object":return e instanceof Date||Array.isArray(e)||V()(e)}return!1},tf=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(r){return r<n?e:t}},nf=function(e,t){return function(n){return n>=1?t:function(){var r="function"==typeof e?e.apply(this,arguments):e,a="function"==typeof t?t.apply(this,arguments):t;return It(r,a)(n)}}},rf=function(e,t){var n,r,a,o=function(e){return Array.isArray(e)?m()(e,"key"):e},i={},u={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?i[n]=(r=o(e[n]))!==(a=o(t[n]))&&ef(r)&&ef(a)?"function"==typeof r||"function"==typeof a?nf(r,a):"object"==typeof r&&V()(r)||"object"==typeof a&&V()(a)?rf(r,a):It(r,a):tf(r,a):u[n]=t[n];return function(e){for(n in i)u[n]=i[n](e);return u}};function af(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function of(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var uf=function(e){function n(e,r){var a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(a=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?of(e):t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,r))).state={data:Array.isArray(a.props.data)?a.props.data[0]:a.props.data,animationInfo:{progress:0,animating:!1}},a.interpolator=null,a.queue=Array.isArray(a.props.data)?a.props.data.slice(1):[],a.ease=t[a.toNewName(a.props.easing)],a.functionToBeRunEachFrame=a.functionToBeRunEachFrame.bind(of(a)),a.timer=a.context.animationTimer,a}var r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),r=n,(a=[{key:"componentDidMount",value:function(){this.queue.length&&this.traverseQueue()}},{key:"componentDidUpdate",value:function(e){if(!mc()(this.props,e))if(this.interpolator&&this.state.animationInfo&&this.state.animationInfo.progress<1)this.setState({data:this.interpolator(1),animationInfo:{progress:1,animating:!1,terminating:!0}});else{var t;this.timer.unsubscribe(this.loopID),Array.isArray(this.props.data)?(t=this.queue).push.apply(t,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(n=this.props.data)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()):(this.queue.length=0,this.queue.push(this.props.data)),this.traverseQueue()}var n}},{key:"componentWillUnmount",value:function(){this.loopID?this.timer.unsubscribe(this.loopID):this.timer.stop()}},{key:"toNewName",value:function(e){var t;return"ease".concat((t=e)&&t[0].toUpperCase()+t.slice(1))}},{key:"traverseQueue",value:function(){var e,t,n=this;if(this.queue.length){var r=this.queue[0];this.interpolator=(e=this.state.data)!==(t=r)&&ef(e)&&ef(t)?"function"==typeof e||"function"==typeof t?nf(e,t):V()(e)||V()(t)?rf(e,t):"string"==typeof e||"string"==typeof t?function(e,t){var n=function(e){return"string"==typeof e?e.replace(/,/g,""):e};return It(n(e),n(t))}(e,t):It(e,t):tf(e,t),this.props.delay?setTimeout((function(){n.loopID=n.timer.subscribe(n.functionToBeRunEachFrame,n.props.duration)}),this.props.delay):this.loopID=this.timer.subscribe(this.functionToBeRunEachFrame,this.props.duration)}else this.props.onEnd&&this.props.onEnd()}},{key:"functionToBeRunEachFrame",value:function(e,t){var n=(t=void 0!==t?t:this.props.duration)?e/t:1;if(n>=1)return this.setState({data:this.interpolator(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),this.loopID&&this.timer.unsubscribe(this.loopID),this.queue.shift(),void this.traverseQueue();this.setState({data:this.interpolator(this.ease(n)),animationInfo:{progress:n,animating:n<1}})}},{key:"render",value:function(){return this.props.children(this.state.data,this.state.animationInfo)}}])&&af(r.prototype,a),n}(s().Component);function cf(e,t){return(e.key||t).toString()}function ff(e){return e.reduce((function(e,t,n){return e[cf(t,n)]=t,e}),{})}function lf(e,t){var n=!1,r=ne()(e).reduce((function(e,r){return r in t||(n=!0,e[r]=!0),e}),{});return n&&r}function sf(e){return e.type&&e.type.getData?e.type.getData(e.props):e.props&&e.props.data||!1}function df(e,t){var n=!1,r=!1,a=function(e,t){return e.map((function(o,i){return o&&o.props&&o.props.children&&t[i]?a(s().Children.toArray(e[i].props.children),s().Children.toArray(t[i].props.children)):function(e,t){if(!t||e.type!==t.type)return{};var a,o,i,u,c=(a=sf(e),o=sf(t),i=a&&ff(a),u=o&&ff(o),{entering:i&&lf(u,i),exiting:u&&lf(i,u)}||{}),f=c.entering,l=c.exiting;return n=n||!!l,r=r||!!f,{entering:f||!1,exiting:l||!1}}(o,t[i])}))},o=a(s().Children.toArray(e),s().Children.toArray(t));return{nodesWillExit:n,nodesWillEnter:r,childrenTransitions:o,nodesShouldEnter:!1}}function pf(e,t,n){var r=t&&t.nodesWillExit,a=t&&t.nodesWillEnter,o=t&&t.nodesShouldEnter,i=t&&t.nodesShouldLoad,c=t&&t.nodesDoneLoad,f=t&&t.childrenTransitions||[],l={enter:e.animate&&e.animate.onEnter&&e.animate.onEnter.duration,exit:e.animate&&e.animate.onExit&&e.animate.onExit.duration,load:e.animate&&e.animate.onLoad&&e.animate.onLoad.duration,move:e.animate&&e.animate.duration},s=function(e,t,r){return i?function(e,t,r){if((e=u()({},e,{onEnd:function(){n({nodesShouldLoad:!1,nodesDoneLoad:!0})}}))&&e.onLoad&&!e.onLoad.duration)return{animate:e,data:t};var a=e.onLoad&&e.onLoad.after?e.onLoad.after:P();return{animate:e,data:t=t.map((function(e,n){return u()({},e,a(e,n,t))}))}}(r,t):function(e,t,r,a){if((e=u()({},e,{onEnd:function(){n({nodesDoneLoad:!0})}}))&&e.onLoad&&!e.onLoad.duration)return{animate:e,data:r};var o=e.onLoad&&e.onLoad.before?e.onLoad.before:P();return{animate:e,data:r=r.map((function(e,t){return u()({},e,o(e,t,r))})),clipWidth:0}}(r,0,t)},d=function(e,t,r,a){return function(e,t,r,a,o){var i=e&&e.onExit;if(e=u()({},e,i),a){e.onEnd=function(){n({nodesWillExit:!1})};var c=e.onExit&&e.onExit.before?e.onExit.before:P();r=r.map((function(e,t){var n=(e.key||t).toString();return a[n]?u()({},e,c(e,t,r)):e}))}return{animate:e,data:r}}(a,0,r,e)},p=function(e,t,r,a){return o?function(e,t,r,a){var o=e&&e.onEnter;if(e=u()({},e,o),r){e.onEnd=function(){n({nodesWillEnter:!1})};var i=e.onEnter&&e.onEnter.after?e.onEnter.after:P();t=t.map((function(e,n){var a=cf(e,n);return r[a]?u()({},e,i(e,n,t)):e}))}return{animate:e,data:t}}(a,r,e):function(e,t,r,a,o){if(a){var i=(e=u()({},e,{onEnd:function(){n({nodesShouldEnter:!0})}})).onEnter&&e.onEnter.before?e.onEnter.before:P();r=r.map((function(e,t){var n=(e.key||t).toString();return a[n]?u()({},e,i(e,t,r)):e}))}return{animate:e,data:r}}(a,0,r,e)},h=function(e,t){var n=e.props.animate;if(!e.type)return{};var r=e.props&&e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;if(r){var a=n[t]&&n[t].duration;return void 0!==a?a:r[t]&&r[t].duration}return{}};return function(n,i){var v=sf(n)||[],y=D()({},e.animate,n.props.animate),g=n.props.polar&&n.type.defaultPolarTransitions||n.type.defaultTransitions;y.onExit=D()({},y.onExit,g&&g.onExit),y.onEnter=D()({},y.onEnter,g&&g.onEnter),y.onLoad=D()({},y.onLoad,g&&g.onLoad);var b=f[i]||f[0];if(!c){var m={duration:void 0!==l.load?l.load:h(n,"onLoad")};return s(0,v,u()({},y,m))}if(r){var x=b&&b.exiting,w=void 0!==l.exit?l.exit:h(n,"onExit"),O=x?{duration:w}:{delay:w};return d(x,0,v,u()({},y,O))}if(a){var k=b&&b.entering,M=void 0!==l.enter?l.enter:h(n,"onEnter"),A=void 0!==l.move?l.move:n.props.animate&&n.props.animate.duration,E={duration:o&&k?M:A};return p(k,0,v,u()({},y,E))}return!t&&y&&y.onExit?function(e,t){var n=e.onEnter&&e.onEnter.after?e.onEnter.after:P();return{data:t.map((function(e,r){return u()({},e,n(e,r,t))}))}}(y,v):{animate:y,data:v}}}function hf(){return hf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hf.apply(this,arguments)}function vf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yf(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(uf,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAnimation"}),Object.defineProperty(uf,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:f().func,data:f().oneOfType([f().object,f().array]),delay:f().number,duration:f().number,easing:f().oneOf(["back","backIn","backOut","backInOut","bounce","bounceIn","bounceOut","bounceInOut","circle","circleIn","circleOut","circleInOut","linear","linearIn","linearOut","linearInOut","cubic","cubicIn","cubicOut","cubicInOut","elastic","elasticIn","elasticOut","elasticInOut","exp","expIn","expOut","expInOut","poly","polyIn","polyOut","polyInOut","quad","quadIn","quadOut","quadInOut","sin","sinIn","sinOut","sinInOut"]),onEnd:f().func}}),Object.defineProperty(uf,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{data:{},delay:0,duration:1e3,easing:"quadInOut"}}),Object.defineProperty(uf,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Zu});var gf=function(e){function t(e,n){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?yf(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))).state={nodesShouldLoad:!1,nodesDoneLoad:!1};var a=r.props.children,o=a.props.polar;return r.continuous=!o&&a.type&&!0===a.type.continuous,r.getTransitionState=r.getTransitionState.bind(yf(r)),r.timer=r.context.transitionTimer,r}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,r=[{key:"componentDidMount",value:function(){this.setState({nodesShouldLoad:!0})}},{key:"shouldComponentUpdate",value:function(e){var t=this;return mc()(this.props,e)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,e),(function(){return t.timer.resumeAnimation()}))),!0}},{key:"componentWillUnmount",value:function(){this.timer.stop()}},{key:"getTransitionState",value:function(e,t){var n=e.animate;if(n){if(n.parentState)return{oldProps:n.parentState.nodesWillExit?e:null,nextProps:t};var r=df(s().Children.toArray(e.children),s().Children.toArray(t.children)),a=r.nodesWillExit;return{nodesWillExit:a,nodesWillEnter:r.nodesWillEnter,childrenTransitions:r.childrenTransitions,nodesShouldEnter:r.nodesShouldEnter,oldProps:a?e:null,nextProps:t}}return{}}},{key:"getDomainFromChildren",value:function(e,t){var n=function(e){return e.reduce((function(e,r){if(r.type&&S()(r.type.getDomain)){var a=r.props&&r.type.getDomain(r.props,t);return a?e.concat(a):e}return r.props&&r.props.children?e.concat(n(s().Children.toArray(r.props.children))):e}),[])},r=s().Children.toArray(e.children)[0],a=r.props||{},o=Array.isArray(a.domain)?a.domain:a.domain&&a.domain[t];if(!a.children&&o)return o;var i=n([r]);return 0===i.length?[0,1]:[F(i),U(i)]}},{key:"pickProps",value:function(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}},{key:"pickDomainProps",value:function(e){var t=T()(e.animate)&&e.animate.parentState;return t&&t.nodesWillExit?(this.continous||t.continuous)&&(t.nextProps||this.state.nextProps)||e:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||e}},{key:"getClipWidth",value:function(e,t){var n,r=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==r?r:(n=de(t.props,"x"))?Math.abs(n[1]-n[0]):e.width}},{key:"render",value:function(){var e=this,t=this.pickProps(),n=T()(this.props.animate)&&this.props.animate.getTransitions?this.props.animate.getTransitions:pf(t,this.state,(function(t){return e.setState(t)})),r=s().Children.toArray(t.children)[0],a=n(r);this.transitionProps=a;var o={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},i=this.getClipWidth(t,r),u=D()({domain:o,clipWidth:i},a,r.props),c=(t.animationWhitelist||[]).concat(["clipWidth"]),f=c.length?ae()(u,c):u;return s().createElement(uf,hf({},u.animate,{data:f}),(function(t){if(r.props.groupComponent){var n=e.continuous?s().cloneElement(r.props.groupComponent,{clipWidth:t.clipWidth||0}):r.props.groupComponent;return s().cloneElement(r,D()({animate:null,animating:!0,groupComponent:n},t,u))}return s().cloneElement(r,D()({animate:null,animating:!0},t,u))}))}}],r&&vf(n.prototype,r),t}(s().Component);function bf(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function mf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xf(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(gf,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryTransition"}),Object.defineProperty(gf,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{animate:f().oneOfType([f().bool,f().object]),animationWhitelist:f().array,children:f().node}}),Object.defineProperty(gf,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Zu});var wf=function(e){return!uc()(e._x)&&!uc()(e._y)},Of=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];function kf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Mf={top:-1,left:-1,right:1,bottom:1},Af=function(e){return null!=e},Ef=function(e,t){var n=e.style||{};return t=t||{},{parent:D()(n.parent,t.parent,{height:"100%",width:"100%"}),axis:D()({},n.axis,t.axis),axisLabel:D()({},n.axisLabel,t.axisLabel),grid:D()({},n.grid,t.grid),ticks:D()({},n.ticks,t.ticks),tickLabels:D()({},n.tickLabels,t.tickLabels)}},Tf=function(e,t,n){var r=e.position,a=e.transform;return{x1:a.x,y1:a.y,x2:a.x+r.x2,y2:a.y+r.y2,style:t,datum:n}},jf=function(e,t,n,r,a){var o=e.position,i=e.transform;return{style:t,x:i.x+o.x,y:i.y+o.y,verticalAnchor:n.verticalAnchor,textAnchor:n.textAnchor,angle:t.angle,text:a,datum:r}},Sf=function(e,t,n){var r=e.edge,a=e.transform;return{x1:a.x,y1:a.y,x2:r.x+a.x,y2:r.y+a.y,style:t,datum:n}},Cf=function(e,t,n){var r=t||"positive";return n?{positive:{x:"left",y:"bottom"},negative:{x:"right",y:"top"}}[r][e]:{positive:{x:"bottom",y:"left"},negative:{x:"top",y:"right"}}[r][e]},Pf=function(e,t,n){var r=t.orientation,a=function(e,t){if(e.axisValue){var n="x"===t?"y":"x",r=T()(e.scale)&&S()(e.scale[n])?e.scale[n]:void 0;if(r){var a="x"===t?"y":"x",o=T()(e.stringMap)&&e.stringMap[a];return r(o&&"string"==typeof e.axisValue?o[e.axisValue]:e.axisValue)}}}(e,t.axis);return{top:{x:0,y:void 0!==a?a:n.y},bottom:{x:0,y:void 0!==a?a:e.height-n.y},left:{x:void 0!==a?a:n.x,y:0},right:{x:void 0!==a?a:e.width-n.x,y:0}}[r]},_f=function(e,t,n){var r=e.tickStyle,a=e.labelStyle,o=r.size||0,i=o+(r.padding||0)+(a.padding||0),u=Mf[t];return{x:n?u*i:0,x2:n?u*o:0,y:n?0:u*i,y2:n?0:u*o}},Df=function(e,t,n){return{x:n?t.x:e+t.x,y:n?e+t.y:t.y}},If=function(e,t){var n=t.orientation,r=t.padding,a=t.isVertical,o=-Mf[n];return{x:a?o*(e.width-(r.left+r.right)):0,y:a?0:o*(e.height-(r.top+r.bottom))}},Lf=function(e,t){var n=e.padding,r=e.orientation,a=e.crossAxis,o="right"===r?n.right:n.left,i="top"===r?n.top:n.bottom;return{x:a?t.x-o:0,y:a?t.y-i:0}},Nf=function(e,t){var n;return n=t.domain.x&&t.domain.y?e.horizontal?function(e,t){var n=t.scale,r=t.origin,a=t.orientation,o=t.orientations,i=t.domain,u=t.padding,c=u.top,f=u.bottom,l=u.left,s=u.right,d="bottom"===a||"top"===a?a:o.x,p="left"===a||"right"===a?a:o.y,h={x:"bottom"===d?f:c,y:"left"===p?l:s},v="left"===p?0:e.width,y="bottom"===d?e.height:0,g=r.x===i.x[0]||r.x===i.x[1]?0:n.x(r.x),b=r.y===i.y[0]||r.y===i.y[1]?0:n.y(r.y),m=g?Math.abs(y-g):h.x,x=b?Math.abs(v-b):h.y;return{x:Af(e.offsetX)?e.offsetX:x,y:Af(e.offsetY)?e.offsetY:m}}(e,t):function(e,t){var n=t.scale,r=t.origin,a=t.orientation,o=t.orientations,i=t.domain,u=t.padding,c=u.top,f=u.bottom,l=u.left,s=u.right,d="bottom"===a||"top"===a?a:o.x,p="left"===a||"right"===a?a:o.y,h={x:"left"===p?l:s,y:"bottom"===d?f:c},v="left"===p?0:e.width,y="bottom"===d?e.height:0,g=r.x===i.x[0]||r.x===i.x[1]?0:n.x(r.x),b=r.y===i.y[0]||r.y===i.y[1]?0:n.y(r.y),m=g?Math.abs(v-g):h.x,x=b?Math.abs(y-b):h.y;return{x:Af(e.offsetX)?e.offsetX:m,y:Af(e.offsetY)?e.offsetY:x}}(e,t):function(e,t){var n,r=t.style,a=t.scale,o=t.orientation,i=t.padding,c=t.axis,f=t.ticks,l=t.stringTicks,s=t.isVertical,d=t.labelPadding,p=e.polar,h=e.horizontal,v={scale:kf({},c,a),polar:p,horizontal:h,ticks:f,stringTicks:l},y="right"===o?i.right:i.left,g="top"===o?i.top:i.bottom,b=null!==e.offsetX&&void 0!==e.offsetX?e.offsetX:y,m=null!==e.offsetY&&void 0!==e.offsetY?e.offsetY:g,x=r.axisLabel.fontSize||14,w=f.map((function(t,n){var a=l?e.tickValues[t-1]:t;return fe(r.ticks,u()({},v,{tick:a,index:n})).size||0})),O=x+2*Math.max.apply(Math,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(n=w)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}())+d,k=1.2*x;return{x:null!=b?b:s?O:k,y:null!=m?m:s?k:O}}(e,t),{globalTransform:Pf(e,t,n),gridOffset:Lf(t,n),gridEdge:If(e,t)}},Uf=function(e){var t=function(e){var t=e.theme,n=e.dependentAxis,r=t&&t.axis&&t.axis.style,a=n?"dependentAxis":"independentAxis",o=t&&t[a]&&t[a].style;return r&&o?["axis","axisLabel","grid","parent","tickLabels","ticks"].reduce((function(e,t){return e[t]=D()({},o[t],r[t]),e}),{}):o||r}(e),n=Ef(e,t),r=ue(e),a=function(e,t){var n=t.axisLabel||{};if(void 0!==n.padding&&null!==n.padding)return n.padding;var r=Zo(e),a=n.fontSize||14;return e.label?a*(r?2.3:1.6):0}(e,n),o=Jo(e)?e.tickValues:void 0,i=Xo(e),u=ai(e),c=function(e){var t=Xo(e),n=function(e,t){var n=e.orientation,r=e.horizontal;return n?{top:"x",bottom:"x",left:"y",right:"y"}[n]:r?"x"===t?"y":"x":t}(e,t),r=jo(e,t),a=e.domain&&e.domain[t]||ai(e)||r.domain();return r.range(de(e,n)),r.domain(a),r}(e),f="x"===i?u:void 0,l="y"===i?u:void 0,s="x"===i?c:void 0,d="y"===i?c:void 0,h=!1!==e.crossAxis&&!0!==e.standalone,y=function(e,t,n){var r=e.tickCount,a=ti(e),o=a?a.map((function(e){return e.value})):void 0;if(o)return ni(o,r);if(t.ticks&&S()(t.ticks)){var i=r||5,u=t.ticks(i),c=ni(Array.isArray(u)&&u.length?u:t.domain(),r);if(n){var f=v()(c,0)?p()(c,0):c;return f.length?f:c}return c}return t.domain()}(e,c,h),b=function(e,t){var n=e.tickFormat,r=Xo(e),a=e.stringMap&&e.stringMap[r];if(n){if(n&&Array.isArray(n)){var o=ti(e),i=o?o.map((function(e){return e.index})):void 0,u=n.filter((function(e,t){return i.includes(t)}));return function(e,t){return u[t]}}return n&&S()(n)?a?function(t,n,r){var o=A()(a),i=r.map((function(e){return o[e]}));return e.tickFormat(o[t],n,i)}:n:function(e){return e}}var c=function(e){var t=e.tickValues,n=Xo(e),r=e.stringMap&&e.stringMap[n],a=t&&!N(t)?function(e){return e}:void 0;if(r){var o=r&&A()(r),i=m()(g()(r),(function(e){return e})).map((function(e){return o[e]})),u=[""].concat($o(i),[""]);return function(e){return u[e]}}return Jo(e)?function(e,n){return t[n]}:a}(e),f=t.tickFormat&&S()(t.tickFormat)?t.tickFormat():function(e){return e};return c||f}(e,c),x={x:de(e,"x"),y:de(e,"y")},w={x:e.domain&&e.domain.x?e.domain.x:f,y:e.domain&&e.domain.y?e.domain.y:l},O={x:e.domain&&e.domain.x?jo(e,"x").domain(e.domain.x).range(e.horizontal?x.y:x.x):s,y:e.domain&&e.domain.y?jo(e,"y").domain(e.domain.y).range(e.horizontal?x.x:x.y):d},k=w.x&&w.y?function(e){var t=function(e){var t=Math.min.apply(Math,$o(e)),n=Math.max.apply(Math,$o(e));return n<0?n:Math.max(0,t)};return{x:N(e.x)?new Date(Math.min.apply(Math,$o(e.x))):t(e.x),y:N(e.y)?new Date(Math.min.apply(Math,$o(e.y))):t(e.y)}}(w):void 0,M=k?{x:Qo(k.x,w.x),y:Qo(k.y,w.y)}:void 0,E=M?{x:Cf("x",M.y,e.horizontal),y:Cf("y",M.x,e.horizontal)}:void 0,T=E?e.orientation||E[i]:function(e){if(e.orientation)return e.orientation;var t={dependent:e.horizontal?"bottom":"left",independent:e.horizontal?"left":"bottom"};return e.dependentAxis?t.dependent:t.independent}(e),j=Zo(Object.assign({},e,{orientation:T})),C=function(e,t){var n={top:"end",left:"end",right:"start",bottom:"start"}[e];return{textAnchor:t?n:"middle",verticalAnchor:t?"middle":n}}(T,j);return{anchors:C,axis:i,crossAxis:h,domain:w,isVertical:j,labelPadding:a,orientation:T,orientations:E,origin:k,padding:r,scale:O,stringTicks:o,style:n,tickFormat:b,ticks:y}};function Ff(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Rf(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var Hf={width:450,height:300,padding:50},qf=function(e){function t(){return Wf(this,t),Rf(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"renderLine",value:function(e){var t=e.axisComponent,n=this.getComponentProps(t,"axis",0);return s().cloneElement(t,n)}},{key:"renderLabel",value:function(e){var t=e.axisLabelComponent;if(!e.label)return null;var n=this.getComponentProps(t,"axisLabel",0);return s().cloneElement(t,n)}},{key:"renderGridAndTicks",value:function(e){var t=this,n=e.tickComponent,r=e.tickLabelComponent,a=e.gridComponent,i=e.name,u=function(e){var t=e.style,n=void 0===t?{}:t,r=e.events,a=void 0===r?{}:r;return"transparent"!==n.stroke&&"none"!==n.stroke&&0!==n.strokeWidth||!o()(a)};return this.dataKeys.map((function(o,c){var f=t.getComponentProps(n,"ticks",c),l=s().cloneElement(n,f),d=u(l.props)?l:void 0,p=t.getComponentProps(a,"grid",c),h=s().cloneElement(a,p),v=u(h.props)?h:void 0,y=t.getComponentProps(r,"tickLabels",c),g=[v,d,s().cloneElement(r,y)].filter(Boolean);return s().cloneElement(e.groupComponent,{key:"".concat(i,"-tick-group-").concat(o)},g)}))}},{key:"fixLabelOverlap",value:function(e,t){var n=Zo(t),r=n?t.height:t.width,a=function(e){return e.type&&"label"===e.type.role},o=e.map((function(e){return e.props.children})).reduce((function(e,t){return e.concat(t)}),[]).filter(a).map((function(e){return e.props})).reduce((function(e,t){var r=function(e){return"object"==typeof e?u()({},{top:0,right:0,bottom:0,left:0},e):{top:e,right:e,bottom:e,left:e}}(t.style.padding),a=vi(t.text,{angle:t.angle,fontSize:t.style.fontSize,letterSpacing:t.style.letterSpacing,fontFamily:t.style.fontFamily});return e+(n?a.height+r.top+r.bottom:a.width+r.right+r.left)}),0),i=Math.floor(r*e.length/o),c=Math.ceil(e.length/i)||1,f=function(e){return e.props.children.filter(a).reduce((function(e,t){return(n?t.props.y:t.props.x)||0}),0)};return e.sort((function(e,t){return n?f(t)-f(e):f(e)-f(t)})).filter((function(e,t){return t%c==0}))}},{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=oi(this.props,Hf);if(this.shouldAnimate())return this.animateComponent(n,e);var r,a=this.renderGridAndTicks(n),o=n.fixLabelOverlap?this.fixLabelOverlap(a,n):a,i=[this.renderLine(n),this.renderLabel(n)].concat(function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(r=o)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}());return n.standalone?this.renderContainer(n.containerComponent,i):s().cloneElement(n.groupComponent,{},i)}}])&&zf(n.prototype,r),t}(s().Component);Object.defineProperty(qf,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["style","domain","range","tickCount","tickValues","offsetX","offsetY","padding","width","height"]}),Object.defineProperty(qf,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAxis"}),Object.defineProperty(qf,"role",{configurable:!0,enumerable:!0,writable:!0,value:"axis"}),Object.defineProperty(qf,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onExit:{duration:500},onEnter:{duration:500}}}),Object.defineProperty(qf,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Ff(e,t,n[t])}))}return e}({},_i,{axisComponent:f().element,axisLabelComponent:f().element,axisValue:f().oneOfType([f().number,f().string,f().object]),categories:f().oneOfType([f().arrayOf(f().string),f().shape({x:f().arrayOf(f().string),y:f().arrayOf(f().string)})]),crossAxis:f().bool,dependentAxis:f().bool,events:f().arrayOf(f().shape({target:f().oneOf(["axis","axisLabel","grid","ticks","tickLabels"]),eventKey:f().oneOfType([f().array,Ai([Ti,Ei]),f().string]),eventHandlers:f().object})),fixLabelOverlap:f().bool,gridComponent:f().element,groupComponent:f().element,invertAxis:f().bool,label:f().any,offsetX:f().number,offsetY:f().number,orientation:f().oneOf(["top","bottom","left","right"]),origin:f().shape({x:f().number,y:f().number}),stringMap:f().object,style:f().shape({parent:f().object,axis:f().object,axisLabel:f().object,grid:f().object,ticks:f().object,tickLabels:f().object}),tickComponent:f().element,tickCount:Ai([Ti,ji]),tickFormat:f().oneOfType([f().func,Pi]),tickLabelComponent:f().element,tickValues:Pi})}),Object.defineProperty(qf,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{axisComponent:s().createElement(Fi,null),axisLabelComponent:s().createElement(cu,null),tickLabelComponent:s().createElement(cu,null),tickComponent:s().createElement(Fi,null),gridComponent:s().createElement(Fi,null),standalone:!0,theme:Eu.grayscale,containerComponent:s().createElement(rc,null),groupComponent:s().createElement("g",{role:"presentation"}),fixLabelOverlap:!1}}),Object.defineProperty(qf,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:ai}),Object.defineProperty(qf,"getAxis",{configurable:!0,enumerable:!0,writable:!0,value:Xo}),Object.defineProperty(qf,"getStyles",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Ef(e,Hf.style)}}),Object.defineProperty(qf,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return function(e,t){e=oi(e,t);var n=Uf(e),r=n.axis,a=n.style,o=n.orientation,i=n.isVertical,c=n.scale,f=n.ticks,l=n.tickFormat,s=n.anchors,d=n.domain,p=n.stringTicks,h=n.name,v="x"===r?"y":"x",y=e,g=y.width,b=y.height,m=y.standalone,x=y.theme,w=y.polar,O=y.padding,k=y.horizontal,M=Nf(e,n),A=M.globalTransform,E=M.gridOffset,T=M.gridEdge,j={scale:kf({},r,c[r]),polar:w,horizontal:k,ticks:f,stringTicks:p},S=function(e,t,n){var r=t.style,a=t.padding,o=t.isVertical,i=e.width,u=e.height;return{style:r.axis,x1:o?n.x:a.left+n.x,x2:o?n.x:i-a.right+n.x,y1:o?a.top+n.y:n.y,y2:o?u-a.bottom+n.y:n.y}}(e,n,A),C=function(e,t,n){var r=t.style,a=t.orientation,o=t.padding,i=t.labelPadding,u=t.isVertical,c=Mf[a],f=o.left+o.right,l=o.top+o.bottom,s=c<0?"end":"start",d=r.axisLabel,p=u?-90:0;return{x:u?n.x+c*i:(e.width-f)/2+o.left+n.x,y:u?(e.height-l)/2+o.top+n.y:c*i+n.y,verticalAnchor:d.verticalAnchor||s,textAnchor:d.textAnchor||"middle",angle:void 0===d.angle?p:d.angle,style:d,text:e.label}}(e,n,A),P={parent:u()({style:a.parent,ticks:f,standalone:m,theme:x,width:g,height:b,padding:O,domain:d,name:h},j)},_={dimension:v,range:kf({},v,de(e,v)),scale:e.scale&&e.scale[v]?kf({},v,e.scale[v]):void 0};return f.reduce((function(e,t,n){var d=p?p[n]:t,h=l(t,n,f),v=function(e,t){return{tickStyle:fe(e.ticks,t),labelStyle:fe(e.tickLabels,t),gridStyle:fe(e.grid,t)}}(a,u()({},j,{tick:d,tickValue:t,index:n,text:h})),y={position:_f(v,o,i),transform:Df(c[r](t),A,i)},g={edge:T,transform:{x:i?-E.x+A.x:c[r](t)+A.x,y:i?c[r](t)+A.y:E.y+A.y}};return e[n]={axis:u()({dimension:r},j,S),axisLabel:u()({},j,C),ticks:u()({},j,Tf(y,v.tickStyle,t)),tickLabels:u()({},j,jf(y,v.labelStyle,s,t,h)),grid:u()({},j,_,Sf(g,v.gridStyle,t))},e}),P)}(e,Hf)}}),Object.defineProperty(qf,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["axisComponent","axisLabelComponent","groupComponent","containerComponent","tickComponent","tickLabelComponent","gridComponent"]});const Vf=(Bf={components:[{name:"axis",index:0},{name:"axisLabel",index:0},{name:"grid"},{name:"parent",index:"parent"},{name:"ticks"},{name:"tickLabels"}]},function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?xf(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));var r=hc.bind(xf(n)),a=pc.bind(xf(n));n.state={},n.getEvents=function(e,t,n){return a(e,t,n,r)},n.getEventState=vc.bind(xf(n));var o=n.getCalculatedValues(e);return n.cacheValues(o),n.externalMutations=n.getExternalMutations(e),n.calculatedState=n.getStateChanges(e),n.globalEvents={},n.prevGlobalEventKeys=[],n.boundGlobalEvents={},n}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,r=[{key:"shouldComponentUpdate",value:function(e){var t=this.getExternalMutations(e),n=this.props.animating||this.props.animate,r=!mc()(t,this.externalMutations);if(n||r)return this.cacheValues(this.getCalculatedValues(e)),this.externalMutations=t,this.applyExternalMutations(e,t),!0;var a=this.getStateChanges(e);return mc()(this.calculatedState,a)?!mc()(this.props,e)&&(this.cacheValues(this.getCalculatedValues(e)),!0):(this.cacheValues(this.getCalculatedValues(e)),!0)}},{key:"componentDidMount",value:function(){var e=this,t=ne()(this.globalEvents);t.forEach((function(t){return e.addGlobalListener(t)})),this.prevGlobalEventKeys=t}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.getStateChanges(e);this.calculatedState=n;var r=ne()(this.globalEvents);oc()(this.prevGlobalEventKeys,r).forEach((function(e){return t.removeGlobalListener(e)})),oc()(r,this.prevGlobalEventKeys).forEach((function(e){return t.addGlobalListener(e)})),this.prevGlobalEventKeys=r}},{key:"componentWillUnmount",value:function(){var e=this;this.prevGlobalEventKeys.forEach((function(t){return e.removeGlobalListener(t)}))}},{key:"addGlobalListener",value:function(e){var t=this,n=function(n){var r=t.globalEvents[e];return r&&r(function(e){return u()(e,{nativeEvent:e})}(n))};this.boundGlobalEvents[e]=n,window.addEventListener(gc(e),n)}},{key:"removeGlobalListener",value:function(e){window.removeEventListener(gc(e),this.boundGlobalEvents[e])}},{key:"getStateChanges",value:function(e){var t=this;if(!this.hasEvents)return{};var n=function(e,n){var r=D()({},t.getEventState(e,n),t.getSharedEventState(e,n));return o()(r)?void 0:r};return((Bf=Bf||{}).components||Of).map((function(r){return e.standalone||"parent"!==r.name?void 0!==r.index?n(r.index,r.name):t.dataKeys.map((function(e){return n(e,r.name)})).filter(Boolean):void 0})).filter(Boolean)}},{key:"applyExternalMutations",value:function(e,t){if(!o()(t)){var n=e.externalEventMutations.reduce((function(e,t){return S()(t.callback)?e.concat(t.callback):e}),[]),r=n.length?function(){n.forEach((function(e){return e()}))}:void 0;this.setState(t,r)}}},{key:"getCalculatedValues",value:function(e){var t=e.sharedEvents,n=function(e,t){var n=Array.isArray(t)&&t.reduce((function(t,n){var r,a=e[n],o=a&&a.type&&a.type.defaultEvents,i=S()(o)?o(a.props):o;return Array.isArray(i)?(r=t).concat.apply(r,sc(i)):t}),[]);return n&&n.length?n:void 0}(e,Yf.expectedComponents),r=t&&S()(t.getEventState)?t.getEventState:function(){},a=this.getBaseProps(e,r);return{componentEvents:n,getSharedEventState:r,baseProps:a,dataKeys:ne()(a).filter((function(e){return"parent"!==e})),hasEvents:e.events||e.sharedEvents||n,events:this.getAllEvents(e)}}},{key:"getExternalMutations",value:function(e){var t=e.sharedEvents,n=e.externalEventMutations;return o()(n)||t?void 0:function(e,t,n,r){return t=t||{},n=n||{},ne()(t).reduce((function(a,i){var c=n[i]||{},f=t[i]||{};if("parent"===i){var l=yc(e,f,c,{eventKey:i,target:"parent"});a[i]=void 0!==l?u()({},c,l):c}else{var s=k()(ne()(f).concat(ne()(c)));a[i]=s.reduce((function(t,n){var a={eventKey:i,target:n,childName:r},l=yc(e,f[n],c[n],a);return t[n]=void 0!==l?u()({},c[n],l):c[n],fc()(t,(function(e){return!o()(e)}))}),{})}return fc()(a,(function(e){return!o()(e)}))}),{})}(n,this.baseProps,this.state)}},{key:"cacheValues",value:function(e){var t=this;ne()(e).forEach((function(n){t[n]=e[n]}))}},{key:"getBaseProps",value:function(e,t){var n=(t=t||this.getSharedEventState)("parent","parent"),r=this.getEventState("parent","parent"),a=D()({},r,n),o=a.parentControlledProps,i=o?ae()(a,o):{},u=D()({},i,e);return S()(Yf.getBaseProps)?Yf.getBaseProps(u):{}}},{key:"getAllEvents",value:function(e){var t;return Array.isArray(this.componentEvents)?Array.isArray(e.events)?(t=this.componentEvents).concat.apply(t,bf(e.events)):this.componentEvents:e.events}},{key:"getComponentProps",value:function(e,t,n){var r=this.props.name||Yf.role,a=this.dataKeys&&this.dataKeys[n]||n,o="".concat(r,"-").concat(t,"-").concat(a),i=this.baseProps[a]&&this.baseProps[a][t]||this.baseProps[a];if(i||this.hasEvents){if(this.hasEvents){var c=this.getEvents(this.props,t,a),f=D()({index:n,key:o},this.getEventState(a,t),this.getSharedEventState(a,t),e.props,i,{id:o}),l=D()({},function(e,t,n){return e?ne()(e).reduce((function(r,a){return r[a]=function(r){return e[a](r,n,t,a)},r}),{}):{}}(c,a,f),f.events);return u()({},f,{events:l})}return D()({index:n,key:o},e.props,i,{id:o})}}},{key:"renderContainer",value:function(e,t){var n,r=e.type&&"container"===e.type.role?this.getComponentProps(e,"parent","parent"):{};return r.events&&(this.globalEvents=(n=r.events,fc()(n,(function(e,t){return dc.test(t)}))),r.events=function(e){return G()(e,(function(e,t){return dc.test(t)}))}(r.events)),s().cloneElement(e,r,t)}},{key:"animateComponent",value:function(e,t){var n=e.animate&&e.animate.animationWhitelist?e.animate.animationWhitelist:t;return s().createElement(gf,{animate:e.animate,animationWhitelist:n},s().createElement(this.constructor,e))}},{key:"renderContinuousData",value:function(e){var t=this,n=e.dataComponent,r=e.labelComponent,a=e.groupComponent,o=p()(this.dataKeys,"all").reduce((function(e,n){var a=t.getComponentProps(r,"labels",n);return a&&void 0!==a.text&&null!==a.text&&(e=e.concat(s().cloneElement(r,a))),e}),[]),i=this.getComponentProps(n,"data","all"),u=[s().cloneElement(n,i)].concat(bf(o));return this.renderContainer(a,u)}},{key:"renderData",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:wf,r=e.dataComponent,a=e.labelComponent,o=e.groupComponent,i=this.dataKeys.reduce((function(e,a,o){var i=t.getComponentProps(r,"data",o);return n(i.datum)&&e.push(s().cloneElement(r,i)),e}),[]),u=this.dataKeys.map((function(e,n){var r=t.getComponentProps(a,"labels",n);if(void 0!==r.text&&null!==r.text)return s().cloneElement(a,r)})).filter(Boolean),c=bf(i).concat(bf(u));return this.renderContainer(o,c)}}],r&&mf(n.prototype,r),t}(Yf=qf));var Yf,Bf})(),a})()}));
  //# sourceMappingURL=victory-axis.min.js.map