1/*! For license information please see 3098.myeroad.bb9f99f7795444a35554.js.LICENSE.txt */ 2!function(){try{("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).__faroGitHash_myeroad="5ce3e63ee526711d9fdee9e150f093852f3a7cc4"}catch(t){}}(),function(){try{("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).__faroBundleId_myeroad="10.1.5092-apac"}catch(t){}}();try{let t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="bc74e173-0d14-4802-949d-5fd855da12bb",t._sentryDebugIdIdentifier="sentry-dbid-bc74e173-0d14-4802-949d-5fd855da12bb")}catch(t){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"10.1.5092-apac"},(self.webpackChunk_eroad_myeroad=self.webpackChunk_eroad_myeroad||[]).push([[3098],{195:(t,e,r)=>{var n=r(84882),o=r(98121),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},1386:(t,e,r)=>{var n=r(12393),o=r(62049),i=r(7144),a=r(7452),c=r(13964);function s(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])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=c,t.exports=s},1432:(t,e,r)=>{var n=r(84570);t.exports=function(t,e){var r=!0;return n(t,function(t,n,o){return r=!!e(t,n,o)}),r}},1877:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},2022:(t,e)=>{"use strict";e.__esModule=!0,e.default=function(t,e){return t.classList?!!e&&t.classList.contains(e):-1!==(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" ")},t.exports=e.default},2306:(t,e,r)=>{t=r.nmd(t);var n=r(74967),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&n.process,c=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=c},2478:(t,e,r)=>{var n=r(37250),o=r(47073),i=r(97706);t.exports=function(t,e,r){return e==e?i(t,e,r):n(t,o,r)}},2840:t=>{t.exports=function(t,e){return t>e}},3269:(t,e,r)=>{"use strict";var n=c(r(37885)),o=c(r(96282)),i=c(r(21003)),a=c(r(14782));function c(t){return t&&t.__esModule?t:{default:t}}t.exports={Transition:a.default,TransitionGroup:i.default,ReplaceTransition:o.default,CSSTransition:n.default}},3283:(t,e,r)=>{var n=r(56027),o=r(80547),i=Object.prototype,a=i.hasOwnProperty,c=i.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(t){return o(t)&&a.call(t,"callee")&&!c.call(t,"callee")};t.exports=s},3316:t=>{var e=Date.now;t.exports=function(t){var r=0,n=0;return function(){var o=e(),i=16-(o-n);if(n=o,i>0){if(++r>=800)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}},3334:(t,e,r)=>{var n=r(36526),o=r(12343),i=r(22053),a=r(53142),c=r(43282);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):n(t):c(t)}},3668:t=>{t.exports=function(t){return null==t}},3733:(t,e,r)=>{"use strict";r.d(e,{s:()=>ft});var n=r(93655),o=r.n(n),i=r(87835),a=r.n(i),c=r(14041),s=r(53373),u=r.n(s),l=r(70820),f=r(5485),p=r.n(f);Math.abs,Math.atan2;const h=Math.cos,d=(Math.max,Math.min,Math.sin),y=Math.sqrt,v=Math.PI,m=2*v,g={draw(t,e){const r=y(e/v);t.moveTo(r,0),t.arc(0,0,r,0,m)}},b={draw(t,e){const r=y(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()}},x=y(1/3),w=2*x,O={draw(t,e){const r=y(e/w),n=r*x;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},_={draw(t,e){const r=y(e),n=-r/2;t.rect(n,n,r,r)}}
2,E=d(v/10)/d(7*v/10),A=d(m/10)*E,S=-h(m/10)*E,j={draw(t,e){const r=y(.8908130915292852*e),n=A*r,o=S*r;t.moveTo(0,-r),t.lineTo(n,o);for(let e=1;e<5;++e){const i=m*e/5,a=h(i),c=d(i);t.lineTo(c*r,-a*r),t.lineTo(a*n-c*o,c*n+a*o)}t.closePath()}},k=y(3),P={draw(t,e){const r=-y(e/(3*k));t.moveTo(0,2*r),t.lineTo(-k*r,-r),t.lineTo(k*r,-r),t.closePath()}},M=-.5,C=y(3)/2,T=1/y(12),I=3*(T/2+1),R={draw(t,e){const r=y(e/I),n=r/2,o=r*T,i=n,a=r*T+r,c=-i,s=a;t.moveTo(n,o),t.lineTo(i,a),t.lineTo(c,s),t.lineTo(M*n-C*o,C*n+M*o),t.lineTo(M*i-C*a,C*i+M*a),t.lineTo(M*c-C*s,C*c+M*s),t.lineTo(M*n+C*o,M*o-C*n),t.lineTo(M*i+C*a,M*a-C*i),t.lineTo(M*c+C*s,M*s-C*c),t.closePath()}};var N=r(49855),D=r(24362);y(3),y(3);var L=r(19773);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},B(t)}function z(){return z=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},z.apply(this,arguments)}function F(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)}}function W(t,e){return W=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},W(t,e)}function U(t){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},U(t)}var V={symbolCircle:g,symbolCross:b,symbolDiamond:O,symbolSquare:_,symbolStar:j,symbolTriangle:P,symbolWye:R},q=Math.PI/180,G=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&W(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=U(n);if(o){var r=U(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){return!e||"object"!==B(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,t)});function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.apply(this,arguments)}return e=a,r=[{key:"getPath",value:function(){var t=this.props,e=t.size,r=t.sizeType,n=t.type,o=function(t){var e="symbol".concat(p()(t));return V[e]||g}(n),i=function(t,e){let r=null,n=(0,D.i)(o);function o(){let o;if(r||(r=o=n()),t.apply(this,arguments).draw(r,+e.apply(this,arguments)),o)return r=null,o+""||null}return t="function"==typeof t?t:(0,N.A)(t||g),e="function"==typeof e?e:(0,N.A)(void 0===e?64:+e),o.type=function(e){return arguments.length?(t="function"==typeof e?e:(0,N.A)(e),o):t},o.size=function(t){return arguments.length?(e="function"==typeof t?t:(0,N.A)(+t),o):e},o.context=function(t){return arguments.length?(r=t??null,o):r},o}().type(o).size(function(t,e,r){if("area"===e)return t;switch(r){case"cross":return 5*t*t/9;case"diamond":return.5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var n=18*q;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}}(e,r,n));return i()}},{key:"render",value:function(){var t=this.props,e=t.className,r=t.cx,n=t.cy,o=t.size;return r===+r&&n===+n&&o===+o?c.createElement("path",z({}
2,(0,L.J9)(this.props,!0),{className:u()("recharts-symbols",e),transform:"translate(".concat(r,", ").concat(n,")"),d:this.getPath()})):null}}],r&&F(e.prototype,r),a}(c.PureComponent);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},H(t)}function X(){return X=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},X.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 J(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function K(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)}}function Z(t,e){return Z=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Z(t,e)}function Y(t){return Y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Y(t)}G.defaultProps={type:"circle",size:64,sizeType:"area"},G.registerSymbol=function(t,e){V["symbol".concat(p()(t))]=e};var Q=32,tt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Z(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=Y(n);if(o){var r=Y(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){return!e||"object"!==H(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,t)});function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.apply(this,arguments)}return e=a,r=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,r=16,n=Q/6,o=Q/3,i=t.inactive?e:t.color;if("plainline"===t.type)return c.createElement("line",{strokeWidth:4,fill:"none",stroke:i,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:r,x2:Q,y2:r,className:"recharts-legend-icon"});if("line"===t.type)return c.createElement("path",{strokeWidth:4,fill:"none",stroke:i,d:"M0,".concat(r,"h").concat(o,"\n A").concat(n,",").concat(n,",0,1,1,").concat(2*o,",").concat(r,"\n H").concat(Q,"M").concat(2*o,",").concat(r,"\n A").concat(n,",").concat(n,",0,1,1,").concat(o,",").concat(r),className:"recharts-legend-icon"});if("rect"===t.type)return c.createElement("path",{stroke:"none",fill:i,d:"M0,".concat(4,"h").concat(Q,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(c.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){J(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}({},t);return delete a.legendIcon,c.cloneElement(t.legendIcon,a)}return c.createElement(G,{fill:i,cx:r,cy:r,size:Q,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,r=e.payload,n=e.iconSize,o=e.layout,i=e.formatter,a=e.inactiveColor,s={x:0,y:0,width:Q,height:Q},f={display:"horizontal"===o?"inline-block":"block",marginRight:10},p={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map(function(e,r){var o,h=e.formatter||i,d=u()((J(o={"recharts-legend-item":!0},"legend-item-".concat(r),!0),J(o,"inactive",e.inactive),o));if("none"===e.type)return null;var y=e.inactive?a:e.color;return c.createElement("li",X({className:d,style:f,key:"legend-item-".concat(r)},(0,L.XC)(t.props,e,r)),c.createElement(l.u,{width:n,height:n,viewBox:s,style:p},t.renderIcon(e)),c.createElement("span",{className:"recharts-legend-item-text",style:{color:y}},h?h(e.value,e,r):e.value))})}},{key:"render",value:function(){var t=this.props,e=t.payload,r=t.layout,n=t.align;if(!e||!e.length)return null;var o={padding:0,margin:0,textAlign:"horizontal"===r?n:"left"};return c.createElement("ul",{className:"recharts-default-legend",style:o},this.renderItems())}}],r&&K(e.prototype,r),a}(c.PureComponent);tt.displayName="Legend",tt.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"};var et=r(81649);function rt(t){return rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(t)}function nt(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 ot(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?nt(Object(r),!0).forEach(function(e){it(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nt(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function it(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function at(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)}}function ct(t,e){return ct=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},ct(t,e)}function st(t){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},st(t)}function ut(t){return t.value}function lt(t,e){return!0===t?a()(e,ut):o()(t)?a()(e,t):e}var ft=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ct(t,e)}(u,t);var e,r,n,i,a,s=(i=u,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=st(i);if(a){var r=st(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){return!e||"object"!==rt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,t)});function u(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=s.call.apply(s,[this].concat(r))).wrapperNode=void 0,t.state={boxWidth:-1,boxHeight:-1},t}return e=u,n=[{key:"getWithHeight",value:function(t,e){var r=t.props.layout;return"vertical"===r&&(0,et.Et)(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}:null}}],(r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){return this.wrapperNode&&this.wrapperNode.getBoundingClientRect?this.wrapperNode.getBoundingClientRect():null}},{key:"getBBoxSnapshot",value:function(){var t=this.state,e=t.boxWidth,r=t.boxHeight;return e>=0&&r>=0?{width:e,height:r}:null}},{key:"getDefaultPosition",value:function(t){var e,r,n=this.props,o=n.layout,i=n.align,a=n.verticalAlign,c=n.margin,s=n.chartWidth,u=n.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===i&&"vertical"===o?{left:((s||0)-(this.getBBoxSnapshot()||{width:0}).width)/2}:"right"===i?{right:c&&c.right||0}:{left:c&&c.left||0}),t&&(void 0!==t.top&&null!==t.top||void 0!==t.bottom&&null!==t.bottom)||(r="middle"===a?{top:((u||0)-(this.getBBoxSnapshot()||{height:0}).height)/2}:"bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}),ot(ot({},e),r)}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,r=t.boxHeight,n=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var o=this.wrapperNode.getBoundingClientRect();(Math.abs(o.width-e)>1||Math.abs(o.height-r)>1)&&this.setState({boxWidth:o.width,boxHeight:o.height},function(){n&&n(o)})}else-1===e&&-1===r||this.setState({boxWidth:-1,boxHeight:-1},function(){n&&n(null)})}},{key:"render",value:function(){var t=this,e=this.props,r=e.content,n=e.width,i=e.height,a=e.wrapperStyle,s=e.payloadUniqBy,u=e.payload,l=ot(ot({position:"absolute",width:n||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return c.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(e){t.wrapperNode=e}},function(t,e){if(c.isValidElement(t))return c.cloneElement(t,e);if(o()(t))return c.createElement(t,e);e.ref;var r=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(e,["ref"]);return c.createElement(tt,r)}(r,ot(ot({},this.props),{},{payload:lt(s,u)})))}}])&&at(e.prototype,r),n&&at(e,n),u}(c.PureComponent);ft.displayName="Legend",ft.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"}},3766:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},4326:(t,e,r)=>{var n=r(28931),o=r(83417),i=r(82237),a=r(95243);t.exports=function(t){return function(e){e=a(e);var r=o(e)?i(e):void 0,c=r?r[0]:e.charAt(0),s=r?n(r,1).join(""):e.slice(1);return c[t]()+s}}},5485:(t,e,r)=>{var n=r(4326)("toUpperCase");t.exports=n},5681:(t,e,r)=>{var n=r(44700);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},5700:t=>{"use strict";function e(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}t.exports=function(t,r){t.classList?t.classList.remove(r):"string"==typeof t.className?t.className=e(t.className,r):t.setAttribute("class",e(t.className&&t.className.baseVal||"",r))}},7011:(t,e,r)=>
2{var n=r(90988),o=r(62527),i=r(22053);t.exports=function(t){return t&&t.length?n(t,i,o):void 0}},7144:(t,e,r)=>{var n=r(97034);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},7452:(t,e,r)=>{var n=r(97034);t.exports=function(t){return n(this.__data__,t)>-1}},7462:t=>{t.exports=function(t){return this.__data__.has(t)}},8006:t=>{t.exports=function(t){return this.__data__.has(t)}},8138:(t,e,r)=>{var n=r(87379),o=r(53142),i=r(80547);t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&"[object String]"==n(t)}},8666:(t,e,r)=>{var n=r(70674),o=r(49460),i=r(2306),a=i&&i.isTypedArray,c=a?o(a):n;t.exports=c},8870:(t,e,r)=>{var n=r(65650),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,c=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,c),r=t[c];try{t[c]=void 0;var n=!0}catch(t){}var o=a.call(t);return n&&(e?t[c]=r:delete t[c]),o}},10052:(t,e,r)=>{"use strict";r.d(e,{g:()=>he});var n=r(99760),o=r.n(n),i=r(81936),a=r.n(i),c=r(93655),s=r.n(c),u=r(97331),l=r.n(u),f=r(40074),p=r.n(f),h=r(46123),d=r.n(h),y=r(73758),v=r.n(y),m=r(3668),g=r.n(m),b=r(22563),x=r.n(b),w=r(53142),O=r.n(w),_=r(14041),E=r(53373),A=r.n(E),S=r(70820),j=r(65578),k=r(82737),P=r(3733),M=r(96228),C=r(81649),T=r(19773);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},I(t)}function R(){return R=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},R.apply(this,arguments)}function N(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)}}function D(t,e){return D=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},D(t,e)}
2function L(t){return L=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},L(t)}var B=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&D(t,e)}(c,t);var e,r,n,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=L(o);if(i){var r=L(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){return!e||"object"!==I(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,t)});function c(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.apply(this,arguments)}return e=c,n=[{key:"getPath",value:function(t,e,r,n,o,i){return"M".concat(t,",").concat(o,"v").concat(n,"M").concat(i,",").concat(e,"h").concat(r)}}],(r=[{key:"render",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,i=t.top,a=t.left,s=t.className;return(0,C.Et)(e)&&(0,C.Et)(r)&&(0,C.Et)(n)&&(0,C.Et)(o)&&(0,C.Et)(i)&&(0,C.Et)(a)?_.createElement("path",R({},(0,T.J9)(this.props,!0),{className:A()("recharts-cross",s),d:c.getPath(e,r,n,o,i,a)})):null}}])&&N(e.prototype,r),n&&N(e,n),c}(_.PureComponent);B.defaultProps={x:0,y:0,top:0,left:0,width:0,height:0};var z=r(49791);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},F(t)}function W(){return W=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},W.apply(this,arguments)}function U(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)}}function V(t,e){return V=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},V(t,e)}function q(t){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},q(t)}var G=function(t){var e=t.cx,r=t.cy,n=t.radius,o=t.angle,i=t.sign,a=t.isExternal,c=t.cornerRadius,s=t.cornerIsExternal,u=c*(a?1:-1)+n,l=Math.asin(c/u)/z.Kg,f=s?o:o+i*l,p=s?o-i*l:o;return{center:(0,z.IZ)(e,r,u,f),circleTangency:(0,z.IZ)(e,r,n,f),lineTangency:(0,z.IZ)(e,r,u*Math.cos(l*z.Kg),p),theta:l}},H=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.startAngle,a=function(t,e){return(0,C.sA)(e-t)*Math.min(Math.abs(e-t),359.999)}(i,t.endAngle),c=i+a,s=(0,z.IZ)(e,r,o,i),u=(0,z.IZ)(e,r,o,c),l="M ".concat(s.x,",").concat(s.y,"\n A ").concat(o,",").concat(o,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i>c),",\n ").concat(u.x,",").concat(u.y,"\n ");if(n>0){var f=(0,z.IZ)(e,r,n,i),p=(0,z.IZ)(e,r,n,c);l+="L ".concat(p.x,",").concat(p.y,"\n A ").concat(n,",").concat(n,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i<=c),",\n ").concat(f.x,",").concat(f.y," Z")}else l+="L ".concat(e,",").concat(r," Z");return l},X=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&V(t,e)}(a,t);var e,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=q(n);if(o){var r=q(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){return!e||"object"!==F(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,t)});function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.apply(this,arguments)}return e=a,(r=[{key:"render",value:function(){var t=this.props,e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.cornerRadius,a=t.forceCornerRadius,c=t.cornerIsExternal,s=t.startAngle,u=t.endAngle,l=t.className;if(o<n||s===u)return null;var f,p=A()("recharts-sector",l),h=o-n,d=(0,C.F4)(i,h,0,!0);return f=d>0&&Math.abs(s-u)<360?function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.cornerRadius,a=t.forceCornerRadius,c=t.cornerIsExternal,s=t.startAngle,u=t.endAngle,l=(0,C.sA)(u-s),f=G({cx:e,cy:r,radius:o,angle:s,sign:l,cornerRadius:i,cornerIsExternal:c}),p=f.circleTangency,h=f.lineTangency,d=f.theta,y=G({cx:e,cy:r,radius:o,angle:u,sign:-l,cornerRadius:i,cornerIsExternal:c}),v=y.circleTangency,m=y.lineTangency,g=y.theta,b=c?Math.abs(s-u):Math.abs(s-u)-d-g;if(b<0)return a?"M ".concat(h.x,",").concat(h.y,"\n a").concat(i,",").concat(i,",0,0,1,").concat(2*i,",0\n a").concat(i,",").concat(i,",0,0,1,").concat(2*-i,",0\n "):H({cx:e,cy:r,innerRadius:n,outerRadius:o,startAngle:s,endAngle:u});var x="M ".concat(h.x,",").concat(h.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(l<0),",").concat(p.x,",").concat(p.y,"\n A").concat(o,",").concat(o,",0,").concat(+(b>180),",").concat(+(l<0),",").concat(v.x,",").concat(v.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(l<0),",").concat(m.x,",").concat(m.y,"\n ");if(n>0){var w=G({cx:e,cy:r,radius:n,angle:s,sign:l,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),O=w.circleTangency,_=w.lineTangency,E=w.theta,A=G({cx:e,cy:r,radius:n,angle:u,sign:-l,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),S=A.circleTangency,j=A.lineTangency,k=A.theta,P=c?Math.abs(s-u):Math.abs(s-u)-E-k;if(P<0&&0===i)return"".concat(x,"L").concat(e,",").concat(r,"Z");x+="L".concat(j.x,",").concat(j.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(l<0),",").concat(S.x,",").concat(S.y,"\n A").concat(n,",").concat(n,",0,").concat(+(P>180),",").concat(+(l>0),",").concat(O.x,",").concat(O.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(l<0),",").concat(_.x,",").concat(_.y,"Z")}else x+="L".concat(e,",").concat(r,"Z");return x}({cx:e,cy:r,innerRadius:n,outerRadius:o,cornerRadius:Math.min(d,h/2),forceCornerRadius:a,cornerIsExternal:c,startAngle:s,endAngle:u}):H({cx:e,cy:r,innerRadius:n,outerRadius:o,startAngle:s,endAngle:u}),_.createElement("path",W({},(0,T.J9)(this.props,!0),{className:p,d:f}))}}])&&U(e.prototype,r),a}(_.PureComponent);X.defaultProps={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1};var $=r(55634),J=r(92928),K=r(41762),Z=r(20514),Y=r(86115),Q=r(90896),tt=r(94437),et=r(14625);function rt(t){return rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(t)}function nt(){return nt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},nt.apply(this,arguments)}function ot(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 it(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ot(Object(r),!0).forEach(function(e){at(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ot(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function at(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ct(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function st(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)}}function ut(t,e){return ut=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},ut(t,e)}function lt(t){return lt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},lt(t)}var ft=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ut(t,e)}(c,t);var e,r,n,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=lt(o);if(i){var r=lt(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){return!e||"object"!==rt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,t)});function c(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.apply(this,arguments)}return e=c,n=[{key:"getTicks",value:function(t){var e=t.tick,r=t.ticks,n=t.viewBox,o=t.minTickGap,i=t.orientation,a=t.interval,s=t.tickFormatter,u=t.unit;return r&&r.length&&e?(0,C.Et)(a)||et.m.isSsr?c.getNumberIntervalTicks(r,"number"==typeof a&&(0,C.Et)(a)?a:0):"preserveStartEnd"===a?c.getTicksStart({ticks:r,tickFormatter:s,viewBox:n,orientation:i,minTickGap:o,unit:u},!0):"preserveStart"===a?c.getTicksStart({ticks:r,tickFormatter:s,viewBox:n,orientation:i,minTickGap:o,unit:u}):c.getTicksEnd({ticks:r,tickFormatter:s,viewBox:n,orientation:i,minTickGap:o,unit:u}):[]}},{key:"getNumberIntervalTicks",value:function(t,e){return t.filter(function(t,r){return r%(e+1)===0})}},{key:"getTicksStart",value:function(t,e){var r,n,o=t.ticks,i=t.tickFormatter,a=t.viewBox,c=t.orientation,u=t.minTickGap,l=t.unit,f=a.x,p=a.y,h=a.width,d=a.height,y="top"===c||"bottom"===c?"width":"height",v=(o||[]).slice(),m=l&&"width"===y?(0,Y.Pu)(l)[y]:0,g=v.length,b=g>=2?(0,C.sA)(v[1].coordinate-v[0].coordinate):1;if(1===b?(r="width"===y?f:p,n="width"===y?f+h:p+d):(r="width"===y?f+h:p+d,n="width"===y?f:p),e){var x=o[g-1],w=s()(i)?i(x.value,g-1):x.value,O=(0,Y.Pu)(w)[y]+m,_=b*(x.coordinate+b*O/2-n);v[g-1]=x=it(it({},x),{},{tickCoord:_>0?x.coordinate-_*b:x.coordinate}),b*(x.tickCoord-b*O/2-r)>=0&&b*(x.tickCoord+b*O/2-n)<=0&&(n=x.tickCoord-b*(O/2+u),v[g-1]=it(it({},x),{},{isShow:!0}))}for(var E=e?g-1:g,A=0;A<E;A++){var S=v[A],j=s()(i)?i(S.value,A):S.value,k=(0,Y.Pu)(j)[y]+m;if(0===A){var P=b*(S.coordinate-b*k/2-r);v[A]=S=it(it({},S),{},{tickCoord:P<0?S.coordinate-P*b:S.coordinate})}else v[A]=S=it(it({},S),{},{tickCoord:S.coordinate});b*(S.tickCoord-b*k/2-r)>=0&&b*(S.tickCoord+b*k/2-n)<=0&&(r=S.tickCoord+b*(k/2+u),v[A]=it(it({},S),{},{isShow:!0}
2))}return v.filter(function(t){return t.isShow})}},{key:"getTicksEnd",value:function(t){var e,r,n=t.ticks,o=t.tickFormatter,i=t.viewBox,a=t.orientation,c=t.minTickGap,u=t.unit,l=i.x,f=i.y,p=i.width,h=i.height,d="top"===a||"bottom"===a?"width":"height",y=u&&"width"===d?(0,Y.Pu)(u)[d]:0,v=(n||[]).slice(),m=v.length,g=m>=2?(0,C.sA)(v[1].coordinate-v[0].coordinate):1;1===g?(e="width"===d?l:f,r="width"===d?l+p:f+h):(e="width"===d?l+p:f+h,r="width"===d?l:f);for(var b=m-1;b>=0;b--){var x=v[b],w=s()(o)?o(x.value,m-b-1):x.value,O=(0,Y.Pu)(w)[d]+y;if(b===m-1){var _=g*(x.coordinate+g*O/2-r);v[b]=x=it(it({},x),{},{tickCoord:_>0?x.coordinate-_*g:x.coordinate})}else v[b]=x=it(it({},x),{},{tickCoord:x.coordinate});g*(x.tickCoord-g*O/2-e)>=0&&g*(x.tickCoord+g*O/2-r)<=0&&(r=x.tickCoord-g*(O/2+c),v[b]=it(it({},x),{},{isShow:!0}))}return v.filter(function(t){return t.isShow})}},{key:"renderTickItem",value:function(t,e,r){return _.isValidElement(t)?_.cloneElement(t,e):s()(t)?t(e):_.createElement(Q.E,nt({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],(r=[{key:"shouldComponentUpdate",value:function(t){var e=t.viewBox,r=ct(t,["viewBox"]),n=this.props,o=n.viewBox,i=ct(n,["viewBox"]);return!(0,Z.b)(e,o)||!(0,Z.b)(r,i)}},{key:"getTickLineCoord",value:function(t){var e,r,n,o,i,a,c=this.props,s=c.x,u=c.y,l=c.width,f=c.height,p=c.orientation,h=c.tickSize,d=c.mirror,y=c.tickMargin,v=d?-1:1,m=t.tickSize||h,g=(0,C.Et)(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=r=t.coordinate,a=(n=(o=u+ +!d*f)-v*m)-v*y,i=g;break;case"left":n=o=t.coordinate,i=(e=(r=s+ +!d*l)-v*m)-v*y,a=g;break;case"right":n=o=t.coordinate,i=(e=(r=s+ +d*l)+v*m)+v*y,a=g;break;default:e=r=t.coordinate,a=(n=(o=u+ +d*f)+v*m)+v*y,i=g}return{line:{x1:e,y1:n,x2:r,y2:o},tick:{x:i,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,r=e.orientation,n=e.mirror;switch(r){case"left":t=n?"start":"end";break;case"right":t=n?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,r=t.mirror,n="end";switch(e){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,i=t.orientation,a=t.mirror,c=t.axisLine,s=it(it(it({},(0,T.J9)(this.props)),(0,T.J9)(c)),{},{fill:"none"});if("top"===i||"bottom"===i){var u=+("top"===i&&!a||"bottom"===i&&a);s=it(it({},s),{},{x1:e,y1:r+u*o,x2:e+n,y2:r+u*o})}else{var l=+("left"===i&&!a||"right"===i&&a);s=it(it({},s),{},{x1:e+l*n,y1:r,x2:e+l*n,y2:r+o})}return _.createElement("line",nt({},s,{className:A()("recharts-cartesian-axis-line",d()(c,"className"))}))}},{key:"renderTicks",value:function(t){var e=this,r=this.props,n=r.tickLine,o=r.stroke,i=r.tick,a=r.tickFormatter,u=r.unit,l=c.getTicks(it(it({},this.props),{},{ticks:t})),f=this.getTickTextAnchor(),p=this.getTickVerticalAnchor(),h=(0,T.J9)(this.props),y=(0,T.J9)(i),v=it(it({},h),{},{fill:"none"},(0,T.J9)(n)),m=l.map(function(t,r){var m=e.getTickLineCoord(t),g=m.line,b=m.tick,x=it(it(it(it({textAnchor:f,verticalAnchor:p},h),{},{stroke:"none",fill:o},y),b),{},{index:r,payload:t,visibleTicksCount:l.length,tickFormatter:a});return _.createElement(j.W,nt({className:"recharts-cartesian-axis-tick",key:"tick-".concat(r)},(0,T.XC)(e.props,t,r)),n&&_.createElement("line",nt({},v,g,{className:A()("recharts-cartesian-axis-tick-line",d()(n,"className"))})),i&&c.renderTickItem(i,x,"".concat(s()(a)?a(t.value,r):t.value).concat(u||"")))});return _.createElement("g",{className:"recharts-cartesian-axis-ticks"},m)}},{key:"render",value:function(){var t=this.props,e=t.axisLine,r=t.width,n=t.height,o=t.ticksGenerator,i=t.className;if(t.hide)return null;var a=this.props,c=a.ticks,u=ct(a,["ticks"]),l=c;return s()(o)&&(l=c&&c.length>0?o(this.props):o(u)),r<=0||n<=0||!l||!l.length?null:_.createElement(j.W,{className:A()("recharts-cartesian-axis",i)},e&&this.renderAxisLine(),this.renderTicks(l),tt.J.renderCallByParent(this.props))}}])&&st(e.prototype,r),n&&st(e,n),c}(_.Component);
2ft.displayName="CartesianAxis",ft.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 pt=r(57491),ht=r(58972);function dt(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 yt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?dt(Object(r),!0).forEach(function(e){vt(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dt(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function vt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var mt=["Webkit","Moz","O","ms"];function gt(t){return gt="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},gt(t)}function bt(){return bt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},bt.apply(this,arguments)}function xt(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 wt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?xt(Object(r),!0).forEach(function(e){Ot(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xt(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function Ot(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}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,n.key,n)}}function Et(t,e){return Et=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Et(t,e)}function At(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function St(t){return St=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},St(t)}var jt=function(t){return t.changedTouches&&!!t.changedTouches.length},kt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Et(t,e)}(c,t);var e,r,n,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=St(o);if(i){var r=St(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){return!e||"object"!==gt(e)&&"function"!=typeof e?At(t):e}(this,t)});function c(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this,t)).leaveTimer=void 0,e.travellerDragStartHandlers=void 0,e.handleDrag=function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)},e.handleTouchMove=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])},e.handleDragEnd=function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1}),e.detachDragEndListener()},e.handleLeaveWrapper=function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))},e.handleEnterSlideOrTraveller=function(){e.setState({isTextActive:!0})},e.handleLeaveSlideOrTraveller=function(){e.setState({isTextActive:!1})},e.handleSlideDragStart=function(t){var r=jt(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),e.attachDragEndListener()},e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(At(e),"startX"),endX:e.handleTravellerDragStart.bind(At(e),"endX")},e.state={},e}return e=c,n=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,r=t.y,n=t.width,o=t.height,i=t.stroke,a=Math.floor(r+o/2)-1;return _.createElement(_.Fragment,null,_.createElement("rect",{x:e,y:r,width:n,height:o,fill:i,stroke:"none"}),_.createElement("line",{x1:e+1,y1:a,x2:e+n-1,y2:a,fill:"none",stroke:"#fff"}),_.createElement("line",{x1:e+1,y1:a+2,x2:e+n-1,y2:a+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,e){return _.isValidElement(t)?_.cloneElement(t,e):s()(t)?t(e):c.renderDefaultTraveller(e)}},{key:"getDerivedStateFromProps",value:function(t,e){var r=t.data,n=t.width,o=t.x,i=t.travellerWidth,a=t.updateId,c=t.startIndex,s=t.endIndex;if(r!==e.prevData||a!==e.prevUpdateId)return wt({prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n},r&&r.length?function(t){var e=t.data,r=t.startIndex,n=t.endIndex,o=t.x,i=t.width,a=t.travellerWidth;if(!e||!e.length)return{};var c=e.length,s=(0,pt.z)().domain(v()(0,c)).range([o,o+i-a]),u=s.domain().map(function(t){return s(t)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:s(r),endX:s(n),scale:s,scaleValues:u}}({data:r,width:n,x:o,travellerWidth:i,startIndex:c,endIndex:s}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||o!==e.prevX||i!==e.prevTravellerWidth)){e.scale.range([o,o+n-i]);var u=e.scale.domain().map(function(t){return e.scale(t)});return{prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:u}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=0,n=t.length-1;n-r>1;){var o=Math.floor((r+n)/2);t[o]>e?n=o:r=o}return e>=t[n]?n:r}}],(r=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var e=t.startX,r=t.endX,n=this.state.scaleValues,o=this.props,i=o.gap,a=o.data.length-1,s=Math.min(e,r),u=Math.max(e,r),l=c.getIndexInRange(n,s),f=c.getIndexInRange(n,u);return{startIndex:l-l%i,endIndex:f===a?a:f-f%i}}},{key:"getTextOfTick",value:function(t){var e=this.props,r=e.data,n=e.tickFormatter,o=e.dataKey,i=(0,ht.kr)(r[t],o,t);return s()(n)?n(i,t):i}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0)}},{key:"handleSlideDrag",value:function(t){var e=this.state,r=e.slideMoveStartX,n=e.startX,o=e.endX,i=this.props,a=i.x,c=i.width,s=i.travellerWidth,u=i.startIndex,l=i.endIndex,f=i.onChange,p=t.pageX-r;p>0?p=Math.min(p,a+c-s-o,a+c-s-n):p<0&&(p=Math.max(p,a-n,a-o));var h=this.getIndex({startX:n+p,endX:o+p});h.startIndex===u&&h.endIndex===l||!f||f(h),this.setState({startX:n+p,endX:o+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=jt(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e,r=this.state,n=r.brushMoveStartX,o=r.movingTravellerId,i=r.endX,a=r.startX,c=this.state[o],s=this.props,u=s.x,l=s.width,f=s.travellerWidth,p=s.onChange,h=s.gap,d=s.data,y={startX:this.state.startX,endX:this.state.endX},v=t.pageX-n;v>0?v=Math.min(v,u+l-f-c):v<0&&(v=Math.max(v,u-c)),y[o]=c+v;var m=this.getIndex(y),g=m.startIndex,b=m.endIndex;this.setState((Ot(e={},o,c+v),Ot(e,"brushMoveStartX",t.pageX),e),function(){var t;p&&(t=d.length-1,("startX"===o&&(i>a?g%h===0:b%h===0)||i<a&&b===t||"endX"===o&&(i>a?b%h===0:g%h===0)||i>a&&b===t)&&p(m))})}}
2,{key:"renderBackground",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,i=t.fill,a=t.stroke;return _.createElement("rect",{stroke:a,fill:i,x:e,y:r,width:n,height:o})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,i=t.data,a=t.children,c=t.padding,s=_.Children.only(a);return s?_.cloneElement(s,{x:e,y:r,width:n,height:o,margin:c,compact:!0,data:i}):null}},{key:"renderTravellerLayer",value:function(t,e){var r=this.props,n=r.y,o=r.travellerWidth,i=r.height,a=r.traveller,s=Math.max(t,this.props.x),u=wt(wt({},(0,T.J9)(this.props)),{},{x:s,y:n,width:o,height:i});return _.createElement(j.W,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[e],onTouchStart:this.travellerDragStartHandlers[e],style:{cursor:"col-resize"}},c.renderTraveller(a,u))}},{key:"renderSlide",value:function(t,e){var r=this.props,n=r.y,o=r.height,i=r.stroke,a=r.travellerWidth,c=Math.min(t,e)+a,s=Math.max(Math.abs(e-t)-a,0);return _.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:i,fillOpacity:.2,x:c,y:n,width:s,height:o})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,r=t.endIndex,n=t.y,o=t.height,i=t.travellerWidth,a=t.stroke,c=this.state,s=c.startX,u=c.endX,l={pointerEvents:"none",fill:a};return _.createElement(j.W,{className:"recharts-brush-texts"},_.createElement(Q.E,bt({textAnchor:"end",verticalAnchor:"middle",x:Math.min(s,u)-5,y:n+o/2},l),this.getTextOfTick(e)),_.createElement(Q.E,bt({textAnchor:"start",verticalAnchor:"middle",x:Math.max(s,u)+i+5,y:n+o/2},l),this.getTextOfTick(r)))}},{key:"render",value:function(){var t=this.props,e=t.data,r=t.className,n=t.children,o=t.x,i=t.y,a=t.width,c=t.height,s=t.alwaysShowText,u=this.state,l=u.startX,f=u.endX,p=u.isTextActive,h=u.isSlideMoving,d=u.isTravellerMoving;if(!e||!e.length||!(0,C.Et)(o)||!(0,C.Et)(i)||!(0,C.Et)(a)||!(0,C.Et)(c)||a<=0||c<=0)return null;var y,v,m,g,b=A()("recharts-brush",r),x=1===_.Children.count(n),w=(v="none",m=(y="userSelect").replace(/(\w)/,function(t){return t.toUpperCase()}),(g=mt.reduce(function(t,e){return yt(yt({},t),{},vt({},e+m,v))},{}))[y]=v,g);return _.createElement(j.W,{className:b,onMouseMove:this.handleDrag,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:w},this.renderBackground(),x&&this.renderPanorama(),this.renderSlide(l,f),this.renderTravellerLayer(l,"startX"),this.renderTravellerLayer(f,"endX"),(p||h||d||s)&&this.renderText())}}])&&_t(e.prototype,r),n&&_t(e,n),c}(_.PureComponent);kt.displayName="Brush",kt.defaultProps={height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1};var Pt=r(10088),Mt=r(67393),Ct=r(14713),Tt=r(32002),It=r(13157);function Rt(){return Rt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Rt.apply(this,arguments)}function Nt(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 Dt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Nt(Object(r),!0).forEach(function(e){Lt(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Nt(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function Lt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Bt(t){var e=t.x1,r=t.x2,n=t.y1,o=t.y2,i=t.className,a=t.alwaysShow,c=t.clipPathId;(0,It.R)(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var s=(0,C.vh)(e),u=(0,C.vh)(r),l=(0,C.vh)(n),f=(0,C.vh)(o),p=t.shape;if(!(s||u||l||f||p))return null;var h=function(t,e,r,n,o){var i=o.x1,a=o.x2,c=o.y1,s=o.y2,u=o.xAxis,l=o.yAxis;if(!u||!l)return null;var f=(0,Ct.P2)({x:u.scale,y:l.scale}),p={x:t?f.x.apply(i,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(c,{position:"start"}):f.y.rangeMin},h={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(s,{position:"end"}):f.y.rangeMax};return!(0,Tt.R)(o,"discard")||f.isInRange(p)&&f.isInRange(h)?(0,Ct.sl)(p,h):null}(s,u,l,f,t);if(!h&&!p)return null;var d=(0,Tt.R)(t,"hidden")?"url(#".concat(c,")"):void 0;return _.createElement(j.W,{className:A()("recharts-reference-area",i)},Bt.renderRect(p,Dt(Dt({clipPath:d},(0,T.J9)(t,!0)),h)),tt.J.renderCallByParent(t,h))}
2Bt.displayName="ReferenceArea",Bt.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},Bt.renderRect=function(t,e){return _.isValidElement(t)?_.cloneElement(t,e):s()(t)?t(e):_.createElement(J.M,Rt({},e,{className:"recharts-reference-area-rect"}))};var zt=function(t,e,r,n,o){var i=(0,K.aS)(t,Mt.e.displayName),a=(0,K.aS)(t,Pt.r.displayName),c=i.concat(a),s=(0,K.aS)(t,Bt.displayName),u="".concat(n,"Id"),l=n[0],f=e;if(c.length&&(f=c.reduce(function(t,e){if(e.props[u]===r&&(0,Tt.R)(e.props,"extendDomain")&&(0,C.Et)(e.props[l])){var n=e.props[l];return[Math.min(t[0],n),Math.max(t[1],n)]}return t},f)),s.length){var p="".concat(l,"1"),h="".concat(l,"2");f=s.reduce(function(t,e){if(e.props[u]===r&&(0,Tt.R)(e.props,"extendDomain")&&(0,C.Et)(e.props[p])&&(0,C.Et)(e.props[h])){var n=e.props[p],o=e.props[h];return[Math.min(t[0],n,o),Math.max(t[1],n,o)]}return t},f)}return o&&o.length&&(f=o.reduce(function(t,e){return(0,C.Et)(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t},f)),f},Ft=r(28985),Wt=new(r.n(Ft)());Wt.setMaxListeners&&Wt.setMaxListeners(10);var Ut="recharts.syncMouseEvents";function Vt(t){return Vt="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},Vt(t)}function qt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}(t,e)||Yt(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gt(){return Gt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Gt.apply(this,arguments)}function Ht(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function Xt(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)}}function $t(t,e){return $t=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},$t(t,e)}function Jt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kt(t){return Kt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Kt(t)}function Zt(t){return function(t){if(Array.isArray(t))return Qt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Yt(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yt(t,e){if(t){if("string"==typeof t)return Qt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Qt(t,e):void 0}}function Qt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function 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 ee(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?te(Object(r),!0).forEach(function(e){re(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 re(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ne={xAxis:["bottom","top"],yAxis:["left","right"]},oe={x:0,y:0},ie=Number.isFinite?Number.isFinite:isFinite,ae="function"==typeof requestAnimationFrame?requestAnimationFrame:"function"==typeof setImmediate?setImmediate:setTimeout,ce="function"==typeof cancelAnimationFrame?cancelAnimationFrame:"function"==typeof clearImmediate?clearImmediate:clearTimeout,se=function(t,e,r){var n=e.graphicalItems,o=e.dataStartIndex,i=e.dataEndIndex,a=(n||[]).reduce(function(t,e){var r=e.props.data;return r&&r.length?[].concat(Zt(t),Zt(r)):t},[]);return a&&a.length>0?a:r&&r.props&&r.props.data&&r.props.data.length>0?r.props.data:t&&t.length&&(0,C.Et)(o)&&(0,C.Et)(i)?t.slice(o,i+1):[]},ue=function(t,e,r,n){var o=t.graphicalItems,i=t.tooltipAxis,a=se(e,t);return r<0||!o||!o.length||r>=a.length?null:o.reduce(function(t,e){if(e.props.hide)return t;var o,c=e.props.data;if(i.dataKey&&!i.allowDuplicatedCategory){var s=void 0===c?a:c;o=(0,C.eP)(s,i.dataKey,n)}else o=c&&c[r]||a[r];return o?[].concat(Zt(t),[(0,ht.zb)(e,o)]):t},[])},le=function(t,e,r,n){var o=n||{x:t.chartX,y:t.chartY},i=function(t,e){return"horizontal"===e?t.x:"vertical"===e?t.y:"centric"===e?t.angle:t.radius}(o,r),a=t.orderedTooltipTicks,c=t.tooltipAxis,s=t.tooltipTicks,u=(0,ht.gH)(i,a,s,c);if(u>=0&&s){var l=s[u]&&s[u].value,f=ue(t,e,u,l),p=function(t,e,r,n){var o=e.find(function(t){return t&&t.index===r});if(o){if("horizontal"===t)return{x:o.coordinate,y:n.y};if("vertical"===t)return{x:n.x,y:o.coordinate};if("centric"===t){var i=o.coordinate,a=n.radius;return ee(ee(ee({},n),(0,z.IZ)(n.cx,n.cy,a,i)),{},{angle:i,radius:a})}var c=o.coordinate,s=n.angle;return ee(ee(ee({},n),(0,z.IZ)(n.cx,n.cy,c,s)),{},{angle:s,radius:c})}return oe}(r,a,u,o);return{activeTooltipIndex:u,activeLabel:l,activePayload:f,activeCoordinate:p}}return null},fe=function(t){var e=t.children,r=t.defaultShowTooltip,n=(0,K.BU)(e,kt.displayName);return{chartX:0,chartY:0,dataStartIndex:n&&n.props&&n.props.startIndex||
20,dataEndIndex:n&&n.props&&n.props.endIndex||t.data&&t.data.length-1||0,activeTooltipIndex:-1,isTooltipActive:!g()(r)&&r}},pe=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"}},he=function(t){var e,r,n=t.chartName,i=t.GraphicalChild,c=t.defaultTooltipEventType,u=void 0===c?"axis":c,f=t.validateTooltipEventTypes,h=void 0===f?["axis"]:f,y=t.axisComponents,m=t.legendContent,b=t.formatAxisMap,w=t.defaultProps,E=function(t,e){var r=t.props,o=t.dataStartIndex,a=t.dataEndIndex,c=t.updateId;if(!(0,K.Me)({props:r}))return null;var s=r.children,u=r.layout,l=r.stackOffset,f=r.data,h=r.reverseStackOrder,m=pe(u),x=m.numericAxisName,w=m.cateAxisName,O=(0,K.aS)(s,i),_=(0,ht.Mn)(f,O,"".concat(x,"Id"),"".concat(w,"Id"),l,h),E=y.reduce(function(t,e){var n="".concat(e.axisType,"Map");return ee(ee({},t),{},re({},n,function(t,e){var r=e.axisType,n=void 0===r?"xAxis":r,o=e.AxisComp,i=e.graphicalItems,a=e.stackGroups,c=e.dataStartIndex,s=e.dataEndIndex,u=t.children,l="".concat(n,"Id"),f=(0,K.aS)(u,o),p={};return f&&f.length?p=function(t,e){var r=e.axes,n=e.graphicalItems,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,s=e.dataEndIndex,u=t.layout,l=t.children,f=t.stackOffset,p=(0,ht._L)(u,o);return r.reduce(function(e,r){var h=r.props,d=h.type,y=h.dataKey,m=h.allowDataOverflow,b=h.allowDuplicatedCategory,x=h.scale,w=h.ticks,O=r.props[i],_=se(t.data,{graphicalItems:n.filter(function(t){return t.props[i]===O}),dataStartIndex:c,dataEndIndex:s}),E=_.length;if(!e[O]){var A,S,j;if(y){if(A=(0,ht.Ay)(_,y,d),"category"===d&&p){var k=(0,C.CG)(A);b&&k?(S=A,A=v()(0,E)):b||(A=(0,ht.KC)(r.props.domain,A,r).reduce(function(t,e){return t.indexOf(e)>=0?t:[].concat(Zt(t),[e])},[]))}else if("category"===d)A=b?A.filter(function(t){return""!==t&&!g()(t)}):(0,ht.KC)(r.props.domain,A,r).reduce(function(t,e){return t.indexOf(e)>=0||""===e||g()(e)?t:[].concat(Zt(t),[e])},[]);else if("number"===d){var P=(0,ht.A1)(_,n.filter(function(t){return t.props[i]===O&&!t.props.hide}),y,o,u);P&&(A=P)}!p||"number"!==d&&"auto"===x||(j=(0,ht.Ay)(_,y,"category"))}else A=p?v()(0,E):a&&a[O]&&a[O].hasStack&&"number"===d?"expand"===f?[0,1]:(0,ht.Mk)(a[O].stackGroups,c,s):(0,ht.vf)(_,n.filter(function(t){return t.props[i]===O&&!t.props.hide}),d,u,!0);if("number"===d)A=zt(l,A,O,o,w),r.props.domain&&(A=(0,ht.AQ)(r.props.domain,A,m));else if("category"===d&&r.props.domain){var M=r.props.domain;A.every(function(t){return M.indexOf(t)>=0})&&(A=M)}return ee(ee({},e),{},re({},O,ee(ee({},r.props),{},{axisType:o,domain:A,categoricalDomain:j,duplicateDomain:S,originalDomain:r.props.domain,isCategorical:p,layout:u})))}return e},{})}(t,{axes:f,graphicalItems:i,axisType:n,axisIdKey:l,stackGroups:a,dataStartIndex:c,dataEndIndex:s}):i&&i.length&&(p=function(t,e){var r=e.graphicalItems,n=e.Axis,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,s=e.dataEndIndex,u=t.layout,l=t.children,f=se(t.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:s}),p=f.length,h=(0,ht._L)(u,o),y=-1;return r.reduce(function(t,e){var m,g=e.props[i];return t[g]?t:(y++,h?m=v()(0,p):a&&a[g]&&a[g].hasStack?(m=(0,ht.Mk)(a[g].stackGroups,c,s),m=zt(l,m,g,o)):(m=(0,ht.AQ)(n.defaultProps.domain,(0,ht.vf)(f,r.filter(function(t){return t.props[i]===g&&!t.props.hide}),"number",u),n.defaultProps.allowDataOverflow),m=zt(l,m,g,o)),ee(ee({},t),{},re({},g,ee(ee({axisType:o},n.defaultProps),{},{hide:!0,orientation:d()(ne,"".concat(o,".").concat(y%2),null),domain:m,originalDomain:n.defaultProps.domain,isCategorical:h,layout:u}))))},{})}(t,{Axis:o,graphicalItems:i,axisType:n,axisIdKey:l,stackGroups:a,dataStartIndex:c,dataEndIndex:s})),p}(r,ee(ee({},e),{},{graphicalItems:O,stackGroups:e.axisType===x&&_,dataStartIndex:o,dataEndIndex:a}))))},{}),A=function(t,e){var r=t.props,n=t.graphicalItems,o=t.xAxisMap,i=void 0===o?{}:o,a=t.yAxisMap,c=void 0===a?{}:a,s=r.width,u=r.height,l=r.children,f=r.margin||{},p=(0,K.BU)(l,kt.displayName),h=(0,K.BU)(l,P.s.displayName),y=Object.keys(c).reduce(function(t,e){var r=c[e],n=r.orientation;return r.mirror||r.hide?t:ee(ee({},t),{},re({},n,t[n]+r.width))},{left:f.left||0,right:f.right||0}),v=Object.keys(i).reduce(function(t,e){var r=i[e],n=r.orientation;return r.mirror||r.hide?t:ee(ee({},t),{},re({},n,d()(t,"".concat(n))+r.height))},{top:f.top||0,bottom:f.bottom||0}),m=ee(ee({},v),y),g=m.bottom;return p&&(m.bottom+=p.props.height||kt.defaultProps.height),h&&e&&(m=(0,ht.s0)(m,n,r,e)),ee(ee({brushBottom:g},m),{},{width:s-m.left-m.right,height:u-m.top-m.bottom})}(ee(ee({},E),{},{props:r,graphicalItems:O}),null==e?void 0:e.legendBBox);
2Object.keys(E).forEach(function(t){E[t]=b(r,E[t],A,t.replace("Map",""),n)});var S,j,k,M=(S=E["".concat(w,"Map")],j=(0,C.lX)(S),{tooltipTicks:k=(0,ht.Rh)(j,!1,!0),orderedTooltipTicks:p()(k,function(t){return t.coordinate}),tooltipAxis:j,tooltipAxisBandSize:(0,ht.Hj)(j,k)}),T=function(t,e){var r=e.graphicalItems,n=e.stackGroups,o=e.offset,i=e.updateId,a=e.dataStartIndex,c=e.dataEndIndex,s=t.barSize,u=t.layout,l=t.barGap,f=t.barCategoryGap,p=t.maxBarSize,h=pe(u),d=h.numericAxisName,v=h.cateAxisName,m=function(t){return!(!t||!t.length)&&t.some(function(t){var e=(0,K.Mn)(t&&t.type);return e&&e.indexOf("Bar")>=0})}(r),b=m&&(0,ht.tA)({barSize:s,stackGroups:n}),x=[];return r.forEach(function(r,s){var h=se(t.data,{dataStartIndex:a,dataEndIndex:c},r),m=r.props,w=m.dataKey,O=m.maxBarSize,_=r.props["".concat(d,"Id")],E=r.props["".concat(v,"Id")],A=y.reduce(function(t,n){var o,i=e["".concat(n.axisType,"Map")],a=r.props["".concat(n.axisType,"Id")],c=i&&i[a];return ee(ee({},t),{},(re(o={},n.axisType,c),re(o,"".concat(n.axisType,"Ticks"),(0,ht.Rh)(c)),o))},{}),S=A[v],j=A["".concat(v,"Ticks")],k=n&&n[_]&&n[_].hasStack&&(0,ht.kA)(r,n[_].stackGroups),P=(0,K.Mn)(r.type).indexOf("Bar")>=0,M=(0,ht.Hj)(S,j),C=[];if(P){var T,I,R=g()(O)?p:O,N=null!==(T=null!==(I=(0,ht.Hj)(S,j,!0))&&void 0!==I?I:R)&&void 0!==T?T:0;C=(0,ht.BX)({barGap:l,barCategoryGap:f,bandSize:N!==M?N:M,sizeList:b[E],maxBarSize:R}),N!==M&&(C=C.map(function(t){return ee(ee({},t),{},{position:ee(ee({},t.position),{},{offset:t.position.offset-N/2})})}))}var D,L=r&&r.type&&r.type.getComposedData;L&&x.push({props:ee(ee({},L(ee(ee({},A),{},{displayedData:h,props:t,dataKey:w,item:r,bandSize:M,barPosition:C,offset:o,stackedData:k,layout:u,dataStartIndex:a,dataEndIndex:c}))),{},(D={key:r.key||"item-".concat(s)},re(D,d,A[d]),re(D,v,A[v]),re(D,"animationId",i),D)),childIndex:(0,K.AW)(r,t.children),item:r})}),x}(r,ee(ee({},E),{},{dataStartIndex:o,dataEndIndex:a,updateId:c,graphicalItems:O,stackGroups:_,offset:A}));return ee(ee({formattedGraphicalItems:T,graphicalItems:O,offset:A,stackGroups:_},M),E)};return r=e=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$t(t,e)}(p,t);var e,r,i,c,f=(i=p,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=Kt(i);if(c){var r=Kt(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){return!e||"object"!==Vt(e)&&"function"!=typeof e?Jt(t):e}(this,t)});function p(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,p),(e=f.call(this,t)).uniqueChartId=void 0,e.clipPathId=void 0,e.legendInstance=void 0,e.deferId=void 0,e.container=void 0,e.clearDeferId=function(){!g()(e.deferId)&&ce&&ce(e.deferId),e.deferId=null},e.handleLegendBBoxUpdate=function(t){if(t){var r=e.state,n=r.dataStartIndex,o=r.dataEndIndex,i=r.updateId;e.setState(ee({legendBBox:t},E({props:e.props,dataStartIndex:n,dataEndIndex:o,updateId:i},ee(ee({},e.state),{},{legendBBox:t}))))}},e.handleReceiveSyncEvent=function(t,r,n){e.props.syncId===t&&r!==e.uniqueChartId&&(e.clearDeferId(),e.deferId=ae&&ae(e.applySyncEvent.bind(Jt(e),n)))},e.handleBrushChange=function(t){var r=t.startIndex,n=t.endIndex;if(r!==e.state.dataStartIndex||n!==e.state.dataEndIndex){var o=e.state.updateId;e.setState(function(){return ee({dataStartIndex:r,dataEndIndex:n},E({props:e.props,dataStartIndex:r,dataEndIndex:n,updateId:o},e.state))}),e.triggerSyncEvent({dataStartIndex:r,dataEndIndex:n})}},e.handleMouseEnter=function(t){var r=e.props.onMouseEnter,n=e.getMouseInfo(t);if(n){var o=ee(ee({},n),{},{isTooltipActive:!0});e.setState(o),e.triggerSyncEvent(o),s()(r)&&r(o,t)}},e.triggeredAfterMouseMove=function(t){var r=e.props.onMouseMove,n=e.getMouseInfo(t),o=n?ee(ee({},n),{},{isTooltipActive:!0}):{isTooltipActive:!1};e.setState(o),e.triggerSyncEvent(o),s()(r)&&r(o,t)},e.handleItemMouseEnter=function(t){e.setState(function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}})},e.handleItemMouseLeave=function(){e.setState(function(){return{isTooltipActive:!1}})},e.handleMouseMove=function(t){t&&s()(t.persist)&&t.persist(),e.triggeredAfterMouseMove(t)},e.handleMouseLeave=function(t){var r=e.props.onMouseLeave,n={isTooltipActive:!1};e.setState(n),e.triggerSyncEvent(n),s()(r)&&r(n,t),e.cancelThrottledTriggerAfterMouseMove()},e.handleOuterEvent=function(t){var r=(0,K.X_)(t),n=d()(e.props,"".concat(r));r&&s()(n)&&n(/.*touch.*/i.test(r)?e.getMouseInfo(t.changedTouches[0]):e.getMouseInfo(t),t)},e.handleClick=function(t){var r=e.props.onClick,n=e.getMouseInfo(t);if(n){var o=ee(ee({},n),{},{isTooltipActive:!0});e.setState(o),e.triggerSyncEvent(o),s()(r)&&r(o,t)}},e.handleMouseDown=function(t){var r=e.props.onMouseDown;s()(r)&&r(e.getMouseInfo(t),t)},e.handleMouseUp=function(t){var r=e.props.onMouseUp;s()(r)&&r(e.getMouseInfo(t),t)},e.handleTouchMove=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseMove(t.changedTouches[0])},e.handleTouchStart=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseDown(t.changedTouches[0])},e.handleTouchEnd=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseUp(t.changedTouches[0])},e.verticalCoordinatesGenerator=function(t){var e=t.xAxis,r=t.width,n=t.height,o=t.offset;return(0,ht.PW)(ft.getTicks(ee(ee(ee({},ft.defaultProps),e),{}
2,{ticks:(0,ht.Rh)(e,!0),viewBox:{x:0,y:0,width:r,height:n}})),o.left,o.left+o.width)},e.horizontalCoordinatesGenerator=function(t){var e=t.yAxis,r=t.width,n=t.height,o=t.offset;return(0,ht.PW)(ft.getTicks(ee(ee(ee({},ft.defaultProps),e),{},{ticks:(0,ht.Rh)(e,!0),viewBox:{x:0,y:0,width:r,height:n}})),o.top,o.top+o.height)},e.axesTicksGenerator=function(t){return(0,ht.Rh)(t,!0)},e.renderCursor=function(t){var r=e.state,o=r.isTooltipActive,i=r.activeCoordinate,a=r.activePayload,c=r.offset,s=r.activeTooltipIndex,u=e.getTooltipEventType();if(!t||!t.props.cursor||!o||!i||"ScatterChart"!==n&&"axis"!==u)return null;var l,f=e.props.layout,p=M.I;if("ScatterChart"===n)l=i,p=B;else if("BarChart"===n)l=e.getCursorRectangle(),p=J.M;else if("radial"===f){var h=e.getCursorPoints(),d=h.cx,y=h.cy,v=h.radius;l={cx:d,cy:y,startAngle:h.startAngle,endAngle:h.endAngle,innerRadius:v,outerRadius:v},p=X}else l={points:e.getCursorPoints()},p=M.I;var m=t.key||"_recharts-cursor",g=ee(ee(ee(ee({stroke:"#ccc",pointerEvents:"none"},c),l),(0,T.J9)(t.props.cursor)),{},{payload:a,payloadIndex:s,key:m,className:"recharts-tooltip-cursor"});return(0,_.isValidElement)(t.props.cursor)?(0,_.cloneElement)(t.props.cursor,g):(0,_.createElement)(p,g)},e.renderPolarAxis=function(t,r,n){var o=d()(t,"type.axisType"),i=d()(e.state,"".concat(o,"Map"))[t.props["".concat(o,"Id")]];return(0,_.cloneElement)(t,ee(ee({},i),{},{className:o,key:t.key||"".concat(r,"-").concat(n),ticks:(0,ht.Rh)(i,!0)}))},e.renderXAxis=function(t,r,n){var o=e.state.xAxisMap[t.props.xAxisId];return e.renderAxis(o,t,r,n)},e.renderYAxis=function(t,r,n){var o=e.state.yAxisMap[t.props.yAxisId];return e.renderAxis(o,t,r,n)},e.renderGrid=function(t){var r=e.state,n=r.xAxisMap,i=r.yAxisMap,c=r.offset,s=e.props,u=s.width,l=s.height,f=(0,C.lX)(n),p=a()(i,function(t){return o()(t.domain,ie)})||(0,C.lX)(i),h=t.props||{};return(0,_.cloneElement)(t,{key:t.key||"grid",x:(0,C.Et)(h.x)?h.x:c.left,y:(0,C.Et)(h.y)?h.y:c.top,width:(0,C.Et)(h.width)?h.width:c.width,height:(0,C.Et)(h.height)?h.height:c.height,xAxis:f,yAxis:p,offset:c,chartWidth:u,chartHeight:l,verticalCoordinatesGenerator:h.verticalCoordinatesGenerator||e.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:h.horizontalCoordinatesGenerator||e.horizontalCoordinatesGenerator})},e.renderPolarGrid=function(t){var r=t.props,n=r.radialLines,o=r.polarAngles,i=r.polarRadius,a=e.state,c=a.radiusAxisMap,s=a.angleAxisMap,u=(0,C.lX)(c),l=(0,C.lX)(s),f=l.cx,p=l.cy,h=l.innerRadius,d=l.outerRadius;return(0,_.cloneElement)(t,{polarAngles:O()(o)?o:(0,ht.Rh)(l,!0).map(function(t){return t.coordinate}),polarRadius:O()(i)?i:(0,ht.Rh)(u,!0).map(function(t){return t.coordinate}),cx:f,cy:p,innerRadius:h,outerRadius:d,key:t.key||"polar-grid",radialLines:n})},e.renderLegend=function(){var t=e.state.formattedGraphicalItems,r=e.props,n=r.children,o=r.width,i=r.height,a=e.props.margin||{},c=o-(a.left||0)-(a.right||0),s=(0,ht.g1)({children:n,formattedGraphicalItems:t,legendWidth:c,legendContent:m});if(!s)return null;var u=s.item,l=Ht(s,["item"]);return(0,_.cloneElement)(u,ee(ee({},l),{},{chartWidth:o,chartHeight:i,margin:a,ref:function(t){e.legendInstance=t},onBBoxUpdate:e.handleLegendBBoxUpdate}))},e.renderTooltip=function(){var t=e.props.children,r=(0,K.BU)(t,k.m.displayName);if(!r)return null;var n=e.state,o=n.isTooltipActive,i=n.activeCoordinate,a=n.activePayload,c=n.activeLabel,s=n.offset;return(0,_.cloneElement)(r,{viewBox:ee(ee({},s),{},{x:s.left,y:s.top}),active:o,label:c,payload:o?a:[],coordinate:i})},e.renderBrush=function(t){var r=e.props,n=r.margin,o=r.data,i=e.state,a=i.offset,c=i.dataStartIndex,s=i.dataEndIndex,u=i.updateId;return(0,_.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:(0,ht.HQ)(e.handleBrushChange,null,t.props.onChange),data:o,x:(0,C.Et)(t.props.x)?t.props.x:a.left,y:(0,C.Et)(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(n.bottom||0),width:(0,C.Et)(t.props.width)?t.props.width:a.width,startIndex:c,endIndex:s,updateId:"brush-".concat(u)})},e.renderReferenceElement=function(t,r,n){if(!t)return null;var o=Jt(e).clipPathId,i=e.state,a=i.xAxisMap,c=i.yAxisMap,s=i.offset,u=t.props,l=u.xAxisId,f=u.yAxisId;return(0,_.cloneElement)(t,{key:t.key||"".concat(r,"-").concat(n),xAxis:a[l],yAxis:c[f],viewBox:{x:s.left,y:s.top,width:s.width,height:s.height},clipPathId:o})},e.renderActivePoints=function(t){var e=t.item,r=t.activePoint,n=t.basePoint,o=t.childIndex,i=t.isRange,a=[],c=e.props.key,s=e.item.props,u=s.activeDot,l=ee(ee({index:o,dataKey:s.dataKey,cx:r.x,cy:r.y,r:4,fill:(0,ht.Ps)(e.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value,key:"".concat(c,"-activePoint-").concat(o)},(0,T.J9)(u)),(0,T._U)(u));return a.push(p.renderActiveDot(u,l)),n?a.push(p.renderActiveDot(u,ee(ee({},l),{},{cx:n.x,cy:n.y,key:"".concat(c,"-basePoint-").concat(o)}))):i&&a.push(null),a},e.renderGraphicChild=function(t,r,n){var o=e.filterFormatItem(t,r,n);if(!o)return null;var i=e.getTooltipEventType(),a=e.state,c=a.isTooltipActive,s=a.tooltipAxis,u=a.activeTooltipIndex,l=a.activeLabel,f=e.props.children,p=(0,K.BU)(f,k.m.displayName),h=o.props,d=h.points,y=h.isRange,v=h.baseLine,m=o.item.props,b=m.activeDot,x=!m.hide&&c&&p&&b&&u>=0,w={};"axis"!==i&&p&&"click"===p.props.trigger?w={onClick:(0,ht.HQ)(e.handleItemMouseEnter,null,t.props.onCLick)}:"axis"!==i&&(w={onMouseLeave:(0,ht.HQ)(e.handleItemMouseLeave,null,t.props.onMouseLeave),onMouseEnter:(0,ht.HQ)(e.handleItemMouseEnter,null,t.props.onMouseEnter)});var O=(0,_.cloneElement)(t,ee(ee({},o.props),w));if(x){var E,A;if(s.dataKey&&!s.allowDuplicatedCategory){var S="function"==typeof s.dataKey?function(t){return"function"==typeof s.dataKey?s.dataKey(t.payload):null}:"payload.".concat(s.dataKey.toString());E=(0,C.eP)(d,S,l),A=y&&v&&(0,C.eP)(v,S,l)}else E=d[u],A=y&&v&&v[u];
2if(!g()(E))return[O].concat(Zt(e.renderActivePoints({item:o,activePoint:E,basePoint:A,childIndex:u,isRange:y})))}return y?[O,null,null]:[O,null]},e.renderCustomized=function(t,r,n){return(0,_.cloneElement)(t,ee(ee({key:"recharts-customized-".concat(n)},e.props),e.state))},e.uniqueChartId=g()(t.id)?(0,C.NF)("recharts"):t.id,e.clipPathId="".concat(e.uniqueChartId,"-clip"),t.throttleDelay&&(e.triggeredAfterMouseMove=l()(e.triggeredAfterMouseMove,t.throttleDelay)),e.state={},e}return e=p,(r=[{key:"componentDidMount",value:function(){g()(this.props.syncId)||this.addListener()}},{key:"componentDidUpdate",value:function(t){g()(t.syncId)&&!g()(this.props.syncId)&&this.addListener(),!g()(t.syncId)&&g()(this.props.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){this.clearDeferId(),g()(this.props.syncId)||this.removeListener(),this.cancelThrottledTriggerAfterMouseMove()}},{key:"cancelThrottledTriggerAfterMouseMove",value:function(){"function"==typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=(0,K.BU)(this.props.children,k.m.displayName);if(t&&x()(t.props.shared)){var e=t.props.shared?"axis":"item";return h.indexOf(e)>=0?e:u}return u}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=(0,Y.A3)(this.container),r=(0,Y.Xk)(t,e),n=this.inRange(r.chartX,r.chartY);if(!n)return null;var o=this.state,i=o.xAxisMap,a=o.yAxisMap;if("axis"!==this.getTooltipEventType()&&i&&a){var c=(0,C.lX)(i).scale,s=(0,C.lX)(a).scale,u=c&&c.invert?c.invert(r.chartX):null,l=s&&s.invert?s.invert(r.chartY):null;return ee(ee({},r),{},{xValue:u,yValue:l})}var f=le(this.state,this.props.data,this.props.layout,n);return f?ee(ee({},r),f):null}},{key:"getCursorRectangle",value:function(){var t=this.props.layout,e=this.state,r=e.activeCoordinate,n=e.offset,o=e.tooltipAxisBandSize,i=o/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===t?r.x-i:n.left+.5,y:"horizontal"===t?n.top+.5:r.y-i,width:"horizontal"===t?o:n.width-1,height:"horizontal"===t?n.height-1:o}}},{key:"getCursorPoints",value:function(){var t,e,r,n,o=this.props.layout,i=this.state,a=i.activeCoordinate,c=i.offset;if("horizontal"===o)r=t=a.x,e=c.top,n=c.top+c.height;else if("vertical"===o)n=e=a.y,t=c.left,r=c.left+c.width;else if(!g()(a.cx)||!g()(a.cy)){if("centric"!==o){var s=a.cx,u=a.cy,l=a.radius,f=a.startAngle,p=a.endAngle;return{points:[(0,z.IZ)(s,u,l,f),(0,z.IZ)(s,u,l,p)],cx:s,cy:u,radius:l,startAngle:f,endAngle:p}}var h=a.cx,d=a.cy,y=a.innerRadius,v=a.outerRadius,m=a.angle,b=(0,z.IZ)(h,d,y,m),x=(0,z.IZ)(h,d,v,m);t=b.x,e=b.y,r=x.x,n=x.y}return[{x:t,y:e},{x:r,y:n}]}},{key:"inRange",value:function(t,e){var r=this.props.layout;if("horizontal"===r||"vertical"===r){var n=this.state.offset;return t>=n.left&&t<=n.left+n.width&&e>=n.top&&e<=n.top+n.height?{x:t,y:e}:null}var o=this.state,i=o.angleAxisMap,a=o.radiusAxisMap;if(i&&a){var c=(0,C.lX)(i);return(0,z.yy)({x:t,y:e},c)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=(0,K.BU)(t,k.m.displayName),n={};return r&&"axis"===e&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),ee(ee({},(0,T._U)(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){Wt.on(Ut,this.handleReceiveSyncEvent),Wt.setMaxListeners&&Wt._maxListeners&&Wt.setMaxListeners(Wt._maxListeners+1)}},{key:"removeListener",value:function(){Wt.removeListener(Ut,this.handleReceiveSyncEvent),Wt.setMaxListeners&&Wt._maxListeners&&Wt.setMaxListeners(Wt._maxListeners-1)}},{key:"triggerSyncEvent",value:function(t){var e=this.props.syncId;g()(e)||Wt.emit(Ut,e,this.uniqueChartId,t)}},{key:"applySyncEvent",value:function(t){var e=this.props,r=e.layout,n=e.syncMethod,o=this.state.updateId,i=t.dataStartIndex,a=t.dataEndIndex;if(g()(t.dataStartIndex)&&g()(t.dataEndIndex))if(g()(t.activeTooltipIndex))this.setState(t);else{var c=t.chartX,s=t.chartY,u=t.activeTooltipIndex,l=this.state,f=l.offset,p=l.tooltipTicks;if(!f)return;if("function"==typeof n)u=n(p,t);else if("value"===n){u=-1;for(var h=0;h<p.length;h++)if(p[h].value===t.activeLabel){u=h;break}}var d=ee(ee({},f),{},{x:f.left,y:f.top}),y=Math.min(c,d.x+d.width),v=Math.min(s,d.y+d.height),m=p[u]&&p[u].value,b=ue(this.state,this.props.data,u),x=p[u]?{x:"horizontal"===r?p[u].coordinate:y,y:"horizontal"===r?v:p[u].coordinate}:oe;this.setState(ee(ee({},t),{},{activeLabel:m,activeCoordinate:x,activePayload:b,activeTooltipIndex:u}))}else this.setState(ee({dataStartIndex:i,dataEndIndex:a},E({props:this.props,dataStartIndex:i,dataEndIndex:a,updateId:o},this.state)))}},{key:"filterFormatItem",value:function(t,e,r){for(var n=this.state.formattedGraphicalItems,o=0,i=n.length;o<i;o++){var a=n[o];if(a.item===t||a.props.key===t.key||e===(0,K.Mn)(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderAxis",value:function(t,e,r,n){var o=this.props,i=o.width,a=o.height;return _.createElement(ft,Gt({},t,{className:"recharts-".concat(t.axisType," ").concat(t.axisType),key:e.key||"".concat(r,"-").concat(n),viewB
2ox:{x:0,y:0,width:i,height:a},ticksGenerator:this.axesTicksGenerator}))}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,r=e.left,n=e.top,o=e.height,i=e.width;return _.createElement("defs",null,_.createElement("clipPath",{id:t},_.createElement("rect",{x:r,y:n,height:o,width:i})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=qt(e,2),n=r[0],o=r[1];return ee(ee({},t),{},re({},n,o.scale))},{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=qt(e,2),n=r[0],o=r[1];return ee(ee({},t),{},re({},n,o.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(t){var e,r;return null===(e=this.state.xAxisMap)||void 0===e||null===(r=e[t])||void 0===r?void 0:r.scale}},{key:"getYScaleByAxisId",value:function(t){var e,r;return null===(e=this.state.yAxisMap)||void 0===e||null===(r=e[t])||void 0===r?void 0:r.scale}},{key:"getItemByXY",value:function(t){var e=this.state.formattedGraphicalItems;if(e&&e.length)for(var r=0,n=e.length;r<n;r++){var o=e[r],i=o.props,a=o.item,c=(0,K.Mn)(a.type);if("Bar"===c){var s=(i.data||[]).find(function(e){return(0,J.J)(t,e)});if(s)return{graphicalItem:o,payload:s}}else if("RadialBar"===c){var u=(i.data||[]).find(function(e){return(0,z.yy)(t,e)});if(u)return{graphicalItem:o,payload:u}}}return null}},{key:"render",value:function(){var t=this;if(!(0,K.Me)(this))return null;var e=this.props,r=e.children,n=e.className,o=e.width,i=e.height,a=e.style,c=e.compact,s=Ht(e,["children","className","width","height","style","compact"]),u=(0,T.J9)(s),l={CartesianGrid:{handler:this.renderGrid,once:!0},ReferenceArea:{handler:this.renderReferenceElement},ReferenceLine:{handler:this.renderReferenceElement},ReferenceDot:{handler:this.renderReferenceElement},XAxis:{handler:this.renderXAxis},YAxis:{handler:this.renderYAxis},Brush:{handler:this.renderBrush,once:!0},Bar:{handler:this.renderGraphicChild},Line:{handler:this.renderGraphicChild},Area:{handler:this.renderGraphicChild},Radar:{handler:this.renderGraphicChild},RadialBar:{handler:this.renderGraphicChild},Scatter:{handler:this.renderGraphicChild},Pie:{handler:this.renderGraphicChild},Funnel:{handler:this.renderGraphicChild},Tooltip:{handler:this.renderCursor,once:!0},PolarGrid:{handler:this.renderPolarGrid,once:!0},PolarAngleAxis:{handler:this.renderPolarAxis},PolarRadiusAxis:{handler:this.renderPolarAxis},Customized:{handler:this.renderCustomized}};if(c)return _.createElement(S.u,Gt({},u,{width:o,height:i}),this.renderClipPath(),(0,K.ee)(r,l));var f=this.parseEventsOfWrapper();return _.createElement("div",Gt({className:A()("recharts-wrapper",n),style:ee({position:"relative",cursor:"default",width:o,height:i},a)},f,{ref:function(e){t.container=e}}),_.createElement(S.u,Gt({},u,{width:o,height:i}),this.renderClipPath(),(0,K.ee)(r,l)),this.renderLegend(),this.renderTooltip())}}])&&Xt(e.prototype,r),p}(_.Component),e.displayName=n,e.defaultProps=ee({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},w),e.getDerivedStateFromProps=function(t,e){var r=t.data,n=t.children,o=t.width,i=t.height,a=t.layout,c=t.stackOffset,s=t.margin;if(g()(e.updateId)){var u=fe(t);return ee(ee(ee({},u),{},{updateId:0},E(ee(ee({props:t},u),{},{updateId:0}),e)),{},{prevData:r,prevWidth:o,prevHeight:i,prevLayout:a,prevStackOffset:c,prevMargin:s,prevChildren:n})}if(r!==e.prevData||o!==e.prevWidth||i!==e.prevHeight||a!==e.prevLayout||c!==e.prevStackOffset||!(0,Z.b)(s,e.prevMargin)){var l=fe(t),f={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive}
2,p=ee(ee({},le(e,r,a)),{},{updateId:e.updateId+1}),h=ee(ee(ee({},l),f),p);return ee(ee(ee({},h),E(ee({props:t},h),e)),{},{prevData:r,prevWidth:o,prevHeight:i,prevLayout:a,prevStackOffset:c,prevMargin:s,prevChildren:n})}if(!(0,K.OV)(n,e.prevChildren)){var d=g()(r)?e.updateId+1:e.updateId;return ee(ee({updateId:d},E(ee(ee({props:t},e),{},{updateId:d}),e)),{},{prevChildren:n})}return null},e.renderActiveDot=function(t,e){var r;return r=(0,_.isValidElement)(t)?(0,_.cloneElement)(t,e):s()(t)?t(e):_.createElement($.c,e),_.createElement(j.W,{className:"recharts-active-dot",key:e.key},r)},r}},10088:(t,e,r)=>{"use strict";r.d(e,{r:()=>w});var n=r(93655),o=r.n(n),i=r(14041),a=r(53373),c=r.n(a),s=r(65578),u=r(55634),l=r(94437),f=r(81649),p=r(32002),h=r(14713),d=r(13157),y=r(19773);function v(){return v=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},v.apply(this,arguments)}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 g(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?m(Object(r),!0).forEach(function(e){b(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 b(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var x=function(t){var e=t.x,r=t.y,n=t.xAxis,o=t.yAxis,i=(0,h.P2)({x:n.scale,y:o.scale}),a=i.apply({x:e,y:r},{bandAware:!0});return(0,p.R)(t,"discard")&&!i.isInRange(a)?null:a};function w(t){var e=t.x,r=t.y,n=t.r,o=t.alwaysShow,a=t.clipPathId,u=(0,f.vh)(e),h=(0,f.vh)(r);if((0,d.R)(void 0===o,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!u||!h)return null;var v=x(t);if(!v)return null;var m=v.x,b=v.y,O=t.shape,_=t.className,E=g(g({clipPath:(0,p.R)(t,"hidden")?"url(#".concat(a,")"):void 0},(0,y.J9)(t,!0)),{},{cx:m,cy:b});return i.createElement(s.W,{className:c()("recharts-reference-dot",_)},w.renderDot(O,E),l.J.renderCallByParent(t,{x:m-n,y:b-n,width:2*n,height:2*n}))}w.displayName="ReferenceDot",w.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},w.renderDot=function(t,e){return i.isValidElement(t)?i.cloneElement(t,e):o()(t)?t(e):i.createElement(u.c,v({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))}},10358:(t,e,r)=>{var n=r(26137),o=r(3283),i=r(53142),a=r(75853),c=r(69632),s=r(8666),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),l=!r&&o(t),f=!r&&!l&&a(t),p=!r&&!l&&!f&&s(t),h=r||l||f||p,d=h?n(t.length,String):[],y=d.length;for(var v in t)!e&&!u.call(t,v)||h&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,y))||d.push(v);return d}},11112:(t,e,r)=>{var n=r(94497),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},12343:(t,e,r)=>{var n=r(94687),o=r(46123),i=r(27276),a=r(65187),c=r(89648),s=r(23904),u=r(66040);t.exports=function(t,e){return a(t)&&c(e)?s(u(t),e):function(r){var a=o(r,t);return void 0===a&&a===e?i(r,t):n(e,a,3)}}},12393:t=>{t.exports=function(){this.__data__=[],this.size=0}},12762:t=>{t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},12784:(t,e,r)=>{var n=r(41580),o=r(94495),i=r(28512),a=Math.max,c=Math.min;t.exports=function(t,e,r){var s,u,l,f,p,h,d=0,y=!1,v=!1,m=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var r=s,n=u;return s=u=void 0,d=e,f=t.apply(n,r)}function b(t){var r=t-h;return void 0===h||r>=e||r<0||v&&t-d>=l}function x(){var t=o();if(b(t))return w(t);p=setTimeout(x,function(t){var r=e-(t-h);
2return v?c(r,l-(t-d)):r}(t))}function w(t){return p=void 0,m&&s?g(t):(s=u=void 0,f)}function O(){var t=o(),r=b(t);if(s=arguments,u=this,h=t,r){if(void 0===p)return function(t){return d=t,p=setTimeout(x,e),y?g(t):f}(h);if(v)return clearTimeout(p),p=setTimeout(x,e),g(h)}return void 0===p&&(p=setTimeout(x,e)),f}return e=i(e)||0,n(r)&&(y=!!r.leading,l=(v="maxWait"in r)?a(i(r.maxWait)||0,e):l,m="trailing"in r?!!r.trailing:m),O.cancel=function(){void 0!==p&&clearTimeout(p),d=0,s=h=u=p=void 0},O.flush=function(){return void 0===p?f:w(o())},O}},13157:(t,e,r)=>{"use strict";r.d(e,{R:()=>n});var n=function(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o]}},13964:(t,e,r)=>{var n=r(97034);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},14394:t=>{var e="\\ud800-\\udfff",r="["+e+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+e+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+o+")?",u="[\\ufe0e\\ufe0f]?",l=u+s+"(?:\\u200d(?:"+[i,a,c].join("|")+")"+u+s+")*",f="(?:"+[i+n+"?",n,a,c,r].join("|")+")",p=RegExp(o+"(?="+o+")|"+f+l,"g");t.exports=function(t){return t.match(p)||[]}},14625:(t,e,r)=>{"use strict";r.d(e,{m:()=>n});var n={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return n[t]},set:function(t,e){if("string"==typeof t)n[t]=e;else{var r=Object.keys(t);r&&r.length&&r.forEach(function(e){n[e]=t[e]})}}}},14713:(t,e,r)=>{"use strict";r.d(e,{P2:()=>g,pr:()=>d,sl:()=>y,vh:()=>v});var n=r(99760),o=r.n(n),i=r(46155),a=r.n(i),c=r(58972),s=r(41762),u=r(81649);function l(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)}}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){h(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 h(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var d=function(t,e,r,n,o){var i=t.width,a=t.height,l=t.layout,f=t.children,d=Object.keys(e),y={left:r.left,leftMirror:r.left,right:i-r.right,rightMirror:i-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},v=!!(0,s.BU)(f,"Bar");return d.reduce(function(i,a){var s,f,d,m,g,b=e[a],x=b.orientation,w=b.domain,O=b.padding,_=void 0===O?{}:O,E=b.mirror,A=b.reversed,S="".concat(x).concat(E?"Mirror":"");if("number"===b.type&&("gap"===b.padding||"no-gap"===b.padding)){var j=w[1]-w[0],k=1/0,P=b.categoricalDomain.sort();P.forEach(function(t,e){e>0&&(k=Math.min((t||0)-(P[e-1]||0),k))});var M=k/j,C="vertical"===b.layout?r.height:r.width;if("gap"===b.padding&&(s=M*C/2),"no-gap"===b.padding){var T=(0,u.F4)(t.barCategoryGap,M*C),I=M*C/2;s=I-T-(I-T)/C*T}}f="xAxis"===n?[r.left+(_.left||0)+(s||0),r.left+r.width-(_.right||0)-(s||0)]:"yAxis"===n?"horizontal"===l?[r.top+r.height-(_.bottom||0),r.top+(_.top||0)]:[r.top+(_.top||0)+(s||0),r.top+r.height-(_.bottom||0)-(s||0)]:b.range,A&&(f=[f[1],f[0]]);var R=(0,c.W7)(b,o,v),N=R.scale,D=R.realScaleType;N.domain(w).range(f),(0,c.YB)(N);var L=(0,c.w7)(N,p(p({},b),{},{realScaleType:D}));"xAxis"===n?(g="top"===x&&!E||"bottom"===x&&E,d=r.left,m=y[S]-g*b.height):"yAxis"===n&&(g="left"===x&&!E||"right"===x&&E,d=y[S]-g*b.width,m=r.top);var B=p(p(p({},b),L),{},{realScaleType:D,x:d,y:m,scale:N,width:"xAxis"===n?r.width:b.width,height:"yAxis"===n?r.height:b.height});return B.bandSize=(0,c.Hj)(B,L),b.hide||"xAxis"!==n?b.hide||(y[S]+=(g?-1:1)*B.width):y[S]+=(g?-1:1)*B.height,p(p({},i),{},h({},a,B))},{})},y=function(t,e){var r=t.x,n=t.y,o=e.x,i=e.y;return{x:Math.min(r,o),y:Math.min(n,i),width:Math.abs(o-r),height:Math.abs(i-n)}},v=function(t){var e=t.x1,r=t.y1,n=t.x2,o=t.y2;return y({x:e,y:r},{x:n,y:o})},m=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scale=void 0,this.scale=e}var e,r,n;return e=t,r=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.bandAware,n=e.position;if(void 0!==t){if(n)switch(n){case"start":default:return this.scale(t);case"middle":var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(t)+i}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),r=e[0],n=e[e.length-1];return r<=n?t>=r&&t<=n:t>=n&&t<=r}}],n=[{key:"create",value:function(e){return new t(e)}}],r&&l(e.prototype,r),n&&l(e,n),t}();m.EPS=1e-4;var g=function(t){var e=Object.keys(t).reduce(function(e,r){return p(p({},e),{},h({},r,m.create(t[r])))},{});return p(p({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,o=r.position;return a()(t,function(t,r){return e[r].apply(t,{bandAware:n,position:o})})},isInRange:function(t){return o()(t,function(t,r){return e[r].isInRange(t)}
2)}})}},14782:(t,e,r)=>{"use strict";e.__esModule=!0,e.default=e.EXITING=e.ENTERED=e.ENTERING=e.EXITED=e.UNMOUNTED=void 0;var n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};n.get||n.set?Object.defineProperty(e,r,n):e[r]=t[r]}return e.default=t,e}(r(39067)),o=c(r(14041)),i=c(r(43144)),a=r(90146);function c(t){return t&&t.__esModule?t:{default:t}}r(99293);var s="unmounted";e.UNMOUNTED=s;var u="exited";e.EXITED=u;var l="entering";e.ENTERING=l;var f="entered";e.ENTERED=f;var p="exiting";e.EXITING=p;var h=function(t){var e,r;function n(e,r){var n;n=t.call(this,e,r)||this;var o,i=r.transitionGroup,a=i&&!i.isMounting?e.enter:e.appear;return n.appearStatus=null,e.in?a?(o=u,n.appearStatus=l):o=f:o=e.unmountOnExit||e.mountOnEnter?s:u,n.state={status:o},n.nextCallback=null,n}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var a=n.prototype;return a.getChildContext=function(){return{transitionGroup:null}},n.getDerivedStateFromProps=function(t,e){return t.in&&e.status===s?{status:u}:null},a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(t){var e=null;if(t!==this.props){var r=this.state.status;this.props.in?r!==l&&r!==f&&(e=l):r!==l&&r!==f||(e=p)}this.updateStatus(!1,e)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var t,e,r,n=this.props.timeout;return t=e=r=n,null!=n&&"number"!=typeof n&&(t=n.exit,e=n.enter,r=void 0!==n.appear?n.appear:e),{exit:t,enter:e,appear:r}},a.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e){this.cancelNextCallback();var r=i.default.findDOMNode(this);e===l?this.performEnter(r,t):this.performExit(r)}else this.props.unmountOnExit&&this.state.status===u&&this.setState({status:s})},a.performEnter=function(t,e){var r=this,n=this.props.enter,o=this.context.transitionGroup?this.context.transitionGroup.isMounting:e,i=this.getTimeouts(),a=o?i.appear:i.enter;e||n?(this.props.onEnter(t,o),this.safeSetState({status:l},function(){r.props.onEntering(t,o),r.onTransitionEnd(t,a,function(){r.safeSetState({status:f},function(){r.props.onEntered(t,o)})})})):this.safeSetState({status:f},function(){r.props.onEntered(t)})},a.performExit=function(t){var e=this,r=this.props.exit,n=this.getTimeouts();r?(this.props.onExit(t),this.safeSetState({status:p},function(){e.props.onExiting(t),e.onTransitionEnd(t,n.exit,function(){e.safeSetState({status:u},function(){e.props.onExited(t)})})})):this.safeSetState({status:u},function(){e.props.onExited(t)})},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},a.setNextCallback=function(t){var e=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,e.nextCallback=null,t(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},a.onTransitionEnd=function(t,e,r){this.setNextCallback(r);var n=null==e&&!this.props.addEndListener;t&&!n?(this.props.addEndListener&&this.props.addEndListener(t,this.nextCallback),null!=e&&setTimeout(this.nextCallback,e)):setTimeout(this.nextCallback,0)},a.render=function(){var t=this.state.status;if(t===s)return null;var e=this.props,r=e.children,n=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(e,["children"]);if(delete n.in,delete n.mountOnEnter,delete n.unmountOnExit,delete n.appear,delete n.enter,delete n.exit,delete n.timeout,delete n.addEndListener,delete n.onEnter,delete n.onEntering,delete n.onEntered,delete n.onExit,delete n.onExiting,delete n.onExited,"function"==typeof r)return r(t,n);var i=o.default.Children.only(r);return o.default.cloneElement(i,n)},n}(o.default.Component);function d(){}h.contextTypes={transitionGroup:n.object},h.childContextTypes={transitionGroup:function(){}},h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter
vendor: 4,474 bytes, line 2
2:!0,exit:!0,onEnter:d,onEntering:d,onEntered:d,onExit:d,onExiting:d,onExited:d},h.UNMOUNTED=0,h.EXITED=1,h.ENTERING=2,h.ENTERED=3,h.EXITING=4;var y=(0,a.polyfill)(h);e.default=y},15630:(t,e,r)=>{var n=r(23212),o=r(59756),i=r(43316),a=r(65568),c=r(36208),s=r(49828);t.exports=function(t,e,r){var u=-1,l=o,f=t.length,p=!0,h=[],d=h;if(r)p=!1,l=i;else if(f>=200){var y=e?null:c(t);if(y)return s(y);p=!1,l=a,d=new n}else d=e?[]:h;t:for(;++u<f;){var v=t[u],m=e?e(v):v;if(v=r||0!==v?v:0,p&&m==m){for(var g=d.length;g--;)if(d[g]===m)continue t;e&&d.push(m),h.push(v)}else l(d,m,r)||(d!==h&&d.push(m),h.push(v))}return h}},17760:function(t,e,r){var n;!function(){"use strict";var o,i=1e9,a={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},c=!0,s="[DecimalError] ",u=s+"Invalid argument: ",l=s+"Exponent out of range: ",f=Math.floor,p=Math.pow,h=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,d=1e7,y=f(1286742750677284.5),v={};function m(t,e){var r,n,o,i,a,s,u,l,f=t.constructor,p=f.precision;if(!t.s||!e.s)return e.s||(e=new f(t)),c?j(e,p):e;if(u=t.d,l=e.d,a=t.e,o=e.e,u=u.slice(),i=a-o){for(i<0?(n=u,i=-i,s=l.length):(n=l,o=a,s=u.length),i>(s=(a=Math.ceil(p/7))>s?a+1:s+1)&&(i=s,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((s=u.length)-(i=l.length)<0&&(i=s,n=l,l=u,u=n),r=0;i;)r=(u[--i]=u[i]+l[i]+r)/d|0,u[i]%=d;for(r&&(u.unshift(r),++o),s=u.length;0==u[--s];)u.pop();return e.d=u,e.e=o,c?j(e,p):e}function g(t,e,r){if(t!==~~t||t<e||t>r)throw Error(u+t)}function b(t){var e,r,n,o=t.length-1,i="",a=t[0];if(o>0){for(i+=a,e=1;e<o;e++)(r=7-(n=t[e]+"").length)&&(i+=E(r)),i+=n;(r=7-(n=(a=t[e])+"").length)&&(i+=E(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return i+a}v.absoluteValue=v.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},v.comparedTo=v.cmp=function(t){var e,r,n,o,i=this;if(t=new i.constructor(t),i.s!==t.s)return i.s||-t.s;if(i.e!==t.e)return i.e>t.e^i.s<0?1:-1;for(e=0,r=(n=i.d.length)<(o=t.d.length)?n:o;e<r;++e)if(i.d[e]!==t.d[e])return i.d[e]>t.d[e]^i.s<0?1:-1;return n===o?0:n>o^i.s<0?1:-1},v.decimalPlaces=v.dp=function(){var t=this,e=t.d.length-1,r=7*(e-t.e);if(e=t.d[e])for(;e%10==0;e/=10)r--;return r<0?0:r},v.dividedBy=v.div=function(t){return x(this,new this.constructor(t))},v.dividedToIntegerBy=v.idiv=function(t){var e=this.constructor;return j(x(this,new e(t),0,1),e.precision)},v.equals=v.eq=function(t){return!this.cmp(t)},v.exponent=function(){return O(this)},v.greaterThan=v.gt=function(t){return this.cmp(t)>0},v.greaterThanOrEqualTo=v.gte=function(t){return this.cmp(t)>=0},v.isInteger=v.isint=function(){return this.e>this.d.length-2},v.isNegative=v.isneg=function(){return this.s<0},v.isPositive=v.ispos=function(){return this.s>0},v.isZero=function(){return 0===this.s},v.lessThan=v.lt=function(t){return this.cmp(t)<0},v.lessThanOrEqualTo=v.lte=function(t){return this.cmp(t)<1},v.logarithm=v.log=function(t){var e,r=this,n=r.constructor,i=n.precision,a=i+5;if(void 0===t)t=new n(10);else if((t=new n(t)).s<1||t.eq(o))throw Error(s+"NaN");if(r.s<1)throw Error(s+(r.s?"NaN":"-Infinity"));return r.eq(o)?new n(0):(c=!1,e=x(A(r,a),A(t,a),a),c=!0,j(e,i))},v.minus=v.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?k(e,t):m(e,(t.s=-t.s,t))},v.modulo=v.mod=function(t){var e,r=this,n=r.constructor,o=n.precision;if(!(t=new n(t)).s)throw Error(s+"NaN");return r.s?(c=!1,e=x(r,t,0,1).times(t),c=!0,r.minus(e)):j(new n(r),o)},v.naturalExponential=v.exp=function(){return w(this)},v.naturalLogarithm=v.ln=function(){return A(this)},v.negated=v.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},v.plus=v.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?m(e,t):k(e,(t.s=-t.s,t))},v.precision=v.sd=function(t){var e,r,n,o=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(u+t);if(e=O(o)+1,r=7*(n=o.d.length-1)+1,n=o.d[n]){for(;n%10==0;n/=10)r--;for(n=o.d[0];n>=10;n/=10)r++}return t&&e>r?e:r},v.squareRoot=v.sqrt=function(){var t,e,r,n,o,i,a,u=this,l=u.constructor;if(u.s<1){if(!u.s)return new l(0);throw Error(s+"NaN")}for(t=O(u),c=!1,0==(o=Math.sqrt(+u))||o==1/0?(((e=b(u.d)).length+t)%2==0&&(e+="0"),o=Math.sqrt(e),t=f((t+1)/2)-(t<0||t%2),n=new l(e=o==1/0?"5e"+t:(e=o.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new l(o.toString()),o=a=(r=l.precision)+3;;)if(n=(i=n).plus(x(u,i,a+2)).times(.5),b(i.d).slice(0,a)===(e=b(n.d)).slice(0,a)){if
vendor: 10,662 bytes, line 2
2(e=e.slice(a-3,a+1),o==a&&"4999"==e){if(j(i,r+1,0),i.times(i).eq(u)){n=i;break}}else if("9999"!=e)break;a+=4}return c=!0,j(n,r)},v.times=v.mul=function(t){var e,r,n,o,i,a,s,u,l,f=this,p=f.constructor,h=f.d,y=(t=new p(t)).d;if(!f.s||!t.s)return new p(0);for(t.s*=f.s,r=f.e+t.e,(u=h.length)<(l=y.length)&&(i=h,h=y,y=i,a=u,u=l,l=a),i=[],n=a=u+l;n--;)i.push(0);for(n=l;--n>=0;){for(e=0,o=u+n;o>n;)s=i[o]+y[n]*h[o-n-1]+e,i[o--]=s%d|0,e=s/d|0;i[o]=(i[o]+e)%d|0}for(;!i[--a];)i.pop();return e?++r:i.shift(),t.d=i,t.e=r,c?j(t,p.precision):t},v.toDecimalPlaces=v.todp=function(t,e){var r=this,n=r.constructor;return r=new n(r),void 0===t?r:(g(t,0,i),void 0===e?e=n.rounding:g(e,0,8),j(r,t+O(r)+1,e))},v.toExponential=function(t,e){var r,n=this,o=n.constructor;return void 0===t?r=P(n,!0):(g(t,0,i),void 0===e?e=o.rounding:g(e,0,8),r=P(n=j(new o(n),t+1,e),!0,t+1)),r},v.toFixed=function(t,e){var r,n,o=this,a=o.constructor;return void 0===t?P(o):(g(t,0,i),void 0===e?e=a.rounding:g(e,0,8),r=P((n=j(new a(o),t+O(o)+1,e)).abs(),!1,t+O(n)+1),o.isneg()&&!o.isZero()?"-"+r:r)},v.toInteger=v.toint=function(){var t=this,e=t.constructor;return j(new e(t),O(t)+1,e.rounding)},v.toNumber=function(){return+this},v.toPower=v.pow=function(t){var e,r,n,i,a,u,l=this,p=l.constructor,h=+(t=new p(t));if(!t.s)return new p(o);if(!(l=new p(l)).s){if(t.s<1)throw Error(s+"Infinity");return l}if(l.eq(o))return l;if(n=p.precision,t.eq(o))return j(l,n);if(u=(e=t.e)>=(r=t.d.length-1),a=l.s,u){if((r=h<0?-h:h)<=9007199254740991){for(i=new p(o),e=Math.ceil(n/7+4),c=!1;r%2&&M((i=i.times(l)).d,e),0!==(r=f(r/2));)M((l=l.times(l)).d,e);return c=!0,t.s<0?new p(o).div(i):j(i,n)}}else if(a<0)throw Error(s+"NaN");return a=a<0&&1&t.d[Math.max(e,r)]?-1:1,l.s=1,c=!1,i=t.times(A(l,n+12)),c=!0,(i=w(i)).s=a,i},v.toPrecision=function(t,e){var r,n,o=this,a=o.constructor;return void 0===t?n=P(o,(r=O(o))<=a.toExpNeg||r>=a.toExpPos):(g(t,1,i),void 0===e?e=a.rounding:g(e,0,8),n=P(o=j(new a(o),t,e),t<=(r=O(o))||r<=a.toExpNeg,t)),n},v.toSignificantDigits=v.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(g(t,1,i),void 0===e?e=r.rounding:g(e,0,8)),j(new r(this),t,e)},v.toString=v.valueOf=v.val=v.toJSON=function(){var t=this,e=O(t),r=t.constructor;return P(t,e<=r.toExpNeg||e>=r.toExpPos)};var x=function(){function t(t,e){var r,n=0,o=t.length;for(t=t.slice();o--;)r=t[o]*e+n,t[o]=r%d|0,n=r/d|0;return n&&t.unshift(n),t}function e(t,e,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;o<r;o++)if(t[o]!=e[o]){i=t[o]>e[o]?1:-1;break}return i}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=t[r]<e[r]?1:0,t[r]=n*d+t[r]-e[r];for(;!t[0]&&t.length>1;)t.shift()}return function(n,o,i,a){var c,u,l,f,p,h,y,v,m,g,b,x,w,_,E,A,S,k,P=n.constructor,M=n.s==o.s?1:-1,C=n.d,T=o.d;if(!n.s)return new P(n);if(!o.s)throw Error(s+"Division by zero");for(u=n.e-o.e,S=T.length,E=C.length,v=(y=new P(M)).d=[],l=0;T[l]==(C[l]||0);)++l;if(T[l]>(C[l]||0)&&--u,(x=null==i?i=P.precision:a?i+(O(n)-O(o))+1:i)<0)return new P(0);if(x=x/7+2|0,l=0,1==S)for(f=0,T=T[0],x++;(l<E||f)&&x--;l++)w=f*d+(C[l]||0),v[l]=w/T|0,f=w%T|0;else{for((f=d/(T[0]+1)|0)>1&&(T=t(T,f),C=t(C,f),S=T.length,E=C.length),_=S,g=(m=C.slice(0,S)).length;g<S;)m[g++]=0;(k=T.slice()).unshift(0),A=T[0],T[1]>=d/2&&++A;do{f=0,(c=e(T,m,S,g))<0?(b=m[0],S!=g&&(b=b*d+(m[1]||0)),(f=b/A|0)>1?(f>=d&&(f=d-1),1==(c=e(p=t(T,f),m,h=p.length,g=m.length))&&(f--,r(p,S<h?k:T,h))):(0==f&&(c=f=1),p=T.slice()),(h=p.length)<g&&p.unshift(0),r(m,p,g),-1==c&&(c=e(T,m,S,g=m.length))<1&&(f++,r(m,S<g?k:T,g)),g=m.length):0===c&&(f++,m=[0]),v[l++]=f,c&&m[0]?m[g++]=C[_]||0:(m=[C[_]],g=1)}while((_++<E||void 0!==m[0])&&x--)}return v[0]||v.shift(),y.e=u,j(y,a?i+O(y)+1:i)}}();function w(t,e){var r,n,i,a,s,u=0,f=0,h=t.constructor,d=h.precision;if(O(t)>16)throw Error(l+O(t));if(!t.s)return new h(o);for(null==e?(c=!1,s=d):s=e,a=new h(.03125);t.abs().gte(.1);)t=t.times(a),f+=5;for(s+=Math.log(p(2,f))/Math.LN10*2+5|0,r=n=i=new h(o),h.precision=s;;){if(n=j(n.times(t),s),r=r.times(++u),b((a=i.plus(x(n,r,s))).d).slice(0,s)===b(i.d).slice(0,s)){for(;f--;)i=j(i.times(i),s);return h.precision=d,null==e?(c=!0,j(i,d)):i}i=a}}function O(t){for(var e=7*t.e,r=t.d[0];r>=10;r/=10)e++;return e}function _(t,e,r){if(e>t.LN10.sd())throw c=!0,r&&(t.precision=r),Error(s+"LN10 precision limit exceeded");return j(new t(t.LN10),e)}function E(t){for(var e="";t--;)e+="0";return e}function A(t,e){var r,n,i,a,u,l,f,p,h,d=1,y=t,v=y.d,m=y.constructor,g=m.precision;if(y.s<1)throw Error(s+(y.s?"NaN":"-Infinity"));if(y.eq(o))return new m(0);if(null==e?(c=!1,p=g):p=e,y.eq(10))return null==e&&(c=!0),_(m,p);if(p+=10,m.precision=p,n=(r=b(v)).charAt(0),a=O(y),!(Math.abs(a)<15e14))return f=_(m,p+2,g).times(a+""),y=A(new m(n+"."+r.slice(1)),p-10).plus(f),m.precision=g,null==e?(c=!0,j(y,g)):y;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=b((y=y.times(t)).d)).charAt(0),d++;for(a=O(y),n>1?(y=new m("0."+r),a++):y=new m(n+"."+r.slice(1)),l=u=y=x(y.minus(o),y.plus(o),p),h=j(y.times(y),p),i=3;;){if(u=j(u.times(h),p),b((f=l.plus(x(u,new m(i),p))).d).slice(0,p)===b(l.d).slice(0,p))return l=l.times(2),0!==a&&(l=l.plus(_(m,p+2,g).times(a+""))),l=x(l,new m(d),p),m.precision=g,null==e?(c=!0,j(l,g)):l;l=f,i+=2}}function S(t,e){var r,n,o;for((r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;48===e.charCodeAt(n);)++n;for(o=e.length;48===e.charCodeAt(o-1);)--o;if(e=e.slice(n,o)){if(o-=n,r=r-n-1,t.e=f(r/7),t.d=[],n=(r+1)%7,r<0&&(n+=7),n<o){for(n&&t.d.push(+e.slice(0,n)),o-=7;n<o;)t.d.push(+e.slice(n,n+=7));n=7-(e=e.slice(n)).length}else n-=o;for(;n--;)e+="0";if(t.d.push(+e),c&&(t.e>y||t.e<-y))throw Error(l+r)}else t.s=0,t.e=0,t.d=[0];return t}function j(t,e,r){var n,o,i,a,s,u,h,v,m=t.d;for(a=1,i=m[0];i>=10;i/=10)a++;if((n=e-a)<0)n+=7,o=e,h=m[v=0];else{if((v=Math.ceil((n+1)/7))>=(i=m.length))return t;for(h=i=m[v],a=1;i>=10;i/=10)a++;o=(n%=7)-7+a}if(void 0!==r&&(s=h/(i=p(10,a-o-1))%10|0,u=e<0||void 0!==m[v+1]||h%i,u=r<4?(s||u)&&(0==r||r==(t.s<0?3:2)):s>5||5==s&&(4==r||u||6==r&&(n>0?o>0?h/p(10,a-o):0:m[v-1])%10&1||r==(t.s<0?8:7))),e<1||!m[0])return u?(i=O(t),m.length=1,e=e-i-1,m[0]=p(10,(7-e%7)%7),t.e=f(-e/7)||0):(m.length=1,m[0]=t.e=t.s=0),t;if(0==n?(m.length=v,i=1,v--):(m.length=v+1,i=p(10,7-n),m[v]=o>0?(h/p(10,a-o)%p(10,o)|0)*i:0),u)for(;;){if(0==v){(m[0]+=i)==d&&(m[0]=1,++t.e);break}if(m[v]+=i,m[v]!=d)break;m[v--]=0,i=1}for(n=m.length;0===m[--n];)m.pop();if(c&&(t.e>y||t.e<-y))throw Error(l+O(t));return t}function k(t,e){var r,n,o,i,a,s,u,l,f,p,h=t.constructor,y=h.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new h(t),c?j(e,y):e;if(u=t.d,p=e.d,n=e.e,l=t.e,u=u.slice(),a=l-n){for((f=a<0)?(r=u,a=-a,s=p.length):(r=p,n=l,s=u.length),a>(o=Math.max(Math.ceil(y/7),s)+2)&&(a=o,r.length=1),r.reverse(),o=a;o--;)r.push(0);r.reverse()}else{for((f=(o=u.length)<(s=p.length))&&(s=o),o=0;o<s;o++)if(u[o]!=p[o]){f=u[o]<p[o];break}a=0}for(f&&(r=u,u=p,p=r,e.s=-e.s),s=u.length,o=p.length-s;o>0;--o)u[s++]=0;for(o=p.length;o>a;){if(u[--o]<p[o]){for(i=o;i&&0===u[--i];)u[i]=d-1;--u[i],u[o]+=d}u[o]-=p[o]}for(;0===u[--s];)u.pop();for(;0===u[0];u.shift())--n;return u[0]?(e.d=u,e.e=n,c?j(e,y):e):new h(0)}function P(t,e,r){var n,o=O(t),i=b(t.d),a=i.length;return e?(r&&(n=r-a)>0?i=i.charAt(0)+"."+i.slice(1)+E(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+E(-o-1)+i,r&&(n=r-a)>0&&(i+=E(n))):o>=a?(i+=E(o+1-a),r&&(n=r-o-1)>0&&(i=i+"."+E(n))):((n=o+1)<a&&(i=i.slice(0,n)+"."+i.slice(n)),r&&(n=r-a)>0&&(o+1===a&&(i+="."),i+=E(n))),t.s<0?"-"+i:i}function M(t,e){if(t.length>e)return t.length=e,!0}function C(t){if(!t||"object"!=typeof t)throw Error(s+"Object expected");var e,r,n,o=["precision",1,i,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<o.length;e+=3)if(void 0!==(n=t[r=o[e]])){if(!(f(n)===n&&n>=o[e+1]&&n<=o[e+2]))throw Error(u+r+": "+n);this[r]=n}if(void 0!==(n=t[r="LN10"])){if(n!=Math.LN10)throw Error(u+r+": "+n);this[r]=new this(n)}return this}(a=function t(e){var r,n,o;function i(t){var e=this;if(!(e instanceof i))return new i(t);if(e.constructor=i,t instanceof i)return e.s=t.s,e.e=t.e,void(e.d=(t=t.d)?t.slice():t);if("number"==typeof t){if(0*t!=0)throw Error(u+t);if(t>0)e.s=1;else{if(!(t<0))return e.s=0,e.e=0,void(e.d=[0]);t=-t,e.s=-1}return t===~~t&&t<1e7?(e.e=0,void(e.d=[t])):S(e,t.toString())}if("string"!=typeof t)throw Error(u+t);if(45===t.charCodeAt(0)?(t=t.slice(1),e.s=-1):e.s=1,!h.test(t))throw Error(u+t);S(e,t)}if(i.prototype=v,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=t,i.config=i.set=C,void 0===e&&(e={}),e)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r<o.length;)e.hasOwnProperty(n=o[r++])||(e[n]=this[n]);return i.config(e),i}(a)).default=a.Decimal=a,o=new a(1),void 0===(n=function(){return a}.call(e,r,e,t))||(t.exports=n)}()},19270:(t,e,r)=>{var n=r(94715)(r(78942),"WeakMap");t.exports=n},19770:(t,e,r)=>{var n=r(94715)(r(78942),"Map");t.exports=n},19773:(t,e,r)=>{"use strict";r.d(e,{J9:()=>l,XC:()=>p,_U:()=>f});var n=r(41580),o=r.n(n),i=r(14041);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},a(t)}var c=["viewBox","children"],s=["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","type","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
2dering","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","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],u=["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
2Capture","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"],l=function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if((0,i.isValidElement)(t)&&(n=t.props),!o()(n))return null;var a={};return Object.keys(n).forEach(function(t){(s.includes(t)||r&&c.includes(t)||e&&u.includes(t))&&(a[t]=n[t])}),a},f=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if((0,i.isValidElement)(t)&&(r=t.props),!o()(r))return null;var n={};return Object.keys(r).forEach(function(t){u.includes(t)&&(n[t]=e||function(e){return r[t](r,e)})}),n},p=function(t,e,r){if(!o()(t)||"object"!==a(t))return null;var n=null;return Object.keys(t).forEach(function(o){var i=t[o];u.includes(o)&&"function"==typeof i&&(n||(n={}),n[o]=function(t,e,r){return function(n){return t(e,r,n),null}}(i,e,r))}),n}},20155:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},20514:(t,e,r)=>{"use strict";function n(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}r.d(e,{b:()=>n})},20714:(t,e,r)=>{var n=r(65650),o=r(3283),i=r(53142),a=n?n.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},21003:(t,e,r)=>{"use strict";e.__esModule=!0,e.default=void 0;var n=c(r(39067)),o=c(r(14041)),i=r(90146),a=r(28363);function c(t){return t&&t.__esModule?t:{default:t}}function s(){return s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},s.apply(this,arguments)}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var l=Object.values||function(t){return Object.keys(t).map(function(e){return t[e]})},f=function(t){var e,r;function n(e,r){var n,o=(n=t.call(this,e,r)||this).handleExited.bind(u(u(n)));return n.state={handleExited:o,firstRender:!0},n}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var i=n.prototype;return i.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},i.componentDidMount=function(){this.appeared=!0,this.mounted=!0},i.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(t,e){var r=e.children,n=e.handleExited;return{children:e.firstRender?(0,a.getInitialChildMapping)(t,n):(0,a.getNextChildMapping)(t,r,n),firstRender:!1}},i.handleExited=function(t,e){var r=(0,a.getChildMapping)(this.props.children);t.key in r||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState(function(e){var r=s({},e.children);return delete r[t.key],{children:r}}))},i.render=function(){var t=this.props,e=t.component,r=t.childFactory,n=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,["component","childFactory"]),i=l(this.state.children).map(r);
2return delete n.appear,delete n.enter,delete n.exit,null===e?i:o.default.createElement(e,n,i)},n}(o.default.Component);f.childContextTypes={transitionGroup:n.default.object.isRequired},f.propTypes={},f.defaultProps={component:"div",childFactory:function(t){return t}};var p=(0,i.polyfill)(f);e.default=p,t.exports=e.default},21779:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},22053:t=>{t.exports=function(t){return t}},22563:(t,e,r)=>{var n=r(87379),o=r(80547);t.exports=function(t){return!0===t||!1===t||o(t)&&"[object Boolean]"==n(t)}},22821:(t,e,r)=>{"use strict";r.d(e,{G:()=>L});var n=r(46343),o=r.n(n),i=r(76806),a=r.n(i),c=r(47217),s=r.n(c),u=r(93655),l=r.n(u),f=r(46123),p=r.n(f),h=r(3668),d=r.n(h),y=r(53142),v=r.n(y),m=r(14041),g=r(53373),b=r.n(g),x=r(70907),w=r(96228),O=r(55634),_=r(65578),E=r(73001),A=r(14625),S=r(81649),j=r(58972),k=r(19773);function P(t){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},P(t)}function M(){return M=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},M.apply(this,arguments)}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 T(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){I(t,e,r[e])}):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 I(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function R(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)}}function N(t,e){return N=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},N(t,e)}function D(t){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},D(t)}var L=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&N(t,e)}(f,t);var e,r,n,i,c,u=(i=f,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=D(i);if(c){var r=D(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){return!e||"object"!==P(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,t)});function f(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=u.call.apply(u,[this].concat(r))).state={isAnimationFinished:!0},t.id=(0,S.NF)("recharts-area-"),t.handleAnimationEnd=function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),l()(e)&&e()},t.handleAnimationStart=function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),l()(e)&&e()},t}return e=f,n=[{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}}],(r=[{key:"renderDots",value:function(t,e){var r=this.props.isAnimationActive,n=this.state.isAnimationFinished;if(r&&!n)return null;var o=this.props,i=o.dot,a=o.points,c=o.dataKey,s=(0,k.J9)(this.props),u=(0,k.J9)(i,!0),l=a.map(function(t,e){var r=T(T(T({key:"dot-".concat(e),r:3},s),u),{},{dataKey:c,cx:t.x,cy:t.y,index:e,value:t.value,payload:t.payload});return f.renderDotItem(i,r)}),p={clipPath:t?"url(#clipPath-".concat(e,")"):null};return m.createElement(_.W,M({className:"recharts-area-dots"},p),l)}},{key:"renderHorizontalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,o=e.strokeWidth,i=n[0].x,a=n[n.length-1].x,c=t*Math.abs(i-a),u=s()(n.map(function(t){return t.y||0}
2));return(0,S.Et)(r)&&"number"==typeof r?u=Math.max(r,u):r&&v()(r)&&r.length&&(u=Math.max(s()(r.map(function(t){return t.y||0})),u)),(0,S.Et)(u)?m.createElement("rect",{x:i<a?i:i-c,y:0,width:c,height:Math.floor(u+(o?parseInt("".concat(o),10):1))}):null}},{key:"renderVerticalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,o=e.strokeWidth,i=n[0].y,a=n[n.length-1].y,c=t*Math.abs(i-a),u=s()(n.map(function(t){return t.x||0}));return(0,S.Et)(r)&&"number"==typeof r?u=Math.max(r,u):r&&v()(r)&&r.length&&(u=Math.max(s()(r.map(function(t){return t.x||0})),u)),(0,S.Et)(u)?m.createElement("rect",{x:0,y:i<a?i:i-c,width:u+(o?parseInt("".concat(o),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,e,r,n){var o=this.props,i=o.layout,a=o.type,c=o.stroke,s=o.connectNulls,u=o.isRange,l=(o.ref,function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(o,["layout","type","stroke","connectNulls","isRange","ref"]));return m.createElement(_.W,{clipPath:r?"url(#clipPath-".concat(n,")"):null},m.createElement(w.I,M({},(0,k.J9)(l,!0),{points:t,connectNulls:s,type:a,baseLine:e,layout:i,stroke:"none",className:"recharts-area-area"})),"none"!==c&&m.createElement(w.I,M({},(0,k.J9)(this.props),{className:"recharts-area-curve",layout:i,type:a,connectNulls:s,fill:"none",points:t})),"none"!==c&&u&&m.createElement(w.I,M({},(0,k.J9)(this.props),{className:"recharts-area-curve",layout:i,type:a,connectNulls:s,fill:"none",points:e})))}},{key:"renderAreaWithAnimation",value:function(t,e){var r=this,n=this.props,o=n.points,i=n.baseLine,c=n.isAnimationActive,s=n.animationBegin,u=n.animationDuration,l=n.animationEasing,f=n.animationId,p=this.state,h=p.prevPoints,y=p.prevBaseLine;return m.createElement(x.Ay,{begin:s,duration:u,isActive:c,easing:l,from:{t:0},to:{t:1},key:"area-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(n){var c=n.t;if(h){var s,u=h.length/o.length,l=o.map(function(t,e){var r=Math.floor(e*u);if(h[r]){var n=h[r],o=(0,S.Dj)(n.x,t.x),i=(0,S.Dj)(n.y,t.y);return T(T({},t),{},{x:o(c),y:i(c)})}return t});return s=(0,S.Et)(i)&&"number"==typeof i?(0,S.Dj)(y,i)(c):d()(i)||a()(i)?(0,S.Dj)(y,0)(c):i.map(function(t,e){var r=Math.floor(e*u);if(y[r]){var n=y[r],o=(0,S.Dj)(n.x,t.x),i=(0,S.Dj)(n.y,t.y);return T(T({},t),{},{x:o(c),y:i(c)})}return t}),r.renderAreaStatically(l,s,t,e)}return m.createElement(_.W,null,m.createElement("defs",null,m.createElement("clipPath",{id:"animationClipPath-".concat(e)},r.renderClipRect(c))),m.createElement(_.W,{clipPath:"url(#animationClipPath-".concat(e,")")},r.renderAreaStatically(o,i,t,e)))})}},{key:"renderArea",value:function(t,e){var r=this.props,n=r.points,i=r.baseLine,a=r.isAnimationActive,c=this.state,s=c.prevPoints,u=c.prevBaseLine,l=c.totalLength;return a&&n&&n.length&&(!s&&l>0||!o()(s,n)||!o()(u,i))?this.renderAreaWithAnimation(t,e):this.renderAreaStatically(n,i,t,e)}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.dot,n=t.points,o=t.className,i=t.top,a=t.left,c=t.xAxis,s=t.yAxis,u=t.width,l=t.height,f=t.isAnimationActive,p=t.id;if(e||!n||!n.length)return null;var h=this.state.isAnimationFinished,y=1===n.length,v=b()("recharts-area",o),g=c&&c.allowDataOverflow||s&&s.allowDataOverflow,x=d()(p)?this.id:p;return m.createElement(_.W,{className:v},g?m.createElement("defs",null,m.createElement("clipPath",{id:"clipPath-".concat(x)},m.createElement("rect",{x:a,y:i,width:u,height:Math.floor(l)}))):null,y?null:this.renderArea(g,x),(r||y)&&this.renderDots(g,x),(!f||h)&&E.Z.renderCallByParent(this.props,n))}}])&&R(e.prototype,r),n&&R(e,n),f}(m.PureComponent);L.displayName="Area",L.defaultProps={stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendT
2ype:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!A.m.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"},L.getBaseValue=function(t,e,r){var n=t.layout,o=t.baseValue;if((0,S.Et)(o)&&"number"==typeof o)return o;var i="horizontal"===n?r:e,a=i.scale.domain();if("number"===i.type){var c=Math.max(a[0],a[1]),s=Math.min(a[0],a[1]);return"dataMin"===o?s:"dataMax"===o||c<0?c:Math.max(Math.min(a[0],a[1]),0)}return"dataMin"===o?a[0]:"dataMax"===o?a[1]:a[0]},L.getComposedData=function(t){var e,r=t.props,n=t.xAxis,o=t.yAxis,i=t.xAxisTicks,a=t.yAxisTicks,c=t.bandSize,s=t.dataKey,u=t.stackedData,l=t.dataStartIndex,f=t.displayedData,h=t.offset,y=r.layout,m=u&&u.length,g=L.getBaseValue(r,n,o),b=!1,x=f.map(function(t,e){var r,f=(0,j.kr)(t,s);m?r=u[l+e]:(r=f,v()(r)?b=!0:r=[g,r]);var p=d()(r[1])||m&&d()(f);return"horizontal"===y?{x:(0,j.nb)({axis:n,ticks:i,bandSize:c,entry:t,index:e}),y:p?null:o.scale(r[1]),value:r,payload:t}:{x:p?null:n.scale(r[1]),y:(0,j.nb)({axis:o,ticks:a,bandSize:c,entry:t,index:e}),value:r,payload:t}});return e=m||b?x.map(function(t){return"horizontal"===y?{x:t.x,y:d()(p()(t,"value[0]"))||d()(p()(t,"y"))?null:o.scale(p()(t,"value[0]"))}:{x:d()(p()(t,"value[0]"))?null:n.scale(p()(t,"value[0]")),y:t.y}}):"horizontal"===y?o.scale(g):n.scale(g),T({points:x,baseLine:e,layout:y,isRange:b},h)},L.renderDotItem=function(t,e){return m.isValidElement(t)?m.cloneElement(t,e):l()(t)?t(e):m.createElement(O.c,M({},e,{className:"recharts-area-dot"}))}},23212:(t,e,r)=>{var n=r(68250),o=r(1877),i=r(8006);function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,t.exports=a},23305:(t,e,r)=>{var n=r(94497);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},23904:t=>{t.exports=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}},23945:(t,e,r)=>{var n=r(22053),o=r(75234),i=r(80796);t.exports=function(t,e){return i(o(t,e,n),t+"")}},24367:(t,e,r)=>{var n=r(89648),o=r(81211);t.exports=function(t){for(var e=o(t),r=e.length;r--;){var i=e[r],a=t[i];e[r]=[i,a,n(a)]}return e}},25098:(t,e,r)=>{var n=r(23305),o=r(39361),i=r(11112),a=r(25276),c=r(57452);function s(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])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=c,t.exports=s},25276:(t,e,r)=>{var n=r(94497),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},26137:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},27276:(t,e,r)=>{var n=r(43636),o=r(85899);t.exports=function(t,e){return null!=t&&o(t,e,n)}},28255:(t,e,r)=>{"use strict";r.d(e,{Q:()=>s});var n=r(10052),o=r(22821),i=r(98331),a=r(51492),c=r(14713),s=(0,n.g)({chartName:"AreaChart",GraphicalChild:o.G,axisComponents:[{axisType:"xAxis",AxisComp:i.W},{axisType:"yAxis",AxisComp:a.h}],formatAxisMap:c.pr})},28363:(t,e,r)=>{"use strict";e.__esModule=!0,e.getChildMapping=o,e.mergeChildMappings=i,e.getInitialChildMapping=function(t,e){return o(t.children,function(r){return(0,n.cloneElement)(r,{onExited:e.bind(null,r),in:!0,appear:a(r,"appear",t),enter:a(r,"enter",t),exit:a(r,"exit",t)})})},e.getNextChildMapping=function(t,e,r){var c=o(t.children),s=i(e,c);return Object.keys(s).forEach(function(o){var i=s[o];if((0,n.isValidElement)(i)){var u=o in e,l=o in c,f=e[o],p=(0,n.isValidElement)(f)&&!f.props.in;!l||u&&!p?l||!u||p?l&&u&&(0,n.isValidElement)(f)&&(s[o]=(0,n.cloneElement)(i,{onExited:r.bind(null,i),in:f.props.in,exit:a(i,"exit",t),enter:a(i,"enter",t)})):s[o]=(0,n.cloneElement)(i,{in:!1}):s[o]=(0,n.cloneElement)(i,{onExited:r.bind(null,i),in:!0,exit:a(i,"exit",t),enter:a(i,"enter",t)})}}),s};var n=r(14041);function o(t,e){var r=Object.create(null);return t&&n.Children.map(t,function(t){return t}).forEach(function(t){r[t.key]=function(t){return e&&(0,n.isValidElement)(t)?e(t):t}(t)}),r}function i(t,e){function r(r){return r in e?e[r]:t[r]}t=t||{},e=e||{};var n,o=Object.create(null),i=[];for(var a in t)a in e?i.length&&(o[a]=i,i=[]):i.push(a);var c={};for(var s in e){if(o[s])for(n=0;n<o[s].length;n++){var u=o[s][n];c[o[s][n]]=r(u)}c[s]=r(s)}for(n=0;n<i.length;n++)c[i[n]]=r(i[n]);return c}function a(t,e,r){return null!=r[e]?r[e]:t.props[e]}},28486:(t,e,r)=>{var n=r(33103),o=r(19770),i=r(89413),a=r(64512),c=r(19270),s=r(87379),u=r(64066),l="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",d="[object DataView]",y=u(n),v=u(o),m=u(i),g=u(a),b=u(c),x=s;(n&&x(new n(new ArrayBuffer(1)))!=d||o&&x(new o)!=l||i&&x(i.resolve())!=f||a&&x(new a)!=p||c&&x(new c)!=h)&&
2(x=function(t){var e=s(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return d;case v:return l;case m:return f;case g:return p;case b:return h}return e}),t.exports=x},28512:(t,e,r)=>{var n=r(86403),o=r(41580),i=r(51187),a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=c.test(t);return r||s.test(t)?u(t.slice(2),r?2:8):a.test(t)?NaN:+t}},28931:(t,e,r)=>{var n=r(73501);t.exports=function(t,e,r){var o=t.length;return r=void 0===r?o:r,!e&&r>=o?t:n(t,e,r)}},28985:t=>{"use strict";var e=Object.prototype.hasOwnProperty,r="~";function n(){}function o(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function i(t,e,n,i,a){if("function"!=typeof n)throw new TypeError("The listener must be a function");var c=new o(n,i||t,a),s=r?r+e:e;return t._events[s]?t._events[s].fn?t._events[s]=[t._events[s],c]:t._events[s].push(c):(t._events[s]=c,t._eventsCount++),t}function a(t,e){0===--t._eventsCount?t._events=new n:delete t._events[e]}function c(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),c.prototype.eventNames=function(){var t,n,o=[];if(0===this._eventsCount)return o;for(n in t=this._events)e.call(t,n)&&o.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t)):o},c.prototype.listeners=function(t){var e=r?r+t:t,n=this._events[e];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,i=n.length,a=new Array(i);o<i;o++)a[o]=n[o].fn;return a},c.prototype.listenerCount=function(t){var e=r?r+t:t,n=this._events[e];return n?n.fn?1:n.length:0},c.prototype.emit=function(t,e,n,o,i,a){var c=r?r+t:t;if(!this._events[c])return!1;var s,u,l=this._events[c],f=arguments.length;if(l.fn){switch(l.once&&this.removeListener(t,l.fn,void 0,!0),f){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,e),!0;case 3:return l.fn.call(l.context,e,n),!0;case 4:return l.fn.call(l.context,e,n,o),!0;case 5:return l.fn.call(l.context,e,n,o,i),!0;case 6:return l.fn.call(l.context,e,n,o,i,a),!0}for(u=1,s=new Array(f-1);u<f;u++)s[u-1]=arguments[u];l.fn.apply(l.context,s)}else{var p,h=l.length;for(u=0;u<h;u++)switch(l[u].once&&this.removeListener(t,l[u].fn,void 0,!0),f){case 1:l[u].fn.call(l[u].context);break;case 2:l[u].fn.call(l[u].context,e);break;case 3:l[u].fn.call(l[u].context,e,n);break;case 4:l[u].fn.call(l[u].context,e,n,o);break;default:if(!s)for(p=1,s=new Array(f-1);p<f;p++)s[p-1]=arguments[p];l[u].fn.apply(l[u].context,s)}}return!0},c.prototype.on=function(t,e,r){return i(this,t,e,r,!1)},c.prototype.once=function(t,e,r){return i(this,t,e,r,!0)},c.prototype.removeListener=function(t,e,n,o){var i=r?r+t:t;if(!this._events[i])return this;if(!e)return a(this,i),this;var c=this._events[i];if(c.fn)c.fn!==e||o&&!c.once||n&&c.context!==n||a(this,i);else{for(var s=0,u=[],l=c.length;s<l;s++)(c[s].fn!==e||o&&!c[s].once||n&&c[s].context!==n)&&u.push(c[s]);u.length?this._events[i]=1===u.length?u[0]:u:a(this,i)}return this},c.prototype.removeAllListeners=function(t){var e;return t?(e=r?r+t:t,this._events[e]&&a(this,e)):(this._events=new n,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,t.exports=c},29005:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},31182:(t,e,r)=>{var n=r(80393),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,a,c){var s=1&r,u=n(t),l=u.length;if(l!=n(e).length&&!s)return!1;for(var f=l;f--;){var p=u[f];if(!(s?p in e:o.call(e,p)))return!1}var h=c.get(t),d=c.get(e);if(h&&d)return h==e&&d==t;var y=!0;c.set(t,e),c.set(e,t);for(var v=s;++f<l;){var m=t[p=u[f]],g=e[p];if(i)var b=s?i(g,m,p,e,t,c):i(m,g,p,t,e,c);if(!(void 0===b?m===g||a(m,g,r,i,c):b)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var x=t.constructor,w=e.constructor;x==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(y=!1)}return c.delete(t),c.delete(e),y}},31623:(t,e,r)=>{var n=r(78942).Uint8Array;t.exports=n},32002:(t,e,r)=>{"use strict";r.d(e,{R:()=>n});var n=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e}},33103:(t,e,r)=>{var n=r(94715)(r(78942),"DataView");t.exports=n},33510:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},33934:(t,e,r)=>{var n=r(23212),o=r(36465),i=r(65568);t.exports=function(t,e,r,a,c,s){var u=1&r,l=t.length,f=e.length;if(l!=f&&!(u&&f>l))return!1;var p=s.get(t),h=s.get(e);if(p&&h)return p==e&&h==t;var d=-1,y=!0,v=2&r?new n:void 0;for(s.set(t,e),s.set(e,t);++d<l;){var m=t[d],g=e[d];if(a)var b=u?a(g,m,d,e,t,s):a(m,g,d,t,e,s);if(void 0!==b){if(b)continue;y=!1;break}if(v){if(!o(e,function(t,e){if(!i(v,e)&&(m===t||c(m,t,r,a,s)))return v.push(e)})){y=!1;break}}else if(m!==g&&!c(m,g,r,a,s)){y=!1;break}}return s.delete(t),s.delete(e),y}},34162:t=>{t.exports=function(t){return this.__data__.get(t)}},34637:t=>{var e="-".charCodeAt(0),r="+".charCodeAt(0),n=".".charCodeAt(0),o="e".charCodeAt(0),i="E".charCodeAt(0);t.exports=function(t){for(var a,c=0,s=t.length,u=!1,l=-1,f=!1;c<s;){if((a=t.charCodeAt(c))>=48&&a<=57)f=!0;else if(a===o||a===i){if(l>-1)break;l=c}else if(a===n){if(u)break;u=!0}else{if(a!==r&&a!==e)break;if(0!==c)break}c+=1}return l+1===c&&c--,!!f&&{number:t.slice(0,c),unit:t.slice(c)}}},34772:t=>{t.exports=function(){return!1}},35636:(t,e,r)=>{var n=r(86596)();t.exports=n},36208:(t,e,r)=>
2{var n=r(64512),o=r(79071),i=r(49828),a=n&&1/i(new n([,-0]))[1]==1/0?function(t){return new n(t)}:o;t.exports=a},36465:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},36526:(t,e,r)=>{var n=r(38330),o=r(24367),i=r(23904);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},36529:(t,e,r)=>{var n=r(93655),o=r(65387);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},37250:t=>{t.exports=function(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i<o;)if(e(t[i],i,t))return i;return-1}},37885:(t,e,r)=>{"use strict";e.__esModule=!0,e.default=void 0,function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};n.get||n.set?Object.defineProperty(e,r,n):e[r]=t[r]}e.default=t}(r(39067));var n=c(r(47939)),o=c(r(5700)),i=c(r(14041)),a=c(r(14782));function c(t){return t&&t.__esModule?t:{default:t}}function s(){return s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},s.apply(this,arguments)}r(99293);var u=function(t,e){return t&&e&&e.split(" ").forEach(function(e){return(0,n.default)(t,e)})},l=function(t,e){return t&&e&&e.split(" ").forEach(function(e){return(0,o.default)(t,e)})},f=function(t){var e,r;function n(){for(var e,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(e=t.call.apply(t,[this].concat(n))||this).onEnter=function(t,r){var n=e.getClassNames(r?"appear":"enter").className;e.removeClasses(t,"exit"),u(t,n),e.props.onEnter&&e.props.onEnter(t,r)},e.onEntering=function(t,r){var n=e.getClassNames(r?"appear":"enter").activeClassName;e.reflowAndAddClass(t,n),e.props.onEntering&&e.props.onEntering(t,r)},e.onEntered=function(t,r){var n=e.getClassNames("appear").doneClassName,o=e.getClassNames("enter").doneClassName,i=r?n+" "+o:o;e.removeClasses(t,r?"appear":"enter"),u(t,i),e.props.onEntered&&e.props.onEntered(t,r)},e.onExit=function(t){var r=e.getClassNames("exit").className;e.removeClasses(t,"appear"),e.removeClasses(t,"enter"),u(t,r),e.props.onExit&&e.props.onExit(t)},e.onExiting=function(t){var r=e.getClassNames("exit").activeClassName;e.reflowAndAddClass(t,r),e.props.onExiting&&e.props.onExiting(t)},e.onExited=function(t){var r=e.getClassNames("exit").doneClassName;e.removeClasses(t,"exit"),u(t,r),e.props.onExited&&e.props.onExited(t)},e.getClassNames=function(t){var r=e.props.classNames,n="string"==typeof r,o=n?(n&&r?r+"-":"")+t:r[t];return{className:o,activeClassName:n?o+"-active":r[t+"Active"],doneClassName:n?o+"-done":r[t+"Done"]}},e}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var o=n.prototype;return o.removeClasses=function(t,e){var r=this.getClassNames(e),n=r.className,o=r.activeClassName,i=r.doneClassName;n&&l(t,n),o&&l(t,o),i&&l(t,i)},o.reflowAndAddClass=function(t,e){e&&(t&&t.scrollTop,u(t,e))},o.render=function(){var t=s({},this.props);return delete t.classNames,i.default.createElement(a.default,s({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},n}(i.default.Component);f.defaultProps={classNames:""},f.propTypes={};var p=f;e.default=p,t.exports=e.default},38330:(t,e,r)=>{var n=r(51340),o=r(94687);t.exports=function(t,e,r,i){var a=r.length,c=a,s=!i;if(null==t)return!c;for(t=Object(t);a--;){var u=r[a];if(s&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++a<c;){var l=(u=r[a])[0],f=t[l],p=u[1];if(s&&u[2]){if(void 0===f&&!(l in t))return!1}else{var h=new n;if(i)var d=i(f,p,l,t,e,h);if(!(void 0===d?o(p,f,3,i,h):d))return!1}}return!0}},38870:(t,e)=>{var r=function(){function t(t,e){var r;if(Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonParserError"}),null==t&&(t="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:t}),this.hash=e,e&&e.exception instanceof Error){var n=e.exception;this.message=n.message||t,r=n.stack}r||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):r=new Error(t).stack),r&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:r})}function e(t,e,r){r=r||0;for(var n=0;n<e;n++)this.push(t),t+=r}function r(t,e){for(e+=t=this.length-t;t<e;t++)this.push(this[t])}function n(t){for(var e=[],r=0,n=t.length;r<n;r++){var o=t[r];"function"==typeof o?(r++,o.apply(e,t[r])):e.push(o)}return e}"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(t.prototype,Error.prototype):t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.name="JisonParserError";var o={trace:function(){},JisonParserError:t,yy:{},options:{type:"lalr",hasPartialLrUpgradeOnConflict:!0,errorRecoveryTokenDiscardCount:3},symbols_:{$accept:0,$end:1,ADD:3,ANGLE:16,CHS:22,COMMA:14,CSS_CPROP:13,CSS_VAR:12,DIV:6,EMS:20,EOF:1,EXS:21,FREQ:18,LENGTH:15,LPAREN:7,MUL:5,NESTED_CALC:9,NUMBER:11,PERCENTAGE:28,PREFIX:10,REMS:23,RES:19,RPAREN:8,SUB:4,TIME:17,VHS:24,VMAXS:27,VMINS:26,VWS:25,css_value:33,css_variable:32,error:2,expression:29,math_expression:30,value:31},terminals_:{1:"EOF",2:"error",3:"ADD",4:"SUB",5:"MUL",6:"DIV",7:"LPAREN",8:"RPAREN",9:"NESTED_CALC",10:"PREFIX",11:"NUMBER",12:"CSS_VAR",13:"CSS_CPROP",14:"COMMA",15:"LENGTH",16:"ANGLE",17:"TIME",18:"FREQ",19:"RES",20:"EMS",21:"EXS",22:"CHS",23:"REMS",24:"VHS",25:"VWS",26:"VMINS",27:"VMAXS",28:"PERCENTAGE"},TERROR:2,EOF:1,originalQuoteName:null,originalParseError:null,cleanupAfterParse:null,constructParseErrorInfo:null,yyMergeLocationInfo:null,__reentrant_call_depth:0,__error_infos:[],__error_recovery_infos:[],quoteName:function(t){return'"'+t+'"'},getSymbolName:function(t){if(this.terminals_[t])return this.terminals_[t];var e=this.symbols_;for(var r in e)if(e[r]===t)return r;return null},describeSymbol:function(t){if(t!==this.EOF&&this.terminal_descriptions_&&this.terminal_descriptions_[t])return this.terminal_descriptions_[t];if(t===this.EOF)return"end of input";var e=this.getSymbolName(t);return e?this.quoteName(e):null},collect_expected_token_set:function(t,e){var r=this.TERROR,n=[],o={};if(!e&&this.state_descriptions_&&this.state_descriptions_[t])return[this.state_descriptions_[t]];for(var i in this.table[t])if((i=+i)!==r){var a=e?i:this.describeSymbol(i);a&&!o[a]&&(n.push(a),o[a]=!0)}return n},productions_:function(t){for(var e=[],r=t.pop,n=t.rule,o=0,i=r.length;o<i;
2o++)e.push([r[o],n[o]]);return e}({pop:n([29,e,[30,10],31,31,32,32,e,[33,15]]),rule:n([2,e,[3,5],4,7,e,[1,4],2,4,6,e,[1,14],2])}),performAction:function(t,e,r){var n=this.yy;switch(n.parser,n.lexer,t){case 0:case 6:this.$=r[e-1];break;case 1:return this.$=r[e-1],r[e-1];case 2:case 3:case 4:case 5:this.$={type:"MathExpression",operator:r[e-1],left:r[e-2],right:r[e]};break;case 7:this.$={type:"Calc",value:r[e-1]};break;case 8:this.$={type:"Calc",value:r[e-1],prefix:r[e-5]};break;case 9:case 10:case 11:this.$=r[e];break;case 12:this.$={type:"Value",value:parseFloat(r[e])};break;case 13:this.$={type:"Value",value:-1*parseFloat(r[e])};break;case 14:this.$={type:"CssVariable",value:r[e-1]};break;case 15:this.$={type:"CssVariable",value:r[e-3],fallback:r[e-1]};break;case 16:this.$={type:"LengthValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 17:this.$={type:"AngleValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 18:this.$={type:"TimeValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 19:this.$={type:"FrequencyValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 20:this.$={type:"ResolutionValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 21:this.$={type:"EmValue",value:parseFloat(r[e]),unit:"em"};break;case 22:this.$={type:"ExValue",value:parseFloat(r[e]),unit:"ex"};break;case 23:this.$={type:"ChValue",value:parseFloat(r[e]),unit:"ch"};break;case 24:this.$={type:"RemValue",value:parseFloat(r[e]),unit:"rem"};break;case 25:this.$={type:"VhValue",value:parseFloat(r[e]),unit:"vh"};break;case 26:this.$={type:"VwValue",value:parseFloat(r[e]),unit:"vw"};break;case 27:this.$={type:"VminValue",value:parseFloat(r[e]),unit:"vmin"};break;case 28:this.$={type:"VmaxValue",value:parseFloat(r[e]),unit:"vmax"};break;case 29:this.$={type:"PercentageValue",value:parseFloat(r[e]),unit:"%"};break;case 30:var o=r[e];o.value*=-1,this.$=o}},table:function(t){for(var e=[],r=t.len,n=t.symbol,o=t.type,i=t.state,a=t.mode,c=t.goto,s=0,u=r.length;s<u;s++){for(var l=r[s],f={},p=0;p<l;p++){var h=n.shift();switch(o.shift()){case 2:f[h]=[a.shift(),c.shift()];break;case 0:f[h]=i.shift();break;default:f[h]=[3]}}e.push(f)}return e}({len:n([24,1,5,23,1,18,e,[0,3],1,e,[0,16],e,[23,4],r,[28,3],0,0,16,1,6,6,e,[0,3],5,1,2,r,[37,3],r,[20,3],5,0,0]),symbol:n([4,7,9,11,12,e,[15,19,1],1,1,e,[3,4,1],r,[30,19],r,[29,4],7,4,10,11,r,[22,14],r,[19,3],r,[43,22],r,[23,69],r,[139,4],8,r,[51,24],4,r,[138,15],13,r,[186,5],8,r,[6,6],r,[5,5],9,8,14,r,[159,47],r,[60,10]]),type:n([e,[2,19],e,[0,5],1,e,[2,24],e,[0,4],r,[22,19],r,[43,42],r,[23,70],r,[28,25],r,[45,25],r,[113,54]]),state:n([1,2,8,6,7,30,r,[4,3],33,37,r,[5,3],38,r,[4,3],39,r,[4,3],40,r,[4,3],42,r,[21,4],50,r,[5,3],51,r,[4,3]]),mode:n([e,[1,179],e,[2,3],r,[5,5],r,[6,4],e,[1,57]]),goto:n([5,3,4,24,e,[9,15,1],e,[25,5,1],r,[24,19],31,35,32,34,r,[18,14],36,r,[38,19],r,[19,57],r,[118,4],41,r,[24,19],43,35,r,[16,14],44,e,[2,3],28,29,2,e,[3,3],28,29,3,r,[53,4],e,[45,5,1],r,[100,42],52,r,[5,4],53])}),defaultActions:function(t){for(var e={},r=t.idx,n=t.goto,o=0,i=r.length;o<i;o++)e[r[o]]=n[o];return e}({idx:n([6,7,8,e,[10,16,1],33,34,39,40,41,45,47,52,53]),goto:n([9,10,11,e,[16,14,1],12,1,30,13,e,[4,4,1],14,15,8])}),parseError:function(t,e,r){if(!e.recoverable)throw"function"==typeof this.trace&&this.trace(t),r||(r=this.JisonParserError),new r(t,e);"function"==typeof this.trace&&this.trace(t),e.destroy()},parse:function(t){var e,r=this,n=new Array(128),o=new Array(128),i=new Array(128),a=this.table,c=0,s=0,u=(this.TERROR,this.EOF),l=(this.options.errorRecoveryTokenDiscardCount,[0,54]);e=this.__lexer__?this.__lexer__:this.__lexer__=Object.create(this.lexer);var f={parseError:void 0,quoteName:void 0,lexer:void 0,parser:void 0,pre_parse:void 0,post_parse:void 0,pre_lex:void 0,post_lex:void 0};"function"!=typeof assert||assert,this.yyGetSharedState=function(){return f},function(t,e){for(var r in e)void 0===t[r]&&Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}(f,this.yy),f.lexer=e,f.parser=this,"function"==typeof f.parseError?this.parseError=function(t,e,r){return r||(r=this.JisonParserError),f.parseError.call(this,t,e,r)}:this.parseError=this.originalParseError,"function"==typeof f.quoteName?this.quoteName=function(t){return f.quoteName.call(this,t)}:this.quoteName=this.originalQuoteName,this.cleanupAfterParse=function(t,r,a){var s,u;if(r&&((f.post_parse||this.post_parse)&&(u=this.constructParseErrorInfo(null,null,null,!1)),f.post_parse&&void 0!==(s=f.post_parse.call(this,f,t,u))&&(t=s),this.post_parse&&void 0!==(s=this.post_parse.call(this,f,t,u))&&(t=s),u&&u.destroy&&u.destroy()),this.__reentrant_call_depth>
21)return t;if(e.cleanupAfterLex&&e.cleanupAfterLex(a),f&&(f.lexer=void 0,f.parser=void 0,e.yy===f&&(e.yy=void 0)),f=void 0,this.parseError=this.originalParseError,this.quoteName=this.originalQuoteName,n.length=0,o.length=0,i.length=0,c=0,!a){for(var l=this.__error_infos.length-1;l>=0;l--){var p=this.__error_infos[l];p&&"function"==typeof p.destroy&&p.destroy()}this.__error_infos.length=0}return t},this.constructParseErrorInfo=function(t,r,a,u){var l={errStr:t,exception:r,text:e.match,value:e.yytext,token:this.describeSymbol(s)||s,token_id:s,line:e.yylineno,expected:a,recoverable:u,state:p,action:h,new_state:b,symbol_stack:n,state_stack:o,value_stack:i,stack_pointer:c,yy:f,lexer:e,parser:this,destroy:function(){var t=!!this.recoverable;for(var e in this)this.hasOwnProperty(e)&&"object"==typeof e&&(this[e]=void 0);this.recoverable=t}};return this.__error_infos.push(l),l};var p,h,d,y,v,m,g,b,x=function(){var t=e.lex();return"number"!=typeof t&&(t=r.symbols_[t]||t),t||u},w={$:!0,_$:void 0,yy:f},O=!1;try{for(this.__reentrant_call_depth++,e.setInput(t,f),"function"==typeof e.canIUse&&e.canIUse().fastLex&&(x=function(){var t=e.fastLex();return"number"!=typeof t&&(t=r.symbols_[t]||t),t||u}),i[c]=null,o[c]=0,n[c]=0,++c,this.pre_parse&&this.pre_parse.call(this,f),f.pre_parse&&f.pre_parse.call(this,f),b=o[c-1];;){if(p=b,this.defaultActions[p])h=2,b=this.defaultActions[p];else if(s||(s=x()),y=a[p]&&a[p][s]||l,b=y[1],!(h=y[0])){var _,E=this.describeSymbol(s)||s,A=this.collect_expected_token_set(p);_="number"==typeof e.yylineno?"Parse error on line "+(e.yylineno+1)+": ":"Parse error: ","function"==typeof e.showPosition&&(_+="\n"+e.showPosition(69,10)+"\n"),A.length?_+="Expecting "+A.join(", ")+", got unexpected "+E:_+="Unexpected "+E,v=this.constructParseErrorInfo(_,null,A,!1),void 0!==(d=this.parseError(v.errStr,v,this.JisonParserError))&&(O=d);break}switch(h){default:if(h instanceof Array){v=this.constructParseErrorInfo("Parse Error: multiple actions possible at state: "+p+", token: "+s,null,null,!1),void 0!==(d=this.parseError(v.errStr,v,this.JisonParserError))&&(O=d);break}v=this.constructParseErrorInfo("Parsing halted. No viable error recovery approach available due to internal system failure.",null,null,!1),void 0!==(d=this.parseError(v.errStr,v,this.JisonParserError))&&(O=d);break;case 1:n[c]=s,i[c]=e.yytext,o[c]=b,++c,s=0;continue;case 2:if(m=(g=this.productions_[b-1])[1],void 0!==(d=this.performAction.call(w,b,c-1,i))){O=d;break}c-=m;var S=g[0];n[c]=S,i[c]=w.$,b=a[o[c-1]][S],o[c]=b,++c;continue;case 3:-2!==c&&(O=!0,c--,void 0!==i[c]&&(O=i[c]))}break}}catch(t){if(t instanceof this.JisonParserError)throw t;if(e&&"function"==typeof e.JisonLexerError&&t instanceof e.JisonLexerError)throw t;v=this.constructParseErrorInfo("Parsing aborted due to exception.",t,null,!1),O=!1,void 0!==(d=this.parseError(v.errStr,v,this.JisonParserError))&&(O=d)}finally{O=this.cleanupAfterParse(O,!0,!0),this.__reentrant_call_depth--}return O}};o.originalParseError=o.parseError,o.originalQuoteName=o.quoteName;var i=function(){function t(t,e){var r;if(Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonLexerError"}),null==t&&(t="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:t}),this.hash=e,e&&e.exception instanceof Error){var n=e.exception;this.message=n.message||t,r=n.stack}r||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):r=new Error(t).stack),r&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:r})}"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(t.prototype,Error.prototype):t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.name="JisonLexerError";var e={EOF:1,ERROR:2,__currentRuleSet__:null,__error_infos:[],__decompressed:!1,done:!1,_backtrack:!1,_input:"",_more:!1,_signaled_error_token:!1,conditionStack:[],match:"",matched:"",matches:!1,yytext:"",offset:0,yyleng:0,yylineno:0,yylloc:null,constructLexErrorInfo:function(t,e,r){if(t=""+t,null==r&&(r=!(t.indexOf("\n")>0&&t.indexOf("^")>0)),this.yylloc&&r)if("function"==typeof this.prettyPrintRange)this.prettyPrintRange(this.yylloc),/\n\s*$/.test(t)||(t+="\n"),t+="\n Erroneous area:\n"+this.prettyPrintRange(this.yylloc);else if("function"==typeof this.showPosition){var n=this.showPosition();n&&(t.length&&"\n"!==t[t.length-1]&&"\n"!==n[0]?t+="\n"+n:t+=n)}var o={errStr:t,recoverable:!!e,text:this.match,token:null,line:this.yylineno,loc:this.yylloc,yy:this.yy,lexer:this,destroy:function(){var t=!!this.recoverable;for(var e in this)this.hasOwnProperty(e)&&"object"==typeof e&&(this[e]=void 0);this.recoverable=t}};return this.__error_infos.push(o),o},parseError:function(t,e,r){if(r||(r=this.JisonLexerError),this.yy){if(this.yy.parser&&"function"==typeof this.yy.parser.parseError)return this.yy.parser.parseError.call(this,t,e,r)||this.ERROR;if("function"==typeof this.yy.parseError)return this.yy.parseError.call(this,t,e,r)||this.ERROR}throw new r(t,e)},yyerror:function(t){var e="";this.yylloc&&(e=" on line "+(this.yylineno+1));var r=this.constructLexErrorInfo("Lexical error"+e+": "+t,this.options.lexerErrorsAreRecoverable),n=Array.prototype.slice.call(arguments,1
2);return n.length&&(r.extra_error_attributes=n),this.parseError(r.errStr,r,this.JisonLexerError)||this.ERROR},cleanupAfterLex:function(t){if(this.setInput("",{}),!t){for(var e=this.__error_infos.length-1;e>=0;e--){var r=this.__error_infos[e];r&&"function"==typeof r.destroy&&r.destroy()}this.__error_infos.length=0}return this},clear:function(){this.yytext="",this.yyleng=0,this.match="",this.matches=!1,this._more=!1,this._backtrack=!1;var t=this.yylloc?this.yylloc.last_column:0;this.yylloc={first_line:this.yylineno+1,first_column:t,last_line:this.yylineno+1,last_column:t,range:[this.offset,this.offset]}},setInput:function(t,e){if(this.yy=e||this.yy||{},!this.__decompressed){for(var r=this.rules,n=0,o=r.length;n<o;n++)"number"==typeof(p=r[n])&&(r[n]=r[p]);var i=this.conditions;for(var a in i){var c=i[a],s=c.rules,u=(o=s.length,new Array(o+1)),l=new Array(o+1);for(n=0;n<o;n++){var f=s[n],p=r[f];u[n+1]=p,l[n+1]=f}c.rules=l,c.__rule_regexes=u,c.__rule_count=o}this.__decompressed=!0}return this._input=t||"",this.clear(),this._signaled_error_token=!1,this.done=!1,this.yylineno=0,this.matched="",this.conditionStack=["INITIAL"],this.__currentRuleSet__=null,this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]},this.offset=0,this},editRemainingInput:function(t,e){var r=t.call(this,this._input,e);return"string"!=typeof r?r&&(this._input=""+r):this._input=r,this},input:function(){if(!this._input)return null;var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var e=1,r=!1;if("\n"===t)r=!0;else if("\r"===t){r=!0;var n=this._input[1];"\n"===n&&(e++,t+=n,this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n,this.yylloc.range[1]++)}return r?(this.yylineno++,this.yylloc.last_line++,this.yylloc.last_column=0):this.yylloc.last_column++,this.yylloc.range[1]++,this._input=this._input.slice(e),t},unput:function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);if(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.yyleng=this.yytext.length,this.offset-=e,this.match=this.match.substr(0,this.match.length-e),this.matched=this.matched.substr(0,this.matched.length-e),r.length>1){this.yylineno-=r.length-1,this.yylloc.last_line=this.yylineno+1;var n=this.match,o=n.split(/(?:\r\n?|\n)/g);1===o.length&&(o=(n=this.matched).split(/(?:\r\n?|\n)/g)),this.yylloc.last_column=o[o.length-1].length}else this.yylloc.last_column-=e;return this.yylloc.range[1]=this.yylloc.range[0]+this.yyleng,this.done=!1,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else{var t="";this.yylloc&&(t=" on line "+(this.yylineno+1));var e=this.constructLexErrorInfo("Lexical error"+t+": You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).",!1);this._signaled_error_token=this.parseError(e.errStr,e,this.JisonLexerError)||this.ERROR}return this},less:function(t){return this.unput(this.match.slice(t))},pastInput:function(t,e){var r=this.matched.substring(0,this.matched.length-this.match.length);t<0?t=r.length:t||(t=20),e<0?e=r.length:e||(e=1);var n=(r=r.substr(2*-t-2)).replace(/\r\n|\r/g,"\n").split("\n");return(r=(n=n.slice(-e)).join("\n")).length>t&&(r="..."+r.substr(-t)),r},upcomingInput:function(t,e){var r=this.match;t<0?t=r.length+this._input.length:t||(t=20),e<0?e=t:e||(e=1),r.length<2*t+2&&(r+=this._input.substring(0,2*t+2));var n=r.replace(/\r\n|\r/g,"\n").split("\n");return(r=(n=n.slice(0,e)).join("\n")).length>t&&(r=r.substring(0,t)+"..."),r},showPosition:function(t,e){var r=this.pastInput(t).replace(/\s/g," "),n=new Array(r.length+1).join("-");return r+this.upcomingInput(e).replace(/\s/g," ")+"\n"+n+"^"},deriveLocationInfo:function(t,e,r,n){var o={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]};return t&&(o.first_line=0|t.first_line,o.last_line=0|t.last_line,o.first_column=0|t.first_column,o.last_column=0|t.last_column,t.range&&(o.range[0]=0|t.range[0],o.range[1]=0|t.range[1])),(o.first_line<=0||o.last_line<o.first_line)&&(o.first_line<=0&&e&&(o.first_line=0|e.last_line,o.first_column=0|e.last_column,e.range&&(o.range[0]=0|t.range[1])),(o.last_line<=0||o.last_line<o.first_line)&&r&&(o.last_line=0|r.first_line,o.last_column=0|r.first_column,r.range&&(o.range[1]=0|t.range[0])),o.first_line<=0&&n&&(o.last_line<=0||n.last_line<=o.last_line)&&(o.first_line=0|n.first_line,o.first_column=0|n.first_column,n.range&&(o.range[0]=0|n.range[0])),o.last_line<=0&&n&&(o.first_line<=0||n.first_line>=o.first_line)&&(o.last_line=0|n.last_line,o.last_column=0|n.last_column,n.range&&(o.range[1]=0|n.range[1]))),o.last_line<=0&&(o.first_line<=0?(o.first_line=this.yylloc.first_line,o.last_line=this.yylloc.last_line,o.first_column=this.yylloc.first_column,o.last_column=this.yylloc.last_column,o.range[0]=this.yylloc.range[0],o.range[1]=this.yylloc.range[1]):(o.last_line=this.yylloc.last_line,o.last_column=this.yylloc.last_column,o.range[1]=this.yylloc.range[1])),o.first_line<=0&&(o.first_line=o.last_line,o.first_column=0,o.range[1]=o.range[0]),o.first_column<0&&(o.first_column=0),o.last_column<0&&(o.last_column=o.first_column>0?o.first_column:80),o},prettyPrintRange:function(t,e,r){t=this.deriveLocationInfo(t,e,r);var n=(this.matched+this._input).split("\n"),o=Math.max(1,e?e.first_line:t.first_line-3),i=Math.max(1,r?r.last_line:t.last_line+1),a=1+Math.log10(1|i)|0,c=new Array(a).join(" "),s=[],u=n.slice(o-1,i+1).map(function(e,r){var n=r+o,i=(c+n).substr(-a)+": "+e,u=new Array(a+1).join("^"),l=3,f=0;return n===t.first_line?(l+=t.first_column,f=Math.max(2,(n===t.last_line?t.last_column:e.length)-t.first_column+1)):n===t.last_line?f=Math.max(2,t.last_column+1):n>t.first_line&&n<t.last_line&&(f=Math.max(2,e.length+1)),f&&(i+="\n"+u+new Array(l).join(".")+new Array(f).join("^"),e.trim().length>0&&s.push(r)),i.replace(/\t/g," ")});if(s.length>4){var l=s[1]+1,f=s[s.length-2]-1,p=new Array(a+1).join(" ")+" (...continued...)";p+="\n"+new Array(a+1).join("-")+" (---------------)",u.splice(l,f-l+1,p)}return u.join("\n")},describeYYLLOC:function(t,e){var r,n=t.first_line,o=t.last_line,i=t.first_column,a=t.last_column;if(0===o-n?(r="line "+n+", ",r+=a-i<=1?"column "+i:"columns "+i+" .. "+a):r="lines "+n+"(column "+i+") .. "+o+"(column "+a+")",t.range&&e){var c=t.range[0],s=t.range[1]-1;r+=s<=c?" {String Offset: "+c+"}":" {String Offset range: "+c+" .. "+s+"}"}return r},test_match:function(t,e){var r,n,o,i,a;if(this.options.backtrack_lexer&&(o={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.yylloc.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column,range:this.yylloc.range.slice(0)},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done}),a=(i=t[0]).length,(n=i.split(/(?:\r\n?|\n)/g)).length>1?(this.yylineno+=n.length-1,this.yylloc.last_line=this.yylineno+1,this.yylloc.last_column=n[n.length-1].length):this.yylloc.last_column+=a,this.yytext+=i,this.match+=i,this.matched+=i,this.matches=t,this.yyleng=this.yytext.length,this.yylloc.range[1]+=a,this.offset+=a,this._more=!1,this._backtrack=!1,this._input=this._input.slice(a),r=this.performAction.call(this,this.yy,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var c in o)this[c]=o[c];return this.__currentRuleSet__=null,!1}return!!this._signaled_error_token&&(r=this._signaled_error_token,this._signaled_error_token=!1,r)},next:function(){if(this.done)return this.clear(),this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||this.clear();var o=this.__currentRuleSet__;if(!(o||(o=this.__currentRuleSet__=this._currentRules())&&o.rules)){var i="";this.options.trackPosition&&(i=" on line "+(this.yylineno+1));var a=this.constructLexErrorInfo("Internal lexer engine error"+i+': The lex grammar programmer pushed a non-existing condition name "'+this.topState()+'"; this is a fatal error and should be reported to the application programmer team!',!1);return this.parseError(a.errStr,a,this.JisonLexerError)||this.ERROR}for(var c=o.rules,s=o.__rule_regexes,u=o.__rule_count,l=1;l<=u;l++)if((r=this._input.match(s[l]))&&(!e||r[0].length>e[0].length)){if(e=r,n=l,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,c[l])))return t;if(this._backtrack){e=void 0;continue}return!1}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,c[n]))&&t;if(this._input){i="",this.options.trackPosition&&(i=" on line "+(this.yylineno+1)),a=this.constructLexErrorInfo("Lexical error"+i+": Unrecognized text.",this.options.lexerErrorsAreRecoverable);var f=this._input,p=this.topState(),h=this.conditionStack.length;return(t=this.parseError(a.errStr,a,this.JisonLexerError)||this.ERROR)===this.ERROR&&(this.matches||f!==this._input||p!==this.topState()||h!==this.conditionStack.length||this.input()),t}return this.done=!0,this.clear(),this.EOF},lex:function(){var t;for("function"==typeof this.pre_lex&&(t=this.pre_lex.call(this,0)),"function"==typeof this.options.pre_lex&&(t=this.options.pre_lex.call(this,t)||t),this.yy&&"function"==typeof this.yy.pre_lex&&(t=this.yy.pre_lex.call(this,t)||t);!t;)t=this.next();return this.yy&&"function"==typeof this.yy.post_lex&&(t=this.yy.post_lex.call(this,t)||t),"function"==typeof this.options.post_lex&&(t=this.options.post_lex.call(this,t)||t),"function"==typeof this.post_lex&&(t=this.post_lex.call(this,t)||t),t},fastLex:function(){for(var t;!t;)t=this.next();return t},canIUse:function(){return{fastLex:!("function"==typeof this.pre_lex||"function"==typeof this.options.pre_lex||this.yy&&"function"==typeof this.yy.pre_lex||this.yy&&"function"==typeof this.yy.post_lex||"function"==typeof this.options.post_lex||"function"==typeof this.post_lex)&&"function"==typeof this.fastLex}},begin:function(t){return this.pushState(t)},pushState:function(t){return this.conditionStack.push(t),this.__currentRuleSet__=null,this},popState:function(){return this.conditionStack.length-1>0?(this.__currentRuleSet__=null,this.conditionStack.pop()):this.conditionStack[0]},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]]:this.conditions.INITIAL},stateStackSize:function(){return this.conditionStack.length},options:{trackPosition:!0},JisonLexerError:t,performAction:function(t,e,r){if(1!==e)return this.simpleCaseActionClusters[e]},simpleCaseActionClusters:{0:13,2:5,3:6,4:3,5:4,6:15,7:15,8:15,9:15,10:15,11:15,12:16,13:16,14:16,15:16,16:17,17:17,18:18,19:18,20:19,21:19,22:19,23:20,24:21,25:22,26:23,27:25,28:24,29:26,30:27,31:28,32:11,33:9,34:12,35:10,36:7,37:8,38:14,39:1},rules:[/^(?:(--[\d\-A-Za-z]*))/,/^(?:\s+)/,/^(?:\*)/,/^(?:\/)/,/^(?:\+)/,/^(?:-)/,/^(?:(\d+(\.\d*)?|\.\d+)px\b)/,/^(?:(\d+(\.\d*)?|\.\d+)cm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)mm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)in\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pt\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pc\b)/,/^(?:(\d+(\.\d*)?|\.\d+)deg\b)/,/^(?:(\d+(\.\d*)?|\.\d+)grad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)turn\b)/,/^(?:(\d+(\.\d*)?|\.\d+)s\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ms\b)/,/^(?:(\d+(\.\d*)?|\.\d+)Hz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)kHz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpi\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpcm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dppx\b)/,/^(?:(\d+(\.\d*)?|\.\d+)em\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ex\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ch\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rem\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vw\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vh\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmin\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmax\b)/,/^(?:(\d+(\.\d*)?|\.\d+)%)/,/^(?:(\d+(\.\d*)?|\.\d+)\b)/,/^(?:(calc))/,/^(?:(var))/,/^(?:([a-z]+))/,/^(?:\()/,/^(?:\))/,/^(?:,)/,/^(?:$)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],inclusive:!0}}};return e}();function a(){this.yy={}}return o.lexer=i,a.prototype=o,o.Parser=a,new a}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)}},39361:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},40074:(t,e,r)=>{var n=r(90313),o=r(70310),i=r(23945),a=r(74535),c=i(function(t,e){if(null==t)return[];var r=e.length;return r>1&&a(t,e[0],e[1])?e=[]:r>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),o(t,n(e,1),[])});t.exports=c},40105:(t,e,r)=>{var n=r(65111),o=r(3334),i=r(41393),a=r(53142);t.exports=function(t,e){return(a(t)?n:i)(t,o(e,3))}},40165:(t,e,r)=>{var n=r(96902),o=r(74535),i=r(43301);t.exports=function(t){return function(e,r,a){return a&&"number"!=typeof a&&o(e,r,a)&&(r=a=void 0),e=i(e),void 0===r?(r=e,e=0):r=i(r),a=void 0===a?e<r?1:-1:i(a),n(e,r,a,t)}}},41393:(t,e,r)=>{var n=r(84570),o=r(36529);t.exports=function(t,e){var r=-1,i=o(t)?Array(t.length):[];return n(t,function(t,n,o){i[++r]=e(t,n,o)}),i}},41580:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},41762:(t,e,r)=>{"use strict";r.d(e,{AW:()=>P,BU:()=>O,Me:()=>_,Mn:()=>m,OV:()=>A,X_:()=>k,aS:()=>w,ee:()=>j});var n=r(8138),o=r.n(n),i=r(46123),a=r.n(i),c=r(3668),s=r.n(c),u=r(53142),l=r.n(u),f=r(14041),p=r(76800),h=r(81649),d=r(20514);function y(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var v={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"}
2,m=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},g=null,b=null,x=function t(e){if(e===g&&l()(b))return b;var r=[];return f.Children.forEach(e,function(e){s()(e)||((0,p.isFragment)(e)?r=r.concat(t(e.props.children)):r.push(e))}),b=r,g=e,r},w=function(t,e){var r=[],n=[];return n=l()(e)?e.map(function(t){return m(t)}):[m(e)],x(t).forEach(function(t){var e=a()(t,"type.displayName")||a()(t,"type.name");-1!==n.indexOf(e)&&r.push(t)}),r},O=function(t,e){var r=w(t,e);return r&&r[0]},_=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!(!(0,h.Et)(r)||r<=0||!(0,h.Et)(n)||n<=0)},E=["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"],A=function t(e,r){if(e===r)return!0;var n=f.Children.count(e);if(n!==f.Children.count(r))return!1;if(0===n)return!0;if(1===n)return S(l()(e)?e[0]:e,l()(r)?r[0]:r);for(var o=0;o<n;o++){var i=e[o],a=r[o];if(l()(i)||l()(a)){if(!t(i,a))return!1}else if(!S(i,a))return!1}return!0},S=function(t,e){if(s()(t)&&s()(e))return!0;if(!s()(t)&&!s()(e)){var r=t.props||{},n=r.children,o=y(r,["children"]),i=e.props||{},a=i.children,c=y(i,["children"]);return n&&a?(0,d.b)(o,c)&&A(n,a):!n&&!a&&(0,d.b)(o,c)}return!1},j=function(t,e){var r=[],n={};return x(t).forEach(function(t,i){if(function(t){return t&&t.type&&o()(t.type)&&E.indexOf(t.type)>=0}(t))r.push(t);else if(t){var a=m(t.type),c=e[a]||{},s=c.handler,u=c.once;if(s&&(!u||!n[a])){var l=s(t,a,i);r.push(l),n[a]=!0}}}),r},k=function(t){var e=t&&t.type;return e&&v[e]?v[e]:null},P=function(t,e){return x(e).indexOf(t)}},41950:(t,e,r)=>{var n=r(78942)["__core-js_shared__"];t.exports=n},43282:(t,e,r)=>{var n=r(12762),o=r(98880),i=r(65187),a=r(66040);t.exports=function(t){return i(t)?n(a(t)):o(t)}},43301:(t,e,r)=>{var n=r(28512),o=1/0;t.exports=function(t){return t?(t=n(t))===o||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},43316:t=>{t.exports=function(t,e,r){for(var n=-1,o=null==t?0:t.length;++n<o;)if(r(e,t[n]))return!0;return!1}},43636:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},44700:(t,e,r)=>{var n=r(79067);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},45770:(t,e,r)=>{var n=r(36529);t.exports=function(t,e){return function(r,o){if(null==r)return r;if(!n(r))return t(r,o);for(var i=r.length,a=e?i:-1,c=Object(r);(e?a--:++a<i)&&!1!==o(c[a],a,c););return r}}},46123:(t,e,r)=>{var n=r(57923);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},46155:(t,e,r)=>{var n=r(57073),o=r(47170),i=r(3334);t.exports=function(t,e){var r={};return e=i(e,3),o(t,function(t,o,i){n(r,o,e(t,o,i))}),r}},46285:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},46343:(t,e,r)=>{var n=r(94687);t.exports=function(t,e){return n(t,e)}},46775:(t,e,r)=>{var n=r(63521);t.exports=function(t,e,r){for(var o=-1,i=t.criteria,a=e.criteria,c=i.length,s=r.length;++o<c;){var u=n(i[o],a[o]);if(u)return o>=s?u:u*("desc"==r[o]?-1:1)}return t.index-e.index}},47073:t=>{t.exports=function(t){return t!=t}},47170:(t,e,r)=>{var n=r(35636),o=r(81211);t.exports=function(t,e){return t&&n(t,e,o)}},47217:(t,e,r)=>{var n=r(90988),o=r(2840),i=r(22053);t.exports=function(t){return t&&t.length?n(t,i,o):void 0}},47403:(t,e,r)=>{var n=r(82619),o=r(72532),i=r(22053),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:i;t.exports=a},47939:(t,e,r)=>{"use strict";var n=r(66358);
2e.__esModule=!0,e.default=function(t,e){t.classList?t.classList.add(e):(0,o.default)(t,e)||("string"==typeof t.className?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))};var o=n(r(2022));t.exports=e.default},48244:(t,e,r)=>{var n=r(33510),o=r(53142);t.exports=function(t,e,r){var i=e(t);return o(t)?i:n(i,r(t))}},48983:(t,e,r)=>{var n=r(36465),o=r(3334),i=r(72127),a=r(53142),c=r(74535);t.exports=function(t,e,r){var s=a(t)?n:i;return r&&c(t,e,r)&&(e=void 0),s(t,o(e,3))}},49460:t=>{t.exports=function(t){return function(e){return t(e)}}},49753:(t,e,r)=>{var n=r(25098),o=r(1386),i=r(19770);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},49791:(t,e,r)=>{"use strict";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 o(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){i(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,{IZ:()=>s,Kg:()=>a,yy:()=>l}),r(3668);var a=Math.PI/180,c=function(t){return 180*t/Math.PI},s=function(t,e,r,n){return{x:t+Math.cos(-a*n)*r,y:e+Math.sin(-a*n)*r}},u=function(t,e){var r=e.startAngle,n=e.endAngle,o=Math.floor(r/360),i=Math.floor(n/360);return t+360*Math.min(o,i)},l=function(t,e){var r=function(t,e){var r,n,o,i,a,s,u=t.x,l=t.y,f=e.cx,p=e.cy,h=(o=(r={x:u,y:l}).x,i=r.y,a=(n={x:f,y:p}).x,s=n.y,Math.sqrt(Math.pow(o-a,2)+Math.pow(i-s,2)));if(h<=0)return{radius:h};var d=(u-f)/h,y=Math.acos(d);return l>p&&(y=2*Math.PI-y),{radius:h,angle:c(y),angleInRadian:y}}({x:t.x,y:t.y},e),n=r.radius,i=r.angle,a=e.innerRadius,s=e.outerRadius;if(n<a||n>s)return!1;if(0===n)return!0;var l,f=function(t){var e=t.startAngle,r=t.endAngle,n=Math.floor(e/360),o=Math.floor(r/360),i=Math.min(n,o);return{startAngle:e-360*i,endAngle:r-360*i}}(e),p=f.startAngle,h=f.endAngle,d=i;if(p<=h){for(;d>h;)d-=360;for(;d<p;)d+=360;l=d>=p&&d<=h}else{for(;d>p;)d-=360;for(;d<h;)d+=360;l=d>=h&&d<=p}return l?o(o({},e),{},{radius:n,angle:u(d,e)}):null}},49828:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},50642:t=>{t.exports=function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}},50768:t=>{var e="(".charCodeAt(0),r=")".charCodeAt(0),n="'".charCodeAt(0),o='"'.charCodeAt(0),i="\\".charCodeAt(0),a="/".charCodeAt(0),c=",".charCodeAt(0),s=":".charCodeAt(0),u="*".charCodeAt(0);t.exports=function(t){for(var l,f,p,h,d,y,v,m,g=[],b=t,x=0,w=b.charCodeAt(x),O=b.length,_=[{nodes:g}],E=0,A="",S="",j="";x<O;)if(w<=32){l=x;do{l+=1,w=b.charCodeAt(l)}while(w<=32);h=b.slice(x,l),p=g[g.length-1],w===r&&E?j=h:p&&"div"===p.type?p.after=h:w===c||w===s||w===a&&b.charCodeAt(l+1)!==u?S=h:g.push({type:"space",sourceIndex:x,value:h}),x=l}else if(w===n||w===o){l=x,h={type:"string",sourceIndex:x,quote:f=w===n?"'":'"'};do{if(d=!1,~(l=b.indexOf(f,l+1)))for(y=l;b.charCodeAt(y-1)===i;)y-=1,d=!d;else l=(b+=f).length-1,h.unclosed=!0}while(d);h.value=b.slice(x+1,l),g.push(h),x=l+1,w=b.charCodeAt(x)}else if(w===a&&b.charCodeAt(x+1)===u)h={type:"comment",sourceIndex:x},-1===(l=b.indexOf("*/",x))&&(h.unclosed=!0,l=b.length),h.value=b.slice(x+2,l),g.push(h),x=l+2,w=b.charCodeAt(x);else if(w===a||w===c||w===s)h=b[x],g.push({type:"div",sourceIndex:x-S.length,value:h,before:S,after:""}),S="",x+=1,w=b.charCodeAt(x);else if(e===w){l=x;do{l+=1,w=b.charCodeAt(l)}while(w<=32);if(h={type:"function",sourceIndex:x-A.length,value:A,before:b.slice(x+1,l)},x=l,"url"===A&&w!==n&&w!==o){l-=1;do{if(d=!1,~(l=b.indexOf(")",l+1)))for(y=l;b.charCodeAt(y-1)===i;)y-=1,d=!d;else l=(b+=")").length-1,h.unclosed=!0}while(d);v=l;do{v-=1,w=b.charCodeAt(v)}while(w<=32);h.nodes=x!==v+1?[{type:"word",sourceIndex:x,value:b.slice(x,v+1)}]:[],h.unclosed&&v+1!==l?(h.after="",h.nodes.push({type:"space",sourceIndex:v+1,value:b.slice(v+1,l)})):h.after=b.slice(v+1,l),x=l+1,w=b.charCodeAt(x),g.push(h)}else E+=1,h.after="",g.push(h),_.push(h),g=h.nodes=[],m=h;A=""}else if(r===w&&E)x+=1,w=b.charCodeAt(x),m.after=j,j="",E-=1,_.pop(),g=(m=_[E]).nodes;else{l=x;do{w===i&&(l+=1),l+=1,w=b.charCodeAt(l)}while(l<O&&!(w<=32||w===n||w===o||w===c||w===s||w===a||w===e||w===r&&E));h=b.slice(x,l),e===w?A=h:g.push({type:"word",sourceIndex:x,value:h}),x=l}for(x=_.length-1;x;x-=1)_[x].unclosed=!0;return _[0].nodes}},51187:(t,e,r)=>{var n=r(87379),o=r(80547);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},51340:(t,e,r)=>{var n=r(1386),o=r(64103),i=r(21779),a=r(34162),c=r(7462),s=r(96638);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=c,u.prototype.set=s,t.exp
2orts=u},51492:(t,e,r)=>{"use strict";r.d(e,{h:()=>n});var n=function(){return null};n.displayName="YAxis",n.defaultProps={allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",domain:[0,"auto"],padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1}},52291:(t,e,r)=>{var n=r(65650),o=r(65111),i=r(53142),a=r(51187),c=n?n.prototype:void 0,s=c?c.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return s?s.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r}},52837:t=>{t.exports=function(t){return t.split("")}},53142:t=>{var e=Array.isArray;t.exports=e},54732:(t,e,r)=>{var n=r(44700);t.exports=function(t){return n(this,t).has(t)}},55634:(t,e,r)=>{"use strict";r.d(e,{c:()=>p});var n=r(14041),o=r(53373),i=r.n(o),a=r(19773);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},c(t)}function s(){return s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},s.apply(this,arguments)}function u(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)}}function l(t,e){return l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},l(t,e)}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(d,t);var e,r,o,p,h=(o=d,p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=f(o);if(p){var r=f(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,t)});function d(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d),h.apply(this,arguments)}return e=d,(r=[{key:"render",value:function(){var t=this.props,e=t.cx,r=t.cy,o=t.r,c=t.className,u=i()("recharts-dot",c);return e===+e&&r===+r&&o===+o?n.createElement("circle",s({},(0,a.J9)(this.props),(0,a._U)(this.props),{className:u,cx:e,cy:r,r:o})):null}}])&&u(e.prototype,r),d}(n.PureComponent)},55836:(t,e)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,d=(r&&Symbol.for("react.suspense_list"),r?Symbol.for("react.memo"):60115),y=r?Symbol.for("react.lazy"):60116;r&&Symbol.for("react.block"),r&&Symbol.for("react.fundamental"),r&&Symbol.for("react.responder"),r&&Symbol.for("react.scope");function v(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case l:case f:case i:case c:case a:case h:return t;default:switch(t=t&&t.$$typeof){case u:case p:case y:case d:case s:return t;default:return e}}case o:return e}}}e.isFragment=function(t){return v(t)===i}},56027:(t,e,r)=>{var n=r(87379),o=r(80547);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},56663:(t,e,r)=>{var n=r(50768),o=r(65742),i=r(85870);function a(t){return this instanceof a?(this.nodes=n(t),this):new a(t)}a.prototype.toString=function(){return Array.isArray(this.nodes)?i(this.nodes):""},a.prototype.walk=function(t,e){return o(this.nodes,t,e),this},a.unit=r(34637),a.walk=o,a.stringify=i,t.exports=a},57073:(t,e,r)=>{var n=r(72532);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},57452:(t,e,r)=>{var n=r(94497);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},57491:(t,e,r)=>{"use strict";r.d(e,{A:()=>i,z:()=>c});var n=r(32340),o=r(94859);function i(){var t,e,r=(0,o.A)().unknown(void 0),a=r.domain,c=r.range,s=0,u=1,l=!1,f=0,p=0,h=.5;function d(){var r=a().length,n=u<s,o=n?u:s,i=n?s:u;t=(i-o)/Math.max(1,r-f+2*p),l&&(t=Math.floor(t)),o+=(i-o-t*(r-f))*h,e=t*(1-f),l&&(o=Math.round(o),e=Math.round(e));var d=function(t,e,r){t=+t,e=+e,r=(o=arguments.length)<2?(e=t,t=0,1):o<3?1:+r;for(var n=-1,o=0|Math.max(0,Math.ceil((e-t)/r)),i=new Array(o);++n<o;)i[n]=t+n*r;return i}(r).map(function(e){return o+t*e});return c(n?d.reverse():d)}return delete r.unknown,r.domain=function(t){return arguments.length?(a(t),d()):a()},r.range=function(t){return arguments.length?([s,u]=t,s=+s,u=+u,d()):[s,u]},r.rangeRound=function(t){return[s,u]=t,s=+s,u=+u,l=!0,d()},r.bandwidth=function(){return e},r.step=function(){return t},r.round=function(t){return arguments.length?(l=!!t,d()):l},r.padding=function(t){return arguments.length?(f=Math.min(1,p=+t),d()):f},r.paddingInner=function(t){return arguments.length?(f=Math.min(1,t),d()):f},r.paddingOuter=function(t){return arguments.length?(p=+t,d()):p},r.align=function(t){return arguments.length?(h=Math.max(0,Math.min(1,t)),d()):h},r.copy=function(){return i(a(),[s,u]).round(l).paddingInner(f).paddingOuter(p).align(h)},n.C.apply(d(),arguments)}function a(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return a(e())},t}function c(){return a(i.apply(null,arguments).paddingInner(1))}},57923:(t,e,r)=>{var n=r(93526),o=r(66040);t.exports=function(t,e){for(var r=0,i=(e=n(e,t)).length;null!=t&&r<i;)t=t[o(e[r++])];return r&&r==i?t:void 0}},58972:(t,e,r)=>{"use strict";r.d(e,{s0:()=>ze,gH:()=>Re,YB:()=>Je,HQ:()=>He,xi:()=>Ke,Hj:()=>lr,BX:()=>Be,tA:()=>Le,DW:()=>or,y2:()=>nr,nb:()=>rr,PW:()=>qe,Ay:()=>Ie,vf:()=>Ue,Mk:()=>ar,g1:()=>De,Ps:()=>Ne,Mn:()=>tr,kA:()=>ir,Rh:()=>Ge,w7:()=>er,zb:()=>pr,kr:()=>Te,_L:()=>Ve,KC:()=>fr,A1:()=>We,W7:()=>Xe,AQ:()=>ur,_f:()=>Ze});var n={};r.r(n),r.d(n,{scaleBand:()=>tt.A,scaleDiverging:()=>fe,scaleDivergingLog:()=>pe,scaleDivergingPow:()=>de,scaleDivergingSqrt:()=>ye,scaleDivergingSymlog:()=>he,scaleIdentity:()=>nt,scaleImplicit:()=>Ot.h,scaleLinear:()=>et.A,scaleLog:()=>mt,scaleOrdinal:()=>Ot.A,scalePoint:()=>tt.z,scalePow:()=>jt,scaleQuantile:()=>Ft,scaleQuantize:()=>Wt,scaleRadial:()=>Mt,scaleSequential:()=>oe,scaleSequentialLog:()=>ie,scaleSequentialPow:()=>ce,scaleSequentialQuantile:()=>ue,scaleSequentialSqrt:()=>se,scaleSequentialSymlog:()=>ae,scaleSqrt:()=>kt,scaleSymlog:()=>wt,scaleThreshold:()=>Ut,scaleTime:()=>Vt.A,scaleUtc:()=>Qt,tickFormat:()=>ve.A});var o=r(46343),i=r.n(o),a=r(40074),c=r.n(a),s=r(76806),u=r.n(s),l=r(5485),f=r.n(l),p=r(8138),h=r.n(p),d=r(53142),y=r.n(d),v=r(47217),m=r.n(v),g=r(7011),b=r.n(g),x=r(66652),w=r.n(x),O=r(93655),_=r.n(O),E=r(46123),A=r.n(E),S=r(3668),j=r.n(S),k=r(17760),P=r.n(k);function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var C=function(t){return t},T={"@@functional/placeholder":!0},I=function(t){return t===T},R=function(t){return function e(){return 0===arguments.length||1===arguments.length&&I(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},N=function t(e,r){return 1===e?r:R(function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var a=o.filter(function(t){return t!==T}).length;return a>=e?r.apply(void 0,o):t(e-a,R(function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,a=o.map(function(t){return I(t)?e.shift():t});return r.apply(void 0,(i=a,function(t){if(Array.isArray(t))return M(t)}(i)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(i)||function(t,e){if(t){if("string"==typeof t)return M(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?M(t,e):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat(e))}))})},D=function(t){return N(t.length,t)},L=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},B=D(function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map(function(t){return e[t]}).map(t)}),z=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return C;var n=e.reverse(),o=n[0],i=n.slice(1);return function(){return i.reduce(function(t,e){return e(t)},o.apply(void 0,arguments))}},F=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},W=function(t){var e=null,r=null;return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return e&&o.every(function(t,r){return t===e[r]})?r:(e=o,r=t.apply(void 0,o))}};const U=function(t,e,r){for(var n=new(P())(t),o=0,i=[];n.lt(e)&&o<1e5;)i.push(n.toNumber()),n=n.add(r),o++;return i},V=function(t){return 0===t?1:Math.floor(new(P())(t).abs().log(10).toNumber())+1};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||1/0)}),D(function(t,e,r){var n=e-+t;return n=n||1/0,Math.max(0,Math.min(1,(r-t)/n))});function q(t){return function(t){if(Array.isArray(t))return X(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||H(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}(t,e)||H(t,e)||function(){throw new TypeError("Invalid attempt to de
2structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(t,e){if(t){if("string"==typeof t)return X(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?X(t,e):void 0}}function X(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function $(t){var e=G(t,2),r=e[0],n=e[1],o=r,i=n;return r>n&&(o=n,i=r),[o,i]}function J(t,e,r){if(t.lte(0))return new(P())(0);var n=V(t.toNumber()),o=new(P())(10).pow(n),i=t.div(o),a=1!==n?.05:.1,c=new(P())(Math.ceil(i.div(a).toNumber())).add(r).mul(a).mul(o);return e?c:new(P())(Math.ceil(c))}function K(t,e,r){var n=1,o=new(P())(t);if(!o.isint()&&r){var i=Math.abs(t);i<1?(n=new(P())(10).pow(V(t)-1),o=new(P())(Math.floor(o.div(n).toNumber())).mul(n)):i>1&&(o=new(P())(Math.floor(t)))}else 0===t?o=new(P())(Math.floor((e-1)/2)):r||(o=new(P())(Math.floor(t)));var a=Math.floor((e-1)/2);return z(B(function(t){return o.add(new(P())(t-a).mul(n)).toNumber()}),L)(0,e)}function Z(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((e-t)/(r-1)))return{step:new(P())(0),tickMin:new(P())(0),tickMax:new(P())(0)};var i,a=J(new(P())(e).sub(t).div(r-1),n,o);i=t<=0&&e>=0?new(P())(0):(i=new(P())(t).add(e).div(2)).sub(new(P())(i).mod(a));var c=Math.ceil(i.sub(t).div(a).toNumber()),s=Math.ceil(new(P())(e).sub(i).div(a).toNumber()),u=c+s+1;return u>r?Z(t,e,r,n,o+1):(u<r&&(s=e>0?s+(r-u):s,c=e>0?c:c+(r-u)),{step:a,tickMin:i.sub(new(P())(c).mul(a)),tickMax:i.add(new(P())(s).mul(a))})}var Y=W(function(t){var e=G(t,2),r=e[0],n=e[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),c=G($([r,n]),2),s=c[0],u=c[1];if(s===-1/0||u===1/0){var l=u===1/0?[s].concat(q(L(0,o-1).map(function(){return 1/0}))):[].concat(q(L(0,o-1).map(function(){return-1/0})),[u]);return r>n?F(l):l}if(s===u)return K(s,o,i);var f=Z(s,u,a,i),p=f.step,h=f.tickMin,d=f.tickMax,y=U(h,d.add(new(P())(.1).mul(p)),p);return r>n?F(y):y}),Q=(W(function(t){var e=G(t,2),r=e[0],n=e[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),c=G($([r,n]),2),s=c[0],u=c[1];if(s===-1/0||u===1/0)return[r,n];if(s===u)return K(s,o,i);var l=J(new(P())(u).sub(s).div(a-1),i,0),f=z(B(function(t){return new(P())(s).add(new(P())(t).mul(l)).toNumber()}),L)(0,a).filter(function(t){return t>=s&&t<=u});return r>n?F(f):f}),W(function(t,e){var r=G(t,2),n=r[0],o=r[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=G($([n,o]),2),c=a[0],s=a[1];if(c===-1/0||s===1/0)return[n,o];if(c===s)return[c];var u=Math.max(e,2),l=J(new(P())(s).sub(c).div(u-1),i,0),f=[].concat(q(U(new(P())(c),new(P())(s).sub(new(P())(.99).mul(l)),l)),[s]);return n>o?F(f):f})),tt=r(57491),et=r(77768),rt=r(87387);function nt(t){var e;function r(t){return null==t||isNaN(t=+t)?e:t}return r.invert=r,r.domain=r.range=function(e){return arguments.length?(t=Array.from(e,rt.A),r):t.slice()},r.unknown=function(t){return arguments.length?(e=t,r):e},r.copy=function(){return nt(t).unknown(e)},t=arguments.length?Array.from(t,rt.A):[0,1],(0,et.C)(r)}var ot=r(91121),it=r(82226),at=r(41821),ct=r(69359),st=r(50091),ut=r(32340);function lt(t){return Math.log(t)}function ft(t){return Math.exp(t)}function pt(t){return-Math.log(-t)}function ht(t){return-Math.exp(-t)}function dt(t){return isFinite(t)?+("1e"+t):t<0?0:t}function yt(t){return(e,r)=>-t(-e,r)}function vt(t){const e=t(lt,ft),r=e.domain;let n,o,i=10;function a(){return n=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),e=>Math.log(e)/t)}(i),o=function(t){return 10===t?dt:t===Math.E?Math.exp:e=>Math.pow(t,e)}(i),r()[0]<0?(n=yt(n),o=yt(o),t(pt,ht)):t(lt,ft),e}return e.base=function(t){return arguments.length?(i=+t,a()):i},e.domain=function(t){return arguments.length?(r(t),a()):r()},e.ticks=t=>{const e=r();let a=e[0],c=e[e.length-1];const s=c<a;s&&([a,c]=[c,a]);let u,l,f=n(a),p=n(c);const h=null==t?10:+t;let d=[];
2if(!(i%1)&&p-f<h){if(f=Math.floor(f),p=Math.ceil(p),a>0){for(;f<=p;++f)for(u=1;u<i;++u)if(l=f<0?u/o(-f):u*o(f),!(l<a)){if(l>c)break;d.push(l)}}else for(;f<=p;++f)for(u=i-1;u>=1;--u)if(l=f>0?u/o(-f):u*o(f),!(l<a)){if(l>c)break;d.push(l)}2*d.length<h&&(d=(0,ot.Ay)(a,c,h))}else d=(0,ot.Ay)(f,p,Math.min(p-f,h)).map(o);return s?d.reverse():d},e.tickFormat=(t,r)=>{if(null==t&&(t=10),null==r&&(r=10===i?"s":","),"function"!=typeof r&&(i%1||null!=(r=(0,it.A)(r)).precision||(r.trim=!0),r=(0,at.GP)(r)),t===1/0)return r;const a=Math.max(1,i*t/e.ticks().length);return t=>{let e=t/o(Math.round(n(t)));return e*i<i-.5&&(e*=i),e<=a?r(t):""}},e.nice=()=>r((0,ct.A)(r(),{floor:t=>o(Math.floor(n(t))),ceil:t=>o(Math.ceil(n(t)))})),e}function mt(){const t=vt((0,st.Gu)()).domain([1,10]);return t.copy=()=>(0,st.C)(t,mt()).base(t.base()),ut.C.apply(t,arguments),t}function gt(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function bt(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function xt(t){var e=1,r=t(gt(e),bt(e));return r.constant=function(r){return arguments.length?t(gt(e=+r),bt(e)):e},(0,et.C)(r)}function wt(){var t=xt((0,st.Gu)());return t.copy=function(){return(0,st.C)(t,wt()).constant(t.constant())},ut.C.apply(t,arguments)}var Ot=r(94859);function _t(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function Et(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function At(t){return t<0?-t*t:t*t}function St(t){var e=t(st.D_,st.D_),r=1;return e.exponent=function(e){return arguments.length?1===(r=+e)?t(st.D_,st.D_):.5===r?t(Et,At):t(_t(r),_t(1/r)):r},(0,et.C)(e)}function jt(){var t=St((0,st.Gu)());return t.copy=function(){return(0,st.C)(t,jt()).exponent(t.exponent())},ut.C.apply(t,arguments),t}function kt(){return jt.apply(null,arguments).exponent(.5)}function Pt(t){return Math.sign(t)*t*t}function Mt(){var t,e=(0,st.Ay)(),r=[0,1],n=!1;function o(r){var o=function(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}(e(r));return isNaN(o)?t:n?Math.round(o):o}return o.invert=function(t){return e.invert(Pt(t))},o.domain=function(t){return arguments.length?(e.domain(t),o):e.domain()},o.range=function(t){return arguments.length?(e.range((r=Array.from(t,rt.A)).map(Pt)),o):r.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(n=!!t,o):n},o.clamp=function(t){return arguments.length?(e.clamp(t),o):e.clamp()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return Mt(e.domain(),r).round(n).clamp(e.clamp()).unknown(t)},ut.C.apply(o,arguments),(0,et.C)(o)}var Ct=r(4989);function Tt(t,e){let r;if(void 0===e)for(const e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let o of t)null!=(o=e(o,++n,t))&&(r>o||void 0===r&&o>=o)&&(r=o)}return r}var It=r(7017);function Rt(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:t>e?1:0)}function Nt(t,e,r=0,n=1/0,o){if(e=Math.floor(e),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(t.length-1,n)),!(r<=e&&e<=n))return t;for(o=void 0===o?Rt:function(t=It.A){if(t===It.A)return Rt;if("function"!=typeof t)throw new TypeError("compare is not a function");return(e,r)=>{const n=t(e,r);return n||0===n?n:(0===t(r,r))-(0===t(e,e))}}(o);n>r;){if(n-r>600){const i=n-r+1,a=e-r+1,c=Math.log(i),s=.5*Math.exp(2*c/3),u=.5*Math.sqrt(c*s*(i-s)/i)*(a-i/2<0?-1:1);Nt(t,e,Math.max(r,Math.floor(e-a*s/i+u)),Math.min(n,Math.floor(e+(i-a)*s/i+u)),o)}const i=t[e];let a=r,c=n;for(Dt(t,r,e),o(t[n],i)>0&&Dt(t,r,n);a<c;){for(Dt(t,a,c),++a,--c;o(t[a],i)<0;)++a;for(;o(t[c],i)>0;)--c}0===o(t[r],i)?Dt(t,r,c):(++c,Dt(t,c,n)),c<=e&&(r=c+1),e<=c&&(n=c-1)}return t}function Dt(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}var Lt=r(22494);function Bt(t,e,r=Lt.A){if((n=t.length)&&!isNaN(e=+e)){if(e<=0||n<2)return+r(t[0],0,t);if(e>=1)return+r(t[n-1],n-1,t);var n,o=(n-1)*e,i=Math.floor(o),a=+r(t[i],i,t);return a+(+r(t[i+1],i+1,t)-a)*(o-i)}}var zt=r(27153);function Ft(){var t,e=[],r=[],n=[];function o(){var t=0,o=Math.max(1,r.length);for(n=new Array(o-1);++t<o;)n[t-1]=Bt(e,t/o);return i}function i(e){return null==e||isNaN(e=+e)?t:r[(0,zt.Ay)(n,e)]}return i.invertExtent=function(t){var o=r.indexOf(t);return o<0?[NaN,NaN]:[o>0?n[o-1]:e[0],o<n.length?n[o]:e[e.length-1]]},i.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let r of t)null==r||isNaN(r=+r)||e.push(r);return e.sort(It.A),o()},i.range=function(t){return arguments.length?(r=Array.from(t),o()):r.slice()},i.unknown=function(e){return arguments.length?(t=e,i):t},i.quantiles=function(){return n.slice()},i.copy=function(){return Ft().domain(e).range(r).unknown(t)},ut.C.apply(i,arguments)}function Wt(){var t,e=0,r=1,n=1,o=[.5],i=[0,1];function a(e){return null!=e&&e<=e?i[(0,zt.Ay)(o,e,0,n)]:t}function c(){var t=-1;for(o=new Array(n);++t<n;)o[t]=((t+1)*r-(t-n)*e)/(n+1);return a}return a.domain=function(t){return arguments.length?([e,r]=t,e=+e,r=+r,c()):[e,r]},a.range=function(t){return arguments.length?(n=(i=Array.from(t)).length-1,c()):i.slice()},a.invertExtent=function(t){var a=i.indexOf(t);return a<0?[NaN,NaN]:a<1?[e,o[0]]:a>=n?[o[n-1],r]:[o[a-1],o[a]]},a.unknown=function(e){return arguments.length?(t=e,a):a},a.thresholds=function(){return o.slice()},a.copy=function(){return Wt().domain([e,r]).range(i).unknown(t)},ut.C.apply((0,et.C)(a),arguments)}function Ut(){var t,e=[.5],r=[0,1],n=1;function o(o){return null!=o&&o<=o?r[(0,zt.Ay)(e,o,0,n)]:t}return o.domain=function(t){return arguments.length?(e=Array.from(t),n=Math.min(e.length,r.length-1),o):e.slice()},o.range=function(t){return arguments.length?(r=Array.from(t),n=Math.min(e.length,r.length-1),o):r.slice()},o.invertExtent=function(t){var n=r.indexOf(t);return[e[n-1],e[n]]},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return Ut().domain(e).range(r).unknown(t)},ut.C.apply(o,arguments)}var Vt=r(93495),qt=r(45510),Gt=r(79404),Ht=r(31915),Xt=r(42793),$t=r(19751),Jt=r(14071),Kt=r(99329),Zt=r(99745),Yt=r(28362);function Qt(){return ut.C.apply((0,Vt.B)(qt.$Z,qt.lk,Gt.Mb,Ht.R6,Xt.Hl,$t.dA,Jt.pz,Kt.vD,Zt.R,Yt.aL).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}var te=r(38348),ee=r(23241);function re(){var t,e,r,n,o,i=0,a=1,c=st.D_,s=!1;function u(e){return null==e||isNaN(e=+e)?o:c(0===r?.5:(e=(n(e)-t)*r,s?Math.max(0,Math.min(1,e)):e))}function l(t){return function(e){var r,n;return arguments.length?([r,n]=e,c=t(r,n),u):[c(0),c(1)]}}return u.domain=function(o){return arguments.length?([i,a]=o,t=n(i=+i),e=n(a=+a),r=t===e?0:1/(e-t),u):[i,a]},u.clamp=function(t){return arguments.length?(s=!!t,u):s},u.interpolator=function(t){return arguments.length?(c=t,u):c},u.range=l(te.A),u.rangeRound=l(ee.A),u.unknown=function(t){return arguments.length?(o=t,u):o},function(o){return n=o,t=o(i),e=o(a),r=t===e?0:1/(e-t),u}}function ne(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function oe(){var t=(0,et.C)(re()(st.D_));return t.copy=function(){return ne(t,oe())},ut.K.apply(t,arguments)}function ie(){var t=vt(re()).domain([1,10]);return t.copy=function(){return ne(t,ie()).base(t.base())},ut.K.apply(t,arguments)}function ae(){var t=xt(re());return t.copy=function(){return ne(t,ae()).constant(t.constant())},ut.K.apply(t,arguments)}function ce(){var t=St(re());return t.copy=function(){return ne(t,ce()).exponent(t.exponent())},ut.K.apply(t,arguments)}function se(){return ce.apply(null,arguments).exponent(.5)}function ue(){var t=[],e=st.D_;function r(r){if(null!=r&&!isNaN(r=+r))return e(((0,zt.Ay)(t,r,1)-1)/(t.length-1))}return r.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let r of e)null==r||isNaN(r=+r)||t.push(r);return t.sort(It.A),r},r.interpolator=function(t){return arguments.length?(e=t,r):e},r.range=function(){return t.map((r,n)=>e(n/(t.length-1)))},r.quantiles=function(e){return Array.from({length:e+1},(r,n)=>function(t,e,r){if((n=(t=Float64Array.from((0,Lt.n)(t,r))).length)&&!isNaN(e=+e)){if(e<=0||n<2)return Tt(t);if(e>=1)return(0,Ct.A)(t);var n,o=(n-1)*e,i=Math.floor(o),a=(0,Ct.A)(Nt(t,i).subarray(0,i+1));return a+(Tt(t.subarray(i+1))-a)*(o-i)}}(t,n/e))},r.copy=function(){return ue(e).domain(t)},ut.K.apply(r,arguments)}function le(){var t,e,r,n,o,i,a,c=0,s=.5,u=1,l=1,f=st.D_,p=!1;function h(t){return isNaN(t=+t)?a:(t=.5+((t=+i(t))-e)*(l*t<l*e?n:o),f(p?Math.max(0,Math.min(1,t)):t))}function d(t){return function(e){var r,n,o;return arguments.length?([r,n,o]=e,f=function(t,e){void 0===e&&(e=t,t=te.A);for(var r=0,n=e.length-1,o=e[0],i=new Array(n<0?0:n);r<n;)i[r]=t(o,o=e[++r]);return function(t){var e=Math.max(0,Math.min(n-1,Math.floor(t*=n)));return i[e](t-e)}}(t,[r,n,o]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){return arguments.length?([c,s,u]=a,t=i(c=+c),e=i(s=+s),r=i(u=+u),n=t===e?0:.5/(e-t),o=e===r?0:.5/(r-e),l=e<t?-1:1,h):[c,s,u]},h.clamp=function(t){return arguments.length?(p=!!t,h):p},h.interpolator=function(t){return arguments.length?(f=t,h):f},h.range=d(te.A),h.rangeRound=d(ee.A),h.unknown=function(t){return arguments.length?(a=t,h):a},function(a){return i=a,t=a(c),e=a(s),r=a(u),n=t===e?0:.5/(e-t),o=e===r?0:.5/(r-e),l=e<t?-1:1,h}}function fe(){var t=(0,et.C)(le()(st.D_));return t.copy=function(){return ne(t,fe())},ut.K.apply(t,arguments)}function pe(){var t=vt(le()).domain([.1,1,10]);return t.copy=function(){return ne(t,pe()).base(t.base())},ut.K.apply(t,arguments)}function he(){var t=xt(le());return t.copy=function(){return ne(t,he()).constant(t.constant())},ut.K.apply(t,arguments)}function de(){var t=St(le());return t.copy=function(){return ne(t,de()).exponent(t.exponent())},ut.K.apply(t,arguments)}function ye(){return de.apply(null,arguments).exponent(.5)}var ve=r(72140);function me(t,e){if((o=t.length)>1)for(var r,n,o,i=1,a=t[e[0]],c=a.length;i<o;++i)for(n=a,a=t[e[i]],r=0;r<c;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}var ge=r(44850),be=r(49855);function xe(t){for(var e=t.length,r=new Array(e);--e>=0;)r[e]=e;return r}function we(t,e){return t[e]}function Oe(t){const e=[];return e.key=t,e}var _e=r(81649),Ee=r(3733),Ae=r(41762),Se=r(19773);function je(t){return function(t){if(Array.isArray(t))return ke(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return ke(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ke(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ke(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Pe(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 Me(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?Pe(Object(r),!0).forEach(function(e){Ce(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pe(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function Ce(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Te(t,e,r){return j()(t)||j()(e)?r:(0,_e.vh)(e)?A()(t,e,r):_()(e)?e(t):r}function Ie(t,e,r,n){var o=w()(t,function(t){return Te(t,e)});if("number"===r){var i=o.filter(function(t){return(0,_e.Et)(t)||parseFloat(t)});return i.length?[b()(i),m()(i)]:[1/0,-1/0]}return(n?o.filter(function(t){return!j()(t)}):o).map(function(t){return(0,_e.vh)(t)||t instanceof Date?t:""})}var Re=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!==(e=null==r?void 0:r.length)&&void 0!==e?e:0;if(a>1){if(o&&"angleAxis"===o.axisType&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var c=o.range,s=0;s<a;s++){var u=s>0?n[s-1].coordinate:n[a-1].coordinate,l=n[s].coordinate,f=s>=a-1?n[0].coordinate:n[s+1].coordinate,p=void 0;if((0,_e.sA)(l-u)!==(0,_e.sA)(f-l)){var h=[];if((0,_e.sA)(f-l)===(0,_e.sA)(c[1]-c[0])){p=f;var d=l+c[1]-c[0];h[0]=Math.min(d,(d+u)/2),h[1]=Math.max(d,(d+u)/2)}else{p=u;var y=f+c[1]-c[0];h[0]=Math.min(l,(y+l)/2),h[1]=Math.max(l,(y+l)/2)}var v=[Math.min(l,(p+l)/2),Math.max(l,(p+l)/2)];if(t>v[0]&&t<=v[1]||t>=h[0]&&t<=h[1]){i=n[s].index;break}}else{var m=Math.min(u,f),g=Math.max(u,f);if(t>(m+l)/2&&t<=(g+l)/2){i=n[s].index;break}}}else for(var b=0;b<a;b++)if(0===b&&t<=(r[b].coordinate+r[b+1].coordinate)/2||b>0&&b<a-1&&t>(r[b].coordinate+r[b-1].coordinate)/2&&t<=(r[b].coordinate+r[b+1].coordinate)/2||b===a-1&&t>(r[b].coordinate+r[b-1].coordinate)/2){i=r[b].index;break}}else i=0;return i},Ne=function(t){var e,r=t.type.displayName,n=t.props,o=n.stroke,i=n.fill;switch(r){case"Line":e=o;break;case"Area":case"Radar":e=o&&"none"!==o?o:i;break;default:e=i}return e},De=function(t){var e,r=t.children,n=t.formattedGraphicalItems,o=t.legendWidth,i=t.legendContent,a=(0,Ae.BU)(r,Ee.s.displayName);return a?(e=a.props&&a.props.payload?a.props&&a.props.payload:"children"===i?(n||[]).reduce(function(t,e){var r=e.item,n=e.props,o=n.sectors||n.data||[];return t.concat(o.map(function(t){return{type:a.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}}))},[]):(n||[]).map(function(t){var e=t.item,r=e.props,n=r.dataKey,o=r.name,i=r.legendType;return{inactive:r.hide,dataKey:n,type:a.props.iconType||i||"square",color:Ne(e),value:o||n,payload:e.props}}),Me(Me(Me({},a.props),Ee.s.getWithHeight(a,o)),{},{payload:e,item:a})):null},Le=function(t){var e=t.barSize,r=t.stackGroups,n=void 0===r?{}:r;if(!n)return{};for(var o={},i=Object.keys(n),a=0,c=i.length;a<c;a++)for(var s=n[i[a]].stackGroups,u=Object.keys(s),l=0,f=u.length;l<f;l++){var p=s[u[l]],h=p.items,d=p.cateAxisId,y=h.filter(function(t){return(0,Ae.Mn)(t.type).indexOf("Bar")>=0});if(y&&y.length){var v=y[0].props.barSize,m=y[0].props[d];o[m]||(o[m]=[]),o[m].push({item:y[0],stackList:y.slice(1),barSize:j()(v)?e:v})}}return o},Be=function(t){var e=t.barGap,r=t.barCategoryGap,n=t.bandSize,o=t.sizeList,i=void 0===o?[]:o,a=t.maxBarSize,c=i.length;if(c<1)return null;var s,u=(0,_e.F4)(e,n,0,!0);if(i[0].barSize===+i[0].barSize){var l=!1,f=n/c,p=i.reduce(function(t,e){return t+e.barSize||0},0);(p+=(c-1)*u)>=n&&(p-=(c-1)*u,u=0),p>=n&&f>0&&(l=!0,p=c*(f*=.9));var h={offset:((n-p)/2|0)-u,size:0};s=i.reduce(function(t,e){var r=[].concat(je(t),[{item:e.item,position:{offset:h.offset+h.size+u,size:l?f:e.barSize}}]);return h=r[r.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){r.push({item:t,position:h})}),r},[])}else{var d=(0,_e.F4)(r,n,0,!0);n-2*d-(c-1)*u<=0&&(u=0);var y=(n-2*d-(c-1)*u)/c;y>1&&(y>>=0);var v=a===+a?Math.min(y,a):y;s=i.reduce(function(t,e,r){var n=[].concat(je(t),[{item:e.item,position:{offset:d+(y+u)*r+(y-v)/2,size:v}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:n[n.length-1].position})}),n},[])}return s},ze=function(t,e,r,n){var o=r.children,i=r.width,a=r.margin,c=i-(a.left||0)-(a.right||0),s=De({children:o,legendWidth:c}),u=t;if(s){var l=n||{},f=s.align,p=s.verticalAlign,h=s.layout;
2("vertical"===h||"horizontal"===h&&"center"===p)&&(0,_e.Et)(t[f])&&(u=Me(Me({},t),{},Ce({},f,u[f]+(l.width||0)))),("horizontal"===h||"vertical"===h&&"center"===f)&&(0,_e.Et)(t[p])&&(u=Me(Me({},t),{},Ce({},p,u[p]+(l.height||0))))}return u},Fe=function(t,e,r,n,o){var i=e.props.children,a=(0,Ae.aS)(i,"ErrorBar").filter(function(t){return function(t,e,r){return!!j()(e)||("horizontal"===t?"yAxis"===e:"vertical"===t||"x"===r?"xAxis"===e:"y"!==r||"yAxis"===e)}(n,o,t.props.direction)});if(a&&a.length){var c=a.map(function(t){return t.props.dataKey});return t.reduce(function(t,e){var n=Te(e,r,0),o=y()(n)?[b()(n),m()(n)]:[n,n],i=c.reduce(function(t,r){var n=Te(e,r,0),i=o[0]-Math.abs(y()(n)?n[0]:n),a=o[1]+Math.abs(y()(n)?n[1]:n);return[Math.min(i,t[0]),Math.max(a,t[1])]},[1/0,-1/0]);return[Math.min(i[0],t[0]),Math.max(i[1],t[1])]},[1/0,-1/0])}return null},We=function(t,e,r,n,o){var i=e.map(function(e){return Fe(t,e,r,o,n)}).filter(function(t){return!j()(t)});return i&&i.length?i.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]):null},Ue=function(t,e,r,n,o){var i=e.map(function(e){var i=e.props.dataKey;return"number"===r&&i&&Fe(t,e,i,n)||Ie(t,i,r,o)});if("number"===r)return i.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]);var a={};return i.reduce(function(t,e){for(var r=0,n=e.length;r<n;r++)a[e[r]]||(a[e[r]]=!0,t.push(e[r]));return t},[])},Ve=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},qe=function(t,e,r){var n,o,i=t.map(function(t){return t.coordinate===e&&(n=!0),t.coordinate===r&&(o=!0),t.coordinate});return n||i.push(e),o||i.push(r),i},Ge=function(t,e,r){if(!t)return null;var n=t.scale,o=t.duplicateDomain,i=t.type,a=t.range,c="scaleBand"===t.realScaleType?n.bandwidth()/2:2,s=(e||r)&&"category"===i&&n.bandwidth?n.bandwidth()/c:0;return s="angleAxis"===t.axisType?2*(0,_e.sA)(a[0]-a[1])*s:s,e&&(t.ticks||t.niceTicks)?(t.ticks||t.niceTicks).map(function(t){var e=o?o.indexOf(t):t;return{coordinate:n(e)+s,value:t,offset:s}}):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(t,e){return{coordinate:n(t)+s,value:t,index:e,offset:s}}):n.ticks&&!r?n.ticks(t.tickCount).map(function(t){return{coordinate:n(t)+s,value:t,offset:s}}):n.domain().map(function(t,e){return{coordinate:n(t)+s,value:o?o[t]:t,index:e,offset:s}})},He=function(t,e,r){var n;return _()(r)?n=r:_()(e)&&(n=e),_()(t)||n?function(e,r,o,i){_()(t)&&t(e,r,o,i),_()(n)&&n(e,r,o,i)}:null},Xe=function(t,e,r){var o=t.scale,i=t.type,a=t.layout,c=t.axisType;if("auto"===o)return"radial"===a&&"radiusAxis"===c?{scale:tt.A(),realScaleType:"band"}:"radial"===a&&"angleAxis"===c?{scale:et.A(),realScaleType:"linear"}:"category"===i&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>
2=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:tt.z(),realScaleType:"point"}:"category"===i?{scale:tt.A(),realScaleType:"band"}:{scale:et.A(),realScaleType:"linear"};if(h()(o)){var s="scale".concat(f()(o));return{scale:(n[s]||tt.z)(),realScaleType:n[s]?s:"point"}}return _()(o)?{scale:o}:{scale:tt.z(),realScaleType:"point"}},$e=1e-4,Je=function(t){var e=t.domain();if(e&&!(e.length<=2)){var r=e.length,n=t.range(),o=Math.min(n[0],n[1])-$e,i=Math.max(n[0],n[1])+$e,a=t(e[0]),c=t(e[r-1]);(a<o||a>i||c<o||c>i)&&t.domain([e[0],e[r-1]])}},Ke=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},Ze=function(t,e){if(!e||2!==e.length||!(0,_e.Et)(e[0])||!(0,_e.Et)(e[1]))return t;var r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]),o=[t[0],t[1]];return(!(0,_e.Et)(t[0])||t[0]<r)&&(o[0]=r),(!(0,_e.Et)(t[1])||t[1]>n)&&(o[1]=n),o[0]>n&&(o[0]=n),o[1]<r&&(o[1]=r),o},Ye={sign:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var o=0,i=0,a=0;a<e;++a){var c=u()(t[a][r][1])?t[a][r][0]:t[a][r][1];c>=0?(t[a][r][0]=o,t[a][r][1]=o+c,o=t[a][r][1]):(t[a][r][0]=i,t[a][r][1]=i+c,i=t[a][r][1])}},expand:function(t,e){if((n=t.length)>0){for(var r,n,o,i=0,a=t[0].length;i<a;++i){for(o=r=0;r<n;++r)o+=t[r][i][1]||0;if(o)for(r=0;r<n;++r)t[r][i][1]/=o}me(t,e)}},none:me,silhouette:function(t,e){if((r=t.length)>0){for(var r,n=0,o=t[e[0]],i=o.length;n<i;++n){for(var a=0,c=0;a<r;++a)c+=t[a][n][1]||0;o[n][1]+=o[n][0]=-c/2}me(t,e)}},wiggle:function(t,e){if((o=t.length)>0&&(n=(r=t[e[0]]).length)>0){for(var r,n,o,i=0,a=1;a<n;++a){for(var c=0,s=0,u=0;c<o;++c){for(var l=t[e[c]],f=l[a][1]||0,p=(f-(l[a-1][1]||0))/2,h=0;h<c;++h){var d=t[e[h]];p+=(d[a][1]||0)-(d[a-1][1]||0)}s+=f,u+=p*f}r[a-1][1]+=r[a-1][0]=i,s&&(i-=u/s)}r[a-1][1]+=r[a-1][0]=i,me(t,e)}},positive:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var o=0,i=0;i<e;++i){var a=u()(t[i][r][1])?t[i][r][0]:t[i][r][1];a>=0?(t[i][r][0]=o,t[i][r][1]=o+a,o=t[i][r][1]):(t[i][r][0]=0,t[i][r][1]=0)}}},Qe=function(t,e,r){var n=e.map(function(t){return t.props.dataKey}),o=function(){var t=(0,be.A)([]),e=xe,r=me,n=we;function o(o){var i,a,c=Array.from(t.apply(this,arguments),Oe),s=c.length,u=-1;for(const t of o)for(i=0,++u;i<s;++i)(c[i][u]=[0,+n(t,c[i].key,u,o)]).data=t;for(i=0,a=(0,ge.A)(e(c));i<s;++i)c[a[i]].index=i;return r(c,a),c}return o.keys=function(e){return arguments.length?(t="function"==typeof e?e:(0,be.A)(Array.from(e)),o):t},o.value=function(t){return arguments.length?(n="function"==typeof t?t:(0,be.A)(+t),o):n},o.order=function(t){return arguments.length?(e=null==t?xe:"function"==typeof t?t:(0,be.A)(Array.from(t)),o):e},o.offset=function(t){return arguments.length?(r=t??me,o):r},o}().keys(n).value(function(t,e){return+Te(t,e,0)}).order(xe).offset(Ye[r]);return o(t)},tr=function(t,e,r,n,o,i){if(!t)return null;var a=(i?e.reverse():e).reduce(function(t,e){var o=e.props,i=o.stackId;if(o.hide)return t;var a=e.props[r],c=t[a]||{hasStack:!1,stackGroups:{}};if((0,_e.vh)(i)){var s=c.stackGroups[i]||{numericAxisId:r,cateAxisId:n,items:[]};s.items.push(e),c.hasStack=!0,c.stackGroups[i]=s}else c.stackGroups[(0,_e.NF)("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return Me(Me({},t),{},Ce({},a,c))},{});return Object.keys(a).reduce(function(e,i){var c=a[i];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce(function(e,i){var a=c.stackGroups[i];return Me(Me({},e),{},Ce({},i,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:Qe(t,a.items,o)}))},{})),Me(Me({},e),{},Ce({},i,c))},{})},er=function(t,e){var r=e.realScaleType,n=e.type,o=e.tickCount,i=e.originalDomain,a=e.allowDecimals,c=r||e.scale;if("auto"!==c&&"linear"!==c)return null;if(o&&"number"===n&&i&&("auto"===i[0]||"auto"===i[1])){var s=t.domain();if(!s.length)return null;var u=Y(s,o,a);return t.domain(function(t,e){return"number"===e?[b()(t),m()(t)]:t}(u,n)),{niceTicks:u}}if(o&&"number"===n){var l=t.domain();return{niceTicks:Q(l,o,a)}}return null},rr=function(t){var e=t.axis,r=t.ticks,n=t.bandSize,o=t.entry,i=t.index,a=t.dataKey;if("category"===e.type){if(!e.allowDuplicatedCategory&&e.dataKey&&!j()(o[e.dataKey])){var c=(0,_e.eP)(r,"value",o[e.dataKey]);if(c)return c.coordinate+n/2}return r[i]?r[i].coordinate+n/2:null}var s=Te(o,j()(a)?e.dataKey:a);return j()(s)?null:e.scale(s)},nr=function(t){var e=t.axis,r=t.ticks,n=t.offset,o=t.bandSize,i=t.entry,a=t.index;if("category"===e.type)return r[a]?r[a].coordinate+n:null;var c=Te(i,e.dataKey,e.domain[a]);return j()(c)?null:e.scale(c)-o/2+n},or=function(t){var e=t.numericAxis,r=e.scale.domain();if("number"===e.type){var n=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);return n<=0&&o>=0?0:o<0?o:n}return r[0]},ir=function(t,e){var r=t.props.stackId;if((0,_e.vh)(r)){var n=e[r];if(n&&n.items.length){for(var o=-1,i=0,a=n.items.length;i<a;i++)if(n.items[i]===t){o=i;break}return o>=0?n.stackedData[o]:null}}return null},ar=function(t,e,r){return Object.keys(t).reduce(function(n,o){var i=t[o].stackedData.reduce(function(t,n){var o=n.slice(e,r+1).reduce(function(t,e){return[b()(e.concat([t[0]]).filter(_e.Et)),m()(e.concat([t[1]]).filter(_e.Et))]},[1/0,-1/0]);return[Math.min(t[0],o[0]),Math.max(t[1],o[1])]},[1/0,-1/0]);return[Math.min(i[0],n[0]),Math.max(i[1],n[1])]},[1/0,-1/0]).map(function(t){return t===1/0||t===-1/0?0:t})},cr=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,sr=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ur=function(t,e,r){if(_()(t))return t(e,r);if(!y()(t))return e;var n=[];if((0,_e.Et)(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(cr.test(t[0])){var o=+cr.exec(t[0])[1];n[0]=e[0]-o}else _()(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if((0,_e.Et)(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(sr.test(t[1])){var i=+sr.exec(t[1])[1];n[1]=e[1]+i}else _()(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},lr=function(t,e,r){if(t&&t.scale&&t.scale.bandwidth){var n=t.scale.bandwidth();if(!r||n>0)return n}if(t&&e&&e.length>=2){for(var o=c()(e,function(t){return t.coordinate}),i=1/0,a=1,s=o.length;a<s;a++){var u=o[a],l=o[a-1];i=Math.min((u.coordinate||0)-(l.coordinate||0),i)}return i===1/0?0:i}return r?void 0:0}
2,fr=function(t,e,r){return t&&t.length?i()(t,A()(r,"type.defaultProps.domain"))?e:t:e},pr=function(t,e){var r=t.props,n=r.dataKey,o=r.name,i=r.unit,a=r.formatter,c=r.tooltipType,s=r.chartType;return Me(Me({},(0,Se.J9)(t)),{},{dataKey:n,unit:i,formatter:a,name:o||n,color:Ne(t),value:Te(e,n),type:c,payload:e,chartType:s})}},59068:(t,e,r)=>{var n=r(44700);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},59756:(t,e,r)=>{var n=r(2478);t.exports=function(t,e){return!(null==t||!t.length)&&n(t,e,0)>-1}},60986:(t,e,r)=>{var n=r(87379),o=r(80547);t.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==n(t)}},62049:(t,e,r)=>{var n=r(97034),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},62527:t=>{t.exports=function(t,e){return t<e}},62945:t=>{var e=/\s/;t.exports=function(t){for(var r=t.length;r--&&e.test(t.charAt(r)););return r}},63521:(t,e,r)=>{var n=r(51187);t.exports=function(t,e){if(t!==e){var r=void 0!==t,o=null===t,i=t==t,a=n(t),c=void 0!==e,s=null===e,u=e==e,l=n(e);if(!s&&!l&&!a&&t>e||a&&c&&u&&!s&&!l||o&&c&&u||!r&&u||!i)return 1;if(!o&&!a&&!l&&t<e||l&&r&&i&&!o&&!a||s&&r&&i||!c&&i||!u)return-1}return 0}},64066:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},64103:(t,e,r)=>{var n=r(1386);t.exports=function(){this.__data__=new n,this.size=0}},64512:(t,e,r)=>{var n=r(94715)(r(78942),"Set");t.exports=n},64759:(t,e,r)=>{var n,o=r(41950),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},65111:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},65187:(t,e,r)=>{var n=r(53142),o=r(51187),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!o(t))||a.test(t)||!i.test(t)||null!=e&&t in Object(e)}},65387:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},65489:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flip=c;var n,o=(n=r(94346))&&n.__esModule?n:{default:n};function i(t,e){return t.type===e.type&&t.value===e.value}function a(t){switch(t){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":case"EmValue":case"ExValue":case"ChValue":case"RemValue":case"VhValue":case"VwValue":case"VminValue":case"VmaxValue":case"PercentageValue":case"Value":return!0}return!1}function c(t){return"+"===t?"-":"+"}function s(t){return a(t.type)?t.value=-t.value:"MathExpression"==t.type&&(t.left=s(t.left),t.right=s(t.right)),t}e.default=function t(e,r){return"MathExpression"===e.type?function(e,r){switch(e=function(e,r){var n=(0,o.default)(e.left,e.right,r),a=t(n.left,r),c=t(n.right,r);return"MathExpression"===a.type&&"MathExpression"===c.type&&("/"===a.operator&&"*"===c.operator||"-"===a.operator&&"+"===c.operator||"*"===a.operator&&"/"===c.operator||"+"===a.operator&&"-"===c.operator)&&(i(a.right,c.right)?n=(0,o.default)(a.left,c.left,r):i(a.right,c.left)&&(n=(0,o.default)(a.left,c.right,r)),a=t(n.left,r),c=t(n.right,r)),e.left=a,e.right=c,e}(e,r),e.operator){case"+":case"-":return function(e,r){var n=e,o=n.left,i=n.right,u=n.operator;if("CssVariable"===o.type||"CssVariable"===i.type)return e;if(0===i.value)return o;if(0===o.value&&"+"===u)return i;if(0===o.value&&"-"===u)return s(i);if(o.type===i.type&&a(o.type)&&((e=Object.assign({},o)).value="+"===u?o.value+i.value:o.value-i.value),a(o.type)&&("+"===i.operator||"-"===i.operator)&&"MathExpression"===i.type){if(o.type===i.left.type)return(e=Object.assign({},e)).left=t({type:"MathExpression",operator:u,left:o,right:i.left},r),e.right=i.right,e.operator="-"===u?c(i.operator):i.operator,t(e,r);if(o.type===i.right.type)return(e=Object.assign({},e)).left=t({type:"MathExpression",operator:"-"===u?c(i.operator):i.operator,left:o,right:i.right},r),e.right=i.left,t(e,r)}if("MathExpression"===o.type&&("+"===o.operator||"-"===o.operator)&&a(i.type)){if(i.type===o.left.type)return(e=Object.assign({},o)).left=t({type:"MathExpression",operator:u,left:o.left,right:i},r),t(e,r);if(i.type===o.right.type)return e=Object.assign({},o),"-"===o.operator?(e.right=t({type:"MathExpression",operator:"-"===u?"+":"-",left:i,right:o.right},r),e.operator="-"===u?"-":"+"):e.right=t({type:"MathExpression",operator:u,left:o.right,right:i},r),e.right.value<0&&(e.right.value*=-1,e.operator="-"===e.operator?"+":"-"),t(e,r)}return e}(e,r);case"/":return function(e,r){if(!a(e.right.type))return e;if("Value"!==e.right.type)throw new Error('Cannot divide by "'+e.right.unit+'", number expected');if(0===e.right.value)throw new Error("Cannot divide by zero");return"MathExpression"===e.left.type?a(e.left.left.type)&&a(e.left.right.type)?(e.left.left.value/=e.right.value,e.left.right.value/=e.right.value,t(e.left,r)):e:a(e.left.type)?(e.left.value/=e.right.value,e.left):e}(e,r);case"*":return function(t){if("MathExpression"===t.left.type&&"Value"===t.right.type){if(a(t.left.left.type)&&a(t.left.right.type))return t.left.left.value*=t.right.value,t.left.right.value*=t.right.value,t.left}else{if(a(t.left.type)&&"Value"===t.right.type)return t.left.value*=t.right.value,t.left;if("Value"===t.left.type&&"MathExpression"===t.right.type){if(a(t.right.left.type)&&a(t.right.right.type))return t.right.left.value*=t.left.value,t.right.right.value*=t.left.value,t.right}
2else if("Value"===t.left.type&&a(t.right.type))return t.right.value*=t.left.value,t.right}return t}(e)}return e}(e,r):"Calc"===e.type?t(e.value,r):e}},65568:t=>{t.exports=function(t,e){return t.has(e)}},65578:(t,e,r)=>{"use strict";r.d(e,{W:()=>s});var n=r(14041),o=r(53373),i=r.n(o),a=r(19773);function c(){return c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},c.apply(this,arguments)}function s(t){var e=t.children,r=t.className,o=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,["children","className"]),s=i()("recharts-layer",r);return n.createElement("g",c({className:s},(0,a.J9)(o,!0)),e)}},65650:(t,e,r)=>{var n=r(78942).Symbol;t.exports=n},65742:t=>{t.exports=function t(e,r,n){var o,i,a,c;for(o=0,i=e.length;o<i;o+=1)a=e[o],n||(c=r(a,o,e)),!1!==c&&"function"===a.type&&Array.isArray(a.nodes)&&t(a.nodes,r,n),n&&r(a,o,e)}},66040:(t,e,r)=>{var n=r(51187);t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},66358:t=>{t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},66652:(t,e,r)=>{var n=r(90313),o=r(40105);t.exports=function(t,e){return n(o(t,e),1)}},67393:(t,e,r)=>{"use strict";r.d(e,{e:()=>E});var n=r(48983),o=r.n(n),i=r(93655),a=r.n(i),c=r(14041),s=r(53373),u=r.n(s),l=r(65578),f=r(94437),p=r(32002),h=r(81649),d=r(14713),y=r(13157),v=r(19773);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 g(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?m(Object(r),!0).forEach(function(e){b(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 b(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function w(){return w=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},w.apply(this,arguments)}var O=function(t,e){return c.isValidElement(t)?c.cloneElement(t,e):a()(t)?t(e):c.createElement("line",w({},e,{className:"recharts-reference-line-line"}))},_=function(t,e,r,n,i){var a=i.viewBox,c=a.x,s=a.y,u=a.width,l=a.height,f=i.position;if(r){var h=i.y,d=i.yAxis.orientation,y=t.y.apply(h,{position:f});if((0,p.R)(i,"discard")&&!t.y.isInRange(y))return null;var v=[{x:c+u,y},{x:c,y}];return"left"===d?v.reverse():v}if(e){var m=i.x,g=i.xAxis.orientation,b=t.x.apply(m,{position:f});if((0,p.R)(i,"discard")&&!t.x.isInRange(b))return null;var x=[{x:b,y:s+l},{x:b,y:s}];return"top"===g?x.reverse():x}if(n){var w=i.segment.map(function(e){return t.apply(e,{position:f})});return(0,p.R)(i,"discard")&&o()(w,function(e){return!t.isInRange(e)})?null:w}return null};function E(t){var e=t.x,r=t.y,n=t.segment,o=t.xAxis,i=t.yAxis,a=t.shape,s=t.className,m=t.alwaysShow,b=t.clipPathId;(0,y.R)(void 0===m,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var w=(0,d.P2)({x:o.scale,y:i.scale}),E=(0,h.vh)(e),A=(0,h.vh)(r),S=n&&2===n.length,j=_(w,E,A,S,t);if(!j)return null;var k,P,M=(P=2,function(t){if(Array.isArray(t))return t}(k=j)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}(k,P)||function(t,e){if(t){if("string"==typeof t)return x(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?x(t,e):void 0}}
2(k,P)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),C=M[0],T=C.x,I=C.y,R=M[1],N=R.x,D=R.y,L=g(g({clipPath:(0,p.R)(t,"hidden")?"url(#".concat(b,")"):void 0},(0,v.J9)(t,!0)),{},{x1:T,y1:I,x2:N,y2:D});return c.createElement(l.W,{className:u()("recharts-reference-line",s)},O(a,L),f.J.renderCallByParent(t,(0,d.vh)({x1:T,y1:I,x2:N,y2:D})))}E.displayName="ReferenceLine",E.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"}},67642:(t,e,r)=>{var n=r(43301);t.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},68250:(t,e,r)=>{var n=r(49753),o=r(5681),i=r(80088),a=r(54732),c=r(59068);function s(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])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=c,t.exports=s},69011:(t,e,r)=>{var n=r(68250);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);
2var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,t.exports=o},69632:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=r??9007199254740991)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},69773:(t,e,r)=>{var n=r(37250),o=r(3334),i=r(67642),a=Math.max;t.exports=function(t,e,r){var c=null==t?0:t.length;if(!c)return-1;var s=null==r?0:i(r);return s<0&&(s=a(c+s,0)),n(t,o(e,3),s)}},70310:(t,e,r)=>{var n=r(65111),o=r(57923),i=r(3334),a=r(41393),c=r(50642),s=r(49460),u=r(46775),l=r(22053),f=r(53142);t.exports=function(t,e,r){e=e.length?n(e,function(t){return f(t)?function(e){return o(e,1===t.length?t[0]:t)}:t}):[l];var p=-1;e=n(e,s(i));var h=a(t,function(t,r,o){return{criteria:n(e,function(e){return e(t)}),index:++p,value:t}});return c(h,function(t,e){return u(t,e,r)})}},70674:(t,e,r)=>{var n=r(87379),o=r(65387),i=r(80547),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[n(t)]}},70820:(t,e,r)=>{"use strict";r.d(e,{u:()=>s});var n=r(14041),o=r(53373),i=r.n(o),a=r(19773);function c(){return c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},c.apply(this,arguments)}function s(t){var e=t.children,r=t.width,o=t.height,s=t.viewBox,u=t.className,l=t.style,f=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,["children","width","height","viewBox","className","style"]),p=s||{width:r,height:o,x:0,y:0},h=i()("recharts-surface",u);return n.createElement("svg",c({},(0,a.J9)(f,!0,!0),{className:h,width:r,height:o,style:l,viewBox:"".concat(p.x," ").concat(p.y," ").concat(p.width," ").concat(p.height),version:"1.1"}),e)}},70907:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>Gt,g6:()=>J});var n=r(14041),o=r(39067),i=r.n(o);const{getOwnPropertyNames:a,getOwnPropertySymbols:c}=Object,{hasOwnProperty:s}=Object.prototype;function u(t,e){return function(r,n,o){return t(r,n,o)&&e(r,n,o)}}function l(t){return function(e,r,n){if(!e||!r||"object"!=typeof e||"object"!=typeof r)return t(e,r,n);const{cache:o}=n,i=o.get(e),a=o.get(r);if(i&&a)return i===r&&a===e;o.set(e,r),o.set(r,e);const c=t(e,r,n);return o.delete(e),o.delete(r),c}}function f(t){return a(t).concat(c(t))}const p=Object.hasOwn||((t,e)=>s.call(t,e));function h(t,e){return t===e||!t&&!e&&t!=t&&e!=e}const{getOwnPropertyDescriptor:d,keys:y}=Object;function v(t,e){return t.byteLength===e.byteLength&&P(new Uint8Array(t),new Uint8Array(e))}function m(t,e,r){let 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 g(t,e){return t.byteLength===e.byteLength&&P(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}function b(t,e){return h(t.getTime(),e.getTime())}function x(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function w(t,e){return t===e}function O(t,e,r){const n=t.size;if(n!==e.size)return!1;if(!n)return!0;const o=new Array(n),i=t.entries();let a,c,s=0;for(;(a=i.next())&&!a.done;){const n=e.entries();let i=!1,u=0;for(;(c=n.next())&&!c.done;){if(o[u]){u++;continue}const n=a.value,l=c.value;if(r.equals(n[0],l[0],s,u,t,e,r)&&r.equals(n[1],l[1],n[0],l[0],t,e,r)){i=o[u]=!0;break}u++}if(!i)return!1;s++}return!0}const _=h;function E(t,e,r){const n=y(t);let o=n.length;if(y(e).length!==o)return!1;for(;o-- >0;)if(!C(t,e,r,n[o]))return!1;return!0}function A(t,e,r){const n=f(t);let o,i,a,c=n.length;if(f(e).length!==c)return!1;for(;c-- >0;){if(o=n[c],!C(t,e,r,o))return!1;
2if(i=d(t,o),a=d(e,o),(i||a)&&(!i||!a||i.configurable!==a.configurable||i.enumerable!==a.enumerable||i.writable!==a.writable))return!1}return!0}function S(t,e){return h(t.valueOf(),e.valueOf())}function j(t,e){return t.source===e.source&&t.flags===e.flags}function k(t,e,r){const n=t.size;if(n!==e.size)return!1;if(!n)return!0;const o=new Array(n),i=t.values();let a,c;for(;(a=i.next())&&!a.done;){const n=e.values();let i=!1,s=0;for(;(c=n.next())&&!c.done;){if(!o[s]&&r.equals(a.value,c.value,a.value,c.value,t,e,r)){i=o[s]=!0;break}s++}if(!i)return!1}return!0}function P(t,e){let r=t.byteLength;if(e.byteLength!==r||t.byteOffset!==e.byteOffset)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}function M(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 C(t,e,r,n){return!("_owner"!==n&&"__o"!==n&&"__v"!==n||!t.$$typeof&&!e.$$typeof)||p(e,n)&&r.equals(t[n],e[n],n,n,t,e,r)}const T={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},I=Object.prototype.toString;const R=N();function N(t={}){const{circular:e=!1,createInternalComparator:r,createState:n,strict:o=!1}=t,i=function({circular:t,createCustomConfig:e,strict:r}){let n={areArrayBuffersEqual:v,areArraysEqual:r?A:m,areDataViewsEqual:g,areDatesEqual:b,areErrorsEqual:x,areFunctionsEqual:w,areMapsEqual:r?u(O,A):O,areNumbersEqual:_,areObjectsEqual:r?A:E,arePrimitiveWrappersEqual:S,areRegExpsEqual:j,areSetsEqual:r?u(k,A):k,areTypedArraysEqual:r?u(P,A):P,areUrlsEqual:M,unknownTagComparators:void 0};if(e&&(n=Object.assign({},n,e(n))),t){const t=l(n.areArraysEqual),e=l(n.areMapsEqual),r=l(n.areObjectsEqual),o=l(n.areSetsEqual);n=Object.assign({},n,{areArraysEqual:t,areMapsEqual:e,areObjectsEqual:r,areSetsEqual:o})}return n}(t),a=function({areArrayBuffersEqual:t,areArraysEqual:e,areDataViewsEqual:r,areDatesEqual:n,areErrorsEqual:o,areFunctionsEqual:i,areMapsEqual:a,areNumbersEqual:c,areObjectsEqual:s,arePrimitiveWrappersEqual:u,areRegExpsEqual:l,areSetsEqual:f,areTypedArraysEqual:p,areUrlsEqual:h,unknownTagComparators:d}){return function(y,v,m){if(y===v)return!0;if(null==y||null==v)return!1;const g=typeof y;if(g!==typeof v)return!1;if("object"!==g)return"number"===g?c(y,v,m):"function"===g&&i(y,v,m);const b=y.constructor;if(b!==v.constructor)return!1;if(b===Object)return s(y,v,m);if(Array.isArray(y))return e(y,v,m);if(b===Date)return n(y,v,m);if(b===RegExp)return l(y,v,m);if(b===Map)return a(y,v,m);if(b===Set)return f(y,v,m);const x=I.call(y);if("[object Date]"===x)return n(y,v,m);if("[object RegExp]"===x)return l(y,v,m);if("[object Map]"===x)return a(y,v,m);if("[object Set]"===x)return f(y,v,m);if("[object Object]"===x)return"function"!=typeof y.then&&"function"!=typeof v.then&&s(y,v,m);if("[object URL]"===x)return h(y,v,m);if("[object Error]"===x)return o(y,v,m);if("[object Arguments]"===x)return s(y,v,m);if(T[x])return p(y,v,m);if("[object ArrayBuffer]"===x)return t(y,v,m);if("[object DataView]"===x)return r(y,v,m);if("[object Boolean]"===x||"[object Number]"===x||"[object String]"===x)return u(y,v,m);if(d){let t=d[x];if(!t){const e=null!=(w=y)?w[Symbol.toStringTag]:void 0;e&&(t=d[e])}if(t)return t(y,v,m)}var w;return!1}}(i);var c;return function({circular:t,comparator:e,createState:r,equals:n,strict:o}){if(r)return function(i,a){const{cache:c=(t?new WeakMap:void 0),meta:s}=r();return e(i,a,{cache:c,equals:n,meta:s,strict:o})};if(t)return function(t,r){return e(t,r,{cache:new WeakMap,equals:n,meta:void 0,strict:o})};const i={cache:void 0,equals:n,meta:void 0,strict:o};return function(t,r){return e(t,r,i)}}({circular:e,comparator:a,createState:n,equals:r?r(a):(c=a,function(t,e,r,n,o,i,a){return c(t,e,a)}),strict:o})}function D(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;
2requestAnimationFrame(function n(o){r<0&&(r=o),o-r>e?(t(o),r=-1):function(t){"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(t)}(n)})}function 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},L(t)}function B(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function z(){var t=function(){return null},e=!1,r=function r(n){if(!e){if(Array.isArray(n)){if(!n.length)return;var o=function(t){if(Array.isArray(t))return t}(c=n)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(c)||function(t,e){if(t){if("string"==typeof t)return B(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?B(t,e):void 0}}(c)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=o[0],a=o.slice(1);return"number"==typeof i?void D(r.bind(null,a),i):(r(i),void D(r.bind(null,a)))}"object"===L(n)&&t(n),"function"==typeof n&&n()}var c};return{stop:function(){e=!0},start:function(t){e=!1,r(t)},subscribe:function(e){return t=e,function(){t=function(){return null}}}}}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},F(t)}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 U(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?W(Object(r),!0).forEach(function(e){V(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 V(t,e,r){return(e=function(t){var e=function(t){if("object"!==F(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!==F(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===F(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}N({strict:!0}),N({circular:!0}),N({circular:!0,strict:!0}),N({createInternalComparator:()=>h}),N({strict:!0,createInternalComparator:()=>h}),N({circular:!0,createInternalComparator:()=>h}),N({circular:!0,createInternalComparator:()=>h,strict:!0});var q=["Webkit","Moz","O","ms"],G=["-webkit-","-moz-","-o-","-ms-"],H=["transform","transformOrigin","transition"],X=function(t){return t},$=function(t,e){return Object.keys(e).reduce(function(r,n){return U(U({},r),{},V({},n,t(n,e[n])))},{})},J=function(t){return Object.keys(t).reduce(function(t,e){return U(U({},t),function(t,e){if(-1===H.indexOf(t))return V({},t,Number.isNaN(e)?0:e);var r="transition"===t,n=t.replace(/(\w)/,function(t){return t.toUpperCase()}),o=e;return q.reduce(function(t,i,a){return r&&(o=e.replace(/(transform|transform-origin)/gim,"".concat(G[a],"$1"))),U(U({},t),{},V({},i+n,o))},{})}(e,t[e]))},t)},K=function(t,e,r){return t.map(function(t){return"".concat((n=t,n.replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())}))," ").concat(e,"ms ").concat(r);var n}).join(",")};function Z(t,e){if(t){if("string"==typeof t)return Y(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Y(t,e):void 0}}function Y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Q=1e-4,tt=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},et=function(t,e){return t.map(function(t,r){return t*Math.pow(e,r)}).reduce(function(t,e){return t+e})},rt=function(t,e){return function(r){var n=tt(t,e);return et(n,r)}},nt=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,o,i=e[0],a=e[1],c=e[2],s=e[3];
2if(1===e.length)switch(e[0]){case"linear":i=0,a=0,c=1,s=1;break;case"ease":i=.25,a=.1,c=.25,s=1;break;case"ease-in":i=.42,a=0,c=1,s=1;break;case"ease-out":i=.42,a=0,c=.58,s=1;break;case"ease-in-out":i=0,a=0,c=.58,s=1;break;default:var u=e[0].split("(");if("cubic-bezier"===u[0]&&4===u[1].split(")")[0].split(",").length){var l=(n=u[1].split(")")[0].split(",").map(function(t){return parseFloat(t)}),o=4,function(t){if(Array.isArray(t))return t}(n)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],s=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);s=!0);}catch(t){u=!0,o=t}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(n,o)||Z(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());i=l[0],a=l[1],c=l[2],s=l[3]}}[i,c,a,s].every(function(t){return"number"==typeof t&&t>=0&&t<=1});var f,p,h=rt(i,c),d=rt(a,s),y=(f=i,p=c,function(t){var e=tt(f,p),r=[].concat(function(t){return function(t){if(Array.isArray(t))return Y(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Z(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.map(function(t,e){return t*e}).slice(1)),[0]);return et(r,t)}),v=function(t){return t>1?1:t<0?0:t},m=function(t){for(var e=t>1?1:t,r=e,n=0;n<8;++n){var o=h(r)-e,i=y(r);if(Math.abs(o-e)<Q||i<Q)return d(r);r=v(r-o/i)}return d(r)};return m.isStepper=!1,m};function ot(t){return ot="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},ot(t)}function it(t){return function(t){if(Array.isArray(t))return lt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||ut(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function at(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 ct(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?at(Object(r),!0).forEach(function(e){st(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function st(t,e,r){return(e=function(t){var e=function(t){if("object"!==ot(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!==ot(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===ot(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ut(t,e){if(t){if("string"==typeof t)return lt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?lt(t,e):void 0}}function lt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ft=function(t,e,r){return t+(e-t)*r},pt=function(t){return t.from!==t.to},ht=function t(e,r,n){var o=$(function(t,r){if(pt(r)){var n=(a=e(r.from,r.to,r.velocity),c=2,function(t){if(Array.isArray(t))return t}(a)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],s=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;
2!(s=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);s=!0);}catch(t){u=!0,o=t}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(a,c)||ut(a,c)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=n[0],i=n[1];return ct(ct({},r),{},{from:o,velocity:i})}var a,c;return r},r);return n<1?$(function(t,e){return pt(e)?ct(ct({},e),{},{velocity:ft(e.velocity,o[t].velocity,n),from:ft(e.from,o[t].from,n)}):e},r):t(e,o,n-1)};function dt(t){return dt="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},dt(t)}var yt=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function vt(t){return function(t){if(Array.isArray(t))return mt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return mt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mt(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function gt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function bt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?gt(Object(r),!0).forEach(function(e){xt(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):gt(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function xt(t,e,r){return(e=Ot(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function wt(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,Ot(n.key),n)}}function Ot(t){var e=function(t){if("object"!==dt(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!==dt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===dt(e)?e:String(e)}function _t(t,e){return _t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_t(t,e)}function Et(t,e){if(e&&("object"===dt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return At(t)}function At(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function St(t){return St=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},St(t)}var jt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_t(t,e)}(c,t);var e,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=St(o);if(i){var r=St(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Et(this,t)});function c(t,e){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);var n=(r=a.call(this,t,e)).props,o=n.isActive,i=n.attributeName,s=n.from,u=n.to,l=n.steps,f=n.children,p=n.duration;if(r.handleStyleChange=r.handleStyleChange.bind(At(r)),r.changeStyle=r.changeStyle.bind(At(r)),!o||p<=0)return r.state={style:{}},"function"==typeof f&&(r.state={style:u}),Et(r);if(l&&l.length)r.state={style:l[0].style};else if(s){if("function"==typeof f)return r.state={style:s},Et(r);r.state={style:i?xt({},i,s):s}}else r.state={style:{}};return r}return e=c,(r=[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,r=t.canBegin;this.mounted=!0,e&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.isActive,n=e.canBegin,o=e.attributeName,i=e.shouldReAnimate,a=e.to,c=e.from,s=this.state.style;if(n)if(r){if(!(R(t.to,a)&&t.canBegin&&t.isActive)){var u=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var l=u||i?c:t.to;if(this.state&&s){var f={style:o?xt({},o,l):l};(o&&[o]!==l||!o&&s!==l)&&this.setState(f)}this.runAnimation(bt(bt({},this.props),{},{from:l,begin:0}))}}else{var p={style:o?xt({},o,a):a};this.state&&s&&(o&&s[o]!==a||!o&&s!==a)&&this.setState(p)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var t=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),t&&t()}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"runJSAnimation",value:function(t){var e=this,r=t.from,n=t.to,o=t.duration,i=t.easing,a=t.begin,c=t.onAnimationEnd,s=t.onAnimationStart,u=function(t,e,r,n,o){var i,a,c,s,u=(i=t,a=e,[Object.keys(i),Object.keys(a)].reduce(function(t,e){return t.filter(function(t){return e.includes(t)})}
2)),l=u.reduce(function(r,n){return ct(ct({},r),{},st({},n,[t[n],e[n]]))},{}),f=u.reduce(function(r,n){return ct(ct({},r),{},st({},n,{from:t[n],velocity:0,to:e[n]}))},{}),p=-1,h=function(){return null};return h=r.isStepper?function(n){c||(c=n);var i=(n-c)/r.dt;f=ht(r,f,i),o(ct(ct(ct({},t),e),$(function(t,e){return e.from},f))),c=n,Object.values(f).filter(pt).length&&(p=requestAnimationFrame(h))}:function(i){s||(s=i);var a=(i-s)/n,c=$(function(t,e){return ft.apply(void 0,it(e).concat([r(a)]))},l);if(o(ct(ct(ct({},t),e),c)),a<1)p=requestAnimationFrame(h);else{var u=$(function(t,e){return ft.apply(void 0,it(e).concat([r(1)]))},l);o(ct(ct(ct({},t),e),u))}},function(){return requestAnimationFrame(h),function(){cancelAnimationFrame(p)}}}(r,n,function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return nt(n);case"spring":return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,r=void 0===e?100:e,n=t.damping,o=void 0===n?8:n,i=t.dt,a=void 0===i?17:i,c=function(t,e,n){var i=n+(-(t-e)*r-n*o)*a/1e3,c=n*a/1e3+t;return Math.abs(c-e)<Q&&Math.abs(i)<Q?[e,0]:[c,i]};return c.isStepper=!0,c.dt=a,c}();default:if("cubic-bezier"===n.split("(")[0])return nt(n)}return"function"==typeof n?n:null}(i),o,this.changeStyle);this.manager.start([s,a,function(){e.stopJSAnimation=u()},o,c])}},{key:"runStepAnimation",value:function(t){var e=this,r=t.steps,n=t.begin,o=t.onAnimationStart,i=r[0],a=i.style,c=i.duration,s=void 0===c?0:c;return this.manager.start([o].concat(vt(r.reduce(function(t,n,o){if(0===o)return t;var i=n.duration,a=n.easing,c=void 0===a?"ease":a,s=n.style,u=n.properties,l=n.onAnimationEnd,f=o>0?r[o-1]:n,p=u||Object.keys(s);if("function"==typeof c||"spring"===c)return[].concat(vt(t),[e.runJSAnimation.bind(e,{from:f.style,to:s,duration:i,easing:c}),i]);var h=K(p,i,c),d=bt(bt(bt({},f.style),s),{},{transition:h});return[].concat(vt(t),[d,i,l]).filter(X)},[a,Math.max(s,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=z());var e=t.begin,r=t.duration,n=t.attributeName,o=t.to,i=t.easing,a=t.onAnimationStart,c=t.onAnimationEnd,s=t.steps,u=t.children,l=this.manager;if(this.unSubscribe=l.subscribe(this.handleStyleChange),"function"!=typeof i&&"function"!=typeof u&&"spring"!==i)if(s.length>1)this.runStepAnimation(t);else{var f=n?xt({},n,o):o,p=K(Object.keys(f),r,i);l.start([a,e,bt(bt({},f),{},{transition:p}),r,c])}else this.runJSAnimation(t)}},{key:"render",value:function(){var t=this.props,e=t.children,r=(t.begin,t.duration),o=(t.attributeName,t.easing,t.isActive),i=(t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart,function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,yt)),a=n.Children.count(e),c=J(this.state.style);if("function"==typeof e)return e(c);if(!o||0===a||r<=0)return e;var s=function(t){var e=t.props,r=e.style,o=void 0===r?{}:r,a=e.className;return(0,n.cloneElement)(t,bt(bt({},i),{},{style:bt(bt({},o),c),className:a}))};return 1===a?s(n.Children.only(e)):n.createElement("div",null,n.Children.map(e,function(t){return s(t)}))}}])&&wt(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),c}(n.PureComponent);jt.displayName="Animate",jt.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},jt.propTypes={from:i().oneOfType([i().object,i().string]),to:i().oneOfType([i().object,i().string]),attributeName:i().string,duration:i().number,begin:i().number,easing:i().oneOfType([i().string,i().func]),steps:i().arrayOf(i().shape({duration:i().number.isRequired,style:i().object.isRequired,easing:i().oneOfType([i().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),i().func]),properties:i().arrayOf("string"),onAnimationEnd:i().func})),children:i().oneOfType([i().node,i().func]),isActive:i().bool,canBegin:i().bool,onAnimationEnd:i().func,shouldReAnimate:i().bool,onAnimationStart:i().func,onAnimationReStart:i().func};const kt=jt;var Pt=r(3269),Mt=["children","appearOptions","enterOptions","leaveOptions"];function Ct(t){return Ct="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},Ct(t)}function Tt(){return Tt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Tt.apply(this,arguments)}function It(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 Rt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?It(Object(r),!0).forEach(function(e){zt(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):It(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function Nt(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,Ft(n.key),n)}}function Dt(t,e){return Dt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Dt(t,e)}function Lt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bt(t){return Bt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Bt(t)}function zt(t,e,r){return(e=Ft(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ft(t){var e=function(t){if("object"!==Ct(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!==Ct(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Ct(e)?e:String(e)}void 0===Number.isFinite&&(Number.isFinite=function(t){return"number"==typeof t&&isFinite(t)});var Wt=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},Ut=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Dt(t,e)}(c,t);var e,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=Bt(o);if(i){var r=Bt(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===Ct(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Lt(t)}(this,t)});function c(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),zt(Lt(t=a.call(this)),"handleEnter",function(e,r){var n=t.props,o=n.appearOptions,i=n.enterOptions;t.handleStyleActive(r?o:i)}),zt(Lt(t),"handleExit",function(){var e=t.props.leaveOptions;t.handleStyleActive(e)}),t.state={isActive:!1},t}return e=c,(r=[{key:"handleStyleActive",value:function(t){if(t){var e=t.onAnimationEnd?function(){t.onAnimationEnd()}:null;this.setState(Rt(Rt({},t),{},{onAnimationEnd:e,isActive:!0}))}}},{key:"parseTimeout",value:function(){var t=this.props,e=t.appearOptions,r=t.enterOptions,n=t.leaveOptions;return Wt(e)+Wt(r)+Wt(n)}},{key:"render",value:function(){var t=this,e=this.props,r=e.children,o=(e.appearOptions,e.enterOptions,e.leaveOptions,function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(e,Mt));return n.createElement(Pt.Transition,Tt({},o,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),function(){return n.createElement(kt,t.state,n.Children.only(r))})}}])&&Nt(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),c}(n.Component);Ut.propTypes={appearOptions:i().object,enterOptions:i().object,leaveOptions:i().object,children:i().element};const Vt=Ut;function qt(t){var e=t.component,r=t.children,o=t.appear,i=t.enter,a=t.leave;return n.createElement(Pt.TransitionGroup,{component:e},n.Children.map(r,function(t,e){return n.createElement(Vt,{appearOptions:o,enterOptions:i,leaveOptions:a,key:"child-".concat(e)},t)}))}qt.propTypes={appear:i().object,enter:i().object,leave:i().object,children:i().oneOfType([i().array,i().element]),component:i().any},qt.defaultProps={component:"span"};const Gt=kt},72127:(t,e,r)=>{var n=r(84570);t.exports=function(t,e){var r;return n(t,function(t,n,o){return!(r=e(t,n,o))}),!!r}},72532:(t,e,r)=>{var n=r(94715),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},73001:(t,e,r)=>{"use strict";r.d(e,{Z:()=>A});
2var n=r(41580),o=r.n(n),i=r(93655),a=r.n(i),c=r(3668),s=r.n(c),u=r(98087),l=r.n(u),f=r(53142),p=r.n(f),h=r(14041),d=r(94437),y=r(65578),v=r(41762),m=r(58972),g=r(19773);function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function x(){return x=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},x.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 O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?w(Object(r),!0).forEach(function(e){_(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 _(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var E={valueAccessor:function(t){return p()(t.value)?l()(t.value):t.value}};function A(t){var e=t.data,r=t.valueAccessor,n=t.dataKey,o=t.clockWise,i=t.id,a=t.textBreakAll,c=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,["data","valueAccessor","dataKey","clockWise","id","textBreakAll"]);return e&&e.length?h.createElement(y.W,{className:"recharts-label-list"},e.map(function(t,e){var u=s()(n)?r(t,e):(0,m.kr)(t&&t.payload,n),l=s()(i)?{}:{id:"".concat(i,"-").concat(e)};return h.createElement(d.J,x({},(0,g.J9)(t,!0),c,l,{parentViewBox:t.parentViewBox,index:e,value:u,textBreakAll:a,viewBox:d.J.parseViewBox(s()(o)?t:O(O({},t),{},{clockWise:o})),key:"label-".concat(e)}))})):null}A.displayName="LabelList",A.renderCallByParent=function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&r&&!t.label)return null;var n,i=t.children,c=(0,v.aS)(i,A.displayName).map(function(t,r){return(0,h.cloneElement)(t,{data:e,key:"labelList-".concat(r)})});return r?[function(t,e){return t?!0===t?h.createElement(A,{key:"labelList-implicit",data:e}):h.isValidElement(t)||a()(t)?h.createElement(A,{key:"labelList-implicit",data:e,content:t}):o()(t)?h.createElement(A,x({data:e},t,{key:"labelList-implicit"})):null:null}(t.label,e)].concat(function(t){if(Array.isArray(t))return b(t)}(n=c)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(n)||function(t,e){if(t){if("string"==typeof t)return b(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?b(t,e):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):c},A.defaultProps=E},73145:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=c(r(56663)),o=r(38870),i=c(r(65489)),a=c(r(96391));function c(t){return t&&t.__esModule?t:{default:t}}var s=/((?:\-[a-z]+\-)?calc)/;e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;return(0,n.default)(t).walk(function(t){if("function"===t.type&&s.test(t.value)){var r=n.default.stringify(t.nodes);if(!(r.indexOf("constant")>=0||r.indexOf("env")>=0)){var c=o.parser.parse(r),u=(0,i.default)(c,e);t.type="word",t.value=(0,a.default)(t.value,u,e)}}},!0).toString()},t.exports=e.default},73501:t=>{t.exports=function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++n<o;)i[n]=t[n+e];return i}},73758:(t,e,r)=>{var n=r(40165)();t.exports=n},74535:(t,e,r)=>{var n=r(46285),o=r(36529),i=r(69632),a=r(41580);t.exports=function(t,e,r){if(!a(r))return!1;var c=typeof e;return!!("number"==c?o(r)&&i(e,r.length):"string"==c&&e in r)&&n(r[e],t)}},74967:(t,e,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},75234:(t,e,r)=>{var n=r(86912),o=Math.max;t.exports=function(t,e,r){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,c=o(i.length-e,0),s=Array(c);++a<c;)s[a]=i[e+a];a=-1;for(var u=Array(e+1);++a<e;)u[a]=i[a];return u[e]=r(s),n(t,this,u)}}},75431:t=>{var e={px:{px:1,cm:96/2.54,mm:96/25.4,in:96,pt:96/72,pc:16},cm:{px:2.54/96,cm:1,mm:.1,in:2.54,pt:2.54/72,pc:2.54/6}
2,mm:{px:25.4/96,cm:10,mm:1,in:25.4,pt:25.4/72,pc:25.4/6},in:{px:1/96,cm:1/2.54,mm:1/25.4,in:1,pt:1/72,pc:1/6},pt:{px:.75,cm:72/2.54,mm:72/25.4,in:72,pt:1,pc:12},pc:{px:6/96,cm:6/2.54,mm:6/25.4,in:6,pt:6/72,pc:1},deg:{deg:1,grad:.9,rad:180/Math.PI,turn:360},grad:{deg:400/360,grad:1,rad:200/Math.PI,turn:400},rad:{deg:Math.PI/180,grad:Math.PI/200,rad:1,turn:2*Math.PI},turn:{deg:1/360,grad:1/400,rad:.5/Math.PI,turn:1},s:{s:1,ms:.001},ms:{s:1e3,ms:1},Hz:{Hz:1,kHz:1e3},kHz:{Hz:.001,kHz:1},dpi:{dpi:1,dpcm:1/2.54,dppx:1/96},dpcm:{dpi:2.54,dpcm:1,dppx:2.54/96},dppx:{dpi:96,dpcm:96/2.54,dppx:1}};t.exports=function(t,r,n,o){if(!e.hasOwnProperty(n))throw new Error("Cannot convert to "+n);if(!e[n].hasOwnProperty(r))throw new Error("Cannot convert from "+r+" to "+n);var i=e[n][r]*t;return!1!==o?(o=Math.pow(10,parseInt(o)||5),Math.round(i*o)/o):i}},75853:(t,e,r)=>{t=r.nmd(t);var n=r(78942),o=r(34772),i=e&&!e.nodeType&&e,a=i&&t&&!t.nodeType&&t,c=a&&a.exports===i?n.Buffer:void 0,s=(c?c.isBuffer:void 0)||o;t.exports=s},76800:(t,e,r)=>{"use strict";t.exports=r(55836)},76806:(t,e,r)=>{var n=r(60986);t.exports=function(t){return n(t)&&t!=+t}},76853:(t,e,r)=>{var n=r(69011);t.exports=function(t){var e=n(t,function(t){return 500===r.size&&r.clear(),t}),r=e.cache;return e}},77317:(t,e,r)=>{var n=r(3334),o=r(36529),i=r(81211);t.exports=function(t){return function(e,r,a){var c=Object(e);if(!o(e)){var s=n(r,3);e=i(e),r=function(t){return s(c[t],t,c)}}var u=t(e,r,a);return u>-1?c[s?e[u]:u]:void 0}}},77979:(t,e,r)=>{var n=r(79847),o=r(99306),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,c=a?function(t){return null==t?[]:(t=Object(t),n(a(t),function(e){return i.call(t,e)}))}:o;t.exports=c},78400:(t,e,r)=>{"use strict";r.d(e,{u:()=>Y});var n=r(12784),o=r.n(n),i=r(53373),a=r.n(i),c=r(14041),s=r(43144),u=function(t,e){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},u(t,e)};var l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},f=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},p="object"==typeof l&&l&&l.Object===Object&&l,h="object"==typeof self&&self&&self.Object===Object&&self,d=p||h||Function("return this")(),y=d,v=/\s/,m=/^\s+/,g=d.Symbol,b=g,x=Object.prototype,w=x.hasOwnProperty,O=x.toString,_=b?b.toStringTag:void 0,E=Object.prototype.toString,A=function(t){var e=w.call(t,_),r=t[_];try{t[_]=void 0;var n=!0}catch(t){}var o=O.call(t);return n&&(e?t[_]=r:delete t[_]),o},S=g?g.toStringTag:void 0,j=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":S&&S in Object(t)?A(t):function(t){return E.call(t)}(t)},k=function(t){return t?t.slice(0,function(t){for(var e=t.length;e--&&v.test(t.charAt(e)););return e}(t)+1).replace(m,""):t},P=f,M=/^[-+]0x[0-9a-f]+$/i,C=/^0b[01]+$/i,T=/^0o[0-7]+$/i,I=parseInt,R=f,N=function(){return y.Date.now()},D=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return null!=t&&"object"==typeof t}(t)&&"[object Symbol]"==j(t)}(t))return NaN;if(P(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=P(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=k(t);var r=C.test(t);return r||T.test(t)?I(t.slice(2),r?2:8):M.test(t)?NaN:+t},L=Math.max,B=Math.min,z=function(t,e,r){var n,o,i,a,c,s,u=0,l=!1,f=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function h(e){var r=n,i=o;return n=o=void 0,u=e,a=t.apply(i,r)}function d(t){var r=t-s;return void 0===s||r>=e||r<0||f&&t-u>=i}function y(){var t=N();if(d(t))return v(t);c=setTimeout(y,function(t){var r=e-(t-s);return f?B(r,i-(t-u)):r}(t))}function v(t){return c=void 0,p&&n?h(t):(n=o=void 0,a)}function m(){var t=N(),r=d(t);if(n=arguments,o=this,s=t,r){if(void 0===c)return function(t){return u=t,c=setTimeout(y,e),l?h(t):a}(s);if(f)return clearTimeout(c),c=setTimeout(y,e),h(s)}return void 0===c&&(c=setTimeout(y,e)),a}return e=D(e)||0,R(r)&&(l=!!r.leading,i=(f="maxWait"in r)?L(D(r.maxWait)||0,e):i,p="trailing"in r?!!r.trailing:p),m.cancel=function(){void 0!==c&&clearTimeout(c),u=0,n=s=o=c=void 0},m.flush=function(){return void 0===c?a:v(N())},m}
2,F=z,W=f,U=function(t,e,r,n){switch(e){case"debounce":return z(t,r,n);case"throttle":return function(t,e,r){var n=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return W(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),F(t,e,{leading:n,maxWait:e,trailing:o})}(t,r,n);default:return t}},V=function(t){return"function"==typeof t},q=function(){return"undefined"==typeof window},G=function(t){return t instanceof Element||t instanceof HTMLDocument},H=function(t){function e(e){var r=t.call(this,e)||this;r.cancelHandler=function(){r.resizeHandler&&r.resizeHandler.cancel&&(r.resizeHandler.cancel(),r.resizeHandler=null)},r.attachObserver=function(){var t=r.props,e=t.targetRef,n=t.observerOptions;if(!q()){e&&e.current&&(r.targetRef.current=e.current);var o=r.getElement();o&&(r.observableElement&&r.observableElement===o||(r.observableElement=o,r.resizeObserver.observe(o,n)))}},r.getElement=function(){var t=r.props,e=t.querySelector,n=t.targetDomEl;if(q())return null;if(e)return document.querySelector(e);if(n&&G(n))return n;if(r.targetRef&&G(r.targetRef.current))return r.targetRef.current;var o=(0,s.findDOMNode)(r);if(!o)return null;switch(r.getRenderType()){case"renderProp":case"childFunction":case"child":case"childArray":return o;default:return o.parentElement}},r.createResizeHandler=function(t){var e=r.props,n=e.handleWidth,o=void 0===n||n,i=e.handleHeight,a=void 0===i||i,c=e.onResize;if(o||a){var s=function(t,e,r,n){return function(o){var i=o.width,a=o.height;e(function(e){return e.width===i&&e.height===a||e.width===i&&!n||e.height===a&&!r?e:(t&&V(t)&&t(i,a),{width:i,height:a})})}}(c,r.setState.bind(r),o,a);t.forEach(function(t){var e=t&&t.contentRect||{},n=e.width,o=e.height;!r.skipOnMount&&!q()&&s({width:n,height:o}),r.skipOnMount=!1})}},r.getRenderType=function(){var t=r.props,e=t.render,n=t.children;return V(e)?"renderProp":V(n)?"childFunction":(0,c.isValidElement)(n)?"child":Array.isArray(n)?"childArray":"parent"};var n=e.skipOnMount,o=e.refreshMode,i=e.refreshRate,a=void 0===i?1e3:i,u=e.refreshOptions;return r.state={width:void 0,height:void 0},r.skipOnMount=n,r.targetRef=(0,c.createRef)(),r.observableElement=null,q()||(r.resizeHandler=U(r.createResizeHandler,o,a,u),r.resizeObserver=new window.ResizeObserver(r.resizeHandler)),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}u(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}(e,t),e.prototype.componentDidMount=function(){this.attachObserver()},e.prototype.componentDidUpdate=function(){this.attachObserver()},e.prototype.componentWillUnmount=function(){q()||(this.observableElement=null,this.resizeObserver.disconnect(),this.cancelHandler())},e.prototype.render=function(){var t,e=this.props,r=e.render,n=e.children,o=e.nodeType,i=void 0===o?"div":o,a=this.state,s={width:a.width,height:a.height,targetRef:this.targetRef};switch(this.getRenderType()){case"renderProp":return r&&r(s);case"childFunction":return(t=n)(s);case"child":if((t=n).type&&"string"==typeof t.type){var u=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(s,["targetRef"]);return(0,c.cloneElement)(t,u)}return(0,c.cloneElement)(t,s);case"childArray":return(t=n).map(function(t){return!!t&&(0,c.cloneElement)(t,s)});default:return c.createElement(i,null)}},e}(c.PureComponent);q()?c.useEffect:c.useLayoutEffect;var X=r(81649),$=r(13157);function J(){return J=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},J.apply(this,arguments)}function K(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Z(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Z(t,e):void 0}}
2(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Y=(0,c.forwardRef)(function(t,e){var r=t.aspect,n=t.width,i=void 0===n?"100%":n,s=t.height,u=void 0===s?"100%":s,l=t.minWidth,f=t.minHeight,p=t.maxHeight,h=t.children,d=t.debounce,y=void 0===d?0:d,v=t.id,m=t.className,g=K((0,c.useState)({containerWidth:-1,containerHeight:-1}),2),b=g[0],x=g[1],w=(0,c.useRef)(null);(0,c.useImperativeHandle)(e,function(){return w},[w]);var O=K((0,c.useState)(!1),2),_=O[0],E=O[1],A=function(){return w.current?{containerWidth:w.current.clientWidth,containerHeight:w.current.clientHeight}:null},S=function(){if(_){var t=A();if(t){var e=b.containerWidth,r=b.containerHeight,n=t.containerWidth,o=t.containerHeight;n===e&&o===r||x({containerWidth:n,containerHeight:o})}}},j=y>0?o()(S,y):S;(0,c.useEffect)(function(){if(_){var t=A();t&&x(t)}},[_]),(0,c.useEffect)(function(){E(!0)},[]);var k={width:i,height:u,minWidth:l,minHeight:f,maxHeight:p};return c.createElement(H,{handleWidth:!0,handleHeight:!0,onResize:j,targetRef:w},c.createElement("div",J({},null!=v?{id:"".concat(v)}:{},{className:a()("recharts-responsive-container",m),style:k,ref:w}),function(){var t=b.containerWidth,e=b.containerHeight;if(t<0||e<0)return null;(0,$.R)((0,X._3)(i)||(0,X._3)(u),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",i,u),(0,$.R)(!r||r>0,"The aspect(%s) must be greater than zero.",r);var n=(0,X._3)(i)?t:i,o=(0,X._3)(u)?e:u;return r&&r>0&&(n?o=n/r:o&&(n=o*r),p&&o>p&&(o=p)),(0,$.R)(n>0||o>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",n,o,i,u,l,f,r),(0,c.cloneElement)(h,{width:n,height:o})}()))})},78942:(t,e,r)=>{var n=r(74967),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},79067:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},79071:t=>{t.exports=function(){}},79847:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var a=t[r];e(a,r,t)&&(i[o++]=a)}return i}},80088:(t,e,r)=>{var n=r(44700);t.exports=function(t){return n(this,t).get(t)}},80393:(t,e,r)=>{var n=r(48244),o=r(77979),i=r(81211);t.exports=function(t){return n(t,i,o)}},80547:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},80796:(t,e,r)=>{var n=r(47403),o=r(3316)(n);t.exports=o},81211:(t,e,r)=>{var n=r(10358),o=r(195),i=r(36529);t.exports=function(t){return i(t)?n(t):o(t)}},81649:(t,e,r)=>{"use strict";r.d(e,{CG:()=>w,Dj:()=>O,Et:()=>y,F4:()=>b,NF:()=>g,_3:()=>d,eP:()=>_,lX:()=>x,sA:()=>h,vh:()=>v});var n=r(46123),o=r.n(n),i=r(53142),a=r.n(i),c=r(76806),s=r.n(c),u=r(60986),l=r.n(u),f=r(8138),p=r.n(f),h=function(t){return 0===t?0:t>0?1:-1},d=function(t){return p()(t)&&t.indexOf("%")===t.length-1},y=function(t){return l()(t)&&!s()(t)},v=function(t){return y(t)||p()(t)},m=0,g=function(t){var e=++m;return"".concat(t||"").concat(e)},b=function(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!y(t)&&!p()(t))return n;if(d(t)){var i=t.indexOf("%");r=e*parseFloat(t.slice(0,i))/100}else r=+t;return s()(r)&&(r=n),o&&r>e&&(r=e),r},x=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},w=function(t){if(!a()(t))return!1;for(var e=t.length,r={},n=0;n<e;n++){if(r[t[n]])return!0;r[t[n]]=!0}return!1},O=function(t,e){return y(t)&&y(e)?function(r){return t+r*(e-t)}:function(){return e}};function _(t,e,r){return t&&t.length?t.find(function(t){return t&&("function"==typeof e?e(t):o()(t,e))===r}):null}},81936:(t,e,r)=>{var n=r(77317)(r(69773));t.exports=n},82237:(t,e,r)=>{var n=r(52837),o=r(83417),i=r(14394);t.exports=function(t){return o(t)?i(t):n(t)}},82619:t=>{t.exports=function(t){return function(){return t}}},82737:(t,e,r)=>{"use strict";r.d(e,{m:()=>B});var n=r(3668),o=r.n(n),i=r(93655),a=r.n(i),c=r(87835),s=r.n(c),u=r(14041),l=r(70907),f=r(53373),p=r.n(f),h=r(40074),d=r.n(h),y=r(53142),v=r.n(y),m=r(81649);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},g(t)}function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function 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 w(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?x(Object(r),!0).forEach(function(e){O(t,e,r[e])}):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 O(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,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,n.key,n)}}function E(t,e){return E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},E(t,e)}function A(t){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},A(t)}function S(t){return v()(t)&&(0,m.vh)(t[0])&&(0,m.vh)(t[1])?t.join(" ~ "):t}var j=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E(t,e)}(c,t);var e,r,n,i,a=(n=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=A(n);if(i){var r=A(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,t)});function c(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.apply(this,arguments)}return e=c,(r=[{key:"renderContent",value:function(){var t=this.props,e=t.payload,r=t.separator,n=t.formatter,o=t.itemStyle,i=t.itemSorter;if(e&&e.length){var a=(i?d()(e,i):e).map(function(t,i){if("none"===t.type)return null;var a=w({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},o),c=t.formatter||n||S,s=t.name,l=t.value;if(c){var f=c(l,s,t,i,e);if(Array.isArray(f)){var p=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}(t,e)||function(t,e){if(t){if("string"==typeof t)return b(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?b(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(f,2);l=p[0],s=p[1]}else l=f}return u.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(i),style:a},(0,m.vh)(s)?u.createElement("span",{className:"recharts-tooltip-item-name"},s):null,(0,m.vh)(s)?u.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,u.createElement("span",{className:"recharts-tooltip-item-value"},l),u.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))});return u.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},a)}return null}},{key:"render",value:function(){var t=this.props,e=t.wrapperClassName,r=t.contentStyle,n=t.labelClassName,i=t.labelStyle,a=t.label,c=t.labelFormatter,s=t.payload,l=w({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},r),f=w({margin:0},i),h=!o()(a),d=h?a:"",y=p()("recharts-default-tooltip",e),v=p()("recharts-tooltip-label",n);return h&&c&&null!=s&&(d=c(a,s)),u.createElement("div",{className:y,style:l},u.createElement("p",{className:v,style:f},u.isValidElement(d)?d:"".concat(d)),this.renderContent())}}])&&_(e.prototype,r),c}(u.PureComponent);j.displayName="DefaultTooltipContent",j.defaultProps={separator:" : ",contentStyle:{},itemStyle:{},labelStyle:{}};var k=r(14625);function P(t){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},P(t)}function 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 C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?M(Object(r),!0).forEach(function(e){T(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 T(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function I(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)}}function R(t,e){return R=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},R(t,e)}function N(t){return N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},N(t)}var D="recharts-tooltip-wrapper";function L(t){return t.dataKey}var B=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&R(t,e)}(f,t);var e,r,n,i,c=(n=f,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=N(n);if(i){var r=N(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){return!e||"object"!==P(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,t)});function f(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=c.call.apply(c,[this].concat(r))).state={boxWidth:-1,boxHeight:-1,dismissed:!1,dismissedAtCoordinate:{x:0,y:0}},t.wrapperNode=void 0,t.getTranslate=function(e){var r=e.key,n=e.tooltipDimension,o=e.viewBoxDimension,i=t.props,a=i.allowEscapeViewBox,c=i.coordinate,s=i.offset,u=i.position,l=i.viewBox;if(u&&(0,m.Et)(u[r]))return u[r];var f=c[r]-n-s,p=c[r]+s;return a[r]?p:c[r]+n+s>l[r]+o?Math.max(f,l[r]):Math.max(p,l[r])},t}return e=f,(r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,r=t.boxHeight;if(t.dismissed?(this.wrapperNode.blur(),this.props.coordinate.x===this.state.dismissedAtCoordinate.x&&this.props.coordinate.y===this.state.dismissedAtCoordinate.y||this.setState({dismissed:!1})):this.wrapperNode.focus(),this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();(Math.abs(n.width-e)>1||Math.abs(n.height-r)>1)&&this.setState({boxWidth:n.width,boxHeight:n.height})}else-1===e&&-1===r||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var t,e,r,n=this,i=this.props,c=i.payload,f=i.isAnimationActive,h=i.animationDuration,d=i.animationEasing,y=i.filterNull,v=function(t,e){return!0===t?s()(e,L):a()(t)?s()(e,t):e}(i.payloadUniqBy,y&&c&&c.length?c.filter(function(t){return!o()(t.value)}):c),g=v&&v.length,b=this.props,x=b.content,w=b.viewBox,O=b.coordinate,_=b.position,E=b.active,A=b.wrapperStyle,S=C({pointerEvents:"none",visibility:!this.state.dismissed&&E&&g?"visible":"hidden",position:"absolute",top:0,left:0},A);if(_&&(0,m.Et)(_.x)&&(0,m.Et)(_.y))e=_.x,r=_.y;else{var k=this.state,P=k.boxWidth,M=k.boxHeight;P>0&&M>0&&O?(e=this.getTranslate({key:"x",tooltipDimension:P,viewBoxDimension:w.width}),r=this.getTranslate({key:"y",tooltipDimension:M,viewBoxDimension:w.height})):S.visibility="hidden"}S=C(C({},(0,l.g6)({transform:this.props.useTranslate3d?"translate3d(".concat(e,"px, ").concat(r,"px, 0)"):"translate(".concat(e,"px, ").concat(r,"px)")})),S),f&&E&&(S=C(C({},(0,l.g6)({transition:"transform ".concat(h,"ms ").concat(d)})),S));var I=p()(D,(T(t={},"".concat(D,"-right"),(0,m.Et)(e)&&O&&(0,m.Et)(O.x)&&e>=O.x),T(t,"".concat(D,"-left"),(0,m.Et)(e)&&O&&(0,m.Et)(O.x)&&e<O.x),T(t,"".concat(D,"-bottom"),(0,m.Et)(r)&&O&&(0,m.Et)(O.y
2)&&r>=O.y),T(t,"".concat(D,"-top"),(0,m.Et)(r)&&O&&(0,m.Et)(O.y)&&r<O.y),t));return u.createElement("div",{tabIndex:0,onKeyDown:function(t){"Escape"===t.key&&n.setState({dismissed:!0,dismissedAtCoordinate:C(C({},n.state.dismissedAtCoordinate),{},{x:n.props.coordinate.x,y:n.props.coordinate.y})})},className:I,style:S,ref:function(t){n.wrapperNode=t}},function(t,e){return u.isValidElement(t)?u.cloneElement(t,e):a()(t)?u.createElement(t,e):u.createElement(j,e)}(x,C(C({},this.props),{},{payload:v})))}}])&&I(e.prototype,r),f}(u.PureComponent);B.displayName="Tooltip",B.defaultProps={active:!1,allowEscapeViewBox:{x:!1,y:!1},offset:10,viewBox:{x1:0,x2:0,y1:0,y2:0},coordinate:{x:0,y:0},cursorStyle:{},separator:" : ",wrapperStyle:{},contentStyle:{},itemStyle:{},labelStyle:{},cursor:!0,trigger:"hover",isAnimationActive:!k.m.isSsr,animationEasing:"ease",animationDuration:400,filterNull:!0,useTranslate3d:!1}},83417:t=>{var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},84570:(t,e,r)=>{var n=r(47170),o=r(45770)(n);t.exports=o},84882:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},85870:t=>{function e(t,e){var n,o,i=t.type,a=t.value;return e&&void 0!==(o=e(t))?o:"word"===i||"space"===i?a:"string"===i?(n=t.quote||"")+a+(t.unclosed?"":n):"comment"===i?"/*"+a+(t.unclosed?"":"*/"):"div"===i?(t.before||"")+a+(t.after||""):Array.isArray(t.nodes)?(n=r(t.no
2des),"function"!==i?n:a+"("+(t.before||"")+n+(t.after||"")+(t.unclosed?"":")")):a}function r(t,r){var n,o;if(Array.isArray(t)){for(n="",o=t.length-1;~o;o-=1)n=e(t[o],r)+n;return n}return e(t,r)}t.exports=r},85899:(t,e,r)=>{var n=r(93526),o=r(3283),i=r(53142),a=r(69632),c=r(65387),s=r(66040);t.exports=function(t,e,r){for(var u=-1,l=(e=n(e,t)).length,f=!1;++u<l;){var p=s(e[u]);if(!(f=null!=t&&r(t,p)))break;t=t[p]}return f||++u!=l?f:!!(l=null==t?0:t.length)&&c(l)&&a(p,l)&&(i(t)||o(t))}},86115:(t,e,r)=>{"use strict";r.d(e,{A3:()=>d,Pu:()=>h,Xk:()=>y});var n=r(14625);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 i(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){a(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 a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function c(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var u={widthCache:{},cacheCount:0},l={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},f=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","lineHeight","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],p="recharts_measurement_span",h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||n.m.isSsr)return{width:0,height:0};var r="".concat(t),o=function(t){return Object.keys(t).reduce(function(e,r){return"".concat(e).concat((i=r,i.split("").reduce(function(t,e){return e===e.toUpperCase()?[].concat(c(t),["-",e.toLowerCase()]):[].concat(c(t),[e])},[]).join("")),":").concat((n=r,o=t[r],f.indexOf(n)>=0&&o===+o?"".concat(o,"px"):o),";");var n,o,i},"")}(e),a="".concat(r,"-").concat(o);if(u.widthCache[a])return u.widthCache[a];try{var s=document.getElementById(p);s||((s=document.createElement("span")).setAttribute("id",p),s.setAttribute("aria-hidden","true"),document.body.appendChild(s));var h=i(i({},l),e);Object.keys(h).map(function(t){return s.style[t]=h[t],t}),s.textContent=r;var d=s.getBoundingClientRect(),y={width:d.width,height:d.height};return u.widthCache[a]=y,++u.cacheCount>2e3&&(u.cacheCount=0,u.widthCache={}),y}catch(t){return{width:0,height:0}}},d=function(t){var e=t.ownerDocument.documentElement,r={top:0,left:0};return void 0!==t.getBoundingClientRect&&(r=t.getBoundingClientRect()),{top:r.top+window.pageYOffset-e.clientTop,left:r.left+window.pageXOffset-e.clientLeft}},y=function(t,e){return{chartX:Math.round(t.pageX-e.left),chartY:Math.round(t.pageY-e.top)}}},86403:(t,e,r)=>{var n=r(62945),o=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},86596:t=>{t.exports=function(t){return function(e,r,n){for(var o=-1,i=Object(e),a=n(e),c=a.length;c--;){var s=a[t?c:++o];if(!1===r(i[s],s,i))break}return e}}},86912:t=>{t.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},87379:(t,e,r)=>{var n=r(65650),o=r(8870),i=r(29005),a=n?n.toStringTag:void 0;
vendor: 4,748 bytes, line 2
2t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},87835:(t,e,r)=>{var n=r(3334),o=r(15630);t.exports=function(t,e){return t&&t.length?o(t,n(e,2)):[]}},88254:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(!e(t[r],r,t))return!1;return!0}},88861:(t,e,r)=>{var n=r(65650),o=r(31623),i=r(46285),a=r(33934),c=r(95894),s=r(49828),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;t.exports=function(t,e,r,n,u,f,p){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var h=c;case"[object Set]":var d=1&n;if(h||(h=s),t.size!=e.size&&!d)return!1;var y=p.get(t);if(y)return y==e;n|=2,p.set(t,e);var v=a(h(t),h(e),n,u,f,p);return p.delete(t),v;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},89413:(t,e,r)=>{var n=r(94715)(r(78942),"Promise");t.exports=n},89624:(t,e,r)=>{var n=r(93655),o=r(64759),i=r(41580),a=r(64066),c=/^\[object .+?Constructor\]$/,s=Function.prototype,u=Object.prototype,l=s.toString,f=u.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?p:c).test(a(t))}},89648:(t,e,r)=>{var n=r(41580);t.exports=function(t){return t==t&&!n(t)}},90146:(t,e,r)=>{"use strict";function n(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=t&&this.setState(t)}function o(t){this.setState(function(e){var r=this.constructor.getDerivedStateFromProps(t,e);return null!=r?r:null}.bind(this))}function i(t,e){try{var r=this.props,n=this.state;this.props=t,this.state=e,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,n)}finally{this.props=r,this.state=n}}function a(t){var e=t.prototype;if(!e||!e.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate)return t;var r=null,a=null,c=null;if("function"==typeof e.componentWillMount?r="componentWillMount":"function"==typeof e.UNSAFE_componentWillMount&&(r="UNSAFE_componentWillMount"),"function"==typeof e.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof e.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof e.componentWillUpdate?c="componentWillUpdate":"function"==typeof e.UNSAFE_componentWillUpdate&&(c="UNSAFE_componentWillUpdate"),null!==r||null!==a||null!==c){var s=t.displayName||t.name,u="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+s+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==r?"\n "+r:"")+(null!==a?"\n "+a:"")+(null!==c?"\n "+c:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof t.getDerivedStateFromProps&&(e.componentWillMount=n,e.componentWillReceiveProps=o),"function"==typeof e.getSnapshotBeforeUpdate){if("function"!=typeof e.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");e.componentWillUpdate=i;var l=e.componentDidUpdate;e.componentDidUpdate=function(t,e,r){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:r;l.call(this,t,e,n)}}return t}r.r(e),r.d(e,{polyfill:()=>a}),n.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},90313:(t,e,r)=>{var n=r(33510),o=r(20714);t.exports=function t(e,r,i,a,c){var s=-1,u=e.length;for(i||(i=o),c||(c=[]);++s<u;){var l=e[s];r>0&&i(l)?r>1?t(l,r-1,i,a,c):n(c,l):a||(c[c.length]=l)}return c}},90353:(t,e,r)=>{var n=r(51340),o=r(33934),i=r(88861),a=r(31182),c=r(28486),s=r(53142),u=r(75853),l=r(8666),f="[object Arguments]",p="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,y,v,m){var g=s(t),b=s(e),x=g?p:c(t),w=b?p:c(e),O=(x=x==f?h:x)==h,_=(w=w==f?h:w)==h,E=x==w;if(E&&u(t)){if(!u(e))return!1;g=!0,O=!1}if(E&&!O)return m||(m=new n),g||l(t)?o(t,e,r,y,v,m):i(t,e,x,r,y,v,m);if(!(1&r)){var A=O&&d.call(t,"__wrapped__"),S=_&&d.call(e,"__wrapped__");
2if(A||S){var j=A?t.value():t,k=S?e.value():e;return m||(m=new n),v(j,k,r,y,m)}}return!!E&&(m||(m=new n),a(t,e,r,y,v,m))}},90896:(t,e,r)=>{"use strict";r.d(e,{E:()=>k});var n=r(3668),o=r.n(n),i=r(14041),a=r(73145),c=r.n(a),s=r(53373),u=r.n(s),l=r(81649),f=r(14625),p=r(19773),h=r(86115);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},d(t)}function y(){return y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},y.apply(this,arguments)}function v(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)}}function m(t,e){return m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},m(t,e)}function g(t){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},g(t)}function b(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}(t,e)||function(t,e){if(t){if("string"==typeof t)return x(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?x(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function 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 O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?w(Object(r),!0).forEach(function(e){_(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 _(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var E=/[ \f\n\r\t\v\u2028\u2029]+/,A=function(t){try{var e=[];return o()(t.children)||(e=t.breakAll?t.children.toString().split(""):t.children.toString().split(E)),{wordsWithComputedWidth:e.map(function(e){return{word:e,width:(0,h.Pu)(e,t.style).width}}),spaceWidth:t.breakAll?0:(0,h.Pu)(" ",t.style).width}}catch(t){return null}},S=function(t){return[{words:o()(t)?[]:t.toString().split(E)}]},j=function(t,e){if((t.width||t.scaleToFit)&&!f.m.isSsr&&e){var r=A(t);return r?function(t,e,r,n,o){var i=(0,l.Et)(t.maxLines),a=t.children,c=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce(function(t,e){var i=e.word,a=e.width,c=t[t.length-1];if(c&&(null==n||o||c.width+a+r<n))c.words.push(i),c.width+=a+r;else{var s={words:[i],width:a};t.push(s)}return t},[])},s=c(e);if(!i)return s;for(var u,f=function(e){var r=a.slice(0,e),o=A(O(O({},t),{},{children:r+"â¦"})).wordsWithComputedWidth,i=c(o),s=i.length>t.maxLines||function(t){return t.reduce(function(t,e){return t.width>e.width?t:e})}(i).width>n;return[s,i]},p=0,h=a.length-1,d=0;p<=h&&d<=a.length-1;){var y=Math.floor((p+h)/2),v=b(f(y-1),2),m=v[0],g=v[1],x=b(f(y),1)[0];if(m||x||(p=y+1),m&&x&&(h=y-1),!m&&x){u=g;break}d++}return u||s}(t,r.wordsWithComputedWidth,r.spaceWidth,t.width,t.scaleToFit):S(t.children)}return S(t.children)},k=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(f,t);var e,r,n,o,a,s=(o=f,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=g(o);if(a){var r=g(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,t)});function f(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=s.call.apply(s,[this].concat(r))).state={},t}return e=f,n=[{key:"getDerivedStateFromProps",value:function(t,e){if(t.width!==e.prevWidth||t.scaleToFit!==e.prevScaleToFit||t.children!==e.prevChildren||t.style!==e.prevStyle||t.breakAll!==e.prevBreakAll){var r=t.children!==e.prevChildren||t.style!==e.prevStyle||t.breakAll!==e.prevBreakAll;return{prevWidth:t.width,prevScaleToFit:t.scaleToFit,prevChildren:t.children,prevStyle:t.style,wordsByLine
2s:j(t,r)}}return null}}],(r=[{key:"render",value:function(){var t=this.props,e=t.dx,r=t.dy,n=t.textAnchor,o=t.verticalAnchor,a=t.scaleToFit,s=t.angle,f=t.lineHeight,h=t.capHeight,d=t.className,v=t.breakAll,m=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,["dx","dy","textAnchor","verticalAnchor","scaleToFit","angle","lineHeight","capHeight","className","breakAll"]),g=this.state.wordsByLines;if(!(0,l.vh)(m.x)||!(0,l.vh)(m.y))return null;var b,x=m.x+((0,l.Et)(e)?e:0),w=m.y+((0,l.Et)(r)?r:0);switch(o){case"start":b=c()("calc(".concat(h,")"));break;case"middle":b=c()("calc(".concat((g.length-1)/2," * -").concat(f," + (").concat(h," / 2))"));break;default:b=c()("calc(".concat(g.length-1," * -").concat(f,")"))}var O=[];if(a){var _=g[0].width,E=this.props.width;O.push("scale(".concat(((0,l.Et)(E)?E/_:1)/_,")"))}return s&&O.push("rotate(".concat(s,", ").concat(x,", ").concat(w,")")),O.length&&(m.transform=O.join(" ")),i.createElement("text",y({},(0,p.J9)(m,!0),{x,y:w,className:u()("recharts-text",d),textAnchor:n}),g.map(function(t,e){return i.createElement("tspan",{x,dy:0===e?b:f,key:e},t.words.join(v?"":" "))}))}}])&&v(e.prototype,r),n&&v(e,n),f}(i.Component);k.defaultProps={x:0,y:0,lineHeight:"1em",capHeight:"0.71em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end"}},90988:(t,e,r)=>{var n=r(51187);t.exports=function(t,e,r){for(var o=-1,i=t.length;++o<i;){var a=t[o],c=e(a);if(null!=c&&(void 0===s?c==c&&!n(c):r(c,s)))var s=c,u=a}return u}},92928:(t,e,r)=>{"use strict";r.d(e,{J:()=>d,M:()=>y});var n=r(14041),o=r(53373),i=r.n(o),a=r(70907),c=r(19773);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},s(t)}function u(){return u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},u.apply(this,arguments)}function l(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)}}function f(t,e){return f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},f(t,e)}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}var h=function(t,e,r,n,o){var i,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),c=n>=0?1:-1,s=r>=0?1:-1,u=n>=0&&r>=0||n<0&&r<0?1:0;if(a>0&&o instanceof Array){for(var l=[0,0,0,0],f=0;f<4;f++)l[f]=o[f]>a?a:o[f];i="M".concat(t,",").concat(e+c*l[0]),l[0]>0&&(i+="A ".concat(l[0],",").concat(l[0],",0,0,").concat(u,",").concat(t+s*l[0],",").concat(e)),i+="L ".concat(t+r-s*l[1],",").concat(e),l[1]>0&&(i+="A ".concat(l[1],",").concat(l[1],",0,0,").concat(u,",\n ").concat(t+r,",").concat(e+c*l[1])),i+="L ".concat(t+r,",").concat(e+n-c*l[2]),l[2]>0&&(i+="A ".concat(l[2],",").concat(l[2],",0,0,").concat(u,",\n ").concat(t+r-s*l[2],",").concat(e+n)),i+="L ".concat(t+s*l[3],",").concat(e+n),l[3]>0&&(i+="A ".concat(l[3],",").concat(l[3],",0,0,").concat(u,",\n ").concat(t,",").concat(e+n-c*l[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var p=Math.min(a,o);i="M ".concat(t,",").concat(e+c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(t+s*p,",").concat(e,"\n L ").concat(t+r-s*p,",").concat(e,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(t+r,",").concat(e+c*p,"\n L ").concat(t+r,",").concat(e+n-c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(t+r-s*p,",").concat(e+n,"\n L ").concat(t+s*p,",").concat(e+n,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(t,",").concat(e+n-c*p," Z")}else i="M ".concat(t,",").concat(e," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return i},d=function(t,e){if(!t||!e)return!1;var r=t.x,n=t.y,o=e.x,i=e.y,a=e.width,c=e.height;if(Math.abs(a)>0&&Math.abs(c)>0){var s=Math.min(o,o+a),u=Math.max(o,o+a),l=Math.min(i,i+c),f=Math.max(i,i+c);return r>=s&&r<=u&&n>=l&&n<=f}return!1},y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(v,t);var e,r,o,d,y=(o=v,d=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=p(o);if(d){var r=p(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,t)});function v(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,v);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=y.call.apply(y,[this].concat(r))).state={totalLength:-1},t.node=void 0,t}return e=v,(r=[{key:"componentDidMount",value:function(){if(this.node&&this.node.getTotalLength)try{var t=this.node.getTotalLength();t&&this.setState({totalLength:t})}catch(t){}}},{key:"render",value:function(){var t=this,e=this.props,r=e.x,o=e.y,s=e.width,l=e.height,f=e.radiu
2s,p=e.className,d=this.state.totalLength,y=this.props,v=y.animationEasing,m=y.animationDuration,g=y.animationBegin,b=y.isAnimationActive,x=y.isUpdateAnimationActive;if(r!==+r||o!==+o||s!==+s||l!==+l||0===s||0===l)return null;var w=i()("recharts-rectangle",p);return x?n.createElement(a.Ay,{canBegin:d>0,from:{width:s,height:l,x:r,y:o},to:{width:s,height:l,x:r,y:o},duration:m,animationEasing:v,isActive:x},function(e){var r=e.width,o=e.height,i=e.x,s=e.y;return n.createElement(a.Ay,{canBegin:d>0,from:"0px ".concat(-1===d?1:d,"px"),to:"".concat(d,"px 0px"),attributeName:"strokeDasharray",begin:g,duration:m,isActive:b,easing:v},n.createElement("path",u({},(0,c.J9)(t.props,!0),{className:w,d:h(i,s,r,o,f),ref:function(e){t.node=e}})))}):n.createElement("path",u({},(0,c.J9)(this.props,!0),{className:w,d:h(r,o,s,l,f)}))}}])&&l(e.prototype,r),v}(n.PureComponent);y.defaultProps={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"}},93526:(t,e,r)=>{var n=r(53142),o=r(65187),i=r(96493),a=r(95243);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(a(t))}},93655:(t,e,r)=>{var n=r(87379),o=r(41580);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},94346:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,o=(n=r(75431))&&n.__esModule?n:{default:n};e.default=function(t,e,r){switch(t.type){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":return function(t,e,r){return e.type===t.type&&(e={type:t.type,value:(0,o.default)(e.value,e.unit,t.unit,r),unit:t.unit}),{left:t,right:e}}(t,e,r);default:return{left:t,right:e}}},t.exports=e.default},94437:(t,e,r)=>{"use strict";r.d(e,{J:()=>j});var n=r(41580),o=r.n(n),i=r(93655),a=r.n(i),c=r(3668),s=r.n(c),u=r(14041),l=r(53373),f=r.n(l),p=r(90896),h=r(41762),d=r(81649),y=r(49791),v=r(19773);function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function 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 b(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){x(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function x(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function w(){return w=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},w.apply(this,arguments)}var O=function(t){var e=t.value,r=t.formatter,n=s()(t.children)?e:t.children;return a()(r)?r(n):n},_=function(t,e,r){var n,o,i=t.position,a=t.viewBox,c=t.offset,l=t.className,p=a,h=p.cx,v=p.cy,m=p.innerRadius,g=p.outerRadius,b=p.startAngle,x=p.endAngle,O=p.clockWise,_=(m+g)/2,E=function(t,e){return(0,d.sA)(e-t)*Math.min(Math.abs(e-t),360)}(b,x),A=E>=0?1:-1;"insideStart"===i?(n=b+A*c,o=O):"insideEnd"===i?(n=x-A*c,o=!O):"end"===i&&(n=x+A*c,o=O),o=E<=0?o:!o;var S=(0,y.IZ)(h,v,_,n),j=(0,y.IZ)(h,v,_,n+359*(o?1:-1)),k="M".concat(S.x,",").concat(S.y,"\n A").concat(_,",").concat(_,",0,1,").concat(o?0:1,",\n ").concat(j.x,",").concat(j.y),P=s()(t.id)?(0,d.NF)("recharts-radial-line-"):t.id;return u.createElement("text",w({},r,{dominantBaseline:"central",className:f()("recharts-radial-bar-label",l)}),u.createElement("defs",null,u.createElement("path",{id:P,d:k})),u.createElement("textPath",{xlinkHref:"#".concat(P)},e))},E=function(t){var e=t.viewBox,r=t.offset,n=t.position,o=e,i=o.cx,a=o.cy,c=o.innerRadius,s=o.outerRadius,u=(o.startAngle+o.endAngle)/2;if("outside"===n){var l=(0,y.IZ)(i,a,s+r,u),f=l.x;return{x:f,y:l.y,textAnchor:f>=i?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"end"};
2var p=(c+s)/2,h=(0,y.IZ)(i,a,p,u);return{x:h.x,y:h.y,textAnchor:"middle",verticalAnchor:"middle"}},A=function(t){var e=t.viewBox,r=t.parentViewBox,n=t.offset,i=t.position,a=e,c=a.x,s=a.y,u=a.width,l=a.height,f=l>=0?1:-1,p=f*n,h=f>0?"end":"start",y=f>0?"start":"end",v=u>=0?1:-1,m=v*n,g=v>0?"end":"start",x=v>0?"start":"end";if("top"===i)return b(b({},{x:c+u/2,y:s-f*n,textAnchor:"middle",verticalAnchor:h}),r?{height:Math.max(s-r.y,0),width:u}:{});if("bottom"===i)return b(b({},{x:c+u/2,y:s+l+p,textAnchor:"middle",verticalAnchor:y}),r?{height:Math.max(r.y+r.height-(s+l),0),width:u}:{});if("left"===i){var w={x:c-m,y:s+l/2,textAnchor:g,verticalAnchor:"middle"};return b(b({},w),r?{width:Math.max(w.x-r.x,0),height:l}:{})}if("right"===i){var O={x:c+u+m,y:s+l/2,textAnchor:x,verticalAnchor:"middle"};return b(b({},O),r?{width:Math.max(r.x+r.width-O.x,0),height:l}:{})}var _=r?{width:u,height:l}:{};return"insideLeft"===i?b({x:c+m,y:s+l/2,textAnchor:x,verticalAnchor:"middle"},_):"insideRight"===i?b({x:c+u-m,y:s+l/2,textAnchor:g,verticalAnchor:"middle"},_):"insideTop"===i?b({x:c+u/2,y:s+p,textAnchor:"middle",verticalAnchor:y},_):"insideBottom"===i?b({x:c+u/2,y:s+l-p,textAnchor:"middle",verticalAnchor:h},_):"insideTopLeft"===i?b({x:c+m,y:s+p,textAnchor:x,verticalAnchor:y},_):"insideTopRight"===i?b({x:c+u-m,y:s+p,textAnchor:g,verticalAnchor:y},_):"insideBottomLeft"===i?b({x:c+m,y:s+l-p,textAnchor:x,verticalAnchor:h},_):"insideBottomRight"===i?b({x:c+u-m,y:s+l-p,textAnchor:g,verticalAnchor:h},_):o()(i)&&((0,d.Et)(i.x)||(0,d._3)(i.x))&&((0,d.Et)(i.y)||(0,d._3)(i.y))?b({x:c+(0,d.F4)(i.x,u),y:s+(0,d.F4)(i.y,l),textAnchor:"end",verticalAnchor:"end"},_):b({x:c+u/2,y:s+l/2,textAnchor:"middle",verticalAnchor:"middle"},_)},S=function(t){return(0,d.Et)(t.cx)};function j(t){var e,r=t.viewBox,n=t.position,o=t.value,i=t.children,c=t.content,l=t.className,h=void 0===l?"":l,d=t.textBreakAll;if(!r||s()(o)&&s()(i)&&!(0,u.isValidElement)(c)&&!a()(c))return null;if((0,u.isValidElement)(c))return(0,u.cloneElement)(c,t);if(a()(c)){if(e=(0,u.createElement)(c,t),(0,u.isValidElement)(e))return e}else e=O(t);var y=S(r),m=(0,v.J9)(t,!0);if(y&&("insideStart"===n||"insideEnd"===n||"end"===n))return _(t,e,m);var g=y?E(t):A(t);return u.createElement(p.E,w({className:f()("recharts-label",h)},m,g,{breakAll:d}),e)}j.displayName="Label",j.defaultProps={offset:5};var k=function(t){var e=t.cx,r=t.cy,n=t.angle,o=t.startAngle,i=t.endAngle,a=t.r,c=t.radius,s=t.innerRadius,u=t.outerRadius,l=t.x,f=t.y,p=t.top,h=t.left,y=t.width,v=t.height,m=t.clockWise,g=t.labelViewBox;if(g)return g;if((0,d.Et)(y)&&(0,d.Et)(v)){if((0,d.Et)(l)&&(0,d.Et)(f))return{x:l,y:f,width:y,height:v};if((0,d.Et)(p)&&(0,d.Et)(h))return{x:p,y:h,width:y,height:v}}return(0,d.Et)(l)&&(0,d.Et)(f)?{x:l,y:f,width:0,height:0}:(0,d.Et)(e)&&(0,d.Et)(r)?{cx:e,cy:r,startAngle:o||n||0,endAngle:i||n||0,innerRadius:s||0,outerRadius:u||c||a||0,clockWise:m}:t.viewBox?t.viewBox:{}};j.parseViewBox=k,j.renderCallByParent=function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&r&&!t.label)return null;var n=t.children,i=k(t),c=(0,h.aS)(n,j.displayName).map(function(t,r){return(0,u.cloneElement)(t,{viewBox:e||i,key:"label-".concat(r)})});if(!r)return c;var s,l=function(t,e){return t?!0===t?u.createElement(j,{key:"label-implicit",viewBox:e}):(0,d.vh)(t)?u.createElement(j,{key:"label-implicit",viewBox:e,value:t}):(0,u.isValidElement)(t)?t.type===j?(0,u.cloneElement)(t,{key:"label-implicit",viewBox:e}):u.createElement(j,{key:"label-implicit",content:t,viewBox:e}):a()(t)?u.createElement(j,{key:"label-implicit",content:t,viewBox:e}):o()(t)?u.createElement(j,w({viewBox:e},t,{key:"label-implicit"})):null:null}(t.label,e||i);return[l].concat(function(t){if(Array.isArray(t))return m(t)}(s=c)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(s)||function(t,e){if(t){if("string"==typeof t)return m(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(t,e):void 0}}(s)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}},94495:(t,e,r)=>{var n=r(78942);t.exports=function(){return n.Date.now()}},94497:(t,e,r)=>{var n=r(94715)(Object,"create");t.exports=n},94687:(t,e,r)=>{var n=r(90353),o=r(80547);t.exports=function t(e,r,i,a,c){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,i,a,t,c))}},94715:(t,e,r)=>{var n=r(89624),o=r(20155);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},94859:(t,e,r)=>{"use strict";r.d(e,{A:()=>s,h:()=>c});
vendor: 8,049 bytes, line 2
2class n 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(o(this,t))}has(t){return super.has(o(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},r){const n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}(this,t))}}function o({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):r}function i(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;var a=r(32340);const c=Symbol("implicit");function s(){var t=new n,e=[],r=[],o=c;function i(n){let i=t.get(n);if(void 0===i){if(o!==c)return o;t.set(n,i=e.push(n)-1)}return r[i%r.length]}return i.domain=function(r){if(!arguments.length)return e.slice();e=[],t=new n;for(const n of r)t.has(n)||t.set(n,e.push(n)-1);return i},i.range=function(t){return arguments.length?(r=Array.from(t),i):r.slice()},i.unknown=function(t){return arguments.length?(o=t,i):o},i.copy=function(){return s(e,r).unknown(o)},a.C.apply(i,arguments),i}},95243:(t,e,r)=>{var n=r(52291);t.exports=function(t){return null==t?"":n(t)}},95894:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}},96228:(t,e,r)=>{"use strict";r.d(e,{I:()=>G});var n=r(53142),o=r.n(n),i=r(5485),a=r.n(i),c=r(93655),s=r.n(c),u=r(14041);function l(){}function f(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 p(t){this._context=t}function h(t){this._context=t}function d(t){this._context=t}function y(t){this._context=t}p.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:f(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:f(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},h.prototype={areaStart:l,areaEnd:l,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:f(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},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(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:f(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},y.prototype={areaStart:l,areaEnd:l,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};var v=r(20482);function m(t){return t<0?-1:1}function g(t,e,r){var n=t._x1-t._x0,o=e-t._x1,i=(t._y1-t._y0)/(n||o<0&&-0),a=(r-t._y1)/(o||n<0&&-0),c=(i*o+a*n)/(n+o);return(m(i)+m(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(c))||0}function b(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,o=t._y0,i=t._x1,a=t._y1,c=(i-n)/3;t._context.bezierCurveTo(n+c,o+c*e,i-c,a-c*r,i,a)}function w(t){this._context=t}function O(t){this._context=new _(t)}function _(t){this._context=t}function E(t){this._context=t}function A(t){var e,r,n=t.length-1,o=new Array(n),i=new Array(n),a=new Array(n);for(o[0]=0,i[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)o[e]=1,i[e]=4,a[e]=4*t[e]+2*t[e+1];for(o[n-1]=2,i[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=o[e]/i[e-1],i[e]-=r,a[e]-=r*a[e-1];for(o[n-1]=a[n-1]/i[n-1],e=n-2;e>=0;--e)o[e]=(a[e]-o[e+1])/i[e];for(i[n-1]=(t[n]+o[n-1])/2,e=0;e<n-1;++e)i[e]=2*t[e+1]-o[e+1];return[o,i]}function S(t,e){this._context=t,this._t=e}w.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,b(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,x(this,b(this,r=g(this,t,e)),r);break;default:x(this,this._t0,r=g(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(O.prototype=Object.create(w.prototype)).point=function(t,e){w.prototype.point.call(this,e,t)},_.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,o,i){this._context.bezierCurveTo(e,t,n,r,i,o)}},E.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=A(t),o=A(e),i=0,a=1;a<r;++i,++a)this._context.bezierCurveTo(n[0][i],o[0][i],n[1][i],o[1][i],t[a],e[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},S.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}};var j=r(33766),k=r(1121),P=r(53373),M=r.n(P),C=r(19773),T=r(81649);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},I(t)}function R(){return R=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},R.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){L(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function L(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function B(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)}}function z(t,e){return z=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},z(t,e)}function F(t){return F=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},F(t)}var W={curveBasisClosed:function(t){return new h(t)},curveBasisOpen:function(t){return new d(t)},curveBasis:function(t){return new p(t)},curveLinearClosed:function(t){return new y(t)},curveLinear:v.A,curveMonotoneX:function(t){return new w(t)},curveMonotoneY:function(t){return new O(t)},curveNatural:function(t){return new E(t)},curveStep:function(t){return new S(t,.5)},curveStepAfter:function(t){return new S(t,1)},curveStepBefore:function(t){return new S(t,0)}},U=function(t){return t.x===+t.x&&t.y===+t.y},V=function(t){return t.x},q=function(t){return t.y},G=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&z(t,e)}(l,t);var e,r,n,i,c=(n=l,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=F(n);if(i){var r=F(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){return!e||"object"!==I(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,t)});function l(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),c.apply(this,arguments)}return e=l,(r=[{key:"getPath",value:function(){var t,e=this.props,r=e.type,n=e.points,i=e.baseLine,c=e.layout,u=e.connectNulls,l=function(t,e){if(s()(t))return t;var r="curve".concat(a()(t));return"curveMonotone"===r&&e?W["".concat(r).concat("vertical"===e?"Y":"X")]:W[r]||v.A}(r,c),f=u?n.filter(function(t){return U(t)}):n;if(o()(i)){var p=u?i.filter(function(t){return U(t)}):i,h=f.map(function(t,e){return D(D({},t),{},{base:p[e]})});return(t="vertical"===c?(0,j.A)().y(q).x1(V).x0(function(t){return t.base.x}):(0,j.A)().x(V).y1(q).y0(function(t){return t.base.y})).defined(U).curve(l),t(h)}return(t="vertical"===c&&(0,T.Et)(i)?(0,j.A)().y(q).x1(V).x0(i):(0,T.Et)(i)?(0,j.A)().x(V).y1(q).y0(i):(0,k.A)().x(V).y(q)).defined(U).curve(l),t(f)}},{key:"render",value:function(){var t=this.props,e=t.className,r=t.points,n=t.path,o=t.pathRef;if(!(r&&r.length||n))return null;var i=r&&r.length?this.getPath():n;return u.createElement("path",R({},(0,C.J9)(this.props),(0,C._U)(this.props),{className:M()("recharts-curve",e),d:i,ref:o}))}}])&&B(e.prototype,r),l}(u.PureComponent);G.defaultProps={type:"linear",points:[],connectNulls:!1}},96282:(t,e,r)=>{"use strict";e.__esModule=!0,e.default=void 0,a(r(39067));var n=a(r(14041)),o=r(43144),i=a(r(21003));function a(t){return t&&t.__esModule?t:{default:t}}var c=function(t){var e,r;function a(){for(var e,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(e=t.call.apply(t,[this].concat(n))||this).handleEnter=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onEnter",0,r)},e.handleEntering=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onEntering",0,r)},e.handleEntered=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onEntered",0,r)},e.handleExit=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onExit",1,r)},e.handleExiting=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onExiting",1,r)},e.handleExited=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onExited",1,r)},e}r=t,(e=a).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var c=a.prototype;return c.handleLifecycle=function(t,e,r){var i,a=this.props.children,c=n.default.Children.toArray(a)[e];c.props[t]&&(i=c.props)[t].apply(i,r),this.props[t]&&this.props[t]((0,o.findDOMNode)(this))},c.render=function(){var t=this.props,e=t.children,r=t.in,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,["children","in"]),a=n.default.Children.toArray(e),c=a[0],s=a[1];return delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,n.default.createElement(i.default,o,r?n.default.cloneElement(c,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):n.default.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},a}(n.default.Component);c.propTypes={};var s=c;
2e.default=s,t.exports=e.default},96391:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){var n=a(e,r);return"MathExpression"===e.type&&(n=t+"("+n+")"),n};var n=r(65489),o={"*":0,"/":0,"+":1,"-":1};function i(t,e){if(!1!==e){var r=Math.pow(10,e);return Math.round(t*r)/r}return t}function a(t,e){switch(t.type){case"MathExpression":var r=t.left,c=t.right,s=t.operator,u="";return"MathExpression"===r.type&&o[s]<o[r.operator]?u+="("+a(r,e)+")":u+=a(r,e),u+=" "+t.operator+" ","MathExpression"===c.type&&o[s]<o[c.operator]?u+="("+a(c,e)+")":"MathExpression"===c.type&&"-"===s&&["+","-"].includes(c.operator)?(c.operator=(0,n.flip)(c.operator),u+=a(c,e)):u+=a(c,e),u;case"Value":return i(t.value,e);case"CssVariable":return t.fallback?"var("+t.value+", "+a(t.fallback,e)+")":"var("+t.value+")";case"Calc":return t.prefix?"-"+t.prefix+"-calc("+a(t.value,e)+")":"calc("+a(t.value,e)+")";default:return i(t.value,e)+t.unit}}t.exports=e.default},96493:(t,e,r)=>{var n=r(76853),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,r,n,o){e.push(n?o.replace(i,"$1"):r||t)}),e});t.exports=a},96638:(t,e,r)=>{var n=r(1386),o=r(19770),i=r(68250);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(t,e),this.size=r.size,this}},96902:t=>{var e=Math.ceil,r=Math.max;t.exports=function(t,n,o,i){for(var a=-1,c=r(e((n-t)/(o||1)),0),s=Array(c);c--;)s[i?c:++a]=t,t+=o;return s}},97034:(t,e,r)=>{var n=r(46285);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},97331:(t,e,r)=>{var n=r(12784),o=r(41580);t.exports=function(t,e,r){var i=!0,a=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(t,e,{leading:i,maxWait:e,trailing:a})}},97706:t=>{t.exports=function(t,e,r){for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}},98087:t=>{t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},98121:(t,e,r)=>{var n=r(3766)(Object.keys,Object);t.exports=n},98331:(t,e,r)=>{"use strict";r.d(e,{W:()=>n});var n=function(){return null};n.displayName="XAxis",n.defaultProps={allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",domain:[0,"auto"],padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0}},98880:(t,e,r)=>{var n=r(57923);t.exports=function(t){return function(e){return n(e,t)}}},99293:(t,e,r)=>{"use strict";var n;e.__esModule=!0,e.classNamesShape=e.timeoutsShape=void 0,(n=r(39067))&&n.__esModule,e.timeoutsShape=null,e.classNamesShape=null},99306:t=>{t.exports=function(){return[]}},99760:(t,e,r)=>{var n=r(88254),o=r(1432),i=r(3334),a=r(53142),c=r(74535);t.exports=function(t,e,r){var s=a(t)?n:o;return r&&c(t,e,r)&&(e=void 0),s(t,i(e,3))}}}]); 3//# sourceMappingURL=3098.myeroad.bb9f99f7795444a35554.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.