victory-box-plot 36.9.2-next.3 → 37.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- !function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react")):"function"==typeof define&&define.amd?define(["react"],n):"object"==typeof exports?exports.VictoryBoxPlot=n(require("react")):t.VictoryBoxPlot=n(t.React)}(self,(t=>(()=>{var n={503:(t,n,e)=>{var r=e(1171),o=e(7838),i=e(4859),a=e(4073),u=e(8541);function c(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},3273:(t,n,e)=>{var r=e(163);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},8708:(t,n,e)=>{var r=e(1171),o=e(7838),i=e(4859),a=e(4073),u=e(8541);function c(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},2596:(t,n,e)=>{var r=e(2373).Symbol;t.exports=r},6082:t=>{t.exports=function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}},6649:t=>{t.exports=function(t,n,e,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var a=t[o];n(r,a,e(a),t)}return r}},5510:(t,n,e)=>{var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9955:t=>{t.exports=function(t,n,e){for(var r=-1,o=null==t?0:t.length;++r<o;)if(e(n,t[r]))return!0;return!1}},8644:t=>{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,o=Array(r);++e<r;)o[e]=n(t[e],e,t);return o}},9559:t=>{t.exports=function(t,n){for(var e=-1,r=n.length,o=t.length;++e<r;)t[o+e]=n[e];return t}},1634:t=>{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}},4132:(t,n,e)=>{var r=e(8347),o=e(788),i=Object.prototype.hasOwnProperty;t.exports=function(t,n,e){var a=t[n];i.call(t,n)&&o(a,e)&&(void 0!==e||n in t)||r(t,n,e)}},3162:(t,n,e)=>{var r=e(788);t.exports=function(t,n){for(var e=t.length;e--;)if(r(t[e][0],n))return e;return-1}},4508:t=>{t.exports=function(t,n,e,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var a=t[o];n(r,a,e(a),t)}return r}},8347:(t,n,e)=>{var r=e(5525);t.exports=function(t,n,e){"__proto__"==n&&r?r(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}},1377:(t,n,e)=>{var r=e(3273),o=e(5510),i=e(9955),a=e(8644),u=e(9110),c=e(9914);t.exports=function(t,n,e,l){var s=-1,f=o,p=!0,d=t.length,h=[],y=n.length;if(!d)return h;e&&(n=a(n,u(e))),l?(f=i,p=!1):n.length>=200&&(f=c,p=!1,n=new r(n));t:for(;++s<d;){var g=t[s],v=null==e?g:e(g);if(g=l||0!==g?g:0,p&&v==v){for(var m=y;m--;)if(n[m]===v)continue t;h.push(g)}else f(n,v,l)||h.push(g)}return h}},6457:(t,n,e)=>{var r=e(9559),o=e(3608);t.exports=function t(n,e,i,a,u){var c=-1,l=n.length;for(i||(i=o),u||(u=[]);++c<l;){var s=n[c];e>0&&i(s)?e>1?t(s,e-1,i,a,u):r(u,s):a||(u[u.length]=s)}return u}},4432:(t,n,e)=>{var r=e(9026),o=e(3110);t.exports=function(t,n){for(var e=0,i=(n=r(n,t)).length;null!=t&&e<i;)t=t[o(n[e++])];return e&&e==i?t:void 0}},563:t=>{var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},6776:t=>{t.exports=function(t,n){return null!=t&&n in Object(t)}},6123:t=>{t.exports=function(t,n,e){for(var r=e-1,o=t.length;++r<o;)if(t[r]===n)return r;return-1}},7537:(t,n,e)=>{var r=e(563),o=e(3474);t.exports=function(t){return o(t)&&"[object Date]"==r(t)}},9070:(t,n,e)=>{var r=e(7028),o=e(3474);t.exports=function t(n,e,i,a,u){return n===e||(null==n||null==e||!o(n)&&!o(e)?n!=n&&e!=e:r(n,e,i,a,t,u))}},7028:(t,n,e)=>{var r=e(8708),o=e(8705),i=e(2813),a=e(6682),u=e(9667),c=e(163),l=e(4801),s=e(4289),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,y,g,v){var m=c(t),b=c(n),x=m?p:u(t),O=b?p:u(n),w=(x=x==f?d:x)==d,j=(O=O==f?d:O)==d,k=x==O;if(k&&l(t)){if(!l(n))return!1;m=!0,w=!1}if(k&&!w)return v||(v=new r),m||s(t)?o(t,n,e,y,g,v):i(t,n,x,e,y,g,v);if(!(1&e)){var M=w&&h.call(t,"__wrapped__"),E=j&&h.call(n,"__wrapped__");if(M||E){var A=M?t.value():t,S=E?n.value():n;return v||(v=new r),g(A,S,e,y,v)}}return!!k&&(v||(v=new r),a(t,n,e,y,g,v))}},9548:(t,n,e)=>{var r=e(8708),o=e(9070);t.exports=function(t,n,e,i){var a=e.length,u=a,c=!i;if(null==t)return!u;for(t=Object(t);a--;){var l=e[a];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<u;){var s=(l=e[a])[0],f=t[s],p=l[1];if(c&&l[2]){if(void 0===f&&!(s in t))return!1}else{var d=new r;if(i)var h=i(f,p,s,t,n,d);if(!(void 0===h?o(p,f,3,i,d):h))return!1}}return!0}},3472:(t,n,e)=>{var r=e(758),o=e(5223),i=e(5346),a=e(163),u=e(8532);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):r(t):u(t)}},7190:(t,n,e)=>{var r=e(5125)(Object.keys,Object);t.exports=r},383:t=>{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,o=Array(r);++e<r;)o[e]=n(t[e],e,t);return o}},758:(t,n,e)=>{var r=e(9548),o=e(597),i=e(6878);t.exports=function(t){var n=o(t);return 1==n.length&&n[0][2]?i(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},5223:(t,n,e)=>{var r=e(9070),o=e(9201),i=e(5066),a=e(726),u=e(5385),c=e(6878),l=e(3110);t.exports=function(t,n){return a(t)&&u(n)?c(l(t),n):function(e){var a=o(e,t);return void 0===a&&a===n?i(e,t):r(n,a,3)}}},8245:(t,n,e)=>{var r=e(8644),o=e(4432),i=e(3472),a=e(383),u=e(9521),c=e(9110),l=e(9409),s=e(5346),f=e(163);t.exports=function(t,n,e){n=n.length?r(n,(function(t){return f(t)?function(n){return o(n,1===t.length?t[0]:t)}:t})):[s];var p=-1;n=r(n,c(i));var d=a(t,(function(t,e,o){return{criteria:r(n,(function(n){return n(t)})),index:++p,value:t}}));return u(d,(function(t,n){return l(t,n,e)}))}},5436:(t,n,e)=>{var r=e(6371),o=e(5066);t.exports=function(t,n){return r(t,n,(function(n,e){return o(t,e)}))}},6371:(t,n,e)=>{var r=e(4432),o=e(6539),i=e(9026);t.exports=function(t,n,e){for(var a=-1,u=n.length,c={};++a<u;){var l=n[a],s=r(t,l);e(s,l)&&o(c,i(l,t),s)}return c}},1600:t=>{t.exports=function(t){return function(n){return null==n?void 0:n[t]}}},3301:(t,n,e)=>{var r=e(4432);t.exports=function(t){return function(n){return r(n,t)}}},6317:(t,n,e)=>{var r=e(5346),o=e(4280),i=e(201);t.exports=function(t,n){return i(o(t,n,r),t+"")}},6539:(t,n,e)=>{var r=e(4132),o=e(9026),i=e(9099),a=e(7709),u=e(3110);t.exports=function(t,n,e,c){if(!a(t))return t;for(var l=-1,s=(n=o(n,t)).length,f=s-1,p=t;null!=p&&++l<s;){var d=u(n[l]),h=e;if("__proto__"===d||"constructor"===d||"prototype"===d)return t;if(l!=f){var y=p[d];void 0===(h=c?c(y,d,p):void 0)&&(h=a(y)?y:i(n[l+1])?[]:{})}r(p,d,h),p=p[d]}return t}},9521:t=>{t.exports=function(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}},7556:(t,n,e)=>{var r=e(788);t.exports=function(t,n){for(var e=-1,o=t.length,i=0,a=[];++e<o;){var u=t[e],c=n?n(u):u;if(!e||!r(c,l)){var l=c;a[i++]=0===u?0:u}}return a}},6316:(t,n,e)=>{var r=e(2596),o=e(8644),i=e(163),a=e(1995),u=r?r.prototype:void 0,c=u?u.toString:void 0;t.exports=function t(n){if("string"==typeof n)return n;if(i(n))return o(n,t)+"";if(a(n))return c?c.call(n):"";var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},9110:t=>{t.exports=function(t){return function(n){return t(n)}}},946:(t,n,e)=>{var r=e(3273),o=e(5510),i=e(9955),a=e(9914),u=e(6602),c=e(6226);t.exports=function(t,n,e){var l=-1,s=o,f=t.length,p=!0,d=[],h=d;if(e)p=!1,s=i;else if(f>=200){var y=n?null:u(t);if(y)return c(y);p=!1,s=a,h=new r}else h=n?[]:d;t:for(;++l<f;){var g=t[l],v=n?n(g):g;if(g=e||0!==g?g:0,p&&v==v){for(var m=h.length;m--;)if(h[m]===v)continue t;n&&h.push(v),d.push(g)}else s(h,v,e)||(h!==d&&h.push(v),d.push(g))}return d}},9914:(t,n,e)=>{var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9026:(t,n,e)=>{var r=e(163),o=e(726),i=e(7801),a=e(7010);t.exports=function(t,n){return r(t)?t:o(t,n)?[t]:i(a(t))}},522:(t,n,e)=>{var r=e(1995);t.exports=function(t,n){if(t!==n){var e=void 0!==t,o=null===t,i=t==t,a=r(t),u=void 0!==n,c=null===n,l=n==n,s=r(n);if(!c&&!s&&!a&&t>n||a&&u&&l&&!c&&!s||o&&u&&l||!e&&l||!i)return 1;if(!o&&!a&&!s&&t<n||s&&e&&i&&!o&&!a||c&&e&&i||!u&&i||!l)return-1}return 0}},9409:(t,n,e)=>{var r=e(522);t.exports=function(t,n,e){for(var o=-1,i=t.criteria,a=n.criteria,u=i.length,c=e.length;++o<u;){var l=r(i[o],a[o]);if(l)return o>=c?l:l*("desc"==e[o]?-1:1)}return t.index-n.index}},5659:(t,n,e)=>{var r=e(6649),o=e(4508),i=e(3472),a=e(163);t.exports=function(t,n){return function(e,u){var c=a(e)?r:o,l=n?n():{};return c(e,t,i(u,2),l)}}},6602:t=>{t.exports=function(){}},5525:(t,n,e)=>{var r=e(3743),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},8705:(t,n,e)=>{var r=e(3273),o=e(1634),i=e(9914);t.exports=function(t,n,e,a,u,c){var l=1&e,s=t.length,f=n.length;if(s!=f&&!(l&&f>s))return!1;var p=c.get(t),d=c.get(n);if(p&&d)return p==n&&d==t;var h=-1,y=!0,g=2&e?new r:void 0;for(c.set(t,n),c.set(n,t);++h<s;){var v=t[h],m=n[h];if(a)var b=l?a(m,v,h,n,t,c):a(v,m,h,t,n,c);if(void 0!==b){if(b)continue;y=!1;break}if(g){if(!o(n,(function(t,n){if(!i(g,n)&&(v===t||u(v,t,e,a,c)))return g.push(n)}))){y=!1;break}}else if(v!==m&&!u(v,m,e,a,c)){y=!1;break}}return c.delete(t),c.delete(n),y}},2813:t=>{t.exports=function(t,n){return t===n||t!=t&&n!=n}},6682:(t,n,e)=>{var r=e(8143),o=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,i,a,u){var c=1&e,l=r(t),s=l.length;if(s!=r(n).length&&!c)return!1;for(var f=s;f--;){var p=l[f];if(!(c?p in n:o.call(n,p)))return!1}var d=u.get(t),h=u.get(n);if(d&&h)return d==n&&h==t;var y=!0;u.set(t,n),u.set(n,t);for(var g=c;++f<s;){var v=t[p=l[f]],m=n[p];if(i)var b=c?i(m,v,p,n,t,u):i(v,m,p,t,n,u);if(!(void 0===b?v===m||a(v,m,e,i,u):b)){y=!1;break}g||(g="constructor"==p)}if(y&&!g){var x=t.constructor,O=n.constructor;x==O||!("constructor"in t)||!("constructor"in n)||"function"==typeof x&&x instanceof x&&"function"==typeof O&&O instanceof O||(y=!1)}return u.delete(t),u.delete(n),y}},5557:(t,n,e)=>{var r=e(2645),o=e(4280),i=e(201);t.exports=function(t){return i(o(t,void 0,r),t+"")}},2117:(t,n,e)=>{var r="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g;t.exports=r},8143:(t,n,e)=>{var r=e(5125)(Object.keys,Object);t.exports=r},7271:t=>{t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},597:(t,n,e)=>{var r=e(5385),o=e(7747);t.exports=function(t){for(var n=o(t),e=n.length;e--;){var i=n[e],a=t[i];n[e]=[i,a,r(a)]}return n}},3743:t=>{t.exports=function(t,n){return null==t?void 0:t[n]}},9817:(t,n,e)=>{var r=e(5125)(Object.getPrototypeOf,Object);t.exports=r},9667:t=>{var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},3096:(t,n,e)=>{var r=e(9026),o=e(5075),i=e(163),a=e(9099),u=e(8454),c=e(3110);t.exports=function(t,n,e){for(var l=-1,s=(n=r(n,t)).length,f=!1;++l<s;){var p=c(n[l]);if(!(f=null!=t&&e(t,p)))break;t=t[p]}return f||++l!=s?f:!!(s=null==t?0:t.length)&&u(s)&&a(p,s)&&(i(t)||o(t))}},3608:(t,n,e)=>{var r=e(2596),o=e(5075),i=e(163),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},9099:t=>{var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},8286:t=>{t.exports=function(){return!1}},726:(t,n,e)=>{var r=e(163),o=e(1995),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,n){if(r(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!o(t))||a.test(t)||!i.test(t)||null!=n&&t in Object(n)}},5782:t=>{t.exports=function(){return!1}},5385:(t,n,e)=>{var r=e(7709);t.exports=function(t){return t==t&&!r(t)}},1171:t=>{t.exports=function(){this.__data__=[],this.size=0}},7838:(t,n,e)=>{var r=e(3162),o=Array.prototype.splice;t.exports=function(t){var n=this.__data__,e=r(n,t);return!(e<0||(e==n.length-1?n.pop():o.call(n,e,1),--this.size,0))}},4859:(t,n,e)=>{var r=e(3162);t.exports=function(t){var n=this.__data__,e=r(n,t);return e<0?void 0:n[e][1]}},4073:(t,n,e)=>{var r=e(3162);t.exports=function(t){return r(this.__data__,t)>-1}},8541:(t,n,e)=>{var r=e(3162);t.exports=function(t,n){var e=this.__data__,o=r(e,t);return o<0?(++this.size,e.push([t,n])):e[o][1]=n,this}},6878:t=>{t.exports=function(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}},2453:t=>{t.exports=function(t){return t}},2348:(t,n,e)=>{t=e.nmd(t);var r=e(2117),o=n&&!n.nodeType&&n,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,u=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u},5125:t=>{t.exports=function(t,n){return function(e){return t(n(e))}}},4280:(t,n,e)=>{var r=e(6082),o=Math.max;t.exports=function(t,n,e){return n=o(void 0===n?t.length-1:n,0),function(){for(var i=arguments,a=-1,u=o(i.length-n,0),c=Array(u);++a<u;)c[a]=i[n+a];a=-1;for(var l=Array(n+1);++a<n;)l[a]=i[a];return l[n]=e(c),r(t,this,l)}}},2373:(t,n,e)=>{var r=e(2117),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},6226:t=>{t.exports=function(){return[]}},201:t=>{t.exports=function(t){return t}},7801:(t,n,e)=>{var r=e(2453),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(o,(function(t,e,r,o){n.push(r?o.replace(i,"$1"):e||t)})),n}));t.exports=a},3110:(t,n,e)=>{var r=e(1995);t.exports=function(t){if("string"==typeof t||r(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},1893:(t,n,e)=>{var r=e(6317),o=e(788),i=e(8286),a=e(8855),u=Object.prototype,c=u.hasOwnProperty,l=r((function(t,n){t=Object(t);var e=-1,r=n.length,l=r>2?n[2]:void 0;for(l&&i(n[0],n[1],l)&&(r=1);++e<r;)for(var s=n[e],f=a(s),p=-1,d=f.length;++p<d;){var h=f[p],y=t[h];(void 0===y||o(y,u[h])&&!c.call(t,h))&&(t[h]=s[h])}return t}));t.exports=l},6354:(t,n,e)=>{var r=e(1377),o=e(6457),i=e(6317),a=e(7605),u=i((function(t,n){return a(t)?r(t,o(n,1,a,!0)):[]}));t.exports=u},788:t=>{t.exports=function(t,n){return t===n||t!=t&&n!=n}},2645:(t,n,e)=>{var r=e(6457);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9201:(t,n,e)=>{var r=e(4432);t.exports=function(t,n,e){var o=null==t?void 0:r(t,n);return void 0===o?e:o}},9056:(t,n,e)=>{var r=e(8347),o=e(5659),i=Object.prototype.hasOwnProperty,a=o((function(t,n,e){i.call(t,e)?t[e].push(n):r(t,e,[n])}));t.exports=a},5066:(t,n,e)=>{var r=e(6776),o=e(3096);t.exports=function(t,n){return null!=t&&o(t,n,r)}},5346:t=>{t.exports=function(t){return t}},5075:t=>{t.exports=function(){return!1}},163:t=>{var n=Array.isArray;t.exports=n},981:(t,n,e)=>{var r=e(9642),o=e(8454);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},7605:(t,n,e)=>{var r=e(981),o=e(3474);t.exports=function(t){return o(t)&&r(t)}},4801:t=>{t.exports=function(){return!1}},4295:(t,n,e)=>{var r=e(7537),o=e(9110),i=e(2348),a=i&&i.isDate,u=a?o(a):r;t.exports=u},4155:(t,n,e)=>{var r=e(7190),o=e(9667),i=e(5075),a=e(163),u=e(981),c=e(4801),l=e(5782),s=e(4289),f=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(u(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||c(t)||s(t)||i(t)))return!t.length;var n=o(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(l(t))return!r(t).length;for(var e in t)if(f.call(t,e))return!1;return!0}},8254:(t,n,e)=>{var r=e(9070);t.exports=function(t,n){return r(t,n)}},9642:(t,n,e)=>{var r=e(563),o=e(7709);t.exports=function(t){if(!o(t))return!1;var n=r(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},8454:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7709:t=>{t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},3474:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},3849:(t,n,e)=>{var r=e(563),o=e(9817),i=e(3474),a=Function.prototype,u=Object.prototype,c=a.toString,l=u.hasOwnProperty,s=c.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var n=o(t);if(null===n)return!0;var e=l.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&c.call(e)==s}},1995:t=>{t.exports=function(){return!1}},4289:t=>{t.exports=function(){return!1}},8999:t=>{t.exports=function(t){return void 0===t}},7747:(t,n,e)=>{var r=e(5125)(Object.keys,Object);t.exports=r},8855:t=>{t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},1594:(t,n,e)=>{var r=e(503);function o(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,o=n?n.apply(this,r):r[0],i=e.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return e.cache=i.set(o,a)||i,a};return e.cache=new(o.Cache||r),e}o.Cache=r,t.exports=o},6051:t=>{t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}},1616:(t,n,e)=>{var r=e(3472),o=e(6051),i=e(4912);t.exports=function(t,n){return i(t,o(r(n)))}},4143:(t,n,e)=>{var r=e(8245),o=e(163);t.exports=function(t,n,e,i){return null==t?[]:(o(n)||(n=null==n?[]:[n]),o(e=i?void 0:e)||(e=null==e?[]:[e]),r(t,n,e))}},9082:(t,n,e)=>{var r=e(5436),o=e(5557)((function(t,n){return null==t?{}:r(t,n)}));t.exports=o},4912:(t,n,e)=>{var r=e(8644),o=e(3472),i=e(6371),a=e(7271);t.exports=function(t,n){if(null==t)return{};var e=r(a(t),(function(t){return[t]}));return n=o(n),i(t,e,(function(t,e){return n(t,e[0])}))}},8532:(t,n,e)=>{var r=e(1600),o=e(3301),i=e(726),a=e(3110);t.exports=function(t){return i(t)?r(a(t)):o(t)}},2829:(t,n,e)=>{var r=e(7556);t.exports=function(t){return t&&t.length?r(t):[]}},7010:(t,n,e)=>{var r=e(6316);t.exports=function(t){return null==t?"":r(t)}},9602:(t,n,e)=>{var r=e(946);t.exports=function(t){return t&&t.length?r(t):[]}},660:(t,n,e)=>{var r=e(7010),o=0;t.exports=function(t){var n=++o;return r(t)+n}},7491:t=>{var n="undefined"!=typeof Element,e="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var u,c,l,s;if(Array.isArray(t)){if((u=t.length)!=a.length)return!1;for(c=u;0!=c--;)if(!i(t[c],a[c]))return!1;return!0}if(e&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(s=t.entries();!(c=s.next()).done;)if(!a.has(c.value[0]))return!1;for(s=t.entries();!(c=s.next()).done;)if(!i(c.value[1],a.get(c.value[0])))return!1;return!0}if(r&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(s=t.entries();!(c=s.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((u=t.length)!=a.length)return!1;for(c=u;0!=c--;)if(t[c]!==a[c])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((u=(l=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(c=u;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,l[c]))return!1;if(n&&t instanceof Element)return!1;for(c=u;0!=c--;)if(("_owner"!==l[c]&&"__v"!==l[c]&&"__o"!==l[c]||!t.$$typeof)&&!i(t[l[c]],a[l[c]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,n){try{return i(t,n)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},9787:n=>{"use strict";n.exports=t}},e={};function r(t){var o=e[t];if(void 0!==o)return o.exports;var i=e[t]={id:t,loaded:!1,exports:{}};return n[t](i,i.exports,r),i.loaded=!0,i.exports}r.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return r.d(n,{a:n}),n},r.d=(t,n)=>{for(var e in n)r.o(n,e)&&!r.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var o={};return(()=>{"use strict";r.r(o),r.d(o,{VictoryBoxPlot:()=>ys});var t={};r.r(t),r.d(t,{easeBack:()=>ar,easeBackIn:()=>or,easeBackInOut:()=>ar,easeBackOut:()=>ir,easeBounce:()=>nr,easeBounceIn:()=>tr,easeBounceInOut:()=>er,easeBounceOut:()=>nr,easeCircle:()=>Xe,easeCircleIn:()=>Ze,easeCircleInOut:()=>Xe,easeCircleOut:()=>Qe,easeCubic:()=>Re,easeCubicIn:()=>Ne,easeCubicInOut:()=>Re,easeCubicOut:()=>Le,easeElastic:()=>lr,easeElasticIn:()=>cr,easeElasticInOut:()=>sr,easeElasticOut:()=>lr,easeExp:()=>Ge,easeExpIn:()=>Ke,easeExpInOut:()=>Ge,easeExpOut:()=>Ve,easeLinear:()=>_e,easePoly:()=>We,easePolyIn:()=>Ue,easePolyInOut:()=>We,easePolyOut:()=>qe,easeQuad:()=>Ie,easeQuadIn:()=>De,easeQuadInOut:()=>Ie,easeQuadOut:()=>Te,easeSin:()=>Be,easeSinIn:()=>He,easeSinInOut:()=>Be,easeSinOut:()=>$e});var n={};r.r(n),r.d(n,{scaleBand:()=>ui,scaleDiverging:()=>hl,scaleDivergingLog:()=>yl,scaleDivergingPow:()=>vl,scaleDivergingSqrt:()=>ml,scaleDivergingSymlog:()=>gl,scaleIdentity:()=>Qi,scaleImplicit:()=>ii,scaleLinear:()=>Zi,scaleLog:()=>aa,scaleOrdinal:()=>ai,scalePoint:()=>li,scalePow:()=>ya,scaleQuantile:()=>Aa,scaleQuantize:()=>Sa,scaleRadial:()=>ba,scaleSequential:()=>al,scaleSequentialLog:()=>ul,scaleSequentialPow:()=>ll,scaleSequentialQuantile:()=>fl,scaleSequentialSqrt:()=>sl,scaleSequentialSymlog:()=>cl,scaleSqrt:()=>ga,scaleSymlog:()=>sa,scaleThreshold:()=>Pa,scaleTime:()=>el,scaleUtc:()=>rl,tickFormat:()=>Vi});var e=r(9787),i=r.n(e),a=r(9082),u=r.n(a),c=r(8532),l=r.n(c),s=r(1893),f=r.n(s);function p(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],e={};for(var r in t)n.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function d(t){var n=function(t){return void 0!==t},e=t._x,r=t._x1,o=t._x0,i=t._voronoiX,a=t._y,u=t._y1,c=t._y0,l=t._voronoiY,s=n(r)?r:e,p=n(u)?u:a,d={x:n(i)?i:s,x0:n(o)?o:e,y:n(l)?l:p,y0:n(c)?c:a};return f()({},d,t)}function h(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"padding",e=t[n],r="number"==typeof e?e:0,o="object"==typeof e?e:{};return{top:o.top||r,bottom:o.bottom||r,left:o.left||r,right:o.right||r}}function y(t){return"tooltip"===(t&&t.type&&t.type.role)}function g(t,n){return w(t)?t(n):t}function v(t,n){return n.disableInlineStyles?{}:t&&Object.keys(t).some((function(n){return w(t[n])}))?Object.keys(t).reduce((function(e,r){return e[r]=g(t[r],n),e}),{}):t}function m(t){return"number"==typeof t?t*(Math.PI/180):t}function b(t){var n=h(t),e=n.left,r=n.right,o=n.top,i=n.bottom,a=t.width,u=t.height;return Math.min(a-e-r,u-o-i)/2}function x(t,n){return t.range&&t.range[n]?t.range[n]:t.range&&Array.isArray(t.range)?t.range:t.polar?function(t,n){return"x"===n?[m(t.startAngle||0),m(t.endAngle||360)]:[t.innerRadius||0,b(t)]}(t,n):function(t,n){var e="x"!==n,r=h(t);return e?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,n)}function O(t){return null==t}function w(t){return"function"==typeof t}function j(t){return w(t)?t:null==t?function(t){return t}:l()(t)}function k(t,n,e){var r=p(t.theme&&t.theme[e]?t.theme[e]:{},["style"]),o=function(t){if(void 0!==t.horizontal||!t.children)return t.horizontal;var n=function(t){return t.reduce((function(t,e){var r=e.props||{};return t||r.horizontal||!r.children?t||r.horizontal:n(i().Children.toArray(r.children))}),!1)};return n(i().Children.toArray(t.children))}(t),a=void 0===o?{}:{horizontal:o};return f()(a,t,r,n)}function M(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,o,i=[],a=!0,u=!1;try{for(e=e.call(t);!(a=(r=e.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==e.return||e.return()}finally{if(u)throw o}}return i}}(t,n)||function(t,n){if(t){if("string"==typeof t)return E(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?E(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function A(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function S(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var P={startsWith:["data-","aria-"],exactMatch:[]},C=function(t){var n=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?A(Object(e),!0).forEach((function(n){S(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):A(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({},t);return Object.fromEntries(Object.entries(n).filter((function(t){return function(t){return!(!function(t){var n=!1;return P.startsWith.forEach((function(e){new RegExp("\\b(".concat(e,")(\\w|-)+"),"g").test(t)&&(n=!0)})),n}(t)&&!function(t){return P.exactMatch.includes(t)}(t))}(M(t,1)[0])})).map((function(n){var e=M(n,2);return[e[0],g(e[1],t)]})))},_=r(7709),D=r.n(_),T=r(660),I=r.n(T);function N(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function L(t,n){return L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},L(t,n)}function R(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function U(t){return U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},U(t)}var q=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&L(t,n)}(u,t);var n,e,r,o,a=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=U(r);if(o){var e=U(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return R(this,t)});function u(t){var n;return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),(n=a.call(this,t)).map=void 0,n.index=void 0,n.portalRegister=function(){return++n.index},n.portalUpdate=function(t,e){n.map[t]=e,n.forceUpdate()},n.portalDeregister=function(t){delete n.map[t],n.forceUpdate()},n.map={},n.index=1,n}return n=u,(e=[{key:"getChildren",value:function(){var t=this;return Object.keys(this.map).map((function(n){var e=t.map[n];return e?i().cloneElement(e,{key:n}):e}))}},{key:"render",value:function(){return i().createElement("svg",this.props,this.getChildren())}}])&&N(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);q.displayName="Portal";var W=i().createContext({});W.displayName="PortalContext";var F,z,H=0,$=0,B=0,Y=0,K=0,V=0,G="object"==typeof performance&&performance.now?performance:Date,Z="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Q(){return K||(Z(X),K=G.now()+V)}function X(){K=0}function J(){this._call=this._time=this._next=null}function tt(t,n,e){var r=new J;return r.restart(t,n,e),r}function nt(){K=(Y=G.now())+V,H=$=0;try{!function(){Q(),++H;for(var t,n=F;n;)(t=K-n._time)>=0&&n._call.call(void 0,t),n=n._next;--H}()}finally{H=0,function(){for(var t,n,e=F,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:F=n);z=t,rt(r)}(),K=0}}function et(){var t=G.now(),n=t-Y;n>1e3&&(V-=n,Y=t)}function rt(t){H||($&&($=clearTimeout($)),t-K>24?(t<1/0&&($=setTimeout(nt,t-G.now()-V)),B&&(B=clearInterval(B))):(B||(Y=G.now(),B=setInterval(et,1e3)),H=1,Z(nt)))}function ot(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}J.prototype=tt.prototype={constructor:J,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Q():+e)+(null==n?0:+n),this._next||z===this||(z?z._next=this:F=this,z=this),this._call=t,this._time=e,rt()},stop:function(){this._call&&(this._call=null,this._time=1/0,rt())}};var it=function(){function t(){var n=this;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.shouldAnimate=void 0,this.subscribers=void 0,this.activeSubscriptions=void 0,this.timer=void 0,this.loop=function(){n.subscribers.forEach((function(t){t.callback(Q()-t.startTime,t.duration)}))},this.shouldAnimate=!0,this.subscribers=[],this.timer=null,this.activeSubscriptions=0}var n,e;return n=t,(e=[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"start",value:function(){this.timer||(this.timer=tt(this.loop))}},{key:"stop",value:function(){this.timer&&(this.timer.stop(),this.timer=null)}},{key:"subscribe",value:function(t,n){var e=this.subscribers.push({startTime:Q(),callback:t,duration:this.shouldAnimate?n:0});return this.activeSubscriptions++,this.start(),e}},{key:"unsubscribe",value:function(t){null!==t&&this.subscribers[t-1]&&(delete this.subscribers[t-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}])&&ot(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),t}(),at=i().createContext({transitionTimer:new it,animationTimer:new it});at.displayName="TimerContext";const ut=at;function ct(){return ct=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},ct.apply(this,arguments)}function lt(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function st(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?lt(Object(e),!0).forEach((function(n){ft(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):lt(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function ft(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function pt(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function dt(t,n){return dt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},dt(t,n)}function ht(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function yt(t){return yt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},yt(t)}var gt=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&dt(t,n)}(u,t);var n,e,r,o,a=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=yt(r);if(o){var e=yt(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return ht(this,t)});function u(t){var n;return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),(n=a.call(this,t)).containerId=void 0,n.portalRef=void 0,n.containerRef=void 0,n.shouldHandleWheel=void 0,n.savePortalRef=function(t){return n.portalRef=t,t},n.portalUpdate=function(t,e){return n.portalRef.portalUpdate(t,e)},n.portalRegister=function(){return n.portalRef.portalRegister()},n.portalDeregister=function(t){return n.portalRef.portalDeregister(t)},n.saveContainerRef=function(t){return w(n.props.containerRef)&&n.props.containerRef(t),n.containerRef=t,t},n.handleWheel=function(t){return t.preventDefault()},n.containerId=D()(t)&&void 0!==t.containerId?t.containerId:I()("victory-container-"),n.shouldHandleWheel=!!(t&&t.events&&t.events.onWheel),n}return n=u,(e=[{key:"componentDidMount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}},{key:"componentWillUnmount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}},{key:"getIdForElement",value:function(t){return"".concat(this.containerId,"-").concat(t)}},{key:"getChildren",value:function(t){return t.children}},{key:"getOUIAProps",value:function(t){var n=t.ouiaId,e=t.ouiaSafe,r=t.ouiaType;return st(st(st({},n&&{"data-ouia-component-id":n}),r&&{"data-ouia-component-type":r}),void 0!==e&&{"data-ouia-safe":e})}},{key:"renderContainer",value:function(t,n,e){var r=t.title,o=t.desc,a=t.portalComponent,u=t.className,c=t.width,l=t.height,s=t.portalZIndex,p=t.responsive,d=this.getChildren(t),h=p?{width:"100%",height:"100%"}:{width:c,height:l},y=Object.assign({pointerEvents:"none",touchAction:"none",position:"relative"},h),g=Object.assign({zIndex:s,position:"absolute",top:0,left:0},h),v=Object.assign({pointerEvents:"all"},h),m=Object.assign({overflow:"visible"},h),b={width:c,height:l,viewBox:n.viewBox,preserveAspectRatio:n.preserveAspectRatio,style:m};return i().createElement(W.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},i().createElement("div",ct({style:f()({},e,y),className:u,ref:this.saveContainerRef},this.getOUIAProps(t)),i().createElement("svg",ct({},n,{style:v}),r?i().createElement("title",{id:this.getIdForElement("title")},r):null,o?i().createElement("desc",{id:this.getIdForElement("desc")},o):null,d),i().createElement("div",{style:g},i().cloneElement(a,st(st({},b),{},{ref:this.savePortalRef})))))}},{key:"render",value:function(){var t=this.props,n=t.width,e=t.height,r=t.responsive,o=t.events,i=t.title,a=t.desc,u=t.tabIndex,c=t.preserveAspectRatio,l=t.role,s=r?this.props.style:p(this.props.style,["height","width"]),f=C(this.props),d=Object.assign(st({width:n,height:e,tabIndex:u,role:l,"aria-labelledby":[i&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[a&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:r?"0 0 ".concat(n," ").concat(e):void 0,preserveAspectRatio:r?c:void 0},f),o);return this.renderContainer(this.props,d,s)}}])&&pt(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);gt.displayName="VictoryContainer",gt.role="container",gt.defaultProps={className:"VictoryContainer",portalComponent:i().createElement(q,null),portalZIndex:99,responsive:!0,role:"img"},gt.contextType=ut;var vt=["desc","id","tabIndex","origin"];function mt(){return mt=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},mt.apply(this,arguments)}function bt(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function xt(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Ot=(0,e.forwardRef)((function(t,n){var e,r=t.desc,o=t.id,a=t.tabIndex,u=(t.origin,function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,vt)),c=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?bt(Object(e),!0).forEach((function(n){xt(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):bt(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({vectorEffect:"non-scaling-stroke",id:null===(e=g(o,t))||void 0===e?void 0:e.toString(),tabIndex:g(a,t)},u);return r?i().createElement("rect",mt({},c,{ref:n}),i().createElement("desc",null,r)):i().createElement("rect",mt({},c,{ref:n}))}));function wt(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function jt(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?wt(Object(e),!0).forEach((function(n){kt(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):wt(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function kt(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Mt={rectComponent:i().createElement(Ot,null),role:"presentation",shapeRendering:"auto"},Et=function(t){var n=function(t){var n=g(t.ariaLabel,t),e=g(t.desc,t),r=g(t.id,t),o=v(Object.assign({fill:"none"},t.style),t),i=g(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,desc:e,id:r,style:o,tabIndex:i})}(jt(jt({},Mt),t));return i().cloneElement(n.rectComponent,jt(jt({},n.events),{},{"aria-label":n.ariaLabel,style:n.style,desc:n.desc,tabIndex:n.tabIndex,transform:n.transform,className:n.className,role:n.role,shapeRendering:n.shapeRendering,x:n.x,y:n.y,width:n.width,height:n.height,clipPath:n.clipPath}))},At=["desc","id","tabIndex","origin"];function St(){return St=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},St.apply(this,arguments)}function Pt(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Ct(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var _t=(0,e.forwardRef)((function(t,n){var e,r=t.desc,o=t.id,a=t.tabIndex,u=(t.origin,function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,At)),c=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Pt(Object(e),!0).forEach((function(n){Ct(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Pt(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({vectorEffect:"non-scaling-stroke",id:null===(e=g(o,t))||void 0===e?void 0:e.toString(),tabIndex:g(a,t)},u);return r?i().createElement("line",St({},c,{ref:n}),i().createElement("desc",null,r)):i().createElement("line",St({},c,{ref:n}))}));function Dt(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Tt(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Dt(Object(e),!0).forEach((function(n){It(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Dt(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function It(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Nt={groupComponent:i().createElement("g",null),lineComponent:i().createElement(_t,null),role:"presentation",shapeRendering:"auto"},Lt=function(t){var n=function(t){var n=g(t.ariaLabel,t),e=g(t.desc,t),r=g(t.id,t),o=v(t.style,t),i=g(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,desc:e,id:r,style:o,tabIndex:i})}(Tt(Tt({},Nt),t)),e=n.ariaLabel,r=n.groupComponent,o=n.lineComponent,a=n.events,u=n.className,c=n.majorWhisker,l=n.minorWhisker,s=n.transform,f=n.clipPath,p=n.role,d=n.shapeRendering,h=n.style,y=n.desc,m=n.tabIndex,b=Tt(Tt({},a),{},{style:h,desc:y,tabIndex:m,className:u,transform:s,clipPath:f,role:p,shapeRendering:d});return i().cloneElement(r,{},[i().cloneElement(o,Object.assign({key:"major-whisker","aria-label":e},b,c)),i().cloneElement(o,Object.assign({key:"minor-whisker","aria-label":e},b,l))])},Rt=r(4155),Ut=r.n(Rt);function qt(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function Wt(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ft(t,n){return Ft=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},Ft(t,n)}function zt(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Ht(t){return Ht=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ht(t)}var $t=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&Ft(t,n)}(u,t);var n,e,r,o,a=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=Ht(r);if(o){var e=Ht(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return zt(this,t)});function u(){var t;qt(this,u);for(var n=arguments.length,e=new Array(n),r=0;r<n;r++)e[r]=arguments[r];return(t=a.call.apply(a,[this].concat(e))).checkedContext=void 0,t.portalKey=void 0,t.renderInPlace=void 0,t.element=void 0,t}return n=u,(e=[{key:"componentDidMount",value:function(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}},{key:"componentDidUpdate",value:function(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}},{key:"componentWillUnmount",value:function(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}},{key:"renderPortal",value:function(t){return this.renderInPlace?t:(this.element=t,null)}},{key:"render",value:function(){var t=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,n=this.props.groupComponent,e=t&&t.props||{},r=e.groupComponent?{groupComponent:n,standalone:!1}:{},o=f()(r,e,p(this.props,["children","groupComponent"])),a=t&&i().cloneElement(t,o);return this.renderPortal(a)}}])&&Wt(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),u}(i().Component);$t.displayName="VictoryPortal",$t.role="portal",$t.defaultProps={groupComponent:i().createElement("g",null)},$t.contextType=W;var Bt=["children","desc","id","origin","tabIndex","title"];function Yt(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Kt(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Vt=function(t){var n,e=t.children,r=t.desc,o=t.id,a=(t.origin,t.tabIndex),u=t.title,c=function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,Bt),l=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Yt(Object(e),!0).forEach((function(n){Kt(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Yt(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({id:null===(n=g(o,t))||void 0===n?void 0:n.toString(),tabIndex:g(a,t)},c);return i().createElement("text",l,u&&i().createElement("title",null,u),r&&i().createElement("desc",null,r),e)},Gt=["desc","id","tabIndex","origin"];function Zt(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Qt(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Xt=function(t){t.desc;var n,e=t.id,r=t.tabIndex,o=(t.origin,function(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}(t,Gt)),a=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Zt(Object(e),!0).forEach((function(n){Qt(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Zt(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({id:null===(n=g(e,t))||void 0===n?void 0:n.toString(),tabIndex:g(r,t)},o);return i().createElement("tspan",a)};var Jt=function(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];if(e.length>0)return e.reduce((function(t,n){return[t,Jt(n)].join(" ")}),Jt(t)).trim();if(null==t||"string"==typeof t)return t;var o=[];for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];o.push("".concat(i,"(").concat(a,")"))}return o.join(" ").trim()},tn=r(1594),nn=r.n(tn);function en(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,o,i=[],a=!0,u=!1;try{for(e=e.call(t);!(a=(r=e.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==e.return||e.return()}finally{if(u)throw o}}return i}}(t,n)||rn(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rn(t,n){if(t){if("string"==typeof t)return on(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?on(t,n):void 0}}function on(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var an={"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}},un={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},cn={em:1,ex:.5},ln={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},sn=function(t){return Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g)},fn=function(t,n,e){var r=function(t){return t*Math.PI/180}(e);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*n)},pn=function(t,n){var e,r=null===(e=t.match(/[a-zA-Z%]+/))||void 0===e?void 0:e[0],o=Number(t.match(/[0-9.,]+/));return r?un.hasOwnProperty(r)?o*un[r]:cn.hasOwnProperty(r)?(n?o*n:o*ln.fontSize)*cn[r]:o:o||0},dn=function(t,n){var e=Array.isArray(t)?t[n]:t,r=f()({},e,ln);return Object.assign({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:pn(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:pn(String(r.fontSize))})},hn=function(t,n){if(void 0===t||""===t||null===t)return 0;var e,r=sn(t).map((function(t,e){var r,o,i=t.toString().length,a=dn(n,e),u=a.fontSize,c=a.letterSpacing,l=(r=a.fontFamily,o=r.split(",").map((function(t){return t.replace(/'|"/g,"")})).find((function(t){return an[t]}))||"Helvetica",an[o]);return t.toString().split("").map((function(t){return t.charCodeAt(0)<l.widths.length?l.widths[t.charCodeAt(0)]:l.avg})).reduce((function(t,n){return n+t}),0)*u+c*Math.max(i-1,0)}));return Math.max.apply(Math,function(t){if(Array.isArray(t))return on(t)}(e=r)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||rn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())},yn=function(t,n){var e=Array.isArray(n)?n[0]&&n[0].angle:n&&n.angle,r=function(t,n){return void 0===t||""===t||null===t?0:sn(t).reduce((function(t,e,r){var o=dn(n,r),i=e.toString().match(/[(A-Z)(0-9)]/)?1.15*o.fontSize:o.fontSize;return t+o.lineHeight*i}),0)}(t,n),o=hn(t,n);return{width:e?fn(o,r,e):o,height:1.05*(e?fn(r,o,e):r)}},gn=nn()((function(){var t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("xlink","http://www.w3.org/1999/xlink"),t.setAttribute("width","300"),t.setAttribute("height","300"),t.setAttribute("viewBox","0 0 300 300"),t.setAttribute("aria-hidden","true");var n=document.createElementNS("http://www.w3.org/2000/svg","text");return t.appendChild(n),t.style.position="fixed",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t),n})),vn=function(t){return t?"".concat(t.angle,":").concat(t.fontFamily,":").concat(t.fontSize,":").concat(t.letterSpacing,":").concat(t.lineHeight):"null"},mn=nn()((function(t,n){var e,r,o=gn();o.isConnected||(null===(e=(r=gn.cache).clear)||void 0===e||e.call(r),o=gn());var i=sn(t),a=0;for(var u of i.entries()){var c=en(u,2),l=c[0],s=c[1],f=document.createElementNS("http://www.w3.org/2000/svg","tspan"),p=dn(n,l);f.style.fontFamily=p.fontFamily,f.style.fontSize="".concat(p.fontSize,"px"),f.style.lineHeight=p.lineHeight,f.style.fontFamily=p.fontFamily,f.style.letterSpacing=p.letterSpacing,f.textContent=s,f.setAttribute("x","0"),f.setAttribute("y","".concat(a)),o.appendChild(f),a+=p.lineHeight*f.getBoundingClientRect().height}var d=o.getBoundingClientRect().width;return o.innerHTML="",{width:null!=n&&n.angle?fn(d,a,null==n?void 0:n.angle):d,height:null!=n&&n.angle?fn(a,d,null==n?void 0:n.angle):a}}),(function(t,n){var e=Array.isArray(t)?t.join():t,r=Array.isArray(n)?n.map(vn).join():vn(n);return"".concat(e,"::").concat(r)})),bn=function(t,n){return function(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||e?yn(t,n):mn(t,n)}(t,n)};function xn(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function On(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?xn(Object(e),!0).forEach((function(n){wn(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):xn(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function wn(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function jn(t){return function(t){if(Array.isArray(t))return kn(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return kn(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?kn(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kn(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var Mn={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Ser­avek', 'Trebuchet MS', sans-serif",stroke:"transparent"},En=function(t,n){if(!t.datum)return 0;var e=function(t,n){var e=t.scale,r=t.polar,o=t.horizontal,i=d(n),a=t.origin||{x:0,y:0},u=o?e.y(i.y):e.x(i.x),c=o?e.y(i.y0):e.x(i.x0),l=o?e.x(i.x):e.y(i.y),s=o?e.x(i.x0):e.y(i.y0);return{x:r?l*Math.cos(u)+a.x:u,x0:r?s*Math.cos(c)+a.x:c,y:r?-l*Math.sin(u)+a.y:l,y0:r?-s*Math.sin(c)+a.x:s}}(t,t.datum);return e[n]},An=function(t){var n=t&&t.fontSize;if("number"==typeof n)return n;if(null==n)return Mn.fontSize;if("string"==typeof n){var e=Number(n.replace("px",""));return isNaN(e)?Mn.fontSize:e}return Mn.fontSize},Sn=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(t)?t[n]||t[0]:t},Pn=function(t){var n=t.backgroundStyle,e=t.backgroundPadding;return Array.isArray(n)&&!Ut()(n)||Array.isArray(e)&&!Ut()(e)},Cn=function(t,n,e){var r=t.polar,o=Sn(t.style),i=r?function(t,n){var e=t.labelPlacement,r=t.datum;if(!e||"vertical"===e)return 0;var o=function(t,n){var e,r=d(n).x;return("number"==typeof(e=t.scale.x(r))?e/(Math.PI/180):e)%360}(t,r),i=0;return 0===o||180===o?i=90:o>0&&o<180?i=90-o:o>180&&o<360&&(i=270-o),i+(o>90&&o<180||o>270?1:-1)*("perpendicular"===e?0:90)}(t):0,a=void 0===o.angle?g(t.angle,t):o.angle,u=void 0===a?i:a,c=t.transform||o.transform,l=c&&g(c,t);return l||u?Jt(l,u&&{rotate:[u,n,e]}):void 0},_n=function(t,n){var e=t.direction,r=t.textAnchor,o=t.x,i=t.dx;if("rtl"===e)return o-n;switch(r){case"middle":return Math.round(o-n/2);case"end":return Math.round(o-n);default:return o+(i||0)}},Dn=function(t,n){var e=t.verticalAnchor,r=t.y,o=t.originalDy,i=r+(void 0===o?0:o);switch(e){case"start":return Math.floor(i);case"end":return Math.ceil(i-n);default:return Math.floor(i-n/2)}},Tn=function(t,n){return Pn(t)?function(t,n){var e=t.dy,r=t.dx,o=t.transform,a=t.backgroundStyle,u=t.backgroundPadding,c=t.backgroundComponent,l=t.inline,s=t.y,p=n.map((function(t,o){var i=Sn(n,o-1),a=t.textSize,c=t.fontSize*t.lineHeight,f=Math.ceil(c),p=Sn(u,o),d=Sn(u,o-1),h=l&&r||0,y=o&&!l?i.fontSize*i.lineHeight+d.top+d.bottom:e-.5*c-(t.fontSize-t.capHeight);return{textHeight:f,labelSize:a,heightWithPadding:f+p.top+p.bottom,widthWithPadding:a.width+p.left+p.right+h,y:s,fontSize:t.fontSize,dy:y}}));return p.map((function(n,e){var r=_n(t,n.labelSize.width),d=p.slice(0,e+1).reduce((function(t,n){return t+n.dy}),s),h=Sn(u,e),y=n.heightWithPadding,g=l?function(t,n,e){var r=t.textAnchor,o=n.map((function(t){return t.widthWithPadding})),i=-o.reduce((function(t,n){return t+n}),0)/2;switch(r){case"start":return o.reduce((function(t,n,r){return r<e?t+n:t}),0);case"end":return o.reduce((function(t,n,r){return r>e?t-n:t}),0);default:return o.reduce((function(t,n,r){return r===e?t+n/2:t+(r<e?n:0)}),i)}}(t,p,e)+r-h.left:r,v=l?Dn(t,y)-h.top:d,m={key:"tspan-background-".concat(e),height:y,style:Sn(a,e),width:n.widthWithPadding,transform:o,x:g-h.left,y:v};return i().cloneElement(c,f()({},c.props,m))}))}(t,n):function(t,n){var e=t.dx,r=void 0===e?0:e,o=t.transform,a=t.backgroundComponent,u=t.backgroundStyle,c=t.inline,l=t.backgroundPadding,s=t.capHeight,p=n.map((function(t){return t.textSize})),d=c?Math.max.apply(Math,jn(p.map((function(t){return t.height})))):p.reduce((function(t,e,r){var o=r?0:s/2;return t+e.height*(n[r].lineHeight-o)}),0),h=c?p.reduce((function(t,n,e){var o=e?r:0;return t+n.width+o}),0):Math.max.apply(Math,jn(p.map((function(t){return t.width})))),y=_n(t,h),g=Dn(t,d),v={key:"background",height:d+l.top+l.bottom,style:u,transform:o,width:h+l.left+l.right,x:c?y-l.left:y+r-l.left,y:g};return i().cloneElement(a,f()({},a.props,v))}(t,n)},In=function(t,n,e){var r=n.inline,o=Sn(t,e);return e&&!r?function(t,n,e){var r=Sn(t,n),o=Sn(t,n-1),i=o.fontSize*o.lineHeight,a=r.fontSize*r.lineHeight,u=o.fontSize-o.capHeight,c=r.fontSize-r.capHeight,l=i-o.fontSize/2+r.fontSize/2-i/2+a/2-c/2+u/2;return Pn(e)?l+r.backgroundPadding.top+o.backgroundPadding.bottom:l}(t,e,n):r?0===e?o.backgroundPadding.top:void 0:o.backgroundPadding.top},Nn={backgroundComponent:i().createElement(Ot,null),groupComponent:i().createElement("g",null),direction:"inherit",textComponent:i().createElement(Vt,null),tspanComponent:i().createElement(Xt,null),capHeight:.71,lineHeight:1},Ln=function(t){var n=function(t){var n=function(t,n){if(null!=t){if(Array.isArray(t))return t.map((function(t){return g(t,n)}));var e=g(t,n);if(null!=e)return Array.isArray(e)?e:"".concat(e).split("\n")}}(t.text,t),e=function(t,n){if(n.disableInlineStyles){var e=v(t,n);return{fontSize:An(e)}}var r=function(t){var e=v(t?f()({},t,Mn):Mn,n);return Object.assign({},e,{fontSize:An(e)})};return Array.isArray(t)&&!Ut()(t)?t.map((function(t){return r(t)})):r(t)}(t.style,Object.assign({},t,{text:n})),r=function(t,n){if(t)return Array.isArray(t)&&!Ut()(t)?t.map((function(t){return v(t,n)})):v(t,n)}(t.backgroundStyle,Object.assign({},t,{text:n,style:e})),o=function(t){return t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((function(n){return h({padding:g(n,t)})})):h({padding:g(t.backgroundPadding,t)})}(Object.assign({},t,{text:n,style:e,backgroundStyle:r})),i=g(t.id,t);return Object.assign({},t,{backgroundStyle:r,backgroundPadding:o,style:e,text:n,id:i})}(On(On({},Nn),t));if(null===n.text||void 0===n.text)return null;var e=function(t){var n=g(t.ariaLabel,t),e=Sn(t.style),r=function(t){var n=g(t.lineHeight,t);return Array.isArray(n)&&Ut()(n)?[1]:n}(t),o=t.direction?g(t.direction,t):"inherit",i=t.textAnchor?g(t.textAnchor,t):e.textAnchor||"start",a=t.verticalAnchor?g(t.verticalAnchor,t):e.verticalAnchor||"middle",u=t.dx?g(t.dx,t):0,c=function(t,n,e){var r=t.dy?g(t.dy,t):0,o=t.inline?1:t.text.length,i=g(t.capHeight,t),a=n?g(n,t):"middle",u=jn(Array(o).keys()).map((function(n){return Sn(t.style,n).fontSize})),c=jn(Array(o).keys()).map((function(t){return Sn(e,t)}));if("start"===a)return r+(i/2+c[0]/2)*u[0];if(t.inline)return"end"===a?r+(i/2-c[0]/2)*u[0]:r+i/2*u[0];if(1===o)return"end"===a?r+(i/2+(.5-o)*c[0])*u[0]:r+(i/2+(.5-o/2)*c[0])*u[0];var l=jn(Array(o).keys()).reduce((function(t,n){return t+(i/2+(.5-o)*c[n])*u[n]/o}),0);return"end"===a?r+l:r+l/2+i/2*c[o-1]*u[o-1]}(t,a,r),l=void 0!==t.x?t.x:En(t,"x"),s=void 0!==t.y?t.y:En(t,"y"),f=Cn(t,l,s);return Object.assign({},t,{ariaLabel:n,lineHeight:r,direction:o,textAnchor:i,verticalAnchor:a,dx:u,dy:c,originalDy:g(t.dy,t),transform:f,x:l,y:s})}(n),r=e.text,o=e.style,a=e.capHeight,u=e.backgroundPadding,c=e.lineHeight,l=r.map((function(t,n){var e=Sn(o,n),r=pn("".concat(a,"em"),e.fontSize),i=Sn(c,n);return{style:e,fontSize:e.fontSize||Mn.fontSize,capHeight:r,text:t,textSize:bn(t,e),lineHeight:i,backgroundPadding:Sn(u,n)}})),s=function(t,n){var e=t.ariaLabel,r=t.inline,o=t.className,a=t.title,u=t.events,c=t.direction,l=t.text,s=t.textAnchor,f=t.dx,p=t.dy,d=t.transform,h=t.x,y=t.y,v=t.desc,m=t.id,b=t.tabIndex,x=t.tspanComponent,O=t.textComponent,w=C(t),j=On(On({"aria-label":e,key:"text"},u),{},{direction:c,dx:f,x:h,y:y+p,transform:d,className:o,title:a,desc:g(v,t),tabIndex:g(b,t),id:m},w),k=l.map((function(e,o){var a=n[o].style,u={key:"".concat(m,"-key-").concat(o),x:r?void 0:h,dx:r?f+n[o].backgroundPadding.left:f,dy:In(n,t,o),textAnchor:a.textAnchor||s,style:a,children:e};return i().cloneElement(x,u)}));return i().cloneElement(O,j,k)}(e,l);if(n.backgroundStyle){var p=[Tn(e,l),s],d=i().cloneElement(n.groupComponent,{},p);return n.renderInPortal?i().createElement($t,null,d):d}return n.renderInPortal?i().createElement($t,null,s):s};function Rn(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Un(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Rn(Object(e),!0).forEach((function(n){qn(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Rn(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function qn(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}Ln.displayName="VictoryLabel",Ln.role="label",Ln.defaultStyles=Mn;var Wn={lineComponent:i().createElement(_t,null),role:"presentation",shapeRendering:"auto"},Fn=function(t){var n=function(t){var n=g(t.ariaLabel,t),e=g(t.desc,t),r=g(t.id,t),o=v(Object.assign({stroke:"black"},t.style),t),i=g(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,desc:e,id:r,style:o,tabIndex:i})}(Un(Un({},Wn),t));return i().cloneElement(n.lineComponent,Un(Un({},n.events),{},{"aria-label":n.ariaLabel,style:n.style,desc:n.desc,tabIndex:n.tabIndex,className:n.className,role:n.role,shapeRendering:n.shapeRendering,x1:n.x1,x2:n.x2,y1:n.y1,y2:n.y2,transform:n.transform,clipPath:n.clipPath}))},zn=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],Hn="#252525",$n="#969696",Bn={width:450,height:300,padding:50,colorScale:zn},Yn={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:Hn,stroke:"transparent"},Kn=Object.assign({textAnchor:"middle"},Yn),Vn={area:Object.assign({style:{data:{fill:Hn},labels:Yn}},Bn),axis:Object.assign({style:{axis:{fill:"transparent",stroke:Hn,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},Kn,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:Yn}},Bn),bar:Object.assign({style:{data:{fill:Hn,padding:8,strokeWidth:0},labels:Yn}},Bn),boxplot:Object.assign({style:{max:{padding:8,stroke:Hn,strokeWidth:1},maxLabels:Object.assign({},Yn,{padding:3}),median:{padding:8,stroke:Hn,strokeWidth:1},medianLabels:Object.assign({},Yn,{padding:3}),min:{padding:8,stroke:Hn,strokeWidth:1},minLabels:Object.assign({},Yn,{padding:3}),q1:{padding:8,fill:$n},q1Labels:Object.assign({},Yn,{padding:3}),q3:{padding:8,fill:$n},q3Labels:Object.assign({},Yn,{padding:3})},boxWidth:20},Bn),candlestick:Object.assign({style:{data:{stroke:Hn,strokeWidth:1},labels:Object.assign({},Yn,{padding:5})},candleColors:{positive:"#ffffff",negative:Hn}},Bn),chart:Bn,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:Hn,strokeWidth:2},labels:Yn}},Bn),group:Object.assign({colorScale:zn},Bn),histogram:Object.assign({style:{data:{fill:$n,stroke:Hn,strokeWidth:2},labels:Yn}},Bn),legend:{colorScale:zn,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Yn,title:Object.assign({},Yn,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:Hn,strokeWidth:2},labels:Yn}},Bn),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},Yn,{padding:20})},colorScale:zn,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:Hn,stroke:"transparent",strokeWidth:0},labels:Yn}},Bn),stack:Object.assign({colorScale:zn},Bn),tooltip:{style:Object.assign({},Yn,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:Hn,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},Yn,{padding:5,pointerEvents:"none"}),flyout:{stroke:Hn,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Bn)},Gn=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],Zn="#ECEFF1",Qn="#90A4AE",Xn="#455A64",Jn="#212121",te={width:350,height:350,padding:50},ne={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:Xn,stroke:"transparent",strokeWidth:0},ee=Object.assign({textAnchor:"middle"},ne),re="round",oe="round",ie={grayscale:Vn,material:{area:Object.assign({style:{data:{fill:Jn},labels:ne}},te),axis:Object.assign({style:{axis:{fill:"transparent",stroke:Qn,strokeWidth:2,strokeLinecap:re,strokeLinejoin:oe},axisLabel:Object.assign({},ee,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:Zn,strokeDasharray:"10, 5",strokeLinecap:re,strokeLinejoin:oe,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:Qn,strokeWidth:1,strokeLinecap:re,strokeLinejoin:oe},tickLabels:Object.assign({},ne,{fill:Xn})}},te),polarDependentAxis:Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:Object.assign({style:{data:{fill:Xn,padding:8,strokeWidth:0},labels:ne}},te),boxplot:Object.assign({style:{max:{padding:8,stroke:Xn,strokeWidth:1},maxLabels:Object.assign({},ne,{padding:3}),median:{padding:8,stroke:Xn,strokeWidth:1},medianLabels:Object.assign({},ne,{padding:3}),min:{padding:8,stroke:Xn,strokeWidth:1},minLabels:Object.assign({},ne,{padding:3}),q1:{padding:8,fill:Xn},q1Labels:Object.assign({},ne,{padding:3}),q3:{padding:8,fill:Xn},q3Labels:Object.assign({},ne,{padding:3})},boxWidth:20},te),candlestick:Object.assign({style:{data:{stroke:Xn},labels:Object.assign({},ne,{padding:5})},candleColors:{positive:"#ffffff",negative:Xn}},te),chart:te,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:Xn,strokeWidth:2},labels:ne}},te),group:Object.assign({colorScale:Gn},te),histogram:Object.assign({style:{data:{fill:Xn,stroke:Jn,strokeWidth:2},labels:ne}},te),legend:{colorScale:Gn,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:ne,title:Object.assign({},ne,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:Xn,strokeWidth:2},labels:ne}},te),pie:Object.assign({colorScale:Gn,style:{data:{padding:8,stroke:Zn,strokeWidth:1},labels:Object.assign({},ne,{padding:20})}},te),scatter:Object.assign({style:{data:{fill:Xn,opacity:1,stroke:"transparent",strokeWidth:0},labels:ne}},te),stack:Object.assign({colorScale:Gn},te),tooltip:{style:Object.assign({},ne,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:Jn,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},ne,{padding:5,pointerEvents:"none"}),flyout:{stroke:Jn,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},te)}},ae=r(6354),ue=r.n(ae),ce=r(9602),le=r.n(ce),se=r(1616),fe=r.n(se),pe=r(4912),de=r.n(pe);function he(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function ye(t){return function(t){if(Array.isArray(t))return ge(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return ge(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?ge(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ge(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var ve=/^onGlobal(.*)$/;function me(t,n,e,r){var o,i=this,a=function(t){var r,o=(r=t.reduce((function(t,e){return void 0!==e.target?(Array.isArray(e.target)?e.target.includes(n):"".concat(e.target)==="".concat(n))?t.concat(e):t:t.concat(e)}),[]),void 0!==e&&"parent"!==n?r.filter((function(t){var n=t.eventKey,r=function(t){return!t||"".concat(t)==="".concat(e)};return Array.isArray(n)?n.some((function(t){return r(t)})):r(n)})):r);return Array.isArray(o)&&o.reduce((function(t,n){return n?Object.assign(t,n.eventHandlers):t}),{})},u=Array.isArray(i.componentEvents)?Array.isArray(t.events)?(o=i.componentEvents).concat.apply(o,ye(t.events)):i.componentEvents:t.events,c=u&&w(r)?r(a(u),n):void 0;if(!t.sharedEvents)return c;var l=t.sharedEvents.getEvents,s=t.sharedEvents.events&&l(a(t.sharedEvents.events),n);return Object.assign({},s,c)}function be(t,n,e,r){var o=this;if(Ut()(t))return{};var i=r||this.baseProps,a=function(t,n){var e=t.childName,r=t.target,a=t.key,u="props"===n?i:o.state||{},c=null!=e&&u[e]?u[e]:u;return"parent"===a?c.parent:c[a]&&c[a][r]},u=function(t,r){var u="parent"===n?t.childName:t.childName||e,c=t.target||n,l=function(n,e){var r=o.state||{};if(!w(t.mutation))return r;var u=a({childName:e,key:n,target:c},"props"),l=a({childName:e,key:n,target:c},"state"),s=t.mutation(Object.assign({},u,l),i),f=r[e]||{},p=function(t){return s?function(t){return"parent"===c?Object.assign(t,he({},n,Object.assign(t[n]||{},s))):Object.assign(t,he({},n,Object.assign(t[n]||{},he({},c,s))))}(t):function(t){return t[n]&&t[n][c]&&delete t[n][c],t[n]&&!Object.keys(t[n]).length&&delete t[n],t}(t)};return null!=e?Object.assign(r,he({},e,p(f))):p(r)},s=function(n){var e=function(n){return"parent"===c?"parent":"all"===t.eventKey?i[n]?Object.keys(i[n]).filter((function(t){return"parent"!==t})):Object.keys(i).filter((function(t){return"parent"!==t})):void 0===t.eventKey&&"parent"===r?i[n]?Object.keys(i[n]):Object.keys(i):void 0!==t.eventKey?t.eventKey:r}(n);return Array.isArray(e)?e.reduce((function(t,e){return Object.assign(t,l(e,n))}),{}):l(e,n)},f="all"===u?Object.keys(i).filter((function(t){return"parent"!==t})):u;return Array.isArray(f)?f.reduce((function(t,n){return Object.assign(t,s(n))}),{}):s(f)},c=function(n,e,r,i){var a=t[i](n,e,r,o);if(!Ut()(a)){var c=function(t){var n=function(t){return w(t.callback)&&t.callback},e=(Array.isArray(t)?t.map((function(t){return n(t)})):[n(t)]).filter((function(t){return!1!==t}));return e.length?function(){return e.forEach((function(t){return t()}))}:void 0}(a);o.setState(function(t,n){return Array.isArray(t)?t.reduce((function(t,e){return Object.assign({},t,u(e,n))}),{}):u(t,n)}(a,r),c)}};return Object.keys(t).reduce((function(t,n){return t[n]=c,t}),{})}function xe(t,n,e){return t?Object.keys(t).reduce((function(r,o){return r[o]=function(r){return t[o](r,e,n,o)},r}),{}):{}}function Oe(t,n,e){var r=this.state||{};return e?r[e]&&r[e][t]&&r[e][t][n]:"parent"===t?r[t]&&r[t][n]||r[t]:r[t]&&r[t][n]}function we(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,o=Object.keys(n);return o.reduce((function(o,i){var a=e[i]||{},u=n[i]||{};if("parent"===i){var c=je(t,u,a,{eventKey:i,target:"parent"});o[i]=void 0!==c?Object.assign({},a,c):a}else{var l=le()(Object.keys(u).concat(Object.keys(a)));o[i]=l.reduce((function(n,e){var o={eventKey:i,target:e,childName:r},c=je(t,u[e],a[e],o);return n[e]=void 0!==c?Object.assign({},a[e],c):a[e],de()(n,(function(t){return!Ut()(t)}))}),{})}return de()(o,(function(t){return!Ut()(t)}))}),{})}function je(t,n,e,r){var o=function(t,n){return"string"==typeof t[n]?"all"===t[n]||t[n]===r[n]:!!Array.isArray(t[n])&&t[n].map((function(t){return"".concat(t)})).includes(r[n])},i=Array.isArray(t)?t:[t];r.childName&&(i=t.filter((function(t){return o(t,"childName")})));var a=i.filter((function(t){return o(t,"target")}));if(!Ut()(a)){var u=a.filter((function(t){return o(t,"eventKey")}));if(!Ut()(u))return u.reduce((function(t,r){var o=(r&&w(r.mutation)?r.mutation:function(){})(Object.assign({},n,e));return Object.assign({},t,o)}),{})}}function ke(t,n){var e=Array.isArray(n)&&n.reduce((function(n,e){var r=t[e],o=r&&r.type&&r.type.defaultEvents,i=w(o)?o(r.props):o;return Array.isArray(i)?n.concat.apply(n,ye(i)):n}),[]);return e&&e.length?e:void 0}function Me(t){var n=t.match(ve);return n&&n[1]&&n[1].toLowerCase()}var Ee=function(t){return de()(t,(function(t,n){return ve.test(n)}))},Ae=function(t){return fe()(t,(function(t,n){return ve.test(n)}))},Se=function(t){return Object.assign(t,{nativeEvent:t})},Pe=r(7491),Ce=r.n(Pe);const _e=t=>+t;function De(t){return t*t}function Te(t){return t*(2-t)}function Ie(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function Ne(t){return t*t*t}function Le(t){return--t*t*t+1}function Re(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var Ue=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),qe=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),We=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),Fe=Math.PI,ze=Fe/2;function He(t){return 1==+t?1:1-Math.cos(t*ze)}function $e(t){return Math.sin(t*ze)}function Be(t){return(1-Math.cos(Fe*t))/2}function Ye(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function Ke(t){return Ye(1-+t)}function Ve(t){return 1-Ye(t)}function Ge(t){return((t*=2)<=1?Ye(1-t):2-Ye(t-1))/2}function Ze(t){return 1-Math.sqrt(1-t*t)}function Qe(t){return Math.sqrt(1- --t*t)}function Xe(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var Je=7.5625;function tr(t){return 1-nr(1-t)}function nr(t){return(t=+t)<.36363636363636365?Je*t*t:t<.7272727272727273?Je*(t-=.5454545454545454)*t+.75:t<.9090909090909091?Je*(t-=.8181818181818182)*t+.9375:Je*(t-=.9545454545454546)*t+.984375}function er(t){return((t*=2)<=1?1-nr(1-t):nr(t-1)+1)/2}var rr=1.70158,or=function t(n){function e(t){return(t=+t)*t*(n*(t-1)+t)}return n=+n,e.overshoot=t,e}(rr),ir=function t(n){function e(t){return--t*t*((t+1)*n+t)+1}return n=+n,e.overshoot=t,e}(rr),ar=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(rr),ur=2*Math.PI,cr=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=ur);function o(t){return n*Ye(- --t)*Math.sin((r-t)/e)}return o.amplitude=function(n){return t(n,e*ur)},o.period=function(e){return t(n,e)},o}(1,.3),lr=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=ur);function o(t){return 1-n*Ye(t=+t)*Math.sin((t+r)/e)}return o.amplitude=function(n){return t(n,e*ur)},o.period=function(e){return t(n,e)},o}(1,.3),sr=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=ur);function o(t){return((t=2*t-1)<0?n*Ye(-t)*Math.sin((r-t)/e):2-n*Ye(t)*Math.sin((r+t)/e))/2}return o.amplitude=function(n){return t(n,e*ur)},o.period=function(e){return t(n,e)},o}(1,.3),fr=r(4143),pr=r.n(fr),dr=r(3849),hr=r.n(dr);function yr(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function gr(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function vr(){}var mr=.7,br=1/mr,xr="\\s*([+-]?\\d+)\\s*",Or="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",wr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",jr=/^#([0-9a-f]{3,8})$/,kr=new RegExp(`^rgb\\(${xr},${xr},${xr}\\)$`),Mr=new RegExp(`^rgb\\(${wr},${wr},${wr}\\)$`),Er=new RegExp(`^rgba\\(${xr},${xr},${xr},${Or}\\)$`),Ar=new RegExp(`^rgba\\(${wr},${wr},${wr},${Or}\\)$`),Sr=new RegExp(`^hsl\\(${Or},${wr},${wr}\\)$`),Pr=new RegExp(`^hsla\\(${Or},${wr},${wr},${Or}\\)$`),Cr={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 _r(){return this.rgb().formatHex()}function Dr(){return this.rgb().formatRgb()}function Tr(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=jr.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?Ir(n):3===e?new Ur(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?Nr(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?Nr(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=kr.exec(t))?new Ur(n[1],n[2],n[3],1):(n=Mr.exec(t))?new Ur(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Er.exec(t))?Nr(n[1],n[2],n[3],n[4]):(n=Ar.exec(t))?Nr(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Sr.exec(t))?$r(n[1],n[2]/100,n[3]/100,1):(n=Pr.exec(t))?$r(n[1],n[2]/100,n[3]/100,n[4]):Cr.hasOwnProperty(t)?Ir(Cr[t]):"transparent"===t?new Ur(NaN,NaN,NaN,0):null}function Ir(t){return new Ur(t>>16&255,t>>8&255,255&t,1)}function Nr(t,n,e,r){return r<=0&&(t=n=e=NaN),new Ur(t,n,e,r)}function Lr(t){return t instanceof vr||(t=Tr(t)),t?new Ur((t=t.rgb()).r,t.g,t.b,t.opacity):new Ur}function Rr(t,n,e,r){return 1===arguments.length?Lr(t):new Ur(t,n,e,null==r?1:r)}function Ur(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function qr(){return`#${Hr(this.r)}${Hr(this.g)}${Hr(this.b)}`}function Wr(){const t=Fr(this.opacity);return`${1===t?"rgb(":"rgba("}${zr(this.r)}, ${zr(this.g)}, ${zr(this.b)}${1===t?")":`, ${t})`}`}function Fr(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function zr(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Hr(t){return((t=zr(t))<16?"0":"")+t.toString(16)}function $r(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new Yr(t,n,e,r)}function Br(t){if(t instanceof Yr)return new Yr(t.h,t.s,t.l,t.opacity);if(t instanceof vr||(t=Tr(t)),!t)return new Yr;if(t instanceof Yr)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,o=Math.min(n,e,r),i=Math.max(n,e,r),a=NaN,u=i-o,c=(i+o)/2;return u?(a=n===i?(e-r)/u+6*(e<r):e===i?(r-n)/u+2:(n-e)/u+4,u/=c<.5?i+o:2-i-o,a*=60):u=c>0&&c<1?0:a,new Yr(a,u,c,t.opacity)}function Yr(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Kr(t){return(t=(t||0)%360)<0?t+360:t}function Vr(t){return Math.max(0,Math.min(1,t||0))}function Gr(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function Zr(t,n,e,r,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*n+(4-6*i+3*a)*e+(1+3*t+3*i-3*a)*r+a*o)/6}yr(vr,Tr,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:_r,formatHex:_r,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Br(this).formatHsl()},formatRgb:Dr,toString:Dr}),yr(Ur,Rr,gr(vr,{brighter(t){return t=null==t?br:Math.pow(br,t),new Ur(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?mr:Math.pow(mr,t),new Ur(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Ur(zr(this.r),zr(this.g),zr(this.b),Fr(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:qr,formatHex:qr,formatHex8:function(){return`#${Hr(this.r)}${Hr(this.g)}${Hr(this.b)}${Hr(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Wr,toString:Wr})),yr(Yr,(function(t,n,e,r){return 1===arguments.length?Br(t):new Yr(t,n,e,null==r?1:r)}),gr(vr,{brighter(t){return t=null==t?br:Math.pow(br,t),new Yr(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?mr:Math.pow(mr,t),new Yr(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,o=2*e-r;return new Ur(Gr(t>=240?t-240:t+120,o,r),Gr(t,o,r),Gr(t<120?t+240:t-120,o,r),this.opacity)},clamp(){return new Yr(Kr(this.h),Vr(this.s),Vr(this.l),Fr(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Fr(this.opacity);return`${1===t?"hsl(":"hsla("}${Kr(this.h)}, ${100*Vr(this.s)}%, ${100*Vr(this.l)}%${1===t?")":`, ${t})`}`}}));const Qr=t=>()=>t;function Xr(t,n){var e=n-t;return e?function(t,n){return function(e){return t+e*n}}(t,e):Qr(isNaN(t)?n:t)}const Jr=function t(n){var e=function(t){return 1==(t=+t)?Xr:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Qr(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=Rr(t)).r,(n=Rr(n)).r),o=e(t.g,n.g),i=e(t.b,n.b),a=Xr(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=o(n),t.b=i(n),t.opacity=a(n),t+""}}return r.gamma=t,r}(1);function to(t){return function(n){var e,r,o=n.length,i=new Array(o),a=new Array(o),u=new Array(o);for(e=0;e<o;++e)r=Rr(n[e]),i[e]=r.r||0,a[e]=r.g||0,u[e]=r.b||0;return i=t(i),a=t(a),u=t(u),r.opacity=1,function(t){return r.r=i(t),r.g=a(t),r.b=u(t),r+""}}}function no(t,n){var e,r=n?n.length:0,o=t?Math.min(r,t.length):0,i=new Array(o),a=new Array(r);for(e=0;e<o;++e)i[e]=lo(t[e],n[e]);for(;e<r;++e)a[e]=n[e];return function(t){for(e=0;e<o;++e)a[e]=i[e](t);return a}}function eo(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}function ro(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}function oo(t,n){var e,r={},o={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?r[e]=lo(t[e],n[e]):o[e]=n[e];return function(t){for(e in r)o[e]=r[e](t);return o}}to((function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),o=t[r],i=t[r+1],a=r>0?t[r-1]:2*o-i,u=r<n-1?t[r+2]:2*i-o;return Zr((e-r/n)*n,a,o,i,u)}})),to((function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),o=t[(r+n-1)%n],i=t[r%n],a=t[(r+1)%n],u=t[(r+2)%n];return Zr((e-r/n)*n,o,i,a,u)}}));var io=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ao=new RegExp(io.source,"g");function uo(t,n){var e,r,o,i=io.lastIndex=ao.lastIndex=0,a=-1,u=[],c=[];for(t+="",n+="";(e=io.exec(t))&&(r=ao.exec(n));)(o=r.index)>i&&(o=n.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(e=e[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,c.push({i:a,x:ro(e,r)})),i=ao.lastIndex;return i<n.length&&(o=n.slice(i),u[a]?u[a]+=o:u[++a]=o),u.length<2?c[0]?function(t){return function(n){return t(n)+""}}(c[0].x):function(t){return function(){return t}}(n):(n=c.length,function(t){for(var e,r=0;r<n;++r)u[(e=c[r]).i]=e.x(t);return u.join("")})}function co(t,n){n||(n=[]);var e,r=t?Math.min(n.length,t.length):0,o=n.slice();return function(i){for(e=0;e<r;++e)o[e]=t[e]*(1-i)+n[e]*i;return o}}function lo(t,n){var e,r,o=typeof n;return null==n||"boolean"===o?Qr(n):("number"===o?ro:"string"===o?(e=Tr(n))?(n=e,Jr):uo:n instanceof Tr?Jr:n instanceof Date?eo:(r=n,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(n)?no:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?oo:ro:co))(t,n)}var so=function(t){if(null!==t)switch(typeof t){case"undefined":case"boolean":return!1;case"number":return!isNaN(t)&&t!==Number.POSITIVE_INFINITY&&t!==Number.NEGATIVE_INFINITY;case"string":case"function":return!0;case"object":return t instanceof Date||Array.isArray(t)||hr()(t)}return!1},fo=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(r){return r<e?t:n}},po=function(t,n){return function(e){return e>=1?n:function(){var r="function"==typeof t?t.apply(this,arguments):t,o="function"==typeof n?n.apply(this,arguments):n;return lo(r,o)(e)}}},ho=function(t,n){var e,r,o,i=function(t){return Array.isArray(t)?pr()(t,"key"):t},a={},u={},c=t,l=n;for(e in null!==c&&"object"==typeof c||(c={}),null!==l&&"object"==typeof l||(l={}),l)e in c?a[e]=(r=i(c[e]))!==(o=i(l[e]))&&so(r)&&so(o)?"function"==typeof r||"function"==typeof o?po(r,o):"object"==typeof r&&hr()(r)||"object"==typeof o&&hr()(o)?ho(r,o):lo(r,o):fo(r,o):u[e]=l[e];return function(t){for(e in a)u[e]=a[e](t);return u}};function yo(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}var go=function(n){var e,r,o,a,u=n.duration,c=void 0===u?1e3:u,l=n.easing,s=void 0===l?"quadInOut":l,f=n.delay,p=void 0===f?0:f,d=n.data,h=n.children,y=n.onEnd,g=(o=i().useState({data:Array.isArray(d)?d[0]:d,animationInfo:{progress:0,animating:!1}}),a=2,function(t){if(Array.isArray(t))return t}(o)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,o,i=[],a=!0,u=!1;try{for(e=e.call(t);!(a=(r=e.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==e.return||e.return()}finally{if(u)throw o}}return i}}(o,a)||function(t,n){if(t){if("string"==typeof t)return yo(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?yo(t,n):void 0}}(o,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),v=g[0],m=g[1],b=i().useContext(ut).animationTimer,x=i().useRef(Array.isArray(d)?d.slice(1):[]),O=i().useRef(null),w=i().useRef(void 0),j=t[(e=s,r=e.charAt(0).toUpperCase()+e.slice(1),"ease".concat(r))];i().useEffect((function(){return x.current.length&&k(),function(){w.current?b.unsubscribe(w.current):b.stop()}}),[]),i().useEffect((function(){O.current&&v.animationInfo&&v.animationInfo.progress<1?m({data:O.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}):(b.unsubscribe(w.current),x.current=Array.isArray(d)?d:[d],k())}),[d]);var k=function(){if(x.current.length){var t=x.current[0];O.current=(n=v.data)!==(e=t)&&so(n)&&so(e)?"function"==typeof n||"function"==typeof e?po(n,e):hr()(n)||hr()(e)?ho(n,e):"string"==typeof n||"string"==typeof e?function(t,n){var e=function(t){return"string"==typeof t?t.replace(/,/g,""):t};return lo(e(t),e(n))}(n,e):lo(n,e):fo(n,e),p?setTimeout((function(){w.current=b.subscribe(M,c)}),p):w.current=b.subscribe(M,c)}else y&&y();var n,e},M=function(t){if(O.current){var n=c?t/c:1;if(n>=1)return m({data:O.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),w.current&&b.unsubscribe(w.current),x.current.shift(),void k();m({data:O.current(j(n)),animationInfo:{progress:n,animating:n<1}})}};return h(v.data,v.animationInfo)};function vo(t){return function(t){if(Array.isArray(t))return mo(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return mo(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?mo(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mo(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function bo(t){return Array.isArray(t)&&t.some((function(t){return t instanceof Date}))}function xo(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];var o=t.concat(e);return bo(o)?new Date(Math.max.apply(Math,vo(o))):Math.max.apply(Math,vo(o))}function Oo(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];var o=t.concat(e);return bo(o)?new Date(Math.min.apply(Math,vo(o))):Math.min.apply(Math,vo(o))}var wo=r(5346),jo=r.n(wo);function ko(t,n){return(t.key||n).toString()}function Mo(t){return t.reduce((function(t,n,e){return t[ko(n,e)]=n,t}),{})}function Eo(t,n){var e=!1,r=Object.keys(t).reduce((function(t,r){return r in n||(e=!0,t[r]=!0),t}),{});return e&&r}function Ao(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function So(t,n){var e=!1,r=!1,o=function(t,n){return t.map((function(a,u){return a&&a.props&&a.props.children&&n[u]?o(i().Children.toArray(t[u].props.children),i().Children.toArray(n[u].props.children)):function(t,n){if(!n||t.type!==n.type)return{};var o,i,a,u,c=(o=Ao(t),i=Ao(n),a=o&&Mo(o),u=i&&Mo(i),{entering:a&&Eo(u,a),exiting:u&&Eo(a,u)}||{}),l=c.entering,s=c.exiting;return e=e||!!s,r=r||!!l,{entering:l||!1,exiting:s||!1}}(a,n[u])}))},a=o(i().Children.toArray(t),i().Children.toArray(n));return{nodesWillExit:e,nodesWillEnter:r,childrenTransitions:a,nodesShouldEnter:!1}}function Po(t,n,e){var r=n&&n.nodesWillExit,o=n&&n.nodesWillEnter,i=n&&n.nodesShouldEnter,a=n&&n.nodesShouldLoad,u=n&&n.nodesDoneLoad,c=n&&n.childrenTransitions||[],l={enter:t.animate&&t.animate.onEnter&&t.animate.onEnter.duration,exit:t.animate&&t.animate.onExit&&t.animate.onExit.duration,load:t.animate&&t.animate.onLoad&&t.animate.onLoad.duration,move:t.animate&&t.animate.duration},s=function(t,n,r){return a?function(t,n,r){var o=Object.assign({},t,{onEnd:function(){e({nodesShouldLoad:!1,nodesDoneLoad:!0})}});if(o&&o.onLoad&&!o.onLoad.duration)return{animate:t,data:n};var i=t.onLoad&&t.onLoad.after?t.onLoad.after:jo();return{animate:o,data:n.map((function(t,e){return Object.assign({},t,i(t,e,n))}))}}(r,n):function(t,n,r,o){var i=Object.assign({},t,{onEnd:function(){e({nodesDoneLoad:!0})}});if(i&&i.onLoad&&!i.onLoad.duration)return{animate:i,data:r};var a=i.onLoad&&i.onLoad.before?i.onLoad.before:jo();return{animate:i,data:r.map((function(t,n){return Object.assign({},t,a(t,n,r))})),clipWidth:0}}(r,0,n)},p=function(t,n,r,o){return function(t,n,r,o,i){var a=t&&t.onExit,u=Object.assign({},t,a),c=r;if(o){t.onEnd=function(){e({nodesWillExit:!1})};var l=t.onExit&&t.onExit.before?t.onExit.before:jo();c=r.map((function(t,n){var e=(t.key||n).toString();return o[e]?Object.assign({},t,l(t,n,r)):t}))}return{animate:u,data:c}}(o,0,r,t)},d=function(t,n,r,o){return i?function(t,n,r,o){var i=t&&t.onEnter,a=Object.assign({},t,i),u=n;if(r){a.onEnd=function(){e({nodesWillEnter:!1})};var c=a.onEnter&&a.onEnter.after?a.onEnter.after:jo();u=n.map((function(t,e){var o=ko(t,e);return r[o]?Object.assign({},t,c(t,e,n)):t}))}return{animate:a,data:u}}(o,r,t):function(t,n,r,o,i){var a=t,u=r;if(o){a=Object.assign({},t,{onEnd:function(){e({nodesShouldEnter:!0})}});var c=t.onEnter&&t.onEnter.before?t.onEnter.before:jo();u=r.map((function(t,n){var e=(t.key||n).toString();return o[e]?Object.assign({},t,c(t,n,r)):t}))}return{animate:a,data:u}}(o,0,r,t)},h=function(t,n){var e=t.props.animate;if(!t.type)return{};var r=t.props&&t.props.polar&&t.type.defaultPolarTransitions||t.type.defaultTransitions;if(r){var o=e[n]&&e[n].duration;return void 0!==o?o:r[n]&&r[n].duration}return{}};return function(e,a){var y=Ao(e)||[],g=f()({},t.animate,e.props.animate),v=e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;g.onExit=f()({},g.onExit,v&&v.onExit),g.onEnter=f()({},g.onEnter,v&&v.onEnter),g.onLoad=f()({},g.onLoad,v&&v.onLoad);var m=c[a]||c[0];if(!u){var b={duration:void 0!==l.load?l.load:h(e,"onLoad")};return s(0,y,Object.assign({},g,b))}if(r){var x=m&&m.exiting,O=void 0!==l.exit?l.exit:h(e,"onExit"),w=x?{duration:O}:{delay:O};return p(x,0,y,Object.assign({},g,w))}if(o){var j=m&&m.entering,k=void 0!==l.enter?l.enter:h(e,"onEnter"),M=void 0!==l.move?l.move:e.props.animate&&e.props.animate.duration,E={duration:i&&j?k:M};return d(j,0,y,Object.assign({},g,E))}return!n&&g&&g.onExit?function(t,n){var e=t.onEnter&&t.onEnter.after?t.onEnter.after:jo();return{data:n.map((function(t,r){return Object.assign({},t,e(t,r,n))}))}}(g,y):{animate:g,data:y}}}function Co(){return Co=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},Co.apply(this,arguments)}function _o(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Do(t,n){return Do=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},Do(t,n)}function To(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Io(t){return Io=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Io(t)}var No=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&Do(t,n)}(c,t);var n,e,r,o,a=(r=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=Io(r);if(o){var e=Io(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return To(this,t)});function c(t,n){var e;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this,t,n)).continuous=void 0,e.timer=void 0,e.transitionProps=void 0,e.state={nodesShouldLoad:!1,nodesDoneLoad:!1};var r=e.props.children,o=r.props.polar;return e.continuous=!o&&r.type&&!0===r.type.continuous,e.timer=e.context.transitionTimer,e}return n=c,(e=[{key:"componentDidMount",value:function(){this.setState({nodesShouldLoad:!0})}},{key:"shouldComponentUpdate",value:function(t){var n=this;return Ce()(this.props,t)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,t),(function(){return n.timer.resumeAnimation()}))),!0}},{key:"componentWillUnmount",value:function(){this.timer.stop()}},{key:"getTransitionState",value:function(t,n){var e=t.animate;if(!e)return{};if(e.parentState)return{oldProps:e.parentState.nodesWillExit?t:null,nextProps:n};var r=So(i().Children.toArray(t.children),i().Children.toArray(n.children)),o=r.nodesWillExit;return{nodesWillExit:o,nodesWillEnter:r.nodesWillEnter,childrenTransitions:r.childrenTransitions,nodesShouldEnter:r.nodesShouldEnter,oldProps:o?t:null,nextProps:n}}},{key:"getDomainFromChildren",value:function(t,n){var e=function(t){return t.reduce((function(t,r){if(r.type&&w(r.type.getDomain)){var o=r.props&&r.type.getDomain(r.props,n);return o?t.concat(o):t}return r.props&&r.props.children?t.concat(e(i().Children.toArray(r.props.children))):t}),[])},r=i().Children.toArray(t.children)[0],o=r.props||{},a=Array.isArray(o.domain)?o.domain:o.domain&&o.domain[n];if(!o.children&&a)return a;var u=e([r]);return 0===u.length?[0,1]:[Oo(u),xo(u)]}},{key:"pickProps",value:function(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}},{key:"pickDomainProps",value:function(t){var n,e=null===(n=t.animate)||void 0===n?void 0:n.parentState;return e&&e.nodesWillExit?(this.continuous||e.continuous)&&(e.nextProps||this.state.nextProps)||t:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||t}},{key:"getClipWidth",value:function(t,n){var e,r=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==r?r:(e=x(n.props,"x"))?Math.abs(e[1]-e[0]):t.width}},{key:"render",value:function(){var t,n=this,e=this.pickProps(),r=null!==(t=this.props.animate)&&void 0!==t&&t.getTransitions?this.props.animate.getTransitions:Po(e,this.state,(function(t){return n.setState(t)})),o=i().Children.toArray(e.children)[0],a=r(o);this.transitionProps=a;var c={x:this.getDomainFromChildren(this.pickDomainProps(e),"x"),y:this.getDomainFromChildren(e,"y")},l=this.getClipWidth(e,o),s=f()({domain:c,clipWidth:l},a,o.props),p=(e.animationWhitelist||[]).concat(["clipWidth"]),d=p.length?u()(s,p):s;return i().createElement(go,Co({},s.animate,{data:d}),(function(t){if(o.props.groupComponent){var e=n.continuous?i().cloneElement(o.props.groupComponent,{clipWidth:t.clipWidth||0}):o.props.groupComponent;return i().cloneElement(o,f()({animate:null,animating:!0,groupComponent:e},t,s))}return i().cloneElement(o,f()({animate:null,animating:!0},t,s))}))}}])&&_o(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),c}(i().Component);function Lo(t){return function(t){if(Array.isArray(t))return Ro(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return Ro(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Ro(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ro(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function Uo(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function qo(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Wo(t,n,e){return n&&qo(t.prototype,n),e&&qo(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function Fo(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&zo(t,n)}function zo(t,n){return zo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},zo(t,n)}function Ho(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,r=Yo(t);if(n){var o=Yo(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return $o(this,e)}}function $o(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return Bo(t)}function Bo(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yo(t){return Yo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Yo(t)}No.displayName="VictoryTransition",No.contextType=ut;var Ko=function(t){return!O(t._x)&&!O(t._y)},Vo=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}],Go=r(9056),Zo=r.n(Go),Qo=(r(8999),r(8254)),Xo=r.n(Qo);function Jo(t,n,e){t=+t,n=+n,e=(o=arguments.length)<2?(n=t,t=0,1):o<3?1:+e;for(var r=-1,o=0|Math.max(0,Math.ceil((n-t)/e)),i=new Array(o);++r<o;)i[r]=t+r*e;return i}function ti(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function ni(t,n){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof n?this.interpolator(n):this.range(n)}return this}class ei extends Map{constructor(t,n=oi){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const[n,e]of t)this.set(n,e)}get(t){return super.get(ri(this,t))}has(t){return super.has(ri(this,t))}set(t,n){return super.set(function({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):(t.set(r,e),e)}(this,t),n)}delete(t){return super.delete(function({_intern:t,_key:n},e){const r=n(e);return t.has(r)&&(e=t.get(r),t.delete(r)),e}(this,t))}}function ri({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function oi(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;const ii=Symbol("implicit");function ai(){var t=new ei,n=[],e=[],r=ii;function o(o){let i=t.get(o);if(void 0===i){if(r!==ii)return r;t.set(o,i=n.push(o)-1)}return e[i%e.length]}return o.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new ei;for(const r of e)t.has(r)||t.set(r,n.push(r)-1);return o},o.range=function(t){return arguments.length?(e=Array.from(t),o):e.slice()},o.unknown=function(t){return arguments.length?(r=t,o):r},o.copy=function(){return ai(n,e).unknown(r)},ti.apply(o,arguments),o}function ui(){var t,n,e=ai().unknown(void 0),r=e.domain,o=e.range,i=0,a=1,u=!1,c=0,l=0,s=.5;function f(){var e=r().length,f=a<i,p=f?a:i,d=f?i:a;t=(d-p)/Math.max(1,e-c+2*l),u&&(t=Math.floor(t)),p+=(d-p-t*(e-c))*s,n=t*(1-c),u&&(p=Math.round(p),n=Math.round(n));var h=Jo(e).map((function(n){return p+t*n}));return o(f?h.reverse():h)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),f()):r()},e.range=function(t){return arguments.length?([i,a]=t,i=+i,a=+a,f()):[i,a]},e.rangeRound=function(t){return[i,a]=t,i=+i,a=+a,u=!0,f()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(u=!!t,f()):u},e.padding=function(t){return arguments.length?(c=Math.min(1,l=+t),f()):c},e.paddingInner=function(t){return arguments.length?(c=Math.min(1,t),f()):c},e.paddingOuter=function(t){return arguments.length?(l=+t,f()):l},e.align=function(t){return arguments.length?(s=Math.max(0,Math.min(1,t)),f()):s},e.copy=function(){return ui(r(),[i,a]).round(u).paddingInner(c).paddingOuter(l).align(s)},ti.apply(f(),arguments)}function ci(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return ci(n())},t}function li(){return ci(ui.apply(null,arguments).paddingInner(1))}var si=Math.sqrt(50),fi=Math.sqrt(10),pi=Math.sqrt(2);function di(t,n,e){var r,o,i,a,u=-1;if(e=+e,(t=+t)==(n=+n)&&e>0)return[t];if((r=n<t)&&(o=t,t=n,n=o),0===(a=hi(t,n,e))||!isFinite(a))return[];if(a>0){let e=Math.round(t/a),r=Math.round(n/a);for(e*a<t&&++e,r*a>n&&--r,i=new Array(o=r-e+1);++u<o;)i[u]=(e+u)*a}else{a=-a;let e=Math.round(t*a),r=Math.round(n*a);for(e/a<t&&++e,r/a>n&&--r,i=new Array(o=r-e+1);++u<o;)i[u]=(e+u)/a}return r&&i.reverse(),i}function hi(t,n,e){var r=(n-t)/Math.max(0,e),o=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,o);return o>=0?(i>=si?10:i>=fi?5:i>=pi?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=si?10:i>=fi?5:i>=pi?2:1)}function yi(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=si?o*=10:i>=fi?o*=5:i>=pi&&(o*=2),n<t?-o:o}function gi(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function vi(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function mi(t){let n,e,r;function o(t,r,o=0,i=t.length){if(o<i){if(0!==n(r,r))return i;do{const n=o+i>>>1;e(t[n],r)<0?o=n+1:i=n}while(o<i)}return o}return 2!==t.length?(n=gi,e=(n,e)=>gi(t(n),e),r=(n,e)=>t(n)-e):(n=t===gi||t===vi?t:bi,e=t,r=t),{left:o,center:function(t,n,e=0,i=t.length){const a=o(t,n,e,i-1);return a>e&&r(t[a-1],n)>-r(t[a],n)?a-1:a},right:function(t,r,o=0,i=t.length){if(o<i){if(0!==n(r,r))return i;do{const n=o+i>>>1;e(t[n],r)<=0?o=n+1:i=n}while(o<i)}return o}}}function bi(){return 0}function xi(t){return null===t?NaN:+t}const Oi=mi(gi),wi=Oi.right,ji=(Oi.left,mi(xi).center,wi);function ki(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function Mi(t){return+t}var Ei=[0,1];function Ai(t){return t}function Si(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:(e=isNaN(n)?NaN:.5,function(){return e});var e}function Pi(t,n,e){var r=t[0],o=t[1],i=n[0],a=n[1];return o<r?(r=Si(o,r),i=e(a,i)):(r=Si(r,o),i=e(i,a)),function(t){return i(r(t))}}function Ci(t,n,e){var r=Math.min(t.length,n.length)-1,o=new Array(r),i=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<r;)o[a]=Si(t[a],t[a+1]),i[a]=e(n[a],n[a+1]);return function(n){var e=ji(t,n,1,r)-1;return i[e](o[e](n))}}function _i(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Di(){var t,n,e,r,o,i,a=Ei,u=Ei,c=lo,l=Ai;function s(){var t,n,e,c=Math.min(a.length,u.length);return l!==Ai&&(t=a[0],n=a[c-1],t>n&&(e=t,t=n,n=e),l=function(e){return Math.max(t,Math.min(n,e))}),r=c>2?Ci:Pi,o=i=null,f}function f(n){return null==n||isNaN(n=+n)?e:(o||(o=r(a.map(t),u,c)))(t(l(n)))}return f.invert=function(e){return l(n((i||(i=r(u,a.map(t),ro)))(e)))},f.domain=function(t){return arguments.length?(a=Array.from(t,Mi),s()):a.slice()},f.range=function(t){return arguments.length?(u=Array.from(t),s()):u.slice()},f.rangeRound=function(t){return u=Array.from(t),c=ki,s()},f.clamp=function(t){return arguments.length?(l=!!t||Ai,s()):l!==Ai},f.interpolate=function(t){return arguments.length?(c=t,s()):c},f.unknown=function(t){return arguments.length?(e=t,f):e},function(e,r){return t=e,n=r,s()}}function Ti(){return Di()(Ai,Ai)}var Ii,Ni=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Li(t){if(!(n=Ni.exec(t)))throw new Error("invalid format: "+t);var n;return new Ri({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function Ri(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function Ui(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}function qi(t){return(t=Ui(Math.abs(t)))?t[1]:NaN}function Wi(t,n){var e=Ui(t,n);if(!e)return t+"";var r=e[0],o=e[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}Li.prototype=Ri.prototype,Ri.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 Fi={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>Wi(100*t,n),r:Wi,s:function(t,n){var e=Ui(t,n);if(!e)return t+"";var r=e[0],o=e[1],i=o-(Ii=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+Ui(t,Math.max(0,n+i-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function zi(t){return t}var Hi,$i,Bi,Yi=Array.prototype.map,Ki=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Vi(t,n,e,r){var o,i=yi(t,n,e);switch((r=Li(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(o=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(qi(n)/3)))-qi(Math.abs(t)))}(i,a))||(r.precision=o),Bi(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,qi(n)-qi(t))+1}(i,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(t){return Math.max(0,-qi(Math.abs(t)))}(i))||(r.precision=o-2*("%"===r.type))}return $i(r)}function Gi(t){var n=t.domain;return t.ticks=function(t){var e=n();return di(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return Vi(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,o,i=n(),a=0,u=i.length-1,c=i[a],l=i[u],s=10;for(l<c&&(o=c,c=l,l=o,o=a,a=u,u=o);s-- >0;){if((o=hi(c,l,e))===r)return i[a]=c,i[u]=l,n(i);if(o>0)c=Math.floor(c/o)*o,l=Math.ceil(l/o)*o;else{if(!(o<0))break;c=Math.ceil(c*o)/o,l=Math.floor(l*o)/o}r=o}return t},t}function Zi(){var t=Ti();return t.copy=function(){return _i(t,Zi())},ti.apply(t,arguments),Gi(t)}function Qi(t){var n;function e(t){return null==t||isNaN(t=+t)?n:t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=Array.from(n,Mi),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return Qi(t).unknown(n)},t=arguments.length?Array.from(t,Mi):[0,1],Gi(e)}function Xi(t,n){var e,r=0,o=(t=t.slice()).length-1,i=t[r],a=t[o];return a<i&&(e=r,r=o,o=e,e=i,i=a,a=e),t[r]=n.floor(i),t[o]=n.ceil(a),t}function Ji(t){return Math.log(t)}function ta(t){return Math.exp(t)}function na(t){return-Math.log(-t)}function ea(t){return-Math.exp(-t)}function ra(t){return isFinite(t)?+("1e"+t):t<0?0:t}function oa(t){return(n,e)=>-t(-n,e)}function ia(t){const n=t(Ji,ta),e=n.domain;let r,o,i=10;function a(){return r=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),n=>Math.log(n)/t)}(i),o=function(t){return 10===t?ra:t===Math.E?Math.exp:n=>Math.pow(t,n)}(i),e()[0]<0?(r=oa(r),o=oa(o),t(na,ea)):t(Ji,ta),n}return n.base=function(t){return arguments.length?(i=+t,a()):i},n.domain=function(t){return arguments.length?(e(t),a()):e()},n.ticks=t=>{const n=e();let a=n[0],u=n[n.length-1];const c=u<a;c&&([a,u]=[u,a]);let l,s,f=r(a),p=r(u);const d=null==t?10:+t;let h=[];if(!(i%1)&&p-f<d){if(f=Math.floor(f),p=Math.ceil(p),a>0){for(;f<=p;++f)for(l=1;l<i;++l)if(s=f<0?l/o(-f):l*o(f),!(s<a)){if(s>u)break;h.push(s)}}else for(;f<=p;++f)for(l=i-1;l>=1;--l)if(s=f>0?l/o(-f):l*o(f),!(s<a)){if(s>u)break;h.push(s)}2*h.length<d&&(h=di(a,u,d))}else h=di(f,p,Math.min(p-f,d)).map(o);return c?h.reverse():h},n.tickFormat=(t,e)=>{if(null==t&&(t=10),null==e&&(e=10===i?"s":","),"function"!=typeof e&&(i%1||null!=(e=Li(e)).precision||(e.trim=!0),e=$i(e)),t===1/0)return e;const a=Math.max(1,i*t/n.ticks().length);return t=>{let n=t/o(Math.round(r(t)));return n*i<i-.5&&(n*=i),n<=a?e(t):""}},n.nice=()=>e(Xi(e(),{floor:t=>o(Math.floor(r(t))),ceil:t=>o(Math.ceil(r(t)))})),n}function aa(){const t=ia(Di()).domain([1,10]);return t.copy=()=>_i(t,aa()).base(t.base()),ti.apply(t,arguments),t}function ua(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function ca(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function la(t){var n=1,e=t(ua(n),ca(n));return e.constant=function(e){return arguments.length?t(ua(n=+e),ca(n)):n},Gi(e)}function sa(){var t=la(Di());return t.copy=function(){return _i(t,sa()).constant(t.constant())},ti.apply(t,arguments)}function fa(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function pa(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function da(t){return t<0?-t*t:t*t}function ha(t){var n=t(Ai,Ai),e=1;function r(){return 1===e?t(Ai,Ai):.5===e?t(pa,da):t(fa(e),fa(1/e))}return n.exponent=function(t){return arguments.length?(e=+t,r()):e},Gi(n)}function ya(){var t=ha(Di());return t.copy=function(){return _i(t,ya()).exponent(t.exponent())},ti.apply(t,arguments),t}function ga(){return ya.apply(null,arguments).exponent(.5)}function va(t){return Math.sign(t)*t*t}function ma(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function ba(){var t,n=Ti(),e=[0,1],r=!1;function o(e){var o=ma(n(e));return isNaN(o)?t:r?Math.round(o):o}return o.invert=function(t){return n.invert(va(t))},o.domain=function(t){return arguments.length?(n.domain(t),o):n.domain()},o.range=function(t){return arguments.length?(n.range((e=Array.from(t,Mi)).map(va)),o):e.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(r=!!t,o):r},o.clamp=function(t){return arguments.length?(n.clamp(t),o):n.clamp()},o.unknown=function(n){return arguments.length?(t=n,o):t},o.copy=function(){return ba(n.domain(),e).round(r).clamp(n.clamp()).unknown(t)},ti.apply(o,arguments),Gi(o)}function xa(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e<n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let o of t)null!=(o=n(o,++r,t))&&(e<o||void 0===e&&o>=o)&&(e=o)}return e}function Oa(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e>n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let o of t)null!=(o=n(o,++r,t))&&(e>o||void 0===e&&o>=o)&&(e=o)}return e}function wa(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}function ja(t,n,e=0,r=t.length-1,o){for(o=void 0===o?wa:function(t=gi){if(t===gi)return wa;if("function"!=typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}(o);r>e;){if(r-e>600){const i=r-e+1,a=n-e+1,u=Math.log(i),c=.5*Math.exp(2*u/3),l=.5*Math.sqrt(u*c*(i-c)/i)*(a-i/2<0?-1:1);ja(t,n,Math.max(e,Math.floor(n-a*c/i+l)),Math.min(r,Math.floor(n+(i-a)*c/i+l)),o)}const i=t[n];let a=e,u=r;for(ka(t,e,n),o(t[r],i)>0&&ka(t,e,r);a<u;){for(ka(t,a,u),++a,--u;o(t[a],i)<0;)++a;for(;o(t[u],i)>0;)--u}0===o(t[e],i)?ka(t,e,u):(++u,ka(t,u,r)),u<=n&&(e=u+1),n<=u&&(r=u-1)}return t}function ka(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function Ma(t,n,e){if(t=Float64Array.from(function*(t,n){if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(yield n);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(r=+r)>=r&&(yield r)}}(t,e)),r=t.length){if((n=+n)<=0||r<2)return Oa(t);if(n>=1)return xa(t);var r,o=(r-1)*n,i=Math.floor(o),a=xa(ja(t,i).subarray(0,i+1));return a+(Oa(t.subarray(i+1))-a)*(o-i)}}function Ea(t,n,e=xi){if(r=t.length){if((n=+n)<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,o=(r-1)*n,i=Math.floor(o),a=+e(t[i],i,t);return a+(+e(t[i+1],i+1,t)-a)*(o-i)}}function Aa(){var t,n=[],e=[],r=[];function o(){var t=0,o=Math.max(1,e.length);for(r=new Array(o-1);++t<o;)r[t-1]=Ea(n,t/o);return i}function i(n){return null==n||isNaN(n=+n)?t:e[ji(r,n)]}return i.invertExtent=function(t){var o=e.indexOf(t);return o<0?[NaN,NaN]:[o>0?r[o-1]:n[0],o<r.length?r[o]:n[n.length-1]]},i.domain=function(t){if(!arguments.length)return n.slice();n=[];for(let e of t)null==e||isNaN(e=+e)||n.push(e);return n.sort(gi),o()},i.range=function(t){return arguments.length?(e=Array.from(t),o()):e.slice()},i.unknown=function(n){return arguments.length?(t=n,i):t},i.quantiles=function(){return r.slice()},i.copy=function(){return Aa().domain(n).range(e).unknown(t)},ti.apply(i,arguments)}function Sa(){var t,n=0,e=1,r=1,o=[.5],i=[0,1];function a(n){return null!=n&&n<=n?i[ji(o,n,0,r)]:t}function u(){var t=-1;for(o=new Array(r);++t<r;)o[t]=((t+1)*e-(t-r)*n)/(r+1);return a}return a.domain=function(t){return arguments.length?([n,e]=t,n=+n,e=+e,u()):[n,e]},a.range=function(t){return arguments.length?(r=(i=Array.from(t)).length-1,u()):i.slice()},a.invertExtent=function(t){var a=i.indexOf(t);return a<0?[NaN,NaN]:a<1?[n,o[0]]:a>=r?[o[r-1],e]:[o[a-1],o[a]]},a.unknown=function(n){return arguments.length?(t=n,a):a},a.thresholds=function(){return o.slice()},a.copy=function(){return Sa().domain([n,e]).range(i).unknown(t)},ti.apply(Gi(a),arguments)}function Pa(){var t,n=[.5],e=[0,1],r=1;function o(o){return null!=o&&o<=o?e[ji(n,o,0,r)]:t}return o.domain=function(t){return arguments.length?(n=Array.from(t),r=Math.min(n.length,e.length-1),o):n.slice()},o.range=function(t){return arguments.length?(e=Array.from(t),r=Math.min(n.length,e.length-1),o):e.slice()},o.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},o.unknown=function(n){return arguments.length?(t=n,o):t},o.copy=function(){return Pa().domain(n).range(e).unknown(t)},ti.apply(o,arguments)}Hi=function(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?zi:(n=Yi.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var o=t.length,i=[],a=0,u=n[0],c=0;o>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),i.push(t.substring(o-=u,o+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return i.reverse().join(e)}),o=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?zi:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(Yi.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",l=void 0===t.minus?"−":t.minus+"",s=void 0===t.nan?"NaN":t.nan+"";function f(t){var n=(t=Li(t)).fill,e=t.align,f=t.sign,p=t.symbol,d=t.zero,h=t.width,y=t.comma,g=t.precision,v=t.trim,m=t.type;"n"===m?(y=!0,m="g"):Fi[m]||(void 0===g&&(g=12),v=!0,m="g"),(d||"0"===n&&"="===e)&&(d=!0,n="0",e="=");var b="$"===p?o:"#"===p&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",x="$"===p?i:/[%p]/.test(m)?c:"",O=Fi[m],w=/[defgprs%]/.test(m);function j(t){var o,i,c,p=b,j=x;if("c"===m)j=O(t)+j,t="";else{var k=(t=+t)<0||1/t<0;if(t=isNaN(t)?s:O(Math.abs(t),g),v&&(t=function(t){t:for(var n,e=t.length,r=1,o=-1;r<e;++r)switch(t[r]){case".":o=n=r;break;case"0":0===o&&(o=r),n=r;break;default:if(!+t[r])break t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(n+1):t}(t)),k&&0==+t&&"+"!==f&&(k=!1),p=(k?"("===f?f:l:"-"===f||"("===f?"":f)+p,j=("s"===m?Ki[8+Ii/3]:"")+j+(k&&"("===f?")":""),w)for(o=-1,i=t.length;++o<i;)if(48>(c=t.charCodeAt(o))||c>57){j=(46===c?a+t.slice(o+1):t.slice(o))+j,t=t.slice(0,o);break}}y&&!d&&(t=r(t,1/0));var M=p.length+t.length+j.length,E=M<h?new Array(h-M+1).join(n):"";switch(y&&d&&(t=r(E+t,E.length?h-j.length:1/0),E=""),e){case"<":t=p+t+j+E;break;case"=":t=p+E+t+j;break;case"^":t=E.slice(0,M=E.length>>1)+p+t+j+E.slice(M);break;default:t=E+p+t+j}return u(t)}return g=void 0===g?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),j.toString=function(){return t+""},j}return{format:f,formatPrefix:function(t,n){var e=f(((t=Li(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(qi(n)/3))),o=Math.pow(10,-r),i=Ki[8+r/3];return function(t){return e(o*t)+i}}}}({thousands:",",grouping:[3],currency:["$",""]}),$i=Hi.format,Bi=Hi.formatPrefix;const Ca=1e3,_a=6e4,Da=36e5,Ta=864e5,Ia=6048e5,Na=31536e6;var La=new Date,Ra=new Date;function Ua(t,n,e,r){function o(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return o.floor=function(n){return t(n=new Date(+n)),n},o.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},o.round=function(t){var n=o(t),e=o.ceil(t);return t-n<e-t?n:e},o.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},o.range=function(e,r,i){var a,u=[];if(e=o.ceil(e),i=null==i?1:Math.floor(i),!(e<r&&i>0))return u;do{u.push(a=new Date(+e)),n(e,i),t(e)}while(a<e&&e<r);return u},o.filter=function(e){return Ua((function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(o.count=function(n,r){return La.setTime(+n),Ra.setTime(+r),t(La),t(Ra),Math.floor(e(La,Ra))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(r?function(n){return r(n)%t==0}:function(n){return o.count(0,n)%t==0}):o:null}),o}var qa=Ua((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));qa.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Ua((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):qa:null};const Wa=qa;qa.range;var Fa=Ua((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*Ca)}),(function(t,n){return(n-t)/Ca}),(function(t){return t.getUTCSeconds()}));const za=Fa;Fa.range;var Ha=Ua((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Ca)}),(function(t,n){t.setTime(+t+n*_a)}),(function(t,n){return(n-t)/_a}),(function(t){return t.getMinutes()}));const $a=Ha;Ha.range;var Ba=Ua((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Ca-t.getMinutes()*_a)}),(function(t,n){t.setTime(+t+n*Da)}),(function(t,n){return(n-t)/Da}),(function(t){return t.getHours()}));const Ya=Ba;Ba.range;var Ka=Ua((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*_a)/Ta),(t=>t.getDate()-1));const Va=Ka;function Ga(t){return Ua((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*_a)/Ia}))}Ka.range;var Za=Ga(0),Qa=Ga(1),Xa=Ga(2),Ja=Ga(3),tu=Ga(4),nu=Ga(5),eu=Ga(6),ru=(Za.range,Qa.range,Xa.range,Ja.range,tu.range,nu.range,eu.range,Ua((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()})));const ou=ru;ru.range;var iu=Ua((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));iu.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ua((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null};const au=iu;iu.range;var uu=Ua((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*_a)}),(function(t,n){return(n-t)/_a}),(function(t){return t.getUTCMinutes()}));const cu=uu;uu.range;var lu=Ua((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*Da)}),(function(t,n){return(n-t)/Da}),(function(t){return t.getUTCHours()}));const su=lu;lu.range;var fu=Ua((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/Ta}),(function(t){return t.getUTCDate()-1}));const pu=fu;function du(t){return Ua((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/Ia}))}fu.range;var hu=du(0),yu=du(1),gu=du(2),vu=du(3),mu=du(4),bu=du(5),xu=du(6),Ou=(hu.range,yu.range,gu.range,vu.range,mu.range,bu.range,xu.range,Ua((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCMonth(t.getUTCMonth()+n)}),(function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()})));const wu=Ou;Ou.range;var ju=Ua((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));ju.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ua((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null};const ku=ju;function Mu(t,n,e,r,o,i){const a=[[za,1,Ca],[za,5,5e3],[za,15,15e3],[za,30,3e4],[i,1,_a],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,Da],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,Ta],[r,2,1728e5],[e,1,Ia],[n,1,2592e6],[n,3,7776e6],[t,1,Na]];function u(n,e,r){const o=Math.abs(e-n)/r,i=mi((([,,t])=>t)).right(a,o);if(i===a.length)return t.every(yi(n/Na,e/Na,r));if(0===i)return Wa.every(Math.max(yi(n,e,r),1));const[u,c]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return u.every(c)}return[function(t,n,e){const r=n<t;r&&([t,n]=[n,t]);const o=e&&"function"==typeof e.range?e:u(t,n,e),i=o?o.range(t,+n+1):[];return r?i.reverse():i},u]}ju.range;const[Eu,Au]=Mu(ku,wu,hu,pu,su,cu),[Su,Pu]=Mu(au,ou,Za,Va,Ya,$a);function Cu(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function _u(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Du(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var Tu,Iu,Nu,Lu={"-":"",_:" ",0:"0"},Ru=/^\s*\d+/,Uu=/^%/,qu=/[\\^$*+?|[\]().{}]/g;function Wu(t,n,e){var r=t<0?"-":"",o=(r?-t:t)+"",i=o.length;return r+(i<e?new Array(e-i+1).join(n)+o:o)}function Fu(t){return t.replace(qu,"\\$&")}function zu(t){return new RegExp("^(?:"+t.map(Fu).join("|")+")","i")}function Hu(t){return new Map(t.map(((t,n)=>[t.toLowerCase(),n])))}function $u(t,n,e){var r=Ru.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function Bu(t,n,e){var r=Ru.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function Yu(t,n,e){var r=Ru.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function Ku(t,n,e){var r=Ru.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function Vu(t,n,e){var r=Ru.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function Gu(t,n,e){var r=Ru.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function Zu(t,n,e){var r=Ru.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function Qu(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function Xu(t,n,e){var r=Ru.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function Ju(t,n,e){var r=Ru.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function tc(t,n,e){var r=Ru.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function nc(t,n,e){var r=Ru.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function ec(t,n,e){var r=Ru.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function rc(t,n,e){var r=Ru.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function oc(t,n,e){var r=Ru.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function ic(t,n,e){var r=Ru.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function ac(t,n,e){var r=Ru.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function uc(t,n,e){var r=Uu.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function cc(t,n,e){var r=Ru.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function lc(t,n,e){var r=Ru.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function sc(t,n){return Wu(t.getDate(),n,2)}function fc(t,n){return Wu(t.getHours(),n,2)}function pc(t,n){return Wu(t.getHours()%12||12,n,2)}function dc(t,n){return Wu(1+Va.count(au(t),t),n,3)}function hc(t,n){return Wu(t.getMilliseconds(),n,3)}function yc(t,n){return hc(t,n)+"000"}function gc(t,n){return Wu(t.getMonth()+1,n,2)}function vc(t,n){return Wu(t.getMinutes(),n,2)}function mc(t,n){return Wu(t.getSeconds(),n,2)}function bc(t){var n=t.getDay();return 0===n?7:n}function xc(t,n){return Wu(Za.count(au(t)-1,t),n,2)}function Oc(t){var n=t.getDay();return n>=4||0===n?tu(t):tu.ceil(t)}function wc(t,n){return t=Oc(t),Wu(tu.count(au(t),t)+(4===au(t).getDay()),n,2)}function jc(t){return t.getDay()}function kc(t,n){return Wu(Qa.count(au(t)-1,t),n,2)}function Mc(t,n){return Wu(t.getFullYear()%100,n,2)}function Ec(t,n){return Wu((t=Oc(t)).getFullYear()%100,n,2)}function Ac(t,n){return Wu(t.getFullYear()%1e4,n,4)}function Sc(t,n){var e=t.getDay();return Wu((t=e>=4||0===e?tu(t):tu.ceil(t)).getFullYear()%1e4,n,4)}function Pc(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Wu(n/60|0,"0",2)+Wu(n%60,"0",2)}function Cc(t,n){return Wu(t.getUTCDate(),n,2)}function _c(t,n){return Wu(t.getUTCHours(),n,2)}function Dc(t,n){return Wu(t.getUTCHours()%12||12,n,2)}function Tc(t,n){return Wu(1+pu.count(ku(t),t),n,3)}function Ic(t,n){return Wu(t.getUTCMilliseconds(),n,3)}function Nc(t,n){return Ic(t,n)+"000"}function Lc(t,n){return Wu(t.getUTCMonth()+1,n,2)}function Rc(t,n){return Wu(t.getUTCMinutes(),n,2)}function Uc(t,n){return Wu(t.getUTCSeconds(),n,2)}function qc(t){var n=t.getUTCDay();return 0===n?7:n}function Wc(t,n){return Wu(hu.count(ku(t)-1,t),n,2)}function Fc(t){var n=t.getUTCDay();return n>=4||0===n?mu(t):mu.ceil(t)}function zc(t,n){return t=Fc(t),Wu(mu.count(ku(t),t)+(4===ku(t).getUTCDay()),n,2)}function Hc(t){return t.getUTCDay()}function $c(t,n){return Wu(yu.count(ku(t)-1,t),n,2)}function Bc(t,n){return Wu(t.getUTCFullYear()%100,n,2)}function Yc(t,n){return Wu((t=Fc(t)).getUTCFullYear()%100,n,2)}function Kc(t,n){return Wu(t.getUTCFullYear()%1e4,n,4)}function Vc(t,n){var e=t.getUTCDay();return Wu((t=e>=4||0===e?mu(t):mu.ceil(t)).getUTCFullYear()%1e4,n,4)}function Gc(){return"+0000"}function Zc(){return"%"}function Qc(t){return+t}function Xc(t){return Math.floor(+t/1e3)}function Jc(t){return new Date(t)}function tl(t){return t instanceof Date?+t:+new Date(+t)}function nl(t,n,e,r,o,i,a,u,c,l){var s=Ti(),f=s.invert,p=s.domain,d=l(".%L"),h=l(":%S"),y=l("%I:%M"),g=l("%I %p"),v=l("%a %d"),m=l("%b %d"),b=l("%B"),x=l("%Y");function O(t){return(c(t)<t?d:u(t)<t?h:a(t)<t?y:i(t)<t?g:r(t)<t?o(t)<t?v:m:e(t)<t?b:x)(t)}return s.invert=function(t){return new Date(f(t))},s.domain=function(t){return arguments.length?p(Array.from(t,tl)):p().map(Jc)},s.ticks=function(n){var e=p();return t(e[0],e[e.length-1],null==n?10:n)},s.tickFormat=function(t,n){return null==n?O:l(n)},s.nice=function(t){var e=p();return t&&"function"==typeof t.range||(t=n(e[0],e[e.length-1],null==t?10:t)),t?p(Xi(e,t)):s},s.copy=function(){return _i(s,nl(t,n,e,r,o,i,a,u,c,l))},s}function el(){return ti.apply(nl(Su,Pu,au,ou,Za,Va,Ya,$a,za,Iu).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function rl(){return ti.apply(nl(Eu,Au,ku,wu,hu,pu,su,cu,za,Nu).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function ol(){var t,n,e,r,o,i=0,a=1,u=Ai,c=!1;function l(n){return null==n||isNaN(n=+n)?o:u(0===e?.5:(n=(r(n)-t)*e,c?Math.max(0,Math.min(1,n)):n))}function s(t){return function(n){var e,r;return arguments.length?([e,r]=n,u=t(e,r),l):[u(0),u(1)]}}return l.domain=function(o){return arguments.length?([i,a]=o,t=r(i=+i),n=r(a=+a),e=t===n?0:1/(n-t),l):[i,a]},l.clamp=function(t){return arguments.length?(c=!!t,l):c},l.interpolator=function(t){return arguments.length?(u=t,l):u},l.range=s(lo),l.rangeRound=s(ki),l.unknown=function(t){return arguments.length?(o=t,l):o},function(o){return r=o,t=o(i),n=o(a),e=t===n?0:1/(n-t),l}}function il(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function al(){var t=Gi(ol()(Ai));return t.copy=function(){return il(t,al())},ni.apply(t,arguments)}function ul(){var t=ia(ol()).domain([1,10]);return t.copy=function(){return il(t,ul()).base(t.base())},ni.apply(t,arguments)}function cl(){var t=la(ol());return t.copy=function(){return il(t,cl()).constant(t.constant())},ni.apply(t,arguments)}function ll(){var t=ha(ol());return t.copy=function(){return il(t,ll()).exponent(t.exponent())},ni.apply(t,arguments)}function sl(){return ll.apply(null,arguments).exponent(.5)}function fl(){var t=[],n=Ai;function e(e){if(null!=e&&!isNaN(e=+e))return n((ji(t,e,1)-1)/(t.length-1))}return e.domain=function(n){if(!arguments.length)return t.slice();t=[];for(let e of n)null==e||isNaN(e=+e)||t.push(e);return t.sort(gi),e},e.interpolator=function(t){return arguments.length?(n=t,e):n},e.range=function(){return t.map(((e,r)=>n(r/(t.length-1))))},e.quantiles=function(n){return Array.from({length:n+1},((e,r)=>Ma(t,r/n)))},e.copy=function(){return fl(n).domain(t)},ni.apply(e,arguments)}function pl(t,n){void 0===n&&(n=t,t=lo);for(var e=0,r=n.length-1,o=n[0],i=new Array(r<0?0:r);e<r;)i[e]=t(o,o=n[++e]);return function(t){var n=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return i[n](t-n)}}function dl(){var t,n,e,r,o,i,a,u=0,c=.5,l=1,s=1,f=Ai,p=!1;function d(t){return isNaN(t=+t)?a:(t=.5+((t=+i(t))-n)*(s*t<s*n?r:o),f(p?Math.max(0,Math.min(1,t)):t))}function h(t){return function(n){var e,r,o;return arguments.length?([e,r,o]=n,f=pl(t,[e,r,o]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([u,c,l]=a,t=i(u=+u),n=i(c=+c),e=i(l=+l),r=t===n?0:.5/(n-t),o=n===e?0:.5/(e-n),s=n<t?-1:1,d):[u,c,l]},d.clamp=function(t){return arguments.length?(p=!!t,d):p},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=h(lo),d.rangeRound=h(ki),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return i=a,t=a(u),n=a(c),e=a(l),r=t===n?0:.5/(n-t),o=n===e?0:.5/(e-n),s=n<t?-1:1,d}}function hl(){var t=Gi(dl()(Ai));return t.copy=function(){return il(t,hl())},ni.apply(t,arguments)}function yl(){var t=ia(dl()).domain([.1,1,10]);return t.copy=function(){return il(t,yl()).base(t.base())},ni.apply(t,arguments)}function gl(){var t=la(dl());return t.copy=function(){return il(t,gl()).constant(t.constant())},ni.apply(t,arguments)}function vl(){var t=ha(dl());return t.copy=function(){return il(t,vl()).exponent(t.exponent())},ni.apply(t,arguments)}function ml(){return vl.apply(null,arguments).exponent(.5)}Tu=function(t){var n=t.dateTime,e=t.date,r=t.time,o=t.periods,i=t.days,a=t.shortDays,u=t.months,c=t.shortMonths,l=zu(o),s=Hu(o),f=zu(i),p=Hu(i),d=zu(a),h=Hu(a),y=zu(u),g=Hu(u),v=zu(c),m=Hu(c),b={a:function(t){return a[t.getDay()]},A:function(t){return i[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:sc,e:sc,f:yc,g:Ec,G:Sc,H:fc,I:pc,j:dc,L:hc,m:gc,M:vc,p:function(t){return o[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Qc,s:Xc,S:mc,u:bc,U:xc,V:wc,w:jc,W:kc,x:null,X:null,y:Mc,Y:Ac,Z:Pc,"%":Zc},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return i[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:Cc,e:Cc,f:Nc,g:Yc,G:Vc,H:_c,I:Dc,j:Tc,L:Ic,m:Lc,M:Rc,p:function(t){return o[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Qc,s:Xc,S:Uc,u:qc,U:Wc,V:zc,w:Hc,W:$c,x:null,X:null,y:Bc,Y:Kc,Z:Gc,"%":Zc},O={a:function(t,n,e){var r=d.exec(n.slice(e));return r?(t.w=h.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.w=p.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(t,n,e){var r=v.exec(n.slice(e));return r?(t.m=m.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=y.exec(n.slice(e));return r?(t.m=g.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return k(t,n,e,r)},d:tc,e:tc,f:ac,g:Zu,G:Gu,H:ec,I:ec,j:nc,L:ic,m:Ju,M:rc,p:function(t,n,e){var r=l.exec(n.slice(e));return r?(t.p=s.get(r[0].toLowerCase()),e+r[0].length):-1},q:Xu,Q:cc,s:lc,S:oc,u:Bu,U:Yu,V:Ku,w:$u,W:Vu,x:function(t,n,r){return k(t,e,n,r)},X:function(t,n,e){return k(t,r,n,e)},y:Zu,Y:Gu,Z:Qu,"%":uc};function w(t,n){return function(e){var r,o,i,a=[],u=-1,c=0,l=t.length;for(e instanceof Date||(e=new Date(+e));++u<l;)37===t.charCodeAt(u)&&(a.push(t.slice(c,u)),null!=(o=Lu[r=t.charAt(++u)])?r=t.charAt(++u):o="e"===r?" ":"0",(i=n[r])&&(r=i(e,o)),a.push(r),c=u+1);return a.push(t.slice(c,u)),a.join("")}}function j(t,n){return function(e){var r,o,i=Du(1900,void 0,1);if(k(i,t,e+="",0)!=e.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(n&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=_u(Du(i.y,0,1))).getUTCDay(),r=o>4||0===o?yu.ceil(r):yu(r),r=pu.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=Cu(Du(i.y,0,1))).getDay(),r=o>4||0===o?Qa.ceil(r):Qa(r),r=Va.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?_u(Du(i.y,0,1)).getUTCDay():Cu(Du(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,_u(i)):Cu(i)}}function k(t,n,e,r){for(var o,i,a=0,u=n.length,c=e.length;a<u;){if(r>=c)return-1;if(37===(o=n.charCodeAt(a++))){if(o=n.charAt(a++),!(i=O[o in Lu?n.charAt(a++):o])||(r=i(t,e,r))<0)return-1}else if(o!=e.charCodeAt(r++))return-1}return r}return b.x=w(e,b),b.X=w(r,b),b.c=w(n,b),x.x=w(e,x),x.X=w(r,x),x.c=w(n,x),{format:function(t){var n=w(t+="",b);return n.toString=function(){return t},n},parse:function(t){var n=j(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=w(t+="",x);return n.toString=function(){return t},n},utcParse:function(t){var n=j(t+="",!0);return n.toString=function(){return t},n}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),Iu=Tu.format,Tu.parse,Nu=Tu.utcFormat,Tu.utcParse;var bl=["linear","time","log","sqrt"];function xl(t){return"function"==typeof t?w(t.copy)&&w(t.domain)&&w(t.range):"string"==typeof t&&bl.includes(t)}function Ol(t,n){return!(!t.scale||(t.scale.x||t.scale.y)&&!t.scale[n])}function wl(t,n){if(!t.data)return"linear";var e=j(t[n]);return bo(t.data.map((function(t){var r=hr()(e(t))?e(t)[n]:e(t);return void 0!==r?r:t[n]})))?"time":"linear"}function jl(t){if(xl(t)){var e="scale".concat((r=t)&&r[0].toUpperCase()+r.slice(1));return n[e]()}var r;return Zi()}function kl(t,n){var e=function(t,n){if(Ol(t,n)){var e=t.scale[n]||t.scale;return xl(e)?w(e)?e:jl(e):void 0}}(t,n);return e?"string"==typeof e?jl(e):e:jl(function(t,n){var e;if(t.domain&&t.domain[n]?e=t.domain[n]:t.domain&&Array.isArray(t.domain)&&(e=t.domain),e)return bo(e)?"time":"linear"}(t,n)||wl(t,n))}function Ml(t,n){return function(t,n){if(Ol(t,n)){var e=t.scale[n]||t.scale;return"string"==typeof e?e:function(t){if("string"==typeof t)return t;var n=El.filter((function(n){return void 0!==t[n.method]}))[0];return n?n.name:void 0}(e)}}(t,n)||wl(t,n)}var El=[{name:"quantile",method:"quantiles"},{name:"log",method:"base"}];function Al(t){return!(!t||!t["@@__IMMUTABLE_ITERABLE__@@"])}function Sl(t,n){return Al(t)?t.reduce((function(t,e,r){var o=e;return n&&n[r]&&(o=Sl(e)),t[r]=o,t}),function(t){return!(!t||!t["@@__IMMUTABLE_LIST__@@"])}(t)?[]:{}):t}function Pl(t){return function(t){if(Array.isArray(t))return Cl(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return Cl(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Cl(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Cl(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function _l(t){var n;return Al(n=t)||function(t){return!(!t||!t["@@__IMMUTABLE_RECORD__@@"])}(n)?Sl(t,{errorX:!0,errorY:!0}):t}function Dl(t,n){var e=(hr()(t.domain)?t.domain[n]:t.domain)||kl(t,n).domain(),r=t.samples||1,o=Math.max.apply(Math,Pl(e)),i=Math.min.apply(Math,Pl(e)),a=function(t,n,e){var r=n?t:0,o=n||t;o||(o=0);var i=o-r,a=Math.abs(i),u=i/a||1,c=e||1,l=Math.max(Math.ceil(a/c),0);return Array.from(Array(l),(function(t,n){return r+n*u*c}))}(i,o,(o-i)/r);return a[a.length-1]===o?a:a.concat(o)}function Tl(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ascending";if(!n)return t;var r=n;"x"!==n&&"y"!==n||(r="_".concat(n));var o="ascending"===e?"asc":"desc";return pr()(t,r,o)}function Il(t,n){var e=function(t,n){var e=t.tickValues,r=t.tickFormat;return(e&&(Array.isArray(e)||e[n])?e[n]||e:r&&Array.isArray(r)?r:[]).filter((function(t){return"string"==typeof t}))}(t,n),r=Rl(t,n),o=function(t,n){if(!Array.isArray(t.data)&&!Al(t.data))return[];var e=j(void 0===t[n]?n:t[n]);return Tl(t.data.reduce((function(t,n){return t.push(_l(n)),t}),[]),t.sortKey,t.sortOrder).reduce((function(t,n){var r=_l(n);return t.push(e(r)),t}),[]).filter((function(t){return"string"==typeof t})).reduce((function(t,n){return null!=n&&-1===t.indexOf(n)&&t.push(n),t}),[])}(t,n),i=le()([].concat(Pl(e),Pl(r),Pl(o)));return 0===i.length?null:i.reduce((function(t,n,e){return t[n]=e+1,t}),{})}function Nl(t,n,e){if(!Array.isArray(t)&&!Al(t)||function(t){return Al(t)?t.size:t.length}(t)<1)return[];var r,o=["x","y","y0"],i=(e=Array.isArray(e)?e:o).reduce((function(t,e){var r;return t[e]=j(void 0!==n[r=e]?n[r]:r),t}),{}),a=Xo()(e,o)&&"_x"===n.x&&"_y"===n.y&&"_y0"===n.y0;!1===a&&(r={x:-1!==e.indexOf("x")?Il(n,"x"):void 0,y:-1!==e.indexOf("y")?Il(n,"y"):void 0,y0:-1!==e.indexOf("y0")?Il(n,"y"):void 0});var u=a?t:t.reduce((function(t,n,o){var a=_l(n),u={x:o,y:a},c=e.reduce((function(t,n){var e=i[n](a),o=void 0!==e?e:u[n];return void 0!==o&&("string"==typeof o&&r[n]?(t["".concat(n,"Name")]=o,t["_".concat(n)]=r[n][o]):t["_".concat(n)]=o),t}),{}),l=Object.assign({},c,a);return Ut()(l)||t.push(l),t}),[]),c=function(t,n){var e=1/Number.MAX_SAFE_INTEGER,r={x:Ml(n,"x"),y:Ml(n,"y")};if("log"!==r.x&&"log"!==r.y)return t;var o=function(t,n){return"log"!==r[n]||0!==t["_".concat(n)]};return t.map((function(t){return o(t,"x")&&o(t,"y")&&o(t,"y0")?t:function(t){var n=o(t,"x")?t._x:e,r=o(t,"y")?t._y:e,i=o(t,"y0")?t._y0:e;return Object.assign({},t,{_x:n,_y:r,_y0:i})}(t)}))}(Tl(u,n.sortKey,n.sortOrder),n);return function(t,n){var e,r=!!t.eventKey,o=w(e=t.eventKey)?e:null==e?function(){}:l()(e);return n.map((function(t,n){if(void 0!==t.eventKey)return t;if(r){var e=o(t,n);return void 0!==e?Object.assign({eventKey:e},t):t}return t}))}(n,c)}function Ll(t,n){return t.categories&&!Array.isArray(t.categories)?t.categories[n]:t.categories}function Rl(t,n){if(!t.categories)return[];var e=Ll(t,n),r=e&&e.filter((function(t){return"string"==typeof t}));return r?r.filter((function(t){return void 0!==t})):[]}var Ul=r(4295),ql=r.n(Ul),Wl=r(2829),Fl=r.n(Wl);function zl(t){return function(t){if(Array.isArray(t))return Hl(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return Hl(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Hl(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hl(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function $l(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"min",r=function(t){return"max"===e?Math.max.apply(Math,zl(t)):Math.min.apply(Math,zl(t))},o="max"===e?-1/0:1/0,i=!1,a=t.flat().reduce((function(t,e){var o=void 0!==e["_".concat(n,"0")]?e["_".concat(n,"0")]:e["_".concat(n)],a=void 0!==e["_".concat(n,"1")]?e["_".concat(n,"1")]:e["_".concat(n)],u=r([o,a]);return i=i||o instanceof Date||a instanceof Date,r([t,u])}),o);return i?new Date(a):a}function Bl(t,n){var e=w(t)?t:Kl,r=w(n)?n:Yl;return function(t,n){var o=function(t,n){var e=Zl(t,n),r=Gl(t,n);return hr()(t.domain)&&t.domain[n]?t.domain[n]:Array.isArray(t.domain)?t.domain:void 0!==e&&void 0!==r?Vl(e,r):void 0}(t,n);if(o)return r(o,t,n);var i=Ll(t,n),a=i?function(t,n,e){var r=e||Ll(t,n),o=t.polar,i=t.startAngle,a=void 0===i?0:i,u=t.endAngle,c=void 0===u?360:u;if(r){var l,s=Zl(t,n),f=Gl(t,n),p=(l=r,Array.isArray(l)&&l.some((function(t){return"string"==typeof t}))?Rl(t,n):[]),d=0===p.length?null:p.reduce((function(t,n,e){return t[n]=e+1,t}),{}),h=d?r.map((function(t){return d[t]})):r,y=Vl(void 0!==s?s:Oo(h),void 0!==f?f:xo(h));return o&&"x"===n&&360===Math.abs(a-c)?Ql(y,h):y}}(t,n,i):e(t,n);return a?r(a,t,n):void 0}}function Yl(t,n,e){return function(t,n,e){return"log"!==Ml(n,e)?t:(o=(r=t)[0]<0||r[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER,[0===r[0]?o:r[0],0===r[1]?o:r[1]]);var r,o}(function(t,n,e){if(!n.domainPadding)return t;var r=Zl(n,e),o=Gl(n,e),i=function(t,n){var e=function(t){return Array.isArray(t)?{left:t[0],right:t[1]}:{left:t,right:t}};return hr()(t.domainPadding)?e(t.domainPadding[n]):e(t.domainPadding)}(n,e);if(!i.left&&!i.right)return t;var a=Oo(t),u=xo(t),c=function(t,n){return n?"x"===t?"y":"x":t}(e,n.horizontal),l=x(n,c),s=Math.abs(l[0]-l[1]),f=Math.max(s-i.left-i.right,1),p=Math.abs(u.valueOf()-a.valueOf())/f*s,d=p*i.left/s,h=p*i.right/s,y={min:a.valueOf()-d,max:u.valueOf()+h},g=hr()(n.singleQuadrantDomainPadding)?n.singleQuadrantDomainPadding[e]:n.singleQuadrantDomainPadding,v=function(t,n){return"min"===n&&a>=0&&t<=0||"max"===n&&u<=0&&t>=0?0:t};if((a>=0&&y.min<=0||u<=0&&y.max>=0)&&!1!==g){var m={left:Math.abs(u-a)*i.left/s,right:Math.abs(u-a)*i.right/s},b={min:v(a.valueOf()-m.left,"min"),max:v(u.valueOf()+m.right,"max")},O={left:Math.abs(b.max-b.min)*i.left/s,right:Math.abs(b.max-b.min)*i.right/s};y={min:v(a.valueOf()-O.left,"min"),max:v(u.valueOf()+O.right,"max")}}var w={min:void 0!==r?r:y.min,max:void 0!==o?o:y.max};return a instanceof Date||u instanceof Date?Vl(new Date(w.min),new Date(w.max)):Vl(w.min,w.max)}(t,n,e),n,e)}function Kl(t,n,e){var r=e||function(t){return t.data?Nl(t.data,t):Nl(function(t){var n=Dl(t,"x"),e=Dl(t,"y");return n.map((function(t,n){return{x:t,y:e[n]}}))}(t),t)}(t),o=t.polar,i=t.startAngle,a=void 0===i?0:i,u=t.endAngle,c=void 0===u?360:u,l=Zl(t,n),s=Gl(t,n);if(r.length<1)return void 0!==l&&void 0!==s?Vl(l,s):void 0;var f=Vl(void 0!==l?l:$l(r,n,"min"),void 0!==s?s:$l(r,n,"max"));return o&&"x"===n&&360===Math.abs(a-c)?Ql(f,function(t,n){var e="_".concat(n);return t.flat().map((function(t){return t[e]&&void 0!==t[e][1]?t[e][1]:t[e]}))}(r,n)):f}function Vl(t,n){var e,r,o,i;return Number(t)===Number(n)?(r=0===(e=n)?2*Math.pow(10,-10):Math.pow(10,-10),o=e instanceof Date?new Date(Number(e)-1):Number(e)-r,i=e instanceof Date?new Date(Number(e)+1):Number(e)+r,0===e?[0,i]:[o,i]):[t,n]}function Gl(t,n){return hr()(t.maxDomain)&&void 0!==t.maxDomain[n]?t.maxDomain[n]:"number"==typeof t.maxDomain||ql()(t.maxDomain)?t.maxDomain:void 0}function Zl(t,n){return hr()(t.minDomain)&&void 0!==t.minDomain[n]?t.minDomain[n]:"number"==typeof t.minDomain||ql()(t.minDomain)?t.minDomain:void 0}function Ql(t,n){var e=Fl()(n.sort((function(t,n){return t-n}))),r=e[1]-e[0];return[t[0],t[1]+r]}var Xl=["max","min","median","q1","q3"],Jl=function(t){return Number.isNaN(t)?null:t},ts=function(t){var n=t.map((function(t){return t._y})),e={_q1:Jl(Ma(n,.25)),_q3:Jl(Ma(n,.75)),_min:Jl(Oa(n)),_median:Jl(Ma(n,.5)),_max:Jl(xa(n))};return Object.assign({},t[0],e,{_y:t[0]._y})},ns=function(t){var n=Xl.concat("x","y"),e=Nl(t.data,t,n);return e.length?function(t){var n=function(t){if(t.every((function(t){return Xl.every((function(n){return void 0!==t["_".concat(n)]}))}))){var n=t.map((function(t){return t._x}));if(!le()(n).length===n.length)throw new Error("\n data prop may only take an array of objects with a unique\n independent variable. Make sure your x values are distinct.\n ");return!0}return!1}(t);if(n)return t;var e=t.every((function(t){return Array.isArray(t._x)})),r=t.every((function(t){return Array.isArray(t._y)})),o="_y";if(e)throw new Error("\n data should not be given as in array for x\n ");if(r)return t.map((function(t){var n=t._y.map((function(n){return Object.assign({},t,function(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t._y=e,t}({},o,n))})),e=pr()(n,o);return ts(e)}));var i=Zo()(t,"_x");return Object.keys(i).map((function(t){var n=i[t],e=pr()(n,o);return ts(e)}))}(e):[]},es=function(t,n){var e=Zl(t,n),r=Gl(t,n),o=ns(t);return o.length<1?void 0!==e&&void 0!==r?Vl(e,r):void 0:"y"===n?function(t,n,e){var r=Zl(n,e),o=Gl(n,e);return Vl(void 0!==r?r:t.reduce((function(t,n){return t<n._min?t:n._min}),1/0),void 0!==o?o:t.reduce((function(t,n){return t>n._max?t:n._max}),-1/0))}(o,t,n):function(t,n,e){var r=Zl(n,e),o=Gl(n,e);return Vl(void 0!==r?r:t.reduce((function(t,n){return t<n["_".concat(e)]?t:n["_".concat(e)]}),1/0),void 0!==o?o:t.reduce((function(t,n){return t>n["_".concat(e)]?t:n["_".concat(e)]}),-1/0))}(o,t,n)},rs=function(t,n){return Bl(es)(t,n)},os=function(t,n,e){var r=t["".concat(e,"LabelComponent")]||t.labelComponent,o=n["".concat(e,"Labels")]||n.labels;if(!y(r))return o;var i=t.theme&&t.theme.tooltip||{};return f()({},i.style,o)},is=function(t,n){var e=k(t,n,"boxplot"),r=Object.assign({},e,function(t){var n=t.theme,e=t.horizontal,r=ns(t),o={x:x(t,"x"),y:x(t,"y")},i={x:rs(t,"x"),y:rs(t,"y")},a={x:kl(t,"x").domain(i.x).range(t.horizontal?o.y:o.x),y:kl(t,"y").domain(i.y).range(t.horizontal?o.x:o.y)},u=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.disableInlineStyles)return{};var e=t.style||{},r={height:"100%",width:"100%"},o=f()({},e.labels,os(t,n)),i=f()({},e.boxes,n.boxes),a=f()({},e.whiskers,n.whiskers);return{boxes:i,labels:o,parent:f()({},e.parent,n.parent,r),max:f()({},e.max,n.max,a),maxLabels:f()({},e.maxLabels,os(t,n,"max"),o),median:f()({},e.median,n.median,a),medianLabels:f()({},e.medianLabels,os(t,n,"median"),o),min:f()({},e.min,n.min,a),minLabels:f()({},e.minLabels,os(t,n,"min"),o),q1:f()({},e.q1,n.q1,i),q1Labels:f()({},e.q1Labels,os(t,n,"q1"),o),q3:f()({},e.q3,n.q3,i),q3Labels:f()({},e.q3Labels,os(t,n,"q3"),o),whiskers:a}}(t,n&&n.boxplot&&n.boxplot.style?n.boxplot.style:{}),c=t.horizontal?"top":"right";return{data:r,horizontal:e,domain:i,scale:a,style:u,labelOrientation:t.labelOrientation||c,boxWidth:t.boxWidth||1}}(e)),o=r.groupComponent,i=r.width,a=r.height,u=r.padding,c=r.standalone,l=r.theme,s=r.events,d=r.sharedEvents,h=r.scale,g=r.horizontal,v=r.data,m=r.style,b=r.domain,w=r.name,j={parent:{domain:b,scale:h,width:i,height:a,data:v,standalone:c,name:w,theme:l,style:m.parent||{},padding:u,groupComponent:o,horizontal:g}},M=h.y;return v.reduce((function(t,n,e){var o=O(n.eventKey)?e:n.eventKey;if(function(t,n){var e,r,o=function(t){return void 0!==t},i=t._x,a=t._min,u=t._max,c=Oo(n.x),l=xo(n.x),s=Oo(n.y),f=xo(n.y),p=function(t){return function(n){return o(n)&&n<t}},d=function(t){return function(n){return o(n)&&n>t}},h=p(c),y=p(s),g=d(l),v=d(f);return(h(i)||g(i))&&(r=!0),(y(a)&&y(u)||v(a)&&v(u))&&(e=!0),e||r}(n,b))return t;var i={x:g?h.y(n._y):h.x(n._x),y:g?h.x(n._x):h.y(n._y),min:M(n._min),max:M(n._max),median:M(n._median),q1:M(n._q1),q3:M(n._q3)},a=Object.assign({index:e,datum:n,positions:i},r),u=Xl.reduce((function(t,n){return t[n]=function(t,n){return"median"===n?function(t){var n=t.boxWidth,e=t.horizontal,r=t.style,o=t.datum,i=t.scale,a=t.index,u=t.disableInlineStyles,c=t.positions,l=c.median,s=c.x,f=c.y;return{datum:o,scale:i,index:a,x1:e?l:s-n/2,y1:e?f-n/2:l,x2:e?l:s+n/2,y2:e?f+n/2:l,style:u?{}:r.median,disableInlineStyles:u}}(t):"min"===n||"max"===n?function(t,n){var e=t.horizontal,r=t.style,o=t.boxWidth,i=t.whiskerWidth,a=t.datum,u=t.scale,c=t.index,l=t.disableInlineStyles,s=t.positions,f=s.min,p=s.max,d=s.q1,h=s.q3,y=s.x,g=s.y,v="min"===n?d:h,m="min"===n?f:p,b="number"==typeof i?i:o;return{datum:a,index:c,scale:u,majorWhisker:{x1:e?v:y,y1:e?g:v,x2:e?m:y,y2:e?g:m},minorWhisker:{x1:e?m:y-b/2,y1:e?g-b/2:m,x2:e?m:y+b/2,y2:e?g+b/2:m},style:l?{}:r[n]||r.whisker,disableInlineStyles:l}}(t,n):function(t,n){var e=t.horizontal,r=t.boxWidth,o=t.style,i=t.scale,a=t.datum,u=t.index,c=t.disableInlineStyles,l=t.positions,s=l.median,f=l.q1,p=l.q3,d=l.x,h=l.y;return{datum:a,scale:i,index:u,x:e?"q1"===n?f:s:d-r/2,y:e?h-r/2:"q1"===n?s:p,width:e?"q1"===n?s-f:p-s:r,height:e?r:"q1"===n?f-s:s-p,style:c?{}:o[n]||o.boxes,disableInlineStyles:c}}(t,n)}(a,n),t}),{});return t[o]=u,Xl.forEach((function(n){var e=function(t,n){var e=t.datum,r=t.index,o=t.labels,i=t["".concat(n,"Labels")];if(!i&&!o)return null;if(!0===i||!0===o){var a="_".concat(n);return"".concat(e[a])}return Array.isArray(i)?i[r]:i}(a,n),i=r.labels||r["".concat(n,"Labels")];if(null!=e||i&&(s||d)){var u="".concat(n,"Labels");t[o][u]=function(t,n,e){var r=t.datum,o=t.positions,i=t.index,a=t.boxWidth,u=t.horizontal,c=t.labelOrientation,l=t.style,s=t.theme,d=t.disableInlineStyles,h=function(t,n){return"object"==typeof t&&t[n]||t}(c,e),g=l["".concat(e,"Labels")]||l.labels,v="number"==typeof t.whiskerWidth?t.whiskerWidth:a,m="min"===e||"max"===e?v:a,b=function(t){var n={x:"left"===h?-1:1,y:"top"===h?-1:1};return n[t]*m/2+n[t]*(g.padding||0)},x={text:n,datum:r,index:i,orientation:h,style:d?{}:g,y:u?o.y:o[e],x:u?o[e]:o.x,dy:u?b("y"):0,dx:u?0:b("x"),textAnchor:g.textAnchor||{left:"end",right:"start",top:"middle",bottom:"middle"}[h],verticalAnchor:g.verticalAnchor||{top:"end",bottom:"start",left:"middle",right:"middle"}[h],angle:g.angle,horizontal:u,disableInlineStyles:d};if(!y(t["".concat(e,"LabelComponent")]))return x;var O=s&&s.tooltip||{};return f()({},x,p(O,["style"]))}(Object.assign({},r,a),e,n)}})),t}),j)};function as(t){return function(t){if(Array.isArray(t))return us(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return us(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?us(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function us(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function cs(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function ls(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ss(t,n){return ss=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},ss(t,n)}function fs(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function ps(t){return ps=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ps(t)}var ds={width:450,height:300,padding:{top:20,right:20,bottom:20,left:20}},hs=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&ss(t,n)}(c,t);var n,r,o,a,u=(o=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=ps(o);if(a){var e=ps(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return fs(this,t)});function c(){return cs(this,c),u.apply(this,arguments)}return n=c,(r=[{key:"renderBoxPlot",value:function(t){var n=this,e=["q1","q3","max","min","median"],r=e.map((function(e){return n.dataKeys.reduce((function(r,o,a){var u=t["".concat(e,"Component")],c=n.getComponentProps(u,e,a);return n.shouldRenderDatum(c.datum)&&r.push(i().cloneElement(u,c)),r}),[])})).flat(),o=e.map((function(e){return n.dataKeys.reduce((function(r,o,a){var u="".concat(e,"Labels"),c=t["".concat(e,"LabelComponent")],l=n.getComponentProps(c,u,a);return void 0!==l.text&&null!==l.text&&r.push(i().cloneElement(c,l)),r}),[]).filter(Boolean)})).flat(),a=[].concat(as(r),as(o));return this.renderContainer(t.groupComponent,a)}},{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"shouldRenderDatum",value:function(t){var n=!O(t._x),e=!O(t._y);return!(O(t._min)||O(t._max)||O(t._median)||O(t._q1)||O(t._q3))&&(this.props.horizontal?e:n)}},{key:"render",value:function(){var t=ys.animationWhitelist,n=ys.role,r=k(this.props,ds,n);if(this.shouldAnimate())return this.animateComponent(r,t);var o=this.renderBoxPlot(r);return function(t,n){return e.cloneElement(t,C(n))}(r.standalone?this.renderContainer(r.containerComponent,o):o,r)}}])&&ls(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(i().Component);hs.animationWhitelist=["data","domain","height","padding","style","width"],hs.displayName="VictoryBoxPlot",hs.role="boxplot",hs.defaultTransitions={onLoad:{duration:2e3,before:function(){return{opacity:0}},after:function(t){return t}},onExit:{duration:600,before:function(){return{opacity:0}}},onEnter:{duration:600,before:function(){return{opacity:0}},after:function(t){return t}}},hs.defaultProps={containerComponent:i().createElement(gt,null),data:[{x:1,min:5,q1:7,median:12,q3:18,max:20},{x:2,min:2,q1:5,median:8,q3:12,max:15}],dataComponent:i().createElement(Et,null),groupComponent:i().createElement("g",{role:"presentation"}),maxComponent:i().createElement(Lt,null),maxLabelComponent:i().createElement(Ln,null),medianComponent:i().createElement(Fn,null),medianLabelComponent:i().createElement(Ln,null),minComponent:i().createElement(Lt,null),minLabelComponent:i().createElement(Ln,null),q1Component:i().createElement(Et,null),q1LabelComponent:i().createElement(Ln,null),q3Component:i().createElement(Et,null),q3LabelComponent:i().createElement(Ln,null),samples:50,sortKey:"x",sortOrder:"ascending",standalone:!0,theme:ie.grayscale},hs.getDomain=rs,hs.getData=ns,hs.getBaseProps=function(t){return is(t,ds)},hs.expectedComponents=["maxComponent","maxLabelComponent","medianComponent","medianLabelComponent","minComponent","minLabelComponent","q1Component","q1LabelComponent","q3Component","q3LabelComponent","groupComponent","containerComponent"];var ys=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=function(e){Fo(o,e);var r=Ho(o);function o(t){var n;return Uo(this,o),(n=r.call(this,t)).state={},n.getEventState=Oe.bind(Bo(n)),n.getScopedEvents=be.bind(Bo(n)),n.getEvents=function(t,e,r){return me.call(Bo(n),t,e,r,n.getScopedEvents)},n.externalMutations=n.getExternalMutations(n.props),n.calculatedState=n.getStateChanges(n.props),n.globalEvents={},n.prevGlobalEventKeys=[],n.boundGlobalEvents={},n.cacheValues(n.getCalculatedValues(t)),n}return Wo(o,[{key:"shouldComponentUpdate",value:function(t){var n=this.getExternalMutations(t),e=this.props.animating||this.props.animate,r=!Ce()(n,this.externalMutations);if(e||r)return this.cacheValues(this.getCalculatedValues(t)),this.externalMutations=n,this.applyExternalMutations(t,n),!0;var o=this.getStateChanges(t);return Ce()(this.calculatedState,o)?!Ce()(this.props,t)&&(this.cacheValues(this.getCalculatedValues(t)),!0):(this.cacheValues(this.getCalculatedValues(t)),!0)}},{key:"componentDidMount",value:function(){var t=this,n=Object.keys(this.globalEvents);n.forEach((function(n){return t.addGlobalListener(n)})),this.prevGlobalEventKeys=n}},{key:"componentDidUpdate",value:function(t){var n=this,e=this.getStateChanges(t);this.calculatedState=e;var r=Object.keys(this.globalEvents);ue()(this.prevGlobalEventKeys,r).forEach((function(t){return n.removeGlobalListener(t)})),ue()(r,this.prevGlobalEventKeys).forEach((function(t){return n.addGlobalListener(t)})),this.prevGlobalEventKeys=r}},{key:"componentWillUnmount",value:function(){var t=this;this.prevGlobalEventKeys.forEach((function(n){return t.removeGlobalListener(n)}))}},{key:"addGlobalListener",value:function(t){var n=this,e=function(e){var r=n.globalEvents[t];return r&&r(Se(e))};this.boundGlobalEvents[t]=e,window.addEventListener(Me(t),e)}},{key:"removeGlobalListener",value:function(t){window.removeEventListener(Me(t),this.boundGlobalEvents[t])}},{key:"getStateChanges",value:function(t){var e=this;if(!this.hasEvents)return{};var r=function(t,n){var r=f()({},e.getEventState(t,n),e.getSharedEventState(t,n));return Ut()(r)?void 0:r};return(n.components||Vo).map((function(n){if(t.standalone||"parent"!==n.name)return void 0!==n.index?r(n.index,n.name):e.dataKeys.map((function(t){return r(t,n.name)})).filter(Boolean)})).filter(Boolean)}},{key:"applyExternalMutations",value:function(t,n){if(!Ut()(n)){var e=t.externalEventMutations.reduce((function(t,n){return w(n.callback)?t.concat(n.callback):t}),[]),r=e.length?function(){e.forEach((function(t){return t()}))}:void 0;this.setState(n,r)}}},{key:"getCalculatedValues",value:function(n){var e=n.sharedEvents,r=ke(n,t.expectedComponents),o=e&&w(e.getEventState)?e.getEventState:function(){},i=this.getBaseProps(n,o);return{componentEvents:r,getSharedEventState:o,baseProps:i,dataKeys:Object.keys(i).filter((function(t){return"parent"!==t})),hasEvents:n.events||n.sharedEvents||r,events:this.getAllEvents(n)}}},{key:"getExternalMutations",value:function(t){var n=t.sharedEvents,e=t.externalEventMutations;return Ut()(e)||n?void 0:we(e,this.baseProps,this.state)}},{key:"cacheValues",value:function(t){var n=this;Object.keys(t).forEach((function(e){n[e]=t[e]}))}},{key:"getBaseProps",value:function(n,e){var r=(e||this.getSharedEventState.bind(this))("parent","parent"),o=this.getEventState("parent","parent"),i=f()({},o,r),a=i.parentControlledProps,c=a?u()(i,a):{},l=f()({},c,n);return"function"==typeof t.getBaseProps?t.getBaseProps(l):{}}},{key:"getAllEvents",value:function(t){var n;return Array.isArray(this.componentEvents)?Array.isArray(t.events)?(n=this.componentEvents).concat.apply(n,Lo(t.events)):this.componentEvents:t.events}},{key:"getComponentProps",value:function(n,e,r){var o=this.props.name||t.role,i=this.dataKeys&&this.dataKeys[r]||r,a="".concat(o,"-").concat(e,"-").concat(i),u=this.baseProps[i]&&this.baseProps[i][e]||this.baseProps[i];if(u||this.hasEvents){var c=n&&"object"==typeof n&&"props"in n?n.props:void 0;if(this.hasEvents){var l=this.getEvents(this.props,e,i),s=f()({index:r,key:a},this.getEventState(i,e),this.getSharedEventState(i,e),c,u,{id:a}),p=f()({},xe(l,i,s),s.events);return Object.assign({},s,{events:p})}return f()({index:r,key:a},c,u,{id:a})}}},{key:"renderContainer",value:function(t,n){var e=t.type&&"container"===t.type.role?this.getComponentProps(t,"parent","parent"):{};return e.events&&(this.globalEvents=Ee(e.events),e.events=Ae(e.events)),i().cloneElement(t,e,n)}},{key:"animateComponent",value:function(t,n){var e,r="object"==typeof t.animate&&(null===(e=t.animate)||void 0===e?void 0:e.animationWhitelist)||n,o=this.constructor;return i().createElement(No,{animate:t.animate,animationWhitelist:r},i().createElement(o,t))}},{key:"renderContinuousData",value:function(t){var n=this,e=t.dataComponent,r=t.labelComponent,o=t.groupComponent,a=this.dataKeys.filter((function(t){return"all"!==t})),u=a.reduce((function(t,e){var o=t,a=n.getComponentProps(r,"labels",e);return a&&void 0!==a.text&&null!==a.text&&(o=o.concat(i().cloneElement(r,a))),o}),[]),c=this.getComponentProps(e,"data","all"),l=[i().cloneElement(e,c)].concat(Lo(u));return this.renderContainer(o,l)}},{key:"renderData",value:function(t){var n=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ko,r=t.dataComponent,o=t.labelComponent,a=t.groupComponent,u=this.dataKeys.reduce((function(t,o,a){var u=n.getComponentProps(r,"data",a);return e(u.datum)&&t.push(i().cloneElement(r,u)),t}),[]),c=this.dataKeys.map((function(t,e){var r=n.getComponentProps(o,"labels",e);if(void 0!==r.text&&null!==r.text)return i().cloneElement(o,r)})).filter(Boolean),l=[].concat(Lo(u),Lo(c));return this.renderContainer(a,l)}}]),o}(t);return e}(hs,{components:[{name:"min"},{name:"minLabels"},{name:"max"},{name:"maxLabels"},{name:"median"},{name:"medianLabels"},{name:"q1"},{name:"q1Labels"},{name:"q3"},{name:"q3Labels"},{name:"parent",index:"parent"}]})})(),o})()));
1
+ !function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react")):"function"==typeof define&&define.amd?define(["react"],n):"object"==typeof exports?exports.VictoryBoxPlot=n(require("react")):t.VictoryBoxPlot=n(t.React)}(self,(function(t){return function(){var n={503:function(t,n,e){var r=e(1171),i=e(7838),o=e(4859),a=e(4073),u=e(8541);function s(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=u,t.exports=s},3273:function(t,n,e){var r=e(163);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},8708:function(t,n,e){var r=e(1171),i=e(7838),o=e(4859),a=e(4073),u=e(8541);function s(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=u,t.exports=s},2596:function(t,n,e){var r=e(2373).Symbol;t.exports=r},6082:function(t){t.exports=function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}},6649:function(t){t.exports=function(t,n,e,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];n(r,a,e(a),t)}return r}},5510:function(t,n,e){var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9955:function(t){t.exports=function(t,n,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(e(n,t[r]))return!0;return!1}},8644:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e<r;)i[e]=n(t[e],e,t);return i}},9559:function(t){t.exports=function(t,n){for(var e=-1,r=n.length,i=t.length;++e<r;)t[i+e]=n[e];return t}},1634:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}},4132:function(t,n,e){var r=e(8347),i=e(788),o=Object.prototype.hasOwnProperty;t.exports=function(t,n,e){var a=t[n];o.call(t,n)&&i(a,e)&&(void 0!==e||n in t)||r(t,n,e)}},3162:function(t,n,e){var r=e(788);t.exports=function(t,n){for(var e=t.length;e--;)if(r(t[e][0],n))return e;return-1}},4508:function(t){t.exports=function(t,n,e,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];n(r,a,e(a),t)}return r}},8347:function(t,n,e){var r=e(5525);t.exports=function(t,n,e){"__proto__"==n&&r?r(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}},6457:function(t,n,e){var r=e(9559),i=e(3608);t.exports=function t(n,e,o,a,u){var s=-1,c=n.length;for(o||(o=i),u||(u=[]);++s<c;){var l=n[s];e>0&&o(l)?e>1?t(l,e-1,o,a,u):r(u,l):a||(u[u.length]=l)}return u}},4432:function(t,n,e){var r=e(9026),i=e(3110);t.exports=function(t,n){for(var e=0,o=(n=r(n,t)).length;null!=t&&e<o;)t=t[i(n[e++])];return e&&e==o?t:void 0}},563:function(t){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},6776:function(t){t.exports=function(t,n){return null!=t&&n in Object(t)}},6123:function(t){t.exports=function(t,n,e){for(var r=e-1,i=t.length;++r<i;)if(t[r]===n)return r;return-1}},7537:function(t,n,e){var r=e(563),i=e(3474);t.exports=function(t){return i(t)&&"[object Date]"==r(t)}},9070:function(t,n,e){var r=e(7028),i=e(3474);t.exports=function t(n,e,o,a,u){return n===e||(null==n||null==e||!i(n)&&!i(e)?n!=n&&e!=e:r(n,e,o,a,t,u))}},7028:function(t,n,e){var r=e(8708),i=e(8705),o=e(2813),a=e(6682),u=e(9667),s=e(163),c=e(4801),l=e(4289),f="[object Arguments]",d="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,g,m,y){var v=s(t),b=s(n),x=v?d:u(t),w=b?d:u(n),M=(x=x==f?h:x)==h,k=(w=w==f?h:w)==h,E=x==w;if(E&&c(t)){if(!c(n))return!1;v=!0,M=!1}if(E&&!M)return y||(y=new r),v||l(t)?i(t,n,e,g,m,y):o(t,n,x,e,g,m,y);if(!(1&e)){var O=M&&p.call(t,"__wrapped__"),A=k&&p.call(n,"__wrapped__");if(O||A){var j=O?t.value():t,C=A?n.value():n;return y||(y=new r),m(j,C,e,g,y)}}return!!E&&(y||(y=new r),a(t,n,e,g,m,y))}},9548:function(t,n,e){var r=e(8708),i=e(9070);t.exports=function(t,n,e,o){var a=e.length,u=a,s=!o;if(null==t)return!u;for(t=Object(t);a--;){var c=e[a];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a<u;){var l=(c=e[a])[0],f=t[l],d=c[1];if(s&&c[2]){if(void 0===f&&!(l in t))return!1}else{var h=new r;if(o)var p=o(f,d,l,t,n,h);if(!(void 0===p?i(d,f,3,o,h):p))return!1}}return!0}},3472:function(t,n,e){var r=e(758),i=e(5223),o=e(5346),a=e(163),u=e(8532);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):r(t):u(t)}},7190:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},383:function(t){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e<r;)i[e]=n(t[e],e,t);return i}},758:function(t,n,e){var r=e(9548),i=e(597),o=e(6878);t.exports=function(t){var n=i(t);return 1==n.length&&n[0][2]?o(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},5223:function(t,n,e){var r=e(9070),i=e(9201),o=e(5066),a=e(726),u=e(5385),s=e(6878),c=e(3110);t.exports=function(t,n){return a(t)&&u(n)?s(c(t),n):function(e){var a=i(e,t);return void 0===a&&a===n?o(e,t):r(n,a,3)}}},8245:function(t,n,e){var r=e(8644),i=e(4432),o=e(3472),a=e(383),u=e(9521),s=e(9110),c=e(9409),l=e(5346),f=e(163);t.exports=function(t,n,e){n=n.length?r(n,(function(t){return f(t)?function(n){return i(n,1===t.length?t[0]:t)}:t})):[l];var d=-1;n=r(n,s(o));var h=a(t,(function(t,e,i){return{criteria:r(n,(function(n){return n(t)})),index:++d,value:t}}));return u(h,(function(t,n){return c(t,n,e)}))}},5436:function(t,n,e){var r=e(6371),i=e(5066);t.exports=function(t,n){return r(t,n,(function(n,e){return i(t,e)}))}},6371:function(t,n,e){var r=e(4432),i=e(6539),o=e(9026);t.exports=function(t,n,e){for(var a=-1,u=n.length,s={};++a<u;){var c=n[a],l=r(t,c);e(l,c)&&i(s,o(c,t),l)}return s}},1600:function(t){t.exports=function(t){return function(n){return null==n?void 0:n[t]}}},3301:function(t,n,e){var r=e(4432);t.exports=function(t){return function(n){return r(n,t)}}},6317:function(t,n,e){var r=e(5346),i=e(4280),o=e(201);t.exports=function(t,n){return o(i(t,n,r),t+"")}},6539:function(t,n,e){var r=e(4132),i=e(9026),o=e(9099),a=e(7709),u=e(3110);t.exports=function(t,n,e,s){if(!a(t))return t;for(var c=-1,l=(n=i(n,t)).length,f=l-1,d=t;null!=d&&++c<l;){var h=u(n[c]),p=e;if("__proto__"===h||"constructor"===h||"prototype"===h)return t;if(c!=f){var g=d[h];void 0===(p=s?s(g,h,d):void 0)&&(p=a(g)?g:o(n[c+1])?[]:{})}r(d,h,p),d=d[h]}return t}},9521:function(t){t.exports=function(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}},7556:function(t,n,e){var r=e(788);t.exports=function(t,n){for(var e=-1,i=t.length,o=0,a=[];++e<i;){var u=t[e],s=n?n(u):u;if(!e||!r(s,c)){var c=s;a[o++]=0===u?0:u}}return a}},6316:function(t,n,e){var r=e(2596),i=e(8644),o=e(163),a=e(1995),u=r?r.prototype:void 0,s=u?u.toString:void 0;t.exports=function t(n){if("string"==typeof n)return n;if(o(n))return i(n,t)+"";if(a(n))return s?s.call(n):"";var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},9110:function(t){t.exports=function(t){return function(n){return t(n)}}},946:function(t,n,e){var r=e(3273),i=e(5510),o=e(9955),a=e(9914),u=e(6602),s=e(6226);t.exports=function(t,n,e){var c=-1,l=i,f=t.length,d=!0,h=[],p=h;if(e)d=!1,l=o;else if(f>=200){var g=n?null:u(t);if(g)return s(g);d=!1,l=a,p=new r}else p=n?[]:h;t:for(;++c<f;){var m=t[c],y=n?n(m):m;if(m=e||0!==m?m:0,d&&y==y){for(var v=p.length;v--;)if(p[v]===y)continue t;n&&p.push(y),h.push(m)}else l(p,y,e)||(p!==h&&p.push(y),h.push(m))}return h}},9914:function(t,n,e){var r=e(6123);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},9026:function(t,n,e){var r=e(163),i=e(726),o=e(7801),a=e(7010);t.exports=function(t,n){return r(t)?t:i(t,n)?[t]:o(a(t))}},522:function(t,n,e){var r=e(1995);t.exports=function(t,n){if(t!==n){var e=void 0!==t,i=null===t,o=t==t,a=r(t),u=void 0!==n,s=null===n,c=n==n,l=r(n);if(!s&&!l&&!a&&t>n||a&&u&&c&&!s&&!l||i&&u&&c||!e&&c||!o)return 1;if(!i&&!a&&!l&&t<n||l&&e&&o&&!i&&!a||s&&e&&o||!u&&o||!c)return-1}return 0}},9409:function(t,n,e){var r=e(522);t.exports=function(t,n,e){for(var i=-1,o=t.criteria,a=n.criteria,u=o.length,s=e.length;++i<u;){var c=r(o[i],a[i]);if(c)return i>=s?c:c*("desc"==e[i]?-1:1)}return t.index-n.index}},5659:function(t,n,e){var r=e(6649),i=e(4508),o=e(3472),a=e(163);t.exports=function(t,n){return function(e,u){var s=a(e)?r:i,c=n?n():{};return s(e,t,o(u,2),c)}}},6602:function(t){t.exports=function(){}},5525:function(t,n,e){var r=e(3743),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},8705:function(t,n,e){var r=e(3273),i=e(1634),o=e(9914);t.exports=function(t,n,e,a,u,s){var c=1&e,l=t.length,f=n.length;if(l!=f&&!(c&&f>l))return!1;var d=s.get(t),h=s.get(n);if(d&&h)return d==n&&h==t;var p=-1,g=!0,m=2&e?new r:void 0;for(s.set(t,n),s.set(n,t);++p<l;){var y=t[p],v=n[p];if(a)var b=c?a(v,y,p,n,t,s):a(y,v,p,t,n,s);if(void 0!==b){if(b)continue;g=!1;break}if(m){if(!i(n,(function(t,n){if(!o(m,n)&&(y===t||u(y,t,e,a,s)))return m.push(n)}))){g=!1;break}}else if(y!==v&&!u(y,v,e,a,s)){g=!1;break}}return s.delete(t),s.delete(n),g}},2813:function(t){t.exports=function(t,n){return t===n||t!=t&&n!=n}},6682:function(t,n,e){var r=e(8143),i=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,o,a,u){var s=1&e,c=r(t),l=c.length;if(l!=r(n).length&&!s)return!1;for(var f=l;f--;){var d=c[f];if(!(s?d in n:i.call(n,d)))return!1}var h=u.get(t),p=u.get(n);if(h&&p)return h==n&&p==t;var g=!0;u.set(t,n),u.set(n,t);for(var m=s;++f<l;){var y=t[d=c[f]],v=n[d];if(o)var b=s?o(v,y,d,n,t,u):o(y,v,d,t,n,u);if(!(void 0===b?y===v||a(y,v,e,o,u):b)){g=!1;break}m||(m="constructor"==d)}if(g&&!m){var x=t.constructor,w=n.constructor;x==w||!("constructor"in t)||!("constructor"in n)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(g=!1)}return u.delete(t),u.delete(n),g}},5557:function(t,n,e){var r=e(2645),i=e(4280),o=e(201);t.exports=function(t){return o(i(t,void 0,r),t+"")}},2117:function(t,n,e){var r="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g;t.exports=r},8143:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},7271:function(t){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},597:function(t,n,e){var r=e(5385),i=e(7747);t.exports=function(t){for(var n=i(t),e=n.length;e--;){var o=n[e],a=t[o];n[e]=[o,a,r(a)]}return n}},3743:function(t){t.exports=function(t,n){return null==t?void 0:t[n]}},9817:function(t,n,e){var r=e(5125)(Object.getPrototypeOf,Object);t.exports=r},9667:function(t){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},3096:function(t,n,e){var r=e(9026),i=e(5075),o=e(163),a=e(9099),u=e(8454),s=e(3110);t.exports=function(t,n,e){for(var c=-1,l=(n=r(n,t)).length,f=!1;++c<l;){var d=s(n[c]);if(!(f=null!=t&&e(t,d)))break;t=t[d]}return f||++c!=l?f:!!(l=null==t?0:t.length)&&u(l)&&a(d,l)&&(o(t)||i(t))}},3608:function(t,n,e){var r=e(2596),i=e(5075),o=e(163),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},9099:function(t){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},8286:function(t){t.exports=function(){return!1}},726:function(t,n,e){var r=e(163),i=e(1995),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,n){if(r(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!i(t))||a.test(t)||!o.test(t)||null!=n&&t in Object(n)}},5782:function(t){t.exports=function(){return!1}},5385:function(t,n,e){var r=e(7709);t.exports=function(t){return t==t&&!r(t)}},1171:function(t){t.exports=function(){this.__data__=[],this.size=0}},7838:function(t,n,e){var r=e(3162),i=Array.prototype.splice;t.exports=function(t){var n=this.__data__,e=r(n,t);return!(e<0||(e==n.length-1?n.pop():i.call(n,e,1),--this.size,0))}},4859:function(t,n,e){var r=e(3162);t.exports=function(t){var n=this.__data__,e=r(n,t);return e<0?void 0:n[e][1]}},4073:function(t,n,e){var r=e(3162);t.exports=function(t){return r(this.__data__,t)>-1}},8541:function(t,n,e){var r=e(3162);t.exports=function(t,n){var e=this.__data__,i=r(e,t);return i<0?(++this.size,e.push([t,n])):e[i][1]=n,this}},6878:function(t){t.exports=function(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}},2453:function(t){t.exports=function(t){return t}},2348:function(t,n,e){t=e.nmd(t);var r=e(2117),i=n&&!n.nodeType&&n,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,u=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u},5125:function(t){t.exports=function(t,n){return function(e){return t(n(e))}}},4280:function(t,n,e){var r=e(6082),i=Math.max;t.exports=function(t,n,e){return n=i(void 0===n?t.length-1:n,0),function(){for(var o=arguments,a=-1,u=i(o.length-n,0),s=Array(u);++a<u;)s[a]=o[n+a];a=-1;for(var c=Array(n+1);++a<n;)c[a]=o[a];return c[n]=e(s),r(t,this,c)}}},2373:function(t,n,e){var r=e(2117),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},6226:function(t){t.exports=function(){return[]}},201:function(t){t.exports=function(t){return t}},7801:function(t,n,e){var r=e(2453),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(i,(function(t,e,r,i){n.push(r?i.replace(o,"$1"):e||t)})),n}));t.exports=a},3110:function(t,n,e){var r=e(1995);t.exports=function(t){if("string"==typeof t||r(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},1893:function(t,n,e){var r=e(6317),i=e(788),o=e(8286),a=e(8855),u=Object.prototype,s=u.hasOwnProperty,c=r((function(t,n){t=Object(t);var e=-1,r=n.length,c=r>2?n[2]:void 0;for(c&&o(n[0],n[1],c)&&(r=1);++e<r;)for(var l=n[e],f=a(l),d=-1,h=f.length;++d<h;){var p=f[d],g=t[p];(void 0===g||i(g,u[p])&&!s.call(t,p))&&(t[p]=l[p])}return t}));t.exports=c},788:function(t){t.exports=function(t,n){return t===n||t!=t&&n!=n}},2645:function(t,n,e){var r=e(6457);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9201:function(t,n,e){var r=e(4432);t.exports=function(t,n,e){var i=null==t?void 0:r(t,n);return void 0===i?e:i}},9056:function(t,n,e){var r=e(8347),i=e(5659),o=Object.prototype.hasOwnProperty,a=i((function(t,n,e){o.call(t,e)?t[e].push(n):r(t,e,[n])}));t.exports=a},5066:function(t,n,e){var r=e(6776),i=e(3096);t.exports=function(t,n){return null!=t&&i(t,n,r)}},5346:function(t){t.exports=function(t){return t}},5075:function(t){t.exports=function(){return!1}},163:function(t){var n=Array.isArray;t.exports=n},981:function(t,n,e){var r=e(9642),i=e(8454);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},4801:function(t){t.exports=function(){return!1}},4295:function(t,n,e){var r=e(7537),i=e(9110),o=e(2348),a=o&&o.isDate,u=a?i(a):r;t.exports=u},4155:function(t,n,e){var r=e(7190),i=e(9667),o=e(5075),a=e(163),u=e(981),s=e(4801),c=e(5782),l=e(4289),f=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(u(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||s(t)||l(t)||o(t)))return!t.length;var n=i(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(c(t))return!r(t).length;for(var e in t)if(f.call(t,e))return!1;return!0}},8254:function(t,n,e){var r=e(9070);t.exports=function(t,n){return r(t,n)}},9642:function(t,n,e){var r=e(563),i=e(7709);t.exports=function(t){if(!i(t))return!1;var n=r(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},8454:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7709:function(t){t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},3474:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},3849:function(t,n,e){var r=e(563),i=e(9817),o=e(3474),a=Function.prototype,u=Object.prototype,s=a.toString,c=u.hasOwnProperty,l=s.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var n=i(t);if(null===n)return!0;var e=c.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&s.call(e)==l}},1995:function(t){t.exports=function(){return!1}},4289:function(t){t.exports=function(){return!1}},8999:function(t){t.exports=function(t){return void 0===t}},7747:function(t,n,e){var r=e(5125)(Object.keys,Object);t.exports=r},8855:function(t){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},1594:function(t,n,e){var r=e(503);function i(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return e.cache=o.set(i,a)||o,a};return e.cache=new(i.Cache||r),e}i.Cache=r,t.exports=i},6051:function(t){t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}},1616:function(t,n,e){var r=e(3472),i=e(6051),o=e(4912);t.exports=function(t,n){return o(t,i(r(n)))}},4143:function(t,n,e){var r=e(8245),i=e(163);t.exports=function(t,n,e,o){return null==t?[]:(i(n)||(n=null==n?[]:[n]),i(e=o?void 0:e)||(e=null==e?[]:[e]),r(t,n,e))}},9082:function(t,n,e){var r=e(5436),i=e(5557)((function(t,n){return null==t?{}:r(t,n)}));t.exports=i},4912:function(t,n,e){var r=e(8644),i=e(3472),o=e(6371),a=e(7271);t.exports=function(t,n){if(null==t)return{};var e=r(a(t),(function(t){return[t]}));return n=i(n),o(t,e,(function(t,e){return n(t,e[0])}))}},8532:function(t,n,e){var r=e(1600),i=e(3301),o=e(726),a=e(3110);t.exports=function(t){return o(t)?r(a(t)):i(t)}},2829:function(t,n,e){var r=e(7556);t.exports=function(t){return t&&t.length?r(t):[]}},7010:function(t,n,e){var r=e(6316);t.exports=function(t){return null==t?"":r(t)}},9602:function(t,n,e){var r=e(946);t.exports=function(t){return t&&t.length?r(t):[]}},660:function(t,n,e){var r=e(7010),i=0;t.exports=function(t){var n=++i;return r(t)+n}},7491:function(t){var n="undefined"!=typeof Element,e="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var u,s,c,l;if(Array.isArray(t)){if((u=t.length)!=a.length)return!1;for(s=u;0!=s--;)if(!o(t[s],a[s]))return!1;return!0}if(e&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(s=l.next()).done;)if(!a.has(s.value[0]))return!1;for(l=t.entries();!(s=l.next()).done;)if(!o(s.value[1],a.get(s.value[0])))return!1;return!0}if(r&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(l=t.entries();!(s=l.next()).done;)if(!a.has(s.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((u=t.length)!=a.length)return!1;for(s=u;0!=s--;)if(t[s]!==a[s])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((u=(c=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(s=u;0!=s--;)if(!Object.prototype.hasOwnProperty.call(a,c[s]))return!1;if(n&&t instanceof Element)return!1;for(s=u;0!=s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!t.$$typeof)&&!o(t[c[s]],a[c[s]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,n){try{return o(t,n)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},9787:function(n){"use strict";n.exports=t}},e={};function r(t){var i=e[t];if(void 0!==i)return i.exports;var o=e[t]={id:t,loaded:!1,exports:{}};return n[t](o,o.exports,r),o.loaded=!0,o.exports}r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,{a:n}),n},r.d=function(t,n){for(var e in n)r.o(n,e)&&!r.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t};var i={};return function(){"use strict";r.r(i),r.d(i,{VictoryBoxPlot:function(){return Ls}});var t={};r.r(t),r.d(t,{easeBack:function(){return Wn},easeBackIn:function(){return qn},easeBackInOut:function(){return Wn},easeBackOut:function(){return Un},easeBounce:function(){return Ln},easeBounceIn:function(){return Pn},easeBounceInOut:function(){return In},easeBounceOut:function(){return Ln},easeCircle:function(){return Nn},easeCircleIn:function(){return _n},easeCircleInOut:function(){return Nn},easeCircleOut:function(){return Tn},easeCubic:function(){return yn},easeCubicIn:function(){return gn},easeCubicInOut:function(){return yn},easeCubicOut:function(){return mn},easeElastic:function(){return Hn},easeElasticIn:function(){return zn},easeElasticInOut:function(){return Rn},easeElasticOut:function(){return Hn},easeExp:function(){return Sn},easeExpIn:function(){return jn},easeExpInOut:function(){return Sn},easeExpOut:function(){return Cn},easeLinear:function(){return fn},easePoly:function(){return xn},easePolyIn:function(){return vn},easePolyInOut:function(){return xn},easePolyOut:function(){return bn},easeQuad:function(){return pn},easeQuadIn:function(){return dn},easeQuadInOut:function(){return pn},easeQuadOut:function(){return hn},easeSin:function(){return On},easeSinIn:function(){return kn},easeSinInOut:function(){return On},easeSinOut:function(){return En}});var n={};r.r(n),r.d(n,{scaleBand:function(){return Ir},scaleDiverging:function(){return Ru},scaleDivergingLog:function(){return Bu},scaleDivergingPow:function(){return Vu},scaleDivergingSqrt:function(){return Ku},scaleDivergingSymlog:function(){return Yu},scaleIdentity:function(){return Ai},scaleImplicit:function(){return Pr},scaleLinear:function(){return Oi},scaleLog:function(){return Li},scaleOrdinal:function(){return Lr},scalePoint:function(){return qr},scalePow:function(){return Ri},scaleQuantile:function(){return eo},scaleQuantize:function(){return ro},scaleRadial:function(){return Ki},scaleSequential:function(){return Iu},scaleSequentialLog:function(){return $u},scaleSequentialPow:function(){return Uu},scaleSequentialQuantile:function(){return Fu},scaleSequentialSqrt:function(){return Wu},scaleSequentialSymlog:function(){return qu},scaleSqrt:function(){return Bi},scaleSymlog:function(){return Ui},scaleThreshold:function(){return io},scaleTime:function(){return Nu},scaleUtc:function(){return Du},tickFormat:function(){return ki}});var e=r(9787),o=r.n(e),a=r(7709),u=r.n(a),s=r(660),c=r.n(s),l=r(1893),f=r.n(l);class d extends o().Component{static displayName="Portal";constructor(t){super(t),this.map={},this.index=1}portalRegister=()=>++this.index;portalUpdate=(t,n)=>{this.map[t]=n,this.forceUpdate()};portalDeregister=t=>{delete this.map[t],this.forceUpdate()};getChildren(){return Object.keys(this.map).map((t=>{const n=this.map[t];return n?o().cloneElement(n,{key:t}):n}))}render(){return o().createElement("svg",this.props,this.getChildren())}}const h=o().createContext({});h.displayName="PortalContext";var p,g,m=0,y=0,v=0,b=0,x=0,w=0,M="object"==typeof performance&&performance.now?performance:Date,k="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function E(){return x||(k(O),x=M.now()+w)}function O(){x=0}function A(){this._call=this._time=this._next=null}function j(t,n,e){var r=new A;return r.restart(t,n,e),r}function C(){x=(b=M.now())+w,m=y=0;try{!function(){E(),++m;for(var t,n=p;n;)(t=x-n._time)>=0&&n._call.call(void 0,t),n=n._next;--m}()}finally{m=0,function(){for(var t,n,e=p,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:p=n);g=t,_(r)}(),x=0}}function S(){var t=M.now(),n=t-b;n>1e3&&(w-=n,b=t)}function _(t){m||(y&&(y=clearTimeout(y)),t-x>24?(t<1/0&&(y=setTimeout(C,t-M.now()-w)),v&&(v=clearInterval(v))):(v||(b=M.now(),v=setInterval(S,1e3)),m=1,k(C)))}A.prototype=j.prototype={constructor:A,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?E():+e)+(null==n?0:+n),this._next||g===this||(g?g._next=this:p=this,g=this),this._call=t,this._time=e,_()},stop:function(){this._call&&(this._call=null,this._time=1/0,_())}};class T{constructor(){this.shouldAnimate=!0,this.subscribers=[],this.timer=null,this.activeSubscriptions=0}bypassAnimation(){this.shouldAnimate=!1}resumeAnimation(){this.shouldAnimate=!0}loop=()=>{this.subscribers.forEach((t=>{t.callback(E()-t.startTime,t.duration)}))};start(){this.timer||(this.timer=j(this.loop))}stop(){this.timer&&(this.timer.stop(),this.timer=null)}subscribe(t,n){const e=this.subscribers.push({startTime:E(),callback:t,duration:this.shouldAnimate?n:0});return this.activeSubscriptions++,this.start(),e}unsubscribe(t){null!==t&&this.subscribers[t-1]&&(delete this.subscribers[t-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}const N=o().createContext({transitionTimer:new T,animationTimer:new T});N.displayName="TimerContext";var D=N,P=r(9082),L=r.n(P),I=r(8532),$=r.n(I);function q(t,n){void 0===n&&(n=[]);const e={};for(const r in t)n.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function U(t){const n=t=>void 0!==t,{_x:e,_x1:r,_x0:i,_voronoiX:o,_y:a,_y1:u,_y0:s,_voronoiY:c}=t,l=n(r)?r:e,d=n(u)?u:a,h={x:n(o)?o:l,x0:n(i)?i:e,y:n(c)?c:d,y0:n(s)?s:a};return f()({},h,t)}function W(t,n){void 0===n&&(n="padding");const e=t[n],r="number"==typeof e?e:0,i="object"==typeof e?e:{};return{top:i.top||r,bottom:i.bottom||r,left:i.left||r,right:i.right||r}}function F(t){return"tooltip"===(t&&t.type&&t.type.role)}function z(t,n){return K(t)?t(n):t}function H(t,n){return n.disableInlineStyles?{}:t&&Object.keys(t).some((n=>K(t[n])))?Object.keys(t).reduce(((e,r)=>(e[r]=z(t[r],n),e)),{}):t}function R(t){return"number"==typeof t?t*(Math.PI/180):t}function B(t){const{left:n,right:e,top:r,bottom:i}=W(t),{width:o,height:a}=t;return Math.min(o-n-e,a-r-i)/2}function Y(t,n){return t.range&&t.range[n]?t.range[n]:t.range&&Array.isArray(t.range)?t.range:t.polar?function(t,n){return"x"===n?[R(t.startAngle||0),R(t.endAngle||360)]:[t.innerRadius||0,B(t)]}(t,n):function(t,n){const e="x"!==n,r=W(t);return e?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,n)}function V(t){return null==t}function K(t){return"function"==typeof t}function G(t){return K(t)?t:null==t?t=>t:$()(t)}function Z(t,n,e){const r=q(t.theme&&t.theme[e]?t.theme[e]:{},["style"]),i=function(t){if(void 0!==t.horizontal||!t.children)return t.horizontal;const n=t=>t.reduce(((t,e)=>{const r=e.props||{};return t||r.horizontal||!r.children?t||r.horizontal:n(o().Children.toArray(r.children))}),!1);return n(o().Children.toArray(t.children))}(t),a=void 0===i?{}:{horizontal:i};return f()(a,t,r,n)}const Q={startsWith:["data-","aria-"],exactMatch:[]},X=t=>{const n={...t};return Object.fromEntries(Object.entries(n).filter((t=>{let[n]=t;return(t=>!(!(t=>{let n=!1;return Q.startsWith.forEach((e=>{new RegExp(`\\b(${e})(\\w|-)+`,"g").test(t)&&(n=!0)})),n})(t)&&!(t=>Q.exactMatch.includes(t))(t)))(n)})).map((n=>{let[e,r]=n;return[e,z(r,t)]})))};function J(){return J=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},J.apply(this,arguments)}class tt extends o().Component{static displayName="VictoryContainer";static role="container";static defaultProps={className:"VictoryContainer",portalComponent:o().createElement(d,null),portalZIndex:99,responsive:!0,role:"img"};static contextType=D;constructor(t){super(t),this.containerId=u()(t)&&void 0!==t.containerId?t.containerId:c()("victory-container-"),this.shouldHandleWheel=!!(t&&t.events&&t.events.onWheel)}savePortalRef=t=>(this.portalRef=t,t);portalUpdate=(t,n)=>this.portalRef.portalUpdate(t,n);portalRegister=()=>this.portalRef.portalRegister();portalDeregister=t=>this.portalRef.portalDeregister(t);saveContainerRef=t=>(K(this.props.containerRef)&&this.props.containerRef(t),this.containerRef=t,t);handleWheel=t=>t.preventDefault();componentDidMount(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}componentWillUnmount(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}getIdForElement(t){return`${this.containerId}-${t}`}getChildren(t){return t.children}getOUIAProps(t){const{ouiaId:n,ouiaSafe:e,ouiaType:r}=t;return{...n&&{"data-ouia-component-id":n},...r&&{"data-ouia-component-type":r},...void 0!==e&&{"data-ouia-safe":e}}}renderContainer(t,n,e){const{title:r,desc:i,portalComponent:a,className:u,width:s,height:c,portalZIndex:l,responsive:d}=t,p=this.getChildren(t),g=d?{width:"100%",height:"100%"}:{width:s,height:c},m=Object.assign({pointerEvents:"none",touchAction:"none",position:"relative"},g),y=Object.assign({zIndex:l,position:"absolute",top:0,left:0},g),v=Object.assign({pointerEvents:"all"},g),b=Object.assign({overflow:"visible"},g),x={width:s,height:c,viewBox:n.viewBox,preserveAspectRatio:n.preserveAspectRatio,style:b};return o().createElement(h.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},o().createElement("div",J({style:f()({},e,m),className:u,ref:this.saveContainerRef},this.getOUIAProps(t)),o().createElement("svg",J({},n,{style:v}),r?o().createElement("title",{id:this.getIdForElement("title")},r):null,i?o().createElement("desc",{id:this.getIdForElement("desc")},i):null,p),o().createElement("div",{style:y},o().cloneElement(a,{...x,ref:this.savePortalRef}))))}render(){const{width:t,height:n,responsive:e,events:r,title:i,desc:o,tabIndex:a,preserveAspectRatio:u,role:s}=this.props,c=e?this.props.style:q(this.props.style,["height","width"]),l=X(this.props),f=Object.assign({width:t,height:n,tabIndex:a,role:s,"aria-labelledby":[i&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[o&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:e?`0 0 ${t} ${n}`:void 0,preserveAspectRatio:e?u:void 0,...l},r);return this.renderContainer(this.props,f,c)}}function nt(){return nt=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},nt.apply(this,arguments)}const et=(0,e.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:a,...u}=t,s={vectorEffect:"non-scaling-stroke",id:z(r,t)?.toString(),tabIndex:z(i,t),...u};return e?o().createElement("rect",nt({},s,{ref:n}),o().createElement("desc",null,e)):o().createElement("rect",nt({},s,{ref:n}))})),rt={rectComponent:o().createElement(et,null),role:"presentation",shapeRendering:"auto"},it=t=>{const n=(t=>{const n=z(t.ariaLabel,t),e=z(t.desc,t),r=z(t.id,t),i=H(Object.assign({fill:"none"},t.style),t),o=z(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,desc:e,id:r,style:i,tabIndex:o})})({...rt,...t});return o().cloneElement(n.rectComponent,{...n.events,"aria-label":n.ariaLabel,style:n.style,desc:n.desc,tabIndex:n.tabIndex,transform:n.transform,className:n.className,role:n.role,shapeRendering:n.shapeRendering,x:n.x,y:n.y,width:n.width,height:n.height,clipPath:n.clipPath})};function ot(){return ot=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},ot.apply(this,arguments)}const at=(0,e.forwardRef)(((t,n)=>{const{desc:e,id:r,tabIndex:i,origin:a,...u}=t,s={vectorEffect:"non-scaling-stroke",id:z(r,t)?.toString(),tabIndex:z(i,t),...u};return e?o().createElement("line",ot({},s,{ref:n}),o().createElement("desc",null,e)):o().createElement("line",ot({},s,{ref:n}))})),ut={groupComponent:o().createElement("g",null),lineComponent:o().createElement(at,null),role:"presentation",shapeRendering:"auto"},st=t=>{const n=(t=>{const n=z(t.ariaLabel,t),e=z(t.desc,t),r=z(t.id,t),i=H(t.style,t),o=z(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,desc:e,id:r,style:i,tabIndex:o})})({...ut,...t}),{ariaLabel:e,groupComponent:r,lineComponent:i,events:a,className:u,majorWhisker:s,minorWhisker:c,transform:l,clipPath:f,role:d,shapeRendering:h,style:p,desc:g,tabIndex:m}=n,y={...a,style:p,desc:g,tabIndex:m,className:u,transform:l,clipPath:f,role:d,shapeRendering:h};return o().cloneElement(r,{},[o().cloneElement(i,Object.assign({key:"major-whisker","aria-label":e},y,s)),o().cloneElement(i,Object.assign({key:"minor-whisker","aria-label":e},y,c))])};var ct=r(4155),lt=r.n(ct);class ft extends o().Component{static displayName="VictoryPortal";static role="portal";static defaultProps={groupComponent:o().createElement("g",null)};static contextType=h;componentDidMount(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}componentDidUpdate(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}componentWillUnmount(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}renderPortal(t){return this.renderInPlace?t:(this.element=t,null)}render(){const t=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,{groupComponent:n}=this.props,e=t&&t.props||{},r=e.groupComponent?{groupComponent:n,standalone:!1}:{},i=f()(r,e,q(this.props,["children","groupComponent"])),a=t&&o().cloneElement(t,i);return this.renderPortal(a)}}const dt=t=>{const{children:n,desc:e,id:r,origin:i,tabIndex:a,title:u,...s}=t,c={id:z(r,t)?.toString(),tabIndex:z(a,t),...s};return o().createElement("text",c,u&&o().createElement("title",null,u),e&&o().createElement("desc",null,e),n)},ht=t=>{const{desc:n,id:e,tabIndex:r,origin:i,...a}=t,u={id:z(e,t)?.toString(),tabIndex:z(r,t),...a};return o().createElement("tspan",u)};const pt=function(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];if(e.length>0)return e.reduce(((t,n)=>[t,pt(n)].join(" ")),pt(t)).trim();if(null==t||"string"==typeof t)return t;const i=[];for(const n in t)if(t.hasOwnProperty(n)){const e=t[n];i.push(`${n}(${e})`)}return i.join(" ").trim()};var gt=r(1594),mt=r.n(gt);const yt={"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}},vt={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},bt={em:1,ex:.5},xt={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},wt=t=>Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g),Mt=(t,n,e)=>{const r=(t=>t*Math.PI/180)(e);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*n)},kt=(t,n)=>{const e=t.match(/[a-zA-Z%]+/)?.[0],r=Number(t.match(/[0-9.,]+/));let i;return i=e?vt.hasOwnProperty(e)?r*vt[e]:bt.hasOwnProperty(e)?(n?r*n:r*xt.fontSize)*bt[e]:r:r||0,i},Et=(t,n)=>{const e=Array.isArray(t)?t[n]:t,r=f()({},e,xt);return Object.assign({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:kt(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:kt(String(r.fontSize))})},Ot=(t,n)=>{const e=Array.isArray(n)?n[0]&&n[0].angle:n&&n.angle,r=((t,n)=>void 0===t||""===t||null===t?0:wt(t).reduce(((t,e,r)=>{const i=Et(n,r),o=e.toString().match(/[(A-Z)(0-9)]/)?1.15*i.fontSize:i.fontSize;return t+i.lineHeight*o}),0))(t,n),i=((t,n)=>{if(void 0===t||""===t||null===t)return 0;const e=wt(t).map(((t,e)=>{const r=t.toString().length,{fontSize:i,letterSpacing:o,fontFamily:a}=Et(n,e),u=(t=>{const n=t.split(",").map((t=>t.replace(/'|"/g,""))).find((t=>yt[t]))||"Helvetica";return yt[n]})(a);return t.toString().split("").map((t=>t.charCodeAt(0)<u.widths.length?u.widths[t.charCodeAt(0)]:u.avg)).reduce(((t,n)=>n+t),0)*i+o*Math.max(r-1,0)}));return Math.max(...e)})(t,n);return{width:e?Mt(i,r,e):i,height:1.05*(e?Mt(r,i,e):r)}},At=mt()((()=>{const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("xlink","http://www.w3.org/1999/xlink"),t.setAttribute("width","300"),t.setAttribute("height","300"),t.setAttribute("viewBox","0 0 300 300"),t.setAttribute("aria-hidden","true");const n=document.createElementNS("http://www.w3.org/2000/svg","text");return t.appendChild(n),t.style.position="fixed",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t),n})),jt=t=>t?`${t.angle}:${t.fontFamily}:${t.fontSize}:${t.letterSpacing}:${t.lineHeight}`:"null",Ct=mt()(((t,n)=>{let e=At();e.isConnected||(At.cache.clear?.(),e=At());const r=wt(t);let i=0;for(const[t,o]of r.entries()){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan"),a=Et(n,t);r.style.fontFamily=a.fontFamily,r.style.fontSize=`${a.fontSize}px`,r.style.lineHeight=a.lineHeight,r.style.fontFamily=a.fontFamily,r.style.letterSpacing=a.letterSpacing,r.textContent=o,r.setAttribute("x","0"),r.setAttribute("y",`${i}`),e.appendChild(r),i+=a.lineHeight*r.getBoundingClientRect().height}const{width:o}=e.getBoundingClientRect();return e.innerHTML="",{width:n?.angle?Mt(o,i,n?.angle):o,height:n?.angle?Mt(i,o,n?.angle):i}}),((t,n)=>`${Array.isArray(t)?t.join():t}::${Array.isArray(n)?n.map(jt).join():jt(n)}`)),St=(t,n)=>function(t,n,e){return void 0===e&&(e=!1),"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||e?Ot(t,n):Ct(t,n)}(t,n),_t={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Ser­avek', 'Trebuchet MS', sans-serif",stroke:"transparent"},Tt=(t,n)=>{if(!t.datum)return 0;const e=function(t,n){const{scale:e,polar:r,horizontal:i}=t,o=U(n),a=t.origin||{x:0,y:0},u=i?e.y(o.y):e.x(o.x),s=i?e.y(o.y0):e.x(o.x0),c=i?e.x(o.x):e.y(o.y),l=i?e.x(o.x0):e.y(o.y0);return{x:r?c*Math.cos(u)+a.x:u,x0:r?l*Math.cos(s)+a.x:s,y:r?-c*Math.sin(u)+a.y:c,y0:r?-l*Math.sin(s)+a.x:l}}(t,t.datum);return e[n]},Nt=t=>{const n=t&&t.fontSize;if("number"==typeof n)return n;if(null==n)return _t.fontSize;if("string"==typeof n){const t=Number(n.replace("px",""));return isNaN(t)?_t.fontSize:t}return _t.fontSize},Dt=function(t,n){return void 0===n&&(n=0),Array.isArray(t)?t[n]||t[0]:t},Pt=t=>{const{backgroundStyle:n,backgroundPadding:e}=t;return Array.isArray(n)&&!lt()(n)||Array.isArray(e)&&!lt()(e)},Lt=(t,n,e)=>{const{polar:r}=t,i=Dt(t.style),o=r?function(t,n){const{labelPlacement:e,datum:r}=t;if(!e||"vertical"===e)return 0;const i=function(t,n){const{x:e}=U(n);return("number"==typeof(r=t.scale.x(e))?r/(Math.PI/180):r)%360;var r}(t,r);let o=0;return 0===i||180===i?o=90:i>0&&i<180?o=90-i:i>180&&i<360&&(o=270-i),o+(i>90&&i<180||i>270?1:-1)*("perpendicular"===e?0:90)}(t):0,a=void 0===i.angle?z(t.angle,t):i.angle,u=void 0===a?o:a,s=t.transform||i.transform,c=s&&z(s,t);return c||u?pt(c,u&&{rotate:[u,n,e]}):void 0},It=(t,n)=>{const{direction:e,textAnchor:r,x:i,dx:o}=t;if("rtl"===e)return i-n;switch(r){case"middle":return Math.round(i-n/2);case"end":return Math.round(i-n);default:return i+(o||0)}},$t=(t,n)=>{const{verticalAnchor:e,y:r,originalDy:i=0}=t,o=r+i;switch(e){case"start":return Math.floor(o);case"end":return Math.ceil(o-n);default:return Math.floor(o-n/2)}},qt=(t,n)=>Pt(t)?((t,n)=>{const{dy:e,dx:r,transform:i,backgroundStyle:a,backgroundPadding:u,backgroundComponent:s,inline:c,y:l}=t,d=n.map(((t,i)=>{const o=Dt(n,i-1),a=t.textSize,s=t.fontSize*t.lineHeight,f=Math.ceil(s),d=Dt(u,i),h=Dt(u,i-1),p=c&&r||0,g=i&&!c?o.fontSize*o.lineHeight+h.top+h.bottom:e-.5*s-(t.fontSize-t.capHeight);return{textHeight:f,labelSize:a,heightWithPadding:f+d.top+d.bottom,widthWithPadding:a.width+d.left+d.right+p,y:l,fontSize:t.fontSize,dy:g}}));return d.map(((n,e)=>{const r=It(t,n.labelSize.width),h=d.slice(0,e+1).reduce(((t,n)=>t+n.dy),l),p=Dt(u,e),g=n.heightWithPadding,m=c?((t,n,e)=>{const{textAnchor:r}=t,i=n.map((t=>t.widthWithPadding)),o=-i.reduce(((t,n)=>t+n),0)/2;switch(r){case"start":return i.reduce(((t,n,r)=>r<e?t+n:t),0);case"end":return i.reduce(((t,n,r)=>r>e?t-n:t),0);default:return i.reduce(((t,n,r)=>r===e?t+n/2:t+(r<e?n:0)),o)}})(t,d,e)+r-p.left:r,y=c?$t(t,g)-p.top:h,v={key:`tspan-background-${e}`,height:g,style:Dt(a,e),width:n.widthWithPadding,transform:i,x:m-p.left,y:y};return o().cloneElement(s,f()({},s.props,v))}))})(t,n):((t,n)=>{const{dx:e=0,transform:r,backgroundComponent:i,backgroundStyle:a,inline:u,backgroundPadding:s,capHeight:c}=t,l=n.map((t=>t.textSize)),d=u?Math.max(...l.map((t=>t.height))):l.reduce(((t,e,r)=>{const i=r?0:c/2;return t+e.height*(n[r].lineHeight-i)}),0),h=u?l.reduce(((t,n,r)=>{const i=r?e:0;return t+n.width+i}),0):Math.max(...l.map((t=>t.width))),p=It(t,h),g=$t(t,d),m={key:"background",height:d+s.top+s.bottom,style:a,transform:r,width:h+s.left+s.right,x:u?p-s.left:p+e-s.left,y:g};return o().cloneElement(i,f()({},i.props,m))})(t,n),Ut=(t,n,e)=>{const{inline:r}=n,i=Dt(t,e);return e&&!r?((t,n,e)=>{const r=Dt(t,n),i=Dt(t,n-1),o=i.fontSize*i.lineHeight,a=r.fontSize*r.lineHeight,u=i.fontSize-i.capHeight,s=r.fontSize-r.capHeight,c=o-i.fontSize/2+r.fontSize/2-o/2+a/2-s/2+u/2;return Pt(e)?c+r.backgroundPadding.top+i.backgroundPadding.bottom:c})(t,e,n):r?0===e?i.backgroundPadding.top:void 0:i.backgroundPadding.top},Wt={backgroundComponent:o().createElement(et,null),groupComponent:o().createElement("g",null),direction:"inherit",textComponent:o().createElement(dt,null),tspanComponent:o().createElement(ht,null),capHeight:.71,lineHeight:1},Ft=t=>{const n=(t=>{const n=((t,n)=>{if(null==t)return;if(Array.isArray(t))return t.map((t=>z(t,n)));const e=z(t,n);return null!=e?Array.isArray(e)?e:`${e}`.split("\n"):void 0})(t.text,t),e=((t,n)=>{if(n.disableInlineStyles){const e=H(t,n);return{fontSize:Nt(e)}}const e=t=>{const e=H(t?f()({},t,_t):_t,n);return Object.assign({},e,{fontSize:Nt(e)})};return Array.isArray(t)&&!lt()(t)?t.map((t=>e(t))):e(t)})(t.style,Object.assign({},t,{text:n})),r=((t,n)=>{if(t)return Array.isArray(t)&&!lt()(t)?t.map((t=>H(t,n))):H(t,n)})(t.backgroundStyle,Object.assign({},t,{text:n,style:e})),i=(t=>t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((n=>W({padding:z(n,t)}))):W({padding:z(t.backgroundPadding,t)}))(Object.assign({},t,{text:n,style:e,backgroundStyle:r})),o=z(t.id,t);return Object.assign({},t,{backgroundStyle:r,backgroundPadding:i,style:e,text:n,id:o})})({...Wt,...t});if(null===n.text||void 0===n.text)return null;const e=(t=>{const n=z(t.ariaLabel,t),e=Dt(t.style),r=(t=>{const n=z(t.lineHeight,t);return Array.isArray(n)&&lt()(n)?[1]:n})(t),i=t.direction?z(t.direction,t):"inherit",o=t.textAnchor?z(t.textAnchor,t):e.textAnchor||"start",a=t.verticalAnchor?z(t.verticalAnchor,t):e.verticalAnchor||"middle",u=t.dx?z(t.dx,t):0,s=((t,n,e)=>{const r=t.dy?z(t.dy,t):0,i=t.inline?1:t.text.length,o=z(t.capHeight,t),a=n?z(n,t):"middle",u=[...Array(i).keys()].map((n=>Dt(t.style,n).fontSize)),s=[...Array(i).keys()].map((t=>Dt(e,t)));if("start"===a)return r+(o/2+s[0]/2)*u[0];if(t.inline)return"end"===a?r+(o/2-s[0]/2)*u[0]:r+o/2*u[0];if(1===i)return"end"===a?r+(o/2+(.5-i)*s[0])*u[0]:r+(o/2+(.5-i/2)*s[0])*u[0];const c=[...Array(i).keys()].reduce(((t,n)=>t+(o/2+(.5-i)*s[n])*u[n]/i),0);return"end"===a?r+c:r+c/2+o/2*s[i-1]*u[i-1]})(t,a,r),c=void 0!==t.x?t.x:Tt(t,"x"),l=void 0!==t.y?t.y:Tt(t,"y"),f=Lt(t,c,l);return Object.assign({},t,{ariaLabel:n,lineHeight:r,direction:i,textAnchor:o,verticalAnchor:a,dx:u,dy:s,originalDy:z(t.dy,t),transform:f,x:c,y:l})})(n),{text:r,style:i,capHeight:a,backgroundPadding:u,lineHeight:s}=e,c=r.map(((t,n)=>{const e=Dt(i,n),r=kt(`${a}em`,e.fontSize),o=Dt(s,n);return{style:e,fontSize:e.fontSize||_t.fontSize,capHeight:r,text:t,textSize:St(t,e),lineHeight:o,backgroundPadding:Dt(u,n)}})),l=((t,n)=>{const{ariaLabel:e,inline:r,className:i,title:a,events:u,direction:s,text:c,textAnchor:l,dx:f,dy:d,transform:h,x:p,y:g,desc:m,id:y,tabIndex:v,tspanComponent:b,textComponent:x}=t,w=X(t),M={"aria-label":e,key:"text",...u,direction:s,dx:f,x:p,y:g+d,transform:h,className:i,title:a,desc:z(m,t),tabIndex:z(v,t),id:y,...w},k=c.map(((e,i)=>{const a=n[i].style,u={key:`${y}-key-${i}`,x:r?void 0:p,dx:r?f+n[i].backgroundPadding.left:f,dy:Ut(n,t,i),textAnchor:a.textAnchor||l,style:a,children:e};return o().cloneElement(b,u)}));return o().cloneElement(x,M,k)})(e,c);if(n.backgroundStyle){const t=[qt(e,c),l],r=o().cloneElement(n.groupComponent,{},t);return n.renderInPortal?o().createElement(ft,null,r):r}return n.renderInPortal?o().createElement(ft,null,l):l};Ft.displayName="VictoryLabel",Ft.role="label",Ft.defaultStyles=_t;const zt={lineComponent:o().createElement(at,null),role:"presentation",shapeRendering:"auto"},Ht=t=>{const n=(t=>{const n=z(t.ariaLabel,t),e=z(t.desc,t),r=z(t.id,t),i=H(Object.assign({stroke:"black"},t.style),t),o=z(t.tabIndex,t);return Object.assign({},t,{ariaLabel:n,desc:e,id:r,style:i,tabIndex:o})})({...zt,...t});return o().cloneElement(n.lineComponent,{...n.events,"aria-label":n.ariaLabel,style:n.style,desc:n.desc,tabIndex:n.tabIndex,className:n.className,role:n.role,shapeRendering:n.shapeRendering,x1:n.x1,x2:n.x2,y1:n.y1,y2:n.y2,transform:n.transform,clipPath:n.clipPath})},Rt=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],Bt="#252525",Yt="#969696",Vt={width:450,height:300,padding:50,colorScale:Rt},Kt={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:Bt,stroke:"transparent"},Gt=Object.assign({textAnchor:"middle"},Kt),Zt={area:Object.assign({style:{data:{fill:Bt},labels:Kt}},Vt),axis:Object.assign({style:{axis:{fill:"transparent",stroke:Bt,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},Gt,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:Kt}},Vt),bar:Object.assign({style:{data:{fill:Bt,padding:8,strokeWidth:0},labels:Kt}},Vt),boxplot:Object.assign({style:{max:{padding:8,stroke:Bt,strokeWidth:1},maxLabels:Object.assign({},Kt,{padding:3}),median:{padding:8,stroke:Bt,strokeWidth:1},medianLabels:Object.assign({},Kt,{padding:3}),min:{padding:8,stroke:Bt,strokeWidth:1},minLabels:Object.assign({},Kt,{padding:3}),q1:{padding:8,fill:Yt},q1Labels:Object.assign({},Kt,{padding:3}),q3:{padding:8,fill:Yt},q3Labels:Object.assign({},Kt,{padding:3})},boxWidth:20},Vt),candlestick:Object.assign({style:{data:{stroke:Bt,strokeWidth:1},labels:Object.assign({},Kt,{padding:5})},candleColors:{positive:"#ffffff",negative:Bt}},Vt),chart:Vt,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:Bt,strokeWidth:2},labels:Kt}},Vt),group:Object.assign({colorScale:Rt},Vt),histogram:Object.assign({style:{data:{fill:Yt,stroke:Bt,strokeWidth:2},labels:Kt}},Vt),legend:{colorScale:Rt,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Kt,title:Object.assign({},Kt,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:Bt,strokeWidth:2},labels:Kt}},Vt),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},Kt,{padding:20})},colorScale:Rt,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:Bt,stroke:"transparent",strokeWidth:0},labels:Kt}},Vt),stack:Object.assign({colorScale:Rt},Vt),tooltip:{style:Object.assign({},Kt,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:Bt,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},Kt,{padding:5,pointerEvents:"none"}),flyout:{stroke:Bt,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Vt)},Qt=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],Xt="#ECEFF1",Jt="#90A4AE",tn="#455A64",nn="#212121",en={width:350,height:350,padding:50},rn={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:tn,stroke:"transparent",strokeWidth:0},on=Object.assign({textAnchor:"middle"},rn),an="round",un="round",sn=(Object.assign({style:{data:{fill:nn},labels:rn}},en),Object.assign({style:{axis:{fill:"transparent",stroke:Jt,strokeWidth:2,strokeLinecap:an,strokeLinejoin:un},axisLabel:Object.assign({},on,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:Xt,strokeDasharray:"10, 5",strokeLinecap:an,strokeLinejoin:un,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:Jt,strokeWidth:1,strokeLinecap:an,strokeLinejoin:un},tickLabels:Object.assign({},rn,{fill:tn})}},en),Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),Object.assign({style:{data:{fill:tn,padding:8,strokeWidth:0},labels:rn}},en),Object.assign({style:{max:{padding:8,stroke:tn,strokeWidth:1},maxLabels:Object.assign({},rn,{padding:3}),median:{padding:8,stroke:tn,strokeWidth:1},medianLabels:Object.assign({},rn,{padding:3}),min:{padding:8,stroke:tn,strokeWidth:1},minLabels:Object.assign({},rn,{padding:3}),q1:{padding:8,fill:tn},q1Labels:Object.assign({},rn,{padding:3}),q3:{padding:8,fill:tn},q3Labels:Object.assign({},rn,{padding:3})},boxWidth:20},en),Object.assign({style:{data:{stroke:tn},labels:Object.assign({},rn,{padding:5})},candleColors:{positive:"#ffffff",negative:tn}},en),Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:tn,strokeWidth:2},labels:rn}},en),Object.assign({colorScale:Qt},en),Object.assign({style:{data:{fill:tn,stroke:nn,strokeWidth:2},labels:rn}},en),Object.assign({},rn,{padding:5}),Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:tn,strokeWidth:2},labels:rn}},en),Object.assign({colorScale:Qt,style:{data:{padding:8,stroke:Xt,strokeWidth:1},labels:Object.assign({},rn,{padding:20})}},en),Object.assign({style:{data:{fill:tn,opacity:1,stroke:"transparent",strokeWidth:0},labels:rn}},en),Object.assign({colorScale:Qt},en),Object.assign({},rn,{padding:0,pointerEvents:"none"}),Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},rn,{padding:5,pointerEvents:"none"}),flyout:{stroke:nn,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},en),Zt);var cn=r(7491),ln=r.n(cn);const fn=t=>+t;function dn(t){return t*t}function hn(t){return t*(2-t)}function pn(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function gn(t){return t*t*t}function mn(t){return--t*t*t+1}function yn(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var vn=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),bn=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),xn=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),wn=Math.PI,Mn=wn/2;function kn(t){return 1==+t?1:1-Math.cos(t*Mn)}function En(t){return Math.sin(t*Mn)}function On(t){return(1-Math.cos(wn*t))/2}function An(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function jn(t){return An(1-+t)}function Cn(t){return 1-An(t)}function Sn(t){return((t*=2)<=1?An(1-t):2-An(t-1))/2}function _n(t){return 1-Math.sqrt(1-t*t)}function Tn(t){return Math.sqrt(1- --t*t)}function Nn(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var Dn=7.5625;function Pn(t){return 1-Ln(1-t)}function Ln(t){return(t=+t)<.36363636363636365?Dn*t*t:t<.7272727272727273?Dn*(t-=.5454545454545454)*t+.75:t<.9090909090909091?Dn*(t-=.8181818181818182)*t+.9375:Dn*(t-=.9545454545454546)*t+.984375}function In(t){return((t*=2)<=1?1-Ln(1-t):Ln(t-1)+1)/2}var $n=1.70158,qn=function t(n){function e(t){return(t=+t)*t*(n*(t-1)+t)}return n=+n,e.overshoot=t,e}($n),Un=function t(n){function e(t){return--t*t*((t+1)*n+t)+1}return n=+n,e.overshoot=t,e}($n),Wn=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}($n),Fn=2*Math.PI,zn=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Fn);function i(t){return n*An(- --t)*Math.sin((r-t)/e)}return i.amplitude=function(n){return t(n,e*Fn)},i.period=function(e){return t(n,e)},i}(1,.3),Hn=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Fn);function i(t){return 1-n*An(t=+t)*Math.sin((t+r)/e)}return i.amplitude=function(n){return t(n,e*Fn)},i.period=function(e){return t(n,e)},i}(1,.3),Rn=function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=Fn);function i(t){return((t=2*t-1)<0?n*An(-t)*Math.sin((r-t)/e):2-n*An(t)*Math.sin((r+t)/e))/2}return i.amplitude=function(n){return t(n,e*Fn)},i.period=function(e){return t(n,e)},i}(1,.3),Bn=r(4143),Yn=r.n(Bn),Vn=r(3849),Kn=r.n(Vn);function Gn(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function Zn(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function Qn(){}var Xn=.7,Jn=1/Xn,te="\\s*([+-]?\\d+)\\s*",ne="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ee="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",re=/^#([0-9a-f]{3,8})$/,ie=new RegExp(`^rgb\\(${te},${te},${te}\\)$`),oe=new RegExp(`^rgb\\(${ee},${ee},${ee}\\)$`),ae=new RegExp(`^rgba\\(${te},${te},${te},${ne}\\)$`),ue=new RegExp(`^rgba\\(${ee},${ee},${ee},${ne}\\)$`),se=new RegExp(`^hsl\\(${ne},${ee},${ee}\\)$`),ce=new RegExp(`^hsla\\(${ne},${ee},${ee},${ne}\\)$`),le={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 fe(){return this.rgb().formatHex()}function de(){return this.rgb().formatRgb()}function he(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=re.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?pe(n):3===e?new ve(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?ge(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?ge(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=ie.exec(t))?new ve(n[1],n[2],n[3],1):(n=oe.exec(t))?new ve(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=ae.exec(t))?ge(n[1],n[2],n[3],n[4]):(n=ue.exec(t))?ge(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=se.exec(t))?Ee(n[1],n[2]/100,n[3]/100,1):(n=ce.exec(t))?Ee(n[1],n[2]/100,n[3]/100,n[4]):le.hasOwnProperty(t)?pe(le[t]):"transparent"===t?new ve(NaN,NaN,NaN,0):null}function pe(t){return new ve(t>>16&255,t>>8&255,255&t,1)}function ge(t,n,e,r){return r<=0&&(t=n=e=NaN),new ve(t,n,e,r)}function me(t){return t instanceof Qn||(t=he(t)),t?new ve((t=t.rgb()).r,t.g,t.b,t.opacity):new ve}function ye(t,n,e,r){return 1===arguments.length?me(t):new ve(t,n,e,null==r?1:r)}function ve(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function be(){return`#${ke(this.r)}${ke(this.g)}${ke(this.b)}`}function xe(){const t=we(this.opacity);return`${1===t?"rgb(":"rgba("}${Me(this.r)}, ${Me(this.g)}, ${Me(this.b)}${1===t?")":`, ${t})`}`}function we(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Me(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function ke(t){return((t=Me(t))<16?"0":"")+t.toString(16)}function Ee(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new Ae(t,n,e,r)}function Oe(t){if(t instanceof Ae)return new Ae(t.h,t.s,t.l,t.opacity);if(t instanceof Qn||(t=he(t)),!t)return new Ae;if(t instanceof Ae)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,u=o-i,s=(o+i)/2;return u?(a=n===o?(e-r)/u+6*(e<r):e===o?(r-n)/u+2:(n-e)/u+4,u/=s<.5?o+i:2-o-i,a*=60):u=s>0&&s<1?0:a,new Ae(a,u,s,t.opacity)}function Ae(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function je(t){return(t=(t||0)%360)<0?t+360:t}function Ce(t){return Math.max(0,Math.min(1,t||0))}function Se(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function _e(t,n,e,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*e+(1+3*t+3*o-3*a)*r+a*i)/6}Gn(Qn,he,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:fe,formatHex:fe,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Oe(this).formatHsl()},formatRgb:de,toString:de}),Gn(ve,ye,Zn(Qn,{brighter(t){return t=null==t?Jn:Math.pow(Jn,t),new ve(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?Xn:Math.pow(Xn,t),new ve(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new ve(Me(this.r),Me(this.g),Me(this.b),we(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:be,formatHex:be,formatHex8:function(){return`#${ke(this.r)}${ke(this.g)}${ke(this.b)}${ke(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:xe,toString:xe})),Gn(Ae,(function(t,n,e,r){return 1===arguments.length?Oe(t):new Ae(t,n,e,null==r?1:r)}),Zn(Qn,{brighter(t){return t=null==t?Jn:Math.pow(Jn,t),new Ae(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Xn:Math.pow(Xn,t),new Ae(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new ve(Se(t>=240?t-240:t+120,i,r),Se(t,i,r),Se(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new Ae(je(this.h),Ce(this.s),Ce(this.l),we(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=we(this.opacity);return`${1===t?"hsl(":"hsla("}${je(this.h)}, ${100*Ce(this.s)}%, ${100*Ce(this.l)}%${1===t?")":`, ${t})`}`}}));var Te=t=>()=>t;function Ne(t,n){var e=n-t;return e?function(t,n){return function(e){return t+e*n}}(t,e):Te(isNaN(t)?n:t)}var De=function t(n){var e=function(t){return 1==(t=+t)?Ne:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Te(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=ye(t)).r,(n=ye(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),a=Ne(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=a(n),t+""}}return r.gamma=t,r}(1);function Pe(t){return function(n){var e,r,i=n.length,o=new Array(i),a=new Array(i),u=new Array(i);for(e=0;e<i;++e)r=ye(n[e]),o[e]=r.r||0,a[e]=r.g||0,u[e]=r.b||0;return o=t(o),a=t(a),u=t(u),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=u(t),r+""}}}function Le(t,n){var e,r=n?n.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(e=0;e<i;++e)o[e]=He(t[e],n[e]);for(;e<r;++e)a[e]=n[e];return function(t){for(e=0;e<i;++e)a[e]=o[e](t);return a}}function Ie(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}function $e(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}function qe(t,n){var e,r={},i={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?r[e]=He(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}}Pe((function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,u=r<n-1?t[r+2]:2*o-i;return _e((e-r/n)*n,a,i,o,u)}})),Pe((function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),i=t[(r+n-1)%n],o=t[r%n],a=t[(r+1)%n],u=t[(r+2)%n];return _e((e-r/n)*n,i,o,a,u)}}));var Ue=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,We=new RegExp(Ue.source,"g");function Fe(t,n){var e,r,i,o=Ue.lastIndex=We.lastIndex=0,a=-1,u=[],s=[];for(t+="",n+="";(e=Ue.exec(t))&&(r=We.exec(n));)(i=r.index)>o&&(i=n.slice(o,i),u[a]?u[a]+=i:u[++a]=i),(e=e[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:$e(e,r)})),o=We.lastIndex;return o<n.length&&(i=n.slice(o),u[a]?u[a]+=i:u[++a]=i),u.length<2?s[0]?function(t){return function(n){return t(n)+""}}(s[0].x):function(t){return function(){return t}}(n):(n=s.length,function(t){for(var e,r=0;r<n;++r)u[(e=s[r]).i]=e.x(t);return u.join("")})}function ze(t,n){n||(n=[]);var e,r=t?Math.min(n.length,t.length):0,i=n.slice();return function(o){for(e=0;e<r;++e)i[e]=t[e]*(1-o)+n[e]*o;return i}}function He(t,n){var e,r,i=typeof n;return null==n||"boolean"===i?Te(n):("number"===i?$e:"string"===i?(e=he(n))?(n=e,De):Fe:n instanceof he?De:n instanceof Date?Ie:(r=n,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(n)?Le:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?qe:$e:ze))(t,n)}const Re=function(t){if(null!==t)switch(typeof t){case"undefined":case"boolean":return!1;case"number":return!isNaN(t)&&t!==Number.POSITIVE_INFINITY&&t!==Number.NEGATIVE_INFINITY;case"string":case"function":return!0;case"object":return t instanceof Date||Array.isArray(t)||Kn()(t)}return!1},Be=function(t,n,e){return void 0===e&&(e=0),function(r){return r<e?t:n}},Ye=function(t,n){return function(e){return e>=1?n:function(){const r="function"==typeof t?t.apply(this,arguments):t,i="function"==typeof n?n.apply(this,arguments):n;return He(r,i)(e)}}},Ve=function(t,n){const e=t=>Array.isArray(t)?Yn()(t,"key"):t,r={},i={};let o,a=t,u=n;for(o in null!==a&&"object"==typeof a||(a={}),null!==u&&"object"==typeof u||(u={}),u)o in a?r[o]=(s=e(a[o]))!==(c=e(u[o]))&&Re(s)&&Re(c)?"function"==typeof s||"function"==typeof c?Ye(s,c):"object"==typeof s&&Kn()(s)||"object"==typeof c&&Kn()(c)?Ve(s,c):He(s,c):Be(s,c):i[o]=u[o];var s,c;return function(t){for(o in r)i[o]=r[o](t);return i}},Ke=1e3,Ge=n=>{let{duration:e=Ke,easing:r="quadInOut",delay:i=0,data:a,children:u,onEnd:s}=n;const[c,l]=o().useState({data:Array.isArray(a)?a[0]:a,animationInfo:{progress:0,animating:!1}}),f=o().useContext(D).animationTimer,d=o().useRef(Array.isArray(a)?a.slice(1):[]),h=o().useRef(null),p=o().useRef(void 0),g=t[(m=r,`ease${m.charAt(0).toUpperCase()+m.slice(1)}`)];var m;o().useEffect((()=>(d.current.length&&y(),()=>{p.current?f.unsubscribe(p.current):f.stop()})),[]),o().useEffect((()=>{h.current&&c.animationInfo&&c.animationInfo.progress<1?l({data:h.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}):(f.unsubscribe(p.current),d.current=Array.isArray(a)?a:[a],y())}),[a]);const y=()=>{if(d.current.length){const r=d.current[0];h.current=(t=c.data)!==(n=r)&&Re(t)&&Re(n)?"function"==typeof t||"function"==typeof n?Ye(t,n):Kn()(t)||Kn()(n)?Ve(t,n):"string"==typeof t||"string"==typeof n?function(t,n){const e=t=>"string"==typeof t?t.replace(/,/g,""):t;return He(e(t),e(n))}(t,n):He(t,n):Be(t,n),i?setTimeout((()=>{p.current=f.subscribe(v,e)}),i):p.current=f.subscribe(v,e)}else s&&s();var t,n},v=t=>{if(!h.current)return;const n=e?t/e:1;if(n>=1)return l({data:h.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),p.current&&f.unsubscribe(p.current),d.current.shift(),void y();l({data:h.current(g(n)),animationInfo:{progress:n,animating:n<1}})};return u(c.data,c.animationInfo)};function Ze(t){return Array.isArray(t)&&t.some((t=>t instanceof Date))}function Qe(t,n){return t&&n?t.filter((t=>!n.includes(t))):[]}function Xe(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];const i=t.concat(e);return Ze(i)?new Date(Math.max(...i)):Math.max(...i)}function Je(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];const i=t.concat(e);return Ze(i)?new Date(Math.min(...i)):Math.min(...i)}var tr=r(5346),nr=r.n(tr);function er(t,n){return(t.key||n).toString()}function rr(t){return t.reduce(((t,n,e)=>(t[er(n,e)]=n,t)),{})}function ir(t,n){let e=!1;const r=Object.keys(t).reduce(((t,r)=>(r in n||(e=!0,t[r]=!0),t)),{});return e&&r}function or(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function ar(t,n){let e=!1,r=!1;const i=(t,n)=>t.map(((a,u)=>a&&a.props&&a.props.children&&n[u]?i(o().Children.toArray(t[u].props.children),o().Children.toArray(n[u].props.children)):((t,n)=>{if(!n||t.type!==n.type)return{};const{entering:i,exiting:o}=function(t,n){const e=t&&rr(t),r=n&&rr(n);return{entering:e&&ir(r,e),exiting:r&&ir(e,r)}}(or(t),or(n))||{};return e=e||!!o,r=r||!!i,{entering:i||!1,exiting:o||!1}})(a,n[u]))),a=i(o().Children.toArray(t),o().Children.toArray(n));return{nodesWillExit:e,nodesWillEnter:r,childrenTransitions:a,nodesShouldEnter:!1}}function ur(t,n,e){const r=n&&n.nodesWillExit,i=n&&n.nodesWillEnter,o=n&&n.nodesShouldEnter,a=n&&n.nodesShouldLoad,u=n&&n.nodesDoneLoad,s=n&&n.childrenTransitions||[],c={enter:t.animate&&t.animate.onEnter&&t.animate.onEnter.duration,exit:t.animate&&t.animate.onExit&&t.animate.onExit.duration,load:t.animate&&t.animate.onLoad&&t.animate.onLoad.duration,move:t.animate&&t.animate.duration},l=(t,n,r)=>a?function(t,n,r){const i=Object.assign({},t,{onEnd:()=>{e({nodesShouldLoad:!1,nodesDoneLoad:!0})}});let o=n;if(i&&i.onLoad&&!i.onLoad.duration)return{animate:t,data:n};const a=t.onLoad&&t.onLoad.after?t.onLoad.after:nr();return o=n.map(((t,e)=>Object.assign({},t,a(t,e,n)))),{animate:i,data:o}}(r,n):function(t,n,r,i){const o=Object.assign({},t,{onEnd:()=>{e({nodesDoneLoad:!0})}});if(o&&o.onLoad&&!o.onLoad.duration)return{animate:o,data:r};const a=o.onLoad&&o.onLoad.before?o.onLoad.before:nr();return{animate:o,data:r.map(((t,n)=>Object.assign({},t,a(t,n,r)))),clipWidth:0}}(r,0,n),d=(t,n,r,i)=>function(t,n,r,i,o){const a=t&&t.onExit,u=Object.assign({},t,a);let s=r;if(i){t.onEnd=()=>{e({nodesWillExit:!1})};const n=t.onExit&&t.onExit.before?t.onExit.before:nr();s=r.map(((t,e)=>{const o=(t.key||e).toString();return i[o]?Object.assign({},t,n(t,e,r)):t}))}return{animate:u,data:s}}(i,0,r,t),h=(t,n,r,i)=>o?function(t,n,r,i){const o=t&&t.onEnter,a=Object.assign({},t,o);let u=n;if(r){a.onEnd=()=>{e({nodesWillEnter:!1})};const t=a.onEnter&&a.onEnter.after?a.onEnter.after:nr();u=n.map(((e,i)=>{const o=er(e,i);return r[o]?Object.assign({},e,t(e,i,n)):e}))}return{animate:a,data:u}}(i,r,t):function(t,n,r,i,o){let a=t,u=r;if(i){a=Object.assign({},t,{onEnd:()=>{e({nodesShouldEnter:!0})}});const n=t.onEnter&&t.onEnter.before?t.onEnter.before:nr();u=r.map(((t,e)=>{const o=(t.key||e).toString();return i[o]?Object.assign({},t,n(t,e,r)):t}))}return{animate:a,data:u}}(i,0,r,t),p=function(t,n){const e=t.props.animate;if(!t.type)return{};const r=t.props&&t.props.polar&&t.type.defaultPolarTransitions||t.type.defaultTransitions;if(r){const t=e[n]&&e[n].duration;return void 0!==t?t:r[n]&&r[n].duration}return{}};return function(e,a){const g=or(e)||[],m=f()({},t.animate,e.props.animate),y=e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;m.onExit=f()({},m.onExit,y&&y.onExit),m.onEnter=f()({},m.onEnter,y&&y.onEnter),m.onLoad=f()({},m.onLoad,y&&y.onLoad);const v=s[a]||s[0];if(!u){const t={duration:void 0!==c.load?c.load:p(e,"onLoad")};return l(0,g,Object.assign({},m,t))}if(r){const t=v&&v.exiting,n=void 0!==c.exit?c.exit:p(e,"onExit"),r=t?{duration:n}:{delay:n};return d(t,0,g,Object.assign({},m,r))}if(i){const t=v&&v.entering,n=void 0!==c.enter?c.enter:p(e,"onEnter"),r=void 0!==c.move?c.move:e.props.animate&&e.props.animate.duration,i={duration:o&&t?n:r};return h(t,0,g,Object.assign({},m,i))}return!n&&m&&m.onExit?function(t,n){const e=t.onEnter&&t.onEnter.after?t.onEnter.after:nr();return{data:n.map(((t,r)=>Object.assign({},t,e(t,r,n))))}}(m,g):{animate:m,data:g}}}function sr(){return sr=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},sr.apply(this,arguments)}class cr extends o().Component{static displayName="VictoryTransition";static contextType=D;constructor(t,n){super(t,n),this.state={nodesShouldLoad:!1,nodesDoneLoad:!1};const e=this.props.children,r=e.props.polar;this.continuous=!r&&e.type&&!0===e.type.continuous,this.timer=this.context.transitionTimer}componentDidMount(){this.setState({nodesShouldLoad:!0})}shouldComponentUpdate(t){return ln()(this.props,t)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,t),(()=>this.timer.resumeAnimation()))),!0}componentWillUnmount(){this.timer.stop()}getTransitionState(t,n){const{animate:e}=t;if(!e)return{};if(e.parentState)return{oldProps:e.parentState.nodesWillExit?t:null,nextProps:n};const r=o().Children.toArray(t.children),i=o().Children.toArray(n.children),{nodesWillExit:a,nodesWillEnter:u,childrenTransitions:s,nodesShouldEnter:c}=ar(r,i);return{nodesWillExit:a,nodesWillEnter:u,childrenTransitions:s,nodesShouldEnter:c,oldProps:a?t:null,nextProps:n}}getDomainFromChildren(t,n){const e=t=>t.reduce(((t,r)=>{if(r.type&&K(r.type.getDomain)){const e=r.props&&r.type.getDomain(r.props,n);return e?t.concat(e):t}return r.props&&r.props.children?t.concat(e(o().Children.toArray(r.props.children))):t}),[]),r=o().Children.toArray(t.children)[0],i=r.props||{},a=Array.isArray(i.domain)?i.domain:i.domain&&i.domain[n];if(!i.children&&a)return a;const u=e([r]);return 0===u.length?[0,1]:[Je(u),Xe(u)]}pickProps(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}pickDomainProps(t){const n=t.animate?.parentState;return n&&n.nodesWillExit?(this.continuous||n.continuous)&&(n.nextProps||this.state.nextProps)||t:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||t}getClipWidth(t,n){const e=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==e?e:(()=>{const e=Y(n.props,"x");return e?Math.abs(e[1]-e[0]):t.width})()}render(){const t=this.pickProps(),n=this.props.animate?.getTransitions?this.props.animate.getTransitions:ur(t,this.state,(t=>this.setState(t))),e=o().Children.toArray(t.children)[0],r=n(e);this.transitionProps=r;const i={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},a=this.getClipWidth(t,e),u=f()({domain:i,clipWidth:a},r,e.props),s=(t.animationWhitelist||[]).concat(["clipWidth"]),c=s.length?L()(u,s):u;return o().createElement(Ge,sr({},u.animate,{data:c}),(t=>{if(e.props.groupComponent){const n=this.continuous?o().cloneElement(e.props.groupComponent,{clipWidth:t.clipWidth||0}):e.props.groupComponent;return o().cloneElement(e,f()({animate:null,animating:!0,groupComponent:n},t,u))}return o().cloneElement(e,f()({animate:null,animating:!0},t,u))}))}}var lr=r(9602),fr=r.n(lr),dr=r(1616),hr=r.n(dr),pr=r(4912),gr=r.n(pr);const mr=/^onGlobal(.*)$/;function yr(t,n,e,r){const i=t=>{const r=(()=>{const r=t.reduce(((t,e)=>void 0!==e.target?(Array.isArray(e.target)?e.target.includes(n):`${e.target}`==`${n}`)?t.concat(e):t:t.concat(e)),[]);return void 0!==e&&"parent"!==n?r.filter((t=>{const n=t.eventKey,r=t=>!t||`${t}`==`${e}`;return Array.isArray(n)?n.some((t=>r(t))):r(n)})):r})();return Array.isArray(r)&&r.reduce(((t,n)=>n?Object.assign(t,n.eventHandlers):t),{})},o=(()=>Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events)(),a=o&&K(r)?r(i(o),n):void 0;if(!t.sharedEvents)return a;const u=t.sharedEvents.getEvents,s=t.sharedEvents.events&&u(i(t.sharedEvents.events),n);return Object.assign({},s,a)}function vr(t,n,e,r){if(lt()(t))return{};const i=r||this.baseProps,o=(t,n)=>{const{childName:e,target:r,key:o}=t,a="props"===n?i:this.state||{},u=null!=e&&a[e]?a[e]:a;return"parent"===o?u.parent:u[o]&&u[o][r]},a=(t,r)=>{const a="parent"===n?t.childName:t.childName||e,u=t.target||n,s=(n,e)=>{const r=this.state||{};if(!K(t.mutation))return r;const a=o({childName:e,key:n,target:u},"props"),s=o({childName:e,key:n,target:u},"state"),c=t.mutation(Object.assign({},a,s),i),l=r[e]||{},f=t=>c?(t=>"parent"===u?Object.assign(t,{[n]:Object.assign(t[n]||{},c)}):Object.assign(t,{[n]:Object.assign(t[n]||{},{[u]:c})}))(t):(t=>(t[n]&&t[n][u]&&delete t[n][u],t[n]&&!Object.keys(t[n]).length&&delete t[n],t))(t);return null!=e?Object.assign(r,{[e]:f(l)}):f(r)},c=n=>{const e=(n=>"parent"===u?"parent":"all"===t.eventKey?i[n]?Object.keys(i[n]).filter((t=>"parent"!==t)):Object.keys(i).filter((t=>"parent"!==t)):void 0===t.eventKey&&"parent"===r?i[n]?Object.keys(i[n]):Object.keys(i):void 0!==t.eventKey?t.eventKey:r)(n);return Array.isArray(e)?e.reduce(((t,e)=>Object.assign(t,s(e,n))),{}):s(e,n)},l="all"===a?Object.keys(i).filter((t=>"parent"!==t)):a;return Array.isArray(l)?l.reduce(((t,n)=>Object.assign(t,c(n))),{}):c(l)},u=(n,e,r,i)=>{const o=t[i](n,e,r,this);if(!lt()(o)){const t=(t=>{const n=t=>K(t.callback)&&t.callback,e=(Array.isArray(t)?t.map((t=>n(t))):[n(t)]).filter((t=>!1!==t));return e.length?()=>e.forEach((t=>t())):void 0})(o);this.setState(((t,n)=>Array.isArray(t)?t.reduce(((t,e)=>Object.assign({},t,a(e,n))),{}):a(t,n))(o,r),t)}};return Object.keys(t).reduce(((t,n)=>(t[n]=u,t)),{})}function br(t,n,e){const r=this.state||{};return e?r[e]&&r[e][t]&&r[e][t][n]:"parent"===t?r[t]&&r[t][n]||r[t]:r[t]&&r[t][n]}function xr(t,n,e,r){const i=(t,n)=>"string"==typeof t[n]?"all"===t[n]||t[n]===r[n]:!!Array.isArray(t[n])&&t[n].map((t=>`${t}`)).includes(r[n]);let o=Array.isArray(t)?t:[t];r.childName&&(o=t.filter((t=>i(t,"childName"))));const a=o.filter((t=>i(t,"target")));if(lt()(a))return;const u=a.filter((t=>i(t,"eventKey")));return lt()(u)?void 0:u.reduce(((t,r)=>{const i=(r&&K(r.mutation)?r.mutation:()=>{})(Object.assign({},n,e));return Object.assign({},t,i)}),{})}function wr(t){const n=t.match(mr);return n&&n[1]&&n[1].toLowerCase()}const Mr=t=>!V(t._x)&&!V(t._y),kr=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];var Er=r(9056),Or=r.n(Er),Ar=(r(8999),r(8254)),jr=r.n(Ar);function Cr(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o}function Sr(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function _r(t,n){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof n?this.interpolator(n):this.range(n)}return this}class Tr extends Map{constructor(t,n=Dr){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),null!=t)for(const[n,e]of t)this.set(n,e)}get(t){return super.get(Nr(this,t))}has(t){return super.has(Nr(this,t))}set(t,n){return super.set(function({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):(t.set(r,e),e)}(this,t),n)}delete(t){return super.delete(function({_intern:t,_key:n},e){const r=n(e);return t.has(r)&&(e=t.get(r),t.delete(r)),e}(this,t))}}function Nr({_intern:t,_key:n},e){const r=n(e);return t.has(r)?t.get(r):e}function Dr(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;const Pr=Symbol("implicit");function Lr(){var t=new Tr,n=[],e=[],r=Pr;function i(i){let o=t.get(i);if(void 0===o){if(r!==Pr)return r;t.set(i,o=n.push(i)-1)}return e[o%e.length]}return i.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new Tr;for(const r of e)t.has(r)||t.set(r,n.push(r)-1);return i},i.range=function(t){return arguments.length?(e=Array.from(t),i):e.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return Lr(n,e).unknown(r)},Sr.apply(i,arguments),i}function Ir(){var t,n,e=Lr().unknown(void 0),r=e.domain,i=e.range,o=0,a=1,u=!1,s=0,c=0,l=.5;function f(){var e=r().length,f=a<o,d=f?a:o,h=f?o:a;t=(h-d)/Math.max(1,e-s+2*c),u&&(t=Math.floor(t)),d+=(h-d-t*(e-s))*l,n=t*(1-s),u&&(d=Math.round(d),n=Math.round(n));var p=Cr(e).map((function(n){return d+t*n}));return i(f?p.reverse():p)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),f()):r()},e.range=function(t){return arguments.length?([o,a]=t,o=+o,a=+a,f()):[o,a]},e.rangeRound=function(t){return[o,a]=t,o=+o,a=+a,u=!0,f()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(u=!!t,f()):u},e.padding=function(t){return arguments.length?(s=Math.min(1,c=+t),f()):s},e.paddingInner=function(t){return arguments.length?(s=Math.min(1,t),f()):s},e.paddingOuter=function(t){return arguments.length?(c=+t,f()):c},e.align=function(t){return arguments.length?(l=Math.max(0,Math.min(1,t)),f()):l},e.copy=function(){return Ir(r(),[o,a]).round(u).paddingInner(s).paddingOuter(c).align(l)},Sr.apply(f(),arguments)}function $r(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return $r(n())},t}function qr(){return $r(Ir.apply(null,arguments).paddingInner(1))}var Ur=Math.sqrt(50),Wr=Math.sqrt(10),Fr=Math.sqrt(2);function zr(t,n,e){var r,i,o,a,u=-1;if(e=+e,(t=+t)==(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(a=Hr(t,n,e))||!isFinite(a))return[];if(a>0){let e=Math.round(t/a),r=Math.round(n/a);for(e*a<t&&++e,r*a>n&&--r,o=new Array(i=r-e+1);++u<i;)o[u]=(e+u)*a}else{a=-a;let e=Math.round(t*a),r=Math.round(n*a);for(e/a<t&&++e,r/a>n&&--r,o=new Array(i=r-e+1);++u<i;)o[u]=(e+u)/a}return r&&o.reverse(),o}function Hr(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=Ur?10:o>=Wr?5:o>=Fr?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=Ur?10:o>=Wr?5:o>=Fr?2:1)}function Rr(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=Ur?i*=10:o>=Wr?i*=5:o>=Fr&&(i*=2),n<t?-i:i}function Br(t,n){return null==t||null==n?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function Yr(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function Vr(t){let n,e,r;function i(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<0?i=n+1:o=n}while(i<o)}return i}return 2!==t.length?(n=Br,e=(n,e)=>Br(t(n),e),r=(n,e)=>t(n)-e):(n=t===Br||t===Yr?t:Kr,e=t,r=t),{left:i,center:function(t,n,e=0,o=t.length){const a=i(t,n,e,o-1);return a>e&&r(t[a-1],n)>-r(t[a],n)?a-1:a},right:function(t,r,i=0,o=t.length){if(i<o){if(0!==n(r,r))return o;do{const n=i+o>>>1;e(t[n],r)<=0?i=n+1:o=n}while(i<o)}return i}}}function Kr(){return 0}function Gr(t){return null===t?NaN:+t}const Zr=Vr(Br),Qr=Zr.right;Zr.left,Vr(Gr).center;var Xr=Qr;function Jr(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}function ti(t){return+t}var ni=[0,1];function ei(t){return t}function ri(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:(e=isNaN(n)?NaN:.5,function(){return e});var e}function ii(t,n,e){var r=t[0],i=t[1],o=n[0],a=n[1];return i<r?(r=ri(i,r),o=e(a,o)):(r=ri(r,i),o=e(o,a)),function(t){return o(r(t))}}function oi(t,n,e){var r=Math.min(t.length,n.length)-1,i=new Array(r),o=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<r;)i[a]=ri(t[a],t[a+1]),o[a]=e(n[a],n[a+1]);return function(n){var e=Xr(t,n,1,r)-1;return o[e](i[e](n))}}function ai(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function ui(){var t,n,e,r,i,o,a=ni,u=ni,s=He,c=ei;function l(){var t,n,e,s=Math.min(a.length,u.length);return c!==ei&&(t=a[0],n=a[s-1],t>n&&(e=t,t=n,n=e),c=function(e){return Math.max(t,Math.min(n,e))}),r=s>2?oi:ii,i=o=null,f}function f(n){return null==n||isNaN(n=+n)?e:(i||(i=r(a.map(t),u,s)))(t(c(n)))}return f.invert=function(e){return c(n((o||(o=r(u,a.map(t),$e)))(e)))},f.domain=function(t){return arguments.length?(a=Array.from(t,ti),l()):a.slice()},f.range=function(t){return arguments.length?(u=Array.from(t),l()):u.slice()},f.rangeRound=function(t){return u=Array.from(t),s=Jr,l()},f.clamp=function(t){return arguments.length?(c=!!t||ei,l()):c!==ei},f.interpolate=function(t){return arguments.length?(s=t,l()):s},f.unknown=function(t){return arguments.length?(e=t,f):e},function(e,r){return t=e,n=r,l()}}function si(){return ui()(ei,ei)}var ci,li=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function fi(t){if(!(n=li.exec(t)))throw new Error("invalid format: "+t);var n;return new di({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function di(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function hi(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}function pi(t){return(t=hi(Math.abs(t)))?t[1]:NaN}function gi(t,n){var e=hi(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}fi.prototype=di.prototype,di.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var mi={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>gi(100*t,n),r:gi,s:function(t,n){var e=hi(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(ci=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+hi(t,Math.max(0,n+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function yi(t){return t}var vi,bi,xi,wi=Array.prototype.map,Mi=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function ki(t,n,e,r){var i,o=Rr(t,n,e);switch((r=fi(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(i=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(pi(n)/3)))-pi(Math.abs(t)))}(o,a))||(r.precision=i),xi(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,pi(n)-pi(t))+1}(o,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(t){return Math.max(0,-pi(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return bi(r)}function Ei(t){var n=t.domain;return t.ticks=function(t){var e=n();return zr(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return ki(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,i,o=n(),a=0,u=o.length-1,s=o[a],c=o[u],l=10;for(c<s&&(i=s,s=c,c=i,i=a,a=u,u=i);l-- >0;){if((i=Hr(s,c,e))===r)return o[a]=s,o[u]=c,n(o);if(i>0)s=Math.floor(s/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;s=Math.ceil(s*i)/i,c=Math.floor(c*i)/i}r=i}return t},t}function Oi(){var t=si();return t.copy=function(){return ai(t,Oi())},Sr.apply(t,arguments),Ei(t)}function Ai(t){var n;function e(t){return null==t||isNaN(t=+t)?n:t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=Array.from(n,ti),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return Ai(t).unknown(n)},t=arguments.length?Array.from(t,ti):[0,1],Ei(e)}function ji(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(e=r,r=i,i=e,e=o,o=a,a=e),t[r]=n.floor(o),t[i]=n.ceil(a),t}function Ci(t){return Math.log(t)}function Si(t){return Math.exp(t)}function _i(t){return-Math.log(-t)}function Ti(t){return-Math.exp(-t)}function Ni(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Di(t){return(n,e)=>-t(-n,e)}function Pi(t){const n=t(Ci,Si),e=n.domain;let r,i,o=10;function a(){return r=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),n=>Math.log(n)/t)}(o),i=function(t){return 10===t?Ni:t===Math.E?Math.exp:n=>Math.pow(t,n)}(o),e()[0]<0?(r=Di(r),i=Di(i),t(_i,Ti)):t(Ci,Si),n}return n.base=function(t){return arguments.length?(o=+t,a()):o},n.domain=function(t){return arguments.length?(e(t),a()):e()},n.ticks=t=>{const n=e();let a=n[0],u=n[n.length-1];const s=u<a;s&&([a,u]=[u,a]);let c,l,f=r(a),d=r(u);const h=null==t?10:+t;let p=[];if(!(o%1)&&d-f<h){if(f=Math.floor(f),d=Math.ceil(d),a>0){for(;f<=d;++f)for(c=1;c<o;++c)if(l=f<0?c/i(-f):c*i(f),!(l<a)){if(l>u)break;p.push(l)}}else for(;f<=d;++f)for(c=o-1;c>=1;--c)if(l=f>0?c/i(-f):c*i(f),!(l<a)){if(l>u)break;p.push(l)}2*p.length<h&&(p=zr(a,u,h))}else p=zr(f,d,Math.min(d-f,h)).map(i);return s?p.reverse():p},n.tickFormat=(t,e)=>{if(null==t&&(t=10),null==e&&(e=10===o?"s":","),"function"!=typeof e&&(o%1||null!=(e=fi(e)).precision||(e.trim=!0),e=bi(e)),t===1/0)return e;const a=Math.max(1,o*t/n.ticks().length);return t=>{let n=t/i(Math.round(r(t)));return n*o<o-.5&&(n*=o),n<=a?e(t):""}},n.nice=()=>e(ji(e(),{floor:t=>i(Math.floor(r(t))),ceil:t=>i(Math.ceil(r(t)))})),n}function Li(){const t=Pi(ui()).domain([1,10]);return t.copy=()=>ai(t,Li()).base(t.base()),Sr.apply(t,arguments),t}function Ii(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function $i(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function qi(t){var n=1,e=t(Ii(n),$i(n));return e.constant=function(e){return arguments.length?t(Ii(n=+e),$i(n)):n},Ei(e)}function Ui(){var t=qi(ui());return t.copy=function(){return ai(t,Ui()).constant(t.constant())},Sr.apply(t,arguments)}function Wi(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function Fi(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function zi(t){return t<0?-t*t:t*t}function Hi(t){var n=t(ei,ei),e=1;function r(){return 1===e?t(ei,ei):.5===e?t(Fi,zi):t(Wi(e),Wi(1/e))}return n.exponent=function(t){return arguments.length?(e=+t,r()):e},Ei(n)}function Ri(){var t=Hi(ui());return t.copy=function(){return ai(t,Ri()).exponent(t.exponent())},Sr.apply(t,arguments),t}function Bi(){return Ri.apply(null,arguments).exponent(.5)}function Yi(t){return Math.sign(t)*t*t}function Vi(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function Ki(){var t,n=si(),e=[0,1],r=!1;function i(e){var i=Vi(n(e));return isNaN(i)?t:r?Math.round(i):i}return i.invert=function(t){return n.invert(Yi(t))},i.domain=function(t){return arguments.length?(n.domain(t),i):n.domain()},i.range=function(t){return arguments.length?(n.range((e=Array.from(t,ti)).map(Yi)),i):e.slice()},i.rangeRound=function(t){return i.range(t).round(!0)},i.round=function(t){return arguments.length?(r=!!t,i):r},i.clamp=function(t){return arguments.length?(n.clamp(t),i):n.clamp()},i.unknown=function(n){return arguments.length?(t=n,i):t},i.copy=function(){return Ki(n.domain(),e).round(r).clamp(n.clamp()).unknown(t)},Sr.apply(i,arguments),Ei(i)}function Gi(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e<n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e<i||void 0===e&&i>=i)&&(e=i)}return e}function Zi(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e>n||void 0===e&&n>=n)&&(e=n);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e>i||void 0===e&&i>=i)&&(e=i)}return e}function Qi(t,n){return(null==t||!(t>=t))-(null==n||!(n>=n))||(t<n?-1:t>n?1:0)}function Xi(t,n,e=0,r=t.length-1,i){for(i=void 0===i?Qi:function(t=Br){if(t===Br)return Qi;if("function"!=typeof t)throw new TypeError("compare is not a function");return(n,e)=>{const r=t(n,e);return r||0===r?r:(0===t(e,e))-(0===t(n,n))}}(i);r>e;){if(r-e>600){const o=r-e+1,a=n-e+1,u=Math.log(o),s=.5*Math.exp(2*u/3),c=.5*Math.sqrt(u*s*(o-s)/o)*(a-o/2<0?-1:1);Xi(t,n,Math.max(e,Math.floor(n-a*s/o+c)),Math.min(r,Math.floor(n+(o-a)*s/o+c)),i)}const o=t[n];let a=e,u=r;for(Ji(t,e,n),i(t[r],o)>0&&Ji(t,e,r);a<u;){for(Ji(t,a,u),++a,--u;i(t[a],o)<0;)++a;for(;i(t[u],o)>0;)--u}0===i(t[e],o)?Ji(t,e,u):(++u,Ji(t,u,r)),u<=n&&(e=u+1),n<=u&&(r=u-1)}return t}function Ji(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function to(t,n,e){if(t=Float64Array.from(function*(t,n){if(void 0===n)for(let n of t)null!=n&&(n=+n)>=n&&(yield n);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(r=+r)>=r&&(yield r)}}(t,e)),r=t.length){if((n=+n)<=0||r<2)return Zi(t);if(n>=1)return Gi(t);var r,i=(r-1)*n,o=Math.floor(i),a=Gi(Xi(t,o).subarray(0,o+1));return a+(Zi(t.subarray(o+1))-a)*(i-o)}}function no(t,n,e=Gr){if(r=t.length){if((n=+n)<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),a=+e(t[o],o,t);return a+(+e(t[o+1],o+1,t)-a)*(i-o)}}function eo(){var t,n=[],e=[],r=[];function i(){var t=0,i=Math.max(1,e.length);for(r=new Array(i-1);++t<i;)r[t-1]=no(n,t/i);return o}function o(n){return null==n||isNaN(n=+n)?t:e[Xr(r,n)]}return o.invertExtent=function(t){var i=e.indexOf(t);return i<0?[NaN,NaN]:[i>0?r[i-1]:n[0],i<r.length?r[i]:n[n.length-1]]},o.domain=function(t){if(!arguments.length)return n.slice();n=[];for(let e of t)null==e||isNaN(e=+e)||n.push(e);return n.sort(Br),i()},o.range=function(t){return arguments.length?(e=Array.from(t),i()):e.slice()},o.unknown=function(n){return arguments.length?(t=n,o):t},o.quantiles=function(){return r.slice()},o.copy=function(){return eo().domain(n).range(e).unknown(t)},Sr.apply(o,arguments)}function ro(){var t,n=0,e=1,r=1,i=[.5],o=[0,1];function a(n){return null!=n&&n<=n?o[Xr(i,n,0,r)]:t}function u(){var t=-1;for(i=new Array(r);++t<r;)i[t]=((t+1)*e-(t-r)*n)/(r+1);return a}return a.domain=function(t){return arguments.length?([n,e]=t,n=+n,e=+e,u()):[n,e]},a.range=function(t){return arguments.length?(r=(o=Array.from(t)).length-1,u()):o.slice()},a.invertExtent=function(t){var a=o.indexOf(t);return a<0?[NaN,NaN]:a<1?[n,i[0]]:a>=r?[i[r-1],e]:[i[a-1],i[a]]},a.unknown=function(n){return arguments.length?(t=n,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return ro().domain([n,e]).range(o).unknown(t)},Sr.apply(Ei(a),arguments)}function io(){var t,n=[.5],e=[0,1],r=1;function i(i){return null!=i&&i<=i?e[Xr(n,i,0,r)]:t}return i.domain=function(t){return arguments.length?(n=Array.from(t),r=Math.min(n.length,e.length-1),i):n.slice()},i.range=function(t){return arguments.length?(e=Array.from(t),r=Math.min(n.length,e.length-1),i):e.slice()},i.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},i.unknown=function(n){return arguments.length?(t=n,i):t},i.copy=function(){return io().domain(n).range(e).unknown(t)},Sr.apply(i,arguments)}vi=function(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?yi:(n=wi.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,u=n[0],s=0;i>0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),o.push(t.substring(i-=u,i+u)),!((s+=u+1)>r));)u=n[a=(a+1)%n.length];return o.reverse().join(e)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?yi:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(wi.call(t.numerals,String)),s=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"−":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function f(t){var n=(t=fi(t)).fill,e=t.align,f=t.sign,d=t.symbol,h=t.zero,p=t.width,g=t.comma,m=t.precision,y=t.trim,v=t.type;"n"===v?(g=!0,v="g"):mi[v]||(void 0===m&&(m=12),y=!0,v="g"),(h||"0"===n&&"="===e)&&(h=!0,n="0",e="=");var b="$"===d?i:"#"===d&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",x="$"===d?o:/[%p]/.test(v)?s:"",w=mi[v],M=/[defgprs%]/.test(v);function k(t){var i,o,s,d=b,k=x;if("c"===v)k=w(t)+k,t="";else{var E=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:w(Math.abs(t),m),y&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r<e;++r)switch(t[r]){case".":i=n=r;break;case"0":0===i&&(i=r),n=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}(t)),E&&0==+t&&"+"!==f&&(E=!1),d=(E?"("===f?f:c:"-"===f||"("===f?"":f)+d,k=("s"===v?Mi[8+ci/3]:"")+k+(E&&"("===f?")":""),M)for(i=-1,o=t.length;++i<o;)if(48>(s=t.charCodeAt(i))||s>57){k=(46===s?a+t.slice(i+1):t.slice(i))+k,t=t.slice(0,i);break}}g&&!h&&(t=r(t,1/0));var O=d.length+t.length+k.length,A=O<p?new Array(p-O+1).join(n):"";switch(g&&h&&(t=r(A+t,A.length?p-k.length:1/0),A=""),e){case"<":t=d+t+k+A;break;case"=":t=d+A+t+k;break;case"^":t=A.slice(0,O=A.length>>1)+d+t+k+A.slice(O);break;default:t=A+d+t+k}return u(t)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),k.toString=function(){return t+""},k}return{format:f,formatPrefix:function(t,n){var e=f(((t=fi(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(pi(n)/3))),i=Math.pow(10,-r),o=Mi[8+r/3];return function(t){return e(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),bi=vi.format,xi=vi.formatPrefix;const oo=1e3,ao=6e4,uo=36e5,so=864e5,co=6048e5,lo=31536e6;var fo=new Date,ho=new Date;function po(t,n,e,r){function i(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return i.floor=function(n){return t(n=new Date(+n)),n},i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n<e-t?n:e},i.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},i.range=function(e,r,o){var a,u=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e<r&&o>0))return u;do{u.push(a=new Date(+e)),n(e,o),t(e)}while(a<e&&e<r);return u},i.filter=function(e){return po((function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(i.count=function(n,r){return fo.setTime(+n),ho.setTime(+r),t(fo),t(ho),Math.floor(e(fo,ho))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t==0}:function(n){return i.count(0,n)%t==0}):i:null}),i}var go=po((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));go.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?po((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):go:null};var mo=go,yo=(go.range,po((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*oo)}),(function(t,n){return(n-t)/oo}),(function(t){return t.getUTCSeconds()}))),vo=yo,bo=(yo.range,po((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*oo)}),(function(t,n){t.setTime(+t+n*ao)}),(function(t,n){return(n-t)/ao}),(function(t){return t.getMinutes()}))),xo=bo,wo=(bo.range,po((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*oo-t.getMinutes()*ao)}),(function(t,n){t.setTime(+t+n*uo)}),(function(t,n){return(n-t)/uo}),(function(t){return t.getHours()}))),Mo=wo,ko=(wo.range,po((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*ao)/so),(t=>t.getDate()-1))),Eo=ko;function Oo(t){return po((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*ao)/co}))}ko.range;var Ao=Oo(0),jo=Oo(1),Co=Oo(2),So=Oo(3),_o=Oo(4),To=Oo(5),No=Oo(6),Do=(Ao.range,jo.range,Co.range,So.range,_o.range,To.range,No.range,po((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}))),Po=Do,Lo=(Do.range,po((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()})));Lo.every=function(t){return isFinite(t=Math.floor(t))&&t>0?po((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null};var Io=Lo,$o=(Lo.range,po((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*ao)}),(function(t,n){return(n-t)/ao}),(function(t){return t.getUTCMinutes()}))),qo=$o,Uo=($o.range,po((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*uo)}),(function(t,n){return(n-t)/uo}),(function(t){return t.getUTCHours()}))),Wo=Uo,Fo=(Uo.range,po((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/so}),(function(t){return t.getUTCDate()-1}))),zo=Fo;function Ho(t){return po((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/co}))}Fo.range;var Ro=Ho(0),Bo=Ho(1),Yo=Ho(2),Vo=Ho(3),Ko=Ho(4),Go=Ho(5),Zo=Ho(6),Qo=(Ro.range,Bo.range,Yo.range,Vo.range,Ko.range,Go.range,Zo.range,po((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCMonth(t.getUTCMonth()+n)}),(function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}))),Xo=Qo,Jo=(Qo.range,po((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()})));Jo.every=function(t){return isFinite(t=Math.floor(t))&&t>0?po((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null};var ta=Jo;function na(t,n,e,r,i,o){const a=[[vo,1,oo],[vo,5,5e3],[vo,15,15e3],[vo,30,3e4],[o,1,ao],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,uo],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,so],[r,2,1728e5],[e,1,co],[n,1,2592e6],[n,3,7776e6],[t,1,lo]];function u(n,e,r){const i=Math.abs(e-n)/r,o=Vr((([,,t])=>t)).right(a,i);if(o===a.length)return t.every(Rr(n/lo,e/lo,r));if(0===o)return mo.every(Math.max(Rr(n,e,r),1));const[u,s]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return u.every(s)}return[function(t,n,e){const r=n<t;r&&([t,n]=[n,t]);const i=e&&"function"==typeof e.range?e:u(t,n,e),o=i?i.range(t,+n+1):[];return r?o.reverse():o},u]}Jo.range;const[ea,ra]=na(ta,Xo,Ro,zo,Wo,qo),[ia,oa]=na(Io,Po,Ao,Eo,Mo,xo);function aa(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function ua(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function sa(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var ca,la,fa,da={"-":"",_:" ",0:"0"},ha=/^\s*\d+/,pa=/^%/,ga=/[\\^$*+?|[\]().{}]/g;function ma(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<e?new Array(e-o+1).join(n)+i:i)}function ya(t){return t.replace(ga,"\\$&")}function va(t){return new RegExp("^(?:"+t.map(ya).join("|")+")","i")}function ba(t){return new Map(t.map(((t,n)=>[t.toLowerCase(),n])))}function xa(t,n,e){var r=ha.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function wa(t,n,e){var r=ha.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function Ma(t,n,e){var r=ha.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function ka(t,n,e){var r=ha.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function Ea(t,n,e){var r=ha.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function Oa(t,n,e){var r=ha.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function Aa(t,n,e){var r=ha.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function ja(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function Ca(t,n,e){var r=ha.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function Sa(t,n,e){var r=ha.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function _a(t,n,e){var r=ha.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Ta(t,n,e){var r=ha.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Na(t,n,e){var r=ha.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function Da(t,n,e){var r=ha.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function Pa(t,n,e){var r=ha.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function La(t,n,e){var r=ha.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function Ia(t,n,e){var r=ha.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function $a(t,n,e){var r=pa.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function qa(t,n,e){var r=ha.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function Ua(t,n,e){var r=ha.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function Wa(t,n){return ma(t.getDate(),n,2)}function Fa(t,n){return ma(t.getHours(),n,2)}function za(t,n){return ma(t.getHours()%12||12,n,2)}function Ha(t,n){return ma(1+Eo.count(Io(t),t),n,3)}function Ra(t,n){return ma(t.getMilliseconds(),n,3)}function Ba(t,n){return Ra(t,n)+"000"}function Ya(t,n){return ma(t.getMonth()+1,n,2)}function Va(t,n){return ma(t.getMinutes(),n,2)}function Ka(t,n){return ma(t.getSeconds(),n,2)}function Ga(t){var n=t.getDay();return 0===n?7:n}function Za(t,n){return ma(Ao.count(Io(t)-1,t),n,2)}function Qa(t){var n=t.getDay();return n>=4||0===n?_o(t):_o.ceil(t)}function Xa(t,n){return t=Qa(t),ma(_o.count(Io(t),t)+(4===Io(t).getDay()),n,2)}function Ja(t){return t.getDay()}function tu(t,n){return ma(jo.count(Io(t)-1,t),n,2)}function nu(t,n){return ma(t.getFullYear()%100,n,2)}function eu(t,n){return ma((t=Qa(t)).getFullYear()%100,n,2)}function ru(t,n){return ma(t.getFullYear()%1e4,n,4)}function iu(t,n){var e=t.getDay();return ma((t=e>=4||0===e?_o(t):_o.ceil(t)).getFullYear()%1e4,n,4)}function ou(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+ma(n/60|0,"0",2)+ma(n%60,"0",2)}function au(t,n){return ma(t.getUTCDate(),n,2)}function uu(t,n){return ma(t.getUTCHours(),n,2)}function su(t,n){return ma(t.getUTCHours()%12||12,n,2)}function cu(t,n){return ma(1+zo.count(ta(t),t),n,3)}function lu(t,n){return ma(t.getUTCMilliseconds(),n,3)}function fu(t,n){return lu(t,n)+"000"}function du(t,n){return ma(t.getUTCMonth()+1,n,2)}function hu(t,n){return ma(t.getUTCMinutes(),n,2)}function pu(t,n){return ma(t.getUTCSeconds(),n,2)}function gu(t){var n=t.getUTCDay();return 0===n?7:n}function mu(t,n){return ma(Ro.count(ta(t)-1,t),n,2)}function yu(t){var n=t.getUTCDay();return n>=4||0===n?Ko(t):Ko.ceil(t)}function vu(t,n){return t=yu(t),ma(Ko.count(ta(t),t)+(4===ta(t).getUTCDay()),n,2)}function bu(t){return t.getUTCDay()}function xu(t,n){return ma(Bo.count(ta(t)-1,t),n,2)}function wu(t,n){return ma(t.getUTCFullYear()%100,n,2)}function Mu(t,n){return ma((t=yu(t)).getUTCFullYear()%100,n,2)}function ku(t,n){return ma(t.getUTCFullYear()%1e4,n,4)}function Eu(t,n){var e=t.getUTCDay();return ma((t=e>=4||0===e?Ko(t):Ko.ceil(t)).getUTCFullYear()%1e4,n,4)}function Ou(){return"+0000"}function Au(){return"%"}function ju(t){return+t}function Cu(t){return Math.floor(+t/1e3)}function Su(t){return new Date(t)}function _u(t){return t instanceof Date?+t:+new Date(+t)}function Tu(t,n,e,r,i,o,a,u,s,c){var l=si(),f=l.invert,d=l.domain,h=c(".%L"),p=c(":%S"),g=c("%I:%M"),m=c("%I %p"),y=c("%a %d"),v=c("%b %d"),b=c("%B"),x=c("%Y");function w(t){return(s(t)<t?h:u(t)<t?p:a(t)<t?g:o(t)<t?m:r(t)<t?i(t)<t?y:v:e(t)<t?b:x)(t)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?d(Array.from(t,_u)):d().map(Su)},l.ticks=function(n){var e=d();return t(e[0],e[e.length-1],null==n?10:n)},l.tickFormat=function(t,n){return null==n?w:c(n)},l.nice=function(t){var e=d();return t&&"function"==typeof t.range||(t=n(e[0],e[e.length-1],null==t?10:t)),t?d(ji(e,t)):l},l.copy=function(){return ai(l,Tu(t,n,e,r,i,o,a,u,s,c))},l}function Nu(){return Sr.apply(Tu(ia,oa,Io,Po,Ao,Eo,Mo,xo,vo,la).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Du(){return Sr.apply(Tu(ea,ra,ta,Xo,Ro,zo,Wo,qo,vo,fa).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Pu(){var t,n,e,r,i,o=0,a=1,u=ei,s=!1;function c(n){return null==n||isNaN(n=+n)?i:u(0===e?.5:(n=(r(n)-t)*e,s?Math.max(0,Math.min(1,n)):n))}function l(t){return function(n){var e,r;return arguments.length?([e,r]=n,u=t(e,r),c):[u(0),u(1)]}}return c.domain=function(i){return arguments.length?([o,a]=i,t=r(o=+o),n=r(a=+a),e=t===n?0:1/(n-t),c):[o,a]},c.clamp=function(t){return arguments.length?(s=!!t,c):s},c.interpolator=function(t){return arguments.length?(u=t,c):u},c.range=l(He),c.rangeRound=l(Jr),c.unknown=function(t){return arguments.length?(i=t,c):i},function(i){return r=i,t=i(o),n=i(a),e=t===n?0:1/(n-t),c}}function Lu(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function Iu(){var t=Ei(Pu()(ei));return t.copy=function(){return Lu(t,Iu())},_r.apply(t,arguments)}function $u(){var t=Pi(Pu()).domain([1,10]);return t.copy=function(){return Lu(t,$u()).base(t.base())},_r.apply(t,arguments)}function qu(){var t=qi(Pu());return t.copy=function(){return Lu(t,qu()).constant(t.constant())},_r.apply(t,arguments)}function Uu(){var t=Hi(Pu());return t.copy=function(){return Lu(t,Uu()).exponent(t.exponent())},_r.apply(t,arguments)}function Wu(){return Uu.apply(null,arguments).exponent(.5)}function Fu(){var t=[],n=ei;function e(e){if(null!=e&&!isNaN(e=+e))return n((Xr(t,e,1)-1)/(t.length-1))}return e.domain=function(n){if(!arguments.length)return t.slice();t=[];for(let e of n)null==e||isNaN(e=+e)||t.push(e);return t.sort(Br),e},e.interpolator=function(t){return arguments.length?(n=t,e):n},e.range=function(){return t.map(((e,r)=>n(r/(t.length-1))))},e.quantiles=function(n){return Array.from({length:n+1},((e,r)=>to(t,r/n)))},e.copy=function(){return Fu(n).domain(t)},_r.apply(e,arguments)}function zu(t,n){void 0===n&&(n=t,t=He);for(var e=0,r=n.length-1,i=n[0],o=new Array(r<0?0:r);e<r;)o[e]=t(i,i=n[++e]);return function(t){var n=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return o[n](t-n)}}function Hu(){var t,n,e,r,i,o,a,u=0,s=.5,c=1,l=1,f=ei,d=!1;function h(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-n)*(l*t<l*n?r:i),f(d?Math.max(0,Math.min(1,t)):t))}function p(t){return function(n){var e,r,i;return arguments.length?([e,r,i]=n,f=zu(t,[e,r,i]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){return arguments.length?([u,s,c]=a,t=o(u=+u),n=o(s=+s),e=o(c=+c),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),l=n<t?-1:1,h):[u,s,c]},h.clamp=function(t){return arguments.length?(d=!!t,h):d},h.interpolator=function(t){return arguments.length?(f=t,h):f},h.range=p(He),h.rangeRound=p(Jr),h.unknown=function(t){return arguments.length?(a=t,h):a},function(a){return o=a,t=a(u),n=a(s),e=a(c),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),l=n<t?-1:1,h}}function Ru(){var t=Ei(Hu()(ei));return t.copy=function(){return Lu(t,Ru())},_r.apply(t,arguments)}function Bu(){var t=Pi(Hu()).domain([.1,1,10]);return t.copy=function(){return Lu(t,Bu()).base(t.base())},_r.apply(t,arguments)}function Yu(){var t=qi(Hu());return t.copy=function(){return Lu(t,Yu()).constant(t.constant())},_r.apply(t,arguments)}function Vu(){var t=Hi(Hu());return t.copy=function(){return Lu(t,Vu()).exponent(t.exponent())},_r.apply(t,arguments)}function Ku(){return Vu.apply(null,arguments).exponent(.5)}ca=function(t){var n=t.dateTime,e=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,u=t.months,s=t.shortMonths,c=va(i),l=ba(i),f=va(o),d=ba(o),h=va(a),p=ba(a),g=va(u),m=ba(u),y=va(s),v=ba(s),b={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return s[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:Wa,e:Wa,f:Ba,g:eu,G:iu,H:Fa,I:za,j:Ha,L:Ra,m:Ya,M:Va,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:ju,s:Cu,S:Ka,u:Ga,U:Za,V:Xa,w:Ja,W:tu,x:null,X:null,y:nu,Y:ru,Z:ou,"%":Au},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return s[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:au,e:au,f:fu,g:Mu,G:Eu,H:uu,I:su,j:cu,L:lu,m:du,M:hu,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:ju,s:Cu,S:pu,u:gu,U:mu,V:vu,w:bu,W:xu,x:null,X:null,y:wu,Y:ku,Z:Ou,"%":Au},w={a:function(t,n,e){var r=h.exec(n.slice(e));return r?(t.w=p.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.w=d.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(t,n,e){var r=y.exec(n.slice(e));return r?(t.m=v.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.m=m.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return E(t,n,e,r)},d:_a,e:_a,f:Ia,g:Aa,G:Oa,H:Na,I:Na,j:Ta,L:La,m:Sa,M:Da,p:function(t,n,e){var r=c.exec(n.slice(e));return r?(t.p=l.get(r[0].toLowerCase()),e+r[0].length):-1},q:Ca,Q:qa,s:Ua,S:Pa,u:wa,U:Ma,V:ka,w:xa,W:Ea,x:function(t,n,r){return E(t,e,n,r)},X:function(t,n,e){return E(t,r,n,e)},y:Aa,Y:Oa,Z:ja,"%":$a};function M(t,n){return function(e){var r,i,o,a=[],u=-1,s=0,c=t.length;for(e instanceof Date||(e=new Date(+e));++u<c;)37===t.charCodeAt(u)&&(a.push(t.slice(s,u)),null!=(i=da[r=t.charAt(++u)])?r=t.charAt(++u):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),a.push(r),s=u+1);return a.push(t.slice(s,u)),a.join("")}}function k(t,n){return function(e){var r,i,o=sa(1900,void 0,1);if(E(o,t,e+="",0)!=e.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(n&&!("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?(i=(r=ua(sa(o.y,0,1))).getUTCDay(),r=i>4||0===i?Bo.ceil(r):Bo(r),r=zo.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=aa(sa(o.y,0,1))).getDay(),r=i>4||0===i?jo.ceil(r):jo(r),r=Eo.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),i="Z"in o?ua(sa(o.y,0,1)).getUTCDay():aa(sa(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,ua(o)):aa(o)}}function E(t,n,e,r){for(var i,o,a=0,u=n.length,s=e.length;a<u;){if(r>=s)return-1;if(37===(i=n.charCodeAt(a++))){if(i=n.charAt(a++),!(o=w[i in da?n.charAt(a++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return b.x=M(e,b),b.X=M(r,b),b.c=M(n,b),x.x=M(e,x),x.X=M(r,x),x.c=M(n,x),{format:function(t){var n=M(t+="",b);return n.toString=function(){return t},n},parse:function(t){var n=k(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=M(t+="",x);return n.toString=function(){return t},n},utcParse:function(t){var n=k(t+="",!0);return n.toString=function(){return t},n}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),la=ca.format,ca.parse,fa=ca.utcFormat,ca.utcParse;const Gu=["linear","time","log","sqrt"];function Zu(t){return"function"==typeof t?K(t.copy)&&K(t.domain)&&K(t.range):"string"==typeof t&&Gu.includes(t)}function Qu(t,n){return!(!t.scale||(t.scale.x||t.scale.y)&&!t.scale[n])}function Xu(t,n){if(!t.data)return"linear";const e=G(t[n]);return Ze(t.data.map((t=>{const r=Kn()(e(t))?e(t)[n]:e(t);return void 0!==r?r:t[n]})))?"time":"linear"}function Ju(t){if(Zu(t)){const r=`scale${e=t,e&&e[0].toUpperCase()+e.slice(1)}`;return n[r]()}var e;return Oi()}function ts(t,n){const e=function(t,n){if(!Qu(t,n))return;const e=t.scale[n]||t.scale;return Zu(e)?K(e)?e:Ju(e):void 0}(t,n);return e?"string"==typeof e?Ju(e):e:Ju(function(t,n){let e;if(t.domain&&t.domain[n]?e=t.domain[n]:t.domain&&Array.isArray(t.domain)&&(e=t.domain),e)return Ze(e)?"time":"linear"}(t,n)||Xu(t,n))}function ns(t,n){return function(t,n){if(!Qu(t,n))return;const e=t.scale[n]||t.scale;return"string"==typeof e?e:function(t){if("string"==typeof t)return t;const n=es.filter((n=>void 0!==t[n.method]))[0];return n?n.name:void 0}(e)}(t,n)||Xu(t,n)}const es=[{name:"quantile",method:"quantiles"},{name:"log",method:"base"}];function rs(t){return!(!t||!t["@@__IMMUTABLE_ITERABLE__@@"])}function is(t,n){return rs(t)?t.reduce(((t,e,r)=>{let i=e;return n&&n[r]&&(i=is(e)),t[r]=i,t}),function(t){return!(!t||!t["@@__IMMUTABLE_LIST__@@"])}(t)?[]:{}):t}function os(t){return rs(n=t)||function(t){return!(!t||!t["@@__IMMUTABLE_RECORD__@@"])}(n)?is(t,{errorX:!0,errorY:!0}):t;var n}function as(t,n){const e=(Kn()(t.domain)?t.domain[n]:t.domain)||ts(t,n).domain(),r=t.samples||1,i=Math.max(...e),o=Math.min(...e),a=function(t,n,e){const r=n?t:0;let i=n||t;i||(i=0);const o=i-r,a=Math.abs(o),u=o/a||1,s=e||1,c=Math.max(Math.ceil(a/s),0);return Array.from(Array(c),((t,n)=>r+n*u*s))}(o,i,(i-o)/r);return a[a.length-1]===i?a:a.concat(i)}function us(t,n,e){if(void 0===e&&(e="ascending"),!n)return t;let r=n;"x"!==n&&"y"!==n||(r=`_${n}`);const i="ascending"===e?"asc":"desc";return Yn()(t,r,i)}function ss(t,n){const e=function(t,n){const{tickValues:e,tickFormat:r}=t;let i;return i=e&&(Array.isArray(e)||e[n])?e[n]||e:r&&Array.isArray(r)?r:[],i.filter((t=>"string"==typeof t))}(t,n),r=fs(t,n),i=function(t,n){if(!Array.isArray(t.data)&&!rs(t.data))return[];const e=G(void 0===t[n]?n:t[n]);return us(t.data.reduce(((t,n)=>(t.push(os(n)),t)),[]),t.sortKey,t.sortOrder).reduce(((t,n)=>{const r=os(n);return t.push(e(r)),t}),[]).filter((t=>"string"==typeof t)).reduce(((t,n)=>(null!=n&&-1===t.indexOf(n)&&t.push(n),t)),[])}(t,n),o=fr()([...e,...r,...i]);return 0===o.length?null:o.reduce(((t,n,e)=>(t[n]=e+1,t)),{})}function cs(t,n,e){if(!Array.isArray(t)&&!rs(t)||function(t){return rs(t)?t.size:t.length}(t)<1)return[];const r=["x","y","y0"],i=(e=Array.isArray(e)?e:r).reduce(((t,e)=>{var r;return t[e]=G(void 0!==n[r=e]?n[r]:r),t}),{}),o=jr()(e,r)&&"_x"===n.x&&"_y"===n.y&&"_y0"===n.y0;let a;!1===o&&(a={x:-1!==e.indexOf("x")?ss(n,"x"):void 0,y:-1!==e.indexOf("y")?ss(n,"y"):void 0,y0:-1!==e.indexOf("y0")?ss(n,"y"):void 0});const u=o?t:t.reduce(((t,n,r)=>{const o=os(n),u={x:r,y:o},s=e.reduce(((t,n)=>{const e=i[n](o),r=void 0!==e?e:u[n];return void 0!==r&&("string"==typeof r&&a[n]?(t[`${n}Name`]=r,t[`_${n}`]=a[n][r]):t[`_${n}`]=r),t}),{}),c=Object.assign({},s,o);return lt()(c)||t.push(c),t}),[]),s=function(t,n){const e=1/Number.MAX_SAFE_INTEGER,r={x:ns(n,"x"),y:ns(n,"y")};if("log"!==r.x&&"log"!==r.y)return t;const i=(t,n)=>"log"!==r[n]||0!==t[`_${n}`];return t.map((t=>i(t,"x")&&i(t,"y")&&i(t,"y0")?t:(t=>{const n=i(t,"x")?t._x:e,r=i(t,"y")?t._y:e,o=i(t,"y0")?t._y0:e;return Object.assign({},t,{_x:n,_y:r,_y0:o})})(t)))}(us(u,n.sortKey,n.sortOrder),n);return function(t,n){const e=!!t.eventKey,r=K(i=t.eventKey)?i:null==i?()=>{}:$()(i);var i;return n.map(((t,n)=>{if(void 0!==t.eventKey)return t;if(e){const e=r(t,n);return void 0!==e?Object.assign({eventKey:e},t):t}return t}))}(n,s)}function ls(t,n){return t.categories&&!Array.isArray(t.categories)?t.categories[n]:t.categories}function fs(t,n){if(!t.categories)return[];const e=ls(t,n),r=e&&e.filter((t=>"string"==typeof t));return r?r.filter((t=>void 0!==t)):[]}var ds=r(4295),hs=r.n(ds),ps=r(2829),gs=r.n(ps);function ms(t,n,e){void 0===e&&(e="min");const r=t=>"max"===e?Math.max(...t):Math.min(...t),i="max"===e?-1/0:1/0;let o=!1;const a=t.flat().reduce(((t,e)=>{const i=void 0!==e[`_${n}0`]?e[`_${n}0`]:e[`_${n}`],a=void 0!==e[`_${n}1`]?e[`_${n}1`]:e[`_${n}`],u=r([i,a]);return o=o||i instanceof Date||a instanceof Date,r([t,u])}),i);return o?new Date(a):a}function ys(t,n){const e=K(t)?t:bs,r=K(n)?n:vs;return(t,n)=>{const i=function(t,n){const e=Ms(t,n),r=ws(t,n);return Kn()(t.domain)&&t.domain[n]?t.domain[n]:Array.isArray(t.domain)?t.domain:void 0!==e&&void 0!==r?xs(e,r):void 0}(t,n);if(i)return r(i,t,n);const o=ls(t,n),a=o?function(t,n,e){const r=e||ls(t,n),{polar:i,startAngle:o=0,endAngle:a=360}=t;if(!r)return;const u=Ms(t,n),s=ws(t,n),c=(h=r,Array.isArray(h)&&h.some((t=>"string"==typeof t))?fs(t,n):[]),l=0===c.length?null:c.reduce(((t,n,e)=>(t[n]=e+1,t)),{}),f=l?r.map((t=>l[t])):r,d=xs(void 0!==u?u:Je(f),void 0!==s?s:Xe(f));var h;return i&&"x"===n&&360===Math.abs(o-a)?ks(d,f):d}(t,n,o):e(t,n);return a?r(a,t,n):void 0}}function vs(t,n,e){return function(t,n,e){return"log"!==ns(n,e)?t:(t=>{const n=t[0]<0||t[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER;return[0===t[0]?n:t[0],0===t[1]?n:t[1]]})(t)}(function(t,n,e){if(!n.domainPadding)return t;const r=Ms(n,e),i=ws(n,e),o=function(t,n){const e=t=>Array.isArray(t)?{left:t[0],right:t[1]}:{left:t,right:t};return Kn()(t.domainPadding)?e(t.domainPadding[n]):e(t.domainPadding)}(n,e);if(!o.left&&!o.right)return t;const a=Je(t),u=Xe(t),s=function(t,n){return n?"x"===t?"y":"x":t}(e,n.horizontal),c=Y(n,s),l=Math.abs(c[0]-c[1]),f=Math.max(l-o.left-o.right,1),d=Math.abs(u.valueOf()-a.valueOf())/f*l,h=d*o.left/l,p=d*o.right/l;let g={min:a.valueOf()-h,max:u.valueOf()+p};const m=Kn()(n.singleQuadrantDomainPadding)?n.singleQuadrantDomainPadding[e]:n.singleQuadrantDomainPadding,y=(t,n)=>"min"===n&&a>=0&&t<=0||"max"===n&&u<=0&&t>=0?0:t;if((a>=0&&g.min<=0||u<=0&&g.max>=0)&&!1!==m){const t={left:Math.abs(u-a)*o.left/l,right:Math.abs(u-a)*o.right/l},n={min:y(a.valueOf()-t.left,"min"),max:y(u.valueOf()+t.right,"max")},e={left:Math.abs(n.max-n.min)*o.left/l,right:Math.abs(n.max-n.min)*o.right/l};g={min:y(a.valueOf()-e.left,"min"),max:y(u.valueOf()+e.right,"max")}}const v={min:void 0!==r?r:g.min,max:void 0!==i?i:g.max};return a instanceof Date||u instanceof Date?xs(new Date(v.min),new Date(v.max)):xs(v.min,v.max)}(t,n,e),n,e)}function bs(t,n,e){const r=e||function(t){return t.data?cs(t.data,t):cs(function(t){const n=as(t,"x"),e=as(t,"y");return n.map(((t,n)=>({x:t,y:e[n]})))}(t),t)}(t),{polar:i,startAngle:o=0,endAngle:a=360}=t,u=Ms(t,n),s=ws(t,n);if(r.length<1)return void 0!==u&&void 0!==s?xs(u,s):void 0;const c=xs(void 0!==u?u:ms(r,n,"min"),void 0!==s?s:ms(r,n,"max"));return i&&"x"===n&&360===Math.abs(o-a)?ks(c,function(t,n){const e=`_${n}`;return t.flat().map((t=>t[e]&&void 0!==t[e][1]?t[e][1]:t[e]))}(r,n)):c}function xs(t,n){return Number(t)===Number(n)?(t=>{const n=0===t?2*Math.pow(10,-10):Math.pow(10,-10),e=t instanceof Date?new Date(Number(t)-1):Number(t)-n,r=t instanceof Date?new Date(Number(t)+1):Number(t)+n;return 0===t?[0,r]:[e,r]})(n):[t,n]}function ws(t,n){return Kn()(t.maxDomain)&&void 0!==t.maxDomain[n]?t.maxDomain[n]:"number"==typeof t.maxDomain||hs()(t.maxDomain)?t.maxDomain:void 0}function Ms(t,n){return Kn()(t.minDomain)&&void 0!==t.minDomain[n]?t.minDomain[n]:"number"==typeof t.minDomain||hs()(t.minDomain)?t.minDomain:void 0}function ks(t,n){const e=gs()(n.sort(((t,n)=>t-n))),r=e[1]-e[0];return[t[0],t[1]+r]}const Es=["max","min","median","q1","q3"],Os=t=>Number.isNaN(t)?null:t,As=t=>{const n=t.map((t=>t._y)),e={_q1:Os(to(n,.25)),_q3:Os(to(n,.75)),_min:Os(Zi(n)),_median:Os(to(n,.5)),_max:Os(Gi(n))};return Object.assign({},t[0],e,{_y:t[0]._y})},js=t=>{const n=Es.concat("x","y"),e=cs(t.data,t,n);return e.length?(t=>{const n=(t=>{if(t.every((t=>Es.every((n=>void 0!==t[`_${n}`]))))){const n=t.map((t=>t._x));if(!fr()(n).length===n.length)throw new Error("\n data prop may only take an array of objects with a unique\n independent variable. Make sure your x values are distinct.\n ");return!0}return!1})(t);if(n)return t;{const n=t.every((t=>Array.isArray(t._x))),e=t.every((t=>Array.isArray(t._y))),r="_y",i="_x";if(n)throw new Error("\n data should not be given as in array for x\n ");if(e)return t.map((t=>{const n=t[r].map((n=>Object.assign({},t,{[r]:n}))),e=Yn()(n,r);return As(e)}));{const n=Or()(t,i);return Object.keys(n).map((t=>{const e=n[t],i=Yn()(e,r);return As(i)}))}}})(e):[]},Cs=(t,n)=>{const e=Ms(t,n),r=ws(t,n),i=js(t);return i.length<1?void 0!==e&&void 0!==r?xs(e,r):void 0:"y"===n?((t,n,e)=>{const r=Ms(n,e),i=ws(n,e);return xs(void 0!==r?r:t.reduce(((t,n)=>t<n._min?t:n._min),1/0),void 0!==i?i:t.reduce(((t,n)=>t>n._max?t:n._max),-1/0))})(i,t,n):((t,n,e)=>{const r=Ms(n,e),i=ws(n,e);return xs(void 0!==r?r:t.reduce(((t,n)=>t<n[`_${e}`]?t:n[`_${e}`]),1/0),void 0!==i?i:t.reduce(((t,n)=>t>n[`_${e}`]?t:n[`_${e}`]),-1/0))})(i,t,n)},Ss=(t,n)=>ys(Cs)(t,n),_s=(t,n,e)=>{const r=t[`${e}LabelComponent`]||t.labelComponent,i=n[`${e}Labels`]||n.labels;if(!F(r))return i;const o=t.theme&&t.theme.tooltip||{};return f()({},o.style,i)},Ts=(t,n)=>{const e=Z(t,n,"boxplot"),r=Object.assign({},e,(t=>{const{theme:n,horizontal:e}=t,r=js(t),i={x:Y(t,"x"),y:Y(t,"y")},o={x:Ss(t,"x"),y:Ss(t,"y")},a={x:ts(t,"x").domain(o.x).range(t.horizontal?i.y:i.x),y:ts(t,"y").domain(o.y).range(t.horizontal?i.x:i.y)},u=function(t,n){if(void 0===n&&(n={}),t.disableInlineStyles)return{};const e=t.style||{},r=f()({},e.labels,_s(t,n)),i=f()({},e.boxes,n.boxes),o=f()({},e.whiskers,n.whiskers);return{boxes:i,labels:r,parent:f()({},e.parent,n.parent,{height:"100%",width:"100%"}),max:f()({},e.max,n.max,o),maxLabels:f()({},e.maxLabels,_s(t,n,"max"),r),median:f()({},e.median,n.median,o),medianLabels:f()({},e.medianLabels,_s(t,n,"median"),r),min:f()({},e.min,n.min,o),minLabels:f()({},e.minLabels,_s(t,n,"min"),r),q1:f()({},e.q1,n.q1,i),q1Labels:f()({},e.q1Labels,_s(t,n,"q1"),r),q3:f()({},e.q3,n.q3,i),q3Labels:f()({},e.q3Labels,_s(t,n,"q3"),r),whiskers:o}}(t,n&&n.boxplot&&n.boxplot.style?n.boxplot.style:{}),s=t.horizontal?"top":"right";return{data:r,horizontal:e,domain:o,scale:a,style:u,labelOrientation:t.labelOrientation||s,boxWidth:t.boxWidth||1}})(e)),{groupComponent:i,width:o,height:a,padding:u,standalone:s,theme:c,events:l,sharedEvents:d,scale:h,horizontal:p,data:g,style:m,domain:y,name:v}=r,b={parent:{domain:y,scale:h,width:o,height:a,data:g,standalone:s,name:v,theme:c,style:m.parent||{},padding:u,groupComponent:i,horizontal:p}},x=h.y;return g.reduce(((t,n,e)=>{const i=V(n.eventKey)?e:n.eventKey;if(((t,n)=>{const e=t=>void 0!==t,{_x:r,_min:i,_max:o}=t,a=Je(n.x),u=Xe(n.x),s=Je(n.y),c=Xe(n.y),l=t=>n=>e(n)&&n<t,f=t=>n=>e(n)&&n>t,d=l(a),h=l(s),p=f(u),g=f(c);let m,y;return(d(r)||p(r))&&(y=!0),(h(i)&&h(o)||g(i)&&g(o))&&(m=!0),m||y})(n,y))return t;const o={x:p?h.y(n._y):h.x(n._x),y:p?h.x(n._x):h.y(n._y),min:x(n._min),max:x(n._max),median:x(n._median),q1:x(n._q1),q3:x(n._q3)},a=Object.assign({index:e,datum:n,positions:o},r),u=Es.reduce(((t,n)=>(t[n]=((t,n)=>"median"===n?(t=>{const{boxWidth:n,horizontal:e,style:r,datum:i,scale:o,index:a,disableInlineStyles:u}=t,{median:s,x:c,y:l}=t.positions;return{datum:i,scale:o,index:a,x1:e?s:c-n/2,y1:e?l-n/2:s,x2:e?s:c+n/2,y2:e?l+n/2:s,style:u?{}:r.median,disableInlineStyles:u}})(t):"min"===n||"max"===n?((t,n)=>{const{horizontal:e,style:r,boxWidth:i,whiskerWidth:o,datum:a,scale:u,index:s,disableInlineStyles:c}=t,{min:l,max:f,q1:d,q3:h,x:p,y:g}=t.positions,m="min"===n?d:h,y="min"===n?l:f,v="number"==typeof o?o:i;return{datum:a,index:s,scale:u,majorWhisker:{x1:e?m:p,y1:e?g:m,x2:e?y:p,y2:e?g:y},minorWhisker:{x1:e?y:p-v/2,y1:e?g-v/2:y,x2:e?y:p+v/2,y2:e?g+v/2:y},style:c?{}:r[n]||r.whisker,disableInlineStyles:c}})(t,n):((t,n)=>{const{horizontal:e,boxWidth:r,style:i,scale:o,datum:a,index:u,disableInlineStyles:s}=t,{median:c,q1:l,q3:f,x:d,y:h}=t.positions;return{datum:a,scale:o,index:u,x:e?"q1"===n?l:c:d-r/2,y:e?h-r/2:"q1"===n?c:f,width:e?"q1"===n?c-l:f-c:r,height:e?r:"q1"===n?l-c:c-f,style:s?{}:i[n]||i.boxes,disableInlineStyles:s}})(t,n))(a,n),t)),{});return t[i]=u,Es.forEach((n=>{const e=((t,n)=>{const{datum:e,index:r,labels:i}=t,o=t[`${n}Labels`];return o||i?!0===o||!0===i?`${e[`_${n}`]}`:Array.isArray(o)?o[r]:o:null})(a,n),o=r.labels||r[`${n}Labels`];if(null!=e||o&&(l||d)){const o=`${n}Labels`;t[i][o]=((t,n,e)=>{const{datum:r,positions:i,index:o,boxWidth:a,horizontal:u,labelOrientation:s,style:c,theme:l,disableInlineStyles:d}=t,h=((t,n)=>"object"==typeof t&&t[n]||t)(s,e),p=c[`${e}Labels`]||c.labels,g="number"==typeof t.whiskerWidth?t.whiskerWidth:a,m="min"===e||"max"===e?g:a,y=t=>{const n={x:"left"===h?-1:1,y:"top"===h?-1:1};return n[t]*m/2+n[t]*(p.padding||0)},v={text:n,datum:r,index:o,orientation:h,style:d?{}:p,y:u?i.y:i[e],x:u?i[e]:i.x,dy:u?y("y"):0,dx:u?0:y("x"),textAnchor:p.textAnchor||{left:"end",right:"start",top:"middle",bottom:"middle"}[h],verticalAnchor:p.verticalAnchor||{top:"end",bottom:"start",left:"middle",right:"middle"}[h],angle:p.angle,horizontal:u,disableInlineStyles:d};if(!F(t[`${e}LabelComponent`]))return v;const b=l&&l.tooltip||{};return f()({},v,q(b,["style"]))})(Object.assign({},r,a),e,n)}})),t}),b)},Ns={width:450,height:300,padding:{top:20,right:20,bottom:20,left:20}},Ds=[{x:1,min:5,q1:7,median:12,q3:18,max:20},{x:2,min:2,q1:5,median:8,q3:12,max:15}];class Ps extends o().Component{static animationWhitelist=["data","domain","height","padding","style","width"];static displayName="VictoryBoxPlot";static role="boxplot";static defaultTransitions={onLoad:{duration:2e3,before:()=>({opacity:0}),after:t=>t},onExit:{duration:600,before:()=>({opacity:0})},onEnter:{duration:600,before:()=>({opacity:0}),after:t=>t}};static defaultProps={containerComponent:o().createElement(tt,null),data:Ds,dataComponent:o().createElement(it,null),groupComponent:o().createElement("g",{role:"presentation"}),maxComponent:o().createElement(st,null),maxLabelComponent:o().createElement(Ft,null),medianComponent:o().createElement(Ht,null),medianLabelComponent:o().createElement(Ft,null),minComponent:o().createElement(st,null),minLabelComponent:o().createElement(Ft,null),q1Component:o().createElement(it,null),q1LabelComponent:o().createElement(Ft,null),q3Component:o().createElement(it,null),q3LabelComponent:o().createElement(Ft,null),samples:50,sortKey:"x",sortOrder:"ascending",standalone:!0,theme:sn};static getDomain=Ss;static getData=js;static getBaseProps=t=>Ts(t,Ns);static expectedComponents=["maxComponent","maxLabelComponent","medianComponent","medianLabelComponent","minComponent","minLabelComponent","q1Component","q1LabelComponent","q3Component","q3LabelComponent","groupComponent","containerComponent"];renderBoxPlot(t){const n=["q1","q3","max","min","median"],e=[...n.map((n=>this.dataKeys.reduce(((e,r,i)=>{const a=t[`${n}Component`],u=this.getComponentProps(a,n,i);return this.shouldRenderDatum(u.datum)&&e.push(o().cloneElement(a,u)),e}),[]))).flat(),...n.map((n=>this.dataKeys.reduce(((e,r,i)=>{const a=`${n}Labels`,u=t[`${n}LabelComponent`],s=this.getComponentProps(u,a,i);return void 0!==s.text&&null!==s.text&&e.push(o().cloneElement(u,s)),e}),[]).filter(Boolean))).flat()];return this.renderContainer(t.groupComponent,e)}shouldAnimate(){return!!this.props.animate}shouldRenderDatum(t){const n=!V(t._x),e=!V(t._y);return!(V(t._min)||V(t._max)||V(t._median)||V(t._q1)||V(t._q3))&&(this.props.horizontal?e:n)}render(){const{animationWhitelist:t,role:n}=Ls,r=Z(this.props,Ns,n);if(this.shouldAnimate())return this.animateComponent(r,t);const i=this.renderBoxPlot(r);return((t,n)=>e.cloneElement(t,X(n)))(r.standalone?this.renderContainer(r.containerComponent,i):i,r)}}const Ls=(Is=Ps,void 0===($s={components:[{name:"min"},{name:"minLabels"},{name:"max"},{name:"maxLabels"},{name:"median"},{name:"medianLabels"},{name:"q1"},{name:"q1Labels"},{name:"q3"},{name:"q3Labels"},{name:"parent",index:"parent"}]})&&($s={}),class extends Is{constructor(t){super(t),this.cacheValues(this.getCalculatedValues(t))}state={};getEventState=br.bind(this);getScopedEvents=vr.bind(this);getEvents=(t,n,e)=>yr.call(this,t,n,e,this.getScopedEvents);externalMutations=this.getExternalMutations(this.props);calculatedState=this.getStateChanges(this.props);globalEvents={};prevGlobalEventKeys=[];boundGlobalEvents={};shouldComponentUpdate(t){const n=this.getExternalMutations(t),e=this.props.animating||this.props.animate,r=!ln()(n,this.externalMutations);if(e||r)return this.cacheValues(this.getCalculatedValues(t)),this.externalMutations=n,this.applyExternalMutations(t,n),!0;const i=this.getStateChanges(t);return ln()(this.calculatedState,i)?!ln()(this.props,t)&&(this.cacheValues(this.getCalculatedValues(t)),!0):(this.cacheValues(this.getCalculatedValues(t)),!0)}componentDidMount(){const t=Object.keys(this.globalEvents);t.forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=t}componentDidUpdate(t){const n=this.getStateChanges(t);this.calculatedState=n;const e=Object.keys(this.globalEvents);Qe(this.prevGlobalEventKeys,e).forEach((t=>this.removeGlobalListener(t))),Qe(e,this.prevGlobalEventKeys).forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=e}componentWillUnmount(){this.prevGlobalEventKeys.forEach((t=>this.removeGlobalListener(t)))}addGlobalListener(t){const n=n=>{const e=this.globalEvents[t];return e&&e((t=>Object.assign(t,{nativeEvent:t}))(n))};this.boundGlobalEvents[t]=n,window.addEventListener(wr(t),n)}removeGlobalListener(t){window.removeEventListener(wr(t),this.boundGlobalEvents[t])}getStateChanges(t){if(!this.hasEvents)return{};const n=(t,n)=>{const e=f()({},this.getEventState(t,n),this.getSharedEventState(t,n));return lt()(e)?void 0:e};return($s.components||kr).map((e=>{if(t.standalone||"parent"!==e.name)return void 0!==e.index?n(e.index,e.name):this.dataKeys.map((t=>n(t,e.name))).filter(Boolean)})).filter(Boolean)}applyExternalMutations(t,n){if(!lt()(n)){const e=t.externalEventMutations.reduce(((t,n)=>K(n.callback)?t.concat(n.callback):t),[]),r=e.length?()=>{e.forEach((t=>t()))}:void 0;this.setState(n,r)}}getCalculatedValues(t){const{sharedEvents:n}=t,e=function(t,n){const e=Array.isArray(n)&&n.reduce(((n,e)=>{const r=t[e],i=r&&r.type&&r.type.defaultEvents,o=K(i)?i(r.props):i;return Array.isArray(o)?n.concat(...o):n}),[]);return e&&e.length?e:void 0}(t,Is.expectedComponents),r=n&&K(n.getEventState)?n.getEventState:()=>{},i=this.getBaseProps(t,r);return{componentEvents:e,getSharedEventState:r,baseProps:i,dataKeys:Object.keys(i).filter((t=>"parent"!==t)),hasEvents:t.events||t.sharedEvents||e,events:this.getAllEvents(t)}}getExternalMutations(t){const{sharedEvents:n,externalEventMutations:e}=t;return lt()(e)||n?void 0:function(t,n,e,r){return void 0===n&&(n={}),void 0===e&&(e={}),Object.keys(n).reduce(((i,o)=>{const a=e[o]||{},u=n[o]||{};if("parent"===o){const n=xr(t,u,a,{eventKey:o,target:"parent"});i[o]=void 0!==n?Object.assign({},a,n):a}else{const n=fr()(Object.keys(u).concat(Object.keys(a)));i[o]=n.reduce(((n,e)=>{const i={eventKey:o,target:e,childName:r},s=xr(t,u[e],a[e],i);return n[e]=void 0!==s?Object.assign({},a[e],s):a[e],gr()(n,(t=>!lt()(t)))}),{})}return gr()(i,(t=>!lt()(t)))}),{})}(e,this.baseProps,this.state)}cacheValues(t){Object.keys(t).forEach((n=>{this[n]=t[n]}))}getBaseProps(t,n){const e=(n||this.getSharedEventState.bind(this))("parent","parent"),r=this.getEventState("parent","parent"),i=f()({},r,e),o=i.parentControlledProps,a=o?L()(i,o):{},u=f()({},a,t);return"function"==typeof Is.getBaseProps?Is.getBaseProps(u):{}}getAllEvents(t){return Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events}getComponentProps(t,n,e){const r=this.props.name||Is.role,i=this.dataKeys&&this.dataKeys[e]||e,o=`${r}-${n}-${i}`,a=this.baseProps[i]&&this.baseProps[i][n]||this.baseProps[i];if(!a&&!this.hasEvents)return;const u=t&&"object"==typeof t&&"props"in t?t.props:void 0;if(this.hasEvents){const t=this.getEvents(this.props,n,i),r=f()({index:e,key:o},this.getEventState(i,n),this.getSharedEventState(i,n),u,a,{id:o}),s=f()({},function(t,n,e){return t?Object.keys(t).reduce(((r,i)=>(r[i]=r=>t[i](r,e,n,i),r)),{}):{}}(t,i,r),r.events);return Object.assign({},r,{events:s})}return f()({index:e,key:o},u,a,{id:o})}renderContainer(t,n){const e=t.type&&"container"===t.type.role?this.getComponentProps(t,"parent","parent"):{};var r;return e.events&&(this.globalEvents=(r=e.events,gr()(r,((t,n)=>mr.test(n)))),e.events=(t=>hr()(t,((t,n)=>mr.test(n))))(e.events)),o().cloneElement(t,e,n)}animateComponent(t,n){const e="object"==typeof t.animate&&t.animate?.animationWhitelist||n,r=this.constructor;return o().createElement(cr,{animate:t.animate,animationWhitelist:e},o().createElement(r,t))}renderContinuousData(t){const{dataComponent:n,labelComponent:e,groupComponent:r}=t,i=this.dataKeys.filter((t=>"all"!==t)),a=i.reduce(((t,n)=>{let r=t;const i=this.getComponentProps(e,"labels",n);return i&&void 0!==i.text&&null!==i.text&&(r=r.concat(o().cloneElement(e,i))),r}),[]),u=this.getComponentProps(n,"data","all"),s=[o().cloneElement(n,u),...a];return this.renderContainer(r,s)}renderData(t,n){void 0===n&&(n=Mr);const{dataComponent:e,labelComponent:r,groupComponent:i}=t,a=[...this.dataKeys.reduce(((t,r,i)=>{const a=this.getComponentProps(e,"data",i);return n(a.datum)&&t.push(o().cloneElement(e,a)),t}),[]),...this.dataKeys.map(((t,n)=>{const e=this.getComponentProps(r,"labels",n);if(void 0!==e.text&&null!==e.text)return o().cloneElement(r,e)})).filter(Boolean)];return this.renderContainer(i,a)}});var Is,$s}(),i}()}));
2
2
  //# sourceMappingURL=victory-box-plot.min.js.map