1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,651655,(t,e,r)=>{!function(r){"use strict";var n,o={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},i=!0,a="[DecimalError] ",u=a+"Invalid argument: ",c=a+"Exponent out of range: ",l=Math.floor,s=Math.pow,f=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,p=l(1286742750677284.5),d={};function h(t,e){var r,n,o,a,u,c,l,s,f=t.constructor,p=f.precision;if(!t.s||!e.s)return e.s||(e=new f(t)),i?S(e,p):e;if(l=t.d,s=e.d,u=t.e,o=e.e,l=l.slice(),a=u-o){for(a<0?(n=l,a=-a,c=s.length):(n=s,o=u,c=l.length),a>(c=(u=Math.ceil(p/7))>c?u+1:c+1)&&(a=c,n.length=1),n.reverse();a--;)n.push(0);n.reverse()}for((c=l.length)-(a=s.length)<0&&(a=c,n=s,s=l,l=n),r=0;a;)r=(l[--a]=l[a]+s[a]+r)/1e7|0,l[a]%=1e7;for(r&&(l.unshift(r),++o),c=l.length;0==l[--c];)l.pop();return e.d=l,e.e=o,i?S(e,p):e}function y(t,e,r){if(t!==~~t||t<e||t>r)throw Error(u+t)}function v(t){var e,r,n,o=t.length-1,i="",a=t[0];if(o>0){for(i+=a,e=1;e<o;e++)(r=7-(n=t[e]+"").length)&&(i+=O(r)),i+=n;(r=7-(n=(a=t[e])+"").length)&&(i+=O(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return i+a}d.absoluteValue=d.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},d.comparedTo=d.cmp=function(t){var e,r,n,o;if(t=new this.constructor(t),this.s!==t.s)return this.s||-t.s;if(this.e!==t.e)return this.e>t.e^this.s<0?1:-1;for(n=this.d.length,e=0,r=n<(o=t.d.length)?n:o;e<r;++e)if(this.d[e]!==t.d[e])return this.d[e]>t.d[e]^this.s<0?1:-1;return n===o?0:n>o^this.s<0?1:-1},d.decimalPlaces=d.dp=function(){var t=this.d.length-1,e=(t-this.e)*7;if(t=this.d[t])for(;t%10==0;t/=10)e--;return e<0?0:e},d.dividedBy=d.div=function(t){return m(this,new this.constructor(t))},d.dividedToIntegerBy=d.idiv=function(t){var e=this.constructor;return S(m(this,new e(t),0,1),e.precision)},d.equals=d.eq=function(t){return!this.cmp(t)},d.exponent=function(){return g(this)},d.greaterThan=d.gt=function(t){return this.cmp(t)>0},d.greaterThanOrEqualTo=d.gte=function(t){return this.cmp(t)>=0},d.isInteger=d.isint=function(){return this.e>this.d.length-2},d.isNegative=d.isneg=function(){return this.s<0},d.isPositive=d.ispos=function(){return this.s>0},d.isZero=function(){return 0===this.s},d.lessThan=d.lt=function(t){return 0>this.cmp(t)},d.lessThanOrEqualTo=d.lte=function(t){return 1>this.cmp(t)},d.logarithm=d.log=function(t){var e,r=this.constructor,o=r.precision,u=o+5;if(void 0===t)t=new r(10);else if((t=new r(t)).s<1||t.eq(n))throw Error(a+"NaN");if(this.s<1)throw Error(a+(this.s?"NaN":"-Infinity"));return this.eq(n)?new r(0):(i=!1,e=m(w(this,u),w(t,u),u),i=!0,S(e,o))},d.minus=d.sub=function(t){return t=new this.constructor(t),this.s==t.s?P(this,t):h(this,(t.s=-t.s,t))},d.modulo=d.mod=function(t){var e,r=this.constructor,n=r.precision;if(!(t=new r(t)).s)throw Error(a+"NaN");return this.s?(i=!1,e=m(this,t,0,1).times(t),i=!0,this.minus(e)):S(new r(this),n)},d.naturalExponential=d.exp=function(){return b(this)},d.naturalLogarithm=d.ln=function(){return w(this)},d.negated=d.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},d.plus=d.add=function(t){return t=new this.constructor(t),this.s==t.s?h(this,t):P(this,(t.s=-t.s,t))},d.precision=d.sd=function(t){var e,r,n;if(void 0!==t&&!!t!==t&&1!==t&&0!==t)throw Error(u+t);if(e=g(this)+1,r=7*(n=this.d.length-1)+1,n=this.d[n]){for(;n%10==0;n/=10)r--;for(n=this.d[0];n>=10;n/=10)r++}return t&&e>r?e:r},d.squareRoot=d.sqrt=function(){var t,e,r,n,o,u,c,s=this.constructor;if(this.s<1){if(!this.s)return new s(0);throw Error(a+"NaN")}for(t=g(this),i=!1,0==(o=Math.sqrt(+this))||o==1/0?(((e=v(this.d)).length+t)%2==0&&(e+="0"),o=Math.sqrt(e),t=l((t+1)/2)-(t<0||t%2),n=new s(e=o==1/0?"5e"+t:(e=o.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new s(o.toString()),o=c=(r=s.precision)+3;;)if(n=(u=n).plus(m(this,u,c+2)).times(.5),v(u.d).slice(0,c)===(e=v(n.d)).slice(0,c)){if(e=e.slice(c-3,c+1),o==c&&"4999"==e){if(S(u,r+1,0),u.times(u).eq(this)){n=u;break}}else if("9999"!=e)break;c+=4}return i=!0,S(n,r)},d.times=d.mul=function(t){var e,r,n,o,a,u,c,l,s,f=this.constructor,p=this.d,d=(t=new f(t)).d;if(!this.s||!t.s)return new f(0);for(t.s*=this.s,r=this.e+t.e,(l=p.length)<(s=d.length)&&(a=p,p=d,d=a,u=l,l=s,s=u),a=[],n=u=l+s;n--;)a.push(0);for(n=s;--n>=0;){for(e=0,o=l+n;o>n;)c=a[o]+d[n]*p[o-n-1]+e,a[o--]=c%1e7|0,e=c/1e7|0;a[o]=(a[o]+e)%1e7|0}for(;!a[--u];)a.pop();return e?++r:a.shift(),t.d=a,t.e=r,i?S(t,f.precision):t},d.toDecimalPlaces=d.todp=function(t,e){var r=this,n=r.constructor;
1return(r=new n(r),void 0===t)?r:(y(t,0,1e9),void 0===e?e=n.rounding:y(e,0,8),S(r,t+g(r)+1,e))},d.toExponential=function(t,e){var r,n=this,o=n.constructor;return void 0===t?r=E(n,!0):(y(t,0,1e9),void 0===e?e=o.rounding:y(e,0,8),r=E(n=S(new o(n),t+1,e),!0,t+1)),r},d.toFixed=function(t,e){var r,n,o=this.constructor;return void 0===t?E(this):(y(t,0,1e9),void 0===e?e=o.rounding:y(e,0,8),r=E((n=S(new o(this),t+g(this)+1,e)).abs(),!1,t+g(n)+1),this.isneg()&&!this.isZero()?"-"+r:r)},d.toInteger=d.toint=function(){var t=this.constructor;return S(new t(this),g(this)+1,t.rounding)},d.toNumber=function(){return+this},d.toPower=d.pow=function(t){var e,r,o,u,c,s,f=this,p=f.constructor,d=+(t=new p(t));if(!t.s)return new p(n);if(!(f=new p(f)).s){if(t.s<1)throw Error(a+"Infinity");return f}if(f.eq(n))return f;if(o=p.precision,t.eq(n))return S(f,o);if(s=(e=t.e)>=(r=t.d.length-1),c=f.s,s){if((r=d<0?-d:d)<=0x1fffffffffffff){for(u=new p(n),e=Math.ceil(o/7+4),i=!1;r%2&&A((u=u.times(f)).d,e),0!==(r=l(r/2));)A((f=f.times(f)).d,e);return i=!0,t.s<0?new p(n).div(u):S(u,o)}}else if(c<0)throw Error(a+"NaN");return c=c<0&&1&t.d[Math.max(e,r)]?-1:1,f.s=1,i=!1,u=t.times(w(f,o+12)),i=!0,(u=b(u)).s=c,u},d.toPrecision=function(t,e){var r,n,o=this,i=o.constructor;return void 0===t?(r=g(o),n=E(o,r<=i.toExpNeg||r>=i.toExpPos)):(y(t,1,1e9),void 0===e?e=i.rounding:y(e,0,8),r=g(o=S(new i(o),t,e)),n=E(o,t<=r||r<=i.toExpNeg,t)),n},d.toSignificantDigits=d.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(y(t,1,1e9),void 0===e?e=r.rounding:y(e,0,8)),S(new r(this),t,e)},d.toString=d.valueOf=d.val=d.toJSON=function(){var t=g(this),e=this.constructor;return E(this,t<=e.toExpNeg||t>=e.toExpPos)};var m=function(){function t(t,e){var r,n=0,o=t.length;for(t=t.slice();o--;)r=t[o]*e+n,t[o]=r%1e7|0,n=r/1e7|0;return n&&t.unshift(n),t}function e(t,e,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;o<r;o++)if(t[o]!=e[o]){i=t[o]>e[o]?1:-1;break}return i}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=+(t[r]<e[r]),t[r]=1e7*n+t[r]-e[r];for(;!t[0]&&t.length>1;)t.shift()}return function(n,o,i,u){var c,l,s,f,p,d,h,y,v,m,b,x,O,w,j,P,E,A,k=n.constructor,M=n.s==o.s?1:-1,_=n.d,T=o.d;if(!n.s)return new k(n);if(!o.s)throw Error(a+"Division by zero");for(l=n.e-o.e,E=T.length,j=_.length,y=(h=new k(M)).d=[],s=0;T[s]==(_[s]||0);)++s;if(T[s]>(_[s]||0)&&--l,(x=null==i?i=k.precision:u?i+(g(n)-g(o))+1:i)<0)return new k(0);if(x=x/7+2|0,s=0,1==E)for(f=0,T=T[0],x++;(s<j||f)&&x--;s++)O=1e7*f+(_[s]||0),y[s]=O/T|0,f=O%T|0;else{for((f=1e7/(T[0]+1)|0)>1&&(T=t(T,f),_=t(_,f),E=T.length,j=_.length),w=E,m=(v=_.slice(0,E)).length;m<E;)v[m++]=0;(A=T.slice()).unshift(0),P=T[0],T[1]>=1e7/2&&++P;do f=0,(c=e(T,v,E,m))<0?(b=v[0],E!=m&&(b=1e7*b+(v[1]||0)),(f=b/P|0)>1?(f>=1e7&&(f=1e7-1),d=(p=t(T,f)).length,m=v.length,1==(c=e(p,v,d,m))&&(f--,r(p,E<d?A:T,d))):(0==f&&(c=f=1),p=T.slice()),(d=p.length)<m&&p.unshift(0),r(v,p,m),-1==c&&(m=v.length,(c=e(T,v,E,m))<1&&(f++,r(v,E<m?A:T,m))),m=v.length):0===c&&(f++,v=[0]),y[s++]=f,c&&v[0]?v[m++]=_[w]||0:(v=[_[w]],m=1);while((w++<j||void 0!==v[0])&&x--)}return y[0]||y.shift(),h.e=l,S(h,u?i+g(h)+1:i)}}();function b(t,e){var r,o,a,u,l,f=0,p=0,d=t.constructor,h=d.precision;if(g(t)>16)throw Error(c+g(t));if(!t.s)return new d(n);for(null==e?(i=!1,l=h):l=e,u=new d(.03125);t.abs().gte(.1);)t=t.times(u),p+=5;for(l+=Math.log(s(2,p))/Math.LN10*2+5|0,r=o=a=new d(n),d.precision=l;;){if(o=S(o.times(t),l),r=r.times(++f),v((u=a.plus(m(o,r,l))).d).slice(0,l)===v(a.d).slice(0,l)){for(;p--;)a=S(a.times(a),l);return d.precision=h,null==e?(i=!0,S(a,h)):a}a=u}}function g(t){for(var e=7*t.e,r=t.d[0];r>=10;r/=10)e++;return e}function x(t,e,r){if(e>t.LN10.sd())throw i=!0,r&&(t.precision=r),Error(a+"LN10 precision limit exceeded");return S(new t(t.LN10),e)}function O(t){for(var e="";t--;)e+="0";return e}function w(t,e){var r,o,u,c,l,s,f,p,d,h=1,y=t,b=y.d,O=y.constructor,j=O.precision;if(y.s<1)throw Error(a+(y.s?"NaN":"-Infinity"));if(y.eq(n))return new O(0);if(null==e?(i=!1,p=j):p=e,y.eq(10))return null==e&&(i=!0),x(O,p);if(O.precision=p+=10,o=(r=v(b)).charAt(0),!(15e14>Math.abs(c=g(y))))return f=x(O,p+2,j).times(c+""),y=w(new O(o+"."+r.slice(1)),p-10).plus(f),O.precision=j,null==e?(i=!0,S(y,j)):y;for(;o<7&&1!=o||1==o&&r.charAt(1)>3;)o=(r=v((y=y.times(t)).d)).charAt(0),h++;for(c=g(y),o>1?(y=new O("0."+r),c++):y=new O(o+"."+r.slice(1)),s=l=y=m(y.minus(n),y.plus(n),p),d=S(y.times(y),p),u=3;;){if(l=S(l.times(d),p),v((f=s.plus(m(l,new O(u),p))).d).slice(0,p)===v(s.d).slice(0,p))return s=s.times(2),0!==c&&(s=s.plus(x(O,p+2,j).times(c+""))),s=m(s,new O(h),p),O.precision=j,null==e?(i=!0,S(s,j)):s;s=f,u+=2}}function j(t,e){var r,n,o;for((r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;48===e.charCodeAt(n);)++n;for(o=e.length;48===e.charCodeAt(o-1);)--o;
1if(e=e.slice(n,o)){if(o-=n,t.e=l((r=r-n-1)/7),t.d=[],n=(r+1)%7,r<0&&(n+=7),n<o){for(n&&t.d.push(+e.slice(0,n)),o-=7;n<o;)t.d.push(+e.slice(n,n+=7));n=7-(e=e.slice(n)).length}else n-=o;for(;n--;)e+="0";if(t.d.push(+e),i&&(t.e>p||t.e<-p))throw Error(c+r)}else t.s=0,t.e=0,t.d=[0];return t}function S(t,e,r){var n,o,a,u,f,d,h,y,v=t.d;for(u=1,a=v[0];a>=10;a/=10)u++;if((n=e-u)<0)n+=7,o=e,h=v[y=0];else{if((y=Math.ceil((n+1)/7))>=(a=v.length))return t;for(h=a=v[y],u=1;a>=10;a/=10)u++;n%=7,o=n-7+u}if(void 0!==r&&(f=h/(a=s(10,u-o-1))%10|0,d=e<0||void 0!==v[y+1]||h%a,d=r<4?(f||d)&&(0==r||r==(t.s<0?3:2)):f>5||5==f&&(4==r||d||6==r&&(n>0?o>0?h/s(10,u-o):0:v[y-1])%10&1||r==(t.s<0?8:7))),e<1||!v[0])return d?(a=g(t),v.length=1,e=e-a-1,v[0]=s(10,(7-e%7)%7),t.e=l(-e/7)||0):(v.length=1,v[0]=t.e=t.s=0),t;if(0==n?(v.length=y,a=1,y--):(v.length=y+1,a=s(10,7-n),v[y]=o>0?(h/s(10,u-o)%s(10,o)|0)*a:0),d)for(;;)if(0==y){1e7==(v[0]+=a)&&(v[0]=1,++t.e);break}else{if(v[y]+=a,1e7!=v[y])break;v[y--]=0,a=1}for(n=v.length;0===v[--n];)v.pop();if(i&&(t.e>p||t.e<-p))throw Error(c+g(t));return t}function P(t,e){var r,n,o,a,u,c,l,s,f,p,d=t.constructor,h=d.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new d(t),i?S(e,h):e;if(l=t.d,p=e.d,n=e.e,s=t.e,l=l.slice(),u=s-n){for((f=u<0)?(r=l,u=-u,c=p.length):(r=p,n=s,c=l.length),u>(o=Math.max(Math.ceil(h/7),c)+2)&&(u=o,r.length=1),r.reverse(),o=u;o--;)r.push(0);r.reverse()}else{for((f=(o=l.length)<(c=p.length))&&(c=o),o=0;o<c;o++)if(l[o]!=p[o]){f=l[o]<p[o];break}u=0}for(f&&(r=l,l=p,p=r,e.s=-e.s),c=l.length,o=p.length-c;o>0;--o)l[c++]=0;for(o=p.length;o>u;){if(l[--o]<p[o]){for(a=o;a&&0===l[--a];)l[a]=1e7-1;--l[a],l[o]+=1e7}l[o]-=p[o]}for(;0===l[--c];)l.pop();for(;0===l[0];l.shift())--n;return l[0]?(e.d=l,e.e=n,i?S(e,h):e):new d(0)}function E(t,e,r){var n,o=g(t),i=v(t.d),a=i.length;return e?(r&&(n=r-a)>0?i=i.charAt(0)+"."+i.slice(1)+O(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+O(-o-1)+i,r&&(n=r-a)>0&&(i+=O(n))):o>=a?(i+=O(o+1-a),r&&(n=r-o-1)>0&&(i=i+"."+O(n))):((n=o+1)<a&&(i=i.slice(0,n)+"."+i.slice(n)),r&&(n=r-a)>0&&(o+1===a&&(i+="."),i+=O(n))),t.s<0?"-"+i:i}function A(t,e){if(t.length>e)return t.length=e,!0}function k(t){if(!t||"object"!=typeof t)throw Error(a+"Object expected");var e,r,n,o=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<o.length;e+=3)if(void 0!==(n=t[r=o[e]]))if(l(n)===n&&n>=o[e+1]&&n<=o[e+2])this[r]=n;else throw Error(u+r+": "+n);if(void 0!==(n=t[r="LN10"]))if(n==Math.LN10)this[r]=new this(n);else throw Error(u+r+": "+n);return this}if((o=function t(e){var r,n,o;function i(t){if(!(this instanceof i))return new i(t);if(this.constructor=i,t instanceof i){this.s=t.s,this.e=t.e,this.d=(t=t.d)?t.slice():t;return}if("number"==typeof t){if(0*t!=0)throw Error(u+t);if(t>0)this.s=1;else if(t<0)t=-t,this.s=-1;else{this.s=0,this.e=0,this.d=[0];return}if(t===~~t&&t<1e7){this.e=0,this.d=[t];return}return j(this,t.toString())}if("string"!=typeof t)throw Error(u+t);if(45===t.charCodeAt(0)?(t=t.slice(1),this.s=-1):this.s=1,f.test(t))j(this,t);else throw Error(u+t)}if(i.prototype=d,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=t,i.config=i.set=k,void 0===e&&(e={}),e)for(r=0,o=["precision","rounding","toExpNeg","toExpPos","LN10"];r<o.length;)e.hasOwnProperty(n=o[r++])||(e[n]=this[n]);return i.config(e),i}(o)).default=o.Decimal=o,n=new o(1),"function"==typeof define&&define.amd){let e;t.r,void 0!==(e=o)&&t.v(e)}else e.exports?e.exports=o:(r||(r="u">typeof self&&self&&self.self==self?self:Function("return this")()),r.Decimal=o)}(t.e)},478492,(t,e,r)=>{"use strict";var n=Object.prototype.hasOwnProperty,o="~";function i(){}function a(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function u(t,e,r,n,i){if("function"!=typeof r)throw TypeError("The listener must be a function");var u=new a(r,n||t,i),c=o?o+e:e;return t._events[c]?t._events[c].fn?t._events[c]=[t._events[c],u]:t._events[c].push(u):(t._events[c]=u,t._eventsCount++),t}function c(t,e){0==--t._eventsCount?t._events=new i:delete t._events[e]}function l(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(o=!1)),l.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)n.call(t,e)&&r.push(o?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},l.prototype.listeners=function(t){var e=o?o+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,i=r.length,a=Array(i);n<i;n++)a[n]=r[n].fn;return a},l.prototype.listenerCount=function(t){var e=o?o+t:t,r=this._events[e];return r?r.fn?1:r.length:0},l.prototype.emit=function(t,e,r,n,i,a){var u=o?o+t:t;if(!this._events[u])return!1;var c,l,s=this._events[u],f=arguments.length;if(s.fn){switch(s.once&&this.removeListener(t,s.fn,void 0,!0),f){case 1:return s.fn.call(s.context),!0;case 2:return s.fn.call(s.context,e),!0;case 3:return s.fn.call(s.context,e,r),!0;case 4:return s.fn.call(s.context,e,r,n),!0;case 5:return s.fn.call(s.context,e,r,n,i),!0;case 6:return s.fn.call(s.context,e,r,n,i,a),!0}for(l=1,c=Array(f-1);l<f;l++)c[l-1]=arguments[l];s.fn.apply(s.context,c)}else{var p,d=s.length;for(l=0;l<d;l++)switch(s[l].once&&this.removeListener(t,s[l].fn,void 0,!0),f){case 1:s[l].fn.call(s[l].context);break;case 2:s[l].fn.call(s[l].context,e);break;case 3:s[l].fn.call(s[l].context,e,r);break;case 4:s[l].fn.call(s[l].context,e,r,n);break;default:if(!c)for(p=1,c=Array(f-1);p<f;p++)c[p-1]=arguments[p];s[l].fn.apply(s[l].context,c)}}return!0},l.prototype.on=function(t,e,r){return u(this,t,e,r,!1)},l.prototype.once=function(t,e,r){return u(this,t,e,r,!0)},l.prototype.removeListener=function(t,e,r,n){var i=o?o+t:t;if(!this._events[i])return this;if(!e)return c(this,i),this;var a=this._events[i];if(a.fn)a.fn!==e||n&&!a.once||r&&a.context!==r||c(this,i);else{for(var u=0,l=[],s=a.length;u<s;u++)(a[u].fn!==e||n&&!a[u].once||r&&a[u].context!==r)&&l.push(a[u]);l.length?this._events[i]=1===l.length?l[0]:l:c(this,i)}return this},l.prototype.removeAllListeners=function(t){var e;return t?(e=o?o+t:t,this._events[e]&&c(this,e)):(this._events=new i,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=o,l.EventEmitter=l,e.exports=l},687362,(t,e,r)=>{e.exports=t.r(841920)(t.r(139088),"Map")}
1,630353,(t,e,r)=>{e.exports=t.r(139088).Symbol},263750,(t,e,r)=>{e.exports=t.r(139088).Uint8Array},75331,(t,e,r)=>{e.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}},899850,(t,e,r)=>{e.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},678012,(t,e,r)=>{var n=t.r(630353),o=t.r(263750),i=t.r(25172),a=t.r(206856),u=t.r(75331),c=t.r(899850),l=n?n.prototype:void 0,s=l?l.valueOf:void 0;e.exports=function(t,e,r,n,l,f,p){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":if(t.byteLength!=e.byteLength||!f(new o(t),new o(e)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var d=u;case"[object Set]":var h=1&n;if(d||(d=c),t.size!=e.size&&!h)break;var y=p.get(t);if(y)return y==e;n|=2,p.set(t,e);var v=a(d(t),d(e),n,l,f,p);return p.delete(t),v;case"[object Symbol]":if(s)return s.call(t)==s.call(e)}return!1}},838199,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(!e(t[r],r,t))return!1;return!0}},892708,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},169102,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},851477,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},134314,(t,e,r)=>{var n=t.r(25172);e.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return -1}},419206,(t,e,r)=>{var n=t.r(134314),o=Array.prototype.splice;e.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},467763,(t,e,r)=>{var n=t.r(134314);e.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},523407,(t,e,r)=>{var n=t.r(134314);e.exports=function(t){return n(this.__data__,t)>-1}},553833,(t,e,r)=>{var n=t.r(134314);e.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},729039,(t,e,r)=>{var n=t.r(665742),o=t.r(419206),i=t.r(467763),a=t.r(523407),u=t.r(553833);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,e.exports=c},674548,(t,e,r)=>{var n=t.r(524251);e.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},708088,(t,e,r)=>{var n=t.r(453587);e.exports=function(t,e){var r=!0;return n(t,function(t,n,o){return r=!!e(t,n,o)}),r}},641015,(t,e,r)=>{var n=t.r(361884);e.exports=function(t,e,r){for(var o=-1,i=t.length;++o<i;){var a=t[o],u=e(a);if(null!=u&&(void 0===c?u==u&&!n(u):r(u,c)))var c=u,l=a}return l}},580957,(t,e,r)=>{e.exports=function(t,e){return t>e}},356445,(t,e,r)=>{e.exports=function(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i<o;)if(e(t[i],i,t))return i;return -1}},163799,(t,e,r)=>{var n=t.r(98728),o=t.r(33679);e.exports=function(t,e){return t&&n(t,e,o)}},823403,(t,e,r)=>{var n=t.r(169102),o=t.r(45350);e.exports=function(t,e,r){var i=e(t);return o(t)?i:n(i,r(t))}},536100,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var a=t[r];e(a,r,t)&&(i[o++]=a)}return i}},45159,(t,e,r)=>{e.exports=function(){return[]}},717332,(t,e,r)=>{var n=t.r(536100),o=t.r(45159),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;e.exports=a?function(t){return null==t?[]:n(a(t=Object(t)),function(e){return i.call(t,e)})}:o},240688,(t,e,r)=>{e.exports=function(t,e){return null!=t&&e in Object(t)}},215359,(t,e,r)=>{var n=t.r(186287),o=t.r(473250),i=t.r(45350),a=t.r(66397),u=t.r(98376),c=t.r(2054);e.exports=function(t,e,r){e=n(e,t);for(var l=-1,s=e.length,f=!1;++l<s;){var p=c(e[l]);if(!(f=null!=t&&r(t,p)))break;t=t[p]}
1return f||++l!=s?f:!!(s=null==t?0:t.length)&&u(s)&&a(p,s)&&(i(t)||o(t))}},602816,(t,e,r)=>{var n=t.r(240688),o=t.r(215359);e.exports=function(t,e){return null!=t&&o(t,e,n)}},772298,(t,e,r)=>{var n=t.r(421885),o=t.r(482820),i=t.r(602816),a=t.r(9903),u=t.r(715782),c=t.r(165570),l=t.r(2054);e.exports=function(t,e){return a(t)&&u(e)?c(l(t),e):function(r){var a=o(r,t);return void 0===a&&a===e?i(r,t):n(e,a,3)}}},566645,(t,e,r)=>{var n=t.r(377684),o=t.r(877289);e.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},473250,(t,e,r)=>{var n=t.r(566645),o=t.r(877289),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable;e.exports=n(function(){return arguments}())?n:function(t){return o(t)&&a.call(t,"callee")&&!u.call(t,"callee")}},748299,(t,e,r)=>{var n=t.r(901551),o=t.r(421885);e.exports=function(t,e,r,i){var a=r.length,u=a,c=!i;if(null==t)return!u;for(t=Object(t);a--;){var l=r[a];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<u;){var s=(l=r[a])[0],f=t[s],p=l[1];if(c&&l[2]){if(void 0===f&&!(s in t))return!1}else{var d=new n;if(i)var h=i(f,p,s,t,e,d);if(!(void 0===h?o(p,f,3,i,d):h))return!1}}return!0}},715782,(t,e,r)=>{var n=t.r(12447);e.exports=function(t){return t==t&&!n(t)}},741903,(t,e,r)=>{var n=t.r(715782),o=t.r(33679);e.exports=function(t){for(var e=o(t),r=e.length;r--;){var i=e[r],a=t[i];e[r]=[i,a,n(a)]}return e}},165570,(t,e,r)=>{e.exports=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}},623426,(t,e,r)=>{var n=t.r(748299),o=t.r(741903),i=t.r(165570);e.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},104078,(t,e,r)=>{e.exports=function(t){return t!=t}},201987,(t,e,r)=>{e.exports=function(t,e,r){for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return -1}},649719,(t,e,r)=>{var n=t.r(356445),o=t.r(104078),i=t.r(201987);e.exports=function(t,e,r){return e==e?i(t,e,r):n(t,o,r)}},146515,(t,e,r)=>{var n=t.r(649719);e.exports=function(t,e){return!!(null==t?0:t.length)&&n(t,e,0)>-1}},829584,(t,e,r)=>{e.exports=function(t,e,r){for(var n=-1,o=null==t?0:t.length;++n<o;)if(r(e,t[n]))return!0;return!1}},591692,(t,e,r)=>{e.exports=function(){}},208484,(t,e,r)=>{var n=t.r(106966),o=t.r(591692),i=t.r(899850);e.exports=n&&1/i(new n([,-0]))[1]==1/0?function(t){return new n(t)}:o},910339,(t,e,r)=>{var n=t.r(27493),o=t.r(146515),i=t.r(829584),a=t.r(315262),u=t.r(208484),c=t.r(899850);e.exports=function(t,e,r){var l=-1,s=o,f=t.length,p=!0,d=[],h=d;if(r)p=!1,s=i;else if(f>=200){var y=e?null:u(t);if(y)return c(y);p=!1,s=a,h=new n}else h=e?[]:d;t:for(;++l<f;){var v=t[l],m=e?e(v):v;if(v=r||0!==v?v:0,p&&m==m){for(var b=h.length;b--;)if(h[b]===m)continue t;e&&h.push(m),d.push(v)}else s(h,m,r)||(h!==d&&h.push(m),d.push(v))}return d}},774010,(t,e,r)=>{var n=t.r(666305),o=t.r(910339);e.exports=function(t,e){return t&&t.length?o(t,n(e,2)):[]}},476602,(t,e,r)=>{var n=t.r(377684),o=t.r(98376),i=t.r(877289),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(t){return i(t)&&o(t.length)&&!!a[n(t)]}},233999,(t,e,r)=>{e.exports=function(t){return function(e){return t(e)}}},180156,(t,e,r)=>{var n=t.r(100236),o=r&&!r.nodeType&&r,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&n.process;e.exports=function(){try{var t=i&&i.require&&i.require("util").types;if(t)return t;return a&&a.binding&&a.binding("util")}catch(t){}}()},3023,(t,e,r)=>{var n=t.r(476602),o=t.r(233999),i=t.r(180156),a=i&&i.isTypedArray;e.exports=a?o(a):n},458877,(t,e,r)=>{var n=t.r(855803),o=t.r(473250),i=t.r(45350),a=t.r(356956),u=t.r(66397),c=t.r(3023),l=Object.prototype.hasOwnProperty;e.exports=function(t,e){var r=i(t),s=!r&&o(t),f=!r&&!s&&a(t),p=!r&&!s&&!f&&c(t),d=r||s||f||p,h=d?n(t.length,String):[],y=h.length;for(var v in t)(e||l.call(t,v))&&!(d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||u(v,y)))&&h.push(v);return h}},763996,(t,e,r)=>{var n=Object.prototype;e.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},907073,(t,e,r)=>{var n=t.r(453587),o=t.r(351095);e.exports=function(t,e){var r=-1,i=o(t)?Array(t.length):[];return n(t,function(t,n,o){i[++r]=e(t,n,o)}),i}},601079,(t,e,r)=>{e.exports=function(t){return function(e){return null==e?void 0:e[t]}}},430970,(t,e,r)=>{var n=t.r(333141);e.exports=function(t){return function(e){return n(e,t)}}},433906,(t,e,r)=>{var n=t.r(601079),o=t.r(430970),i=t.r(9903),a=t.r(2054);e.exports=function(t){return i(t)?n(a(t)):o(t)}},666305,(t,e,r)=>{var n=t.r(623426),o=t.r(772298),i=t.r(653336),a=t.r(45350),u=t.r(433906);e.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):n(t):u(t)}},193440,(t,e,r)=>{var n=Math.ceil,o=Math.max;e.exports=function(t,e,r,i){for(var a=-1,u=o(n((e-t)/(r||1)),0),c=Array(u);u--;)c[i?u:++a]=t,t+=r;return c}},801647,(t,e,r)=>{var n=t.r(556751),o=t.r(524251),i=t.r(653336);e.exports=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:i},851994,(t,e,r)=>{var n=Date.now;e.exports=function(t){var e=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},184665,(t,e,r)=>{var n=t.r(801647);e.exports=t.r(851994)(n)},395059,(t,e,r)=>{var n=t.r(653336),o=t.r(172953),i=t.r(184665);e.exports=function(t,e){return i(o(t,e,n),t+"")}},795014,(t,e,r)=>{e.exports=function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++n<o;)i[n]=t[n+e];return i}},284357,(t,e,r)=>{var n=t.r(795014);e.exports=function(t,e,r){var o=t.length;return r=void 0===r?o:r,!e&&r>=o?t:n(t,e,r)}},979589,(t,e,r)=>{var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(t){return n.test(t)}},758672,(t,e,r)=>{e.exports=function(t){return t.split("")}},695365,(t,e,r)=>{var n="\\ud800-\\udfff",o="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",a="[^"+n+"]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+o+"|"+i+")?",s="[\\ufe0e\\ufe0f]?",f="(?:\\u200d(?:"+[a,u,c].join("|")+")"+s+l+")*",p=RegExp(i+"(?="+i+")|"+("(?:"+[a+o+"?",o,u,c,"["+n+"]"].join("|"))+")"+(s+l+f),"g");e.exports=function(t){return t.match(p)||[]}},34170,(t,e,r)=>{var n=t.r(758672),o=t.r(979589),i=t.r(695365);e.exports=function(t){return o(t)?i(t):n(t)}},649379,(t,e,r)=>{var n=t.r(453587);e.exports=function(t,e){var r;return n(t,function(t,n,o){return!(r=e(t,n,o))}),!!r}},783629,(t,e,r)=>{e.exports=function(t,e){var r=t.length;for(t.sort(e);
1r--;)t[r]=t[r].value;return t}},104886,(t,e,r)=>{var n=t.r(361884);e.exports=function(t,e){if(t!==e){var r=void 0!==t,o=null===t,i=t==t,a=n(t),u=void 0!==e,c=null===e,l=e==e,s=n(e);if(!c&&!s&&!a&&t>e||a&&u&&l&&!c&&!s||o&&u&&l||!r&&l||!i)return 1;if(!o&&!a&&!s&&t<e||s&&r&&i&&!o&&!a||c&&r&&i||!u&&i||!l)return -1}return 0}},758322,(t,e,r)=>{var n=t.r(104886);e.exports=function(t,e,r){for(var o=-1,i=t.criteria,a=e.criteria,u=i.length,c=r.length;++o<u;){var l=n(i[o],a[o]);if(l){if(o>=c)return l;return l*("desc"==r[o]?-1:1)}}return t.index-e.index}},428138,(t,e,r)=>{var n=t.r(892708),o=t.r(333141),i=t.r(666305),a=t.r(907073),u=t.r(783629),c=t.r(233999),l=t.r(758322),s=t.r(653336),f=t.r(45350);e.exports=function(t,e,r){e=e.length?n(e,function(t){return f(t)?function(e){return o(e,1===t.length?t[0]:t)}:t}):[s];var p=-1;return e=n(e,c(i)),u(a(t,function(t,r,o){return{criteria:n(e,function(e){return e(t)}),index:++p,value:t}}),function(t,e){return l(t,e,r)})}},987160,(t,e,r)=>{e.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},172953,(t,e,r)=>{var n=t.r(987160),o=Math.max;e.exports=function(t,e,r){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,u=o(i.length-e,0),c=Array(u);++a<u;)c[a]=i[e+a];a=-1;for(var l=Array(e+1);++a<e;)l[a]=i[a];return l[e]=r(c),n(t,this,l)}}},556751,(t,e,r)=>{e.exports=function(t){return function(){return t}}},855803,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},372537,(t,e,r)=>{var n=t.r(630353),o=t.r(892708),i=t.r(45350),a=t.r(361884),u=1/0,c=n?n.prototype:void 0,l=c?c.toString:void 0;e.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return l?l.call(e):"";var r=e+"";return"0"==r&&1/e==-u?"-0":r}},702922,(t,e,r)=>{var n=t.r(372537);e.exports=function(t){return null==t?"":n(t)}},315262,(t,e,r)=>{e.exports=function(t,e){return t.has(e)}},206856,(t,e,r)=>{var n=t.r(27493),o=t.r(851477),i=t.r(315262);e.exports=function(t,e,r,a,u,c){var l=1&r,s=t.length,f=e.length;if(s!=f&&!(l&&f>s))return!1;var p=c.get(t),d=c.get(e);if(p&&d)return p==e&&d==t;var h=-1,y=!0,v=2&r?new n:void 0;for(c.set(t,e),c.set(e,t);++h<s;){var m=t[h],b=e[h];if(a)var g=l?a(b,m,h,e,t,c):a(m,b,h,t,e,c);if(void 0!==g){if(g)continue;y=!1;break}if(v){if(!o(e,function(t,e){if(!i(v,e)&&(m===t||u(m,t,r,a,c)))return v.push(e)})){y=!1;break}}else if(!(m===b||u(m,b,r,a,c))){y=!1;break}}return c.delete(t),c.delete(e),y}},186287,(t,e,r)=>{var n=t.r(45350),o=t.r(9903),i=t.r(902677),a=t.r(702922);e.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(a(t))}},2054,(t,e,r)=>{var n=t.r(361884),o=1/0;e.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-o?"-0":e}},333141,(t,e,r)=>{var n=t.r(186287),o=t.r(2054);e.exports=function(t,e){e=n(e,t);for(var r=0,i=e.length;null!=t&&r<i;)t=t[o(e[r++])];return r&&r==i?t:void 0}},853789,(t,e,r)=>{e.exports=t.r(139088)["__core-js_shared__"]},269553,(t,e,r)=>{var n,o=t.r(853789),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(t){return!!i&&i in t}},873554,(t,e,r)=>{var n=t.r(351095);e.exports=function(t,e){return function(r,o){if(null==r)return r;if(!n(r))return t(r,o);for(var i=r.length,a=e?i:-1,u=Object(r);(e?a--:++a<i)&&!1!==o(u[a],a,u););return r}}},453587,(t,e,r)=>{var n=t.r(163799);e.exports=t.r(873554)(n)},536755,(t,e,r)=>{e.exports=function(t){return function(e,r,n){for(var o=-1,i=Object(e),a=n(e),u=a.length;u--;){var c=a[t?u:++o];if(!1===r(i[c],c,i))break}return e}}},98728,(t,e,r)=>{e.exports=t.r(536755)()},229821,(t,e,r)=>{var n=t.r(284357),o=t.r(979589),i=t.r(34170),a=t.r(702922);e.exports=function(t){return function(e){var r=o(e=a(e))?i(e):void 0,u=r?r[0]:e.charAt(0),c=r?n(r,1).join(""):e.slice(1);return u[t]()+c}}},232241,(t,e,r)=>{e.exports=t.r(229821)("toUpperCase")},195200,(t,e,r)=>{var n=t.r(666305),o=t.r(351095),i=t.r(33679);e.exports=function(t){return function(e,r,a){var u=Object(e);if(!o(e)){var c=n(r,3);e=i(e),r=function(t){return c(u[t],t,u)}}var l=t(e,r,a);return l>-1?u[c?e[l]:l]:void 0}}},369523,(t,e,r)=>{var n=t.r(193440),o=t.r(170237),i=t.r(382560);e.exports=function(t){return function(e,r,a){return a&&"number"!=typeof a&&o(e,r,a)&&(r=a=void 0),e=i(e),void 0===r?(r=e,e=0):r=i(r),a=void 0===a?e<r?1:-1:i(a),n(e,r,a,t)}}},144950,(t,e,r)=>{e.exports=t.r(369523)()},524251,(t,e,r)=>{var n=t.r(841920);e.exports=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},100236,(t,e,r)=>{e.exports=t.g&&t.g.Object===Object&&t.g},139088,(t,e,r)=>{var n=t.r(100236),o="object"==typeof self&&self&&self.Object===Object&&self;e.exports=n||o||Function("return this")()},413370,(t,e,r)=>{var n=t.r(823403),o=t.r(717332),i=t.r(33679);e.exports=function(t){return n(t,i,o)}},330698,(t,e,r)=>{var n=t.r(413370),o=Object.prototype.hasOwnProperty;e.exports=function(t,e,r,i,a,u){var c=1&r,l=n(t),s=l.length;if(s!=n(e).length&&!c)return!1;for(var f=s;f--;){var p=l[f];if(!(c?p in e:o.call(e,p)))return!1}var d=u.get(t),h=u.get(e);if(d&&h)return d==e&&h==t;var y=!0;u.set(t,e),u.set(e,t);for(var v=c;++f<s;){var m=t[p=l[f]],b=e[p];if(i)var g=c?i(b,m,p,e,t,u):i(m,b,p,t,e,u);if(!(void 0===g?m===b||a(m,b,r,i,u):g)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var x=t.constructor,O=e.constructor;x!=O&&"constructor"in t&&"constructor"in e&&!("function"==typeof x&&x instanceof x&&"function"==typeof O&&O instanceof O)&&(y=!1)}return u.delete(t),u.delete(e),y}},801419,(t,e,r)=>{e.exports=t.r(841920)(t.r(139088),"DataView")},717074,(t,e,r)=>{e.exports=t.r(841920)(t.r(139088),"Promise")},106966,(t,e,r)=>{e.exports=t.r(841920)(t.r(139088),"Set")},573895,(t,e,r)=>{e.exports=t.r(841920)(t.r(139088),"WeakMap")},367426,(t,e,r)=>{var n=t.r(801419),o=t.r(687362),i=t.r(717074),a=t.r(106966),u=t.r(573895),c=t.r(377684),l=t.r(776366),s="[object Map]",f="[object Promise]",p="[object Set]",d="[object WeakMap]",h="[object DataView]",y=l(n),v=l(o),m=l(i),b=l(a),g=l(u),x=c;(n&&x(new n(new ArrayBuffer(1)))!=h||o&&x(new o)!=s||i&&x(i.resolve())!=f||a&&x(new a)!=p||u&&x(new u)!=d)&&(x=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?l(r):"";if(n)switch(n){case y:return h;case v:return s;case m:return f;case b:return p;case g:return d}return e}),e.exports=x},178353,(t,e,r)=>{var n=t.r(901551),o=t.r(206856),i=t.r(678012),a=t.r(330698),u=t.r(367426),c=t.r(45350),l=t.r(356956),s=t.r(3023),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(t,e,r,y,v,m){var b=c(t),g=c(e),x=b?p:u(t),O=g?p:u(e);x=x==f?d:x,O=O==f?d:O;var w=x==d,j=O==d,S=x==O;if(S&&l(t)){if(!l(e))return!1;b=!0,w=!1}if(S&&!w)return m||(m=new n),b||s(t)?o(t,e,r,y,v,m):i(t,e,x,r,y,v,m);if(!(1&r)){var P=w&&h.call(t,"__wrapped__"),E=j&&h.call(e,"__wrapped__");
1if(P||E){var A=P?t.value():t,k=E?e.value():e;return m||(m=new n),v(A,k,r,y,m)}}return!!S&&(m||(m=new n),a(t,e,r,y,v,m))}},421885,(t,e,r)=>{var n=t.r(178353),o=t.r(877289);e.exports=function t(e,r,i,a,u){return e===r||(null!=e&&null!=r&&(o(e)||o(r))?n(e,r,i,a,t,u):e!=e&&r!=r)}},962413,(t,e,r)=>{e.exports=t.r(825717)(Object.getPrototypeOf,Object)},243436,(t,e,r)=>{var n=t.r(630353),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=n?n.toStringTag:void 0;e.exports=function(t){var e=i.call(t,u),r=t[u];try{t[u]=void 0;var n=!0}catch(t){}var o=a.call(t);return n&&(e?t[u]=r:delete t[u]),o}},223243,(t,e,r)=>{var n=Object.prototype.toString;e.exports=function(t){return n.call(t)}},377684,(t,e,r)=>{var n=t.r(630353),o=t.r(243436),i=t.r(223243),a=n?n.toStringTag:void 0;e.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},733803,(t,e,r)=>{var n=t.r(630353),o=t.r(473250),i=t.r(45350),a=n?n.isConcatSpreadable:void 0;e.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},541891,(t,e,r)=>{var n=t.r(169102),o=t.r(733803);e.exports=function t(e,r,i,a,u){var c=-1,l=e.length;for(i||(i=o),u||(u=[]);++c<l;){var s=e[c];r>0&&i(s)?r>1?t(s,r-1,i,a,u):n(u,s):a||(u[u.length]=s)}return u}},66397,(t,e,r)=>{var n=/^(?:0|[1-9]\d*)$/;e.exports=function(t,e){var r=typeof t;return!!(e=null==e?0x1fffffffffffff:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},170237,(t,e,r)=>{var n=t.r(25172),o=t.r(351095),i=t.r(66397),a=t.r(12447);e.exports=function(t,e,r){if(!a(r))return!1;var u=typeof e;return("number"==u?!!(o(r)&&i(e,r.length)):"string"==u&&e in r)&&n(r[e],t)}},9903,(t,e,r)=>{var n=t.r(45350),o=t.r(361884),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!!("number"==r||"symbol"==r||"boolean"==r||null==t||o(t))||a.test(t)||!i.test(t)||null!=e&&t in Object(e)}},665742,(t,e,r)=>{e.exports=function(){this.__data__=[],this.size=0}},848994,(t,e,r)=>{var n=t.r(734421),o=t.r(729039),i=t.r(687362);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},224053,(t,e,r)=>{e.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},487994,(t,e,r)=>{var n=t.r(224053);e.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},996768,(t,e,r)=>{var n=t.r(487994);e.exports=function(t){var e=n(this,t).delete(t);return this.size-=!!e,e}},929932,(t,e,r)=>{var n=t.r(487994);e.exports=function(t){return n(this,t).get(t)}},892647,(t,e,r)=>{var n=t.r(487994);e.exports=function(t){return n(this,t).has(t)}},446644,(t,e,r)=>{var n=t.r(487994);e.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=+(r.size!=o),this}},587547,(t,e,r)=>{var n=t.r(848994),o=t.r(996768),i=t.r(929932),a=t.r(892647),u=t.r(446644);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,e.exports=c},932760,(t,e,r)=>{e.exports=t.r(841920)(Object,"create")},150514,(t,e,r)=>{var n=t.r(932760);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},197617,(t,e,r)=>{e.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e}},757412,(t,e,r)=>{var n=t.r(932760),o=Object.prototype.hasOwnProperty;e.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},623592,(t,e,r)=>{var n=t.r(932760),o=Object.prototype.hasOwnProperty;e.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},239004,(t,e,r)=>{var n=t.r(932760);e.exports=function(t,e){var r=this.__data__;return this.size+=+!this.has(t),r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},734421,(t,e,r)=>{var n=t.r(150514),o=t.r(197617),i=t.r(757412),a=t.r(623592),u=t.r(239004);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,e.exports=c},942369,(t,e,r)=>{e.exports=t.r(825717)(Object.keys,Object)},848477,(t,e,r)=>{var n=t.r(763996),o=t.r(942369),i=Object.prototype.hasOwnProperty;e.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},825717,(t,e,r)=>{e.exports=function(t,e){return function(r){return t(e(r))}}},405400,(t,e,r)=>{var n=t.r(729039);e.exports=function(){this.__data__=new n,this.size=0}},986238,(t,e,r)=>{e.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},957831,(t,e,r)=>{e.exports=function(t){return this.__data__.get(t)}},977802,(t,e,r)=>{e.exports=function(t){return this.__data__.has(t)}},320517,(t,e,r)=>{var n=t.r(729039),o=t.r(687362),i=t.r(587547);e.exports=function(t,e){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(t,e),this.size=r.size,this}},901551,(t,e,r)=>{var n=t.r(729039),o=t.r(405400),i=t.r(986238),a=t.r(957831),u=t.r(977802),c=t.r(320517);function l(t){var e=this.__data__=new n(t);this.size=e.size}l.prototype.clear=o,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=u,l.prototype.set=c,e.exports=l},221274,(t,e,r)=>{e.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},439805,(t,e,r)=>{e.exports=function(t){return this.__data__.has(t)}},27493,(t,e,r)=>{var n=t.r(587547),o=t.r(221274),i=t.r(439805);function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},776366,(t,e,r)=>{var n=Function.prototype.toString;e.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},54368,(t,e,r)=>{var n=t.r(771223),o=t.r(269553),i=t.r(12447),a=t.r(776366),u=/^\[object .+?Constructor\]$/,c=Object.prototype,l=Function.prototype.toString,s=c.hasOwnProperty,f=RegExp("^"+l.call(s).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(t){return!(!i(t)||o(t))&&(n(t)?f:u).test(a(t))}},263958,(t,e,r)=>{e.exports=function(t,e){return null==t?void 0:t[e]}},841920,(t,e,r)=>{var n=t.r(54368),o=t.r(263958);e.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},748891,(t,e,r)=>{var n=/\s/;e.exports=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},830364,(t,e,r)=>{var n=t.r(748891),o=/^\s+/;e.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},374009,(t,e,r)=>
1{var n=t.r(12447),o=t.r(631926),i=t.r(773759),a=Math.max,u=Math.min;e.exports=function(t,e,r){var c,l,s,f,p,d,h=0,y=!1,v=!1,m=!0;if("function"!=typeof t)throw TypeError("Expected a function");function b(e){var r=c,n=l;return c=l=void 0,h=e,f=t.apply(n,r)}function g(t){var r=t-d,n=t-h;return void 0===d||r>=e||r<0||v&&n>=s}function x(){var t,r,n,i=o();if(g(i))return O(i);p=setTimeout(x,(t=i-d,r=i-h,n=e-t,v?u(n,s-r):n))}function O(t){return(p=void 0,m&&c)?b(t):(c=l=void 0,f)}function w(){var t,r=o(),n=g(r);if(c=arguments,l=this,d=r,n){if(void 0===p)return h=t=d,p=setTimeout(x,e),y?b(t):f;if(v)return clearTimeout(p),p=setTimeout(x,e),b(d)}return void 0===p&&(p=setTimeout(x,e)),f}return e=i(e)||0,n(r)&&(y=!!r.leading,s=(v="maxWait"in r)?a(i(r.maxWait)||0,e):s,m="trailing"in r?!!r.trailing:m),w.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=d=l=p=void 0},w.flush=function(){return void 0===p?f:O(o())},w}},224283,(t,e,r)=>{var n=t.r(374009),o=t.r(12447);e.exports=function(t,e,r){var i=!0,a=!0;if("function"!=typeof t)throw TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(t,e,{leading:i,maxWait:e,trailing:a})}},25172,(t,e,r)=>{e.exports=function(t,e){return t===e||t!=t&&e!=e}},126063,(t,e,r)=>{var n=t.r(838199),o=t.r(708088),i=t.r(666305),a=t.r(45350),u=t.r(170237);e.exports=function(t,e,r){var c=a(t)?n:o;return r&&u(t,e,r)&&(e=void 0),c(t,i(e,3))}},482820,(t,e,r)=>{var n=t.r(333141);e.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},653336,(t,e,r)=>{e.exports=function(t){return t}},45350,(t,e,r)=>{e.exports=Array.isArray},351095,(t,e,r)=>{var n=t.r(771223),o=t.r(98376);e.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},898892,(t,e,r)=>{var n=t.r(421885);e.exports=function(t,e){return n(t,e)}},771223,(t,e,r)=>{var n=t.r(377684),o=t.r(12447);e.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},98376,(t,e,r)=>{e.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},629873,(t,e,r)=>{e.exports=function(t){return null==t}},94241,(t,e,r)=>{var n=t.r(377684),o=t.r(877289);e.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==n(t)}},878948,(t,e,r)=>{var n=t.r(94241);e.exports=function(t){return n(t)&&t!=+t}},12447,(t,e,r)=>{e.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},877289,(t,e,r)=>{e.exports=function(t){return null!=t&&"object"==typeof t}},101320,(t,e,r)=>{var n=t.r(377684),o=t.r(962413),i=t.r(877289),a=Object.prototype,u=Function.prototype.toString,c=a.hasOwnProperty,l=u.call(Object);e.exports=function(t){if(!i(t)||"[object Object]"!=n(t))return!1;var e=o(t);if(null===e)return!0;var r=c.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==l}},20164,(t,e,r)=>{var n=t.r(377684),o=t.r(877289);e.exports=function(t){return!0===t||!1===t||o(t)&&"[object Boolean]"==n(t)}},385845,(t,e,r)=>{var n=t.r(377684),o=t.r(45350),i=t.r(877289);e.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&"[object String]"==n(t)}},361884,(t,e,r)=>{var n=t.r(377684),o=t.r(877289);e.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},33679,(t,e,r)=>{var n=t.r(458877),o=t.r(848477),i=t.r(351095);e.exports=function(t){return i(t)?n(t):o(t)}},4879,(t,e,r)=>{e.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},710632,(t,e,r)=>{var n=t.r(892708),o=t.r(666305),i=t.r(907073),a=t.r(45350);e.exports=function(t,e){return(a(t)?n:i)(t,o(e,3))}},633303,(t,e,r)=>{var n=t.r(541891),o=t.r(710632);e.exports=function(t,e){return n(o(t,e),1)}},460793,(t,e,r)=>{var n=t.r(674548),o=t.r(163799),i=t.r(666305);e.exports=function(t,e){var r={};return e=i(e,3),o(t,function(t,o,i){n(r,o,e(t,o,i))}),r}},86966,(t,e,r)=>{var n=t.r(641015),o=t.r(580957),i=t.r(653336);e.exports=function(t){return t&&t.length?n(t,i,o):void 0}},298128,(t,e,r)=>{e.exports=function(t,e){return t<e}},37544,(t,e,r)=>{var n=t.r(641015),o=t.r(298128),i=t.r(653336);e.exports=function(t){return t&&t.length?n(t,i,o):void 0}},657588,(t,e,r)=>{var n=t.r(587547);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);
1var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},688832,(t,e,r)=>{var n=t.r(657588);e.exports=function(t){var e=n(t,function(t){return 500===r.size&&r.clear(),t}),r=e.cache;return e}},902677,(t,e,r)=>{var n=t.r(688832),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g;e.exports=n(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,r,n,o){e.push(n?o.replace(i,"$1"):r||t)}),e})},631926,(t,e,r)=>{var n=t.r(139088);e.exports=function(){return n.Date.now()}},788099,(t,e,r)=>{var n=t.r(851477),o=t.r(666305),i=t.r(649379),a=t.r(45350),u=t.r(170237);e.exports=function(t,e,r){var c=a(t)?n:i;return r&&u(t,e,r)&&(e=void 0),c(t,o(e,3))}},831195,(t,e,r)=>{var n=t.r(541891),o=t.r(428138),i=t.r(395059),a=t.r(170237);e.exports=i(function(t,e){if(null==t)return[];var r=e.length;return r>1&&a(t,e[0],e[1])?e=[]:r>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),o(t,n(e,1),[])})},24013,(t,e,r)=>{e.exports=function(){return!1}},356956,(t,e,r)=>{var n=t.r(139088),o=t.r(24013),i=r&&!r.nodeType&&r,a=i&&e&&!e.nodeType&&e,u=a&&a.exports===i?n.Buffer:void 0;e.exports=(u?u.isBuffer:void 0)||o},382560,(t,e,r)=>{var n=t.r(773759),o=1/0;e.exports=function(t){return t?(t=n(t))===o||t===-o?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0}},304653,(t,e,r)=>{var n=t.r(382560);e.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},426965,(t,e,r)=>{var n=t.r(356445),o=t.r(666305),i=t.r(304653),a=Math.max;e.exports=function(t,e,r){var u=null==t?0:t.length;if(!u)return -1;var c=null==r?0:i(r);return c<0&&(c=a(u+c,0)),n(t,o(e,3),c)}},160191,(t,e,r)=>{e.exports=t.r(195200)(t.r(426965))},773759,(t,e,r)=>{var n=t.r(830364),o=t.r(12447),i=t.r(361884),a=0/0,u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt;e.exports=function(t){if("number"==typeof t)return t;if(i(t))return a;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=c.test(t);return r||l.test(t)?s(t.slice(2),r?2:8):u.test(t)?a:+t}},232189,(t,e,r)=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},865156,(t,e,r)=>{"use strict";var n=t.r(232189);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function t(t,e,r,o,i,a){if(a!==n){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 e(){return t}t.isRequired=t;var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},745009,(t,e,r)=>{t.i(247167),e.exports=t.r(865156)()},552210,(t,e,r)=>{"use strict";var n,o=Symbol.for("react.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),f=Symbol.for("react.server_context"),p=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function b(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case o:switch(t=t.type){case a:case c:case u:case d:case h:return t;default:switch(t=t&&t.$$typeof){case f:case s:case p:case v:case y:case l:return t;default:return e}}case i:return e}}}n=Symbol.for("react.module.reference"),r.ContextConsumer=s,r.ContextProvider=l,r.Element=o,r.ForwardRef=p,r.Fragment=a,r.Lazy=v,r.Memo=y,r.Portal=i,r.Profiler=c,r.StrictMode=u,r.Suspense=d,r.SuspenseList=h,r.isAsyncMode=function(){return!1},r.isConcurrentMode=function(){return!1},r.isContextConsumer=function(t){return b(t)===s},r.isContextProvider=function(t){return b(t)===l},r.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===o},r.isForwardRef=function(t){return b(t)===p},r.isFragment=function(t){return b(t)===a},r.isLazy=function(t){return b(t)===v},r.isMemo=function(t){return b(t)===y},r.isPortal=function(t){return b(t)===i},r.isProfiler=function(t){return b(t)===c},r.isStrictMode=function(t){return b(t)===u},r.isSuspense=function(t){return b(t)===d},r.isSuspenseList=function(t){return b(t)===h},r.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===c||t===u||t===d||t===h||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===v||t.$$typeof===y||t.$$typeof===l||t.$$typeof===s||t.$$typeof===p||t.$$typeof===n||void 0!==t.getModuleId)||!1},r.typeOf=b},179684,(t,e,r)=>{"use strict";t.i(247167),e.exports=t.r(552210)},475225,273050,794395,781977,997865,734251,562728,198770,969212,238279,844171,896267,955153,372733,883966,785183,93230,509694,872526,337886,t=>{"use strict";t.s(["appendOffsetOfLegend",()=>ca,"calculateActiveTickIndex",()=>cr,"checkDomainOfScale",()=>cv,"combineEventHandlers",()=>
1ch,"findPositionOfBar",()=>cm,"getBandSizeOfAxis",()=>cT,"getBarPosition",()=>ci,"getBarSizeList",()=>co,"getBaseValueOfBar",()=>cP,"getCateCoordinateOfBar",()=>cS,"getCateCoordinateOfLine",()=>cj,"getCoordinatesOfGrid",()=>cf,"getDomainOfDataByKey",()=>ce,"getDomainOfItemsWithSameAxis",()=>cl,"getDomainOfStackGroups",()=>cA,"getMainColorOfGraphicItem",()=>cn,"getStackGroupsByAxisId",()=>cO,"getStackedDataOfItem",()=>cE,"getTicksOfAxis",()=>cp,"getTicksOfScale",()=>cw,"getTooltipItem",()=>cD,"getValueByDataKey",()=>ct,"isCategoricalAxis",()=>cs,"parseDomainOfCategoryAxis",()=>cC,"parseErrorBarsOfAxis",()=>cc,"parseScale",()=>cy,"parseSpecifiedDomain",()=>c_,"truncateByDomain",()=>cb],198770);var e,r,n,o,i,a,u,c,l,s=t.i(271645),f=t.i(207670),p=t.i(745009),d=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty;function v(t,e){return function(r,n,o){return t(r,n,o)&&e(r,n,o)}}function m(t){return function(e,r,n){if(!e||!r||"object"!=typeof e||"object"!=typeof r)return t(e,r,n);var o=n.cache,i=o.get(e),a=o.get(r);if(i&&a)return i===r&&a===e;o.set(e,r),o.set(r,e);var u=t(e,r,n);return o.delete(e),o.delete(r),u}}function b(t){return d(t).concat(h(t))}var g=Object.hasOwn||function(t,e){return y.call(t,e)};function x(t,e){return t===e||!t&&!e&&t!=t&&e!=e}var O=Object.getOwnPropertyDescriptor,w=Object.keys;function j(t,e,r){var n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;return!0}function S(t,e){return x(t.getTime(),e.getTime())}function P(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function E(t,e){return t===e}function A(t,e,r){var n,o,i=t.size;if(i!==e.size)return!1;if(!i)return!0;for(var a=Array(i),u=t.entries(),c=0;(n=u.next())&&!n.done;){for(var l=e.entries(),s=!1,f=0;(o=l.next())&&!o.done;){if(a[f]){f++;continue}var p=n.value,d=o.value;if(r.equals(p[0],d[0],c,f,t,e,r)&&r.equals(p[1],d[1],p[0],d[0],t,e,r)){s=a[f]=!0;break}f++}if(!s)return!1;c++}return!0}function k(t,e,r){var n=w(t),o=n.length;if(w(e).length!==o)return!1;for(;o-- >0;)if(!N(t,e,r,n[o]))return!1;return!0}function M(t,e,r){var n,o,i,a=b(t),u=a.length;if(b(e).length!==u)return!1;for(;u-- >0;)if(!N(t,e,r,n=a[u])||(o=O(t,n),i=O(e,n),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable)))return!1;return!0}function _(t,e){return x(t.valueOf(),e.valueOf())}function T(t,e){return t.source===e.source&&t.flags===e.flags}function C(t,e,r){var n,o,i=t.size;if(i!==e.size)return!1;if(!i)return!0;for(var a=Array(i),u=t.values();(n=u.next())&&!n.done;){for(var c=e.values(),l=!1,s=0;(o=c.next())&&!o.done;){if(!a[s]&&r.equals(n.value,o.value,n.value,o.value,t,e,r)){l=a[s]=!0;break}s++}if(!l)return!1}return!0}function D(t,e){var r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}function I(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function N(t,e,r,n){return("_owner"===n||"__o"===n||"__v"===n)&&(!!t.$$typeof||!!e.$$typeof)||g(e,n)&&r.equals(t[n],e[n],n,n,t,e,r)}var B=Array.isArray,R="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,L=Object.assign,z=Object.prototype.toString.call.bind(Object.prototype.toString),U=$();function $(t){void 0===t&&(t={});var e,r,n,o,i,a,u,c,l,s,f,p,d,h,y=t.circular,b=t.createInternalComparator,g=t.createState,O=t.strict,w=(r=(e=function(t){var e=t.circular,r=t.createCustomConfig,n=t.strict,o={areArraysEqual:n?M:j,areDatesEqual:S,areErrorsEqual:P,areFunctionsEqual:E,areMapsEqual:n?v(A,M):A,areNumbersEqual:x,areObjectsEqual:n?M:k,arePrimitiveWrappersEqual:_,areRegExpsEqual:T,areSetsEqual:n?v(C,M):C,areTypedArraysEqual:n?M:D,areUrlsEqual:I,unknownTagComparators:void 0};if(r&&(o=L({},o,r(o))),e){var i=m(o.areArraysEqual),a=m(o.areMapsEqual),u=m(o.areObjectsEqual),c=m(o.areSetsEqual);o=L({},o,{areArraysEqual:i,areMapsEqual:a,areObjectsEqual:u,areSetsEqual:c})}return o}(t)).areArraysEqual,n=e.areDatesEqual,o=e.areErrorsEqual,i=e.areFunctionsEqual,a=e.areMapsEqual,u=e.areNumbersEqual,c=e.areObjectsEqual,l=e.arePrimitiveWrappersEqual,s=e.areRegExpsEqual,f=e.areSetsEqual,p=e.areTypedArraysEqual,d=e.areUrlsEqual,h=e.unknownTagComparators,function(t,e,y){if(t===e)return!0;
1if(null==t||null==e)return!1;var v=typeof t;if(v!==typeof e)return!1;if("object"!==v)return"number"===v?u(t,e,y):"function"===v&&i(t,e,y);var m=t.constructor;if(m!==e.constructor)return!1;if(m===Object)return c(t,e,y);if(B(t))return r(t,e,y);if(null!=R&&R(t))return p(t,e,y);if(m===Date)return n(t,e,y);if(m===RegExp)return s(t,e,y);if(m===Map)return a(t,e,y);if(m===Set)return f(t,e,y);var b=z(t);if("[object Date]"===b)return n(t,e,y);if("[object RegExp]"===b)return s(t,e,y);if("[object Map]"===b)return a(t,e,y);if("[object Set]"===b)return f(t,e,y);if("[object Object]"===b)return"function"!=typeof t.then&&"function"!=typeof e.then&&c(t,e,y);if("[object URL]"===b)return d(t,e,y);if("[object Error]"===b)return o(t,e,y);if("[object Arguments]"===b)return c(t,e,y);if("[object Boolean]"===b||"[object Number]"===b||"[object String]"===b)return l(t,e,y);if(h){var g=h[b];if(!g){var x=null!=t?t[Symbol.toStringTag]:void 0;x&&(g=h[x])}if(g)return g(t,e,y)}return!1}),N=b?b(w):function(t,e,r,n,o,i,a){return w(t,e,a)};return function(t){var e=t.circular,r=t.comparator,n=t.createState,o=t.equals,i=t.strict;if(n)return function(t,a){var u=n(),c=u.cache;return r(t,a,{cache:void 0===c?e?new WeakMap:void 0:c,equals:o,meta:u.meta,strict:i})};if(e)return function(t,e){return r(t,e,{cache:new WeakMap,equals:o,meta:void 0,strict:i})};var a={cache:void 0,equals:o,meta:void 0,strict:i};return function(t,e){return r(t,e,a)}}({circular:void 0!==y&&y,comparator:w,createState:g,equals:N,strict:void 0!==O&&O})}function F(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame(function n(o){if(r<0&&(r=o),o-r>e)t(o),r=-1;else{var i;i=n,"u">typeof requestAnimationFrame&&requestAnimationFrame(i)}})}function q(t){return(q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function W(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function X(t){return(X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function H(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function V(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?H(Object(r),!0).forEach(function(e){G(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):H(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function G(t,e,r){var n;return(n=function(t,e){if("object"!==X(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==X(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===X(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}$({strict:!0}),$({circular:!0}),$({circular:!0,strict:!0}),$({createInternalComparator:function(){return x}}),$({strict:!0,createInternalComparator:function(){return x}}),$({circular:!0,createInternalComparator:function(){return x}}),$({circular:!0,createInternalComparator:function(){return x},strict:!0});var Y=function(t){return t},K=function(t,e){return Object.keys(e).reduce(function(r,n){return V(V({},r),{},G({},n,t(n,e[n])))},{})},Z=function(t,e,r){return t.map(function(t){return"".concat(t.replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())})," ").concat(e,"ms ").concat(r)}).join(",")},J=function(t,e,r,n,o,i,a,u){};function Q(t,e){if(t){if("string"==typeof t)return tt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tt(t,e)}}function tt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var te=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},tr=function(t,e){return t.map(function(t,r){return t*Math.pow(e,r)}).reduce(function(t,e){return t+e})},tn=function(t,e){return function(r){return tr(te(t,e),r)}},to=function(){for(var t,e,r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];var i=n[0],a=n[1],u=n[2],c=n[3];if(1===n.length)switch(n[0]){case"linear":i=0,a=0,u=1,c=1;break;case"ease":i=.25,a=.1,u=.25,c=1;break;case"ease-in":i=.42,a=0,u=1,c=1;break;case"ease-out":i=.42,a=0,u=.58,c=1;break;case"ease-in-out":i=0,a=0,u=.58,c=1;break;default:var l=n[0].split("(");if("cubic-bezier"===l[0]&&4===l[1].split(")")[0].split(",").length){var s,f=function(t){if(Array.isArray(t))return t}(s=l[1].split(")")[0].split(",").map(function(t){return parseFloat(t)}))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,o,i,a=[],u=!0,c=!1;try{o=(e=e.call(t)).next,!1;for(;!(u=(r=o.call(e)).done)&&(a.push(r.value),4!==a.length);u=!0);}catch(t){c=!0,n=t}
1finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw n}}return a}}(s)||Q(s,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.")}();i=f[0],a=f[1],u=f[2],c=f[3]}else J(!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",n)}J([i,u,a,c].every(function(t){return"number"==typeof t&&t>=0&&t<=1}),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",n);var p=tn(i,u),d=tn(a,c),h=(t=i,e=u,function(r){var n;return tr([].concat(function(t){if(Array.isArray(t))return tt(t)}(n=te(t,e).map(function(t,e){return t*e}).slice(1))||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||Q(n)||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]),r)}),y=function(t){for(var e=t>1?1:t,r=e,n=0;n<8;++n){var o,i=p(r)-e,a=h(r);if(1e-4>Math.abs(i-e)||a<1e-4)break;r=(o=r-i/a)>1?1:o<0?0:o}return d(r)};return y.isStepper=!1,y},ti=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,r=void 0===e?100:e,n=t.damping,o=void 0===n?8:n,i=t.dt,a=void 0===i?17:i,u=function(t,e,n){var i=n+(-(t-e)*r-n*o)*a/1e3,u=n*a/1e3+t;return 1e-4>Math.abs(u-e)&&1e-4>Math.abs(i)?[e,0]:[u,i]};return u.isStepper=!0,u.dt=a,u},ta=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return to(n);case"spring":return ti();default:if("cubic-bezier"===n.split("(")[0])return to(n);J(!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",e)}return"function"==typeof n?n:(J(!1,"[configEasing]: first argument type should be function or string, instead received %s",e),null)};function tu(t){return(tu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tc(t){return function(t){if(Array.isArray(t))return td(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||tp(t)||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 tl(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ts(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tl(Object(r),!0).forEach(function(e){tf(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tl(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tf(t,e,r){var n;return(n=function(t,e){if("object"!==tu(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==tu(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===tu(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tp(t,e){if(t){if("string"==typeof t)return td(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return td(t,e)}}function td(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var th=function(t,e,r){return t+(e-t)*r},ty=function(t){return t.from!==t.to},tv=function t(e,r,n){var o=K(function(t,r){if(ty(r)){var n,o=function(t){if(Array.isArray(t))return t}(n=e(r.from,r.to,r.velocity))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,o,i,a=[],u=!0,c=!1;try{o=(e=e.call(t)).next,!1;for(;!(u=(r=o.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){c=!0,n=t}
1finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw n}}return a}}(n)||tp(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.")}(),i=o[0],a=o[1];return ts(ts({},r),{},{from:i,velocity:a})}return r},r);return n<1?K(function(t,e){return ty(e)?ts(ts({},e),{},{velocity:th(e.velocity,o[t].velocity,n),from:th(e.from,o[t].from,n)}):e},r):t(e,o,n-1)};let tm=function(t,e,r,n,o){var i,a,u=[Object.keys(t),Object.keys(e)].reduce(function(t,e){return t.filter(function(t){return e.includes(t)})}),c=u.reduce(function(r,n){return ts(ts({},r),{},tf({},n,[t[n],e[n]]))},{}),l=u.reduce(function(r,n){return ts(ts({},r),{},tf({},n,{from:t[n],velocity:0,to:e[n]}))},{}),s=-1,f=function(){return null};return f=r.isStepper?function(n){i||(i=n);var a=(n-i)/r.dt;l=tv(r,l,a),o(ts(ts(ts({},t),e),K(function(t,e){return e.from},l))),i=n,Object.values(l).filter(ty).length&&(s=requestAnimationFrame(f))}:function(i){a||(a=i);var u=(i-a)/n,l=K(function(t,e){return th.apply(void 0,tc(e).concat([r(u)]))},c);if(o(ts(ts(ts({},t),e),l)),u<1)s=requestAnimationFrame(f);else{var p=K(function(t,e){return th.apply(void 0,tc(e).concat([r(1)]))},c);o(ts(ts(ts({},t),e),p))}},function(){return requestAnimationFrame(f),function(){cancelAnimationFrame(s)}}};function tb(t){return(tb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var tg=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function tx(t){return function(t){if(Array.isArray(t))return tO(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t){if(t){if("string"==typeof t)return tO(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return tO(t,void 0)}}(t)||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 tO(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function tw(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tj(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tw(Object(r),!0).forEach(function(e){tS(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tw(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tS(t,e,r){return(e=tP(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tP(t){var e=function(t,e){if("object"!==tb(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==tb(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===tb(e)?e:String(e)}function tE(t,e){return(tE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tA(t,e){if(e&&("object"===tb(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return tk(t)}function tk(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tM(t){return(tM=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var t_=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&tE(o,t);var e,r,n=(e=function(){if("u"<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(t){return!1}}(),function(){var t,r=tM(o);return t=e?Reflect.construct(r,arguments,tM(this).constructor):r.apply(this,arguments),tA(this,t)});function o(t,e){if(!(this instanceof o))throw TypeError("Cannot call a class as a function");var r=n.call(this,t,e),i=r.props,a=i.isActive,u=i.attributeName,c=i.from,l=i.to,s=i.steps,f=i.children,p=i.duration;if(r.handleStyleChange=r.handleStyleChange.bind(tk(r)),r.changeStyle=r.changeStyle.bind(tk(r)),!a||p<=0)return r.state={style:{}},"function"==typeof f&&(r.state={style:l}),tA(r);if(s&&s.length)r.state={style:s[0].style};else if(c){if("function"==typeof f)return r.state={style:c},tA(r);
1r.state={style:u?tS({},u,c):c}}else r.state={style:{}};return r}return r=[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,r=t.canBegin;this.mounted=!0,e&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.isActive,n=e.canBegin,o=e.attributeName,i=e.shouldReAnimate,a=e.to,u=e.from,c=this.state.style;if(n){if(!r){var l={style:o?tS({},o,a):a};this.state&&c&&(o&&c[o]!==a||!o&&c!==a)&&this.setState(l);return}if(!U(t.to,a)||!t.canBegin||!t.isActive){var s=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var f=s||i?u:t.to;if(this.state&&c){var p={style:o?tS({},o,f):f};(o&&c[o]!==f||!o&&c!==f)&&this.setState(p)}this.runAnimation(tj(tj({},this.props),{},{from:f,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var t=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),t&&t()}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"runJSAnimation",value:function(t){var e=this,r=t.from,n=t.to,o=t.duration,i=t.easing,a=t.begin,u=t.onAnimationEnd,c=t.onAnimationStart,l=tm(r,n,ta(i),o,this.changeStyle);this.manager.start([c,a,function(){e.stopJSAnimation=l()},o,u])}},{key:"runStepAnimation",value:function(t){var e=this,r=t.steps,n=t.begin,o=t.onAnimationStart,i=r[0],a=i.style,u=i.duration;return this.manager.start([o].concat(tx(r.reduce(function(t,n,o){if(0===o)return t;var i=n.duration,a=n.easing,u=void 0===a?"ease":a,c=n.style,l=n.properties,s=n.onAnimationEnd,f=o>0?r[o-1]:n,p=l||Object.keys(c);if("function"==typeof u||"spring"===u)return[].concat(tx(t),[e.runJSAnimation.bind(e,{from:f.style,to:c,duration:i,easing:u}),i]);var d=Z(p,i,u),h=tj(tj(tj({},f.style),c),{},{transition:d});return[].concat(tx(t),[h,i,s]).filter(Y)},[a,Math.max(void 0===u?0:u,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=(e=function(){return null},r=!1,n=function t(n){if(!r){if(Array.isArray(n)){if(!n.length)return;var o=function(t){if(Array.isArray(t))return t}(n)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||function(t){if(t){if("string"==typeof t)return W(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return W(t,void 0)}}(n)||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);return"number"==typeof i?void F(t.bind(null,a),i):(t(i),void F(t.bind(null,a)))}"object"===q(n)&&e(n),"function"==typeof n&&n()}},{stop:function(){r=!0},start:function(t){r=!1,n(t)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}));var e,r,n,o=t.begin,i=t.duration,a=t.attributeName,u=t.to,c=t.easing,l=t.onAnimationStart,s=t.onAnimationEnd,f=t.steps,p=t.children,d=this.manager;if(this.unSubscribe=d.subscribe(this.handleStyleChange),"function"==typeof c||"function"==typeof p||"spring"===c)return void this.runJSAnimation(t);if(f.length>1)return void this.runStepAnimation(t);var h=a?tS({},a,u):u,y=Z(Object.keys(h),i,c);d.start([l,o,tj(tj({},h),{},{transition:y}),i,s])}},{key:"render",value:function(){var t=this.props,e=t.children,r=(t.begin,t.duration),n=(t.attributeName,t.easing,t.isActive),o=(t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart,function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,tg)),i=s.Children.count(e),a=this.state.style;if("function"==typeof e)return e(a);
1if(!n||0===i||r<=0)return e;var u=function(t){var e=t.props,r=e.style,n=e.className;return(0,s.cloneElement)(t,tj(tj({},o),{},{style:tj(tj({},void 0===r?{}:r),a),className:n}))};return 1===i?u(s.Children.only(e)):s.default.createElement("div",null,s.Children.map(e,function(t){return u(t)}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tP(n.key),n)}}(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(s.PureComponent);function tT(t,e){if(null==t)return{};var r={};for(var n in t)if(({}).hasOwnProperty.call(t,n)){if(-1!==e.indexOf(n))continue;r[n]=t[n]}return r}function tC(){return(tC=Object.assign.bind()).apply(null,arguments)}function tD(t,e){return(tD=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tI(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,tD(t,e)}t_.displayName="Animate",t_.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},t_.propTypes={from:p.default.oneOfType([p.default.object,p.default.string]),to:p.default.oneOfType([p.default.object,p.default.string]),attributeName:p.default.string,duration:p.default.number,begin:p.default.number,easing:p.default.oneOfType([p.default.string,p.default.func]),steps:p.default.arrayOf(p.default.shape({duration:p.default.number.isRequired,style:p.default.object.isRequired,easing:p.default.oneOfType([p.default.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),p.default.func]),properties:p.default.arrayOf("string"),onAnimationEnd:p.default.func})),children:p.default.oneOfType([p.default.node,p.default.func]),isActive:p.default.bool,canBegin:p.default.bool,onAnimationEnd:p.default.func,shouldReAnimate:p.default.bool,onAnimationStart:p.default.func,onAnimationReStart:p.default.func};let tN=s.default.createContext(null);function tB(t,e){var r=Object.create(null);return t&&s.Children.map(t,function(t){return t}).forEach(function(t){r[t.key]=e&&(0,s.isValidElement)(t)?e(t):t}),r}function tR(t,e,r){return null!=r[e]?r[e]:t.props[e]}var tL=Object.values||function(t){return Object.keys(t).map(function(e){return t[e]})},tz=function(t){function e(e,r){var n=t.call(this,e,r)||this,o=n.handleExited.bind(function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}tI(e,t);var r=e.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(t,e){var r,n,o=e.children,i=e.handleExited;return{children:e.firstRender?tB(t.children,function(e){return(0,s.cloneElement)(e,{onExited:i.bind(null,e),in:!0,appear:tR(e,"appear",t),enter:tR(e,"enter",t),exit:tR(e,"exit",t)})}):(Object.keys(n=function(t,e){function r(r){return r in e?e[r]:t[r]}t=t||{},e=e||{};var n,o=Object.create(null),i=[];for(var a in t)a in e?i.length&&(o[a]=i,i=[]):i.push(a);var u={};for(var c in e){if(o[c])for(n=0;n<o[c].length;n++){var l=o[c][n];u[o[c][n]]=r(l)}u[c]=r(c)}for(n=0;n<i.length;n++)u[i[n]]=r(i[n]);return u}(o,r=tB(t.children))).forEach(function(e){var a=n[e];if((0,s.isValidElement)(a)){var u=e in o,c=e in r,l=o[e],f=(0,s.isValidElement)(l)&&!l.props.in;c&&(!u||f)?n[e]=(0,s.cloneElement)(a,{onExited:i.bind(null,a),in:!0,exit:tR(a,"exit",t),enter:tR(a,"enter",t)}):c||!u||f?c&&u&&(0,s.isValidElement)(l)&&(n[e]=(0,s.cloneElement)(a,{onExited:i.bind(null,a),in:l.props.in,exit:tR(a,"exit",t),enter:tR(a,"enter",t)})):n[e]=(0,s.cloneElement)(a,{in:!1})}}),n),firstRender:!1}},r.handleExited=function(t,e){var r=tB(this.props.children);t.key in r||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState(function(e){var r=tC({},e.children);return delete r[t.key],{children:r}}))},r.render=function(){var t=this.props,e=t.component,r=t.childFactory,n=tT(t,["component","childFactory"]),o=this.state.contextValue,i=tL(this.state.children).map(r);
1return(delete n.appear,delete n.enter,delete n.exit,null===e)?s.default.createElement(tN.Provider,{value:o},i):s.default.createElement(tN.Provider,{value:o},s.default.createElement(e,n,i))},e}(s.default.Component);tz.propTypes={},tz.defaultProps={component:"div",childFactory:function(t){return t}};var tU=t.i(174080),t$="unmounted",tF="exited",tq="entering",tW="entered",tX="exiting",tH=function(t){function e(e,r){var n,o=t.call(this,e,r)||this,i=r&&!r.isMounting?e.enter:e.appear;return o.appearStatus=null,e.in?i?(n=tF,o.appearStatus=tq):n=tW:n=e.unmountOnExit||e.mountOnEnter?t$:tF,o.state={status:n},o.nextCallback=null,o}tI(e,t),e.getDerivedStateFromProps=function(t,e){return t.in&&e.status===t$?{status:tF}:null};var r=e.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(t){var e=null;if(t!==this.props){var r=this.state.status;this.props.in?r!==tq&&r!==tW&&(e=tq):(r===tq||r===tW)&&(e=tX)}this.updateStatus(!1,e)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var t,e,r,n=this.props.timeout;return t=e=r=n,null!=n&&"number"!=typeof n&&(t=n.exit,e=n.enter,r=void 0!==n.appear?n.appear:e),{exit:t,enter:e,appear:r}},r.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e)if(this.cancelNextCallback(),e===tq){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:tU.default.findDOMNode(this);r&&r.scrollTop}this.performEnter(t)}else this.performExit();else this.props.unmountOnExit&&this.state.status===tF&&this.setState({status:t$})},r.performEnter=function(t){var e=this,r=this.props.enter,n=this.context?this.context.isMounting:t,o=this.props.nodeRef?[n]:[tU.default.findDOMNode(this),n],i=o[0],a=o[1],u=this.getTimeouts(),c=n?u.appear:u.enter;(t||r)&&1?(this.props.onEnter(i,a),this.safeSetState({status:tq},function(){e.props.onEntering(i,a),e.onTransitionEnd(c,function(){e.safeSetState({status:tW},function(){e.props.onEntered(i,a)})})})):this.safeSetState({status:tW},function(){e.props.onEntered(i)})},r.performExit=function(){var t=this,e=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:tU.default.findDOMNode(this);e?(this.props.onExit(n),this.safeSetState({status:tX},function(){t.props.onExiting(n),t.onTransitionEnd(r.exit,function(){t.safeSetState({status:tF},function(){t.props.onExited(n)})})})):this.safeSetState({status:tF},function(){t.props.onExited(n)})},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},r.setNextCallback=function(t){var e=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,e.nextCallback=null,t(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(t,e){this.setNextCallback(e);var r=this.props.nodeRef?this.props.nodeRef.current:tU.default.findDOMNode(this),n=null==t&&!this.props.addEndListener;if(!r||n)return void setTimeout(this.nextCallback,0);if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=t&&setTimeout(this.nextCallback,t)},r.render=function(){var t=this.state.status;if(t===t$)return null;var e=this.props,r=e.children,n=(e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef,tT(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return s.default.createElement(tN.Provider,{value:null},"function"==typeof r?r(t,n):s.default.cloneElement(s.default.Children.only(r),n))},e}(s.default.Component);function tV(){}tH.contextType=tN,tH.propTypes={},tH.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:tV,onEntering:tV,onEntered:tV,onExit:tV,onExiting:tV,onExited:tV},tH.UNMOUNTED=t$,tH.EXITED=tF,tH.ENTERING=tq,tH.ENTERED=tW,tH.EXITING=tX;var tG=["children","appearOptions","enterOptions","leaveOptions"];function tY(t){return(tY="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tK(){return(tK=Object.assign.bind()).apply(this,arguments)}function tZ(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tJ(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?tZ(Object(r),!0).forEach(function(e){t2(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tZ(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tQ(t,e){return(tQ=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function t0(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function t1(t){return(t1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function t2(t,e,r){return(e=t3(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function t3(t){var e=function(t,e){if("object"!==tY(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==tY(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===tY(e)?e:String(e)}var t5=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.steps,r=t.duration;return e&&e.length?e.reduce(function(t,e){return t+(Number.isFinite(e.duration)&&e.duration>0?e.duration:0)},0):Number.isFinite(r)?r:0},t8=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&tQ(o,t);var e,r,n=(e=function(){if("u"<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(t){return!1}}(),function(){var t,r=t1(o);return t=e?Reflect.construct(r,arguments,t1(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===tY(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return t0(t)}(this,t)});function o(){var t;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return t2(t0(t=n.call(this)),"handleEnter",function(e,r){var n=t.props,o=n.appearOptions,i=n.enterOptions;t.handleStyleActive(r?o:i)}),t2(t0(t),"handleExit",function(){var e=t.props.leaveOptions;t.handleStyleActive(e)}),t.state={isActive:!1},t}return r=[{key:"handleStyleActive",value:function(t){if(t){var e=t.onAnimationEnd?function(){t.onAnimationEnd()}:null;this.setState(tJ(tJ({},t),{},{onAnimationEnd:e,isActive:!0}))}}},{key:"parseTimeout",value:function(){var t=this.props,e=t.appearOptions,r=t.enterOptions,n=t.leaveOptions;return t5(e)+t5(r)+t5(n)}},{key:"render",value:function(){var t=this,e=this.props,r=e.children,n=(e.appearOptions,e.enterOptions,e.leaveOptions,function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(e,tG));return s.default.createElement(tH,tK({},n,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),function(){return s.default.createElement(t_,t.state,s.Children.only(r))})}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,t3(n.key),n)}}(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(s.Component);function t6(t){var e=t.component,r=t.children,n=t.appear,o=t.enter,i=t.leave;return s.default.createElement(tz,{component:e},s.Children.map(r,function(t,e){return s.default.createElement(t8,{appearOptions:n,enterOptions:o,leaveOptions:i,key:"child-".concat(e)},t)}))}t8.propTypes={appearOptions:p.default.object,enterOptions:p.default.object,leaveOptions:p.default.object,children:p.default.element},t6.propTypes={appear:p.default.object,enter:p.default.object,leave:p.default.object,children:p.default.oneOfType([p.default.array,p.default.element]),component:p.default.any},t6.defaultProps={component:"span"},t.s(["default",0,t_],273050);var t7=t.i(898892),t4=t.i(629873),t9=t.i(482820),et=t.i(385845),ee=t.i(771223),er=t.i(12447),en=t.i(179684),eo=t.i(878948),ei=t.i(94241),ea=function(t){return 0===t?0:t>0?1:-1},eu=function(t){return(0,et.default)(t)&&t.indexOf("%")===t.length-1},ec=function(t){return(0,ei.default)(t)&&!(0,eo.default)(t)},el=function(t){return(0,t4.default)(t)},es=function(t){return ec(t)||(0,et.default)(t)},ef=0,ep=function(t){var e=++ef;return"".concat(t||"").concat(e)},ed=function(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!ec(t)&&!(0,et.default)(t))return n;if(eu(t)){var i=t.indexOf("%");r=e*parseFloat(t.slice(0,i))/100}
1else r=+t;return(0,eo.default)(r)&&(r=n),o&&r>e&&(r=e),r},eh=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},ey=function(t){if(!Array.isArray(t))return!1;for(var e=t.length,r={},n=0;n<e;n++)if(r[t[n]])return!0;else r[t[n]]=!0;return!1},ev=function(t,e){return ec(t)&&ec(e)?function(r){return t+r*(e-t)}:function(){return e}};function em(t,e,r){return t&&t.length?t.find(function(t){return t&&("function"==typeof e?e(t):(0,t9.default)(t,e))===r}):null}var eb=function(t,e){return ec(t)&&ec(e)?t-e:(0,et.default)(t)&&(0,et.default)(e)?t.localeCompare(e):t instanceof Date&&e instanceof Date?t.getTime()-e.getTime():String(t).localeCompare(String(e))};function eg(t,e){for(var r in t)if(({}).hasOwnProperty.call(t,r)&&(!({}).hasOwnProperty.call(e,r)||t[r]!==e[r]))return!1;for(var n in e)if(({}).hasOwnProperty.call(e,n)&&!({}).hasOwnProperty.call(t,n))return!1;return!0}function ex(t){return(ex="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.s(["compareValues",0,eb,"findEntryInArray",0,em,"getAnyElementOfObject",0,eh,"getPercentValue",0,ed,"hasDuplicate",0,ey,"interpolateNumber",0,ev,"isNullish",0,el,"isNumOrStr",0,es,"isNumber",0,ec,"isPercent",0,eu,"mathSign",0,ea,"uniqueId",0,ep],794395);var eO=["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"],ew=["points","pathLength"],ej={svg:["viewBox","children"],polygon:ew,polyline:ew},eS=["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"],eP=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if((0,s.isValidElement)(t)&&(r=t.props),!(0,er.default)(r))return null;var n={};return Object.keys(r).forEach(function(t){eS.includes(t)&&(n[t]=e||function(e){return r[t](r,e)})}),n},eE=function(t,e,r){if(!(0,er.default)(t)||"object"!==ex(t))return null;var n=null;return Object.keys(t).forEach(function(o){var i=t[o];eS.includes(o)&&"function"==typeof i&&(n||(n={}),n[o]=function(t){return i(e,r,t),null})}),n},eA=["children"],ek=["children"];function eM(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function e_(t){return(e_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var eT={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"},eC=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},eD=null,eI=null,eN=function t(e){if(e===eD&&Array.isArray(eI))return eI;var r=[];
1return s.Children.forEach(e,function(e){(0,t4.default)(e)||((0,en.isFragment)(e)?r=r.concat(t(e.props.children)):r.push(e))}),eI=r,eD=e,r};function eB(t,e){var r=[],n=[];return n=Array.isArray(e)?e.map(function(t){return eC(t)}):[eC(e)],eN(t).forEach(function(t){var e=(0,t9.default)(t,"type.displayName")||(0,t9.default)(t,"type.name");-1!==n.indexOf(e)&&r.push(t)}),r}function eR(t,e){var r=eB(t,e);return r&&r[0]}var eL=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!!ec(r)&&!(r<=0)&&!!ec(n)&&!(n<=0)},ez=["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"],eU=function(t,e,r,n){var o,i=null!=(o=null==ej?void 0:ej[n])?o:[];return e.startsWith("data-")||!(0,ee.default)(t)&&(n&&i.includes(e)||eO.includes(e))||r&&eS.includes(e)},e$=function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if((0,s.isValidElement)(t)&&(n=t.props),!(0,er.default)(n))return null;var o={};return Object.keys(n).forEach(function(t){var i;eU(null==(i=n)?void 0:i[t],t,e,r)&&(o[t]=n[t])}),o},eF=function t(e,r){if(e===r)return!0;var n=s.Children.count(e);if(n!==s.Children.count(r))return!1;if(0===n)return!0;if(1===n)return eq(Array.isArray(e)?e[0]:e,Array.isArray(r)?r[0]:r);for(var o=0;o<n;o++){var i=e[o],a=r[o];if(Array.isArray(i)||Array.isArray(a)){if(!t(i,a))return!1}else if(!eq(i,a))return!1}return!0},eq=function(t,e){if((0,t4.default)(t)&&(0,t4.default)(e))return!0;if(!(0,t4.default)(t)&&!(0,t4.default)(e)){var r=t.props||{},n=r.children,o=eM(r,eA),i=e.props||{},a=i.children,u=eM(i,ek);if(n&&a)return eg(o,u)&&eF(n,a);if(!n&&!a)return eg(o,u)}return!1},eW=function(t,e){var r=[],n={};return eN(t).forEach(function(t,o){if(t&&t.type&&(0,et.default)(t.type)&&ez.indexOf(t.type)>=0)r.push(t);else if(t){var i=eC(t.type),a=e[i]||{},u=a.handler,c=a.once;if(u&&(!c||!n[i])){var l=u(t,i,o);r.push(l),n[i]=!0}}}),r},eX=function(t){var e=t&&t.type;return e&&eT[e]?eT[e]:null},eH=function(t,e){return eN(e).indexOf(t)};t.s(["filterProps",0,e$,"findAllByType",0,eB,"findChildByType",0,eR,"getDisplayName",0,eC,"getReactEventByType",0,eX,"hasClipDot",0,function(t){return t&&"object"===e_(t)&&"clipDot"in t},"isChildrenEqual",0,eF,"parseChildIndex",0,eH,"renderByOrder",0,eW,"validateWidthHeight",0,eL],781977);var eV=["children","className"];function eG(){return(eG=Object.assign.bind()).apply(this,arguments)}var eY=s.default.forwardRef(function(t,e){var r=t.children,n=t.className,o=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,eV),i=(0,f.default)("recharts-layer",n);return s.default.createElement("g",eG({className:i},e$(o,!0),{ref:e}),r)});function eK(t,e){if(!t)throw Error("Invariant failed")}t.s(["Layer",0,eY],997865);var eZ=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function eJ(t){return(eJ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eQ(){return(eQ=Object.assign.bind()).apply(this,arguments)}function e0(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function e1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(e1=function(){return!!t})()}function e2(t){return(e2=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function e3(t,e){return(e3=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function e5(t,e,r){return(e=e8(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function e8(t){var e=function(t,e){if("object"!=eJ(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=eJ(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==eJ(e)?e:e+""}var e6=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=e2(t),function(t,e){if(e&&("object"===eJ(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,e1()?Reflect.construct(t,e||[],e2(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&e3(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.offset,r=t.layout,n=t.width,o=t.dataKey,i=t.data,a=t.dataPointFormatter,u=t.xAxis,c=t.yAxis,l=e$(function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,eZ),!1);"x"===this.props.direction&&"number"!==u.type&&eK(!1);var f=i.map(function(t){var i,f,p=a(t,o),d=p.x,h=p.y,y=p.value,v=p.errorVal;if(!v)return null;var m=[];if(Array.isArray(v)){var b=function(t){if(Array.isArray(t))return t}(v)||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,o,i,a=[],u=!0,c=!1;try{o=(e=e.call(t)).next,!1;for(;!(u=(r=o.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){c=!0,n=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw n}}return a}}(v)||function(t){if(t){if("string"==typeof t)return e0(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return e0(t,2)}}(v)||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=b[0],f=b[1]}else i=f=v;if("vertical"===r){var g=u.scale,x=h+e,O=x+n,w=x-n,j=g(y-i),S=g(y+f);m.push({x1:S,y1:O,x2:S,y2:w}),m.push({x1:j,y1:x,x2:S,y2:x}),m.push({x1:j,y1:O,x2:j,y2:w})}else if("horizontal"===r){var P=c.scale,E=d+e,A=E-n,k=E+n,M=P(y-i),_=P(y+f);m.push({x1:A,y1:_,x2:k,y2:_}),m.push({x1:E,y1:M,x2:E,y2:_}),m.push({x1:A,y1:M,x2:k,y2:M})}return s.default.createElement(eY,eQ({className:"recharts-errorBar",key:"bar-".concat(m.map(function(t){return"".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))},l),m.map(function(t){return s.default.createElement("line",eQ({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))}))});return s.default.createElement(eY,{className:"recharts-errorBars"},f)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,e8(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(s.default.Component);e5(e6,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),e5(e6,"displayName","ErrorBar"),t.s(["ErrorBar",0,e6],734251);var e7=function(t){return null};e7.displayName="Cell";var e4=t.i(4879),e9={isSsr:!("u">typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return e9[t]},set:function(t,e){if("string"==typeof t)e9[t]=e;else{var r=Object.keys(t);r&&r.length&&r.forEach(function(e){e9[e]=t[e]})}}};function rt(t){return(rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function re(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function rr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?re(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=rt(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=rt(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==rt(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}t.s(["Global",0,e9],562728);var rn={widthCache:{},cacheCount:0},ro={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},ri="recharts_measurement_span",ra=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||e9.isSsr)return{width:0,height:0};var n=(Object.keys(e=rr({},r)).forEach(function(t){e[t]||delete e[t]}),e),o=JSON.stringify({text:t,copyStyle:n});if(rn.widthCache[o])return rn.widthCache[o];try{var i=document.getElementById(ri);i||((i=document.createElement("span")).setAttribute("id",ri),i.setAttribute("aria-hidden","true"),document.body.appendChild(i));var a=rr(rr({},ro),n);Object.assign(i.style,a),i.textContent="".concat(t);var u=i.getBoundingClientRect(),c={width:u.width,height:u.height};return rn.widthCache[o]=c,++rn.cacheCount>2e3&&(rn.cacheCount=0,rn.widthCache={}),c}catch(t){return{width:0,height:0}}};function ru(t){return(ru="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rc(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return rl(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return rl(t,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.")}()}function rl(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function rs(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){var e=function(t,e){if("object"!=ru(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ru(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ru(e)?e:e+""}(n.key),n)}}var rf=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,rp=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,rd=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,rh=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,ry={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},rv=Object.keys(ry),rm=function(){var t,e;function r(t,e){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");this.num=t,this.unit=e,this.num=t,this.unit=e,Number.isNaN(t)&&(this.unit=""),""===e||rd.test(e)||(this.num=NaN,this.unit=""),rv.includes(e)&&(this.num=t*ry[e],this.unit="px")}return t=[{key:"add",value:function(t){return this.unit!==t.unit?new r(NaN,""):new r(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new r(NaN,""):new r(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new r(NaN,""):new r(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new r(NaN,""):new r(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],e=[{key:"parse",value:function(t){var e,n=rc(null!=(e=rh.exec(t))?e:[],3),o=n[1],i=n[2];return new r(parseFloat(o),null!=i?i:"")}}],t&&rs(r.prototype,t),e&&rs(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();function rb(t){if(t.includes("NaN"))return"NaN";for(var e=t;e.includes("*")||e.includes("/");){var r,n=rc(null!=(r=rf.exec(e))?r:[],4),o=n[1],i=n[2],a=n[3],u=rm.parse(null!=o?o:""),c=rm.parse(null!=a?a:""),l="*"===i?u.multiply(c):u.divi
1de(c);if(l.isNaN())return"NaN";e=e.replace(rf,l.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var s,f=rc(null!=(s=rp.exec(e))?s:[],4),p=f[1],d=f[2],h=f[3],y=rm.parse(null!=p?p:""),v=rm.parse(null!=h?h:""),m="+"===d?y.add(v):y.subtract(v);if(m.isNaN())return"NaN";e=e.replace(rp,m.toString())}return e}var rg=/\(([^()]*)\)/;function rx(t){var e=function(t){try{var e;return e=t.replace(/\s+/g,""),e=function(t){for(var e=t;e.includes("(");){var r=rc(rg.exec(e),2)[1];e=e.replace(rg,rb(r))}return e}(e),e=rb(e)}catch(t){return"NaN"}}(t.slice(5,-1));return"NaN"===e?"":e}var rO=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],rw=["dx","dy","angle","className","breakAll"];function rj(){return(rj=Object.assign.bind()).apply(this,arguments)}function rS(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function rP(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return rE(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return rE(t,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.")}()}function rE(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var rA=/[ \f\n\r\t\v\u2028\u2029]+/,rk=function(t){var e=t.children,r=t.breakAll,n=t.style;try{var o=[];(0,t4.default)(e)||(o=r?e.toString().split(""):e.toString().split(rA));var i=o.map(function(t){return{word:t,width:ra(t,n).width}}),a=r?0:ra(" ",n).width;return{wordsWithComputedWidth:i,spaceWidth:a}}catch(t){return null}},rM=function(t,e,r,n,o){var i,a=t.maxLines,u=t.children,c=t.style,l=t.breakAll,s=ec(a),f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.reduce(function(t,e){var i=e.word,a=e.width,u=t[t.length-1];return u&&(null==n||o||u.width+a+r<Number(n))?(u.words.push(i),u.width+=a+r):t.push({words:[i],width:a}),t},[])},p=f(e);if(!s)return p;for(var d=function(t){var e=f(rk({breakAll:l,style:c,children:u.slice(0,t)+"…"}).wordsWithComputedWidth);return[e.length>a||e.reduce(function(t,e){return t.width>e.width?t:e}).width>Number(n),e]},h=0,y=u.length-1,v=0;h<=y&&v<=u.length-1;){var m=Math.floor((h+y)/2),b=rP(d(m-1),2),g=b[0],x=b[1],O=rP(d(m),1)[0];if(g||O||(h=m+1),g&&O&&(y=m-1),!g&&O){i=x;break}v++}return i||p},r_=function(t){return[{words:(0,t4.default)(t)?[]:t.toString().split(rA)}]},rT=function(t){var e=t.width,r=t.scaleToFit,n=t.children,o=t.style,i=t.breakAll,a=t.maxLines;if((e||r)&&!e9.isSsr){var u=rk({breakAll:i,children:n,style:o});if(!u)return r_(n);var c=u.wordsWithComputedWidth,l=u.spaceWidth;return rM({breakAll:i,children:n,maxLines:a,style:o},c,l,e,r)}return r_(n)},rC="#808080",rD=function(t){var e,r=t.x,n=void 0===r?0:r,o=t.y,i=void 0===o?0:o,a=t.lineHeight,u=void 0===a?"1em":a,c=t.capHeight,l=void 0===c?"0.71em":c,p=t.scaleToFit,d=void 0!==p&&p,h=t.textAnchor,y=t.verticalAnchor,v=t.fill,m=void 0===v?rC:v,b=rS(t,rO),g=(0,s.useMemo)(function(){return rT({breakAll:b.breakAll,children:b.children,maxLines:b.maxLines,scaleToFit:d,style:b.style,width:b.width})},[b.breakAll,b.children,b.maxLines,d,b.style,b.width]),x=b.dx,O=b.dy,w=b.angle,j=b.className,S=b.breakAll,P=rS(b,rw);if(!es(n)||!es(i))return null;var E=n+(ec(x)?x:0),A=i+(ec(O)?O:0);switch(void 0===y?"end":y){case"start":e=rx("calc(".concat(l,")"));break;case"middle":e=rx("calc(".concat((g.length-1)/2," * -").concat(u," + (").concat(l," / 2))"));break;default:e=rx("calc(".concat(g.length-1," * -").concat(u,")"))}var k=[];if(d){var M=g[0].width,_=b.width;k.push("scale(".concat((ec(_)?_/M:1)/M,")"))}return w&&k.push("rotate(".concat(w,", ").concat(E,", ").concat(A,")")),k.length&&(P.transform=k.join(" ")),s.default.createElement("text",rj({},e$(P,!0),{x:E,y:A,className:(0,f.default)("recharts-text",j),textAnchor:void 0===h?"start":h,fill:m.includes("url")?rC:m}
1),g.map(function(t,r){var n=t.words.join(S?"":" ");return s.default.createElement("tspan",{x:E,dy:0===r?e:u,key:"".concat(n,"-").concat(r)},n)}))};function rI(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function rN(t,e){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof e?this.interpolator(e):this.range(e)}return this}t.s([],925212),t.i(925212),t.s([],267155),t.i(267155);class rB extends Map{constructor(t,e=rL){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[e,r]of t)this.set(e,r)}get(t){return super.get(rR(this,t))}has(t){return super.has(rR(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}(this,t))}}function rR({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):r}function rL(t){return null!==t&&"object"==typeof t?t.valueOf():t}let rz=Symbol("implicit");function rU(){var t=new rB,e=[],r=[],n=rz;function o(o){let i=t.get(o);if(void 0===i){if(n!==rz)return n;t.set(o,i=e.push(o)-1)}return r[i%r.length]}return o.domain=function(r){if(!arguments.length)return e.slice();for(let n of(e=[],t=new rB,r))t.has(n)||t.set(n,e.push(n)-1);return o},o.range=function(t){return arguments.length?(r=Array.from(t),o):r.slice()},o.unknown=function(t){return arguments.length?(n=t,o):n},o.copy=function(){return rU(e,r).unknown(n)},rI.apply(o,arguments),o}function r$(){var t,e,r=rU().unknown(void 0),n=r.domain,o=r.range,i=0,a=1,u=!1,c=0,l=0,s=.5;function f(){var r=n().length,f=a<i,p=f?a:i,d=f?i:a;t=(d-p)/Math.max(1,r-c+2*l),u&&(t=Math.floor(t)),p+=(d-p-t*(r-c))*s,e=t*(1-c),u&&(p=Math.round(p),e=Math.round(e));var h=(function(t,e,r){t*=1,e*=1,r=(o=arguments.length)<2?(e=t,t=0,1):o<3?1:+r;for(var n=-1,o=0|Math.max(0,Math.ceil((e-t)/r)),i=Array(o);++n<o;)i[n]=t+n*r;return i})(r).map(function(e){return p+t*e});return o(f?h.reverse():h)}return delete r.unknown,r.domain=function(t){return arguments.length?(n(t),f()):n()},r.range=function(t){return arguments.length?([i,a]=t,i*=1,a*=1,f()):[i,a]},r.rangeRound=function(t){return[i,a]=t,i*=1,a*=1,u=!0,f()},r.bandwidth=function(){return e},r.step=function(){return t},r.round=function(t){return arguments.length?(u=!!t,f()):u},r.padding=function(t){return arguments.length?(c=Math.min(1,l=+t),f()):c},r.paddingInner=function(t){return arguments.length?(c=Math.min(1,t),f()):c},r.paddingOuter=function(t){return arguments.length?(l=+t,f()):l},r.align=function(t){return arguments.length?(s=Math.max(0,Math.min(1,t)),f()):s},r.copy=function(){return r$(n(),[i,a]).round(u).paddingInner(c).paddingOuter(l).align(s)},rI.apply(f(),arguments)}function rF(){return function t(e){var r=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return t(r())},e}(r$.apply(null,arguments).paddingInner(1))}let rq=Math.sqrt(50),rW=Math.sqrt(10),rX=Math.sqrt(2);function rH(t,e,r){let n,o,i,a=(e-t)/Math.max(0,r),u=Math.floor(Math.log10(a)),c=a/Math.pow(10,u),l=c>=rq?10:c>=rW?5:c>=rX?2:1;return(u<0?(n=Math.round(t*(i=Math.pow(10,-u)/l)),o=Math.round(e*i),n/i<t&&++n,o/i>e&&--o,i=-i):(n=Math.round(t/(i=Math.pow(10,u)*l)),o=Math.round(e/i),n*i<t&&++n,o*i>e&&--o),o<n&&.5<=r&&r<2)?rH(t,e,2*r):[n,o,i]}function rV(t,e,r){if(e*=1,t*=1,!((r*=1)>0))return[];if(t===e)return[t];let n=e<t,[o,i,a]=n?rH(e,t,r):rH(t,e,r);if(!(i>=o))return[];let u=i-o+1,c=Array(u);if(n)if(a<0)for(let t=0;t<u;++t)c[t]=-((i-t)/a);else for(let t=0;t<u;++t)c[t]=(i-t)*a;else if(a<0)for(let t=0;t<u;++t)c[t]=-((o+t)/a);else for(let t=0;t<u;++t)c[t]=(o+t)*a;return c}function rG(t,e,r){return rH(t*=1,e*=1,r*=1)[2]}function rY(t,e,r){e*=1,t*=1,r*=1;let n=e<t,o=n?rG(e,t,r):rG(t,e,r);return(n?-1:1)*(o<0?-(1/o):o)}function rK(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function rZ(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function rJ(t){let e,r,n;
1function o(t,n,i=0,a=t.length){if(i<a){if(0!==e(n,n))return a;do{let e=i+a>>>1;0>r(t[e],n)?i=e+1:a=e}while(i<a)}return i}return 2!==t.length?(e=rK,r=(e,r)=>rK(t(e),r),n=(e,r)=>t(e)-r):(e=t===rK||t===rZ?t:rQ,r=t,n=t),{left:o,center:function(t,e,r=0,i=t.length){let a=o(t,e,r,i-1);return a>r&&n(t[a-1],e)>-n(t[a],e)?a-1:a},right:function(t,n,o=0,i=t.length){if(o<i){if(0!==e(n,n))return i;do{let e=o+i>>>1;0>=r(t[e],n)?o=e+1:i=e}while(o<i)}return o}}}function rQ(){return 0}function r0(t){return null===t?NaN:+t}let r1=rJ(rK),r2=r1.right;function r3(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function r5(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function r8(){}r1.left,rJ(r0).center;var r6="\\s*([+-]?\\d+)\\s*",r7="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",r4="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",r9=/^#([0-9a-f]{3,8})$/,nt=RegExp(`^rgb\\(${r6},${r6},${r6}\\)$`),ne=RegExp(`^rgb\\(${r4},${r4},${r4}\\)$`),nr=RegExp(`^rgba\\(${r6},${r6},${r6},${r7}\\)$`),nn=RegExp(`^rgba\\(${r4},${r4},${r4},${r7}\\)$`),no=RegExp(`^hsl\\(${r7},${r4},${r4}\\)$`),ni=RegExp(`^hsla\\(${r7},${r4},${r4},${r7}\\)$`),na={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function nu(){return this.rgb().formatHex()}function nc(){return this.rgb().formatRgb()}function nl(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=r9.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?ns(e):3===r?new nd(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?nf(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?nf(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=nt.exec(t))?new nd(e[1],e[2],e[3],1):(e=ne.exec(t))?new nd(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=nr.exec(t))?nf(e[1],e[2],e[3],e[4]):(e=nn.exec(t))?nf(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=no.exec(t))?ng(e[1],e[2]/100,e[3]/100,1):(e=ni.exec(t))?ng(e[1],e[2]/100,e[3]/100,e[4]):na.hasOwnProperty(t)?ns(na[t]):"transparent"===t?new nd(NaN,NaN,NaN,0):null}function ns(t){return new nd(t>>16&255,t>>8&255,255&t,1)}function nf(t,e,r,n){return n<=0&&(t=e=r=NaN),new nd(t,e,r,n)}function np(t,e,r,n){var o;return 1==arguments.length?((o=t)instanceof r8||(o=nl(o)),o)?new nd((o=o.rgb()).r,o.g,o.b,o.opacity):new nd:new nd(t,e,r,null==n?1:n)}
1function nd(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function nh(){return`#${nb(this.r)}${nb(this.g)}${nb(this.b)}`}function ny(){let t=nv(this.opacity);return`${1===t?"rgb(":"rgba("}${nm(this.r)}, ${nm(this.g)}, ${nm(this.b)}${1===t?")":`, ${t})`}`}function nv(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function nm(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function nb(t){return((t=nm(t))<16?"0":"")+t.toString(16)}function ng(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new nO(t,e,r,n)}function nx(t){if(t instanceof nO)return new nO(t.h,t.s,t.l,t.opacity);if(t instanceof r8||(t=nl(t)),!t)return new nO;if(t instanceof nO)return t;var e=(t=t.rgb()).r/255,r=t.g/255,n=t.b/255,o=Math.min(e,r,n),i=Math.max(e,r,n),a=NaN,u=i-o,c=(i+o)/2;return u?(a=e===i?(r-n)/u+(r<n)*6:r===i?(n-e)/u+2:(e-r)/u+4,u/=c<.5?i+o:2-i-o,a*=60):u=c>0&&c<1?0:a,new nO(a,u,c,t.opacity)}function nO(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function nw(t){return(t=(t||0)%360)<0?t+360:t}function nj(t){return Math.max(0,Math.min(1,t||0))}function nS(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}function nP(t,e,r,n,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*e+(4-6*i+3*a)*r+(1+3*t+3*i-3*a)*n+a*o)/6}r3(r8,nl,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:nu,formatHex:nu,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return nx(this).formatHsl()},formatRgb:nc,toString:nc}),r3(nd,np,r5(r8,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new nd(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new nd(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new nd(nm(this.r),nm(this.g),nm(this.b),nv(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:nh,formatHex:nh,formatHex8:function(){return`#${nb(this.r)}${nb(this.g)}${nb(this.b)}${nb((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:ny,toString:ny})),r3(nO,function(t,e,r,n){return 1==arguments.length?nx(t):new nO(t,e,r,null==n?1:n)},r5(r8,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new nO(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new nO(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,o=2*r-n;return new nd(nS(t>=240?t-240:t+120,o,n),nS(t,o,n),nS(t<120?t+240:t-120,o,n),this.opacity)},clamp(){return new nO(nw(this.h),nj(this.s),nj(this.l),nv(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 t=nv(this.opacity);return`${1===t?"hsl(":"hsla("}${nw(this.h)}, ${100*nj(this.s)}%, ${100*nj(this.l)}%${1===t?")":`, ${t})`}`}}));let nE=t=>()=>t;function nA(t,e){var r=e-t;return r?function(e){return t+e*r}:nE(isNaN(t)?e:t)}let nk=function t(e){var r,n=1==(r=+e)?nA:function(t,e){var n,o,i;return e-t?(n=t,o=e,n=Math.pow(n,i=r),o=Math.pow(o,i)-n,i=1/i,function(t){return Math.pow(n+t*o,i)}):nE(isNaN(t)?e:t)};function o(t,e){var r=n((t=np(t)).r,(e=np(e)).r),o=n(t.g,e.g),i=n(t.b,e.b),a=nA(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=o(e),t.b=i(e),t.opacity=a(e),t+""}}return o.gamma=t,o}(1);function nM(t){return function(e){var r,n,o=e.length,i=Array(o),a=Array(o),u=Array(o);for(r=0;r<o;++r)n=np(e[r]),i[r]=n.r||0,a[r]=n.g||0,u[r]=n.b||0;return i=t(i),a=t(a),u=t(u),n.opacity=1,function(t){return n.r=i(t),n.g=a(t),n.b=u(t),n+""}}}function n_(t,e){return t*=1,e*=1,function(r){return t*(1-r)+e*r}}nM(function(t){var e=t.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,e-1):Math.floor(r*e),o=t[n],i=t[n+1],a=n>0?t[n-1]:2*o-i,u=n<e-1?t[n+2]:2*i-o;return nP((r-n/e)*e,a,o,i,u)}}),nM(function(t){var e=t.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*e),o=t[(n+e-1)%e],i=t[n%e],a=t[(n+1)%e],u=t[(n+2)%e];return nP((r-n/e)*e,o,i,a,u)}});var nT=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,nC=RegExp(nT.source,"g");function nD(t,e){var r,n,o=typeof e;return null==e||"boolean"===o?nE(e):("number"===o?n_:"string"===o?(n=nl(e))?(e=n,nk):function(t,e){var r,n,o,i,a,u=nT.lastIndex=nC.lastIndex=0,c=-1,l=[],s=[];for(t+="",e+="";(o=nT.exec(t))&&(i=nC.exec(e));)(a=i.index)>u&&(a=e.slice(u,a),l[c]?l[c]+=a:l[++c]=a),(o=o[0])===(i=i[0])?l[c]?l[c]+=i:l[++c]=i:(l[++c]=null,
1s.push({i:c,x:n_(o,i)})),u=nC.lastIndex;return u<e.length&&(a=e.slice(u),l[c]?l[c]+=a:l[++c]=a),l.length<2?s[0]?(r=s[0].x,function(t){return r(t)+""}):(n=e,function(){return n}):(e=s.length,function(t){for(var r,n=0;n<e;++n)l[(r=s[n]).i]=r.x(t);return l.join("")})}:e instanceof nl?nk:e instanceof Date?function(t,e){var r=new Date;return t*=1,e*=1,function(n){return r.setTime(t*(1-n)+e*n),r}}:!ArrayBuffer.isView(r=e)||r instanceof DataView?Array.isArray(e)?function(t,e){var r,n=e?e.length:0,o=t?Math.min(n,t.length):0,i=Array(o),a=Array(n);for(r=0;r<o;++r)i[r]=nD(t[r],e[r]);for(;r<n;++r)a[r]=e[r];return function(t){for(r=0;r<o;++r)a[r]=i[r](t);return a}}:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?function(t,e){var r,n={},o={};for(r in(null===t||"object"!=typeof t)&&(t={}),(null===e||"object"!=typeof e)&&(e={}),e)r in t?n[r]=nD(t[r],e[r]):o[r]=e[r];return function(t){for(r in n)o[r]=n[r](t);return o}}:n_:function(t,e){e||(e=[]);var r,n=t?Math.min(e.length,t.length):0,o=e.slice();return function(i){for(r=0;r<n;++r)o[r]=t[r]*(1-i)+e[r]*i;return o}})(t,e)}function nI(t,e){return t*=1,e*=1,function(r){return Math.round(t*(1-r)+e*r)}}function nN(t){return+t}var nB=[0,1];function nR(t){return t}function nL(t,e){var r;return(e-=t*=1)?function(r){return(r-t)/e}:(r=isNaN(e)?NaN:.5,function(){return r})}function nz(t,e,r){var n=t[0],o=t[1],i=e[0],a=e[1];return o<n?(n=nL(o,n),i=r(a,i)):(n=nL(n,o),i=r(i,a)),function(t){return i(n(t))}}function nU(t,e,r){var n=Math.min(t.length,e.length)-1,o=Array(n),i=Array(n),a=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<n;)o[a]=nL(t[a],t[a+1]),i[a]=r(e[a],e[a+1]);return function(e){var r=r2(t,e,1,n)-1;return i[r](o[r](e))}}function n$(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function nF(){var t,e,r,n,o,i,a=nB,u=nB,c=nD,l=nR;function s(){var t,e,r,c=Math.min(a.length,u.length);return l!==nR&&(t=a[0],e=a[c-1],t>e&&(r=t,t=e,e=r),l=function(r){return Math.max(t,Math.min(e,r))}),n=c>2?nU:nz,o=i=null,f}function f(e){return null==e||isNaN(e*=1)?r:(o||(o=n(a.map(t),u,c)))(t(l(e)))}return f.invert=function(r){return l(e((i||(i=n(u,a.map(t),n_)))(r)))},f.domain=function(t){return arguments.length?(a=Array.from(t,nN),s()):a.slice()},f.range=function(t){return arguments.length?(u=Array.from(t),s()):u.slice()},f.rangeRound=function(t){return u=Array.from(t),c=nI,s()},f.clamp=function(t){return arguments.length?(l=!!t||nR,s()):l!==nR},f.interpolate=function(t){return arguments.length?(c=t,s()):c},f.unknown=function(t){return arguments.length?(r=t,f):r},function(r,n){return t=r,e=n,s()}}function nq(){return nF()(nR,nR)}function nW(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function nX(t){return(t=nW(Math.abs(t)))?t[1]:NaN}var nH=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function nV(t){var e;if(!(e=nH.exec(t)))throw Error("invalid format: "+t);return new nG({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function nG(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function nY(t,e){var r=nW(t,e);if(!r)return t+"";var n=r[0],o=r[1];return o<0?"0."+Array(-o).join("0")+n:n.length>o+1?n.slice(0,o+1)+"."+n.slice(o+1):n+Array(o-n.length+2).join("0")}nV.prototype=nG.prototype,nG.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};let nK={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>
1=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>nY(100*t,e),r:nY,s:function(t,e){var r=nW(t,e);if(!r)return t+"";var o=r[0],i=r[1],a=i-(n=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,u=o.length;return a===u?o:a>u?o+Array(a-u+1).join("0"):a>0?o.slice(0,a)+"."+o.slice(a):"0."+Array(1-a).join("0")+nW(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function nZ(t){return t}var nJ=Array.prototype.map,nQ=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function n0(t,e,r,n){var o,u,c=rY(t,e,r);switch((n=nV(null==n?",f":n)).type){case"s":var l=Math.max(Math.abs(t),Math.abs(e));return null!=n.precision||isNaN(u=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(nX(l)/3)))-nX(Math.abs(c))))||(n.precision=u),a(n,l);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(u=Math.max(0,nX(Math.abs(Math.max(Math.abs(t),Math.abs(e)))-(o=Math.abs(o=c)))-nX(o))+1)||(n.precision=u-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(u=Math.max(0,-nX(Math.abs(c))))||(n.precision=u-("%"===n.type)*2)}return i(n)}function n1(t){var e=t.domain;return t.ticks=function(t){var r=e();return rV(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return n0(n[0],n[n.length-1],null==t?10:t,r)},t.nice=function(r){null==r&&(r=10);var n,o,i=e(),a=0,u=i.length-1,c=i[a],l=i[u],s=10;for(l<c&&(o=c,c=l,l=o,o=a,a=u,u=o);s-- >0;){if((o=rG(c,l,r))===n)return i[a]=c,i[u]=l,e(i);if(o>0)c=Math.floor(c/o)*o,l=Math.ceil(l/o)*o;else if(o<0)c=Math.ceil(c*o)/o,l=Math.floor(l*o)/o;else break;n=o}return t},t}function n2(){var t=nq();return t.copy=function(){return n$(t,n2())},rI.apply(t,arguments),n1(t)}function n3(t){var e;function r(t){return null==t||isNaN(t*=1)?e:t}return r.invert=r,r.domain=r.range=function(e){return arguments.length?(t=Array.from(e,nN),r):t.slice()},r.unknown=function(t){return arguments.length?(e=t,r):e},r.copy=function(){return n3(t).unknown(e)},t=arguments.length?Array.from(t,nN):[0,1],n1(r)}function n5(t,e){t=t.slice();var r,n=0,o=t.length-1,i=t[n],a=t[o];return a<i&&(r=n,n=o,o=r,r=i,i=a,a=r),t[n]=e.floor(i),t[o]=e.ceil(a),t}function n8(t){return Math.log(t)}function n6(t){return Math.exp(t)}function n7(t){return-Math.log(-t)}function n4(t){return-Math.exp(-t)}function n9(t){return isFinite(t)?+("1e"+t):t<0?0:t}function ot(t){return(e,r)=>-t(-e,r)}function oe(t){let e,r,n=t(n8,n6),o=n.domain,a=10;function u(){var i,u;return e=(i=a)===Math.E?Math.log:10===i&&Math.log10||2===i&&Math.log2||(i=Math.log(i),t=>Math.log(t)/i),r=10===(u=a)?n9:u===Math.E?Math.exp:t=>Math.pow(u,t),o()[0]<0?(e=ot(e),r=ot(r),t(n7,n4)):t(n8,n6),n}return n.base=function(t){return arguments.length?(a=+t,u()):a},n.domain=function(t){return arguments.length?(o(t),u()):o()},n.ticks=t=>{let n,i,u=o(),c=u[0],l=u[u.length-1],s=l<c;s&&([c,l]=[l,c]);let f=e(c),p=e(l),d=null==t?10:+t,h=[];if(!(a%1)&&p-f<d){if(f=Math.floor(f),p=Math.ceil(p),c>0){for(;f<=p;++f)for(n=1;n<a;++n)if(!((i=f<0?n/r(-f):n*r(f))<c)){if(i>l)break;h.push(i)}}else for(;f<=p;++f)for(n=a-1;n>=1;--n)if(!((i=f>0?n/r(-f):n*r(f))<c)){if(i>l)break;h.push(i)}2*h.length<d&&(h=rV(c,l,d))}else h=rV(f,p,Math.min(p-f,d)).map(r);return s?h.reverse():h},n.tickFormat=(t,o)=>{if(null==t&&(t=10),null==o&&(o=10===a?"s":","),"function"!=typeof o&&(a%1||null!=(o=nV(o)).precision||(o.trim=!0),o=i(o)),t===1/0)return o;let u=Math.max(1,a*t/n.ticks().length);return t=>{let n=t/r(Math.round(e(t)));return n*a<a-.5&&(n*=a),n<=u?o(t):""}},n.nice=()=>o(n5(o(),{floor:t=>r(Math.floor(e(t))),ceil:t=>r(Math.ceil(e(t)))})),n}function or(){let t=oe(nF()).domain([1,10]);return t.copy=()=>n$(t,or()).base(t.base()),rI.apply(t,arguments),t}function on(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function oo(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function oi(t){var e=1,r=t(on(1),oo(e));return r.constant=function(r){return arguments.length?t(on(e=+r),oo(e)):e},n1(r)}function oa(){var t=oi(nF());return t.copy=function(){return n$(t,oa()).constant(t.constant())},rI.apply(t,arguments)}function ou(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function oc(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function ol(t){return t<0?-t*t:t*t}function os(t){var e=t(nR,nR),r=1;return e.exponent=function(e){return arguments.length?1==(r=+e)?t(nR,nR):.5===r?t(oc,ol):t(ou(r),ou(1/r)):r},n1(e)}function of(){var t=os(nF());return t.copy=function(){return n$(t,of()).exponent(t.exponent())},rI.apply(t,arguments),t}function op(){return of.apply(null,arguments).exponent(.5)}function od(t){return Math.sign(t)*t*t}function oh(){var t,e=nq(),r=[0,1],n=!1;function o(r){var o,i=Math.sign(o=e(r))*Math.sqrt(Math.abs(o));return isNaN(i)?t:n?Math.round(i):i}return o.invert=function(t){return e.invert(od(t))},o.domain=function(t){return arguments.length?(e.domain(t),o):e.domain()},o.range=function(t){return arguments.length?(e.range((r=Array.from(t,nN)).map(od)),o):r.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(n=!!t,o):n},o.clamp=function(t){return arguments.length?(e.clamp(t),o):e.clamp()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return oh(e.domain(),r).round(n).clamp(e.clamp()).unknown(t)},rI.apply(o,arguments),n1(o)}function oy(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r<e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let o of t)null!=(o=e(o,++n,t))&&(r<o||void 0===r&&o>=o)&&(r=o)}return r}function ov(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let o of t)null!=(o=e(o,++n,t))&&(r>o||void 0===r&&o>=o)&&(r=o)}return r}function om(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:+(t>e))}function ob(t,e,r){let n=t[e];t[e]=t[r],t[r]=n}function og(){var t,e=[],r=[],n=[];function o(){var t=0,o=Math.max(1,r.length);for(n=Array(o-1);
1++t<o;)n[t-1]=function(t,e,r=r0){if(!(!(n=t.length)||isNaN(e*=1))){if(e<=0||n<2)return+r(t[0],0,t);if(e>=1)return+r(t[n-1],n-1,t);var n,o=(n-1)*e,i=Math.floor(o),a=+r(t[i],i,t);return a+(r(t[i+1],i+1,t)-a)*(o-i)}}(e,t/o);return i}function i(e){return null==e||isNaN(e*=1)?t:r[r2(n,e)]}return i.invertExtent=function(t){var o=r.indexOf(t);return o<0?[NaN,NaN]:[o>0?n[o-1]:e[0],o<n.length?n[o]:e[e.length-1]]},i.domain=function(t){if(!arguments.length)return e.slice();for(let r of(e=[],t))null==r||isNaN(r*=1)||e.push(r);return e.sort(rK),o()},i.range=function(t){return arguments.length?(r=Array.from(t),o()):r.slice()},i.unknown=function(e){return arguments.length?(t=e,i):t},i.quantiles=function(){return n.slice()},i.copy=function(){return og().domain(e).range(r).unknown(t)},rI.apply(i,arguments)}function ox(){var t,e=0,r=1,n=1,o=[.5],i=[0,1];function a(e){return null!=e&&e<=e?i[r2(o,e,0,n)]:t}function u(){var t=-1;for(o=Array(n);++t<n;)o[t]=((t+1)*r-(t-n)*e)/(n+1);return a}return a.domain=function(t){return arguments.length?([e,r]=t,e*=1,r*=1,u()):[e,r]},a.range=function(t){return arguments.length?(n=(i=Array.from(t)).length-1,u()):i.slice()},a.invertExtent=function(t){var a=i.indexOf(t);return a<0?[NaN,NaN]:a<1?[e,o[0]]:a>=n?[o[n-1],r]:[o[a-1],o[a]]},a.unknown=function(e){return arguments.length&&(t=e),a},a.thresholds=function(){return o.slice()},a.copy=function(){return ox().domain([e,r]).range(i).unknown(t)},rI.apply(n1(a),arguments)}function oO(){var t,e=[.5],r=[0,1],n=1;function o(o){return null!=o&&o<=o?r[r2(e,o,0,n)]:t}return o.domain=function(t){return arguments.length?(n=Math.min((e=Array.from(t)).length,r.length-1),o):e.slice()},o.range=function(t){return arguments.length?(r=Array.from(t),n=Math.min(e.length,r.length-1),o):r.slice()},o.invertExtent=function(t){var n=r.indexOf(t);return[e[n-1],e[n]]},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return oO().domain(e).range(r).unknown(t)},rI.apply(o,arguments)}i=(o=function(t){var e,r,o,i=void 0===t.grouping||void 0===t.thousands?nZ:(e=nJ.call(t.grouping,Number),r=t.thousands+"",function(t,n){for(var o=t.length,i=[],a=0,u=e[0],c=0;o>0&&u>0&&(c+u+1>n&&(u=Math.max(1,n-c)),i.push(t.substring(o-=u,o+u)),!((c+=u+1)>n));)u=e[a=(a+1)%e.length];return i.reverse().join(r)}),a=void 0===t.currency?"":t.currency[0]+"",u=void 0===t.currency?"":t.currency[1]+"",c=void 0===t.decimal?".":t.decimal+"",l=void 0===t.numerals?nZ:(o=nJ.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return o[+t]})}),s=void 0===t.percent?"%":t.percent+"",f=void 0===t.minus?"−":t.minus+"",p=void 0===t.nan?"NaN":t.nan+"";function d(t){var e=(t=nV(t)).fill,r=t.align,o=t.sign,d=t.symbol,h=t.zero,y=t.width,v=t.comma,m=t.precision,b=t.trim,g=t.type;"n"===g?(v=!0,g="g"):nK[g]||(void 0===m&&(m=12),b=!0,g="g"),(h||"0"===e&&"="===r)&&(h=!0,e="0",r="=");var x="$"===d?a:"#"===d&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",O="$"===d?u:/[%p]/.test(g)?s:"",w=nK[g],j=/[defgprs%]/.test(g);function S(t){var a,u,s,d=x,S=O;if("c"===g)S=w(t)+S,t="";else{var P=(t*=1)<0||1/t<0;if(t=isNaN(t)?p:w(Math.abs(t),m),b&&(t=function(t){e:for(var e,r=t.length,n=1,o=-1;n<r;++n)switch(t[n]){case".":o=e=n;break;case"0":0===o&&(o=n),e=n;break;default:if(!+t[n])break e;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t}(t)),P&&0==+t&&"+"!==o&&(P=!1),d=(P?"("===o?o:f:"-"===o||"("===o?"":o)+d,S=("s"===g?nQ[8+n/3]:"")+S+(P&&"("===o?")":""),j){for(a=-1,u=t.length;++a<u;)if(48>(s=t.charCodeAt(a))||s>57){S=(46===s?c+t.slice(a+1):t.slice(a))+S,t=t.slice(0,a);break}}}v&&!h&&(t=i(t,1/0));var E=d.length+t.length+S.length,A=E<y?Array(y-E+1).join(e):"";switch(v&&h&&(t=i(A+t,A.length?y-S.length:1/0),A=""),r){case"<":t=d+t+S+A;break;case"=":t=d+A+t+S;break;case"^":t=A.slice(0,E=A.length>>1)+d+t+S+A.slice(E);break;default:t=A+d+t+S}return l(t)}return m=void 0===m?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),S.toString=function(){return t+""},S}return{format:d,formatPrefix:function(t,e){var r=d(((t=nV(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(nX(e)/3))),o=Math.pow(10,-n),i=nQ[8+n/3];return function(t){return r(o*t)+i}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,a=o.formatPrefix;let ow=new Date,oj=new Date;function oS(t,e,r,n){function o(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return o.floor=e=>(t(e=new Date(+e)),e),o.ceil=r=>(t(r=new Date(r-1)),e(r,1),t(r),r),o.round=t=>{let e=o(t),r=o.ceil(t);return t-e<r-t?e:r},o.offset=(t,r)=>(e(t=new Date(+t),null==r?1:Math.floor(r)),t),o.range=(r,n,i)=>{let a,u=[];
1if(r=o.ceil(r),i=null==i?1:Math.floor(i),!(r<n)||!(i>0))return u;do u.push(a=new Date(+r)),e(r,i),t(r);while(a<r&&r<n)return u},o.filter=r=>oS(e=>{if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)},(t,n)=>{if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););}),r&&(o.count=(e,n)=>(ow.setTime(+e),oj.setTime(+n),t(ow),t(oj),Math.floor(r(ow,oj))),o.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?o.filter(n?e=>n(e)%t==0:e=>o.count(0,e)%t==0):o:null),o}let oP=oS(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());oP.every=t=>isFinite(t=Math.floor(t))&&t>0?oS(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)}):null,oP.range;let oE=oS(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());oE.every=t=>isFinite(t=Math.floor(t))&&t>0?oS(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null,oE.range;let oA=oS(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());oA.range;let ok=oS(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());ok.range;function oM(t){return oS(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5)}let o_=oM(0),oT=oM(1),oC=oM(2),oD=oM(3),oI=oM(4),oN=oM(5),oB=oM(6);function oR(t){return oS(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/6048e5)}o_.range,oT.range,oC.range,oD.range,oI.range,oN.range,oB.range;let oL=oR(0),oz=oR(1),oU=oR(2),o$=oR(3),oF=oR(4),oq=oR(5),oW=oR(6);oL.range,oz.range,oU.range,o$.range,oF.range,oq.range,oW.range;let oX=oS(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1);oX.range;let oH=oS(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1);oH.range;let oV=oS(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>Math.floor(t/864e5));oV.range;let oG=oS(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getHours());oG.range;let oY=oS(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours());oY.range;let oK=oS(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getMinutes());oK.range;let oZ=oS(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes());oZ.range;let oJ=oS(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds());oJ.range;let oQ=oS(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);function o0(t,e,r,n,o,i){let a=[[oJ,1,1e3],[oJ,5,5e3],[oJ,15,15e3],[oJ,30,3e4],[i,1,6e4],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,36e5],[o,3,108e5],[o,6,216e5],[o,12,432e5],[n,1,864e5],[n,2,1728e5],[r,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function u(e,r,n){let o=Math.abs(r-e)/n,i=rJ(([,,t])=>t).right(a,o);if(i===a.length)return t.every(rY(e/31536e6,r/31536e6,n));if(0===i)return oQ.every(Math.max(rY(e,r,n),1));let[u,c]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return u.every(c)}return[function(t,e,r){let n=e<t;n&&([t,e]=[e,t]);let o=r&&"function"==typeof r.range?r:u(t,e,r),i=o?o.range(t,+e+1):[];return n?i.reverse():i},u]}oQ.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?oS(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):oQ:null,oQ.range;let[o1,o2]=o0(oE,ok,oL,oV,oY,oZ),[o3,o5]=o0(oP,oA,o_,oX,oG,oK);function o8(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function o6(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function o7(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var o4={"-":"",_:" ",0:"0"},o9=/^\s*\d+/,it=/^%/,ie=/[\\^$*+?|[\]().{}]/g;function ir(t,e,r){var n=t<0?"-":"",o=(n?-t:t)+"",i=o.length;return n+(i<r?Array(r-i+1).join(e)+o:o)}function io(t){return t.replace(ie,"\\$&")}function ii(t){return RegExp("^(?:"+t.map(io).join("|")+")","i")}function ia(t){return new Map(t.map((t,e)=>[t.toLowerCase(),e]))}function iu(t,e,r){var n=o9.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function ic(t,e,r){var n=o9.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function il(t,e,r){var n=o9.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function is(t,e,r){var n=o9.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function ip(t,e,r){var n=o9.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function id(t,e,r){var n=o9.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function ih(t,e,r){var n=o9.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function iy(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function iv(t,e,r){var n=o9.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function im(t,e,r){var n=o9.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function ib(t,e,r){var n=o9.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function ig(t,e,r){var n=o9.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function ix(t,e,r){var n=o9.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function iO(t,e,r){var n=o9.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function iw(t,e,r){var n=o9.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function ij(t,e,r){var n=o9.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function iS(t,e,r){var n=o9.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function iP(t,e,r){var n=it.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function iE(t,e,r){var n=o9.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function iA(t,e,r){var n=o9.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function ik(t,e){return ir(t.getDate(),e,2)}function iM(t,e){return ir(t.getHours(),e,2)}function i_(t,e){return ir(t.getHours()%12||12,e,2)}function iT(t,e){return ir(1+oX.count(oP(t),t),e,3)}function iC(t,e){return ir(t.getMilliseconds(),e,3)}function iD(t,e){return iC(t,e)+"000"}function iI(t,e){return ir(t.getMonth()+1,e,2)}function iN(t,e){return ir(t.getMinutes(),e,2)}function iB(t,e){return ir(t.getSeconds(),e,2)}function iR(t){var e=t.getDay();return 0===e?7:e}function iL(t,e){return ir(o_.count(oP(t)-1,t),e,2)}function iz(t){var e=t.getDay();return e>=4||0===e?oI(t):oI.ceil(t)}function iU(t,e){return t=iz(t),ir(oI.count(oP(t),t)+(4===oP(t).getDay()),e,2)}function i$(t){return t.getDay()}function iF(t,e){return ir(oT.count(oP(t)-1,t),e,2)}function iq(t,e){return ir(t.getFullYear()%100,e,2)}function iW(t,e){return ir((t=iz(t)).getFullYear()%100,e,2)}function iX(t,e){return ir(t.getFullYear()%1e4,e,4)}function iH(t,e){var r=t.getDay();return ir((t=r>=4||0===r?oI(t):oI.ceil(t)).getFullYear()%1e4,e,4)}function iV(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+ir(e/60|0,"0",2)+ir(e%60,"0",2)}function iG(t,e){return ir(t.getUTCDate(),e,2)}function iY(t,e){return ir(t.getUTCHours(),e,2)}function iK(t,e){return ir(t.getUTCHours()%12||12,e,2)}function iZ(t,e){return ir(1+oH.count(oE(t),t),e,3)}function iJ(t,e){return ir(t.getUTCMilliseconds(),e,3)}function iQ(t,e){return iJ(t,e)+"000"}function i0(t,e){return ir(t.getUTCMonth()+1,e,2)}function i1(t,e){return ir(t.getUTCMinutes(),e,2)}function i2(t,e){return ir(t.getUTCSeconds(),e,2)}function i3(t){var e=t.getUTCDay();return 0===e?7:e}function i5(t,e){return ir(oL.count(oE(t)-1,t),e,2)}function i8(t){var e=t.getUTCDay();return e>=4||0===e?oF(t):oF.ceil(t)}function i6(t,e){return t=i8(t),ir(oF.count(oE(t),t)+(4===oE(t).getUTCDay()),e,2)}function i7(t){return t.getUTCDay()}function i4(t,e){return ir(oz.count(oE(t)-1,t),e,2)}function i9(t,e){return ir(t.getUTCFullYear()%100,e,2)}function at(t,e){return ir((t=i8(t)).getUTCFullYear()%100,e,2)}function ae(t,e){return ir(t.getUTCFullYear()%1e4,e,4)}function ar(t,e){var r=t.getUTCDay();return ir((t=r>=4||0===r?oF(t):oF.ceil(t)).getUTCFullYear()%1e4,e,4)}function an(){return"+0000"}function ao(){return"%"}function ai(t){return+t}function aa(t){return Math.floor(t/1e3)}function au(t){return new Date(t)}function ac(t){return t instanceof Date?+t:+new Date(+t)}function al(t,e,r,n,o,i,a,u,c,l){var s=nq(),f=s.invert,p=s.domain,d=l(".%L"),h=l(":%S"),y=l("%I:%M"),v=l("%I %p"),m=l("%a %d"),b=l("%b %d"),g=l("%B"),x=l("%Y");function O(t){return(c(t)<t?d:u(t)<t?h:a(t)<t?y:i(t)<t?v:n(t)<t?o(t)<t?m:b:r(t)<t?g:x)(t)}return s.invert=function(t){return new Date(f(t))},s.domain=function(t){return arguments.length?p(Array.from(t,ac)):p().map(au)},s.ticks=function(e){var r=p();return t(r[0],r[r.length-1],null==e?10:e)}
1,s.tickFormat=function(t,e){return null==e?O:l(e)},s.nice=function(t){var r=p();return t&&"function"==typeof t.range||(t=e(r[0],r[r.length-1],null==t?10:t)),t?p(n5(r,t)):s},s.copy=function(){return n$(s,al(t,e,r,n,o,i,a,u,c,l))},s}function as(){return rI.apply(al(o3,o5,oP,oA,o_,oX,oG,oK,oJ,c).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function af(){return rI.apply(al(o1,o2,oE,ok,oL,oH,oY,oZ,oJ,l).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function ap(){var t,e,r,n,o,i=0,a=1,u=nR,c=!1;function l(e){return null==e||isNaN(e*=1)?o:u(0===r?.5:(e=(n(e)-t)*r,c?Math.max(0,Math.min(1,e)):e))}function s(t){return function(e){var r,n;return arguments.length?([r,n]=e,u=t(r,n),l):[u(0),u(1)]}}return l.domain=function(o){return arguments.length?([i,a]=o,t=n(i*=1),e=n(a*=1),r=t===e?0:1/(e-t),l):[i,a]},l.clamp=function(t){return arguments.length?(c=!!t,l):c},l.interpolator=function(t){return arguments.length?(u=t,l):u},l.range=s(nD),l.rangeRound=s(nI),l.unknown=function(t){return arguments.length?(o=t,l):o},function(o){return n=o,t=o(i),e=o(a),r=t===e?0:1/(e-t),l}}function ad(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function ah(){var t=n1(ap()(nR));return t.copy=function(){return ad(t,ah())},rN.apply(t,arguments)}function ay(){var t=oe(ap()).domain([1,10]);return t.copy=function(){return ad(t,ay()).base(t.base())},rN.apply(t,arguments)}function av(){var t=oi(ap());return t.copy=function(){return ad(t,av()).constant(t.constant())},rN.apply(t,arguments)}function am(){var t=os(ap());return t.copy=function(){return ad(t,am()).exponent(t.exponent())},rN.apply(t,arguments)}function ab(){return am.apply(null,arguments).exponent(.5)}function ag(){var t=[],e=nR;function r(r){if(null!=r&&!isNaN(r*=1))return e((r2(t,r,1)-1)/(t.length-1))}return r.domain=function(e){if(!arguments.length)return t.slice();for(let r of(t=[],e))null==r||isNaN(r*=1)||t.push(r);return t.sort(rK),r},r.interpolator=function(t){return arguments.length?(e=t,r):e},r.range=function(){return t.map((r,n)=>e(n/(t.length-1)))},r.quantiles=function(e){return Array.from({length:e+1},(r,n)=>(function(t,e){if(!(!(r=(t=Float64Array.from(function*(t,e){if(void 0===e)for(let e of t)null!=e&&(e*=1)>=e&&(yield e);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(n*=1)>=n&&(yield n)}}(t,void 0))).length)||isNaN(e*=1))){if(e<=0||r<2)return ov(t);if(e>=1)return oy(t);var r,n=(r-1)*e,o=Math.floor(n),i=oy((function t(e,r,n=0,o=1/0,i){if(r=Math.floor(r),n=Math.floor(Math.max(0,n)),o=Math.floor(Math.min(e.length-1,o)),!(n<=r&&r<=o))return e;for(i=void 0===i?om:function(t=rK){if(t===rK)return om;if("function"!=typeof t)throw TypeError("compare is not a function");return(e,r)=>{let n=t(e,r);return n||0===n?n:(0===t(r,r))-(0===t(e,e))}}(i);o>n;){if(o-n>600){let a=o-n+1,u=r-n+1,c=Math.log(a),l=.5*Math.exp(2*c/3),s=.5*Math.sqrt(c*l*(a-l)/a)*(u-a/2<0?-1:1),f=Math.max(n,Math.floor(r-u*l/a+s)),p=Math.min(o,Math.floor(r+(a-u)*l/a+s));t(e,r,f,p,i)}let a=e[r],u=n,c=o;for(ob(e,n,r),i(e[o],a)>0&&ob(e,n,o);u<c;){for(ob(e,u,c),++u,--c;0>i(e[u],a);)++u;for(;i(e[c],a)>0;)--c}0===i(e[n],a)?ob(e,n,c):ob(e,++c,o),c<=r&&(n=c+1),r<=c&&(o=c-1)}return e})(t,o).subarray(0,o+1));return i+(ov(t.subarray(o+1))-i)*(n-o)}})(t,n/e))},r.copy=function(){return ag(e).domain(t)},rN.apply(r,arguments)}function ax(){var t,e,r,n,o,i,a,u=0,c=.5,l=1,s=1,f=nR,p=!1;function d(t){return isNaN(t*=1)?a:(t=.5+((t=+i(t))-e)*(s*t<s*e?n:o),f(p?Math.max(0,Math.min(1,t)):t))}function h(t){return function(e){var r,n,o;return arguments.length?([r,n,o]=e,f=function(t,e){void 0===e&&(e=t,t=nD);for(var r=0,n=e.length-1,o=e[0],i=Array(n<0?0:n);r<n;)i[r]=t(o,o=e[++r]);return function(t){var e=Math.max(0,Math.min(n-1,Math.floor(t*=n)));return i[e](t-e)}}(t,[r,n,o]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([u,c,l]=a,t=i(u*=1),e=i(c*=1),r=i(l*=1),n=t===e?0:.5/(e-t),o=e===r?0:.5/(r-e),s=e<t?-1:1,d):[u,c,l]},d.clamp=function(t){return arguments.length?(p=!!t,d):p},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=h(nD),d.rangeRound=h(nI),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return i=a,t=a(u),e=a(c),r=a(l),n=t===e?0:.5/(e-t),o=e===r?0:.5/(r-e),s=e<t?-1:1,d}}function aO(){var t=n1(ax()(nR));return t.copy=function(){return ad(t,aO())},rN.apply(t,arguments)}function aw(){var t=oe(ax()).domain([.1,1,10]);return t.copy=function(){return ad(t,aw()).base(t.base())},rN.apply(t,arguments)}function aj(){var t=oi(ax());return t.copy=function(){return ad(t,aj()).constant(t.constant())},rN.apply(t,arguments)}function aS(){var t=os(ax());return t.copy=function(){return ad(t,aS()).exponent(t.exponent())},rN.apply(t,arguments)}function aP(){return aS.apply(null,arguments).exponent(.5)}c=(u=function(t){var e=t.dateTime,r=t.date,n=t.time,o=t.periods,i=t.days,a=t.shortDays,u=t.months,c=t.shortMonths,l=ii(o),s=ia(o),f=ii(i),p=ia(i),d=ii(a),h=ia(a),y=ii(u),v=ia(u),m=ii(c),b=ia(c),g={a:function(t){return a[t.getDay()]},A:function(t){return i[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:ik,e:ik,f:iD,g:iW,G:iH,H:iM,I:i_,j:iT,L:iC,m:iI,M:iN,p:function(t){return o[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:ai,s:aa,S:iB,u:iR,U:iL,V:iU,w:i$,W:iF,x:null,X:null,y:iq,Y:iX,Z:iV,"%":ao},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return i[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:iG,e:iG,f:iQ,g:at,G:ar,H:iY,I:iK,j:iZ,L:iJ,m:i0,M:i1,p:function(t){return o[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:ai,s:aa,S:i2,u:i3,U:i5,V:i6,w:i7,W:i4,x:null,X:null,y:i9,Y:ae,Z:an,"%":ao},O={a:function(t,e,r){var n=d.exec(e.slice(r));return n?(t.w=h.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(t,e,r){var n=f.exec(e.slice(r));return n?(t.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(t,e,r){var n=m.exec(e.slice(r));return n?(t.m=b.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(t,e,r){var n=y.exec(e.slice(r));return n?(t.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(t,r,n){return S(t,e,r,n)},d:ib,e:ib,f:iS,g:ih,G:id,H:ix,I:ix,j:ig,L:ij,m:im,M:iO,p:function(t,e,r){var n=l.exec(e.slice(r));return n?(t.p=s.get(n[0].toLowerCase()),r+n[0].length):-1},q:iv,Q:iE,s:iA,S:iw,u:ic,U:il,V:is,w:iu,W:ip,x:function(t,e,n){return S(t,r,e,n)},X:function(t,e,r){return S(t,n,e,r)},y:ih,Y:id,Z:iy,"%":iP};function w(t,e){return function(r){var n,o,i,a=[],u=-1,c=0,l=t.length;for(r instanceof Date||(r=new Date(+r));++u<l;)37===t.charCodeAt(u)&&(a.push(t.slice(c,u)),null!=(o=o4[n=t.charAt(++u)])?n=t.charAt(++u):o="e"===n?" ":"0",(i=e[n])&&(n=i(r,o)),a.push(n),c=u+1);return a.push(t.slice(c,u)),a.join("")}}function j(t,e){return function(r){var n,o,i=o7(1900,void 0,1);if(S(i,t,r+="",0)!=r.length)return null;if("Q"in i)return new Date(i.Q);
1if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(!e||"Z"in i||(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(n=(o=(n=o6(o7(i.y,0,1))).getUTCDay())>4||0===o?oz.ceil(n):oz(n),n=oH.offset(n,(i.V-1)*7),i.y=n.getUTCFullYear(),i.m=n.getUTCMonth(),i.d=n.getUTCDate()+(i.w+6)%7):(n=(o=(n=o8(o7(i.y,0,1))).getDay())>4||0===o?oT.ceil(n):oT(n),n=oX.offset(n,(i.V-1)*7),i.y=n.getFullYear(),i.m=n.getMonth(),i.d=n.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:+("W"in i)),o="Z"in i?o6(o7(i.y,0,1)).getUTCDay():o8(o7(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,o6(i)):o8(i)}}function S(t,e,r,n){for(var o,i,a=0,u=e.length,c=r.length;a<u;){if(n>=c)return -1;if(37===(o=e.charCodeAt(a++))){if(!(i=O[(o=e.charAt(a++))in o4?e.charAt(a++):o])||(n=i(t,r,n))<0)return -1}else if(o!=r.charCodeAt(n++))return -1}return n}return g.x=w(r,g),g.X=w(n,g),g.c=w(e,g),x.x=w(r,x),x.X=w(n,x),x.c=w(e,x),{format:function(t){var e=w(t+="",g);return e.toString=function(){return t},e},parse:function(t){var e=j(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",x);return e.toString=function(){return t},e},utcParse:function(t){var e=j(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,u.parse,l=u.utcFormat,u.utcParse,t.s(["scaleBand",0,r$,"scaleDiverging",0,aO,"scaleDivergingLog",0,aw,"scaleDivergingPow",0,aS,"scaleDivergingSqrt",0,aP,"scaleDivergingSymlog",0,aj,"scaleIdentity",0,n3,"scaleImplicit",0,rz,"scaleLinear",0,n2,"scaleLog",0,or,"scaleOrdinal",0,rU,"scalePoint",0,rF,"scalePow",0,of,"scaleQuantile",0,og,"scaleQuantize",0,ox,"scaleRadial",0,oh,"scaleSequential",0,ah,"scaleSequentialLog",0,ay,"scaleSequentialPow",0,am,"scaleSequentialQuantile",0,ag,"scaleSequentialSqrt",0,ab,"scaleSequentialSymlog",0,av,"scaleSqrt",0,op,"scaleSymlog",0,oa,"scaleThreshold",0,oO,"scaleTime",0,as,"scaleUtc",0,af,"tickFormat",0,n0],429061),t.i(429061),t.s(["scaleBand",0,r$,"scaleDiverging",0,aO,"scaleDivergingLog",0,aw,"scaleDivergingPow",0,aS,"scaleDivergingSqrt",0,aP,"scaleDivergingSymlog",0,aj,"scaleIdentity",0,n3,"scaleImplicit",0,rz,"scaleLinear",0,n2,"scaleLog",0,or,"scaleOrdinal",0,rU,"scalePoint",0,rF,"scalePow",0,of,"scaleQuantile",0,og,"scaleQuantize",0,ox,"scaleRadial",0,oh,"scaleSequential",0,ah,"scaleSequentialLog",0,ay,"scaleSequentialPow",0,am,"scaleSequentialQuantile",0,ag,"scaleSequentialSqrt",0,ab,"scaleSequentialSymlog",0,av,"scaleSqrt",0,op,"scaleSymlog",0,oa,"scaleThreshold",0,oO,"scaleTime",0,as,"scaleUtc",0,af,"tickFormat",0,n0],979357);var aE=t.i(979357);function aA(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function ak(t){return function(){return t}}function aM(t,e){if((o=t.length)>1)for(var r,n,o,i=1,a=t[e[0]],u=a.length;i<o;++i)for(n=a,a=t[e[i]],r=0;r<u;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function a_(t){for(var e=t.length,r=Array(e);--e>=0;)r[e]=e;return r}function aT(t,e){return t[e]}function aC(t){let e=[];return e.key=t,e}Array.prototype.slice;var aD=t.i(86966),aI=t.i(37544),aN=t.i(633303),aB=t.i(232241),aR=t.i(831195),aL=t.i(651655);function az(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var aU=function(t){return t},a$={"@@functional/placeholder":!0},aF=function(t){return t===a$},aq=function(t){return function e(){return 0==arguments.length||1==arguments.length&&aF(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},aW=function(t){return function t(e,r){return 1===e?r:aq(function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];var a=o.filter(function(t){return t!==a$}).length;return a>=e?r.apply(void 0,o):t(e-a,aq(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=o.map(function(t){return aF(t)?e.shift():t});return r.apply(void 0,((function(t){if(Array.isArray(t))return az(t)}
1)(i)||function(t){if("u">typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(i)||function(t){if(t){if("string"==typeof t)return az(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return az(t,void 0)}}(i)||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(e))}))})}(t.length,t)},aX=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},aH=aW(function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map(function(t){return e[t]}).map(t)}),aV=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return aU;var n=e.reverse(),o=n[0],i=n.slice(1);return function(){return i.reduce(function(t,e){return e(t)},o.apply(void 0,arguments))}},aG=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},aY=function(t){var e=null,r=null;return function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return e&&o.every(function(t,r){return t===e[r]})?r:(e=o,r=t.apply(void 0,o))}};aW(function(t,e,r){var n=+t;return n+r*(e-n)}),aW(function(t,e,r){var n=e-t;return(r-t)/(n=n||1/0)}),aW(function(t,e,r){var n=e-t;return Math.max(0,Math.min(1,(r-t)/(n=n||1/0)))});let aK=function(t,e,r){for(var n=new aL.default(t),o=0,i=[];n.lt(e)&&o<1e5;)i.push(n.toNumber()),n=n.add(r),o++;return i},aZ=function(t){return 0===t?1:Math.floor(new aL.default(t).abs().log(10).toNumber())+1};function aJ(t){return function(t){if(Array.isArray(t))return a1(t)}(t)||function(t){if("u">typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||a0(t)||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 aQ(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("u">typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(n=(a=u.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==u.return||u.return()}finally{if(o)throw i}}return r}}(t,e)||a0(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.")}()}function a0(t,e){if(t){if("string"==typeof t)return a1(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a1(t,e)}}function a1(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function a2(t){var e=aQ(t,2),r=e[0],n=e[1],o=r,i=n;return r>n&&(o=n,i=r),[o,i]}function a3(t,e,r){if(t.lte(0))return new aL.default(0);var n=aZ(t.toNumber()),o=new aL.default(10).pow(n),i=t.div(o),a=1!==n?.05:.1,u=new aL.default(Math.ceil(i.div(a
1).toNumber())).add(r).mul(a).mul(o);return e?u:new aL.default(Math.ceil(u))}function a5(t,e,r){var n=1,o=new aL.default(t);if(!o.isint()&&r){var i=Math.abs(t);i<1?(n=new aL.default(10).pow(aZ(t)-1),o=new aL.default(Math.floor(o.div(n).toNumber())).mul(n)):i>1&&(o=new aL.default(Math.floor(t)))}else 0===t?o=new aL.default(Math.floor((e-1)/2)):r||(o=new aL.default(Math.floor(t)));var a=Math.floor((e-1)/2);return aV(aH(function(t){return o.add(new aL.default(t-a).mul(n)).toNumber()}),aX)(0,e)}var a8=aY(function(t){var e=aQ(t,2),r=e[0],n=e[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=Math.max(o,2),u=aQ(a2([r,n]),2),c=u[0],l=u[1];if(c===-1/0||l===1/0){var s=l===1/0?[c].concat(aJ(aX(0,o-1).map(function(){return 1/0}))):[].concat(aJ(aX(0,o-1).map(function(){return-1/0})),[l]);return r>n?aG(s):s}if(c===l)return a5(c,o,i);var f=function t(e,r,n,o){var i,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((r-e)/(n-1)))return{step:new aL.default(0),tickMin:new aL.default(0),tickMax:new aL.default(0)};var u=a3(new aL.default(r).sub(e).div(n-1),o,a),c=Math.ceil((i=e<=0&&r>=0?new aL.default(0):(i=new aL.default(e).add(r).div(2)).sub(new aL.default(i).mod(u))).sub(e).div(u).toNumber()),l=Math.ceil(new aL.default(r).sub(i).div(u).toNumber()),s=c+l+1;return s>n?t(e,r,n,o,a+1):(s<n&&(l=r>0?l+(n-s):l,c=r>0?c:c+(n-s)),{step:u,tickMin:i.sub(new aL.default(c).mul(u)),tickMax:i.add(new aL.default(l).mul(u))})}(c,l,a,i),p=f.step,d=aK(f.tickMin,f.tickMax.add(new aL.default(.1).mul(p)),p);return r>n?aG(d):d});aY(function(t){var e=aQ(t,2),r=e[0],n=e[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=Math.max(o,2),u=aQ(a2([r,n]),2),c=u[0],l=u[1];if(c===-1/0||l===1/0)return[r,n];if(c===l)return a5(c,o,i);var s=a3(new aL.default(l).sub(c).div(a-1),i,0),f=aV(aH(function(t){return new aL.default(c).add(new aL.default(t).mul(s)).toNumber()}),aX)(0,a).filter(function(t){return t>=c&&t<=l});return r>n?aG(f):f});var a6=aY(function(t,e){var r=aQ(t,2),n=r[0],o=r[1],i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=aQ(a2([n,o]),2),u=a[0],c=a[1];if(u===-1/0||c===1/0)return[n,o];if(u===c)return[u];var l=Math.max(e,2),s=a3(new aL.default(c).sub(u).div(l-1),i,0),f=[].concat(aJ(aK(new aL.default(u),new aL.default(c).sub(new aL.default(.99).mul(s)),s)),[c]);return n>o?aG(f):f}),a7=function(t,e){for(var r=arguments.length,n=Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o]},a4=["children","width","height","viewBox","className","style","title","desc"];function a9(){return(a9=Object.assign.bind()).apply(this,arguments)}function ut(t){var e=t.children,r=t.width,n=t.height,o=t.viewBox,i=t.className,a=t.style,u=t.title,c=t.desc,l=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,a4),p=o||{width:r,height:n,x:0,y:0},d=(0,f.default)("recharts-surface",i);return s.default.createElement("svg",a9({},e$(l,!0,"svg"),{className:d,width:r,height:n,style:a,viewBox:"".concat(p.x," ").concat(p.y," ").concat(p.width," ").concat(p.height)}),s.default.createElement("title",null,u),s.default.createElement("desc",null,c),e)}let ue=Math.PI,ur=2*ue,un=ur-1e-6;function uo(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}class ui{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?uo:function(t){let e=Math.floor(t);if(!(e>=0))throw Error(`invalid digits: ${t}`);if(e>15)return uo;let r=10**e;return function(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=Math.round(arguments[e]*r)/r+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,r,n){this._append`Q${+t},${+e},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(t,e,r,n,o,i){this._append`C${+t},${+e},${+r},${+n}
1,${this._x1=+o},${this._y1=+i}`}arcTo(t,e,r,n,o){if(t*=1,e*=1,r*=1,n*=1,(o*=1)<0)throw Error(`negative radius: ${o}`);let i=this._x1,a=this._y1,u=r-t,c=n-e,l=i-t,s=a-e,f=l*l+s*s;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(f>1e-6)if(Math.abs(s*u-c*l)>1e-6&&o){let p=r-i,d=n-a,h=u*u+c*c,y=Math.sqrt(h),v=Math.sqrt(f),m=o*Math.tan((ue-Math.acos((h+f-(p*p+d*d))/(2*y*v)))/2),b=m/v,g=m/y;Math.abs(b-1)>1e-6&&this._append`L${t+b*l},${e+b*s}`,this._append`A${o},${o},0,0,${+(s*p>l*d)},${this._x1=t+g*u},${this._y1=e+g*c}`}else this._append`L${this._x1=t},${this._y1=e}`}arc(t,e,r,n,o,i){if(t*=1,e*=1,r*=1,i=!!i,r<0)throw Error(`negative radius: ${r}`);let a=r*Math.cos(n),u=r*Math.sin(n),c=t+a,l=e+u,s=1^i,f=i?n-o:o-n;null===this._x1?this._append`M${c},${l}`:(Math.abs(this._x1-c)>1e-6||Math.abs(this._y1-l)>1e-6)&&this._append`L${c},${l}`,r&&(f<0&&(f=f%ur+ur),f>un?this._append`A${r},${r},0,1,${s},${t-a},${e-u}A${r},${r},0,1,${s},${this._x1=c},${this._y1=l}`:f>1e-6&&this._append`A${r},${r},0,${+(f>=ue)},${s},${this._x1=t+r*Math.cos(o)},${this._y1=e+r*Math.sin(o)}`)}rect(t,e,r,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${r*=1}v${+n}h${-r}Z`}toString(){return this._}}function ua(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{let t=Math.floor(r);if(!(t>=0))throw RangeError(`invalid digits: ${r}`);e=t}return t},()=>new ui(e)}ui.prototype;let uu=Math.cos,uc=Math.sin,ul=Math.sqrt,us=Math.PI,uf=2*us;ul(3);let up={draw(t,e){let r=ul(e/us);t.moveTo(r,0),t.arc(0,0,r,0,uf)}},ud=ul(1/3),uh=2*ud,uy=uc(us/10)/uc(7*us/10),uv=uc(uf/10)*uy,um=-uu(uf/10)*uy,ub=ul(3);ul(3);let ug=ul(3)/2,ux=1/ul(12),uO=(ux/2+1)*3;function uw(t){return(uw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var uj=["type","size","sizeType"];function uS(){return(uS=Object.assign.bind()).apply(this,arguments)}function uP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function uE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uP(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=uw(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=uw(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==uw(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uP(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var uA={symbolCircle:up,symbolCross:{draw(t,e){let r=ul(e/5)/2;t.moveTo(-3*r,-r),t.lineTo(-r,-r),t.lineTo(-r,-3*r),t.lineTo(r,-3*r),t.lineTo(r,-r),t.lineTo(3*r,-r),t.lineTo(3*r,r),t.lineTo(r,r),t.lineTo(r,3*r),t.lineTo(-r,3*r),t.lineTo(-r,r),t.lineTo(-3*r,r),t.closePath()}},symbolDiamond:{draw(t,e){let r=ul(e/uh),n=r*ud;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},symbolSquare:{draw(t,e){let r=ul(e),n=-r/2;t.rect(n,n,r,r)}},symbolStar:{draw(t,e){let r=ul(.8908130915292852*e),n=uv*r,o=um*r;t.moveTo(0,-r),t.lineTo(n,o);for(let e=1;e<5;++e){let i=uf*e/5,a=uu(i),u=uc(i);t.lineTo(u*r,-a*r),t.lineTo(a*n-u*o,u*n+a*o)}t.closePath()}},symbolTriangle:{draw(t,e){let r=-ul(e/(3*ub));t.moveTo(0,2*r),t.lineTo(-ub*r,-r),t.lineTo(ub*r,-r),t.closePath()}},symbolWye:{draw(t,e){let r=ul(e/uO),n=r/2,o=r*ux,i=r*ux+r,a=-n;t.moveTo(n,o),t.lineTo(n,i),t.lineTo(a,i),t.lineTo(-.5*n-ug*o,ug*n+-.5*o),t.lineTo(-.5*n-ug*i,ug*n+-.5*i),t.lineTo(-.5*a-ug*i,ug*a+-.5*i),t.lineTo(-.5*n+ug*o,-.5*o-ug*n),t.lineTo(-.5*n+ug*i,-.5*i-ug*n),t.lineTo(-.5*a+ug*i,-.5*i-ug*a),t.closePath()}}},uk=Math.PI/180,uM=function(t,e,r){if("area"===e)return t;switch(r){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var n=18*uk;return 1.25*t*t*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}},u_=function(t){var e,r=t.type,n=void 0===r?"circle":r,o=t.size,i=void 0===o?64:o,a=t.sizeType,u=void 0===a?"area":a,c=uE(uE({},function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,uj)),{},{type:n,size:i,sizeType:u}),l=c.className,p=c.cx,d=c.cy,h=e$(c,!0);return p===+p&&d===+d&&i===+i?s.default.createElement("path",uS({}
1,h,{className:(0,f.default)("recharts-symbols",l),transform:"translate(".concat(p,", ").concat(d,")"),d:(e=uA["symbol".concat((0,aB.default)(n))]||up,(function(t,e){let r=null,n=ua(o);function o(){let o;if(r||(r=o=n()),t.apply(this,arguments).draw(r,+e.apply(this,arguments)),o)return r=null,o+""||null}return t="function"==typeof t?t:ak(t||up),e="function"==typeof e?e:ak(void 0===e?64:+e),o.type=function(e){return arguments.length?(t="function"==typeof e?e:ak(e),o):t},o.size=function(t){return arguments.length?(e="function"==typeof t?t:ak(+t),o):e},o.context=function(t){return arguments.length?(r=null==t?null:t,o):r},o})().type(e).size(uM(i,u,n))())})):null};function uT(t){return(uT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function uC(){return(uC=Object.assign.bind()).apply(this,arguments)}function uD(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}u_.registerSymbol=function(t,e){uA["symbol".concat((0,aB.default)(t))]=e};function uI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uI=function(){return!!t})()}
1function uN(t){return(uN=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function uB(t,e){return(uB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function uR(t,e,r){return(e=uL(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function uL(t){var e=function(t,e){if("object"!=uT(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=uT(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==uT(e)?e:e+""}var uz=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=uN(t),function(t,e){if(e&&("object"===uT(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,uI()?Reflect.construct(t,e||[],uN(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&uB(r,t),e=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,r=32/6,n=32/3,o=t.inactive?e:t.color;if("plainline"===t.type)return s.default.createElement("line",{strokeWidth:4,fill:"none",stroke:o,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:16,x2:32,y2:16,className:"recharts-legend-icon"});if("line"===t.type)return s.default.createElement("path",{strokeWidth:4,fill:"none",stroke:o,d:"M0,".concat(16,"h").concat(n,"\n A").concat(r,",").concat(r,",0,1,1,").concat(2*n,",").concat(16,"\n H").concat(32,"M").concat(2*n,",").concat(16,"\n A").concat(r,",").concat(r,",0,1,1,").concat(n,",").concat(16),className:"recharts-legend-icon"});if("rect"===t.type)return s.default.createElement("path",{stroke:"none",fill:o,d:"M0,".concat(4,"h").concat(32,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(s.default.isValidElement(t.legendIcon)){var i=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uD(Object(r),!0).forEach(function(e){uR(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uD(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({},t);return delete i.legendIcon,s.default.cloneElement(t.legendIcon,i)}return s.default.createElement(u_,{fill:o,cx:16,cy:16,size:32,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,r=e.payload,n=e.iconSize,o=e.layout,i=e.formatter,a=e.inactiveColor,u={x:0,y:0,width:32,height:32},c={display:"horizontal"===o?"inline-block":"block",marginRight:10},l={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map(function(e,r){var o=e.formatter||i,p=(0,f.default)(uR(uR({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",e.inactive));if("none"===e.type)return null;var d=(0,ee.default)(e.value)?null:e.value;a7(!(0,ee.default)(e.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 h=e.inactive?a:e.color;return s.default.createElement("li",uC({className:p,style:c,key:"legend-item-".concat(r)},eE(t.props,e,r)),s.default.createElement(ut,{width:n,height:n,viewBox:u,style:l},t.renderIcon(e)),s.default.createElement("span",{className:"recharts-legend-item-text",style:{color:h}},o?o(d,e,r):d))})}},{key:"render",value:function(){var t=this.props,e=t.payload,r=t.layout,n=t.align;return e&&e.length?s.default.createElement("ul",{className:"recharts-default-legend",style:{padding:0,margin:0,textAlign:"horizontal"===r?n:"left"}},this.renderItems()):null}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,uL(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(s.PureComponent);uR(uz,"displayName","Legend"),uR(uz,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var uU=t.i(774010);function u$(t,e,r){return!0===e?(0,uU.default)(t,r):(0,ee.default)(e)?(0,uU.default)(t,e):t}function uF(t){return(uF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var uq=["ref"];function uW(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function uX(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?uW(Object(r),!0).forEach(function(e){uK(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uW(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function uH(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,uZ(n.key),n)}}function uV(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uV=function(){return!!t})()}function uG(t){return(uG=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function uY(t,e){return(uY=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function uK(t,e,r){return(e=uZ(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function uZ(t){var e=function(t,e){if("object"!=uF(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=uF(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==uF(e)?e:e+""}function uJ(t){return t.value}var uQ=function(t){var e,r;function n(){var t,e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=n,r=[].concat(i),e=uG(e),uK(t=function(t,e){if(e&&("object"===uF(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,uV()?Reflect.construct(e,r||[],uG(this).constructor):e.apply(this,r)),"lastBoundingBox",{width:-1,height:-1}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&uY(n,t),e=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();return t.height=this.wrapperNode.offsetHeight,t.width=this.wrapperNode.offsetWidth,t}return null}},{key:"updateBBox",value:function(){var t=this.props.onBBoxUpdate,e=this.getBBox();e?(Math.abs(e.width-this.lastBoundingBox.width)>1||Math.abs(e.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=e.width,this.lastBoundingBox.height=e.height,t&&t(e)):(-1!==this.lastBoundingBox.width||-1!==this.lastBoundingBox.height)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,t&&t(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?uX({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(t){var e,r,n=this.props,o=n.layout,i=n.align,a=n.verticalAlign,u=n.margin,c=n.chartWidth,l=n.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===i&&"vertical"===o?{left:((c||0)-this.getBBoxSnapshot().width)/2}:"right"===i?{right:u&&u.right||0}:{left:u&&u.left||0}),t&&(void 0!==t.top&&null!==t.top||void 0!==t.bottom&&null!==t.bottom)||(r="middle"===a?{top:((l||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:u&&u.bottom||0}:{top:u&&u.top||0}),uX(uX({},e),r)}},{key:"render",value:function(){var t=this,e=this.props,r=e.content,n=e.width,o=e.height,i=e.wrapperStyle,a=e.payloadUniqBy,u=e.payload,c=uX(uX({position:"absolute",width:n||"auto",height:o||"auto"},this.getDefaultPosition(i)),i);return s.default.createElement("div",{className:"recharts-legend-wrapper",style:c,ref:function(e){t.wrapperNode=e}},function(t,e){if(s.default.isValidElement(t))return s.default.cloneElement(t,e);if("function"==typeof t)return s.default.createElement(t,e);e.ref;var r=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(e,uq);return s.default.createElement(uz,r)}(r,uX(uX({},this.props),{},{payload:u$(u,a,uJ)})))}}],r=[{key:"getWithHeight",value:function(t,e){var r=uX(uX({},this.defaultProps),t.props).layout;return"vertical"===r&&ec(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}:null}}],e&&uH(n.prototype,e),r&&uH(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(s.PureComponent);function u0(t){return(u0="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u1(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function u2(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?u1(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=u0(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=u0(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==u0(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u1(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}uK(uQ,"displayName","Legend"),uK(uQ,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var u3=function(t){var e,r=t.children,n=t.formattedGraphicalItems,o=t.legendWidth,i=t.legendContent,a=eR(r,uQ);if(!a)return null;var u=uQ.defaultProps,c=void 0!==u?u2(u2({},u),a.props):{};return e=a.props&&a.props.payload?a.props&&a.props.payload:"children"===i?(n||[]).reduce(function(t,e){var r=e.item,n=e.props,o=n.sectors||n.data||[];return t.concat(o.map(function(t){return{type:a.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}}))},[]):(n||[]).map(function(t){var e=t.item,r=e.type.defaultProps,n=void 0!==r?u2(u2({},r),e.props):{},o=n.dataKey,i=n.name,a=n.legendType;return{inactive:n.hide,dataKey:o,type:c.iconType||a||"square",color:cn(e),value:i||o,payload:n}}),u2(u2(u2({},c),uQ.getWithHeight(a,o)),{},{payload:e,item:a})};function u5(t){return(u5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u8(t){return function(t){if(Array.isArray(t))return u6(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t){if(t){if("string"==typeof t)return u6(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return u6(t,void 0)}}(t)||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 u6(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function u7(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function u4(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u7(Object(r),!0).forEach(function(e){u9(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u7(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function u9(t,e,r){var n;return(n=function(t,e){if("object"!=u5(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=u5(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==u5(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ct(t,e,r){return(0,t4.default)(t)||(0,t4.default)(e)?r:es(e)?(0,t9.default)(t,e,r):(0,ee.default)(e)?e(t):r}function ce(t,e,r,n){var o=(0,aN.default)(t,function(t){return ct(t,e)});if("number"===r){var i=o.filter(function(t){return ec(t)||parseFloat(t)});return i.length?[(0,aI.default)(i),(0,aD.default)(i)]:[1/0,-1/0]}return(n?o.filter(function(t){return!(0,t4.default)(t)}):o).map(function(t){return es(t)||t instanceof Date?t:""})}var cr=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!=(e=null==r?void 0:r.length)?e:0;
1if(a<=1)return 0;if(o&&"angleAxis"===o.axisType&&1e-6>=Math.abs(Math.abs(o.range[1]-o.range[0])-360))for(var u=o.range,c=0;c<a;c++){var l=c>0?n[c-1].coordinate:n[a-1].coordinate,s=n[c].coordinate,f=c>=a-1?n[0].coordinate:n[c+1].coordinate,p=void 0;if(ea(s-l)!==ea(f-s)){var d=[];if(ea(f-s)===ea(u[1]-u[0])){p=f;var h=s+u[1]-u[0];d[0]=Math.min(h,(h+l)/2),d[1]=Math.max(h,(h+l)/2)}else{p=l;var y=f+u[1]-u[0];d[0]=Math.min(s,(y+s)/2),d[1]=Math.max(s,(y+s)/2)}var v=[Math.min(s,(p+s)/2),Math.max(s,(p+s)/2)];if(t>v[0]&&t<=v[1]||t>=d[0]&&t<=d[1]){i=n[c].index;break}}else{var m=Math.min(l,f),b=Math.max(l,f);if(t>(m+s)/2&&t<=(b+s)/2){i=n[c].index;break}}}else for(var g=0;g<a;g++)if(0===g&&t<=(r[g].coordinate+r[g+1].coordinate)/2||g>0&&g<a-1&&t>(r[g].coordinate+r[g-1].coordinate)/2&&t<=(r[g].coordinate+r[g+1].coordinate)/2||g===a-1&&t>(r[g].coordinate+r[g-1].coordinate)/2){i=r[g].index;break}return i},cn=function(t){var e,r,n=t.type.displayName,o=null!=(e=t.type)&&e.defaultProps?u4(u4({},t.type.defaultProps),t.props):t.props,i=o.stroke,a=o.fill;switch(n){case"Line":r=i;break;case"Area":case"Radar":r=i&&"none"!==i?i:a;break;default:r=a}return r},co=function(t){var e=t.barSize,r=t.totalSize,n=t.stackGroups,o=void 0===n?{}:n;if(!o)return{};for(var i={},a=Object.keys(o),u=0,c=a.length;u<c;u++)for(var l=o[a[u]].stackGroups,s=Object.keys(l),f=0,p=s.length;f<p;f++){var d=l[s[f]],h=d.items,y=d.cateAxisId,v=h.filter(function(t){return eC(t.type).indexOf("Bar")>=0});if(v&&v.length){var m=v[0].type.defaultProps,b=void 0!==m?u4(u4({},m),v[0].props):v[0].props,g=b.barSize,x=b[y];i[x]||(i[x]=[]);var O=(0,t4.default)(g)?e:g;i[x].push({item:v[0],stackList:v.slice(1),barSize:(0,t4.default)(O)?void 0:ed(O,r,0)})}}return i},ci=function(t){var e,r=t.barGap,n=t.barCategoryGap,o=t.bandSize,i=t.sizeList,a=void 0===i?[]:i,u=t.maxBarSize,c=a.length;if(c<1)return null;var l=ed(r,o,0,!0),s=[];if(a[0].barSize===+a[0].barSize){var f=!1,p=o/c,d=a.reduce(function(t,e){return t+e.barSize||0},0);(d+=(c-1)*l)>=o&&(d-=(c-1)*l,l=0),d>=o&&p>0&&(f=!0,p*=.9,d=c*p);var h={offset:((o-d)/2|0)-l,size:0};e=a.reduce(function(t,e){var r={item:e.item,position:{offset:h.offset+h.size+l,size:f?p:e.barSize}},n=[].concat(u8(t),[r]);return h=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:h})}),n},s)}else{var y=ed(n,o,0,!0);o-2*y-(c-1)*l<=0&&(l=0);var v=(o-2*y-(c-1)*l)/c;v>1&&(v>>=0);var m=u===+u?Math.min(v,u):v;e=a.reduce(function(t,e,r){var n=[].concat(u8(t),[{item:e.item,position:{offset:y+(v+l)*r+(v-m)/2,size:m}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:n[n.length-1].position})}),n},s)}return e},ca=function(t,e,r,n){var o=r.children,i=r.width,a=r.margin,u=u3({children:o,legendWidth:i-(a.left||0)-(a.right||0)});if(u){var c=n||{},l=c.width,s=c.height,f=u.align,p=u.verticalAlign,d=u.layout;if(("vertical"===d||"horizontal"===d&&"middle"===p)&&"center"!==f&&ec(t[f]))return u4(u4({},t),{},u9({},f,t[f]+(l||0)));if(("horizontal"===d||"vertical"===d&&"center"===f)&&"middle"!==p&&ec(t[p]))return u4(u4({},t),{},u9({},p,t[p]+(s||0)))}return t},cu=function(t,e,r,n,o){var i=eB(e.props.children,e6).filter(function(t){var e;return e=t.props.direction,!!(0,t4.default)(o)||("horizontal"===n?"yAxis"===o:"vertical"===n||"x"===e?"xAxis"===o:"y"!==e||"yAxis"===o)});if(i&&i.length){var a=i.map(function(t){return t.props.dataKey});return t.reduce(function(t,e){var n=ct(e,r);if((0,t4.default)(n))return t;var o=Array.isArray(n)?[(0,aI.default)(n),(0,aD.default)(n)]:[n,n],i=a.reduce(function(t,r){var n=ct(e,r,0),i=o[0]-Math.abs(Array.isArray(n)?n[0]:n),a=o[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(i,t[0]),Math.max(a,t[1])]},[1/0,-1/0]);return[Math.min(i[0],t[0]),Math.max(i[1],t[1])]},[1/0,-1/0])}return null},cc=function(t,e,r,n,o){var i=e.map(function(e){return cu(t,e,r,o,n)}).filter(function(t){return!(0,t4.default)(t)});return i&&i.length?i.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]):null},cl=function(t,e,r,n,o){var i=e.map(function(e){var i=e.props.dataKey;return"number"===r&&i&&cu(t,e,i,n)||ce(t,i,r,o)});if("number"===r)return i.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]);var a={};return i.reduce(function(t,e){for(var r=0,n=e.length;r<n;r++)a[e[r]]||(a[e[r]]=!0,t.push(e[r]));return t},[])},cs=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e}
1,cf=function(t,e,r,n){if(n)return t.map(function(t){return t.coordinate});var o,i,a=t.map(function(t){return t.coordinate===e&&(o=!0),t.coordinate===r&&(i=!0),t.coordinate});return o||a.push(e),i||a.push(r),a},cp=function(t,e,r){if(!t)return null;var n=t.scale,o=t.duplicateDomain,i=t.type,a=t.range,u="scaleBand"===t.realScaleType?n.bandwidth()/2:2,c=(e||r)&&"category"===i&&n.bandwidth?n.bandwidth()/u:0;return(c="angleAxis"===t.axisType&&(null==a?void 0:a.length)>=2?2*ea(a[0]-a[1])*c:c,e&&(t.ticks||t.niceTicks))?(t.ticks||t.niceTicks).map(function(t){return{coordinate:n(o?o.indexOf(t):t)+c,value:t,offset:c}}).filter(function(t){return!(0,eo.default)(t.coordinate)}):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(t,e){return{coordinate:n(t)+c,value:t,index:e,offset:c}}):n.ticks&&!r?n.ticks(t.tickCount).map(function(t){return{coordinate:n(t)+c,value:t,offset:c}}):n.domain().map(function(t,e){return{coordinate:n(t)+c,value:o?o[t]:t,index:e,offset:c}})},cd=new WeakMap,ch=function(t,e){if("function"!=typeof e)return t;cd.has(t)||cd.set(t,new WeakMap);var r=cd.get(t);if(r.has(e))return r.get(e);var n=function(){t.apply(void 0,arguments),e.apply(void 0,arguments)};return r.set(e,n),n},cy=function(t,e,r){var n=t.scale,o=t.type,i=t.layout,a=t.axisType;if("auto"===n)return"radial"===i&&"radiusAxis"===a?{scale:aE.scaleBand(),realScaleType:"band"}:"radial"===i&&"angleAxis"===a?{scale:aE.scaleLinear(),realScaleType:"linear"}:"category"===o&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>
1=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:aE.scalePoint(),realScaleType:"point"}:"category"===o?{scale:aE.scaleBand(),realScaleType:"band"}:{scale:aE.scaleLinear(),realScaleType:"linear"};if((0,et.default)(n)){var u="scale".concat((0,aB.default)(n));return{scale:(aE[u]||aE.scalePoint)(),realScaleType:aE[u]?u:"point"}}return(0,ee.default)(n)?{scale:n}:{scale:aE.scalePoint(),realScaleType:"point"}},cv=function(t){var e=t.domain();if(e&&!(e.length<=2)){var r=e.length,n=t.range(),o=Math.min(n[0],n[1])-1e-4,i=Math.max(n[0],n[1])+1e-4,a=t(e[0]),u=t(e[r-1]);(a<o||a>i||u<o||u>i)&&t.domain([e[0],e[r-1]])}},cm=function(t,e){if(!t)return null;for(var r=0,n=t.length;r<n;r++)if(t[r].item===e)return t[r].position;return null},cb=function(t,e){if(!e||2!==e.length||!ec(e[0])||!ec(e[1]))return t;var r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]),o=[t[0],t[1]];return(!ec(t[0])||t[0]<r)&&(o[0]=r),(!ec(t[1])||t[1]>n)&&(o[1]=n),o[0]>n&&(o[0]=n),o[1]<r&&(o[1]=r),o},cg={sign:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var o=0,i=0,a=0;a<e;++a){var u=(0,eo.default)(t[a][r][1])?t[a][r][0]:t[a][r][1];u>=0?(t[a][r][0]=o,t[a][r][1]=o+u,o=t[a][r][1]):(t[a][r][0]=i,t[a][r][1]=i+u,i=t[a][r][1])}},expand:function(t,e){if((n=t.length)>0){for(var r,n,o,i=0,a=t[0].length;i<a;++i){for(o=r=0;r<n;++r)o+=t[r][i][1]||0;if(o)for(r=0;r<n;++r)t[r][i][1]/=o}aM(t,e)}},none:aM,silhouette:function(t,e){if((r=t.length)>0){for(var r,n=0,o=t[e[0]],i=o.length;n<i;++n){for(var a=0,u=0;a<r;++a)u+=t[a][n][1]||0;o[n][1]+=o[n][0]=-u/2}aM(t,e)}},wiggle:function(t,e){if((o=t.length)>0&&(n=(r=t[e[0]]).length)>0){for(var r,n,o,i=0,a=1;a<n;++a){for(var u=0,c=0,l=0;u<o;++u){for(var s=t[e[u]],f=s[a][1]||0,p=(f-(s[a-1][1]||0))/2,d=0;d<u;++d){var h=t[e[d]];p+=(h[a][1]||0)-(h[a-1][1]||0)}c+=f,l+=p*f}r[a-1][1]+=r[a-1][0]=i,c&&(i-=l/c)}r[a-1][1]+=r[a-1][0]=i,aM(t,e)}},positive:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var o=0,i=0;i<e;++i){var a=(0,eo.default)(t[i][r][1])?t[i][r][0]:t[i][r][1];a>=0?(t[i][r][0]=o,t[i][r][1]=o+a,o=t[i][r][1]):(t[i][r][0]=0,t[i][r][1]=0)}}},cx=function(t,e,r){var n=e.map(function(t){return t.props.dataKey}),o=cg[r];return(function(){var t=ak([]),e=a_,r=aM,n=aT;function o(o){var i,a,u=Array.from(t.apply(this,arguments),aC),c=u.length,l=-1;for(let t of o)for(i=0,++l;i<c;++i)(u[i][l]=[0,+n(t,u[i].key,l,o)]).data=t;for(i=0,a=aA(e(u));i<c;++i)u[a[i]].index=i;return r(u,a),u}return o.keys=function(e){return arguments.length?(t="function"==typeof e?e:ak(Array.from(e)),o):t},o.value=function(t){return arguments.length?(n="function"==typeof t?t:ak(+t),o):n},o.order=function(t){return arguments.length?(e=null==t?a_:"function"==typeof t?t:ak(Array.from(t)),o):e},o.offset=function(t){return arguments.length?(r=null==t?aM:t,o):r},o})().keys(n).value(function(t,e){return+ct(t,e,0)}).order(a_).offset(o)(t)},cO=function(t,e,r,n,o,i){if(!t)return null;var a=(i?e.reverse():e).reduce(function(t,e){var o,i=null!=(o=e.type)&&o.defaultProps?u4(u4({},e.type.defaultProps),e.props):e.props,a=i.stackId;if(i.hide)return t;var u=i[r],c=t[u]||{hasStack:!1,stackGroups:{}};if(es(a)){var l=c.stackGroups[a]||{numericAxisId:r,cateAxisId:n,items:[]};l.items.push(e),c.hasStack=!0,c.stackGroups[a]=l}else c.stackGroups[ep("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return u4(u4({},t),{},u9({},u,c))},{});return Object.keys(a).reduce(function(e,i){var u=a[i];return u.hasStack&&(u.stackGroups=Object.keys(u.stackGroups).reduce(function(e,i){var a=u.stackGroups[i];return u4(u4({},e),{},u9({},i,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:cx(t,a.items,o)}))},{})),u4(u4({},e),{},u9({},i,u))},{})},cw=function(t,e){var r=e.realScaleType,n=e.type,o=e.tickCount,i=e.originalDomain,a=e.allowDecimals,u=r||e.scale;if("auto"!==u&&"linear"!==u)return null;if(o&&"number"===n&&i&&("auto"===i[0]||"auto"===i[1])){var c=t.domain();if(!c.length)return null;var l=a8(c,o,a);return t.domain([(0,aI.default)(l),(0,aD.default)(l)]),{niceTicks:l}}return o&&"number"===n?{niceTicks:a6(t.domain(),o,a)}:null};function cj(t){var e=t.axis,r=t.ticks,n=t.bandSize,o=t.entry,i=t.index,a=t.dataKey;if("category"===e.type){if(!e.allowDuplicatedCategory&&e.dataKey&&!(0,t4.default)(o[e.dataKey])){var u=em(r,"value",o[e.dataKey]);if(u)return u.coordinate+n/2}return r[i]?r[i].coordinate+n/2:null}var c=ct(o,(0,t4.default)(a)?e.dataKey:a);return(0,t4.default)(c)?null:e.scale(c)}var cS=function(t){var e=t.axis,r=t.ticks,n=t.offset,o=t.bandSize,i=t.entry,a=t.index;if("category"===e.type)return r[a]?r[a].coordinate+n:null;var u=ct(i,e.dataKey,e.domain[a]);return(0,t4.default)(u)?null:e.scale(u)-o/2+n},cP=function(t){var e=t.numericAxis,r=e.scale.domain();if("number"===e.type){var n=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);return n<=0&&o>=0?0:o<0?o:n}return r[0]},cE=function(t,e){var r,n=(null!=(r=t.type)&&r.defaultProps?u4(u4({},t.type.defaultProps),t.props):t.props).stackId;if(es(n)){var o=e[n];if(o){var i=o.items.indexOf(t);return i>=0?o.stackedData[i]:null}}return null},cA=function(t,e,r){return Object.keys(t).reduce(function(n,o){var i=t[o].stackedData.reduce(function(t,n){var o=n.slice(e,r+1).reduce(function(t,e){return[(0,aI.default)(e.concat([t[0]]).filter(ec)),(0,aD.default)(e.concat([t[1]]).filter(ec))]},[1/0,-1/0]);return[Math.min(t[0],o[0]),Math.max(t[1],o[1])]},[1/0,-1/0]);return[Math.min(i[0],n[0]),Math.max(i[1],n[1])]},[1/0,-1/0]).map(function(t){return t===1/0||t===-1/0?0:t})},ck=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,cM=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,c_=function(t,e,r){if((0,ee.default)(t))return t(e,r);if(!Array.isArray(t))return e;var n=[];if(ec(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(ck.test(t[0])){var o=+ck.exec(t[0])[1];n[0]=e[0]-o}else(0,ee.default)(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if(ec(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(cM.test(t[1])){var i=+cM.exec(t[1])[1];n[1]=e[1]+i}else(0,ee.default)(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},cT=function(t,e,r){if(t&&t.scale&&t.scale.bandwidth){var n=t.scale.bandwidth();if(!r||n>0)return n}if(t&&e&&e.length>=2){for(var o=(0,aR.default)(e,function(t){return t.coordinate}),i=1/0,a=1,u=o.length;a<u;a++){var c=o[a],l=o[a-1];i=Math.min((c.coordinate||0)-(l.coordinate||0),i)}return i===1/0?0:i}return r?void 0:0},cC=function(t,e,r){return!t||!t.length||(0,t7.default)(t,(0,t9.default)(r,"type.defaultProps.domain"))?e:t},cD=function(t,e){var r=t.type.defaultProps?u4(u4({}
1,t.type.defaultProps),t.props):t.props,n=r.dataKey,o=r.name,i=r.unit,a=r.formatter,u=r.tooltipType,c=r.chartType,l=r.hide;return u4(u4({},e$(t,!1)),{},{dataKey:n,unit:i,formatter:a,name:o||n,color:cn(t),value:ct(e,n),type:u,payload:e,chartType:c,hide:l})};function cI(t){return(cI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function cN(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function cB(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?cN(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=cI(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=cI(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==cI(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cN(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var cR=Math.PI/180,cL=function(t,e,r,n){return{x:t+Math.cos(-cR*n)*r,y:e+Math.sin(-cR*n)*r}},cz=function(t,e){var r=t.x,n=t.y;
1return Math.sqrt(Math.pow(r-e.x,2)+Math.pow(n-e.y,2))},cU=function(t,e){var r=t.x,n=t.y,o=e.cx,i=e.cy,a=cz({x:r,y:n},{x:o,y:i});if(a<=0)return{radius:a};var u=Math.acos((r-o)/a);return n>i&&(u=2*Math.PI-u),{radius:a,angle:180*u/Math.PI,angleInRadian:u}},c$=function(t){var e=t.startAngle,r=t.endAngle,n=Math.min(Math.floor(e/360),Math.floor(r/360));return{startAngle:e-360*n,endAngle:r-360*n}},cF=function(t,e){var r,n=cU({x:t.x,y:t.y},e),o=n.radius,i=n.angle,a=e.innerRadius,u=e.outerRadius;if(o<a||o>u)return!1;if(0===o)return!0;var c=c$(e),l=c.startAngle,s=c.endAngle,f=i;if(l<=s){for(;f>s;)f-=360;for(;f<l;)f+=360;r=f>=l&&f<=s}else{for(;f>l;)f-=360;for(;f<s;)f+=360;r=f>=s&&f<=l}return r?cB(cB({},e),{},{radius:o,angle:f+360*Math.min(Math.floor(e.startAngle/360),Math.floor(e.endAngle/360))}):null};function cq(t){return(cq="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var cW=["offset"];function cX(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function cH(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function cV(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?cH(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=cq(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=cq(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==cq(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cH(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function cG(){return(cG=Object.assign.bind()).apply(this,arguments)}var cY=function(t){var e=t.value,r=t.formatter,n=(0,t4.default)(t.children)?e:t.children;return(0,ee.default)(r)?r(n):n},cK=function(t,e,r){var n,o,i=t.position,a=t.viewBox,u=t.offset,c=t.className,l=a.cx,p=a.cy,d=a.innerRadius,h=a.outerRadius,y=a.startAngle,v=a.endAngle,m=a.clockWise,b=(d+h)/2,g=ea(v-y)*Math.min(Math.abs(v-y),360),x=g>=0?1:-1;"insideStart"===i?(n=y+x*u,o=m):"insideEnd"===i?(n=v-x*u,o=!m):"end"===i&&(n=v+x*u,o=m),o=g<=0?o:!o;var O=cL(l,p,b,n),w=cL(l,p,b,n+(o?1:-1)*359),j="M".concat(O.x,",").concat(O.y,"\n A").concat(b,",").concat(b,",0,1,").concat(+!o,",\n ").concat(w.x,",").concat(w.y),S=(0,t4.default)(t.id)?ep("recharts-radial-line-"):t.id;return s.default.createElement("text",cG({},r,{dominantBaseline:"central",className:(0,f.default)("recharts-radial-bar-label",c)}),s.default.createElement("defs",null,s.default.createElement("path",{id:S,d:j})),s.default.createElement("textPath",{xlinkHref:"#".concat(S)},e))},cZ=function(t){var e=t.viewBox,r=t.offset,n=t.position,o=e.cx,i=e.cy,a=e.innerRadius,u=e.outerRadius,c=(e.startAngle+e.endAngle)/2;if("outside"===n){var l=cL(o,i,u+r,c),s=l.x;return{x:s,y:l.y,textAnchor:s>=o?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"end"};var f=cL(o,i,(a+u)/2,c);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}},cJ=function(t){var e=t.viewBox,r=t.parentViewBox,n=t.offset,o=t.position,i=e.x,a=e.y,u=e.width,c=e.height,l=c>=0?1:-1,s=l*n,f=l>0?"end":"start",p=l>0?"start":"end",d=u>=0?1:-1,h=d*n,y=d>0?"end":"start",v=d>0?"start":"end";if("top"===o)return cV(cV({},{x:i+u/2,y:a-l*n,textAnchor:"middle",verticalAnchor:f}),r?{height:Math.max(a-r.y,0),width:u}:{});if("bottom"===o)return cV(cV({},{x:i+u/2,y:a+c+s,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(r.y+r.height-(a+c),0),width:u}:{});if("left"===o){var m={x:i-h,y:a+c/2,textAnchor:y,verticalAnchor:"middle"};return cV(cV({},m),r?{width:Math.max(m.x-r.x,0),height:c}:{})}if("right"===o){var b={x:i+u+h,y:a+c/2,textAnchor:v,verticalAnchor:"middle"};return cV(cV({},b),r?{width:Math.max(r.x+r.width-b.x,0),height:c}:{})}var g=r?{width:u,height:c}:{};return"insideLeft"===o?cV({x:i+h,y:a+c/2,textAnchor:v,verticalAnchor:"middle"},g):"insideRight"===o?cV({x:i+u-h,y:a+c/2,textAnchor:y,verticalAnchor:"middle"},g):"insideTop"===o?cV({x:i+u/2,y:a+s,textAnchor:"middle",verticalAnchor:p},g):"insideBottom"===o?cV({x:i+u/2,y:a+c-s,textAnchor:"middle",verticalAnchor:f},g):"insideTopLeft"===o?cV({x:i+h,y:a+s,textAnchor:v,verticalAnchor:p},g):"insideTopRight"===o?cV({x:i+u-h,y:a+s,textAnchor:y,verticalAnchor:p},g):"insideBottomLeft"===o?cV({x:i+h,y:a+c-s,textAnchor:v,verticalAnchor:f},g):"insideBottomRight"===o?cV({x:i+u-h,y:a+c-s,textAnchor:y,verticalAnchor:f},g):(0,er.default)(o)&&(ec(o.x)||eu(o.x))&&(ec(o.y)||eu(o.y))?cV({x:i+ed(o.x,u),y:a+ed(o.y,c),textAnchor:"end",verticalAnchor:"end"},g):cV({x:i+u/2,y:a+c/2,textAnchor:"middle",verticalAnchor:"middle"},g)};function cQ(t){var e,r=t.offset,n=cV({offset:void 0===r?5:r},function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,cW)),o=n.viewBox,i=n.position,a=n.value,u=n.children,c=n.content,l=n.className,p=n.textBreakAll;if(!o||(0,t4.default)(a)&&(0,t4.default)(u)&&!(0,s.isValidElement)(c)&&!(0,ee.default)(c))return null;if((0,s.isValidElement)(c))return(0,s.cloneElement)(c,n);
1if((0,ee.default)(c)){if(e=(0,s.createElement)(c,n),(0,s.isValidElement)(e))return e}else e=cY(n);var d="cx"in o&&ec(o.cx),h=e$(n,!0);if(d&&("insideStart"===i||"insideEnd"===i||"end"===i))return cK(n,e,h);var y=d?cZ(n):cJ(n);return s.default.createElement(rD,cG({className:(0,f.default)("recharts-label",void 0===l?"":l)},h,y,{breakAll:p}),e)}cQ.displayName="Label";var c0=function(t){var e=t.cx,r=t.cy,n=t.angle,o=t.startAngle,i=t.endAngle,a=t.r,u=t.radius,c=t.innerRadius,l=t.outerRadius,s=t.x,f=t.y,p=t.top,d=t.left,h=t.width,y=t.height,v=t.clockWise,m=t.labelViewBox;if(m)return m;if(ec(h)&&ec(y)){if(ec(s)&&ec(f))return{x:s,y:f,width:h,height:y};if(ec(p)&&ec(d))return{x:p,y:d,width:h,height:y}}return ec(s)&&ec(f)?{x:s,y:f,width:0,height:0}:ec(e)&&ec(r)?{cx:e,cy:r,startAngle:o||n||0,endAngle:i||n||0,innerRadius:c||0,outerRadius:l||u||a||0,clockWise:v}:t.viewBox?t.viewBox:{}};function c1(t){return(c1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}cQ.parseViewBox=c0,cQ.renderCallByParent=function(t,e){var r,n,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&o&&!t.label)return null;var i=t.children,a=c0(t),u=eB(i,cQ).map(function(t,r){return(0,s.cloneElement)(t,{viewBox:e||a,key:"label-".concat(r)})});if(!o)return u;return[(r=t.label,n=e||a,!r?null:!0===r?s.default.createElement(cQ,{key:"label-implicit",viewBox:n}):es(r)?s.default.createElement(cQ,{key:"label-implicit",viewBox:n,value:r}):(0,s.isValidElement)(r)?r.type===cQ?(0,s.cloneElement)(r,{key:"label-implicit",viewBox:n}):s.default.createElement(cQ,{key:"label-implicit",content:r,viewBox:n}):(0,ee.default)(r)?s.default.createElement(cQ,{key:"label-implicit",content:r,viewBox:n}):(0,er.default)(r)?s.default.createElement(cQ,cG({viewBox:n},r,{key:"label-implicit"})):null)].concat(function(t){if(Array.isArray(t))return cX(t)}(u)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(u)||function(t){if(t){if("string"==typeof t)return cX(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return cX(t,void 0)}}(u)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())};var c2=["valueAccessor"],c3=["data","dataKey","clockWise","id","textBreakAll"];function c5(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function c8(){return(c8=Object.assign.bind()).apply(this,arguments)}function c6(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function c7(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c6(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=c1(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=c1(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c1(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c6(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function c4(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var c9=function(t){return Array.isArray(t.value)?(0,e4.default)(t.value):t.value};function lt(t){var e=t.valueAccessor,r=void 0===e?c9:e,n=c4(t,c2),o=n.data,i=n.dataKey,a=n.clockWise,u=n.id,c=n.textBreakAll,l=c4(n,c3);return o&&o.length?s.default.createElement(eY,{className:"recharts-label-list"},o.map(function(t,e){var n=(0,t4.default)(i)?r(t,e):ct(t&&t.payload,i),o=(0,t4.default)(u)?{}:{id:"".concat(u,"-").concat(e)};return s.default.createElement(cQ,c8({},e$(t,!0),l,o,{parentViewBox:t.parentViewBox,value:n,textBreakAll:c,viewBox:cQ.parseViewBox((0,t4.default)(a)?t:c7(c7({},t),{},{clockWise:a}
1)),key:"label-".concat(e),index:e}))})):null}lt.displayName="LabelList",lt.renderCallByParent=function(t,e){var r,n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&n&&!t.label)return null;var o=eB(t.children,lt).map(function(t,r){return(0,s.cloneElement)(t,{data:e,key:"labelList-".concat(r)})});return n?[(r=t.label,!r?null:!0===r?s.default.createElement(lt,{key:"labelList-implicit",data:e}):s.default.isValidElement(r)||(0,ee.default)(r)?s.default.createElement(lt,{key:"labelList-implicit",data:e,content:r}):(0,er.default)(r)?s.default.createElement(lt,c8({data:e},r,{key:"labelList-implicit"})):null)].concat(function(t){if(Array.isArray(t))return c5(t)}(o)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(o)||function(t){if(t){if("string"==typeof t)return c5(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return c5(t,void 0)}}(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.")}()):o},t.s(["LabelList",0,lt],969212);var le=t.i(101320),lr=t.i(20164);function ln(t){return(ln="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function lo(){return(lo=Object.assign.bind()).apply(this,arguments)}function li(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function la(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function lu(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?la(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=ln(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ln(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ln(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):la(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var lc=function(t,e,r,n,o){var i,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),u=n>=0?1:-1,c=r>=0?1:-1,l=+(n>=0&&r>=0||n<0&&r<0);if(a>0&&o instanceof Array){for(var s=[0,0,0,0],f=0;f<4;f++)s[f]=o[f]>a?a:o[f];i="M".concat(t,",").concat(e+u*s[0]),s[0]>0&&(i+="A ".concat(s[0],",").concat(s[0],",0,0,").concat(l,",").concat(t+c*s[0],",").concat(e)),i+="L ".concat(t+r-c*s[1],",").concat(e),s[1]>0&&(i+="A ".concat(s[1],",").concat(s[1],",0,0,").concat(l,",\n ").concat(t+r,",").concat(e+u*s[1])),i+="L ".concat(t+r,",").concat(e+n-u*s[2]),s[2]>0&&(i+="A ".concat(s[2],",").concat(s[2],",0,0,").concat(l,",\n ").concat(t+r-c*s[2],",").concat(e+n)),i+="L ".concat(t+c*s[3],",").concat(e+n),s[3]>0&&(i+="A ".concat(s[3],",").concat(s[3],",0,0,").concat(l,",\n ").concat(t,",").concat(e+n-u*s[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var p=Math.min(a,o);i="M ".concat(t,",").concat(e+u*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+c*p,",").concat(e,"\n L ").concat(t+r-c*p,",").concat(e,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+r,",").concat(e+u*p,"\n L ").concat(t+r,",").concat(e+n-u*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+r-c*p,",").concat(e+n,"\n L ").concat(t+c*p,",").concat(e+n,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t,",").concat(e+n-u*p," Z")}else i="M ".concat(t,",").concat(e," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return i},ll=function(t,e){if(!t||!e)return!1;var r=t.x,n=t.y,o=e.x,i=e.y,a=e.width,u=e.height;if(Math.abs(a)>0&&Math.abs(u)>0){var c=Math.min(o,o+a),l=Math.max(o,o+a),s=Math.min(i,i+u),f=Math.max(i,i+u);return r>=c&&r<=l&&n>=s&&n<=f}return!1},ls={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},lf=function(t){var e,r=lu(lu({},ls),t),n=(0,s.useRef)(),o=function(t){if(Array.isArray(t))return t}
1(e=(0,s.useState)(-1))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,o,i,a=[],u=!0,c=!1;try{o=(e=e.call(t)).next,!1;for(;!(u=(r=o.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){c=!0,n=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw n}}return a}}(e)||function(t){if(t){if("string"==typeof t)return li(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return li(t,2)}}(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[1];(0,s.useEffect)(function(){if(n.current&&n.current.getTotalLength)try{var t=n.current.getTotalLength();t&&a(t)}catch(t){}},[]);var u=r.x,c=r.y,l=r.width,p=r.height,d=r.radius,h=r.className,y=r.animationEasing,v=r.animationDuration,m=r.animationBegin,b=r.isAnimationActive,g=r.isUpdateAnimationActive;if(u!==+u||c!==+c||l!==+l||p!==+p||0===l||0===p)return null;var x=(0,f.default)("recharts-rectangle",h);return g?s.default.createElement(t_,{canBegin:i>0,from:{width:l,height:p,x:u,y:c},to:{width:l,height:p,x:u,y:c},duration:v,animationEasing:y,isActive:g},function(t){var e=t.width,o=t.height,a=t.x,u=t.y;return s.default.createElement(t_,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:m,duration:v,isActive:b,easing:y},s.default.createElement("path",lo({},e$(r,!0),{className:x,d:lc(a,u,e,o,d),ref:n})))}):s.default.createElement("path",lo({},e$(r,!0),{className:x,d:lc(u,c,l,p,d)}))};function lp(t){return(lp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ld(){return(ld=Object.assign.bind()).apply(this,arguments)}function lh(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ly(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function lv(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ly(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=lp(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=lp(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==lp(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ly(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var lm=function(t,e,r,n,o){var i=r-n;return"M ".concat(t,",").concat(e)+"L ".concat(t+r,",").concat(e)+"L ".concat(t+r-i/2,",").concat(e+o)+"L ".concat(t+r-i/2-n,",").concat(e+o)+"L ".concat(t,",").concat(e," Z")},lb={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},lg=function(t){var e,r=lv(lv({},lb),t),n=(0,s.useRef)(),o=function(t){if(Array.isArray(t))return t}(e=(0,s.useState)(-1))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,o,i,a=[],u=!0,c=!1;try{o=(e=e.call(t)).next,!1;for(;!(u=(r=o.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){c=!0,n=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw n}}return a}}(e)||function(t){if(t){if("string"==typeof t)return lh(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return lh(t,2)}}
1(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[1];(0,s.useEffect)(function(){if(n.current&&n.current.getTotalLength)try{var t=n.current.getTotalLength();t&&a(t)}catch(t){}},[]);var u=r.x,c=r.y,l=r.upperWidth,p=r.lowerWidth,d=r.height,h=r.className,y=r.animationEasing,v=r.animationDuration,m=r.animationBegin,b=r.isUpdateAnimationActive;if(u!==+u||c!==+c||l!==+l||p!==+p||d!==+d||0===l&&0===p||0===d)return null;var g=(0,f.default)("recharts-trapezoid",h);return b?s.default.createElement(t_,{canBegin:i>0,from:{upperWidth:0,lowerWidth:0,height:d,x:u,y:c},to:{upperWidth:l,lowerWidth:p,height:d,x:u,y:c},duration:v,animationEasing:y,isActive:b},function(t){var e=t.upperWidth,o=t.lowerWidth,a=t.height,u=t.x,c=t.y;return s.default.createElement(t_,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:m,duration:v,easing:y},s.default.createElement("path",ld({},e$(r,!0),{className:g,d:lm(u,c,e,o,a),ref:n})))}):s.default.createElement("g",null,s.default.createElement("path",ld({},e$(r,!0),{className:g,d:lm(u,c,l,p,d)})))};function lx(t){return(lx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function lO(){return(lO=Object.assign.bind()).apply(this,arguments)}function lw(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function lj(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?lw(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=lx(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=lx(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==lx(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lw(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var lS=function(t){var e=t.cx,r=t.cy,n=t.radius,o=t.angle,i=t.sign,a=t.isExternal,u=t.cornerRadius,c=t.cornerIsExternal,l=u*(a?1:-1)+n,s=Math.asin(u/l)/cR,f=c?o:o+i*s;return{center:cL(e,r,l,f),circleTangency:cL(e,r,n,f),lineTangency:cL(e,r,l*Math.cos(s*cR),c?o-i*s:o),theta:s}},lP=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.startAngle,a=t.endAngle,u=ea(a-i)*Math.min(Math.abs(a-i),359.999),c=i+u,l=cL(e,r,o,i),s=cL(e,r,o,c),f="M ".concat(l.x,",").concat(l.y,"\n A ").concat(o,",").concat(o,",0,\n ").concat(+(Math.abs(u)>180),",").concat(+(i>c),",\n ").concat(s.x,",").concat(s.y,"\n ");if(n>0){var p=cL(e,r,n,i),d=cL(e,r,n,c);f+="L ".concat(d.x,",").concat(d.y,"\n A ").concat(n,",").concat(n,",0,\n ").concat(+(Math.abs(u)>180),",").concat(+(i<=c),",\n ").concat(p.x,",").concat(p.y," Z")}else f+="L ".concat(e,",").concat(r," Z");return f},lE=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.cornerRadius,a=t.forceCornerRadius,u=t.cornerIsExternal,c=t.startAngle,l=t.endAngle,s=ea(l-c),f=lS({cx:e,cy:r,radius:o,angle:c,sign:s,cornerRadius:i,cornerIsExternal:u}),p=f.circleTangency,d=f.lineTangency,h=f.theta,y=lS({cx:e,cy:r,radius:o,angle:l,sign:-s,cornerRadius:i,cornerIsExternal:u}),v=y.circleTangency,m=y.lineTangency,b=y.theta,g=u?Math.abs(c-l):Math.abs(c-l)-h-b;if(g<0)return a?"M ".concat(d.x,",").concat(d.y,"\n a").concat(i,",").concat(i,",0,0,1,").concat(2*i,",0\n a").concat(i,",").concat(i,",0,0,1,").concat(-(2*i),",0\n "):lP({cx:e,cy:r,innerRadius:n,outerRadius:o,startAngle:c,endAngle:l});var x="M ".concat(d.x,",").concat(d.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(p.x,",").concat(p.y,"\n A").concat(o,",").concat(o,",0,").concat(+(g>180),",").concat(+(s<0),",").concat(v.x,",").concat(v.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(m.x,",").concat(m.y,"\n ");if(n>0){var O=lS({cx:e,cy:r,radius:n,angle:c,sign:s,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),w=O.circleTangency,j=O.lineTangency,S=O.theta,P=lS({cx:e,cy:r,radius:n,angle:l,sign:-s,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),E=P.circleTangency,A=P.lineTangency,k=P.theta,M=u?Math.abs(c-l):Math.abs(c-l)-S-k;if(M<0&&0===i)return"".concat(x,"L").concat(e,",").concat(r,"Z");x+="L".concat(A.x,",").concat(A.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(E.x,",").concat(E.y,"\n A").concat(n,",").concat(n,",0,").concat(+(M>180),",").concat(+(s>0),",").concat(w.x,",").concat(w.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(j.x,",").concat(j.y,"Z")}else x+="L".concat(e,",").concat(r,"Z");return x},lA={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},lk=function(t){var e,r=lj(lj({},lA),t),n=r.cx,o=r.cy,i=r.innerRadius,a=r.outerRadius,u=r.cornerRadius,c=r.forceCornerRadius,l=r.cornerIsExternal,p=r.startAngle,d=r.endAngle,h=r.className;if(a<i||p===d)return null;var y=(0,f.default)("recharts-sector",h),v=a-i,m=ed(u,v,0,!0);return e=m>0&&360>Math.abs(p-d)?lE({cx:n,cy:o,innerRadius:i,outerRadius:a,cornerRadius:Math.min(m,v/2),forceCornerRadius:c,cornerIsExternal:l,startAngle:p,endAngle:d}):lP({cx:n,cy:o,innerRadius:i,outerRadius:a,startAngle:p,endAngle:d}),s.default.createElement("path",lO({},e$(r,!0),{className:y,d:e,role:"img"}))},lM=["option","shapeType","propTransformer","activeClassName","isActive"];function l_(t){return(l_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function lT(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function lC(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?lT(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=l_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=l_(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==l_(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lT(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function lD(t){var e=t.shapeType,r=t.elementProps;switch(e){case"rectangle":return s.default.createElement(lf,r);case"trapezoid":return s.default.createElement(lg,r);case"sector":return s.default.createElement(lk,r);case"symbols":if("symbols"===e)return s.default.createElement(u_,r);break;default:return null}}function lI(t){var e,r=t.option,n=t.shapeType,o=t.propTransformer,i=t.activeClassName,a=t.isActive,u=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,lM);if((0,s.isValidElement)(r))e=(0,s.cloneElement)(r,lC(lC({},u),(0,s.isValidElement)(r)?r.props:r));else if((0,ee.default)(r))e=r(u);else if((0,le.default)(r)&&!(0,lr.default)(r)){var c=(void 0===o?function(t,e){return lC(lC({},e),t)}:o)(r,u);e=s.default.createElement(lD,{shapeType:n,elementProps:c})}else e=s.default.createElement(lD,{shapeType:n,elementProps:u});return a?s.default.createElement(eY,{className:void 0===i?"recharts-active-shape":i},e):e}function lN(t,e){return null!=e&&"trapezoids"in t.props}function lB(t,e){return null!=e&&"sectors"in t.props}function lR(t,e){return null!=e&&"points"in t.props}function lL(t,e){var r,n,o=t.x===(null==e||null==(r=e.labelViewBox)?void 0:r.x)||t.x===e.x,i=t.y===(null==e||null==(n=e.labelViewBox)?void 0:n.y)||t.y===e.y;return o&&i}function lz(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function lU(t,e){var r=t.x===e.x,n=t.y===e.y,o=t.z===e.z;return r&&n&&o}var l$=["x","y"];function lF(t){return(lF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function lq(){return(lq=Object.assign.bind()).apply(this,arguments)}function lW(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function lX(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?lW(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=lF(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=lF(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==lF(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lW(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function lH(t,e){var r=t.x,n=t.y,o=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,l$),i=parseInt("".concat(r),10),a=parseInt("".concat(n),10),u=parseInt("".concat(e.height||o.height),10),c=parseInt("".concat(e.width||o.width),10);return lX(lX(lX(lX(lX({},e),o),i?{x:i}:{}),a?{y:a}:{}),{},{height:u,width:c,name:e.name,radius:e.radius})}function lV(t){return s.default.createElement(lI,lq({shapeType:"rectangle",propTransformer:lH,activeClassName:"recharts-active-bar"},t))}var lG=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(r,n){if("number"==typeof t)return t;var o=ec(r)||el(r);return o?t(r,n):(o||eK(!1),e)}},lY=["value","background"];function lK(t){return(lK="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function lZ(){return(lZ=Object.assign.bind()).apply(this,arguments)}function lJ(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function lQ(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?lJ(Object(r),!0).forEach(function(e){l5(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lJ(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function l0(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l8(n.key),n)}}function l1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(l1=function(){return!!t})()}function l2(t){return(l2=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function l3(t,e){return(l3=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function l5(t,e,r){return(e=l8(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function l8(t){var e=function(t,e){if("object"!=lK(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=lK(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==lK(e)?e:e+""}var l6=function(t){var e,r;function n(){var t,e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=n,r=[].concat(i),e=l2(e),l5(t=function(t,e){if(e&&("object"===lK(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,l1()?Reflect.construct(e,r||[],l2(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!1}),l5(t,"id",ep("recharts-bar-")),l5(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()}),l5(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&l3(n,t),e=[{key:"renderRectanglesStatically",value:function(t){var e=this,r=this.props,n=r.shape,o=r.dataKey,i=r.activeIndex,a=r.activeBar,u=e$(this.props,!1);return t&&t.map(function(t,r){var c=r===i,l=lQ(lQ(lQ({},u),t),{},{isActive:c,option:c?a:n,index:r,dataKey:o,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return s.default.createElement(eY,lZ({className:"recharts-bar-rectangle"},eE(e.props,t,r),{key:"rectangle-".concat(null==t?void 0:t.x,"-").concat(null==t?void 0:t.y,"-").concat(null==t?void 0:t.value,"-").concat(r)}),s.default.createElement(lV,l))})}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,r=e.data,n=e.layout,o=e.isAnimationActive,i=e.animationBegin,a=e.animationDuration,u=e.animationEasing,c=e.animationId,l=this.state.prevData;return s.default.createElement(t_,{begin:i,duration:a,isActive:o,easing:u,from:{t:0},to:{t:1},key:"bar-".concat(c),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(e){var o=e.t,i=r.map(function(t,e){var r=l&&l[e];if(r){var i=ev(r.x,t.x),a=ev(r.y,t.y),u=ev(r.width,t.width),c=ev(r.height,t.height);return lQ(lQ({},t),{},{x:i(o),y:a(o),width:u(o),height:c(o)})}if("horizontal"===n){var s=ev(0,t.height)(o);return lQ(lQ({},t),{},{y:t.y+t.height-s,height:s})}var f=ev(0,t.width)(o);return lQ(lQ({},t),{},{width:f})});return s.default.createElement(eY,null,t.renderRectanglesStatically(i))})}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return r&&e&&e.length&&(!n||!(0,t7.default)(n,e))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(e)}}
1,{key:"renderBackground",value:function(){var t=this,e=this.props,r=e.data,n=e.dataKey,o=e.activeIndex,i=e$(this.props.background,!1);return r.map(function(e,r){e.value;var a=e.background,u=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(e,lY);if(!a)return null;var c=lQ(lQ(lQ(lQ(lQ({},u),{},{fill:"#eee"},a),i),eE(t.props,e,r)),{},{onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd,dataKey:n,index:r,className:"recharts-bar-background-rectangle"});return s.default.createElement(lV,lZ({key:"background-bar-".concat(r),option:t.props.background,isActive:r===o},c))})}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.data,o=r.xAxis,i=r.yAxis,a=r.layout,u=eB(r.children,e6);if(!u)return null;var c="vertical"===a?n[0].height/2:n[0].width/2,l=function(t,e){var r=Array.isArray(t.value)?t.value[1]:t.value;return{x:t.x,y:t.y,value:r,errorVal:ct(t,e)}};return s.default.createElement(eY,{clipPath:t?"url(#clipPath-".concat(e,")"):null},u.map(function(t){return s.default.cloneElement(t,{key:"error-bar-".concat(e,"-").concat(t.props.dataKey),data:n,xAxis:o,yAxis:i,layout:a,offset:c,dataPointFormatter:l})}))}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,n=t.className,o=t.xAxis,i=t.yAxis,a=t.left,u=t.top,c=t.width,l=t.height,p=t.isAnimationActive,d=t.background,h=t.id;if(e||!r||!r.length)return null;var y=this.state.isAnimationFinished,v=(0,f.default)("recharts-bar",n),m=o&&o.allowDataOverflow,b=i&&i.allowDataOverflow,g=m||b,x=(0,t4.default)(h)?this.id:h;return s.default.createElement(eY,{className:v},m||b?s.default.createElement("defs",null,s.default.createElement("clipPath",{id:"clipPath-".concat(x)},s.default.createElement("rect",{x:m?a:a-c/2,y:b?u:u-l/2,width:m?c:2*c,height:b?l:2*l}))):null,s.default.createElement(eY,{className:"recharts-bar-rectangles",clipPath:g?"url(#clipPath-".concat(x,")"):null},d?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(g,x),(!p||y)&<.renderCallByParent(this.props,r))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curData:t.data,prevData:e.curData}:t.data!==e.curData?{curData:t.data}:null}}],e&&l0(n.prototype,e),r&&l0(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(s.PureComponent);l5(l6,"displayName","Bar"),l5(l6,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!e9.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),l5(l6,"getComposedData",function(t){var e=t.props,r=t.item,n=t.barPosition,o=t.bandSize,i=t.xAxis,a=t.yAxis,u=t.xAxisTicks,c=t.yAxisTicks,l=t.stackedData,s=t.dataStartIndex,f=t.displayedData,p=t.offset,d=cm(n,r);if(!d)return null;var h=e.layout,y=r.type.defaultProps,v=void 0!==y?lQ(lQ({},y),r.props):r.props,m=v.dataKey,b=v.children,g=v.minPointSize,x="horizontal"===h?a:i,O=l?x.scale.domain():null,w=cP({numericAxis:x}),j=eB(b,e7),S=f.map(function(t,e){l?f=cb(l[s+e],O):Array.isArray(f=ct(t,m))||(f=[w,f]);var n=lG(g,l6.defaultProps.minPointSize)(f[1],e);if("horizontal"===h){var f,p,y,v,b,x,S,P=[a.scale(f[0]),a.scale(f[1])],E=P[0],A=P[1];p=cS({axis:i,ticks:u,bandSize:o,offset:d.offset,entry:t,index:e}),y=null!=(S=null!=A?A:E)?S:void 0,v=d.size;var k=E-A;if(b=Number.isNaN(k)?0:k,x={x:p,y:a.y,width:v,height:a.height},Math.abs(n)>0&&Math.abs(b)<Math.abs(n)){var M=ea(b||n)*(Math.abs(n)-Math.abs(b));y-=M,b+=M}}else{var _=[i.scale(f[0]),i.scale(f[1])],T=_[0],C=_[1];if(p=T,y=cS({axis:a,ticks:c,bandSize:o,offset:d.offset,entry:t,index:e}),v=C-T,b=d.size,x={x:i.x,y:y,width:i.width,height:b},Math.abs(n)>0&&Math.abs(v)<Math.abs(n)){var D=ea(v||n)*(Math.abs(n)-Math.abs(v));v+=D}}return lQ(lQ(lQ({},t),{},{x:p,y:y,width:v,height:b,value:l?f:f[1],payload:t,background:x},j&&j[e]&&j[e].props),{},{tooltipPayload:[cD(r,t)],tooltipPosition:{x:p+v/2,y:y+b/2}}
1)});return lQ({data:S,layout:h},p)}),t.s(["Bar",0,l6],475225);var l7=t.i(144950),l4=t.i(224283);function l9(t){return(l9="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function st(){return(st=Object.assign.bind()).apply(this,arguments)}function se(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function sr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function sn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?sr(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=l9(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=l9(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==l9(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sr(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function so(t){return Array.isArray(t)&&es(t[0])&&es(t[1])?t.join(" ~ "):t}var si=function(t){var e=t.separator,r=void 0===e?" : ":e,n=t.contentStyle,o=t.itemStyle,i=void 0===o?{}:o,a=t.labelStyle,u=t.payload,c=t.formatter,l=t.itemSorter,p=t.wrapperClassName,d=t.labelClassName,h=t.label,y=t.labelFormatter,v=t.accessibilityLayer,m=sn({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},void 0===n?{}:n),b=sn({margin:0},void 0===a?{}:a),g=!(0,t4.default)(h),x=g?h:"",O=(0,f.default)("recharts-default-tooltip",p),w=(0,f.default)("recharts-tooltip-label",d);return g&&y&&null!=u&&(x=y(h,u)),s.default.createElement("div",st({className:O,style:m},void 0!==v&&v?{role:"status","aria-live":"assertive"}:{}),s.default.createElement("p",{className:w,style:b},s.default.isValidElement(x)?x:"".concat(x)),function(){if(u&&u.length){var t=(l?(0,aR.default)(u,l):u).map(function(t,e){if("none"===t.type)return null;var n=sn({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},i),o=t.formatter||c||so,a=t.value,l=t.name,f=a,p=l;if(o&&null!=f&&null!=p){var d=o(a,l,t,e,u);if(Array.isArray(d)){var h=function(t){if(Array.isArray(t))return t}(d)||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,o,i,a=[],u=!0,c=!1;try{o=(e=e.call(t)).next,!1;for(;!(u=(r=o.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){c=!0,n=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw n}}return a}}(d)||function(t){if(t){if("string"==typeof t)return se(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return se(t,2)}}(d)||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=h[0],p=h[1]}else f=d}return s.default.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(e),style:n},es(p)?s.default.createElement("span",{className:"recharts-tooltip-item-name"},p):null,es(p)?s.default.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,s.default.createElement("span",{className:"recharts-tooltip-item-value"},f),s.default.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))});return s.default.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())};function sa(t){return(sa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function su(t,e,r){var n;return(n=function(t,e){if("object"!=sa(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=sa(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==sa(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var sc="recharts-tooltip-wrapper",sl={visibility:"hidden"};function ss(t){var e=t.allowEscapeViewBox,r=t.coordinate,n=t.key,o=t.offsetTopLeft,i=t.position,a=t.reverseDirection,u=t.tooltipDimension,c=t.viewBox,l=t.viewBoxDimension;if(i&&ec(i[n]))return i[n];var s=r[n]-u-o,f=r[n]+o;return e[n]?a[n]?s:f:a[n]?s<c[n]?Math.max(f,c[n]):Math.max(s,c[n]):f+u>c[n]+l?Math.max(s,c[n]):Math.max(f,c[n])}function sf(t){return(sf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function sp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function sd(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?sp(Object(r),!0).forEach(function(e){sm(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sp(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function sh(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sh=function(){return!!t})()}function sy(t){return(sy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function sv(t,e){return(sv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function sm(t,e,r){return(e=sb(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function sb(t){var e=function(t,e){if("object"!=sf(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=sf(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==sf(e)?e:e+""}var sg=function(t){var e;function r(){var t,e,n;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=r,n=[].concat(i),e=sy(e),sm(t=function(t,e){if(e&&("object"===sf(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,sh()?Reflect.construct(e,n||[],sy(this).constructor):e.apply(this,n)),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),sm(t,"handleKeyDown",function(e){if("Escape"===e.key){var r,n,o,i;t.setState({dismissed:!0,dismissedAtCoordinate:{x:null!=(r=null==(n=t.props.coordinate)?void 0:n.x)?r:0,y:null!=(o=null==(i=t.props.coordinate)?void 0:i.y)?o:0}})}}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&sv(r,t),e=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();(Math.abs(t.width-this.state.lastBoundingBox.width)>1||Math.abs(t.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:t.width,height:t.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 t,e;this.props.active&&this.updateBBox(),this.state.dismissed&&((null==(t=this.props.coordinate)?void 0:t.x)!==this.state.dismissedAtCoordinate.x||(null==(e=this.props.coordinate)?void 0:e.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var t,e,r,n,o,i,a,u,c,l,p,d,h,y,v,m,b,g,x,O=this,w=this.props,j=w.active,S=w.allowEscapeViewBox,P=w.animationDuration,E=w.animationEasing,A=w.children,k=w.coordinate,M=w.hasPayload,_=w.isAnimationActive,T=w.offset,C=w.position,D=w.reverseDirection,I=w.useTranslate3d,N=w.viewBox,B=w.wrapperStyle,R=(d=(t={allowEscapeViewBox:S,coordinate:k,offsetTopLeft:T,position:C,reverseDirection:D,tooltipBox:this.state.lastBoundingBox,useTranslate3d:I,viewBox:N}).allowEscapeViewBox,h=t.coordinate,y=t.offsetTopLeft,v=t.position,m=t.reverseDirection,b=t.tooltipBox,g=t.useTranslate3d,x=t.viewBox,b.height>0&&b.width>0&&h?(r=(e={translateX:l=ss({allowEscapeViewBox:d,coordinate:h,key:"x",offsetTopLeft:y,position:v,reverseDirection:m,tooltipDimension:b.width,viewBox:x,viewBoxDimension:x.width}),translateY:p=ss({allowEscapeViewBox:d,coordinate:h,key:"y",offsetTopLeft:y,position:v,reverseDirection:m,tooltipDimension:b.height,viewBox:x,viewB
1oxDimension:x.height}),useTranslate3d:g}).translateX,n=e.translateY,c={transform:e.useTranslate3d?"translate3d(".concat(r,"px, ").concat(n,"px, 0)"):"translate(".concat(r,"px, ").concat(n,"px)")}):c=sl,{cssProperties:c,cssClasses:(i=(o={translateX:l,translateY:p,coordinate:h}).coordinate,a=o.translateX,u=o.translateY,(0,f.default)(sc,su(su(su(su({},"".concat(sc,"-right"),ec(a)&&i&&ec(i.x)&&a>=i.x),"".concat(sc,"-left"),ec(a)&&i&&ec(i.x)&&a<i.x),"".concat(sc,"-bottom"),ec(u)&&i&&ec(i.y)&&u>=i.y),"".concat(sc,"-top"),ec(u)&&i&&ec(i.y)&&u<i.y)))}),L=R.cssClasses,z=R.cssProperties,U=sd(sd({transition:_&&j?"transform ".concat(P,"ms ").concat(E):void 0},z),{},{pointerEvents:"none",visibility:!this.state.dismissed&&j&&M?"visible":"hidden",position:"absolute",top:0,left:0},B);return s.default.createElement("div",{tabIndex:-1,className:L,style:U,ref:function(t){O.wrapperNode=t}},A)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,sb(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(s.PureComponent);function sx(t){return(sx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function sO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function sw(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?sO(Object(r),!0).forEach(function(e){sE(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sO(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function sj(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sj=function(){return!!t})()}function sS(t){return(sS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function sP(t,e){return(sP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function sE(t,e,r){return(e=sA(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function sA(t){var e=function(t,e){if("object"!=sx(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=sx(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==sx(e)?e:e+""}function sk(t){return t.dataKey}var sM=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=sS(t),function(t,e){if(e&&("object"===sx(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,sj()?Reflect.construct(t,e||[],sS(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&sP(r,t),e=[{key:"render",value:function(){var t,e=this,r=this.props,n=r.active,o=r.allowEscapeViewBox,i=r.animationDuration,a=r.animationEasing,u=r.content,c=r.coordinate,l=r.filterNull,f=r.isAnimationActive,p=r.offset,d=r.payload,h=r.payloadUniqBy,y=r.position,v=r.reverseDirection,m=r.useTranslate3d,b=r.viewBox,g=r.wrapperStyle,x=null!=d?d:[];l&&x.length&&(x=u$(d.filter(function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)}),h,sk));var O=x.length>0;return s.default.createElement(sg,{allowEscapeViewBox:o,animationDuration:i,animationEasing:a,isAnimationActive:f,active:n,coordinate:c,hasPayload:O,offset:p,position:y,reverseDirection:v,useTranslate3d:m,viewBox:b,wrapperStyle:g},(t=sw(sw({},this.props),{},{payload:x}),s.default.isValidElement(u)?s.default.cloneElement(u,t):"function"==typeof u?s.default.createElement(u,t):s.default.createElement(si,t)))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,sA(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(s.PureComponent);function s_(){return(s_=Object.assign.bind()).apply(this,arguments)}sE(sM,"displayName","Tooltip"),sE(sM,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!e9.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:{}});var sT=function(t){var e=t.cx,r=t.cy,n=t.r,o=t.className,i=(0,f.default)("recharts-dot",o);return e===+e&&r===+r&&n===+n?s.createElement("circle",s_({},e$(t,!1),eP(t),{className:i,cx:e,cy:r,r:n})):null};function sC(t){return(sC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function sD(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function sI(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?sD(Object(r),!0).forEach(function(e){sN(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sD(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function sN(t,e,r){var n;return(n=function(t,e){if("object"!=sC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=sC(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==sC(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}t.s(["Dot",0,sT],238279);var sB=["Webkit","Moz","O","ms"],sR=function(t,e){if(!t)return null;var r=t.replace(/(\w)/,function(t){return t.toUpperCase()}),n=sB.reduce(function(t,n){return sI(sI({},t),{},sN({},n+r,e))},{});return n[t]=e,n};function sL(t){return(sL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function sz(){return(sz=Object.assign.bind()).apply(this,arguments)}function sU(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function s$(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?sU(Object(r),!0).forEach(function(e){sH(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sU(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function sF(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,sV(n.key),n)}}function sq(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sq=function(){return!!t})()}function sW(t){return(sW=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function sX(t,e){return(sX=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function sH(t,e,r){return(e=sV(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function sV(t){var e=function(t,e){if("object"!=sL(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=sL(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==sL(e)?e:e+""}var sG=function(t){var e=t.data,r=t.startIndex,n=t.endIndex,o=t.x,i=t.width,a=t.travellerWidth;if(!e||!e.length)return{};var u=e.length,c=rF().domain((0,l7.default)(0,u)).range([o,o+i-a]),l=c.domain().map(function(t){return c(t)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:c(r),endX:c(n),scale:c,scaleValues:l}},sY=function(t){return t.changedTouches&&!!t.changedTouches.length},sK=function(t){var e,r;function n(t){var e,r,o;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return r=n,o=[t],r=sW(r),sH(e=function(t,e){if(e&&("object"===sL(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,sq()?Reflect.construct(r,o||[],sW(this).constructor):r.apply(this,o)),"handleDrag",function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)}),sH(e,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])}),sH(e,"handleDragEnd",function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var t=e.props,r=t.endIndex,n=t.onDragEnd,o=t.startIndex;null==n||n({endIndex:r,startIndex:o})}),e.detachDragEndListener()}),sH(e,"handleLeaveWrapper",function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))}),sH(e,"handleEnterSlideOrTraveller",function(){e.setState({isTextActive:!0})}),sH(e,"handleLeaveSlideOrTraveller",function(){e.setState({isTextActive:!1})}),sH(e,"handleSlideDragStart",function(t){var r=sY(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),e.attachDragEndListener()}),e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(e,"startX"),endX:e.handleTravellerDragStart.bind(e,"endX")},e.state={},e}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&sX(n,t),e=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var e=t.startX,r=t.endX,o=this.state.scaleValues,i=this.props,a=i.gap,u=i.data.length-1,c=Math.min(e,r),l=
1Math.max(e,r),s=n.getIndexInRange(o,c),f=n.getIndexInRange(o,l);return{startIndex:s-s%a,endIndex:f===u?u:f-f%a}}},{key:"getTextOfTick",value:function(t){var e=this.props,r=e.data,n=e.tickFormatter,o=e.dataKey,i=ct(r[t],o,t);return(0,ee.default)(n)?n(i,t):i}},{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(t){var e=this.state,r=e.slideMoveStartX,n=e.startX,o=e.endX,i=this.props,a=i.x,u=i.width,c=i.travellerWidth,l=i.startIndex,s=i.endIndex,f=i.onChange,p=t.pageX-r;p>0?p=Math.min(p,a+u-c-o,a+u-c-n):p<0&&(p=Math.max(p,a-n,a-o));var d=this.getIndex({startX:n+p,endX:o+p});(d.startIndex!==l||d.endIndex!==s)&&f&&f(d),this.setState({startX:n+p,endX:o+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=sY(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e=this.state,r=e.brushMoveStartX,n=e.movingTravellerId,o=e.endX,i=e.startX,a=this.state[n],u=this.props,c=u.x,l=u.width,s=u.travellerWidth,f=u.onChange,p=u.gap,d=u.data,h={startX:this.state.startX,endX:this.state.endX},y=t.pageX-r;y>0?y=Math.min(y,c+l-s-a):y<0&&(y=Math.max(y,c-a)),h[n]=a+y;var v=this.getIndex(h),m=v.startIndex,b=v.endIndex,g=function(){var t=d.length-1;return"startX"===n&&(o>i?m%p==0:b%p==0)||!!(o<i)&&b===t||"endX"===n&&(o>i?b%p==0:m%p==0)||!!(o>i)&&b===t};this.setState(sH(sH({},n,a+y),"brushMoveStartX",t.pageX),function(){f&&g()&&f(v)})}},{key:"handleTravellerMoveKeyboard",value:function(t,e){var r=this,n=this.state,o=n.scaleValues,i=n.startX,a=n.endX,u=this.state[e],c=o.indexOf(u);if(-1!==c){var l=c+t;if(-1!==l&&!(l>=o.length)){var s=o[l];"startX"===e&&s>=a||"endX"===e&&s<=i||this.setState(sH({},e,s),function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.state.endX}))})}}}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,i=t.fill,a=t.stroke;return s.default.createElement("rect",{stroke:a,fill:i,x:e,y:r,width:n,height:o})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,i=t.data,a=t.children,u=t.padding,c=s.Children.only(a);return c?s.default.cloneElement(c,{x:e,y:r,width:n,height:o,margin:u,compact:!0,data:i}):null}},{key:"renderTravellerLayer",value:function(t,e){var r,o,i=this,a=this.props,u=a.y,c=a.travellerWidth,l=a.height,f=a.traveller,p=a.ariaLabel,d=a.data,h=a.startIndex,y=a.endIndex,v=Math.max(t,this.props.x),m=s$(s$({},e$(this.props,!1)),{},{x:v,y:u,width:c,height:l}),b=p||"Min value: ".concat(null==(r=d[h])?void 0:r.name,", Max value: ").concat(null==(o=d[y])?void 0:o.name);return s.default.createElement(eY,{tabIndex:0,role:"slider","aria-label":b,"aria-valuenow":t,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[e],onTouchStart:this.travellerDragStartHandlers[e],onKeyDown:function(t){["ArrowLeft","ArrowRight"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),i.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,e))},onFocus:function(){i.setState({isTravellerFocused:!0})},onBlur:function(){i.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},n.renderTraveller(f,m))}},{key:"renderSlide",value:function(t,e){var r=this.props,n=r.y,o=r.height,i=r.stroke,a=r.travellerWidth,u=Math.min(t,e)+a,c=Math.max(Math.abs(e-t)-a,0);return s.default.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:i,fillOpacity:.2,x:u,y:n,width:c,height:o})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,r=t.endIndex,n=t.y,o=t.height,i=t.travellerWidth,a=t.stroke,u=this.state,c=u.startX,l=u.endX,f={pointerEvents:"none",fill:a};return s.default.createElement(eY,{className:"recharts-brush-texts"},s.default.createElement(rD,sz({textAnchor:"end",verticalAnchor:"middle",x:Math.min(c,l)-5,y:n+o/2},f),this.getTextOfTick(e)),s.default.createElement(rD,sz({textAnchor:"start",verticalAnchor:"middle",x:Math.max(c,l)+i+5,y:n+o/2},f),this.getTextOfTick(r)))}},{key:"render",value:function(){var t=this.props,e=t.data,r=t.className,n=t.children,o=t.x,i=t.y,a=t.width,u=t.height,c=t.alwaysShowText,l=this.state,p=l.startX,d=l.endX,h=l.isTextActive,y=l.isSlideMoving,v=l.isTravellerMoving,m=l.isTravellerFocused;if(!e||!e.length||!ec(o)||!ec(i)||!ec(a)||!ec(u)||a<=0||u<=0)return null;var b=(0,f.default)("recharts-brush",r),g=1===s.default.Children.count(n),x=sR("userSelect","none");return s.default.createElement(eY,{className:b,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:x}
1,this.renderBackground(),g&&this.renderPanorama(),this.renderSlide(p,d),this.renderTravellerLayer(p,"startX"),this.renderTravellerLayer(d,"endX"),(h||y||v||m||c)&&this.renderText())}}],r=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,r=t.y,n=t.width,o=t.height,i=t.stroke,a=Math.floor(r+o/2)-1;return s.default.createElement(s.default.Fragment,null,s.default.createElement("rect",{x:e,y:r,width:n,height:o,fill:i,stroke:"none"}),s.default.createElement("line",{x1:e+1,y1:a,x2:e+n-1,y2:a,fill:"none",stroke:"#fff"}),s.default.createElement("line",{x1:e+1,y1:a+2,x2:e+n-1,y2:a+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,e){return s.default.isValidElement(t)?s.default.cloneElement(t,e):(0,ee.default)(t)?t(e):n.renderDefaultTraveller(e)}},{key:"getDerivedStateFromProps",value:function(t,e){var r=t.data,n=t.width,o=t.x,i=t.travellerWidth,a=t.updateId,u=t.startIndex,c=t.endIndex;if(r!==e.prevData||a!==e.prevUpdateId)return s$({prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n},r&&r.length?sG({data:r,width:n,x:o,travellerWidth:i,startIndex:u,endIndex:c}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||o!==e.prevX||i!==e.prevTravellerWidth)){e.scale.range([o,o+n-i]);var l=e.scale.domain().map(function(t){return e.scale(t)});return{prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:l}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=t.length,n=0,o=r-1;o-n>1;){var i=Math.floor((n+o)/2);t[i]>e?o=i:n=i}return e>=t[o]?o:n}}],e&&sF(n.prototype,e),r&&sF(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(s.PureComponent);sH(sK,"displayName","Brush"),sH(sK,"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 sZ=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e},sJ=t.i(460793),sQ=t.i(126063);function s0(t){return(s0="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s1(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,s8(n.key),n)}}function s2(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function s3(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s2(Object(r),!0).forEach(function(e){s5(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s2(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function s5(t,e,r){return(e=s8(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s8(t){var e=function(t,e){if("object"!=s0(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s0(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s0(e)?e:e+""}var s6=function(t,e,r,n,o){var i=t.width,a=t.height,u=t.layout,c=t.children,l=Object.keys(e),s={left:r.left,leftMirror:r.left,right:i-r.right,rightMirror:i-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},f=!!eR(c,l6);return l.reduce(function(i,a){var c,l,p,d,h,y=e[a],v=y.orientation,m=y.domain,b=y.padding,g=void 0===b?{}:b,x=y.mirror,O=y.reversed,w="".concat(v).concat(x?"Mirror":"");if("number"===y.type&&("gap"===y.padding||"no-gap"===y.padding)){var j=m[1]-m[0],S=1/0,P=y.categoricalDomain.sort(eb);if(P.forEach(function(t,e){e>0&&(S=Math.min((t||0)-(P[e-1]||0),S))}),Number.isFinite(S)){var E=S/j,A="vertical"===y.layout?r.height:r.width;if("gap"===y.padding&&(c=E*A/2),"no-gap"===y.padding){var k=ed(t.barCategoryGap,E*A),M=E*A/2;c=M-k-(M-k)/A*k}}}
1l="xAxis"===n?[r.left+(g.left||0)+(c||0),r.left+r.width-(g.right||0)-(c||0)]:"yAxis"===n?"horizontal"===u?[r.top+r.height-(g.bottom||0),r.top+(g.top||0)]:[r.top+(g.top||0)+(c||0),r.top+r.height-(g.bottom||0)-(c||0)]:y.range,O&&(l=[l[1],l[0]]);var _=cy(y,o,f),T=_.scale,C=_.realScaleType;T.domain(m).range(l),cv(T);var D=cw(T,s3(s3({},y),{},{realScaleType:C}));"xAxis"===n?(h="top"===v&&!x||"bottom"===v&&x,p=r.left,d=s[w]-h*y.height):"yAxis"===n&&(h="left"===v&&!x||"right"===v&&x,p=s[w]-h*y.width,d=r.top);var I=s3(s3(s3({},y),D),{},{realScaleType:C,x:p,y:d,scale:T,width:"xAxis"===n?r.width:y.width,height:"yAxis"===n?r.height:y.height});return I.bandSize=cT(I,D),y.hide||"xAxis"!==n?y.hide||(s[w]+=(h?-1:1)*I.width):s[w]+=(h?-1:1)*I.height,s3(s3({},i),{},s5({},a,I))},{})},s7=function(t,e){var r=t.x,n=t.y,o=e.x,i=e.y;return{x:Math.min(r,o),y:Math.min(n,i),width:Math.abs(o-r),height:Math.abs(i-n)}},s4=function(t){return s7({x:t.x1,y:t.y1},{x:t.x2,y:t.y2})},s9=function(){var t,e;function r(t){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");this.scale=t}return t=[{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(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.bandAware,n=e.position;if(void 0!==t){if(n)switch(n){case"start":default:return this.scale(t);case"middle":var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(t)+i}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),r=e[0],n=e[e.length-1];return r<=n?t>=r&&t<=n:t>=n&&t<=r}}],e=[{key:"create",value:function(t){return new r(t)}}],t&&s1(r.prototype,t),e&&s1(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();s5(s9,"EPS",1e-4);var ft=function(t){var e=Object.keys(t).reduce(function(e,r){return s3(s3({},e),{},s5({},r,s9.create(t[r])))},{});return s3(s3({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,o=r.position;return(0,sJ.default)(t,function(t,r){return e[r].apply(t,{bandAware:n,position:o})})},isInRange:function(t){return(0,sQ.default)(t,function(t,r){return e[r].isInRange(t)})}})},fe=function(t){var e=t.width,r=t.height,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=(n%180+180)%180*Math.PI/180,i=Math.atan(r/e);return Math.abs(o>i&&o<Math.PI-i?r/Math.sin(o):e/Math.cos(o))};function fr(){return(fr=Object.assign.bind()).apply(this,arguments)}function fn(t){return(fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function fo(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function fi(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?fo(Object(r),!0).forEach(function(e){fl(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fo(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}t.s(["createLabeledScales",0,ft,"formatAxisMap",0,s6,"getAngledRectangleWidth",0,fe,"rectWithCoords",0,s4,"rectWithPoints",0,s7],844171);function fa(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fa=function(){return!!t})()}function fu(t){return(fu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
1function fc(t,e){return(fc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function fl(t,e,r){return(e=fs(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function fs(t){var e=function(t,e){if("object"!=fn(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=fn(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==fn(e)?e:e+""}var ff=function(t){var e=t.x,r=t.y,n=t.xAxis,o=t.yAxis,i=ft({x:n.scale,y:o.scale}),a=i.apply({x:e,y:r},{bandAware:!0});return sZ(t,"discard")&&!i.isInRange(a)?null:a},fp=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=fu(t),function(t,e){if(e&&("object"===fn(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,fa()?Reflect.construct(t,e||[],fu(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&fc(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,o=t.r,i=t.alwaysShow,a=t.clipPathId,u=es(e),c=es(n);if(a7(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!u||!c)return null;var l=ff(this.props);if(!l)return null;var p=l.x,d=l.y,h=this.props,y=h.shape,v=h.className,m=fi(fi({clipPath:sZ(this.props,"hidden")?"url(#".concat(a,")"):void 0},e$(this.props,!0)),{},{cx:p,cy:d});return s.default.createElement(eY,{className:(0,f.default)("recharts-reference-dot",v)},r.renderDot(y,m),cQ.renderCallByParent(this.props,{x:p-o,y:d-o,width:2*o,height:2*o}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,fs(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(s.default.Component);fl(fp,"displayName","ReferenceDot"),fl(fp,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),fl(fp,"renderDot",function(t,e){return s.default.isValidElement(t)?s.default.cloneElement(t,e):(0,ee.default)(t)?t(e):s.default.createElement(sT,fr({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))}),t.s(["ReferenceDot",0,fp],896267);var fd=t.i(788099),fh=t.i(160191),fy=(0,t.i(657588).default)(function(t){return{x:t.left,y:t.top,width:t.width,height:t.height}},function(t){return["l",t.left,"t",t.top,"w",t.width,"h",t.height].join("")}),fv=(0,s.createContext)(void 0),fm=(0,s.createContext)(void 0),fb=(0,s.createContext)(void 0),fg=(0,s.createContext)({}),fx=(0,s.createContext)(void 0),fO=(0,s.createContext)(0),fw=(0,s.createContext)(0),fj=function(t){var e=t.state,r=e.xAxisMap,n=e.yAxisMap,o=e.offset,i=t.clipPathId,a=t.children,u=t.width,c=t.height,l=fy(o);return s.default.createElement(fv.Provider,{value:r},s.default.createElement(fm.Provider,{value:n},s.default.createElement(fg.Provider,{value:o},s.default.createElement(fb.Provider,{value:l},s.default.createElement(fx.Provider,{value:i},s.default.createElement(fO.Provider,{value:c},s.default.createElement(fw.Provider,{value:u},a)))))))},fS=function(t){var e=(0,s.useContext)(fv);null==e&&eK(!1);var r=e[t];return null==r&&eK(!1),r},fP=function(){var t=(0,s.useContext)(fm);return(0,fh.default)(t,function(t){return(0,sQ.default)(t.domain,Number.isFinite)})||eh(t)},fE=function(t){var e=(0,s.useContext)(fm);null==e&&eK(!1);var r=e[t];return null==r&&eK(!1),r},fA=function(){return(0,s.useContext)(fw)},fk=function(){return(0,s.useContext)(fO)};function fM(t){return(fM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f_(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(f_=function(){return!!t})()}function fT(t){return(fT=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
1function fC(t,e){return(fC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function fD(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function fI(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?fD(Object(r),!0).forEach(function(e){fN(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fD(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function fN(t,e,r){return(e=fB(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function fB(t){var e=function(t,e){if("object"!=fM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=fM(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==fM(e)?e:e+""}function fR(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function fL(){return(fL=Object.assign.bind()).apply(this,arguments)}var fz=function(t,e){return s.default.isValidElement(t)?s.default.cloneElement(t,e):(0,ee.default)(t)?t(e):s.default.createElement("line",fL({},e,{className:"recharts-reference-line-line"}))},fU=function(t,e,r,n,o,i,a,u,c){var l=o.x,s=o.y,f=o.width,p=o.height;if(r){var d=c.y,h=t.y.apply(d,{position:i});if(sZ(c,"discard")&&!t.y.isInRange(h))return null;var y=[{x:l+f,y:h},{x:l,y:h}];return"left"===u?y.reverse():y}if(e){var v=c.x,m=t.x.apply(v,{position:i});if(sZ(c,"discard")&&!t.x.isInRange(m))return null;var b=[{x:m,y:s+p},{x:m,y:s}];return"top"===a?b.reverse():b}if(n){var g=c.segment.map(function(e){return t.apply(e,{position:i})});return sZ(c,"discard")&&(0,fd.default)(g,function(e){return!t.isInRange(e)})?null:g}return null};function f$(t){var e=t.x,r=t.y,n=t.segment,o=t.xAxisId,i=t.yAxisId,a=t.shape,u=t.className,c=t.alwaysShow,l=(0,s.useContext)(fx),p=fS(o),d=fE(i),h=(0,s.useContext)(fb);if(!l||!h)return null;a7(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var y=fU(ft({x:p.scale,y:d.scale}),es(e),es(r),n&&2===n.length,h,t.position,p.orientation,d.orientation,t);if(!y)return null;var v=function(t){if(Array.isArray(t))return t}(y)||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,o,i,a=[],u=!0,c=!1;try{o=(e=e.call(t)).next,!1;for(;!(u=(r=o.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){c=!0,n=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw n}}return a}}(y)||function(t){if(t){if("string"==typeof t)return fR(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return fR(t,2)}}(y)||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=v[0],b=m.x,g=m.y,x=v[1],O=x.x,w=x.y,j=fI(fI({clipPath:sZ(t,"hidden")?"url(#".concat(l,")"):void 0},e$(t,!0)),{},{x1:b,y1:g,x2:O,y2:w});return s.default.createElement(eY,{className:(0,f.default)("recharts-reference-line",u)},fz(a,j),cQ.renderCallByParent(t,s4({x1:b,y1:g,x2:O,y2:w})))}var fF=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=fT(t),function(t,e){if(e&&("object"===fM(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,f_()?Reflect.construct(t,e||[],fT(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&fC(r,t),e=[{key:"render",value:function(){return s.default.createElement(f$,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,fB(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(s.default.Component);function fq(){return(fq=Object.assign.bind()).apply(this,arguments)}function fW(t){return(fW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function fX(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function fH(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?fX(Object(r),!0).forEach(function(e){fK(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fX(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}fN(fF,"displayName","ReferenceLine"),fN(fF,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"}),t.s(["ReferenceLine",0,fF],955153);function fV(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fV=function(){return!!t})()}function fG(t){return(fG=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function fY(t,e){return(fY=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function fK(t,e,r){return(e=fZ(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function fZ(t){var e=function(t,e){if("object"!=fW(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=fW(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==fW(e)?e:e+""}var fJ=function(t,e,r,n,o){var i=o.x1,a=o.x2,u=o.y1,c=o.y2,l=o.xAxis,s=o.yAxis;if(!l||!s)return null;var f=ft({x:l.scale,y:s.scale}),p={x:t?f.x.apply(i,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(u,{position:"start"}):f.y.rangeMin},d={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(c,{position:"end"}):f.y.rangeMax};return!sZ(o,"discard")||f.isInRange(p)&&f.isInRange(d)?s7(p,d):null},fQ=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=fG(t),function(t,e){if(e&&("object"===fW(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,fV()?Reflect.construct(t,e||[],fG(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&fY(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.x1,n=t.x2,o=t.y1,i=t.y2,a=t.className,u=t.alwaysShow,c=t.clipPathId;a7(void 0===u,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=es(e),p=es(n),d=es(o),h=es(i),y=this.props.shape;if(!l&&!p&&!d&&!h&&!y)return null;var v=fJ(l,p,d,h,this.props);if(!v&&!y)return null;var m=sZ(this.props,"hidden")?"url(#".concat(c,")"):void 0;return s.default.createElement(eY,{className:(0,f.default)("recharts-reference-area",a)},r.renderRect(y,fH(fH({clipPath:m},e$(this.props,!0)),v)),cQ.renderCallByParent(this.props,v))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,fZ(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(s.default.Component);function f0(t){return function(t){if(Array.isArray(t))return f1(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t){if(t){if("string"==typeof t)return f1(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return f1(t,void 0)}}(t)||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 f1(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}
vendor: 11,367 bytes, line 1
1fK(fQ,"displayName","ReferenceArea"),fK(fQ,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),fK(fQ,"renderRect",function(t,e){return s.default.isValidElement(t)?s.default.cloneElement(t,e):(0,ee.default)(t)?t(e):s.default.createElement(lf,fq({},e,{className:"recharts-reference-area-rect"}))});var f2=function(t,e,r,n,o){var i=eB(t,fF),a=eB(t,fp),u=[].concat(f0(i),f0(a)),c=eB(t,fQ),l="".concat(n,"Id"),s=n[0],f=e;if(u.length&&(f=u.reduce(function(t,e){if(e.props[l]===r&&sZ(e.props,"extendDomain")&&ec(e.props[s])){var n=e.props[s];return[Math.min(t[0],n),Math.max(t[1],n)]}return t},f)),c.length){var p="".concat(s,"1"),d="".concat(s,"2");f=c.reduce(function(t,e){if(e.props[l]===r&&sZ(e.props,"extendDomain")&&ec(e.props[p])&&ec(e.props[d])){var n=e.props[p],o=e.props[d];return[Math.min(t[0],n,o),Math.max(t[1],n,o)]}return t},f)}return o&&o.length&&(f=o.reduce(function(t,e){return ec(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t},f)),f},f3=new(t.i(478492)).default,f5="recharts.syncMouseEvents";function f8(t){return(f8="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f6(t,e,r){return(e=f7(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f7(t){var e=function(t,e){if("object"!=f8(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f8(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f8(e)?e:e+""}var f4=(e=function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");f6(this,"activeIndex",0),f6(this,"coordinateList",[]),f6(this,"layout","horizontal")},r=[{key:"setDetails",value:function(t){var e,r=t.coordinateList,n=void 0===r?null:r,o=t.container,i=void 0===o?null:o,a=t.layout,u=void 0===a?null:a,c=t.offset,l=void 0===c?null:c,s=t.mouseHandlerCallback,f=void 0===s?null:s;this.coordinateList=null!=(e=null!=n?n:this.coordinateList)?e:[],this.container=null!=i?i:this.container,this.layout=null!=u?u:this.layout,this.offset=null!=l?l:this.offset,this.mouseHandlerCallback=null!=f?f: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(t){if(0!==this.coordinateList.length)switch(t.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(t){this.activeIndex=t}},{key:"spoofMouse",value:function(){if("horizontal"===this.layout&&0!==this.coordinateList.length){var t,e,r=this.container.getBoundingClientRect(),n=r.x,o=r.y,i=r.height,a=this.coordinateList[this.activeIndex].coordinate,u=(null==(t=window)?void 0:t.scrollX)||0,c=(null==(e=window)?void 0:e.scrollY)||0,l=o+this.offset.top+i/2+c;this.mouseHandlerCallback({pageX:n+a+u,pageY:l})}}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,f7(n.key),n)}}(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),e);function f9(t){this._context=t}function pt(t){return new f9(t)}function pe(t){return t[0]}function pr(t){return t[1]}function pn(t,e){var r=ak(!0),n=null,o=pt,i=null,a=ua(u);function u(u){var c,l,s,f=(u=aA(u)).length,p=!1;for(null==n&&(i=o(s=a())),c=0;c<=f;++c)!(c<f&&r(l=u[c],c,u))===p&&((p=!p)?i.lineStart():i.lineEnd()),p&&i.point(+t(l,c,u),+e(l,c,u));if(s)return i=null,s+""||null}return t="function"==typeof t?t:void 0===t?pe:ak(t),e="function"==typeof e?e:void 0===e?pr:ak(e),u.x=function(e){return arguments.length?(t="function"==typeof e?e:ak(+e),u):t},u.y=function(t){return arguments.length?(e="function"==typeof t?t:ak(+t),u):e},u.defined=function(t){return arguments.length?(r="function"==typeof t?t:ak(!!t),u):r},u.curve=function(t){return arguments.length?(o=t,null!=n&&(i=o(n)),u):o},u.context=function(t){return arguments.length?(null==t?n=i=null:i=o(n=t),u):n},u}function po(t,e,r){var n=null,o=ak(!0),i=null,a=pt,u=null,c=ua(l);function l(l){var s,f,p,d,h,y=(l=aA(l)).length,v=!1,m=Array(y),b=Array(y);for(null==i&&(u=a(h=c())),s=0;s<=y;++s){if(!(s<y&&o(d=l[s],s,l))===v)if(v=!v)f=s,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),p=s-1;p>=f;--p)u.point(m[p],b[p]);u.lineEnd(),u.areaEnd()}v&&(m[s]=+t(d,s,l),b[s]=+e(d,s,l),u.point(n?+n(d,s,l):m[s],r?+r(d,s,l):b[s]))}if(h)return u=null,h+""||null}function s(){return pn().defined(o).curve(a).context(i)}return t="function"==typeof t?t:void 0===t?pe:ak(+t),e="function"==typeof e?e:void 0===e?ak(0):ak(+e),r="function"==typeof r?r:void 0===r?pr:ak(+r),l.x=function(e){return arguments.length?(t="function"==typeof e?e:ak(+e),n=null,l):t},l.x0=function(e){return arguments.length?(t="function"==typeof e?e:ak(+e),l):t},l.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:ak(+t),l):n},l.y=function(t){return arguments.length?(e="function"==typeof t?t:ak(+t),r=null,l):e},l.y0=function(t){return arguments.length?(e="function"==typeof t?t:ak(+t),l):e},l.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:ak(+t),l):r},l.lineX0=l.lineY0=function(){return s().x(t).y(e)},l.lineY1=function(){return s().x(t).y(r)},l.lineX1=function(){return s().x(n).y(e)},l.defined=function(t){return arguments.length?(o="function"==typeof t?t:ak(!!t),l):o},l.curve=function(t){return arguments.length?(a=t,null!=i&&(u=a(i)),l):a},l.context=function(t){return arguments.length?(null==t?i=u=null:u=a(i=t),l):i},l}function pi(){}function pa(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function pu(t){this._context=t}function pc(t){this._context=t}function pl(t){this._context=t}f9.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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},pu.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:pa(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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);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:pa(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},pc.prototype={areaStart:pi,areaEnd:pi,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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:pa(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},pl.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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:pa(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class ps{constructor(t,e){this._context=t,this._x=e}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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function pf(t){this._context=t}pf.prototype={areaStart:pi,areaEnd:pi,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t*=1,e*=1,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function pp(t,e,r){var n=t._x1-t._x0,o=e-t._x1,i=(t._y1-t._y0)/(n||o<0&&-0),a=(r-t._y1)/(o||n<0&&-0);return((i<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs((i*o+a*n)/(n+o)))||0}function pd(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function ph(t,e,r){var n=t._x0,o=t._y0,i=t._x1,a=t._y1,u=(i-n)/3;t._context.bezierCurveTo(n+u,o+u*e,i-u,a-u*r,i,a)}function py(t){this._context=t}function pv(t){this._context=new pm(t)}function pm(t){this._context=t}function pb(t){this._context=t}function pg(t){var e,r,n=t.length-1,o=Array(n),i=Array(n),a=Array(n);for(o[0]=0,i[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)o[e]=1,i[e]=4,a[e]=4*t[e]+2*t[e+1];for(o[n-1]=2,i[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=o[e]/i[e-1],i[e]-=r,a[e]-=r*a[e-1];for(o[n-1]=a[n-1]/i[n-1],e=n-2;e>=0;--e)o[e]=(a[e]-o[e+1])/i[e];for(i[n-1]=(t[n]+o[n-1])/2,e=0;e<n-1;++e)i[e]=2*t[e+1]-o[e+1];return[o,i]}function px(t,e){this._context=t,this._t=e}function pO(t){return(pO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function pw(){return(pw=Object.assign.bind()).apply(this,arguments)}function pj(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function pS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?pj(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=pO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=pO(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==pO(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pj(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}py.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:ph(this,this._t0,pd(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(e*=1,(t*=1)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,ph(this,pd(this,r=pp(this,t,e)),r);break;default:ph(this,this._t0,r=pp(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(pv.prototype=Object.create(py.prototype)).point=function(t,e){py.prototype.point.call(this,e,t)},pm.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,o,i){this._context.bezierCurveTo(e,t,n,r,i,o)}},pb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===r)this._context.lineTo(t[1],e[1]);else for(var n=pg(t),o=pg(e),i=0,a=1;a<r;++i,++a)this._context.bezierCurveTo(n[0][i],o[0][i],n[1][i],o[1][i],t[a],e[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},px.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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}};var pP={curveBasisClosed:function(t){return new pc(t)},curveBasisOpen:function(t){return new pl(t)},curveBasis:function(t){return new pu(t)},curveBumpX:function(t){return new ps(t,!0)},curveBumpY:function(t){return new ps(t,!1)},curveLinearClosed:function(t){return new pf(t)},curveLinear:pt,curveMonotoneX:function(t){return new py(t)},curveMonotoneY:function(t){return new pv(t)},curveNatural:function(t){return new pb(t)},curveStep:function(t){return new px(t,.5)},curveStepAfter:function(t){return new px(t,1)},curveStepBefore:function(t){return new px(t,0)}},pE=function(t){return t.x===+t.x&&t.y===+t.y},pA=function(t){return t.x},pk=function(t){return t.y},pM=function(t,e){if((0,ee.default)(t))return t;var r="curve".concat((0,aB.default)(t));return("curveMonotone"===r||"curveBump"===r)&&e?pP["".concat(r).concat("vertical"===e?"Y":"X")]:pP[r]||pt},p_=function(t){var e,r=t.type,n=t.points,o=void 0===n?[]:n,i=t.baseLine,a=t.layout,u=t.connectNulls,c=void 0!==u&&u,l=pM(void 0===r?"linear":r,a),s=c?o.filter(function(t){return pE(t)}):o;if(Array.isArray(i)){var f=c?i.filter(function(t){return pE(t)}):i,p=s.map(function(t,e){return pS(pS({},t),{},{base:f[e]})});return(e="vertical"===a?po().y(pk).x1(pA).x0(function(t){return t.base.x}):po().x(pA).y1(pk).y0(function(t){return t.base.y})).defined(pE).curve(l),e(p)}return(e="vertical"===a&&ec(i)?po().y(pk).x1(pA).x0(i):ec(i)?po().x(pA).y1(pk).y0(i):pn().x(pA).y(pk)).defined(pE).curve(l),e(s)},pT=function(t){var e=t.className,r=t.points,n=t.path,o=t.pathRef;if((!r||!r.length)&&!n)return null;var i=r&&r.length?p_(t):n;return s.createElement("path",pw({},e$(t,!1),eP(t),{className:(0,f.default)("recharts-curve",e),d:i,ref:o}))};function pC(t){return(pC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.s(["Curve",0,pT],372733);var pD=["x","y","top","left","width","height","className"];function pI(){return(pI=Object.assign.bind()).apply(this,arguments)}function pN(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}var pB=function(t){var e=t.x,r=void 0===e?0:e,n=t.y,o=void 0===n?0:n,i=t.top,a=void 0===i?0:i,u=t.left,c=void 0===u?0:u,l=t.width,p=void 0===l?0:l,d=t.height,h=void 0===d?0:d,y=t.className,v=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?pN(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=pC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=pC(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==pC(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pN(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({x:r,y:o,top:a,left:c,width:p,height:h},function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,pD));return ec(r)&&ec(o)&&ec(p)&&ec(h)&&ec(a)&&ec(c)?s.default.createElement("path",pI({},e$(v,!0),{className:(0,f.default)("recharts-cross",y),d:"M".concat(r,",").concat(a,"v").concat(h,"M").concat(c,",").concat(o,"h").concat(p)})):null};function pR(t){var e=t.cx,r=t.cy,n=t.radius,o=t.startAngle,i=t.endAngle;return{points:[cL(e,r,n,o),cL(e,r,n,i)],cx:e,cy:r,radius:n,startAngle:o,endAngle:i}}function pL(t){return(pL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function pz(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function pU(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pz(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=pL(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=pL(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==pL(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pz(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function p$(t){var e,r,n,o,i=t.element,a=t.tooltipEventType,u=t.isActive,c=t.activeCoordinate,l=t.activePayload,p=t.offset,d=t.activeTooltipIndex,h=t.tooltipAxisBandSize,y=t.layout,v=t.chartName,m=null!=(r=i.props.cursor)?r:null==(n=i.type.defaultProps)?void 0:n.cursor;if(!i||!m||!u||!c||"ScatterChart"!==v&&"axis"!==a)return null;var b=pT;if("ScatterChart"===v)o=c,b=pB;else if("BarChart"===v)e=h/2,o={stroke:"none",fill:"#ccc",x:"horizontal"===y?c.x-e:p.left+.5,y:"horizontal"===y?p.top+.5:c.y-e,width:"horizontal"===y?h:p.width-1,height:"horizontal"===y?p.height-1:h},b=lf;else if("radial"===y){var g=pR(c),x=g.cx,O=g.cy,w=g.radius;o={cx:x,cy:O,startAngle:g.startAngle,endAngle:g.endAngle,innerRadius:w,outerRadius:w},b=lk}else o={points:function(t,e,r){var n,o,i,a;if("horizontal"===t)i=n=e.x,o=r.top,a=r.top+r.height;else if("vertical"===t)a=o=e.y,n=r.left,i=r.left+r.width;else if(null!=e.cx&&null!=e.cy)if("centric"!==t)return pR(e);else{var u=e.cx,c=e.cy,l=e.innerRadius,s=e.outerRadius,f=e.angle,p=cL(u,c,l,f),d=cL(u,c,s,f);n=p.x,o=p.y,i=d.x,a=d.y}return[{x:n,y:o},{x:i,y:a}]}(y,c,p)},b=pT;var j=pU(pU(pU(pU({stroke:"#ccc",pointerEvents:"none"},p),o),e$(m,!1)),{},{payload:l,payloadIndex:d,className:(0,f.default)("recharts-tooltip-cursor",m.className)});return(0,s.isValidElement)(m)?(0,s.cloneElement)(m,j):(0,s.createElement)(b,j)}var pF=["item"],pq=["children","className","width","height","style","compact","title","desc"];function pW(t){return(pW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function pX(){return(pX=Object.assign.bind()).apply(this,arguments)}function pH(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;
1!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(t,e)||pJ(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.")}()}function pV(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function pG(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pG=function(){return!!t})()}function pY(t){return(pY=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function pK(t,e){return(pK=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function pZ(t){return function(t){if(Array.isArray(t))return pQ(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||pJ(t)||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 pJ(t,e){if(t){if("string"==typeof t)return pQ(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return pQ(t,e)}}function pQ(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function p0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function p1(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p0(Object(r),!0).forEach(function(e){p2(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p0(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function p2(t,e,r){return(e=p3(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function p3(t){var e=function(t,e){if("object"!=pW(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=pW(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==pW(e)?e:e+""}var p5={xAxis:["bottom","top"],yAxis:["left","right"]},p8={width:"100%",height:"100%"},p6={x:0,y:0};function p7(t){return t}var p4=function(t,e,r,n){var o=e.find(function(t){return t&&t.index===r});if(o){if("horizontal"===t)return{x:o.coordinate,y:n.y};if("vertical"===t)return{x:n.x,y:o.coordinate};if("centric"===t){var i=o.coordinate,a=n.radius;return p1(p1(p1({},n),cL(n.cx,n.cy,a,i)),{},{angle:i,radius:a})}var u=o.coordinate,c=n.angle;return p1(p1(p1({},n),cL(n.cx,n.cy,u,c)),{},{angle:c,radius:u})}return p6},p9=function(t,e){var r=e.graphicalItems,n=e.dataStartIndex,o=e.dataEndIndex,i=(null!=r?r:[]).reduce(function(t,e){var r=e.props.data;return r&&r.length?[].concat(pZ(t),pZ(r)):t},[]);return i.length>0?i:t&&t.length&&ec(n)&&ec(o)?t.slice(n,o+1):[]};function dt(t){return"number"===t?[0,"auto"]:void 0}var de=function(t,e,r,n){var o=t.graphicalItems,i=t.tooltipAxis,a=p9(e,t);return r<0||!o||!o.length||r>=a.length?null:o.reduce(function(o,u){var c,l,s=null!=(c=u.props.data)?c:e;return(s&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(s=s.slice(t.dataStartIndex,t.dataEndIndex+1)),l=i.dataKey&&!i.allowDuplicatedCategory?em(void 0===s?a:s,i.dataKey,n):s&&s[r]||a[r])?[].concat(pZ(o),[cD(u,l)]):o},[])},dr=function(t,e,r,n){var o=n||{x:t.chartX,y:t.chartY},i="horizontal"===r?o.x:"vertical"===r?o.y:"centric"===r?o.angle:o.radius,a=t.orderedTooltipTicks,u=t.tooltipAxis,c=t.tooltipTicks,l=cr
1(i,a,c,u);if(l>=0&&c){var s=c[l]&&c[l].value,f=de(t,e,l,s),p=p4(r,a,l,o);return{activeTooltipIndex:l,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},dn=function(t,e){var r=e.axes,n=e.graphicalItems,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,u=e.dataStartIndex,c=e.dataEndIndex,l=t.layout,s=t.children,f=t.stackOffset,p=cs(l,o);return r.reduce(function(e,r){var d=void 0!==r.type.defaultProps?p1(p1({},r.type.defaultProps),r.props):r.props,h=d.type,y=d.dataKey,v=d.allowDataOverflow,m=d.allowDuplicatedCategory,b=d.scale,g=d.ticks,x=d.includeHidden,O=d[i];if(e[O])return e;var w=p9(t.data,{graphicalItems:n.filter(function(t){var e;return(i in t.props?t.props[i]:null==(e=t.type.defaultProps)?void 0:e[i])===O}),dataStartIndex:u,dataEndIndex:c}),j=w.length;(function(t,e,r){if("number"===r&&!0===e&&Array.isArray(t)){var n=null==t?void 0:t[0],o=null==t?void 0:t[1];if(n&&o&&ec(n)&&ec(o))return!0}return!1})(d.domain,v,h)&&(E=c_(d.domain,null,v),p&&("number"===h||"auto"!==b)&&(k=ce(w,y,"category")));var S=dt(h);if(!E||0===E.length){var P,E,A,k,M,_=null!=(M=d.domain)?M:S;if(y){if(E=ce(w,y,h),"category"===h&&p){var T=ey(E);m&&T?(A=E,E=(0,l7.default)(0,j)):m||(E=cC(_,E,r).reduce(function(t,e){return t.indexOf(e)>=0?t:[].concat(pZ(t),[e])},[]))}else if("category"===h)E=m?E.filter(function(t){return""!==t&&!(0,t4.default)(t)}):cC(_,E,r).reduce(function(t,e){return t.indexOf(e)>=0||""===e||(0,t4.default)(e)?t:[].concat(pZ(t),[e])},[]);else if("number"===h){var C=cc(w,n.filter(function(t){var e,r,n=i in t.props?t.props[i]:null==(e=t.type.defaultProps)?void 0:e[i],o="hide"in t.props?t.props.hide:null==(r=t.type.defaultProps)?void 0:r.hide;return n===O&&(x||!o)}),y,o,l);C&&(E=C)}p&&("number"===h||"auto"!==b)&&(k=ce(w,y,"category"))}else E=p?(0,l7.default)(0,j):a&&a[O]&&a[O].hasStack&&"number"===h?"expand"===f?[0,1]:cA(a[O].stackGroups,u,c):cl(w,n.filter(function(t){var e=i in t.props?t.props[i]:t.type.defaultProps[i],r="hide"in t.props?t.props.hide:t.type.defaultProps.hide;return e===O&&(x||!r)}),h,l,!0);"number"===h?(E=f2(s,E,O,o,g),_&&(E=c_(_,E,v))):"category"===h&&_&&E.every(function(t){return _.indexOf(t)>=0})&&(E=_)}return p1(p1({},e),{},p2({},O,p1(p1({},d),{},{axisType:o,domain:E,categoricalDomain:k,duplicateDomain:A,originalDomain:null!=(P=d.domain)?P:S,isCategorical:p,layout:l})))},{})},di=function(t,e){var r=e.graphicalItems,n=e.Axis,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,u=e.dataStartIndex,c=e.dataEndIndex,l=t.layout,s=t.children,f=p9(t.data,{graphicalItems:r,dataStartIndex:u,dataEndIndex:c}),p=f.length,d=cs(l,o),h=-1;return r.reduce(function(t,e){var y,v=(void 0!==e.type.defaultProps?p1(p1({},e.type.defaultProps),e.props):e.props)[i],m=dt("number");return t[v]?t:(h++,y=d?(0,l7.default)(0,p):a&&a[v]&&a[v].hasStack?f2(s,y=cA(a[v].stackGroups,u,c),v,o):f2(s,y=c_(m,cl(f,r.filter(function(t){var e,r,n=i in t.props?t.props[i]:null==(e=t.type.defaultProps)?void 0:e[i],o="hide"in t.props?t.props.hide:null==(r=t.type.defaultProps)?void 0:r.hide;return n===v&&!o}),"number",l),n.defaultProps.allowDataOverflow),v,o),p1(p1({},t),{},p2({},v,p1(p1({axisType:o},n.defaultProps),{},{hide:!0,orientation:(0,t9.default)(p5,"".concat(o,".").concat(h%2),null),domain:y,originalDomain:m,isCategorical:d,layout:l}))))},{})},da=function(t,e){var r=e.axisType,n=void 0===r?"xAxis":r,o=e.AxisComp,i=e.graphicalItems,a=e.stackGroups,u=e.dataStartIndex,c=e.dataEndIndex,l=t.children,s="".concat(n,"Id"),f=eB(l,o),p={};return f&&f.length?p=dn(t,{axes:f,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:u,dataEndIndex:c}):i&&i.length&&(p=di(t,{Axis:o,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:u,dataEndIndex:c})),p},du=function(t){var e=eh(t),r=cp(e,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:(0,aR.default)(r,function(t){return t.coordinate}),tooltipAxis:e,tooltipAxisBandSize:cT(e,r)}},dc=function(t){var e=t.children,r=t.defaultShowTooltip,n=eR(e,sK),o=0,i=0;return t.data&&0!==t.data.length&&(i=t.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(o=n.props.startIndex),n.props.endIndex>=0&&(i=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:i,activeTooltipIndex:-1,isTooltipActive:!!r}},dl=function(t){return"horizontal"===t?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===t?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===t?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},ds=function(t,e){var r=t.props,n=t.graphicalItems,o=t.xAxisMap,i=void 0===o?{}:o,a=t.yAxisMap,u=void 0===a?{}:a,c=r.width,l=r.height,s=r.children,f=r.margin||{},p=eR(s,sK),d=eR(s,uQ),h=Object.keys(u).reduce(function(t,e){var r=u[e],n=r.orientation;return r.mirror||r.hide?t:p1(p1({},t),{},p2({},n,t[n]+r.width))},{left:f.left||0,right:f.right||0}),y=Object.keys(i).reduce(function(t,e){var r=i[e],n=r.orientation;return r.mirror||r.hide?t:p1(p1({},t),{},p2({},n,(0,t9.default)(t,"".concat(n))+r.height))},{top:f.top||0,bottom:f.bottom||0}),v=p1(p1({},y),h),m=v.bottom;p&&(v.bottom+=p.props.height||sK.defaultProps.height),d&&e&&(v=ca(v,n,r,e));
1var b=c-v.left-v.right,g=l-v.top-v.bottom;return p1(p1({brushBottom:m},v),{},{width:Math.max(b,0),height:Math.max(g,0)})},df=function(t){var e=t.chartName,r=t.GraphicalChild,n=t.defaultTooltipEventType,o=void 0===n?"axis":n,i=t.validateTooltipEventTypes,a=void 0===i?["axis"]:i,u=t.axisComponents,c=t.legendContent,l=t.formatAxisMap,p=t.defaultProps,d=function(t,e){var r=e.graphicalItems,n=e.stackGroups,o=e.offset,i=e.updateId,a=e.dataStartIndex,c=e.dataEndIndex,l=t.barSize,s=t.layout,f=t.barGap,p=t.barCategoryGap,d=t.maxBarSize,h=dl(s),y=h.numericAxisName,v=h.cateAxisName,m=!!r&&!!r.length&&r.some(function(t){var e=eC(t&&t.type);return e&&e.indexOf("Bar")>=0}),b=[];return r.forEach(function(r,h){var g=p9(t.data,{graphicalItems:[r],dataStartIndex:a,dataEndIndex:c}),x=void 0!==r.type.defaultProps?p1(p1({},r.type.defaultProps),r.props):r.props,O=x.dataKey,w=x.maxBarSize,j=x["".concat(y,"Id")],S=x["".concat(v,"Id")],P=u.reduce(function(t,r){var n=e["".concat(r.axisType,"Map")],o=x["".concat(r.axisType,"Id")];n&&n[o]||"zAxis"===r.axisType||eK(!1);var i=n[o];return p1(p1({},t),{},p2(p2({},r.axisType,i),"".concat(r.axisType,"Ticks"),cp(i)))},{}),E=P[v],A=P["".concat(v,"Ticks")],k=n&&n[j]&&n[j].hasStack&&cE(r,n[j].stackGroups),M=eC(r.type).indexOf("Bar")>=0,_=cT(E,A),T=[],C=m&&co({barSize:l,stackGroups:n,totalSize:"xAxis"===v?P[v].width:"yAxis"===v?P[v].height:void 0});if(M){var D,I,N=(0,t4.default)(w)?d:w,B=null!=(D=null!=(I=cT(E,A,!0))?I:N)?D:0;T=ci({barGap:f,barCategoryGap:p,bandSize:B!==_?B:_,sizeList:C[S],maxBarSize:N}),B!==_&&(T=T.map(function(t){return p1(p1({},t),{},{position:p1(p1({},t.position),{},{offset:t.position.offset-B/2})})}))}var R=r&&r.type&&r.type.getComposedData;R&&b.push({props:p1(p1({},R(p1(p1({},P),{},{displayedData:g,props:t,dataKey:O,item:r,bandSize:_,barPosition:T,offset:o,stackedData:k,layout:s,dataStartIndex:a,dataEndIndex:c}))),{},p2(p2(p2({key:r.key||"item-".concat(h)},y,P[y]),v,P[v]),"animationId",i)),childIndex:eH(r,t.children),item:r})}),b},h=function(t,n){var o=t.props,i=t.dataStartIndex,a=t.dataEndIndex,c=t.updateId;if(!eL({props:o}))return null;var s=o.children,f=o.layout,p=o.stackOffset,h=o.data,y=o.reverseStackOrder,v=dl(f),m=v.numericAxisName,b=v.cateAxisName,g=eB(s,r),x=cO(h,g,"".concat(m,"Id"),"".concat(b,"Id"),p,y),O=u.reduce(function(t,e){var r="".concat(e.axisType,"Map");return p1(p1({},t),{},p2({},r,da(o,p1(p1({},e),{},{graphicalItems:g,stackGroups:e.axisType===m&&x,dataStartIndex:i,dataEndIndex:a}))))},{}),w=ds(p1(p1({},O),{},{props:o,graphicalItems:g}),null==n?void 0:n.legendBBox);Object.keys(O).forEach(function(t){O[t]=l(o,O[t],w,t.replace("Map",""),e)});var j=du(O["".concat(b,"Map")]),S=d(o,p1(p1({},O),{},{dataStartIndex:i,dataEndIndex:a,updateId:c,graphicalItems:g,stackGroups:x,offset:w}));return p1(p1({formattedGraphicalItems:S,graphicalItems:g,offset:w,stackGroups:x},j),O)},y=function(t){var r;function n(t){var r,o,i,a,u;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return a=n,u=[t],a=pY(a),p2(i=function(t,e){if(e&&("object"===pW(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,pG()?Reflect.construct(a,u||[],pY(this).constructor):a.apply(this,u)),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),p2(i,"accessibilityManager",new f4),p2(i,"handleLegendBBoxUpdate",function(t){if(t){var e=i.state,r=e.dataStartIndex,n=e.dataEndIndex,o=e.updateId;i.setState(p1({legendBBox:t},h({props:i.props,dataStartIndex:r,dataEndIndex:n,updateId:o},p1(p1({},i.state),{},{legendBBox:t}))))}}),p2(i,"handleReceiveSyncEvent",function(t,e,r){i.props.syncId===t&&(r!==i.eventEmitterSymbol||"function"==typeof i.props.syncMethod)&&i.applySyncEvent(e)}),p2(i,"handleBrushChange",function(t){var e=t.startIndex,r=t.endIndex;if(e!==i.state.dataStartIndex||r!==i.state.dataEndIndex){var n=i.state.updateId;i.setState(function(){return p1({dataStartIndex:e,dataEndIndex:r},h({props:i.props,dataStartIndex:e,dataEndIndex:r,updateId:n},i.state))}),i.triggerSyncEvent({dataStartIndex:e,dataEndIndex:r})}}),p2(i,"handleMouseEnter",function(t){var e=i.getMouseInfo(t);if(e){var r=p1(p1({},e),{},{isTooltipActive:!0});i.setState(r),i.triggerSyncEvent(r);var n=i.props.onMouseEnter;(0,ee.default)(n)&&n(r,t)}}),p2(i,"triggeredAfterMouseMove",function(t){var e=i.getMouseInfo(t),r=e?p1(p1({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};i.setState(r),i.triggerSyncEvent(r);var n=i.props.onMouseMove;(0,ee.default)(n)&&n(r,t)}),p2(i,"handleItemMouseEnter",function(t){i.setState(function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}})}),p2(i,"handleItemMouseLeave",function(){i.setState(function(){return{isTooltipActive:!1}})}),p2(i,"handleMouseMove",function(t){t.persist(),i.throttleTriggeredAfterMouseMove(t)}),p2(i,"handleMouseLeave",function(t){i.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};i.setState(e),i.triggerSyncEvent(e);var r=i.props.onMouseLeave;(0,ee.default)(r)&&r(e,t)}),p2(i,"handleOuterEvent",function(t){var e,r=eX(t),n=(0,t9.default)(i.props,"".concat(r));r&&(0,ee.default)(n)&&n(null!=(e=/.*touch.*/i.test(r)?i.getMouseInfo(t.changedTouches[0]):i.getMouseInfo(t))?e:{},t)}),p2(i,"handleClick",function(t){var e=i.getMouseInfo(t);if(e){var r=p1(p1({},e),{},{isTooltipActive:!0});i.setState(r),i.triggerSyncEvent(r);var n=i.props.onClick;(0,ee.default)(n)&&n(r,t)}}),p2(i,"handleMouseDown",function(t){var e=i.props.onMouseDown;(0,ee.default)(e)&&e(i.getMouseInfo(t),t)}),p2(i,"handleMouseUp",function(t){var e=i.props.onMouseUp;(0,ee.default)(e)&&e(i.getMouseInfo(t),t)}),p2(i,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&i.throttleTriggeredAfterMouseMove(t.changedTouches[0])}),p2(i,"handleTouchStart",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&i.handleMouseDown(t.changedTouches[0])}),p2(i,"handleTouchEnd",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&i.handleMouseUp(t.changedTouches[0])}),p2(i,"handleDoubleClick",function(t){var e=i.props.onDoubleClick;(0,ee.default)(e)&&e(i.getMouseInfo(t),t)}),p2(i,"handleContextMenu",function(t){var e=i.props.onContextMenu;(0,ee.default)(e)&&e(i.getMouseInfo(t),t)}),p2(i,"triggerSyncEvent",function(t){void 0!==i.props.syncId&&f3.emit(f5,i.props.syncId,t,i.eventEmitterSymbol)}),p2(i,"applySyncEvent",function(t){var e=i.props,r=e.layout,n=e.syncMethod,o=i.state.updateId,a=t.dataStartIndex,u=t.dataEndIndex;if(void 0!==t.dataStartIndex||void 0!==t.dataEndIndex)i.setState(p1({dataStartIndex:a,dataEndIndex:u},h({props:i.props,dataStartIndex:a,dataEndIndex:u,updateId:o},i.state)));else if(void 0!==t.activeTooltipIndex){var c=t.chartX,l=t.chartY,s=t.activeTooltipIndex,f=i.state,p=f.offset,d=f.tooltipTicks;if(!p)return;if("function"==typeof n)s=n(d,t);else if("value"===n){s=-1;for(var y=0;y<d.length;y++)if(d[y].value===t.activeLabel){s=y;break}}var v=p1(p1({},p),{},{x:p.left,y:p.top}),m=Math.min(c,v.x+v.width),b=Math.min(l,v.y+v.height),g=d[s]&&d[s].value,x=de(i.state,i.props.data,s),O=d[s]?{x:"horizontal"===r?d[s].coordinate:m,y:"horizontal"===r?b:d[s].coordinate}:p6;i.setState(p1(p1({},t),{},{activeLabel:g,activeCoordinate:O,activePayload:x,activeTooltipIndex:s}))}else i.setState(t)}),p2(i,"renderCursor",function(t){var r,n=i.state,o=n.isTooltipActive,a=n.activeCoordinate,u=n.activePayload,c=n.offset,l=n.activeTooltipIndex,f=n.tooltipAxisBandSize,p=i.getTooltipEventType(),d=null!=(r=t.props.active)?r:o,h=i.props.layout,y=t.key||"_recharts-cursor";return s.default.createElement(p$,{key:y,activeCoordinate:a,activePayload:u,activeTooltipIndex:l,chartName:e,element:t,isActive:d,layout:h,offset:c,tooltipAxisBandSize:f,tooltipEventType:p})}),p2(i,"renderPolarAxis",function(t,e,r){var n=(0,t9.default)(t,"type.axisType"),o=(0,t9.default)(i.state,"".concat(n,"Map")),a=t.type.defaultProps,u=void 0!==a?p1(p1({},a),t.props):t.props,c=o&&o[u["".concat(n,"Id")]];return(0,s.cloneElement)(t,p1(p1({},c),{},{className:(0,f.default)(n,c.className),key:t.key||"".concat(e,"-").concat(r),ticks:cp(c,!0)}))}),p2(i,"renderPolarGrid",function(t){var e=t.props,r=e.radialLines,n=e.polarAngles,o=e.polarRadius,a=i.state,u=a.radiusAxisMap,c=a.angleAxisMap,l=eh(u),f=eh(c),p=f.cx,d=f.cy,h=f.innerRadius,y=f.outerRadius;return(0,s.cloneElement)(t,{polarAngles:Array.isArray(n)?n:cp(f,!0).map(function(t){return t.coordinate}),polarRadius:Array.isArray(o)?o:cp(l,!0).map(function(t){return t.coordinate}),cx:p,cy:d,innerRadius:h,outerRadius:y,key:t.key||"polar-grid",radialLines:r})}),p2(i,"renderLegend",function(){var t=i.state.formattedGraphicalItems,e=i.props,r=e.children,n=e.width,o=e.height,a=i.props.margin||{},u=u3({children:r,formattedGraphicalItems:t,legendWidth:n-(a.left||0)-(a.right||0),legendContent:c});if(!u)return null;var l=u.item,f=pV(u,pF);return(0,s.cloneElement)(l,p1(p1({},f),{}
1,{chartWidth:n,chartHeight:o,margin:a,onBBoxUpdate:i.handleLegendBBoxUpdate}))}),p2(i,"renderTooltip",function(){var t,e=i.props,r=e.children,n=e.accessibilityLayer,o=eR(r,sM);if(!o)return null;var a=i.state,u=a.isTooltipActive,c=a.activeCoordinate,l=a.activePayload,f=a.activeLabel,p=a.offset,d=null!=(t=o.props.active)?t:u;return(0,s.cloneElement)(o,{viewBox:p1(p1({},p),{},{x:p.left,y:p.top}),active:d,label:f,payload:d?l:[],coordinate:c,accessibilityLayer:n})}),p2(i,"renderBrush",function(t){var e=i.props,r=e.margin,n=e.data,o=i.state,a=o.offset,u=o.dataStartIndex,c=o.dataEndIndex,l=o.updateId;return(0,s.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:ch(i.handleBrushChange,t.props.onChange),data:n,x:ec(t.props.x)?t.props.x:a.left,y:ec(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:ec(t.props.width)?t.props.width:a.width,startIndex:u,endIndex:c,updateId:"brush-".concat(l)})}),p2(i,"renderReferenceElement",function(t,e,r){if(!t)return null;var n=i.clipPathId,o=i.state,a=o.xAxisMap,u=o.yAxisMap,c=o.offset,l=t.type.defaultProps||{},f=t.props,p=f.xAxisId,d=void 0===p?l.xAxisId:p,h=f.yAxisId,y=void 0===h?l.yAxisId:h;return(0,s.cloneElement)(t,{key:t.key||"".concat(e,"-").concat(r),xAxis:a[d],yAxis:u[y],viewBox:{x:c.left,y:c.top,width:c.width,height:c.height},clipPathId:n})}),p2(i,"renderActivePoints",function(t){var e=t.item,r=t.activePoint,o=t.basePoint,i=t.childIndex,a=t.isRange,u=[],c=e.props.key,l=void 0!==e.item.type.defaultProps?p1(p1({},e.item.type.defaultProps),e.item.props):e.item.props,s=l.activeDot,f=p1(p1({index:i,dataKey:l.dataKey,cx:r.x,cy:r.y,r:4,fill:cn(e.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value},e$(s,!1)),eP(s));return u.push(n.renderActiveDot(s,f,"".concat(c,"-activePoint-").concat(i))),o?u.push(n.renderActiveDot(s,p1(p1({},f),{},{cx:o.x,cy:o.y}),"".concat(c,"-basePoint-").concat(i))):a&&u.push(null),u}),p2(i,"renderGraphicChild",function(t,e,r){var n=i.filterFormatItem(t,e,r);if(!n)return null;var o=i.getTooltipEventType(),a=i.state,u=a.isTooltipActive,c=a.tooltipAxis,l=a.activeTooltipIndex,f=a.activeLabel,p=eR(i.props.children,sM),d=n.props,h=d.points,y=d.isRange,v=d.baseLine,m=void 0!==n.item.type.defaultProps?p1(p1({},n.item.type.defaultProps),n.item.props):n.item.props,b=m.activeDot,g=m.hide,x=m.activeBar,O=m.activeShape,w=!!(!g&&u&&p&&(b||x||O)),j={};"axis"!==o&&p&&"click"===p.props.trigger?j={onClick:ch(i.handleItemMouseEnter,t.props.onClick)}:"axis"!==o&&(j={onMouseLeave:ch(i.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:ch(i.handleItemMouseEnter,t.props.onMouseEnter)});var S=(0,s.cloneElement)(t,p1(p1({},n.props),j));if(w)if(l>=0){if(c.dataKey&&!c.allowDuplicatedCategory){var P="function"==typeof c.dataKey?function(t){return"function"==typeof c.dataKey?c.dataKey(t.payload):null}:"payload.".concat(c.dataKey.toString());A=em(h,P,f),k=y&&v&&em(v,P,f)}else A=null==h?void 0:h[l],k=y&&v&&v[l];if(O||x){var E=void 0!==t.props.activeIndex?t.props.activeIndex:l;return[(0,s.cloneElement)(t,p1(p1(p1({},n.props),j),{},{activeIndex:E})),null,null]}if(!(0,t4.default)(A))return[S].concat(pZ(i.renderActivePoints({item:n,activePoint:A,basePoint:k,childIndex:l,isRange:y})))}else{var A,k,M,_=(null!=(M=i.getItemByXY(i.state.activeCoordinate))?M:{graphicalItem:S}).graphicalItem,T=_.item,C=void 0===T?t:T,D=_.childIndex,I=p1(p1(p1({},n.props),j),{},{activeIndex:D});return[(0,s.cloneElement)(C,I),null,null]}return y?[S,null,null]:[S,null]}),p2(i,"renderCustomized",function(t,e,r){return(0,s.cloneElement)(t,p1(p1({key:"recharts-customized-".concat(r)},i.props),i.state))}),p2(i,"renderMap",{CartesianGrid:{handler:p7,once:!0},ReferenceArea:{handler:i.renderReferenceElement},ReferenceLine:{handler:p7},ReferenceDot:{handler:i.renderReferenceElement},XAxis:{handler:p7},YAxis:{handler:p7},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!=(r=t.id)?r:ep("recharts"),"-clip"),i.throttleTriggeredAfterMouseMove=(0,l4.default)(i.triggeredAfterMouseMove,null!=(o=t.throttleDelay)?o:1e3/60),i.state={},i}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&pK(n,t),r=[{key:"componentDidMount",value:function(){var t,e;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!=(t=this.props.margin.left)?t:0,top:null!=(e=this.props.margin.top)?e:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var t=this.props,e=t.children,r=t.data,n=t.height,o=t.layout,i=eR(e,sM);if(i){var a=i.props.defaultIndex;if("number"==typeof a&&!(a<0)&&!(a>this.state.tooltipTicks.length-1)){var u=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,c=de(this.state,r,a,u),l=this.state.tooltipTicks[a].coordinate,
1s=(this.state.offset.top+n)/2,f="horizontal"===o?{x:l,y:s}:{y:l,x:s},p=this.state.formattedGraphicalItems.find(function(t){return"Scatter"===t.item.type.name});p&&(f=p1(p1({},f),p.props.points[a].tooltipPosition),c=p.props.points[a].tooltipPayload);var d={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:u,activePayload:c,activeCoordinate:f};this.setState(d),this.renderCursor(i),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(t,e){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==e.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==t.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==t.margin){var r,n;this.accessibilityManager.setDetails({offset:{left:null!=(r=this.props.margin.left)?r:0,top:null!=(n=this.props.margin.top)?n:0}})}return null}},{key:"componentDidUpdate",value:function(t){eF([eR(t.children,sM)],[eR(this.props.children,sM)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=eR(this.props.children,sM);if(t&&"boolean"==typeof t.props.shared){var e=t.props.shared?"axis":"item";return a.indexOf(e)>=0?e:o}return o}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=this.container,r=e.getBoundingClientRect(),n={top:r.top+window.scrollY-document.documentElement.clientTop,left:r.left+window.scrollX-document.documentElement.clientLeft},o={chartX:Math.round(t.pageX-n.left),chartY:Math.round(t.pageY-n.top)},i=r.width/e.offsetWidth||1,a=this.inRange(o.chartX,o.chartY,i);if(!a)return null;var u=this.state,c=u.xAxisMap,l=u.yAxisMap,s=this.getTooltipEventType(),f=dr(this.state,this.props.data,this.props.layout,a);if("axis"!==s&&c&&l){var p=eh(c).scale,d=eh(l).scale,h=p&&p.invert?p.invert(o.chartX):null,y=d&&d.invert?d.invert(o.chartY):null;return p1(p1({},o),{},{xValue:h,yValue:y},f)}return f?p1(p1({},o),f):null}},{key:"inRange",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,o=t/r,i=e/r;if("horizontal"===n||"vertical"===n){var a=this.state.offset;return o>=a.left&&o<=a.left+a.width&&i>=a.top&&i<=a.top+a.height?{x:o,y:i}:null}var u=this.state,c=u.angleAxisMap,l=u.radiusAxisMap;return c&&l?cF({x:o,y:i},eh(c)):null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=eR(t,sM),n={};return r&&"axis"===e&&(n="click"===r.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}),p1(p1({},eP(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){f3.on(f5,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){f3.removeListener(f5,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(t,e,r){for(var n=this.state.formattedGraphicalItems,o=0,i=n.length;o<i;o++){var a=n[o];if(a.item===t||a.props.key===t.key||e===eC(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,r=e.left,n=e.top,o=e.height,i=e.width;return s.default.createElement("defs",null,s.default.createElement("clipPath",{id:t},s.default.createElement("rect",{x:r,y:n,height:o,width:i})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=pH(e,2),n=r[0],o=r[1];return p1(p1({},t),{},p2({},n,o.scale))},{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=pH(e,2),n=r[0],o=r[1];return p1(p1({},t),{},p2({},n,o.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(t){var e;return null==(e=this.state.xAxisMap)||null==(e=e[t])?void 0:e.scale}},{key:"getYScaleByAxisId",value:function(t){var e;return null==(e=this.state.yAxisMap)||null==(e=e[t])?void 0:e.scale}},{key:"getItemByXY",value:function(t){var e=this.state,r=e.formattedGraphicalItems,n=e.activeItem;if(r&&r.length)for(var o=0,i=r.length;o<i;o++){var a=r[o],u=a.props,c=a.item,l=void 0!==c.type.defaultProps?p1(p1({},c.type.defaultProps),c.props):c.props,s=eC(c.type);if("Bar"===s){var f=(u.data||[]).find(function(e){return ll(t,e)});if(f)return{graphicalItem:a,payload:f}}else if("RadialBar"===s){var p=(u.data||[]).find(function(e){return cF(t,e)});if(p)return{graphicalItem:a,payload:p}}else if(lN(a,n)||lB(a,n)||lR(a,n)){var d=function(t){var e,r,n,o=t.activeTooltipItem,i=t.graphicalItem,a=t.itemData,u=(lN(i,o)?e="trapezoids":lB(i,o)?e="sectors":lR(i,o)&&(e="points"),e),c=lN(i,o)?null==(r=o.tooltipPayload)||null==(r=r[0])||null==(r=r.payload)?void 0:r.payload:lB(i,o)?null==(n=o.tooltipPayload)||null==(n=n[0])||null==(n=n.payload)?void 0:n.payload:lR(i,o)?o.payload:{},l=a.filter(function(t,e){var r=(0,t7.default)(c,t),n=i.props[u].filter(function(t){var e;return(lN(i,o)?e=lL:lB(i,o)?e=lz:lR(i,o)&&(e=lU),e)(t,o)}),a=i.props[u].indexOf(n[n.length-1]);return r&&e===a});return a.indexOf(l[l.length-1])}({graphicalItem:a,activeTooltipItem:n,itemData:l.data}),h=void 0===l.activeIndex?d:l.activeIndex;return{graphicalItem:p1(p1({},a),{},{childIndex:h}),payload:lR(a,n)?l.data[d]:a.props.data[d]}}}return null}},{key:"render",value:function(){var t,e,r=this;if(!eL(this))return null;var n=this.props,o=n.children,i=n.className,a=n.width,u=n.height,c=n.style,l=n.compact,p=n.title,d=n.desc,h=e$(pV(n,pq),!1);if(l)return s.default.createElement(fj,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},s.default.createElement(ut,pX({},h,{width:a,height:u,title:p,desc:d}),this.renderClipPath(),eW(o,this.renderMap)));this.props.accessibilityLayer&&(h.tabIndex=null!=(t=this.props.tabIndex)?t:0,h.role=null!=(e=this.props.role)?e:"application",h.onKeyDown=function(t){r.accessibilityManager.keyboardEvent(t)},h.onFocus=function(){r.accessibilityManager.focus()});var y=this.parseEventsOfWrapper();return s.default.createElement(fj,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},s.default.createElement("div",pX({className:(0,f.default)("recharts-wrapper",i),style:p1({position:"relative",curs
1or:"default",width:a,height:u},c)},y,{ref:function(t){r.container=t}}),s.default.createElement(ut,pX({},h,{width:a,height:u,title:p,desc:d,style:p8}),this.renderClipPath(),eW(o,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,p3(n.key),n)}}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(s.Component);p2(y,"displayName",e),p2(y,"defaultProps",p1({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},p)),p2(y,"getDerivedStateFromProps",function(t,e){var r=t.dataKey,n=t.data,o=t.children,i=t.width,a=t.height,u=t.layout,c=t.stackOffset,l=t.margin,s=e.dataStartIndex,f=e.dataEndIndex;if(void 0===e.updateId){var p=dc(t);return p1(p1(p1({},p),{},{updateId:0},h(p1(p1({props:t},p),{},{updateId:0}),e)),{},{prevDataKey:r,prevData:n,prevWidth:i,prevHeight:a,prevLayout:u,prevStackOffset:c,prevMargin:l,prevChildren:o})}if(r!==e.prevDataKey||n!==e.prevData||i!==e.prevWidth||a!==e.prevHeight||u!==e.prevLayout||c!==e.prevStackOffset||!eg(l,e.prevMargin)){var d=dc(t),y={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},v=p1(p1({},dr(e,n,u)),{},{updateId:e.updateId+1}),m=p1(p1(p1({},d),y),v);return p1(p1(p1({},m),h(p1({props:t},m),e)),{},{prevDataKey:r,prevData:n,prevWidth:i,prevHeight:a,prevLayout:u,prevStackOffset:c,prevMargin:l,prevChildren:o})}if(!eF(o,e.prevChildren)){var b,g,x,O,w=eR(o,sK),j=w&&null!=(b=null==(g=w.props)?void 0:g.startIndex)?b:s,S=w&&null!=(x=null==(O=w.props)?void 0:O.endIndex)?x:f,P=(0,t4.default)(n)||j!==s||S!==f?e.updateId+1:e.updateId;return p1(p1({updateId:P},h(p1(p1({props:t},e),{},{updateId:P,dataStartIndex:j,dataEndIndex:S}),e)),{},{prevChildren:o,dataStartIndex:j,dataEndIndex:S})}return null}),p2(y,"renderActiveDot",function(t,e,r){var n;return n=(0,s.isValidElement)(t)?(0,s.cloneElement)(t,e):(0,ee.default)(t)?t(e):s.default.createElement(sT,e),s.default.createElement(eY,{className:"recharts-active-dot",key:r},n)});var v=(0,s.forwardRef)(function(t,e){return s.default.createElement(y,pX({},t,{ref:e}))});return v.displayName=y.displayName,v};function dp(t,e,r){if(e<1)return[];if(1===e&&void 0===r)return t;for(var n=[],o=0;o<t.length;o+=e)if(void 0!==r&&!0!==r(t[o]))return;else n.push(t[o]);return n}function dd(t,e,r,n,o){if(t*e<t*n||t*e>t*o)return!1;var i=r();return t*(e-t*i/2-n)>=0&&t*(e+t*i/2-o)<=0}function dh(t){return(dh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function dy(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function dv(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?dy(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=dh(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dh(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dh(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dy(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function dm(t,e,r){var n,o,i,a,u,c=t.tick,l=t.ticks,s=t.viewBox,f=t.minTickGap,p=t.orientation,d=t.interval,h=t.tickFormatter,y=t.unit,v=t.angle;if(!l||!l.length||!c)return[];if(ec(d)||e9.isSsr)return dp(l,("number"==typeof d&&ec(d)?d:0)+1);var m="top"===p||"bottom"===p?"width":"height",b=y&&"width"===m?ra(y,{fontSize:e,letterSpacing:r}):{width:0,height:0},g=function(t,n){var o,i=(0,ee.default)(h)?h(t.value,n):t.value;return"width"===m?(o=ra(i,{fontSize:e,letterSpacing:r}),fe({width:o.width+b.width,height:o.height+b.height},v)):ra(i,{fontSize:e,letterSpacing:r})[m]},x=l.length>=2?ea(l[1].coordinate-l[0].coordinate):1,O=(n="width"===m,o=s.x,i=s.y,a=s.width,u=s.height,1===x?{start:n?o:i,end:n?o+a:i+u}:{start:n?o+a:i+u,end:n?o:i});return"equidistantPreserveStart"===d?function(t,e,r,n,o){for(var i,a=(n||[]).slice(),u=e.start,c=e.end,l=0,s=1,f=u;s<=a.length;)if(i=function(){var e,i=null==n?void 0:n[l];if(void 0===i)return{v:dp(n,s)};var a=l,p=function(){return void 0===e&&(e=r(i,a)),e},d=i.coordinate,h=0===l||dd(t,d,p,f,c);h||(l=0,f=u,s+=1),h&&(f=d+t*(p()/2+o),l+=s)}())return i.v;return[]}(x,O,g,l,f):("preserveStart"===d||"preserveStartEnd"===d?function(t,e,r,n,o,i){var a=(n||[]).slice(),u=a.length,c=e.start,l=e.end;if(i){var s=n[u-1],f=r(s,u-1),p=t*(s.coordinate+t*f/2-l);a[u-1]=s=dv(dv({},s),{},{tickCoord:p>0?s.coordinate-p*t:s.coordinate}),dd(t,s.tickCoord,function(){return f},c,l)&&(l=s.tickCoord-t*(f/2+o),a[u-1]=dv(dv({},s),{},{isShow:!0}
1))}for(var d=i?u-1:u,h=function(e){var n,i=a[e],u=function(){return void 0===n&&(n=r(i,e)),n};if(0===e){var s=t*(i.coordinate-t*u()/2-c);a[e]=i=dv(dv({},i),{},{tickCoord:s<0?i.coordinate-s*t:i.coordinate})}else a[e]=i=dv(dv({},i),{},{tickCoord:i.coordinate});dd(t,i.tickCoord,u,c,l)&&(c=i.tickCoord+t*(u()/2+o),a[e]=dv(dv({},i),{},{isShow:!0}))},y=0;y<d;y++)h(y);return a}(x,O,g,l,f,"preserveStartEnd"===d):function(t,e,r,n,o){for(var i=(n||[]).slice(),a=i.length,u=e.start,c=e.end,l=function(e){var n,l=i[e],s=function(){return void 0===n&&(n=r(l,e)),n};if(e===a-1){var f=t*(l.coordinate+t*s()/2-c);i[e]=l=dv(dv({},l),{},{tickCoord:f>0?l.coordinate-f*t:l.coordinate})}else i[e]=l=dv(dv({},l),{},{tickCoord:l.coordinate});dd(t,l.tickCoord,s,u,c)&&(c=l.tickCoord-t*(s()/2+o),i[e]=dv(dv({},l),{},{isShow:!0}))},s=a-1;s>=0;s--)l(s);return i}(x,O,g,l,f)).filter(function(t){return t.isShow})}t.s(["generateCategoricalChart",0,df],883966);var db=["viewBox"],dg=["viewBox"],dx=["ticks"];function dO(t){return(dO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function dw(){return(dw=Object.assign.bind()).apply(this,arguments)}function dj(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function dS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?dj(Object(r),!0).forEach(function(e){d_(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dj(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function dP(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function dE(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,dT(n.key),n)}}function dA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dA=function(){return!!t})()}function dk(t){return(dk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function dM(t,e){return(dM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function d_(t,e,r){return(e=dT(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function dT(t){var e=function(t,e){if("object"!=dO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dO(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dO(e)?e:e+""}var dC=function(t){var e,r;function n(t){var e,r,o;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return r=n,o=[t],r=dk(r),(e=function(t,e){if(e&&("object"===dO(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,dA()?Reflect.construct(r,o||[],dk(this).constructor):r.apply(this,o))).state={fontSize:"",letterSpacing:""},e}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&dM(n,t),e=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=dP
1(t,db),o=this.props,i=o.viewBox,a=dP(o,dg);return!eg(r,i)||!eg(n,a)||!eg(e,this.state)}},{key:"componentDidMount",value:function(){var t=this.layerReference;if(t){var e=t.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];e&&this.setState({fontSize:window.getComputedStyle(e).fontSize,letterSpacing:window.getComputedStyle(e).letterSpacing})}}},{key:"getTickLineCoord",value:function(t){var e,r,n,o,i,a,u=this.props,c=u.x,l=u.y,s=u.width,f=u.height,p=u.orientation,d=u.tickSize,h=u.mirror,y=u.tickMargin,v=h?-1:1,m=t.tickSize||d,b=ec(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=r=t.coordinate,a=(n=(o=l+!h*f)-v*m)-v*y,i=b;break;case"left":n=o=t.coordinate,i=(e=(r=c+!h*s)-v*m)-v*y,a=b;break;case"right":n=o=t.coordinate,i=(e=(r=c+h*s)+v*m)+v*y,a=b;break;default:e=r=t.coordinate,a=(n=(o=l+h*f)+v*m)+v*y,i=b}return{line:{x1:e,y1:n,x2:r,y2:o},tick:{x:i,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,r=e.orientation,n=e.mirror;switch(r){case"left":t=n?"start":"end";break;case"right":t=n?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,r=t.mirror,n="end";switch(e){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,i=t.orientation,a=t.mirror,u=t.axisLine,c=dS(dS(dS({},e$(this.props,!1)),e$(u,!1)),{},{fill:"none"});if("top"===i||"bottom"===i){var l=+("top"===i&&!a||"bottom"===i&&a);c=dS(dS({},c),{},{x1:e,y1:r+l*o,x2:e+n,y2:r+l*o})}else{var p=+("left"===i&&!a||"right"===i&&a);c=dS(dS({},c),{},{x1:e+p*n,y1:r,x2:e+p*n,y2:r+o})}return s.default.createElement("line",dw({},c,{className:(0,f.default)("recharts-cartesian-axis-line",(0,t9.default)(u,"className"))}))}},{key:"renderTicks",value:function(t,e,r){var o=this,i=this.props,a=i.tickLine,u=i.stroke,c=i.tick,l=i.tickFormatter,p=i.unit,d=dm(dS(dS({},this.props),{},{ticks:t}),e,r),h=this.getTickTextAnchor(),y=this.getTickVerticalAnchor(),v=e$(this.props,!1),m=e$(c,!1),b=dS(dS({},v),{},{fill:"none"},e$(a,!1)),g=d.map(function(t,e){var r=o.getTickLineCoord(t),i=r.line,g=r.tick,x=dS(dS(dS(dS({textAnchor:h,verticalAnchor:y},v),{},{stroke:"none",fill:u},m),g),{},{index:e,payload:t,visibleTicksCount:d.length,tickFormatter:l});return s.default.createElement(eY,dw({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},eE(o.props,t,e)),a&&s.default.createElement("line",dw({},b,i,{className:(0,f.default)("recharts-cartesian-axis-tick-line",(0,t9.default)(a,"className"))})),c&&n.renderTickItem(c,x,"".concat((0,ee.default)(l)?l(t.value,e):t.value).concat(p||"")))});return s.default.createElement("g",{className:"recharts-cartesian-axis-ticks"},g)}},{key:"render",value:function(){var t=this,e=this.props,r=e.axisLine,n=e.width,o=e.height,i=e.ticksGenerator,a=e.className;if(e.hide)return null;var u=this.props,c=u.ticks,l=dP(u,dx),p=c;return((0,ee.default)(i)&&(p=i(c&&c.length>0?this.props:l)),n<=0||o<=0||!p||!p.length)?null:s.default.createElement(eY,{className:(0,f.default)("recharts-cartesian-axis",a),ref:function(e){t.layerReference=e}},r&&this.renderAxisLine(),this.renderTicks(p,this.state.fontSize,this.state.letterSpacing),cQ.renderCallByParent(this.props))}}],r=[{key:"renderTickItem",value:function(t,e,r){var n=(0,f.default)(e.className,"recharts-cartesian-axis-tick-value");return s.default.isValidElement(t)?s.default.cloneElement(t,dS(dS({},e),{},{className:n})):(0,ee.default)(t)?t(dS(dS({},e),{},{className:n})):s.default.createElement(rD,dw({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],e&&dE(n.prototype,e),r&&dE(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(s.Component);function dD(t){return(dD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}d_(dC,"displayName","CartesianAxis"),d_(dC,"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
1:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});function dI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dI=function(){return!!t})()}function dN(t){return(dN=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function dB(t,e){return(dB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function dR(t,e,r){return(e=dL(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function dL(t){var e=function(t,e){if("object"!=dD(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dD(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dD(e)?e:e+""}function dz(){return(dz=Object.assign.bind()).apply(this,arguments)}function dU(t){var e=t.xAxisId,r=fA(),n=fk(),o=fS(e);return null==o?null:s.createElement(dC,dz({},o,{className:(0,f.default)("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return cp(t,!0)}}))}var d$=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=dN(t),function(t,e){if(e&&("object"===dD(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,dI()?Reflect.construct(t,e||[],dN(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&dB(r,t),e=[{key:"render",value:function(){return s.createElement(dU,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,dL(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(s.Component);function dF(t){return(dF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}dR(d$,"displayName","XAxis"),dR(d$,"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}),t.s(["XAxis",0,d$],785183);function dq(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dq=function(){return!!t})()}function dW(t){return(dW=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function dX(t,e){return(dX=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function dH(t,e,r){return(e=dV(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function dV(t){var e=function(t,e){if("object"!=dF(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dF(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dF(e)?e:e+""}function dG(){return(dG=Object.assign.bind()).apply(this,arguments)}var dY=function(t){var e=t.yAxisId,r=fA(),n=fk(),o=fE(e);return null==o?null:s.createElement(dC,dG({},o,{className:(0,f.default)("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return cp(t,!0)}}))},dK=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=dW(t),function(t,e){if(e&&("object"===dF(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,dq()?Reflect.construct(t,e||[],dW(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&dX(r,t),e=[{key:"render",value:function(){return s.createElement(dY,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,dV(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(s.Component);dH(dK,"displayName","YAxis"),dH(dK,"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}),t.s(["YAxis",0,dK],93230);var dZ=df({chartName:"BarChart",GraphicalChild:l6,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:d$},{axisType:"yAxis",AxisComp:dK}],formatAxisMap:s6});t.s(["BarChart",0,dZ],509694);var dJ=["x1","y1","x2","y2","key"],dQ=["offset"];function d0(t){return(d0="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d1(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function d2(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?d1(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=d0(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=d0(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==d0(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d1(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function d3(){return(d3=Object.assign.bind()).apply(this,arguments)}function d5(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var d8=function(t){var e=t.fill;if(!e||"none"===e)return null;var r=t.fillOpacity,n=t.x,o=t.y,i=t.width,a=t.height,u=t.ry;return s.default.createElement("rect",{x:n,y:o,ry:u,width:i,height:a,stroke:"none",fill:e,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function d6(t,e){var r;if(s.default.isValidElement(t))r=s.default.cloneElement(t,e);else if((0,ee.default)(t))r=t(e);else{var n=e.x1,o=e.y1,i=e.x2,a=e.y2,u=e.key,c=e$(d5(e,dJ),!1),l=(c.offset,d5(c,dQ));r=s.default.createElement("line",d3({},l,{x1:n,y1:o,x2:i,y2:a,fill:"none",key:u}))}return r}function d7(t){var e=t.x,r=t.width,n=t.horizontal,o=void 0===n||n,i=t.horizontalPoints;if(!o||!i||!i.length)return null;var a=i.map(function(n,i){return d6(o,d2(d2({},t),{},{x1:e,y1:n,x2:e+r,y2:n,key:"line-".concat(i),index:i}))});return s.default.createElement("g",{className:"recharts-cartesian-grid-horizontal"},a)}function d4(t){var e=t.y,r=t.height,n=t.vertical,o=void 0===n||n,i=t.verticalPoints;if(!o||!i||!i.length)return null;var a=i.map(function(n,i){return d6(o,d2(d2({},t),{},{x1:n,y1:e,x2:n,y2:e+r,key:"line-".concat(i),index:i}))});return s.default.createElement("g",{className:"recharts-cartesian-grid-vertical"},a)}function d9(t){var e=t.horizontalFill,r=t.fillOpacity,n=t.x,o=t.y,i=t.width,a=t.height,u=t.horizontalPoints,c=t.horizontal;if(!(void 0===c||c)||!e||!e.length)return null;var l=u.map(function(t){return Math.round(t+o-o)}).sort(function(t,e){return t-e});o!==l[0]&&l.unshift(0);var f=l.map(function(t,u){var c=l[u+1]?l[u+1]-t:o+a-t;if(c<=0)return null;var f=u%e.length;return s.default.createElement("rect",{key:"react-".concat(u),y:t,x:n,height:c,width:i,stroke:"none",fill:e[f],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return s.default.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},f)}function ht(t){var e=t.vertical,r=t.verticalFill,n=t.fillOpacity,o=t.x,i=t.y,a=t.width,u=t.height,c=t.verticalPoints;if(!(void 0===e||e)||!r||!r.length)return null;var l=c.map(function(t){return Math.round(t+o-o)}).sort(function(t,e){return t-e});o!==l[0]&&l.unshift(0);var f=l.map(function(t,e){var c=l[e+1]?l[e+1]-t:o+a-t;if(c<=0)return null;var f=e%r.length;return s.default.createElement("rect",{key:"react-".concat(e),x:t,y:i,width:c,height:u,stroke:"none",fill:r[f],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return s.default.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},f)}var he=function(t,e){var r=t.xAxis,n=t.width,o=t.height,i=t.offset;return cf(dm(d2(d2(d2({},dC.defaultProps),r),{},{ticks:cp(r,!0),viewBox:{x:0,y:0,width:n,height:o}})),i.left,i.left+i.width,e)},hr=function(t,e){var r=t.yAxis,n=t.width,o=t.height,i=t.offset;return cf(dm(d2(d2(d2({},dC.defaultProps),r),{},{ticks:cp(r,!0),viewBox:{x:0,y:0,width:n,height:o}})),i.top,i.top+i.height,e)},hn=[],ho=[];function hi(t){var e,r,n,o,i,a,u=fA(),c=fk(),l=(0,s.useContext)(fg),f=d2(d2({},t),{},{stroke:null!=(e=t.stroke)?e:"#ccc",fill:null!=(r=t.fill)?r:"none",horizontal:null==(n=t.horizontal)||n,horizontalFill:null!=(o=t.horizontalFill)?o:ho,vertical:null==(i=t.vertical)||i,verticalFill:null!=(a=t.verticalFill)?a:hn,x:ec(t.x)?t.x:l.left,y:ec(t.y)?t.y:l.top,width:ec(t.width)?t.width:l.width,height:ec(t.height)?t.height:l.height}),p=f.x,d=f.y,h=f.width,y=f.height,v=f.syncWithTicks,m=f.horizontalValues,b=f.verticalValues,g=eh((0,s.useContext)(fv)),x=fP();if(!ec(h)||h<=0||!ec(y)||y<=0||!ec(p)||p!==+p||!ec(d)||d!==+d)return null;var O=f.verticalCoordinatesGenerator||he,w=f.horizontalCoordinatesGenerator||hr,j=f.horizontalPoints,S=f.verticalPoints;if((!j||!j.length)&&(0,ee.default)(w)){var P=m&&m.length,E=w({yAxis:x?d2(d2({},x),{},{ticks:P?m:x.ticks}):void 0,width:u,height:c,offset:l},!!P||v);a7(Array.isArray(E),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(d0(E),"]")),Array.isArray(E)&&(j=E)}if((!S||!S.length)&&(0,ee.default)(O)){var A=b&&b.length,k=O({xAxis:g?d2(d2({},g),{},{ticks:A?b:g.ticks}):void 0,width:u,height:c,offset:l},!!A||v);a7(Array.isArray(k),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(d0(k),"]")),Array.isArray(k)&&(S=k)}return s.default.createElement("g",{className:"recharts-cartesian-grid"},s.default.createElement(d8,{fill:f.fill,fillOpacity:f.fillOpacity,x:f.x,y:f.y,width:f.width,height:f.height,ry:f.ry}),s.default.createElement(d7,d3({},f,{offset:l,horizontalPoints:j,xAxis:g,yAxis:x})),s.default.createElement(d4,d3({},f,{offset:l,verticalPoints:S,xAxis:g,yAxis:x})),s.default.createElement(d9,d3({},f,{horizontalPoints:j})),s.default.createElement(ht,d3({},f,{verticalPoints:S})))}
1hi.displayName="CartesianGrid",t.s(["CartesianGrid",0,hi],872526);var ha=t.i(843476);function hu(t){return(hu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function hc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function hl(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?hc(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=hu(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=hu(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==hu(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hc(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function hs(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var hf=(0,s.forwardRef)(function(t,e){var r,n=t.aspect,o=t.initialDimension,i=void 0===o?{width:-1,height:-1}:o,a=t.width,u=void 0===a?"100%":a,c=t.height,l=void 0===c?"100%":c,p=t.minWidth,d=void 0===p?0:p,h=t.minHeight,y=t.maxHeight,v=t.children,m=t.debounce,b=void 0===m?0:m,g=t.id,x=t.className,O=t.onResize,w=t.style,j=(0,s.useRef)(null),S=(0,s.useRef)();S.current=O,(0,s.useImperativeHandle)(e,function(){return Object.defineProperty(j.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),j.current},configurable:!0})});var P=function(t){if(Array.isArray(t))return t}(r=(0,s.useState)({containerWidth:i.width,containerHeight:i.height}))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,o,i,a=[],u=!0,c=!1;try{o=(e=e.call(t)).next,!1;for(;!(u=(r=o.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){c=!0,n=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw n}}return a}}(r)||function(t){if(t){if("string"==typeof t)return hs(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return hs(t,2)}}(r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),E=P[0],A=P[1],k=(0,s.useCallback)(function(t,e){A(function(r){var n=Math.round(t),o=Math.round(e);return r.containerWidth===n&&r.containerHeight===o?r:{containerWidth:n,containerHeight:o}})},[]);(0,s.useEffect)(function(){var t=function(t){var e,r=t[0].contentRect,n=r.width,o=r.height;k(n,o),null==(e=S.current)||e.call(S,n,o)};b>0&&(t=(0,l4.default)(t,b,{trailing:!0,leading:!1}));var e=new ResizeObserver(t),r=j.current.getBoundingClientRect();return k(r.width,r.height),e.observe(j.current),function(){e.disconnect()}},[k,b]);var M=(0,s.useMemo)(function(){var t=E.containerWidth,e=E.containerHeight;if(t<0||e<0)return null;a7(eu(u)||eu(l),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",u,l),a7(!n||n>0,"The aspect(%s) must be greater than zero.",n);var r=eu(u)?t:u,o=eu(l)?e:l;n&&n>0&&(r?o=r/n:o&&(r=o*n),y&&o>y&&(o=y)),a7(r>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.",r,o,u,l,d,h,n);var i=!Array.isArray(v)&&eC(v.type).endsWith("Chart");return s.default.Children.map(v,function(t){return s.default.isValidElement(t)?(0,s.cloneElement)(t,hl({width:r,height:o},i?{style:hl({height:"100%",width:"100%",maxHeight:o,maxWidth:r},t.props.style)}:{})):t})},[n,v,l,y,h,d,E,u]);return s.default.createElement("div",{id:g?"".concat(g):void 0,className:(0,f.default)("recharts-responsive-container",x),style:hl(hl({},void 0===w?{}:w),{},{width:u,height:l,minWidth:d,minHeight:h,maxHeight:y}),ref:j},M)}
1),hp=t.i(975157);let hd={light:"",dark:".dark"},hh=s.createContext(null);function hy(){let t=s.useContext(hh);if(!t)throw Error("useChart must be used within a <ChartContainer />");return t}let hv=s.forwardRef(({id:t,className:e,children:r,config:n,...o},i)=>{let a=s.useId(),u=`chart-${t||a.replace(/:/g,"")}`;return(0,ha.jsx)(hh.Provider,{value:{config:n},children:(0,ha.jsxs)("div",{"data-chart":u,ref:i,className:(0,hp.cn)("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",e),...o,children:[(0,ha.jsx)(hm,{id:u,config:n}),(0,ha.jsx)(hf,{children:r})]})})});hv.displayName="Chart";let hm=({id:t,config:e})=>{let r=Object.entries(e).filter(([,t])=>t.theme||t.color);return r.length?(0,ha.jsx)("style",{dangerouslySetInnerHTML:{__html:Object.entries(hd).map(([e,n])=>` 2${n} [data-chart=${t}] { 3${r.map(([t,r])=>{let n=r.theme?.[e]||r.color;return n?` --color-${t}: ${n};`:null}).join("\n")} 4} 5`).join("\n")}}):null},hb=s.forwardRef(({active:t,payload:e,className:r,indicator:n="dot",hideLabel:o=!1,hideIndicator:i=!1,label:a,labelFormatter:u,labelClassName:c,formatter:l,color:f,nameKey:p,labelKey:d},h)=>{let{config:y}=hy(),v=s.useMemo(()=>{if(o||!e?.length)return null;let[t]=e,r=`${d||t?.dataKey||t?.name||"value"}`,n=hx(y,t,r),i=d||"string"!=typeof a?n?.label:y[a]?.label||a;return u?(0,ha.jsx)("div",{className:(0,hp.cn)("font-medium",c),children:u(i,e)}):i?(0,ha.jsx)("div",{className:(0,hp.cn)("font-medium",c),children:i}):null},[a,u,e,o,c,y,d]);if(!t||!e?.length)return null;let m=1===e.length&&"dot"!==n;return(0,ha.jsxs)("div",{ref:h,className:(0,hp.cn)("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",r),children:[m?null:v,(0,ha.jsx)("div",{className:"grid gap-1.5",children:e.filter(t=>"none"!==t.type).map((t,e)=>{let r=`${p||t.name||t.dataKey||"value"}`,o=hx(y,t,r),a=f||t.payload.fill||t.color;return(0,ha.jsx)("div",{className:(0,hp.cn)("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground","dot"===n&&"items-center"),children:l&&t?.value!==void 0&&t.name?l(t.value,t.name,t,e,t.payload):(0,ha.jsxs)(ha.Fragment,{children:[o?.icon?(0,ha.jsx)(o.icon,{}):!i&&(0,ha.jsx)("div",{className:(0,hp.cn)("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===n,"w-1":"line"===n,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===n,"my-0.5":m&&"dashed"===n}),style:{"--color-bg":a,"--color-border":a}}),(0,ha.jsxs)("div",{className:(0,hp.cn)("flex flex-1 justify-between leading-none",m?"items-end":"items-center"),children:[(0,ha.jsxs)("div",{className:"grid gap-1.5",children:[m?v:null,(0,ha.jsx)("span",{className:"text-muted-foreground",children:o?.label||t.name})]}),t.value&&(0,ha.jsx)("span",{className:"font-mono font-medium tabular-nums text-foreground",children:t.value.toLocaleString()})]})]})},t.dataKey)})})]})});hb.displayName="ChartTooltip";let hg=s.forwardRef(({className:t,hideIcon:e=!1,payload:r,verticalAlign:n="bottom",nameKey:o},i)=>{let{config:a}=hy();return r?.length?(0,ha.jsx)("div",{ref:i,className:(0,hp.cn)("flex items-center justify-center gap-4","top"===n?"pb-3":"pt-3",t),children:r.filter(t=>"none"!==t.type).map(t=>{let r=`${o||t.dataKey||"value"}`,n=hx(a,t,r);return(0,ha.jsxs)("div",{className:(0,hp.cn)("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[n?.icon&&!e?(0,ha.jsx)(n.icon,{}):(0,ha.jsx)("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:t.color}}),n?.label]},t.value)})}):null});function hx(t,e,r){if("object"!=typeof e||null===e)return;let n="payload"in e&&"object"==typeof e.payload&&null!==e.payload?e.payload:void 0,o=r;return r in e&&"string"==typeof e[r]?o=e[r]:n&&r in n&&"string"==typeof n[r]&&(o=n[r]),o in t?t[o]:t[r]}hg.displayName="ChartLegend",t.s(["ChartContainer",0,hv,"ChartLegend",0,uQ,"ChartLegendContent",0,hg,"ChartTooltip",0,sM,"ChartTooltipContent",0,hb],337886)}]);
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.