PageSourceSearch

https://snklp.ai/_next/static/chunks/1708.6295e6d4e3c79c94.js

js snklp.ai collected 2026-10-05 15:07:46 UTC 494,462 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1708],{1807:(t,e,r)=>{var n=r(82455),o=r(42493),i=r(31326),a=r(76917);t.exports=function(t){return i(t)?n(a(t)):o(t)}},3489: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)}}},4651:t=>{t.exports=function(t){return t!=t}},4816:(t,e,r)=>{var n=r(66126);t.exports=function(t){var e=n(t,function(t){return 500===r.size&&r.clear(),t}),r=e.cache;return e}},6407:(t,e,r)=>{var n=r(16815);t.exports=r(24567)(n)},6453:t=>{t.exports=function(t,e){for(var r,n=-1,o=t.length;++n<o;){var i=e(t[n]);void 0!==i&&(r=void 0===r?i:r+i)}return r}},6745:(t,e,r)=>{var n=r(70300);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}},7291:(t,e,r)=>{var n=r(69079),o=r(15834),i=r(29101);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)}}},7745:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},8082:(t,e,r)=>{var n=r(83642),o=r(98134),i=r(74633),a=r(31326),c=r(76462),u=r(29101),l=r(76917);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)}}},8186:t=>{t.exports=function(){}},8524: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}},9142:(t,e,r)=>{var n=r(21187),o=r(25902),i=r(25411),a=r(70637),c=r(35206),u=r(76917);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))}},9403:(t,e,r)=>{var n=r(36772),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 h=c.get(t),y=c.get(e);if(h&&y)return h==e&&y==t;var d=!0;c.set(t,e),c.set(e,t);for(var v=u;++f<s;){var m=t[p=l[f]],b=e[p];if(i)var g=u?i(b,m,p,e,t,c):i(m,b,p,t,e,c);if(!(void 0===g?m===b||a(m,b,r,i,c):g)){d=!1;break}v||(v="constructor"==p)}if(d&&!v){var x=t.constructor,O=e.constructor;x!=O&&"constructor"in t&&"constructor"in e&&!("function"==typeof x&&x instanceof x&&"function"==typeof O&&O instanceof O)&&(d=!1)}return c.delete(t),c.delete(e),d}},9735:(t,e,r)=>{var n=r(80942),o=r(26526);t.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==n(t)}},10883:(t,e,r)=>{var n=r(95918),o=r(57716),i=r(71624),a=r(32438);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}}},11089:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},11428:(t,e,r)=>{var n=r(90176),o=r(60239),i=r(84729);t.exports=function(t,e){return i(o(t,e,n),t+"")}},12758:(t,e,r)=>{t.exports=r(19298)()},13132:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e}},13993:(t,e,r)=>{var n=r(16286),o=r(71661),i=r(95295);t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:n(o(t))}},14144:(t,e,r)=>{var n=r(41982),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}},14344:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},14638:(t,e,r)=>{var n=r(21187),o=r(76917);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}},15027:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},15668:(t,e,r)=>{var n=r(63431),o=r(28007),i=r(17719);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},15791:t=>{t.exports=function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}},15834:(t,e,r)=>{var n=r(76462),o=r(91958);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}},15907: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}},16286:(t,e,r)=>{var n=r(26745),o=Object.create;t.exports=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}()},16809:(t,e,r)=>{var n=r(38185);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=+(r.size!=o),this}},16815:(t,e,r)=>
1{var n=r(39089),o=r(91958);t.exports=function(t,e){return t&&n(t,e,o)}},17202:(t,e,r)=>{var n=r(14344),o=r(48908),i=r(70637),a=r(26745);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)}},17719:(t,e,r)=>{t.exports=r(83558)(r(51483),"Map")},18135:(t,e,r)=>{var n=r(14344);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return -1}},18223:(t,e,r)=>{var n=r(91602);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},18683:(t,e,r)=>{var n=r(29887),o=r(4651),i=r(23719);t.exports=function(t,e,r){return e==e?i(t,e,r):n(t,o,r)}},19298:(t,e,r)=>{"use strict";var n=r(53341);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}},20117:(t,e,r)=>{var n=r(37467),o=r(30508);t.exports=function(t,e,r,i){var a=!r;r||(r={});for(var c=-1,u=e.length;++c<u;){var l=e[c],s=i?i(r[l],t[l],l,r,t):void 0;void 0===s&&(s=t[l]),a?o(r,l,s):n(r,l,s)}return r}},21187:(t,e,r)=>{var n=r(25411),o=r(31326),i=r(81864),a=r(32438);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(a(t))}},21457:t=>{t.exports=function(){return!1}},21708:(t,e,r)=>{"use strict";r.r(e),r.d(e,{Area:()=>y8,AreaChart:()=>mx,Bar:()=>p1,BarChart:()=>vO,Brush:()=>pk,CartesianAxis:()=>yp,CartesianGrid:()=>yT,Cell:()=>
1e5,ComposedChart:()=>mw,Cross:()=>sj,Curve:()=>uJ,Customized:()=>us,DefaultLegendContent:()=>ee,DefaultTooltipContent:()=>eS,Dot:()=>sb,ErrorBar:()=>aQ,Funnel:()=>mX,FunnelChart:()=>mH,Global:()=>eF,Label:()=>c5,LabelList:()=>uc,Layer:()=>tw,Legend:()=>ev,Line:()=>yq,LineChart:()=>vx,Pie:()=>fR,PieChart:()=>vw,PolarAngleAxis:()=>ft,PolarGrid:()=>sI,PolarRadiusAxis:()=>sJ,Polygon:()=>sv,Radar:()=>fY,RadarChart:()=>mb,RadialBar:()=>pc,RadialBarChart:()=>mO,Rectangle:()=>sc,ReferenceArea:()=>h1,ReferenceDot:()=>hK,ReferenceLine:()=>hD,ResponsiveContainer:()=>e3,Sankey:()=>mm,Scatter:()=>dm,ScatterChart:()=>mg,Sector:()=>ug,SunburstChart:()=>mk,Surface:()=>tg,Symbols:()=>t2,Text:()=>rk,Tooltip:()=>eY,Trapezoid:()=>fp,Treemap:()=>vV,XAxis:()=>dP,YAxis:()=>dN,ZAxis:()=>dr});var n,o,i,a,c,u,l,s={};r.r(s),r.d(s,{scaleBand:()=>rR,scaleDiverging:()=>function t(){var e=nY(ao()(nC));return e.copy=function(){return ae(e,t())},rM.apply(e,arguments)},scaleDivergingLog:()=>function t(){var e=n8(ao()).domain([.1,1,10]);return e.copy=function(){return ae(e,t()).base(e.base())},rM.apply(e,arguments)},scaleDivergingPow:()=>ai,scaleDivergingSqrt:()=>aa,scaleDivergingSymlog:()=>function t(){var e=n7(ao());return e.copy=function(){return ae(e,t()).constant(e.constant())},rM.apply(e,arguments)},scaleIdentity:()=>function t(e){var r;function n(t){return null==t||isNaN(t*=1)?r:t}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,nM),n):e.slice()},n.unknown=function(t){return arguments.length?(r=t,n):r},n.copy=function(){return t(e).unknown(r)},e=arguments.length?Array.from(e,nM):[0,1],nY(n)},scaleImplicit:()=>rI,scaleLinear:()=>nZ,scaleLog:()=>function t(){let e=n8(nB()).domain([1,10]);return e.copy=()=>nR(e,t()).base(e.base()),rT.apply(e,arguments),e},scaleOrdinal:()=>rN,scalePoint:()=>rB,scalePow:()=>on,scaleQuantile:()=>function t(){var e,r=[],n=[],o=[];function i(){var t=0,e=Math.max(1,n.length);for(o=Array(e-1);++t<e;)o[t-1]=function(t,e,r=rG){if(!(!(n=t.length)||isNaN(e*=1))){if(e<=0||n<2)return+r(t[0],0,t);if(e>=1)return+r(t[n-1],n-1,t);var n,o=(n-1)*e,i=Math.floor(o),a=+r(t[i],i,t);return a+(r(t[i+1],i+1,t)-a)*(o-i)}}(r,t/e);return a}function a(t){return null==t||isNaN(t*=1)?e:n[rZ(o,t)]}return a.invertExtent=function(t){var e=n.indexOf(t);return e<0?[NaN,NaN]:[e>0?o[e-1]:r[0],e<o.length?o[e]:r[r.length-1]]},a.domain=function(t){if(!arguments.length)return r.slice();for(let e of(r=[],t))null==e||isNaN(e*=1)||r.push(e);return r.sort(rq),i()},a.range=function(t){return arguments.length?(n=Array.from(t),i()):n.slice()},a.unknown=function(t){return arguments.length?(e=t,a):e},a.quantiles=function(){return o.slice()},a.copy=function(){return t().domain(r).range(n).unknown(e)},rT.apply(a,arguments)},scaleQuantize:()=>function t(){var e,r=0,n=1,o=1,i=[.5],a=[0,1];function c(t){return null!=t&&t<=t?a[rZ(i,t,0,o)]:e}function u(){var t=-1;for(i=Array(o);++t<o;)i[t]=((t+1)*n-(t-o)*r)/(o+1);return c}return c.domain=function(t){return arguments.length?([r,n]=t,r*=1,n*=1,u()):[r,n]},c.range=function(t){return arguments.length?(o=(a=Array.from(t)).length-1,u()):a.slice()},c.invertExtent=function(t){var e=a.indexOf(t);return e<0?[NaN,NaN]:e<1?[r,i[0]]:e>=o?[i[o-1],n]:[i[e-1],i[e]]},c.unknown=function(t){return arguments.length&&(e=t),c},c.thresholds=function(){return i.slice()},c.copy=function(){return t().domain([r,n]).range(a).unknown(e)},rT.apply(nY(c),arguments)},scaleRadial:()=>function t(){var e,r=nL(),n=[0,1],o=!1;function i(t){var n,i=Math.sign(n=r(t))*Math.sqrt(Math.abs(n));return isNaN(i)?e:o?Math.round(i):i}return i.invert=function(t){return r.invert(oi(t))},i.domain=function(t){return arguments.length?(r.domain(t),i):r.domain()},i.range=function(t){return arguments.length?(r.range((n=Array.from(t,nM)).map(oi)),i):n.slice()},i.rangeRound=function(t){return i.range(t).round(!0)},i.round=function(t){return arguments.length?(o=!!t,i):o},i.clamp=function(t){return arguments.length?(r.clamp(t),i):r.clamp()},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return t(r.domain(),n).round(o).clamp(r.clamp()).unknown(e)},rT.apply(i,arguments),nY(i)},scaleSequential:()=>function t(){var e=nY(at()(nC));return e.copy=function(){return ae(e,t())},rM.apply(e,arguments)},scaleSequentialLog:()=>function t(){var e=n8(at()).domain([1,10]);return e.copy=function(){return ae(e,t()).base(e.base())},rM.apply(e,arguments)},scaleSequentialPow:()=>ar,scaleSequentialQuantile:()=>function t(){var e=[],r=nC;function n(t){if(null!=t&&!isNaN(t*=1))return r((rZ(e,t,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();for(let r of(e=[],t))null==r||isNaN(r*=1)||e.push(r);return e.sort(rq),n},n.interpolator=function(t){return arguments.length?(r=t,n):r},n.range=function(){return e.map((t,n)=>r(n/(e.length-1)))},n.quantiles=function(t){return Array.from({length:t+1},(r,n)=>(function(t,e,r){if(!(!(n=(t=Float64Array.from(function*(t,e){if(void 0===e)for(let e of t)null!=e&&(e*=1)>=e&&(yield e);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(n*=1)>=n&&(yield n)}}(t,void 0))).length)||isNaN(e*=1))){if(e<=0||n<2)return oc(t);if(e>=1)return oa(t);var n,o=(n-1)*e,i=Math.floor(o),a=oa((function t(e,r,n=0,o=1/0,i){if
1(r=Math.floor(r),n=Math.floor(Math.max(0,n)),o=Math.floor(Math.min(e.length-1,o)),!(n<=r&&r<=o))return e;for(i=void 0===i?ou:function(t=rq){if(t===rq)return ou;if("function"!=typeof t)throw TypeError("compare is not a function");return(e,r)=>{let n=t(e,r);return n||0===n?n:(0===t(r,r))-(0===t(e,e))}}(i);o>n;){if(o-n>600){let a=o-n+1,c=r-n+1,u=Math.log(a),l=.5*Math.exp(2*u/3),s=.5*Math.sqrt(u*l*(a-l)/a)*(c-a/2<0?-1:1),f=Math.max(n,Math.floor(r-c*l/a+s)),p=Math.min(o,Math.floor(r+(a-c)*l/a+s));t(e,r,f,p,i)}let a=e[r],c=n,u=o;for(ol(e,n,r),i(e[o],a)>0&&ol(e,n,o);c<u;){for(ol(e,c,u),++c,--u;0>i(e[c],a);)++c;for(;i(e[u],a)>0;)--u}0===i(e[n],a)?ol(e,n,u):ol(e,++u,o),u<=r&&(n=u+1),r<=u&&(o=u-1)}return e})(t,i).subarray(0,i+1));return a+(oc(t.subarray(i+1))-a)*(o-i)}})(e,n/t))},n.copy=function(){return t(r).domain(e)},rM.apply(n,arguments)},scaleSequentialSqrt:()=>an,scaleSequentialSymlog:()=>function t(){var e=n7(at());return e.copy=function(){return ae(e,t()).constant(e.constant())},rM.apply(e,arguments)},scaleSqrt:()=>oo,scaleSymlog:()=>function t(){var e=n7(nB());return e.copy=function(){return nR(e,t()).constant(e.constant())},rT.apply(e,arguments)},scaleThreshold:()=>function t(){var e,r=[.5],n=[0,1],o=1;function i(t){return null!=t&&t<=t?n[rZ(r,t,0,o)]:e}return i.domain=function(t){return arguments.length?(o=Math.min((r=Array.from(t)).length,n.length-1),i):r.slice()},i.range=function(t){return arguments.length?(n=Array.from(t),o=Math.min(r.length,n.length-1),i):n.slice()},i.invertExtent=function(t){var e=n.indexOf(t);return[r[e-1],r[e]]},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return t().domain(r).range(n).unknown(e)},rT.apply(i,arguments)},scaleTime:()=>i7,scaleUtc:()=>i9,tickFormat:()=>nG});var f=r(12115),p=r(2821),h=r(98134),y=r.n(h),d=r(80385),v=r.n(d),m=r(74743),b=r.n(m),g=r(71730),x=r.n(g),O=r(26745),w=r.n(O),j=r(96061),A=r(32323),S=r.n(A),P=r(9735),E=r.n(P),k=function(t){return 0===t?0:t>0?1:-1},T=function(t){return b()(t)&&t.indexOf("%")===t.length-1},M=function(t){return E()(t)&&!S()(t)},_=function(t){return M(t)||b()(t)},C=0,D=function(t){var e=++C;return"".concat(t||"").concat(e)},I=function(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!M(t)&&!b()(t))return n;if(T(t)){var i=t.indexOf("%");r=e*parseFloat(t.slice(0,i))/100}else r=+t;return S()(r)&&(r=n),o&&r>e&&(r=e),r},N=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},R=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},B=function(t,e){return M(t)&&M(e)?function(r){return t+r*(e-t)}:function(){return e}};function L(t,e,r){return t&&t.length?t.find(function(t){return t&&("function"==typeof e?e(t):y()(t,e))===r}):null}var z=function(t){if(!t||!t.length)return null;for(var e=t.length,r=0,n=0,o=0,i=0,a=1/0,c=-1/0,u=0,l=0,s=0;s<e;s++)u=t[s].cx||0,l=t[s].cy||0,r+=u,n+=l,o+=u*l,i+=u*u,a=Math.min(a,u),c=Math.max(c,u);var f=e*i!=r*r?(e*o-r*n)/(e*i-r*r):0;return{xmin:a,xmax:c,a:f,b:(n-f*r)/e}},F=function(t,e){return M(t)&&M(e)?t-e:b()(t)&&b()(e)?t.localeCompare(e):t instanceof Date&&e instanceof Date?t.getTime()-e.getTime():String(t).localeCompare(String(e))};function U(t,e){for(var r in t)if(({}).hasOwnProperty.call(t,r)&&(!({}).hasOwnProperty.call(e,r)||t[r]!==e[r]))return!1;for(var n in e)if(({}).hasOwnProperty.call(e,n)&&!({}).hasOwnProperty.call(t,n))return!1;return!0}function 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 $=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRen
1dering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],K=["points","pathLength"],q={svg:["viewBox","children"],polygon:K,polyline:K},V=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDrag
1Capture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],X=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if((0,f.isValidElement)(t)&&(r=t.props),!w()(r))return null;var n={};return Object.keys(r).forEach(function(t){V.includes(t)&&(n[t]=e||function(e){return r[t](r,e)})}),n},H=function(t,e,r){if(!w()(t)||"object"!==W(t))return null;var n=null;return Object.keys(t).forEach(function(o){var i=t[o];V.includes(o)&&"function"==typeof i&&(n||(n={}),n[o]=function(t){return i(e,r,t),null})}),n},G=["children"],Y=["children"];function Z(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 J(t){return(J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Q={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"},tt=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},te=null,tr=null,tn=function t(e){if(e===te&&Array.isArray(tr))return tr;var r=[];return f.Children.forEach(e,function(e){v()(e)||((0,j.isFragment)(e)?r=r.concat(t(e.props.children)):r.push(e))}),tr=r,te=e,r};function to(t,e){var r=[],n=[];return n=Array.isArray(e)?e.map(function(t){return tt(t)}):[tt(e)],tn(t).forEach(function(t){var e=y()(t,"type.displayName")||y()(t,"type.name");-1!==n.indexOf(e)&&r.push(t)}),r}function ti(t,e){var r=to(t,e);return r&&r[0]}var ta=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!!M(r)&&!(r<=0)&&!!M(n)&&!(n<=0)},tc=["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"],tu=function(t){return t&&t.type&&b()(t.type)&&tc.indexOf(t.type)>=0},tl=function(t){return t&&"object"===J(t)&&"clipDot"in t},ts=function(t,e,r,n){var o,i=null!=(o=null==q?void 0:q[n])?o:[];return e.startsWith("data-")||!x()(t)&&(n&&i.includes(e)||$.includes(e))||r&&V.includes(e)},tf=function(t){var e=[];return tn(t).forEach(function(t){tu(t)&&e.push(t)}),e},tp=function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if((0,f.isValidElement)(t)&&(n=t.props),!w()(n))return null;var o={};
1return Object.keys(n).forEach(function(t){var i;ts(null==(i=n)?void 0:i[t],t,e,r)&&(o[t]=n[t])}),o},th=function t(e,r){if(e===r)return!0;var n=f.Children.count(e);if(n!==f.Children.count(r))return!1;if(0===n)return!0;if(1===n)return ty(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(!ty(i,a))return!1}return!0},ty=function(t,e){if(v()(t)&&v()(e))return!0;if(!v()(t)&&!v()(e)){var r=t.props||{},n=r.children,o=Z(r,G),i=e.props||{},a=i.children,c=Z(i,Y);if(n&&a)return U(o,c)&&th(n,a);if(!n&&!a)return U(o,c)}return!1},td=function(t,e){var r=[],n={};return tn(t).forEach(function(t,o){if(tu(t))r.push(t);else if(t){var i=tt(t.type),a=e[i]||{},c=a.handler,u=a.once;if(c&&(!u||!n[i])){var l=c(t,i,o);r.push(l),n[i]=!0}}}),r},tv=function(t){var e=t&&t.type;return e&&Q[e]?Q[e]:null},tm=["children","width","height","viewBox","className","style","title","desc"];function tb(){return(tb=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 tg(t){var e=t.children,r=t.width,n=t.height,o=t.viewBox,i=t.className,a=t.style,c=t.title,u=t.desc,l=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,tm),s=o||{width:r,height:n,x:0,y:0},h=(0,p.A)("recharts-surface",i);return f.createElement("svg",tb({},tp(l,!0,"svg"),{className:h,width:r,height:n,style:a,viewBox:"".concat(s.x," ").concat(s.y," ").concat(s.width," ").concat(s.height)}),f.createElement("title",null,c),f.createElement("desc",null,u),e)}var tx=["children","className"];function tO(){return(tO=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 tw=f.forwardRef(function(t,e){var r=t.children,n=t.className,o=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,tx),i=(0,p.A)("recharts-layer",n);return f.createElement("g",tO({className:i},tp(o,!0),{ref:e}),r)}),tj=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]},tA=r(28568),tS=r.n(tA);let tP=Math.cos,tE=Math.sin,tk=Math.sqrt,tT=Math.PI,tM=2*tT,t_={draw(t,e){let r=tk(e/tT);t.moveTo(r,0),t.arc(0,0,r,0,tM)}},tC=tk(1/3),tD=2*tC,tI=tE(tT/10)/tE(7*tT/10),tN=tE(tM/10)*tI,tR=-tP(tM/10)*tI,tB=tk(3),tL=tk(3)/2,tz=1/tk(12),tF=(tz/2+1)*3;function tU(t){return function(){return t}}let tW=Math.PI,t$=2*tW,tK=t$-1e-6;function tq(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}class tV{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?tq:function(t){let e=Math.floor(t);if(!(e>=0))throw Error(`invalid digits: ${t}`);if(e>15)return tq;let r=10**e;return function(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=Math.round(arguments[e]*r)/r+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,r,n){this._append`Q${+t},${+e},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(t,e,r,n,o,i){this._append`C${+t},${+e},${+r},${+n},${this._x1=+o},${this._y1=+i}`}arcTo(t,e,r,n,o){if(t*=1,e*=1,r*=1,n*=1,(o*=1)<0)throw Error(`negative radius: ${o}`);let i=this._x1,a=this._y1,c=r-t,u=n-e,l=i-t,s=a-e,f=l*l+s*s;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(f>1e-6)if(Math.abs(s*c-u*l)>1e-6&&o){let p=r-i,h=n-a,y=c*c+u*u,d=Math.sqrt(y),v=Math.sqrt(f),m=o*Math.tan((tW-Math.acos((y+f-(p*p+h*h))/(2*d*v)))/2),b=m/v,g=m/d;Math.abs(b-1)>1e-6&&this._append`L${t+b*l},${e+b*s}`,this._append`A${o},${o},0,0,${+(s*p>l*h)},${this._x1=t+g*c},${this._y1=e+g*u}`}else this._append`L${this._x1=t},${this._y1=e}`}arc(t,e,r,n,o,i){if(t*=1,e*=1,r*=1,i=!!i,r<0)throw Error(`negative radius: ${r}`);let a=r*Math.cos(n),c=r*Math.sin(n),u=t+a,l=e+c,s=1^i,f=i?n-o:o-n;null===this._x1?this._append`M${u},${l}`:(Math.abs(this._x1-u)>1e-6||Math.abs(this._y1-l)>1e-6)&&this._append`L${u},${l}`,r&&(f<0&&(f=f%t$+t$),f>tK?this._append`A${r},${r},0,1,${s},${t-a},${e-c}A${r},${r},0,1,${s},${this._x1=u},${this._y1=l}`:f>1e-6&&this._append`A${r},${r},0,${+(f>=tW)},${s},${this._x1=t+r*Math.cos(o)},${this._y1=e+r*Math.sin(o)}`)}rect(t,e,r,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${r*=1}v${+n}h${-r}Z`}toString(){return this._}}function tX(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{let t=Math.floor(r);if(!(t>=0))throw RangeError(`invalid digits: ${r}`);e=t}return t},()=>new tV(e)}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)}tV.prototype,tk(3),tk(3);var tG=["type","size","sizeType"];function tY(){return(tY=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function tZ(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tJ(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tZ(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"!=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+""}(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)):tZ(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var tQ={symbolCircle:t_,symbolCross:{draw(t,e){let r=tk(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=tk(e/tD),n=r*tC;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},symbolSquare:{draw(t,e){let r=tk(e),n=-r/2;t.rect(n,n,r,r)}},symbolStar:{draw(t,e){let r=tk(.8908130915292852*e),n=tN*r,o=tR*r;t.moveTo(0,-r),t.lineTo(n,o);for(let e=1;e<5;++e){let i=tM*e/5,a=tP(i),c=tE(i);t.lineTo(c*r,-a*r),t.lineTo(a*n-c*o,c*n+a*o)}t.closePath()}},symbolTriangle:{draw(t,e){let r=-tk(e/(3*tB));t.moveTo(0,2*r),t.lineTo(-tB*r,-r),t.lineTo(tB*r,-r),t.closePath()}},symbolWye:{draw(t,e){let r=tk(e/tF),n=r/2,o=r*tz,i=r*tz+r,a=-n;t.moveTo(n,o),t.lineTo(n,i),t.lineTo(a,i),t.lineTo(-.5*n-tL*o,tL*n+-.5*o),t.lineTo(-.5*n-tL*i,tL*n+-.5*i),t.lineTo(-.5*a-tL*i,tL*a+-.5*i),t.lineTo(-.5*n+tL*o,-.5*o-tL*n),t.lineTo(-.5*n+tL*i,-.5*i-tL*n),t.lineTo(-.5*a+tL*i,-.5*i-tL*a),t.closePath()}}},t0=Math.PI/180,t1=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*t0;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}},t2=function(t){var e,r=t.type,n=void 0===r?"circle":r,o=t.size,i=void 0===o?64:o,a=t.sizeType,c=void 0===a?"area":a,u=tJ(tJ({},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,tG)),{},{type:n,size:i,sizeType:c}),l=u.className,s=u.cx,h=u.cy,y=tp(u,!0);return s===+s&&h===+h&&i===+i?f.createElement("path",tY({}
1,y,{className:(0,p.A)("recharts-symbols",l),transform:"translate(".concat(s,", ").concat(h,")"),d:(e=tQ["symbol".concat(tS()(n))]||t_,(function(t,e){let r=null,n=tX(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:tU(t||t_),e="function"==typeof e?e:tU(void 0===e?64:+e),o.type=function(e){return arguments.length?(t="function"==typeof e?e:tU(e),o):t},o.size=function(t){return arguments.length?(e="function"==typeof t?t:tU(+t),o):e},o.context=function(t){return arguments.length?(r=null==t?null:t,o):r},o})().type(e).size(t1(i,c,n))())})):null};function t3(t){return(t3="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 t5(){return(t5=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 t8(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}t2.registerSymbol=function(t,e){tQ["symbol".concat(tS()(t))]=e};function t6(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(t6=function(){return!!t})()}function t4(t){return(t4=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function t7(t,e){return(t7=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function t9(t,e,r){return(e=et(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function et(t){var e=function(t,e){if("object"!=t3(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=t3(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==t3(e)?e:e+""}var ee=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=t4(t),function(t,e){if(e&&("object"===t3(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,t6()?Reflect.construct(t,e||[],t4(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&&t7(r,t),e=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,r=32/6,n=32/3,o=t.inactive?e:t.color;if("plainline"===t.type)return f.createElement("line",{strokeWidth:4,fill:"none",stroke:o,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:16,x2:32,y2:16,className:"recharts-legend-icon"});if("line"===t.type)return f.createElement("path",{strokeWidth:4,fill:"none",stroke:o,d:"M0,".concat(16,"h").concat(n,"\n            A").concat(r,",").concat(r,",0,1,1,").concat(2*n,",").concat(16,"\n            H").concat(32,"M").concat(2*n,",").concat(16,"\n            A").concat(r,",").concat(r,",0,1,1,").concat(n,",").concat(16),className:"recharts-legend-icon"});if("rect"===t.type)return f.createElement("path",{stroke:"none",fill:o,d:"M0,".concat(4,"h").concat(32,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(f.isValidElement(t.legendIcon)){var i=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?t8(Object(r),!0).forEach(function(e){t9(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):t8(Object(r)).forEac
1h(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({},t);return delete i.legendIcon,f.cloneElement(t.legendIcon,i)}return f.createElement(t2,{fill:o,cx:16,cy:16,size:32,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,r=e.payload,n=e.iconSize,o=e.layout,i=e.formatter,a=e.inactiveColor,c={x:0,y:0,width:32,height:32},u={display:"horizontal"===o?"inline-block":"block",marginRight:10},l={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map(function(e,r){var o=e.formatter||i,s=(0,p.A)(t9(t9({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",e.inactive));if("none"===e.type)return null;var h=x()(e.value)?null:e.value;tj(!x()(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 y=e.inactive?a:e.color;return f.createElement("li",t5({className:s,style:u,key:"legend-item-".concat(r)},H(t.props,e,r)),f.createElement(tg,{width:n,height:n,viewBox:c,style:l},t.renderIcon(e)),f.createElement("span",{className:"recharts-legend-item-text",style:{color:y}},o?o(h,e,r):h))})}},{key:"render",value:function(){var t=this.props,e=t.payload,r=t.layout,n=t.align;return e&&e.length?f.createElement("ul",{className:"recharts-default-legend",style:{padding:0,margin:0,textAlign:"horizontal"===r?n:"left"}},this.renderItems()):null}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,et(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(f.PureComponent);t9(ee,"displayName","Legend"),t9(ee,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var er=r(63270),en=r.n(er);function eo(t,e,r){return!0===e?en()(t,r):x()(e)?en()(t,e):t}function ei(t){return(ei="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 ea=["ref"];function ec(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 eu(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ec(Object(r),!0).forEach(function(e){eh(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ec(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function el(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,ey(n.key),n)}}function es(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(es=function(){return!!t})()}function ef(t){return(ef=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ep(t,e){return(ep=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function eh(t,e,r){return(e=ey(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ey(t){var e=function(t,e){if("object"!=ei(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ei(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ei(e)?e:e+""}function ed(t){return t.value}var ev=function(t){var e,r;function n(){var t,e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=n,r=[].concat(i),e=ef(e),eh(t=function(t,e){if(e&&("object"===ei(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,es()?Reflect.construct(e,r||[],ef(this).constructor):e.apply(this,r)),"lastBoundingBox",{width:-1,height:-1}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&ep(n,t),e=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();return t.height=this.wrapperNode.offsetHeight,t.width=this.wrapperNode.offsetWidth,t}return null}},{key:"updateBBox",value:function(){var t=this.props.onBBoxUpdate,e=this.getBBox();e?(Math.abs(e.width-this.lastBoundingBox.width)>1||Math.abs(e.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=e.width,this.lastBoundingBox.height=e.height,t&&t(e)):(-1!==this.lastBoundingBox.width||-1!==this.lastBoundingBox.height)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,t&&t(null))}}
1,{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?eu({},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}),eu(eu({},e),r)}},{key:"render",value:function(){var t=this,e=this.props,r=e.content,n=e.width,o=e.height,i=e.wrapperStyle,a=e.payloadUniqBy,c=e.payload,u=eu(eu({position:"absolute",width:n||"auto",height:o||"auto"},this.getDefaultPosition(i)),i);return f.createElement("div",{className:"recharts-legend-wrapper",style:u,ref:function(e){t.wrapperNode=e}},function(t,e){if(f.isValidElement(t))return f.cloneElement(t,e);if("function"==typeof t)return f.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,ea);return f.createElement(ee,r)}(r,eu(eu({},this.props),{},{payload:eo(c,a,ed)})))}}],r=[{key:"getWithHeight",value:function(t,e){var r=eu(eu({},this.defaultProps),t.props).layout;return"vertical"===r&&M(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}:null}}],e&&el(n.prototype,e),r&&el(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(f.PureComponent);eh(ev,"displayName","Legend"),eh(ev,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var em=r(61927),eb=r.n(em);function eg(t){return(eg="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(){return(ex=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 eO(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 ew(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 ej(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ew(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"!=eg(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=eg(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==eg(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)):ew(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function eA(t){return Array.isArray(t)&&_(t[0])&&_(t[1])?t.join(" ~ "):t}var eS=function(t){var e=t.separator,r=void 0===e?" : ":e,n=t.contentStyle,o=t.itemStyle,i=void 0===o?{}:o,a=t.labelStyle,c=t.payload,u=t.formatter,l=t.itemSorter,s=t.wrapperClassName,h=t.labelClassName,y=t.label,d=t.labelFormatter,m=t.accessibilityLayer,b=ej({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},void 0===n?{}:n),g=ej({margin:0},void 0===a?{}:a),x=!v()(y),O=x?y:"",w=(0,p.A)("recharts-default-tooltip",s),j=(0,p.A)("recharts-tooltip-label",h);return x&&d&&null!=c&&(O=d(y,c)),f.createElement("div",ex({className:w,style:b},void 0!==m&&m?{role:"status","aria-live":"assertive"}:{}),f.createElement("p",{className:j,style:g},f.isValidElement(O)?O:"".concat(O)),function(){if(c&&c.length){var t=(l?eb()(c,l):c).map(function(t,e){if("none"===t.type)return null;var n=ej({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},i),o=t.formatter||u||eA,a=t.value,l=t.name,s=a,p=l;if(o&&null!=s&&null!=p){var h=o(a,l,t,e,c);if(Array.isArray(h)){var y=function(t){if(Array.isArray(t))return t}(h)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{i=(r=r.call(t)).next,!1;for(;
1!(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}}(h,2)||function(t,e){if(t){if("string"==typeof t)return eO(t,2);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 eO(t,e)}}(h,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.")}();s=y[0],p=y[1]}else s=h}return f.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(e),style:n},_(p)?f.createElement("span",{className:"recharts-tooltip-item-name"},p):null,_(p)?f.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,f.createElement("span",{className:"recharts-tooltip-item-value"},s),f.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))});return f.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())};function eP(t){return(eP="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 eE(t,e,r){var n;return(n=function(t,e){if("object"!=eP(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=eP(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==eP(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ek="recharts-tooltip-wrapper",eT={visibility:"hidden"};function eM(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,l=t.viewBoxDimension;if(i&&M(i[n]))return i[n];var s=r[n]-c-o,f=r[n]+o;return e[n]?a[n]?s:f:a[n]?s<u[n]?Math.max(f,u[n]):Math.max(s,u[n]):f+c>u[n]+l?Math.max(s,u[n]):Math.max(f,u[n])}function e_(t){return(e_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eC(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 eD(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?eC(Object(r),!0).forEach(function(e){eB(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eC(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function eI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eI=function(){return!!t})()}function eN(t){return(eN=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eR(t,e){return(eR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function eB(t,e,r){return(e=eL(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function eL(t){var e=function(t,e){if("object"!=e_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=e_(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==e_(e)?e:e+""}var ez=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=eN(e),eB(t=function(t,e){if(e&&("object"===e_(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,eI()?Reflect.construct(e,n||[],eN(this).constructor):e.apply(this,n)),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),eB(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&&eR(r,t),e=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();(Math.abs(t.width-this.state.lastBoundingBox.width)>1||Math.abs(t.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:t.width,height:t.height}})}else(-1!==this.state.lastBoundingBox.width||-1!==this.state.lastBoundingBox.height)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var t,e;this.props.active&&this.updateBBox(),this.state.dismissed&&((null==(t=this.props.coordinate)?void 0:t.x)!==this.state.dismissedAtCoordinate.x||(null==(e=this.props.coordinate)?void 0:e.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var t,e,r,n,o,i,a,c,u,l,s,h,y,d,v,m,b,g,x,O=this,w=this.props,j=w.active,A=w.allowEscapeViewBox,S=w.animationDuration,P=w.animationEasing,E=w.children,k=w.coordinate,T=w.hasPayload,_=w.isAnimationActive,C=w.offset,D=w.position,I=w.reverseDirection,N=w.useTranslate3d,R=w.viewBox,B=w.wrapperStyle,L=(h=(t={allowEscapeViewBox:A,co
1ordinate:k,offsetTopLeft:C,position:D,reverseDirection:I,tooltipBox:this.state.lastBoundingBox,useTranslate3d:N,viewBox:R}).allowEscapeViewBox,y=t.coordinate,d=t.offsetTopLeft,v=t.position,m=t.reverseDirection,b=t.tooltipBox,g=t.useTranslate3d,x=t.viewBox,b.height>0&&b.width>0&&y?(r=(e={translateX:l=eM({allowEscapeViewBox:h,coordinate:y,key:"x",offsetTopLeft:d,position:v,reverseDirection:m,tooltipDimension:b.width,viewBox:x,viewBoxDimension:x.width}),translateY:s=eM({allowEscapeViewBox:h,coordinate:y,key:"y",offsetTopLeft:d,position:v,reverseDirection:m,tooltipDimension:b.height,viewBox:x,viewBoxDimension:x.height}),useTranslate3d:g}).translateX,n=e.translateY,u={transform:e.useTranslate3d?"translate3d(".concat(r,"px, ").concat(n,"px, 0)"):"translate(".concat(r,"px, ").concat(n,"px)")}):u=eT,{cssProperties:u,cssClasses:(i=(o={translateX:l,translateY:s,coordinate:y}).coordinate,a=o.translateX,c=o.translateY,(0,p.A)(ek,eE(eE(eE(eE({},"".concat(ek,"-right"),M(a)&&i&&M(i.x)&&a>=i.x),"".concat(ek,"-left"),M(a)&&i&&M(i.x)&&a<i.x),"".concat(ek,"-bottom"),M(c)&&i&&M(i.y)&&c>=i.y),"".concat(ek,"-top"),M(c)&&i&&M(i.y)&&c<i.y)))}),z=L.cssClasses,F=L.cssProperties,U=eD(eD({transition:_&&j?"transform ".concat(S,"ms ").concat(P):void 0},F),{},{pointerEvents:"none",visibility:!this.state.dismissed&&j&&T?"visible":"hidden",position:"absolute",top:0,left:0},B);return f.createElement("div",{tabIndex:-1,className:z,style:U,ref:function(t){O.wrapperNode=t}},E)}}],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,eL(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(f.PureComponent),eF={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return eF[t]},set:function(t,e){if("string"==typeof t)eF[t]=e;else{var r=Object.keys(t);r&&r.length&&r.forEach(function(e){eF[e]=t[e]})}}};function eU(t){return(eU="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 eW(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function e$(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?eW(Object(r),!0).forEach(function(e){eX(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eW(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function eK(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eK=function(){return!!t})()}function eq(t){return(eq=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eV(t,e){return(eV=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function eX(t,e,r){return(e=eH(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function eH(t){var e=function(t,e){if("object"!=eU(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=eU(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==eU(e)?e:e+""}function eG(t){return t.dataKey}var eY=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=eq(t),function(t,e){if(e&&("object"===eU(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,eK()?Reflect.construct(t,e||[],eq(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&&eV(r,t),e=[{key:"render",value:function(){var t,e=this,r=this.props,n=r.active,o=r.allowEscapeViewBox,i=r.animationDuration,a=r.animationEasing,c=r.content,u=r.coordinate,l=r.filterNull,s=r.isAnimationActive,p=r.offset,h=r.payload,y=r.payloadUniqBy,d=r.position,v=r.reverseDirection,m=r.useTranslate3d,b=r.viewBox,g=r.wrapperStyle,x=null!=h?h:[];l&&x.length&&(x=eo(h.filter(function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)}),y,eG));var O=x.length>0;return f.createElement(ez,{allowEscapeViewBox:o,animationDuration:i,animationEasing:a,isAnimationActive:s,active:n,coordinate:u,hasPayload:O,offset:p,position:d,reverseDirection:v,useTranslate3d:m,viewBox:b,wrapperStyle:g},(t=e$(e$({},this.props),{},{payload:x}),f.isValidElement(c)?f.cloneElement(c,t):"function"==typeof c?f.createElement(c,t):f.createElement(eS,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,eH(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(f.PureComponent);eX(eY,"displayName","Tooltip"),eX(eY,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!eF.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var eZ=r(22654),eJ=r.n(eZ);function eQ(t){return(eQ="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 e0(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 e1(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?e0(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"!=eQ(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=eQ(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==eQ(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)):e0(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function e2(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 e3=(0,f.forwardRef)(function(t,e){var r,n=t.aspect,o=t.initialDimension,i=void 0===o?{width:-1,height:-1}:o,a=t.width,c=void 0===a?"100%":a,u=t.height,l=void 0===u?"100%":u,s=t.minWidth,h=void 0===s?0:s,y=t.minHeight,d=t.maxHeight,v=t.children,m=t.debounce,b=void 0===m?0:m,g=t.id,x=t.className,O=t.onResize,w=t.style,j=(0,f.useRef)(null),A=(0,f.useRef)();A.current=O,(0,f.useImperativeHandle)(e,function(){return Object.defineProperty(j.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),j.current},configurable:!0})});var S=function(t){if(Array.isArray(t))return t}(r=(0,f.useState)({containerWidth:i.width,containerHeight:i.height}))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{i=(r=r.call(t)).next,!1;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}}(r,2)||function(t,e){if(t){if("string"==typeof t)return e2(t,2);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 e2(t,e)}}(r,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.")}(),P=S[0],E=S[1],k=(0,f.useCallback)(function(t,e){E(function(r){var n=Math.round(t),o=Math.round(e);return r.containerWidth===n&&r.containerHeight===o?r:{containerWidth:n,containerHeight:o}})},[]);(0,f.useEffect)(function(){var t=function(t){var e,r=t[0].contentRect,n=r.width,o=r.height;k(n,o),null==(e=A.current)||e.call(A,n,o)};b>0&&(t=eJ()(t,b,{trailing:!0,leading:!1}));var e=new ResizeObserver(t),r=j.current.getBoundingClientRect();return k(r.width,r.height),e.observe(j.current),function(){e.disconnect()}},[k,b]);var M=(0,f.useMemo)(function(){var t=P.containerWidth,e=P.containerHeight;if(t<0||e<0)return null;tj(T(c)||T(l),"The width(%s) and height(%s) are both fixed numbers,\n       maybe you don't need to use a ResponsiveContainer.",c,l),tj(!n||n>0,"The aspect(%s) must be greater than zero.",n);var r=T(c)?t:c,o=T(l)?e:l;n&&n>0&&(r?o=r/n:o&&(r=o*n),d&&o>d&&(o=d)),tj(r>0||o>0,"The width(%s) and height(%s) of chart should be greater than 0,\n       please check the style of container, or the props width(%s) and height(%s),\n       or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n       height and width.",r,o,c,l,h,y,n);var i=!Array.isArray(v)&&tt(v.type).endsWith("Chart");return f.Children.map(v,function(t){return f.isValidElement(t)?(0,f.cloneElement)(t,e1({width:r,height:o},i?{style:e1({height:"100%",width:"100%",maxHeight:o,maxWidth:r},t.props.style)}:{})):t})},[n,v,l,d,y,h,P,c]);return f.createElement("div",{id:g?"".concat(g):void 0,className:(0,p.A)("recharts-responsive-container",x),style:e1(e1({},void 0===w?{}:w),{},{width:c,height:l,minWidth:h,minHeight:y,maxHeight:d}),ref:j},M)}),e5=function(t){return null};function e8(t){return(e8="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 e6(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 e4(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?e6(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"!=e8(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=e8(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==e8(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)):e6(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}e5.displayName="Cell";var e7={widthCache:{},cacheCount:0},e9={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},rt="recharts_measurement_span",re=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||eF.isSsr)return{width:0,height:0};var n=(Object.keys(e=e4({},r)).forEach(function(t){e[t]||delete e[t]}),e),o=JSON.stringify({text:t,copyStyle:n});if(e7.widthCache[o])return e7.widthCache[o];try{var i=document.getElementById(rt);i||((i=document.createElement("span")).setAttribute("id",rt),i.setAttribute("aria-hidden","true"),document.body.appendChild(i));var a=e4(e4({},e9),n);Object.assign(i.style,a),i.textContent="".concat(t);var c=i.getBoundingClientRect(),u={width:c.width,height:c.height};return e7.widthCache[o]=u,++e7.cacheCount>2e3&&(e7.cacheCount=0,e7.widthCache={}),u}catch(t){return{width:0,height:0}}};function rr(t){return(rr="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 rn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,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 ro(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 ro(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 ro(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 ri(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"!=rr(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=rr(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==rr(e)?e:e+""}(n.key),n)}}var ra=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,rc=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,ru=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,rl=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,rs={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},rf=Object.keys(rs),rp=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||ru.test(e)||(this.num=NaN,this.unit=""),rf.includes(e)&&(this.num=t*rs[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=rn(null!=(e=rl.exec(t))?e:[],3),o=n[1],i=n[2];return new r(parseFloat(o),null!=i?i:"")}}],t&&ri(r.prototype,t),e&&ri(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();function rh(t){if(t.includes("NaN"))return"NaN";for(var e=t;e.includes("*")||e.includes("/");){var r,n=rn(null!=(r=ra.exec(e))?r:[],4),o=n[1],i=n[2],a=n[3],c=rp.parse(null!=o?o:""),u=rp.parse(null!=a?a:""),l="*"===i?c.multiply(u):c.divide(u);if(l.isNaN())return"NaN";e=e.replace(ra,l.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var s,f=rn(null!=(s=rc.exec(e))?s:[],4),p=f[1],h=f[2],y=f[3],d=rp.parse(null!=p?p:""),v=rp.parse(null!=y?y:""),m="+"===h?d.add(v):d.subtract(v);if(m.isNaN())return"NaN";e=e.replace(rc,m.toString())}return e}var ry=/\(([^()]*)\)/;function rd(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=rn(ry.exec(e),2)[1];e=e.replace(ry,rh(r))}return e}(e),e=rh(e)}catch(t){return"NaN"}}(t.slice(5,-1));return"NaN"===e?"":e}var rv=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],rm=["dx","dy","angle","className","breakAll"];function rb(){return(rb=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function rg(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 rx(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,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 rO(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 rO(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 rO(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 rw=/[ \f\n\r\t\v\u2028\u2029]+/,rj=function(t){var e=t.children,r=t.breakAll,n=t.style;try{var o=[];v()(e)||(o=r?e.toString().split(""):e.toString().split(rw));var i=o.map(function(t){return{word:t,width:re(t,n).width}}),a=r?0:re("\xa0",n).width;return{wordsWithComputedWidth:i,spaceWidth:a}}catch(t){return null}},rA=function(t,e,r,n,o){var i,a=t.maxLines,c=t.children,u=t.style,l=t.breakAll,s=M(a),f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.reduce(function(t,e){var i=e.word,a=e.width,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},[])},p=f(e);if(!s)return p;for(var h=function(t){var e=f(rj({breakAll:l,style:u,children:c.slice(0,t)+"…"}).wordsWithComputedWidth);return[e.length>a||e.reduce(function(t,e){return t.width>e.width?t:e}).width>Number(n),e]},y=0,d=c.length-1,v=0;y<=d&&v<=c.length-1;){var m=Math.floor((y+d)/2),b=rx(h(m-1),2),g=b[0],x=b[1],O=rx(h(m),1)[0];if(g||O||(y=m+1),g&&O&&(d=m-1),!g&&O){i=x;break}v++}return i||p},rS=function(t){return[{words:v()(t)?[]:t.toString().split(rw)}]},rP=function(t){var e=t.width,r=t.scaleToFit,n=t.children,o=t.style,i=t.breakAll,a=t.maxLines;if((e||r)&&!eF.isSsr){var c=rj({breakAll:i,children:n,style:o});if(!c)return rS(n);var u=c.wordsWithComputedWidth,l=c.spaceWidth;return rA({breakAll:i,children:n,maxLines:a,style:o},u,l,e,r)}return rS(n)},rE="#808080",rk=function(t){var e,r=t.x,n=void 0===r?0:r,o=t.y,i=void 0===o?0:o,a=t.lineHeight,c=void 0===a?"1em":a,u=t.capHeight,l=void 0===u?"0.71em":u,s=t.scaleToFit,h=void 0!==s&&s,y=t.textAnchor,d=t.verticalAnchor,v=t.fill,m=void 0===v?rE:v,b=rg(t,rv),g=(0,f.useMemo)(function(){return rP({breakAll:b.breakAll,children:b.children,maxLines:b.maxLines,scaleToFit:h,style:b.style,width:b.width})},[b.breakAll,b.children,b.maxLines,h,b.style,b.width]),x=b.dx,O=b.dy,w=b.angle,j=b.className,A=b.breakAll,S=rg(b,rm);if(!_(n)||!_(i))return null;var P=n+(M(x)?x:0),E=i+(M(O)?O:0);switch(void 0===d?"end":d){case"start":e=rd("calc(".concat(l,")"));break;case"middle":e=rd("calc(".concat((g.length-1)/2," * -").concat(c," + (").concat(l," / 2))"));break;default:e=rd("calc(".concat(g.length-1," * -").concat(c,")"))}var k=[];if(h){var T=g[0].width,C=b.width;k.push("scale(".concat((M(C)?C/T:1)/T,")"))}return w&&k.push("rotate(".concat(w,", ").concat(P,", ").concat(E,")")),k.length&&(S.transform=k.join(" ")),f.createElement("text",rb({},tp(S,!0),{x:P,y:E,className:(0,p.A)("recharts-text",j),textAnchor:void 0===y?"start":y,fill:m.includes("url")?rE:m}
1),g.map(function(t,r){var n=t.words.join(A?"":" ");return f.createElement("tspan",{x:P,dy:0===r?e:c,key:"".concat(n,"-").concat(r)},n)}))};function rT(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function rM(t,e){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof e?this.interpolator(e):this.range(e)}return this}class r_ extends Map{constructor(t,e=rD){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,r]of t)this.set(e,r)}get(t){return super.get(rC(this,t))}has(t){return super.has(rC(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}(this,t))}}function rC({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):r}function rD(t){return null!==t&&"object"==typeof t?t.valueOf():t}let rI=Symbol("implicit");function rN(){var t=new r_,e=[],r=[],n=rI;function o(o){let i=t.get(o);if(void 0===i){if(n!==rI)return n;t.set(o,i=e.push(o)-1)}return r[i%r.length]}return o.domain=function(r){if(!arguments.length)return e.slice();for(let n of(e=[],t=new r_,r))t.has(n)||t.set(n,e.push(n)-1);return o},o.range=function(t){return arguments.length?(r=Array.from(t),o):r.slice()},o.unknown=function(t){return arguments.length?(n=t,o):n},o.copy=function(){return rN(e,r).unknown(n)},rT.apply(o,arguments),o}function rR(){var t,e,r=rN().unknown(void 0),n=r.domain,o=r.range,i=0,a=1,c=!1,u=0,l=0,s=.5;function f(){var r=n().length,f=a<i,p=f?a:i,h=f?i:a;t=(h-p)/Math.max(1,r-u+2*l),c&&(t=Math.floor(t)),p+=(h-p-t*(r-u))*s,e=t*(1-u),c&&(p=Math.round(p),e=Math.round(e));var y=(function(t,e,r){t*=1,e*=1,r=(o=arguments.length)<2?(e=t,t=0,1):o<3?1:+r;for(var n=-1,o=0|Math.max(0,Math.ceil((e-t)/r)),i=Array(o);++n<o;)i[n]=t+n*r;return i})(r).map(function(e){return p+t*e});return o(f?y.reverse():y)}return delete r.unknown,r.domain=function(t){return arguments.length?(n(t),f()):n()},r.range=function(t){return arguments.length?([i,a]=t,i*=1,a*=1,f()):[i,a]},r.rangeRound=function(t){return[i,a]=t,i*=1,a*=1,c=!0,f()},r.bandwidth=function(){return e},r.step=function(){return t},r.round=function(t){return arguments.length?(c=!!t,f()):c},r.padding=function(t){return arguments.length?(u=Math.min(1,l=+t),f()):u},r.paddingInner=function(t){return arguments.length?(u=Math.min(1,t),f()):u},r.paddingOuter=function(t){return arguments.length?(l=+t,f()):l},r.align=function(t){return arguments.length?(s=Math.max(0,Math.min(1,t)),f()):s},r.copy=function(){return rR(n(),[i,a]).round(c).paddingInner(u).paddingOuter(l).align(s)},rT.apply(f(),arguments)}function rB(){return function t(e){var r=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return t(r())},e}(rR.apply(null,arguments).paddingInner(1))}let rL=Math.sqrt(50),rz=Math.sqrt(10),rF=Math.sqrt(2);function rU(t,e,r){let n,o,i,a=(e-t)/Math.max(0,r),c=Math.floor(Math.log10(a)),u=a/Math.pow(10,c),l=u>=rL?10:u>=rz?5:u>=rF?2:1;return(c<0?(n=Math.round(t*(i=Math.pow(10,-c)/l)),o=Math.round(e*i),n/i<t&&++n,o/i>e&&--o,i=-i):(n=Math.round(t/(i=Math.pow(10,c)*l)),o=Math.round(e/i),n*i<t&&++n,o*i>e&&--o),o<n&&.5<=r&&r<2)?rU(t,e,2*r):[n,o,i]}function rW(t,e,r){if(e*=1,t*=1,!((r*=1)>0))return[];if(t===e)return[t];let n=e<t,[o,i,a]=n?rU(e,t,r):rU(t,e,r);if(!(i>=o))return[];let c=i-o+1,u=Array(c);if(n)if(a<0)for(let t=0;t<c;++t)u[t]=-((i-t)/a);else for(let t=0;t<c;++t)u[t]=(i-t)*a;else if(a<0)for(let t=0;t<c;++t)u[t]=-((o+t)/a);else for(let t=0;t<c;++t)u[t]=(o+t)*a;return u}function r$(t,e,r){return rU(t*=1,e*=1,r*=1)[2]}function rK(t,e,r){e*=1,t*=1,r*=1;let n=e<t,o=n?r$(e,t,r):r$(t,e,r);return(n?-1:1)*(o<0?-(1/o):o)}function rq(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function rV(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function rX(t){let e,r,n;
1function o(t,n,i=0,a=t.length){if(i<a){if(0!==e(n,n))return a;do{let e=i+a>>>1;0>r(t[e],n)?i=e+1:a=e}while(i<a)}return i}return 2!==t.length?(e=rq,r=(e,r)=>rq(t(e),r),n=(e,r)=>t(e)-r):(e=t===rq||t===rV?t:rH,r=t,n=t),{left:o,center:function(t,e,r=0,i=t.length){let a=o(t,e,r,i-1);return a>r&&n(t[a-1],e)>-n(t[a],e)?a-1:a},right:function(t,n,o=0,i=t.length){if(o<i){if(0!==e(n,n))return i;do{let e=o+i>>>1;0>=r(t[e],n)?o=e+1:i=e}while(o<i)}return o}}}function rH(){return 0}function rG(t){return null===t?NaN:+t}let rY=rX(rq),rZ=rY.right;function rJ(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function rQ(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function r0(){}rY.left,rX(rG).center;var r1="\\s*([+-]?\\d+)\\s*",r2="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",r3="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",r5=/^#([0-9a-f]{3,8})$/,r8=RegExp(`^rgb\\(${r1},${r1},${r1}\\)$`),r6=RegExp(`^rgb\\(${r3},${r3},${r3}\\)$`),r4=RegExp(`^rgba\\(${r1},${r1},${r1},${r2}\\)$`),r7=RegExp(`^rgba\\(${r3},${r3},${r3},${r2}\\)$`),r9=RegExp(`^hsl\\(${r2},${r3},${r3}\\)$`),nt=RegExp(`^hsla\\(${r2},${r3},${r3},${r2}\\)$`),ne={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function nr(){return this.rgb().formatHex()}function nn(){return this.rgb().formatRgb()}function no(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=r5.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?ni(e):3===r?new nu(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?na(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?na(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=r8.exec(t))?new nu(e[1],e[2],e[3],1):(e=r6.exec(t))?new nu(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=r4.exec(t))?na(e[1],e[2],e[3],e[4]):(e=r7.exec(t))?na(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=r9.exec(t))?ny(e[1],e[2]/100,e[3]/100,1):(e=nt.exec(t))?ny(e[1],e[2]/100,e[3]/100,e[4]):ne.hasOwnProperty(t)?ni(ne[t]):"transparent"===t?new nu(NaN,NaN,NaN,0):null}function ni(t){return new nu(t>>16&255,t>>8&255,255&t,1)}function na(t,e,r,n){return n<=0&&(t=e=r=NaN),new nu(t,e,r,n)}function nc(t,e,r,n){var o;return 1==arguments.length?((o=t)instanceof r0||(o=no(o)),o)?new nu((o=o.rgb()).r,o.g,o.b,o.opacity):new nu:new nu(t,e,r,null==n?1:n)}function nu(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function nl(){return`#${nh(this.r)}${nh(this.g)}${nh(this.b)}`}function ns(){let t=nf(this.opacity);return`${1===t?"rgb(":"rgba("}${np(this.r)}, ${np(this.g)}, ${np(this.b)}${1===t?")":`, ${t})`}`}function nf(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function np(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function nh(t){return((t=np(t))<16?"0":"")+t.toString(16)}function ny(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new nv(t,e,r,n)}
1function nd(t){if(t instanceof nv)return new nv(t.h,t.s,t.l,t.opacity);if(t instanceof r0||(t=no(t)),!t)return new nv;if(t instanceof nv)return t;var e=(t=t.rgb()).r/255,r=t.g/255,n=t.b/255,o=Math.min(e,r,n),i=Math.max(e,r,n),a=NaN,c=i-o,u=(i+o)/2;return c?(a=e===i?(r-n)/c+(r<n)*6:r===i?(n-e)/c+2:(e-r)/c+4,c/=u<.5?i+o:2-i-o,a*=60):c=u>0&&u<1?0:a,new nv(a,c,u,t.opacity)}function nv(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function nm(t){return(t=(t||0)%360)<0?t+360:t}function nb(t){return Math.max(0,Math.min(1,t||0))}function ng(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}function nx(t,e,r,n,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*e+(4-6*i+3*a)*r+(1+3*t+3*i-3*a)*n+a*o)/6}rJ(r0,no,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:nr,formatHex:nr,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return nd(this).formatHsl()},formatRgb:nn,toString:nn}),rJ(nu,nc,rQ(r0,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new nu(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new nu(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new nu(np(this.r),np(this.g),np(this.b),nf(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:nl,formatHex:nl,formatHex8:function(){return`#${nh(this.r)}${nh(this.g)}${nh(this.b)}${nh((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:ns,toString:ns})),rJ(nv,function(t,e,r,n){return 1==arguments.length?nd(t):new nv(t,e,r,null==n?1:n)},rQ(r0,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new nv(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new nv(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,o=2*r-n;return new nu(ng(t>=240?t-240:t+120,o,n),ng(t,o,n),ng(t<120?t+240:t-120,o,n),this.opacity)},clamp(){return new nv(nm(this.h),nb(this.s),nb(this.l),nf(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=nf(this.opacity);return`${1===t?"hsl(":"hsla("}${nm(this.h)}, ${100*nb(this.s)}%, ${100*nb(this.l)}%${1===t?")":`, ${t})`}`}}));let nO=t=>()=>t;function nw(t,e){var r=e-t;return r?function(e){return t+e*r}:nO(isNaN(t)?e:t)}let nj=function t(e){var r,n=1==(r=+e)?nw:function(t,e){var n,o,i;return e-t?(n=t,o=e,n=Math.pow(n,i=r),o=Math.pow(o,i)-n,i=1/i,function(t){return Math.pow(n+t*o,i)}):nO(isNaN(t)?e:t)};function o(t,e){var r=n((t=nc(t)).r,(e=nc(e)).r),o=n(t.g,e.g),i=n(t.b,e.b),a=nw(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=o(e),t.b=i(e),t.opacity=a(e),t+""}}return o.gamma=t,o}(1);function nA(t){return function(e){var r,n,o=e.length,i=Array(o),a=Array(o),c=Array(o);for(r=0;r<o;++r)n=nc(e[r]),i[r]=n.r||0,a[r]=n.g||0,c[r]=n.b||0;return i=t(i),a=t(a),c=t(c),n.opacity=1,function(t){return n.r=i(t),n.g=a(t),n.b=c(t),n+""}}}function nS(t,e){return t*=1,e*=1,function(r){return t*(1-r)+e*r}}nA(function(t){var e=t.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,e-1):Math.floor(r*e),o=t[n],i=t[n+1],a=n>0?t[n-1]:2*o-i,c=n<e-1?t[n+2]:2*i-o;return nx((r-n/e)*e,a,o,i,c)}}),nA(function(t){var e=t.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*e),o=t[(n+e-1)%e],i=t[n%e],a=t[(n+1)%e],c=t[(n+2)%e];return nx((r-n/e)*e,o,i,a,c)}});var nP=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,nE=RegExp(nP.source,"g");function nk(t,e){var r,n,o=typeof e;return null==e||"boolean"===o?nO(e):("number"===o?nS:"string"===o?(n=no(e))?(e=n,nj):function(t,e){var r,n,o,i,a,c=nP.lastIndex=nE.lastIndex=0,u=-1,l=[],s=[];for(t+="",e+="";(o=nP.exec(t))&&(i=nE.exec(e));)(a=i.index)>c&&(a=e.slice(c,a),l[u]?l[u]+=a:l[++u]=a),(o=o[0])===(i=i[0])?l[u]?l[u]+=i:l[++u]=i:(l[++u]=null,s.push({i:u,x:nS(o,i)})),c=nE.lastIndex;return c<e.length&&(a=e.slice(c),l[u]?l[u]+=a:l[++u]=a),l.length<2?s[0]?(r=s[0].x,function(t){return r(t)+""}):(n=e,function(){return n}):(e=s.length,function(t){for(var r,n=0;n<e;++n)l[(r=s[n]).i]=r.x(t);return l.join("")})}:e instanceof no?nj:e instanceof Date?function(t,e){var r=new Date;return t*=1,e*=1,function(n){return r.setTime(t*(1-n)+e*n),r}}:!ArrayBuffer.isView(r=e)||r instanceof DataView?Array.isArray(e)?function(t,e){var r,n=e?e.length:0,o=t?Math.min(n,t.length):0,i=Array(o),a=Array(n);for(r=0;r<o;++r)i[r]=nk(t[r],e[r]);for(;r<n;++r)a[r]=e[r];return function(t){for(r=0;r<o;++r)a[r]=i[r](t);return a}}:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?function(t,e){var r,n={},o={};for(r in(null===t||"object"!=typeof t)&&(t={}),(null===e||"object"!=typeof e)&&(e={}),e)r in t?n[r]=nk(t[r],e[r]):o[r]=e[r];return function(t){for(r in n)o[r]=n[r](t);return o}}:nS:function(t,e){e||(e=[]);var r,n=t?Math.min(e.length,t.length):0,o=e.slice();return function(i){for(r=0;r<n;++r)o[r]=t[r]*(1-i)+e[r]*i;return o}})(t,e)}function nT(t,e){return t*=1,e*=1,function(r){return Math.round(t*(1-r)+e*r)}}function nM(t){return+t}var n_=[0,1];function nC(t){return t}function nD(t,e){var r;return(e-=t*=1)?function(r){return(r-t)/e}:(r=isNaN(e)?NaN:.5,function(){return r})}function nI(t,e,r){var n=t[0],o=t[1],i=e[0],a=e[1];return o<n?(n=nD(o,n),i=r(a,i)):(n=nD(n,o),i=r(i,a)),function(t){return i(n(t))}}function nN(t,e,r){var n=Math.min(t.length,e.length)-1,o=Array(n),i=Array(n),a=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<n;)o[a]=nD(t[a],t[a+1]),i[a]=r(e[a],e[a+1]);return function(e){var r=rZ(t,e,1,n)-1;return i[r](o[r](e))}}function nR(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function nB(){var t,e,r,n,o,i,a=n_,c=n_,u=nk,l=nC;function s(){var t,e,r,u=Math.min(a.length,c.length);return l!==nC&&(t=a[0],e=a[u-1],t>e&&(r=t,t=e,e=r),l=function(r){return Math.max(t,Math.min(e,r))}),n=u>2?nN:nI,o=i=null,f}function f(e){return null==e||isNaN(e*=1)?r:(o||(o=n(a.map(t),c,u)))(t(l(e)))}return f.invert=function(r){return l(e((i||(i=n(c,a.map(t),nS)))(r)))},f.domain=function(t){return arguments.length?(a=Array.from(t,nM),s()):a.slice()},f.range=function(t){return arguments.length?(c=Array.from(t),s()):c.slice()},f.rangeRound=function(t){return c=Array.from(t),u=nT,s()},f.clamp=function(t){return arguments.length?(l=!!t||nC,s()):l!==nC},f.interpolate=function(t){return arguments.length?(u=t,s()):u},f.unknown=function(t){return arguments.length?(r=t,f):r},function(r,n){return t=r,e=n,s()}}function nL(){return nB()(nC,nC)}var nz=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function nF(t){var e;if(!(e=nz.exec(t)))throw Error("invalid format: "+t);return new nU({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function nU(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.
1width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function nW(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function n$(t){return(t=nW(Math.abs(t)))?t[1]:NaN}function nK(t,e){var r=nW(t,e);if(!r)return t+"";var n=r[0],o=r[1];return o<0?"0."+Array(-o).join("0")+n:n.length>o+1?n.slice(0,o+1)+"."+n.slice(o+1):n+Array(o-n.length+2).join("0")}nF.prototype=nU.prototype,nU.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};let nq={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>nK(100*t,e),r:nK,s:function(t,e){var r=nW(t,e);if(!r)return t+"";var o=r[0],i=r[1],a=i-(n=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,c=o.length;return a===c?o:a>c?o+Array(a-c+1).join("0"):a>0?o.slice(0,a)+"."+o.slice(a):"0."+Array(1-a).join("0")+nW(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function nV(t){return t}var nX=Array.prototype.map,nH=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function nG(t,e,r,n){var o,c,u=rK(t,e,r);switch((n=nF(null==n?",f":n)).type){case"s":var l=Math.max(Math.abs(t),Math.abs(e));return null!=n.precision||isNaN(c=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(n$(l)/3)))-n$(Math.abs(u))))||(n.precision=c),a(n,l);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(c=Math.max(0,n$(Math.abs(Math.max(Math.abs(t),Math.abs(e)))-(o=Math.abs(o=u)))-n$(o))+1)||(n.precision=c-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(c=Math.max(0,-n$(Math.abs(u))))||(n.precision=c-("%"===n.type)*2)}return i(n)}function nY(t){var e=t.domain;return t.ticks=function(t){var r=e();return rW(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return nG(n[0],n[n.length-1],null==t?10:t,r)},t.nice=function(r){null==r&&(r=10);var n,o,i=e(),a=0,c=i.length-1,u=i[a],l=i[c],s=10;for(l<u&&(o=u,u=l,l=o,o=a,a=c,c=o);s-- >0;){if((o=r$(u,l,r))===n)return i[a]=u,i[c]=l,e(i);if(o>0)u=Math.floor(u/o)*o,l=Math.ceil(l/o)*o;else if(o<0)u=Math.ceil(u*o)/o,l=Math.floor(l*o)/o;else break;n=o}return t},t}function nZ(){var t=nL();return t.copy=function(){return nR(t,nZ())},rT.apply(t,arguments),nY(t)}function nJ(t,e){t=t.slice();var r,n=0,o=t.length-1,i=t[n],a=t[o];return a<i&&(r=n,n=o,o=r,r=i,i=a,a=r),t[n]=e.floor(i),t[o]=e.ceil(a),t}function nQ(t){return Math.log(t)}function n0(t){return Math.exp(t)}function n1(t){return-Math.log(-t)}function n2(t){return-Math.exp(-t)}function n3(t){return isFinite(t)?+("1e"+t):t<0?0:t}function n5(t){return(e,r)=>-t(-e,r)}function n8(t){let e,r,n=t(nQ,n0),o=n.domain,a=10;function c(){var i,c;return e=(i=a)===Math.E?Math.log:10===i&&Math.log10||2===i&&Math.log2||(i=Math.log(i),t=>Math.log(t)/i),r=10===(c=a)?n3:c===Math.E?Math.exp:t=>Math.pow(c,t),o()[0]<0?(e=n5(e),r=n5(r),t(n1,n2)):t(nQ,n0),n}return n.base=function(t){return arguments.length?(a=+t,c()):a},n.domain=function(t){return arguments.length?(o(t),c()):o()},n.ticks=t=>{let n,i,c=o(),u=c[0],l=c[c.length-1],s=l<u;s&&([u,l]=[l,u]);let f=e(u),p=e(l),h=null==t?10:+t,y=[];if(!(a%1)&&p-f<h){if(f=Math.floor(f),p=Math.ceil(p),u>0){for(;f<=p;++f)for(n=1;n<a;++n)if(!((i=f<0?n/r(-f):n*r(f))<u)){if(i>l)break;y.push(i)}}else for(;f<=p;++f)for(n=a-1;n>=1;--n)if(!((i=f>0?n/r(-f):n*r(f))<u)){if(i>l)break;y.push(i)}2*y.length<h&&(y=rW(u,l,h))}else y=rW(f,p,Math.min(p-f,h)).map(r);return s?y.reverse():y},n.tickFormat=(t,o)=>{if(null==t&&(t=10),null==o&&(o=10===a?"s":","),"function"!=typeof o&&(a%1||null!=(o=nF(o)).precision||(o.trim=!0),o=i(o)),t===1/0)return o;let c=Math.max(1,a*t/n.ticks().length);return t=>{let n=t/r(Math.round(e(t)));return n*a<a-.5&&(n*=a),n<=c?o(t):""}},n.nice=()=>o(nJ(o(),{floor:t=>r(Math.floor(e(t))),ceil:t=>r(Math.ceil(e(t)))})),n}function n6(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function n4(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function n7(t){var e=1,r=t(n6(1),n4(e));return r.constant=function(r){return arguments.length?t(n6(e=+r),n4(e)):e},nY(r)}function n9(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function ot(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function oe(t){return t<0?-t*t:t*t}function or(t){var e=t(nC,nC),r=1;return e.exponent=function(e){return arguments.length?1==(r=+e)?t(nC,nC):.5===r?t(ot,oe):t(n9(r),n9(1/r)):r},nY(e)}function on(){var t=or(nB());return t.copy=function(){return nR(t,on()).exponent(t.exponent())},rT.apply(t,arguments),t}function oo(){return on.apply(null,arguments).exponent(.5)}function oi(t){return Math.sign(t)*t*t}function oa(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r<e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let o of t)null!=(o=e(o,++n,t))&&(r<o||void 0===r&&o>=o)&&(r=o)}return r}function oc(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let o of t)null!=(o=e(o,++n,t))&&(r>o||void 0===r&&o>=o)&&(r=o)}return r}function ou(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:+(t>e))}function ol(t,e,r){let n=t[e];t[e]=t[r],t[r]=n}i=(o=function(t){var e,r,o,i=void 0===t.grouping||void 0===t.thous
1ands?nV:(e=nX.call(t.grouping,Number),r=t.thousands+"",function(t,n){for(var o=t.length,i=[],a=0,c=e[0],u=0;o>0&&c>0&&(u+c+1>n&&(c=Math.max(1,n-u)),i.push(t.substring(o-=c,o+c)),!((u+=c+1)>n));)c=e[a=(a+1)%e.length];return i.reverse().join(r)}),a=void 0===t.currency?"":t.currency[0]+"",c=void 0===t.currency?"":t.currency[1]+"",u=void 0===t.decimal?".":t.decimal+"",l=void 0===t.numerals?nV:(o=nX.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return o[+t]})}),s=void 0===t.percent?"%":t.percent+"",f=void 0===t.minus?"−":t.minus+"",p=void 0===t.nan?"NaN":t.nan+"";function h(t){var e=(t=nF(t)).fill,r=t.align,o=t.sign,h=t.symbol,y=t.zero,d=t.width,v=t.comma,m=t.precision,b=t.trim,g=t.type;"n"===g?(v=!0,g="g"):nq[g]||(void 0===m&&(m=12),b=!0,g="g"),(y||"0"===e&&"="===r)&&(y=!0,e="0",r="=");var x="$"===h?a:"#"===h&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",O="$"===h?c:/[%p]/.test(g)?s:"",w=nq[g],j=/[defgprs%]/.test(g);function A(t){var a,c,s,h=x,A=O;if("c"===g)A=w(t)+A,t="";else{var S=(t*=1)<0||1/t<0;if(t=isNaN(t)?p:w(Math.abs(t),m),b&&(t=function(t){t:for(var e,r=t.length,n=1,o=-1;n<r;++n)switch(t[n]){case".":o=e=n;break;case"0":0===o&&(o=n),e=n;break;default:if(!+t[n])break t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t}(t)),S&&0==+t&&"+"!==o&&(S=!1),h=(S?"("===o?o:f:"-"===o||"("===o?"":o)+h,A=("s"===g?nH[8+n/3]:"")+A+(S&&"("===o?")":""),j){for(a=-1,c=t.length;++a<c;)if(48>(s=t.charCodeAt(a))||s>57){A=(46===s?u+t.slice(a+1):t.slice(a))+A,t=t.slice(0,a);break}}}v&&!y&&(t=i(t,1/0));var P=h.length+t.length+A.length,E=P<d?Array(d-P+1).join(e):"";switch(v&&y&&(t=i(E+t,E.length?d-A.length:1/0),E=""),r){case"<":t=h+t+A+E;break;case"=":t=h+E+t+A;break;case"^":t=E.slice(0,P=E.length>>1)+h+t+A+E.slice(P);break;default:t=E+h+t+A}return l(t)}return m=void 0===m?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),A.toString=function(){return t+""},A}return{format:h,formatPrefix:function(t,e){var r=h(((t=nF(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(n$(e)/3))),o=Math.pow(10,-n),i=nH[8+n/3];return function(t){return r(o*t)+i}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,a=o.formatPrefix;let os=new Date,of=new Date;function op(t,e,r,n){function o(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return o.floor=e=>(t(e=new Date(+e)),e),o.ceil=r=>(t(r=new Date(r-1)),e(r,1),t(r),r),o.round=t=>{let e=o(t),r=o.ceil(t);return t-e<r-t?e:r},o.offset=(t,r)=>(e(t=new Date(+t),null==r?1:Math.floor(r)),t),o.range=(r,n,i)=>{let a,c=[];if(r=o.ceil(r),i=null==i?1:Math.floor(i),!(r<n)||!(i>0))return c;do c.push(a=new Date(+r)),e(r,i),t(r);while(a<r&&r<n);return c},o.filter=r=>op(e=>{if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)},(t,n)=>{if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););}),r&&(o.count=(e,n)=>(os.setTime(+e),of.setTime(+n),t(os),t(of),Math.floor(r(os,of))),o.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?o.filter(n?e=>n(e)%t==0:e=>o.count(0,e)%t==0):o:null),o}let oh=op(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);oh.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?op(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):oh:null,oh.range;let oy=op(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds());oy.range;let od=op(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getMinutes());od.range;let ov=op(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes());ov.range;let om=op(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getHours());om.range;let ob=op(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours());ob.range;let og=op(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1);og.range;let ox=op(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1);ox.range;let oO=op(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>Math.floor(t/864e5));function ow(t){return op(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5)}oO.range;let oj=ow(0),oA=ow(1),oS=ow(2),oP=ow(3),oE=ow(4),ok=ow(5),oT=ow(6);function oM(t){return op(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/6048e5)}oj.range,oA.range,oS.range,oP.range,oE.range,ok.range,oT.range;let o_=oM(0),oC=oM(1),oD=oM(2),oI=oM(3),oN=oM(4),oR=oM(5),oB=oM(6);o_.range,oC.range,oD.range,oI.range,oN.range,oR.range,oB.range;let oL=op(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());oL.range;let oz=op(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());oz.range;let oF=op(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());oF.every=t=>isFinite(t=Math.floor(t))&&t>0?op(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)}):null,oF.range;let oU=op(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());function oW(t,e,r,n,o,i){let a=[[oy,1,1e3],[oy,5,5e3],[oy,15,15e3],[oy,30,3e4],[i,1,6e4],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,36e5],[o,3,108e5],[o,6,216e5],[o,12,432e5],[n,1,864e5],[n,2,1728e5],[r,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function c(e,r,n){let o=Math.abs(r-e)/n,i=rX(([,,t])=>t).right(a,o);if(i===a.length)return t.every(rK(e/31536e6,r/31536e6,n));if(0===i)return oh.every(Math.max(rK(e,r,n),1));let[c,u]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return c.every(u)}return[function(t,e,r){let n=e<t;n&&([t,e]=[e,t]);let o=r&&"function"==typeof r.range?r:c(t,e,r),i=o?o.range(t,+e+1):[];return n?i.reverse():i},c]}oU.every=t=>isFinite(t=Math.floor(t))&&t>0?op(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null,oU.range;let[o$,oK]=oW(oU,oz,o_,oO,ob,ov),[oq,oV]=oW(oF,oL,oj,og,om,od);function oX(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function oH(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function oG(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var oY={"-":"",_:" ",0:"0"},oZ=/^\s*\d+/,oJ=/^%/,oQ=/[\\^$*+?|[\]().{}]/g;function o0(t,e,r){var n=t<0?"-":"",o=(n?-t:t)+"",i=o.length;return n+(i<r?Array(r-i+1).join(e)+o:o)}function o1(t){return t.replace(oQ,"\\$&")}function o2(t){return RegExp("^(?:"+t.map(o1).join("|")+")","i")}function o3(t){return new Map(t.map((t,e)=>[t.toLowerCase(),e]))}function o5(t,e,r){var n=oZ.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function o8(t,e,r){var n=oZ.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function o6(t,e,r){var n=oZ.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function o4(t,e,r){var n=oZ.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function o7(t,e,r){var n=oZ.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function o9(t,e,r){var n=oZ.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function it(t,e,r){var n=oZ.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function ie(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function ir(t,e,r){var n=oZ.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function io(t,e,r){var n=oZ.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function ii(t,e,r){var n=oZ.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function ia(t,e,r){var n=oZ.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function ic(t,e,r){var n=oZ.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function iu(t,e,r){var n=oZ.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function il(t,e,r){var n=oZ.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function is(t,e,r){var n=oZ.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function ip(t,e,r){var n=oZ.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function ih(t,e,r){var n=oJ.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function iy(t,e,r){var n=oZ.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function id(t,e,r){var n=oZ.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function iv(t,e){return o0(t.getDate(),e,2)}function im(t,e){return o0(t.getHours(),e,2)}function ib(t,e){return o0(t.getHours()%12||12,e,2)}function ig(t,e){return o0(1+og.count(oF(t),t),e,3)}function ix(t,e){return o0(t.getMilliseconds(),e,3)}function iO(t,e){return ix(t,e)+"000"}function iw(t,e){return o0(t.getMonth()+1,e,2)}function ij(t,e){return o0(t.getMinutes(),e,2)}function iA(t,e){return o0(t.getSeconds(),e,2)}function iS(t){var e=t.getDay();return 0===e?7:e}function iP(t,e){return o0(oj.count(oF(t)-1,t),e,2)}function iE(t){var e=t.getDay();return e>=4||0===e?oE(t):oE.ceil(t)}function ik(t,e){return t=iE(t),o0(oE.count(oF(t),t)+(4===oF(t).getDay()),e,2)}function iT(t){return t.getDay()}function iM(t,e){return o0(oA.count(oF(t)-1,t),e,2)}function i_(t,e){return o0(t.getFullYear()%100,e,2)}function iC(t,e){return o0((t=iE(t)).getFullYear()%100,e,2)}function iD(t,e){return o0(t.getFullYear()%1e4,e,4)}function iI(t,e){var r=t.getDay();return o0((t=r>=4||0===r?oE(t):oE.ceil(t)).getFullYear()%1e4,e,4)}function iN(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+o0(e/60|0,"0",2)+o0(e%60,"0",2)}function iR(t,e){return o0(t.getUTCDate(),e,2)}function iB(t,e){return o0(t.getUTCHours(),e,2)}function iL(t,e){return o0(t.getUTCHours()%12||12,e,2)}function iz(t,e){return o0(1+ox.count(oU(t),t),e,3)}function iF(t,e){return o0(t.getUTCMilliseconds(),e,3)}function iU(t,e){return iF(t,e)+"000"}function iW(t,e){return o0(t.getUTCMonth()+1,e,2)}function i$(t,e){return o0(t.getUTCMinutes(),e,2)}function iK(t,e){return o0(t.getUTCSeconds(),e,2)}function iq(t){var e=t.getUTCDay();return 0===e?7:e}function iV(t,e){return o0(o_.count(oU(t)-1,t),e,2)}function iX(t){var e=t.getUTCDay();return e>=4||0===e?oN(t):oN.ceil(t)}function iH(t,e){return t=iX(t),o0(oN.count(oU(t),t)+(4===oU(t).getUTCDay()),e,2)}function iG(t){return t.getUTCDay()}function iY(t,e){return o0(oC.count(oU(t)-1,t),e,2)}function iZ(t,e){return o0(t.getUTCFullYear()%100,e,2)}function iJ(t,e){return o0((t=iX(t)).getUTCFullYear()%100,e,2)}function iQ(t,e){return o0(t.getUTCFullYear()%1e4,e,4)}function i0(t,e){var r=t.getUTCDay();return o0((t=r>=4||0===r?oN(t):oN.ceil(t)).getUTCFullYear()%1e4,e,4)}function i1(){return"+0000"}function i2(){return"%"}function i3(t){return+t}function i5(t){return Math.floor(t/1e3)}function i8(t){return new Date(t)}function i6(t){return t instanceof Date?+t:+new Date(+t)}function i4(t,e,r,n,o,i,a,c,u,l){var s=nL(),f=s.invert,p=s.domain,h=l(".%L"),y=l(":%S"),d=l("%I:%M"),v=l("%I %p"),m=l("%a %d"),b=l("%b %d"),g=l("%B"),x=l("%Y");function O(t){return(u(t)<t?h:c(t)<t?y:a(t)<t?d:i(t)<t?v:n(t)<t?o(t)<t?m:b:r(t)<t?g:x)(t)}return s.invert=function(t){return new Date(f(t))},s.domain=function(t){return arguments.length?p(Array.from(t,i6)):p().map(i8)},s.ticks=function(e){var r=p();return t(r[0],r[r.length-1],null==e?10:e)}
vendor: 5,014 bytes, line 1
1,s.tickFormat=function(t,e){return null==e?O:l(e)},s.nice=function(t){var r=p();return t&&"function"==typeof t.range||(t=e(r[0],r[r.length-1],null==t?10:t)),t?p(nJ(r,t)):s},s.copy=function(){return nR(s,i4(t,e,r,n,o,i,a,c,u,l))},s}function i7(){return rT.apply(i4(oq,oV,oF,oL,oj,og,om,od,oy,u).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function i9(){return rT.apply(i4(o$,oK,oU,oz,o_,ox,ob,ov,oy,l).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function at(){var t,e,r,n,o,i=0,a=1,c=nC,u=!1;function l(e){return null==e||isNaN(e*=1)?o:c(0===r?.5:(e=(n(e)-t)*r,u?Math.max(0,Math.min(1,e)):e))}function s(t){return function(e){var r,n;return arguments.length?([r,n]=e,c=t(r,n),l):[c(0),c(1)]}}return l.domain=function(o){return arguments.length?([i,a]=o,t=n(i*=1),e=n(a*=1),r=t===e?0:1/(e-t),l):[i,a]},l.clamp=function(t){return arguments.length?(u=!!t,l):u},l.interpolator=function(t){return arguments.length?(c=t,l):c},l.range=s(nk),l.rangeRound=s(nT),l.unknown=function(t){return arguments.length?(o=t,l):o},function(o){return n=o,t=o(i),e=o(a),r=t===e?0:1/(e-t),l}}function ae(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function ar(){var t=or(at());return t.copy=function(){return ae(t,ar()).exponent(t.exponent())},rM.apply(t,arguments)}function an(){return ar.apply(null,arguments).exponent(.5)}function ao(){var t,e,r,n,o,i,a,c=0,u=.5,l=1,s=1,f=nC,p=!1;function h(t){return isNaN(t*=1)?a:(t=.5+((t=+i(t))-e)*(s*t<s*e?n:o),f(p?Math.max(0,Math.min(1,t)):t))}function y(t){return function(e){var r,n,o;return arguments.length?([r,n,o]=e,f=function(t,e){void 0===e&&(e=t,t=nk);for(var r=0,n=e.length-1,o=e[0],i=Array(n<0?0:n);r<n;)i[r]=t(o,o=e[++r]);return function(t){var e=Math.max(0,Math.min(n-1,Math.floor(t*=n)));return i[e](t-e)}}(t,[r,n,o]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){return arguments.length?([c,u,l]=a,t=i(c*=1),e=i(u*=1),r=i(l*=1),n=t===e?0:.5/(e-t),o=e===r?0:.5/(r-e),s=e<t?-1:1,h):[c,u,l]},h.clamp=function(t){return arguments.length?(p=!!t,h):p},h.interpolator=function(t){return arguments.length?(f=t,h):f},h.range=y(nk),h.rangeRound=y(nT),h.unknown=function(t){return arguments.length?(a=t,h):a},function(a){return i=a,t=a(c),e=a(u),r=a(l),n=t===e?0:.5/(e-t),o=e===r?0:.5/(r-e),s=e<t?-1:1,h}}function ai(){var t=or(ao());return t.copy=function(){return ae(t,ai()).exponent(t.exponent())},rM.apply(t,arguments)}function aa(){return ai.apply(null,arguments).exponent(.5)}function ac(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]}function au(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function al(t){for(var e=t.length,r=Array(e);--e>=0;)r[e]=e;return r}function as(t,e){return t[e]}function af(t){let e=[];return e.key=t,e}u=(c=function(t){var e=t.dateTime,r=t.date,n=t.time,o=t.periods,i=t.days,a=t.shortDays,c=t.months,u=t.shortMonths,l=o2(o),s=o3(o),f=o2(i),p=o3(i),h=o2(a),y=o3(a),d=o2(c),v=o3(c),m=o2(u),b=o3(u),g={a:function(t){return a[t.getDay()]},A:function(t){return i[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return c[t.getMonth()]},c:null,d:iv,e:iv,f:iO,g:iC,G:iI,H:im,I:ib,j:ig,L:ix,m:iw,M:ij,p:function(t){return o[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:i3,s:i5,S:iA,u:iS,U:iP,V:ik,w:iT,W:iM,x:null,X:null,y:i_,Y:iD,Z:iN,"%":i2},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return i[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return c[t.getUTCMonth()]},c:null,d:iR,e:iR,f:iU,g:iJ,G:i0,H:iB,I:iL,j:iz,L:iF,m:iW,M:i$,p:function(t){return o[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:i3,s:i5,S:iK,u:iq,U:iV,V:iH,w:iG,W:iY,x:null,X:null,y:iZ,Y:iQ,Z:i1,"%":i2},O={a:function(t,e,r){var n=h.exec(e.slice(r));return n?(t.w=y.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(t,e,r){var n=f.exec(e.slice(r));return n?(t.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(t,e,r){var n=m.exec(e.slice(r));return n?(t.m=b.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(t,e,r){var n=d.exec(e.slice(r));return n?(t.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(t,r,n){return A(t,e,r,n)},d:ii,e:ii,f:ip,g:it,G:o9,H:ic,I:ic,j:ia,L:is,m:io,M:iu,p:function(t,e,r){var n=l.exec(e.slice(r));return n?(t.p=s.get(n[0].toLowerCase()),r+n[0].length):-1},q:ir,Q:iy,s:id,S:il,u:o8,U:o6,V:o4,w:o5,W:o7,x:function(t,e,n){return A(t,r,e,n)},X:function(t,e,r){return A(t,n,e,r)},y:it,Y:o9,Z:ie,"%":ih};function w(t,e){return function(r){var n,o,i,a=[],c=-1,u=0,l=t.length;for(r instanceof Date||(r=new Date(+r));++c<l;)37===t.charCodeAt(c)&&(a.push(t.slice(u,c)),null!=(o=oY[n=t.charAt(++c)])?n=t.charAt(++c):o="e"===n?" ":"0",(i=e[n])&&(n=i(r,o)),a.push(n),u=c+1);return a.push(t.slice(u,c)),a.join("")}}function j(t,e){return function(r){var n,o,i=oG(1900,void 0,1);if(A(i,t,r+="",0)!=r.length)return null;if("Q"in i)return new Date(i.Q);
1if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(!e||"Z"in i||(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(n=(o=(n=oH(oG(i.y,0,1))).getUTCDay())>4||0===o?oC.ceil(n):oC(n),n=ox.offset(n,(i.V-1)*7),i.y=n.getUTCFullYear(),i.m=n.getUTCMonth(),i.d=n.getUTCDate()+(i.w+6)%7):(n=(o=(n=oX(oG(i.y,0,1))).getDay())>4||0===o?oA.ceil(n):oA(n),n=og.offset(n,(i.V-1)*7),i.y=n.getFullYear(),i.m=n.getMonth(),i.d=n.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:+("W"in i)),o="Z"in i?oH(oG(i.y,0,1)).getUTCDay():oX(oG(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,oH(i)):oX(i)}}function A(t,e,r,n){for(var o,i,a=0,c=e.length,u=r.length;a<c;){if(n>=u)return -1;if(37===(o=e.charCodeAt(a++))){if(!(i=O[(o=e.charAt(a++))in oY?e.charAt(a++):o])||(n=i(t,r,n))<0)return -1}else if(o!=r.charCodeAt(n++))return -1}return n}return g.x=w(r,g),g.X=w(n,g),g.c=w(e,g),x.x=w(r,x),x.X=w(n,x),x.c=w(e,x),{format:function(t){var e=w(t+="",g);return e.toString=function(){return t},e},parse:function(t){var e=j(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",x);return e.toString=function(){return t},e},utcParse:function(t){var e=j(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,c.parse,l=c.utcFormat,c.utcParse,Array.prototype.slice;var ap=r(72092),ah=r.n(ap),ay=r(91038),ad=r.n(ay),av=r(84521),am=r.n(av),ab=r(35138),ag=r.n(ab),ax=r(29533),aO=r.n(ax);function aw(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 aj=function(t){return t},aA={},aS=function(t){return t===aA},aP=function(t){return function e(){return 0==arguments.length||1==arguments.length&&aS(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},aE=function(t){return function t(e,r){return 1===e?r:aP(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!==aA}).length;return a>=e?r.apply(void 0,o):t(e-a,aP(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 aS(t)?e.shift():t});return r.apply(void 0,((function(t){if(Array.isArray(t))return aw(t)})(i)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(i)||function(t,e){if(t){if("string"==typeof t)return aw(t,void 0);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 aw(t,e)}}(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)},ak=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},aT=aE(function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map(function(t){return e[t]}).map(t)}),aM=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return aj;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))}},a_=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},aC=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))}};aE(function(t,e,r){var n=+t;return n+r*(e-n)}),aE(function(t,e,r){var n=e-t;return(r-t)/(n=n||1/0)}),aE(function(t,e,r){var n=e-t;return Math.max(0,Math.min(1,(r-t)/(n=n||1/0)))});let aD={rangeStep:function(t,e,r){for(var n=new(aO())(t),o=0,i=[];n.lt(e)&&o<1e5;)i.push(n.toNumber()),n=n.add(r),o++;return i},getDigitCount:function(t){return 0===t?1:Math.floor(new(aO())(t).abs().log(10).toNumber())+1}};function aI(t){return function(t){if(Array.isArray(t))return aB(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||aR(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 aN(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}(t,e)||aR(t,e)||function(){throw TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function aR(t,e){if(t){if("string"==typeof t)return aB(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 aB(t,e)}}function aB(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 aL(t){var e=aN(t,2),r=e[0],n=e[1],o=r,i=n;return r>n&&(o=n,i=r),[o,i]}function az(t,e,r){if(t.lte(0))return new(aO())(0);var n=aD.getDigitCount(t.toNumber()),o=new(aO())(10).pow(n),i=t.div(o),a=1!==n?.05:.1,c=new(aO())(Math.ceil(i.div(a).toNumber())).add(r).mul(a).mul(o);return e?c:new(aO())(Math.ceil(c))}function aF(t,e,r){var n=1,o=new(aO())(t);if(!o.isint()&&r){var i=Math.abs(t);i<1?(n=new(aO())(10).pow(aD.getDigitCount(t)-1),o=new(aO())(Math.floor(o.div(n).toNumber())).mul(n)):i>1&&(o=new(aO())(Math.floor(t)))}else 0===t?o=new(aO())(Math.floor((e-1)/2)):r||(o=new(aO())(Math.floor(t)));var a=Math.floor((e-1)/2);return aM(aT(function(t){return o.add(new(aO())(t-a).mul(n)).toNumber()}),ak)(0,e)}var aU=aC(function(t){var e=aN(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=aN(aL([r,n]),2),u=c[0],l=c[1];if(u===-1/0||l===1/0){var s=l===1/0?[u].concat(aI(ak(0,o-1).map(function(){return 1/0}))):[].concat(aI(ak(0,o-1).map(function(){return-1/0})),[l]);return r>n?a_(s):s}if(u===l)return aF(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(aO())(0),tickMin:new(aO())(0),tickMax:new(aO())(0)};var c=az(new(aO())(r).sub(e).div(n-1),o,a),u=Math.ceil((i=e<=0&&r>=0?new(aO())(0):(i=new(aO())(e).add(r).div(2)).sub(new(aO())(i).mod(c))).sub(e).div(c).toNumber()),l=Math.ceil(new(aO())(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(aO())(u).mul(c)),tickMax:i.add(new(aO())(l).mul(c))})}(u,l,a,i),p=f.step,h=f.tickMin,y=f.tickMax,d=aD.rangeStep(h,y.add(new(aO())(.1).mul(p)),p);return r>n?a_(d):d});aC(function(t){var e=aN(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=aN(aL([r,n]),2),u=c[0],l=c[1];if(u===-1/0||l===1/0)return[r,n];if(u===l)return aF(u,o,i);var s=az(new(aO())(l).sub(u).div(a-1),i,0),f=aM(aT(function(t){return new(aO())(u).add(new(aO())(t).mul(s)).toNumber()}),ak)(0,a).filter(function(t){return t>=u&&t<=l});return r>n?a_(f):f});var aW=aC(function(t,e){var r=aN(t,2),n=r[0],o=r[1],i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=aN(aL([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=az(new(aO())(u).sub(c).div(l-1),i,0),f=[].concat(aI(aD.rangeStep(new(aO())(c),new(aO())(u).sub(new(aO())(.99).mul(s)),s)),[u]);return n>o?a_(f):f});function a$(t,e){if(!t)throw Error("Invariant failed")}var aK=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function aq(t){return(aq="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 aV(){return(aV=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 aX(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 aH(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aH=function(){return!!t})()}function aG(t){return(aG=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function aY(t,e){return(aY=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function aZ(t,e,r){return(e=aJ(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function aJ(t){var e=function(t,e){if("object"!=aq(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=aq(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==aq(e)?e:e+""}var aQ=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=aG(t),function(t,e){if(e&&("object"===aq(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,aH()?Reflect.construct(t,e||[],aG(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&&aY(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.offset,r=t.layout,n=t.width,o=t.dataKey,i=t.data,a=t.dataPointFormatter,c=t.xAxis,u=t.yAxis,l=tp(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,aK),!1);"x"===this.props.direction&&"number"!==c.type&&a$(!1);
1var s=i.map(function(t){var i,s,p=a(t,o),h=p.x,y=p.y,d=p.value,v=p.errorVal;if(!v)return null;var m=[];if(Array.isArray(v)){var b=function(t){if(Array.isArray(t))return t}(v)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{i=(r=r.call(t)).next,!1;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}}(v,2)||function(t,e){if(t){if("string"==typeof t)return aX(t,2);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 aX(t,e)}}(v,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=b[0],s=b[1]}else i=s=v;if("vertical"===r){var g=c.scale,x=y+e,O=x+n,w=x-n,j=g(d-i),A=g(d+s);m.push({x1:A,y1:O,x2:A,y2:w}),m.push({x1:j,y1:x,x2:A,y2:x}),m.push({x1:j,y1:O,x2:j,y2:w})}else if("horizontal"===r){var S=u.scale,P=h+e,E=P-n,k=P+n,T=S(d-i),M=S(d+s);m.push({x1:E,y1:M,x2:k,y2:M}),m.push({x1:P,y1:T,x2:P,y2:M}),m.push({x1:E,y1:T,x2:k,y2:T})}return f.createElement(tw,aV({className:"recharts-errorBar",key:"bar-".concat(m.map(function(t){return"".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))},l),m.map(function(t){return f.createElement("line",aV({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))}))});return f.createElement(tw,{className:"recharts-errorBars"},s)}}],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,aJ(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(f.Component);function a0(t){return(a0="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 a1(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 a2(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a1(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"!=a0(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a0(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a0(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)):a1(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}aZ(aQ,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),aZ(aQ,"displayName","ErrorBar");var a3=function(t){var e,r=t.children,n=t.formattedGraphicalItems,o=t.legendWidth,i=t.legendContent,a=ti(r,ev);if(!a)return null;var c=ev.defaultProps,u=void 0!==c?a2(a2({},c),a.props):{};return e=a.props&&a.props.payload?a.props&&a.props.payload:"children"===i?(n||[]).reduce(function(t,e){var r=e.item,n=e.props,o=n.sectors||n.data||[];return t.concat(o.map(function(t){return{type:a.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}}))},[]):(n||[]).map(function(t){var e=t.item,r=e.type.defaultProps,n=void 0!==r?a2(a2({},r),e.props):{},o=n.dataKey,i=n.name,a=n.legendType;return{inactive:n.hide,dataKey:o,type:u.iconType||a||"square",color:cn(e),value:i||o,payload:n}}),a2(a2(a2({},u),ev.getWithHeight(a,o)),{},{payload:e,item:a})};function a5(t){return(a5="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 a8(t){return function(t){if(Array.isArray(t))return a6(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return a6(t,void 0);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 a6(t,e)}}(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 a6(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 a4(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 a7(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?a4(Object(r),!0).forEach(function(e){a9(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a4(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function a9(t,e,r){var n;return(n=function(t,e){if("object"!=a5(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a5(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==a5(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ct(t,e,r){return v()(t)||v()(e)?r:_(e)?y()(t,e,r):x()(e)?e(t):r}function ce(t,e,r,n){var o=am()(t,function(t){return ct(t,e)});if("number"===r){var i=o.filter(function(t){return M(t)||parseFloat(t)});return i.length?[ad()(i),ah()(i)]:[1/0,-1/0]}return(n?o.filter(function(t){return!v()(t)}):o).map(function(t){return _(t)||t instanceof Date?t:""})}var cr=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!=(e=null==r?void 0:r.length)?e:0;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(k(s-l)!==k(f-s)){var h=[];if(k(f-s)===k(c[1]-c[0])){p=f;var y=s+c[1]-c[0];h[0]=Math.min(y,(y+l)/2),h[1]=Math.max(y,(y+l)/2)}else{p=l;var d=f+c[1]-c[0];h[0]=Math.min(s,(d+s)/2),h[1]=Math.max(s,(d+s)/2)}var v=[Math.min(s,(p+s)/2),Math.max(s,(p+s)/2)];if(t>v[0]&&t<=v[1]||t>=h[0]&&t<=h[1]){i=n[u].index;break}}else{var m=Math.min(l,f),b=Math.max(l,f);if(t>(m+s)/2&&t<=(b+s)/2){i=n[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},cn=function(t){var e,r,n=t.type.displayName,o=null!=(e=t.type)&&e.defaultProps?a7(a7({},t.type.defaultProps),t.props):t.props,i=o.stroke,a=o.fill;switch(n){case"Line":r=i;break;case"Area":case"Radar":r=i&&"none"!==i?i:a;break;default:r=a}return r},co=function(t){var e=t.barSize,r=t.totalSize,n=t.stackGroups,o=void 0===n?{}:n;if(!o)return{};for(var i={},a=Object.keys(o),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 h=l[s[f]],y=h.items,d=h.cateAxisId,m=y.filter(function(t){return tt(t.type).indexOf("Bar")>=0});if(m&&m.length){var b=m[0].type.defaultProps,g=void 0!==b?a7(a7({},b),m[0].props):m[0].props,x=g.barSize,O=g[d];i[O]||(i[O]=[]);var w=v()(x)?e:x;i[O].push({item:m[0],stackList:m.slice(1),barSize:v()(w)?void 0:I(w,r,0)})}}return i},ci=function(t){var e,r=t.barGap,n=t.barCategoryGap,o=t.bandSize,i=t.sizeList,a=void 0===i?[]:i,c=t.maxBarSize,u=a.length;if(u<1)return null;var l=I(r,o,0,!0),s=[];if(a[0].barSize===+a[0].barSize){var f=!1,p=o/u,h=a.reduce(function(t,e){return t+e.barSize||0},0);(h+=(u-1)*l)>=o&&(h-=(u-1)*l,l=0),h>=o&&p>0&&(f=!0,p*=.9,h=u*p);var y={offset:((o-h)/2|0)-l,size:0};e=a.reduce(function(t,e){var r={item:e.item,position:{offset:y.offset+y.size+l,size:f?p:e.barSize}},n=[].concat(a8(t),[r]);return y=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:y})}),n},s)}else{var d=I(n,o,0,!0);o-2*d-(u-1)*l<=0&&(l=0);var v=(o-2*d-(u-1)*l)/u;v>1&&(v>>=0);var m=c===+c?Math.min(v,c):v;e=a.reduce(function(t,e,r){var n=[].concat(a8(t),[{item:e.item,position:{offset:d+(v+l)*r+(v-m)/2,size:m}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:n[n.length-1].position})}),n},s)}return e},ca=function(t,e,r,n){var o=r.children,i=r.width,a=r.margin,c=a3({children:o,legendWidth:i-(a.left||0)-(a.right||0)});if(c){var u=n||{},l=u.width,s=u.height,f=c.align,p=c.verticalAlign,h=c.layout;if(("vertical"===h||"horizontal"===h&&"middle"===p)&&"center"!==f&&M(t[f]))return a7(a7({},t),{},a9({},f,t[f]+(l||0)));if(("horizontal"===h||"vertical"===h&&"center"===f)&&"middle"!==p&&M(t[p]
1))return a7(a7({},t),{},a9({},p,t[p]+(s||0)))}return t},cc=function(t,e,r,n,o){var i=to(e.props.children,aQ).filter(function(t){var e;return e=t.props.direction,!!v()(o)||("horizontal"===n?"yAxis"===o:"vertical"===n||"x"===e?"xAxis"===o:"y"!==e||"yAxis"===o)});if(i&&i.length){var a=i.map(function(t){return t.props.dataKey});return t.reduce(function(t,e){var n=ct(e,r);if(v()(n))return t;var o=Array.isArray(n)?[ad()(n),ah()(n)]:[n,n],i=a.reduce(function(t,r){var n=ct(e,r,0),i=o[0]-Math.abs(Array.isArray(n)?n[0]:n),a=o[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(i,t[0]),Math.max(a,t[1])]},[1/0,-1/0]);return[Math.min(i[0],t[0]),Math.max(i[1],t[1])]},[1/0,-1/0])}return null},cu=function(t,e,r,n,o){var i=e.map(function(e){return cc(t,e,r,o,n)}).filter(function(t){return!v()(t)});return i&&i.length?i.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]):null},cl=function(t,e,r,n,o){var i=e.map(function(e){var i=e.props.dataKey;return"number"===r&&i&&cc(t,e,i,n)||ce(t,i,r,o)});if("number"===r)return i.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]);var a={};return i.reduce(function(t,e){for(var r=0,n=e.length;r<n;r++)a[e[r]]||(a[e[r]]=!0,t.push(e[r]));return t},[])},cs=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},cf=function(t,e,r,n){if(n)return t.map(function(t){return t.coordinate});var o,i,a=t.map(function(t){return t.coordinate===e&&(o=!0),t.coordinate===r&&(i=!0),t.coordinate});return o||a.push(e),i||a.push(r),a},cp=function(t,e,r){if(!t)return null;var n=t.scale,o=t.duplicateDomain,i=t.type,a=t.range,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*k(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!S()(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}})},ch=new WeakMap,cy=function(t,e){if("function"!=typeof e)return t;ch.has(t)||ch.set(t,new WeakMap);var r=ch.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},cd=function(t,e,r){var n=t.scale,o=t.type,i=t.layout,a=t.axisType;if("auto"===n)return"radial"===i&&"radiusAxis"===a?{scale:rR(),realScaleType:"band"}:"radial"===i&&"angleAxis"===a?{scale:nZ(),realScaleType:"linear"}:"category"===o&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>
1=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:rB(),realScaleType:"point"}:"category"===o?{scale:rR(),realScaleType:"band"}:{scale:nZ(),realScaleType:"linear"};if(b()(n)){var c="scale".concat(tS()(n));return{scale:(s[c]||rB)(),realScaleType:s[c]?c:"point"}}return x()(n)?{scale:n}:{scale:rB(),realScaleType:"point"}},cv=function(t){var e=t.domain();if(e&&!(e.length<=2)){var r=e.length,n=t.range(),o=Math.min(n[0],n[1])-1e-4,i=Math.max(n[0],n[1])+1e-4,a=t(e[0]),c=t(e[r-1]);(a<o||a>i||c<o||c>i)&&t.domain([e[0],e[r-1]])}},cm=function(t,e){if(!t)return null;for(var r=0,n=t.length;r<n;r++)if(t[r].item===e)return t[r].position;return null},cb=function(t,e){if(!e||2!==e.length||!M(e[0])||!M(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(!M(t[0])||t[0]<r)&&(o[0]=r),(!M(t[1])||t[1]>n)&&(o[1]=n),o[0]>n&&(o[0]=n),o[1]<r&&(o[1]=r),o},cg={sign:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var o=0,i=0,a=0;a<e;++a){var c=S()(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}ac(t,e)}},none:ac,silhouette:function(t,e){if((r=t.length)>0){for(var r,n=0,o=t[e[0]],i=o.length;n<i;++n){for(var a=0,c=0;a<r;++a)c+=t[a][n][1]||0;o[n][1]+=o[n][0]=-c/2}ac(t,e)}},wiggle:function(t,e){if((o=t.length)>0&&(n=(r=t[e[0]]).length)>0){for(var r,n,o,i=0,a=1;a<n;++a){for(var c=0,u=0,l=0;c<o;++c){for(var s=t[e[c]],f=s[a][1]||0,p=(f-(s[a-1][1]||0))/2,h=0;h<c;++h){var y=t[e[h]];p+=(y[a][1]||0)-(y[a-1][1]||0)}u+=f,l+=p*f}r[a-1][1]+=r[a-1][0]=i,u&&(i-=l/u)}r[a-1][1]+=r[a-1][0]=i,ac(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=S()(t[i][r][1])?t[i][r][0]:t[i][r][1];a>=0?(t[i][r][0]=o,t[i][r][1]=o+a,o=t[i][r][1]):(t[i][r][0]=0,t[i][r][1]=0)}}},cx=function(t,e,r){var n=e.map(function(t){return t.props.dataKey}),o=cg[r];return(function(){var t=tU([]),e=al,r=ac,n=as;function o(o){var i,a,c=Array.from(t.apply(this,arguments),af),u=c.length,l=-1;for(let t of o)for(i=0,++l;i<u;++i)(c[i][l]=[0,+n(t,c[i].key,l,o)]).data=t;for(i=0,a=au(e(c));i<u;++i)c[a[i]].index=i;return r(c,a),c}return o.keys=function(e){return arguments.length?(t="function"==typeof e?e:tU(Array.from(e)),o):t},o.value=function(t){return arguments.length?(n="function"==typeof t?t:tU(+t),o):n},o.order=function(t){return arguments.length?(e=null==t?al:"function"==typeof t?t:tU(Array.from(t)),o):e},o.offset=function(t){return arguments.length?(r=null==t?ac:t,o):r},o})().keys(n).value(function(t,e){return+ct(t,e,0)}).order(al).offset(o)(t)},cO=function(t,e,r,n,o,i){if(!t)return null;var a=(i?e.reverse():e).reduce(function(t,e){var o,i=null!=(o=e.type)&&o.defaultProps?a7(a7({},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(_(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[D("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return a7(a7({},t),{},a9({},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 a7(a7({},e),{},a9({},i,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:cx(t,a.items,o)}))},{})),a7(a7({},e),{},a9({},i,c))},{})},cw=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=aU(u,o,a);return t.domain([ad()(l),ah()(l)]),{niceTicks:l}}return o&&"number"===n?{niceTicks:aW(t.domain(),o,a)}:null};function cj(t){var e=t.axis,r=t.ticks,n=t.bandSize,o=t.entry,i=t.index,a=t.dataKey;if("category"===e.type){if(!e.allowDuplicatedCategory&&e.dataKey&&!v()(o[e.dataKey])){var c=L(r,"value",o[e.dataKey]);if(c)return c.coordinate+n/2}return r[i]?r[i].coordinate+n/2:null}var u=ct(o,v()(a)?e.dataKey:a);return v()(u)?null:e.scale(u)}var cA=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=ct(i,e.dataKey,e.domain[a]);return v()(c)?null:e.scale(c)-o/2+n},cS=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]}
1,cP=function(t,e){var r,n=(null!=(r=t.type)&&r.defaultProps?a7(a7({},t.type.defaultProps),t.props):t.props).stackId;if(_(n)){var o=e[n];if(o){var i=o.items.indexOf(t);return i>=0?o.stackedData[i]:null}}return null},cE=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[ad()(e.concat([t[0]]).filter(M)),ah()(e.concat([t[1]]).filter(M))]},[1/0,-1/0]);return[Math.min(t[0],o[0]),Math.max(t[1],o[1])]},[1/0,-1/0]);return[Math.min(i[0],n[0]),Math.max(i[1],n[1])]},[1/0,-1/0]).map(function(t){return t===1/0||t===-1/0?0:t})},ck=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,cT=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,cM=function(t,e,r){if(x()(t))return t(e,r);if(!Array.isArray(t))return e;var n=[];if(M(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(ck.test(t[0])){var o=+ck.exec(t[0])[1];n[0]=e[0]-o}else x()(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if(M(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(cT.test(t[1])){var i=+cT.exec(t[1])[1];n[1]=e[1]+i}else x()(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},c_=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=eb()(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},cC=function(t,e,r){return!t||!t.length||ag()(t,y()(r,"type.defaultProps.domain"))?e:t},cD=function(t,e){var r=t.type.defaultProps?a7(a7({},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 a7(a7({},tp(t,!1)),{},{dataKey:n,unit:i,formatter:a,name:o||n,color:cn(t),value:ct(e,n),type:c,payload:e,chartType:u,hide:l})};function cI(t){return(cI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function cN(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function cR(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?cN(Object(r),!0).forEach(function(e){cB(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cN(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function cB(t,e,r){var n;return(n=function(t,e){if("object"!=cI(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=cI(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==cI(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function cL(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 cz=Math.PI/180,cF=function(t,e,r,n){return{x:t+Math.cos(-cz*n)*r,y:e+Math.sin(-cz*n)*r}},cU=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(t-(r.left||0)-(r.right||0)),Math.abs(e-(r.top||0)-(r.bottom||0)))/2},cW=function(t,e,r,n,o){var i=t.width,a=t.height,c=t.startAngle,u=t.endAngle,l=I(t.cx,i,i/2),s=I(t.cy,a,a/2),f=cU(i,a,r),p=I(t.innerRadius,f,0),h=I(t.outerRadius,f,.8*f);return Object.keys(e).reduce(function(t,r){var i,a=e[r],f=a.domain,y=a.reversed;if(v()(a.range))"angleAxis"===n?i=[c,u]:"radiusAxis"===n&&(i=[p,h]),y&&(i=[i[1],i[0]]);else{var d,m=function(t){if(Array.isArray(t))return t}(d=i=a.range)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{i=(r=r.call(t)).next,!1;for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}
1finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(d,2)||function(t,e){if(t){if("string"==typeof t)return cL(t,2);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 cL(t,e)}}(d,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.")}();c=m[0],u=m[1]}var b=cd(a,o),g=b.realScaleType,x=b.scale;x.domain(f).range(i),cv(x);var O=cw(x,cR(cR({},a),{},{realScaleType:g})),w=cR(cR(cR({},a),O),{},{range:i,radius:h,realScaleType:g,scale:x,cx:l,cy:s,innerRadius:p,outerRadius:h,startAngle:c,endAngle:u});return cR(cR({},t),{},cB({},r,w))},{})},c$=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))},cK=function(t,e){var r=t.x,n=t.y,o=e.cx,i=e.cy,a=c$({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}},cq=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}},cV=function(t,e){var r,n=cK({x:t.x,y:t.y},e),o=n.radius,i=n.angle,a=e.innerRadius,c=e.outerRadius;if(o<a||o>c)return!1;if(0===o)return!0;var u=cq(e),l=u.startAngle,s=u.endAngle,f=i;if(l<=s){for(;f>s;)f-=360;for(;f<l;)f+=360;r=f>=l&&f<=s}else{for(;f>l;)f-=360;for(;f<s;)f+=360;r=f>=s&&f<=l}return r?cR(cR({},e),{},{radius:o,angle:f+360*Math.min(Math.floor(e.startAngle/360),Math.floor(e.endAngle/360))}):null},cX=function(t){return(0,f.isValidElement)(t)||x()(t)||"boolean"==typeof t?"":t.className};function cH(t){return(cH="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 cG=["offset"];function cY(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 cZ(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 cJ(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?cZ(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"!=cH(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=cH(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==cH(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)):cZ(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function cQ(){return(cQ=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 c0=function(t){var e=t.value,r=t.formatter,n=v()(t.children)?e:t.children;return x()(r)?r(n):n},c1=function(t,e,r){var n,o,i=t.position,a=t.viewBox,c=t.offset,u=t.className,l=a.cx,s=a.cy,h=a.innerRadius,y=a.outerRadius,d=a.startAngle,m=a.endAngle,b=a.clockWise,g=(h+y)/2,x=k(m-d)*Math.min(Math.abs(m-d),360),O=x>=0?1:-1;"insideStart"===i?(n=d+O*c,o=b):"insideEnd"===i?(n=m-O*c,o=!b):"end"===i&&(n=m+O*c,o=b),o=x<=0?o:!o;var w=cF(l,s,g,n),j=cF(l,s,g,n+(o?1:-1)*359),A="M".concat(w.x,",").concat(w.y,"\n    A").concat(g,",").concat(g,",0,1,").concat(+!o,",\n    ").concat(j.x,",").concat(j.y),S=v()(t.id)?D("recharts-radial-line-"):t.id;return f.createElement("text",cQ({},r,{dominantBaseline:"central",className:(0,p.A)("recharts-radial-bar-label",u)}),f.createElement("defs",null,f.createElement("path",{id:S,d:A})),f.createElement("textPath",{xlinkHref:"#".concat(S)},e))},c2=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=cF(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=cF(o,i,(a+c)/2,u);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}},c3=function(t){var e=t.viewBox,r=t.parentViewBox,n=t.offset,o=t.position,i=e.x,a=e.
1y,c=e.width,u=e.height,l=u>=0?1:-1,s=l*n,f=l>0?"end":"start",p=l>0?"start":"end",h=c>=0?1:-1,y=h*n,d=h>0?"end":"start",v=h>0?"start":"end";if("top"===o)return cJ(cJ({},{x:i+c/2,y:a-l*n,textAnchor:"middle",verticalAnchor:f}),r?{height:Math.max(a-r.y,0),width:c}:{});if("bottom"===o)return cJ(cJ({},{x:i+c/2,y:a+u+s,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(r.y+r.height-(a+u),0),width:c}:{});if("left"===o){var m={x:i-y,y:a+u/2,textAnchor:d,verticalAnchor:"middle"};return cJ(cJ({},m),r?{width:Math.max(m.x-r.x,0),height:u}:{})}if("right"===o){var b={x:i+c+y,y:a+u/2,textAnchor:v,verticalAnchor:"middle"};return cJ(cJ({},b),r?{width:Math.max(r.x+r.width-b.x,0),height:u}:{})}var g=r?{width:c,height:u}:{};return"insideLeft"===o?cJ({x:i+y,y:a+u/2,textAnchor:v,verticalAnchor:"middle"},g):"insideRight"===o?cJ({x:i+c-y,y:a+u/2,textAnchor:d,verticalAnchor:"middle"},g):"insideTop"===o?cJ({x:i+c/2,y:a+s,textAnchor:"middle",verticalAnchor:p},g):"insideBottom"===o?cJ({x:i+c/2,y:a+u-s,textAnchor:"middle",verticalAnchor:f},g):"insideTopLeft"===o?cJ({x:i+y,y:a+s,textAnchor:v,verticalAnchor:p},g):"insideTopRight"===o?cJ({x:i+c-y,y:a+s,textAnchor:d,verticalAnchor:p},g):"insideBottomLeft"===o?cJ({x:i+y,y:a+u-s,textAnchor:v,verticalAnchor:f},g):"insideBottomRight"===o?cJ({x:i+c-y,y:a+u-s,textAnchor:d,verticalAnchor:f},g):w()(o)&&(M(o.x)||T(o.x))&&(M(o.y)||T(o.y))?cJ({x:i+I(o.x,c),y:a+I(o.y,u),textAnchor:"end",verticalAnchor:"end"},g):cJ({x:i+c/2,y:a+u/2,textAnchor:"middle",verticalAnchor:"middle"},g)};function c5(t){var e,r=t.offset,n=cJ({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,cG)),o=n.viewBox,i=n.position,a=n.value,c=n.children,u=n.content,l=n.className,s=n.textBreakAll;if(!o||v()(a)&&v()(c)&&!(0,f.isValidElement)(u)&&!x()(u))return null;if((0,f.isValidElement)(u))return(0,f.cloneElement)(u,n);if(x()(u)){if(e=(0,f.createElement)(u,n),(0,f.isValidElement)(e))return e}else e=c0(n);var h="cx"in o&&M(o.cx),y=tp(n,!0);if(h&&("insideStart"===i||"insideEnd"===i||"end"===i))return c1(n,e,y);var d=h?c2(n):c3(n);return f.createElement(rk,cQ({className:(0,p.A)("recharts-label",void 0===l?"":l)},y,d,{breakAll:s}),e)}c5.displayName="Label";var c8=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,h=t.left,y=t.width,d=t.height,v=t.clockWise,m=t.labelViewBox;if(m)return m;if(M(y)&&M(d)){if(M(s)&&M(f))return{x:s,y:f,width:y,height:d};if(M(p)&&M(h))return{x:p,y:h,width:y,height:d}}return M(s)&&M(f)?{x:s,y:f,width:0,height:0}:M(e)&&M(r)?{cx:e,cy:r,startAngle:o||n||0,endAngle:i||n||0,innerRadius:u||0,outerRadius:l||c||a||0,clockWise:v}:t.viewBox?t.viewBox:{}};c5.parseViewBox=c8,c5.renderCallByParent=function(t,e){var r,n,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&o&&!t.label)return null;var i=t.children,a=c8(t),c=to(i,c5).map(function(t,r){return(0,f.cloneElement)(t,{viewBox:e||a,key:"label-".concat(r)})});if(!o)return c;return[(r=t.label,n=e||a,!r?null:!0===r?f.createElement(c5,{key:"label-implicit",viewBox:n}):_(r)?f.createElement(c5,{key:"label-implicit",viewBox:n,value:r}):(0,f.isValidElement)(r)?r.type===c5?(0,f.cloneElement)(r,{key:"label-implicit",viewBox:n}):f.createElement(c5,{key:"label-implicit",content:r,viewBox:n}):x()(r)?f.createElement(c5,{key:"label-implicit",content:r,viewBox:n}):w()(r)?f.createElement(c5,cQ({viewBox:n},r,{key:"label-implicit"})):null)].concat(function(t){if(Array.isArray(t))return cY(t)}(c)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(c)||function(t,e){if(t){if("string"==typeof t)return cY(t,void 0);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 cY(t,e)}}(c)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())};var c6=r(30114),c4=r.n(c6);function c7(t){return(c7="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 c9=["valueAccessor"],ut=["data","dataKey","clockWise","id","textBreakAll"];function ue(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 ur(){return(ur=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function un(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 uo(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?un(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"!=c7(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=c7(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c7(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)):un(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function ui(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 ua=function(t){return Array.isArray(t.value)?c4()(t.value):t.value};function uc(t){var e=t.valueAccessor,r=void 0===e?ua:e,n=ui(t,c9),o=n.data,i=n.dataKey,a=n.clockWise,c=n.id,u=n.textBreakAll,l=ui(n,ut);return o&&o.length?f.createElement(tw,{className:"recharts-label-list"},o.map(function(t,e){var n=v()(i)?r(t,e):ct(t&&t.payload,i),o=v()(c)?{}:{id:"".concat(c,"-").concat(e)};return f.createElement(c5,ur({},tp(t,!0),l,o,{parentViewBox:t.parentViewBox,value:n,textBreakAll:u,viewBox:c5.parseViewBox(v()(a)?t:uo(uo({},t),{},{clockWise:a})),key:"label-".concat(e),index:e}))})):null}uc.displayName="LabelList",uc.renderCallByParent=function(t,e){var r,n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&n&&!t.label)return null;var o=to(t.children,uc).map(function(t,r){return(0,f.cloneElement)(t,{data:e,key:"labelList-".concat(r)})});return n?[(r=t.label,!r?null:!0===r?f.createElement(uc,{key:"labelList-implicit",data:e}):f.isValidElement(r)||x()(r)?f.createElement(uc,{key:"labelList-implicit",data:e,content:r}):w()(r)?f.createElement(uc,ur({data:e},r,{key:"labelList-implicit"})):null)].concat(function(t){if(Array.isArray(t))return ue(t)}(o)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(o)||function(t,e){if(t){if("string"==typeof t)return ue(t,void 0);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 ue(t,e)}}(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):o};var uu=["component"];function ul(t){return(ul="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 us(t){var e,r=t.component,n=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,uu);return(0,f.isValidElement)(r)?e=(0,f.cloneElement)(r,n):x()(r)?e=(0,f.createElement)(r,n):tj(!1,"Customized's props `component` must be React.element or Function, but got %s.",ul(r)),f.createElement(tw,{className:"recharts-customized-wrapper"},e)}function uf(t){return(uf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function up(){return(up=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function uh(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 uy(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uh(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"!=uf(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=uf(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==uf(e)?e:e+""}(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)):uh(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}us.displayName="Customized";var ud=function(t){var e=t.cx,r=t.cy,n=t.radius,o=t.angle,i=t.sign,a=t.isExternal,c=t.cornerRadius,u=t.cornerIsExternal,l=c*(a?1:-1)+n,s=Math.asin(c/l)/cz,f=u?o:o+i*s;return{center:cF(e,r,l,f),circleTangency:cF(e,r,n,f),lineTangency:cF(e,r,l*Math.cos(s*cz),u?o-i*s:o),theta:s}},uv=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.startAngle,a=t.endAngle,c=k(a-i)*Math.min(Math.abs(a-i),359.999),u=i+c,l=cF(e,r,o,i),s=cF(e,r,o,u),f="M ".concat(l.x,",").concat(l.y,"\n    A ").concat(o,",").concat(o,",0,\n    ").concat(+(Math.abs(c)>180),",").concat(+(i>u),",\n    ").concat(s.x,",").concat(s.y,"\n  ");if(n>0){var p=cF(e,r,n,i),h=cF(e,r,n,u);f+="L ".concat(h.x,",").concat(h.y,"\n            A ").concat(n,",").concat(n,",0,\n            ").concat(+(Math.abs(c)>180),",").concat(+(i<=u),",\n            ").concat(p.x,",").concat(p.y," Z")}else f+="L ".concat(e,",").concat(r," Z");return f},um=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.cornerRadius,a=t.forceCornerRadius,c=t.cornerIsExternal,u=t.startAngle,l=t.endAngle,s=k(l-u),f=ud({cx:e,cy:r,radius:o,angle:u,sign:s,cornerRadius:i,cornerIsExternal:c}),p=f.circleTangency,h=f.lineTangency,y=f.theta,d=ud({cx:e,cy:r,radius:o,angle:l,sign:-s,cornerRadius:i,cornerIsExternal:c}),v=d.circleTangency,m=d.lineTangency,b=d.theta,g=c?Math.abs(u-l):Math.abs(u-l)-y-b;if(g<0)return a?"M ".concat(h.x,",").concat(h.y,"\n        a").concat(i,",").concat(i,",0,0,1,").concat(2*i,",0\n        a").concat(i,",").concat(i,",0,0,1,").concat(-(2*i),",0\n      "):uv({cx:e,cy:r,innerRadius:n,outerRadius:o,startAngle:u,endAngle:l});var x="M ".concat(h.x,",").concat(h.y,"\n    A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(p.x,",").concat(p.y,"\n    A").concat(o,",").concat(o,",0,").concat(+(g>180),",").concat(+(s<0),",").concat(v.x,",").concat(v.y,"\n    A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(m.x,",").concat(m.y,"\n  ");if(n>0){var O=ud({cx:e,cy:r,radius:n,angle:u,sign:s,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),w=O.circleTangency,j=O.lineTangency,A=O.theta,S=ud({cx:e,cy:r,radius:n,angle:l,sign:-s,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),P=S.circleTangency,E=S.lineTangency,T=S.theta,M=c?Math.abs(u-l):Math.abs(u-l)-A-T;if(M<0&&0===i)return"".concat(x,"L").concat(e,",").concat(r,"Z");x+="L".concat(E.x,",").concat(E.y,"\n      A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(P.x,",").concat(P.y,"\n      A").concat(n,",").concat(n,",0,").concat(+(M>180),",").concat(+(s>0),",").concat(w.x,",").concat(w.y,"\n      A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(j.x,",").concat(j.y,"Z")}else x+="L".concat(e,",").concat(r,"Z");return x},ub={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},ug=function(t){var e,r=uy(uy({},ub),t),n=r.cx,o=r.cy,i=r.innerRadius,a=r.outerRadius,c=r.cornerRadius,u=r.forceCornerRadius,l=r.cornerIsExternal,s=r.startAngle,h=r.endAngle,y=r.className;if(a<i||s===h)return null;var d=(0,p.A)("recharts-sector",y),v=a-i,m=I(c,v,0,!0);return e=m>0&&360>Math.abs(s-h)?um({cx:n,cy:o,innerRadius:i,outerRadius:a,cornerRadius:Math.min(m,v/2),forceCornerRadius:u,cornerIsExternal:l,startAngle:s,endAngle:h}):uv({cx:n,cy:o,innerRadius:i,outerRadius:a,startAngle:s,endAngle:h}),f.createElement("path",up({},tp(r,!0),{className:d,d:e,role:"img"}))};function ux(){}function uO(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function uw(t){this._context=t}function uj(t){this._context=t}function uA(t){this._context=t}uw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:uO(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:uO(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},uj.prototype={areaStart:ux,areaEnd:ux,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:uO(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},uA.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:uO(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class uS{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function uP(t){this._context=t}function uE(t){this._context=t}function uk(t){return new uE(t)}uP.prototype={areaStart:ux,areaEnd:ux,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t*=1,e*=1,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function uT(t,e,r){var n=t._x1-t._x0,o=e-t._x1,i=(t._y1-t._y0)/(n||o<0&&-0),a=(r-t._y1)/(o||n<0&&-0);return((i<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs((i*o+a*n)/(n+o)))||0}function uM(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function u_(t,e,r){var n=t._x0,o=t._y0,i=t._x1,a=t._y1,c=(i-n)/3;t._context.bezierCurveTo(n+c,o+c*e,i-c,a-c*r,i,a)}function uC(t){this._context=t}function uD(t){this._context=new uI(t)}function uI(t){this._context=t}function uN(t){this._context=t}function uR(t){var e,r,n=t.length-1,o=Array(n),i=Array(n),a=Array(n);for(o[0]=0,i[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)o[e]=1,i[e]=4,a[e]=4*t[e]+2*t[e+1];for(o[n-1]=2,i[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=o[e]/i[e-1],i[e]-=r,a[e]-=r*a[e-1];for(o[n-1]=a[n-1]/i[n-1],e=n-2;e>=0;--e)o[e]=(a[e]-o[e+1])/i[e];for(e=0,i[n-1]=(t[n]+o[n-1])/2;e<n-1;++e)i[e]=2*t[e+1]-o[e+1];return[o,i]}function uB(t,e){this._context=t,this._t=e}function uL(t){return t[0]}function uz(t){return t[1]}function uF(t,e){var r=tU(!0),n=null,o=uk,i=null,a=tX(c);function c(c){var u,l,s,f=(c=au(c)).length,p=!1;
vendor: 6,631 bytes, line 1
1for(null==n&&(i=o(s=a())),u=0;u<=f;++u)!(u<f&&r(l=c[u],u,c))===p&&((p=!p)?i.lineStart():i.lineEnd()),p&&i.point(+t(l,u,c),+e(l,u,c));if(s)return i=null,s+""||null}return t="function"==typeof t?t:void 0===t?uL:tU(t),e="function"==typeof e?e:void 0===e?uz:tU(e),c.x=function(e){return arguments.length?(t="function"==typeof e?e:tU(+e),c):t},c.y=function(t){return arguments.length?(e="function"==typeof t?t:tU(+t),c):e},c.defined=function(t){return arguments.length?(r="function"==typeof t?t:tU(!!t),c):r},c.curve=function(t){return arguments.length?(o=t,null!=n&&(i=o(n)),c):o},c.context=function(t){return arguments.length?(null==t?n=i=null:i=o(n=t),c):n},c}function uU(t,e,r){var n=null,o=tU(!0),i=null,a=uk,c=null,u=tX(l);function l(l){var s,f,p,h,y,d=(l=au(l)).length,v=!1,m=Array(d),b=Array(d);for(null==i&&(c=a(y=u())),s=0;s<=d;++s){if(!(s<d&&o(h=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(m[p],b[p]);c.lineEnd(),c.areaEnd()}v&&(m[s]=+t(h,s,l),b[s]=+e(h,s,l),c.point(n?+n(h,s,l):m[s],r?+r(h,s,l):b[s]))}if(y)return c=null,y+""||null}function s(){return uF().defined(o).curve(a).context(i)}return t="function"==typeof t?t:void 0===t?uL:tU(+t),e="function"==typeof e?e:void 0===e?tU(0):tU(+e),r="function"==typeof r?r:void 0===r?uz:tU(+r),l.x=function(e){return arguments.length?(t="function"==typeof e?e:tU(+e),n=null,l):t},l.x0=function(e){return arguments.length?(t="function"==typeof e?e:tU(+e),l):t},l.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:tU(+t),l):n},l.y=function(t){return arguments.length?(e="function"==typeof t?t:tU(+t),r=null,l):e},l.y0=function(t){return arguments.length?(e="function"==typeof t?t:tU(+t),l):e},l.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:tU(+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:tU(!!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}function uW(t){return(uW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}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 uK(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 uq(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uK(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=uW(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=uW(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==uW(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uK(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}uE.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},uC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:u_(this,this._t0,uM(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(e*=1,(t*=1)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,u_(this,uM(this,r=uT(this,t,e)),r);break;default:u_(this,this._t0,r=uT(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(uD.prototype=Object.create(uC.prototype)).point=function(t,e){uC.prototype.point.call(this,e,t)},uI.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,o,i){this._context.bezierCurveTo(e,t,n,r,i,o)}},uN.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===r)this._context.lineTo(t[1],e[1]);else for(var n=uR(t),o=uR(e),i=0,a=1;a<r;++i,++a)this._context.bezierCurveTo(n[0][i],o[0][i],n[1][i],o[1][i],t[a],e[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},uB.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}};var uV={curveBasisClosed:function(t){return new uj(t)},curveBasisOpen:function(t){return new uA(t)}
1,curveBasis:function(t){return new uw(t)},curveBumpX:function(t){return new uS(t,!0)},curveBumpY:function(t){return new uS(t,!1)},curveLinearClosed:function(t){return new uP(t)},curveLinear:uk,curveMonotoneX:function(t){return new uC(t)},curveMonotoneY:function(t){return new uD(t)},curveNatural:function(t){return new uN(t)},curveStep:function(t){return new uB(t,.5)},curveStepAfter:function(t){return new uB(t,1)},curveStepBefore:function(t){return new uB(t,0)}},uX=function(t){return t.x===+t.x&&t.y===+t.y},uH=function(t){return t.x},uG=function(t){return t.y},uY=function(t,e){if(x()(t))return t;var r="curve".concat(tS()(t));return("curveMonotone"===r||"curveBump"===r)&&e?uV["".concat(r).concat("vertical"===e?"Y":"X")]:uV[r]||uk},uZ=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=uY(void 0===r?"linear":r,a),s=u?o.filter(function(t){return uX(t)}):o;if(Array.isArray(i)){var f=u?i.filter(function(t){return uX(t)}):i,p=s.map(function(t,e){return uq(uq({},t),{},{base:f[e]})});return(e="vertical"===a?uU().y(uG).x1(uH).x0(function(t){return t.base.x}):uU().x(uH).y1(uG).y0(function(t){return t.base.y})).defined(uX).curve(l),e(p)}return(e="vertical"===a&&M(i)?uU().y(uG).x1(uH).x0(i):M(i)?uU().x(uH).y1(uG).y0(i):uF().x(uH).y(uG)).defined(uX).curve(l),e(s)},uJ=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?uZ(t):n;return f.createElement("path",u$({},tp(t,!1),X(t),{className:(0,p.A)("recharts-curve",e),d:i,ref:o}))},uQ=r(12758),u0=r.n(uQ),u1=Object.getOwnPropertyNames,u2=Object.getOwnPropertySymbols,u3=Object.prototype.hasOwnProperty;function u5(t,e){return function(r,n,o){return t(r,n,o)&&e(r,n,o)}}function u8(t){return function(e,r,n){if(!e||!r||"object"!=typeof e||"object"!=typeof r)return t(e,r,n);var o=n.cache,i=o.get(e),a=o.get(r);if(i&&a)return i===r&&a===e;o.set(e,r),o.set(r,e);var c=t(e,r,n);return o.delete(e),o.delete(r),c}}function u6(t){return u1(t).concat(u2(t))}var u4=Object.hasOwn||function(t,e){return u3.call(t,e)};function u7(t,e){return t===e||!t&&!e&&t!=t&&e!=e}var u9=Object.getOwnPropertyDescriptor,lt=Object.keys;function le(t,e,r){var n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;return!0}function lr(t,e){return u7(t.getTime(),e.getTime())}function ln(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function lo(t,e){return t===e}function li(t,e,r){var n,o,i=t.size;if(i!==e.size)return!1;if(!i)return!0;for(var a=Array(i),c=t.entries(),u=0;(n=c.next())&&!n.done;){for(var l=e.entries(),s=!1,f=0;(o=l.next())&&!o.done;){if(a[f]){f++;continue}var p=n.value,h=o.value;if(r.equals(p[0],h[0],u,f,t,e,r)&&r.equals(p[1],h[1],p[0],h[0],t,e,r)){s=a[f]=!0;break}f++}if(!s)return!1;u++}return!0}function la(t,e,r){var n=lt(t),o=n.length;if(lt(e).length!==o)return!1;for(;o-- >0;)if(!lh(t,e,r,n[o]))return!1;return!0}function lc(t,e,r){var n,o,i,a=u6(t),c=a.length;if(u6(e).length!==c)return!1;for(;c-- >0;)if(!lh(t,e,r,n=a[c])||(o=u9(t,n),i=u9(e,n),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable)))return!1;return!0}function lu(t,e){return u7(t.valueOf(),e.valueOf())}function ll(t,e){return t.source===e.source&&t.flags===e.flags}function ls(t,e,r){var n,o,i=t.size;if(i!==e.size)return!1;if(!i)return!0;for(var a=Array(i),c=t.values();(n=c.next())&&!n.done;){for(var u=e.values(),l=!1,s=0;(o=u.next())&&!o.done;){if(!a[s]&&r.equals(n.value,o.value,n.value,o.value,t,e,r)){l=a[s]=!0;break}s++}if(!l)return!1}return!0}function lf(t,e){var r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}function lp(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 lh(t,e,r,n){return("_owner"===n||"__o"===n||"__v"===n)&&(!!t.$$typeof||!!e.$$typeof)||u4(e,n)&&r.equals(t[n],e[n],n,n,t,e,r)}var ly=Array.isArray,ld="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,lv=Object.assign,lm=Object.prototype.toString.call.bind(Object.prototype.toString),lb=lg();function lg(t){void 0===t&&(t={});var e,r,n,o,i,a,c,u,l,s,f,p,h,y=t.circular,d=t.createInternalComparator,v=t.createState,m=t.strict,b=(r=(e=function(t){var e=t.circular,r=t.createCustomConfig,n=t.strict,o={areArraysEqual:n?lc:le,areDatesEqual:lr,areErrorsEqual:ln,areFunctionsEqual:lo,areMapsEqual:n?u5(li,lc):li,areNumbersEqual:u7,areObjectsEqual:n?lc:la,arePrimitiveWrappersEqual:lu,areRegExpsEqual:ll,areSetsEqual:n?u5(ls,lc):ls,areTypedArraysEqual:n?lc:lf,areUrlsEqual:lp};if(r&&(o=lv({},o,r(o))),e){var i=u8(o.areArraysEqual),a=u8(o.areMapsEqual),c=u8(o.areObjectsEqual),u=u8(o.areSetsEqual);o=lv({},o,{areArraysEqual:i,areMapsEqual:a,areObjectsEqual:c,areSetsEqual:u})}return o}(t)).areArraysEqual,n=e.areDatesEqual,o=e.areErrorsEqual,i=e.areFunctionsEqual,a=e.areMapsEqual,c=e.areNumbersEqual,u=e.areObjectsEqual,l=e.arePrimitiveWrappersEqual,s=e.areRegExpsEqual,f=e.areSetsEqual,p=e.areTypedArraysEqual,h=e.areUrlsEqual,function(t,e,y){if(t===e)return!0;
1if(null==t||null==e)return!1;var d=typeof t;if(d!==typeof e)return!1;if("object"!==d)return"number"===d?c(t,e,y):"function"===d&&i(t,e,y);var v=t.constructor;if(v!==e.constructor)return!1;if(v===Object)return u(t,e,y);if(ly(t))return r(t,e,y);if(null!=ld&&ld(t))return p(t,e,y);if(v===Date)return n(t,e,y);if(v===RegExp)return s(t,e,y);if(v===Map)return a(t,e,y);if(v===Set)return f(t,e,y);var m=lm(t);return"[object Date]"===m?n(t,e,y):"[object RegExp]"===m?s(t,e,y):"[object Map]"===m?a(t,e,y):"[object Set]"===m?f(t,e,y):"[object Object]"===m?"function"!=typeof t.then&&"function"!=typeof e.then&&u(t,e,y):"[object URL]"===m?h(t,e,y):"[object Error]"===m?o(t,e,y):"[object Arguments]"===m?u(t,e,y):("[object Boolean]"===m||"[object Number]"===m||"[object String]"===m)&&l(t,e,y)}),g=d?d(b):function(t,e,r,n,o,i,a){return b(t,e,a)};return function(t){var e=t.circular,r=t.comparator,n=t.createState,o=t.equals,i=t.strict;if(n)return function(t,a){var c=n(),u=c.cache;return r(t,a,{cache:void 0===u?e?new WeakMap:void 0:u,equals:o,meta:c.meta,strict:i})};if(e)return function(t,e){return r(t,e,{cache:new WeakMap,equals:o,meta:void 0,strict:i})};var a={cache:void 0,equals:o,meta:void 0,strict:i};return function(t,e){return r(t,e,a)}}({circular:void 0!==y&&y,comparator:b,createState:v,equals:g,strict:void 0!==m&&m})}function lx(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,"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(i)}})}function lO(t){return(lO="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 lw(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 lj(t){return(lj="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 lA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function lS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?lA(Object(r),!0).forEach(function(e){lP(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lA(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function lP(t,e,r){var n;return(n=function(t,e){if("object"!==lj(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==lj(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===lj(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}lg({strict:!0}),lg({circular:!0}),lg({circular:!0,strict:!0}),lg({createInternalComparator:function(){return u7}}),lg({strict:!0,createInternalComparator:function(){return u7}}),lg({circular:!0,createInternalComparator:function(){return u7}}),lg({circular:!0,createInternalComparator:function(){return u7},strict:!0});var lE=function(t){return t},lk=function(t,e){return Object.keys(e).reduce(function(r,n){return lS(lS({},r),{},lP({},n,t(n,e[n])))},{})},lT=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(",")},lM=function(t,e,r,n,o,i,a,c){};function l_(t,e){if(t){if("string"==typeof t)return lC(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 lC(t,e)}}function lC(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 lD=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},lI=function(t,e){return t.map(function(t,r){return t*Math.pow(e,r)}).reduce(function(t,e){return t+e})},lN=function(t,e){return function(r){return lI(lD(t,e),r)}},lR=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,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{i=(r=r.call(t)).next,!1;for(;
1!(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}}(s,4)||l_(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 lM(!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)}lM([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=lN(i,c),h=lN(a,u),y=(t=i,e=c,function(r){var n;return lI([].concat(function(t){if(Array.isArray(t))return lC(t)}(n=lD(t,e).map(function(t,e){return t*e}).slice(1))||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||l_(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)}),d=function(t){for(var e=t>1?1:t,r=e,n=0;n<8;++n){var o,i=p(r)-e,a=y(r);if(1e-4>Math.abs(i-e)||a<1e-4)break;r=(o=r-i/a)>1?1:o<0?0:o}return h(r)};return d.isStepper=!1,d},lB=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},lL=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 lR(n);case"spring":return lB();default:if("cubic-bezier"===n.split("(")[0])return lR(n);lM(!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:(lM(!1,"[configEasing]: first argument type should be function or string, instead received %s",e),null)};function lz(t){return(lz="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 lF(t){return function(t){if(Array.isArray(t))return lq(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||lK(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 lU(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 lW(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?lU(Object(r),!0).forEach(function(e){l$(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lU(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function l$(t,e,r){var n;return(n=function(t,e){if("object"!==lz(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==lz(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===lz(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function lK(t,e){if(t){if("string"==typeof t)return lq(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 lq(t,e)}}function lq(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 lV=function(t,e,r){return t+(e-t)*r},lX=function(t){return t.from!==t.to},lH=function t(e,r,n){var o=lk(function(t,r){if(lX(r)){var n,o=function(t){if(Array.isArray(t))return t}(n=e(r.from,r.to,r.velocity))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{i=(r=r.call(t)).next,!1;for(;
1!(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}}(n,2)||lK(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 lW(lW({},r),{},{from:i,velocity:a})}return r},r);return n<1?lk(function(t,e){return lX(e)?lW(lW({},e),{},{velocity:lV(e.velocity,o[t].velocity,n),from:lV(e.from,o[t].from,n)}):e},r):t(e,o,n-1)};let lG=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 lW(lW({},r),{},l$({},n,[t[n],e[n]]))},{}),l=c.reduce(function(r,n){return lW(lW({},r),{},l$({},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=lH(r,l,a),o(lW(lW(lW({},t),e),lk(function(t,e){return e.from},l))),i=n,Object.values(l).filter(lX).length&&(s=requestAnimationFrame(f))}:function(i){a||(a=i);var c=(i-a)/n,l=lk(function(t,e){return lV.apply(void 0,lF(e).concat([r(c)]))},u);if(o(lW(lW(lW({},t),e),l)),c<1)s=requestAnimationFrame(f);else{var p=lk(function(t,e){return lV.apply(void 0,lF(e).concat([r(1)]))},u);o(lW(lW(lW({},t),e),p))}},function(){return requestAnimationFrame(f),function(){cancelAnimationFrame(s)}}};function lY(t){return(lY="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 lZ=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function lJ(t){return function(t){if(Array.isArray(t))return lQ(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return lQ(t,void 0);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 lQ(t,e)}}(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 lQ(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 l0(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 l1(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l0(Object(r),!0).forEach(function(e){l2(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l0(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function l2(t,e,r){return(e=l3(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function l3(t){var e=function(t,e){if("object"!==lY(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==lY(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===lY(e)?e:String(e)}function l5(t,e){return(l5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function l8(t,e){if(e&&("object"===lY(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return l6(t)}function l6(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l4(t){return(l4=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l7=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&l5(o,t);var e,r,n=(e=function(){if("undefined"==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=l4(o);return t=e?Reflect.construct(r,arguments,l4(this).constructor):r.apply(this,arguments),l8(this,t)});function o(t,e){if(!(this instanceof o))throw TypeError("Cannot call a class as a function");var r=n.call(this,t,e),i=r.props,a=i.isActive,c=i.attributeName,u=i.from,l=i.to,s=i.steps,f=i.children,p=i.duration;if(r.handleStyleChange=r.handleStyleChange.bind(l6(r)),r.changeStyle=r.changeStyle.bind(l6(r)),!a||p<=0)return r.state={style:{}},"function"==typeof f&&(r.state={style:l}),l8(r);if(s&&s.length)r.state={style:s[0].style};else if(u){if("function"==typeof f)return r.state={style:u},l8(r);r.state={style:c?l2({},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,a=e.to,c=e.from,u=this.state.style;if(n){if(!r){var l={style:o?l2({},o,a):a};
1this.state&&u&&(o&&u[o]!==a||!o&&u!==a)&&this.setState(l);return}if(!lb(t.to,a)||!t.canBegin||!t.isActive){var s=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var f=s||i?c:t.to;if(this.state&&u){var p={style:o?l2({},o,f):f};(o&&u[o]!==f||!o&&u!==f)&&this.setState(p)}this.runAnimation(l1(l1({},this.props),{},{from:f,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var t=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),t&&t()}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"runJSAnimation",value:function(t){var e=this,r=t.from,n=t.to,o=t.duration,i=t.easing,a=t.begin,c=t.onAnimationEnd,u=t.onAnimationStart,l=lG(r,n,lL(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(lJ(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(lJ(t),[e.runJSAnimation.bind(e,{from:f.style,to:u,duration:i,easing:c}),i]);var h=lT(p,i,c),y=l1(l1(l1({},f.style),u),{},{transition:h});return[].concat(lJ(t),[y,i,s]).filter(lE)},[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("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||function(t,e){if(t){if("string"==typeof t)return lw(t,void 0);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 lw(t,e)}}(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 lx(t.bind(null,a),i):(t(i),void lx(t.bind(null,a)))}"object"===lO(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,c=t.to,u=t.easing,l=t.onAnimationStart,s=t.onAnimationEnd,f=t.steps,p=t.children,h=this.manager;if(this.unSubscribe=h.subscribe(this.handleStyleChange),"function"==typeof u||"function"==typeof p||"spring"===u)return void this.runJSAnimation(t);if(f.length>1)return void this.runStepAnimation(t);var y=a?l2({},a,c):c,d=lT(Object.keys(y),i,u);h.start([l,o,l1(l1({},y),{},{transition:d}),i,s])}},{key:"render",value:function(){var t=this.props,e=t.children,r=(t.begin,t.duration),n=(t.attributeName,t.easing,t.isActive),o=(t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart,function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,lZ)),i=f.Children.count(e),a=this.state.style;if("function"==typeof e)return e(a);if(!n||0===i||r<=0)return e;var c=function(t){var e=t.props,r=e.style,n=e.className;return(0,f.cloneElement)(t,l1(l1({},o),{},{style:l1(l1({},void 0===r?{}:r),a),className:n}))};return 1===i?c(f.Children.only(e)):f.createElement("div",null,f.Children.map(e,function(t){return c(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,l3(n.key),n)}}(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(f.PureComponent);function l9(t){return(l9="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function st(){return(st=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function se(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function sr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function sn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?sr(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=l9(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=l9(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==l9(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sr(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}l7.displayName="Animate",l7.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},l7.propTypes={from:u0().oneOfType([u0().object,u0().string]),to:u0().oneOfType([u0().object,u0().string]),attributeName:u0().string,duration:u0().number,begin:u0().number,easing:u0().oneOfType([u0().string,u0().func]),steps:u0().arrayOf(u0().shape({duration:u0().number.isRequired,style:u0().object.isRequired,easing:u0().oneOfType([u0().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),u0().func]),properties:u0().arrayOf("string"),onAnimationEnd:u0().func})),children:u0().oneOfType([u0().node,u0().func]),isActive:u0().bool,canBegin:u0().bool,onAnimationEnd:u0().func,shouldReAnimate:u0().bool,onAnimationStart:u0().func,onAnimationReStart:u0().func};var so=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},si=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},sa={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},sc=function(t){var e,r=sn(sn({},sa),t),n=(0,f.useRef)(),o=function(t){if(Array.isArray(t))return t}(e=(0,f.useState)(-1))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{i=(r=r.call(t)).next,!1;for(;
1!(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}}(e,2)||function(t,e){if(t){if("string"==typeof t)return se(t,2);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 se(t,e)}}(e,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];(0,f.useEffect)(function(){if(n.current&&n.current.getTotalLength)try{var t=n.current.getTotalLength();t&&a(t)}catch(t){}},[]);var c=r.x,u=r.y,l=r.width,s=r.height,h=r.radius,y=r.className,d=r.animationEasing,v=r.animationDuration,m=r.animationBegin,b=r.isAnimationActive,g=r.isUpdateAnimationActive;if(c!==+c||u!==+u||l!==+l||s!==+s||0===l||0===s)return null;var x=(0,p.A)("recharts-rectangle",y);return g?f.createElement(l7,{canBegin:i>0,from:{width:l,height:s,x:c,y:u},to:{width:l,height:s,x:c,y:u},duration:v,animationEasing:d,isActive:g},function(t){var e=t.width,o=t.height,a=t.x,c=t.y;return f.createElement(l7,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:m,duration:v,isActive:b,easing:d},f.createElement("path",st({},tp(r,!0),{className:x,d:so(a,c,e,o,h),ref:n})))}):f.createElement("path",st({},tp(r,!0),{className:x,d:so(c,u,l,s,h)}))},su=["points","className","baseLinePoints","connectNulls"];function sl(){return(sl=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 ss(t){return function(t){if(Array.isArray(t))return sf(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return sf(t,void 0);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 sf(t,e)}}(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 sf(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 sp=function(t){return t&&t.x===+t.x&&t.y===+t.y},sh=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[[]];return t.forEach(function(t){sp(t)?e[e.length-1].push(t):e[e.length-1].length>0&&e.push([])}),sp(t[0])&&e[e.length-1].push(t[0]),e[e.length-1].length<=0&&(e=e.slice(0,-1)),e},sy=function(t,e){var r=sh(t);e&&(r=[r.reduce(function(t,e){return[].concat(ss(t),ss(e))},[])]);var n=r.map(function(t){return t.reduce(function(t,e,r){return"".concat(t).concat(0===r?"M":"L").concat(e.x,",").concat(e.y)},"")}).join("");return 1===r.length?"".concat(n,"Z"):n},sd=function(t,e,r){var n=sy(t,r);return"".concat("Z"===n.slice(-1)?n.slice(0,-1):n,"L").concat(sy(e.reverse(),r).slice(1))},sv=function(t){var e=t.points,r=t.className,n=t.baseLinePoints,o=t.connectNulls,i=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,su);if(!e||!e.length)return null;var a=(0,p.A)("recharts-polygon",r);if(n&&n.length){var c=i.stroke&&"none"!==i.stroke,u=sd(e,n,o);return f.createElement("g",{className:a},f.createElement("path",sl({},tp(i,!0),{fill:"Z"===u.slice(-1)?i.fill:"none",stroke:"none",d:u})),c?f.createElement("path",sl({},tp(i,!0),{fill:"none",d:sy(e,o)})):null,c?f.createElement("path",sl({},tp(i,!0),{fill:"none",d:sy(n,o)})):null)}var l=sy(e,o);return f.createElement("path",sl({},tp(i,!0),{fill:"Z"===l.slice(-1)?i.fill:"none",className:a,d:l}))};function sm(){return(sm=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var sb=function(t){var e=t.cx,r=t.cy,n=t.r,o=t.className,i=(0,p.A)("recharts-dot",o);return e===+e&&r===+r&&n===+n?f.createElement("circle",sm({},tp(t,!1),X(t),{className:i,cx:e,cy:r,r:n})):null};function sg(t){return(sg="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 sx=["x","y","top","left","width","height","className"];function sO(){return(sO=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 sw(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 sj=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,h=t.height,y=void 0===h?0:h,d=t.className,v=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?sw(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"!=sg(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=sg(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==sg(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)):sw(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:y},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,sx));return M(r)&&M(o)&&M(s)&&M(y)&&M(a)&&M(u)?f.createElement("path",sO({},tp(v,!0),{className:(0,p.A)("recharts-cross",d),d:"M".concat(r,",").concat(a,"v").concat(y,"M").concat(u,",").concat(o,"h").concat(s)})):null},sA=["cx","cy","innerRadius","outerRadius","gridType","radialLines"];function sS(t){return(sS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function sP(){return(sP=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function sE(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 sk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?sE(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"!=sS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=sS(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==sS(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)):sE(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var sT=function(t,e,r,n){var o="";
1return n.forEach(function(n,i){var a=cF(e,r,t,n);i?o+="L ".concat(a.x,",").concat(a.y):o+="M ".concat(a.x,",").concat(a.y)}),o+="Z"},sM=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.polarAngles,a=t.radialLines;if(!i||!i.length||!a)return null;var c=sk({stroke:"#ccc"},tp(t,!1));return f.createElement("g",{className:"recharts-polar-grid-angle"},i.map(function(t){var i=cF(e,r,n,t),a=cF(e,r,o,t);return f.createElement("line",sP({},c,{key:"line-".concat(t),x1:i.x,y1:i.y,x2:a.x,y2:a.y}))}))},s_=function(t){var e=t.cx,r=t.cy,n=t.radius,o=t.index,i=sk(sk({stroke:"#ccc"},tp(t,!1)),{},{fill:"none"});return f.createElement("circle",sP({},i,{className:(0,p.A)("recharts-polar-grid-concentric-circle",t.className),key:"circle-".concat(o),cx:e,cy:r,r:n}))},sC=function(t){var e=t.radius,r=t.index,n=sk(sk({stroke:"#ccc"},tp(t,!1)),{},{fill:"none"});return f.createElement("path",sP({},n,{className:(0,p.A)("recharts-polar-grid-concentric-polygon",t.className),key:"path-".concat(r),d:sT(e,t.cx,t.cy,t.polarAngles)}))},sD=function(t){var e=t.polarRadius,r=t.gridType;return e&&e.length?f.createElement("g",{className:"recharts-polar-grid-concentric"},e.map(function(e,n){return"circle"===r?f.createElement(s_,sP({key:n},t,{radius:e,index:n})):f.createElement(sC,sP({key:n},t,{radius:e,index:n}))})):null},sI=function(t){var e=t.cx,r=void 0===e?0:e,n=t.cy,o=void 0===n?0:n,i=t.innerRadius,a=void 0===i?0:i,c=t.outerRadius,u=void 0===c?0:c,l=t.gridType,s=void 0===l?"polygon":l,p=t.radialLines,h=void 0===p||p,y=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,sA);return u<=0?null:f.createElement("g",{className:"recharts-polar-grid"},f.createElement(sM,sP({cx:r,cy:o,innerRadius:a,outerRadius:u,gridType:s,radialLines:h},y)),f.createElement(sD,sP({cx:r,cy:o,innerRadius:a,outerRadius:u,gridType:s,radialLines:h},y)))};sI.displayName="PolarGrid";var sN=r(67225),sR=r.n(sN),sB=r(33375),sL=r.n(sB),sz=["cx","cy","angle","ticks","axisLine"],sF=["ticks","tick","angle","tickFormatter","stroke"];function sU(t){return(sU="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 sW(){return(sW=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 sK(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){sY(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 sq(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 sV(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,sZ(n.key),n)}}function sX(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sX=function(){return!!t})()}
1function sH(t){return(sH=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function sG(t,e){return(sG=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function sY(t,e,r){return(e=sZ(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function sZ(t){var e=function(t,e){if("object"!=sU(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=sU(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==sU(e)?e:e+""}var sJ=function(t){var e,r;function n(){var t,e;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return t=n,e=arguments,t=sH(t),function(t,e){if(e&&("object"===sU(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,sX()?Reflect.construct(t,e||[],sH(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&sG(n,t),e=[{key:"getTickValueCoord",value:function(t){var e=t.coordinate,r=this.props,n=r.angle;return cF(r.cx,r.cy,e,n)}},{key:"getTickTextAnchor",value:function(){var t;switch(this.props.orientation){case"left":t="end";break;case"right":t="start";break;default:t="middle"}return t}},{key:"getViewBox",value:function(){var t=this.props,e=t.cx,r=t.cy,n=t.angle,o=t.ticks,i=sR()(o,function(t){return t.coordinate||0});return{cx:e,cy:r,startAngle:n,endAngle:n,innerRadius:sL()(o,function(t){return t.coordinate||0}).coordinate||0,outerRadius:i.coordinate||0}}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.cx,r=t.cy,n=t.angle,o=t.ticks,i=t.axisLine,a=sq(t,sz),c=o.reduce(function(t,e){return[Math.min(t[0],e.coordinate),Math.max(t[1],e.coordinate)]},[1/0,-1/0]),u=cF(e,r,c[0],n),l=cF(e,r,c[1],n),s=sK(sK(sK({},tp(a,!1)),{},{fill:"none"},tp(i,!1)),{},{x1:u.x,y1:u.y,x2:l.x,y2:l.y});return f.createElement("line",sW({className:"recharts-polar-radius-axis-line"},s))}},{key:"renderTicks",value:function(){var t=this,e=this.props,r=e.ticks,o=e.tick,i=e.angle,a=e.tickFormatter,c=e.stroke,u=sq(e,sF),l=this.getTickTextAnchor(),s=tp(u,!1),h=tp(o,!1),y=r.map(function(e,r){var u=t.getTickValueCoord(e),y=sK(sK(sK(sK({textAnchor:l,transform:"rotate(".concat(90-i,", ").concat(u.x,", ").concat(u.y,")")},s),{},{stroke:"none",fill:c},h),{},{index:r},u),{},{payload:e});return f.createElement(tw,sW({className:(0,p.A)("recharts-polar-radius-axis-tick",cX(o)),key:"tick-".concat(e.coordinate)},H(t.props,e,r)),n.renderTickItem(o,y,a?a(e.value,r):e.value))});return f.createElement(tw,{className:"recharts-polar-radius-axis-ticks"},y)}},{key:"render",value:function(){var t=this.props,e=t.ticks,r=t.axisLine,n=t.tick;return e&&e.length?f.createElement(tw,{className:(0,p.A)("recharts-polar-radius-axis",this.props.className)},r&&this.renderAxisLine(),n&&this.renderTicks(),c5.renderCallByParent(this.props,this.getViewBox())):null}}],r=[{key:"renderTickItem",value:function(t,e,r){return f.isValidElement(t)?f.cloneElement(t,e):x()(t)?t(e):f.createElement(rk,sW({},e,{className:"recharts-polar-radius-axis-tick-value"}),r)}}],e&&sV(n.prototype,e),r&&sV(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(f.PureComponent);function sQ(t){return(sQ="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 s0(){return(s0=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function s1(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 s2(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s1(Object(r),!0).forEach(function(e){s4(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s1(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function s3(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,s7(n.key),n)}}function s5(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s5=function(){return!!t})()}function s8(t){return(s8=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s6(t,e){return(s6=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function s4(t,e,r){return(e=s7(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s7(t){var e=function(t,e){if("object"!=sQ(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=sQ(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==sQ(e)?e:e+""}sY(sJ,"displayName","PolarRadiusAxis"),sY(sJ,"axisType","radiusAxis"),sY(sJ,"defaultProps",{type:"number",radiusAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine
1:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});var s9=Math.PI/180,ft=function(t){var e,r;function n(){var t,e;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return t=n,e=arguments,t=s8(t),function(t,e){if(e&&("object"===sQ(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,s5()?Reflect.construct(t,e||[],s8(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&s6(n,t),e=[{key:"getTickLineCoord",value:function(t){var e=this.props,r=e.cx,n=e.cy,o=e.radius,i=e.orientation,a=e.tickSize,c=cF(r,n,o,t.coordinate),u=cF(r,n,o+("inner"===i?-1:1)*(a||8),t.coordinate);return{x1:c.x,y1:c.y,x2:u.x,y2:u.y}}},{key:"getTickTextAnchor",value:function(t){var e=this.props.orientation,r=Math.cos(-t.coordinate*s9);return r>1e-5?"outer"===e?"start":"end":r<-1e-5?"outer"===e?"end":"start":"middle"}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.cx,r=t.cy,n=t.radius,o=t.axisLine,i=t.axisLineType,a=s2(s2({},tp(this.props,!1)),{},{fill:"none"},tp(o,!1));if("circle"===i)return f.createElement(sb,s0({className:"recharts-polar-angle-axis-line"},a,{cx:e,cy:r,r:n}));var c=this.props.ticks.map(function(t){return cF(e,r,n,t.coordinate)});return f.createElement(sv,s0({className:"recharts-polar-angle-axis-line"},a,{points:c}))}},{key:"renderTicks",value:function(){var t=this,e=this.props,r=e.ticks,o=e.tick,i=e.tickLine,a=e.tickFormatter,c=e.stroke,u=tp(this.props,!1),l=tp(o,!1),s=s2(s2({},u),{},{fill:"none"},tp(i,!1)),h=r.map(function(e,r){var h=t.getTickLineCoord(e),y=s2(s2(s2({textAnchor:t.getTickTextAnchor(e)},u),{},{stroke:"none",fill:c},l),{},{index:r,payload:e,x:h.x2,y:h.y2});return f.createElement(tw,s0({className:(0,p.A)("recharts-polar-angle-axis-tick",cX(o)),key:"tick-".concat(e.coordinate)},H(t.props,e,r)),i&&f.createElement("line",s0({className:"recharts-polar-angle-axis-tick-line"},s,h)),o&&n.renderTickItem(o,y,a?a(e.value,r):e.value))});return f.createElement(tw,{className:"recharts-polar-angle-axis-ticks"},h)}},{key:"render",value:function(){var t=this.props,e=t.ticks,r=t.radius,n=t.axisLine;return!(r<=0)&&e&&e.length?f.createElement(tw,{className:(0,p.A)("recharts-polar-angle-axis",this.props.className)},n&&this.renderAxisLine(),this.renderTicks()):null}}],r=[{key:"renderTickItem",value:function(t,e,r){return f.isValidElement(t)?f.cloneElement(t,e):x()(t)?t(e):f.createElement(rk,s0({},e,{className:"recharts-polar-angle-axis-tick-value"}),r)}}],e&&s3(n.prototype,e),r&&s3(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(f.PureComponent);s4(ft,"displayName","PolarAngleAxis"),s4(ft,"axisType","angleAxis"),s4(ft,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var fe=r(34741),fr=r.n(fe),fn=r(98142),fo=r.n(fn);function fi(t){return(fi="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 fa(){return(fa=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 fc(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 fu(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 fl(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?fu(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"!=fi(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=fi(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==fi(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)):fu(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var fs=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")},ff={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},fp=function(t){var e,r=fl(fl({},ff),t),n=(0,f.useRef)(),o=function(t){if(Array.isArray(t))return t}(e=(0,f.useState)(-1))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{i=(r=r.call(t)).next,!1;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}}(e,2)||function(t,e){if(t){if("string"==typeof t)return fc(t,2);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 fc(t,e)}}(e,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];(0,f.useEffect)(function(){if(n.current&&n.current.getTotalLength)try{var t=n.current.getTotalLength();t&&a(t)}catch(t){}},[]);var c=r.x,u=r.y,l=r.upperWidth,s=r.lowerWidth,h=r.height,y=r.className,d=r.animationEasing,v=r.animationDuration,m=r.animationBegin,b=r.isUpdateAnimationActive;if(c!==+c||u!==+u||l!==+l||s!==+s||h!==+h||0===l&&0===s||0===h)return null;var g=(0,p.A)("recharts-trapezoid",y);return b?f.createElement(l7,{canBegin:i>0,from:{upperWidth:0,lowerWidth:0,height:h,x:c,y:u},to:{upperWidth:l,lowerWidth:s,height:h,x:c,y:u},duration:v,animationEasing:d,isActive:b},function(t){var e=t.upperWidth,o=t.lowerWidth,a=t.height,c=t.x,u=t.y;return f.createElement(l7,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:m,duration:v,easing:d},f.createElement("path",fa({},tp(r,!0),{className:g,d:fs(c,u,e,o,a),ref:n})))}):f.createElement("g",null,f.createElement("path",fa({},tp(r,!0),{className:g,d:fs(c,u,l,s,h)})))},fh=["option","shapeType","propTransformer","activeClassName","isActive"];function fy(t){return(fy="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 fd(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function fv(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?fd(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=fy(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=fy(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==fy(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)):fd(Object(r)).forEac
1h(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function fm(t){var e=t.shapeType,r=t.elementProps;switch(e){case"rectangle":return f.createElement(sc,r);case"trapezoid":return f.createElement(fp,r);case"sector":return f.createElement(ug,r);case"symbols":if("symbols"===e)return f.createElement(t2,r);break;default:return null}}function fb(t){return(0,f.isValidElement)(t)?t.props:t}function fg(t){var e,r=t.option,n=t.shapeType,o=t.propTransformer,i=t.activeClassName,a=t.isActive,c=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,fh);if((0,f.isValidElement)(r))e=(0,f.cloneElement)(r,fv(fv({},c),fb(r)));else if(x()(r))e=r(c);else if(fr()(r)&&!fo()(r)){var u=(void 0===o?function(t,e){return fv(fv({},e),t)}:o)(r,c);e=f.createElement(fm,{shapeType:n,elementProps:u})}else e=f.createElement(fm,{shapeType:n,elementProps:c});return a?f.createElement(tw,{className:void 0===i?"recharts-active-shape":i},e):e}function fx(t,e){return null!=e&&"trapezoids"in t.props}function fO(t,e){return null!=e&&"sectors"in t.props}function fw(t,e){return null!=e&&"points"in t.props}function fj(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 fA(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function fS(t,e){var r=t.x===e.x,n=t.y===e.y,o=t.z===e.z;return r&&n&&o}function fP(t){return(fP="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 fE(){return(fE=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 fk(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 fT(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?fk(Object(r),!0).forEach(function(e){fI(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fk(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function fM(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,fN(n.key),n)}}function f_(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(f_=function(){return!!t})()}function fC(t){return(fC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function fD(t,e){return(fD=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function fI(t,e,r){return(e=fN(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function fN(t){var e=function(t,e){if("object"!=fP(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=fP(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==fP(e)?e:e+""}var fR=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=fC(r),fI(e=function(t,e){if(e&&("object"===fP(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(r,o||[],fC(this).constructor):r.apply(this,o)),"pieRef",null),fI(e,"sectorRefs",[]),fI(e,"id",D("recharts-pie-")),fI(e,"handleAnimationEnd",function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),x()(t)&&t()}),fI(e,"handleAnimationStart",function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),x()(t)&&t()}),e.state={isAnimationFinished:!t.isAnimationActive,prevIsAnimationActive:t.isAnimationActive,prevAnimationId:t.animationId,sectorToFocus:0},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&&fD(n,t),e=[{key:"isActiveIndex",value:function(t){var e=this.props.activeIndex;return Array.isArray(e)?-1!==e.indexOf(t):t===e}},{key:"hasActiveIndex",value:function(){var t=this.props.activeIndex;return Array.isArray(t)?0!==t.length:t||0===t}},{key:"renderLabels",value:function(t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var e=this.props,r=e.label,o=e.labelLine,i=e.dataKey,a=e.valueKey,c=tp(this.props,!1),u=tp(r,!1),l=tp(o,!1),s=r&&r.offsetRadius||20,p=t.map(function(t,e){var p=(t.startAngle+t.endAngle)/2,h=cF(t.cx,t.cy,t.outerRadius+s,p),y=fT(fT(fT(fT({},c),t),{},{stroke:"none"},u),{},{index:e,textAnchor:n.getTextAnchor(h.x,t.cx)},h),d=fT(fT(fT(fT({},c),t),{},{fill:"none",stroke:t.fill},l),{},{index:e,points:[cF(t.cx,t.cy,t.outerRadius,p),h]}),m=i;return v()(i)&&v()(a)?m="value":v()(i)&&(m=a),f.createElement(tw,{key:"label-".concat(t.startAngle,"-").concat(t.endAngle,"-").concat(t.midAngle,"-").concat(e)},o&&n.renderLabelLineItem(o,d,"line"),n.renderLabelItem(r,y,ct(t,m)))});return f.createElement(tw,{className:"recharts-pie-labels"},p)}},{key:"renderSectorsStatically",value:function(t){var e=this,r=this.props,n=r.activeShape,o=r.blendStroke,i=r.inactiveShape;
1return t.map(function(r,a){if((null==r?void 0:r.startAngle)===0&&(null==r?void 0:r.endAngle)===0&&1!==t.length)return null;var c=e.isActiveIndex(a),u=i&&e.hasActiveIndex()?i:null,l=fT(fT({},r),{},{stroke:o?r.fill:r.stroke,tabIndex:-1});return f.createElement(tw,fE({ref:function(t){t&&!e.sectorRefs.includes(t)&&e.sectorRefs.push(t)},tabIndex:-1,className:"recharts-pie-sector"},H(e.props,r,a),{key:"sector-".concat(null==r?void 0:r.startAngle,"-").concat(null==r?void 0:r.endAngle,"-").concat(r.midAngle,"-").concat(a)}),f.createElement(fg,fE({option:c?n:u,isActive:c,shapeType:"sector"},l)))})}},{key:"renderSectorsWithAnimation",value:function(){var t=this,e=this.props,r=e.sectors,n=e.isAnimationActive,o=e.animationBegin,i=e.animationDuration,a=e.animationEasing,c=e.animationId,u=this.state,l=u.prevSectors,s=u.prevIsAnimationActive;return f.createElement(l7,{begin:o,duration:i,isActive:n,easing:a,from:{t:0},to:{t:1},key:"pie-".concat(c,"-").concat(s),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(e){var n=e.t,o=[],i=(r&&r[0]).startAngle;return r.forEach(function(t,e){var r=l&&l[e],a=e>0?y()(t,"paddingAngle",0):0;if(r){var c=B(r.endAngle-r.startAngle,t.endAngle-t.startAngle),u=fT(fT({},t),{},{startAngle:i+a,endAngle:i+c(n)+a});o.push(u),i=u.endAngle}else{var s=B(0,t.endAngle-t.startAngle)(n),f=fT(fT({},t),{},{startAngle:i+a,endAngle:i+s+a});o.push(f),i=f.endAngle}}),f.createElement(tw,null,t.renderSectorsStatically(o))})}},{key:"attachKeyboardHandlers",value:function(t){var e=this;t.onkeydown=function(t){if(!t.altKey)switch(t.key){case"ArrowLeft":var r=++e.state.sectorToFocus%e.sectorRefs.length;e.sectorRefs[r].focus(),e.setState({sectorToFocus:r});break;case"ArrowRight":var n=--e.state.sectorToFocus<0?e.sectorRefs.length-1:e.state.sectorToFocus%e.sectorRefs.length;e.sectorRefs[n].focus(),e.setState({sectorToFocus:n});break;case"Escape":e.sectorRefs[e.state.sectorToFocus].blur(),e.setState({sectorToFocus:0})}}}},{key:"renderSectors",value:function(){var t=this.props,e=t.sectors,r=t.isAnimationActive,n=this.state.prevSectors;return r&&e&&e.length&&(!n||!ag()(n,e))?this.renderSectorsWithAnimation():this.renderSectorsStatically(e)}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var t=this,e=this.props,r=e.hide,n=e.sectors,o=e.className,i=e.label,a=e.cx,c=e.cy,u=e.innerRadius,l=e.outerRadius,s=e.isAnimationActive,h=this.state.isAnimationFinished;if(r||!n||!n.length||!M(a)||!M(c)||!M(u)||!M(l))return null;var y=(0,p.A)("recharts-pie",o);return f.createElement(tw,{tabIndex:this.props.rootTabIndex,className:y,ref:function(e){t.pieRef=e}},this.renderSectors(),i&&this.renderLabels(n),c5.renderCallByParent(this.props,null,!1),(!s||h)&&uc.renderCallByParent(this.props,n,!1))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return e.prevIsAnimationActive!==t.isAnimationActive?{prevIsAnimationActive:t.isAnimationActive,prevAnimationId:t.animationId,curSectors:t.sectors,prevSectors:[],isAnimationFinished:!0}:t.isAnimationActive&&t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curSectors:t.sectors,prevSectors:e.curSectors,isAnimationFinished:!0}:t.sectors!==e.curSectors?{curSectors:t.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(t,e){return t>e?"start":t<e?"end":"middle"}},{key:"renderLabelLineItem",value:function(t,e,r){if(f.isValidElement(t))return f.cloneElement(t,e);if(x()(t))return t(e);var n=(0,p.A)("recharts-pie-label-line","boolean"!=typeof t?t.className:"");return f.createElement(uJ,fE({},e,{key:r,type:"linear",className:n}))}},{key:"renderLabelItem",value:function(t,e,r){if(f.isValidElement(t))return f.cloneElement(t,e);var n=r;if(x()(t)&&(n=t(e),f.isValidElement(n)))return n;var o=(0,p.A)("recharts-pie-label-text","boolean"==typeof t||x()(t)?"":t.className);return f.createElement(rk,fE({},e,{alignmentBaseline:"middle",className:o}),n)}}],e&&fM(n.prototype,e),r&&fM(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(f.PureComponent);fI(fR,"displayName","Pie"),fI(fR,"defaultProps",{stroke:"#fff",fill:"#808080",legendType:"rect",cx:"50%",cy:"50%",startAngle:0,endAngle:360,innerRadius:0,outerRadius:"80%",paddingAngle:0,labelLine:!0,hide:!1,minA
vendor: 1,253 bytes, line 1
1ngle:0,isAnimationActive:!eF.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",blendStroke:!1,rootTabIndex:0}),fI(fR,"parseDeltaAngle",function(t,e){return k(e-t)*Math.min(Math.abs(e-t),360)}),fI(fR,"getRealPieData",function(t){var e=t.data,r=t.children,n=tp(t,!1),o=to(r,e5);return e&&e.length?e.map(function(t,e){return fT(fT(fT({payload:t},n),t),o&&o[e]&&o[e].props)}):o&&o.length?o.map(function(t){return fT(fT({},n),t.props)}):[]}),fI(fR,"parseCoordinateOfPie",function(t,e){var r=e.top,n=e.left,o=e.width,i=e.height,a=cU(o,i);return{cx:n+I(t.cx,o,o/2),cy:r+I(t.cy,i,i/2),innerRadius:I(t.innerRadius,a,0),outerRadius:I(t.outerRadius,a,.8*a),maxRadius:t.maxRadius||Math.sqrt(o*o+i*i)/2}}),fI(fR,"getComposedData",function(t){var e,r,n=t.item,o=t.offset,i=void 0!==n.type.defaultProps?fT(fT({},n.type.defaultProps),n.props):n.props,a=fR.getRealPieData(i);if(!a||!a.length)return null;var c=i.cornerRadius,u=i.startAngle,l=i.endAngle,s=i.paddingAngle,f=i.dataKey,p=i.nameKey,h=i.valueKey,y=i.tooltipType,d=Math.abs(i.minAngle),m=fR.parseCoordinateOfPie(i,o),b=fR.parseDeltaAngle(u,l),g=Math.abs(b),x=f;v()(f)&&v()(h)?(tj(!1,'Use "dataKey" to specify the value of pie,\n      the props "valueKey" will be deprecated 
1in 1.1.0'),x="value"):v()(f)&&(tj(!1,'Use "dataKey" to specify the value of pie,\n      the props "valueKey" will be deprecated in 1.1.0'),x=h);var O=a.filter(function(t){return 0!==ct(t,x,0)}).length,w=g-O*d-(g>=360?O:O-1)*s,j=a.reduce(function(t,e){var r=ct(e,x,0);return t+(M(r)?r:0)},0);return j>0&&(e=a.map(function(t,e){var n,o=ct(t,x,0),i=ct(t,p,e),a=(M(o)?o:0)/j,l=(n=e?r.endAngle+k(b)*s*(0!==o):u)+k(b)*((0!==o?d:0)+a*w),f=(n+l)/2,h=(m.innerRadius+m.outerRadius)/2,v=[{name:i,value:o,payload:t,dataKey:x,type:y}],g=cF(m.cx,m.cy,h,f);return r=fT(fT(fT({percent:a,cornerRadius:c,name:i,tooltipPayload:v,midAngle:f,middleRadius:h,tooltipPosition:g},t),m),{},{value:ct(t,x),startAngle:n,endAngle:l,payload:t,paddingAngle:k(b)*s})})),fT(fT({},m),{},{sectors:e,data:a})});var fB=r(41076),fL=r.n(fB),fz=["key"];function fF(t){return(fF="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 fU(){return(fU=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 fW(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?fW(Object(r),!0).forEach(function(e){fH(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fW(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function fK(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,fG(n.key),n)}}function fq(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fq=function(){return!!t})()}function fV(t){return(fV=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
1function fX(t,e){return(fX=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function fH(t,e,r){return(e=fG(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function fG(t){var e=function(t,e){if("object"!=fF(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=fF(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==fF(e)?e:e+""}var fY=function(t){var e,r;function n(){var t,e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=n,r=[].concat(i),e=fV(e),fH(t=function(t,e){if(e&&("object"===fF(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,fq()?Reflect.construct(e,r||[],fV(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!1}),fH(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),x()(e)&&e()}),fH(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),x()(e)&&e()}),fH(t,"handleMouseEnter",function(e){var r=t.props.onMouseEnter;r&&r(t.props,e)}),fH(t,"handleMouseLeave",function(e){var r=t.props.onMouseLeave;r&&r(t.props,e)}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&fX(n,t),e=[{key:"renderDots",value:function(t){var e=this.props,r=e.dot,o=e.dataKey,i=tp(this.props,!1),a=tp(r,!0),c=t.map(function(t,e){var c=f$(f$(f$({key:"dot-".concat(e),r:3},i),a),{},{dataKey:o,cx:t.x,cy:t.y,index:e,payload:t});return n.renderDotItem(r,c)});return f.createElement(tw,{className:"recharts-radar-dots"},c)}},{key:"renderPolygonStatically",value:function(t){var e,r=this.props,n=r.shape,o=r.dot,i=r.isRange,a=r.baseLinePoints,c=r.connectNulls;return e=f.isValidElement(n)?f.cloneElement(n,f$(f$({},this.props),{},{points:t})):x()(n)?n(f$(f$({},this.props),{},{points:t})):f.createElement(sv,fU({},tp(this.props,!0),{onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,points:t,baseLinePoints:i?a:null,connectNulls:c})),f.createElement(tw,{className:"recharts-radar-polygon"},e,o?this.renderDots(t):null)}},{key:"renderPolygonWithAnimation",value:function(){var t=this,e=this.props,r=e.points,n=e.isAnimationActive,o=e.animationBegin,i=e.animationDuration,a=e.animationEasing,c=e.animationId,u=this.state.prevPoints;return f.createElement(l7,{begin:o,duration:i,isActive:n,easing:a,from:{t:0},to:{t:1},key:"radar-".concat(c),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(e){var n=e.t,o=u&&u.length/r.length,i=r.map(function(t,e){var r=u&&u[Math.floor(e*o)];if(r){var i=B(r.x,t.x),a=B(r.y,t.y);return f$(f$({},t),{},{x:i(n),y:a(n)})}var c=B(t.cx,t.x),l=B(t.cy,t.y);return f$(f$({},t),{},{x:c(n),y:l(n)})});return t.renderPolygonStatically(i)})}},{key:"renderPolygon",value:function(){var t=this.props,e=t.points,r=t.isAnimationActive,n=t.isRange,o=this.state.prevPoints;return r&&e&&e.length&&!n&&(!o||!ag()(o,e))?this.renderPolygonWithAnimation():this.renderPolygonStatically(e)}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.className,n=t.points,o=t.isAnimationActive;if(e||!n||!n.length)return null;var i=this.state.isAnimationFinished,a=(0,p.A)("recharts-radar",r);return f.createElement(tw,{className:a},this.renderPolygon(),(!o||i)&&uc.renderCallByParent(this.props,n))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,prevPoints:e.curPoints}:t.points!==e.curPoints?{curPoints:t.points}:null}},{key:"renderDotItem",value:function(t,e){var r;if(f.isValidElement(t))r=f.cloneElement(t,e);else if(x()(t))r=t(e);else{var n=e.key,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}(e,fz);r=f.createElement(sb,fU({},o,{key:n,className:(0,p.A)("recharts-radar-dot","boolean"!=typeof t?t.className:"")}))}return r}}],e&&fK(n.prototype,e),r&&fK(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(f.PureComponent);function fZ(t){return(fZ="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 fJ(){return(fJ=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function fQ(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 f0(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?fQ(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"!=fZ(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=fZ(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==fZ(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)):fQ(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function f1(t){return"string"==typeof t?parseInt(t,10):t}function f2(t,e){var r=Number("".concat(e.cx||t.cx)),n=Number("".concat(e.cy||t.cy));return f0(f0(f0({},e),t),{},{cx:r,cy:n})}function f3(t){return f.createElement(fg,fJ({shapeType:"sector",propTransformer:f2},t))}fH(fY,"displayName","Radar"),fH(fY,"defaultProps",{angleAxisId:0,radiusAxisId:0,hide:!1,activeDot:!0,dot:!1,legendType:"rect",isAnimationActive:!eF.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),fH(fY,"getComposedData",function(t){var e=t.radiusAxis,r=t.angleAxis,n=t.displayedData,o=t.dataKey,i=t.bandSize,a=r.cx,c=r.cy,u=!1,l=[],s="number"!==r.type&&null!=i?i:0;n.forEach(function(t,n){var i=ct(t,r.dataKey,n),f=ct(t,o),p=r.scale(i)+s,h=Array.isArray(f)?c4()(f):f,y=v()(h)?void 0:e.scale(h);Array.isArray(f)&&f.length>=2&&(u=!0),l.push(f$(f$({},cF(a,c,y,p)),{},{name:i,value:f,cx:a,cy:c,radius:y,angle:p,payload:t}))});var f=[];return u&&l.forEach(function(t){if(Array.isArray(t.value)){var r=fL()(t.value),n=v()(r)?void 0:e.scale(r);f.push(f$(f$({},t),{},{radius:n},cF(a,c,n,t.angle)))}else f.push(t)}),{points:l,isRange:u,baseLinePoints:f}});var f5=["shape","activeShape","activeIndex","cornerRadius"],f8=["value","background"];function f6(t){return(f6="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 f4(){return(f4=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 f7(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 f9(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f7(Object(r),!0).forEach(function(e){pi(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f7(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function pt(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 pe(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,pa(n.key),n)}}function pr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pr=function(){return!!t})()}
1function pn(t){return(pn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function po(t,e){return(po=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function pi(t,e,r){return(e=pa(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function pa(t){var e=function(t,e){if("object"!=f6(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f6(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f6(e)?e:e+""}var pc=function(t){var e,r;function n(){var t,e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=n,r=[].concat(i),e=pn(e),pi(t=function(t,e){if(e&&("object"===f6(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,pr()?Reflect.construct(e,r||[],pn(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!1}),pi(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),x()(e)&&e()}),pi(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),x()(e)&&e()}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&po(n,t),e=[{key:"getDeltaAngle",value:function(){var t=this.props,e=t.startAngle,r=t.endAngle;return k(r-e)*Math.min(Math.abs(r-e),360)}},{key:"renderSectorsStatically",value:function(t){var e=this,r=this.props,n=r.shape,o=r.activeShape,i=r.activeIndex,a=r.cornerRadius,c=pt(r,f5),u=tp(c,!1);return t.map(function(t,r){var l=r===i,s=f9(f9(f9(f9({},u),{},{cornerRadius:f1(a)},t),H(e.props,t,r)),{},{className:"recharts-radial-bar-sector ".concat(t.className),forceCornerRadius:c.forceCornerRadius,cornerIsExternal:c.cornerIsExternal,isActive:l,option:l?o:n});return f.createElement(f3,f4({},s,{key:"sector-".concat(r)}))})}},{key:"renderSectorsWithAnimation",value:function(){var t=this,e=this.props,r=e.data,n=e.isAnimationActive,o=e.animationBegin,i=e.animationDuration,a=e.animationEasing,c=e.animationId,u=this.state.prevData;return f.createElement(l7,{begin:o,duration:i,isActive:n,easing:a,from:{t:0},to:{t:1},key:"radialBar-".concat(c),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(e){var n=e.t,o=r.map(function(t,e){var r=u&&u[e];if(r){var o=B(r.startAngle,t.startAngle),i=B(r.endAngle,t.endAngle);return f9(f9({},t),{},{startAngle:o(n),endAngle:i(n)})}var a=t.endAngle,c=B(t.startAngle,a);return f9(f9({},t),{},{endAngle:c(n)})});return f.createElement(tw,null,t.renderSectorsStatically(o))})}},{key:"renderSectors",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return r&&e&&e.length&&(!n||!ag()(n,e))?this.renderSectorsWithAnimation():this.renderSectorsStatically(e)}},{key:"renderBackground",value:function(t){var e=this,r=this.props.cornerRadius,n=tp(this.props.background,!1);return t.map(function(t,o){t.value;var i=t.background,a=pt(t,f8);if(!i)return null;var c=f9(f9(f9(f9(f9({cornerRadius:f1(r)},a),{},{fill:"#eee"},i),n),H(e.props,t,o)),{},{index:o,className:(0,p.A)("recharts-radial-bar-background-sector",null==n?void 0:n.className),option:i,isActive:!1});return f.createElement(f3,f4({},c,{key:"sector-".concat(o)}))})}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,n=t.className,o=t.background,i=t.isAnimationActive;if(e||!r||!r.length)return null;var a=this.state.isAnimationFinished,c=(0,p.A)("recharts-area",n);return f.createElement(tw,{className:c},o&&f.createElement(tw,{className:"recharts-radial-bar-background"}
1,this.renderBackground(r)),f.createElement(tw,{className:"recharts-radial-bar-sectors"},this.renderSectors()),(!i||a)&&uc.renderCallByParent(f9({},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&&pe(n.prototype,e),r&&pe(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(f.PureComponent);pi(pc,"displayName","RadialBar"),pi(pc,"defaultProps",{angleAxisId:0,radiusAxisId:0,minPointSize:0,hide:!1,legendType:"rect",data:[],isAnimationActive:!eF.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease",forceCornerRadius:!1,cornerIsExternal:!1}),pi(pc,"getComposedData",function(t){var e=t.item,r=t.props,n=t.radiusAxis,o=t.radiusAxisTicks,i=t.angleAxis,a=t.angleAxisTicks,c=t.displayedData,u=t.dataKey,l=t.stackedData,s=t.barPosition,f=t.bandSize,p=t.dataStartIndex,h=cm(s,e);if(!h)return null;var y=i.cx,d=i.cy,v=r.layout,m=e.props,b=m.children,g=m.minPointSize,x="radial"===v?i:n,O=l?x.scale.domain():null,w=cS({numericAxis:x}),j=to(b,e5);return{data:c.map(function(t,c){var s,m,b,x,A,S;if(l?s=cb(l[p+c],O):Array.isArray(s=ct(t,u))||(s=[w,s]),"radial"===v){m=cA({axis:n,ticks:o,bandSize:f,offset:h.offset,entry:t,index:c}),A=i.scale(s[1]),x=i.scale(s[0]),b=m+h.size;var P=A-x;Math.abs(g)>0&&Math.abs(P)<Math.abs(g)&&(A+=k(P||g)*(Math.abs(g)-Math.abs(P))),S={background:{cx:y,cy:d,innerRadius:m,outerRadius:b,startAngle:r.startAngle,endAngle:r.endAngle}}}else{m=n.scale(s[0]),b=n.scale(s[1]),A=(x=cA({axis:i,ticks:a,bandSize:f,offset:h.offset,entry:t,index:c}))+h.size;var E=b-m;Math.abs(g)>0&&Math.abs(E)<Math.abs(g)&&(b+=k(E||g)*(Math.abs(g)-Math.abs(E)))}return f9(f9(f9(f9({},t),S),{},{payload:t,value:l?s:s[1],cx:y,cy:d,innerRadius:m,outerRadius:b,startAngle:x,endAngle:A},j&&j[c]&&j[c].props),{},{tooltipPayload:[cD(e,t)],tooltipPosition:cF(y,d,(m+b)/2,(x+A)/2)})}),layout:v}});var pu=r(65211),pl=r.n(pu);function ps(t){return(ps="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function pf(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function pp(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pf(Object(r),!0).forEach(function(e){ph(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pf(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function ph(t,e,r){var n;return(n=function(t,e){if("object"!=ps(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ps(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==ps(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var py=["Webkit","Moz","O","ms"],pd=function(t,e){if(!t)return null;var r=t.replace(/(\w)/,function(t){return t.toUpperCase()}),n=py.reduce(function(t,n){return pp(pp({},t),{},ph({},n+r,e))},{});return n[t]=e,n};function pv(t){return(pv="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 pm(){return(pm=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 pb(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 pg(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?pb(Object(r),!0).forEach(function(e){pA(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pb(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function px(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,pS(n.key),n)}}function pO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pO=function(){return!!t})()}function pw(t){return(pw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function pj(t,e){return(pj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function pA(t,e,r){return(e=pS(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function pS(t){var e=function(t,e){if("object"!=pv(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=pv(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==pv(e)?e:e+""}var pP=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=rB().domain(pl()(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}},pE=function(t){return t.changedTouches&&!!t.changedTouches.length},pk=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=pw(r),pA(e=function(t,e){if(e&&("object"===pv(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,pO()?Reflect.construct(r,o||[],pw(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)}),pA(e,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])}),pA(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()}),pA(e,"handleLeaveWrapper",function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))}),pA(e,"handleEnterSlideOrTraveller",function(){e.setState({isTextActive:!0})}),pA(e,"handleLeaveSlideOrTraveller",function(){e.setState({isTextActive:!1})}),pA(e,"handleSlideDragStart",function(t){var r=pE(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&&pj(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=ct(r[t],o,t);return x()(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 h=this.getIndex({startX:n+p,endX:o+p});(h.startIndex!==l||h.endIndex!==s)&&f&&f(h),this.setState({startX:n+p,endX:o+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=pE(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,h=c.data,y={startX:this.state.startX,endX:this.state.endX},d=t.pageX-r;d>0?d=Math.min(d,u+l-s-a):d<0&&(d=Math.max(d,u-a)),y[n]=a+d;var v=this.getIndex(y),m=v.startIndex,b=v.endIndex,g=function(){var t=h.length-1;return"startX"===n&&(o>i?m%p==0:b%p==0)||!!(o<i)&&b===t||"endX"===n&&(o>i?b%p==0:m%p==0)||!!(o>i)&&b===t};this.setState(pA(pA({},n,a+d),"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(pA({},e,s),function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.
vendor: 4,764 bytes, line 1
1state.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 f.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=f.Children.only(a);return u?f.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,p=a.ariaLabel,h=a.data,y=a.startIndex,d=a.endIndex,v=Math.max(t,this.props.x),m=pg(pg({},tp(this.props,!1)),{},{x:v,y:c,width:u,height:l}),b=p||"Min value: ".concat(null==(r=h[y])?void 0:r.name,", Max value: ").concat(null==(o=h[d])?void 0:o.name);return f.createElement(tw,{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,m))}},{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 f.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 f.createElement(tw,{className:"recharts-brush-texts"},f.createElement(rk,pm({textAnchor:"end",verticalAnchor:"middle",x:Math.min(u,l)-5,y:n+o/2},s),this.getTextOfTick(e)),f.createElement(rk,pm({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,h=l.endX,y=l.isTextActive,d=l.isSlideMoving,v=l.isTravellerMoving,m=l.isTravellerFocused;if(!e||!e.length||!M(o)||!M(i)||!M(a)||!M(c)||a<=0||c<=0)return null;var b=(0,p.A)("recharts-brush",r),g=1===f.Children.count(n),x=pd("userSelect","none");return f.createElement(tw,{className:b,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:x},this.renderBackground(),g&&this.renderPanorama(),this.renderSlide(s,h),this.renderTravellerLayer(s,"startX"),this.renderTravellerLayer(h,"endX"),(y||d||v||m||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 f.createElement(f.Fragment,null,f.createElement("rect",{x:e,y:r,width:n,height:o,fill:i,stroke:"none"}),f.createElement("line",{x1:e+1,y1:a,x2:e+n-1,y2:a,fill:"none",stroke:"#fff"}),f.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 f.isValidElement(t)?f.cloneElement(t,e):x()(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 pg({prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n},r&&r.length?pP({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&&px(n.prototype,e),r&&px(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(f.PureComponent);pA(pk,"displayName","Brush"),pA(pk,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});
1var pT=r(99810),pM=r.n(pT),p_=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e},pC=r(41334),pD=r.n(pC),pI=r(91373),pN=r.n(pI),pR=["x","y"];function pB(t){return(pB="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 pL(){return(pL=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 pz(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function pF(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pz(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=pB(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=pB(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==pB(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pz(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function pU(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,pR),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 pF(pF(pF(pF(pF({},e),o),i?{x:i}:{}),a?{y:a}:{}),{},{height:c,width:u,name:e.name,radius:e.radius})}function pW(t){return f.createElement(fg,pL({shapeType:"rectangle",propTransformer:pU,activeClassName:"recharts-active-bar"},t))}var p$=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=M(r)||v()(r);return o?t(r,n):(o||a$(!1),e)}},pK=["value","background"];function pq(t){return(pq="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 pV(){return(pV=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function pX(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function pH(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pX(Object(r),!0).forEach(function(e){pQ(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pX(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function pG(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,p0(n.key),n)}}function pY(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pY=function(){return!!t})()}function pZ(t){return(pZ=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function pJ(t,e){return(pJ=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function pQ(t,e,r){return(e=p0(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function p0(t){var e=function(t,e){if("object"!=pq(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=pq(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==pq(e)?e:e+""}var p1=function(t){var e,r;function n(){var t,e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=n,r=[].concat(i),e=pZ(e),pQ(t=function(t,e){if(e&&("object"===pq(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,pY()?Reflect.construct(e,r||[],pZ(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!1}),pQ(t,"id",D("recharts-bar-")),pQ(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()}),pQ(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&pJ(n,t),e=[{key:"renderRectanglesStatically",value:function(t){var e=this,r=this.props,n=r.shape,o=r.dataKey,i=r.activeIndex,a=r.activeBar,c=tp(this.props,!1);return t&&t.map(function(t,r){var u=r===i,l=pH(pH(pH({},c),t),{},{isActive:u,option:u?a:n,index:r,dataKey:o,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return f.createElement(tw,pV({className:"recharts-bar-rectangle"},H(e.props,t,r),{key:"rectangle-".concat(null==t?void 0:t.x,"-").concat(null==t?void 0:t.y,"-").concat(null==t?void 0:t.value,"-").concat(r)}),f.createElement(pW,l))})}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,r=e.data,n=e.layout,o=e.isAnimationActive,i=e.animationBegin,a=e.animationDuration,c=e.animationEasing,u=e.animationId,l=this.state.prevData;return f.createElement(l7,{begin:i,duration:a,isActive:o,easing:c,from:{t:0},to:{t:1},key:"bar-".concat(u),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(e){var o=e.t,i=r.map(function(t,e){var r=l&&l[e];if(r){var i=B(r.x,t.x),a=B(r.y,t.y),c=B(r.width,t.width),u=B(r.height,t.height);return pH(pH({},t),{},{x:i(o),y:a(o),width:c(o),height:u(o)})}if("horizontal"===n){var s=B(0,t.height)(o);return pH(pH({},t),{},{y:t.y+t.height-s,height:s})}var f=B(0,t.width)(o);return pH(pH({},t),{},{width:f})});return f.createElement(tw,null,t.renderRectanglesStatically(i))})}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return r&&e&&e.length&&(!n||!ag()(n,e))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(e)}},{key:"renderBackground",value:function(){var t=this,e=this.props,r=e.data,n=e.dataKey,o=e.activeIndex,i=tp(this.props.background,!1);return r.map(function(e,r){e.value;var a=e.background,c=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,pK);if(!a)return null;var u=pH(pH(pH(pH(pH({},c),{},{fill:"#eee"},a),i),H(t.props,e,r)),{},{onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd,dataKey:n,index:r,className:"recharts-bar-background-rectangle"});return f.createElement(pW,pV({key:"background-bar-".concat(r),option:t.props.background,isActive:r===o},u))})}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.data,o=r.xAxis,i=r.yAxis,a=r.layout,c=to(r.children,aQ);if(!c)return null;var u="vertical"===a?n[0].height/2:n[0].width/2,l=function(t,e){var r=Array.isArray(t.value)?t.value[1]:t.value;return{x:t.x,y:t.y,value:r,errorVal:ct(t,e)}};return f.createElement(tw,{clipPath:t?"url(#clipPath-".concat(e,")"):null},c.map(function(t){return f.cloneElement(t,{key:"error-bar-".concat(e,"-").concat(t.props.dataKey),data:n,xAxis:o,yAxis:i,layout:a,offset:u,dataPointFormatter:l})}))}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,n=t.className,o=t.xAxis,i=t.yAxis,a=t.left,c=t.top,u=t.width,l=t.height,s=t.isAnimationActive,h=t.background,y=t.id;if(e||!r||!r.length)return null;var d=this.state.isAnimationFinished,m=(0,p.A)("recharts-bar",n),b=o&&o.allowDataOverflow,g=i&&i.allowDataOverflow,x=b||g,O=v()(y)?this.id:y;return f.createElement(tw,{className:m},b||g?f.createElement("defs",null,f.createElement("clipPath",{id:"clipPath-".concat(O)},f.createElement("rect",{x:b?a:a-u/2,y:g?c:c-l/2,width:b?u:2*u,height:g?l:2*l}))):null,f.createElement(tw,{className:"recharts-bar-rectangles",clipPath:x?"url(#clipPath-".concat(O,")"):null}
1,h?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(x,O),(!s||d)&&uc.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&&pG(n.prototype,e),r&&pG(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(f.PureComponent);function p2(t){return(p2="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 p3(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,p4(n.key),n)}}function p5(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 p8(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p5(Object(r),!0).forEach(function(e){p6(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p5(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function p6(t,e,r){return(e=p4(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function p4(t){var e=function(t,e){if("object"!=p2(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=p2(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==p2(e)?e:e+""}pQ(p1,"displayName","Bar"),pQ(p1,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!eF.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),pQ(p1,"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,p=t.offset,h=cm(n,r);if(!h)return null;var y=e.layout,d=r.type.defaultProps,v=void 0!==d?pH(pH({},d),r.props):r.props,m=v.dataKey,b=v.children,g=v.minPointSize,x="horizontal"===y?a:i,O=l?x.scale.domain():null,w=cS({numericAxis:x}),j=to(b,e5),A=f.map(function(t,e){l?f=cb(l[s+e],O):Array.isArray(f=ct(t,m))||(f=[w,f]);var n=p$(g,p1.defaultProps.minPointSize)(f[1],e);if("horizontal"===y){var f,p,d,v,b,x,A,S=[a.scale(f[0]),a.scale(f[1])],P=S[0],E=S[1];p=cA({axis:i,ticks:c,bandSize:o,offset:h.offset,entry:t,index:e}),d=null!=(A=null!=E?E:P)?A:void 0,v=h.size;var T=P-E;if(b=Number.isNaN(T)?0:T,x={x:p,y:a.y,width:v,height:a.height},Math.abs(n)>0&&Math.abs(b)<Math.abs(n)){var M=k(b||n)*(Math.abs(n)-Math.abs(b));d-=M,b+=M}}else{var _=[i.scale(f[0]),i.scale(f[1])],C=_[0],D=_[1];if(p=C,d=cA({axis:a,ticks:u,bandSize:o,offset:h.offset,entry:t,index:e}),v=D-C,b=h.size,x={x:i.x,y:d,width:i.width,height:b},Math.abs(n)>0&&Math.abs(v)<Math.abs(n)){var I=k(v||n)*(Math.abs(n)-Math.abs(v));v+=I}}return pH(pH(pH({},t),{},{x:p,y:d,width:v,height:b,value:l?f:f[1],payload:t,background:x},j&&j[e]&&j[e].props),{},{tooltipPayload:[cD(r,t)],tooltipPosition:{x:p+v/2,y:d+b/2}})});return pH({data:A,layout:y},p)});var p7=function(t,e,r,n,o){var i=t.width,a=t.height,c=t.layout,u=t.children,l=Object.keys(e),s={left:r.left,leftMirror:r.left,right:i-r.right,rightMirror:i-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},f=!!ti(u,p1);return l.reduce(function(i,a){var u,l,p,h,y,d=e[a],v=d.orientation,m=d.domain,b=d.padding,g=void 0===b?{}:b,x=d.mirror,O=d.reversed,w="".concat(v).concat(x?"Mirror":"");if("number"===d.type&&("gap"===d.padding||"no-gap"===d.padding)){var j=m[1]-m[0],A=1/0,S=d.categoricalDomain.sort(F);if(S.forEach(function(t,e){e>0&&(A=Math.min((t||0)-(S[e-1]||0),A))}),Number.isFinite(A)){var P=A/j,E="vertical"===d.layout?r.height:r.width;if("gap"===d.padding&&(u=P*E/2),"no-gap"===d.padding){var k=I(t.barCategoryGap,P*E),T=P*E/2;u=T-k-(T-k)/E*k}}}
1l="xAxis"===n?[r.left+(g.left||0)+(u||0),r.left+r.width-(g.right||0)-(u||0)]:"yAxis"===n?"horizontal"===c?[r.top+r.height-(g.bottom||0),r.top+(g.top||0)]:[r.top+(g.top||0)+(u||0),r.top+r.height-(g.bottom||0)-(u||0)]:d.range,O&&(l=[l[1],l[0]]);var M=cd(d,o,f),_=M.scale,C=M.realScaleType;_.domain(m).range(l),cv(_);var D=cw(_,p8(p8({},d),{},{realScaleType:C}));"xAxis"===n?(y="top"===v&&!x||"bottom"===v&&x,p=r.left,h=s[w]-y*d.height):"yAxis"===n&&(y="left"===v&&!x||"right"===v&&x,p=s[w]-y*d.width,h=r.top);var N=p8(p8(p8({},d),D),{},{realScaleType:C,x:p,y:h,scale:_,width:"xAxis"===n?r.width:d.width,height:"yAxis"===n?r.height:d.height});return N.bandSize=c_(N,D),d.hide||"xAxis"!==n?d.hide||(s[w]+=(y?-1:1)*N.width):s[w]+=(y?-1:1)*N.height,p8(p8({},i),{},p6({},a,N))},{})},p9=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)}},ht=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&&p3(r.prototype,t),e&&p3(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();p6(ht,"EPS",1e-4);var he=function(t){var e=Object.keys(t).reduce(function(e,r){return p8(p8({},e),{},p6({},r,ht.create(t[r])))},{});return p8(p8({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,o=r.position;return pD()(t,function(t,r){return e[r].apply(t,{bandAware:n,position:o})})},isInRange:function(t){return pN()(t,function(t,r){return e[r].isInRange(t)})}})},hr=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))},hn=r(92653),ho=r.n(hn),hi=r(66126),ha=r.n(hi)()(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}),hc=(0,f.createContext)(void 0),hu=(0,f.createContext)(void 0),hl=(0,f.createContext)(void 0),hs=(0,f.createContext)({}),hf=(0,f.createContext)(void 0),hp=(0,f.createContext)(0),hh=(0,f.createContext)(0),hy=function(t){var e=t.state,r=e.xAxisMap,n=e.yAxisMap,o=e.offset,i=t.clipPathId,a=t.children,c=t.width,u=t.height,l=ha(o);return f.createElement(hc.Provider,{value:r},f.createElement(hu.Provider,{value:n},f.createElement(hs.Provider,{value:o},f.createElement(hl.Provider,{value:l},f.createElement(hf.Provider,{value:i},f.createElement(hp.Provider,{value:u},f.createElement(hh.Provider,{value:c},a)))))))},hd=function(t){var e=(0,f.useContext)(hc);null==e&&a$(!1);var r=e[t];return null==r&&a$(!1),r},hv=function(){var t=(0,f.useContext)(hu);return ho()(t,function(t){return pN()(t.domain,Number.isFinite)})||N(t)},hm=function(t){var e=(0,f.useContext)(hu);null==e&&a$(!1);var r=e[t];return null==r&&a$(!1),r},hb=function(){return(0,f.useContext)(hh)},hg=function(){return(0,f.useContext)(hp)};function hx(t){return(hx="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 hO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hO=function(){return!!t})()}
1function hw(t){return(hw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function hj(t,e){return(hj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function hA(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 hS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?hA(Object(r),!0).forEach(function(e){hP(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hA(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function hP(t,e,r){return(e=hE(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function hE(t){var e=function(t,e){if("object"!=hx(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=hx(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==hx(e)?e:e+""}function hk(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 hT(){return(hT=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 hM=function(t,e){return f.isValidElement(t)?f.cloneElement(t,e):x()(t)?t(e):f.createElement("line",hT({},e,{className:"recharts-reference-line-line"}))},h_=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 h=u.y,y=t.y.apply(h,{position:i});if(p_(u,"discard")&&!t.y.isInRange(y))return null;var d=[{x:l+f,y:y},{x:l,y:y}];return"left"===c?d.reverse():d}if(e){var v=u.x,m=t.x.apply(v,{position:i});if(p_(u,"discard")&&!t.x.isInRange(m))return null;var b=[{x:m,y:s+p},{x:m,y:s}];return"top"===a?b.reverse():b}if(n){var g=u.segment.map(function(e){return t.apply(e,{position:i})});return p_(u,"discard")&&pM()(g,function(e){return!t.isInRange(e)})?null:g}return null};function hC(t){var e,r=t.x,n=t.y,o=t.segment,i=t.xAxisId,a=t.yAxisId,c=t.shape,u=t.className,l=t.alwaysShow,s=(0,f.useContext)(hf),h=hd(i),y=hm(a),d=(0,f.useContext)(hl);if(!s||!d)return null;tj(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var v=h_(he({x:h.scale,y:y.scale}),_(r),_(n),o&&2===o.length,d,t.position,h.orientation,y.orientation,t);if(!v)return null;var m=function(t){if(Array.isArray(t))return t}(v)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{i=(r=r.call(t)).next,!1;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}}(v,2)||function(t,e){if(t){if("string"==typeof t)return hk(t,2);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 hk(t,e)}}(v,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.")}(),b=m[0],g=b.x,x=b.y,O=m[1],w=O.x,j=O.y,A=hS(hS({clipPath:p_(t,"hidden")?"url(#".concat(s,")"):void 0},tp(t,!0)),{},{x1:g,y1:x,x2:w,y2:j});return f.createElement(tw,{className:(0,p.A)("recharts-reference-line",u)},hM(c,A),c5.renderCallByParent(t,p9({x:(e={x1:g,y1:x,x2:w,y2:j}).x1,y:e.y1},{x:e.x2,y:e.y2})))}var hD=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=hw(t),function(t,e){if(e&&("object"===hx(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,hO()?Reflect.construct(t,e||[],hw(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&&hj(r,t),e=[{key:"render",value:function(){return f.createElement(hC,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,hE(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(f.Component);
1function hI(){return(hI=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 hN(t){return(hN="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 hR(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 hB(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?hR(Object(r),!0).forEach(function(e){hU(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hR(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}hP(hD,"displayName","ReferenceLine"),hP(hD,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function hL(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hL=function(){return!!t})()}function hz(t){return(hz=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
1function hF(t,e){return(hF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function hU(t,e,r){return(e=hW(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function hW(t){var e=function(t,e){if("object"!=hN(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=hN(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==hN(e)?e:e+""}var h$=function(t){var e=t.x,r=t.y,n=t.xAxis,o=t.yAxis,i=he({x:n.scale,y:o.scale}),a=i.apply({x:e,y:r},{bandAware:!0});return p_(t,"discard")&&!i.isInRange(a)?null:a},hK=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=hz(t),function(t,e){if(e&&("object"===hN(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,hL()?Reflect.construct(t,e||[],hz(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&&hF(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=_(e),u=_(n);if(tj(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!c||!u)return null;var l=h$(this.props);if(!l)return null;var s=l.x,h=l.y,y=this.props,d=y.shape,v=y.className,m=hB(hB({clipPath:p_(this.props,"hidden")?"url(#".concat(a,")"):void 0},tp(this.props,!0)),{},{cx:s,cy:h});return f.createElement(tw,{className:(0,p.A)("recharts-reference-dot",v)},r.renderDot(d,m),c5.renderCallByParent(this.props,{x:s-o,y:h-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,hW(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(f.Component);function hq(){return(hq=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 hV(t){return(hV="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function hX(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 hH(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?hX(Object(r),!0).forEach(function(e){hJ(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hX(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}hU(hK,"displayName","ReferenceDot"),hU(hK,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),hU(hK,"renderDot",function(t,e){return f.isValidElement(t)?f.cloneElement(t,e):x()(t)?t(e):f.createElement(sb,hI({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))});function hG(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hG=function(){return!!t})()}
1function hY(t){return(hY=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function hZ(t,e){return(hZ=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function hJ(t,e,r){return(e=hQ(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function hQ(t){var e=function(t,e){if("object"!=hV(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=hV(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==hV(e)?e:e+""}var h0=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=he({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},h={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(u,{position:"end"}):f.y.rangeMax};return!p_(o,"discard")||f.isInRange(p)&&f.isInRange(h)?p9(p,h):null},h1=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=hY(t),function(t,e){if(e&&("object"===hV(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,hG()?Reflect.construct(t,e||[],hY(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&&hZ(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;tj(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=_(e),s=_(n),h=_(o),y=_(i),d=this.props.shape;if(!l&&!s&&!h&&!y&&!d)return null;var v=h0(l,s,h,y,this.props);if(!v&&!d)return null;var m=p_(this.props,"hidden")?"url(#".concat(u,")"):void 0;return f.createElement(tw,{className:(0,p.A)("recharts-reference-area",a)},r.renderRect(d,hH(hH({clipPath:m},tp(this.props,!0)),v)),c5.renderCallByParent(this.props,v))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,hQ(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(f.Component);function h2(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 h3(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 h5(t){return(h5="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 h8(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 h6(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?h8(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"!=h5(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=h5(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==h5(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)):h8(Object(r)).forEac
1h(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function h4(t,e,r){var n,o,i,a,c,u=t.tick,l=t.ticks,s=t.viewBox,f=t.minTickGap,p=t.orientation,h=t.interval,y=t.tickFormatter,d=t.unit,v=t.angle;if(!l||!l.length||!u)return[];if(M(h)||eF.isSsr)return h2(l,("number"==typeof h&&M(h)?h:0)+1);var m="top"===p||"bottom"===p?"width":"height",b=d&&"width"===m?re(d,{fontSize:e,letterSpacing:r}):{width:0,height:0},g=function(t,n){var o,i=x()(y)?y(t.value,n):t.value;return"width"===m?(o=re(i,{fontSize:e,letterSpacing:r}),hr({width:o.width+b.width,height:o.height+b.height},v)):re(i,{fontSize:e,letterSpacing:r})[m]},O=l.length>=2?k(l[1].coordinate-l[0].coordinate):1,w=(n="width"===m,o=s.x,i=s.y,a=s.width,c=s.height,1===O?{start:n?o:i,end:n?o+a:i+c}:{start:n?o+a:i+c,end:n?o:i});return"equidistantPreserveStart"===h?function(t,e,r,n,o){for(var i,a=(n||[]).slice(),c=e.start,u=e.end,l=0,s=1,f=c;s<=a.length;)if(i=function(){var e,i=null==n?void 0:n[l];if(void 0===i)return{v:h2(n,s)};var a=l,p=function(){return void 0===e&&(e=r(i,a)),e},h=i.coordinate,y=0===l||h3(t,h,p,f,u);y||(l=0,f=c,s+=1),y&&(f=h+t*(p()/2+o),l+=s)}())return i.v;return[]}(O,w,g,l,f):("preserveStart"===h||"preserveStartEnd"===h?function(t,e,r,n,o,i){var a=(n||[]).slice(),c=a.length,u=e.start,l=e.end;if(i){var s=n[c-1],f=r(s,c-1),p=t*(s.coordinate+t*f/2-l);a[c-1]=s=h6(h6({},s),{},{tickCoord:p>0?s.coordinate-p*t:s.coordinate}),h3(t,s.tickCoord,function(){return f},u,l)&&(l=s.tickCoord-t*(f/2+o),a[c-1]=h6(h6({},s),{},{isShow:!0}))}for(var h=i?c-1:c,y=function(e){var n,i=a[e],c=function(){return void 0===n&&(n=r(i,e)),n};if(0===e){var s=t*(i.coordinate-t*c()/2-u);a[e]=i=h6(h6({},i),{},{tickCoord:s<0?i.coordinate-s*t:i.coordinate})}else a[e]=i=h6(h6({},i),{},{tickCoord:i.coordinate});h3(t,i.tickCoord,c,u,l)&&(u=i.tickCoord+t*(c()/2+o),a[e]=h6(h6({},i),{},{isShow:!0}))},d=0;d<h;d++)y(d);return a}(O,w,g,l,f,"preserveStartEnd"===h):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],s=function(){return void 0===n&&(n=r(l,e)),n};if(e===a-1){var f=t*(l.coordinate+t*s()/2-u);i[e]=l=h6(h6({},l),{},{tickCoord:f>0?l.coordinate-f*t:l.coordinate})}else i[e]=l=h6(h6({},l),{},{tickCoord:l.coordinate});h3(t,l.tickCoord,s,c,u)&&(u=l.tickCoord-t*(s()/2+o),i[e]=h6(h6({},l),{},{isShow:!0}))},s=a-1;s>=0;s--)l(s);return i}(O,w,g,l,f)).filter(function(t){return t.isShow})}hJ(h1,"displayName","ReferenceArea"),hJ(h1,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),hJ(h1,"renderRect",function(t,e){return f.isValidElement(t)?f.cloneElement(t,e):x()(t)?t(e):f.createElement(sc,hq({},e,{className:"recharts-reference-area-rect"}))});var h7=["viewBox"],h9=["viewBox"],yt=["ticks"];function ye(t){return(ye="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 yr(){return(yr=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 yn(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 yo(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?yn(Object(r),!0).forEach(function(e){ys(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yn(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function yi(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 ya(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,yf(n.key),n)}}function yc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yc=function(){return!!t})()}function yu(t){return(yu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function yl(t,e){return(yl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ys(t,e,r){return(e=yf(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function yf(t){var e=function(t,e){if("object"!=ye(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ye(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==ye(e)?e:e+""}var yp=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=yu(r),(e=function(t,e){if(e&&("object"===ye(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,yc()?Reflect.construct(r,o||[],yu(this).constructor):r.apply(this,o))).state={fontSize:"",letterSpacing:""},e}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&yl(n,t),e=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=yi(t,h7),o=this.props,i=o.viewBox,a=yi(o,h9);return!U(r,i)||!U(n,a)||!U(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,h=c.tickSize,y=c.mirror,d=c.tickMargin,v=y?-1:1,m=t.tickSize||h,b=M(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=r=t.coordinate,a=(n=(o=l+!y*f)-v*m)-v*d,i=b;break;case"left":n=o=t.coordinate,i=(e=(r=u+!y*s)-v*m)-v*d,a=b;break;case"right":n=o=t.coordinate,i=(e=(r=u+y*s)+v*m)+v*d,a=b;break;default:e=r=t.coordinate,a=(n=(o=l+y*f)+v*m)+v*d,i=b}return{line:{x1:e,y1:n,x2:r,y2:o},tick:{x:i,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,r=e.orientation,n=e.mirror;switch(r){case"left":t=n?"start":"end";break;case"right":t=n?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,r=t.mirror,n="end";switch(e){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,i=t.orientation,a=t.mirror,c=t.axisLine,u=yo(yo(yo({},tp(this.props,!1)),tp(c,!1)),{},{fill:"none"});if("top"===i||"bottom"===i){var l=+("top"===i&&!a||"bottom"===i&&a);u=yo(yo({},u),{},{x1:e,y1:r+l*o,x2:e+n,y2:r+l*o})}else{var s=+("left"===i&&!a||"right"===i&&a);u=yo(yo({},u),{},{x1:e+s*n,y1:r,x2:e+s*n,y2:r+o})}return f.createElement("line",yr({},u,{className:(0,p.A)("recharts-cartesian-axis-line",y()(c,"className"))}))}},{key:"renderTicks",value:function(t,e,r){var o=this,i=this.props,a=i.tickLine,c=i.stroke,u=i.tick,l=i.tickFormatter,s=i.unit,h=h4(yo(yo({},this.props),{},{ticks:t}),e,r),d=this.getTickTextAnchor(),v=this.getTickVerticalAnchor(),m=tp(this.props,!1),b=tp(u,!1),g=yo(yo({},m),{},{fill:"none"},tp(a,!1)),O=h.map(function(t,e){var r=o.getTickLineCoord(t),i=r.line,O=r.tick,w=yo(yo(yo(yo({textAnchor:d,verticalAnchor:v},m),{},{stroke:"none",fill:c},b),O),{},{index:e,payload:t,visibleTicksCount:h.length,tickFormatter:l});return f.createElement(tw,yr({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},H(o.props,t,e)),a&&f.createElement("line",yr({},g,i,{className:(0,p.A)("recharts-cartesian-axis-tick-line",y()(a,"className"))})),u&&n.renderTickItem(u,w,"".concat(x()(l)?l(t.value,e):t.value).concat(s||"")))});return f.createElement("g",{className:"recharts-cartesian-axis-ticks"},O)}},{key:"render",value:function(){var t=this,e=this.props,r=e.axisLine,n=e.width,o=e.height,i=e.ticksGenerator,a=e.className;if(e.hide)return null;var c=this.props,u=c.ticks,l=yi(c,yt),s=u;return(x()(i)&&(s=i(u&&u.length>0?this.props:l)),n<=0||o<=0||!s||!s.length)?null:f.createElement(tw,{className:(0,p.A)("recharts-cartesian-axis",a),ref:function(e){t.layerReference=e}},r&&this.renderAxisLine(),this.renderTicks(s,this.state.fontSize,this.state.letterSpacing),c5.renderCallByParent(this.props))}}],r=[{key:"renderTickItem",value:function(t,e,r){var n=(0,p.A)(e.className,"recharts-cartesian-axis-tick-value");return f.isValidElement(t)?f.cloneElement(t,yo(yo({},e),{},{className:n})):x()(t)?t(yo(yo({},e),{},{className:n})):f.createElement(rk,yr({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],e&&ya(n.prototype,e),r&&ya(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(f.Component);ys(yp,"displayName","CartesianAxis"),ys(yp,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine
1:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var yh=["x1","y1","x2","y2","key"],yy=["offset"];function yd(t){return(yd="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 yv(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 ym(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?yv(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"!=yd(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=yd(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==yd(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)):yv(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function yb(){return(yb=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 yg(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 yx=function(t){var e=t.fill;if(!e||"none"===e)return null;var r=t.fillOpacity,n=t.x,o=t.y,i=t.width,a=t.height,c=t.ry;return f.createElement("rect",{x:n,y:o,ry:c,width:i,height:a,stroke:"none",fill:e,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function yO(t,e){var r;if(f.isValidElement(t))r=f.cloneElement(t,e);else if(x()(t))r=t(e);else{var n=e.x1,o=e.y1,i=e.x2,a=e.y2,c=e.key,u=tp(yg(e,yh),!1),l=(u.offset,yg(u,yy));r=f.createElement("line",yb({},l,{x1:n,y1:o,x2:i,y2:a,fill:"none",key:c}))}return r}function yw(t){var e=t.x,r=t.width,n=t.horizontal,o=void 0===n||n,i=t.horizontalPoints;if(!o||!i||!i.length)return null;var a=i.map(function(n,i){return yO(o,ym(ym({},t),{},{x1:e,y1:n,x2:e+r,y2:n,key:"line-".concat(i),index:i}))});return f.createElement("g",{className:"recharts-cartesian-grid-horizontal"},a)}function yj(t){var e=t.y,r=t.height,n=t.vertical,o=void 0===n||n,i=t.verticalPoints;if(!o||!i||!i.length)return null;var a=i.map(function(n,i){return yO(o,ym(ym({},t),{},{x1:n,y1:e,x2:n,y2:e+r,key:"line-".concat(i),index:i}))});return f.createElement("g",{className:"recharts-cartesian-grid-vertical"},a)}function yA(t){var e=t.horizontalFill,r=t.fillOpacity,n=t.x,o=t.y,i=t.width,a=t.height,c=t.horizontalPoints,u=t.horizontal;if(!(void 0===u||u)||!e||!e.length)return null;var l=c.map(function(t){return Math.round(t+o-o)}).sort(function(t,e){return t-e});o!==l[0]&&l.unshift(0);var s=l.map(function(t,c){var u=l[c+1]?l[c+1]-t:o+a-t;if(u<=0)return null;var s=c%e.length;return f.createElement("rect",{key:"react-".concat(c),y:t,x:n,height:u,width:i,stroke:"none",fill:e[s],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return f.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},s)}function yS(t){var e=t.vertical,r=t.verticalFill,n=t.fillOpacity,o=t.x,i=t.y,a=t.width,c=t.height,u=t.verticalPoints;if(!(void 0===e||e)||!r||!r.length)return null;var l=u.map(function(t){return Math.round(t+o-o)}).sort(function(t,e){return t-e});o!==l[0]&&l.unshift(0);var s=l.map(function(t,e){var u=l[e+1]?l[e+1]-t:o+a-t;if(u<=0)return null;var s=e%r.length;return f.createElement("rect",{key:"react-".concat(e),x:t,y:i,width:u,height:c,stroke:"none",fill:r[s],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return f.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},s)}var yP=function(t,e){var r=t.xAxis,n=t.width,o=t.height,i=t.offset;return cf(h4(ym(ym(ym({},yp.defaultProps),r),{}
1,{ticks:cp(r,!0),viewBox:{x:0,y:0,width:n,height:o}})),i.left,i.left+i.width,e)},yE=function(t,e){var r=t.yAxis,n=t.width,o=t.height,i=t.offset;return cf(h4(ym(ym(ym({},yp.defaultProps),r),{},{ticks:cp(r,!0),viewBox:{x:0,y:0,width:n,height:o}})),i.top,i.top+i.height,e)},yk={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function yT(t){var e,r,n,o,i,a,c=hb(),u=hg(),l=(0,f.useContext)(hs),s=ym(ym({},t),{},{stroke:null!=(e=t.stroke)?e:yk.stroke,fill:null!=(r=t.fill)?r:yk.fill,horizontal:null!=(n=t.horizontal)?n:yk.horizontal,horizontalFill:null!=(o=t.horizontalFill)?o:yk.horizontalFill,vertical:null!=(i=t.vertical)?i:yk.vertical,verticalFill:null!=(a=t.verticalFill)?a:yk.verticalFill,x:M(t.x)?t.x:l.left,y:M(t.y)?t.y:l.top,width:M(t.width)?t.width:l.width,height:M(t.height)?t.height:l.height}),p=s.x,h=s.y,y=s.width,d=s.height,v=s.syncWithTicks,m=s.horizontalValues,b=s.verticalValues,g=N((0,f.useContext)(hc)),O=hv();if(!M(y)||y<=0||!M(d)||d<=0||!M(p)||p!==+p||!M(h)||h!==+h)return null;var w=s.verticalCoordinatesGenerator||yP,j=s.horizontalCoordinatesGenerator||yE,A=s.horizontalPoints,S=s.verticalPoints;if((!A||!A.length)&&x()(j)){var P=m&&m.length,E=j({yAxis:O?ym(ym({},O),{},{ticks:P?m:O.ticks}):void 0,width:c,height:u,offset:l},!!P||v);tj(Array.isArray(E),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(yd(E),"]")),Array.isArray(E)&&(A=E)}if((!S||!S.length)&&x()(w)){var k=b&&b.length,T=w({xAxis:g?ym(ym({},g),{},{ticks:k?b:g.ticks}):void 0,width:c,height:u,offset:l},!!k||v);tj(Array.isArray(T),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(yd(T),"]")),Array.isArray(T)&&(S=T)}return f.createElement("g",{className:"recharts-cartesian-grid"},f.createElement(yx,{fill:s.fill,fillOpacity:s.fillOpacity,x:s.x,y:s.y,width:s.width,height:s.height,ry:s.ry}),f.createElement(yw,yb({},s,{offset:l,horizontalPoints:A,xAxis:g,yAxis:O})),f.createElement(yj,yb({},s,{offset:l,verticalPoints:S,xAxis:g,yAxis:O})),f.createElement(yA,yb({},s,{horizontalPoints:A})),f.createElement(yS,yb({},s,{verticalPoints:S})))}yT.displayName="CartesianGrid";var yM=["type","layout","connectNulls","ref"],y_=["key"];function yC(t){return(yC="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 yD(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 yI(){return(yI=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 yN(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 yR(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?yN(Object(r),!0).forEach(function(e){y$(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yN(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function yB(t){return function(t){if(Array.isArray(t))return yL(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return yL(t,void 0);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 yL(t,e)}}(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 yL(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 yz(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,yK(n.key),n)}}function yF(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yF=function(){return!!t})()}
1function yU(t){return(yU=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function yW(t,e){return(yW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function y$(t,e,r){return(e=yK(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function yK(t){var e=function(t,e){if("object"!=yC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=yC(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==yC(e)?e:e+""}var yq=function(t){var e,r;function n(){var t,e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=n,r=[].concat(i),e=yU(e),y$(t=function(t,e){if(e&&("object"===yC(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,yF()?Reflect.construct(e,r||[],yU(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!0,totalLength:0}),y$(t,"generateSimpleStrokeDasharray",function(t,e){return"".concat(e,"px ").concat(t-e,"px")}),y$(t,"getStrokeDasharray",function(e,r,o){var i=o.reduce(function(t,e){return t+e});if(!i)return t.generateSimpleStrokeDasharray(r,e);for(var a=Math.floor(e/i),c=e%i,u=r-e,l=[],s=0,f=0;s<o.length;f+=o[s],++s)if(f+o[s]>c){l=[].concat(yB(o.slice(0,s)),[c-f]);break}var p=l.length%2==0?[0,u]:[u];return[].concat(yB(n.repeat(o,a)),yB(l),p).map(function(t){return"".concat(t,"px")}).join(", ")}),y$(t,"id",D("recharts-line-")),y$(t,"pathRef",function(e){t.mainCurve=e}),y$(t,"handleAnimationEnd",function(){t.setState({isAnimationFinished:!0}),t.props.onAnimationEnd&&t.props.onAnimationEnd()}),y$(t,"handleAnimationStart",function(){t.setState({isAnimationFinished:!1}),t.props.onAnimationStart&&t.props.onAnimationStart()}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&yW(n,t),e=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var t=this.getTotalLength();this.setState({totalLength:t})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var t=this.getTotalLength();t!==this.state.totalLength&&this.setState({totalLength:t})}}},{key:"getTotalLength",value:function(){var t=this.mainCurve;try{return t&&t.getTotalLength&&t.getTotalLength()||0}catch(t){return 0}}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.points,o=r.xAxis,i=r.yAxis,a=r.layout,c=to(r.children,aQ);if(!c)return null;var u=function(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:ct(t.payload,e)}};return f.createElement(tw,{clipPath:t?"url(#clipPath-".concat(e,")"):null},c.map(function(t){return f.cloneElement(t,{key:"bar-".concat(t.props.dataKey),data:n,xAxis:o,yAxis:i,layout:a,dataPointFormatter:u})}))}},{key:"renderDots",value:function(t,e,r){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var o=this.props,i=o.dot,a=o.points,c=o.dataKey,u=tp(this.props,!1),l=tp(i,!0),s=a.map(function(t,e){var r=yR(yR(yR({key:"dot-".concat(e),r:3},u),l),{},{index:e,cx:t.x,cy:t.y,value:t.value,dataKey:c,payload:t.payload,points:a});return n.renderDotItem(i,r)}),p={clipPath:t?"url(#clipPath-".concat(e?"":"dots-").concat(r,")"):null};return f.createElement(tw,yI({className:"recharts-line-dots",key:"dots"},p),s)}},{key:"renderCurveStatically",value:function(t,e,r,n){var o=this.props,i=o.type,a=o.layout,c=o.connectNulls,u=yR(yR(yR({},tp((o.ref,yD(o,yM)),!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:e?"url(#clipPath-".concat(r,")"):null,points:t},n),{},{type:i,layout:a,connectNulls:c});return f.createElement(uJ,yI({},u,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(t,e){var r=this,n=this.props,o=n.points,i=n.strokeDasharray,a=n.isAnimationActive,c=n.animationBegin,u=n.animationDuration,l=n.animationEasing,s=n.animationId,p=n.animateNewValues,h=n.width,y=n.height,d=this.state,v=d.prevPoints,m=d.totalLength;return f.createElement(l7,{begin:c,duration:u,isActive:a,easing:l,from:{t:0},to:{t:1},key:"line-".concat(s),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(n){var a,c=n.t;if(v){var u=v.length/o.length,l=o.map(function(t,e){var r=Math.floor(e*u);if(v[r]){var n=v[r],o=B(n.x,t.x),i=B(n.y,t.y);return yR(yR({},t),{},{x:o(c),y:i(c)})}if(p){var a=B(2*h,t.x),l=B(y/2,t.y);return yR(yR({},t),{},{x:a(c),y:l(c)})}return yR(yR({},t),{},{x:t.x,y:t.y})});return r.renderCurveStatically(l,t,e)}var s=B(0,m)(c);if(i){var f="".concat(i).split(/[,\s]+/gim).map(function(t){return parseFloat(t)});a=r.getStrokeDasharray(s,m,f)}else a=r.generateSimpleStrokeDasharray(m,s);return r.renderCurveStatically(o,t,e,{strokeDasharray:a})})}},{key:"renderCurve",value:function(t,e){var r=this.props,n=r.points,o=r.isAnimationActive,i=this.state,a=i.prevPoints,c=i.totalLength;return o&&n&&n.length&&(!a&&c>
10||!ag()(a,n))?this.renderCurveWithAnimation(t,e):this.renderCurveStatically(n,t,e)}},{key:"render",value:function(){var t,e=this.props,r=e.hide,n=e.dot,o=e.points,i=e.className,a=e.xAxis,c=e.yAxis,u=e.top,l=e.left,s=e.width,h=e.height,y=e.isAnimationActive,d=e.id;if(r||!o||!o.length)return null;var m=this.state.isAnimationFinished,b=1===o.length,g=(0,p.A)("recharts-line",i),x=a&&a.allowDataOverflow,O=c&&c.allowDataOverflow,w=x||O,j=v()(d)?this.id:d,A=null!=(t=tp(n,!1))?t:{r:3,strokeWidth:2},S=A.r,P=A.strokeWidth,E=(tl(n)?n:{}).clipDot,k=void 0===E||E,T=2*(void 0===S?3:S)+(void 0===P?2:P);return f.createElement(tw,{className:g},x||O?f.createElement("defs",null,f.createElement("clipPath",{id:"clipPath-".concat(j)},f.createElement("rect",{x:x?l:l-s/2,y:O?u:u-h/2,width:x?s:2*s,height:O?h:2*h})),!k&&f.createElement("clipPath",{id:"clipPath-dots-".concat(j)},f.createElement("rect",{x:l-T/2,y:u-T/2,width:s+T,height:h+T}))):null,!b&&this.renderCurve(w,j),this.renderErrorBar(w,j),(b||n)&&this.renderDots(w,k,j),(!y||m)&&uc.renderCallByParent(this.props,o))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,prevPoints:e.curPoints}:t.points!==e.curPoints?{curPoints:t.points}:null}},{key:"repeat",value:function(t,e){for(var r=t.length%2!=0?[].concat(yB(t),[0]):t,n=[],o=0;o<e;++o)n=[].concat(yB(n),yB(r));return n}},{key:"renderDotItem",value:function(t,e){var r;if(f.isValidElement(t))r=f.cloneElement(t,e);else if(x()(t))r=t(e);else{var n=e.key,o=yD(e,y_),i=(0,p.A)("recharts-line-dot","boolean"!=typeof t?t.className:"");r=f.createElement(sb,yI({key:n},o,{className:i}))}return r}}],e&&yz(n.prototype,e),r&&yz(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(f.PureComponent);y$(yq,"displayName","Line"),y$(yq,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!eF.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),y$(yq,"getComposedData",function(t){var e=t.props,r=t.xAxis,n=t.yAxis,o=t.xAxisTicks,i=t.yAxisTicks,a=t.dataKey,c=t.bandSize,u=t.displayedData,l=t.offset,s=e.layout;return yR({points:u.map(function(t,e){var u=ct(t,a);return"horizontal"===s?{x:cj({axis:r,ticks:o,bandSize:c,entry:t,index:e}),y:v()(u)?null:n.scale(u),value:u,payload:t}:{x:v()(u)?null:r.scale(u),y:cj({axis:n,ticks:i,bandSize:c,entry:t,index:e}),value:u,payload:t}}),layout:s},l)});var yV=["layout","type","stroke","connectNulls","isRange","ref"],yX=["key"];function yH(t){return(yH="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function yG(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 yY(){return(yY=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 yZ(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 yJ(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?yZ(Object(r),!0).forEach(function(e){y3(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yZ(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function yQ(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,y5(n.key),n)}}function y0(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(y0=function(){return!!t})()}
1function y1(t){return(y1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y2(t,e){return(y2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function y3(t,e,r){return(e=y5(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function y5(t){var e=function(t,e){if("object"!=yH(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=yH(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==yH(e)?e:e+""}var y8=function(t){var e,r;function n(){var t,e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=n,r=[].concat(i),e=y1(e),y3(t=function(t,e){if(e&&("object"===yH(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,y0()?Reflect.construct(e,r||[],y1(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!0}),y3(t,"id",D("recharts-area-")),y3(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),x()(e)&&e()}),y3(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),x()(e)&&e()}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&y2(n,t),e=[{key:"renderDots",value:function(t,e,r){var o=this.props.isAnimationActive,i=this.state.isAnimationFinished;if(o&&!i)return null;var a=this.props,c=a.dot,u=a.points,l=a.dataKey,s=tp(this.props,!1),p=tp(c,!0),h=u.map(function(t,e){var r=yJ(yJ(yJ({key:"dot-".concat(e),r:3},s),p),{},{index:e,cx:t.x,cy:t.y,dataKey:l,value:t.value,payload:t.payload,points:u});return n.renderDotItem(c,r)}),y={clipPath:t?"url(#clipPath-".concat(e?"":"dots-").concat(r,")"):null};return f.createElement(tw,yY({className:"recharts-area-dots"},y),h)}},{key:"renderHorizontalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,o=e.strokeWidth,i=n[0].x,a=n[n.length-1].x,c=t*Math.abs(i-a),u=ah()(n.map(function(t){return t.y||0}
1));return(M(r)&&"number"==typeof r?u=Math.max(r,u):r&&Array.isArray(r)&&r.length&&(u=Math.max(ah()(r.map(function(t){return t.y||0})),u)),M(u))?f.createElement("rect",{x:i<a?i:i-c,y:0,width:c,height:Math.floor(u+(o?parseInt("".concat(o),10):1))}):null}},{key:"renderVerticalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,o=e.strokeWidth,i=n[0].y,a=n[n.length-1].y,c=t*Math.abs(i-a),u=ah()(n.map(function(t){return t.x||0}));return(M(r)&&"number"==typeof r?u=Math.max(r,u):r&&Array.isArray(r)&&r.length&&(u=Math.max(ah()(r.map(function(t){return t.x||0})),u)),M(u))?f.createElement("rect",{x:0,y:i<a?i:i-c,width:u+(o?parseInt("".concat(o),10):1),height:Math.floor(c)}):null}},{key:"renderClipRect",value:function(t){return"vertical"===this.props.layout?this.renderVerticalRect(t):this.renderHorizontalRect(t)}},{key:"renderAreaStatically",value:function(t,e,r,n){var o=this.props,i=o.layout,a=o.type,c=o.stroke,u=o.connectNulls,l=o.isRange,s=(o.ref,yG(o,yV));return f.createElement(tw,{clipPath:r?"url(#clipPath-".concat(n,")"):null},f.createElement(uJ,yY({},tp(s,!0),{points:t,connectNulls:u,type:a,baseLine:e,layout:i,stroke:"none",className:"recharts-area-area"})),"none"!==c&&f.createElement(uJ,yY({},tp(this.props,!1),{className:"recharts-area-curve",layout:i,type:a,connectNulls:u,fill:"none",points:t})),"none"!==c&&l&&f.createElement(uJ,yY({},tp(this.props,!1),{className:"recharts-area-curve",layout:i,type:a,connectNulls:u,fill:"none",points:e})))}},{key:"renderAreaWithAnimation",value:function(t,e){var r=this,n=this.props,o=n.points,i=n.baseLine,a=n.isAnimationActive,c=n.animationBegin,u=n.animationDuration,l=n.animationEasing,s=n.animationId,p=this.state,h=p.prevPoints,y=p.prevBaseLine;return f.createElement(l7,{begin:c,duration:u,isActive:a,easing:l,from:{t:0},to:{t:1},key:"area-".concat(s),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(n){var a=n.t;if(h){var c,u=h.length/o.length,l=o.map(function(t,e){var r=Math.floor(e*u);if(h[r]){var n=h[r],o=B(n.x,t.x),i=B(n.y,t.y);return yJ(yJ({},t),{},{x:o(a),y:i(a)})}return t});return c=M(i)&&"number"==typeof i?B(y,i)(a):v()(i)||S()(i)?B(y,0)(a):i.map(function(t,e){var r=Math.floor(e*u);if(y[r]){var n=y[r],o=B(n.x,t.x),i=B(n.y,t.y);return yJ(yJ({},t),{},{x:o(a),y:i(a)})}return t}),r.renderAreaStatically(l,c,t,e)}return f.createElement(tw,null,f.createElement("defs",null,f.createElement("clipPath",{id:"animationClipPath-".concat(e)},r.renderClipRect(a))),f.createElement(tw,{clipPath:"url(#animationClipPath-".concat(e,")")},r.renderAreaStatically(o,i,t,e)))})}},{key:"renderArea",value:function(t,e){var r=this.props,n=r.points,o=r.baseLine,i=r.isAnimationActive,a=this.state,c=a.prevPoints,u=a.prevBaseLine,l=a.totalLength;return i&&n&&n.length&&(!c&&l>0||!ag()(c,n)||!ag()(u,o))?this.renderAreaWithAnimation(t,e):this.renderAreaStatically(n,o,t,e)}},{key:"render",value:function(){var t,e=this.props,r=e.hide,n=e.dot,o=e.points,i=e.className,a=e.top,c=e.left,u=e.xAxis,l=e.yAxis,s=e.width,h=e.height,y=e.isAnimationActive,d=e.id;if(r||!o||!o.length)return null;var m=this.state.isAnimationFinished,b=1===o.length,g=(0,p.A)("recharts-area",i),x=u&&u.allowDataOverflow,O=l&&l.allowDataOverflow,w=x||O,j=v()(d)?this.id:d,A=null!=(t=tp(n,!1))?t:{r:3,strokeWidth:2},S=A.r,P=A.strokeWidth,E=(tl(n)?n:{}).clipDot,k=void 0===E||E,T=2*(void 0===S?3:S)+(void 0===P?2:P);return f.createElement(tw,{className:g},x||O?f.createElement("defs",null,f.createElement("clipPath",{id:"clipPath-".concat(j)},f.createElement("rect",{x:x?c:c-s/2,y:O?a:a-h/2,width:x?s:2*s,height:O?h:2*h})),!k&&f.createElement("clipPath",{id:"clipPath-dots-".concat(j)},f.createElement("rect",{x:c-T/2,y:a-T/2,width:s+T,height:h+T}))):null,b?null:this.renderArea(w,j),(n||b)&&this.renderDots(w,k,j),(!y||m)&&uc.renderCallByParent(this.props,o))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,curBaseLine:t.baseLine,prevPoints:e.curPoints,prevBaseLine:e.curBaseLine}:t.points!==e.curPoints||t.baseLine!==e.curBaseLine?{curPoints:t.points,curBaseLine:t.baseLine}:null}}],e&&yQ(n.prototype,e),r&&yQ(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(f.PureComponent);function y6(t){return(y6="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)}y3(y8,"displayName","Area"),y3(y8,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendT
1ype:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!eF.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),y3(y8,"getBaseValue",function(t,e,r,n){var o=t.layout,i=t.baseValue,a=e.props.baseValue,c=null!=a?a:i;if(M(c)&&"number"==typeof c)return c;var u="horizontal"===o?n:r,l=u.scale.domain();if("number"===u.type){var s=Math.max(l[0],l[1]),f=Math.min(l[0],l[1]);return"dataMin"===c?f:"dataMax"===c||s<0?s:Math.max(Math.min(l[0],l[1]),0)}return"dataMin"===c?l[0]:"dataMax"===c?l[1]:l[0]}),y3(y8,"getComposedData",function(t){var e,r=t.props,n=t.item,o=t.xAxis,i=t.yAxis,a=t.xAxisTicks,c=t.yAxisTicks,u=t.bandSize,l=t.dataKey,s=t.stackedData,f=t.dataStartIndex,p=t.displayedData,h=t.offset,y=r.layout,d=s&&s.length,v=y8.getBaseValue(r,n,o,i),m="horizontal"===y,b=!1,g=p.map(function(t,e){d?r=s[f+e]:Array.isArray(r=ct(t,l))?b=!0:r=[v,r];var r,n=null==r[1]||d&&null==ct(t,l);return m?{x:cj({axis:o,ticks:a,bandSize:u,entry:t,index:e}),y:n?null:i.scale(r[1]),value:r,payload:t}:{x:n?null:o.scale(r[1]),y:cj({axis:i,ticks:c,bandSize:u,entry:t,index:e}),value:r,payload:t}});return e=d||b?g.map(function(t){var e=Array.isArray(t.value)?t.value[0]:null;return m?{x:t.x,y:null!=e&&null!=t.y?i.scale(e):null}:{x:null!=e?o.scale(e):null,y:t.y}}):m?i.scale(v):o.scale(v),yJ({points:g,baseLine:e,layout:y,isRange:b},h)}),y3(y8,"renderDotItem",function(t,e){var r;if(f.isValidElement(t))r=f.cloneElement(t,e);else if(x()(t))r=t(e);else{var n=(0,p.A)("recharts-area-dot","boolean"!=typeof t?t.className:""),o=e.key,i=yG(e,yX);r=f.createElement(sb,yY({},i,{key:o,className:n}))}return r});function y4(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(y4=function(){return!!t})()}function y7(t){return(y7=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y9(t,e){return(y9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function dt(t,e,r){return(e=de(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function de(t){var e=function(t,e){if("object"!=y6(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=y6(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==y6(e)?e:e+""}var dr=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=y7(t),function(t,e){if(e&&("object"===y6(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,y4()?Reflect.construct(t,e||[],y7(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&&y9(r,t),e=[{key:"render",value:function(){return 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,de(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(f.Component);dt(dr,"displayName","ZAxis"),dt(dr,"defaultProps",{zAxisId:0,range:[64,64],scale:"auto",type:"number"});var dn=["option","isActive"];function di(){return(di=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 da(t){var e=t.option,r=t.isActive,n=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,dn);return"string"==typeof e?f.createElement(fg,di({option:f.createElement(t2,di({type:e},n)),isActive:r,shapeType:"symbols"},n)):f.createElement(fg,di({option:e,isActive:r,shapeType:"symbols"},n))}function dc(t){return(dc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function du(){return(du=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function dl(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ds(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?dl(Object(r),!0).forEach(function(e){dd(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dl(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function df(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,dv(n.key),n)}}function dp(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dp=function(){return!!t})()}function dh(t){return(dh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function dy(t,e){return(dy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function dd(t,e,r){return(e=dv(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function dv(t){var e=function(t,e){if("object"!=dc(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dc(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dc(e)?e:e+""}var dm=function(t){var e,r;function n(){var t,e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=n,r=[].concat(i),e=dh(e),dd(t=function(t,e){if(e&&("object"===dc(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,dp()?Reflect.construct(e,r||[],dh(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!1}),dd(t,"handleAnimationEnd",function(){t.setState({isAnimationFinished:!0})}),dd(t,"handleAnimationStart",function(){t.setState({isAnimationFinished:!1})}),dd(t,"id",D("recharts-scatter-")),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&dy(n,t),e=[{key:"renderSymbolsStatically",value:function(t){var e=this,r=this.props,n=r.shape,o=r.activeShape,i=r.activeIndex,a=tp(this.props,!1);return t.map(function(t,r){var c=i===r,u=ds(ds({},a),t);return f.createElement(tw,du({className:"recharts-scatter-symbol",key:"symbol-".concat(null==t?void 0:t.cx,"-").concat(null==t?void 0:t.cy,"-").concat(null==t?void 0:t.size,"-").concat(r)},H(e.props,t,r),{role:"img"}),f.createElement(da,du({option:c?o:n,isActive:c,key:"symbol-".concat(r)},u)))})}},{key:"renderSymbolsWithAnimation",value:function(){var t=this,e=this.props,r=e.points,n=e.isAnimationActive,o=e.animationBegin,i=e.animationDuration,a=e.animationEasing,c=e.animationId,u=this.state.prevPoints;return f.createElement(l7,{begin:o,duration:i,isActive:n,easing:a,from:{t:0},to:{t:1},key:"pie-".concat(c),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(e){var n=e.t,o=r.map(function(t,e){var r=u&&u[e];if(r){var o=B(r.cx,t.cx),i=B(r.cy,t.cy),a=B(r.size,t.size);return ds(ds({},t),{},{cx:o(n),cy:i(n),size:a(n)})}var c=B(0,t.size);return ds(ds({},t),{},{size:c(n)})});return f.createElement(tw,null,t.renderSymbolsStatically(o))})}},{key:"renderSymbols",value:function(){var t=this.props,e=t.points,r=t.isAnimationActive,n=this.state.prevPoints;return r&&e&&e.length&&(!n||!ag()(n,e))?this.renderSymbolsWithAnimation():this.renderSymbolsStatically(e)}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var t=this.props,e=t.points,r=t.xAxis,n=t.yAxis,o=to(t.children,aQ);return o?o.map(function(t,o){var i=t.props,a=i.direction,c=i.dataKey;return f.cloneElement(t,{key:"".concat(a,"-").concat(c,"-").concat(e[o]),data:e,xAxis:r,yAxis:n,layout:"x"===a?"vertical":"horizontal",dataPointFormatter:function(t,e){return{x:t.c
1x,y:t.cy,value:"x"===a?+t.node.x:+t.node.y,errorVal:ct(t,e)}}})}):null}},{key:"renderLine",value:function(){var t,e,r=this.props,n=r.points,o=r.line,i=r.lineType,a=r.lineJointType,c=tp(this.props,!1),u=tp(o,!1);if("joint"===i)t=n.map(function(t){return{x:t.cx,y:t.cy}});else if("fitting"===i){var l=z(n),s=l.xmin,p=l.xmax,h=l.a,y=l.b,d=function(t){return h*t+y};t=[{x:s,y:d(s)},{x:p,y:d(p)}]}var v=ds(ds(ds({},c),{},{fill:"none",stroke:c&&c.fill},u),{},{points:t});return e=f.isValidElement(o)?f.cloneElement(o,v):x()(o)?o(v):f.createElement(uJ,du({},v,{type:a})),f.createElement(tw,{className:"recharts-scatter-line",key:"recharts-scatter-line"},e)}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.points,n=t.line,o=t.className,i=t.xAxis,a=t.yAxis,c=t.left,u=t.top,l=t.width,s=t.height,h=t.id,y=t.isAnimationActive;if(e||!r||!r.length)return null;var d=this.state.isAnimationFinished,m=(0,p.A)("recharts-scatter",o),b=i&&i.allowDataOverflow,g=a&&a.allowDataOverflow,x=v()(h)?this.id:h;return f.createElement(tw,{className:m,clipPath:b||g?"url(#clipPath-".concat(x,")"):null},b||g?f.createElement("defs",null,f.createElement("clipPath",{id:"clipPath-".concat(x)},f.createElement("rect",{x:b?c:c-l/2,y:g?u:u-s/2,width:b?l:2*l,height:g?s:2*s}))):null,n&&this.renderLine(),this.renderErrorBar(),f.createElement(tw,{key:"recharts-scatter-symbols"},this.renderSymbols()),(!y||d)&&uc.renderCallByParent(this.props,r))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,prevPoints:e.curPoints}:t.points!==e.curPoints?{curPoints:t.points}:null}}],e&&df(n.prototype,e),r&&df(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(f.PureComponent);function db(t){return(db="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)}dd(dm,"displayName","Scatter"),dd(dm,"defaultProps",{xAxisId:0,yAxisId:0,zAxisId:0,legendType:"circle",lineType:"joint",lineJointType:"linear",data:[],shape:"circle",hide:!1,isAnimationActive:!eF.isSsr,animationBegin:0,animationDuration:400,animationEasing:"linear"}),dd(dm,"getComposedData",function(t){var e=t.xAxis,r=t.yAxis,n=t.zAxis,o=t.item,i=t.displayedData,a=t.xAxisTicks,c=t.yAxisTicks,u=t.offset,l=o.props.tooltipType,s=to(o.props.children,e5),f=v()(e.dataKey)?o.props.dataKey:e.dataKey,p=v()(r.dataKey)?o.props.dataKey:r.dataKey,h=n&&n.dataKey,y=n?n.range:dr.defaultProps.range,d=y&&y[0],m=e.scale.bandwidth?e.scale.bandwidth():0,b=r.scale.bandwidth?r.scale.bandwidth():0,g=i.map(function(t,i){var u=ct(t,f),y=ct(t,p),g=!v()(h)&&ct(t,h)||"-",x=[{name:v()(e.dataKey)?o.props.name:e.name||e.dataKey,unit:e.unit||"",value:u,payload:t,dataKey:f,type:l},{name:v()(r.dataKey)?o.props.name:r.name||r.dataKey,unit:r.unit||"",value:y,payload:t,dataKey:p,type:l}];"-"!==g&&x.push({name:n.name||n.dataKey,unit:n.unit||"",value:g,payload:t,dataKey:h,type:l});var O=cj({axis:e,ticks:a,bandSize:m,entry:t,index:i,dataKey:f}),w=cj({axis:r,ticks:c,bandSize:b,entry:t,index:i,dataKey:p}),j="-"!==g?n.scale(g):d,A=Math.sqrt(Math.max(j,0)/Math.PI);return ds(ds({},t),{},{cx:O,cy:w,x:O-A,y:w-A,xAxis:e,yAxis:r,zAxis:n,width:2*A,height:2*A,size:j,node:{x:u,y:y,z:g},tooltipPayload:x,tooltipPosition:{x:O,y:w},payload:t},s&&s[i]&&s[i].props)});return ds({points:g},u)});function dg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dg=function(){return!!t})()}function dx(t){return(dx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function dO(t,e){return(dO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function dw(t,e,r){return(e=dj(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function dj(t){var e=function(t,e){if("object"!=db(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=db(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==db(e)?e:e+""}function dA(){return(dA=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 dS(t){var e=t.xAxisId,r=hb(),n=hg(),o=hd(e);return null==o?null:f.createElement(yp,dA({},o,{className:(0,p.A)("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return cp(t,!0)}}))}var dP=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=dx(t),function(t,e){if(e&&("object"===db(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,dg()?Reflect.construct(t,e||[],dx(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&&dO(r,t),e=[{key:"render",value:function(){return f.createElement(dS,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,dj(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(f.Component);function dE(t){return(dE="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)}dw(dP,"displayName","XAxis"),dw(dP,"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});function dk(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dk=function(){return!!t})()}function dT(t){return(dT=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function dM(t,e){return(dM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function d_(t,e,r){return(e=dC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function dC(t){var e=function(t,e){if("object"!=dE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dE(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dE(e)?e:e+""}function dD(){return(dD=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 dI=function(t){var e=t.yAxisId,r=hb(),n=hg(),o=hm(e);return null==o?null:f.createElement(yp,dD({},o,{className:(0,p.A)("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return cp(t,!0)}}))},dN=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=dT(t),function(t,e){if(e&&("object"===dE(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,dk()?Reflect.construct(t,e||[],dT(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&&dM(r,t),e=[{key:"render",value:function(){return f.createElement(dI,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,dC(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(f.Component);function dR(t){return function(t){if(Array.isArray(t))return dB(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return dB(t,void 0);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 dB(t,e)}}(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 dB(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}d_(dN,"displayName","YAxis"),d_(dN,"defaultProps",{allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1});var dL=function(t,e,r,n,o){var i=to(t,hD),a=to(t,hK),c=[].concat(dR(i),dR(a)),u=to(t,h1),l="".concat(n,"Id"),s=n[0],f=e;if(c.length&&(f=c.reduce(function(t,e){if(e.props[l]===r&&p_(e.props,"extendDomain")&&M(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"),h="".concat(s,"2");f=u.reduce(function(t,e){if(e.props[l]===r&&p_(e.props,"extendDomain")&&M(e.props[p])&&M(e.props[h])){var n=e.props[p],o=e.props[h];return[Math.min(t[0],n,o),Math.max(t[1],n,o)]}return t},f)}return o&&o.length&&(f=o.reduce(function(t,e){return M(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t},f)),f},dz=r(94820),dF=new(r.n(dz)()),dU="recharts.syncMouseEvents";function dW(t){return(dW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d$(t,e,r){return(e=dK(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function dK(t){var e=function(t,e){if("object"!=dW(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dW(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==dW(e)?e:e+""}var dq=function(){var t,e;return t=function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");d$(this,"activeIndex",0),d$(this,"coordinateList",[]),d$(this,"layout","horizontal")},e=[{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,dK(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}();function dV(t){var e=t.cx,r=t.cy,n=t.radius,o=t.startAngle,i=t.endAngle;return{points:[cF(e,r,n,o),cF(e,r,n,i)],cx:e,cy:r,radius:n,startAngle:o,endAngle:i}}function dX(t){return(dX="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 dH(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 dG(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?dH(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"!=dX(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dX(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dX(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)):dH(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function dY(t){var e,r,n,o,i=t.element,a=t.tooltipEventType,c=t.isActive,u=t.activeCoordinate,l=t.activePayload,s=t.offset,h=t.activeTooltipIndex,y=t.tooltipAxisBandSize,d=t.layout,v=t.chartName,m=null!=(r=i.props.cursor)?r:null==(n=i.type.defaultProps)?void 0:n.cursor;if(!i||!m||!c||!u||"ScatterChart"!==v&&"axis"!==a)return null;var b=uJ;if("ScatterChart"===v)o=u,b=sj;else if("BarChart"===v)e=y/2,o={stroke:"none",fill:"#ccc",x:"horizontal"===d?u.x-e:s.left+.5,y:"horizontal"===d?s.top+.5:u.y-e,width:"horizontal"===d?y:s.width-1,height:"horizontal"===d?s.height-1:y},b=sc;else if("radial"===d){var g=dV(u),x=g.cx,O=g.cy,w=g.radius;o={cx:x,cy:O,startAngle:g.startAngle,endAngle:g.endAngle,innerRadius:w,outerRadius:w},b=ug}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;
1else 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 dV(e);else{var c=e.cx,u=e.cy,l=e.innerRadius,s=e.outerRadius,f=e.angle,p=cF(c,u,l,f),h=cF(c,u,s,f);n=p.x,o=p.y,i=h.x,a=h.y}return[{x:n,y:o},{x:i,y:a}]}(d,u,s)},b=uJ;var j=dG(dG(dG(dG({stroke:"#ccc",pointerEvents:"none"},s),o),tp(m,!1)),{},{payload:l,payloadIndex:h,className:(0,p.A)("recharts-tooltip-cursor",m.className)});return(0,f.isValidElement)(m)?(0,f.cloneElement)(m,j):(0,f.createElement)(b,j)}var dZ=["item"],dJ=["children","className","width","height","style","compact","title","desc"];function dQ(t){return(dQ="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 d0(){return(d0=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 d1(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,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)||d4(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 d2(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 d3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(d3=function(){return!!t})()}function d5(t){return(d5=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d8(t,e){return(d8=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function d6(t){return function(t){if(Array.isArray(t))return d7(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||d4(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 d4(t,e){if(t){if("string"==typeof t)return d7(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 d7(t,e)}}function d7(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 d9(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 vt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d9(Object(r),!0).forEach(function(e){ve(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d9(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function ve(t,e,r){return(e=vr(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function vr(t){var e=function(t,e){if("object"!=dQ(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dQ(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==dQ(e)?e:e+""}var vn={xAxis:["bottom","top"],yAxis:["left","right"]},vo={width:"100%",height:"100%"},vi={x:0,y:0};function va(t){return t}var vc=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 vt(vt(vt({},n),cF(n.cx,n.cy,a,i)),{},{angle:i,radius:a})}var c=o.coordinate,u=n.angle;return vt(vt(vt({},n),cF(n.cx,n.cy,c,u)),{},{angle:u,radius:c})}return vi},vu=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(d6(t),d6(r)):t},[]);return i.length>0?i:t&&t.length&&M(n)&&M(o)?t.slice(n,o+1):[]};function vl(t){return"number"===t?[0,"auto"]:void 0}var vs=function(t,e,r,n){var o=t.graphicalItems,i=t.tooltipAxis,a=vu(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;return(s&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(s=s.slice(t.dataStartIndex,t.dataEndIndex+1)),l=i.dataKey&&!i.allowDuplicatedCategory?L(void 0===s?a:s,i.dataKey,n):s&&s[r]||a[r])?[].concat(d6(o),[cD(c,l)]):o},[])},vf=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=cr(i,a,u,c);if(l>=0&&u){var s=u[l]&&u[l].value,f=vs(t,e,l,s),p=vc(r,a,l,o);return{activeTooltipIndex:l,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},vp=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=cs(l,o);return r.reduce(function(e,r){var h=void 0!==r.type.defaultProps?vt(vt({},r.type.defaultProps),r.props):r.props,y=h.type,d=h.dataKey,m=h.allowDataOverflow,b=h.allowDuplicatedCategory,g=h.scale,x=h.ticks,O=h.includeHidden,w=h[i];if(e[w])return e;var j=vu(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])===w}),dataStartIndex:c,dataEndIndex:u}),A=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&&M(n)&&M(o))return!0}return!1})(h.domain,m,y)&&(E=cM(h.domain,null,m),p&&("number"===y||"auto"!==g)&&(T=ce(j,d,"category")));var S=vl(y);if(!E||0===E.length){var P,E,k,T,_,C=null!=(_=h.domain)?_:S;if(d){if(E=ce(j,d,y),"category"===y&&p){var D=R(E);b&&D?(k=E,E=pl()(0,A)):b||(E=cC(C,E,r).reduce(function(t,e){return t.indexOf(e)>=0?t:[].concat(d6(t),[e])},[]))}else if("category"===y)E=b?E.filter(function(t){return""!==t&&!v()(t)}):cC(C,E,r).reduce(function(t,e){return t.indexOf(e)>=0||""===e||v()(e)?t:[].concat(d6(t),[e])},[]);else if("number"===y){var I=cu(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===w&&(O||!o)}),d,o,l);I&&(E=I)}p&&("number"===y||"auto"!==g)&&(T=ce(j,d,"category"))}else E=p?pl()(0,A):a&&a[w]&&a[w].hasStack&&"number"===y?"expand"===f?[0,1]:cE(a[w].stackGroups,c,u):cl(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===w&&(O||!r)}),y,l,!0);"number"===y?(E=dL(s,E,w,o,x),C&&(E=cM(C,E,m))):"category"===y&&C&&E.every(function(t){return C.indexOf(t)>=0})&&(E=C)}return vt(vt({},e),{},ve({},w,vt(vt({},h),{},{axisType:o,domain:E,categoricalDomain:T,duplicateDomain:k,originalDomain:null!=(P=h.domain)?P:S,isCategorical:p,layout:l})))},{})},vh=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=vu(t.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:u}),p=f.length,h=cs(l,o),d=-1;return r.reduce(function(t,e){var v,m=(void 0!==e.type.defaultProps?vt(vt({},e.type.defaultProps),e.props):e.props)[i],b=vl("number");return t[m]?t:(d++,v=h?pl()(0,p):a&&a[m]&&a[m].hasStack?dL(s,v=cE(a[m].stackGroups,c,u),m,o):dL(s,v=cM(b,cl(f,r.filter(function(t){var e,r,n=i in t.props?t.props[i]:null==(e=t.type.defaultProps)?void 0:e[i],o="hide"in t.props?t.props.hide:null==(r=t.type.defaultProps)?void 0:r.hide;return n===m&&!o}),"number",l),n.defaultProps.allowDataOverflow),m,o),vt(vt({},t),{},ve({},m,vt(vt({axisType:o},n.defaultProps),{},{hide:!0,orientation:y()(vn,"".concat(o,".").concat(d%2),null),domain:v,originalDomain:b,isCategorical:h,layout:l}))))},{})},vy=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=to(l,o),p={};return f&&f.length?p=vp(t,{axes:f,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:u}):i&&i.length&&(p=vh(t,{Axis:o,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:u})),p},vd=function(t){var e=N(t),r=cp(e,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:eb()(r,function(t){return t.coordinate}),tooltipAxis:e,tooltipAxisBandSize:c_(e,r)}},vv=function(t){var e=t.children,r=t.defaultShowTooltip,n=ti(e,pk),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}},vm=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"}},vb=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=ti(s,pk),h=ti(s,ev),d=Object.keys(c).reduce(function(t,e){var r=c[e],n=r.orientation;return r.mirror||r.hide?t:vt(vt({},t),{},ve({},n,t[n]+r.width))},{left:f.left||0,right:f.right||0}),v=Object.keys(i).reduce(function(t,e){var r=i[e],n=r.orientation;return r.mirror||r.hide?t:vt(vt({},t),{},ve({},n,y()(t,"".concat(n))+r.height))},{top:f.top||0,bottom:f.bottom||0}),m=vt(vt({},v),d),b=m.bottom;p&&(m.bottom+=p.props.height||pk.defaultProps.height),h&&e&&(m=ca(m,n,r,e));var g=u-m.left-m.right,x=l-m.top-m.bottom;return vt(vt({brushBottom:b},m),{},{width:Math.max(g,0),height:Math.max(x,0)})},vg=function(t){var e=t.chartName,r=t.GraphicalChild,n=t.defaultTooltipEventType,o=void 0===n?"axis":n,i=t.validateTooltipEventTypes,a=void 0===i?["axis"]:i,c=t.axisComponents,u=t.legendContent,l=t.formatAxisMap,s=t.defaultProps,h=function(t,e){var r=e.graphicalItems,n=e.stackGroups,o=e.offset,i=e.updateId,a=e.dataStartIndex,u=e.dataEndIndex,l=t.barSize,s=t.layout,f=t.barGap,p=t.barCategoryGap,h=t.maxBarSize,y=vm(s),d=y.numericAxisName,m=y.cateAxisName,b=!!r&&!!r.length&&r.some(function(t){var e=tt(t&&t.type);return e&&e.indexOf("Bar")>=0}),g=[];return r.forEach(function(r,y){var x=vu(t.data,{graphicalItems:[r],dataStartIndex:a,dataEndIndex:u}),O=void 0!==r.type.defaultProps?vt(vt({},r.type.defaultProps),r.props):r.props,w=O.dataKey,j=O.maxBarSize,A=O["".concat(d,"Id")],S=O["".concat(m,"Id")],P=c.reduce(function(t,r){var n=e["".concat(r.axisType,"Map")],o=O["".concat(r.axisType,"Id")];n&&n[o]||"zAxis"===r.axisType||a$(!1);var i=n[o];return vt(vt({},t),{},ve(ve({},r.axisType,i),"".concat(r.axisType,"Ticks"),cp(i)))},{}),E=P[m],k=P["".concat(m,"Ticks")],T=n&&n[A]&&n[A].hasStack&&cP(r,n[A].stackGroups),M=tt(r.type).indexOf("Bar")>=0,_=c_(E,k),C=[],D=b&&co({barSize:l,stackGroups:n,totalSize:"xAxis"===m?P[m].width:"yAxis"===m?P[m].height:void 0});if(M){var I,N,R=v()(j)?h:j,B=null!=(I=null!=(N=c_(E,k,!0))?N:R)?I:0;C=ci({barGap:f,barCategoryGap:p,bandSize:B!==_?B:_,sizeList:D[S],maxBarSize:R}),B!==_&&(C=C.map(function(t){return vt(vt({},t),{},{position:vt(vt({},t.position),{},{offset:t.position.offset-B/2})})}))}var L=r&&r.type&&r.type.getComposedData;L&&g.push({props:vt(vt({},L(vt(vt({},P),{},{displayedData:x,props:t,dataKey:w,item:r,bandSize:_,barPosition:C,offset:o,stackedData:T,layout:s,dataStartIndex:a,dataEndIndex:u}))),{},ve(ve(ve({key:r.key||"item-".concat(y)},d,P[d]),m,P[m]),"animationId",i)),childIndex:tn(t.children).indexOf(r),item:r})}),g},d=function(t,n){var o=t.props,i=t.dataStartIndex,a=t.dataEndIndex,u=t.updateId;if(!ta({props:o}))return null;var s=o.children,f=o.layout,p=o.stackOffset,y=o.data,d=o.reverseStackOrder,v=vm(f),m=v.numericAxisName,b=v.cateAxisName,g=to(s,r),x=cO(y,g,"".concat(m,"Id"),"".concat(b,"Id"),p,d),O=c.reduce(function(t,e){var r="".concat(e.axisType,"Map");return vt(vt({},t),{},ve({},r,vy(o,vt(vt({},e),{},{graphicalItems:g,stackGroups:e.axisType===m&&x,dataStartIndex:i,dataEndIndex:a}))))},{}),w=vb(vt(vt({},O),{},{props:o,graphicalItems:g}),null==n?void 0:n.legendBBox);Object.keys(O).forEach(function(t){O[t]=l(o,O[t],w,t.replace("Map",""),e)});var j=vd(O["".concat(b,"Map")]),A=h(o,vt(vt({},O),{},{dataStartIndex:i,dataEndIndex:a,updateId:u,graphicalItems:g,stackGroups:x,offset:w}));return vt(vt({formattedGraphicalItems:A,graphicalItems:g,offset:w,stackGroups:x},j),O)},m=function(t){var r;function n(t){var r,o,i,a,c;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return a=n,c=[t],a=d5(a),ve(i=function(t,e){if(e&&("object"===dQ(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,d3()?Reflect.construct(a,c||[],d5(this).constructor):a.apply(this,c)),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),ve(i,"accessibilityManager",new dq),ve(i,"handleLegendBBoxUpdate",function(t){if(t){var e=i.state,r=e.dataStartIndex,n=e.dataEndIndex,o=e.updateId;i.setState(vt({legendBBox:t},d({props:i.props,dataStartIndex:r,dataEndIndex:n,updateId:o},vt(vt({},i.state),{},{legendBBox:t}))))}}),ve(i,"handleReceiveSyncEvent",function(t,e,r){i.props.syncId===t&&(r!==i.eventEmitterSymbol||"function"==typeof i.props.syncMethod)&&i.applySyncEvent(e)}),ve(i,"handleBrushChange",function(t){var e=t.startIndex,r=t.endIndex;if(e!==i.state.dataStartIndex||r!==i.state.dataEndIndex){var n=i.state.updateId;i.setState(function(){return vt({dataStartIndex:e,dataEndIndex:r},d({props:i.props,dataStartIndex:e,dataEndIndex:r,updateId:n},i.state))}),i.triggerSyncEvent({dataStartIndex:e,dataEndIndex:r})}}),ve(i,"handleMouseEnter",function(t){var e=i.getMouseInfo(t);if(e){var r=vt(vt({},e),{},{isTooltipActive:!0});i.setState(r),i.triggerSyncEvent(r);var n=i.props.onMouseEnter;x()(n)&&n(r,t)}}),ve(i,"triggeredAfterMouseMove",function(t){var e=i.getMouseInfo(t),r=e?vt(vt({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};i.setState(r),i.triggerSyncEvent(r);var n=i.props.onMouseMove;x()(n)&&n(r,t)}),ve(i,"handleItemMouseEnter",function(t){i.setState(function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}})}),ve(i,"handleItemMouseLeave",function(){i.setState(function(){return{isTooltipActive:!1}})}),ve(i,"handleMouseMove",function(t){t.persist(),i.throttleTriggeredAfterMouseMove(t)}),ve(i,"handleMouseLeave",function(t){i.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};i.setState(e),i.triggerSyncEvent(e);var r=i.props.onMouseLeave;x()(r)&&r(e,t)}),ve(i,"handleOuterEvent",function(t){var e,r=tv(t),n=y()(i.props,"".concat(r));r&&x()(n)&&n(null!=(e=/.*touch.*/i.test(r)?i.getMouseInfo(t.changedTouches[0]):i.getMouseInfo(t))?e:{},t)}),ve(i,"handleClick",function(t){var e=i.getMouseInfo(t);if(e){var r=vt(vt({},e),{},{isTooltipActive:!0});i.setState(r),i.triggerSyncEvent(r);var n=i.props.onClick;x()(n)&&n(r,t)}}),ve(i,"handleMouseDown",function(t){var e=i.props.onMouseDown;x()(e)&&e(i.getMouseInfo(t),t)}),ve(i,"handleMouseUp",function(t){var e=i.props.onMouseUp;x()(e)&&e(i.getMouseInfo(t),t)}),ve(i,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&i.throttleTriggeredAfterMouseMove(t.changedTouches[0])}),ve(i,"handleTouchStart",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&i.handleMouseDown(t.changedTouches[0])}),ve(i,"handleTouchEnd",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&i.handleMouseUp(t.changedTouches[0])}),ve(i,"handleDoubleClick",function(t){var e=i.props.onDoubleClick;x()(e)&&e(i.getMouseInfo(t),t)}),ve(i,"handleContextMenu",function(t){var e=i.props.onContextMenu;x()(e)&&e(i.getMouseInfo(t),t)}),ve(i,"triggerSyncEvent",function(t){void 0!==i.props.syncId&&dF.emit(dU,i.props.syncId,t,i.eventEmitterSymbol)}),ve(i,"applySyncEvent",function(t){var e=i.props,r=e.layout,n=e.syncMethod,o=i.state.updateId,a=t.dataStartIndex,c=t.dataEndIndex;if(void 0!==t.dataStartIndex||void 0!==t.dataEndIndex)i.setState(vt({dataStartIndex:a,dataEndIndex:c},d({props:i.props,dataStartIndex:a,dataEndIndex:c,updateId:o},i.state)));else if(void 0!==t.activeTooltipIndex){var u=t.chartX,l=t.chartY,s=t.activeTooltipIndex,f=i.state,p=f.offset,h=f.tooltipTicks;if(!p)return;if("function"==typeof n)s=n(h,t);else if("value"===n){s=-1;for(var y=0;
1y<h.length;y++)if(h[y].value===t.activeLabel){s=y;break}}var v=vt(vt({},p),{},{x:p.left,y:p.top}),m=Math.min(u,v.x+v.width),b=Math.min(l,v.y+v.height),g=h[s]&&h[s].value,x=vs(i.state,i.props.data,s),O=h[s]?{x:"horizontal"===r?h[s].coordinate:m,y:"horizontal"===r?b:h[s].coordinate}:vi;i.setState(vt(vt({},t),{},{activeLabel:g,activeCoordinate:O,activePayload:x,activeTooltipIndex:s}))}else i.setState(t)}),ve(i,"renderCursor",function(t){var r,n=i.state,o=n.isTooltipActive,a=n.activeCoordinate,c=n.activePayload,u=n.offset,l=n.activeTooltipIndex,s=n.tooltipAxisBandSize,p=i.getTooltipEventType(),h=null!=(r=t.props.active)?r:o,y=i.props.layout,d=t.key||"_recharts-cursor";return f.createElement(dY,{key:d,activeCoordinate:a,activePayload:c,activeTooltipIndex:l,chartName:e,element:t,isActive:h,layout:y,offset:u,tooltipAxisBandSize:s,tooltipEventType:p})}),ve(i,"renderPolarAxis",function(t,e,r){var n=y()(t,"type.axisType"),o=y()(i.state,"".concat(n,"Map")),a=t.type.defaultProps,c=void 0!==a?vt(vt({},a),t.props):t.props,u=o&&o[c["".concat(n,"Id")]];return(0,f.cloneElement)(t,vt(vt({},u),{},{className:(0,p.A)(n,u.className),key:t.key||"".concat(e,"-").concat(r),ticks:cp(u,!0)}))}),ve(i,"renderPolarGrid",function(t){var e=t.props,r=e.radialLines,n=e.polarAngles,o=e.polarRadius,a=i.state,c=a.radiusAxisMap,u=a.angleAxisMap,l=N(c),s=N(u),p=s.cx,h=s.cy,y=s.innerRadius,d=s.outerRadius;return(0,f.cloneElement)(t,{polarAngles:Array.isArray(n)?n:cp(s,!0).map(function(t){return t.coordinate}),polarRadius:Array.isArray(o)?o:cp(l,!0).map(function(t){return t.coordinate}),cx:p,cy:h,innerRadius:y,outerRadius:d,key:t.key||"polar-grid",radialLines:r})}),ve(i,"renderLegend",function(){var t=i.state.formattedGraphicalItems,e=i.props,r=e.children,n=e.width,o=e.height,a=i.props.margin||{},c=a3({children:r,formattedGraphicalItems:t,legendWidth:n-(a.left||0)-(a.right||0),legendContent:u});if(!c)return null;var l=c.item,s=d2(c,dZ);return(0,f.cloneElement)(l,vt(vt({},s),{},{chartWidth:n,chartHeight:o,margin:a,onBBoxUpdate:i.handleLegendBBoxUpdate}))}),ve(i,"renderTooltip",function(){var t,e=i.props,r=e.children,n=e.accessibilityLayer,o=ti(r,eY);if(!o)return null;var a=i.state,c=a.isTooltipActive,u=a.activeCoordinate,l=a.activePayload,s=a.activeLabel,p=a.offset,h=null!=(t=o.props.active)?t:c;return(0,f.cloneElement)(o,{viewBox:vt(vt({},p),{},{x:p.left,y:p.top}),active:h,label:s,payload:h?l:[],coordinate:u,accessibilityLayer:n})}),ve(i,"renderBrush",function(t){var e=i.props,r=e.margin,n=e.data,o=i.state,a=o.offset,c=o.dataStartIndex,u=o.dataEndIndex,l=o.updateId;return(0,f.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:cy(i.handleBrushChange,t.props.onChange),data:n,x:M(t.props.x)?t.props.x:a.left,y:M(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:M(t.props.width)?t.props.width:a.width,startIndex:c,endIndex:u,updateId:"brush-".concat(l)})}),ve(i,"renderReferenceElement",function(t,e,r){if(!t)return null;var n=i.clipPathId,o=i.state,a=o.xAxisMap,c=o.yAxisMap,u=o.offset,l=t.type.defaultProps||{},s=t.props,p=s.xAxisId,h=void 0===p?l.xAxisId:p,y=s.yAxisId,d=void 0===y?l.yAxisId:y;return(0,f.cloneElement)(t,{key:t.key||"".concat(e,"-").concat(r),xAxis:a[h],yAxis:c[d],viewBox:{x:u.left,y:u.top,width:u.width,height:u.height},clipPathId:n})}),ve(i,"renderActivePoints",function(t){var e=t.item,r=t.activePoint,o=t.basePoint,i=t.childIndex,a=t.isRange,c=[],u=e.props.key,l=void 0!==e.item.type.defaultProps?vt(vt({},e.item.type.defaultProps),e.item.props):e.item.props,s=l.activeDot,f=vt(vt({index:i,dataKey:l.dataKey,cx:r.x,cy:r.y,r:4,fill:cn(e.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value},tp(s,!1)),X(s));return c.push(n.renderActiveDot(s,f,"".concat(u,"-activePoint-").concat(i))),o?c.push(n.renderActiveDot(s,vt(vt({},f),{},{cx:o.x,cy:o.y}),"".concat(u,"-basePoint-").concat(i))):a&&c.push(null),c}),ve(i,"renderGraphicChild",function(t,e,r){var n=i.filterFormatItem(t,e,r);if(!n)return null;var o=i.getTooltipEventType(),a=i.state,c=a.isTooltipActive,u=a.tooltipAxis,l=a.activeTooltipIndex,s=a.activeLabel,p=ti(i.props.children,eY),h=n.props,y=h.points,d=h.isRange,m=h.baseLine,b=void 0!==n.item.type.defaultProps?vt(vt({},n.item.type.defaultProps),n.item.props):n.item.props,g=b.activeDot,x=b.hide,O=b.activeBar,w=b.activeShape,j=!!(!x&&c&&p&&(g||O||w)),A={};"axis"!==o&&p&&"click"===p.props.trigger?A={onClick:cy(i.handleItemMouseEnter,t.props.onClick)}:"axis"!==o&&(A={onMouseLeave:cy(i.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:cy(i.handleItemMouseEnter,t.props.onMouseEnter)});var S=(0,f.cloneElement)(t,vt(vt({},n.props),A));if(j)if(l>=0){if(u.dataKey&&!u.allowDuplicatedCategory){var P="function"==typeof u.dataKey?function(t){return"function"==typeof u.dataKey?u.dataKey(t.payload):null}:"payload.".concat(u.dataKey.toString());k=L(y,P,s),T=d&&m&&L(m,P,s)}else k=null==y?void 0:y[l],T=d&&m&&m[l];if(w||O){var E=void 0!==t.props.activeIndex?t.props.activeIndex:l;return[(0,f.cloneElement)(t,vt(vt(vt({},n.props),A),{},{activeIndex:E})),null,null]}if(!v()(k))return[S].concat(d6(i.renderActivePoints({item:n,activePoint:k,basePoint:T,childIndex:l,isRange:d})))}else{var k,T,M,_=(null!=(M=i.getItemByXY(i.state.activeCoordinate))?M:{graphicalItem:S}).graphicalItem,C=_.item,D=void 0===C?t:C,I=_.childIndex,N=vt(vt(vt({},n.props),A),{},{activeIndex:I});return[(0,f.cloneElement)(D,N),null,null]}return d?[S,null,null]:[S,null]}),ve(i,"renderCustomized",function(t,e,r){return(0,f.cloneElement)(t,vt(vt({key:"recharts-customized-".concat(r)},i.props),i.state))}),ve(i,"renderMap",{CartesianGrid:{handler:va,once:!0},ReferenceArea:{handler:i.renderReferenceElement},ReferenceLine:{handler:va},ReferenceDot:{handler:i.renderReferenceElement},XAxis:{handler:va},YAxis:{handler:va},Brush:{handler:i.renderBrush,once:!0},Bar:{handler:i.renderGraphicChild},Line:{handler:i.renderGraphicChild},Area:{handler:i.renderGraphicChild},Radar:{handler:i.renderGraphicChild},RadialBar:{handler:i.renderGraphicChild},Scatter:{handler:i.renderGraphicChild},Pie:{handler:i.renderGraphicChild},Funnel:{handler:i.renderGraphicChild},Tooltip:{handler:i.renderCursor,once:!0},PolarGrid:{handler:i.renderPolarGrid,once:!0},PolarAngleAxis:{handler:i.renderPolarAxis},PolarRadiusAxis:{handler:i.renderPolarAxis},Customized:{handler:i.renderCustomized}}),i.clipPathId="".concat(null!=(r=t.id)?r:D("recharts"),"-clip"),i.throttleTriggeredAfterMouseMove=eJ()(i.triggeredAfterMouseMove,null!=(o=t.throttleDelay)?o:1e3/60),i.state={},i}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&d8(n,t),r=[{key:"componentDidMount",value:function(){var t,e;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!=(t=this.props.margin.left)?t:0,top:null!=(e=this.props.margin.top)?e:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var t=this.props,e=t.children,r=t.data,n=t.height,o=t.layout,i=ti(e,eY);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=vs(this.state,r,a,c),l=this.state.tooltipTicks[a].coordinate,
1s=(this.state.offset.top+n)/2,f="horizontal"===o?{x:l,y:s}:{y:l,x:s},p=this.state.formattedGraphicalItems.find(function(t){return"Scatter"===t.item.type.name});p&&(f=vt(vt({},f),p.props.points[a].tooltipPosition),u=p.props.points[a].tooltipPayload);var h={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:c,activePayload:u,activeCoordinate:f};this.setState(h),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){th([ti(t.children,eY)],[ti(this.props.children,eY)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=ti(this.props.children,eY);if(t&&"boolean"==typeof t.props.shared){var e=t.props.shared?"axis":"item";return a.indexOf(e)>=0?e:o}return o}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=this.container,r=e.getBoundingClientRect(),n={top:r.top+window.scrollY-document.documentElement.clientTop,left:r.left+window.scrollX-document.documentElement.clientLeft},o={chartX:Math.round(t.pageX-n.left),chartY:Math.round(t.pageY-n.top)},i=r.width/e.offsetWidth||1,a=this.inRange(o.chartX,o.chartY,i);if(!a)return null;var c=this.state,u=c.xAxisMap,l=c.yAxisMap,s=this.getTooltipEventType(),f=vf(this.state,this.props.data,this.props.layout,a);if("axis"!==s&&u&&l){var p=N(u).scale,h=N(l).scale,y=p&&p.invert?p.invert(o.chartX):null,d=h&&h.invert?h.invert(o.chartY):null;return vt(vt({},o),{},{xValue:y,yValue:d},f)}return f?vt(vt({},o),f):null}},{key:"inRange",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,o=t/r,i=e/r;if("horizontal"===n||"vertical"===n){var a=this.state.offset;return o>=a.left&&o<=a.left+a.width&&i>=a.top&&i<=a.top+a.height?{x:o,y:i}:null}var c=this.state,u=c.angleAxisMap,l=c.radiusAxisMap;return u&&l?cV({x:o,y:i},N(u)):null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=ti(t,eY),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}),vt(vt({},X(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){dF.on(dU,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){dF.removeListener(dU,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===tt(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 f.createElement("defs",null,f.createElement("clipPath",{id:t},f.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=d1(e,2),n=r[0],o=r[1];return vt(vt({},t),{},ve({},n,o.scale))},{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=d1(e,2),n=r[0],o=r[1];return vt(vt({},t),{},ve({},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?vt(vt({},u.type.defaultProps),u.props):u.props,s=tt(u.type);if("Bar"===s){var f=(c.data||[]).find(function(e){return si(t,e)});if(f)return{graphicalItem:a,payload:f}}else if("RadialBar"===s){var p=(c.data||[]).find(function(e){return cV(t,e)});if(p)return{graphicalItem:a,payload:p}}else if(fx(a,n)||fO(a,n)||fw(a,n)){var h=function(t){var e,r,n,o=t.activeTooltipItem,i=t.graphicalItem,a=t.itemData,c=(fx(i,o)?e="trapezoids":fO(i,o)?e="sectors":fw(i,o)&&(e="points"),e),u=fx(i,o)?null==(r=o.tooltipPayload)||null==(r=r[0])||null==(r=r.payload)?void 0:r.payload:fO(i,o)?null==(n=o.tooltipPayload)||null==(n=n[0])||null==(n=n.payload)?void 0:n.payload:fw(i,o)?o.payload:{},l=a.filter(function(t,e){var r=ag()(u,t),n=i.props[c].filter(function(t){var e;return(fx(i,o)?e=fj:fO(i,o)?e=fA:fw(i,o)&&(e=fS),e)(t,o)}),a=i.props[c].indexOf(n[n.length-1]);return r&&e===a});return a.indexOf(l[l.length-1])}({graphicalItem:a,activeTooltipItem:n,itemData:l.data}),y=void 0===l.activeIndex?h:l.activeIndex;return{graphicalItem:vt(vt({},a),{},{childIndex:y}),payload:fw(a,n)?l.data[h]:a.props.data[h]}}}return null}},{key:"render",value:function(){var t,e,r=this;if(!ta(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,h=n.desc,y=tp(d2(n,dJ),!1);if(l)return f.createElement(hy,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},f.createElement(tg,d0({},y,{width:a,height:c,title:s,desc:h}),this.renderClipPath(),td(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 f.createElement(hy,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},f.createElement("div",d0({className:(0,p.A)("recharts-wrapper",i),style:vt({position:"relative",curs
1or:"default",width:a,height:c},u)},d,{ref:function(t){r.container=t}}),f.createElement(tg,d0({},y,{width:a,height:c,title:s,desc:h,style:vo}),this.renderClipPath(),td(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,vr(n.key),n)}}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(f.Component);ve(m,"displayName",e),ve(m,"defaultProps",vt({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},s)),ve(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=vv(t);return vt(vt(vt({},p),{},{updateId:0},d(vt(vt({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||!U(l,e.prevMargin)){var h=vv(t),y={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},m=vt(vt({},vf(e,n,c)),{},{updateId:e.updateId+1}),b=vt(vt(vt({},h),y),m);return vt(vt(vt({},b),d(vt({props:t},b),e)),{},{prevDataKey:r,prevData:n,prevWidth:i,prevHeight:a,prevLayout:c,prevStackOffset:u,prevMargin:l,prevChildren:o})}if(!th(o,e.prevChildren)){var g,x,O,w,j=ti(o,pk),A=j&&null!=(g=null==(x=j.props)?void 0:x.startIndex)?g:s,S=j&&null!=(O=null==(w=j.props)?void 0:w.endIndex)?O:f,P=v()(n)||A!==s||S!==f?e.updateId+1:e.updateId;return vt(vt({updateId:P},d(vt(vt({props:t},e),{},{updateId:P,dataStartIndex:A,dataEndIndex:S}),e)),{},{prevChildren:o,dataStartIndex:A,dataEndIndex:S})}return null}),ve(m,"renderActiveDot",function(t,e,r){var n;return n=(0,f.isValidElement)(t)?(0,f.cloneElement)(t,e):x()(t)?t(e):f.createElement(sb,e),f.createElement(tw,{className:"recharts-active-dot",key:r},n)});var b=(0,f.forwardRef)(function(t,e){return f.createElement(m,d0({},t,{ref:e}))});return b.displayName=m.displayName,b},vx=vg({chartName:"LineChart",GraphicalChild:yq,axisComponents:[{axisType:"xAxis",AxisComp:dP},{axisType:"yAxis",AxisComp:dN}],formatAxisMap:p7}
1),vO=vg({chartName:"BarChart",GraphicalChild:p1,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:dP},{axisType:"yAxis",AxisComp:dN}],formatAxisMap:p7}),vw=vg({chartName:"PieChart",GraphicalChild:fR,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:ft},{axisType:"radiusAxis",AxisComp:sJ}],formatAxisMap:cW,defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}}),vj=r(78411),vA=r.n(vj),vS=["#1890FF","#66B5FF","#41D9C7","#2FC25B","#6EDB8F","#9AE65C","#FACC14","#E6965C","#57AD71","#223273","#738AE6","#7564CC","#8543E0","#A877ED","#5C8EE6","#13C2C2","#70E0E0","#5CA3E6","#3436C7","#8082FF","#DD81E6","#F04864","#FA7D92","#D598D9"],vP=["width","height","className","style","children","type"];function vE(t){return(vE="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 vk(){return(vk=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 vT(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,vR(n.key),n)}}function vM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vM=function(){return!!t})()}function v_(t){return(v_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function vC(t,e){return(vC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function vD(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function vI(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?vD(Object(r),!0).forEach(function(e){vN(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vD(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function vN(t,e,r){return(e=vR(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function vR(t){var e=function(t,e){if("object"!=vE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=vE(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==vE(e)?e:e+""}var vB="value",vL=function t(e){var r,n=e.depth,o=e.node,i=e.index,a=e.valueKey,c=o.children,u=n+1,l=c&&c.length?c.map(function(e,r){return t({depth:u,node:e,index:r,valueKey:a})}):null;return r=c&&c.length?l.reduce(function(t,e){return t+e[vB]},0):S()(o[a])||o[a]<=0?0:o[a],vI(vI({},o),{},vN(vN(vN({children:l},vB,r),"depth",n),"index",i))},vz=function(t,e){var r=e<0?0:e;return t.map(function(t){var e=t[vB]*r;return vI(vI({},t),{},{area:S()(e)||e<=0?0:e})})},vF=function(t,e,r){var n=e*e,o=t.area*t.area,i=t.reduce(function(t,e){return{min:Math.min(t.min,e.area),max:Math.max(t.max,e.area)}},{min:1/0,max:0}),a=i.min,c=i.max;return o?Math.max(n*c*r/o,o/(n*a*r)):1/0},vU=function(t,e,r,n){var o,i=e?Math.round(t.area/e):0;(n||i>r.height)&&(i=r.height);for(var a=r.x,c=0,u=t.length;c<u;c++)(o=t[c]).x=a,o.y=r.y,o.height=i,o.width=Math.min(i?Math.round(o.area/i):0,r.x+r.width-a),a+=o.width;return o.width+=r.x+r.width-a,vI(vI({},r),{},{y:r.y+i,height:r.height-i})},vW=function(t,e,r,n){var o,i=e?Math.round(t.area/e):0;(n||i>r.width)&&(i=r.width);for(var a=r.y,c=0,u=t.length;c<u;c++)(o=t[c]).x=r.x,o.y=a,o.width=i,o.height=Math.min(i?Math.round(o.area/i):0,r.y+r.height-a),a+=o.height;return o&&(o.height+=r.y+r.height-a),vI(vI({},r),{},{x:r.x+i,width:r.width-i})},v$=function(t,e,r,n){return e===r.width?vU(t,e,r,n):vW(t,e,r,n)},vK=function t(e,r){var n=e.children;if(n&&n.length){var o,i,a={x:e.x,y:e.y,width:e.width,height:e.height}
1,c=[],u=1/0,l=Math.min(a.width,a.height),s=vz(n,a.width*a.height/e[vB]),f=s.slice();for(c.area=0;f.length>0;)c.push(o=f[0]),c.area+=o.area,(i=vF(c,l,r))<=u?(f.shift(),u=i):(c.area-=c.pop().area,l=Math.min((a=v$(c,l,a,!1)).width,a.height),c.length=c.area=0,u=1/0);return c.length&&(a=v$(c,l,a,!0),c.length=c.area=0),vI(vI({},e),{},{children:s.map(function(e){return t(e,r)})})}return e},vq={isTooltipActive:!1,isAnimationFinished:!1,activeNode:null,formatRoot:null,currentRoot:null,nestIndex:[]},vV=function(t){var e,r;function n(){var t,e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=n,r=[].concat(i),e=v_(e),vN(t=function(t,e){if(e&&("object"===vE(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,vM()?Reflect.construct(e,r||[],v_(this).constructor):e.apply(this,r)),"state",vI({},vq)),vN(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),x()(e)&&e()}),vN(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),x()(e)&&e()}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&vC(n,t),e=[{key:"handleMouseEnter",value:function(t,e){e.persist();var r=this.props,n=r.onMouseEnter;ti(r.children,eY)?this.setState({isTooltipActive:!0,activeNode:t},function(){n&&n(t,e)}):n&&n(t,e)}},{key:"handleMouseLeave",value:function(t,e){e.persist();var r=this.props,n=r.onMouseLeave;ti(r.children,eY)?this.setState({isTooltipActive:!1,activeNode:null},function(){n&&n(t,e)}):n&&n(t,e)}},{key:"handleClick",value:function(t){var e=this.props,r=e.onClick;if("nest"===e.type&&t.children){var n=this.props,o=n.width,i=n.height,a=n.dataKey,c=n.aspectRatio,u=vL({depth:0,node:vI(vI({},t),{},{x:0,y:0,width:o,height:i}),index:0,valueKey:a}),l=vK(u,c),s=this.state.nestIndex;s.push(t),this.setState({formatRoot:l,currentRoot:u,nestIndex:s})}r&&r(t)}},{key:"handleNestIndex",value:function(t,e){var r=this.state.nestIndex,n=this.props,o=n.width,i=n.height,a=n.dataKey,c=n.aspectRatio,u=vK(vL({depth:0,node:vI(vI({},t),{},{x:0,y:0,width:o,height:i}),index:0,valueKey:a}),c);r=r.slice(0,e+1),this.setState({formatRoot:u,currentRoot:t,nestIndex:r})}},{key:"renderItem",value:function(t,e,r){var n=this,o=this.props,i=o.isAnimationActive,a=o.animationBegin,c=o.animationDuration,u=o.animationEasing,l=o.isUpdateAnimationActive,s=o.type,p=o.animationId,h=o.colorPanel,y=this.state.isAnimationFinished,d=e.width,v=e.height,m=e.x,b=e.y,g=e.depth,x=parseInt("".concat((2*Math.random()-1)*d),10),O={};return((r||"nest"===s)&&(O={onMouseEnter:this.handleMouseEnter.bind(this,e),onMouseLeave:this.handleMouseLeave.bind(this,e),onClick:this.handleClick.bind(this,e)}),i)?f.createElement(l7,{begin:a,duration:c,isActive:i,easing:u,key:"treemap-".concat(p),from:{x:m,y:b,width:d,height:v},to:{x:m,y:b,width:d,height:v},onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(r){var o=r.x,p=r.y,d=r.width,v=r.height;return f.createElement(l7,{from:"translate(".concat(x,"px, ").concat(x,"px)"),to:"translate(0, 0)",attributeName:"transform",begin:a,easing:u,isActive:i,duration:c},f.createElement(tw,O,g>2&&!y?null:n.constructor.renderContentItem(t,vI(vI({},e),{},{isAnimationActive:i,isUpdateAnimationActive:!l,width:d,height:v,x:o,y:p}),s,h)))}):f.createElement(tw,O,this.constructor.renderContentItem(t,vI(vI({},e),{},{isAnimationActive:!1,isUpdateAnimationActive:!1,width:d,height:v,x:m,y:b}),s,h))}},{key:"renderNode",value:function(t,e){var r=this,n=this.props,o=n.content,i=n.type,a=vI(vI(vI({},tp(this.props,!1)),e),{},{root:t}),c=!e.children||!e.children.length;return!(this.state.currentRoot.children||[]).filter(function(t){return t.depth===e.depth&&t.name===e.name}).length&&t.depth&&"nest"===i?null:f.createElement(tw,{key:"recharts-treemap-node-".concat(a.x,"-").concat(a.y,"-").concat(a.name),className:"recharts-treemap-depth-".concat(e.depth)},this.renderItem(o,a,c),e.children&&e.children.length?e.children.map(function(t){return r.renderNode(e,t)}):null)}},{key:"renderAllNodes",value:function(){var t=this.state.formatRoot;return t?this.renderNode(t,t):null}},{key:"renderTooltip",value:function(){var t=this.props,e=t.children,r=t.nameKey,n=ti(e,eY);if(!n)return null;var o=this.props,i=o.width,a=o.height,c=this.state,u=c.isTooltipActive,l=c.activeNode,s=l?{x:l.x+l.width/2,y:l.y+l.height/2}:null,p=u&&l?[{payload:l,name:ct(l,r,""),value:ct(l,vB)}]:[];return f.cloneElement(n,{viewBox:{x:0,y:0,width:i,height:a},active:u,coordinate:s,label:"",payload:p})}},{key:"renderNestIndex",value:function(){var t=this,e=this.props,r=e.nameKey,n=e.nestIndexContent,o=this.state.nestIndex;return f.createElement("div",{className:"recharts-treemap-nest-index-wrapper",style:{marginTop:"8px",textAlign:"center"}},o.map(function(e,o){var i=y()(e,r,"root"),a=null;return f.isValidElement(n)&&(a=f.cloneElement(n,e,o)),a=x()(n)?n(e,o):i,f.createElement("div",{onClick:t.handleNestIndex.bind(t,e,o),key:"nest-index-".concat(D()),className:"recharts-treemap-nest-index-box",style:{cursor:"pointer",display:"inline-block",padding:"0 7px",background:"#000",color:"#fff",marginRight:"3px"}},a)}))}},{key:"render",value:function(){if(!ta(this))return null;var t=this.props,e=t.width,r=t.height,n=t.className,o=t.style,i=t.children,a=t.type,c=tp(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,vP),!1);return f.createElement("div",{className:(0,p.A)("recharts-wrapper",n),style:vI(vI({},o),{}
1,{position:"relative",cursor:"default",width:e,height:r}),role:"region"},f.createElement(tg,vk({},c,{width:e,height:"nest"===a?r-30:r}),this.renderAllNodes(),tf(i)),this.renderTooltip(),"nest"===a&&this.renderNestIndex())}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){if(t.data!==e.prevData||t.type!==e.prevType||t.width!==e.prevWidth||t.height!==e.prevHeight||t.dataKey!==e.prevDataKey||t.aspectRatio!==e.prevAspectRatio){var r=vL({depth:0,node:{children:t.data,x:0,y:0,width:t.width,height:t.height},index:0,valueKey:t.dataKey}),n=vK(r,t.aspectRatio);return vI(vI({},e),{},{formatRoot:n,currentRoot:r,nestIndex:[r],prevAspectRatio:t.aspectRatio,prevData:t.data,prevWidth:t.width,prevHeight:t.height,prevDataKey:t.dataKey,prevType:t.type})}return null}},{key:"renderContentItem",value:function(t,e,r,n){if(f.isValidElement(t))return f.cloneElement(t,e);if(x()(t))return t(e);var o=e.x,i=e.y,a=e.width,c=e.height,u=e.index,l=null;a>10&&c>10&&e.children&&"nest"===r&&(l=f.createElement(sv,{points:[{x:o+2,y:i+c/2},{x:o+6,y:i+c/2+3},{x:o+2,y:i+c/2+6}]}));var s=null,p=re(e.name);a>20&&c>20&&p.width<a&&p.height<c&&(s=f.createElement("text",{x:o+8,y:i+c/2+7,fontSize:14},e.name));var h=n||vS;return f.createElement("g",null,f.createElement(sc,vk({fill:e.depth<2?h[u%h.length]:"rgba(255,255,255,0)",stroke:"#fff"},vA()(e,"children"),{role:"img"})),l,s)}}],e&&vT(n.prototype,e),r&&vT(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(f.PureComponent);vN(vV,"displayName","Treemap"),vN(vV,"defaultProps",{aspectRatio:.5*(1+Math.sqrt(5)),dataKey:"value",type:"flat",isAnimationActive:!eF.isSsr,isUpdateAnimationActive:!eF.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"linear"});var vX=r(27244),vH=r.n(vX),vG=["width","height","className","style","children"],vY=["sourceX","sourceY","sourceControlX","targetX","targetY","targetControlX","linkWidth"];function vZ(t){return(vZ="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 vJ(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 vQ(){return(vQ=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 v0(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,v4(n.key),n)}}function v1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(v1=function(){return!!t})()}function v2(t){return(v2=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function v3(t,e){return(v3=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function v5(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 v8(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?v5(Object(r),!0).forEach(function(e){v6(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v5(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function v6(t,e,r){return(e=v4(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v4(t){var e=function(t,e){if("object"!=vZ(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=vZ(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==vZ(e)?e:e+""}var v7={x:0,y:0},v9=function(t,e){var r=+t,n=e-r;return function(t){return r+n*t}},mt=function(t){return t.y+t.dy/2},me=function(t){return t&&t.value||0},mr=function(t,e){return e.reduce(function(e,r){return e+me(t[r])},0)},mn=function(t,e,r){return r.reduce(function(r,n){return r+mt(t[e[n].source])*me(e[n])},0)},mo=function(t,e,r){return r.reduce(function(r,n){return r+mt(t[e[n].target])*me(e[n])},0)},mi=function(t,e){return t.y-e.y},ma=function(t,e){for(var r=[],n=[],o=[],i=[],a=0,c=t.length;a<c;a++){var u=t[a];u.source===e&&(o.push(u.target),i.push(a)),u.target===e&&(r.push(u.source),n.push(a))}return{sourceNodes:r,sourceLinks:n,targetLinks:i,targetNodes:o}},mc=function t(e,r){for(var n=r.targetNodes,o=0,i=n.length;o<i;o++){var a=e[n[o]];a&&(a.depth=Math.max(r.depth+1,a.depth),t(e,a))}},mu=function(t,e,r){for(var n=t.nodes,o=t.links,i=n.map(function(t,e){var r=ma(o,e);return v8(v8(v8({},t),r),{},{value:Math.max(mr(o,r.sourceLinks),mr(o,r.targetLinks)),depth:0})}),a=0,c=i.length;a<c;a++){var u=i[a];u.sourceNodes.length||mc(i,u)}var l=sR()(i,function(t){return t.depth}).depth;if(l>=1)for(var s=(e-r)/l,f=0,p=i.length;f<p;f++){var h=i[f];h.targetNodes.length||(h.depth=l),h.x=h.depth*s,h.dx=r}return{tree:i,maxDepth:l}},ml=function(t){for(var e=[],r=0,n=t.length;r<n;r++){var o=t[r];e[o.depth]||(e[o.depth]=[]),e[o.depth].push(o)}return e},ms=function(t,e,r,n){for(var o=ad()(t.map(function(t){return(e-(t.length-1)*r)/vH()(t,me)})),i=0,a=t.length;i<a;i++)for(var c=0,u=t[i].length;c<u;c++){var l=t[i][c];l.y=c,l.dy=l.value*o}return n.map(function(t){return v8(v8({},t),{},{dy:me(t)*o})})},mf=function(t,e,r){for(var n=!(arguments.length>3)||void 0===arguments[3]||arguments[3],o=0,i=t.length;o<i;o++){var a=t[o],c=a.length;n&&a.sort(mi);for(var u=0,l=0;l<c;l++){var s=a[l],f=u-s.y;f>0&&(s.y+=f),u=s.y+s.dy+r}u=e+r;for(var p=c-1;p>=0;p--){var h=a[p],y=h.y+h.dy+r-u;if(y>0)h.y-=y,u=h.y;else break}}},mp=function(t,e,r,n){for(var o=0,i=e.length;o<i;o++)for(var a=e[o],c=0,u=a.length;c<u;c++){var l=a[c];if(l.sourceLinks.length){var s=mr(r,l.sourceLinks),f=mn(t,r,l.sourceLinks)/s;l.y+=(f-mt(l))*n}}},mh=function(t,e,r,n){for(var o=e.length-1;o>=0;o--)for(var i=e[o],a=0,c=i.length;a<c;a++){var u=i[a];if(u.targetLinks.length){var l=mr(r,u.targetLinks),s=mo(t,r,u.targetLinks)/l;u.y+=(s-mt(u))*n}}},my=function(t,e){for(var r=0,n=t.length;r<n;r++){var o=t[r],i=0,a=0;o.targetLinks.sort(function(r,n){return t[e[r].target].y-t[e[n].target].y}),o.sourceLinks.sort(function(r,n){return t[e[r].source].y-t[e[n].source].y});for(var c=0,u=o.targetLinks.length;c<u;c++){var l=e[o.targetLinks[c]];l&&(l.sy=i,i+=l.dy)}for(var s=0,f=o.sourceLinks.length;s<f;s++){var p=e[o.sourceLinks[s]];p&&(p.ty=a,a+=p.dy)}}},md=function(t){var e=t.data,r=t.width,n=t.height,o=t.iterations,i=t.nodeWidth,a=t.nodePadding,c=t.sort,u=e.links,l=mu(e,r,i).tree,s=ml(l),f=ms(s,n,a,u);mf(s,n,a,c);for(var p=1,h=1;h<=o;h++)mh(l,s,f,p*=.99),mf(s,n,a,c),mp(l,s,f,p),mf(s,n,a,c);return my(l,f),{nodes:l,links:f}},mv=function(t,e,r){var n=t.payload;if("node"===e)return[{payload:t,name:ct(n,r,""),value:ct(n,"value")}];if(n.source&&n.target){var o=ct(n.source,r,""),i=ct(n.target,r,"");return[{payload:t,name:"".concat(o," - ").concat(i),value:ct(n,"value")}]}return[]},mm=function(t){var e,r;function n(){var t,e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=n,r=[].concat(i),e=v2(e),v6(t=function(t,e){if(e&&("object"===vZ(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,v1()?Reflect.construct(e,r||[],v2(this).constructor):e.apply(this,r)),"state",{activeElement:null,activeElementType:null,isTooltipActive:!1,nodes:[],links:[]}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&v3(n,t),e=[{key:"handleMouseEnter",value:function(t,e,r){var n=this.props,o=n.onMouseEnter,i=ti(n.children,eY);i?this.setState(function(r){return"hover"===i.props.trigger?v8(v8({},r),{},{activeElement:t,activeElementType:e,isTooltipActive:!0}):r},function(){o&&o(t,e,r)}):o&&o(t,e,r)}},{key:"handleMouseLeave",value:function(t,e,r){var n=this.props,o=n.onMouseLeave,i=ti(n.children,eY);i?this.setState(function(t){return"hover"===i.props.trigger?v8(v8({},t),{},{activeElement:void 0,activeElementType:void 0,isTooltipActive:!1}):t},function(){o&&o(t,e,r)}):o&&o(t,e,r)}},{key:"handleClick",value:function(t,e,r){var n=this.props,o=n.onClick,i=ti(n.children,eY);i&&"click"===i.props.trigger&&(this.state.isTooltipActive?this.setState(function(t){return v8(v8({},t),{},{activeElement:void 0,activeElementType:void 0,isTooltipActive:!1})}):this.setState(function(r){return v8(v8({},r),{},{activeElement:t,activeElementType:e,isTooltipActive:!0})}
1)),o&&o(t,e,r)}},{key:"renderLinks",value:function(t,e){var r=this,n=this.props,o=n.linkCurvature,i=n.link,a=n.margin,c=y()(a,"top")||0,u=y()(a,"left")||0;return f.createElement(tw,{className:"recharts-sankey-links",key:"recharts-sankey-links"},t.map(function(t,n){var a=t.sy,l=t.ty,s=t.dy,p=e[t.source],h=e[t.target],y=p.x+p.dx+u,d=h.x+u,v=v9(y,d),m=v(o),b=v(1-o),g=v8({sourceX:y,targetX:d,sourceY:p.y+a+s/2+c,targetY:h.y+l+s/2+c,sourceControlX:m,targetControlX:b,sourceRelativeY:a,targetRelativeY:l,linkWidth:s,index:n,payload:v8(v8({},t),{},{source:p,target:h})},tp(i,!1)),x={onMouseEnter:r.handleMouseEnter.bind(r,g,"link"),onMouseLeave:r.handleMouseLeave.bind(r,g,"link"),onClick:r.handleClick.bind(r,g,"link")};return f.createElement(tw,vQ({key:"link-".concat(t.source,"-").concat(t.target,"-").concat(t.value)},x),r.constructor.renderLinkItem(i,g))}))}},{key:"renderNodes",value:function(t){var e=this,r=this.props,n=r.node,o=r.margin,i=y()(o,"top")||0,a=y()(o,"left")||0;return f.createElement(tw,{className:"recharts-sankey-nodes",key:"recharts-sankey-nodes"},t.map(function(t,r){var o=t.x,c=t.y,u=t.dx,l=t.dy,s=v8(v8({},tp(n,!1)),{},{x:o+a,y:c+i,width:u,height:l,index:r,payload:t}),p={onMouseEnter:e.handleMouseEnter.bind(e,s,"node"),onMouseLeave:e.handleMouseLeave.bind(e,s,"node"),onClick:e.handleClick.bind(e,s,"node")};return f.createElement(tw,vQ({key:"node-".concat(t.x,"-").concat(t.y,"-").concat(t.value)},p),e.constructor.renderNodeItem(n,s))}))}},{key:"renderTooltip",value:function(){var t=this.props,e=t.children,r=t.width,n=t.height,o=t.nameKey,i=ti(e,eY);if(!i)return null;var a=this.state,c=a.isTooltipActive,u=a.activeElement,l=a.activeElementType,s=u?"node"===l?{x:u.x+u.width/2,y:u.y+u.height/2}:{x:(u.sourceX+u.targetX)/2,y:(u.sourceY+u.targetY)/2}:v7,p=u?mv(u,l,o):[];return f.cloneElement(i,{viewBox:{x:0,y:0,width:r,height:n},active:c,coordinate:s,label:"",payload:p})}},{key:"render",value:function(){if(!ta(this))return null;var t=this.props,e=t.width,r=t.height,n=t.className,o=t.style,i=t.children,a=vJ(t,vG),c=this.state,u=c.links,l=c.nodes,s=tp(a,!1);return f.createElement("div",{className:(0,p.A)("recharts-wrapper",n),style:v8(v8({},o),{},{position:"relative",cursor:"default",width:e,height:r}),role:"region"},f.createElement(tg,vQ({},s,{width:e,height:r}),tf(i),this.renderLinks(u,l),this.renderNodes(l)),this.renderTooltip())}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){var r=t.data,n=t.width,o=t.height,i=t.margin,a=t.iterations,c=t.nodeWidth,u=t.nodePadding,l=t.sort;if(r!==e.prevData||n!==e.prevWidth||o!==e.prevHeight||!U(i,e.prevMargin)||a!==e.prevIterations||c!==e.prevNodeWidth||u!==e.prevNodePadding||l!==e.sort){var s=md({data:r,width:n-(i&&i.left||0)-(i&&i.right||0),height:o-(i&&i.top||0)-(i&&i.bottom||0),iterations:a,nodeWidth:c,nodePadding:u,sort:l}),f=s.links,p=s.nodes;return v8(v8({},e),{},{nodes:p,links:f,prevData:r,prevWidth:a,prevHeight:o,prevMargin:i,prevNodePadding:u,prevNodeWidth:c,prevIterations:a,prevSort:l})}return null}},{key:"renderLinkItem",value:function(t,e){if(f.isValidElement(t))return f.cloneElement(t,e);if(x()(t))return t(e);var r=e.sourceX,n=e.sourceY,o=e.sourceControlX,i=e.targetX,a=e.targetY,c=e.targetControlX,u=e.linkWidth,l=vJ(e,vY);return f.createElement("path",vQ({className:"recharts-sankey-link",d:"\n          M".concat(r,",").concat(n,"\n          C").concat(o,",").concat(n," ").concat(c,",").concat(a," ").concat(i,",").concat(a,"\n        "),fill:"none",stroke:"#333",strokeWidth:u,strokeOpacity:"0.2"},tp(l,!1)))}},{key:"renderNodeItem",value:function(t,e){return f.isValidElement(t)?f.cloneElement(t,e):x()(t)?t(e):f.createElement(sc,vQ({className:"recharts-sankey-node",fill:"#0088fe",fillOpacity:"0.8"},tp(e,!1),{role:"img"}))}}],e&&v0(n.prototype,e),r&&v0(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(f.PureComponent);v6(mm,"displayName","Sankey"),v6(mm,"defaultProps",{nameKey:"name",dataKey:"value",nodePadding:10,nodeWidth:10,linkCurvature:.5,iterations:32,margin:{top:5,right:5,bottom:5,left:5},sort:!0});var mb=vg({chartName:"RadarChart",GraphicalChild:fY,axisComponents:[{axisType:"angleAxis",AxisComp:ft},{axisType:"radiusAxis",AxisComp:sJ}],formatAxisMap:cW,defaultProps:{layout:"centric",startAngle:90,endAngle:-270,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}}
1),mg=vg({chartName:"ScatterChart",GraphicalChild:dm,defaultTooltipEventType:"item",validateTooltipEventTypes:["item"],axisComponents:[{axisType:"xAxis",AxisComp:dP},{axisType:"yAxis",AxisComp:dN},{axisType:"zAxis",AxisComp:dr}],formatAxisMap:p7}),mx=vg({chartName:"AreaChart",GraphicalChild:y8,axisComponents:[{axisType:"xAxis",AxisComp:dP},{axisType:"yAxis",AxisComp:dN}],formatAxisMap:p7}),mO=vg({chartName:"RadialBarChart",GraphicalChild:pc,legendContent:"children",defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"angleAxis",AxisComp:ft},{axisType:"radiusAxis",AxisComp:sJ}],formatAxisMap:cW,defaultProps:{layout:"radial",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}}),mw=vg({chartName:"ComposedChart",GraphicalChild:[yq,y8,p1,dm],axisComponents:[{axisType:"xAxis",AxisComp:dP},{axisType:"yAxis",AxisComp:dN},{axisType:"zAxis",AxisComp:dr}],formatAxisMap:p7});function mj(){return(mj=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 mA(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,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)||mS(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 mS(t,e){if(t){if("string"==typeof t)return mP(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 mP(t,e)}}function mP(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 mE={fontWeight:"bold",paintOrder:"stroke fill",fontSize:".75rem",stroke:"#FFF",fill:"black",pointerEvents:"none"},mk=function(t){var e,r=t.className,n=t.data,o=t.children,i=t.width,a=t.height,c=t.padding,u=void 0===c?2:c,l=t.dataKey,s=void 0===l?"value":l,h=t.ringPadding,y=void 0===h?2:h,d=t.innerRadius,v=void 0===d?50:d,m=t.fill,b=void 0===m?"#333":m,g=t.stroke,x=void 0===g?"#FFF":g,O=t.textOptions,w=void 0===O?mE:O,j=t.outerRadius,A=void 0===j?Math.min(i,a)/2:j,S=t.cx,P=void 0===S?i/2:S,E=t.cy,k=void 0===E?a/2:E,T=t.startAngle,M=t.endAngle,_=t.onClick,C=t.onMouseEnter,D=t.onMouseLeave,I=mA((0,f.useState)(!1),2),N=I[0],R=I[1],B=mA((0,f.useState)(null),2),L=B[0],z=B[1],F=nZ([0,n[s]],[0,void 0===M?360:M]),U=function t(e){if(!e.children||0===e.children.length)return 1;var r=e.children.map(function(e){return t(e)});return 1+Math.max.apply(Math,function(t){if(Array.isArray(t))return mP(t)}(r)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(r)||mS(r)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}(n),W=[],$=new Map([]);!function t(e,r){var n=r.radius,o=r.innerR,i=r.initialAngle,a=r.childColor,c=i;e&&e.forEach(function(e){var r,i,l=F(e[s]),p=c,h=null!=(r=null!=(i=null==e?void 0:e.fill)?i:a)?r:b,d=cF(0,0,o+n/2,-(p+l-l/2)),v=d.x,m=d.y;c+=l,W.push(f.createElement("g",{"aria-label":e.name,tabIndex:0},f.createElement(ug,{onClick:function(){_&&_(e)},onMouseEnter:function(t){C&&C(e,t),z(e),R(!0)},onMouseLeave:function(t){D&&D(e,t),z(null),R(!1)},fill:h,stroke:x,strokeWidth:u,startAngle:p,endAngle:p+l,innerRadius:o,outerRadius:o+n,cx:P,cy:k}),f.createElement(rk,mj({},w,{alignmentBaseline:"middle",textAnchor:"middle",x:v+P,y:k-m}),e[s])));var g=cF(P,k,o+n/2,p),O=g.x,j=g.y;return $.set(e.name,{x:O,y:j}),t(e.children,{radius:n,innerR:o+n+y,initialAngle:p,childColor:h})})}(n.children,{radius:(A-v)/U,innerR:v,initialAngle:void 0===T?0:T});var K=(0,p.A)("recharts-sunburst",r);return f.createElement("div",{className:(0,p.A)("recharts-wrapper",r),style:{position:"relative",width:i,height:a},role:"region"},f.createElement(tg,{width:i,height:a},o,f.createElement(tw,{className:K},W)),(e=ti([o],eY))&&L?f.cloneElement(e,{viewBox:{x:0,y:0,width:i,height:a},coordinate:$.get(L.name),payload:[L],active:N}):null)};function mT(t){return(mT="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 mM(){return(mM=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function m_(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function mC(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"!=mT(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=mT(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==mT(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 mD(t,e){var r=parseInt("".concat(e.x||t.x),10),n=parseInt("".concat(e.y||t.y),10),o=parseInt("".concat((null==e?void 0:e.height)||(null==t?void 0:t.height)),10);return mC(mC(mC({},e),fb(t)),{},{height:o,x:r,y:n})}function mI(t){return f.createElement(fg,mM({shapeType:"trapezoid",propTransformer:mD},t))}function mN(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,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 mR(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 mR(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 mR(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 mB(t){return(mB="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 mL(){return(mL=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 mz(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 mF(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?mz(Object(r),!0).forEach(function(e){mq(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mz(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function mU(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,mV(n.key),n)}}function mW(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mW=function(){return!!t})()}function m$(t){return(m$=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
1function mK(t,e){return(mK=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function mq(t,e,r){return(e=mV(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function mV(t){var e=function(t,e){if("object"!=mB(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=mB(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==mB(e)?e:e+""}var mX=function(t){var e,r;function n(){var t,e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=n,r=[].concat(i),e=m$(e),mq(t=function(t,e){if(e&&("object"===mB(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,mW()?Reflect.construct(e,r||[],m$(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!1}),mq(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),x()(e)&&e()}),mq(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),x()(e)&&e()}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&mK(n,t),e=[{key:"isActiveIndex",value:function(t){var e=this.props.activeIndex;return Array.isArray(e)?-1!==e.indexOf(t):t===e}},{key:"renderTrapezoidsStatically",value:function(t){var e=this,r=this.props,n=r.shape,o=r.activeShape;return t.map(function(t,r){var i=e.isActiveIndex(r)?o:n,a=mF(mF({},t),{},{isActive:e.isActiveIndex(r),stroke:t.stroke});return f.createElement(tw,mL({className:"recharts-funnel-trapezoid"},H(e.props,t,r),{key:"trapezoid-".concat(null==t?void 0:t.x,"-").concat(null==t?void 0:t.y,"-").concat(null==t?void 0:t.name,"-").concat(null==t?void 0:t.value),role:"img"}),f.createElement(mI,mL({option:i},a)))})}},{key:"renderTrapezoidsWithAnimation",value:function(){var t=this,e=this.props,r=e.trapezoids,n=e.isAnimationActive,o=e.animationBegin,i=e.animationDuration,a=e.animationEasing,c=e.animationId,u=this.state.prevTrapezoids;return f.createElement(l7,{begin:o,duration:i,isActive:n,easing:a,from:{t:0},to:{t:1},key:"funnel-".concat(c),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(e){var n=e.t,o=r.map(function(t,e){var r=u&&u[e];if(r){var o=B(r.x,t.x),i=B(r.y,t.y),a=B(r.upperWidth,t.upperWidth),c=B(r.lowerWidth,t.lowerWidth),l=B(r.height,t.height);return mF(mF({},t),{},{x:o(n),y:i(n),upperWidth:a(n),lowerWidth:c(n),height:l(n)})}var s=B(t.x+t.upperWidth/2,t.x),f=B(t.y+t.height/2,t.y),p=B(0,t.upperWidth),h=B(0,t.lowerWidth),y=B(0,t.height);return mF(mF({},t),{},{x:s(n),y:f(n),upperWidth:p(n),lowerWidth:h(n),height:y(n)})});return f.createElement(tw,null,t.renderTrapezoidsStatically(o))})}},{key:"renderTrapezoids",value:function(){var t=this.props,e=t.trapezoids,r=t.isAnimationActive,n=this.state.prevTrapezoids;return r&&e&&e.length&&(!n||!ag()(n,e))?this.renderTrapezoidsWithAnimation():this.renderTrapezoidsStatically(e)}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.trapezoids,n=t.className,o=t.isAnimationActive,i=this.state.isAnimationFinished;if(e||!r||!r.length)return null;var a=(0,p.A)("recharts-trapezoids",n);return f.createElement(tw,{className:a},this.renderTrapezoids(),(!o||i)&&uc.renderCallByParent(this.props,r))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curTrapezoids:t.trapezoids,prevTrapezoids:e.curTrapezoids}:t.trapezoids!==e.curTrapezoids?{curTrapezoids:t.trapezoids}:null}}],e&&mU(n.prototype,e),r&&mU(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(f.PureComponent);mq(mX,"displayName","Funnel"),mq(mX,"defaultProps",{stroke:"#fff",fill:"#808080",legendType:"rect",labelLine:!0,hide:!1,isAnimationActive:!eF.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",lastShapeType:"triangle"}),mq(mX,"getRealFunnelData",function(t){var e=t.props,r=e.data,n=e.children,o=tp(t.props,!1),i=to(n,e5);return r&&r.length?r.map(function(t,e){return mF(mF(mF({payload:t},o),t),i&&i[e]&&i[e].props)}):i&&i.length?i.map(function(t){return mF(mF({},o),t.props)}):[]}
1),mq(mX,"getRealWidthHeight",function(t,e){var r=t.props.width,n=e.width,o=e.height,i=e.left,a=e.right,c=e.top,u=e.bottom,l=n;return E()(r)?l=r:b()(r)&&(l=l*parseFloat(r)/100),{realWidth:l-i-a-50,realHeight:o-u-c,offsetX:(n-l)/2,offsetY:(o-o)/2}}),mq(mX,"getComposedData",function(t){var e=t.item,r=t.offset,n=mX.getRealFunnelData(e),o=e.props,i=o.dataKey,a=o.nameKey,c=o.tooltipType,u=o.lastShapeType,l=o.reversed,s=r.left,f=r.top,p=mX.getRealWidthHeight(e,r),h=p.realHeight,y=p.realWidth,d=p.offsetX,v=p.offsetY,m=Math.max.apply(null,n.map(function(t){return ct(t,i,0)})),b=n.length,g=h/b,x={x:r.left,y:r.top,width:r.width,height:r.height},O=n.map(function(t,e){var r,o=ct(t,i,0),l=ct(t,a,e),p=o;if(e!==b-1)(r=ct(n[e+1],i,0))instanceof Array&&(r=mN(r,1)[0]);else if(o instanceof Array&&2===o.length){var h=mN(o,2);p=h[0],r=h[1]}else r="rectangle"===u?p:0;var O=(m-p)*y/(2*m)+f+25+d,w=g*e+s+v,j=p/m*y,A=r/m*y,S=[{name:l,value:p,payload:t,dataKey:i,type:c}];return mF(mF({x:O,y:w,width:Math.max(j,A),upperWidth:j,lowerWidth:A,height:g,name:l,val:p,tooltipPayload:S,tooltipPosition:{x:O+j/2,y:w+g/2}},vA()(t,"width")),{},{payload:t,parentViewBox:x,labelViewBox:{x:O+(j-A)/4,y:w,width:Math.abs(j-A)/2+Math.min(j,A),height:g}})});return l&&(O=O.map(function(t,e){var r=t.y-e*g+(b-1-e)*g;return mF(mF({},t),{},{upperWidth:t.lowerWidth,lowerWidth:t.upperWidth,x:t.x-(t.lowerWidth-t.upperWidth)/2,y:t.y-e*g+(b-1-e)*g,tooltipPosition:mF(mF({},t.tooltipPosition),{},{y:r+g/2}),labelViewBox:mF(mF({},t.labelViewBox),{},{y:r})})})),{trapezoids:O,data:n}});var mH=vg({chartName:"FunnelChart",GraphicalChild:mX,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",axisComponents:[],defaultProps:{layout:"centric"}})},21899:(t,e,r)=>{var n=r(31481),o=r(24281),i=r(35457),a=r(87421),c=r(59901),u=r(7745);t.exports=function(t,e,r){var l=-1,s=o,f=t.length,p=!0,h=[],y=h;if(r)p=!1,s=i;else if(f>=200){var d=e?null:c(t);if(d)return u(d);p=!1,s=a,y=new n}else y=e?[]:h;e:for(;++l<f;){var v=t[l],m=e?e(v):v;if(v=r||0!==v?v:0,p&&m==m){for(var b=y.length;b--;)if(y[b]===m)continue e;e&&y.push(m),h.push(v)}else s(y,m,r)||(y!==h&&y.push(m),h.push(v))}return h}},22654:(t,e,r)=>{var n=r(83693),o=r(26745);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})}},23629:(t,e,r)=>{var n=r(18223);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},23719: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}},24281:(t,e,r)=>{var n=r(18683);t.exports=function(t,e){return!!(null==t?0:t.length)&&n(t,e,0)>-1}},24402:(t,e,r)=>{t.exports="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g},24567:(t,e,r)=>{var n=r(48908);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}}},24604:(t,e,r)=>{var n=r(69833),o=r(56507),i=r(84856),a=r(9403),c=r(42979),u=r(25411),l=r(48728),s=r(38055),f="[object Arguments]",p="[object Array]",h="[object Object]",y=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,d,v,m){var b=u(t),g=u(e),x=b?p:c(t),O=g?p:c(e);x=x==f?h:x,O=O==f?h:O;var w=x==h,j=O==h,A=x==O;if(A&&l(t)){if(!l(e))return!1;b=!0,w=!1}if(A&&!w)return m||(m=new n),b||s(t)?o(t,e,r,d,v,m):i(t,e,x,r,d,v,m);if(!(1&r)){var S=w&&y.call(t,"__wrapped__"),P=j&&y.call(e,"__wrapped__");
1if(S||P){var E=S?t.value():t,k=P?e.value():e;return m||(m=new n),v(E,k,r,d,m)}}return!!A&&(m||(m=new n),a(t,e,r,d,v,m))}},25411:t=>{t.exports=Array.isArray},25902:(t,e,r)=>{var n=r(32598),o=r(26526),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")}},26526:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},26630:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},26660:(t,e,r)=>{t.exports=r(59955)(Object.keys,Object)},26745:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},26810:(t,e,r)=>{var n=r(51483);t.exports=function(){return n.Date.now()}},26932:(t,e,r)=>{var n=r(91108),o=r(57815);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}},27244:(t,e,r)=>{var n=r(33011),o=r(6453);t.exports=function(t,e){return t&&t.length?o(t,n(e,2)):0}},27467:(t,e,r)=>{var n=r(28007),o=r(17719),i=r(81495);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}},27509:(t,e,r)=>{var n=r(18135);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},28007:(t,e,r)=>{var n=r(55428),o=r(60044),i=r(27509),a=r(92441),c=r(72377);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},28568:(t,e,r)=>{t.exports=r(10883)("toUpperCase")},29101:t=>{t.exports=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}},29514:(t,e,r)=>{t.exports=r(83558)(r(51483),"DataView")},29533:function(t,e,r){var n;!function(o){"use strict";var i,a={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},c=!0,u="[DecimalError] ",l=u+"Invalid argument: ",s=u+"Exponent out of range: ",f=Math.floor,p=Math.pow,h=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,y=f(1286742750677284.5),d={};function v(t,e){var r,n,o,i,a,u,l,s,f=t.constructor,p=f.precision;if(!t.s||!e.s)return e.s||(e=new f(t)),c?P(e,p):e;if(l=t.d,s=e.d,a=t.e,o=e.e,l=l.slice(),i=a-o){for(i<0?(n=l,i=-i,u=s.length):(n=s,o=a,u=l.length),i>(u=(a=Math.ceil(p/7))>u?a+1:u+1)&&(i=u,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((u=l.length)-(i=s.length)<0&&(i=u,n=s,s=l,l=n),r=0;i;)r=(l[--i]=l[i]+s[i]+r)/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,c?P(e,p):e}function m(t,e,r){if(t!==~~t||t<e||t>r)throw Error(l+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+=j(r)),i+=n;(r=7-(n=(a=t[e])+"").length)&&(i+=j(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 g(this,new this.constructor(t))},d.dividedToIntegerBy=d.idiv=function(t){var e=this.constructor;return P(g(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)}
1,d.logarithm=d.log=function(t){var e,r=this.constructor,n=r.precision,o=n+5;if(void 0===t)t=new r(10);else if((t=new r(t)).s<1||t.eq(i))throw Error(u+"NaN");if(this.s<1)throw Error(u+(this.s?"NaN":"-Infinity"));return this.eq(i)?new r(0):(c=!1,e=g(A(this,o),A(t,o),o),c=!0,P(e,n))},d.minus=d.sub=function(t){return t=new this.constructor(t),this.s==t.s?E(this,t):v(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(u+"NaN");return this.s?(c=!1,e=g(this,t,0,1).times(t),c=!0,this.minus(e)):P(new r(this),n)},d.naturalExponential=d.exp=function(){return x(this)},d.naturalLogarithm=d.ln=function(){return A(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?v(this,t):E(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(l+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,a,l=this.constructor;if(this.s<1){if(!this.s)return new l(0);throw Error(u+"NaN")}for(t=O(this),c=!1,0==(o=Math.sqrt(+this))||o==1/0?(((e=b(this.d)).length+t)%2==0&&(e+="0"),o=Math.sqrt(e),t=f((t+1)/2)-(t<0||t%2),n=new l(e=o==1/0?"5e"+t:(e=o.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new l(o.toString()),o=a=(r=l.precision)+3;;)if(n=(i=n).plus(g(this,i,a+2)).times(.5),b(i.d).slice(0,a)===(e=b(n.d)).slice(0,a)){if(e=e.slice(a-3,a+1),o==a&&"4999"==e){if(P(i,r+1,0),i.times(i).eq(this)){n=i;break}}else if("9999"!=e)break;a+=4}return c=!0,P(n,r)},d.times=d.mul=function(t){var e,r,n,o,i,a,u,l,s,f=this.constructor,p=this.d,h=(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=h.length)&&(i=p,p=h,h=i,a=l,l=s,s=a),i=[],n=a=l+s;n--;)i.push(0);for(n=s;--n>=0;){for(e=0,o=l+n;o>n;)u=i[o]+h[n]*p[o-n-1]+e,i[o--]=u%1e7|0,e=u/1e7|0;i[o]=(i[o]+e)%1e7|0}for(;!i[--a];)i.pop();return e?++r:i.shift(),t.d=i,t.e=r,c?P(t,f.precision):t},d.toDecimalPlaces=d.todp=function(t,e){var r=this,n=r.constructor;
1return(r=new n(r),void 0===t)?r:(m(t,0,1e9),void 0===e?e=n.rounding:m(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=k(n,!0):(m(t,0,1e9),void 0===e?e=o.rounding:m(e,0,8),r=k(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?k(this):(m(t,0,1e9),void 0===e?e=o.rounding:m(e,0,8),r=k((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,o,a,l,s=this,p=s.constructor,h=+(t=new p(t));if(!t.s)return new p(i);if(!(s=new p(s)).s){if(t.s<1)throw Error(u+"Infinity");return s}if(s.eq(i))return s;if(n=p.precision,t.eq(i))return P(s,n);if(l=(e=t.e)>=(r=t.d.length-1),a=s.s,l){if((r=h<0?-h:h)<=0x1fffffffffffff){for(o=new p(i),e=Math.ceil(n/7+4),c=!1;r%2&&T((o=o.times(s)).d,e),0!==(r=f(r/2));)T((s=s.times(s)).d,e);return c=!0,t.s<0?new p(i).div(o):P(o,n)}}else if(a<0)throw Error(u+"NaN");return a=a<0&&1&t.d[Math.max(e,r)]?-1:1,s.s=1,c=!1,o=t.times(A(s,n+12)),c=!0,(o=x(o)).s=a,o},d.toPrecision=function(t,e){var r,n,o=this,i=o.constructor;return void 0===t?(r=O(o),n=k(o,r<=i.toExpNeg||r>=i.toExpPos)):(m(t,1,1e9),void 0===e?e=i.rounding:m(e,0,8),r=O(o=P(new i(o),t,e)),n=k(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):(m(t,1,1e9),void 0===e?e=r.rounding:m(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 k(this,t<=e.toExpNeg||t>=e.toExpPos)};var g=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 c,l,s,f,p,h,y,d,v,m,b,g,x,w,j,A,S,E,k=n.constructor,T=n.s==o.s?1:-1,M=n.d,_=o.d;if(!n.s)return new k(n);if(!o.s)throw Error(u+"Division by zero");for(s=0,l=n.e-o.e,S=_.length,j=M.length,d=(y=new k(T)).d=[];_[s]==(M[s]||0);)++s;if(_[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==S)for(f=0,_=_[0],g++;(s<j||f)&&g--;s++)x=1e7*f+(M[s]||0),d[s]=x/_|0,f=x%_|0;else{for((f=1e7/(_[0]+1)|0)>1&&(_=t(_,f),M=t(M,f),S=_.length,j=M.length),w=S,m=(v=M.slice(0,S)).length;m<S;)v[m++]=0;(E=_.slice()).unshift(0),A=_[0],_[1]>=1e7/2&&++A;do f=0,(c=e(_,v,S,m))<0?(b=v[0],S!=m&&(b=1e7*b+(v[1]||0)),(f=b/A|0)>1?(f>=1e7&&(f=1e7-1),h=(p=t(_,f)).length,m=v.length,1==(c=e(p,v,h,m))&&(f--,r(p,S<h?E:_,h))):(0==f&&(c=f=1),p=_.slice()),(h=p.length)<m&&p.unshift(0),r(v,p,m),-1==c&&(m=v.length,(c=e(_,v,S,m))<1&&(f++,r(v,S<m?E:_,m))),m=v.length):0===c&&(f++,v=[0]),d[s++]=f,c&&v[0]?v[m++]=M[w]||0:(v=[M[w]],m=1);while((w++<j||void 0!==v[0])&&g--)}return d[0]||d.shift(),y.e=l,P(y,a?i+O(y)+1:i)}}();function x(t,e){var r,n,o,a,u,l=0,f=0,h=t.constructor,y=h.precision;if(O(t)>16)throw Error(s+O(t));if(!t.s)return new h(i);for(null==e?(c=!1,u=y):u=e,a=new h(.03125);t.abs().gte(.1);)t=t.times(a),f+=5;for(u+=Math.log(p(2,f))/Math.LN10*2+5|0,r=n=o=new h(i),h.precision=u;;){if(n=P(n.times(t),u),r=r.times(++l),b((a=o.plus(g(n,r,u))).d).slice(0,u)===b(o.d).slice(0,u)){for(;f--;)o=P(o.times(o),u);return h.precision=y,null==e?(c=!0,P(o,y)):o}o=a}}function O(t){for(var e=7*t.e,r=t.d[0];r>=10;r/=10)e++;return e}function w(t,e,r){if(e>t.LN10.sd())throw c=!0,r&&(t.precision=r),Error(u+"LN10 precision limit exceeded");return P(new t(t.LN10),e)}function j(t){for(var e="";t--;)e+="0";return e}function A(t,e){var r,n,o,a,l,s,f,p,h,y=1,d=t,v=d.d,m=d.constructor,x=m.precision;if(d.s<1)throw Error(u+(d.s?"NaN":"-Infinity"));if(d.eq(i))return new m(0);if(null==e?(c=!1,p=x):p=e,d.eq(10))return null==e&&(c=!0),w(m,p);if(m.precision=p+=10,n=(r=b(v)).charAt(0),!(15e14>Math.abs(a=O(d))))return f=w(m,p+2,x).times(a+""),d=A(new m(n+"."+r.slice(1)),p-10).plus(f),m.precision=x,null==e?(c=!0,P(d,x)):d;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=b((d=d.times(t)).d)).charAt(0),y++;for(a=O(d),n>1?(d=new m("0."+r),a++):d=new m(n+"."+r.slice(1)),s=l=d=g(d.minus(i),d.plus(i),p),h=P(d.times(d),p),o=3;;){if(l=P(l.times(h),p),b((f=s.plus(g(l,new m(o),p))).d).slice(0,p)===b(s.d).slice(0,p))return s=s.times(2),0!==a&&(s=s.plus(w(m,p+2,x).times(a+""))),s=g(s,new m(y),p),m.precision=x,null==e?(c=!0,P(s,x)):s;s=f,o+=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;
1if(e=e.slice(n,o)){if(o-=n,t.e=f((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),c&&(t.e>y||t.e<-y))throw Error(s+r)}else t.s=0,t.e=0,t.d=[0];return t}function P(t,e,r){var n,o,i,a,u,l,h,d,v=t.d;for(a=1,i=v[0];i>=10;i/=10)a++;if((n=e-a)<0)n+=7,o=e,h=v[d=0];else{if((d=Math.ceil((n+1)/7))>=(i=v.length))return t;for(a=1,h=i=v[d];i>=10;i/=10)a++;n%=7,o=n-7+a}if(void 0!==r&&(u=h/(i=p(10,a-o-1))%10|0,l=e<0||void 0!==v[d+1]||h%i,l=r<4?(u||l)&&(0==r||r==(t.s<0?3:2)):u>5||5==u&&(4==r||l||6==r&&(n>0?o>0?h/p(10,a-o):0:v[d-1])%10&1||r==(t.s<0?8:7))),e<1||!v[0])return l?(i=O(t),v.length=1,e=e-i-1,v[0]=p(10,(7-e%7)%7),t.e=f(-e/7)||0):(v.length=1,v[0]=t.e=t.s=0),t;if(0==n?(v.length=d,i=1,d--):(v.length=d+1,i=p(10,7-n),v[d]=o>0?(h/p(10,a-o)%p(10,o)|0)*i:0),l)for(;;)if(0==d){1e7==(v[0]+=i)&&(v[0]=1,++t.e);break}else{if(v[d]+=i,1e7!=v[d])break;v[d--]=0,i=1}for(n=v.length;0===v[--n];)v.pop();if(c&&(t.e>y||t.e<-y))throw Error(s+O(t));return t}function E(t,e){var r,n,o,i,a,u,l,s,f,p,h=t.constructor,y=h.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new h(t),c?P(e,y):e;if(l=t.d,p=e.d,n=e.e,s=t.e,l=l.slice(),a=s-n){for((f=a<0)?(r=l,a=-a,u=p.length):(r=p,n=s,u=l.length),a>(o=Math.max(Math.ceil(y/7),u)+2)&&(a=o,r.length=1),r.reverse(),o=a;o--;)r.push(0);r.reverse()}else{for((f=(o=l.length)<(u=p.length))&&(u=o),o=0;o<u;o++)if(l[o]!=p[o]){f=l[o]<p[o];break}a=0}for(f&&(r=l,l=p,p=r,e.s=-e.s),u=l.length,o=p.length-u;o>0;--o)l[u++]=0;for(o=p.length;o>a;){if(l[--o]<p[o]){for(i=o;i&&0===l[--i];)l[i]=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,c?P(e,y):e):new h(0)}function k(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)+j(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+j(-o-1)+i,r&&(n=r-a)>0&&(i+=j(n))):o>=a?(i+=j(o+1-a),r&&(n=r-o-1)>0&&(i=i+"."+j(n))):((n=o+1)<a&&(i=i.slice(0,n)+"."+i.slice(n)),r&&(n=r-a)>0&&(o+1===a&&(i+="."),i+=j(n))),t.s<0?"-"+i:i}function T(t,e){if(t.length>e)return t.length=e,!0}function M(t){if(!t||"object"!=typeof t)throw Error(u+"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(f(n)===n&&n>=o[e+1]&&n<=o[e+2])this[r]=n;else throw Error(l+r+": "+n);if(void 0!==(n=t[r="LN10"]))if(n==Math.LN10)this[r]=new this(n);else throw Error(l+r+": "+n);return this}(a=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(l+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(l+t);if(45===t.charCodeAt(0)?(t=t.slice(1),this.s=-1):this.s=1,h.test(t))S(this,t);else throw Error(l+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=M,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}(a)).default=a.Decimal=a,i=new a(1),void 0===(n=(function(){return a}).call(e,r,e,t))||(t.exports=n)}(0)},29887: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}},30114:t=>{t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},30508:(t,e,r)=>{var n=r(94897);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},30556:t=>{var e=/\s/;t.exports=function(t){for(var r=t.length;r--&&e.test(t.charAt(r)););return r}},31326:(t,e,r)=>{var n=r(25411),o=r(36702),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)}},31450:t=>{t.exports=function(t,e){return t<e}},31481:(t,e,r)=>{var n=r(81495),o=r(60656),i=r(43539);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},32198:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},32323:(t,e,r)=>{var n=r(9735);t.exports=function(t){return n(t)&&t!=+t}},32438:(t,e,r)=>{var n=r(50030);t.exports=function(t){return null==t?"":n(t)}},32499:(t,e,r)=>{t.exports=r(83558)(r(51483),"WeakMap")},32598:(t,e,r)=>{var n=r(80942),o=r(26526);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},32812:(t,e,r)=>{var n=r(6407),o=r(48908);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}},33011:(t,e,r)=>
1{var n=r(7291),o=r(8082),i=r(90176),a=r(25411),c=r(1807);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)}},33375:(t,e,r)=>{var n=r(48665),o=r(33011),i=r(31450);t.exports=function(t,e){return t&&t.length?n(t,o(e,2),i):void 0}},34741:(t,e,r)=>{var n=r(80942),o=r(71661),i=r(26526),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}},35138:(t,e,r)=>{var n=r(83642);t.exports=function(t,e){return n(t,e)}},35206:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},35443:(t,e,r)=>{var n=r(73423),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}},35457: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}},36166:(t,e,r)=>{t=r.nmd(t);var n=r(51483),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o?n.Buffer:void 0,c=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}},36702:(t,e,r)=>{var n=r(80942),o=r(26526);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},36772:(t,e,r)=>{var n=r(78097),o=r(72374),i=r(91958);t.exports=function(t){return n(t,i,o)}},36862:(t,e,r)=>{var n=r(30556),o=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},37183: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""}},37467:(t,e,r)=>{var n=r(30508),o=r(14344),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var a=t[e];i.call(t,e)&&o(a,r)&&(void 0!==r||e in t)||n(t,e,r)}},37765:(t,e,r)=>{var n=r(91108),o=r(71661),i=r(72374),a=r(91380);t.exports=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,i(t)),t=o(t);return e}:a},37951:(t,e,r)=>{var n=r(80942),o=r(35206),i=r(26526),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)]}},38055:(t,e,r)=>{var n=r(37951),o=r(99425),i=r(83903),a=i&&i.isTypedArray;t.exports=a?o(a):n},38185:(t,e,r)=>{var n=r(26630);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},38208:t=>{t.exports=function(t){return t.split("")}},39058:(t,e,r)=>{var n=r(78363),o=function(){var t=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!o&&o in t}},39089:(t,e,r)=>{t.exports=r(55777)()},40672:(t,e,r)=>{var n=r(33011),o=r(48908),i=r(91958);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}}},41076:(t,e,r)=>{t.exports=r(53832)},41334:(t,e,r)=>{var n=r(30508),o=r(16815),i=r(33011);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}},41982:(t,e,r)=>{var n=r(36862),o=r(26745),i=r(36702),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}},42493:(t,e,r)=>{var n=r(14638);t.exports=function(t){return function(e){return n(e,t)}}},42642: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}},42979:(t,e,r)=>{var n=r(29514),o=r(17719),i=r(69568),a=r(45645),c=r(32499),u=r(80942),l=r(37183),s="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",y="[object DataView]",d=l(n),v=l(o),m=l(i),b=l(a),g=l(c),x=u;(n&&x(new n(new ArrayBuffer(1)))!=y||o&&x(new o)!=s||i&&x(i.resolve())!=f||a&&x(new a)!=p||c&&x(new c)!=h)&&
1(x=function(t){var e=u(t),r="[object Object]"==e?t.constructor:void 0,n=r?l(r):"";if(n)switch(n){case d:return y;case v:return s;case m:return f;case b:return p;case g:return h}return e}),t.exports=x},43130:(t,e,r)=>{var n=r(42979),o=r(26526);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},43161:(t,e,r)=>{var n=r(70300),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},43526:(t,e,r)=>{var n=r(48486),o=r(94897),i=r(90176);t.exports=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:i},43539:t=>{t.exports=function(t){return this.__data__.has(t)}},44882:(t,e,r)=>{var n=r(90988);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}},45645:(t,e,r)=>{t.exports=r(83558)(r(51483),"Set")},46239:t=>{t.exports=function(t){return this.__data__.get(t)}},46799:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},47387: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}},48486:t=>{t.exports=function(t){return function(){return t}}},48665:(t,e,r)=>{var n=r(36702);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}},48728:(t,e,r)=>{t=r.nmd(t);var n=r(51483),o=r(21457),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},48883:(t,e,r)=>{var n=r(91426),o=r(14638),i=r(33011),a=r(32812),c=r(15791),u=r(99425),l=r(44882),s=r(90176),f=r(25411);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)})}},48908:(t,e,r)=>{var n=r(71730),o=r(35206);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},49832:(t,e,r)=>{var n=r(20117),o=r(67941);t.exports=function(t,e){return t&&n(e,o(e),t)}},50030:(t,e,r)=>{var n=r(73423),o=r(91426),i=r(25411),a=r(36702),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}},51204:(t,e,r)=>{var n=r(70300);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},51483:(t,e,r)=>{var n=r(24402),o="object"==typeof self&&self&&self.Object===Object&&self;t.exports=n||o||Function("return this")()},53341:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},53832:t=>{t.exports=function(t){return t&&t.length?t[0]:void 0}},53988:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},54125:(t,e,r)=>{var n=r(26745),o=r(95295),i=r(46799),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return i(t);var e=o(t),r=[];for(var c in t)"constructor"==c&&(e||!a.call(t,c))||r.push(c);return r}},55415:(t,e,r)=>{var n=r(29887),o=r(33011),i=r(80055),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)}},55428:t=>{t.exports=function(){this.__data__=[],this.size=0}},55503:(t,e,r)=>{var n=r(78097),o=r(37765),i=r(67941);t.exports=function(t){return n(t,i,o)}},55777: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}}},56507:(t,e,r)=>{var n=r(31481),o=r(8524),i=r(87421);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),h=u.get(e);if(p&&h)return p==e&&h==t;var y=-1,d=!0,v=2&r?new n:void 0;for(u.set(t,e),u.set(e,t);++y<s;){var m=t[y],b=e[y];if(a)var g=l?a(b,m,y,e,t,u):a(m,b,y,t,e,u);if(void 0!==g){if(g)continue;d=!1;break}if(v){if(!o(e,function(t,e){if(!i(v,e)&&(m===t||c(m,t,r,a,u)))return v.push(e)})){d=!1;break}}else if(!(m===b||c(m,b,r,a,u))){d=!1;break}}return u.delete(t),u.delete(e),d}},57716:t=>{var e=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},57815:(t,e,r)=>{var n=r(73423),o=r(25902),i=r(25411),a=n?n.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},57923:t=>{t.exports=function(t){return this.__data__.has(t)}},58034:(t,e,r)=>{var n=r(28007);t.exports=function(){this.__data__=new n,this.size=0}},58140:(t,e,r)=>{var n=r(26932);t.exports=function(t){return(null==t?0:t.length)?n(t,1):[]}},58840:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},59901:(t,e,r)=>{var n=r(45645),o=r(8186),i=r(7745);t.exports=n&&1/i(new n([,-0]))[1]==1/0?function(t){return new n(t)}:o},59955:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},60044:(t,e,r)=>{var n=r(18135),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)}},60057:(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"),h=Symbol.for("react.memo"),y=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 y:case h:case c:return t;default:return e}}case n:return e}}}(t)===o}},60239:(t,e,r)=>{var n=r(74861),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)}}},60656:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},61877:(t,e,r)=>{var n=r(70300),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}},61927:(t,e,r)=>{var n=r(26932),o=r(48883),i=r(11428),a=r(17202);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),[])})},63055:(t,e,r)=>{var n=r(21187),o=r(30114),i=r(67971),a=r(76917);t.exports=function(t,e){return e=n(e,t),null==(t=i(t,e))||delete t[a(o(e))]}},63134:(t,e,r)=>{var n=r(95295),o=r(26660),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}},63270:(t,e,r)=>{var n=r(33011),o=r(21899);t.exports=function(t,e){return t&&t.length?o(t,n(e,2)):[]}},63431:(t,e,r)=>
vendor: 4,963 bytes, line 1
1{var n=r(51204),o=r(13132),i=r(61877),a=r(43161),c=r(6745);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},65211:(t,e,r)=>{t.exports=r(78720)()},65246:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},66126:(t,e,r)=>{var n=r(81495);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},66196:(t,e,r)=>{var n=r(42979),o=r(26526);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},67225:(t,e,r)=>{var n=r(48665),o=r(89109),i=r(33011);t.exports=function(t,e){return t&&t.length?n(t,i(e,2),o):void 0}},67941:(t,e,r)=>{var n=r(82979),o=r(54125),i=r(48908);t.exports=function(t){return i(t)?n(t,!0):o(t)}},67971:(t,e,r)=>{var n=r(14638),o=r(69096);t.exports=function(t,e){return e.length<2?t:n(t,o(e,0,-1))}},68867:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}},69079:(t,e,r)=>{var n=r(69833),o=r(83642);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 h=new n;if(i)var y=i(f,p,s,t,e,h);if(!(void 0===y?o(p,f,3,i,h):y))return!1}}return!0}},69096: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}},69235:(t,e,r)=>{var n=r(69833),o=r(97005),i=r(37467),a=r(95655),c=r(49832),u=r(36166),l=r(84575),s=r(72743),f=r(97288),p=r(36772),h=r(55503),y=r(42979),d=r(15027),v=r(82341),m=r(13993),b=r(25411),g=r(48728),x=r(74780),O=r(26745),w=r(95506),j=r(91958),A=r(67941),S="[object Arguments]",P="[object Function]",E="[object Object]",k={};k[S]=k["[object Array]"]=k["[object ArrayBuffer]"]=k["[object DataView]"]=k["[object Boolean]"]=k["[object Date]"]=k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Map]"]=k["[object Number]"]=k[E]=k["[object RegExp]"]=k["[object Set]"]=k["[object String]"]=k["[object Symbol]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k["[object Error]"]=k[P]=k["[object WeakMap]"]=!1,t.exports=function t(e,r,T,M,_,C){var D,I=1&r,N=2&r,R=4&r;if(T&&(D=_?T(e,M,_,C):T(e)),void 0!==D)return D;if(!O(e))return e;var B=b(e);if(B){if(D=d(e),!I)return l(e,D)}else{var L=y(e),z=L==P||"[object GeneratorFunction]"==L;if(g(e))return u(e,I);if(L==E||L==S||z&&!_){if(D=N||z?{}:m(e),!I)return N?f(e,c(D,e)):s(e,a(D,e))}else{if(!k[L])return _?e:{};D=v(e,L,I)}}C||(C=new n);var F=C.get(e);if(F)return F;C.set(e,D),w(e)?e.forEach(function(n){D.add(t(n,r,T,n,e,C))}):x(e)&&e.forEach(function(n,o){D.set(o,t(n,r,T,o,e,C))});var U=R?N?h:p:N?A:j,W=B?void 0:U(e);return o(W||e,function(n,o){W&&(n=e[o=n]),i(D,o,t(n,r,T,o,e,C))}),D}},69568:(t,e,r)=>{t.exports=r(83558)(r(51483),"Promise")},69833:(t,e,r)=>{var n=r(28007),o=r(58034),i=r(65246),a=r(46239),c=r(57923),u=r(27467);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},70300:(t,e,r)=>{t.exports=r(83558)(Object,"create")},70637: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}},71624:(t,e,r)=>{var n=r(38208),o=r(57716),i=r(79608);t.exports=function(t){return o(t)?i(t):n(t)}},71661:(t,e,r)=>{t.exports=r(59955)(Object.getPrototypeOf,Object)},71730:(t,e,r)=>{var n=r(80942),o=r(26745);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}},72092:(t,e,r)=>{var n=r(48665),o=r(89109),i=r(90176);t.exports=function(t){return t&&t.length?n(t,i,o):void 0}},72374:(t,e,r)=>{var n=r(42642),o=r(91380),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},72377:(t,e,r)=>{var n=r(18135);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}},72743:(t,e,r)=>{var n=r(20117),o=r(72374);t.exports=function(t,e){return n(t,o(t),e)}},73423:(t,e,r)=>{t.exports=r(51483).Symbol},74633:(t,e,r)=>{var n=r(96273),o=r(9142);t.exports=function(t,e){return null!=t&&o(t,e,n)}},74743:(t,e,r)=>{var n=r(80942),o=r(25411),i=r(26526);
1t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&"[object String]"==n(t)}},74780:(t,e,r)=>{var n=r(66196),o=r(99425),i=r(83903),a=i&&i.isMap;t.exports=a?o(a):n},74861: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)}},76462:(t,e,r)=>{var n=r(26745);t.exports=function(t){return t==t&&!n(t)}},76917:(t,e,r)=>{var n=r(36702),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}},77852:(t,e,r)=>{var n=r(38185);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=!!e,e}},78097:(t,e,r)=>{var n=r(91108),o=r(25411);t.exports=function(t,e,r){var i=e(t);return o(t)?i:n(i,r(t))}},78245:(t,e,r)=>{var n=r(18223);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},78363:(t,e,r)=>{t.exports=r(51483)["__core-js_shared__"]},78411:(t,e,r)=>{var n=r(91426),o=r(69235),i=r(63055),a=r(21187),c=r(20117),u=r(86870),l=r(81402),s=r(55503);t.exports=l(function(t,e){var r={};if(null==t)return r;var l=!1;e=n(e,function(e){return e=a(e,t),l||(l=e.length>1),e}),c(t,s(t),r),l&&(r=o(r,7,u));for(var f=e.length;f--;)i(r,e[f]);return r})},78720:(t,e,r)=>{var n=r(15907),o=r(17202),i=r(14144);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)}}},79608: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)||[]}},80009:(t,e,r)=>{var n=r(38185);t.exports=function(t){return n(this,t).has(t)}},80055:(t,e,r)=>{var n=r(14144);t.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},80385:t=>{t.exports=function(t){return null==t}},80389:(t,e,r)=>{var n=r(38185);t.exports=function(t){return n(this,t).get(t)}},80942:(t,e,r)=>{var n=r(73423),o=r(35443),i=r(58840),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)}},81402:(t,e,r)=>{var n=r(58140),o=r(60239),i=r(84729);t.exports=function(t){return i(o(t,void 0,n),t+"")}},81495:(t,e,r)=>{var n=r(15668),o=r(77852),i=r(80389),a=r(80009),c=r(16809);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},81864:(t,e,r)=>{var n=r(4816),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})},82341:(t,e,r)=>{var n=r(18223),o=r(23629),i=r(11089),a=r(85296),c=r(78245);t.exports=function(t,e,r){var u=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return c(t,r);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return i(t);case"[object Symbol]":return a(t)}}},82455:t=>{t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},82979:(t,e,r)=>{var n=r(53988),o=r(25902),i=r(25411),a=r(48728),c=r(70637),u=r(38055),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),h=r||s||f||p,y=h?n(t.length,String):[],d=y.length;for(var v in t)(e||l.call(t,v))&&!(h&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,d)))&&y.push(v);return y}},83558:(t,e,r)=>{var n=r(94885),o=r(32198);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},83642:(t,e,r)=>{var n=r(24604),o=r(26526);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)}},83693:(t,e,r)=>{var n=r(26745),o=r(26810),i=r(41982),a=Math.max,c=Math.min;t.exports=function(t,e,r){var u,l,s,f,p,h,y=0,d=!1,v=!1,m=!0;if("function"!=typeof t)throw TypeError("Expected a function");function b(e){var r=u,n=l;return u=l=void 0,y=e,f=t.apply(n,r)}function g(t){var r=t-h,n=t-y;return void 0===h||r>=e||r<0||v&&n>=s}function x(){var t,r,n,i=o();if(g(i))return O(i);p=setTimeout(x,(t=i-h,r=i-y,n=e-t,v?c(n,s-r):n))}function O(t){return(p=void 0,m&&u)?b(t):(u=l=void 0,f)}function w(){var t,r=o(),n=g(r);if(u=arguments,l=this,h=r,n){if(void 0===p)return y=t=h,p=setTimeout(x,e),d?b(t):f;if(v)return clearTimeout(p),p=setTimeout(x,e),b(h)}return void 0===p&&(p=setTimeout(x,e)),f}
1return e=i(e)||0,n(r)&&(d=!!r.leading,s=(v="maxWait"in r)?a(i(r.maxWait)||0,e):s,m="trailing"in r?!!r.trailing:m),w.cancel=function(){void 0!==p&&clearTimeout(p),y=0,u=h=l=p=void 0},w.flush=function(){return void 0===p?f:O(o())},w}},83903:(t,e,r)=>{t=r.nmd(t);var n=r(24402),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},84521:(t,e,r)=>{var n=r(26932),o=r(96676);t.exports=function(t,e){return n(o(t,e),1)}},84575:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}},84729:(t,e,r)=>{var n=r(43526);t.exports=r(3489)(n)},84856:(t,e,r)=>{var n=r(73423),o=r(91602),i=r(14344),a=r(56507),c=r(68867),u=r(7745),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 h=c;case"[object Set]":var y=1&n;if(h||(h=u),t.size!=e.size&&!y)break;var d=p.get(t);if(d)return d==e;n|=2,p.set(t,e);var v=a(h(t),h(e),n,l,f,p);return p.delete(t),v;case"[object Symbol]":if(s)return s.call(t)==s.call(e)}return!1}},85296:(t,e,r)=>{var n=r(73423),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;t.exports=function(t){return i?Object(i.call(t)):{}}},86870:(t,e,r)=>{var n=r(34741);t.exports=function(t){return n(t)?void 0:t}},87421:t=>{t.exports=function(t,e){return t.has(e)}},87594:(t,e,r)=>{var n=r(6407);t.exports=function(t,e){var r;return n(t,function(t,n,o){return!(r=e(t,n,o))}),!!r}},89109:t=>{t.exports=function(t,e){return t>e}},90176:t=>{t.exports=function(t){return t}},90421:(t,e,r)=>{var n=r(6407);t.exports=function(t,e){var r=!0;return n(t,function(t,n,o){return r=!!e(t,n,o)}),r}},90988:(t,e,r)=>{var n=r(36702);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}},91038:(t,e,r)=>{var n=r(48665),o=r(31450),i=r(90176);t.exports=function(t){return t&&t.length?n(t,i,o):void 0}},91108: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}},91373:(t,e,r)=>{var n=r(47387),o=r(90421),i=r(33011),a=r(25411),c=r(17202);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))}},91380:t=>{t.exports=function(){return[]}},91426: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}},91602:(t,e,r)=>{t.exports=r(51483).Uint8Array},91958:(t,e,r)=>{var n=r(82979),o=r(63134),i=r(48908);t.exports=function(t){return i(t)?n(t):o(t)}},92441:(t,e,r)=>{var n=r(18135);t.exports=function(t){return n(this.__data__,t)>-1}},92653:(t,e,r)=>{t.exports=r(40672)(r(55415))},94820: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,h=s.length;for(l=0;l<h;l++)switch(s[l].once&&this.removeListener(t,s[l].fn,void 0,!0),f){case 1:s[l].fn.call(s[l].context);break;case 2:s[l].fn.call(s[l].context,e);break;case 3:s[l].fn.call(s[l].context,e,n);break;case 4:s[l].fn.call(s[l].context,e,n,o);break;default:if(!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];
vendor: 1,030 bytes, line 1
1if(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},94885:(t,e,r)=>{var n=r(71730),o=r(39058),i=r(26745),a=r(37183),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))}},94897:(t,e,r)=>{var n=r(83558);t.exports=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},95295:t=>{var e=Object.prototype;
1t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},95506:(t,e,r)=>{var n=r(43130),o=r(99425),i=r(83903),a=i&&i.isSet;t.exports=a?o(a):n},95655:(t,e,r)=>{var n=r(20117),o=r(91958);t.exports=function(t,e){return t&&n(e,o(e),t)}},95918:(t,e,r)=>{var n=r(69096);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)}},96061:(t,e,r)=>{"use strict";t.exports=r(60057)},96273:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},96676:(t,e,r)=>{var n=r(91426),o=r(33011),i=r(32812),a=r(25411);t.exports=function(t,e){return(a(t)?n:i)(t,o(e,3))}},97005:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t}},97288:(t,e,r)=>{var n=r(20117),o=r(37765);t.exports=function(t,e){return n(t,o(t),e)}},98134:(t,e,r)=>{var n=r(14638);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},98142:(t,e,r)=>{var n=r(80942),o=r(26526);t.exports=function(t){return!0===t||!1===t||o(t)&&"[object Boolean]"==n(t)}},99425:t=>{t.exports=function(t){return function(e){return t(e)}}},99810:(t,e,r)=>{var n=r(8524),o=r(33011),i=r(87594),a=r(25411),c=r(17202);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))}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.