PageSourceSearch

https://salarycalculate.com/_next/static/chunks/4200-67f066715a0abe3a.js

js salarycalculate.com collected 2026-10-09 05:01:14 UTC 494,512 bytes, 9 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4200],{29887:function(e,t,n){var o;/*! decimal.js-light v2.5.1 https://github.com/MikeMcl/decimal.js-light/LICENCE */!function(i){"use strict";var a,c={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},u=!0,s="[DecimalError] ",l=s+"Invalid argument: ",f=s+"Exponent out of range: ",p=Math.floor,d=Math.pow,y=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,h=p(1286742750677284.5),g={};function add(e,t){var n,o,i,a,c,s,l,f,p=e.constructor,d=p.precision;if(!e.s||!t.s)return t.s||(t=new p(e)),u?round(t,d):t;if(l=e.d,f=t.d,c=e.e,i=t.e,l=l.slice(),a=c-i){for(a<0?(o=l,a=-a,s=f.length):(o=f,i=c,s=l.length),a>(s=(c=Math.ceil(d/7))>s?c+1:s+1)&&(a=s,o.length=1),o.reverse();a--;)o.push(0);o.reverse()}for((s=l.length)-(a=f.length)<0&&(a=s,o=f,f=l,l=o),n=0;a;)n=(l[--a]=l[a]+f[a]+n)/1e7|0,l[a]%=1e7;for(n&&(l.unshift(n),++i),s=l.length;0==l[--s];)l.pop();return t.d=l,t.e=i,u?round(t,d):t}function checkInt32(e,t,n){if(e!==~~e||e<t||e>n)throw Error(l+e)}function digitsToString(e){var t,n,o,i=e.length-1,a="",c=e[0];if(i>0){for(a+=c,t=1;t<i;t++)(n=7-(o=e[t]+"").length)&&(a+=getZeroString(n)),a+=o;(n=7-(o=(c=e[t])+"").length)&&(a+=getZeroString(n))}else if(0===c)return"0";for(;c%10==0;)c/=10;return a+c}g.absoluteValue=g.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},g.comparedTo=g.cmp=function(e){var t,n,o,i;if(e=new this.constructor(e),this.s!==e.s)return this.s||-e.s;if(this.e!==e.e)return this.e>e.e^this.s<0?1:-1;for(t=0,n=(o=this.d.length)<(i=e.d.length)?o:i;t<n;++t)if(this.d[t]!==e.d[t])return this.d[t]>e.d[t]^this.s<0?1:-1;return o===i?0:o>i^this.s<0?1:-1},g.decimalPlaces=g.dp=function(){var e=this.d.length-1,t=(e-this.e)*7;if(e=this.d[e])for(;e%10==0;e/=10)t--;return t<0?0:t},g.dividedBy=g.div=function(e){return v(this,new this.constructor(e))},g.dividedToIntegerBy=g.idiv=function(e){var t=this.constructor;return round(v(this,new t(e),0,1),t.precision)},g.equals=g.eq=function(e){return!this.cmp(e)},g.exponent=function(){return getBase10Exponent(this)},g.greaterThan=g.gt=function(e){return this.cmp(e)>0},g.greaterThanOrEqualTo=g.gte=function(e){return this.cmp(e)>=0},g.isInteger=g.isint=function(){return this.e>this.d.length-2},g.isNegative=g.isneg=function(){return this.s<0},g.isPositive=g.ispos=function(){return this.s>0},g.isZero=function(){return 0===this.s},g.lessThan=g.lt=function(e){return 0>this.cmp(e)},g.lessThanOrEqualTo=g.lte=function(e){return 1>this.cmp(e)},g.logarithm=g.log=function(e){var t,n=this.constructor,o=n.precision,i=o+5;if(void 0===e)e=new n(10);else if((e=new n(e)).s<1||e.eq(a))throw Error(s+"NaN");if(this.s<1)throw Error(s+(this.s?"NaN":"-Infinity"));return this.eq(a)?new n(0):(u=!1,t=v(ln(this,i),ln(e,i),i),u=!0,round(t,o))},g.minus=g.sub=function(e){return e=new this.constructor(e),this.s==e.s?subtract(this,e):add(this,(e.s=-e.s,e))},g.modulo=g.mod=function(e){var t,n=this.constructor,o=n.precision;if(!(e=new n(e)).s)throw Error(s+"NaN");return this.s?(u=!1,t=v(this,e,0,1).times(e),u=!0,this.minus(t)):round(new n(this),o)},g.naturalExponential=g.exp=function(){return exp(this)},g.naturalLogarithm=g.ln=function(){return ln(this)},g.negated=g.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},g.plus=g.add=function(e){return e=new this.constructor(e),this.s==e.s?add(this,e):subtract(this,(e.s=-e.s,e))},g.precision=g.sd=function(e){var t,n,o;if(void 0!==e&&!!e!==e&&1!==e&&0!==e)throw Error(l+e);if(t=getBase10Exponent(this)+1,n=7*(o=this.d.length-1)+1,o=this.d[o]){for(;o%10==0;o/=10)n--;for(o=this.d[0];o>=10;o/=10)n++}return e&&t>n?t:n},g.squareRoot=g.sqrt=function(){var e,t,n,o,i,a,c,l=this.constructor;if(this.s<1){if(!this.s)return new l(0);throw Error(s+"NaN")}for(e=getBase10Exponent(this),u=!1,0==(i=Math.sqrt(+this))||i==1/0?(((t=digitsToString(this.d)).length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=p((e+1)/2)-(e<0||e%2),t=i==1/0?"5e"+e:(t=i.toExponential()).slice(0,t.indexOf("e")+1)+e,o=new l(t)):o=new l(i.toString()),i=c=(n=l.precision)+3;;)if(o=(a=o).plus(v(this,a,c+2)).times(.5),digitsToString(a.d).slice(0,c)===(t=digitsToString(o.d)).slice(0,c)){if(t=t.slice(c-3,c+1),i==c&&"4999"==t){if(round(a,n+1,0),a.times(a).eq(this)){o=a;break}}else if("9999"!=t)break;c+=4}return u=!0,round(o,n)},g.times=g.mul=function(e){var t,n,o,i,a,c,s,l,f,p=this.constructor,d=this.d,y=(e=new p(e)).d;if(!this.s||!e.s)return new p(0);for(e.s*=this.s,n=this.e+e.e,(l=d.length)<(f=y.length)&&(a=d,d=y,y=a,c=l,l=f,f=c),a=[],o=c=l+f;o--;)a.push(0);for(o=f;--o>=0;){for(t=0,i=l+o;i>o;)s=a[i]+y[o]*d[i-o-1]+t,a[i--]=s%1e7|0,t=s/1e7|0;a[i]=(a[i]+t)%1e7|0}for(;!a[--c];)a.pop();return t?++n:a.shift(),e.d=a,e.e=n,u?round(e,p.precision):e},g.toDecimalPlaces=g.todp=function(e,t){var n=this,o=n.constructor;return(n=new o(n),void 0===e)?n:(checkInt32(e,0,1e9),void 0===t?t=o.rounding:checkInt32(t,0,8),round(n,e+getBase10Exponent(n)+1,t))},g.toExponential=function(e,t){var n,o=this,i=o.constructor;return void 0===e?n=toString(o,!0):(checkInt32(e,0,1e9),void 0===t?t=i.rounding:checkInt32(t,0,8),n=toString(o=round(new i(o),e+1,t),!0,e+1)),n},g.toFixed=function(e,t){var n,o,i=this.constructor;return void 0===e?toString(this):(checkInt32(e,0,1e9),void 0===t?t=i.rounding:checkInt32(t,0,8),n=toString((o=round(new i(this),e+getBase10Exponent(this)+1,t)).abs(),!1,e+getBase10Exponent(o)+1),this.isneg()&&!this.isZero()?"-"+n:n)},g.toInteger=g.toint=function(){var e=this.constructor;return round(new e(this),getBase10Exponent(this)+1,e.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(e){var t,n,o,i,c,l,f=this,d=f.constructor,y=+(e=new d(e));if(!e.s)return new d(a);if(!(f=new d(f)).s){if(e.s<1)throw Error(s+"Infinity");return f}if(f.eq(a))return f;if(o=d.precision,e.eq(a))return round(f,o);if(l=(t=e.e)>=(n=e.d.length-1),c=f.s,l){if((n=y<0?-y:y)<=9007199254740991){for(i=new d(a),t=Math.ceil(o/7+4),u=!1;n%2&&truncate((i=i.times(f)).d,t),0!==(n=p(n/2));)truncate((f=f.times(f)).d,t);return u=!0,e.s<0?new d(a).div(i):round(i,o)}}else if(c<0)throw Error(s+"NaN");return c=c<0&&1&e.d[Math.max(t,n)]?-1:1,f.s=1,u=!1,i=e.times(ln(f,o+12)),u=!0,(i=exp(i)).s=c,i},g.toPrecision=function(e,t){var n,o,i=this,a=i.constructor;return void 0===e?(n=getBase10Exponent(i),o=toString(i,n<=a.toExpNeg||n>=a.toExpPos)):(checkInt32(e,1,1e9),void 0===t?t=a.rounding:checkInt32(t,0,8),n=getBase10Exponent(i=round(new a(i),e,t)),o=toString(i,e<=n||n<=a.toExpNeg,e)),o},g.toSignificantDigits=g.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(checkInt32(e,1,1e9),void 0===t?t=n.rounding:checkInt32(t,0,8)),round(new n(this),e,t)},g.toString=g.valueOf=g.val=g.toJSON=function(){var e=getBase10Exponent(this),t=this.constructor;return toString(this,e<=t.toExpNeg||e>=t.toExpPos)};var v=function(){function multiplyInteger(e,t){var n,o=0,i=e.length;for(e=e.slice();i--;)n=e[i]*t+o,e[i]=n%1e7|0,o=n/1e7|0;return o&&e.unshift(o),e}function compare(e,t,n,o){var i,a;if(n!=o)a=n>o?1:-1;else for(i=a=0;i<n;i++)if(e[i]!=t[i]){a=e[i]>t[i]?1:-1;break}return a}function subtract(e,t,n){for(var o=0;n--;)e[n]-=o,o=e[n]<t[n]?1:0,e[n]=1e7*o+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(e,t,n,o){var i,a,c,u,l,f,p,d,y,h,g,v,m,b,_,x,O,S,P=e.constructor,j=e.s==t.s?1:-1,w=e.d,A=t.d;if(!e.s)return new P(e);if(!t.s)throw Error(s+"Division by zero");for(c=0,a=e.e-t.e,O=A.length,_=w.length,d=(p=new P(j)).d=[];A[c]==(w[c]||0);)++c;if(A[c]>(w[c]||0)&&--a,(v=null==n?n=P.precision:o?n+(getBase10Exponent(e)-getBase10Exponent(t))+1:n)<0)return new P(0);if(v=v/7+2|0,c=0,1==O)for(u=0,A=A[0],v++;(c<_||u)&&v--;c++)m=1e7*u+(w[c]||0),d[c]=m/A|0,u=m%A|0;else{for((u=1e7/(A[0]+1)|0)>1&&(A=multiplyInteger(A,u),w=multiplyInteger(w,u),O=A.length,_=w.length),b=O,h=(y=w.slice(0,O)).length;h<O;)y[h++]=0;(S=A.slice()).unshift(0),x=A[0],A[1]>=1e7/2&&++x;do u=0,(i=compare(A,y,O,h))<0?(g=y[0],O!=h&&(g=1e7*g+(y[1]||0)),(u=g/x|0)>1?(u>=1e7&&(u=1e7-1),f=(l=multiplyInteger(A,u)).length,h=y.length,1==(i=compare(l,y,f,h))&&(u--,subtract(l,O<f?S:A,f))):(0==u&&(i=u=1),l=A.slice()),(f=l.length)<h&&l.unshift(0),subtract(y,l,h),-1==i&&(h=y.length,(i=compare(A,y,O,h))<1&&(u++,subtract(y,O<h?S:A,h))),h=y.length):0===i&&(u++,y=[0]),d[c++]=u,i&&y[0]?y[h++]=w[b]||0:(y=[w[b]],h=1);while((b++<_||void 0!==y[0])&&v--)}
vendor: 8,327 bytes, line 1
1return d[0]||d.shift(),p.e=a,round(p,o?n+getBase10Exponent(p)+1:n)}}();function exp(e,t){var n,o,i,c,s,l=0,p=0,y=e.constructor,h=y.precision;if(getBase10Exponent(e)>16)throw Error(f+getBase10Exponent(e));if(!e.s)return new y(a);for(null==t?(u=!1,s=h):s=t,c=new y(.03125);e.abs().gte(.1);)e=e.times(c),p+=5;for(s+=Math.log(d(2,p))/Math.LN10*2+5|0,n=o=i=new y(a),y.precision=s;;){if(o=round(o.times(e),s),n=n.times(++l),digitsToString((c=i.plus(v(o,n,s))).d).slice(0,s)===digitsToString(i.d).slice(0,s)){for(;p--;)i=round(i.times(i),s);return y.precision=h,null==t?(u=!0,round(i,h)):i}i=c}}function getBase10Exponent(e){for(var t=7*e.e,n=e.d[0];n>=10;n/=10)t++;return t}function getLn10(e,t,n){if(t>e.LN10.sd())throw u=!0,n&&(e.precision=n),Error(s+"LN10 precision limit exceeded");return round(new e(e.LN10),t)}function getZeroString(e){for(var t="";e--;)t+="0";return t}function ln(e,t){var n,o,i,c,l,f,p,d,y,h=1,g=e,m=g.d,b=g.constructor,_=b.precision;if(g.s<1)throw Error(s+(g.s?"NaN":"-Infinity"));if(g.eq(a))return new b(0);if(null==t?(u=!1,d=_):d=t,g.eq(10))return null==t&&(u=!0),getLn10(b,d);if(d+=10,b.precision=d,o=(n=digitsToString(m)).charAt(0),!(15e14>Math.abs(c=getBase10Exponent(g))))return p=getLn10(b,d+2,_).times(c+""),g=ln(new b(o+"."+n.slice(1)),d-10).plus(p),b.precision=_,null==t?(u=!0,round(g,_)):g;for(;o<7&&1!=o||1==o&&n.charAt(1)>3;)o=(n=digitsToString((g=g.times(e)).d)).charAt(0),h++;for(c=getBase10Exponent(g),o>1?(g=new b("0."+n),c++):g=new b(o+"."+n.slice(1)),f=l=g=v(g.minus(a),g.plus(a),d),y=round(g.times(g),d),i=3;;){if(l=round(l.times(y),d),digitsToString((p=f.plus(v(l,new b(i),d))).d).slice(0,d)===digitsToString(f.d).slice(0,d))return f=f.times(2),0!==c&&(f=f.plus(getLn10(b,d+2,_).times(c+""))),f=v(f,new b(h),d),b.precision=_,null==t?(u=!0,round(f,_)):f;f=p,i+=2}}function parseDecimal(e,t){var n,o,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(o=t.search(/e/i))>0?(n<0&&(n=o),n+=+t.slice(o+1),t=t.substring(0,o)):n<0&&(n=t.length),o=0;48===t.charCodeAt(o);)++o;for(i=t.length;48===t.charCodeAt(i-1);)--i;if(t=t.slice(o,i)){if(i-=o,n=n-o-1,e.e=p(n/7),e.d=[],o=(n+1)%7,n<0&&(o+=7),o<i){for(o&&e.d.push(+t.slice(0,o)),i-=7;o<i;)e.d.push(+t.slice(o,o+=7));o=7-(t=t.slice(o)).length}else o-=i;for(;o--;)t+="0";if(e.d.push(+t),u&&(e.e>h||e.e<-h))throw Error(f+n)}else e.s=0,e.e=0,e.d=[0];return e}function round(e,t,n){var o,i,a,c,s,l,y,g,v=e.d;for(c=1,a=v[0];a>=10;a/=10)c++;if((o=t-c)<0)o+=7,i=t,y=v[g=0];else{if((g=Math.ceil((o+1)/7))>=(a=v.length))return e;for(c=1,y=a=v[g];a>=10;a/=10)c++;o%=7,i=o-7+c}if(void 0!==n&&(s=y/(a=d(10,c-i-1))%10|0,l=t<0||void 0!==v[g+1]||y%a,l=n<4?(s||l)&&(0==n||n==(e.s<0?3:2)):s>5||5==s&&(4==n||l||6==n&&(o>0?i>0?y/d(10,c-i):0:v[g-1])%10&1||n==(e.s<0?8:7))),t<1||!v[0])return l?(a=getBase10Exponent(e),v.length=1,t=t-a-1,v[0]=d(10,(7-t%7)%7),e.e=p(-t/7)||0):(v.length=1,v[0]=e.e=e.s=0),e;if(0==o?(v.length=g,a=1,g--):(v.length=g+1,a=d(10,7-o),v[g]=i>0?(y/d(10,c-i)%d(10,i)|0)*a:0),l)for(;;){if(0==g){1e7==(v[0]+=a)&&(v[0]=1,++e.e);break}if(v[g]+=a,1e7!=v[g])break;v[g--]=0,a=1}for(o=v.length;0===v[--o];)v.pop();if(u&&(e.e>h||e.e<-h))throw Error(f+getBase10Exponent(e));return e}function subtract(e,t){var n,o,i,a,c,s,l,f,p,d,y=e.constructor,h=y.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new y(e),u?round(t,h):t;if(l=e.d,d=t.d,o=t.e,f=e.e,l=l.slice(),c=f-o){for((p=c<0)?(n=l,c=-c,s=d.length):(n=d,o=f,s=l.length),c>(i=Math.max(Math.ceil(h/7),s)+2)&&(c=i,n.length=1),n.reverse(),i=c;i--;)n.push(0);n.reverse()}else{for((p=(i=l.length)<(s=d.length))&&(s=i),i=0;i<s;i++)if(l[i]!=d[i]){p=l[i]<d[i];break}c=0}for(p&&(n=l,l=d,d=n,t.s=-t.s),s=l.length,i=d.length-s;i>0;--i)l[s++]=0;for(i=d.length;i>c;){if(l[--i]<d[i]){for(a=i;a&&0===l[--a];)l[a]=1e7-1;--l[a],l[i]+=1e7}l[i]-=d[i]}for(;0===l[--s];)l.pop();for(;0===l[0];l.shift())--o;return l[0]?(t.d=l,t.e=o,u?round(t,h):t):new y(0)}function toString(e,t,n){var o,i=getBase10Exponent(e),a=digitsToString(e.d),c=a.length;return t?(n&&(o=n-c)>0?a=a.charAt(0)+"."+a.slice(1)+getZeroString(o):c>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(i<0?"e":"e+")+i):i<0?(a="0."+getZeroString(-i-1)+a,n&&(o=n-c)>0&&(a+=getZeroString(o))):i>=c?(a+=getZeroString(i+1-c),n&&(o=n-i-1)>0&&(a=a+"."+getZeroString(o))):((o=i+1)<c&&(a=a.slice(0,o)+"."+a.slice(o)),n&&(o=n-c)>0&&(i+1===c&&(a+="."),a+=getZeroString(o))),e.s<0?"-"+a:a}function truncate(e,t){if(e.length>t)return e.length=t,!0}function config(e){if(!e||"object"!=typeof e)throw Error(s+"Object expected");var t,n,o,i=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if(void 0!==(o=e[n=i[t]])){if(p(o)===o&&o>=i[t+1]&&o<=i[t+2])this[n]=o;else throw Error(l+n+": "+o)}if(void 0!==(o=e[n="LN10"])){if(o==Math.LN10)this[n]=new this(o);else throw Error(l+n+": "+o)}return this}(c=function clone(e){var t,n,o;function Decimal(e){if(!(this instanceof Decimal))return new Decimal(e);if(this.constructor=Decimal,e instanceof Decimal){this.s=e.s,this.e=e.e,this.d=(e=e.d)?e.slice():e;return}if("number"==typeof e){if(0*e!=0)throw Error(l+e);if(e>0)this.s=1;else if(e<0)e=-e,this.s=-1;else{this.s=0,this.e=0,this.d=[0];return}if(e===~~e&&e<1e7){this.e=0,this.d=[e];return}return parseDecimal(this,e.toString())}if("string"!=typeof e)throw Error(l+e);if(45===e.charCodeAt(0)?(e=e.slice(1),this.s=-1):this.s=1,y.test(e))parseDecimal(this,e);else throw Error(l+e)}if(Decimal.prototype=g,Decimal.ROUND_UP=0,Decimal.ROUND_DOWN=1,Decimal.ROUND_CEIL=2,Decimal.ROUND_FLOOR=3,Decimal.ROUND_HALF_UP=4,Decimal.ROUND_HALF_DOWN=5,Decimal.ROUND_HALF_EVEN=6,Decimal.ROUND_HALF_CEIL=7,Decimal.ROUND_HALF_FLOOR=8,Decimal.clone=clone,Decimal.config=Decimal.set=config,void 0===e&&(e={}),e)for(t=0,o=["precision","rounding","toExpNeg","toExpPos","LN10"];t<o.length;)e.hasOwnProperty(n=o[t++])||(e[n]=this[n]);return Decimal.config(e),Decimal}(c)).default=c.Decimal=c,a=new c(1),void 0!==(o=(function(){return c}).call(t,n,t,e))&&(e.exports=o)}(0)},26729:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function Events(){}function EE(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function addListener(e,t,o,i,a){if("function"!=typeof o)throw TypeError("The listener must be a function");var c=new EE(o,i||e,a),u=n?n+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],c]:e._events[u].push(c):(e._events[u]=c,e._eventsCount++),e}function clearEvent(e,t){0==--e._eventsCount?e._events=new Events:delete e._events[t]}function EventEmitter(){this._events=new Events,this._eventsCount=0}Object.create&&(Events.prototype=Object.create(null),new Events().__proto__||(n=!1)),EventEmitter.prototype.eventNames=function(){var e,o,i=[];if(0===this._eventsCount)return i;for(o in e=this._events)t.call(e,o)&&i.push(n?o.slice(1):o);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},EventEmitter.prototype.listeners=function(e){var t=n?n+e:e,o=this._events[t];if(!o)return[];if(o.fn)return[o.fn];for(var i=0,a=o.length,c=Array(a);i<a;i++)c[i]=o[i].fn;return c},EventEmitter.prototype.listenerCount=function(e){var t=n?n+e:e,o=this._events[t];return o?o.fn?1:o.length:0},EventEmitter.prototype.emit=function(e,t,o,i,a,c){var u=n?n+e:e;if(!this._events[u])return!1;var s,l,f=this._events[u],p=arguments.length;if(f.fn){switch(f.once&&this.removeListener(e,f.fn,void 0,!0),p){case 1:return f.fn.call(f.context),!0;case 2:return f.fn.call(f.context,t),!0;case 3:return f.fn.call(f.context,t,o),!0;case 4:return f.fn.call(f.context,t,o,i),!0;case 5:return f.fn.call(f.context,t,o,i,a),!0;case 6:return f.fn.call(f.context,t,o,i,a,c),!0}for(l=1,s=Array(p-1);l<p;l++)s[l-1]=arguments[l];f.fn.apply(f.context,s)}else{var d,y=f.length;for(l=0;l<y;l++)switch(f[l].once&&this.removeListener(e,f[l].fn,void 0,!0),p){case 1:f[l].fn.call(f[l].context);break;case 2:f[l].fn.call(f[l].context,t);break;case 3:f[l].fn.call(f[l].context,t,o);break;case 4:f[l].fn.call(f[l].context,t,o,i);break;default:if(!s)for(d=1,s=Array(p-1);d<p;d++)s[d-1]=arguments[d];f[l].fn.apply(f[l].context,s)}}return!0},EventEmitter.prototype.on=function(e,t,n){return addListener(this,e,t,n,!1)},EventEmitter.prototype.once=function(e,t,n){return addListener(this,e,t,n,!0)},EventEmitter.prototype.removeListener=function(e,t,o,i){var a=n?n+e:e;if(!this._events[a])return this;if(!t)return clearEvent(this,a),this;var c=this._events[a];
vendor: 5,628 bytes, line 1
1if(c.fn)c.fn!==t||i&&!c.once||o&&c.context!==o||clearEvent(this,a);else{for(var u=0,s=[],l=c.length;u<l;u++)(c[u].fn!==t||i&&!c[u].once||o&&c[u].context!==o)&&s.push(c[u]);s.length?this._events[a]=1===s.length?s[0]:s:clearEvent(this,a)}return this},EventEmitter.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&clearEvent(this,t)):(this._events=new Events,this._eventsCount=0),this},EventEmitter.prototype.off=EventEmitter.prototype.removeListener,EventEmitter.prototype.addListener=EventEmitter.prototype.on,EventEmitter.prefixed=n,EventEmitter.EventEmitter=EventEmitter,e.exports=EventEmitter},18552:function(e,t,n){var o=n(10852)(n(55639),"DataView");e.exports=o},1989:function(e,t,n){var o=n(51789),i=n(80401),a=n(57667),c=n(21327),u=n(81866);function Hash(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}Hash.prototype.clear=o,Hash.prototype.delete=i,Hash.prototype.get=a,Hash.prototype.has=c,Hash.prototype.set=u,e.exports=Hash},38407:function(e,t,n){var o=n(27040),i=n(14125),a=n(82117),c=n(67518),u=n(54705);function ListCache(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}ListCache.prototype.clear=o,ListCache.prototype.delete=i,ListCache.prototype.get=a,ListCache.prototype.has=c,ListCache.prototype.set=u,e.exports=ListCache},57071:function(e,t,n){var o=n(10852)(n(55639),"Map");e.exports=o},83369:function(e,t,n){var o=n(24785),i=n(11285),a=n(96e3),c=n(49916),u=n(95265);function MapCache(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}MapCache.prototype.clear=o,MapCache.prototype.delete=i,MapCache.prototype.get=a,MapCache.prototype.has=c,MapCache.prototype.set=u,e.exports=MapCache},53818:function(e,t,n){var o=n(10852)(n(55639),"Promise");e.exports=o},58525:function(e,t,n){var o=n(10852)(n(55639),"Set");e.exports=o},88668:function(e,t,n){var o=n(83369),i=n(90619),a=n(72385);function SetCache(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o;++t<n;)this.add(e[t])}SetCache.prototype.add=SetCache.prototype.push=i,SetCache.prototype.has=a,e.exports=SetCache},46384:function(e,t,n){var o=n(38407),i=n(37465),a=n(63779),c=n(67599),u=n(44758),s=n(34309);function Stack(e){var t=this.__data__=new o(e);this.size=t.size}Stack.prototype.clear=i,Stack.prototype.delete=a,Stack.prototype.get=c,Stack.prototype.has=u,Stack.prototype.set=s,e.exports=Stack},62705:function(e,t,n){var o=n(55639).Symbol;e.exports=o},11149:function(e,t,n){var o=n(55639).Uint8Array;e.exports=o},70577:function(e,t,n){var o=n(10852)(n(55639),"WeakMap");e.exports=o},96874:function(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},66193:function(e){e.exports=function(e,t){for(var n=-1,o=null==e?0:e.length;++n<o;)if(!t(e[n],n,e))return!1;return!0}},34963:function(e){e.exports=function(e,t){for(var n=-1,o=null==e?0:e.length,i=0,a=[];++n<o;){var c=e[n];t(c,n,e)&&(a[i++]=c)}return a}},47443:function(e,t,n){var o=n(42118);e.exports=function(e,t){return!!(null==e?0:e.length)&&o(e,t,0)>-1}},1196:function(e){e.exports=function(e,t,n){for(var o=-1,i=null==e?0:e.length;++o<i;)if(n(t,e[o]))return!0;return!1}},14636:function(e,t,n){var o=n(22545),i=n(35694),a=n(1469),c=n(44144),u=n(65776),s=n(36719),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),f=!n&&i(e),p=!n&&!f&&c(e),d=!n&&!f&&!p&&s(e),y=n||f||p||d,h=y?o(e.length,String):[],g=h.length;for(var v in e)(t||l.call(e,v))&&!(y&&("length"==v||p&&("offset"==v||"parent"==v)||d&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||u(v,g)))&&h.push(v);return h}},29932:function(e){e.exports=function(e,t){for(var n=-1,o=null==e?0:e.length,i=Array(o);++n<o;)i[n]=t(e[n],n,e);return i}},62488:function(e){e.exports=function(e,t){for(var n=-1,o=t.length,i=e.length;++n<o;)e[i+n]=t[n];return e}},82908:function(e){e.exports=function(e,t){for(var n=-1,o=null==e?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}},44286:function(e){e.exports=function(e){return e.split("")}},18470:function(e,t,n){var o=n(77813);e.exports=function(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return -1}},89465:function(e,t,n){var o=n(38777);e.exports=function(e,t,n){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},89881:function(e,t,n){var o=n(47816),i=n(99291)(o);e.exports=i},93239:function(e,t,n){var o=n(89881);e.exports=function(e,t){var n=!0;return o(e,function(e,o,i){return n=!!t(e,o,i)}),n}},56029:function(e,t,n){var o=n(33448);e.exports=function(e,t,n){for(var i=-1,a=e.length;++i<a;){var c=e[i],u=t(c);if(null!=u&&(void 0===s?u==u&&!o(u):n(u,s)))var s=u,l=c}return l}},41848:function(e){e.exports=function(e,t,n,o){for(var i=e.length,a=n+(o?1:-1);o?a--:++a<i;)if(t(e[a],a,e))return a;return -1}},21078:function(e,t,n){var o=n(62488),i=n(37285);e.exports=function baseFlatten(e,t,n,a,c){var u=-1,s=e.length;for(n||(n=i),c||(c=[]);++u<s;){var l=e[u];t>0&&n(l)?t>1?baseFlatten(l,t-1,n,a,c):o(c,l):a||(c[c.length]=l)}return c}},28483:function(e,t,n){var o=n(25063)();e.exports=o},47816:function(e,t,n){var o=n(28483),i=n(3674);e.exports=function(e,t){return e&&o(e,t,i)}},97786:function(e,t,n){var o=n(71811),i=n(40327);e.exports=function(e,t){t=o(t,e);for(var n=0,a=t.length;null!=e&&n<a;)e=e[i(t[n++])];return n&&n==a?e:void 0}},68866:function(e,t,n){var o=n(62488),i=n(1469);e.exports=function(e,t,n){var a=t(e);return i(e)?a:o(a,n(e))}},44239:function(e,t,n){var o=n(62705),i=n(89607),a=n(2333),c=o?o.toStringTag:void 0;
1e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":c&&c in Object(e)?i(e):a(e)}},53325:function(e){e.exports=function(e,t){return e>t}},13:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},42118:function(e,t,n){var o=n(41848),i=n(62722),a=n(42351);e.exports=function(e,t,n){return t==t?a(e,t,n):o(e,i,n)}},9454:function(e,t,n){var o=n(44239),i=n(37005);e.exports=function(e){return i(e)&&"[object Arguments]"==o(e)}},90939:function(e,t,n){var o=n(2492),i=n(37005);e.exports=function baseIsEqual(e,t,n,a,c){return e===t||(null!=e&&null!=t&&(i(e)||i(t))?o(e,t,n,a,baseIsEqual,c):e!=e&&t!=t)}},2492:function(e,t,n){var o=n(46384),i=n(67114),a=n(18351),c=n(16096),u=n(64160),s=n(1469),l=n(44144),f=n(36719),p="[object Arguments]",d="[object Array]",y="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,v,m){var b=s(e),_=s(t),x=b?d:u(e),O=_?d:u(t);x=x==p?y:x,O=O==p?y:O;var S=x==y,P=O==y,j=x==O;if(j&&l(e)){if(!l(t))return!1;b=!0,S=!1}if(j&&!S)return m||(m=new o),b||f(e)?i(e,t,n,g,v,m):a(e,t,x,n,g,v,m);if(!(1&n)){var w=S&&h.call(e,"__wrapped__"),A=P&&h.call(t,"__wrapped__");
vendor: 2,881 bytes, line 1
1if(w||A){var C=w?e.value():e,k=A?t.value():t;return m||(m=new o),v(C,k,n,g,m)}}return!!j&&(m||(m=new o),c(e,t,n,g,v,m))}},2958:function(e,t,n){var o=n(46384),i=n(90939);e.exports=function(e,t,n,a){var c=n.length,u=c,s=!a;if(null==e)return!u;for(e=Object(e);c--;){var l=n[c];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++c<u;){var f=(l=n[c])[0],p=e[f],d=l[1];if(s&&l[2]){if(void 0===p&&!(f in e))return!1}else{var y=new o;if(a)var h=a(p,d,f,e,t,y);if(!(void 0===h?i(d,p,3,a,y):h))return!1}}return!0}},62722:function(e){e.exports=function(e){return e!=e}},28458:function(e,t,n){var o=n(23560),i=n(15346),a=n(13218),c=n(80346),u=/^\[object .+?Constructor\]$/,s=Object.prototype,l=Function.prototype.toString,f=s.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||i(e))&&(o(e)?p:u).test(c(e))}},38749:function(e,t,n){var o=n(44239),i=n(41780),a=n(37005),c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c["[object Arguments]"]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c["[object Function]"]=c["[object Map]"]=c["[object Number]"]=c["[object Object]"]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1,e.exports=function(e){return a(e)&&i(e.length)&&!!c[o(e)]}},67206:function(e,t,n){var o=n(91573),i=n(16432),a=n(6557),c=n(1469),u=n(39601);e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?c(e)?i(e[0],e[1]):o(e):u(e)}},280:function(e,t,n){var o=n(25726),i=n(86916),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!o(e))return i(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}},70433:function(e){e.exports=function(e,t){return e<t}},69199:function(e,t,n){var o=n(89881),i=n(98612);e.exports=function(e,t){var n=-1,a=i(e)?Array(e.length):[];return o(e,function(e,o,i){a[++n]=t(e,o,i)}),a}},91573:function(e,t,n){var o=n(2958),i=n(1499),a=n(42634);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}},16432:function(e,t,n){var o=n(90939),i=n(27361),a=n(79095),c=n(15403),u=n(89162),s=n(42634),l=n(40327);e.exports=function(e,t){return c(e)&&u(t)?s(l(e),t):function(n){var c=i(n,e);return void 0===c&&c===t?a(n,e):o(t,c,3)}}},82689:function(e,t,n){var o=n(29932),i=n(97786),a=n(67206),c=n(69199),u=n(71131),s=n(7518),l=n(85022),f=n(6557),p=n(1469);e.exports=function(e,t,n){t=t.length?o(t,function(e){return p(e)?function(t){return i(t,1===e.length?e[0]:e)}:e}):[f];var d=-1;
1return t=o(t,s(a)),u(c(e,function(e,n,i){return{criteria:o(t,function(t){return t(e)}),index:++d,value:e}}),function(e,t){return l(e,t,n)})}},40371:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},79152:function(e,t,n){var o=n(97786);e.exports=function(e){return function(t){return o(t,e)}}},40098:function(e){var t=Math.ceil,n=Math.max;e.exports=function(e,o,i,a){for(var c=-1,u=n(t((o-e)/(i||1)),0),s=Array(u);u--;)s[a?u:++c]=e,e+=i;return s}},5976:function(e,t,n){var o=n(6557),i=n(45357),a=n(30061);e.exports=function(e,t){return a(i(e,t,o),e+"")}},56560:function(e,t,n){var o=n(75703),i=n(38777),a=n(6557),c=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:o(t),writable:!0})}:a;e.exports=c},14259:function(e){e.exports=function(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++o<i;)a[o]=e[o+t];return a}},5076:function(e,t,n){var o=n(89881);e.exports=function(e,t){var n;return o(e,function(e,o,i){return!(n=t(e,o,i))}),!!n}},71131:function(e){e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},22545:function(e){e.exports=function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}},80531:function(e,t,n){var o=n(62705),i=n(29932),a=n(1469),c=n(33448),u=1/0,s=o?o.prototype:void 0,l=s?s.toString:void 0;e.exports=function baseToString(e){if("string"==typeof e)return e;if(a(e))return i(e,baseToString)+"";if(c(e))return l?l.call(e):"";var t=e+"";return"0"==t&&1/e==-u?"-0":t}},27561:function(e,t,n){var o=n(67990),i=/^\s+/;e.exports=function(e){return e?e.slice(0,o(e)+1).replace(i,""):e}},7518:function(e){e.exports=function(e){return function(t){return e(t)}}},45652:function(e,t,n){var o=n(88668),i=n(47443),a=n(1196),c=n(74757),u=n(23593),s=n(21814);e.exports=function(e,t,n){var l=-1,f=i,p=e.length,d=!0,y=[],h=y;if(n)d=!1,f=a;else if(p>=200){var g=t?null:u(e);if(g)return s(g);d=!1,f=c,h=new o}else h=t?[]:y;e:for(;++l<p;){var v=e[l],m=t?t(v):v;if(v=n||0!==v?v:0,d&&m==m){for(var b=h.length;b--;)if(h[b]===m)continue e;t&&h.push(m),y.push(v)}else f(h,m,n)||(h!==y&&h.push(m),y.push(v))}return y}},74757:function(e){e.exports=function(e,t){return e.has(t)}},71811:function(e,t,n){var o=n(1469),i=n(15403),a=n(55514),c=n(79833);e.exports=function(e,t){return o(e)?e:i(e,t)?[e]:a(c(e))}},40180:function(e,t,n){var o=n(14259);e.exports=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:o(e,t,n)}},26393:function(e,t,n){var o=n(33448);e.exports=function(e,t){if(e!==t){var n=void 0!==e,i=null===e,a=e==e,c=o(e),u=void 0!==t,s=null===t,l=t==t,f=o(t);if(!s&&!f&&!c&&e>t||c&&u&&l&&!s&&!f||i&&u&&l||!n&&l||!a)return 1;if(!i&&!c&&!f&&e<t||f&&n&&a&&!i&&!c||s&&n&&a||!u&&a||!l)return -1}return 0}},85022:function(e,t,n){var o=n(26393);e.exports=function(e,t,n){for(var i=-1,a=e.criteria,c=t.criteria,u=a.length,s=n.length;++i<u;){var l=o(a[i],c[i]);if(l){if(i>=s)return l;return l*("desc"==n[i]?-1:1)}}return e.index-t.index}},14429:function(e,t,n){var o=n(55639)["__core-js_shared__"];e.exports=o},99291:function(e,t,n){var o=n(98612);e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!o(n))return e(n,i);for(var a=n.length,c=t?a:-1,u=Object(n);(t?c--:++c<a)&&!1!==i(u[c],c,u););return n}}},25063:function(e){e.exports=function(e){return function(t,n,o){for(var i=-1,a=Object(t),c=o(t),u=c.length;u--;){var s=c[e?u:++i];if(!1===n(a[s],s,a))break}return t}}},98805:function(e,t,n){var o=n(40180),i=n(62689),a=n(83140),c=n(79833);e.exports=function(e){return function(t){var n=i(t=c(t))?a(t):void 0,u=n?n[0]:t.charAt(0),s=n?o(n,1).join(""):t.slice(1);return u[e]()+s}}},67740:function(e,t,n){var o=n(67206),i=n(98612),a=n(3674);e.exports=function(e){return function(t,n,c){var u=Object(t);if(!i(t)){var s=o(n,3);t=a(t),n=function(e){return s(u[e],e,u)}}var l=e(t,n,c);return l>-1?u[s?t[l]:l]:void 0}}},47445:function(e,t,n){var o=n(40098),i=n(16612),a=n(18601);e.exports=function(e){return function(t,n,c){return c&&"number"!=typeof c&&i(t,n,c)&&(n=c=void 0),t=a(t),void 0===n?(n=t,t=0):n=a(n),c=void 0===c?t<n?1:-1:a(c),o(t,n,c,e)}}}
vendor: 6,327 bytes, line 1
1,23593:function(e,t,n){var o=n(58525),i=n(50308),a=n(21814),c=o&&1/a(new o([,-0]))[1]==1/0?function(e){return new o(e)}:i;e.exports=c},38777:function(e,t,n){var o=n(10852),i=function(){try{var e=o(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},67114:function(e,t,n){var o=n(88668),i=n(82908),a=n(74757);e.exports=function(e,t,n,c,u,s){var l=1&n,f=e.length,p=t.length;if(f!=p&&!(l&&p>f))return!1;var d=s.get(e),y=s.get(t);if(d&&y)return d==t&&y==e;var h=-1,g=!0,v=2&n?new o:void 0;for(s.set(e,t),s.set(t,e);++h<f;){var m=e[h],b=t[h];if(c)var _=l?c(b,m,h,t,e,s):c(m,b,h,e,t,s);if(void 0!==_){if(_)continue;g=!1;break}if(v){if(!i(t,function(e,t){if(!a(v,t)&&(m===e||u(m,e,n,c,s)))return v.push(t)})){g=!1;break}}else if(!(m===b||u(m,b,n,c,s))){g=!1;break}}return s.delete(e),s.delete(t),g}},18351:function(e,t,n){var o=n(62705),i=n(11149),a=n(77813),c=n(67114),u=n(68776),s=n(21814),l=o?o.prototype:void 0,f=l?l.valueOf:void 0;e.exports=function(e,t,n,o,l,p,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!p(new i(e),new i(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var y=u;case"[object Set]":var h=1&o;if(y||(y=s),e.size!=t.size&&!h)break;var g=d.get(e);if(g)return g==t;o|=2,d.set(e,t);var v=c(y(e),y(t),o,l,p,d);return d.delete(e),v;case"[object Symbol]":if(f)return f.call(e)==f.call(t)}return!1}},16096:function(e,t,n){var o=n(58234),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,c,u){var s=1&n,l=o(e),f=l.length;if(f!=o(t).length&&!s)return!1;for(var p=f;p--;){var d=l[p];if(!(s?d in t:i.call(t,d)))return!1}var y=u.get(e),h=u.get(t);if(y&&h)return y==t&&h==e;var g=!0;u.set(e,t),u.set(t,e);for(var v=s;++p<f;){var m=e[d=l[p]],b=t[d];if(a)var _=s?a(b,m,d,t,e,u):a(m,b,d,e,t,u);if(!(void 0===_?m===b||c(m,b,n,a,u):_)){g=!1;break}v||(v="constructor"==d)}if(g&&!v){var x=e.constructor,O=t.constructor;x!=O&&"constructor"in e&&"constructor"in t&&!("function"==typeof x&&x instanceof x&&"function"==typeof O&&O instanceof O)&&(g=!1)}return u.delete(e),u.delete(t),g}},31957:function(e,t,n){var o="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=o},58234:function(e,t,n){var o=n(68866),i=n(99551),a=n(3674);e.exports=function(e){return o(e,a,i)}},45050:function(e,t,n){var o=n(37019);e.exports=function(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}},1499:function(e,t,n){var o=n(89162),i=n(3674);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var a=t[n],c=e[a];t[n]=[a,c,o(c)]}return t}},10852:function(e,t,n){var o=n(28458),i=n(47801);e.exports=function(e,t){var n=i(e,t);return o(n)?n:void 0}},85924:function(e,t,n){var o=n(5569)(Object.getPrototypeOf,Object);e.exports=o},89607:function(e,t,n){var o=n(62705),i=Object.prototype,a=i.hasOwnProperty,c=i.toString,u=o?o.toStringTag:void 0;e.exports=function(e){var t=a.call(e,u),n=e[u];try{e[u]=void 0;var o=!0}catch(e){}var i=c.call(e);return o&&(t?e[u]=n:delete e[u]),i}},99551:function(e,t,n){var o=n(34963),i=n(70479),a=Object.prototype.propertyIsEnumerable,c=Object.getOwnPropertySymbols,u=c?function(e){return null==e?[]:o(c(e=Object(e)),function(t){return a.call(e,t)})}:i;e.exports=u},64160:function(e,t,n){var o=n(18552),i=n(57071),a=n(53818),c=n(58525),u=n(70577),s=n(44239),l=n(80346),f="[object Map]",p="[object Promise]",d="[object Set]",y="[object WeakMap]",h="[object DataView]",g=l(o),v=l(i),m=l(a),b=l(c),_=l(u),x=s;(o&&x(new o(new ArrayBuffer(1)))!=h||i&&x(new i)!=f||a&&x(a.resolve())!=p||c&&x(new c)!=d||u&&x(new u)!=y)&&(x=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,o=n?l(n):"";if(o)switch(o){case g:return h;case v:return f;case m:return p;case b:return d;case _:return y}return t}),e.exports=x},47801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},222:function(e,t,n){var o=n(71811),i=n(35694),a=n(1469),c=n(65776),u=n(41780),s=n(40327);e.exports=function(e,t,n){t=o(t,e);for(var l=-1,f=t.length,p=!1;++l<f;){var d=s(t[l]);if(!(p=null!=e&&n(e,d)))break;e=e[d]}return p||++l!=f?p:!!(f=null==e?0:e.length)&&u(f)&&c(d,f)&&(a(e)||i(e))}},62689:function(e){var t=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},51789:function(e,t,n){var o=n(94536);e.exports=function(){this.__data__=o?o(null):{},this.size=0}},80401:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},57667:function(e,t,n){var o=n(94536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(o){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},21327:function(e,t,n){var o=n(94536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return o?void 0!==t[e]:i.call(t,e)}},81866:function(e,t,n){var o=n(94536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?"__lodash_hash_undefined__":t,this}},37285:function(e,t,n){var o=n(62705),i=n(35694),a=n(1469),c=o?o.isConcatSpreadable:void 0;e.exports=function(e){return a(e)||i(e)||!!(c&&e&&e[c])}},65776:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var o=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&t.test(e))&&e>-1&&e%1==0&&e<n}},16612:function(e,t,n){var o=n(77813),i=n(98612),a=n(65776),c=n(13218);e.exports=function(e,t,n){if(!c(n))return!1;var u=typeof t;return("number"==u?!!(i(n)&&a(t,n.length)):"string"==u&&t in n)&&o(n[t],e)}},15403:function(e,t,n){var o=n(1469),i=n(33448),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;e.exports=function(e,t){if(o(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||i(e))||c.test(e)||!a.test(e)||null!=t&&e in Object(t)}},37019:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},15346:function(e,t,n){var o,i=n(14429),a=(o=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(sr
1c)_1."+o:"";e.exports=function(e){return!!a&&a in e}},25726:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},89162:function(e,t,n){var o=n(13218);e.exports=function(e){return e==e&&!o(e)}},27040:function(e){e.exports=function(){this.__data__=[],this.size=0}},14125:function(e,t,n){var o=n(18470),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},82117:function(e,t,n){var o=n(18470);e.exports=function(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}},67518:function(e,t,n){var o=n(18470);e.exports=function(e){return o(this.__data__,e)>-1}},54705:function(e,t,n){var o=n(18470);e.exports=function(e,t){var n=this.__data__,i=o(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},24785:function(e,t,n){var o=n(1989),i=n(38407),a=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}},11285:function(e,t,n){var o=n(45050);e.exports=function(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,n){var o=n(45050);e.exports=function(e){return o(this,e).get(e)}},49916:function(e,t,n){var o=n(45050);e.exports=function(e){return o(this,e).has(e)}},95265:function(e,t,n){var o=n(45050);e.exports=function(e,t){var n=o(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},68776:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,o){n[++t]=[o,e]}),n}},42634:function(e){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},24523:function(e,t,n){var o=n(88306);e.exports=function(e){var t=o(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},94536:function(e,t,n){var o=n(10852)(Object,"create");e.exports=o},86916:function(e,t,n){var o=n(5569)(Object.keys,Object);e.exports=o},31167:function(e,t,n){e=n.nmd(e);var o=n(31957),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,c=a&&a.exports===i&&o.process,u=function(){try{var e=a&&a.require&&a.require("util").types;if(e)return e;return c&&c.binding&&c.binding("util")}catch(e){}}();e.exports=u},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},45357:function(e,t,n){var o=n(96874),i=Math.max;e.exports=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var a=arguments,c=-1,u=i(a.length-t,0),s=Array(u);++c<u;)s[c]=a[t+c];c=-1;for(var l=Array(t+1);++c<t;)l[c]=a[c];return l[t]=n(s),o(e,this,l)}}},55639:function(e,t,n){var o=n(31957),i="object"==typeof self&&self&&self.Object===Object&&self,a=o||i||Function("return this")();e.exports=a},90619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:function(e){e.exports=function(e){return this.__data__.has(e)}},21814:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},30061:function(e,t,n){var o=n(56560),i=n(21275)(o);e.exports=i},21275:function(e){var t=Date.now;e.exports=function(e){var n=0,o=0;return function(){var i=t(),a=16-(i-o);if(o=i,a>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},37465:function(e,t,n){var o=n(38407);e.exports=function(){this.__data__=new o,this.size=0}},63779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,t,n){var o=n(38407),i=n(57071),a=n(83369);e.exports=function(e,t){var n=this.__data__;if(n instanceof o){var c=n.__data__;if(!i||c.length<199)return c.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(c)}return n.set(e,t),this.size=n.size,this}},42351:function(e){e.exports=function(e,t,n){for(var o=n-1,i=e.length;++o<i;)if(e[o]===t)return o;return -1}},83140:function(e,t,n){var o=n(44286),i=n(62689),a=n(676);e.exports=function(e){return i(e)?a(e):o(e)}},55514:function(e,t,n){var o=n(24523),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,c=o(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,o,i){t.push(o?i.replace(a,"$1"):n||e)}),t});e.exports=c},40327:function(e,t,n){var o=n(33448),i=1/0;e.exports=function(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},676:function(e){var t="\ud800-\udfff",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\ud83c[\udffb-\udfff]",i="[^"+t+"]",a="(?:\ud83c[\udde6-\uddff]){2}",c="[\ud800-\udbff][\udc00-\udfff]",u="(?:"+n+"|"+o+")?",s="[\\ufe0e\\ufe0f]?",l="(?:\\u200d(?:"+[i,a,c].join("|")+")"+s+u+")*",f=RegExp(o+"(?="+o+")|(?:"+[i+n+"?",n,a,c,"["+t+"]"].join("|")+")"+(s+u+l),"g");e.exports=function(e){return e.match(f)||[]}},75703:function(e){e.exports=function(e){return function(){return e}}},23279:function(e,t,n){var o=n(13218),i=n(7771),a=n(14841),c=Math.max,u=Math.min;e.exports=function(e,t,n){var s,l,f,p,d,y,h=0,g=!1,v=!1,m=!0;if("function"!=typeof e)throw TypeError("Expected a function");function invokeFunc(t){var n=s,o=l;return s=l=void 0,h=t,p=e.apply(o,n)}function shouldInvoke(e){var n=e-y,o=e-h;return void 0===y||n>=t||n<0||v&&o>=f}function timerExpired(){var e,n,o,a=i();if(shouldInvoke(a))return trailingEdge(a);d=setTimeout(timerExpired,(e=a-y,n=a-h,o=t-e,v?u(o,f-n):o))}function trailingEdge(e){return(d=void 0,m&&s)?invokeFunc(e):(s=l=void 0,p)}function debounced(){var e,n=i(),o=shouldInvoke(n);if(s=arguments,l=this,y=n,o){if(void 0===d)return h=e=y,d=setTimeout(timerExpired,t),g?invokeFunc(e):
vendor: 6,654 bytes, line 1
1p;if(v)return clearTimeout(d),d=setTimeout(timerExpired,t),invokeFunc(y)}return void 0===d&&(d=setTimeout(timerExpired,t)),p}return t=a(t)||0,o(n)&&(g=!!n.leading,f=(v="maxWait"in n)?c(a(n.maxWait)||0,t):f,m="trailing"in n?!!n.trailing:m),debounced.cancel=function(){void 0!==d&&clearTimeout(d),h=0,s=y=l=d=void 0},debounced.flush=function(){return void 0===d?p:trailingEdge(i())},debounced}},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},711:function(e,t,n){var o=n(66193),i=n(93239),a=n(67206),c=n(1469),u=n(16612);e.exports=function(e,t,n){var s=c(e)?o:i;return n&&u(e,t,n)&&(t=void 0),s(e,a(t,3))}},13311:function(e,t,n){var o=n(67740)(n(30998));e.exports=o},30998:function(e,t,n){var o=n(41848),i=n(67206),a=n(40554),c=Math.max;e.exports=function(e,t,n){var u=null==e?0:e.length;if(!u)return -1;var s=null==n?0:a(n);return s<0&&(s=c(u+s,0)),o(e,i(t,3),s)}},94654:function(e,t,n){var o=n(21078),i=n(35161);e.exports=function(e,t){return o(i(e,t),1)}},27361:function(e,t,n){var o=n(97786);e.exports=function(e,t,n){var i=null==e?void 0:o(e,t);return void 0===i?n:i}},79095:function(e,t,n){var o=n(13),i=n(222);e.exports=function(e,t){return null!=e&&i(e,t,o)}},6557:function(e){e.exports=function(e){return e}},35694:function(e,t,n){var o=n(9454),i=n(37005),a=Object.prototype,c=a.hasOwnProperty,u=a.propertyIsEnumerable,s=o(function(){return arguments}())?o:function(e){return i(e)&&c.call(e,"callee")&&!u.call(e,"callee")};e.exports=s},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,n){var o=n(23560),i=n(41780);e.exports=function(e){return null!=e&&i(e.length)&&!o(e)}},51584:function(e,t,n){var o=n(44239),i=n(37005);e.exports=function(e){return!0===e||!1===e||i(e)&&"[object Boolean]"==o(e)}},44144:function(e,t,n){e=n.nmd(e);var o=n(55639),i=n(95062),a=t&&!t.nodeType&&t,c=a&&e&&!e.nodeType&&e,u=c&&c.exports===a?o.Buffer:void 0,s=u?u.isBuffer:void 0;e.exports=s||i},18446:function(e,t,n){var o=n(90939);e.exports=function(e,t){return o(e,t)}},23560:function(e,t,n){var o=n(44239),i=n(13218);e.exports=function(e){if(!i(e))return!1;var t=o(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},7654:function(e,t,n){var o=n(81763);e.exports=function(e){return o(e)&&e!=+e}},14293:function(e){e.exports=function(e){return null==e}},81763:function(e,t,n){var o=n(44239),i=n(37005);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==o(e)}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},68630:function(e,t,n){var o=n(44239),i=n(85924),a=n(37005),c=Object.prototype,u=Function.prototype.toString,s=c.hasOwnProperty,l=u.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=o(e))return!1;var t=i(e);if(null===t)return!0;var n=s.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==l}},47037:function(e,t,n){var o=n(44239),i=n(1469),a=n(37005);e.exports=function(e){return"string"==typeof e||!i(e)&&a(e)&&"[object String]"==o(e)}},33448:function(e,t,n){var o=n(44239),i=n(37005);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==o(e)}},36719:function(e,t,n){var o=n(38749),i=n(7518),a=n(31167),c=a&&a.isTypedArray,u=c?i(c):o;e.exports=u},3674:function(e,t,n){var o=n(14636),i=n(280),a=n(98612);e.exports=function(e){return a(e)?o(e):i(e)}},10928:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},35161:function(e,t,n){var o=n(29932),i=n(67206),a=n(69199),c=n(1469);e.exports=function(e,t){return(c(e)?o:a)(e,i(t,3))}},66604:function(e,t,n){var o=n(89465),i=n(47816),a=n(67206);e.exports=function(e,t){var n={};return t=a(t,3),i(e,function(e,i,a){o(n,i,t(e,i,a))}),n}},6162:function(e,t,n){var o=n(56029),i=n(53325),a=n(6557);e.exports=function(e){return e&&e.length?o(e,a,i):void 0}},84753:function(e,t,n){var o=n(56029),i=n(53325),a=n(67206);e.exports=function(e,t){return e&&e.length?o(e,a(t,2),i):void 0}},88306:function(e,t,n){var o=n(83369);function memoize(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var memoized=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=memoized.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return memoized.cache=i.set(o,a)||i,a};return memoized.cache=new(memoize.Cache||o),memoized}memoize.Cache=o,e.exports=memoize},53632:function(e,t,n){var o=n(56029),i=n(70433),a=n(6557);e.exports=function(e){return e&&e.length?o(e,a,i):void 0}},22762:function(e,t,n){var o=n(56029),i=n(67206),a=n(70433);e.exports=function(e,t){return e&&e.length?o(e,i(t,2),a):void 0}},50308:function(e){e.exports=function(){}},7771:function(e,t,n){var o=n(55639);e.exports=function(){return o.Date.now()}},39601:function(e,t,n){var o=n(40371),i=n(79152),a=n(15403),c=n(40327);e.exports=function(e){return a(e)?o(c(e)):i(e)}},96026:function(e,t,n){var o=n(47445)();e.exports=o},59704:function(e,t,n){var o=n(82908),i=n(67206),a=n(5076),c=n(1469),u=n(16612);e.exports=function(e,t,n){var s=c(e)?o:a;return n&&u(e,t,n)&&(t=void 0),s(e,i(t,3))}},89734:function(e,t,n){var o=n(21078),i=n(82689),a=n(5976),c=n(16612),u=a(function(e,t){if(null==e)return[];var n=t.length;return n>1&&c(e,t[0],t[1])?t=[]:n>2&&c(t[0],t[1],t[2])&&(t=[t[0]]),i(e,o(t,1),[])});e.exports=u},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},23493:function(e,t,n){var o=n(23279),i=n(13218);e.exports=function(e,t,n){var a=!0,c=!0;if("function"!=typeof e)throw TypeError("Expected a function");return i(n)&&(a="leading"in n?!!n.leading:a,c="trailing"in n?!!n.trailing:c),o(e,t,{leading:a,maxWait:t,trailing:c})}},18601:function(e,t,n){var o=n(14841),i=1/0;e.exports=function(e){return e?(e=o(e))===i||e===-i?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},40554:function(e,t,n){var o=n(18601);e.exports=function(e){var t=o(e),n=t%1;return t==t?n?t-n:t:0}},14841:function(e,t,n){var o=n(27561),i=n(13218),a=n(33448),c=0/0,u=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,f=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return c;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=o(e);var n=s.test(e);return n||l.test(e)?f(e.slice(2),n?2:8):u.test(e)?c:+e}},79833:function(e,t,n){var o=n(80531);e.exports=function(e){return null==e?"":o(e)}},45578:function(e,t,n){var o=n(67206),i=n(45652);
1e.exports=function(e,t){return e&&e.length?i(e,o(t,2)):[]}},11700:function(e,t,n){var o=n(98805)("toUpperCase");e.exports=o},92703:function(e,t,n){"use strict";var o=n(50414);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,e.exports=function(){function shim(e,t,n,i,a,c){if(c!==o){var u=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function getShim(){return shim}shim.isRequired=shim;var e={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return e.PropTypes=e,e}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},93842:function(e,t,n){"use strict";n.d(t,{ZP:function(){return _}});var o=n(67294),i=n(45697),a=n.n(i),c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty;function combineComparators(e,t){return function(n,o,i){return e(n,o,i)&&t(n,o,i)}}function createIsCircular(e){return function(t,n,o){if(!t||!n||"object"!=typeof t||"object"!=typeof n)return e(t,n,o);var i=o.cache,a=i.get(t),c=i.get(n);if(a&&c)return a===n&&c===t;i.set(t,n),i.set(n,t);var u=e(t,n,o);return i.delete(t),i.delete(n),u}}function getStrictProperties(e){return c(e).concat(u(e))}var l=Object.hasOwn||function(e,t){return s.call(e,t)};function sameValueZeroEqual(e,t){return e===t||!e&&!t&&e!=e&&t!=t}var f=Object.getOwnPropertyDescriptor,p=Object.keys;function areArraysEqual(e,t,n){var o=e.length;if(t.length!==o)return!1;for(;o-- >0;)if(!n.equals(e[o],t[o],o,o,e,t,n))return!1;return!0}function areDatesEqual(e,t){return sameValueZeroEqual(e.getTime(),t.getTime())}function areErrorsEqual(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function areFunctionsEqual(e,t){return e===t}function areMapsEqual(e,t,n){var o,i,a=e.size;if(a!==t.size)return!1;if(!a)return!0;for(var c=Array(a),u=e.entries(),s=0;(o=u.next())&&!o.done;){for(var l=t.entries(),f=!1,p=0;(i=l.next())&&!i.done;){if(c[p]){p++;continue}var d=o.value,y=i.value;if(n.equals(d[0],y[0],s,p,e,t,n)&&n.equals(d[1],y[1],d[0],y[0],e,t,n)){f=c[p]=!0;break}p++}if(!f)return!1;s++}return!0}function areObjectsEqual(e,t,n){var o=p(e),i=o.length;if(p(t).length!==i)return!1;for(;i-- >0;)if(!isPropertyEqual(e,t,n,o[i]))return!1;return!0}function areObjectsEqualStrict(e,t,n){var o,i,a,c=getStrictProperties(e),u=c.length;if(getStrictProperties(t).length!==u)return!1;for(;u-- >0;)if(!isPropertyEqual(e,t,n,o=c[u])||(i=f(e,o),a=f(t,o),(i||a)&&(!i||!a||i.configurable!==a.configurable||i.enumerable!==a.enumerable||i.writable!==a.writable)))return!1;return!0}function arePrimitiveWrappersEqual(e,t){return sameValueZeroEqual(e.valueOf(),t.valueOf())}function areRegExpsEqual(e,t){return e.source===t.source&&e.flags===t.flags}function areSetsEqual(e,t,n){var o,i,a=e.size;if(a!==t.size)return!1;if(!a)return!0;for(var c=Array(a),u=e.values();(o=u.next())&&!o.done;){for(var s=t.values(),l=!1,f=0;(i=s.next())&&!i.done;){if(!c[f]&&n.equals(o.value,i.value,o.value,i.value,e,t,n)){l=c[f]=!0;break}f++}if(!l)return!1}return!0}function areTypedArraysEqual(e,t){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function areUrlsEqual(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function isPropertyEqual(e,t,n,o){return("_owner"===o||"__o"===o||"__v"===o)&&(!!e.$$typeof||!!t.$$typeof)||l(t,o)&&n.equals(e[o],t[o],o,o,e,t,n)}var d=Array.isArray,y="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,h=Object.assign,g=Object.prototype.toString.call.bind(Object.prototype.toString),v=createCustomEqual();function createCustomEqual(e){void 0===e&&(e={});var t,n,o,i,a,c,u,s,l,f,p,v,m,b=e.circular,_=e.createInternalComparator,x=e.createState,O=e.strict,S=(n=(t=function(e){var t=e.cir
1cular,n=e.createCustomConfig,o=e.strict,i={areArraysEqual:o?areObjectsEqualStrict:areArraysEqual,areDatesEqual:areDatesEqual,areErrorsEqual:areErrorsEqual,areFunctionsEqual:areFunctionsEqual,areMapsEqual:o?combineComparators(areMapsEqual,areObjectsEqualStrict):areMapsEqual,areNumbersEqual:sameValueZeroEqual,areObjectsEqual:o?areObjectsEqualStrict:areObjectsEqual,arePrimitiveWrappersEqual:arePrimitiveWrappersEqual,areRegExpsEqual:areRegExpsEqual,areSetsEqual:o?combineComparators(areSetsEqual,areObjectsEqualStrict):areSetsEqual,areTypedArraysEqual:o?areObjectsEqualStrict:areTypedArraysEqual,areUrlsEqual:areUrlsEqual};if(n&&(i=h({},i,n(i))),t){var a=createIsCircular(i.areArraysEqual),c=createIsCircular(i.areMapsEqual),u=createIsCircular(i.areObjectsEqual),s=createIsCircular(i.areSetsEqual);i=h({},i,{areArraysEqual:a,areMapsEqual:c,areObjectsEqual:u,areSetsEqual:s})}return i}(e)).areArraysEqual,o=t.areDatesEqual,i=t.areErrorsEqual,a=t.areFunctionsEqual,c=t.areMapsEqual,u=t.areNumbersEqual,s=t.areObjectsEqual,l=t.arePrimitiveWrappersEqual,f=t.areRegExpsEqual,p=t.areSetsEqual,v=t.areTypedArraysEqual,m=t.areUrlsEqual,function(e,t,h){if(e===t)return!0;if(null==e||null==t)return!1;var b=typeof e;if(b!==typeof t)return!1;if("object"!==b)return"number"===b?u(e,t,h):"function"===b&&a(e,t,h);var _=e.constructor;if(_!==t.constructor)return!1;if(_===Object)return s(e,t,h);if(d(e))return n(e,t,h);if(null!=y&&y(e))return v(e,t,h);if(_===Date)return o(e,t,h);if(_===RegExp)return f(e,t,h);if(_===Map)return c(e,t,h);if(_===Set)return p(e,t,h);var x=g(e);return"[object Date]"===x?o(e,t,h):"[object RegExp]"===x?f(e,t,h):"[object Map]"===x?c(e,t,h):"[object Set]"===x?p(e,t,h):"[object Object]"===x?"function"!=typeof e.then&&"function"!=typeof t.then&&s(e,t,h):"[object URL]"===x?m(e,t,h):"[object Error]"===x?i(e,t,h):"[object Arguments]"===x?s(e,t,h):("[object Boolean]"===x||"[object Number]"===x||"[object String]"===x)&&l(e,t,h)}),P=_?_(S):function(e,t,n,o,i,a,c){return S(e,t,c)};return function(e){var t=e.circular,n=e.comparator,o=e.createState,i=e.equals,a=e.strict;if(o)return function(e,c){var u=o(),s=u.cache;return n(e,c,{cache:void 0===s?t?new WeakMap:void 0:s,equals:i,meta:u.meta,strict:a})};if(t)return function(e,t){return n(e,t,{cache:new WeakMap,equals:i,meta:void 0,strict:a})};var c={cache:void 0,equals:i,meta:void 0,strict:a};return function(e,t){return n(e,t,c)}}({circular:void 0!==b&&b,comparator:S,createState:x,equals:P,strict:void 0!==O&&O})}function setRafTimeout(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1;requestAnimationFrame(function shouldUpdate(o){if(n<0&&(n=o),o-n>t)e(o),n=-1;else{var i;i=shouldUpdate,"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(i)}})}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function util_typeof(e){return(util_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _defineProperty(e,t,n){var o;return(o=function(e,t){if("object"!==util_typeof(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==util_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===util_typeof(o)?o:String(o))in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}createCustomEqual({strict:!0}),createCustomEqual({circular:!0}),createCustomEqual({circular:!0,strict:!0}),createCustomEqual({createInternalComparator:function(){return sameValueZeroEqual}}),createCustomEqual({strict:!0,createInternalComparator:function(){return sameValueZeroEqual}}),createCustomEqual({circular:!0,createInternalComparator:function(){return sameValueZeroEqual}}),createCustomEqual({circular:!0,createInternalComparator:function(){return sameValueZeroEqual},strict:!0});var identity=function(e){return e},mapObject=function(e,t){return Object.keys(t).reduce(function(n,o){return _objectSpread(_objectSpread({},n),{},_defineProperty({},o,e(o,t[o])))},{})},getTransitionVal=function(e,t,n){return e.map(function(e){return"".concat(e.replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})," ").concat(t,"ms ").concat(n)}).join(",")},warn=function(e,t,n,o,i,a,c,u){};function easing_unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return easing_arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return easing_arrayLikeToArray(e,t)}}function easing_arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}var cubicBezierFactor=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},multyTime=function(e,t){return e.map(function(e,n){return e*Math.pow(t,n)}).reduce(function(e,t){return e+t})},cubicBezier=function(e,t){return function(n){return multyTime(cubicBezierFactor(e,t),n)}},configBezier=function(){for(var e,t,n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];var a=o[0],c=o[1],u=o[2],s=o[3];if(1===o.length)switch(o[0]){case"linear":a=0,c=0,u=1,s=1;break;case"ease":a=.25,c=.1,u=.25,s=1;break;case"ease-in":a=.42,c=0,u=1,s=1;break;case"ease-out":a=.42,c=0,u=.58,s=1;break;case"ease-in-out":a=0,c=0,u=.58,s=1;break;default:var l=o[0].split("(");if("cubic-bezier"===l[0]&&4===l[1].split(")")[0].split(",").length){var f,p=function(e){if(Array.isArray(e))return e}(f=l[1].split(")")[0].split(",").map(function(e){return parseFloat(e)}))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,a,c,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;
1!(s=(o=a.call(n)).done)&&(u.push(o.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(l)throw i}}return u}}(f,4)||easing_unsupportedIterableToArray(f,4)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();a=p[0],c=p[1],u=p[2],s=p[3]}else warn(!1,"[configBezier]: arguments should be one of oneOf 'linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', instead received %s",o)}warn([a,u,c,s].every(function(e){return"number"==typeof e&&e>=0&&e<=1}),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",o);var d=cubicBezier(a,u),y=cubicBezier(c,s),h=(e=a,t=u,function(n){var o;return multyTime([].concat(function(e){if(Array.isArray(e))return easing_arrayLikeToArray(e)}(o=cubicBezierFactor(e,t).map(function(e,t){return e*t}).slice(1))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||easing_unsupportedIterableToArray(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[0]),n)}),bezier=function(e){for(var t=e>1?1:e,n=t,o=0;o<8;++o){var i,a=d(n)-t,c=h(n);if(1e-4>Math.abs(a-t)||c<1e-4)break;n=(i=n-a/c)>1?1:i<0?0:i}return y(n)};return bezier.isStepper=!1,bezier},configSpring=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,n=void 0===t?100:t,o=e.damping,i=void 0===o?8:o,a=e.dt,c=void 0===a?17:a,stepper=function(e,t,o){var a=o+(-(e-t)*n-o*i)*c/1e3,u=o*c/1e3+e;return 1e-4>Math.abs(u-t)&&1e-4>Math.abs(a)?[t,0]:[u,a]};return stepper.isStepper=!0,stepper.dt=c,stepper},configEasing=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t[0];if("string"==typeof o)switch(o){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return configBezier(o);case"spring":return configSpring();default:if("cubic-bezier"===o.split("(")[0])return configBezier(o);warn(!1,"[configEasing]: first argument should be one of 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', 'linear' and 'spring', instead  received %s",t)}return"function"==typeof o?o:(warn(!1,"[configEasing]: first argument type should be function or string, instead received %s",t),null)};function configUpdate_typeof(e){return(configUpdate_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function configUpdate_toConsumableArray(e){return function(e){if(Array.isArray(e))return configUpdate_arrayLikeToArray(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||configUpdate_unsupportedIterableToArray(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function configUpdate_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function configUpdate_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?configUpdate_ownKeys(Object(n),!0).forEach(function(t){configUpdate_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):configUpdate_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function configUpdate_defineProperty(e,t,n){var o;return(o=function(e,t){if("object"!==configUpdate_typeof(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==configUpdate_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===configUpdate_typeof(o)?o:String(o))in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function configUpdate_unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return configUpdate_arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return configUpdate_arrayLikeToArray(e,t)}}function configUpdate_arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}var alpha=function(e,t,n){return e+(t-e)*n},needContinue=function(e){return e.from!==e.to}
1,calStepperVals=function calStepperVals(e,t,n){var o=mapObject(function(t,n){if(needContinue(n)){var o,i=function(e){if(Array.isArray(e))return e}(o=e(n.from,n.to,n.velocity))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,a,c,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(o=a.call(n)).done)&&(u.push(o.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(l)throw i}}return u}}(o,2)||configUpdate_unsupportedIterableToArray(o,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=i[0],c=i[1];return configUpdate_objectSpread(configUpdate_objectSpread({},n),{},{from:a,velocity:c})}return n},t);return n<1?mapObject(function(e,t){return needContinue(t)?configUpdate_objectSpread(configUpdate_objectSpread({},t),{},{velocity:alpha(t.velocity,o[e].velocity,n),from:alpha(t.from,o[e].from,n)}):t},t):calStepperVals(e,o,n-1)},configUpdate=function(e,t,n,o,i){var a,c,u=[Object.keys(e),Object.keys(t)].reduce(function(e,t){return e.filter(function(e){return t.includes(e)})}),s=u.reduce(function(n,o){return configUpdate_objectSpread(configUpdate_objectSpread({},n),{},configUpdate_defineProperty({},o,[e[o],t[o]]))},{}),l=u.reduce(function(n,o){return configUpdate_objectSpread(configUpdate_objectSpread({},n),{},configUpdate_defineProperty({},o,{from:e[o],velocity:0,to:t[o]}))},{}),f=-1,update=function(){return null};return update=n.isStepper?function(o){a||(a=o);var c=(o-a)/n.dt;l=calStepperVals(n,l,c),i(configUpdate_objectSpread(configUpdate_objectSpread(configUpdate_objectSpread({},e),t),mapObject(function(e,t){return t.from},l))),a=o,Object.values(l).filter(needContinue).length&&(f=requestAnimationFrame(update))}:function(a){c||(c=a);var u=(a-c)/o,l=mapObject(function(e,t){return alpha.apply(void 0,configUpdate_toConsumableArray(t).concat([n(u)]))},s);if(i(configUpdate_objectSpread(configUpdate_objectSpread(configUpdate_objectSpread({},e),t),l)),u<1)f=requestAnimationFrame(update);else{var p=mapObject(function(e,t){return alpha.apply(void 0,configUpdate_toConsumableArray(t).concat([n(1)]))},s);i(configUpdate_objectSpread(configUpdate_objectSpread(configUpdate_objectSpread({},e),t),p))}},function(){return requestAnimationFrame(update),function(){cancelAnimationFrame(f)}}};function Animate_typeof(e){return(Animate_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var m=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function Animate_toConsumableArray(e){return function(e){if(Array.isArray(e))return Animate_arrayLikeToArray(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Animate_arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Animate_arrayLikeToArray(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Animate_arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Animate_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function Animate_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Animate_ownKeys(Object(n),!0).forEach(function(t){Animate_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Animate_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Animate_defineProperty(e,t,n){return(t=Animate_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Animate_toPropertyKey(o.key),o)}}function Animate_toPropertyKey(e){var t=function(e,t){if("object"!==Animate_typeof(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==Animate_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Animate_typeof(t)?t:String(t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _possibleConstructorReturn(e,t){if(t&&("object"===Animate_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _assertThisInitialized(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}(Animate,e);var t,n,i,a=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=_getPrototypeOf(Animate);if(t){var o=_getPrototypeOf(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return _possibleConstructorReturn(this,e)});function Animate(e,t){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,Animate);var n,o=(n=a.call(this,e,t)).props,i=o.isActive,c=o.attributeName,u=o.from,s=o.to,l=o.steps,f=o.children,p=o.duration;if(n.handleStyleChange=n.handleStyleChange.bind(_assertThisInitialized(n)),n.changeStyle=n.changeStyle.bind(_assertThisInitialized(n)),!i||p<=0)return n.state={style:{}},"function"==typeof f&&(n.state={style:s}),_possibleConstructorReturn(n);if(l&&l.length)n.state={style:l[0].style};else if(u){if("function"==typeof f)return n.state={style:u},_possibleConstructorReturn(n);n.state={style:c?Animate_defineProperty({},c,u):u}}else n.state={style:{}};return n}return n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,n=e.canBegin;this.mounted=!0,t&&n&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isActive,o=t.canBegin,i=t.attributeName,a=t.shouldReAnimate,c=t.to,u=t.from,s=this.state.style;if(o){if(!n){var l={style:i?Animate_defineProperty({},i,c):c};this.state&&s&&(i&&s[i]!==c||!i&&s!==c)&&this.setState(l);return}if(!v(e.to,c)||!e.canBegin||!e.isActive){var f=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var p=f||a?u:e.to;if(this.state&&s){var d={style:i?Animate_defineProperty({},i,p):p};(i&&s[i]!==p||!i&&s!==p)&&this.setState(d)}this.runAnimation(Animate_objectSpread(Animate_objectSpread({},this.props),{},{from:p,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),e&&e()}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"runJSAnimation",value:function(e){var t=this,n=e.from,o=e.to,i=e.duration,a=e.easing,c=e.begin,u=e.onAnimationEnd,s=e.onAnimationStart,l=configUpdate(n,o,configEasing(a),i,this.changeStyle);this.manager.start([s,c,function(){t.stopJSAnimation=l()},i,u])}},{key:"runStepAnimation",value:function(e){var t=this,n=e.steps,o=e.begin,i=e.onAnimationStart,a=n[0],c=a.style,u=a.duration;return this.manager.start([i].concat(Animate_toConsumableArray(n.reduce(function(e,o,i){if
1(0===i)return e;var a=o.duration,c=o.easing,u=void 0===c?"ease":c,s=o.style,l=o.properties,f=o.onAnimationEnd,p=i>0?n[i-1]:o,d=l||Object.keys(s);if("function"==typeof u||"spring"===u)return[].concat(Animate_toConsumableArray(e),[t.runJSAnimation.bind(t,{from:p.style,to:s,duration:a,easing:u}),a]);var y=getTransitionVal(d,a,u),h=Animate_objectSpread(Animate_objectSpread(Animate_objectSpread({},p.style),s),{},{transition:y});return[].concat(Animate_toConsumableArray(e),[h,a,f]).filter(identity)},[c,Math.max(void 0===u?0:u,o)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){if(!this.manager){var t,n,o;this.manager=(t=function(){return null},n=!1,o=function setStyle(e){if(!n){if(Array.isArray(e)){if(!e.length)return;var o=function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=o[0],a=o.slice(1);if("number"==typeof i){setRafTimeout(setStyle.bind(null,a),i);return}setStyle(i),setRafTimeout(setStyle.bind(null,a));return}"object"===_typeof(e)&&t(e),"function"==typeof e&&e()}},{stop:function(){n=!0},start:function(e){n=!1,o(e)},subscribe:function(e){return t=e,function(){t=function(){return null}}}})}var i=e.begin,a=e.duration,c=e.attributeName,u=e.to,s=e.easing,l=e.onAnimationStart,f=e.onAnimationEnd,p=e.steps,d=e.children,y=this.manager;if(this.unSubscribe=y.subscribe(this.handleStyleChange),"function"==typeof s||"function"==typeof d||"spring"===s){this.runJSAnimation(e);return}if(p.length>1){this.runStepAnimation(e);return}var h=c?Animate_defineProperty({},c,u):u,g=getTransitionVal(Object.keys(h),a,s);y.start([l,i,Animate_objectSpread(Animate_objectSpread({},h),{},{transition:g}),a,f])}},{key:"render",value:function(){var e=this.props,t=e.children,n=(e.begin,e.duration),i=(e.attributeName,e.easing,e.isActive),a=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,m)),c=o.Children.count(t),u=this.state.style;if("function"==typeof t)return t(u);if(!i||0===c||n<=0)return t;var cloneContainer=function(e){var t=e.props,n=t.style,i=void 0===n?{}:n,c=t.className;return(0,o.cloneElement)(e,Animate_objectSpread(Animate_objectSpread({},a),{},{style:Animate_objectSpread(Animate_objectSpread({},i),u),className:c}))};return 1===c?cloneContainer(o.Children.only(t)):o.createElement("div",null,o.Children.map(t,function(e){return cloneContainer(e)}))}}],_defineProperties(Animate.prototype,n),i&&_defineProperties(Animate,i),Object.defineProperty(Animate,"prototype",{writable:!1}),Animate}(o.PureComponent);b.displayName="Animate",b.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},b.propTypes={from:a().oneOfType([a().object,a().string]),to:a().oneOfType([a().object,a().string]),attributeName:a().string,duration:a().number,begin:a().number,easing:a().oneOfType([a().string,a().func]),steps:a().arrayOf(a().shape({duration:a().number.isRequired,style:a().object.isRequired,easing:a().oneOfType([a().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),a().func]),properties:a().arrayOf("string"),onAnimationEnd:a().func})),children:a().oneOfType([a().node,a().func]),isActive:a().bool,canBegin:a().bool,onAnimationEnd:a().func,shouldReAnimate:a().bool,onAnimationStart:a().func,onAnimationReStart:a().func};var _=b},86108:function(e,t,n){"use strict";n.d(t,{u:function(){return A}});var o=n(67294),i=n(83231),a=n(93842),c=n(23560),u=n.n(c),s=n(6162),l=n.n(s),f=n(14293),p=n.n(f),d=n(7654),y=n.n(d),h=n(18446),g=n.n(h),v=n(66338),m=n(93061),b=n(48710),_=n(2763),x=n(47523),O=n(69055),S=n(75471),P=n(52017),j=["layout","type","stroke","connectNulls","isRange","ref"],w=["ke
1y"];function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _objectWithoutProperties(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _defineProperty(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toPropertyKey(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}var A=function(e){var t,n;function Area(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,Area);for(var e,t,n,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return t=Area,n=[].concat(i),t=_getPrototypeOf(t),_defineProperty(e=function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,_isNativeReflectConstruct()?Reflect.construct(t,n||[],_getPrototypeOf(this).constructor):t.apply(this,n)),"state",{isAnimationFinished:!0}),_defineProperty(e,"id",(0,O.EL)("recharts-area-")),_defineProperty(e,"handleAnimationEnd",function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),u()(t)&&t()}),_defineProperty(e,"handleAnimationStart",function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),u()(t)&&t()}),e}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}(Area,e),t=[{key:"renderDots",value:function(e,t,n){var i=this.props.isAnimationActive,a=this.state.isAnimationFinished;if(i&&!a)return null;var c=this.props,u=c.dot,s=c.points,l=c.dataKey,f=(0,P.L6)(this.props,!1),p=(0,P.L6)(u,!0),d=s.map(function(e,t){var n=_objectSpread(_objectSpread(_objectSpread({key:"dot-".concat(t),r:3},f),p),{},{index:t,cx:e.x,cy:e.y,dataKey:l,value:e.value,payload:e.payload,points:s});return Area.renderDotItem(u,n)}),y={clipPath:e?"url(#clipPath-".concat(t?"":"dots-").concat(n,")"):null};return o.createElement(b.m,_extends({className:"recharts-area-dots"},y),d)}},{key:"renderHorizontalRect",value:function(e){var t=this.props,n=t.baseLine,i=t.points,a=t.strokeWidth,c=i[0].x,u=i[i.length-1].x,s=e*Math.abs(c-u),f=l()(i.map(function(e){return e.y||0}));return((0,O.hj)(n)&&"number"==typeof n?f=Math.max(n,f):n&&Array.isArray(n)&&n.length&&(f=Math.max(l()(n.map(function(e){return e.y||0})),f)),(0,O.hj)(f))?o.createElement("rect",{x:c<u?c:c-s,y:0,width:s,height:Math.floor(f+(a?parseInt("".concat(a),10):1))}):null}},{key:"renderVerticalRect",value:function(e){var t=this.props,n=t.baseLine,i=t.points,a=t.strokeWidth,c=i[0].y,u=i[i.length-1].y,s=e*Math.abs(c-u),f=l()(i.map(function(e){return e.x||0}));return((0,O.hj)(n)&&"number"==typeof n?f=Math.max(n,f):n&&Array.isArray(n)&&n.length&&(f=Math.max(l()(n.map(function(e){return e.x||0})),f)),(0,O.hj)(f))?o.createElement("rect",{x:0,y:c<u?c:c-s,width:f+(a?parseInt("".concat(a),10):1),height:Math.floor(s)}):null}},{key:"renderClipRect",value:function(e){return"vertical"===this.props.layout?this.renderVerticalRect(e):this.renderHorizontalRect(e)}},{key:"renderAreaStatically",value:function(e,t,n,i){var a=this.props,c=a.layout,u=a.type,s=a.stroke,l=a.connectNulls,f=a.isRange,p=(a.ref,_objectWithoutProperties(a,j));return o.createElement(b.m,{clipPath:n?"url(#clipPath-".concat(i,")"):null},o.createElement(v.H,_extends({}
1,(0,P.L6)(p,!0),{points:e,connectNulls:l,type:u,baseLine:t,layout:c,stroke:"none",className:"recharts-area-area"})),"none"!==s&&o.createElement(v.H,_extends({},(0,P.L6)(this.props,!1),{className:"recharts-area-curve",layout:c,type:u,connectNulls:l,fill:"none",points:e})),"none"!==s&&f&&o.createElement(v.H,_extends({},(0,P.L6)(this.props,!1),{className:"recharts-area-curve",layout:c,type:u,connectNulls:l,fill:"none",points:t})))}},{key:"renderAreaWithAnimation",value:function(e,t){var n=this,i=this.props,c=i.points,u=i.baseLine,s=i.isAnimationActive,l=i.animationBegin,f=i.animationDuration,d=i.animationEasing,h=i.animationId,g=this.state,v=g.prevPoints,m=g.prevBaseLine;return o.createElement(a.ZP,{begin:l,duration:f,isActive:s,easing:d,from:{t:0},to:{t:1},key:"area-".concat(h),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(i){var a=i.t;if(v){var s,l=v.length/c.length,f=c.map(function(e,t){var n=Math.floor(t*l);if(v[n]){var o=v[n],i=(0,O.k4)(o.x,e.x),c=(0,O.k4)(o.y,e.y);return _objectSpread(_objectSpread({},e),{},{x:i(a),y:c(a)})}return e});return s=(0,O.hj)(u)&&"number"==typeof u?(0,O.k4)(m,u)(a):p()(u)||y()(u)?(0,O.k4)(m,0)(a):u.map(function(e,t){var n=Math.floor(t*l);if(m[n]){var o=m[n],i=(0,O.k4)(o.x,e.x),c=(0,O.k4)(o.y,e.y);return _objectSpread(_objectSpread({},e),{},{x:i(a),y:c(a)})}return e}),n.renderAreaStatically(f,s,e,t)}return o.createElement(b.m,null,o.createElement("defs",null,o.createElement("clipPath",{id:"animationClipPath-".concat(t)},n.renderClipRect(a))),o.createElement(b.m,{clipPath:"url(#animationClipPath-".concat(t,")")},n.renderAreaStatically(c,u,e,t)))})}},{key:"renderArea",value:function(e,t){var n=this.props,o=n.points,i=n.baseLine,a=n.isAnimationActive,c=this.state,u=c.prevPoints,s=c.prevBaseLine,l=c.totalLength;return a&&o&&o.length&&(!u&&l>0||!g()(u,o)||!g()(s,i))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(o,i,e,t)}},{key:"render",value:function(){var e,t=this.props,n=t.hide,a=t.dot,c=t.points,u=t.className,s=t.top,l=t.left,f=t.xAxis,d=t.yAxis,y=t.width,h=t.height,g=t.isAnimationActive,v=t.id;if(n||!c||!c.length)return null;var m=this.state.isAnimationFinished,x=1===c.length,O=(0,i.Z)("recharts-area",u),S=f&&f.allowDataOverflow,j=d&&d.allowDataOverflow,w=S||j,A=p()(v)?this.id:v,C=null!==(e=(0,P.L6)(a,!1))&&void 0!==e?e:{r:3,strokeWidth:2},k=C.r,E=C.strokeWidth,T=((0,P.jf)(a)?a:{}).clipDot,M=void 0===T||T,D=2*(void 0===k?3:k)+(void 0===E?2:E);return o.createElement(b.m,{className:O},S||j?o.createElement("defs",null,o.createElement("clipPath",{id:"clipPath-".concat(A)},o.createElement("rect",{x:S?l:l-y/2,y:j?s:s-h/2,width:S?y:2*y,height:j?h:2*h})),!M&&o.createElement("clipPath",{id:"clipPath-dots-".concat(A)},o.createElement("rect",{x:l-D/2,y:s-D/2,width:y+D,height:h+D}))):null,x?null:this.renderArea(w,A),(a||x)&&this.renderDots(w,M,A),(!g||m)&&_.e.renderCallByParent(this.props,c))}}],n=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:t.curPoints,prevBaseLine:t.curBaseLine}:e.points!==t.curPoints||e.baseLine!==t.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null}}],t&&_defineProperties(Area.prototype,t),n&&_defineProperties(Area,n),Object.defineProperty(Area,"prototype",{writable:!1}),Area}(o.PureComponent);_defineProperty(A,"displayName","Area"),_defineProperty(A,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!x.x.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),_defineProperty(A,"getBaseValue",function(e,t,n,o){var i=e.layout,a=e.baseValue,c=t.props.baseValue,u=null!=c?c:a;if((0,O.hj)(u)&&"number"==typeof u)return u;var s="horizontal"===i?o:n,l=s.scale.domain();if("number"===s.type){var f=Math.max(l[0],l[1]),p=Math.min(l[0],l[1]);return"dataMin"===u?p:"dataMax"===u?f:f<0?f:Math.max(Math.min(l[0],l[1]),0)}return"dataMin"===u?l[0]:"dataMax"===u?l[1]:l[0]}),_defineProperty(A,"getComposedData",function(e){var t,n=e.props,o=e.item,i=e.xAxis,a=e.
1yAxis,c=e.xAxisTicks,u=e.yAxisTicks,s=e.bandSize,l=e.dataKey,f=e.stackedData,p=e.dataStartIndex,d=e.displayedData,y=e.offset,h=n.layout,g=f&&f.length,v=A.getBaseValue(n,o,i,a),m="horizontal"===h,b=!1,_=d.map(function(e,t){g?n=f[p+t]:Array.isArray(n=(0,S.F$)(e,l))?b=!0:n=[v,n];var n,o=null==n[1]||g&&null==(0,S.F$)(e,l);return m?{x:(0,S.Hv)({axis:i,ticks:c,bandSize:s,entry:e,index:t}),y:o?null:a.scale(n[1]),value:n,payload:e}:{x:o?null:i.scale(n[1]),y:(0,S.Hv)({axis:a,ticks:u,bandSize:s,entry:e,index:t}),value:n,payload:e}});return t=g||b?_.map(function(e){var t=Array.isArray(e.value)?e.value[0]:null;return m?{x:e.x,y:null!=t&&null!=e.y?a.scale(t):null}:{x:null!=t?i.scale(t):null,y:e.y}}):m?a.scale(v):i.scale(v),_objectSpread({points:_,baseLine:t,layout:h,isRange:b},y)}),_defineProperty(A,"renderDotItem",function(e,t){var n;if(o.isValidElement(e))n=o.cloneElement(e,t);else if(u()(e))n=e(t);else{var a=(0,i.Z)("recharts-area-dot","boolean"!=typeof e?e.className:""),c=t.key,s=_objectWithoutProperties(t,w);n=o.createElement(m.o,_extends({},s,{key:c,className:a}))}return n})},18001:function(e,t,n){"use strict";n.d(t,{$:function(){return P}});var o=n(67294),i=n(83231),a=n(93842),c=n(18446),u=n.n(c),s=n(14293),l=n.n(s),f=n(48710),p=n(86641),d=n(43815),y=n(2763),h=n(69055),g=n(52017),v=n(47523),m=n(75471),b=n(79896),_=n(38776),x=n(49465),O=["x","y"];function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function typeguardBarRectangleProps(e,t){var n=e.x,o=e.y,i=function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,O),a=parseInt("".concat(n),10),c=parseInt("".concat(o),10),u=parseInt("".concat(t.height||i.height),10),s=parseInt("".concat(t.width||i.width),10);return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({},t),i),a?{x:a}:{}),c?{y:c}:{}),{},{height:u,width:s,name:t.name,radius:t.radius})}function BarRectangle(e){return o.createElement(x.bn,_extends({shapeType:"rectangle",propTransformer:typeguardBarRectangleProps,activeClassName:"recharts-active-bar"},e))}var minPointSizeCallback=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(n,o){if("number"==typeof e)return e;var i="number"==typeof n;return i?e(n,o):(i||(0,_.Z)(!1),t)}},S=["value","background"];function Bar_typeof(e){return(Bar_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Bar_extends(){return(Bar_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function Bar_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function Bar_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Bar_ownKeys(Object(n),!0).forEach(function(t){Bar_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bar_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Bar_toPropertyKey(o.key),o)}}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Bar_defineProperty(e,t,n){return(t=Bar_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bar_toPropertyKey(e){var t=function(e,t){if("object"!=Bar_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Bar_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Bar_typeof(t)?t:t+""}var P=function(e){var t,n;function Bar(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,Bar);for(var e,t,n,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return t=Bar,n=[].concat(i),t=_getPrototypeOf(t),Bar_defineProperty(e=function(e,t){if(t&&("object"===Bar_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,_isNativeReflectConstruct()?Reflect.construct(t,n||[],_getPrototypeOf(this).constructor):t.apply(this,n)),"state",{isAnimationFinished:!1}),Bar_defineProperty(e,"id",(0,h.EL)("recharts-bar-")),Bar_defineProperty(e,"handleAnimationEnd",function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),t&&t()}),Bar_defineProperty(e,"handleAnimationStart",function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),t&&t()}),e}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}(Bar,e),t=[{key:"renderRectanglesStatically",value:function(e){var t=this,n=this.props,i=n.shape,a=n.dataKey,c=n.activeIndex,u=n.activeBar,s=(0,g.L6)(this.props,!1);return e&&e.map(function(e,n){var l=n===c,p=l?u:i,d=Bar_objectSpread(Bar_objectSpread(Bar_objectSpread({},s),e),{},{isActive:l,option:p,index:n,dataKey:a,onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd});return o.createElement(f.m,Bar_extends({className:"recharts-bar-rectangle"},(0,b.bw)(t.props,e,n),{key:"rectangle-".concat(null==e?void 0:e.x,"-").concat(null==e?void 0:e.y,"-").concat(null==e?void 0:e.value,"-").concat(n)}),o.createElement(BarRectangle,d))})}},{key:"renderRectanglesWithAnimation",value:function(){var e=this,t=this.props,n=t.data,i=t.layout,c=t.isAnimationActive,u=t.animationBegin,s=t.animationDuration,l=t.animationEasing,p=t.animationId,d=this.state.prevData;return o.createElement(a.ZP,{begin:u,duration:s,isActive:c,easing:l,from:{t:0},to:{t:1},key:"bar-".concat(p),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(t){var a=t.t,c=n.map(function(e,t){var n=d&&d[t];if(n){var o=(0,h.k4)(n.x,e.x),c=(0,h.k4)(n.y,e.y),u=(0,h.k4)(n.width,e.width),s=(0,h.k4)(n.height,e.height);return Bar_objectSpread(Bar_objectSpread({},e),{},{x:o(a),y:c(a),width:u(a),height:s(a)})}if("horizontal"===i){var l=(0,h.k4)(0,e.height)(a);return Bar_objectSpread(Bar_objectSpread({},e),{}
1,{y:e.y+e.height-l,height:l})}var f=(0,h.k4)(0,e.width)(a);return Bar_objectSpread(Bar_objectSpread({},e),{},{width:f})});return o.createElement(f.m,null,e.renderRectanglesStatically(c))})}},{key:"renderRectangles",value:function(){var e=this.props,t=e.data,n=e.isAnimationActive,o=this.state.prevData;return n&&t&&t.length&&(!o||!u()(o,t))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(t)}},{key:"renderBackground",value:function(){var e=this,t=this.props,n=t.data,i=t.dataKey,a=t.activeIndex,c=(0,g.L6)(this.props.background,!1);return n.map(function(t,n){t.value;var u=t.background,s=function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,S);if(!u)return null;var l=Bar_objectSpread(Bar_objectSpread(Bar_objectSpread(Bar_objectSpread(Bar_objectSpread({},s),{},{fill:"#eee"},u),c),(0,b.bw)(e.props,t,n)),{},{onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd,dataKey:i,index:n,className:"recharts-bar-background-rectangle"});return o.createElement(BarRectangle,Bar_extends({key:"background-bar-".concat(n),option:e.props.background,isActive:n===a},l))})}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,i=n.data,a=n.xAxis,c=n.yAxis,u=n.layout,s=n.children,l=(0,g.NN)(s,p.W);if(!l)return null;var d="vertical"===u?i[0].height/2:i[0].width/2,dataPointFormatter=function(e,t){var n=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:n,errorVal:(0,m.F$)(e,t)}};return o.createElement(f.m,{clipPath:e?"url(#clipPath-".concat(t,")"):null},l.map(function(e){return o.cloneElement(e,{key:"error-bar-".concat(t,"-").concat(e.props.dataKey),data:i,xAxis:a,yAxis:c,layout:u,offset:d,dataPointFormatter:dataPointFormatter})}))}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.data,a=e.className,c=e.xAxis,u=e.yAxis,s=e.left,p=e.top,d=e.width,h=e.height,g=e.isAnimationActive,v=e.background,m=e.id;if(t||!n||!n.length)return null;var b=this.state.isAnimationFinished,_=(0,i.Z)("recharts-bar",a),x=c&&c.allowDataOverflow,O=u&&u.allowDataOverflow,S=x||O,P=l()(m)?this.id:m;return o.createElement(f.m,{className:_},x||O?o.createElement("defs",null,o.createElement("clipPath",{id:"clipPath-".concat(P)},o.createElement("rect",{x:x?s:s-d/2,y:O?p:p-h/2,width:x?d:2*d,height:O?h:2*h}))):null,o.createElement(f.m,{className:"recharts-bar-rectangles",clipPath:S?"url(#clipPath-".concat(P,")"):null},v?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(S,P),(!g||b)&&y.e.renderCallByParent(this.props,n))}}],n=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curData:e.data,prevData:t.curData}:e.data!==t.curData?{curData:e.data}:null}}],t&&_defineProperties(Bar.prototype,t),n&&_defineProperties(Bar,n),Object.defineProperty(Bar,"prototype",{writable:!1}),Bar}(o.PureComponent);Bar_defineProperty(P,"displayName","Bar"),Bar_defineProperty(P,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!v.x.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),Bar_defineProperty(P,"getComposedData",function(e){var t=e.props,n=e.item,o=e.barPosition,i=e.bandSize,a=e.xAxis,c=e.yAxis,u=e.xAxisTicks,s=e.yAxisTicks,l=e.stackedData,f=e.dataStartIndex,p=e.displayedData,y=e.offset,v=(0,m.Bu)(o,n);if(!v)return null;var b=t.layout,_=n.type.defaultProps,x=void 0!==_?Bar_objectSpread(Bar_objectSpread({},_),n.props):n.props,O=x.dataKey,S=x.children,j=x.minPointSize,w="horizontal"===b?c:a,A=l?w.scale.domain():null,C=(0,m.Yj)({numericAxis:w}),k=(0,g.NN)(S,d.b),E=p.map(function(e,t){l?p=(0,m.Vv)(l[f+t],A):Array.isArray(p=(0,m.F$)(e,O))||(p=[C,p]);var o=minPointSizeCallback(j,P.defaultProps.minPointSize)(p[1],t);
1if("horizontal"===b){var p,d,y,g,_,x,S,w=[c.scale(p[0]),c.scale(p[1])],E=w[0],T=w[1];d=(0,m.Fy)({axis:a,ticks:u,bandSize:i,offset:v.offset,entry:e,index:t}),y=null!==(S=null!=T?T:E)&&void 0!==S?S:void 0,g=v.size;var M=E-T;if(_=Number.isNaN(M)?0:M,x={x:d,y:c.y,width:g,height:c.height},Math.abs(o)>0&&Math.abs(_)<Math.abs(o)){var D=(0,h.uY)(_||o)*(Math.abs(o)-Math.abs(_));y-=D,_+=D}}else{var I=[a.scale(p[0]),a.scale(p[1])],N=I[0],L=I[1];if(d=N,y=(0,m.Fy)({axis:c,ticks:s,bandSize:i,offset:v.offset,entry:e,index:t}),g=L-N,_=v.size,x={x:a.x,y:y,width:a.width,height:_},Math.abs(o)>0&&Math.abs(g)<Math.abs(o)){var R=(0,h.uY)(g||o)*(Math.abs(o)-Math.abs(g));g+=R}}return Bar_objectSpread(Bar_objectSpread(Bar_objectSpread({},e),{},{x:d,y:y,width:g,height:_,value:l?p:p[1],payload:e,background:x},k&&k[t]&&k[t].props),{},{tooltipPayload:[(0,m.Qo)(n,e)],tooltipPosition:{x:d+g/2,y:y+_/2}})});return Bar_objectSpread({data:E,layout:b},y)})},69311:function(e,t,n){"use strict";n.d(t,{O:function(){return x}});var o=n(67294),i=n(23560),a=n.n(i),c=n(27361),u=n.n(c),s=n(83231),l=n(30791),f=n(48710),p=n(84642),d=n(25048),y=n(69055),h=n(79896),g=n(52017),v=n(2952),m=["viewBox"],b=["viewBox"],_=["ticks"];function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _objectWithoutProperties(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _defineProperty(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toPropertyKey(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}var x=function(e){var t,n;function CartesianAxis(e){var t,n,o;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,CartesianAxis),n=CartesianAxis,o=[e],n=_getPrototypeOf(n),(t=function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,_isNativeReflectConstruct()?Reflect.construct(n,o||[],_getPrototypeOf(this).constructor):n.apply(this,o))).state={fontSize:"",letterSpacing:""},t}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}(CartesianAxis,e),t=[{key:"shouldComponentUpdate",value:function(e,t){var n=e.viewBox,o=_objectWithoutProperties(e,m),i=this.props,a=i.viewBox,c=_objectWithoutProperties(i,b);return!(0,l.w)(n,a)||!(0,l.w)(o,c)||!(0,l.w)(t,this.state)}},{key:"componentDidMount",value:function(){var e=this.layerReference;if(e){var t=e.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];t&&this.setState({fontSize:window.getComputedStyle(t).fontSize,letterSpacing:window.getComputedStyle(t).letterSpacing})}}}
1,{key:"getTickLineCoord",value:function(e){var t,n,o,i,a,c,u=this.props,s=u.x,l=u.y,f=u.width,p=u.height,d=u.orientation,h=u.tickSize,g=u.mirror,v=u.tickMargin,m=g?-1:1,b=e.tickSize||h,_=(0,y.hj)(e.tickCoord)?e.tickCoord:e.coordinate;switch(d){case"top":t=n=e.coordinate,c=(o=(i=l+ +!g*p)-m*b)-m*v,a=_;break;case"left":o=i=e.coordinate,a=(t=(n=s+ +!g*f)-m*b)-m*v,c=_;break;case"right":o=i=e.coordinate,a=(t=(n=s+ +g*f)+m*b)+m*v,c=_;break;default:t=n=e.coordinate,c=(o=(i=l+ +g*p)+m*b)+m*v,a=_}return{line:{x1:t,y1:o,x2:n,y2:i},tick:{x:a,y:c}}}},{key:"getTickTextAnchor",value:function(){var e,t=this.props,n=t.orientation,o=t.mirror;switch(n){case"left":e=o?"start":"end";break;case"right":e=o?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,t=e.orientation,n=e.mirror,o="end";switch(t){case"left":case"right":o="middle";break;case"top":o=n?"start":"end";break;default:o=n?"end":"start"}return o}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.x,n=e.y,i=e.width,a=e.height,c=e.orientation,l=e.mirror,f=e.axisLine,p=_objectSpread(_objectSpread(_objectSpread({},(0,g.L6)(this.props,!1)),(0,g.L6)(f,!1)),{},{fill:"none"});if("top"===c||"bottom"===c){var d=+("top"===c&&!l||"bottom"===c&&l);p=_objectSpread(_objectSpread({},p),{},{x1:t,y1:n+d*a,x2:t+i,y2:n+d*a})}else{var y=+("left"===c&&!l||"right"===c&&l);p=_objectSpread(_objectSpread({},p),{},{x1:t+y*i,y1:n,x2:t+y*i,y2:n+a})}return o.createElement("line",_extends({},p,{className:(0,s.Z)("recharts-cartesian-axis-line",u()(f,"className"))}))}},{key:"renderTicks",value:function(e,t,n){var i=this,c=this.props,l=c.tickLine,p=c.stroke,d=c.tick,y=c.tickFormatter,m=c.unit,b=(0,v.f)(_objectSpread(_objectSpread({},this.props),{},{ticks:e}),t,n),_=this.getTickTextAnchor(),x=this.getTickVerticalAnchor(),O=(0,g.L6)(this.props,!1),S=(0,g.L6)(d,!1),P=_objectSpread(_objectSpread({},O),{},{fill:"none"},(0,g.L6)(l,!1)),j=b.map(function(e,t){var n=i.getTickLineCoord(e),c=n.line,g=n.tick,v=_objectSpread(_objectSpread(_objectSpread(_objectSpread({textAnchor:_,verticalAnchor:x},O),{},{stroke:"none",fill:p},S),g),{},{index:t,payload:e,visibleTicksCount:b.length,tickFormatter:y});return o.createElement(f.m,_extends({className:"recharts-cartesian-axis-tick",key:"tick-".concat(e.value,"-").concat(e.coordinate,"-").concat(e.tickCoord)},(0,h.bw)(i.props,e,t)),l&&o.createElement("line",_extends({},P,c,{className:(0,s.Z)("recharts-cartesian-axis-tick-line",u()(l,"className"))})),d&&CartesianAxis.renderTickItem(d,v,"".concat(a()(y)?y(e.value,t):e.value).concat(m||"")))});return o.createElement("g",{className:"recharts-cartesian-axis-ticks"},j)}},{key:"render",value:function(){var e=this,t=this.props,n=t.axisLine,i=t.width,c=t.height,u=t.ticksGenerator,l=t.className;if(t.hide)return null;var p=this.props,y=p.ticks,h=_objectWithoutProperties(p,_),g=y;return(a()(u)&&(g=u(y&&y.length>0?this.props:h)),i<=0||c<=0||!g||!g.length)?null:o.createElement(f.m,{className:(0,s.Z)("recharts-cartesian-axis",l),ref:function(t){e.layerReference=t}},n&&this.renderAxisLine(),this.renderTicks(g,this.state.fontSize,this.state.letterSpacing),d._.renderCallByParent(this.props))}}],n=[{key:"renderTickItem",value:function(e,t,n){return o.isValidElement(e)?o.cloneElement(e,t):a()(e)?e(t):o.createElement(p.x,_extends({},t,{className:"recharts-cartesian-axis-tick-value"}),n)}}],t&&_defineProperties(CartesianAxis.prototype,t),n&&_defineProperties(CartesianAxis,n),Object.defineProperty(CartesianAxis,"prototype",{writable:!1}),CartesianAxis}(o.Component);_defineProperty(x,"displayName","CartesianAxis"),_defineProperty(x,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"})},14195:function(e,t,n){"use strict";n.d(t,{q:function(){return CartesianGrid}});var o=n(67294),i=n(23560),a=n.n(i),c=n(6213),u=n(69055),s=n(52017),l=n(75471),f=n(2952),p=n(69311),d=n(92140),y=["x1","y1","x2","y2","key"],h=["offset"];function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?ownKeys(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function _objectWithoutProperties(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}
1var Background=function(e){var t=e.fill;if(!t||"none"===t)return null;var n=e.fillOpacity,i=e.x,a=e.y,c=e.width,u=e.height,s=e.ry;return o.createElement("rect",{x:i,y:a,ry:s,width:c,height:u,stroke:"none",fill:t,fillOpacity:n,className:"recharts-cartesian-grid-bg"})};function renderLineItem(e,t){var n;if(o.isValidElement(e))n=o.cloneElement(e,t);else if(a()(e))n=e(t);else{var i=t.x1,c=t.y1,u=t.x2,l=t.y2,f=t.key,p=_objectWithoutProperties(t,y),d=(0,s.L6)(p,!1),g=(d.offset,_objectWithoutProperties(d,h));n=o.createElement("line",_extends({},g,{x1:i,y1:c,x2:u,y2:l,fill:"none",key:f}))}return n}function HorizontalGridLines(e){var t=e.x,n=e.width,i=e.horizontal,a=void 0===i||i,c=e.horizontalPoints;if(!a||!c||!c.length)return null;var u=c.map(function(o,i){return renderLineItem(a,_objectSpread(_objectSpread({},e),{},{x1:t,y1:o,x2:t+n,y2:o,key:"line-".concat(i),index:i}))});return o.createElement("g",{className:"recharts-cartesian-grid-horizontal"},u)}function VerticalGridLines(e){var t=e.y,n=e.height,i=e.vertical,a=void 0===i||i,c=e.verticalPoints;if(!a||!c||!c.length)return null;var u=c.map(function(o,i){return renderLineItem(a,_objectSpread(_objectSpread({},e),{},{x1:o,y1:t,x2:o,y2:t+n,key:"line-".concat(i),index:i}))});return o.createElement("g",{className:"recharts-cartesian-grid-vertical"},u)}function HorizontalStripes(e){var t=e.horizontalFill,n=e.fillOpacity,i=e.x,a=e.y,c=e.width,u=e.height,s=e.horizontalPoints,l=e.horizontal;if(!(void 0===l||l)||!t||!t.length)return null;var f=s.map(function(e){return Math.round(e+a-a)}).sort(function(e,t){return e-t});a!==f[0]&&f.unshift(0);var p=f.map(function(e,s){var l=f[s+1]?f[s+1]-e:a+u-e;if(l<=0)return null;var p=s%t.length;return o.createElement("rect",{key:"react-".concat(s),y:e,x:i,height:l,width:c,stroke:"none",fill:t[p],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return o.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},p)}function VerticalStripes(e){var t=e.vertical,n=e.verticalFill,i=e.fillOpacity,a=e.x,c=e.y,u=e.width,s=e.height,l=e.verticalPoints;if(!(void 0===t||t)||!n||!n.length)return null;var f=l.map(function(e){return Math.round(e+a-a)}).sort(function(e,t){return e-t});a!==f[0]&&f.unshift(0);var p=f.map(function(e,t){var l=f[t+1]?f[t+1]-e:a+u-e;if(l<=0)return null;var p=t%n.length;return o.createElement("rect",{key:"react-".concat(t),x:e,y:c,width:l,height:s,stroke:"none",fill:n[p],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return o.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},p)}var defaultVerticalCoordinatesGenerator=function(e,t){var n=e.xAxis,o=e.width,i=e.height,a=e.offset;return(0,l.Rf)((0,f.f)(_objectSpread(_objectSpread(_objectSpread({},p.O.defaultProps),n),{},{ticks:(0,l.uY)(n,!0),viewBox:{x:0,y:0,width:o,height:i}})),a.left,a.left+a.width,t)},defaultHorizontalCoordinatesGenerator=function(e,t){var n=e.yAxis,o=e.width,i=e.height,a=e.offset;return(0,l.Rf)((0,f.f)(_objectSpread(_objectSpread(_objectSpread({},p.O.defaultProps),n),{},{ticks:(0,l.uY)(n,!0),viewBox:{x:0,y:0,width:o,height:i}})),a.top,a.top+a.height,t)},g={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function CartesianGrid(e){var t,n,i,s,l,f,p=(0,d.zn)(),y=(0,d.Mw)(),h=(0,d.qD)(),v=_objectSpread(_objectSpread({},e),{},{stroke:null!==(t=e.stroke)&&void 0!==t?t:g.stroke,fill:null!==(n=e.fill)&&void 0!==n?n:g.fill,horizontal:null!==(i=e.horizontal)&&void 0!==i?i:g.horizontal,horizontalFill:null!==(s=e.horizontalFill)&&void 0!==s?s:g.horizontalFill,vertical:null!==(l=e.vertical)&&void 0!==l?l:g.vertical,verticalFill:null!==(f=e.verticalFill)&&void 0!==f?f:g.verticalFill,x:(0,u.hj)(e.x)?e.x:h.left,y:(0,u.hj)(e.y)?e.y:h.top,width:(0,u.hj)(e.width)?e.width:h.width,height:(0,u.hj)(e.height)?e.height:h.height}),m=v.x,b=v.y,_=v.width,x=v.height,O=v.syncWithTicks,S=v.horizontalValues,P=v.verticalValues,j=(0,d.CW)(),w=(0,d.Nf)();if(!(0,u.hj)(_)||_<=0||!(0,u.hj)(x)||x<=0||!(0,u.hj)(m)||m!==+m||!(0,u.hj)(b)||b!==+b)return null;var A=v.verticalCoordinatesGenerator||defaultVerticalCoordinatesGenerator,C=v.horizontalCoordinatesGenerator||defaultHorizontalCoordinatesGenerator,k=v.horizontalPoints,E=v.verticalPoints;if((!k||!k.length)&&a()(C)){var T=S&&S.length,M=C({yAxis:w?_objectSpread(_objectSpread({},w),{},{ticks:T?S:w.ticks}):void 0,width:p,height:y,offset:h},!!T||O);(0,c.Z)(Array.isArray(M),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(_typeof(M),"]")),Array.isArray(M)&&(k=M)}if((!E||!E.length)&&a()(A)){var D=P&&P.length,I=A({xAxis:j?_objectSpread(_objectSpread({},j),{},{ticks:D?P:j.ticks}):void 0,width:p,height:y,offset:h},!!D||O);(0,c.Z)(Array.isArray(I),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(_typeof(I),"]")),Array.isArray(I)&&(E=I)}return o.createElement("g",{className:"recharts-cartesian-grid"}
1,o.createElement(Background,{fill:v.fill,fillOpacity:v.fillOpacity,x:v.x,y:v.y,width:v.width,height:v.height,ry:v.ry}),o.createElement(HorizontalGridLines,_extends({},v,{offset:h,horizontalPoints:k,xAxis:j,yAxis:w})),o.createElement(VerticalGridLines,_extends({},v,{offset:h,verticalPoints:E,xAxis:j,yAxis:w})),o.createElement(HorizontalStripes,_extends({},v,{horizontalPoints:k})),o.createElement(VerticalStripes,_extends({},v,{verticalPoints:E})))}CartesianGrid.displayName="CartesianGrid"},86641:function(e,t,n){"use strict";n.d(t,{W:function(){return s}});var o=n(67294),i=n(38776),a=n(48710),c=n(52017),u=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _defineProperty(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toPropertyKey(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}var s=function(e){var t,n;function ErrorBar(){var e,t;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,ErrorBar),e=ErrorBar,t=arguments,e=_getPrototypeOf(e),function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,_isNativeReflectConstruct()?Reflect.construct(e,t||[],_getPrototypeOf(this).constructor):e.apply(this,t))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}(ErrorBar,e),t=[{key:"render",value:function(){var e=this.props,t=e.offset,n=e.layout,s=e.width,l=e.dataKey,f=e.data,p=e.dataPointFormatter,d=e.xAxis,y=e.yAxis,h=function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,u),g=(0,c.L6)(h,!1);"x"===this.props.direction&&"number"!==d.type&&(0,i.Z)(!1);var v=f.map(function(e){var i,c,u=p(e,l),f=u.x,h=u.y,v=u.value,m=u.errorVal;if(!m)return null;var b=[];if(Array.isArray(m)){var _=function(e){if(Array.isArray(e))return e}(m)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,a,c,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;
1!(s=(o=a.call(n)).done)&&(u.push(o.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(l)throw i}}return u}}(m,2)||function(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}}(m,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();i=_[0],c=_[1]}else i=c=m;if("vertical"===n){var x=d.scale,O=h+t,S=O+s,P=O-s,j=x(v-i),w=x(v+c);b.push({x1:w,y1:S,x2:w,y2:P}),b.push({x1:j,y1:O,x2:w,y2:O}),b.push({x1:j,y1:S,x2:j,y2:P})}else if("horizontal"===n){var A=y.scale,C=f+t,k=C-s,E=C+s,T=A(v-i),M=A(v+c);b.push({x1:k,y1:M,x2:E,y2:M}),b.push({x1:C,y1:T,x2:C,y2:M}),b.push({x1:k,y1:T,x2:E,y2:T})}return o.createElement(a.m,_extends({className:"recharts-errorBar",key:"bar-".concat(b.map(function(e){return"".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)}))},g),b.map(function(e){return o.createElement("line",_extends({},e,{key:"line-".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)}))}))});return o.createElement(a.m,{className:"recharts-errorBars"},v)}}],_defineProperties(ErrorBar.prototype,t),n&&_defineProperties(ErrorBar,n),Object.defineProperty(ErrorBar,"prototype",{writable:!1}),ErrorBar}(o.Component);_defineProperty(s,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),_defineProperty(s,"displayName","ErrorBar")},56880:function(e,t,n){"use strict";n.d(t,{x:function(){return P}});var o=n(67294),i=n(93842),a=n(23560),c=n.n(a),u=n(14293),s=n.n(u),l=n(18446),f=n.n(l),p=n(83231),d=n(66338),y=n(93061),h=n(48710),g=n(2763),v=n(86641),m=n(69055),b=n(52017),_=n(47523),x=n(75471),O=["type","layout","connectNulls","ref"],S=["key"];function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _objectWithoutProperties(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _toConsumableArray(e){return function(e){if(Array.isArray(e))return _arrayLikeToArray(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _defineProperty(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toPropertyKey(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}var P=function(e){var t,n;function Line(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,Line);for(var e,t,n,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return t=Line,n=[].concat(i),t=_getPrototypeOf(t),_defineProperty(e=function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,_isNativeReflectConstruct()?Reflect.construct(t,n||[],_getPrototypeOf(this).constructor):t.apply(this,n)),"state",{isAnimationFinished:!0,totalLength:0}),_defineProperty(e,"generateSimpleStrokeDasharray",function(e,t){return"".concat(t,"px ").concat(e-t,"px")}),_defineProperty(e,"getStrokeDasharray",function(t,n,o){var i=o.reduce(function(e,t){return e+t});if(!i)return e.generateSimpleStrokeDasharray(n,t);for(var a=Math.floor(t/i),c=t%i,u=n-t,s=[],l=0,f=0;l<o.length;f+=o[l],++l)if(f+o[l]>c){s=[].concat(_toConsumableArray(o.slice(0,l)),[c-f]);break}var p=s.length%2==0?[0,u]:[u];return[].concat(_toConsumableArray(Line.repeat(o,a)),_toConsumableArray(s),p).map(function(e){return"".concat(e,"px")}).join(", ")}),_defineProperty(e,"id",(0,m.EL)("recharts-line-")),_defineProperty(e,"pathRef",function(t){e.mainCurve=t}),_defineProperty(e,"handleAnimationEnd",function(){e.setState({isAnimationFinished:!0}),e.props.onAnimationEnd&&e.props.onAnimationEnd()}),_defineProperty(e,"handleAnimationStart",function(){e.setState({isAnimationFinished:!1}),e.props.onAnimationStart&&e.props.onAnimationStart()}),e}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}(Line,e),t=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();this.setState({totalLength:e})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();e!==this.state.totalLength&&this.setState({totalLength:e})}}},{key:"getTotalLength",value:function(){var e=this.mainCurve;try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch(e){return 0}}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,i=n.points,a=n.xAxis,c=n.yAxis,u=n.layout,s=n.children,l=(0,b.NN)(s,v.W);if(!l)return null;var dataPointFormatter=function(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:(0,x.F$)(e.payload,t)}};return o.createElement(h.m,{clipPath:e?"url(#clipPath-".concat(t,")"):null},l.map(function(e){return o.cloneElement(e,{key:"bar-".concat(e.props.dataKey),data:i,xAxis:a,yAxis:c,layout:u,dataPointFormatter:dataPointFormatter})}))}},{key:"renderDots",value:function(e,t,n){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var i=this.props,a=i.dot,c=i.points,u=i.dataKey,s=(0,b.L6)(this.props,!1),l=(0,b.L6)(a,!0),f=c.map(function(e,t){var n=_objectSpread(_objectSpread(_objectSpread({key:"dot-".concat(t),r:3},s),l),{},{index:t,cx:e.x,cy:e.y,value:e.value,dataKey:u,payload:e.payload,points:c});return Line.renderDotItem(a,n)}),p={clipPath:e?"url(#clipPath-".concat(t?"":"dots-").concat(n,")"):null};return o.createElement(h.m,_extends({className:"recharts-line-dots",key:"dots"},p),f)}},{key:"renderCurveStatically",value:function(e,t,n,i){var a=this.props,c=a.type,u=a.layout,s=a.c
1onnectNulls,l=(a.ref,_objectWithoutProperties(a,O)),f=_objectSpread(_objectSpread(_objectSpread({},(0,b.L6)(l,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:t?"url(#clipPath-".concat(n,")"):null,points:e},i),{},{type:c,layout:u,connectNulls:s});return o.createElement(d.H,_extends({},f,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(e,t){var n=this,a=this.props,c=a.points,u=a.strokeDasharray,s=a.isAnimationActive,l=a.animationBegin,f=a.animationDuration,p=a.animationEasing,d=a.animationId,y=a.animateNewValues,h=a.width,g=a.height,v=this.state,b=v.prevPoints,_=v.totalLength;return o.createElement(i.ZP,{begin:l,duration:f,isActive:s,easing:p,from:{t:0},to:{t:1},key:"line-".concat(d),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(o){var i,a=o.t;if(b){var s=b.length/c.length,l=c.map(function(e,t){var n=Math.floor(t*s);if(b[n]){var o=b[n],i=(0,m.k4)(o.x,e.x),c=(0,m.k4)(o.y,e.y);return _objectSpread(_objectSpread({},e),{},{x:i(a),y:c(a)})}if(y){var u=(0,m.k4)(2*h,e.x),l=(0,m.k4)(g/2,e.y);return _objectSpread(_objectSpread({},e),{},{x:u(a),y:l(a)})}return _objectSpread(_objectSpread({},e),{},{x:e.x,y:e.y})});return n.renderCurveStatically(l,e,t)}var f=(0,m.k4)(0,_)(a);if(u){var p="".concat(u).split(/[,\s]+/gim).map(function(e){return parseFloat(e)});i=n.getStrokeDasharray(f,_,p)}else i=n.generateSimpleStrokeDasharray(_,f);return n.renderCurveStatically(c,e,t,{strokeDasharray:i})})}},{key:"renderCurve",value:function(e,t){var n=this.props,o=n.points,i=n.isAnimationActive,a=this.state,c=a.prevPoints,u=a.totalLength;return i&&o&&o.length&&(!c&&u>0||!f()(c,o))?this.renderCurveWithAnimation(e,t):this.renderCurveStatically(o,e,t)}},{key:"render",value:function(){var e,t=this.props,n=t.hide,i=t.dot,a=t.points,c=t.className,u=t.xAxis,l=t.yAxis,f=t.top,d=t.left,y=t.width,v=t.height,m=t.isAnimationActive,_=t.id;if(n||!a||!a.length)return null;var x=this.state.isAnimationFinished,O=1===a.length,S=(0,p.Z)("recharts-line",c),P=u&&u.allowDataOverflow,j=l&&l.allowDataOverflow,w=P||j,A=s()(_)?this.id:_,C=null!==(e=(0,b.L6)(i,!1))&&void 0!==e?e:{r:3,strokeWidth:2},k=C.r,E=C.strokeWidth,T=((0,b.jf)(i)?i:{}).clipDot,M=void 0===T||T,D=2*(void 0===k?3:k)+(void 0===E?2:E);return o.createElement(h.m,{className:S},P||j?o.createElement("defs",null,o.createElement("clipPath",{id:"clipPath-".concat(A)},o.createElement("rect",{x:P?d:d-y/2,y:j?f:f-v/2,width:P?y:2*y,height:j?v:2*v})),!M&&o.createElement("clipPath",{id:"clipPath-dots-".concat(A)},o.createElement("rect",{x:d-D/2,y:f-D/2,width:y+D,height:v+D}))):null,!O&&this.renderCurve(w,A),this.renderErrorBar(w,A),(O||i)&&this.renderDots(w,M,A),(!m||x)&&g.e.renderCallByParent(this.props,a))}}],n=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,prevPoints:t.curPoints}:e.points!==t.curPoints?{curPoints:e.points}:null}},{key:"repeat",value:function(e,t){for(var n=e.length%2!=0?[].concat(_toConsumableArray(e),[0]):e,o=[],i=0;i<t;++i)o=[].concat(_toConsumableArray(o),_toConsumableArray(n));return o}},{key:"renderDotItem",value:function(e,t){var n;if(o.isValidElement(e))n=o.cloneElement(e,t);else if(c()(e))n=e(t);else{var i=t.key,a=_objectWithoutProperties(t,S),u=(0,p.Z)("recharts-line-dot","boolean"!=typeof e?e.className:"");n=o.createElement(y.o,_extends({key:i},a,{className:u}))}return n}}],t&&_defineProperties(Line.prototype,t),n&&_defineProperties(Line,n),Object.defineProperty(Line,"prototype",{writable:!1}),Line}(o.PureComponent);_defineProperty(P,"displayName","Line"),_defineProperty(P,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!_.x.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),_defineProperty(P,"getComposedData",function(e){var t=e.props,n=e.xAxis,o=e.yAxis,i=e.xAxisTicks,a=e.yAxisTicks,c=e.dataKey,u=e.bandSize,l=e.displayedData,f=e.offset,p=t.layout;return _objectSpread({points:l.map(function(e,t){var l=(0,x.F$)(e,c);return"horizontal"===p?{x:(0,x.Hv)({axis:n,ticks:i,bandSize:u,entry:e,index:t}),y:s()(l)?null:o.scale(l),value:l,payload:e}:{x:s()(l)?null:n.scale(l),y:(0,x.Hv)({axis:o,ticks:a,bandSize:u,entry:e,index:t}),value:l,payload:e}}),layout:p},f)})},3023:function(e,t,n){"use strict";n.d(t,{K:function(){return s}});var o=n(67294),i=n(83231),a=n(92140),c=n(69311),u=n(75471);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _defineProperty(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toPropertyKey(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function XAxisImpl(e){var t=e.xAxisId,n=(0,a.zn)(),s=(0,a.Mw)(),l=(0,a.bH)(t);return null==l?null:o.createElement(c.O,_extends({},l,{className:(0,i.Z)("recharts-".concat(l.axisType," ").concat(l.axisType),l.className),viewBox:{x:0,y:0,width:n,height:s},ticksGenerator:function(e){return(0,u.uY)(e,!0)}}))}var s=function(e){var t,n;function XAxis(){var e,t;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,XAxis),e=XAxis,t=arguments,e=_getPrototypeOf(e),function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,_isNativeReflectConstruct()?Reflect.construct(e,t||[],_getPrototypeOf(this).constructor):e.apply(this,t))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}(XAxis,e),t=[{key:"render",value:function(){return o.createElement(XAxisImpl,this.props)}}],_defineProperties(XAxis.prototype,t),n&&_defineProperties(XAxis,n),Object.defineProperty(XAxis,"prototype",{writable:!1}),XAxis}(o.Component);_defineProperty(s,"displayName","XAxis"),_defineProperty(s,"defaultProps",{allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0})},75358:function(e,t,n){"use strict";n.d(t,{B:function(){return s}});var o=n(67294),i=n(83231),a=n(92140),c=n(69311),u=n(75471);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _defineProperty(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toPropertyKey(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var YAxisImpl=function(e){var t=e.yAxisId,n=(0,a.zn)(),s=(0,a.Mw)(),l=(0,a.Ud)(t);return null==l?null:o.createElement(c.O,_extends({},l,{className:(0,i.Z)("recharts-".concat(l.axisType," ").concat(l.axisType),l.className),viewBox:{x:0,y:0,width:n,height:s},ticksGenerator:function(e){return(0,u.uY)(e,!0)}}))},s=function(e){var t,n;function YAxis(){var e,t;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,YAxis),e=YAxis,t=arguments,e=_getPrototypeOf(e),function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,_isNativeReflectConstruct()?Reflect.construct(e,t||[],_getPrototypeOf(this).constructor):e.apply(this,t))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}(YAxis,e),t=[{key:"render",value:function(){return o.createElement(YAxisImpl,this.props)}}],_defineProperties(YAxis.prototype,t),n&&_defineProperties(YAxis,n),Object.defineProperty(YAxis,"prototype",{writable:!1}),YAxis}(o.Component);_defineProperty(s,"displayName","YAxis"),_defineProperty(s,"defaultProps",{allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1})},2952:function(e,t,n){"use strict";n.d(t,{f:function(){return getTicks}});var o=n(23560),i=n.n(o),a=n(69055),c=n(41209),u=n(47523),s=n(97187);function getEveryNthWithCondition(e,t,n){if(t<1)return[];if(1===t&&void 0===n)return e;for(var o=[],i=0;i<e.length;i+=t){if(void 0!==n&&!0!==n(e[i]))return;o.push(e[i])}return o}function isVisible(e,t,n,o,i){if(e*t<e*o||e*t>e*i)return!1;var a=n();return e*(t-e*a/2-o)>=0&&e*(t+e*a/2-i)<=0}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?ownKeys(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function getTicks(e,t,n){var o,l,f,p,d,y=e.tick,h=e.ticks,g=e.viewBox,v=e.minTickGap,m=e.orientation,b=e.interval,_=e.tickFormatter,x=e.unit,O=e.angle;if(!h||!h.length||!y)return[];if((0,a.hj)(b)||u.x.isSsr)return getEveryNthWithCondition(h,("number"==typeof b&&(0,a.hj)(b)?b:0)+1);var S="top"===m||"bottom"===m?"width":"height",P=x&&"width"===S?(0,c.xE)(x,{fontSize:t,letterSpacing:n}):{width:0,height:0},getTickSize=function(e,o){var a,u,l=i()(_)?_(e.value,o):e.value;return"width"===S?(u={width:(a=(0,c.xE)(l,{fontSize:t,letterSpacing:n})).width+P.width,height:a.height+P.height},(0,s.xE)(u,O)):(0,c.xE)(l,{fontSize:t,letterSpacing:n})[S]},j=h.length>=2?(0,a.uY)(h[1].coordinate-h[0].coordinate):1,w=(o="width"===S,l=g.x,f=g.y,p=g.width,d=g.height,1===j?{start:o?l:f,end:o?l+p:f+d}:{start:o?l+p:f+d,end:o?l:f});return"equidistantPreserveStart"===b?function(e,t,n,o,i){for(var a,c=(o||[]).slice(),u=t.start,s=t.end,l=0,f=1,p=u;f<=c.length;)if(a=function(){var t,a=null==o?void 0:o[l];if(void 0===a)return{v:getEveryNthWithCondition(o,f)};var c=l,getSize=function(){return void 0===t&&(t=n(a,c)),t},d=a.coordinate,y=0===l||isVisible(e,d,getSize,p,s);y||(l=0,p=u,f+=1),y&&(p=d+e*(getSize()/2+i),l+=f)}())return a.v;return[]}(j,w,getTickSize,h,v):("preserveStart"===b||"preserveStartEnd"===b?function(e,t,n,o,i,a){var c=(o||[]).slice(),u=c.length,s=t.start,l=t.end;if(a){var f=o[u-1],p=n(f,u-1),d=e*(f.coordinate+e*p/2-l);c[u-1]=f=_objectSpread(_objectSpread({},f),{},{tickCoord:d>0?f.coordinate-d*e:f.coordinate}),isVisible(e,f.tickCoord,function(){return p},s,l)&&(l=f.tickCoord-e*(p/2+i),c[u-1]=_objectSpread(_objectSpread({},f),{},{isShow:!0}))}for(var y=a?u-1:u,_loop2=function(t){var o,a=c[t],getSize=function(){return void 0===o&&(o=n(a,t)),o};if(0===t){var u=e*(a.coordinate-e*getSize()/2-s);c[t]=a=_objectSpread(_objectSpread({},a),{},{tickCoord:u<0?a.coordinate-u*e:a.coordinate})}else c[t]=a=_objectSpread(_objectSpread({},a),{},{tickCoord:a.coordinate});isVisible(e,a.tickCoord,getSize,s,l)&&(s=a.tickCoord+e*(getSize()/2+i),c[t]=_objectSpread(_objectSpread({},a),{},{isShow:!0}))},h=0;h<y;h++)_loop2(h);return c}(j,w,getTickSize,h,v,"preserveStartEnd"===b):function(e,t,n,o,i){for(var a=(o||[]).slice(),c=a.length,u=t.start,s=t.end,_loop=function(t){var o,l=a[t],getSize=function(){return void 0===o&&(o=n(l,t)),o};if(t===c-1){var f=e*(l.coordinate+e*getSize()/2-s);a[t]=l=_objectSpread(_objectSpread({},l),{},{tickCoord:f>0?l.coordinate-f*e:l.coordinate})}else a[t]=l=_objectSpread(_objectSpread({},l),{},{tickCoord:l.coordinate});isVisible(e,l.tickCoord,getSize,u,s)&&(s=l.tickCoord-e*(getSize()/2+i),a[t]=_objectSpread(_objectSpread({},l),{},{isShow:!0}))},l=c-1;l>=0;l--)_loop(l);return a}(j,w,getTickSize,h,v)).filter(function(e){return e.isShow})}},46888:function(e,t,n){"use strict";n.d(t,{T:function(){return s}});var o=n(57965),i=n(86108),a=n(3023),c=n(75358),u=n(97187),s=(0,o.z)({chartName:"AreaChart",GraphicalChild:i.u,axisComponents:[{axisType:"xAxis",AxisComp:a.K},{axisType:"yAxis",AxisComp:c.B}],formatAxisMap:u.t9})},94831:function(e,t,n){"use strict";n.d(t,{v:function(){return s}});var o=n(57965),i=n(18001),a=n(3023),c=n(75358),u=n(97187),s=(0,o.z)({chartName:"BarChart",GraphicalChild:i.$,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:a.K},{axisType:"yAxis",AxisComp:c.B}],formatAxisMap:u.t9})},61102:function(e,t,n){"use strict";n.d(t,{c:function(){return N}});var o=n(57965),i=n(86108),a=n(18001),c=n(56880),u=n(67294),s=n(93842),l=n(14293),f=n.n(l),p=n(18446),d=n.n(p),y=n(23560),h=n.n(y),g=n(83231),v=n(48710),m=n(2763),b=n(52017),_=n(47523);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _defineProperty(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toPropertyKey(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}var x=function(e){var t;function ZAxis(){var e,t;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,ZAxis),e=ZAxis,t=arguments,e=_getPrototypeOf(e),function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,_isNativeReflectConstruct()?Reflect.construct(e,t||[],_getPrototypeOf(this).constructor):e.apply(this,t))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}(ZAxis,e),_defineProperties(ZAxis.prototype,[{key:"render",value:function(){return null}}]),t&&_defineProperties(ZAxis,t),Object.defineProperty(ZAxis,"prototype",{writable:!1}),ZAxis}(u.Component);_defineProperty(x,"displayName","ZAxis"),_defineProperty(x,"defaultProps",{zAxisId:0,range:[64,64],scale:"auto",type:"number"});var O=n(66338),S=n(86641),P=n(43815),j=n(69055),w=n(75471),A=n(79896),C=n(21138),k=n(49465),E=["option","isActive"];function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function ScatterSymbol(e){var t=e.option,n=e.isActive,o=function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,E);return"string"==typeof t?u.createElement(k.bn,_extends({option:u.createElement(C.v,_extends({type:t},o)),isActive:n,shapeType:"symbols"},o)):u.createElement(k.bn,_extends({option:t,isActive:n,shapeType:"symbols"},o))}function Scatter_typeof(e){return(Scatter_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Scatter_extends(){return(Scatter_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?ownKeys(Object(n),!0).forEach(function(t){Scatter_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Scatter_defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Scatter_toPropertyKey(o.key),o)}}function Scatter_isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Scatter_isNativeReflectConstruct=function(){return!!e})()}function Scatter_getPrototypeOf(e){return(Scatter_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Scatter_setPrototypeOf(e,t){return(Scatter_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Scatter_defineProperty(e,t,n){return(t=Scatter_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Scatter_toPropertyKey(e){var t=function(e,t){if("object"!=Scatter_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Scatter_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Scatter_typeof(t)?t:t+""}var T=function(e){var t,n;function Scatter(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,Scatter);for(var e,t,n,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return t=Scatter,n=[].concat(i),t=Scatter_getPrototypeOf(t),Scatter_defineProperty(e=function(e,t){if(t&&("object"===Scatter_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,Scatter_isNativeReflectConstruct()?Reflect.construct(t,n||[],Scatter_getPrototypeOf(this).constructor):t.apply(this,n)),"state",{isAnimationFinished:!1}),Scatter_defineProperty(e,"handleAnimationEnd",function(){e.setState({isAnimationFinished:!0})}),Scatter_defineProperty(e,"handleAnimationStart",function(){e.setState({isAnimationFinished:!1})}),Scatter_defineProperty(e,"id",(0,j.EL)("recharts-scatter-")),e}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Scatter_setPrototypeOf(e,t)}(Scatter,e),t=[{key:"renderSymbolsStatically",value:function(e){var t=this,n=this.props,o=n.shape,i=n.activeShape,a=n.activeIndex,c=(0,b.L6)(this.props,!1);return e.map(function(e,n){var s=a===n,l=_objectSpread(_objectSpread({},c),e);return u.createElement(v.m,Scatter_extends({className:"recharts-scatter-symbol",key:"symbol-".concat(null==e?void 0:e.cx,"-").concat(null==e?void 0:e.cy,"-").concat(null==e?void 0:e.size,"-").concat(n)},(0,A.bw)(t.props,e,n),{role:"img"}),u.createElement(ScatterSymbol,Scatter_extends({option:s?i:o,isActive:s,key:"symbol-".concat(n)},l)))})}},{key:"renderSymbolsWithAnimation",value:function(){var e=this,t=this.props,n=t.points,o=t.isAnimationActive,i=t.animationBegin,a=t.animationDuration,c=t.animationEasing,l=t.animationId,f=this.state.prevPoints;return u.createElement(s.ZP,{begin:i,duration:a,isActive:o,easing:c,from:{t:0},to:{t:1},key:"pie-".concat(l),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(t){var o=t.t,i=n.map(function(e,t){var n=f&&f[t];if(n){var i=(0,j.k4)(n.cx,e.cx),a=(0,j.k4)(n.cy,e.cy),c=(0,j.k4)(n.size,e.size);return _objectSpread(_objectSpread({},e),{},{cx:i(o),cy:a(o),size:c(o)})}var u=(0,j.k4)(0,e.size);return _objectSpread(_objectSpread({},e),{},{size:u(o)})});
1return u.createElement(v.m,null,e.renderSymbolsStatically(i))})}},{key:"renderSymbols",value:function(){var e=this.props,t=e.points,n=e.isAnimationActive,o=this.state.prevPoints;return n&&t&&t.length&&(!o||!d()(o,t))?this.renderSymbolsWithAnimation():this.renderSymbolsStatically(t)}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var e=this.props,t=e.points,n=e.xAxis,o=e.yAxis,i=e.children,a=(0,b.NN)(i,S.W);return a?a.map(function(e,i){var a=e.props,c=a.direction,s=a.dataKey;return u.cloneElement(e,{key:"".concat(c,"-").concat(s,"-").concat(t[i]),data:t,xAxis:n,yAxis:o,layout:"x"===c?"vertical":"horizontal",dataPointFormatter:function(e,t){return{x:e.cx,y:e.cy,value:"x"===c?+e.node.x:+e.node.y,errorVal:(0,w.F$)(e,t)}}})}):null}},{key:"renderLine",value:function(){var e,t,n=this.props,o=n.points,i=n.line,a=n.lineType,c=n.lineJointType,s=(0,b.L6)(this.props,!1),l=(0,b.L6)(i,!1);if("joint"===a)e=o.map(function(e){return{x:e.cx,y:e.cy}});else if("fitting"===a){var f=(0,j.wr)(o),p=f.xmin,d=f.xmax,y=f.a,g=f.b,linearExp=function(e){return y*e+g};e=[{x:p,y:linearExp(p)},{x:d,y:linearExp(d)}]}var m=_objectSpread(_objectSpread(_objectSpread({},s),{},{fill:"none",stroke:s&&s.fill},l),{},{points:e});return t=u.isValidElement(i)?u.cloneElement(i,m):h()(i)?i(m):u.createElement(O.H,Scatter_extends({},m,{type:c})),u.createElement(v.m,{className:"recharts-scatter-line",key:"recharts-scatter-line"},t)}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.points,o=e.line,i=e.className,a=e.xAxis,c=e.yAxis,s=e.left,l=e.top,p=e.width,d=e.height,y=e.id,h=e.isAnimationActive;if(t||!n||!n.length)return null;var b=this.state.isAnimationFinished,_=(0,g.Z)("recharts-scatter",i),x=a&&a.allowDataOverflow,O=c&&c.allowDataOverflow,S=x||O,P=f()(y)?this.id:y;return u.createElement(v.m,{className:_,clipPath:S?"url(#clipPath-".concat(P,")"):null},x||O?u.createElement("defs",null,u.createElement("clipPath",{id:"clipPath-".concat(P)},u.createElement("rect",{x:x?s:s-p/2,y:O?l:l-d/2,width:x?p:2*p,height:O?d:2*d}))):null,o&&this.renderLine(),this.renderErrorBar(),u.createElement(v.m,{key:"recharts-scatter-symbols"},this.renderSymbols()),(!h||b)&&m.e.renderCallByParent(this.props,n))}}],n=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,prevPoints:t.curPoints}:e.points!==t.curPoints?{curPoints:e.points}:null}}],t&&Scatter_defineProperties(Scatter.prototype,t),n&&Scatter_defineProperties(Scatter,n),Object.defineProperty(Scatter,"prototype",{writable:!1}),Scatter}(u.PureComponent);Scatter_defineProperty(T,"displayName","Scatter"),Scatter_defineProperty(T,"defaultProps",{xAxisId:0,yAxisId:0,zAxisId:0,legendType:"circle",lineType:"joint",lineJointType:"linear",data:[],shape:"circle",hide:!1,isAnimationActive:!_.x.isSsr,animationBegin:0,animationDuration:400,animationEasing:"linear"}),Scatter_defineProperty(T,"getComposedData",function(e){var t=e.xAxis,n=e.yAxis,o=e.zAxis,i=e.item,a=e.displayedData,c=e.xAxisTicks,u=e.yAxisTicks,s=e.offset,l=i.props.tooltipType,p=(0,b.NN)(i.props.children,P.b),d=f()(t.dataKey)?i.props.dataKey:t.dataKey,y=f()(n.dataKey)?i.props.dataKey:n.dataKey,h=o&&o.dataKey,g=o?o.range:x.defaultProps.range,v=g&&g[0],m=t.scale.bandwidth?t.scale.bandwidth():0,_=n.scale.bandwidth?n.scale.bandwidth():0,O=a.map(function(e,a){var s=(0,w.F$)(e,d),g=(0,w.F$)(e,y),b=!f()(h)&&(0,w.F$)(e,h)||"-",x=[{name:f()(t.dataKey)?i.props.name:t.name||t.dataKey,unit:t.unit||"",value:s,payload:e,dataKey:d,type:l},{name:f()(n.dataKey)?i.props.name:n.name||n.dataKey,unit:n.unit||"",value:g,payload:e,dataKey:y,type:l}];"-"!==b&&x.push({name:o.name||o.dataKey,unit:o.unit||"",value:b,payload:e,dataKey:h,type:l});var O=(0,w.Hv)({axis:t,ticks:c,bandSize:m,entry:e,index:a,dataKey:d}),S=(0,w.Hv)({axis:n,ticks:u,bandSize:_,entry:e,index:a,dataKey:y}),P="-"!==b?o.scale(b):v,j=Math.sqrt(Math.max(P,0)/Math.PI);return _objectSpread(_objectSpread({},e),{},{cx:O,cy:S,x:O-j,y:S-j,xAxis:t,yAxis:n,zAxis:o,width:2*j,height:2*j,size:P,node:{x:s,y:g,z:b},tooltipPayload:x,tooltipPosition:{x:O,y:S},payload:e},p&&p[a]&&p[a].props)});return _objectSpread({points:O},s)});var M=n(3023),D=n(75358),I=n(97187),N=(0,o.z)({chartName:"ComposedCh
1art",GraphicalChild:[c.x,i.u,a.$,T],axisComponents:[{axisType:"xAxis",AxisComp:M.K},{axisType:"yAxis",AxisComp:D.B},{axisType:"zAxis",AxisComp:x}],formatAxisMap:I.t9})},98687:function(e,t,n){"use strict";n.d(t,{w:function(){return s}});var o=n(57965),i=n(56880),a=n(3023),c=n(75358),u=n(97187),s=(0,o.z)({chartName:"LineChart",GraphicalChild:i.x,axisComponents:[{axisType:"xAxis",AxisComp:a.K},{axisType:"yAxis",AxisComp:c.B}],formatAxisMap:u.t9})},73604:function(e,t,n){"use strict";n.d(t,{u:function(){return A}});var o=n(57965),i=n(67294),a=n(23560),c=n.n(a),u=n(83231),s=n(48710),l=n(93061),f=n(52017),p=["points","className","baseLinePoints","connectNulls"];function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function _toConsumableArray(e){return function(e){if(Array.isArray(e))return _arrayLikeToArray(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}var isValidatePoint=function(e){return e&&e.x===+e.x&&e.y===+e.y},getParsedPoints=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[[]];return e.forEach(function(e){isValidatePoint(e)?t[t.length-1].push(e):t[t.length-1].length>0&&t.push([])}),isValidatePoint(e[0])&&t[t.length-1].push(e[0]),t[t.length-1].length<=0&&(t=t.slice(0,-1)),t}
1,getSinglePolygonPath=function(e,t){var n=getParsedPoints(e);t&&(n=[n.reduce(function(e,t){return[].concat(_toConsumableArray(e),_toConsumableArray(t))},[])]);var o=n.map(function(e){return e.reduce(function(e,t,n){return"".concat(e).concat(0===n?"M":"L").concat(t.x,",").concat(t.y)},"")}).join("");return 1===n.length?"".concat(o,"Z"):o},getRanglePath=function(e,t,n){var o=getSinglePolygonPath(e,n);return"".concat("Z"===o.slice(-1)?o.slice(0,-1):o,"L").concat(getSinglePolygonPath(t.reverse(),n).slice(1))},Polygon=function(e){var t=e.points,n=e.className,o=e.baseLinePoints,a=e.connectNulls,c=function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,p);if(!t||!t.length)return null;var s=(0,u.Z)("recharts-polygon",n);if(o&&o.length){var l=c.stroke&&"none"!==c.stroke,d=getRanglePath(t,o,a);return i.createElement("g",{className:s},i.createElement("path",_extends({},(0,f.L6)(c,!0),{fill:"Z"===d.slice(-1)?c.fill:"none",stroke:"none",d:d})),l?i.createElement("path",_extends({},(0,f.L6)(c,!0),{fill:"none",d:getSinglePolygonPath(t,a)})):null,l?i.createElement("path",_extends({},(0,f.L6)(c,!0),{fill:"none",d:getSinglePolygonPath(o,a)})):null)}var y=getSinglePolygonPath(t,a);return i.createElement("path",_extends({},(0,f.L6)(c,!0),{fill:"Z"===y.slice(-1)?c.fill:"none",className:s,d:y}))},d=n(84642),y=n(79896),h=n(40048);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function PolarAngleAxis_extends(){return(PolarAngleAxis_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _defineProperty(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toPropertyKey(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}var g=Math.PI/180,v=function(e){var t,n;function PolarAngleAxis(){var e,t;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,PolarAngleAxis),e=PolarAngleAxis,t=arguments,e=_getPrototypeOf(e),function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,_isNativeReflectConstruct()?Reflect.construct(e,t||[],_getPrototypeOf(this).constructor):e.apply(this,t))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}
1(PolarAngleAxis,e),t=[{key:"getTickLineCoord",value:function(e){var t=this.props,n=t.cx,o=t.cy,i=t.radius,a=t.orientation,c=t.tickSize||8,u=(0,h.op)(n,o,i,e.coordinate),s=(0,h.op)(n,o,i+("inner"===a?-1:1)*c,e.coordinate);return{x1:u.x,y1:u.y,x2:s.x,y2:s.y}}},{key:"getTickTextAnchor",value:function(e){var t=this.props.orientation,n=Math.cos(-e.coordinate*g);return n>1e-5?"outer"===t?"start":"end":n<-.00001?"outer"===t?"end":"start":"middle"}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.cx,n=e.cy,o=e.radius,a=e.axisLine,c=e.axisLineType,u=_objectSpread(_objectSpread({},(0,f.L6)(this.props,!1)),{},{fill:"none"},(0,f.L6)(a,!1));if("circle"===c)return i.createElement(l.o,PolarAngleAxis_extends({className:"recharts-polar-angle-axis-line"},u,{cx:t,cy:n,r:o}));var s=this.props.ticks.map(function(e){return(0,h.op)(t,n,o,e.coordinate)});return i.createElement(Polygon,PolarAngleAxis_extends({className:"recharts-polar-angle-axis-line"},u,{points:s}))}},{key:"renderTicks",value:function(){var e=this,t=this.props,n=t.ticks,o=t.tick,a=t.tickLine,c=t.tickFormatter,l=t.stroke,p=(0,f.L6)(this.props,!1),d=(0,f.L6)(o,!1),g=_objectSpread(_objectSpread({},p),{},{fill:"none"},(0,f.L6)(a,!1)),v=n.map(function(t,n){var f=e.getTickLineCoord(t),v=_objectSpread(_objectSpread(_objectSpread({textAnchor:e.getTickTextAnchor(t)},p),{},{stroke:"none",fill:l},d),{},{index:n,payload:t,x:f.x2,y:f.y2});return i.createElement(s.m,PolarAngleAxis_extends({className:(0,u.Z)("recharts-polar-angle-axis-tick",(0,h.$S)(o)),key:"tick-".concat(t.coordinate)},(0,y.bw)(e.props,t,n)),a&&i.createElement("line",PolarAngleAxis_extends({className:"recharts-polar-angle-axis-tick-line"},g,f)),o&&PolarAngleAxis.renderTickItem(o,v,c?c(t.value,n):t.value))});return i.createElement(s.m,{className:"recharts-polar-angle-axis-ticks"},v)}},{key:"render",value:function(){var e=this.props,t=e.ticks,n=e.radius,o=e.axisLine;return!(n<=0)&&t&&t.length?i.createElement(s.m,{className:(0,u.Z)("recharts-polar-angle-axis",this.props.className)},o&&this.renderAxisLine(),this.renderTicks()):null}}],n=[{key:"renderTickItem",value:function(e,t,n){return i.isValidElement(e)?i.cloneElement(e,t):c()(e)?e(t):i.createElement(d.x,PolarAngleAxis_extends({},t,{className:"recharts-polar-angle-axis-tick-value"}),n)}}],t&&_defineProperties(PolarAngleAxis.prototype,t),n&&_defineProperties(PolarAngleAxis,n),Object.defineProperty(PolarAngleAxis,"prototype",{writable:!1}),PolarAngleAxis}(i.PureComponent);_defineProperty(v,"displayName","PolarAngleAxis"),_defineProperty(v,"axisType","angleAxis"),_defineProperty(v,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var m=n(84753),b=n.n(m),_=n(22762),x=n.n(_),O=n(25048),S=["cx","cy","angle","ticks","axisLine"],P=["ticks","tick","angle","tickFormatter","stroke"];function PolarRadiusAxis_typeof(e){return(PolarRadiusAxis_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function PolarRadiusAxis_extends(){return(PolarRadiusAxis_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function PolarRadiusAxis_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function PolarRadiusAxis_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?PolarRadiusAxis_ownKeys(Object(n),!0).forEach(function(t){PolarRadiusAxis_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PolarRadiusAxis_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function PolarRadiusAxis_objectWithoutProperties(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function PolarRadiusAxis_defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,PolarRadiusAxis_toPropertyKey(o.key),o)}}function PolarRadiusAxis_isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PolarRadiusAxis_isNativeReflectConstruct=function(){return!!e})()}function PolarRadiusAxis_getPrototypeOf(e){return(PolarRadiusAxis_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
1function PolarRadiusAxis_setPrototypeOf(e,t){return(PolarRadiusAxis_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function PolarRadiusAxis_defineProperty(e,t,n){return(t=PolarRadiusAxis_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function PolarRadiusAxis_toPropertyKey(e){var t=function(e,t){if("object"!=PolarRadiusAxis_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=PolarRadiusAxis_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==PolarRadiusAxis_typeof(t)?t:t+""}var j=function(e){var t,n;function PolarRadiusAxis(){var e,t;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,PolarRadiusAxis),e=PolarRadiusAxis,t=arguments,e=PolarRadiusAxis_getPrototypeOf(e),function(e,t){if(t&&("object"===PolarRadiusAxis_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,PolarRadiusAxis_isNativeReflectConstruct()?Reflect.construct(e,t||[],PolarRadiusAxis_getPrototypeOf(this).constructor):e.apply(this,t))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&PolarRadiusAxis_setPrototypeOf(e,t)}(PolarRadiusAxis,e),t=[{key:"getTickValueCoord",value:function(e){var t=e.coordinate,n=this.props,o=n.angle,i=n.cx,a=n.cy;return(0,h.op)(i,a,t,o)}},{key:"getTickTextAnchor",value:function(){var e;switch(this.props.orientation){case"left":e="end";break;case"right":e="start";break;default:e="middle"}return e}},{key:"getViewBox",value:function(){var e=this.props,t=e.cx,n=e.cy,o=e.angle,i=e.ticks,a=b()(i,function(e){return e.coordinate||0});return{cx:t,cy:n,startAngle:o,endAngle:o,innerRadius:x()(i,function(e){return e.coordinate||0}).coordinate||0,outerRadius:a.coordinate||0}}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.cx,n=e.cy,o=e.angle,a=e.ticks,c=e.axisLine,u=PolarRadiusAxis_objectWithoutProperties(e,S),s=a.reduce(function(e,t){return[Math.min(e[0],t.coordinate),Math.max(e[1],t.coordinate)]},[1/0,-1/0]),l=(0,h.op)(t,n,s[0],o),p=(0,h.op)(t,n,s[1],o),d=PolarRadiusAxis_objectSpread(PolarRadiusAxis_objectSpread(PolarRadiusAxis_objectSpread({},(0,f.L6)(u,!1)),{},{fill:"none"},(0,f.L6)(c,!1)),{},{x1:l.x,y1:l.y,x2:p.x,y2:p.y});return i.createElement("line",PolarRadiusAxis_extends({className:"recharts-polar-radius-axis-line"},d))}},{key:"renderTicks",value:function(){var e=this,t=this.props,n=t.ticks,o=t.tick,a=t.angle,c=t.tickFormatter,l=t.stroke,p=PolarRadiusAxis_objectWithoutProperties(t,P),d=this.getTickTextAnchor(),g=(0,f.L6)(p,!1),v=(0,f.L6)(o,!1),m=n.map(function(t,n){var f=e.getTickValueCoord(t),p=PolarRadiusAxis_objectSpread(PolarRadiusAxis_objectSpread(PolarRadiusAxis_objectSpread(PolarRadiusAxis_objectSpread({textAnchor:d,transform:"rotate(".concat(90-a,", ").concat(f.x,", ").concat(f.y,")")},g),{},{stroke:"none",fill:l},v),{},{index:n},f),{},{payload:t});return i.createElement(s.m,PolarRadiusAxis_extends({className:(0,u.Z)("recharts-polar-radius-axis-tick",(0,h.$S)(o)),key:"tick-".concat(t.coordinate)},(0,y.bw)(e.props,t,n)),PolarRadiusAxis.renderTickItem(o,p,c?c(t.value,n):t.value))});return i.createElement(s.m,{className:"recharts-polar-radius-axis-ticks"},m)}},{key:"render",value:function(){var e=this.props,t=e.ticks,n=e.axisLine,o=e.tick;return t&&t.length?i.createElement(s.m,{className:(0,u.Z)("recharts-polar-radius-axis",this.props.className)},n&&this.renderAxisLine(),o&&this.renderTicks(),O._.renderCallByParent(this.props,this.getViewBox())):null}}],n=[{key:"renderTickItem",value:function(e,t,n){return i.isValidElement(e)?i.cloneElement(e,t):c()(e)?e(t):i.createElement(d.x,PolarRadiusAxis_extends({},t,{className:"recharts-polar-radius-axis-tick-value"}),n)}}],t&&PolarRadiusAxis_defineProperties(PolarRadiusAxis.prototype,t),n&&PolarRadiusAxis_defineProperties(PolarRadiusAxis,n),Object.defineProperty(PolarRadiusAxis,"prototype",{writable:!1}),PolarRadiusAxis}(i.PureComponent);PolarRadiusAxis_defineProperty(j,"displayName","PolarRadiusAxis"),PolarRadiusAxis_defineProperty(j,"axisType","radiusAxis"),PolarRadiusAxis_defineProperty(j,"defaultProps",{type:"number",radiu
1sAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});var w=n(46208),A=(0,o.z)({chartName:"PieChart",GraphicalChild:w.b,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:v},{axisType:"radiusAxis",AxisComp:j}],formatAxisMap:h.t9,defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}})},57965:function(e,t,n){"use strict";n.d(t,{z:function(){return generateCategoricalChart}});var o,i,a,c=n(67294),u=n(14293),s=n.n(u),l=n(23560),f=n.n(l),p=n(96026),d=n.n(p),y=n(27361),h=n.n(y),g=n(89734),v=n.n(g),m=n(23493),b=n.n(m),_=n(83231),x=n(38776),O=n(20514),S=n(48710),P=n(26050),j=n(33558),w=n(93061),A=n(13481),C=n(52017),k=n(175),E=n(84642),T=n(75471),M=n(69055);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _defineProperty(e,t,n){var o;return(o=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==_typeof(o)?o:o+"")in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=["Webkit","Moz","O","ms"],generatePrefixStyle=function(e,t){if(!e)return null;var n=e.replace(/(\w)/,function(e){return e.toUpperCase()}),o=D.reduce(function(e,o){return _objectSpread(_objectSpread({},e),{},_defineProperty({},o+n,t))},{});return o[e]=t,o};function Brush_typeof(e){return(Brush_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function Brush_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function Brush_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Brush_ownKeys(Object(n),!0).forEach(function(t){Brush_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Brush_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Brush_toPropertyKey(o.key),o)}}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Brush_defineProperty(e,t,n){return(t=Brush_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Brush_toPropertyKey(e){var t=function(e,t){if("object"!=Brush_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Brush_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Brush_typeof(t)?t:t+""}var createScale=function(e){var t=e.data,n=e.startIndex,o=e.endIndex,i=e.x,a=e.width,c=e.travellerWidth;if(!t||!t.length)return{};var u=t.length,s=(0,k.x)().domain(d()(0,u)).range([i,i+a-c]),l=s.domain().map(function(e){return s(e)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:s(n),endX:s(o),scale:s,scaleValues:l}},isTouch=function(e){return e.changedTouches&&!!e.changedTouches.length},I=function(e){var t,n;function Brush(e){var t,n,o;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,Brush),n=Brush,o=[e],n=_getPrototypeOf(n),Brush_defineProperty(t=function(e,t){if(t&&("object"===Brush_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,_isNativeReflectConstruct()?Reflect.construct(n,o||[],_getPrototypeOf(this).constructor):n.apply(this,o)),"handleDrag",function(e){t.leaveTimer&&(clearTimeout(t.leaveTimer),t.leaveTimer=null),t.state.isTravellerMoving?t.handleTravellerMove(e):t.state.isSlideMoving&&t.handleSlideDrag(e)}),Brush_defineProperty(t,"handleTouchMove",function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleDrag(e.changedTouches[0])}),Brush_defineProperty(t,"handleDragEnd",function(){t.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var e=t.props,n=e.endIndex,o=e.onDragEnd,i=e.startIndex;null==o||o({endIndex:n,startIndex:i})}),t.detachDragEndListener()}),Brush_defineProperty(t,"handleLeaveWrapper",function(){(t.state.isTravellerMoving||t.state.isSlideMoving)&&(t.leaveTimer=window.setTimeout(t.handleDragEnd,t.props.leaveTimeOut))}),Brush_defineProperty(t,"handleEnterSlideOrTraveller",function(){t.setState({isTextActive:!0})}),Brush_defineProperty(t,"handleLeaveSlideOrTraveller",function(){t.setState({isTextActive:!1})}),Brush_defineProperty(t,"handleSlideDragStart",function(e){var n=isTouch(e)?e.changedTouches[0]:e;t.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:n.pageX}),t.attachDragEndListener()}),t.travellerDragStartHandlers={startX:t.handleTravellerDragStart.bind(t,"startX"),endX:t.handleTravellerDragStart.bind(t,"endX")},t.state={},t}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}(Brush,e),t=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var t=e.startX,n=e.endX,o=this.state.scaleValues,i=this.props,a=i.gap,c=i.data.length-1,u=Brush.getIndexInRange(o,Math.min(t,n)),s=Brush.getIndexInRange(o,Math.max(t,n));return{startIndex:u-u%a,endIndex:s===c?c:s-s%a}}},{key:"getTextOfTick",value:function(e){var t=this.props,n=t.data,o=t.tickFormatter,i=t.dataKey,a=(0,T.F$)(n[e],i,e);return f()(o)?o(a,e):a}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(e){var t=this.state,n=t.slideMoveStartX,o=t.startX,i=t.endX,a=this.props,c=a.x,u=a.width,s=a.travellerWidth,l=a.startIndex,f=a.endIndex,p=a.onChange,d=e.pageX-n;d>0?d=Math.min(d,c+u-s-i,c+u-s-o):d<0&&(d=Math.max(d,c-o,c-i));var y=this.getIndex({startX:o+d,endX:i+d});(y.startIndex!==l||y.endIndex!==f)&&p&&p(y),this.setState({startX:o+d,endX:i+d,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var n=isTouch(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:n.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t=this.state,n=t.brushMoveStartX,o=t.movingTravellerId,i=t.endX,a=t.startX,c=this.state[o],u=this.props,s=u.x,l=u.width,f=u.travellerWidth,p=u.onCh
1ange,d=u.gap,y=u.data,h={startX:this.state.startX,endX:this.state.endX},g=e.pageX-n;g>0?g=Math.min(g,s+l-f-c):g<0&&(g=Math.max(g,s-c)),h[o]=c+g;var v=this.getIndex(h),m=v.startIndex,b=v.endIndex,isFullGap=function(){var e=y.length-1;return"startX"===o&&(i>a?m%d==0:b%d==0)||i<a&&b===e||"endX"===o&&(i>a?b%d==0:m%d==0)||i>a&&b===e};this.setState(Brush_defineProperty(Brush_defineProperty({},o,c+g),"brushMoveStartX",e.pageX),function(){p&&isFullGap()&&p(v)})}},{key:"handleTravellerMoveKeyboard",value:function(e,t){var n=this,o=this.state,i=o.scaleValues,a=o.startX,c=o.endX,u=this.state[t],s=i.indexOf(u);if(-1!==s){var l=s+e;if(-1!==l&&!(l>=i.length)){var f=i[l];"startX"===t&&f>=c||"endX"===t&&f<=a||this.setState(Brush_defineProperty({},t,f),function(){n.props.onChange(n.getIndex({startX:n.state.startX,endX:n.state.endX}))})}}}},{key:"renderBackground",value:function(){var e=this.props,t=e.x,n=e.y,o=e.width,i=e.height,a=e.fill,u=e.stroke;return c.createElement("rect",{stroke:u,fill:a,x:t,y:n,width:o,height:i})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,n=e.y,o=e.width,i=e.height,a=e.data,u=e.children,s=e.padding,l=c.Children.only(u);return l?c.cloneElement(l,{x:t,y:n,width:o,height:i,margin:s,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(e,t){var n,o,i=this,a=this.props,u=a.y,s=a.travellerWidth,l=a.height,f=a.traveller,p=a.ariaLabel,d=a.data,y=a.startIndex,h=a.endIndex,g=Math.max(e,this.props.x),v=Brush_objectSpread(Brush_objectSpread({},(0,C.L6)(this.props,!1)),{},{x:g,y:u,width:s,height:l}),m=p||"Min value: ".concat(null===(n=d[y])||void 0===n?void 0:n.name,", Max value: ").concat(null===(o=d[h])||void 0===o?void 0:o.name);return c.createElement(S.m,{tabIndex:0,role:"slider","aria-label":m,"aria-valuenow":e,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[t],onTouchStart:this.travellerDragStartHandlers[t],onKeyDown:function(e){["ArrowLeft","ArrowRight"].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),i.handleTravellerMoveKeyboard("ArrowRight"===e.key?1:-1,t))},onFocus:function(){i.setState({isTravellerFocused:!0})},onBlur:function(){i.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},Brush.renderTraveller(f,v))}},{key:"renderSlide",value:function(e,t){var n=this.props,o=n.y,i=n.height,a=n.stroke,u=n.travellerWidth;return c.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:Math.min(e,t)+u,y:o,width:Math.max(Math.abs(t-e)-u,0),height:i})}},{key:"renderText",value:function(){var e=this.props,t=e.startIndex,n=e.endIndex,o=e.y,i=e.height,a=e.travellerWidth,u=e.stroke,s=this.state,l=s.startX,f=s.endX,p={pointerEvents:"none",fill:u};return c.createElement(S.m,{className:"recharts-brush-texts"},c.createElement(E.x,_extends({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,f)-5,y:o+i/2},p),this.getTextOfTick(t)),c.createElement(E.x,_extends({textAnchor:"start",verticalAnchor:"middle",x:Math.max(l,f)+a+5,y:o+i/2},p),this.getTextOfTick(n)))}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.className,o=e.children,i=e.x,a=e.y,u=e.width,s=e.height,l=e.alwaysShowText,f=this.state,p=f.startX,d=f.endX,y=f.isTextActive,h=f.isSlideMoving,g=f.isTravellerMoving,v=f.isTravellerFocused;if(!t||!t.length||!(0,M.hj)(i)||!(0,M.hj)(a)||!(0,M.hj)(u)||!(0,M.hj)(s)||u<=0||s<=0)return null;var m=(0,_.Z)("recharts-brush",n),b=1===c.Children.count(o),x=generatePrefixStyle("userSelect","none");return c.createElement(S.m,{className:m,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:x},this.renderBackground(),b&&this.renderPanorama(),this.renderSlide(p,d),this.renderTravellerLayer(p,"startX"),this.renderTravellerLayer(d,"endX"),(y||h||g||v||l)&&this.renderText())}}],n=[{key:"renderDefaultTraveller",value:function(e){var t=e.x,n=e.y,o=e.width,i=e.he
1ight,a=e.stroke,u=Math.floor(n+i/2)-1;return c.createElement(c.Fragment,null,c.createElement("rect",{x:t,y:n,width:o,height:i,fill:a,stroke:"none"}),c.createElement("line",{x1:t+1,y1:u,x2:t+o-1,y2:u,fill:"none",stroke:"#fff"}),c.createElement("line",{x1:t+1,y1:u+2,x2:t+o-1,y2:u+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,t){return c.isValidElement(e)?c.cloneElement(e,t):f()(e)?e(t):Brush.renderDefaultTraveller(t)}},{key:"getDerivedStateFromProps",value:function(e,t){var n=e.data,o=e.width,i=e.x,a=e.travellerWidth,c=e.updateId,u=e.startIndex,s=e.endIndex;if(n!==t.prevData||c!==t.prevUpdateId)return Brush_objectSpread({prevData:n,prevTravellerWidth:a,prevUpdateId:c,prevX:i,prevWidth:o},n&&n.length?createScale({data:n,width:o,x:i,travellerWidth:a,startIndex:u,endIndex:s}):{scale:null,scaleValues:null});if(t.scale&&(o!==t.prevWidth||i!==t.prevX||a!==t.prevTravellerWidth)){t.scale.range([i,i+o-a]);var l=t.scale.domain().map(function(e){return t.scale(e)});return{prevData:n,prevTravellerWidth:a,prevUpdateId:c,prevX:i,prevWidth:o,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:l}}return null}},{key:"getIndexInRange",value:function(e,t){for(var n=e.length,o=0,i=n-1;i-o>1;){var a=Math.floor((o+i)/2);e[a]>t?i=a:o=a}return t>=e[i]?i:o}}],t&&_defineProperties(Brush.prototype,t),n&&_defineProperties(Brush,n),Object.defineProperty(Brush,"prototype",{writable:!1}),Brush}(c.PureComponent);Brush_defineProperty(I,"displayName","Brush"),Brush_defineProperty(I,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var N=n(41209),L=n(20430),R=n(25048),ifOverflowMatches=function(e,t){var n=e.alwaysShow,o=e.ifOverflow;return n&&(o="extendDomain"),o===t},B=n(97187),z=n(6213);function ReferenceDot_extends(){return(ReferenceDot_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function ReferenceDot_typeof(e){return(ReferenceDot_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ReferenceDot_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function ReferenceDot_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ReferenceDot_ownKeys(Object(n),!0).forEach(function(t){ReferenceDot_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ReferenceDot_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ReferenceDot_defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,ReferenceDot_toPropertyKey(o.key),o)}}function ReferenceDot_isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ReferenceDot_isNativeReflectConstruct=function(){return!!e})()}function ReferenceDot_getPrototypeOf(e){return(ReferenceDot_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ReferenceDot_setPrototypeOf(e,t){return(ReferenceDot_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ReferenceDot_defineProperty(e,t,n){return(t=ReferenceDot_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ReferenceDot_toPropertyKey(e){var t=function(e,t){if("object"!=ReferenceDot_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=ReferenceDot_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ReferenceDot_typeof(t)?t:t+""}var getCoordinate=function(e){var t=e.x,n=e.y,o=e.xAxis,i=e.yAxis,a=(0,B.Ky)({x:o.scale,y:i.scale}),c=a.apply({x:t,y:n},{bandAware:!0});return ifOverflowMatches(e,"discard")&&!a.isInRange(c)?null:c},K=function(e){var t,n;function ReferenceDot(){var e,t;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,ReferenceDot),e=ReferenceDot,t=arguments,e=ReferenceDot_getPrototypeOf(e),function(e,t){if(t&&("object"===ReferenceDot_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,ReferenceDot_isNativeReflectConstruct()?Reflect.construct(e,t||[],ReferenceDot_getPrototypeOf(this).constructor):e.apply(this,t))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ReferenceDot_setPrototypeOf(e,t)}(ReferenceDot,e),t=[{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,o=e.r,i=e.alwaysShow,a=e.clipPathId,u=(0,M.P2)(t),s=(0,M.P2)(n);if((0,z.Z)(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!u||!s)return null;var l=getCoordinate(this.props);if(!l)return null;var f=l.x,p=l.y,d=this.props,y=d.shape,h=d.className,g=ReferenceDot_objectSpread(ReferenceDot_objectSpread({clipPath:ifOverflowMatches(this.props,"hidden")?"url(#".concat(a,")"):void 0},(0,C.L6)(this.props,!0)),{},{cx:f,cy:p});return c.createElement(S.m,{className:(0,_.Z)("recharts-reference-dot",h)},ReferenceDot.renderDot(y,g),R._.renderCallByParent(this.props,{x:f-o,y:p-o,width:2*o,height:2*o}))}}],ReferenceDot_defineProperties(ReferenceDot.prototype,t),n&&ReferenceDot_defineProperties(ReferenceDot,n),Object.defineProperty(ReferenceDot,"prototype",{writable:!1}),ReferenceDot}(c.Component);
1ReferenceDot_defineProperty(K,"displayName","ReferenceDot"),ReferenceDot_defineProperty(K,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),ReferenceDot_defineProperty(K,"renderDot",function(e,t){return c.isValidElement(e)?c.cloneElement(e,t):f()(e)?e(t):c.createElement(w.o,ReferenceDot_extends({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"}))});var U=n(59704),F=n.n(U),W=n(92140);function ReferenceLine_typeof(e){return(ReferenceLine_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ReferenceLine_defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,ReferenceLine_toPropertyKey(o.key),o)}}function ReferenceLine_isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ReferenceLine_isNativeReflectConstruct=function(){return!!e})()}function ReferenceLine_getPrototypeOf(e){return(ReferenceLine_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ReferenceLine_setPrototypeOf(e,t){return(ReferenceLine_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ReferenceLine_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function ReferenceLine_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ReferenceLine_ownKeys(Object(n),!0).forEach(function(t){ReferenceLine_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ReferenceLine_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ReferenceLine_defineProperty(e,t,n){return(t=ReferenceLine_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ReferenceLine_toPropertyKey(e){var t=function(e,t){if("object"!=ReferenceLine_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=ReferenceLine_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ReferenceLine_typeof(t)?t:t+""}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function ReferenceLine_extends(){return(ReferenceLine_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var getEndPoints=function(e,t,n,o,i,a,c,u,s){var l=i.x,f=i.y,p=i.width,d=i.height;if(n){var y=s.y,h=e.y.apply(y,{position:a});if(ifOverflowMatches(s,"discard")&&!e.y.isInRange(h))return null;var g=[{x:l+p,y:h},{x:l,y:h}];return"left"===u?g.reverse():g}if(t){var v=s.x,m=e.x.apply(v,{position:a});if(ifOverflowMatches(s,"discard")&&!e.x.isInRange(m))return null;var b=[{x:m,y:f+d},{x:m,y:f}];return"top"===c?b.reverse():b}if(o){var _=s.segment.map(function(t){return e.apply(t,{position:a})});return ifOverflowMatches(s,"discard")&&F()(_,function(t){return!e.isInRange(t)})?null:_}return null};function ReferenceLineImpl(e){var t,n,o=e.x,i=e.y,a=e.segment,u=e.xAxisId,s=e.yAxisId,l=e.shape,p=e.className,d=e.alwaysShow,y=(0,W.sp)(),h=(0,W.bH)(u),g=(0,W.Ud)(s),v=(0,W.d2)();if(!y||!v)return null;(0,z.Z)(void 0===d,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var m=getEndPoints((0,B.Ky)({x:h.scale,y:g.scale}),(0,M.P2)(o),(0,M.P2)(i),a&&2===a.length,v,e.position,h.orientation,g.orientation,e);if(!m)return null;var b=function(e){if(Array.isArray(e))return e}(m)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,a,c,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;
1!(s=(o=a.call(n)).done)&&(u.push(o.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(l)throw i}}return u}}(m,2)||function(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}}(m,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),x=b[0],O=x.x,P=x.y,j=b[1],w=j.x,A=j.y,k=ReferenceLine_objectSpread(ReferenceLine_objectSpread({clipPath:ifOverflowMatches(e,"hidden")?"url(#".concat(y,")"):void 0},(0,C.L6)(e,!0)),{},{x1:O,y1:P,x2:w,y2:A});return c.createElement(S.m,{className:(0,_.Z)("recharts-reference-line",p)},(t=l,n=k,c.isValidElement(t)?c.cloneElement(t,n):f()(t)?t(n):c.createElement("line",ReferenceLine_extends({},n,{className:"recharts-reference-line-line"}))),R._.renderCallByParent(e,(0,B._b)({x1:O,y1:P,x2:w,y2:A})))}var q=function(e){var t,n;function ReferenceLine(){var e,t;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,ReferenceLine),e=ReferenceLine,t=arguments,e=ReferenceLine_getPrototypeOf(e),function(e,t){if(t&&("object"===ReferenceLine_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,ReferenceLine_isNativeReflectConstruct()?Reflect.construct(e,t||[],ReferenceLine_getPrototypeOf(this).constructor):e.apply(this,t))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ReferenceLine_setPrototypeOf(e,t)}(ReferenceLine,e),t=[{key:"render",value:function(){return c.createElement(ReferenceLineImpl,this.props)}}],ReferenceLine_defineProperties(ReferenceLine.prototype,t),n&&ReferenceLine_defineProperties(ReferenceLine,n),Object.defineProperty(ReferenceLine,"prototype",{writable:!1}),ReferenceLine}(c.Component);function ReferenceArea_extends(){return(ReferenceArea_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function ReferenceArea_typeof(e){return(ReferenceArea_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ReferenceArea_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function ReferenceArea_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ReferenceArea_ownKeys(Object(n),!0).forEach(function(t){ReferenceArea_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ReferenceArea_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ReferenceArea_defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,ReferenceArea_toPropertyKey(o.key),o)}}function ReferenceArea_isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ReferenceArea_isNativeReflectConstruct=function(){return!!e})()}function ReferenceArea_getPrototypeOf(e){return(ReferenceArea_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ReferenceArea_setPrototypeOf(e,t){return(ReferenceArea_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ReferenceArea_defineProperty(e,t,n){return(t=ReferenceArea_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ReferenceArea_toPropertyKey(e){var t=function(e,t){if("object"!=ReferenceArea_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=ReferenceArea_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ReferenceArea_typeof(t)?t:t+""}ReferenceLine_defineProperty(q,"displayName","ReferenceLine"),ReferenceLine_defineProperty(q,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});var getRect=function(e,t,n,o,i){var a=i.x1,c=i.x2,u=i.y1,s=i.y2,l=i.xAxis,f=i.yAxis;if(!l||!f)return null;var p=(0,B.Ky)({x:l.scale,y:f.scale}),d={x:e?p.x.apply(a,{position:"start"}):p.x.rangeMin,y:n?p.y.apply(u,{position:"start"}):p.y.rangeMin},y={x:t?p.x.apply(c,{position:"end"}):p.x.rangeMax,y:o?p.y.apply(s,{position:"end"}):p.y.rangeMax};return!ifOverflowMatches(i,"discard")||p.isInRange(d)&&p.isInRange(y)?(0,B.O1)(d,y):null},$=function(e){var t,n;function ReferenceArea(){var e,t;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,ReferenceArea),e=ReferenceArea,t=arguments,e=ReferenceArea_getPrototypeOf(e),function(e,t){if(t&&("object"===ReferenceArea_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,ReferenceArea_isNativeReflectConstruct()?Reflect.construct(e,t||[],ReferenceArea_getPrototypeOf(this).constructor):e.apply(this,t))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ReferenceArea_setPrototypeOf(e,t)}(ReferenceArea,e),t=[{key:"render",value:function(){var e=this.props,t=e.x1,n=e.x2,o=e.y1,i=e.y2,a=e.className,u=e.alwaysShow,s=e.clipPathId;(0,z.Z)(void 0===u,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=(0,M.P2)(t),f=(0,M.P2)(n),p=(0,M.P2)(o),d=(0,M.P2)(i),y=this.props.shape;if(!l&&!f&&!p&&!d&&!y)return null;var h=getRect(l,f,p,d,this.props);if(!h&&!y)return null;var g=ifOverflowMatches(this.props,"hidden")?"url(#".concat(s,")"):void 0;return c.createElement(S.m,{className:(0,_.Z)("recharts-reference-area",a)},ReferenceArea.renderRect(y,ReferenceArea_objectSpread(ReferenceArea_objectSpread({clipPath:g},(0,C.L6)(this.props,!0)),h)),R._.renderCallByParent(this.props,h))}}],ReferenceArea_defineProperties(ReferenceArea.prototype,t),n&&ReferenceArea_defineProperties(ReferenceArea,n),Object.defineProperty(ReferenceArea,"prototype",{writable:!1}),ReferenceArea}(c.Component);function _toConsumableArray(e){return function(e){if(Array.isArray(e))return DetectReferenceElementsDomain_arrayLikeToArray(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return DetectReferenceElementsDomain_arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return DetectReferenceElementsDomain_arrayLikeToArray(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function DetectReferenceElementsDomain_arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}ReferenceArea_defineProperty($,"displayName","ReferenceArea"),ReferenceArea_defineProperty($,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),ReferenceArea_defineProperty($,"renderRect",function(e,t){return c.isValidElement(e)?c.cloneElement(e,t):f()(e)?e
1(t):c.createElement(A.A,ReferenceArea_extends({},t,{className:"recharts-reference-area-rect"}))});var detectReferenceElementsDomain=function(e,t,n,o,i){var a=(0,C.NN)(e,q),c=(0,C.NN)(e,K),u=[].concat(_toConsumableArray(a),_toConsumableArray(c)),s=(0,C.NN)(e,$),l="".concat(o,"Id"),f=o[0],p=t;if(u.length&&(p=u.reduce(function(e,t){if(t.props[l]===n&&ifOverflowMatches(t.props,"extendDomain")&&(0,M.hj)(t.props[f])){var o=t.props[f];return[Math.min(e[0],o),Math.max(e[1],o)]}return e},p)),s.length){var d="".concat(f,"1"),y="".concat(f,"2");p=s.reduce(function(e,t){if(t.props[l]===n&&ifOverflowMatches(t.props,"extendDomain")&&(0,M.hj)(t.props[d])&&(0,M.hj)(t.props[y])){var o=t.props[d],i=t.props[y];return[Math.min(e[0],o,i),Math.max(e[1],o,i)]}return e},p)}return i&&i.length&&(p=i.reduce(function(e,t){return(0,M.hj)(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e},p)),p},Z=n(40048),H=n(30791),V=n(26729),Y=new(n.n(V)()),X="recharts.syncMouseEvents",G=n(79896);function AccessibilityManager_typeof(e){return(AccessibilityManager_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function AccessibilityManager_defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,AccessibilityManager_toPropertyKey(o.key),o)}}function AccessibilityManager_defineProperty(e,t,n){return(t=AccessibilityManager_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function AccessibilityManager_toPropertyKey(e){var t=function(e,t){if("object"!=AccessibilityManager_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=AccessibilityManager_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==AccessibilityManager_typeof(t)?t:t+""}var Q=(o=function AccessibilityManager(){(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,AccessibilityManager),AccessibilityManager_defineProperty(this,"activeIndex",0),AccessibilityManager_defineProperty(this,"coordinateList",[]),AccessibilityManager_defineProperty(this,"layout","horizontal")},i=[{key:"setDetails",value:function(e){var t,n=e.coordinateList,o=void 0===n?null:n,i=e.container,a=void 0===i?null:i,c=e.layout,u=void 0===c?null:c,s=e.offset,l=void 0===s?null:s,f=e.mouseHandlerCallback,p=void 0===f?null:f;this.coordinateList=null!==(t=null!=o?o:this.coordinateList)&&void 0!==t?t:[],this.container=null!=a?a:this.container,this.layout=null!=u?u:this.layout,this.offset=null!=l?l:this.offset,this.mouseHandlerCallback=null!=p?p:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(e){if(0!==this.coordinateList.length)switch(e.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(e){this.activeIndex=e}},{key:"spoofMouse",value:function(){if("horizontal"===this.layout&&0!==this.coordinateList.length){var e,t,n=this.container.getBoundingClientRect(),o=n.x,i=n.y,a=n.height,c=this.coordinateList[this.activeIndex].coordinate,u=(null===(e=window)||void 0===e?void 0:e.scrollX)||0,s=(null===(t=window)||void 0===t?void 0:t.scrollY)||0,l=i+this.offset.top+a/2+s;this.mouseHandlerCallback({pageX:o+c+u,pageY:l})}}}],AccessibilityManager_defineProperties(o.prototype,i),a&&AccessibilityManager_defineProperties(o,a),Object.defineProperty(o,"prototype",{writable:!1}),o),J=n(49465),ee=n(66338);function Cross_typeof(e){return(Cross_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var et=["x","y","top","left","width","height","className"];function Cross_extends(){return(Cross_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function Cross_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}var Cross=function(e){var t=e.x,n=void 0===t?0:t,o=e.y,i=void 0===o?0:o,a=e.top,u=void 0===a?0:a,s=e.left,l=void 0===s?0:s,f=e.width,p=void 0===f?0:f,d=e.height,y=void 0===d?0:d,h=e.className,g=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Cross_ownKeys(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=Cross_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Cross_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Cross_typeof(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cross_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({x:n,y:i,top:u,left:l,width:p,height:y},function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,et));return(0,M.hj)(n)&&(0,M.hj)(i)&&(0,M.hj)(p)&&(0,M.hj)(y)&&(0,M.hj)(u)&&(0,M.hj)(l)?c.createElement("path",Cross_extends({},(0,C.L6)(g,!0),{className:(0,_.Z)("recharts-cross",h),d:"M".concat(n,",").concat(u,"v").concat(y,"M").concat(l,",").concat(i,"h").concat(p)})):null};function getRadialCursorPoints(e){var t=e.cx,n=e.cy,o=e.radius,i=e.startAngle,a=e.endAngle;return{points:[(0,Z.op)(t,n,o,i),(0,Z.op)(t,n,o,a)],cx:t,cy:n,radius:o,startAngle:i,endAngle:a}}var er=n(45108);function Cursor_typeof(e){return(Cursor_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Cursor_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function Cursor_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cursor_ownKeys(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=Cursor_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Cursor_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Cursor_typeof(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cursor_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Cursor(e){var t,n,o,i,a=e.element,u=e.tooltipEventType,s=e.isActive,l=e.activeCoordinate,f=e.activePayload,p=e.offset,d=e.activeTooltipIndex,y=e.tooltipAxisBandSize,h=e.layout,g=e.chartName,v=null!==(n=a.props.cursor)&&void 0!==n?n:null===(o=a.type.defaultProps)||void 0===o?void 0:o.cursor;if(!a||!v||!s||!l||"ScatterChart"!==g&&"axis"!==u)return null;var m=ee.H;if("ScatterChart"===g)i=l,m=Cross;else if("BarChart"===g)t=y/2,i={stroke:"none",fill:"#ccc",x:"horizontal"===h?l.x-t:p.left+.5,y:"horizontal"===h?p.top+.5:l.y-t,width:"horizontal"===h?y:p.width-1,height:"horizontal"===h?p.height-1:y},m=A.A;else if("radial"===h){var b=getRadialCursorPoints(l),x=b.cx,O=b.cy,S=b.radius;i={cx:x,cy:O,startAngle:b.startAngle,endAngle:b.endAngle,innerRadius:S,outerRadius:S},m=er.L}else i={points:function(e,t,n){var o,i,a,c;if("horizontal"===e)a=o=t.x,i=n.top,c=n.top+n.height;else if("vertical"===e)c=i=t.y,o=n.left,a=n.left+n.width;else if(null!=t.cx&&null!=t.cy){if("centric"!==e)return getRadialCursorPoints(t);var u=t.cx,s=t.cy,l=t.innerRadius,f=t.outerRadius,p=t.angle,d=(0,Z.op)(u,s,l,p),y=(0,Z.op)(u,s,f,p);o=d.x,i=d.y,a=y.x,c=y.y}return[{x:o,y:i},{x:a,y:c}]}(h,l,p)},m=ee.H;var P=Cursor_objectSpread(Cursor_objectSpread(Cursor_objectSpread(Cursor_objectSpread({stroke:"#ccc",pointerEvents:"none"},p),i),(0,C.L6)(v,!1)),{},{payload:f,payloadIndex:d,className:(0,_.Z)("recharts-tooltip-cursor",v.className)});return(0,c.isValidElement)(v)?(0,c.cloneElement)(v,P):(0,c.createElement)(m,P)}var en=["item"],eo=["children","className","width","height","style","compact","title","desc"];function generateCategoricalChart_typeof(e){return(generateCategoricalChart_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function generateCategoricalChart_extends(){return(generateCategoricalChart_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function generateCategoricalChart_slicedToArray(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,a,c,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;
1!(s=(o=a.call(n)).done)&&(u.push(o.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(l)throw i}}return u}}(e,t)||generateCategoricalChart_unsupportedIterableToArray(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function generateCategoricalChart_objectWithoutProperties(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function generateCategoricalChart_defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,generateCategoricalChart_toPropertyKey(o.key),o)}}function generateCategoricalChart_isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(generateCategoricalChart_isNativeReflectConstruct=function(){return!!e})()}function generateCategoricalChart_getPrototypeOf(e){return(generateCategoricalChart_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function generateCategoricalChart_setPrototypeOf(e,t){return(generateCategoricalChart_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function generateCategoricalChart_toConsumableArray(e){return function(e){if(Array.isArray(e))return generateCategoricalChart_arrayLikeToArray(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||generateCategoricalChart_unsupportedIterableToArray(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function generateCategoricalChart_unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return generateCategoricalChart_arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return generateCategoricalChart_arrayLikeToArray(e,t)}}function generateCategoricalChart_arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function generateCategoricalChart_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function generateCategoricalChart_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?generateCategoricalChart_ownKeys(Object(n),!0).forEach(function(t){generateCategoricalChart_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):generateCategoricalChart_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function generateCategoricalChart_defineProperty(e,t,n){return(t=generateCategoricalChart_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function generateCategoricalChart_toPropertyKey(e){var t=function(e,t){if("object"!=generateCategoricalChart_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=generateCategoricalChart_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==generateCategoricalChart_typeof(t)?t:t+""}var ei={xAxis:["bottom","top"],yAxis:["left","right"]},ea={width:"100%",height:"100%"},ec={x:0,y:0};function renderAsIs(e){return e}var getActiveCoordinate=function(e,t,n,o){var i=t.find(function(e){return e&&e.index===n});if(i){if("horizontal"===e)return{x:i.coordinate,y:o.y};if("vertical"===e)return{x:o.x,y:i.coordinate};if("centric"===e){var a=i.coordinate,c=o.radius;return generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},o),(0,Z.op)(o.cx,o.cy,c,a)),{},{angle:a,radius:c})}
1var u=i.coordinate,s=o.angle;return generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},o),(0,Z.op)(o.cx,o.cy,u,s)),{},{angle:s,radius:u})}return ec},getDisplayedData=function(e,t){var n=t.graphicalItems,o=t.dataStartIndex,i=t.dataEndIndex,a=(null!=n?n:[]).reduce(function(e,t){var n=t.props.data;return n&&n.length?[].concat(generateCategoricalChart_toConsumableArray(e),generateCategoricalChart_toConsumableArray(n)):e},[]);return a.length>0?a:e&&e.length&&(0,M.hj)(o)&&(0,M.hj)(i)?e.slice(o,i+1):[]};function getDefaultDomainByAxisType(e){return"number"===e?[0,"auto"]:void 0}var getTooltipContent=function(e,t,n,o){var i=e.graphicalItems,a=e.tooltipAxis,c=getDisplayedData(t,e);return n<0||!i||!i.length||n>=c.length?null:i.reduce(function(i,u){var s,l,f=null!==(s=u.props.data)&&void 0!==s?s:t;if(f&&e.dataStartIndex+e.dataEndIndex!==0&&e.dataEndIndex-e.dataStartIndex>=n&&(f=f.slice(e.dataStartIndex,e.dataEndIndex+1)),a.dataKey&&!a.allowDuplicatedCategory){var p=void 0===f?c:f;l=(0,M.Ap)(p,a.dataKey,o)}else l=f&&f[n]||c[n];return l?[].concat(generateCategoricalChart_toConsumableArray(i),[(0,T.Qo)(u,l)]):i},[])},getTooltipData=function(e,t,n,o){var i=o||{x:e.chartX,y:e.chartY},a="horizontal"===n?i.x:"vertical"===n?i.y:"centric"===n?i.angle:i.radius,c=e.orderedTooltipTicks,u=e.tooltipAxis,s=e.tooltipTicks,l=(0,T.VO)(a,c,s,u);if(l>=0&&s){var f=s[l]&&s[l].value,p=getTooltipContent(e,t,l,f),d=getActiveCoordinate(n,c,l,i);return{activeTooltipIndex:l,activeLabel:f,activePayload:p,activeCoordinate:d}}return null},getAxisMapByAxes=function(e,t){var n=t.axes,o=t.graphicalItems,i=t.axisType,a=t.axisIdKey,c=t.stackGroups,u=t.dataStartIndex,l=t.dataEndIndex,f=e.layout,p=e.children,y=e.stackOffset,h=(0,T.NA)(f,i);return n.reduce(function(t,n){var g=void 0!==n.type.defaultProps?generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},n.type.defaultProps),n.props):n.props,v=g.type,m=g.dataKey,b=g.allowDataOverflow,_=g.allowDuplicatedCategory,x=g.scale,O=g.ticks,S=g.includeHidden,P=g[a];if(t[P])return t;var j=getDisplayedData(e.data,{graphicalItems:o.filter(function(e){var t;return(a in e.props?e.props[a]:null===(t=e.type.defaultProps)||void 0===t?void 0:t[a])===P}),dataStartIndex:u,dataEndIndex:l}),w=j.length;(function(e,t,n){if("number"===n&&!0===t&&Array.isArray(e)){var o=null==e?void 0:e[0],i=null==e?void 0:e[1];if(o&&i&&(0,M.hj)(o)&&(0,M.hj)(i))return!0}return!1})(g.domain,b,v)&&(k=(0,T.LG)(g.domain,null,b),h&&("number"===v||"auto"!==x)&&(D=(0,T.gF)(j,m,"category")));var A=getDefaultDomainByAxisType(v);if(!k||0===k.length){var C,k,E,D,I,N=null!==(I=g.domain)&&void 0!==I?I:A;if(m){if(k=(0,T.gF)(j,m,v),"category"===v&&h){var L=(0,M.bv)(k);_&&L?(E=k,k=d()(0,w)):_||(k=(0,T.ko)(N,k,n).reduce(function(e,t){return e.indexOf(t)>=0?e:[].concat(generateCategoricalChart_toConsumableArray(e),[t])},[]))}else if("category"===v)k=_?k.filter(function(e){return""!==e&&!s()(e)}):(0,T.ko)(N,k,n).reduce(function(e,t){return e.indexOf(t)>=0||""===t||s()(t)?e:[].concat(generateCategoricalChart_toConsumableArray(e),[t])},[]);else if("number"===v){var R=(0,T.ZI)(j,o.filter(function(e){var t,n,o=a in e.props?e.props[a]:null===(t=e.type.defaultProps)||void 0===t?void 0:t[a],i="hide"in e.props?e.props.hide:null===(n=e.type.defaultProps)||void 0===n?void 0:n.hide;return o===P&&(S||!i)}),m,i,f);R&&(k=R)}h&&("number"===v||"auto"!==x)&&(D=(0,T.gF)(j,m,"category"))}else k=h?d()(0,w):c&&c[P]&&c[P].hasStack&&"number"===v?"expand"===y?[0,1]:(0,T.EB)(c[P].stackGroups,u,l):(0,T.s6)(j,o.filter(function(e){var t=a in e.props?e.props[a]:e.type.defaultProps[a],n="hide"in e.props?e.props.hide:e.type.defaultProps.hide;return t===P&&(S||!n)}),v,f,!0);"number"===v?(k=detectReferenceElementsDomain(p,k,P,i,O),N&&(k=(0,T.LG)(N,k,b))):"category"===v&&N&&k.every(function(e){return N.indexOf(e)>=0})&&(k=N)}return generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},t),{},generateCategoricalChart_defineProperty({},P,generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},g),{},{axisType:i,domain:k,categoricalDomain:D,duplicateDomain:E,originalDomain:null!==(C=g.domain)&&void 0!==C?C:A,isCategorical:h,layout:f})))},{})},getAxisMapByItems=function(e,t){var n=t.graphicalItems,o=t.Axis,i=t.axisType,a=t.axisIdKey,c=t.stackGroups,u=t.dataStartIndex,s=t.dataEndIndex,l=e.layout,f=e.children,p=getDisplayedData(e.data,{graphicalItems:n,dataStartIndex:u,dataEndIndex:s}),y=p.length,g=(0,T.NA)(l,i),v=-1;return n.reduce(function(e,t){var m,b=(void 0!==t.type.defaultProps?generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},t.type.defaultProps),t.props):t.props)[a],_=getDefaultDomainByAxisType("number");return e[b]?e:(v++,m=g?d()(0,y):c&&c[b]&&c[b].hasStack?detectReferenceElementsDomain(f,m=(0,T.EB)(c[b].stackGroups,u,s),b,i):detectReferenceElementsDomain(f,m=(0,T.LG)(_,(0,T.s6)(p,n.filter(function(e){var t,n,o=a in e.props?e.props[a]:null===(t=e.type.defaultProps)||void 0===t?void 0:t[a],i="hide"in e.props?e.props.hide:null===(n=e.type.defaultProps)||void 0===n?void 0:n.hide;return o===b&&!i}),"number",l),o.defaultProps.allowDataOverflow),b,i),generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},e),{},generateCategoricalChart_defineProperty({},b,generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({axisType:i},o.defaultProps),{},{hide:!0,orientation:h()(ei,"".concat(i,".").concat(v%2),null),domain:m,originalDomain:_,isCategorical:g,layout:l}))))},{})},getAxisMap=function(e,t){var n=t.axisType,o=void 0===n?"xAxis":n,i=t.AxisComp,a=t.graphicalItems,c=t.stackGroups,u=t.dataStartIndex,s=t.dataEndIndex,l=e.children,f="".concat(o,"Id"),p=(0,C.NN)(l,i),d={};return p&&p.length?d=getAxisMapByAxes(e,{axes:p,graphicalItems:a,axisType:o,axisIdKey:f,stackGroups:c,dataStartIndex:u,dataEndIndex:s}):a&&a.length&&(d=getAxisMapByItems(e,{Axis:i,graphicalItems:a,axisType:o,axisIdKey:f,stackGroups:c,dataStartIndex:u,dataEndIndex:s})),d},tooltipTicksGenerator=function(e){var t=(0,M.Kt)(e),n=(0,T.uY)(t,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:v()(n,function(e){return e.coordinate}),tooltipAxis:t,tooltipAxisBandSize:(0,T.zT)(t,n)}},createDefaultState=function(e){var t=e.children,n=e.defaultShowTooltip,o=(0,C.sP)(t,I),i=0,a=0;return e.data&&0!==e.data.length&&(a=e.data.length-1),o&&o.props&&(o.props.startIndex>=0&&(i=o.props.startIndex),o.props.endIndex>=0&&(a=o.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:a,activeTooltipIndex:-1,isTooltipActive:!!n}},getAxisNameByLayout=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},calculateOffset=function(e,t){var n=e.props,o=e.graphicalItems,i=e.xAxisMap,a=void 0===i?{}:i,c=e.yAxisMap,u=void 0===c?{}:c,s=n.width,l=n.height,f=n.children,p=n.margin||{},d=(0,C.sP)(f,I),y=(0,C.sP)(f,j.D),g=Object.keys(u).reduce(function(e,t){var n=u[t],o=n.orientation;return n.mirror||n.hide?e:generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},e),{},generateCategoricalChart_defineProperty({},o,e[o]+n.width))},{left:p.left||0,right:p.right||0}),v=Object.keys(a).reduce(function(e,t){var n=a[t],o=n.orientation;return n.mirror||n.hide?e:generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},e),{},generateCategoricalChart_defineProperty({},o,h()(e,"".concat(o))+n.height))},{top:p.top||0,bottom:p.bottom||0}),m=generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},v),g),b=m.bottom;d&&(m.bottom+=d.props.height||I.defaultProps.height),y&&t&&(m=(0,T.By)(m,o,n,t));var _=s-m.left-m.right,x=l-m.top-m.bottom;return generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({brushBottom:b},m),{},{width:Math.max(_,0),height:Math.max(x,0)})},generateCategoricalChart=function(e){var t=e.chartName,n=e.GraphicalChild,o=e.defaultTooltipEventType,i=void 0===o?"axis":o,a=e.validateTooltipEventTypes,u=void 0===a?["axis"]:a,l=e.axisComponents,p=e.legendContent,d=e.formatAxisMap,y=e.defaultProps,getFormatItems=function(e,t){var n=t.graphicalItems,o=t.stackGroups,i=t.offset,a=t.updateId,c=t.dataStartIndex,u=t.dataEndIndex,f=e.barSize,p=e.layout,d=e.barGap,y=e.barCategoryGap,h=e.maxBarSize,g=getAxisNameByLayout(p),v=g.numericAxisName,m=g.cateAxisName,b=!!n&&!!n.length&&n.some(function(e){var t=(0,C.Gf)(e&&e.type);return t&&t.indexOf("Bar")>=0}),_=[];
1return n.forEach(function(n,g){var O=getDisplayedData(e.data,{graphicalItems:[n],dataStartIndex:c,dataEndIndex:u}),S=void 0!==n.type.defaultProps?generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},n.type.defaultProps),n.props):n.props,P=S.dataKey,j=S.maxBarSize,w=S["".concat(v,"Id")],A=S["".concat(m,"Id")],k=l.reduce(function(e,n){var o=t["".concat(n.axisType,"Map")],i=S["".concat(n.axisType,"Id")];o&&o[i]||"zAxis"===n.axisType||(0,x.Z)(!1);var a=o[i];return generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},e),{},generateCategoricalChart_defineProperty(generateCategoricalChart_defineProperty({},n.axisType,a),"".concat(n.axisType,"Ticks"),(0,T.uY)(a)))},{}),E=k[m],M=k["".concat(m,"Ticks")],D=o&&o[w]&&o[w].hasStack&&(0,T.O3)(n,o[w].stackGroups),I=(0,C.Gf)(n.type).indexOf("Bar")>=0,N=(0,T.zT)(E,M),L=[],R=b&&(0,T.pt)({barSize:f,stackGroups:o,totalSize:"xAxis"===m?k[m].width:"yAxis"===m?k[m].height:void 0});if(I){var B,z,K=s()(j)?h:j,U=null!==(B=null!==(z=(0,T.zT)(E,M,!0))&&void 0!==z?z:K)&&void 0!==B?B:0;L=(0,T.qz)({barGap:d,barCategoryGap:y,bandSize:U!==N?U:N,sizeList:R[A],maxBarSize:K}),U!==N&&(L=L.map(function(e){return generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},e),{},{position:generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},e.position),{},{offset:e.position.offset-U/2})})}))}var F=n&&n.type&&n.type.getComposedData;F&&_.push({props:generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},F(generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},k),{},{displayedData:O,props:e,dataKey:P,item:n,bandSize:N,barPosition:L,offset:i,stackedData:D,layout:p,dataStartIndex:c,dataEndIndex:u}))),{},generateCategoricalChart_defineProperty(generateCategoricalChart_defineProperty(generateCategoricalChart_defineProperty({key:n.key||"item-".concat(g)},v,k[v]),m,k[m]),"animationId",a)),childIndex:(0,C.$R)(n,e.children),item:n})}),_},updateStateOfAxisMapsOffsetAndStackGroups=function(e,o){var i=e.props,a=e.dataStartIndex,c=e.dataEndIndex,u=e.updateId;if(!(0,C.TT)({props:i}))return null;var s=i.children,f=i.layout,p=i.stackOffset,y=i.data,h=i.reverseStackOrder,g=getAxisNameByLayout(f),v=g.numericAxisName,m=g.cateAxisName,b=(0,C.NN)(s,n),_=(0,T.wh)(y,b,"".concat(v,"Id"),"".concat(m,"Id"),p,h),x=l.reduce(function(e,t){var n="".concat(t.axisType,"Map");return generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},e),{},generateCategoricalChart_defineProperty({},n,getAxisMap(i,generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},t),{},{graphicalItems:b,stackGroups:t.axisType===v&&_,dataStartIndex:a,dataEndIndex:c}))))},{}),O=calculateOffset(generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},x),{},{props:i,graphicalItems:b}),null==o?void 0:o.legendBBox);Object.keys(x).forEach(function(e){x[e]=d(i,x[e],O,e.replace("Map",""),t)});var S=tooltipTicksGenerator(x["".concat(m,"Map")]),P=getFormatItems(i,generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},x),{},{dataStartIndex:a,dataEndIndex:c,updateId:u,graphicalItems:b,stackGroups:_,offset:O}));return generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({formattedGraphicalItems:P,graphicalItems:b,offset:O,stackGroups:_},S),x)},g=function(e){var n,o;function CategoricalChartWrapper(e){var n,o,i,a,u;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,CategoricalChartWrapper),a=CategoricalChartWrapper,u=[e],a=generateCategoricalChart_getPrototypeOf(a),generateCategoricalChart_defineProperty(i=function(e,t){if(t&&("object"===generateCategoricalChart_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,generateCategoricalChart_isNativeReflectConstruct()?Reflect.construct(a,u||[],generateCategoricalChart_getPrototypeOf(this).constructor):a.apply(this,u)),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),generateCategoricalChart_defineProperty(i,"accessibilityManager",new Q),generateCategoricalChart_defineProperty(i,"handleLegendBBoxUpdate",function(e){if(e){var t=i.state,n=t.dataStartIndex,o=t.dataEndIndex,a=t.updateId;i.setState(generateCategoricalChart_objectSpread({legendBBox:e},updateStateOfAxisMapsOffsetAndStackGroups({props:i.props,dataStartIndex:n,dataEndIndex:o,updateId:a},generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},i.state),{},{legendBBox:e}))))}}),generateCategoricalChart_defineProperty(i,"handleReceiveSyncEvent",function(e,t,n){i.props.syncId===e&&(n!==i.eventEmitterSymbol||"function"==typeof i.props.syncMethod)&&i.applySyncEvent(t)}),generateCategoricalChart_defineProperty(i,"handleBrushChange",function(e){var t=e.startIndex,n=e.endIndex;if(t!==i.state.dataStartIndex||n!==i.state.dataEndIndex){var o=i.state.updateId;i.setState(function(){return generateCategoricalChart_objectSpread({dataStartIndex:t,dataEndIndex:n},updateStateOfAxisMapsOffsetAndStackGroups({props:i.props,dataStartIndex:t,dataEndIndex:n,updateId:o},i.state))}),i.triggerSyncEvent({dataStartIndex:t,dataEndIndex:n})}}),generateCategoricalChart_defineProperty(i,"handleMouseEnter",function(e){var t=i.getMouseInfo(e);if(t){var n=generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},t),{},{isTooltipActive:!0});i.setState(n),i.triggerSyncEvent(n);var o=i.props.onMouseEnter;f()(o)&&o(n,e)}}),generateCategoricalChart_defineProperty(i,"triggeredAfterMouseMove",function(e){var t=i.getMouseInfo(e),n=t?generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},t),{},{isTooltipActive:!0}):{isTooltipActive:!1};i.setState(n),i.triggerSyncEvent(n);var o=i.props.onMouseMove;f()(o)&&o(n,e)}),generateCategoricalChart_defineProperty(i,"handleItemMouseEnter",function(e){i.setState(function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}})}),generateCategoricalChart_defineProperty(i,"handleItemMouseLeave",function(){i.setState(function(){return{isTooltipActive:!1}})}),generateCategoricalChart_defineProperty(i,"handleMouseMove",function(e){e.persist(),i.throttleTriggeredAfterMouseMove(e)}),generateCategoricalChart_defineProperty(i,"handleMouseLeave",function(e){i.throttleTriggeredAfterMouseMove.cancel();var t={isTooltipActive:!1};i.setState(t),i.triggerSyncEvent(t);var n=i.props.onMouseLeave;f()(n)&&n(t,e)}),generateCategoricalChart_defineProperty(i,"handleOuterEvent",function(e){var t,n=(0,C.Bh)(e),o=h()(i.props,"".concat(n));n&&f()(o)&&o(null!==(t=/.*touch.*/i.test(n)?i.getMouseInfo(e.changedTouches[0]):i.getMouseInfo(e))&&void 0!==t?t:{},e)}),generateCategoricalChart_defineProperty(i,"handleClick",function(e){var t=i.getMouseInfo(e);if(t){var n=generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},t),{},{isTooltipActive:!0});i.setState(n),i.triggerSyncEvent(n);var o=i.props.onClick;f()(o)&&o(n,e)}}),generateCategoricalChart_defineProperty(i,"handleMouseDown",function(e){var t=i.props.onMouseDown;f()(t)&&t(i.getMouseInfo(e),e)}),generateCategoricalChart_defineProperty(i,"handleMouseUp",function(e){var t=i.props.onMouseUp;f()(t)&&t(i.getMouseInfo(e),e)}),generateCategoricalChart_defineProperty(i,"handleTouchMove",function(e){null!=e.changedTouches&&e.changedTouches.length>0&&i.throttleTriggeredAfterMouseMove(e.changedTouches[0])}),generateCategoricalChart_defineProperty(i,"handleTouchStart",function(e){null!=e.changedTouches&&e.changedTouches.length>0&&i.handleMouseDown(e.changedTouches[0])}),generateCategoricalChart_defineProperty(i,"handleTouchEnd",function(e){null!=e.changedTouches&&e.changedTouches.length>0&&i.handleMouseUp(e.changedTouches[0])}),generateCategoricalChart_defineProperty(i,"handleDoubleClick",function(e){var t=i.props.onDoubleClick;f()(t)&&t(i.getMouseInfo(e),e)}),generateCategoricalChart_defineProperty(i,"handleContextMenu",function(e){var t=i.props.onContextMenu;f()(t)&&t(i.getMouseInfo(e),e)}),generateCategoricalChart_defineProperty(i,"triggerSyncEvent",function(e){void 0!==i.props.syncId&&Y.emit(X,i.props.syncId,e,i.eventEmitterSymbol)}),generateCategoricalChart_defineProperty(i,"applySyncEvent",function(e){var t=i.props,n=t.layout,o=t.syncMethod,a=i.state.updateId,c=e.dataStartIndex,u=e.dataEndIndex;if(void 0!==e.dataStartIndex||void 0!==e.dataEndIndex)i.setState(generateCategoricalChart_objectSpread({dataStartIndex:c,dataEndIndex:u},updateStateOfAxisMapsOffsetAndStackGroups({props:i.props,dataStartIndex:c,dataEndIndex:u,updateId:a},i.state)));else if(void 0!==e.activeTooltipIndex){var s=e.chartX,l=e.chartY,f=e.activeTooltipIndex,p=i.state,d=p.offset,y=p.tooltipTicks;if(!d)return;if("function"==typeof o)f=o(y,e);else if("value"===o){f=-1;for(var h=0;h<y.length;h++)if(y[h].value===e.activeLabel){f=h;break}}var g=generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},d),{},{x:d.left,y:d.top}),v=Math.min(s,g.x+g.width),m=Math.min(l,g.y+g.height),b=y[f]&&y[f].value,_=getTooltipContent(i.state,i.props.data,f),x=y[f]?{x:"horizontal"===n?y[f].coordinate:v,y:"horizontal"===n?m:y[f].coordinate}:ec;i.setState(generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},e),{},{activeLabel:b,activeCoordinate:x,activePayload:_,activeTooltipIndex:f}))}else i.setState(e)}),generateCategoricalChart_defineProperty(i,"renderCursor",function(e){var n,o=i.state,a=o.isTooltipActive,u=o.activeCoordinate,
1s=o.activePayload,l=o.offset,f=o.activeTooltipIndex,p=o.tooltipAxisBandSize,d=i.getTooltipEventType(),y=null!==(n=e.props.active)&&void 0!==n?n:a,h=i.props.layout,g=e.key||"_recharts-cursor";return c.createElement(Cursor,{key:g,activeCoordinate:u,activePayload:s,activeTooltipIndex:f,chartName:t,element:e,isActive:y,layout:h,offset:l,tooltipAxisBandSize:p,tooltipEventType:d})}),generateCategoricalChart_defineProperty(i,"renderPolarAxis",function(e,t,n){var o=h()(e,"type.axisType"),a=h()(i.state,"".concat(o,"Map")),u=e.type.defaultProps,s=void 0!==u?generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},u),e.props):e.props,l=a&&a[s["".concat(o,"Id")]];return(0,c.cloneElement)(e,generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},l),{},{className:(0,_.Z)(o,l.className),key:e.key||"".concat(t,"-").concat(n),ticks:(0,T.uY)(l,!0)}))}),generateCategoricalChart_defineProperty(i,"renderPolarGrid",function(e){var t=e.props,n=t.radialLines,o=t.polarAngles,a=t.polarRadius,u=i.state,s=u.radiusAxisMap,l=u.angleAxisMap,f=(0,M.Kt)(s),p=(0,M.Kt)(l),d=p.cx,y=p.cy,h=p.innerRadius,g=p.outerRadius;return(0,c.cloneElement)(e,{polarAngles:Array.isArray(o)?o:(0,T.uY)(p,!0).map(function(e){return e.coordinate}),polarRadius:Array.isArray(a)?a:(0,T.uY)(f,!0).map(function(e){return e.coordinate}),cx:d,cy:y,innerRadius:h,outerRadius:g,key:e.key||"polar-grid",radialLines:n})}),generateCategoricalChart_defineProperty(i,"renderLegend",function(){var e=i.state.formattedGraphicalItems,t=i.props,n=t.children,o=t.width,a=t.height,u=i.props.margin||{},s=o-(u.left||0)-(u.right||0),l=(0,L.z)({children:n,formattedGraphicalItems:e,legendWidth:s,legendContent:p});if(!l)return null;var f=l.item,d=generateCategoricalChart_objectWithoutProperties(l,en);return(0,c.cloneElement)(f,generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},d),{},{chartWidth:o,chartHeight:a,margin:u,onBBoxUpdate:i.handleLegendBBoxUpdate}))}),generateCategoricalChart_defineProperty(i,"renderTooltip",function(){var e,t=i.props,n=t.children,o=t.accessibilityLayer,a=(0,C.sP)(n,P.u);if(!a)return null;var u=i.state,s=u.isTooltipActive,l=u.activeCoordinate,f=u.activePayload,p=u.activeLabel,d=u.offset,y=null!==(e=a.props.active)&&void 0!==e?e:s;return(0,c.cloneElement)(a,{viewBox:generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},d),{},{x:d.left,y:d.top}),active:y,label:p,payload:y?f:[],coordinate:l,accessibilityLayer:o})}),generateCategoricalChart_defineProperty(i,"renderBrush",function(e){var t=i.props,n=t.margin,o=t.data,a=i.state,u=a.offset,s=a.dataStartIndex,l=a.dataEndIndex,f=a.updateId;return(0,c.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:(0,T.DO)(i.handleBrushChange,e.props.onChange),data:o,x:(0,M.hj)(e.props.x)?e.props.x:u.left,y:(0,M.hj)(e.props.y)?e.props.y:u.top+u.height+u.brushBottom-(n.bottom||0),width:(0,M.hj)(e.props.width)?e.props.width:u.width,startIndex:s,endIndex:l,updateId:"brush-".concat(f)})}),generateCategoricalChart_defineProperty(i,"renderReferenceElement",function(e,t,n){if(!e)return null;var o=i.clipPathId,a=i.state,u=a.xAxisMap,s=a.yAxisMap,l=a.offset,f=e.type.defaultProps||{},p=e.props,d=p.xAxisId,y=void 0===d?f.xAxisId:d,h=p.yAxisId,g=void 0===h?f.yAxisId:h;return(0,c.cloneElement)(e,{key:e.key||"".concat(t,"-").concat(n),xAxis:u[y],yAxis:s[g],viewBox:{x:l.left,y:l.top,width:l.width,height:l.height},clipPathId:o})}),generateCategoricalChart_defineProperty(i,"renderActivePoints",function(e){var t=e.item,n=e.activePoint,o=e.basePoint,i=e.childIndex,a=e.isRange,c=[],u=t.props.key,s=void 0!==t.item.type.defaultProps?generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},t.item.type.defaultProps),t.item.props):t.item.props,l=s.activeDot,f=generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({index:i,dataKey:s.dataKey,cx:n.x,cy:n.y,r:4,fill:(0,T.fk)(t.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value},(0,C.L6)(l,!1)),(0,G.Ym)(l));return c.push(CategoricalChartWrapper.renderActiveDot(l,f,"".concat(u,"-activePoint-").concat(i))),o?c.push(CategoricalChartWrapper.renderActiveDot(l,generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},f),{},{cx:o.x,cy:o.y}),"".concat(u,"-basePoint-").concat(i))):a&&c.push(null),c}),generateCategoricalChart_defineProperty(i,"renderGraphicChild",function(e,t,n){var o=i.filterFormatItem(e,t,n);if(!o)return null;var a=i.getTooltipEventType(),u=i.state,l=u.isTooltipActive,f=u.tooltipAxis,p=u.activeTooltipIndex,d=u.activeLabel,y=i.props.children,h=(0,C.sP)(y,P.u),g=o.props,v=g.points,m=g.isRange,b=g.baseLine,_=void 0!==o.item.type.defaultProps?generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},o.item.type.defaultProps),o.item.props):o.item.props,x=_.activeDot,O=_.hide,S=_.activeBar,j=_.activeShape,w={};"axis"!==a&&h&&"click"===h.props.trigger?w={onClick:(0,T.DO)(i.handleItemMouseEnter,e.props.onClick)}:"axis"!==a&&(w={onMouseLeave:(0,T.DO)(i.handleItemMouseLeave,e.props.onMouseLeave),onMouseEnter:(0,T.DO)(i.handleItemMouseEnter,e.props.onMouseEnter)});var A=(0,c.cloneElement)(e,generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},o.props),w));if(!O&&l&&h&&(x||S||j)){if(p>=0){if(f.dataKey&&!f.allowDuplicatedCategory){var k="function"==typeof f.dataKey?function(e){return"function"==typeof f.dataKey?f.dataKey(e.payload):null}:"payload.".concat(f.dataKey.toString());D=(0,M.Ap)(v,k,d),I=m&&b&&(0,M.Ap)(b,k,d)}else D=null==v?void 0:v[p],I=m&&b&&b[p];if(j||S){var E=void 0!==e.props.activeIndex?e.props.activeIndex:p;return[(0,c.cloneElement)(e,generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},o.props),w),{},{activeIndex:E})),null,null]}if(!s()(D))return[A].concat(generateCategoricalChart_toConsumableArray(i.renderActivePoints({item:o,activePoint:D,basePoint:I,childIndex:p,isRange:m})))}else{var D,I,N,L=(null!==(N=i.getItemByXY(i.state.activeCoordinate))&&void 0!==N?N:{graphicalItem:A}).graphicalItem,R=L.item,B=void 0===R?e:R,z=L.childIndex,K=generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},o.props),w),{},{activeIndex:z});return[(0,c.cloneElement)(B,K),null,null]}}return m?[A,null,null]:[A,null]}),generateCategoricalChart_defineProperty(i,"renderCustomized",function(e,t,n){return(0,c.cloneElement)(e,generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({key:"recharts-customized-".concat(n)},i.props),i.state))}),generateCategoricalChart_defineProperty(i,"renderMap",{CartesianGrid:{handler:renderAsIs,once:!0},ReferenceArea:{handler:i.renderReferenceElement},ReferenceLine:{handler:renderAsIs},ReferenceDot:{handler:i.renderReferenceElement},XAxis:{handler:renderAsIs},YAxis:{handler:renderAsIs},Brush:{handler:i.renderBrush,once:!0},Bar:{handler:i.renderGraphicChild},Line:{handler:i.renderGraphicChild},Area:{handler:i.renderGraphicChild},Radar:{handler:i.renderGraphicChild},RadialBar:{handler:i.renderGraphicChild},Scatter:{handler:i.renderGraphicChild},Pie:{handler:i.renderGraphicChild},Funnel:{handler:i.renderGraphicChild},Tooltip:{handler:i.renderCursor,once:!0},PolarGrid:{handler:i.renderPolarGrid,once:!0},PolarAngleAxis:{handler:i.renderPolarAxis},PolarRadiusAxis:{handler:i.renderPolarAxis},Customized:{handler:i.renderCustomized}}),i.clipPathId="".concat(null!==(n=e.id)&&void 0!==n?n:(0,M.EL)("recharts"),"-clip"),i.throttleTriggeredAfterMouseMove=b()(i.triggeredAfterMouseMove,null!==(o=e.throttleDelay)&&void 0!==o?o:1e3/60),i.state={},i}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&generateCategoricalChart_setPrototypeOf(e,t)}(CategoricalChartWrapper,e),n=[{key:"componentDidMount",value:function(){var e,t;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(e=this.props.margin.left)&&void 0!==e?e:0,top:null!==(t=this.props.margin.top)&&void 0!==t?t:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var e=this.props,t=e.children,n=e.data,o=e.height,i=e.layout,a=(0,C.sP)(t,P.u);if(a){var c=a.props.defaultIndex;if("number"==typeof c&&!(c<0)&&!(c>this.state.tooltipTicks.length-1)){var u=this.state.tooltipTicks[c]&&this.state.tooltipTicks[c].value,s=getTooltipContent(this.state,n,c,u),l=this.state.tooltipTicks[c].coordinate,f=(this.state.offset.top+o)/2,p="horizontal"===i?{x:l,y:f}:{y:l,x:f},d=this.state.formattedGraphicalItems.find(function(e){return"Scatter"===e.item.type.name});d&&(p=generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},p),d.props.points[c].tooltipPosition),s=d.props.points[c].tooltipPayload);var y={activeTooltipIndex:c,isTooltipActive:!0,activeLabel:u,activePayload:s,activeCoordinate:p};this.setState(y),this.renderCursor(a),this.accessibilityManager.setIndex(c)}}}},{key:"getSnapshotBeforeUpdate",value:function(e,t){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==t.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==e.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==e.margin){var n,o;this.accessibilityManager.setDetails({offset:{left:null!==(n=this.props.margin.left)&&void 0!==n?n:0,top:null!==(o=this.props.margin.top)&&void 0!==o?o:0}})}return null}},{key:"componentDidUpdate",value:function(e){(0,C.rL)([(0,C.sP)(e.children,P.u)],[(0,C.sP)(this.props.children,P.u)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=(0,C.sP)(this.props.children,P.u);if(e&&"boolean"==typeof e.props.shared){var t=e.props.shared?"axis":"item";return u.indexOf(t)>=0?t:i}return i}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t=this.container,n=t.getBoundingClientRect(),o=(0,N.os)(n),i={chartX:Math.round(e.pageX-o.left),chartY:Math.round(e.pageY-o.top)},a=n.width/t.offsetWidth||1,c=this.inRange(i.chartX,i.chartY,a);if(!c)return null;var u=this.state,s=u.xAxisMap,l=u.yAxisMap,f=this.getTooltipEventType(),p=getTooltipData(this.state,this.props.data,this.props.layout,c);if("axis"!==f&&s&&l){var d=(0,M.Kt)(s).scale,y=(0,M.Kt)(l).scale,h=d&&d.invert?d.invert(i.chartX):null,g=y&&y.invert?y.invert(i.chartY):null;return generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},i),{},{xValue:h,yValue:g},p)}return p?generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},i),p):null}},{key:"inRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=this.props.layout,i=e/n,a=t/n;if("horizontal"===o||"vertical"===o){var c=this.state.offset;return i>=c.left&&i<=c.left+c.width&&a>=c.top&&a<=c.top+c.height?{x:i,y:a}:null}
1var u=this.state,s=u.angleAxisMap,l=u.radiusAxisMap;if(s&&l){var f=(0,M.Kt)(s);return(0,Z.z3)({x:i,y:a},f)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),n=(0,C.sP)(e,P.u),o={};return n&&"axis"===t&&(o="click"===n.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu}),generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},(0,G.Ym)(this.props,this.handleOuterEvent)),o)}},{key:"addListener",value:function(){Y.on(X,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){Y.removeListener(X,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(e,t,n){for(var o=this.state.formattedGraphicalItems,i=0,a=o.length;i<a;i++){var c=o[i];if(c.item===e||c.props.key===e.key||t===(0,C.Gf)(c.item.type)&&n===c.childIndex)return c}return null}},{key:"renderClipPath",value:function(){var e=this.clipPathId,t=this.state.offset,n=t.left,o=t.top,i=t.height,a=t.width;return c.createElement("defs",null,c.createElement("clipPath",{id:e},c.createElement("rect",{x:n,y:o,height:i,width:a})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce(function(e,t){var n=generateCategoricalChart_slicedToArray(t,2),o=n[0],i=n[1];return generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},e),{},generateCategoricalChart_defineProperty({},o,i.scale))},{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce(function(e,t){var n=generateCategoricalChart_slicedToArray(t,2),o=n[0],i=n[1];return generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},e),{},generateCategoricalChart_defineProperty({},o,i.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(e){var t;return null===(t=this.state.xAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getYScaleByAxisId",value:function(e){var t;return null===(t=this.state.yAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getItemByXY",value:function(e){var t=this.state,n=t.formattedGraphicalItems,o=t.activeItem;if(n&&n.length)for(var i=0,a=n.length;i<a;i++){var c=n[i],u=c.props,s=c.item,l=void 0!==s.type.defaultProps?generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},s.type.defaultProps),s.props):s.props,f=(0,C.Gf)(s.type);if("Bar"===f){var p=(u.data||[]).find(function(t){return(0,A.X)(e,t)});if(p)return{graphicalItem:c,payload:p}}else if("RadialBar"===f){var d=(u.data||[]).find(function(t){return(0,Z.z3)(e,t)});if(d)return{graphicalItem:c,payload:d}}else if((0,J.lT)(c,o)||(0,J.V$)(c,o)||(0,J.w7)(c,o)){var y=(0,J.a3)({graphicalItem:c,activeTooltipItem:o,itemData:l.data}),h=void 0===l.activeIndex?y:l.activeIndex;return{graphicalItem:generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},c),{},{childIndex:h}),payload:(0,J.w7)(c,o)?l.data[y]:c.props.data[y]}}}return null}},{key:"render",value:function(){var e,t,n=this;if(!(0,C.TT)(this))return null;var o=this.props,i=o.children,a=o.className,u=o.width,s=o.height,l=o.style,f=o.compact,p=o.title,d=o.desc,y=generateCategoricalChart_objectWithoutProperties(o,eo),h=(0,C.L6)(y,!1);if(f)return c.createElement(W.br,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},c.createElement(O.T,generateCategoricalChart_extends({},h,{width:u,height:s,title:p,desc:d}),this.renderClipPath(),(0,C.eu)(i,this.renderMap)));this.props.accessibilityLayer&&(h.tabIndex=null!==(e=this.props.tabIndex)&&void 0!==e?e:0,h.role=null!==(t=this.props.role)&&void 0!==t?t:"application",h.onKeyDown=function(e){n.accessibilityManager.keyboardEvent(e)},h.onFocus=function(){n.accessibilityManager.focus()});var g=this.parseEventsOfWrapper();return c.createElement(W.br,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},c.createElement("div",generateCategoricalChart_extends({className:(0,_.Z)("recharts-wrapper",a),style:generateCategoricalChart_objectSpread({position:"relative",curs
1or:"default",width:u,height:s},l)},g,{ref:function(e){n.container=e}}),c.createElement(O.T,generateCategoricalChart_extends({},h,{width:u,height:s,title:p,desc:d,style:ea}),this.renderClipPath(),(0,C.eu)(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],generateCategoricalChart_defineProperties(CategoricalChartWrapper.prototype,n),o&&generateCategoricalChart_defineProperties(CategoricalChartWrapper,o),Object.defineProperty(CategoricalChartWrapper,"prototype",{writable:!1}),CategoricalChartWrapper}(c.Component);generateCategoricalChart_defineProperty(g,"displayName",t),generateCategoricalChart_defineProperty(g,"defaultProps",generateCategoricalChart_objectSpread({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},y)),generateCategoricalChart_defineProperty(g,"getDerivedStateFromProps",function(e,t){var n=e.dataKey,o=e.data,i=e.children,a=e.width,c=e.height,u=e.layout,l=e.stackOffset,f=e.margin,p=t.dataStartIndex,d=t.dataEndIndex;if(void 0===t.updateId){var y=createDefaultState(e);return generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},y),{},{updateId:0},updateStateOfAxisMapsOffsetAndStackGroups(generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({props:e},y),{},{updateId:0}),t)),{},{prevDataKey:n,prevData:o,prevWidth:a,prevHeight:c,prevLayout:u,prevStackOffset:l,prevMargin:f,prevChildren:i})}if(n!==t.prevDataKey||o!==t.prevData||a!==t.prevWidth||c!==t.prevHeight||u!==t.prevLayout||l!==t.prevStackOffset||!(0,H.w)(f,t.prevMargin)){var h=createDefaultState(e),g={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},v=generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},getTooltipData(t,o,u)),{},{updateId:t.updateId+1}),m=generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},h),g),v);return generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({},m),updateStateOfAxisMapsOffsetAndStackGroups(generateCategoricalChart_objectSpread({props:e},m),t)),{},{prevDataKey:n,prevData:o,prevWidth:a,prevHeight:c,prevLayout:u,prevStackOffset:l,prevMargin:f,prevChildren:i})}if(!(0,C.rL)(i,t.prevChildren)){var b,_,x,O,S=(0,C.sP)(i,I),P=S&&null!==(b=null===(_=S.props)||void 0===_?void 0:_.startIndex)&&void 0!==b?b:p,j=S&&null!==(x=null===(O=S.props)||void 0===O?void 0:O.endIndex)&&void 0!==x?x:d,w=s()(o)||P!==p||j!==d?t.updateId+1:t.updateId;return generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({updateId:w},updateStateOfAxisMapsOffsetAndStackGroups(generateCategoricalChart_objectSpread(generateCategoricalChart_objectSpread({props:e},t),{},{updateId:w,dataStartIndex:P,dataEndIndex:j}),t)),{},{prevChildren:i,dataStartIndex:P,dataEndIndex:j})}return null}),generateCategoricalChart_defineProperty(g,"renderActiveDot",function(e,t,n){var o;return o=(0,c.isValidElement)(e)?(0,c.cloneElement)(e,t):f()(e)?e(t):c.createElement(w.o,t),c.createElement(S.m,{className:"recharts-active-dot",key:n},o)});var v=(0,c.forwardRef)(function(e,t){return c.createElement(g,generateCategoricalChart_extends({},e,{ref:t}))});return v.displayName=g.displayName,v}},43815:function(e,t,n){"use strict";n.d(t,{b:function(){return Cell}});var Cell=function(e){return null};Cell.displayName="Cell"},25048:function(e,t,n){"use strict";n.d(t,{_:function(){return Label}});var o=n(67294),i=n(14293),a=n.n(i),c=n(23560),u=n.n(c),s=n(13218),l=n.n(s),f=n(83231),p=n(84642),d=n(52017),y=n(69055),h=n(40048);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var g=["offset"];function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?ownKeys(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var getLabel=function(e){var t=e.value,n=e.formatter,o=a()(e.children)?t:e.children;return u()(n)?n(o):o},renderRadialLabel=function(e,t,n){var i,c,u=e.position,s=e.viewBox,l=e.offset,p=e.className,d=s.cx,g=s.cy,v=s.innerRadius,m=s.outerRadius,b=s.startAngle,_=s.endAngle,x=s.clockWise,O=(v+m)/2,S=(0,y.uY)(_-b)*Math.min(Math.abs(_-b),360),P=S>=0?1:-1;"insideStart"===u?(i=b+P*l,c=x):"insideEnd"===u?(i=_-P*l,c=!x):"end"===u&&(i=_+P*l,c=x),c=S<=0?c:!c;var j=(0,h.op)(d,g,O,i),w=(0,h.op)(d,g,O,i+(c?1:-1)*359),A="M".concat(j.x,",").concat(j.y,"\n    A").concat(O,",").concat(O,",0,1,").concat(c?0:1,",\n    ").concat(w.x,",").concat(w.y),C=a()(e.id)?(0,y.EL)("recharts-radial-line-"):e.id;return o.createElement("text",_extends({},n,{dominantBaseline:"central",className:(0,f.Z)("recharts-radial-bar-label",p)}),o.createElement("defs",null,o.createElement("path",{id:C,d:A})),o.createElement("textPath",{xlinkHref:"#".concat(C)},t))},getAttrsOfPolarLabel=function(e){var t=e.viewBox,n=e.offset,o=e.position,i=t.cx,a=t.cy,c=t.innerRadius,u=t.outerRadius,s=(t.startAngle+t.endAngle)/2;if("outside"===o){var l=(0,h.op)(i,a,u+n,s),f=l.x;return{x:f,y:l.y,textAnchor:f>=i?"start":"end",verticalAnchor:"middle"}}if("center"===o)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===o)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===o)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"end"};var p=(c+u)/2,d=(0,h.op)(i,a,p,s);return{x:d.x,y:d.y,textAnchor:"middle",verticalAnchor:"middle"}},getAttrsOfCartesianLabel=function(e){var t=e.viewBox,n=e.parentViewBox,o=e.offset,i=e.position,a=t.x,c=t.y,u=t.width,s=t.height,f=s>=0?1:-1,p=f*o,d=f>0?"end":"start",h=f>0?"start":"end",g=u>=0?1:-1,v=g*o,m=g>0?"end":"start",b=g>0?"start":"end";if("top"===i)return _objectSpread(_objectSpread({},{x:a+u/2,y:c-f*o,textAnchor:"middle",verticalAnchor:d}),n?{height:Math.max(c-n.y,0),width:u}:{});if("bottom"===i)return _objectSpread(_objectSpread({},{x:a+u/2,y:c+s+p,textAnchor:"middle",verticalAnchor:h}),n?{height:Math.max(n.y+n.height-(c+s),0),width:u}:{});if("left"===i){var _={x:a-v,y:c+s/2,textAnchor:m,verticalAnchor:"middle"};return _objectSpread(_objectSpread({},_),n?{width:Math.max(_.x-n.x,0),height:s}:{})}if("right"===i){var x={x:a+u+v,y:c+s/2,textAnchor:b,verticalAnchor:"middle"};return _objectSpread(_objectSpread({},x),n?{width:Math.max(n.x+n.width-x.x,0),height:s}:{})}var O=n?{width:u,height:s}:{};return"insideLeft"===i?_objectSpread({x:a+v,y:c+s/2,textAnchor:b,verticalAnchor:"middle"},O):"insideRight"===i?_objectSpread({x:a+u-v,y:c+s/2,textAnchor:m,verticalAnchor:"middle"},O):"insideTop"===i?_objectSpread({x:a+u/2,y:c+p,textAnchor:"middle",verticalAnchor:h},O):"insideBottom"===i?_objectSpread({x:a+u/2,y:c+s-p,textAnchor:"middle",verticalAnchor:d},O):"insideTopLeft"===i?_objectSpread({x:a+v,y:c+p,textAnchor:b,verticalAnchor:h},O):"insideTopRight"===i?_objectSpread({x:a+u-v,y:c+p,textAnchor:m,verticalAnchor:h},O):"insideBottomLeft"===i?_objectSpread({x:a+v,y:c+s-p,textAnchor:b,verticalAnchor:d},O):"insideBottomRight"===i?_objectSpread({x:a+u-v,y:c+s-p,textAnchor:m,verticalAnchor:d},O):l()(i)&&((0,y.hj)(i.x)||(0,y.hU)(i.x))&&((0,y.hj)(i.y)||(0,y.hU)(i.y))?_objectSpread({x:a+(0,y.h1)(i.x,u),y:c+(0,y.h1)(i.y,s),textAnchor:"end",verticalAnchor:"end"},O):_objectSpread({x:a+u/2,y:c+s/2,textAnchor:"middle",verticalAnchor:"middle"},O)};function Label(e){var t,n=e.offset,i=_objectSpread({offset:void 0===n?5:n},function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,g)),c=i.viewBox,s=i.position,l=i.value,h=i.children,v=i.content,m=i.className,b=void 0===m?"":m,_=i.textBreakAll;if(!c||a()(l)&&a()(h)&&!(0,o.isValidElement)(v)&&!u()(v))return null;if((0,o.isValidElement)(v))return(0,o.cloneElement)(v,i);if(u()(v)){if(t=(0,o.createElement)(v,i),(0,o.isValidElement)(t))return t}else t=getLabel(i);var x="cx"in c&&(0,y.hj)(c.cx),O=(0,d.L6)(i,!0);if(x&&("insideStart"===s||"insideEnd"===s||"end"===s))return renderRadialLabel(i,t,O);var S=x?getAttrsOfPolarLabel(i):getAttrsOfCartesianLabel(i);return o.createElement(p.x,_extends({className:(0,f.Z)("recharts-label",b)},O,S,{breakAll:_}),t)}Label.displayName="Label";var parseViewBox=function(e){var t=e.cx,n=e.cy,o=e.angle,i=e.startAngle,a=e.endAngle,c=e.r,u=e.radiu
1s,s=e.innerRadius,l=e.outerRadius,f=e.x,p=e.y,d=e.top,h=e.left,g=e.width,v=e.height,m=e.clockWise,b=e.labelViewBox;if(b)return b;if((0,y.hj)(g)&&(0,y.hj)(v)){if((0,y.hj)(f)&&(0,y.hj)(p))return{x:f,y:p,width:g,height:v};if((0,y.hj)(d)&&(0,y.hj)(h))return{x:d,y:h,width:g,height:v}}return(0,y.hj)(f)&&(0,y.hj)(p)?{x:f,y:p,width:0,height:0}:(0,y.hj)(t)&&(0,y.hj)(n)?{cx:t,cy:n,startAngle:i||o||0,endAngle:a||o||0,innerRadius:s||0,outerRadius:l||u||c||0,clockWise:m}:e.viewBox?e.viewBox:{}};Label.parseViewBox=parseViewBox,Label.renderCallByParent=function(e,t){var n,i,a=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!e||!e.children&&a&&!e.label)return null;var c=e.children,s=parseViewBox(e),f=(0,d.NN)(c,Label).map(function(e,n){return(0,o.cloneElement)(e,{viewBox:t||s,key:"label-".concat(n)})});return a?[(n=e.label,i=t||s,n?!0===n?o.createElement(Label,{key:"label-implicit",viewBox:i}):(0,y.P2)(n)?o.createElement(Label,{key:"label-implicit",viewBox:i,value:n}):(0,o.isValidElement)(n)?n.type===Label?(0,o.cloneElement)(n,{key:"label-implicit",viewBox:i}):o.createElement(Label,{key:"label-implicit",content:n,viewBox:i}):u()(n)?o.createElement(Label,{key:"label-implicit",content:n,viewBox:i}):l()(n)?o.createElement(Label,_extends({viewBox:i},n,{key:"label-implicit"})):null:null)].concat(function(e){if(Array.isArray(e))return _arrayLikeToArray(e)}(f)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(f)||function(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}}(f)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):f}},2763:function(e,t,n){"use strict";n.d(t,{e:function(){return LabelList}});var o=n(67294),i=n(14293),a=n.n(i),c=n(13218),u=n.n(c),s=n(23560),l=n.n(s),f=n(10928),p=n.n(f),d=n(25048),y=n(48710),h=n(52017),g=n(75471);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var v=["valueAccessor"],m=["data","dataKey","clockWise","id","textBreakAll"];function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _objectWithoutProperties(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var defaultAccessor=function(e){return Array.isArray(e.value)?p()(e.value):e.value};function LabelList(e){var t=e.valueAccessor,n=void 0===t?defaultAccessor:t,i=_objectWithoutProperties(e,v),c=i.data,u=i.dataKey,s=i.clockWise,l=i.id,f=i.textBreakAll,p=_objectWithoutProperties(i,m);return c&&c.length?o.createElement(y.m,{className:"recharts-label-list"},c.map(function(e,t){var i=a()(u)?n(e,t):(0,g.F$)(e&&e.payload,u),c=a()(l)?{}:{id:"".concat(l,"-").concat(t)};return o.createElement(d._,_extends({},(0,h.L6)(e,!0),p,c,{parentViewBox:e.parentViewBox,value:i,textBreakAll:f,viewBox:d._.parseViewBox(a()(s)?e:_objectSpread(_objectSpread({},e),{},{clockWise:s})),key:"label-".concat(t),index:t}))})):null}LabelList.displayName="LabelList",LabelList.renderCallByParent=function(e,t){var n,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];
1if(!e||!e.children&&i&&!e.label)return null;var a=e.children,c=(0,h.NN)(a,LabelList).map(function(e,n){return(0,o.cloneElement)(e,{data:t,key:"labelList-".concat(n)})});return i?[(n=e.label)?!0===n?o.createElement(LabelList,{key:"labelList-implicit",data:t}):o.isValidElement(n)||l()(n)?o.createElement(LabelList,{key:"labelList-implicit",data:t,content:n}):u()(n)?o.createElement(LabelList,_extends({data:t},n,{key:"labelList-implicit"})):null:null].concat(function(e){if(Array.isArray(e))return _arrayLikeToArray(e)}(c)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(c)||function(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}}(c)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):c}},33558:function(e,t,n){"use strict";n.d(t,{D:function(){return g}});var o=n(67294),i=n(23560),a=n.n(i),c=n(83231),u=n(6213),s=n(20514),l=n(21138),f=n(79896);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _defineProperty(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toPropertyKey(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}var p=function(e){var t,n;function DefaultLegendContent(){var e,t;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,DefaultLegendContent),e=DefaultLegendContent,t=arguments,e=_getPrototypeOf(e),function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,_isNativeReflectConstruct()?Reflect.construct(e,t||[],_getPrototypeOf(this).constructor):e.apply(this,t))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}(DefaultLegendContent,e),t=[{key:"renderIcon",value:function(e){var t=this.props.inactiveColor,n=32/6,i=32/3,a=e.inactive?t:e.color;if("plainline"===e.type)return o.createElement("line",{strokeWidth:4,fill:"none",stroke:a,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:16,x2:32,y2:16,className:"recharts-legend-icon"});if("line"===e.type)return o.createElement("path",{strokeWidth:4,fill:"none",stroke:a,d:"M0,".concat(16,"h").concat(i,"\n            A").concat(n,",").concat(n,",0,1,1,").concat(2*i,",").concat(16,"\n            H").concat(32,"M").concat(2*i,",").concat(16,"\n            A").concat(n,",").concat(n,",0,1,1,").concat(i,",").concat(16),className:"recharts-legend-icon"});if("rect"===e.type)return o.createElement("path",{stroke:"none",fill:a,d:"M0,".concat(4,"h").concat(32,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(o.isValidElement(e.legendIcon)){var c=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?ownKeys(Object(n),!0).forEach(function(t){_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e);return delete c.legendIcon,o.cloneElement(e.legendIcon,c)}return o.createElement(l.v,{fill:a,cx:16,cy:16,size:32,sizeType:"diameter",type:e.type})}},{key:"renderItems",value:function(){var e=this,t=this.props,n=t.payload,i=t.iconSize,l=t.layout,p=t.formatter,d=t.inactiveColor,y={x:0,y:0,width:32,height:32},h={display:"horizontal"===l?"inline-block":"block",marginRight:10},g={display:"inline-block",verticalAlign:"middle",marginRight:4};return n.map(function(t,n){var l=t.formatter||p,v=(0,c.Z)(_defineProperty(_defineProperty({"recharts-legend-item":!0},"legend-item-".concat(n),!0),"inactive",t.inactive));if("none"===t.type)return null;var m=a()(t.value)?null:t.value;(0,u.Z)(!a()(t.value),'The name property is also required when using a function for the dataKey of a chart\'s cartesian components. Ex: <Bar name="Name of my Data"/>');var b=t.inactive?d:t.color;return o.createElement("li",_extends({className:v,style:h,key:"legend-item-".concat(n)},(0,f.bw)(e.props,t,n)),o.createElement(s.T,{width:i,height:i,viewBox:y,style:g},e.renderIcon(t)),o.createElement("span",{className:"recharts-legend-item-text",style:{color:b}},l?l(m,t,n):m))})}},{key:"render",value:function(){var e=this.props,t=e.payload,n=e.layout,i=e.align;return t&&t.length?o.createElement("ul",{className:"recharts-default-legend",style:{padding:0,margin:0,textAlign:"horizontal"===n?i:"left"}},this.renderItems()):null}}],_defineProperties(DefaultLegendContent.prototype,t),n&&_defineProperties(DefaultLegendContent,n),Object.defineProperty(DefaultLegendContent,"prototype",{writable:!1}),DefaultLegendContent}(o.PureComponent);_defineProperty(p,"displayName","Legend"),_defineProperty(p,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var d=n(69055),y=n(78817);function Legend_typeof(e){return(Legend_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var h=["ref"];function Legend_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function Legend_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Legend_ownKeys(Object(n),!0).forEach(function(t){Legend_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Legend_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Legend_defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Legend_toPropertyKey(o.key),o)}}function Legend_isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Legend_isNativeReflectConstruct=function(){return!!e})()}function Legend_getPrototypeOf(e){return(Legend_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Legend_setPrototypeOf(e,t){return(Legend_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Legend_defineProperty(e,t,n){return(t=Legend_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Legend_toPropertyKey(e){var t=function(e,t){if("object"!=Legend_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Legend_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Legend_typeof(t)?t:t+""}function defaultUniqBy(e){return e.value}var g=function(e){var t,n;function Legend(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,Legend);for(var e,t,n,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return t=Legend,n=[].concat(i),t=Legend_getPrototypeOf(t),Legend_defineProperty(e=function(e,t){if(t&&("object"===Legend_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,Legend_isNativeReflectConstruct()?Reflect.construct(t,n||[],Legend_getPrototypeOf(this).constructor):t.apply(this,n)),"lastBoundingBox",{width:-1,height:-1}),e}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Legend_setPrototypeOf(e,t)}(Legend,e),t=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();return e.height=this.wrapperNode.offsetHeight,e.width=this.wrapperNode.offsetWidth,e}return null}},{key:"updateBBox",value:function(){var e=this.props.onBBoxUpdate,t=this.getBBox();
1t?(Math.abs(t.width-this.lastBoundingBox.width)>1||Math.abs(t.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=t.width,this.lastBoundingBox.height=t.height,e&&e(t)):(-1!==this.lastBoundingBox.width||-1!==this.lastBoundingBox.height)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,e&&e(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Legend_objectSpread({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(e){var t,n,o=this.props,i=o.layout,a=o.align,c=o.verticalAlign,u=o.margin,s=o.chartWidth,l=o.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===a&&"vertical"===i?{left:((s||0)-this.getBBoxSnapshot().width)/2}:"right"===a?{right:u&&u.right||0}:{left:u&&u.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(n="middle"===c?{top:((l||0)-this.getBBoxSnapshot().height)/2}:"bottom"===c?{bottom:u&&u.bottom||0}:{top:u&&u.top||0}),Legend_objectSpread(Legend_objectSpread({},t),n)}},{key:"render",value:function(){var e=this,t=this.props,n=t.content,i=t.width,a=t.height,c=t.wrapperStyle,u=t.payloadUniqBy,s=t.payload,l=Legend_objectSpread(Legend_objectSpread({position:"absolute",width:i||"auto",height:a||"auto"},this.getDefaultPosition(c)),c);return o.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(t){e.wrapperNode=t}},function(e,t){if(o.isValidElement(e))return o.cloneElement(e,t);if("function"==typeof e)return o.createElement(e,t);t.ref;var n=function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,h);return o.createElement(p,n)}(n,Legend_objectSpread(Legend_objectSpread({},this.props),{},{payload:(0,y.z)(s,u,defaultUniqBy)})))}}],n=[{key:"getWithHeight",value:function(e,t){var n=Legend_objectSpread(Legend_objectSpread({},this.defaultProps),e.props).layout;return"vertical"===n&&(0,d.hj)(e.props.height)?{height:e.props.height}:"horizontal"===n?{width:e.props.width||t}:null}}],t&&Legend_defineProperties(Legend.prototype,t),n&&Legend_defineProperties(Legend,n),Object.defineProperty(Legend,"prototype",{writable:!1}),Legend}(o.PureComponent);Legend_defineProperty(g,"displayName","Legend"),Legend_defineProperty(g,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"})},29009:function(e,t,n){"use strict";n.d(t,{h:function(){return f}});var o=n(83231),i=n(67294),a=n(23493),c=n.n(a),u=n(69055),s=n(6213),l=n(52017);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}var f=(0,i.forwardRef)(function(e,t){var n,a=e.aspect,f=e.initialDimension,p=void 0===f?{width:-1,height:-1}:f,d=e.width,y=void 0===d?"100%":d,h=e.height,g=void 0===h?"100%":h,v=e.minWidth,m=void 0===v?0:v,b=e.minHeight,_=e.maxHeight,x=e.children,O=e.debounce,S=void 0===O?0:O,P=e.id,j=e.className,w=e.onResize,A=e.style,C=void 0===A?{}:A,k=(0,i.useRef)(null),E=(0,i.useRef)();E.current=w,(0,i.useImperativeHandle)(t,function(){return Object.defineProperty(k.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),k.current},configurable:!0})});var T=function(e){if(Array.isArray(e))return e}(n=(0,i.useState)({containerWidth:p.width,containerHeight:p.height}))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,a,c,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;
1!(s=(o=a.call(n)).done)&&(u.push(o.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(l)throw i}}return u}}(n,2)||function(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),M=T[0],D=T[1],I=(0,i.useCallback)(function(e,t){D(function(n){var o=Math.round(e),i=Math.round(t);return n.containerWidth===o&&n.containerHeight===i?n:{containerWidth:o,containerHeight:i}})},[]);(0,i.useEffect)(function(){var callback=function(e){var t,n=e[0].contentRect,o=n.width,i=n.height;I(o,i),null===(t=E.current)||void 0===t||t.call(E,o,i)};S>0&&(callback=c()(callback,S,{trailing:!0,leading:!1}));var e=new ResizeObserver(callback),t=k.current.getBoundingClientRect();return I(t.width,t.height),e.observe(k.current),function(){e.disconnect()}},[I,S]);var N=(0,i.useMemo)(function(){var e=M.containerWidth,t=M.containerHeight;if(e<0||t<0)return null;(0,s.Z)((0,u.hU)(y)||(0,u.hU)(g),"The width(%s) and height(%s) are both fixed numbers,\n       maybe you don't need to use a ResponsiveContainer.",y,g),(0,s.Z)(!a||a>0,"The aspect(%s) must be greater than zero.",a);var n=(0,u.hU)(y)?e:y,o=(0,u.hU)(g)?t:g;a&&a>0&&(n?o=n/a:o&&(n=o*a),_&&o>_&&(o=_)),(0,s.Z)(n>0||o>0,"The width(%s) and height(%s) of chart should be greater than 0,\n       please check the style of container, or the props width(%s) and height(%s),\n       or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n       height and width.",n,o,y,g,m,b,a);var c=!Array.isArray(x)&&(0,l.Gf)(x.type).endsWith("Chart");return i.Children.map(x,function(e){return i.isValidElement(e)?(0,i.cloneElement)(e,_objectSpread({width:n,height:o},c?{style:_objectSpread({height:"100%",width:"100%",maxHeight:o,maxWidth:n},e.props.style)}:{})):e})},[a,x,g,_,b,m,M,y]);return i.createElement("div",{id:P?"".concat(P):void 0,className:(0,o.Z)("recharts-responsive-container",j),style:_objectSpread(_objectSpread({},C),{},{width:y,height:g,minWidth:m,minHeight:b,maxHeight:_}),ref:k},N)})},84642:function(e,t,n){"use strict";n.d(t,{x:function(){return Text}});var o=n(67294),i=n(14293),a=n.n(i),c=n(83231),u=n(69055),s=n(47523),l=n(52017),f=n(41209);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _slicedToArray(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,a,c,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(o=a.call(n)).done)&&(u.push(o.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(l)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}(o.key),o)}}var p=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,d=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,y=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,h=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,g={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},v=Object.keys(g),m=function(){var e,t;function DecimalCSS(e,t){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,DecimalCSS),this.num=e,this.unit=t,this.num=e,this.unit=t,Number.isNaN(e)&&(this.unit=""),""===t||y.test(t)||(this.num=NaN,this.unit=""),v.includes(t)&&(this.num=e*g[t],this.unit="px")}return e=[{key:"add",value:function(e){return this.unit!==e.unit?new DecimalCSS(NaN,""):new DecimalCSS(this.num+e.num,this.unit)}},{key:"subtract",value:function(e){return this.unit!==e.unit?new DecimalCSS(NaN,""):new DecimalCSS(this.num-e.num,this.unit)}},{key:"multiply",value:function(e){return""!==this.unit&&""!==e.unit&&this.unit!==e.unit?new DecimalCSS(NaN,""):new DecimalCSS(this.num*e.num,this.unit||e.unit)}},{key:"divide",value:function(e){return""!==this.unit&&""!==e.unit&&this.unit!==e.unit?new DecimalCSS(NaN,""):new DecimalCSS(this.num/e.num,this.unit||e.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],t=[{key:"parse",value:function(e){var t,n=_slicedToArray(null!==(t=h.exec(e))&&void 0!==t?t:[],3),o=n[1],i=n[2];return new DecimalCSS(parseFloat(o),null!=i?i:"")}}],e&&_defineProperties(DecimalCSS.prototype,e),t&&_defineProperties(DecimalCSS,t),Object.defineProperty(DecimalCSS,"prototype",{writable:!1}),DecimalCSS}();function calculateArithmetic(e){if(e.includes("NaN"))return"NaN";for(var t=e;t.includes("*")||t.includes("/");){var n,o=_slicedToArray(null!==(n=p.exec(t))&&void 0!==n?n:[],4),i=o[1],a=o[2],c=o[3],u=m.parse(null!=i?i:""),s=m.parse(null!=c?c:""),l="*"===a?u.multiply(s):u.divi
1de(s);if(l.isNaN())return"NaN";t=t.replace(p,l.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var f,y=_slicedToArray(null!==(f=d.exec(t))&&void 0!==f?f:[],4),h=y[1],g=y[2],v=y[3],b=m.parse(null!=h?h:""),_=m.parse(null!=v?v:""),x="+"===g?b.add(_):b.subtract(_);if(x.isNaN())return"NaN";t=t.replace(d,x.toString())}return t}var b=/\(([^()]*)\)/;function reduceCSSCalc(e){var t=function(e){try{var t;return t=e.replace(/\s+/g,""),t=function(e){for(var t=e;t.includes("(");){var n=_slicedToArray(b.exec(t),2)[1];t=t.replace(b,calculateArithmetic(n))}return t}(t),t=calculateArithmetic(t)}catch(e){return"NaN"}}(e.slice(5,-1));return"NaN"===t?"":t}var _=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],x=["dx","dy","angle","className","breakAll"];function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function _objectWithoutProperties(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Text_slicedToArray(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,a,c,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(o=a.call(n)).done)&&(u.push(o.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(l)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Text_arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Text_arrayLikeToArray(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Text_arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}var O=/[ \f\n\r\t\v\u2028\u2029]+/,calculateWordWidths=function(e){var t=e.children,n=e.breakAll,o=e.style;try{var i=[];a()(t)||(i=n?t.toString().split(""):t.toString().split(O));var c=i.map(function(e){return{word:e,width:(0,f.xE)(e,o).width}}),u=n?0:(0,f.xE)("\xa0",o).width;return{wordsWithComputedWidth:c,spaceWidth:u}}catch(e){return null}},calculateWordsByLines=function(e,t,n,o,i){var a,c=e.maxLines,s=e.children,l=e.style,f=e.breakAll,p=(0,u.hj)(c),calculate=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.reduce(function(e,t){var a=t.word,c=t.width,u=e[e.length-1];return u&&(null==o||i||u.width+c+n<Number(o))?(u.words.push(a),u.width+=c+n):e.push({words:[a],width:c}),e},[])},d=calculate(t);if(!p)return d;for(var checkOverflow=function(e){var t=calculate(calculateWordWidths({breakAll:f,style:l,children:s.slice(0,e)+"…"}).wordsWithComputedWidth);return[t.length>c||t.reduce(function(e,t){return e.width>t.width?e:t}).width>Number(o),t]},y=0,h=s.length-1,g=0;y<=h&&g<=s.length-1;){var v=Math.floor((y+h)/2),m=Text_slicedToArray(checkOverflow(v-1),2),b=m[0],_=m[1],x=Text_slicedToArray(checkOverflow(v),1)[0];if(b||x||(y=v+1),b&&x&&(h=v-1),!b&&x){a=_;break}g++}return a||d},getWordsWithoutCalculate=function(e){return[{words:a()(e)?[]:e.toString().split(O)}]},getWordsByLines=function(e){var t=e.width,n=e.scaleToFit,o=e.children,i=e.style,a=e.breakAll,c=e.maxLines;if((t||n)&&!s.x.isSsr){var u=calculateWordWidths({breakAll:a,children:o,style:i});
1return u?calculateWordsByLines({breakAll:a,children:o,maxLines:c,style:i},u.wordsWithComputedWidth,u.spaceWidth,t,n):getWordsWithoutCalculate(o)}return getWordsWithoutCalculate(o)},S="#808080",Text=function(e){var t,n=e.x,i=void 0===n?0:n,a=e.y,s=void 0===a?0:a,f=e.lineHeight,p=void 0===f?"1em":f,d=e.capHeight,y=void 0===d?"0.71em":d,h=e.scaleToFit,g=void 0!==h&&h,v=e.textAnchor,m=e.verticalAnchor,b=e.fill,O=void 0===b?S:b,P=_objectWithoutProperties(e,_),j=(0,o.useMemo)(function(){return getWordsByLines({breakAll:P.breakAll,children:P.children,maxLines:P.maxLines,scaleToFit:g,style:P.style,width:P.width})},[P.breakAll,P.children,P.maxLines,g,P.style,P.width]),w=P.dx,A=P.dy,C=P.angle,k=P.className,E=P.breakAll,T=_objectWithoutProperties(P,x);if(!(0,u.P2)(i)||!(0,u.P2)(s))return null;var M=i+((0,u.hj)(w)?w:0),D=s+((0,u.hj)(A)?A:0);switch(void 0===m?"end":m){case"start":t=reduceCSSCalc("calc(".concat(y,")"));break;case"middle":t=reduceCSSCalc("calc(".concat((j.length-1)/2," * -").concat(p," + (").concat(y," / 2))"));break;default:t=reduceCSSCalc("calc(".concat(j.length-1," * -").concat(p,")"))}var I=[];if(g){var N=j[0].width,L=P.width;I.push("scale(".concat(((0,u.hj)(L)?L/N:1)/N,")"))}return C&&I.push("rotate(".concat(C,", ").concat(M,", ").concat(D,")")),I.length&&(T.transform=I.join(" ")),o.createElement("text",_extends({},(0,l.L6)(T,!0),{x:M,y:D,className:(0,c.Z)("recharts-text",k),textAnchor:void 0===v?"start":v,fill:O.includes("url")?S:O}),j.map(function(e,n){var i=e.words.join(E?"":" ");return o.createElement("tspan",{x:M,dy:0===n?t:p,key:"".concat(i,"-").concat(n)},i)}))}},26050:function(e,t,n){"use strict";n.d(t,{u:function(){return g}});var o=n(67294),i=n(89734),a=n.n(i),c=n(14293),u=n.n(c),s=n(83231),l=n(69055);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function defaultFormatter(e){return Array.isArray(e)&&(0,l.P2)(e[0])&&(0,l.P2)(e[1])?e.join(" ~ "):e}var DefaultTooltipContent=function(e){var t=e.separator,n=void 0===t?" : ":t,i=e.contentStyle,c=e.itemStyle,f=void 0===c?{}:c,p=e.labelStyle,d=e.payload,y=e.formatter,h=e.itemSorter,g=e.wrapperClassName,v=e.labelClassName,m=e.label,b=e.labelFormatter,_=e.accessibilityLayer,x=_objectSpread({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},void 0===i?{}:i),O=_objectSpread({margin:0},void 0===p?{}:p),S=!u()(m),P=S?m:"",j=(0,s.Z)("recharts-default-tooltip",g),w=(0,s.Z)("recharts-tooltip-label",v);return S&&b&&null!=d&&(P=b(m,d)),o.createElement("div",_extends({className:j,style:x},void 0!==_&&_?{role:"status","aria-live":"assertive"}:{}),o.createElement("p",{className:w,style:O},o.isValidElement(P)?P:"".concat(P)),function(){if(d&&d.length){var e=(h?a()(d,h):d).map(function(e,t){if("none"===e.type)return null;var i=_objectSpread({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"}
1,f),a=e.formatter||y||defaultFormatter,c=e.value,u=e.name,s=c,p=u;if(a&&null!=s&&null!=p){var h=a(c,u,e,t,d);if(Array.isArray(h)){var g=function(e){if(Array.isArray(e))return e}(h)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,a,c,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(o=a.call(n)).done)&&(u.push(o.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(l)throw i}}return u}}(h,2)||function(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}}(h,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();s=g[0],p=g[1]}else s=h}return o.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(t),style:i},(0,l.P2)(p)?o.createElement("span",{className:"recharts-tooltip-item-name"},p):null,(0,l.P2)(p)?o.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,o.createElement("span",{className:"recharts-tooltip-item-value"},s),o.createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))});return o.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},e)}return null}())};function translate_typeof(e){return(translate_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function translate_defineProperty(e,t,n){var o;return(o=function(e,t){if("object"!=translate_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=translate_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==translate_typeof(o)?o:o+"")in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f="recharts-tooltip-wrapper",p={visibility:"hidden"};function getTooltipTranslateXY(e){var t=e.allowEscapeViewBox,n=e.coordinate,o=e.key,i=e.offsetTopLeft,a=e.position,c=e.reverseDirection,u=e.tooltipDimension,s=e.viewBox,f=e.viewBoxDimension;if(a&&(0,l.hj)(a[o]))return a[o];var p=n[o]-u-i,d=n[o]+i;return t[o]?c[o]?p:d:c[o]?p<s[o]?Math.max(d,s[o]):Math.max(p,s[o]):d+u>s[o]+f?Math.max(p,s[o]):Math.max(d,s[o])}function TooltipBoundingBox_typeof(e){return(TooltipBoundingBox_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function TooltipBoundingBox_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function TooltipBoundingBox_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?TooltipBoundingBox_ownKeys(Object(n),!0).forEach(function(t){TooltipBoundingBox_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):TooltipBoundingBox_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,TooltipBoundingBox_toPropertyKey(o.key),o)}}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function TooltipBoundingBox_defineProperty(e,t,n){return(t=TooltipBoundingBox_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TooltipBoundingBox_toPropertyKey(e){var t=function(e,t){if("object"!=TooltipBoundingBox_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=TooltipBoundingBox_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==TooltipBoundingBox_typeof(t)?t:t+""}var d=function(e){var t,n;function TooltipBoundingBox(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,TooltipBoundingBox);for(var e,t,n,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return t=TooltipBoundingBox,n=[].concat(i),t=_getPrototypeOf(t),TooltipBoundingBox_defineProperty(e=function(e,t){if(t&&("object"===TooltipBoundingBox_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,_isNativeReflectConstruct()?Reflect.construct(t,n||[],_getPrototypeOf(this).constructor):t.apply(this,n)),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),TooltipBoundingBox_defineProperty(e,"handleKeyDown",function(t){if("Escape"===t.key){var n,o,i,a;e.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(n=null===(o=e.props.coordinate)||void 0===o?void 0:o.x)&&void 0!==n?n:0,y:null!==(i=null===(a=e.props.coordinate)||void 0===a?void 0:a.y)&&void 0!==i?i:0}})}}),e}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}(TooltipBoundingBox,e),t=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();(Math.abs(e.width-this.state.lastBoundingBox.width)>1||Math.abs(e.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:e.width,height:e.height}})}else(-1!==this.state.lastBoundingBox.width||-1!==this.state.lastBoundingBox.height)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var e,t;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(e=this.props.coordinate)||void 0===e?void 0:e.x)!==this.state.dismissedAtCoordinate.x||(null===(t=this.props.coordinate)||void 0===t?void 0:t.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var e,t,n,i,a,c,u,d,y,h,g,v,m,b,_,x,O,S,P,j=this,w=this.props,A=w.active,C=w.allowEscapeViewBox,k=w.animationDuration,E=w.animationEasing,T=w.children,M=w.coordinate,D=w.hasPayload,I=w.isAnimationActive,N=w.offset,L=w.position,R=w.reverseDirection,B=w.useTranslate3d,z=w.viewBox,K=w.wrapperStyle,U=(v=(e={allowEscapeViewBox:C,coordinate:M,offsetTopLeft:N,position:L,reverseDirection:R,tooltipBox:this.state.lastBoundingBox,useTranslate3d:B,viewB
1ox:z}).allowEscapeViewBox,m=e.coordinate,b=e.offsetTopLeft,_=e.position,x=e.reverseDirection,O=e.tooltipBox,S=e.useTranslate3d,P=e.viewBox,O.height>0&&O.width>0&&m?(n=(t={translateX:h=getTooltipTranslateXY({allowEscapeViewBox:v,coordinate:m,key:"x",offsetTopLeft:b,position:_,reverseDirection:x,tooltipDimension:O.width,viewBox:P,viewBoxDimension:P.width}),translateY:g=getTooltipTranslateXY({allowEscapeViewBox:v,coordinate:m,key:"y",offsetTopLeft:b,position:_,reverseDirection:x,tooltipDimension:O.height,viewBox:P,viewBoxDimension:P.height}),useTranslate3d:S}).translateX,i=t.translateY,y={transform:t.useTranslate3d?"translate3d(".concat(n,"px, ").concat(i,"px, 0)"):"translate(".concat(n,"px, ").concat(i,"px)")}):y=p,{cssProperties:y,cssClasses:(c=(a={translateX:h,translateY:g,coordinate:m}).coordinate,u=a.translateX,d=a.translateY,(0,s.Z)(f,translate_defineProperty(translate_defineProperty(translate_defineProperty(translate_defineProperty({},"".concat(f,"-right"),(0,l.hj)(u)&&c&&(0,l.hj)(c.x)&&u>=c.x),"".concat(f,"-left"),(0,l.hj)(u)&&c&&(0,l.hj)(c.x)&&u<c.x),"".concat(f,"-bottom"),(0,l.hj)(d)&&c&&(0,l.hj)(c.y)&&d>=c.y),"".concat(f,"-top"),(0,l.hj)(d)&&c&&(0,l.hj)(c.y)&&d<c.y)))}),F=U.cssClasses,W=U.cssProperties,q=TooltipBoundingBox_objectSpread(TooltipBoundingBox_objectSpread({transition:I&&A?"transform ".concat(k,"ms ").concat(E):void 0},W),{},{pointerEvents:"none",visibility:!this.state.dismissed&&A&&D?"visible":"hidden",position:"absolute",top:0,left:0},K);return o.createElement("div",{tabIndex:-1,className:F,style:q,ref:function(e){j.wrapperNode=e}},T)}}],_defineProperties(TooltipBoundingBox.prototype,t),n&&_defineProperties(TooltipBoundingBox,n),Object.defineProperty(TooltipBoundingBox,"prototype",{writable:!1}),TooltipBoundingBox}(o.PureComponent),y=n(47523),h=n(78817);function Tooltip_typeof(e){return(Tooltip_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Tooltip_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function Tooltip_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tooltip_ownKeys(Object(n),!0).forEach(function(t){Tooltip_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tooltip_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Tooltip_defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Tooltip_toPropertyKey(o.key),o)}}function Tooltip_isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Tooltip_isNativeReflectConstruct=function(){return!!e})()}function Tooltip_getPrototypeOf(e){return(Tooltip_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Tooltip_setPrototypeOf(e,t){return(Tooltip_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Tooltip_defineProperty(e,t,n){return(t=Tooltip_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tooltip_toPropertyKey(e){var t=function(e,t){if("object"!=Tooltip_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Tooltip_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Tooltip_typeof(t)?t:t+""}function defaultUniqBy(e){return e.dataKey}var g=function(e){var t,n;function Tooltip(){var e,t;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,Tooltip),e=Tooltip,t=arguments,e=Tooltip_getPrototypeOf(e),function(e,t){if(t&&("object"===Tooltip_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,Tooltip_isNativeReflectConstruct()?Reflect.construct(e,t||[],Tooltip_getPrototypeOf(this).constructor):e.apply(this,t))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Tooltip_setPrototypeOf(e,t)}(Tooltip,e),t=[{key:"render",value:function(){var e,t=this,n=this.props,i=n.active,a=n.allowEscapeViewBox,c=n.animationDuration,u=n.animationEasing,s=n.content,l=n.coordinate,f=n.filterNull,p=n.isAnimationActive,y=n.offset,g=n.payload,v=n.payloadUniqBy,m=n.position,b=n.reverseDirection,_=n.useTranslate3d,x=n.viewBox,O=n.wrapperStyle,S=null!=g?g:[];f&&S.length&&(S=(0,h.z)(g.filter(function(e){return null!=e.value&&(!0!==e.hide||t.props.includeHidden)}),v,defaultUniqBy));var P=S.length>0;return o.createElement(d,{allowEscapeViewBox:a,animationDuration:c,animationEasing:u,isAnimationActive:p,active:i,coordinate:l,hasPayload:P,offset:y,position:m,reverseDirection:b,useTranslate3d:_,viewBox:x,wrapperStyle:O},(e=Tooltip_objectSpread(Tooltip_objectSpread({},this.props),{},{payload:S}),o.isValidElement(s)?o.cloneElement(s,e):"function"==typeof s?o.
1createElement(s,e):o.createElement(DefaultTooltipContent,e)))}}],Tooltip_defineProperties(Tooltip.prototype,t),n&&Tooltip_defineProperties(Tooltip,n),Object.defineProperty(Tooltip,"prototype",{writable:!1}),Tooltip}(o.PureComponent);Tooltip_defineProperty(g,"displayName","Tooltip"),Tooltip_defineProperty(g,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!y.x.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}})},48710:function(e,t,n){"use strict";n.d(t,{m:function(){return u}});var o=n(67294),i=n(83231),a=n(52017),c=["children","className"];function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var u=o.forwardRef(function(e,t){var n=e.children,u=e.className,s=function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,c),l=(0,i.Z)("recharts-layer",u);return o.createElement("g",_extends({className:l},(0,a.L6)(s,!0),{ref:t}),n)})},20514:function(e,t,n){"use strict";n.d(t,{T:function(){return Surface}});var o=n(67294),i=n(83231),a=n(52017),c=["children","width","height","viewBox","className","style","title","desc"];function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function Surface(e){var t=e.children,n=e.width,u=e.height,s=e.viewBox,l=e.className,f=e.style,p=e.title,d=e.desc,y=function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,c),h=s||{width:n,height:u,x:0,y:0},g=(0,i.Z)("recharts-surface",l);return o.createElement("svg",_extends({},(0,a.L6)(y,!0,"svg"),{className:g,width:n,height:u,style:f,viewBox:"".concat(h.x," ").concat(h.y," ").concat(h.width," ").concat(h.height)}),o.createElement("title",null,p),o.createElement("desc",null,d),t)}},92140:function(e,t,n){"use strict";n.d(t,{br:function(){return ChartLayoutContextProvider},CW:function(){return useArbitraryXAxis},Mw:function(){return useChartHeight},zn:function(){return useChartWidth},sp:function(){return useClipPathId},qD:function(){return useOffset},d2:function(){return useViewBox},bH:function(){return useXAxisOrThrow},Ud:function(){return useYAxisOrThrow},Nf:function(){return useYAxisWithFiniteDomainOrRandom}});var o=n(67294),i=n(38776),a=n(13311),c=n.n(a),u=n(711),s=n.n(u),l=n(88306),f=n.n(l)()(function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}},function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")}),p=n(69055),d=(0,o.createContext)(void 0),y=(0,o.createContext)(void 0),h=(0,o.createContext)(void 0),g=(0,o.createContext)({}),v=(0,o.createContext)(void 0),m=(0,o.createContext)(0),b=(0,o.createContext)(0),ChartLayoutContextProvider=function(e){var t=e.state,n=t.xAxisMap,i=t.yAxisMap,a=t.offset,c=e.clipPathId,u=e.children,s=e.width,l=e.height,p=f(a);return o.createElement(d.Provider,{value:n},o.createElement(y.Provider,{value:i},o.createElement(g.Provider,{value:a},o.createElement(h.Provider,{value:p},o.createElement(v.Provider,{value:c},o.createElement(m.Provider,{value:l},o.createElement(b.Provider,{value:s},u)))))))},useClipPathId=function(){return(0,o.useContext)(v)},useXAxisOrThrow=function(e){var t=(0,o.useContext)(d);null!=t||(0,i.Z)(!1);var n=t[e];return null!=n||(0,i.Z)(!1),n},useArbitraryXAxis=function(){var e=(0,o.useContext)(d);return(0,p.Kt)(e)},useYAxisWithFiniteDomainOrRandom=function(){var e=(0,o.useContext)(y);return c()(e,function(e){return s()(e.domain,Number.isFinite)})||(0,p.Kt)(e)},useYAxisOrThrow=function(e){var t=(0,o.useContext)(y);null!=t||(0,i.Z)(!1);var n=t[e];return null!=n||(0,i.Z)(!1),n},useViewBox=function(){return(0,o.useContext)(h)},useOffset=function(){return(0,o.useContext)(g)},useChartWidth=function(){return(0,o.useContext)(b)},useChartHeight=function(){return(0,o.useContext)(m)}},46208:function(e,t,n){"use strict";n.d(t,{b:function(){return k}});var o=n(67294),i=n(93842),a=n(27361),c=n.n(a),u=n(18446),s=n.n(u),l=n(14293),f=n.n(l),p=n(23560),d=n.n(p),y=n(83231),h=n(48710),g=n(66338),v=n(84642),m=n(25048),b=n(2763),_=n(43815),x=n(52017),O=n(47523),S=n(40048),P=n(69055),j=n(75471),w=n(6213),A=n(79896),C=n(49465);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?ownKeys(Object(n),!0).forEach(function(t){_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _defineProperty(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toPropertyKey(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}var k=function(e){var t,n;function Pie(e){var t,n,o;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,Pie),n=Pie,o=[e],n=_getPrototypeOf(n),_defineProperty(t=function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,_isNativeReflectConstruct()?Reflect.construct(n,o||[],_getPrototypeOf(this).constructor):n.apply(this,o)),"pieRef",null),_defineProperty(t,"sectorRefs",[]),_defineProperty(t,"id",(0,P.EL)("recharts-pie-")),_defineProperty(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),d()(e)&&e()}),_defineProperty(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),d()(e)&&e()}),t.state={isAnimationFinished:!e.isAnimationActive,prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,sectorToFocus:0},t}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}(Pie,e),t=[{key:"isActiveIndex",value:function(e){var t=this.props.activeIndex;return Array.isArray(t)?-1!==t.indexOf(e):e===t}},{key:"hasActiveIndex",value:function(){var e=this.props.activeIndex;return Array.isArray(e)?0!==e.length:e||0===e}},{key:"renderLabels",value:function(e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var t=this.props,n=t.label,i=t.labelLine,a=t.dataKey,c=t.valueKey,u=(0,x.L6)(this.props,!1),s=(0,x.L6)(n,!1),l=(0,x.L6)(i,!1),p=n&&n.offsetRadius||20,d=e.map(function(e,t){var d=(e.startAngle+e.endAngle)/2,y=(0,S.op)(e.cx,e.cy,e.outerRadius+p,d),g=_objectSpread(_objectSpread(_objectSpread(_objectSpread({},u),e),{},{stroke:"none"},s),{},{index:t,textAnchor:Pie.getTextAnchor(y.x,e.cx)},y),v=_objectSpread(_objectSpread(_objectSpread(_objectSpread({},u),e),{},{fill:"none",stroke:e.fill},l),{},{index:t,points:[(0,S.op)(e.cx,e.cy,e.outerRadius,d),y]}),m=a;return f()(a)&&f()(c)?m="value":f()(a)&&(m=c),o.createElement(h.m,{key:"label-".concat(e.startAngle,"-").concat(e.endAngle,"-").concat(e.midAngle,"-").concat(t)},i&&Pie.renderLabelLineItem(i,v,"line"),Pie.renderLabelItem(n,g,(0,j.F$)(e,m)))});return o.createElement(h.m,{className:"recharts-pie-labels"},d)}},{key:"renderSectorsStatically",value:function(e){var t=this,n=this.props,i=n.activeShape,a=n.blendStroke,c=n.inactiveShape;return e.map(function(n,u){if((null==n?void 0:n.startAngle)===0&&(null==n?void 0:n.endAngle)===0&&1!==e.length)return null;var s=t.isActiveIndex(u),l=c&&t.hasActiveIndex()?c:null,f=_objectSpread(_objectSpread({},n),{},{stroke:a?n.fill:n.stroke,tabIndex:-1});return o.createElement(h.m,_extends({ref:function(e){e&&!t.sectorRefs.includes(e)&&t.sectorRefs.push(e)}
1,tabIndex:-1,className:"recharts-pie-sector"},(0,A.bw)(t.props,n,u),{key:"sector-".concat(null==n?void 0:n.startAngle,"-").concat(null==n?void 0:n.endAngle,"-").concat(n.midAngle,"-").concat(u)}),o.createElement(C.bn,_extends({option:s?i:l,isActive:s,shapeType:"sector"},f)))})}},{key:"renderSectorsWithAnimation",value:function(){var e=this,t=this.props,n=t.sectors,a=t.isAnimationActive,u=t.animationBegin,s=t.animationDuration,l=t.animationEasing,f=t.animationId,p=this.state,d=p.prevSectors,y=p.prevIsAnimationActive;return o.createElement(i.ZP,{begin:u,duration:s,isActive:a,easing:l,from:{t:0},to:{t:1},key:"pie-".concat(f,"-").concat(y),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(t){var i=t.t,a=[],u=(n&&n[0]).startAngle;return n.forEach(function(e,t){var n=d&&d[t],o=t>0?c()(e,"paddingAngle",0):0;if(n){var s=(0,P.k4)(n.endAngle-n.startAngle,e.endAngle-e.startAngle),l=_objectSpread(_objectSpread({},e),{},{startAngle:u+o,endAngle:u+s(i)+o});a.push(l),u=l.endAngle}else{var f=e.endAngle,p=e.startAngle,y=(0,P.k4)(0,f-p)(i),h=_objectSpread(_objectSpread({},e),{},{startAngle:u+o,endAngle:u+y+o});a.push(h),u=h.endAngle}}),o.createElement(h.m,null,e.renderSectorsStatically(a))})}},{key:"attachKeyboardHandlers",value:function(e){var t=this;e.onkeydown=function(e){if(!e.altKey)switch(e.key){case"ArrowLeft":var n=++t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[n].focus(),t.setState({sectorToFocus:n});break;case"ArrowRight":var o=--t.state.sectorToFocus<0?t.sectorRefs.length-1:t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[o].focus(),t.setState({sectorToFocus:o});break;case"Escape":t.sectorRefs[t.state.sectorToFocus].blur(),t.setState({sectorToFocus:0})}}}},{key:"renderSectors",value:function(){var e=this.props,t=e.sectors,n=e.isAnimationActive,o=this.state.prevSectors;return n&&t&&t.length&&(!o||!s()(o,t))?this.renderSectorsWithAnimation():this.renderSectorsStatically(t)}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hide,i=t.sectors,a=t.className,c=t.label,u=t.cx,s=t.cy,l=t.innerRadius,f=t.outerRadius,p=t.isAnimationActive,d=this.state.isAnimationFinished;if(n||!i||!i.length||!(0,P.hj)(u)||!(0,P.hj)(s)||!(0,P.hj)(l)||!(0,P.hj)(f))return null;var g=(0,y.Z)("recharts-pie",a);return o.createElement(h.m,{tabIndex:this.props.rootTabIndex,className:g,ref:function(t){e.pieRef=t}},this.renderSectors(),c&&this.renderLabels(i),m._.renderCallByParent(this.props,null,!1),(!p||d)&&b.e.renderCallByParent(this.props,i,!1))}}],n=[{key:"getDerivedStateFromProps",value:function(e,t){return t.prevIsAnimationActive!==e.isAnimationActive?{prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:[],isAnimationFinished:!0}:e.isAnimationActive&&e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:t.curSectors,isAnimationFinished:!0}:e.sectors!==t.curSectors?{curSectors:e.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(e,t){return e>t?"start":e<t?"end":"middle"}},{key:"renderLabelLineItem",value:function(e,t,n){if(o.isValidElement(e))return o.cloneElement(e,t);if(d()(e))return e(t);var i=(0,y.Z)("recharts-pie-label-line","boolean"!=typeof e?e.className:"");return o.createElement(g.H,_extends({},t,{key:n,type:"linear",className:i}))}},{key:"renderLabelItem",value:function(e,t,n){if(o.isValidElement(e))return o.cloneElement(e,t);var i=n;if(d()(e)&&(i=e(t),o.isValidElement(i)))return i;var a=(0,y.Z)("recharts-pie-label-text","boolean"==typeof e||d()(e)?"":e.className);return o.createElement(v.x,_extends({},t,{alignmentBaseline:"middle",className:a}),i)}}],t&&_defineProperties(Pie.prototype,t),n&&_defineProperties(Pie,n),Object.defineProperty(Pie,"prototype",{writable:!1}),Pie}(o.PureComponent);_defineProperty(k,"displayName","Pie"),_defineProperty(k,"defaultProps",{stroke:"#fff",fill:"#808080",legendType:"rect",cx:"50%",cy:"50%",startAngle:0,endAngle:360,innerRadius:0,outerRadius:"80%",paddingAngle:0,labelLine:!0,hide:!1,minA
1ngle:0,isAnimationActive:!O.x.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",blendStroke:!1,rootTabIndex:0}),_defineProperty(k,"parseDeltaAngle",function(e,t){return(0,P.uY)(t-e)*Math.min(Math.abs(t-e),360)}),_defineProperty(k,"getRealPieData",function(e){var t=e.data,n=e.children,o=(0,x.L6)(e,!1),i=(0,x.NN)(n,_.b);return t&&t.length?t.map(function(e,t){return _objectSpread(_objectSpread(_objectSpread({payload:e},o),e),i&&i[t]&&i[t].props)}):i&&i.length?i.map(function(e){return _objectSpread(_objectSpread({},o),e.props)}):[]}),_defineProperty(k,"parseCoordinateOfPie",function(e,t){var n=t.top,o=t.left,i=t.width,a=t.height,c=(0,S.$4)(i,a);return{cx:o+(0,P.h1)(e.cx,i,i/2),cy:n+(0,P.h1)(e.cy,a,a/2),innerRadius:(0,P.h1)(e.innerRadius,c,0),outerRadius:(0,P.h1)(e.outerRadius,c,.8*c),maxRadius:e.maxRadius||Math.sqrt(i*i+a*a)/2}}),_defineProperty(k,"getComposedData",function(e){var t,n,o=e.item,i=e.offset,a=void 0!==o.type.defaultProps?_objectSpread(_objectSpread({},o.type.defaultProps),o.props):o.props,c=k.getRealPieData(a);if(!c||!c.length)return null;var u=a.cornerRadius,s=a.startAngle,l=a.endAngle,p=a.paddingAngle,d=a.dataKey,y=a.nameKey,h=a.valueKey,g=a.tooltipType,v=Math.abs(a.minAngle),m=k.parseCoordinateOfPie(a,i),b=k.parseDeltaAngle(s,l),_=Math.abs(b),x=d;f()(d)&&f()(h)?((0,w.Z)(!1,'Use "dataKey" to specify the value of pie,\n      the props "valueKey" will be deprecated 
1in 1.1.0'),x="value"):f()(d)&&((0,w.Z)(!1,'Use "dataKey" to specify the value of pie,\n      the props "valueKey" will be deprecated in 1.1.0'),x=h);var O=c.filter(function(e){return 0!==(0,j.F$)(e,x,0)}).length,A=_-O*v-(_>=360?O:O-1)*p,C=c.reduce(function(e,t){var n=(0,j.F$)(t,x,0);return e+((0,P.hj)(n)?n:0)},0);return C>0&&(t=c.map(function(e,t){var o,i=(0,j.F$)(e,x,0),a=(0,j.F$)(e,y,t),c=((0,P.hj)(i)?i:0)/C,l=(o=t?n.endAngle+(0,P.uY)(b)*p*(0!==i?1:0):s)+(0,P.uY)(b)*((0!==i?v:0)+c*A),f=(o+l)/2,d=(m.innerRadius+m.outerRadius)/2,h=[{name:a,value:i,payload:e,dataKey:x,type:g}],_=(0,S.op)(m.cx,m.cy,d,f);return n=_objectSpread(_objectSpread(_objectSpread({percent:c,cornerRadius:u,name:a,tooltipPayload:h,midAngle:f,middleRadius:d,tooltipPosition:_},e),m),{},{value:(0,j.F$)(e,x),startAngle:o,endAngle:l,payload:e,paddingAngle:(0,P.uY)(b)*p})})),_objectSpread(_objectSpread({},m),{},{sectors:t,data:c})})},66338:function(e,t,n){"use strict";n.d(t,{H:function(){return Curve}});var o=n(67294);function noop(){}function point(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Basis(e){this._context=e}function BasisClosed(e){this._context=e}function BasisOpen(e){this._context=e}Basis.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:point(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:point(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},BasisClosed.prototype={areaStart:noop,areaEnd:noop,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:point(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},BasisOpen.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,o=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,o):this._context.moveTo(n,o);break;case 3:this._point=4;default:point(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};let Bump=class Bump{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}};function LinearClosed(e){this._context=e}function Linear(e){this._context=e}function linear(e){return new Linear(e)}function slope3(e,t,n){var o=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(o||i<0&&-0),c=(n-e._y1)/(i||o<0&&-0);return((a<0?-1:1)+(c<0?-1:1))*Math.min(Math.abs(a),Math.abs(c),.5*Math.abs((a*i+c*o)/(o+i)))||0}function slope2(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function monotone_point(e,t,n){var o=e._x0,i=e._y0,a=e._x1,c=e._y1,u=(a-o)/3;e._context.bezierCurveTo(o+u,i+u*t,a-u,c-u*n,a,c)}function MonotoneX(e){this._context=e}function MonotoneY(e){this._context=new ReflectContext(e)}function ReflectContext(e){this._context=e}function Natural(e){this._context=e}function controlPoints(e){var t,n,o=e.length-1,i=Array(o),a=Array(o),c=Array(o);for(i[0]=0,a[0]=2,c[0]=e[0]+2*e[1],t=1;t<o-1;++t)i[t]=1,a[t]=4,c[t]=4*e[t]+2*e[t+1];for(i[o-1]=2,a[o-1]=7,c[o-1]=8*e[o-1]+e[o],t=1;t<o;++t)n=i[t]/a[t-1],a[t]-=n,c[t]-=n*c[t-1];for(i[o-1]=c[o-1]/a[o-1],t=o-2;t>=0;--t)i[t]=(c[t]-i[t+1])/a[t];for(t=0,a[o-1]=(e[o]+i[o-1])/2;t<o-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function Step(e,t){this._context=e,this._t=t}LinearClosed.prototype={areaStart:noop,areaEnd:noop,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},Linear.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},MonotoneX.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:monotone_point(this,this._t0,slope2(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,monotone_point(this,slope2(this,n=slope3(this,e,t)),n);break;default:monotone_point(this,this._t0,n=slope3(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(MonotoneY.prototype=Object.create(MonotoneX.prototype)).point=function(e,t){MonotoneX.prototype.point.call(this,t,e)},ReflectContext.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,o,i,a){this._context.bezierCurveTo(t,e,o,n,a,i)}},Natural.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n){if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var o=controlPoints(e),i=controlPoints(t),a=0,c=1;c<n;++a,++c)this._context.bezierCurveTo(o[0][a],i[0][a],o[1][a],i[1][a],e[c],t[c])}(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},Step.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var i=n(94788),a=n(20309),c=n(52882);function point_x(e){return e[0]}function point_y(e){return e[1]}function line(e,t){var n=(0,a.Z)(!0),o=null,u=linear,s=null,l=(0,c.d)(line);
1function line(a){var c,f,p,d=(a=(0,i.Z)(a)).length,y=!1;for(null==o&&(s=u(p=l())),c=0;c<=d;++c)!(c<d&&n(f=a[c],c,a))===y&&((y=!y)?s.lineStart():s.lineEnd()),y&&s.point(+e(f,c,a),+t(f,c,a));if(p)return s=null,p+""||null}return e="function"==typeof e?e:void 0===e?point_x:(0,a.Z)(e),t="function"==typeof t?t:void 0===t?point_y:(0,a.Z)(t),line.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,a.Z)(+t),line):e},line.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,a.Z)(+e),line):t},line.defined=function(e){return arguments.length?(n="function"==typeof e?e:(0,a.Z)(!!e),line):n},line.curve=function(e){return arguments.length?(u=e,null!=o&&(s=u(o)),line):u},line.context=function(e){return arguments.length?(null==e?o=s=null:s=u(o=e),line):o},line}function src_area(e,t,n){var o=null,u=(0,a.Z)(!0),s=null,l=linear,f=null,p=(0,c.d)(area);function area(a){var c,d,y,h,g,v=(a=(0,i.Z)(a)).length,m=!1,b=Array(v),_=Array(v);for(null==s&&(f=l(g=p())),c=0;c<=v;++c){if(!(c<v&&u(h=a[c],c,a))===m){if(m=!m)d=c,f.areaStart(),f.lineStart();else{for(f.lineEnd(),f.lineStart(),y=c-1;y>=d;--y)f.point(b[y],_[y]);f.lineEnd(),f.areaEnd()}}m&&(b[c]=+e(h,c,a),_[c]=+t(h,c,a),f.point(o?+o(h,c,a):b[c],n?+n(h,c,a):_[c]))}if(g)return f=null,g+""||null}function arealine(){return line().defined(u).curve(l).context(s)}return e="function"==typeof e?e:void 0===e?point_x:(0,a.Z)(+e),t="function"==typeof t?t:void 0===t?(0,a.Z)(0):(0,a.Z)(+t),n="function"==typeof n?n:void 0===n?point_y:(0,a.Z)(+n),area.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,a.Z)(+t),o=null,area):e},area.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,a.Z)(+t),area):e},area.x1=function(e){return arguments.length?(o=null==e?null:"function"==typeof e?e:(0,a.Z)(+e),area):o},area.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,a.Z)(+e),n=null,area):t},area.y0=function(e){return arguments.length?(t="function"==typeof e?e:(0,a.Z)(+e),area):t},area.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:(0,a.Z)(+e),area):n},area.lineX0=area.lineY0=function(){return arealine().x(e).y(t)},area.lineY1=function(){return arealine().x(e).y(n)},area.lineX1=function(){return arealine().x(o).y(t)},area.defined=function(e){return arguments.length?(u="function"==typeof e?e:(0,a.Z)(!!e),area):u},area.curve=function(e){return arguments.length?(l=e,null!=s&&(f=l(s)),area):l},area.context=function(e){return arguments.length?(null==e?s=f=null:f=l(s=e),area):s},area}var u=n(11700),s=n.n(u),l=n(23560),f=n.n(l),p=n(83231),d=n(79896),y=n(52017),h=n(69055);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var g={curveBasisClosed:function(e){return new BasisClosed(e)},curveBasisOpen:function(e){return new BasisOpen(e)},curveBasis:function(e){return new Basis(e)},curveBumpX:function(e){return new Bump(e,!0)},curveBumpY:function(e){return new Bump(e,!1)},curveLinearClosed:function(e){return new LinearClosed(e)},curveLinear:linear,curveMonotoneX:function(e){return new MonotoneX(e)},curveMonotoneY:function(e){return new MonotoneY(e)},curveNatural:function(e){return new Natural(e)},curveStep:function(e){return new Step(e,.5)},curveStepAfter:function(e){return new Step(e,1)},curveStepBefore:function(e){return new Step(e,0)}},defined=function(e){return e.x===+e.x&&e.y===+e.y},getX=function(e){return e.x},getY=function(e){return e.y},getCurveFactory=function(e,t){if(f()(e))return e;var n="curve".concat(s()(e));return("curveMonotone"===n||"curveBump"===n)&&t?g["".concat(n).concat("vertical"===t?"Y":"X")]:g[n]||linear},getPath=function(e){var t,n=e.type,o=e.points,i=void 0===o?[]:o,a=e.baseLine,c=e.layout,u=e.connectNulls,s=void 0!==u&&u,l=getCurveFactory(void 0===n?"linear":n,c),f=s?i.filter(function(e){return defined(e)}):i;if(Array.isArray(a)){var p=s?a.filter(function(e){return defined(e)}):a,d=f.map(function(e,t){return _objectSpread(_objectSpread({},e),{},{base:p[t]})});return(t="vertical"===c?src_area().y(getY).x1(getX).x0(function(e){return e.base.x}):src_area().x(getX).y1(getY).y0(function(e){return e.base.y})).defined(defined).curve(l),t(d)}return(t="vertical"===c&&(0,h.hj)(a)?src_area().y(getY).x1(getX).x0(a):(0,h.hj)(a)?src_area().x(getX).y1(getY).y0(a):line().x(getX).y(getY)).defined(defined).curve(l),t(f)},Curve=function(e){var t=e.className,n=e.points,i=e.path,a=e.pathRef;if((!n||!n.length)&&!i)return null;var c=n&&n.length?getPath(e):i;return o.createElement("path",_extends({},(0,y.L6)(e,!1),(0,d.Ym)(e),{className:(0,p.Z)("recharts-curve",t),d:c,ref:a}))}},93061:function(e,t,n){"use strict";n.d(t,{o:function(){return Dot}});var o=n(67294),i=n(83231),a=n(79896),c=n(52017);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var Dot=function(e){var t=e.cx,n=e.cy,u=e.r,s=e.className,l=(0,i.Z)("recharts-dot",s);return t===+t&&n===+n&&u===+u?o.createElement("circle",_extends({},(0,c.L6)(e,!1),(0,a.Ym)(e),{className:l,cx:t,cy:n,r:u})):null}},13481:function(e,t,n){"use strict";n.d(t,{A:function(){return Rectangle},X:function(){return isInRectangle}});var o=n(67294),i=n(83231),a=n(93842),c=n(52017);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?ownKeys(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var getRectanglePath=function(e,t,n,o,i){var a,c=Math.min(Math.abs(n)/2,Math.abs(o)/2),u=o>=0?1:-1,s=n>=0?1:-1,l=o>=0&&n>=0||o<0&&n<0?1:0;if(c>0&&i instanceof Array){for(var f=[0,0,0,0],p=0;p<4;p++)f[p]=i[p]>c?c:i[p];a="M".concat(e,",").concat(t+u*f[0]),f[0]>0&&(a+="A ".concat(f[0],",").concat(f[0],",0,0,").concat(l,",").concat(e+s*f[0],",").concat(t)),a+="L ".concat(e+n-s*f[1],",").concat(t),f[1]>0&&(a+="A ".concat(f[1],",").concat(f[1],",0,0,").concat(l,",\n        ").concat(e+n,",").concat(t+u*f[1])),a+="L ".concat(e+n,",").concat(t+o-u*f[2]),f[2]>0&&(a+="A ".concat(f[2],",").concat(f[2],",0,0,").concat(l,",\n        ").concat(e+n-s*f[2],",").concat(t+o)),a+="L ".concat(e+s*f[3],",").concat(t+o),f[3]>0&&(a+="A ".concat(f[3],",").concat(f[3],",0,0,").concat(l,",\n        ").concat(e,",").concat(t+o-u*f[3])),a+="Z"}else if(c>0&&i===+i&&i>0){var d=Math.min(c,i);a="M ".concat(e,",").concat(t+u*d,"\n            A ").concat(d,",").concat(d,",0,0,").concat(l,",").concat(e+s*d,",").concat(t,"\n            L ").concat(e+n-s*d,",").concat(t,"\n            A ").concat(d,",").concat(d,",0,0,").concat(l,",").concat(e+n,",").concat(t+u*d,"\n            L ").concat(e+n,",").concat(t+o-u*d,"\n            A ").concat(d,",").concat(d,",0,0,").concat(l,",").concat(e+n-s*d,",").concat(t+o,"\n            L ").concat(e+s*d,",").concat(t+o,"\n            A ").concat(d,",").concat(d,",0,0,").concat(l,",").concat(e,",").concat(t+o-u*d," Z")}else a="M ".concat(e,",").concat(t," h ").concat(n," v ").concat(o," h ").concat(-n," Z");return a},isInRectangle=function(e,t){if(!e||!t)return!1;var n=e.x,o=e.y,i=t.x,a=t.y,c=t.width,u=t.height;return!!(Math.abs(c)>0&&Math.abs(u)>0)&&n>=Math.min(i,i+c)&&n<=Math.max(i,i+c)&&o>=Math.min(a,a+u)&&o<=Math.max(a,a+u)},u={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Rectangle=function(e){var t,n=_objectSpread(_objectSpread({},u),e),s=(0,o.useRef)(),l=function(e){if(Array.isArray(e))return e}(t=(0,o.useState)(-1))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,a,c,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(o=a.call(n)).done)&&(u.push(o.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(l)throw i}}return u}}(t,2)||function(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),f=l[0],p=l[1];(0,o.useEffect)(function(){if(s.current&&s.current.getTotalLength)try{var e=s.current.getTotalLength();e&&p(e)}catch(e){}},[]);var d=n.x,y=n.y,h=n.width,g=n.height,v=n.radius,m=n.className,b=n.animationEasing,_=n.animationDuration,x=n.animationBegin,O=n.isAnimationActive,S=n.isUpdateAnimationActive;if(d!==+d||y!==+y||h!==+h||g!==+g||0===h||0===g)return null;var P=(0,i.Z)("recharts-rectangle",m);return S?o.createElement(a.ZP,{canBegin:f>0,from:{width:h,height:g,x:d,y:y},to:{width:h,height:g,x:d,y:y},duration:_,animationEasing:b,isActive:S}
1,function(e){var t=e.width,i=e.height,u=e.x,l=e.y;return o.createElement(a.ZP,{canBegin:f>0,from:"0px ".concat(-1===f?1:f,"px"),to:"".concat(f,"px 0px"),attributeName:"strokeDasharray",begin:x,duration:_,isActive:O,easing:b},o.createElement("path",_extends({},(0,c.L6)(n,!0),{className:P,d:getRectanglePath(u,l,t,i,v),ref:s})))}):o.createElement("path",_extends({},(0,c.L6)(n,!0),{className:P,d:getRectanglePath(d,y,h,g,v)}))}},45108:function(e,t,n){"use strict";n.d(t,{L:function(){return Sector}});var o=n(67294),i=n(83231),a=n(52017),c=n(40048),u=n(69055);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var getTangentCircle=function(e){var t=e.cx,n=e.cy,o=e.radius,i=e.angle,a=e.sign,u=e.isExternal,s=e.cornerRadius,l=e.cornerIsExternal,f=s*(u?1:-1)+o,p=Math.asin(s/f)/c.Wk,d=l?i:i+a*p,y=(0,c.op)(t,n,f,d),h=(0,c.op)(t,n,o,d),g=l?i-a*p:i;return{center:y,circleTangency:h,lineTangency:(0,c.op)(t,n,f*Math.cos(p*c.Wk),g),theta:p}},getSectorPath=function(e){var t=e.cx,n=e.cy,o=e.innerRadius,i=e.outerRadius,a=e.startAngle,s=e.endAngle,l=(0,u.uY)(s-a)*Math.min(Math.abs(s-a),359.999),f=a+l,p=(0,c.op)(t,n,i,a),d=(0,c.op)(t,n,i,f),y="M ".concat(p.x,",").concat(p.y,"\n    A ").concat(i,",").concat(i,",0,\n    ").concat(+(Math.abs(l)>180),",").concat(+(a>f),",\n    ").concat(d.x,",").concat(d.y,"\n  ");if(o>0){var h=(0,c.op)(t,n,o,a),g=(0,c.op)(t,n,o,f);y+="L ".concat(g.x,",").concat(g.y,"\n            A ").concat(o,",").concat(o,",0,\n            ").concat(+(Math.abs(l)>180),",").concat(+(a<=f),",\n            ").concat(h.x,",").concat(h.y," Z")}else y+="L ".concat(t,",").concat(n," Z");return y},getSectorWithCorner=function(e){var t=e.cx,n=e.cy,o=e.innerRadius,i=e.outerRadius,a=e.cornerRadius,c=e.forceCornerRadius,s=e.cornerIsExternal,l=e.startAngle,f=e.endAngle,p=(0,u.uY)(f-l),d=getTangentCircle({cx:t,cy:n,radius:i,angle:l,sign:p,cornerRadius:a,cornerIsExternal:s}),y=d.circleTangency,h=d.lineTangency,g=d.theta,v=getTangentCircle({cx:t,cy:n,radius:i,angle:f,sign:-p,cornerRadius:a,cornerIsExternal:s}),m=v.circleTangency,b=v.lineTangency,_=v.theta,x=s?Math.abs(l-f):Math.abs(l-f)-g-_;if(x<0)return c?"M ".concat(h.x,",").concat(h.y,"\n        a").concat(a,",").concat(a,",0,0,1,").concat(2*a,",0\n        a").concat(a,",").concat(a,",0,0,1,").concat(-(2*a),",0\n      "):getSectorPath({cx:t,cy:n,innerRadius:o,outerRadius:i,startAngle:l,endAngle:f});var O="M ".concat(h.x,",").concat(h.y,"\n    A").concat(a,",").concat(a,",0,0,").concat(+(p<0),",").concat(y.x,",").concat(y.y,"\n    A").concat(i,",").concat(i,",0,").concat(+(x>180),",").concat(+(p<0),",").concat(m.x,",").concat(m.y,"\n    A").concat(a,",").concat(a,",0,0,").concat(+(p<0),",").concat(b.x,",").concat(b.y,"\n  ");if(o>0){var S=getTangentCircle({cx:t,cy:n,radius:o,angle:l,sign:p,isExternal:!0,cornerRadius:a,cornerIsExternal:s}),P=S.circleTangency,j=S.lineTangency,w=S.theta,A=getTangentCircle({cx:t,cy:n,radius:o,angle:f,sign:-p,isExternal:!0,cornerRadius:a,cornerIsExternal:s}),C=A.circleTangency,k=A.lineTangency,E=A.theta,T=s?Math.abs(l-f):Math.abs(l-f)-w-E;if(T<0&&0===a)return"".concat(O,"L").concat(t,",").concat(n,"Z");O+="L".concat(k.x,",").concat(k.y,"\n      A").concat(a,",").concat(a,",0,0,").concat(+(p<0),",").concat(C.x,",").concat(C.y,"\n      A").concat(o,",").concat(o,",0,").concat(+(T>180),",").concat(+(p>0),",").concat(P.x,",").concat(P.y,"\n      A").concat(a,",").concat(a,",0,0,").concat(+(p<0),",").concat(j.x,",").concat(j.y,"Z")}else O+="L".concat(t,",").concat(n,"Z");return O},s={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},Sector=function(e){var t,n=_objectSpread(_objectSpread({},s),e),c=n.cx,l=n.cy,f=n.innerRadius,p=n.outerRadius,d=n.cornerRadius,y=n.forceCornerRadius,h=n.cornerIsExternal,g=n.startAngle,v=n.endAngle,m=n.className;if(p<f||g===v)return null;var b=(0,i.Z)("recharts-sector",m),_=p-f,x=(0,u.h1)(d,_,0,!0);return t=x>0&&360>Math.abs(g-v)?getSectorWithCorner({cx:c,cy:l,innerRadius:f,outerRadius:p,cornerRadius:Math.min(x,_/2),forceCornerRadius:y,cornerIsExternal:h,startAngle:g,endAngle:v}):getSectorPath({cx:c,cy:l,innerRadius:f,outerRadius:p,startAngle:g,endAngle:v}),o.createElement("path",_extends({},(0,a.L6)(n,!0),{className:b,d:t,role:"img"}))}},21138:function(e,t,n){"use strict";n.d(t,{v:function(){return Symbols}});var o=n(67294),i=n(11700),a=n.n(i);let c=Math.cos,u=Math.sin,s=Math.sqrt,l=Math.PI,f=2*l;var p={draw(e,t){let n=s(t/l);e.moveTo(n,0),e.arc(0,0,n,0,f)}};let d=s(1/3),y=2*d,h=u(l/10)/u(7*l/10),g=u(f/10)*h,v=-c(f/10)*h,m=s(3),b=s(3)/2,_=1/s(12),x=(_/2+1)*3;var O=n(20309),S=n(52882);s(3),s(3);var P=n(83231),j=n(52017);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var w=["type","size","sizeType"];function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?ownKeys(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var A={symbolCircle:p,symbolCross:{draw(e,t){let n=s(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},symbolDiamond:{draw(e,t){let n=s(t/y),o=n*d;e.moveTo(0,-n),e.lineTo(o,0),e.lineTo(0,n),e.lineTo(-o,0),e.closePath()}},symbolSquare:{draw(e,t){let n=s(t),o=-n/2;e.rect(o,o,n,n)}},symbolStar:{draw(e,t){let n=s(.8908130915292852*t),o=g*n,i=v*n;e.moveTo(0,-n),e.lineTo(o,i);for(let t=1;t<5;++t){let a=f*t/5,s=c(a),l=u(a);e.lineTo(l*n,-s*n),e.lineTo(s*o-l*i,l*o+s*i)}e.closePath()}},symbolTriangle:{draw(e,t){let n=-s(t/(3*m));e.moveTo(0,2*n),e.lineTo(-m*n,-n),e.lineTo(m*n,-n),e.closePath()}},symbolWye:{draw(e,t){let n=s(t/x),o=n/2,i=n*_,a=n*_+n,c=-o;e.moveTo(o,i),e.lineTo(o,a),e.lineTo(c,a),e.lineTo(-.5*o-b*i,b*o+-.5*i),e.lineTo(-.5*o-b*a,b*o+-.5*a),e.lineTo(-.5*c-b*a,b*c+-.5*a),e.lineTo(-.5*o+b*i,-.5*i-b*o),e.lineTo(-.5*o+b*a,-.5*a-b*o),e.lineTo(-.5*c+b*a,-.5*a-b*c),e.closePath()}}},C=Math.PI/180,calculateAreaSize=function(e,t,n){if("area"===t)return e;switch(n){case"cross":return 5*e*e/9;case"diamond":return .5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var o=18*C;return 1.25*e*e*(Math.tan(o)-Math.tan(2*o)*Math.pow(Math.tan(o),2));case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},Symbols=function(e){var t,n=e.type,i=void 0===n?"circle":n,c=e.size,u=void 0===c?64:c,s=e.sizeType,l=void 0===s?"area":s,f=_objectSpread(_objectSpread({},function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,w)),{},{type:i,size:u,sizeType:l}),d=f.className,y=f.cx,h=f.cy,g=(0,j.L6)(f,!0);return y===+y&&h===+h&&u===+u?o.createElement("path",_extends({}
1,g,{className:(0,P.Z)("recharts-symbols",d),transform:"translate(".concat(y,", ").concat(h,")"),d:(t=A["symbol".concat(a()(i))]||p,(function(e,t){let n=null,o=(0,S.d)(symbol);function symbol(){let i;if(n||(n=i=o()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),i)return n=null,i+""||null}return e="function"==typeof e?e:(0,O.Z)(e||p),t="function"==typeof t?t:(0,O.Z)(void 0===t?64:+t),symbol.type=function(t){return arguments.length?(e="function"==typeof t?t:(0,O.Z)(t),symbol):e},symbol.size=function(e){return arguments.length?(t="function"==typeof e?e:(0,O.Z)(+e),symbol):t},symbol.context=function(e){return arguments.length?(n=null==e?null:e,symbol):n},symbol})().type(t).size(calculateAreaSize(u,l,i))())})):null};Symbols.registerSymbol=function(e,t){A["symbol".concat(a()(e))]=t}},49465:function(e,t,n){"use strict";n.d(t,{bn:function(){return Shape},a3:function(){return getActiveShapeIndexForTooltip},lT:function(){return isFunnel},V$:function(){return isPie},w7:function(){return isScatter}});var o=n(67294),i=n(23560),a=n.n(i),c=n(68630),u=n.n(c),s=n(51584),l=n.n(s),f=n(18446),p=n.n(f),d=n(13481),y=n(83231),h=n(93842),g=n(52017);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var getTrapezoidPath=function(e,t,n,o,i){var a=n-o;return"M ".concat(e,",").concat(t)+"L ".concat(e+n,",").concat(t)+"L ".concat(e+n-a/2,",").concat(t+i)+"L ".concat(e+n-a/2-o,",").concat(t+i)+"L ".concat(e,",").concat(t," Z")},v={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Trapezoid=function(e){var t,n=_objectSpread(_objectSpread({},v),e),i=(0,o.useRef)(),a=function(e){if(Array.isArray(e))return e}(t=(0,o.useState)(-1))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,a,c,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(o=a.call(n)).done)&&(u.push(o.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(l)throw i}}return u}}(t,2)||function(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),c=a[0],u=a[1];(0,o.useEffect)(function(){if(i.current&&i.current.getTotalLength)try{var e=i.current.getTotalLength();e&&u(e)}catch(e){}},[]);var s=n.x,l=n.y,f=n.upperWidth,p=n.lowerWidth,d=n.height,m=n.className,b=n.animationEasing,_=n.animationDuration,x=n.animationBegin,O=n.isUpdateAnimationActive;if(s!==+s||l!==+l||f!==+f||p!==+p||d!==+d||0===f&&0===p||0===d)return null;var S=(0,y.Z)("recharts-trapezoid",m);return O?o.createElement(h.ZP,{canBegin:c>0,from:{upperWidth:0,lowerWidth:0,height:d,x:s,y:l},to:{upperWidth:f,lowerWidth:p,height:d,x:s,y:l},duration:_,animationEasing:b,isActive:O},function(e){var t=e.upperWidth,a=e.lowerWidth,u=e.height,s=e.x,l=e.y;return o.createElement(h.ZP,{canBegin:c>0,from:"0px ".concat(-1===c?1:c,"px"),to:"".concat(c,"px 0px"),attributeName:"strokeDasharray",begin:x,duration:_,easing:b},o.createElement("path",_extends({}
1,(0,g.L6)(n,!0),{className:S,d:getTrapezoidPath(s,l,t,a,u),ref:i})))}):o.createElement("g",null,o.createElement("path",_extends({},(0,g.L6)(n,!0),{className:S,d:getTrapezoidPath(s,l,f,p,d)})))},m=n(45108),b=n(48710),_=n(21138),x=["option","shapeType","propTransformer","activeClassName","isActive"];function ActiveShapeUtils_typeof(e){return(ActiveShapeUtils_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ActiveShapeUtils_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function ActiveShapeUtils_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ActiveShapeUtils_ownKeys(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=ActiveShapeUtils_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=ActiveShapeUtils_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ActiveShapeUtils_typeof(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ActiveShapeUtils_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ShapeSelector(e){var t=e.shapeType,n=e.elementProps;switch(t){case"rectangle":return o.createElement(d.A,n);case"trapezoid":return o.createElement(Trapezoid,n);case"sector":return o.createElement(m.L,n);case"symbols":if("symbols"===t)return o.createElement(_.v,n);break;default:return null}}function Shape(e){var t,n=e.option,i=e.shapeType,c=e.propTransformer,s=e.activeClassName,f=e.isActive,p=function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,x);if((0,o.isValidElement)(n))t=(0,o.cloneElement)(n,ActiveShapeUtils_objectSpread(ActiveShapeUtils_objectSpread({},p),(0,o.isValidElement)(n)?n.props:n));else if(a()(n))t=n(p);else if(u()(n)&&!l()(n)){var d=(void 0===c?function(e,t){return ActiveShapeUtils_objectSpread(ActiveShapeUtils_objectSpread({},t),e)}:c)(n,p);t=o.createElement(ShapeSelector,{shapeType:i,elementProps:d})}else t=o.createElement(ShapeSelector,{shapeType:i,elementProps:p});return f?o.createElement(b.m,{className:void 0===s?"recharts-active-shape":s},t):t}function isFunnel(e,t){return null!=t&&"trapezoids"in e.props}function isPie(e,t){return null!=t&&"sectors"in e.props}function isScatter(e,t){return null!=t&&"points"in e.props}function compareFunnel(e,t){var n,o,i=e.x===(null==t||null===(n=t.labelViewBox)||void 0===n?void 0:n.x)||e.x===t.x,a=e.y===(null==t||null===(o=t.labelViewBox)||void 0===o?void 0:o.y)||e.y===t.y;return i&&a}function comparePie(e,t){var n=e.endAngle===t.endAngle,o=e.startAngle===t.startAngle;return n&&o}function compareScatter(e,t){var n=e.x===t.x,o=e.y===t.y,i=e.z===t.z;return n&&o&&i}function getActiveShapeIndexForTooltip(e){var t,n,o,i=e.activeTooltipItem,a=e.graphicalItem,c=e.itemData,u=(isFunnel(a,i)?t="trapezoids":isPie(a,i)?t="sectors":isScatter(a,i)&&(t="points"),t),s=isFunnel(a,i)?null===(n=i.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:isPie(a,i)?null===(o=i.tooltipPayload)||void 0===o||null===(o=o[0])||void 0===o||null===(o=o.payload)||void 0===o?void 0:o.payload:isScatter(a,i)?i.payload:{},l=c.filter(function(e,t){var n=p()(s,e),o=a.props[u].filter(function(e){var t;return(isFunnel(a,i)?t=compareFunnel:isPie(a,i)?t=comparePie:isScatter(a,i)&&(t=compareScatter),t)(e,i)}),c=a.props[u].indexOf(o[o.length-1]);return n&&t===c});return c.indexOf(l[l.length-1])}},97187:function(e,t,n){"use strict";n.d(t,{Ky:function(){return createLabeledScales},O1:function(){return rectWithPoints},_b:function(){return rectWithCoords},t9:function(){return formatAxisMap},xE:function(){return getAngledRectangleWidth}});var o=n(66604),i=n.n(o),a=n(711),c=n.n(a),u=n(75471),s=n(52017),l=n(69055),f=n(18001);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
vendor: 4,430 bytes, line 1
1t%2?ownKeys(Object(n),!0).forEach(function(t){_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _defineProperty(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toPropertyKey(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}var formatAxisMap=function(e,t,n,o,i){var a=e.width,c=e.height,p=e.layout,d=e.children,y=Object.keys(t),h={left:n.left,leftMirror:n.left,right:a-n.right,rightMirror:a-n.right,top:n.top,topMirror:n.top,bottom:c-n.bottom,bottomMirror:c-n.bottom},g=!!(0,s.sP)(d,f.$);return y.reduce(function(a,c){var s,f,d,y,v,m=t[c],b=m.orientation,_=m.domain,x=m.padding,O=void 0===x?{}:x,S=m.mirror,P=m.reversed,j="".concat(b).concat(S?"Mirror":"");if("number"===m.type&&("gap"===m.padding||"no-gap"===m.padding)){var w=_[1]-_[0],A=1/0,C=m.categoricalDomain.sort(l.fC);if(C.forEach(function(e,t){t>0&&(A=Math.min((e||0)-(C[t-1]||0),A))}),Number.isFinite(A)){var k=A/w,E="vertical"===m.layout?n.height:n.width;if("gap"===m.padding&&(s=k*E/2),"no-gap"===m.padding){var T=(0,l.h1)(e.barCategoryGap,k*E),M=k*E/2;s=M-T-(M-T)/E*T}}}f="xAxis"===o?[n.left+(O.left||0)+(s||0),n.left+n.width-(O.right||0)-(s||0)]:"yAxis"===o?"horizontal"===p?[n.top+n.height-(O.bottom||0),n.top+(O.top||0)]:[n.top+(O.top||0)+(s||0),n.top+n.height-(O.bottom||0)-(s||0)]:m.range,P&&(f=[f[1],f[0]]);var D=(0,u.Hq)(m,i,g),I=D.scale,N=D.realScaleType;I.domain(_).range(f),(0,u.zF)(I);var L=(0,u.g$)(I,_objectSpread(_objectSpread({},m),{},{realScaleType:N}));"xAxis"===o?(v="top"===b&&!S||"bottom"===b&&S,d=n.left,y=h[j]-v*m.height):"yAxis"===o&&(v="left"===b&&!S||"right"===b&&S,d=h[j]-v*m.width,y=n.top);var R=_objectSpread(_objectSpread(_objectSpread({},m),L),{},{realScaleType:N,x:d,y:y,scale:I,width:"xAxis"===o?n.width:m.width,height:"yAxis"===o?n.height:m.height});return R.bandSize=(0,u.zT)(R,L),m.hide||"xAxis"!==o?m.hide||(h[j]+=(v?-1:1)*R.width):h[j]+=(v?-1:1)*R.height,_objectSpread(_objectSpread({},a),{},_defineProperty({},c,R))},{})},rectWithPoints=function(e,t){var n=e.x,o=e.y,i=t.x,a=t.y;return{x:Math.min(n,i),y:Math.min(o,a),width:Math.abs(i-n),height:Math.abs(a-o)}},rectWithCoords=function(e){return rectWithPoints({x:e.x1,y:e.y1},{x:e.x2,y:e.y2})},p=function(){var e,t;function ScaleHelper(e){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,ScaleHelper),this.scale=e}return e=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.bandAware,o=t.position;if(void 0!==e){if(o)switch(o){case"start":default:return this.scale(e);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+i;case"end":var a=this.bandwidth?this.bandwidth():0;return this.scale(e)+a}if(n){var c=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+c}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),n=t[0],o=t[t.length-1];return n<=o?e>=n&&e<=o:e>=o&&e<=n}}],t=[{key:"create",value:function(e){return new ScaleHelper(e)}}],e&&_defineProperties(ScaleHelper.prototype,e),t&&_defineProperties(ScaleHelper,t),Object.defineProperty(ScaleHelper,"prototype",{writable:!1}),ScaleHelper}();_defineProperty(p,"EPS",1e-4);var createLabeledScales=function(e){var t=Object.keys(e).reduce(function(t,n){return _objectSpread(_objectSpread({},t),{},_defineProperty({},n,p.create(e[n])))},{});return _objectSpread(_objectSpread({},t),{},{apply:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.bandAware,a=n.position;return i()(e,function(e,n){return t[n].apply(e,{bandAware:o,position:a})})},isInRange:function(e){return c()(e,function(e,n){return t[n].isInRange(e)}
1)}})},getAngledRectangleWidth=function(e){var t=e.width,n=e.height,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=(o%180+180)%180*Math.PI/180,a=Math.atan(n/t);return Math.abs(i>a&&i<Math.PI-a?n/Math.sin(i):t/Math.cos(i))}},75471:function(e,t,n){"use strict";n.d(t,{By:function(){return appendOffsetOfLegend},VO:function(){return calculateActiveTickIndex},zF:function(){return checkDomainOfScale},DO:function(){return combineEventHandlers},Bu:function(){return findPositionOfBar},zT:function(){return getBandSizeOfAxis},qz:function(){return getBarPosition},pt:function(){return getBarSizeList},Yj:function(){return getBaseValueOfBar},Fy:function(){return getCateCoordinateOfBar},Hv:function(){return getCateCoordinateOfLine},Rf:function(){return getCoordinatesOfGrid},gF:function(){return getDomainOfDataByKey},s6:function(){return getDomainOfItemsWithSameAxis},EB:function(){return getDomainOfStackGroups},fk:function(){return getMainColorOfGraphicItem},wh:function(){return getStackGroupsByAxisId},O3:function(){return getStackedDataOfItem},uY:function(){return getTicksOfAxis},g$:function(){return getTicksOfScale},Qo:function(){return getTooltipItem},F$:function(){return getValueByDataKey},NA:function(){return isCategoricalAxis},ko:function(){return parseDomainOfCategoryAxis},ZI:function(){return parseErrorBarsOfAxis},Hq:function(){return parseScale},LG:function(){return parseSpecifiedDomain},Vv:function(){return truncateByDomain}});var o,i,a,c,u,s,l,f={};n.r(f),n.d(f,{scaleBand:function(){return p.Z},scaleDiverging:function(){return function diverging(){var e=linearish(diverging_transformer()(identity));return e.copy=function(){return sequential_copy(e,diverging())},D.O.apply(e,arguments)}},scaleDivergingLog:function(){return function divergingLog(){var e=loggish(diverging_transformer()).domain([.1,1,10]);return e.copy=function(){return sequential_copy(e,divergingLog()).base(e.base())},D.O.apply(e,arguments)}},scaleDivergingPow:function(){return divergingPow},scaleDivergingSqrt:function(){return divergingSqrt},scaleDivergingSymlog:function(){return function divergingSymlog(){var e=symlogish(diverging_transformer());return e.copy=function(){return sequential_copy(e,divergingSymlog()).constant(e.constant())},D.O.apply(e,arguments)}},scaleIdentity:function(){return function identity_identity(e){var t;function scale(e){return null==e||isNaN(e=+e)?t:e}return scale.invert=scale,scale.domain=scale.range=function(t){return arguments.length?(e=Array.from(t,src_number_number),scale):e.slice()},scale.unknown=function(e){return arguments.length?(t=e,scale):t},scale.copy=function(){return identity_identity(e).unknown(t)},e=arguments.length?Array.from(e,src_number_number):[0,1],linearish(scale)}},scaleImplicit:function(){return B.O},scaleLinear:function(){return linear_linear},scaleLog:function(){return function log(){let e=loggish(transformer()).domain([1,10]);return e.copy=()=>copy(e,log()).base(e.base()),D.o.apply(e,arguments),e}},scaleOrdinal:function(){return B.Z},scalePoint:function(){return p.x},scalePow:function(){return pow},scaleQuantile:function(){return function quantile_quantile(){var e,t=[],n=[],o=[];function rescale(){var e=0,i=Math.max(1,n.length);for(o=Array(i-1);++e<i;)o[e-1]=function(e,t,n=number_number){if(!(!(o=e.length)||isNaN(t=+t))){if(t<=0||o<2)return+n(e[0],0,e);if(t>=1)return+n(e[o-1],o-1,e);var o,i=(o-1)*t,a=Math.floor(i),c=+n(e[a],a,e);return c+(+n(e[a+1],a+1,e)-c)*(i-a)}}(t,e/i);return scale}function scale(t){return null==t||isNaN(t=+t)?e:n[v(o,t)]}return scale.invertExtent=function(e){var i=n.indexOf(e);return i<0?[NaN,NaN]:[i>0?o[i-1]:t[0],i<o.length?o[i]:t[t.length-1]]},scale.domain=function(e){if(!arguments.length)return t.slice();for(let n of(t=[],e))null==n||isNaN(n=+n)||t.push(n);return t.sort(ascending),rescale()},scale.range=function(e){return arguments.length?(n=Array.from(e),rescale()):n.slice()},scale.unknown=function(t){return arguments.length?(e=t,scale):e},scale.quantiles=function(){return o.slice()},scale.copy=function(){return quantile_quantile().domain(t).range(n).unknown(e)},D.o.apply(scale,arguments)}},scaleQuantize:function(){return function quantize(){var e,t=0,n=1,o=1,i=[.5],a=[0,1];function scale(t){return null!=t&&t<=t?a[v(i,t,0,o)]:e}function rescale(){var e=-1;for(i=Array(o);++e<o;)i[e]=((e+1)*n-(e-o)*t)/(o+1);return scale}return scale.domain=function(e){return arguments.length?([t,n]=e,t=+t,n=+n,rescale()):[t,n]},scale.range=function(e){return arguments.length?(o=(a=Array.from(e)).length-1,rescale()):a.slice()},scale.invertExtent=function(e){var c=a.indexOf(e);
1return c<0?[NaN,NaN]:c<1?[t,i[0]]:c>=o?[i[o-1],n]:[i[c-1],i[c]]},scale.unknown=function(t){return arguments.length&&(e=t),scale},scale.thresholds=function(){return i.slice()},scale.copy=function(){return quantize().domain([t,n]).range(a).unknown(e)},D.o.apply(linearish(scale),arguments)}},scaleRadial:function(){return function radial(){var e,t=continuous(),n=[0,1],o=!1;function scale(n){var i,a=Math.sign(i=t(n))*Math.sqrt(Math.abs(i));return isNaN(a)?e:o?Math.round(a):a}return scale.invert=function(e){return t.invert(square(e))},scale.domain=function(e){return arguments.length?(t.domain(e),scale):t.domain()},scale.range=function(e){return arguments.length?(t.range((n=Array.from(e,src_number_number)).map(square)),scale):n.slice()},scale.rangeRound=function(e){return scale.range(e).round(!0)},scale.round=function(e){return arguments.length?(o=!!e,scale):o},scale.clamp=function(e){return arguments.length?(t.clamp(e),scale):t.clamp()},scale.unknown=function(t){return arguments.length?(e=t,scale):e},scale.copy=function(){return radial(t.domain(),n).round(o).clamp(t.clamp()).unknown(e)},D.o.apply(scale,arguments),linearish(scale)}},scaleSequential:function(){return function sequential(){var e=linearish(sequential_transformer()(identity));return e.copy=function(){return sequential_copy(e,sequential())},D.O.apply(e,arguments)}},scaleSequentialLog:function(){return function sequentialLog(){var e=loggish(sequential_transformer()).domain([1,10]);return e.copy=function(){return sequential_copy(e,sequentialLog()).base(e.base())},D.O.apply(e,arguments)}},scaleSequentialPow:function(){return sequentialPow},scaleSequentialQuantile:function(){return function sequentialQuantile(){var e=[],t=identity;function scale(n){if(null!=n&&!isNaN(n=+n))return t((v(e,n,1)-1)/(e.length-1))}return scale.domain=function(t){if(!arguments.length)return e.slice();for(let n of(e=[],t))null==n||isNaN(n=+n)||e.push(n);return e.sort(ascending),scale},scale.interpolator=function(e){return arguments.length?(t=e,scale):t},scale.range=function(){return e.map((n,o)=>t(o/(e.length-1)))},scale.quantiles=function(t){return Array.from({length:t+1},(n,o)=>(function(e,t,n){if(!(!(o=(e=Float64Array.from(function*(e,t){if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&(yield t);else{let n=-1;for(let o of e)null!=(o=t(o,++n,e))&&(o=+o)>=o&&(yield o)}}(e,void 0))).length)||isNaN(t=+t))){if(t<=0||o<2)return min(e);if(t>=1)return max(e);var o,i=(o-1)*t,a=Math.floor(i),c=max((function quickselect_quickselect(e,t,n=0,o=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),o=Math.floor(Math.min(e.length-1,o)),!(n<=t&&t<=o))return e;for(i=void 0===i?sort_ascendingDefined:function(e=ascending){if(e===ascending)return sort_ascendingDefined;if("function"!=typeof e)throw TypeError("compare is not a function");return(t,n)=>{let o=e(t,n);return o||0===o?o:(0===e(n,n))-(0===e(t,t))}}(i);o>n;){if(o-n>600){let a=o-n+1,c=t-n+1,u=Math.log(a),s=.5*Math.exp(2*u/3),l=.5*Math.sqrt(u*s*(a-s)/a)*(c-a/2<0?-1:1),f=Math.max(n,Math.floor(t-c*s/a+l)),p=Math.min(o,Math.floor(t+(a-c)*s/a+l));quickselect_quickselect(e,t,f,p,i)}let a=e[t],c=n,u=o;for(swap(e,n,t),i(e[o],a)>0&&swap(e,n,o);c<u;){for(swap(e,c,u),++c,--u;0>i(e[c],a);)++c;for(;i(e[u],a)>0;)--u}0===i(e[n],a)?swap(e,n,u):swap(e,++u,o),u<=t&&(n=u+1),t<=u&&(o=u-1)}return e})(e,a).subarray(0,a+1));return c+(min(e.subarray(a+1))-c)*(i-a)}})(e,o/t))},scale.copy=function(){return sequentialQuantile(t).domain(e)},D.O.apply(scale,arguments)}},scaleSequentialSqrt:function(){return sequentialSqrt},scaleSequentialSymlog:function(){return function sequentialSymlog(){var e=symlogish(sequential_transformer());return e.copy=function(){return sequential_copy(e,sequentialSymlog()).constant(e.constant())},D.O.apply(e,arguments)}},scaleSqrt:function(){return sqrt},scaleSymlog:function(){return function symlog(){var e=symlogish(transformer());return e.copy=function(){return copy(e,symlog()).constant(e.constant())},D.o.apply(e,arguments)}},scaleThreshold:function(){return function threshold(){var e,t=[.5],n=[0,1],o=1;function scale(i){return null!=i&&i<=i?n[v(t,i,0,o)]:e}return scale.domain=function(e){return arguments.length?(o=Math.min((t=Array.from(e)).length,n.length-1),scale):t.slice()},scale.range=function(e){return arguments.length?(n=Array.from(e),o=Math.min(t.length,n.length-1),scale):n.slice()},scale.invertExtent=function(e){var o=n.indexOf(e);return[t[o-1],t[o]]},scale.unknown=function(t){return arguments.length?(e=t,scale):e},scale.copy=function(){return threshold().domain(t).range(n).unknown(e)},D.o.apply(scale,arguments)}},scaleTime:function(){return time},scaleUtc:function(){return utcTime},tickFormat:function(){return tickFormat}});var p=n(175);let d=Math.sqrt(50),y=Math.sqrt(10),h=Math.sqrt(2);
1function tickSpec(e,t,n){let o,i,a;let c=(t-e)/Math.max(0,n),u=Math.floor(Math.log10(c)),s=c/Math.pow(10,u),l=s>=d?10:s>=y?5:s>=h?2:1;return(u<0?(o=Math.round(e*(a=Math.pow(10,-u)/l)),i=Math.round(t*a),o/a<e&&++o,i/a>t&&--i,a=-a):(o=Math.round(e/(a=Math.pow(10,u)*l)),i=Math.round(t/a),o*a<e&&++o,i*a>t&&--i),i<o&&.5<=n&&n<2)?tickSpec(e,t,2*n):[o,i,a]}function ticks(e,t,n){if(t=+t,e=+e,!((n=+n)>0))return[];if(e===t)return[e];let o=t<e,[i,a,c]=o?tickSpec(t,e,n):tickSpec(e,t,n);if(!(a>=i))return[];let u=a-i+1,s=Array(u);if(o){if(c<0)for(let e=0;e<u;++e)s[e]=-((a-e)/c);else for(let e=0;e<u;++e)s[e]=(a-e)*c}else if(c<0)for(let e=0;e<u;++e)s[e]=-((i+e)/c);else for(let e=0;e<u;++e)s[e]=(i+e)*c;return s}function tickIncrement(e,t,n){return tickSpec(e=+e,t=+t,n=+n)[2]}function tickStep(e,t,n){t=+t,e=+e,n=+n;let o=t<e,i=o?tickIncrement(t,e,n):tickIncrement(e,t,n);return(o?-1:1)*(i<0?-(1/i):i)}function ascending(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function descending(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function bisector(e){let t,n,o;function left(e,o,i=0,a=e.length){if(i<a){if(0!==t(o,o))return a;do{let t=i+a>>>1;0>n(e[t],o)?i=t+1:a=t}while(i<a)}return i}return 2!==e.length?(t=ascending,n=(t,n)=>ascending(e(t),n),o=(t,n)=>e(t)-n):(t=e===ascending||e===descending?e:zero,n=e,o=e),{left,center:function(e,t,n=0,i=e.length){let a=left(e,t,n,i-1);return a>n&&o(e[a-1],t)>-o(e[a],t)?a-1:a},right:function(e,o,i=0,a=e.length){if(i<a){if(0!==t(o,o))return a;do{let t=i+a>>>1;0>=n(e[t],o)?i=t+1:a=t}while(i<a)}return i}}}function zero(){return 0}function number_number(e){return null===e?NaN:+e}let g=bisector(ascending),v=g.right;function src_define(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function extend(e,t){var n=Object.create(e.prototype);for(var o in t)n[o]=t[o];return n}function Color(){}g.left,bisector(number_number).center;var m="\\s*([+-]?\\d+)\\s*",b="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",_="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",x=/^#([0-9a-f]{3,8})$/,O=RegExp(`^rgb\\(${m},${m},${m}\\)$`),S=RegExp(`^rgb\\(${_},${_},${_}\\)$`),P=RegExp(`^rgba\\(${m},${m},${m},${b}\\)$`),j=RegExp(`^rgba\\(${_},${_},${_},${b}\\)$`),w=RegExp(`^hsl\\(${b},${_},${_}\\)$`),A=RegExp(`^hsla\\(${b},${_},${_},${b}\\)$`),C={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 color_formatHex(){return this.rgb().formatHex()}function color_formatRgb(){return this.rgb().formatRgb()}function color(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=x.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?rgbn(t):3===n?
vendor: 5,443 bytes, line 1
1new Rgb(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?rgba(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?rgba(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=O.exec(e))?new Rgb(t[1],t[2],t[3],1):(t=S.exec(e))?new Rgb(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=P.exec(e))?rgba(t[1],t[2],t[3],t[4]):(t=j.exec(e))?rgba(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=w.exec(e))?hsla(t[1],t[2]/100,t[3]/100,1):(t=A.exec(e))?hsla(t[1],t[2]/100,t[3]/100,t[4]):C.hasOwnProperty(e)?rgbn(C[e]):"transparent"===e?new Rgb(NaN,NaN,NaN,0):null}function rgbn(e){return new Rgb(e>>16&255,e>>8&255,255&e,1)}function rgba(e,t,n,o){return o<=0&&(e=t=n=NaN),new Rgb(e,t,n,o)}function color_rgb(e,t,n,o){var i;return 1==arguments.length?((i=e)instanceof Color||(i=color(i)),i)?(i=i.rgb(),new Rgb(i.r,i.g,i.b,i.opacity)):new Rgb:new Rgb(e,t,n,null==o?1:o)}function Rgb(e,t,n,o){this.r=+e,this.g=+t,this.b=+n,this.opacity=+o}function rgb_formatHex(){return`#${hex(this.r)}${hex(this.g)}${hex(this.b)}`}function rgb_formatRgb(){let e=clampa(this.opacity);return`${1===e?"rgb(":"rgba("}${clampi(this.r)}, ${clampi(this.g)}, ${clampi(this.b)}${1===e?")":`, ${e})`}`}function clampa(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function clampi(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function hex(e){return((e=clampi(e))<16?"0":"")+e.toString(16)}function hsla(e,t,n,o){return o<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Hsl(e,t,n,o)}function hslConvert(e){if(e instanceof Hsl)return new Hsl(e.h,e.s,e.l,e.opacity);if(e instanceof Color||(e=color(e)),!e)return new Hsl;if(e instanceof Hsl)return e;var t=(e=e.rgb()).r/255,n=e.g/255,o=e.b/255,i=Math.min(t,n,o),a=Math.max(t,n,o),c=NaN,u=a-i,s=(a+i)/2;return u?(c=t===a?(n-o)/u+(n<o)*6:n===a?(o-t)/u+2:(t-n)/u+4,u/=s<.5?a+i:2-a-i,c*=60):u=s>0&&s<1?0:c,new Hsl(c,u,s,e.opacity)}function Hsl(e,t,n,o){this.h=+e,this.s=+t,this.l=+n,this.opacity=+o}function clamph(e){return(e=(e||0)%360)<0?e+360:e}function clampt(e){return Math.max(0,Math.min(1,e||0))}function hsl2rgb(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}function basis(e,t,n,o,i){var a=e*e,c=a*e;return((1-3*e+3*a-c)*t+(4-6*a+3*c)*n+(1+3*e+3*a-3*c)*o+c*i)/6}src_define(Color,color,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:color_formatHex,formatHex:color_formatHex,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return hslConvert(this).formatHsl()},formatRgb:color_formatRgb,toString:color_formatRgb}),src_define(Rgb,color_rgb,extend(Color,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new Rgb(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new Rgb(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Rgb(clampi(this.r),clampi(this.g),clampi(this.b),clampa(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:rgb_formatHex,formatHex:rgb_formatHex,formatHex8:function(){return`#${hex(this.r)}${hex(this.g)}${hex(this.b)}${hex((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:rgb_formatRgb,toString:rgb_formatRgb})),src_define(Hsl,function(e,t,n,o){return 1==arguments.length?hslConvert(e):new Hsl(e,t,n,null==o?1:o)},extend(Color,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new Hsl(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new Hsl(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,o=n+(n<.5?n:1-n)*t,i=2*n-o;return new Rgb(hsl2rgb(e>=240?e-240:e+120,i,o),hsl2rgb(e,i,o),hsl2rgb(e<120?e+240:e-120,i,o),this.opacity)},clamp(){return new Hsl(clamph(this.h),clampt(this.s),clampt(this.l),clampa(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(){let e=clampa(this.opacity);return`${1===e?"hsl(":"hsla("}${clamph(this.h)}, ${100*clampt(this.s)}%, ${100*clampt(this.l)}%${1===e?")":`, ${e})`}`}}));var src_constant=e=>()=>e;function nogamma(e,t){var n=t-e;return n?function(t){return e+t*n}:src_constant(isNaN(e)?t:e)}var k=function rgbGamma(e){var t,n=1==(t=+(t=e))?nogamma:function(e,n){var o,i,a;return n-e?(o=e,i=n,o=Math.pow(o,a=t),i=Math.pow(i,a)-o,a=1/a,function(e){return Math.pow(o+e*i,a)}):src_constant(isNaN(e)?n:e)};function rgb(e,t){var o=n((e=color_rgb(e)).r,(t=color_rgb(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),c=nogamma(e.opacity,t.opacity);return function(t){return e.r=o(t),e.g=i(t),e.b=a(t),e.opacity=c(t),e+""}}return rgb.gamma=rgbGamma,rgb}(1);function rgbSpline(e){return function(t){var n,o,i=t.length,a=Array(i),c=Array(i),u=Array(i);for(n=0;n<i;++n)o=color_rgb(t[n]),a[n]=o.r||0,c[n]=o.g||0,u[n]=o.b||0;return a=e(a),c=e(c),u=e(u),o.opacity=1,function(e){return o.r=a(e),o.g=c(e),o.b=u(e),o+""}}}function src_number(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}rgbSpline(function(e){var t=e.length-1;return function(n){var o=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[o],a=e[o+1],c=o>0?e[o-1]:2*i-a,u=o<t-1?e[o+2]:2*a-i;return basis((n-o/t)*t,c,i,a,u)}}),rgbSpline(function(e){var t=e.length;return function(n){var o=Math.floor(((n%=1)<0?++n:n)*t),i=e[(o+t-1)%t],a=e[o%t],c=e[(o+1)%t],u=e[(o+2)%t];
1return basis((n-o/t)*t,i,a,c,u)}});var E=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,T=RegExp(E.source,"g");function value(e,t){var n,o,i=typeof t;return null==t||"boolean"===i?src_constant(t):("number"===i?src_number:"string"===i?(o=color(t))?(t=o,k):function(e,t){var n,o,i,a,c,u=E.lastIndex=T.lastIndex=0,s=-1,l=[],f=[];for(e+="",t+="";(i=E.exec(e))&&(a=T.exec(t));)(c=a.index)>u&&(c=t.slice(u,c),l[s]?l[s]+=c:l[++s]=c),(i=i[0])===(a=a[0])?l[s]?l[s]+=a:l[++s]=a:(l[++s]=null,f.push({i:s,x:src_number(i,a)})),u=T.lastIndex;return u<t.length&&(c=t.slice(u),l[s]?l[s]+=c:l[++s]=c),l.length<2?f[0]?(n=f[0].x,function(e){return n(e)+""}):(o=t,function(){return o}):(t=f.length,function(e){for(var n,o=0;o<t;++o)l[(n=f[o]).i]=n.x(e);return l.join("")})}:t instanceof color?k:t instanceof Date?function(e,t){var n=new Date;return e=+e,t=+t,function(o){return n.setTime(e*(1-o)+t*o),n}}:(n=t,!ArrayBuffer.isView(n)||n instanceof DataView)?Array.isArray(t)?function(e,t){var n,o=t?t.length:0,i=e?Math.min(o,e.length):0,a=Array(i),c=Array(o);for(n=0;n<i;++n)a[n]=value(e[n],t[n]);for(;n<o;++n)c[n]=t[n];return function(e){for(n=0;n<i;++n)c[n]=a[n](e);return c}}:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?function(e,t){var n,o={},i={};for(n in(null===e||"object"!=typeof e)&&(e={}),(null===t||"object"!=typeof t)&&(t={}),t)n in e?o[n]=value(e[n],t[n]):i[n]=t[n];return function(e){for(n in o)i[n]=o[n](e);return i}}:src_number:function(e,t){t||(t=[]);var n,o=e?Math.min(t.length,e.length):0,i=t.slice();return function(a){for(n=0;n<o;++n)i[n]=e[n]*(1-a)+t[n]*a;return i}})(e,t)}function round(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function src_number_number(e){return+e}var M=[0,1];function identity(e){return e}function normalize(e,t){var n;return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n})}function bimap(e,t,n){var o=e[0],i=e[1],a=t[0],c=t[1];return i<o?(o=normalize(i,o),a=n(c,a)):(o=normalize(o,i),a=n(a,c)),function(e){return a(o(e))}}function polymap(e,t,n){var o=Math.min(e.length,t.length)-1,i=Array(o),a=Array(o),c=-1;for(e[o]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++c<o;)i[c]=normalize(e[c],e[c+1]),a[c]=n(t[c],t[c+1]);return function(t){var n=v(e,t,1,o)-1;return a[n](i[n](t))}}function copy(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function transformer(){var e,t,n,o,i,a,c=M,u=M,s=value,l=identity;function rescale(){var e,t,n,s=Math.min(c.length,u.length);return l!==identity&&(e=c[0],t=c[s-1],e>t&&(n=e,e=t,t=n),l=function(n){return Math.max(e,Math.min(t,n))}),o=s>2?polymap:bimap,i=a=null,scale}function scale(t){return null==t||isNaN(t=+t)?n:(i||(i=o(c.map(e),u,s)))(e(l(t)))}return scale.invert=function(n){return l(t((a||(a=o(u,c.map(e),src_number)))(n)))},scale.domain=function(e){return arguments.length?(c=Array.from(e,src_number_number),rescale()):c.slice()},scale.range=function(e){return arguments.length?(u=Array.from(e),rescale()):u.slice()},scale.rangeRound=function(e){return u=Array.from(e),s=round,rescale()},scale.clamp=function(e){return arguments.length?(l=!!e||identity,rescale()):l!==identity},scale.interpolate=function(e){return arguments.length?(s=e,rescale()):s},scale.unknown=function(e){return arguments.length?(n=e,scale):n},function(n,o){return e=n,t=o,rescale()}}function continuous(){return transformer()(identity,identity)}var D=n(94182),I=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function formatSpecifier(e){var t;if(!(t=I.exec(e)))throw Error("invalid format: "+e);return new FormatSpecifier({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function FormatSpecifier(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function formatDecimalParts(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,o=e.slice(0,n);return[o.length>1?o[0]+o.slice(2):o,+e.slice(n+1)]}function exponent(e){return(e=formatDecimalParts(Math.abs(e)))?e[1]:NaN}function formatRounded(e,t){var n=formatDecimalParts(e,t);if(!n)return e+"";var o=n[0],i=n[1];return i<0?"0."+Array(-i).join("0")+o:o.length>i+1?o.slice(0,i+1)+"."+o.slice(i+1):o+Array(i-o.length+2).join("0")}formatSpecifier.prototype=FormatSpecifier.prototype,FormatSpecifier.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?""
1:Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var N={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>formatRounded(100*e,t),r:formatRounded,s:function(e,t){var n=formatDecimalParts(e,t);if(!n)return e+"";var i=n[0],a=n[1],c=a-(o=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,u=i.length;return c===u?i:c>u?i+Array(c-u+1).join("0"):c>0?i.slice(0,c)+"."+i.slice(c):"0."+Array(1-c).join("0")+formatDecimalParts(e,Math.max(0,t+c-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function src_identity(e){return e}var L=Array.prototype.map,R=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function tickFormat(e,t,n,o){var i,u,s=tickStep(e,t,n);switch((o=formatSpecifier(null==o?",f":o)).type){case"s":var l=Math.max(Math.abs(e),Math.abs(t));return null!=o.precision||isNaN(u=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(exponent(l)/3)))-exponent(Math.abs(s))))||(o.precision=u),c(o,l);case"":case"e":case"g":case"p":case"r":null!=o.precision||isNaN(u=Math.max(0,exponent(Math.abs(Math.max(Math.abs(e),Math.abs(t)))-(i=Math.abs(i=s)))-exponent(i))+1)||(o.precision=u-("e"===o.type));break;case"f":case"%":null!=o.precision||isNaN(u=Math.max(0,-exponent(Math.abs(s))))||(o.precision=u-("%"===o.type)*2)}return a(o)}function linearish(e){var t=e.domain;return e.ticks=function(e){var n=t();return ticks(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var o=t();return tickFormat(o[0],o[o.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var o,i,a=t(),c=0,u=a.length-1,s=a[c],l=a[u],f=10;for(l<s&&(i=s,s=l,l=i,i=c,c=u,u=i);f-- >0;){if((i=tickIncrement(s,l,n))===o)return a[c]=s,a[u]=l,t(a);if(i>0)s=Math.floor(s/i)*i,l=Math.ceil(l/i)*i;else if(i<0)s=Math.ceil(s*i)/i,l=Math.floor(l*i)/i;else break;o=i}return e},e}function linear_linear(){var e=continuous();return e.copy=function(){return copy(e,linear_linear())},D.o.apply(e,arguments),linearish(e)}function nice(e,t){e=e.slice();var n,o=0,i=e.length-1,a=e[o],c=e[i];return c<a&&(n=o,o=i,i=n,n=a,a=c,c=n),e[o]=t.floor(a),e[i]=t.ceil(c),e}function transformLog(e){return Math.log(e)}function transformExp(e){return Math.exp(e)}function transformLogn(e){return-Math.log(-e)}function transformExpn(e){return-Math.exp(-e)}function pow10(e){return isFinite(e)?+("1e"+e):e<0?0:e}function reflect(e){return(t,n)=>-e(-t,n)}function loggish(e){let t,n;let o=e(transformLog,transformExp),i=o.domain,c=10;function rescale(){var a,u;return t=(a=c)===Math.E?Math.log:10===a&&Math.log10||2===a&&Math.log2||(a=Math.log(a),e=>Math.log(e)/a),n=10===(u=c)?pow10:u===Math.E?Math.exp:e=>Math.pow(u,e),i()[0]<0?(t=reflect(t),n=reflect(n),e(transformLogn,transformExpn)):e(transformLog,transformExp),o}return o.base=function(e){return arguments.length?(c=+e,rescale()):c},o.domain=function(e){return arguments.length?(i(e),rescale()):i()},o.ticks=e=>{let o,a;let u=i(),s=u[0],l=u[u.length-1],f=l<s;f&&([s,l]=[l,s]);let p=t(s),d=t(l),y=null==e?10:+e,h=[];if(!(c%1)&&d-p<y){if(p=Math.floor(p),d=Math.ceil(d),s>0){for(;p<=d;++p)for(o=1;o<c;++o)if(!((a=p<0?o/n(-p):o*n(p))<s)){if(a>l)break;h.push(a)}}else for(;p<=d;++p)for(o=c-1;o>=1;--o)if(!((a=p>0?o/n(-p):o*n(p))<s)){if(a>l)break;h.push(a)}2*h.length<y&&(h=ticks(s,l,y))}else h=ticks(p,d,Math.min(d-p,y)).map(n);return f?h.reverse():h},o.tickFormat=(e,i)=>{if(null==e&&(e=10),null==i&&(i=10===c?"s":","),"function"!=typeof i&&(c%1||null!=(i=formatSpecifier(i)).precision||(i.trim=!0),i=a(i)),e===1/0)return i;let u=Math.max(1,c*e/o.ticks().length);return e=>{let o=e/n(Math.round(t(e)));return o*c<c-.5&&(o*=c),o<=u?i(e):""}},o.nice=()=>i(nice(i(),{floor:e=>n(Math.floor(t(e))),ceil:e=>n(Math.ceil(t(e)))})),o}function transformSymlog(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function transformSymexp(e){return function(t){return Math.sign(t)*
vendor: 1,357 bytes, line 1
1Math.expm1(Math.abs(t))*e}}function symlogish(e){var t=1,n=e(transformSymlog(1),transformSymexp(t));return n.constant=function(n){return arguments.length?e(transformSymlog(t=+n),transformSymexp(t)):t},linearish(n)}a=(i=function(e){var t,n,i,a=void 0===e.grouping||void 0===e.thousands?src_identity:(t=L.call(e.grouping,Number),n=e.thousands+"",function(e,o){for(var i=e.length,a=[],c=0,u=t[0],s=0;i>0&&u>0&&(s+u+1>o&&(u=Math.max(1,o-s)),a.push(e.substring(i-=u,i+u)),!((s+=u+1)>o));)u=t[c=(c+1)%t.length];return a.reverse().join(n)}),c=void 0===e.currency?"":e.currency[0]+"",u=void 0===e.currency?"":e.currency[1]+"",s=void 0===e.decimal?".":e.decimal+"",l=void 0===e.numerals?src_identity:(i=L.call(e.numerals,String),function(e){return e.replace(/[0-9]/g,function(e){return i[+e]})}),f=void 0===e.percent?"%":e.percent+"",p=void 0===e.minus?"−":e.minus+"",d=void 0===e.nan?"NaN":e.nan+"";function newFormat(e){var t=(e=formatSpecifier(e)).fill,n=e.align,i=e.sign,y=e.symbol,h=e.zero,g=e.width,v=e.comma,m=e.precision,b=e.trim,_=e.type;"n"===_?(v=!0,_="g"):N[_]||(void 0===m&&(m=12),b=!0,_="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var x="$"===y?c:"#"===y&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",O="$"===y?u:/[%p]/.test(_)?f:"",S=N[_],P=/[defgprs%]/.test(_);function format(e){var c,u,f,y=x,j=O;if("c"===_)j=S(e)+j,e="";else{var w=(e=+e)<0||1/e<0;
vendor: 9,523 bytes, line 1
1if(e=isNaN(e)?d:S(Math.abs(e),m),b&&(e=function(e){t:for(var t,n=e.length,o=1,i=-1;o<n;++o)switch(e[o]){case".":i=t=o;break;case"0":0===i&&(i=o),t=o;break;default:if(!+e[o])break t;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),w&&0==+e&&"+"!==i&&(w=!1),y=(w?"("===i?i:p:"-"===i||"("===i?"":i)+y,j=("s"===_?R[8+o/3]:"")+j+(w&&"("===i?")":""),P){for(c=-1,u=e.length;++c<u;)if(48>(f=e.charCodeAt(c))||f>57){j=(46===f?s+e.slice(c+1):e.slice(c))+j,e=e.slice(0,c);break}}}v&&!h&&(e=a(e,1/0));var A=y.length+e.length+j.length,C=A<g?Array(g-A+1).join(t):"";switch(v&&h&&(e=a(C+e,C.length?g-j.length:1/0),C=""),n){case"<":e=y+e+j+C;break;case"=":e=y+C+e+j;break;case"^":e=C.slice(0,A=C.length>>1)+y+e+j+C.slice(A);break;default:e=C+y+e+j}return l(e)}return m=void 0===m?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),format.toString=function(){return e+""},format}return{format:newFormat,formatPrefix:function(e,t){var n=newFormat(((e=formatSpecifier(e)).type="f",e)),o=3*Math.max(-8,Math.min(8,Math.floor(exponent(t)/3))),i=Math.pow(10,-o),a=R[8+o/3];return function(e){return n(i*e)+a}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,c=i.formatPrefix;var B=n(46244);function transformPow(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function transformSqrt(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function transformSquare(e){return e<0?-e*e:e*e}function powish(e){var t=e(identity,identity),n=1;return t.exponent=function(t){return arguments.length?1==(n=+t)?e(identity,identity):.5===n?e(transformSqrt,transformSquare):e(transformPow(n),transformPow(1/n)):n},linearish(t)}function pow(){var e=powish(transformer());return e.copy=function(){return copy(e,pow()).exponent(e.exponent())},D.o.apply(e,arguments),e}function sqrt(){return pow.apply(null,arguments).exponent(.5)}function square(e){return Math.sign(e)*e*e}function max(e,t){let n;if(void 0===t)for(let t of e)null!=t&&(n<t||void 0===n&&t>=t)&&(n=t);else{let o=-1;for(let i of e)null!=(i=t(i,++o,e))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}function min(e,t){let n;if(void 0===t)for(let t of e)null!=t&&(n>t||void 0===n&&t>=t)&&(n=t);else{let o=-1;for(let i of e)null!=(i=t(i,++o,e))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function sort_ascendingDefined(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(e<t?-1:e>t?1:0)}function swap(e,t,n){let o=e[t];e[t]=e[n],e[n]=o}let z=864e5,K=7*z,U=30*z,F=365*z,W=new Date,q=new Date;function timeInterval(e,t,n,o){function interval(t){return e(t=0==arguments.length?new Date:new Date(+t)),t}return interval.floor=t=>(e(t=new Date(+t)),t),interval.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),interval.round=e=>{let t=interval(e),n=interval.ceil(e);return e-t<n-e?t:n},interval.offset=(e,n)=>(t(e=new Date(+e),null==n?1:Math.floor(n)),e),interval.range=(n,o,i)=>{let a;let c=[];if(n=interval.ceil(n),i=null==i?1:Math.floor(i),!(n<o)||!(i>0))return c;do c.push(a=new Date(+n)),t(n,i),e(n);while(a<n&&n<o);return c},interval.filter=n=>timeInterval(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,o)=>{if(e>=e){if(o<0)for(;++o<=0;)for(;t(e,-1),!n(e););else for(;--o>=0;)for(;t(e,1),!n(e););}}),n&&(interval.count=(t,o)=>(W.setTime(+t),q.setTime(+o),e(W),e(q),Math.floor(n(W,q))),interval.every=e=>isFinite(e=Math.floor(e))&&e>0?e>1?interval.filter(o?t=>o(t)%e==0:t=>interval.count(0,t)%e==0):interval:null),interval}let $=timeInterval(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);$.every=e=>isFinite(e=Math.floor(e))&&e>0?e>1?timeInterval(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):$:null,$.range;let Z=timeInterval(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+1e3*t)},(e,t)=>(t-e)/1e3,e=>e.getUTCSeconds());Z.range;let H=timeInterval(e=>{e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())},(e,t)=>{e.setTime(+e+6e4*t)},(e,t)=>(t-e)/6e4,e=>e.getMinutes());H.range;let V=timeInterval(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+6e4*t)},(e,t)=>(t-e)/6e4,e=>e.getUTCMinutes());V.range;let Y=timeInterval(e=>{e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-6e4*e.getMinutes())},(e,t)=>{e.setTime(+e+36e5*t)},(e,t)=>(t-e)/36e5,e=>e.getHours());Y.range;let X=timeInterval(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+36e5*t)},(e,t)=>(t-e)/36e5,e=>e.getUTCHours());X.range;let G=timeInterval(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/z,e=>e.getDate()-1);G.range;let Q=timeInterval(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/z,e=>e.getUTCDate()-1);Q.range;let J=timeInterval(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/z,e=>Math.floor(e/z));function timeWeekday(e){return timeInterval(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+7*t)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/K)}J.range;let ee=timeWeekday(0),et=timeWeekday(1),er=timeWeekday(2),en=timeWeekday(3),eo=timeWeekday(4),ei=timeWeekday(5),ea=timeWeekday(6);function utcWeekday(e){return timeInterval(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)},(e,t)=>(t-e)/K)}ee.range,et.range,er.range,en.range,eo.range,ei.range,ea.range;let ec=utcWeekday(0),eu=utcWeekday(1),es=utcWeekday(2),el=utcWeekday(3),ef=utcWeekday(4),ep=utcWeekday(5),ed=utcWeekday(6);ec.range,eu.range,es.range,el.range,ef.range,ep.range,ed.range;let ey=timeInterval(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());ey.range;let eh=timeInterval(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());eh.range;let eg=timeInterval(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());eg.every=e=>isFinite(e=Math.floor(e))&&e>0?timeInterval(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}):null,eg.range;let ev=timeInterval(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());function ticker(e,t,n,o,i,a){let c=[[Z,1,1e3],[Z,5,5e3],[Z,15,15e3],[Z,30,3e4],[a,1,6e4],[a,5,3e5],[a,15,9e5],[a,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[o,1,z],[o,2,2*z],[n,1,K],[t,1,U],[t,3,3*U],[e,1,F]];function tickInterval(t,n,o){let i=Math.abs(n-t)/o,a=bisector(([,,e])=>e).right(c,i);if(a===c.length)return e.every(tickStep(t/F,n/F,o));if(0===a)return $.every(Math.max(tickStep(t,n,o),1));let[u,s]=c[i/c[a-1][2]<c[a][2]/i?a-1:a];return u.every(s)}return[function(e,t,n){let o=t<e;o&&([e,t]=[t,e]);let i=n&&"function"==typeof n.range?n:tickInterval(e,t,n),a=i?i.range(e,+t+1):[];return o?a.reverse():a},tickInterval]}ev.every=e=>isFinite(e=Math.floor(e))&&e>0?timeInterval(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null,ev.range;let[em,eb]=ticker(ev,eh,ec,J,X,V),[e_,ex]=ticker(eg,ey,ee,G,Y,H);function localDate(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function utcDate(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function newDate(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var eO={"-":"",_:" ",0:"0"},eS=/^\s*\d+/,eP=/^%/,ej=/[\\^$*+?|[\]().{}]/g;function pad(e,t,n){var o=e<0?"-":"",i=(o?-e:e)+"",a=i.length;return o+(a<n?Array(n-a+1).join(t)+i:i)}function requote(e){return e.replace(ej,"\\$&")}function formatRe(e){return RegExp("^(?:"+e.map(requote).join("|")+")","i")}function formatLookup(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function parseWeekdayNumberSunday(e,t,n){var o=eS.exec(t.slice(n,n+1));return o?(e.w=+o[0],n+o[0].length):-1}function parseWeekdayNumberMonday(e,t,n){var o=eS.exec(t.slice(n,n+1));return o?(e.u=+o[0],n+o[0].length):-1}function parseWeekNumberSunday(e,t,n){var o=eS.exec(t.slice(n,n+2));return o?(e.U=+o[0],n+o[0].length):-1}function parseWeekNumberISO(e,t,n){var o=eS.exec(t.slice(n,n+2));return o?(e.V=+o[0],n+o[0].length):-1}function parseWeekNumberMonday(e,t,n){var o=eS.exec(t.slice(n,n+2));return o?(e.W=+o[0],n+o[0].length):-1}function parseFullYear(e,t,n){var o=eS.exec(t.slice(n,n+4));return o?(e.y=+o[0],n+o[0].length):-1}function parseYear(e,t,n){var o=eS.exec(t.slice(n,n+2));return o?(e.y=+o[0]+(+o[0]>68?1900:2e3),n+o[0].length):-1}function parseZone(e,t,n){var o=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return o?(e.Z=o[1]?0:-(o[2]+(o[3]||"00")),n+o[0].length):-1}function parseQuarter(e,t,n){var o=eS.exec(t.slice(n,n+1));return o?(e.q=3*o[0]-3,n+o[0].length):-1}function parseMonthNumber(e,t,n){var o=eS.exec(t.slice(n,n+2));return o?(e.m=o[0]-1,n+o[0].length):-1}function parseDayOfMonth(e,t,n){var o=eS.exec(t.slice(n,n+2));return o?(e.d=+o[0],n+o[0].length):-1}function parseDayOfYear(e,t,n){var o=eS.exec(t.slice(n,n+3));return o?(e.m=0,e.d=+o[0],n+o[0].length):-1}function parseHour24(e,t,n){var o=eS.exec(t.slice(n,n+2));return o?(e.H=+o[0],n+o[0].length):-1}
vendor: 7,292 bytes, line 1
1function parseMinutes(e,t,n){var o=eS.exec(t.slice(n,n+2));return o?(e.M=+o[0],n+o[0].length):-1}function parseSeconds(e,t,n){var o=eS.exec(t.slice(n,n+2));return o?(e.S=+o[0],n+o[0].length):-1}function parseMilliseconds(e,t,n){var o=eS.exec(t.slice(n,n+3));return o?(e.L=+o[0],n+o[0].length):-1}function parseMicroseconds(e,t,n){var o=eS.exec(t.slice(n,n+6));return o?(e.L=Math.floor(o[0]/1e3),n+o[0].length):-1}function parseLiteralPercent(e,t,n){var o=eP.exec(t.slice(n,n+1));return o?n+o[0].length:-1}function parseUnixTimestamp(e,t,n){var o=eS.exec(t.slice(n));return o?(e.Q=+o[0],n+o[0].length):-1}function parseUnixTimestampSeconds(e,t,n){var o=eS.exec(t.slice(n));return o?(e.s=+o[0],n+o[0].length):-1}function formatDayOfMonth(e,t){return pad(e.getDate(),t,2)}function formatHour24(e,t){return pad(e.getHours(),t,2)}function formatHour12(e,t){return pad(e.getHours()%12||12,t,2)}function formatDayOfYear(e,t){return pad(1+G.count(eg(e),e),t,3)}function formatMilliseconds(e,t){return pad(e.getMilliseconds(),t,3)}function formatMicroseconds(e,t){return formatMilliseconds(e,t)+"000"}function formatMonthNumber(e,t){return pad(e.getMonth()+1,t,2)}function formatMinutes(e,t){return pad(e.getMinutes(),t,2)}function formatSeconds(e,t){return pad(e.getSeconds(),t,2)}function formatWeekdayNumberMonday(e){var t=e.getDay();return 0===t?7:t}function formatWeekNumberSunday(e,t){return pad(ee.count(eg(e)-1,e),t,2)}function dISO(e){var t=e.getDay();return t>=4||0===t?eo(e):eo.ceil(e)}function formatWeekNumberISO(e,t){return e=dISO(e),pad(eo.count(eg(e),e)+(4===eg(e).getDay()),t,2)}function formatWeekdayNumberSunday(e){return e.getDay()}function formatWeekNumberMonday(e,t){return pad(et.count(eg(e)-1,e),t,2)}function formatYear(e,t){return pad(e.getFullYear()%100,t,2)}function formatYearISO(e,t){return pad((e=dISO(e)).getFullYear()%100,t,2)}function formatFullYear(e,t){return pad(e.getFullYear()%1e4,t,4)}function formatFullYearISO(e,t){var n=e.getDay();return pad((e=n>=4||0===n?eo(e):eo.ceil(e)).getFullYear()%1e4,t,4)}function formatZone(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+pad(t/60|0,"0",2)+pad(t%60,"0",2)}function formatUTCDayOfMonth(e,t){return pad(e.getUTCDate(),t,2)}function formatUTCHour24(e,t){return pad(e.getUTCHours(),t,2)}function formatUTCHour12(e,t){return pad(e.getUTCHours()%12||12,t,2)}function formatUTCDayOfYear(e,t){return pad(1+Q.count(ev(e),e),t,3)}function formatUTCMilliseconds(e,t){return pad(e.getUTCMilliseconds(),t,3)}function formatUTCMicroseconds(e,t){return formatUTCMilliseconds(e,t)+"000"}function formatUTCMonthNumber(e,t){return pad(e.getUTCMonth()+1,t,2)}function formatUTCMinutes(e,t){return pad(e.getUTCMinutes(),t,2)}function formatUTCSeconds(e,t){return pad(e.getUTCSeconds(),t,2)}function formatUTCWeekdayNumberMonday(e){var t=e.getUTCDay();return 0===t?7:t}function formatUTCWeekNumberSunday(e,t){return pad(ec.count(ev(e)-1,e),t,2)}function UTCdISO(e){var t=e.getUTCDay();return t>=4||0===t?ef(e):ef.ceil(e)}function formatUTCWeekNumberISO(e,t){return e=UTCdISO(e),pad(ef.count(ev(e),e)+(4===ev(e).getUTCDay()),t,2)}function formatUTCWeekdayNumberSunday(e){return e.getUTCDay()}function formatUTCWeekNumberMonday(e,t){return pad(eu.count(ev(e)-1,e),t,2)}function formatUTCYear(e,t){return pad(e.getUTCFullYear()%100,t,2)}function formatUTCYearISO(e,t){return pad((e=UTCdISO(e)).getUTCFullYear()%100,t,2)}function formatUTCFullYear(e,t){return pad(e.getUTCFullYear()%1e4,t,4)}function formatUTCFullYearISO(e,t){var n=e.getUTCDay();return pad((e=n>=4||0===n?ef(e):ef.ceil(e)).getUTCFullYear()%1e4,t,4)}function formatUTCZone(){return"+0000"}function formatLiteralPercent(){return"%"}function formatUnixTimestamp(e){return+e}function formatUnixTimestampSeconds(e){return Math.floor(+e/1e3)}function time_date(e){return new Date(e)}function time_number(e){return e instanceof Date?+e:+new Date(+e)}function calendar(e,t,n,o,i,a,c,u,s,l){var f=continuous(),p=f.invert,d=f.domain,y=l(".%L"),h=l(":%S"),g=l("%I:%M"),v=l("%I %p"),m=l("%a %d"),b=l("%b %d"),_=l("%B"),x=l("%Y");function tickFormat(e){return(s(e)<e?y:u(e)<e?h:c(e)<e?g:a(e)<e?v:o(e)<e?i(e)<e?m:b:n(e)<e?_:x)(e)}return f.invert=function(e){return new Date(p(e))},f.domain=function(e){return arguments.length?d(Array.from(e,time_number)):d().map(time_date)},f.ticks=function(t){var n=d();return e(n[0],n[n.length-1],null==t?10:t)},f.tickFormat=function(e,t){return null==t?tickFormat:l(t)},f.nice=function(e){var n=d();return e&&"function"==typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?d(nice(n,e)):f},f.copy=function(){return copy(f,calendar(e,t,n,o,i,a,c,u,s,l))},f}function time(){return D.o.apply(calendar(e_,ex,eg,ey,ee,G,Y,H,Z,s).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function utcTime(){return D.o.apply(calendar(em,eb,ev,eh,ec,Q,X,V,Z,l).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function sequential_transformer(){var e,t,n,o,i,a=0,c=1,u=identity,s=!1;function scale(t){return null==t||isNaN(t=+t)?i:u(0===n?.5:(t=(o(t)-e)*n,s?Math.max(0,Math.min(1,t)):t))}function range(e){return function(t){var n,o;return arguments.length?([n,o]=t,u=e(n,o),scale):[u(0),u(1)]}}return scale.domain=function(i){return arguments.length?([a,c]=i,e=o(a=+a),t=o(c=+c),n=e===t?0:1/(t-e),scale):[a,c]},scale.clamp=function(e){return arguments.length?(s=!!e,scale):s},scale.interpolator=function(e){return arguments.length?(u=e,scale):u},scale.range=range(value),scale.rangeRound=range(round),scale.unknown=function(e){return arguments.length?(i=e,scale):i},function(i){return o=i,e=i(a),t=i(c),n=e===t?0:1/(t-e),scale}}function sequential_copy(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function sequentialPow(){var e=powish(sequential_transformer());return e.copy=function(){return sequential_copy(e,sequentialPow()).exponent(e.exponent())},D.O.apply(e,arguments)}function sequentialSqrt(){return sequentialPow.apply(null,arguments).exponent(.5)}function diverging_transformer(){var e,t,n,o,i,a,c,u=0,s=.5,l=1,f=1,p=identity,d=!1;function scale(e){return isNaN(e=+e)?c:(e=.5+((e=+a(e))-t)*(f*e<f*t?o:i),p(d?Math.max(0,Math.min(1,e)):e))}function range(e){return function(t){var n,o,i;return arguments.length?([n,o,i]=t,p=function(e,t){void 0===t&&(t=e,e=value);for(var n=0,o=t.length-1,i=t[0],a=Array(o<0?0:o);n<o;)a[n]=e(i,i=t[++n]);return function(e){var t=Math.max(0,Math.min(o-1,Math.floor(e*=o)));return a[t](e-t)}}(e,[n,o,i]),scale):[p(0),p(.5),p(1)]}}return scale.domain=function(c){return arguments.length?([u,s,l]=c,e=a(u=+u),t=a(s=+s),n=a(l=+l),o=e===t?0:.5/(t-e),i=t===n?0:.5/(n-t),f=t<e?-1:1,scale):[u,s,l]},scale.clamp=function(e){return arguments.length?(d=!!e,scale):d},scale.interpolator=function(e){return arguments.length?(p=e,scale):p},scale.range=range(value),scale.rangeRound=range(round),scale.unknown=function(e){return arguments.length?(c=e,scale):c},function(c){return a=c,e=c(u),t=c(s),n=c(l),o=e===t?0:.5/(t-e),i=t===n?0:.5/(n-t),f=t<e?-1:1,scale}}function divergingPow(){var e=powish(diverging_transformer());return e.copy=function(){return sequential_copy(e,divergingPow()).exponent(e.exponent())},D.O.apply(e,arguments)}function divergingSqrt(){return divergingPow.apply(null,arguments).exponent(.5)}function none(e,t){if((i=e.length)>
vendor: 5,189 bytes, line 1
11)for(var n,o,i,a=1,c=e[t[0]],u=c.length;a<i;++a)for(o=c,c=e[t[a]],n=0;n<u;++n)c[n][1]+=c[n][0]=isNaN(o[n][1])?o[n][0]:o[n][1]}s=(u=function(e){var t=e.dateTime,n=e.date,o=e.time,i=e.periods,a=e.days,c=e.shortDays,u=e.months,s=e.shortMonths,l=formatRe(i),f=formatLookup(i),p=formatRe(a),d=formatLookup(a),y=formatRe(c),h=formatLookup(c),g=formatRe(u),v=formatLookup(u),m=formatRe(s),b=formatLookup(s),_={a:function(e){return c[e.getDay()]},A:function(e){return a[e.getDay()]},b:function(e){return s[e.getMonth()]},B:function(e){return u[e.getMonth()]},c:null,d:formatDayOfMonth,e:formatDayOfMonth,f:formatMicroseconds,g:formatYearISO,G:formatFullYearISO,H:formatHour24,I:formatHour12,j:formatDayOfYear,L:formatMilliseconds,m:formatMonthNumber,M:formatMinutes,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:formatUnixTimestamp,s:formatUnixTimestampSeconds,S:formatSeconds,u:formatWeekdayNumberMonday,U:formatWeekNumberSunday,V:formatWeekNumberISO,w:formatWeekdayNumberSunday,W:formatWeekNumberMonday,x:null,X:null,y:formatYear,Y:formatFullYear,Z:formatZone,"%":formatLiteralPercent},x={a:function(e){return c[e.getUTCDay()]},A:function(e){return a[e.getUTCDay()]},b:function(e){return s[e.getUTCMonth()]},B:function(e){return u[e.getUTCMonth()]},c:null,d:formatUTCDayOfMonth,e:formatUTCDayOfMonth,f:formatUTCMicroseconds,g:formatUTCYearISO,G:formatUTCFullYearISO,H:formatUTCHour24,I:formatUTCHour12,j:formatUTCDayOfYear,L:formatUTCMilliseconds,m:formatUTCMonthNumber,M:formatUTCMinutes,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:formatUnixTimestamp,s:formatUnixTimestampSeconds,S:formatUTCSeconds,u:formatUTCWeekdayNumberMonday,U:formatUTCWeekNumberSunday,V:formatUTCWeekNumberISO,w:formatUTCWeekdayNumberSunday,W:formatUTCWeekNumberMonday,x:null,X:null,y:formatUTCYear,Y:formatUTCFullYear,Z:formatUTCZone,"%":formatLiteralPercent},O={a:function(e,t,n){var o=y.exec(t.slice(n));return o?(e.w=h.get(o[0].toLowerCase()),n+o[0].length):-1},A:function(e,t,n){var o=p.exec(t.slice(n));return o?(e.w=d.get(o[0].toLowerCase()),n+o[0].length):-1},b:function(e,t,n){var o=m.exec(t.slice(n));return o?(e.m=b.get(o[0].toLowerCase()),n+o[0].length):-1},B:function(e,t,n){var o=g.exec(t.slice(n));return o?(e.m=v.get(o[0].toLowerCase()),n+o[0].length):-1},c:function(e,n,o){return parseSpecifier(e,t,n,o)},d:parseDayOfMonth,e:parseDayOfMonth,f:parseMicroseconds,g:parseYear,G:parseFullYear,H:parseHour24,I:parseHour24,j:parseDayOfYear,L:parseMilliseconds,m:parseMonthNumber,M:parseMinutes,p:function(e,t,n){var o=l.exec(t.slice(n));return o?(e.p=f.get(o[0].toLowerCase()),n+o[0].length):-1},q:parseQuarter,Q:parseUnixTimestamp,s:parseUnixTimestampSeconds,S:parseSeconds,u:parseWeekdayNumberMonday,U:parseWeekNumberSunday,V:parseWeekNumberISO,w:parseWeekdayNumberSunday,W:parseWeekNumberMonday,x:function(e,t,o){return parseSpecifier(e,n,t,o)},X:function(e,t,n){return parseSpecifier(e,o,t,n)},y:parseYear,Y:parseFullYear,Z:parseZone,"%":parseLiteralPercent};function newFormat(e,t){return function(n){var o,i,a,c=[],u=-1,s=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++u<l;)37===e.charCodeAt(u)&&(c.push(e.slice(s,u)),null!=(i=eO[o=e.charAt(++u)])?o=e.charAt(++u):i="e"===o?" ":"0",(a=t[o])&&(o=a(n,i)),c.push(o),s=u+1);return c.push(e.slice(s,u)),c.join("")}}function newParse(e,t){return function(n){var o,i,a=newDate(1900,void 0,1);if(parseSpecifier(a,e,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("s"in a)return new Date(1e3*a.s+("L"in a?a.L:0));if(!t||"Z"in a||(a.Z=0),"p"in a&&(a.H=a.H%12+12*a.p),void 0===a.m&&(a.m="q"in a?a.q:0),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(o=(i=(o=utcDate(newDate(a.y,0,1))).getUTCDay())>4||0===i?eu.ceil(o):eu(o),o=Q.offset(o,(a.V-1)*7),a.y=o.getUTCFullYear(),a.m=o.getUTCMonth(),a.d=o.getUTCDate()+(a.w+6)%7):(o=(i=(o=localDate(newDate(a.y,0,1))).getDay())>4||0===i?et.ceil(o):et(o),o=G.offset(o,(a.V-1)*7),a.y=o.getFullYear(),a.m=o.getMonth(),a.d=o.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),i="Z"in a?utcDate(newDate(a.y,0,1)).getUTCDay():localDate(newDate(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,utcDate(a)):localDate(a)}}function parseSpecifier(e,t,n,o){for(var i,a,c=0,u=t.length,s=n.length;c<u;){if(o>=s)return -1;if(37===(i=t.charCodeAt(c++))){if(!(a=O[(i=t.charAt(c++))in eO?t.charAt(c++):i])||(o=a(e,n,o))<0)return -1}else if(i!=n.charCodeAt(o++))return -1}return o}return _.x=newFormat(n,_),_.X=newFormat(o,_),_.c=newFormat(t,_),x.x=newFormat(n,x),x.X=newFormat(o,x),x.c=newFormat(t,x),{format:function(e){var t=newFormat(e+="",_);return t.toString=function(){return e},t},parse:function(e){var t=newParse(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=newFormat(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=newParse(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","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"]})).format,u.parse,l=u.utcFormat,u.utcParse;var ew=n(94788),eA=n(20309);function order_none(e){for(var t=e.length,n=Array(t);--t>=0;)n[t]=t;return n}function stackValue(e,t){return e[t]}function stackSeries(e){let t=[];return t.key=e,t}var eC=n(6162),ek=n.n(eC),eE=n(53632),eT=n.n(eE),eM=n(14293),eD=n.n(eM),eI=n(23560),eN=n.n(eI),eL=n(47037),eR=n.n(eL),eB=n(27361),ez=n.n(eB),eK=n(94654),eU=n.n(eK),eF=n(7654),eW=n.n(eF),eq=n(11700),e$=n.n(eq),eZ=n(18446),eH=n.n(eZ),eV=n(89734),eY=n.n(eV),eX=n(29887),eG=n.n(eX);function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}var utils_identity=function(e){return e},eQ={},isPlaceHolder=function(e){return e===eQ},curry0=function(e){return function _curried(){return 0==arguments.length||1==arguments.length&&isPlaceHolder(arguments.length<=0?void 0:arguments[0])?_curried:e.apply(void 0,arguments)}},curry=function(e){return function curryN(e,t){return 1===e?t:curry0(function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];var a=o.filter(function(e){return e!==eQ}).length;return a>=e?t.apply(void 0,o):curryN(e-a,curry0(function(){for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];var a=o.map(function(e){return isPlaceHolder(e)?n.shift():e});return t.apply(void 0,((function(e){if(Array.isArray(e))return _arrayLikeToArray(e)})(a)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(a)||function(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}}(a)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat(n))}))})}(e.length,e)},range=function(e,t){for(var n=[],o=e;o<t;++o)n[o-e]=o;return n},eJ=curry(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(e){return t[e]}).map(e)}),compose=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!t.length)return utils_identity;var o=t.reverse(),i=o[0],a=o.slice(1);return function(){return a.reduce(function(e,t){return t(e)},i.apply(void 0,arguments))}},reverse=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},memoize=function(e){var t=null,n=null;return function(){for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return t&&i.every(function(e,n){return e===t[n]})?n:(t=i,n=e.apply(void 0,i))}},e0={rangeStep:function(e,t,n){for(var o=new(eG())(e),i=0,a=[];o.lt(t)&&i<1e5;)a.push(o.toNumber()),o=o.add(n),i++;return a},getDigitCount:function(e){return 0===e?1:Math.floor(new(eG())(e).abs().log(10).toNumber())+1},interpolateNumber:curry(function(e,t,n){var o=+e;return o+n*(+t-o)}),uninterpolateNumber:curry(function(e,t,n){var o=t-+e;return(n-e)/(o=o||1/0)}),uninterpolateTruncation:curry(function(e,t,n){var o=t-+e;return Math.max(0,Math.min(1,(n-e)/(o=o||1/0)))})};function getNiceTickValues_toConsumableArray(e){return function(e){if(Array.isArray(e))return getNiceTickValues_arrayLikeToArray(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||getNiceTickValues_unsupportedIterableToArray(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _slicedToArray(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],o=!0,i=!1,a=void 0;try{for(var c,u=e[Symbol.iterator]();!(o=(c=u.next()).done)&&(n.push(c.value),!t||n.length!==t);o=!0);}catch(e){i=!0,a=e}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}return n}}(e,t)||getNiceTickValues_unsupportedIterableToArray(e,t)||function(){throw TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function getNiceTickValues_unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return getNiceTickValues_arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return getNiceTickValues_arrayLikeToArray(e,t)}}function getNiceTickValues_arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function getValidInterval(e){var t=_slicedToArray(e,2),n=t[0],o=t[1],i=n,a=o;return n>o&&(i=o,a=n),[i,a]}function getFormatStep(e,t,n){if(e.lte(0))return new(eG())(0);var o=e0.getDigitCount(e.toNumber()),i=new(eG())(10).pow(o),a=e.div(i),c=1!==o?.05:.1,u=new(eG())(Math.ceil(a.div(c).toNumber())).add(n).mul(c).mul(i);return t?u:new(eG())(Math.ceil(u))}function getTickOfSingleValue(e,t,n){var o=1,i=new(eG())(e);if(!i.isint()&&n){var a=Math.abs(e);a<1?(o=new(eG())(10).pow(e0.getDigitCount(e)-1),i=new(eG())(Math.floor(i.div(o).toNumber())).mul(o)):a>1&&(i=new(eG())(Math.floor(e)))}else 0===e?i=new(eG())(Math.floor((t-1)/2)):n||(i=new(eG())(Math.floor(e)));var c=Math.floor((t-1)/2);return compose(eJ(function(e){return i.add(new(eG())(e-c).mul(o)).toNumber()}),range)(0,t)}var e1=memoize(function(e){var t=_slicedToArray(e,2),n=t[0],o=t[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,a=!(arguments.length>2)||void 0===arguments[2]||arguments[2],c=Math.max(i,2),u=_slicedToArray(getValidInterval([n,o]),2),s=u[0],l=u[1];if(s===-1/0||l===1/0){var f=l===1/0?[s].concat(getNiceTickValues_toConsumableArray(range(0,i-1).map(function(){return 1/0}))):[].concat(getNiceTickValues_toConsumableArray(range(0,i-1).map(function(){return-1/0})),[l]);return n>o?reverse(f):f}if(s===l)return getTickOfSingleValue(s,i,a);var p=function calculateStep(e,t,n,o){var i,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new(eG())(0),tickMin:new(eG())(0),tickMax:new(eG())(0)};var c=getFormatStep(new(eG())(t).sub(e).div(n-1),o,a),u=Math.ceil((i=e<=0&&t>=0?new(eG())(0):(i=new(eG())(e).add(t).div(2)).sub(new(eG())(i).mod(c))).sub(e).div(c).toNumber()),s=Math.ceil(new(eG())(t).sub(i).div(c).toNumber()),l=u+s+1;return l>n?calculateStep(e,t,n,o,a+1):(l<n&&(s=t>0?s+(n-l):s,u=t>0?u:u+(n-l)),{step:c,tickMin:i.sub(new(eG())(u).mul(c)),tickMax:i.add(new(eG())(s).mul(c))})}(s,l,c,a),d=p.step,y=p.tickMin,h=p.tickMax,g=e0.rangeStep(y,h.add(new(eG())(.1).mul(d)),d);return n>o?reverse(g):g});memoize(function(e){var t=_slicedToArray(e,2),n=t[0],o=t[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,a=!(arguments.length>2)||void 0===arguments[2]||arguments[2],c=Math.max(i,2),u=_slicedToArray(getValidInterval([n,o]),2),s=u[0],l=u[1];if(s===-1/0||l===1/0)return[n,o];if(s===l)return getTickOfSingleValue(s,i,a);var f=getFormatStep(new(eG())(l).sub(s).div(c-1),a,0),p=compose(eJ(function(e){return new(eG())(s).add(new(eG())(e).mul(f)).toNumber()}),range)(0,c).filter(function(e){return e>=s&&e<=l});return n>o?reverse(p):p});var e2=memoize(function(e,t){var n=_slicedToArray(e,2),o=n[0],i=n[1],a=!(arguments.length>2)||void 0===arguments[2]||arguments[2],c=_slicedToArray(getValidInterval([o,i]),2),u=c[0],s=c[1];if(u===-1/0||s===1/0)return[o,i];if(u===s)return[u];var l=getFormatStep(new(eG())(s).sub(u).div(Math.max(t,2)-1),a,0),f=[].concat(getNiceTickValues_toConsumableArray(e0.rangeStep(new(eG())(u),new(eG())(s).sub(new(eG())(.99).mul(l)),l)),[s]);return o>i?reverse(f):f}),e3=n(86641),e6=n(69055),e4=n(52017),e5=n(20430);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ChartUtils_toConsumableArray(e){return function(e){if(Array.isArray(e))return ChartUtils_arrayLikeToArray(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ChartUtils_arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ChartUtils_arrayLikeToArray(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ChartUtils_arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?ownKeys(Object(n),!0).forEach(function(t){_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _defineProperty(e,t,n){var o;return(o=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==_typeof(o)?o:o+"")in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function getValueByDataKey(e,t,n){return eD()(e)||eD()(t)?n:(0,e6.P2)(t)?ez()(e,t,n):eN()(t)?t(e):n}function getDomainOfDataByKey(e,t,n,o){var i=eU()(e,function(e){return getValueByDataKey(e,t)});if("number"===n){var a=i.filter(function(e){return(0,e6.hj)(e)||parseFloat(e)});return a.length?[eT()(a),ek()(a)]:[1/0,-1/0]}return(o?i.filter(function(e){return!eD()(e)}):i).map(function(e){return(0,e6.P2)(e)||e instanceof Date?e:""})}var calculateActiveTickIndex=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,a=-1,c=null!==(t=null==n?void 0:n.length)&&void 0!==t?t:0;if(c<=1)return 0;if(i&&"angleAxis"===i.axisType&&1e-6>=Math.abs(Math.abs(i.range[1]-i.range[0])-360))for(var u=i.range,s=0;s<c;s++){var l=s>0?o[s-1].coordinate:o[c-1].coordinate,f=o[s].coordinate,p=s>=c-1?o[0].coordinate:o[s+1].coordinate,d=void 0;if((0,e6.uY)(f-l)!==(0,e6.uY)(p-f)){var y=[];if((0,e6.uY)(p-f)===(0,e6.uY)(u[1]-u[0])){d=p;var h=f+u[1]-u[0];y[0]=Math.min(h,(h+l)/2),y[1]=Math.max(h,(h+l)/2)}else{d=l;var g=p+u[1]-u[0];y[0]=Math.min(f,(g+f)/2),y[1]=Math.max(f,(g+f)/2)}var v=[Math.min(f,(d+f)/2),Math.max(f,(d+f)/2)];if(e>v[0]&&e<=v[1]||e>=y[0]&&e<=y[1]){a=o[s].index;break}}else{var m=Math.min(l,p),b=Math.max(l,p);if(e>(m+f)/2&&e<=(b+f)/2){a=o[s].index;break}}}else for(var _=0;_<c;_++)if(0===_&&e<=(n[_].coordinate+n[_+1].coordinate)/2||_>0&&_<c-1&&e>(n[_].coordinate+n[_-1].coordinate)/2&&e<=(n[_].coordinate+n[_+1].coordinate)/2||_===c-1&&e>(n[_].coordinate+n[_-1].coordinate)/2){a=n[_].index;break}return a},getMainColorOfGraphicItem=function(e){var t,n,o=e.type.displayName,i=null!==(t=e.type)&&void 0!==t&&t.defaultProps?_objectSpread(_objectSpread({},e.type.defaultProps),e.props):e.props,a=i.stroke,c=i.fill;switch(o){case"Line":n=a;break;case"Area":case"Radar":n=a&&"none"!==a?a:c;break;default:n=c}return n},getBarSizeList=function(e){var t=e.barSize,n=e.totalSize,o=e.stackGroups,i=void 0===o?{}:o;if(!i)return{};for(var a={},c=Object.keys(i),u=0,s=c.length;u<s;u++)for(var l=i[c[u]].stackGroups,f=Object.keys(l),p=0,d=f.length;p<d;p++){var y=l[f[p]],h=y.items,g=y.cateAxisId,v=h.filter(function(e){return(0,e4.Gf)(e.type).indexOf("Bar")>=0});if(v&&v.length){var m=v[0].type.defaultProps,b=void 0!==m?_objectSpread(_objectSpread({},m),v[0].props):v[0].props,_=b.barSize,x=b[g];a[x]||(a[x]=[]);var O=eD()(_)?t:_;a[x].push({item:v[0],stackList:v.slice(1),barSize:eD()(O)?void 0:(0,e6.h1)(O,n,0)})}}return a},getBarPosition=function(e){var t,n=e.barGap,o=e.barCategoryGap,i=e.bandSize,a=e.sizeList,c=void 0===a?[]:a,u=e.maxBarSize,s=c.length;if(s<1)return null;var l=(0,e6.h1)(n,i,0,!0),f=[];if(c[0].barSize===+c[0].barSize){var p=!1,d=i/s,y=c.reduce(function(e,t){return e+t.barSize||0},0);(y+=(s-1)*l)>=i&&(y-=(s-1)*l,l=0),y>=i&&d>0&&(p=!0,d*=.9,y=s*d);var h={offset:((i-y)/2>>0)-l,size:0};t=c.reduce(function(e,t){var n={item:t.item,position:{offset:h.offset+h.size+l,size:p?d:t.barSize}},o=[].concat(ChartUtils_toConsumableArray(e),[n]);return h=o[o.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){o.push({item:e,position:h})}),o},f)}else{var g=(0,e6.h1)(o,i,0,!0);i-2*g-(s-1)*l<=0&&(l=0);var v=(i-2*g-(s-1)*l)/s;v>1&&(v>>=0);var m=u===+u?Math.min(v,u):v;t=c.reduce(function(e,t,n){var o=[].concat(ChartUtils_toConsumableArray(e),[{item:t.item,position:{offset:g+(v+l)*n+(v-m)/2,size:m}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){o.push({item:e,position:o[o.length-1].position})}),o},f)}return t},appendOffsetOfLegend=function(e,t,n,o){var i=n.children,a=n.width,c=n.margin,u=a-(c.left||0)-(c.right||0),s=(0,e5.z)({children:i,legendWidth:u});if(s){var l=o||{},f=l.width,p=l.height,d=s.align,y=s.verticalAlign,h=s.layout;if(("vertical"===h||"horizontal"===h&&"middle"===y)&&"center"!==d&&(0,e6.hj)(e[d]))return _objectSpread(_objectSpread({},e),{},_defineProperty({},d,e[d]+(f||0)));if(("horizontal"===h||"vertical"===h&&"center"===d)&&"middle"!==y&&(0,e6.hj)(e[y]))return _objectSpread(_objectSpread({},e),{},_defineProperty({},y,e[y]+(p||0)))}return e},getDomainOfErrorBars=function(e,t,n,o,i){var a=t.props.children,c=(0,e4.NN)(a,e3.W).filter(function(e){var t;return t=e.props.direction,!!eD()(i)||("horizontal"===o?"yAxis"===i:"vertical"===o||"x"===t?"xAxis"===i:"y"!==t||"yAxis"===i)});if(c&&c.length){var u=c.map(function(e){return e.props.dataKey});return e.reduce(function(e,t){var o=getValueByDataKey(t,n);if(eD()(o))return e;var i=Array.isArray(o)?[eT()(o),ek()(o)]:[o,o],a=u.reduce(function(e,n){var o=getValueByDataKey(t,n,0),a=i[0]-Math.abs(Array.isArray(o)?o[0]:o),c=i[1]+Math.abs(Array.isArray(o)?o[1]:o);return[Math.min(a,e[0]),Math.max(c,e[1])]},[1/0,-1/0]);return[Math.min(a[0],e[0]),Math.max(a[1],e[1])]},[1/0,-1/0])}return null},parseErrorBarsOfAxis=function(e,t,n,o,i){var a=t.map(function(t){return getDomainOfErrorBars(e,t,n,i,o)}).filter(function(e){return!eD()(e)});return a&&a.length?a.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]):null},getDomainOfItemsWithSameAxis=function(e,t,n,o,i){var a=t.map(function(t){var a=t.props.dataKey;return"number"===n&&a&&getDomainOfErrorBars(e,t,a,o)||getDomainOfDataByKey(e,a,n,i)});if("number"===n)return a.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]);var c={};return a.reduce(function(e,t){for(var n=0,o=t.length;n<o;n++)c[t[n]]||(c[t[n]]=!0,e.push(t[n]));return e},[])},isCategoricalAxis=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},getCoordinatesOfGrid=function(e,t,n,o){if(o)return e.map(function(e){return e.coordinate});var i,a,c=e.map(function(e){return e.coordinate===t&&(i=!0),e.coordinate===n&&(a=!0),e.coordinate});return i||c.push(t),a||c.push(n),c},getTicksOfAxis=function(e,t,n){if(!e)return null;var o=e.scale,i=e.duplicateDomain,a=e.type,c=e.range,u="scaleBand"===e.realScaleType?o.bandwidth()/2:2,s=(t||n)&&"category"===a&&o.bandwidth?o.bandwidth()/u:0;return(s="angleAxis"===e.axisType&&(null==c?void 0:c.length)>=2?2*(0,e6.uY)(c[0]-c[1])*s:s,t&&(e.ticks||e.niceTicks))?(e.ticks||e.niceTicks).map(function(e){return{coordinate:o(i?i.indexOf(e):e)+s,value:e,offset:s}}).filter(function(e){return!eW()(e.coordinate)}):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map(function(e,t){return{coordinate:o(e)+s,value:e,index:t,offset:s}}):o.ticks&&!n?o.ticks(e.tickCount).map(function(e){return{coordinate:o(e)+s,value:e,offset:s}}):o.domain().map(function(e,t){return{coordinate:o(e)+s,value:i?i[e]:e,index:t,offset:s}})},e7=new WeakMap,combineEventHandlers=function(e,t){if("function"!=typeof t)return e;e7.has(e)||e7.set(e,new WeakMap);var n=e7.get(e);if(n.has(t))return n.get(t);var combineHandler=function(){e.apply(void 0,arguments),t.apply(void 0,arguments)};return n.set(t,combineHandler),combineHandler},parseScale=function(e,t,n){var o=e.scale,i=e.type,a=e.layout,c=e.axisType;
1if("auto"===o)return"radial"===a&&"radiusAxis"===c?{scale:p.Z(),realScaleType:"band"}:"radial"===a&&"angleAxis"===c?{scale:linear_linear(),realScaleType:"linear"}:"category"===i&&t&&(t.indexOf("LineChart")>=0||t.indexOf("AreaChart")>=0||t.indexOf("ComposedChart")>=0&&!n)?{scale:p.x(),realScaleType:"point"}:"category"===i?{scale:p.Z(),realScaleType:"band"}:{scale:linear_linear(),realScaleType:"linear"};if(eR()(o)){var u="scale".concat(e$()(o));return{scale:(f[u]||p.x)(),realScaleType:f[u]?u:"point"}}return eN()(o)?{scale:o}:{scale:p.x(),realScaleType:"point"}},checkDomainOfScale=function(e){var t=e.domain();if(t&&!(t.length<=2)){var n=t.length,o=e.range(),i=Math.min(o[0],o[1])-1e-4,a=Math.max(o[0],o[1])+1e-4,c=e(t[0]),u=e(t[n-1]);(c<i||c>a||u<i||u>a)&&e.domain([t[0],t[n-1]])}},findPositionOfBar=function(e,t){if(!e)return null;for(var n=0,o=e.length;n<o;n++)if(e[n].item===t)return e[n].position;return null},truncateByDomain=function(e,t){if(!t||2!==t.length||!(0,e6.hj)(t[0])||!(0,e6.hj)(t[1]))return e;var n=Math.min(t[0],t[1]),o=Math.max(t[0],t[1]),i=[e[0],e[1]];return(!(0,e6.hj)(e[0])||e[0]<n)&&(i[0]=n),(!(0,e6.hj)(e[1])||e[1]>o)&&(i[1]=o),i[0]>o&&(i[0]=o),i[1]<n&&(i[1]=n),i},e8={sign:function(e){var t=e.length;if(!(t<=0))for(var n=0,o=e[0].length;n<o;++n)for(var i=0,a=0,c=0;c<t;++c){var u=eW()(e[c][n][1])?e[c][n][0]:e[c][n][1];u>=0?(e[c][n][0]=i,e[c][n][1]=i+u,i=e[c][n][1]):(e[c][n][0]=a,e[c][n][1]=a+u,a=e[c][n][1])}},expand:function(e,t){if((o=e.length)>0){for(var n,o,i,a=0,c=e[0].length;a<c;++a){for(i=n=0;n<o;++n)i+=e[n][a][1]||0;if(i)for(n=0;n<o;++n)e[n][a][1]/=i}none(e,t)}},none:none,silhouette:function(e,t){if((n=e.length)>0){for(var n,o=0,i=e[t[0]],a=i.length;o<a;++o){for(var c=0,u=0;c<n;++c)u+=e[c][o][1]||0;i[o][1]+=i[o][0]=-u/2}none(e,t)}},wiggle:function(e,t){if((i=e.length)>0&&(o=(n=e[t[0]]).length)>0){for(var n,o,i,a=0,c=1;c<o;++c){for(var u=0,s=0,l=0;u<i;++u){for(var f=e[t[u]],p=f[c][1]||0,d=(p-(f[c-1][1]||0))/2,y=0;y<u;++y){var h=e[t[y]];d+=(h[c][1]||0)-(h[c-1][1]||0)}s+=p,l+=d*p}n[c-1][1]+=n[c-1][0]=a,s&&(a-=l/s)}n[c-1][1]+=n[c-1][0]=a,none(e,t)}},positive:function(e){var t=e.length;if(!(t<=0))for(var n=0,o=e[0].length;n<o;++n)for(var i=0,a=0;a<t;++a){var c=eW()(e[a][n][1])?e[a][n][0]:e[a][n][1];c>=0?(e[a][n][0]=i,e[a][n][1]=i+c,i=e[a][n][1]):(e[a][n][0]=0,e[a][n][1]=0)}}},getStackedData=function(e,t,n){var o=t.map(function(e){return e.props.dataKey}),i=e8[n];return(function(){var e=(0,eA.Z)([]),t=order_none,n=none,o=stackValue;function stack(i){var a,c,u=Array.from(e.apply(this,arguments),stackSeries),s=u.length,l=-1;for(let e of i)for(a=0,++l;a<s;++a)(u[a][l]=[0,+o(e,u[a].key,l,i)]).data=e;for(a=0,c=(0,ew.Z)(t(u));a<s;++a)u[c[a]].index=a;return n(u,c),u}return stack.keys=function(t){return arguments.length?(e="function"==typeof t?t:(0,eA.Z)(Array.from(t)),stack):e},stack.value=function(e){return arguments.length?(o="function"==typeof e?e:(0,eA.Z)(+e),stack):o},stack.order=function(e){return arguments.length?(t=null==e?order_none:"function"==typeof e?e:(0,eA.Z)(Array.from(e)),stack):t},stack.offset=function(e){return arguments.length?(n=null==e?none:e,stack):n},stack})().keys(o).value(function(e,t){return+getValueByDataKey(e,t,0)}).order(order_none).offset(i)(e)},getStackGroupsByAxisId=function(e,t,n,o,i,a){if(!e)return null;var c=(a?t.reverse():t).reduce(function(e,t){var i,a=null!==(i=t.type)&&void 0!==i&&i.defaultProps?_objectSpread(_objectSpread({},t.type.defaultProps),t.props):t.props,c=a.stackId;if(a.hide)return e;var u=a[n],s=e[u]||{hasStack:!1,stackGroups:{}};if((0,e6.P2)(c)){var l=s.stackGroups[c]||{numericAxisId:n,cateAxisId:o,items:[]};l.items.push(t),s.hasStack=!0,s.stackGroups[c]=l}else s.stackGroups[(0,e6.EL)("_stackId_")]={numericAxisId:n,cateAxisId:o,items:[t]};return _objectSpread(_objectSpread({},e),{},_defineProperty({},u,s))},{});return Object.keys(c).reduce(function(t,a){var u=c[a];return u.hasStack&&(u.stackGroups=Object.keys(u.stackGroups).reduce(function(t,a){var c=u.stackGroups[a];return _objectSpread(_objectSpread({},t),{},_defineProperty({},a,{numericAxisId:n,cateAxisId:o,items:c.items,stackedData:getStackedData(e,c.items,i)}))},{})),_objectSpread(_objectSpread({},t),{},_defineProperty({},a,u))},{})},getTicksOfScale=function(e,t){var n=t.realScaleType,o=t.type,i=t.tickCount,a=t.originalDomain,c=t.allowDecimals,u=n||t.scale;if("auto"!==u&&"linear"!==u)return null;if(i&&"number"===o&&a&&("auto"===a[0]||"auto"===a[1])){var s=e.domain();if(!s.length)return null;var l=e1(s,i,c);return e.domain([eT()(l),ek()(l)]),{niceTicks:l}}return i&&"number"===o?{niceTicks:e2(e.domain(),i,c)}:null};
1function getCateCoordinateOfLine(e){var t=e.axis,n=e.ticks,o=e.bandSize,i=e.entry,a=e.index,c=e.dataKey;if("category"===t.type){if(!t.allowDuplicatedCategory&&t.dataKey&&!eD()(i[t.dataKey])){var u=(0,e6.Ap)(n,"value",i[t.dataKey]);if(u)return u.coordinate+o/2}return n[a]?n[a].coordinate+o/2:null}var s=getValueByDataKey(i,eD()(c)?t.dataKey:c);return eD()(s)?null:t.scale(s)}var getCateCoordinateOfBar=function(e){var t=e.axis,n=e.ticks,o=e.offset,i=e.bandSize,a=e.entry,c=e.index;if("category"===t.type)return n[c]?n[c].coordinate+o:null;var u=getValueByDataKey(a,t.dataKey,t.domain[c]);return eD()(u)?null:t.scale(u)-i/2+o},getBaseValueOfBar=function(e){var t=e.numericAxis,n=t.scale.domain();if("number"===t.type){var o=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return o<=0&&i>=0?0:i<0?i:o}return n[0]},getStackedDataOfItem=function(e,t){var n,o=(null!==(n=e.type)&&void 0!==n&&n.defaultProps?_objectSpread(_objectSpread({},e.type.defaultProps),e.props):e.props).stackId;if((0,e6.P2)(o)){var i=t[o];if(i){var a=i.items.indexOf(e);return a>=0?i.stackedData[a]:null}}return null},getDomainOfStackGroups=function(e,t,n){return Object.keys(e).reduce(function(o,i){var a=e[i].stackedData.reduce(function(e,o){var i=o.slice(t,n+1).reduce(function(e,t){return[eT()(t.concat([e[0]]).filter(e6.hj)),ek()(t.concat([e[1]]).filter(e6.hj))]},[1/0,-1/0]);return[Math.min(e[0],i[0]),Math.max(e[1],i[1])]},[1/0,-1/0]);return[Math.min(a[0],o[0]),Math.max(a[1],o[1])]},[1/0,-1/0]).map(function(e){return e===1/0||e===-1/0?0:e})},e9=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,te=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,parseSpecifiedDomain=function(e,t,n){if(eN()(e))return e(t,n);if(!Array.isArray(e))return t;var o=[];if((0,e6.hj)(e[0]))o[0]=n?e[0]:Math.min(e[0],t[0]);else if(e9.test(e[0])){var i=+e9.exec(e[0])[1];o[0]=t[0]-i}else eN()(e[0])?o[0]=e[0](t[0]):o[0]=t[0];if((0,e6.hj)(e[1]))o[1]=n?e[1]:Math.max(e[1],t[1]);else if(te.test(e[1])){var a=+te.exec(e[1])[1];o[1]=t[1]+a}else eN()(e[1])?o[1]=e[1](t[1]):o[1]=t[1];return o},getBandSizeOfAxis=function(e,t,n){if(e&&e.scale&&e.scale.bandwidth){var o=e.scale.bandwidth();if(!n||o>0)return o}if(e&&t&&t.length>=2){for(var i=eY()(t,function(e){return e.coordinate}),a=1/0,c=1,u=i.length;c<u;c++){var s=i[c],l=i[c-1];a=Math.min((s.coordinate||0)-(l.coordinate||0),a)}return a===1/0?0:a}return n?void 0:0},parseDomainOfCategoryAxis=function(e,t,n){return!e||!e.length||eH()(e,ez()(n,"type.defaultProps.domain"))?t:e},getTooltipItem=function(e,t){var n=e.type.defaultProps?_objectSpread(_objectSpread({},e.type.defaultProps),e.props):e.props,o=n.dataKey,i=n.name,a=n.unit,c=n.formatter,u=n.tooltipType,s=n.chartType,l=n.hide;return _objectSpread(_objectSpread({},(0,e4.L6)(e,!1)),{},{dataKey:o,unit:a,formatter:c,name:i||o,color:getMainColorOfGraphicItem(e),value:getValueByDataKey(t,o),type:u,payload:t,chartType:s,hide:l})}},41209:function(e,t,n){"use strict";n.d(t,{os:function(){return getOffset},xE:function(){return getStringSize}});var o=n(47523);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var i={widthCache:{},cacheCount:0},a={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},c="recharts_measurement_span",getStringSize=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||o.x.isSsr)return{width:0,height:0};var u=(Object.keys(t=_objectSpread({},n)).forEach(function(e){t[e]||delete t[e]}),t),s=JSON.stringify({text:e,copyStyle:u});if(i.widthCache[s])return i.widthCache[s];try{var l=document.getElementById(c);l||((l=document.createElement("span")).setAttribute("id",c),l.setAttribute("aria-hidden","true"),document.body.appendChild(l));var f=_objectSpread(_objectSpread({},a),u);Object.assign(l.style,f),l.textContent="".concat(e);var p=l.getBoundingClientRect(),d={width:p.width,height:p.height};return i.widthCache[s]=d,++i.cacheCount>2e3&&(i.cacheCount=0,i.widthCache={}),d}catch(e){return{width:0,height:0}}},getOffset=function(e){return{top:e.top+window.scrollY-document.documentElement.clientTop,left:e.left+window.scrollX-document.documentElement.clientLeft}}},69055:function(e,t,n){"use strict";n.d(t,{Ap:function(){return findEntryInArray},EL:function(){return uniqueId},Kt:function(){return getAnyElementOfObject},P2:function(){return isNumOrStr},bv:function(){return hasDuplicate},fC:function(){return compareValues},h1:function(){return getPercentValue},hU:function(){return isPercent},hj:function(){return isNumber},k4:function(){return interpolateNumber},uY:function(){return mathSign},wr:function(){return getLinearRegression}});var o=n(47037),i=n.n(o),a=n(7654),c=n.n(a),u=n(27361),s=n.n(u),l=n(81763),f=n.n(l),mathSign=function(e){return 0===e?0:e>0?1:-1},isPercent=function(e){return i()(e)&&e.indexOf("%")===e.length-1},isNumber=function(e){return f()(e)&&!c()(e)},isNumOrStr=function(e){return isNumber(e)||i()(e)},p=0,uniqueId=function(e){var t=++p;return"".concat(e||"").concat(t)},getPercentValue=function(e,t){var n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!isNumber(e)&&!i()(e))return o;if(isPercent(e)){var u=e.indexOf("%");n=t*parseFloat(e.slice(0,u))/100}else n=+e;return c()(n)&&(n=o),a&&n>t&&(n=t),n},getAnyElementOfObject=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},hasDuplicate=function(e){if(!Array.isArray(e))return!1;for(var t=e.length,n={},o=0;o<t;o++){if(n[e[o]])return!0;n[e[o]]=!0}return!1},interpolateNumber=function(e,t){return isNumber(e)&&isNumber(t)?function(n){return e+n*(t-e)}:function(){return t}};function findEntryInArray(e,t,n){return e&&e.length?e.find(function(e){return e&&("function"==typeof t?t(e):s()(e,t))===n}):null}var getLinearRegression=function(e){if(!e||!e.length)return null;for(var t=e.length,n=0,o=0,i=0,a=0,c=1/0,u=-1/0,s=0,l=0,f=0;f<t;f++)s=e[f].cx||0,l=e[f].cy||0,n+=s,o+=l,i+=s*l,a+=s*s,c=Math.min(c,s),u=Math.max(u,s);var p=t*a!=n*n?(t*i-n*o)/(t*a-n*n):0;return{xmin:c,xmax:u,a:p,b:(o-p*n)/t}},compareValues=function(e,t){return isNumber(e)&&isNumber(t)?e-t:i()(e)&&i()(t)?e.localeCompare(t):e instanceof Date&&t instanceof Date?e.getTime()-t.getTime():String(e).localeCompare(String(t))}},47523:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var o={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return o[e]},set:function(e,t){if("string"==typeof e)o[e]=t;else{var n=Object.keys(e);n&&n.length&&n.forEach(function(t){o[t]=e[t]})}}}},6213:function(e,t,n){"use strict";n.d(t,{Z:function(){return warn}});var warn=function(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i]}},40048:function(e,t,n){"use strict";n.d(t,{$4:function(){return getMaxRadius},$S:function(){return getTickClassName},Wk:function(){return f},op:function(){return polarToCartesian},t9:function(){return formatAxisMap},z3:function(){return inRangeOfSector}});var o=n(14293),i=n.n(o),a=n(67294),c=n(23560),u=n.n(c),s=n(69055),l=n(75471);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?ownKeys(Object(n),!0).forEach(function(t){_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _defineProperty(e,t,n){var o;return(o=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==_typeof(o)?o:o+"")in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}var f=Math.PI/180,polarToCartesian=function(e,t,n,o){return{x:e+Math.cos(-f*o)*n,y:t+Math.sin(-f*o)*n}},getMaxRadius=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(e-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},formatAxisMap=function(e,t,n,o,a){var c=e.width,u=e.height,f=e.startAngle,p=e.endAngle,d=(0,s.h1)(e.cx,c,c/2),y=(0,s.h1)(e.cy,u,u/2),h=getMaxRadius(c,u,n),g=(0,s.h1)(e.innerRadius,h,0),v=(0,s.h1)(e.outerRadius,h,.8*h);return Object.keys(t).reduce(function(e,n){var c,u=t[n],s=u.domain,h=u.reversed;if(i()(u.range))"angleAxis"===o?c=[f,p]:"radiusAxis"===o&&(c=[g,v]),h&&(c=[c[1],c[0]]);else{var m,b=function(e){if(Array.isArray(e))return e}(m=c=u.range)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,a,c,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(o=a.call(n)).done)&&(u.push(o.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(l)throw i}}return u}}(m,2)||function(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}}(m,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();f=b[0],p=b[1]}var _=(0,l.Hq)(u,a),x=_.realScaleType,O=_.scale;O.domain(s).range(c),(0,l.zF)(O);var S=(0,l.g$)(O,_objectSpread(_objectSpread({},u),{},{realScaleType:x})),P=_objectSpread(_objectSpread(_objectSpread({},u),S),{},{range:c,radius:v,realScaleType:x,scale:O,cx:d,cy:y,innerRadius:g,outerRadius:v,startAngle:f,endAngle:p});return _objectSpread(_objectSpread({},e),{},_defineProperty({},n,P))},{})},distanceBetweenPoints=function(e,t){var n=e.x,o=e.y;return Math.sqrt(Math.pow(n-t.x,2)+Math.pow(o-t.y,2))},getAngleOfPoint=function(e,t){var n=e.x,o=e.y,i=t.cx,a=t.cy,c=distanceBetweenPoints({x:n,y:o},{x:i,y:a});if(c<=0)return{radius:c};var u=Math.acos((n-i)/c);return o>a&&(u=2*Math.PI-u),{radius:c,angle:180*u/Math.PI,angleInRadian:u}},formatAngleOfSector=function(e){var t=e.startAngle,n=e.endAngle,o=Math.min(Math.floor(t/360),Math.floor(n/360));return{startAngle:t-360*o,endAngle:n-360*o}},inRangeOfSector=function(e,t){var n,o=getAngleOfPoint({x:e.x,y:e.y},t),i=o.radius,a=o.angle,c=t.innerRadius,u=t.outerRadius;if(i<c||i>u)return!1;if(0===i)return!0;var s=formatAngleOfSector(t),l=s.startAngle,f=s.endAngle,p=a;if(l<=f){for(;p>f;)p-=360;for(;p<l;)p+=360;n=p>=l&&p<=f}else{for(;p>l;)p-=360;for(;p<f;)p+=360;n=p>=f&&p<=l}return n?_objectSpread(_objectSpread({},t),{},{radius:i,angle:p+360*Math.min(Math.floor(t.startAngle/360),Math.floor(t.endAngle/360))}):null},getTickClassName=function(e){return(0,a.isValidElement)(e)||u()(e)||"boolean"==typeof e?"":e.className}},52017:function(e,t,n){"use strict";n.d(t,{$R:function(){return parseChildIndex},Bh:function(){return getReactEventByType},Gf:function(){return getDisplayName},L6:function(){return filterProps},NN:function(){return findAllByType},TT:function(){return validateWidthHeight},eu:function(){return renderByOrder},jf:function(){return hasClipDot},rL:function(){return isChildrenEqual},sP:function(){return findChildByType}});var o=n(27361),i=n.n(o),a=n(14293),c=n.n(a),u=n(47037),s=n.n(u),l=n(23560),f=n.n(l),p=n(13218),d=n.n(p),y=n(67294),h=n(98508),g=n(69055),v=n(30791),m=n(79896),b=["children"],_=["children"];function _objectWithoutProperties(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var x={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},getDisplayName=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":""},O=null,S=null,toArray=function toArray(e){if(e===O&&Array.isArray(S))return S;var t=[];
1return y.Children.forEach(e,function(e){c()(e)||((0,h.isFragment)(e)?t=t.concat(toArray(e.props.children)):t.push(e))}),S=t,O=e,t};function findAllByType(e,t){var n=[],o=[];return o=Array.isArray(t)?t.map(function(e){return getDisplayName(e)}):[getDisplayName(t)],toArray(e).forEach(function(e){var t=i()(e,"type.displayName")||i()(e,"type.name");-1!==o.indexOf(t)&&n.push(e)}),n}function findChildByType(e,t){var n=findAllByType(e,t);return n&&n[0]}var validateWidthHeight=function(e){if(!e||!e.props)return!1;var t=e.props,n=t.width,o=t.height;return!!(0,g.hj)(n)&&!(n<=0)&&!!(0,g.hj)(o)&&!(o<=0)},P=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],hasClipDot=function(e){return e&&"object"===_typeof(e)&&"clipDot"in e},isValidSpreadableProp=function(e,t,n,o){var i,a=null!==(i=null===m.ry||void 0===m.ry?void 0:m.ry[o])&&void 0!==i?i:[];return t.startsWith("data-")||!f()(e)&&(o&&a.includes(t)||m.Yh.includes(t))||n&&m.nv.includes(t)},filterProps=function(e,t,n){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var o=e;if((0,y.isValidElement)(e)&&(o=e.props),!d()(o))return null;var i={};return Object.keys(o).forEach(function(e){var a;isValidSpreadableProp(null===(a=o)||void 0===a?void 0:a[e],e,t,n)&&(i[e]=o[e])}),i},isChildrenEqual=function isChildrenEqual(e,t){if(e===t)return!0;var n=y.Children.count(e);if(n!==y.Children.count(t))return!1;if(0===n)return!0;if(1===n)return isSingleChildEqual(Array.isArray(e)?e[0]:e,Array.isArray(t)?t[0]:t);for(var o=0;o<n;o++){var i=e[o],a=t[o];if(Array.isArray(i)||Array.isArray(a)){if(!isChildrenEqual(i,a))return!1}else if(!isSingleChildEqual(i,a))return!1}return!0},isSingleChildEqual=function(e,t){if(c()(e)&&c()(t))return!0;if(!c()(e)&&!c()(t)){var n=e.props||{},o=n.children,i=_objectWithoutProperties(n,b),a=t.props||{},u=a.children,s=_objectWithoutProperties(a,_);if(o&&u)return(0,v.w)(i,s)&&isChildrenEqual(o,u);if(!o&&!u)return(0,v.w)(i,s)}return!1},renderByOrder=function(e,t){var n=[],o={};return toArray(e).forEach(function(e,i){if(e&&e.type&&s()(e.type)&&P.indexOf(e.type)>=0)n.push(e);else if(e){var a=getDisplayName(e.type),c=t[a]||{},u=c.handler,l=c.once;if(u&&(!l||!o[a])){var f=u(e,a,i);n.push(f),o[a]=!0}}}),n},getReactEventByType=function(e){var t=e&&e.type;return t&&x[t]?x[t]:null},parseChildIndex=function(e,t){return toArray(t).indexOf(e)}},30791:function(e,t,n){"use strict";function shallowEqual(e,t){for(var n in e)if(({}).hasOwnProperty.call(e,n)&&(!({}).hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var o in t)if(({}).hasOwnProperty.call(t,o)&&!({}).hasOwnProperty.call(e,o))return!1;return!0}n.d(t,{w:function(){return shallowEqual}})},20430:function(e,t,n){"use strict";n.d(t,{z:function(){return getLegendProps}});var o=n(33558),i=n(75471),a=n(52017);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?ownKeys(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_typeof(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var getLegendProps=function(e){var t,n=e.children,c=e.formattedGraphicalItems,u=e.legendWidth,s=e.legendContent,l=(0,a.sP)(n,o.D);if(!l)return null;var f=o.D.defaultProps,p=void 0!==f?_objectSpread(_objectSpread({},f),l.props):{};return t=l.props&&l.props.payload?l.props&&l.props.payload:"children"===s?(c||[]).reduce(function(e,t){var n=t.item,o=t.props,i=o.sectors||o.data||[];return e.concat(i.map(function(e){return{type:l.props.iconType||n.props.legendType,value:e.name,color:e.fill,payload:e}}))},[]):(c||[]).map(function(e){var t=e.item,n=t.type.defaultProps,o=void 0!==n?_objectSpread(_objectSpread({},n),t.props):{},a=o.dataKey,c=o.name,u=o.legendType;return{inactive:o.hide,dataKey:a,type:p.iconType||u||"square",color:(0,i.fk)(t),value:c||a,payload:o}}),_objectSpread(_objectSpread(_objectSpread({},p),o.D.getWithHeight(l,u)),{},{payload:t,item:l})}},78817:function(e,t,n){"use strict";n.d(t,{z:function(){return getUniqPayload}});var o=n(45578),i=n.n(o),a=n(23560),c=n.n(a);function getUniqPayload(e,t,n){return!0===t?i()(e,n):c()(t)?i()(e,t):e}},79896:function(e,t,n){"use strict";n.d(t,{Yh:function(){return c},Ym:function(){return adaptEventHandlers},bw:function(){return adaptEventsOfChild},nv:function(){return l},ry:function(){return s}});var o=n(67294),i=n(13218),a=n.n(i);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var c=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],u=["points","pathLength"],s={svg:["viewBox","children"],polygon:u,polyline:u},l=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onF
1ocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],adaptEventHandlers=function(e,t){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var n=e;if((0,o.isValidElement)(e)&&(n=e.props),!a()(n))return null;var i={};return Object.keys(n).forEach(function(e){l.includes(e)&&(i[e]=t||function(t){return n[e](n,t)})}),i},adaptEventsOfChild=function(e,t,n){if(!a()(e)||"object"!==_typeof(e))return null;var o=null;return Object.keys(e).forEach(function(i){var a=e[i];l.includes(i)&&"function"==typeof a&&(o||(o={}),o[i]=function(e){return a(t,n,e),null})}),o}},42894:function(e,t){"use strict";/**
2 * @license React
3 * react-is.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var n=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),h=Symbol.for("react.lazy");Symbol.for("react.offscreen"),Symbol.for("react.module.reference"),t.isFragment=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case c:case a:case p:case d:return e;default:switch(e=e&&e.$$typeof){case l:case s:case f:case h:case y:case u:return e;default:return t}}case o:return t}}}(e)===i}},98508:function(e,t,n){"use strict";e.exports=n(42894)},175:function(e,t,n){"use strict";n.d(t,{Z:function(){return band},x:function(){return point}});var o=n(94182),i=n(46244);function band(){var e,t,n=(0,i.Z)().unknown(void 0),a=n.domain,c=n.range,u=0,s=1,l=!1,f=0,p=0,d=.5;function rescale(){var n=a().length,o=s<u,i=o?s:u,y=o?u:s;e=(y-i)/Math.max(1,n-f+2*p),l&&(e=Math.floor(e)),i+=(y-i-e*(n-f))*d,t=e*(1-f),l&&(i=Math.round(i),t=Math.round(t));var h=(function(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var o=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),a=Array(i);++o<i;)a[o]=e+o*n;return a})(n).map(function(t){return i+e*t});return c(o?h.reverse():h)}return delete n.unknown,n.domain=function(e){return arguments.length?(a(e),rescale()):a()},n.range=function(e){return arguments.length?([u,s]=e,u=+u,s=+s,rescale()):[u,s]},n.rangeRound=function(e){return[u,s]=e,u=+u,s=+s,l=!0,rescale()},n.bandwidth=function(){return t},n.step=function(){return e}
9,n.round=function(e){return arguments.length?(l=!!e,rescale()):l},n.padding=function(e){return arguments.length?(f=Math.min(1,p=+e),rescale()):f},n.paddingInner=function(e){return arguments.length?(f=Math.min(1,e),rescale()):f},n.paddingOuter=function(e){return arguments.length?(p=+e,rescale()):p},n.align=function(e){return arguments.length?(d=Math.max(0,Math.min(1,e)),rescale()):d},n.copy=function(){return band(a(),[u,s]).round(l).paddingInner(f).paddingOuter(p).align(d)},o.o.apply(rescale(),arguments)}function point(){return function pointish(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return pointish(t())},e}(band.apply(null,arguments).paddingInner(1))}},94182:function(e,t,n){"use strict";function initRange(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function initInterpolator(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}n.d(t,{O:function(){return initInterpolator},o:function(){return initRange}})},46244:function(e,t,n){"use strict";n.d(t,{Z:function(){return function ordinal(){var e=new InternMap,t=[],n=[],a=i;function scale(o){let c=e.get(o);if(void 0===c){if(a!==i)return a;e.set(o,c=t.push(o)-1)}return n[c%n.length]}return scale.domain=function(n){if(!arguments.length)return t.slice();for(let o of(t=[],e=new InternMap,n))e.has(o)||e.set(o,t.push(o)-1);return scale},scale.range=function(e){return arguments.length?(n=Array.from(e),scale):n.slice()},scale.unknown=function(e){return arguments.length?(a=e,scale):a},scale.copy=function(){return ordinal(t,n).unknown(a)},o.o.apply(scale,arguments),scale}},O:function(){return i}});let InternMap=class InternMap extends Map{constructor(e,t=keyof){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(intern_get(this,e))}has(e){return super.has(intern_get(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){let o=t(n);return e.has(o)?e.get(o):(e.set(o,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){let o=t(n);return e.has(o)&&(n=e.get(o),e.delete(o)),n}(this,e))}};function intern_get({_intern:e,_key:t},n){let o=t(n);return e.has(o)?e.get(o):n}function keyof(e){return null!==e&&"object"==typeof e?e.valueOf():e}var o=n(94182);let i=Symbol("implicit")},94788:function(e,t,n){"use strict";function __WEBPACK_DEFAULT_EXPORT__(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}n.d(t,{Z:function(){return __WEBPACK_DEFAULT_EXPORT__}}),Array.prototype.slice},20309:function(e,t,n){"use strict";function __WEBPACK_DEFAULT_EXPORT__(e){return function(){return e}}n.d(t,{Z:function(){return __WEBPACK_DEFAULT_EXPORT__}})},52882:function(e,t,n){"use strict";n.d(t,{d:function(){return withPath}});let o=Math.PI,i=2*o,a=i-1e-6;function append(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}let Path=class Path{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?append:function(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return append;let n=10**t;return function(e){this._+=e[0];for(let t=1,o=e.length;t<o;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,o){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+o}`}bezierCurveTo(e,t,n,o,i,a){this._append`C${+e},${+t},${+n},${+o},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,i,a){if(e=+e,t=+t,n=+n,i=+i,(a=+a)<0)throw Error(`negative radius: ${a}`);let c=this._x1,u=this._y1,s=n-e,l=i-t,f=c-e,p=u-t,d=f*f+p*p;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(d>1e-6){if(Math.abs(p*s-l*f)>1e-6&&a){let y=n-c,h=i-u,g=s*s+l*l,v=Math.sqrt(g),m=Math.sqrt(d),b=a*Math.tan((o-Math.acos((g+d-(y*y+h*h))/(2*v*m)))/2),_=b/m,x=b/v;Math.abs(_-1)>1e-6&&this._append`L${e+_*f},${t+_*p}`,this._append`A${a},${a},0,0,${+(p*y>f*h)},${this._x1=e+x*s},${this._y1=t+x*l}`}else this._append`L${this._x1=e},${this._y1=t}`}}arc(e,t,n,c,u,s){if(e=+e,t=+t,s=!!s,(n=+n)<0)throw Error(`negative radius: ${n}`);let l=n*Math.cos(c),f=n*Math.sin(c),p=e+l,d=t+f,y=1^s,h=s?c-u:u-c;null===this._x1?this._append`M${p},${d}`:(Math.abs(this._x1-p)>1e-6||Math.abs(this._y1-d)>1e-6)&&this._append`L${p},${d}`,n&&(h<0&&(h=h%i+i),h>a?this._append`A${n},${n},0,1,${y},${e-l},${t-f}A${n},${n},0,1,${y},${this._x1=p},${this._y1=d}`:h>1e-6&&this._append`A${n},${n},0,${+(h>=o)},${y},${this._x1=e+n*Math.cos(u)},${this._y1=t+n*Math.sin(u)}`)}rect(e,t,n,o){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+o}h${-n}Z`}toString(){return this._}};function withPath(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new Path(t)}Path.prototype},83231:function(e,t,n){"use strict";t.Z=function(){for(var e,t,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n)}return o}(e))&&(o&&(o+=" "),o+=t);return o}},38776:function(e,t,n){"use strict";function invariant(e,t){if(!e)throw Error("Invariant failed")}n.d(t,{Z:function(){return invariant}}
9)}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.