*/varnT;functionn8(){if(nT)returnMe;nT=1;vare=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),g=Symbol.iterator;functionS($){return$===null||typeof$!="object"?null:($=g&&$[g]||$["@@iterator"],typeof$=="function"?$:null)}varj={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,b={};functionA($,H,ie){this.props=$,this.context=H,this.refs=b,this.updater=ie||j}A.prototype.isReactComponent={},A.prototype.setState=function($,H){if(typeof$!="object"&&typeof$!="function"&&$!=null)throwError("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,$,H,"setState")},A.prototype.forceUpdate=function($){this.updater.enqueueForceUpdate(this,$,"forceUpdate")};function_(){}_.prototype=A.prototype;functionT($,H,ie){this.props=$,this.context=H,this.refs=b,this.updater=ie||j}varC=T.prototype=new_;C.constructor=T,w(C,A.prototype),C.isPureReactComponent=!0;varO=Array.isArray;functionE(){}varM={H:null,A:null,T:null,S:null},k=Object.prototype.hasOwnProperty;functionD($,H,ie){varfe=ie.ref;return{$$typeof:e,type:$,key:H,ref:fe!==void0?fe:null,props:ie}}functionL($,H){returnD($.type,H,$.props)}functionI($){returntypeof$=="object"&&$!==null&&$.$$typeof===e}functionB($){varH={"=":"=0",":":"=2"};return"$"+$.replace(/[=:]/g,function(ie){returnH[ie]})}varF=/\/+/g;functionX($,H){returntypeof$=="object"&&$!==null&&$.key!=null?B(""+$.key):H.toString(36)}functionG($){switch($.status){case"fulfilled":return$.value;case"rejected":throw$.reason;default:switch(typeof$.status=="string"?$.then(E,E):($.status="pending",$.then(function(H){$.status==="pending"&&($.status="fulfilled",$.value=H)},function(H){$.status==="pending"&&($.status="rejected",$.reason=H)})),$.status){case"fulfilled":return$.value;case"rejected":throw$.reason}}throw$}functionz($,H,ie,fe,ve){varwe=typeof$;(we==="undefined"||we==="boolean")&&($=null);varze=!1;if($===null)ze=!0;elseswitch(we){case"bigint":case"string":case"number":ze=!0;break;case"object":switch($.$$typeof){casee:caset:ze=!0;break;casem:returnze=$._init,z(ze($._payload),H,ie,fe,ve)}}if(ze)returnve=ve($),ze=fe===""?"."+X($,0):fe,O(ve)?(ie="",ze!=null&&(ie=ze.replace(F,"$&/")+"/"),z(ve,H,ie,"",function(Te){returnTe})):ve!=null&&(I(ve)&&(ve=L(ve,ie+(ve.key==null||$&&$.key===ve.key?"":(""+ve.key).replace(F,"$&/")+"/")+ze)),H.push(ve)),1;ze=0;varXe=fe===""?".":fe+":";if(O($))for(varce=0;ce<$.length;ce++)fe=$[ce],we=Xe+X(fe,ce),ze+=z(fe,H,ie,we,ve);elseif(ce=S($),typeofce=="function")for($=ce.call($),ce=0;!(fe=$.next()).done;)fe=fe.value,we=Xe+X(fe,ce++),ze+=z(fe,H,ie,we,ve);elseif(we==="object"){if(typeof$.then=="function")returnz(G($),H,ie,fe,ve);throwH=String($),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}returnze}functionK($,H,ie){if($==null)return$;varfe=[],ve=0;returnz($,fe,"","",function(we){returnH.call(ie,we,ve++)}),fe}functionQ($){if($._status===-1){varH=$._result;H=H(),H.then(function(ie){($._status===0||$._status===-1)&&($._status=1,$._result=ie)},function(ie){($._status===0||$._status===-1)&&($._status=2,$._result=ie)}),$._status===-1&&($._status=0,$._result=H)}if($._status===1)return$._result.default;throw$._result}varre=typeofreportError=="function"?reportError:function($){if(typeofwindow=="object"&&typeofwindow.ErrorEvent=="function"){varH=newwindow.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof$=="object"&&$!==null&&typeof$.message=="string"?String($.message):String($),
`).replace(j6,"")}functionS2(i,o){returno=b2(o),b2(i)===o}functionot(i,o,u,p,v,x){switch(u){case"children":typeofp=="string"?o==="body"||o==="textarea"&&p===""||Uo(i,p):(typeofp=="number"||typeofp=="bigint")&&o!=="body"&&Uo(i,""+p);break;case"className":yf(i,"class",p);break;case"tabIndex":yf(i,"tabindex",p);break;case"dir":case"role":case"viewBox":case"width":case"height":yf(i,u,p);break;case"style":SA(i,p,x);break;case"data":if(o!=="object"){yf(i,"data",p);break}case"src":case"href":if(p===""&&(o!=="a"||u!=="href")){i.removeAttribute(u);break}if(p==null||typeofp=="function"||typeofp=="symbol"||typeofp=="boolean"){i.removeAttribute(u);break}p=gf(""+p),i.setAttribute(u,p);break;case"action":case"formAction":if(typeofp=="function"){i.setAttribute(u,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}elsetypeofx=="function"&&(u==="formAction"?(o!=="input"&&ot(i,o,"name",v.name,v,null),ot(i,o,"formEncType",v.formEncType,v,null),ot(i,o,"formMethod",v.formMethod,v,null),ot(i,o,"formTarget",v.formTarget,v,null)):(ot(i,o,"encType",v.encType,v,null),ot(i,o,"method",v.method,v,null),ot(i,o,"target",v.target,v,null)));if(p==null||typeofp=="symbol"||typeofp=="boolean"){i.removeAttribute(u);break}p=gf(""+p),i.setAttribute(u,p);break;case"onClick":p!=null&&(i.onclick=ii);break;case"onScroll":p!=null&&Be("scroll",i);break;case"onScrollEnd":p!=null&&Be("scrollend",i);break;case"dangerouslySetInnerHTML":if(p!=null){if(typeofp!="object"||!("__html"inp))throwError(r(61));if(u=p.__html,u!=null){if(v.children!=null)throwError(r(60));i.innerHTML=u}}break;case"multiple":i.multiple=p&&typeofp!="function"&&typeofp!="symbol";break;case"muted":i.muted=p&&typeofp!="function"&&typeofp!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(p==null||typeofp=="function"||typeofp=="boolean"||typeofp=="symbol"){i.removeAttribute("xlink:href");break}u=gf(""+p),i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":p!=null&&typeofp!="function"&&typeofp!="symbol"?i.setAttribute(u,""+p):i.removeAttribute(u);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":p&&typeofp!="function"&&typeofp!="symbol"?i.setAttribute(u,""):i.removeAttribute(u);break;case"capture":case"download":p===!0?i.setAttribute(u,""):p!==!1&&p!=null&&typeofp!="function"&&typeofp!="symbol"?i.setAttribute(u,p):i.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":p!=null&&typeofp!="function"&&typeofp!="symbol"&&!isNaN(p)&&1<=p?i.setAttribute(u,p):i.removeAttribute(u);break;case"rowSpan":case"start":p==null||typeofp=="function"||typeofp=="symbol"||isNaN(p)?i.removeAttribute(u):i.setAttribute(u,p);break;case"popover":Be("beforetoggle",i),Be("toggle",i),mf(i,"popover",p);break;case"xlinkActuate":ri(i,"http://www.w3.org/1999/xlink","xlink:actuate",p);break;case"xlinkArcrole":ri(i,"http://www.w3.org/1999/xlink","xlink:arcrole",p);break;case"xlinkRole":ri(i,"http://www.w3.org/1999/xlink","xlink:role",p);break;case"xlinkShow":ri(i,"http://www.w3.org/1999/xlink","xlink:show",p);break;case"xlinkTitle":ri(i,"http://www.w3.org/1999/xlink","xlink:title",p);break;case"xlinkType":ri(i,"http://www.w3.org/1999/xlink","xlink:type",p);break;case"xmlBase":ri(i,"http://www.w3.org/XML/1998/namespace","xml:ba
Pleasechangetheparent<Routepath="${A}">to<Routepath="${A==="/"?"*":`${A}/*`}">.`)}let m=kr(),y;if(t){let A=typeof t=="string"?pl(t):t;wt(f==="/"||((b=A.pathname)==null?void 0:b.startsWith(f)),`Whenoverridingthelocationusing\`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${f}" but pathname "${A.pathname}" was given in the \`location\` prop.`),y=A}elsey=m;letg=y.pathname||"/",S=g;if(f!=="/"){letA=f.replace(/^\//,"").split("/");S="/"+g.replace(/^\//,"").split("/").slice(A.length).join("/")}letj=n&&n.state.matches.length?n.state.matches.map(A=>Object.assign(A,{route:n.manifest[A.route.id]||A.route})):Yk(e,{pathname:S});Cr(d||j!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),Cr(j==null||j[j.length-1].route.element!==void0||j[j.length-1].route.Component!==void0||j[j.length-1].route.lazy!==void0,`Matched leaf route at location "${y.pathname}${y.search}${y.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);letw=tq(j&&j.map(A=>Object.assign({},A,{params:Object.assign({},l,A.params),pathname:Tr([f,r.encodeLocation?r.encodeLocation(A.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:A.pathname]),pathnameBase:A.pathnameBase==="/"?f:Tr([f,r.encodeLocation?r.encodeLocation(A.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:A.pathnameBase])})),a,n);returnt&&w?P.createElement(Hc.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void0,...y},navigationType:"POP"}},w):w}functionZ8(){lete=oq(),t=D8(e)?`${e.status}${e.statusText}`:einstanceofError?e.message:JSON.stringify(e),n=einstanceofError?e.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r},s={padding:"2px 4px",backgroundColor:r},l=null;returnconsole.error("Error handled by React Router default ErrorBoundary:",e),l=P.createElement(P.Fragment,null,P.createElement("p",null,"💿 Hey developer 👋"),P.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",P.createElement("code",{style:s},"ErrorBoundary")," or"," ",P.createElement("code",{style:s},"errorElement")," prop on your route.")),P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},t),n?P.createElement("pre",{style:a},n):null,l)}varQ8=P.createElement(Z8,null),u3=classextendsP.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}staticgetDerivedStateFromError(e){return{error:e}}staticgetDerivedStateFromProps(e,t){returnt.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){lete=this.state.error;if(this.context&&typeofe=="object"&&e&&"digest"ine&&typeofe.digest=="string"){constn=G8(e.digest);n&&(e=n)}lett=e!==void0?P.createElement(Dr.Provider,{value:this.props.routeContext},P.createElement(lj.Provider,{value:e,children:this.props.component})):this.props.children;returnthis.context?P.createElement(J8,{error:e},t):t}};u3.contextType=r3;varkv=newWeakMap;functionJ8({children:e,error:t}){let{basename:n}=P.useContext(Yn);if(typeoft=="object"&&t&&"digest"int&&typeoft.digest=="string"){letr=H8(t.digest);if(r){leta=kv.get(t);if(a)throwa;lets=t3(r.location,n),l=s.absoluteURL||s.to;if($8(l))thrownewError("Invalid redirect location");if(e3&&!kv.get(t))if(s.isExternal||r.reloadDocument)window.location.href=l;else{constc=Promise.resolve().then(()=>window.__reactRout
A`).concat(l,",").concat(l,",0,1,1,").concat(c,",").concat(s),className:"recharts-legend-icon"});if(r.type==="rect")returnq.createElement("path",{stroke:"none",fill:f,d:"M0,".concat(sr/8,"h").concat(sr,"v").concat(sr*3/4,"h").concat(-sr,"z"),className:"recharts-legend-icon"});if(q.isValidElement(r.legendIcon)){vard=dK({},r);returndeleted.legendIcon,q.cloneElement(r.legendIcon,d)}returnq.createElement(uw,{fill:f,cx:s,cy:s,size:sr,sizeType:"diameter",type:r.type})}},{key:"renderItems",value:function(){varr=this,a=this.props,s=a.payload,l=a.iconSize,c=a.layout,f=a.formatter,d=a.inactiveColor,m={x:0,y:0,width:sr,height:sr},y={display:c==="horizontal"?"inline-block":"block",marginRight:10},g={display:"inline-block",verticalAlign:"middle",marginRight:4};returns.map(function(S,j){varw=S.formatter||f,b=Pe(cc(cc({"recharts-legend-item":!0},"legend-item-".concat(j),!0),"inactive",S.inactive));if(S.type==="none")returnnull;varA=_e(S.value)?null:S.value;Nr(!_e(S.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_=S.inactive?d:S.color;returnq.createElement("li",Y1({className:b,style:y,key:"legend-item-".concat(j)},Ao(r.props,S,j)),q.createElement(I1,{width:l,height:l,viewBox:m,style:g},r.renderIcon(S)),q.createElement("span",{className:"recharts-legend-item-text",style:{color:_}},w?w(A,S,j):A))})}},{key:"render",value:function(){varr=this.props,a=r.payload,s=r.layout,l=r.align;if(!a||!a.length)returnnull;varc={padding:0,margin:0,textAlign:s==="horizontal"?l:"left"};returnq.createElement("ul",{className:"recharts-default-legend",style:c},this.renderItems())}}])})(P.PureComponent);cc(cw,"displayName","Legend");cc(cw,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});varyx,xC;functionSK(){if(xC)returnyx;xC=1;vare=Lp();functiont(){this.__data__=newe,this.size=0}returnyx=t,yx}varvx,bC;functionjK(){if(bC)returnvx;bC=1;functione(t){varn=this.__data__,r=n.delete(t);returnthis.size=n.size,r}returnvx=e,vx}vargx,SC;functionwK(){if(SC)returngx;SC=1;functione(t){returnthis.__data__.get(t)}returngx=e,gx}varxx,jC;functionAK(){if(jC)returnxx;jC=1;functione(t){returnthis.__data__.has(t)}returnxx=e,xx}varbx,wC;functionOK(){if(wC)returnbx;wC=1;vare=Lp(),t=ew(),n=tw(),r=200;functiona(s,l){varc=this.__data__;if(cinstanceofe){varf=c.__data__;if(!t||f.length<r-1)returnf.push([s,l]),this.size=++c.size,this;c=this.__data__=newn(f)}returnc.set(s,l),this.size=c.size,this}returnbx=a,bx}varSx,AC;functionq4(){if(AC)returnSx;AC=1;vare=Lp(),t=SK(),n=jK(),r=wK(),a=AK(),s=OK();functionl(c){varf=this.__data__=newe(c);this.size=f.size}returnl.prototype.clear=t,l.prototype.delete=n,l.prototype.get=r,l.prototype.has=a,l.prototype.set=s,Sx=l,Sx}varjx,OC;function_K(){if(OC)returnjx;OC=1;vare="__lodash_hash_undefined__";functiont(n){returnthis.__data__.set(n,e),this}returnjx=t,jx}varwx,_C;functionTK(){if(_C)returnwx;_C=1;functione(t){returnthis.__data__.has(t)}returnwx=e,wx}varAx,TC;functionI4(){if(TC)returnAx;TC=1;vare=tw(),t=_K(),n=TK();functionr(a){vars=-1,l=a==null?0:a.length;for(this.__data__=newe;++s<l;)this.add(a[s])}returnr.prototype.add=r.prototype.push=t,r.prototype.has=n,Ax=r,Ax}varOx,EC;functionU4(){if(EC)returnOx;EC=1;functione(t,n){for(varr=-1,a=t==null?0:t.length;++r<a;)if(n(t[r],r,t))return!0;return!1}returnOx=e,Ox}var_x,NC;functionV4(){if(NC)return_x;NC=1;functione(t,n){returnt.has(n)}return_x=e,_x}varTx,CC;functionH4(){if(CC)returnTx;CC=1;vare=I4(),t=U4(),n=V4(),r=1,a=2;functions(l,c,f,d,m,y){varg=f&r,S=l.length,j=c.length;if(S!=j&&!(g&&j>S))return!1;varw=y.get(l),b=y.get(c);if(w&&b)returnw==c&&b==l;varA=-1,_=!0,T=f&a?newe:void0;for(y.set(l,c),y.set(c,l);++A<S;){varC=l[A],O=c[A];if(d)varE=g?d(O,C,A,c,l,y):d(C,O,A,l,c,y);if(E!==void0){if(E)continue;_=!1;break}if(T){if(!t(c,function(M,k){if(!n(T,k)&&(C===M||m(C,M,f,d,y)))returnT.push(k)})){_=!1;break}}elseif(!(C===O||m(C,O,f,
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionBX(e,t){if(e){if(typeofe=="string")returnAP(e,t);varn=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")returnArray.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))returnAP(e,t)}}functionAP(e,t){(t==null||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}functionqX(e,t){varn=e==null?null:typeofSymbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){varr,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){d=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throwa}}returnc}}functionIX(e){if(Array.isArray(e))returne}varPh=P.forwardRef(function(e,t){varn=e.aspect,r=e.initialDimension,a=r===void0?{width:-1,height:-1}:r,s=e.width,l=s===void0?"100%":s,c=e.height,f=c===void0?"100%":c,d=e.minWidth,m=d===void0?0:d,y=e.minHeight,g=e.maxHeight,S=e.children,j=e.debounce,w=j===void0?0:j,b=e.id,A=e.className,_=e.onResize,T=e.style,C=T===void0?{}:T,O=P.useRef(null),E=P.useRef();E.current=_,P.useImperativeHandle(t,function(){returnObject.defineProperty(O.current,"current",{get:function(){returnconsole.warn("The usage of ref.current.current is deprecated and will no longer be supported."),O.current},configurable:!0})});varM=P.useState({containerWidth:a.width,containerHeight:a.height}),k=zX(M,2),D=k[0],L=k[1],I=P.useCallback(function(F,X){L(function(G){varz=Math.round(F),K=Math.round(X);returnG.containerWidth===z&&G.containerHeight===K?G:{containerWidth:z,containerHeight:K}})},[]);P.useEffect(function(){varF=function(re){varse,$=re[0].contentRect,H=$.width,ie=$.height;I(H,ie),(se=E.current)===null||se===void0||se.call(E,H,ie)};w>0&&(F=dz(F,w,{trailing:!0,leading:!1}));varX=newResizeObserver(F),G=O.current.getBoundingClientRect(),z=G.width,K=G.height;returnI(z,K),X.observe(O.current),function(){X.disconnect()}},[I,w]);varB=P.useMemo(function(){varF=D.containerWidth,X=D.containerHeight;if(F<0||X<0)returnnull;Nr(fo(l)||fo(f),`The width(%s) and height(%s) are both fixed numbers,
maybe you don't need to use a ResponsiveContainer.`,l,f),Nr(!n||n>0,"The aspect(%s) must be greater than zero.",n);varG=fo(l)?F:l,z=fo(f)?X:f;n&&n>0&&(G?z=G/n:z&&(G=z*n),g&&z>g&&(z=g)),Nr(G>0||z>0,`The width(%s) and height(%s) of chart should be greater than 0,
height and width.`,G,z,l,f,m,y,n);varK=!Array.isArray(S)&&Ei(S.type).endsWith("Chart");returnq.Children.map(S,function(Q){returnq.isValidElement(Q)?P.cloneElement(Q,zd({width:G,height:z},K?{style:zd({height:"100%",width:"100%",maxHeight:z,maxWidth:G},Q.props.style)}:{})):Q})},[n,S,f,g,y,m,D,l]);returnq.createElement("div",{id:b?"".concat(b):void0,className:Pe("recharts-responsive-container",A),style:zd(zd({},C),{},{width:l,height:f,minWidth:m,minHeight:y,maxHeight:g}),ref:O},B)}),Fp=function(t){returnnull};Fp.displayName="Cell";functionpc(e){"@babel/helpers - typeof";returnpc=typeofSymbol=="function"&&typeofSymbol.iterator=="symbol"?function(t){returntypeoft}:function(t){returnt&&typeofSymbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},pc(e)}functionOP(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){returnObject.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}returnn}functiontS(e){for(vart=1;t<arguments.length;t++){varn=arguments[t]!=null?arguments[t]:{};t%2?OP(Object(n),!0).forEach(function(r){UX(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):OP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}returne}functionUX(e,t,n){returnt=VX(t),tine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functionVX(e){vart=HX(e,"string");returnpc(t)=="symbol"?t:t+""}functionHX(e,t){if(pc(e)!="object"||!e)returne;varn=e[Symbol.toPrimitive];if(n!==void0){varr=n.call(e,t);if(pc(r)!="object")returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}varbs={widthCache:{},cacheCount:0},GX=2e3,FX={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},_P="recharts_measurement_span";functionKX(e){vart=tS({},e);returnObject.keys(t).forEach(function(n){t[n]||deletet[n]}),t}varWu=function(t){varn=arguments.length>1&&arguments[1]!==void0?arguments[1]:{};if(t==null||Ma.isSsr)return{width:0,height:0};varr=KX(n),a=JSON.stringify({text:t,copyStyle:r});if(bs.widthCache[a])returnbs.widthCache[a];try{vars=document.getElementById(_P);s||(s=document.createElement("span"),s.setAttribute("id",_P),s.setAttribute("aria-hidden","true"),document.body.appendChild(s));varl=tS(tS({},FX),r);Object.assign(s.style,l),s.textContent="".concat(t);varc=s.getBoundingClientRect(),f={width:c.width,height:c.height};returnbs.widthCache[a]=f,++bs.cacheCount>GX&&(bs.cacheCount=0,bs.widthCache={}),f}catch{return{width:0,height:0}}},YX=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};functionmc(e){"@babel/helpers - typeof";returnmc=typeofSymbol=="function"&&typeofSymbol.iterator=="symbol"?function(t){returntypeoft}:function(t){returnt&&typeofSymbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},mc(e)}functionRh(e,t){returnQX(e)||ZX(e,t)||WX(e,t)||XX()}functionXX(){thrownewTypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionWX(e,t){if(e){if(typeofe=="string")returnTP(e,t);varn=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")returnArray.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))returnTP(e,t)}}functionTP(e,t){(t==null||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}functionZX(e,t){varn=e==null?null:typeofSymbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){varr,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;f=!1}elsefor(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){d=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throwa}}returnc}}functionQX(e){if(Array.isArray(e))returne}functionJX(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functionEP(e,t){for(varn=0;n<t.length;n++){varr=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,tW(r.key),r)}}functioneW(e,t,n){returnt&&EP(e.prototype,t),n&&EP(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}functiontW(e){vart=nW(e,"string");returnmc(t)=="symbol"?t:t+""}functionnW(e,t){if(mc(e)!="object"||!e)returne;varn=e[Symbol.toPrimitive];if(n!==void0){varr=n.call(e,t);if(mc(r)!="object")returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}returnString(e)}varNP=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,CP=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,rW=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,iW=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,hz={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},aW=Object.keys(hz),Ns="NaN";functionoW(e,t){returne*hz[t]}var$d=(function(){functione(t,n){JX(this,e),this.num=t,this.unit=n,this.num=t,this.unit=n,Number.isNaN(t)&&(this.unit=""),n!==""&&!rW.test(n)&&(this.num=NaN,this.unit=""),aW.includes(n)&&(this.num=oW(t,n),this.unit="px")}returneW(e,[{key:"add",value:function(n){returnthis.unit!==n.unit?newe(NaN,""):newe(this.num+n.num,this.unit)}},{key:"subtract",value:function(n){returnthis.unit!==n.unit?newe(NaN,""):newe(this.num-n.num,this.unit)}},{key:"multiply",value:function(n){returnthis.unit!==""&&n.unit!==""&&this.unit!==n.unit?newe(NaN,""):newe(this.num*n.num,this.unit||n.unit)}},{key:"divide",value:function(n){returnthis.unit!==""&&n.unit!==""&&this.unit!==n.unit?newe(NaN,""):newe(this.num/n.num,this.unit||n.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){returnNumber.isNaN(this.num)}}],[{key:"parse",value:function(n){varr,a=(r=iW.exec(n))!==null&&r!==void0?r:[],s=Rh(a,3),l=s[1],c=s[2];returnnewe(parseFloat(l),c??"")}}])})();functionpz(e){if(e.includes(Ns))returnNs;for(vart=e;t.includes("*")||t.includes("/");){varn,r=(n=NP.exec(t))!==null&&n!==void0?n:[],a=Rh(r,4),s=a[1],l=a[2],c=a[3],f=$d.parse(s??""),d=$d.parse(c??""),m=l==="*"?f.multiply(d):f.divide(d);if(m.isNaN())returnNs;t=t.replace(NP,m.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){vary,g=(y=CP.exec(t))!==null&&y!==void0?y:[],S=Rh(g,4),j=S[1],w=S[2],b=S[3],A=$d.parse(j??""),_=$d.parse(b??""),T=w==="+"?A.add(_):A.subtract(_);if(T.isNaN())returnNs;t=t.replace(CP,T.toString())}returnt}varMP=/\(([^()]*)\)/;functionsW(e){for(vart=e;t.includes("(");){varn=MP.exec(t),r=Rh(n,2),a=r[1];t=t.replace(MP,pz(a))}returnt}functionlW(e){vart=e.replace(/\s+/g,"");returnt=sW(t),t=pz(t),t}functionuW(e){try{returnlW(e)}catch{returnNs}}functions0(e){vart=uW(e.slice(5,-1));returnt===Ns?"":t}varcW=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],fW=["dx","dy","angle","className","breakAll"];functionnS(){returnnS=Object.assign?Object.assign.bind():function(e){for(vart=1;t<arguments.length;t++){varn=arguments[t];for(var
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionsJ(e,t){if(e){if(typeofe=="string")returncS(e,t);varn=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")returnArray.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))returncS(e,t)}}functionlJ(e){if(typeofSymbol<"u"&&Symbol.iteratorinObject(e))returnArray.from(e)}functionuJ(e){if(Array.isArray(e))returncS(e)}functioncS(e,t){(t==null||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}varcJ=function(t){returnt},n$={},r$=function(t){returnt===n$},MR=function(t){returnfunctionn(){returnarguments.length===0||arguments.length===1&&r$(arguments.length<=0?void0:arguments[0])?n:t.apply(void0,arguments)}},fJ=functione(t,n){returnt===1?n:MR(function(){for(varr=arguments.length,a=newArray(r),s=0;s<r;s++)a[s]=arguments[s];varl=a.filter(function(c){returnc!==n$}).length;returnl>=t?n.apply(void0,a):e(t-l,MR(function(){for(varc=arguments.length,f=newArray(c),d=0;d<c;d++)f[d]=arguments[d];varm=a.map(function(y){returnr$(y)?f.shift():y});returnn.apply(void0,aJ(m).concat(f))}))})},tm=function(t){returnfJ(t.length,t)},fS=function(t,n){for(varr=[],a=t;a<n;++a)r[a-t]=a;returnr},dJ=tm(function(e,t){returnArray.isArray(t)?t.map(e):Object.keys(t).map(function(n){returnt[n]}).map(e)}),hJ=function(){for(vart=arguments.length,n=newArray(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.length)returncJ;vara=n.reverse(),s=a[0],l=a.slice(1);returnfunction(){returnl.reduce(function(c,f){returnf(c)},s.apply(void0,arguments))}},dS=function(t){returnArray.isArray(t)?t.reverse():t.split("").reverse.join("")},i$=function(t){varn=null,r=null;returnfunction(){for(vara=arguments.length,s=newArray(a),l=0;l<a;l++)s[l]=arguments[l];returnn&&s.every(function(c,f){returnc===n[f]})||(n=s,r=t.apply(void0,s)),r}};functionpJ(e){vart;returne===0?t=1:t=Math.floor(newlt(e).abs().log(10).toNumber())+1,t}functionmJ(e,t,n){for(varr=newlt(e),a=0,s=[];r.lt(t)&&a<1e5;)s.push(r.toNumber()),r=r.add(n),a++;returns}varyJ=tm(function(e,t,n){varr=+e,a=+t;returnr+n*(a-r)}),vJ=tm(function(e,t,n){varr=t-+e;returnr=r||1/0,(n-e)/r}),gJ=tm(function(e,t,n){varr=t-+e;returnr=r||1/0,Math.max(0,Math.min(1,(n-e)/r))});constnm={rangeStep:mJ,getDigitCount:pJ,interpolateNumber:yJ,uninterpolateNumber:vJ,uninterpolateTruncation:gJ};functionhS(e){returnSJ(e)||bJ(e)||a$(e)||xJ()}functionxJ(){thrownewTypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionbJ(e){if(typeofSymbol<"u"&&Symbol.iteratorinObject(e))returnArray.from(e)}functionSJ(e){if(Array.isArray(e))returnpS(e)}functionjc(e,t){returnAJ(e)||wJ(e,t)||a$(e,t)||jJ()}functionjJ(){thrownewTypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functiona$(e,t){if(e){if(typeofe=="string")returnpS(e,t);varn=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")returnArray.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))returnpS(e,t)}}functionpS(e,t){(t==null||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}functionwJ(e,t){if(!(typeofSymbol>"u"||!(Symbol.iteratorinObject(e)))){varn=[],r=!0,a=!1,s=void0;try{for(varl=e[Symbol.iterator](),c;!(r=(c=l.next()).done)&&(n.push(c.value),!(t&&n.length===t));r=!0);}catch(f){a=!0,s=f}finally{try{!r&&l.return!=null&&l.return()}finally{if(a)throws}}returnn}}functionAJ(e){if(Array.isArray(e))returne}functiono$(e){vart=jc(e,2),n=t[0],r=t[1],a=n,s=r;returnn>r&&(a=r,s=n),[a,s]}functions$(e,t,n){if(e.lte(0))returnnewlt(0);varr=nm.getDigitCount(e.toNumber()),a=newlt(10).pow(r),s=e.div(a),l=r!==1?.05:.1,c=newlt(Math.ceil(s.div(l).toNumber())).add(n).mul(l),f=c.mul(a);returnt?f:newlt(Math.ceil(f))}functionOJ(e,t,n){varr=1,a=newlt(e);if(!a.isint()&&n){vars=Math.abs(e);s<1?(r=newlt(10).pow(nm.getDigitCount(e)-1),a=newlt(Math.floor(a.div(r).toNumber())).mul(r)):s>1&&(a=newlt(Math.floor(e)))}elsee===0?a=newlt(Math.floor((t-1)/2)):n||(a=newlt(Math.floor(e)));varl=Math.floor((t-1)/2),c=hJ(dJ(function(f){returna.add(newlt(f-l).mul(r)).toNumber()}),fS);returnc(0,t)}functionl$(e,t,n,r){vara=arguments.length>4&&arguments[4]!==void0?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:newlt(0),tickMin:newlt(0),tickMax:newlt(0)};vars=s$(newlt(t).sub(e).div(n-1),r,a),l;e<=0&&t>=0?l=newlt(0):(l=newlt(e).add(t).div(2),l=l.sub(newlt(l).mod(s)));varc=Math.ceil(l.sub(e).div(s).toNumber()),f=Math.ceil(newlt(t).sub(l).div(s).toNumber()),d=c+f+1;returnd>n?l$(e,t,n,r,a+1):(d<n&&(f=t>0?f+(n-d):f,c=t>0?c:c+(n-d)),{step:s,tickMin:l.sub(newlt(c).mul(s)),tickMax:l.add(newlt(f).mul(s))})}function_J(e){vart=jc(e,2),n=t[0],r=t[1],a=arguments.length>1&&arguments[1]!==void0?arguments[1]:6,s=arguments.length>2&&arguments[2]!==void0?arguments[2]:!0,l=Math.max(a,2),c=o$([n,r]),f=jc(c,2),d=f[0],m=f[1];if(d===-1/0||m===1/0){vary=m===1/0?[d].concat(hS(fS(0,a-1).map(function(){return1/0}))):[].concat(hS(fS(0,a-1).map(function(){return-1/0})),[m]);returnn>r?dS(y):y}if(d===m)returnOJ(d,a,s);varg=l$(d,m,l,s),S=g.step,j=g.tickMin,w=g.tickMax,b=nm.rangeStep(j,w.add(newlt(.1).mul(S)),S);returnn>r?dS(b):b}functionTJ(e,t){varn=jc(e,2),r=n[0],a=n[1],s=arguments.length>2&&arguments[2]!==void0?arguments[2]:!0,l=o$([r,a]),c=jc(l,2),f=c[0],d=c[1];if(f===-1/0||d===1/0)return[r,a];if(f===d)return[f];varm=Math.max(t,2),y=s$(newlt(d).sub(f).div(m-1),s,0),g=[].concat(hS(nm.rangeStep(newlt(f),newlt(d).sub(newlt(.99).mul(y)),y)),[d]);returnr>a?dS(g):g}varEJ=i$(_J),NJ=i$(TJ),CJ="Invariant failed";functionEo(e,t){thrownewError(CJ)}varMJ=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];functionWs(e){"@babel/helpers - typeof";returnWs=typeofSymbol=="function"&&typeofSymbol.iterator=="symbol"?function(t){returntypeoft}:function(t){returnt&&typeofSymbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},Ws(e)}functionFh(){returnFh=Object.assign?Object.assign.bind():function(e){for(vart=1;t<arguments.length;t++){varn=arguments[t];for(varrinn)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}returne},Fh.apply(this,arguments)}functionPJ(e,t){returnLJ(e)||kJ(e,t)||DJ(e,t)||RJ()}functionRJ(){thrownewTypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionDJ(e,t){if(e){if(typeofe=="string")returnPR(e,t);varn=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")returnArray.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))returnPR(e,t)}}functionPR(e,t){(t==null||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}functionkJ(e,t){varn=e==null?null:typeofSymbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){varr,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){d=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throwa}}returnc}}functionLJ(e){if(Array.isArray(e))returne}functionzJ(e,t){if(e==null)return{};varn=$J(e,t),r,a;if(Object.getOwnPropertySymbols){vars=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}returnn}function$J(e,t){if(e==null)return{};varn={};for(varrine)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}returnn}functionBJ(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functionqJ(e,t){for(varn=0;n<t.length;n++){varr=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,f$(r.key),r)}}functionIJ(e,t,n){returnt&&qJ(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}functionUJ(e,t,n){returnt=Kh(t),VJ(e,u$()?Reflect.construct(t,n||[],Kh(e).constructor):t.apply(e,n))}functionVJ(e,t){if(t&&(Ws(t)==="object"||typeoft=="function"))returnt;if(t!==void0)thrownewTypeError("Derived constructors may only return object or undefined");returnHJ(e)}functionHJ(e){if(e===void0)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returne}functionu$(){try{vare=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(u$=function(){return!!e})()}functionKh(e){returnKh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){returnn.__proto__||Object.getPrototypeOf(n)},Kh(e)}functionGJ(e,t){if(typeoft!="function"&&t!==null)thrownewTypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&mS(e,t)}functionmS(e,t){returnmS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){returnr.__proto__=a,r},mS(e,t)}functionc$(e,t,n){returnt=f$(t),tine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functionf$(e){vart=FJ(e,"string");returnWs(t)=="symbol"?t:t+""}functionFJ(e,t){if(Ws(e)!="object"||!e)returne;varn=e[Symbol.toPrimitive];if(n!==void0){varr=n.call(e,t);if(Ws(r)!="object")returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}returnString(e)}varof=(function(e){functiont(){returnBJ(this,t),UJ(this,t,arguments)}returnGJ(t,e),IJ(t,[{key:"render",value:function(){varr=this.props,a=r.offset,s=r.layout,l=r.width,c=r.dataKey,f=r.data,d=r.dataPointFormatter,m=r.xAxis,y=r.yAxis,g=zJ(r,MJ),S=Se(g,!1);this.props.direction==="x"&&m.type!=="number"&&Eo();varj=f.map(function(w){varb=d(w,c),A=b.x,_=b.y,T=b.value,C=b.errorVal;if(!C)returnnull;varO=[],E,M;if(Array.isArray(C)){vark=PJ(C,2);E=k[0],M=k[1]}elseE=M=C;if(s==="vertical"){varD=m.scale,L=_+a,I=L+l,B=L-l,F=D(T-E),X=D(T+M);O.push({x1:X,y1:I,x2:X,y2:B}),O.push({x1:F,y1:L,x2:X,y2:L}),O.push({x1:F,y1:I,x2:F,y2:B})}elseif(s==="horizontal"){varG=y.scale,z=A+a,K=z-l,Q=z+l,re=G(T-E),se=G(T+M);O.push({x1:K,y1:se,x2:Q,y2:se}),O.push({x1:z,y1:re,x2:z,y2:se}),O.push({x1:K,y1:re,x2:Q,y2:re})}returnq.createElement(qe,Fh({className:"recharts-errorBar",key:"bar-".concat(O.map(function($){return"".concat($.x1,"-").con
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionjee(e,t){if(e){if(typeofe=="string")returnUR(e,t);varn=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")returnArray.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))returnUR(e,t)}}functionUR(e,t){(t==null||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}functionwee(e,t){varn=e==null?null:typeofSymbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){varr,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){d=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throwa}}returnc}}functionAee(e){if(Array.isArray(e))returne}varWh=Math.PI/180,Oee=function(t){returnt*180/Math.PI},mt=function(t,n,r,a){return{x:t+Math.cos(-Wh*a)*r,y:n+Math.sin(-Wh*a)*r}},w$=function(t,n){varr=arguments.length>2&&arguments[2]!==void0?arguments[2]:{top:0,right:0,bottom:0,left:0};returnMath.min(Math.abs(t-(r.left||0)-(r.right||0)),Math.abs(n-(r.top||0)-(r.bottom||0)))/2},_ee=function(t,n,r,a,s){varl=t.width,c=t.height,f=t.startAngle,d=t.endAngle,m=xn(t.cx,l,l/2),y=xn(t.cy,c,c/2),g=w$(l,c,r),S=xn(t.innerRadius,g,0),j=xn(t.outerRadius,g,g*.8),w=Object.keys(n);returnw.reduce(function(b,A){var_=n[A],T=_.domain,C=_.reversed,O;if(Ne(_.range))a==="angleAxis"?O=[f,d]:a==="radiusAxis"&&(O=[S,j]),C&&(O=[O[1],O[0]]);else{O=_.range;varE=O,M=bee(E,2);f=M[0],d=M[1]}vark=v$(_,s),D=k.realScaleType,L=k.scale;L.domain(T).range(O),g$(L);varI=x$(L,Ai(Ai({},_),{},{realScaleType:D})),B=Ai(Ai(Ai({},_),I),{},{range:O,radius:j,realScaleType:D,scale:L,cx:m,cy:y,innerRadius:S,outerRadius:j,startAngle:f,endAngle:d});returnAi(Ai({},b),{},j$({},A,B))},{})},Tee=function(t,n){varr=t.x,a=t.y,s=n.x,l=n.y;returnMath.sqrt(Math.pow(r-s,2)+Math.pow(a-l,2))},Eee=function(t,n){varr=t.x,a=t.y,s=n.cx,l=n.cy,c=Tee({x:r,y:a},{x:s,y:l});if(c<=0)return{radius:c};varf=(r-s)/c,d=Math.acos(f);returna>l&&(d=2*Math.PI-d),{radius:c,angle:Oee(d),angleInRadian:d}},Nee=function(t){varn=t.startAngle,r=t.endAngle,a=Math.floor(n/360),s=Math.floor(r/360),l=Math.min(a,s);return{startAngle:n-l*360,endAngle:r-l*360}},Cee=function(t,n){varr=n.startAngle,a=n.endAngle,s=Math.floor(r/360),l=Math.floor(a/360),c=Math.min(s,l);returnt+c*360},VR=function(t,n){varr=t.x,a=t.y,s=Eee({x:r,y:a},n),l=s.radius,c=s.angle,f=n.innerRadius,d=n.outerRadius;if(l<f||l>d)return!1;if(l===0)return!0;varm=Nee(n),y=m.startAngle,g=m.endAngle,S=c,j;if(y<=g){for(;S>g;)S-=360;for(;S<y;)S+=360;j=S>=y&&S<=g}else{for(;S>y;)S-=360;for(;S<g;)S+=360;j=S>=g&&S<=y}returnj?Ai(Ai({},n),{},{radius:l,angle:Cee(S,n)}):null},A$=function(t){return!P.isValidElement(t)&&!_e(t)&&typeoft!="boolean"?t.className:""};function_c(e){"@babel/helpers - typeof";return_c=typeofSymbol=="function"&&typeofSymbol.iterator=="symbol"?function(t){returntypeoft}:function(t){returnt&&typeofSymbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},_c(e)}varMee=["offset"];functionPee(e){returnLee(e)||kee(e)||Dee(e)||Ree()}functionRee(){thrownewTypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionDee(e,t){if(e){if(typeofe=="string")returngS(e,t);varn=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")returnArray.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))returngS(e,t)}}functionkee(e){if(typeofSymbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)returnArray.from(e)}functionLee(e){if(Array.isArray(e))returngS(e)}functiongS(e,t){(t==null||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}functionzee(e,t){if(e==null)return{};varn=$ee(e,t),r,a;if(Object.getOwnPropertySymbols){vars=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}returnn}function$ee(e,t){if(e==null)return{};varn={};for(varrine)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}returnn}functionHR(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){returnObject.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}returnn}functionVt(e){for(vart=1;t<arguments.length;t++){varn=arguments[t]!=null?arguments[t]:{};t%2?HR(Object(n),!0).forEach(function(r){Bee(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HR(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}returne}functionBee(e,t,n){returnt=qee(t),tine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functionqee(e){vart=Iee(e,"string");return_c(t)=="symbol"?t:t+""}functionIee(e,t){if(_c(e)!="object"||!e)returne;varn=e[Symbol.toPrimitive];if(n!==void0){varr=n.call(e,t);if(_c(r)!="object")returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}functionTc(){returnTc=Object.assign?Object.assign.bind():function(e){for(vart=1;t<arguments.length;t++){varn=arguments[t];for(varrinn)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}returne},Tc.apply(this,arguments)}varUee=function(t){varn=t.value,r=t.formatter,a=Ne(t.children)?n:t.children;return_e(r)?r(a):a},Vee=function(t,n){varr=gn(n-t),a=Math.min(Math.abs(n-t),360);returnr*a},Hee=function(t,n,r){vara=t.position,s=t.viewBox,l=t.offset,c=t.className,f=s,d=f.cx,m=f.cy,y=f.innerRadius,g=f.outerRadius,S=f.startAngle,j=f.endAngle,w=f.clockWise,b=(y+g)/2,A=Vee(S,j),_=A>=0?1:-1,T,C;a==="insideStart"?(T=S+_*l,C=w):a==="insideEnd"?(T=j-_*l,C=!w):a==="end"&&(T=j+_*l,C=w),C=A<=0?C:!C;varO=mt(d,m,b,T),E=mt(d,m,b,T+(C?1:-1)*359),M="M".concat(O.x,",").concat(O.y,`
A`).concat(l,",").concat(l,",0,0,").concat(+(y<0),",").concat(k.x,",").concat(k.y,"Z")}elseO+="L".concat(n,",").concat(r,"Z");returnO},gte={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},T$=function(t){varn=WR(WR({},gte),t),r=n.cx,a=n.cy,s=n.innerRadius,l=n.outerRadius,c=n.cornerRadius,f=n.forceCornerRadius,d=n.cornerIsExternal,m=n.startAngle,y=n.endAngle,g=n.className;if(l<s||m===y)returnnull;varS=Pe("recharts-sector",g),j=l-s,w=xn(c,j,0,!0),b;returnw>0&&Math.abs(m-y)<360?b=vte({cx:r,cy:a,innerRadius:s,outerRadius:l,cornerRadius:Math.min(w,j/2),forceCornerRadius:f,cornerIsExternal:d,startAngle:m,endAngle:y}):b=_$({cx:r,cy:a,innerRadius:s,outerRadius:l,startAngle:m,endAngle:y}),q.createElement("path",bS({},Se(n,!0),{className:S,d:b,role:"img"}))};functionCc(e){"@babel/helpers - typeof";returnCc=typeofSymbol=="function"&&typeofSymbol.iterator=="symbol"?function(t){returntypeoft}:function(t){returnt&&typeofSymbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},Cc(e)}functionSS(){returnSS=Object.assign?Object.assign.bind():function(e){for(vart=1;t<arguments.length;t++){varn=arguments[t];for(varrinn)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}returne},SS.apply(this,arguments)}functionZR(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){returnObject.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}returnn}functionQR(e){for(vart=1;t<arguments.length;t++){varn=arguments[t]!=null?arguments[t]:{};t%2?ZR(Object(n),!0).forEach(function(r){xte(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ZR(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}returne}functionxte(e,t,n){returnt=bte(t),tine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functionbte(e){vart=Ste(e,"string");returnCc(t)=="symbol"?t:t+""}functionSte(e,t){if(Cc(e)!="object"||!e)returne;varn=e[Symbol.toPrimitive];if(n!==void0){varr=n.call(e,t);if(Cc(r)!="object")returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}varJR={curveBasisClosed:IF,curveBasisOpen:UF,curveBasis:qF,curveBumpX:_F,curveBumpY:TF,curveLinearClosed:VF,curveLinear:Ip,curveMonotoneX:HF,curveMonotoneY:GF,curveNatural:FF,curveStep:KF,curveStepAfter:XF,curveStepBefore:YF},Hd=function(t){returnt.x===+t.x&&t.y===+t.y},Ru=function(t){returnt.x},Du=function(t){returnt.y},jte=function(t,n){if(_e(t))returnt;varr="curve".concat(Bp(t));return(r==="curveMonotone"||r==="curveBump")&&n?JR["".concat(r).concat(n==="vertical"?"Y":"X")]:JR[r]||Ip},wte=function(t){varn=t.type,r=n===void0?"linear":n,a=t.points,s=a===void0?[]:a,l=t.baseLine,c=t.layout,f=t.connectNulls,d=f===void0?!1:f,m=jte(r,c),y=d?s.filter(function(w){returnHd(w)}):s,g;if(Array.isArray(l)){varS=d?l.filter(function(w){returnHd(w)}):l,j=y.map(function(w,b){returnQR(QR({},w),{},{base:S[b]})});returnc==="vertical"?g=kd().y(Du).x1(Ru).x0(function(w){returnw.base.x}):g=kd().x(Ru).y1(Du).y0(function(w){returnw.base.y}),g.defined(Hd).curve(m),g(j)}returnc==="vertical"&&ue(l)?g=kd().y(Du).x1(Ru).x0(l):ue(l)?g=kd().x(Ru).y1(Du).y0(l):g=_4().x(Ru).y(Du),g.defined(Hd).curve(m),g(y)},So=function(t){varn=t.className,r=t.points,a=t.path,s=t.pathRef;if((!r||!r.length)&&!a)returnnull;varl=r&&r.length?wte(t):a;returnP.createElement("path",SS({},Se(t,!1),jh(t),{className:Pe("recharts-curve",n),d:l,ref:s}))},_0={exports:{}},T0,eD;functionAte(){if(eD)returnT0;eD=1;vare="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";returnT0=e,T0}varE0,tD;functionOte(){if(tD)returnE0;tD=1;vare=Ate();functiont(){}functionn(){}returnn.resetWarningCache=t,E0=function(){functionr(l,c,f,d,m,y){if(y!==e){varg=newError("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.chec
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yne(e,t){if(e){if(typeof e=="string")return uD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return uD(e,t)}}function uD(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function gne(e){if(Array.isArray(e))return e}function xne(){var e={},t=function(){return null},n=!1,r=function a(s){if(!n){if(Array.isArray(s)){if(!s.length)return;var l=s,c=pne(l),f=c[0],d=c.slice(1);if(typeof f=="number"){lD(a.bind(null,d),f);return}a(f),lD(a.bind(null,d));return}jS(s)==="object"&&(e=s,t(e)),typeof s=="function"&&s()}};return{stop:function(){n=!0},start:function(s){n=!1,r(s)},subscribe:function(s){return t=s,function(){t=function(){return null}}}}}function Mc(e){"@babel/helpers-typeof";return Mc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mc(e)}function cD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function fD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cD(Object(n),!0).forEach(function(r){N$(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function N$(e,t,n){return t=bne(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bne(e){var t=Sne(e,"string");return Mc(t)==="symbol"?t:String(t)}function Sne(e,t){if(Mc(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Mc(r)!=="object")return r;throw new TypeError("@@toPrimitivemustreturnaprimitivevalue.")}return(t==="string"?String:Number)(e)}var jne=function(t,n){return[Object.keys(t),Object.keys(n)].reduce(function(r,a){return r.filter(function(s){return a.includes(s)})})},wne=function(t){return t},Ane=function(t){return t.replace(/([A-Z])/g,function(n){return"-".concat(n.toLowerCase())})},Ju=function(t,n){return Object.keys(n).reduce(function(r,a){return fD(fD({},r),{},N$({},a,t(a,n[a])))},{})},dD=function(t,n,r){return t.map(function(a){return"".concat(Ane(a),"").concat(n,"ms").concat(r)}).join(",")};function One(e,t){return Ene(e)||Tne(e,t)||C$(e,t)||_ne()}function _ne(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Tne(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){d=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function Ene(e){if(Array.isArray(e))return e}function Nne(e){return Pne(e)||Mne(e)||C$(e)||Cne()}function Cne(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C$(e,t){if(e){if(typeof e=="string")return wS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wS(e,t)}}function Mne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pne(e){if(Array.isArray(e))return wS(e)}function wS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Jh=1e-4,M$=function(t,n){return[0,3*t,3*n-6*t,3*t-3*n+1]},P$=function(t,n){return t.map(function(r,a){return r*Math.pow(n,a)}).reduce(function(r,a){return r+a})},hD=function(t,n){return function(r){var a=M$(t,n);return P$(a,r)}},Rne=function(t,n){return function(r){var a=M$(t,n),s=[].concat(Nne(a.map(function(l,c){return l*c}).slice(1)),[0]);return P$(s,r)}},pD=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=n[0],s=n[1],l=n[2],c=n[3];if(n.length===1)switch(n[0]){case"linear":a=0,s=0,l=1,c=1;break;case"ease":a=.25,s=.1,l=.25,c=1;break;case"ease-in":a=.42,s=0,l=1,c=1;break;case"ease-out":a=.42,s=0,l=.58,c=1;break;case"ease-in-out":a=0,s=0,l=.58,c=1;break;default:{var f=n[0].split("(");if(f[0]==="cubic-bezier"&&f[1].split(")")[0].split(",").length===4){var d=f[1].split(")")[0].split(",").map(function(b){return parseFloat(b)}),m=One(d,4);a=m[0],s=m[1],l=m[2],c=m[3]}}}var y=hD(a,l),g=hD(s,c),S=Rne(a,l),j=function(A){return A>1?1:A<0?0:A},w=function(A){for(var _=A>1?1:A,T=_,C=0;C<8;++C){var O=y(T)-_,E=S(T);if(Math.abs(O-_)<Jh||E<Jh)return g(T);T=j(T-O/E)}return g(T)};return w.isStepper=!1,w},Dne=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.stiff,r=n===void 0?100:n,a=t.damping,s=a===void 0?8:a,l=t.dt,c=l===void 0?17:l,f=function(m,y,g){var S=-(m-y)*r,j=g*s,w=g+(S-j)*c/1e3,b=g*c/1e3+m;return Math.abs(b-y)<Jh&&Math.abs(w)<Jh?[y,0]:[b,w]};return f.isStepper=!0,f.dt=c,f},kne=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=n[0];if(typeof a=="string")switch(a){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return pD(a);case"spring":return Dne();default:if(a.split("(")[0]==="cubic-bezier")return pD(a)}return typeof a=="function"?a:null};function Pc(e){"@babel/helpers-typeof";return Pc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pc(e)}function mD(e){return $ne(e)||zne(e)||R$(e)||Lne()}function Lne(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $ne(e){if(Array.isArray(e))return OS(e)}function yD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function on(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?yD(Object(n),!0).forEach(function(r){AS(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function AS(e,t,n){return t=Bne(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bne(e){var t=qne(e,"string");return Pc(t)==="symbol"?t:String(t)}function qne(e,t){if(Pc(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Pc(r)!=="object")return r;throw new TypeError("@@toPrimitivemustreturnaprimitivevalue.")}return(t==="string"?String:Number)(e)}function Ine(e,t){return Hne(e)||Vne(e,t)||R$(e,t)||Une()}function Une(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function R$(e,t){if(e){if(typeof e=="string")return OS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return OS(e,t)}}function OS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Vne(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){d=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function Hne(e){if(Array.isArray(e))return e}var ep=function(t,n,r){return t+(n-t)*r},_S=function(t){var n=t.from,r=t.to;return n!==r},Gne=function e(t,n,r){var a=Ju(function(s,l){if(_S(l)){var c=t(l.from,l.to,l.velocity),f=Ine(c,2),d=f[0],m=f[1];return on(on({},l),{},{from:d,velocity:m})}return l},n);return r<1?Ju(function(s,l){return _S(l)?on(on({},l),{},{velocity:ep(l.velocity,a[s].velocity,r),from:ep(l.from,a[s].from,r)}):l},n):e(t,a,r-1)};const Fne=(function(e,t,n,r,a){var s=jne(e,t),l=s.reduce(function(b,A){return on(on({},b),{},AS({},A,[e[A],t[A]]))},{}),c=s.reduce(function(b,A){return on(on({},b),{},AS({},A,{from:e[A],velocity:0,to:t[A]}))},{}),f=-1,d,m,y=function(){return null},g=function(){return Ju(function(A,_){return _.from},c)},S=function(){return!Object.values(c).filter(_S).length},j=function(A){d||(d=A);var _=A-d,T=_/n.dt;c=Gne(n,c,T),a(on(on(on({},e),t),g())),d=A,S()||(f=requestAnimationFrame(y))},w=function(A){m||(m=A);var _=(A-m)/r,T=Ju(function(O,E){return ep.apply(void 0,mD(E).concat([n(_)]))},l);if(a(on(on(on({},e),t),T)),_<1)f=requestAnimationFrame(y);else{var C=Ju(function(O,E){return ep.apply(void 0,mD(E).concat([n(1)]))},l);a(on(on(on({},e),t),C))}};return y=n.isStepper?j:w,function(){return requestAnimationFrame(y),function(){cancelAnimationFrame(f)}}});function Zs(e){"@babel/helpers-typeof";return Zs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zs(e)}var Kne=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function Yne(e,t){if(e==null)return{};var n=Xne(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Xne(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,s;for(s=0;s<r.length;s++)a=r[s],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function C0(e){return Jne(e)||Qne(e)||Zne(e)||Wne()}function Wne(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zne(e,t){if(e){if(typeof e=="string")return TS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return TS(e,t)}}function Qne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Jne(e){if(Array.isArray(e))return TS(e)}function TS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function jr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?vD(Object(n),!0).forEach(function(r){Vu(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Vu(e,t,n){return t=D$(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ere(e,t){if(!(e instanceof t))throw new TypeError("Cannotcallaclassasafunction")}function tre(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,D$(r.key),r)}}function nre(e,t,n){return t&&tre(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function D$(e){var t=rre(e,"string");return Zs(t)==="symbol"?t:String(t)}function rre(e,t){if(Zs(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Zs(r)!=="object")return r;throw new TypeError("@@toPrimitivemustreturnaprimitivevalue.")}return(t==="string"?String:Number)(e)}function ire(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Superexpressionmusteitherbenullorafunction");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ES(e,t)}function ES(e,t){return ES=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},ES(e,t)}function are(e){var t=ore();return function(){var r=tp(e),a;if(t){var s=tp(this).constructor;a=Reflect.construct(r,arguments,s)}else a=r.apply(this,arguments);return NS(this,a)}}function NS(e,t){if(t&&(Zs(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derivedconstructorsmayonlyreturnobjectorundefined");return CS(e)}function CS(e){if(e===void 0)throw new ReferenceError("thishasn't been initialised - super() hasn'tbeencalled");return e}function ore(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function tp(e){return tp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},tp(e)}var Mr=(function(e){ire(n,e);var t=are(n);function n(r,a){var s;ere(this,n),s=t.call(this,r,a);var l=s.props,c=l.isActive,f=l.attributeName,d=l.from,m=l.to,y=l.steps,g=l.children,S=l.duration;if(s.handleStyleChange=s.handleStyleChange.bind(CS(s)),s.changeStyle=s.changeStyle.bind(CS(s)),!c||S<=0)return s.state={style:{}},typeof g=="function"&&(s.state={style:m}),NS(s);if(y&&y.length)s.state={style:y[0].style};else if(d){if(typeof g=="function")return s.state={style:d},NS(s);s.state={style:f?Vu({},f,d):d}}else s.state={style:{}};return s}return nre(n,[{key:"componentDidMount",value:function(){var a=this.props,s=a.isActive,l=a.canBegin;this.mounted=!0,!(!s||!l)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(a){var s=this.props,l=s.isActive,c=s.canBegin,f=s.
Inordertobeiterable,non-arrayobjectsmusthavea[Symbol.iterator]()method.`)}function poe(e,t){if(e){if(typeof e=="string")return xk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xk(e,t)}}function xk(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function moe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){d=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function yoe(e){if(Array.isArray(e))return e}function IS(){return IS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IS.apply(this,arguments)}var voe=function(t,n){var r;return q.isValidElement(t)?r=q.cloneElement(t,n):_e(t)?r=t(n):r=q.createElement("line",IS({},n,{className:"recharts-reference-line-line"})),r},goe=function(t,n,r,a,s,l,c,f,d){var m=s.x,y=s.y,g=s.width,S=s.height;if(r){var j=d.y,w=t.y.apply(j,{position:l});if(Wr(d,"discard")&&!t.y.isInRange(w))return null;var b=[{x:m+g,y:w},{x:m,y:w}];return f==="left"?b.reverse():b}if(n){var A=d.x,_=t.x.apply(A,{position:l});if(Wr(d,"discard")&&!t.x.isInRange(_))return null;var T=[{x:_,y:y+S},{x:_,y}];return c==="top"?T.reverse():T}if(a){var C=d.segment,O=C.map(function(E){return t.apply(E,{position:l})});return Wr(d,"discard")&&fae(O,function(E){return!t.isInRange(E)})?null:O}return null};function xoe(e){var t=e.x,n=e.y,r=e.segment,a=e.xAxisId,s=e.yAxisId,l=e.shape,c=e.className,f=e.alwaysShow,d=Jae(),m=iB(a),y=aB(s),g=noe();if(!d||!g)return null;Nr(f===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var S=Fw({x:m.scale,y:y.scale}),j=Ft(t),w=Ft(n),b=r&&r.length===2,A=goe(S,j,w,b,g,e.position,m.orientation,y.orientation,e);if(!A)return null;var _=doe(A,2),T=_[0],C=T.x,O=T.y,E=_[1],M=E.x,k=E.y,D=Wr(e,"hidden")?"url(#".concat(d,")"):void 0,L=gk(gk({clipPath:D},Se(e,!0)),{},{x1:C,y1:O,x2:M,y2:k});return q.createElement(qe,{className:Pe("recharts-reference-line",c)},voe(l,L),Qt.renderCallByParent(e,Iae({x1:C,y1:O,x2:M,y2:k})))}var Qw=(function(e){function t(){return ioe(this,t),soe(this,t,arguments)}return coe(t,e),ooe(t,[{key:"render",value:function(){return q.createElement(xoe,this.props)}}])})(q.Component);Zw(Qw,"displayName","ReferenceLine");Zw(Qw,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function US(){return US=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},US.apply(this,arguments)}function al(e){"@babel/helpers - typeof";return al=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},al(e)}function bk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Sk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?bk(Object(n),!0).forEach(function(r){cm(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function boe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Soe(e,t){for(var n=0;n<t.length;n++){
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionSse(e,t){if(e){if(typeofe=="string")returnKS(e,t);varn=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")returnArray.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))returnKS(e,t)}}functionjse(e){if(typeofSymbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)returnArray.from(e)}functionwse(e){if(Array.isArray(e))returnKS(e)}functionKS(e,t){(t==null||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}functionAse(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functionMk(e,t){for(varn=0;n<t.length;n++){varr=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,vB(r.key),r)}}functionOse(e,t,n){returnt&&Mk(e.prototype,t),n&&Mk(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function_se(e,t,n){returnt=xp(t),Tse(e,yB()?Reflect.construct(t,n||[],xp(e).constructor):t.apply(e,n))}functionTse(e,t){if(t&&(ll(t)==="object"||typeoft=="function"))returnt;if(t!==void0)thrownewTypeError("Derived constructors may only return object or undefined");returnEse(e)}functionEse(e){if(e===void0)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returne}functionyB(){try{vare=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(yB=function(){return!!e})()}functionxp(e){returnxp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){returnn.__proto__||Object.getPrototypeOf(n)},xp(e)}functionNse(e,t){if(typeoft!="function"&&t!==null)thrownewTypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&YS(e,t)}functionYS(e,t){returnYS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){returnr.__proto__=a,r},YS(e,t)}functionOr(e,t,n){returnt=vB(t),tine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functionvB(e){vart=Cse(e,"string");returnll(t)=="symbol"?t:t+""}functionCse(e,t){if(ll(e)!="object"||!e)returne;varn=e[Symbol.toPrimitive];if(n!==void0){varr=n.call(e,t);if(ll(r)!="object")returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}returnString(e)}varlf=(function(e){functiont(){varn;Ase(this,t);for(varr=arguments.length,a=newArray(r),s=0;s<r;s++)a[s]=arguments[s];returnn=_se(this,t,[].concat(a)),Or(n,"state",{isAnimationFinished:!0,totalLength:0}),Or(n,"generateSimpleStrokeDasharray",function(l,c){return"".concat(c,"px ").concat(l-c,"px")}),Or(n,"getStrokeDasharray",function(l,c,f){vard=f.reduce(function(A,_){returnA+_});if(!d)returnn.generateSimpleStrokeDasharray(c,l);for(varm=Math.floor(l/d),y=l%d,g=c-l,S=[],j=0,w=0;j<f.length;w+=f[j],++j)if(w+f[j]>y){S=[].concat(ws(f.slice(0,j)),[y-w]);break}varb=S.length%2===0?[0,g]:[g];return[].concat(ws(t.repeat(f,m)),ws(S),b).map(function(A){return"".concat(A,"px")}).join(", ")}),Or(n,"id",Po("recharts-line-")),Or(n,"pathRef",function(l){n.mainCurve=l}),Or(n,"handleAnimationEnd",function(){n.setState({isAnimationFinished:!0}),n.props.onAnimationEnd&&n.props.onAnimationEnd()}),Or(n,"handleAnimationStart",function(){n.setState({isAnimationFinished:!1}),n.props.onAnimationStart&&n.props.onAnimationStart()}),n}returnNse(t,e),Ose(t,[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){varr=this.getTotalLength();this.setState({totalLength:r})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){varr=this.getTotalLength();r!==this.state.totalLength&&this.setState({totalLength:r})}}},{key:"getTotalLength",value:function(){varr=this.mainCurve;try{returnr&&r.getTotalLength&&r.getTotalLength()||0}catch{return0}}},{key:"renderErrorBar",value:function(r,a){if(this.props.isAnima
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionTle(e,t){varn=e==null?null:typeofSymbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){varr,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){d=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throwa}}returnc}}functionEle(e){if(Array.isArray(e))returne}function$k(e,t){if(e==null)return{};varn=Nle(e,t),r,a;if(Object.getOwnPropertySymbols){vars=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}returnn}functionNle(e,t){if(e==null)return{};varn={};for(varrine)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}returnn}functionCle(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functionMle(e,t){for(varn=0;n<t.length;n++){varr=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,PB(r.key),r)}}functionPle(e,t,n){returnt&&Mle(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}functionRle(e,t,n){returnt=wp(t),Dle(e,CB()?Reflect.construct(t,n||[],wp(e).constructor):t.apply(e,n))}functionDle(e,t){if(t&&(dl(t)==="object"||typeoft=="function"))returnt;if(t!==void0)thrownewTypeError("Derived constructors may only return object or undefined");returnkle(e)}functionkle(e){if(e===void0)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returne}functionCB(){try{vare=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(CB=function(){return!!e})()}functionwp(e){returnwp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){returnn.__proto__||Object.getPrototypeOf(n)},wp(e)}functionLle(e,t){if(typeoft!="function"&&t!==null)thrownewTypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&nj(e,t)}functionnj(e,t){returnnj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){returnr.__proto__=a,r},nj(e,t)}functionhl(e){returnBle(e)||$le(e)||MB(e)||zle()}functionzle(){thrownewTypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionMB(e,t){if(e){if(typeofe=="string")returnrj(e,t);varn=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")returnArray.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))returnrj(e,t)}}function$le(e){if(typeofSymbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)returnArray.from(e)}functionBle(e){if(Array.isArray(e))returnrj(e)}functionrj(e,t){(t==null||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}functionBk(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){returnObject.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}returnn}functionne(e){for(vart=1;t<arguments.length;t++){varn=arguments[t]!=null?arguments[t]:{};t%2?Bk(Object(n),!0).forEach(function(r){Oe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}returne}functionOe(e,t,n){returnt=PB(t),tine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functionPB(e){vart=qle(e,"string");returndl(t)=="symbol"?t:t+""}functionqle(e,t){if(dl(e)!="object"||!e)returne;varn=e[Symbol.toPrimitive];if(n!==void0){varr=n.call(e,t);if(dl(r)!="object")returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}varIle={xAxis:["bottom","top"],yAxis:["left","right"]},Ule={width:"100%",height:"100%"},RB={x:0,y:0};functionKd(e){returne}varVle=function(t,n){returnn==="horizontal"?t.x:n==="vertical"?t.y:n==="centric"?t.angle:t.radius},Hle=function(t,n,r,a){vars=n.find(function(m){returnm&&m.index===r});if(s){if(t==="horizontal")return{x:s.coordinate,y:a.y};if(t==="vertical")return{x:a.x,y:s.coordinate};if(t==="centric"){varl=s.coordinate,c=a.radius;returnne(ne(ne({},a),mt(a.cx,a.cy,c,l)),{},{angle:l,radius:c})}varf=s.coordinate,d=a.angle;returnne(ne(ne({},a),mt(a.cx,a.cy,f,d)),{},{angle:d,radius:f})}returnRB},pm=function(t,n){varr=n.graphicalItems,a=n.dataStartIndex,s=n.dataEndIndex,l=(r??[]).reduce(function(c,f){vard=f.props.data;returnd&&d.length?[].concat(hl(c),hl(d)):c},[]);returnl.length>0?l:t&&t.length&&ue(a)&&ue(s)?t.slice(a,s+1):[]};functionDB(e){returne==="number"?[0,"auto"]:void0}varij=function(t,n,r,a){vars=t.graphicalItems,l=t.tooltipAxis,c=pm(n,t);returnr<0||!s||!s.length||r>=c.length?null:s.reduce(function(f,d){varm,y=(m=d.props.data)!==null&&m!==void0?m:n;y&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(y=y.slice(t.dataStartIndex,t.dataEndIndex+1));varg;if(l.dataKey&&!l.allowDuplicatedCategory){varS=y===void0?c:y;g=Sh(S,l.dataKey,a)}elseg=y&&y[r]||c[r];returng?[].concat(hl(f),[S$(d,g)]):f},[])},qk=function(t,n,r,a){vars=a||{x:t.chartX,y:t.chartY},l=Vle(s,r),c=t.orderedTooltipTicks,f=t.tooltipAxis,d=t.tooltipTicks,m=nee(l,c,d,f);if(m>=0&&d){vary=d[m]&&d[m].value,g=ij(t,n,m,y),S=Hle(r,c,m,s);return{activeTooltipIndex:m,activeLabel:y,activePayload:g,activeCoordinate:S}}returnnull},Gle=function(t,n){varr=n.axes,a=n.graphicalItems,s=n.axisType,l=n.axisIdKey,c=n.stackGroups,f=n.dataStartIndex,d=n.dataEndIndex,m=t.layout,y=t.children,g=t.stackOffset,S=m$(m,s);returnr.reduce(function(j,w){varb,A=w.type.defaultProps!==void0?ne(ne({},w.type.defaultProps),w.props):w.props,_=A.type,T=A.dataKey,C=A.allowDataOverflow,O=A.allowDuplicatedCategory,E=A.scale,M=A.ticks,k=A.includeHidden,D=A[l];if(j[D])returnj;varL=pm(t.data,{graphicalItems:a.filter(function(H){varie,fe=linH.props?H.props[l]:(ie=H.type.defaultProps)===null||ie===void0?void0:ie[l];returnfe===D}),dataStartIndex:f,dataEndIndex:d}),I=L.length,B,F,X;vle(A.domain,C,_)&&(B=vS(A.domain,null,C),S&&(_==="number"||E!=="auto")&&(X=Qu(L,T,"category")));varG=DB(_);if(!B||B.length===0){v