exports.id=178,exports.ids=[178],exports.modules={1323:(t,e)=>{"use strict";Object.defineProperty(e,"l",{enumerable:!0,get:function(){return function t(e,r){return r in e?e[r]:"then"in e&&"function"==typeof e.then?e.then(e=>t(e,r)):"function"==typeof e&&"default"===r?e:void 0}}})},953:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addBasePath",{enumerable:!0,get:function(){return i}});let n=r(475),o=r(8364);function i(t,e){return(0,o.normalizePathTrailingSlash)((0,n.addPathPrefix)(t,""))}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},1443:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addLocale",{enumerable:!0,get:function(){return n}}),r(8364);let n=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return t};("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},6691:(t,e)=>{"use strict";var r,n;Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{ACTION_FAST_REFRESH:function(){return u},ACTION_NAVIGATE:function(){return i},ACTION_PREFETCH:function(){return l},ACTION_REFRESH:function(){return o},ACTION_RESTORE:function(){return a},ACTION_SERVER_ACTION:function(){return s},ACTION_SERVER_PATCH:function(){return c},PrefetchCacheEntryStatus:function(){return n},PrefetchKind:function(){return r},isThenable:function(){return f}});let o="refresh",i="navigate",a="restore",c="server-patch",l="prefetch",u="fast-refresh",s="server-action";function f(t){return t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}(function(t){t.AUTO="auto",t.FULL="full",t.TEMPORARY="temporary"})(r||(r={})),function(t){t.fresh="fresh",t.reusable="reusable",t.expired="expired",t.stale="stale"}(n||(n={})),("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},4318:(t,e,r)=>{"use strict";function n(t,e,r,n){return!1}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(8364),("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},9142:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"hasBasePath",{enumerable:!0,get:function(){return o}});let n=r(8106);function o(t){return(0,n.pathHasPrefix)(t,"")}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},9577:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return b}});let n=r(167),o=r(997),i=n._(r(6689)),a=r(1401),c=r(2045),l=r(7420),u=r(7201),s=r(1443),f=r(5469),p=r(7443),d=r(2905),y=r(4318),h=r(953),v=r(6691);function m(t){return"string"==typeof t?t:(0,l.formatUrl)(t)}let b=i.default.forwardRef(function(t,e){let r,n;let{href:l,as:b,children:g,prefetch:O=null,passHref:x,replace:w,shallow:j,scroll:P,locale:S,onClick:A,onMouseEnter:E,onTouchStart:k,legacyBehavior:T=!1,...M}=t;r=g,T&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let I=i.default.useContext(f.RouterContext),C=i.default.useContext(p.AppRouterContext),D=null!=I?I:C,N=!I,B=!1!==O,L=null===O?v.PrefetchKind.AUTO:v.PrefetchKind.FULL,{href:R,as:_}=i.default.useMemo(()=>{if(!I){let t=m(l);return{href:t,as:b?m(b):t}}let[t,e]=(0,a.resolveHref)(I,l,!0);return{href:t,as:b?(0,a.resolveHref)(I,b):e||t}},[I,l,b]),z=i.default.useRef(R),W=i.default.useRef(_);T&&(n=i.default.Children.only(r));let U=T?n&&"object"==typeof n&&n.ref:e,[F,X,G]=(0,d.useIntersection)({rootMargin:"200px"}),K=i.default.useCallback(t=>{(W.current!==_||z.current!==R)&&(G(),W.current=_,z.current=R),F(t),U&&("function"==typeof U?U(t):"object"==typeof U&&(U.current=t))},[_,U,R,G,F]);i.default.useEffect(()=>{},[_,R,X,S,B,null==I?void 0:I.locale,D,N,L]);let V={ref:K,onClick(t){T||"function"!=typeof A||A(t),T&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(t),D&&!t.defaultPrevented&&function(t,e,r,n,o,a,l,u,s){let{nodeName:f}=t.currentTarget;if("A"===f.toUpperCase()&&(function(t){let e=t.currentTarget.getAttribute("target");return e&&"_self"!==e||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which}(t)||!s&&!(0,c.isLocalURL)(r)))return;t.preventDefault();let p=()=>{let t=null==l||l;"beforePopState"in e?e[o?"replace":"push"](r,n,{shallow:a,locale:u,scroll:t}):e[o?"replace":"push"](n||r,{scroll:t})};s?i.default.startTransition(p):p()}(t,D,R,_,w,j,P,S,N)},onMouseEnter(t){T||"function"!=typeof E||E(t),T&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(t)},onTouchStart:function(t){T||"function"!=typeof k||k(t),T&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(t)}};if((0,u.isAbsoluteUrl)(_))V.href=_;else if(!T||x||"a"===n.type&&!("href"in n.props)){let t=void 0!==S?S:null==I?void 0:I.locale,e=(null==I?void 0:I.isLocaleDomain)&&(0,y.getDomainLocale)(_,t,null==I?void 0:I.locales,null==I?void 0:I.domainLocales);V.href=e||(0,h.addBasePath)((0,s.addLocale)(_,t,null==I?void 0:I.defaultLocale))}return T?i.default.cloneElement(n,V):(0,o.jsx)("a",{...M,...V,children:r})});("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},8364:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return i}});let n=r(9362),o=r(2107),i=t=>{if(!t.startsWith("/"))return t;let{pathname:e,query:r,hash:i}=(0,o.parsePath)(t);return""+(0,n.removeTrailingSlash)(e)+r+i};("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},3815:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(t){let e=Date.now();return self.setTimeout(function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(t){return clearTimeout(t)};("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},1401:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"resolveHref",{enumerable:!0,get:function(){return f}});let n=r(8260),o=r(7420),i=r(3061),a=r(7201),c=r(8364),l=r(2045),u=r(5722),s=r(4321);function f(t,e,r){let f;let p="string"==typeof e?e:(0,o.formatWithValidation)(e),d=p.match(/^[a-zA-Z]{1,}:\/\//),y=d?p.slice(d[0].length):p;if((y.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+p+"' passed to next/router in page: '"+t.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let e=(0,a.normalizeRepeatedSlashes)(y);p=(d?d[0]:"")+e}if(!(0,l.isLocalURL)(p))return r?[p]:p;try{f=new URL(p.startsWith("#")?t.asPath:t.pathname,"http://n")}catch(t){f=new URL("/","http://n")}try{let t=new URL(p,f);t.pathname=(0,c.normalizePathTrailingSlash)(t.pathname);let e="";if((0,u.isDynamicRoute)(t.pathname)&&t.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(t.searchParams),{result:a,params:c}=(0,s.interpolateAs)(t.pathname,t.pathname,r);a&&(e=(0,o.formatWithValidation)({pathname:a,hash:t.hash,query:(0,i.omit)(r,c)}))}let a=t.origin===f.origin?t.href.slice(t.origin.length):t.href;return r?[a,e||a]:a}catch(t){return r?[p]:p}}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},2905:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useIntersection",{enumerable:!0,get:function(){return l}});let n=r(6689),o=r(3815),i="function"==typeof IntersectionObserver,a=new Map,c=[];function l(t){let{rootRef:e,rootMargin:r,disabled:l}=t,u=l||!i,[s,f]=(0,n.useState)(!1),p=(0,n.useRef)(null),d=(0,n.useCallback)(t=>{p.current=t},[]);return(0,n.useEffect)(()=>{if(i){if(u||s)return;let t=p.current;if(t&&t.tagName)return function(t,e,r){let{id:n,observer:o,elements:i}=function(t){let e;let r={root:t.root||null,margin:t.rootMargin||""},n=c.find(t=>t.root===r.root&&t.margin===r.margin);if(n&&(e=a.get(n)))return e;let o=new Map;return e={id:r,observer:new IntersectionObserver(t=>{t.forEach(t=>{let e=o.get(t.target),r=t.isIntersecting||t.intersectionRatio>0;e&&r&&e(r)})},t),elements:o},c.push(r),a.set(r,e),e}(r);return i.set(t,e),o.observe(t),function(){if(i.delete(t),o.unobserve(t),0===i.size){o.disconnect(),a.delete(n);let t=c.findIndex(t=>t.root===n.root&&t.margin===n.margin);t>-1&&c.splice(t,1)}}}(t,t=>t&&f(t),{root:null==e?void 0:e.current,rootMargin:r})}else if(!s){let t=(0,o.requestIdleCallback)(()=>f(!0));return()=>(0,o.cancelIdleCallback)(t)}},[u,r,e,s,p.current]),[d,s,(0,n.useCallback)(()=>{f(!1)},[])]}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},1885:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function o(t){return r.test(t)?t.replace(n,"\\$&"):t}},475:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addPathPrefix",{enumerable:!0,get:function(){return o}});let n=r(2107);function o(t,e){if(!t.startsWith("/")||!e)return t;let{pathname:r,query:o,hash:i}=(0,n.parsePath)(t);return""+e+r+o+i}},7420:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{formatUrl:function(){return i},formatWithValidation:function(){return c},urlObjectKeys:function(){return a}});let n=r(8760)._(r(8260)),o=/https?|ftp|gopher|file/;function i(t){let{auth:e,hostname:r}=t,i=t.protocol||"",a=t.pathname||"",c=t.hash||"",l=t.query||"",u=!1;e=e?encodeURIComponent(e).replace(/%3A/i,":")+"@":"",t.host?u=e+t.host:r&&(u=e+(~r.indexOf(":")?"["+r+"]":r),t.port&&(u+=":"+t.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let s=t.search||l&&"?"+l||"";return i&&!i.endsWith(":")&&(i+=":"),t.slashes||(!i||o.test(i))&&!1!==u?(u="//"+(u||""),a&&"/"!==a[0]&&(a="/"+a)):u||(u=""),c&&"#"!==c[0]&&(c="#"+c),s&&"?"!==s[0]&&(s="?"+s),""+i+u+(a=a.replace(/[?#]/g,encodeURIComponent))+(s=s.replace("#","%23"))+c}let a=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(t){return i(t)}},4321:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"interpolateAs",{enumerable:!0,get:function(){return i}});let n=r(122),o=r(2437);function i(t,e,r){let i="",a=(0,o.getRouteRegex)(t),c=a.groups,l=(e!==t?(0,n.getRouteMatcher)(a)(e):"")||r;i=t;let u=Object.keys(c);return u.every(t=>{let e=l[t]||"",{repeat:r,optional:n}=c[t],o="["+(r?"...":"")+t+"]";return n&&(o=(e?"":"/")+"["+o+"]"),r&&!Array.isArray(e)&&(e=[e]),(n||t in l)&&(i=i.replace(o,r?e.map(t=>encodeURIComponent(t)).join("/"):encodeURIComponent(e))||"/")})||(i=""),{params:u,result:i}}},2045:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isLocalURL",{enumerable:!0,get:function(){return i}});let n=r(7201),o=r(9142);function i(t){if(!(0,n.isAbsoluteUrl)(t))return!0;try{let e=(0,n.getLocationOrigin)(),r=new URL(t,e);return r.origin===e&&(0,o.hasBasePath)(r.pathname)}catch(t){return!1}}},3061:(t,e)=>{"use strict";function r(t,e){let r={};return Object.keys(t).forEach(n=>{e.includes(n)||(r[n]=t[n])}),r}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"omit",{enumerable:!0,get:function(){return r}})},2107:(t,e)=>{"use strict";function r(t){let e=t.indexOf("#"),r=t.indexOf("?"),n=r>-1&&(e<0||r<e);return n||e>-1?{pathname:t.substring(0,n?r:e),query:n?t.substring(r,e>-1?e:void 0):"",hash:e>-1?t.slice(e):""}:{pathname:t,query:"",hash:""}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return r}})},8106:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let n=r(2107);function o(t,e){if("string"!=typeof t)return!1;let{pathname:r}=(0,n.parsePath)(t);return r===e||r.startsWith(e+"/")}},8260:(t,e)=>{"use strict";function r(t){let e={};return t.forEach((t,r)=>{void 0===e[r]?e[r]=t:Array.isArray(e[r])?e[r].push(t):e[r]=[e[r],t]}),e}function n(t){return"string"!=typeof t&&("number"!=typeof t||isNaN(t))&&"boolean"!=typeof t?"":String(t)}function o(t){let e=new URLSearchParams;return Object.entries(t).forEach(t=>{let[r,o]=t;Array.isArray(o)?o.forEach(t=>e.append(r,n(t))):e.set(r,n(o))}),e}function i(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return r.forEach(e=>{Array.from(e.keys()).forEach(e=>t.delete(e)),e.forEach((e,r)=>t.append(r,e))}),t}Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{assign:function(){return i},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o}})},9362:(t,e)=>{"use strict";function r(t){return t.replace(/\/$/,"")||"/"}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},122:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(7201);function o(t){let{re:e,groups:r}=t;return t=>{let o=e.exec(t);if(!o)return!1;let i=t=>{try{return decodeURIComponent(t)}catch(t){throw new n.DecodeError("failed to decode param")}},a={};return Object.keys(r).forEach(t=>{let e=r[t],n=o[e.pos];void 0!==n&&(a[t]=~n.indexOf("/")?n.split("/").map(t=>i(t)):e.repeat?[i(n)]:i(n))}),a}}},2437:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{getNamedMiddlewareRegex:function(){return p},getNamedRouteRegex:function(){return f},getRouteRegex:function(){return l}});let n=r(2407),o=r(1885),i=r(9362);function a(t){let e=t.startsWith("[")&&t.endsWith("]");e&&(t=t.slice(1,-1));let r=t.startsWith("...");return r&&(t=t.slice(3)),{key:t,repeat:r,optional:e}}function c(t){let e=(0,i.removeTrailingSlash)(t).slice(1).split("/"),r={},c=1;return{parameterizedRoute:e.map(t=>{let e=n.INTERCEPTION_ROUTE_MARKERS.find(e=>t.startsWith(e)),i=t.match(/\[((?:\[.*\])|.+)\]/);if(e&&i){let{key:t,optional:n,repeat:l}=a(i[1]);return r[t]={pos:c++,repeat:l,optional:n},"/"+(0,o.escapeStringRegexp)(e)+"([^/]+?)"}if(!i)return"/"+(0,o.escapeStringRegexp)(t);{let{key:t,repeat:e,optional:n}=a(i[1]);return r[t]={pos:c++,repeat:e,optional:n},e?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function l(t){let{parameterizedRoute:e,groups:r}=c(t);return{re:RegExp("^"+e+"(?:/)?$"),groups:r}}function u(t){let{interceptionMarker:e,getSafeRouteKey:r,segment:n,routeKeys:i,keyPrefix:c}=t,{key:l,optional:u,repeat:s}=a(n),f=l.replace(/\W/g,"");c&&(f=""+c+f);let p=!1;(0===f.length||f.length>30)&&(p=!0),isNaN(parseInt(f.slice(0,1)))||(p=!0),p&&(f=r()),c?i[f]=""+c+l:i[f]=l;let d=e?(0,o.escapeStringRegexp)(e):"";return s?u?"(?:/"+d+"(?<"+f+">.+?))?":"/"+d+"(?<"+f+">.+?)":"/"+d+"(?<"+f+">[^/]+?)"}function s(t,e){let r;let a=(0,i.removeTrailingSlash)(t).slice(1).split("/"),c=(r=0,()=>{let t="",e=++r;for(;e>0;)t+=String.fromCharCode(97+(e-1)%26),e=Math.floor((e-1)/26);return t}),l={};return{namedParameterizedRoute:a.map(t=>{let r=n.INTERCEPTION_ROUTE_MARKERS.some(e=>t.startsWith(e)),i=t.match(/\[((?:\[.*\])|.+)\]/);if(r&&i){let[r]=t.split(i[0]);return u({getSafeRouteKey:c,interceptionMarker:r,segment:i[1],routeKeys:l,keyPrefix:e?"nxtI":void 0})}return i?u({getSafeRouteKey:c,segment:i[1],routeKeys:l,keyPrefix:e?"nxtP":void 0}):"/"+(0,o.escapeStringRegexp)(t)}).join(""),routeKeys:l}}function f(t,e){let r=s(t,e);return{...l(t),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function p(t,e){let{parameterizedRoute:r}=c(t),{catchAll:n=!0}=e;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:o}=s(t,!1);return{namedRegex:"^"+o+(n?"(?:(/.*)?)":"")+"$"}}},3809:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{$:()=>L});var o=r(6689),i=r.n(o),a=r(6593),c=r(3522),l=r.n(c),u=r(113),s=r.n(u),f=r(6069),p=r.n(f),d=r(357),y=r(4526),h=r(4487),v=r(759),m=r(5516),b=r(710),g=r(3387),O=r(4473),x=r(2481),w=r(5646),j=t([a,d,w,y,O,v]);[a,d,w,y,O,v]=j.then?(await j)():j;var P=["value","background"];function S(t){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function A(){return(A=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function E(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function k(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?E(Object(r),!0).forEach(function(e){N(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function T(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,B(n.key),n)}}function M(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(M=function(){return!!t})()}function I(t){return(I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function C(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D(t,e){return(D=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function N(t,e,r){return(e=B(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function B(t){var e=function(t,e){if("object"!=S(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=S(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==S(e)?e:String(e)}var L=function(t){var e,r;function n(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n);for(var t,e,r,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=n,r=[].concat(i),e=I(e),t=function(t,e){if(e&&("object"===S(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return C(t)}(this,M()?Reflect.construct(e,r||[],I(this).constructor):e.apply(this,r)),N(C(t),"state",{isAnimationFinished:!1}),N(C(t),"id",(0,m.EL)("recharts-bar-")),N(C(t),"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()}),N(C(t),"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()}),t}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&D(t,e)}(n,t),e=[{key:"renderRectanglesStatically",value:function(t){var e=this,r=this.props,n=r.shape,o=r.dataKey,a=r.activeIndex,c=r.activeBar,l=(0,b.L6)(this.props,!1);return t&&t.map(function(t,r){var u=r===a,s=k(k(k({},l),t),{},{isActive:u,option:u?c:n,index:r,dataKey:o,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return i().createElement(d.m,A({className:"recharts-bar-rectangle"},(0,x.bw)(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)}),i().createElement(w.O,s))})}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,r=e.data,n=e.layout,o=e.isAnimationActive,a=e.animationBegin,c=e.animationDuration,u=e.animationEasing,s=e.animationId,f=this.state.prevData;return i().createElement(l(),{begin:a,duration:c,isActive:o,easing:u,from:{t:0},to:{t:1},key:"bar-".concat(s),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(e){var o=e.t,a=r.map(function(t,e){var r=f&&f[e];if(r){var i=(0,m.k4)(r.x,t.x),a=(0,m.k4)(r.y,t.y),c=(0,m.k4)(r.width,t.width),l=(0,m.k4)(r.height,t.height);return k(k({},t),{},{x:i(o),y:a(o),width:c(o),height:l(o)})}if("horizontal"===n){var u=(0,m.k4)(0,t.height)(o);return k(k({},t),{},{y:t.y+t.height-u,height:u})}var s=(0,m.k4)(0,t.width)(o);return k(k({},t),{},{width:s})});return i().createElement(d.m,null,t.renderRectanglesStatically(a))})}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return r&&e&&e.length&&(!n||!s()(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,a=(0,b.L6)(this.props.background,!1);return r.map(function(e,r){e.value;var c=e.background,l=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(e,P);if(!c)return null;var u=k(k(k(k(k({},l),{},{fill:"#eee"},c),a),(0,x.bw)(t.props,e,r)),{},{onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd,dataKey:n,index:r,key:"background-bar-".concat(r),className:"recharts-bar-background-rectangle"});return i().createElement(w.O,A({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,a=r.yAxis,c=r.layout,l=r.children,u=(0,b.NN)(l,y.W);if(!u)return null;var s="vertical"===c?n[0].height/2:n[0].width/2,f=function(t,e){var r=Array.isArray(t.value)?t.value[1]:t.value;return{x:t.x,y:t.y,value:r,errorVal:(0,O.F$)(t,e)}};return i().createElement(d.m,{clipPath:t?"url(#clipPath-".concat(e,")"):null},u.map(function(t){return i().cloneElement(t,{key:"error-bar-".concat(e,"-").concat(t.props.dataKey),data:n,xAxis:o,yAxis:a,layout:c,offset:s,dataPointFormatter:f})}))}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,n=t.className,o=t.xAxis,c=t.yAxis,l=t.left,u=t.top,s=t.width,f=t.height,y=t.isAnimationActive,h=t.background,m=t.id;if(e||!r||!r.length)return null;var b=this.state.isAnimationFinished,g=(0,a.default)("recharts-bar",n),O=o&&o.allowDataOverflow,x=c&&c.allowDataOverflow,w=O||x,j=p()(m)?this.id:m;return i().createElement(d.m,{className:g},O||x?i().createElement("defs",null,i().createElement("clipPath",{id:"clipPath-".concat(j)},i().createElement("rect",{x:O?l:l-s/2,y:x?u:u-f/2,width:O?s:2*s,height:x?f:2*f}))):null,i().createElement(d.m,{className:"recharts-bar-rectangles",clipPath:w?"url(#clipPath-".concat(j,")"):null},h?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(w,j),(!y||b)&&v.e.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&&T(n.prototype,e),r&&T(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(o.PureComponent);N(L,"displayName","Bar"),N(L,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!g.x.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),N(L,"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,l=t.yAxisTicks,u=t.stackedData,s=t.dataStartIndex,f=t.displayedData,p=t.offset,d=(0,O.Bu)(n,r);if(!d)return null;var y=e.layout,v=r.props,g=v.dataKey,x=v.children,j=v.minPointSize,P="horizontal"===y?a:i,S=u?P.scale.domain():null,A=(0,O.Yj)({numericAxis:P}),E=(0,b.NN)(x,h.b),T=f.map(function(t,e){u?f=(0,O.Vv)(u[s+e],S):(f=(0,O.F$)(t,g),Array.isArray(f)||(f=[A,f]));var n=(0,w.A)(j,L.defaultProps.minPointSize)(f[1],e);if("horizontal"===y){var f,p,h,v,b,x,P,T=[a.scale(f[0]),a.scale(f[1])],M=T[0],I=T[1];p=(0,O.Fy)({axis:i,ticks:c,bandSize:o,offset:d.offset,entry:t,index:e}),h=null!==(P=null!=I?I:M)&&void 0!==P?P:void 0,v=d.size;var C=M-I;if(b=Number.isNaN(C)?0:C,x={x:p,y:a.y,width:v,height:a.height},Math.abs(n)>0&&Math.abs(b)<Math.abs(n)){var D=(0,m.uY)(b||n)*(Math.abs(n)-Math.abs(b));h-=D,b+=D}}else{var N=[i.scale(f[0]),i.scale(f[1])],B=N[0],R=N[1];if(p=B,h=(0,O.Fy)({axis:a,ticks:l,bandSize:o,offset:d.offset,entry:t,index:e}),v=R-B,b=d.size,x={x:i.x,y:h,width:i.width,height:b},Math.abs(n)>0&&Math.abs(v)<Math.abs(n)){var _=(0,m.uY)(v||n)*(Math.abs(n)-Math.abs(v));v+=_}}return k(k(k({},t),{},{x:p,y:h,width:v,height:b,value:u?f:f[1],payload:t,background:x},E&&E[e]&&E[e].props),{},{tooltipPayload:[(0,O.Qo)(r,t)],tooltipPosition:{x:p+v/2,y:h+b/2}})});return k({data:T,layout:y},p)}),n()}catch(t){n(t)}})},4688:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{B:()=>C});var o=r(6689),i=r.n(o),a=r(6593),c=r(8970),l=r(5716),u=r.n(l),s=r(4042),f=r.n(s),p=r(357),d=r(7240),y=r(4473),h=r(5516),v=r(5067),m=r(710),b=t([a,y,p,d]);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(){return(O=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function w(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?x(Object(r),!0).forEach(function(e){k(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function j(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,T(n.key),n)}}function P(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(P=function(){return!!t})()}function S(t){return(S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function A(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E(t,e){return(E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function k(t,e,r){return(e=T(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function T(t){var e=function(t,e){if("object"!=g(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=g(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==g(e)?e:String(e)}[a,y,p,d]=b.then?(await b)():b;var M=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 l=e.length,u=(0,c.scalePoint)().domain(f()(0,l)).range([o,o+i-a]),s=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:s}},I=function(t){return t.changedTouches&&!!t.changedTouches.length},C=function(t){var e,r;function n(t){var e,r,o;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n),r=n,o=[t],r=S(r),e=function(t,e){if(e&&("object"===g(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return A(t)}(this,P()?Reflect.construct(r,o||[],S(this).constructor):r.apply(this,o)),k(A(e),"handleDrag",function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)}),k(A(e),"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])}),k(A(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()}),k(A(e),"handleLeaveWrapper",function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))}),k(A(e),"handleEnterSlideOrTraveller",function(){e.setState({isTextActive:!0})}),k(A(e),"handleLeaveSlideOrTraveller",function(){e.setState({isTextActive:!1})}),k(A(e),"handleSlideDragStart",function(t){var r=I(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),e.attachDragEndListener()}),e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(A(e),"startX"),endX:e.handleTravellerDragStart.bind(A(e),"endX")},e.state={},e}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&E(t,e)}(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,l=n.getIndexInRange(o,Math.min(e,r)),u=n.getIndexInRange(o,Math.max(e,r));return{startIndex:l-l%a,endIndex:u===c?c:u-u%a}}},{key:"getTextOfTick",value:function(t){var e=this.props,r=e.data,n=e.tickFormatter,o=e.dataKey,i=(0,y.F$)(r[t],o,t);return u()(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,l=i.travellerWidth,u=i.startIndex,s=i.endIndex,f=i.onChange,p=t.pageX-r;p>0?p=Math.min(p,a+c-l-o,a+c-l-n):p<0&&(p=Math.max(p,a-n,a-o));var d=this.getIndex({startX:n+p,endX:o+p});(d.startIndex!==u||d.endIndex!==s)&&f&&f(d),this.setState({startX:n+p,endX:o+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=I(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,l=c.x,u=c.width,s=c.travellerWidth,f=c.onChange,p=c.gap,d=c.data,y={startX:this.state.startX,endX:this.state.endX},h=t.pageX-r;h>0?h=Math.min(h,l+u-s-a):h<0&&(h=Math.max(h,l-a)),y[n]=a+h;var v=this.getIndex(y),m=v.startIndex,b=v.endIndex,g=function(){var t=d.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(k(k({},n,a+h),"brushMoveStartX",t.pageX),function(){f&&g()&&f(v)})}},{key:"handleTravellerMoveKeyboard",value:function(t,e){var r=this,n=this.state,o=n.scaleValues,i=n.startX,a=n.endX,c=this.state[e],l=o.indexOf(c);if(-1!==l){var u=l+t;if(-1!==u&&!(u>=o.length)){var s=o[u];"startX"===e&&s>=a||"endX"===e&&s<=i||this.setState(k({},e,s),function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.state.endX}))})}}}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,a=t.fill,c=t.stroke;return i().createElement("rect",{stroke:c,fill:a,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,a=t.height,c=t.data,l=t.children,u=t.padding,s=o.Children.only(l);return s?i().cloneElement(s,{x:e,y:r,width:n,height:a,margin:u,compact:!0,data:c}):null}},{key:"renderTravellerLayer",value:function(t,e){var r,o,a=this,c=this.props,l=c.y,u=c.travellerWidth,s=c.height,f=c.traveller,d=c.ariaLabel,y=c.data,h=c.startIndex,v=c.endIndex,b=Math.max(t,this.props.x),g=w(w({},(0,m.L6)(this.props,!1)),{},{x:b,y:l,width:u,height:s}),O=d||"Min value: ".concat(null===(r=y[h])||void 0===r?void 0:r.name,", Max value: ").concat(null===(o=y[v])||void 0===o?void 0:o.name);return i().createElement(p.m,{tabIndex:0,role:"slider","aria-label":O,"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(),a.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,e))},onFocus:function(){a.setState({isTravellerFocused:!0})},onBlur:function(){a.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},n.renderTraveller(f,g))}},{key:"renderSlide",value:function(t,e){var r=this.props,n=r.y,o=r.height,a=r.stroke,c=r.travellerWidth;return i().createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:Math.min(t,e)+c,y:n,width:Math.max(Math.abs(e-t)-c,0),height:o})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,r=t.endIndex,n=t.y,o=t.height,a=t.travellerWidth,c=t.stroke,l=this.state,u=l.startX,s=l.endX,f={pointerEvents:"none",fill:c};return i().createElement(p.m,{className:"recharts-brush-texts"},i().createElement(d.x,O({textAnchor:"end",verticalAnchor:"middle",x:Math.min(u,s)-5,y:n+o/2},f),this.getTextOfTick(e)),i().createElement(d.x,O({textAnchor:"start",verticalAnchor:"middle",x:Math.max(u,s)+a+5,y:n+o/2},f),this.getTextOfTick(r)))}},{key:"render",value:function(){var t=this.props,e=t.data,r=t.className,n=t.children,o=t.x,c=t.y,l=t.width,u=t.height,s=t.alwaysShowText,f=this.state,d=f.startX,y=f.endX,m=f.isTextActive,b=f.isSlideMoving,g=f.isTravellerMoving,O=f.isTravellerFocused;if(!e||!e.length||!(0,h.hj)(o)||!(0,h.hj)(c)||!(0,h.hj)(l)||!(0,h.hj)(u)||l<=0||u<=0)return null;var x=(0,a.default)("recharts-brush",r),w=1===i().Children.count(n),j=(0,v.g)("userSelect","none");return i().createElement(p.m,{className:x,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:j},this.renderBackground(),w&&this.renderPanorama(),this.renderSlide(d,y),this.renderTravellerLayer(d,"startX"),this.renderTravellerLayer(y,"endX"),(m||b||g||O||s)&&this.renderText())}}],r=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,r=t.y,n=t.width,o=t.height,a=t.stroke,c=Math.floor(r+o/2)-1;return i().createElement(i().Fragment,null,i().createElement("rect",{x:e,y:r,width:n,height:o,fill:a,stroke:"none"}),i().createElement("line",{x1:e+1,y1:c,x2:e+n-1,y2:c,fill:"none",stroke:"#fff"}),i().createElement("line",{x1:e+1,y1:c+2,x2:e+n-1,y2:c+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,e){return i().isValidElement(t)?i().cloneElement(t,e):u()(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,l=t.endIndex;if(r!==e.prevData||a!==e.prevUpdateId)return w({prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n},r&&r.length?M({data:r,width:n,x:o,travellerWidth:i,startIndex:c,endIndex:l}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||o!==e.prevX||i!==e.prevTravellerWidth)){e.scale.range([o,o+n-i]);var u=e.scale.domain().map(function(t){return e.scale(t)});return{prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:u}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=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&&j(n.prototype,e),r&&j(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(o.PureComponent);k(C,"displayName","Brush"),k(C,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1}),n()}catch(t){n(t)}})},4830:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{O:()=>N});var o=r(6689),i=r.n(o),a=r(5716),c=r.n(a),l=r(1712),u=r.n(l),s=r(6593),f=r(2665),p=r(357),d=r(7240),y=r(2535),h=r(5516),v=r(2481),m=r(710),b=r(192),g=t([s,b,p,y,d]);[s,b,p,y,d]=g.then?(await g)():g;var O=["viewBox"],x=["viewBox"],w=["ticks"];function j(t){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(){return(P=Object.assign?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 A(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){C(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 E(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function k(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,D(n.key),n)}}function T(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(T=function(){return!!t})()}function M(t){return(M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function I(t,e){return(I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function C(t,e,r){return(e=D(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function D(t){var e=function(t,e){if("object"!=j(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=j(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==j(e)?e:String(e)}var N=function(t){var e,r;function n(t){var e,r,o;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n),r=n,o=[t],r=M(r),(e=function(t,e){if(e&&("object"===j(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,T()?Reflect.construct(r,o||[],M(this).constructor):r.apply(this,o))).state={fontSize:"",letterSpacing:""},e}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&I(t,e)}(n,t),e=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=E(t,O),o=this.props,i=o.viewBox,a=E(o,x);return!(0,f.w)(r,i)||!(0,f.w)(n,a)||!(0,f.w)(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,l=c.x,u=c.y,s=c.width,f=c.height,p=c.orientation,d=c.tickSize,y=c.mirror,v=c.tickMargin,m=y?-1:1,b=t.tickSize||d,g=(0,h.hj)(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=r=t.coordinate,a=(n=(o=u+ +!y*f)-m*b)-m*v,i=g;break;case"left":n=o=t.coordinate,i=(e=(r=l+ +!y*s)-m*b)-m*v,a=g;break;case"right":n=o=t.coordinate,i=(e=(r=l+ +y*s)+m*b)+m*v,a=g;break;default:e=r=t.coordinate,a=(n=(o=u+ +y*f)+m*b)+m*v,i=g}return{line:{x1:e,y1:n,x2:r,y2:o},tick:{x:i,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,r=e.orientation,n=e.mirror;switch(r){case"left":t=n?"start":"end";break;case"right":t=n?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,r=t.mirror,n="end";switch(e){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,a=t.orientation,c=t.mirror,l=t.axisLine,f=A(A(A({},(0,m.L6)(this.props,!1)),(0,m.L6)(l,!1)),{},{fill:"none"});if("top"===a||"bottom"===a){var p=+("top"===a&&!c||"bottom"===a&&c);f=A(A({},f),{},{x1:e,y1:r+p*o,x2:e+n,y2:r+p*o})}else{var d=+("left"===a&&!c||"right"===a&&c);f=A(A({},f),{},{x1:e+d*n,y1:r,x2:e+d*n,y2:r+o})}return i().createElement("line",P({},f,{className:(0,s.default)("recharts-cartesian-axis-line",u()(l,"className"))}))}},{key:"renderTicks",value:function(t,e,r){var o=this,a=this.props,l=a.tickLine,f=a.stroke,d=a.tick,y=a.tickFormatter,h=a.unit,g=(0,b.f)(A(A({},this.props),{},{ticks:t}),e,r),O=this.getTickTextAnchor(),x=this.getTickVerticalAnchor(),w=(0,m.L6)(this.props,!1),j=(0,m.L6)(d,!1),S=A(A({},w),{},{fill:"none"},(0,m.L6)(l,!1)),E=g.map(function(t,e){var r=o.getTickLineCoord(t),a=r.line,m=r.tick,b=A(A(A(A({textAnchor:O,verticalAnchor:x},w),{},{stroke:"none",fill:f},j),m),{},{index:e,payload:t,visibleTicksCount:g.length,tickFormatter:y});return i().createElement(p.m,P({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},(0,v.bw)(o.props,t,e)),l&&i().createElement("line",P({},S,a,{className:(0,s.default)("recharts-cartesian-axis-tick-line",u()(l,"className"))})),d&&n.renderTickItem(d,b,"".concat(c()(y)?y(t.value,e):t.value).concat(h||"")))});return i().createElement("g",{className:"recharts-cartesian-axis-ticks"},E)}},{key:"render",value:function(){var t=this,e=this.props,r=e.axisLine,n=e.width,o=e.height,a=e.ticksGenerator,l=e.className;if(e.hide)return null;var u=this.props,f=u.ticks,d=E(u,w),h=f;return(c()(a)&&(h=a(f&&f.length>0?this.props:d)),n<=0||o<=0||!h||!h.length)?null:i().createElement(p.m,{className:(0,s.default)("recharts-cartesian-axis",l),ref:function(e){t.layerReference=e}},r&&this.renderAxisLine(),this.renderTicks(h,this.state.fontSize,this.state.letterSpacing),y._.renderCallByParent(this.props))}}],r=[{key:"renderTickItem",value:function(t,e,r){return i().isValidElement(t)?i().cloneElement(t,e):c()(t)?t(e):i().createElement(d.x,P({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],e&&k(n.prototype,e),r&&k(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(o.Component);C(N,"displayName","CartesianAxis"),C(N,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"}),n()}catch(t){n(t)}})},4206:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{q:()=>C});var o=r(6689),i=r.n(o),a=r(5716),c=r.n(a),l=r(3649),u=r(5516),s=r(710),f=r(4473),p=r(192),d=r(4830),y=r(8524),h=t([f,p,d,y]);[f,p,d,y]=h.then?(await h)():h;var v=["x1","y1","x2","y2","key"],m=["offset"];function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=b(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=b(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==b(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function x(){return(x=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function w(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var j=function(t){var e=t.fill;if(!e||"none"===e)return null;var r=t.fillOpacity,n=t.x,o=t.y,a=t.width,c=t.height;return i().createElement("rect",{x:n,y:o,width:a,height:c,stroke:"none",fill:e,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function P(t,e){var r;if(i().isValidElement(t))r=i().cloneElement(t,e);else if(c()(t))r=t(e);else{var n=e.x1,o=e.y1,a=e.x2,l=e.y2,u=e.key,f=w(e,v),p=(0,s.L6)(f,!1),d=(p.offset,w(p,m));r=i().createElement("line",x({},d,{x1:n,y1:o,x2:a,y2:l,fill:"none",key:u}))}return r}function S(t){var e=t.x,r=t.width,n=t.horizontal,o=void 0===n||n,a=t.horizontalPoints;if(!o||!a||!a.length)return null;var c=a.map(function(n,i){var a=O(O({},t),{},{x1:e,y1:n,x2:e+r,y2:n,key:"line-".concat(i),index:i});return P(o,a)});return i().createElement("g",{className:"recharts-cartesian-grid-horizontal"},c)}function A(t){var e=t.y,r=t.height,n=t.vertical,o=void 0===n||n,a=t.verticalPoints;if(!o||!a||!a.length)return null;var c=a.map(function(n,i){var a=O(O({},t),{},{x1:n,y1:e,x2:n,y2:e+r,key:"line-".concat(i),index:i});return P(o,a)});return i().createElement("g",{className:"recharts-cartesian-grid-vertical"},c)}function E(t){var e=t.horizontalFill,r=t.fillOpacity,n=t.x,o=t.y,a=t.width,c=t.height,l=t.horizontalPoints,u=t.horizontal;if(!(void 0===u||u)||!e||!e.length)return null;var s=l.map(function(t){return Math.round(t+o-o)}).sort(function(t,e){return t-e});o!==s[0]&&s.unshift(0);var f=s.map(function(t,l){var u=s[l+1]?s[l+1]-t:o+c-t;if(u<=0)return null;var f=l%e.length;return i().createElement("rect",{key:"react-".concat(l),y:t,x:n,height:u,width:a,stroke:"none",fill:e[f],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return i().createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},f)}function k(t){var e=t.vertical,r=t.verticalFill,n=t.fillOpacity,o=t.x,a=t.y,c=t.width,l=t.height,u=t.verticalPoints;if(!(void 0===e||e)||!r||!r.length)return null;var s=u.map(function(t){return Math.round(t+o-o)}).sort(function(t,e){return t-e});o!==s[0]&&s.unshift(0);var f=s.map(function(t,e){var u=s[e+1]?s[e+1]-t:o+c-t;if(u<=0)return null;var f=e%r.length;return i().createElement("rect",{key:"react-".concat(e),x:t,y:a,width:u,height:l,stroke:"none",fill:r[f],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return i().createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},f)}var T=function(t,e){var r=t.xAxis,n=t.width,o=t.height,i=t.offset;return(0,f.Rf)((0,p.f)(O(O(O({},d.O.defaultProps),r),{},{ticks:(0,f.uY)(r,!0),viewBox:{x:0,y:0,width:n,height:o}})),i.left,i.left+i.width,e)},M=function(t,e){var r=t.yAxis,n=t.width,o=t.height,i=t.offset;return(0,f.Rf)((0,p.f)(O(O(O({},d.O.defaultProps),r),{},{ticks:(0,f.uY)(r,!0),viewBox:{x:0,y:0,width:n,height:o}})),i.top,i.top+i.height,e)},I={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function C(t){var e,r,n,o,a,s,f=(0,y.zn)(),p=(0,y.Mw)(),d=(0,y.qD)(),h=O(O({},t),{},{stroke:null!==(e=t.stroke)&&void 0!==e?e:I.stroke,fill:null!==(r=t.fill)&&void 0!==r?r:I.fill,horizontal:null!==(n=t.horizontal)&&void 0!==n?n:I.horizontal,horizontalFill:null!==(o=t.horizontalFill)&&void 0!==o?o:I.horizontalFill,vertical:null!==(a=t.vertical)&&void 0!==a?a:I.vertical,verticalFill:null!==(s=t.verticalFill)&&void 0!==s?s:I.verticalFill,x:(0,u.hj)(t.x)?t.x:d.left,y:(0,u.hj)(t.y)?t.y:d.top,width:(0,u.hj)(t.width)?t.width:d.width,height:(0,u.hj)(t.height)?t.height:d.height}),v=h.x,m=h.y,g=h.width,w=h.height,P=h.syncWithTicks,C=h.horizontalValues,D=h.verticalValues,N=(0,y.CW)(),B=(0,y.Nf)();if(!(0,u.hj)(g)||g<=0||!(0,u.hj)(w)||w<=0||!(0,u.hj)(v)||v!==+v||!(0,u.hj)(m)||m!==+m)return null;var L=h.verticalCoordinatesGenerator||T,R=h.horizontalCoordinatesGenerator||M,_=h.horizontalPoints,z=h.verticalPoints;if((!_||!_.length)&&c()(R)){var W=C&&C.length,U=R({yAxis:B?O(O({},B),{},{ticks:W?C:B.ticks}):void 0,width:f,height:p,offset:d},!!W||P);(0,l.Z)(Array.isArray(U),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(b(U),"]")),Array.isArray(U)&&(_=U)}if((!z||!z.length)&&c()(L)){var F=D&&D.length,X=L({xAxis:N?O(O({},N),{},{ticks:F?D:N.ticks}):void 0,width:f,height:p,offset:d},!!F||P);(0,l.Z)(Array.isArray(X),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(b(X),"]")),Array.isArray(X)&&(z=X)}return i().createElement("g",{className:"recharts-cartesian-grid"},i().createElement(j,{fill:h.fill,fillOpacity:h.fillOpacity,x:h.x,y:h.y,width:h.width,height:h.height}),i().createElement(S,x({},h,{offset:d,horizontalPoints:_,xAxis:N,yAxis:B})),i().createElement(A,x({},h,{offset:d,verticalPoints:z,xAxis:N,yAxis:B})),i().createElement(E,x({},h,{horizontalPoints:_})),i().createElement(k,x({},h,{verticalPoints:z})))}C.displayName="CartesianGrid",n()}catch(t){n(t)}})},4526:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{W:()=>d});var o=r(6689),i=r.n(o),a=r(4281),c=r(357),l=r(710),u=t([a,c]);[a,c]=u.then?(await u)():u;var s=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function f(){return(f=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function d(t){var e=t.offset,r=t.layout,n=t.width,o=t.dataKey,u=t.data,d=t.dataPointFormatter,y=t.xAxis,h=t.yAxis,v=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,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,s),m=(0,l.L6)(v,!1);"x"===t.direction&&"number"!==y.type&&(0,a.default)(!1);var b=u.map(function(t){var a,l,u=d(t,o),s=u.x,v=u.y,b=u.value,g=u.errorVal;if(!g)return null;var O=[];if(Array.isArray(g)){var x=function(t){if(Array.isArray(t))return t}(g)||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=[],l=!0,u=!1;try{for(i=(r=r.call(t)).next;!(l=(n=i.call(r)).done)&&(c.push(n.value),2!==c.length);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(g,2)||function(t,e){if(t){if("string"==typeof t)return p(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 p(t,2)}}(g,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.")}();a=x[0],l=x[1]}else a=l=g;if("vertical"===r){var w=y.scale,j=v+e,P=j+n,S=j-n,A=w(b-a),E=w(b+l);O.push({x1:E,y1:P,x2:E,y2:S}),O.push({x1:A,y1:j,x2:E,y2:j}),O.push({x1:A,y1:P,x2:A,y2:S})}else if("horizontal"===r){var k=h.scale,T=s+e,M=T-n,I=T+n,C=k(b-a),D=k(b+l);O.push({x1:M,y1:D,x2:I,y2:D}),O.push({x1:T,y1:C,x2:T,y2:D}),O.push({x1:M,y1:C,x2:I,y2:C})}return i().createElement(c.m,f({className:"recharts-errorBar",key:"bar-".concat(O.map(function(t){return"".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))},m),O.map(function(t){return i().createElement("line",f({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))}))});return i().createElement(c.m,{className:"recharts-errorBars"},b)}d.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},d.displayName="ErrorBar",n()}catch(t){n(t)}})},8933:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{x:()=>z});var o=r(6689),i=r.n(o),a=r(3522),c=r.n(a),l=r(5716),u=r.n(l),s=r(6069),f=r.n(s),p=r(113),d=r.n(p),y=r(6593),h=r(9409),v=r(632),m=r(357),b=r(759),g=r(4526),O=r(5516),x=r(710),w=r(3387),j=r(4473),P=t([y,g,j,m,h,b,v]);[y,g,j,m,h,b,v]=P.then?(await P)():P;var S=["type","layout","connectNulls","ref"];function A(t){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function E(){return(E=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function k(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function T(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?k(Object(r),!0).forEach(function(e){R(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function M(t){return function(t){if(Array.isArray(t))return I(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 I(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 I(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function C(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,_(n.key),n)}}function D(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(D=function(){return!!t})()}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function B(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L(t,e){return(L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function R(t,e,r){return(e=_(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _(t){var e=function(t,e){if("object"!=A(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=A(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==A(e)?e:String(e)}var z=function(t){var e,r;function n(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n);for(var t,e,r,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=n,r=[].concat(i),e=N(e),t=function(t,e){if(e&&("object"===A(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return B(t)}(this,D()?Reflect.construct(e,r||[],N(this).constructor):e.apply(this,r)),R(B(t),"state",{isAnimationFinished:!0,totalLength:0}),R(B(t),"generateSimpleStrokeDasharray",function(t,e){return"".concat(e,"px ").concat(t-e,"px")}),R(B(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=e%i,c=r-e,l=[],u=0,s=0;u<o.length;s+=o[u],++u)if(s+o[u]>a){l=[].concat(M(o.slice(0,u)),[a-s]);break}var f=l.length%2==0?[0,c]:[c];return[].concat(M(n.repeat(o,Math.floor(e/i))),M(l),f).map(function(t){return"".concat(t,"px")}).join(", ")}),R(B(t),"id",(0,O.EL)("recharts-line-")),R(B(t),"pathRef",function(e){t.mainCurve=e}),R(B(t),"handleAnimationEnd",function(){t.setState({isAnimationFinished:!0}),t.props.onAnimationEnd&&t.props.onAnimationEnd()}),R(B(t),"handleAnimationStart",function(){t.setState({isAnimationFinished:!1}),t.props.onAnimationStart&&t.props.onAnimationStart()}),t}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&L(t,e)}(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,a=r.yAxis,c=r.layout,l=r.children,u=(0,x.NN)(l,g.W);if(!u)return null;var s=function(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:(0,j.F$)(t.payload,e)}};return i().createElement(m.m,{clipPath:t?"url(#clipPath-".concat(e,")"):null},u.map(function(t){return i().cloneElement(t,{key:"bar-".concat(t.props.dataKey),data:n,xAxis:o,yAxis:a,layout:c,dataPointFormatter:s})}))}},{key:"renderDots",value:function(t,e,r){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var o=this.props,a=o.dot,c=o.points,l=o.dataKey,u=(0,x.L6)(this.props,!1),s=(0,x.L6)(a,!0),f=c.map(function(t,e){var r=T(T(T({key:"dot-".concat(e),r:3},u),s),{},{value:t.value,dataKey:l,cx:t.x,cy:t.y,index:e,payload:t.payload});return n.renderDotItem(a,r)}),p={clipPath:t?"url(#clipPath-".concat(e?"":"dots-").concat(r,")"):null};return i().createElement(m.m,E({className:"recharts-line-dots",key:"dots"},p),f)}},{key:"renderCurveStatically",value:function(t,e,r,n){var o=this.props,a=o.type,c=o.layout,l=o.connectNulls,u=(o.ref,function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(o,S)),s=T(T(T({},(0,x.L6)(u,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:e?"url(#clipPath-".concat(r,")"):null,points:t},n),{},{type:a,layout:c,connectNulls:l});return i().createElement(h.H,E({},s,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(t,e){var r=this,n=this.props,o=n.points,a=n.strokeDasharray,l=n.isAnimationActive,u=n.animationBegin,s=n.animationDuration,f=n.animationEasing,p=n.animationId,d=n.animateNewValues,y=n.width,h=n.height,v=this.state,m=v.prevPoints,b=v.totalLength;return i().createElement(c(),{begin:u,duration:s,isActive:l,easing:f,from:{t:0},to:{t:1},key:"line-".concat(p),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(n){var i,c=n.t;if(m){var l=m.length/o.length,u=o.map(function(t,e){var r=Math.floor(e*l);if(m[r]){var n=m[r],o=(0,O.k4)(n.x,t.x),i=(0,O.k4)(n.y,t.y);return T(T({},t),{},{x:o(c),y:i(c)})}if(d){var a=(0,O.k4)(2*y,t.x),u=(0,O.k4)(h/2,t.y);return T(T({},t),{},{x:a(c),y:u(c)})}return T(T({},t),{},{x:t.x,y:t.y})});return r.renderCurveStatically(u,t,e)}var s=(0,O.k4)(0,b)(c);if(a){var f="".concat(a).split(/[,\s]+/gim).map(function(t){return parseFloat(t)});i=r.getStrokeDasharray(s,b,f)}else i=r.generateSimpleStrokeDasharray(b,s);return r.renderCurveStatically(o,t,e,{strokeDasharray:i})})}},{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>0||!d()(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,a=e.className,c=e.xAxis,l=e.yAxis,u=e.top,s=e.left,p=e.width,d=e.height,h=e.isAnimationActive,v=e.id;if(r||!o||!o.length)return null;var g=this.state.isAnimationFinished,O=1===o.length,w=(0,y.default)("recharts-line",a),j=c&&c.allowDataOverflow,P=l&&l.allowDataOverflow,S=j||P,A=f()(v)?this.id:v,E=null!==(t=(0,x.L6)(n,!1))&&void 0!==t?t:{r:3,strokeWidth:2},k=E.r,T=E.strokeWidth,M=((0,x.$k)(n)?n:{}).clipDot,I=void 0===M||M,C=2*(void 0===k?3:k)+(void 0===T?2:T);return i().createElement(m.m,{className:w},j||P?i().createElement("defs",null,i().createElement("clipPath",{id:"clipPath-".concat(A)},i().createElement("rect",{x:j?s:s-p/2,y:P?u:u-d/2,width:j?p:2*p,height:P?d:2*d})),!I&&i().createElement("clipPath",{id:"clipPath-dots-".concat(A)},i().createElement("rect",{x:s-C/2,y:u-C/2,width:p+C,height:d+C}))):null,!O&&this.renderCurve(S,A),this.renderErrorBar(S,A),(O||n)&&this.renderDots(S,I,A),(!h||g)&&b.e.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(M(t),[0]):t,n=[],o=0;o<e;++o)n=[].concat(M(n),M(r));return n}},{key:"renderDotItem",value:function(t,e){var r;if(i().isValidElement(t))r=i().cloneElement(t,e);else if(u()(t))r=t(e);else{var n=(0,y.default)("recharts-line-dot","boolean"!=typeof t?t.className:"");r=i().createElement(v.o,E({},e,{className:n}))}return r}}],e&&C(n.prototype,e),r&&C(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(o.PureComponent);R(z,"displayName","Line"),R(z,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!w.x.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),R(z,"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,l=t.displayedData,u=t.offset,s=e.layout,p=l.map(function(t,e){var l=(0,j.F$)(t,a);return"horizontal"===s?{x:(0,j.Hv)({axis:r,ticks:o,bandSize:c,entry:t,index:e}),y:f()(l)?null:n.scale(l),value:l,payload:t}:{x:f()(l)?null:r.scale(l),y:(0,j.Hv)({axis:n,ticks:i,bandSize:c,entry:t,index:e}),value:l,payload:t}});return T({points:p,layout:s},u)}),n()}catch(t){n(t)}})},1923:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{z:()=>j});var o=r(6689),i=r.n(o),a=r(5716),c=r.n(a),l=r(6593),u=r(357),s=r(2535),f=r(7115),p=r(489),d=r(5516),y=r(3649),h=r(9499),v=r(710),m=t([l,f,u,s,h]);function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(){return(g=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 O(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?O(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=b(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=b(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==b(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}[l,f,u,s,h]=m.then?(await m)():m;var w=function(t,e,r,n,o){var i=o.x1,a=o.x2,c=o.y1,l=o.y2,u=o.xAxis,s=o.yAxis;if(!u||!s)return null;var d=(0,f.Ky)({x:u.scale,y:s.scale}),y={x:t?d.x.apply(i,{position:"start"}):d.x.rangeMin,y:r?d.y.apply(c,{position:"start"}):d.y.rangeMin},h={x:e?d.x.apply(a,{position:"end"}):d.x.rangeMax,y:n?d.y.apply(l,{position:"end"}):d.y.rangeMax};return!(0,p.B)(o,"discard")||d.isInRange(y)&&d.isInRange(h)?(0,f.O1)(y,h):null};function j(t){var e=t.x1,r=t.x2,n=t.y1,o=t.y2,a=t.className,c=t.alwaysShow,f=t.clipPathId;(0,y.Z)(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var h=(0,d.P2)(e),m=(0,d.P2)(r),b=(0,d.P2)(n),g=(0,d.P2)(o),O=t.shape;if(!h&&!m&&!b&&!g&&!O)return null;var P=w(h,m,b,g,t);if(!P&&!O)return null;var S=(0,p.B)(t,"hidden")?"url(#".concat(f,")"):void 0;return i().createElement(u.m,{className:(0,l.default)("recharts-reference-area",a)},j.renderRect(O,x(x({clipPath:S},(0,v.L6)(t,!0)),P)),s._.renderCallByParent(t,P))}j.displayName="ReferenceArea",j.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},j.renderRect=function(t,e){return i().isValidElement(t)?i().cloneElement(t,e):c()(t)?t(e):i().createElement(h.A,g({},e,{className:"recharts-reference-area-rect"}))},n()}catch(t){n(t)}})},1468:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{q:()=>j});var o=r(6689),i=r.n(o),a=r(5716),c=r.n(a),l=r(6593),u=r(357),s=r(632),f=r(2535),p=r(5516),d=r(489),y=r(7115),h=r(3649),v=r(710),m=t([l,y,u,f,s]);function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(){return(g=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 O(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?O(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=b(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=b(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==b(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}[l,y,u,f,s]=m.then?(await m)():m;var w=function(t){var e=t.x,r=t.y,n=t.xAxis,o=t.yAxis,i=(0,y.Ky)({x:n.scale,y:o.scale}),a=i.apply({x:e,y:r},{bandAware:!0});return(0,d.B)(t,"discard")&&!i.isInRange(a)?null:a};function j(t){var e=t.x,r=t.y,n=t.r,o=t.alwaysShow,a=t.clipPathId,c=(0,p.P2)(e),s=(0,p.P2)(r);if((0,h.Z)(void 0===o,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!c||!s)return null;var y=w(t);if(!y)return null;var m=y.x,b=y.y,g=t.shape,O=t.className,P=(0,d.B)(t,"hidden")?"url(#".concat(a,")"):void 0,S=x(x({clipPath:P},(0,v.L6)(t,!0)),{},{cx:m,cy:b});return i().createElement(u.m,{className:(0,l.default)("recharts-reference-dot",O)},j.renderDot(g,S),f._.renderCallByParent(t,{x:m-n,y:b-n,width:2*n,height:2*n}))}j.displayName="ReferenceDot",j.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},j.renderDot=function(t,e){return i().isValidElement(t)?i().cloneElement(t,e):c()(t)?t(e):i().createElement(s.o,g({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))},n()}catch(t){n(t)}})},3446:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{d:()=>A});var o=r(6689),i=r.n(o),a=r(5716),c=r.n(a),l=r(4129),u=r.n(l),s=r(6593),f=r(357),p=r(2535),d=r(489),y=r(5516),h=r(7115),v=r(3649),m=r(710),b=r(8524),g=t([s,b,h,f,p]);function O(t){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function w(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?x(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=O(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=O(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==O(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function P(){return(P=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}[s,b,h,f,p]=g.then?(await g)():g;var S=function(t,e,r,n,o,i,a,c,l){var s=o.x,f=o.y,p=o.width,y=o.height;if(r){var h=l.y,v=t.y.apply(h,{position:i});if((0,d.B)(l,"discard")&&!t.y.isInRange(v))return null;var m=[{x:s+p,y:v},{x:s,y:v}];return"left"===c?m.reverse():m}if(e){var b=l.x,g=t.x.apply(b,{position:i});if((0,d.B)(l,"discard")&&!t.x.isInRange(g))return null;var O=[{x:g,y:f+y},{x:g,y:f}];return"top"===a?O.reverse():O}if(n){var x=l.segment.map(function(e){return t.apply(e,{position:i})});return(0,d.B)(l,"discard")&&u()(x,function(e){return!t.isInRange(e)})?null:x}return null};function A(t){var e,r,n=t.x,o=t.y,a=t.segment,l=t.xAxisId,u=t.yAxisId,g=t.shape,O=t.className,x=t.alwaysShow,A=(0,b.sp)(),E=(0,b.bH)(l),k=(0,b.Ud)(u),T=(0,b.d2)();if(!A||!T)return null;(0,v.Z)(void 0===x,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var M=(0,h.Ky)({x:E.scale,y:k.scale}),I=(0,y.P2)(n),C=(0,y.P2)(o),D=a&&2===a.length,N=S(M,I,C,D,T,t.position,E.orientation,k.orientation,t);if(!N)return null;var B=function(t){if(Array.isArray(t))return t}(N)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{for(i=(r=r.call(t)).next;!(l=(n=i.call(r)).done)&&(c.push(n.value),2!==c.length);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(N,2)||function(t,e){if(t){if("string"==typeof t)return j(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 j(t,2)}}(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.")}(),L=B[0],R=L.x,_=L.y,z=B[1],W=z.x,U=z.y,F=(0,d.B)(t,"hidden")?"url(#".concat(A,")"):void 0,X=w(w({clipPath:F},(0,m.L6)(t,!0)),{},{x1:R,y1:_,x2:W,y2:U});return i().createElement(f.m,{className:(0,s.default)("recharts-reference-line",O)},(e=g,r=X,i().isValidElement(e)?i().cloneElement(e,r):c()(e)?e(r):i().createElement("line",P({},r,{className:"recharts-reference-line-line"}))),p._.renderCallByParent(t,(0,h._b)({x1:R,y1:_,x2:W,y2:U})))}A.displayName="ReferenceLine",A.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"},n()}catch(t){n(t)}})},2154:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{K:()=>p});var o=r(6689),i=r.n(o),a=r(6593),c=r(8524),l=r(4830),u=r(4473),s=t([a,c,l,u]);function f(){return(f=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}[a,c,l,u]=s.then?(await s)():s;var p=function(t){var e=t.xAxisId,r=(0,c.zn)(),n=(0,c.Mw)(),o=(0,c.bH)(e);return null==o?null:i().createElement(l.O,f({},o,{className:(0,a.default)("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return(0,u.uY)(t,!0)}}))};p.displayName="XAxis",p.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},n()}catch(t){n(t)}})},4283:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{B:()=>p});var o=r(6689),i=r.n(o),a=r(6593),c=r(8524),l=r(4830),u=r(4473),s=t([a,c,l,u]);function f(){return(f=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}[a,c,l,u]=s.then?(await s)():s;var p=function(t){var e=t.yAxisId,r=(0,c.zn)(),n=(0,c.Mw)(),o=(0,c.Ud)(e);return null==o?null:i().createElement(l.O,f({},o,{className:(0,a.default)("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return(0,u.uY)(t,!0)}}))};p.displayName="YAxis",p.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},n()}catch(t){n(t)}})},1071:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{O:()=>c});var o=r(436),i=r(3268),a=t([o]);function c(t,e,r,n,a){for(var c,l=(n||[]).slice(),u=e.start,s=e.end,f=0,p=1,d=u;p<=l.length;)if(c=function(){var e,c=null==n?void 0:n[f];if(void 0===c)return{v:(0,i.t)(n,p)};var l=f,y=function(){return void 0===e&&(e=r(c,l)),e},h=c.coordinate,v=0===f||(0,o.pn)(t,h,y,d,s);v||(f=0,d=u,p+=1),v&&(d=h+t*(y()/2+a),f+=p)}())return c.v;return[]}o=(a.then?(await a)():a)[0],n()}catch(t){n(t)}})},192:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{f:()=>h});var o=r(5716),i=r.n(o),a=r(5516),c=r(6379),l=r(3387),u=r(436),s=r(1071),f=t([u,s]);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function y(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=p(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=p(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==p(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function h(t,e,r){var n=t.tick,o=t.ticks,f=t.viewBox,p=t.minTickGap,d=t.orientation,h=t.interval,v=t.tickFormatter,m=t.unit,b=t.angle;if(!o||!o.length||!n)return[];if((0,a.hj)(h)||l.x.isSsr)return(0,u.tR)(o,"number"==typeof h&&(0,a.hj)(h)?h:0);var g="top"===d||"bottom"===d?"width":"height",O=m&&"width"===g?(0,c.xE)(m,{fontSize:e,letterSpacing:r}):{width:0,height:0},x=function(t,n){var o=i()(v)?v(t.value,n):t.value;return"width"===g?(0,u.t3)((0,c.xE)(o,{fontSize:e,letterSpacing:r}),O,b):(0,c.xE)(o,{fontSize:e,letterSpacing:r})[g]},w=o.length>=2?(0,a.uY)(o[1].coordinate-o[0].coordinate):1,j=(0,u.fW)(f,w,g);return"equidistantPreserveStart"===h?(0,s.O)(w,j,x,o,p):("preserveStart"===h||"preserveStartEnd"===h?function(t,e,r,n,o,i){var a=(n||[]).slice(),c=a.length,l=e.start,s=e.end;if(i){var f=n[c-1],p=r(f,c-1),d=t*(f.coordinate+t*p/2-s);a[c-1]=f=y(y({},f),{},{tickCoord:d>0?f.coordinate-d*t:f.coordinate}),(0,u.pn)(t,f.tickCoord,function(){return p},l,s)&&(s=f.tickCoord-t*(p/2+o),a[c-1]=y(y({},f),{},{isShow:!0}))}for(var h=i?c-1:c,v=function(e){var n,i=a[e],c=function(){return void 0===n&&(n=r(i,e)),n};if(0===e){var f=t*(i.coordinate-t*c()/2-l);a[e]=i=y(y({},i),{},{tickCoord:f<0?i.coordinate-f*t:i.coordinate})}else a[e]=i=y(y({},i),{},{tickCoord:i.coordinate});(0,u.pn)(t,i.tickCoord,c,l,s)&&(l=i.tickCoord+t*(c()/2+o),a[e]=y(y({},i),{},{isShow:!0}))},m=0;m<h;m++)v(m);return a}(w,j,x,o,p,"preserveStartEnd"===h):function(t,e,r,n,o){for(var i=(n||[]).slice(),a=i.length,c=e.start,l=e.end,s=function(e){var n,s=i[e],f=function(){return void 0===n&&(n=r(s,e)),n};if(e===a-1){var p=t*(s.coordinate+t*f()/2-l);i[e]=s=y(y({},s),{},{tickCoord:p>0?s.coordinate-p*t:s.coordinate})}else i[e]=s=y(y({},s),{},{tickCoord:s.coordinate});(0,u.pn)(t,s.tickCoord,f,c,l)&&(l=s.tickCoord-t*(f()/2+o),i[e]=y(y({},s),{},{isShow:!0}))},f=a-1;f>=0;f--)s(f);return i}(w,j,x,o,p)).filter(function(t){return t.isShow})}[u,s]=f.then?(await f)():f,n()}catch(t){n(t)}})},6413:(t,e,r)=>{"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e,r){return(e=i(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function i(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:String(e)}r.d(e,{L:()=>a});var a=function(){var t;function e(){(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,e),o(this,"activeIndex",0),o(this,"coordinateList",[]),o(this,"layout","horizontal")}return t=[{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,l=t.offset,u=void 0===l?null:l,s=t.mouseHandlerCallback,f=void 0===s?null:s;this.coordinateList=null!==(e=null!=n?n:this.coordinateList)&&void 0!==e?e:[],this.container=null!=i?i:this.container,this.layout=null!=c?c:this.layout,this.offset=null!=u?u: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?void 0:t.scrollX)||0,l=(null===(e=window)||void 0===e?void 0:e.scrollY)||0,u=o+this.offset.top+i/2+l;this.mouseHandlerCallback({pageX:n+a+c,pageY:u})}}}],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,i(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}()},2332:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{w:()=>s});var o=r(8983),i=r(8933),a=r(2154),c=r(4283),l=r(7115),u=t([o,i,a,c,l]);[o,i,a,c,l]=u.then?(await u)():u;var s=(0,o.z)({chartName:"LineChart",GraphicalChild:i.x,axisComponents:[{axisType:"xAxis",AxisComp:a.K},{axisType:"yAxis",AxisComp:c.B}],formatAxisMap:l.t9});n()}catch(t){n(t)}})},8983:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{z:()=>tw});var o=r(6689),i=r.n(o),a=r(6069),c=r.n(a),l=r(5716),u=r.n(l),s=r(4042),f=r.n(s),p=r(1712),d=r.n(p),y=r(3672),h=r.n(y),v=r(1381),m=r.n(v),b=r(6593),g=r(4281),O=r(4844),x=r(357),w=r(6531),j=r(5450),P=r(632),S=r(9499),A=r(710),E=r(4688),k=r(6379),T=r(5516),M=r(4473),I=r(3079),C=r(5735),D=r(7011),N=r(2665),B=r(8300),L=r(2481),R=r(6413),_=r(8558),z=r(1137),W=r(8714),U=r(8524),F=t([b,g,D,M,C,E,j,W,I,w,S,z,U,O,P,x]);[b,g,D,M,C,E,j,W,I,w,S,z,U,O,P,x]=F.then?(await F)():F;var X=["item"],G=["children","className","width","height","style","compact","title","desc"];function K(t){return(K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function V(){return(V=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function Y(t,e){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=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||tt(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 H(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function q(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(q=function(){return!!t})()}function $(t){return($=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Z(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Q(t,e){return(Q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function J(t){return function(t){if(Array.isArray(t))return te(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||tt(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 tt(t,e){if(t){if("string"==typeof t)return te(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 te(t,e)}}function te(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 tr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tr(Object(r),!0).forEach(function(e){to(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tr(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function to(t,e,r){return(e=ti(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ti(t){var e=function(t,e){if("object"!=K(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=K(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==K(e)?e:String(e)}var ta={xAxis:["bottom","top"],yAxis:["left","right"]},tc={width:"100%",height:"100%"},tl={x:0,y:0};function tu(t){return t}var ts=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 tn(tn(tn({},n),(0,D.op)(n.cx,n.cy,a,i)),{},{angle:i,radius:a})}var c=o.coordinate,l=n.angle;return tn(tn(tn({},n),(0,D.op)(n.cx,n.cy,c,l)),{},{angle:l,radius:c})}return tl},tf=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(J(t),J(r)):t},[]);return i.length>0?i:t&&t.length&&(0,T.hj)(n)&&(0,T.hj)(o)?t.slice(n,o+1):[]};function tp(t){return"number"===t?[0,"auto"]:void 0}var td=function(t,e,r,n){var o=t.graphicalItems,i=t.tooltipAxis,a=tf(e,t);return r<0||!o||!o.length||r>=a.length?null:o.reduce(function(o,c){var l,u,s=null!==(l=c.props.data)&&void 0!==l?l:e;if(s&&t.dataStartIndex+t.dataEndIndex!==0&&(s=s.slice(t.dataStartIndex,t.dataEndIndex+1)),i.dataKey&&!i.allowDuplicatedCategory){var f=void 0===s?a:s;u=(0,T.Ap)(f,i.dataKey,n)}else u=s&&s[r]||a[r];return u?[].concat(J(o),[(0,M.Qo)(c,u)]):o},[])},ty=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,l=t.tooltipTicks,u=(0,M.VO)(i,a,l,c);if(u>=0&&l){var s=l[u]&&l[u].value,f=td(t,e,u,s),p=ts(r,a,u,o);return{activeTooltipIndex:u,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},th=function(t,e){var r=e.axes,n=e.graphicalItems,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,l=e.dataStartIndex,u=e.dataEndIndex,s=t.layout,p=t.children,d=t.stackOffset,y=(0,M.NA)(s,o);return r.reduce(function(e,r){var h=r.props,v=h.type,m=h.dataKey,b=h.allowDataOverflow,g=h.allowDuplicatedCategory,O=h.scale,x=h.ticks,w=h.includeHidden,j=r.props[i];if(e[j])return e;var P=tf(t.data,{graphicalItems:n.filter(function(t){return t.props[i]===j}),dataStartIndex:l,dataEndIndex:u}),S=P.length;(0,_.W)(r.props.domain,b,v)&&(k=(0,M.LG)(r.props.domain,null,b),y&&("number"===v||"auto"!==O)&&(D=(0,M.gF)(P,m,"category")));var A=tp(v);if(!k||0===k.length){var E,k,I,D,N,B=null!==(N=r.props.domain)&&void 0!==N?N:A;if(m){if(k=(0,M.gF)(P,m,v),"category"===v&&y){var L=(0,T.bv)(k);g&&L?(I=k,k=f()(0,S)):g||(k=(0,M.ko)(B,k,r).reduce(function(t,e){return t.indexOf(e)>=0?t:[].concat(J(t),[e])},[]))}else if("category"===v)k=g?k.filter(function(t){return""!==t&&!c()(t)}):(0,M.ko)(B,k,r).reduce(function(t,e){return t.indexOf(e)>=0||""===e||c()(e)?t:[].concat(J(t),[e])},[]);else if("number"===v){var R=(0,M.ZI)(P,n.filter(function(t){return t.props[i]===j&&(w||!t.props.hide)}),m,o,s);R&&(k=R)}y&&("number"===v||"auto"!==O)&&(D=(0,M.gF)(P,m,"category"))}else k=y?f()(0,S):a&&a[j]&&a[j].hasStack&&"number"===v?"expand"===d?[0,1]:(0,M.EB)(a[j].stackGroups,l,u):(0,M.s6)(P,n.filter(function(t){return t.props[i]===j&&(w||!t.props.hide)}),v,s,!0);"number"===v?(k=(0,C._)(p,k,j,o,x),B&&(k=(0,M.LG)(B,k,b))):"category"===v&&B&&k.every(function(t){return B.indexOf(t)>=0})&&(k=B)}return tn(tn({},e),{},to({},j,tn(tn({},r.props),{},{axisType:o,domain:k,categoricalDomain:D,duplicateDomain:I,originalDomain:null!==(E=r.props.domain)&&void 0!==E?E:A,isCategorical:y,layout:s})))},{})},tv=function(t,e){var r=e.graphicalItems,n=e.Axis,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,l=e.dataEndIndex,u=t.layout,s=t.children,p=tf(t.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:l}),y=p.length,h=(0,M.NA)(u,o),v=-1;return r.reduce(function(t,e){var m,b=e.props[i],g=tp("number");return t[b]?t:(v++,h?m=f()(0,y):(m=a&&a[b]&&a[b].hasStack?(0,M.EB)(a[b].stackGroups,c,l):(0,M.LG)(g,(0,M.s6)(p,r.filter(function(t){return t.props[i]===b&&!t.props.hide}),"number",u),n.defaultProps.allowDataOverflow),m=(0,C._)(s,m,b,o)),tn(tn({},t),{},to({},b,tn(tn({axisType:o},n.defaultProps),{},{hide:!0,orientation:d()(ta,"".concat(o,".").concat(v%2),null),domain:m,originalDomain:g,isCategorical:h,layout:u}))))},{})},tm=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,l=e.dataEndIndex,u=t.children,s="".concat(n,"Id"),f=(0,A.NN)(u,o),p={};return f&&f.length?p=th(t,{axes:f,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:l}):i&&i.length&&(p=tv(t,{Axis:o,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:l})),p},tb=function(t){var e=(0,T.Kt)(t),r=(0,M.uY)(e,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:h()(r,function(t){return t.coordinate}),tooltipAxis:e,tooltipAxisBandSize:(0,M.zT)(e,r)}},tg=function(t){var e=t.children,r=t.defaultShowTooltip,n=(0,A.sP)(e,E.B),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}},tO=function(t){return"horizontal"===t?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===t?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===t?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},tx=function(t,e){var r=t.props,n=t.graphicalItems,o=t.xAxisMap,i=void 0===o?{}:o,a=t.yAxisMap,c=void 0===a?{}:a,l=r.width,u=r.height,s=r.children,f=r.margin||{},p=(0,A.sP)(s,E.B),y=(0,A.sP)(s,j.D),h=Object.keys(c).reduce(function(t,e){var r=c[e],n=r.orientation;return r.mirror||r.hide?t:tn(tn({},t),{},to({},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:tn(tn({},t),{},to({},n,d()(t,"".concat(n))+r.height))},{top:f.top||0,bottom:f.bottom||0}),m=tn(tn({},v),h),b=m.bottom;p&&(m.bottom+=p.props.height||E.B.defaultProps.height),y&&e&&(m=(0,M.By)(m,n,r,e));var g=l-m.left-m.right,O=u-m.top-m.bottom;return tn(tn({brushBottom:b},m),{},{width:Math.max(g,0),height:Math.max(O,0)})},tw=function(t){var e,r=t.chartName,n=t.GraphicalChild,a=t.defaultTooltipEventType,l=void 0===a?"axis":a,s=t.validateTooltipEventTypes,f=void 0===s?["axis"]:s,p=t.axisComponents,y=t.legendContent,h=t.formatAxisMap,v=t.defaultProps,j=function(t,e){var r=e.graphicalItems,n=e.stackGroups,o=e.offset,i=e.updateId,a=e.dataStartIndex,l=e.dataEndIndex,u=t.barSize,s=t.layout,f=t.barGap,d=t.barCategoryGap,y=t.maxBarSize,h=tO(s),v=h.numericAxisName,m=h.cateAxisName,b=!!r&&!!r.length&&r.some(function(t){var e=(0,A.Gf)(t&&t.type);return e&&e.indexOf("Bar")>=0}),O=[];return r.forEach(function(r,h){var x=tf(t.data,{graphicalItems:[r],dataStartIndex:a,dataEndIndex:l}),w=r.props,j=w.dataKey,P=w.maxBarSize,S=r.props["".concat(v,"Id")],E=r.props["".concat(m,"Id")],k=p.reduce(function(t,n){var o=e["".concat(n.axisType,"Map")],i=r.props["".concat(n.axisType,"Id")];o&&o[i]||"zAxis"===n.axisType||(0,g.default)(!1);var a=o[i];return tn(tn({},t),{},to(to({},n.axisType,a),"".concat(n.axisType,"Ticks"),(0,M.uY)(a)))},{}),T=k[m],I=k["".concat(m,"Ticks")],C=n&&n[S]&&n[S].hasStack&&(0,M.O3)(r,n[S].stackGroups),D=(0,A.Gf)(r.type).indexOf("Bar")>=0,N=(0,M.zT)(T,I),B=[],L=b&&(0,M.pt)({barSize:u,stackGroups:n,totalSize:"xAxis"===m?k[m].width:"yAxis"===m?k[m].height:void 0});if(D){var R,_,z=c()(P)?y:P,W=null!==(R=null!==(_=(0,M.zT)(T,I,!0))&&void 0!==_?_:z)&&void 0!==R?R:0;B=(0,M.qz)({barGap:f,barCategoryGap:d,bandSize:W!==N?W:N,sizeList:L[E],maxBarSize:z}),W!==N&&(B=B.map(function(t){return tn(tn({},t),{},{position:tn(tn({},t.position),{},{offset:t.position.offset-W/2})})}))}var U=r&&r.type&&r.type.getComposedData;U&&O.push({props:tn(tn({},U(tn(tn({},k),{},{displayedData:x,props:t,dataKey:j,item:r,bandSize:N,barPosition:B,offset:o,stackedData:C,layout:s,dataStartIndex:a,dataEndIndex:l}))),{},to(to(to({key:r.key||"item-".concat(h)},v,k[v]),m,k[m]),"animationId",i)),childIndex:(0,A.$R)(r,t.children),item:r})}),O},C=function(t,e){var o=t.props,i=t.dataStartIndex,a=t.dataEndIndex,c=t.updateId;if(!(0,A.TT)({props:o}))return null;var l=o.children,u=o.layout,s=o.stackOffset,f=o.data,d=o.reverseStackOrder,y=tO(u),v=y.numericAxisName,m=y.cateAxisName,b=(0,A.NN)(l,n),g=(0,M.wh)(f,b,"".concat(v,"Id"),"".concat(m,"Id"),s,d),O=p.reduce(function(t,e){var r="".concat(e.axisType,"Map");return tn(tn({},t),{},to({},r,tm(o,tn(tn({},e),{},{graphicalItems:b,stackGroups:e.axisType===v&&g,dataStartIndex:i,dataEndIndex:a}))))},{}),x=tx(tn(tn({},O),{},{props:o,graphicalItems:b}),null==e?void 0:e.legendBBox);Object.keys(O).forEach(function(t){O[t]=h(o,O[t],x,t.replace("Map",""),r)});var w=O["".concat(m,"Map")],P=tb(w),S=j(o,tn(tn({},O),{},{dataStartIndex:i,dataEndIndex:a,updateId:c,graphicalItems:b,stackGroups:g,offset:x}));return tn(tn({formattedGraphicalItems:S,graphicalItems:b,offset:x,stackGroups:g},P),O)};return e=function(t){var e;function n(t){var e,a,l,s,f;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n),s=n,f=[t],s=$(s),l=function(t,e){if(e&&("object"===K(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return Z(t)}(this,q()?Reflect.construct(s,f||[],$(this).constructor):s.apply(this,f)),to(Z(l),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),to(Z(l),"accessibilityManager",new R.L),to(Z(l),"handleLegendBBoxUpdate",function(t){if(t){var e=l.state,r=e.dataStartIndex,n=e.dataEndIndex,o=e.updateId;l.setState(tn({legendBBox:t},C({props:l.props,dataStartIndex:r,dataEndIndex:n,updateId:o},tn(tn({},l.state),{},{legendBBox:t}))))}}),to(Z(l),"handleReceiveSyncEvent",function(t,e,r){l.props.syncId===t&&(r!==l.eventEmitterSymbol||"function"==typeof l.props.syncMethod)&&l.applySyncEvent(e)}),to(Z(l),"handleBrushChange",function(t){var e=t.startIndex,r=t.endIndex;if(e!==l.state.dataStartIndex||r!==l.state.dataEndIndex){var n=l.state.updateId;l.setState(function(){return tn({dataStartIndex:e,dataEndIndex:r},C({props:l.props,dataStartIndex:e,dataEndIndex:r,updateId:n},l.state))}),l.triggerSyncEvent({dataStartIndex:e,dataEndIndex:r})}}),to(Z(l),"handleMouseEnter",function(t){var e=l.getMouseInfo(t);if(e){var r=tn(tn({},e),{},{isTooltipActive:!0});l.setState(r),l.triggerSyncEvent(r);var n=l.props.onMouseEnter;u()(n)&&n(r,t)}}),to(Z(l),"triggeredAfterMouseMove",function(t){var e=l.getMouseInfo(t),r=e?tn(tn({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};l.setState(r),l.triggerSyncEvent(r);var n=l.props.onMouseMove;u()(n)&&n(r,t)}),to(Z(l),"handleItemMouseEnter",function(t){l.setState(function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}})}),to(Z(l),"handleItemMouseLeave",function(){l.setState(function(){return{isTooltipActive:!1}})}),to(Z(l),"handleMouseMove",function(t){t.persist(),l.throttleTriggeredAfterMouseMove(t)}),to(Z(l),"handleMouseLeave",function(t){l.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};l.setState(e),l.triggerSyncEvent(e);var r=l.props.onMouseLeave;u()(r)&&r(e,t)}),to(Z(l),"handleOuterEvent",function(t){var e,r=(0,A.Bh)(t),n=d()(l.props,"".concat(r));r&&u()(n)&&(e=/.*touch.*/i.test(r)?l.getMouseInfo(t.changedTouches[0]):l.getMouseInfo(t),n(null!=e?e:{},t))}),to(Z(l),"handleClick",function(t){var e=l.getMouseInfo(t);if(e){var r=tn(tn({},e),{},{isTooltipActive:!0});l.setState(r),l.triggerSyncEvent(r);var n=l.props.onClick;u()(n)&&n(r,t)}}),to(Z(l),"handleMouseDown",function(t){var e=l.props.onMouseDown;if(u()(e)){var r=l.getMouseInfo(t);e(r,t)}}),to(Z(l),"handleMouseUp",function(t){var e=l.props.onMouseUp;if(u()(e)){var r=l.getMouseInfo(t);e(r,t)}}),to(Z(l),"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&l.throttleTriggeredAfterMouseMove(t.changedTouches[0])}),to(Z(l),"handleTouchStart",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&l.handleMouseDown(t.changedTouches[0])}),to(Z(l),"handleTouchEnd",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&l.handleMouseUp(t.changedTouches[0])}),to(Z(l),"triggerSyncEvent",function(t){void 0!==l.props.syncId&&B.t.emit(B.Y,l.props.syncId,t,l.eventEmitterSymbol)}),to(Z(l),"applySyncEvent",function(t){var e=l.props,r=e.layout,n=e.syncMethod,o=l.state.updateId,i=t.dataStartIndex,a=t.dataEndIndex;if(void 0!==t.dataStartIndex||void 0!==t.dataEndIndex)l.setState(tn({dataStartIndex:i,dataEndIndex:a},C({props:l.props,dataStartIndex:i,dataEndIndex:a,updateId:o},l.state)));else if(void 0!==t.activeTooltipIndex){var c=t.chartX,u=t.chartY,s=t.activeTooltipIndex,f=l.state,p=f.offset,d=f.tooltipTicks;if(!p)return;if("function"==typeof n)s=n(d,t);else if("value"===n){s=-1;for(var y=0;y<d.length;y++)if(d[y].value===t.activeLabel){s=y;break}}var h=tn(tn({},p),{},{x:p.left,y:p.top}),v=Math.min(c,h.x+h.width),m=Math.min(u,h.y+h.height),b=d[s]&&d[s].value,g=td(l.state,l.props.data,s),O=d[s]?{x:"horizontal"===r?d[s].coordinate:v,y:"horizontal"===r?m:d[s].coordinate}:tl;l.setState(tn(tn({},t),{},{activeLabel:b,activeCoordinate:O,activePayload:g,activeTooltipIndex:s}))}else l.setState(t)}),to(Z(l),"renderCursor",function(t){var e,n=l.state,o=n.isTooltipActive,a=n.activeCoordinate,c=n.activePayload,u=n.offset,s=n.activeTooltipIndex,f=n.tooltipAxisBandSize,p=l.getTooltipEventType(),d=null!==(e=t.props.active)&&void 0!==e?e:o,y=l.props.layout,h=t.key||"_recharts-cursor";return i().createElement(W.C,{key:h,activeCoordinate:a,activePayload:c,activeTooltipIndex:s,chartName:r,element:t,isActive:d,layout:y,offset:u,tooltipAxisBandSize:f,tooltipEventType:p})}),to(Z(l),"renderPolarAxis",function(t,e,r){var n=d()(t,"type.axisType"),i=d()(l.state,"".concat(n,"Map")),a=i&&i[t.props["".concat(n,"Id")]];return(0,o.cloneElement)(t,tn(tn({},a),{},{className:(0,b.default)(n,a.className),key:t.key||"".concat(e,"-").concat(r),ticks:(0,M.uY)(a,!0)}))}),to(Z(l),"renderPolarGrid",function(t){var e=t.props,r=e.radialLines,n=e.polarAngles,i=e.polarRadius,a=l.state,c=a.radiusAxisMap,u=a.angleAxisMap,s=(0,T.Kt)(c),f=(0,T.Kt)(u),p=f.cx,d=f.cy,y=f.innerRadius,h=f.outerRadius;return(0,o.cloneElement)(t,{polarAngles:Array.isArray(n)?n:(0,M.uY)(f,!0).map(function(t){return t.coordinate}),polarRadius:Array.isArray(i)?i:(0,M.uY)(s,!0).map(function(t){return t.coordinate}),cx:p,cy:d,innerRadius:y,outerRadius:h,key:t.key||"polar-grid",radialLines:r})}),to(Z(l),"renderLegend",function(){var t=l.state.formattedGraphicalItems,e=l.props,r=e.children,n=e.width,i=e.height,a=l.props.margin||{},c=n-(a.left||0)-(a.right||0),u=(0,I.z)({children:r,formattedGraphicalItems:t,legendWidth:c,legendContent:y});if(!u)return null;var s=u.item,f=H(u,X);return(0,o.cloneElement)(s,tn(tn({},f),{},{chartWidth:n,chartHeight:i,margin:a,onBBoxUpdate:l.handleLegendBBoxUpdate}))}),to(Z(l),"renderTooltip",function(){var t,e=l.props,r=e.children,n=e.accessibilityLayer,i=(0,A.sP)(r,w.u);if(!i)return null;var a=l.state,c=a.isTooltipActive,u=a.activeCoordinate,s=a.activePayload,f=a.activeLabel,p=a.offset,d=null!==(t=i.props.active)&&void 0!==t?t:c;return(0,o.cloneElement)(i,{viewBox:tn(tn({},p),{},{x:p.left,y:p.top}),active:d,label:f,payload:d?s:[],coordinate:u,accessibilityLayer:n})}),to(Z(l),"renderBrush",function(t){var e=l.props,r=e.margin,n=e.data,i=l.state,a=i.offset,c=i.dataStartIndex,u=i.dataEndIndex,s=i.updateId;return(0,o.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:(0,M.DO)(l.handleBrushChange,t.props.onChange),data:n,x:(0,T.hj)(t.props.x)?t.props.x:a.left,y:(0,T.hj)(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:(0,T.hj)(t.props.width)?t.props.width:a.width,startIndex:c,endIndex:u,updateId:"brush-".concat(s)})}),to(Z(l),"renderReferenceElement",function(t,e,r){if(!t)return null;var n=Z(l).clipPathId,i=l.state,a=i.xAxisMap,c=i.yAxisMap,u=i.offset,s=t.props,f=s.xAxisId,p=s.yAxisId;return(0,o.cloneElement)(t,{key:t.key||"".concat(e,"-").concat(r),xAxis:a[f],yAxis:c[p],viewBox:{x:u.left,y:u.top,width:u.width,height:u.height},clipPathId:n})}),to(Z(l),"renderActivePoints",function(t){var e=t.item,r=t.activePoint,o=t.basePoint,i=t.childIndex,a=t.isRange,c=[],l=e.props.key,u=e.item.props,s=u.activeDot,f=u.dataKey,p=tn(tn({index:i,dataKey:f,cx:r.x,cy:r.y,r:4,fill:(0,M.fk)(e.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value,key:"".concat(l,"-activePoint-").concat(i)},(0,A.L6)(s,!1)),(0,L.Ym)(s));return c.push(n.renderActiveDot(s,p)),o?c.push(n.renderActiveDot(s,tn(tn({},p),{},{cx:o.x,cy:o.y,key:"".concat(l,"-basePoint-").concat(i)}))):a&&c.push(null),c}),to(Z(l),"renderGraphicChild",function(t,e,r){var n=l.filterFormatItem(t,e,r);if(!n)return null;var i=l.getTooltipEventType(),a=l.state,u=a.isTooltipActive,s=a.tooltipAxis,f=a.activeTooltipIndex,p=a.activeLabel,d=l.props.children,y=(0,A.sP)(d,w.u),h=n.props,v=h.points,m=h.isRange,b=h.baseLine,g=n.item.props,O=g.activeDot,x=g.hide,j=g.activeBar,P=g.activeShape,S={};"axis"!==i&&y&&"click"===y.props.trigger?S={onClick:(0,M.DO)(l.handleItemMouseEnter,t.props.onClick)}:"axis"!==i&&(S={onMouseLeave:(0,M.DO)(l.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:(0,M.DO)(l.handleItemMouseEnter,t.props.onMouseEnter)});var E=(0,o.cloneElement)(t,tn(tn({},n.props),S));if(!x&&u&&y&&(O||j||P)){if(f>=0){if(s.dataKey&&!s.allowDuplicatedCategory){var k="function"==typeof s.dataKey?function(t){return"function"==typeof s.dataKey?s.dataKey(t.payload):null}:"payload.".concat(s.dataKey.toString());C=(0,T.Ap)(v,k,p),D=m&&b&&(0,T.Ap)(b,k,p)}else C=null==v?void 0:v[f],D=m&&b&&b[f];if(P||j){var I=void 0!==t.props.activeIndex?t.props.activeIndex:f;return[(0,o.cloneElement)(t,tn(tn(tn({},n.props),S),{},{activeIndex:I})),null,null]}if(!c()(C))return[E].concat(J(l.renderActivePoints({item:n,activePoint:C,basePoint:D,childIndex:f,isRange:m})))}else{var C,D,N,B=(null!==(N=l.getItemByXY(l.state.activeCoordinate))&&void 0!==N?N:{graphicalItem:E}).graphicalItem,L=B.item,R=void 0===L?t:L,_=B.childIndex,z=tn(tn(tn({},n.props),S),{},{activeIndex:_});return[(0,o.cloneElement)(R,z),null,null]}}return m?[E,null,null]:[E,null]}),to(Z(l),"renderCustomized",function(t,e,r){return(0,o.cloneElement)(t,tn(tn({key:"recharts-customized-".concat(r)},l.props),l.state))}),to(Z(l),"renderMap",{CartesianGrid:{handler:tu,once:!0},ReferenceArea:{handler:l.renderReferenceElement},ReferenceLine:{handler:tu},ReferenceDot:{handler:l.renderReferenceElement},XAxis:{handler:tu},YAxis:{handler:tu},Brush:{handler:l.renderBrush,once:!0},Bar:{handler:l.renderGraphicChild},Line:{handler:l.renderGraphicChild},Area:{handler:l.renderGraphicChild},Radar:{handler:l.renderGraphicChild},RadialBar:{handler:l.renderGraphicChild},Scatter:{handler:l.renderGraphicChild},Pie:{handler:l.renderGraphicChild},Funnel:{handler:l.renderGraphicChild},Tooltip:{handler:l.renderCursor,once:!0},PolarGrid:{handler:l.renderPolarGrid,once:!0},PolarAngleAxis:{handler:l.renderPolarAxis},PolarRadiusAxis:{handler:l.renderPolarAxis},Customized:{handler:l.renderCustomized}}),l.clipPathId="".concat(null!==(e=t.id)&&void 0!==e?e:(0,T.EL)("recharts"),"-clip"),l.throttleTriggeredAfterMouseMove=m()(l.triggeredAfterMouseMove,null!==(a=t.throttleDelay)&&void 0!==a?a:1e3/60),l.state={},l}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Q(t,e)}(n,t),e=[{key:"componentDidMount",value:function(){var t,e;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(t=this.props.margin.left)&&void 0!==t?t:0,top:null!==(e=this.props.margin.top)&&void 0!==e?e:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var t=this.props,e=t.children,r=t.data,n=t.height,o=t.layout,i=(0,A.sP)(e,w.u);if(i){var a=i.props.defaultIndex;if("number"==typeof a&&!(a<0)&&!(a>this.state.tooltipTicks.length)){var c=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,l=td(this.state,r,a,c),u=this.state.tooltipTicks[a].coordinate,s=(this.state.offset.top+n)/2,f="horizontal"===o?{x:u,y:s}:{y:u,x:s},p=this.state.formattedGraphicalItems.find(function(t){var e=t.item;return"Scatter"===e.type.name});p&&(f=tn(tn({},f),p.props.points[a].tooltipPosition),l=p.props.points[a].tooltipPayload);var d={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:c,activePayload:l,activeCoordinate:f};this.setState(d),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)&&void 0!==r?r:0,top:null!==(n=this.props.margin.top)&&void 0!==n?n:0}})}return null}},{key:"componentDidUpdate",value:function(t){(0,A.rL)([(0,A.sP)(t.children,w.u)],[(0,A.sP)(this.props.children,w.u)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=(0,A.sP)(this.props.children,w.u);if(t&&"boolean"==typeof t.props.shared){var e=t.props.shared?"axis":"item";return f.indexOf(e)>=0?e:l}return l}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=this.container,r=e.getBoundingClientRect(),n=(0,k.os)(r),o={chartX:Math.round(t.pageX-n.left),chartY:Math.round(t.pageY-n.top)},i=r.width/e.offsetWidth||1,a=this.inRange(o.chartX,o.chartY,i);if(!a)return null;var c=this.state,l=c.xAxisMap,u=c.yAxisMap,s=this.getTooltipEventType();if("axis"!==s&&l&&u){var f=(0,T.Kt)(l).scale,p=(0,T.Kt)(u).scale,d=f&&f.invert?f.invert(o.chartX):null,y=p&&p.invert?p.invert(o.chartY):null;return tn(tn({},o),{},{xValue:d,yValue:y})}var h=ty(this.state,this.props.data,this.props.layout,a);return h?tn(tn({},o),h):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,l=c.angleAxisMap,u=c.radiusAxisMap;if(l&&u){var s=(0,T.Kt)(l);return(0,D.z3)({x:o,y:i},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=(0,A.sP)(t,w.u),n={};r&&"axis"===e&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd});var o=(0,L.Ym)(this.props,this.handleOuterEvent);return tn(tn({},o),n)}},{key:"addListener",value:function(){B.t.on(B.Y,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){B.t.removeListener(B.Y,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(t,e,r){for(var n=this.state.formattedGraphicalItems,o=0,i=n.length;o<i;o++){var a=n[o];if(a.item===t||a.props.key===t.key||e===(0,A.Gf)(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,a=e.width;return i().createElement("defs",null,i().createElement("clipPath",{id:t},i().createElement("rect",{x:r,y:n,height:o,width:a})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=Y(e,2),n=r[0],o=r[1];return tn(tn({},t),{},to({},n,o.scale))},{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=Y(e,2),n=r[0],o=r[1];return tn(tn({},t),{},to({},n,o.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(t){var e;return null===(e=this.state.xAxisMap)||void 0===e||null===(e=e[t])||void 0===e?void 0:e.scale}},{key:"getYScaleByAxisId",value:function(t){var e;return null===(e=this.state.yAxisMap)||void 0===e||null===(e=e[t])||void 0===e?void 0:e.scale}},{key:"getItemByXY",value:function(t){var e=this.state,r=e.formattedGraphicalItems,n=e.activeItem;if(r&&r.length)for(var o=0,i=r.length;o<i;o++){var a=r[o],c=a.props,l=a.item,u=(0,A.Gf)(l.type);if("Bar"===u){var s=(c.data||[]).find(function(e){return(0,S.X)(t,e)});if(s)return{graphicalItem:a,payload:s}}else if("RadialBar"===u){var f=(c.data||[]).find(function(e){return(0,D.z3)(t,e)});if(f)return{graphicalItem:a,payload:f}}else if((0,z.lT)(a,n)||(0,z.V$)(a,n)||(0,z.w7)(a,n)){var p=(0,z.a3)({graphicalItem:a,activeTooltipItem:n,itemData:l.props.data}),d=void 0===l.props.activeIndex?p:l.props.activeIndex;return{graphicalItem:tn(tn({},a),{},{childIndex:d}),payload:(0,z.w7)(a,n)?l.props.data[p]:a.props.data[p]}}}return null}},{key:"render",value:function(){var t,e,r=this;if(!(0,A.TT)(this))return null;var n=this.props,o=n.children,a=n.className,c=n.width,l=n.height,u=n.style,s=n.compact,f=n.title,p=n.desc,d=H(n,G),y=(0,A.L6)(d,!1);if(s)return i().createElement(U.br,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},i().createElement(O.T,V({},y,{width:c,height:l,title:f,desc:p}),this.renderClipPath(),(0,A.eu)(o,this.renderMap)));this.props.accessibilityLayer&&(y.tabIndex=null!==(t=this.props.tabIndex)&&void 0!==t?t:0,y.role=null!==(e=this.props.role)&&void 0!==e?e:"application",y.onKeyDown=function(t){r.accessibilityManager.keyboardEvent(t)},y.onFocus=function(){r.accessibilityManager.focus()});var h=this.parseEventsOfWrapper();return i().createElement(U.br,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},i().createElement("div",V({className:(0,b.default)("recharts-wrapper",a),style:tn({position:"relative",cursor:"default",width:c,height:l},u)},h,{ref:function(t){r.container=t}}),i().createElement(O.T,V({},y,{width:c,height:l,title:f,desc:p,style:tc}),this.renderClipPath(),(0,A.eu)(o,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ti(n.key),n)}}(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}(o.Component),to(e,"displayName",r),to(e,"defaultProps",tn({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},v)),to(e,"getDerivedStateFromProps",function(t,e){var r=t.dataKey,n=t.data,o=t.children,i=t.width,a=t.height,l=t.layout,u=t.stackOffset,s=t.margin,f=e.dataStartIndex,p=e.dataEndIndex;if(void 0===e.updateId){var d=tg(t);return tn(tn(tn({},d),{},{updateId:0},C(tn(tn({props:t},d),{},{updateId:0}),e)),{},{prevDataKey:r,prevData:n,prevWidth:i,prevHeight:a,prevLayout:l,prevStackOffset:u,prevMargin:s,prevChildren:o})}if(r!==e.prevDataKey||n!==e.prevData||i!==e.prevWidth||a!==e.prevHeight||l!==e.prevLayout||u!==e.prevStackOffset||!(0,N.w)(s,e.prevMargin)){var y=tg(t),h={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},v=tn(tn({},ty(e,n,l)),{},{updateId:e.updateId+1}),m=tn(tn(tn({},y),h),v);return tn(tn(tn({},m),C(tn({props:t},m),e)),{},{prevDataKey:r,prevData:n,prevWidth:i,prevHeight:a,prevLayout:l,prevStackOffset:u,prevMargin:s,prevChildren:o})}if(!(0,A.rL)(o,e.prevChildren)){var b,g,O,x,w=(0,A.sP)(o,E.B),j=w&&null!==(b=null===(g=w.props)||void 0===g?void 0:g.startIndex)&&void 0!==b?b:f,P=w&&null!==(O=null===(x=w.props)||void 0===x?void 0:x.endIndex)&&void 0!==O?O:p,S=c()(n)||j!==f||P!==p?e.updateId+1:e.updateId;return tn(tn({updateId:S},C(tn(tn({props:t},e),{},{updateId:S,dataStartIndex:j,dataEndIndex:P}),e)),{},{prevChildren:o,dataStartIndex:j,dataEndIndex:P})}return null}),to(e,"renderActiveDot",function(t,e){var r;return r=(0,o.isValidElement)(t)?(0,o.cloneElement)(t,e):u()(t)?t(e):i().createElement(P.o,e),i().createElement(x.m,{className:"recharts-active-dot",key:e.key},r)}),e};n()}catch(t){n(t)}})},4487:(t,e,r)=>{"use strict";r.d(e,{b:()=>n});var n=function(t){return null};n.displayName="Cell"},8714:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{C:()=>b});var o=r(6689),i=r(6593),a=r(9409),c=r(9480),l=r(2028),u=r(9499),s=r(7938),f=r(6897),p=r(7303),d=r(710),y=t([i,a,c,u,s,f,p]);function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?v(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=h(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=h(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==h(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function b(t){var e,r=t.element,n=t.tooltipEventType,y=t.isActive,h=t.activeCoordinate,v=t.activePayload,b=t.offset,g=t.activeTooltipIndex,O=t.tooltipAxisBandSize,x=t.layout,w=t.chartName;if(!r||!r.props.cursor||!y||!h||"ScatterChart"!==w&&"axis"!==n)return null;var j=a.H;if("ScatterChart"===w)e=h,j=c.X;else if("BarChart"===w)e=(0,l.E)(x,h,b,O),j=u.A;else if("radial"===x){var P=(0,s.O)(h),S=P.cx,A=P.cy,E=P.radius,k=P.startAngle,T=P.endAngle;e={cx:S,cy:A,startAngle:k,endAngle:T,innerRadius:E,outerRadius:E},j=f.L}else e={points:(0,p.y)(x,h,b)},j=a.H;var M=m(m(m(m({stroke:"#ccc",pointerEvents:"none"},b),e),(0,d.L6)(r.props.cursor,!1)),{},{payload:v,payloadIndex:g,className:(0,i.default)("recharts-tooltip-cursor",r.props.cursor.className)});return(0,o.isValidElement)(r.props.cursor)?(0,o.cloneElement)(r.props.cursor,M):(0,o.createElement)(j,M)}[i,a,c,u,s,f,p]=y.then?(await y)():y,n()}catch(t){n(t)}})},4690:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{g:()=>w});var o=r(6689),i=r.n(o),a=r(5716),c=r.n(a),l=r(6593),u=r(3649),s=r(4844),f=r(4108),p=r(2481),d=t([l,f,s]);function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(){return(h=Object.assign?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 v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function m(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(m=function(){return!!t})()}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function g(t,e){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function O(t,e,r){return(e=x(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function x(t){var e=function(t,e){if("object"!=y(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=y(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==y(e)?e:String(e)}[l,f,s]=d.then?(await d)():d;var w=function(t){var e;function r(){var t,e;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r),t=r,e=arguments,t=b(t),function(t,e){if(e&&("object"===y(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,m()?Reflect.construct(t,e||[],b(this).constructor):t.apply(this,e))}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&g(t,e)}(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 i().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 i().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 i().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(i().isValidElement(t.legendIcon)){var a=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?v(Object(r),!0).forEach(function(e){O(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({},t);return delete a.legendIcon,i().cloneElement(t.legendIcon,a)}return i().createElement(f.v,{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,a=e.formatter,f=e.inactiveColor,d={x:0,y:0,width:32,height:32},y={display:"horizontal"===o?"inline-block":"block",marginRight:10},v={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map(function(e,r){var o=e.formatter||a,m=(0,l.default)(O(O({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",e.inactive));if("none"===e.type)return null;var b=c()(e.value)?null:e.value;(0,u.Z)(!c()(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 g=e.inactive?f:e.color;return i().createElement("li",h({className:m,style:y,key:"legend-item-".concat(r)},(0,p.bw)(t.props,e,r)),i().createElement(s.T,{width:n,height:n,viewBox:d,style:v},t.renderIcon(e)),i().createElement("span",{className:"recharts-legend-item-text",style:{color:g}},o?o(b,e,r):b))})}},{key:"render",value:function(){var t=this.props,e=t.payload,r=t.layout,n=t.align;return e&&e.length?i().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,x(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(o.PureComponent);O(w,"displayName","Legend"),O(w,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"}),n()}catch(t){n(t)}})},1837:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{x:()=>g});var o=r(6689),i=r.n(o),a=r(3672),c=r.n(a),l=r(6069),u=r.n(l),s=r(6593),f=r(5516),p=t([s]);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(){return(y=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function h(t,e){(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 v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?v(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=d(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=d(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==d(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function b(t){return Array.isArray(t)&&(0,f.P2)(t[0])&&(0,f.P2)(t[1])?t.join(" ~ "):t}s=(p.then?(await p)():p)[0];var g=function(t){var e=t.separator,r=void 0===e?" : ":e,n=t.contentStyle,o=t.itemStyle,a=void 0===o?{}:o,l=t.labelStyle,p=t.payload,d=t.formatter,v=t.itemSorter,g=t.wrapperClassName,O=t.labelClassName,x=t.label,w=t.labelFormatter,j=t.accessibilityLayer,P=m({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},void 0===n?{}:n),S=m({margin:0},void 0===l?{}:l),A=!u()(x),E=A?x:"",k=(0,s.default)("recharts-default-tooltip",g),T=(0,s.default)("recharts-tooltip-label",O);return A&&w&&null!=p&&(E=w(x,p)),i().createElement("div",y({className:k,style:P},void 0!==j&&j?{role:"status","aria-live":"assertive"}:{}),i().createElement("p",{className:T,style:S},i().isValidElement(E)?E:"".concat(E)),function(){if(p&&p.length){var t=(v?c()(p,v):p).map(function(t,e){if("none"===t.type)return null;var n=m({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},a),o=t.formatter||d||b,c=t.value,l=t.name,u=c,s=l;if(o&&null!=u&&null!=s){var y=o(c,l,t,e,p);if(Array.isArray(y)){var v=function(t){if(Array.isArray(t))return t}(y)||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=[],l=!0,u=!1;try{for(i=(r=r.call(t)).next;!(l=(n=i.call(r)).done)&&(c.push(n.value),2!==c.length);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(y,2)||function(t,e){if(t){if("string"==typeof t)return h(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 h(t,2)}}(y,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.")}();u=v[0],s=v[1]}else u=y}return i().createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(e),style:n},(0,f.P2)(s)?i().createElement("span",{className:"recharts-tooltip-item-name"},s):null,(0,f.P2)(s)?i().createElement("span",{className:"recharts-tooltip-item-separator"},r):null,i().createElement("span",{className:"recharts-tooltip-item-value"},u),i().createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))});return i().createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())};n()}catch(t){n(t)}})},2535:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{_:()=>k});var o=r(6689),i=r.n(o),a=r(6069),c=r.n(a),l=r(5716),u=r.n(l),s=r(5795),f=r.n(s),p=r(6593),d=r(7240),y=r(710),h=r(5516),v=r(7011),m=t([p,v,d]);function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}[p,v,d]=m.then?(await m)():m;var g=["offset"];function O(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function w(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?x(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=b(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=b(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==b(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function j(){return(j=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var P=function(t){var e=t.value,r=t.formatter,n=c()(t.children)?e:t.children;return u()(r)?r(n):n},S=function(t,e,r){var n,o,a=t.position,l=t.viewBox,u=t.offset,s=t.className,f=l.cx,d=l.cy,y=l.innerRadius,m=l.outerRadius,b=l.startAngle,g=l.endAngle,O=l.clockWise,x=(y+m)/2,w=(0,h.uY)(g-b)*Math.min(Math.abs(g-b),360),P=w>=0?1:-1;"insideStart"===a?(n=b+P*u,o=O):"insideEnd"===a?(n=g-P*u,o=!O):"end"===a&&(n=g+P*u,o=O),o=w<=0?o:!o;var S=(0,v.op)(f,d,x,n),A=(0,v.op)(f,d,x,n+(o?1:-1)*359),E="M".concat(S.x,",").concat(S.y,"\n    A").concat(x,",").concat(x,",0,1,").concat(o?0:1,",\n    ").concat(A.x,",").concat(A.y),k=c()(t.id)?(0,h.EL)("recharts-radial-line-"):t.id;return i().createElement("text",j({},r,{dominantBaseline:"central",className:(0,p.default)("recharts-radial-bar-label",s)}),i().createElement("defs",null,i().createElement("path",{id:k,d:E})),i().createElement("textPath",{xlinkHref:"#".concat(k)},e))},A=function(t){var e=t.viewBox,r=t.offset,n=t.position,o=e.cx,i=e.cy,a=e.innerRadius,c=e.outerRadius,l=e.startAngle,u=e.endAngle,s=(l+u)/2;if("outside"===n){var f=(0,v.op)(o,i,c+r,s),p=f.x,d=f.y;return{x:p,y:d,textAnchor:p>=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 y=(0,v.op)(o,i,(a+c)/2,s),h=y.x,m=y.y;return{x:h,y:m,textAnchor:"middle",verticalAnchor:"middle"}},E=function(t){var e=t.viewBox,r=t.parentViewBox,n=t.offset,o=t.position,i=e.x,a=e.y,c=e.width,l=e.height,u=l>=0?1:-1,s=u*n,p=u>0?"end":"start",d=u>0?"start":"end",y=c>=0?1:-1,v=y*n,m=y>0?"end":"start",b=y>0?"start":"end";if("top"===o)return w(w({},{x:i+c/2,y:a-u*n,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(a-r.y,0),width:c}:{});if("bottom"===o)return w(w({},{x:i+c/2,y:a+l+s,textAnchor:"middle",verticalAnchor:d}),r?{height:Math.max(r.y+r.height-(a+l),0),width:c}:{});if("left"===o){var g={x:i-v,y:a+l/2,textAnchor:m,verticalAnchor:"middle"};return w(w({},g),r?{width:Math.max(g.x-r.x,0),height:l}:{})}if("right"===o){var O={x:i+c+v,y:a+l/2,textAnchor:b,verticalAnchor:"middle"};return w(w({},O),r?{width:Math.max(r.x+r.width-O.x,0),height:l}:{})}var x=r?{width:c,height:l}:{};return"insideLeft"===o?w({x:i+v,y:a+l/2,textAnchor:b,verticalAnchor:"middle"},x):"insideRight"===o?w({x:i+c-v,y:a+l/2,textAnchor:m,verticalAnchor:"middle"},x):"insideTop"===o?w({x:i+c/2,y:a+s,textAnchor:"middle",verticalAnchor:d},x):"insideBottom"===o?w({x:i+c/2,y:a+l-s,textAnchor:"middle",verticalAnchor:p},x):"insideTopLeft"===o?w({x:i+v,y:a+s,textAnchor:b,verticalAnchor:d},x):"insideTopRight"===o?w({x:i+c-v,y:a+s,textAnchor:m,verticalAnchor:d},x):"insideBottomLeft"===o?w({x:i+v,y:a+l-s,textAnchor:b,verticalAnchor:p},x):"insideBottomRight"===o?w({x:i+c-v,y:a+l-s,textAnchor:m,verticalAnchor:p},x):f()(o)&&((0,h.hj)(o.x)||(0,h.hU)(o.x))&&((0,h.hj)(o.y)||(0,h.hU)(o.y))?w({x:i+(0,h.h1)(o.x,c),y:a+(0,h.h1)(o.y,l),textAnchor:"end",verticalAnchor:"end"},x):w({x:i+c/2,y:a+l/2,textAnchor:"middle",verticalAnchor:"middle"},x)};function k(t){var e,r=t.offset,n=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,g),a=w({offset:void 0===r?5:r},n),l=a.viewBox,s=a.position,f=a.value,v=a.children,m=a.content,b=a.className,O=a.textBreakAll;if(!l||c()(f)&&c()(v)&&!(0,o.isValidElement)(m)&&!u()(m))return null;if((0,o.isValidElement)(m))return(0,o.cloneElement)(m,a);if(u()(m)){if(e=(0,o.createElement)(m,a),(0,o.isValidElement)(e))return e}else e=P(a);var x="cx"in l&&(0,h.hj)(l.cx),k=(0,y.L6)(a,!0);if(x&&("insideStart"===s||"insideEnd"===s||"end"===s))return S(a,e,k);var T=x?A(a):E(a);return i().createElement(d.x,j({className:(0,p.default)("recharts-label",void 0===b?"":b)},k,T,{breakAll:O}),e)}k.displayName="Label";var T=function(t){var e=t.cx,r=t.cy,n=t.angle,o=t.startAngle,i=t.endAngle,a=t.r,c=t.radius,l=t.innerRadius,u=t.outerRadius,s=t.x,f=t.y,p=t.top,d=t.left,y=t.width,v=t.height,m=t.clockWise,b=t.labelViewBox;if(b)return b;if((0,h.hj)(y)&&(0,h.hj)(v)){if((0,h.hj)(s)&&(0,h.hj)(f))return{x:s,y:f,width:y,height:v};if((0,h.hj)(p)&&(0,h.hj)(d))return{x:p,y:d,width:y,height:v}}return(0,h.hj)(s)&&(0,h.hj)(f)?{x:s,y:f,width:0,height:0}:(0,h.hj)(e)&&(0,h.hj)(r)?{cx:e,cy:r,startAngle:o||n||0,endAngle:i||n||0,innerRadius:l||0,outerRadius:u||c||a||0,clockWise:m}:t.viewBox?t.viewBox:{}};k.parseViewBox=T,k.renderCallByParent=function(t,e){var r,n,a=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&a&&!t.label)return null;var c=t.children,l=T(t),s=(0,y.NN)(c,k).map(function(t,r){return(0,o.cloneElement)(t,{viewBox:e||l,key:"label-".concat(r)})});return a?[(r=t.label,n=e||l,r?!0===r?i().createElement(k,{key:"label-implicit",viewBox:n}):(0,h.P2)(r)?i().createElement(k,{key:"label-implicit",viewBox:n,value:r}):(0,o.isValidElement)(r)?r.type===k?(0,o.cloneElement)(r,{key:"label-implicit",viewBox:n}):i().createElement(k,{key:"label-implicit",content:r,viewBox:n}):u()(r)?i().createElement(k,{key:"label-implicit",content:r,viewBox:n}):f()(r)?i().createElement(k,j({viewBox:n},r,{key:"label-implicit"})):null:null)].concat(function(t){if(Array.isArray(t))return O(t)}(s)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(s)||function(t,e){if(t){if("string"==typeof t)return O(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 O(t,void 0)}}(s)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):s},n()}catch(t){n(t)}})},759:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{e:()=>k});var o=r(6689),i=r.n(o),a=r(6069),c=r.n(a),l=r(5795),u=r.n(l),s=r(5716),f=r.n(s),p=r(3824),d=r.n(p),y=r(2535),h=r(357),v=r(710),m=r(4473),b=t([h,m,y]);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}[h,m,y]=b.then?(await b)():b;var O=["valueAccessor"],x=["data","dataKey","clockWise","id","textBreakAll"];function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function j(){return(j=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function P(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function S(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?P(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=g(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=g(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==g(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function A(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var E=function(t){return Array.isArray(t.value)?d()(t.value):t.value};function k(t){var e=t.valueAccessor,r=void 0===e?E:e,n=A(t,O),o=n.data,a=n.dataKey,l=n.clockWise,u=n.id,s=n.textBreakAll,f=A(n,x);return o&&o.length?i().createElement(h.m,{className:"recharts-label-list"},o.map(function(t,e){var n=c()(a)?r(t,e):(0,m.F$)(t&&t.payload,a),o=c()(u)?{}:{id:"".concat(u,"-").concat(e)};return i().createElement(y._,j({},(0,v.L6)(t,!0),f,o,{parentViewBox:t.parentViewBox,value:n,textBreakAll:s,viewBox:y._.parseViewBox(c()(l)?t:S(S({},t),{},{clockWise:l})),key:"label-".concat(e),index:e}))})):null}k.displayName="LabelList",k.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 a=t.children,c=(0,v.NN)(a,k).map(function(t,r){return(0,o.cloneElement)(t,{data:e,key:"labelList-".concat(r)})});return n?[(r=t.label)?!0===r?i().createElement(k,{key:"labelList-implicit",data:e}):i().isValidElement(r)||f()(r)?i().createElement(k,{key:"labelList-implicit",data:e,content:r}):u()(r)?i().createElement(k,j({data:e},r,{key:"labelList-implicit"})):null:null].concat(function(t){if(Array.isArray(t))return w(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 w(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 w(t,void 0)}}(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.")}()):c},n()}catch(t){n(t)}})},5450:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{D:()=>w});var o=r(6689),i=r.n(o),a=r(4690),c=r(5516),l=r(7219),u=t([a]);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}a=(u.then?(await u)():u)[0];var f=["ref"];function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach(function(e){g(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function y(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,O(n.key),n)}}function h(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(h=function(){return!!t})()}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function m(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b(t,e){return(b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function g(t,e,r){return(e=O(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function O(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:String(e)}function x(t){return t.value}var w=function(t){var e,r;function n(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n);for(var t,e,r,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=n,r=[].concat(i),e=v(e),t=function(t,e){if(e&&("object"===s(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return m(t)}(this,h()?Reflect.construct(e,r||[],v(this).constructor):e.apply(this,r)),g(m(t),"lastBoundingBox",{width:-1,height:-1}),t}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&b(t,e)}(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))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?d({},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,l=n.chartWidth,u=n.chartHeight;if(!t||(void 0===t.left||null===t.left)&&(void 0===t.right||null===t.right)){if("center"===i&&"vertical"===o){var s=this.getBBoxSnapshot();e={left:((l||0)-s.width)/2}}else e="right"===i?{right:c&&c.right||0}:{left:c&&c.left||0}}if(!t||(void 0===t.top||null===t.top)&&(void 0===t.bottom||null===t.bottom)){if("middle"===a){var f=this.getBBoxSnapshot();r={top:((u||0)-f.height)/2}}else r="bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}}return d(d({},e),r)}},{key:"render",value:function(){var t=this,e=this.props,r=e.content,n=e.width,o=e.height,c=e.wrapperStyle,u=e.payloadUniqBy,s=e.payload,p=d(d({position:"absolute",width:n||"auto",height:o||"auto"},this.getDefaultPosition(c)),c);return i().createElement("div",{className:"recharts-legend-wrapper",style:p,ref:function(e){t.wrapperNode=e}},function(t,e){if(i().isValidElement(t))return i().cloneElement(t,e);if("function"==typeof t)return i().createElement(t,e);e.ref;var r=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(e,f);return i().createElement(a.g,r)}(r,d(d({},this.props),{},{payload:(0,l.z)(s,u,x)})))}}],r=[{key:"getWithHeight",value:function(t,e){var r=t.props.layout;return"vertical"===r&&(0,c.hj)(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}:null}}],e&&y(n.prototype,e),r&&y(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(o.PureComponent);g(w,"displayName","Legend"),g(w,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"}),n()}catch(t){n(t)}})},2305:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{h:()=>b});var o=r(6593),i=r(6689),a=r.n(i),c=r(1381),l=r.n(c),u=r(1469),s=r(5516),f=r(3649),p=r(710),d=t([o]);function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function v(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?h(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=y(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=y(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==y(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}o=(d.then?(await d)():d)[0];var b=(0,i.forwardRef)(function(t,e){var r,n=t.aspect,c=t.initialDimension,d=void 0===c?{width:-1,height:-1}:c,y=t.width,h=void 0===y?"100%":y,b=t.height,g=void 0===b?"100%":b,O=t.minWidth,x=void 0===O?0:O,w=t.minHeight,j=t.maxHeight,P=t.children,S=t.debounce,A=void 0===S?0:S,E=t.id,k=t.className,T=t.onResize,M=t.style,I=(0,i.useRef)(null),C=(0,i.useRef)();C.current=T,(0,i.useImperativeHandle)(e,function(){return Object.defineProperty(I.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),I.current},configurable:!0})});var D=(r=(0,i.useState)({containerWidth:d.width,containerHeight:d.height}),function(t){if(Array.isArray(t))return t}(r)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{for(i=(r=r.call(t)).next;!(l=(n=i.call(r)).done)&&(c.push(n.value),2!==c.length);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(r,2)||function(t,e){if(t){if("string"==typeof t)return m(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 m(t,2)}}(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.")}()),N=D[0],B=D[1],L=(0,i.useCallback)(function(t,e){B(function(r){var n=Math.round(t),o=Math.round(e);return r.containerWidth===n&&r.containerHeight===o?r:{containerWidth:n,containerHeight:o}})},[]);(0,i.useEffect)(function(){var t=function(t){var e,r=t[0].contentRect,n=r.width,o=r.height;L(n,o),null===(e=C.current)||void 0===e||e.call(C,n,o)};A>0&&(t=l()(t,A,{trailing:!0,leading:!1}));var e=new ResizeObserver(t),r=I.current.getBoundingClientRect(),n=r.width,o=r.height;return L(n,o),e.observe(I.current),function(){e.disconnect()}},[L,A]);var R=(0,i.useMemo)(function(){var t=N.containerWidth,e=N.containerHeight;if(t<0||e<0)return null;(0,f.Z)((0,s.hU)(h)||(0,s.hU)(g),"The width(%s) and height(%s) are both fixed numbers,\n       maybe you don't need to use a ResponsiveContainer.",h,g),(0,f.Z)(!n||n>0,"The aspect(%s) must be greater than zero.",n);var r=(0,s.hU)(h)?t:h,o=(0,s.hU)(g)?e:g;n&&n>0&&(r?o=r/n:o&&(r=o*n),j&&o>j&&(o=j)),(0,f.Z)(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,h,g,x,w,n);var c=!Array.isArray(P)&&(0,u.isElement)(P)&&(0,p.Gf)(P.type).endsWith("Chart");return a().Children.map(P,function(t){return(0,u.isElement)(t)?(0,i.cloneElement)(t,v({width:r,height:o},c?{style:v({height:"100%",width:"100%",maxHeight:o,maxWidth:r},t.props.style)}:{})):t})},[n,P,g,j,w,x,N,h]);return a().createElement("div",{id:E?"".concat(E):void 0,className:(0,o.default)("recharts-responsive-container",k),style:v(v({},void 0===M?{}:M),{},{width:h,height:g,minWidth:x,minHeight:w,maxHeight:j}),ref:I},R)});n()}catch(t){n(t)}})},7240:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{x:()=>E});var o=r(6689),i=r.n(o),a=r(6069),c=r.n(a),l=r(6593),u=r(5516),s=r(3387),f=r(710),p=r(6379),d=r(4567),y=t([l]);l=(y.then?(await y)():y)[0];var h=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],v=["dx","dy","angle","className","breakAll"];function m(){return(m=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function b(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function g(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=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return O(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 O(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 O(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var x=/[ \f\n\r\t\v\u2028\u2029]+/,w=function(t){var e=t.children,r=t.breakAll,n=t.style;try{var o=[];c()(e)||(o=r?e.toString().split(""):e.toString().split(x));var i=o.map(function(t){return{word:t,width:(0,p.xE)(t,n).width}}),a=r?0:(0,p.xE)("\xa0",n).width;return{wordsWithComputedWidth:i,spaceWidth:a}}catch(t){return null}},j=function(t,e,r,n,o){var i,a=t.maxLines,c=t.children,l=t.style,s=t.breakAll,f=(0,u.hj)(a),p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.reduce(function(t,e){var i=e.word,a=e.width,c=t[t.length-1];return c&&(null==n||o||c.width+a+r<Number(n))?(c.words.push(i),c.width+=a+r):t.push({words:[i],width:a}),t},[])},d=p(e);if(!f)return d;for(var y=function(t){var e=c.slice(0,t),r=w({breakAll:s,style:l,children:e+"…"}).wordsWithComputedWidth,o=p(r);return[o.length>a||o.reduce(function(t,e){return t.width>e.width?t:e}).width>Number(n),o]},h=0,v=c.length-1,m=0;h<=v&&m<=c.length-1;){var b=Math.floor((h+v)/2),O=b-1,x=y(O),j=g(x,2),P=j[0],S=j[1],A=y(b),E=g(A,1)[0];if(P||E||(h=b+1),P&&E&&(v=b-1),!P&&E){i=S;break}m++}return i||d},P=function(t){return[{words:c()(t)?[]:t.toString().split(x)}]},S=function(t){var e=t.width,r=t.scaleToFit,n=t.children,o=t.style,i=t.breakAll,a=t.maxLines;if((e||r)&&!s.x.isSsr){var c=w({breakAll:i,children:n,style:o});if(!c)return P(n);var l=c.wordsWithComputedWidth,u=c.spaceWidth;return j({breakAll:i,children:n,maxLines:a,style:o},l,u,e,r)}return P(n)},A="#808080",E=function(t){var e,r=t.x,n=void 0===r?0:r,a=t.y,c=void 0===a?0:a,s=t.lineHeight,p=void 0===s?"1em":s,y=t.capHeight,g=void 0===y?"0.71em":y,O=t.scaleToFit,x=void 0!==O&&O,w=t.textAnchor,j=t.verticalAnchor,P=t.fill,E=void 0===P?A:P,k=b(t,h),T=(0,o.useMemo)(function(){return S({breakAll:k.breakAll,children:k.children,maxLines:k.maxLines,scaleToFit:x,style:k.style,width:k.width})},[k.breakAll,k.children,k.maxLines,x,k.style,k.width]),M=k.dx,I=k.dy,C=k.angle,D=k.className,N=k.breakAll,B=b(k,v);if(!(0,u.P2)(n)||!(0,u.P2)(c))return null;var L=n+((0,u.hj)(M)?M:0),R=c+((0,u.hj)(I)?I:0);switch(void 0===j?"end":j){case"start":e=(0,d.w)("calc(".concat(g,")"));break;case"middle":e=(0,d.w)("calc(".concat((T.length-1)/2," * -").concat(p," + (").concat(g," / 2))"));break;default:e=(0,d.w)("calc(".concat(T.length-1," * -").concat(p,")"))}var _=[];if(x){var z=T[0].width,W=k.width;_.push("scale(".concat(((0,u.hj)(W)?W/z:1)/z,")"))}return C&&_.push("rotate(".concat(C,", ").concat(L,", ").concat(R,")")),_.length&&(B.transform=_.join(" ")),i().createElement("text",m({},(0,f.L6)(B,!0),{x:L,y:R,className:(0,l.default)("recharts-text",D),textAnchor:void 0===w?"start":w,fill:E.includes("url")?A:E}),T.map(function(t,r){var n=t.words.join(N?"":" ");return i().createElement("tspan",{x:L,dy:0===r?e:p,key:n},n)}))};n()}catch(t){n(t)}})},6531:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{u:()=>O});var o=r(6689),i=r.n(o),a=r(1837),c=r(7009),l=r(3387),u=r(7219),s=t([a,c]);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach(function(e){m(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function y(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(y=function(){return!!t})()}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function v(t,e){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function m(t,e,r){return(e=b(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function b(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:String(e)}function g(t){return t.dataKey}[a,c]=s.then?(await s)():s;var O=function(t){var e;function r(){var t,e;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r),t=r,e=arguments,t=h(t),function(t,e){if(e&&("object"===f(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,y()?Reflect.construct(t,e||[],h(this).constructor):t.apply(this,e))}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&v(t,e)}(r,t),e=[{key:"render",value:function(){var t,e=this,r=this.props,n=r.active,o=r.allowEscapeViewBox,l=r.animationDuration,s=r.animationEasing,f=r.content,p=r.coordinate,y=r.filterNull,h=r.isAnimationActive,v=r.offset,m=r.payload,b=r.payloadUniqBy,O=r.position,x=r.reverseDirection,w=r.useTranslate3d,j=r.viewBox,P=r.wrapperStyle,S=null!=m?m:[];y&&S.length&&(S=(0,u.z)(m.filter(function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)}),b,g));var A=S.length>0;return i().createElement(c.q,{allowEscapeViewBox:o,animationDuration:l,animationEasing:s,isAnimationActive:h,active:n,coordinate:p,hasPayload:A,offset:v,position:O,reverseDirection:x,useTranslate3d:w,viewBox:j,wrapperStyle:P},(t=d(d({},this.props),{},{payload:S}),i().isValidElement(f)?i().cloneElement(f,t):"function"==typeof f?i().createElement(f,t):i().createElement(a.x,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,b(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(o.PureComponent);m(O,"displayName","Tooltip"),m(O,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!l.x.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:{}}),n()}catch(t){n(t)}})},7009:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{q:()=>m});var o=r(6689),i=r.n(o),a=r(726),c=t([a]);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach(function(e){h(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(f=function(){return!!t})()}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y(t,e){return(y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function h(t,e,r){return(e=v(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v(t){var e=function(t,e){if("object"!=l(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=l(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==l(e)?e:String(e)}a=(c.then?(await c)():c)[0];var m=function(t){var e;function r(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r);for(var t,e,n,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=r,n=[].concat(i),e=p(e),t=function(t,e){if(e&&("object"===l(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return d(t)}(this,f()?Reflect.construct(e,n||[],p(this).constructor):e.apply(this,n)),h(d(t),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),h(d(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?void 0:n.x)&&void 0!==r?r:0,y:null!==(o=null===(i=t.props.coordinate)||void 0===i?void 0:i.y)&&void 0!==o?o:0}})}}),t}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}(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?void 0:t.x)!==this.state.dismissedAtCoordinate.x||(null===(e=this.props.coordinate)||void 0===e?void 0:e.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var t=this,e=this.props,r=e.active,n=e.allowEscapeViewBox,o=e.animationDuration,c=e.animationEasing,l=e.children,u=e.coordinate,f=e.hasPayload,p=e.isAnimationActive,d=e.offset,y=e.position,h=e.reverseDirection,v=e.useTranslate3d,m=e.viewBox,b=e.wrapperStyle,g=(0,a.qq)({allowEscapeViewBox:n,coordinate:u,offsetTopLeft:d,position:y,reverseDirection:h,tooltipBox:this.state.lastBoundingBox,useTranslate3d:v,viewBox:m}),O=g.cssClasses,x=g.cssProperties,w=s(s({transition:p&&r?"transform ".concat(o,"ms ").concat(c):void 0},x),{},{pointerEvents:"none",visibility:!this.state.dismissed&&r&&f?"visible":"hidden",position:"absolute",top:0,left:0},b);return i().createElement("div",{tabIndex:-1,className:O,style:w,ref:function(e){t.wrapperNode=e}},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,v(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(o.PureComponent);n()}catch(t){n(t)}})},357:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{m:()=>f});var o=r(6689),i=r.n(o),a=r(6593),c=r(710),l=t([a]);a=(l.then?(await l)():l)[0];var u=["children","className"];function s(){return(s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var f=i().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,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,u),l=(0,a.default)("recharts-layer",n);return i().createElement("g",s({className:l},(0,c.L6)(o,!0),{ref:e}),r)});n()}catch(t){n(t)}})},4844:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{T:()=>f});var o=r(6689),i=r.n(o),a=r(6593),c=r(710),l=t([a]);a=(l.then?(await l)():l)[0];var u=["children","width","height","viewBox","className","style","title","desc"];function s(){return(s=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 f(t){var e=t.children,r=t.width,n=t.height,o=t.viewBox,l=t.className,f=t.style,p=t.title,d=t.desc,y=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,u),h=o||{width:r,height:n,x:0,y:0},v=(0,a.default)("recharts-surface",l);return i().createElement("svg",s({},(0,c.L6)(y,!0,"svg"),{className:v,width:r,height:n,style:f,viewBox:"".concat(h.x," ").concat(h.y," ").concat(h.width," ").concat(h.height)}),i().createElement("title",null,p),i().createElement("desc",null,d),e)}n()}catch(t){n(t)}})},8524:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{CW:()=>P,Mw:()=>M,Nf:()=>S,Ud:()=>A,bH:()=>j,br:()=>x,d2:()=>E,qD:()=>k,sp:()=>w,zn:()=>T});var o=r(6689),i=r.n(o),a=r(4281),c=r(6918),l=r.n(c),u=r(8759),s=r.n(u),f=r(4037),p=r(5516),d=t([a]);a=(d.then?(await d)():d)[0];var y=(0,o.createContext)(void 0),h=(0,o.createContext)(void 0),v=(0,o.createContext)(void 0),m=(0,o.createContext)({}),b=(0,o.createContext)(void 0),g=(0,o.createContext)(0),O=(0,o.createContext)(0),x=function(t){var e=t.state,r=e.xAxisMap,n=e.yAxisMap,o=e.offset,a=t.clipPathId,c=t.children,l=t.width,u=t.height,s=(0,f.Y)(o);return i().createElement(y.Provider,{value:r},i().createElement(h.Provider,{value:n},i().createElement(m.Provider,{value:o},i().createElement(v.Provider,{value:s},i().createElement(b.Provider,{value:a},i().createElement(g.Provider,{value:u},i().createElement(O.Provider,{value:l},c)))))))},w=function(){return(0,o.useContext)(b)},j=function(t){var e=(0,o.useContext)(y);null!=e||(0,a.default)(!1);var r=e[t];return null!=r||(0,a.default)(!1),r},P=function(){var t=(0,o.useContext)(y);return(0,p.Kt)(t)},S=function(){var t=(0,o.useContext)(h);return l()(t,function(t){return s()(t.domain,Number.isFinite)})||(0,p.Kt)(t)},A=function(t){var e=(0,o.useContext)(h);null!=e||(0,a.default)(!1);var r=e[t];return null!=r||(0,a.default)(!1),r},E=function(){return(0,o.useContext)(v)},k=function(){return(0,o.useContext)(m)},T=function(){return(0,o.useContext)(O)},M=function(){return(0,o.useContext)(g)};n()}catch(t){n(t)}})},9480:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{X:()=>y});var o=r(6689),i=r.n(o),a=r(6593),c=r(5516),l=r(710),u=t([a]);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}a=(u.then?(await u)():u)[0];var f=["x","y","top","left","width","height","className"];function p(){return(p=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}var y=function(t){var e=t.x,r=void 0===e?0:e,n=t.y,o=void 0===n?0:n,u=t.top,y=void 0===u?0:u,h=t.left,v=void 0===h?0:h,m=t.width,b=void 0===m?0:m,g=t.height,O=void 0===g?0:g,x=t.className,w=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,f),j=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({x:r,y:o,top:y,left:v,width:b,height:O},w);return(0,c.hj)(r)&&(0,c.hj)(o)&&(0,c.hj)(b)&&(0,c.hj)(O)&&(0,c.hj)(y)&&(0,c.hj)(v)?i().createElement("path",p({},(0,l.L6)(j,!0),{className:(0,a.default)("recharts-cross",x),d:"M".concat(r,",").concat(y,"v").concat(O,"M").concat(v,",").concat(o,"h").concat(b)})):null};n()}catch(t){n(t)}})},9409:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{H:()=>A});var o=r(6689),i=r.n(o),a=r(2725),c=r(5428),l=r.n(c),u=r(5716),s=r.n(u),f=r(6593),p=r(2481),d=r(710),y=r(5516),h=t([f]);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(){return(m=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function g(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=v(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=v(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==v(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}f=(h.then?(await h)():h)[0];var O={curveBasisClosed:a.curveBasisClosed,curveBasisOpen:a.curveBasisOpen,curveBasis:a.curveBasis,curveBumpX:a.curveBumpX,curveBumpY:a.curveBumpY,curveLinearClosed:a.curveLinearClosed,curveLinear:a.curveLinear,curveMonotoneX:a.curveMonotoneX,curveMonotoneY:a.curveMonotoneY,curveNatural:a.curveNatural,curveStep:a.curveStep,curveStepAfter:a.curveStepAfter,curveStepBefore:a.curveStepBefore},x=function(t){return t.x===+t.x&&t.y===+t.y},w=function(t){return t.x},j=function(t){return t.y},P=function(t,e){if(s()(t))return t;var r="curve".concat(l()(t));return("curveMonotone"===r||"curveBump"===r)&&e?O["".concat(r).concat("vertical"===e?"Y":"X")]:O[r]||a.curveLinear},S=function(t){var e,r=t.type,n=t.points,o=void 0===n?[]:n,i=t.baseLine,c=t.layout,l=t.connectNulls,u=void 0!==l&&l,s=P(void 0===r?"linear":r,c),f=u?o.filter(function(t){return x(t)}):o;if(Array.isArray(i)){var p=u?i.filter(function(t){return x(t)}):i,d=f.map(function(t,e){return g(g({},t),{},{base:p[e]})});return(e="vertical"===c?(0,a.area)().y(j).x1(w).x0(function(t){return t.base.x}):(0,a.area)().x(w).y1(j).y0(function(t){return t.base.y})).defined(x).curve(s),e(d)}return(e="vertical"===c&&(0,y.hj)(i)?(0,a.area)().y(j).x1(w).x0(i):(0,y.hj)(i)?(0,a.area)().x(w).y1(j).y0(i):(0,a.line)().x(w).y(j)).defined(x).curve(s),e(f)},A=function(t){var e=t.className,r=t.points,n=t.path,o=t.pathRef;if((!r||!r.length)&&!n)return null;var a=r&&r.length?S(t):n;return i().createElement("path",m({},(0,d.L6)(t,!1),(0,p.Ym)(t),{className:(0,f.default)("recharts-curve",e),d:a,ref:o}))};n()}catch(t){n(t)}})},632:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{o:()=>f});var o=r(6689),i=r.n(o),a=r(6593),c=r(2481),l=r(710),u=t([a]);function s(){return(s=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)}a=(u.then?(await u)():u)[0];var f=function(t){var e=t.cx,r=t.cy,n=t.r,o=t.className,u=(0,a.default)("recharts-dot",o);return e===+e&&r===+r&&n===+n?i().createElement("circle",s({},(0,l.L6)(t,!1),(0,c.Ym)(t),{className:u,cx:e,cy:r,r:n})):null};n()}catch(t){n(t)}})},9499:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{A:()=>g,X:()=>m});var o=r(6689),i=r.n(o),a=r(6593),c=r(3522),l=r.n(c),u=r(710),s=t([a]);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(){return(p=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?y(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}a=(s.then?(await s)():s)[0];var v=function(t,e,r,n,o){var i,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),c=n>=0?1:-1,l=r>=0?1:-1,u=n>=0&&r>=0||n<0&&r<0?1:0;if(a>0&&o instanceof Array){for(var s=[0,0,0,0],f=0;f<4;f++)s[f]=o[f]>a?a:o[f];i="M".concat(t,",").concat(e+c*s[0]),s[0]>0&&(i+="A ".concat(s[0],",").concat(s[0],",0,0,").concat(u,",").concat(t+l*s[0],",").concat(e)),i+="L ".concat(t+r-l*s[1],",").concat(e),s[1]>0&&(i+="A ".concat(s[1],",").concat(s[1],",0,0,").concat(u,",\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(u,",\n        ").concat(t+r-l*s[2],",").concat(e+n)),i+="L ".concat(t+l*s[3],",").concat(e+n),s[3]>0&&(i+="A ".concat(s[3],",").concat(s[3],",0,0,").concat(u,",\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(u,",").concat(t+l*p,",").concat(e,"\n            L ").concat(t+r-l*p,",").concat(e,"\n            A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(t+r,",").concat(e+c*p,"\n            L ").concat(t+r,",").concat(e+n-c*p,"\n            A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(t+r-l*p,",").concat(e+n,"\n            L ").concat(t+l*p,",").concat(e+n,"\n            A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(t,",").concat(e+n-c*p," Z")}else i="M ".concat(t,",").concat(e," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return i},m=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;return!!(Math.abs(a)>0&&Math.abs(c)>0)&&r>=Math.min(o,o+a)&&r<=Math.max(o,o+a)&&n>=Math.min(i,i+c)&&n<=Math.max(i,i+c)},b={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},g=function(t){var e,r=h(h({},b),t),n=(0,o.useRef)(),c=(e=(0,o.useState)(-1),function(t){if(Array.isArray(t))return t}(e)||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=[],l=!0,u=!1;try{for(i=(r=r.call(t)).next;!(l=(n=i.call(r)).done)&&(c.push(n.value),2!==c.length);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,2)||function(t,e){if(t){if("string"==typeof t)return d(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 d(t,2)}}(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.")}()),s=c[0],f=c[1];(0,o.useEffect)(function(){if(n.current&&n.current.getTotalLength)try{var t=n.current.getTotalLength();t&&f(t)}catch(t){}},[]);var y=r.x,m=r.y,g=r.width,O=r.height,x=r.radius,w=r.className,j=r.animationEasing,P=r.animationDuration,S=r.animationBegin,A=r.isAnimationActive,E=r.isUpdateAnimationActive;if(y!==+y||m!==+m||g!==+g||O!==+O||0===g||0===O)return null;var k=(0,a.default)("recharts-rectangle",w);return E?i().createElement(l(),{canBegin:s>0,from:{width:g,height:O,x:y,y:m},to:{width:g,height:O,x:y,y:m},duration:P,animationEasing:j,isActive:E},function(t){var e=t.width,o=t.height,a=t.x,c=t.y;return i().createElement(l(),{canBegin:s>0,from:"0px ".concat(-1===s?1:s,"px"),to:"".concat(s,"px 0px"),attributeName:"strokeDasharray",begin:S,duration:P,isActive:A,easing:j},i().createElement("path",p({},(0,u.L6)(r,!0),{className:k,d:v(a,c,e,o,x),ref:n})))}):i().createElement("path",p({},(0,u.L6)(r,!0),{className:k,d:v(y,m,g,O,x)}))};n()}catch(t){n(t)}})},6897:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{L:()=>g});var o=r(6689),i=r.n(o),a=r(6593),c=r(710),l=r(7011),u=r(5516),s=t([a,l]);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(){return(p=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function y(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}[a,l]=s.then?(await s)():s;var h=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,s=c*(a?1:-1)+n,f=Math.asin(c/s)/l.Wk,p=u?o:o+i*f,d=(0,l.op)(e,r,s,p),y=(0,l.op)(e,r,n,p),h=(0,l.op)(e,r,s*Math.cos(f*l.Wk),u?o-i*f:o);return{center:d,circleTangency:y,lineTangency:h,theta:f}},v=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.startAngle,a=t.endAngle,c=(0,u.uY)(a-i)*Math.min(Math.abs(a-i),359.999),s=i+c,f=(0,l.op)(e,r,o,i),p=(0,l.op)(e,r,o,s),d="M ".concat(f.x,",").concat(f.y,"\n    A ").concat(o,",").concat(o,",0,\n    ").concat(+(Math.abs(c)>180),",").concat(+(i>s),",\n    ").concat(p.x,",").concat(p.y,"\n  ");if(n>0){var y=(0,l.op)(e,r,n,i),h=(0,l.op)(e,r,n,s);d+="L ".concat(h.x,",").concat(h.y,"\n            A ").concat(n,",").concat(n,",0,\n            ").concat(+(Math.abs(c)>180),",").concat(+(i<=s),",\n            ").concat(y.x,",").concat(y.y," Z")}else d+="L ".concat(e,",").concat(r," Z");return d},m=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.cornerRadius,a=t.forceCornerRadius,c=t.cornerIsExternal,l=t.startAngle,s=t.endAngle,f=(0,u.uY)(s-l),p=h({cx:e,cy:r,radius:o,angle:l,sign:f,cornerRadius:i,cornerIsExternal:c}),d=p.circleTangency,y=p.lineTangency,m=p.theta,b=h({cx:e,cy:r,radius:o,angle:s,sign:-f,cornerRadius:i,cornerIsExternal:c}),g=b.circleTangency,O=b.lineTangency,x=b.theta,w=c?Math.abs(l-s):Math.abs(l-s)-m-x;if(w<0)return a?"M ".concat(y.x,",").concat(y.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      "):v({cx:e,cy:r,innerRadius:n,outerRadius:o,startAngle:l,endAngle:s});var j="M ".concat(y.x,",").concat(y.y,"\n    A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(d.x,",").concat(d.y,"\n    A").concat(o,",").concat(o,",0,").concat(+(w>180),",").concat(+(f<0),",").concat(g.x,",").concat(g.y,"\n    A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(O.x,",").concat(O.y,"\n  ");if(n>0){var P=h({cx:e,cy:r,radius:n,angle:l,sign:f,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),S=P.circleTangency,A=P.lineTangency,E=P.theta,k=h({cx:e,cy:r,radius:n,angle:s,sign:-f,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),T=k.circleTangency,M=k.lineTangency,I=k.theta,C=c?Math.abs(l-s):Math.abs(l-s)-E-I;if(C<0&&0===i)return"".concat(j,"L").concat(e,",").concat(r,"Z");j+="L".concat(M.x,",").concat(M.y,"\n      A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(T.x,",").concat(T.y,"\n      A").concat(n,",").concat(n,",0,").concat(+(C>180),",").concat(+(f>0),",").concat(S.x,",").concat(S.y,"\n      A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(A.x,",").concat(A.y,"Z")}else j+="L".concat(e,",").concat(r,"Z");return j},b={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},g=function(t){var e,r=y(y({},b),t),n=r.cx,o=r.cy,l=r.innerRadius,s=r.outerRadius,f=r.cornerRadius,d=r.forceCornerRadius,h=r.cornerIsExternal,g=r.startAngle,O=r.endAngle,x=r.className;if(s<l||g===O)return null;var w=(0,a.default)("recharts-sector",x),j=s-l,P=(0,u.h1)(f,j,0,!0);return e=P>0&&360>Math.abs(g-O)?m({cx:n,cy:o,innerRadius:l,outerRadius:s,cornerRadius:Math.min(P,j/2),forceCornerRadius:d,cornerIsExternal:h,startAngle:g,endAngle:O}):v({cx:n,cy:o,innerRadius:l,outerRadius:s,startAngle:g,endAngle:O}),i().createElement("path",p({},(0,c.L6)(r,!0),{className:w,d:e,role:"img"}))};n()}catch(t){n(t)}})},4108:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{v:()=>O});var o=r(6689),i=r.n(o),a=r(5428),c=r.n(a),l=r(2725),u=r(6593),s=r(710),f=t([u]);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}u=(f.then?(await f)():f)[0];var d=["type","size","sizeType"];function y(){return(y=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function v(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?h(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=p(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=p(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==p(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var m={symbolCircle:l.symbolCircle,symbolCross:l.symbolCross,symbolDiamond:l.symbolDiamond,symbolSquare:l.symbolSquare,symbolStar:l.symbolStar,symbolTriangle:l.symbolTriangle,symbolWye:l.symbolWye},b=Math.PI/180,g=function(t,e,r){if("area"===e)return t;switch(r){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var n=18*b;return 1.25*t*t*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}},O=function(t){var e,r=t.type,n=void 0===r?"circle":r,o=t.size,a=void 0===o?64:o,f=t.sizeType,p=void 0===f?"area":f,h=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,d),b=v(v({},h),{},{type:n,size:a,sizeType:p}),O=b.className,x=b.cx,w=b.cy,j=(0,s.L6)(b,!0);return x===+x&&w===+w&&a===+a?i().createElement("path",y({},j,{className:(0,u.default)("recharts-symbols",O),transform:"translate(".concat(x,", ").concat(w,")"),d:(e=m["symbol".concat(c()(n))]||l.symbolCircle,(0,l.symbol)().type(e).size(g(a,p,n))())})):null};O.registerSymbol=function(t,e){m["symbol".concat(c()(t))]=e},n()}catch(t){n(t)}})},9310:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{Z:()=>b});var o=r(6689),i=r.n(o),a=r(6593),c=r(3522),l=r.n(c),u=r(710),s=t([a]);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(){return(p=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?y(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}a=(s.then?(await s)():s)[0];var v=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")},m={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},b=function(t){var e,r=h(h({},m),t),n=(0,o.useRef)(),c=(e=(0,o.useState)(-1),function(t){if(Array.isArray(t))return t}(e)||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=[],l=!0,u=!1;try{for(i=(r=r.call(t)).next;!(l=(n=i.call(r)).done)&&(c.push(n.value),2!==c.length);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,2)||function(t,e){if(t){if("string"==typeof t)return d(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 d(t,2)}}(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.")}()),s=c[0],f=c[1];(0,o.useEffect)(function(){if(n.current&&n.current.getTotalLength)try{var t=n.current.getTotalLength();t&&f(t)}catch(t){}},[]);var y=r.x,b=r.y,g=r.upperWidth,O=r.lowerWidth,x=r.height,w=r.className,j=r.animationEasing,P=r.animationDuration,S=r.animationBegin,A=r.isUpdateAnimationActive;if(y!==+y||b!==+b||g!==+g||O!==+O||x!==+x||0===g&&0===O||0===x)return null;var E=(0,a.default)("recharts-trapezoid",w);return A?i().createElement(l(),{canBegin:s>0,from:{upperWidth:0,lowerWidth:0,height:x,x:y,y:b},to:{upperWidth:g,lowerWidth:O,height:x,x:y,y:b},duration:P,animationEasing:j,isActive:A},function(t){var e=t.upperWidth,o=t.lowerWidth,a=t.height,c=t.x,f=t.y;return i().createElement(l(),{canBegin:s>0,from:"0px ".concat(-1===s?1:s,"px"),to:"".concat(s,"px 0px"),attributeName:"strokeDasharray",begin:S,duration:P,easing:j},i().createElement("path",p({},(0,u.L6)(r,!0),{className:E,d:v(c,f,e,o,a),ref:n})))}):i().createElement("g",null,i().createElement("path",p({},(0,u.L6)(r,!0),{className:E,d:v(y,b,g,O,x)})))};n()}catch(t){n(t)}})},1137:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{V$:()=>E,a3:()=>C,bn:()=>S,lT:()=>A,w7:()=>k});var o=r(6689),i=r.n(o),a=r(5716),c=r.n(a),l=r(5452),u=r.n(l),s=r(2327),f=r.n(s),p=r(113),d=r.n(p),y=r(9499),h=r(9310),v=r(6897),m=r(357),b=r(4108),g=t([y,h,v,b,m]);[y,h,v,b,m]=g.then?(await g)():g;var O=["option","shapeType","propTransformer","activeClassName","isActive"];function x(t){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function j(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?w(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=x(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=x(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==x(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function P(t){var e=t.shapeType,r=t.elementProps;switch(e){case"rectangle":return i().createElement(y.A,r);case"trapezoid":return i().createElement(h.Z,r);case"sector":return i().createElement(v.L,r);case"symbols":if("symbols"===e)return i().createElement(b.v,r);break;default:return null}}function S(t){var e,r=t.option,n=t.shapeType,a=t.propTransformer,l=t.activeClassName,s=t.isActive,p=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,O);if((0,o.isValidElement)(r))e=(0,o.cloneElement)(r,j(j({},p),(0,o.isValidElement)(r)?r.props:r));else if(c()(r))e=r(p);else if(u()(r)&&!f()(r)){var d=(void 0===a?function(t,e){return j(j({},e),t)}:a)(r,p);e=i().createElement(P,{shapeType:n,elementProps:d})}else e=i().createElement(P,{shapeType:n,elementProps:p});return s?i().createElement(m.m,{className:void 0===l?"recharts-active-shape":l},e):e}function A(t,e){return null!=e&&"trapezoids"in t.props}function E(t,e){return null!=e&&"sectors"in t.props}function k(t,e){return null!=e&&"points"in t.props}function T(t,e){var r,n,o=t.x===(null==e||null===(r=e.labelViewBox)||void 0===r?void 0:r.x)||t.x===e.x,i=t.y===(null==e||null===(n=e.labelViewBox)||void 0===n?void 0:n.y)||t.y===e.y;return o&&i}function M(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function I(t,e){var r=t.x===e.x,n=t.y===e.y,o=t.z===e.z;return r&&n&&o}function C(t){var e,r,n,o=t.activeTooltipItem,i=t.graphicalItem,a=t.itemData,c=(A(i,o)?e="trapezoids":E(i,o)?e="sectors":k(i,o)&&(e="points"),e),l=A(i,o)?null===(r=o.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:E(i,o)?null===(n=o.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:k(i,o)?o.payload:{},u=a.filter(function(t,e){var r=d()(l,t),n=i.props[c].filter(function(t){var e;return(A(i,o)?e=T:E(i,o)?e=M:k(i,o)&&(e=I),e)(t,o)}),a=i.props[c].indexOf(n[n.length-1]);return r&&e===a});return a.indexOf(u[u.length-1])}n()}catch(t){n(t)}})},5646:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{A:()=>v,O:()=>h});var o=r(6689),i=r.n(o),a=r(4281),c=r(1137),l=t([a,c]);[a,c]=l.then?(await l)():l;var u=["x","y"];function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(){return(f=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function y(t,e){var r=t.x,n=t.y,o=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,u),i=parseInt("".concat(r),10),a=parseInt("".concat(n),10),c="".concat(e.height||o.height),l=parseInt(c,10),s="".concat(e.width||o.width),f=parseInt(s,10);return d(d(d(d(d({},e),o),i?{x:i}:{}),a?{y:a}:{}),{},{height:l,width:f,name:e.name,radius:e.radius})}function h(t){return i().createElement(c.bn,f({shapeType:"rectangle",propTransformer:y,activeClassName:"recharts-active-bar"},t))}var v=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(r,n){if("number"==typeof t)return t;var o="number"==typeof r;return o?t(r,n):(o||(0,a.default)(!1),e)}};n()}catch(t){n(t)}})},7115:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{Ky:()=>j,O1:()=>O,_b:()=>x,t9:()=>g,xE:()=>P});var o=r(9941),i=r.n(o),a=r(8759),c=r.n(a),l=r(4473),u=r(710),s=r(5516),f=r(3809),p=t([f,l]);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(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,b(n.key),n)}}function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function v(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?h(Object(r),!0).forEach(function(e){m(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function m(t,e,r){return(e=b(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function b(t){var e=function(t,e){if("object"!=d(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=d(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==d(e)?e:String(e)}[f,l]=p.then?(await p)():p;var g=function(t,e,r,n,o){var i=t.width,a=t.height,c=t.layout,p=t.children,d=Object.keys(e),y={left:r.left,leftMirror:r.left,right:i-r.right,rightMirror:i-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},h=!!(0,u.sP)(p,f.$);return d.reduce(function(i,a){var u,f,p,d,b,g=e[a],O=g.orientation,x=g.domain,w=g.padding,j=void 0===w?{}:w,P=g.mirror,S=g.reversed,A="".concat(O).concat(P?"Mirror":"");if("number"===g.type&&("gap"===g.padding||"no-gap"===g.padding)){var E=x[1]-x[0],k=1/0,T=g.categoricalDomain.sort();if(T.forEach(function(t,e){e>0&&(k=Math.min((t||0)-(T[e-1]||0),k))}),Number.isFinite(k)){var M=k/E,I="vertical"===g.layout?r.height:r.width;if("gap"===g.padding&&(u=M*I/2),"no-gap"===g.padding){var C=(0,s.h1)(t.barCategoryGap,M*I),D=M*I/2;u=D-C-(D-C)/I*C}}}f="xAxis"===n?[r.left+(j.left||0)+(u||0),r.left+r.width-(j.right||0)-(u||0)]:"yAxis"===n?"horizontal"===c?[r.top+r.height-(j.bottom||0),r.top+(j.top||0)]:[r.top+(j.top||0)+(u||0),r.top+r.height-(j.bottom||0)-(u||0)]:g.range,S&&(f=[f[1],f[0]]);var N=(0,l.Hq)(g,o,h),B=N.scale,L=N.realScaleType;B.domain(x).range(f),(0,l.zF)(B);var R=(0,l.g$)(B,v(v({},g),{},{realScaleType:L}));"xAxis"===n?(b="top"===O&&!P||"bottom"===O&&P,p=r.left,d=y[A]-b*g.height):"yAxis"===n&&(b="left"===O&&!P||"right"===O&&P,p=y[A]-b*g.width,d=r.top);var _=v(v(v({},g),R),{},{realScaleType:L,x:p,y:d,scale:B,width:"xAxis"===n?r.width:g.width,height:"yAxis"===n?r.height:g.height});return _.bandSize=(0,l.zT)(_,R),g.hide||"xAxis"!==n?g.hide||(y[A]+=(b?-1:1)*_.width):y[A]+=(b?-1:1)*_.height,v(v({},i),{},m({},a,_))},{})},O=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)}},x=function(t){var e=t.x1,r=t.y1,n=t.x2,o=t.y2;return O({x:e,y:r},{x:n,y:o})},w=function(){var t,e;function r(t){(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,r),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&&y(r.prototype,t),e&&y(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();m(w,"EPS",1e-4);var j=function(t){var e=Object.keys(t).reduce(function(e,r){return v(v({},e),{},m({},r,w.create(t[r])))},{});return v(v({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,o=r.position;return i()(t,function(t,r){return e[r].apply(t,{bandAware:n,position:o})})},isInRange:function(t){return c()(t,function(t,r){return e[r].isInRange(t)})}})},P=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))};n()}catch(t){n(t)}})},4473:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{Bu:()=>tn,By:()=>V,DO:()=>tt,EB:()=>td,F$:()=>W,Fy:()=>ts,Hq:()=>te,Hv:()=>tu,LG:()=>tv,NA:()=>$,O3:()=>tp,Qo:()=>tg,Rf:()=>Z,VO:()=>F,Vv:()=>to,Yj:()=>tf,ZI:()=>H,fk:()=>X,g$:()=>tl,gF:()=>U,ko:()=>tb,pt:()=>G,qz:()=>K,s6:()=>q,uY:()=>Q,wh:()=>tc,zF:()=>tr,zT:()=>tm});var o=r(8970),i=r(2725),a=r(6625),c=r.n(a),l=r(604),u=r.n(l),s=r(6069),f=r.n(s),p=r(5716),d=r.n(p),y=r(7026),h=r.n(y),v=r(1712),m=r.n(v),b=r(8190),g=r.n(b),O=r(8843),x=r.n(O),w=r(5428),j=r.n(w),P=r(113),S=r.n(P),A=r(3672),E=r.n(A),k=r(9540),T=r(4526),M=r(5516),I=r(710),C=r(3079),D=t([C,T]);function N(t){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function B(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function L(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?B(Object(r),!0).forEach(function(e){R(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function R(t,e,r){var n,o;return(n=e,o=function(t,e){if("object"!=N(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=N(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),(e="symbol"==N(o)?o:String(o))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _(t){return function(t){if(Array.isArray(t))return z(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 z(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 z(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function W(t,e,r){return f()(t)||f()(e)?r:(0,M.P2)(e)?m()(t,e,r):d()(e)?e(t):r}function U(t,e,r,n){var o=g()(t,function(t){return W(t,e)});if("number"===r){var i=o.filter(function(t){return(0,M.hj)(t)||parseFloat(t)});return i.length?[u()(i),c()(i)]:[1/0,-1/0]}return(n?o.filter(function(t){return!f()(t)}):o).map(function(t){return(0,M.P2)(t)||t instanceof Date?t:""})}[C,T]=D.then?(await D)():D;var F=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!==(e=null==r?void 0:r.length)&&void 0!==e?e:0;if(a<=1)return 0;if(o&&"angleAxis"===o.axisType&&1e-6>=Math.abs(Math.abs(o.range[1]-o.range[0])-360))for(var c=o.range,l=0;l<a;l++){var u=l>0?n[l-1].coordinate:n[a-1].coordinate,s=n[l].coordinate,f=l>=a-1?n[0].coordinate:n[l+1].coordinate,p=void 0;if((0,M.uY)(s-u)!==(0,M.uY)(f-s)){var d=[];if((0,M.uY)(f-s)===(0,M.uY)(c[1]-c[0])){p=f;var y=s+c[1]-c[0];d[0]=Math.min(y,(y+u)/2),d[1]=Math.max(y,(y+u)/2)}else{p=u;var h=f+c[1]-c[0];d[0]=Math.min(s,(h+s)/2),d[1]=Math.max(s,(h+s)/2)}var v=[Math.min(s,(p+s)/2),Math.max(s,(p+s)/2)];if(t>v[0]&&t<=v[1]||t>=d[0]&&t<=d[1]){i=n[l].index;break}}else{var m=Math.min(u,f),b=Math.max(u,f);if(t>(m+s)/2&&t<=(b+s)/2){i=n[l].index;break}}}else for(var g=0;g<a;g++)if(0===g&&t<=(r[g].coordinate+r[g+1].coordinate)/2||g>0&&g<a-1&&t>(r[g].coordinate+r[g-1].coordinate)/2&&t<=(r[g].coordinate+r[g+1].coordinate)/2||g===a-1&&t>(r[g].coordinate+r[g-1].coordinate)/2){i=r[g].index;break}return i},X=function(t){var e,r=t.type.displayName,n=t.props,o=n.stroke,i=n.fill;switch(r){case"Line":e=o;break;case"Area":case"Radar":e=o&&"none"!==o?o:i;break;default:e=i}return e},G=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,l=a.length;c<l;c++)for(var u=o[a[c]].stackGroups,s=Object.keys(u),p=0,d=s.length;p<d;p++){var y=u[s[p]],h=y.items,v=y.cateAxisId,m=h.filter(function(t){return(0,I.Gf)(t.type).indexOf("Bar")>=0});if(m&&m.length){var b=m[0].props.barSize,g=m[0].props[v];i[g]||(i[g]=[]);var O=f()(b)?e:b;i[g].push({item:m[0],stackList:m.slice(1),barSize:f()(O)?void 0:(0,M.h1)(O,r,0)})}}return i},K=function(t){var e,r=t.barGap,n=t.barCategoryGap,o=t.bandSize,i=t.sizeList,a=void 0===i?[]:i,c=t.maxBarSize,l=a.length;if(l<1)return null;var u=(0,M.h1)(r,o,0,!0),s=[];if(a[0].barSize===+a[0].barSize){var f=!1,p=o/l,d=a.reduce(function(t,e){return t+e.barSize||0},0);(d+=(l-1)*u)>=o&&(d-=(l-1)*u,u=0),d>=o&&p>0&&(f=!0,p*=.9,d=l*p);var y={offset:((o-d)/2>>0)-u,size:0};e=a.reduce(function(t,e){var r={item:e.item,position:{offset:y.offset+y.size+u,size:f?p:e.barSize}},n=[].concat(_(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 h=(0,M.h1)(n,o,0,!0);o-2*h-(l-1)*u<=0&&(u=0);var v=(o-2*h-(l-1)*u)/l;v>1&&(v>>=0);var m=c===+c?Math.min(v,c):v;e=a.reduce(function(t,e,r){var n=[].concat(_(t),[{item:e.item,position:{offset:h+(v+u)*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},V=function(t,e,r,n){var o=r.children,i=r.width,a=r.margin,c=i-(a.left||0)-(a.right||0),l=(0,C.z)({children:o,legendWidth:c});if(l){var u=n||{},s=u.width,f=u.height,p=l.align,d=l.verticalAlign,y=l.layout;if(("vertical"===y||"horizontal"===y&&"middle"===d)&&"center"!==p&&(0,M.hj)(t[p]))return L(L({},t),{},R({},p,t[p]+(s||0)));if(("horizontal"===y||"vertical"===y&&"center"===p)&&"middle"!==d&&(0,M.hj)(t[d]))return L(L({},t),{},R({},d,t[d]+(f||0)))}return t},Y=function(t,e,r,n,o){var i=e.props.children,a=(0,I.NN)(i,T.W).filter(function(t){var e;return e=t.props.direction,!!f()(o)||("horizontal"===n?"yAxis"===o:"vertical"===n||"x"===e?"xAxis"===o:"y"!==e||"yAxis"===o)});if(a&&a.length){var l=a.map(function(t){return t.props.dataKey});return t.reduce(function(t,e){var n=W(e,r);if(f()(n))return t;var o=Array.isArray(n)?[u()(n),c()(n)]:[n,n],i=l.reduce(function(t,r){var n=W(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},H=function(t,e,r,n,o){var i=e.map(function(e){return Y(t,e,r,o,n)}).filter(function(t){return!f()(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},q=function(t,e,r,n,o){var i=e.map(function(e){var i=e.props.dataKey;return"number"===r&&i&&Y(t,e,i,n)||U(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},[])},$=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},Z=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},Q=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,l=(e||r)&&"category"===i&&n.bandwidth?n.bandwidth()/c:0;return(l="angleAxis"===t.axisType&&(null==a?void 0:a.length)>=2?2*(0,M.uY)(a[0]-a[1])*l:l,e&&(t.ticks||t.niceTicks))?(t.ticks||t.niceTicks).map(function(t){var e=o?o.indexOf(t):t;return{coordinate:n(e)+l,value:t,offset:l}}).filter(function(t){return!x()(t.coordinate)}):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(t,e){return{coordinate:n(t)+l,value:t,index:e,offset:l}}):n.ticks&&!r?n.ticks(t.tickCount).map(function(t){return{coordinate:n(t)+l,value:t,offset:l}}):n.domain().map(function(t,e){return{coordinate:n(t)+l,value:o?o[t]:t,index:e,offset:l}})},J=new WeakMap,tt=function(t,e){if("function"!=typeof e)return t;J.has(t)||J.set(t,new WeakMap);var r=J.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},te=function(t,e,r){var n=t.scale,i=t.type,a=t.layout,c=t.axisType;if("auto"===n)return"radial"===a&&"radiusAxis"===c?{scale:o.scaleBand(),realScaleType:"band"}:"radial"===a&&"angleAxis"===c?{scale:o.scaleLinear(),realScaleType:"linear"}:"category"===i&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:o.scalePoint(),realScaleType:"point"}:"category"===i?{scale:o.scaleBand(),realScaleType:"band"}:{scale:o.scaleLinear(),realScaleType:"linear"};if(h()(n)){var l="scale".concat(j()(n));return{scale:(o[l]||o.scalePoint)(),realScaleType:o[l]?l:"point"}}return d()(n)?{scale:n}:{scale:o.scalePoint(),realScaleType:"point"}},tr=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]])}},tn=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},to=function(t,e){if(!e||2!==e.length||!(0,M.hj)(e[0])||!(0,M.hj)(e[1]))return t;var r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]),o=[t[0],t[1]];return(!(0,M.hj)(t[0])||t[0]<r)&&(o[0]=r),(!(0,M.hj)(t[1])||t[1]>n)&&(o[1]=n),o[0]>n&&(o[0]=n),o[1]<r&&(o[1]=r),o},ti={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=x()(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:i.stackOffsetExpand,none:i.stackOffsetNone,silhouette:i.stackOffsetSilhouette,wiggle:i.stackOffsetWiggle,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=x()(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)}}},ta=function(t,e,r){var n=e.map(function(t){return t.props.dataKey}),o=ti[r];return(0,i.stack)().keys(n).value(function(t,e){return+W(t,e,0)}).order(i.stackOrderNone).offset(o)(t)},tc=function(t,e,r,n,o,i){if(!t)return null;var a=(i?e.reverse():e).reduce(function(t,e){var o=e.props,i=o.stackId;if(o.hide)return t;var a=e.props[r],c=t[a]||{hasStack:!1,stackGroups:{}};if((0,M.P2)(i)){var l=c.stackGroups[i]||{numericAxisId:r,cateAxisId:n,items:[]};l.items.push(e),c.hasStack=!0,c.stackGroups[i]=l}else c.stackGroups[(0,M.EL)("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return L(L({},t),{},R({},a,c))},{});return Object.keys(a).reduce(function(e,i){var c=a[i];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce(function(e,i){var a=c.stackGroups[i];return L(L({},e),{},R({},i,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:ta(t,a.items,o)}))},{})),L(L({},e),{},R({},i,c))},{})},tl=function(t,e){var r=e.realScaleType,n=e.type,o=e.tickCount,i=e.originalDomain,a=e.allowDecimals,l=r||e.scale;if("auto"!==l&&"linear"!==l)return null;if(o&&"number"===n&&i&&("auto"===i[0]||"auto"===i[1])){var s=t.domain();if(!s.length)return null;var f=(0,k.getNiceTickValues)(s,o,a);return t.domain([u()(f),c()(f)]),{niceTicks:f}}if(o&&"number"===n){var p=t.domain();return{niceTicks:(0,k.getTickValuesFixedDomain)(p,o,a)}}return null};function tu(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&&!f()(o[e.dataKey])){var c=(0,M.Ap)(r,"value",o[e.dataKey]);if(c)return c.coordinate+n/2}return r[i]?r[i].coordinate+n/2:null}var l=W(o,f()(a)?e.dataKey:a);return f()(l)?null:e.scale(l)}var ts=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=W(i,e.dataKey,e.domain[a]);return f()(c)?null:e.scale(c)-o/2+n},tf=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]},tp=function(t,e){var r=t.props.stackId;if((0,M.P2)(r)){var n=e[r];if(n){var o=n.items.indexOf(t);return o>=0?n.stackedData[o]:null}}return null},td=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[u()(e.concat([t[0]]).filter(M.hj)),c()(e.concat([t[1]]).filter(M.hj))]},[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})},ty=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,th=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,tv=function(t,e,r){if(d()(t))return t(e,r);if(!Array.isArray(t))return e;var n=[];if((0,M.hj)(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(ty.test(t[0])){var o=+ty.exec(t[0])[1];n[0]=e[0]-o}else d()(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if((0,M.hj)(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(th.test(t[1])){var i=+th.exec(t[1])[1];n[1]=e[1]+i}else d()(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},tm=function(t,e,r){if(t&&t.scale&&t.scale.bandwidth){var n=t.scale.bandwidth();if(!r||n>0)return n}if(t&&e&&e.length>=2){for(var o=E()(e,function(t){return t.coordinate}),i=1/0,a=1,c=o.length;a<c;a++){var l=o[a],u=o[a-1];i=Math.min((l.coordinate||0)-(u.coordinate||0),i)}return i===1/0?0:i}return r?void 0:0},tb=function(t,e,r){return!t||!t.length||S()(t,m()(r,"type.defaultProps.domain"))?e:t},tg=function(t,e){var r=t.props,n=r.dataKey,o=r.name,i=r.unit,a=r.formatter,c=r.tooltipType,l=r.chartType,u=r.hide;return L(L({},(0,I.L6)(t,!1)),{},{dataKey:n,unit:i,formatter:a,name:o||n,color:X(t),value:W(e,n),type:c,payload:e,chartType:l,hide:u})};n()}catch(t){n(t)}})},5067:(t,e,r)=>{"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach(function(e){a(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function a(t,e,r){var o;return(o=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(o)?o:String(o))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,{g:()=>l});var c=["Webkit","Moz","O","ms"],l=function(t,e){if(!t)return null;var r=t.replace(/(\w)/,function(t){return t.toUpperCase()}),n=c.reduce(function(t,n){return i(i({},t),{},a({},n+r,e))},{});return n[t]=e,n}},6379:(t,e,r)=>{"use strict";r.d(e,{os:()=>f,xE:()=>s});var n=r(3387);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach(function(e){var n,i;n=e,i=r[e],(n=function(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var c={widthCache:{},cacheCount:0},l={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},u="recharts_measurement_span",s=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||n.x.isSsr)return{width:0,height:0};var o=(Object.keys(e=a({},r)).forEach(function(t){e[t]||delete e[t]}),e),i=JSON.stringify({text:t,copyStyle:o});if(c.widthCache[i])return c.widthCache[i];try{var s=document.getElementById(u);s||((s=document.createElement("span")).setAttribute("id",u),s.setAttribute("aria-hidden","true"),document.body.appendChild(s));var f=a(a({},l),o);Object.assign(s.style,f),s.textContent="".concat(t);var p=s.getBoundingClientRect(),d={width:p.width,height:p.height};return c.widthCache[i]=d,++c.cacheCount>2e3&&(c.cacheCount=0,c.widthCache={}),d}catch(t){return{width:0,height:0}}},f=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}}},5516:(t,e,r)=>{"use strict";r.d(e,{Ap:()=>x,EL:()=>v,Kt:()=>b,P2:()=>y,bv:()=>g,h1:()=>m,hU:()=>p,hj:()=>d,k4:()=>O,uY:()=>f});var n=r(7026),o=r.n(n),i=r(8843),a=r.n(i),c=r(1712),l=r.n(c),u=r(7078),s=r.n(u),f=function(t){return 0===t?0:t>0?1:-1},p=function(t){return o()(t)&&t.indexOf("%")===t.length-1},d=function(t){return s()(t)&&!a()(t)},y=function(t){return d(t)||o()(t)},h=0,v=function(t){var e=++h;return"".concat(t||"").concat(e)},m=function(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!d(t)&&!o()(t))return n;if(p(t)){var c=t.indexOf("%");r=e*parseFloat(t.slice(0,c))/100}else r=+t;return a()(r)&&(r=n),i&&r>e&&(r=e),r},b=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},g=function(t){if(!Array.isArray(t))return!1;for(var e=t.length,r={},n=0;n<e;n++){if(r[t[n]])return!0;r[t[n]]=!0}return!1},O=function(t,e){return d(t)&&d(e)?function(r){return t+r*(e-t)}:function(){return e}};function x(t,e,r){return t&&t.length?t.find(function(t){return t&&("function"==typeof e?e(t):l()(t,e))===r}):null}},5735:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{_:()=>d});var o=r(1468),i=r(3446),a=r(1923),c=r(489),l=r(710),u=r(5516),s=t([i,o,a]);function f(t){return function(t){if(Array.isArray(t))return p(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 p(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 p(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}[i,o,a]=s.then?(await s)():s;var d=function(t,e,r,n,s){var p=(0,l.NN)(t,i.d),d=(0,l.NN)(t,o.q),y=[].concat(f(p),f(d)),h=(0,l.NN)(t,a.z),v="".concat(n,"Id"),m=n[0],b=e;if(y.length&&(b=y.reduce(function(t,e){if(e.props[v]===r&&(0,c.B)(e.props,"extendDomain")&&(0,u.hj)(e.props[m])){var n=e.props[m];return[Math.min(t[0],n),Math.max(t[1],n)]}return t},b)),h.length){var g="".concat(m,"1"),O="".concat(m,"2");b=h.reduce(function(t,e){if(e.props[v]===r&&(0,c.B)(e.props,"extendDomain")&&(0,u.hj)(e.props[g])&&(0,u.hj)(e.props[O])){var n=e.props[g],o=e.props[O];return[Math.min(t[0],n,o),Math.max(t[1],n,o)]}return t},b)}return s&&s.length&&(b=s.reduce(function(t,e){return(0,u.hj)(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t},b)),b};n()}catch(t){n(t)}})},8300:(t,e,r)=>{"use strict";r.d(e,{Y:()=>i,t:()=>o});var n=r(5502),o=new(r.n(n)()),i="recharts.syncMouseEvents"},3387:(t,e,r)=>{"use strict";r.d(e,{x:()=>n});var n={isSsr:!0,get:function(t){return n[t]},set:function(t,e){if("string"==typeof t)n[t]=e;else{var r=Object.keys(t);r&&r.length&&r.forEach(function(e){n[e]=t[e]})}}}},489:(t,e,r)=>{"use strict";r.d(e,{B:()=>n});var n=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e}},3649:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});var n=function(t,e){for(var r=arguments.length,n=Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o]}},7011:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach(function(e){(function(t,e,r){var n,i;(n=e,i=function(t,e){if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),(e="symbol"==o(i)?i:String(i))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r})(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}r.d(e,{Wk:()=>c,op:()=>l,z3:()=>d}),r(6069),r(6689),r(5716);var c=Math.PI/180,l=function(t,e,r,n){return{x:t+Math.cos(-c*n)*r,y:e+Math.sin(-c*n)*r}},u=function(t,e){var r=t.x,n=t.y,o=e.x,i=e.y;return Math.sqrt(Math.pow(r-o,2)+Math.pow(n-i,2))},s=function(t,e){var r,n=t.x,o=t.y,i=e.cx,a=e.cy,c=u({x:n,y:o},{x:i,y:a});if(c<=0)return{radius:c};var l=Math.acos((n-i)/c);return o>a&&(l=2*Math.PI-l),{radius:c,angle:(r=l,180*r/Math.PI),angleInRadian:l}},f=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}},p=function(t,e){var r=e.startAngle,n=e.endAngle;return t+360*Math.min(Math.floor(r/360),Math.floor(n/360))},d=function(t,e){var r,n=t.x,o=t.y,i=s({x:n,y:o},e),c=i.radius,l=i.angle,u=e.innerRadius,d=e.outerRadius;if(c<u||c>d)return!1;if(0===c)return!0;var y=f(e),h=y.startAngle,v=y.endAngle,m=l;if(h<=v){for(;m>v;)m-=360;for(;m<h;)m+=360;r=m>=h&&m<=v}else{for(;m>h;)m-=360;for(;m<v;)m+=360;r=m>=v&&m<=h}return r?a(a({},e),{},{radius:c,angle:p(m,e)}):null};n()}catch(t){n(t)}})},710:(t,e,r)=>{"use strict";r.d(e,{$R:()=>_,$k:()=>I,Bh:()=>R,Gf:()=>j,L6:()=>D,NN:()=>E,TT:()=>T,eu:()=>L,rL:()=>N,sP:()=>k});var n=r(1712),o=r.n(n),i=r(6069),a=r.n(i),c=r(7026),l=r.n(c),u=r(5716),s=r.n(u),f=r(5795),p=r.n(f),d=r(6689),y=r(1469),h=r(5516),v=r(2665),m=r(2481),b=["children"],g=["children"];function O(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function x(t){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var w={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},j=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},P=null,S=null,A=function t(e){if(e===P&&Array.isArray(S))return S;var r=[];return d.Children.forEach(e,function(e){a()(e)||((0,y.isFragment)(e)?r=r.concat(t(e.props.children)):r.push(e))}),S=r,P=e,r};function E(t,e){var r=[],n=[];return n=Array.isArray(e)?e.map(function(t){return j(t)}):[j(e)],A(t).forEach(function(t){var e=o()(t,"type.displayName")||o()(t,"type.name");-1!==n.indexOf(e)&&r.push(t)}),r}function k(t,e){var r=E(t,e);return r&&r[0]}var T=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!!(0,h.hj)(r)&&!(r<=0)&&!!(0,h.hj)(n)&&!(n<=0)},M=["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"],I=function(t){return t&&"object"===x(t)&&"cx"in t&&"cy"in t&&"r"in t},C=function(t,e,r,n){var o,i=null!==(o=null===m.ry||void 0===m.ry?void 0:m.ry[n])&&void 0!==o?o:[];return!s()(t)&&(n&&i.includes(e)||m.Yh.includes(e))||r&&m.nv.includes(e)},D=function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if((0,d.isValidElement)(t)&&(n=t.props),!p()(n))return null;var o={};return Object.keys(n).forEach(function(t){var i;C(null===(i=n)||void 0===i?void 0:i[t],t,e,r)&&(o[t]=n[t])}),o},N=function t(e,r){if(e===r)return!0;var n=d.Children.count(e);if(n!==d.Children.count(r))return!1;if(0===n)return!0;if(1===n)return B(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(!B(i,a))return!1}return!0},B=function(t,e){if(a()(t)&&a()(e))return!0;if(!a()(t)&&!a()(e)){var r=t.props||{},n=r.children,o=O(r,b),i=e.props||{},c=i.children,l=O(i,g);if(n&&c)return(0,v.w)(o,l)&&N(n,c);if(!n&&!c)return(0,v.w)(o,l)}return!1},L=function(t,e){var r=[],n={};return A(t).forEach(function(t,o){if(t&&t.type&&l()(t.type)&&M.indexOf(t.type)>=0)r.push(t);else if(t){var i=j(t.type),a=e[i]||{},c=a.handler,u=a.once;if(c&&(!u||!n[i])){var s=c(t,i,o);r.push(s),n[i]=!0}}}),r},R=function(t){var e=t&&t.type;return e&&w[e]?w[e]:null},_=function(t,e){return A(e).indexOf(t)}},4567:(t,e,r)=>{"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){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=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(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 i(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 i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function a(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,function(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:String(e)}(o.key),o)}}r.d(e,{w:()=>v});var c=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,l=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,u=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,s=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,f={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},p=Object.keys(f),d=function(){var t,e;function r(t,e){(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,r),this.num=t,this.unit=e,this.num=t,this.unit=e,Number.isNaN(t)&&(this.unit=""),""===e||u.test(e)||(this.num=NaN,this.unit=""),p.includes(e)&&(this.num=t*f[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=o(null!==(e=s.exec(t))&&void 0!==e?e:[],3),i=n[1],a=n[2];return new r(parseFloat(i),null!=a?a:"")}}],t&&a(r.prototype,t),e&&a(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();function y(t){if(t.includes("NaN"))return"NaN";for(var e=t;e.includes("*")||e.includes("/");){var r,n=o(null!==(r=c.exec(e))&&void 0!==r?r:[],4),i=n[1],a=n[2],u=n[3],s=d.parse(null!=i?i:""),f=d.parse(null!=u?u:""),p="*"===a?s.multiply(f):s.divide(f);if(p.isNaN())return"NaN";e=e.replace(c,p.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var y,h=o(null!==(y=l.exec(e))&&void 0!==y?y:[],4),v=h[1],m=h[2],b=h[3],g=d.parse(null!=v?v:""),O=d.parse(null!=b?b:""),x="+"===m?g.add(O):g.subtract(O);if(x.isNaN())return"NaN";e=e.replace(l,x.toString())}return e}var h=/\(([^()]*)\)/;function v(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=o(h.exec(e),2)[1];e=e.replace(h,y(r))}return e}(e),e=y(e)}catch(t){return"NaN"}}(t.slice(5,-1));return"NaN"===e?"":e}},2665:(t,e,r)=>{"use strict";function n(t,e){for(var r in t)if(({}).hasOwnProperty.call(t,r)&&(!({}).hasOwnProperty.call(e,r)||t[r]!==e[r]))return!1;for(var n in e)if(({}).hasOwnProperty.call(e,n)&&!({}).hasOwnProperty.call(t,n))return!1;return!0}r.d(e,{w:()=>n})},436:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{fW:()=>l,pn:()=>u,t3:()=>c,tR:()=>s});var o=r(7115),i=r(3268),a=t([o]);function c(t,e,r){var n={width:t.width+e.width,height:t.height+e.height};return(0,o.xE)(n,r)}function l(t,e,r){var n="width"===r,o=t.x,i=t.y,a=t.width,c=t.height;return 1===e?{start:n?o:i,end:n?o+a:i+c}:{start:n?o+a:i+c,end:n?o:i}}function u(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 s(t,e){return(0,i.t)(t,e+1)}o=(a.then?(await a)():a)[0],n()}catch(t){n(t)}})},4037:(t,e,r)=>{"use strict";r.d(e,{Y:()=>o});var n=r(541),o=r.n(n)()(function(t){return{x:t.left,y:t.top,width:t.width,height:t.height}},function(t){return["l",t.left,"t",t.top,"w",t.width,"h",t.height].join("")})},7303:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{y:()=>c});var o=r(7011),i=r(7938),a=t([o,i]);function c(t,e,r){var n,a,c,l;if("horizontal"===t)c=n=e.x,a=r.top,l=r.top+r.height;else if("vertical"===t)l=a=e.y,n=r.left,c=r.left+r.width;else if(null!=e.cx&&null!=e.cy){if("centric"!==t)return(0,i.O)(e);var u=e.cx,s=e.cy,f=e.innerRadius,p=e.outerRadius,d=e.angle,y=(0,o.op)(u,s,f,d),h=(0,o.op)(u,s,p,d);n=y.x,a=y.y,c=h.x,l=h.y}return[{x:n,y:a},{x:c,y:l}]}[o,i]=a.then?(await a)():a,n()}catch(t){n(t)}})},2028:(t,e,r)=>{"use strict";function n(t,e,r,n){var o=n/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===t?e.x-o:r.left+.5,y:"horizontal"===t?r.top+.5:e.y-o,width:"horizontal"===t?n:r.width-1,height:"horizontal"===t?r.height-1:n}}r.d(e,{E:()=>n})},7938:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{O:()=>a});var o=r(7011),i=t([o]);function a(t){var e=t.cx,r=t.cy,n=t.radius,i=t.startAngle,a=t.endAngle,c=(0,o.op)(e,r,n,i),l=(0,o.op)(e,r,n,a);return{points:[c,l],cx:e,cy:r,radius:n,startAngle:i,endAngle:a}}o=(i.then?(await i)():i)[0],n()}catch(t){n(t)}})},3268:(t,e,r)=>{"use strict";function n(t,e,r){if(e<1)return[];if(1===e&&void 0===r)return t;for(var n=[],o=0;o<t.length;o+=e){if(void 0!==r&&!0!==r(t[o]))return;n.push(t[o])}return n}r.d(e,{t:()=>n})},3079:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{z:()=>f});var o=r(5450),i=r(4473),a=r(710),c=t([o,i]);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach(function(e){var n,o;n=e,o=r[e],(n=function(t){var e=function(t,e){if("object"!=l(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=l(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==l(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}[o,i]=c.then?(await c)():c;var f=function(t){var e,r=t.children,n=t.formattedGraphicalItems,c=t.legendWidth,l=t.legendContent,u=(0,a.sP)(r,o.D);return u?(e=u.props&&u.props.payload?u.props&&u.props.payload:"children"===l?(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:u.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}}))},[]):(n||[]).map(function(t){var e=t.item,r=e.props,n=r.dataKey,o=r.name,a=r.legendType;return{inactive:r.hide,dataKey:n,type:u.props.iconType||a||"square",color:(0,i.fk)(e),value:o||n,payload:e.props}}),s(s(s({},u.props),o.D.getWithHeight(u,c)),{},{payload:e,item:u})):null};n()}catch(t){n(t)}})},8558:(t,e,r)=>{"use strict";r.d(e,{W:()=>o});var n=r(5516);function o(t,e,r){if("number"===r&&!0===e&&Array.isArray(t)){var o=null==t?void 0:t[0],i=null==t?void 0:t[1];if(o&&i&&(0,n.hj)(o)&&(0,n.hj)(i))return!0}return!1}},7219:(t,e,r)=>{"use strict";r.d(e,{z:()=>c});var n=r(9309),o=r.n(n),i=r(5716),a=r.n(i);function c(t,e,r){return!0===e?o()(t,r):a()(e)?o()(t,e):t}},726:(t,e,r)=>{"use strict";r.a(t,async(t,n)=>{try{r.d(e,{qq:()=>p});var o=r(6593),i=r(5516),a=t([o]);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e,r){var n,o;return(n=e,o=function(t,e){if("object"!=c(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),(e="symbol"==c(o)?o:String(o))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}o=(a.then?(await a)():a)[0];var u="recharts-tooltip-wrapper",s={visibility:"hidden"};function f(t){var e=t.allowEscapeViewBox,r=t.coordinate,n=t.key,o=t.offsetTopLeft,a=t.position,c=t.reverseDirection,l=t.tooltipDimension,u=t.viewBox,s=t.viewBoxDimension;if(a&&(0,i.hj)(a[n]))return a[n];var f=r[n]-l-o,p=r[n]+o;if(e[n])return c[n]?f:p;if(c[n]){var d=u[n];return f<d?Math.max(p,u[n]):Math.max(f,u[n])}var y=u[n]+s;return p+l>y?Math.max(f,u[n]):Math.max(p,u[n])}function p(t){var e,r,n,a,c,p,d,y,h,v,m=t.allowEscapeViewBox,b=t.coordinate,g=t.offsetTopLeft,O=t.position,x=t.reverseDirection,w=t.tooltipBox,j=t.useTranslate3d,P=t.viewBox;return w.height>0&&w.width>0&&b?(h=f({allowEscapeViewBox:m,coordinate:b,key:"x",offsetTopLeft:g,position:O,reverseDirection:x,tooltipDimension:w.width,viewBox:P,viewBoxDimension:P.width}),v=f({allowEscapeViewBox:m,coordinate:b,key:"y",offsetTopLeft:g,position:O,reverseDirection:x,tooltipDimension:w.height,viewBox:P,viewBoxDimension:P.height}),r=(e={translateX:h,translateY:v,useTranslate3d:j}).translateX,n=e.translateY,y={transform:e.useTranslate3d?"translate3d(".concat(r,"px, ").concat(n,"px, 0)"):"translate(".concat(r,"px, ").concat(n,"px)")}):y=s,{cssProperties:y,cssClasses:(c=(a={translateX:h,translateY:v,coordinate:b}).coordinate,p=a.translateX,d=a.translateY,(0,o.default)(u,l(l(l(l({},"".concat(u,"-right"),(0,i.hj)(p)&&c&&(0,i.hj)(c.x)&&p>=c.x),"".concat(u,"-left"),(0,i.hj)(p)&&c&&(0,i.hj)(c.x)&&p<c.x),"".concat(u,"-bottom"),(0,i.hj)(d)&&c&&(0,i.hj)(c.y)&&d>=c.y),"".concat(u,"-top"),(0,i.hj)(d)&&c&&(0,i.hj)(c.y)&&d<c.y)))}}n()}catch(t){n(t)}})},2481:(t,e,r)=>{"use strict";r.d(e,{Yh:()=>c,Ym:()=>f,bw:()=>p,nv:()=>s,ry:()=>u});var n=r(6689),o=r(5795),i=r.n(o);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var c=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],l=["points","pathLength"],u={svg:["viewBox","children"],polygon:l,polyline:l},s=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],f=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if((0,n.isValidElement)(t)&&(r=t.props),!i()(r))return null;var o={};return Object.keys(r).forEach(function(t){s.includes(t)&&(o[t]=e||function(e){return r[t](r,e)})}),o},p=function(t,e,r){if(!i()(t)||"object"!==a(t))return null;var n=null;return Object.keys(t).forEach(function(o){var i=t[o];s.includes(o)&&"function"==typeof i&&(n||(n={}),n[o]=function(t){return i(e,r,t),null})}),n}},5244:(t,e)=>{"use strict";var r;Object.defineProperty(e,"x",{enumerable:!0,get:function(){return r}}),function(t){t.PAGES="PAGES",t.PAGES_API="PAGES_API",t.APP_PAGE="APP_PAGE",t.APP_ROUTE="APP_ROUTE"}(r||(r={}))},7443:(t,e,r)=>{"use strict";t.exports=r(7093).vendored.contexts.AppRouterContext},5469:(t,e,r)=>{"use strict";t.exports=r(7093).vendored.contexts.RouterContext},1664:(t,e,r)=>{t.exports=r(9577)},8760:(t,e)=>{"use strict";function r(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(r=function(t){return t?n:e})(t)}e._=e._interop_require_wildcard=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=r(e);if(n&&n.has(t))return n.get(t);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var c=i?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=t[a]}return o.default=t,n&&n.set(t,o),o}}};