ultisuite-client/out/_next/static/chunks/817.817c023f3a3f25bd.js
R3D347HR4Y d6d18f911b
Some checks failed
E2E / Playwright e2e (push) Has been cancelled
Lots of stuff and mobile app
2026-06-17 00:13:28 +02:00

1 line
312 KiB
JavaScript

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[817],{623:(t,e,r)=>{var n=r(30773);t.exports=function(t){return null==t?"":n(t)}},962:(t,e,r)=>{var n=r(99555),o=r(19435),i=r(57689),a=r(623);t.exports=function(t){return function(e){var r=o(e=a(e))?i(e):void 0,c=r?r[0]:e.charAt(0),u=r?n(r,1).join(""):e.slice(1);return c[t]()+u}}},1217:(t,e,r)=>{var n=r(48601);t.exports=function(t){var e=n(t,function(t){return 500===r.size&&r.clear(),t}),r=e.cache;return e}},1359:(t,e,r)=>{var n=r(90057),o=r(97171);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},1379: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}},1816:t=>{t.exports=function(){return[]}},3141:(t,e,r)=>{var n=r(88215);t.exports=function(t,e){return n(t,e)}},3193:(t,e,r)=>{"use strict";r.d(e,{s0:()=>tx,gH:()=>tb,YB:()=>tI,HQ:()=>tT,xi:()=>tC,Hj:()=>tq,BX:()=>tO,tA:()=>tg,DW:()=>tz,y2:()=>tL,PW:()=>tA,Ay:()=>tv,vf:()=>tS,Mk:()=>tU,Ps:()=>tm,Mn:()=>tB,kA:()=>tW,Rh:()=>tE,w7:()=>tR,zb:()=>tK,kr:()=>th,_L:()=>tP,KC:()=>tV,A1:()=>tj,W7:()=>tM,AQ:()=>tG,_f:()=>tD});var n={};r.r(n),r.d(n,{scaleBand:()=>a.WH,scaleDiverging:()=>a.Mb,scaleDivergingLog:()=>a.Cr,scaleDivergingPow:()=>a.yj,scaleDivergingSqrt:()=>a.q9,scaleDivergingSymlog:()=>a.xh,scaleIdentity:()=>a.jo,scaleImplicit:()=>a.U4,scaleLinear:()=>a.m4,scaleLog:()=>a.ZE,scaleOrdinal:()=>a.UM,scalePoint:()=>a.hq,scalePow:()=>a.RW,scaleQuantile:()=>a.QL,scaleQuantize:()=>a.WT,scaleRadial:()=>a.af,scaleSequential:()=>a.ex,scaleSequentialLog:()=>a.M3,scaleSequentialPow:()=>a.ui,scaleSequentialQuantile:()=>a.T,scaleSequentialSqrt:()=>a.ye,scaleSequentialSymlog:()=>a.nV,scaleSqrt:()=>a.Bv,scaleSymlog:()=>a.aX,scaleThreshold:()=>a.c3,scaleTime:()=>a.w7,scaleUtc:()=>a.Pp,tickFormat:()=>a.Vr});var o=r(9340),i=r(54368),a=r(96456);function c(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 u=r(98047),l=r(82730);function s(t){for(var e=t.length,r=Array(e);--e>=0;)r[e]=e;return r}function f(t,e){return t[e]}function p(t){let e=[];return e.key=t,e}var y=r(31515),d=r.n(y),h=r(74285),v=r.n(h),b=r(23258),m=r.n(b),g=r(42971),O=r.n(g),x=r(31614),w=r.n(x),j=r(99645),S=r.n(j),P=r(99490),A=r.n(P),E=r(58916),k=r.n(E),T=r(73825),M=r.n(T),I=r(3141),C=r.n(I),D=r(19734),_=r.n(D),N=r(91579),B=r.n(N);function R(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var L=function(t){return t},z={},W=function(t){return t===z},U=function(t){return function e(){return 0==arguments.length||1==arguments.length&&W(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},F=function(t){return function t(e,r){return 1===e?r:U(function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];var a=o.filter(function(t){return t!==z}).length;return a>=e?r.apply(void 0,o):t(e-a,U(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=o.map(function(t){return W(t)?e.shift():t});return r.apply(void 0,((function(t){if(Array.isArray(t))return R(t)})(i)||function(t){if("u">typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(i)||function(t){if(t){if("string"==typeof t)return R(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return R(t,void 0)}}(i)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat(e))}))})}(t.length,t)},X=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},G=F(function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map(function(t){return e[t]}).map(t)}),q=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return L;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))}},V=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},K=function(t){var e=null,r=null;return function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return e&&o.every(function(t,r){return t===e[r]})?r:(e=o,r=t.apply(void 0,o))}};F(function(t,e,r){var n=+t;return n+r*(e-n)}),F(function(t,e,r){var n=e-t;return(r-t)/(n=n||1/0)}),F(function(t,e,r){var n=e-t;return Math.max(0,Math.min(1,(r-t)/(n=n||1/0)))});let H=function(t,e,r){for(var n=new(B())(t),o=0,i=[];n.lt(e)&&o<1e5;)i.push(n.toNumber()),n=n.add(r),o++;return i},Z=function(t){return 0===t?1:Math.floor(new(B())(t).abs().log(10).toNumber())+1};function J(t){return function(t){if(Array.isArray(t))return Q(t)}(t)||function(t){if("u">typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Y(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("u">typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,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)||Y(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Y(t,e){if(t){if("string"==typeof t)return Q(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Q(t,e)}}function Q(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function tt(t){var e=$(t,2),r=e[0],n=e[1],o=r,i=n;return r>n&&(o=n,i=r),[o,i]}function te(t,e,r){if(t.lte(0))return new(B())(0);var n=Z(t.toNumber()),o=new(B())(10).pow(n),i=t.div(o),a=1!==n?.05:.1,c=new(B())(Math.ceil(i.div(a).toNumber())).add(r).mul(a).mul(o);return e?c:new(B())(Math.ceil(c))}function tr(t,e,r){var n=1,o=new(B())(t);if(!o.isint()&&r){var i=Math.abs(t);i<1?(n=new(B())(10).pow(Z(t)-1),o=new(B())(Math.floor(o.div(n).toNumber())).mul(n)):i>1&&(o=new(B())(Math.floor(t)))}else 0===t?o=new(B())(Math.floor((e-1)/2)):r||(o=new(B())(Math.floor(t)));var a=Math.floor((e-1)/2);return q(G(function(t){return o.add(new(B())(t-a).mul(n)).toNumber()}),X)(0,e)}var tn=K(function(t){var e=$(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=$(tt([r,n]),2),u=c[0],l=c[1];if(u===-1/0||l===1/0){var s=l===1/0?[u].concat(J(X(0,o-1).map(function(){return 1/0}))):[].concat(J(X(0,o-1).map(function(){return-1/0})),[l]);return r>n?V(s):s}if(u===l)return tr(u,o,i);var f=function t(e,r,n,o){var i,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((r-e)/(n-1)))return{step:new(B())(0),tickMin:new(B())(0),tickMax:new(B())(0)};var c=te(new(B())(r).sub(e).div(n-1),o,a),u=Math.ceil((i=e<=0&&r>=0?new(B())(0):(i=new(B())(e).add(r).div(2)).sub(new(B())(i).mod(c))).sub(e).div(c).toNumber()),l=Math.ceil(new(B())(r).sub(i).div(c).toNumber()),s=u+l+1;return s>n?t(e,r,n,o,a+1):(s<n&&(l=r>0?l+(n-s):l,u=r>0?u:u+(n-s)),{step:c,tickMin:i.sub(new(B())(u).mul(c)),tickMax:i.add(new(B())(l).mul(c))})}(u,l,a,i),p=f.step,y=H(f.tickMin,f.tickMax.add(new(B())(.1).mul(p)),p);return r>n?V(y):y});K(function(t){var e=$(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=$(tt([r,n]),2),u=c[0],l=c[1];if(u===-1/0||l===1/0)return[r,n];if(u===l)return tr(u,o,i);var s=te(new(B())(l).sub(u).div(a-1),i,0),f=q(G(function(t){return new(B())(u).add(new(B())(t).mul(s)).toNumber()}),X)(0,a).filter(function(t){return t>=u&&t<=l});return r>n?V(f):f});var to=K(function(t,e){var r=$(t,2),n=r[0],o=r[1],i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=$(tt([n,o]),2),c=a[0],u=a[1];if(c===-1/0||u===1/0)return[n,o];if(c===u)return[c];var l=Math.max(e,2),s=te(new(B())(u).sub(c).div(l-1),i,0),f=[].concat(J(H(new(B())(c),new(B())(u).sub(new(B())(.99).mul(s)),s)),[u]);return n>o?V(f):f}),ti=r(58029),ta=r(49943),tc=r(19286),tu=r(80355);function tl(t){return(tl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ts(t){return function(t){if(Array.isArray(t))return tf(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t){if(t){if("string"==typeof t)return tf(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return tf(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tf(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function tp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ty(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tp(Object(r),!0).forEach(function(e){td(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tp(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function td(t,e,r){var n;return(n=function(t,e){if("object"!=tl(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tl(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==tl(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function th(t,e,r){return m()(t)||m()(e)?r:(0,ta.vh)(e)?S()(t,e,r):O()(e)?e(t):r}function tv(t,e,r,n){var o=A()(t,function(t){return th(t,e)});if("number"===r){var i=o.filter(function(t){return(0,ta.Et)(t)||parseFloat(t)});return i.length?[v()(i),d()(i)]:[1/0,-1/0]}return(n?o.filter(function(t){return!m()(t)}):o).map(function(t){return(0,ta.vh)(t)||t instanceof Date?t:""})}var tb=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!=(e=null==r?void 0:r.length)?e:0;if(a<=1)return 0;if(o&&"angleAxis"===o.axisType&&1e-6>=Math.abs(Math.abs(o.range[1]-o.range[0])-360))for(var c=o.range,u=0;u<a;u++){var l=u>0?n[u-1].coordinate:n[a-1].coordinate,s=n[u].coordinate,f=u>=a-1?n[0].coordinate:n[u+1].coordinate,p=void 0;if((0,ta.sA)(s-l)!==(0,ta.sA)(f-s)){var y=[];if((0,ta.sA)(f-s)===(0,ta.sA)(c[1]-c[0])){p=f;var d=s+c[1]-c[0];y[0]=Math.min(d,(d+l)/2),y[1]=Math.max(d,(d+l)/2)}else{p=l;var h=f+c[1]-c[0];y[0]=Math.min(s,(h+s)/2),y[1]=Math.max(s,(h+s)/2)}var v=[Math.min(s,(p+s)/2),Math.max(s,(p+s)/2)];if(t>v[0]&&t<=v[1]||t>=y[0]&&t<=y[1]){i=n[u].index;break}}else{var b=Math.min(l,f),m=Math.max(l,f);if(t>(b+s)/2&&t<=(m+s)/2){i=n[u].index;break}}}else for(var g=0;g<a;g++)if(0===g&&t<=(r[g].coordinate+r[g+1].coordinate)/2||g>0&&g<a-1&&t>(r[g].coordinate+r[g-1].coordinate)/2&&t<=(r[g].coordinate+r[g+1].coordinate)/2||g===a-1&&t>(r[g].coordinate+r[g-1].coordinate)/2){i=r[g].index;break}return i},tm=function(t){var e,r,n=t.type.displayName,o=null!=(e=t.type)&&e.defaultProps?ty(ty({},t.type.defaultProps),t.props):t.props,i=o.stroke,a=o.fill;switch(n){case"Line":r=i;break;case"Area":case"Radar":r=i&&"none"!==i?i:a;break;default:r=a}return r},tg=function(t){var e=t.barSize,r=t.totalSize,n=t.stackGroups,o=void 0===n?{}:n;if(!o)return{};for(var i={},a=Object.keys(o),c=0,u=a.length;c<u;c++)for(var l=o[a[c]].stackGroups,s=Object.keys(l),f=0,p=s.length;f<p;f++){var y=l[s[f]],d=y.items,h=y.cateAxisId,v=d.filter(function(t){return(0,tc.Mn)(t.type).indexOf("Bar")>=0});if(v&&v.length){var b=v[0].type.defaultProps,g=void 0!==b?ty(ty({},b),v[0].props):v[0].props,O=g.barSize,x=g[h];i[x]||(i[x]=[]);var w=m()(O)?e:O;i[x].push({item:v[0],stackList:v.slice(1),barSize:m()(w)?void 0:(0,ta.F4)(w,r,0)})}}return i},tO=function(t){var e,r=t.barGap,n=t.barCategoryGap,o=t.bandSize,i=t.sizeList,a=void 0===i?[]:i,c=t.maxBarSize,u=a.length;if(u<1)return null;var l=(0,ta.F4)(r,o,0,!0),s=[];if(a[0].barSize===+a[0].barSize){var f=!1,p=o/u,y=a.reduce(function(t,e){return t+e.barSize||0},0);(y+=(u-1)*l)>=o&&(y-=(u-1)*l,l=0),y>=o&&p>0&&(f=!0,p*=.9,y=u*p);var d={offset:((o-y)/2|0)-l,size:0};e=a.reduce(function(t,e){var r={item:e.item,position:{offset:d.offset+d.size+l,size:f?p:e.barSize}},n=[].concat(ts(t),[r]);return d=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:d})}),n},s)}else{var h=(0,ta.F4)(n,o,0,!0);o-2*h-(u-1)*l<=0&&(l=0);var v=(o-2*h-(u-1)*l)/u;v>1&&(v>>=0);var b=c===+c?Math.min(v,c):v;e=a.reduce(function(t,e,r){var n=[].concat(ts(t),[{item:e.item,position:{offset:h+(v+l)*r+(v-b)/2,size:b}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:n[n.length-1].position})}),n},s)}return e},tx=function(t,e,r,n){var o=r.children,i=r.width,a=r.margin,c=i-(a.left||0)-(a.right||0),u=(0,tu.g)({children:o,legendWidth:c});if(u){var l=n||{},s=l.width,f=l.height,p=u.align,y=u.verticalAlign,d=u.layout;if(("vertical"===d||"horizontal"===d&&"middle"===y)&&"center"!==p&&(0,ta.Et)(t[p]))return ty(ty({},t),{},td({},p,t[p]+(s||0)));if(("horizontal"===d||"vertical"===d&&"center"===p)&&"middle"!==y&&(0,ta.Et)(t[y]))return ty(ty({},t),{},td({},y,t[y]+(f||0)))}return t},tw=function(t,e,r,n,o){var i=e.props.children,a=(0,tc.aS)(i,ti.u).filter(function(t){var e;return e=t.props.direction,!!m()(o)||("horizontal"===n?"yAxis"===o:"vertical"===n||"x"===e?"xAxis"===o:"y"!==e||"yAxis"===o)});if(a&&a.length){var c=a.map(function(t){return t.props.dataKey});return t.reduce(function(t,e){var n=th(e,r);if(m()(n))return t;var o=Array.isArray(n)?[v()(n),d()(n)]:[n,n],i=c.reduce(function(t,r){var n=th(e,r,0),i=o[0]-Math.abs(Array.isArray(n)?n[0]:n),a=o[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(i,t[0]),Math.max(a,t[1])]},[1/0,-1/0]);return[Math.min(i[0],t[0]),Math.max(i[1],t[1])]},[1/0,-1/0])}return null},tj=function(t,e,r,n,o){var i=e.map(function(e){return tw(t,e,r,o,n)}).filter(function(t){return!m()(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},tS=function(t,e,r,n,o){var i=e.map(function(e){var i=e.props.dataKey;return"number"===r&&i&&tw(t,e,i,n)||tv(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},[])},tP=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},tA=function(t,e,r,n){if(n)return t.map(function(t){return t.coordinate});var o,i,a=t.map(function(t){return t.coordinate===e&&(o=!0),t.coordinate===r&&(i=!0),t.coordinate});return o||a.push(e),i||a.push(r),a},tE=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,u=(e||r)&&"category"===i&&n.bandwidth?n.bandwidth()/c:0;return(u="angleAxis"===t.axisType&&(null==a?void 0:a.length)>=2?2*(0,ta.sA)(a[0]-a[1])*u:u,e&&(t.ticks||t.niceTicks))?(t.ticks||t.niceTicks).map(function(t){return{coordinate:n(o?o.indexOf(t):t)+u,value:t,offset:u}}).filter(function(t){return!k()(t.coordinate)}):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(t,e){return{coordinate:n(t)+u,value:t,index:e,offset:u}}):n.ticks&&!r?n.ticks(t.tickCount).map(function(t){return{coordinate:n(t)+u,value:t,offset:u}}):n.domain().map(function(t,e){return{coordinate:n(t)+u,value:o?o[t]:t,index:e,offset:u}})},tk=new WeakMap,tT=function(t,e){if("function"!=typeof e)return t;tk.has(t)||tk.set(t,new WeakMap);var r=tk.get(t);if(r.has(e))return r.get(e);var n=function(){t.apply(void 0,arguments),e.apply(void 0,arguments)};return r.set(e,n),n},tM=function(t,e,r){var a=t.scale,c=t.type,u=t.layout,l=t.axisType;if("auto"===a)return"radial"===u&&"radiusAxis"===l?{scale:o.A(),realScaleType:"band"}:"radial"===u&&"angleAxis"===l?{scale:i.A(),realScaleType:"linear"}:"category"===c&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:o.z(),realScaleType:"point"}:"category"===c?{scale:o.A(),realScaleType:"band"}:{scale:i.A(),realScaleType:"linear"};if(w()(a)){var s="scale".concat(M()(a));return{scale:(n[s]||o.z)(),realScaleType:n[s]?s:"point"}}return O()(a)?{scale:a}:{scale:o.z(),realScaleType:"point"}},tI=function(t){var e=t.domain();if(e&&!(e.length<=2)){var r=e.length,n=t.range(),o=Math.min(n[0],n[1])-1e-4,i=Math.max(n[0],n[1])+1e-4,a=t(e[0]),c=t(e[r-1]);(a<o||a>i||c<o||c>i)&&t.domain([e[0],e[r-1]])}},tC=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},tD=function(t,e){if(!e||2!==e.length||!(0,ta.Et)(e[0])||!(0,ta.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,ta.Et)(t[0])||t[0]<r)&&(o[0]=r),(!(0,ta.Et)(t[1])||t[1]>n)&&(o[1]=n),o[0]>n&&(o[0]=n),o[1]<r&&(o[1]=r),o},t_={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=k()(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}c(t,e)}},none:c,silhouette:function(t,e){if((r=t.length)>0){for(var r,n=0,o=t[e[0]],i=o.length;n<i;++n){for(var a=0,u=0;a<r;++a)u+=t[a][n][1]||0;o[n][1]+=o[n][0]=-u/2}c(t,e)}},wiggle:function(t,e){if((o=t.length)>0&&(n=(r=t[e[0]]).length)>0){for(var r,n,o,i=0,a=1;a<n;++a){for(var u=0,l=0,s=0;u<o;++u){for(var f=t[e[u]],p=f[a][1]||0,y=(p-(f[a-1][1]||0))/2,d=0;d<u;++d){var h=t[e[d]];y+=(h[a][1]||0)-(h[a-1][1]||0)}l+=p,s+=y*p}r[a-1][1]+=r[a-1][0]=i,l&&(i-=s/l)}r[a-1][1]+=r[a-1][0]=i,c(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=k()(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)}}},tN=function(t,e,r){var n=e.map(function(t){return t.props.dataKey}),o=t_[r];return(function(){var t=(0,l.A)([]),e=s,r=c,n=f;function o(o){var i,a,c=Array.from(t.apply(this,arguments),p),l=c.length,s=-1;for(let t of o)for(i=0,++s;i<l;++i)(c[i][s]=[0,+n(t,c[i].key,s,o)]).data=t;for(i=0,a=(0,u.A)(e(c));i<l;++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,l.A)(Array.from(e)),o):t},o.value=function(t){return arguments.length?(n="function"==typeof t?t:(0,l.A)(+t),o):n},o.order=function(t){return arguments.length?(e=null==t?s:"function"==typeof t?t:(0,l.A)(Array.from(t)),o):e},o.offset=function(t){return arguments.length?(r=null==t?c:t,o):r},o})().keys(n).value(function(t,e){return+th(t,e,0)}).order(s).offset(o)(t)},tB=function(t,e,r,n,o,i){if(!t)return null;var a=(i?e.reverse():e).reduce(function(t,e){var o,i=null!=(o=e.type)&&o.defaultProps?ty(ty({},e.type.defaultProps),e.props):e.props,a=i.stackId;if(i.hide)return t;var c=i[r],u=t[c]||{hasStack:!1,stackGroups:{}};if((0,ta.vh)(a)){var l=u.stackGroups[a]||{numericAxisId:r,cateAxisId:n,items:[]};l.items.push(e),u.hasStack=!0,u.stackGroups[a]=l}else u.stackGroups[(0,ta.NF)("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return ty(ty({},t),{},td({},c,u))},{});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 ty(ty({},e),{},td({},i,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:tN(t,a.items,o)}))},{})),ty(ty({},e),{},td({},i,c))},{})},tR=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 u=t.domain();if(!u.length)return null;var l=tn(u,o,a);return t.domain([v()(l),d()(l)]),{niceTicks:l}}return o&&"number"===n?{niceTicks:to(t.domain(),o,a)}:null},tL=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=th(i,e.dataKey,e.domain[a]);return m()(c)?null:e.scale(c)-o/2+n},tz=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]},tW=function(t,e){var r,n=(null!=(r=t.type)&&r.defaultProps?ty(ty({},t.type.defaultProps),t.props):t.props).stackId;if((0,ta.vh)(n)){var o=e[n];if(o){var i=o.items.indexOf(t);return i>=0?o.stackedData[i]:null}}return null},tU=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[v()(e.concat([t[0]]).filter(ta.Et)),d()(e.concat([t[1]]).filter(ta.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})},tF=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,tX=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,tG=function(t,e,r){if(O()(t))return t(e,r);if(!Array.isArray(t))return e;var n=[];if((0,ta.Et)(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(tF.test(t[0])){var o=+tF.exec(t[0])[1];n[0]=e[0]-o}else O()(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if((0,ta.Et)(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(tX.test(t[1])){var i=+tX.exec(t[1])[1];n[1]=e[1]+i}else O()(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},tq=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=_()(e,function(t){return t.coordinate}),i=1/0,a=1,c=o.length;a<c;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},tV=function(t,e,r){return!t||!t.length||C()(t,S()(r,"type.defaultProps.domain"))?e:t},tK=function(t,e){var r=t.type.defaultProps?ty(ty({},t.type.defaultProps),t.props):t.props,n=r.dataKey,o=r.name,i=r.unit,a=r.formatter,c=r.tooltipType,u=r.chartType,l=r.hide;return ty(ty({},(0,tc.J9)(t,!1)),{},{dataKey:n,unit:i,formatter:a,name:o||n,color:tm(t),value:th(e,n),type:c,payload:e,chartType:u,hide:l})}},3459:(t,e,r)=>{var n=r(74989),o=r(37148),i=r(22833),a=r(57800);t.exports=function(t,e){return(a(t)?n:i)(t,o(e,3))}},4291:(t,e,r)=>{var n=r(90057),o=r(97171);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},5008:(t,e,r)=>{"use strict";r.d(e,{u:()=>u});var n=r(91356),o=r(28900),i=r(19286),a=["children","width","height","viewBox","className","style","title","desc"];function c(){return(c=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function u(t){var e=t.children,r=t.width,u=t.height,l=t.viewBox,s=t.className,f=t.style,p=t.title,y=t.desc,d=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,a),h=l||{width:r,height:u,x:0,y:0},v=(0,o.A)("recharts-surface",s);return n.createElement("svg",c({},(0,i.J9)(d,!0,"svg"),{className:v,width:r,height:u,style:f,viewBox:"".concat(h.x," ").concat(h.y," ").concat(h.width," ").concat(h.height)}),n.createElement("title",null,p),n.createElement("desc",null,y),e)}},5208:(t,e,r)=>{var n=r(53596);t.exports=function(t,e){var r=!0;return n(t,function(t,n,o){return r=!!e(t,n,o)}),r}},5800:(t,e,r)=>{var n=r(83281);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return -1}},6526:(t,e,r)=>{var n=r(86151);t.exports=function(t){return function(e){return n(e,t)}}},7678:t=>{t.exports=function(t,e){return t>e}},9702:(t,e,r)=>{"use strict";r.d(e,{E:()=>rb});var n,o,i,a,c,u,l,s,f,p,y,d,h,v,b,m,g,O=r(91356),x=r(23258),w=r.n(x),j=r(42971),S=r.n(j),P=r(55148),A=r.n(P),E=r(99645),k=r.n(E),T=r(19734),M=r.n(T),I=r(57415),C=r.n(I),D=r(28900),_=r(23437),N=r(5008),B=r(31770),R=r(55003),L=r(24121),z=r(49787),W=r(19286);function U(){return(U=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var F=function(t){var e=t.cx,r=t.cy,n=t.r,o=t.className,i=(0,D.A)("recharts-dot",o);return e===+e&&r===+r&&n===+n?O.createElement("circle",U({},(0,W.J9)(t,!1),(0,z._U)(t),{className:i,cx:e,cy:r,r:n})):null},X=r(31012),G=r(9340),q=r(47620),V=r(3193),K=r(49943);function H(t){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function J(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(r),!0).forEach(function(e){$(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Z(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function $(t,e,r){var n;return(n=function(t,e){if("object"!=H(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=H(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==H(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Y=["Webkit","Moz","O","ms"],Q=function(t,e){if(!t)return null;var r=t.replace(/(\w)/,function(t){return t.toUpperCase()}),n=Y.reduce(function(t,n){return J(J({},t),{},$({},n+r,e))},{});return n[t]=e,n};function tt(t){return(tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function te(){return(te=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function tr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tr(Object(r),!0).forEach(function(e){tu(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tr(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function to(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,tl(n.key),n)}}function ti(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ti=function(){return!!t})()}function ta(t){return(ta=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tc(t,e){return(tc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tu(t,e,r){return(e=tl(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tl(t){var e=function(t,e){if("object"!=tt(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tt(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tt(e)?e:e+""}var ts=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,u=(0,G.z)().domain(A()(0,c)).range([o,o+i-a]),l=u.domain().map(function(t){return u(t)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:u(r),endX:u(n),scale:u,scaleValues:l}},tf=function(t){return t.changedTouches&&!!t.changedTouches.length},tp=function(t){var e,r;function n(t){var e,r,o;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return r=n,o=[t],r=ta(r),tu(e=function(t,e){if(e&&("object"===tt(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,ti()?Reflect.construct(r,o||[],ta(this).constructor):r.apply(this,o)),"handleDrag",function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)}),tu(e,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])}),tu(e,"handleDragEnd",function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var t=e.props,r=t.endIndex,n=t.onDragEnd,o=t.startIndex;null==n||n({endIndex:r,startIndex:o})}),e.detachDragEndListener()}),tu(e,"handleLeaveWrapper",function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))}),tu(e,"handleEnterSlideOrTraveller",function(){e.setState({isTextActive:!0})}),tu(e,"handleLeaveSlideOrTraveller",function(){e.setState({isTextActive:!1})}),tu(e,"handleSlideDragStart",function(t){var r=tf(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),e.attachDragEndListener()}),e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(e,"startX"),endX:e.handleTravellerDragStart.bind(e,"endX")},e.state={},e}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&tc(n,t),e=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var e=t.startX,r=t.endX,o=this.state.scaleValues,i=this.props,a=i.gap,c=i.data.length-1,u=Math.min(e,r),l=Math.max(e,r),s=n.getIndexInRange(o,u),f=n.getIndexInRange(o,l);return{startIndex:s-s%a,endIndex:f===c?c:f-f%a}}},{key:"getTextOfTick",value:function(t){var e=this.props,r=e.data,n=e.tickFormatter,o=e.dataKey,i=(0,V.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),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(t){var e=this.state,r=e.slideMoveStartX,n=e.startX,o=e.endX,i=this.props,a=i.x,c=i.width,u=i.travellerWidth,l=i.startIndex,s=i.endIndex,f=i.onChange,p=t.pageX-r;p>0?p=Math.min(p,a+c-u-o,a+c-u-n):p<0&&(p=Math.max(p,a-n,a-o));var y=this.getIndex({startX:n+p,endX:o+p});(y.startIndex!==l||y.endIndex!==s)&&f&&f(y),this.setState({startX:n+p,endX:o+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=tf(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e=this.state,r=e.brushMoveStartX,n=e.movingTravellerId,o=e.endX,i=e.startX,a=this.state[n],c=this.props,u=c.x,l=c.width,s=c.travellerWidth,f=c.onChange,p=c.gap,y=c.data,d={startX:this.state.startX,endX:this.state.endX},h=t.pageX-r;h>0?h=Math.min(h,u+l-s-a):h<0&&(h=Math.max(h,u-a)),d[n]=a+h;var v=this.getIndex(d),b=v.startIndex,m=v.endIndex,g=function(){var t=y.length-1;return"startX"===n&&(o>i?b%p==0:m%p==0)||!!(o<i)&&m===t||"endX"===n&&(o>i?m%p==0:b%p==0)||!!(o>i)&&m===t};this.setState(tu(tu({},n,a+h),"brushMoveStartX",t.pageX),function(){f&&g()&&f(v)})}},{key:"handleTravellerMoveKeyboard",value:function(t,e){var r=this,n=this.state,o=n.scaleValues,i=n.startX,a=n.endX,c=this.state[e],u=o.indexOf(c);if(-1!==u){var l=u+t;if(-1!==l&&!(l>=o.length)){var s=o[l];"startX"===e&&s>=a||"endX"===e&&s<=i||this.setState(tu({},e,s),function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.state.endX}))})}}}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,i=t.fill,a=t.stroke;return O.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,u=O.Children.only(a);return u?O.cloneElement(u,{x:e,y:r,width:n,height:o,margin:c,compact:!0,data:i}):null}},{key:"renderTravellerLayer",value:function(t,e){var r,o,i=this,a=this.props,c=a.y,u=a.travellerWidth,l=a.height,s=a.traveller,f=a.ariaLabel,p=a.data,y=a.startIndex,d=a.endIndex,h=Math.max(t,this.props.x),v=tn(tn({},(0,W.J9)(this.props,!1)),{},{x:h,y:c,width:u,height:l}),b=f||"Min value: ".concat(null==(r=p[y])?void 0:r.name,", Max value: ").concat(null==(o=p[d])?void 0:o.name);return O.createElement(B.W,{tabIndex:0,role:"slider","aria-label":b,"aria-valuenow":t,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[e],onTouchStart:this.travellerDragStartHandlers[e],onKeyDown:function(t){["ArrowLeft","ArrowRight"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),i.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,e))},onFocus:function(){i.setState({isTravellerFocused:!0})},onBlur:function(){i.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},n.renderTraveller(s,v))}},{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,u=Math.max(Math.abs(e-t)-a,0);return O.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:u,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,u=c.startX,l=c.endX,s={pointerEvents:"none",fill:a};return O.createElement(B.W,{className:"recharts-brush-texts"},O.createElement(q.E,te({textAnchor:"end",verticalAnchor:"middle",x:Math.min(u,l)-5,y:n+o/2},s),this.getTextOfTick(e)),O.createElement(q.E,te({textAnchor:"start",verticalAnchor:"middle",x:Math.max(u,l)+i+5,y:n+o/2},s),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,u=t.alwaysShowText,l=this.state,s=l.startX,f=l.endX,p=l.isTextActive,y=l.isSlideMoving,d=l.isTravellerMoving,h=l.isTravellerFocused;if(!e||!e.length||!(0,K.Et)(o)||!(0,K.Et)(i)||!(0,K.Et)(a)||!(0,K.Et)(c)||a<=0||c<=0)return null;var v=(0,D.A)("recharts-brush",r),b=1===O.Children.count(n),m=Q("userSelect","none");return O.createElement(B.W,{className:v,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:m},this.renderBackground(),b&&this.renderPanorama(),this.renderSlide(s,f),this.renderTravellerLayer(s,"startX"),this.renderTravellerLayer(f,"endX"),(p||y||d||h||u)&&this.renderText())}}],r=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,r=t.y,n=t.width,o=t.height,i=t.stroke,a=Math.floor(r+o/2)-1;return O.createElement(O.Fragment,null,O.createElement("rect",{x:e,y:r,width:n,height:o,fill:i,stroke:"none"}),O.createElement("line",{x1:e+1,y1:a,x2:e+n-1,y2:a,fill:"none",stroke:"#fff"}),O.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 O.isValidElement(t)?O.cloneElement(t,e):S()(t)?t(e):n.renderDefaultTraveller(e)}},{key:"getDerivedStateFromProps",value:function(t,e){var r=t.data,n=t.width,o=t.x,i=t.travellerWidth,a=t.updateId,c=t.startIndex,u=t.endIndex;if(r!==e.prevData||a!==e.prevUpdateId)return tn({prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n},r&&r.length?ts({data:r,width:n,x:o,travellerWidth:i,startIndex:c,endIndex:u}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||o!==e.prevX||i!==e.prevTravellerWidth)){e.scale.range([o,o+n-i]);var l=e.scale.domain().map(function(t){return e.scale(t)});return{prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:l}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=t.length,n=0,o=r-1;o-n>1;){var i=Math.floor((n+o)/2);t[i]>e?o=i:n=i}return e>=t[o]?o:n}}],e&&to(n.prototype,e),r&&to(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(O.PureComponent);tu(tp,"displayName","Brush"),tu(tp,"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 ty=r(61219),td=r(80355),th=r(93625),tv=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e},tb=r(20481),tm=r(64621);function tg(){return(tg=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function tO(t){return(tO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tx(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tw(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tx(Object(r),!0).forEach(function(e){tA(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tx(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tj(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tj=function(){return!!t})()}function tS(t){return(tS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tP(t,e){return(tP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tA(t,e,r){return(e=tE(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tE(t){var e=function(t,e){if("object"!=tO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tO(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tO(e)?e:e+""}var tk=function(t){var e=t.x,r=t.y,n=t.xAxis,o=t.yAxis,i=(0,tb.P2)({x:n.scale,y:o.scale}),a=i.apply({x:e,y:r},{bandAware:!0});return tv(t,"discard")&&!i.isInRange(a)?null:a},tT=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=tS(t),function(t,e){if(e&&("object"===tO(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,tj()?Reflect.construct(t,e||[],tS(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&tP(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,o=t.r,i=t.alwaysShow,a=t.clipPathId,c=(0,K.vh)(e),u=(0,K.vh)(n);if((0,tm.R)(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!c||!u)return null;var l=tk(this.props);if(!l)return null;var s=l.x,f=l.y,p=this.props,y=p.shape,d=p.className,h=tw(tw({clipPath:tv(this.props,"hidden")?"url(#".concat(a,")"):void 0},(0,W.J9)(this.props,!0)),{},{cx:s,cy:f});return O.createElement(B.W,{className:(0,D.A)("recharts-reference-dot",d)},r.renderDot(y,h),th.J.renderCallByParent(this.props,{x:s-o,y:f-o,width:2*o,height:2*o}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tE(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(O.Component);tA(tT,"displayName","ReferenceDot"),tA(tT,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),tA(tT,"renderDot",function(t,e){return O.isValidElement(t)?O.cloneElement(t,e):S()(t)?t(e):O.createElement(F,tg({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))});var tM=r(54691),tI=r.n(tM),tC=r(70232);function tD(t){return(tD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function t_(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(t_=function(){return!!t})()}function tN(t){return(tN=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tB(t,e){return(tB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tR(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tL(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tR(Object(r),!0).forEach(function(e){tz(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tR(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tz(t,e,r){return(e=tW(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tW(t){var e=function(t,e){if("object"!=tD(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tD(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tD(e)?e:e+""}function tU(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function tF(){return(tF=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var tX=function(t,e){return O.isValidElement(t)?O.cloneElement(t,e):S()(t)?t(e):O.createElement("line",tF({},e,{className:"recharts-reference-line-line"}))},tG=function(t,e,r,n,o,i,a,c,u){var l=o.x,s=o.y,f=o.width,p=o.height;if(r){var y=u.y,d=t.y.apply(y,{position:i});if(tv(u,"discard")&&!t.y.isInRange(d))return null;var h=[{x:l+f,y:d},{x:l,y:d}];return"left"===c?h.reverse():h}if(e){var v=u.x,b=t.x.apply(v,{position:i});if(tv(u,"discard")&&!t.x.isInRange(b))return null;var m=[{x:b,y:s+p},{x:b,y:s}];return"top"===a?m.reverse():m}if(n){var g=u.segment.map(function(e){return t.apply(e,{position:i})});return tv(u,"discard")&&tI()(g,function(e){return!t.isInRange(e)})?null:g}return null};function tq(t){var e=t.x,r=t.y,n=t.segment,o=t.xAxisId,i=t.yAxisId,a=t.shape,c=t.className,u=t.alwaysShow,l=(0,tC.Yp)(),s=(0,tC.AF)(o),f=(0,tC.Nk)(i),p=(0,tC.sk)();if(!l||!p)return null;(0,tm.R)(void 0===u,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var y=tG((0,tb.P2)({x:s.scale,y:f.scale}),(0,K.vh)(e),(0,K.vh)(r),n&&2===n.length,p,t.position,s.orientation,f.orientation,t);if(!y)return null;var d=function(t){if(Array.isArray(t))return t}(y)||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,o,i,a=[],c=!0,u=!1;try{o=(e=e.call(t)).next,!1;for(;!(c=(r=o.call(e)).done)&&(a.push(r.value),2!==a.length);c=!0);}catch(t){u=!0,n=t}finally{try{if(!c&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(u)throw n}}return a}}(y)||function(t){if(t){if("string"==typeof t)return tU(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return tU(t,2)}}(y)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),h=d[0],v=h.x,b=h.y,m=d[1],g=m.x,x=m.y,w=tL(tL({clipPath:tv(t,"hidden")?"url(#".concat(l,")"):void 0},(0,W.J9)(t,!0)),{},{x1:v,y1:b,x2:g,y2:x});return O.createElement(B.W,{className:(0,D.A)("recharts-reference-line",c)},tX(a,w),th.J.renderCallByParent(t,(0,tb.vh)({x1:v,y1:b,x2:g,y2:x})))}var tV=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=tN(t),function(t,e){if(e&&("object"===tD(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,t_()?Reflect.construct(t,e||[],tN(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&tB(r,t),e=[{key:"render",value:function(){return O.createElement(tq,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tW(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(O.Component);function tK(){return(tK=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function tH(t){return(tH="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tZ(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tJ(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tZ(Object(r),!0).forEach(function(e){t0(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tZ(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}tz(tV,"displayName","ReferenceLine"),tz(tV,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function t$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(t$=function(){return!!t})()}function tY(t){return(tY=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tQ(t,e){return(tQ=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function t0(t,e,r){return(e=t1(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function t1(t){var e=function(t,e){if("object"!=tH(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tH(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tH(e)?e:e+""}var t2=function(t,e,r,n,o){var i=o.x1,a=o.x2,c=o.y1,u=o.y2,l=o.xAxis,s=o.yAxis;if(!l||!s)return null;var f=(0,tb.P2)({x:l.scale,y:s.scale}),p={x:t?f.x.apply(i,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(c,{position:"start"}):f.y.rangeMin},y={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(u,{position:"end"}):f.y.rangeMax};return!tv(o,"discard")||f.isInRange(p)&&f.isInRange(y)?(0,tb.sl)(p,y):null},t3=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=tY(t),function(t,e){if(e&&("object"===tH(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,t$()?Reflect.construct(t,e||[],tY(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&tQ(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.x1,n=t.x2,o=t.y1,i=t.y2,a=t.className,c=t.alwaysShow,u=t.clipPathId;(0,tm.R)(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=(0,K.vh)(e),s=(0,K.vh)(n),f=(0,K.vh)(o),p=(0,K.vh)(i),y=this.props.shape;if(!l&&!s&&!f&&!p&&!y)return null;var d=t2(l,s,f,p,this.props);if(!d&&!y)return null;var h=tv(this.props,"hidden")?"url(#".concat(u,")"):void 0;return O.createElement(B.W,{className:(0,D.A)("recharts-reference-area",a)},r.renderRect(y,tJ(tJ({clipPath:h},(0,W.J9)(this.props,!0)),d)),th.J.renderCallByParent(this.props,d))}}],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,t1(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(O.Component);function t9(t){return function(t){if(Array.isArray(t))return t7(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t){if(t){if("string"==typeof t)return t7(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return t7(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t7(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}t0(t3,"displayName","ReferenceArea"),t0(t3,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),t0(t3,"renderRect",function(t,e){return O.isValidElement(t)?O.cloneElement(t,e):S()(t)?t(e):O.createElement(X.M,tK({},e,{className:"recharts-reference-area-rect"}))});var t4=function(t,e,r,n,o){var i=(0,W.aS)(t,tV),a=(0,W.aS)(t,tT),c=[].concat(t9(i),t9(a)),u=(0,W.aS)(t,t3),l="".concat(n,"Id"),s=n[0],f=e;if(c.length&&(f=c.reduce(function(t,e){if(e.props[l]===r&&tv(e.props,"extendDomain")&&(0,K.Et)(e.props[s])){var n=e.props[s];return[Math.min(t[0],n),Math.max(t[1],n)]}return t},f)),u.length){var p="".concat(s,"1"),y="".concat(s,"2");f=u.reduce(function(t,e){if(e.props[l]===r&&tv(e.props,"extendDomain")&&(0,K.Et)(e.props[p])&&(0,K.Et)(e.props[y])){var n=e.props[p],o=e.props[y];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,K.Et)(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t},f)),f},t8=r(84755),t6=r(16930),t5=r(98171),et=new(r.n(t5)()),ee="recharts.syncMouseEvents";function er(t){return(er="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function en(t,e,r){return(e=eo(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function eo(t){var e=function(t,e){if("object"!=er(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=er(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==er(e)?e:e+""}var ei=(n=function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");en(this,"activeIndex",0),en(this,"coordinateList",[]),en(this,"layout","horizontal")},o=[{key:"setDetails",value:function(t){var e,r=t.coordinateList,n=void 0===r?null:r,o=t.container,i=void 0===o?null:o,a=t.layout,c=void 0===a?null:a,u=t.offset,l=void 0===u?null:u,s=t.mouseHandlerCallback,f=void 0===s?null:s;this.coordinateList=null!=(e=null!=n?n:this.coordinateList)?e:[],this.container=null!=i?i:this.container,this.layout=null!=c?c:this.layout,this.offset=null!=l?l:this.offset,this.mouseHandlerCallback=null!=f?f:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(t){if(0!==this.coordinateList.length)switch(t.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(t){this.activeIndex=t}},{key:"spoofMouse",value:function(){if("horizontal"===this.layout&&0!==this.coordinateList.length){var t,e,r=this.container.getBoundingClientRect(),n=r.x,o=r.y,i=r.height,a=this.coordinateList[this.activeIndex].coordinate,c=(null==(t=window)?void 0:t.scrollX)||0,u=(null==(e=window)?void 0:e.scrollY)||0,l=o+this.offset.top+i/2+u;this.mouseHandlerCallback({pageX:n+a+c,pageY:l})}}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,eo(n.key),n)}}(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),n),ea=r(21073),ec=r(74800),eu=r(34180),el=r(76828),es=r(9902),ef=r(90767),ep=r(57711),ey=r(12381),ed=r(31919),eh=r(73752),ev=r(98047),eb=r(82730),em=r(80700),eg=r(32819),eO=r(16384);function ex(t,e,r){var n=null,o=(0,eb.A)(!0),i=null,a=ep.A,c=null,u=(0,eg.i)(l);function l(l){var s,f,p,y,d,h=(l=(0,ev.A)(l)).length,v=!1,b=Array(h),m=Array(h);for(null==i&&(c=a(d=u())),s=0;s<=h;++s){if(!(s<h&&o(y=l[s],s,l))===v)if(v=!v)f=s,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),p=s-1;p>=f;--p)c.point(b[p],m[p]);c.lineEnd(),c.areaEnd()}v&&(b[s]=+t(y,s,l),m[s]=+e(y,s,l),c.point(n?+n(y,s,l):b[s],r?+r(y,s,l):m[s]))}if(d)return c=null,d+""||null}function s(){return(0,em.A)().defined(o).curve(a).context(i)}return t="function"==typeof t?t:void 0===t?eO.x:(0,eb.A)(+t),e="function"==typeof e?e:void 0===e?(0,eb.A)(0):(0,eb.A)(+e),r="function"==typeof r?r:void 0===r?eO.y:(0,eb.A)(+r),l.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,eb.A)(+e),n=null,l):t},l.x0=function(e){return arguments.length?(t="function"==typeof e?e:(0,eb.A)(+e),l):t},l.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:(0,eb.A)(+t),l):n},l.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,eb.A)(+t),r=null,l):e},l.y0=function(t){return arguments.length?(e="function"==typeof t?t:(0,eb.A)(+t),l):e},l.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:(0,eb.A)(+t),l):r},l.lineX0=l.lineY0=function(){return s().x(t).y(e)},l.lineY1=function(){return s().x(t).y(r)},l.lineX1=function(){return s().x(n).y(e)},l.defined=function(t){return arguments.length?(o="function"==typeof t?t:(0,eb.A)(!!t),l):o},l.curve=function(t){return arguments.length?(a=t,null!=i&&(c=a(i)),l):a},l.context=function(t){return arguments.length?(null==t?i=c=null:c=a(i=t),l):i},l}var ew=r(73825),ej=r.n(ew);function eS(t){return(eS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eP(){return(eP=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function eA(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]:{};e%2?eA(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=eS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=eS(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==eS(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eA(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var ek={curveBasisClosed:ec.A,curveBasisOpen:eu.A,curveBasis:el.Ay,curveBumpX:es.dJ,curveBumpY:es.kl,curveLinearClosed:ef.A,curveLinear:ep.A,curveMonotoneX:ey.G,curveMonotoneY:ey.N,curveNatural:ed.A,curveStep:eh.Ay,curveStepAfter:eh.Ps,curveStepBefore:eh.Ko},eT=function(t){return t.x===+t.x&&t.y===+t.y},eM=function(t){return t.x},eI=function(t){return t.y},eC=function(t,e){if(S()(t))return t;var r="curve".concat(ej()(t));return("curveMonotone"===r||"curveBump"===r)&&e?ek["".concat(r).concat("vertical"===e?"Y":"X")]:ek[r]||ep.A},eD=function(t){var e,r=t.type,n=t.points,o=void 0===n?[]:n,i=t.baseLine,a=t.layout,c=t.connectNulls,u=void 0!==c&&c,l=eC(void 0===r?"linear":r,a),s=u?o.filter(function(t){return eT(t)}):o;if(Array.isArray(i)){var f=u?i.filter(function(t){return eT(t)}):i,p=s.map(function(t,e){return eE(eE({},t),{},{base:f[e]})});return(e="vertical"===a?ex().y(eI).x1(eM).x0(function(t){return t.base.x}):ex().x(eM).y1(eI).y0(function(t){return t.base.y})).defined(eT).curve(l),e(p)}return(e="vertical"===a&&(0,K.Et)(i)?ex().y(eI).x1(eM).x0(i):(0,K.Et)(i)?ex().x(eM).y1(eI).y0(i):(0,em.A)().x(eM).y(eI)).defined(eT).curve(l),e(s)},e_=function(t){var e=t.className,r=t.points,n=t.path,o=t.pathRef;if((!r||!r.length)&&!n)return null;var i=r&&r.length?eD(t):n;return O.createElement("path",eP({},(0,W.J9)(t,!1),(0,z._U)(t),{className:(0,D.A)("recharts-curve",e),d:i,ref:o}))};function eN(t){return(eN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var eB=["x","y","top","left","width","height","className"];function eR(){return(eR=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function eL(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}var ez=function(t){var e=t.x,r=void 0===e?0:e,n=t.y,o=void 0===n?0:n,i=t.top,a=void 0===i?0:i,c=t.left,u=void 0===c?0:c,l=t.width,s=void 0===l?0:l,f=t.height,p=void 0===f?0:f,y=t.className,d=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?eL(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=eN(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=eN(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==eN(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eL(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({x:r,y:o,top:a,left:u,width:s,height:p},function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,eB));return(0,K.Et)(r)&&(0,K.Et)(o)&&(0,K.Et)(s)&&(0,K.Et)(p)&&(0,K.Et)(a)&&(0,K.Et)(u)?O.createElement("path",eR({},(0,W.J9)(d,!0),{className:(0,D.A)("recharts-cross",y),d:"M".concat(r,",").concat(a,"v").concat(p,"M").concat(u,",").concat(o,"h").concat(s)})):null};function eW(t){var e=t.cx,r=t.cy,n=t.radius,o=t.startAngle,i=t.endAngle;return{points:[(0,t8.IZ)(e,r,n,o),(0,t8.IZ)(e,r,n,i)],cx:e,cy:r,radius:n,startAngle:o,endAngle:i}}var eU=r(50297);function eF(t){return(eF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eX(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 eG(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?eX(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=eF(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=eF(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==eF(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eX(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function eq(t){var e,r,n,o,i=t.element,a=t.tooltipEventType,c=t.isActive,u=t.activeCoordinate,l=t.activePayload,s=t.offset,f=t.activeTooltipIndex,p=t.tooltipAxisBandSize,y=t.layout,d=t.chartName,h=null!=(r=i.props.cursor)?r:null==(n=i.type.defaultProps)?void 0:n.cursor;if(!i||!h||!c||!u||"ScatterChart"!==d&&"axis"!==a)return null;var v=e_;if("ScatterChart"===d)o=u,v=ez;else if("BarChart"===d)e=p/2,o={stroke:"none",fill:"#ccc",x:"horizontal"===y?u.x-e:s.left+.5,y:"horizontal"===y?s.top+.5:u.y-e,width:"horizontal"===y?p:s.width-1,height:"horizontal"===y?s.height-1:p},v=X.M;else if("radial"===y){var b=eW(u),m=b.cx,g=b.cy,x=b.radius;o={cx:m,cy:g,startAngle:b.startAngle,endAngle:b.endAngle,innerRadius:x,outerRadius:x},v=eU.h}else o={points:function(t,e,r){var n,o,i,a;if("horizontal"===t)i=n=e.x,o=r.top,a=r.top+r.height;else if("vertical"===t)a=o=e.y,n=r.left,i=r.left+r.width;else if(null!=e.cx&&null!=e.cy)if("centric"!==t)return eW(e);else{var c=e.cx,u=e.cy,l=e.innerRadius,s=e.outerRadius,f=e.angle,p=(0,t8.IZ)(c,u,l,f),y=(0,t8.IZ)(c,u,s,f);n=p.x,o=p.y,i=y.x,a=y.y}return[{x:n,y:o},{x:i,y:a}]}(y,u,s)},v=e_;var w=eG(eG(eG(eG({stroke:"#ccc",pointerEvents:"none"},s),o),(0,W.J9)(h,!1)),{},{payload:l,payloadIndex:f,className:(0,D.A)("recharts-tooltip-cursor",h.className)});return(0,O.isValidElement)(h)?(0,O.cloneElement)(h,w):(0,O.createElement)(v,w)}var eV=["item"],eK=["children","className","width","height","style","compact","title","desc"];function eH(t){return(eH="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eZ(){return(eZ=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function eJ(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||e2(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e$(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function eY(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eY=function(){return!!t})()}function eQ(t){return(eQ=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function e0(t,e){return(e0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function e1(t){return function(t){if(Array.isArray(t))return e3(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||e2(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e2(t,e){if(t){if("string"==typeof t)return e3(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e3(t,e)}}function e3(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function e9(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 e7(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?e9(Object(r),!0).forEach(function(e){e4(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):e9(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function e4(t,e,r){return(e=e8(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function e8(t){var e=function(t,e){if("object"!=eH(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=eH(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==eH(e)?e:e+""}var e6={xAxis:["bottom","top"],yAxis:["left","right"]},e5={width:"100%",height:"100%"},rt={x:0,y:0};function re(t){return t}var rr=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 e7(e7(e7({},n),(0,t8.IZ)(n.cx,n.cy,a,i)),{},{angle:i,radius:a})}var c=o.coordinate,u=n.angle;return e7(e7(e7({},n),(0,t8.IZ)(n.cx,n.cy,c,u)),{},{angle:u,radius:c})}return rt},rn=function(t,e){var r=e.graphicalItems,n=e.dataStartIndex,o=e.dataEndIndex,i=(null!=r?r:[]).reduce(function(t,e){var r=e.props.data;return r&&r.length?[].concat(e1(t),e1(r)):t},[]);return i.length>0?i:t&&t.length&&(0,K.Et)(n)&&(0,K.Et)(o)?t.slice(n,o+1):[]};function ro(t){return"number"===t?[0,"auto"]:void 0}var ri=function(t,e,r,n){var o=t.graphicalItems,i=t.tooltipAxis,a=rn(e,t);return r<0||!o||!o.length||r>=a.length?null:o.reduce(function(o,c){var u,l,s=null!=(u=c.props.data)?u:e;if(s&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(s=s.slice(t.dataStartIndex,t.dataEndIndex+1)),i.dataKey&&!i.allowDuplicatedCategory){var f=void 0===s?a:s;l=(0,K.eP)(f,i.dataKey,n)}else l=s&&s[r]||a[r];return l?[].concat(e1(o),[(0,V.zb)(c,l)]):o},[])},ra=function(t,e,r,n){var o=n||{x:t.chartX,y:t.chartY},i="horizontal"===r?o.x:"vertical"===r?o.y:"centric"===r?o.angle:o.radius,a=t.orderedTooltipTicks,c=t.tooltipAxis,u=t.tooltipTicks,l=(0,V.gH)(i,a,u,c);if(l>=0&&u){var s=u[l]&&u[l].value,f=ri(t,e,l,s),p=rr(r,a,l,o);return{activeTooltipIndex:l,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},rc=function(t,e){var r=e.axes,n=e.graphicalItems,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,l=t.layout,s=t.children,f=t.stackOffset,p=(0,V._L)(l,o);return r.reduce(function(e,r){var y=void 0!==r.type.defaultProps?e7(e7({},r.type.defaultProps),r.props):r.props,d=y.type,h=y.dataKey,v=y.allowDataOverflow,b=y.allowDuplicatedCategory,m=y.scale,g=y.ticks,O=y.includeHidden,x=y[i];if(e[x])return e;var j=rn(t.data,{graphicalItems:n.filter(function(t){var e;return(i in t.props?t.props[i]:null==(e=t.type.defaultProps)?void 0:e[i])===x}),dataStartIndex:c,dataEndIndex:u}),S=j.length;(function(t,e,r){if("number"===r&&!0===e&&Array.isArray(t)){var n=null==t?void 0:t[0],o=null==t?void 0:t[1];if(n&&o&&(0,K.Et)(n)&&(0,K.Et)(o))return!0}return!1})(y.domain,v,d)&&(k=(0,V.AQ)(y.domain,null,v),p&&("number"===d||"auto"!==m)&&(M=(0,V.Ay)(j,h,"category")));var P=ro(d);if(!k||0===k.length){var E,k,T,M,I,C=null!=(I=y.domain)?I:P;if(h){if(k=(0,V.Ay)(j,h,d),"category"===d&&p){var D=(0,K.CG)(k);b&&D?(T=k,k=A()(0,S)):b||(k=(0,V.KC)(C,k,r).reduce(function(t,e){return t.indexOf(e)>=0?t:[].concat(e1(t),[e])},[]))}else if("category"===d)k=b?k.filter(function(t){return""!==t&&!w()(t)}):(0,V.KC)(C,k,r).reduce(function(t,e){return t.indexOf(e)>=0||""===e||w()(e)?t:[].concat(e1(t),[e])},[]);else if("number"===d){var _=(0,V.A1)(j,n.filter(function(t){var e,r,n=i in t.props?t.props[i]:null==(e=t.type.defaultProps)?void 0:e[i],o="hide"in t.props?t.props.hide:null==(r=t.type.defaultProps)?void 0:r.hide;return n===x&&(O||!o)}),h,o,l);_&&(k=_)}p&&("number"===d||"auto"!==m)&&(M=(0,V.Ay)(j,h,"category"))}else k=p?A()(0,S):a&&a[x]&&a[x].hasStack&&"number"===d?"expand"===f?[0,1]:(0,V.Mk)(a[x].stackGroups,c,u):(0,V.vf)(j,n.filter(function(t){var e=i in t.props?t.props[i]:t.type.defaultProps[i],r="hide"in t.props?t.props.hide:t.type.defaultProps.hide;return e===x&&(O||!r)}),d,l,!0);"number"===d?(k=t4(s,k,x,o,g),C&&(k=(0,V.AQ)(C,k,v))):"category"===d&&C&&k.every(function(t){return C.indexOf(t)>=0})&&(k=C)}return e7(e7({},e),{},e4({},x,e7(e7({},y),{},{axisType:o,domain:k,categoricalDomain:M,duplicateDomain:T,originalDomain:null!=(E=y.domain)?E:P,isCategorical:p,layout:l})))},{})},ru=function(t,e){var r=e.graphicalItems,n=e.Axis,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,l=t.layout,s=t.children,f=rn(t.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:u}),p=f.length,y=(0,V._L)(l,o),d=-1;return r.reduce(function(t,e){var h,v=(void 0!==e.type.defaultProps?e7(e7({},e.type.defaultProps),e.props):e.props)[i],b=ro("number");return t[v]?t:(d++,h=y?A()(0,p):a&&a[v]&&a[v].hasStack?t4(s,h=(0,V.Mk)(a[v].stackGroups,c,u),v,o):t4(s,h=(0,V.AQ)(b,(0,V.vf)(f,r.filter(function(t){var e,r,n=i in t.props?t.props[i]:null==(e=t.type.defaultProps)?void 0:e[i],o="hide"in t.props?t.props.hide:null==(r=t.type.defaultProps)?void 0:r.hide;return n===v&&!o}),"number",l),n.defaultProps.allowDataOverflow),v,o),e7(e7({},t),{},e4({},v,e7(e7({axisType:o},n.defaultProps),{},{hide:!0,orientation:k()(e6,"".concat(o,".").concat(d%2),null),domain:h,originalDomain:b,isCategorical:y,layout:l}))))},{})},rl=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,u=e.dataEndIndex,l=t.children,s="".concat(n,"Id"),f=(0,W.aS)(l,o),p={};return f&&f.length?p=rc(t,{axes:f,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:u}):i&&i.length&&(p=ru(t,{Axis:o,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:u})),p},rs=function(t){var e=(0,K.lX)(t),r=(0,V.Rh)(e,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:M()(r,function(t){return t.coordinate}),tooltipAxis:e,tooltipAxisBandSize:(0,V.Hj)(e,r)}},rf=function(t){var e=t.children,r=t.defaultShowTooltip,n=(0,W.BU)(e,tp),o=0,i=0;return t.data&&0!==t.data.length&&(i=t.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(o=n.props.startIndex),n.props.endIndex>=0&&(i=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:i,activeTooltipIndex:-1,isTooltipActive:!!r}},rp=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"}},ry=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,u=r.width,l=r.height,s=r.children,f=r.margin||{},p=(0,W.BU)(s,tp),y=(0,W.BU)(s,L.s),d=Object.keys(c).reduce(function(t,e){var r=c[e],n=r.orientation;return r.mirror||r.hide?t:e7(e7({},t),{},e4({},n,t[n]+r.width))},{left:f.left||0,right:f.right||0}),h=Object.keys(i).reduce(function(t,e){var r=i[e],n=r.orientation;return r.mirror||r.hide?t:e7(e7({},t),{},e4({},n,k()(t,"".concat(n))+r.height))},{top:f.top||0,bottom:f.bottom||0}),v=e7(e7({},h),d),b=v.bottom;p&&(v.bottom+=p.props.height||tp.defaultProps.height),y&&e&&(v=(0,V.s0)(v,n,r,e));var m=u-v.left-v.right,g=l-v.top-v.bottom;return e7(e7({brushBottom:b},v),{},{width:Math.max(m,0),height:Math.max(g,0)})},rd=r(63638),rh=r(18259),rv=r(64096),rb=(a=(i={chartName:"BarChart",GraphicalChild:rd.y,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:rh.W},{axisType:"yAxis",AxisComp:rv.h}],formatAxisMap:tb.pr}).chartName,c=i.GraphicalChild,l=void 0===(u=i.defaultTooltipEventType)?"axis":u,f=void 0===(s=i.validateTooltipEventTypes)?["axis"]:s,p=i.axisComponents,y=i.legendContent,d=i.formatAxisMap,h=i.defaultProps,v=function(t,e){var r=e.graphicalItems,n=e.stackGroups,o=e.offset,i=e.updateId,a=e.dataStartIndex,c=e.dataEndIndex,u=t.barSize,l=t.layout,s=t.barGap,f=t.barCategoryGap,y=t.maxBarSize,d=rp(l),h=d.numericAxisName,v=d.cateAxisName,b=!!r&&!!r.length&&r.some(function(t){var e=(0,W.Mn)(t&&t.type);return e&&e.indexOf("Bar")>=0}),m=[];return r.forEach(function(r,d){var g=rn(t.data,{graphicalItems:[r],dataStartIndex:a,dataEndIndex:c}),O=void 0!==r.type.defaultProps?e7(e7({},r.type.defaultProps),r.props):r.props,x=O.dataKey,j=O.maxBarSize,S=O["".concat(h,"Id")],P=O["".concat(v,"Id")],A=p.reduce(function(t,r){var n=e["".concat(r.axisType,"Map")],o=O["".concat(r.axisType,"Id")];n&&n[o]||"zAxis"===r.axisType||(0,_.A)(!1);var i=n[o];return e7(e7({},t),{},e4(e4({},r.axisType,i),"".concat(r.axisType,"Ticks"),(0,V.Rh)(i)))},{}),E=A[v],k=A["".concat(v,"Ticks")],T=n&&n[S]&&n[S].hasStack&&(0,V.kA)(r,n[S].stackGroups),M=(0,W.Mn)(r.type).indexOf("Bar")>=0,I=(0,V.Hj)(E,k),C=[],D=b&&(0,V.tA)({barSize:u,stackGroups:n,totalSize:"xAxis"===v?A[v].width:"yAxis"===v?A[v].height:void 0});if(M){var N,B,R=w()(j)?y:j,L=null!=(N=null!=(B=(0,V.Hj)(E,k,!0))?B:R)?N:0;C=(0,V.BX)({barGap:s,barCategoryGap:f,bandSize:L!==I?L:I,sizeList:D[P],maxBarSize:R}),L!==I&&(C=C.map(function(t){return e7(e7({},t),{},{position:e7(e7({},t.position),{},{offset:t.position.offset-L/2})})}))}var z=r&&r.type&&r.type.getComposedData;z&&m.push({props:e7(e7({},z(e7(e7({},A),{},{displayedData:g,props:t,dataKey:x,item:r,bandSize:I,barPosition:C,offset:o,stackedData:T,layout:l,dataStartIndex:a,dataEndIndex:c}))),{},e4(e4(e4({key:r.key||"item-".concat(d)},h,A[h]),v,A[v]),"animationId",i)),childIndex:(0,W.AW)(r,t.children),item:r})}),m},b=function(t,e){var r=t.props,n=t.dataStartIndex,o=t.dataEndIndex,i=t.updateId;if(!(0,W.Me)({props:r}))return null;var u=r.children,l=r.layout,s=r.stackOffset,f=r.data,y=r.reverseStackOrder,h=rp(l),b=h.numericAxisName,m=h.cateAxisName,g=(0,W.aS)(u,c),O=(0,V.Mn)(f,g,"".concat(b,"Id"),"".concat(m,"Id"),s,y),x=p.reduce(function(t,e){var i="".concat(e.axisType,"Map");return e7(e7({},t),{},e4({},i,rl(r,e7(e7({},e),{},{graphicalItems:g,stackGroups:e.axisType===b&&O,dataStartIndex:n,dataEndIndex:o}))))},{}),w=ry(e7(e7({},x),{},{props:r,graphicalItems:g}),null==e?void 0:e.legendBBox);Object.keys(x).forEach(function(t){x[t]=d(r,x[t],w,t.replace("Map",""),a)});var j=rs(x["".concat(m,"Map")]),S=v(r,e7(e7({},x),{},{dataStartIndex:n,dataEndIndex:o,updateId:i,graphicalItems:g,stackGroups:O,offset:w}));return e7(e7({formattedGraphicalItems:S,graphicalItems:g,offset:w,stackGroups:O},j),x)},m=function(t){var e;function r(t){var e,n,o,i,c;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return i=r,c=[t],i=eQ(i),e4(o=function(t,e){if(e&&("object"===eH(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,eY()?Reflect.construct(i,c||[],eQ(this).constructor):i.apply(this,c)),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),e4(o,"accessibilityManager",new ei),e4(o,"handleLegendBBoxUpdate",function(t){if(t){var e=o.state,r=e.dataStartIndex,n=e.dataEndIndex,i=e.updateId;o.setState(e7({legendBBox:t},b({props:o.props,dataStartIndex:r,dataEndIndex:n,updateId:i},e7(e7({},o.state),{},{legendBBox:t}))))}}),e4(o,"handleReceiveSyncEvent",function(t,e,r){o.props.syncId===t&&(r!==o.eventEmitterSymbol||"function"==typeof o.props.syncMethod)&&o.applySyncEvent(e)}),e4(o,"handleBrushChange",function(t){var e=t.startIndex,r=t.endIndex;if(e!==o.state.dataStartIndex||r!==o.state.dataEndIndex){var n=o.state.updateId;o.setState(function(){return e7({dataStartIndex:e,dataEndIndex:r},b({props:o.props,dataStartIndex:e,dataEndIndex:r,updateId:n},o.state))}),o.triggerSyncEvent({dataStartIndex:e,dataEndIndex:r})}}),e4(o,"handleMouseEnter",function(t){var e=o.getMouseInfo(t);if(e){var r=e7(e7({},e),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseEnter;S()(n)&&n(r,t)}}),e4(o,"triggeredAfterMouseMove",function(t){var e=o.getMouseInfo(t),r=e?e7(e7({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseMove;S()(n)&&n(r,t)}),e4(o,"handleItemMouseEnter",function(t){o.setState(function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}})}),e4(o,"handleItemMouseLeave",function(){o.setState(function(){return{isTooltipActive:!1}})}),e4(o,"handleMouseMove",function(t){t.persist(),o.throttleTriggeredAfterMouseMove(t)}),e4(o,"handleMouseLeave",function(t){o.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};o.setState(e),o.triggerSyncEvent(e);var r=o.props.onMouseLeave;S()(r)&&r(e,t)}),e4(o,"handleOuterEvent",function(t){var e,r=(0,W.X_)(t),n=k()(o.props,"".concat(r));r&&S()(n)&&n(null!=(e=/.*touch.*/i.test(r)?o.getMouseInfo(t.changedTouches[0]):o.getMouseInfo(t))?e:{},t)}),e4(o,"handleClick",function(t){var e=o.getMouseInfo(t);if(e){var r=e7(e7({},e),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onClick;S()(n)&&n(r,t)}}),e4(o,"handleMouseDown",function(t){var e=o.props.onMouseDown;S()(e)&&e(o.getMouseInfo(t),t)}),e4(o,"handleMouseUp",function(t){var e=o.props.onMouseUp;S()(e)&&e(o.getMouseInfo(t),t)}),e4(o,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&o.throttleTriggeredAfterMouseMove(t.changedTouches[0])}),e4(o,"handleTouchStart",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&o.handleMouseDown(t.changedTouches[0])}),e4(o,"handleTouchEnd",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&o.handleMouseUp(t.changedTouches[0])}),e4(o,"handleDoubleClick",function(t){var e=o.props.onDoubleClick;S()(e)&&e(o.getMouseInfo(t),t)}),e4(o,"handleContextMenu",function(t){var e=o.props.onContextMenu;S()(e)&&e(o.getMouseInfo(t),t)}),e4(o,"triggerSyncEvent",function(t){void 0!==o.props.syncId&&et.emit(ee,o.props.syncId,t,o.eventEmitterSymbol)}),e4(o,"applySyncEvent",function(t){var e=o.props,r=e.layout,n=e.syncMethod,i=o.state.updateId,a=t.dataStartIndex,c=t.dataEndIndex;if(void 0!==t.dataStartIndex||void 0!==t.dataEndIndex)o.setState(e7({dataStartIndex:a,dataEndIndex:c},b({props:o.props,dataStartIndex:a,dataEndIndex:c,updateId:i},o.state)));else if(void 0!==t.activeTooltipIndex){var u=t.chartX,l=t.chartY,s=t.activeTooltipIndex,f=o.state,p=f.offset,y=f.tooltipTicks;if(!p)return;if("function"==typeof n)s=n(y,t);else if("value"===n){s=-1;for(var d=0;d<y.length;d++)if(y[d].value===t.activeLabel){s=d;break}}var h=e7(e7({},p),{},{x:p.left,y:p.top}),v=Math.min(u,h.x+h.width),m=Math.min(l,h.y+h.height),g=y[s]&&y[s].value,O=ri(o.state,o.props.data,s),x=y[s]?{x:"horizontal"===r?y[s].coordinate:v,y:"horizontal"===r?m:y[s].coordinate}:rt;o.setState(e7(e7({},t),{},{activeLabel:g,activeCoordinate:x,activePayload:O,activeTooltipIndex:s}))}else o.setState(t)}),e4(o,"renderCursor",function(t){var e,r=o.state,n=r.isTooltipActive,i=r.activeCoordinate,c=r.activePayload,u=r.offset,l=r.activeTooltipIndex,s=r.tooltipAxisBandSize,f=o.getTooltipEventType(),p=null!=(e=t.props.active)?e:n,y=o.props.layout,d=t.key||"_recharts-cursor";return O.createElement(eq,{key:d,activeCoordinate:i,activePayload:c,activeTooltipIndex:l,chartName:a,element:t,isActive:p,layout:y,offset:u,tooltipAxisBandSize:s,tooltipEventType:f})}),e4(o,"renderPolarAxis",function(t,e,r){var n=k()(t,"type.axisType"),i=k()(o.state,"".concat(n,"Map")),a=t.type.defaultProps,c=void 0!==a?e7(e7({},a),t.props):t.props,u=i&&i[c["".concat(n,"Id")]];return(0,O.cloneElement)(t,e7(e7({},u),{},{className:(0,D.A)(n,u.className),key:t.key||"".concat(e,"-").concat(r),ticks:(0,V.Rh)(u,!0)}))}),e4(o,"renderPolarGrid",function(t){var e=t.props,r=e.radialLines,n=e.polarAngles,i=e.polarRadius,a=o.state,c=a.radiusAxisMap,u=a.angleAxisMap,l=(0,K.lX)(c),s=(0,K.lX)(u),f=s.cx,p=s.cy,y=s.innerRadius,d=s.outerRadius;return(0,O.cloneElement)(t,{polarAngles:Array.isArray(n)?n:(0,V.Rh)(s,!0).map(function(t){return t.coordinate}),polarRadius:Array.isArray(i)?i:(0,V.Rh)(l,!0).map(function(t){return t.coordinate}),cx:f,cy:p,innerRadius:y,outerRadius:d,key:t.key||"polar-grid",radialLines:r})}),e4(o,"renderLegend",function(){var t=o.state.formattedGraphicalItems,e=o.props,r=e.children,n=e.width,i=e.height,a=o.props.margin||{},c=n-(a.left||0)-(a.right||0),u=(0,td.g)({children:r,formattedGraphicalItems:t,legendWidth:c,legendContent:y});if(!u)return null;var l=u.item,s=e$(u,eV);return(0,O.cloneElement)(l,e7(e7({},s),{},{chartWidth:n,chartHeight:i,margin:a,onBBoxUpdate:o.handleLegendBBoxUpdate}))}),e4(o,"renderTooltip",function(){var t,e=o.props,r=e.children,n=e.accessibilityLayer,i=(0,W.BU)(r,R.m);if(!i)return null;var a=o.state,c=a.isTooltipActive,u=a.activeCoordinate,l=a.activePayload,s=a.activeLabel,f=a.offset,p=null!=(t=i.props.active)?t:c;return(0,O.cloneElement)(i,{viewBox:e7(e7({},f),{},{x:f.left,y:f.top}),active:p,label:s,payload:p?l:[],coordinate:u,accessibilityLayer:n})}),e4(o,"renderBrush",function(t){var e=o.props,r=e.margin,n=e.data,i=o.state,a=i.offset,c=i.dataStartIndex,u=i.dataEndIndex,l=i.updateId;return(0,O.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:(0,V.HQ)(o.handleBrushChange,t.props.onChange),data:n,x:(0,K.Et)(t.props.x)?t.props.x:a.left,y:(0,K.Et)(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:(0,K.Et)(t.props.width)?t.props.width:a.width,startIndex:c,endIndex:u,updateId:"brush-".concat(l)})}),e4(o,"renderReferenceElement",function(t,e,r){if(!t)return null;var n=o.clipPathId,i=o.state,a=i.xAxisMap,c=i.yAxisMap,u=i.offset,l=t.type.defaultProps||{},s=t.props,f=s.xAxisId,p=void 0===f?l.xAxisId:f,y=s.yAxisId,d=void 0===y?l.yAxisId:y;return(0,O.cloneElement)(t,{key:t.key||"".concat(e,"-").concat(r),xAxis:a[p],yAxis:c[d],viewBox:{x:u.left,y:u.top,width:u.width,height:u.height},clipPathId:n})}),e4(o,"renderActivePoints",function(t){var e=t.item,n=t.activePoint,o=t.basePoint,i=t.childIndex,a=t.isRange,c=[],u=e.props.key,l=void 0!==e.item.type.defaultProps?e7(e7({},e.item.type.defaultProps),e.item.props):e.item.props,s=l.activeDot,f=e7(e7({index:i,dataKey:l.dataKey,cx:n.x,cy:n.y,r:4,fill:(0,V.Ps)(e.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value},(0,W.J9)(s,!1)),(0,z._U)(s));return c.push(r.renderActiveDot(s,f,"".concat(u,"-activePoint-").concat(i))),o?c.push(r.renderActiveDot(s,e7(e7({},f),{},{cx:o.x,cy:o.y}),"".concat(u,"-basePoint-").concat(i))):a&&c.push(null),c}),e4(o,"renderGraphicChild",function(t,e,r){var n=o.filterFormatItem(t,e,r);if(!n)return null;var i=o.getTooltipEventType(),a=o.state,c=a.isTooltipActive,u=a.tooltipAxis,l=a.activeTooltipIndex,s=a.activeLabel,f=o.props.children,p=(0,W.BU)(f,R.m),y=n.props,d=y.points,h=y.isRange,v=y.baseLine,b=void 0!==n.item.type.defaultProps?e7(e7({},n.item.type.defaultProps),n.item.props):n.item.props,m=b.activeDot,g=b.hide,x=b.activeBar,j=b.activeShape,S=!!(!g&&c&&p&&(m||x||j)),P={};"axis"!==i&&p&&"click"===p.props.trigger?P={onClick:(0,V.HQ)(o.handleItemMouseEnter,t.props.onClick)}:"axis"!==i&&(P={onMouseLeave:(0,V.HQ)(o.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:(0,V.HQ)(o.handleItemMouseEnter,t.props.onMouseEnter)});var A=(0,O.cloneElement)(t,e7(e7({},n.props),P));if(S)if(l>=0){if(u.dataKey&&!u.allowDuplicatedCategory){var E="function"==typeof u.dataKey?function(t){return"function"==typeof u.dataKey?u.dataKey(t.payload):null}:"payload.".concat(u.dataKey.toString());T=(0,K.eP)(d,E,s),M=h&&v&&(0,K.eP)(v,E,s)}else T=null==d?void 0:d[l],M=h&&v&&v[l];if(j||x){var k=void 0!==t.props.activeIndex?t.props.activeIndex:l;return[(0,O.cloneElement)(t,e7(e7(e7({},n.props),P),{},{activeIndex:k})),null,null]}if(!w()(T))return[A].concat(e1(o.renderActivePoints({item:n,activePoint:T,basePoint:M,childIndex:l,isRange:h})))}else{var T,M,I,C=(null!=(I=o.getItemByXY(o.state.activeCoordinate))?I:{graphicalItem:A}).graphicalItem,D=C.item,_=void 0===D?t:D,N=C.childIndex,B=e7(e7(e7({},n.props),P),{},{activeIndex:N});return[(0,O.cloneElement)(_,B),null,null]}return h?[A,null,null]:[A,null]}),e4(o,"renderCustomized",function(t,e,r){return(0,O.cloneElement)(t,e7(e7({key:"recharts-customized-".concat(r)},o.props),o.state))}),e4(o,"renderMap",{CartesianGrid:{handler:re,once:!0},ReferenceArea:{handler:o.renderReferenceElement},ReferenceLine:{handler:re},ReferenceDot:{handler:o.renderReferenceElement},XAxis:{handler:re},YAxis:{handler:re},Brush:{handler:o.renderBrush,once:!0},Bar:{handler:o.renderGraphicChild},Line:{handler:o.renderGraphicChild},Area:{handler:o.renderGraphicChild},Radar:{handler:o.renderGraphicChild},RadialBar:{handler:o.renderGraphicChild},Scatter:{handler:o.renderGraphicChild},Pie:{handler:o.renderGraphicChild},Funnel:{handler:o.renderGraphicChild},Tooltip:{handler:o.renderCursor,once:!0},PolarGrid:{handler:o.renderPolarGrid,once:!0},PolarAngleAxis:{handler:o.renderPolarAxis},PolarRadiusAxis:{handler:o.renderPolarAxis},Customized:{handler:o.renderCustomized}}),o.clipPathId="".concat(null!=(e=t.id)?e:(0,K.NF)("recharts"),"-clip"),o.throttleTriggeredAfterMouseMove=C()(o.triggeredAfterMouseMove,null!=(n=t.throttleDelay)?n:1e3/60),o.state={},o}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&e0(r,t),e=[{key:"componentDidMount",value:function(){var t,e;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!=(t=this.props.margin.left)?t:0,top:null!=(e=this.props.margin.top)?e:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var t=this.props,e=t.children,r=t.data,n=t.height,o=t.layout,i=(0,W.BU)(e,R.m);if(i){var a=i.props.defaultIndex;if("number"==typeof a&&!(a<0)&&!(a>this.state.tooltipTicks.length-1)){var c=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,u=ri(this.state,r,a,c),l=this.state.tooltipTicks[a].coordinate,s=(this.state.offset.top+n)/2,f="horizontal"===o?{x:l,y:s}:{y:l,x:s},p=this.state.formattedGraphicalItems.find(function(t){return"Scatter"===t.item.type.name});p&&(f=e7(e7({},f),p.props.points[a].tooltipPosition),u=p.props.points[a].tooltipPayload);var y={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:c,activePayload:u,activeCoordinate:f};this.setState(y),this.renderCursor(i),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(t,e){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==e.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==t.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==t.margin){var r,n;this.accessibilityManager.setDetails({offset:{left:null!=(r=this.props.margin.left)?r:0,top:null!=(n=this.props.margin.top)?n:0}})}return null}},{key:"componentDidUpdate",value:function(t){(0,W.OV)([(0,W.BU)(t.children,R.m)],[(0,W.BU)(this.props.children,R.m)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=(0,W.BU)(this.props.children,R.m);if(t&&"boolean"==typeof t.props.shared){var e=t.props.shared?"axis":"item";return f.indexOf(e)>=0?e:l}return l}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=this.container,r=e.getBoundingClientRect(),n=(0,ty.A3)(r),o={chartX:Math.round(t.pageX-n.left),chartY:Math.round(t.pageY-n.top)},i=r.width/e.offsetWidth||1,a=this.inRange(o.chartX,o.chartY,i);if(!a)return null;var c=this.state,u=c.xAxisMap,l=c.yAxisMap;if("axis"!==this.getTooltipEventType()&&u&&l){var s=(0,K.lX)(u).scale,f=(0,K.lX)(l).scale,p=s&&s.invert?s.invert(o.chartX):null,y=f&&f.invert?f.invert(o.chartY):null;return e7(e7({},o),{},{xValue:p,yValue:y})}var d=ra(this.state,this.props.data,this.props.layout,a);return d?e7(e7({},o),d):null}},{key:"inRange",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,o=t/r,i=e/r;if("horizontal"===n||"vertical"===n){var a=this.state.offset;return o>=a.left&&o<=a.left+a.width&&i>=a.top&&i<=a.top+a.height?{x:o,y:i}:null}var c=this.state,u=c.angleAxisMap,l=c.radiusAxisMap;if(u&&l){var s=(0,K.lX)(u);return(0,t8.yy)({x:o,y:i},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=(0,W.BU)(t,R.m),n={};return r&&"axis"===e&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu}),e7(e7({},(0,z._U)(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){et.on(ee,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){et.removeListener(ee,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(t,e,r){for(var n=this.state.formattedGraphicalItems,o=0,i=n.length;o<i;o++){var a=n[o];if(a.item===t||a.props.key===t.key||e===(0,W.Mn)(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,r=e.left,n=e.top,o=e.height,i=e.width;return O.createElement("defs",null,O.createElement("clipPath",{id:t},O.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=eJ(e,2),n=r[0],o=r[1];return e7(e7({},t),{},e4({},n,o.scale))},{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=eJ(e,2),n=r[0],o=r[1];return e7(e7({},t),{},e4({},n,o.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(t){var e;return null==(e=this.state.xAxisMap)||null==(e=e[t])?void 0:e.scale}},{key:"getYScaleByAxisId",value:function(t){var e;return null==(e=this.state.yAxisMap)||null==(e=e[t])?void 0:e.scale}},{key:"getItemByXY",value:function(t){var e=this.state,r=e.formattedGraphicalItems,n=e.activeItem;if(r&&r.length)for(var o=0,i=r.length;o<i;o++){var a=r[o],c=a.props,u=a.item,l=void 0!==u.type.defaultProps?e7(e7({},u.type.defaultProps),u.props):u.props,s=(0,W.Mn)(u.type);if("Bar"===s){var f=(c.data||[]).find(function(e){return(0,X.J)(t,e)});if(f)return{graphicalItem:a,payload:f}}else if("RadialBar"===s){var p=(c.data||[]).find(function(e){return(0,t8.yy)(t,e)});if(p)return{graphicalItem:a,payload:p}}else if((0,ea.NE)(a,n)||(0,ea.nZ)(a,n)||(0,ea.xQ)(a,n)){var y=(0,ea.GG)({graphicalItem:a,activeTooltipItem:n,itemData:l.data}),d=void 0===l.activeIndex?y:l.activeIndex;return{graphicalItem:e7(e7({},a),{},{childIndex:d}),payload:(0,ea.xQ)(a,n)?l.data[y]:a.props.data[y]}}}return null}},{key:"render",value:function(){var t,e,r=this;if(!(0,W.Me)(this))return null;var n=this.props,o=n.children,i=n.className,a=n.width,c=n.height,u=n.style,l=n.compact,s=n.title,f=n.desc,p=e$(n,eK),y=(0,W.J9)(p,!1);if(l)return O.createElement(tC.DR,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},O.createElement(N.u,eZ({},y,{width:a,height:c,title:s,desc:f}),this.renderClipPath(),(0,W.ee)(o,this.renderMap)));this.props.accessibilityLayer&&(y.tabIndex=null!=(t=this.props.tabIndex)?t:0,y.role=null!=(e=this.props.role)?e:"application",y.onKeyDown=function(t){r.accessibilityManager.keyboardEvent(t)},y.onFocus=function(){r.accessibilityManager.focus()});var d=this.parseEventsOfWrapper();return O.createElement(tC.DR,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},O.createElement("div",eZ({className:(0,D.A)("recharts-wrapper",i),style:e7({position:"relative",cursor:"default",width:a,height:c},u)},d,{ref:function(t){r.container=t}}),O.createElement(N.u,eZ({},y,{width:a,height:c,title:s,desc:f,style:e5}),this.renderClipPath(),(0,W.ee)(o,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,e8(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(O.Component),e4(m,"displayName",a),e4(m,"defaultProps",e7({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},h)),e4(m,"getDerivedStateFromProps",function(t,e){var r=t.dataKey,n=t.data,o=t.children,i=t.width,a=t.height,c=t.layout,u=t.stackOffset,l=t.margin,s=e.dataStartIndex,f=e.dataEndIndex;if(void 0===e.updateId){var p=rf(t);return e7(e7(e7({},p),{},{updateId:0},b(e7(e7({props:t},p),{},{updateId:0}),e)),{},{prevDataKey:r,prevData:n,prevWidth:i,prevHeight:a,prevLayout:c,prevStackOffset:u,prevMargin:l,prevChildren:o})}if(r!==e.prevDataKey||n!==e.prevData||i!==e.prevWidth||a!==e.prevHeight||c!==e.prevLayout||u!==e.prevStackOffset||!(0,t6.b)(l,e.prevMargin)){var y=rf(t),d={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},h=e7(e7({},ra(e,n,c)),{},{updateId:e.updateId+1}),v=e7(e7(e7({},y),d),h);return e7(e7(e7({},v),b(e7({props:t},v),e)),{},{prevDataKey:r,prevData:n,prevWidth:i,prevHeight:a,prevLayout:c,prevStackOffset:u,prevMargin:l,prevChildren:o})}if(!(0,W.OV)(o,e.prevChildren)){var m,g,O,x,j=(0,W.BU)(o,tp),S=j&&null!=(m=null==(g=j.props)?void 0:g.startIndex)?m:s,P=j&&null!=(O=null==(x=j.props)?void 0:x.endIndex)?O:f,A=w()(n)||S!==s||P!==f?e.updateId+1:e.updateId;return e7(e7({updateId:A},b(e7(e7({props:t},e),{},{updateId:A,dataStartIndex:S,dataEndIndex:P}),e)),{},{prevChildren:o,dataStartIndex:S,dataEndIndex:P})}return null}),e4(m,"renderActiveDot",function(t,e,r){var n;return n=(0,O.isValidElement)(t)?(0,O.cloneElement)(t,e):S()(t)?t(e):O.createElement(F,e),O.createElement(B.W,{className:"recharts-active-dot",key:r},n)}),(g=(0,O.forwardRef)(function(t,e){return O.createElement(m,eZ({},t,{ref:e}))})).displayName=m.displayName,g)},10245:(t,e,r)=>{var n=r(1359),o=r(97171),i=Object.prototype,a=i.hasOwnProperty,c=i.propertyIsEnumerable;t.exports=n(function(){return arguments}())?n:function(t){return o(t)&&a.call(t,"callee")&&!c.call(t,"callee")}},10460:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});var n=r(91356);function o(t){let e=n.useRef({value:t,previous:t});return n.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}},10473:(t,e,r)=>{var n=r(41049),o=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},10485:(t,e,r)=>{"use strict";r.d(e,{f:()=>d});var n=r(42971),o=r.n(n),i=r(49943),a=r(61219),c=r(99717),u=r(20481);function l(t,e,r){if(e<1)return[];if(1===e&&void 0===r)return t;for(var n=[],o=0;o<t.length;o+=e)if(void 0!==r&&!0!==r(t[o]))return;else n.push(t[o]);return n}function s(t,e,r,n,o){if(t*e<t*n||t*e>t*o)return!1;var i=r();return t*(e-t*i/2-n)>=0&&t*(e+t*i/2-o)<=0}function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function y(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function d(t,e,r){var n,f,p,d,h,v=t.tick,b=t.ticks,m=t.viewBox,g=t.minTickGap,O=t.orientation,x=t.interval,w=t.tickFormatter,j=t.unit,S=t.angle;if(!b||!b.length||!v)return[];if((0,i.Et)(x)||c.m.isSsr)return l(b,("number"==typeof x&&(0,i.Et)(x)?x:0)+1);var P="top"===O||"bottom"===O?"width":"height",A=j&&"width"===P?(0,a.Pu)(j,{fontSize:e,letterSpacing:r}):{width:0,height:0},E=function(t,n){var i,c,l=o()(w)?w(t.value,n):t.value;return"width"===P?(i=(0,a.Pu)(l,{fontSize:e,letterSpacing:r}),c={width:i.width+A.width,height:i.height+A.height},(0,u.bx)(c,S)):(0,a.Pu)(l,{fontSize:e,letterSpacing:r})[P]},k=b.length>=2?(0,i.sA)(b[1].coordinate-b[0].coordinate):1,T=(n="width"===P,f=m.x,p=m.y,d=m.width,h=m.height,1===k?{start:n?f:p,end:n?f+d:p+h}:{start:n?f+d:p+h,end:n?f:p});return"equidistantPreserveStart"===x?function(t,e,r,n,o){for(var i,a=(n||[]).slice(),c=e.start,u=e.end,f=0,p=1,y=c;p<=a.length;)if(i=function(){var e,i=null==n?void 0:n[f];if(void 0===i)return{v:l(n,p)};var a=f,d=function(){return void 0===e&&(e=r(i,a)),e},h=i.coordinate,v=0===f||s(t,h,d,y,u);v||(f=0,y=c,p+=1),v&&(y=h+t*(d()/2+o),f+=p)}())return i.v;return[]}(k,T,E,b,g):("preserveStart"===x||"preserveStartEnd"===x?function(t,e,r,n,o,i){var a=(n||[]).slice(),c=a.length,u=e.start,l=e.end;if(i){var f=n[c-1],p=r(f,c-1),d=t*(f.coordinate+t*p/2-l);a[c-1]=f=y(y({},f),{},{tickCoord:d>0?f.coordinate-d*t:f.coordinate}),s(t,f.tickCoord,function(){return p},u,l)&&(l=f.tickCoord-t*(p/2+o),a[c-1]=y(y({},f),{},{isShow:!0}))}for(var h=i?c-1:c,v=function(e){var n,i=a[e],c=function(){return void 0===n&&(n=r(i,e)),n};if(0===e){var f=t*(i.coordinate-t*c()/2-u);a[e]=i=y(y({},i),{},{tickCoord:f<0?i.coordinate-f*t:i.coordinate})}else a[e]=i=y(y({},i),{},{tickCoord:i.coordinate});s(t,i.tickCoord,c,u,l)&&(u=i.tickCoord+t*(c()/2+o),a[e]=y(y({},i),{},{isShow:!0}))},b=0;b<h;b++)v(b);return a}(k,T,E,b,g,"preserveStartEnd"===x):function(t,e,r,n,o){for(var i=(n||[]).slice(),a=i.length,c=e.start,u=e.end,l=function(e){var n,l=i[e],f=function(){return void 0===n&&(n=r(l,e)),n};if(e===a-1){var p=t*(l.coordinate+t*f()/2-u);i[e]=l=y(y({},l),{},{tickCoord:p>0?l.coordinate-p*t:l.coordinate})}else i[e]=l=y(y({},l),{},{tickCoord:l.coordinate});s(t,l.tickCoord,f,c,u)&&(u=l.tickCoord-t*(f()/2+o),i[e]=y(y({},l),{},{isShow:!0}))},f=a-1;f>=0;f--)l(f);return i}(k,T,E,b,g)).filter(function(t){return t.isShow})}},11173:(t,e,r)=>{var n=r(90057),o=r(97171);t.exports=function(t){return!0===t||!1===t||o(t)&&"[object Boolean]"==n(t)}},11269:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},11983:t=>{t.exports=function(t){return function(){return t}}},12628:t=>{t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},12872:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?0x1fffffffffffff:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},13558:(t,e,r)=>{var n=r(39428),o=r(64047);t.exports=function(t,e){return null!=t&&o(t,e,n)}},13744:(t,e,r)=>{var n=r(46200),o=r(67879);t.exports=function(t,e){return t&&n(t,e,o)}},14074:t=>{t.exports=function(t,e){return t.has(e)}},14788:(t,e,r)=>{var n=r(4291),o=1/0;t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-o?"-0":e}},16774:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>J});var n=r(91356),o=r(49071),i=r.n(o),a=r(45412);function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame(function n(o){if(r<0&&(r=o),o-r>e)t(o),r=-1;else{var i;i=n,"u">typeof requestAnimationFrame&&requestAnimationFrame(i)}})}function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach(function(e){y(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 y(t,e,r){var n;return(n=function(t,e){if("object"!==s(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===s(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var d=function(t){return t},h=function(t,e){return Object.keys(e).reduce(function(r,n){return p(p({},r),{},y({},n,t(n,e[n])))},{})},v=function(t,e,r){return t.map(function(t){return"".concat(t.replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())})," ").concat(e,"ms ").concat(r)}).join(",")},b=function(t,e,r,n,o,i,a,c){};function m(t,e){if(t){if("string"==typeof t)return g(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(t,e)}}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var O=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},x=function(t,e){return t.map(function(t,r){return t*Math.pow(e,r)}).reduce(function(t,e){return t+e})},w=function(t,e){return function(r){return x(O(t,e),r)}},j=function(){for(var t,e,r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];var i=n[0],a=n[1],c=n[2],u=n[3];if(1===n.length)switch(n[0]){case"linear":i=0,a=0,c=1,u=1;break;case"ease":i=.25,a=.1,c=.25,u=1;break;case"ease-in":i=.42,a=0,c=1,u=1;break;case"ease-out":i=.42,a=0,c=.58,u=1;break;case"ease-in-out":i=0,a=0,c=.58,u=1;break;default:var l=n[0].split("(");if("cubic-bezier"===l[0]&&4===l[1].split(")")[0].split(",").length){var s,f=function(t){if(Array.isArray(t))return t}(s=l[1].split(")")[0].split(",").map(function(t){return parseFloat(t)}))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,o,i,a=[],c=!0,u=!1;try{o=(e=e.call(t)).next,!1;for(;!(c=(r=o.call(e)).done)&&(a.push(r.value),4!==a.length);c=!0);}catch(t){u=!0,n=t}finally{try{if(!c&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(u)throw n}}return a}}(s)||m(s,4)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();i=f[0],a=f[1],c=f[2],u=f[3]}else b(!1,"[configBezier]: arguments should be one of oneOf 'linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', instead received %s",n)}b([i,c,a,u].every(function(t){return"number"==typeof t&&t>=0&&t<=1}),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",n);var p=w(i,c),y=w(a,u),d=(t=i,e=c,function(r){var n;return x([].concat(function(t){if(Array.isArray(t))return g(t)}(n=O(t,e).map(function(t,e){return t*e}).slice(1))||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||m(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[0]),r)}),h=function(t){for(var e=t>1?1:t,r=e,n=0;n<8;++n){var o,i=p(r)-e,a=d(r);if(1e-4>Math.abs(i-e)||a<1e-4)break;r=(o=r-i/a)>1?1:o<0?0:o}return y(r)};return h.isStepper=!1,h},S=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 1e-4>Math.abs(c-e)&&1e-4>Math.abs(i)?[e,0]:[c,i]};return c.isStepper=!0,c.dt=a,c},P=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return j(n);case"spring":return S();default:if("cubic-bezier"===n.split("(")[0])return j(n);b(!1,"[configEasing]: first argument should be one of 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', 'linear' and 'spring', instead received %s",e)}return"function"==typeof n?n:(b(!1,"[configEasing]: first argument type should be function or string, instead received %s",e),null)};function A(t){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function E(t){return function(t){if(Array.isArray(t))return C(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||I(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(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?k(Object(r),!0).forEach(function(e){M(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function M(t,e,r){var n;return(n=function(t,e){if("object"!==A(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==A(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===A(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function I(t,e){if(t){if("string"==typeof t)return C(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return C(t,e)}}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var D=function(t,e,r){return t+(e-t)*r},_=function(t){return t.from!==t.to},N=function t(e,r,n){var o=h(function(t,r){if(_(r)){var n,o=function(t){if(Array.isArray(t))return t}(n=e(r.from,r.to,r.velocity))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,o,i,a=[],c=!0,u=!1;try{o=(e=e.call(t)).next,!1;for(;!(c=(r=o.call(e)).done)&&(a.push(r.value),2!==a.length);c=!0);}catch(t){u=!0,n=t}finally{try{if(!c&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(u)throw n}}return a}}(n)||I(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=o[0],a=o[1];return T(T({},r),{},{from:i,velocity:a})}return r},r);return n<1?h(function(t,e){return _(e)?T(T({},e),{},{velocity:D(e.velocity,o[t].velocity,n),from:D(e.from,o[t].from,n)}):e},r):t(e,o,n-1)};let B=function(t,e,r,n,o){var i,a,c=[Object.keys(t),Object.keys(e)].reduce(function(t,e){return t.filter(function(t){return e.includes(t)})}),u=c.reduce(function(r,n){return T(T({},r),{},M({},n,[t[n],e[n]]))},{}),l=c.reduce(function(r,n){return T(T({},r),{},M({},n,{from:t[n],velocity:0,to:e[n]}))},{}),s=-1,f=function(){return null};return f=r.isStepper?function(n){i||(i=n);var a=(n-i)/r.dt;l=N(r,l,a),o(T(T(T({},t),e),h(function(t,e){return e.from},l))),i=n,Object.values(l).filter(_).length&&(s=requestAnimationFrame(f))}:function(i){a||(a=i);var c=(i-a)/n,l=h(function(t,e){return D.apply(void 0,E(e).concat([r(c)]))},u);if(o(T(T(T({},t),e),l)),c<1)s=requestAnimationFrame(f);else{var p=h(function(t,e){return D.apply(void 0,E(e).concat([r(1)]))},u);o(T(T(T({},t),e),p))}},function(){return requestAnimationFrame(f),function(){cancelAnimationFrame(s)}}};function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var L=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function z(t){return function(t){if(Array.isArray(t))return W(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t){if(t){if("string"==typeof t)return W(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return W(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function F(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?U(Object(r),!0).forEach(function(e){X(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function X(t,e,r){return(e=G(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function G(t){var e=function(t,e){if("object"!==R(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==R(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===R(e)?e:String(e)}function q(t,e){return(q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function V(t,e){if(e&&("object"===R(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return K(t)}function K(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H(t){return(H=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Z=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&q(i,t);var e,r,o=(e=function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=H(i);return t=e?Reflect.construct(r,arguments,H(this).constructor):r.apply(this,arguments),V(this,t)});function i(t,e){if(!(this instanceof i))throw TypeError("Cannot call a class as a function");var r=o.call(this,t,e),n=r.props,a=n.isActive,c=n.attributeName,u=n.from,l=n.to,s=n.steps,f=n.children,p=n.duration;if(r.handleStyleChange=r.handleStyleChange.bind(K(r)),r.changeStyle=r.changeStyle.bind(K(r)),!a||p<=0)return r.state={style:{}},"function"==typeof f&&(r.state={style:l}),V(r);if(s&&s.length)r.state={style:s[0].style};else if(u){if("function"==typeof f)return r.state={style:u},V(r);r.state={style:c?X({},c,u):u}}else r.state={style:{}};return r}return r=[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,r=t.canBegin;this.mounted=!0,e&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.isActive,n=e.canBegin,o=e.attributeName,i=e.shouldReAnimate,c=e.to,u=e.from,l=this.state.style;if(n){if(!r){var s={style:o?X({},o,c):c};this.state&&l&&(o&&l[o]!==c||!o&&l!==c)&&this.setState(s);return}if(!(0,a.bD)(t.to,c)||!t.canBegin||!t.isActive){var f=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var p=f||i?u:t.to;if(this.state&&l){var y={style:o?X({},o,p):p};(o&&l[o]!==p||!o&&l!==p)&&this.setState(y)}this.runAnimation(F(F({},this.props),{},{from:p,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var t=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),t&&t()}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"runJSAnimation",value:function(t){var e=this,r=t.from,n=t.to,o=t.duration,i=t.easing,a=t.begin,c=t.onAnimationEnd,u=t.onAnimationStart,l=B(r,n,P(i),o,this.changeStyle);this.manager.start([u,a,function(){e.stopJSAnimation=l()},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;return this.manager.start([o].concat(z(r.reduce(function(t,n,o){if(0===o)return t;var i=n.duration,a=n.easing,c=void 0===a?"ease":a,u=n.style,l=n.properties,s=n.onAnimationEnd,f=o>0?r[o-1]:n,p=l||Object.keys(u);if("function"==typeof c||"spring"===c)return[].concat(z(t),[e.runJSAnimation.bind(e,{from:f.style,to:u,duration:i,easing:c}),i]);var y=v(p,i,c),h=F(F(F({},f.style),u),{},{transition:y});return[].concat(z(t),[h,i,s]).filter(d)},[a,Math.max(void 0===c?0:c,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=(e=function(){return null},r=!1,n=function t(n){if(!r){if(Array.isArray(n)){if(!n.length)return;var o=function(t){if(Array.isArray(t))return t}(n)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||function(t){if(t){if("string"==typeof t)return l(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return l(t,void 0)}}(n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=o[0],a=o.slice(1);return"number"==typeof i?void c(t.bind(null,a),i):(t(i),void c(t.bind(null,a)))}"object"===u(n)&&e(n),"function"==typeof n&&n()}},{stop:function(){r=!0},start:function(t){r=!1,n(t)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}));var e,r,n,o=t.begin,i=t.duration,a=t.attributeName,s=t.to,f=t.easing,p=t.onAnimationStart,y=t.onAnimationEnd,d=t.steps,h=t.children,b=this.manager;if(this.unSubscribe=b.subscribe(this.handleStyleChange),"function"==typeof f||"function"==typeof h||"spring"===f)return void this.runJSAnimation(t);if(d.length>1)return void this.runStepAnimation(t);var m=a?X({},a,s):s,g=v(Object.keys(m),i,f);b.start([p,o,F(F({},m),{},{transition:g}),i,y])}},{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,L)),a=n.Children.count(e),c=this.state.style;if("function"==typeof e)return e(c);if(!o||0===a||r<=0)return e;var u=function(t){var e=t.props,r=e.style,o=e.className;return(0,n.cloneElement)(t,F(F({},i),{},{style:F(F({},void 0===r?{}:r),c),className:o}))};return 1===a?u(n.Children.only(e)):n.createElement("div",null,n.Children.map(e,function(t){return u(t)}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,G(n.key),n)}}(i.prototype,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(n.PureComponent);Z.displayName="Animate",Z.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},Z.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};let J=Z},16930:(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})},17745:(t,e,r)=>{"use strict";r.d(e,{n:()=>s});var n=r(91356),o=r(67730),i=r(42811),a=r(17652),c=r(20838),u=class extends a.Q{#t;#e=void 0;#r;#n;constructor(t,e){super(),this.#t=t,this.setOptions(e),this.bindMethods(),this.#o()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let e=this.options;this.options=this.#t.defaultMutationOptions(t),(0,c.f8)(this.options,e)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#r,observer:this}),e?.mutationKey&&this.options.mutationKey&&(0,c.EN)(e.mutationKey)!==(0,c.EN)(this.options.mutationKey)?this.reset():this.#r?.state.status==="pending"&&this.#r.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#r?.removeObserver(this)}onMutationUpdate(t){this.#o(),this.#i(t)}getCurrentResult(){return this.#e}reset(){this.#r?.removeObserver(this),this.#r=void 0,this.#o(),this.#i()}mutate(t,e){return this.#n=e,this.#r?.removeObserver(this),this.#r=this.#t.getMutationCache().build(this.#t,this.options),this.#r.addObserver(this),this.#r.execute(t)}#o(){let t=this.#r?.state??(0,o.$)();this.#e={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}#i(t){i.jG.batch(()=>{if(this.#n&&this.hasListeners()){let e=this.#e.variables,r=this.#e.context,n={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#n.onSuccess?.(t.data,e,r,n)}catch(t){Promise.reject(t)}try{this.#n.onSettled?.(t.data,null,e,r,n)}catch(t){Promise.reject(t)}}else if(t?.type==="error"){try{this.#n.onError?.(t.error,e,r,n)}catch(t){Promise.reject(t)}try{this.#n.onSettled?.(void 0,t.error,e,r,n)}catch(t){Promise.reject(t)}}}this.listeners.forEach(t=>{t(this.#e)})})}},l=r(39927);function s(t,e){let r=(0,l.jE)(e),[o]=n.useState(()=>new u(r,t));n.useEffect(()=>{o.setOptions(t)},[o,t]);let a=n.useSyncExternalStore(n.useCallback(t=>o.subscribe(i.jG.batchCalls(t)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),s=n.useCallback((t,e)=>{o.mutate(t,e).catch(c.lQ)},[o]);if(a.error&&(0,c.GU)(o.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:s,mutateAsync:a.mutate}}},17897:(t,e,r)=>{t=r.nmd(t);var n=r(94836),o=r(45582),i=e&&!e.nodeType&&e,a=i&&t&&!t.nodeType&&t,c=a&&a.exports===i?n.Buffer:void 0,u=c?c.isBuffer:void 0;t.exports=u||o},18259:(t,e,r)=>{"use strict";r.d(e,{W:()=>v});var n=r(91356),o=r(28900),i=r(70232),a=r(30185),c=r(3193);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(l=function(){return!!t})()}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function p(t,e,r){return(e=y(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function y(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=u(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==u(e)?e:e+""}function d(){return(d=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function h(t){var e=t.xAxisId,r=(0,i.yi)(),u=(0,i.rY)(),l=(0,i.AF)(e);return null==l?null:n.createElement(a.u,d({},l,{className:(0,o.A)("recharts-".concat(l.axisType," ").concat(l.axisType),l.className),viewBox:{x:0,y:0,width:r,height:u},ticksGenerator:function(t){return(0,c.Rh)(t,!0)}}))}var v=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=s(t),function(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,l()?Reflect.construct(t,e||[],s(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&f(r,t),e=[{key:"render",value:function(){return n.createElement(h,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,y(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);p(v,"displayName","XAxis"),p(v,"defaultProps",{allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0})},18503:(t,e,r)=>{"use strict";t.exports=r(33251)},19258: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}},19265:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},19286:(t,e,r)=>{"use strict";r.d(e,{AW:()=>B,BU:()=>E,J9:()=>I,Me:()=>k,Mn:()=>w,OV:()=>C,X_:()=>N,aS:()=>A,ee:()=>_});var n=r(99645),o=r.n(n),i=r(23258),a=r.n(i),c=r(31614),u=r.n(c),l=r(42971),s=r.n(l),f=r(75124),p=r.n(f),y=r(91356),d=r(18503),h=r(49943),v=r(16930),b=r(49787),m=["children"],g=["children"];function O(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var x={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},w=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},j=null,S=null,P=function t(e){if(e===j&&Array.isArray(S))return S;var r=[];return y.Children.forEach(e,function(e){a()(e)||((0,d.isFragment)(e)?r=r.concat(t(e.props.children)):r.push(e))}),S=r,j=e,r};function A(t,e){var r=[],n=[];return n=Array.isArray(e)?e.map(function(t){return w(t)}):[w(e)],P(t).forEach(function(t){var e=o()(t,"type.displayName")||o()(t,"type.name");-1!==n.indexOf(e)&&r.push(t)}),r}function E(t,e){var r=A(t,e);return r&&r[0]}var k=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)},T=["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"],M=function(t,e,r,n){var o,i=null!=(o=null===b.VU||void 0===b.VU?void 0:b.VU[n])?o:[];return!s()(t)&&(n&&i.includes(e)||b.QQ.includes(e))||r&&b.j2.includes(e)},I=function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if((0,y.isValidElement)(t)&&(n=t.props),!p()(n))return null;var o={};return Object.keys(n).forEach(function(t){var i;M(null==(i=n)?void 0:i[t],t,e,r)&&(o[t]=n[t])}),o},C=function t(e,r){if(e===r)return!0;var n=y.Children.count(e);if(n!==y.Children.count(r))return!1;if(0===n)return!0;if(1===n)return D(Array.isArray(e)?e[0]:e,Array.isArray(r)?r[0]:r);for(var o=0;o<n;o++){var i=e[o],a=r[o];if(Array.isArray(i)||Array.isArray(a)){if(!t(i,a))return!1}else if(!D(i,a))return!1}return!0},D=function(t,e){if(a()(t)&&a()(e))return!0;if(!a()(t)&&!a()(e)){var r=t.props||{},n=r.children,o=O(r,m),i=e.props||{},c=i.children,u=O(i,g);if(n&&c)return(0,v.b)(o,u)&&C(n,c);if(!n&&!c)return(0,v.b)(o,u)}return!1},_=function(t,e){var r=[],n={};return P(t).forEach(function(t,o){if(t&&t.type&&u()(t.type)&&T.indexOf(t.type)>=0)r.push(t);else if(t){var i=w(t.type),a=e[i]||{},c=a.handler,l=a.once;if(c&&(!l||!n[i])){var s=c(t,i,o);r.push(s),n[i]=!0}}}),r},N=function(t){var e=t&&t.type;return e&&x[e]?x[e]:null},B=function(t,e){return P(e).indexOf(t)}},19435:t=>{var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},19734:(t,e,r)=>{var n=r(48737),o=r(22658),i=r(28207),a=r(56681);t.exports=i(function(t,e){if(null==t)return[];var r=e.length;return r>1&&a(t,e[0],e[1])?e=[]:r>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),o(t,n(e,1),[])})},20481:(t,e,r)=>{"use strict";r.d(e,{P2:()=>x,bx:()=>w,pr:()=>b,sl:()=>m,vh:()=>g});var n=r(37629),o=r.n(n),i=r(39986),a=r.n(i),c=r(3193),u=r(19286),l=r(49943),s=r(63638);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,v(n.key),n)}}function y(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?y(Object(r),!0).forEach(function(e){h(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function h(t,e,r){return(e=v(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:e+""}var b=function(t,e,r,n,o){var i=t.width,a=t.height,f=t.layout,p=t.children,y=Object.keys(e),v={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},b=!!(0,u.BU)(p,s.y);return y.reduce(function(i,a){var u,s,p,y,m,g=e[a],O=g.orientation,x=g.domain,w=g.padding,j=void 0===w?{}:w,S=g.mirror,P=g.reversed,A="".concat(O).concat(S?"Mirror":"");if("number"===g.type&&("gap"===g.padding||"no-gap"===g.padding)){var E=x[1]-x[0],k=1/0,T=g.categoricalDomain.sort();if(T.forEach(function(t,e){e>0&&(k=Math.min((t||0)-(T[e-1]||0),k))}),Number.isFinite(k)){var M=k/E,I="vertical"===g.layout?r.height:r.width;if("gap"===g.padding&&(u=M*I/2),"no-gap"===g.padding){var C=(0,l.F4)(t.barCategoryGap,M*I),D=M*I/2;u=D-C-(D-C)/I*C}}}s="xAxis"===n?[r.left+(j.left||0)+(u||0),r.left+r.width-(j.right||0)-(u||0)]:"yAxis"===n?"horizontal"===f?[r.top+r.height-(j.bottom||0),r.top+(j.top||0)]:[r.top+(j.top||0)+(u||0),r.top+r.height-(j.bottom||0)-(u||0)]:g.range,P&&(s=[s[1],s[0]]);var _=(0,c.W7)(g,o,b),N=_.scale,B=_.realScaleType;N.domain(x).range(s),(0,c.YB)(N);var R=(0,c.w7)(N,d(d({},g),{},{realScaleType:B}));"xAxis"===n?(m="top"===O&&!S||"bottom"===O&&S,p=r.left,y=v[A]-m*g.height):"yAxis"===n&&(m="left"===O&&!S||"right"===O&&S,p=v[A]-m*g.width,y=r.top);var L=d(d(d({},g),R),{},{realScaleType:B,x:p,y:y,scale:N,width:"xAxis"===n?r.width:g.width,height:"yAxis"===n?r.height:g.height});return L.bandSize=(0,c.Hj)(L,R),g.hide||"xAxis"!==n?g.hide||(v[A]+=(m?-1:1)*L.width):v[A]+=(m?-1:1)*L.height,d(d({},i),{},h({},a,L))},{})},m=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)}},g=function(t){return m({x:t.x1,y:t.y1},{x:t.x2,y:t.y2})},O=function(){var t,e;function r(t){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");this.scale=t}return t=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.bandAware,n=e.position;if(void 0!==t){if(n)switch(n){case"start":default:return this.scale(t);case"middle":var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(t)+i}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),r=e[0],n=e[e.length-1];return r<=n?t>=r&&t<=n:t>=n&&t<=r}}],e=[{key:"create",value:function(t){return new r(t)}}],t&&p(r.prototype,t),e&&p(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();h(O,"EPS",1e-4);var x=function(t){var e=Object.keys(t).reduce(function(e,r){return d(d({},e),{},h({},r,O.create(t[r])))},{});return d(d({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return o()(t,function(t,r){return e[r].apply(t,{bandAware:n,position:i})})},isInRange:function(t){return a()(t,function(t,r){return e[r].isInRange(t)})}})},w=function(t){var e=t.width,r=t.height,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=(n%180+180)%180*Math.PI/180,i=Math.atan(r/e);return Math.abs(o>i&&o<Math.PI-i?r/Math.sin(o):e/Math.cos(o))}},21073:(t,e,r)=>{"use strict";r.d(e,{yp:()=>C,GG:()=>z,NE:()=>D,nZ:()=>_,xQ:()=>N});var n=r(91356),o=r(42971),i=r.n(o),a=r(63698),c=r.n(a),u=r(11173),l=r.n(u),s=r(3141),f=r.n(s),p=r(31012),y=r(28900),d=r(16774),h=r(19286);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(){return(b=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function 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 O(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){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=v(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=v(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==v(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var x=function(t,e,r,n,o){var i=r-n;return"M ".concat(t,",").concat(e)+"L ".concat(t+r,",").concat(e)+"L ".concat(t+r-i/2,",").concat(e+o)+"L ".concat(t+r-i/2-n,",").concat(e+o)+"L ".concat(t,",").concat(e," Z")},w={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},j=function(t){var e,r=O(O({},w),t),o=(0,n.useRef)(),i=function(t){if(Array.isArray(t))return t}(e=(0,n.useState)(-1))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,o,i,a=[],c=!0,u=!1;try{o=(e=e.call(t)).next,!1;for(;!(c=(r=o.call(e)).done)&&(a.push(r.value),2!==a.length);c=!0);}catch(t){u=!0,n=t}finally{try{if(!c&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(u)throw n}}return a}}(e)||function(t){if(t){if("string"==typeof t)return m(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return m(t,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=i[0],c=i[1];(0,n.useEffect)(function(){if(o.current&&o.current.getTotalLength)try{var t=o.current.getTotalLength();t&&c(t)}catch(t){}},[]);var u=r.x,l=r.y,s=r.upperWidth,f=r.lowerWidth,p=r.height,v=r.className,g=r.animationEasing,j=r.animationDuration,S=r.animationBegin,P=r.isUpdateAnimationActive;if(u!==+u||l!==+l||s!==+s||f!==+f||p!==+p||0===s&&0===f||0===p)return null;var A=(0,y.A)("recharts-trapezoid",v);return P?n.createElement(d.Ay,{canBegin:a>0,from:{upperWidth:0,lowerWidth:0,height:p,x:u,y:l},to:{upperWidth:s,lowerWidth:f,height:p,x:u,y:l},duration:j,animationEasing:g,isActive:P},function(t){var e=t.upperWidth,i=t.lowerWidth,c=t.height,u=t.x,l=t.y;return n.createElement(d.Ay,{canBegin:a>0,from:"0px ".concat(-1===a?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:S,duration:j,easing:g},n.createElement("path",b({},(0,h.J9)(r,!0),{className:A,d:x(u,l,e,i,c),ref:o})))}):n.createElement("g",null,n.createElement("path",b({},(0,h.J9)(r,!0),{className:A,d:x(u,l,s,f,p)})))},S=r(50297),P=r(31770),A=r(81869),E=["option","shapeType","propTransformer","activeClassName","isActive"];function k(t){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function T(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function M(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?T(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=k(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=k(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==k(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function I(t){var e=t.shapeType,r=t.elementProps;switch(e){case"rectangle":return n.createElement(p.M,r);case"trapezoid":return n.createElement(j,r);case"sector":return n.createElement(S.h,r);case"symbols":if("symbols"===e)return n.createElement(A.i,r);break;default:return null}}function C(t){var e,r=t.option,o=t.shapeType,a=t.propTransformer,u=t.activeClassName,s=t.isActive,f=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,E);if((0,n.isValidElement)(r))e=(0,n.cloneElement)(r,M(M({},f),(0,n.isValidElement)(r)?r.props:r));else if(i()(r))e=r(f);else if(c()(r)&&!l()(r)){var p=(void 0===a?function(t,e){return M(M({},e),t)}:a)(r,f);e=n.createElement(I,{shapeType:o,elementProps:p})}else e=n.createElement(I,{shapeType:o,elementProps:f});return s?n.createElement(P.W,{className:void 0===u?"recharts-active-shape":u},e):e}function D(t,e){return null!=e&&"trapezoids"in t.props}function _(t,e){return null!=e&&"sectors"in t.props}function N(t,e){return null!=e&&"points"in t.props}function B(t,e){var r,n,o=t.x===(null==e||null==(r=e.labelViewBox)?void 0:r.x)||t.x===e.x,i=t.y===(null==e||null==(n=e.labelViewBox)?void 0:n.y)||t.y===e.y;return o&&i}function R(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function L(t,e){var r=t.x===e.x,n=t.y===e.y,o=t.z===e.z;return r&&n&&o}function z(t){var e,r,n,o=t.activeTooltipItem,i=t.graphicalItem,a=t.itemData,c=(D(i,o)?e="trapezoids":_(i,o)?e="sectors":N(i,o)&&(e="points"),e),u=D(i,o)?null==(r=o.tooltipPayload)||null==(r=r[0])||null==(r=r.payload)?void 0:r.payload:_(i,o)?null==(n=o.tooltipPayload)||null==(n=n[0])||null==(n=n.payload)?void 0:n.payload:N(i,o)?o.payload:{},l=a.filter(function(t,e){var r=f()(u,t),n=i.props[c].filter(function(t){var e;return(D(i,o)?e=B:_(i,o)?e=R:N(i,o)&&(e=L),e)(t,o)}),a=i.props[c].indexOf(n[n.length-1]);return r&&e===a});return a.indexOf(l[l.length-1])}},21174:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(43200).A)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]])},22658:(t,e,r)=>{var n=r(74989),o=r(86151),i=r(37148),a=r(22833),c=r(37752),u=r(76516),l=r(75027),s=r(24073),f=r(57800);t.exports=function(t,e,r){e=e.length?n(e,function(t){return f(t)?function(e){return o(e,1===t.length?t[0]:t)}:t}):[s];var p=-1;return e=n(e,u(i)),c(a(t,function(t,r,o){return{criteria:n(e,function(e){return e(t)}),index:++p,value:t}}),function(t,e){return l(t,e,r)})}},22833:(t,e,r)=>{var n=r(53596),o=r(64407);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}},23167:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},23258:t=>{t.exports=function(t){return null==t}},23358:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},23437:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});function n(t,e){if(!t)throw Error("Invariant failed")}},24073:t=>{t.exports=function(t){return t}},24121:(t,e,r)=>{"use strict";r.d(e,{s:()=>D});var n=r(91356),o=r(42971),i=r.n(o),a=r(28900),c=r(64621),u=r(5008),l=r(81869),s=r(49787);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(){return(p=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function y(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(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(d=function(){return!!t})()}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function v(t,e){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function b(t,e,r){return(e=m(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function m(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:e+""}var g=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=h(t),function(t,e){if(e&&("object"===f(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,d()?Reflect.construct(t,e||[],h(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&v(r,t),e=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,r=32/6,o=32/3,i=t.inactive?e:t.color;if("plainline"===t.type)return n.createElement("line",{strokeWidth:4,fill:"none",stroke:i,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:16,x2:32,y2:16,className:"recharts-legend-icon"});if("line"===t.type)return n.createElement("path",{strokeWidth:4,fill:"none",stroke:i,d:"M0,".concat(16,"h").concat(o,"\n A").concat(r,",").concat(r,",0,1,1,").concat(2*o,",").concat(16,"\n H").concat(32,"M").concat(2*o,",").concat(16,"\n A").concat(r,",").concat(r,",0,1,1,").concat(o,",").concat(16),className:"recharts-legend-icon"});if("rect"===t.type)return n.createElement("path",{stroke:"none",fill:i,d:"M0,".concat(4,"h").concat(32,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(n.isValidElement(t.legendIcon)){var a=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?y(Object(r),!0).forEach(function(e){b(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({},t);return delete a.legendIcon,n.cloneElement(t.legendIcon,a)}return n.createElement(l.i,{fill:i,cx:16,cy:16,size:32,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,r=e.payload,o=e.iconSize,l=e.layout,f=e.formatter,y=e.inactiveColor,d={x:0,y:0,width:32,height:32},h={display:"horizontal"===l?"inline-block":"block",marginRight:10},v={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map(function(e,r){var l=e.formatter||f,m=(0,a.A)(b(b({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",e.inactive));if("none"===e.type)return null;var g=i()(e.value)?null:e.value;(0,c.R)(!i()(e.value),'The name property is also required when using a function for the dataKey of a chart\'s cartesian components. Ex: <Bar name="Name of my Data"/>');var O=e.inactive?y:e.color;return n.createElement("li",p({className:m,style:h,key:"legend-item-".concat(r)},(0,s.XC)(t.props,e,r)),n.createElement(u.u,{width:o,height:o,viewBox:d,style:v},t.renderIcon(e)),n.createElement("span",{className:"recharts-legend-item-text",style:{color:O}},l?l(g,e,r):g))})}},{key:"render",value:function(){var t=this.props,e=t.payload,r=t.layout,o=t.align;return e&&e.length?n.createElement("ul",{className:"recharts-default-legend",style:{padding:0,margin:0,textAlign:"horizontal"===r?o:"left"}},this.renderItems()):null}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,m(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.PureComponent);b(g,"displayName","Legend"),b(g,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var O=r(49943),x=r(34840);function w(t){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var j=["ref"];function S(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function P(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?S(Object(r),!0).forEach(function(e){M(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function A(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,I(n.key),n)}}function E(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(E=function(){return!!t})()}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function T(t,e){return(T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function M(t,e,r){return(e=I(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function I(t){var e=function(t,e){if("object"!=w(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=w(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==w(e)?e:e+""}function C(t){return t.value}var D=function(t){var e,r;function o(){var t,e,r;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=o,r=[].concat(i),e=k(e),M(t=function(t,e){if(e&&("object"===w(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,E()?Reflect.construct(e,r||[],k(this).constructor):e.apply(this,r)),"lastBoundingBox",{width:-1,height:-1}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&T(o,t),e=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();return t.height=this.wrapperNode.offsetHeight,t.width=this.wrapperNode.offsetWidth,t}return null}},{key:"updateBBox",value:function(){var t=this.props.onBBoxUpdate,e=this.getBBox();e?(Math.abs(e.width-this.lastBoundingBox.width)>1||Math.abs(e.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=e.width,this.lastBoundingBox.height=e.height,t&&t(e)):(-1!==this.lastBoundingBox.width||-1!==this.lastBoundingBox.height)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,t&&t(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?P({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(t){var e,r,n=this.props,o=n.layout,i=n.align,a=n.verticalAlign,c=n.margin,u=n.chartWidth,l=n.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===i&&"vertical"===o?{left:((u||0)-this.getBBoxSnapshot().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:((l||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}),P(P({},e),r)}},{key:"render",value:function(){var t=this,e=this.props,r=e.content,o=e.width,i=e.height,a=e.wrapperStyle,c=e.payloadUniqBy,u=e.payload,l=P(P({position:"absolute",width:o||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return n.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(e){t.wrapperNode=e}},function(t,e){if(n.isValidElement(t))return n.cloneElement(t,e);if("function"==typeof t)return n.createElement(t,e);e.ref;var r=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(e,j);return n.createElement(g,r)}(r,P(P({},this.props),{},{payload:(0,x.s)(u,c,C)})))}}],r=[{key:"getWithHeight",value:function(t,e){var r=P(P({},this.defaultProps),t.props).layout;return"vertical"===r&&(0,O.Et)(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}:null}}],e&&A(o.prototype,e),r&&A(o,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(n.PureComponent);M(D,"displayName","Legend"),M(D,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"})},24172:(t,e,r)=>{var n=r(29707);t.exports=function(t,e){var r=this.__data__;return this.size+=+!this.has(t),r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},24312:(t,e,r)=>{var n=r(57800),o=r(98971),i=r(29627),a=r(623);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(a(t))}},24509:(t,e,r)=>{var n=r(39552),o=r(29750),i=r(33931),a=r(43584),c=r(43164),u=r(57800),l=r(17897),s=r(35782),f="[object Arguments]",p="[object Array]",y="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,h,v,b){var m=u(t),g=u(e),O=m?p:c(t),x=g?p:c(e);O=O==f?y:O,x=x==f?y:x;var w=O==y,j=x==y,S=O==x;if(S&&l(t)){if(!l(e))return!1;m=!0,w=!1}if(S&&!w)return b||(b=new n),m||s(t)?o(t,e,r,h,v,b):i(t,e,O,r,h,v,b);if(!(1&r)){var P=w&&d.call(t,"__wrapped__"),A=j&&d.call(e,"__wrapped__");if(P||A){var E=P?t.value():t,k=A?e.value():e;return b||(b=new n),v(E,k,r,h,b)}}return!!S&&(b||(b=new n),a(t,e,r,h,v,b))}},24647:(t,e,r)=>{t.exports=r(54311)(r(31504))},25772: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 u=a[t?c:++o];if(!1===r(i[u],u,i))break}return e}}},26155:(t,e,r)=>{var n=r(88215),o=r(99645),i=r(13558),a=r(98971),c=r(47189),u=r(86972),l=r(14788);t.exports=function(t,e){return a(t)&&c(e)?u(l(t),e):function(r){var a=o(r,t);return void 0===a&&a===e?i(r,t):n(e,a,3)}}},26520:(t,e,r)=>{var n=r(66654),o=r(38446),i=r(47644);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}},27385:t=>{t.exports=function(t,e){return t<e}},27760:(t,e,r)=>{var n=r(77129);t.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},27958:(t,e,r)=>{var n=r(5800);t.exports=function(t){return n(this.__data__,t)>-1}},28207:(t,e,r)=>{var n=r(24073),o=r(93340),i=r(97104);t.exports=function(t,e){return i(o(t,e,n),t+"")}},28566:(t,e,r)=>{var n=r(4291);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===u?c==c&&!n(c):r(c,u)))var u=c,l=a}return l}},28822:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},29337:(t,e,r)=>{var n=r(35263),o=r(66654),i=r(38446);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},29627:(t,e,r)=>{var n=r(1217),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g;t.exports=n(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,r,n,o){e.push(n?o.replace(i,"$1"):r||t)}),e})},29707:(t,e,r)=>{t.exports=r(73135)(Object,"create")},29750:(t,e,r)=>{var n=r(88818),o=r(70281),i=r(14074);t.exports=function(t,e,r,a,c,u){var l=1&r,s=t.length,f=e.length;if(s!=f&&!(l&&f>s))return!1;var p=u.get(t),y=u.get(e);if(p&&y)return p==e&&y==t;var d=-1,h=!0,v=2&r?new n:void 0;for(u.set(t,e),u.set(e,t);++d<s;){var b=t[d],m=e[d];if(a)var g=l?a(m,b,d,e,t,u):a(b,m,d,t,e,u);if(void 0!==g){if(g)continue;h=!1;break}if(v){if(!o(e,function(t,e){if(!i(v,e)&&(b===t||c(b,t,r,a,u)))return v.push(e)})){h=!1;break}}else if(!(b===m||c(b,m,r,a,u))){h=!1;break}}return u.delete(t),u.delete(e),h}},29889:(t,e,r)=>{var n=r(47189),o=r(67879);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}},30185:(t,e,r)=>{"use strict";r.d(e,{u:()=>I});var n=r(91356),o=r(42971),i=r.n(o),a=r(99645),c=r.n(a),u=r(28900),l=r(16930),s=r(31770),f=r(47620),p=r(93625),y=r(49943),d=r(49787),h=r(19286),v=r(10485),b=["viewBox"],m=["viewBox"],g=["ticks"];function O(t){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function x(){return(x=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).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 j(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(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 S(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function P(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,M(n.key),n)}}function A(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(A=function(){return!!t})()}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function k(t,e){return(k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function T(t,e,r){return(e=M(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function M(t){var e=function(t,e){if("object"!=O(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=O(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==O(e)?e:e+""}var I=function(t){var e,r;function o(t){var e,r,n;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return r=o,n=[t],r=E(r),(e=function(t,e){if(e&&("object"===O(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,A()?Reflect.construct(r,n||[],E(this).constructor):r.apply(this,n))).state={fontSize:"",letterSpacing:""},e}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&k(o,t),e=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=S(t,b),o=this.props,i=o.viewBox,a=S(o,m);return!(0,l.b)(r,i)||!(0,l.b)(n,a)||!(0,l.b)(e,this.state)}},{key:"componentDidMount",value:function(){var t=this.layerReference;if(t){var e=t.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];e&&this.setState({fontSize:window.getComputedStyle(e).fontSize,letterSpacing:window.getComputedStyle(e).letterSpacing})}}},{key:"getTickLineCoord",value:function(t){var e,r,n,o,i,a,c=this.props,u=c.x,l=c.y,s=c.width,f=c.height,p=c.orientation,d=c.tickSize,h=c.mirror,v=c.tickMargin,b=h?-1:1,m=t.tickSize||d,g=(0,y.Et)(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=r=t.coordinate,a=(n=(o=l+!h*f)-b*m)-b*v,i=g;break;case"left":n=o=t.coordinate,i=(e=(r=u+!h*s)-b*m)-b*v,a=g;break;case"right":n=o=t.coordinate,i=(e=(r=u+h*s)+b*m)+b*v,a=g;break;default:e=r=t.coordinate,a=(n=(o=l+h*f)+b*m)+b*v,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,o=t.width,i=t.height,a=t.orientation,l=t.mirror,s=t.axisLine,f=j(j(j({},(0,h.J9)(this.props,!1)),(0,h.J9)(s,!1)),{},{fill:"none"});if("top"===a||"bottom"===a){var p=+("top"===a&&!l||"bottom"===a&&l);f=j(j({},f),{},{x1:e,y1:r+p*i,x2:e+o,y2:r+p*i})}else{var y=+("left"===a&&!l||"right"===a&&l);f=j(j({},f),{},{x1:e+y*o,y1:r,x2:e+y*o,y2:r+i})}return n.createElement("line",x({},f,{className:(0,u.A)("recharts-cartesian-axis-line",c()(s,"className"))}))}},{key:"renderTicks",value:function(t,e,r){var a=this,l=this.props,f=l.tickLine,p=l.stroke,y=l.tick,b=l.tickFormatter,m=l.unit,g=(0,v.f)(j(j({},this.props),{},{ticks:t}),e,r),O=this.getTickTextAnchor(),w=this.getTickVerticalAnchor(),S=(0,h.J9)(this.props,!1),P=(0,h.J9)(y,!1),A=j(j({},S),{},{fill:"none"},(0,h.J9)(f,!1)),E=g.map(function(t,e){var r=a.getTickLineCoord(t),l=r.line,h=r.tick,v=j(j(j(j({textAnchor:O,verticalAnchor:w},S),{},{stroke:"none",fill:p},P),h),{},{index:e,payload:t,visibleTicksCount:g.length,tickFormatter:b});return n.createElement(s.W,x({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},(0,d.XC)(a.props,t,e)),f&&n.createElement("line",x({},A,l,{className:(0,u.A)("recharts-cartesian-axis-tick-line",c()(f,"className"))})),y&&o.renderTickItem(y,v,"".concat(i()(b)?b(t.value,e):t.value).concat(m||"")))});return n.createElement("g",{className:"recharts-cartesian-axis-ticks"},E)}},{key:"render",value:function(){var t=this,e=this.props,r=e.axisLine,o=e.width,a=e.height,c=e.ticksGenerator,l=e.className;if(e.hide)return null;var f=this.props,y=f.ticks,d=S(f,g),h=y;return(i()(c)&&(h=c(y&&y.length>0?this.props:d)),o<=0||a<=0||!h||!h.length)?null:n.createElement(s.W,{className:(0,u.A)("recharts-cartesian-axis",l),ref:function(e){t.layerReference=e}},r&&this.renderAxisLine(),this.renderTicks(h,this.state.fontSize,this.state.letterSpacing),p.J.renderCallByParent(this.props))}}],r=[{key:"renderTickItem",value:function(t,e,r){return n.isValidElement(t)?n.cloneElement(t,e):i()(t)?t(e):n.createElement(f.E,x({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],e&&P(o.prototype,e),r&&P(o,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(n.Component);T(I,"displayName","CartesianAxis"),T(I,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"})},30312: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""}},30773:(t,e,r)=>{var n=r(93064),o=r(74989),i=r(57800),a=r(4291),c=1/0,u=n?n.prototype:void 0,l=u?u.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return l?l.call(e):"";var r=e+"";return"0"==r&&1/e==-c?"-0":r}},31012:(t,e,r)=>{"use strict";r.d(e,{J:()=>y,M:()=>h});var n=r(91356),o=r(28900),i=r(16774),a=r(19286);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(){return(u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var p=function(t,e,r,n,o){var i,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),c=n>=0?1:-1,u=r>=0?1:-1,l=+(n>=0&&r>=0||n<0&&r<0);if(a>0&&o instanceof Array){for(var s=[0,0,0,0],f=0;f<4;f++)s[f]=o[f]>a?a:o[f];i="M".concat(t,",").concat(e+c*s[0]),s[0]>0&&(i+="A ".concat(s[0],",").concat(s[0],",0,0,").concat(l,",").concat(t+u*s[0],",").concat(e)),i+="L ".concat(t+r-u*s[1],",").concat(e),s[1]>0&&(i+="A ".concat(s[1],",").concat(s[1],",0,0,").concat(l,",\n ").concat(t+r,",").concat(e+c*s[1])),i+="L ".concat(t+r,",").concat(e+n-c*s[2]),s[2]>0&&(i+="A ".concat(s[2],",").concat(s[2],",0,0,").concat(l,",\n ").concat(t+r-u*s[2],",").concat(e+n)),i+="L ".concat(t+u*s[3],",").concat(e+n),s[3]>0&&(i+="A ".concat(s[3],",").concat(s[3],",0,0,").concat(l,",\n ").concat(t,",").concat(e+n-c*s[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(l,",").concat(t+u*p,",").concat(e,"\n L ").concat(t+r-u*p,",").concat(e,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").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(l,",").concat(t+r-u*p,",").concat(e+n,"\n L ").concat(t+u*p,",").concat(e+n,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").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},y=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 u=Math.min(o,o+a),l=Math.max(o,o+a),s=Math.min(i,i+c),f=Math.max(i,i+c);return r>=u&&r<=l&&n>=s&&n<=f}return!1},d={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},h=function(t){var e,r=f(f({},d),t),c=(0,n.useRef)(),s=function(t){if(Array.isArray(t))return t}(e=(0,n.useState)(-1))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,o,i,a=[],c=!0,u=!1;try{o=(e=e.call(t)).next,!1;for(;!(c=(r=o.call(e)).done)&&(a.push(r.value),2!==a.length);c=!0);}catch(t){u=!0,n=t}finally{try{if(!c&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(u)throw n}}return a}}(e)||function(t){if(t){if("string"==typeof t)return l(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return l(t,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),y=s[0],h=s[1];(0,n.useEffect)(function(){if(c.current&&c.current.getTotalLength)try{var t=c.current.getTotalLength();t&&h(t)}catch(t){}},[]);var v=r.x,b=r.y,m=r.width,g=r.height,O=r.radius,x=r.className,w=r.animationEasing,j=r.animationDuration,S=r.animationBegin,P=r.isAnimationActive,A=r.isUpdateAnimationActive;if(v!==+v||b!==+b||m!==+m||g!==+g||0===m||0===g)return null;var E=(0,o.A)("recharts-rectangle",x);return A?n.createElement(i.Ay,{canBegin:y>0,from:{width:m,height:g,x:v,y:b},to:{width:m,height:g,x:v,y:b},duration:j,animationEasing:w,isActive:A},function(t){var e=t.width,o=t.height,l=t.x,s=t.y;return n.createElement(i.Ay,{canBegin:y>0,from:"0px ".concat(-1===y?1:y,"px"),to:"".concat(y,"px 0px"),attributeName:"strokeDasharray",begin:S,duration:j,isActive:P,easing:w},n.createElement("path",u({},(0,a.J9)(r,!0),{className:E,d:p(l,s,e,o,O),ref:c})))}):n.createElement("path",u({},(0,a.J9)(r,!0),{className:E,d:p(v,b,m,g,O)}))}},31376:(t,e,r)=>{"use strict";r.d(e,{d:()=>M});var n=r(91356),o=r(42971),i=r.n(o),a=r(64621),c=r(49943),u=r(19286),l=r(3193),s=r(10485),f=r(30185),p=r(70232),y=["x1","y1","x2","y2","key"],d=["offset"];function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function b(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?v(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=h(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=h(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==h(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function m(){return(m=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function g(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var O=function(t){var e=t.fill;if(!e||"none"===e)return null;var r=t.fillOpacity,o=t.x,i=t.y,a=t.width,c=t.height,u=t.ry;return n.createElement("rect",{x:o,y:i,ry:u,width:a,height:c,stroke:"none",fill:e,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function x(t,e){var r;if(n.isValidElement(t))r=n.cloneElement(t,e);else if(i()(t))r=t(e);else{var o=e.x1,a=e.y1,c=e.x2,l=e.y2,s=e.key,f=g(e,y),p=(0,u.J9)(f,!1),h=(p.offset,g(p,d));r=n.createElement("line",m({},h,{x1:o,y1:a,x2:c,y2:l,fill:"none",key:s}))}return r}function w(t){var e=t.x,r=t.width,o=t.horizontal,i=void 0===o||o,a=t.horizontalPoints;if(!i||!a||!a.length)return null;var c=a.map(function(n,o){return x(i,b(b({},t),{},{x1:e,y1:n,x2:e+r,y2:n,key:"line-".concat(o),index:o}))});return n.createElement("g",{className:"recharts-cartesian-grid-horizontal"},c)}function j(t){var e=t.y,r=t.height,o=t.vertical,i=void 0===o||o,a=t.verticalPoints;if(!i||!a||!a.length)return null;var c=a.map(function(n,o){return x(i,b(b({},t),{},{x1:n,y1:e,x2:n,y2:e+r,key:"line-".concat(o),index:o}))});return n.createElement("g",{className:"recharts-cartesian-grid-vertical"},c)}function S(t){var e=t.horizontalFill,r=t.fillOpacity,o=t.x,i=t.y,a=t.width,c=t.height,u=t.horizontalPoints,l=t.horizontal;if(!(void 0===l||l)||!e||!e.length)return null;var s=u.map(function(t){return Math.round(t+i-i)}).sort(function(t,e){return t-e});i!==s[0]&&s.unshift(0);var f=s.map(function(t,u){var l=s[u+1]?s[u+1]-t:i+c-t;if(l<=0)return null;var f=u%e.length;return n.createElement("rect",{key:"react-".concat(u),y:t,x:o,height:l,width:a,stroke:"none",fill:e[f],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return n.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},f)}function P(t){var e=t.vertical,r=t.verticalFill,o=t.fillOpacity,i=t.x,a=t.y,c=t.width,u=t.height,l=t.verticalPoints;if(!(void 0===e||e)||!r||!r.length)return null;var s=l.map(function(t){return Math.round(t+i-i)}).sort(function(t,e){return t-e});i!==s[0]&&s.unshift(0);var f=s.map(function(t,e){var l=s[e+1]?s[e+1]-t:i+c-t;if(l<=0)return null;var f=e%r.length;return n.createElement("rect",{key:"react-".concat(e),x:t,y:a,width:l,height:u,stroke:"none",fill:r[f],fillOpacity:o,className:"recharts-cartesian-grid-bg"})});return n.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},f)}var A=function(t,e){var r=t.xAxis,n=t.width,o=t.height,i=t.offset;return(0,l.PW)((0,s.f)(b(b(b({},f.u.defaultProps),r),{},{ticks:(0,l.Rh)(r,!0),viewBox:{x:0,y:0,width:n,height:o}})),i.left,i.left+i.width,e)},E=function(t,e){var r=t.yAxis,n=t.width,o=t.height,i=t.offset;return(0,l.PW)((0,s.f)(b(b(b({},f.u.defaultProps),r),{},{ticks:(0,l.Rh)(r,!0),viewBox:{x:0,y:0,width:n,height:o}})),i.top,i.top+i.height,e)},k=[],T=[];function M(t){var e,r,o,u,l,s,f=(0,p.yi)(),y=(0,p.rY)(),d=(0,p.hj)(),v=b(b({},t),{},{stroke:null!=(e=t.stroke)?e:"#ccc",fill:null!=(r=t.fill)?r:"none",horizontal:null==(o=t.horizontal)||o,horizontalFill:null!=(u=t.horizontalFill)?u:T,vertical:null==(l=t.vertical)||l,verticalFill:null!=(s=t.verticalFill)?s:k,x:(0,c.Et)(t.x)?t.x:d.left,y:(0,c.Et)(t.y)?t.y:d.top,width:(0,c.Et)(t.width)?t.width:d.width,height:(0,c.Et)(t.height)?t.height:d.height}),g=v.x,x=v.y,M=v.width,I=v.height,C=v.syncWithTicks,D=v.horizontalValues,_=v.verticalValues,N=(0,p.pj)(),B=(0,p.$G)();if(!(0,c.Et)(M)||M<=0||!(0,c.Et)(I)||I<=0||!(0,c.Et)(g)||g!==+g||!(0,c.Et)(x)||x!==+x)return null;var R=v.verticalCoordinatesGenerator||A,L=v.horizontalCoordinatesGenerator||E,z=v.horizontalPoints,W=v.verticalPoints;if((!z||!z.length)&&i()(L)){var U=D&&D.length,F=L({yAxis:B?b(b({},B),{},{ticks:U?D:B.ticks}):void 0,width:f,height:y,offset:d},!!U||C);(0,a.R)(Array.isArray(F),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(h(F),"]")),Array.isArray(F)&&(z=F)}if((!W||!W.length)&&i()(R)){var X=_&&_.length,G=R({xAxis:N?b(b({},N),{},{ticks:X?_:N.ticks}):void 0,width:f,height:y,offset:d},!!X||C);(0,a.R)(Array.isArray(G),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(h(G),"]")),Array.isArray(G)&&(W=G)}return n.createElement("g",{className:"recharts-cartesian-grid"},n.createElement(O,{fill:v.fill,fillOpacity:v.fillOpacity,x:v.x,y:v.y,width:v.width,height:v.height,ry:v.ry}),n.createElement(w,m({},v,{offset:d,horizontalPoints:z,xAxis:N,yAxis:B})),n.createElement(j,m({},v,{offset:d,verticalPoints:W,xAxis:N,yAxis:B})),n.createElement(S,m({},v,{horizontalPoints:z})),n.createElement(P,m({},v,{verticalPoints:W})))}M.displayName="CartesianGrid"},31393: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}},31504:(t,e,r)=>{var n=r(19258),o=r(37148),i=r(27760),a=Math.max;t.exports=function(t,e,r){var c=null==t?0:t.length;if(!c)return -1;var u=null==r?0:i(r);return u<0&&(u=a(c+u,0)),n(t,o(e,3),u)}},31515:(t,e,r)=>{var n=r(28566),o=r(7678),i=r(24073);t.exports=function(t){return t&&t.length?n(t,i,o):void 0}},31614:(t,e,r)=>{var n=r(90057),o=r(57800),i=r(97171);t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&"[object String]"==n(t)}},31770:(t,e,r)=>{"use strict";r.d(e,{W:()=>u});var n=r(91356),o=r(28900),i=r(19286),a=["children","className"];function c(){return(c=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var u=n.forwardRef(function(t,e){var r=t.children,u=t.className,l=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,a),s=(0,o.A)("recharts-layer",u);return n.createElement("g",c({className:s},(0,i.J9)(l,!0),{ref:e}),r)})},33251:(t,e)=>{"use strict";var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),l=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),d=Symbol.for("react.lazy");Symbol.for("react.offscreen");Symbol.for("react.module.reference"),e.isFragment=function(t){return function(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case o:case a:case i:case f:case p:return t;default:switch(t=t&&t.$$typeof){case l:case u:case s:case d:case y:case c:return t;default:return e}}case n:return e}}}(t)===o}},33931:(t,e,r)=>{var n=r(93064),o=r(66829),i=r(83281),a=r(29750),c=r(50132),u=r(50054),l=n?n.prototype:void 0,s=l?l.valueOf:void 0;t.exports=function(t,e,r,n,l,f,p){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":if(t.byteLength!=e.byteLength||!f(new o(t),new o(e)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var y=c;case"[object Set]":var d=1&n;if(y||(y=u),t.size!=e.size&&!d)break;var h=p.get(t);if(h)return h==e;n|=2,p.set(t,e);var v=a(y(t),y(e),n,l,f,p);return p.delete(t),v;case"[object Symbol]":if(s)return s.call(t)==s.call(e)}return!1}},34478:(t,e,r)=>{t.exports=r(73135)(r(94836),"WeakMap")},34840:(t,e,r)=>{"use strict";r.d(e,{s:()=>c});var n=r(87599),o=r.n(n),i=r(42971),a=r.n(i);function c(t,e,r){return!0===e?o()(t,r):a()(e)?o()(t,e):t}},35019:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(43200).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},35263:(t,e,r)=>{var n=r(84009),o=r(45111),i=r(93200),a=r(92612),c=r(24172);function u(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])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,t.exports=u},35782:(t,e,r)=>{var n=r(47028),o=r(76516),i=r(43744),a=i&&i.isTypedArray;t.exports=a?o(a):n},37148:(t,e,r)=>{var n=r(40694),o=r(26155),i=r(24073),a=r(57800),c=r(95950);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)}},37629:(t,e,r)=>{var n=r(94993),o=r(13744),i=r(37148);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}},37752:t=>{t.exports=function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}},37760:t=>{t.exports=function(t){return this.__data__.has(t)}},38446:(t,e,r)=>{t.exports=r(73135)(r(94836),"Map")},38683:(t,e,r)=>{t.exports=r(96326)(Object.keys,Object)},39428:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},39552:(t,e,r)=>{var n=r(66654),o=r(65125),i=r(65675),a=r(47668),c=r(37760),u=r(26520);function l(t){var e=this.__data__=new n(t);this.size=e.size}l.prototype.clear=o,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=c,l.prototype.set=u,t.exports=l},39986:(t,e,r)=>{var n=r(87300),o=r(5208),i=r(37148),a=r(57800),c=r(56681);t.exports=function(t,e,r){var u=a(t)?n:o;return r&&c(t,e,r)&&(e=void 0),u(t,i(e,3))}},40248:(t,e,r)=>{t.exports=r(94836)["__core-js_shared__"]},40694:(t,e,r)=>{var n=r(57222),o=r(29889),i=r(86972);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)}}},41049:t=>{var e=/\s/;t.exports=function(t){for(var r=t.length;r--&&e.test(t.charAt(r)););return r}},41142:t=>{t.exports=function(t){return t!=t}},41886: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}},42464: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}},42606: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),u=Array(c);c--;)u[i?c:++a]=t,t+=o;return u}},42971:(t,e,r)=>{var n=r(90057),o=r(75124);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}},43164:(t,e,r)=>{var n=r(67637),o=r(38446),i=r(99509),a=r(68744),c=r(34478),u=r(90057),l=r(30312),s="[object Map]",f="[object Promise]",p="[object Set]",y="[object WeakMap]",d="[object DataView]",h=l(n),v=l(o),b=l(i),m=l(a),g=l(c),O=u;(n&&O(new n(new ArrayBuffer(1)))!=d||o&&O(new o)!=s||i&&O(i.resolve())!=f||a&&O(new a)!=p||c&&O(new c)!=y)&&(O=function(t){var e=u(t),r="[object Object]"==e?t.constructor:void 0,n=r?l(r):"";if(n)switch(n){case h:return d;case v:return s;case b:return f;case m:return p;case g:return y}return e}),t.exports=O},43569:(t,e,r)=>{"use strict";var n=r(23358);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,r,o,i,a){if(a!==n){var c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function e(){return t}t.isRequired=t;var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},43584:(t,e,r)=>{var n=r(86163),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,a,c){var u=1&r,l=n(t),s=l.length;if(s!=n(e).length&&!u)return!1;for(var f=s;f--;){var p=l[f];if(!(u?p in e:o.call(e,p)))return!1}var y=c.get(t),d=c.get(e);if(y&&d)return y==e&&d==t;var h=!0;c.set(t,e),c.set(e,t);for(var v=u;++f<s;){var b=t[p=l[f]],m=e[p];if(i)var g=u?i(m,b,p,e,t,c):i(b,m,p,t,e,c);if(!(void 0===g?b===m||a(b,m,r,i,c):g)){h=!1;break}v||(v="constructor"==p)}if(h&&!v){var O=t.constructor,x=e.constructor;O!=x&&"constructor"in t&&"constructor"in e&&!("function"==typeof O&&O instanceof O&&"function"==typeof x&&x instanceof x)&&(h=!1)}return c.delete(t),c.delete(e),h}},43676:(t,e,r)=>{var n=r(75124),o=r(81309),i=r(80383),a=Math.max,c=Math.min;t.exports=function(t,e,r){var u,l,s,f,p,y,d=0,h=!1,v=!1,b=!0;if("function"!=typeof t)throw TypeError("Expected a function");function m(e){var r=u,n=l;return u=l=void 0,d=e,f=t.apply(n,r)}function g(t){var r=t-y,n=t-d;return void 0===y||r>=e||r<0||v&&n>=s}function O(){var t,r,n,i=o();if(g(i))return x(i);p=setTimeout(O,(t=i-y,r=i-d,n=e-t,v?c(n,s-r):n))}function x(t){return(p=void 0,b&&u)?m(t):(u=l=void 0,f)}function w(){var t,r=o(),n=g(r);if(u=arguments,l=this,y=r,n){if(void 0===p)return d=t=y,p=setTimeout(O,e),h?m(t):f;if(v)return clearTimeout(p),p=setTimeout(O,e),m(y)}return void 0===p&&(p=setTimeout(O,e)),f}return e=i(e)||0,n(r)&&(h=!!r.leading,s=(v="maxWait"in r)?a(i(r.maxWait)||0,e):s,b="trailing"in r?!!r.trailing:b),w.cancel=function(){void 0!==p&&clearTimeout(p),d=0,u=y=l=p=void 0},w.flush=function(){return void 0===p?f:x(o())},w}},43744:(t,e,r)=>{t=r.nmd(t);var n=r(64225),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&n.process,c=function(){try{var t=i&&i.require&&i.require("util").types;if(t)return t;return a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=c},45100:(t,e,r)=>{var n=r(54362);t.exports=function(t,e){return!!(null==t?0:t.length)&&n(t,e,0)>-1}},45111:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e}},45412:(t,e,r)=>{"use strict";r.d(e,{bD:()=>M});let{getOwnPropertyNames:n,getOwnPropertySymbols:o}=Object,{hasOwnProperty:i}=Object.prototype;function a(t,e){return function(r,n,o){return t(r,n,o)&&e(r,n,o)}}function c(t){return function(e,r,n){if(!e||!r||"object"!=typeof e||"object"!=typeof r)return t(e,r,n);let{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);let c=t(e,r,n);return o.delete(e),o.delete(r),c}}function u(t){return n(t).concat(o(t))}let l=Object.hasOwn||((t,e)=>i.call(t,e));function s(t,e){return t===e||!t&&!e&&t!=t&&e!=e}let{getOwnPropertyDescriptor:f,keys:p}=Object;function y(t,e){return t.byteLength===e.byteLength&&P(new Uint8Array(t),new Uint8Array(e))}function d(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 h(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 v(t,e){return s(t.getTime(),e.getTime())}function b(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function m(t,e){return t===e}function g(t,e,r){let n,o,i=t.size;if(i!==e.size)return!1;if(!i)return!0;let a=Array(i),c=t.entries(),u=0;for(;(n=c.next())&&!n.done;){let i=e.entries(),c=!1,l=0;for(;(o=i.next())&&!o.done;){if(a[l]){l++;continue}let i=n.value,s=o.value;if(r.equals(i[0],s[0],u,l,t,e,r)&&r.equals(i[1],s[1],i[0],s[0],t,e,r)){c=a[l]=!0;break}l++}if(!c)return!1;u++}return!0}function O(t,e,r){let n=p(t),o=n.length;if(p(e).length!==o)return!1;for(;o-- >0;)if(!E(t,e,r,n[o]))return!1;return!0}function x(t,e,r){let n,o,i,a=u(t),c=a.length;if(u(e).length!==c)return!1;for(;c-- >0;)if(!E(t,e,r,n=a[c])||(o=f(t,n),i=f(e,n),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable)))return!1;return!0}function w(t,e){return s(t.valueOf(),e.valueOf())}function j(t,e){return t.source===e.source&&t.flags===e.flags}function S(t,e,r){let n,o,i=t.size;if(i!==e.size)return!1;if(!i)return!0;let a=Array(i),c=t.values();for(;(n=c.next())&&!n.done;){let i=e.values(),c=!1,u=0;for(;(o=i.next())&&!o.done;){if(!a[u]&&r.equals(n.value,o.value,n.value,o.value,t,e,r)){c=a[u]=!0;break}u++}if(!c)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 A(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 E(t,e,r,n){return("_owner"===n||"__o"===n||"__v"===n)&&(!!t.$$typeof||!!e.$$typeof)||l(e,n)&&r.equals(t[n],e[n],n,n,t,e,r)}let k={"[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},T=Object.prototype.toString,M=I();function I(t={}){let{circular:e=!1,createInternalComparator:r,createState:n,strict:o=!1}=t,i=function({areArrayBuffersEqual:t,areArraysEqual:e,areDataViewsEqual:r,areDatesEqual:n,areErrorsEqual:o,areFunctionsEqual:i,areMapsEqual:a,areNumbersEqual:c,areObjectsEqual:u,arePrimitiveWrappersEqual:l,areRegExpsEqual:s,areSetsEqual:f,areTypedArraysEqual:p,areUrlsEqual:y,unknownTagComparators:d}){return function(h,v,b){if(h===v)return!0;if(null==h||null==v)return!1;let m=typeof h;if(m!==typeof v)return!1;if("object"!==m)return"number"===m?c(h,v,b):"function"===m&&i(h,v,b);let g=h.constructor;if(g!==v.constructor)return!1;if(g===Object)return u(h,v,b);if(Array.isArray(h))return e(h,v,b);if(g===Date)return n(h,v,b);if(g===RegExp)return s(h,v,b);if(g===Map)return a(h,v,b);if(g===Set)return f(h,v,b);let O=T.call(h);if("[object Date]"===O)return n(h,v,b);if("[object RegExp]"===O)return s(h,v,b);if("[object Map]"===O)return a(h,v,b);if("[object Set]"===O)return f(h,v,b);if("[object Object]"===O)return"function"!=typeof h.then&&"function"!=typeof v.then&&u(h,v,b);if("[object URL]"===O)return y(h,v,b);if("[object Error]"===O)return o(h,v,b);if("[object Arguments]"===O)return u(h,v,b);if(k[O])return p(h,v,b);if("[object ArrayBuffer]"===O)return t(h,v,b);if("[object DataView]"===O)return r(h,v,b);if("[object Boolean]"===O||"[object Number]"===O||"[object String]"===O)return l(h,v,b);if(d){let t=d[O];if(!t){let e=null!=h?h[Symbol.toStringTag]:void 0;e&&(t=d[e])}if(t)return t(h,v,b)}return!1}}(function({circular:t,createCustomConfig:e,strict:r}){let n={areArrayBuffersEqual:y,areArraysEqual:r?x:d,areDataViewsEqual:h,areDatesEqual:v,areErrorsEqual:b,areFunctionsEqual:m,areMapsEqual:r?a(g,x):g,areNumbersEqual:s,areObjectsEqual:r?x:O,arePrimitiveWrappersEqual:w,areRegExpsEqual:j,areSetsEqual:r?a(S,x):S,areTypedArraysEqual:r?a(P,x):P,areUrlsEqual:A,unknownTagComparators:void 0};if(e&&(n=Object.assign({},n,e(n))),t){let t=c(n.areArraysEqual),e=c(n.areMapsEqual),r=c(n.areObjectsEqual),o=c(n.areSetsEqual);n=Object.assign({},n,{areArraysEqual:t,areMapsEqual:e,areObjectsEqual:r,areSetsEqual:o})}return n}(t)),u=r?r(i):function(t,e,r,n,o,a,c){return i(t,e,c)};return function({circular:t,comparator:e,createState:r,equals:n,strict:o}){if(r)return function(i,a){let{cache:c=t?new WeakMap:void 0,meta:u}=r();return e(i,a,{cache:c,equals:n,meta:u,strict:o})};if(t)return function(t,r){return e(t,r,{cache:new WeakMap,equals:n,meta:void 0,strict:o})};let i={cache:void 0,equals:n,meta:void 0,strict:o};return function(t,r){return e(t,r,i)}}({circular:e,comparator:i,createState:n,equals:u,strict:o})}I({strict:!0}),I({circular:!0}),I({circular:!0,strict:!0}),I({createInternalComparator:()=>s}),I({strict:!0,createInternalComparator:()=>s}),I({circular:!0,createInternalComparator:()=>s}),I({circular:!0,createInternalComparator:()=>s,strict:!0})},45582:t=>{t.exports=function(){return!1}},46200:(t,e,r)=>{t.exports=r(25772)()},47028:(t,e,r)=>{var n=r(90057),o=r(23167),i=r(97171),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)]}},47189:(t,e,r)=>{var n=r(75124);t.exports=function(t){return t==t&&!n(t)}},47341:(t,e,r)=>{var n=r(42606),o=r(56681),i=r(77129);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)}}},47620:(t,e,r)=>{"use strict";r.d(e,{E:()=>R});var n=r(91356),o=r(23258),i=r.n(o),a=r(28900),c=r(49943),u=r(99717),l=r(19286),s=r(61219);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return y(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function d(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:e+""}(n.key),n)}}var h=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,v=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,b=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,m=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,g={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},O=Object.keys(g),x=function(){var t,e;function r(t,e){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");this.num=t,this.unit=e,this.num=t,this.unit=e,Number.isNaN(t)&&(this.unit=""),""===e||b.test(e)||(this.num=NaN,this.unit=""),O.includes(e)&&(this.num=t*g[e],this.unit="px")}return t=[{key:"add",value:function(t){return this.unit!==t.unit?new r(NaN,""):new r(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new r(NaN,""):new r(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new r(NaN,""):new r(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new r(NaN,""):new r(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],e=[{key:"parse",value:function(t){var e,n=p(null!=(e=m.exec(t))?e:[],3),o=n[1],i=n[2];return new r(parseFloat(o),null!=i?i:"")}}],t&&d(r.prototype,t),e&&d(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();function w(t){if(t.includes("NaN"))return"NaN";for(var e=t;e.includes("*")||e.includes("/");){var r,n=p(null!=(r=h.exec(e))?r:[],4),o=n[1],i=n[2],a=n[3],c=x.parse(null!=o?o:""),u=x.parse(null!=a?a:""),l="*"===i?c.multiply(u):c.divide(u);if(l.isNaN())return"NaN";e=e.replace(h,l.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var s,f=p(null!=(s=v.exec(e))?s:[],4),y=f[1],d=f[2],b=f[3],m=x.parse(null!=y?y:""),g=x.parse(null!=b?b:""),O="+"===d?m.add(g):m.subtract(g);if(O.isNaN())return"NaN";e=e.replace(v,O.toString())}return e}var j=/\(([^()]*)\)/;function S(t){var e=function(t){try{var e;return e=t.replace(/\s+/g,""),e=function(t){for(var e=t;e.includes("(");){var r=p(j.exec(e),2)[1];e=e.replace(j,w(r))}return e}(e),e=w(e)}catch(t){return"NaN"}}(t.slice(5,-1));return"NaN"===e?"":e}var P=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],A=["dx","dy","angle","className","breakAll"];function E(){return(E=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function k(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function T(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return M(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return M(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var I=/[ \f\n\r\t\v\u2028\u2029]+/,C=function(t){var e=t.children,r=t.breakAll,n=t.style;try{var o=[];i()(e)||(o=r?e.toString().split(""):e.toString().split(I));var a=o.map(function(t){return{word:t,width:(0,s.Pu)(t,n).width}}),c=r?0:(0,s.Pu)("\xa0",n).width;return{wordsWithComputedWidth:a,spaceWidth:c}}catch(t){return null}},D=function(t,e,r,n,o){var i,a=t.maxLines,u=t.children,l=t.style,s=t.breakAll,f=(0,c.Et)(a),p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.reduce(function(t,e){var i=e.word,a=e.width,c=t[t.length-1];return c&&(null==n||o||c.width+a+r<Number(n))?(c.words.push(i),c.width+=a+r):t.push({words:[i],width:a}),t},[])},y=p(e);if(!f)return y;for(var d=function(t){var e=p(C({breakAll:s,style:l,children:u.slice(0,t)+"…"}).wordsWithComputedWidth);return[e.length>a||e.reduce(function(t,e){return t.width>e.width?t:e}).width>Number(n),e]},h=0,v=u.length-1,b=0;h<=v&&b<=u.length-1;){var m=Math.floor((h+v)/2),g=T(d(m-1),2),O=g[0],x=g[1],w=T(d(m),1)[0];if(O||w||(h=m+1),O&&w&&(v=m-1),!O&&w){i=x;break}b++}return i||y},_=function(t){return[{words:i()(t)?[]:t.toString().split(I)}]},N=function(t){var e=t.width,r=t.scaleToFit,n=t.children,o=t.style,i=t.breakAll,a=t.maxLines;if((e||r)&&!u.m.isSsr){var c=C({breakAll:i,children:n,style:o});if(!c)return _(n);var l=c.wordsWithComputedWidth,s=c.spaceWidth;return D({breakAll:i,children:n,maxLines:a,style:o},l,s,e,r)}return _(n)},B="#808080",R=function(t){var e,r=t.x,o=void 0===r?0:r,i=t.y,u=void 0===i?0:i,s=t.lineHeight,f=void 0===s?"1em":s,p=t.capHeight,y=void 0===p?"0.71em":p,d=t.scaleToFit,h=void 0!==d&&d,v=t.textAnchor,b=t.verticalAnchor,m=t.fill,g=void 0===m?B:m,O=k(t,P),x=(0,n.useMemo)(function(){return N({breakAll:O.breakAll,children:O.children,maxLines:O.maxLines,scaleToFit:h,style:O.style,width:O.width})},[O.breakAll,O.children,O.maxLines,h,O.style,O.width]),w=O.dx,j=O.dy,T=O.angle,M=O.className,I=O.breakAll,C=k(O,A);if(!(0,c.vh)(o)||!(0,c.vh)(u))return null;var D=o+((0,c.Et)(w)?w:0),_=u+((0,c.Et)(j)?j:0);switch(void 0===b?"end":b){case"start":e=S("calc(".concat(y,")"));break;case"middle":e=S("calc(".concat((x.length-1)/2," * -").concat(f," + (").concat(y," / 2))"));break;default:e=S("calc(".concat(x.length-1," * -").concat(f,")"))}var R=[];if(h){var L=x[0].width,z=O.width;R.push("scale(".concat(((0,c.Et)(z)?z/L:1)/L,")"))}return T&&R.push("rotate(".concat(T,", ").concat(D,", ").concat(_,")")),R.length&&(C.transform=R.join(" ")),n.createElement("text",E({},(0,l.J9)(C,!0),{x:D,y:_,className:(0,a.A)("recharts-text",M),textAnchor:void 0===v?"start":v,fill:g.includes("url")?B:g}),x.map(function(t,r){var o=t.words.join(I?"":" ");return n.createElement("tspan",{x:D,dy:0===r?e:f,key:"".concat(o,"-").concat(r)},o)}))}},47644:(t,e,r)=>{var n=r(29337),o=r(53447),i=r(62016),a=r(77780),c=r(90044);function u(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])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,t.exports=u},47668:t=>{t.exports=function(t){return this.__data__.get(t)}},47703:t=>{t.exports=function(){}},47809:(t,e,r)=>{var n=r(5800),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)}},48601:(t,e,r)=>{var n=r(47644);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var 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},48737:(t,e,r)=>{var n=r(31393),o=r(97194);t.exports=function t(e,r,i,a,c){var u=-1,l=e.length;for(i||(i=o),c||(c=[]);++u<l;){var s=e[u];r>0&&i(s)?r>1?t(s,r-1,i,a,c):n(c,s):a||(c[c.length]=s)}return c}},49071:(t,e,r)=>{t.exports=r(43569)()},49199:t=>{var e="\\ud800-\\udfff",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\\ud83c[\\udffb-\\udfff]",o="[^"+e+"]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+r+"|"+n+")?",u="[\\ufe0e\\ufe0f]?",l="(?:\\u200d(?:"+[o,i,a].join("|")+")"+u+c+")*",s=RegExp(n+"(?="+n+")|"+("(?:"+[o+r+"?",r,i,a,"["+e+"]"].join("|"))+")"+(u+c+l),"g");t.exports=function(t){return t.match(s)||[]}},49769:(t,e,r)=>{var n=r(1379),o=r(1816),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;t.exports=a?function(t){return null==t?[]:n(a(t=Object(t)),function(e){return i.call(t,e)})}:o},49787:(t,e,r)=>{"use strict";r.d(e,{QQ:()=>c,VU:()=>l,XC:()=>p,_U:()=>f,j2:()=>s});var n=r(91356),o=r(75124),i=r.n(o);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var c=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],u=["points","pathLength"],l={svg:["viewBox","children"],polygon:u,polyline:u},s=["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","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],f=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if((0,n.isValidElement)(t)&&(r=t.props),!i()(r))return null;var o={};return Object.keys(r).forEach(function(t){s.includes(t)&&(o[t]=e||function(e){return r[t](r,e)})}),o},p=function(t,e,r){if(!i()(t)||"object"!==a(t))return null;var n=null;return Object.keys(t).forEach(function(o){var i=t[o];s.includes(o)&&"function"==typeof i&&(n||(n={}),n[o]=function(t){return i(e,r,t),null})}),n}},49943:(t,e,r)=>{"use strict";r.d(e,{CG:()=>g,Dj:()=>O,Et:()=>y,F4:()=>b,NF:()=>v,_3:()=>p,eP:()=>x,lX:()=>m,sA:()=>f,vh:()=>d});var n=r(31614),o=r.n(n),i=r(58916),a=r.n(i),c=r(99645),u=r.n(c),l=r(56006),s=r.n(l),f=function(t){return 0===t?0:t>0?1:-1},p=function(t){return o()(t)&&t.indexOf("%")===t.length-1},y=function(t){return s()(t)&&!a()(t)},d=function(t){return y(t)||o()(t)},h=0,v=function(t){var e=++h;return"".concat(t||"").concat(e)},b=function(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!y(t)&&!o()(t))return n;if(p(t)){var c=t.indexOf("%");r=e*parseFloat(t.slice(0,c))/100}else r=+t;return a()(r)&&(r=n),i&&r>e&&(r=e),r},m=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},g=function(t){if(!Array.isArray(t))return!1;for(var e=t.length,r={},n=0;n<e;n++)if(r[t[n]])return!0;else r[t[n]]=!0;return!1},O=function(t,e){return y(t)&&y(e)?function(r){return t+r*(e-t)}:function(){return e}};function x(t,e,r){return t&&t.length?t.find(function(t){return t&&("function"==typeof e?e(t):u()(t,e))===r}):null}},50054:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},50132:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}},50297:(t,e,r)=>{"use strict";r.d(e,{h:()=>v});var n=r(91356),o=r(28900),i=r(19286),a=r(84755),c=r(49943);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){return(l=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=u(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==u(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var p=function(t){var e=t.cx,r=t.cy,n=t.radius,o=t.angle,i=t.sign,c=t.isExternal,u=t.cornerRadius,l=t.cornerIsExternal,s=u*(c?1:-1)+n,f=Math.asin(u/s)/a.Kg,p=l?o:o+i*f;return{center:(0,a.IZ)(e,r,s,p),circleTangency:(0,a.IZ)(e,r,n,p),lineTangency:(0,a.IZ)(e,r,s*Math.cos(f*a.Kg),l?o-i*f:o),theta:f}},y=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.startAngle,u=t.endAngle,l=(0,c.sA)(u-i)*Math.min(Math.abs(u-i),359.999),s=i+l,f=(0,a.IZ)(e,r,o,i),p=(0,a.IZ)(e,r,o,s),y="M ".concat(f.x,",").concat(f.y,"\n A ").concat(o,",").concat(o,",0,\n ").concat(+(Math.abs(l)>180),",").concat(+(i>s),",\n ").concat(p.x,",").concat(p.y,"\n ");if(n>0){var d=(0,a.IZ)(e,r,n,i),h=(0,a.IZ)(e,r,n,s);y+="L ".concat(h.x,",").concat(h.y,"\n A ").concat(n,",").concat(n,",0,\n ").concat(+(Math.abs(l)>180),",").concat(+(i<=s),",\n ").concat(d.x,",").concat(d.y," Z")}else y+="L ".concat(e,",").concat(r," Z");return y},d=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.cornerRadius,a=t.forceCornerRadius,u=t.cornerIsExternal,l=t.startAngle,s=t.endAngle,f=(0,c.sA)(s-l),d=p({cx:e,cy:r,radius:o,angle:l,sign:f,cornerRadius:i,cornerIsExternal:u}),h=d.circleTangency,v=d.lineTangency,b=d.theta,m=p({cx:e,cy:r,radius:o,angle:s,sign:-f,cornerRadius:i,cornerIsExternal:u}),g=m.circleTangency,O=m.lineTangency,x=m.theta,w=u?Math.abs(l-s):Math.abs(l-s)-b-x;if(w<0)return a?"M ".concat(v.x,",").concat(v.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 "):y({cx:e,cy:r,innerRadius:n,outerRadius:o,startAngle:l,endAngle:s});var j="M ".concat(v.x,",").concat(v.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(h.x,",").concat(h.y,"\n A").concat(o,",").concat(o,",0,").concat(+(w>180),",").concat(+(f<0),",").concat(g.x,",").concat(g.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(O.x,",").concat(O.y,"\n ");if(n>0){var S=p({cx:e,cy:r,radius:n,angle:l,sign:f,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),P=S.circleTangency,A=S.lineTangency,E=S.theta,k=p({cx:e,cy:r,radius:n,angle:s,sign:-f,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),T=k.circleTangency,M=k.lineTangency,I=k.theta,C=u?Math.abs(l-s):Math.abs(l-s)-E-I;if(C<0&&0===i)return"".concat(j,"L").concat(e,",").concat(r,"Z");j+="L".concat(M.x,",").concat(M.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(T.x,",").concat(T.y,"\n A").concat(n,",").concat(n,",0,").concat(+(C>180),",").concat(+(f>0),",").concat(P.x,",").concat(P.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(A.x,",").concat(A.y,"Z")}else j+="L".concat(e,",").concat(r,"Z");return j},h={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},v=function(t){var e,r=f(f({},h),t),a=r.cx,u=r.cy,s=r.innerRadius,p=r.outerRadius,v=r.cornerRadius,b=r.forceCornerRadius,m=r.cornerIsExternal,g=r.startAngle,O=r.endAngle,x=r.className;if(p<s||g===O)return null;var w=(0,o.A)("recharts-sector",x),j=p-s,S=(0,c.F4)(v,j,0,!0);return e=S>0&&360>Math.abs(g-O)?d({cx:a,cy:u,innerRadius:s,outerRadius:p,cornerRadius:Math.min(S,j/2),forceCornerRadius:b,cornerIsExternal:m,startAngle:g,endAngle:O}):y({cx:a,cy:u,innerRadius:s,outerRadius:p,startAngle:g,endAngle:O}),n.createElement("path",l({},(0,i.J9)(r,!0),{className:w,d:e,role:"img"}))}},51455:t=>{t.exports=function(){this.__data__=[],this.size=0}},51878:(t,e,r)=>{var n=r(72889),o=r(10245),i=r(57800),a=r(17897),c=r(12872),u=r(35782),l=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),s=!r&&o(t),f=!r&&!s&&a(t),p=!r&&!s&&!f&&u(t),y=r||s||f||p,d=y?n(t.length,String):[],h=d.length;for(var v in t)(e||l.call(t,v))&&!(y&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,h)))&&d.push(v);return d}},53447:(t,e,r)=>{var n=r(84138);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=!!e,e}},53596:(t,e,r)=>{var n=r(13744);t.exports=r(69088)(n)},54311:(t,e,r)=>{var n=r(37148),o=r(64407),i=r(67879);t.exports=function(t){return function(e,r,a){var c=Object(e);if(!o(e)){var u=n(r,3);e=i(e),r=function(t){return u(c[t],t,c)}}var l=t(e,r,a);return l>-1?c[u?e[l]:l]:void 0}}},54362:(t,e,r)=>{var n=r(19258),o=r(41142),i=r(41886);t.exports=function(t,e,r){return e==e?i(t,e,r):n(t,o,r)}},54666:(t,e,r)=>{var n=r(73135);t.exports=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},54691:(t,e,r)=>{var n=r(70281),o=r(37148),i=r(83109),a=r(57800),c=r(56681);t.exports=function(t,e,r){var u=a(t)?n:i;return r&&c(t,e,r)&&(e=void 0),u(t,o(e,3))}},55003:(t,e,r)=>{"use strict";r.d(e,{m:()=>F});var n=r(91356),o=r(19734),i=r.n(o),a=r(23258),c=r.n(a),u=r(28900),l=r(49943);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(){return(f=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function y(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?y(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function h(t){return Array.isArray(t)&&(0,l.vh)(t[0])&&(0,l.vh)(t[1])?t.join(" ~ "):t}var v=function(t){var e=t.separator,r=void 0===e?" : ":e,o=t.contentStyle,a=t.itemStyle,s=void 0===a?{}:a,y=t.labelStyle,v=t.payload,b=t.formatter,m=t.itemSorter,g=t.wrapperClassName,O=t.labelClassName,x=t.label,w=t.labelFormatter,j=t.accessibilityLayer,S=d({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},void 0===o?{}:o),P=d({margin:0},void 0===y?{}:y),A=!c()(x),E=A?x:"",k=(0,u.A)("recharts-default-tooltip",g),T=(0,u.A)("recharts-tooltip-label",O);return A&&w&&null!=v&&(E=w(x,v)),n.createElement("div",f({className:k,style:S},void 0!==j&&j?{role:"status","aria-live":"assertive"}:{}),n.createElement("p",{className:T,style:P},n.isValidElement(E)?E:"".concat(E)),function(){if(v&&v.length){var t=(m?i()(v,m):v).map(function(t,e){if("none"===t.type)return null;var o=d({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},s),i=t.formatter||b||h,a=t.value,c=t.name,u=a,f=c;if(i&&null!=u&&null!=f){var y=i(a,c,t,e,v);if(Array.isArray(y)){var m=function(t){if(Array.isArray(t))return t}(y)||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,o,i,a=[],c=!0,u=!1;try{o=(e=e.call(t)).next,!1;for(;!(c=(r=o.call(e)).done)&&(a.push(r.value),2!==a.length);c=!0);}catch(t){u=!0,n=t}finally{try{if(!c&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(u)throw n}}return a}}(y)||function(t){if(t){if("string"==typeof t)return p(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return p(t,2)}}(y)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();u=m[0],f=m[1]}else u=y}return n.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(e),style:o},(0,l.vh)(f)?n.createElement("span",{className:"recharts-tooltip-item-name"},f):null,(0,l.vh)(f)?n.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,n.createElement("span",{className:"recharts-tooltip-item-value"},u),n.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))});return n.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())};function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e,r){var n;return(n=function(t,e){if("object"!=b(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=b(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==b(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var g="recharts-tooltip-wrapper",O={visibility:"hidden"};function x(t){var e=t.allowEscapeViewBox,r=t.coordinate,n=t.key,o=t.offsetTopLeft,i=t.position,a=t.reverseDirection,c=t.tooltipDimension,u=t.viewBox,s=t.viewBoxDimension;if(i&&(0,l.Et)(i[n]))return i[n];var f=r[n]-c-o,p=r[n]+o;return e[n]?a[n]?f:p:a[n]?f<u[n]?Math.max(p,u[n]):Math.max(f,u[n]):p+c>u[n]+s?Math.max(f,u[n]):Math.max(p,u[n])}function w(t){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function j(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function S(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?j(Object(r),!0).forEach(function(e){k(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function P(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(P=function(){return!!t})()}function A(t){return(A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function E(t,e){return(E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function k(t,e,r){return(e=T(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function T(t){var e=function(t,e){if("object"!=w(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=w(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==w(e)?e:e+""}var M=function(t){var e;function r(){var t,e,n;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=r,n=[].concat(i),e=A(e),k(t=function(t,e){if(e&&("object"===w(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,P()?Reflect.construct(e,n||[],A(this).constructor):e.apply(this,n)),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),k(t,"handleKeyDown",function(e){if("Escape"===e.key){var r,n,o,i;t.setState({dismissed:!0,dismissedAtCoordinate:{x:null!=(r=null==(n=t.props.coordinate)?void 0:n.x)?r:0,y:null!=(o=null==(i=t.props.coordinate)?void 0:i.y)?o:0}})}}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&E(r,t),e=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();(Math.abs(t.width-this.state.lastBoundingBox.width)>1||Math.abs(t.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:t.width,height:t.height}})}else(-1!==this.state.lastBoundingBox.width||-1!==this.state.lastBoundingBox.height)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var t,e;this.props.active&&this.updateBBox(),this.state.dismissed&&((null==(t=this.props.coordinate)?void 0:t.x)!==this.state.dismissedAtCoordinate.x||(null==(e=this.props.coordinate)?void 0:e.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var t,e,r,o,i,a,c,s,f,p,y,d,h,v,b,w,j,P,A,E=this,k=this.props,T=k.active,M=k.allowEscapeViewBox,I=k.animationDuration,C=k.animationEasing,D=k.children,_=k.coordinate,N=k.hasPayload,B=k.isAnimationActive,R=k.offset,L=k.position,z=k.reverseDirection,W=k.useTranslate3d,U=k.viewBox,F=k.wrapperStyle,X=(d=(t={allowEscapeViewBox:M,coordinate:_,offsetTopLeft:R,position:L,reverseDirection:z,tooltipBox:this.state.lastBoundingBox,useTranslate3d:W,viewBox:U}).allowEscapeViewBox,h=t.coordinate,v=t.offsetTopLeft,b=t.position,w=t.reverseDirection,j=t.tooltipBox,P=t.useTranslate3d,A=t.viewBox,j.height>0&&j.width>0&&h?(r=(e={translateX:p=x({allowEscapeViewBox:d,coordinate:h,key:"x",offsetTopLeft:v,position:b,reverseDirection:w,tooltipDimension:j.width,viewBox:A,viewBoxDimension:A.width}),translateY:y=x({allowEscapeViewBox:d,coordinate:h,key:"y",offsetTopLeft:v,position:b,reverseDirection:w,tooltipDimension:j.height,viewBox:A,viewBoxDimension:A.height}),useTranslate3d:P}).translateX,o=e.translateY,f={transform:e.useTranslate3d?"translate3d(".concat(r,"px, ").concat(o,"px, 0)"):"translate(".concat(r,"px, ").concat(o,"px)")}):f=O,{cssProperties:f,cssClasses:(a=(i={translateX:p,translateY:y,coordinate:h}).coordinate,c=i.translateX,s=i.translateY,(0,u.A)(g,m(m(m(m({},"".concat(g,"-right"),(0,l.Et)(c)&&a&&(0,l.Et)(a.x)&&c>=a.x),"".concat(g,"-left"),(0,l.Et)(c)&&a&&(0,l.Et)(a.x)&&c<a.x),"".concat(g,"-bottom"),(0,l.Et)(s)&&a&&(0,l.Et)(a.y)&&s>=a.y),"".concat(g,"-top"),(0,l.Et)(s)&&a&&(0,l.Et)(a.y)&&s<a.y)))}),G=X.cssClasses,q=X.cssProperties,V=S(S({transition:B&&T?"transform ".concat(I,"ms ").concat(C):void 0},q),{},{pointerEvents:"none",visibility:!this.state.dismissed&&T&&N?"visible":"hidden",position:"absolute",top:0,left:0},F);return n.createElement("div",{tabIndex:-1,className:G,style:V,ref:function(t){E.wrapperNode=t}},D)}}],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,T(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.PureComponent),I=r(99717),C=r(34840);function D(t){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(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 N(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?_(Object(r),!0).forEach(function(e){z(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function B(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(B=function(){return!!t})()}function R(t){return(R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function L(t,e){return(L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function z(t,e,r){return(e=W(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function W(t){var e=function(t,e){if("object"!=D(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=D(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==D(e)?e:e+""}function U(t){return t.dataKey}var F=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=R(t),function(t,e){if(e&&("object"===D(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,B()?Reflect.construct(t,e||[],R(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&L(r,t),e=[{key:"render",value:function(){var t,e=this,r=this.props,o=r.active,i=r.allowEscapeViewBox,a=r.animationDuration,c=r.animationEasing,u=r.content,l=r.coordinate,s=r.filterNull,f=r.isAnimationActive,p=r.offset,y=r.payload,d=r.payloadUniqBy,h=r.position,b=r.reverseDirection,m=r.useTranslate3d,g=r.viewBox,O=r.wrapperStyle,x=null!=y?y:[];s&&x.length&&(x=(0,C.s)(y.filter(function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)}),d,U));var w=x.length>0;return n.createElement(M,{allowEscapeViewBox:i,animationDuration:a,animationEasing:c,isAnimationActive:f,active:o,coordinate:l,hasPayload:w,offset:p,position:h,reverseDirection:b,useTranslate3d:m,viewBox:g,wrapperStyle:O},(t=N(N({},this.props),{},{payload:x}),n.isValidElement(u)?n.cloneElement(u,t):"function"==typeof u?n.createElement(u,t):n.createElement(v,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,W(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.PureComponent);z(F,"displayName","Tooltip"),z(F,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!I.m.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}})},55148:(t,e,r)=>{t.exports=r(47341)()},55741:(t,e,r)=>{"use strict";r.d(e,{u:()=>d});var n=r(28900),o=r(91356),i=r(57415),a=r.n(i),c=r(49943),u=r(64621),l=r(19286);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var d=(0,o.forwardRef)(function(t,e){var r,i=t.aspect,s=t.initialDimension,f=void 0===s?{width:-1,height:-1}:s,d=t.width,h=void 0===d?"100%":d,v=t.height,b=void 0===v?"100%":v,m=t.minWidth,g=void 0===m?0:m,O=t.minHeight,x=t.maxHeight,w=t.children,j=t.debounce,S=void 0===j?0:j,P=t.id,A=t.className,E=t.onResize,k=t.style,T=(0,o.useRef)(null),M=(0,o.useRef)();M.current=E,(0,o.useImperativeHandle)(e,function(){return Object.defineProperty(T.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),T.current},configurable:!0})});var I=function(t){if(Array.isArray(t))return t}(r=(0,o.useState)({containerWidth:f.width,containerHeight:f.height}))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,o,i,a=[],c=!0,u=!1;try{o=(e=e.call(t)).next,!1;for(;!(c=(r=o.call(e)).done)&&(a.push(r.value),2!==a.length);c=!0);}catch(t){u=!0,n=t}finally{try{if(!c&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(u)throw n}}return a}}(r)||function(t){if(t){if("string"==typeof t)return y(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return y(t,2)}}(r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),C=I[0],D=I[1],_=(0,o.useCallback)(function(t,e){D(function(r){var n=Math.round(t),o=Math.round(e);return r.containerWidth===n&&r.containerHeight===o?r:{containerWidth:n,containerHeight:o}})},[]);(0,o.useEffect)(function(){var t=function(t){var e,r=t[0].contentRect,n=r.width,o=r.height;_(n,o),null==(e=M.current)||e.call(M,n,o)};S>0&&(t=a()(t,S,{trailing:!0,leading:!1}));var e=new ResizeObserver(t),r=T.current.getBoundingClientRect();return _(r.width,r.height),e.observe(T.current),function(){e.disconnect()}},[_,S]);var N=(0,o.useMemo)(function(){var t=C.containerWidth,e=C.containerHeight;if(t<0||e<0)return null;(0,u.R)((0,c._3)(h)||(0,c._3)(b),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",h,b),(0,u.R)(!i||i>0,"The aspect(%s) must be greater than zero.",i);var r=(0,c._3)(h)?t:h,n=(0,c._3)(b)?e:b;i&&i>0&&(r?n=r/i:n&&(r=n*i),x&&n>x&&(n=x)),(0,u.R)(r>0||n>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",r,n,h,b,g,O,i);var a=!Array.isArray(w)&&(0,l.Mn)(w.type).endsWith("Chart");return o.Children.map(w,function(t){return o.isValidElement(t)?(0,o.cloneElement)(t,p({width:r,height:n},a?{style:p({height:"100%",width:"100%",maxHeight:n,maxWidth:r},t.props.style)}:{})):t})},[i,w,b,x,O,g,C,h]);return o.createElement("div",{id:P?"".concat(P):void 0,className:(0,n.A)("recharts-responsive-container",A),style:p(p({},void 0===k?{}:k),{},{width:h,height:b,minWidth:g,minHeight:O,maxHeight:x}),ref:T},N)})},56006:(t,e,r)=>{var n=r(90057),o=r(97171);t.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==n(t)}},56681:(t,e,r)=>{var n=r(83281),o=r(64407),i=r(12872),a=r(75124);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)}},57222:(t,e,r)=>{var n=r(39552),o=r(88215);t.exports=function(t,e,r,i){var a=r.length,c=a,u=!i;if(null==t)return!c;for(t=Object(t);a--;){var l=r[a];if(u&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<c;){var s=(l=r[a])[0],f=t[s],p=l[1];if(u&&l[2]){if(void 0===f&&!(s in t))return!1}else{var y=new n;if(i)var d=i(f,p,s,t,e,y);if(!(void 0===d?o(p,f,3,i,y):d))return!1}}return!0}},57410:(t,e,r)=>{var n=r(5800);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},57415:(t,e,r)=>{var n=r(43676),o=r(75124);t.exports=function(t,e,r){var i=!0,a=!0;if("function"!=typeof t)throw TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(t,e,{leading:i,maxWait:e,trailing:a})}},57689:(t,e,r)=>{var n=r(97043),o=r(19435),i=r(49199);t.exports=function(t){return o(t)?i(t):n(t)}},57800:t=>{t.exports=Array.isArray},58029:(t,e,r)=>{"use strict";r.d(e,{u:()=>v});var n=r(91356),o=r(23437),i=r(31770),a=r(19286),c=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){return(l=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(f=function(){return!!t})()}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t,e){return(y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function d(t,e,r){return(e=h(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=u(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==u(e)?e:e+""}var v=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=p(t),function(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,f()?Reflect.construct(t,e||[],p(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&y(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.offset,r=t.layout,u=t.width,f=t.dataKey,p=t.data,y=t.dataPointFormatter,d=t.xAxis,h=t.yAxis,v=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,c),b=(0,a.J9)(v,!1);"x"===this.props.direction&&"number"!==d.type&&(0,o.A)(!1);var m=p.map(function(t){var o,a,c=y(t,f),p=c.x,v=c.y,m=c.value,g=c.errorVal;if(!g)return null;var O=[];if(Array.isArray(g)){var x=function(t){if(Array.isArray(t))return t}(g)||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,o,i,a=[],c=!0,u=!1;try{o=(e=e.call(t)).next,!1;for(;!(c=(r=o.call(e)).done)&&(a.push(r.value),2!==a.length);c=!0);}catch(t){u=!0,n=t}finally{try{if(!c&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(u)throw n}}return a}}(g)||function(t){if(t){if("string"==typeof t)return s(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return s(t,2)}}(g)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();o=x[0],a=x[1]}else o=a=g;if("vertical"===r){var w=d.scale,j=v+e,S=j+u,P=j-u,A=w(m-o),E=w(m+a);O.push({x1:E,y1:S,x2:E,y2:P}),O.push({x1:A,y1:j,x2:E,y2:j}),O.push({x1:A,y1:S,x2:A,y2:P})}else if("horizontal"===r){var k=h.scale,T=p+e,M=T-u,I=T+u,C=k(m-o),D=k(m+a);O.push({x1:M,y1:D,x2:I,y2:D}),O.push({x1:T,y1:C,x2:T,y2:D}),O.push({x1:M,y1:C,x2:I,y2:C})}return n.createElement(i.W,l({className:"recharts-errorBar",key:"bar-".concat(O.map(function(t){return"".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))},b),O.map(function(t){return n.createElement("line",l({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))}))});return n.createElement(i.W,{className:"recharts-errorBars"},m)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,h(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);d(v,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),d(v,"displayName","ErrorBar")},58916:(t,e,r)=>{var n=r(56006);t.exports=function(t){return n(t)&&t!=+t}},59220:(t,e,r)=>{"use strict";r.d(e,{X:()=>i});var n=r(91356),o=r(84844);function i(t){let[e,r]=n.useState(void 0);return(0,o.N)(()=>{if(t){r({width:t.offsetWidth,height:t.offsetHeight});let e=new ResizeObserver(e=>{let n,o;if(!Array.isArray(e)||!e.length)return;let i=e[0];if("borderBoxSize"in i){let t=i.borderBoxSize,e=Array.isArray(t)?t[0]:t;n=e.inlineSize,o=e.blockSize}else n=t.offsetWidth,o=t.offsetHeight;r({width:n,height:o})});return e.observe(t,{box:"border-box"}),()=>e.unobserve(t)}r(void 0)},[t]),e}},61219:(t,e,r)=>{"use strict";r.d(e,{A3:()=>f,Pu:()=>s});var n=r(99717);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach(function(e){var n,i,a;n=t,i=e,a=r[e],(i=function(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var c={widthCache:{},cacheCount:0},u={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},l="recharts_measurement_span",s=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||n.m.isSsr)return{width:0,height:0};var o=(Object.keys(e=a({},r)).forEach(function(t){e[t]||delete e[t]}),e),i=JSON.stringify({text:t,copyStyle:o});if(c.widthCache[i])return c.widthCache[i];try{var s=document.getElementById(l);s||((s=document.createElement("span")).setAttribute("id",l),s.setAttribute("aria-hidden","true"),document.body.appendChild(s));var f=a(a({},u),o);Object.assign(s.style,f),s.textContent="".concat(t);var p=s.getBoundingClientRect(),y={width:p.width,height:p.height};return c.widthCache[i]=y,++c.cacheCount>2e3&&(c.cacheCount=0,c.widthCache={}),y}catch(t){return{width:0,height:0}}},f=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}}},62016:(t,e,r)=>{var n=r(84138);t.exports=function(t){return n(this,t).get(t)}},62750:(t,e,r)=>{var n=r(31393),o=r(57800);t.exports=function(t,e,r){var i=e(t);return o(t)?i:n(i,r(t))}},62962:t=>{t.exports=function(t){return this.__data__.has(t)}},63638:(t,e,r)=>{"use strict";r.d(e,{y:()=>tr});var n=r(91356),o=r(28900),i=r(16774),a=r(3141),c=r.n(a),u=r(23258),l=r.n(u),s=r(31770),f=r(58029),p=function(t){return null};p.displayName="Cell";var y=r(75124),d=r.n(y),h=r(42971),v=r.n(h),b=r(78523),m=r.n(b),g=r(93625),O=r(19286),x=r(3193);function w(t){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var j=["valueAccessor"],S=["data","dataKey","clockWise","id","textBreakAll"];function P(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function A(){return(A=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function E(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function k(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?E(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=w(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=w(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==w(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function T(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var M=function(t){return Array.isArray(t.value)?m()(t.value):t.value};function I(t){var e=t.valueAccessor,r=void 0===e?M:e,o=T(t,j),i=o.data,a=o.dataKey,c=o.clockWise,u=o.id,f=o.textBreakAll,p=T(o,S);return i&&i.length?n.createElement(s.W,{className:"recharts-label-list"},i.map(function(t,e){var o=l()(a)?r(t,e):(0,x.kr)(t&&t.payload,a),i=l()(u)?{}:{id:"".concat(u,"-").concat(e)};return n.createElement(g.J,A({},(0,O.J9)(t,!0),p,i,{parentViewBox:t.parentViewBox,value:o,textBreakAll:f,viewBox:g.J.parseViewBox(l()(c)?t:k(k({},t),{},{clockWise:c})),key:"label-".concat(e),index:e}))})):null}I.displayName="LabelList",I.renderCallByParent=function(t,e){var r,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&o&&!t.label)return null;var i=t.children,a=(0,O.aS)(i,I).map(function(t,r){return(0,n.cloneElement)(t,{data:e,key:"labelList-".concat(r)})});return o?[(r=t.label,!r?null:!0===r?n.createElement(I,{key:"labelList-implicit",data:e}):n.isValidElement(r)||v()(r)?n.createElement(I,{key:"labelList-implicit",data:e,content:r}):d()(r)?n.createElement(I,A({data:e},r,{key:"labelList-implicit"})):null)].concat(function(t){if(Array.isArray(t))return P(t)}(a)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(a)||function(t){if(t){if("string"==typeof t)return P(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return P(t,void 0)}}(a)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):a};var C=r(49943),D=r(99717),_=r(49787),N=r(23437),B=r(21073),R=["x","y"];function L(t){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function z(){return(z=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).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 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){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=L(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=L(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==L(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):W(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function F(t,e){var r=t.x,n=t.y,o=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,R),i=parseInt("".concat(r),10),a=parseInt("".concat(n),10),c=parseInt("".concat(e.height||o.height),10),u=parseInt("".concat(e.width||o.width),10);return U(U(U(U(U({},e),o),i?{x:i}:{}),a?{y:a}:{}),{},{height:c,width:u,name:e.name,radius:e.radius})}function X(t){return n.createElement(B.yp,z({shapeType:"rectangle",propTransformer:F,activeClassName:"recharts-active-bar"},t))}var G=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(r,n){if("number"==typeof t)return t;var o="number"==typeof r;return o?t(r,n):(o||(0,N.A)(!1),e)}},q=["value","background"];function V(t){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function K(){return(K=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function H(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function Z(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?H(Object(r),!0).forEach(function(e){tt(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):H(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function J(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,te(n.key),n)}}function $(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($=function(){return!!t})()}function Y(t){return(Y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Q(t,e){return(Q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tt(t,e,r){return(e=te(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function te(t){var e=function(t,e){if("object"!=V(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=V(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==V(e)?e:e+""}var tr=function(t){var e,r;function a(){var t,e,r;if(!(this instanceof a))throw TypeError("Cannot call a class as a function");for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=a,r=[].concat(o),e=Y(e),tt(t=function(t,e){if(e&&("object"===V(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,$()?Reflect.construct(e,r||[],Y(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!1}),tt(t,"id",(0,C.NF)("recharts-bar-")),tt(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()}),tt(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return a.prototype=Object.create(t&&t.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),t&&Q(a,t),e=[{key:"renderRectanglesStatically",value:function(t){var e=this,r=this.props,o=r.shape,i=r.dataKey,a=r.activeIndex,c=r.activeBar,u=(0,O.J9)(this.props,!1);return t&&t.map(function(t,r){var l=r===a,f=Z(Z(Z({},u),t),{},{isActive:l,option:l?c:o,index:r,dataKey:i,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return n.createElement(s.W,K({className:"recharts-bar-rectangle"},(0,_.XC)(e.props,t,r),{key:"rectangle-".concat(null==t?void 0:t.x,"-").concat(null==t?void 0:t.y,"-").concat(null==t?void 0:t.value)}),n.createElement(X,f))})}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,r=e.data,o=e.layout,a=e.isAnimationActive,c=e.animationBegin,u=e.animationDuration,l=e.animationEasing,f=e.animationId,p=this.state.prevData;return n.createElement(i.Ay,{begin:c,duration:u,isActive:a,easing:l,from:{t:0},to:{t:1},key:"bar-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(e){var i=e.t,a=r.map(function(t,e){var r=p&&p[e];if(r){var n=(0,C.Dj)(r.x,t.x),a=(0,C.Dj)(r.y,t.y),c=(0,C.Dj)(r.width,t.width),u=(0,C.Dj)(r.height,t.height);return Z(Z({},t),{},{x:n(i),y:a(i),width:c(i),height:u(i)})}if("horizontal"===o){var l=(0,C.Dj)(0,t.height)(i);return Z(Z({},t),{},{y:t.y+t.height-l,height:l})}var s=(0,C.Dj)(0,t.width)(i);return Z(Z({},t),{},{width:s})});return n.createElement(s.W,null,t.renderRectanglesStatically(a))})}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return r&&e&&e.length&&(!n||!c()(n,e))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(e)}},{key:"renderBackground",value:function(){var t=this,e=this.props,r=e.data,o=e.dataKey,i=e.activeIndex,a=(0,O.J9)(this.props.background,!1);return r.map(function(e,r){e.value;var c=e.background,u=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(e,q);if(!c)return null;var l=Z(Z(Z(Z(Z({},u),{},{fill:"#eee"},c),a),(0,_.XC)(t.props,e,r)),{},{onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd,dataKey:o,index:r,className:"recharts-bar-background-rectangle"});return n.createElement(X,K({key:"background-bar-".concat(r),option:t.props.background,isActive:r===i},l))})}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,o=r.data,i=r.xAxis,a=r.yAxis,c=r.layout,u=r.children,l=(0,O.aS)(u,f.u);if(!l)return null;var p="vertical"===c?o[0].height/2:o[0].width/2,y=function(t,e){var r=Array.isArray(t.value)?t.value[1]:t.value;return{x:t.x,y:t.y,value:r,errorVal:(0,x.kr)(t,e)}};return n.createElement(s.W,{clipPath:t?"url(#clipPath-".concat(e,")"):null},l.map(function(t){return n.cloneElement(t,{key:"error-bar-".concat(e,"-").concat(t.props.dataKey),data:o,xAxis:i,yAxis:a,layout:c,offset:p,dataPointFormatter:y})}))}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,i=t.className,a=t.xAxis,c=t.yAxis,u=t.left,f=t.top,p=t.width,y=t.height,d=t.isAnimationActive,h=t.background,v=t.id;if(e||!r||!r.length)return null;var b=this.state.isAnimationFinished,m=(0,o.A)("recharts-bar",i),g=a&&a.allowDataOverflow,O=c&&c.allowDataOverflow,x=g||O,w=l()(v)?this.id:v;return n.createElement(s.W,{className:m},g||O?n.createElement("defs",null,n.createElement("clipPath",{id:"clipPath-".concat(w)},n.createElement("rect",{x:g?u:u-p/2,y:O?f:f-y/2,width:g?p:2*p,height:O?y:2*y}))):null,n.createElement(s.W,{className:"recharts-bar-rectangles",clipPath:x?"url(#clipPath-".concat(w,")"):null},h?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(x,w),(!d||b)&&I.renderCallByParent(this.props,r))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curData:t.data,prevData:e.curData}:t.data!==e.curData?{curData:t.data}:null}}],e&&J(a.prototype,e),r&&J(a,r),Object.defineProperty(a,"prototype",{writable:!1}),a}(n.PureComponent);tt(tr,"displayName","Bar"),tt(tr,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!D.m.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),tt(tr,"getComposedData",function(t){var e=t.props,r=t.item,n=t.barPosition,o=t.bandSize,i=t.xAxis,a=t.yAxis,c=t.xAxisTicks,u=t.yAxisTicks,l=t.stackedData,s=t.dataStartIndex,f=t.displayedData,y=t.offset,d=(0,x.xi)(n,r);if(!d)return null;var h=e.layout,v=r.type.defaultProps,b=void 0!==v?Z(Z({},v),r.props):r.props,m=b.dataKey,g=b.children,w=b.minPointSize,j="horizontal"===h?a:i,S=l?j.scale.domain():null,P=(0,x.DW)({numericAxis:j}),A=(0,O.aS)(g,p),E=f.map(function(t,e){l?f=(0,x._f)(l[s+e],S):Array.isArray(f=(0,x.kr)(t,m))||(f=[P,f]);var n=G(w,tr.defaultProps.minPointSize)(f[1],e);if("horizontal"===h){var f,p,y,v,b,g,O,j=[a.scale(f[0]),a.scale(f[1])],E=j[0],k=j[1];p=(0,x.y2)({axis:i,ticks:c,bandSize:o,offset:d.offset,entry:t,index:e}),y=null!=(O=null!=k?k:E)?O:void 0,v=d.size;var T=E-k;if(b=Number.isNaN(T)?0:T,g={x:p,y:a.y,width:v,height:a.height},Math.abs(n)>0&&Math.abs(b)<Math.abs(n)){var M=(0,C.sA)(b||n)*(Math.abs(n)-Math.abs(b));y-=M,b+=M}}else{var I=[i.scale(f[0]),i.scale(f[1])],D=I[0],_=I[1];if(p=D,y=(0,x.y2)({axis:a,ticks:u,bandSize:o,offset:d.offset,entry:t,index:e}),v=_-D,b=d.size,g={x:i.x,y:y,width:i.width,height:b},Math.abs(n)>0&&Math.abs(v)<Math.abs(n)){var N=(0,C.sA)(v||n)*(Math.abs(n)-Math.abs(v));v+=N}}return Z(Z(Z({},t),{},{x:p,y:y,width:v,height:b,value:l?f:f[1],payload:t,background:g},A&&A[e]&&A[e].props),{},{tooltipPayload:[(0,x.zb)(r,t)],tooltipPosition:{x:p+v/2,y:y+b/2}})});return Z({data:E,layout:h},y)})},63698:(t,e,r)=>{var n=r(90057),o=r(74094),i=r(97171),a=Object.prototype,c=Function.prototype.toString,u=a.hasOwnProperty,l=c.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=n(t))return!1;var e=o(t);if(null===e)return!0;var r=u.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==l}},64047:(t,e,r)=>{var n=r(24312),o=r(10245),i=r(57800),a=r(12872),c=r(23167),u=r(14788);t.exports=function(t,e,r){e=n(e,t);for(var l=-1,s=e.length,f=!1;++l<s;){var p=u(e[l]);if(!(f=null!=t&&r(t,p)))break;t=t[p]}return f||++l!=s?f:!!(s=null==t?0:t.length)&&c(s)&&a(p,s)&&(i(t)||o(t))}},64096:(t,e,r)=>{"use strict";r.d(e,{h:()=>v});var n=r(91356),o=r(28900),i=r(70232),a=r(30185),c=r(3193);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(l=function(){return!!t})()}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function p(t,e,r){return(e=y(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function y(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=u(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==u(e)?e:e+""}function d(){return(d=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var h=function(t){var e=t.yAxisId,r=(0,i.yi)(),u=(0,i.rY)(),l=(0,i.Nk)(e);return null==l?null:n.createElement(a.u,d({},l,{className:(0,o.A)("recharts-".concat(l.axisType," ").concat(l.axisType),l.className),viewBox:{x:0,y:0,width:r,height:u},ticksGenerator:function(t){return(0,c.Rh)(t,!0)}}))},v=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=s(t),function(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,l()?Reflect.construct(t,e||[],s(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&f(r,t),e=[{key:"render",value:function(){return n.createElement(h,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,y(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);p(v,"displayName","YAxis"),p(v,"defaultProps",{allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1})},64225:(t,e,r)=>{t.exports="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g},64407:(t,e,r)=>{var n=r(42971),o=r(23167);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},64621:(t,e,r)=>{"use strict";r.d(e,{R:()=>n});var n=function(t,e){for(var r=arguments.length,n=Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o]}},65125:(t,e,r)=>{var n=r(66654);t.exports=function(){this.__data__=new n,this.size=0}},65675:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},66654:(t,e,r)=>{var n=r(51455),o=r(47809),i=r(57410),a=r(27958),c=r(74222);function u(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])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,t.exports=u},66829:(t,e,r)=>{t.exports=r(94836).Uint8Array},67637:(t,e,r)=>{t.exports=r(73135)(r(94836),"DataView")},67879:(t,e,r)=>{var n=r(51878),o=r(85289),i=r(64407);t.exports=function(t){return i(t)?n(t):o(t)}},68744:(t,e,r)=>{t.exports=r(73135)(r(94836),"Set")},68776: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)}},68817:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(43200).A)("calendar-days",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]])},69088:(t,e,r)=>{var n=r(64407);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}}},69236:(t,e,r)=>{var n=r(68744),o=r(47703),i=r(50054);t.exports=n&&1/i(new n([,-0]))[1]==1/0?function(t){return new n(t)}:o},70232:(t,e,r)=>{"use strict";r.d(e,{DR:()=>g,pj:()=>w,rY:()=>k,yi:()=>E,Yp:()=>O,hj:()=>A,sk:()=>P,AF:()=>x,Nk:()=>S,$G:()=>j});var n=r(91356),o=r(23437),i=r(24647),a=r.n(i),c=r(39986),u=r.n(c),l=r(48601),s=r.n(l)()(function(t){return{x:t.left,y:t.top,width:t.width,height:t.height}},function(t){return"l"+t.left+"t"+t.top+"w"+t.width+"h"+t.height}),f=r(49943),p=(0,n.createContext)(void 0),y=(0,n.createContext)(void 0),d=(0,n.createContext)(void 0),h=(0,n.createContext)({}),v=(0,n.createContext)(void 0),b=(0,n.createContext)(0),m=(0,n.createContext)(0),g=function(t){var e=t.state,r=e.xAxisMap,o=e.yAxisMap,i=e.offset,a=t.clipPathId,c=t.children,u=t.width,l=t.height,f=s(i);return n.createElement(p.Provider,{value:r},n.createElement(y.Provider,{value:o},n.createElement(h.Provider,{value:i},n.createElement(d.Provider,{value:f},n.createElement(v.Provider,{value:a},n.createElement(b.Provider,{value:l},n.createElement(m.Provider,{value:u},c)))))))},O=function(){return(0,n.useContext)(v)},x=function(t){var e=(0,n.useContext)(p);null==e&&(0,o.A)(!1);var r=e[t];return null==r&&(0,o.A)(!1),r},w=function(){var t=(0,n.useContext)(p);return(0,f.lX)(t)},j=function(){var t=(0,n.useContext)(y);return a()(t,function(t){return u()(t.domain,Number.isFinite)})||(0,f.lX)(t)},S=function(t){var e=(0,n.useContext)(y);null==e&&(0,o.A)(!1);var r=e[t];return null==r&&(0,o.A)(!1),r},P=function(){return(0,n.useContext)(d)},A=function(){return(0,n.useContext)(h)},E=function(){return(0,n.useContext)(m)},k=function(){return(0,n.useContext)(b)}},70281: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}},70799:(t,e,r)=>{"use strict";r.d(e,{sG:()=>a});var n=r(91356);r(86669);var o=r(49402),i=r(4208),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((t,e)=>{let r=(0,o.TL)(`Primitive.${e}`),a=n.forwardRef((t,n)=>{let{asChild:o,...a}=t;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(o?r:e,{...a,ref:n})});return a.displayName=`Primitive.${e}`,{...t,[e]:a}},{})},72106:(t,e,r)=>{var n=r(93064),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}},72889:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},73135:(t,e,r)=>{var n=r(81906),o=r(19265);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},73825:(t,e,r)=>{t.exports=r(962)("toUpperCase")},74094:(t,e,r)=>{t.exports=r(96326)(Object.getPrototypeOf,Object)},74222:(t,e,r)=>{var n=r(5800);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}},74285:(t,e,r)=>{var n=r(28566),o=r(27385),i=r(24073);t.exports=function(t){return t&&t.length?n(t,i,o):void 0}},74475:(t,e,r)=>{var n=r(11983),o=r(54666),i=r(24073);t.exports=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:i},74989: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}},75027:(t,e,r)=>{var n=r(82803);t.exports=function(t,e,r){for(var o=-1,i=t.criteria,a=e.criteria,c=i.length,u=r.length;++o<c;){var l=n(i[o],a[o]);if(l){if(o>=u)return l;return l*("desc"==r[o]?-1:1)}}return t.index-e.index}},75124:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},76298: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)}}},76516:t=>{t.exports=function(t){return function(e){return t(e)}}},77129:(t,e,r)=>{var n=r(80383),o=1/0;t.exports=function(t){return t?(t=n(t))===o||t===-o?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0}},77337: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}},77780:(t,e,r)=>{var n=r(84138);t.exports=function(t){return n(this,t).has(t)}},78523:t=>{t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},80355:(t,e,r)=>{"use strict";r.d(e,{g:()=>l});var n=r(24121),o=r(3193),i=r(19286);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function 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 u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var l=function(t){var e,r=t.children,a=t.formattedGraphicalItems,c=t.legendWidth,l=t.legendContent,s=(0,i.BU)(r,n.s);if(!s)return null;var f=n.s.defaultProps,p=void 0!==f?u(u({},f),s.props):{};return e=s.props&&s.props.payload?s.props&&s.props.payload:"children"===l?(a||[]).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:s.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}}))},[]):(a||[]).map(function(t){var e=t.item,r=e.type.defaultProps,n=void 0!==r?u(u({},r),e.props):{},i=n.dataKey,a=n.name,c=n.legendType;return{inactive:n.hide,dataKey:i,type:p.iconType||c||"square",color:(0,o.Ps)(e),value:a||i,payload:n}}),u(u(u({},p),n.s.getWithHeight(s,c)),{},{payload:e,item:s})}},80383:(t,e,r)=>{var n=r(10473),o=r(75124),i=r(4291),a=0/0,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return a;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=u.test(t);return r||l.test(t)?s(t.slice(2),r?2:8):c.test(t)?a:+t}},81309:(t,e,r)=>{var n=r(94836);t.exports=function(){return n.Date.now()}},81869:(t,e,r)=>{"use strict";r.d(e,{i:()=>T});var n=r(91356),o=r(73825),i=r.n(o),a=r(70120);let c={draw(t,e){let r=(0,a.RZ)(e/a.pi);t.moveTo(r,0),t.arc(0,0,r,0,a.FA)}},u=(0,a.RZ)(1/3),l=2*u,s=(0,a.F8)(a.pi/10)/(0,a.F8)(7*a.pi/10),f=(0,a.F8)(a.FA/10)*s,p=-(0,a.gn)(a.FA/10)*s,y=(0,a.RZ)(3),d=(0,a.RZ)(3)/2,h=1/(0,a.RZ)(12),v=(h/2+1)*3;var b=r(82730),m=r(32819);(0,a.RZ)(3),(0,a.RZ)(3);var g=r(28900),O=r(19286);function x(t){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var w=["type","size","sizeType"];function j(){return(j=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function S(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function P(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?S(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=x(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=x(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==x(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var A={symbolCircle:c,symbolCross:{draw(t,e){let r=(0,a.RZ)(e/5)/2;t.moveTo(-3*r,-r),t.lineTo(-r,-r),t.lineTo(-r,-3*r),t.lineTo(r,-3*r),t.lineTo(r,-r),t.lineTo(3*r,-r),t.lineTo(3*r,r),t.lineTo(r,r),t.lineTo(r,3*r),t.lineTo(-r,3*r),t.lineTo(-r,r),t.lineTo(-3*r,r),t.closePath()}},symbolDiamond:{draw(t,e){let r=(0,a.RZ)(e/l),n=r*u;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},symbolSquare:{draw(t,e){let r=(0,a.RZ)(e),n=-r/2;t.rect(n,n,r,r)}},symbolStar:{draw(t,e){let r=(0,a.RZ)(.8908130915292852*e),n=f*r,o=p*r;t.moveTo(0,-r),t.lineTo(n,o);for(let e=1;e<5;++e){let i=a.FA*e/5,c=(0,a.gn)(i),u=(0,a.F8)(i);t.lineTo(u*r,-c*r),t.lineTo(c*n-u*o,u*n+c*o)}t.closePath()}},symbolTriangle:{draw(t,e){let r=-(0,a.RZ)(e/(3*y));t.moveTo(0,2*r),t.lineTo(-y*r,-r),t.lineTo(y*r,-r),t.closePath()}},symbolWye:{draw(t,e){let r=(0,a.RZ)(e/v),n=r/2,o=r*h,i=r*h+r,c=-n;t.moveTo(n,o),t.lineTo(n,i),t.lineTo(c,i),t.lineTo(-.5*n-d*o,d*n+-.5*o),t.lineTo(-.5*n-d*i,d*n+-.5*i),t.lineTo(-.5*c-d*i,d*c+-.5*i),t.lineTo(-.5*n+d*o,-.5*o-d*n),t.lineTo(-.5*n+d*i,-.5*i-d*n),t.lineTo(-.5*c+d*i,-.5*i-d*c),t.closePath()}}},E=Math.PI/180,k=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*E;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}},T=function(t){var e,r=t.type,o=void 0===r?"circle":r,a=t.size,u=void 0===a?64:a,l=t.sizeType,s=void 0===l?"area":l,f=P(P({},function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,w)),{},{type:o,size:u,sizeType:s}),p=f.className,y=f.cx,d=f.cy,h=(0,O.J9)(f,!0);return y===+y&&d===+d&&u===+u?n.createElement("path",j({},h,{className:(0,g.A)("recharts-symbols",p),transform:"translate(".concat(y,", ").concat(d,")"),d:(e=A["symbol".concat(i()(o))]||c,(function(t,e){let r=null,n=(0,m.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,b.A)(t||c),e="function"==typeof e?e:(0,b.A)(void 0===e?64:+e),o.type=function(e){return arguments.length?(t="function"==typeof e?e:(0,b.A)(e),o):t},o.size=function(t){return arguments.length?(e="function"==typeof t?t:(0,b.A)(+t),o):e},o.context=function(t){return arguments.length?(r=null==t?null:t,o):r},o})().type(e).size(k(u,s,o))())})):null};T.registerSymbol=function(t,e){A["symbol".concat(i()(t))]=e}},81906:(t,e,r)=>{var n=r(42971),o=r(96953),i=r(75124),a=r(30312),c=/^\[object .+?Constructor\]$/,u=Object.prototype,l=Function.prototype.toString,s=u.hasOwnProperty,f=RegExp("^"+l.call(s).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?f:c).test(a(t))}},82803:(t,e,r)=>{var n=r(4291);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,u=null===e,l=e==e,s=n(e);if(!u&&!s&&!a&&t>e||a&&c&&l&&!u&&!s||o&&c&&l||!r&&l||!i)return 1;if(!o&&!a&&!s&&t<e||s&&r&&i&&!o&&!a||u&&r&&i||!c&&i||!l)return -1}return 0}},83109:(t,e,r)=>{var n=r(53596);t.exports=function(t,e){var r;return n(t,function(t,n,o){return!(r=e(t,n,o))}),!!r}},83281:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},84009:(t,e,r)=>{var n=r(29707);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},84138:(t,e,r)=>{var n=r(97019);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},84263:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},84755:(t,e,r)=>{"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function 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){var o,i,a;o=t,i=e,a=r[e],(i=function(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}(i))in o?Object.defineProperty(o,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}r.d(e,{IZ:()=>c,Kg:()=>a,yy:()=>f}),r(23258),r(91356),r(42971);var a=Math.PI/180,c=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=t.x,n=t.y;return Math.sqrt(Math.pow(r-e.x,2)+Math.pow(n-e.y,2))},l=function(t,e){var r=t.x,n=t.y,o=e.cx,i=e.cy,a=u({x:r,y:n},{x:o,y:i});if(a<=0)return{radius:a};var c=Math.acos((r-o)/a);return n>i&&(c=2*Math.PI-c),{radius:a,angle:180*c/Math.PI,angleInRadian:c}},s=function(t){var e=t.startAngle,r=t.endAngle,n=Math.min(Math.floor(e/360),Math.floor(r/360));return{startAngle:e-360*n,endAngle:r-360*n}},f=function(t,e){var r,n=l({x:t.x,y:t.y},e),o=n.radius,a=n.angle,c=e.innerRadius,u=e.outerRadius;if(o<c||o>u)return!1;if(0===o)return!0;var f=s(e),p=f.startAngle,y=f.endAngle,d=a;if(p<=y){for(;d>y;)d-=360;for(;d<p;)d+=360;r=d>=p&&d<=y}else{for(;d>p;)d-=360;for(;d<y;)d+=360;r=d>=y&&d<=p}return r?i(i({},e),{},{radius:o,angle:d+360*Math.min(Math.floor(e.startAngle/360),Math.floor(e.endAngle/360))}):null}},84844:(t,e,r)=>{"use strict";r.d(e,{N:()=>o});var n=r(91356),o=globalThis?.document?n.useLayoutEffect:()=>{}},85289:(t,e,r)=>{var n=r(28822),o=r(38683),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}},86151:(t,e,r)=>{var n=r(24312),o=r(14788);t.exports=function(t,e){e=n(e,t);for(var r=0,i=e.length;null!=t&&r<i;)t=t[o(e[r++])];return r&&r==i?t:void 0}},86163:(t,e,r)=>{var n=r(62750),o=r(49769),i=r(67879);t.exports=function(t){return n(t,i,o)}},86972:t=>{t.exports=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}},87300: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}},87599:(t,e,r)=>{var n=r(37148),o=r(89724);t.exports=function(t,e){return t&&t.length?o(t,n(e,2)):[]}},88215:(t,e,r)=>{var n=r(24509),o=r(97171);t.exports=function t(e,r,i,a,c){return e===r||(null!=e&&null!=r&&(o(e)||o(r))?n(e,r,i,a,t,c):e!=e&&r!=r)}},88818:(t,e,r)=>{var n=r(47644),o=r(11269),i=r(62962);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},89724:(t,e,r)=>{var n=r(88818),o=r(45100),i=r(42464),a=r(14074),c=r(69236),u=r(50054);t.exports=function(t,e,r){var l=-1,s=o,f=t.length,p=!0,y=[],d=y;if(r)p=!1,s=i;else if(f>=200){var h=e?null:c(t);if(h)return u(h);p=!1,s=a,d=new n}else d=e?[]:y;t:for(;++l<f;){var v=t[l],b=e?e(v):v;if(v=r||0!==v?v:0,p&&b==b){for(var m=d.length;m--;)if(d[m]===b)continue t;e&&d.push(b),y.push(v)}else s(d,b,r)||(d!==y&&d.push(b),y.push(v))}return y}},90044:(t,e,r)=>{var n=r(84138);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=+(r.size!=o),this}},90057:(t,e,r)=>{var n=r(93064),o=r(72106),i=r(84263),a=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},91579:function(t,e,r){var n;!function(){"use strict";var o,i={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},a=!0,c="[DecimalError] ",u=c+"Invalid argument: ",l=c+"Exponent out of range: ",s=Math.floor,f=Math.pow,p=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,y=s(1286742750677284.5),d={};function h(t,e){var r,n,o,i,c,u,l,s,f=t.constructor,p=f.precision;if(!t.s||!e.s)return e.s||(e=new f(t)),a?P(e,p):e;if(l=t.d,s=e.d,c=t.e,o=e.e,l=l.slice(),i=c-o){for(i<0?(n=l,i=-i,u=s.length):(n=s,o=c,u=l.length),i>(u=(c=Math.ceil(p/7))>u?c+1:u+1)&&(i=u,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((u=l.length)-(i=s.length)<0&&(i=u,n=s,s=l,l=n),r=0;i;)r=(l[--i]=l[i]+s[i]+r)/1e7|0,l[i]%=1e7;for(r&&(l.unshift(r),++o),u=l.length;0==l[--u];)l.pop();return e.d=l,e.e=o,a?P(e,p):e}function v(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+=w(r)),i+=n;(r=7-(n=(a=t[e])+"").length)&&(i+=w(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return i+a}d.absoluteValue=d.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},d.comparedTo=d.cmp=function(t){var e,r,n,o;if(t=new this.constructor(t),this.s!==t.s)return this.s||-t.s;if(this.e!==t.e)return this.e>t.e^this.s<0?1:-1;for(e=0,r=(n=this.d.length)<(o=t.d.length)?n:o;e<r;++e)if(this.d[e]!==t.d[e])return this.d[e]>t.d[e]^this.s<0?1:-1;return n===o?0:n>o^this.s<0?1:-1},d.decimalPlaces=d.dp=function(){var t=this.d.length-1,e=(t-this.e)*7;if(t=this.d[t])for(;t%10==0;t/=10)e--;return e<0?0:e},d.dividedBy=d.div=function(t){return m(this,new this.constructor(t))},d.dividedToIntegerBy=d.idiv=function(t){var e=this.constructor;return P(m(this,new e(t),0,1),e.precision)},d.equals=d.eq=function(t){return!this.cmp(t)},d.exponent=function(){return O(this)},d.greaterThan=d.gt=function(t){return this.cmp(t)>0},d.greaterThanOrEqualTo=d.gte=function(t){return this.cmp(t)>=0},d.isInteger=d.isint=function(){return this.e>this.d.length-2},d.isNegative=d.isneg=function(){return this.s<0},d.isPositive=d.ispos=function(){return this.s>0},d.isZero=function(){return 0===this.s},d.lessThan=d.lt=function(t){return 0>this.cmp(t)},d.lessThanOrEqualTo=d.lte=function(t){return 1>this.cmp(t)},d.logarithm=d.log=function(t){var e,r=this.constructor,n=r.precision,i=n+5;if(void 0===t)t=new r(10);else if((t=new r(t)).s<1||t.eq(o))throw Error(c+"NaN");if(this.s<1)throw Error(c+(this.s?"NaN":"-Infinity"));return this.eq(o)?new r(0):(a=!1,e=m(j(this,i),j(t,i),i),a=!0,P(e,n))},d.minus=d.sub=function(t){return t=new this.constructor(t),this.s==t.s?A(this,t):h(this,(t.s=-t.s,t))},d.modulo=d.mod=function(t){var e,r=this.constructor,n=r.precision;if(!(t=new r(t)).s)throw Error(c+"NaN");return this.s?(a=!1,e=m(this,t,0,1).times(t),a=!0,this.minus(e)):P(new r(this),n)},d.naturalExponential=d.exp=function(){return g(this)},d.naturalLogarithm=d.ln=function(){return j(this)},d.negated=d.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},d.plus=d.add=function(t){return t=new this.constructor(t),this.s==t.s?h(this,t):A(this,(t.s=-t.s,t))},d.precision=d.sd=function(t){var e,r,n;if(void 0!==t&&!!t!==t&&1!==t&&0!==t)throw Error(u+t);if(e=O(this)+1,r=7*(n=this.d.length-1)+1,n=this.d[n]){for(;n%10==0;n/=10)r--;for(n=this.d[0];n>=10;n/=10)r++}return t&&e>r?e:r},d.squareRoot=d.sqrt=function(){var t,e,r,n,o,i,u,l=this.constructor;if(this.s<1){if(!this.s)return new l(0);throw Error(c+"NaN")}for(t=O(this),a=!1,0==(o=Math.sqrt(+this))||o==1/0?(((e=b(this.d)).length+t)%2==0&&(e+="0"),o=Math.sqrt(e),t=s((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=u=(r=l.precision)+3;;)if(n=(i=n).plus(m(this,i,u+2)).times(.5),b(i.d).slice(0,u)===(e=b(n.d)).slice(0,u)){if(e=e.slice(u-3,u+1),o==u&&"4999"==e){if(P(i,r+1,0),i.times(i).eq(this)){n=i;break}}else if("9999"!=e)break;u+=4}return a=!0,P(n,r)},d.times=d.mul=function(t){var e,r,n,o,i,c,u,l,s,f=this.constructor,p=this.d,y=(t=new f(t)).d;if(!this.s||!t.s)return new f(0);for(t.s*=this.s,r=this.e+t.e,(l=p.length)<(s=y.length)&&(i=p,p=y,y=i,c=l,l=s,s=c),i=[],n=c=l+s;n--;)i.push(0);for(n=s;--n>=0;){for(e=0,o=l+n;o>n;)u=i[o]+y[n]*p[o-n-1]+e,i[o--]=u%1e7|0,e=u/1e7|0;i[o]=(i[o]+e)%1e7|0}for(;!i[--c];)i.pop();return e?++r:i.shift(),t.d=i,t.e=r,a?P(t,f.precision):t},d.toDecimalPlaces=d.todp=function(t,e){var r=this,n=r.constructor;return(r=new n(r),void 0===t)?r:(v(t,0,1e9),void 0===e?e=n.rounding:v(e,0,8),P(r,t+O(r)+1,e))},d.toExponential=function(t,e){var r,n=this,o=n.constructor;return void 0===t?r=E(n,!0):(v(t,0,1e9),void 0===e?e=o.rounding:v(e,0,8),r=E(n=P(new o(n),t+1,e),!0,t+1)),r},d.toFixed=function(t,e){var r,n,o=this.constructor;return void 0===t?E(this):(v(t,0,1e9),void 0===e?e=o.rounding:v(e,0,8),r=E((n=P(new o(this),t+O(this)+1,e)).abs(),!1,t+O(n)+1),this.isneg()&&!this.isZero()?"-"+r:r)},d.toInteger=d.toint=function(){var t=this.constructor;return P(new t(this),O(this)+1,t.rounding)},d.toNumber=function(){return+this},d.toPower=d.pow=function(t){var e,r,n,i,u,l,f=this,p=f.constructor,y=+(t=new p(t));if(!t.s)return new p(o);if(!(f=new p(f)).s){if(t.s<1)throw Error(c+"Infinity");return f}if(f.eq(o))return f;if(n=p.precision,t.eq(o))return P(f,n);if(l=(e=t.e)>=(r=t.d.length-1),u=f.s,l){if((r=y<0?-y:y)<=0x1fffffffffffff){for(i=new p(o),e=Math.ceil(n/7+4),a=!1;r%2&&k((i=i.times(f)).d,e),0!==(r=s(r/2));)k((f=f.times(f)).d,e);return a=!0,t.s<0?new p(o).div(i):P(i,n)}}else if(u<0)throw Error(c+"NaN");return u=u<0&&1&t.d[Math.max(e,r)]?-1:1,f.s=1,a=!1,i=t.times(j(f,n+12)),a=!0,(i=g(i)).s=u,i},d.toPrecision=function(t,e){var r,n,o=this,i=o.constructor;return void 0===t?(r=O(o),n=E(o,r<=i.toExpNeg||r>=i.toExpPos)):(v(t,1,1e9),void 0===e?e=i.rounding:v(e,0,8),r=O(o=P(new i(o),t,e)),n=E(o,t<=r||r<=i.toExpNeg,t)),n},d.toSignificantDigits=d.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(v(t,1,1e9),void 0===e?e=r.rounding:v(e,0,8)),P(new r(this),t,e)},d.toString=d.valueOf=d.val=d.toJSON=function(){var t=O(this),e=this.constructor;return E(this,t<=e.toExpNeg||t>=e.toExpPos)};var m=function(){function t(t,e){var r,n=0,o=t.length;for(t=t.slice();o--;)r=t[o]*e+n,t[o]=r%1e7|0,n=r/1e7|0;return n&&t.unshift(n),t}function e(t,e,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;o<r;o++)if(t[o]!=e[o]){i=t[o]>e[o]?1:-1;break}return i}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=+(t[r]<e[r]),t[r]=1e7*n+t[r]-e[r];for(;!t[0]&&t.length>1;)t.shift()}return function(n,o,i,a){var u,l,s,f,p,y,d,h,v,b,m,g,x,w,j,S,A,E,k=n.constructor,T=n.s==o.s?1:-1,M=n.d,I=o.d;if(!n.s)return new k(n);if(!o.s)throw Error(c+"Division by zero");for(s=0,l=n.e-o.e,A=I.length,j=M.length,h=(d=new k(T)).d=[];I[s]==(M[s]||0);)++s;if(I[s]>(M[s]||0)&&--l,(g=null==i?i=k.precision:a?i+(O(n)-O(o))+1:i)<0)return new k(0);if(g=g/7+2|0,s=0,1==A)for(f=0,I=I[0],g++;(s<j||f)&&g--;s++)x=1e7*f+(M[s]||0),h[s]=x/I|0,f=x%I|0;else{for((f=1e7/(I[0]+1)|0)>1&&(I=t(I,f),M=t(M,f),A=I.length,j=M.length),w=A,b=(v=M.slice(0,A)).length;b<A;)v[b++]=0;(E=I.slice()).unshift(0),S=I[0],I[1]>=1e7/2&&++S;do f=0,(u=e(I,v,A,b))<0?(m=v[0],A!=b&&(m=1e7*m+(v[1]||0)),(f=m/S|0)>1?(f>=1e7&&(f=1e7-1),y=(p=t(I,f)).length,b=v.length,1==(u=e(p,v,y,b))&&(f--,r(p,A<y?E:I,y))):(0==f&&(u=f=1),p=I.slice()),(y=p.length)<b&&p.unshift(0),r(v,p,b),-1==u&&(b=v.length,(u=e(I,v,A,b))<1&&(f++,r(v,A<b?E:I,b))),b=v.length):0===u&&(f++,v=[0]),h[s++]=f,u&&v[0]?v[b++]=M[w]||0:(v=[M[w]],b=1);while((w++<j||void 0!==v[0])&&g--)}return h[0]||h.shift(),d.e=l,P(d,a?i+O(d)+1:i)}}();function g(t,e){var r,n,i,c,u,s=0,p=0,y=t.constructor,d=y.precision;if(O(t)>16)throw Error(l+O(t));if(!t.s)return new y(o);for(null==e?(a=!1,u=d):u=e,c=new y(.03125);t.abs().gte(.1);)t=t.times(c),p+=5;for(u+=Math.log(f(2,p))/Math.LN10*2+5|0,r=n=i=new y(o),y.precision=u;;){if(n=P(n.times(t),u),r=r.times(++s),b((c=i.plus(m(n,r,u))).d).slice(0,u)===b(i.d).slice(0,u)){for(;p--;)i=P(i.times(i),u);return y.precision=d,null==e?(a=!0,P(i,d)):i}i=c}}function O(t){for(var e=7*t.e,r=t.d[0];r>=10;r/=10)e++;return e}function x(t,e,r){if(e>t.LN10.sd())throw a=!0,r&&(t.precision=r),Error(c+"LN10 precision limit exceeded");return P(new t(t.LN10),e)}function w(t){for(var e="";t--;)e+="0";return e}function j(t,e){var r,n,i,u,l,s,f,p,y,d=1,h=t,v=h.d,g=h.constructor,w=g.precision;if(h.s<1)throw Error(c+(h.s?"NaN":"-Infinity"));if(h.eq(o))return new g(0);if(null==e?(a=!1,p=w):p=e,h.eq(10))return null==e&&(a=!0),x(g,p);if(g.precision=p+=10,n=(r=b(v)).charAt(0),!(15e14>Math.abs(u=O(h))))return f=x(g,p+2,w).times(u+""),h=j(new g(n+"."+r.slice(1)),p-10).plus(f),g.precision=w,null==e?(a=!0,P(h,w)):h;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=b((h=h.times(t)).d)).charAt(0),d++;for(u=O(h),n>1?(h=new g("0."+r),u++):h=new g(n+"."+r.slice(1)),s=l=h=m(h.minus(o),h.plus(o),p),y=P(h.times(h),p),i=3;;){if(l=P(l.times(y),p),b((f=s.plus(m(l,new g(i),p))).d).slice(0,p)===b(s.d).slice(0,p))return s=s.times(2),0!==u&&(s=s.plus(x(g,p+2,w).times(u+""))),s=m(s,new g(d),p),g.precision=w,null==e?(a=!0,P(s,w)):s;s=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,t.e=s((r=r-n-1)/7),t.d=[],n=(r+1)%7,r<0&&(n+=7),n<o){for(n&&t.d.push(+e.slice(0,n)),o-=7;n<o;)t.d.push(+e.slice(n,n+=7));n=7-(e=e.slice(n)).length}else n-=o;for(;n--;)e+="0";if(t.d.push(+e),a&&(t.e>y||t.e<-y))throw Error(l+r)}else t.s=0,t.e=0,t.d=[0];return t}function P(t,e,r){var n,o,i,c,u,p,d,h,v=t.d;for(c=1,i=v[0];i>=10;i/=10)c++;if((n=e-c)<0)n+=7,o=e,d=v[h=0];else{if((h=Math.ceil((n+1)/7))>=(i=v.length))return t;for(c=1,d=i=v[h];i>=10;i/=10)c++;n%=7,o=n-7+c}if(void 0!==r&&(u=d/(i=f(10,c-o-1))%10|0,p=e<0||void 0!==v[h+1]||d%i,p=r<4?(u||p)&&(0==r||r==(t.s<0?3:2)):u>5||5==u&&(4==r||p||6==r&&(n>0?o>0?d/f(10,c-o):0:v[h-1])%10&1||r==(t.s<0?8:7))),e<1||!v[0])return p?(i=O(t),v.length=1,e=e-i-1,v[0]=f(10,(7-e%7)%7),t.e=s(-e/7)||0):(v.length=1,v[0]=t.e=t.s=0),t;if(0==n?(v.length=h,i=1,h--):(v.length=h+1,i=f(10,7-n),v[h]=o>0?(d/f(10,c-o)%f(10,o)|0)*i:0),p)for(;;)if(0==h){1e7==(v[0]+=i)&&(v[0]=1,++t.e);break}else{if(v[h]+=i,1e7!=v[h])break;v[h--]=0,i=1}for(n=v.length;0===v[--n];)v.pop();if(a&&(t.e>y||t.e<-y))throw Error(l+O(t));return t}function A(t,e){var r,n,o,i,c,u,l,s,f,p,y=t.constructor,d=y.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new y(t),a?P(e,d):e;if(l=t.d,p=e.d,n=e.e,s=t.e,l=l.slice(),c=s-n){for((f=c<0)?(r=l,c=-c,u=p.length):(r=p,n=s,u=l.length),c>(o=Math.max(Math.ceil(d/7),u)+2)&&(c=o,r.length=1),r.reverse(),o=c;o--;)r.push(0);r.reverse()}else{for((f=(o=l.length)<(u=p.length))&&(u=o),o=0;o<u;o++)if(l[o]!=p[o]){f=l[o]<p[o];break}c=0}for(f&&(r=l,l=p,p=r,e.s=-e.s),u=l.length,o=p.length-u;o>0;--o)l[u++]=0;for(o=p.length;o>c;){if(l[--o]<p[o]){for(i=o;i&&0===l[--i];)l[i]=1e7-1;--l[i],l[o]+=1e7}l[o]-=p[o]}for(;0===l[--u];)l.pop();for(;0===l[0];l.shift())--n;return l[0]?(e.d=l,e.e=n,a?P(e,d):e):new y(0)}function E(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)+w(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+w(-o-1)+i,r&&(n=r-a)>0&&(i+=w(n))):o>=a?(i+=w(o+1-a),r&&(n=r-o-1)>0&&(i=i+"."+w(n))):((n=o+1)<a&&(i=i.slice(0,n)+"."+i.slice(n)),r&&(n=r-a)>0&&(o+1===a&&(i+="."),i+=w(n))),t.s<0?"-"+i:i}function k(t,e){if(t.length>e)return t.length=e,!0}function T(t){if(!t||"object"!=typeof t)throw Error(c+"Object expected");var e,r,n,o=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<o.length;e+=3)if(void 0!==(n=t[r=o[e]]))if(s(n)===n&&n>=o[e+1]&&n<=o[e+2])this[r]=n;else throw Error(u+r+": "+n);if(void 0!==(n=t[r="LN10"]))if(n==Math.LN10)this[r]=new this(n);else throw Error(u+r+": "+n);return this}(i=function t(e){var r,n,o;function i(t){if(!(this instanceof i))return new i(t);if(this.constructor=i,t instanceof i){this.s=t.s,this.e=t.e,this.d=(t=t.d)?t.slice():t;return}if("number"==typeof t){if(0*t!=0)throw Error(u+t);if(t>0)this.s=1;else if(t<0)t=-t,this.s=-1;else{this.s=0,this.e=0,this.d=[0];return}if(t===~~t&&t<1e7){this.e=0,this.d=[t];return}return S(this,t.toString())}if("string"!=typeof t)throw Error(u+t);if(45===t.charCodeAt(0)?(t=t.slice(1),this.s=-1):this.s=1,p.test(t))S(this,t);else throw Error(u+t)}if(i.prototype=d,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=t,i.config=i.set=T,void 0===e&&(e={}),e)for(r=0,o=["precision","rounding","toExpNeg","toExpPos","LN10"];r<o.length;)e.hasOwnProperty(n=o[r++])||(e[n]=this[n]);return i.config(e),i}(i)).default=i.Decimal=i,o=new i(1),void 0===(n=(function(){return i}).call(e,r,e,t))||(t.exports=n)}()},92612:(t,e,r)=>{var n=r(29707),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},93017:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(43200).A)("coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]])},93064:(t,e,r)=>{t.exports=r(94836).Symbol},93200:(t,e,r)=>{var n=r(29707),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}},93340:(t,e,r)=>{var n=r(68776),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),u=Array(c);++a<c;)u[a]=i[e+a];a=-1;for(var l=Array(e+1);++a<e;)l[a]=i[a];return l[e]=r(u),n(t,this,l)}}},93625:(t,e,r)=>{"use strict";r.d(e,{J:()=>P});var n=r(91356),o=r(23258),i=r.n(o),a=r(42971),c=r.n(a),u=r(75124),l=r.n(u),s=r(28900),f=r(47620),p=r(19286),y=r(49943),d=r(84755);function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var v=["offset"];function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function m(t,e){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){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=h(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=h(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==h(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function O(){return(O=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var x=function(t){var e=t.value,r=t.formatter,n=i()(t.children)?e:t.children;return c()(r)?r(n):n},w=function(t,e,r){var o,a,c=t.position,u=t.viewBox,l=t.offset,f=t.className,p=u.cx,h=u.cy,v=u.innerRadius,b=u.outerRadius,m=u.startAngle,g=u.endAngle,x=u.clockWise,w=(v+b)/2,j=(0,y.sA)(g-m)*Math.min(Math.abs(g-m),360),S=j>=0?1:-1;"insideStart"===c?(o=m+S*l,a=x):"insideEnd"===c?(o=g-S*l,a=!x):"end"===c&&(o=g+S*l,a=x),a=j<=0?a:!a;var P=(0,d.IZ)(p,h,w,o),A=(0,d.IZ)(p,h,w,o+(a?1:-1)*359),E="M".concat(P.x,",").concat(P.y,"\n A").concat(w,",").concat(w,",0,1,").concat(+!a,",\n ").concat(A.x,",").concat(A.y),k=i()(t.id)?(0,y.NF)("recharts-radial-line-"):t.id;return n.createElement("text",O({},r,{dominantBaseline:"central",className:(0,s.A)("recharts-radial-bar-label",f)}),n.createElement("defs",null,n.createElement("path",{id:k,d:E})),n.createElement("textPath",{xlinkHref:"#".concat(k)},e))},j=function(t){var e=t.viewBox,r=t.offset,n=t.position,o=e.cx,i=e.cy,a=e.innerRadius,c=e.outerRadius,u=(e.startAngle+e.endAngle)/2;if("outside"===n){var l=(0,d.IZ)(o,i,c+r,u),s=l.x;return{x:s,y:l.y,textAnchor:s>=o?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"end"};var f=(0,d.IZ)(o,i,(a+c)/2,u);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}},S=function(t){var e=t.viewBox,r=t.parentViewBox,n=t.offset,o=t.position,i=e.x,a=e.y,c=e.width,u=e.height,s=u>=0?1:-1,f=s*n,p=s>0?"end":"start",d=s>0?"start":"end",h=c>=0?1:-1,v=h*n,b=h>0?"end":"start",m=h>0?"start":"end";if("top"===o)return g(g({},{x:i+c/2,y:a-s*n,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(a-r.y,0),width:c}:{});if("bottom"===o)return g(g({},{x:i+c/2,y:a+u+f,textAnchor:"middle",verticalAnchor:d}),r?{height:Math.max(r.y+r.height-(a+u),0),width:c}:{});if("left"===o){var O={x:i-v,y:a+u/2,textAnchor:b,verticalAnchor:"middle"};return g(g({},O),r?{width:Math.max(O.x-r.x,0),height:u}:{})}if("right"===o){var x={x:i+c+v,y:a+u/2,textAnchor:m,verticalAnchor:"middle"};return g(g({},x),r?{width:Math.max(r.x+r.width-x.x,0),height:u}:{})}var w=r?{width:c,height:u}:{};return"insideLeft"===o?g({x:i+v,y:a+u/2,textAnchor:m,verticalAnchor:"middle"},w):"insideRight"===o?g({x:i+c-v,y:a+u/2,textAnchor:b,verticalAnchor:"middle"},w):"insideTop"===o?g({x:i+c/2,y:a+f,textAnchor:"middle",verticalAnchor:d},w):"insideBottom"===o?g({x:i+c/2,y:a+u-f,textAnchor:"middle",verticalAnchor:p},w):"insideTopLeft"===o?g({x:i+v,y:a+f,textAnchor:m,verticalAnchor:d},w):"insideTopRight"===o?g({x:i+c-v,y:a+f,textAnchor:b,verticalAnchor:d},w):"insideBottomLeft"===o?g({x:i+v,y:a+u-f,textAnchor:m,verticalAnchor:p},w):"insideBottomRight"===o?g({x:i+c-v,y:a+u-f,textAnchor:b,verticalAnchor:p},w):l()(o)&&((0,y.Et)(o.x)||(0,y._3)(o.x))&&((0,y.Et)(o.y)||(0,y._3)(o.y))?g({x:i+(0,y.F4)(o.x,c),y:a+(0,y.F4)(o.y,u),textAnchor:"end",verticalAnchor:"end"},w):g({x:i+c/2,y:a+u/2,textAnchor:"middle",verticalAnchor:"middle"},w)};function P(t){var e,r=t.offset,o=g({offset:void 0===r?5:r},function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,v)),a=o.viewBox,u=o.position,l=o.value,d=o.children,h=o.content,b=o.className,m=o.textBreakAll;if(!a||i()(l)&&i()(d)&&!(0,n.isValidElement)(h)&&!c()(h))return null;if((0,n.isValidElement)(h))return(0,n.cloneElement)(h,o);if(c()(h)){if(e=(0,n.createElement)(h,o),(0,n.isValidElement)(e))return e}else e=x(o);var P="cx"in a&&(0,y.Et)(a.cx),A=(0,p.J9)(o,!0);if(P&&("insideStart"===u||"insideEnd"===u||"end"===u))return w(o,e,A);var E=P?j(o):S(o);return n.createElement(f.E,O({className:(0,s.A)("recharts-label",void 0===b?"":b)},A,E,{breakAll:m}),e)}P.displayName="Label";var A=function(t){var e=t.cx,r=t.cy,n=t.angle,o=t.startAngle,i=t.endAngle,a=t.r,c=t.radius,u=t.innerRadius,l=t.outerRadius,s=t.x,f=t.y,p=t.top,d=t.left,h=t.width,v=t.height,b=t.clockWise,m=t.labelViewBox;if(m)return m;if((0,y.Et)(h)&&(0,y.Et)(v)){if((0,y.Et)(s)&&(0,y.Et)(f))return{x:s,y:f,width:h,height:v};if((0,y.Et)(p)&&(0,y.Et)(d))return{x:p,y:d,width:h,height:v}}return(0,y.Et)(s)&&(0,y.Et)(f)?{x:s,y:f,width:0,height:0}:(0,y.Et)(e)&&(0,y.Et)(r)?{cx:e,cy:r,startAngle:o||n||0,endAngle:i||n||0,innerRadius:u||0,outerRadius:l||c||a||0,clockWise:b}:t.viewBox?t.viewBox:{}};P.parseViewBox=A,P.renderCallByParent=function(t,e){var r,o,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&i&&!t.label)return null;var a=t.children,u=A(t),s=(0,p.aS)(a,P).map(function(t,r){return(0,n.cloneElement)(t,{viewBox:e||u,key:"label-".concat(r)})});if(!i)return s;return[(r=t.label,o=e||u,!r?null:!0===r?n.createElement(P,{key:"label-implicit",viewBox:o}):(0,y.vh)(r)?n.createElement(P,{key:"label-implicit",viewBox:o,value:r}):(0,n.isValidElement)(r)?r.type===P?(0,n.cloneElement)(r,{key:"label-implicit",viewBox:o}):n.createElement(P,{key:"label-implicit",content:r,viewBox:o}):c()(r)?n.createElement(P,{key:"label-implicit",content:r,viewBox:o}):l()(r)?n.createElement(P,O({viewBox:o},r,{key:"label-implicit"})):null)].concat(function(t){if(Array.isArray(t))return b(t)}(s)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(s)||function(t){if(t){if("string"==typeof t)return b(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return b(t,void 0)}}(s)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}},94836:(t,e,r)=>{var n=r(64225),o="object"==typeof self&&self&&self.Object===Object&&self;t.exports=n||o||Function("return this")()},94993:(t,e,r)=>{var n=r(54666);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},95950:(t,e,r)=>{var n=r(12628),o=r(6526),i=r(98971),a=r(14788);t.exports=function(t){return i(t)?n(a(t)):o(t)}},96326:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},96953:(t,e,r)=>{var n,o=r(40248),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},97019:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},97043:t=>{t.exports=function(t){return t.split("")}},97104:(t,e,r)=>{var n=r(74475);t.exports=r(76298)(n)},97171:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},97194:(t,e,r)=>{var n=r(93064),o=r(10245),i=r(57800),a=n?n.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},98171: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 TypeError("The listener must be a function");var c=new o(n,i||t,a),u=r?r+e:e;return t._events[u]?t._events[u].fn?t._events[u]=[t._events[u],c]:t._events[u].push(c):(t._events[u]=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=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 u,l,s=this._events[c],f=arguments.length;if(s.fn){switch(s.once&&this.removeListener(t,s.fn,void 0,!0),f){case 1:return s.fn.call(s.context),!0;case 2:return s.fn.call(s.context,e),!0;case 3:return s.fn.call(s.context,e,n),!0;case 4:return s.fn.call(s.context,e,n,o),!0;case 5:return s.fn.call(s.context,e,n,o,i),!0;case 6:return s.fn.call(s.context,e,n,o,i,a),!0}for(l=1,u=Array(f-1);l<f;l++)u[l-1]=arguments[l];s.fn.apply(s.context,u)}else{var p,y=s.length;for(l=0;l<y;l++)switch(s[l].once&&this.removeListener(t,s[l].fn,void 0,!0),f){case 1:s[l].fn.call(s[l].context);break;case 2:s[l].fn.call(s[l].context,e);break;case 3:s[l].fn.call(s[l].context,e,n);break;case 4:s[l].fn.call(s[l].context,e,n,o);break;default:if(!u)for(p=1,u=Array(f-1);p<f;p++)u[p-1]=arguments[p];s[l].fn.apply(s[l].context,u)}}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 u=0,l=[],s=c.length;u<s;u++)(c[u].fn!==e||o&&!c[u].once||n&&c[u].context!==n)&&l.push(c[u]);l.length?this._events[i]=1===l.length?l[0]:l: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},98971:(t,e,r)=>{var n=r(57800),o=r(4291),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)}},99490:(t,e,r)=>{var n=r(48737),o=r(3459);t.exports=function(t,e){return n(o(t,e),1)}},99509:(t,e,r)=>{t.exports=r(73135)(r(94836),"Promise")},99555:(t,e,r)=>{var n=r(77337);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)}},99645:(t,e,r)=>{var n=r(86151);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},99717:(t,e,r)=>{"use strict";r.d(e,{m:()=>n});var n={isSsr:!("u">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]})}}}}}]);