1/*! For license information please see boxtest2_react.min.js.LICENSE.txt */ 2(()=>{var t={4184:(t,e)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)){if(r.length){var a=o.apply(null,r);a&&t.push(a)}}else if("object"===i){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){t.push(r.toString());continue}for(var u in r)n.call(r,u)&&r[u]&&t.push(u)}}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},9887:function(t,e,r){var n;!function(o){"use strict";var i,a=1e9,u={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},c=!0,l="[DecimalError] ",s=l+"Invalid argument: ",f=l+"Exponent out of range: ",p=Math.floor,h=Math.pow,d=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,y=1e7,v=7,m=9007199254740991,b=p(m/v),g={};function x(t,e){var r,n,o,i,a,u,l,s,f=t.constructor,p=f.precision;if(!t.s||!e.s)return e.s||(e=new f(t)),c?M(e,p):e;if(l=t.d,s=e.d,a=t.e,o=e.e,l=l.slice(),i=a-o){for(i<0?(n=l,i=-i,u=s.length):(n=s,o=a,u=l.length),i>(u=(a=Math.ceil(p/v))>u?a+1:u+1)&&(i=u,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((u=l.length)-(i=s.length)<0&&(i=u,n=s,s=l,l=n),r=0;i;)r=(l[--i]=l[i]+s[i]+r)/y|0,l[i]%=y;for(r&&(l.unshift(r),++o),u=l.length;0==l[--u];)l.pop();return e.d=l,e.e=o,c?M(e,p):e}function w(t,e,r){if(t!==~~t||t<e||t>r)throw Error(s+t)}function O(t){var e,r,n,o=t.length-1,i="",a=t[0];if(o>0){for(i+=a,e=1;e<o;e++)n=t[e]+"",(r=v-n.length)&&(i+=A(r)),i+=n;a=t[e],(r=v-(n=a+"").length)&&(i+=A(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return i+a}g.absoluteValue=g.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},g.comparedTo=g.cmp=function(t){var e,r,n,o,i=this;if(t=new i.constructor(t),i.s!==t.s)return i.s||-t.s;if(i.e!==t.e)return i.e>t.e^i.s<0?1:-1;for(e=0,r=(n=i.d.length)<(o=t.d.length)?n:o;e<r;++e)if(i.d[e]!==t.d[e])return i.d[e]>t.d[e]^i.s<0?1:-1;return n===o?0:n>o^i.s<0?1:-1},g.decimalPlaces=g.dp=function(){var t=this,e=t.d.length-1,r=(e-t.e)*v;if(e=t.d[e])for(;e%10==0;e/=10)r--;return r<0?0:r},g.dividedBy=g.div=function(t){return S(this,new this.constructor(t))},g.dividedToIntegerBy=g.idiv=function(t){var e=this.constructor;return M(S(this,new e(t),0,1),e.precision)},g.equals=g.eq=function(t){return!this.cmp(t)},g.exponent=function(){return E(this)},g.greaterThan=g.gt=function(t){return this.cmp(t)>0},g.greaterThanOrEqualTo=g.gte=function(t){return this.cmp(t)>=0},g.isInteger=g.isint=function(){return this.e>this.d.length-2},g.isNegative=g.isneg=function(){return this.s<0},g.isPositive=g.ispos=function(){return this.s>0},g.isZero=function(){return 0===this.s},g.lessThan=g.lt=function(t){return this.cmp(t)<0},g.lessThanOrEqualTo=g.lte=function(t){return this.cmp(t)<1},g.logarithm=g.log=function(t){var e,r=this,n=r.constructor,o=n.precision,a=o+5;if(void 0===t)t=new n(10);else if((t=new n(t)).s<1||t.eq(i))throw Error(l+"NaN");if(r.s<1)throw Error(l+(r.s?"NaN":"-Infinity"));return r.eq(i)?new n(0):(c=!1,e=S(k(r,a),k(t,a),a),c=!0,M(e,o))},g.minus=g.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?T(e,t):x(e,(t.s=-t.s,t))},g.modulo=g.mod=function(t){var e,r=this,n=r.constructor,o=n.precision;if(!(t=new n(t)).s)throw Error(l+"NaN");return r.s?(c=!1,e=S(r,t,0,1).times(t),c=!0,r.minus(e)):M(new n(r),o)},g.naturalExponential=g.exp=function(){return j(this)},g.naturalLogarithm=g.ln=function(){return k(this)},g.negated=g.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},g.plus=g.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?x(e,t):T(e,(t.s=-t.s,t))},g.precision=g.sd=function(t){var e,r,n,o=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(s+t);if(e=E(o)+1,r=(n=o.d.length-1)*v+1,n=o.d[n]){for(;n%10==0;n/=10)r--;for(n=o.d[0];n>=10;n/=10)r++}return t&&e>r?e:r},g.squareRoot=g.sqrt=function(){var t,e,r,n,o,i,a,u=this,s=u.constructor;if(u.s<1){if(!u.s)return new s(0);throw Error(l+"NaN")}for(t=E(u),c=!1,0==(o=Math.sqrt(+u))||o==1/0?(((e=O(u.d)).length+t)%2==0&&(e+="0"),o=Math.sqrt(e),t=p((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=a=(r=s.precision)+3;;)if(n=(i=n).plus(S(u,i,a+2)).times(.5),O(i.d).slice(0,a)===(e=O(n.d)).slice(0,a)){if
vendor: 5,407 bytes, line 2
2(e=e.slice(a-3,a+1),o==a&&"4999"==e){if(M(i,r+1,0),i.times(i).eq(u)){n=i;break}}else if("9999"!=e)break;a+=4}return c=!0,M(n,r)},g.times=g.mul=function(t){var e,r,n,o,i,a,u,l,s,f=this,p=f.constructor,h=f.d,d=(t=new p(t)).d;if(!f.s||!t.s)return new p(0);for(t.s*=f.s,r=f.e+t.e,(l=h.length)<(s=d.length)&&(i=h,h=d,d=i,a=l,l=s,s=a),i=[],n=a=l+s;n--;)i.push(0);for(n=s;--n>=0;){for(e=0,o=l+n;o>n;)u=i[o]+d[n]*h[o-n-1]+e,i[o--]=u%y|0,e=u/y|0;i[o]=(i[o]+e)%y|0}for(;!i[--a];)i.pop();return e?++r:i.shift(),t.d=i,t.e=r,c?M(t,p.precision):t},g.toDecimalPlaces=g.todp=function(t,e){var r=this,n=r.constructor;return r=new n(r),void 0===t?r:(w(t,0,a),void 0===e?e=n.rounding:w(e,0,8),M(r,t+E(r)+1,e))},g.toExponential=function(t,e){var r,n=this,o=n.constructor;return void 0===t?r=C(n,!0):(w(t,0,a),void 0===e?e=o.rounding:w(e,0,8),r=C(n=M(new o(n),t+1,e),!0,t+1)),r},g.toFixed=function(t,e){var r,n,o=this,i=o.constructor;return void 0===t?C(o):(w(t,0,a),void 0===e?e=i.rounding:w(e,0,8),r=C((n=M(new i(o),t+E(o)+1,e)).abs(),!1,t+E(n)+1),o.isneg()&&!o.isZero()?"-"+r:r)},g.toInteger=g.toint=function(){var t=this,e=t.constructor;return M(new e(t),E(t)+1,e.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(t){var e,r,n,o,a,u,s=this,f=s.constructor,h=+(t=new f(t));if(!t.s)return new f(i);if(!(s=new f(s)).s){if(t.s<1)throw Error(l+"Infinity");return s}if(s.eq(i))return s;if(n=f.precision,t.eq(i))return M(s,n);if(u=(e=t.e)>=(r=t.d.length-1),a=s.s,u){if((r=h<0?-h:h)<=m){for(o=new f(i),e=Math.ceil(n/v+4),c=!1;r%2&&D((o=o.times(s)).d,e),0!==(r=p(r/2));)D((s=s.times(s)).d,e);return c=!0,t.s<0?new f(i).div(o):M(o,n)}}else if(a<0)throw Error(l+"NaN");return a=a<0&&1&t.d[Math.max(e,r)]?-1:1,s.s=1,c=!1,o=t.times(k(s,n+12)),c=!0,(o=j(o)).s=a,o},g.toPrecision=function(t,e){var r,n,o=this,i=o.constructor;return void 0===t?n=C(o,(r=E(o))<=i.toExpNeg||r>=i.toExpPos):(w(t,1,a),void 0===e?e=i.rounding:w(e,0,8),n=C(o=M(new i(o),t,e),t<=(r=E(o))||r<=i.toExpNeg,t)),n},g.toSignificantDigits=g.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(w(t,1,a),void 0===e?e=r.rounding:w(e,0,8)),M(new r(this),t,e)},g.toString=g.valueOf=g.val=g.toJSON=function(){var t=this,e=E(t),r=t.constructor;return C(t,e<=r.toExpNeg||e>=r.toExpPos)};var S=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%y|0,n=r/y|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]?1:0,t[r]=n*y+t[r]-e[r];for(;!t[0]&&t.length>1;)t.shift()}return function(n,o,i,a){var u,c,s,f,p,h,d,m,b,g,x,w,O,S,j,P,A,k,_=n.constructor,T=n.s==o.s?1:-1,C=n.d,D=o.d;if(!n.s)return new _(n);if(!o.s)throw Error(l+"Division by zero");for(c=n.e-o.e,A=D.length,j=C.length,m=(d=new _(T)).d=[],s=0;D[s]==(C[s]||0);)++s;if(D[s]>(C[s]||0)&&--c,(w=null==i?i=_.precision:a?i+(E(n)-E(o))+1:i)<0)return new _(0);if(w=w/v+2|0,s=0,1==A)for(f=0,D=D[0],w++;(s<j||f)&&w--;s++)O=f*y+(C[s]||0),m[s]=O/D|0,f=O%D|0;else{for((f=y/(D[0]+1)|0)>1&&(D=t(D,f),C=t(C,f),A=D.length,j=C.length),S=A,g=(b=C.slice(0,A)).length;g<A;)b[g++]=0;(k=D.slice()).unshift(0),P=D[0],D[1]>=y/2&&++P;do{f=0,(u=e(D,b,A,g))<0?(x=b[0],A!=g&&(x=x*y+(b[1]||0)),(f=x/P|0)>1?(f>=y&&(f=y-1),1==(u=e(p=t(D,f),b,h=p.length,g=b.length))&&(f--,r(p,A<h?k:D,h))):(0==f&&(u=f=1),p=D.slice()),(h=p.length)<g&&p.unshift(0),r(b,p,g),-1==u&&(u=e(D,b,A,g=b.length))<1&&(f++,r(b,A<g?k:D,g)),g=b.length):0===u&&(f++,b=[0]),m[s++]=f,u&&b[0]?b[g++]=C[S]||0:(b=[C[S]],g=1)}while((S++<j||void 0!==b[0])&&w--)}return m[0]||m.shift(),d.e=c,M(d,a?i+E(d)+1:i)}}();function j(t,e){var r,n,o,a,u,l=0,s=0,p=t.constructor,d=p.precision;if(E(t)>16)throw Error(f+E(t));if(!t.s)return new p(i);for(null==e?(c=!1,u=d):u=e,a=new p(.03125);t.abs().gte(.1);)t=t.times(a),s+=5;for(u+=Math.log(h(2,s))/Math.LN10*2+5|0,r=n=o=new p(i),p.precision=u;;){if(n=M(n.times(t),u),r=r.times(++l),O((a=o.plus(S(n,r,u))).d).slice(0,u)===O(o.d).slice(0,u)){for(;s--;)o=M(o.times(o),u);return p.precision=d,null==e?(c=!0,M(o,d)):o}o=a}}function E(t){for(var e=t.e*v,r=t.d[0];r>=10;r/=10)e++;return e}function P(t,e,r){if(e>t.LN10.sd())throw c=!0,r&&(t.precision=r),Error(l+"LN10 precision limit exceeded");return M(new t(t.LN10),e)}function A(t){for(var e="";t--;)e+="0";return e}function k(t,e){var r,n,o,a,u,s,f,p,h,d=1,y=t,v=y.d,m=y.constructor,b=m.precision;if(y.s<1)throw Error(l+(y.s?"NaN":"-Infinity"));if(y.eq(i))return new m(0);if(null==e?(c=!1,p=b):p=e,y.eq(10))return null==e&&(c=!0),P(m,p);if(p+=10,m.precision=p,n=(r=O(v)).charAt(0),a=E(y),!(Math.abs(a)<15e14))return f=P(m,p+2,b).times(a+""),y=k(new m(n+"."+r.slice(1)),p-10).plus(f),m.precision=b,null==e?(c=!0,M(y,b)):y;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=O((y=y.times(t)).d)).charAt(0),d++;for(a=E(y),n>1?(y=new m("0."+r),a++):y=new m(n+"."+r.slice(1)),s=u=y=S(y.minus(i),y.plus(i),p),h=M(y.times(y),p),o=3;;){if(u=M(u.times(h),p),O((f=s.plus(S(u,new m(o),p))).d).slice(0,p)===O(s.d).slice(0,p))return s=s.times(2),0!==a&&(s=s.plus(P(m,p+2,b).times(a+""))),s=S(s,new m(d),p),m.precision=b,null==e?(c=!0,M(s,b)):s;s=f,o+=2}}function _(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;
2if(e=e.slice(n,o)){if(o-=n,r=r-n-1,t.e=p(r/v),t.d=[],n=(r+1)%v,r<0&&(n+=v),n<o){for(n&&t.d.push(+e.slice(0,n)),o-=v;n<o;)t.d.push(+e.slice(n,n+=v));e=e.slice(n),n=v-e.length}else n-=o;for(;n--;)e+="0";if(t.d.push(+e),c&&(t.e>b||t.e<-b))throw Error(f+r)}else t.s=0,t.e=0,t.d=[0];return t}function M(t,e,r){var n,o,i,a,u,l,s,d,m=t.d;for(a=1,i=m[0];i>=10;i/=10)a++;if((n=e-a)<0)n+=v,o=e,s=m[d=0];else{if((d=Math.ceil((n+1)/v))>=(i=m.length))return t;for(s=i=m[d],a=1;i>=10;i/=10)a++;o=(n%=v)-v+a}if(void 0!==r&&(u=s/(i=h(10,a-o-1))%10|0,l=e<0||void 0!==m[d+1]||s%i,l=r<4?(u||l)&&(0==r||r==(t.s<0?3:2)):u>5||5==u&&(4==r||l||6==r&&(n>0?o>0?s/h(10,a-o):0:m[d-1])%10&1||r==(t.s<0?8:7))),e<1||!m[0])return l?(i=E(t),m.length=1,e=e-i-1,m[0]=h(10,(v-e%v)%v),t.e=p(-e/v)||0):(m.length=1,m[0]=t.e=t.s=0),t;if(0==n?(m.length=d,i=1,d--):(m.length=d+1,i=h(10,v-n),m[d]=o>0?(s/h(10,a-o)%h(10,o)|0)*i:0),l)for(;;){if(0==d){(m[0]+=i)==y&&(m[0]=1,++t.e);break}if(m[d]+=i,m[d]!=y)break;m[d--]=0,i=1}for(n=m.length;0===m[--n];)m.pop();if(c&&(t.e>b||t.e<-b))throw Error(f+E(t));return t}function T(t,e){var r,n,o,i,a,u,l,s,f,p,h=t.constructor,d=h.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new h(t),c?M(e,d):e;if(l=t.d,p=e.d,n=e.e,s=t.e,l=l.slice(),a=s-n){for((f=a<0)?(r=l,a=-a,u=p.length):(r=p,n=s,u=l.length),a>(o=Math.max(Math.ceil(d/v),u)+2)&&(a=o,r.length=1),r.reverse(),o=a;o--;)r.push(0);r.reverse()}else{for((f=(o=l.length)<(u=p.length))&&(u=o),o=0;o<u;o++)if(l[o]!=p[o]){f=l[o]<p[o];break}a=0}for(f&&(r=l,l=p,p=r,e.s=-e.s),u=l.length,o=p.length-u;o>0;--o)l[u++]=0;for(o=p.length;o>a;){if(l[--o]<p[o]){for(i=o;i&&0===l[--i];)l[i]=y-1;--l[i],l[o]+=y}l[o]-=p[o]}for(;0===l[--u];)l.pop();for(;0===l[0];l.shift())--n;return l[0]?(e.d=l,e.e=n,c?M(e,d):e):new h(0)}function C(t,e,r){var n,o=E(t),i=O(t.d),a=i.length;return e?(r&&(n=r-a)>0?i=i.charAt(0)+"."+i.slice(1)+A(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+A(-o-1)+i,r&&(n=r-a)>0&&(i+=A(n))):o>=a?(i+=A(o+1-a),r&&(n=r-o-1)>0&&(i=i+"."+A(n))):((n=o+1)<a&&(i=i.slice(0,n)+"."+i.slice(n)),r&&(n=r-a)>0&&(o+1===a&&(i+="."),i+=A(n))),t.s<0?"-"+i:i}function D(t,e){if(t.length>e)return t.length=e,!0}function N(t){if(!t||"object"!=typeof t)throw Error(l+"Object expected");var e,r,n,o=["precision",1,a,"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(!(p(n)===n&&n>=o[e+1]&&n<=o[e+2]))throw Error(s+r+": "+n);this[r]=n}if(void 0!==(n=t[r="LN10"])){if(n!=Math.LN10)throw Error(s+r+": "+n);this[r]=new this(n)}return this}(u=function t(e){var r,n,o;function i(t){var e=this;if(!(e instanceof i))return new i(t);if(e.constructor=i,t instanceof i)return e.s=t.s,e.e=t.e,void(e.d=(t=t.d)?t.slice():t);if("number"==typeof t){if(0*t!=0)throw Error(s+t);if(t>0)e.s=1;else{if(!(t<0))return e.s=0,e.e=0,void(e.d=[0]);t=-t,e.s=-1}return t===~~t&&t<1e7?(e.e=0,void(e.d=[t])):_(e,t.toString())}if("string"!=typeof t)throw Error(s+t);if(45===t.charCodeAt(0)?(t=t.slice(1),e.s=-1):e.s=1,!d.test(t))throw Error(s+t);_(e,t)}if(i.prototype=g,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=N,void 0===e&&(e={}),e)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r<o.length;)e.hasOwnProperty(n=o[r++])||(e[n]=this[n]);return i.config(e),i}(u)).default=u.Decimal=u,i=new u(1),void 0===(n=function(){return u}.call(e,r,e,t))||(t.exports=n)}()},8141:(t,e,r)=>{"use strict";var n=r(4836);e.__esModule=!0,e.default=function(t,e){t.classList?t.classList.add(e):(0,o.default)(t,e)||("string"==typeof t.className?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))};var o=n(r(404));t.exports=e.default},404:(t,e)=>{"use strict";e.__esModule=!0,e.default=function(t,e){return t.classList?!!e&&t.classList.contains(e):-1!==(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" ")},t.exports=e.default},602:t=>{"use strict";function e(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}t.exports=function(t,r){t.classList?t.classList.remove(r):"string"==typeof t.className?t.className=e(t.className,r):t.setAttribute("class",e(t.className&&t.className.baseVal||"",r))}},6729:t=>{"use strict";var e=Object.prototype.hasOwnProperty,r="~";function n(){}function o(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function i(t,e,n,i,a){if("function"!=typeof n)throw new TypeError("The listener must be a function");var u=new o(n,i||t,a),c=r?r+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 a(t,e){0==--t._eventsCount?t._events=new n:delete t._events[e]}function u(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),u.prototype.eventNames=function(){var t,n,o=[];if(0===this._eventsCount)return o;for(n in t=this._events)e.call(t,n)&&o.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t)):o},u.prototype.listeners=function(t){var e=r?r+t:t,n=this._events[e];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,i=n.length,a=new Array(i);o<i;o++)a[o]=n[o].fn;return a},u.prototype.listenerCount=function(t){var e=r?r+t:t,n=this._events[e];return n?n.fn?1:n.length:0},u.prototype.emit=function(t,e,n,o,i,a){var u=r?r+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,n),!0;case 4:return s.fn.call(s.context,e,n,o),!0;case 5:return s.fn.call(s.context,e,n,o,i),!0;case 6:return s.fn.call(s.context,e,n,o,i,a),!0}for(l=1,c=new Array(f-1);l<f;l++)c[l-1]=arguments[l];s.fn.apply(s.context,c)}else{var p,h=s.length;for(l=0;l<h;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,n);break;case 4:s[l].fn.call(s[l].context,e,n,o);break;default:if(!c)for(p=1,c=new Array(f-1);p<f;p++)c[p-1]=arguments[p];s[l].fn.apply(s[l].context,c)}}return!0},u.prototype.on=function(t,e,r){return i(this,t,e,r,!1)},u.prototype.once=function(t,e,r){return i(this,t,e,r,!0)},u.prototype.removeListener=function(t,e,n,o){var i=r?r+t:t;if(!this._events[i])return this;if(!e)return a(this,i),this;var u=this._events[i];if(u.fn)u.fn!==e||o&&!u.once||n&&u.context!==n||a(this,i);else{for(var c=0,l=[],s=u.length;c<s;c++)(u[c].fn!==e||o&&!u[c].once||n&&u[c].context!==n)&&l.push(u[c]);l.length?this._events[i]=1===l.length?l[0]:l:a(this,i)}return this},u.prototype.removeAllListeners=function(t){var e;return t?(e=r?r+t:t,this._events[e]&&a(this,e)):(this._events=new n,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=r,u.EventEmitter=u,t.exports=u},8552:(t,e,r)=>{var n=r(852)(r(5639),"DataView");t.exports=n},1989:(t,e,r)=>
vendor: 4,227 bytes, line 2
2{var n=r(1789),o=r(401),i=r(7667),a=r(1327),u=r(1866);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,t.exports=c},8407:(t,e,r)=>{var n=r(7040),o=r(4125),i=r(2117),a=r(7518),u=r(4705);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,t.exports=c},7071:(t,e,r)=>{var n=r(852)(r(5639),"Map");t.exports=n},3369:(t,e,r)=>{var n=r(4785),o=r(1285),i=r(6e3),a=r(9916),u=r(5265);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,t.exports=c},3818:(t,e,r)=>{var n=r(852)(r(5639),"Promise");t.exports=n},8525:(t,e,r)=>{var n=r(852)(r(5639),"Set");t.exports=n},8668:(t,e,r)=>{var n=r(3369),o=r(619),i=r(2385);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,t.exports=a},6384:(t,e,r)=>{var n=r(8407),o=r(7465),i=r(3779),a=r(7599),u=r(4758),c=r(4309);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,t.exports=l},2705:(t,e,r)=>{var n=r(5639).Symbol;t.exports=n},1149:(t,e,r)=>{var n=r(5639).Uint8Array;t.exports=n},577:(t,e,r)=>{var n=r(852)(r(5639),"WeakMap");t.exports=n},6874:t=>{t.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)}},6193:t=>{t.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}},4963:t=>{t.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}},7443:(t,e,r)=>{var n=r(2118);t.exports=function(t,e){return!(null==t||!t.length)&&n(t,e,0)>-1}},1196:t=>{t.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}},4636:(t,e,r)=>{var n=r(2545),o=r(5694),i=r(1469),a=r(4144),u=r(5776),c=r(6719),l=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),s=!r&&o(t),f=!r&&!s&&a(t),p=!r&&!s&&!f&&c(t),h=r||s||f||p,d=h?n(t.length,String):[],y=d.length;for(var v in t)!e&&!l.call(t,v)||h&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||u(v,y))||d.push(v);return d}},9932:t=>{t.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}},2488:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},2908:t=>{t.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}},4286:t=>{t.exports=function(t){return t.split("")}},8470:(t,e,r)=>{var n=r(7813);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},9465:(t,e,r)=>{var n=r(8777);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},9881:(t,e,r)=>{var n=r(7816),o=r(9291)(n);t.exports=o},3239:(t,e,r)=>{var n=r(9881);t.exports=function(t,e){var r=!0;return n(t,(function(t,n,o){return r=!!e(t,n,o)})),r}},6029:(t,e,r)=>{var n=r(3448);t.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}},1848:t=>{t.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}},1078:(t,e,r)=>{var n=r(2488),o=r(7285);t.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}},8483:(t,e,r)=>{var n=r(5063)();t.exports=n},7816:(t,e,r)=>{var n=r(8483),o=r(3674);t.exports=function(t,e){return t&&n(t,e,o)}},7786:(t,e,r)=>{var n=r(1811),o=r(327);t.exports=function(t,e){for(var r=0,i=(e=n(e,t)).length;null!=t&&r<i;)t=t[o(e[r++])];return r&&r==i?t:void 0}},8866:(t,e,r)=>
vendor: 1,234 bytes, line 2
2{var n=r(2488),o=r(1469);t.exports=function(t,e,r){var i=e(t);return o(t)?i:n(i,r(t))}},4239:(t,e,r)=>{var n=r(2705),o=r(9607),i=r(2333),a=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},3325:t=>{t.exports=function(t,e){return t>e}},13:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},2118:(t,e,r)=>{var n=r(1848),o=r(2722),i=r(2351);t.exports=function(t,e,r){return e==e?i(t,e,r):n(t,o,r)}},9454:(t,e,r)=>{var n=r(4239),o=r(7005);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},939:(t,e,r)=>{var n=r(2492),o=r(7005);t.exports=function t(e,r,i,a,u){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,i,a,t,u))}},2492:(t,e,r)=>{var n=r(6384),o=r(7114),i=r(8351),a=r(6096),u=r(4160),c=r(1469),l=r(4144),s=r(6719),f="[object Arguments]",p="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,y,v,m){var b=c(t),g=c(e),x=b?p:u(t),w=g?p:u(e),O=(x=x==f?h:x)==h,S=(w=w==f?h:w)==h,j=x==w;if(j&&l(t)){if(!l(e))return!1;b=!0,O=!1}if(j&&!O)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 E=O&&d.call(t,"__wrapped__"),P=S&&d.call(e,"__wrapped__");
2if(E||P){var A=E?t.value():t,k=P?e.value():e;return m||(m=new n),v(A,k,r,y,m)}}return!!j&&(m||(m=new n),a(t,e,r,y,v,m))}},2958:(t,e,r)=>{var n=r(6384),o=r(939);t.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 h=new n;if(i)var d=i(f,p,s,t,e,h);if(!(void 0===d?o(p,f,3,i,h):d))return!1}}return!0}},2722:t=>{t.exports=function(t){return t!=t}},8458:(t,e,r)=>{var n=r(3560),o=r(5346),i=r(3218),a=r(346),u=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,s=c.toString,f=l.hasOwnProperty,p=RegExp("^"+s.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?p:u).test(a(t))}},8749:(t,e,r)=>{var n=r(4239),o=r(1780),i=r(7005),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,t.exports=function(t){return i(t)&&o(t.length)&&!!a[n(t)]}},7206:(t,e,r)=>{var n=r(1573),o=r(6432),i=r(6557),a=r(1469),u=r(9601);t.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)}},280:(t,e,r)=>{var n=r(5726),o=r(6916),i=Object.prototype.hasOwnProperty;t.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}},433:t=>{t.exports=function(t,e){return t<e}},9199:(t,e,r)=>{var n=r(9881),o=r(8612);t.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}},1573:(t,e,r)=>{var n=r(2958),o=r(1499),i=r(2634);t.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)}}},6432:(t,e,r)=>{var n=r(939),o=r(7361),i=r(9095),a=r(5403),u=r(9162),c=r(2634),l=r(327);t.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)}}},2689:(t,e,r)=>{var n=r(9932),o=r(7786),i=r(7206),a=r(9199),u=r(1131),c=r(1717),l=r(5022),s=r(6557),f=r(1469);t.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;e=n(e,c(i));var h=a(t,(function(t,r,o){return{criteria:n(e,(function(e){return e(t)})),index:++p,value:t}}));return u(h,(function(t,e){return l(t,e,r)}))}},371:t=>{t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},9152:(t,e,r)=>{var n=r(7786);t.exports=function(t){return function(e){return n(e,t)}}},98:t=>{var e=Math.ceil,r=Math.max;t.exports=function(t,n,o,i){for(var a=-1,u=r(e((n-t)/(o||1)),0),c=Array(u);u--;)c[i?u:++a]=t,t+=o;return c}},5976:(t,e,r)=>{var n=r(6557),o=r(5357),i=r(61);t.exports=function(t,e){return i(o(t,e,n),t+"")}},6560:(t,e,r)=>{var n=r(5703),o=r(8777),i=r(6557),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:i;t.exports=a},4259:t=>{t.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}},5076:(t,e,r)=>{var n=r(9881);t.exports=function(t,e){var r;return n(t,(function(t,n,o){return!(r=e(t,n,o))})),!!r}},1131:t=>{t.exports=function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}},2545:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},531:(t,e,r)=>{var n=r(2705),o=r(9932),i=r(1469),a=r(3448),u=n?n.prototype:void 0,c=u?u.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return c?c.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r}},7561:(t,e,r)=>{var n=r(7990),o=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},1717:t=>{t.exports=function(t){return function(e){return t(e)}}},5652:(t,e,r)=>{var n=r(8668),o=r(7443),i=r(1196),a=r(4757),u=r(3593),c=r(1814);t.exports=function(t,e,r){var l=-1,s=o,f=t.length,p=!0,h=[],d=h;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,d=new n}else d=e?[]:h;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=d.length;b--;)if(d[b]===m)continue t;e&&d.push(m),h.push(v)}else s(d,m,r)||(d!==h&&d.push(m),h.push(v))}return h}},4757:t=>{t.exports=function(t,e){return t.has(e)}},1811:(t,e,r)=>
vendor: 5,931 bytes, line 2
2{var n=r(1469),o=r(5403),i=r(5514),a=r(9833);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(a(t))}},180:(t,e,r)=>{var n=r(4259);t.exports=function(t,e,r){var o=t.length;return r=void 0===r?o:r,!e&&r>=o?t:n(t,e,r)}},6393:(t,e,r)=>{var n=r(3448);t.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}},5022:(t,e,r)=>{var n=r(6393);t.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)return o>=c?l:l*("desc"==r[o]?-1:1)}return t.index-e.index}},4429:(t,e,r)=>{var n=r(5639)["__core-js_shared__"];t.exports=n},9291:(t,e,r)=>{var n=r(8612);t.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}}},5063:t=>{t.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}}},8805:(t,e,r)=>{var n=r(180),o=r(2036),i=r(3140),a=r(9833);t.exports=function(t){return function(e){e=a(e);var r=o(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}}},7740:(t,e,r)=>{var n=r(7206),o=r(8612),i=r(3674);t.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}}},7445:(t,e,r)=>{var n=r(98),o=r(6612),i=r(8601);t.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)}}},3593:(t,e,r)=>{var n=r(8525),o=r(308),i=r(1814),a=n&&1/i(new n([,-0]))[1]==1/0?function(t){return new n(t)}:o;t.exports=a},8777:(t,e,r)=>{var n=r(852),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},7114:(t,e,r)=>{var n=r(8668),o=r(2908),i=r(4757);t.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),h=c.get(e);if(p&&h)return p==e&&h==t;var d=-1,y=!0,v=2&r?new n:void 0;for(c.set(t,e),c.set(e,t);++d<s;){var m=t[d],b=e[d];if(a)var g=l?a(b,m,d,e,t,c):a(m,b,d,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}},8351:(t,e,r)=>{var n=r(2705),o=r(1149),i=r(7813),a=r(7114),u=r(8776),c=r(1814),l=n?n.prototype:void 0,s=l?l.valueOf:void 0;t.exports=function(t,e,r,n,l,f,p){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new o(t),new o(e)));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 h=u;case"[object Set]":var d=1&n;if(h||(h=c),t.size!=e.size&&!d)return!1;var y=p.get(t);if(y)return y==e;n|=2,p.set(t,e);var v=a(h(t),h(e),n,l,f,p);return p.delete(t),v;case"[object Symbol]":if(s)return s.call(t)==s.call(e)}return!1}},6096:(t,e,r)=>{var n=r(8234),o=Object.prototype.hasOwnProperty;t.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 h=u.get(t),d=u.get(e);if(h&&d)return h==e&&d==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,w=e.constructor;x==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(y=!1)}return u.delete(t),u.delete(e),y}},1957:(t,e,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},8234:(t,e,r)=>{var n=r(8866),o=r(9551),i=r(3674);t.exports=function(t){return n(t,i,o)}},5050:(t,e,r)=>{var n=r(7019);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},1499:(t,e,r)=>{var n=r(9162),o=r(3674);t.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}},852:(t,e,r)=>{var n=r(8458),o=r(7801);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},5924:(t,e,r)=>{var n=r(5569)(Object.getPrototypeOf,Object);t.exports=n},9607:(t,e,r)=>{var n=r(2705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=n?n.toStringTag:void 0;t.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}},9551:(t,e,r)=>{var n=r(4963),o=r(479),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,u=a?function(t){return null==t?[]:(t=Object(t),n(a(t),(function(e){return i.call(t,e)})))}:o;t.exports=u},4160:(t,e,r)=>{var n=r(8552),o=r(7071),i=r(3818),a=r(8525),u=r(577),c=r(4239),l=r(346),s="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",d="[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)))!=d||o&&x(new o)!=s||i&&x(i.resolve())!=f||a&&x(new a)!=p||u&&x(new u)!=h)&&(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 d;case v:return s;case m:return f;case b:return p;case g:return h}return e}),t.exports=x},7801:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},222:(t,e,r)=>{var n=r(1811),o=r(5694),i=r(1469),a=r(5776),u=r(1780),c=r(327);t.exports=function(t,e,r){for(var l=-1,s=(e=n(e,t)).length,f=!1;++l<s;){var p=c(e[l]);if(!(f=null!=t&&r(t,p)))break;t=t[p]}
vendor: 4,785 bytes, line 2
2return f||++l!=s?f:!!(s=null==t?0:t.length)&&u(s)&&a(p,s)&&(i(t)||o(t))}},2036:t=>{var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},1789:(t,e,r)=>{var n=r(4536);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},401:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},7667:(t,e,r)=>{var n=r(4536),o=Object.prototype.hasOwnProperty;t.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}},1327:(t,e,r)=>{var n=r(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},1866:(t,e,r)=>{var n=r(4536);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},7285:(t,e,r)=>{var n=r(2705),o=r(5694),i=r(1469),a=n?n.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},5776:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},6612:(t,e,r)=>{var n=r(7813),o=r(8612),i=r(5776),a=r(3218);t.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)}},5403:(t,e,r)=>{var n=r(1469),o=r(3448),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.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)}},7019:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},5346:(t,e,r)=>{var n,o=r(4429),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},5726:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},9162:(t,e,r)=>{var n=r(3218);t.exports=function(t){return t==t&&!n(t)}},7040:t=>{t.exports=function(){this.__data__=[],this.size=0}},4125:(t,e,r)=>{var n=r(8470),o=Array.prototype.splice;t.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))}},2117:(t,e,r)=>{var n=r(8470);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},7518:(t,e,r)=>{var n=r(8470);t.exports=function(t){return n(this.__data__,t)>-1}},4705:(t,e,r)=>{var n=r(8470);t.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}},4785:(t,e,r)=>{var n=r(1989),o=r(8407),i=r(7071);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},1285:(t,e,r)=>{var n=r(5050);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},6e3:(t,e,r)=>{var n=r(5050);t.exports=function(t){return n(this,t).get(t)}},9916:(t,e,r)=>{var n=r(5050);t.exports=function(t){return n(this,t).has(t)}},5265:(t,e,r)=>{var n=r(5050);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},8776:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},2634:t=>{t.exports=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}},4523:(t,e,r)=>{var n=r(8306);t.exports=function(t){var e=n(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}},4536:(t,e,r)=>{var n=r(852)(Object,"create");t.exports=n},6916:(t,e,r)=>{var n=r(5569)(Object.keys,Object);t.exports=n},1167:(t,e,r)=>{t=r.nmd(t);var n=r(1957),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&n.process,u=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u},2333:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},5357:(t,e,r)=>{var n=r(6874),o=Math.max;t.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)}}},5639:(t,e,r)=>{var n=r(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},619:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},2385:t=>{t.exports=function(t){return this.__data__.has(t)}},1814:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},61:(t,e,r)=>
vendor: 6,731 bytes, line 2
2{var n=r(6560),o=r(1275)(n);t.exports=o},1275:t=>{var e=Date.now;t.exports=function(t){var r=0,n=0;return function(){var o=e(),i=16-(o-n);if(n=o,i>0){if(++r>=800)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}},7465:(t,e,r)=>{var n=r(8407);t.exports=function(){this.__data__=new n,this.size=0}},3779:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},7599:t=>{t.exports=function(t){return this.__data__.get(t)}},4758:t=>{t.exports=function(t){return this.__data__.has(t)}},4309:(t,e,r)=>{var n=r(8407),o=r(7071),i=r(3369);t.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}},2351:t=>{t.exports=function(t,e,r){for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}},3140:(t,e,r)=>{var n=r(4286),o=r(2036),i=r(676);t.exports=function(t){return o(t)?i(t):n(t)}},5514:(t,e,r)=>{var n=r(4523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=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}));t.exports=a},327:(t,e,r)=>{var n=r(3448);t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},346:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7990:t=>{var e=/\s/;t.exports=function(t){for(var r=t.length;r--&&e.test(t.charAt(r)););return r}},676:t=>{var e="\\ud800-\\udfff",r="["+e+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+e+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+n+"|"+o+")?",l="[\\ufe0e\\ufe0f]?",s=l+c+"(?:\\u200d(?:"+[i,a,u].join("|")+")"+l+c+")*",f="(?:"+[i+n+"?",n,a,u,r].join("|")+")",p=RegExp(o+"(?="+o+")|"+f+s,"g");t.exports=function(t){return t.match(p)||[]}},5703:t=>{t.exports=function(t){return function(){return t}}},3279:(t,e,r)=>{var n=r(3218),o=r(7771),i=r(4841),a=Math.max,u=Math.min;t.exports=function(t,e,r){var c,l,s,f,p,h,d=0,y=!1,v=!1,m=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function b(e){var r=c,n=l;return c=l=void 0,d=e,f=t.apply(n,r)}function g(t){var r=t-h;return void 0===h||r>=e||r<0||v&&t-d>=s}function x(){var t=o();if(g(t))return w(t);p=setTimeout(x,function(t){var r=e-(t-h);return v?u(r,s-(t-d)):r}(t))}function w(t){return p=void 0,m&&c?b(t):(c=l=void 0,f)}function O(){var t=o(),r=g(t);if(c=arguments,l=this,h=t,r){if(void 0===p)return function(t){return d=t,p=setTimeout(x,e),y?b(t):f}(h);if(v)return clearTimeout(p),p=setTimeout(x,e),b(h)}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),O.cancel=function(){void 0!==p&&clearTimeout(p),d=0,c=h=l=p=void 0},O.flush=function(){return void 0===p?f:w(o())},O}},7813:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},711:(t,e,r)=>{var n=r(6193),o=r(3239),i=r(7206),a=r(1469),u=r(6612);t.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))}},3311:(t,e,r)=>{var n=r(7740)(r(998));t.exports=n},998:(t,e,r)=>{var n=r(1848),o=r(7206),i=r(554),a=Math.max;t.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)}},4654:(t,e,r)=>{var n=r(1078),o=r(5161);t.exports=function(t,e){return n(o(t,e),1)}},7361:(t,e,r)=>{var n=r(7786);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},9095:(t,e,r)=>{var n=r(13),o=r(222);t.exports=function(t,e){return null!=t&&o(t,e,n)}},6557:t=>{t.exports=function(t){return t}},5694:(t,e,r)=>{var n=r(9454),o=r(7005),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=c},1469:t=>{var e=Array.isArray;t.exports=e},8612:(t,e,r)=>{var n=r(3560),o=r(1780);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},1584:(t,e,r)=>{var n=r(4239),o=r(7005);t.exports=function(t){return!0===t||!1===t||o(t)&&"[object Boolean]"==n(t)}},4144:(t,e,r)=>{t=r.nmd(t);var n=r(5639),o=r(5062),i=e&&!e.nodeType&&e,a=i&&t&&!t.nodeType&&t,u=a&&a.exports===i?n.Buffer:void 0,c=(u?u.isBuffer:void 0)||o;t.exports=c},8446:(t,e,r)=>{var n=r(939);t.exports=function(t,e){return n(t,e)}},3560:(t,e,r)=>{var n=r(4239),o=r(3218);t.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}},1780:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7654:(t,e,r)=>{var n=r(1763);t.exports=function(t){return n(t)&&t!=+t}},4293:t=>{t.exports=function(t){return null==t}},1763:(t,e,r)=>{var n=r(4239),o=r(7005);t.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==n(t)}},3218:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7005:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},8630:(t,e,r)=>{var n=r(4239),o=r(5924),i=r(7005),a=Function.prototype,u=Object.prototype,c=a.toString,l=u.hasOwnProperty,s=c.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=n(t))return!1;var e=o(t);if(null===e)return!0;var r=l.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==s}},7037:(t,e,r)=>{var n=r(4239),o=r(1469),i=r(7005);t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&"[object String]"==n(t)}},3448:(t,e,r)=>{var n=r(4239),o=r(7005);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},6719:(t,e,r)=>{var n=r(8749),o=r(1717),i=r(1167),a=i&&i.isTypedArray,u=a?o(a):n;t.exports=u},3674:(t,e,r)=>{var n=r(4636),o=r(280),i=r(8612);t.exports=function(t){return i(t)?n(t):o(t)}},928:t=>{t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},5161:(t,e,r)=>{var n=r(9932),o=r(7206),i=r(9199),a=r(1469);t.exports=function(t,e){return(a(t)?n:i)(t,o(e,3))}},6604:(t,e,r)=>{var n=r(9465),o=r(7816),i=r(7206);t.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}},6162:(t,e,r)=>{var n=r(6029),o=r(3325),i=r(6557);t.exports=function(t){return t&&t.length?n(t,i,o):void 0}},8306:(t,e,r)=>{var n=r(3369);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new 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);
2var 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,t.exports=o},3632:(t,e,r)=>{var n=r(6029),o=r(433),i=r(6557);t.exports=function(t){return t&&t.length?n(t,i,o):void 0}},308:t=>{t.exports=function(){}},7771:(t,e,r)=>{var n=r(5639);t.exports=function(){return n.Date.now()}},9601:(t,e,r)=>{var n=r(371),o=r(9152),i=r(5403),a=r(327);t.exports=function(t){return i(t)?n(a(t)):o(t)}},6026:(t,e,r)=>{var n=r(7445)();t.exports=n},9704:(t,e,r)=>{var n=r(2908),o=r(7206),i=r(5076),a=r(1469),u=r(6612);t.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))}},9734:(t,e,r)=>{var n=r(1078),o=r(2689),i=r(5976),a=r(6612),u=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),[])}));t.exports=u},479:t=>{t.exports=function(){return[]}},5062:t=>{t.exports=function(){return!1}},3493:(t,e,r)=>{var n=r(3279),o=r(3218);t.exports=function(t,e,r){var i=!0,a=!0;if("function"!=typeof t)throw new 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})}},8601:(t,e,r)=>{var n=r(4841);t.exports=function(t){return t?Infinity===(t=n(t))||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},554:(t,e,r)=>{var n=r(8601);t.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},4841:(t,e,r)=>{var n=r(7561),o=r(3218),i=r(3448),a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;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=u.test(t);return r||c.test(t)?l(t.slice(2),r?2:8):a.test(t)?NaN:+t}},9833:(t,e,r)=>{var n=r(531);t.exports=function(t){return null==t?"":n(t)}},5578:(t,e,r)=>{var n=r(7206),o=r(5652);t.exports=function(t,e){return t&&t.length?o(t,n(e,2)):[]}},1700:(t,e,r)=>{var n=r(8805)("toUpperCase");t.exports=n},9921:(t,e)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,s=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,d=(r&&Symbol.for("react.suspense_list"),r?Symbol.for("react.memo"):60115),y=r?Symbol.for("react.lazy"):60116;r&&Symbol.for("react.block"),r&&Symbol.for("react.fundamental"),r&&Symbol.for("react.responder"),r&&Symbol.for("react.scope");function v(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case s:case f:case i:case u:case a:case h:return t;default:switch(t=t&&t.$$typeof){case l:case p:case y:case d:case c:return t;default:return e}}case o:return e}}}e.isFragment=function(t){return v(t)===i}},9864:(t,e,r)=>{"use strict";t.exports=r(9921)},6871:(t,e,r)=>{"use strict";function n(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=t&&this.setState(t)}function o(t){this.setState(function(e){var r=this.constructor.getDerivedStateFromProps(t,e);return null!=r?r:null}.bind(this))}function i(t,e){try{var r=this.props,n=this.state;this.props=t,this.state=e,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,n)}finally{this.props=r,this.state=n}}function a(t){var e=t.prototype;if(!e||!e.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate)return t;var r=null,a=null,u=null;if("function"==typeof e.componentWillMount?r="componentWillMount":"function"==typeof e.UNSAFE_componentWillMount&&(r="UNSAFE_componentWillMount"),"function"==typeof e.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof e.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof e.componentWillUpdate?u="componentWillUpdate":"function"==typeof e.UNSAFE_componentWillUpdate&&(u="UNSAFE_componentWillUpdate"),null!==r||null!==a||null!==u){var c=t.displayName||t.name,l="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+l+" but also contains the following legacy lifecycles:"+(null!==r?"\n "+r:"")+(null!==a?"\n "+a:"")+(null!==u?"\n "+u:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof t.getDerivedStateFromProps&&(e.componentWillMount=n,e.componentWillReceiveProps=o),"function"==typeof e.getSnapshotBeforeUpdate){if("function"!=typeof e.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");e.componentWillUpdate=i;var s=e.componentDidUpdate;e.componentDidUpdate=function(t,e,r){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:r;s.call(this,t,e,n)}}return t}r.r(e),r.d(e,{polyfill:()=>a}),n.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},129:(t,e,r)=>{"use strict";
2e.__esModule=!0,e.default=void 0,function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};n.get||n.set?Object.defineProperty(e,r,n):e[r]=t[r]}e.default=t}(r(9064));var n=u(r(8141)),o=u(r(602)),i=u(r(9196)),a=u(r(644));function u(t){return t&&t.__esModule?t:{default:t}}function c(){return c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},c.apply(this,arguments)}r(4726);var l=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return(0,n.default)(t,e)}))},s=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return(0,o.default)(t,e)}))},f=function(t){var e,r;function n(){for(var e,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(e=t.call.apply(t,[this].concat(n))||this).onEnter=function(t,r){var n=e.getClassNames(r?"appear":"enter").className;e.removeClasses(t,"exit"),l(t,n),e.props.onEnter&&e.props.onEnter(t,r)},e.onEntering=function(t,r){var n=e.getClassNames(r?"appear":"enter").activeClassName;e.reflowAndAddClass(t,n),e.props.onEntering&&e.props.onEntering(t,r)},e.onEntered=function(t,r){var n=e.getClassNames("appear").doneClassName,o=e.getClassNames("enter").doneClassName,i=r?n+" "+o:o;e.removeClasses(t,r?"appear":"enter"),l(t,i),e.props.onEntered&&e.props.onEntered(t,r)},e.onExit=function(t){var r=e.getClassNames("exit").className;e.removeClasses(t,"appear"),e.removeClasses(t,"enter"),l(t,r),e.props.onExit&&e.props.onExit(t)},e.onExiting=function(t){var r=e.getClassNames("exit").activeClassName;e.reflowAndAddClass(t,r),e.props.onExiting&&e.props.onExiting(t)},e.onExited=function(t){var r=e.getClassNames("exit").doneClassName;e.removeClasses(t,"exit"),l(t,r),e.props.onExited&&e.props.onExited(t)},e.getClassNames=function(t){var r=e.props.classNames,n="string"==typeof r,o=n?(n&&r?r+"-":"")+t:r[t];return{className:o,activeClassName:n?o+"-active":r[t+"Active"],doneClassName:n?o+"-done":r[t+"Done"]}},e}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var o=n.prototype;return o.removeClasses=function(t,e){var r=this.getClassNames(e),n=r.className,o=r.activeClassName,i=r.doneClassName;n&&s(t,n),o&&s(t,o),i&&s(t,i)},o.reflowAndAddClass=function(t,e){e&&(t&&t.scrollTop,l(t,e))},o.render=function(){var t=c({},this.props);return delete t.classNames,i.default.createElement(a.default,c({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},n}(i.default.Component);f.defaultProps={classNames:""},f.propTypes={};var p=f;e.default=p,t.exports=e.default},6093:(t,e,r)=>{"use strict";e.__esModule=!0,e.default=void 0,a(r(9064));var n=a(r(9196)),o=r(1850),i=a(r(2381));function a(t){return t&&t.__esModule?t:{default:t}}var u=function(t){var e,r;function a(){for(var e,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(e=t.call.apply(t,[this].concat(n))||this).handleEnter=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onEnter",0,r)},e.handleEntering=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onEntering",0,r)},e.handleEntered=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onEntered",0,r)},e.handleExit=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onExit",1,r)},e.handleExiting=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onExiting",1,r)},e.handleExited=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onExited",1,r)},e}r=t,(e=a).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var u=a.prototype;return u.handleLifecycle=function(t,e,r){var i,a=this.props.children,u=n.default.Children.toArray(a)[e];u.props[t]&&(i=u.props)[t].apply(i,r),this.props[t]&&this.props[t]((0,o.findDOMNode)(this))},u.render=function(){var t=this.props,e=t.children,r=t.in,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,["children","in"]),a=n.default.Children.toArray(e),u=a[0],c=a[1];return delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,n.default.createElement(i.default,o,r?n.default.cloneElement(u,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):n.default.cloneElement(c,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},a}(n.default.Component);u.propTypes={};var c=u;e.default=c,t.exports=e.default},644:(t,e,r)=>{"use strict";
2e.__esModule=!0,e.default=e.EXITING=e.ENTERED=e.ENTERING=e.EXITED=e.UNMOUNTED=void 0;var n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};n.get||n.set?Object.defineProperty(e,r,n):e[r]=t[r]}return e.default=t,e}(r(9064)),o=u(r(9196)),i=u(r(1850)),a=r(6871);function u(t){return t&&t.__esModule?t:{default:t}}r(4726);var c="unmounted";e.UNMOUNTED=c;var l="exited";e.EXITED=l;var s="entering";e.ENTERING=s;var f="entered";e.ENTERED=f;var p="exiting";e.EXITING=p;var h=function(t){var e,r;function n(e,r){var n;n=t.call(this,e,r)||this;var o,i=r.transitionGroup,a=i&&!i.isMounting?e.enter:e.appear;return n.appearStatus=null,e.in?a?(o=l,n.appearStatus=s):o=f:o=e.unmountOnExit||e.mountOnEnter?c:l,n.state={status:o},n.nextCallback=null,n}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var a=n.prototype;return a.getChildContext=function(){return{transitionGroup:null}},n.getDerivedStateFromProps=function(t,e){return t.in&&e.status===c?{status:l}:null},a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(t){var e=null;if(t!==this.props){var r=this.state.status;this.props.in?r!==s&&r!==f&&(e=s):r!==s&&r!==f||(e=p)}this.updateStatus(!1,e)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.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}},a.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e){this.cancelNextCallback();var r=i.default.findDOMNode(this);e===s?this.performEnter(r,t):this.performExit(r)}else this.props.unmountOnExit&&this.state.status===l&&this.setState({status:c})},a.performEnter=function(t,e){var r=this,n=this.props.enter,o=this.context.transitionGroup?this.context.transitionGroup.isMounting:e,i=this.getTimeouts(),a=o?i.appear:i.enter;e||n?(this.props.onEnter(t,o),this.safeSetState({status:s},(function(){r.props.onEntering(t,o),r.onTransitionEnd(t,a,(function(){r.safeSetState({status:f},(function(){r.props.onEntered(t,o)}))}))}))):this.safeSetState({status:f},(function(){r.props.onEntered(t)}))},a.performExit=function(t){var e=this,r=this.props.exit,n=this.getTimeouts();r?(this.props.onExit(t),this.safeSetState({status:p},(function(){e.props.onExiting(t),e.onTransitionEnd(t,n.exit,(function(){e.safeSetState({status:l},(function(){e.props.onExited(t)}))}))}))):this.safeSetState({status:l},(function(){e.props.onExited(t)}))},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},a.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},a.onTransitionEnd=function(t,e,r){this.setNextCallback(r);var n=null==e&&!this.props.addEndListener;t&&!n?(this.props.addEndListener&&this.props.addEndListener(t,this.nextCallback),null!=e&&setTimeout(this.nextCallback,e)):setTimeout(this.nextCallback,0)},a.render=function(){var t=this.state.status;if(t===c)return null;var e=this.props,r=e.children,n=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}(e,["children"]);if(delete n.in,delete n.mountOnEnter,delete n.unmountOnExit,delete n.appear,delete n.enter,delete n.exit,delete n.timeout,delete n.addEndListener,delete n.onEnter,delete n.onEntering,delete n.onEntered,delete n.onExit,delete n.onExiting,delete n.onExited,"function"==typeof r)return r(t,n);var i=o.default.Children.only(r);return o.default.cloneElement(i,n)},n}(o.default.Component);function d(){}h.contextTypes={transitionGroup:n.object},h.childContextTypes={transitionGroup:function(){}},h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter
2:!0,exit:!0,onEnter:d,onEntering:d,onEntered:d,onExit:d,onExiting:d,onExited:d},h.UNMOUNTED=0,h.EXITED=1,h.ENTERING=2,h.ENTERED=3,h.EXITING=4;var y=(0,a.polyfill)(h);e.default=y},2381:(t,e,r)=>{"use strict";e.__esModule=!0,e.default=void 0;var n=u(r(9064)),o=u(r(9196)),i=r(6871),a=r(537);function u(t){return t&&t.__esModule?t:{default:t}}function c(){return c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},c.apply(this,arguments)}function l(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var s=Object.values||function(t){return Object.keys(t).map((function(e){return t[e]}))},f=function(t){var e,r;function n(e,r){var n,o=(n=t.call(this,e,r)||this).handleExited.bind(l(l(n)));return n.state={handleExited:o,firstRender:!0},n}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var i=n.prototype;return i.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},i.componentDidMount=function(){this.appeared=!0,this.mounted=!0},i.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(t,e){var r=e.children,n=e.handleExited;return{children:e.firstRender?(0,a.getInitialChildMapping)(t,n):(0,a.getNextChildMapping)(t,r,n),firstRender:!1}},i.handleExited=function(t,e){var r=(0,a.getChildMapping)(this.props.children);t.key in r||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState((function(e){var r=c({},e.children);return delete r[t.key],{children:r}})))},i.render=function(){var t=this.props,e=t.component,r=t.childFactory,n=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,["component","childFactory"]),i=s(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===e?i:o.default.createElement(e,n,i)},n}(o.default.Component);f.childContextTypes={transitionGroup:n.default.object.isRequired},f.propTypes={},f.defaultProps={component:"div",childFactory:function(t){return t}};var p=(0,i.polyfill)(f);e.default=p,t.exports=e.default},4317:(t,e,r)=>{"use strict";var n=u(r(129)),o=u(r(6093)),i=u(r(2381)),a=u(r(644));function u(t){return t&&t.__esModule?t:{default:t}}t.exports={Transition:a.default,TransitionGroup:i.default,ReplaceTransition:o.default,CSSTransition:n.default}},537:(t,e,r)=>{"use strict";e.__esModule=!0,e.getChildMapping=o,e.mergeChildMappings=i,e.getInitialChildMapping=function(t,e){return o(t.children,(function(r){return(0,n.cloneElement)(r,{onExited:e.bind(null,r),in:!0,appear:a(r,"appear",t),enter:a(r,"enter",t),exit:a(r,"exit",t)})}))},e.getNextChildMapping=function(t,e,r){var u=o(t.children),c=i(e,u);return Object.keys(c).forEach((function(o){var i=c[o];if((0,n.isValidElement)(i)){var l=o in e,s=o in u,f=e[o],p=(0,n.isValidElement)(f)&&!f.props.in;!s||l&&!p?s||!l||p?s&&l&&(0,n.isValidElement)(f)&&(c[o]=(0,n.cloneElement)(i,{onExited:r.bind(null,i),in:f.props.in,exit:a(i,"exit",t),enter:a(i,"enter",t)})):c[o]=(0,n.cloneElement)(i,{in:!1}):c[o]=(0,n.cloneElement)(i,{onExited:r.bind(null,i),in:!0,exit:a(i,"exit",t),enter:a(i,"enter",t)})}})),c};var n=r(9196);function o(t,e){var r=Object.create(null);return t&&n.Children.map(t,(function(t){return t})).forEach((function(t){r[t.key]=function(t){return e&&(0,n.isValidElement)(t)?e(t):t}(t)})),r}function i(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}function a(t,e,r){return null!=r[e]?r[e]:t.props[e]}},4726:(t,e,r)=>{"use strict";var n;e.__esModule=!0,e.classNamesShape=e.timeoutsShape=void 0,(n=r(9064))&&n.__esModule,e.timeoutsShape=null,e.classNamesShape=null},9064:t=>{"use strict";t.exports=window.PropTypes},9196:t=>{"use strict";t.exports=window.React},1850:t=>{"use strict";
2t.exports=window.ReactDOM},4836:t=>{t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var n,o=function(){var t=document.currentScript;if(!t){for(var e=document.getElementsByTagName("script"),r=[],n=0;n<e.length;n++)r.push(e[n]);t=(r=r.filter((function(t){return!t.async&&!t.text&&!t.textContent}))).slice(-1)[0]}return t};if(Object.defineProperty(r,"p",{get:(n=o().src.split("/").slice(0,-1).join("/")+"/",function(){return n})}),"undefined"!=typeof jsonpScriptSrc){var i=jsonpScriptSrc;jsonpScriptSrc=function(t){var e,r=(e=o(),/\/_dash-component-suites\//.test(e.src)),n=i(t);if(!r)return n;var a=n.split("/"),u=a.slice(-1)[0].split(".");return u.splice(1,0,"v0_2_8m1757435572"),a.splice(-1,1,u.join(".")),a.join("/")}}var a={};(()=>{"use strict";r.r(a),r.d(a,{Boxtest2React:()=>f,CopyToClipboard:()=>vm,GetIps:()=>m,HeadPing:()=>qv,NSOneFetcher:()=>Kv,PopTest:()=>om,PopTestManager:()=>sm});var t={};r.r(t),r.d(t,{scaleBand:()=>ie,scaleDiverging:()=>Yi,scaleDivergingLog:()=>Ki,scaleDivergingPow:()=>Ji,scaleDivergingSqrt:()=>Qi,scaleDivergingSymlog:()=>Zi,scaleIdentity:()=>qr,scaleImplicit:()=>ne,scaleLinear:()=>Wr,scaleLog:()=>Qr,scaleOrdinal:()=>oe,scalePoint:()=>ue,scalePow:()=>ln,scaleQuantile:()=>gn,scaleQuantize:()=>xn,scaleRadial:()=>pn,scaleSequential:()=>$i,scaleSequentialLog:()=>Wi,scaleSequentialPow:()=>Hi,scaleSequentialQuantile:()=>Xi,scaleSequentialSqrt:()=>Gi,scaleSequentialSymlog:()=>qi,scaleSqrt:()=>sn,scaleSymlog:()=>nn,scaleThreshold:()=>wn,scaleTime:()=>Bi,scaleUtc:()=>zi,tickFormat:()=>Fr});var e=r(9196),n=r.n(e),o=r(9064),i=r.n(o);function u(t){return u="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},u(t)}function c(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,(void 0,o=function(t,e){if("object"!==u(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===u(o)?o:String(o)),n)}var o}function l(t,e){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},l(t,e)}
2function s(t){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},s(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}(f,t);var e,r,o,i,a=(o=f,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=s(o);if(i){var r=s(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,t)});function f(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),a.apply(this,arguments)}return e=f,r=[{key:"render",value:function(){var t=this.props,e=t.id,r=t.label,o=t.setProps,i=t.value;return n().createElement("div",{id:e},"ExampleComponent: ",r," ",n().createElement("input",{value:i,onChange:function(t){return o({value:t.target.value})}}))}}],r&&c(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),f}(e.Component);function p(t){return p="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},p(t)}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function d(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,(void 0,o=function(t,e){if("object"!==p(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===p(o)?o:String(o)),n)}var o}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}function v(t){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},v(t)}f.defaultProps={},f.propTypes={id:i().string,label:i().string.isRequired,value:i().string,setProps:i().func};var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}(u,t);var e,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=v(o);if(i){var r=v(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===p(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=a.call(this,t)).state={ready:!1,lookedUpHosts:{}},e}return e=u,r=[{key:"render",value:function(){var t=this.state,e=t.ready,r=t.lookedUpHosts;if(!e)return n().createElement("div",null);var o=[];return Object.entries(r).map((function(t){var e,r,i=(r=2,function(t){if(Array.isArray(t))return t}(e=t)||function(t,e){var r=null==t?null:"undefined"!=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(;
2!(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}}(e,r)||function(t,e){if(t){if("string"==typeof t)return h(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],u=i[1];o.push(n().createElement("p",{key:a},n().createElement("b",null,a,":")," ",u))})),n().createElement("div",null,o)}},{key:"componentDidMount",value:function(){var t=this,e=this.props.hosts,r={};Promise.all(e.map((function(t){return fetch("https://"+t+"/_generic/iptest").then((function(e){r[t]=e.headers.get("x-box-test-vip")}))}))).then((function(){t.setState({lookedUpHosts:r,ready:!0})}))}}],r&&d(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(e.Component);m.propTypes={id:i().string,hosts:i().arrayOf(i().string)};var b=r(4184),g=r.n(b),x=r(1850),w=r(3279),O=r.n(w),S=r(3493),j=r.n(S),E=function(t,e){return E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},E(t,e)};var P=function(t){return"function"==typeof t},A=function(){return"undefined"==typeof window},k=function(t){return t instanceof Element||t instanceof HTMLDocument},_=function(t){function r(r){var n=t.call(this,r)||this;n.cancelHandler=function(){n.resizeHandler&&n.resizeHandler.cancel&&(n.resizeHandler.cancel(),n.resizeHandler=null)},n.attachObserver=function(){var t=n.props,e=t.targetRef,r=t.observerOptions;if(!A()){e&&e.current&&(n.targetRef.current=e.current);var o=n.getElement();o&&(n.observableElement&&n.observableElement===o||(n.observableElement=o,n.resizeObserver.observe(o,r)))}},n.getElement=function(){var t=n.props,e=t.querySelector,r=t.targetDomEl;if(A())return null;if(e)return document.querySelector(e);if(r&&k(r))return r;if(n.targetRef&&k(n.targetRef.current))return n.targetRef.current;var o=(0,x.findDOMNode)(n);if(!o)return null;switch(n.getRenderType()){case"renderProp":case"childFunction":case"child":case"childArray":return o;default:return o.parentElement}},n.createResizeHandler=function(t){var e=n.props,r=e.handleWidth,o=void 0===r||r,i=e.handleHeight,a=void 0===i||i,u=e.onResize;if(o||a){var c=function(t,e,r){return function(n){var o=n.width,i=n.height;t((function(t){return t.width===o&&t.height===i||t.width===o&&!r||t.height===i&&!e?t:{width:o,height:i}}))}}((function(t){return n.setState(t,(function(){return null==u?void 0:u(n.state.width,n.state.height)}))}),o,a);t.forEach((function(t){var e=t&&t.contentRect||{},r=e.width,o=e.height;!n.skipOnMount&&!A()&&c({width:r,height:o}),n.skipOnMount=!1}))}},n.getRenderType=function(){var t=n.props,r=t.render,o=t.children;return P(r)?"renderProp":P(o)?"childFunction":(0,e.isValidElement)(o)?"child":Array.isArray(o)?"childArray":"parent"};var o=r.skipOnMount,i=r.refreshMode,a=r.refreshRate,u=void 0===a?1e3:a,c=r.refreshOptions;return n.state={width:void 0,height:void 0},n.skipOnMount=o,n.targetRef=(0,e.createRef)(),n.observableElement=null,A()||(n.resizeHandler=function(t,e,r,n){switch(e){case"debounce":return O()(t,r,n);case"throttle":return j()(t,r,n);default:return t}}(n.createResizeHandler,i,u,c),n.resizeObserver=new window.ResizeObserver(n.resizeHandler)),n}return function(t,e){function r(){this.constructor=t}E(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}(r,t),r.prototype.componentDidMount=function(){this.attachObserver()},r.prototype.componentDidUpdate=function(){this.attachObserver()},r.prototype.componentWillUnmount=function(){A()||(this.observableElement=null,this.resizeObserver.disconnect(),this.cancelHandler())},r.prototype.render=function(){var t=this.props,r=t.render,o=t.children,i=t.nodeType,a=void 0===i?"div":i,u=this.state,c={width:u.width,height:u.height,targetRef
2:this.targetRef};switch(this.getRenderType()){case"renderProp":return null==r?void 0:r(c);case"childFunction":return null==o?void 0:o(c);case"child":var l=o;if(l.type&&"string"==typeof l.type){var s=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(c,["targetRef"]);return(0,e.cloneElement)(l,s)}return(0,e.cloneElement)(l,c);case"childArray":return o.map((function(t){return!!t&&(0,e.cloneElement)(t,c)}));default:return n().createElement(a,null)}},r}(e.PureComponent);A()?e.useEffect:e.useLayoutEffect;var M=r(7361),T=r.n(M),C=r(1469),D=r.n(C),N=r(7654),I=r.n(N),R=r(1763),L=r.n(R),B=r(7037),z=r.n(B),U=function(t){return 0===t?0:t>0?1:-1},F=function(t){return z()(t)&&t.indexOf("%")===t.length-1},$=function(t){return L()(t)&&!I()(t)},W=function(t){return $(t)||z()(t)},q=0,H=function(t){var e=++q;return"".concat(t||"").concat(e)},G=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(!$(t)&&!z()(t))return n;if(F(t)){var i=t.indexOf("%");r=e*parseFloat(t.slice(0,i))/100}else r=+t;return I()(r)&&(r=n),o&&r>e&&(r=e),r},X=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},V=function(t,e){return $(t)&&$(e)?function(r){return t+r*(e-t)}:function(){return e}};function Y(t,e,r){return t&&t.length?t.find((function(t){return t&&("function"==typeof e?e(t):T()(t,e))===r})):null}var K=function(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o]};function Z(t){return Z="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},Z(t)}function J(){return J=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},J.apply(this,arguments)}function Q(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 tt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Q(Object(r),!0).forEach((function(e){et(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function et(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Z(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Z(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Z(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function rt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var nt=(0,e.forwardRef)((function(t,r){var o,i,a=t.aspect,u=t.initialDimension,c=void 0===u?{width:-1,height:-1}:u,l=t.width,s=void 0===l?"100%":l,f=t.height,p=void 0===f?"100%":f,h=t.minWidth,d=void 0===h?0:h,y=t.minHeight,v=t.maxHeight,m=t.children,b=t.debounce,x=void 0===b?0:b,w=t.id,O=t.className,S=t.onResize,j=t.style,E=void 0===j?{}:j,P=(o=(0,e.useState)({containerWidth:c.width,containerHeight:c.height}),i=2,function(t){if(Array.isArray(t))return t}(o)||function(t,e){var r=null==t?null:"undefined"!=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}
2finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(o,i)||function(t,e){if(t){if("string"==typeof t)return rt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rt(t,e):void 0}}(o,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),A=P[0],k=P[1],M=(0,e.useRef)(null);(0,e.useImperativeHandle)(r,(function(){return M}),[M]);var T=(0,e.useCallback)((function(){return M.current?{containerWidth:M.current.clientWidth,containerHeight:M.current.clientHeight}:null}),[]),C=(0,e.useCallback)((function(){var t=T();if(t){var e=t.containerWidth,r=t.containerHeight;S&&S(e,r),k((function(t){var n=t.containerWidth,o=t.containerHeight;return e!==n||r!==o?{containerWidth:e,containerHeight:r}:t}))}}),[T,S]),D=(0,e.useMemo)((function(){var t=A.containerWidth,r=A.containerHeight;if(t<0||r<0)return null;K(F(s)||F(p),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",s,p),K(!a||a>0,"The aspect(%s) must be greater than zero.",a);var n=F(s)?t:s,o=F(p)?r:p;return a&&a>0&&(n?o=n/a:o&&(n=o*a),v&&o>v&&(o=v)),K(n>0||o>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",n,o,s,p,d,y,a),(0,e.cloneElement)(m,{width:n,height:o})}),[a,m,p,v,y,d,A,s]);(0,e.useEffect)((function(){var t=T();t&&k(t)}),[T]);var N=tt(tt({},E),{},{width:s,height:p,minWidth:d,minHeight:y,maxHeight:v});return n().createElement(_,{handleWidth:!0,handleHeight:!0,onResize:C,targetRef:M,refreshMode:x>0?"debounce":void 0,refreshRate:x},n().createElement("div",J({},null!=w?{id:"".concat(w)}:{},{className:g()("recharts-responsive-container",O),style:N,ref:M}),D))})),ot=r(711),it=r.n(ot),at=r(3311),ut=r.n(at),ct=r(3560),lt=r.n(ct),st=r(9734),ft=r.n(st),pt=r(4293),ht=r.n(pt),dt=r(6026),yt=r.n(dt),vt=r(1584),mt=r.n(vt);function bt(t){return bt="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},bt(t)}function gt(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 xt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?gt(Object(r),!0).forEach((function(e){wt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):gt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function wt(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==bt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==bt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===bt(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ot=Math.PI/180,St=function(t){return 180*t/Math.PI},jt=function(t,e,r,n){return{x:t+Math.cos(-Ot*n)*r,y:e+Math.sin(-Ot*n)*r}},Et=function(t,e){var r=e.startAngle,n=e.endAngle,o=Math.floor(r/360),i=Math.floor(n/360);return t+360*Math.min(o,i)},Pt=function(t,e){var r=function(t,e){var r=t.x,n=t.y,o=e.cx,i=e.cy,a=function(t,e){var r=t.x,n=t.y,o=e.x,i=e.y;return Math.sqrt(Math.pow(r-o,2)+Math.pow(n-i,2))}({x:r,y:n},{x:o,y:i});if(a<=0)return{radius:a};var u=(r-o)/a,c=Math.acos(u);return n>i&&(c=2*Math.PI-c),{radius:a,angle:St(c),angleInRadian:c}}({x:t.x,y:t.y},e),n=r.radius,o=r.angle,i=e.innerRadius,a=e.outerRadius;if(n<i||n>a)return!1;if(0===n)return!0;var u,c=function(t){var e=t.startAngle,r=t.endAngle,n=Math.floor(e/360),o=Math.floor(r/360),i=Math.min(n,o);return{startAngle:e-360*i,endAngle:r-360*i}}
2(e),l=c.startAngle,s=c.endAngle,f=o;if(l<=s){for(;f>s;)f-=360;for(;f<l;)f+=360;u=f>=l&&f<=s}else{for(;f>l;)f-=360;for(;f<s;)f+=360;u=f>=s&&f<=l}return u?xt(xt({},e),{},{radius:n,angle:Et(f,e)}):null};function At(t){var e=t.cx,r=t.cy,n=t.radius,o=t.startAngle,i=t.endAngle;return{points:[jt(e,r,n,o),jt(e,r,n,i)],cx:e,cy:r,radius:n,startAngle:o,endAngle:i}}var kt={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return kt[t]},set:function(t,e){if("string"==typeof t)kt[t]=e;else{var r=Object.keys(t);r&&r.length&&r.forEach((function(e){kt[e]=t[e]}))}}};function _t(t){return _t="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)}function Mt(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 Tt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Mt(Object(r),!0).forEach((function(e){Ct(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Mt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ct(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==_t(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==_t(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===_t(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Dt(t){return function(t){if(Array.isArray(t))return Nt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Nt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Nt(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var It={widthCache:{},cacheCount:0},Rt={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},Lt=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","lineHeight","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],Bt="recharts_measurement_span",zt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||kt.isSsr)return{width:0,height:0};var r="".concat(t),n=function(t){return Object.keys(t).reduce((function(e,r){return"".concat(e).concat((n=r,n.split("").reduce((function(t,e){return e===e.toUpperCase()?[].concat(Dt(t),["-",e.toLowerCase()]):[].concat(Dt(t),[e])}),[]).join("")),":").concat(function(t,e){return Lt.indexOf(t)>=0&&e===+e?"".concat(e,"px"):e}(r,t[r]),";");var n}),"")}(e),o="".concat(r,"-").concat(n);if(It.widthCache[o])return It.widthCache[o];try{var i=document.getElementById(Bt);i||((i=document.createElement("span")).setAttribute("id",Bt),i.setAttribute("aria-hidden","true"),document.body.appendChild(i));var a=Tt(Tt({},Rt),e);Object.keys(a).map((function(t){return i.style[t]=a[t],t})),i.textContent=r;var u=i.getBoundingClientRect(),c={width:u.width,height:u.height};return It.widthCache[o]=c,++It.cacheCount>2e3&&(It.cacheCount=0,It.widthCache={}),c}catch(t){return{width:0,height:0}}},Ut=r(6604),Ft=r.n(Ut),$t=r(8446),Wt=r.n($t),qt=r(1700),Ht=r.n(qt),Gt=r(6162),Xt=r.n(Gt),Vt=r(3632),Yt=r.n(Vt),Kt=r(4654),Zt=r.n(Kt);function Jt(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function Qt(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}class te extends Map{constructor(t,e=re){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(ee(this,t))}has(t){return super.has(ee(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},r){const 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){const n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}(this,t))}}function ee({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):r}function re(t){return null!==t&&"object"==typeof t?t.valueOf():t}
vendor: 9,006 bytes, line 2
2const ne=Symbol("implicit");function oe(){var t=new te,e=[],r=[],n=ne;function o(o){let i=t.get(o);if(void 0===i){if(n!==ne)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();e=[],t=new te;for(const n of 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 oe(e,r).unknown(n)},Jt.apply(o,arguments),o}function ie(){var t,e,r=oe().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,h=f?i:a;t=(h-p)/Math.max(1,r-c+2*l),u&&(t=Math.floor(t)),p+=(h-p-t*(r-c))*s,e=t*(1-c),u&&(p=Math.round(p),e=Math.round(e));var d=function(t,e,r){t=+t,e=+e,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=new Array(o);++n<o;)i[n]=t+n*r;return i}(r).map((function(e){return p+t*e}));return o(f?d.reverse():d)}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=+i,a=+a,f()):[i,a]},r.rangeRound=function(t){return[i,a]=t,i=+i,a=+a,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 ie(n(),[i,a]).round(u).paddingInner(c).paddingOuter(l).align(s)},Jt.apply(f(),arguments)}function ae(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return ae(e())},t}function ue(){return ae(ie.apply(null,arguments).paddingInner(1))}const ce=Math.sqrt(50),le=Math.sqrt(10),se=Math.sqrt(2);function fe(t,e,r){const n=(e-t)/Math.max(0,r),o=Math.floor(Math.log10(n)),i=n/Math.pow(10,o),a=i>=ce?10:i>=le?5:i>=se?2:1;let u,c,l;return o<0?(l=Math.pow(10,-o)/a,u=Math.round(t*l),c=Math.round(e*l),u/l<t&&++u,c/l>e&&--c,l=-l):(l=Math.pow(10,o)*a,u=Math.round(t/l),c=Math.round(e/l),u*l<t&&++u,c*l>e&&--c),c<u&&.5<=r&&r<2?fe(t,e,2*r):[u,c,l]}function pe(t,e,r){if(!((r=+r)>0))return[];if((t=+t)==(e=+e))return[t];const n=e<t,[o,i,a]=n?fe(e,t,r):fe(t,e,r);if(!(i>=o))return[];const u=i-o+1,c=new 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 he(t,e,r){return fe(t=+t,e=+e,r=+r)[2]}function de(t,e,r){r=+r;const n=(e=+e)<(t=+t),o=n?he(e,t,r):he(t,e,r);return(n?-1:1)*(o<0?1/-o:o)}function ye(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function ve(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function me(t){let e,r,n;function o(t,n,o=0,i=t.length){if(o<i){if(0!==e(n,n))return i;do{const e=o+i>>>1;r(t[e],n)<0?o=e+1:i=e}while(o<i)}return o}return 2!==t.length?(e=ye,r=(e,r)=>ye(t(e),r),n=(e,r)=>t(e)-r):(e=t===ye||t===ve?t:be,r=t,n=t),{left:o,center:function(t,e,r=0,i=t.length){const 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{const e=o+i>>>1;r(t[e],n)<=0?o=e+1:i=e}while(o<i)}return o}}}function be(){return 0}function ge(t){return null===t?NaN:+t}const xe=me(ye),we=xe.right,Oe=(xe.left,me(ge).center,we);function Se(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function je(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function Ee(){}var Pe=.7,Ae=1/Pe,ke="\\s*([+-]?\\d+)\\s*",_e="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Me="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Te=/^#([0-9a-f]{3,8})$/,Ce=new RegExp(`^rgb\\(${ke},${ke},${ke}\\)$`),De=new RegExp(`^rgb\\(${Me},${Me},${Me}\\)$`),Ne=new RegExp(`^rgba\\(${ke},${ke},${ke},${_e}\\)$`),Ie=new RegExp(`^rgba\\(${Me},${Me},${Me},${_e}\\)$`),Re=new RegExp(`^hsl\\(${_e},${Me},${Me}\\)$`),Le=new RegExp(`^hsla\\(${_e},${Me},${Me},${_e}\\)$`),Be={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function ze(){return this.rgb().formatHex()}function Ue(){return this.rgb().formatRgb()}function Fe(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=Te.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?$e(e):3===r?new He(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?We(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?We(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=Ce.exec(t))?new He(e[1],e[2],e[3],1):(e=De.exec(t))?new He(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Ne.exec(t))?We(e[1],e[2],e[3],e[4]):(e=Ie.exec(t))?We(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Re.exec(t))?Ze(e[1],e[2]/100,e[3]/100,1):(e=Le.exec(t))?Ze(e[1],e[2]/100,e[3]/100,e[4]):Be.hasOwnProperty(t)?$e(Be[t]):"transparent"===t?new He(NaN,NaN,NaN,0):null}function $e(t){return new He(t>>16&255,t>>8&255,255&t,1)}function We(t,e,r,n){return n<=0&&(t=e=r=NaN),new He(t,e,r,n)}function qe(t,e,r,n){return 1===arguments.length?((o=t)instanceof Ee||(o=Fe(o)),o?new He((o=o.rgb()).r,o.g,o.b,o.opacity):new He):new He(t,e,r,null==n?1:n);var o}function He(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function Ge(){return`#${Ke(this.r)}${Ke(this.g)}${Ke(this.b)}`}function Xe(){const t=Ve(this.opacity);return`${1===t?"rgb(":"rgba("}${Ye(this.r)}, ${Ye(this.g)}, ${Ye(this.b)}${1===t?")":`, ${t})`}`}function Ve(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Ye(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Ke(t){return((t=Ye(t))<16?"0":"")+t.toString(16)}function Ze(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Qe(t,e,r,n)}function Je(t){if(t instanceof Qe)return new Qe(t.h,t.s,t.l,t.opacity);if(t instanceof Ee||(t=Fe(t)),!t)return new Qe;if(t instanceof Qe)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+6*(r<n):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 Qe(a,u,c,t.opacity)}function Qe(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function tr(t){return(t=(t||0)%360)<0?t+360:t}
vendor: 6,903 bytes, line 2
2function er(t){return Math.max(0,Math.min(1,t||0))}function rr(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}function nr(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}Se(Ee,Fe,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:ze,formatHex:ze,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Je(this).formatHsl()},formatRgb:Ue,toString:Ue}),Se(He,qe,je(Ee,{brighter(t){return t=null==t?Ae:Math.pow(Ae,t),new He(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?Pe:Math.pow(Pe,t),new He(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new He(Ye(this.r),Ye(this.g),Ye(this.b),Ve(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:Ge,formatHex:Ge,formatHex8:function(){return`#${Ke(this.r)}${Ke(this.g)}${Ke(this.b)}${Ke(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Xe,toString:Xe})),Se(Qe,(function(t,e,r,n){return 1===arguments.length?Je(t):new Qe(t,e,r,null==n?1:n)}),je(Ee,{brighter(t){return t=null==t?Ae:Math.pow(Ae,t),new Qe(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Pe:Math.pow(Pe,t),new Qe(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),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 He(rr(t>=240?t-240:t+120,o,n),rr(t,o,n),rr(t<120?t+240:t-120,o,n),this.opacity)},clamp(){return new Qe(tr(this.h),er(this.s),er(this.l),Ve(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Ve(this.opacity);return`${1===t?"hsl(":"hsla("}${tr(this.h)}, ${100*er(this.s)}%, ${100*er(this.l)}%${1===t?")":`, ${t})`}`}}));const or=t=>()=>t;function ir(t,e){var r=e-t;return r?function(t,e){return function(r){return t+r*e}}(t,r):or(isNaN(t)?e:t)}const ar=function t(e){var r=function(t){return 1==(t=+t)?ir:function(e,r){return r-e?function(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(n){return Math.pow(t+n*e,r)}}(e,r,t):or(isNaN(e)?r:e)}}(e);function n(t,e){var n=r((t=qe(t)).r,(e=qe(e)).r),o=r(t.g,e.g),i=r(t.b,e.b),a=ir(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=o(e),t.b=i(e),t.opacity=a(e),t+""}}return n.gamma=t,n}(1);function ur(t){return function(e){var r,n,o=e.length,i=new Array(o),a=new Array(o),u=new Array(o);for(r=0;r<o;++r)n=qe(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 cr(t,e){var r,n=e?e.length:0,o=t?Math.min(n,t.length):0,i=new Array(o),a=new Array(n);for(r=0;r<o;++r)i[r]=vr(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 lr(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}function sr(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}function fr(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]=vr(t[r],e[r]):o[r]=e[r];return function(t){for(r in n)o[r]=n[r](t);return o}}ur((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 nr((r-n/e)*e,a,o,i,u)}})),ur((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 nr((r-n/e)*e,o,i,a,u)}}));var pr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,hr=new RegExp(pr.source,"g");function dr(t,e){var r,n,o,i=pr.lastIndex=hr.lastIndex=0,a=-1,u=[],c=[];for(t+="",e+="";(r=pr.exec(t))&&(n=hr.exec(e));)(o=n.index)>i&&(o=e.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(r=r[0])===(n=n[0])?u[a]?u[a]+=n:u[++a]=n:(u[++a]=null,c.push({i:a,x:sr(r,n)})),i=hr.lastIndex;return i<e.length&&(o=e.slice(i),u[a]?u[a]+=o:u[++a]=o),u.length<2?c[0]?function(t){return function(e){return t(e)+""}}(c[0].x):function(t){return function(){return t}}(e):(e=c.length,function(t){for(var r,n=0;n<e;++n)u[(r=c[n]).i]=r.x(t);return u.join("")})}function yr(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}}function vr(t,e){var r,n,o=typeof e;return null==e||"boolean"===o?or(e):("number"===o?sr:"string"===o?(r=Fe(e))?(e=r,ar):dr:e instanceof Fe?ar:e instanceof Date?lr:(n=e,!ArrayBuffer.isView(n)||n instanceof DataView?Array.isArray(e)?cr:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?fr:sr:yr))(t,e)}function mr(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}function br(t){return+t}var gr=[0,1];function xr(t){return t}function wr(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:(r=isNaN(e)?NaN:.5,function(){return r});var r}function Or(t,e,r){var n=t[0],o=t[1],i=e[0],a=e[1];return o<n?(n=wr(o,n),i=r(a,i)):(n=wr(n,o),i=r(i,a)),function(t){return i(n(t))}}function Sr(t,e,r){var n=Math.min(t.length,e.length)-1,o=new Array(n),i=new Array(n),a=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<n;)o[a]=wr(t[a],t[a+1]),i[a]=r(e[a],e[a+1]);return function(e){var r=Oe(t,e,1,n)-1;return i[r](o[r](e))}}function jr(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Er(){var t,e,r,n,o,i,a=gr,u=gr,c=vr,l=xr;function s(){var t=Math.min(a.length,u.length);return l!==xr&&(l=function(t,e){var r;return t>e&&(r=t,t=e,e=r),function(r){return Math.max(t,Math.min(e,r))}}(a[0],a[t-1])),n=t>2?Sr:Or,o=i=null,f}function f(e){return null==e||isNaN(e=+e)?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),sr)))(r)))},f.domain=function(t){return arguments.length?(a=Array.from(t,br),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=mr,s()},f.clamp=function(t){return arguments.length?(l=!!t||xr,s()):l!==xr},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 Pr(){return Er()(xr,xr)}var Ar,kr=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function _r(t){if(!(e=kr.exec(t)))throw new Error("invalid format: "+t);var e;return new Mr({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 Mr(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.
vendor: 4,133 bytes, line 2
2width,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 Tr(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 Cr(t){return(t=Tr(Math.abs(t)))?t[1]:NaN}function Dr(t,e){var r=Tr(t,e);if(!r)return t+"";var n=r[0],o=r[1];return o<0?"0."+new Array(-o).join("0")+n:n.length>o+1?n.slice(0,o+1)+"."+n.slice(o+1):n+new Array(o-n.length+2).join("0")}_r.prototype=Mr.prototype,Mr.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const Nr={"%":(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))>=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)=>Dr(100*t,e),r:Dr,s:function(t,e){var r=Tr(t,e);if(!r)return t+"";var n=r[0],o=r[1],i=o-(Ar=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=n.length;return i===a?n:i>a?n+new Array(i-a+1).join("0"):i>0?n.slice(0,i)+"."+n.slice(i):"0."+new Array(1-i).join("0")+Tr(t,Math.max(0,e+i-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Ir(t){return t}var Rr,Lr,Br,zr=Array.prototype.map,Ur=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Fr(t,e,r,n){var o,i=de(t,e,r);switch((n=_r(null==n?",f":n)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=n.precision||isNaN(o=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Cr(e)/3)))-Cr(Math.abs(t)))}(i,a))||(n.precision=o),Br(n,a);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(o=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Cr(e)-Cr(t))+1}(i,Math.max(Math.abs(t),Math.abs(e))))||(n.precision=o-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(o=function(t){return Math.max(0,-Cr(Math.abs(t)))}(i))||(n.precision=o-2*("%"===n.type))}return Lr(n)}function $r(t){var e=t.domain;return t.ticks=function(t){var r=e();return pe(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return Fr(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=he(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))break;c=Math.ceil(c*o)/o,l=Math.floor(l*o)/o}n=o}return t},t}function Wr(){var t=Pr();return t.copy=function(){return jr(t,Wr())},Jt.apply(t,arguments),$r(t)}function qr(t){var e;function r(t){return null==t||isNaN(t=+t)?e:t}return r.invert=r,r.domain=r.range=function(e){return arguments.length?(t=Array.from(e,br),r):t.slice()},r.unknown=function(t){return arguments.length?(e=t,r):e},r.copy=function(){return qr(t).unknown(e)},t=arguments.length?Array.from(t,br):[0,1],$r(r)}function Hr(t,e){var r,n=0,o=(t=t.slice()).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 Gr(t){return Math.log(t)}function Xr(t){return Math.exp(t)}function Vr(t){return-Math.log(-t)}function Yr(t){return-Math.exp(-t)}function Kr(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Zr(t){return(e,r)=>-t(-e,r)}function Jr(t){const e=t(Gr,Xr),r=e.domain;let n,o,i=10;function a(){return n=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),e=>Math.log(e)/t)}(i),o=function(t){return 10===t?Kr:t===Math.E?Math.exp:e=>Math.pow(t,e)}(i),r()[0]<0?(n=Zr(n),o=Zr(o),t(Vr,Yr)):t(Gr,Xr),e}return e.base=function(t){return arguments.length?(i=+t,a()):i},e.domain=function(t){return arguments.length?(r(t),a()):r()},e.ticks=t=>{const e=r();let a=e[0],u=e[e.length-1];const c=u<a;c&&([a,u]=[u,a]);let l,s,f=n(a),p=n(u);const h=null==t?10:+t;let d=[];
vendor: 5,789 bytes, line 2
2if(!(i%1)&&p-f<h){if(f=Math.floor(f),p=Math.ceil(p),a>0){for(;f<=p;++f)for(l=1;l<i;++l)if(s=f<0?l/o(-f):l*o(f),!(s<a)){if(s>u)break;d.push(s)}}else for(;f<=p;++f)for(l=i-1;l>=1;--l)if(s=f>0?l/o(-f):l*o(f),!(s<a)){if(s>u)break;d.push(s)}2*d.length<h&&(d=pe(a,u,h))}else d=pe(f,p,Math.min(p-f,h)).map(o);return c?d.reverse():d},e.tickFormat=(t,r)=>{if(null==t&&(t=10),null==r&&(r=10===i?"s":","),"function"!=typeof r&&(i%1||null!=(r=_r(r)).precision||(r.trim=!0),r=Lr(r)),t===1/0)return r;const a=Math.max(1,i*t/e.ticks().length);return t=>{let e=t/o(Math.round(n(t)));return e*i<i-.5&&(e*=i),e<=a?r(t):""}},e.nice=()=>r(Hr(r(),{floor:t=>o(Math.floor(n(t))),ceil:t=>o(Math.ceil(n(t)))})),e}function Qr(){const t=Jr(Er()).domain([1,10]);return t.copy=()=>jr(t,Qr()).base(t.base()),Jt.apply(t,arguments),t}function tn(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function en(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function rn(t){var e=1,r=t(tn(e),en(e));return r.constant=function(r){return arguments.length?t(tn(e=+r),en(e)):e},$r(r)}function nn(){var t=rn(Er());return t.copy=function(){return jr(t,nn()).constant(t.constant())},Jt.apply(t,arguments)}function on(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function an(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function un(t){return t<0?-t*t:t*t}function cn(t){var e=t(xr,xr),r=1;return e.exponent=function(e){return arguments.length?1==(r=+e)?t(xr,xr):.5===r?t(an,un):t(on(r),on(1/r)):r},$r(e)}function ln(){var t=cn(Er());return t.copy=function(){return jr(t,ln()).exponent(t.exponent())},Jt.apply(t,arguments),t}function sn(){return ln.apply(null,arguments).exponent(.5)}function fn(t){return Math.sign(t)*t*t}function pn(){var t,e=Pr(),r=[0,1],n=!1;function o(r){var o=function(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}(e(r));return isNaN(o)?t:n?Math.round(o):o}return o.invert=function(t){return e.invert(fn(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,br)).map(fn)),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 pn(e.domain(),r).round(n).clamp(e.clamp()).unknown(t)},Jt.apply(o,arguments),$r(o)}function hn(t,e){let r;if(void 0===e)for(const 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 dn(t,e){let r;if(void 0===e)for(const 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 yn(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:t>e?1:0)}function vn(t,e,r=0,n=1/0,o){if(e=Math.floor(e),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(t.length-1,n)),!(r<=e&&e<=n))return t;for(o=void 0===o?yn:function(t=ye){if(t===ye)return yn;if("function"!=typeof t)throw new TypeError("compare is not a function");return(e,r)=>{const n=t(e,r);return n||0===n?n:(0===t(r,r))-(0===t(e,e))}}(o);n>r;){if(n-r>600){const i=n-r+1,a=e-r+1,u=Math.log(i),c=.5*Math.exp(2*u/3),l=.5*Math.sqrt(u*c*(i-c)/i)*(a-i/2<0?-1:1);vn(t,e,Math.max(r,Math.floor(e-a*c/i+l)),Math.min(n,Math.floor(e+(i-a)*c/i+l)),o)}const i=t[e];let a=r,u=n;for(mn(t,r,e),o(t[n],i)>0&&mn(t,r,n);a<u;){for(mn(t,a,u),++a,--u;o(t[a],i)<0;)++a;for(;o(t[u],i)>0;)--u}0===o(t[r],i)?mn(t,r,u):(++u,mn(t,u,n)),u<=e&&(r=u+1),e<=u&&(n=u-1)}return t}function mn(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function bn(t,e,r=ge){if((n=t.length)&&!isNaN(e=+e)){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)}}function gn(){var t,e=[],r=[],n=[];function o(){var t=0,o=Math.max(1,r.length);for(n=new Array(o-1);++t<o;)n[t-1]=bn(e,t/o);return i}function i(e){return null==e||isNaN(e=+e)?t:r[Oe(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();e=[];for(let r of t)null==r||isNaN(r=+r)||e.push(r);return e.sort(ye),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 gn().domain(e).range(r).unknown(t)},Jt.apply(i,arguments)}function xn(){var t,e=0,r=1,n=1,o=[.5],i=[0,1];function a(e){return null!=e&&e<=e?i[Oe(o,e,0,n)]:t}function u(){var t=-1;for(o=new 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=+e,r=+r,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},a.thresholds=function(){return o.slice()},a.copy=function(){return xn().domain([e,r]).range(i).unknown(t)},Jt.apply($r(a),arguments)}function wn(){var t,e=[.5],r=[0,1],n=1;function o(o){return null!=o&&o<=o?r[Oe(e,o,0,n)]:t}return o.domain=function(t){return arguments.length?(e=Array.from(t),n=Math.min(e.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 wn().domain(e).range(r).unknown(t)},Jt.apply(o,arguments)}
vendor: 12,352 bytes, line 2
2Rr=function(t){var e,r,n=void 0===t.grouping||void 0===t.thousands?Ir:(e=zr.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)}),o=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?Ir:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(zr.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",l=void 0===t.minus?"−":t.minus+"",s=void 0===t.nan?"NaN":t.nan+"";function f(t){var e=(t=_r(t)).fill,r=t.align,f=t.sign,p=t.symbol,h=t.zero,d=t.width,y=t.comma,v=t.precision,m=t.trim,b=t.type;"n"===b?(y=!0,b="g"):Nr[b]||(void 0===v&&(v=12),m=!0,b="g"),(h||"0"===e&&"="===r)&&(h=!0,e="0",r="=");var g="$"===p?o:"#"===p&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",x="$"===p?i:/[%p]/.test(b)?c:"",w=Nr[b],O=/[defgprs%]/.test(b);function S(t){var o,i,c,p=g,S=x;if("c"===b)S=w(t)+S,t="";else{var j=(t=+t)<0||1/t<0;if(t=isNaN(t)?s:w(Math.abs(t),v),m&&(t=function(t){t: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 t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t}(t)),j&&0==+t&&"+"!==f&&(j=!1),p=(j?"("===f?f:l:"-"===f||"("===f?"":f)+p,S=("s"===b?Ur[8+Ar/3]:"")+S+(j&&"("===f?")":""),O)for(o=-1,i=t.length;++o<i;)if(48>(c=t.charCodeAt(o))||c>57){S=(46===c?a+t.slice(o+1):t.slice(o))+S,t=t.slice(0,o);break}}y&&!h&&(t=n(t,1/0));var E=p.length+t.length+S.length,P=E<d?new Array(d-E+1).join(e):"";switch(y&&h&&(t=n(P+t,P.length?d-S.length:1/0),P=""),r){case"<":t=p+t+S+P;break;case"=":t=p+P+t+S;break;case"^":t=P.slice(0,E=P.length>>1)+p+t+S+P.slice(E);break;default:t=P+p+t+S}return u(t)}return v=void 0===v?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),S.toString=function(){return t+""},S}return{format:f,formatPrefix:function(t,e){var r=f(((t=_r(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(Cr(e)/3))),o=Math.pow(10,-n),i=Ur[8+n/3];return function(t){return r(o*t)+i}}}}({thousands:",",grouping:[3],currency:["$",""]}),Lr=Rr.format,Br=Rr.formatPrefix;const On=1e3,Sn=6e4,jn=36e5,En=864e5,Pn=6048e5,An=31536e6,kn=new Date,_n=new Date;function Mn(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=>{const 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)=>{const a=[];if(r=o.ceil(r),i=null==i?1:Math.floor(i),!(r<n&&i>0))return a;let u;do{a.push(u=new Date(+r)),e(r,i),t(r)}while(u<r&&r<n);return a},o.filter=r=>Mn((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)=>(kn.setTime(+e),_n.setTime(+n),t(kn),t(_n),Math.floor(r(kn,_n))),o.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(n?e=>n(e)%t==0:e=>o.count(0,e)%t==0):o:null)),o}const Tn=Mn((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));Tn.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?Mn((e=>{e.setTime(Math.floor(e/t)*t)}),((e,r)=>{e.setTime(+e+r*t)}),((e,r)=>(r-e)/t)):Tn:null),Tn.range;const Cn=Mn((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*On)}),((t,e)=>(e-t)/On),(t=>t.getUTCSeconds())),Dn=(Cn.range,Mn((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*On)}),((t,e)=>{t.setTime(+t+e*Sn)}),((t,e)=>(e-t)/Sn),(t=>t.getMinutes()))),Nn=(Dn.range,Mn((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*Sn)}),((t,e)=>(e-t)/Sn),(t=>t.getUTCMinutes()))),In=(Nn.range,Mn((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*On-t.getMinutes()*Sn)}),((t,e)=>{t.setTime(+t+e*jn)}),((t,e)=>(e-t)/jn),(t=>t.getHours()))),Rn=(In.range,Mn((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*jn)}),((t,e)=>(e-t)/jn),(t=>t.getUTCHours()))),Ln=(Rn.range,Mn((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Sn)/En),(t=>t.getDate()-1))),Bn=(Ln.range,Mn((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/En),(t=>t.getUTCDate()-1))),zn=(Bn.range,Mn((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/En),(t=>Math.floor(t/En))));function Un(t){return Mn((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())*Sn)/Pn))}zn.range;const Fn=Un(0),$n=Un(1),Wn=Un(2),qn=Un(3),Hn=Un(4),Gn=Un(5),Xn=Un(6);function Vn(t){return Mn((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)/Pn))}Fn.range,$n.range,Wn.range,qn.range,Hn.range,Gn.range,Xn.range;const Yn=Vn(0),Kn=Vn(1),Zn=Vn(2),Jn=Vn(3),Qn=Vn(4),to=Vn(5),eo=Vn(6),ro=(Yn.range,Kn.range,Zn.range,Jn.range,Qn.range,to.range,eo.range,Mn((t=>{t.setDate(1),t.setHours(0,0,0,0)}),((t,e)=>{t.setMonth(t.getMonth()+e)}),((t,e)=>e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())),(t=>t.getMonth()))),no=(ro.range,Mn((t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)}),((t,e)=>e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())),(t=>t.getUTCMonth()))),oo=(no.range,Mn((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())));oo.every=t=>isFinite(t=Math.floor(t))&&t>0?Mn((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,oo.range;const io=Mn((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()));function ao(t,e,r,n,o,i){const a=[[Cn,1,On],[Cn,5,5e3],[Cn,15,15e3],[Cn,30,3e4],[i,1,Sn],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,jn],[o,3,108e5],[o,6,216e5],[o,12,432e5],[n,1,En],[n,2,1728e5],[r,1,Pn],[e,1,2592e6],[e,3,7776e6],[t,1,An]];function u(e,r,n){const o=Math.abs(r-e)/n,i=me((([,,t])=>t)).right(a,o);if(i===a.length)return t.every(de(e/An,r/An,n));if(0===i)return Tn.every(Math.max(de(e,r,n),1));const[u,c]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return u.every(c)}return[function(t,e,r){const n=e<t;n&&([t,e]=[e,t]);const o=r&&"function"==typeof r.range?r:u(t,e,r),i=o?o.range(t,+e+1):[];return n?i.reverse():i},u]}io.every=t=>isFinite(t=Math.floor(t))&&t>0?Mn((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,io.range;const[uo,co]=ao(io,no,Yn,zn,Rn,Nn),[lo,so]=ao(oo,ro,Fn,Ln,In,Dn);function fo(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 po(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 ho(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var yo,vo,mo,bo={"-":"",_:" ",0:"0"},go=/^\s*\d+/,xo=/^%/,wo=/[\\^$*+?|[\]().{}]/g;function Oo(t,e,r){var n=t<0?"-":"",o=(n?-t:t)+"",i=o.length;return n+(i<r?new Array(r-i+1).join(e)+o:o)}function So(t){return t.replace(wo,"\\$&")}function jo(t){return new RegExp("^(?:"+t.map(So).join("|")+")","i")}function Eo(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function Po(t,e,r){var n=go.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function Ao(t,e,r){var n=go.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function ko(t,e,r){var n=go.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function _o(t,e,r){var n=go.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function Mo(t,e,r){var n=go.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function To(t,e,r){var n=go.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function Co(t,e,r){var n=go.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function Do(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 No(t,e,r){var n=go.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function Io(t,e,r){var n=go.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function Ro(t,e,r){var n=go.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function Lo(t,e,r){var n=go.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function Bo(t,e,r){var n=go.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function zo(t,e,r){var n=go.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function Uo(t,e,r){var n=go.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function Fo(t,e,r){var n=go.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function $o(t,e,r){var n=go.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Wo(t,e,r){var n=xo.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function qo(t,e,r){var n=go.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function Ho(t,e,r){var n=go.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function Go(t,e){return Oo(t.getDate(),e,2)}function Xo(t,e){return Oo(t.getHours(),e,2)}function Vo(t,e){return Oo(t.getHours()%12||12,e,2)}function Yo(t,e){return Oo(1+Ln.count(oo(t),t),e,3)}function Ko(t,e){return Oo(t.getMilliseconds(),e,3)}function Zo(t,e){return Ko(t,e)+"000"}function Jo(t,e){return Oo(t.getMonth()+1,e,2)}function Qo(t,e){return Oo(t.getMinutes(),e,2)}function ti(t,e){return Oo(t.getSeconds(),e,2)}function ei(t){var e=t.getDay();return 0===e?7:e}function ri(t,e){return Oo(Fn.count(oo(t)-1,t),e,2)}function ni(t){var e=t.getDay();return e>=4||0===e?Hn(t):Hn.ceil(t)}function oi(t,e){return t=ni(t),Oo(Hn.count(oo(t),t)+(4===oo(t).getDay()),e,2)}function ii(t){return t.getDay()}function ai(t,e){return Oo($n.count(oo(t)-1,t),e,2)}function ui(t,e){return Oo(t.getFullYear()%100,e,2)}function ci(t,e){return Oo((t=ni(t)).getFullYear()%100,e,2)}function li(t,e){return Oo(t.getFullYear()%1e4,e,4)}function si(t,e){var r=t.getDay();return Oo((t=r>=4||0===r?Hn(t):Hn.ceil(t)).getFullYear()%1e4,e,4)}function fi(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Oo(e/60|0,"0",2)+Oo(e%60,"0",2)}function pi(t,e){return Oo(t.getUTCDate(),e,2)}function hi(t,e){return Oo(t.getUTCHours(),e,2)}function di(t,e){return Oo(t.getUTCHours()%12||12,e,2)}function yi(t,e){return Oo(1+Bn.count(io(t),t),e,3)}function vi(t,e){return Oo(t.getUTCMilliseconds(),e,3)}function mi(t,e){return vi(t,e)+"000"}function bi(t,e){return Oo(t.getUTCMonth()+1,e,2)}function gi(t,e){return Oo(t.getUTCMinutes(),e,2)}function xi(t,e){return Oo(t.getUTCSeconds(),e,2)}function wi(t){var e=t.getUTCDay();return 0===e?7:e}function Oi(t,e){return Oo(Yn.count(io(t)-1,t),e,2)}function Si(t){var e=t.getUTCDay();return e>=4||0===e?Qn(t):Qn.ceil(t)}function ji(t,e){return t=Si(t),Oo(Qn.count(io(t),t)+(4===io(t).getUTCDay()),e,2)}function Ei(t){return t.getUTCDay()}function Pi(t,e){return Oo(Kn.count(io(t)-1,t),e,2)}function Ai(t,e){return Oo(t.getUTCFullYear()%100,e,2)}function ki(t,e){return Oo((t=Si(t)).getUTCFullYear()%100,e,2)}function _i(t,e){return Oo(t.getUTCFullYear()%1e4,e,4)}function Mi(t,e){var r=t.getUTCDay();return Oo((t=r>=4||0===r?Qn(t):Qn.ceil(t)).getUTCFullYear()%1e4,e,4)}function Ti(){return"+0000"}function Ci(){return"%"}function Di(t){return+t}function Ni(t){return Math.floor(+t/1e3)}function Ii(t){return new Date(t)}function Ri(t){return t instanceof Date?+t:+new Date(+t)}function Li(t,e,r,n,o,i,a,u,c,l){var s=Pr(),f=s.invert,p=s.domain,h=l(".%L"),d=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 w(t){return(c(t)<t?h:u(t)<t?d: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,Ri)):p().map(Ii)},s.ticks=function(e){var r=p();return t(r[0],r[r.length-1],null==e?10:e)}
vendor: 1,646 bytes, line 2
2,s.tickFormat=function(t,e){return null==e?w: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(Hr(r,t)):s},s.copy=function(){return jr(s,Li(t,e,r,n,o,i,a,u,c,l))},s}function Bi(){return Jt.apply(Li(lo,so,oo,ro,Fn,Ln,In,Dn,Cn,vo).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function zi(){return Jt.apply(Li(uo,co,io,no,Yn,Bn,Rn,Nn,Cn,mo).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Ui(){var t,e,r,n,o,i=0,a=1,u=xr,c=!1;function l(e){return null==e||isNaN(e=+e)?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=+i),e=n(a=+a),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(vr),l.rangeRound=s(mr),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 Fi(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function $i(){var t=$r(Ui()(xr));return t.copy=function(){return Fi(t,$i())},Qt.apply(t,arguments)}function Wi(){var t=Jr(Ui()).domain([1,10]);return t.copy=function(){return Fi(t,Wi()).base(t.base())},Qt.apply(t,arguments)}function qi(){var t=rn(Ui());return t.copy=function(){return Fi(t,qi()).constant(t.constant())},Qt.apply(t,arguments)}function Hi(){var t=cn(Ui());return t.copy=function(){return Fi(t,Hi()).exponent(t.exponent())}
vendor: 2,331 bytes, line 2
2,Qt.apply(t,arguments)}function Gi(){return Hi.apply(null,arguments).exponent(.5)}function Xi(){var t=[],e=xr;function r(r){if(null!=r&&!isNaN(r=+r))return e((Oe(t,r,1)-1)/(t.length-1))}return r.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let r of e)null==r||isNaN(r=+r)||t.push(r);return t.sort(ye),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,r){if(t=Float64Array.from(function*(t,e){if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(yield e);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(n=+n)>=n&&(yield n)}}(t,r)),(n=t.length)&&!isNaN(e=+e)){if(e<=0||n<2)return dn(t);if(e>=1)return hn(t);var n,o=(n-1)*e,i=Math.floor(o),a=hn(vn(t,i).subarray(0,i+1));return a+(dn(t.subarray(i+1))-a)*(o-i)}}(t,n/e)))},r.copy=function(){return Xi(e).domain(t)},Qt.apply(r,arguments)}function Vi(){var t,e,r,n,o,i,a,u=0,c=.5,l=1,s=1,f=xr,p=!1;function h(t){return isNaN(t=+t)?a:(t=.5+((t=+i(t))-e)*(s*t<s*e?n:o),f(p?Math.max(0,Math.min(1,t)):t))}function d(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=vr);for(var r=0,n=e.length-1,o=e[0],i=new 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]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){return arguments.length?([u,c,l]=a,t=i(u=+u),e=i(c=+c),r=i(l=+l),n=t===e?0:.5/(e-t),o=e===r?0:.5/(r-e),s=e<t?-1:1,h):[u,c,l]},h.clamp=function(t){return arguments.length?(p=!!t,h):p},h.interpolator=function(t){return arguments.length?(f=t,h):f},h.range=d(vr),h.rangeRound=d(mr),h.unknown=function(t){return arguments.length?(a=t,h):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,h}}function Yi(){var t=$r(Vi()(xr));return t.copy=function(){return Fi(t,Yi())},Qt.apply(t,arguments)}function Ki(){var t=Jr(Vi()).domain([.1,1,10]);return t.copy=function(){return Fi(t,Ki()).base(t.base())},Qt.apply(t,arguments)}function Zi(){var t=rn(Vi());return t.copy=function(){return Fi(t,Zi()).constant(t.constant())},Qt.apply(t,arguments)}function Ji(){var t=cn(Vi());return t.copy=function(){return Fi(t,Ji()).exponent(t.exponent())}
vendor: 4,184 bytes, line 2
2,Qt.apply(t,arguments)}function Qi(){return Ji.apply(null,arguments).exponent(.5)}function ta(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 ea(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function ra(t){return function(){return t}}function na(t){for(var e=t.length,r=new Array(e);--e>=0;)r[e]=e;return r}function oa(t,e){return t[e]}function ia(t){const e=[];return e.key=t,e}yo=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=jo(o),s=Eo(o),f=jo(i),p=Eo(i),h=jo(a),d=Eo(a),y=jo(u),v=Eo(u),m=jo(c),b=Eo(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:Go,e:Go,f:Zo,g:ci,G:si,H:Xo,I:Vo,j:Yo,L:Ko,m:Jo,M:Qo,p:function(t){return o[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Di,s:Ni,S:ti,u:ei,U:ri,V:oi,w:ii,W:ai,x:null,X:null,y:ui,Y:li,Z:fi,"%":Ci},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:pi,e:pi,f:mi,g:ki,G:Mi,H:hi,I:di,j:yi,L:vi,m:bi,M:gi,p:function(t){return o[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Di,s:Ni,S:xi,u:wi,U:Oi,V:ji,w:Ei,W:Pi,x:null,X:null,y:Ai,Y:_i,Z:Ti,"%":Ci},w={a:function(t,e,r){var n=h.exec(e.slice(r));return n?(t.w=d.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 j(t,e,r,n)},d:Ro,e:Ro,f:$o,g:Co,G:To,H:Bo,I:Bo,j:Lo,L:Fo,m:Io,M:zo,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:No,Q:qo,s:Ho,S:Uo,u:Ao,U:ko,V:_o,w:Po,W:Mo,x:function(t,e,n){return j(t,r,e,n)},X:function(t,e,r){return j(t,n,e,r)},y:Co,Y:To,Z:Do,"%":Wo};function O(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=bo[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 S(t,e){return function(r){var n,o,i=ho(1900,void 0,1);if(j(i,t,r+="",0)!=r.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(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?(o=(n=po(ho(i.y,0,1))).getUTCDay(),n=o>4||0===o?Kn.ceil(n):Kn(n),n=Bn.offset(n,7*(i.V-1)),i.y=n.getUTCFullYear(),i.m=n.getUTCMonth(),i.d=n.getUTCDate()+(i.w+6)%7):(o=(n=fo(ho(i.y,0,1))).getDay(),n=o>4||0===o?$n.ceil(n):$n(n),n=Ln.offset(n,7*(i.V-1)),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?1:0),o="Z"in i?po(ho(i.y,0,1)).getUTCDay():fo(ho(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,po(i)):fo(i)}}function j(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(o=e.charAt(a++),!(i=w[o in bo?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=O(r,g),g.X=O(n,g),g.c=O(e,g),x.x=O(r,x),x.X=O(n,x),x.c=O(e,x),{format:function(t){var e=O(t+="",g);return e.toString=function(){return t},e},parse:function(t){var e=S(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=O(t+="",x);return e.toString=function(){return t},e},utcParse:function(t){var e=S(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","Frid
2ay","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"]}),vo=yo.format,yo.parse,mo=yo.utcFormat,yo.utcParse,Array.prototype.slice;var aa=r(9887),ua=r.n(aa);function ca(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var la=function(t){return t},sa={"@@functional/placeholder":!0},fa=function(t){return t===sa},pa=function(t){return function e(){return 0===arguments.length||1===arguments.length&&fa(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},ha=function t(e,r){return 1===e?r:pa((function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var a=o.filter((function(t){return t!==sa})).length;return a>=e?r.apply(void 0,o):t(e-a,pa((function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,a=o.map((function(t){return fa(t)?e.shift():t}));return r.apply(void 0,(i=a,function(t){if(Array.isArray(t))return ca(t)}(i)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(i)||function(t,e){if(t){if("string"==typeof t)return ca(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ca(t,e):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat(e))})))}))},da=function(t){return ha(t.length,t)},ya=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},va=da((function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map((function(t){return e[t]})).map(t)})),ma=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return la;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))}},ba=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},ga=function(t){var e=null,r=null;return function(){for(var n=arguments.length,o=new 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))}},xa=da((function(t,e,r){var n=+t;return n+r*(+e-n)})),wa=da((function(t,e,r){var n=e-+t;return(r-t)/(n||1/0)})),Oa=da((function(t,e,r){var n=e-+t;return n=n||1/0,Math.max(0,Math.min(1,(r-t)/n))}));const Sa={rangeStep:function(t,e,r){for(var n=new(ua())(t),o=0,i=[];n.lt(e)&&o<1e5;)i.push(n.toNumber()),n=n.add(r),o++;return i},getDigitCount:function(t){return 0===t?1:Math.floor(new(ua())(t).abs().log(10).toNumber())+1},interpolateNumber:xa,uninterpolateNumber:wa,uninterpolateTruncation:Oa};function ja(t){return function(t){if(Array.isArray(t))return Aa(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Pa(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ea(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=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)||Pa(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pa(t,e){if(t){if("string"==typeof t)return Aa(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Aa(t,e):void 0}}function Aa(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ka(t){var e=Ea(t,2),r=e[0],n=e[1],o=r,i=n;return r>n&&(o=n,i=r),[o,i]}function _a(t,e,r){if(t.lte(0))return new(ua())(0);var n=Sa.getDigitCount(t.toNumber()),o=new(ua())(10).pow(n),i=t.div(o),a=1!==n?.05:.1,u=new(ua())(Math.ceil(i.div(a
2).toNumber())).add(r).mul(a).mul(o);return e?u:new(ua())(Math.ceil(u))}function Ma(t,e,r){var n=1,o=new(ua())(t);if(!o.isint()&&r){var i=Math.abs(t);i<1?(n=new(ua())(10).pow(Sa.getDigitCount(t)-1),o=new(ua())(Math.floor(o.div(n).toNumber())).mul(n)):i>1&&(o=new(ua())(Math.floor(t)))}else 0===t?o=new(ua())(Math.floor((e-1)/2)):r||(o=new(ua())(Math.floor(t)));var a=Math.floor((e-1)/2);return ma(va((function(t){return o.add(new(ua())(t-a).mul(n)).toNumber()})),ya)(0,e)}function Ta(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((e-t)/(r-1)))return{step:new(ua())(0),tickMin:new(ua())(0),tickMax:new(ua())(0)};var i,a=_a(new(ua())(e).sub(t).div(r-1),n,o);i=t<=0&&e>=0?new(ua())(0):(i=new(ua())(t).add(e).div(2)).sub(new(ua())(i).mod(a));var u=Math.ceil(i.sub(t).div(a).toNumber()),c=Math.ceil(new(ua())(e).sub(i).div(a).toNumber()),l=u+c+1;return l>r?Ta(t,e,r,n,o+1):(l<r&&(c=e>0?c+(r-l):c,u=e>0?u:u+(r-l)),{step:a,tickMin:i.sub(new(ua())(u).mul(a)),tickMax:i.add(new(ua())(c).mul(a))})}var Ca=ga((function(t){var e=Ea(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=Ea(ka([r,n]),2),c=u[0],l=u[1];if(c===-1/0||l===1/0){var s=l===1/0?[c].concat(ja(ya(0,o-1).map((function(){return 1/0})))):[].concat(ja(ya(0,o-1).map((function(){return-1/0}))),[l]);return r>n?ba(s):s}if(c===l)return Ma(c,o,i);var f=Ta(c,l,a,i),p=f.step,h=f.tickMin,d=f.tickMax,y=Sa.rangeStep(h,d.add(new(ua())(.1).mul(p)),p);return r>n?ba(y):y})),Da=(ga((function(t){var e=Ea(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=Ea(ka([r,n]),2),c=u[0],l=u[1];if(c===-1/0||l===1/0)return[r,n];if(c===l)return Ma(c,o,i);var s=_a(new(ua())(l).sub(c).div(a-1),i,0),f=ma(va((function(t){return new(ua())(c).add(new(ua())(t).mul(s)).toNumber()})),ya)(0,a).filter((function(t){return t>=c&&t<=l}));return r>n?ba(f):f})),ga((function(t,e){var r=Ea(t,2),n=r[0],o=r[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Ea(ka([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=_a(new(ua())(c).sub(u).div(l-1),i,0),f=[].concat(ja(Sa.rangeStep(new(ua())(u),new(ua())(c).sub(new(ua())(.99).mul(s)),s)),[c]);return n>o?ba(f):f}
2))),Na=r(3218),Ia=r.n(Na),Ra=r(9864);function La(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 Ba(t){return Ba="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},Ba(t)}var za=["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"],Ua=["points","pathLength"],Fa={svg:["viewBox","children"],polygon:Ua,polyline:Ua},$a=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onF
2ocus","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"],Wa=function(t,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if((0,e.isValidElement)(t)&&(n=t.props),!Ia()(n))return null;var o={};return Object.keys(n).forEach((function(t){$a.includes(t)&&(o[t]=r||function(e){return n[t](n,e)})})),o},qa=function(t,e,r){if(!Ia()(t)||"object"!==Ba(t))return null;var n=null;return Object.keys(t).forEach((function(o){var i=t[o];$a.includes(o)&&"function"==typeof i&&(n||(n={}),n[o]=function(t,e,r){return function(n){return t(e,r,n),null}}(i,e,r))})),n},Ha=["children"],Ga=["children"];function Xa(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}function Va(t){return Va="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},Va(t)}var Ya={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},Ka=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},Za=null,Ja=null,Qa=function t(r){if(r===Za&&D()(Ja))return Ja;var n=[];
2return e.Children.forEach(r,(function(e){ht()(e)||((0,Ra.isFragment)(e)?n=n.concat(t(e.props.children)):n.push(e))})),Ja=n,Za=r,n};function tu(t,e){var r=[],n=[];return n=D()(e)?e.map((function(t){return Ka(t)})):[Ka(e)],Qa(t).forEach((function(t){var e=T()(t,"type.displayName")||T()(t,"type.name");-1!==n.indexOf(e)&&r.push(t)})),r}function eu(t,e){var r=tu(t,e);return r&&r[0]}var ru=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!(!$(r)||r<=0||!$(n)||n<=0)},nu=["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"],ou=function(t,r,n){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var o=t;if((0,e.isValidElement)(t)&&(o=t.props),!Ia()(o))return null;var i={};return Object.keys(o).forEach((function(t){var e;(function(t,e,r,n){var o,i=null!==(o=null==Fa?void 0:Fa[n])&&void 0!==o?o:[];return!lt()(t)&&(n&&i.includes(e)||za.includes(e))||r&&$a.includes(e)})(null===(e=o)||void 0===e?void 0:e[t],t,r,n)&&(i[t]=o[t])})),i},iu=function t(r,n){if(r===n)return!0;var o=e.Children.count(r);if(o!==e.Children.count(n))return!1;if(0===o)return!0;if(1===o)return au(D()(r)?r[0]:r,D()(n)?n[0]:n);for(var i=0;i<o;i++){var a=r[i],u=n[i];if(D()(a)||D()(u)){if(!t(a,u))return!1}else if(!au(a,u))return!1}return!0}
2,au=function(t,e){if(ht()(t)&&ht()(e))return!0;if(!ht()(t)&&!ht()(e)){var r=t.props||{},n=r.children,o=Xa(r,Ha),i=e.props||{},a=i.children,u=Xa(i,Ga);return n&&a?La(o,u)&&iu(n,a):!n&&!a&&La(o,u)}return!1},uu=function(t,e){var r=[],n={};return Qa(t).forEach((function(t,o){if(function(t){return t&&t.type&&z()(t.type)&&nu.indexOf(t.type)>=0}(t))r.push(t);else if(t){var i=Ka(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},cu=["children","className"];function lu(){return lu=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},lu.apply(this,arguments)}var su=n().forwardRef((function(t,e){var r=t.children,o=t.className,i=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,cu),a=g()("recharts-layer",o);return n().createElement("g",lu({className:a},ou(i,!0),{ref:e}),r)})),fu=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function pu(){return pu=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},pu.apply(this,arguments)}function hu(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function du(t){var e=t.offset,r=t.layout,o=t.width,i=t.dataKey,a=t.data,u=t.dataPointFormatter,c=t.xAxis,l=t.yAxis,s=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,fu),f=ou(s),p=a.map((function(t,a){var s=u(t,i),p=s.x,h=s.y,d=s.value,y=s.errorVal;if(!y)return null;var v,m,b=[];if(Array.isArray(y)){var g=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=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 hu(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?hu(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(y,2);v=g[0],m=g[1]}else v=m=y;if("vertical"===r){var x=c.scale,w=h+e,O=w+o,S=w-o,j=x(d-v),E=x(d+m);b.push({x1:E,y1:O,x2:E,y2:S}),b.push({x1:j,y1:w,x2:E,y2:w}),b.push({x1:j,y1:O,x2:j,y2:S})}else if("horizontal"===r){var P=l.scale,A=p+e,k=A-o,_=A+o,M=P(d-v),T=P(d+m);b.push({x1:k,y1:T,x2:_,y2:T}),b.push({x1:A,y1:M,x2:A,y2:T}),b.push({x1:k,y1:M,x2:_,y2:M})}return n().createElement(su,pu({className:"recharts-errorBar",key:"bar-".concat(a)},f),b.map((function(t,e){return n().createElement("line",pu({},t,{key:"line-".concat(e)}))})))}));return n().createElement(su,{className:"recharts-errorBars"},p)}du.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},du.displayName="ErrorBar";var yu=r(5578),vu=r.n(yu),mu=["children","width","height","viewBox","className","style"];function bu(){return bu=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
vendor: 4,849 bytes, line 2
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},bu.apply(this,arguments)}function gu(t){var e=t.children,r=t.width,o=t.height,i=t.viewBox,a=t.className,u=t.style,c=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,mu),l=i||{width:r,height:o,x:0,y:0},s=g()("recharts-surface",a);return n().createElement("svg",bu({},ou(c,!0,"svg"),{className:s,width:r,height:o,style:u,viewBox:"".concat(l.x," ").concat(l.y," ").concat(l.width," ").concat(l.height)}),n().createElement("title",null,t.title),n().createElement("desc",null,t.desc),e)}Math.abs,Math.atan2;const xu=Math.cos,wu=(Math.max,Math.min,Math.sin),Ou=Math.sqrt,Su=Math.PI,ju=2*Su,Eu={draw(t,e){const r=Ou(e/Su);t.moveTo(r,0),t.arc(0,0,r,0,ju)}},Pu={draw(t,e){const r=Ou(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()}},Au=Ou(1/3),ku=2*Au,_u={draw(t,e){const r=Ou(e/ku),n=r*Au;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},Mu={draw(t,e){const r=Ou(e),n=-r/2;t.rect(n,n,r,r)}},Tu=wu(Su/10)/wu(7*Su/10),Cu=wu(ju/10)*Tu,Du=-xu(ju/10)*Tu,Nu={draw(t,e){const r=Ou(.8908130915292852*e),n=Cu*r,o=Du*r;t.moveTo(0,-r),t.lineTo(n,o);for(let e=1;e<5;++e){const i=ju*e/5,a=xu(i),u=wu(i);t.lineTo(u*r,-a*r),t.lineTo(a*n-u*o,u*n+a*o)}t.closePath()}},Iu=Ou(3),Ru={draw(t,e){const r=-Ou(e/(3*Iu));t.moveTo(0,2*r),t.lineTo(-Iu*r,-r),t.lineTo(Iu*r,-r),t.closePath()}},Lu=-.5,Bu=Ou(3)/2,zu=1/Ou(12),Uu=3*(zu/2+1),Fu={draw(t,e){const r=Ou(e/Uu),n=r/2,o=r*zu,i=n,a=r*zu+r,u=-i,c=a;t.moveTo(n,o),t.lineTo(i,a),t.lineTo(u,c),t.lineTo(Lu*n-Bu*o,Bu*n+Lu*o),t.lineTo(Lu*i-Bu*a,Bu*i+Lu*a),t.lineTo(Lu*u-Bu*c,Bu*u+Lu*c),t.lineTo(Lu*n+Bu*o,Lu*o-Bu*n),t.lineTo(Lu*i+Bu*a,Lu*a-Bu*i),t.lineTo(Lu*u+Bu*c,Lu*c-Bu*u),t.closePath()}},$u=Math.PI,Wu=2*$u,qu=1e-6,Hu=Wu-qu;function Gu(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}class Xu{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?Gu:function(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return Gu;const 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},${this._x1=+o},${this._y1=+i}`}arcTo(t,e,r,n,o){if(t=+t,e=+e,r=+r,n=+n,(o=+o)<0)throw new 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>qu)if(Math.abs(s*u-c*l)>qu&&o){let p=r-i,h=n-a,d=u*u+c*c,y=p*p+h*h,v=Math.sqrt(d),m=Math.sqrt(f),b=o*Math.tan(($u-Math.acos((d+f-y)/(2*v*m)))/2),g=b/m,x=b/v;Math.abs(g-1)>qu&&this._append`L${t+g*l},${e+g*s}`,this._append`A${o},${o},0,0,${+(s*p>l*h)},${this._x1=t+x*u},${this._y1=e+x*c}`}else this._append`L${this._x1=t},${this._y1=e}`}arc(t,e,r,n,o,i){if(t=+t,e=+e,i=!!i,(r=+r)<0)throw new 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)>qu||Math.abs(this._y1-l)>qu)&&this._append`L${c},${l}`,r&&(f<0&&(f=f%Wu+Wu),f>Hu?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>qu&&this._append`A${r},${r},0,${+(f>=$u)},${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=+r}v${+n}h${-r}Z`}toString(){return this._}}function Vu(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{const t=Math.floor(r);if(!(t>=0))throw new RangeError(`invalid digits: ${r}`);e=t}return t},()=>new Xu(e)}function Yu(t){return Yu="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},Yu(t)}Xu.prototype,Ou(3),Ou(3);var Ku=["type","size","sizeType"];function Zu(){return Zu=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Zu.apply(this,arguments)}function Ju(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 Qu(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ju(Object(r),!0).forEach((function(e){tc(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ju(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function tc(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Yu(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Yu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Yu(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ec={symbolCircle:Eu,symbolCross:Pu,symbolDiamond:_u,symbolSquare:Mu,symbolStar:Nu,symbolTriangle:Ru,symbolWye:Fu},rc=Math.PI/180,nc=function(t){var e,r,o=t.type,i=void 0===o?"circle":o,a=t.size,u=void 0===a?64:a,c=t.sizeType,l=void 0===c?"area":c,s=Qu(Qu({},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,Ku)),{},{type:i,size:u,sizeType:l}),f=s.className,p=s.cx,h=s.cy,d=ou(s,!0);return p===+p&&h===+h&&u===+u?n().createElement("path",Zu({}
2,d,{className:g()("recharts-symbols",f),transform:"translate(".concat(p,", ").concat(h,")"),d:(e=function(t){var e="symbol".concat(Ht()(t));return ec[e]||Eu}(i),r=function(t,e){let r=null,n=Vu(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:ra(t||Eu),e="function"==typeof e?e:ra(void 0===e?64:+e),o.type=function(e){return arguments.length?(t="function"==typeof e?e:ra(e),o):t},o.size=function(t){return arguments.length?(e="function"==typeof t?t:ra(+t),o):e},o.context=function(t){return arguments.length?(r=null==t?null:t,o):r},o}().type(e).size(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*rc;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,l,i)),r())})):null};function oc(t){return oc="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},oc(t)}function ic(){return ic=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},ic.apply(this,arguments)}function ac(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 uc(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,fc(n.key),n)}}function cc(t,e){return cc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},cc(t,e)}function lc(t){return lc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},lc(t)}function sc(t,e,r){return(e=fc(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function fc(t){var e=function(t,e){if("object"!==oc(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==oc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===oc(e)?e:String(e)}nc.registerSymbol=function(t,e){ec["symbol".concat(Ht()(t))]=e};var pc=32,hc=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&cc(t,e)}(u,t);var e,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=lc(o);if(i){var r=lc(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===oc(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,t)});function u(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),a.apply(this,arguments)}return e=u,r=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,r=16,o=pc/6,i=pc/3,a=t.inactive?e:t.color;if("plainline"===t.type)return n().createElement("line",{strokeWidth:4,fill:"none",stroke:a,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:r,x2:pc,y2:r,className:"recharts-legend-icon"});if("line"===t.type)return n().createElement("path",{strokeWidth:4,fill:"none",stroke:a,d:"M0,".concat(r,"h").concat(i,"\n A").concat(o,",").concat(o,",0,1,1,").concat(2*i,",").concat(r,"\n H").concat(pc,"M").concat(2*i,",").concat(r,"\n A").concat(o,",").concat(o,",0,1,1,").concat(i,",").concat(r),className:"recharts-legend-icon"});if("rect"===t.type)return n().createElement("path",{stroke:"none",fill:a,d:"M0,".concat(4,"h").concat(pc,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(n().isValidElement(t.legendIcon)){var u=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?ac(Object(r),!0).forEach((function(e){sc(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ac(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},t);return delete u.legendIcon,n().cloneElement(t.legendIcon,u)}return n().createElement(nc,{fill:a,cx:r,cy:r,size:pc,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,r=e.payload,o=e.iconSize,i=e.layout,a=e.formatter,u=e.inactiveColor,c={x:0,y:0,width:pc,height:pc},l={display:"horizontal"===i?"inline-block":"block",marginRight:10},s={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(e,r){var i,f=e.formatter||a,p=g()((sc(i={"recharts-legend-item":!0},"legend-item-".concat(r),!0),sc(i,"inactive",e.inactive),i));if("none"===e.type)return null;var h=lt()(e.value)?null:e.value;K(!lt()(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 d=e.inactive?u:e.color;return n().createElement("li",ic({className:p,style:l,key:"legend-item-".concat(r)},qa(t.props,e,r)),n().createElement(gu,{width:o,height:o,viewBox:c,style:s},t.renderIcon(e)),n().createElement("span",{className:"recharts-legend-item-text",style:{color:d}},f?f(h,e,r):h))}))}},{key:"render",value:function(){var t=this.props,e=t.payload,r=t.layout,o=t.align;if(!e||!e.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===r?o:"left"};return n().createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}],r&&uc(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(e.PureComponent);function dc(t){return dc="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},dc(t)}sc(hc,"displayName","Legend"),sc(hc,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var yc=["ref"];function vc(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 mc(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?vc(Object(r),!0).forEach((function(e){Oc(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vc(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function bc(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,Sc(n.key),n)}}function gc(t,e){return gc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},gc(t,e)}function xc(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wc(t){return wc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},wc(t)}function Oc(t,e,r){return(e=Sc(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Sc(t){var e=function(t,e){if("object"!==dc(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==dc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===dc(e)?e:String(e)}function jc(t){return t.value}function Ec(t,e){return!0===t?vu()(e,jc):lt()(t)?vu()(e,t):e}var Pc=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&gc(t,e)}(c,t);var e,r,o,i,a,u=(i=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=wc(i);if(a){var r=wc(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===dc(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return xc(t)}(this,t)});function c(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return Oc(xc(t=u.call.apply(u,[this].concat(r))),"state",{boxWidth:-1,boxHeight:-1}),t}return e=c,o=[{key:"getWithHeight",value:function(t,e){var r=t.props.layout;return"vertical"===r&&$(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}:null}}],(r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){return this.wrapperNode&&this.wrapperNode.getBoundingClientRect?this.wrapperNode.getBoundingClientRect():null}}
2,{key:"getBBoxSnapshot",value:function(){var t=this.state,e=t.boxWidth,r=t.boxHeight;return e>=0&&r>=0?{width:e,height:r}:null}},{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:0}).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:0}).height)/2}:"bottom"===a?{bottom:u&&u.bottom||0}:{top:u&&u.top||0}),mc(mc({},e),r)}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,r=t.boxHeight,n=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var o=this.wrapperNode.getBoundingClientRect();(Math.abs(o.width-e)>1||Math.abs(o.height-r)>1)&&this.setState({boxWidth:o.width,boxHeight:o.height},(function(){n&&n(o)}))}else-1===e&&-1===r||this.setState({boxWidth:-1,boxHeight:-1},(function(){n&&n(null)}))}},{key:"render",value:function(){var t=this,e=this.props,r=e.content,o=e.width,i=e.height,a=e.wrapperStyle,u=e.payloadUniqBy,c=e.payload,l=mc(mc({position:"absolute",width:o||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return n().createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(e){t.wrapperNode=e}},function(t,e){if(n().isValidElement(t))return n().cloneElement(t,e);if(lt()(t))return n().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,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,yc);return n().createElement(hc,r)}(r,mc(mc({},this.props),{},{payload:Ec(u,c)})))}}])&&bc(e.prototype,r),o&&bc(e,o),Object.defineProperty(e,"prototype",{writable:!1}),c}(e.PureComponent);function Ac(t){return Ac="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},Ac(t)}function kc(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 _c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?kc(Object(r),!0).forEach((function(e){Mc(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kc(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Mc(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ac(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Ac(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Ac(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Oc(Pc,"displayName","Legend"),Oc(Pc,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var Tc=function(t){var e,r=t.children,n=t.formattedGraphicalItems,o=t.legendWidth,i=t.legendContent,a=eu(r,Pc);return a?(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.props,n=r.dataKey,o=r.name,i=r.legendType;return{inactive:r.hide,dataKey:n,type:a.props.iconType||i||"square",color:Uc(e),value:o||n,payload:e.props}})),_c(_c(_c({}
2,a.props),Pc.getWithHeight(a,o)),{},{payload:e,item:a})):null};function Cc(t){return Cc="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},Cc(t)}function Dc(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 Nc(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Dc(Object(r),!0).forEach((function(e){Ic(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Dc(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ic(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Cc(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Cc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Cc(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Rc(t){return function(t){if(Array.isArray(t))return Lc(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Lc(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Lc(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lc(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Bc(t,e,r){return ht()(t)||ht()(e)?r:W(e)?T()(t,e,r):lt()(e)?e(t):r}function zc(t,e,r,n){var o=Zt()(t,(function(t){return Bc(t,e)}));if("number"===r){var i=o.filter((function(t){return $(t)||parseFloat(t)}));return i.length?[Yt()(i),Xt()(i)]:[1/0,-1/0]}return(n?o.filter((function(t){return!ht()(t)})):o).map((function(t){return W(t)||t instanceof Date?t:""}))}var Uc=function(t){var e,r=t.type.displayName,n=t.props,o=n.stroke,i=n.fill;switch(r){case"Line":e=o;break;case"Area":case"Radar":e=o&&"none"!==o?o:i;break;default:e=i}return e},Fc=function(t,e,r,n,o){var i=tu(e.props.children,du).filter((function(t){return function(t,e,r){return!!ht()(e)||("horizontal"===t?"yAxis"===e:"vertical"===t||"x"===r?"xAxis"===e:"y"!==r||"yAxis"===e)}(n,o,t.props.direction)}));if(i&&i.length){var a=i.map((function(t){return t.props.dataKey}));return t.reduce((function(t,e){var n=Bc(e,r,0),o=D()(n)?[Yt()(n),Xt()(n)]:[n,n],i=a.reduce((function(t,r){var n=Bc(e,r,0),i=o[0]-Math.abs(D()(n)?n[0]:n),a=o[1]+Math.abs(D()(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},$c=function(t,e,r,n,o){var i=e.map((function(e){var i=e.props.dataKey;return"number"===r&&i&&Fc(t,e,i,n)||zc(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}),[])},Wc=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},qc=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},Hc=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*U(a[0]-a[1])*c:c,e&&(t.ticks||t.niceTicks)?(t.ticks||t.niceTicks).map((function(t){var e=o?o.indexOf(t):t;return{coordinate:n(e)+c,value:t,offset:c}})).filter((function(t){return!I()(t.coordinate)})):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map((function(t,e){return{coordinate:n(t)+c,value:t,index:e,offset:c}}
2)):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}}))},Gc=function(t,e,r){var n;return lt()(r)?n=r:lt()(e)&&(n=e),lt()(t)||n?function(e,r,o,i){lt()(t)&&t(e,r,o,i),lt()(n)&&n(e,r,o,i)}:null},Xc=1e-4,Vc={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=I()(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}ta(t,e)}},none:ta,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}ta(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,h=0;h<u;++h){var d=t[e[h]];p+=(d[a][1]||0)-(d[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,ta(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=I()(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)}}},Yc=function(t,e,r){var n=e.map((function(t){return t.props.dataKey})),o=Vc[r],i=function(){var t=ra([]),e=na,r=ta,n=oa;function o(o){var i,a,u=Array.from(t.apply(this,arguments),ia),c=u.length,l=-1;for(const 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=ea(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:ra(Array.from(e)),o):t},o.value=function(t){return arguments.length?(n="function"==typeof t?t:ra(+t),o):n},o.order=function(t){return arguments.length?(e=null==t?na:"function"==typeof t?t:ra(Array.from(t)),o):e},o.offset=function(t){return arguments.length?(r=null==t?ta:t,o):r},o}().keys(n).value((function(t,e){return+Bc(t,e,0)})).order(na).offset(o);return i(t)},Kc=function(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&&!ht()(o[e.dataKey])){var u=Y(r,"value",o[e.dataKey]);if(u)return u.coordinate+n/2}return r[i]?r[i].coordinate+n/2:null}var c=Bc(o,ht()(a)?e.dataKey:a);return ht()(c)?null:e.scale(c)},Zc=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=Bc(i,e.dataKey,e.domain[a]);return ht()(u)?null:e.scale(u)-o/2+n},Jc=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[Yt()(e.concat([t[0]]).filter($)),Xt()(e.concat([t[1]]).filter($))]}),[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}))},Qc=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,tl=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,el=function(t,e,r){if(lt()(t))return t(e,r);if(!D()(t))return e;var n=[];if($(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(Qc.test(t[0])){var o=+Qc.exec(t[0])[1];n[0]=e[0]-o}else lt()(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if($(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(tl.test(t[1])){var i=+tl.exec(t[1])[1];n[1]=e[1]+i}else lt()(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},rl=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=ft()(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},nl=function(t,e,r){return t&&t.length?Wt()(t,T()(r,"type.defaultProps.domain"))?e:t:e}
vendor: 4,731 bytes, line 2
2,ol=function(t,e){var r=t.props,n=r.dataKey,o=r.name,i=r.unit,a=r.formatter,u=r.tooltipType,c=r.chartType;return Nc(Nc({},ou(t)),{},{dataKey:n,unit:i,formatter:a,name:o||n,color:Uc(t),value:Bc(e,n),type:u,payload:e,chartType:c})},il=Object.getOwnPropertyNames,al=Object.getOwnPropertySymbols,ul=Object.prototype.hasOwnProperty;function cl(t,e){return function(r,n,o){return t(r,n,o)&&e(r,n,o)}}function ll(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 sl(t){return il(t).concat(al(t))}var fl=Object.hasOwn||function(t,e){return ul.call(t,e)};function pl(t,e){return t||e?t===e:t===e||t!=t&&e!=e}var hl="_owner",dl=Object.getOwnPropertyDescriptor,yl=Object.keys;function vl(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 ml(t,e){return pl(t.getTime(),e.getTime())}function bl(t,e,r){if(t.size!==e.size)return!1;for(var n,o,i={},a=t.entries(),u=0;(n=a.next())&&!n.done;){for(var c=e.entries(),l=!1,s=0;(o=c.next())&&!o.done;){var f=n.value,p=f[0],h=f[1],d=o.value,y=d[0],v=d[1];l||i[s]||!(l=r.equals(p,y,u,s,t,e,r)&&r.equals(h,v,p,y,t,e,r))||(i[s]=!0),s++}if(!l)return!1;u++}return!0}function gl(t,e,r){var n,o=yl(t),i=o.length;if(yl(e).length!==i)return!1;for(;i-- >0;){if((n=o[i])===hl&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!fl(e,n)||!r.equals(t[n],e[n],n,n,t,e,r))return!1}return!0}function xl(t,e,r){var n,o,i,a=sl(t),u=a.length;if(sl(e).length!==u)return!1;for(;u-- >0;){if((n=a[u])===hl&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!fl(e,n))return!1;if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;if(o=dl(t,n),i=dl(e,n),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable))return!1}return!0}function wl(t,e){return pl(t.valueOf(),e.valueOf())}function Ol(t,e){return t.source===e.source&&t.flags===e.flags}function Sl(t,e,r){if(t.size!==e.size)return!1;for(var n,o,i={},a=t.values();(n=a.next())&&!n.done;){for(var u=e.values(),c=!1,l=0;(o=u.next())&&!o.done;)c||i[l]||!(c=r.equals(n.value,o.value,n.value,o.value,t,e,r))||(i[l]=!0),l++;if(!c)return!1}return!0}function jl(t,e){var r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}var El=Array.isArray,Pl="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,Al=Object.assign,kl=Object.prototype.toString.call.bind(Object.prototype.toString),_l=Ml();function Ml(t){void 0===t&&(t={});var e,r=t.circular,n=void 0!==r&&r,o=t.createInternalComparator,i=t.createState,a=t.strict,u=void 0!==a&&a,c=function(t){var e=t.circular,r=t.createCustomConfig,n=t.strict,o={areArraysEqual:n?xl:vl,areDatesEqual:ml,areMapsEqual:n?cl(bl,xl):bl,areObjectsEqual:n?xl:gl,arePrimitiveWrappersEqual:wl,areRegExpsEqual:Ol,areSetsEqual:n?cl(Sl,xl):Sl,areTypedArraysEqual:n?xl:jl};if(r&&(o=Al({},o,r(o))),e){var i=ll(o.areArraysEqual),a=ll(o.areMapsEqual),u=ll(o.areObjectsEqual),c=ll(o.areSetsEqual);o=Al({},o,{areArraysEqual:i,areMapsEqual:a,areObjectsEqual:u,areSetsEqual:c})}return o}(t),l=function(t){var e=t.areArraysEqual,r=t.areDatesEqual,n=t.areMapsEqual,o=t.areObjectsEqual,i=t.arePrimitiveWrappersEqual,a=t.areRegExpsEqual,u=t.areSetsEqual,c=t.areTypedArraysEqual;return function(t,l,s){if(t===l)return!0;if(null==t||null==l||"object"!=typeof t||"object"!=typeof l)return t!=t&&l!=l;var f=t.constructor;if(f!==l.constructor)return!1;if(f===Object)return o(t,l,s);if(El(t))return e(t,l,s);if(null!=Pl&&Pl(t))return c(t,l,s);if(f===Date)return r(t,l,s);if(f===RegExp)return a(t,l,s);if(f===Map)return n(t,l,s);if(f===Set)return u(t,l,s);var p=kl(t);return"[object Date]"===p?r(t,l,s):"[object RegExp]"===p?a(t,l,s):"[object Map]"===p?n(t,l,s):"[object Set]"===p?u(t,l,s):"[object Object]"===p?"function"!=typeof t.then&&"function"!=typeof l.then&&o(t,l,s):"[object Arguments]"===p?o(t,l,s):("[object Boolean]"===p||"[object Number]"===p||"[object String]"===p)&&i(t,l,s)}}(c),s=o?o(l):(e=l,function(t,r,n,o,i,a,u){return e(t,r,u)});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,l=void 0===c?e?new WeakMap:void 0:c,s=u.meta;return r(t,a,{cache:l,equals:o,meta:s,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:n,comparator:l,createState:i,equals:s,strict:u})}function Tl(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;
2requestAnimationFrame((function n(o){r<0&&(r=o),o-r>e?(t(o),r=-1):function(t){"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(t)}(n)}))}function Cl(t){return Cl="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},Cl(t)}function Dl(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Nl(){var t=function(){return null},e=!1,r=function r(n){if(!e){if(Array.isArray(n)){if(!n.length)return;var o=function(t){if(Array.isArray(t))return t}(u=n)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(u)||function(t,e){if(t){if("string"==typeof t)return Dl(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Dl(t,e):void 0}}(u)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=o[0],a=o.slice(1);return"number"==typeof i?void Tl(r.bind(null,a),i):(r(i),void Tl(r.bind(null,a)))}"object"===Cl(n)&&t(n),"function"==typeof n&&n()}var u};return{stop:function(){e=!0},start:function(t){e=!1,r(t)},subscribe:function(e){return t=e,function(){t=function(){return null}}}}}function Il(t){return Il="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},Il(t)}function Rl(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 Ll(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Rl(Object(r),!0).forEach((function(e){Bl(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Rl(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Bl(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Il(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Il(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Il(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Ml({strict:!0}),Ml({circular:!0}),Ml({circular:!0,strict:!0}),Ml({createInternalComparator:function(){return pl}}),Ml({strict:!0,createInternalComparator:function(){return pl}}),Ml({circular:!0,createInternalComparator:function(){return pl}}),Ml({circular:!0,createInternalComparator:function(){return pl},strict:!0});var zl=["Webkit","Moz","O","ms"],Ul=["-webkit-","-moz-","-o-","-ms-"],Fl=["transform","transformOrigin","transition"],$l=function(t){return t},Wl=function(t,e){return Object.keys(e).reduce((function(r,n){return Ll(Ll({},r),{},Bl({},n,t(n,e[n])))}),{})},ql=function(t){return Object.keys(t).reduce((function(t,e){return Ll(Ll({},t),function(t,e){if(-1===Fl.indexOf(t))return Bl({},t,Number.isNaN(e)?0:e);var r="transition"===t,n=t.replace(/(\w)/,(function(t){return t.toUpperCase()})),o=e;return zl.reduce((function(t,i,a){return r&&(o=e.replace(/(transform|transform-origin)/gim,"".concat(Ul[a],"$1"))),Ll(Ll({},t),{},Bl({},i+n,o))}),{})}(e,t[e]))}),t)},Hl=function(t,e,r){return t.map((function(t){return"".concat((n=t,n.replace(/([A-Z])/g,(function(t){return"-".concat(t.toLowerCase())})))," ").concat(e,"ms ").concat(r);var n})).join(",")};function Gl(t,e){if(t){if("string"==typeof t)return Xl(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Xl(t,e):void 0}}function Xl(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Vl=1e-4,Yl=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},Kl=function(t,e){return t.map((function(t,r){return t*Math.pow(e,r)})).reduce((function(t,e){return t+e}))},Zl=function(t,e){return function(r){var n=Yl(t,e);return Kl(n,r)}},Jl=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,o,i=e[0],a=e[1],u=e[2],c=e[3];
2if(1===e.length)switch(e[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=e[0].split("(");if("cubic-bezier"===l[0]&&4===l[1].split(")")[0].split(",").length){var s=(n=l[1].split(")")[0].split(",").map((function(t){return parseFloat(t)})),o=4,function(t){if(Array.isArray(t))return t}(n)||function(t,e){var r=null==t?null:"undefined"!=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}}(n,o)||Gl(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());i=s[0],a=s[1],u=s[2],c=s[3]}}[i,u,a,c].every((function(t){return"number"==typeof t&&t>=0&&t<=1}));var f,p,h=Zl(i,u),d=Zl(a,c),y=(f=i,p=u,function(t){var e=Yl(f,p),r=[].concat(function(t){return function(t){if(Array.isArray(t))return Xl(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Gl(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.map((function(t,e){return t*e})).slice(1)),[0]);return Kl(r,t)}),v=function(t){return t>1?1:t<0?0:t},m=function(t){for(var e=t>1?1:t,r=e,n=0;n<8;++n){var o=h(r)-e,i=y(r);if(Math.abs(o-e)<Vl||i<Vl)return d(r);r=v(r-o/i)}return d(r)};return m.isStepper=!1,m};function Ql(t){return Ql="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},Ql(t)}function ts(t){return function(t){if(Array.isArray(t))return is(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||os(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function es(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 rs(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?es(Object(r),!0).forEach((function(e){ns(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):es(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ns(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ql(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Ql(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Ql(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function os(t,e){if(t){if("string"==typeof t)return is(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?is(t,e):void 0}}function is(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var as=function(t,e,r){return t+(e-t)*r},us=function(t){return t.from!==t.to},cs=function t(e,r,n){var o=Wl((function(t,r){if(us(r)){var n=(a=e(r.from,r.to,r.velocity),u=2,function(t){if(Array.isArray(t))return t}(a)||function(t,e){var r=null==t?null:"undefined"!=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(;
vendor: 7,518 bytes, line 2
2!(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}}(a,u)||os(a,u)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=n[0],i=n[1];return rs(rs({},r),{},{from:o,velocity:i})}var a,u;return r}),r);return n<1?Wl((function(t,e){return us(e)?rs(rs({},e),{},{velocity:as(e.velocity,o[t].velocity,n),from:as(e.from,o[t].from,n)}):e}),r):t(e,o,n-1)};function ls(t){return ls="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},ls(t)}var ss=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function fs(t){return function(t){if(Array.isArray(t))return ps(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return ps(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ps(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ps(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function hs(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?hs(Object(r),!0).forEach((function(e){ys(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hs(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ys(t,e,r){return(e=ms(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function vs(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,ms(n.key),n)}}function ms(t){var e=function(t,e){if("object"!==ls(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==ls(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===ls(e)?e:String(e)}function bs(t,e){return bs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},bs(t,e)}function gs(t,e){if(e&&("object"===ls(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return xs(t)}function xs(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ws(t){return ws=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ws(t)}var Os=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&bs(t,e)}(c,t);var r,o,i,a,u=(i=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=ws(i);if(a){var r=ws(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return gs(this,t)});function c(t,e){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);var n=(r=u.call(this,t,e)).props,o=n.isActive,i=n.attributeName,a=n.from,l=n.to,s=n.steps,f=n.children,p=n.duration;if(r.handleStyleChange=r.handleStyleChange.bind(xs(r)),r.changeStyle=r.changeStyle.bind(xs(r)),!o||p<=0)return r.state={style:{}},"function"==typeof f&&(r.state={style:l}),gs(r);if(s&&s.length)r.state={style:s[0].style};else if(a){if("function"==typeof f)return r.state={style:a},gs(r);r.state={style:i?ys({},i,a):a}}else r.state={style:{}};return r}return r=c,(o=[{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){if(!(_l(t.to,a)&&t.canBegin&&t.isActive)){var l=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var s=l||i?u:t.to;if(this.state&&c){var f={style:o?ys({},o,s):s};(o&&[o]!==s||!o&&c!==s)&&this.setState(f)}this.runAnimation(ds(ds({},this.props),{},{from:s,begin:0}))}}else{var p={style:o?ys({},o,a):a};this.state&&c&&(o&&c[o]!==a||!o&&c!==a)&&this.setState(p)}}},{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=function(t,e,r,n,o){var i,a,u,c,l=(i=t,a=e,[Object.keys(i),Object.keys(a)].reduce((function(t,e){return t.filter((function(t){return e.includes(t)}))}))),s=l.reduce((function(r,n){return rs(rs({},r),{},ns({},n,[t[n],e[n]]))}),{}),f=l.reduce((function(r,n){return rs(rs({},r),{},ns({},n,{from:t[n],velocity:0,to:e[n]}))}),{}),p=-1,h=function(){return null};return h=r.isStepper?function(n){u||(u=n);var i=(n-u)/r.dt;f=cs(r,f,i),o(rs(rs(rs({},t),e),Wl((function(t,e){return e.from}),f))),u=n,Object.values(f).filter(us).length&&(p=requestAnimationFrame(h))}:function(i){c||(c=i);var a=(i-c)/n,u=Wl((function(t,e){return as.apply(void 0,ts(e).concat([r(a)]))}),s);if(o(rs(rs(rs({},t),e),u)),a<1)p=requestAnimationFrame(h);else{var l=Wl((function(t,e){return as.apply(void 0,ts(e).concat([r(1)]))}),s);o(rs(rs(rs({},t),e),l))}},function(){return requestAnimationFrame(h),function(){cancelAnimationFrame(p)}}}(r,n,function(){for(var t=arguments.length,e=new 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 Jl(n);case"spring":return 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 Math.abs(u-e)<Vl&&Math.abs(i)<Vl?[e,0]:[u,i]};return u.isStepper=!0,u.dt=a,u}();
2default:if("cubic-bezier"===n.split("(")[0])return Jl(n)}return"function"==typeof n?n:null}(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,c=void 0===u?0:u;return this.manager.start([o].concat(fs(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(fs(t),[e.runJSAnimation.bind(e,{from:f.style,to:c,duration:i,easing:u}),i]);var h=Hl(p,i,u),d=ds(ds(ds({},f.style),c),{},{transition:h});return[].concat(fs(t),[d,i,s]).filter($l)}),[a,Math.max(c,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=Nl());var e=t.begin,r=t.duration,n=t.attributeName,o=t.to,i=t.easing,a=t.onAnimationStart,u=t.onAnimationEnd,c=t.steps,l=t.children,s=this.manager;if(this.unSubscribe=s.subscribe(this.handleStyleChange),"function"!=typeof i&&"function"!=typeof l&&"spring"!==i)if(c.length>1)this.runStepAnimation(t);else{var f=n?ys({},n,o):o,p=Hl(Object.keys(f),r,i);s.start([a,e,ds(ds({},f),{},{transition:p}),r,u])}else this.runJSAnimation(t)}},{key:"render",value:function(){var t=this.props,r=t.children,o=(t.begin,t.duration),i=(t.attributeName,t.easing,t.isActive),a=(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,ss)),u=e.Children.count(r),c=ql(this.state.style);if("function"==typeof r)return r(c);if(!i||0===u||o<=0)return r;var l=function(t){var r=t.props,n=r.style,o=void 0===n?{}:n,i=r.className;return(0,e.cloneElement)(t,ds(ds({},a),{},{style:ds(ds({},o),c),className:i}))};return 1===u?l(e.Children.only(r)):n().createElement("div",null,e.Children.map(r,(function(t){return l(t)})))}}])&&vs(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),c}(e.PureComponent);Os.displayName="Animate",Os.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},Os.propTypes={from:i().oneOfType([i().object,i().string]),to:i().oneOfType([i().object,i().string]),attributeName:i().string,duration:i().number,begin:i().number,easing:i().oneOfType([i().string,i().func]),steps:i().arrayOf(i().shape({duration:i().number.isRequired,style:i().object.isRequired,easing:i().oneOfType([i().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),i().func]),properties:i().arrayOf("string"),onAnimationEnd:i().func})),children:i().oneOfType([i().node,i().func]),isActive:i().bool,canBegin:i().bool,onAnimationEnd:i().func,shouldReAnimate:i().bool,onAnimationStart:i().func,onAnimationReStart:i().func};const Ss=Os;var js=r(4317),Es=["children","appearOptions","enterOptions","leaveOptions"];function Ps(t){return Ps="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},Ps(t)}function As(){return As=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},As.apply(this,arguments)}function ks(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]:{};
2e%2?ks(Object(r),!0).forEach((function(e){Ns(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ks(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ms(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,Is(n.key),n)}}function Ts(t,e){return Ts=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ts(t,e)}function Cs(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ds(t){return Ds=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ds(t)}function Ns(t,e,r){return(e=Is(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Is(t){var e=function(t,e){if("object"!==Ps(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Ps(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Ps(e)?e:String(e)}void 0===Number.isFinite&&(Number.isFinite=function(t){return"number"==typeof t&&isFinite(t)});var Rs=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},Ls=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ts(t,e)}(c,t);var r,o,i,a,u=(i=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Ds(i);if(a){var r=Ds(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===Ps(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Cs(t)}(this,t)});function c(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),Ns(Cs(t=u.call(this)),"handleEnter",(function(e,r){var n=t.props,o=n.appearOptions,i=n.enterOptions;t.handleStyleActive(r?o:i)})),Ns(Cs(t),"handleExit",(function(){var e=t.props.leaveOptions;t.handleStyleActive(e)})),t.state={isActive:!1},t}return r=c,(o=[{key:"handleStyleActive",value:function(t){if(t){var e=t.onAnimationEnd?function(){t.onAnimationEnd()}:null;this.setState(_s(_s({},t),{},{onAnimationEnd:e,isActive:!0}))}}},{key:"parseTimeout",value:function(){var t=this.props,e=t.appearOptions,r=t.enterOptions,n=t.leaveOptions;return Rs(e)+Rs(r)+Rs(n)}},{key:"render",value:function(){var t=this,r=this.props,o=r.children,i=(r.appearOptions,r.enterOptions,r.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}(r,Es));return n().createElement(js.Transition,As({},i,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),(function(){return n().createElement(Ss,t.state,e.Children.only(o))}))}}])&&Ms(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),c}(e.Component);Ls.propTypes={appearOptions:i().object,enterOptions:i().object,leaveOptions:i().object,children:i().element};const Bs=Ls;function zs(t){var r=t.component,o=t.children,i=t.appear,a=t.enter,u=t.leave;return n().createElement(js.TransitionGroup,{component:r},e.Children.map(o,(function(t,e){return n().createElement(Bs,{appearOptions:i,enterOptions:a,leaveOptions:u,key:"child-".concat(e)},t)})))}zs.propTypes={appear:i().object,enter:i().object,leave:i().object,children:i().oneOfType([i().array,i().element]),component:i().any},zs.defaultProps={component:"span"};const Us=Ss;var Fs=function(t){return null};Fs.displayName="Cell";var $s=r(928),Ws=r.n($s);function qs(t){return qs="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},qs(t)}function Hs(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=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(;
2!(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 Gs(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Gs(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gs(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Xs(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,(void 0,o=function(t,e){if("object"!==qs(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==qs(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===qs(o)?o:String(o)),n)}var o}var Vs=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Ys=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Ks=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,Zs=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,Js={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},Qs=Object.keys(Js),tf="NaN",ef=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.num=e,this.unit=r,this.num=e,this.unit=r,Number.isNaN(e)&&(this.unit=""),""===r||Ks.test(r)||(this.num=NaN,this.unit=""),Qs.includes(r)&&(this.num=function(t,e){return t*Js[e]}(e,r),this.unit="px")}var e,r,n;return e=t,n=[{key:"parse",value:function(e){var r,n=Hs(null!==(r=Zs.exec(e))&&void 0!==r?r:[],3),o=n[1],i=n[2];return new t(parseFloat(o),null!=i?i:"")}}],(r=[{key:"add",value:function(e){return this.unit!==e.unit?new t(NaN,""):new t(this.num+e.num,this.unit)}},{key:"subtract",value:function(e){return this.unit!==e.unit?new t(NaN,""):new t(this.num-e.num,this.unit)}},{key:"multiply",value:function(e){return""!==this.unit&&""!==e.unit&&this.unit!==e.unit?new t(NaN,""):new t(this.num*e.num,this.unit||e.unit)}},{key:"divide",value:function(e){return""!==this.unit&&""!==e.unit&&this.unit!==e.unit?new t(NaN,""):new t(this.num/e.num,this.unit||e.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}])&&Xs(e.prototype,r),n&&Xs(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function rf(t){if(t.includes(tf))return tf;for(var e=t;e.includes("*")||e.includes("/");){var r,n=Hs(null!==(r=Vs.exec(e))&&void 0!==r?r:[],4),o=n[1],i=n[2],a=n[3],u=ef.parse(null!=o?o:""),c=ef.parse(null!=a?a:""),l="*"===i?u.multiply(c):u.divide(c);if(l.isNaN())return tf;e=e.replace(Vs,l.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var s,f=Hs(null!==(s=Ys.exec(e))&&void 0!==s?s:[],4),p=f[1],h=f[2],d=f[3],y=ef.parse(null!=p?p:""),v=ef.parse(null!=d?d:""),m="+"===h?y.add(v):y.subtract(v);if(m.isNaN())return tf;e=e.replace(Ys,m.toString())}return e}var nf=/\(([^()]*)\)/;function of(t){var e=function(t){try{return function(t){var e=t.replace(/\s+/g,"");return e=function(t){for(var e=t;e.includes("(");){var r=Hs(nf.exec(e),2)[1];e=e.replace(nf,rf(r))}return e}(e),rf(e)}(t)}catch(t){return tf}}(t.slice(5,-1));return e===tf?"":e}var af=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],uf=["dx","dy","angle","className","breakAll"];function cf(){return cf=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},cf.apply(this,arguments)}function lf(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}function sf(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=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(;
2!(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 ff(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ff(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ff(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var pf=/[ \f\n\r\t\v\u2028\u2029]+/,hf=function(t){var e=t.children,r=t.breakAll,n=t.style;try{var o=[];return ht()(e)||(o=r?e.toString().split(""):e.toString().split(pf)),{wordsWithComputedWidth:o.map((function(t){return{word:t,width:zt(t,n).width}})),spaceWidth:r?0:zt(" ",n).width}}catch(t){return null}},df=function(t){return[{words:ht()(t)?[]:t.toString().split(pf)}]},yf="#808080",vf=function(t){var r=t.x,o=void 0===r?0:r,i=t.y,a=void 0===i?0:i,u=t.lineHeight,c=void 0===u?"1em":u,l=t.capHeight,s=void 0===l?"0.71em":l,f=t.scaleToFit,p=void 0!==f&&f,h=t.textAnchor,d=void 0===h?"start":h,y=t.verticalAnchor,v=void 0===y?"end":y,m=t.fill,b=void 0===m?yf:m,x=lf(t,af),w=(0,e.useMemo)((function(){return function(t){var e=t.width,r=t.scaleToFit,n=t.children,o=t.style,i=t.breakAll,a=t.maxLines;if((e||r)&&!kt.isSsr){var u=hf({breakAll:i,children:n,style:o});return u?function(t,e,r,n,o){var i=t.maxLines,a=t.children,u=t.style,c=t.breakAll,l=$(i),s=a,f=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(t,e){var i=e.word,a=e.width,u=t[t.length-1];if(u&&(null==n||o||u.width+a+r<Number(n)))u.words.push(i),u.width+=a+r;else{var c={words:[i],width:a};t.push(c)}return t}),[])},p=f(e);if(!l)return p;for(var h,d=function(t){var e=s.slice(0,t),r=hf({breakAll:c,style:u,children:e+"…"}).wordsWithComputedWidth,o=f(r),a=o.length>i||function(t){return t.reduce((function(t,e){return t.width>e.width?t:e}))}(o).width>Number(n);return[a,o]},y=0,v=s.length-1,m=0;y<=v&&m<=s.length-1;){var b=Math.floor((y+v)/2),g=sf(d(b-1),2),x=g[0],w=g[1],O=sf(d(b),1)[0];if(x||O||(y=b+1),x&&O&&(v=b-1),!x&&O){h=w;break}m++}return h||p}({breakAll:i,children:n,maxLines:a,style:o},u.wordsWithComputedWidth,u.spaceWidth,e,r):df(n)}return df(n)}({breakAll:x.breakAll,children:x.children,maxLines:x.maxLines,scaleToFit:p,style:x.style,width:x.width})}),[x.breakAll,x.children,x.maxLines,p,x.style,x.width]),O=x.dx,S=x.dy,j=x.angle,E=x.className,P=x.breakAll,A=lf(x,uf);if(!W(o)||!W(a))return null;var k,_=o+($(O)?O:0),M=a+($(S)?S:0);switch(v){case"start":k=of("calc(".concat(s,")"));break;case"middle":k=of("calc(".concat((w.length-1)/2," * -").concat(c," + (").concat(s," / 2))"));break;default:k=of("calc(".concat(w.length-1," * -").concat(c,")"))}var T=[];if(p){var C=w[0].width,D=x.width;T.push("scale(".concat(($(D)?D/C:1)/C,")"))}return j&&T.push("rotate(".concat(j,", ").concat(_,", ").concat(M,")")),T.length&&(A.transform=T.join(" ")),n().createElement("text",cf({},ou(A,!0),{x:_,y:M,className:g()("recharts-text",E),textAnchor:d,fill:b.includes("url")?yf:b}),w.map((function(t,e){return n().createElement("tspan",{x:_,dy:0===e?k:c,key:e},t.words.join(P?"":" "))})))};function mf(t){return mf="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},mf(t)}var bf=["offset"];function gf(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function xf(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 wf(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?xf(Object(r),!0).forEach((function(e){Of(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xf(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Of(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==mf(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==mf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===mf(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Sf(){return Sf=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Sf.apply(this,arguments)}var jf=function(t){var e=t.value,r=t.formatter,n=ht()(t.children)?e:t.children;return lt()(r)?r(n):n},Ef=function(t,e,r){var o,i,a=t.position,u=t.viewBox,c=t.offset,l=t.className,s=u,f=s.cx,p=s.cy,h=s.innerRadius,d=s.outerRadius,y=s.startAngle,v=s.endAngle,m=s.clockWise,b=(h+d)/2,x=function(t,e){return U(e-t)*Math.min(Math.abs(e-t),360)}(y,v),w=x>=0?1:-1;"insideStart"===a?(o=y+w*c,i=m):"insideEnd"===a?(o=v-w*c,i=!m):"end"===a&&(o=v+w*c,i=m),i=x<=0?i:!i;var O=jt(f,p,b,o),S=jt(f,p,b,o+359*(i?1:-1)),j="M".concat(O.x,",").concat(O.y,"\n A").concat(b,",").concat(b,",0,1,").concat(i?0:1,",\n ").concat(S.x,",").concat(S.y),E=ht()(t.id)?H("recharts-radial-line-"):t.id;return n().createElement("text",Sf({},r,{dominantBaseline:"central",className:g()("recharts-radial-bar-label",l)}),n().createElement("defs",null,n().createElement("path",{id:E,d:j})),n().createElement("textPath",{xlinkHref:"#".concat(E)},e))},Pf=function(t){var e=t.viewBox,r=t.offset,n=t.position,o=e,i=o.cx,a=o.cy,u=o.innerRadius,c=o.outerRadius,l=(o.startAngle+o.endAngle)/2;if("outside"===n){var s=jt(i,a,c+r,l),f=s.x;return{x:f,y:s.y,textAnchor:f>=i?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"end"};var p=jt(i,a,(u+c)/2,l);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}},Af=function(t){var e=t.viewBox,r=t.parentViewBox,n=t.offset,o=t.position,i=e,a=i.x,u=i.y,c=i.width,l=i.height,s=l>=0?1:-1,f=s*n,p=s>0?"end":"start",h=s>0?"start":"end",d=c>=0?1:-1,y=d*n,v=d>0?"end":"start",m=d>0?"start":"end";if("top"===o)return wf(wf({},{x:a+c/2,y:u-s*n,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(u-r.y,0),width:c}:{});if("bottom"===o)return wf(wf({},{x:a+c/2,y:u+l+f,textAnchor:"middle",verticalAnchor:h}),r?{height:Math.max(r.y+r.height-(u+l),0),width:c}:{});if("left"===o){var b={x:a-y,y:u+l/2,textAnchor:v,verticalAnchor:"middle"};return wf(wf({},b),r?{width:Math.max(b.x-r.x,0),height:l}:{})}if("right"===o){var g={x:a+c+y,y:u+l/2,textAnchor:m,verticalAnchor:"middle"};return wf(wf({},g),r?{width:Math.max(r.x+r.width-g.x,0),height:l}:{})}var x=r?{width:c,height:l}:{};return"insideLeft"===o?wf({x:a+y,y:u+l/2,textAnchor:m,verticalAnchor:"middle"},x):"insideRight"===o?wf({x:a+c-y,y:u+l/2,textAnchor:v,verticalAnchor:"middle"},x):"insideTop"===o?wf({x:a+c/2,y:u+f,textAnchor:"middle",verticalAnchor:h},x):"insideBottom"===o?wf({x:a+c/2,y:u+l-f,textAnchor:"middle",verticalAnchor:p},x):"insideTopLeft"===o?wf({x:a+y,y:u+f,textAnchor:m,verticalAnchor:h},x):"insideTopRight"===o?wf({x:a+c-y,y:u+f,textAnchor:v,verticalAnchor:h},x):"insideBottomLeft"===o?wf({x:a+y,y:u+l-f,textAnchor:m,verticalAnchor:p},x):"insideBottomRight"===o?wf({x:a+c-y,y:u+l-f,textAnchor:v,verticalAnchor:p},x):Ia()(o)&&($(o.x)||F(o.x))&&($(o.y)||F(o.y))?wf({x:a+G(o.x,c),y:u+G(o.y,l),textAnchor:"end",verticalAnchor:"end"},x):wf({x:a+c/2,y:u+l/2,textAnchor:"middle",verticalAnchor:"middle"},x)},kf=function(t){return"cx"in t&&$(t.cx)};function _f(t){var r,o=t.offset,i=wf({offset:void 0===o?5:o},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}
2(t,bf)),a=i.viewBox,u=i.position,c=i.value,l=i.children,s=i.content,f=i.className,p=void 0===f?"":f,h=i.textBreakAll;if(!a||ht()(c)&&ht()(l)&&!(0,e.isValidElement)(s)&&!lt()(s))return null;if((0,e.isValidElement)(s))return(0,e.cloneElement)(s,i);if(lt()(s)){if(r=(0,e.createElement)(s,i),(0,e.isValidElement)(r))return r}else r=jf(i);var d=kf(a),y=ou(i,!0);if(d&&("insideStart"===u||"insideEnd"===u||"end"===u))return Ef(i,r,y);var v=d?Pf(i):Af(i);return n().createElement(vf,Sf({className:g()("recharts-label",p)},y,v,{breakAll:h}),r)}_f.displayName="Label";var Mf=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,h=t.left,d=t.width,y=t.height,v=t.clockWise,m=t.labelViewBox;if(m)return m;if($(d)&&$(y)){if($(s)&&$(f))return{x:s,y:f,width:d,height:y};if($(p)&&$(h))return{x:p,y:h,width:d,height:y}}return $(s)&&$(f)?{x:s,y:f,width:0,height:0}:$(e)&&$(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 Tf(t){return Tf="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},Tf(t)}_f.parseViewBox=Mf,_f.renderCallByParent=function(t,r){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&o&&!t.label)return null;var i=t.children,a=Mf(t),u=tu(i,_f).map((function(t,n){return(0,e.cloneElement)(t,{viewBox:r||a,key:"label-".concat(n)})}));if(!o)return u;var c,l=function(t,r){return t?!0===t?n().createElement(_f,{key:"label-implicit",viewBox:r}):W(t)?n().createElement(_f,{key:"label-implicit",viewBox:r,value:t}):(0,e.isValidElement)(t)?t.type===_f?(0,e.cloneElement)(t,{key:"label-implicit",viewBox:r}):n().createElement(_f,{key:"label-implicit",content:t,viewBox:r}):lt()(t)?n().createElement(_f,{key:"label-implicit",content:t,viewBox:r}):Ia()(t)?n().createElement(_f,Sf({viewBox:r},t,{key:"label-implicit"})):null:null}(t.label,r||a);return[l].concat(function(t){if(Array.isArray(t))return gf(t)}(c=u)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(c)||function(t,e){if(t){if("string"==typeof t)return gf(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?gf(t,e):void 0}}(c)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())};var Cf=["valueAccessor"],Df=["data","dataKey","clockWise","id","textBreakAll"];function Nf(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function If(){return If=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},If.apply(this,arguments)}function Rf(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 Lf(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Rf(Object(r),!0).forEach((function(e){Bf(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Rf(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Bf(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Tf(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Tf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Tf(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function zf(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}var Uf=function(t){return D()(t.value)?Ws()(t.value):t.value};function Ff(t){var e=t.valueAccessor,r=void 0===e?Uf:e,o=zf(t,Cf),i=o.data,a=o.dataKey,u=o.clockWise,c=o.id,l=o.textBreakAll,s=zf(o,Df);return i&&i.length?n().createElement(su,{className:"recharts-label-list"},i.map((function(t,e){var o=ht()(a)?r(t,e):Bc(t&&t.payload,a),i=ht()(c)?{}:{id:"".concat(c,"-").concat(e)};return n().createElement(_f,If({},ou(t,!0),s,i,{parentViewBox:t.parentViewBox,index:e,value:o,textBreakAll:l,viewBox:_f.parseViewBox(ht()(u)?t:Lf(Lf({},t),{},{clockWise:u})),key:"label-".concat(e)}))}))):null}Ff.displayName="LabelList",Ff.renderCallByParent=function(t,r){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&o&&!t.label)return null;var i,a=tu(t.children,Ff).map((function(t,n){return(0,e.cloneElement)(t,{data:r,key:"labelList-".concat(n)})}));return o?[function(t,e){return t?!0===t?n().createElement(Ff,{key:"labelList-implicit",data:e}):n().isValidElement(t)||lt()(t)?n().createElement(Ff,{key:"labelList-implicit",data:e,content:t}):Ia()(t)?n().createElement(Ff,If({data:e},t,{key:"labelList-implicit"})):null:null}(t.label,r)].concat(function(t){if(Array.isArray(t))return Nf(t)}(i=a)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(i)||function(t,e){if(t){if("string"==typeof t)return Nf(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Nf(t,e):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):a};var $f=r(8630),Wf=r.n($f);function qf(t){return qf="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},qf(t)}function Hf(){return Hf=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Hf.apply(this,arguments)}function Gf(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Xf(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 Vf(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Xf(Object(r),!0).forEach((function(e){Yf(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Xf(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Yf(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==qf(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==qf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===qf(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Kf=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?1: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},Zf=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},Jf={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Qf=function(t){var r,o,i=Vf(Vf({},Jf),t),a=(0,e.useRef)(),u=(r=(0,e.useState)(-1),o=2,function(t){if(Array.isArray(t))return t}(r)||function(t,e){var r=null==t?null:"undefined"!=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}}(r,o)||function(t,e){if(t){if("string"==typeof t)return Gf(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Gf(t,e):void 0}}(r,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=u[0],l=u[1];(0,e.useEffect)((function(){if(a.current&&a.current.getTotalLength)try{var t=a.current.getTotalLength();t&&l(t)}catch(t){}}),[]);var s=i.x,f=i.y,p=i.width,h=i.height,d=i.radius,y=i.className,v=i.animationEasing,m=i.animationDuration,b=i.animationBegin,x=i.isAnimationActive,w=i.isUpdateAnimationActive;if(s!==+s||f!==+f||p!==+p||h!==+h||0===p||0===h)return null;var O=g()("recharts-rectangle",y);return w?n().createElement(Us,{canBegin:c>0,from:{width:p,height:h,x:s,y:f},to:{width:p,height:h,x:s,y:f},duration:m,animationEasing:v,isActive:w},(function(t){var e=t.width,r=t.height,o=t.x,u=t.y;return n().createElement(Us,{canBegin:c>0,from:"0px ".concat(-1===c?1:c,"px"),to:"".concat(c,"px 0px"),attributeName:"strokeDasharray",begin:b,duration:m,isActive:x,easing:v},n().createElement("path",Hf({},ou(i,!0),{className:O,d:Kf(o,u,e,r,d),ref:a})))})):n().createElement("path",Hf({},ou(i,!0),{className:O,d:Kf(s,f,p,h,d)}))};function tp(t){return tp="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},tp(t)}function ep(){return ep=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},ep.apply(this,arguments)}function rp(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function np(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 op(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?np(Object(r),!0).forEach((function(e){ip(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):np(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ip(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==tp(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==tp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===tp(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ap=function(t,e,r,n,o){var i,a=r-n;return i="M ".concat(t,",").concat(e),i+="L ".concat(t+r,",").concat(e),i+="L ".concat(t+r-a/2,",").concat(e+o),(i+="L ".concat(t+r-a/2-n,",").concat(e+o))+"L ".concat(t,",").concat(e," Z")},up={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},cp=function(t){var r,o,i=op(op({},up),t),a=(0,e.useRef)(),u=(r=(0,e.useState)(-1),o=2,function(t){if(Array.isArray(t))return t}(r)||function(t,e){var r=null==t?null:"undefined"!=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}}(r,o)||function(t,e){if(t){if("string"==typeof t)return rp(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rp(t,e):void 0}}(r,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=u[0],l=u[1];(0,e.useEffect)((function(){if(a.current&&a.current.getTotalLength)try{var t=a.current.getTotalLength();t&&l(t)}catch(t){}}),[]);var s=i.x,f=i.y,p=i.upperWidth,h=i.lowerWidth,d=i.height,y=i.className,v=i.animationEasing,m=i.animationDuration,b=i.animationBegin,x=i.isUpdateAnimationActive;if(s!==+s||f!==+f||p!==+p||h!==+h||d!==+d||0===p&&0===h||0===d)return null;var w=g()("recharts-trapezoid",y);return x?n().createElement(Us,{canBegin:c>0,from:{upperWidth:0,lowerWidth:0,height:d,x:s,y:f},to:{upperWidth:p,lowerWidth:h,height:d,x:s,y:f},duration:m,animationEasing:v,isActive:x},(function(t){var e=t.upperWidth,r=t.lowerWidth,o=t.height,u=t.x,l=t.y;return n().createElement(Us,{canBegin:c>0,from:"0px ".concat(-1===c?1:c,"px"),to:"".concat(c,"px 0px"),attributeName:"strokeDasharray",begin:b,duration:m,easing:v},n().createElement("path",ep({},ou(i,!0),{className:w,d:ap(u,l,e,r,o),ref:a})))})):n().createElement("g",null,n().createElement("path",ep({},ou(i,!0),{className:w,d:ap(s,f,p,h,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},lp(t)}function sp(){return sp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},sp.apply(this,arguments)}function fp(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 pp(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
vendor: 4,722 bytes, line 2
2e%2?fp(Object(r),!0).forEach((function(e){hp(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fp(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function hp(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==lp(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==lp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===lp(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var dp=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)/Ot,f=c?o:o+i*s,p=c?o-i*s:o;return{center:jt(e,r,l,f),circleTangency:jt(e,r,n,f),lineTangency:jt(e,r,l*Math.cos(s*Ot),p),theta:s}},yp=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.startAngle,a=function(t,e){return U(e-t)*Math.min(Math.abs(e-t),359.999)}(i,t.endAngle),u=i+a,c=jt(e,r,o,i),l=jt(e,r,o,u),s="M ".concat(c.x,",").concat(c.y,"\n A ").concat(o,",").concat(o,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i>u),",\n ").concat(l.x,",").concat(l.y,"\n ");if(n>0){var f=jt(e,r,n,i),p=jt(e,r,n,u);s+="L ".concat(p.x,",").concat(p.y,"\n A ").concat(n,",").concat(n,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i<=u),",\n ").concat(f.x,",").concat(f.y," Z")}else s+="L ".concat(e,",").concat(r," Z");return s},vp={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},mp=function(t){var e=pp(pp({},vp),t),r=e.cx,o=e.cy,i=e.innerRadius,a=e.outerRadius,u=e.cornerRadius,c=e.forceCornerRadius,l=e.cornerIsExternal,s=e.startAngle,f=e.endAngle,p=e.className;if(a<i||s===f)return null;var h,d=g()("recharts-sector",p),y=a-i,v=G(u,y,0,!0);return h=v>0&&Math.abs(s-f)<360?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=U(l-c),f=dp({cx:e,cy:r,radius:o,angle:c,sign:s,cornerRadius:i,cornerIsExternal:u}),p=f.circleTangency,h=f.lineTangency,d=f.theta,y=dp({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)-d-b;if(g<0)return a?"M ".concat(h.x,",").concat(h.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 "):yp({cx:e,cy:r,innerRadius:n,outerRadius:o,startAngle:c,endAngle:l});var x="M ".concat(h.x,",").concat(h.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 w=dp({cx:e,cy:r,radius:n,angle:c,sign:s,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),O=w.circleTangency,S=w.lineTangency,j=w.theta,E=dp({cx:e,cy:r,radius:n,angle:l,sign:-s,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),P=E.circleTangency,A=E.lineTangency,k=E.theta,_=u?Math.abs(c-l):Math.abs(c-l)-j-k;if(_<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(P.x,",").concat(P.y,"\n A").concat(n,",").concat(n,",0,").concat(+(_>180),",").concat(+(s>0),",").concat(O.x,",").concat(O.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(S.x,",").concat(S.y,"Z")}else x+="L".concat(e,",").concat(r,"Z");return x}({cx:r,cy:o,innerRadius:i,outerRadius:a,cornerRadius:Math.min(v,y/2),forceCornerRadius:c,cornerIsExternal:l,startAngle:s,endAngle:f}):yp({cx:r,cy:o,innerRadius:i,outerRadius:a,startAngle:s,endAngle:f}),n().createElement("path",sp({},ou(e,!0),{className:d,d:h,role:"img"}))},bp=["option","shapeType","propTransformer","activeClassName","isActive"];function gp(t){return gp="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},gp(t)}function xp(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 wp(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?xp(Object(r),!0).forEach((function(e){Op(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xp(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Op(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==gp(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==gp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===gp(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Sp(t,e){return wp(wp({},e),t)}function jp(t){var e=t.shapeType,r=t.elementProps;switch(e){case"rectangle":return n().createElement(Qf,r);case"trapezoid":return n().createElement(cp,r);case"sector":return n().createElement(mp,r);case"symbols":if(function(t,e){return"symbols"===t}(e))return n().createElement(nc,r);break;default:return null}}function Ep(t){var r,o=t.option,i=t.shapeType,a=t.propTransformer,u=void 0===a?Sp:a,c=t.activeClassName,l=void 0===c?"recharts-active-shape":c,s=t.isActive,f=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,bp);if((0,e.isValidElement)(o))r=(0,e.cloneElement)(o,f);else if(lt()(o))r=o(f);else if(Wf()(o)&&!mt()(o)){var p=u(o,f);r=n().createElement(jp,{shapeType:i,elementProps:p})}else{var h=f;r=n().createElement(jp,{shapeType:i,elementProps:h})}return s?n().createElement(su,{className:l},r):r}function Pp(t,e){return"trapezoids"in t.props}function Ap(t,e){return"sectors"in t.props}function kp(t,e){return"points"in t.props}function _p(t,e){var r,n,o=t.x===(null==e||null===(r=e.labelViewBox)||void 0===r?void 0:r.x)||t.x===e.x,i=t.y===(null==e||null===(n=e.labelViewBox)||void 0===n?void 0:n.y)||t.y===e.y;return o&&i}function Mp(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function Tp(t,e){var r=t.x===e.x,n=t.y===e.y,o=t.z===e.z;return r&&n&&o}function Cp(t){var e=t.activeTooltipItem,r=t.graphicalItem,n=t.itemData,o=function(t,e){var r;return Pp(t)?r="trapezoids":Ap(t)?r="sectors":kp(t)&&(r="points"),r}(r),i=function(t,e){var r,n;return Pp(t)?null===(r=e.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:Ap(t)?null===(n=e.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:kp(t)?e.payload:{}}(r,e),a=n.filter((function(t,n){var a=Wt()(i,t),u=r.props[o].filter((function(t){var n=function(t,e){var r;return Pp(t)?r=_p:Ap(t)?r=Mp:kp(t)&&(r=Tp),r}(r);return n(t,e)})),c=r.props[o].indexOf(u[u.length-1]);return a&&n===c}));return n.indexOf(a[a.length-1])}function Dp(t){return Dp="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},Dp(t)}var Np=["x","y"];function Ip(){return Ip=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Ip.apply(this,arguments)}function Rp(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 Lp(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Rp(Object(r),!0).forEach((function(e){Bp(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Rp(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Bp(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Dp(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Dp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Dp(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function zp(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,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}
2(t,Np),i="".concat(r),a=parseInt(i,10),u="".concat(n),c=parseInt(u,10),l="".concat(e.height||o.height),s=parseInt(l,10),f="".concat(e.width||o.width),p=parseInt(f,10);return Lp(Lp(Lp(Lp(Lp({},e),o),a?{x:a}:{}),c?{y:c}:{}),{},{height:s,width:p,name:e.name,radius:e.radius})}function Up(t){return n().createElement(Ep,Ip({shapeType:"rectangle",propTransformer:zp,activeClassName:"recharts-active-bar"},t))}var Fp=["value","background"];function $p(t){return $p="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},$p(t)}function Wp(){return Wp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Wp.apply(this,arguments)}function qp(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 Hp(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?qp(Object(r),!0).forEach((function(e){Kp(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qp(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Gp(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,Zp(n.key),n)}}function Xp(t,e){return Xp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Xp(t,e)}function Vp(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yp(t){return Yp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Yp(t)}function Kp(t,e,r){return(e=Zp(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Zp(t){var e=function(t,e){if("object"!==$p(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==$p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===$p(e)?e:String(e)}var Jp=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Xp(t,e)}(c,t);var e,r,o,i,a,u=(i=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Yp(i);if(a){var r=Yp(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===$p(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Vp(t)}(this,t)});function c(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return Kp(Vp(t=u.call.apply(u,[this].concat(r))),"state",{isAnimationFinished:!1}),Kp(Vp(t),"id",H("recharts-bar-")),Kp(Vp(t),"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()})),Kp(Vp(t),"handleAnimationStart",(function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()})),t}return e=c,r=[{key:"renderRectanglesStatically",value:function(t){var e=this,r=this.props,o=r.shape,i=r.dataKey,a=r.activeIndex,u=r.activeBar,c=ou(this.props);return t&&t.map((function(t,r){var l=r===a,s=l?u:o,f=Hp(Hp(Hp({},c),t),{},{isActive:l,option:s,index:r,dataKey:i,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return n().createElement(su,Wp({className:"recharts-bar-rectangle"},qa(e.props,t,r),{key:"rectangle-".concat(r)}),n().createElement(Up,f))}))}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,r=e.data,o=e.layout,i=e.isAnimationActive,a=e.animationBegin,u=e.animationDuration,c=e.animationEasing,l=e.animationId,s=this.state.prevData;return n().createElement(Us,{begin:a,duration:u,isActive:i,easing:c,from:{t:0},to:{t:1},key:"bar-".concat(l),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(e){var i=e.t,a=r.map((function(t,e){var r=s&&s[e];if(r){var n=V(r.x,t.x),a=V(r.y,t.y),u=V(r.width,t.width),c=V(r.height,t.height);return Hp(Hp({},t),{},{x:n(i),y:a(i),width:u(i),height:c(i)})}if("horizontal"===o){var l=V(0,t.height)(i);return Hp(Hp({},t),{}
2,{y:t.y+t.height-l,height:l})}var f=V(0,t.width)(i);return Hp(Hp({},t),{},{width:f})}));return n().createElement(su,null,t.renderRectanglesStatically(a))}))}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return!(r&&e&&e.length)||n&&Wt()(n,e)?this.renderRectanglesStatically(e):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var t=this,e=this.props,r=e.data,o=e.dataKey,i=e.activeIndex,a=ou(this.props.background);return r.map((function(e,r){e.value;var u=e.background,c=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,Fp);if(!u)return null;var l=Hp(Hp(Hp(Hp(Hp({},c),{},{fill:"#eee"},u),a),qa(t.props,e,r)),{},{onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd,dataKey:o,index:r,key:"background-bar-".concat(r),className:"recharts-bar-background-rectangle"});return n().createElement(Up,Wp({option:t.props.background,isActive:r===i},l))}))}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,o=r.data,i=r.xAxis,a=r.yAxis,u=r.layout,c=tu(r.children,du);if(!c)return null;var l="vertical"===u?o[0].height/2:o[0].width/2,s=function(t,e){var r=Array.isArray(t.value)?t.value[1]:t.value;return{x:t.x,y:t.y,value:r,errorVal:Bc(t,e)}},f={clipPath:t?"url(#clipPath-".concat(e,")"):null};return n().createElement(su,f,c.map((function(t,e){return n().cloneElement(t,{key:"error-bar-".concat(e),data:o,xAxis:i,yAxis:a,layout:u,offset:l,dataPointFormatter:s})})))}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,o=t.className,i=t.xAxis,a=t.yAxis,u=t.left,c=t.top,l=t.width,s=t.height,f=t.isAnimationActive,p=t.background,h=t.id;if(e||!r||!r.length)return null;var d=this.state.isAnimationFinished,y=g()("recharts-bar",o),v=i&&i.allowDataOverflow,m=a&&a.allowDataOverflow,b=v||m,x=ht()(h)?this.id:h;return n().createElement(su,{className:y},v||m?n().createElement("defs",null,n().createElement("clipPath",{id:"clipPath-".concat(x)},n().createElement("rect",{x:v?u:u-l/2,y:m?c:c-s/2,width:v?l:2*l,height:m?s:2*s}))):null,n().createElement(su,{className:"recharts-bar-rectangles",clipPath:b?"url(#clipPath-".concat(x,")"):null},p?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(b,x),(!f||d)&&Ff.renderCallByParent(this.props,r))}}],o=[{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}}],r&&Gp(e.prototype,r),o&&Gp(e,o),Object.defineProperty(e,"prototype",{writable:!1}),c}(e.PureComponent);function Qp(t){return Qp="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},Qp(t)}function th(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,oh(n.key),n)}}function eh(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 rh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?eh(Object(r),!0).forEach((function(e){nh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function nh(t,e,r){return(e=oh(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function oh(t){var e=function(t,e){if("object"!==Qp(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Qp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Qp(e)?e:String(e)}Kp(Jp,"displayName","Bar"),Kp(Jp,"defaultProps",{xAxisId:0,yAxisId:0,legendT
2ype:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!0,isAnimationActive:!kt.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),Kp(Jp,"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,h=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}(n,r);if(!h)return null;var d=e.layout,y=r.props,v=y.dataKey,m=y.children,b=y.minPointSize,g="horizontal"===d?a:i,x=l?g.scale.domain():null,w=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]}({numericAxis:g}),O=tu(m,Fs),S=f.map((function(t,e){var n,f,p,y,m,g;if(l?n=function(t,e){if(!e||2!==e.length||!$(e[0])||!$(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(!$(t[0])||t[0]<r)&&(o[0]=r),(!$(t[1])||t[1]>n)&&(o[1]=n),o[0]>n&&(o[0]=n),o[1]<r&&(o[1]=r),o}(l[s+e],x):(n=Bc(t,v),D()(n)||(n=[w,n])),"horizontal"===d){var S,j=[a.scale(n[0]),a.scale(n[1])],E=j[0],P=j[1];f=Zc({axis:i,ticks:u,bandSize:o,offset:h.offset,entry:t,index:e}),p=null!==(S=null!=P?P:E)&&void 0!==S?S:void 0,y=h.size;var A=E-P;if(m=Number.isNaN(A)?0:A,g={x:f,y:a.y,width:y,height:a.height},Math.abs(b)>0&&Math.abs(m)<Math.abs(b)){var k=U(m||b)*(Math.abs(b)-Math.abs(m));p-=k,m+=k}}else{var _=[i.scale(n[0]),i.scale(n[1])],M=_[0],T=_[1];f=M,p=Zc({axis:a,ticks:c,bandSize:o,offset:h.offset,entry:t,index:e}),y=T-M,m=h.size,g={x:i.x,y:p,width:i.width,height:m},Math.abs(b)>0&&Math.abs(y)<Math.abs(b)&&(y+=U(y||b)*(Math.abs(b)-Math.abs(y)))}return Hp(Hp(Hp({},t),{},{x:f,y:p,width:y,height:m,value:l?n:n[1],payload:t,background:g},O&&O[e]&&O[e].props),{},{tooltipPayload:[ol(r,t)],tooltipPosition:{x:f+y/2,y:p+m/2}})}));return Hp({data:S,layout:d},p)}));var ih=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)}},ah=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scale=e}var e,r,n;return e=t,r=[{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}}],n=[{key:"create",value:function(e){return new t(e)}}],r&&th(e.prototype,r),n&&th(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();nh(ah,"EPS",1e-4);var uh=function(t){var e=Object.keys(t).reduce((function(e,r){return rh(rh({},e),{},nh({},r,ah.create(t[r])))}),{});return rh(rh({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,o=r.position;return Ft()(t,(function(t,r){return e[r].apply(t,{bandAware:n,position:o})}))},isInRange:function(t){return it()(t,(function(t,r){return e[r].isInRange(t)}))}})};function ch(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;n.push(t[o])}return n}function lh(t,e,r,n,o){return t*(e-t*r/2-n)>=0&&t*(e+t*r/2-o)<=0}function sh(t){return sh="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},sh(t)}function fh(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 ph(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?fh(Object(r),!0).forEach((function(e){hh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function hh(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==sh(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==sh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===sh(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function dh(t,e,r){var n=t.tick,o=t.ticks,i=t.viewBox,a=t.minTickGap,u=t.orientation,c=t.interval,l=t.tickFormatter,s=t.unit,f=t.angle;if(!o||!o.length||!n)return[];if($(c)||kt.isSsr)return function(t,e){return ch(t,e+1)}(o,"number"==typeof c&&$(c)?c:0);var p=[],h="top"===u||"bottom"===u?"width":"height",d=s&&"width"===h?zt(s,{fontSize:e,letterSpacing:r}):{width:0,height:0},y=function(t,n){var o=lt()(l)?l(t.value,n):t.value;return"width"===h?function(t,e,r){return function(t){var e=t.width,r=t.height,n=((arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)%180+180)%180*Math.PI/180,o=Math.atan(r/e),i=n>o&&n<Math.PI-o?r/Math.sin(n):e/Math.cos(n);return Math.abs(i)}({width:t.width+e.width,height:t.height+e.height},r)}(zt(o,{fontSize:e,letterSpacing:r}),d,f):zt(o,{fontSize:e,letterSpacing:r})[h]},v=o.length>=2?U(o[1].coordinate-o[0].coordinate):1,m=function(t,e,r){var n="width"===r,o=t.x,i=t.y,a=t.width,u=t.height;return 1===e?{start:n?o:i,end:n?o+a:i+u}:{start:n?o+a:i+u,end:n?o:i}}(i,v,h);return"equidistantPreserveStart"===c?function(t,e,r,n,o){for(var i=(n||[]).slice(),a=e.start,u=e.end,c=0,l=1,s=a;l<=i.length;){var f=null==n?void 0:n[c];if(void 0===f)return ch(n,l);var p=r(f,c),h=f.coordinate,d=0===c||lh(t,h,p,s,u);d||(c=0,s=a,l+=1),d&&(s=h+t*(p/2+o),c+=l)}return[]}(v,m,y,o,a):(p="preserveStart"===c||"preserveStartEnd"===c?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=ph(ph({},s),{},{tickCoord:p>0?s.coordinate-p*t:s.coordinate}),lh(t,s.tickCoord,f,c,l)&&(l=s.tickCoord-t*(f/2+o),a[u-1]=ph(ph({},s),{},{isShow:!0}))}for(var h=i?u-1:u,d=0;d<h;d++){var y=a[d],v=r(y,d);if(0===d){var m=t*(y.coordinate-t*v/2-c);a[d]=y=ph(ph({},y),{},{tickCoord:m<0?y.coordinate-m*t:y.coordinate})}else a[d]=y=ph(ph({},y),{},{tickCoord:y.coordinate});lh(t,y.tickCoord,v,c,l)&&(c=y.tickCoord+t*(v/2+o),a[d]=ph(ph({},y),{},{isShow:!0}))}return a}(v,m,y,o,a,"preserveStartEnd"===c):function(t,e,r,n,o){for(var i=(n||[]).slice(),a=i.length,u=e.start,c=e.end,l=a-1;l>=0;l--){var s=i[l],f=r(s,l);if(l===a-1){var p=t*(s.coordinate+t*f/2-c);i[l]=s=ph(ph({},s),{},{tickCoord:p>0?s.coordinate-p*t:s.coordinate})}else i[l]=s=ph(ph({},s),{},{tickCoord:s.coordinate});lh(t,s.tickCoord,f,u,c)&&(c=s.tickCoord-t*(f/2+o),i[l]=ph(ph({},s),{},{isShow:!0}))}return i}(v,m,y,o,a),p.filter((function(t){return t.isShow})))}function yh(t){return yh="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},yh(t)}function vh(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function mh(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 bh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?mh(Object(r),!0).forEach((function(e){gh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function gh(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==yh(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==yh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===yh(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function xh(t){return D()(t)&&W(t[0])&&W(t[1])?t.join(" ~ "):t}var wh=function(t){var e=t.separator,r=void 0===e?" : ":e,o=t.contentStyle,i=void 0===o?{}:o,a=t.itemStyle,u=void 0===a?{}:a,c=t.labelStyle,l=void 0===c?{}:c,s=t.payload,f=t.formatter,p=t.itemSorter,h=t.wrapperClassName,d=t.labelClassName,y=t.label,v=t.labelFormatter,m=bh({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},i),b=bh({margin:0},l),x=!ht()(y),w=x?y:"",O=g()("recharts-default-tooltip",h),S=g()("recharts-tooltip-label",d);return x&&v&&null!=s&&(w=v(y,s)),n().createElement("div",{className:O,style:m},n().createElement("p",{className:S,style:b},n().isValidElement(w)?w:"".concat(w)),function(){if(s&&s.length){var t=(p?ft()(s,p):s).map((function(t,e){if("none"===t.type)return null;var o=bh({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},u),i=t.formatter||f||xh,a=t.value,c=t.name,l=a,p=c;if(i&&null!=l&&null!=p){var h=i(a,c,t,e,s);if(Array.isArray(h)){var d=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=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(;
2!(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 vh(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?vh(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(h,2);l=d[0],p=d[1]}else l=h}return n().createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(e),style:o},W(p)?n().createElement("span",{className:"recharts-tooltip-item-name"},p):null,W(p)?n().createElement("span",{className:"recharts-tooltip-item-separator"},r):null,n().createElement("span",{className:"recharts-tooltip-item-value"},l),n().createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))}));return n().createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())};function Oh(t){return Oh="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},Oh(t)}function Sh(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 jh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Sh(Object(r),!0).forEach((function(e){_h(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Sh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Eh(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,Mh(n.key),n)}}function Ph(t,e){return Ph=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ph(t,e)}function Ah(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kh(t){return kh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},kh(t)}function _h(t,e,r){return(e=Mh(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Mh(t){var e=function(t,e){if("object"!==Oh(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Oh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Oh(e)?e:String(e)}var Th="recharts-tooltip-wrapper";function Ch(t){return t.dataKey}var Dh=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ph(t,e)}(u,t);var e,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=kh(o);if(i){var r=kh(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===Oh(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Ah(t)}(this,t)});function u(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return _h(Ah(t=a.call.apply(a,[this].concat(r))),"state",{boxWidth:-1,boxHeight:-1,dismissed:!1,dismissedAtCoordinate:{x:0,y:0}}),_h(Ah(t),"handleKeyDown",(function(e){"Escape"===e.key&&t.setState({dismissed:!0,dismissedAtCoordinate:jh(jh({},t.state.dismissedAtCoordinate),{},{x:t.props.coordinate.x,y:t.props.coordinate.y})})})),_h(Ah(t),"getTranslate",(function(e){var r=e.key,n=e.tooltipDimension,o=e.viewBoxDimension,i=t.props,a=i.allowEscapeViewBox,u=i.reverseDirection,c=i.coordinate,l=i.offset,s=i.position,f=i.viewBox;if(s&&$(s[r]))return s[r];var p=c[r]-n-l,h=c[r]+l;return a[r]?u[r]?p:h:u[r]?p<f[r]?Math.max(h,f[r]):Math.max(p,f[r]):h+n>f[r]+o?Math.max(p,f[r]):Math.max(h,f[r])})),t}return e=u,(r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,r=t.boxHeight;if(t.dismissed?(document.removeEventListener("keydown",this.handleKeyDown),this.props.coordinate.x===this.state.dismissedAtCoordinate.x&&this.props.coordinate.y===this.state.dismissedAtCoordinate.y||this.setState({dismissed:!1})):document.addEventListener("keydown",this.handleKeyDown),this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();(Math.abs(n.width-e)>1||Math.abs(n.height-r)>1)&&this.setState({boxWidth:n.width,boxHeight:n.height})}else-1===e&&-1===r||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var t,e,r,o=this,i=this.props,a=i.payload,u=i.isAnimationActive,c=i.animationDuration,l=i.animationEasing,s=i.filterNull,f=function(t,e){return!0===t?vu()(e,Ch):lt()(t)?vu()(e,t):e}(i.payloadUniqBy,s&&a&&a.length?a.filter((function(t){return!ht()(t.value)}
2)):a),p=f&&f.length,h=this.props,d=h.content,y=h.viewBox,v=h.coordinate,m=h.position,b=h.active,x=h.wrapperStyle,w=jh({pointerEvents:"none",visibility:!this.state.dismissed&&b&&p?"visible":"hidden",position:"absolute",top:0,left:0},x);if(m&&$(m.x)&&$(m.y))e=m.x,r=m.y;else{var O=this.state,S=O.boxWidth,j=O.boxHeight;S>0&&j>0&&v?(e=this.getTranslate({key:"x",tooltipDimension:S,viewBoxDimension:y.width}),r=this.getTranslate({key:"y",tooltipDimension:j,viewBoxDimension:y.height})):w.visibility="hidden"}w=jh(jh({},ql({transform:this.props.useTranslate3d?"translate3d(".concat(e,"px, ").concat(r,"px, 0)"):"translate(".concat(e,"px, ").concat(r,"px)")})),w),u&&b&&(w=jh(jh({},ql({transition:"transform ".concat(c,"ms ").concat(l)})),w));var E=g()(Th,(_h(t={},"".concat(Th,"-right"),$(e)&&v&&$(v.x)&&e>=v.x),_h(t,"".concat(Th,"-left"),$(e)&&v&&$(v.x)&&e<v.x),_h(t,"".concat(Th,"-bottom"),$(r)&&v&&$(v.y)&&r>=v.y),_h(t,"".concat(Th,"-top"),$(r)&&v&&$(v.y)&&r<v.y),t));return n().createElement("div",{tabIndex:-1,role:"dialog",className:E,style:w,ref:function(t){o.wrapperNode=t}},function(t,e){return n().isValidElement(t)?n().cloneElement(t,e):lt()(t)?n().createElement(t,e):n().createElement(wh,e)}(d,jh(jh({},this.props),{},{payload:f})))}}])&&Eh(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(e.PureComponent);function Nh(){}function Ih(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 Rh(t){this._context=t}function Lh(t){this._context=t}function Bh(t){this._context=t}_h(Dh,"displayName","Tooltip"),_h(Dh,"defaultProps",{active:!1,allowEscapeViewBox:{x:!1,y:!1},reverseDirection:{x:!1,y:!1},offset:10,viewBox:{x:0,y:0,height:0,width:0},coordinate:{x:0,y:0},cursorStyle:{},separator:" : ",wrapperStyle:{},contentStyle:{},itemStyle:{},labelStyle:{},cursor:!0,trigger:"hover",isAnimationActive:!kt.isSsr,animationEasing:"ease",animationDuration:400,filterNull:!0,useTranslate3d:!1}),Rh.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:Ih(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=+t,e=+e,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:Ih(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Lh.prototype={areaStart:Nh,areaEnd:Nh,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=+t,e=+e,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:Ih(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Bh.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=+t,e=+e,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:Ih(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class zh{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=+t,e=+e,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 Uh(t){this._context=t}function Fh(t){this._context=t}function $h(t){return new Fh(t)}function Wh(t){return t<0?-1:1}function qh(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),u=(i*o+a*n)/(n+o);return(Wh(i)+Wh(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(u))||0}function Hh(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function Gh(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 Xh(t){this._context=t}function Vh(t){this._context=new Yh(t)}function Yh(t){this._context=t}function Kh(t){this._context=t}function Zh(t){var e,r,n=t.length-1,o=new Array(n),i=new Array(n),a=new 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 Jh(t,e){this._context=t,this._t=e}function Qh(t){return t[0]}function td(t){return t[1]}function ed(t,e){var r=ra(!0),n=null,o=$h,i=null,a=Vu(u);function u(u){var c,l,s,f=(u=ea(u)).length,p=!1;
vendor: 7,928 bytes, line 2
2for(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?Qh:ra(t),e="function"==typeof e?e:void 0===e?td:ra(e),u.x=function(e){return arguments.length?(t="function"==typeof e?e:ra(+e),u):t},u.y=function(t){return arguments.length?(e="function"==typeof t?t:ra(+t),u):e},u.defined=function(t){return arguments.length?(r="function"==typeof t?t:ra(!!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 rd(t,e,r){var n=null,o=ra(!0),i=null,a=$h,u=null,c=Vu(l);function l(l){var s,f,p,h,d,y=(l=ea(l)).length,v=!1,m=new Array(y),b=new Array(y);for(null==i&&(u=a(d=c())),s=0;s<=y;++s){if(!(s<y&&o(h=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(h,s,l),b[s]=+e(h,s,l),u.point(n?+n(h,s,l):m[s],r?+r(h,s,l):b[s]))}if(d)return u=null,d+""||null}function s(){return ed().defined(o).curve(a).context(i)}return t="function"==typeof t?t:void 0===t?Qh:ra(+t),e="function"==typeof e?e:ra(void 0===e?0:+e),r="function"==typeof r?r:void 0===r?td:ra(+r),l.x=function(e){return arguments.length?(t="function"==typeof e?e:ra(+e),n=null,l):t},l.x0=function(e){return arguments.length?(t="function"==typeof e?e:ra(+e),l):t},l.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:ra(+t),l):n},l.y=function(t){return arguments.length?(e="function"==typeof t?t:ra(+t),r=null,l):e},l.y0=function(t){return arguments.length?(e="function"==typeof t?t:ra(+t),l):e},l.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:ra(+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:ra(!!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 nd(t){return nd="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},nd(t)}function od(){return od=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},od.apply(this,arguments)}function id(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 ad(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?id(Object(r),!0).forEach((function(e){ud(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):id(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ud(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==nd(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==nd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===nd(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Uh.prototype={areaStart:Nh,areaEnd:Nh,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},Fh.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=+t,e=+e,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)}}},Xh.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:Gh(this,this._t0,Hh(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=+e,(t=+t)!==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,Gh(this,Hh(this,r=qh(this,t,e)),r);break;default:Gh(this,this._t0,r=qh(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(Vh.prototype=Object.create(Xh.prototype)).point=function(t,e){Xh.prototype.point.call(this,e,t)},Yh.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)}},Kh.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=Zh(t),o=Zh(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)}},Jh.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=+t,e=+e,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 cd={curveBasisClosed:function(t){return new Lh(t)},curveBasisOpen:function(t){return new Bh(t)},curveBasis:function(t){return new Rh(t)},curveBumpX:function(t){return new zh(t,!0)},curveBumpY:function(t){return new zh(t,!1)},curveLinearClosed:function(t){return new Uh(t)},curveLinear:$h,curveMonotoneX:function(t){return new Xh(t)},curveMonotoneY:function(t){return new Vh(t)},curveNatural:function(t){return new Kh(t)},curveStep:function(t){return new Jh(t,.5)},curveStepAfter:function(t){return new Jh(t,1)},curveStepBefore:function(t){return new Jh(t,0)}},ld=function(t){return t.x===+t.x&&t.y===+t.y},sd=function(t){return t.x},fd=function(t){return t.y},pd=function(t){var e=t.className,r=t.points,o=t.path,i=t.pathRef;if(!(r&&r.length||o))return null;var a=r&&r.length?function(t){var e,r=t.type,n=void 0===r?"linear":r,o=t.points,i=void 0===o?[]:o,a=t.baseLine,u=t.layout,c=t.connectNulls,l=void 0!==c&&c,s=function(t,e){if(lt()(t))return t;var r="curve".concat(Ht()(t));return"curveMonotone"!==r&&"curveBump"!==r||!e?cd[r]||$h:cd["".concat(r).concat("vertical"===e?"Y":"X")]}(n,u),f=l?i.filter((function(t){return ld(t)})):i;
2if(D()(a)){var p=l?a.filter((function(t){return ld(t)})):a,h=f.map((function(t,e){return ad(ad({},t),{},{base:p[e]})}));return(e="vertical"===u?rd().y(fd).x1(sd).x0((function(t){return t.base.x})):rd().x(sd).y1(fd).y0((function(t){return t.base.y}))).defined(ld).curve(s),e(h)}return(e="vertical"===u&&$(a)?rd().y(fd).x1(sd).x0(a):$(a)?rd().x(sd).y1(fd).y0(a):ed().x(sd).y(fd)).defined(ld).curve(s),e(f)}(t):o;return n().createElement("path",od({},ou(t),Wa(t),{className:g()("recharts-curve",e),d:a,ref:i}))};function hd(t){return hd="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},hd(t)}var dd=["x","y","top","left","width","height","className"];function yd(){return yd=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},yd.apply(this,arguments)}function vd(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 md(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==hd(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==hd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===hd(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var bd=function(t,e,r,n,o,i){return"M".concat(t,",").concat(o,"v").concat(n,"M").concat(i,",").concat(e,"h").concat(r)},gd=function(t){var e=t.x,r=void 0===e?0:e,o=t.y,i=void 0===o?0:o,a=t.top,u=void 0===a?0:a,c=t.left,l=void 0===c?0:c,s=t.width,f=void 0===s?0:s,p=t.height,h=void 0===p?0:p,d=t.className,y=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?vd(Object(r),!0).forEach((function(e){md(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vd(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({x:r,y:i,top:u,left:l,width:f,height:h},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,dd));return $(r)&&$(i)&&$(f)&&$(h)&&$(u)&&$(l)?n().createElement("path",yd({},ou(y,!0),{className:g()("recharts-cross",d),d:bd(r,i,f,h,u,l)})):null};function xd(){return xd=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},xd.apply(this,arguments)}var wd=function(t){var e=t.cx,r=t.cy,o=t.r,i=t.className,a=g()("recharts-dot",i);return e===+e&&r===+r&&o===+o?n().createElement("circle",xd({},ou(t),Wa(t),{className:a,cx:e,cy:r,r:o})):null},Od=["viewBox"],Sd=["viewBox"],jd=["ticks"];function Ed(t){return Ed="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},Ed(t)}function Pd(){return Pd=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Pd.apply(this,arguments)}function Ad(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 kd(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?Ad(Object(r),!0).forEach((function(e){Dd(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ad(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function _d(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}function Md(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,Nd(n.key),n)}}function Td(t,e){return Td=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Td(t,e)}function Cd(t){return Cd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Cd(t)}function Dd(t,e,r){return(e=Nd(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Nd(t){var e=function(t,e){if("object"!==Ed(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Ed(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Ed(e)?e:String(e)}var Id=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Td(t,e)}(c,t);var e,r,o,i,a,u=(i=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Cd(i);if(a){var r=Cd(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===Ed(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,t)});function c(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),(e=u.call(this,t)).state={fontSize:"",letterSpacing:""},e}return e=c,r=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=_d(t,Od),o=this.props,i=o.viewBox,a=_d(o,Sd);return!La(r,i)||!La(n,a)||!La(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,h=u.tickSize,d=u.mirror,y=u.tickMargin,v=d?-1:1,m=t.tickSize||h,b=$(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=r=t.coordinate,a=(n=(o=l+ +!d*f)-v*m)-v*y,i=b;break;case"left":n=o=t.coordinate,i=(e=(r=c+ +!d*s)-v*m)-v*y,a=b;break;case"right":n=o=t.coordinate,i=(e=(r=c+ +d*s)+v*m)+v*y,a=b;break;default:e=r=t.coordinate,a=(n=(o=l+ +d*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,o=t.width,i=t.height,a=t.orientation,u=t.mirror,c=t.axisLine,l=kd(kd(kd({},ou(this.props)),ou(c)),{},{fill:"none"});if("top"===a||"bottom"===a){var s=+("top"===a&&!u||"bottom"===a&&u);l=kd(kd({},l),{},{x1:e,y1:r+s*i,x2:e+o,y2:r+s*i})}else{var f=+("left"===a&&!u||"right"===a&&u);l=kd(kd({},l),{},{x1:e+f*o,y1:r,x2:e+f*o,y2:r+i})}return n().createElement("line",Pd({},l,{className:g()("recharts-cartesian-axis-line",T()(c,"className"))}))}},{key:"renderTicks",value:function(t,e,r){var o=this,i=this.props,a=i.tickLine,u=i.stroke,l=i.tick,s=i.tickFormatter,f=i.unit,p=dh(kd(kd({},this.props),{},{ticks:t}),e,r),h=this.getTickTextAnchor(),d=this.getTickVerticalAnchor(),y=ou(this.props),v=ou(l),m=kd(kd({},y),{},{fill:"none"}
2,ou(a)),b=p.map((function(t,e){var r=o.getTickLineCoord(t),i=r.line,b=r.tick,x=kd(kd(kd(kd({textAnchor:h,verticalAnchor:d},y),{},{stroke:"none",fill:u},v),b),{},{index:e,payload:t,visibleTicksCount:p.length,tickFormatter:s});return n().createElement(su,Pd({className:"recharts-cartesian-axis-tick",key:"tick-".concat(e)},qa(o.props,t,e)),a&&n().createElement("line",Pd({},m,i,{className:g()("recharts-cartesian-axis-tick-line",T()(a,"className"))})),l&&c.renderTickItem(l,x,"".concat(lt()(s)?s(t.value,e):t.value).concat(f||"")))}));return n().createElement("g",{className:"recharts-cartesian-axis-ticks"},b)}},{key:"render",value:function(){var t=this,e=this.props,r=e.axisLine,o=e.width,i=e.height,a=e.ticksGenerator,u=e.className;if(e.hide)return null;var c=this.props,l=c.ticks,s=_d(c,jd),f=l;return lt()(a)&&(f=l&&l.length>0?a(this.props):a(s)),o<=0||i<=0||!f||!f.length?null:n().createElement(su,{className:g()("recharts-cartesian-axis",u),ref:function(e){t.layerReference=e}},r&&this.renderAxisLine(),this.renderTicks(f,this.state.fontSize,this.state.letterSpacing),_f.renderCallByParent(this.props))}}],o=[{key:"renderTickItem",value:function(t,e,r){return n().isValidElement(t)?n().cloneElement(t,e):lt()(t)?t(e):n().createElement(vf,Pd({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],r&&Md(e.prototype,r),o&&Md(e,o),Object.defineProperty(e,"prototype",{writable:!1}),c}(e.Component);function Rd(t){return Rd="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},Rd(t)}function Ld(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 Bd(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ld(Object(r),!0).forEach((function(e){zd(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ld(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function zd(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Rd(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Rd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Rd(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Dd(Id,"displayName","CartesianAxis"),Dd(Id,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var Ud=["Webkit","Moz","O","ms"];function Fd(t){return Fd="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},Fd(t)}function $d(){return $d=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},$d.apply(this,arguments)}function Wd(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 qd(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Wd(Object(r),!0).forEach((function(e){Yd(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Wd(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Hd(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,Kd(n.key),n)}}
2function Gd(t,e){return Gd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Gd(t,e)}function Xd(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vd(t){return Vd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Vd(t)}function Yd(t,e,r){return(e=Kd(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Kd(t){var e=function(t,e){if("object"!==Fd(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Fd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Fd(e)?e:String(e)}var Zd=function(t){return t.changedTouches&&!!t.changedTouches.length},Jd=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Gd(t,e)}(l,t);var r,o,i,a,u,c=(a=l,u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Vd(a);if(u){var r=Vd(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===Fd(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Xd(t)}(this,t)});function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),Yd(Xd(e=c.call(this,t)),"handleDrag",(function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)})),Yd(Xd(e),"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])})),Yd(Xd(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()})),Yd(Xd(e),"handleLeaveWrapper",(function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))})),Yd(Xd(e),"handleEnterSlideOrTraveller",(function(){e.setState({isTextActive:!0})})),Yd(Xd(e),"handleLeaveSlideOrTraveller",(function(){e.setState({isTextActive:!1})})),Yd(Xd(e),"handleSlideDragStart",(function(t){var r=Zd(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),e.attachDragEndListener()})),e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(Xd(e),"startX"),endX:e.handleTravellerDragStart.bind(Xd(e),"endX")},e.state={},e}return r=l,o=[{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,n=this.state.scaleValues,o=this.props,i=o.gap,a=o.data.length-1,u=Math.min(e,r),c=Math.max(e,r),s=l.getIndexInRange(n,u),f=l.getIndexInRange(n,c);return{startIndex:s-s%i,endIndex:f===a?a:f-f%i}}},{key:"getTextOfTick",value:function(t){var e=this.props,r=e.data,n=e.tickFormatter,o=e.dataKey,i=Bc(r[t],o,t);return lt()(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 h=this.getIndex({startX:n+p,endX:o+p});h.startIndex===l&&h.endIndex===s||!f||f(h),this.setState({startX:n+p,endX:o+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=Zd(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,r=this.state,n=r.brushMoveStartX,o=r.movingTravellerId,i=r.endX,a=r.startX,u=this.state[o],c=this.props,l=c.x,s=c.width,f=c.travellerWidth,p=c.onChange,h=c.gap,d=c.data,y={startX:this.state.startX,endX:this.state.endX},v=t.pageX-n;v>0?v=Math.min(v,l+s-f-u):v<0&&(v=Math.max(v,l-u)),y[o]=u+v;var m=this.getIndex(y),b=m.startIndex,g=m.endIndex;this.setState((Yd(e={},o,u+v),Yd(e,"brushMoveStartX",t.pageX),e),(function(){var t;p&&(t=d.length-1,("startX"===o&&(i>a?b%h==0:g%h==0)||i<a&&g===t||"endX"===o&&(i>a?g%h==0:b%h==0)||i>a&&g===t)&&p(m))}))}},{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(Yd({},e,s),(function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.
2state.endX}))}))}}}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,r=t.y,o=t.width,i=t.height,a=t.fill,u=t.stroke;return n().createElement("rect",{stroke:u,fill:a,x:e,y:r,width:o,height:i})}},{key:"renderPanorama",value:function(){var t=this.props,r=t.x,o=t.y,i=t.width,a=t.height,u=t.data,c=t.children,l=t.padding,s=e.Children.only(c);return s?n().cloneElement(s,{x:r,y:o,width:i,height:a,margin:l,compact:!0,data:u}):null}},{key:"renderTravellerLayer",value:function(t,e){var r=this,o=this.props,i=o.y,a=o.travellerWidth,u=o.height,c=o.traveller,s=Math.max(t,this.props.x),f=qd(qd({},ou(this.props)),{},{x:s,y:i,width:a,height:u});return n().createElement(su,{tabIndex:0,role:"slider",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(),r.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,e))},onFocus:function(){r.setState({isTravellerFocused:!0})},onBlur:function(){r.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},l.renderTraveller(c,f))}},{key:"renderSlide",value:function(t,e){var r=this.props,o=r.y,i=r.height,a=r.stroke,u=r.travellerWidth,c=Math.min(t,e)+u,l=Math.max(Math.abs(e-t)-u,0);return n().createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:c,y:o,width:l,height:i})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,r=t.endIndex,o=t.y,i=t.height,a=t.travellerWidth,u=t.stroke,c=this.state,l=c.startX,s=c.endX,f={pointerEvents:"none",fill:u};return n().createElement(su,{className:"recharts-brush-texts"},n().createElement(vf,$d({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,s)-5,y:o+i/2},f),this.getTextOfTick(e)),n().createElement(vf,$d({textAnchor:"start",verticalAnchor:"middle",x:Math.max(l,s)+a+5,y:o+i/2},f),this.getTextOfTick(r)))}},{key:"render",value:function(){var t=this.props,e=t.data,r=t.className,o=t.children,i=t.x,a=t.y,u=t.width,c=t.height,l=t.alwaysShowText,s=this.state,f=s.startX,p=s.endX,h=s.isTextActive,d=s.isSlideMoving,y=s.isTravellerMoving,v=s.isTravellerFocused;if(!e||!e.length||!$(i)||!$(a)||!$(u)||!$(c)||u<=0||c<=0)return null;var m=g()("recharts-brush",r),b=1===n().Children.count(o),x=function(t,e){var r=t.replace(/(\w)/,(function(t){return t.toUpperCase()})),n=Ud.reduce((function(t,n){return Bd(Bd({},t),{},zd({},n+r,e))}),{});return n[t]=e,n}("userSelect","none");return n().createElement(su,{className:m,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:x},this.renderBackground(),b&&this.renderPanorama(),this.renderSlide(f,p),this.renderTravellerLayer(f,"startX"),this.renderTravellerLayer(p,"endX"),(h||d||y||v||l)&&this.renderText())}}],i=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,r=t.y,o=t.width,i=t.height,a=t.stroke,u=Math.floor(r+i/2)-1;return n().createElement(n().Fragment,null,n().createElement("rect",{x:e,y:r,width:o,height:i,fill:a,stroke:"none"}),n().createElement("line",{x1:e+1,y1:u,x2:e+o-1,y2:u,fill:"none",stroke:"#fff"}),n().createElement("line",{x1:e+1,y1:u+2,x2:e+o-1,y2:u+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,e){return n().isValidElement(t)?n().cloneElement(t,e):lt()(t)?t(e):l.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 qd({prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n},r&&r.length?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=ue().domain(yt()(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}}({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=0,n=t.length-1;n-r>1;){var o=Math.floor((r+n)/2);t[o]>e?n=o:r=o}return e>=t[n]?n:r}}],o&&Hd(r.prototype,o),i&&Hd(r,i),Object.defineProperty(r,"prototype",{writable:!1}),l}(e.PureComponent);Yd(Jd,"displayName","Brush"),Yd(Jd,"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 Qd=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e};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},ty(t)}function ey(){return ey=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},ey.apply(this,arguments)}function ry(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 ny(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ry(Object(r),!0).forEach((function(e){oy(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ry(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function oy(t,e,r){return(e=function(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,"string");if("object"!==ty(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===ty(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function iy(t){var e=t.x,r=t.y,o=t.r,i=t.alwaysShow,a=t.clipPathId,u=W(e),c=W(r);if(K(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!u||!c)return null;var l=function(t){var e=t.x,r=t.y,n=t.xAxis,o=t.yAxis,i=uh({x:n.scale,y:o.scale}),a=i.apply({x:e,y:r},{bandAware:!0});return Qd(t,"discard")&&!i.isInRange(a)?null:a}(t);if(!l)return null;var s=l.x,f=l.y,p=t.shape,h=t.className,d=ny(ny({clipPath:Qd(t,"hidden")?"url(#".concat(a,")"):void 0},ou(t,!0)),{},{cx:s,cy:f});return n().createElement(su,{className:g()("recharts-reference-dot",h)},iy.renderDot(p,d),_f.renderCallByParent(t,{x:s-o,y:f-o,width:2*o,height:2*o}))}iy.displayName="ReferenceDot",iy.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},iy.renderDot=function(t,e){return n().isValidElement(t)?n().cloneElement(t,e):lt()(t)?t(e):n().createElement(wd,ey({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))};var ay=r(9704),uy=r.n(ay);function cy(t){return cy="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},cy(t)}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 sy(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){fy(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ly(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function fy(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==cy(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==cy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===cy(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function py(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function hy(){return hy=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},hy.apply(this,arguments)}function dy(t){var e=t.x,r=t.y,o=t.segment,i=t.xAxis,a=t.yAxis,u=t.shape,c=t.className,l=t.alwaysShow,s=t.clipPathId;K(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var f=function(t,e,r,n,o){var i=o.viewBox,a=i.x,u=i.y,c=i.width,l=i.height,s=o.position;if(r){var f=o.y,p=o.yAxis.orientation,h=t.y.apply(f,{position:s});if(Qd(o,"discard")&&!t.y.isInRange(h))return null;var d=[{x:a+c,y:h},{x:a,y:h}];return"left"===p?d.reverse():d}if(e){var y=o.x,v=o.xAxis.orientation,m=t.x.apply(y,{position:s});if(Qd(o,"discard")&&!t.x.isInRange(m))return null;var b=[{x:m,y:u+l},{x:m,y:u}];return"top"===v?b.reverse():b}if(n){var g=o.segment.map((function(e){return t.apply(e,{position:s})}));return Qd(o,"discard")&&uy()(g,(function(e){return!t.isInRange(e)}
2))?null:g}return null}(uh({x:i.scale,y:a.scale}),W(e),W(r),o&&2===o.length,t);if(!f)return null;var p,h,d,y=(h=2,function(t){if(Array.isArray(t))return t}(p=f)||function(t,e){var r=null==t?null:"undefined"!=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}}(p,h)||function(t,e){if(t){if("string"==typeof t)return py(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?py(t,e):void 0}}(p,h)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),v=y[0],m=v.x,b=v.y,x=y[1],w=x.x,O=x.y,S=sy(sy({clipPath:Qd(t,"hidden")?"url(#".concat(s,")"):void 0},ou(t,!0)),{},{x1:m,y1:b,x2:w,y2:O});return n().createElement(su,{className:g()("recharts-reference-line",c)},function(t,e){return n().isValidElement(t)?n().cloneElement(t,e):lt()(t)?t(e):n().createElement("line",hy({},e,{className:"recharts-reference-line-line"}))}(u,S),_f.renderCallByParent(t,ih({x:(d={x1:m,y1:b,x2:w,y2:O}).x1,y:d.y1},{x:d.x2,y:d.y2})))}function yy(t){return yy="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},yy(t)}function vy(){return vy=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},vy.apply(this,arguments)}function my(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 by(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?my(Object(r),!0).forEach((function(e){gy(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):my(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function gy(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==yy(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==yy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===yy(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function xy(t){var e=t.x1,r=t.x2,o=t.y1,i=t.y2,a=t.className,u=t.alwaysShow,c=t.clipPathId;K(void 0===u,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=W(e),s=W(r),f=W(o),p=W(i),h=t.shape;if(!(l||s||f||p||h))return null;var d=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=uh({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},h={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(c,{position:"end"}):f.y.rangeMax};return!Qd(o,"discard")||f.isInRange(p)&&f.isInRange(h)?ih(p,h):null}(l,s,f,p,t);if(!d&&!h)return null;var y=Qd(t,"hidden")?"url(#".concat(c,")"):void 0;return n().createElement(su,{className:g()("recharts-reference-area",a)},xy.renderRect(h,by(by({clipPath:y},ou(t,!0)),d)),_f.renderCallByParent(t,d))}function wy(t){return function(t){if(Array.isArray(t))return Oy(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Oy(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Oy(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oy(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}dy.displayName="ReferenceLine",dy.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"},xy.displayName="ReferenceArea",xy.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},xy.renderRect=function(t,e){return n().isValidElement(t)?n().cloneElement(t,e):lt()(t)?t(e):n().createElement(Qf,vy({},e,{className:"recharts-reference-area-rect"}))};var Sy=function(t,e,r,n,o){var i=tu(t,dy),a=tu(t,iy),u=[].concat(wy(i),wy(a)),c=tu(t,xy),l="".concat(n,"Id"),s=n[0],f=e;if(u.length&&(f=u.reduce((function(t,e){if(e.props[l]===r&&Qd(e.props,"extendDomain")&&$(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"),h="".concat(s,"2");f=c.reduce((function(t,e){if(e.props[l]===r&&Qd(e.props,"extendDomain")&&$(e.props[p])&&$(e.props[h])){var n=e.props[p],o=e.props[h];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 $(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t}),f)),f},jy=r(6729),Ey=new(r.n(jy)());Ey.setMaxListeners&&Ey.setMaxListeners(10);var Py="recharts.syncMouseEvents";function Ay(t){return Ay="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},Ay(t)}function ky(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,My(n.key),n)}}function _y(t,e,r){return(e=My(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function My(t){var e=function(t,e){if("object"!==Ay(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Ay(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Ay(e)?e:String(e)}var Ty=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),_y(this,"activeIndex",0),_y(this,"coordinateList",[]),_y(this,"layout","horizontal")}var e,r;return e=t,(r=[{key:"setDetails",value:function(t){var e=t.coordinateList,r=void 0===e?[]:e,n=t.container,o=void 0===n?null:n,i=t.layout,a=void 0===i?null:i,u=t.offset,c=void 0===u?null:u,l=t.mouseHandlerCallback,s=void 0===l?null:l;this.coordinateList=null!=r?r:this.coordinateList,this.container=null!=o?o:this.container,this.layout=null!=a?a:this.layout,this.offset=null!=c?c:this.offset,this.mouseHandlerCallback=null!=s?s: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:"spoofMouse",value:function(){if("horizontal"===this.layout&&0!==this.coordinateList.length){var t=this.container.getBoundingClientRect(),e=t.x,r=t.y,n=t.height,o=e+this.coordinateList[this.activeIndex].coordinate,i=r+this.offset.top+n/2;this.mouseHandlerCallback({pageX:o,pageY:i})}}}])&&ky(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Cy(t,e,r){var n,o,i,a;if("horizontal"===t)i=n=e.x,o=r.top,a=r.top+r.height;
vendor: 2,264 bytes, line 2
2else 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 At(e);var u=e.cx,c=e.cy,l=e.innerRadius,s=e.outerRadius,f=e.angle,p=jt(u,c,l,f),h=jt(u,c,s,f);n=p.x,o=p.y,i=h.x,a=h.y}return[{x:n,y:o},{x:i,y:a}]}var Dy=["item"],Ny=["children","className","width","height","style","compact","title","desc"];function Iy(t){return Iy="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},Iy(t)}function Ry(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=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)||qy(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ly(){return Ly=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Ly.apply(this,arguments)}function By(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}function zy(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,Yy(n.key),n)}}function Uy(t,e){return Uy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Uy(t,e)}function Fy(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
2function $y(t){return $y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},$y(t)}function Wy(t){return function(t){if(Array.isArray(t))return Hy(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||qy(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qy(t,e){if(t){if("string"==typeof t)return Hy(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Hy(t,e):void 0}}function Hy(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Gy(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 Xy(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Gy(Object(r),!0).forEach((function(e){Vy(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Gy(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Vy(t,e,r){return(e=Yy(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Yy(t){var e=function(t,e){if("object"!==Iy(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Iy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Iy(e)?e:String(e)}var Ky={xAxis:["bottom","top"],yAxis:["left","right"]},Zy={x:0,y:0},Jy=Number.isFinite?Number.isFinite:isFinite,Qy=function(t,e,r){var n=e.graphicalItems,o=e.dataStartIndex,i=e.dataEndIndex,a=(n||[]).reduce((function(t,e){var r=e.props.data;return r&&r.length?[].concat(Wy(t),Wy(r)):t}),[]);return a&&a.length>0?a:r&&r.props&&r.props.data&&r.props.data.length>0?r.props.data:t&&t.length&&$(o)&&$(i)?t.slice(o,i+1):[]};function tv(t){return"number"===t?[0,"auto"]:void 0}var ev=function(t,e,r,n){var o=t.graphicalItems,i=t.tooltipAxis,a=Qy(e,t);return r<0||!o||!o.length||r>=a.length?null:o.reduce((function(o,u){var c;if(u.props.hide)return o;var l,s=(null!==(c=u.props.data)&&void 0!==c?c:e).slice(t.dataStartIndex,t.dataEndIndex+1);return(l=i.dataKey&&!i.allowDuplicatedCategory?Y(void 0===s?a:s,i.dataKey,n):s&&s[r]||a[r])?[].concat(Wy(o),[ol(u,l)]):o}),[])},rv=function(t,e,r,n){var o=n||{x:t.chartX,y:t.chartY},i=function(t,e){return"horizontal"===e?t.x:"vertical"===e?t.y:"centric"===e?t.angle:t.radius}(o,r),a=t.orderedTooltipTicks,u=t.tooltipAxis,c=t.tooltipTicks,l=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)&&void 0!==e?e:0;if(a<=1)return 0;if(o&&"angleAxis"===o.axisType&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)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(U(s-l)!==U(f-s)){var h=[];if(U(f-s)===U(u[1]-u[0])){p=f;var d=s+u[1]-u[0];h[0]=Math.min(d,(d+l)/2),h[1]=Math.max(d,(d+l)/2)}else{p=l;var y=f+u[1]-u[0];h[0]=Math.min(s,(y+s)/2),h[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>=h[0]&&t<=h[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}(i,a,c,u);if(l>=0&&c){var s=c[l]&&c[l].value,f=ev(t,e,l,s),p=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 Xy(Xy(Xy({},n),jt(n.cx,n.cy,a,i)),{},{angle:i,radius:a})}var u=o.coordinate,c=n.angle;return Xy(Xy(Xy({},n),jt(n.cx,n.cy,u,c)),{},{angle:c,radius:u})}return Zy}(r,a,l,o);return{activeTooltipIndex:l,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},nv=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=tu(l,o),p={};return f&&f.length?p=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=Wc(l,o),h=r.reduce((function(e,r){var h,d=r.props,y=d.type,v=d.dataKey,m=d.allowDataOverflow,b=d.allowDuplicatedCategory,g=d.scale,x=d.ticks,w=d.includeHidden,O=r.props[i];if(e[O])return e;var S,j,E,P=Qy(t.data,{graphicalItems:n.filter((function(t){return t.props[i]===O})),dataStartIndex:u,dataEndIndex:c}),A=P.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&&$(n)&&$(o))return!0}return!1})(r.props.domain,m,y)&&(S=el(r.props.domain,null,m),!p||"number"!==y&&"auto"===g||(E=zc(P,v,"category")));var k=tv(y);if(!S||0===S.length){var _,M=null!==(_=r.props.domain)&&void 0!==_?_:k;if(v){if(S=zc(P,v,y),"category"===y&&p){var T=function(t){if(!D()(t))return!1;for(var e=t.length,r={},n=0;n<e;n++){if(r[t[n]])return!0;r[t[n]]=!0}return!1}(S);b&&T?(j=S,S=yt()(0,A)):b||(S=nl(M,S,r).reduce((function(t,e){return t.indexOf(e)>=0?t:[].concat(Wy(t),[e])}),[]))}else if("category"===y)S=b?S.filter((function(t){return""!==t&&!ht()(t)})):nl(M,S,r).reduce((function(t,e){return t.indexOf(e)>=0||""===e||ht()(e)?t:[].concat(Wy(t),[e])}),[]);else if("number"===y){var C=function(t,e,r,n,o){var i=e.map((function(e){return Fc(t,e,r,o,n)})).filter((function(t){return!ht()(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}(P,n.filter((function(t){return t.props[i]===O&&(w||!t.props.hide)})),v,o,l);C&&(S=C)}!p||"number"!==y&&"auto"===g||(E=zc(P,v,"category"))}else S=p?yt()(0,A):a&&a[O]&&a[O].hasStack&&"number"===y?"expand"===f?[0,1]:Jc(a[O].stackGroups,u,c):$c(P,n.filter((function(t){return t.props[i]===O&&(w||!t.props.hide)})),y,l,!0);if("number"===y)S=Sy(s,S,O,o,x),M&&(S=el(M,S,m));else if("category"===y&&M){var N=M;S.every((function(t){return N.indexOf(t)>=0}))&&(S=N)}}return Xy(Xy({},e),{},Vy({},O,Xy(Xy({},r.props),{},{axisType:o,domain:S,categoricalDomain:E,duplicateDomain:j,originalDomain:null!==(h=r.props.domain)&&void 0!==h?h:k,isCategorical:p,layout:l})))}),{});return h}(t,{axes:f,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:u,dataEndIndex:c}):i&&i.length&&(p=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=Qy(t.data,{graphicalItems:r,dataStartIndex:u,dataEndIndex:c}),p=f.length,h=Wc(l,o),d=-1;return r.reduce((function(t,e){var y,v=e.props[i],m=tv("number");return t[v]?t:(d++,h?y=yt()(0,p):a&&a[v]&&a[v].hasStack?(y=Jc(a[v].stackGroups,u,c),y=Sy(s,y,v,o)):(y=el(m,$c(f,r.filter((function(t){return t.props[i]===v&&!t.props.hide})),"number",l),n.defaultProps.allowDataOverflow),y=Sy(s,y,v,o)),Xy(Xy({},t),{},Vy({},v,Xy(Xy({axisType:o},n.defaultProps),{},{hide:!0,orientation:T()(Ky,"".concat(o,".").concat(d%2),null),domain:y,originalDomain:m,isCategorical:h,layout:l}))))}),{})}(t,{Axis:o,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:u,dataEndIndex:c})),p},ov=function(t){var e,r,n=t.children,o=t.defaultShowTooltip,i=eu(n,Jd);return{chartX:0,chartY:0,dataStartIndex:i&&i.props&&i.props.startIndex||
20,dataEndIndex:void 0!==(null==i||null===(e=i.props)||void 0===e?void 0:e.endIndex)?null==i||null===(r=i.props)||void 0===r?void 0:r.endIndex:t.data&&t.data.length-1||0,activeTooltipIndex:-1,isTooltipActive:!ht()(o)&&o}},iv=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"}},av=["type","layout","connectNulls","ref"];function uv(t){return uv="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},uv(t)}function cv(){return cv=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},cv.apply(this,arguments)}function lv(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 sv(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?lv(Object(r),!0).forEach((function(e){mv(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lv(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function fv(t){return function(t){if(Array.isArray(t))return pv(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return pv(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pv(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pv(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function hv(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,bv(n.key),n)}}function dv(t,e){return dv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},dv(t,e)}function yv(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vv(t){return vv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},vv(t)}function mv(t,e,r){return(e=bv(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function bv(t){var e=function(t,e){if("object"!==uv(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==uv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===uv(e)?e:String(e)}var gv=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&dv(t,e)}(c,t);var e,r,o,i,a,u=(i=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=vv(i);if(a){var r=vv(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===uv(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return yv(t)}(this,t)});function c(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return mv(yv(t=u.call.apply(u,[this].concat(r))),"state",{isAnimationFinished:!0,totalLength:0}),mv(yv(t),"generateSimpleStrokeDasharray",(function(t,e){return"".concat(e,"px ").concat(t-e,"px")})),mv(yv(t),"getStrokeDasharray",(function(e,r,n){var o=n.reduce((function(t,e){return t+e}));if(!o)return t.generateSimpleStrokeDasharray(r,e);for(var i=Math.floor(e/o),a=e%o,u=r-e,l=[],s=0,f=0;s<n.length;f+=n[s],++s)if(f+n[s]>a){l=[].concat(fv(n.slice(0,s)),[a-f]);break}var p=l.length%2==0?[0,u]:[u];return[].concat(fv(c.repeat(n,i)),fv(l),p).map((function(t){return"".concat(t,"px")})).join(", ")})),mv(yv(t),"id",H("recharts-line-")),mv(yv(t),"pathRef",(function(e){t.mainCurve=e})),mv(yv(t),"handleAnimationEnd",(function(){t.setState({isAnimationFinished:!0}),t.props.onAnimationEnd&&t.props.onAnimationEnd()})),mv(yv(t),"handleAnimationStart",(function(){t.setState({isAnimationFinished:!1}),t.props.onAnimationStart&&t.props.onAnimationStart()})),t}return e=c,o=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,prevPoints:e.curPoints}:t.points!==e.curPoints?{curPoints:t.points}:null}},{key:"repeat",value:function(t,e){for(var r=t.length%2!=0?[].concat(fv(t),[0]):t,n=[],o=0;o<e;++o)n=[].concat(fv(n),fv(r));return n}},{key:"renderDotItem",value:function(t,e){var r;if(n().isValidElement(t))r=n().cloneElement(t,e);else if(lt()(t))r=t(e);else{var o=g()("recharts-line-dot",t?t.className:"");r=n().createElement(wd,cv({},e,{className:o}))}return r}}],(r=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var t=this.getTotalLength();this.setState({totalLength:t})}}},{key:"getTotalLength",value:function(){var t=this.mainCurve;try{return t&&t.getTotalLength&&t.getTotalLength()||0}catch(t){return 0}}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,o=r.points,i=r.xAxis,a=r.yAxis,u=r.layout,c=tu(r.children,du);if(!c)return null;var l=function(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:Bc(t.payload,e)}},s={clipPath:t?"url(#clipPath-".concat(e,")"):null};return n().createElement(su,s,c.map((function(t,e){return n().cloneElement(t,{key:"bar-".concat(e),data:o,xAxis:i,yAxis:a,layout:u,dataPointFormatter:l})})))}},{key:"renderDots",value:function(t,e,r){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var o=this.props,i=o.dot,a=o.points,u=o.dataKey,l=ou(this.props),s=ou(i,!0),f=a.map((function(t,e){var r=sv(sv(sv({key:"dot-".concat(e),r:3},l),s),{},{value:t.value,dataKey:u,cx:t.x,cy:t.y,index:e,payload:t.payload});return c.renderDotItem(i,r)})),p={clipPath:t?"url(#clipPath-".concat(e?"":"dots-").concat(r,")"):null};return n().createElement(su,cv({className:"recharts-line-dots",key:"dots"},p),f)}},{key:"renderCurveStatically",value:function(t,e,r,o){var i=this.props,a=i.type,u=i.layout,c=i.connectNulls,l=(i.ref,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}(i,av)),s=sv(sv(sv({},ou(l,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:e?"url(#clipPath-".concat(r,")"):null,points:t},o),{},{type:a,layout:u,connectNulls:c});return n().createElement(pd,cv({},s,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(t,e){var r=this,o=this.props,i=o.points,a=o.strokeDasharray,u=o.isAnimationActive,c=o.animationBegin,l=o.animationDuration,s=o.animationEasing,f=o.animationId,p=o.animateNewValues,h=o.width,d=o.height,y=this.state,v=y.prevPoints,m=y.totalLength;return n().createElement(Us,{begin:c,duration:l,isActive:u,easing:s,from:{t:0},to:{t:1},key:"line-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(n){var o=n.t;if(v){var u=v.length/i.length,c=i.map((function(t,e){var r=Math.floor(e*u);if(v[r]){var n=v[r],i=V(n.x,t.x),a=V(n.y,t.y);return sv(sv({},t),{},{x:i(o),y:a(o)})}if(p){var c=V(2*h,t.x),l=V(d/2,t.y);return sv(sv({},t),{},{x:c(o),y:l(o)})}return sv(sv({},t),{},{x:t.x,y:t.y})}));return r.renderCurveStatically(c,t,e)}var l,s=V(0,m)(o);if(a){var f="".concat(a).split(/[,\s]+/gim).map((function(t){return parseFloat(t)}));l=r.getStrokeDasharray(s,m,f)}else l=r.generateSimpleStrokeDasharray(m,s);return r.renderCurveStatically(i,t,e,{strokeDasharray:l})}))}},{key:"renderCurve",value:function(t,e){var r=this.props,n=r.points,o=r.isAnimationActive,i=this.state,a=i.prevPoints,u=i.totalLength;return o&&n&&n.length&&(!a&&u>0||!Wt()(a,n))?this.renderCurveWithAnimation(t,e):this.renderCurveStatically(n,t,e)}},{key:"render",value:function(){var t,e=this.props,r=e.hide,o=e.dot,i=e.points,a=e.className,u=e.xAxis,c=e.yAxis,l=e.top,s=e.left,f=e.width,p=e.height,h=e.isAnimationActive,d=e.id;if(r||!i||!i.length)return null;var y=this.state.isAnimationFinished,v=1===i.length,m=g()("recharts-line",a),b=u&&u.allowDataOverflow,x=c&&c.allowDataOverflow,w=b||x,O=ht()(d)?this.id:d,S=null!==(t=ou(o))&&void 0!==t?t:{r:3,strokeWidth:2},j=S.r,E=void 0===j?3:j,P=S.strokeWidth,A=void 0===P?2:P,k=(function(t){return t&&"object"===Va(t)&&"cx"in t&&"cy"in t&&"r"in t}(o)?o:{}).clipDot,_=void 0===k||k,M=2*E+A;return n().createElement(su,{className:m},b||x?n().createElement("defs",null,n().createElement("clipPath",{id:"clipPath-".concat(O)},n().createElement("rect",{x:b?s:s-f/2,y:x?l:l-p/2,width:b?f:2*f,height:x?p:2*p})),!_&&n().createElement("clipPath",{id:"clipPath-dots-".concat(O)},n().createElement("rect",{x:s-M/2,y:l-M/2,width:f+M,height:p+M}))):null,!v&&this.renderCurve(w,O),this.renderErrorBar(w,O),(v||o)&&this.renderDots(w,_,O),(!
2h||y)&&Ff.renderCallByParent(this.props,i))}}])&&hv(e.prototype,r),o&&hv(e,o),Object.defineProperty(e,"prototype",{writable:!1}),c}(e.PureComponent);mv(gv,"displayName","Line"),mv(gv,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!kt.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),mv(gv,"getComposedData",(function(t){var e=t.props,r=t.xAxis,n=t.yAxis,o=t.xAxisTicks,i=t.yAxisTicks,a=t.dataKey,u=t.bandSize,c=t.displayedData,l=t.offset,s=e.layout,f=c.map((function(t,e){var c=Bc(t,a);return"horizontal"===s?{x:Kc({axis:r,ticks:o,bandSize:u,entry:t,index:e}),y:ht()(c)?null:n.scale(c),value:c,payload:t}:{x:ht()(c)?null:r.scale(c),y:Kc({axis:n,ticks:i,bandSize:u,entry:t,index:e}),value:c,payload:t}}));return sv({points:f,layout:s},l)}));var xv=function(){return null};xv.displayName="XAxis",xv.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};var wv=function(){return null};wv.displayName="YAxis",wv.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};var Ov=function(t){var r,o=t.chartName,i=t.GraphicalChild,a=t.defaultTooltipEventType,u=void 0===a?"axis":a,c=t.validateTooltipEventTypes,l=void 0===c?["axis"]:c,s=t.axisComponents,f=t.legendContent,p=t.formatAxisMap,h=t.defaultProps,d=function(t,e){var r=t.props,n=t.dataStartIndex,a=t.dataEndIndex,u=t.updateId;if(!ru({props:r}))return null;var c=r.children,l=r.layout,f=r.stackOffset,h=r.data,d=r.reverseStackOrder,y=iv(l),v=y.numericAxisName,m=y.cateAxisName,b=tu(c,i),g=function(t,e,r,n,o,i){if(!t)return null;var a=(i?e.reverse():e).reduce((function(t,e){var o=e.props,i=o.stackId;if(o.hide)return t;var a=e.props[r],u=t[a]||{hasStack:!1,stackGroups:{}};if(W(i)){var c=u.stackGroups[i]||{numericAxisId:r,cateAxisId:n,items:[]};c.items.push(e),u.hasStack=!0,u.stackGroups[i]=c}else u.stackGroups[H("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return Nc(Nc({},t),{},Ic({},a,u))}),{});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 Nc(Nc({},e),{},Ic({},i,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:Yc(t,a.items,o)}))}),{})),Nc(Nc({},e),{},Ic({},i,u))}),{})}(h,b,"".concat(v,"Id"),"".concat(m,"Id"),f,d),x=s.reduce((function(t,e){var o="".concat(e.axisType,"Map");return Xy(Xy({},t),{},Vy({},o,nv(r,Xy(Xy({},e),{},{graphicalItems:b,stackGroups:e.axisType===v&&g,dataStartIndex:n,dataEndIndex:a}))))}),{}),w=function(t,e){var r=t.props,n=(t.graphicalItems,t.xAxisMap),o=void 0===n?{}:n,i=t.yAxisMap,a=void 0===i?{}:i,u=r.width,c=r.height,l=r.children,s=r.margin||{},f=eu(l,Jd),p=eu(l,Pc),h=Object.keys(a).reduce((function(t,e){var r=a[e],n=r.orientation;return r.mirror||r.hide?t:Xy(Xy({},t),{},Vy({},n,t[n]+r.width))}),{left:s.left||0,right:s.right||0}),d=Object.keys(o).reduce((function(t,e){var r=o[e],n=r.orientation;return r.mirror||r.hide?t:Xy(Xy({},t),{},Vy({},n,T()(t,"".concat(n))+r.height))}),{top:s.top||0,bottom:s.bottom||0}),y=Xy(Xy({},d),h),v=y.bottom;return f&&(y.bottom+=f.props.height||Jd.defaultProps.height),p&&e&&(y=function(t,e,r,n){var o=r.children,i=r.width,a=r.margin,u=i-(a.left||0)-(a.right||0),c=Tc({children:o,legendWidth:u});if(c){var l=n||{},s=l.width,f=l.height,p=c.align,h=c.verticalAlign,d=c.layout;if(("vertical"===d||"horizontal"===d&&"middle"===h)&&"center"!==p&&$(t[p]))return Nc(Nc({},t),{},Ic({},p,t[p]+(s||0)));if(("horizontal"===d||"vertical"===d&&"center"===p)&&"middle"!==h&&$(t[h]))return Nc(Nc({},t),{},Ic({},h,t[h]+(f||0)))}return t}(y,0,r,e)),Xy(Xy({brushBottom:v},y),{},{width:u-y.left-y.right,height:c-y.top-y.bottom})}(Xy(Xy({},x),{},{props:r,graphicalItems:b}),null==e?void 0:e.legendBBox);
2Object.keys(x).forEach((function(t){x[t]=p(r,x[t],w,t.replace("Map",""),o)}));var O,S,j=x["".concat(m,"Map")],E=(O=X(j),{tooltipTicks:S=Hc(O,!1,!0),orderedTooltipTicks:ft()(S,(function(t){return t.coordinate})),tooltipAxis:O,tooltipAxisBandSize:rl(O,S)}),P=function(t,e){var r=e.graphicalItems,n=e.stackGroups,o=e.offset,i=e.updateId,a=e.dataStartIndex,u=e.dataEndIndex,c=t.barSize,l=t.layout,f=t.barGap,p=t.barCategoryGap,h=t.maxBarSize,d=iv(l),y=d.numericAxisName,v=d.cateAxisName,m=function(t){return!(!t||!t.length)&&t.some((function(t){var e=Ka(t&&t.type);return e&&e.indexOf("Bar")>=0}))}(r),b=m&&function(t){var e=t.barSize,r=t.stackGroups,n=void 0===r?{}:r;if(!n)return{};for(var o={},i=Object.keys(n),a=0,u=i.length;a<u;a++)for(var c=n[i[a]].stackGroups,l=Object.keys(c),s=0,f=l.length;s<f;s++){var p=c[l[s]],h=p.items,d=p.cateAxisId,y=h.filter((function(t){return Ka(t.type).indexOf("Bar")>=0}));if(y&&y.length){var v=y[0].props.barSize,m=y[0].props[d];o[m]||(o[m]=[]),o[m].push({item:y[0],stackList:y.slice(1),barSize:ht()(v)?e:v})}}return o}({barSize:c,stackGroups:n}),g=[];return r.forEach((function(r,c){var d=Qy(t.data,{dataStartIndex:a,dataEndIndex:u},r),m=r.props,x=m.dataKey,w=m.maxBarSize,O=r.props["".concat(y,"Id")],S=r.props["".concat(v,"Id")],j=s.reduce((function(t,n){var o,i=e["".concat(n.axisType,"Map")],a=r.props["".concat(n.axisType,"Id")];i&&i[a]||"zAxis"===n.axisType||function(t,e){throw new Error("Invariant failed")}();var u=i[a];return Xy(Xy({},t),{},(Vy(o={},n.axisType,u),Vy(o,"".concat(n.axisType,"Ticks"),Hc(u)),o))}),{}),E=j[v],P=j["".concat(v,"Ticks")],A=n&&n[O]&&n[O].hasStack&&function(t,e){var r=t.props.stackId;if(W(r)){var n=e[r];if(n){var o=n.items.indexOf(t);return o>=0?n.stackedData[o]:null}}return null}(r,n[O].stackGroups),k=Ka(r.type).indexOf("Bar")>=0,_=rl(E,P),M=[];if(k){var T,C,D=ht()(w)?h:w,N=null!==(T=null!==(C=rl(E,P,!0))&&void 0!==C?C:D)&&void 0!==T?T:0;M=function(t){var e=t.barGap,r=t.barCategoryGap,n=t.bandSize,o=t.sizeList,i=void 0===o?[]:o,a=t.maxBarSize,u=i.length;if(u<1)return null;var c,l=G(e,n,0,!0),s=[];if(i[0].barSize===+i[0].barSize){var f=!1,p=n/u,h=i.reduce((function(t,e){return t+e.barSize||0}),0);(h+=(u-1)*l)>=n&&(h-=(u-1)*l,l=0),h>=n&&p>0&&(f=!0,h=u*(p*=.9));var d={offset:((n-h)/2>>0)-l,size:0};c=i.reduce((function(t,e){var r={item:e.item,position:{offset:d.offset+d.size+l,size:f?p:e.barSize}},n=[].concat(Rc(t),[r]);return d=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){n.push({item:t,position:d})})),n}),s)}else{var y=G(r,n,0,!0);n-2*y-(u-1)*l<=0&&(l=0);var v=(n-2*y-(u-1)*l)/u;v>1&&(v>>=0);var m=a===+a?Math.min(v,a):v;c=i.reduce((function(t,e,r){var n=[].concat(Rc(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 c}({barGap:f,barCategoryGap:p,bandSize:N!==_?N:_,sizeList:b[S],maxBarSize:D}),N!==_&&(M=M.map((function(t){return Xy(Xy({},t),{},{position:Xy(Xy({},t.position),{},{offset:t.position.offset-N/2})})})))}var I,R,L,B=r&&r.type&&r.type.getComposedData;B&&g.push({props:Xy(Xy({},B(Xy(Xy({},j),{},{displayedData:d,props:t,dataKey:x,item:r,bandSize:_,barPosition:M,offset:o,stackedData:A,layout:l,dataStartIndex:a,dataEndIndex:u}))),{},(I={key:r.key||"item-".concat(c)},Vy(I,y,j[y]),Vy(I,v,j[v]),Vy(I,"animationId",i),I)),childIndex:(R=r,L=t.children,Qa(L).indexOf(R)),item:r})})),g}(r,Xy(Xy({},x),{},{dataStartIndex:n,dataEndIndex:a,updateId:u,graphicalItems:b,stackGroups:g,offset:w}));return Xy(Xy({formattedGraphicalItems:P,graphicalItems:b,offset:w,stackGroups:g},E),x)};return r=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Uy(t,e)}(p,t);var r,i,a,c,s=(a=p,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=$y(a);if(c){var r=$y(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===Iy(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Fy(t)}(this,t)});function p(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,p),Vy(Fy(r=s.call(this,t)),"accessibilityManager",new Ty),Vy(Fy(r),"clearDefer",(function(){r.cancelDefer&&(r.cancelDefer(),r.cancelDefer=null)})),Vy(Fy(r),"handleLegendBBoxUpdate",(function(t){if(t){var e=r.state,n=e.dataStartIndex,o=e.dataEndIndex,i=e.updateId;r.setState(Xy({legendBBox:t},d({props:r.props,dataStartIndex:n,dataEndIndex:o,updateId:i},Xy(Xy({},r.state),{},{legendBBox:t}))))}})),Vy(Fy(r),"handleReceiveSyncEvent",(function(t,e,n){r.props.syncId===t&&e!==r.uniqueChartId&&(r.clearDefer(),r.cancelDefer=function(t){if("function"==typeof requestAnimationFrame){var e=requestAnimationFrame(t);return function(){return cancelAnimationFrame(e)}}if("function"==typeof setImmediate){var r=setImmediate(t);return function(){return clearImmediate(r)}}var n=setTimeout(t);return function(){return clearTimeout(n)}}(r.applySyncEvent.bind(Fy(r),n)))})),Vy(Fy(r),"handleBrushChange",(function(t){var e=t.startIndex,n=t.endIndex;if(e!==r.state.dataStartIndex||n!==r.state.dataEndIndex){var o=r.state.updateId;r.setState((function(){return Xy({dataStartIndex:e,dataEndIndex:n},d({props:r.props,dataStartIndex:e,dataEndIndex:n,updateId:o},r.state))})),r.triggerSyncEvent({dataStartIndex:e,dataEndIndex:n})}})),Vy(Fy(r),"handleMouseEnter",(function(t){var e=r.props.onMouseEnter,n=r.getMouseInfo(t);if(n){var o=Xy(Xy({},n),{},{isTooltipActive:!0});r.setState(o),r.triggerSyncEvent(o),lt()(e)&&e(o,t)}})),Vy(Fy(r),"triggeredAfterMouseMove",(function(t){var e=r.props.onMouseMove,n=r.getMouseInfo(t),o=n?Xy(Xy({},n),{},{isTooltipActive:!0}):{isTooltipActive:!1};r.setState(o),r.triggerSyncEvent(o),lt()(e)&&e(o,t)})),Vy(Fy(r),"handleItemMouseEnter",(function(t){r.setState((function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}}))})),Vy(Fy(r),"handleItemMouseLeave",(function(){r.setState((function(){return{isTooltipActive:!1}}))})),Vy(Fy(r),"handleMouseMove",(function(t){t&<()(t.persist)&&t.persist(),r.triggeredAfterMouseMove(t)})),Vy(Fy(r),"handleMouseLeave",(function(t){var e=r.props.onMouseLeave,n={isTooltipActive:!1};r.setState(n),r.triggerSyncEvent(n),lt()(e)&&e(n,t),r.cancelThrottledTriggerAfterMouseMove()}
2)),Vy(Fy(r),"handleOuterEvent",(function(t){var e=function(t){var e=t&&t.type;return e&&Ya[e]?Ya[e]:null}(t),n=T()(r.props,"".concat(e));e&<()(n)&&n(/.*touch.*/i.test(e)?r.getMouseInfo(t.changedTouches[0]):r.getMouseInfo(t),t)})),Vy(Fy(r),"handleClick",(function(t){var e=r.props.onClick,n=r.getMouseInfo(t);if(n){var o=Xy(Xy({},n),{},{isTooltipActive:!0});r.setState(o),r.triggerSyncEvent(o),lt()(e)&&e(o,t)}})),Vy(Fy(r),"handleMouseDown",(function(t){var e=r.props.onMouseDown;lt()(e)&&e(r.getMouseInfo(t),t)})),Vy(Fy(r),"handleMouseUp",(function(t){var e=r.props.onMouseUp;lt()(e)&&e(r.getMouseInfo(t),t)})),Vy(Fy(r),"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&r.handleMouseMove(t.changedTouches[0])})),Vy(Fy(r),"handleTouchStart",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&r.handleMouseDown(t.changedTouches[0])})),Vy(Fy(r),"handleTouchEnd",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&r.handleMouseUp(t.changedTouches[0])})),Vy(Fy(r),"verticalCoordinatesGenerator",(function(t,e){var r=t.xAxis,n=t.width,o=t.height,i=t.offset;return qc(dh(Xy(Xy(Xy({},Id.defaultProps),r),{},{ticks:Hc(r,!0),viewBox:{x:0,y:0,width:n,height:o}})),i.left,i.left+i.width,e)})),Vy(Fy(r),"horizontalCoordinatesGenerator",(function(t,e){var r=t.yAxis,n=t.width,o=t.height,i=t.offset;return qc(dh(Xy(Xy(Xy({},Id.defaultProps),r),{},{ticks:Hc(r,!0),viewBox:{x:0,y:0,width:n,height:o}})),i.top,i.top+i.height,e)})),Vy(Fy(r),"axesTicksGenerator",(function(t){return Hc(t,!0)})),Vy(Fy(r),"renderCursor",(function(t){var n=r.state,i=n.isTooltipActive,a=n.activeCoordinate,u=n.activePayload,c=n.offset,l=n.activeTooltipIndex,s=n.tooltipAxisBandSize,f=r.getTooltipEventType();if(!t||!t.props.cursor||!i||!a||"ScatterChart"!==o&&"axis"!==f)return null;var p,h=r.props.layout,d=pd;if("ScatterChart"===o)p=a,d=gd;else if("BarChart"===o)p=function(t,e,r,n){var o=n/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===t?e.x-o:r.left+.5,y:"horizontal"===t?r.top+.5:e.y-o,width:"horizontal"===t?n:r.width-1,height:"horizontal"===t?r.height-1:n}}(h,a,c,s),d=Qf;else if("radial"===h){var y=At(a),v=y.cx,m=y.cy,b=y.radius;p={cx:v,cy:m,startAngle:y.startAngle,endAngle:y.endAngle,innerRadius:b,outerRadius:b},d=mp}else p={points:Cy(h,a,c)},d=pd;var g=t.key||"_recharts-cursor",x=Xy(Xy(Xy(Xy({stroke:"#ccc",pointerEvents:"none"},c),p),ou(t.props.cursor)),{},{payload:u,payloadIndex:l,key:g,className:"recharts-tooltip-cursor"});return(0,e.isValidElement)(t.props.cursor)?(0,e.cloneElement)(t.props.cursor,x):(0,e.createElement)(d,x)})),Vy(Fy(r),"renderPolarAxis",(function(t,n,o){var i=T()(t,"type.axisType"),a=T()(r.state,"".concat(i,"Map")),u=a&&a[t.props["".concat(i,"Id")]];return(0,e.cloneElement)(t,Xy(Xy({},u),{},{className:i,key:t.key||"".concat(n,"-").concat(o),ticks:Hc(u,!0)}))})),Vy(Fy(r),"renderXAxis",(function(t,e,n){var o=r.state.xAxisMap[t.props.xAxisId];return r.renderAxis(o,t,e,n)})),Vy(Fy(r),"renderYAxis",(function(t,e,n){var o=r.state.yAxisMap[t.props.yAxisId];return r.renderAxis(o,t,e,n)})),Vy(Fy(r),"renderGrid",(function(t){var n=r.state,o=n.xAxisMap,i=n.yAxisMap,a=n.offset,u=r.props,c=u.width,l=u.height,s=X(o),f=ut()(i,(function(t){return it()(t.domain,Jy)}))||X(i),p=t.props||{};return(0,e.cloneElement)(t,{key:t.key||"grid",x:$(p.x)?p.x:a.left,y:$(p.y)?p.y:a.top,width:$(p.width)?p.width:a.width,height:$(p.height)?p.height:a.height,xAxis:s,yAxis:f,offset:a,chartWidth:c,chartHeight:l,verticalCoordinatesGenerator:p.verticalCoordinatesGenerator||r.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:p.horizontalCoordinatesGenerator||r.horizontalCoordinatesGenerator})})),Vy(Fy(r),"renderPolarGrid",(function(t){var n=t.props,o=n.radialLines,i=n.polarAngles,a=n.polarRadius,u=r.state,c=u.radiusAxisMap,l=u.angleAxisMap,s=X(c),f=X(l),p=f.cx,h=f.cy,d=f.innerRadius,y=f.outerRadius;return(0,e.cloneElement)(t,{polarAngles:D()(i)?i:Hc(f,!0).map((function(t){return t.coordinate})),polarRadius:D()(a)?a:Hc(s,!0).map((function(t){return t.coordinate})),cx:p,cy:h,innerRadius:d,outerRadius:y,key:t.key||"polar-grid",radialLines:o})})),Vy(Fy(r),"renderLegend",(function(){var t=r.state.formattedGraphicalItems,n=r.props,o=n.children,i=n.width,a=n.height,u=r.props.margin||{},c=i-(u.left||0)-(u.right||0),l=Tc({children:o,formattedGraphicalItems:t,legendWidth:c,legendContent:f});if(!l)return null;var s=l.item,p=By(l,Dy);return(0,e.cloneElement)(s,Xy(Xy({},p),{}
2,{chartWidth:i,chartHeight:a,margin:u,onBBoxUpdate:r.handleLegendBBoxUpdate}))})),Vy(Fy(r),"renderTooltip",(function(){var t=eu(r.props.children,Dh);if(!t)return null;var n=r.state,o=n.isTooltipActive,i=n.activeCoordinate,a=n.activePayload,u=n.activeLabel,c=n.offset;return(0,e.cloneElement)(t,{viewBox:Xy(Xy({},c),{},{x:c.left,y:c.top}),active:o,label:u,payload:o?a:[],coordinate:i})})),Vy(Fy(r),"renderBrush",(function(t){var n=r.props,o=n.margin,i=n.data,a=r.state,u=a.offset,c=a.dataStartIndex,l=a.dataEndIndex,s=a.updateId;return(0,e.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:Gc(r.handleBrushChange,null,t.props.onChange),data:i,x:$(t.props.x)?t.props.x:u.left,y:$(t.props.y)?t.props.y:u.top+u.height+u.brushBottom-(o.bottom||0),width:$(t.props.width)?t.props.width:u.width,startIndex:c,endIndex:l,updateId:"brush-".concat(s)})})),Vy(Fy(r),"renderReferenceElement",(function(t,n,o){if(!t)return null;var i=Fy(r).clipPathId,a=r.state,u=a.xAxisMap,c=a.yAxisMap,l=a.offset,s=t.props,f=s.xAxisId,p=s.yAxisId;return(0,e.cloneElement)(t,{key:t.key||"".concat(n,"-").concat(o),xAxis:u[f],yAxis:c[p],viewBox:{x:l.left,y:l.top,width:l.width,height:l.height},clipPathId:i})})),Vy(Fy(r),"renderActivePoints",(function(t){var e=t.item,r=t.activePoint,n=t.basePoint,o=t.childIndex,i=t.isRange,a=[],u=e.props.key,c=e.item.props,l=c.activeDot,s=Xy(Xy({index:o,dataKey:c.dataKey,cx:r.x,cy:r.y,r:4,fill:Uc(e.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value,key:"".concat(u,"-activePoint-").concat(o)},ou(l)),Wa(l));return a.push(p.renderActiveDot(l,s)),n?a.push(p.renderActiveDot(l,Xy(Xy({},s),{},{cx:n.x,cy:n.y,key:"".concat(u,"-basePoint-").concat(o)}))):i&&a.push(null),a})),Vy(Fy(r),"renderGraphicChild",(function(t,n,o){var i=r.filterFormatItem(t,n,o);if(!i)return null;var a=r.getTooltipEventType(),u=r.state,c=u.isTooltipActive,l=u.tooltipAxis,s=u.activeTooltipIndex,f=u.activeLabel,p=eu(r.props.children,Dh),h=i.props,d=h.points,y=h.isRange,v=h.baseLine,m=i.item.props,b=m.activeDot,g=m.hide,x=m.activeBar,w=m.activeShape,O=Boolean(!g&&c&&p&&(b||x||w)),S={};"axis"!==a&&p&&"click"===p.props.trigger?S={onClick:Gc(r.handleItemMouseEnter,null,t.props.onCLick)}:"axis"!==a&&(S={onMouseLeave:Gc(r.handleItemMouseLeave,null,t.props.onMouseLeave),onMouseEnter:Gc(r.handleItemMouseEnter,null,t.props.onMouseEnter)});var j=(0,e.cloneElement)(t,Xy(Xy({},i.props),S));if(O){if(!(s>=0)){var E,P=(null!==(E=r.getItemByXY(r.state.activeCoordinate))&&void 0!==E?E:{graphicalItem:j}).graphicalItem,A=P.item,k=void 0===A?t:A,_=P.childIndex,M=Xy(Xy(Xy({},i.props),S),{},{activeIndex:_});return[(0,e.cloneElement)(k,M),null,null]}var T,C;if(l.dataKey&&!l.allowDuplicatedCategory){var D="function"==typeof l.dataKey?function(t){return"function"==typeof l.dataKey?l.dataKey(t.payload):null}:"payload.".concat(l.dataKey.toString());T=Y(d,D,f),C=y&&v&&Y(v,D,f)}else T=null==d?void 0:d[s],C=y&&v&&v[s];if(w||x){var N=void 0!==t.props.activeIndex?t.props.activeIndex:s;return[(0,e.cloneElement)(t,Xy(Xy(Xy({},i.props),S),{},{activeIndex:N})),null,null]}if(!ht()(T))return[j].concat(Wy(r.renderActivePoints({item:i,activePoint:T,basePoint:C,childIndex:s,isRange:y})))}return y?[j,null,null]:[j,null]})),Vy(Fy(r),"renderCustomized",(function(t,n,o){return(0,e.cloneElement)(t,Xy(Xy({key:"recharts-customized-".concat(o)},r.props),r.state))})),r.uniqueChartId=ht()(t.id)?H("recharts"):t.id,r.clipPathId="".concat(r.uniqueChartId,"-clip"),t.throttleDelay&&(r.triggeredAfterMouseMove=j()(r.triggeredAfterMouseMove,t.throttleDelay)),r.state={},r}return r=p,i=[{key:"componentDidMount",value:function(){var t,e;ht()(this.props.syncId)||this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(t=this.props.margin.left)&&void 0!==t?t:0,top:null!==(e=this.props.margin.top)&&void 0!==e?e:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.handleMouseMove,layout:this.props.layout})}},{key:"getSnapshotBeforeUpdate",value:function(t,e){return this.props.accessibilityLayer?(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&&this.accessibilityManager.setDetails({offset:{left:null!==(r=this.props.margin.left)&&void 0!==r?r:0,top:null!==(n=this.props.margin.top)&&void 0!==n?n:0}}),null):null;var r,n}},{key:"componentDidUpdate",value:function(t){ht()(t.syncId)&&!ht()(this.props.syncId)&&this.addListener(),!ht()(t.syncId)&&ht()(this.props.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){this.clearDefer(),ht()(this.props.syncId)||this.removeListener(),this.cancelThrottledTriggerAfterMouseMove()}},{key:"cancelThrottledTriggerAfterMouseMove",value:function(){"function"==typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=eu(this.props.children,Dh);if(t&&mt()(t.props.shared)){var e=t.props.shared?"axis":"item";return l.indexOf(e)>=0?e:u}return u}},{key:"getMouseInfo",value:function(t){var e;if(!this.container)return null;var r,n,o,i=function(t,e){return{chartX:Math.round(t.pageX-e.left),chartY:Math.round(t.pageY-e.top)}}(t,(n=(r=this.container).ownerDocument.documentElement,o={top:0,left:0},void 0!==r.getBoundingClientRect&&(o=r.getBoundingClientRect()),{top:o.top+window.pageYOffset-n.clientTop,left:o.left+window.pageXOffset-n.clientLeft})),a=this.container,u=(null==a||null===(e=a.getBoundingClientRect())||void 0===e?void 0:e.width)/a.offsetWidth||1,c=this.inRange(i.chartX,i.chartY,u);if(!c)return null;var l=this.state,s=l.xAxisMap,f=l.yAxisMap;if("axis"!==this.getTooltipEventType()&&s&&f){var p=X(s).scale,h=X(f).scale,d=p&&p.invert?p.invert(i.chartX):null,y=h&&h.invert?h.invert(i.chartY):null;return Xy(Xy({},i),{},{xValue:d,yValue:y})}var v=rv(this.state,this.props.data,this.props.layout,c);return v?Xy(Xy({},i),v):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}
2var u=this.state,c=u.angleAxisMap,l=u.radiusAxisMap;if(c&&l){var s=X(c);return Pt({x:o,y:i},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=eu(t,Dh),n={};return r&&"axis"===e&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),Xy(Xy({},Wa(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){Ey.on(Py,this.handleReceiveSyncEvent),Ey.setMaxListeners&&Ey._maxListeners&&Ey.setMaxListeners(Ey._maxListeners+1)}},{key:"removeListener",value:function(){Ey.removeListener(Py,this.handleReceiveSyncEvent),Ey.setMaxListeners&&Ey._maxListeners&&Ey.setMaxListeners(Ey._maxListeners-1)}},{key:"triggerSyncEvent",value:function(t){var e=this.props.syncId;ht()(e)||Ey.emit(Py,e,this.uniqueChartId,t)}},{key:"applySyncEvent",value:function(t){var e=this.props,r=e.layout,n=e.syncMethod,o=this.state.updateId,i=t.dataStartIndex,a=t.dataEndIndex;if(ht()(t.dataStartIndex)&&ht()(t.dataEndIndex))if(ht()(t.activeTooltipIndex))this.setState(t);else{var u=t.chartX,c=t.chartY,l=t.activeTooltipIndex,s=this.state,f=s.offset,p=s.tooltipTicks;if(!f)return;if("function"==typeof n)l=n(p,t);else if("value"===n){l=-1;for(var h=0;h<p.length;h++)if(p[h].value===t.activeLabel){l=h;break}}var y=Xy(Xy({},f),{},{x:f.left,y:f.top}),v=Math.min(u,y.x+y.width),m=Math.min(c,y.y+y.height),b=p[l]&&p[l].value,g=ev(this.state,this.props.data,l),x=p[l]?{x:"horizontal"===r?p[l].coordinate:v,y:"horizontal"===r?m:p[l].coordinate}:Zy;this.setState(Xy(Xy({},t),{},{activeLabel:b,activeCoordinate:x,activePayload:g,activeTooltipIndex:l}))}else this.setState(Xy({dataStartIndex:i,dataEndIndex:a},d({props:this.props,dataStartIndex:i,dataEndIndex:a,updateId:o},this.state)))}},{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===Ka(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderAxis",value:function(t,e,r,o){var i=this.props,a=i.width,u=i.height;return n().createElement(Id,Ly({},t,{className:g()("recharts-".concat(t.axisType," ").concat(t.axisType),t.className),key:e.key||"".concat(r,"-").concat(o),viewBox:{x:0,y:0,width:a,height:u},ticksGenerator:this.axesTicksGenerator}))}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,r=e.left,o=e.top,i=e.height,a=e.width;return n().createElement("defs",null,n().createElement("clipPath",{id:t},n().createElement("rect",{x:r,y:o,height:i,width:a})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce((function(t,e){var r=Ry(e,2),n=r[0],o=r[1];return Xy(Xy({},t),{},Vy({},n,o.scale))}),{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce((function(t,e){var r=Ry(e,2),n=r[0],o=r[1];return Xy(Xy({},t),{},Vy({},n,o.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(t){var e;return null===(e=this.state.xAxisMap)||void 0===e||null===(e=e[t])||void 0===e?void 0:e.scale}},{key:"getYScaleByAxisId",value:function(t){var e;return null===(e=this.state.yAxisMap)||void 0===e||null===(e=e[t])||void 0===e?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=Ka(c.type);if("Bar"===l){var s=(u.data||[]).find((function(e){return Zf(t,e)}));if(s)return{graphicalItem:a,payload:s}}else if("RadialBar"===l){var f=(u.data||[]).find((function(e){return Pt(t,e)}));if(f)return{graphicalItem:a,payload:f}}else if(Pp(a)||Ap(a)||kp(a)){var p=Cp({graphicalItem:a,activeTooltipItem:n,itemData:c.props.data}),h=void 0===c.props.activeIndex?p:c.props.activeIndex;return{graphicalItem:Xy(Xy({},a),{},{childIndex:h}),payload:kp(a)?c.props.data[p]:a.props.data[p]}}}return null}},{key:"render",value:function(){var t=this;if(!ru(this))return null;var e=this.props,r=e.children,o=e.className,i=e.width,a=e.height,u=e.style,c=e.compact,l=e.title,s=e.desc,f=By(e,Ny),p=ou(f),h={CartesianGrid:{handler:this.renderGrid,once:!0},ReferenceArea:{handler:this.renderReferenceElement},ReferenceLine:{handler:this.renderReferenceElement},ReferenceDot:{handler:this.renderReferenceElement},XAxis:{handler:this.renderXAxis},YAxis:{handler:this.renderYAxis},Brush:{handler:this.renderBrush,once:!0},Bar:{handler:this.renderGraphicChild},Line:{handler:this.renderGraphicChild},Area:{handler:this.renderGraphicChild},Radar:{handler:this.renderGraphicChild},RadialBar:{handler:this.renderGraphicChild},Scatter:{handler:this.renderGraphicChild},Pie:{handler:this.renderGraphicChild},Funnel:{handler:this.renderGraphicChild},Tooltip:{handler:this.renderCursor,once:!0},PolarGrid:{handler:this.renderPolarGrid,once:!0},PolarAngleAxis:{handler:this.renderPolarAxis},PolarRadiusAxis:{handler:this.renderPolarAxis},Customized:{handler:this.renderCustomized}};if(c)return n().createElement(gu,Ly({},p,{width:i,height:a,title:l,desc:s}),this.renderClipPath(),uu(r,h));this.props.accessibilityLayer&&(p.tabIndex=0,p.role="img",p.onKeyDown=function(e){t.accessibilityManager.keyboardEvent(e)},p.onFocus=function(){t.accessibilityManager.focus()});var d=this.parseEventsOfWrapper();return n().createElement("div",Ly({className:g()("recharts-wrapper",o),style:Xy({position:"relative",curs
2or:"default",width:i,height:a},u)},d,{ref:function(e){t.container=e},role:"region"}),n().createElement(gu,Ly({},p,{width:i,height:a,title:l,desc:s}),this.renderClipPath(),uu(r,h)),this.renderLegend(),this.renderTooltip())}}],i&&zy(r.prototype,i),Object.defineProperty(r,"prototype",{writable:!1}),p}(e.Component),Vy(r,"displayName",o),Vy(r,"defaultProps",Xy({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},h)),Vy(r,"getDerivedStateFromProps",(function(t,e){var r=t.data,n=t.children,o=t.width,i=t.height,a=t.layout,u=t.stackOffset,c=t.margin;if(ht()(e.updateId)){var l=ov(t);return Xy(Xy(Xy({},l),{},{updateId:0},d(Xy(Xy({props:t},l),{},{updateId:0}),e)),{},{prevData:r,prevWidth:o,prevHeight:i,prevLayout:a,prevStackOffset:u,prevMargin:c,prevChildren:n})}if(r!==e.prevData||o!==e.prevWidth||i!==e.prevHeight||a!==e.prevLayout||u!==e.prevStackOffset||!La(c,e.prevMargin)){var s=ov(t),f={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},p=Xy(Xy({},rv(e,r,a)),{},{updateId:e.updateId+1}),h=Xy(Xy(Xy({},s),f),p);return Xy(Xy(Xy({},h),d(Xy({props:t},h),e)),{},{prevData:r,prevWidth:o,prevHeight:i,prevLayout:a,prevStackOffset:u,prevMargin:c,prevChildren:n})}if(!iu(n,e.prevChildren)){var y=ht()(r)?e.updateId+1:e.updateId;return Xy(Xy({updateId:y},d(Xy(Xy({props:t},e),{},{updateId:y}),e)),{},{prevChildren:n})}return null})),Vy(r,"renderActiveDot",(function(t,r){var o;return o=(0,e.isValidElement)(t)?(0,e.cloneElement)(t,r):lt()(t)?t(r):n().createElement(wd,r),n().createElement(su,{className:"recharts-active-dot",key:r.key},o)})),r}({chartName:"LineChart",GraphicalChild:gv,axisComponents:[{axisType:"xAxis",AxisComp:xv},{axisType:"yAxis",AxisComp:wv}],formatAxisMap:function(e,r,n,o,i){var a=e.width,u=e.height,c=e.layout,l=e.children,s=Object.keys(r),f={left:n.left,leftMirror:n.left,right:a-n.right,rightMirror:a-n.right,top:n.top,topMirror:n.top,bottom:u-n.bottom,bottomMirror:u-n.bottom},p=!!eu(l,Jp);return s.reduce((function(a,u){var l,s,h,d,y,v=r[u],m=v.orientation,b=v.domain,g=v.padding,x=void 0===g?{}:g,w=v.mirror,O=v.reversed,S="".concat(m).concat(w?"Mirror":"");if("number"===v.type&&("gap"===v.padding||"no-gap"===v.padding)){var j=b[1]-b[0],E=1/0,P=v.categoricalDomain.sort();P.forEach((function(t,e){e>0&&(E=Math.min((t||0)-(P[e-1]||0),E))}));var A=E/j,k="vertical"===v.layout?n.height:n.width;if("gap"===v.padding&&(l=A*k/2),"no-gap"===v.padding){var _=G(e.barCategoryGap,A*k),M=A*k/2;l=M-_-(M-_)/k*_}}s="xAxis"===o?[n.left+(x.left||0)+(l||0),n.left+n.width-(x.right||0)-(l||0)]:"yAxis"===o?"horizontal"===c?[n.top+n.height-(x.bottom||0),n.top+(x.top||0)]:[n.top+(x.top||0)+(l||0),n.top+n.height-(x.bottom||0)-(l||0)]:v.range,O&&(s=[s[1],s[0]]);var T=function(e,r,n){var o=e.scale,i=e.type,a=e.layout,u=e.axisType;if("auto"===o)return"radial"===a&&"radiusAxis"===u?{scale:ie(),realScaleType:"band"}:"radial"===a&&"angleAxis"===u?{scale:Wr(),realScaleType:"linear"}:"category"===i&&r&&(r.indexOf("LineChart")>=0||r.indexOf("AreaChart")>
2=0||r.indexOf("ComposedChart")>=0&&!n)?{scale:ue(),realScaleType:"point"}:"category"===i?{scale:ie(),realScaleType:"band"}:{scale:Wr(),realScaleType:"linear"};if(z()(o)){var c="scale".concat(Ht()(o));return{scale:(t[c]||ue)(),realScaleType:t[c]?c:"point"}}return lt()(o)?{scale:o}:{scale:ue(),realScaleType:"point"}}(v,i,p),C=T.scale,D=T.realScaleType;C.domain(b).range(s),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])-Xc,i=Math.max(n[0],n[1])+Xc,a=t(e[0]),u=t(e[r-1]);(a<o||a>i||u<o||u>i)&&t.domain([e[0],e[r-1]])}}(C);var N=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=Ca(c,o,a);return t.domain([Yt()(l),Xt()(l)]),{niceTicks:l}}if(o&&"number"===n){var s=t.domain();return{niceTicks:Da(s,o,a)}}return null}(C,rh(rh({},v),{},{realScaleType:D}));"xAxis"===o?(y="top"===m&&!w||"bottom"===m&&w,h=n.left,d=f[S]-y*v.height):"yAxis"===o&&(y="left"===m&&!w||"right"===m&&w,h=f[S]-y*v.width,d=n.top);var I=rh(rh(rh({},v),N),{},{realScaleType:D,x:h,y:d,scale:C,width:"xAxis"===o?n.width:v.width,height:"yAxis"===o?n.height:v.height});return I.bandSize=rl(I,N),v.hide||"xAxis"!==o?v.hide||(f[S]+=(y?-1:1)*I.width):f[S]+=(y?-1:1)*I.height,rh(rh({},a),{},nh({},u,I))}),{})}}),Sv=["x1","y1","x2","y2","key"],jv=["offset"];function Ev(t){return Ev="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},Ev(t)}function Pv(){return Pv=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Pv.apply(this,arguments)}function Av(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}function kv(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?kv(Object(r),!0).forEach((function(e){Dv(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kv(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Mv(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,Nv(n.key),n)}}function Tv(t,e){return Tv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Tv(t,e)}function Cv(t){return Cv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Cv(t)}function Dv(t,e,r){return(e=Nv(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Nv(t){var e=function(t,e){if("object"!==Ev(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Ev(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Ev(e)?e:String(e)}var Iv=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Tv(t,e)}(c,t);var e,r,o,i,a,u=(i=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Cv(i);if(a){var r=Cv(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===Ev(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,t)});function c(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),u.apply(this,arguments)}return e=c,r=[{key:"renderHorizontal",value:function(t){var e=this,r=this.props,o=r.x,i=r.width,a=r.horizontal;if(!t||!t.length)return null;var u=t.map((function(t,r){var n=_v(_v({},e.props),{},{x1:o,y1:t,x2:o+i,y2:t,key:"line-".concat(r),index:r});return c.renderLineItem(a,n)}));return n().createElement("g",{className:"recharts-cartesian-grid-horizontal"},u)}},{key:"renderVertical",value:function(t){var e=this,r=this.props,o=r.y,i=r.height,a=r.vertical;if(!t||!t.length)return null;var u=t.map((function(t,r){var n=_v(_v({},e.props),{},{x1:t,y1:o,x2:t,y2:o+i,key:"line-".concat(r),index:r});return c.renderLineItem(a,n)}));return n().createElement("g",{className:"recharts-cartesian-grid-vertical"},u)}},{key:"renderVerticalStripes",value:function(t){var e=this.props.verticalFill;if(!e||!e.length)return null;var r=this.props,o=r.fillOpacity,i=r.x,a=r.y,u=r.width,c=r.height,l=t.map((function(t){return Math.round(t+i-i)})).sort((function(t,e){return t-e}));i!==l[0]&&l.unshift(0);var s=l.map((function(t,r){var s=l[r+1]?l[r+1]-t:i+u-t;if(s<=0)return null;var f=r%e.length;return n().createElement("rect",{key:"react-".concat(r),x:t,y:a,width:s,height:c,stroke:"none",fill:e[f],fillOpacity:o,className:"recharts-cartesian-grid-bg"})}));return n().createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},s)}},{key:"renderHorizontalStripes",value:function(t){var e=this.props.horizontalFill;if(!e||!e.length)return null;var r=this.props,o=r.fillOpacity,i=r.x,a=r.y,u=r.width,c=r.height,l=t.map((function(t){return Math.round(t+a-a)})).sort((function(t,e){return t-e}));a!==l[0]&&l.unshift(0);var s=l.map((function(t,r){var s=l[r+1]?l[r+1]-t:a+c-t;if(s<=0)return null;var f=r%e.length;return n().createElement("rect",{key:"react-".concat(r),y:t,x:i,height:s,width:u,stroke:"none",fill:e[f],fillOpacity:o,className:"recharts-cartesian-grid-bg"})}));return n().createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},s)}}
2,{key:"renderBackground",value:function(){var t=this.props.fill;if(!t||"none"===t)return null;var e=this.props,r=e.fillOpacity,o=e.x,i=e.y,a=e.width,u=e.height;return n().createElement("rect",{x:o,y:i,width:a,height:u,stroke:"none",fill:t,fillOpacity:r,className:"recharts-cartesian-grid-bg"})}},{key:"render",value:function(){var t=this.props,e=t.x,r=t.y,o=t.width,i=t.height,a=t.horizontal,u=t.vertical,c=t.horizontalCoordinatesGenerator,l=t.verticalCoordinatesGenerator,s=t.xAxis,f=t.yAxis,p=t.offset,h=t.chartWidth,d=t.chartHeight,y=t.syncWithTicks,v=t.horizontalValues,m=t.verticalValues;if(!$(o)||o<=0||!$(i)||i<=0||!$(e)||e!==+e||!$(r)||r!==+r)return null;var b=this.props,g=b.horizontalPoints,x=b.verticalPoints;if((!g||!g.length)&<()(c)){var w=v&&v.length;g=c({yAxis:f?_v(_v({},f),{},{ticks:w?v:f.ticks}):void 0,width:h,height:d,offset:p},!!w||y)}if((!x||!x.length)&<()(l)){var O=m&&m.length;x=l({xAxis:s?_v(_v({},s),{},{ticks:O?m:s.ticks}):void 0,width:h,height:d,offset:p},!!O||y)}return n().createElement("g",{className:"recharts-cartesian-grid"},this.renderBackground(),a&&this.renderHorizontal(g),u&&this.renderVertical(x),a&&this.renderHorizontalStripes(g),u&&this.renderVerticalStripes(x))}}],o=[{key:"renderLineItem",value:function(t,e){var r;if(n().isValidElement(t))r=n().cloneElement(t,e);else if(lt()(t))r=t(e);else{var o=e.x1,i=e.y1,a=e.x2,u=e.y2,c=e.key,l=Av(e,Sv),s=ou(l),f=(s.offset,Av(s,jv));r=n().createElement("line",Pv({},f,{x1:o,y1:i,x2:a,y2:u,fill:"none",key:c}))}return r}}],r&&Mv(e.prototype,r),o&&Mv(e,o),Object.defineProperty(e,"prototype",{writable:!1}),c}(e.PureComponent);function Rv(t){return Rv="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},Rv(t)}function Lv(){Lv=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),u=new M(n||[]);return o(a,"_invoke",{value:P(t,r,u)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",h="suspendedYield",d="executing",y="completed",v={};function m(){}function b(){}function g(){}var x={};l(x,a,(function(){return this}));var w=Object.getPrototypeOf,O=w&&w(w(T([])));O&&O!==r&&n.call(O,a)&&(x=O);var S=g.prototype=m.prototype=Object.create(x);function j(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var l=c.arg,s=l.value;return s&&"object"==Rv(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function P(e,r,n){var o=p;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=A(u,n);if(c){if(c===v)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?y:h,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=y,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,e.iterator,r.arg);
vendor: 5,144 bytes, line 2
2if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(Rv(e)+" is not iterable")}return b.prototype=g,o(S,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:b,configurable:!0}),b.displayName=l(g,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,l(t,c,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},j(E.prototype),l(E.prototype,u,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(s(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},j(S),l(S,c,"Generator"),l(S,a,(function(){return this})),l(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=T,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(_),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return u.type="throw",u.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function Bv(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function zv(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function Uv(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,(void 0,o=function(t,e){if("object"!==Rv(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Rv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===Rv(o)?o:String(o)),n)}var o}function Fv(t,e){return Fv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Fv(t,e)}function $v(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wv(t){return Wv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Wv(t)}
2Dv(Iv,"displayName","CartesianGrid"),Dv(Iv,"defaultProps",{horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]});var qv=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Fv(t,e)}(l,t);var e,r,o,i,a,u,c=(a=l,u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Wv(a);if(u){var r=Wv(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===Rv(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return $v(t)}(this,t)});function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=c.call(this,t)).state={pingData:[],pingsDone:!1},e.doPings=e.doPings.bind($v(e)),e}return e=l,r=[{key:"componentDidMount",value:function(){this.doPings()}},{key:"doPings",value:(o=Lv().mark((function t(){var e,r,n,o,i,a=this;return Lv().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=this.props,r=e.pingCount,n=e.pingUrl,t.next=3,new Promise((function(t){return setTimeout(t,1e3)}));case 3:o=Lv().mark((function t(e){var r,o;return Lv().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r="perfPingStart"+e,o="perfPingEnd"+e,performance.mark(r),fetch(n,{method:"head",cache:"no-cache"}).then((function(){performance.mark(o);var t,n=performance.measure("perfPingMeasure"+e,r,o);a.setState({pingData:[].concat((t=a.state.pingData,function(t){if(Array.isArray(t))return Bv(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Bv(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Bv(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),[{name:e.toString(),ping:n.duration}])})})).catch((function(t){console.log("Ping error: "+t)})),t.next=6,new Promise((function(t){return setTimeout(t,1e3)}));case 6:case"end":return t.stop()}}),t)})),i=0;case 5:if(!(i<r)){t.next=10;break}return t.delegateYield(o(i),"t0",7);case 7:i++,t.next=5;break;case 10:this.setState({pingsDone:!0});case 11:case"end":return t.stop()}}),t,this)})),i=function(){var t=this,e=arguments;return new Promise((function(r,n){var i=o.apply(t,e);function a(t){zv(i,r,n,a,u,"next",t)}function u(t){zv(i,r,n,a,u,"throw",t)}a(void 0)}))},function(){return i.apply(this,arguments)})},{key:"asc",value:function(t){return t.sort((function(t,e){return t-e})),t}},{key:"summ",value:function(t){return t.reduce((function(t,e){return t+e}),0)}},{key:"mean",value:function(t){return this.summ(t)/t.length}},{key:"quantile",value:function(t,e){var r=this.asc(t),n=(r.length-1)*e,o=Math.floor(n),i=n-o;return void 0!==r[o+1]?r[o]+i*(r[o+1]-r[o]):r[o]}},{key:"render",value:function(){var t=this.state,e=t.pingData,r=t.pingsDone,o=this.props.lineStrokeWidth,i=e.reduce((function(t,e){return e.ping+t}),0)/e.length,a=i=Math.round(100*i)/100,u=e.map((function(t){return t.ping})),c=this.quantile(u,.95);return!0===r&&(a*=.75,console.log("95th quantile: "+c)),n().createElement("div",{style:{width:"100%",height:300}},n().createElement(nt,null,n().createElement(Ov,{data:e},n().createElement(gv,{type:"monotone",dataKey:"ping",stroke:"#8884d8",strokeWidth:o}),n().createElement(wv,{type:"number",dataKey:"ping",unit:"ms"}),n().createElement(Iv,{strokeDasharray:"3 3"}),n().createElement(dy,{y:a,label:"Avg: ".concat(i,"ms"),stroke:"lightblue",strokeDasharray:"3 3",isFront:!0}))))}}],r&&Uv(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),l}(e.Component);function Hv(t){return Hv="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},Hv(t)}function Gv(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,(void 0,o=function(t,e){if("object"!==Hv(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Hv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===Hv(o)?o:String(o)),n)}var o}function Xv(t,e){return Xv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Xv(t,e)}function Vv(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yv(t){return Yv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Yv(t)}qv.defaultProps={pingCount:20,lineStrokeWidth:2},qv.propTypes={id:i().string,pingCount:i().number,lineStrokeWidth:i().number,pingUrl:i().string};var Kv=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Xv(t,e)}(u,t);var e,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Yv(o);if(i){var r=Yv(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===Hv(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Vv(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=a.call(this,t)).onOutputUpdate=e.onOutputUpdate.bind(Vv(e)),e.gen_unsafe_html=e.gen_unsafe_html.bind(Vv(e)),e.state={isLoaded:!1,resultText:null,outputNode:null,mo:new MutationObserver(e.onOutputUpdate)},e}return e=u,(r=[{key:"gen_unsafe_html",value:function(){return{__html:this.state.resultText}}},{key:"render",value:function(){return this.state.isLoaded?n().createElement("div",{dangerouslySetInnerHTML:this.gen_unsafe_html()}):n().createElement("div",null)}},{key:"componentDidMount",value:function(){var t=this,e=document.createElement("textarea");e.name="output",e.id="nsone-script-output",e.hidden=!0;var r=document.body.appendChild(e);this.setState({outputNode:r});var n=document.createElement("script");n.src="https://info.resolver.nsone.net/r.js",n.async=!0,n.onload=function(){return t.scriptLoaded()},document.body.appendChild(n)}},{key:"scriptLoaded",value:function(){var t=this.state,e=t.mo,r=t.outputNode;e.observe(r,{subtree:!0,characterData:!0,attributes:!0,childList:!0})}},{key:"onOutputUpdate",value:function(t){var e=this.state.mo;this.setState({resultText:t[0].addedNodes[0].textContent,isLoaded:!0}),e.disconnect()}}])&&Gv(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(e.Component);Kv.defaultProps={}
2,Kv.propTypes={id:i().string};const Zv=function(t,e){document.addEventListener(t,(function(t){return e(t.detail)}))},Jv=function(t,e){document.dispatchEvent(new CustomEvent(t,{detail:e}))};function Qv(t){return Qv="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},Qv(t)}function tm(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,(void 0,o=function(t,e){if("object"!==Qv(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Qv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===Qv(o)?o:String(o)),n)}var o}function em(t,e){return em=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},em(t,e)}function rm(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nm(t){return nm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},nm(t)}var om=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&em(t,e)}(u,t);var e,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=nm(o);if(i){var r=nm(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===Qv(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return rm(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=a.call(this,t)).state={downloadUrl:"https://dl.boxcloud.com/speedtest?size=",uploadUrl:"https://upload.app.box.com/speedtest",uploadSpeed:0,uploadDuration:null,uploadRtt:null,downloadSpeed:0,downloadDuration:null,downloadRtt:null,dataSizeMb:1},e.doDownload=e.doDownload.bind(rm(e)),e.doUpload=e.doUpload.bind(rm(e)),e.runTests=e.runTests.bind(rm(e)),e.resetResultsFromState=e.resetResultsFromState.bind(rm(e)),e}return e=u,r=[{key:"render",value:function(){var t=this.props,e=t.id,r=t.popDisplayName,o=this.state,i=o.downloadSpeed,a=o.downloadDuration,u=o.downloadRtt,c=o.uploadSpeed,l=o.uploadDuration,s=o.uploadRtt,f=null===i,p=null===c;return n().createElement("tr",{id:e},n().createElement("td",null,n().createElement("b",null,r)),n().createElement("td",null,f?n().createElement("span",{className:"spinner-border spinner-border-sm",role:"status","aria-hidden":"true"}):this.state.downloadError?"Request timed out"===this.state.downloadSpeed?"Request timed out":"Connection Blocked":"".concat(this.state.downloadSpeed," Mbps")),n().createElement("td",null,a," ms"),n().createElement("td",null,u," ms"),n().createElement("td",null,p?n().createElement("span",{className:"spinner-border spinner-border-sm",role:"status","aria-hidden":"true"}):this.state.uploadError?"Request timed out"===this.state.uploadSpeed?"Request timed out":"Connection Blocked":"".concat(this.state.uploadSpeed," Mbps")),n().createElement("td",null,l," ms"),n().createElement("td",null,s," ms"))}},{key:"componentDidMount",value:function(){var t=this;Zv("startPopTest",(function(e){t.setState({dataSizeMb:e.dataSizeMb},(function(){t.runTests()}))})),this.props.autoRun&&(this.doDownload(),this.doUpload())}},{key:"resetResultsFromState",value:function(){this.setState({uploadSpeed:null,uploadDuration:null,uploadRtt:null,downloadSpeed:null,downloadDuration:null,downloadRtt:null})}},{key:"runTests",value:function(){var t=this.props.id;this.resetResultsFromState(),this.doUpload(),this.doDownload(),Jv("testcomplete",{id:t})}},{key:"doDownload",value:function(){var t,e=this,r=this.props.id,n=this.state,o=n.downloadUrl;switch(n.dataSizeMb){case 1:default:t="1048576";break;case 10:t="10485760";break;case 100:t="104857600"}var i,a=o+t,u=performance.now(),c=new AbortController;i=setTimeout((function(){c.abort("Download RTT timed out"),e.setState({downloadSpeed:"Request timed out",downloadError:!0})}
2),1e4),fetch(a,{method:"GET",cache:"no-cache",signal:c.signal}).then((function(t){clearTimeout(i);var n=(performance.now()-u).toFixed(2);if(e.setState({downloadRtt:n}),!t.ok){if(t.status>=500)throw new Error("Server Error");throw new Error("Connection Blocked")}try{var o;null===(o=t.body)||void 0===o||o.cancel()}catch(t){}return performance.mark("download-start-"+r),fetch(a,{cache:"no-cache"})})).then((function(t){if(!t.ok){if(t.status>=500)throw new Error("Server Error");throw new Error("Connection Blocked")}return t.blob()})).then((function(t){performance.mark("download-end-"+r);var n=performance.measure("download-measure"+r,"download-start-"+r,"download-end-"+r),o=n.duration/1e3,i=(8*t.size/o/1024/1024).toFixed(2);e.setState({downloadSpeed:i,downloadDuration:Math.round(n.duration),downloadError:!1})})).catch((function(t){if(clearTimeout(i),console.error("Caught error: ",t),"Request timed out"!==e.state.downloadSpeed){if("AbortError"===t.name)return console.error("Download request timed out"),void e.setState({downloadSpeed:"Request timed out",downloadError:!0});e.setState({downloadSpeed:"Connection Blocked",downloadError:!0}),console.error("Download error: ",t)}}))}},{key:"readableRandomStringMaker",value:function(t){var e;for(e="";e.length<t;e+="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".charAt(62*Math.random()|0));return e}},{key:"doUpload",value:function(){var t,e=this,r=this.props.id,n=this.state,o=n.dataSizeMb,i=n.uploadUrl+"?ts="+Date.now(),a=this.readableRandomStringMaker(1024*o*1024),u=performance.now(),c=new AbortController;t=setTimeout((function(){c.abort("Upload RTT timed out"),e.setState({uploadSpeed:"Request timed out",uploadError:!0})}),1e4),fetch(i,{method:"GET",cache:"no-cache",signal:c.signal}).then((function(n){clearTimeout(t);var o=(performance.now()-u).toFixed(2);return e.setState({uploadRtt:o}),performance.mark("upload-start-"+r),fetch(i,{cache:"no-cache",method:"post",headers:{"Content-Type":"application/octet-stream"},body:a})})).then((function(t){performance.mark("upload-end-"+r);var n=performance.measure("upload-measure"+r,"upload-start-"+r,"upload-end-"+r);if(!t.ok)throw t.status>=500?new Error("Server Error"):new Error("Connection Blocked");console.log("Upload response status ",t.status);var o=(8*new Blob([a]).size/(n.duration/1e3)/1024/1024).toFixed(2);e.setState({uploadSpeed:o,uploadDuration:Math.round(n.duration),uploadError:!1})})).catch((function(r){if(clearTimeout(t),console.error("Caught error: ",r),"Request timed out"!==e.state.uploadSpeed){if("AbortError"===r.name)return console.error("Upload request timed out"),void e.setState({uploadSpeed:"Request timed out",uploadError:!0});e.setState({uploadSpeed:"Connection Blocked",uploadError:!0}),console.error("Upload error: ",r)}}))}}],r&&tm(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(e.Component);function im(t){return im="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},im(t)}function am(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,(void 0,o=function(t,e){if("object"!==im(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==im(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===im(o)?o:String(o)),n)}var o}function um(t,e){return um=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},um(t,e)}function cm(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lm(t){return lm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},lm(t)}om.defaultProps={autoRun:!1},om.propTypes={id:i().string,popDisplayName:i().string,popTestName:i().string,autoRun:i().bool};var sm=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&um(t,e)}(u,t);var e,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=lm(o);if(i){var r=lm(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===im(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return cm(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=a.call(this,t)).state={istestrunning:!1,dataSizeMb:1},e.sendStartPopTestMessage=e.sendStartPopTestMessage.bind(cm(e)),e.updateSize=e.updateSize.bind(cm(e)),e}return e=u,(r=[{key:"componentDidMount",value:function(){var t=this;Zv("testcomplete",(function(e){t.setState({istestrunning:!1})}
2))}},{key:"sendStartPopTestMessage",value:function(){var t=this.state,e=t.dataSizeMb;t.istestrunning,Jv("startPopTest",{dataSizeMb:e}),this.setState({istestrunning:!0})}},{key:"updateSize",value:function(){var t;switch(this.state.dataSizeMb){case 1:t=10;break;case 10:t=100;break;default:t=1}this.setState({dataSizeMb:t})}},{key:"renderPopTesters",value:function(){var t=[];return this.props.pops.forEach((function(e){t.push(n().createElement(om,{key:"pop-tester-"+e[1],id:"pop-tester-"+e[1],popDisplayName:e[0],popTestName:e[1]}))})),t}},{key:"render",value:function(){var t=this.state.dataSizeMb,e="btn ".concat(this.props.sizeToggleButtonStyle," ").concat(1===t?"btn-primary":10===t?"btn-warning":100===t?"btn-success":"");return n().createElement("div",{id:"pop-test-manager"},n().createElement("button",{className:"".concat(this.props.runTestButtonStyle),onClick:this.sendStartPopTestMessage},"Go!"),n().createElement("button",{className:e,onClick:this.updateSize},this.state.dataSizeMb," MB"),n().createElement("table",{className:this.props.tableStyle},n().createElement("thead",null,n().createElement("tr",{id:"poptest-header"}
2,n().createElement("th",null,"POP"),n().createElement("th",null,"Download Speed"),n().createElement("th",null,"Download duration"),n().createElement("th",null,"Download RTT"),n().createElement("th",null,"Upload Speed"),n().createElement("th",null,"Upload Duration"),n().createElement("th",null,"Upload RTT"))),n().createElement("tbody",null,this.renderPopTesters())))}}])&&am(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(e.Component);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},fm(t)}function pm(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,(void 0,o=function(t,e){if("object"!==fm(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==fm(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===fm(o)?o:String(o)),n)}var o}function hm(t,e){return hm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},hm(t,e)}function dm(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ym(t){return ym=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ym(t)}sm.defaultProps={tableStyle:"table table-primary table-striped table-bordered table-hover",runTestButtonStyle:"btn me-1 btn-primary",sizeToggleButtonStyle:"btn me-1 btn-primary"}
2,sm.propTypes={id:i().string,pops:i().arrayOf(i().array),runTestButtonStyle:i().string,sizeToggleButtonStyle:i().string,tableStyle:i().string};var vm=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&hm(t,e)}(u,t);var e,r,o,i,a=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=ym(o);if(i){var r=ym(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===fm(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return dm(t)}(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=a.call(this,t)).copyToClipboard=e.copyToClipboard.bind(dm(e)),e.state={copied:!1},e}return e=u,(r=[{key:"copyToClipboard",value:function(){var t=this,e=document.getElementById("headers-output-left"),r=document.getElementById("headers-output-right"),n="".concat(e.innerText,"\n").concat(r.innerText),o=document.createElement("textarea");o.value=n,document.body.appendChild(o),o.select(),document.execCommand("Copy"),document.body.removeChild(o),this.setState({copied:!0}),setTimeout((function(){t.setState({copied:!1})}),2e3)}},{key:"render",value:function(){var t=this.state.copied;return n().createElement("div",null,n().createElement("button",{type:"button",className:"btn btn-primary",onClick:this.copyToClipboard},"Copy to Clipboard"),t&&n().createElement("span",{style:{marginLeft:"5px",color:"#007BFF"}},"Copied!"))}}])&&pm(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(e.Component);vm.defaultProps={},vm.propTypes={id:i().string}})(),window.boxtest2_react=a})(); 3//# sourceMappingURL=boxtest2_react.min.js.map
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.