*/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"),o=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=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,ge){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,ge)}}if(ze)returnge=ge($),ze=fe===""?"."+X($,0):fe,O(ge)?(ie="",ze!=null&&(ie=ze.replace(F,"$&/")+"/"),z(ge,H,ie,"",function(Ee){returnEe})):ge!=null&&(I(ge)&&(ge=L(ge,ie+(ge.key==null||$&&$.key===ge.key?"":(""+ge.key).replace(F,"$&/")+"/")+ze)),H.push(ge)),1;ze=0;varZe=fe===""?".":fe+":";if(O($))for(varce=0;ce<$.length;ce++)fe=$[ce],we=Ze+X(fe,ce),ze+=z(fe,H,ie,we,ge);elseif(ce=S($),typeofce=="function")for($=ce.call($),ce=0;!(fe=$.next()).done;)fe=fe.value,we=Ze+X(fe,ce++),ze+=z(fe,H,ie,we,ge);elseif(we==="object"){if(typeof$.then=="function")returnz(G($),H,ie,fe,ge);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=[],ge=0;returnz($,fe,"","",function(we){returnH.call(ie,we,ge++)}),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,s){returns=b2(s),b2(i)===s}functionst(i,s,u,p,v,x){switch(u){case"children":typeofp=="string"?s==="body"||s==="textarea"&&p===""||Is(i,p):(typeofp=="number"||typeofp=="bigint")&&s!=="body"&&Is(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(s!=="object"){yf(i,"data",p);break}case"src":case"href":if(p===""&&(s!=="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"?(s!=="input"&&st(i,s,"name",v.name,v,null),st(i,s,"formEncType",v.formEncType,v,null),st(i,s,"formMethod",v.formMethod,v,null),st(i,s,"formTarget",v.formTarget,v,null)):(st(i,s,"encType",v.encType,v,null),st(i,s,"method",v.method,v,null),st(i,s,"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});Pr(h||j!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),Pr(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:Nr([f,r.encodeLocation?r.encodeLocation(A.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:A.pathname]),pathnameBase:A.pathnameBase==="/"?f:Nr([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=sq(),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},o={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:o},"ErrorBoundary")," or"," ",P.createElement("code",{style:o},"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(Wn);if(typeoft=="object"&&t&&"digest"int&&typeoft.digest=="string"){letr=H8(t.digest);if(r){leta=kv.get(t);if(a)throwa;leto=t3(r.location,n),l=o.absoluteURL||o.to;if($8(l))thrownewError("Invalid redirect location");if(e3&&!kv.get(t))if(o.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(o),className:"recharts-legend-icon"});if(r.type==="rect")returnq.createElement("path",{stroke:"none",fill:f,d:"M0,".concat(ur/8,"h").concat(ur,"v").concat(ur*3/4,"h").concat(-ur,"z"),className:"recharts-legend-icon"});if(q.isValidElement(r.legendIcon)){varh=dK({},r);returndeleteh.legendIcon,q.cloneElement(r.legendIcon,h)}returnq.createElement(uw,{fill:f,cx:o,cy:o,size:ur,sizeType:"diameter",type:r.type})}},{key:"renderItems",value:function(){varr=this,a=this.props,o=a.payload,l=a.iconSize,c=a.layout,f=a.formatter,h=a.inactiveColor,m={x:0,y:0,width:ur,height:ur},y={display:c==="horizontal"?"inline-block":"block",marginRight:10},g={display:"inline-block",verticalAlign:"middle",marginRight:4};returno.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=Te(S.value)?null:S.value;Mr(!Te(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?h:S.color;returnq.createElement("li",Y1({className:b,style:y,key:"legend-item-".concat(j)},ws(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,o=r.layout,l=r.align;if(!a||!a.length)returnnull;varc={padding:0,margin:0,textAlign:o==="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(o,l){varc=this.__data__;if(cinstanceofe){varf=c.__data__;if(!t||f.length<r-1)returnf.push([o,l]),this.size=++c.size,this;c=this.__data__=newn(f)}returnc.set(o,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(),o=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=o,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){varo=-1,l=a==null?0:a.length;for(this.__data__=newe;++o<l;)this.add(a[o])}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;functiono(l,c,f,h,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(h)varE=g?h(O,C,A,c,l,y):h(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,h,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,o,l,c=[],f=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(f=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){h=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)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,o=e.width,l=o===void0?"100%":o,c=e.height,f=c===void0?"100%":c,h=e.minWidth,m=h===void0?0:h,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){varoe,$=re[0].contentRect,H=$.width,ie=$.height;I(H,ie),(oe=E.current)===null||oe===void0||oe.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;Mr(fs(l)||fs(f),`The width(%s) and height(%s) are both fixed numbers,
maybe you don't need to use a ResponsiveContainer.`,l,f),Mr(!n||n>0,"The aspect(%s) must be greater than zero.",n);varG=fs(l)?F:l,z=fs(f)?X:f;n&&n>0&&(G?z=G/n:z&&(G=z*n),g&&z>g&&(z=g)),Mr(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)}varbo={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(bo.widthCache[a])returnbo.widthCache[a];try{varo=document.getElementById(_P);o||(o=document.createElement("span"),o.setAttribute("id",_P),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));varl=tS(tS({},FX),r);Object.assign(o.style,l),o.textContent="".concat(t);varc=o.getBoundingClientRect(),f={width:c.width,height:c.height};returnbo.widthCache[a]=f,++bo.cacheCount>GX&&(bo.cacheCount=0,bo.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,o,l,c=[],f=!0,h=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;f=!1}elsefor(;!(f=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){h=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)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),No="NaN";functionsW(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=sW(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:[],o=Rh(a,3),l=o[1],c=o[2];returnnewe(parseFloat(l),c??"")}}])})();functionpz(e){if(e.includes(No))returnNo;for(vart=e;t.includes("*")||t.includes("/");){varn,r=(n=NP.exec(t))!==null&&n!==void0?n:[],a=Rh(r,4),o=a[1],l=a[2],c=a[3],f=$d.parse(o??""),h=$d.parse(c??""),m=l==="*"?f.multiply(h):f.divide(h);if(m.isNaN())returnNo;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())returnNo;t=t.replace(CP,T.toString())}returnt}varMP=/\(([^()]*)\)/;functionoW(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=oW(t),t=pz(t),t}functionuW(e){try{returnlW(e)}catch{returnNo}}functiono0(e){vart=uW(e.slice(5,-1));returnt===No?"":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.`)}functionoJ(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),o=0;o<r;o++)a[o]=arguments[o];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),h=0;h<c;h++)f[h]=arguments[h];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(),o=a[0],l=a.slice(1);returnfunction(){returnl.reduce(function(c,f){returnf(c)},o.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,o=newArray(a),l=0;l<a;l++)o[l]=arguments[l];returnn&&o.every(function(c,f){returnc===n[f]})||(n=o,r=t.apply(void0,o)),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,o=[];r.lt(t)&&a<1e5;)o.push(r.toNumber()),r=r.add(n),a++;returno}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,o=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,o=f}finally{try{!r&&l.return!=null&&l.return()}finally{if(a)throwo}}returnn}}functionAJ(e){if(Array.isArray(e))returne}functions$(e){vart=jc(e,2),n=t[0],r=t[1],a=n,o=r;returnn>r&&(a=r,o=n),[a,o]}functiono$(e,t,n){if(e.lte(0))returnnewlt(0);varr=nm.getDigitCount(e.toNumber()),a=newlt(10).pow(r),o=e.div(a),l=r!==1?.05:.1,c=newlt(Math.ceil(o.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){varo=Math.abs(e);o<1?(r=newlt(10).pow(nm.getDigitCount(e)-1),a=newlt(Math.floor(a.div(r).toNumber())).mul(r)):o>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)};varo=o$(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(o)));varc=Math.ceil(l.sub(e).div(o).toNumber()),f=Math.ceil(newlt(t).sub(l).div(o).toNumber()),h=c+f+1;returnh>n?l$(e,t,n,r,a+1):(h<n&&(f=t>0?f+(n-h):f,c=t>0?c:c+(n-h)),{step:o,tickMin:l.sub(newlt(c).mul(o)),tickMax:l.add(newlt(f).mul(o))})}function_J(e){vart=jc(e,2),n=t[0],r=t[1],a=arguments.length>1&&arguments[1]!==void0?arguments[1]:6,o=arguments.length>2&&arguments[2]!==void0?arguments[2]:!0,l=Math.max(a,2),c=s$([n,r]),f=jc(c,2),h=f[0],m=f[1];if(h===-1/0||m===1/0){vary=m===1/0?[h].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(h===m)returnOJ(h,a,o);varg=l$(h,m,l,o),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],o=arguments.length>2&&arguments[2]!==void0?arguments[2]:!0,l=s$([r,a]),c=jc(l,2),f=c[0],h=c[1];if(f===-1/0||h===1/0)return[r,a];if(f===h)return[f];varm=Math.max(t,2),y=o$(newlt(h).sub(f).div(m-1),o,0),g=[].concat(hS(nm.rangeStep(newlt(f),newlt(h).sub(newlt(.99).mul(y)),y)),[h]);returnr>a?dS(g):g}varEJ=i$(_J),NJ=i$(TJ),CJ="Invariant failed";functionTs(e,t){thrownewError(CJ)}varMJ=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];functionWo(e){"@babel/helpers - typeof";returnWo=typeofSymbol=="function"&&typeofSymbol.iterator=="symbol"?function(t){returntypeoft}:function(t){returnt&&typeofSymbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},Wo(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,o,l,c=[],f=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(f=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){h=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)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){varo=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[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&&(Wo(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");returnWo(t)=="symbol"?t:t+""}functionFJ(e,t){if(Wo(e)!="object"||!e)returne;varn=e[Symbol.toPrimitive];if(n!==void0){varr=n.call(e,t);if(Wo(r)!="object")returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}returnString(e)}varsf=(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,o=r.layout,l=r.width,c=r.dataKey,f=r.data,h=r.dataPointFormatter,m=r.xAxis,y=r.yAxis,g=zJ(r,MJ),S=Se(g,!1);this.props.direction==="x"&&m.type!=="number"&&Ts();varj=f.map(function(w){varb=h(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(o==="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(o==="horizontal"){varG=y.scale,z=A+a,K=z-l,Q=z+l,re=G(T-E),oe=G(T+M);O.push({x1:K,y1:oe,x2:Q,y2:oe}),O.push({x1:z,y1:re,x2:z,y2:oe}),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,o,l,c=[],f=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(f=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){h=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)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,o){varl=t.width,c=t.height,f=t.startAngle,h=t.endAngle,m=bn(t.cx,l,l/2),y=bn(t.cy,c,c/2),g=w$(l,c,r),S=bn(t.innerRadius,g,0),j=bn(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,h]:a==="radiusAxis"&&(O=[S,j]),C&&(O=[O[1],O[0]]);else{O=_.range;varE=O,M=bee(E,2);f=M[0],h=M[1]}vark=v$(_,o),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:h});returnAi(Ai({},b),{},j$({},A,B))},{})},Tee=function(t,n){varr=t.x,a=t.y,o=n.x,l=n.y;returnMath.sqrt(Math.pow(r-o,2)+Math.pow(a-l,2))},Eee=function(t,n){varr=t.x,a=t.y,o=n.cx,l=n.cy,c=Tee({x:r,y:a},{x:o,y:l});if(c<=0)return{radius:c};varf=(r-o)/c,h=Math.acos(f);returna>l&&(h=2*Math.PI-h),{radius:c,angle:Oee(h),angleInRadian:h}},Nee=function(t){varn=t.startAngle,r=t.endAngle,a=Math.floor(n/360),o=Math.floor(r/360),l=Math.min(a,o);return{startAngle:n-l*360,endAngle:r-l*360}},Cee=function(t,n){varr=n.startAngle,a=n.endAngle,o=Math.floor(r/360),l=Math.floor(a/360),c=Math.min(o,l);returnt+c*360},VR=function(t,n){varr=t.x,a=t.y,o=Eee({x:r,y:a},n),l=o.radius,c=o.angle,f=n.innerRadius,h=n.outerRadius;if(l<f||l>h)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)&&!Te(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){varo=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[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}functionHt(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;returnTe(r)?r(a):a},Vee=function(t,n){varr=xn(n-t),a=Math.min(Math.abs(n-t),360);returnr*a},Hee=function(t,n,r){vara=t.position,o=t.viewBox,l=t.offset,c=t.className,f=o,h=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(h,m,b,T),E=mt(h,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,o=n.innerRadius,l=n.outerRadius,c=n.cornerRadius,f=n.forceCornerRadius,h=n.cornerIsExternal,m=n.startAngle,y=n.endAngle,g=n.className;if(l<o||m===y)returnnull;varS=Pe("recharts-sector",g),j=l-o,w=bn(c,j,0,!0),b;returnw>0&&Math.abs(m-y)<360?b=vte({cx:r,cy:a,innerRadius:o,outerRadius:l,cornerRadius:Math.min(w,j/2),forceCornerRadius:f,cornerIsExternal:h,startAngle:m,endAngle:y}):b=_$({cx:r,cy:a,innerRadius:o,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(Te(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,o=a===void0?[]:a,l=t.baseLine,c=t.layout,f=t.connectNulls,h=f===void0?!1:f,m=jte(r,c),y=h?o.filter(function(w){returnHd(w)}):o,g;if(Array.isArray(l)){varS=h?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)},bs=function(t){varn=t.className,r=t.points,a=t.path,o=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:o}))},_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,h,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(o){if(!n){if(Array.isArray(o)){if(!o.length)return;var l=o,c=pne(l),f=c[0],h=c.slice(1);if(typeof f=="number"){lD(a.bind(null,h),f);return}a(f),lD(a.bind(null,h));return}jS(o)==="object"&&(e=o,t(e)),typeof o=="function"&&o()}};return{stop:function(){n=!0},start:function(o){n=!1,r(o)},subscribe:function(o){return t=o,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(o){return a.includes(o)})})},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,o,l,c=[],f=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(f=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){h=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)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),o=[].concat(Nne(a.map(function(l,c){return l*c}).slice(1)),[0]);return P$(o,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],o=n[1],l=n[2],c=n[3];if(n.length===1)switch(n[0]){case"linear":a=0,o=0,l=1,c=1;break;case"ease":a=.25,o=.1,l=.25,c=1;break;case"ease-in":a=.42,o=0,l=1,c=1;break;case"ease-out":a=.42,o=0,l=.58,c=1;break;case"ease-in-out":a=0,o=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 h=f[1].split(")")[0].split(",").map(function(b){return parseFloat(b)}),m=One(h,4);a=m[0],o=m[1],l=m[2],c=m[3]}}}var y=hD(a,l),g=hD(o,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,o=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*o,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.
Inordertobeiterable,non-arrayobjectsmusthavea[Symbol.iterator]()method.`)}function pse(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 mse(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,o,l,c=[],f=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(f=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){h=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw a}}return c}}function yse(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 vse=function(t,n){var r;return q.isValidElement(t)?r=q.cloneElement(t,n):Te(t)?r=t(n):r=q.createElement("line",IS({},n,{className:"recharts-reference-line-line"})),r},gse=function(t,n,r,a,o,l,c,f,h){var m=o.x,y=o.y,g=o.width,S=o.height;if(r){var j=h.y,w=t.y.apply(j,{position:l});if(Wr(h,"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=h.x,_=t.x.apply(A,{position:l});if(Wr(h,"discard")&&!t.x.isInRange(_))return null;var T=[{x:_,y:y+S},{x:_,y}];return c==="top"?T.reverse():T}if(a){var C=h.segment,O=C.map(function(E){return t.apply(E,{position:l})});return Wr(h,"discard")&&fae(O,function(E){return!t.isInRange(E)})?null:O}return null};function xse(e){var t=e.x,n=e.y,r=e.segment,a=e.xAxisId,o=e.yAxisId,l=e.shape,c=e.className,f=e.alwaysShow,h=Jae(),m=iB(a),y=aB(o),g=nse();if(!h||!g)return null;Mr(f===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var S=Fw({x:m.scale,y:y.scale}),j=Kt(t),w=Kt(n),b=r&&r.length===2,A=gse(S,j,w,b,g,e.position,m.orientation,y.orientation,e);if(!A)return null;var _=dse(A,2),T=_[0],C=T.x,O=T.y,E=_[1],M=E.x,k=E.y,D=Wr(e,"hidden")?"url(#".concat(h,")"):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)},vse(l,L),Jt.renderCallByParent(e,Iae({x1:C,y1:O,x2:M,y2:k})))}var Qw=(function(e){function t(){return ise(this,t),ose(this,t,arguments)}return cse(t,e),sse(t,[{key:"render",value:function(){return q.createElement(xse,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 bse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sse(e,t){for(var n=0;n<t.length;n++){
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionSoe(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)}}functionjoe(e){if(typeofSymbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)returnArray.from(e)}functionwoe(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}functionAoe(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)}}functionOoe(e,t,n){returnt&&Mk(e.prototype,t),n&&Mk(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function_oe(e,t,n){returnt=xp(t),Toe(e,yB()?Reflect.construct(t,n||[],xp(e).constructor):t.apply(e,n))}functionToe(e,t){if(t&&(ll(t)==="object"||typeoft=="function"))returnt;if(t!==void0)thrownewTypeError("Derived constructors may only return object or undefined");returnEoe(e)}functionEoe(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)}functionNoe(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)}functionTr(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=Coe(e,"string");returnll(t)=="symbol"?t:t+""}functionCoe(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;Aoe(this,t);for(varr=arguments.length,a=newArray(r),o=0;o<r;o++)a[o]=arguments[o];returnn=_oe(this,t,[].concat(a)),Tr(n,"state",{isAnimationFinished:!0,totalLength:0}),Tr(n,"generateSimpleStrokeDasharray",function(l,c){return"".concat(c,"px ").concat(l-c,"px")}),Tr(n,"getStrokeDasharray",function(l,c,f){varh=f.reduce(function(A,_){returnA+_});if(!h)returnn.generateSimpleStrokeDasharray(c,l);for(varm=Math.floor(l/h),y=l%h,g=c-l,S=[],j=0,w=0;j<f.length;w+=f[j],++j)if(w+f[j]>y){S=[].concat(wo(f.slice(0,j)),[y-w]);break}varb=S.length%2===0?[0,g]:[g];return[].concat(wo(t.repeat(f,m)),wo(S),b).map(function(A){return"".concat(A,"px")}).join(", ")}),Tr(n,"id",Ms("recharts-line-")),Tr(n,"pathRef",function(l){n.mainCurve=l}),Tr(n,"handleAnimationEnd",function(){n.setState({isAnimationFinished:!0}),n.props.onAnimationEnd&&n.props.onAnimationEnd()}),Tr(n,"handleAnimationStart",function(){n.setState({isAnimationFinished:!1}),n.props.onAnimationStart&&n.props.onAnimationStart()}),n}returnNoe(t,e),Ooe(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,o,l,c=[],f=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(f=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(m){h=!0,a=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)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){varo=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[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){varo=n.find(function(m){returnm&&m.index===r});if(o){if(t==="horizontal")return{x:o.coordinate,y:a.y};if(t==="vertical")return{x:a.x,y:o.coordinate};if(t==="centric"){varl=o.coordinate,c=a.radius;returnne(ne(ne({},a),mt(a.cx,a.cy,c,l)),{},{angle:l,radius:c})}varf=o.coordinate,h=a.angle;returnne(ne(ne({},a),mt(a.cx,a.cy,f,h)),{},{angle:h,radius:f})}returnRB},pm=function(t,n){varr=n.graphicalItems,a=n.dataStartIndex,o=n.dataEndIndex,l=(r??[]).reduce(function(c,f){varh=f.props.data;returnh&&h.length?[].concat(hl(c),hl(h)):c},[]);returnl.length>0?l:t&&t.length&&ue(a)&&ue(o)?t.slice(a,o+1):[]};functionDB(e){returne==="number"?[0,"auto"]:void0}varij=function(t,n,r,a){varo=t.graphicalItems,l=t.tooltipAxis,c=pm(n,t);returnr<0||!o||!o.length||r>=c.length?null:o.reduce(function(f,h){varm,y=(m=h.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$(h,g)]):f},[])},qk=function(t,n,r,a){varo=a||{x:t.chartX,y:t.chartY},l=Vle(o,r),c=t.orderedTooltipTicks,f=t.tooltipAxis,h=t.tooltipTicks,m=nee(l,c,h,f);if(m>=0&&h){vary=h[m]&&h[m].value,g=ij(t,n,m,y),S=Hle(r,c,m,o);return{activeTooltipIndex:m,activeLabel:y,activePayload:g,activeCoordinate:S}}returnnull},Gle=function(t,n){varr=n.axes,a=n.graphicalItems,o=n.axisType,l=n.axisIdKey,c=n.stackGroups,f=n.dataStartIndex,h=n.dataEndIndex,m=t.layout,y=t.children,g=t.stackOffset,S=m$(m,o);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:h}),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