1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,22379,23874,28120,t=>{"use strict";function e(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}t.s(["initInterpolator",0,function(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},"initRange",0,e],23874);class r extends Map{constructor(t,e=i){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(n(this,t))}has(t){return super.has(n(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}(this,t))}}function n({_intern:t,_key:e},r){let i=e(r);return t.has(i)?t.get(i):r}function i(t){return null!==t&&"object"==typeof t?t.valueOf():t}let o=Symbol("implicit");function a(){var t=new r,n=[],i=[],u=o;function l(e){let r=t.get(e);if(void 0===r){if(u!==o)return u;t.set(e,r=n.push(e)-1)}return i[r%i.length]}return l.domain=function(e){if(!arguments.length)return n.slice();for(let i of(n=[],t=new r,e))t.has(i)||t.set(i,n.push(i)-1);return l},l.range=function(t){return arguments.length?(i=Array.from(t),l):i.slice()},l.unknown=function(t){return arguments.length?(u=t,l):u},l.copy=function(){return a(n,i).unknown(u)},e.apply(l,arguments),l}function u(){var t,r,n=a().unknown(void 0),i=n.domain,o=n.range,l=0,c=1,s=!1,f=0,p=0,d=.5;function h(){var e=i().length,n=c<l,a=n?c:l,u=n?l:c;t=(u-a)/Math.max(1,e-f+2*p),s&&(t=Math.floor(t)),a+=(u-a-t*(e-f))*d,r=t*(1-f),s&&(a=Math.round(a),r=Math.round(r));var h=(function(t,e,r){t*=1,e*=1,r=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((e-t)/r)),o=Array(i);++n<i;)o[n]=t+n*r;return o})(e).map(function(e){return a+t*e});return o(n?h.reverse():h)}return delete n.unknown,n.domain=function(t){return arguments.length?(i(t),h()):i()},n.range=function(t){return arguments.length?([l,c]=t,l*=1,c*=1,h()):[l,c]},n.rangeRound=function(t){return[l,c]=t,l*=1,c*=1,s=!0,h()},n.bandwidth=function(){return r},n.step=function(){return t},n.round=function(t){return arguments.length?(s=!!t,h()):s},n.padding=function(t){return arguments.length?(f=Math.min(1,p=+t),h()):f},n.paddingInner=function(t){return arguments.length?(f=Math.min(1,t),h()):f},n.paddingOuter=function(t){return arguments.length?(p=+t,h()):p},n.align=function(t){return arguments.length?(d=Math.max(0,Math.min(1,t)),h()):d},n.copy=function(){return u(i(),[l,c]).round(s).paddingInner(f).paddingOuter(p).align(d)},e.apply(h(),arguments)}t.s(["default",0,a,"implicit",0,o],28120),t.s(["default",0,u,"point",0,function(){return function t(e){var r=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return t(r())},e}(u.apply(null,arguments).paddingInner(1))}],22379)},56639,t=>{"use strict";var e=t.i(22379);t.s(["scalePoint",()=>e.point])},72301,t=>{"use strict";t.s(["default",0,function(t){return function(){return t}}])},11437,75375,2104,86467,77155,24863,24595,88468,92402,t=>{"use strict";var e=t.i(21776),r=t.i(72301);function n(t,e){if((i=t.length)>1)for(var r,n,i,o=1,a=t[e[0]],u=a.length;o<i;++o)for(n=a,a=t[e[o]],r=0;r<u;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function i(t){for(var e=t.length,r=Array(e);--e>=0;)r[e]=e;return r}function o(t,e){return t[e]}function a(t){let e=[];return e.key=t,e}t.s(["stack",0,function(){var t=(0,r.default)([]),u=i,l=n,c=o;function s(r){var n,i,o=Array.from(t.apply(this,arguments),a),s=o.length,f=-1;for(let t of r)for(n=0,++f;n<s;++n)(o[n][f]=[0,+c(t,o[n].key,f,r)]).data=t;for(n=0,i=(0,e.default)(u(o));n<s;++n)o[i[n]].index=n;return l(o,i),o}return s.keys=function(e){return arguments.length?(t="function"==typeof e?e:(0,r.default)(Array.from(e)),s):t},s.value=function(t){return arguments.length?(c="function"==typeof t?t:(0,r.default)(+t),s):c},s.order=function(t){return arguments.length?(u=null==t?i:"function"==typeof t?t:(0,r.default)(Array.from(t)),s):u},s.offset=function(t){return arguments.length?(l=null==t?n:t,s):l},s}],11437),t.s(["stackOffsetExpand",0,function(t,e){if((i=t.length)>0){for(var r,i,o,a=0,u=t[0].length;a<u;++a){for(o=r=0;r<i;++r)o+=t[r][a][1]||0;if(o)for(r=0;r<i;++r)t[r][a][1]/=o}n(t,e)}}],75375),t.s(["stackOffsetNone",0,n],2104),t.s(["stackOffsetSilhouette",0,function(t,e){if((r=t.length)>0){for(var r,i=0,o=t[e[0]],a=o.length;i<a;++i){for(var u=0,l=0;u<r;++u)l+=t[u][i][1]||0;o[i][1]+=o[i][0]=-l/2}n(t,e)}}],86467),t.s(["stackOffsetWiggle",0,function(t,e){if((o=t.length)>0&&(i=(r=t[e[0]]).length)>0){for(var r,i,o,a=0,u=1;u<i;++u){for(var l=0,c=0,s=0;l<o;++l){for(var f=t[e[l]],p=f[u][1]||0,d=(p-(f[u-1][1]||0))/2,h=0;h<l;++h){var y=t[e[h]];d+=(y[u][1]||0)-(y[u-1][1]||0)}c+=p,s+=d*p}r[u-1][1]+=r[u-1][0]=a,c&&(a-=s/c)}r[u-1][1]+=r[u-1][0]=a,n(t,e)}}],77155),t.s(["stackOrderNone",0,i],24863);var u=t.i(3189);function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var c=function(t){return t},s={"@@functional/placeholder":!0},f=function(t){return t===s},p=function(t){return function e(){return 0==arguments.length||1==arguments.length&&f(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},d=function(t){return function t(e,r){return 1===e?r:p(function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=i.filter(function(t){return t!==s}).length;return a>=e?r.apply(void 0,i):t(e-a,p(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=i.map(function(t){return f(t)?e.shift():t});return r.apply(void 0,((function(t){if(Array.isArray(t))return l(t)})(o)||function(t){if("u">typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(o)||function(t){if(t){if("string"==typeof t)return l(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return l(t,void 0)}}(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat(e))}))})}(t.length,t)},h=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},y=d(function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map(function(t){return e[t]}).map(t)}),v=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return c;var n=e.reverse(),i=n[0],o=n.slice(1);return function(){return o.reduce(function(t,e){return e(t)},i.apply(void 0,arguments))}},m=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},b=function(t){var e=null,r=null;return function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return e&&i.every(function(t,r){return t===e[r]})?r:(e=i,r=t.apply(void 0,i))}};d(function(t,e,r){var n=+t;return n+r*(e-n)}),d(function(t,e,r){var n=e-t;return(r-t)/(n=n||1/0)}),d(function(t,e,r){var n=e-t;return Math.max(0,Math.min(1,(r-t)/(n=n||1/0)))});let g=function(t,e,r){for(var n=new u.default(t),i=0,o=[];n.lt(e)&&i<1e5;)o.push(n.toNumber()),n=n.add(r),i++;return o},x=function(t){return 0===t?1:Math.floor(new u.default(t).abs().log(10).toNumber())+1};function O(t){return function(t){if(Array.isArray(t))return j(t)}(t)||function(t){if("u">typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||S(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("u">typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,i=!1,o=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){i=!0,o=t}finally{try{n||null==u.return||u.return()}finally{if(i)throw o}}return r}}(t,e)||S(t,e)||function(){throw TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(t,e){if(t){if("string"==typeof t)return j(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return j(t,e)}}function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function P(t){var e=w(t,2),r=e[0],n=e[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function E(t,e,r){if(t.lte(0))return new u.default(0);var n=x(t.toNumber()),i=new u.default(10).pow(n),o=t.div(i),a=1!==n?.05:.1,l=new u.default(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return e?l:new u.default(Math.ceil(l))}function A(t,e,r){var n=1,i=new u.default(t);if(!i.isint()&&r){var o=Math.abs(t);o<1?(n=new u.default(10).pow(x(t)-1),i=new u.default(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new u.default(Math.floor(t)))}else 0===t?i=new u.default(Math.floor((e-1)/2)):r||(i=new u.default(Math.floor(t)));var a=Math.floor((e-1)/2);return v(y(function(t){return i.add(new u.default(t-a).mul(n)).toNumber()}),h)(0,e)}var k=b(function(t){var e=w(t,2),r=e[0],n=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=Math.max(i,2),l=w(P([r,n]),2),c=l[0],s=l[1];if(c===-1/0||s===1/0){var f=s===1/0?[c].concat(O(h(0,i-1).map(function(){return 1/0}))):[].concat(O(h(0,i-1).map(function(){return-1/0})),[s]);return r>n?m(f):f}if(c===s)return A(c,i,o);var p=function t(e,r,n,i){var o,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((r-e)/(n-1)))return{step:new u.default(0),tickMin:new u.default(0),tickMax:new u.default(0)};var l=E(new u.default(r).sub(e).div(n-1),i,a),c=Math.ceil((o=e<=0&&r>=0?new u.default(0):(o=new u.default(e).add(r).div(2)).sub(new u.default(o).mod(l))).sub(e).div(l).toNumber()),s=Math.ceil(new u.default(r).sub(o).div(l).toNumber()),f=c+s+1;return f>n?t(e,r,n,i,a+1):(f<n&&(s=r>0?s+(n-f):s,c=r>0?c:c+(n-f)),{step:l,tickMin:o.sub(new u.default(c).mul(l)),tickMax:o.add(new u.default(s).mul(l))})}(c,s,a,o),d=p.step,y=g(p.tickMin,p.tickMax.add(new u.default(.1).mul(d)),d);return r>n?m(y):y});b(function(t){var e=w(t,2),r=e[0],n=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=Math.max(i,2),l=w(P([r,n]),2),c=l[0],s=l[1];if(c===-1/0||s===1/0)return[r,n];if(c===s)return A(c,i,o);var f=E(new u.default(s).sub(c).div(a-1),o,0),p=v(y(function(t){return new u.default(c).add(new u.default(t).mul(f)).toNumber()}),h)(0,a).filter(function(t){return t>=c&&t<=s});return r>n?m(p):p});var T=b(function(t,e){var r=w(t,2),n=r[0],i=r[1],o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=w(P([n,i]),2),l=a[0],c=a[1];if(l===-1/0||c===1/0)return[n,i];if(l===c)return[l];var s=Math.max(e,2),f=E(new u.default(c).sub(l).div(s-1),o,0),p=[].concat(O(g(new u.default(l),new u.default(c).sub(new u.default(.99).mul(f)),f)),[c]);return n>i?m(p):p});t.s(["getNiceTickValues",0,k,"getTickValuesFixedDomain",0,T],24595),t.s([],88468);var M=t.i(91788),_=t.i(34534),C=t.i(79472),N=t.i(6043),D=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function I(t){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function B(){return(B=Object.assign.bind()).apply(this,arguments)}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function R(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(R=function(){return!!t})()}function z(t){return(z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function U(t,e){return(U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function F(t,e,r){return(e=$(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $(t){var e=function(t,e){if("object"!=I(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=I(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==I(e)?e:e+""}var q=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=z(t),function(t,e){if(e&&("object"===I(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,R()?Reflect.construct(t,e||[],z(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&U(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.offset,r=t.layout,n=t.width,i=t.dataKey,o=t.data,a=t.dataPointFormatter,u=t.xAxis,l=t.yAxis,c=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,D),s=(0,N.filterProps)(c,!1);"x"===this.props.direction&&"number"!==u.type&&(0,_.default)(!1);var f=o.map(function(t){var o,c,f=a(t,i),p=f.x,d=f.y,h=f.value,y=f.errorVal;if(!y)return null;var v=[];if(Array.isArray(y)){var m=function(t){if(Array.isArray(t))return t}(y)||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,i,o,a=[],u=!0,l=!1;try{i=(e=e.call(t)).next,!1;for(;!(u=(r=i.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){l=!0,n=t}finally{try{if(!u&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(l)throw n}}return a}}(y)||function(t){if(t){if("string"==typeof t)return L(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return L(t,2)}}(y)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();o=m[0],c=m[1]}else o=c=y;if("vertical"===r){var b=u.scale,g=d+e,x=g+n,O=g-n,w=b(h-o),S=b(h+c);v.push({x1:S,y1:x,x2:S,y2:O}),v.push({x1:w,y1:g,x2:S,y2:g}),v.push({x1:w,y1:x,x2:w,y2:O})}else if("horizontal"===r){var j=l.scale,P=p+e,E=P-n,A=P+n,k=j(h-o),T=j(h+c);v.push({x1:E,y1:T,x2:A,y2:T}),v.push({x1:P,y1:k,x2:P,y2:T}
1),v.push({x1:E,y1:k,x2:A,y2:k})}return M.default.createElement(C.Layer,B({className:"recharts-errorBar",key:"bar-".concat(v.map(function(t){return"".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))},s),v.map(function(t){return M.default.createElement("line",B({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))}))});return M.default.createElement(C.Layer,{className:"recharts-errorBars"},f)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,$(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(M.default.Component);F(q,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),F(q,"displayName","ErrorBar"),t.s(["ErrorBar",0,q],92402)},3189,(t,e,r)=>{!function(r){"use strict";var n,i={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},o=!0,a="[DecimalError] ",u=a+"Invalid argument: ",l=a+"Exponent out of range: ",c=Math.floor,s=Math.pow,f=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,p=c(1286742750677284.5),d={};function h(t,e){var r,n,i,a,u,l,c,s,f=t.constructor,p=f.precision;if(!t.s||!e.s)return e.s||(e=new f(t)),o?j(e,p):e;if(c=t.d,s=e.d,u=t.e,i=e.e,c=c.slice(),a=u-i){for(a<0?(n=c,a=-a,l=s.length):(n=s,i=u,l=c.length),a>(l=(u=Math.ceil(p/7))>l?u+1:l+1)&&(a=l,n.length=1),n.reverse();a--;)n.push(0);n.reverse()}for((l=c.length)-(a=s.length)<0&&(a=l,n=s,s=c,c=n),r=0;a;)r=(c[--a]=c[a]+s[a]+r)/1e7|0,c[a]%=1e7;for(r&&(c.unshift(r),++i),l=c.length;0==c[--l];)c.pop();return e.d=c,e.e=i,o?j(e,p):e}function y(t,e,r){if(t!==~~t||t<e||t>r)throw Error(u+t)}function v(t){var e,r,n,i=t.length-1,o="",a=t[0];if(i>0){for(o+=a,e=1;e<i;e++)(r=7-(n=t[e]+"").length)&&(o+=O(r)),o+=n;(r=7-(n=(a=t[e])+"").length)&&(o+=O(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}d.absoluteValue=d.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},d.comparedTo=d.cmp=function(t){var e,r,n,i;if(t=new this.constructor(t),this.s!==t.s)return this.s||-t.s;if(this.e!==t.e)return this.e>t.e^this.s<0?1:-1;for(n=this.d.length,e=0,r=n<(i=t.d.length)?n:i;e<r;++e)if(this.d[e]!==t.d[e])return this.d[e]>t.d[e]^this.s<0?1:-1;return n===i?0:n>i^this.s<0?1:-1},d.decimalPlaces=d.dp=function(){var t=this.d.length-1,e=(t-this.e)*7;if(t=this.d[t])for(;t%10==0;t/=10)e--;return e<0?0:e},d.dividedBy=d.div=function(t){return m(this,new this.constructor(t))},d.dividedToIntegerBy=d.idiv=function(t){var e=this.constructor;return j(m(this,new e(t),0,1),e.precision)},d.equals=d.eq=function(t){return!this.cmp(t)},d.exponent=function(){return g(this)},d.greaterThan=d.gt=function(t){return this.cmp(t)>0},d.greaterThanOrEqualTo=d.gte=function(t){return this.cmp(t)>=0},d.isInteger=d.isint=function(){return this.e>this.d.length-2},d.isNegative=d.isneg=function(){return this.s<0},d.isPositive=d.ispos=function(){return this.s>0},d.isZero=function(){return 0===this.s},d.lessThan=d.lt=function(t){return 0>this.cmp(t)},d.lessThanOrEqualTo=d.lte=function(t){return 1>this.cmp(t)},d.logarithm=d.log=function(t){var e,r=this.constructor,i=r.precision,u=i+5;if(void 0===t)t=new r(10);else if((t=new r(t)).s<1||t.eq(n))throw Error(a+"NaN");if(this.s<1)throw Error(a+(this.s?"NaN":"-Infinity"));return this.eq(n)?new r(0):(o=!1,e=m(w(this,u),w(t,u),u),o=!0,j(e,i))},d.minus=d.sub=function(t){return t=new this.constructor(t),this.s==t.s?P(this,t):h(this,(t.s=-t.s,t))},d.modulo=d.mod=function(t){var e,r=this.constructor,n=r.precision;if(!(t=new r(t)).s)throw Error(a+"NaN");return this.s?(o=!1,e=m(this,t,0,1).times(t),o=!0,this.minus(e)):j(new r(this),n)},d.naturalExponential=d.exp=function(){return b(this)},d.naturalLogarithm=d.ln=function(){return w(this)},d.negated=d.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},d.plus=d.add=function(t){return t=new this.constructor(t),this.s==t.s?h(this,t):P(this,(t.s=-t.s,t))},d.precision=d.sd=function(t){var e,r,n;if(void 0!==t&&!!t!==t&&1!==t&&0!==t)throw Error(u+t);if(e=g(this)+1,r=7*(n=this.d.length-1)+1,n=this.d[n]){for(;n%10==0;n/=10)r--;for(n=this.d[0];n>=10;
1n/=10)r++}return t&&e>r?e:r},d.squareRoot=d.sqrt=function(){var t,e,r,n,i,u,l,s=this.constructor;if(this.s<1){if(!this.s)return new s(0);throw Error(a+"NaN")}for(t=g(this),o=!1,0==(i=Math.sqrt(+this))||i==1/0?(((e=v(this.d)).length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=c((t+1)/2)-(t<0||t%2),n=new s(e=i==1/0?"5e"+t:(e=i.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new s(i.toString()),i=l=(r=s.precision)+3;;)if(n=(u=n).plus(m(this,u,l+2)).times(.5),v(u.d).slice(0,l)===(e=v(n.d)).slice(0,l)){if(e=e.slice(l-3,l+1),i==l&&"4999"==e){if(j(u,r+1,0),u.times(u).eq(this)){n=u;break}}else if("9999"!=e)break;l+=4}return o=!0,j(n,r)},d.times=d.mul=function(t){var e,r,n,i,a,u,l,c,s,f=this.constructor,p=this.d,d=(t=new f(t)).d;if(!this.s||!t.s)return new f(0);for(t.s*=this.s,r=this.e+t.e,(c=p.length)<(s=d.length)&&(a=p,p=d,d=a,u=c,c=s,s=u),a=[],n=u=c+s;n--;)a.push(0);for(n=s;--n>=0;){for(e=0,i=c+n;i>n;)l=a[i]+d[n]*p[i-n-1]+e,a[i--]=l%1e7|0,e=l/1e7|0;a[i]=(a[i]+e)%1e7|0}for(;!a[--u];)a.pop();return e?++r:a.shift(),t.d=a,t.e=r,o?j(t,f.precision):t},d.toDecimalPlaces=d.todp=function(t,e){var r=this,n=r.constructor;
1return(r=new n(r),void 0===t)?r:(y(t,0,1e9),void 0===e?e=n.rounding:y(e,0,8),j(r,t+g(r)+1,e))},d.toExponential=function(t,e){var r,n=this,i=n.constructor;return void 0===t?r=E(n,!0):(y(t,0,1e9),void 0===e?e=i.rounding:y(e,0,8),r=E(n=j(new i(n),t+1,e),!0,t+1)),r},d.toFixed=function(t,e){var r,n,i=this.constructor;return void 0===t?E(this):(y(t,0,1e9),void 0===e?e=i.rounding:y(e,0,8),r=E((n=j(new i(this),t+g(this)+1,e)).abs(),!1,t+g(n)+1),this.isneg()&&!this.isZero()?"-"+r:r)},d.toInteger=d.toint=function(){var t=this.constructor;return j(new t(this),g(this)+1,t.rounding)},d.toNumber=function(){return+this},d.toPower=d.pow=function(t){var e,r,i,u,l,s,f=this,p=f.constructor,d=+(t=new p(t));if(!t.s)return new p(n);if(!(f=new p(f)).s){if(t.s<1)throw Error(a+"Infinity");return f}if(f.eq(n))return f;if(i=p.precision,t.eq(n))return j(f,i);if(s=(e=t.e)>=(r=t.d.length-1),l=f.s,s){if((r=d<0?-d:d)<=0x1fffffffffffff){for(u=new p(n),e=Math.ceil(i/7+4),o=!1;r%2&&A((u=u.times(f)).d,e),0!==(r=c(r/2));)A((f=f.times(f)).d,e);return o=!0,t.s<0?new p(n).div(u):j(u,i)}}else if(l<0)throw Error(a+"NaN");return l=l<0&&1&t.d[Math.max(e,r)]?-1:1,f.s=1,o=!1,u=t.times(w(f,i+12)),o=!0,(u=b(u)).s=l,u},d.toPrecision=function(t,e){var r,n,i=this,o=i.constructor;return void 0===t?(r=g(i),n=E(i,r<=o.toExpNeg||r>=o.toExpPos)):(y(t,1,1e9),void 0===e?e=o.rounding:y(e,0,8),r=g(i=j(new o(i),t,e)),n=E(i,t<=r||r<=o.toExpNeg,t)),n},d.toSignificantDigits=d.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(y(t,1,1e9),void 0===e?e=r.rounding:y(e,0,8)),j(new r(this),t,e)},d.toString=d.valueOf=d.val=d.toJSON=function(){var t=g(this),e=this.constructor;return E(this,t<=e.toExpNeg||t>=e.toExpPos)};var m=function(){function t(t,e){var r,n=0,i=t.length;for(t=t.slice();i--;)r=t[i]*e+n,t[i]=r%1e7|0,n=r/1e7|0;return n&&t.unshift(n),t}function e(t,e,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=+(t[r]<e[r]),t[r]=1e7*n+t[r]-e[r];for(;!t[0]&&t.length>1;)t.shift()}return function(n,i,o,u){var l,c,s,f,p,d,h,y,v,m,b,x,O,w,S,P,E,A,k=n.constructor,T=n.s==i.s?1:-1,M=n.d,_=i.d;if(!n.s)return new k(n);if(!i.s)throw Error(a+"Division by zero");for(c=n.e-i.e,E=_.length,S=M.length,y=(h=new k(T)).d=[],s=0;_[s]==(M[s]||0);)++s;if(_[s]>(M[s]||0)&&--c,(x=null==o?o=k.precision:u?o+(g(n)-g(i))+1:o)<0)return new k(0);if(x=x/7+2|0,s=0,1==E)for(f=0,_=_[0],x++;(s<S||f)&&x--;s++)O=1e7*f+(M[s]||0),y[s]=O/_|0,f=O%_|0;else{for((f=1e7/(_[0]+1)|0)>1&&(_=t(_,f),M=t(M,f),E=_.length,S=M.length),w=E,m=(v=M.slice(0,E)).length;m<E;)v[m++]=0;(A=_.slice()).unshift(0),P=_[0],_[1]>=1e7/2&&++P;do f=0,(l=e(_,v,E,m))<0?(b=v[0],E!=m&&(b=1e7*b+(v[1]||0)),(f=b/P|0)>1?(f>=1e7&&(f=1e7-1),d=(p=t(_,f)).length,m=v.length,1==(l=e(p,v,d,m))&&(f--,r(p,E<d?A:_,d))):(0==f&&(l=f=1),p=_.slice()),(d=p.length)<m&&p.unshift(0),r(v,p,m),-1==l&&(m=v.length,(l=e(_,v,E,m))<1&&(f++,r(v,E<m?A:_,m))),m=v.length):0===l&&(f++,v=[0]),y[s++]=f,l&&v[0]?v[m++]=M[w]||0:(v=[M[w]],m=1);while((w++<S||void 0!==v[0])&&x--)}return y[0]||y.shift(),h.e=c,j(h,u?o+g(h)+1:o)}}();function b(t,e){var r,i,a,u,c,f=0,p=0,d=t.constructor,h=d.precision;if(g(t)>16)throw Error(l+g(t));if(!t.s)return new d(n);for(null==e?(o=!1,c=h):c=e,u=new d(.03125);t.abs().gte(.1);)t=t.times(u),p+=5;for(c+=Math.log(s(2,p))/Math.LN10*2+5|0,r=i=a=new d(n),d.precision=c;;){if(i=j(i.times(t),c),r=r.times(++f),v((u=a.plus(m(i,r,c))).d).slice(0,c)===v(a.d).slice(0,c)){for(;p--;)a=j(a.times(a),c);return d.precision=h,null==e?(o=!0,j(a,h)):a}a=u}}function g(t){for(var e=7*t.e,r=t.d[0];r>=10;r/=10)e++;return e}function x(t,e,r){if(e>t.LN10.sd())throw o=!0,r&&(t.precision=r),Error(a+"LN10 precision limit exceeded");return j(new t(t.LN10),e)}function O(t){for(var e="";t--;)e+="0";return e}function w(t,e){var r,i,u,l,c,s,f,p,d,h=1,y=t,b=y.d,O=y.constructor,S=O.precision;if(y.s<1)throw Error(a+(y.s?"NaN":"-Infinity"));if(y.eq(n))return new O(0);if(null==e?(o=!1,p=S):p=e,y.eq(10))return null==e&&(o=!0),x(O,p);if(O.precision=p+=10,i=(r=v(b)).charAt(0),!(15e14>
1Math.abs(l=g(y))))return f=x(O,p+2,S).times(l+""),y=w(new O(i+"."+r.slice(1)),p-10).plus(f),O.precision=S,null==e?(o=!0,j(y,S)):y;for(;i<7&&1!=i||1==i&&r.charAt(1)>3;)i=(r=v((y=y.times(t)).d)).charAt(0),h++;for(l=g(y),i>1?(y=new O("0."+r),l++):y=new O(i+"."+r.slice(1)),s=c=y=m(y.minus(n),y.plus(n),p),d=j(y.times(y),p),u=3;;){if(c=j(c.times(d),p),v((f=s.plus(m(c,new O(u),p))).d).slice(0,p)===v(s.d).slice(0,p))return s=s.times(2),0!==l&&(s=s.plus(x(O,p+2,S).times(l+""))),s=m(s,new O(h),p),O.precision=S,null==e?(o=!0,j(s,S)):s;s=f,u+=2}}function S(t,e){var r,n,i;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(i=e.length;48===e.charCodeAt(i-1);)--i;if(e=e.slice(n,i)){if(i-=n,t.e=c((r=r-n-1)/7),t.d=[],n=(r+1)%7,r<0&&(n+=7),n<i){for(n&&t.d.push(+e.slice(0,n)),i-=7;n<i;)t.d.push(+e.slice(n,n+=7));n=7-(e=e.slice(n)).length}else n-=i;for(;n--;)e+="0";if(t.d.push(+e),o&&(t.e>p||t.e<-p))throw Error(l+r)}else t.s=0,t.e=0,t.d=[0];return t}function j(t,e,r){var n,i,a,u,f,d,h,y,v=t.d;for(u=1,a=v[0];a>=10;a/=10)u++;if((n=e-u)<0)n+=7,i=e,h=v[y=0];else{if((y=Math.ceil((n+1)/7))>=(a=v.length))return t;for(h=a=v[y],u=1;a>=10;a/=10)u++;n%=7,i=n-7+u}if(void 0!==r&&(f=h/(a=s(10,u-i-1))%10|0,d=e<0||void 0!==v[y+1]||h%a,d=r<4?(f||d)&&(0==r||r==(t.s<0?3:2)):f>5||5==f&&(4==r||d||6==r&&(n>0?i>0?h/s(10,u-i):0:v[y-1])%10&1||r==(t.s<0?8:7))),e<1||!v[0])return d?(a=g(t),v.length=1,e=e-a-1,v[0]=s(10,(7-e%7)%7),t.e=c(-e/7)||0):(v.length=1,v[0]=t.e=t.s=0),t;if(0==n?(v.length=y,a=1,y--):(v.length=y+1,a=s(10,7-n),v[y]=i>0?(h/s(10,u-i)%s(10,i)|0)*a:0),d)for(;;)if(0==y){1e7==(v[0]+=a)&&(v[0]=1,++t.e);break}else{if(v[y]+=a,1e7!=v[y])break;v[y--]=0,a=1}for(n=v.length;0===v[--n];)v.pop();if(o&&(t.e>p||t.e<-p))throw Error(l+g(t));return t}function P(t,e){var r,n,i,a,u,l,c,s,f,p,d=t.constructor,h=d.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new d(t),o?j(e,h):e;if(c=t.d,p=e.d,n=e.e,s=t.e,c=c.slice(),u=s-n){for((f=u<0)?(r=c,u=-u,l=p.length):(r=p,n=s,l=c.length),u>(i=Math.max(Math.ceil(h/7),l)+2)&&(u=i,r.length=1),r.reverse(),i=u;i--;)r.push(0);r.reverse()}else{for((f=(i=c.length)<(l=p.length))&&(l=i),i=0;i<l;i++)if(c[i]!=p[i]){f=c[i]<p[i];break}u=0}for(f&&(r=c,c=p,p=r,e.s=-e.s),l=c.length,i=p.length-l;i>0;--i)c[l++]=0;for(i=p.length;i>u;){if(c[--i]<p[i]){for(a=i;a&&0===c[--a];)c[a]=1e7-1;--c[a],c[i]+=1e7}c[i]-=p[i]}for(;0===c[--l];)c.pop();for(;0===c[0];c.shift())--n;return c[0]?(e.d=c,e.e=n,o?j(e,h):e):new d(0)}function E(t,e,r){var n,i=g(t),o=v(t.d),a=o.length;return e?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+O(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+O(-i-1)+o,r&&(n=r-a)>0&&(o+=O(n))):i>=a?(o+=O(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+O(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=O(n))),t.s<0?"-"+o:o}function A(t,e){if(t.length>e)return t.length=e,!0}function k(t){if(!t||"object"!=typeof t)throw Error(a+"Object expected");var e,r,n,i=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<i.length;e+=3)if(void 0!==(n=t[r=i[e]]))if(c(n)===n&&n>=i[e+1]&&n<=i[e+2])this[r]=n;else throw Error(u+r+": "+n);if(void 0!==(n=t[r="LN10"]))if(n==Math.LN10)this[r]=new this(n);else throw Error(u+r+": "+n);return this}if((i=function t(e){var r,n,i;function o(t){if(!(this instanceof o))return new o(t);if(this.constructor=o,t instanceof o){this.s=t.s,this.e=t.e,this.d=(t=t.d)?t.slice():t;return}if("number"==typeof t){if(0*t!=0)throw Error(u+t);if(t>0)this.s=1;else if(t<0)t=-t,this.s=-1;else{this.s=0,this.e=0,this.d=[0];return}if(t===~~t&&t<1e7){this.e=0,this.d=[t];return}return S(this,t.toString())}if("string"!=typeof t)throw Error(u+t);if(45===t.charCodeAt(0)?(t=t.slice(1),this.s=-1):this.s=1,f.test(t))S(this,t);else throw Error(u+t)}if(o.prototype=d,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=t,o.config=o.set=k,void 0===e&&(e={}),e)for(r=0,i=["precision","rounding","toExpNeg","toExpPos","LN10"];r<i.length;)e.hasOwnProperty(n=i[r++])||(e[n]=this[n]);return o.config(e),o}(i)).default=i.Decimal=i,n=new i(1),"function"==typeof define&&define.amd){let e;t.r,void 0!==(e=i)&&t.v(e)}else e.exports?e.exports=i:(r||(r="u">typeof self&&self&&self.self==self?self:Function("return this")()),r.Decimal=i)}(t.e)},35228,(t,e,r)=>{"use strict";var n=Object.prototype.hasOwnProperty,i="~";function o(){}function a(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function u(t,e,r,n,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var u=new a(r,n||t,o),l=i?i+e:e;return t._events[l]?t._events[l].fn?t._events[l]=[t._events[l],u]:t._events[l].push(u):(t._events[l]=u,t._eventsCount++),t}function l(t,e){0==--t._eventsCount?t._events=new o:delete t._events[e]}function c(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),new o().__proto__||(i=!1)),c.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)n.call(t,e)&&r.push(i?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},c.prototype.listeners=function(t){var e=i?i+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,o=r.length,a=Array(o);n<o;n++)a[n]=r[n].fn;return a},c.prototype.listenerCount=function(t){var e=i?i+t:t,r=this._events[e];return r?r.fn?1:r.length:0},c.prototype.emit=function(t,e,r,n,o,a){var u=i?i+t:t;if(!this._events[u])return!1;var l,c,s=this._events[u],f=arguments.length;if(s.fn){switch(s.once&&this.removeListener(t,s.fn,void 0,!0),f){case 1:return s.fn.call(s.context),!0;case 2:return s.fn.call(s.context,e),!0;case 3:return s.fn.call(s.context,e,r),!0;case 4:return s.fn.call(s.context,e,r,n),!0;case 5:return s.fn.call(s.context,e,r,n,o),!0;case 6:return s.fn.call(s.context,e,r,n,o,a),!0}for(c=1,l=Array(f-1);c<f;c++)l[c-1]=arguments[c];s.fn.apply(s.context,l)}else{var p,d=s.length;for(c=0;c<d;c++)switch(s[c].once&&this.removeListener(t,s[c].fn,void 0,!0),f){case 1:s[c].fn.call(s[c].context);break;case 2:s[c].fn.call(s[c].context,e);break;case 3:s[c].fn.call(s[c].context,e,r);break;case 4:s[c].fn.call(s[c].context,e,r,n);break;default:if(!l)for(p=1,l=Array(f-1);p<f;p++)l[p-1]=arguments[p];s[c].fn.apply(s[c].context,l)}}return!0},c.prototype.on=function(t,e,r){return u(this,t,e,r,!1)},c.prototype.once=function(t,e,r){return u(this,t,e,r,!0)},c.prototype.removeListener=function(t,e,r,n){var o=i?i+t:t;if(!this._events[o])return this;if(!e)return l(this,o),this;var a=this._events[o];if(a.fn)a.fn!==e||n&&!a.once||r&&a.context!==r||l(this,o);else{for(var u=0,c=[],s=a.length;u<s;u++)(a[u].fn!==e||n&&!a[u].once||r&&a[u].context!==r)&&c.push(a[u]);c.length?this._events[o]=1===c.length?c[0]:c:l(this,o)}return this},c.prototype.removeAllListeners=function(t){var e;return t?(e=i?i+t:t,this._events[e]&&l(this,e)):(this._events=new o,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=i,c.EventEmitter=c,e.exports=c},17101,60737,67136,79268,t=>{"use strict";var e,r,n=t.i(5106),i=t.i(86443),o=t.i(80667),a=t.i(27826),u=t.i(6043),l=t.i(70627);function c(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t){if(t){if("string"==typeof t)return s(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return s(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}t.s(["detectReferenceElementsDomain",0,function(t,e,r,s,f){var p=(0,u.findAllByType)(t,i.ReferenceLine),d=(0,u.findAllByType)(t,n.ReferenceDot),h=[].concat(c(p),c(d)),y=(0,u.findAllByType)(t,o.ReferenceArea),v="".concat(s,"Id"),m=s[0],b=e;if(h.length&&(b=h.reduce(function(t,e){if(e.props[v]===r&&(0,a.ifOverflowMatches)(e.props,"extendDomain")&&(0,l.isNumber)(e.props[m])){var n=e.props[m];return[Math.min(t[0],n),Math.max(t[1],n)]}return t},b)),y.length){var g="".concat(m,"1"),x="".concat(m,"2");b=y.reduce(function(t,e){if(e.props[v]===r&&(0,a.ifOverflowMatches)(e.props,"extendDomain")&&(0,l.isNumber)(e.props[g])&&(0,l.isNumber)(e.props[x])){var n=e.props[g],i=e.props[x];return[Math.min(t[0],n,i),Math.max(t[1],n,i)]}return t},b)}return f&&f.length&&(b=f.reduce(function(t,e){return(0,l.isNumber)(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t},b)),b}],17101);var f=new(t.i(35228)).default;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})(t)}t.s(["SYNC_EVENT",0,"recharts.syncMouseEvents","eventCenter",0,f],60737);function d(t,e,r){return(e=h(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(t){var e=function(t,e){if("object"!=p(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=p(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==p(e)?e:e+""}var y=(e=function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");d(this,"activeIndex",0),d(this,"coordinateList",[]),d(this,"layout","horizontal")},r=[{key:"setDetails",value:function(t){var e,r=t.coordinateList,n=void 0===r?null:r,i=t.container,o=void 0===i?null:i,a=t.layout,u=void 0===a?null:a,l=t.offset,c=void 0===l?null:l,s=t.mouseHandlerCallback,f=void 0===s?null:s;this.coordinateList=null!=(e=null!=n?n:this.coordinateList)?e:[],this.container=null!=o?o:this.container,this.layout=null!=u?u:this.layout,this.offset=null!=c?c:this.offset,this.mouseHandlerCallback=null!=f?f:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(t){if(0!==this.coordinateList.length)switch(t.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(t){this.activeIndex=t}},{key:"spoofMouse",value:function(){if("horizontal"===this.layout&&0!==this.coordinateList.length){var t,e,r=this.container.getBoundingClientRect(),n=r.x,i=r.y,o=r.height,a=this.coordinateList[this.activeIndex].coordinate,u=(null==(t=window)?void 0:t.scrollX)||0,l=(null==(e=window)?void 0:e.scrollY)||0,c=i+this.offset.top+o/2+l;this.mouseHandlerCallback({pageX:n+a+u,pageY:c})}}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,h(n.key),n)}}(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),e);t.s(["AccessibilityManager",0,y],67136),t.s(["isDomainSpecifiedByUser",0,function(t,e,r){if("number"===r&&!0===e&&Array.isArray(t)){var n=null==t?void 0:t[0],i=null==t?void 0:t[1];if(n&&i&&(0,l.isNumber)(n)&&(0,l.isNumber)(i))return!0}return!1}],79268)},84742,(t,e,r)=>{e.exports=t.r(47663).Uint8Array},92152,(t,e,r)=>{e.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}},31853,(t,e,r)=>{e.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},17744,(t,e,r)=>{var n=t.r(80783),i=t.r(84742),o=t.r(98373),a=t.r(36712),u=t.r(92152),l=t.r(31853),c=n?n.prototype:void 0,s=c?c.valueOf:void 0;e.exports=function(t,e,r,n,c,f,p){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":if(t.byteLength!=e.byteLength||!f(new i(t),new i(e)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var d=u;case"[object Set]":var h=1&n;if(d||(d=l),t.size!=e.size&&!h)break;var y=p.get(t);if(y)return y==e;n|=2,p.set(t,e);var v=a(d(t),d(e),n,c,f,p);return p.delete(t),v;case"[object Symbol]":if(s)return s.call(t)==s.call(e)}return!1}},38037,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(!e(t[r],r,t))return!1;return!0}},76723,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}},97560,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},98053,(t,e,r)=>{var n=t.r(98373);e.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return -1}},79104,(t,e,r)=>{var n=t.r(98053),i=Array.prototype.splice;e.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():i.call(e,r,1),--this.size,!0)}},95185,(t,e,r)=>{var n=t.r(98053);e.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},33127,(t,e,r)=>{var n=t.r(98053);e.exports=function(t){return n(this.__data__,t)>-1}},82058,(t,e,r)=>{var n=t.r(98053);e.exports=function(t,e){var r=this.__data__,i=n(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this}},69644,(t,e,r)=>{var n=t.r(27279),i=t.r(79104),o=t.r(95185),a=t.r(33127),u=t.r(82058);function l(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])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=u,e.exports=l},98629,(t,e,r)=>{var n=t.r(10015);e.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},53475,(t,e,r)=>{var n=t.r(85049);e.exports=function(t,e){var r=!0;return n(t,function(t,n,i){return r=!!e(t,n,i)}),r}},92714,(t,e,r)=>{var n=t.r(49057);e.exports=function(t,e,r){for(var i=-1,o=t.length;++i<o;){var a=t[i],u=e(a);if(null!=u&&(void 0===l?u==u&&!n(u):r(u,l)))var l=u,c=a}return c}},78336,(t,e,r)=>{e.exports=function(t,e){return t>e}},18219,(t,e,r)=>{e.exports=function(t,e,r,n){for(var i=t.length,o=r+(n?1:-1);n?o--:++o<i;)if(e(t[o],o,t))return o;return -1}},38916,(t,e,r)=>{var n=t.r(76723),i=t.r(48684);e.exports=function(t,e,r){var o=e(t);return i(t)?o:n(o,r(t))}},56408,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a,r,t)&&(o[i++]=a)}return o}},1107,(t,e,r)=>{e.exports=function(){return[]}},40811,(t,e,r)=>{var n=t.r(56408),i=t.r(1107),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;e.exports=a?function(t){return null==t?[]:n(a(t=Object(t)),function(e){return o.call(t,e)})}:i},80171,(t,e,r)=>{e.exports=function(t,e){return null!=t&&e in Object(t)}},90835,(t,e,r)=>{var n=t.r(58056),i=t.r(32836);e.exports=function t(e,r,o,a,u){return e===r||(null!=e&&null!=r&&(i(e)||i(r))?n(e,r,o,a,t,u):e!=e&&r!=r)}}
1,58056,(t,e,r)=>{var n=t.r(98620),i=t.r(36712),o=t.r(17744),a=t.r(4191),u=t.r(68829),l=t.r(48684),c=t.r(13272),s=t.r(75299),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(t,e,r,y,v,m){var b=l(t),g=l(e),x=b?p:u(t),O=g?p:u(e);x=x==f?d:x,O=O==f?d:O;var w=x==d,S=O==d,j=x==O;if(j&&c(t)){if(!c(e))return!1;b=!0,w=!1}if(j&&!w)return m||(m=new n),b||s(t)?i(t,e,r,y,v,m):o(t,e,x,r,y,v,m);if(!(1&r)){var P=w&&h.call(t,"__wrapped__"),E=S&&h.call(e,"__wrapped__");if(P||E){var A=P?t.value():t,k=E?e.value():e;return m||(m=new n),v(A,k,r,y,m)}}return!!j&&(m||(m=new n),a(t,e,r,y,v,m))}},81954,(t,e,r)=>{var n=t.r(98620),i=t.r(90835);e.exports=function(t,e,r,o){var a=r.length,u=a,l=!o;if(null==t)return!u;for(t=Object(t);a--;){var c=r[a];if(l&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a<u;){var s=(c=r[a])[0],f=t[s],p=c[1];if(l&&c[2]){if(void 0===f&&!(s in t))return!1}else{var d=new n;if(o)var h=o(f,p,s,t,e,d);if(!(void 0===h?i(p,f,3,o,d):h))return!1}}return!0}},85208,(t,e,r)=>{e.exports=function(t){return t!=t}},39960,(t,e,r)=>{e.exports=function(t,e,r){for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return -1}},91037,(t,e,r)=>{var n=t.r(18219),i=t.r(85208),o=t.r(39960);e.exports=function(t,e,r){return e==e?o(t,e,r):n(t,i,r)}},79617,(t,e,r)=>{var n=t.r(91037);e.exports=function(t,e){return!!(null==t?0:t.length)&&n(t,e,0)>-1}},34403,(t,e,r)=>{e.exports=function(t,e,r){for(var n=-1,i=null==t?0:t.length;++n<i;)if(r(e,t[n]))return!0;return!1}},1310,(t,e,r)=>{e.exports=function(t,e){return t<e}},10815,(t,e,r)=>{var n=t.r(92714),i=t.r(1310),o=t.r(25975);e.exports=function(t){return t&&t.length?n(t,o,i):void 0}},71239,(t,e,r)=>{var n=t.r(85049),i=t.r(79858);e.exports=function(t,e){var r=-1,o=i(t)?Array(t.length):[];return n(t,function(t,n,i){o[++r]=e(t,n,i)}),o}},43054,(t,e,r)=>{e.exports=function(t){return function(e){return null==e?void 0:e[t]}}},2503,(t,e,r)=>{var n=t.r(28267);e.exports=function(t){return function(e){return n(e,t)}}},22025,(t,e,r)=>{var n=t.r(43054),i=t.r(2503),o=t.r(70923),a=t.r(98921);e.exports=function(t){return o(t)?n(a(t)):i(t)}},5792,(t,e,r)=>{var n=t.r(8554),i=t.r(92384),o=t.r(25975),a=t.r(48684),u=t.r(22025);e.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):n(t):u(t)}},30970,(t,e,r)=>{var n=Math.ceil,i=Math.max;e.exports=function(t,e,r,o){for(var a=-1,u=i(n((e-t)/(r||1)),0),l=Array(u);u--;)l[o?u:++a]=t,t+=r;return l}},51365,(t,e,r)=>{var n=t.r(65359),i=t.r(10015),o=t.r(25975);e.exports=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:o},17035,(t,e,r)=>{var n=Date.now;e.exports=function(t){var e=0,r=0;return function(){var i=n(),o=16-(i-r);if(r=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},35886,(t,e,r)=>{var n=t.r(51365);e.exports=t.r(17035)(n)},23428,(t,e,r)=>{var n=t.r(25975),i=t.r(99491),o=t.r(35886);e.exports=function(t,e){return o(i(t,e,n),t+"")}},4519,(t,e,r)=>{var n=t.r(85049);e.exports=function(t,e){var r;return n(t,function(t,n,i){return!(r=e(t,n,i))}),!!r}},28081,(t,e,r)=>{e.exports=function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}},33483,(t,e,r)=>{e.exports=function(t,e){return t.has(e)}},36712,(t,e,r)=>{var n=t.r(50119),i=t.r(97560),o=t.r(33483);e.exports=function(t,e,r,a,u,l){var c=1&r,s=t.length,f=e.length;if(s!=f&&!(c&&f>s))return!1;var p=l.get(t),d=l.get(e);if(p&&d)return p==e&&d==t;var h=-1,y=!0,v=2&r?new n:void 0;for(l.set(t,e),l.set(e,t);++h<s;){var m=t[h],b=e[h];if(a)var g=c?a(b,m,h,e,t,l):a(m,b,h,t,e,l);if(void 0!==g){if(g)continue;y=!1;break}if(v){if(!i(e,function(t,e){if(!o(v,e)&&(m===t||u(m,t,r,a,l)))return v.push(e)})){y=!1;break}}else if(!(m===b||u(m,b,r,a,l))){y=!1;break}}return l.delete(t),l.delete(e),y}},78969,(t,e,r)=>{var n=t.r(48684),i=t.r(70923),o=t.r(42774),a=t.r(82346);e.exports=function(t,e){return n(t)?t:i(t,e)?[t]:o(a(t))}},98921,(t,e,r)=>{var n=t.r(49057),i=1/0;e.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}},28267,(t,e,r)=>{var n=t.r(78969),i=t.r(98921);e.exports=function(t,e){e=n(e,t);for(var r=0,o=e.length;null!=t&&r<o;)t=t[i(e[r++])];return r&&r==o?t:void 0}},43906,(t,e,r)=>{var n=t.r(49057);e.exports=function(t,e){if(t!==e){var r=void 0!==t,i=null===t,o=t==t,a=n(t),u=void 0!==e,l=null===e,c=e==e,s=n(e);if(!l&&!s&&!a&&t>e||a&&u&&c&&!l&&!s||i&&u&&c||!r&&c||!o)return 1;if(!i&&!a&&!s&&t<e||s&&r&&o&&!i&&!a||l&&r&&o||!u&&o||!c)return -1}return 0}},19004,(t,e,r)=>{var n=t.r(43906);e.exports=function(t,e,r){for(var i=-1,o=t.criteria,a=e.criteria,u=o.length,l=r.length;++i<u;){var c=n(o[i],a[i]);if(c){if(i>=l)return c;return c*("desc"==r[i]?-1:1)}}return t.index-e.index}},31952,(t,e,r)=>{var n=t.r(48346),i=t.r(28267),o=t.r(5792),a=t.r(71239),u=t.r(28081),l=t.r(63115),c=t.r(19004),s=t.r(25975),f=t.r(48684);e.exports=function(t,e,r){e=e.length?n(e,function(t){return f(t)?function(e){return i(e,1===t.length?t[0]:t)}:t}):[s];var p=-1;
1return e=n(e,l(o)),u(a(t,function(t,r,i){return{criteria:n(e,function(e){return e(t)}),index:++p,value:t}}),function(t,e){return c(t,e,r)})}},17823,(t,e,r)=>{e.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},99491,(t,e,r)=>{var n=t.r(17823),i=Math.max;e.exports=function(t,e,r){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,u=i(o.length-e,0),l=Array(u);++a<u;)l[a]=o[e+a];a=-1;for(var c=Array(e+1);++a<e;)c[a]=o[a];return c[e]=r(l),n(t,this,c)}}},65359,(t,e,r)=>{e.exports=function(t){return function(){return t}}},69656,(t,e,r)=>{var n=t.r(5792),i=t.r(79858),o=t.r(22335);e.exports=function(t){return function(e,r,a){var u=Object(e);if(!i(e)){var l=n(r,3);e=o(e),r=function(t){return l(u[t],t,u)}}var c=t(e,r,a);return c>-1?u[l?e[c]:c]:void 0}}},87380,(t,e,r)=>{var n=t.r(30970),i=t.r(22986),o=t.r(35190);e.exports=function(t){return function(e,r,a){return a&&"number"!=typeof a&&i(e,r,a)&&(r=a=void 0),e=o(e),void 0===r?(r=e,e=0):r=o(r),a=void 0===a?e<r?1:-1:o(a),n(e,r,a,t)}}},21689,(t,e,r)=>{e.exports=t.r(87380)()},10015,(t,e,r)=>{var n=t.r(89346);e.exports=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},77256,(t,e,r)=>{var n=t.r(38916),i=t.r(40811),o=t.r(22335);e.exports=function(t){return n(t,o,i)}},4191,(t,e,r)=>{var n=t.r(77256),i=Object.prototype.hasOwnProperty;e.exports=function(t,e,r,o,a,u){var l=1&r,c=n(t),s=c.length;if(s!=n(e).length&&!l)return!1;for(var f=s;f--;){var p=c[f];if(!(l?p in e:i.call(e,p)))return!1}var d=u.get(t),h=u.get(e);if(d&&h)return d==e&&h==t;var y=!0;u.set(t,e),u.set(e,t);for(var v=l;++f<s;){var m=t[p=c[f]],b=e[p];if(o)var g=l?o(b,m,p,e,t,u):o(m,b,p,t,e,u);if(!(void 0===g?m===b||a(m,b,r,o,u):g)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var x=t.constructor,O=e.constructor;x!=O&&"constructor"in t&&"constructor"in e&&!("function"==typeof x&&x instanceof x&&"function"==typeof O&&O instanceof O)&&(y=!1)}return u.delete(t),u.delete(e),y}},61978,(t,e,r)=>{e.exports=t.r(58705)(Object.getPrototypeOf,Object)},77697,(t,e,r)=>{var n=t.r(78969),i=t.r(45897),o=t.r(48684),a=t.r(5251),u=t.r(57279),l=t.r(98921);e.exports=function(t,e,r){e=n(e,t);for(var c=-1,s=e.length,f=!1;++c<s;){var p=l(e[c]);if(!(f=null!=t&&r(t,p)))break;t=t[p]}return f||++c!=s?f:!!(s=null==t?0:t.length)&&u(s)&&a(p,s)&&(o(t)||i(t))}},17217,(t,e,r)=>{var n=t.r(80171),i=t.r(77697);e.exports=function(t,e){return null!=t&&i(t,e,n)}},92384,(t,e,r)=>{var n=t.r(90835),i=t.r(58568),o=t.r(17217),a=t.r(70923),u=t.r(81673),l=t.r(19939),c=t.r(98921);e.exports=function(t,e){return a(t)&&u(e)?l(c(t),e):function(r){var a=i(r,t);return void 0===a&&a===e?o(r,t):n(e,a,3)}}},55300,(t,e,r)=>{var n=t.r(80783),i=t.r(45897),o=t.r(48684),a=n?n.isConcatSpreadable:void 0;e.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},66762,(t,e,r)=>{var n=t.r(76723),i=t.r(55300);e.exports=function t(e,r,o,a,u){var l=-1,c=e.length;for(o||(o=i),u||(u=[]);++l<c;){var s=e[l];r>0&&o(s)?r>1?t(s,r-1,o,a,u):n(u,s):a||(u[u.length]=s)}return u}},22986,(t,e,r)=>{var n=t.r(98373),i=t.r(79858),o=t.r(5251),a=t.r(3275);e.exports=function(t,e,r){if(!a(r))return!1;var u=typeof e;return("number"==u?!!(i(r)&&o(e,r.length)):"string"==u&&e in r)&&n(r[e],t)}},70923,(t,e,r)=>{var n=t.r(48684),i=t.r(49057),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!!("number"==r||"symbol"==r||"boolean"==r||null==t||i(t))||a.test(t)||!o.test(t)||null!=e&&t in Object(e)}},81673,(t,e,r)=>{var n=t.r(3275);e.exports=function(t){return t==t&&!n(t)}},61994,(t,e,r)=>{var n=t.r(81673),i=t.r(22335);e.exports=function(t){for(var e=i(t),r=e.length;r--;){var o=e[r],a=t[o];e[r]=[o,a,n(a)]}return e}},19939,(t,e,r)=>{e.exports=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}},8554,(t,e,r)=>{var n=t.r(81954),i=t.r(61994),o=t.r(19939);e.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},27279,(t,e,r)=>{e.exports=function(){this.__data__=[],this.size=0}},79419,(t,e,r)=>{var n=t.r(18832),i=t.r(69644),o=t.r(96138);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},95330,(t,e,r)=>{e.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},3156,(t,e,r)=>{var n=t.r(95330);e.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},23788,(t,e,r)=>{var n=t.r(3156);e.exports=function(t){var e=n(this,t).delete(t);return this.size-=!!e,e}},70364,(t,e,r)=>{var n=t.r(3156);e.exports=function(t){return n(this,t).get(t)}},40138,(t,e,r)=>{var n=t.r(3156);e.exports=function(t){return n(this,t).has(t)}},32058,(t,e,r)=>{var n=t.r(3156);e.exports=function(t,e){var r=n(this,t),i=r.size;return r.set(t,e),this.size+=+(r.size!=i),this}},33571,(t,e,r)=>{var n=t.r(79419),i=t.r(23788),o=t.r(70364),a=t.r(40138),u=t.r(32058);function l(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])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=u,e.exports=l},98749,(t,e,r)=>{e.exports=t.r(89346)(Object,"create")},73931,(t,e,r)=>{var n=t.r(98749);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},32358,(t,e,r)=>{e.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e}},4400,(t,e,r)=>{var n=t.r(98749),i=Object.prototype.hasOwnProperty;e.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(e,t)?e[t]:void 0}},88170,(t,e,r)=>{var n=t.r(98749),i=Object.prototype.hasOwnProperty;e.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:i.call(e,t)}},75942,(t,e,r)=>{var n=t.r(98749);e.exports=function(t,e){var r=this.__data__;return this.size+=+!this.has(t),r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},18832,(t,e,r)=>
1{var n=t.r(73931),i=t.r(32358),o=t.r(4400),a=t.r(88170),u=t.r(75942);function l(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])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=u,e.exports=l},28163,(t,e,r)=>{var n=t.r(69644);e.exports=function(){this.__data__=new n,this.size=0}},47546,(t,e,r)=>{e.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},92815,(t,e,r)=>{e.exports=function(t){return this.__data__.get(t)}},87250,(t,e,r)=>{e.exports=function(t){return this.__data__.has(t)}},14745,(t,e,r)=>{var n=t.r(69644),i=t.r(96138),o=t.r(33571);e.exports=function(t,e){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new o(a)}return r.set(t,e),this.size=r.size,this}},98620,(t,e,r)=>{var n=t.r(69644),i=t.r(28163),o=t.r(47546),a=t.r(92815),u=t.r(87250),l=t.r(14745);function c(t){var e=this.__data__=new n(t);this.size=e.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=u,c.prototype.set=l,e.exports=c},29549,(t,e,r)=>{e.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},30357,(t,e,r)=>{e.exports=function(t){return this.__data__.has(t)}},50119,(t,e,r)=>{var n=t.r(33571),i=t.r(29549),o=t.r(30357);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=i,a.prototype.has=o,e.exports=a},98373,(t,e,r)=>{e.exports=function(t,e){return t===e||t!=t&&e!=e}},89551,(t,e,r)=>{var n=t.r(38037),i=t.r(53475),o=t.r(5792),a=t.r(48684),u=t.r(22986);e.exports=function(t,e,r){var l=a(t)?n:i;return r&&u(t,e,r)&&(e=void 0),l(t,o(e,3))}},58568,(t,e,r)=>{var n=t.r(28267);e.exports=function(t,e,r){var i=null==t?void 0:n(t,e);return void 0===i?r:i}},64529,(t,e,r)=>{var n=t.r(90835);e.exports=function(t,e){return n(t,e)}},57140,(t,e,r)=>{e.exports=function(t){return null==t}},7402,(t,e,r)=>{var n=t.r(12904),i=t.r(61978),o=t.r(32836),a=Object.prototype,u=Function.prototype.toString,l=a.hasOwnProperty,c=u.call(Object);e.exports=function(t){if(!o(t)||"[object Object]"!=n(t))return!1;var e=i(t);if(null===e)return!0;var r=l.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==c}},36986,(t,e,r)=>{var n=t.r(12904),i=t.r(32836);e.exports=function(t){return!0===t||!1===t||i(t)&&"[object Boolean]"==n(t)}},35019,(t,e,r)=>{var n=t.r(12904),i=t.r(48684),o=t.r(32836);e.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==n(t)}},7535,(t,e,r)=>{e.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},82447,(t,e,r)=>{var n=t.r(48346),i=t.r(5792),o=t.r(71239),a=t.r(48684);e.exports=function(t,e){return(a(t)?n:o)(t,i(e,3))}},87746,(t,e,r)=>{var n=t.r(66762),i=t.r(82447);e.exports=function(t,e){return n(i(t,e),1)}},856,(t,e,r)=>{var n=t.r(98629),i=t.r(33991),o=t.r(5792);e.exports=function(t,e){var r={};return e=o(e,3),i(t,function(t,i,o){n(r,i,e(t,i,o))}),r}},21350,(t,e,r)=>{var n=t.r(92714),i=t.r(78336),o=t.r(25975);e.exports=function(t){return t&&t.length?n(t,o,i):void 0}},76116,(t,e,r)=>{var n=t.r(33571);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=t.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},59762,(t,e,r)=>{var n=t.r(76116);e.exports=function(t){var e=n(t,function(t){return 500===r.size&&r.clear(),t}),r=e.cache;return e}},42774,(t,e,r)=>{var n=t.r(59762),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g;e.exports=n(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,function(t,r,n,i){e.push(n?i.replace(o,"$1"):r||t)}),e})},87378,(t,e,r)=>{e.exports=function(){}},64163,(t,e,r)=>{var n=t.r(40682),i=t.r(87378),o=t.r(31853);e.exports=n&&1/o(new n([,-0]))[1]==1/0?function(t){return new n(t)}:i},81708,(t,e,r)=>{var n=t.r(50119),i=t.r(79617),o=t.r(34403),a=t.r(33483),u=t.r(64163),l=t.r(31853);e.exports=function(t,e,r){var c=-1,s=i,f=t.length,p=!0,d=[],h=d;if(r)p=!1,s=o;else if(f>=200){var y=e?null:u(t);if(y)return l(y);p=!1,s=a,h=new n}else h=e?[]:d;t:for(;++c<f;){var v=t[c],m=e?e(v):v;if(v=r||0!==v?v:0,p&&m==m){for(var b=h.length;b--;)if(h[b]===m)continue t;e&&h.push(m),d.push(v)}else s(h,m,r)||(h!==d&&h.push(m),d.push(v))}return d}},37994,(t,e,r)=>{var n=t.r(5792),i=t.r(81708);
1e.exports=function(t,e){return t&&t.length?i(t,n(e,2)):[]}},16710,(t,e,r)=>{var n=t.r(97560),i=t.r(5792),o=t.r(4519),a=t.r(48684),u=t.r(22986);e.exports=function(t,e,r){var l=a(t)?n:o;return r&&u(t,e,r)&&(e=void 0),l(t,i(e,3))}},48908,(t,e,r)=>{var n=t.r(66762),i=t.r(31952),o=t.r(23428),a=t.r(22986);e.exports=o(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]]),i(t,n(e,1),[])})},35190,(t,e,r)=>{var n=t.r(92921),i=1/0;e.exports=function(t){return t?(t=n(t))===i||t===-i?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0}},72285,(t,e,r)=>{var n=t.r(35190);e.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},70940,(t,e,r)=>{var n=t.r(18219),i=t.r(5792),o=t.r(72285),a=Math.max;e.exports=function(t,e,r){var u=null==t?0:t.length;if(!u)return -1;var l=null==r?0:o(r);return l<0&&(l=a(u+l,0)),n(t,i(e,3),l)}},62046,(t,e,r)=>{e.exports=t.r(69656)(t.r(70940))},92984,t=>{"use strict";var e=t.i(91788),r=t.i(91567),n=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty;function a(t,e){return function(r,n,i){return t(r,n,i)&&e(r,n,i)}}function u(t){return function(e,r,n){if(!e||!r||"object"!=typeof e||"object"!=typeof r)return t(e,r,n);var i=n.cache,o=i.get(e),a=i.get(r);if(o&&a)return o===r&&a===e;i.set(e,r),i.set(r,e);var u=t(e,r,n);return i.delete(e),i.delete(r),u}}function l(t){return n(t).concat(i(t))}var c=Object.hasOwn||function(t,e){return o.call(t,e)};function s(t,e){return t===e||!t&&!e&&t!=t&&e!=e}var f=Object.getOwnPropertyDescriptor,p=Object.keys;function d(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 h(t,e){return s(t.getTime(),e.getTime())}function y(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function v(t,e){return t===e}function m(t,e,r){var n,i,o=t.size;if(o!==e.size)return!1;if(!o)return!0;for(var a=Array(o),u=t.entries(),l=0;(n=u.next())&&!n.done;){for(var c=e.entries(),s=!1,f=0;(i=c.next())&&!i.done;){if(a[f]){f++;continue}var p=n.value,d=i.value;if(r.equals(p[0],d[0],l,f,t,e,r)&&r.equals(p[1],d[1],p[0],d[0],t,e,r)){s=a[f]=!0;break}f++}if(!s)return!1;l++}return!0}function b(t,e,r){var n=p(t),i=n.length;if(p(e).length!==i)return!1;for(;i-- >0;)if(!P(t,e,r,n[i]))return!1;return!0}function g(t,e,r){var n,i,o,a=l(t),u=a.length;if(l(e).length!==u)return!1;for(;u-- >0;)if(!P(t,e,r,n=a[u])||(i=f(t,n),o=f(e,n),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable)))return!1;return!0}function x(t,e){return s(t.valueOf(),e.valueOf())}function O(t,e){return t.source===e.source&&t.flags===e.flags}function w(t,e,r){var n,i,o=t.size;if(o!==e.size)return!1;if(!o)return!0;for(var a=Array(o),u=t.values();(n=u.next())&&!n.done;){for(var l=e.values(),c=!1,s=0;(i=l.next())&&!i.done;){if(!a[s]&&r.equals(n.value,i.value,n.value,i.value,t,e,r)){c=a[s]=!0;break}s++}if(!c)return!1}return!0}function S(t,e){var r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}function j(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function P(t,e,r,n){return("_owner"===n||"__o"===n||"__v"===n)&&(!!t.$$typeof||!!e.$$typeof)||c(e,n)&&r.equals(t[n],e[n],n,n,t,e,r)}var E=Array.isArray,A="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,k=Object.assign,T=Object.prototype.toString.call.bind(Object.prototype.toString),M=_();function _(t){void 0===t&&(t={});var e,r,n,i,o,l,c,f,p,P,M,_,C,N=t.circular,D=t.createInternalComparator,I=t.createState,B=t.strict,L=(r=(e=function(t){var e=t.circular,r=t.createCustomConfig,n=t.strict,i={areArraysEqual:n?g:d,areDatesEqual:h,areErrorsEqual:y,areFunctionsEqual:v,areMapsEqual:n?a(m,g):m,areNumbersEqual:s,areObjectsEqual:n?g:b,arePrimitiveWrappersEqual:x,areRegExpsEqual:O,areSetsEqual:n?a(w,g):w,areTypedArraysEqual:n?g:S,areUrlsEqual:j};if(r&&(i=k({},i,r(i))),e){var o=u(i.areArraysEqual),l=u(i.areMapsEqual),c=u(i.areObjectsEqual),f=u(i.areSetsEqual);i=k({},i,{areArraysEqual:o,areMapsEqual:l,areObjectsEqual:c,areSetsEqual:f})}return i}(t)).areArraysEqual,n=e.areDatesEqual,i=e.areErrorsEqual,o=e.areFunctionsEqual,l=e.areMapsEqual,c=e.areNumbersEqual,f=e.areObjectsEqual,p=e.arePrimitiveWrappersEqual,P=e.areRegExpsEqual,M=e.areSetsEqual,_=e.areTypedArraysEqual,C=e.areUrlsEqual,function(t,e,a){if(t===e)return!0;
1if(null==t||null==e)return!1;var u=typeof t;if(u!==typeof e)return!1;if("object"!==u)return"number"===u?c(t,e,a):"function"===u&&o(t,e,a);var s=t.constructor;if(s!==e.constructor)return!1;if(s===Object)return f(t,e,a);if(E(t))return r(t,e,a);if(null!=A&&A(t))return _(t,e,a);if(s===Date)return n(t,e,a);if(s===RegExp)return P(t,e,a);if(s===Map)return l(t,e,a);if(s===Set)return M(t,e,a);var d=T(t);return"[object Date]"===d?n(t,e,a):"[object RegExp]"===d?P(t,e,a):"[object Map]"===d?l(t,e,a):"[object Set]"===d?M(t,e,a):"[object Object]"===d?"function"!=typeof t.then&&"function"!=typeof e.then&&f(t,e,a):"[object URL]"===d?C(t,e,a):"[object Error]"===d?i(t,e,a):"[object Arguments]"===d?f(t,e,a):("[object Boolean]"===d||"[object Number]"===d||"[object String]"===d)&&p(t,e,a)}),R=D?D(L):function(t,e,r,n,i,o,a){return L(t,e,a)};return function(t){var e=t.circular,r=t.comparator,n=t.createState,i=t.equals,o=t.strict;if(n)return function(t,a){var u=n(),l=u.cache;return r(t,a,{cache:void 0===l?e?new WeakMap:void 0:l,equals:i,meta:u.meta,strict:o})};if(e)return function(t,e){return r(t,e,{cache:new WeakMap,equals:i,meta:void 0,strict:o})};var a={cache:void 0,equals:i,meta:void 0,strict:o};return function(t,e){return r(t,e,a)}}({circular:void 0!==N&&N,comparator:L,createState:I,equals:R,strict:void 0!==B&&B})}function C(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame(function n(i){if(r<0&&(r=i),i-r>e)t(i),r=-1;else{var o;o=n,"u">typeof requestAnimationFrame&&requestAnimationFrame(o)}})}function N(t){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function D(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function I(t){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function B(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 L(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?B(Object(r),!0).forEach(function(e){R(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function R(t,e,r){var n;return(n=function(t,e){if("object"!==I(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==I(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===I(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}_({strict:!0}),_({circular:!0}),_({circular:!0,strict:!0}),_({createInternalComparator:function(){return s}}),_({strict:!0,createInternalComparator:function(){return s}}),_({circular:!0,createInternalComparator:function(){return s}}),_({circular:!0,createInternalComparator:function(){return s},strict:!0});var z=function(t){return t},U=function(t,e){return Object.keys(e).reduce(function(r,n){return L(L({},r),{},R({},n,t(n,e[n])))},{})},F=function(t,e,r){return t.map(function(t){return"".concat(t.replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())})," ").concat(e,"ms ").concat(r)}).join(",")},$=function(t,e,r,n,i,o,a,u){};function q(t,e){if(t){if("string"==typeof t)return W(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return W(t,e)}}function W(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var V=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},H=function(t,e){return t.map(function(t,r){return t*Math.pow(e,r)}).reduce(function(t,e){return t+e})},X=function(t,e){return function(r){return H(V(t,e),r)}},G=function(){for(var t,e,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];var o=n[0],a=n[1],u=n[2],l=n[3];if(1===n.length)switch(n[0]){case"linear":o=0,a=0,u=1,l=1;break;case"ease":o=.25,a=.1,u=.25,l=1;break;case"ease-in":o=.42,a=0,u=1,l=1;break;case"ease-out":o=.42,a=0,u=.58,l=1;break;case"ease-in-out":o=0,a=0,u=.58,l=1;break;default:var c=n[0].split("(");if("cubic-bezier"===c[0]&&4===c[1].split(")")[0].split(",").length){var s,f=function(t){if(Array.isArray(t))return t}(s=c[1].split(")")[0].split(",").map(function(t){return parseFloat(t)}))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,i,o,a=[],u=!0,l=!1;try{i=(e=e.call(t)).next,!1;for(;!(u=(r=i.call(e)).done)&&(a.push(r.value),4!==a.length);u=!0);}catch(t){l=!0,n=t}
1finally{try{if(!u&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(l)throw n}}return a}}(s)||q(s,4)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();o=f[0],a=f[1],u=f[2],l=f[3]}else $(!1,"[configBezier]: arguments should be one of oneOf 'linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', instead received %s",n)}$([o,u,a,l].every(function(t){return"number"==typeof t&&t>=0&&t<=1}),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",n);var p=X(o,u),d=X(a,l),h=(t=o,e=u,function(r){var n;return H([].concat(function(t){if(Array.isArray(t))return W(t)}(n=V(t,e).map(function(t,e){return t*e}).slice(1))||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||q(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[0]),r)}),y=function(t){for(var e=t>1?1:t,r=e,n=0;n<8;++n){var i,o=p(r)-e,a=h(r);if(1e-4>Math.abs(o-e)||a<1e-4)break;r=(i=r-o/a)>1?1:i<0?0:i}return d(r)};return y.isStepper=!1,y},K=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,r=void 0===e?100:e,n=t.damping,i=void 0===n?8:n,o=t.dt,a=void 0===o?17:o,u=function(t,e,n){var o=n+(-(t-e)*r-n*i)*a/1e3,u=n*a/1e3+t;return 1e-4>Math.abs(u-e)&&1e-4>Math.abs(o)?[e,0]:[u,o]};return u.isStepper=!0,u.dt=a,u},Y=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return G(n);case"spring":return K();default:if("cubic-bezier"===n.split("(")[0])return G(n);$(!1,"[configEasing]: first argument should be one of 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', 'linear' and 'spring', instead received %s",e)}return"function"==typeof n?n:($(!1,"[configEasing]: first argument type should be function or string, instead received %s",e),null)};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})(t)}function J(t){return function(t){if(Array.isArray(t))return tn(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||tr(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function 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){te(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 te(t,e,r){var n;return(n=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,e||"default");if("object"!==Z(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===Z(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tr(t,e){if(t){if("string"==typeof t)return tn(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tn(t,e)}}function tn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var ti=function(t,e,r){return t+(e-t)*r},to=function(t){return t.from!==t.to},ta=function t(e,r,n){var i=U(function(t,r){if(to(r)){var n,i=function(t){if(Array.isArray(t))return t}(n=e(r.from,r.to,r.velocity))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,i,o,a=[],u=!0,l=!1;try{i=(e=e.call(t)).next,!1;for(;!(u=(r=i.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){l=!0,n=t}
1finally{try{if(!u&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(l)throw n}}return a}}(n)||tr(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=i[0],a=i[1];return tt(tt({},r),{},{from:o,velocity:a})}return r},r);return n<1?U(function(t,e){return to(e)?tt(tt({},e),{},{velocity:ti(e.velocity,i[t].velocity,n),from:ti(e.from,i[t].from,n)}):e},r):t(e,i,n-1)};let tu=function(t,e,r,n,i){var o,a,u=[Object.keys(t),Object.keys(e)].reduce(function(t,e){return t.filter(function(t){return e.includes(t)})}),l=u.reduce(function(r,n){return tt(tt({},r),{},te({},n,[t[n],e[n]]))},{}),c=u.reduce(function(r,n){return tt(tt({},r),{},te({},n,{from:t[n],velocity:0,to:e[n]}))},{}),s=-1,f=function(){return null};return f=r.isStepper?function(n){o||(o=n);var a=(n-o)/r.dt;c=ta(r,c,a),i(tt(tt(tt({},t),e),U(function(t,e){return e.from},c))),o=n,Object.values(c).filter(to).length&&(s=requestAnimationFrame(f))}:function(o){a||(a=o);var u=(o-a)/n,c=U(function(t,e){return ti.apply(void 0,J(e).concat([r(u)]))},l);if(i(tt(tt(tt({},t),e),c)),u<1)s=requestAnimationFrame(f);else{var p=U(function(t,e){return ti.apply(void 0,J(e).concat([r(1)]))},l);i(tt(tt(tt({},t),e),p))}},function(){return requestAnimationFrame(f),function(){cancelAnimationFrame(s)}}};function tl(t){return(tl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var tc=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function ts(t){return function(t){if(Array.isArray(t))return tf(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t){if(t){if("string"==typeof t)return tf(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return tf(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tf(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function tp(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 td(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tp(Object(r),!0).forEach(function(e){th(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tp(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function th(t,e,r){return(e=ty(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ty(t){var e=function(t,e){if("object"!==tl(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==tl(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===tl(e)?e:String(e)}function tv(t,e){return(tv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tm(t,e){if(e&&("object"===tl(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return tb(t)}function tb(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tg(t){return(tg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var tx=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&tv(o,t);var r,n,i=(r=function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=tg(o);return t=r?Reflect.construct(e,arguments,tg(this).constructor):e.apply(this,arguments),tm(this,t)});function o(t,e){if(!(this instanceof o))throw TypeError("Cannot call a class as a function");var r=i.call(this,t,e),n=r.props,a=n.isActive,u=n.attributeName,l=n.from,c=n.to,s=n.steps,f=n.children,p=n.duration;if(r.handleStyleChange=r.handleStyleChange.bind(tb(r)),r.changeStyle=r.changeStyle.bind(tb(r)),!a||p<=0)return r.state={style:{}},"function"==typeof f&&(r.state={style:c}
1),tm(r);if(s&&s.length)r.state={style:s[0].style};else if(l){if("function"==typeof f)return r.state={style:l},tm(r);r.state={style:u?th({},u,l):l}}else r.state={style:{}};return r}return n=[{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,i=e.attributeName,o=e.shouldReAnimate,a=e.to,u=e.from,l=this.state.style;if(n){if(!r){var c={style:i?th({},i,a):a};this.state&&l&&(i&&l[i]!==a||!i&&l!==a)&&this.setState(c);return}if(!M(t.to,a)||!t.canBegin||!t.isActive){var s=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var f=s||o?u:t.to;if(this.state&&l){var p={style:i?th({},i,f):f};(i&&l[i]!==f||!i&&l!==f)&&this.setState(p)}this.runAnimation(td(td({},this.props),{},{from:f,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var t=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),t&&t()}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"runJSAnimation",value:function(t){var e=this,r=t.from,n=t.to,i=t.duration,o=t.easing,a=t.begin,u=t.onAnimationEnd,l=t.onAnimationStart,c=tu(r,n,Y(o),i,this.changeStyle);this.manager.start([l,a,function(){e.stopJSAnimation=c()},i,u])}},{key:"runStepAnimation",value:function(t){var e=this,r=t.steps,n=t.begin,i=t.onAnimationStart,o=r[0],a=o.style,u=o.duration;return this.manager.start([i].concat(ts(r.reduce(function(t,n,i){if(0===i)return t;var o=n.duration,a=n.easing,u=void 0===a?"ease":a,l=n.style,c=n.properties,s=n.onAnimationEnd,f=i>0?r[i-1]:n,p=c||Object.keys(l);if("function"==typeof u||"spring"===u)return[].concat(ts(t),[e.runJSAnimation.bind(e,{from:f.style,to:l,duration:o,easing:u}),o]);var d=F(p,o,u),h=td(td(td({},f.style),l),{},{transition:d});return[].concat(ts(t),[h,o,s]).filter(z)},[a,Math.max(void 0===u?0:u,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=(e=function(){return null},r=!1,n=function t(n){if(!r){if(Array.isArray(n)){if(!n.length)return;var i=function(t){if(Array.isArray(t))return t}(n)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||function(t){if(t){if("string"==typeof t)return D(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return D(t,void 0)}}(n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=i[0],a=i.slice(1);return"number"==typeof o?void C(t.bind(null,a),o):(t(o),void C(t.bind(null,a)))}"object"===N(n)&&e(n),"function"==typeof n&&n()}},{stop:function(){r=!0},start:function(t){r=!1,n(t)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}));var e,r,n,i=t.begin,o=t.duration,a=t.attributeName,u=t.to,l=t.easing,c=t.onAnimationStart,s=t.onAnimationEnd,f=t.steps,p=t.children,d=this.manager;if(this.unSubscribe=d.subscribe(this.handleStyleChange),"function"==typeof l||"function"==typeof p||"spring"===l)return void this.runJSAnimation(t);if(f.length>1)return void this.runStepAnimation(t);var h=a?th({},a,u):u,y=F(Object.keys(h),o,l);d.start([c,i,td(td({},h),{},{transition:y}),o,s])}},{key:"render",value:function(){var t=this.props,r=t.children,n=(t.begin,t.duration),i=(t.attributeName,t.easing,t.isActive),o=(t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart,function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,tc)),a=e.Children.count(r),u=this.state.style;if("function"==typeof r)return r(u);if(!i||0===a||n<=0)return r;var l=function(t){var r=t.props,n=r.style,i=r.className;return(0,e.cloneElement)(t,td(td({},o),{},{style:td(td({},void 0===n?{}:n),u),className:i}))};return 1===a?l(e.Children.only(r)):e.default.createElement("div",null,e.Children.map(r,function(t){return l(t)}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ty(n.key),n)}}(o.prototype,n),Object.defineProperty(o,"prototype",{writable:!1}),o}(e.PureComponent);function tO(t,e){if(null==t)return{};var r={};for(var n in t)if(({}).hasOwnProperty.call(t,n)){if(-1!==e.indexOf(n))continue;r[n]=t[n]}return r}function tw(){return(tw=Object.assign.bind()).apply(null,arguments)}
1function tS(t,e){return(tS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tj(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,tS(t,e)}tx.displayName="Animate",tx.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},tx.propTypes={from:r.default.oneOfType([r.default.object,r.default.string]),to:r.default.oneOfType([r.default.object,r.default.string]),attributeName:r.default.string,duration:r.default.number,begin:r.default.number,easing:r.default.oneOfType([r.default.string,r.default.func]),steps:r.default.arrayOf(r.default.shape({duration:r.default.number.isRequired,style:r.default.object.isRequired,easing:r.default.oneOfType([r.default.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),r.default.func]),properties:r.default.arrayOf("string"),onAnimationEnd:r.default.func})),children:r.default.oneOfType([r.default.node,r.default.func]),isActive:r.default.bool,canBegin:r.default.bool,onAnimationEnd:r.default.func,shouldReAnimate:r.default.bool,onAnimationStart:r.default.func,onAnimationReStart:r.default.func};let tP=e.default.createContext(null);function tE(t,r){var n=Object.create(null);return t&&e.Children.map(t,function(t){return t}).forEach(function(t){n[t.key]=r&&(0,e.isValidElement)(t)?r(t):t}),n}function tA(t,e,r){return null!=r[e]?r[e]:t.props[e]}var tk=Object.values||function(t){return Object.keys(t).map(function(e){return t[e]})},tT=function(t){function r(e,r){var n=t.call(this,e,r)||this,i=n.handleExited.bind(function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(n));return n.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},n}tj(r,t);var n=r.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(t,r){var n,i,o=r.children,a=r.handleExited;return{children:r.firstRender?tE(t.children,function(r){return(0,e.cloneElement)(r,{onExited:a.bind(null,r),in:!0,appear:tA(r,"appear",t),enter:tA(r,"enter",t),exit:tA(r,"exit",t)})}):(Object.keys(i=function(t,e){function r(r){return r in e?e[r]:t[r]}t=t||{},e=e||{};var n,i=Object.create(null),o=[];for(var a in t)a in e?o.length&&(i[a]=o,o=[]):o.push(a);var u={};for(var l in e){if(i[l])for(n=0;n<i[l].length;n++){var c=i[l][n];u[i[l][n]]=r(c)}u[l]=r(l)}for(n=0;n<o.length;n++)u[o[n]]=r(o[n]);return u}(o,n=tE(t.children))).forEach(function(r){var u=i[r];if((0,e.isValidElement)(u)){var l=r in o,c=r in n,s=o[r],f=(0,e.isValidElement)(s)&&!s.props.in;c&&(!l||f)?i[r]=(0,e.cloneElement)(u,{onExited:a.bind(null,u),in:!0,exit:tA(u,"exit",t),enter:tA(u,"enter",t)}):c||!l||f?c&&l&&(0,e.isValidElement)(s)&&(i[r]=(0,e.cloneElement)(u,{onExited:a.bind(null,u),in:s.props.in,exit:tA(u,"exit",t),enter:tA(u,"enter",t)})):i[r]=(0,e.cloneElement)(u,{in:!1})}}),i),firstRender:!1}},n.handleExited=function(t,e){var r=tE(this.props.children);t.key in r||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState(function(e){var r=tw({},e.children);return delete r[t.key],{children:r}}))},n.render=function(){var t=this.props,r=t.component,n=t.childFactory,i=tO(t,["component","childFactory"]),o=this.state.contextValue,a=tk(this.state.children).map(n);return(delete i.appear,delete i.enter,delete i.exit,null===r)?e.default.createElement(tP.Provider,{value:o},a):e.default.createElement(tP.Provider,{value:o},e.default.createElement(r,i,a))},r}(e.default.Component);tT.propTypes={},tT.defaultProps={component:"div",childFactory:function(t){return t}};var tM=t.i(30943),t_="unmounted",tC="exited",tN="entering",tD="entered",tI="exiting",tB=function(t){function r(e,r){var n,i=t.call(this,e,r)||this,o=r&&!r.isMounting?e.enter:e.appear;return i.appearStatus=null,e.in?o?(n=tC,i.appearStatus=tN):n=tD:n=e.unmountOnExit||e.mountOnEnter?t_:tC,i.state={status:n},i.nextCallback=null,i}tj(r,t),r.getDerivedStateFromProps=function(t,e){return t.in&&e.status===t_?{status:tC}:null};var n=r.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(t){var e=null;if(t!==this.props){var r=this.state.status;this.props.in?r!==tN&&r!==tD&&(e=tN):(r===tN||r===tD)&&(e=tI)}this.updateStatus(!1,e)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.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}},n.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e)if(this.cancelNextCallback(),e===tN){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:tM.default.findDOMNode(this);r&&r.scrollTop}this.performEnter(t)}else this.performExit();else this.props.unmountOnExit&&this.state.status===tC&&this.setState({status:t_})},n.performEnter=function(t){var e=this,r=this.props.enter,n=this.context?this.context.
1isMounting:t,i=this.props.nodeRef?[n]:[tM.default.findDOMNode(this),n],o=i[0],a=i[1],u=this.getTimeouts(),l=n?u.appear:u.enter;(t||r)&&1?(this.props.onEnter(o,a),this.safeSetState({status:tN},function(){e.props.onEntering(o,a),e.onTransitionEnd(l,function(){e.safeSetState({status:tD},function(){e.props.onEntered(o,a)})})})):this.safeSetState({status:tD},function(){e.props.onEntered(o)})},n.performExit=function(){var t=this,e=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:tM.default.findDOMNode(this);e?(this.props.onExit(n),this.safeSetState({status:tI},function(){t.props.onExiting(n),t.onTransitionEnd(r.exit,function(){t.safeSetState({status:tC},function(){t.props.onExited(n)})})})):this.safeSetState({status:tC},function(){t.props.onExited(n)})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},n.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},n.onTransitionEnd=function(t,e){this.setNextCallback(e);var r=this.props.nodeRef?this.props.nodeRef.current:tM.default.findDOMNode(this),n=null==t&&!this.props.addEndListener;if(!r||n)return void setTimeout(this.nextCallback,0);if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=t&&setTimeout(this.nextCallback,t)},n.render=function(){var t=this.state.status;if(t===t_)return null;var r=this.props,n=r.children,i=(r.in,r.mountOnEnter,r.unmountOnExit,r.appear,r.enter,r.exit,r.timeout,r.addEndListener,r.onEnter,r.onEntering,r.onEntered,r.onExit,r.onExiting,r.onExited,r.nodeRef,tO(r,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return e.default.createElement(tP.Provider,{value:null},"function"==typeof n?n(t,i):e.default.cloneElement(e.default.Children.only(n),i))},r}(e.default.Component);function tL(){}tB.contextType=tP,tB.propTypes={},tB.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:tL,onEntering:tL,onEntered:tL,onExit:tL,onExiting:tL,onExited:tL},tB.UNMOUNTED=t_,tB.EXITED=tC,tB.ENTERING=tN,tB.ENTERED=tD,tB.EXITING=tI;var tR=["children","appearOptions","enterOptions","leaveOptions"];function tz(t){return(tz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tU(){return(tU=Object.assign.bind()).apply(this,arguments)}function tF(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 t$(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tF(Object(r),!0).forEach(function(e){tH(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tF(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tq(t,e){return(tq=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tW(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
1function tV(t){return(tV=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tH(t,e,r){return(e=tX(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tX(t){var e=function(t,e){if("object"!==tz(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==tz(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===tz(e)?e:String(e)}var tG=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},tK=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&tq(o,t);var r,n,i=(r=function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=tV(o);return t=r?Reflect.construct(e,arguments,tV(this).constructor):e.apply(this,arguments),function(t,e){if(e&&("object"===tz(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return tW(t)}(this,t)});function o(){var t;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return tH(tW(t=i.call(this)),"handleEnter",function(e,r){var n=t.props,i=n.appearOptions,o=n.enterOptions;t.handleStyleActive(r?i:o)}),tH(tW(t),"handleExit",function(){var e=t.props.leaveOptions;t.handleStyleActive(e)}),t.state={isActive:!1},t}return n=[{key:"handleStyleActive",value:function(t){if(t){var e=t.onAnimationEnd?function(){t.onAnimationEnd()}:null;this.setState(t$(t$({},t),{},{onAnimationEnd:e,isActive:!0}))}}},{key:"parseTimeout",value:function(){var t=this.props,e=t.appearOptions,r=t.enterOptions,n=t.leaveOptions;return tG(e)+tG(r)+tG(n)}},{key:"render",value:function(){var t=this,r=this.props,n=r.children,i=(r.appearOptions,r.enterOptions,r.leaveOptions,function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(r,tR));return e.default.createElement(tB,tU({},i,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),function(){return e.default.createElement(tx,t.state,e.Children.only(n))})}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tX(n.key),n)}}(o.prototype,n),Object.defineProperty(o,"prototype",{writable:!1}),o}(e.Component);function tY(t){var r=t.component,n=t.children,i=t.appear,o=t.enter,a=t.leave;return e.default.createElement(tT,{component:r},e.Children.map(n,function(t,r){return e.default.createElement(tK,{appearOptions:i,enterOptions:o,leaveOptions:a,key:"child-".concat(r)},t)}))}tK.propTypes={appearOptions:r.default.object,enterOptions:r.default.object,leaveOptions:r.default.object,children:r.default.element},tY.propTypes={appear:r.default.object,enter:r.default.object,leave:r.default.object,children:r.default.oneOfType([r.default.array,r.default.element]),component:r.default.any},tY.defaultProps={component:"span"},t.s(["default",0,tx],92984)},21020,t=>{"use strict";var e=t.i(91788),r=t.i(56206),n=t.i(92984),i=t.i(38299),o=t.i(21350),a=t.i(57140),u=t.i(52792),l=t.i(64529),c=t.i(66998),s=t.i(28233),f=t.i(79472),p=t.i(1426),d=t.i(57216),h=t.i(70627),y=t.i(3315),v=t.i(6043),m=["layout","type","stroke","connectNulls","isRange","ref"],b=["key"];function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function x(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function O(){return(O=Object.assign.bind()).apply(this,arguments)}function w(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]:{};
1e%2?w(Object(r),!0).forEach(function(e){k(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function j(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,T(n.key),n)}}function P(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(P=function(){return!!t})()}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function A(t,e){return(A=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function k(t,e,r){return(e=T(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function T(t){var e=function(t,e){if("object"!=g(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=g(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==g(e)?e:e+""}var M=function(t){var s,d;function y(){var t,e,r;if(!(this instanceof y))throw TypeError("Cannot call a class as a function");for(var n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];return e=y,r=[].concat(o),e=E(e),k(t=function(t,e){if(e&&("object"===g(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,P()?Reflect.construct(e,r||[],E(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!0}),k(t,"id",(0,h.uniqueId)("recharts-area-")),k(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),(0,i.default)(e)&&e()}),k(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),(0,i.default)(e)&&e()}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return y.prototype=Object.create(t&&t.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),t&&A(y,t),s=[{key:"renderDots",value:function(t,r,n){var i=this.props.isAnimationActive,o=this.state.isAnimationFinished;if(i&&!o)return null;var a=this.props,u=a.dot,l=a.points,c=a.dataKey,s=(0,v.filterProps)(this.props,!1),p=(0,v.filterProps)(u,!0),d=l.map(function(t,e){var r=S(S(S({key:"dot-".concat(e),r:3},s),p),{},{index:e,cx:t.x,cy:t.y,dataKey:c,value:t.value,payload:t.payload,points:l});return y.renderDotItem(u,r)}),h={clipPath:t?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return e.default.createElement(f.Layer,O({className:"recharts-area-dots"},h),d)}},{key:"renderHorizontalRect",value:function(t){var r=this.props,n=r.baseLine,i=r.points,a=r.strokeWidth,u=i[0].x,l=i[i.length-1].x,c=t*Math.abs(u-l),s=(0,o.default)(i.map(function(t){return t.y||0}
1));return((0,h.isNumber)(n)&&"number"==typeof n?s=Math.max(n,s):n&&Array.isArray(n)&&n.length&&(s=Math.max((0,o.default)(n.map(function(t){return t.y||0})),s)),(0,h.isNumber)(s))?e.default.createElement("rect",{x:u<l?u:u-c,y:0,width:c,height:Math.floor(s+(a?parseInt("".concat(a),10):1))}):null}},{key:"renderVerticalRect",value:function(t){var r=this.props,n=r.baseLine,i=r.points,a=r.strokeWidth,u=i[0].y,l=i[i.length-1].y,c=t*Math.abs(u-l),s=(0,o.default)(i.map(function(t){return t.x||0}));return((0,h.isNumber)(n)&&"number"==typeof n?s=Math.max(n,s):n&&Array.isArray(n)&&n.length&&(s=Math.max((0,o.default)(n.map(function(t){return t.x||0})),s)),(0,h.isNumber)(s))?e.default.createElement("rect",{x:0,y:u<l?u:u-c,width:s+(a?parseInt("".concat(a),10):1),height:Math.floor(c)}):null}},{key:"renderClipRect",value:function(t){return"vertical"===this.props.layout?this.renderVerticalRect(t):this.renderHorizontalRect(t)}},{key:"renderAreaStatically",value:function(t,r,n,i){var o=this.props,a=o.layout,u=o.type,l=o.stroke,s=o.connectNulls,p=o.isRange,d=(o.ref,x(o,m));return e.default.createElement(f.Layer,{clipPath:n?"url(#clipPath-".concat(i,")"):null},e.default.createElement(c.Curve,O({},(0,v.filterProps)(d,!0),{points:t,connectNulls:s,type:u,baseLine:r,layout:a,stroke:"none",className:"recharts-area-area"})),"none"!==l&&e.default.createElement(c.Curve,O({},(0,v.filterProps)(this.props,!1),{className:"recharts-area-curve",layout:a,type:u,connectNulls:s,fill:"none",points:t})),"none"!==l&&p&&e.default.createElement(c.Curve,O({},(0,v.filterProps)(this.props,!1),{className:"recharts-area-curve",layout:a,type:u,connectNulls:s,fill:"none",points:r})))}},{key:"renderAreaWithAnimation",value:function(t,r){var i=this,o=this.props,l=o.points,c=o.baseLine,s=o.isAnimationActive,p=o.animationBegin,d=o.animationDuration,y=o.animationEasing,v=o.animationId,m=this.state,b=m.prevPoints,g=m.prevBaseLine;return e.default.createElement(n.default,{begin:p,duration:d,isActive:s,easing:y,from:{t:0},to:{t:1},key:"area-".concat(v),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(n){var o=n.t;if(b){var s,p=b.length/l.length,d=l.map(function(t,e){var r=Math.floor(e*p);if(b[r]){var n=b[r],i=(0,h.interpolateNumber)(n.x,t.x),a=(0,h.interpolateNumber)(n.y,t.y);return S(S({},t),{},{x:i(o),y:a(o)})}return t});return s=(0,h.isNumber)(c)&&"number"==typeof c?(0,h.interpolateNumber)(g,c)(o):(0,a.default)(c)||(0,u.default)(c)?(0,h.interpolateNumber)(g,0)(o):c.map(function(t,e){var r=Math.floor(e*p);if(g[r]){var n=g[r],i=(0,h.interpolateNumber)(n.x,t.x),a=(0,h.interpolateNumber)(n.y,t.y);return S(S({},t),{},{x:i(o),y:a(o)})}return t}),i.renderAreaStatically(d,s,t,r)}return e.default.createElement(f.Layer,null,e.default.createElement("defs",null,e.default.createElement("clipPath",{id:"animationClipPath-".concat(r)},i.renderClipRect(o))),e.default.createElement(f.Layer,{clipPath:"url(#animationClipPath-".concat(r,")")},i.renderAreaStatically(l,c,t,r)))})}},{key:"renderArea",value:function(t,e){var r=this.props,n=r.points,i=r.baseLine,o=r.isAnimationActive,a=this.state,u=a.prevPoints,c=a.prevBaseLine,s=a.totalLength;return o&&n&&n.length&&(!u&&s>0||!(0,l.default)(u,n)||!(0,l.default)(c,i))?this.renderAreaWithAnimation(t,e):this.renderAreaStatically(n,i,t,e)}},{key:"render",value:function(){var t,n=this.props,i=n.hide,o=n.dot,u=n.points,l=n.className,c=n.top,s=n.left,d=n.xAxis,h=n.yAxis,y=n.width,m=n.height,b=n.isAnimationActive,g=n.id;if(i||!u||!u.length)return null;var x=this.state.isAnimationFinished,O=1===u.length,w=(0,r.default)("recharts-area",l),S=d&&d.allowDataOverflow,j=h&&h.allowDataOverflow,P=S||j,E=(0,a.default)(g)?this.id:g,A=null!=(t=(0,v.filterProps)(o,!1))?t:{r:3,strokeWidth:2},k=A.r,T=A.strokeWidth,M=((0,v.hasClipDot)(o)?o:{}).clipDot,_=void 0===M||M,C=2*(void 0===k?3:k)+(void 0===T?2:T);return e.default.createElement(f.Layer,{className:w},S||j?e.default.createElement("defs",null,e.default.createElement("clipPath",{id:"clipPath-".concat(E)},e.default.createElement("rect",{x:S?s:s-y/2,y:j?c:c-m/2,width:S?y:2*y,height:j?m:2*m})),!_&&e.default.createElement("clipPath",{id:"clipPath-dots-".concat(E)},e.default.createElement("rect",{x:s-C/2,y:c-C/2,width:y+C,height:m+C}))):null,O?null:this.renderArea(P,E),(o||O)&&this.renderDots(P,_,E),(!b||x)&&p.LabelList.renderCallByParent(this.props,u))}}],d=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,curBaseLine:t.baseLine,prevPoints:e.curPoints,prevBaseLine:e.curBaseLine}:t.points!==e.curPoints||t.baseLine!==e.curBaseLine?{curPoints:t.points,curBaseLine:t.baseLine}:null}}],s&&j(y.prototype,s),d&&j(y,d),Object.defineProperty(y,"prototype",{writable:!1}),y}(e.PureComponent);k(M,"displayName","Area"),k(M,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendT
1ype:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!d.Global.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),k(M,"getBaseValue",function(t,e,r,n){var i=t.layout,o=t.baseValue,a=e.props.baseValue,u=null!=a?a:o;if((0,h.isNumber)(u)&&"number"==typeof u)return u;var l="horizontal"===i?n:r,c=l.scale.domain();if("number"===l.type){var s=Math.max(c[0],c[1]),f=Math.min(c[0],c[1]);return"dataMin"===u?f:"dataMax"===u||s<0?s:Math.max(Math.min(c[0],c[1]),0)}return"dataMin"===u?c[0]:"dataMax"===u?c[1]:c[0]}),k(M,"getComposedData",function(t){var e,r=t.props,n=t.item,i=t.xAxis,o=t.yAxis,a=t.xAxisTicks,u=t.yAxisTicks,l=t.bandSize,c=t.dataKey,s=t.stackedData,f=t.dataStartIndex,p=t.displayedData,d=t.offset,h=r.layout,v=s&&s.length,m=M.getBaseValue(r,n,i,o),b="horizontal"===h,g=!1,x=p.map(function(t,e){v?r=s[f+e]:Array.isArray(r=(0,y.getValueByDataKey)(t,c))?g=!0:r=[m,r];var r,n=null==r[1]||v&&null==(0,y.getValueByDataKey)(t,c);return b?{x:(0,y.getCateCoordinateOfLine)({axis:i,ticks:a,bandSize:l,entry:t,index:e}),y:n?null:o.scale(r[1]),value:r,payload:t}:{x:n?null:i.scale(r[1]),y:(0,y.getCateCoordinateOfLine)({axis:o,ticks:u,bandSize:l,entry:t,index:e}),value:r,payload:t}});return e=v||g?x.map(function(t){var e=Array.isArray(t.value)?t.value[0]:null;return b?{x:t.x,y:null!=e&&null!=t.y?o.scale(e):null}:{x:null!=e?i.scale(e):null,y:t.y}}):b?o.scale(m):i.scale(m),S({points:x,baseLine:e,layout:h,isRange:g},d)}),k(M,"renderDotItem",function(t,n){var o;if(e.default.isValidElement(t))o=e.default.cloneElement(t,n);else if((0,i.default)(t))o=t(n);else{var a=(0,r.default)("recharts-area-dot","boolean"!=typeof t?t.className:""),u=n.key,l=x(n,b);o=e.default.createElement(s.Dot,O({},l,{key:u,className:a}))}return o}),t.s(["Area",0,M])},16942,t=>{"use strict";var e=t.i(91788),r=t.i(56206),n=t.i(56639),i=t.i(38299),o=t.i(21689),a=t.i(79472),u=t.i(61320),l=t.i(3315),c=t.i(70627);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(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 p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach(function(e){d(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function d(t,e,r){var n;return(n=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==s(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var h=["Webkit","Moz","O","ms"],y=function(t,e){if(!t)return null;var r=t.replace(/(\w)/,function(t){return t.toUpperCase()}),n=h.reduce(function(t,n){return p(p({},t),{},d({},n+r,e))},{});return n[t]=e,n},v=t.i(6043);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(){return(b=Object.assign.bind()).apply(this,arguments)}function g(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 x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach(function(e){P(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEac
1h(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function O(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,E(n.key),n)}}function w(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(w=function(){return!!t})()}function S(t){return(S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function j(t,e){return(j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function P(t,e,r){return(e=E(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function E(t){var e=function(t,e){if("object"!=m(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=m(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==m(e)?e:e+""}var A=function(t){var e=t.data,r=t.startIndex,i=t.endIndex,a=t.x,u=t.width,l=t.travellerWidth;if(!e||!e.length)return{};var c=e.length,s=(0,n.scalePoint)().domain((0,o.default)(0,c)).range([a,a+u-l]),f=s.domain().map(function(t){return s(t)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:s(r),endX:s(i),scale:s,scaleValues:f}},k=function(t){return t.changedTouches&&!!t.changedTouches.length},T=function(t){var n,o;function s(t){var e,r,n;if(!(this instanceof s))throw TypeError("Cannot call a class as a function");return r=s,n=[t],r=S(r),P(e=function(t,e){if(e&&("object"===m(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,w()?Reflect.construct(r,n||[],S(this).constructor):r.apply(this,n)),"handleDrag",function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)}),P(e,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])}),P(e,"handleDragEnd",function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var t=e.props,r=t.endIndex,n=t.onDragEnd,i=t.startIndex;null==n||n({endIndex:r,startIndex:i})}),e.detachDragEndListener()}),P(e,"handleLeaveWrapper",function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))}),P(e,"handleEnterSlideOrTraveller",function(){e.setState({isTextActive:!0})}),P(e,"handleLeaveSlideOrTraveller",function(){e.setState({isTextActive:!1})}),P(e,"handleSlideDragStart",function(t){var r=k(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),e.attachDragEndListener()}),e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(e,"startX"),endX:e.handleTravellerDragStart.bind(e,"endX")},e.state={},e}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return s.prototype=Object.create(t&&t.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),t&&j(s,t),n=[{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,i=this.props,o=i.gap,a=i.data.length-1,u=Math.min(e,r),l=Math.max(e,r),c=s.getIndexInRange(n,u),f=s.getIndexInRange(n,l);return{startIndex:c-c%o,endIndex:f===a?a:f-f%o}}},{key:"getTextOfTick",value:function(t){var e=this.props,r=e.data,n=e.tickFormatter,o=e.dataKey,a=(0,l.getValueByDataKey)(r[t],o,t);return(0,i.default)(n)?n(a,t):a}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(t){var e=this.state,r=e.slideMoveStartX,n=e.startX,i=e.endX,o=this.props,a=o.x,u=o.width,l=o.travellerWidth,c=o.startIndex,s=o.endIndex,f=o.onChange,p=t.pageX-r;p>0?p=Math.min(p,a+u-l-i,a+u-l-n):p<0&&(p=Math.max(p,a-n,a-i));var d=this.getIndex({startX:n+p,endX:i+p});(d.startIndex!==c||d.endIndex!==s)&&f&&f(d),this.setState({startX:n+p,endX:i+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=k(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e=this.state,r=e.brushMoveStartX,n=e.movingTravellerId,i=e.endX,o=e.startX,a=this.state[n],u=this.props,l=u.x,c=u.width,s=u.travellerWidth,f=u.onChange,p=u.gap,d=u.data,h={startX:this.state.startX,endX:this.state.endX},y=t.pageX-r;y>0?y=Math.min(y,l+c-s-a):y<0&&(y=Math.max(y,l-a)),h[n]=a+y;var v=this.getIndex(h),m=v.startIndex,b=v.endIndex,g=function(){var t=d.length-1;return"startX"===n&&(i>o?m%p==0:b%p==0)||!!(i<o)&&b===t||"endX"===n&&(i>o?b%p==0:m%p==0)||!!(i>o)&&b===t};this.setState(P(P({},n,a+y),"brushMoveStartX",t.pageX),function(){f&&g()&&f(v)})}},{key:"handleTravellerMoveKeyboard",value:function(t,e){var r=this,n=this.state,i=n.scaleValues,o=n.startX,a=n.endX,u=this.state[e],l=i.indexOf(u);if(-1!==l){var c=l+t;if(-1!==c&&!(c>=i.length)){var s=i[c];"startX"===e&&s>=a||"endX"===e&&s<=o||this.setState(P({},e,s),function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.
1state.endX}))})}}}},{key:"renderBackground",value:function(){var t=this.props,r=t.x,n=t.y,i=t.width,o=t.height,a=t.fill,u=t.stroke;return e.default.createElement("rect",{stroke:u,fill:a,x:r,y:n,width:i,height:o})}},{key:"renderPanorama",value:function(){var t=this.props,r=t.x,n=t.y,i=t.width,o=t.height,a=t.data,u=t.children,l=t.padding,c=e.Children.only(u);return c?e.default.cloneElement(c,{x:r,y:n,width:i,height:o,margin:l,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(t,r){var n,i,o=this,u=this.props,l=u.y,c=u.travellerWidth,f=u.height,p=u.traveller,d=u.ariaLabel,h=u.data,y=u.startIndex,m=u.endIndex,b=Math.max(t,this.props.x),g=x(x({},(0,v.filterProps)(this.props,!1)),{},{x:b,y:l,width:c,height:f}),O=d||"Min value: ".concat(null==(n=h[y])?void 0:n.name,", Max value: ").concat(null==(i=h[m])?void 0:i.name);return e.default.createElement(a.Layer,{tabIndex:0,role:"slider","aria-label":O,"aria-valuenow":t,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[r],onTouchStart:this.travellerDragStartHandlers[r],onKeyDown:function(t){["ArrowLeft","ArrowRight"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),o.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,r))},onFocus:function(){o.setState({isTravellerFocused:!0})},onBlur:function(){o.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},s.renderTraveller(p,g))}},{key:"renderSlide",value:function(t,r){var n=this.props,i=n.y,o=n.height,a=n.stroke,u=n.travellerWidth,l=Math.min(t,r)+u,c=Math.max(Math.abs(r-t)-u,0);return e.default.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:l,y:i,width:c,height:o})}},{key:"renderText",value:function(){var t=this.props,r=t.startIndex,n=t.endIndex,i=t.y,o=t.height,l=t.travellerWidth,c=t.stroke,s=this.state,f=s.startX,p=s.endX,d={pointerEvents:"none",fill:c};return e.default.createElement(a.Layer,{className:"recharts-brush-texts"},e.default.createElement(u.Text,b({textAnchor:"end",verticalAnchor:"middle",x:Math.min(f,p)-5,y:i+o/2},d),this.getTextOfTick(r)),e.default.createElement(u.Text,b({textAnchor:"start",verticalAnchor:"middle",x:Math.max(f,p)+l+5,y:i+o/2},d),this.getTextOfTick(n)))}},{key:"render",value:function(){var t=this.props,n=t.data,i=t.className,o=t.children,u=t.x,l=t.y,s=t.width,f=t.height,p=t.alwaysShowText,d=this.state,h=d.startX,v=d.endX,m=d.isTextActive,b=d.isSlideMoving,g=d.isTravellerMoving,x=d.isTravellerFocused;if(!n||!n.length||!(0,c.isNumber)(u)||!(0,c.isNumber)(l)||!(0,c.isNumber)(s)||!(0,c.isNumber)(f)||s<=0||f<=0)return null;var O=(0,r.default)("recharts-brush",i),w=1===e.default.Children.count(o),S=y("userSelect","none");return e.default.createElement(a.Layer,{className:O,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:S},this.renderBackground(),w&&this.renderPanorama(),this.renderSlide(h,v),this.renderTravellerLayer(h,"startX"),this.renderTravellerLayer(v,"endX"),(m||b||g||x||p)&&this.renderText())}}],o=[{key:"renderDefaultTraveller",value:function(t){var r=t.x,n=t.y,i=t.width,o=t.height,a=t.stroke,u=Math.floor(n+o/2)-1;return e.default.createElement(e.default.Fragment,null,e.default.createElement("rect",{x:r,y:n,width:i,height:o,fill:a,stroke:"none"}),e.default.createElement("line",{x1:r+1,y1:u,x2:r+i-1,y2:u,fill:"none",stroke:"#fff"}),e.default.createElement("line",{x1:r+1,y1:u+2,x2:r+i-1,y2:u+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,r){return e.default.isValidElement(t)?e.default.cloneElement(t,r):(0,i.default)(t)?t(r):s.renderDefaultTraveller(r)}},{key:"getDerivedStateFromProps",value:function(t,e){var r=t.data,n=t.width,i=t.x,o=t.travellerWidth,a=t.updateId,u=t.startIndex,l=t.endIndex;if(r!==e.prevData||a!==e.prevUpdateId)return x({prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n},r&&r.length?A({data:r,width:n,x:i,travellerWidth:o,startIndex:u,endIndex:l}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||i!==e.prevX||o!==e.prevTravellerWidth)){e.scale.range([i,i+n-o]);var c=e.scale.domain().map(function(t){return e.scale(t)});return{prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:c}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=t.length,n=0,i=r-1;i-n>1;){var o=Math.floor((n+i)/2);t[o]>e?i=o:n=o}return e>=t[i]?i:n}}],n&&O(s.prototype,n),o&&O(s,o),Object.defineProperty(s,"prototype",{writable:!1}),s}(e.PureComponent);P(T,"displayName","Brush"),P(T,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1}),t.s(["Brush",0,T],16942)},17907,t=>{"use strict";
1var e=t.i(91788),r=t.i(92984),n=t.i(38299),i=t.i(57140),o=t.i(64529),a=t.i(56206),u=t.i(66998),l=t.i(28233),c=t.i(79472),s=t.i(1426),f=t.i(92402),p=t.i(70627),d=t.i(6043),h=t.i(57216),y=t.i(3315),v=["type","layout","connectNulls","ref"],m=["key"];function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function x(){return(x=Object.assign.bind()).apply(this,arguments)}function O(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 w(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?O(Object(r),!0).forEach(function(e){T(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function S(t){return function(t){if(Array.isArray(t))return j(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t){if(t){if("string"==typeof t)return j(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return j(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function P(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,M(n.key),n)}}function E(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(E=function(){return!!t})()}function A(t){return(A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function k(t,e){return(k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function T(t,e,r){return(e=M(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function M(t){var e=function(t,e){if("object"!=b(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=b(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==b(e)?e:e+""}var _=function(t){var h,O;function j(){var t,e,r;if(!(this instanceof j))throw TypeError("Cannot call a class as a function");for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return e=j,r=[].concat(i),e=A(e),T(t=function(t,e){if(e&&("object"===b(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,E()?Reflect.construct(e,r||[],A(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!0,totalLength:0}),T(t,"generateSimpleStrokeDasharray",function(t,e){return"".concat(e,"px ").concat(t-e,"px")}),T(t,"getStrokeDasharray",function(e,r,n){var i=n.reduce(function(t,e){return t+e});if(!i)return t.generateSimpleStrokeDasharray(r,e);for(var o=Math.floor(e/i),a=e%i,u=r-e,l=[],c=0,s=0;c<n.length;s+=n[c],++c)if(s+n[c]>a){l=[].concat(S(n.slice(0,c)),[a-s]);break}var f=l.length%2==0?[0,u]:[u];return[].concat(S(j.repeat(n,o)),S(l),f).map(function(t){return"".concat(t,"px")}).join(", ")}),T(t,"id",(0,p.uniqueId)("recharts-line-")),T(t,"pathRef",function(e){t.mainCurve=e}),T(t,"handleAnimationEnd",function(){t.setState({isAnimationFinished:!0}),t.props.onAnimationEnd&&t.props.onAnimationEnd()}),T(t,"handleAnimationStart",function(){t.setState({isAnimationFinished:!1}),t.props.onAnimationStart&&t.props.onAnimationStart()}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return j.prototype=Object.create(t&&t.prototype,{constructor:{value:j,writable:!0,configurable:!0}}),Object.defineProperty(j,"prototype",{writable:!1}),t&&k(j,t),h=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var t=this.getTotalLength();this.setState({totalLength:t})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var t=this.getTotalLength();t!==this.state.totalLength&&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,r){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,i=n.points,o=n.xAxis,a=n.yAxis,u=n.layout,l=n.children,s=(0,d.findAllByType)(l,f.ErrorBar);if(!s)return null;var p=function(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:(0,y.getValueByDataKey)(t.payload,e)}};return e.default.createElement(c.Layer,{clipPath:t?"url(#clipPath-".concat(r,")"):null},s.map(function(t){return e.default.cloneElement(t,{key:"bar-".concat(t.props.dataKey),data:i,xAxis:o,yAxis:a,layout:u,dataPointFormatter:p})}))}},{key:"renderDots",value:function(t,r,n){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var i=this.props,o=i.dot,a=i.points,u=i.dataKey,l=(0,d.filterProps)(this.props,!1),s=(0,d.filterProps)(o,!0),f=a.map(function(t,e){var r=w(w(w({key:"dot-".concat(e),r:3},l),s),{},{index:e,cx:t.x,cy:t.y,value:t.value,dataKey:u,payload:t.payload,points:a});return j.renderDotItem(o,r)}),p={clipPath:t?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return e.default.createElement(c.Layer,x({className:"recharts-line-dots",key:"dots"},p),f)}},{key:"renderCurveStatically",value:function(t,r,n,i){var o=this.props,a=o.type,l=o.layout,c=o.connectNulls,s=(o.ref,g(o,v)),f=w(w(w({},(0,d.filterProps)(s,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:r?"url(#clipPath-".concat(n,")"):null,points:t},i),{},{type:a,layout:l,connectNulls:c});return e.default.createElement(u.Curve,x({},f,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(t,n){var i=this,o=this.props,a=o.points,u=o.strokeDasharray,l=o.isAnimationActive,c=o.animationBegin,s=o.animationDuration,f=o.animationEasing,d=o.animationId,h=o.animateNewValues,y=o.width,v=o.height,m=this.state,b=m.prevPoints,g=m.totalLength;return e.default.createElement(r.default,{begin:c,duration:s,isActive:l,easing:f,from:{t:0},to:{t:1},key:"line-".concat(d),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(e){var r,o=e.t;if(b){var l=b.length/a.length,c=a.map(function(t,e){var r=Math.floor(e*l);if(b[r]){var n=b[r],i=(0,p.interpolateNumber)(n.x,t.x),a=(0,p.interpolateNumber)(n.y,t.y);return w(w({},t),{},{x:i(o),y:a(o)})}if(h){var u=(0,p.interpolateNumber)(2*y,t.x),c=(0,p.interpolateNumber)(v/2,t.y);return w(w({},t),{}
1,{x:u(o),y:c(o)})}return w(w({},t),{},{x:t.x,y:t.y})});return i.renderCurveStatically(c,t,n)}var s=(0,p.interpolateNumber)(0,g)(o);if(u){var f="".concat(u).split(/[,\s]+/gim).map(function(t){return parseFloat(t)});r=i.getStrokeDasharray(s,g,f)}else r=i.generateSimpleStrokeDasharray(g,s);return i.renderCurveStatically(a,t,n,{strokeDasharray:r})})}},{key:"renderCurve",value:function(t,e){var r=this.props,n=r.points,i=r.isAnimationActive,a=this.state,u=a.prevPoints,l=a.totalLength;return i&&n&&n.length&&(!u&&l>0||!(0,o.default)(u,n))?this.renderCurveWithAnimation(t,e):this.renderCurveStatically(n,t,e)}},{key:"render",value:function(){var t,r=this.props,n=r.hide,o=r.dot,u=r.points,l=r.className,f=r.xAxis,p=r.yAxis,h=r.top,y=r.left,v=r.width,m=r.height,b=r.isAnimationActive,g=r.id;if(n||!u||!u.length)return null;var x=this.state.isAnimationFinished,O=1===u.length,w=(0,a.default)("recharts-line",l),S=f&&f.allowDataOverflow,j=p&&p.allowDataOverflow,P=S||j,E=(0,i.default)(g)?this.id:g,A=null!=(t=(0,d.filterProps)(o,!1))?t:{r:3,strokeWidth:2},k=A.r,T=A.strokeWidth,M=((0,d.hasClipDot)(o)?o:{}).clipDot,_=void 0===M||M,C=2*(void 0===k?3:k)+(void 0===T?2:T);return e.default.createElement(c.Layer,{className:w},S||j?e.default.createElement("defs",null,e.default.createElement("clipPath",{id:"clipPath-".concat(E)},e.default.createElement("rect",{x:S?y:y-v/2,y:j?h:h-m/2,width:S?v:2*v,height:j?m:2*m})),!_&&e.default.createElement("clipPath",{id:"clipPath-dots-".concat(E)},e.default.createElement("rect",{x:y-C/2,y:h-C/2,width:v+C,height:m+C}))):null,!O&&this.renderCurve(P,E),this.renderErrorBar(P,E),(O||o)&&this.renderDots(P,_,E),(!b||x)&&s.LabelList.renderCallByParent(this.props,u))}}],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(S(t),[0]):t,n=[],i=0;i<e;++i)n=[].concat(S(n),S(r));return n}},{key:"renderDotItem",value:function(t,r){var i;if(e.default.isValidElement(t))i=e.default.cloneElement(t,r);else if((0,n.default)(t))i=t(r);else{var o=r.key,u=g(r,m),c=(0,a.default)("recharts-line-dot","boolean"!=typeof t?t.className:"");i=e.default.createElement(l.Dot,x({key:o},u,{className:c}))}return i}}],h&&P(j.prototype,h),O&&P(j,O),Object.defineProperty(j,"prototype",{writable:!1}),j}(e.PureComponent);T(_,"displayName","Line"),T(_,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!h.Global.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),T(_,"getComposedData",function(t){var e=t.props,r=t.xAxis,n=t.yAxis,o=t.xAxisTicks,a=t.yAxisTicks,u=t.dataKey,l=t.bandSize,c=t.displayedData,s=t.offset,f=e.layout;return w({points:c.map(function(t,e){var c=(0,y.getValueByDataKey)(t,u);return"horizontal"===f?{x:(0,y.getCateCoordinateOfLine)({axis:r,ticks:o,bandSize:l,entry:t,index:e}),y:(0,i.default)(c)?null:n.scale(c),value:c,payload:t}:{x:(0,i.default)(c)?null:r.scale(c),y:(0,y.getCateCoordinateOfLine)({axis:n,ticks:a,bandSize:l,entry:t,index:e}),value:c,payload:t}}),layout:f},s)}),t.s(["Line",0,_])},80667,t=>{"use strict";var e=t.i(91788),r=t.i(38299),n=t.i(56206),i=t.i(79472),o=t.i(5e3),a=t.i(40626),u=t.i(27826),l=t.i(70627),c=t.i(91461),s=t.i(55345),f=t.i(6043);function p(){return(p=Object.assign.bind()).apply(this,arguments)}function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function y(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?h(Object(r),!0).forEach(function(e){g(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function v(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(v=function(){return!!t})()}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function b(t,e){return(b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function g(t,e,r){return(e=x(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function x(t){var e=function(t,e){if("object"!=d(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=d(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==d(e)?e:e+""}var O=function(t,e,r,n,i){var o=i.x1,l=i.x2,c=i.y1,s=i.y2,f=i.xAxis,p=i.yAxis;if(!f||!p)return null;var d=(0,a.createLabeledScales)({x:f.scale,y:p.scale}),h={x:t?d.x.apply(o,{position:"start"}):d.x.rangeMin,y:r?d.y.apply(c,{position:"start"}):d.y.rangeMin},y={x:e?d.x.apply(l,{position:"end"}):d.x.rangeMax,y:n?d.y.apply(s,{position:"end"}):d.y.rangeMax};return!(0,u.ifOverflowMatches)(i,"discard")||d.isInRange(h)&&d.isInRange(y)?(0,a.rectWithPoints)(h,y):null},w=function(t){var r;function a(){var t,e;if(!(this instanceof a))throw TypeError("Cannot call a class as a function");return t=a,e=arguments,t=m(t),function(t,e){if(e&&("object"===d(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,v()?Reflect.construct(t,e||[],m(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return a.prototype=Object.create(t&&t.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),t&&b(a,t),r=[{key:"render",value:function(){var t=this.props,r=t.x1,s=t.x2,p=t.y1,d=t.y2,h=t.className,v=t.alwaysShow,m=t.clipPathId;(0,c.warn)(void 0===v,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var b=(0,l.isNumOrStr)(r),g=(0,l.isNumOrStr)(s),x=(0,l.isNumOrStr)(p),w=(0,l.isNumOrStr)(d),S=this.props.shape;if(!b&&!g&&!x&&!w&&!S)return null;var j=O(b,g,x,w,this.props);if(!j&&!S)return null;var P=(0,u.ifOverflowMatches)(this.props,"hidden")?"url(#".concat(m,")"):void 0;return e.default.createElement(i.Layer,{className:(0,n.default)("recharts-reference-area",h)},a.renderRect(S,y(y({clipPath:P},(0,f.filterProps)(this.props,!0)),j)),o.Label.renderCallByParent(this.props,j))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,x(n.key),n)}}(a.prototype,r),Object.defineProperty(a,"prototype",{writable:!1}),a}(e.default.Component);g(w,"displayName","ReferenceArea"),g(w,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),g(w,"renderRect",function(t,n){return e.default.isValidElement(t)?e.default.cloneElement(t,n):(0,r.default)(t)?t(n):e.default.createElement(s.Rectangle,p({},n,{className:"recharts-reference-area-rect"}))}),t.s(["ReferenceArea",0,w])},5106,t=>{"use strict";var e=t.i(91788),r=t.i(38299),n=t.i(56206),i=t.i(79472),o=t.i(28233),a=t.i(5e3),u=t.i(70627),l=t.i(27826),c=t.i(40626),s=t.i(91461),f=t.i(6043);function p(){return(p=Object.assign.bind()).apply(this,arguments)}function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function y(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?h(Object(r),!0).forEach(function(e){g(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function v(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(v=function(){return!!t})()}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function b(t,e){return(b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function g(t,e,r){return(e=x(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function x(t){var e=function(t,e){if("object"!=d(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=d(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==d(e)?e:e+""}var O=function(t){var e=t.x,r=t.y,n=t.xAxis,i=t.yAxis,o=(0,c.createLabeledScales)({x:n.scale,y:i.scale}),a=o.apply({x:e,y:r},{bandAware:!0});return(0,l.ifOverflowMatches)(t,"discard")&&!o.isInRange(a)?null:a},w=function(t){var r;function o(){var t,e;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return t=o,e=arguments,t=m(t),function(t,e){if(e&&("object"===d(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,v()?Reflect.construct(t,e||[],m(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&b(o,t),r=[{key:"render",value:function(){var t=this.props,r=t.x,c=t.y,p=t.r,d=t.alwaysShow,h=t.clipPathId,v=(0,u.isNumOrStr)(r),m=(0,u.isNumOrStr)(c);if((0,s.warn)(void 0===d,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!v||!m)return null;var b=O(this.props);if(!b)return null;var g=b.x,x=b.y,w=this.props,S=w.shape,j=w.className,P=y(y({clipPath:(0,l.ifOverflowMatches)(this.props,"hidden")?"url(#".concat(h,")"):void 0},(0,f.filterProps)(this.props,!0)),{},{cx:g,cy:x});return e.default.createElement(i.Layer,{className:(0,n.default)("recharts-reference-dot",j)},o.renderDot(S,P),a.Label.renderCallByParent(this.props,{x:g-p,y:x-p,width:2*p,height:2*p}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,x(n.key),n)}}(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(e.default.Component);g(w,"displayName","ReferenceDot"),g(w,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),g(w,"renderDot",function(t,n){return e.default.isValidElement(t)?e.default.cloneElement(t,n):(0,r.default)(t)?t(n):e.default.createElement(o.Dot,p({},n,{cx:n.cx,cy:n.cy,className:"recharts-reference-dot-dot"}))}),t.s(["ReferenceDot",0,w])},86443,t=>{"use strict";var e=t.i(91788),r=t.i(38299),n=t.i(16710),i=t.i(56206),o=t.i(79472),a=t.i(5e3),u=t.i(27826),l=t.i(70627),c=t.i(40626),s=t.i(91461),f=t.i(6043),p=t.i(1841);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(h=function(){return!!t})()}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function v(t,e){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function m(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 b(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?m(Object(r),!0).forEach(function(e){g(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function g(t,e,r){return(e=x(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function x(t){var e=function(t,e){if("object"!=d(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=d(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==d(e)?e:e+""}function O(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function w(){return(w=Object.assign.bind()).apply(this,arguments)}var S=function(t,n){return e.default.isValidElement(t)?e.default.cloneElement(t,n):(0,r.default)(t)?t(n):e.default.createElement("line",w({},n,{className:"recharts-reference-line-line"}))},j=function(t,e,r,i,o,a,l,c,s){var f=o.x,p=o.y,d=o.width,h=o.height;if(r){var y=s.y,v=t.y.apply(y,{position:a});if((0,u.ifOverflowMatches)(s,"discard")&&!t.y.isInRange(v))return null;var m=[{x:f+d,y:v},{x:f,y:v}];return"left"===c?m.reverse():m}if(e){var b=s.x,g=t.x.apply(b,{position:a});if((0,u.ifOverflowMatches)(s,"discard")&&!t.x.isInRange(g))return null;var x=[{x:g,y:p+h},{x:g,y:p}];return"top"===l?x.reverse():x}if(i){var O=s.segment.map(function(e){return t.apply(e,{position:a})});return(0,u.ifOverflowMatches)(s,"discard")&&(0,n.default)(O,function(e){return!t.isInRange(e)})?null:O}return null};function P(t){var r=t.x,n=t.y,d=t.segment,h=t.xAxisId,y=t.yAxisId,v=t.shape,m=t.className,g=t.alwaysShow,x=(0,p.useClipPathId)(),w=(0,p.useXAxisOrThrow)(h),P=(0,p.useYAxisOrThrow)(y),E=(0,p.useViewBox)();if(!x||!E)return null;(0,s.warn)(void 0===g,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var A=j((0,c.createLabeledScales)({x:w.scale,y:P.scale}),(0,l.isNumOrStr)(r),(0,l.isNumOrStr)(n),d&&2===d.length,E,t.position,w.orientation,P.orientation,t);if(!A)return null;var k=function(t){if(Array.isArray(t))return t}(A)||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,i,o,a=[],u=!0,l=!1;try{i=(e=e.call(t)).next,!1;for(;!(u=(r=i.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){l=!0,n=t}finally{try{if(!u&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(l)throw n}}return a}}(A)||function(t){if(t){if("string"==typeof t)return O(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return O(t,2)}}(A)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),T=k[0],M=T.x,_=T.y,C=k[1],N=C.x,D=C.y,I=b(b({clipPath:(0,u.ifOverflowMatches)(t,"hidden")?"url(#".concat(x,")"):void 0},(0,f.filterProps)(t,!0)),{},{x1:M,y1:_,x2:N,y2:D});return e.default.createElement(o.Layer,{className:(0,i.default)("recharts-reference-line",m)},S(v,I),a.Label.renderCallByParent(t,(0,c.rectWithCoords)({x1:M,y1:_,x2:N,y2:D})))}var E=function(t){var r;function n(){var t,e;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return t=n,e=arguments,t=y(t),function(t,e){if(e&&("object"===d(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,h()?Reflect.construct(t,e||[],y(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&v(n,t),r=[{key:"render",value:function(){return e.default.createElement(P,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,x(n.key),n)}}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(e.default.Component);g(E,"displayName","ReferenceLine"),g(E,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"}),t.s(["ReferenceLine",0,E])},56902,76835,t=>{"use strict";var e=t.i(91788),r=t.i(56206),n=t.i(1841),i=t.i(38299),o=t.i(58568),a=t.i(8140),u=t.i(79472),l=t.i(61320),c=t.i(5e3),s=t.i(70627),f=t.i(78979),p=t.i(6043),d=t.i(2227),h=t.i(57216),y=t.i(40626);function v(t,e,r){if(e<1)return[];if(1===e&&void 0===r)return t;for(var n=[],i=0;i<t.length;i+=e)if(void 0!==r&&!0!==r(t[i]))return;else n.push(t[i]);return n}function m(t,e,r,n,i){if(t*e<t*n||t*e>t*i)return!1;var o=r();return t*(e-t*o/2-n)>=0&&t*(e+t*o/2-i)<=0}function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(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 x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?g(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=b(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=b(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==b(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var O=["viewBox"],w=["viewBox"],S=["ticks"];function j(t){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(){return(P=Object.assign.bind()).apply(this,arguments)}function E(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 A(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?E(Object(r),!0).forEach(function(e){N(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function k(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function T(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,D(n.key),n)}}function M(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(M=function(){return!!t})()}function _(t){return(_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function C(t,e){return(C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function N(t,e,r){return(e=D(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function D(t){var e=function(t,e){if("object"!=j(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=j(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==j(e)?e:e+""}var I=function(t){var n,b;function g(t){var e,r,n;if(!(this instanceof g))throw TypeError("Cannot call a class as a function");return r=g,n=[t],r=_(r),(e=function(t,e){if(e&&("object"===j(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,M()?Reflect.construct(r,n||[],_(this).constructor):r.apply(this,n))).state={fontSize:"",letterSpacing:""},e}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return g.prototype=Object.create(t&&t.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),t&&C(g,t),n=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=k(t,O),i=this.props,o=i.viewBox,u=k(i,w);return!(0,a.shallowEqual)(r,o)||!(0,a.shallowEqual)(n,u)||!(0,a.shallowEqual)(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})}}}
1,{key:"getTickLineCoord",value:function(t){var e,r,n,i,o,a,u=this.props,l=u.x,c=u.y,f=u.width,p=u.height,d=u.orientation,h=u.tickSize,y=u.mirror,v=u.tickMargin,m=y?-1:1,b=t.tickSize||h,g=(0,s.isNumber)(t.tickCoord)?t.tickCoord:t.coordinate;switch(d){case"top":e=r=t.coordinate,a=(n=(i=c+!y*p)-m*b)-m*v,o=g;break;case"left":n=i=t.coordinate,o=(e=(r=l+!y*f)-m*b)-m*v,a=g;break;case"right":n=i=t.coordinate,o=(e=(r=l+y*f)+m*b)+m*v,a=g;break;default:e=r=t.coordinate,a=(n=(i=c+y*p)+m*b)+m*v,o=g}return{line:{x1:e,y1:n,x2:r,y2:i},tick:{x:o,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,n=t.x,i=t.y,a=t.width,u=t.height,l=t.orientation,c=t.mirror,s=t.axisLine,f=A(A(A({},(0,p.filterProps)(this.props,!1)),(0,p.filterProps)(s,!1)),{},{fill:"none"});if("top"===l||"bottom"===l){var d=+("top"===l&&!c||"bottom"===l&&c);f=A(A({},f),{},{x1:n,y1:i+d*u,x2:n+a,y2:i+d*u})}else{var h=+("left"===l&&!c||"right"===l&&c);f=A(A({},f),{},{x1:n+h*a,y1:i,x2:n+h*a,y2:i+u})}return e.default.createElement("line",P({},f,{className:(0,r.default)("recharts-cartesian-axis-line",(0,o.default)(s,"className"))}))}},{key:"renderTicks",value:function(t,n,a){var l=this,c=this.props,b=c.tickLine,O=c.stroke,w=c.tick,S=c.tickFormatter,j=c.unit,E=function(t,e,r){var n,o,a,u,l,c=t.tick,f=t.ticks,p=t.viewBox,b=t.minTickGap,g=t.orientation,O=t.interval,w=t.tickFormatter,S=t.unit,j=t.angle;if(!f||!f.length||!c)return[];if((0,s.isNumber)(O)||h.Global.isSsr)return v(f,("number"==typeof O&&(0,s.isNumber)(O)?O:0)+1);var P="top"===g||"bottom"===g?"width":"height",E=S&&"width"===P?(0,d.getStringSize)(S,{fontSize:e,letterSpacing:r}):{width:0,height:0},A=function(t,n){var o,a,u=(0,i.default)(w)?w(t.value,n):t.value;return"width"===P?(o=(0,d.getStringSize)(u,{fontSize:e,letterSpacing:r}),a={width:o.width+E.width,height:o.height+E.height}
1,(0,y.getAngledRectangleWidth)(a,j)):(0,d.getStringSize)(u,{fontSize:e,letterSpacing:r})[P]},k=f.length>=2?(0,s.mathSign)(f[1].coordinate-f[0].coordinate):1,T=(n="width"===P,o=p.x,a=p.y,u=p.width,l=p.height,1===k?{start:n?o:a,end:n?o+u:a+l}:{start:n?o+u:a+l,end:n?o:a});return"equidistantPreserveStart"===O?function(t,e,r,n,i){for(var o,a=(n||[]).slice(),u=e.start,l=e.end,c=0,s=1,f=u;s<=a.length;)if(o=function(){var e,o=null==n?void 0:n[c];if(void 0===o)return{v:v(n,s)};var a=c,p=function(){return void 0===e&&(e=r(o,a)),e},d=o.coordinate,h=0===c||m(t,d,p,f,l);h||(c=0,f=u,s+=1),h&&(f=d+t*(p()/2+i),c+=s)}())return o.v;return[]}(k,T,A,f,b):("preserveStart"===O||"preserveStartEnd"===O?function(t,e,r,n,i,o){var a=(n||[]).slice(),u=a.length,l=e.start,c=e.end;if(o){var s=n[u-1],f=r(s,u-1),p=t*(s.coordinate+t*f/2-c);a[u-1]=s=x(x({},s),{},{tickCoord:p>0?s.coordinate-p*t:s.coordinate}),m(t,s.tickCoord,function(){return f},l,c)&&(c=s.tickCoord-t*(f/2+i),a[u-1]=x(x({},s),{},{isShow:!0}))}for(var d=o?u-1:u,h=function(e){var n,o=a[e],u=function(){return void 0===n&&(n=r(o,e)),n};if(0===e){var s=t*(o.coordinate-t*u()/2-l);a[e]=o=x(x({},o),{},{tickCoord:s<0?o.coordinate-s*t:o.coordinate})}else a[e]=o=x(x({},o),{},{tickCoord:o.coordinate});m(t,o.tickCoord,u,l,c)&&(l=o.tickCoord+t*(u()/2+i),a[e]=x(x({},o),{},{isShow:!0}))},y=0;y<d;y++)h(y);return a}(k,T,A,f,b,"preserveStartEnd"===O):function(t,e,r,n,i){for(var o=(n||[]).slice(),a=o.length,u=e.start,l=e.end,c=function(e){var n,c=o[e],s=function(){return void 0===n&&(n=r(c,e)),n};if(e===a-1){var f=t*(c.coordinate+t*s()/2-l);o[e]=c=x(x({},c),{},{tickCoord:f>0?c.coordinate-f*t:c.coordinate})}else o[e]=c=x(x({},c),{},{tickCoord:c.coordinate});m(t,c.tickCoord,s,u,l)&&(l=c.tickCoord-t*(s()/2+i),o[e]=x(x({},c),{},{isShow:!0}))},s=a-1;s>=0;s--)c(s);return o}(k,T,A,f,b)).filter(function(t){return t.isShow})}(A(A({},this.props),{},{ticks:t}),n,a),k=this.getTickTextAnchor(),T=this.getTickVerticalAnchor(),M=(0,p.filterProps)(this.props,!1),_=(0,p.filterProps)(w,!1),C=A(A({},M),{},{fill:"none"},(0,p.filterProps)(b,!1)),N=E.map(function(t,n){var a=l.getTickLineCoord(t),c=a.line,s=a.tick,p=A(A(A(A({textAnchor:k,verticalAnchor:T},M),{},{stroke:"none",fill:O},_),s),{},{index:n,payload:t,visibleTicksCount:E.length,tickFormatter:S});return e.default.createElement(u.Layer,P({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},(0,f.adaptEventsOfChild)(l.props,t,n)),b&&e.default.createElement("line",P({},C,c,{className:(0,r.default)("recharts-cartesian-axis-tick-line",(0,o.default)(b,"className"))})),w&&g.renderTickItem(w,p,"".concat((0,i.default)(S)?S(t.value,n):t.value).concat(j||"")))});return e.default.createElement("g",{className:"recharts-cartesian-axis-ticks"},N)}},{key:"render",value:function(){var t=this,n=this.props,o=n.axisLine,a=n.width,l=n.height,s=n.ticksGenerator,f=n.className;if(n.hide)return null;var p=this.props,d=p.ticks,h=k(p,S),y=d;return((0,i.default)(s)&&(y=s(d&&d.length>0?this.props:h)),a<=0||l<=0||!y||!y.length)?null:e.default.createElement(u.Layer,{className:(0,r.default)("recharts-cartesian-axis",f),ref:function(e){t.layerReference=e}},o&&this.renderAxisLine(),this.renderTicks(y,this.state.fontSize,this.state.letterSpacing),c.Label.renderCallByParent(this.props))}}],b=[{key:"renderTickItem",value:function(t,n,o){var a=(0,r.default)(n.className,"recharts-cartesian-axis-tick-value");return e.default.isValidElement(t)?e.default.cloneElement(t,A(A({},n),{},{className:a})):(0,i.default)(t)?t(A(A({},n),{},{className:a})):e.default.createElement(l.Text,P({},n,{className:"recharts-cartesian-axis-tick-value"}),o)}}],n&&T(g.prototype,n),b&&T(g,b),Object.defineProperty(g,"prototype",{writable:!1}),g}(e.Component);N(I,"displayName","CartesianAxis"),N(I,"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 B=t.i(3315);function L(t){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function R(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(R=function(){return!!t})()}function z(t){return(z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
1function U(t,e){return(U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function F(t,e,r){return(e=$(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $(t){var e=function(t,e){if("object"!=L(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=L(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==L(e)?e:e+""}function q(){return(q=Object.assign.bind()).apply(this,arguments)}function W(t){var i=t.xAxisId,o=(0,n.useChartWidth)(),a=(0,n.useChartHeight)(),u=(0,n.useXAxisOrThrow)(i);return null==u?null:e.createElement(I,q({},u,{className:(0,r.default)("recharts-".concat(u.axisType," ").concat(u.axisType),u.className),viewBox:{x:0,y:0,width:o,height:a},ticksGenerator:function(t){return(0,B.getTicksOfAxis)(t,!0)}}))}var V=function(t){var r;function n(){var t,e;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return t=n,e=arguments,t=z(t),function(t,e){if(e&&("object"===L(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,R()?Reflect.construct(t,e||[],z(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&U(n,t),r=[{key:"render",value:function(){return e.createElement(W,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,$(n.key),n)}}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(e.Component);function H(t){return(H="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)}F(V,"displayName","XAxis"),F(V,"defaultProps",{allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0}),t.s(["XAxis",0,V],56902);function X(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(X=function(){return!!t})()}function G(t){return(G=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function K(t,e){return(K=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Y(t,e,r){return(e=Z(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Z(t){var e=function(t,e){if("object"!=H(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=H(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==H(e)?e:e+""}function J(){return(J=Object.assign.bind()).apply(this,arguments)}var Q=function(t){var i=t.yAxisId,o=(0,n.useChartWidth)(),a=(0,n.useChartHeight)(),u=(0,n.useYAxisOrThrow)(i);return null==u?null:e.createElement(I,J({},u,{className:(0,r.default)("recharts-".concat(u.axisType," ").concat(u.axisType),u.className),viewBox:{x:0,y:0,width:o,height:a},ticksGenerator:function(t){return(0,B.getTicksOfAxis)(t,!0)}}))},tt=function(t){var r;function n(){var t,e;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return t=n,e=arguments,t=G(t),function(t,e){if(e&&("object"===H(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,X()?Reflect.construct(t,e||[],G(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&K(n,t),r=[{key:"render",value:function(){return e.createElement(Q,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Z(n.key),n)}}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(e.Component);Y(tt,"displayName","YAxis"),Y(tt,"defaultProps",{allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1}),t.s(["YAxis",0,tt],76835)},97250,t=>{"use strict";
1var e=t.i(91788),r=t.i(57140),n=t.i(38299),i=t.i(21689),o=t.i(58568),a=t.i(48908),u=t.i(31254),l=t.i(56206),c=t.i(34534),s=t.i(77541),f=t.i(79472),p=t.i(94713),d=t.i(81264),h=t.i(28233),y=t.i(55345),v=t.i(6043),m=t.i(16942),b=t.i(2227),g=t.i(70627),x=t.i(3315),O=t.i(9117),w=t.i(17101),S=t.i(93555),j=t.i(8140),P=t.i(60737),E=t.i(78979),A=t.i(67136),k=t.i(79268),T=t.i(34959),M=t.i(66998);function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var C=["x","y","top","left","width","height","className"];function N(){return(N=Object.assign.bind()).apply(this,arguments)}function D(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}var I=function(t){var r=t.x,n=void 0===r?0:r,i=t.y,o=void 0===i?0:i,a=t.top,u=void 0===a?0:a,c=t.left,s=void 0===c?0:c,f=t.width,p=void 0===f?0:f,d=t.height,h=void 0===d?0:d,y=t.className,m=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?D(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=_(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==_(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({x:n,y:o,top:u,left:s,width:p,height:h},function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,C));return(0,g.isNumber)(n)&&(0,g.isNumber)(o)&&(0,g.isNumber)(p)&&(0,g.isNumber)(h)&&(0,g.isNumber)(u)&&(0,g.isNumber)(s)?e.default.createElement("path",N({},(0,v.filterProps)(m,!0),{className:(0,l.default)("recharts-cross",y),d:"M".concat(n,",").concat(u,"v").concat(h,"M").concat(s,",").concat(o,"h").concat(p)})):null};function B(t){var e=t.cx,r=t.cy,n=t.radius,i=t.startAngle,o=t.endAngle;return{points:[(0,S.polarToCartesian)(e,r,n,i),(0,S.polarToCartesian)(e,r,n,o)],cx:e,cy:r,radius:n,startAngle:i,endAngle:o}}var L=t.i(96915);function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function z(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 U(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?z(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=R(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=R(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==R(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function F(t){var r,n,i,o,a=t.element,u=t.tooltipEventType,c=t.isActive,s=t.activeCoordinate,f=t.activePayload,p=t.offset,d=t.activeTooltipIndex,h=t.tooltipAxisBandSize,m=t.layout,b=t.chartName,g=null!=(n=a.props.cursor)?n:null==(i=a.type.defaultProps)?void 0:i.cursor;if(!a||!g||!c||!s||"ScatterChart"!==b&&"axis"!==u)return null;var x=M.Curve;if("ScatterChart"===b)o=s,x=I;else if("BarChart"===b)r=h/2,o={stroke:"none",fill:"#ccc",x:"horizontal"===m?s.x-r:p.left+.5,y:"horizontal"===m?p.top+.5:s.y-r,width:"horizontal"===m?h:p.width-1,height:"horizontal"===m?p.height-1:h},x=y.Rectangle;else if("radial"===m){var O=B(s),w=O.cx,j=O.cy,P=O.radius;o={cx:w,cy:j,startAngle:O.startAngle,endAngle:O.endAngle,innerRadius:P,outerRadius:P},x=L.Sector}else o={points:function(t,e,r){var n,i,o,a;if("horizontal"===t)o=n=e.x,i=r.top,a=r.top+r.height;
1else if("vertical"===t)a=i=e.y,n=r.left,o=r.left+r.width;else if(null!=e.cx&&null!=e.cy)if("centric"!==t)return B(e);else{var u=e.cx,l=e.cy,c=e.innerRadius,s=e.outerRadius,f=e.angle,p=(0,S.polarToCartesian)(u,l,c,f),d=(0,S.polarToCartesian)(u,l,s,f);n=p.x,i=p.y,o=d.x,a=d.y}return[{x:n,y:i},{x:o,y:a}]}(m,s,p)},x=M.Curve;var E=U(U(U(U({stroke:"#ccc",pointerEvents:"none"},p),o),(0,v.filterProps)(g,!1)),{},{payload:f,payloadIndex:d,className:(0,l.default)("recharts-tooltip-cursor",g.className)});return(0,e.isValidElement)(g)?(0,e.cloneElement)(g,E):(0,e.createElement)(x,E)}var $=t.i(1841),q=["item"],W=["children","className","width","height","style","compact","title","desc"];function V(t){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function H(){return(H=Object.assign.bind()).apply(this,arguments)}function X(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],l=!0,c=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,e)||Q(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function K(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(K=function(){return!!t})()}function Y(t){return(Y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Z(t,e){return(Z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function J(t){return function(t){if(Array.isArray(t))return tt(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Q(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(t,e){if(t){if("string"==typeof t)return tt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tt(t,e)}}function tt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function te(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 tr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?te(Object(r),!0).forEach(function(e){tn(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):te(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tn(t,e,r){return(e=ti(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ti(t){var e=function(t,e){if("object"!=V(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=V(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==V(e)?e:e+""}var to={xAxis:["bottom","top"],yAxis:["left","right"]},ta={width:"100%",height:"100%"},tu={x:0,y:0};function tl(t){return t}var tc=function(t,e,r,n){var i=e.find(function(t){return t&&t.index===r});if(i){if("horizontal"===t)return{x:i.coordinate,y:n.y};if("vertical"===t)return{x:n.x,y:i.coordinate};if("centric"===t){var o=i.coordinate,a=n.radius;return tr(tr(tr({},n),(0,S.polarToCartesian)(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var u=i.coordinate,l=n.angle;return tr(tr(tr({},n),(0,S.polarToCartesian)(n.cx,n.cy,u,l)),{},{angle:l,radius:u})}return tu},ts=function(t,e){var r=e.graphicalItems,n=e.dataStartIndex,i=e.dataEndIndex,o=(null!=r?r:[]).reduce(function(t,e){var r=e.props.data;return r&&r.length?[].concat(J(t),J(r)):t},[]);return o.length>0?o:t&&t.length&&(0,g.isNumber)(n)&&(0,g.isNumber)(i)?t.slice(n,i+1):[]};function tf(t){return"number"===t?[0,"auto"]:void 0}var tp=function(t,e,r,n){var i=t.graphicalItems,o=t.tooltipAxis,a=ts(e,t);return r<0||!i||!i.length||r>=a.length?null:i.reduce(function(i,u){var l,c,s=null!=(l=u.props.data)?l:e;if(s&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(s=s.slice(t.dataStartIndex,t.dataEndIndex+1)),o.dataKey&&!o.allowDuplicatedCategory){var f=void 0===s?a:s;c=(0,g.findEntryInArray)(f,o.dataKey,n)}else c=s&&s[r]||a[r];return c?[].concat(J(i),[(0,x.getTooltipItem)(u,c)]):i},[])},td=function(t,e,r,n){var i=n||{x:t.chartX,y:t.chartY},o="horizontal"===r?i.x:"vertical"===r?i.y:"centric"===r?i.angle:i.radius,a=t.orderedTooltipTicks,u=t.tooltipAxis,l=t.tooltipTicks,c=(0,x.calculateActiveTickIndex)(o,a,l,u);if(c>=0&&l){var s=l[c]&&l[c].value,f=tp(t,e,c,s),p=tc(r,a,c,i);return{activeTooltipIndex:c,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},th=function(t,e){var n=e.axes,o=e.graphicalItems,a=e.axisType,u=e.axisIdKey,l=e.stackGroups,c=e.dataStartIndex,s=e.dataEndIndex,f=t.layout,p=t.children,d=t.stackOffset,h=(0,x.isCategoricalAxis)(f,a);return n.reduce(function(e,n){var y=void 0!==n.type.defaultProps?tr(tr({},n.type.defaultProps),n.props):n.props,v=y.type,m=y.dataKey,b=y.allowDataOverflow,O=y.allowDuplicatedCategory,S=y.scale,j=y.ticks,P=y.includeHidden,E=y[u];if(e[E])return e;var A=ts(t.data,{graphicalItems:o.filter(function(t){var e;return(u in t.props?t.props[u]:null==(e=t.type.defaultProps)?void 0:e[u])===E}),dataStartIndex:c,dataEndIndex:s}),T=A.length;(0,k.isDomainSpecifiedByUser)(y.domain,b,v)&&(C=(0,x.parseSpecifiedDomain)(y.domain,null,b),h&&("number"===v||"auto"!==S)&&(D=(0,x.getDomainOfDataByKey)(A,m,"category")));var M=tf(v);if(!C||0===C.length){var _,C,N,D,I,B=null!=(I=y.domain)?I:M;if(m){if(C=(0,x.getDomainOfDataByKey)(A,m,v),"category"===v&&h){var L=(0,g.hasDuplicate)(C);O&&L?(N=C,C=(0,i.default)(0,T)):O||(C=(0,x.parseDomainOfCategoryAxis)(B,C,n).reduce(function(t,e){return t.indexOf(e)>=0?t:[].concat(J(t),[e])},[]))}else if("category"===v)C=O?C.filter(function(t){return""!==t&&!(0,r.default)(t)}):(0,x.parseDomainOfCategoryAxis)(B,C,n).reduce(function(t,e){return t.indexOf(e)>=0||""===e||(0,r.default)(e)?t:[].concat(J(t),[e])},[]);else if("number"===v){var R=(0,x.parseErrorBarsOfAxis)(A,o.filter(function(t){var e,r,n=u in t.props?t.props[u]:null==(e=t.type.defaultProps)?void 0:e[u],i="hide"in t.props?t.props.hide:null==(r=t.type.defaultProps)?void 0:r.hide;return n===E&&(P||!i)}),m,a,f);R&&(C=R)}h&&("number"===v||"auto"!==S)&&(D=(0,x.getDomainOfDataByKey)(A,m,"category"))}else C=h?(0,i.default)(0,T):l&&l[E]&&l[E].hasStack&&"number"===v?"expand"===d?[0,1]:(0,x.getDomainOfStackGroups)(l[E].stackGroups,c,s):(0,x.getDomainOfItemsWithSameAxis)(A,o.filter(function(t){var e=u in t.props?t.props[u]:t.type.defaultProps[u],r="hide"in t.props?t.props.hide:t.type.defaultProps.hide;return e===E&&(P||!r)}),v,f,!0);"number"===v?(C=(0,w.detectReferenceElementsDomain)(p,C,E,a,j),B&&(C=(0,x.parseSpecifiedDomain)(B,C,b))):"category"===v&&B&&C.every(function(t){return B.indexOf(t)>=0})&&(C=B)}return tr(tr({},e),{},tn({},E,tr(tr({},y),{},{axisType:a,domain:C,categoricalDomain:D,duplicateDomain:N,originalDomain:null!=(_=y.domain)?_:M,isCategorical:h,layout:f})))},{})},ty=function(t,e){var r=e.graphicalItems,n=e.Axis,a=e.axisType,u=e.axisIdKey,l=e.stackGroups,c=e.dataStartIndex,s=e.dataEndIndex,f=t.layout,p=t.children,d=ts(t.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:s}),h=d.length,y=(0,x.isCategoricalAxis)(f,a),v=-1;return r.reduce(function(t,e){var m,b=(void 0!==e.type.defaultProps?tr(tr({},e.type.defaultProps),e.props):e.props)[u],g=tf("number");return t[b]?t:(v++,y?m=(0,i.default)(0,h):(m=l&&l[b]&&l[b].hasStack?(0,x.getDomainOfStackGroups)(l[b].stackGroups,c,s):(0,x.parseSpecifiedDomain)(g,(0,x.getDomainOfItemsWithSameAxis)(d,r.filter(function(t){var e,r,n=u in t.props?t.props[u]:null==(e=t.type.defaultProps)?void 0:e[u],i="hide"in t.props?t.props.hide:null==(r=t.type.defaultProps)?void 0:r.hide;return n===b&&!i}),"number",f),n.defaultProps.allowDataOverflow),m=(0,w.detectReferenceElementsDomain)(p,m,b,a)),tr(tr({},t),{},tn({},b,tr(tr({axisType:a},n.defaultProps),{},{hide:!0,orientation:(0,o.default)(to,"".concat(a,".").concat(v%2),null),domain:m,originalDomain:g,isCategorical:y,layout:f}))))},{})},tv=function(t,e){var r=e.axisType,n=void 0===r?"xAxis":r,i=e.AxisComp,o=e.graphicalItems,a=e.stackGroups,u=e.dataStartIndex,l=e.dataEndIndex,c=t.children,s="".concat(n,"Id"),f=(0,v.findAllByType)(c,i),p={};return f&&f.length?p=th(t,{axes:f,graphicalItems:o,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:u,dataEndIndex:l}):o&&o.length&&(p=ty(t,{Axis:i,graphicalItems:o,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:u,dataEndIndex:l})),p},tm=function(t){var e=(0,g.getAnyElementOfObject)(t),r=(0,x.getTicksOfAxis)(e,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:(0,a.default)(r,function(t){return t.coordinate}),tooltipAxis:e,tooltipAxisBandSize:(0,x.getBandSizeOfAxis)(e,r)}},tb=function(t){var e=t.children,r=t.defaultShowTooltip,n=(0,v.findChildByType)(e,m.Brush),i=0,o=0;return t.data&&0!==t.data.length&&(o=t.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(i=n.props.startIndex),n.props.endIndex>=0&&(o=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:!!r}},tg=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"}},tx=function(t,e){var r=t.props,n=t.graphicalItems,i=t.xAxisMap,a=void 0===i?{}:i,u=t.yAxisMap,l=void 0===u?{}:u,c=r.width,s=r.height,f=r.children,p=r.margin||{},h=(0,v.findChildByType)(f,m.Brush),y=(0,v.findChildByType)(f,d.Legend),b=Object.keys(l).reduce(function(t,e){var r=l[e],n=r.orientation;return r.mirror||r.hide?t:tr(tr({},t),{},tn({},n,t[n]+r.width))},{left:p.left||0,right:p.right||0}),g=Object.keys(a).reduce(function(t,e){var r=a[e],n=r.orientation;return r.mirror||r.hide?t:tr(tr({},t),{},tn({},n,(0,o.default)(t,"".concat(n))+r.height))},{top:p.top||0,bottom:p.bottom||0}),O=tr(tr({},g),b),w=O.bottom;h&&(O.bottom+=h.props.height||m.Brush.defaultProps.height),y&&e&&(O=(0,x.appendOffsetOfLegend)(O,n,r,e));var S=c-O.left-O.right,j=s-O.top-O.bottom;return tr(tr({brushBottom:w},O),{},{width:Math.max(S,0),height:Math.max(j,0)})};
1t.s(["generateCategoricalChart",0,function(t){var i=t.chartName,a=t.GraphicalChild,d=t.defaultTooltipEventType,w=void 0===d?"axis":d,k=t.validateTooltipEventTypes,M=void 0===k?["axis"]:k,_=t.axisComponents,C=t.legendContent,N=t.formatAxisMap,D=t.defaultProps,I=function(t,e){var n=e.graphicalItems,i=e.stackGroups,o=e.offset,a=e.updateId,u=e.dataStartIndex,l=e.dataEndIndex,s=t.barSize,f=t.layout,p=t.barGap,d=t.barCategoryGap,h=t.maxBarSize,y=tg(f),m=y.numericAxisName,b=y.cateAxisName,g=!!n&&!!n.length&&n.some(function(t){var e=(0,v.getDisplayName)(t&&t.type);return e&&e.indexOf("Bar")>=0}),O=[];return n.forEach(function(n,y){var w=ts(t.data,{graphicalItems:[n],dataStartIndex:u,dataEndIndex:l}),S=void 0!==n.type.defaultProps?tr(tr({},n.type.defaultProps),n.props):n.props,j=S.dataKey,P=S.maxBarSize,E=S["".concat(m,"Id")],A=S["".concat(b,"Id")],k=_.reduce(function(t,r){var n=e["".concat(r.axisType,"Map")],i=S["".concat(r.axisType,"Id")];n&&n[i]||"zAxis"===r.axisType||(0,c.default)(!1);var o=n[i];return tr(tr({},t),{},tn(tn({},r.axisType,o),"".concat(r.axisType,"Ticks"),(0,x.getTicksOfAxis)(o)))},{}),T=k[b],M=k["".concat(b,"Ticks")],C=i&&i[E]&&i[E].hasStack&&(0,x.getStackedDataOfItem)(n,i[E].stackGroups),N=(0,v.getDisplayName)(n.type).indexOf("Bar")>=0,D=(0,x.getBandSizeOfAxis)(T,M),I=[],B=g&&(0,x.getBarSizeList)({barSize:s,stackGroups:i,totalSize:"xAxis"===b?k[b].width:"yAxis"===b?k[b].height:void 0});if(N){var L,R,z=(0,r.default)(P)?h:P,U=null!=(L=null!=(R=(0,x.getBandSizeOfAxis)(T,M,!0))?R:z)?L:0;I=(0,x.getBarPosition)({barGap:p,barCategoryGap:d,bandSize:U!==D?U:D,sizeList:B[A],maxBarSize:z}),U!==D&&(I=I.map(function(t){return tr(tr({},t),{},{position:tr(tr({},t.position),{},{offset:t.position.offset-U/2})})}))}var F=n&&n.type&&n.type.getComposedData;F&&O.push({props:tr(tr({},F(tr(tr({},k),{},{displayedData:w,props:t,dataKey:j,item:n,bandSize:D,barPosition:I,offset:o,stackedData:C,layout:f,dataStartIndex:u,dataEndIndex:l}))),{},tn(tn(tn({key:n.key||"item-".concat(y)},m,k[m]),b,k[b]),"animationId",a)),childIndex:(0,v.parseChildIndex)(n,t.children),item:n})}),O},B=function(t,e){var r=t.props,n=t.dataStartIndex,o=t.dataEndIndex,u=t.updateId;if(!(0,v.validateWidthHeight)({props:r}))return null;var l=r.children,c=r.layout,s=r.stackOffset,f=r.data,p=r.reverseStackOrder,d=tg(c),h=d.numericAxisName,y=d.cateAxisName,m=(0,v.findAllByType)(l,a),b=(0,x.getStackGroupsByAxisId)(f,m,"".concat(h,"Id"),"".concat(y,"Id"),s,p),g=_.reduce(function(t,e){var i="".concat(e.axisType,"Map");return tr(tr({},t),{},tn({},i,tv(r,tr(tr({},e),{},{graphicalItems:m,stackGroups:e.axisType===h&&b,dataStartIndex:n,dataEndIndex:o}))))},{}),O=tx(tr(tr({},g),{},{props:r,graphicalItems:m}),null==e?void 0:e.legendBBox);Object.keys(g).forEach(function(t){g[t]=N(r,g[t],O,t.replace("Map",""),i)});var w=tm(g["".concat(y,"Map")]),S=I(r,tr(tr({},g),{},{dataStartIndex:n,dataEndIndex:o,updateId:u,graphicalItems:m,stackGroups:b,offset:O}));return tr(tr({formattedGraphicalItems:S,graphicalItems:m,offset:O,stackGroups:b},w),g)},L=function(t){var a;function c(t){var a,s,f,d,h;if(!(this instanceof c))throw TypeError("Cannot call a class as a function");return d=c,h=[t],d=Y(d),tn(f=function(t,e){if(e&&("object"===V(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,K()?Reflect.construct(d,h||[],Y(this).constructor):d.apply(this,h)),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),tn(f,"accessibilityManager",new A.AccessibilityManager),tn(f,"handleLegendBBoxUpdate",function(t){if(t){var e=f.state,r=e.dataStartIndex,n=e.dataEndIndex,i=e.updateId;f.setState(tr({legendBBox:t},B({props:f.props,dataStartIndex:r,dataEndIndex:n,updateId:i},tr(tr({},f.state),{},{legendBBox:t}))))}}),tn(f,"handleReceiveSyncEvent",function(t,e,r){f.props.syncId===t&&(r!==f.eventEmitterSymbol||"function"==typeof f.props.syncMethod)&&f.applySyncEvent(e)}),tn(f,"handleBrushChange",function(t){var e=t.startIndex,r=t.endIndex;if(e!==f.state.dataStartIndex||r!==f.state.dataEndIndex){var n=f.state.updateId;f.setState(function(){return tr({dataStartIndex:e,dataEndIndex:r},B({props:f.props,dataStartIndex:e,dataEndIndex:r,updateId:n},f.state))}),f.triggerSyncEvent({dataStartIndex:e,dataEndIndex:r})}}),tn(f,"handleMouseEnter",function(t){var e=f.getMouseInfo(t);if(e){var r=tr(tr({},e),{},{isTooltipActive:!0});f.setState(r),f.triggerSyncEvent(r);var i=f.props.onMouseEnter;(0,n.default)(i)&&i(r,t)}}),tn(f,"triggeredAfterMouseMove",function(t){var e=f.getMouseInfo(t),r=e?tr(tr({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};f.setState(r),f.triggerSyncEvent(r);var i=f.props.onMouseMove;(0,n.default)(i)&&i(r,t)}),tn(f,"handleItemMouseEnter",function(t){f.setState(function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}})}),tn(f,"handleItemMouseLeave",function(){f.setState(function(){return{isTooltipActive:!1}})}),tn(f,"handleMouseMove",function(t){t.persist(),f.throttleTriggeredAfterMouseMove(t)}),tn(f,"handleMouseLeave",function(t){f.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};f.setState(e),f.triggerSyncEvent(e);var r=f.props.onMouseLeave;(0,n.default)(r)&&r(e,t)}),tn(f,"handleOuterEvent",function(t){var e,r=(0,v.getReactEventByType)(t),i=(0,o.default)(f.props,"".concat(r));r&&(0,n.default)(i)&&i(null!=(e=/.*touch.*/i.test(r)?f.getMouseInfo(t.changedTouches[0]):f.getMouseInfo(t))?e:{},t)}),tn(f,"handleClick",function(t){var e=f.getMouseInfo(t);if(e){var r=tr(tr({},e),{},{isTooltipActive:!0});f.setState(r),f.triggerSyncEvent(r);var i=f.props.onClick;(0,n.default)(i)&&i(r,t)}}),tn(f,"handleMouseDown",function(t){var e=f.props.onMouseDown;(0,n.default)(e)&&e(f.getMouseInfo(t),t)}),tn(f,"handleMouseUp",function(t){var e=f.props.onMouseUp;(0,n.default)(e)&&e(f.getMouseInfo(t),t)}),tn(f,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&f.throttleTriggeredAfterMouseMove(t.changedTouches[0])}),tn(f,"handleTouchStart",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&f.handleMouseDown(t.changedTouches[0])}),tn(f,"handleTouchEnd",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&f.handleMouseUp(t.changedTouches[0])}),tn(f,"handleDoubleClick",function(t){var e=f.props.onDoubleClick;(0,n.default)(e)&&e(f.getMouseInfo(t),t)}),tn(f,"handleContextMenu",function(t){var e=f.props.onContextMenu;(0,n.default)(e)&&e(f.getMouseInfo(t),t)}),tn(f,"triggerSyncEvent",function(t){void 0!==f.props.syncId&&P.eventCenter.emit(P.SYNC_EVENT,f.props.syncId,t,f.eventEmitterSymbol)}),tn(f,"applySyncEvent",function(t){var e=f.props,r=e.layout,n=e.syncMethod,i=f.state.updateId,o=t.dataStartIndex,a=t.dataEndIndex;if(void 0!==t.dataStartIndex||void 0!==t.dataEndIndex)f.setState(tr({dataStartIndex:o,dataEndIndex:a},B({props:f.props,dataStartIndex:o,dataEndIndex:a,updateId:i},f.state)));else if(void 0!==t.activeTooltipIndex){var u=t.chartX,l=t.chartY,c=t.activeTooltipIndex,s=f.state,p=s.offset,d=s.tooltipTicks;if(!p)return;if("function"==typeof n)c=n(d,t);else if("value"===n){c=-1;for(var h=0;h<d.length;h++)if(d[h].value===t.activeLabel){c=h;break}}var y=tr(tr({},p),{},{x:p.left,y:p.top}),v=Math.min(u,y.x+y.width),m=Math.min(l,y.y+y.height),b=d[c]&&d[c].value,g=tp(f.state,f.props.data,c),x=d[c]?{x:"horizontal"===r?d[c].coordinate:v,y:"horizontal"===r?m:d[c].coordinate}:tu;f.setState(tr(tr({},t),{},{activeLabel:b,activeCoordinate:x,activePayload:g,activeTooltipIndex:c}))}else f.setState(t)}),tn(f,"renderCursor",function(t){var r,n=f.state,o=n.isTooltipActive,a=n.activeCoordinate,u=n.activePayload,l=n.offset,c=n.activeTooltipIndex,s=n.tooltipAxisBandSize,p=f.getTooltipEventType(),d=null!=(r=t.props.active)?r:o,h=f.props.layout,y=t.key||"_recharts-cursor";return e.default.createElement(F,{key:y,activeCoordinate:a,activePayload:u,activeTooltipIndex:c,chartName:i,element:t,isActive:d,layout:h,offset:l,tooltipAxisBandSize:s,tooltipEventType:p})}),tn(f,"renderPolarAxis",function(t,r,n){var i=(0,o.default)(t,"type.axisType"),a=(0,o.default)(f.state,"".concat(i,"Map")),u=t.type.defaultProps,c=void 0!==u?tr(tr({},u),t.props):t.props,s=a&&a[c["".concat(i,"Id")]];return(0,e.cloneElement)(t,tr(tr({},s),{},{className:(0,l.default)(i,s.className),key:t.key||"".concat(r,"-").concat(n),ticks:(0,x.getTicksOfAxis)(s,!0)}))}),tn(f,"renderPolarGrid",function(t){var r=t.props,n=r.radialLines,i=r.polarAngles,o=r.polarRadius,a=f.state,u=a.radiusAxisMap,l=a.angleAxisMap,c=(0,g.getAnyElementOfObject)(u),s=(0,g.getAnyElementOfObject)(l),p=s.cx,d=s.cy,h=s.innerRadius,y=s.outerRadius;return(0,e.cloneElement)(t,{polarAngles:Array.isArray(i)?i:(0,x.getTicksOfAxis)(s,!0).map(function(t){return t.coordinate}),polarRadius:Array.isArray(o)?o:(0,x.getTicksOfAxis)(c,!0).map(function(t){return t.coordinate}),cx:p,cy:d,innerRadius:h,outerRadius:y,key:t.key||"polar-grid",radialLines:n})}
1),tn(f,"renderLegend",function(){var t=f.state.formattedGraphicalItems,r=f.props,n=r.children,i=r.width,o=r.height,a=f.props.margin||{},u=i-(a.left||0)-(a.right||0),l=(0,O.getLegendProps)({children:n,formattedGraphicalItems:t,legendWidth:u,legendContent:C});if(!l)return null;var c=l.item,s=G(l,q);return(0,e.cloneElement)(c,tr(tr({},s),{},{chartWidth:i,chartHeight:o,margin:a,onBBoxUpdate:f.handleLegendBBoxUpdate}))}),tn(f,"renderTooltip",function(){var t,r=f.props,n=r.children,i=r.accessibilityLayer,o=(0,v.findChildByType)(n,p.Tooltip);if(!o)return null;var a=f.state,u=a.isTooltipActive,l=a.activeCoordinate,c=a.activePayload,s=a.activeLabel,d=a.offset,h=null!=(t=o.props.active)?t:u;return(0,e.cloneElement)(o,{viewBox:tr(tr({},d),{},{x:d.left,y:d.top}),active:h,label:s,payload:h?c:[],coordinate:l,accessibilityLayer:i})}),tn(f,"renderBrush",function(t){var r=f.props,n=r.margin,i=r.data,o=f.state,a=o.offset,u=o.dataStartIndex,l=o.dataEndIndex,c=o.updateId;return(0,e.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:(0,x.combineEventHandlers)(f.handleBrushChange,t.props.onChange),data:i,x:(0,g.isNumber)(t.props.x)?t.props.x:a.left,y:(0,g.isNumber)(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(n.bottom||0),width:(0,g.isNumber)(t.props.width)?t.props.width:a.width,startIndex:u,endIndex:l,updateId:"brush-".concat(c)})}),tn(f,"renderReferenceElement",function(t,r,n){if(!t)return null;var i=f.clipPathId,o=f.state,a=o.xAxisMap,u=o.yAxisMap,l=o.offset,c=t.type.defaultProps||{},s=t.props,p=s.xAxisId,d=void 0===p?c.xAxisId:p,h=s.yAxisId,y=void 0===h?c.yAxisId:h;return(0,e.cloneElement)(t,{key:t.key||"".concat(r,"-").concat(n),xAxis:a[d],yAxis:u[y],viewBox:{x:l.left,y:l.top,width:l.width,height:l.height},clipPathId:i})}),tn(f,"renderActivePoints",function(t){var e=t.item,r=t.activePoint,n=t.basePoint,i=t.childIndex,o=t.isRange,a=[],u=e.props.key,l=void 0!==e.item.type.defaultProps?tr(tr({},e.item.type.defaultProps),e.item.props):e.item.props,s=l.activeDot,f=tr(tr({index:i,dataKey:l.dataKey,cx:r.x,cy:r.y,r:4,fill:(0,x.getMainColorOfGraphicItem)(e.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value},(0,v.filterProps)(s,!1)),(0,E.adaptEventHandlers)(s));return a.push(c.renderActiveDot(s,f,"".concat(u,"-activePoint-").concat(i))),n?a.push(c.renderActiveDot(s,tr(tr({},f),{},{cx:n.x,cy:n.y}),"".concat(u,"-basePoint-").concat(i))):o&&a.push(null),a}),tn(f,"renderGraphicChild",function(t,n,i){var o=f.filterFormatItem(t,n,i);if(!o)return null;var a=f.getTooltipEventType(),u=f.state,l=u.isTooltipActive,c=u.tooltipAxis,s=u.activeTooltipIndex,d=u.activeLabel,h=f.props.children,y=(0,v.findChildByType)(h,p.Tooltip),m=o.props,b=m.points,O=m.isRange,w=m.baseLine,S=void 0!==o.item.type.defaultProps?tr(tr({},o.item.type.defaultProps),o.item.props):o.item.props,j=S.activeDot,P=S.hide,E=S.activeBar,A=S.activeShape,k=!!(!P&&l&&y&&(j||E||A)),T={};"axis"!==a&&y&&"click"===y.props.trigger?T={onClick:(0,x.combineEventHandlers)(f.handleItemMouseEnter,t.props.onClick)}:"axis"!==a&&(T={onMouseLeave:(0,x.combineEventHandlers)(f.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:(0,x.combineEventHandlers)(f.handleItemMouseEnter,t.props.onMouseEnter)});var M=(0,e.cloneElement)(t,tr(tr({},o.props),T));if(k)if(s>=0){if(c.dataKey&&!c.allowDuplicatedCategory){var _="function"==typeof c.dataKey?function(t){return"function"==typeof c.dataKey?c.dataKey(t.payload):null}:"payload.".concat(c.dataKey.toString());N=(0,g.findEntryInArray)(b,_,d),D=O&&w&&(0,g.findEntryInArray)(w,_,d)}else N=null==b?void 0:b[s],D=O&&w&&w[s];if(A||E){var C=void 0!==t.props.activeIndex?t.props.activeIndex:s;return[(0,e.cloneElement)(t,tr(tr(tr({},o.props),T),{},{activeIndex:C})),null,null]}if(!(0,r.default)(N))return[M].concat(J(f.renderActivePoints({item:o,activePoint:N,basePoint:D,childIndex:s,isRange:O})))}else{var N,D,I,B=(null!=(I=f.getItemByXY(f.state.activeCoordinate))?I:{graphicalItem:M}).graphicalItem,L=B.item,R=void 0===L?t:L,z=B.childIndex,U=tr(tr(tr({},o.props),T),{},{activeIndex:z});return[(0,e.cloneElement)(R,U),null,null]}return O?[M,null,null]:[M,null]}),tn(f,"renderCustomized",function(t,r,n){return(0,e.cloneElement)(t,tr(tr({key:"recharts-customized-".concat(n)},f.props),f.state))}),tn(f,"renderMap",{CartesianGrid:{handler:tl,once:!0},ReferenceArea:{handler:f.renderReferenceElement},ReferenceLine:{handler:tl},ReferenceDot:{handler:f.renderReferenceElement},XAxis:{handler:tl},YAxis:{handler:tl},Brush:{handler:f.renderBrush,once:!0},Bar:{handler:f.renderGraphicChild},Line:{handler:f.renderGraphicChild},Area:{handler:f.renderGraphicChild},Radar:{handler:f.renderGraphicChild},RadialBar:{handler:f.renderGraphicChild},Scatter:{handler:f.renderGraphicChild},Pie:{handler:f.renderGraphicChild},Funnel:{handler:f.renderGraphicChild},Tooltip:{handler:f.renderCursor,once:!0},PolarGrid:{handler:f.renderPolarGrid,once:!0},PolarAngleAxis:{handler:f.renderPolarAxis},PolarRadiusAxis:{handler:f.renderPolarAxis},Customized:{handler:f.renderCustomized}}),f.clipPathId="".concat(null!=(a=t.id)?a:(0,g.uniqueId)("recharts"),"-clip"),f.throttleTriggeredAfterMouseMove=(0,u.default)(f.triggeredAfterMouseMove,null!=(s=t.throttleDelay)?s:1e3/60),f.state={},f}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return c.prototype=Object.create(t&&t.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),t&&Z(c,t),a=[{key:"componentDidMount",value:function(){var t,e;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!=(t=this.props.margin.left)?t:0,top:null!=(e=this.props.margin.top)?e:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var t=this.props,e=t.children,r=t.data,n=t.height,i=t.layout,o=(0,v.findChildByType)(e,p.Tooltip);if(o){var a=o.props.defaultIndex;if("number"==typeof a&&!(a<0)&&!(a>this.state.tooltipTicks.length-1)){var u=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,l=tp(this.state,r,a,u),c=this.state.tooltipTicks[a].coordinate,
1s=(this.state.offset.top+n)/2,f="horizontal"===i?{x:c,y:s}:{y:c,x:s},d=this.state.formattedGraphicalItems.find(function(t){return"Scatter"===t.item.type.name});d&&(f=tr(tr({},f),d.props.points[a].tooltipPosition),l=d.props.points[a].tooltipPayload);var h={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:u,activePayload:l,activeCoordinate:f};this.setState(h),this.renderCursor(o),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(t,e){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==e.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==t.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==t.margin){var r,n;this.accessibilityManager.setDetails({offset:{left:null!=(r=this.props.margin.left)?r:0,top:null!=(n=this.props.margin.top)?n:0}})}return null}},{key:"componentDidUpdate",value:function(t){(0,v.isChildrenEqual)([(0,v.findChildByType)(t.children,p.Tooltip)],[(0,v.findChildByType)(this.props.children,p.Tooltip)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=(0,v.findChildByType)(this.props.children,p.Tooltip);if(t&&"boolean"==typeof t.props.shared){var e=t.props.shared?"axis":"item";return M.indexOf(e)>=0?e:w}return w}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=this.container,r=e.getBoundingClientRect(),n=(0,b.getOffset)(r),i={chartX:Math.round(t.pageX-n.left),chartY:Math.round(t.pageY-n.top)},o=r.width/e.offsetWidth||1,a=this.inRange(i.chartX,i.chartY,o);if(!a)return null;var u=this.state,l=u.xAxisMap,c=u.yAxisMap,s=this.getTooltipEventType(),f=td(this.state,this.props.data,this.props.layout,a);if("axis"!==s&&l&&c){var p=(0,g.getAnyElementOfObject)(l).scale,d=(0,g.getAnyElementOfObject)(c).scale,h=p&&p.invert?p.invert(i.chartX):null,y=d&&d.invert?d.invert(i.chartY):null;return tr(tr({},i),{},{xValue:h,yValue:y},f)}return f?tr(tr({},i),f):null}},{key:"inRange",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,i=t/r,o=e/r;if("horizontal"===n||"vertical"===n){var a=this.state.offset;return i>=a.left&&i<=a.left+a.width&&o>=a.top&&o<=a.top+a.height?{x:i,y:o}:null}var u=this.state,l=u.angleAxisMap,c=u.radiusAxisMap;if(l&&c){var s=(0,g.getAnyElementOfObject)(l);return(0,S.inRangeOfSector)({x:i,y:o},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=(0,v.findChildByType)(t,p.Tooltip),n={};return r&&"axis"===e&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu}),tr(tr({},(0,E.adaptEventHandlers)(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){P.eventCenter.on(P.SYNC_EVENT,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){P.eventCenter.removeListener(P.SYNC_EVENT,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(t,e,r){for(var n=this.state.formattedGraphicalItems,i=0,o=n.length;i<o;i++){var a=n[i];if(a.item===t||a.props.key===t.key||e===(0,v.getDisplayName)(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var t=this.clipPathId,r=this.state.offset,n=r.left,i=r.top,o=r.height,a=r.width;return e.default.createElement("defs",null,e.default.createElement("clipPath",{id:t},e.default.createElement("rect",{x:n,y:i,height:o,width:a})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=X(e,2),n=r[0],i=r[1];return tr(tr({},t),{},tn({},n,i.scale))},{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=X(e,2),n=r[0],i=r[1];return tr(tr({},t),{},tn({},n,i.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(t){var e;return null==(e=this.state.xAxisMap)||null==(e=e[t])?void 0:e.scale}},{key:"getYScaleByAxisId",value:function(t){var e;return null==(e=this.state.yAxisMap)||null==(e=e[t])?void 0:e.scale}},{key:"getItemByXY",value:function(t){var e=this.state,r=e.formattedGraphicalItems,n=e.activeItem;if(r&&r.length)for(var i=0,o=r.length;i<o;i++){var a=r[i],u=a.props,l=a.item,c=void 0!==l.type.defaultProps?tr(tr({},l.type.defaultProps),l.props):l.props,s=(0,v.getDisplayName)(l.type);if("Bar"===s){var f=(u.data||[]).find(function(e){return(0,y.isInRectangle)(t,e)});if(f)return{graphicalItem:a,payload:f}}else if("RadialBar"===s){var p=(u.data||[]).find(function(e){return(0,S.inRangeOfSector)(t,e)});if(p)return{graphicalItem:a,payload:p}}else if((0,T.isFunnel)(a,n)||(0,T.isPie)(a,n)||(0,T.isScatter)(a,n)){var d=(0,T.getActiveShapeIndexForTooltip)({graphicalItem:a,activeTooltipItem:n,itemData:c.data}),h=void 0===c.activeIndex?d:c.activeIndex;return{graphicalItem:tr(tr({},a),{},{childIndex:h}),payload:(0,T.isScatter)(a,n)?c.data[d]:a.props.data[d]}}}return null}},{key:"render",value:function(){var t,r,n=this;if(!(0,v.validateWidthHeight)(this))return null;var i=this.props,o=i.children,a=i.className,u=i.width,c=i.height,f=i.style,p=i.compact,d=i.title,h=i.desc,y=G(i,W),m=(0,v.filterProps)(y,!1);
1if(p)return e.default.createElement($.ChartLayoutContextProvider,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},e.default.createElement(s.Surface,H({},m,{width:u,height:c,title:d,desc:h}),this.renderClipPath(),(0,v.renderByOrder)(o,this.renderMap)));this.props.accessibilityLayer&&(m.tabIndex=null!=(t=this.props.tabIndex)?t:0,m.role=null!=(r=this.props.role)?r:"application",m.onKeyDown=function(t){n.accessibilityManager.keyboardEvent(t)},m.onFocus=function(){n.accessibilityManager.focus()});var b=this.parseEventsOfWrapper();return e.default.createElement($.ChartLayoutContextProvider,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},e.default.createElement("div",H({className:(0,l.default)("recharts-wrapper",a),style:tr({position:"relative",cursor:"default",width:u,height:c},f)},b,{ref:function(t){n.container=t}}),e.default.createElement(s.Surface,H({},m,{width:u,height:c,title:d,desc:h,style:ta}),this.renderClipPath(),(0,v.renderByOrder)(o,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ti(n.key),n)}}(c.prototype,a),Object.defineProperty(c,"prototype",{writable:!1}),c}(e.Component);tn(L,"displayName",i),tn(L,"defaultProps",tr({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},D)),tn(L,"getDerivedStateFromProps",function(t,e){var n=t.dataKey,i=t.data,o=t.children,a=t.width,u=t.height,l=t.layout,c=t.stackOffset,s=t.margin,f=e.dataStartIndex,p=e.dataEndIndex;if(void 0===e.updateId){var d=tb(t);return tr(tr(tr({},d),{},{updateId:0},B(tr(tr({props:t},d),{},{updateId:0}),e)),{},{prevDataKey:n,prevData:i,prevWidth:a,prevHeight:u,prevLayout:l,prevStackOffset:c,prevMargin:s,prevChildren:o})}if(n!==e.prevDataKey||i!==e.prevData||a!==e.prevWidth||u!==e.prevHeight||l!==e.prevLayout||c!==e.prevStackOffset||!(0,j.shallowEqual)(s,e.prevMargin)){var h=tb(t),y={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},b=tr(tr({},td(e,i,l)),{},{updateId:e.updateId+1}),g=tr(tr(tr({},h),y),b);return tr(tr(tr({},g),B(tr({props:t},g),e)),{},{prevDataKey:n,prevData:i,prevWidth:a,prevHeight:u,prevLayout:l,prevStackOffset:c,prevMargin:s,prevChildren:o})}if(!(0,v.isChildrenEqual)(o,e.prevChildren)){var x,O,w,S,P=(0,v.findChildByType)(o,m.Brush),E=P&&null!=(x=null==(O=P.props)?void 0:O.startIndex)?x:f,A=P&&null!=(w=null==(S=P.props)?void 0:S.endIndex)?w:p,k=(0,r.default)(i)||E!==f||A!==p?e.updateId+1:e.updateId;return tr(tr({updateId:k},B(tr(tr({props:t},e),{},{updateId:k,dataStartIndex:E,dataEndIndex:A}),e)),{},{prevChildren:o,dataStartIndex:E,dataEndIndex:A})}return null}),tn(L,"renderActiveDot",function(t,r,i){var o;return o=(0,e.isValidElement)(t)?(0,e.cloneElement)(t,r):(0,n.default)(t)?t(r):e.default.createElement(h.Dot,r),e.default.createElement(f.Layer,{className:"recharts-active-dot",key:i},o)});var R=(0,e.forwardRef)(function(t,r){return e.default.createElement(L,H({},t,{ref:r}))});return R.displayName=L.displayName,R}],97250)},244,1426,t=>{"use strict";var e=function(t){return null};e.displayName="Cell",t.s(["Cell",0,e],244);var r=t.i(91788),n=t.i(57140),i=t.i(3275),o=t.i(38299),a=t.i(7535),u=t.i(5e3),l=t.i(79472),c=t.i(6043),s=t.i(3315);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var p=["valueAccessor"],d=["data","dataKey","clockWise","id","textBreakAll"];function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function y(){return(y=Object.assign.bind()).apply(this,arguments)}function v(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 m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?v(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function b(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var g=function(t){return Array.isArray(t.value)?(0,a.default)(t.value):t.value};function x(t){var e=t.valueAccessor,i=void 0===e?g:e,o=b(t,p),a=o.data,f=o.dataKey,h=o.clockWise,v=o.id,x=o.textBreakAll,O=b(o,d);return a&&a.length?r.default.createElement(l.Layer,{className:"recharts-label-list"},a.map(function(t,e){var o=(0,n.default)(f)?i(t,e):(0,s.getValueByDataKey)(t&&t.payload,f),a=(0,n.default)(v)?{}:{id:"".concat(v,"-").concat(e)};return r.default.createElement(u.Label,y({},(0,c.filterProps)(t,!0),O,a,{parentViewBox:t.parentViewBox,value:o,textBreakAll:x,viewBox:u.Label.parseViewBox((0,n.default)(h)?t:m(m({},t),{},{clockWise:h})),key:"label-".concat(e),index:e}))})):null}x.displayName="LabelList",x.renderCallByParent=function(t,e){var n,a=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&a&&!t.label)return null;var u=t.children,l=(0,c.findAllByType)(u,x).map(function(t,n){return(0,r.cloneElement)(t,{data:e,key:"labelList-".concat(n)})});return a?[(n=t.label,!n?null:!0===n?r.default.createElement(x,{key:"labelList-implicit",data:e}):r.default.isValidElement(n)||(0,o.default)(n)?r.default.createElement(x,{key:"labelList-implicit",data:e,content:n}):(0,i.default)(n)?r.default.createElement(x,y({data:e},n,{key:"labelList-implicit"})):null)].concat(function(t){if(Array.isArray(t))return h(t)}(l)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(l)||function(t){if(t){if("string"==typeof t)return h(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return h(t,void 0)}}(l)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):l},t.s(["LabelList",0,x],1426)},79065,80696,85505,t=>{"use strict";var e=t.i(91788),r=t.i(38299),n=t.i(56206),i=t.i(91461),o=t.i(77541),a=t.i(70915),u=t.i(72301);let l=Math.PI,c=2*l,s=c-1e-6;function f(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}class p{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?f:function(t){let e=Math.floor(t);if(!(e>=0))throw Error(`invalid digits: ${t}`);if(e>15)return f;let r=10**e;return function(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=Math.round(arguments[e]*r)/r+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,r,n){this._append`Q${+t},${+e},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(t,e,r,n,i,o){this._append`C${+t},${+e},${+r},${+n},${this._x1=+i},${this._y1=+o}`}arcTo(t,e,r,n,i){if(t*=1,e*=1,r*=1,n*=1,(i*=1)<0)throw Error(`negative radius: ${i}`);
1let o=this._x1,a=this._y1,u=r-t,c=n-e,s=o-t,f=a-e,p=s*s+f*f;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(p>1e-6)if(Math.abs(f*u-c*s)>1e-6&&i){let d=r-o,h=n-a,y=u*u+c*c,v=Math.sqrt(y),m=Math.sqrt(p),b=i*Math.tan((l-Math.acos((y+p-(d*d+h*h))/(2*v*m)))/2),g=b/m,x=b/v;Math.abs(g-1)>1e-6&&this._append`L${t+g*s},${e+g*f}`,this._append`A${i},${i},0,0,${+(f*d>s*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,i,o){if(t*=1,e*=1,r*=1,o=!!o,r<0)throw Error(`negative radius: ${r}`);let a=r*Math.cos(n),u=r*Math.sin(n),f=t+a,p=e+u,d=1^o,h=o?n-i:i-n;null===this._x1?this._append`M${f},${p}`:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-p)>1e-6)&&this._append`L${f},${p}`,r&&(h<0&&(h=h%c+c),h>s?this._append`A${r},${r},0,1,${d},${t-a},${e-u}A${r},${r},0,1,${d},${this._x1=f},${this._y1=p}`:h>1e-6&&this._append`A${r},${r},0,${+(h>=l)},${d},${this._x1=t+r*Math.cos(i)},${this._y1=e+r*Math.sin(i)}`)}rect(t,e,r,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${r*=1}v${+n}h${-r}Z`}toString(){return this._}}function d(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{let t=Math.floor(r);if(!(t>=0))throw RangeError(`invalid digits: ${r}`);e=t}return t},()=>new p(e)}p.prototype,t.s(["withPath",0,d],80696);let h=Math.cos,y=Math.sin,v=Math.sqrt,m=Math.PI,b=2*m;v(3);let g={draw(t,e){let r=v(e/m);t.moveTo(r,0),t.arc(0,0,r,0,b)}},x=v(1/3),O=2*x,w=y(m/10)/y(7*m/10),S=y(b/10)*w,j=-h(b/10)*w,P=v(3);v(3);let E=v(3)/2,A=1/v(12),k=(A/2+1)*3;var T=t.i(6043);function M(t){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var _=["type","size","sizeType"];function C(){return(C=Object.assign.bind()).apply(this,arguments)}function N(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 D(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?N(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=M(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=M(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==M(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var I={symbolCircle:g,symbolCross:{draw(t,e){let r=v(e/5)/2;t.moveTo(-3*r,-r),t.lineTo(-r,-r),t.lineTo(-r,-3*r),t.lineTo(r,-3*r),t.lineTo(r,-r),t.lineTo(3*r,-r),t.lineTo(3*r,r),t.lineTo(r,r),t.lineTo(r,3*r),t.lineTo(-r,3*r),t.lineTo(-r,r),t.lineTo(-3*r,r),t.closePath()}},symbolDiamond:{draw(t,e){let r=v(e/O),n=r*x;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},symbolSquare:{draw(t,e){let r=v(e),n=-r/2;t.rect(n,n,r,r)}},symbolStar:{draw(t,e){let r=v(.8908130915292852*e),n=S*r,i=j*r;t.moveTo(0,-r),t.lineTo(n,i);for(let e=1;e<5;++e){let o=b*e/5,a=h(o),u=y(o);t.lineTo(u*r,-a*r),t.lineTo(a*n-u*i,u*n+a*i)}t.closePath()}},symbolTriangle:{draw(t,e){let r=-v(e/(3*P));t.moveTo(0,2*r),t.lineTo(-P*r,-r),t.lineTo(P*r,-r),t.closePath()}},symbolWye:{draw(t,e){let r=v(e/k),n=r/2,i=r*A,o=r*A+r,a=-n;t.moveTo(n,i),t.lineTo(n,o),t.lineTo(a,o),t.lineTo(-.5*n-E*i,E*n+-.5*i),t.lineTo(-.5*n-E*o,E*n+-.5*o),t.lineTo(-.5*a-E*o,E*a+-.5*o),t.lineTo(-.5*n+E*i,-.5*i-E*n),t.lineTo(-.5*n+E*o,-.5*o-E*n),t.lineTo(-.5*a+E*o,-.5*o-E*a),t.closePath()}}},B=Math.PI/180,L=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*B;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}},R=function(t){var r,i=t.type,o=void 0===i?"circle":i,l=t.size,c=void 0===l?64:l,s=t.sizeType,f=void 0===s?"area":s,p=D(D({},function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,_)),{},{type:o,size:c,sizeType:f}),h=p.className,y=p.cx,v=p.cy,m=(0,T.filterProps)(p,!0);return y===+y&&v===+v&&c===+c?e.default.createElement("path",C({}
1,m,{className:(0,n.default)("recharts-symbols",h),transform:"translate(".concat(y,", ").concat(v,")"),d:(r=I["symbol".concat((0,a.default)(o))]||g,(function(t,e){let r=null,n=d(i);function i(){let i;if(r||(r=i=n()),t.apply(this,arguments).draw(r,+e.apply(this,arguments)),i)return r=null,i+""||null}return t="function"==typeof t?t:(0,u.default)(t||g),e="function"==typeof e?e:(0,u.default)(void 0===e?64:+e),i.type=function(e){return arguments.length?(t="function"==typeof e?e:(0,u.default)(e),i):t},i.size=function(t){return arguments.length?(e="function"==typeof t?t:(0,u.default)(+t),i):e},i.context=function(t){return arguments.length?(r=null==t?null:t,i):r},i})().type(r).size(L(c,f,o))())})):null};R.registerSymbol=function(t,e){I["symbol".concat((0,a.default)(t))]=e},t.s(["Symbols",0,R],85505);var z=t.i(78979);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})(t)}function F(){return(F=Object.assign.bind()).apply(this,arguments)}function $(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 q(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(q=function(){return!!t})()}function W(t){return(W=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function V(t,e){return(V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function H(t,e,r){return(e=X(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function X(t){var e=function(t,e){if("object"!=U(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=U(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==U(e)?e:e+""}var G=function(t){var a;function u(){var t,e;if(!(this instanceof u))throw TypeError("Cannot call a class as a function");return t=u,e=arguments,t=W(t),function(t,e){if(e&&("object"===U(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,q()?Reflect.construct(t,e||[],W(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return u.prototype=Object.create(t&&t.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),t&&V(u,t),a=[{key:"renderIcon",value:function(t){var r=this.props.inactiveColor,n=32/6,i=32/3,o=t.inactive?r:t.color;if("plainline"===t.type)return e.default.createElement("line",{strokeWidth:4,fill:"none",stroke:o,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:16,x2:32,y2:16,className:"recharts-legend-icon"});if("line"===t.type)return e.default.createElement("path",{strokeWidth:4,fill:"none",stroke:o,d:"M0,".concat(16,"h").concat(i,"\n A").concat(n,",").concat(n,",0,1,1,").concat(2*i,",").concat(16,"\n H").concat(32,"M").concat(2*i,",").concat(16,"\n A").concat(n,",").concat(n,",0,1,1,").concat(i,",").concat(16),className:"recharts-legend-icon"});if("rect"===t.type)return e.default.createElement("path",{stroke:"none",fill:o,d:"M0,".concat(4,"h").concat(32,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(e.default.isValidElement(t.legendIcon)){var a=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?$(Object(r),!0).forEach(function(e){H(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEac
1h(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({},t);return delete a.legendIcon,e.default.cloneElement(t.legendIcon,a)}return e.default.createElement(R,{fill:o,cx:16,cy:16,size:32,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,a=this.props,u=a.payload,l=a.iconSize,c=a.layout,s=a.formatter,f=a.inactiveColor,p={x:0,y:0,width:32,height:32},d={display:"horizontal"===c?"inline-block":"block",marginRight:10},h={display:"inline-block",verticalAlign:"middle",marginRight:4};return u.map(function(a,u){var c=a.formatter||s,y=(0,n.default)(H(H({"recharts-legend-item":!0},"legend-item-".concat(u),!0),"inactive",a.inactive));if("none"===a.type)return null;var v=(0,r.default)(a.value)?null:a.value;(0,i.warn)(!(0,r.default)(a.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 m=a.inactive?f:a.color;return e.default.createElement("li",F({className:y,style:d,key:"legend-item-".concat(u)},(0,z.adaptEventsOfChild)(t.props,a,u)),e.default.createElement(o.Surface,{width:l,height:l,viewBox:p,style:h},t.renderIcon(a)),e.default.createElement("span",{className:"recharts-legend-item-text",style:{color:m}},c?c(v,a,u):v))})}},{key:"render",value:function(){var t=this.props,r=t.payload,n=t.layout,i=t.align;return r&&r.length?e.default.createElement("ul",{className:"recharts-default-legend",style:{padding:0,margin:0,textAlign:"horizontal"===n?i:"left"}},this.renderItems()):null}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,X(n.key),n)}}(u.prototype,a),Object.defineProperty(u,"prototype",{writable:!1}),u}(e.PureComponent);H(G,"displayName","Legend"),H(G,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"}),t.s(["DefaultLegendContent",0,G],79065)},39810,97462,t=>{"use strict";var e=t.i(91788),r=t.i(48908),n=t.i(57140),i=t.i(56206),o=t.i(70627);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(){return(u=Object.assign.bind()).apply(this,arguments)}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function f(t){return Array.isArray(t)&&(0,o.isNumOrStr)(t[0])&&(0,o.isNumOrStr)(t[1])?t.join(" ~ "):t}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})(t)}function d(t,e,r){var n;return(n=function(t,e){if("object"!=p(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=p(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==p(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}t.s(["DefaultTooltipContent",0,function(t){var a=t.separator,c=void 0===a?" : ":a,p=t.contentStyle,d=t.itemStyle,h=void 0===d?{}:d,y=t.labelStyle,v=t.payload,m=t.formatter,b=t.itemSorter,g=t.wrapperClassName,x=t.labelClassName,O=t.label,w=t.labelFormatter,S=t.accessibilityLayer,j=s({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},void 0===p?{}:p),P=s({margin:0},void 0===y?{}:y),E=!(0,n.default)(O),A=E?O:"",k=(0,i.default)("recharts-default-tooltip",g),T=(0,i.default)("recharts-tooltip-label",x);return E&&w&&null!=v&&(A=w(O,v)),e.default.createElement("div",u({className:k,style:j},void 0!==S&&S?{role:"status","aria-live":"assertive"}:{}),e.default.createElement("p",{className:T,style:P},e.default.isValidElement(A)?A:"".concat(A)),function(){if(v&&v.length){var t=(b?(0,r.default)(v,b):v).map(function(t,r){if("none"===t.type)return null;var n=s({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},h),i=t.formatter||m||f,a=t.value,u=t.name,p=a,d=u;if(i&&null!=p&&null!=d){var y=i(a,u,t,r,v);if(Array.isArray(y)){var b=function(t){if(Array.isArray(t))return t}(y)||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,i,o,a=[],u=!0,l=!1;try{i=(e=e.call(t)).next,!1;for(;!(u=(r=i.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){l=!0,n=t}
1finally{try{if(!u&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(l)throw n}}return a}}(y)||function(t){if(t){if("string"==typeof t)return l(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return l(t,2)}}(y)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();p=b[0],d=b[1]}else p=y}return e.default.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(r),style:n},(0,o.isNumOrStr)(d)?e.default.createElement("span",{className:"recharts-tooltip-item-name"},d):null,(0,o.isNumOrStr)(d)?e.default.createElement("span",{className:"recharts-tooltip-item-separator"},c):null,e.default.createElement("span",{className:"recharts-tooltip-item-value"},p),e.default.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))});return e.default.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())}],39810);var h="recharts-tooltip-wrapper",y={visibility:"hidden"};function v(t){var e=t.allowEscapeViewBox,r=t.coordinate,n=t.key,i=t.offsetTopLeft,a=t.position,u=t.reverseDirection,l=t.tooltipDimension,c=t.viewBox,s=t.viewBoxDimension;if(a&&(0,o.isNumber)(a[n]))return a[n];var f=r[n]-l-i,p=r[n]+i;return e[n]?u[n]?f:p:u[n]?f<c[n]?Math.max(p,c[n]):Math.max(f,c[n]):p+l>c[n]+s?Math.max(f,c[n]):Math.max(p,c[n])}function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(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 g(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach(function(e){S(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function x(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(x=function(){return!!t})()}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function w(t,e){return(w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function S(t,e,r){return(e=j(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function j(t){var e=function(t,e){if("object"!=m(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=m(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==m(e)?e:e+""}var P=function(t){var r;function n(){var t,e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return e=n,r=[].concat(o),e=O(e),S(t=function(t,e){if(e&&("object"===m(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,x()?Reflect.construct(e,r||[],O(this).constructor):e.apply(this,r)),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),S(t,"handleKeyDown",function(e){if("Escape"===e.key){var r,n,i,o;t.setState({dismissed:!0,dismissedAtCoordinate:{x:null!=(r=null==(n=t.props.coordinate)?void 0:n.x)?r:0,y:null!=(i=null==(o=t.props.coordinate)?void 0:o.y)?i:0}})}}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&w(n,t),r=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();(Math.abs(t.width-this.state.lastBoundingBox.width)>1||Math.abs(t.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:t.width,height:t.height}})}else(-1!==this.state.lastBoundingBox.width||-1!==this.state.lastBoundingBox.height)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var t,e;this.props.active&&this.updateBBox(),this.state.dismissed&&((null==(t=this.props.coordinate)?void 0:t.x)!==this.state.dismissedAtCoordinate.x||(null==(e=this.props.coordinate)?void 0:e.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var t,r,n,a,u,l,c,s,f,p,m,b,x,O,w,S,j,P,E,A=this,k=this.props,T=k.active,M=k.allowEscapeViewBox,_=k.animationDuration,C=k.animationEasing,N=k.children,D=k.coordinate,I=k.hasPayload,B=k.isAnimationActive,L=k.offset,R=k.position,z=k.reverseDirection,U=k.useTranslate3d,F=k.viewBox,$=k.wrapperStyle,q=(b=(t={allowEscapeViewBox:M,coordinate:D,offsetTopLeft:L,position:R,reverseDirection:z,tooltipBox:this.state.lastBoundingBox,useTranslate3d:U,viewBox:F}).allowEscapeViewBox,x=t.coordinate,O=t.offsetTopLeft,w=t.position,S=t.reverseDirection,j=t.tooltipBox,P=t.useTranslate3d,E=t.viewBox,j.height>0&&j.width>0&&x?(n=(r={translateX:p=v({allowEscapeViewBox:b,coordinate:x,key:"x",offsetTopLeft:O,position:w,reverseDirection:S,tooltipDimension:j.width,viewBox:E,viewBoxDimension:E.width}),translateY:m=v({allowEscapeViewBox:b,coordinate:x,key:"y",offsetTopLeft:O,position:w,reverseDirection:S,tooltipDimension:j.height,viewBox:E,viewBoxDimension:E.height}),useTranslate3d:P}).translateX,a=r.translateY,f={transform:r.useTranslate3d?"translate3d(".concat(n,"px, ").concat(a,"px, 0)"):"translate(".concat(n,"px, ").concat(a,"px)")}
1):f=y,{cssProperties:f,cssClasses:(l=(u={translateX:p,translateY:m,coordinate:x}).coordinate,c=u.translateX,s=u.translateY,(0,i.default)(h,d(d(d(d({},"".concat(h,"-right"),(0,o.isNumber)(c)&&l&&(0,o.isNumber)(l.x)&&c>=l.x),"".concat(h,"-left"),(0,o.isNumber)(c)&&l&&(0,o.isNumber)(l.x)&&c<l.x),"".concat(h,"-bottom"),(0,o.isNumber)(s)&&l&&(0,o.isNumber)(l.y)&&s>=l.y),"".concat(h,"-top"),(0,o.isNumber)(s)&&l&&(0,o.isNumber)(l.y)&&s<l.y)))}),W=q.cssClasses,V=q.cssProperties,H=g(g({transition:B&&T?"transform ".concat(_,"ms ").concat(C):void 0},V),{},{pointerEvents:"none",visibility:!this.state.dismissed&&T&&I?"visible":"hidden",position:"absolute",top:0,left:0},$);return e.default.createElement("div",{tabIndex:-1,className:W,style:H,ref:function(t){A.wrapperNode=t}},N)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,j(n.key),n)}}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(e.PureComponent);t.s(["TooltipBoundingBox",0,P],97462)},5e3,93555,t=>{"use strict";var e=t.i(91788),r=t.i(57140),n=t.i(38299),i=t.i(3275),o=t.i(56206),a=t.i(61320),u=t.i(6043),l=t.i(70627);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(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 f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}t.i(3315);var p=Math.PI/180,d=function(t,e,r,n){return{x:t+Math.cos(-p*n)*r,y:e+Math.sin(-p*n)*r}},h=function(t,e){var r=t.x,n=t.y;
1return Math.sqrt(Math.pow(r-e.x,2)+Math.pow(n-e.y,2))},y=function(t,e){var r=t.x,n=t.y,i=e.cx,o=e.cy,a=h({x:r,y:n},{x:i,y:o});if(a<=0)return{radius:a};var u=Math.acos((r-i)/a);return n>o&&(u=2*Math.PI-u),{radius:a,angle:180*u/Math.PI,angleInRadian:u}},v=function(t){var e=t.startAngle,r=t.endAngle,n=Math.min(Math.floor(e/360),Math.floor(r/360));return{startAngle:e-360*n,endAngle:r-360*n}};function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.s(["RADIAN",0,p,"inRangeOfSector",0,function(t,e){var r,n=y({x:t.x,y:t.y},e),i=n.radius,o=n.angle,a=e.innerRadius,u=e.outerRadius;if(i<a||i>u)return!1;if(0===i)return!0;var l=v(e),c=l.startAngle,s=l.endAngle,p=o;if(c<=s){for(;p>s;)p-=360;for(;p<c;)p+=360;r=p>=c&&p<=s}else{for(;p>c;)p-=360;for(;p<s;)p+=360;r=p>=s&&p<=c}return r?f(f({},e),{},{radius:i,angle:p+360*Math.min(Math.floor(e.startAngle/360),Math.floor(e.endAngle/360))}):null},"polarToCartesian",0,d],93555);var b=["offset"];function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function x(t,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 O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?x(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=m(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=m(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==m(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function w(){return(w=Object.assign.bind()).apply(this,arguments)}var S=function(t){var e=t.value,i=t.formatter,o=(0,r.default)(t.children)?e:t.children;return(0,n.default)(i)?i(o):o},j=function(t,n,i){var a,u,c=t.position,s=t.viewBox,f=t.offset,p=t.className,h=s.cx,y=s.cy,v=s.innerRadius,m=s.outerRadius,b=s.startAngle,g=s.endAngle,x=s.clockWise,O=(v+m)/2,S=(0,l.mathSign)(g-b)*Math.min(Math.abs(g-b),360),j=S>=0?1:-1;"insideStart"===c?(a=b+j*f,u=x):"insideEnd"===c?(a=g-j*f,u=!x):"end"===c&&(a=g+j*f,u=x),u=S<=0?u:!u;var P=d(h,y,O,a),E=d(h,y,O,a+(u?1:-1)*359),A="M".concat(P.x,",").concat(P.y,"\n A").concat(O,",").concat(O,",0,1,").concat(+!u,",\n ").concat(E.x,",").concat(E.y),k=(0,r.default)(t.id)?(0,l.uniqueId)("recharts-radial-line-"):t.id;return e.default.createElement("text",w({},i,{dominantBaseline:"central",className:(0,o.default)("recharts-radial-bar-label",p)}),e.default.createElement("defs",null,e.default.createElement("path",{id:k,d:A})),e.default.createElement("textPath",{xlinkHref:"#".concat(k)},n))},P=function(t){var e=t.viewBox,r=t.offset,n=t.position,i=e.cx,o=e.cy,a=e.innerRadius,u=e.outerRadius,l=(e.startAngle+e.endAngle)/2;if("outside"===n){var c=d(i,o,u+r,l),s=c.x;return{x:s,y:c.y,textAnchor:s>=i?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"end"};var f=d(i,o,(a+u)/2,l);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}},E=function(t){var e=t.viewBox,r=t.parentViewBox,n=t.offset,o=t.position,a=e.x,u=e.y,c=e.width,s=e.height,f=s>=0?1:-1,p=f*n,d=f>0?"end":"start",h=f>0?"start":"end",y=c>=0?1:-1,v=y*n,m=y>0?"end":"start",b=y>0?"start":"end";if("top"===o)return O(O({},{x:a+c/2,y:u-f*n,textAnchor:"middle",verticalAnchor:d}),r?{height:Math.max(u-r.y,0),width:c}:{});if("bottom"===o)return O(O({},{x:a+c/2,y:u+s+p,textAnchor:"middle",verticalAnchor:h}),r?{height:Math.max(r.y+r.height-(u+s),0),width:c}:{});if("left"===o){var g={x:a-v,y:u+s/2,textAnchor:m,verticalAnchor:"middle"};return O(O({},g),r?{width:Math.max(g.x-r.x,0),height:s}:{})}if("right"===o){var x={x:a+c+v,y:u+s/2,textAnchor:b,verticalAnchor:"middle"};return O(O({},x),r?{width:Math.max(r.x+r.width-x.x,0),height:s}:{})}var w=r?{width:c,height:s}:{};return"insideLeft"===o?O({x:a+v,y:u+s/2,textAnchor:b,verticalAnchor:"middle"},w):"insideRight"===o?O({x:a+c-v,y:u+s/2,textAnchor:m,verticalAnchor:"middle"},w):"insideTop"===o?O({x:a+c/2,y:u+p,textAnchor:"middle",verticalAnchor:h},w):"insideBottom"===o?O({x:a+c/2,y:u+s-p,textAnchor:"middle",verticalAnchor:d},w):"insideTopLeft"===o?O({x:a+v,y:u+p,textAnchor:b,verticalAnchor:h},w):"insideTopRight"===o?O({x:a+c-v,y:u+p,textAnchor:m,verticalAnchor:h},w):"insideBottomLeft"===o?O({x:a+v,y:u+s-p,textAnchor:b,verticalAnchor:d},w):"insideBottomRight"===o?O({x:a+c-v,y:u+s-p,textAnchor:m,verticalAnchor:d},w):(0,i.default)(o)&&((0,l.isNumber)(o.x)||(0,l.isPercent)(o.x))&&((0,l.isNumber)(o.y)||(0,l.isPercent)(o.y))?O({x:a+(0,l.getPercentValue)(o.x,c),y:u+(0,l.getPercentValue)(o.y,s),textAnchor:"end",verticalAnchor:"end"},w):O({x:a+c/2,y:u+s/2,textAnchor:"middle",verticalAnchor:"middle"},w)};function A(t){var i,c=t.offset,s=O({offset:void 0===c?5:c},function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,b)),f=s.viewBox,p=s.position,d=s.value,h=s.children,y=s.content,v=s.className,m=s.textBreakAll;if(!f||(0,r.default)(d)&&(0,r.default)(h)&&!(0,e.isValidElement)(y)&&!(0,n.default)(y))return null;if((0,e.isValidElement)(y))return(0,e.cloneElement)(y,s);if((0,n.default)(y)){if(i=(0,e.createElement)(y,s),(0,e.isValidElement)(i))return i}else i=S(s);var g="cx"in f&&(0,l.isNumber)(f.cx),x=(0,u.filterProps)(s,!0);if(g&&("insideStart"===p||"insideEnd"===p||"end"===p))return j(s,i,x);var A=g?P(s):E(s);return e.default.createElement(a.Text,w({className:(0,o.default)("recharts-label",void 0===v?"":v)},x,A,{breakAll:m}),i)}A.displayName="Label";var k=function(t){var e=t.cx,r=t.cy,n=t.angle,i=t.startAngle,o=t.endAngle,a=t.r,u=t.radius,c=t.innerRadius,s=t.outerRadius,f=t.x,p=t.y,d=t.top,h=t.left,y=t.width,v=t.height,m=t.clockWise,b=t.labelViewBox;if(b)return b;if((0,l.isNumber)(y)&&(0,l.isNumber)(v)){if((0,l.isNumber)(f)&&(0,l.isNumber)(p))return{x:f,y:p,width:y,height:v};if((0,l.isNumber)(d)&&(0,l.isNumber)(h))return{x:d,y:h,width:y,height:v}}return(0,l.isNumber)(f)&&(0,l.isNumber)(p)?{x:f,y:p,width:0,height:0}:(0,l.isNumber)(e)&&(0,l.isNumber)(r)?{cx:e,cy:r,startAngle:i||n||0,endAngle:o||n||0,innerRadius:c||0,outerRadius:s||u||a||0,clockWise:m}:t.viewBox?t.viewBox:{}};A.parseViewBox=k,A.renderCallByParent=function(t,r){var o,a,c=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&c&&!t.label)return null;var s=t.children,f=k(t),p=(0,u.findAllByType)(s,A).map(function(t,n){return(0,e.cloneElement)(t,{viewB
1ox:r||f,key:"label-".concat(n)})});if(!c)return p;return[(o=t.label,a=r||f,!o?null:!0===o?e.default.createElement(A,{key:"label-implicit",viewBox:a}):(0,l.isNumOrStr)(o)?e.default.createElement(A,{key:"label-implicit",viewBox:a,value:o}):(0,e.isValidElement)(o)?o.type===A?(0,e.cloneElement)(o,{key:"label-implicit",viewBox:a}):e.default.createElement(A,{key:"label-implicit",content:o,viewBox:a}):(0,n.default)(o)?e.default.createElement(A,{key:"label-implicit",content:o,viewBox:a}):(0,i.default)(o)?e.default.createElement(A,w({viewBox:a},o,{key:"label-implicit"})):null)].concat(function(t){if(Array.isArray(t))return g(t)}(p)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(p)||function(t){if(t){if("string"==typeof t)return g(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return g(t,void 0)}}(p)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())},t.s(["Label",0,A],5e3)},81264,t=>{"use strict";var e=t.i(91788),r=t.i(79065),n=t.i(70627),i=t.i(2969);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var a=["ref"];function u(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 l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach(function(e){d(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return 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,h(n.key),n)}}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t,e){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function d(t,e,r){return(e=h(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(e)?e:e+""}function y(t){return t.value}var v=function(t){var u,h;function v(){var t,e,r;if(!(this instanceof v))throw TypeError("Cannot call a class as a function");for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=v,r=[].concat(i),e=f(e),d(t=function(t,e){if(e&&("object"===o(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,s()?Reflect.construct(e,r||[],f(this).constructor):e.apply(this,r)),"lastBoundingBox",{width:-1,height:-1}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return v.prototype=Object.create(t&&t.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),t&&p(v,t),u=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();return t.height=this.wrapperNode.offsetHeight,t.width=this.wrapperNode.offsetWidth,t}return null}},{key:"updateBBox",value:function(){var t=this.props.onBBoxUpdate,e=this.getBBox();e?(Math.abs(e.width-this.lastBoundingBox.width)>1||Math.abs(e.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=e.width,this.lastBoundingBox.height=e.height,t&&t(e)):(-1!==this.lastBoundingBox.width||-1!==this.lastBoundingBox.height)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,t&&t(null))}}
1,{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?l({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(t){var e,r,n=this.props,i=n.layout,o=n.align,a=n.verticalAlign,u=n.margin,c=n.chartWidth,s=n.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===o&&"vertical"===i?{left:((c||0)-this.getBBoxSnapshot().width)/2}:"right"===o?{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:((s||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:u&&u.bottom||0}:{top:u&&u.top||0}),l(l({},e),r)}},{key:"render",value:function(){var t=this,n=this.props,o=n.content,u=n.width,c=n.height,s=n.wrapperStyle,f=n.payloadUniqBy,p=n.payload,d=l(l({position:"absolute",width:u||"auto",height:c||"auto"},this.getDefaultPosition(s)),s);return e.default.createElement("div",{className:"recharts-legend-wrapper",style:d,ref:function(e){t.wrapperNode=e}},function(t,n){if(e.default.isValidElement(t))return e.default.cloneElement(t,n);if("function"==typeof t)return e.default.createElement(t,n);n.ref;var i=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(n,a);return e.default.createElement(r.DefaultLegendContent,i)}(o,l(l({},this.props),{},{payload:(0,i.getUniqPayload)(p,f,y)})))}}],h=[{key:"getWithHeight",value:function(t,e){var r=l(l({},this.defaultProps),t.props).layout;return"vertical"===r&&(0,n.isNumber)(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}:null}}],u&&c(v.prototype,u),h&&c(v,h),Object.defineProperty(v,"prototype",{writable:!1}),v}(e.PureComponent);d(v,"displayName","Legend"),d(v,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"}),t.s(["Legend",0,v])},23451,t=>{"use strict";var e=t.i(56206),r=t.i(91788),n=t.i(31254),i=t.i(70627),o=t.i(91461),a=t.i(6043);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})(t)}function l(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?l(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=u(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==u(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var f=(0,r.forwardRef)(function(t,u){var l,f=t.aspect,p=t.initialDimension,d=void 0===p?{width:-1,height:-1}:p,h=t.width,y=void 0===h?"100%":h,v=t.height,m=void 0===v?"100%":v,b=t.minWidth,g=void 0===b?0:b,x=t.minHeight,O=t.maxHeight,w=t.children,S=t.debounce,j=void 0===S?0:S,P=t.id,E=t.className,A=t.onResize,k=t.style,T=(0,r.useRef)(null),M=(0,r.useRef)();M.current=A,(0,r.useImperativeHandle)(u,function(){return Object.defineProperty(T.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),T.current},configurable:!0})});var _=function(t){if(Array.isArray(t))return t}(l=(0,r.useState)({containerWidth:d.width,containerHeight:d.height}))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,i,o,a=[],u=!0,l=!1;try{i=(e=e.call(t)).next,!1;for(;!(u=(r=i.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){l=!0,n=t}
1finally{try{if(!u&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(l)throw n}}return a}}(l)||function(t){if(t){if("string"==typeof t)return s(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return s(t,2)}}(l)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),C=_[0],N=_[1],D=(0,r.useCallback)(function(t,e){N(function(r){var n=Math.round(t),i=Math.round(e);return r.containerWidth===n&&r.containerHeight===i?r:{containerWidth:n,containerHeight:i}})},[]);(0,r.useEffect)(function(){var t=function(t){var e,r=t[0].contentRect,n=r.width,i=r.height;D(n,i),null==(e=M.current)||e.call(M,n,i)};j>0&&(t=(0,n.default)(t,j,{trailing:!0,leading:!1}));var e=new ResizeObserver(t),r=T.current.getBoundingClientRect();return D(r.width,r.height),e.observe(T.current),function(){e.disconnect()}},[D,j]);var I=(0,r.useMemo)(function(){var t=C.containerWidth,e=C.containerHeight;if(t<0||e<0)return null;(0,o.warn)((0,i.isPercent)(y)||(0,i.isPercent)(m),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",y,m),(0,o.warn)(!f||f>0,"The aspect(%s) must be greater than zero.",f);var n=(0,i.isPercent)(y)?t:y,u=(0,i.isPercent)(m)?e:m;f&&f>0&&(n?u=n/f:u&&(n=u*f),O&&u>O&&(u=O)),(0,o.warn)(n>0||u>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,u,y,m,g,x,f);var l=!Array.isArray(w)&&(0,a.getDisplayName)(w.type).endsWith("Chart");return r.default.Children.map(w,function(t){return r.default.isValidElement(t)?(0,r.cloneElement)(t,c({width:n,height:u},l?{style:c({height:"100%",width:"100%",maxHeight:u,maxWidth:n},t.props.style)}:{})):t})},[f,w,m,O,x,g,C,y]);return r.default.createElement("div",{id:P?"".concat(P):void 0,className:(0,e.default)("recharts-responsive-container",E),style:c(c({},void 0===k?{}:k),{},{width:y,height:m,minWidth:g,minHeight:x,maxHeight:O}),ref:T},I)});t.s(["ResponsiveContainer",0,f])},61320,2227,64483,5438,t=>{"use strict";var e=t.i(91788),r=t.i(57140),n=t.i(56206),i=t.i(70627),o=t.i(57216),a=t.i(6043);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})(t)}function l(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?l(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=u(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==u(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var s={widthCache:{},cacheCount:0},f={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},p="recharts_measurement_span",d=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||o.Global.isSsr)return{width:0,height:0};var n=(Object.keys(e=c({},r)).forEach(function(t){e[t]||delete e[t]}),e),i=JSON.stringify({text:t,copyStyle:n});if(s.widthCache[i])return s.widthCache[i];try{var a=document.getElementById(p);a||((a=document.createElement("span")).setAttribute("id",p),a.setAttribute("aria-hidden","true"),document.body.appendChild(a));var u=c(c({},f),n);Object.assign(a.style,u),a.textContent="".concat(t);var l=a.getBoundingClientRect(),d={width:l.width,height:l.height};
1return s.widthCache[i]=d,++s.cacheCount>2e3&&(s.cacheCount=0,s.widthCache={}),d}catch(t){return{width:0,height:0}}};function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],l=!0,c=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return v(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function m(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){var e=function(t,e){if("object"!=h(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=h(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==h(e)?e:e+""}(n.key),n)}}t.s(["getOffset",0,function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}},"getStringSize",0,d],2227);var b=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,g=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,x=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,O=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,w={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},S=Object.keys(w),j=function(){var t,e;function r(t,e){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");this.num=t,this.unit=e,this.num=t,this.unit=e,Number.isNaN(t)&&(this.unit=""),""===e||x.test(e)||(this.num=NaN,this.unit=""),S.includes(e)&&(this.num=t*w[e],this.unit="px")}return t=[{key:"add",value:function(t){return this.unit!==t.unit?new r(NaN,""):new r(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new r(NaN,""):new r(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new r(NaN,""):new r(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new r(NaN,""):new r(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],e=[{key:"parse",value:function(t){var e,n=y(null!=(e=O.exec(t))?e:[],3),i=n[1],o=n[2];return new r(parseFloat(i),null!=o?o:"")}}],t&&m(r.prototype,t),e&&m(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();function P(t){if(t.includes("NaN"))return"NaN";for(var e=t;e.includes("*")||e.includes("/");){var r,n=y(null!=(r=b.exec(e))?r:[],4),i=n[1],o=n[2],a=n[3],u=j.parse(null!=i?i:""),l=j.parse(null!=a?a:""),c="*"===o?u.multiply(l):u.divide(l);if(c.isNaN())return"NaN";e=e.replace(b,c.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var s,f=y(null!=(s=g.exec(e))?s:[],4),p=f[1],d=f[2],h=f[3],v=j.parse(null!=p?p:""),m=j.parse(null!=h?h:""),x="+"===d?v.add(m):v.subtract(m);if(x.isNaN())return"NaN";e=e.replace(g,x.toString())}return e}var E=/\(([^()]*)\)/;function A(t){var e=function(t){try{var e;return e=t.replace(/\s+/g,""),e=function(t){for(var e=t;e.includes("(");){var r=y(E.exec(e),2)[1];e=e.replace(E,P(r))}return e}(e),e=P(e)}catch(t){return"NaN"}}(t.slice(5,-1));return"NaN"===e?"":e}var k=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],T=["dx","dy","angle","className","breakAll"];function M(){return(M=Object.assign.bind()).apply(this,arguments)}function _(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function C(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],l=!0,c=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;
1!(l=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return N(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return N(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var D=/[ \f\n\r\t\v\u2028\u2029]+/,I=function(t){var e=t.children,n=t.breakAll,i=t.style;try{var o=[];(0,r.default)(e)||(o=n?e.toString().split(""):e.toString().split(D));var a=o.map(function(t){return{word:t,width:d(t,i).width}}),u=n?0:d(" ",i).width;return{wordsWithComputedWidth:a,spaceWidth:u}}catch(t){return null}},B=function(t,e,r,n,o){var a,u=t.maxLines,l=t.children,c=t.style,s=t.breakAll,f=(0,i.isNumber)(u),p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.reduce(function(t,e){var i=e.word,a=e.width,u=t[t.length-1];return u&&(null==n||o||u.width+a+r<Number(n))?(u.words.push(i),u.width+=a+r):t.push({words:[i],width:a}),t},[])},d=p(e);if(!f)return d;for(var h=function(t){var e=p(I({breakAll:s,style:c,children:l.slice(0,t)+"â¦"}).wordsWithComputedWidth);return[e.length>u||e.reduce(function(t,e){return t.width>e.width?t:e}).width>Number(n),e]},y=0,v=l.length-1,m=0;y<=v&&m<=l.length-1;){var b=Math.floor((y+v)/2),g=C(h(b-1),2),x=g[0],O=g[1],w=C(h(b),1)[0];if(x||w||(y=b+1),x&&w&&(v=b-1),!x&&w){a=O;break}m++}return a||d},L=function(t){return[{words:(0,r.default)(t)?[]:t.toString().split(D)}]},R=function(t){var e=t.width,r=t.scaleToFit,n=t.children,i=t.style,a=t.breakAll,u=t.maxLines;if((e||r)&&!o.Global.isSsr){var l=I({breakAll:a,children:n,style:i});if(!l)return L(n);var c=l.wordsWithComputedWidth,s=l.spaceWidth;return B({breakAll:a,children:n,maxLines:u,style:i},c,s,e,r)}return L(n)},z="#808080";t.s(["Text",0,function(t){var r,o=t.x,u=void 0===o?0:o,l=t.y,c=void 0===l?0:l,s=t.lineHeight,f=void 0===s?"1em":s,p=t.capHeight,d=void 0===p?"0.71em":p,h=t.scaleToFit,y=void 0!==h&&h,v=t.textAnchor,m=t.verticalAnchor,b=t.fill,g=void 0===b?z:b,x=_(t,k),O=(0,e.useMemo)(function(){return R({breakAll:x.breakAll,children:x.children,maxLines:x.maxLines,scaleToFit:y,style:x.style,width:x.width})},[x.breakAll,x.children,x.maxLines,y,x.style,x.width]),w=x.dx,S=x.dy,j=x.angle,P=x.className,E=x.breakAll,C=_(x,T);if(!(0,i.isNumOrStr)(u)||!(0,i.isNumOrStr)(c))return null;var N=u+((0,i.isNumber)(w)?w:0),D=c+((0,i.isNumber)(S)?S:0);switch(void 0===m?"end":m){case"start":r=A("calc(".concat(d,")"));break;case"middle":r=A("calc(".concat((O.length-1)/2," * -").concat(f," + (").concat(d," / 2))"));break;default:r=A("calc(".concat(O.length-1," * -").concat(f,")"))}var I=[];if(y){var B=O[0].width,L=x.width;I.push("scale(".concat(((0,i.isNumber)(L)?L/B:1)/B,")"))}return j&&I.push("rotate(".concat(j,", ").concat(N,", ").concat(D,")")),I.length&&(C.transform=I.join(" ")),e.default.createElement("text",M({},(0,a.filterProps)(C,!0),{x:N,y:D,className:(0,n.default)("recharts-text",P),textAnchor:void 0===v?"start":v,fill:g.includes("url")?z:g}),O.map(function(t,n){var i=t.words.join(E?"":" ");return e.default.createElement("tspan",{x:N,dy:0===n?r:f,key:"".concat(i,"-").concat(n)},i)}))}],61320),t.s([],64483),t.s([],5438)},94713,t=>{"use strict";var e=t.i(91788),r=t.i(39810),n=t.i(97462),i=t.i(57216),o=t.i(2969);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(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 l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?u(Object(r),!0).forEach(function(e){p(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function c(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(c=function(){return!!t})()}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function p(t,e,r){return(e=d(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}function h(t){return t.dataKey}var y=function(t){var i;function u(){var t,e;if(!(this instanceof u))throw TypeError("Cannot call a class as a function");return t=u,e=arguments,t=s(t),function(t,e){if(e&&("object"===a(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,c()?Reflect.construct(t,e||[],s(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return u.prototype=Object.create(t&&t.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),t&&f(u,t),i=[{key:"render",value:function(){var t,i=this,a=this.props,u=a.active,c=a.allowEscapeViewBox,s=a.animationDuration,f=a.animationEasing,p=a.content,d=a.coordinate,y=a.filterNull,v=a.isAnimationActive,m=a.offset,b=a.payload,g=a.payloadUniqBy,x=a.position,O=a.reverseDirection,w=a.useTranslate3d,S=a.viewBox,j=a.wrapperStyle,P=null!=b?b:[];y&&P.length&&(P=(0,o.getUniqPayload)(b.filter(function(t){return null!=t.value&&(!0!==t.hide||i.props.includeHidden)}),g,h));var E=P.length>0;return e.default.createElement(n.TooltipBoundingBox,{allowEscapeViewBox:c,animationDuration:s,animationEasing:f,isAnimationActive:v,active:u,coordinate:d,hasPayload:E,offset:m,position:x,reverseDirection:O,useTranslate3d:w,viewBox:S,wrapperStyle:j},(t=l(l({},this.props),{},{payload:P}),e.default.isValidElement(p)?e.default.cloneElement(p,t):"function"==typeof p?e.default.createElement(p,t):e.default.createElement(r.DefaultTooltipContent,t)))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,d(n.key),n)}}(u.prototype,i),Object.defineProperty(u,"prototype",{writable:!1}),u}(e.PureComponent);p(y,"displayName","Tooltip"),p(y,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!i.Global.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}}),t.s(["Tooltip",0,y])},79472,t=>{"use strict";var e=t.i(91788),r=t.i(56206),n=t.i(6043),i=["children","className"];function o(){return(o=Object.assign.bind()).apply(this,arguments)}var a=e.default.forwardRef(function(t,a){var u=t.children,l=t.className,c=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,i),s=(0,r.default)("recharts-layer",l);return e.default.createElement("g",o({className:s},(0,n.filterProps)(c,!0),{ref:a}),u)});t.s(["Layer",0,a])},77541,t=>{"use strict";var e=t.i(91788),r=t.i(56206),n=t.i(6043),i=["children","width","height","viewBox","className","style","title","desc"];function o(){return(o=Object.assign.bind()).apply(this,arguments)}t.s(["Surface",0,function(t){var a=t.children,u=t.width,l=t.height,c=t.viewBox,s=t.className,f=t.style,p=t.title,d=t.desc,h=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,i),y=c||{width:u,height:l,x:0,y:0},v=(0,r.default)("recharts-surface",s);return e.default.createElement("svg",o({},(0,n.filterProps)(h,!0,"svg"),{className:v,width:u,height:l,style:f,viewBox:"".concat(y.x," ").concat(y.y," ").concat(y.width," ").concat(y.height)}),e.default.createElement("title",null,p),e.default.createElement("desc",null,d),a)}])},1841,t=>{"use strict";t.i(50461);var e=t.i(91788),r=t.i(34534);t.i(62046),t.i(89551);var n=t.i(46901);t.i(70627);var i=(0,e.createContext)(void 0),o=(0,e.createContext)(void 0),a=(0,e.createContext)(void 0),u=(0,e.createContext)({}),l=(0,e.createContext)(void 0),c=(0,e.createContext)(0),s=(0,e.createContext)(0);t.s(["ChartLayoutContextProvider",0,function(t){var r=t.state,f=r.xAxisMap,p=r.yAxisMap,d=r.offset,h=t.clipPathId,y=t.children,v=t.width,m=t.height,b=(0,n.calculateViewBox)(d);return e.default.createElement(i.Provider,{value:f},e.default.createElement(o.Provider,{value:p},e.default.createElement(u.Provider,{value:d},e.default.createElement(a.Provider,{value:b},e.default.createElement(l.Provider,{value:h},e.default.createElement(c.Provider,{value:m},e.default.createElement(s.Provider,{value:v},y)))))))},"useChartHeight",0,function(){return(0,e.useContext)(c)},"useChartWidth",0,function(){return(0,e.useContext)(s)},"useClipPathId",0,function(){return(0,e.useContext)(l)},"useViewBox",0,function(){return(0,e.useContext)(a)},"useXAxisOrThrow",0,function(t){var n=(0,e.useContext)(i);null==n&&(0,r.default)(!1);var o=n[t];return null==o&&(0,r.default)(!1),o},"useYAxisOrThrow",0,function(t){var n=(0,e.useContext)(o);null==n&&(0,r.default)(!1);var i=n[t];return null==i&&(0,r.default)(!1),i}])},66998,t=>{"use strict";var e=t.i(91788),r=t.i(21776),n=t.i(72301);function i(t){this._context=t}function o(t){return new i(t)}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var a=t.i(80696);function u(t){return t[0]}function l(t){return t[1]}
vendor: 9,267 bytes, line 1
1function c(t,e){var i=(0,n.default)(!0),c=null,s=o,f=null,p=(0,a.withPath)(d);function d(n){var o,a,u,l=(n=(0,r.default)(n)).length,d=!1;for(null==c&&(f=s(u=p())),o=0;o<=l;++o)!(o<l&&i(a=n[o],o,n))===d&&((d=!d)?f.lineStart():f.lineEnd()),d&&f.point(+t(a,o,n),+e(a,o,n));if(u)return f=null,u+""||null}return t="function"==typeof t?t:void 0===t?u:(0,n.default)(t),e="function"==typeof e?e:void 0===e?l:(0,n.default)(e),d.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,n.default)(+e),d):t},d.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,n.default)(+t),d):e},d.defined=function(t){return arguments.length?(i="function"==typeof t?t:(0,n.default)(!!t),d):i},d.curve=function(t){return arguments.length?(s=t,null!=c&&(f=s(c)),d):s},d.context=function(t){return arguments.length?(null==t?c=f=null:f=s(c=t),d):c},d}function s(t,e,i){var s=null,f=(0,n.default)(!0),p=null,d=o,h=null,y=(0,a.withPath)(v);function v(n){var o,a,u,l,c,v=(n=(0,r.default)(n)).length,m=!1,b=Array(v),g=Array(v);for(null==p&&(h=d(c=y())),o=0;o<=v;++o){if(!(o<v&&f(l=n[o],o,n))===m)if(m=!m)a=o,h.areaStart(),h.lineStart();else{for(h.lineEnd(),h.lineStart(),u=o-1;u>=a;--u)h.point(b[u],g[u]);h.lineEnd(),h.areaEnd()}m&&(b[o]=+t(l,o,n),g[o]=+e(l,o,n),h.point(s?+s(l,o,n):b[o],i?+i(l,o,n):g[o]))}if(c)return h=null,c+""||null}function m(){return c().defined(f).curve(d).context(p)}return t="function"==typeof t?t:void 0===t?u:(0,n.default)(+t),e="function"==typeof e?e:void 0===e?(0,n.default)(0):(0,n.default)(+e),i="function"==typeof i?i:void 0===i?l:(0,n.default)(+i),v.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,n.default)(+e),s=null,v):t},v.x0=function(e){return arguments.length?(t="function"==typeof e?e:(0,n.default)(+e),v):t},v.x1=function(t){return arguments.length?(s=null==t?null:"function"==typeof t?t:(0,n.default)(+t),v):s},v.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,n.default)(+t),i=null,v):e},v.y0=function(t){return arguments.length?(e="function"==typeof t?t:(0,n.default)(+t),v):e},v.y1=function(t){return arguments.length?(i=null==t?null:"function"==typeof t?t:(0,n.default)(+t),v):i},v.lineX0=v.lineY0=function(){return m().x(t).y(e)},v.lineY1=function(){return m().x(t).y(i)},v.lineX1=function(){return m().x(s).y(e)},v.defined=function(t){return arguments.length?(f="function"==typeof t?t:(0,n.default)(!!t),v):f},v.curve=function(t){return arguments.length?(d=t,null!=p&&(h=d(p)),v):d},v.context=function(t){return arguments.length?(null==t?p=h=null:h=d(p=t),v):p},v}function f(){}function p(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 d(t){this._context=t}function h(t){this._context=t}function y(t){this._context=t}d.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:p(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:p(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},h.prototype={areaStart:f,areaEnd:f,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:p(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},y.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:p(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class v{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function m(t){this._context=t}m.prototype={areaStart:f,areaEnd:f,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t*=1,e*=1,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function b(t,e,r){var n=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(n||i<0&&-0),a=(r-t._y1)/(i||n<0&&-0);return((o<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs((o*i+a*n)/(n+i)))||0}function g(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function x(t,e,r){var n=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-n)/3;t._context.bezierCurveTo(n+u,i+u*e,o-u,a-u*r,o,a)}function O(t){this._context=t}function w(t){this._context=new S(t)}function S(t){this._context=t}function j(t){this._context=t}function P(t){var e,r,n=t.length-1,i=Array(n),o=Array(n),a=Array(n);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=i[e]/o[e-1],o[e]-=r,a[e]-=r*a[e-1];for(i[n-1]=a[n-1]/o[n-1],e=n-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[n-1]=(t[n]+i[n-1])/2,e=0;e<n-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function E(t,e){this._context=t,this._t=e}O.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:x(this,this._t0,g(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(e*=1,(t*=1)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,x(this,g(this,r=b(this,t,e)),r);break;default:x(this,this._t0,r=b(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(w.prototype=Object.create(O.prototype)).point=function(t,e){O.prototype.point.call(this,e,t)},S.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,i,o){this._context.bezierCurveTo(e,t,n,r,o,i)}},j.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=P(t),i=P(e),o=0,a=1;a<r;++o,++a)this._context.bezierCurveTo(n[0][o],i[0][o],n[1][o],i[1][o],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)}},E.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}};
1var A=t.i(70915),k=t.i(38299),T=t.i(56206),M=t.i(78979),_=t.i(6043),C=t.i(70627);function N(t){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function D(){return(D=Object.assign.bind()).apply(this,arguments)}function I(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 B(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?I(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=N(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=N(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==N(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var L={curveBasisClosed:function(t){return new h(t)},curveBasisOpen:function(t){return new y(t)},curveBasis:function(t){return new d(t)},curveBumpX:function(t){return new v(t,!0)},curveBumpY:function(t){return new v(t,!1)},curveLinearClosed:function(t){return new m(t)},curveLinear:o,curveMonotoneX:function(t){return new O(t)},curveMonotoneY:function(t){return new w(t)},curveNatural:function(t){return new j(t)},curveStep:function(t){return new E(t,.5)},curveStepAfter:function(t){return new E(t,1)},curveStepBefore:function(t){return new E(t,0)}},R=function(t){return t.x===+t.x&&t.y===+t.y},z=function(t){return t.x},U=function(t){return t.y},F=function(t,e){if((0,k.default)(t))return t;var r="curve".concat((0,A.default)(t));return("curveMonotone"===r||"curveBump"===r)&&e?L["".concat(r).concat("vertical"===e?"Y":"X")]:L[r]||o},$=function(t){var e,r=t.type,n=t.points,i=void 0===n?[]:n,o=t.baseLine,a=t.layout,u=t.connectNulls,l=void 0!==u&&u,f=F(void 0===r?"linear":r,a),p=l?i.filter(function(t){return R(t)}):i;if(Array.isArray(o)){var d=l?o.filter(function(t){return R(t)}):o,h=p.map(function(t,e){return B(B({},t),{},{base:d[e]})});return(e="vertical"===a?s().y(U).x1(z).x0(function(t){return t.base.x}):s().x(z).y1(U).y0(function(t){return t.base.y})).defined(R).curve(f),e(h)}return(e="vertical"===a&&(0,C.isNumber)(o)?s().y(U).x1(z).x0(o):(0,C.isNumber)(o)?s().x(z).y1(U).y0(o):c().x(z).y(U)).defined(R).curve(f),e(p)};t.s(["Curve",0,function(t){var r=t.className,n=t.points,i=t.path,o=t.pathRef;if((!n||!n.length)&&!i)return null;var a=n&&n.length?$(t):i;return e.createElement("path",D({},(0,_.filterProps)(t,!1),(0,M.adaptEventHandlers)(t),{className:(0,T.default)("recharts-curve",r),d:a,ref:o}))}],66998)},28233,t=>{"use strict";var e=t.i(91788),r=t.i(56206),n=t.i(78979),i=t.i(6043);function o(){return(o=Object.assign.bind()).apply(this,arguments)}t.s(["Dot",0,function(t){var a=t.cx,u=t.cy,l=t.r,c=t.className,s=(0,r.default)("recharts-dot",c);return a===+a&&u===+u&&l===+l?e.createElement("circle",o({},(0,i.filterProps)(t,!1),(0,n.adaptEventHandlers)(t),{className:s,cx:a,cy:u,r:l})):null}])},55345,t=>{"use strict";var e=t.i(91788),r=t.i(56206),n=t.i(92984),i=t.i(6043);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(){return(a=Object.assign.bind()).apply(this,arguments)}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function l(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]:{};
1e%2?l(Object(r),!0).forEach(function(e){var n,i,a;n=t,i=e,a=r[e],(i=function(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var s=function(t,e,r,n,i){var o,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),u=n>=0?1:-1,l=r>=0?1:-1,c=+(n>=0&&r>=0||n<0&&r<0);if(a>0&&i instanceof Array){for(var s=[0,0,0,0],f=0;f<4;f++)s[f]=i[f]>a?a:i[f];o="M".concat(t,",").concat(e+u*s[0]),s[0]>0&&(o+="A ".concat(s[0],",").concat(s[0],",0,0,").concat(c,",").concat(t+l*s[0],",").concat(e)),o+="L ".concat(t+r-l*s[1],",").concat(e),s[1]>0&&(o+="A ".concat(s[1],",").concat(s[1],",0,0,").concat(c,",\n ").concat(t+r,",").concat(e+u*s[1])),o+="L ".concat(t+r,",").concat(e+n-u*s[2]),s[2]>0&&(o+="A ".concat(s[2],",").concat(s[2],",0,0,").concat(c,",\n ").concat(t+r-l*s[2],",").concat(e+n)),o+="L ".concat(t+l*s[3],",").concat(e+n),s[3]>0&&(o+="A ".concat(s[3],",").concat(s[3],",0,0,").concat(c,",\n ").concat(t,",").concat(e+n-u*s[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var p=Math.min(a,i);o="M ".concat(t,",").concat(e+u*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(c,",").concat(t+l*p,",").concat(e,"\n L ").concat(t+r-l*p,",").concat(e,"\n A ").concat(p,",").concat(p,",0,0,").concat(c,",").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(c,",").concat(t+r-l*p,",").concat(e+n,"\n L ").concat(t+l*p,",").concat(e+n,"\n A ").concat(p,",").concat(p,",0,0,").concat(c,",").concat(t,",").concat(e+n-u*p," Z")}else o="M ".concat(t,",").concat(e," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return o},f={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"};t.s(["Rectangle",0,function(t){var o,l=c(c({},f),t),p=(0,e.useRef)(),d=function(t){if(Array.isArray(t))return t}(o=(0,e.useState)(-1))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,i,o,a=[],u=!0,l=!1;try{i=(e=e.call(t)).next,!1;for(;!(u=(r=i.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){l=!0,n=t}finally{try{if(!u&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(l)throw n}}return a}}(o)||function(t){if(t){if("string"==typeof t)return u(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return u(t,2)}}(o)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),h=d[0],y=d[1];(0,e.useEffect)(function(){if(p.current&&p.current.getTotalLength)try{var t=p.current.getTotalLength();t&&y(t)}catch(t){}},[]);var v=l.x,m=l.y,b=l.width,g=l.height,x=l.radius,O=l.className,w=l.animationEasing,S=l.animationDuration,j=l.animationBegin,P=l.isAnimationActive,E=l.isUpdateAnimationActive;if(v!==+v||m!==+m||b!==+b||g!==+g||0===b||0===g)return null;var A=(0,r.default)("recharts-rectangle",O);return E?e.default.createElement(n.default,{canBegin:h>0,from:{width:b,height:g,x:v,y:m},to:{width:b,height:g,x:v,y:m},duration:S,animationEasing:w,isActive:E},function(t){var r=t.width,o=t.height,u=t.x,c=t.y;return e.default.createElement(n.default,{canBegin:h>0,from:"0px ".concat(-1===h?1:h,"px"),to:"".concat(h,"px 0px"),attributeName:"strokeDasharray",begin:j,duration:S,isActive:P,easing:w},e.default.createElement("path",a({},(0,i.filterProps)(l,!0),{className:A,d:s(u,c,r,o,x),ref:p})))}):e.default.createElement("path",a({},(0,i.filterProps)(l,!0),{className:A,d:s(v,m,b,g,x)}))},"isInRectangle",0,function(t,e){if(!t||!e)return!1;var r=t.x,n=t.y,i=e.x,o=e.y,a=e.width,u=e.height;if(Math.abs(a)>0&&Math.abs(u)>0){var l=Math.min(i,i+a),c=Math.max(i,i+a),s=Math.min(o,o+u),f=Math.max(o,o+u);return r>=l&&r<=c&&n>=s&&n<=f}return!1}])},40626,96915,34959,57699,t=>{"use strict";
1var e=t.i(856),r=t.i(89551),n=t.i(3315),i=t.i(6043),o=t.i(70627),a=t.i(91788),u=t.i(56206),l=t.i(92984),c=t.i(64529),s=t.i(57140),f=t.i(79472),p=t.i(92402),d=t.i(244),h=t.i(1426),y=t.i(57216),v=t.i(78979),m=t.i(34534),b=t.i(38299),g=t.i(7402),x=t.i(36986),O=t.i(55345);function w(t){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(){return(S=Object.assign.bind()).apply(this,arguments)}function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function P(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 E(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?P(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=w(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=w(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==w(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var A=function(t,e,r,n,i){var o=r-n;return"M ".concat(t,",").concat(e)+"L ".concat(t+r,",").concat(e)+"L ".concat(t+r-o/2,",").concat(e+i)+"L ".concat(t+r-o/2-n,",").concat(e+i)+"L ".concat(t,",").concat(e," Z")},k={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},T=function(t){var e,r=E(E({},k),t),n=(0,a.useRef)(),o=function(t){if(Array.isArray(t))return t}(e=(0,a.useState)(-1))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,i,o,a=[],u=!0,l=!1;try{i=(e=e.call(t)).next,!1;for(;!(u=(r=i.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){l=!0,n=t}finally{try{if(!u&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(l)throw n}}return a}}(e)||function(t){if(t){if("string"==typeof t)return j(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return j(t,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),c=o[0],s=o[1];(0,a.useEffect)(function(){if(n.current&&n.current.getTotalLength)try{var t=n.current.getTotalLength();t&&s(t)}catch(t){}},[]);var f=r.x,p=r.y,d=r.upperWidth,h=r.lowerWidth,y=r.height,v=r.className,m=r.animationEasing,b=r.animationDuration,g=r.animationBegin,x=r.isUpdateAnimationActive;if(f!==+f||p!==+p||d!==+d||h!==+h||y!==+y||0===d&&0===h||0===y)return null;var O=(0,u.default)("recharts-trapezoid",v);return x?a.default.createElement(l.default,{canBegin:c>0,from:{upperWidth:0,lowerWidth:0,height:y,x:f,y:p},to:{upperWidth:d,lowerWidth:h,height:y,x:f,y:p},duration:b,animationEasing:m,isActive:x},function(t){var e=t.upperWidth,o=t.lowerWidth,u=t.height,s=t.x,f=t.y;return a.default.createElement(l.default,{canBegin:c>0,from:"0px ".concat(-1===c?1:c,"px"),to:"".concat(c,"px 0px"),attributeName:"strokeDasharray",begin:g,duration:b,easing:m},a.default.createElement("path",S({},(0,i.filterProps)(r,!0),{className:O,d:A(s,f,e,o,u),ref:n})))}):a.default.createElement("g",null,a.default.createElement("path",S({},(0,i.filterProps)(r,!0),{className:O,d:A(f,p,d,h,y)})))},M=t.i(93555);function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function C(){return(C=Object.assign.bind()).apply(this,arguments)}function N(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 D(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?N(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=_(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==_(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var I=function(t){var e=t.cx,r=t.cy,n=t.radius,i=t.angle,o=t.sign,a=t.isExternal,u=t.cornerRadius,l=t.cornerIsExternal,c=u*(a?1:-1)+n,s=Math.asin(u/c)/M.RADIAN,f=l?i:i+o*s;return{center:(0,M.polarToCartesian)(e,r,c,f),circleTangency:(0,M.polarToCartesian)(e,r,n,f),lineTangency:(0,M.polarToCartesian)(e,r,c*Math.cos(s*M.RADIAN),l?i-o*s:i),theta:s}},B=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,a=t.startAngle,u=t.endAngle,l=(0,o.mathSign)(u-a)*Math.min(Math.abs(u-a),359.999),c=a+l,s=(0,M.polarToCartesian)(e,r,i,a),f=(0,M.polarToCartesian)(e,r,i,c),p="M ".concat(s.x,",").concat(s.y,"\n A ").concat(i,",").concat(i,",0,\n ").concat(+(Math.abs(l)>180),",").concat(+(a>c),",\n ").concat(f.x,",").concat(f.y,"\n ");if(n>0){var d=(0,M.polarToCartesian)(e,r,n,a),h=(0,M.polarToCartesian)(e,r,n,c);p+="L ".concat(h.x,",").concat(h.y,"\n A ").concat(n,",").concat(n,",0,\n ").concat(+(Math.abs(l)>180),",").concat(+(a<=c),",\n ").concat(d.x,",").concat(d.y," Z")}else p+="L ".concat(e,",").concat(r," Z");return p},L=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,a=t.cornerRadius,u=t.forceCornerRadius,l=t.cornerIsExternal,c=t.startAngle,s=t.endAngle,f=(0,o.mathSign)(s-c),p=I({cx:e,cy:r,radius:i,angle:c,sign:f,cornerRadius:a,cornerIsExternal:l}),d=p.circleTangency,h=p.lineTangency,y=p.theta,v=I({cx:e,cy:r,radius:i,angle:s,sign:-f,cornerRadius:a,cornerIsExternal:l}),m=v.circleTangency,b=v.lineTangency,g=v.theta,x=l?Math.abs(c-s):Math.abs(c-s)-y-g;if(x<0)return u?"M ".concat(h.x,",").concat(h.y,"\n a").concat(a,",").concat(a,",0,0,1,").concat(2*a,",0\n a").concat(a,",").concat(a,",0,0,1,").concat(-(2*a),",0\n "):B({cx:e,cy:r,innerRadius:n,outerRadius:i,startAngle:c,endAngle:s});var O="M ".concat(h.x,",").concat(h.y,"\n A").concat(a,",").concat(a,",0,0,").concat(+(f<0),",").concat(d.x,",").concat(d.y,"\n A").concat(i,",").concat(i,",0,").concat(+(x>180),",").concat(+(f<0),",").concat(m.x,",").concat(m.y,"\n A").concat(a,",").concat(a,",0,0,").concat(+(f<0),",").concat(b.x,",").concat(b.y,"\n ");if(n>0){var w=I({cx:e,cy:r,radius:n,angle:c,sign:f,isExternal:!0,cornerRadius:a,cornerIsExternal:l}),S=w.circleTangency,j=w.lineTangency,P=w.theta,E=I({cx:e,cy:r,radius:n,angle:s,sign:-f,isExternal:!0,cornerRadius:a,cornerIsExternal:l}),A=E.circleTangency,k=E.lineTangency,T=E.theta,M=l?Math.abs(c-s):Math.abs(c-s)-P-T;if(M<0&&0===a)return"".concat(O,"L").concat(e,",").concat(r,"Z");O+="L".concat(k.x,",").concat(k.y,"\n A").concat(a,",").concat(a,",0,0,").concat(+(f<0),",").concat(A.x,",").concat(A.y,"\n A").concat(n,",").concat(n,",0,").concat(+(M>180),",").concat(+(f>0),",").concat(S.x,",").concat(S.y,"\n A").concat(a,",").concat(a,",0,0,").concat(+(f<0),",").concat(j.x,",").concat(j.y,"Z")}else O+="L".concat(e,",").concat(r,"Z");return O},R={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},z=function(t){var e,r=D(D({},R),t),n=r.cx,l=r.cy,c=r.innerRadius,s=r.outerRadius,f=r.cornerRadius,p=r.forceCornerRadius,d=r.cornerIsExternal,h=r.startAngle,y=r.endAngle,v=r.className;if(s<c||h===y)return null;var m=(0,u.default)("recharts-sector",v),b=s-c,g=(0,o.getPercentValue)(f,b,0,!0);return e=g>0&&360>Math.abs(h-y)?L({cx:n,cy:l,innerRadius:c,outerRadius:s,cornerRadius:Math.min(g,b/2),forceCornerRadius:p,cornerIsExternal:d,startAngle:h,endAngle:y}):B({cx:n,cy:l,innerRadius:c,outerRadius:s,startAngle:h,endAngle:y}),a.default.createElement("path",C({},(0,i.filterProps)(r,!0),{className:m,d:e,role:"img"}))};t.s(["Sector",0,z],96915);
1var U=t.i(85505),F=["option","shapeType","propTransformer","activeClassName","isActive"];function $(t){return($="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function 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 W(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){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=$(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=$(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==$(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):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 V(t){var e=t.shapeType,r=t.elementProps;switch(e){case"rectangle":return a.default.createElement(O.Rectangle,r);case"trapezoid":return a.default.createElement(T,r);case"sector":return a.default.createElement(z,r);case"symbols":if("symbols"===e)return a.default.createElement(U.Symbols,r);break;default:return null}}function H(t){var e,r=t.option,n=t.shapeType,i=t.propTransformer,o=t.activeClassName,u=t.isActive,l=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,F);if((0,a.isValidElement)(r))e=(0,a.cloneElement)(r,W(W({},l),(0,a.isValidElement)(r)?r.props:r));else if((0,b.default)(r))e=r(l);else if((0,g.default)(r)&&!(0,x.default)(r)){var c=(void 0===i?function(t,e){return W(W({},e),t)}:i)(r,l);e=a.default.createElement(V,{shapeType:n,elementProps:c})}else e=a.default.createElement(V,{shapeType:n,elementProps:l});return u?a.default.createElement(f.Layer,{className:void 0===o?"recharts-active-shape":o},e):e}function X(t,e){return null!=e&&"trapezoids"in t.props}function G(t,e){return null!=e&&"sectors"in t.props}function K(t,e){return null!=e&&"points"in t.props}function Y(t,e){var r,n,i=t.x===(null==e||null==(r=e.labelViewBox)?void 0:r.x)||t.x===e.x,o=t.y===(null==e||null==(n=e.labelViewBox)?void 0:n.y)||t.y===e.y;return i&&o}function Z(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function J(t,e){var r=t.x===e.x,n=t.y===e.y,i=t.z===e.z;return r&&n&&i}t.s(["Shape",0,H,"getActiveShapeIndexForTooltip",0,function(t){var e,r,n,i=t.activeTooltipItem,o=t.graphicalItem,a=t.itemData,u=(X(o,i)?e="trapezoids":G(o,i)?e="sectors":K(o,i)&&(e="points"),e),l=X(o,i)?null==(r=i.tooltipPayload)||null==(r=r[0])||null==(r=r.payload)?void 0:r.payload:G(o,i)?null==(n=i.tooltipPayload)||null==(n=n[0])||null==(n=n.payload)?void 0:n.payload:K(o,i)?i.payload:{},s=a.filter(function(t,e){var r=(0,c.default)(l,t),n=o.props[u].filter(function(t){var e;return(X(o,i)?e=Y:G(o,i)?e=Z:K(o,i)&&(e=J),e)(t,i)}),a=o.props[u].indexOf(n[n.length-1]);return r&&e===a});return a.indexOf(s[s.length-1])},"isFunnel",0,X,"isPie",0,G,"isScatter",0,K],34959);var Q=["x","y"];function tt(t){return(tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function te(){return(te=Object.assign.bind()).apply(this,arguments)}function tr(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 tn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?tr(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=tt(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tt(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tt(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tr(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function ti(t,e){var r=t.x,n=t.y,i=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,Q),o=parseInt("".concat(r),10),a=parseInt("".concat(n),10),u=parseInt("".concat(e.height||i.height),10),l=parseInt("".concat(e.width||i.width),10);return tn(tn(tn(tn(tn({},e),i),o?{x:o}:{}),a?{y:a}:{}),{},{height:u,width:l,name:e.name,radius:e.radius})}function to(t){return a.default.createElement(H,te({shapeType:"rectangle",propTransformer:ti,activeClassName:"recharts-active-bar"},t))}var ta=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(r,n){if("number"==typeof t)return t;var i=(0,o.isNumber)(r)||(0,o.isNullish)(r);return i?t(r,n):(i||(0,m.default)(!1),e)}},tu=["value","background"];function tl(t){return(tl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tc(){return(tc=Object.assign.bind()).apply(this,arguments)}function ts(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 tf(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ts(Object(r),!0).forEach(function(e){tv(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ts(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tp(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,tm(n.key),n)}}function td(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(td=function(){return!!t})()}function th(t){return(th=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ty(t,e){return(ty=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tv(t,e,r){return(e=tm(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tm(t){var e=function(t,e){if("object"!=tl(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tl(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tl(e)?e:e+""}var tb=function(t){var e,r;function d(){var t,e,r;if(!(this instanceof d))throw TypeError("Cannot call a class as a function");for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=d,r=[].concat(i),e=th(e),tv(t=function(t,e){if(e&&("object"===tl(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,td()?Reflect.construct(e,r||[],th(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!1}),tv(t,"id",(0,o.uniqueId)("recharts-bar-")),tv(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()}),tv(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return d.prototype=Object.create(t&&t.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),t&&ty(d,t),e=[{key:"renderRectanglesStatically",value:function(t){var e=this,r=this.props,n=r.shape,o=r.dataKey,u=r.activeIndex,l=r.activeBar,c=(0,i.filterProps)(this.props,!1);return t&&t.map(function(t,r){var i=r===u,s=tf(tf(tf({},c),t),{},{isActive:i,option:i?l:n,index:r,dataKey:o,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return a.default.createElement(f.Layer,tc({className:"recharts-bar-rectangle"},(0,v.adaptEventsOfChild)(e.props,t,r),{key:"rectangle-".concat(null==t?void 0:t.x,"-").concat(null==t?void 0:t.y,"-").concat(null==t?void 0:t.value,"-").concat(r)}),a.default.createElement(to,s))})}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,r=e.data,n=e.layout,i=e.isAnimationActive,u=e.animationBegin,c=e.animationDuration,s=e.animationEasing,p=e.animationId,d=this.state.prevData;return a.default.createElement(l.default,{begin:u,duration:c,isActive:i,easing:s,from:{t:0},to:{t:1},key:"bar-".concat(p),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(e){var i=e.t,u=r.map(function(t,e){var r=d&&d[e];if(r){var a=(0,o.interpolateNumber)(r.x,t.x),u=(0,o.interpolateNumber)(r.y,t.y),l=(0,o.interpolateNumber)(r.width,t.width),c=(0,o.interpolateNumber)(r.height,t.height);return tf(tf({},t),{},{x:a(i),y:u(i),width:l(i),height:c(i)})}if("horizontal"===n){var s=(0,o.interpolateNumber)(0,t.height)(i);return tf(tf({},t),{},{y:t.y+t.height-s,height:s})}var f=(0,o.interpolateNumber)(0,t.width)(i);return tf(tf({},t),{},{width:f})});return a.default.createElement(f.Layer,null,t.renderRectanglesStatically(u))})}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return r&&e&&e.length&&(!n||!(0,c.default)(n,e))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(e)}}
1,{key:"renderBackground",value:function(){var t=this,e=this.props,r=e.data,n=e.dataKey,o=e.activeIndex,u=(0,i.filterProps)(this.props.background,!1);return r.map(function(e,r){e.value;var i=e.background,l=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(e,tu);if(!i)return null;var c=tf(tf(tf(tf(tf({},l),{},{fill:"#eee"},i),u),(0,v.adaptEventsOfChild)(t.props,e,r)),{},{onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd,dataKey:n,index:r,className:"recharts-bar-background-rectangle"});return a.default.createElement(to,tc({key:"background-bar-".concat(r),option:t.props.background,isActive:r===o},c))})}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,o=r.data,u=r.xAxis,l=r.yAxis,c=r.layout,s=r.children,d=(0,i.findAllByType)(s,p.ErrorBar);if(!d)return null;var h="vertical"===c?o[0].height/2:o[0].width/2,y=function(t,e){var r=Array.isArray(t.value)?t.value[1]:t.value;return{x:t.x,y:t.y,value:r,errorVal:(0,n.getValueByDataKey)(t,e)}};return a.default.createElement(f.Layer,{clipPath:t?"url(#clipPath-".concat(e,")"):null},d.map(function(t){return a.default.cloneElement(t,{key:"error-bar-".concat(e,"-").concat(t.props.dataKey),data:o,xAxis:u,yAxis:l,layout:c,offset:h,dataPointFormatter:y})}))}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,n=t.className,i=t.xAxis,o=t.yAxis,l=t.left,c=t.top,p=t.width,d=t.height,y=t.isAnimationActive,v=t.background,m=t.id;if(e||!r||!r.length)return null;var b=this.state.isAnimationFinished,g=(0,u.default)("recharts-bar",n),x=i&&i.allowDataOverflow,O=o&&o.allowDataOverflow,w=x||O,S=(0,s.default)(m)?this.id:m;return a.default.createElement(f.Layer,{className:g},x||O?a.default.createElement("defs",null,a.default.createElement("clipPath",{id:"clipPath-".concat(S)},a.default.createElement("rect",{x:x?l:l-p/2,y:O?c:c-d/2,width:x?p:2*p,height:O?d:2*d}))):null,a.default.createElement(f.Layer,{className:"recharts-bar-rectangles",clipPath:w?"url(#clipPath-".concat(S,")"):null},v?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(w,S),(!y||b)&&h.LabelList.renderCallByParent(this.props,r))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curData:t.data,prevData:e.curData}:t.data!==e.curData?{curData:t.data}:null}}],e&&tp(d.prototype,e),r&&tp(d,r),Object.defineProperty(d,"prototype",{writable:!1}),d}(a.PureComponent);function tg(t){return(tg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tx(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,tj(n.key),n)}}function tO(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 tw(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tO(Object(r),!0).forEach(function(e){tS(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tO(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tS(t,e,r){return(e=tj(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tj(t){var e=function(t,e){if("object"!=tg(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tg(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==tg(e)?e:e+""}tv(tb,"displayName","Bar"),tv(tb,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!y.Global.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),tv(tb,"getComposedData",function(t){var e=t.props,r=t.item,a=t.barPosition,u=t.bandSize,l=t.xAxis,c=t.yAxis,s=t.xAxisTicks,f=t.yAxisTicks,p=t.stackedData,h=t.dataStartIndex,y=t.displayedData,v=t.offset,m=(0,n.findPositionOfBar)(a,r);if(!m)return null;var b=e.layout,g=r.type.defaultProps,x=void 0!==g?tf(tf({},g),r.props):r.props,O=x.dataKey,w=x.children,S=x.minPointSize,j="horizontal"===b?c:l,P=p?j.scale.domain():null,E=(0,n.getBaseValueOfBar)({numericAxis:j}),A=(0,i.findAllByType)(w,d.Cell),k=y.map(function(t,e){p?a=(0,n.truncateByDomain)(p[h+e],P):Array.isArray(a=(0,n.getValueByDataKey)(t,O))||(a=[E,a]);var i=ta(S,tb.defaultProps.minPointSize)(a[1],e);if("horizontal"===b){var a,d,y,v,g,x,w,j=[c.scale(a[0]),c.scale(a[1])],k=j[0],T=j[1];d=(0,n.getCateCoordinateOfBar)({axis:l,ticks:s,bandSize:u,offset:m.offset,entry:t,index:e}),y=null!=(w=null!=T?T:k)?w:void 0,v=m.size;var M=k-T;if(g=Number.isNaN(M)?0:M,x={x:d,y:c.y,width:v,height:c.height},Math.abs(i)>0&&Math.abs(g)<Math.abs(i)){var _=(0,o.mathSign)(g||i)*(Math.abs(i)-Math.abs(g));y-=_,g+=_}}else{var C=[l.scale(a[0]),l.scale(a[1])],N=C[0],D=C[1];if(d=N,y=(0,n.getCateCoordinateOfBar)({axis:c,ticks:f,bandSize:u,offset:m.offset,entry:t,index:e}),v=D-N,g=m.size,x={x:l.x,y:y,width:l.width,height:g},Math.abs(i)>0&&Math.abs(v)<Math.abs(i)){var I=(0,o.mathSign)(v||i)*(Math.abs(i)-Math.abs(v));v+=I}}return tf(tf(tf({},t),{},{x:d,y:y,width:v,height:g,value:p?a:a[1],payload:t,background:x},A&&A[e]&&A[e].props),{},{tooltipPayload:[(0,n.getTooltipItem)(r,t)],tooltipPosition:{x:d+v/2,y:y+g/2}})});return tf({data:k,layout:b},v)}),t.s(["Bar",0,tb],57699);var tP=function(t,e){var r=t.x,n=t.y,i=e.x,o=e.y;return{x:Math.min(r,i),y:Math.min(n,o),width:Math.abs(i-r),height:Math.abs(o-n)}},tE=function(){var t,e;function r(t){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");this.scale=t}return t=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.bandAware,n=e.position;if(void 0!==t){if(n)switch(n){case"start":default:return this.scale(t);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(t)+o}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),r=e[0],n=e[e.length-1];return r<=n?t>=r&&t<=n:t>=n&&t<=r}}],e=[{key:"create",value:function(t){return new r(t)}}],t&&tx(r.prototype,t),e&&tx(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();tS(tE,"EPS",1e-4),t.s(["createLabeledScales",0,function(t){var n=Object.keys(t).reduce(function(e,r){return tw(tw({},e),{},tS({},r,tE.create(t[r])))},{});return tw(tw({},n),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.bandAware,o=r.position;return(0,e.default)(t,function(t,e){return n[e].apply(t,{bandAware:i,position:o})})},isInRange:function(t){return(0,r.default)(t,function(t,e){return n[e].isInRange(t)})}})},"formatAxisMap",0,function(t,e,r,a,u){var l=t.width,c=t.height,s=t.layout,f=t.children,p=Object.keys(e),d={left:r.left,leftMirror:r.left,right:l-r.right,rightMirror:l-r.right,top:r.top,topMirror:r.top,bottom:c-r.bottom,bottomMirror:c-r.bottom},h=!!(0,i.findChildByType)(f,tb);return p.reduce(function(i,l){var c,f,p,y,v,m=e[l],b=m.orientation,g=m.domain,x=m.padding,O=void 0===x?{}:x,w=m.mirror,S=m.reversed,j="".concat(b).concat(w?"Mirror":"");if("number"===m.type&&("gap"===m.padding||"no-gap"===m.padding)){var P=g[1]-g[0],E=1/0,A=m.categoricalDomain.sort(o.compareValues);if(A.forEach(function(t,e){e>0&&(E=Math.min((t||0)-(A[e-1]||0),E))}),Number.isFinite(E)){var k=E/P,T="vertical"===m.layout?r.height:r.width;if("gap"===m.padding&&(c=k*T/2),"no-gap"===m.padding){var M=(0,o.getPercentValue)(t.barCategoryGap,k*T),_=k*T/2;c=_-M-(_-M)/T*M}}}
1f="xAxis"===a?[r.left+(O.left||0)+(c||0),r.left+r.width-(O.right||0)-(c||0)]:"yAxis"===a?"horizontal"===s?[r.top+r.height-(O.bottom||0),r.top+(O.top||0)]:[r.top+(O.top||0)+(c||0),r.top+r.height-(O.bottom||0)-(c||0)]:m.range,S&&(f=[f[1],f[0]]);var C=(0,n.parseScale)(m,u,h),N=C.scale,D=C.realScaleType;N.domain(g).range(f),(0,n.checkDomainOfScale)(N);var I=(0,n.getTicksOfScale)(N,tw(tw({},m),{},{realScaleType:D}));"xAxis"===a?(v="top"===b&&!w||"bottom"===b&&w,p=r.left,y=d[j]-v*m.height):"yAxis"===a&&(v="left"===b&&!w||"right"===b&&w,p=d[j]-v*m.width,y=r.top);var B=tw(tw(tw({},m),I),{},{realScaleType:D,x:p,y:y,scale:N,width:"xAxis"===a?r.width:m.width,height:"yAxis"===a?r.height:m.height});return B.bandSize=(0,n.getBandSizeOfAxis)(B,I),m.hide||"xAxis"!==a?m.hide||(d[j]+=(v?-1:1)*B.width):d[j]+=(v?-1:1)*B.height,tw(tw({},i),{},tS({},l,B))},{})},"getAngledRectangleWidth",0,function(t){var e=t.width,r=t.height,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=(n%180+180)%180*Math.PI/180,o=Math.atan(r/e);return Math.abs(i>o&&i<Math.PI-o?r/Math.sin(i):e/Math.cos(i))},"rectWithCoords",0,function(t){return tP({x:t.x1,y:t.y1},{x:t.x2,y:t.y2})},"rectWithPoints",0,tP],40626)},3315,9117,t=>{"use strict";t.s(["appendOffsetOfLegend",()=>U,"calculateActiveTickIndex",()=>B,"checkDomainOfScale",()=>K,"combineEventHandlers",()=>X,"findPositionOfBar",()=>Y,"getBandSizeOfAxis",()=>ts,"getBarPosition",()=>z,"getBarSizeList",()=>R,"getBaseValueOfBar",()=>ti,"getCateCoordinateOfBar",()=>tn,"getCateCoordinateOfLine",()=>tr,"getDomainOfDataByKey",()=>I,"getDomainOfItemsWithSameAxis",()=>q,"getDomainOfStackGroups",()=>ta,"getMainColorOfGraphicItem",()=>L,"getStackGroupsByAxisId",()=>tt,"getStackedDataOfItem",()=>to,"getTicksOfAxis",()=>V,"getTicksOfScale",()=>te,"getTooltipItem",()=>tp,"getValueByDataKey",()=>D,"isCategoricalAxis",()=>W,"parseDomainOfCategoryAxis",()=>tf,"parseErrorBarsOfAxis",()=>$,"parseScale",()=>G,"parseSpecifiedDomain",()=>tc,"truncateByDomain",()=>Z],3315),t.s(["getLegendProps",()=>A],9117);var e=t.i(11748),r=t.i(11437),n=t.i(75375),i=t.i(2104),o=t.i(86467),a=t.i(77155),u=t.i(24863),l=t.i(21350),c=t.i(10815),s=t.i(57140),f=t.i(38299),p=t.i(35019),d=t.i(58568),h=t.i(87746),y=t.i(52792),v=t.i(70915),m=t.i(64529),b=t.i(48908);t.i(88468);var g=t.i(24595),x=t.i(92402),O=t.i(70627),w=t.i(6043),S=t.i(81264);function j(t){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(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 E(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?P(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=j(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=j(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==j(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var A=function(t){var e,r=t.children,n=t.formattedGraphicalItems,i=t.legendWidth,o=t.legendContent,a=(0,w.findChildByType)(r,S.Legend);if(!a)return null;var u=S.Legend.defaultProps,l=void 0!==u?E(E({},u),a.props):{};return e=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(n||[]).reduce(function(t,e){var r=e.item,n=e.props,i=n.sectors||n.data||[];return t.concat(i.map(function(t){return{type:a.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}}))},[]):(n||[]).map(function(t){var e=t.item,r=e.type.defaultProps,n=void 0!==r?E(E({},r),e.props):{}
1,i=n.dataKey,o=n.name,a=n.legendType;return{inactive:n.hide,dataKey:i,type:l.iconType||a||"square",color:L(e),value:o||i,payload:n}}),E(E(E({},l),S.Legend.getWithHeight(a,i)),{},{payload:e,item:a})};function k(t){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function T(t){return function(t){if(Array.isArray(t))return M(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t){if(t){if("string"==typeof t)return M(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return M(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function _(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?_(Object(r),!0).forEach(function(e){N(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function N(t,e,r){var n;return(n=function(t,e){if("object"!=k(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=k(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==k(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function D(t,e,r){return(0,s.default)(t)||(0,s.default)(e)?r:(0,O.isNumOrStr)(e)?(0,d.default)(t,e,r):(0,f.default)(e)?e(t):r}function I(t,e,r,n){var i=(0,h.default)(t,function(t){return D(t,e)});if("number"===r){var o=i.filter(function(t){return(0,O.isNumber)(t)||parseFloat(t)});return o.length?[(0,c.default)(o),(0,l.default)(o)]:[1/0,-1/0]}return(n?i.filter(function(t){return!(0,s.default)(t)}):i).map(function(t){return(0,O.isNumOrStr)(t)||t instanceof Date?t:""})}var B=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!=(e=null==r?void 0:r.length)?e:0;if(a<=1)return 0;if(i&&"angleAxis"===i.axisType&&1e-6>=Math.abs(Math.abs(i.range[1]-i.range[0])-360))for(var u=i.range,l=0;l<a;l++){var c=l>0?n[l-1].coordinate:n[a-1].coordinate,s=n[l].coordinate,f=l>=a-1?n[0].coordinate:n[l+1].coordinate,p=void 0;if((0,O.mathSign)(s-c)!==(0,O.mathSign)(f-s)){var d=[];if((0,O.mathSign)(f-s)===(0,O.mathSign)(u[1]-u[0])){p=f;var h=s+u[1]-u[0];d[0]=Math.min(h,(h+c)/2),d[1]=Math.max(h,(h+c)/2)}else{p=c;var y=f+u[1]-u[0];d[0]=Math.min(s,(y+s)/2),d[1]=Math.max(s,(y+s)/2)}var v=[Math.min(s,(p+s)/2),Math.max(s,(p+s)/2)];if(t>v[0]&&t<=v[1]||t>=d[0]&&t<=d[1]){o=n[l].index;break}}else{var m=Math.min(c,f),b=Math.max(c,f);if(t>(m+s)/2&&t<=(b+s)/2){o=n[l].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){o=r[g].index;break}return o},L=function(t){var e,r,n=t.type.displayName,i=null!=(e=t.type)&&e.defaultProps?C(C({},t.type.defaultProps),t.props):t.props,o=i.stroke,a=i.fill;switch(n){case"Line":r=o;break;case"Area":case"Radar":r=o&&"none"!==o?o:a;break;default:r=a}return r},R=function(t){var e=t.barSize,r=t.totalSize,n=t.stackGroups,i=void 0===n?{}:n;if(!i)return{};for(var o={},a=Object.keys(i),u=0,l=a.length;u<l;u++)for(var c=i[a[u]].stackGroups,f=Object.keys(c),p=0,d=f.length;p<d;p++){var h=c[f[p]],y=h.items,v=h.cateAxisId,m=y.filter(function(t){return(0,w.getDisplayName)(t.type).indexOf("Bar")>=0});if(m&&m.length){var b=m[0].type.defaultProps,g=void 0!==b?C(C({},b),m[0].props):m[0].props,x=g.barSize,S=g[v];o[S]||(o[S]=[]);var j=(0,s.default)(x)?e:x;o[S].push({item:m[0],stackList:m.slice(1),barSize:(0,s.default)(j)?void 0:(0,O.getPercentValue)(j,r,0)})}}return o},z=function(t){var e,r=t.barGap,n=t.barCategoryGap,i=t.bandSize,o=t.sizeList,a=void 0===o?[]:o,u=t.maxBarSize,l=a.length;if(l<1)return null;var c=(0,O.getPercentValue)(r,i,0,!0),s=[];if(a[0].barSize===+a[0].barSize){var f=!1,p=i/l,d=a.reduce(function(t,e){return t+e.barSize||0}
1,0);(d+=(l-1)*c)>=i&&(d-=(l-1)*c,c=0),d>=i&&p>0&&(f=!0,p*=.9,d=l*p);var h={offset:((i-d)/2|0)-c,size:0};e=a.reduce(function(t,e){var r={item:e.item,position:{offset:h.offset+h.size+c,size:f?p:e.barSize}},n=[].concat(T(t),[r]);return h=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:h})}),n},s)}else{var y=(0,O.getPercentValue)(n,i,0,!0);i-2*y-(l-1)*c<=0&&(c=0);var v=(i-2*y-(l-1)*c)/l;v>1&&(v>>=0);var m=u===+u?Math.min(v,u):v;e=a.reduce(function(t,e,r){var n=[].concat(T(t),[{item:e.item,position:{offset:y+(v+c)*r+(v-m)/2,size:m}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:n[n.length-1].position})}),n},s)}return e},U=function(t,e,r,n){var i=r.children,o=r.width,a=r.margin,u=A({children:i,legendWidth:o-(a.left||0)-(a.right||0)});if(u){var l=n||{},c=l.width,s=l.height,f=u.align,p=u.verticalAlign,d=u.layout;if(("vertical"===d||"horizontal"===d&&"middle"===p)&&"center"!==f&&(0,O.isNumber)(t[f]))return C(C({},t),{},N({},f,t[f]+(c||0)));if(("horizontal"===d||"vertical"===d&&"center"===f)&&"middle"!==p&&(0,O.isNumber)(t[p]))return C(C({},t),{},N({},p,t[p]+(s||0)))}return t},F=function(t,e,r,n,i){var o=e.props.children,a=(0,w.findAllByType)(o,x.ErrorBar).filter(function(t){var e;return e=t.props.direction,!!(0,s.default)(i)||("horizontal"===n?"yAxis"===i:"vertical"===n||"x"===e?"xAxis"===i:"y"!==e||"yAxis"===i)});if(a&&a.length){var u=a.map(function(t){return t.props.dataKey});return t.reduce(function(t,e){var n=D(e,r);if((0,s.default)(n))return t;var i=Array.isArray(n)?[(0,c.default)(n),(0,l.default)(n)]:[n,n],o=u.reduce(function(t,r){var n=D(e,r,0),o=i[0]-Math.abs(Array.isArray(n)?n[0]:n),a=i[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(o,t[0]),Math.max(a,t[1])]},[1/0,-1/0]);return[Math.min(o[0],t[0]),Math.max(o[1],t[1])]},[1/0,-1/0])}return null},$=function(t,e,r,n,i){var o=e.map(function(e){return F(t,e,r,i,n)}).filter(function(t){return!(0,s.default)(t)});return o&&o.length?o.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]):null},q=function(t,e,r,n,i){var o=e.map(function(e){var o=e.props.dataKey;return"number"===r&&o&&F(t,e,o,n)||I(t,o,r,i)});if("number"===r)return o.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]);var a={};return o.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},[])},W=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},V=function(t,e,r){if(!t)return null;var n=t.scale,i=t.duplicateDomain,o=t.type,a=t.range,u="scaleBand"===t.realScaleType?n.bandwidth()/2:2,l=(e||r)&&"category"===o&&n.bandwidth?n.bandwidth()/u:0;return(l="angleAxis"===t.axisType&&(null==a?void 0:a.length)>=2?2*(0,O.mathSign)(a[0]-a[1])*l:l,e&&(t.ticks||t.niceTicks))?(t.ticks||t.niceTicks).map(function(t){return{coordinate:n(i?i.indexOf(t):t)+l,value:t,offset:l}}).filter(function(t){return!(0,y.default)(t.coordinate)}):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(t,e){return{coordinate:n(t)+l,value:t,index:e,offset:l}}):n.ticks&&!r?n.ticks(t.tickCount).map(function(t){return{coordinate:n(t)+l,value:t,offset:l}}):n.domain().map(function(t,e){return{coordinate:n(t)+l,value:i?i[t]:t,index:e,offset:l}})},H=new WeakMap,X=function(t,e){if("function"!=typeof e)return t;H.has(t)||H.set(t,new WeakMap);var r=H.get(t);if(r.has(e))return r.get(e);var n=function(){t.apply(void 0,arguments),e.apply(void 0,arguments)};return r.set(e,n),n},G=function(t,r,n){var i=t.scale,o=t.type,a=t.layout,u=t.axisType;if("auto"===i)return"radial"===a&&"radiusAxis"===u?{scale:e.scaleBand(),realScaleType:"band"}:"radial"===a&&"angleAxis"===u?{scale:e.scaleLinear(),realScaleType:"linear"}:"category"===o&&r&&(r.indexOf("LineChart")>=0||r.indexOf("AreaChart")>
1=0||r.indexOf("ComposedChart")>=0&&!n)?{scale:e.scalePoint(),realScaleType:"point"}:"category"===o?{scale:e.scaleBand(),realScaleType:"band"}:{scale:e.scaleLinear(),realScaleType:"linear"};if((0,p.default)(i)){var l="scale".concat((0,v.default)(i));return{scale:(e[l]||e.scalePoint)(),realScaleType:e[l]?l:"point"}}return(0,f.default)(i)?{scale:i}:{scale:e.scalePoint(),realScaleType:"point"}},K=function(t){var e=t.domain();if(e&&!(e.length<=2)){var r=e.length,n=t.range(),i=Math.min(n[0],n[1])-1e-4,o=Math.max(n[0],n[1])+1e-4,a=t(e[0]),u=t(e[r-1]);(a<i||a>o||u<i||u>o)&&t.domain([e[0],e[r-1]])}},Y=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},Z=function(t,e){if(!e||2!==e.length||!(0,O.isNumber)(e[0])||!(0,O.isNumber)(e[1]))return t;var r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]),i=[t[0],t[1]];return(!(0,O.isNumber)(t[0])||t[0]<r)&&(i[0]=r),(!(0,O.isNumber)(t[1])||t[1]>n)&&(i[1]=n),i[0]>n&&(i[0]=n),i[1]<r&&(i[1]=r),i},J={sign:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var i=0,o=0,a=0;a<e;++a){var u=(0,y.default)(t[a][r][1])?t[a][r][0]:t[a][r][1];u>=0?(t[a][r][0]=i,t[a][r][1]=i+u,i=t[a][r][1]):(t[a][r][0]=o,t[a][r][1]=o+u,o=t[a][r][1])}},expand:n.stackOffsetExpand,none:i.stackOffsetNone,silhouette:o.stackOffsetSilhouette,wiggle:a.stackOffsetWiggle,positive:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var i=0,o=0;o<e;++o){var a=(0,y.default)(t[o][r][1])?t[o][r][0]:t[o][r][1];a>=0?(t[o][r][0]=i,t[o][r][1]=i+a,i=t[o][r][1]):(t[o][r][0]=0,t[o][r][1]=0)}}},Q=function(t,e,n){var i=e.map(function(t){return t.props.dataKey}),o=J[n];return(0,r.stack)().keys(i).value(function(t,e){return+D(t,e,0)}).order(u.stackOrderNone).offset(o)(t)},tt=function(t,e,r,n,i,o){if(!t)return null;var a=(o?e.reverse():e).reduce(function(t,e){var i,o=null!=(i=e.type)&&i.defaultProps?C(C({},e.type.defaultProps),e.props):e.props,a=o.stackId;if(o.hide)return t;var u=o[r],l=t[u]||{hasStack:!1,stackGroups:{}};if((0,O.isNumOrStr)(a)){var c=l.stackGroups[a]||{numericAxisId:r,cateAxisId:n,items:[]};c.items.push(e),l.hasStack=!0,l.stackGroups[a]=c}else l.stackGroups[(0,O.uniqueId)("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return C(C({},t),{},N({},u,l))},{});return Object.keys(a).reduce(function(e,o){var u=a[o];return u.hasStack&&(u.stackGroups=Object.keys(u.stackGroups).reduce(function(e,o){var a=u.stackGroups[o];return C(C({},e),{},N({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:Q(t,a.items,i)}))},{})),C(C({},e),{},N({},o,u))},{})},te=function(t,e){var r=e.realScaleType,n=e.type,i=e.tickCount,o=e.originalDomain,a=e.allowDecimals,u=r||e.scale;if("auto"!==u&&"linear"!==u)return null;if(i&&"number"===n&&o&&("auto"===o[0]||"auto"===o[1])){var s=t.domain();if(!s.length)return null;var f=(0,g.getNiceTickValues)(s,i,a);return t.domain([(0,c.default)(f),(0,l.default)(f)]),{niceTicks:f}}if(i&&"number"===n){var p=t.domain();return{niceTicks:(0,g.getTickValuesFixedDomain)(p,i,a)}}return null};function tr(t){var e=t.axis,r=t.ticks,n=t.bandSize,i=t.entry,o=t.index,a=t.dataKey;if("category"===e.type){if(!e.allowDuplicatedCategory&&e.dataKey&&!(0,s.default)(i[e.dataKey])){var u=(0,O.findEntryInArray)(r,"value",i[e.dataKey]);if(u)return u.coordinate+n/2}return r[o]?r[o].coordinate+n/2:null}var l=D(i,(0,s.default)(a)?e.dataKey:a);return(0,s.default)(l)?null:e.scale(l)}var tn=function(t){var e=t.axis,r=t.ticks,n=t.offset,i=t.bandSize,o=t.entry,a=t.index;if("category"===e.type)return r[a]?r[a].coordinate+n:null;var u=D(o,e.dataKey,e.domain[a]);return(0,s.default)(u)?null:e.scale(u)-i/2+n},ti=function(t){var e=t.numericAxis,r=e.scale.domain();if("number"===e.type){var n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return n<=0&&i>=0?0:i<0?i:n}return r[0]},to=function(t,e){var r,n=(null!=(r=t.type)&&r.defaultProps?C(C({},t.type.defaultProps),t.props):t.props).stackId;if((0,O.isNumOrStr)(n)){var i=e[n];if(i){var o=i.items.indexOf(t);return o>=0?i.stackedData[o]:null}}return null},ta=function(t,e,r){return Object.keys(t).reduce(function(n,i){var o=t[i].stackedData.reduce(function(t,n){var i=n.slice(e,r+1).reduce(function(t,e){return[(0,c.default)(e.concat([t[0]]).filter(O.isNumber)),(0,l.default)(e.concat([t[1]]).filter(O.isNumber))]},[1/0,-1/0]);return[Math.min(t[0],i[0]),Math.max(t[1],i[1])]},[1/0,-1/0]);return[Math.min(o[0],n[0]),Math.max(o[1],n[1])]},[1/0,-1/0]).map(function(t){return t===1/0||t===-1/0?0:t})},tu=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,tl=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,tc=function(t,e,r){if((0,f.default)(t))return t(e,r);if(!Array.isArray(t))return e;var n=[];if((0,O.isNumber)(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(tu.test(t[0])){var i=+tu.exec(t[0])[1];n[0]=e[0]-i}else(0,f.default)(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if((0,O.isNumber)(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(tl.test(t[1])){var o=+tl.exec(t[1])[1];n[1]=e[1]+o}else(0,f.default)(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},ts=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 i=(0,b.default)(e,function(t){return t.coordinate}),o=1/0,a=1,u=i.length;a<u;a++){var l=i[a],c=i[a-1];o=Math.min((l.coordinate||0)-(c.coordinate||0),o)}return o===1/0?0:o}return r?void 0:0},tf=function(t,e,r){return!t||!t.length||(0,m.default)(t,(0,d.default)(r,"type.defaultProps.domain"))?e:t},tp=function(t,e){var r=t.type.defaultProps?C(C({},t.type.defaultProps),t.props):t.props,n=r.dataKey,i=r.name,o=r.unit,a=r.formatter,u=r.tooltipType,l=r.chartType,c=r.hide;return C(C({},(0,w.filterProps)(t,!1)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:L(t),value:D(e,n),type:u,payload:e,chartType:l,hide:c})}},70627,t=>{"use strict";var e=t.i(35019),r=t.i(52792),n=t.i(58568),i=t.i(71701),o=t.i(5714
10),a=function(t){return(0,e.default)(t)&&t.indexOf("%")===t.length-1},u=function(t){return(0,i.default)(t)&&!(0,r.default)(t)},l=0;t.s(["compareValues",0,function(t,r){return u(t)&&u(r)?t-r:(0,e.default)(t)&&(0,e.default)(r)?t.localeCompare(r):t instanceof Date&&r instanceof Date?t.getTime()-r.getTime():String(t).localeCompare(String(r))},"findEntryInArray",0,function(t,e,r){return t&&t.length?t.find(function(t){return t&&("function"==typeof e?e(t):(0,n.default)(t,e))===r}):null},"getAnyElementOfObject",0,function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},"getLinearRegression",0,function(t){if(!t||!t.length)return null;for(var e=t.length,r=0,n=0,i=0,o=0,a=1/0,u=-1/0,l=0,c=0,s=0;s<e;s++)l=t[s].cx||0,c=t[s].cy||0,r+=l,n+=c,i+=l*c,o+=l*l,a=Math.min(a,l),u=Math.max(u,l);var f=e*o!=r*r?(e*i-r*n)/(e*o-r*r):0;return{xmin:a,xmax:u,a:f,b:(n-f*r)/e}},"getPercentValue",0,function(t,n){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,l=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!u(t)&&!(0,e.default)(t))return o;if(a(t)){var c=t.indexOf("%");i=n*parseFloat(t.slice(0,c))/100}else i=+t;return(0,r.default)(i)&&(i=o),l&&i>n&&(i=n),i},"hasDuplicate",0,function(t){if(!Array.isArray(t))return!1;for(var e=t.length,r={},n=0;n<e;n++)if(r[t[n]])return!0;else r[t[n]]=!0;return!1},"interpolateNumber",0,function(t,e){return u(t)&&u(e)?function(r){return t+r*(e-t)}:function(){return e}},"isNullish",0,function(t){return(0,o.default)(t)},"isNumOrStr",0,function(t){return u(t)||(0,e.default)(t)},"isNumber",0,u,"isPercent",0,a,"mathSign",0,function(t){return 0===t?0:t>0?1:-1},"uniqueId",0,function(t){var e=++l;return"".concat(t||"").concat(e)}])},57216,t=>{"use strict";var e={isSsr:!("u">typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return e[t]},set:function(t,r){if("string"==typeof t)e[t]=r;else{var n=Object.keys(t);n&&n.length&&n.forEach(function(r){e[r]=t[r]})}}};t.s(["Global",0,e])},27826,t=>{"use strict";t.s(["ifOverflowMatches",0,function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e}])},91461,t=>{"use strict";t.i(50461),t.s(["warn",0,function(t,e){for(var r=arguments.length,n=Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i]}])},6043,8140,78979,t=>{"use strict";var e=t.i(58568),r=t.i(57140),n=t.i(35019),i=t.i(38299),o=t.i(3275),a=t.i(91788),u=t.i(12714),l=t.i(70627);function c(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 s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.s(["shallowEqual",0,c],8140);var f=["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","colorRen
1dering","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"],p=["points","pathLength"],d={svg:["viewBox","children"],polygon:p,polyline:p},h=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","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","onDrag
1Capture","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"];t.s(["EventKeys",0,h,"FilteredElementKeyMap",0,d,"SVGElementPropKeys",0,f,"adaptEventHandlers",0,function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if((0,a.isValidElement)(t)&&(r=t.props),!(0,o.default)(r))return null;var n={};return Object.keys(r).forEach(function(t){h.includes(t)&&(n[t]=e||function(e){return r[t](r,e)})}),n},"adaptEventsOfChild",0,function(t,e,r){if(!(0,o.default)(t)||"object"!==s(t))return null;var n=null;return Object.keys(t).forEach(function(i){var o=t[i];h.includes(i)&&"function"==typeof o&&(n||(n={}),n[i]=function(t){return o(e,r,t),null})}),n}],78979);var y=["children"],v=["children"];function m(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var g={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},x=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},O=null,w=null,S=function t(e){if(e===O&&Array.isArray(w))return w;var n=[];return a.Children.forEach(e,function(e){(0,r.default)(e)||((0,u.isFragment)(e)?n=n.concat(t(e.props.children)):n.push(e))}),w=n,O=e,n};function j(t,r){var n=[],i=[];return i=Array.isArray(r)?r.map(function(t){return x(t)}):[x(r)],S(t).forEach(function(t){var r=(0,e.default)(t,"type.displayName")||(0,e.default)(t,"type.name");-1!==i.indexOf(r)&&n.push(t)}),n}var P=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],E=function(t,e,r,n){var o,a=null!=(o=null==d?void 0:d[n])?o:[];return e.startsWith("data-")||!(0,i.default)(t)&&(n&&a.includes(e)||f.includes(e))||r&&h.includes(e)},A=function t(e,r){if(e===r)return!0;var n=a.Children.count(e);
1if(n!==a.Children.count(r))return!1;if(0===n)return!0;if(1===n)return k(Array.isArray(e)?e[0]:e,Array.isArray(r)?r[0]:r);for(var i=0;i<n;i++){var o=e[i],u=r[i];if(Array.isArray(o)||Array.isArray(u)){if(!t(o,u))return!1}else if(!k(o,u))return!1}return!0},k=function(t,e){if((0,r.default)(t)&&(0,r.default)(e))return!0;if(!(0,r.default)(t)&&!(0,r.default)(e)){var n=t.props||{},i=n.children,o=m(n,y),a=e.props||{},u=a.children,l=m(a,v);if(i&&u)return c(o,l)&&A(i,u);if(!i&&!u)return c(o,l)}return!1};t.s(["filterProps",0,function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if((0,a.isValidElement)(t)&&(n=t.props),!(0,o.default)(n))return null;var i={};return Object.keys(n).forEach(function(t){var o;E(null==(o=n)?void 0:o[t],t,e,r)&&(i[t]=n[t])}),i},"findAllByType",0,j,"findChildByType",0,function(t,e){var r=j(t,e);return r&&r[0]},"getDisplayName",0,x,"getReactEventByType",0,function(t){var e=t&&t.type;return e&&g[e]?g[e]:null},"hasClipDot",0,function(t){return t&&"object"===b(t)&&"clipDot"in t},"isChildrenEqual",0,A,"parseChildIndex",0,function(t,e){return S(e).indexOf(t)},"renderByOrder",0,function(t,e){var r=[],i={};return S(t).forEach(function(t,o){if(t&&t.type&&(0,n.default)(t.type)&&P.indexOf(t.type)>=0)r.push(t);else if(t){var a=x(t.type),u=e[a]||{},l=u.handler,c=u.once;if(l&&(!c||!i[a])){var s=l(t,a,o);r.push(s),i[a]=!0}}}),r},"validateWidthHeight",0,function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!!(0,l.isNumber)(r)&&!(r<=0)&&!!(0,l.isNumber)(n)&&!(n<=0)}],6043)},46901,t=>{"use strict";var e=(0,t.i(76116).default)(function(t){return{x:t.left,y:t.top,width:t.width,height:t.height}},function(t){return["l",t.left,"t",t.top,"w",t.width,"h",t.height].join("")});t.s(["calculateViewBox",0,e])},2969,t=>{"use strict";var e=t.i(37994),r=t.i(38299);t.s(["getUniqPayload",0,function(t,n,i){return!0===n?(0,e.default)(t,i):(0,r.default)(n)?(0,e.default)(t,n):t}])},8516,(t,e,r)=>{"use strict";var n,i=Symbol.for("react.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),s=Symbol.for("react.context"),f=Symbol.for("react.server_context"),p=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function b(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case a:case l:case u:case d:case h:return t;default:switch(t=t&&t.$$typeof){case f:case s:case p:case v:case y:case c:return t;default:return e}}case o:return e}}}n=Symbol.for("react.module.reference"),r.ContextConsumer=s,r.ContextProvider=c,r.Element=i,r.ForwardRef=p,r.Fragment=a,r.Lazy=v,r.Memo=y,r.Portal=o,r.Profiler=l,r.StrictMode=u,r.Suspense=d,r.SuspenseList=h,r.isAsyncMode=function(){return!1},r.isConcurrentMode=function(){return!1},r.isContextConsumer=function(t){return b(t)===s},r.isContextProvider=function(t){return b(t)===c},r.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===i},r.isForwardRef=function(t){return b(t)===p},r.isFragment=function(t){return b(t)===a},r.isLazy=function(t){return b(t)===v},r.isMemo=function(t){return b(t)===y},r.isPortal=function(t){return b(t)===o},r.isProfiler=function(t){return b(t)===l},r.isStrictMode=function(t){return b(t)===u},r.isSuspense=function(t){return b(t)===d},r.isSuspenseList=function(t){return b(t)===h},r.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===l||t===u||t===d||t===h||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===v||t.$$typeof===y||t.$$typeof===c||t.$$typeof===s||t.$$typeof===p||t.$$typeof===n||void 0!==t.getModuleId)||!1},r.typeOf=b},12714,(t,e,r)=>{"use strict";t.i(50461),e.exports=t.r(8516)},34534,t=>{"use strict";t.i(50461),t.s(["default",0,function(t,e){if(!t)throw Error("Invariant failed")}])},11748,21776,t=>{"use strict";t.i(64483),t.i(5438);var e,r,n,i,o,a,u,l=t.i(22379);let c=Math.sqrt(50),s=Math.sqrt(10),f=Math.sqrt(2);function p(t,e,r){let n,i,o,a=(e-t)/Math.max(0,r),u=Math.floor(Math.log10(a)),l=a/Math.pow(10,u),d=l>=c?10:l>=s?5:l>=f?2:1;return(u<0?(n=Math.round(t*(o=Math.pow(10,-u)/d)),i=Math.round(e*o),n/o<t&&++n,i/o>e&&--i,o=-o):(n=Math.round(t/(o=Math.pow(10,u)*d)),i=Math.round(e/o),n*o<t&&++n,i*o>e&&--i),i<n&&.5<=r&&r<2)?p(t,e,2*r):[n,i,o]}function d(t,e,r){if(e*=1,t*=1,!((r*=1)>0))return[];if(t===e)return[t];let n=e<t,[i,o,a]=n?p(e,t,r):p(t,e,r);
1if(!(o>=i))return[];let u=o-i+1,l=Array(u);if(n)if(a<0)for(let t=0;t<u;++t)l[t]=-((o-t)/a);else for(let t=0;t<u;++t)l[t]=(o-t)*a;else if(a<0)for(let t=0;t<u;++t)l[t]=-((i+t)/a);else for(let t=0;t<u;++t)l[t]=(i+t)*a;return l}function h(t,e,r){return p(t*=1,e*=1,r*=1)[2]}function y(t,e,r){e*=1,t*=1,r*=1;let n=e<t,i=n?h(e,t,r):h(t,e,r);return(n?-1:1)*(i<0?-(1/i):i)}function v(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function m(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function b(t){let e,r,n;function i(t,n,o=0,a=t.length){if(o<a){if(0!==e(n,n))return a;do{let e=o+a>>>1;0>r(t[e],n)?o=e+1:a=e}while(o<a)}return o}return 2!==t.length?(e=v,r=(e,r)=>v(t(e),r),n=(e,r)=>t(e)-r):(e=t===v||t===m?t:g,r=t,n=t),{left:i,center:function(t,e,r=0,o=t.length){let a=i(t,e,r,o-1);return a>r&&n(t[a-1],e)>-n(t[a],e)?a-1:a},right:function(t,n,i=0,o=t.length){if(i<o){if(0!==e(n,n))return o;do{let e=i+o>>>1;0>=r(t[e],n)?i=e+1:o=e}while(i<o)}return i}}}function g(){return 0}function x(t){return null===t?NaN:+t}let O=b(v),w=O.right;function S(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function j(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function P(){}O.left,b(x).center;var E="\\s*([+-]?\\d+)\\s*",A="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",k="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",T=/^#([0-9a-f]{3,8})$/,M=RegExp(`^rgb\\(${E},${E},${E}\\)$`),_=RegExp(`^rgb\\(${k},${k},${k}\\)$`),C=RegExp(`^rgba\\(${E},${E},${E},${A}\\)$`),N=RegExp(`^rgba\\(${k},${k},${k},${A}\\)$`),D=RegExp(`^hsl\\(${A},${k},${k}\\)$`),I=RegExp(`^hsla\\(${A},${k},${k},${A}\\)$`),B={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function L(){return this.rgb().formatHex()}function R(){return this.rgb().formatRgb()}function z(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=T.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?U(e):3===r?new q(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?F(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?F(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=M.exec(t))?new q(e[1],e[2],e[3],1):(e=_.exec(t))?new q(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=C.exec(t))?F(e[1],e[2],e[3],e[4]):(e=N.exec(t))?F(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=D.exec(t))?K(e[1],e[2]/100,e[3]/100,1):(e=I.exec(t))?K(e[1],e[2]/100,e[3]/100,e[4]):B.hasOwnProperty(t)?U(B[t]):"transparent"===t?new q(NaN,NaN,NaN,0):null}function U(t){return new q(t>>16&255,t>>8&255,255&t,1)}function F(t,e,r,n){return n<=0&&(t=e=r=NaN),new q(t,e,r,n)}function $(t,e,r,n){var i;return 1==arguments.length?((i=t)instanceof P||(i=z(i)),i)?new q((i=i.rgb()).r,i.g,i.b,i.opacity):new q:new q(t,e,r,null==n?1:n)}function q(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function W(){return`#${G(this.r)}${G(this.g)}${G(this.b)}`}function V(){let t=H(this.opacity);return`${1===t?"rgb(":"rgba("}${X(this.r)}, ${X(this.g)}, ${X(this.b)}${1===t?")":`, ${t})`}`}function H(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function X(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function G(t){return((t=X(t))<16?"0":"")+t.toString(16)}function K(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Z(t,e,r,n)}function Y(t){if(t instanceof Z)return new Z(t.h,t.s,t.l,t.opacity);if(t instanceof P||(t=z(t)),!t)return new Z;if(t instanceof Z)return t;var e=(t=t.rgb()).r/255,r=t.g/255,n=t.b/255,i=Math.min(e,r,n),o=Math.max(e,r,n),a=NaN,u=o-i,l=(o+i)/2;return u?(a=e===o?(r-n)/u+(r<n)*6:r===o?(n-e)/u+2:(e-r)/u+4,u/=l<.5?o+i:2-o-i,a*=60):u=l>0&&l<1?0:a,new Z(a,u,l,t.opacity)}function Z(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function J(t){return(t=(t||0)%360)<0?t+360:t}
1function Q(t){return Math.max(0,Math.min(1,t||0))}function tt(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}function te(t,e,r,n,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*r+(1+3*t+3*o-3*a)*n+a*i)/6}S(P,z,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:L,formatHex:L,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Y(this).formatHsl()},formatRgb:R,toString:R}),S(q,$,j(P,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new q(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new q(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new q(X(this.r),X(this.g),X(this.b),H(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:W,formatHex:W,formatHex8:function(){return`#${G(this.r)}${G(this.g)}${G(this.b)}${G((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:V,toString:V})),S(Z,function(t,e,r,n){return 1==arguments.length?Y(t):new Z(t,e,r,null==n?1:n)},j(P,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new Z(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new Z(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,i=2*r-n;return new q(tt(t>=240?t-240:t+120,i,n),tt(t,i,n),tt(t<120?t+240:t-120,i,n),this.opacity)},clamp(){return new Z(J(this.h),Q(this.s),Q(this.l),H(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=H(this.opacity);return`${1===t?"hsl(":"hsla("}${J(this.h)}, ${100*Q(this.s)}%, ${100*Q(this.l)}%${1===t?")":`, ${t})`}`}}));let tr=t=>()=>t;function tn(t,e){var r=e-t;return r?function(e){return t+e*r}:tr(isNaN(t)?e:t)}let ti=function t(e){var r,n=1==(r=+e)?tn:function(t,e){var n,i,o;return e-t?(n=t,i=e,n=Math.pow(n,o=r),i=Math.pow(i,o)-n,o=1/o,function(t){return Math.pow(n+t*i,o)}):tr(isNaN(t)?e:t)};function i(t,e){var r=n((t=$(t)).r,(e=$(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=tn(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return i.gamma=t,i}(1);function to(t){return function(e){var r,n,i=e.length,o=Array(i),a=Array(i),u=Array(i);for(r=0;r<i;++r)n=$(e[r]),o[r]=n.r||0,a[r]=n.g||0,u[r]=n.b||0;return o=t(o),a=t(a),u=t(u),n.opacity=1,function(t){return n.r=o(t),n.g=a(t),n.b=u(t),n+""}}}function ta(t,e){return t*=1,e*=1,function(r){return t*(1-r)+e*r}}to(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),i=t[n],o=t[n+1],a=n>0?t[n-1]:2*i-o,u=n<e-1?t[n+2]:2*o-i;return te((r-n/e)*e,a,i,o,u)}}),to(function(t){var e=t.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*e),i=t[(n+e-1)%e],o=t[n%e],a=t[(n+1)%e],u=t[(n+2)%e];return te((r-n/e)*e,i,o,a,u)}});var tu=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,tl=RegExp(tu.source,"g");function tc(t,e){var r,n,i=typeof e;return null==e||"boolean"===i?tr(e):("number"===i?ta:"string"===i?(n=z(e))?(e=n,ti):function(t,e){var r,n,i,o,a,u=tu.lastIndex=tl.lastIndex=0,l=-1,c=[],s=[];for(t+="",e+="";(i=tu.exec(t))&&(o=tl.exec(e));)(a=o.index)>u&&(a=e.slice(u,a),c[l]?c[l]+=a:c[++l]=a),(i=i[0])===(o=o[0])?c[l]?c[l]+=o:c[++l]=o:(c[++l]=null,s.push({i:l,x:ta(i,o)})),u=tl.lastIndex;return u<e.length&&(a=e.slice(u),c[l]?c[l]+=a:c[++l]=a),c.length<2?s[0]?(r=s[0].x,function(t){return r(t)+""}):(n=e,function(){return n}):(e=s.length,function(t){for(var r,n=0;n<e;++n)c[(r=s[n]).i]=r.x(t);return c.join("")})}:e instanceof z?ti:e instanceof Date?function(t,e){var r=new Date;return t*=1,e*=1,function(n){return r.setTime(t*(1-n)+e*n),r}}:!ArrayBuffer.isView(r=e)||r instanceof DataView?Array.isArray(e)?function(t,e){var r,n=e?e.length:0,i=t?Math.min(n,t.length):0,o=Array(i),a=Array(n);for(r=0;r<i;++r)o[r]=tc(t[r],e[r]);for(;r<n;++r)a[r]=e[r];return function(t){for(r=0;r<i;++r)a[r]=o[r](t);return a}}:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?function(t,e){var r,n={},i={};for(r in(null===t||"object"!=typeof t)&&(t={}),(null===e||"object"!=typeof e)&&(e={}),e)r in t?n[r]=tc(t[r],e[r]):i[r]=e[r];return function(t){for(r in n)i[r]=n[r](t);return i}}:ta:function(t,e){e||(e=[]);var r,n=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(r=0;r<n;++r)i[r]=t[r]*(1-o)+e[r]*o;return i}})(t,e)}function ts(t,e){return t*=1,e*=1,function(r){return Math.round(t*(1-r)+e*r)}}function tf(t){return+t}var tp=[0,1];function td(t){return t}function th(t,e){var r;return(e-=t*=1)?function(r){return(r-t)/e}:(r=isNaN(e)?NaN:.5,function(){return r})}function ty(t,e,r){var n=t[0],i=t[1],o=e[0],a=e[1];return i<n?(n=th(i,n),o=r(a,o)):(n=th(n,i),o=r(o,a)),function(t){return o(n(t))}}function tv(t,e,r){var n=Math.min(t.length,e.length)-1,i=Array(n),o=Array(n),a=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<n;)i[a]=th(t[a],t[a+1]),o[a]=r(e[a],e[a+1]);return function(e){var r=w(t,e,1,n)-1;return o[r](i[r](e))}}function tm(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function tb(){var t,e,r,n,i,o,a=tp,u=tp,l=tc,c=td;function s(){var t,e,r,l=Math.min(a.length,u.length);return c!==td&&(t=a[0],e=a[l-1],t>e&&(r=t,t=e,e=r),c=function(r){return Math.max(t,Math.min(e,r))}),n=l>2?tv:ty,i=o=null,f}function f(e){return null==e||isNaN(e*=1)?r:(i||(i=n(a.map(t),u,l)))(t(c(e)))}return f.invert=function(r){return c(e((o||(o=n(u,a.map(t),ta)))(r)))},f.domain=function(t){return arguments.length?(a=Array.from(t,tf),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),l=ts,s()},f.clamp=function(t){return arguments.length?(c=!!t||td,s()):c!==td},f.interpolate=function(t){return arguments.length?(l=t,s()):l},f.unknown=function(t){return arguments.length?(r=t,f):r},function(r,n){return t=r,e=n,s()}}function tg(){return tb()(td,td)}var tx=t.i(23874);function tO(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 tw(t){return(t=tO(Math.abs(t)))?t[1]:NaN}var tS=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function tj(t){var e;if(!(e=tS.exec(t)))throw Error("invalid format: "+t);return new tP({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 tP(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.
1width,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 tE(t,e){var r=tO(t,e);if(!r)return t+"";var n=r[0],i=r[1];return i<0?"0."+Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+Array(i-n.length+2).join("0")}tj.prototype=tP.prototype,tP.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};let tA={"%":(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)=>tE(100*t,e),r:tE,s:function(t,r){var n=tO(t,r);if(!n)return t+"";var i=n[0],o=n[1],a=o-(e=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,u=i.length;return a===u?i:a>u?i+Array(a-u+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+Array(1-a).join("0")+tO(t,Math.max(0,r+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function tk(t){return t}var tT=Array.prototype.map,tM=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function t_(t,e,r,o){var a,u,l=y(t,e,r);switch((o=tj(null==o?",f":o)).type){case"s":var c=Math.max(Math.abs(t),Math.abs(e));return null!=o.precision||isNaN(u=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(tw(c)/3)))-tw(Math.abs(l))))||(o.precision=u),i(o,c);case"":case"e":case"g":case"p":case"r":null!=o.precision||isNaN(u=Math.max(0,tw(Math.abs(Math.max(Math.abs(t),Math.abs(e)))-(a=Math.abs(a=l)))-tw(a))+1)||(o.precision=u-("e"===o.type));break;case"f":case"%":null!=o.precision||isNaN(u=Math.max(0,-tw(Math.abs(l))))||(o.precision=u-("%"===o.type)*2)}return n(o)}function tC(t){var e=t.domain;return t.ticks=function(t){var r=e();return d(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return t_(n[0],n[n.length-1],null==t?10:t,r)},t.nice=function(r){null==r&&(r=10);var n,i,o=e(),a=0,u=o.length-1,l=o[a],c=o[u],s=10;for(c<l&&(i=l,l=c,c=i,i=a,a=u,u=i);s-- >0;){if((i=h(l,c,r))===n)return o[a]=l,o[u]=c,e(o);if(i>0)l=Math.floor(l/i)*i,c=Math.ceil(c/i)*i;else if(i<0)l=Math.ceil(l*i)/i,c=Math.floor(c*i)/i;else break;n=i}return t},t}function tN(){var t=tg();return t.copy=function(){return tm(t,tN())},tx.initRange.apply(t,arguments),tC(t)}function tD(t){var e;function r(t){return null==t||isNaN(t*=1)?e:t}return r.invert=r,r.domain=r.range=function(e){return arguments.length?(t=Array.from(e,tf),r):t.slice()},r.unknown=function(t){return arguments.length?(e=t,r):e},r.copy=function(){return tD(t).unknown(e)},t=arguments.length?Array.from(t,tf):[0,1],tC(r)}function tI(t,e){t=t.slice();var r,n=0,i=t.length-1,o=t[n],a=t[i];return a<o&&(r=n,n=i,i=r,r=o,o=a,a=r),t[n]=e.floor(o),t[i]=e.ceil(a),t}function tB(t){return Math.log(t)}function tL(t){return Math.exp(t)}function tR(t){return-Math.log(-t)}function tz(t){return-Math.exp(-t)}function tU(t){return isFinite(t)?+("1e"+t):t<0?0:t}function tF(t){return(e,r)=>-t(-e,r)}function t$(t){let e,r,i=t(tB,tL),o=i.domain,a=10;function u(){var n,u;return e=(n=a)===Math.E?Math.log:10===n&&Math.log10||2===n&&Math.log2||(n=Math.log(n),t=>Math.log(t)/n),r=10===(u=a)?tU:u===Math.E?Math.exp:t=>Math.pow(u,t),o()[0]<0?(e=tF(e),r=tF(r),t(tR,tz)):t(tB,tL),i}return i.base=function(t){return arguments.length?(a=+t,u()):a},i.domain=function(t){return arguments.length?(o(t),u()):o()},i.ticks=t=>{let n,i,u=o(),l=u[0],c=u[u.length-1],s=c<l;s&&([l,c]=[c,l]);let f=e(l),p=e(c),h=null==t?10:+t,y=[];if(!(a%1)&&p-f<h){if(f=Math.floor(f),p=Math.ceil(p),l>0){for(;f<=p;++f)for(n=1;n<a;++n)if(!((i=f<0?n/r(-f):n*r(f))<l)){if(i>c)break;y.push(i)}}else for(;f<=p;++f)for(n=a-1;n>=1;--n)if(!((i=f>0?n/r(-f):n*r(f))<l)){if(i>c)break;y.push(i)}2*y.length<h&&(y=d(l,c,h))}else y=d(f,p,Math.min(p-f,h)).map(r);return s?y.reverse():y},i.tickFormat=(t,o)=>{if(null==t&&(t=10),null==o&&(o=10===a?"s":","),"function"!=typeof o&&(a%1||null!=(o=tj(o)).precision||(o.trim=!0),o=n(o)),t===1/0)return o;let u=Math.max(1,a*t/i.ticks().length);return t=>{let n=t/r(Math.round(e(t)));return n*a<a-.5&&(n*=a),n<=u?o(t):""}},i.nice=()=>o(tI(o(),{floor:t=>r(Math.floor(e(t))),ceil:t=>r(Math.ceil(e(t)))})),i}function tq(){let t=t$(tb()).domain([1,10]);return t.copy=()=>tm(t,tq()).base(t.base()),tx.initRange.apply(t,arguments),t}function tW(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function tV(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function tH(t){var e=1,r=t(tW(1),tV(e));return r.constant=function(r){return arguments.length?t(tW(e=+r),tV(e)):e},tC(r)}function tX(){var t=tH(tb());return t.copy=function(){return tm(t,tX()).constant(t.constant())},tx.initRange.apply(t,arguments)}n=(r=function(t){var r,n,i,o=void 0===t.grouping||void 0===t.thous
1ands?tk:(r=tT.call(t.grouping,Number),n=t.thousands+"",function(t,e){for(var i=t.length,o=[],a=0,u=r[0],l=0;i>0&&u>0&&(l+u+1>e&&(u=Math.max(1,e-l)),o.push(t.substring(i-=u,i+u)),!((l+=u+1)>e));)u=r[a=(a+1)%r.length];return o.reverse().join(n)}),a=void 0===t.currency?"":t.currency[0]+"",u=void 0===t.currency?"":t.currency[1]+"",l=void 0===t.decimal?".":t.decimal+"",c=void 0===t.numerals?tk:(i=tT.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return i[+t]})}),s=void 0===t.percent?"%":t.percent+"",f=void 0===t.minus?"â":t.minus+"",p=void 0===t.nan?"NaN":t.nan+"";function d(t){var r=(t=tj(t)).fill,n=t.align,i=t.sign,d=t.symbol,h=t.zero,y=t.width,v=t.comma,m=t.precision,b=t.trim,g=t.type;"n"===g?(v=!0,g="g"):tA[g]||(void 0===m&&(m=12),b=!0,g="g"),(h||"0"===r&&"="===n)&&(h=!0,r="0",n="=");var x="$"===d?a:"#"===d&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",O="$"===d?u:/[%p]/.test(g)?s:"",w=tA[g],S=/[defgprs%]/.test(g);function j(t){var a,u,s,d=x,j=O;if("c"===g)j=w(t)+j,t="";else{var P=(t*=1)<0||1/t<0;if(t=isNaN(t)?p:w(Math.abs(t),m),b&&(t=function(t){e:for(var e,r=t.length,n=1,i=-1;n<r;++n)switch(t[n]){case".":i=e=n;break;case"0":0===i&&(i=n),e=n;break;default:if(!+t[n])break e;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),P&&0==+t&&"+"!==i&&(P=!1),d=(P?"("===i?i:f:"-"===i||"("===i?"":i)+d,j=("s"===g?tM[8+e/3]:"")+j+(P&&"("===i?")":""),S){for(a=-1,u=t.length;++a<u;)if(48>(s=t.charCodeAt(a))||s>57){j=(46===s?l+t.slice(a+1):t.slice(a))+j,t=t.slice(0,a);break}}}v&&!h&&(t=o(t,1/0));var E=d.length+t.length+j.length,A=E<y?Array(y-E+1).join(r):"";switch(v&&h&&(t=o(A+t,A.length?y-j.length:1/0),A=""),n){case"<":t=d+t+j+A;break;case"=":t=d+A+t+j;break;case"^":t=A.slice(0,E=A.length>>1)+d+t+j+A.slice(E);break;default:t=A+d+t+j}return c(t)}return m=void 0===m?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),j.toString=function(){return t+""},j}return{format:d,formatPrefix:function(t,e){var r=d(((t=tj(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(tw(e)/3))),i=Math.pow(10,-n),o=tM[8+n/3];return function(t){return r(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,i=r.formatPrefix;var tG=t.i(28120);function tK(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function tY(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function tZ(t){return t<0?-t*t:t*t}function tJ(t){var e=t(td,td),r=1;return e.exponent=function(e){return arguments.length?1==(r=+e)?t(td,td):.5===r?t(tY,tZ):t(tK(r),tK(1/r)):r},tC(e)}function tQ(){var t=tJ(tb());return t.copy=function(){return tm(t,tQ()).exponent(t.exponent())},tx.initRange.apply(t,arguments),t}function t0(){return tQ.apply(null,arguments).exponent(.5)}function t1(t){return Math.sign(t)*t*t}function t2(){var t,e=tg(),r=[0,1],n=!1;function i(r){var i,o=Math.sign(i=e(r))*Math.sqrt(Math.abs(i));return isNaN(o)?t:n?Math.round(o):o}return i.invert=function(t){return e.invert(t1(t))},i.domain=function(t){return arguments.length?(e.domain(t),i):e.domain()},i.range=function(t){return arguments.length?(e.range((r=Array.from(t,tf)).map(t1)),i):r.slice()},i.rangeRound=function(t){return i.range(t).round(!0)},i.round=function(t){return arguments.length?(n=!!t,i):n},i.clamp=function(t){return arguments.length?(e.clamp(t),i):e.clamp()},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return t2(e.domain(),r).round(n).clamp(e.clamp()).unknown(t)},tx.initRange.apply(i,arguments),tC(i)}function t3(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r<e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let i of t)null!=(i=e(i,++n,t))&&(r<i||void 0===r&&i>=i)&&(r=i)}return r}function t5(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let i of t)null!=(i=e(i,++n,t))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}function t6(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:+(t>e))}function t8(t,e,r){let n=t[e];t[e]=t[r],t[r]=n}function t7(){var t,e=[],r=[],n=[];function i(){var t=0,i=Math.max(1,r.length);for(n=Array(i-1);++t<i;)n[t-1]=function(t,e,r=x){if(!(!(n=t.length)||isNaN(e*=1))){if(e<=0||n<2)return+r(t[0],0,t);if(e>=1)return+r(t[n-1],n-1,t);var n,i=(n-1)*e,o=Math.floor(i),a=+r(t[o],o,t);return a+(r(t[o+1],o+1,t)-a)*(i-o)}}(e,t/i);return o}function o(e){return null==e||isNaN(e*=1)?t:r[w(n,e)]}return o.invertExtent=function(t){var i=r.indexOf(t);return i<0?[NaN,NaN]:[i>0?n[i-1]:e[0],i<n.length?n[i]:e[e.length-1]]},o.domain=function(t){if(!arguments.length)return e.slice();for(let r of(e=[],t))null==r||isNaN(r*=1)||e.push(r);return e.sort(v),i()},o.range=function(t){return arguments.length?(r=Array.from(t),i()):r.slice()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.quantiles=function(){return n.slice()},o.copy=function(){return t7().domain(e).range(r).unknown(t)},tx.initRange.apply(o,arguments)}function t9(){var t,e=0,r=1,n=1,i=[.5],o=[0,1];function a(e){return null!=e&&e<=e?o[w(i,e,0,n)]:t}function u(){var t=-1;for(i=Array(n);++t<n;)i[t]=((t+1)*r-(t-n)*e)/(n+1);return a}return a.domain=function(t){return arguments.length?([e,r]=t,e*=1,r*=1,u()):[e,r]},a.range=function(t){return arguments.length?(n=(o=Array.from(t)).length-1,u()):o.slice()},a.invertExtent=function(t){var a=o.indexOf(t);return a<0?[NaN,NaN]:a<1?[e,i[0]]:a>=n?[i[n-1],r]:[i[a-1],i[a]]},a.unknown=function(e){return arguments.length&&(t=e),a},a.thresholds=function(){return i.slice()},a.copy=function(){return t9().domain([e,r]).range(o).unknown(t)},tx.initRange.apply(tC(a),arguments)}function t4(){var t,e=[.5],r=[0,1],n=1;function i(i){return null!=i&&i<=i?r[w(e,i,0,n)]:t}return i.domain=function(t){return arguments.length?(n=Math.min((e=Array.from(t)).length,r.length-1),i):e.slice()},i.range=function(t){return arguments.length?(r=Array.from(t),n=Math.min(e.length,r.length-1),i):r.slice()},i.invertExtent=function(t){var n=r.indexOf(t);return[e[n-1],e[n]]},i.unknown=function(e){return arguments.length?(t=e,i):t}
1,i.copy=function(){return t4().domain(e).range(r).unknown(t)},tx.initRange.apply(i,arguments)}let et=new Date,ee=new Date;function er(t,e,r,n){function i(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return i.floor=e=>(t(e=new Date(+e)),e),i.ceil=r=>(t(r=new Date(r-1)),e(r,1),t(r),r),i.round=t=>{let e=i(t),r=i.ceil(t);return t-e<r-t?e:r},i.offset=(t,r)=>(e(t=new Date(+t),null==r?1:Math.floor(r)),t),i.range=(r,n,o)=>{let a,u=[];if(r=i.ceil(r),o=null==o?1:Math.floor(o),!(r<n)||!(o>0))return u;do u.push(a=new Date(+r)),e(r,o),t(r);while(a<r&&r<n)return u},i.filter=r=>er(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&&(i.count=(e,n)=>(et.setTime(+e),ee.setTime(+n),t(et),t(ee),Math.floor(r(et,ee))),i.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?i.filter(n?e=>n(e)%t==0:e=>i.count(0,e)%t==0):i:null),i}let en=er(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());en.every=t=>isFinite(t=Math.floor(t))&&t>0?er(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,en.range;let ei=er(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());ei.every=t=>isFinite(t=Math.floor(t))&&t>0?er(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,ei.range;let eo=er(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());eo.range;let ea=er(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());ea.range;function eu(t){return er(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5)}let el=eu(0),ec=eu(1),es=eu(2),ef=eu(3),ep=eu(4),ed=eu(5),eh=eu(6);function ey(t){return er(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/6048e5)}el.range,ec.range,es.range,ef.range,ep.range,ed.range,eh.range;let ev=ey(0),em=ey(1),eb=ey(2),eg=ey(3),ex=ey(4),eO=ey(5),ew=ey(6);ev.range,em.range,eb.range,eg.range,ex.range,eO.range,ew.range;let eS=er(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1);eS.range;let ej=er(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1);ej.range;let eP=er(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>Math.floor(t/864e5));eP.range;let eE=er(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getHours());eE.range;let eA=er(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours());eA.range;let ek=er(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getMinutes());ek.range;let eT=er(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes());eT.range;let eM=er(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds());eM.range;let e_=er(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);function eC(t,e,r,n,i,o){let a=[[eM,1,1e3],[eM,5,5e3],[eM,15,15e3],[eM,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[n,1,864e5],[n,2,1728e5],[r,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function u(e,r,n){let i=Math.abs(r-e)/n,o=b(([,,t])=>t).right(a,i);if(o===a.length)return t.every(y(e/31536e6,r/31536e6,n));if(0===o)return e_.every(Math.max(y(e,r,n),1));let[u,l]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return u.every(l)}return[function(t,e,r){let n=e<t;n&&([t,e]=[e,t]);let i=r&&"function"==typeof r.range?r:u(t,e,r),o=i?i.range(t,+e+1):[];return n?o.reverse():o},u]}e_.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?er(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):e_:null,e_.range;let[eN,eD]=eC(ei,ea,ev,eP,eA,eT),[eI,eB]=eC(en,eo,el,eS,eE,ek);function eL(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 eR(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 ez(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var eU={"-":"",_:" ",0:"0"},eF=/^\s*\d+/,e$=/^%/,eq=/[\\^$*+?|[\]().{}]/g;function eW(t,e,r){var n=t<0?"-":"",i=(n?-t:t)+"",o=i.length;return n+(o<r?Array(r-o+1).join(e)+i:i)}function eV(t){return t.replace(eq,"\\$&")}function eH(t){return RegExp("^(?:"+t.map(eV).join("|")+")","i")}function eX(t){return new Map(t.map((t,e)=>[t.toLowerCase(),e]))}function eG(t,e,r){var n=eF.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function eK(t,e,r){var n=eF.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function eY(t,e,r){var n=eF.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function eZ(t,e,r){var n=eF.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function eJ(t,e,r){var n=eF.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function eQ(t,e,r){var n=eF.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function e0(t,e,r){var n=eF.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function e1(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 e2(t,e,r){var n=eF.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function e3(t,e,r){var n=eF.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function e5(t,e,r){var n=eF.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function e6(t,e,r){var n=eF.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function e8(t,e,r){var n=eF.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function e7(t,e,r){var n=eF.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function e9(t,e,r){var n=eF.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function e4(t,e,r){var n=eF.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function rt(t,e,r){var n=eF.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function re(t,e,r){var n=e$.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function rr(t,e,r){var n=eF.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function rn(t,e,r){var n=eF.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function ri(t,e){return eW(t.getDate(),e,2)}function ro(t,e){return eW(t.getHours(),e,2)}function ra(t,e){return eW(t.getHours()%12||12,e,2)}function ru(t,e){return eW(1+eS.count(en(t),t),e,3)}function rl(t,e){return eW(t.getMilliseconds(),e,3)}function rc(t,e){return rl(t,e)+"000"}function rs(t,e){return eW(t.getMonth()+1,e,2)}function rf(t,e){return eW(t.getMinutes(),e,2)}function rp(t,e){return eW(t.getSeconds(),e,2)}function rd(t){var e=t.getDay();return 0===e?7:e}function rh(t,e){return eW(el.count(en(t)-1,t),e,2)}function ry(t){var e=t.getDay();return e>=4||0===e?ep(t):ep.ceil(t)}function rv(t,e){return t=ry(t),eW(ep.count(en(t),t)+(4===en(t).getDay()),e,2)}function rm(t){return t.getDay()}function rb(t,e){return eW(ec.count(en(t)-1,t),e,2)}function rg(t,e){return eW(t.getFullYear()%100,e,2)}function rx(t,e){return eW((t=ry(t)).getFullYear()%100,e,2)}function rO(t,e){return eW(t.getFullYear()%1e4,e,4)}function rw(t,e){var r=t.getDay();return eW((t=r>=4||0===r?ep(t):ep.ceil(t)).getFullYear()%1e4,e,4)}function rS(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+eW(e/60|0,"0",2)+eW(e%60,"0",2)}function rj(t,e){return eW(t.getUTCDate(),e,2)}function rP(t,e){return eW(t.getUTCHours(),e,2)}function rE(t,e){return eW(t.getUTCHours()%12||12,e,2)}function rA(t,e){return eW(1+ej.count(ei(t),t),e,3)}function rk(t,e){return eW(t.getUTCMilliseconds(),e,3)}function rT(t,e){return rk(t,e)+"000"}function rM(t,e){return eW(t.getUTCMonth()+1,e,2)}function r_(t,e){return eW(t.getUTCMinutes(),e,2)}function rC(t,e){return eW(t.getUTCSeconds(),e,2)}function rN(t){var e=t.getUTCDay();return 0===e?7:e}function rD(t,e){return eW(ev.count(ei(t)-1,t),e,2)}function rI(t){var e=t.getUTCDay();return e>=4||0===e?ex(t):ex.ceil(t)}function rB(t,e){return t=rI(t),eW(ex.count(ei(t),t)+(4===ei(t).getUTCDay()),e,2)}function rL(t){return t.getUTCDay()}function rR(t,e){return eW(em.count(ei(t)-1,t),e,2)}function rz(t,e){return eW(t.getUTCFullYear()%100,e,2)}function rU(t,e){return eW((t=rI(t)).getUTCFullYear()%100,e,2)}function rF(t,e){return eW(t.getUTCFullYear()%1e4,e,4)}function r$(t,e){var r=t.getUTCDay();return eW((t=r>=4||0===r?ex(t):ex.ceil(t)).getUTCFullYear()%1e4,e,4)}function rq(){return"+0000"}function rW(){return"%"}function rV(t){return+t}function rH(t){return Math.floor(t/1e3)}function rX(t){return new Date(t)}function rG(t){return t instanceof Date?+t:+new Date(+t)}function rK(t,e,r,n,i,o,a,u,l,c){var s=tg(),f=s.invert,p=s.domain,d=c(".%L"),h=c(":%S"),y=c("%I:%M"),v=c("%I %p"),m=c("%a %d"),b=c("%b %d"),g=c("%B"),x=c("%Y");function O(t){return(l(t)<t?d:u(t)<t?h:a(t)<t?y:o(t)<t?v:n(t)<t?i(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,rG)):p().map(rX)},s.ticks=function(e){var r=p();return t(r[0],r[r.length-1],null==e?10:e)}
1,s.tickFormat=function(t,e){return null==e?O:c(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(tI(r,t)):s},s.copy=function(){return tm(s,rK(t,e,r,n,i,o,a,u,l,c))},s}function rY(){return tx.initRange.apply(rK(eI,eB,en,eo,el,eS,eE,ek,eM,a).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function rZ(){return tx.initRange.apply(rK(eN,eD,ei,ea,ev,ej,eA,eT,eM,u).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function rJ(){var t,e,r,n,i,o=0,a=1,u=td,l=!1;function c(e){return null==e||isNaN(e*=1)?i:u(0===r?.5:(e=(n(e)-t)*r,l?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),c):[u(0),u(1)]}}return c.domain=function(i){return arguments.length?([o,a]=i,t=n(o*=1),e=n(a*=1),r=t===e?0:1/(e-t),c):[o,a]},c.clamp=function(t){return arguments.length?(l=!!t,c):l},c.interpolator=function(t){return arguments.length?(u=t,c):u},c.range=s(tc),c.rangeRound=s(ts),c.unknown=function(t){return arguments.length?(i=t,c):i},function(i){return n=i,t=i(o),e=i(a),r=t===e?0:1/(e-t),c}}function rQ(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function r0(){var t=tC(rJ()(td));return t.copy=function(){return rQ(t,r0())},tx.initInterpolator.apply(t,arguments)}function r1(){var t=t$(rJ()).domain([1,10]);return t.copy=function(){return rQ(t,r1()).base(t.base())},tx.initInterpolator.apply(t,arguments)}function r2(){var t=tH(rJ());return t.copy=function(){return rQ(t,r2()).constant(t.constant())},tx.initInterpolator.apply(t,arguments)}function r3(){var t=tJ(rJ());return t.copy=function(){return rQ(t,r3()).exponent(t.exponent())},tx.initInterpolator.apply(t,arguments)}function r5(){return r3.apply(null,arguments).exponent(.5)}function r6(){var t=[],e=td;function r(r){if(null!=r&&!isNaN(r*=1))return e((w(t,r,1)-1)/(t.length-1))}return r.domain=function(e){if(!arguments.length)return t.slice();for(let r of(t=[],e))null==r||isNaN(r*=1)||t.push(r);return t.sort(v),r},r.interpolator=function(t){return arguments.length?(e=t,r):e},r.range=function(){return t.map((r,n)=>e(n/(t.length-1)))},r.quantiles=function(e){return Array.from({length:e+1},(r,n)=>(function(t,e){if(!(!(r=(t=Float64Array.from(function*(t,e){if(void 0===e)for(let e of t)null!=e&&(e*=1)>=e&&(yield e);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(n*=1)>=n&&(yield n)}}(t,void 0))).length)||isNaN(e*=1))){if(e<=0||r<2)return t5(t);if(e>=1)return t3(t);var r,n=(r-1)*e,i=Math.floor(n),o=t3((function t(e,r,n=0,i=1/0,o){if(r=Math.floor(r),n=Math.floor(Math.max(0,n)),i=Math.floor(Math.min(e.length-1,i)),!(n<=r&&r<=i))return e;for(o=void 0===o?t6:function(t=v){if(t===v)return t6;if("function"!=typeof t)throw TypeError("compare is not a function");return(e,r)=>{let n=t(e,r);return n||0===n?n:(0===t(r,r))-(0===t(e,e))}}(o);i>n;){if(i-n>600){let a=i-n+1,u=r-n+1,l=Math.log(a),c=.5*Math.exp(2*l/3),s=.5*Math.sqrt(l*c*(a-c)/a)*(u-a/2<0?-1:1),f=Math.max(n,Math.floor(r-u*c/a+s)),p=Math.min(i,Math.floor(r+(a-u)*c/a+s));t(e,r,f,p,o)}let a=e[r],u=n,l=i;for(t8(e,n,r),o(e[i],a)>0&&t8(e,n,i);u<l;){for(t8(e,u,l),++u,--l;0>o(e[u],a);)++u;for(;o(e[l],a)>0;)--l}0===o(e[n],a)?t8(e,n,l):t8(e,++l,i),l<=r&&(n=l+1),r<=l&&(i=l-1)}return e})(t,i).subarray(0,i+1));return o+(t5(t.subarray(i+1))-o)*(n-i)}})(t,n/e))},r.copy=function(){return r6(e).domain(t)},tx.initInterpolator.apply(r,arguments)}function r8(){var t,e,r,n,i,o,a,u=0,l=.5,c=1,s=1,f=td,p=!1;function d(t){return isNaN(t*=1)?a:(t=.5+((t=+o(t))-e)*(s*t<s*e?n:i),f(p?Math.max(0,Math.min(1,t)):t))}function h(t){return function(e){var r,n,i;return arguments.length?([r,n,i]=e,f=function(t,e){void 0===e&&(e=t,t=tc);for(var r=0,n=e.length-1,i=e[0],o=Array(n<0?0:n);r<n;)o[r]=t(i,i=e[++r]);return function(t){var e=Math.max(0,Math.min(n-1,Math.floor(t*=n)));return o[e](t-e)}}(t,[r,n,i]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([u,l,c]=a,t=o(u*=1),e=o(l*=1),r=o(c*=1),n=t===e?0:.5/(e-t),i=e===r?0:.5/(r-e),s=e<t?-1:1,d):[u,l,c]},d.clamp=function(t){return arguments.length?(p=!!t,d):p},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=h(tc),d.rangeRound=h(ts),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return o=a,t=a(u),e=a(l),r=a(c),n=t===e?0:.5/(e-t),i=e===r?0:.5/(r-e),s=e<t?-1:1,d}}function r7(){var t=tC(r8()(td));return t.copy=function(){return rQ(t,r7())},tx.initInterpolator.apply(t,arguments)}
1function r9(){var t=t$(r8()).domain([.1,1,10]);return t.copy=function(){return rQ(t,r9()).base(t.base())},tx.initInterpolator.apply(t,arguments)}function r4(){var t=tH(r8());return t.copy=function(){return rQ(t,r4()).constant(t.constant())},tx.initInterpolator.apply(t,arguments)}function nt(){var t=tJ(r8());return t.copy=function(){return rQ(t,nt()).exponent(t.exponent())},tx.initInterpolator.apply(t,arguments)}function ne(){return nt.apply(null,arguments).exponent(.5)}a=(o=function(t){var e=t.dateTime,r=t.date,n=t.time,i=t.periods,o=t.days,a=t.shortDays,u=t.months,l=t.shortMonths,c=eH(i),s=eX(i),f=eH(o),p=eX(o),d=eH(a),h=eX(a),y=eH(u),v=eX(u),m=eH(l),b=eX(l),g={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:ri,e:ri,f:rc,g:rx,G:rw,H:ro,I:ra,j:ru,L:rl,m:rs,M:rf,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:rV,s:rH,S:rp,u:rd,U:rh,V:rv,w:rm,W:rb,x:null,X:null,y:rg,Y:rO,Z:rS,"%":rW},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:rj,e:rj,f:rT,g:rU,G:r$,H:rP,I:rE,j:rA,L:rk,m:rM,M:r_,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:rV,s:rH,S:rC,u:rN,U:rD,V:rB,w:rL,W:rR,x:null,X:null,y:rz,Y:rF,Z:rq,"%":rW},O={a:function(t,e,r){var n=d.exec(e.slice(r));return n?(t.w=h.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(t,e,r){var n=f.exec(e.slice(r));return n?(t.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(t,e,r){var n=m.exec(e.slice(r));return n?(t.m=b.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(t,e,r){var n=y.exec(e.slice(r));return n?(t.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(t,r,n){return j(t,e,r,n)},d:e5,e:e5,f:rt,g:e0,G:eQ,H:e8,I:e8,j:e6,L:e4,m:e3,M:e7,p:function(t,e,r){var n=c.exec(e.slice(r));return n?(t.p=s.get(n[0].toLowerCase()),r+n[0].length):-1},q:e2,Q:rr,s:rn,S:e9,u:eK,U:eY,V:eZ,w:eG,W:eJ,x:function(t,e,n){return j(t,r,e,n)},X:function(t,e,r){return j(t,n,e,r)},y:e0,Y:eQ,Z:e1,"%":re};function w(t,e){return function(r){var n,i,o,a=[],u=-1,l=0,c=t.length;for(r instanceof Date||(r=new Date(+r));++u<c;)37===t.charCodeAt(u)&&(a.push(t.slice(l,u)),null!=(i=eU[n=t.charAt(++u)])?n=t.charAt(++u):i="e"===n?" ":"0",(o=e[n])&&(n=o(r,i)),a.push(n),l=u+1);return a.push(t.slice(l,u)),a.join("")}}function S(t,e){return function(r){var n,i,o=ez(1900,void 0,1);if(j(o,t,r+="",0)!=r.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(!e||"Z"in o||(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(n=(i=(n=eR(ez(o.y,0,1))).getUTCDay())>4||0===i?em.ceil(n):em(n),n=ej.offset(n,(o.V-1)*7),o.y=n.getUTCFullYear(),o.m=n.getUTCMonth(),o.d=n.getUTCDate()+(o.w+6)%7):(n=(i=(n=eL(ez(o.y,0,1))).getDay())>4||0===i?ec.ceil(n):ec(n),n=eS.offset(n,(o.V-1)*7),o.y=n.getFullYear(),o.m=n.getMonth(),o.d=n.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:+("W"in o)),i="Z"in o?eR(ez(o.y,0,1)).getUTCDay():eL(ez(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,eR(o)):eL(o)}}function j(t,e,r,n){for(var i,o,a=0,u=e.length,l=r.length;a<u;){if(n>=l)return -1;if(37===(i=e.charCodeAt(a++))){if(!(o=O[(i=e.charAt(a++))in eU?e.charAt(a++):i])||(n=o(t,r,n))<0)return -1}else if(i!=r.charCodeAt(n++))return -1}return n}return g.x=w(r,g),g.X=w(n,g),g.c=w(e,g),x.x=w(r,x),x.X=w(n,x),x.c=w(e,x),{format:function(t){var e=w(t+="",g);return e.toString=function(){return t},e},parse:function(t){var e=S(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",x);return e.toString=function(){return t},e},utcParse:function(t){var e=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
1ay","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,o.parse,u=o.utcFormat,o.utcParse,t.s(["scaleBand",()=>l.default,"scaleDiverging",0,r7,"scaleDivergingLog",0,r9,"scaleDivergingPow",0,nt,"scaleDivergingSqrt",0,ne,"scaleDivergingSymlog",0,r4,"scaleIdentity",0,tD,"scaleImplicit",()=>tG.implicit,"scaleLinear",0,tN,"scaleLog",0,tq,"scaleOrdinal",()=>tG.default,"scalePoint",()=>l.point,"scalePow",0,tQ,"scaleQuantile",0,t7,"scaleQuantize",0,t9,"scaleRadial",0,t2,"scaleSequential",0,r0,"scaleSequentialLog",0,r1,"scaleSequentialPow",0,r3,"scaleSequentialQuantile",0,r6,"scaleSequentialSqrt",0,r5,"scaleSequentialSymlog",0,r2,"scaleSqrt",0,t0,"scaleSymlog",0,tX,"scaleThreshold",0,t4,"scaleTime",0,rY,"scaleUtc",0,rZ,"tickFormat",0,t_],65090),t.i(65090),t.s(["scaleBand",()=>l.default,"scaleDiverging",0,r7,"scaleDivergingLog",0,r9,"scaleDivergingPow",0,nt,"scaleDivergingSqrt",0,ne,"scaleDivergingSymlog",0,r4,"scaleIdentity",0,tD,"scaleImplicit",()=>tG.implicit,"scaleLinear",0,tN,"scaleLog",0,tq,"scaleOrdinal",()=>tG.default,"scalePoint",()=>l.point,"scalePow",0,tQ,"scaleQuantile",0,t7,"scaleQuantize",0,t9,"scaleRadial",0,t2,"scaleSequential",0,r0,"scaleSequentialLog",0,r1,"scaleSequentialPow",0,r3,"scaleSequentialQuantile",0,r6,"scaleSequentialSqrt",0,r5,"scaleSequentialSymlog",0,r2,"scaleSqrt",0,t0,"scaleSymlog",0,tX,"scaleThreshold",0,t4,"scaleTime",0,rY,"scaleUtc",0,rZ,"tickFormat",0,t_],11748),Array.prototype.slice,t.s(["default",0,function(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}],21776)}]);
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.