*/varIw;functione4(){if(Iw)returnRe;Iw=1;vare=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),g=Symbol.iterator;functionj(z){returnz===null||typeofz!="object"?null:(z=g&&z[g]||z["@@iterator"],typeofz=="function"?z:null)}varS={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,x={};functionO(z,F,q){this.props=z,this.context=F,this.refs=x,this.updater=q||S}O.prototype.isReactComponent={},O.prototype.setState=function(z,F){if(typeofz!="object"&&typeofz!="function"&&z!=null)throwError("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,z,F,"setState")},O.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};functionw(){}w.prototype=O.prototype;functionE(z,F,q){this.props=z,this.context=F,this.refs=x,this.updater=q||S}varM=E.prototype=neww;M.constructor=E,_(M,O.prototype),M.isPureReactComponent=!0;varA=Array.isArray;functionC(){}vark={H:null,A:null,T:null,S:null},L=Object.prototype.hasOwnProperty;functionB(z,F,q){varde=q.ref;return{$$typeof:e,type:z,key:F,ref:de!==void0?de:null,props:q}}functionZ(z,F){returnB(z.type,F,z.props)}functionG(z){returntypeofz=="object"&&z!==null&&z.$$typeof===e}functionH(z){varF={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(q){returnF[q]})}varW=/\/+/g;functionQ(z,F){returntypeofz=="object"&&z!==null&&z.key!=null?H(""+z.key):F.toString(36)}functionD(z){switch(z.status){case"fulfilled":returnz.value;case"rejected":throwz.reason;default:switch(typeofz.status=="string"?z.then(C,C):(z.status="pending",z.then(function(F){z.status==="pending"&&(z.status="fulfilled",z.value=F)},function(F){z.status==="pending"&&(z.status="rejected",z.reason=F)})),z.status){case"fulfilled":returnz.value;case"rejected":throwz.reason}}throwz}functionP(z,F,q,de,ge){varwe=typeofz;(we==="undefined"||we==="boolean")&&(z=null);var$e=!1;if(z===null)$e=!0;elseswitch(we){case"bigint":case"string":case"number":$e=!0;break;case"object":switch(z.$$typeof){casee:caset:$e=!0;break;casev:return$e=z._init,P($e(z._payload),F,q,de,ge)}}if($e)returnge=ge(z),$e=de===""?"."+Q(z,0):de,A(ge)?(q="",$e!=null&&(q=$e.replace(W,"$&/")+"/"),P(ge,F,q,"",function(Te){returnTe})):ge!=null&&(G(ge)&&(ge=Z(ge,q+(ge.key==null||z&&z.key===ge.key?"":(""+ge.key).replace(W,"$&/")+"/")+$e)),F.push(ge)),1;$e=0;varGe=de===""?".":de+":";if(A(z))for(varme=0;me<z.length;me++)de=z[me],we=Ge+Q(de,me),$e+=P(de,F,q,we,ge);elseif(me=j(z),typeofme=="function")for(z=me.call(z),me=0;!(de=z.next()).done;)de=de.value,we=Ge+Q(de,me++),$e+=P(de,F,q,we,ge);elseif(we==="object"){if(typeofz.then=="function")returnP(D(z),F,q,de,ge);throwF=String(z),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.")}return$e}function$(z,F,q){if(z==null)returnz;varde=[],ge=0;returnP(z,de,"","",function(we){returnF.call(q,we,ge++)}),de}functionU(z){if(z._status===-1){varF=z._result;F=F(),F.then(function(q){(z._status===0||z._status===-1)&&(z._status=1,z._result=q)},function(q){(z._status===0||z._status===-1)&&(z._status=2,z._result=q)}),z._status===-1&&(z._status=0,z._result=F)}if(z._status===1)returnz._result.default;throwz._result}varie=typeofreportError=="function"?reportError:function(z){if(typeofwindow=="object"&&typeofwindow.ErrorEvent=="function"){varF=newwindow.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeofz=="object"&&z!==null&&typeofz.message=="string"?String(z.message):String(z),error:z});if(!window.dis
`).replace(xD,"")}functionow(a,i){returni=lw(i),lw(a)===i}functionit(a,i,s,f,y,b){switch(s){case"children":typeoff=="string"?i==="body"||i==="textarea"&&f===""||Yi(a,f):(typeoff=="number"||typeoff=="bigint")&&i!=="body"&&Yi(a,""+f);break;case"className":Iu(a,"class",f);break;case"tabIndex":Iu(a,"tabindex",f);break;case"dir":case"role":case"viewBox":case"width":case"height":Iu(a,s,f);break;case"style":oj(a,f,b);break;case"data":if(i!=="object"){Iu(a,"data",f);break}case"src":case"href":if(f===""&&(i!=="a"||s!=="href")){a.removeAttribute(s);break}if(f==null||typeoff=="function"||typeoff=="symbol"||typeoff=="boolean"){a.removeAttribute(s);break}f=Gu(""+f),a.setAttribute(s,f);break;case"action":case"formAction":if(typeoff=="function"){a.setAttribute(s,"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}elsetypeofb=="function"&&(s==="formAction"?(i!=="input"&&it(a,i,"name",y.name,y,null),it(a,i,"formEncType",y.formEncType,y,null),it(a,i,"formMethod",y.formMethod,y,null),it(a,i,"formTarget",y.formTarget,y,null)):(it(a,i,"encType",y.encType,y,null),it(a,i,"method",y.method,y,null),it(a,i,"target",y.target,y,null)));if(f==null||typeoff=="symbol"||typeoff=="boolean"){a.removeAttribute(s);break}f=Gu(""+f),a.setAttribute(s,f);break;case"onClick":f!=null&&(a.onclick=Mr);break;case"onScroll":f!=null&&Be("scroll",a);break;case"onScrollEnd":f!=null&&Be("scrollend",a);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeoff!="object"||!("__html"inf))throwError(r(61));if(s=f.__html,s!=null){if(y.children!=null)throwError(r(60));a.innerHTML=s}}break;case"multiple":a.multiple=f&&typeoff!="function"&&typeoff!="symbol";break;case"muted":a.muted=f&&typeoff!="function"&&typeoff!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(f==null||typeoff=="function"||typeoff=="boolean"||typeoff=="symbol"){a.removeAttribute("xlink:href");break}s=Gu(""+f),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":f!=null&&typeoff!="function"&&typeoff!="symbol"?a.setAttribute(s,""+f):a.removeAttribute(s);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":f&&typeoff!="function"&&typeoff!="symbol"?a.setAttribute(s,""):a.removeAttribute(s);break;case"capture":case"download":f===!0?a.setAttribute(s,""):f!==!1&&f!=null&&typeoff!="function"&&typeoff!="symbol"?a.setAttribute(s,f):a.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":f!=null&&typeoff!="function"&&typeoff!="symbol"&&!isNaN(f)&&1<=f?a.setAttribute(s,f):a.removeAttribute(s);break;case"rowSpan":case"start":f==null||typeoff=="function"||typeoff=="symbol"||isNaN(f)?a.removeAttribute(s):a.setAttribute(s,f);break;case"popover":Be("beforetoggle",a),Be("toggle",a),Uu(a,"popover",f);break;case"xlinkActuate":Cr(a,"http://www.w3.org/1999/xlink","xlink:actuate",f);break;case"xlinkArcrole":Cr(a,"http://www.w3.org/1999/xlink","xlink:arcrole",f);break;case"xlinkRole":Cr(a,"http://www.w3.org/1999/xlink","xlink:role",f);break;case"xlinkShow":Cr(a,"http://www.w3.org/1999/xlink","xlink:show",f);break;case"xlinkTitle":Cr(a,"http://www.w3.org/1999/xlink","xlink:title",f);break;case"xlinkType":Cr(a,"http://www.w3.org/1999/xlink","xlink:type",f);break;case"xmlBase":Cr(a,"http://www.w3.org/XML/1998/namespace","xml:ba
Pleasechangetheparent<Routepath="${O}">to<Routepath="${O==="/"?"*":`${O}/*`}">.`)}let v=Sn(),m;if(t){let O=typeof t=="string"?fo(t):t;jt(h==="/"||((x=O.pathname)==null?void 0:x.startsWith(h)),`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 "${h}" but pathname "${O.pathname}" was given in the \`location\` prop.`),m=O}elsem=v;letg=m.pathname||"/",j=g;if(h!=="/"){letO=h.replace(/^\//,"").split("/");j="/"+g.replace(/^\//,"").split("/").slice(O.length).join("/")}letS=n&&n.state.matches.length?n.state.matches.map(O=>Object.assign(O,{route:n.manifest[O.route.id]||O.route})):AM(e,{pathname:j});tr(p||S!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),tr(S==null||S[S.length-1].route.element!==void0||S[S.length-1].route.Component!==void0||S[S.length-1].route.lazy!==void0,`Matched leaf route at location "${m.pathname}${m.search}${m.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.`);let_=W4(S&&S.map(O=>Object.assign({},O,{params:Object.assign({},c,O.params),pathname:dr([h,r.encodeLocation?r.encodeLocation(O.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?h:dr([h,r.encodeLocation?r.encodeLocation(O.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathnameBase])})),l,n);returnt&&_?T.createElement(Su.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void0,...m},navigationType:"POP"}},_):_}functionF4(){lete=n$(),t=k4(e)?`${e.status}${e.statusText}`:einstanceofError?e.message:JSON.stringify(e),n=einstanceofError?e.stack:null,r="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r},c=null;returnconsole.error("Error handled by React Router default ErrorBoundary:",e),c=T.createElement(T.Fragment,null,T.createElement("p",null,"💿 Hey developer 👋"),T.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",T.createElement("code",{style:o},"ErrorBoundary")," or"," ",T.createElement("code",{style:o},"errorElement")," prop on your route.")),T.createElement(T.Fragment,null,T.createElement("h2",null,"Unexpected Application Error!"),T.createElement("h3",{style:{fontStyle:"italic"}},t),n?T.createElement("pre",{style:l},n):null,c)}varK4=T.createElement(F4,null),UM=classextendsT.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=H4(e.digest);n&&(e=n)}lett=e!==void0?T.createElement(pr.Provider,{value:this.props.routeContext},T.createElement(_0.Provider,{value:e,children:this.props.component})):this.props.children;returnthis.context?T.createElement(X4,{error:e},t):t}};UM.contextType=DM;var$m=newWeakMap;functionX4({children:e,error:t}){let{basename:n}=T.useContext(Ln);if(typeoft=="object"&&t&&"digest"int&&typeoft.digest=="string"){letr=I4(t.digest);if(r){letl=$m.get(t);if(l)throwl;leto=RM(r.location,n),c=o.absoluteURL||o.to;if($4(c))thrownewError("Invalid redirect location");if(kM&&!$m.get(t))if(o.isExternal||r.reloadDocument)window.location.href=c;else{constd=Promise.resolve().then(()=>window.__reactRout
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function EB(e,t){if(e){if(typeof e=="string")return ON(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 ON(e,t)}}function ON(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 TB(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,l,o,c,d=[],h=!0,p=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(h=(r=o.call(n)).done)&&(d.push(r.value),d.length!==t);h=!0);}catch(v){p=!0,l=v}finally{try{if(!h&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(p)throw l}}return d}}function CB(e){if(Array.isArray(e))return e}function AN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,r)}return n}function qg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?AN(Object(n),!0).forEach(function(r){MB(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function MB(e,t,n){return t=kB(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kB(e){var t=RB(e,"string");return Hs(t)=="symbol"?t:t+""}function RB(e,t){if(Hs(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Hs(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function PB(e){return Array.isArray(e)&&It(e[0])&&It(e[1])?e.join(" ~ "):e}var DB=function(t){var n=t.separator,r=n===void 0?" : ":n,l=t.contentStyle,o=l===void 0?{}:l,c=t.itemStyle,d=c===void 0?{}:c,h=t.labelStyle,p=h===void 0?{}:h,v=t.payload,m=t.formatter,g=t.itemSorter,j=t.wrapperClassName,S=t.labelClassName,_=t.label,x=t.labelFormatter,O=t.accessibilityLayer,w=O===void 0?!1:O,E=function(){if(v&&v.length){var H={padding:0,margin:0},W=(g?n1(v,g):v).map(function(Q,D){if(Q.type==="none")return null;var P=qg({display:"block",paddingTop:4,paddingBottom:4,color:Q.color||"#000"},d),$=Q.formatter||m||PB,U=Q.value,ie=Q.name,fe=U,z=ie;if($&&fe!=null&&z!=null){var F=$(U,ie,Q,D,v);if(Array.isArray(F)){var q=AB(F,2);fe=q[0],z=q[1]}else fe=F}return Y.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(D),style:P},It(z)?Y.createElement("span",{className:"recharts-tooltip-item-name"},z):null,It(z)?Y.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,Y.createElement("span",{className:"recharts-tooltip-item-value"},fe),Y.createElement("span",{className:"recharts-tooltip-item-unit"},Q.unit||""))});return Y.createElement("ul",{className:"recharts-tooltip-item-list",style:H},W)}return null},M=qg({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},o),A=qg({margin:0},p),C=!Le(_),k=C?_:"",L=qe("recharts-default-tooltip",j),B=qe("recharts-tooltip-label",S);C&&x&&v!==void 0&&v!==null&&(k=x(_,v));var Z=w?{role:"status","aria-live":"assertive"}:{};return Y.createElement("div",dx({className:L,style:M},Z),Y.createElement("p",{className:B,style:A},Y.isValidElement(k)?k:"".concat(k)),E())};function Gs(e){"@babel/helpers - typeof";return Gs=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},Gs(e)}function rf(e,t,n){return t=$B(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $B(e){var t=qB(e,"string");return Gs(t)=="symbol"?t:t+""}function qB(e,t){if(Gs(e)!="object"||!e)return e;var n=e[Symbol.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function b9(e,t){if(e){if(typeof e=="string")return BN(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 BN(e,t)}}function BN(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 x9(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,l,o,c,d=[],h=!0,p=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(h=(r=o.call(n)).done)&&(d.push(r.value),d.length!==t);h=!0);}catch(v){p=!0,l=v}finally{try{if(!h&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(p)throw l}}return d}}function j9(e){if(Array.isArray(e))return e}var ks=T.forwardRef(function(e,t){var n=e.aspect,r=e.initialDimension,l=r===void 0?{width:-1,height:-1}:r,o=e.width,c=o===void 0?"100%":o,d=e.height,h=d===void 0?"100%":d,p=e.minWidth,v=p===void 0?0:p,m=e.minHeight,g=e.maxHeight,j=e.children,S=e.debounce,_=S===void 0?0:S,x=e.id,O=e.className,w=e.onResize,E=e.style,M=E===void 0?{}:E,A=T.useRef(null),C=T.useRef();C.current=w,T.useImperativeHandle(t,function(){return Object.defineProperty(A.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),A.current},configurable:!0})});var k=T.useState({containerWidth:l.width,containerHeight:l.height}),L=y9(k,2),B=L[0],Z=L[1],G=T.useCallback(function(W,Q){Z(function(D){var P=Math.round(W),$=Math.round(Q);return D.containerWidth===P&&D.containerHeight===$?D:{containerWidth:P,containerHeight:$}})},[]);T.useEffect(function(){var W=function(ie){var fe,z=ie[0].contentRect,F=z.width,q=z.height;G(F,q),(fe=C.current)===null||fe===void 0||fe.call(C,F,q)};_>0&&(W=ck(W,_,{trailing:!0,leading:!1}));var Q=new ResizeObserver(W),D=A.current.getBoundingClientRect(),P=D.width,$=D.height;return G(P,$),Q.observe(A.current),function(){Q.disconnect()}},[G,_]);var H=T.useMemo(function(){var W=B.containerWidth,Q=B.containerHeight;if(W<0||Q<0)return null;hr(xi(c)||xi(h),`The width(%s) and height(%s) are both fixed numbers,
maybe you don'tneedtouseaResponsiveContainer.`,c,h),hr(!n||n>0,"The aspect(%s) must be greater than zero.",n);var D=xi(c)?W:c,P=xi(h)?Q:h;n&&n>0&&(D?P=D/n:P&&(D=P*n),g&&P>g&&(P=g)),hr(D>0||P>0,`Thewidth(%s)andheight(%s)ofchartshouldbegreaterthan0,
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionK9(e,t){if(e){if(typeofe=="string")returnZN(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))returnZN(e,t)}}functionZN(e,t){(t==null||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}functionX9(e,t){varn=e==null?null:typeofSymbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){varr,l,o,c,d=[],h=!0,p=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;h=!1}elsefor(;!(h=(r=o.call(n)).done)&&(d.push(r.value),d.length!==t);h=!0);}catch(v){p=!0,l=v}finally{try{if(!h&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(p)throwl}}returnd}}functionZ9(e){if(Array.isArray(e))returne}varhk=/[ \f\n\r\t\v\u2028\u2029]+/,pk=function(t){varn=t.children,r=t.breakAll,l=t.style;try{varo=[];Le(n)||(r?o=n.toString().split(""):o=n.toString().split(hk));varc=o.map(function(h){return{word:h,width:Rs(h,l).width}}),d=r?0:Rs("",l).width;return{wordsWithComputedWidth:c,spaceWidth:d}}catch{returnnull}},W9=function(t,n,r,l,o){varc=t.maxLines,d=t.children,h=t.style,p=t.breakAll,v=ve(c),m=d,g=function(){varD=arguments.length>0&&arguments[0]!==void0?arguments[0]:[];returnD.reduce(function(P,$){varU=$.word,ie=$.width,fe=P[P.length-1];if(fe&&(l==null||o||fe.width+ie+r<Number(l)))fe.words.push(U),fe.width+=ie+r;else{varz={words:[U],width:ie};P.push(z)}returnP},[])},j=g(n),S=function(D){returnD.reduce(function(P,$){returnP.width>$.width?P:$})};if(!v)returnj;for(var_="…",x=function(D){varP=m.slice(0,D),$=pk({breakAll:p,style:h,children:P+_}).wordsWithComputedWidth,U=g($),ie=U.length>c||S(U).width>Number(l);return[ie,U]},O=0,w=m.length-1,E=0,M;O<=w&&E<=m.length-1;){varA=Math.floor((O+w)/2),C=A-1,k=x(C),L=XN(k,2),B=L[0],Z=L[1],G=x(A),H=XN(G,1),W=H[0];if(!B&&!W&&(O=A+1),B&&W&&(w=A-1),!B&&W){M=Z;break}E++}returnM||j},WN=function(t){varn=Le(t)?[]:t.toString().split(hk);return[{words:n}]},Q9=function(t){varn=t.width,r=t.scaleToFit,l=t.children,o=t.style,c=t.breakAll,d=t.maxLines;if((n||r)&&!go.isSsr){varh,p,v=pk({breakAll:c,children:l,style:o});if(v){varm=v.wordsWithComputedWidth,g=v.spaceWidth;h=m,p=g}elsereturnWN(l);returnW9({breakAll:c,children:l,maxLines:d,style:o},h,p,n,r)}returnWN(l)},QN="#808080",Ti=function(t){varn=t.x,r=n===void0?0:n,l=t.y,o=l===void0?0:l,c=t.lineHeight,d=c===void0?"1em":c,h=t.capHeight,p=h===void0?"0.71em":h,v=t.scaleToFit,m=v===void0?!1:v,g=t.textAnchor,j=g===void0?"start":g,S=t.verticalAnchor,_=S===void0?"end":S,x=t.fill,O=x===void0?QN:x,w=KN(t,G9),E=T.useMemo(function(){returnQ9({breakAll:w.breakAll,children:w.children,maxLines:w.maxLines,scaleToFit:m,style:w.style,width:w.width})},[w.breakAll,w.children,w.maxLines,m,w.style,w.width]),M=w.dx,A=w.dy,C=w.angle,k=w.className,L=w.breakAll,B=KN(w,Y9);if(!It(r)||!It(o))returnnull;varZ=r+(ve(M)?M:0),G=o+(ve(A)?A:0),H;switch(_){case"start":H=Gg("calc(".concat(p,")"));break;case"middle":H=Gg("calc(".concat((E.length-1)/2," * -").concat(d," + (").concat(p," / 2))"));break;default:H=Gg("calc(".concat(E.length-1," * -").concat(d,")"));break}varW=[];if(m){varQ=E[0].width,D=w.width;W.push("scale(".concat((ve(D)?D/Q:1)/Q,")"))}returnC&&W.push("rotate(".concat(C,", ").concat(Z,", ").concat(G,")")),W.length&&(B.transform=W.join(" ")),Y.createElement("text",yx({},Ce(B,!0),{x:Z,y:G,className:qe("recharts-text",k),textAnchor:j,fill:O.includes("url")?QN:O}),E.map(function(P,$){varU=P.words.join(L?"":" ");returnY.createElement("tspan",{x:Z,dy:$===0?H:d,key:"".concat(U,"-").concat($)},U)}))};functionUa(e,t){returne==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}functionJ9(e,t){returne==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}functiona1(e){lett,n,r;e.length!==2?(t=Ua,n=(d,h)=>Ua(e(d),h),r=(d,h)=>e(d)-h):(t=e===Ua||e===J9?e:eU,n=e,r=e);functionl(d,h,p=0,v=d.length){if(p<v){if(t(h,h)!==0)returnv;do{constm=p+v>>>1;n(d[m],
Inordertobeiterable,non-arrayobjectsmusthavea[Symbol.iterator]()method.`)}function pH(e,t){if(e){if(typeof e=="string")return KE(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 KE(e,t)}}function KE(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 mH(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,l,o,c,d=[],h=!0,p=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(h=(r=o.call(n)).done)&&(d.push(r.value),d.length!==t);h=!0);}catch(v){p=!0,l=v}finally{try{if(!h&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(p)throw l}}return d}}function vH(e){if(Array.isArray(e))return e}function yH(e,t){if(e==null)return{};var n=gH(e,t),r,l;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(l=0;l<o.length;l++)r=o[l],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function gH(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function bH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xH(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,uR(r.key),r)}}function jH(e,t,n){return t&&xH(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function _H(e,t,n){return t=Xf(t),SH(e,oR()?Reflect.construct(t,n||[],Xf(e).constructor):t.apply(e,n))}function SH(e,t){if(t&&(Fl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return wH(e)}function wH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(oR=function(){return!!e})()}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Xf(e)}function OH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&Cx(e,t)}function Cx(e,t){return Cx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,l){return r.__proto__=l,r},Cx(e,t)}function sR(e,t,n){return t=uR(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uR(e){var t=AH(e,"string");return Fl(t)=="symbol"?t:t+""}function AH(e,t){if(Fl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Fl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var rh=(function(e){function t(){return bH(this,t),_H(this,t,arguments)}return OH(t,e),jH(t,[{key:"render",value:function(){var r=this.props,l=r.offset,o=r.layout,c=r.width,d=r.dataKey,h=r.data,p=r.dataPointFormatter,v=r.xAxis,m=r.yAxis,g=yH(r,fH),j=Ce(g,!1);this.props.direction==="x"&&v.type!=="number"&&Mi();var S=h.map(function(_){var x=p(_,d),O=x.x,w=x.y,E=x.value,M=x.errorVal;if(!M)return null;var A=[],C,k;if(Array.isArray(M)){var L=dH(M,2);C=L[0],k=L[1]}else C=k=M;if(o==="vertical"){var B=v.scale,Z=w+l,G=Z+c,H=Z-c,W=B(E-C),Q=B(E+k);A.push({x1:Q,y1:G,x2:Q,y2:H}),A.push({x1:W,y1:Z,x2:Q,y2:Z}),A.push({x1:W,y1:G,x2:W,y2:H})}else if(o==="horizontal"){var D=m.scale,P=O+l,$=P-c,U=P+c,ie=D(E-C),fe=D(E+k);A.push({x1:$,y1:fe,x2:U,y2:fe}),A.push({x1:P,y1:ie,x2:P,y2:fe}),A.push({x1:$,y1:ie,x2:U,y2:ie})}return Y.createElement(tt,Kf({className:"recharts-errorBar",key:"bar-".concat(A.map(function(z){return"".concat(z.x1,"-").con
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionMH(e,t){if(e){if(typeofe=="string")returnMx(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))returnMx(e,t)}}functionkH(e){if(typeofSymbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)returnArray.from(e)}functionRH(e){if(Array.isArray(e))returnMx(e)}functionMx(e,t){(t==null||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}functionWE(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(l){returnObject.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,r)}returnn}functionAt(e){for(vart=1;t<arguments.length;t++){varn=arguments[t]!=null?arguments[t]:{};t%2?WE(Object(n),!0).forEach(function(r){Ll(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WE(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}returne}functionLl(e,t,n){returnt=PH(t),tine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functionPH(e){vart=DH(e,"string");returnnu(t)=="symbol"?t:t+""}functionDH(e,t){if(nu(e)!="object"||!e)returne;varn=e[Symbol.toPrimitive];if(n!==void0){varr=n.call(e,t);if(nu(r)!="object")returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}functionsn(e,t,n){returnLe(e)||Le(t)?n:It(t)?qn(e,t,n):ke(t)?t(e):n}functionDs(e,t,n,r){varl=RI(e,function(d){returnsn(d,t)});if(n==="number"){varo=l.filter(function(d){returnve(d)||parseFloat(d)});returno.length?[Jd(o),Qd(o)]:[1/0,-1/0]}varc=r?l.filter(function(d){return!Le(d)}):l;returnc.map(function(d){returnIt(d)||dinstanceofDate?d:""})}var$H=function(t){varn,r=arguments.length>1&&arguments[1]!==void0?arguments[1]:[],l=arguments.length>2?arguments[2]:void0,o=arguments.length>3?arguments[3]:void0,c=-1,d=(n=r==null?void0:r.length)!==null&&n!==void0?n:0;if(d<=1)return0;if(o&&o.axisType==="angleAxis"&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(varh=o.range,p=0;p<d;p++){varv=p>0?l[p-1].coordinate:l[d-1].coordinate,m=l[p].coordinate,g=p>=d-1?l[0].coordinate:l[p+1].coordinate,j=void0;if(cn(m-v)!==cn(g-m)){varS=[];if(cn(g-m)===cn(h[1]-h[0])){j=g;var_=m+h[1]-h[0];S[0]=Math.min(_,(_+v)/2),S[1]=Math.max(_,(_+v)/2)}else{j=v;varx=g+h[1]-h[0];S[0]=Math.min(m,(x+m)/2),S[1]=Math.max(m,(x+m)/2)}varO=[Math.min(m,(j+m)/2),Math.max(m,(j+m)/2)];if(t>O[0]&&t<=O[1]||t>=S[0]&&t<=S[1]){c=l[p].index;break}}else{varw=Math.min(v,g),E=Math.max(v,g);if(t>(w+m)/2&&t<=(E+m)/2){c=l[p].index;break}}}elsefor(varM=0;M<d;M++)if(M===0&&t<=(r[M].coordinate+r[M+1].coordinate)/2||M>0&&M<d-1&&t>(r[M].coordinate+r[M-1].coordinate)/2&&t<=(r[M].coordinate+r[M+1].coordinate)/2||M===d-1&&t>(r[M].coordinate+r[M-1].coordinate)/2){c=r[M].index;break}returnc},E1=function(t){varn,r=t,l=r.type.displayName,o=(n=t.type)!==null&&n!==void0&&n.defaultProps?At(At({},t.type.defaultProps),t.props):t.props,c=o.stroke,d=o.fill,h;switch(l){case"Line":h=c;break;case"Area":case"Radar":h=c&&c!=="none"?c:d;break;default:h=d;break}returnh},qH=function(t){varn=t.barSize,r=t.totalSize,l=t.stackGroups,o=l===void0?{}:l;if(!o)return{};for(varc={},d=Object.keys(o),h=0,p=d.length;h<p;h++)for(varv=o[d[h]].stackGroups,m=Object.keys(v),g=0,j=m.length;g<j;g++){varS=v[m[g]],_=S.items,x=S.cateAxisId,O=_.filter(function(k){returnJr(k.type).indexOf("Bar")>=0});if(O&&O.length){varw=O[0].type.defaultProps,E=w!==void0?At(At({},w),O[0].props):O[0].props,M=E.barSize,A=E[x];c[A]||(c[A]=[]);varC=Le(M)?n:M;c[A].push({item:O[0],stackList:O.slice(1),barSize:Le(C)?void0:fn(C,r,0)})}}returnc},LH=function(t){varn=t.barGap,r=t.barCategoryGap,l=t.bandSize,o=t.sizeList,c=o===void0?[]:o,d=t.maxBarSize,h=c.length;if(h<1)returnnull;v
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionqG(e,t){if(e){if(typeofe=="string")returnPx(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))returnPx(e,t)}}functionLG(e){if(typeofSymbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)returnArray.from(e)}functionzG(e){if(Array.isArray(e))returnPx(e)}functionPx(e,t){(t==null||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}functionQf(){returnQf=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},Qf.apply(this,arguments)}functionsT(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(l){returnObject.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,r)}returnn}functionuT(e){for(vart=1;t<arguments.length;t++){varn=arguments[t]!=null?arguments[t]:{};t%2?sT(Object(n),!0).forEach(function(r){BG(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sT(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}returne}functionBG(e,t,n){returnt=UG(t),tine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functionUG(e){vart=IG(e,"string");returnlu(t)=="symbol"?t:t+""}functionIG(e,t){if(lu(e)!="object"||!e)returne;varn=e[Symbol.toPrimitive];if(n!==void0){varr=n.call(e,t);if(lu(r)!="object")returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}functioncT(e,t){if(e==null)return{};varn=HG(e,t),r,l;if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(l=0;l<o.length;l++)r=o[l],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}returnn}functionHG(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}varGG=function(t){returnArray.isArray(t.value)?kG(t.value):t.value};functionIa(e){vart=e.valueAccessor,n=t===void0?GG:t,r=cT(e,RG),l=r.data,o=r.dataKey,c=r.clockWise,d=r.id,h=r.textBreakAll,p=cT(r,PG);return!l||!l.length?null:Y.createElement(tt,{className:"recharts-label-list"},l.map(function(v,m){varg=Le(o)?n(v,m):sn(v&&v.payload,o),j=Le(d)?{}:{id:"".concat(d,"-").concat(m)};returnY.createElement(Ft,Qf({},Ce(v,!0),p,j,{parentViewBox:v.parentViewBox,value:g,textBreakAll:h,viewBox:Ft.parseViewBox(Le(c)?v:uT(uT({},v),{},{clockWise:c})),key:"label-".concat(m),index:m}))}))}Ia.displayName="LabelList";functionYG(e,t){returne?e===!0?Y.createElement(Ia,{key:"labelList-implicit",data:t}):Y.isValidElement(e)||ke(e)?Y.createElement(Ia,{key:"labelList-implicit",data:t,content:e}):vo(e)?Y.createElement(Ia,Qf({data:t},e,{key:"labelList-implicit"})):null:null}functionVG(e,t){varn=arguments.length>2&&arguments[2]!==void0?arguments[2]:!0;if(!e||!e.children&&n&&!e.label)returnnull;varr=e.children,l=er(r,Ia).map(function(c,d){returnT.cloneElement(c,{data:t,key:"labelList-".concat(d)})});if(!n)returnl;varo=YG(e.label,t);return[o].concat(DG(l))}Ia.renderCallByParent=VG;functionou(e){"@babel/helpers - typeof";returnou=typeofSymbol=="function"&&typeofSymbol.iterator=="symbol"?function(t){returntypeoft}:function(t){returnt&&typeofSymbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},ou(e)}functionDx(){returnDx=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},Dx.apply(this,arguments)}functionfT(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(l
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionZY(e,t){if(e){if(typeofe=="string")returnOT(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))returnOT(e,t)}}functionOT(e,t){(t==null||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}functionWY(e){if(typeofSymbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)returnArray.from(e)}functionQY(e){if(Array.isArray(e))returne}functionJY(){vare={},t=function(){returnnull},n=!1,r=functionl(o){if(!n){if(Array.isArray(o)){if(!o.length)return;varc=o,d=KY(c),h=d[0],p=d.slice(1);if(typeofh=="number"){wT(l.bind(null,p),h);return}l(h),wT(l.bind(null,p));return}Lx(o)==="object"&&(e=o,t(e)),typeofo=="function"&&o()}};return{stop:function(){n=!0},start:function(o){n=!1,r(o)},subscribe:function(o){returnt=o,function(){t=function(){returnnull}}}}}functionuu(e){"@babel/helpers - typeof";returnuu=typeofSymbol=="function"&&typeofSymbol.iterator=="symbol"?function(t){returntypeoft}:function(t){returnt&&typeofSymbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},uu(e)}functionAT(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(l){returnObject.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,r)}returnn}functionNT(e){for(vart=1;t<arguments.length;t++){varn=arguments[t]!=null?arguments[t]:{};t%2?AT(Object(n),!0).forEach(function(r){NR(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AT(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}returne}functionNR(e,t,n){returnt=eV(t),tine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functioneV(e){vart=tV(e,"string");returnuu(t)==="symbol"?t:String(t)}functiontV(e,t){if(uu(e)!=="object"||e===null)returne;varn=e[Symbol.toPrimitive];if(n!==void0){varr=n.call(e,t);if(uu(r)!=="object")returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}varnV=function(t,n){return[Object.keys(t),Object.keys(n)].reduce(function(r,l){returnr.filter(function(o){returnl.includes(o)})})},rV=function(t){returnt},aV=function(t){returnt.replace(/([A-Z])/g,function(n){return"-".concat(n.toLowerCase())})},$s=function(t,n){returnObject.keys(n).reduce(function(r,l){returnNT(NT({},r),{},NR({},l,t(l,n[l])))},{})},ET=function(t,n,r){returnt.map(function(l){return"".concat(aV(l)," ").concat(n,"ms ").concat(r)}).join(",")};functioniV(e,t){returnsV(e)||oV(e,t)||ER(e,t)||lV()}functionlV(){thrownewTypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionoV(e,t){varn=e==null?null:typeofSymbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){varr,l,o,c,d=[],h=!0,p=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(h=(r=o.call(n)).done)&&(d.push(r.value),d.length!==t);h=!0);}catch(v){p=!0,l=v}finally{try{if(!h&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(p)throwl}}returnd}}functionsV(e){if(Array.isArray(e))returne}functionuV(e){returndV(e)||fV(e)||ER(e)||cV()}functioncV(){thrownewTypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionER(e,t){if(e){if(typeofe=="string")returnzx(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))returnzx(e,t)}}functionfV(e){if(typeofSymbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)returnArray.from(e)}functiondV(e){if(Array.isArray(e))returnzx(e)}functionzx(e,t){(t==null||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}vared=1e-4,TR=function(t,n){return[0,3*t,3*n-6*t,3*t-3*n+1]},CR=function(t,n){returnt.map(function(r,l){returnr*Math.pow(n,l)}).reduce(function(r,l){returnr+l})},TT=function(t,n){returnfunction(r){varl=TR(t,n);returnCR(l,r)}},hV=function(t,n){returnfunction(r){varl=TR(t,n),o=[].concat(uV(l.map(function(c,d){returnc*d}).slice(1)),[0]);returnCR(o,r)}},CT=function(){for(vart=arguments.length,n=newArray(t),r=0;r<t;r++)n[r]=arguments[r];varl=n[0],o=n[1],c=n[2],d=n[3];if(n.length===1)switch(n[0]){case"linear":l=0,o=0,c=1,d=1;break;case"ease":l=.25,o=.1,c=.25,d=1;break;case"ease-in":l=.42,o=0,c=1,d=1;break;case"ease-out":l=.42,o=0,c=.58,d=1;break;case"ease-in-out":l=0,o=0,c=.58,d=1;break;default:{varh=n[0].split("(");if(h[0]==="cubic-bezier"&&h[1].split(")")[0].split(",").length===4){varp=h[1].split(")")[0].split(",").map(function(x){returnparseFloat(x)}),v=iV(p,4);l=v[0],o=v[1],c=v[2],d=v[3]}}}varm=TT(l,c),g=TT(o,d),j=hV(l,c),S=function(O){returnO>1?1:O<0?0:O},_=function(O){for(varw=O>1?1:O,E=w,M=0;M<8;++M){varA=m(E)-w,C=j(E);if(Math.abs(A-w)<ed||C<ed)returng(E);E=S(E-A/C)}returng(E)};return_.isStepper=!1,_},pV=function(){vart=arguments.length>0&&arguments[0]!==void0?arguments[0]:{},n=t.stiff,r=n===void0?100:n,l=t.damping,o=l===void0?8:l,c=t.dt,d=c===void0?17:c,h=function(v,m,g){varj=-(v-m)*r,S=g*o,_=g+(j-S)*d/1e3,x=g*d/1e3+v;returnMath.abs(x-m)<ed&&Math.abs(_)<ed?[m,0]:[x,_]};returnh.isStepper=!0,h.dt=d,h},mV=function(){for(vart=arguments.length,n=newArray(t),r=0;r<t;r++)n[r]=arguments[r];varl=n[0];if(typeofl=="string")switch(l){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":returnCT(l);case"spring":returnpV();default:if(l.split("(")[0]==="cubic-bezier")returnCT(l)}returntypeofl=="function"?l:null};functioncu(e){"@babel/helpers - typeof";returncu=typeofSymbol=="function"&&typeofSymbol.iterator=="symbol"?function(t){returntypeoft}:function(t){returnt&&typeofSymbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},cu(e)}functionMT(e){returngV(e)||yV(e)||MR(e)||vV()}functionvV(){thrownewTypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionyV(e){if(typeofSymbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)returnArray.from(e)}functiongV(e){if(Array.isArray(e))returnUx(e)}functionkT(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(l){returnObject.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,r)}returnn}functionen(e){for(vart=1;t<arguments.length;t++){varn=arguments[t]!=null?arguments[t]:{};t%2?kT(Object(n),!0).forEach(function(r){Bx(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kT(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}returne}functionBx(e,t,n){returnt=bV(t),tine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functionbV(e){vart=xV(e,"string");returncu(t)==="symbol"?t:String(t)}functionxV(e,t){if(cu(e)!=="object"||e===null)returne;varn=e[Symbol.toPrimitive];if(n!==void0){varr=n.call(e,t);if(cu(r)!=="object")returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}functionjV(e,t){returnwV(e)||SV(e,t)||MR(e,t)||_V()}function_V(){thrownewTypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionMR(e,t){if(e){if(typeofe=="string")returnUx(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))returnUx(e,t)}}functionUx(e,t){(t==null||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}functionSV(e,t){varn=e==null?null:typeofSymbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){varr,l,o,c,d=[],h=!0,p=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(h=(r=o.call(n)).done)&&(d.push(r.value),d.length!==t);h=!0);}catch(v){p=!0,l=v}finally{try{if(!h&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(p)throwl}}returnd}}functionwV(e){if(Array.isArray(e))returne}vartd=function(t,n,r){returnt+(n-t)*r},Ix=function(t){varn=t.from,r=t.to;returnn!==r},OV=functione(t,n,r){varl=$s(function(o,c){if(Ix(c)){vard=t(c.from,c.to,c.velocity),h=jV(d,2),p=h[0],v=h[1];returnen(en({},c),{},{from:p,velocity:v})}returnc},n);returnr<1?$s(function(o,c){returnIx(c)?en(en({},c),{},{velocity:td(c.velocity,l[o].velocity,r),from:td(c.from,l[o].from,r)}):c},n):e(t,l,r-1)};constAV=(function(e,t,n,r,l){varo=nV(e,t),c=o.reduce(function(x,O){returnen(en({},x),{},Bx({},O,[e[O],t[O]]))},{}),d=o.reduce(function(x,O){returnen(en({},x),{},Bx({},O,{from:e[O],velocity:0,to:t[O]}))},{}),h=-1,p,v,m=function(){returnnull},g=function(){return$s(function(O,w){returnw.from},d)},j=function(){return!Object.values(d).filter(Ix).length},S=function(O){p||(p=O);varw=O-p,E=w/n.dt;d=OV(n,d,E),l(en(en(en({},e),t),g())),p=O,j()||(h=requestAnimationFrame(m))},_=function(O){v||(v=O);varw=(O-v)/r,E=$s(function(A,C){returntd.apply(void0,MT(C).concat([n(w)]))},c);if(l(en(en(en({},e),t),E)),w<1)h=requestAnimationFrame(m);else{varM=$s(function(A,C){returntd.apply(void0,MT(C).concat([n(1)]))},c);l(en(en(en({},e),t),M))}};returnm=n.isStepper?S:_,function(){returnrequestAnimationFrame(m),function(){cancelAnimationFrame(h)}}});functionKl(e){"@babel/helpers - typeof";returnKl=typeofSymbol=="function"&&typeofSymbol.iterator=="symbol"?function(t){returntypeoft}:function(t){returnt&&typeofSymbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},Kl(e)}varNV=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];functionEV(e,t){if(e==null)return{};varn=TV(e,t),r,l;if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(l=0;l<o.length;l++)r=o[l],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}returnn}functionTV(e,t){if(e==null)return{};varn={},r=Object.keys(e),l,o;for(o=0;o<r.length;o++)l=r[o],!(t.indexOf(l)>=0)&&(n[l]=e[l]);returnn}functionhb(e){returnRV(e)||kV(e)||MV(e)||CV()}functionCV(){thrownewTypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionMV(e,t){if(e){if(typeofe=="string")returnHx(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))returnHx(e,t)}}functionkV(e){if(typeofSymbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)returnArray.from(e)}functionRV(e){if(Array.isArray(e))returnHx(e)}functionHx(e,t){(t==null||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}functionRT(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(l){returnObject.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,r)}returnn}functionur(e){for(vart=1;t<arguments.length;t++){varn=arguments[t]!=null?arguments[t]:{};t%2?RT(Object(n),!0).forEach(function(r){Ms(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RT(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}returne}functionMs(e,t,n){returnt=kR(t),tine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functionPV(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functionDV(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,kR(r.key),r)}}function$V(e,t,n){returnt&&DV(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}functionkR(e){vart=qV(e,"string");returnKl(t)==="symbol"?t:String(t)}functionqV(e,t){if(Kl(e)!=="object"||e===null)returne;varn=e[Symbol.toPrimitive];if(n!==void0){varr=n.call(e,t);if(Kl(r)!=="object")returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}functionLV(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&&Gx(e,t)}functionGx(e,t){returnGx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,l){returnr.__proto__=l,r},Gx(e,t)}functionzV(e){vart=BV();returnfunction(){varr=nd(e),l;if(t){varo=nd(this).constructor;l=Reflect.construct(r,arguments,o)}elsel=r.apply(this,arguments);returnYx(this,l)}}functionYx(e,t){if(t&&(Kl(t)==="object"||typeoft=="function"))returnt;if(t!==void0)thrownewTypeError("Derived constructors may only return object or undefined");returnVx(e)}functionVx(e){if(e===void0)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returne}functionBV(){if(typeofReflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeofProxy=="function")return!0;try{returnBoolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}functionnd(e){returnnd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){returnn.__proto__||Object.getPrototypeOf(n)},nd(e)}varia=(function(e){LV(n,e);vart=zV(n);functionn(r,l){varo;PV(this,n),o=t.call(this,r,l);varc=o.props,d=c.isActive,h=c.attributeName,p=c.from,v=c.to,m=c.steps,g=c.children,j=c.duration;if(o.handleStyleChange=o.handleStyleChange.bind(Vx(o)),o.changeStyle=o.changeStyle.bind(Vx(o)),!d||j<=0)returno.state={style:{}},typeofg=="function"&&(o.state={style:v}),Yx(o);if(m&&m.length)o.state={style:m[0].style};elseif(p){if(typeofg=="function")returno.state={style:p},Yx(o);o.state={style:h?Ms({},h,p):p}}elseo.state={style:{}};returno}return$V(n,[{key:"componentDidMount",value:function(){varl=this.props,o=l.isActive,c=l.canBegin;this.mounted=!0,!(!o||!c)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(l){varo=this.props,c=o.isActive,d=o.canBegin,h=o.attributeName,p=o
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionXF(e,t){if(e){if(typeofe=="string")returnQT(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))returnQT(e,t)}}functionQT(e,t){(t==null||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}functionZF(e,t){varn=e==null?null:typeofSymbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){varr,l,o,c,d=[],h=!0,p=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(h=(r=o.call(n)).done)&&(d.push(r.value),d.length!==t);h=!0);}catch(v){p=!0,l=v}finally{try{if(!h&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(p)throwl}}returnd}}functionWF(e){if(Array.isArray(e))returne}functionJT(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(l){returnObject.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,r)}returnn}functioneC(e){for(vart=1;t<arguments.length;t++){varn=arguments[t]!=null?arguments[t]:{};t%2?JT(Object(n),!0).forEach(function(r){QF(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JT(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}returne}functionQF(e,t,n){returnt=JF(t),tine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functionJF(e){vart=eK(e,"string");returnhu(t)=="symbol"?t:t+""}functioneK(e,t){if(hu(e)!="object"||!e)returne;varn=e[Symbol.toPrimitive];if(n!==void0){varr=n.call(e,t);if(hu(r)!="object")returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}vartC=function(t,n,r,l,o){varc=r-l,d;returnd="M ".concat(t,",").concat(n),d+="L ".concat(t+r,",").concat(n),d+="L ".concat(t+r-c/2,",").concat(n+o),d+="L ".concat(t+r-c/2-l,",").concat(n+o),d+="L ".concat(t,",").concat(n," Z"),d},tK={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},nK=function(t){varn=eC(eC({},tK),t),r=T.useRef(),l=T.useState(-1),o=FF(l,2),c=o[0],d=o[1];T.useEffect(function(){if(r.current&&r.current.getTotalLength)try{varE=r.current.getTotalLength();E&&d(E)}catch{}},[]);varh=n.x,p=n.y,v=n.upperWidth,m=n.lowerWidth,g=n.height,j=n.className,S=n.animationEasing,_=n.animationDuration,x=n.animationBegin,O=n.isUpdateAnimationActive;if(h!==+h||p!==+p||v!==+v||m!==+m||g!==+g||v===0&&m===0||g===0)returnnull;varw=qe("recharts-trapezoid",j);returnO?Y.createElement(ia,{canBegin:c>0,from:{upperWidth:0,lowerWidth:0,height:g,x:h,y:p},to:{upperWidth:v,lowerWidth:m,height:g,x:h,y:p},duration:_,animationEasing:S,isActive:O},function(E){varM=E.upperWidth,A=E.lowerWidth,C=E.height,k=E.x,L=E.y;returnY.createElement(ia,{canBegin:c>0,from:"0px ".concat(c===-1?1:c,"px"),to:"".concat(c,"px 0px"),attributeName:"strokeDasharray",begin:x,duration:_,easing:S},Y.createElement("path",ld({},Ce(n,!0),{className:w,d:tC(k,L,M,A,C),ref:r})))}):Y.createElement("g",null,Y.createElement("path",ld({},Ce(n,!0),{className:w,d:tC(h,p,v,m,g)})))},rK=["option","shapeType","propTransformer","activeClassName","isActive"];functionpu(e){"@babel/helpers - typeof";returnpu=typeofSymbol=="function"&&typeofSymbol.iterator=="symbol"?function(t){returntypeoft}:function(t){returnt&&typeofSymbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},pu(e)}functionaK(e,t){if(e==null)return{};varn=iK(e,t),r,l;if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(l=0;l<o.length;l++)r=o[l],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}returnn}functioniK(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}functionnC(e,t){varn=Obje
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionXX(e,t){if(e){if(typeofe=="string")returnDC(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))returnDC(e,t)}}functionDC(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,l,o,c,d=[],h=!0,p=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(h=(r=o.call(n)).done)&&(d.push(r.value),d.length!==t);h=!0);}catch(v){p=!0,l=v}finally{try{if(!h&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(p)throwl}}returnd}}functionWX(e){if(Array.isArray(e))returne}functionr0(){returnr0=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},r0.apply(this,arguments)}varQX=function(t,n){varr;returnY.isValidElement(t)?r=Y.cloneElement(t,n):ke(t)?r=t(n):r=Y.createElement("line",r0({},n,{className:"recharts-reference-line-line"})),r},JX=function(t,n,r,l,o,c,d,h,p){varv=o.x,m=o.y,g=o.width,j=o.height;if(r){varS=p.y,_=t.y.apply(S,{position:c});if(wr(p,"discard")&&!t.y.isInRange(_))returnnull;varx=[{x:v+g,y:_},{x:v,y:_}];returnh==="left"?x.reverse():x}if(n){varO=p.x,w=t.x.apply(O,{position:c});if(wr(p,"discard")&&!t.x.isInRange(w))returnnull;varE=[{x:w,y:m+j},{x:w,y:m}];returnd==="top"?E.reverse():E}if(l){varM=p.segment,A=M.map(function(C){returnt.apply(C,{position:c})});returnwr(p,"discard")&&YK(A,function(C){return!t.isInRange(C)})?null:A}returnnull};functioneZ(e){vart=e.x,n=e.y,r=e.segment,l=e.xAxisId,o=e.yAxisId,c=e.shape,d=e.className,h=e.alwaysShow,p=PX(),v=nP(l),m=rP(o),g=qX();if(!p||!g)returnnull;hr(h===void0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');varj=M1({x:v.scale,y:m.scale}),S=It(t),_=It(n),x=r&&r.length===2,O=JX(j,S,_,x,g,e.position,v.orientation,m.orientation,e);if(!O)returnnull;varw=FX(O,2),E=w[0],M=E.x,A=E.y,C=w[1],k=C.x,L=C.y,B=wr(e,"hidden")?"url(#".concat(p,")"):void0,Z=PC(PC({clipPath:B},Ce(e,!0)),{},{x1:M,y1:A,x2:k,y2:L});returnY.createElement(tt,{className:qe("recharts-reference-line",d)},QX(c,Z),Ft.renderCallByParent(e,_X({x1:M,y1:A,x2:k,y2:L})))}varq1=(function(e){functiont(){returnzX(this,t),IX(this,t,arguments)}returnYX(t,e),UX(t,[{key:"render",value:function(){returnY.createElement(eZ,this.props)}}])})(Y.Component);$1(q1,"displayName","ReferenceLine");$1(q1,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});functiona0(){returna0=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},a0.apply(this,arguments)}functionno(e){"@babel/helpers - typeof";returnno=typeofSymbol=="function"&&typeofSymbol.iterator=="symbol"?function(t){returntypeoft}:function(t){returnt&&typeofSymbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},no(e)}function$C(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(l){returnObject.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,r)}returnn}functionqC(e){for(vart=1;t<arguments.length;t++){varn=arguments[t]!=null?arguments[t]:{};t%2?$C(Object(n),!0).forEach(function(r){fh(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$C(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}returne}functiontZ(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functionnZ(e,t){for(varn=0;n<t.length;n++){varr=t[n];r.enume
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionLW(e,t){varn=e==null?null:typeofSymbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){varr,l,o,c,d=[],h=!0,p=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(h=(r=o.call(n)).done)&&(d.push(r.value),d.length!==t);h=!0);}catch(v){p=!0,l=v}finally{try{if(!h&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(p)throwl}}returnd}}functionzW(e){if(Array.isArray(e))returne}functionXC(e,t){if(e==null)return{};varn=BW(e,t),r,l;if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(l=0;l<o.length;l++)r=o[l],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}returnn}functionBW(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}functionUW(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functionIW(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,wP(r.key),r)}}functionHW(e,t,n){returnt&&IW(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}functionGW(e,t,n){returnt=jd(t),YW(e,_P()?Reflect.construct(t,n||[],jd(e).constructor):t.apply(e,n))}functionYW(e,t){if(t&&(oo(t)==="object"||typeoft=="function"))returnt;if(t!==void0)thrownewTypeError("Derived constructors may only return object or undefined");returnVW(e)}functionVW(e){if(e===void0)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returne}function_P(){try{vare=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_P=function(){return!!e})()}functionjd(e){returnjd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){returnn.__proto__||Object.getPrototypeOf(n)},jd(e)}functionFW(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&&m0(e,t)}functionm0(e,t){returnm0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,l){returnr.__proto__=l,r},m0(e,t)}functionso(e){returnZW(e)||XW(e)||SP(e)||KW()}functionKW(){thrownewTypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}functionSP(e,t){if(e){if(typeofe=="string")returnv0(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))returnv0(e,t)}}functionXW(e){if(typeofSymbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)returnArray.from(e)}functionZW(e){if(Array.isArray(e))returnv0(e)}functionv0(e,t){(t==null||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}functionZC(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(l){returnObject.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,r)}returnn}functionoe(e){for(vart=1;t<arguments.length;t++){varn=arguments[t]!=null?arguments[t]:{};t%2?ZC(Object(n),!0).forEach(function(r){Ee(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ZC(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}returne}functionEe(e,t,n){returnt=wP(t),tine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functionwP(e){vart=WW(e,"string");returnoo(t)=="symbol"?t:t+""}functionWW(e,t){if(oo(e)!="object"||!e)returne;varn=e[Symbol.toPrimitive];if(n!==void0){varr=n.call(e,t);if(oo(r)!="object")returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}varQW={xAxis:["bottom","top"],yAxis:["left","right"]},JW={width:"100%",height:"100%"},OP={x:0,y:0};functionmf(e){returne}vareQ=function(t,n){returnn==="horizontal"?t.x:n==="vertical"?t.y:n==="centric"?t.angle:t.radius},tQ=function(t,n,r,l){varo=n.find(function(v){returnv&&v.index===r});if(o){if(t==="horizontal")return{x:o.coordinate,y:l.y};if(t==="vertical")return{x:l.x,y:o.coordinate};if(t==="centric"){varc=o.coordinate,d=l.radius;returnoe(oe(oe({},l),mt(l.cx,l.cy,d,c)),{},{angle:c,radius:d})}varh=o.coordinate,p=l.angle;returnoe(oe(oe({},l),mt(l.cx,l.cy,h,p)),{},{angle:p,radius:h})}returnOP},mh=function(t,n){varr=n.graphicalItems,l=n.dataStartIndex,o=n.dataEndIndex,c=(r??[]).reduce(function(d,h){varp=h.props.data;returnp&&p.length?[].concat(so(d),so(p)):d},[]);returnc.length>0?c:t&&t.length&&ve(l)&&ve(o)?t.slice(l,o+1):[]};functionAP(e){returne==="number"?[0,"auto"]:void0}vary0=function(t,n,r,l){varo=t.graphicalItems,c=t.tooltipAxis,d=mh(n,t);returnr<0||!o||!o.length||r>=d.length?null:o.reduce(function(h,p){varv,m=(v=p.props.data)!==null&&v!==void0?v:n;m&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(m=m.slice(t.dataStartIndex,t.dataEndIndex+1));varg;if(c.dataKey&&!c.allowDuplicatedCategory){varj=m===void0?d:m;g=Qb(j,c.dataKey,l)}elseg=m&&m[r]||d[r];returng?[].concat(so(h),[bR(p,g)]):h},[])},WC=function(t,n,r,l){varo=l||{x:t.chartX,y:t.chartY},c=eQ(o,r),d=t.orderedTooltipTicks,h=t.tooltipAxis,p=t.tooltipTicks,v=$H(c,d,p,h);if(v>=0&&p){varm=p[v]&&p[v].value,g=y0(t,n,v,m),j=tQ(r,d,v,o);return{activeTooltipIndex:v,activeLabel:m,activePayload:g,activeCoordinate:j}}returnnull},nQ=function(t,n){varr=n.axes,l=n.graphicalItems,o=n.axisType,c=n.axisIdKey,d=n.stackGroups,h=n.dataStartIndex,p=n.dataEndIndex,v=t.layout,m=t.children,g=t.stackOffset,j=hR(v,o);returnr.reduce(function(S,_){varx,O=_.type.defaultProps!==void0?oe(oe({},_.type.defaultProps),_.props):_.props,w=O.type,E=O.dataKey,M=O.allowDataOverflow,A=O.allowDuplicatedCategory,C=O.scale,k=O.ticks,L=O.includeHidden,B=O[c];if(S[B])returnS;varZ=mh(t.data,{graphicalItems:l.filter(function(F){varq,de=cinF.props?F.props[c]:(q=F.type.defaultProps)===null||q===void0?void0:q[c];returnde===B}),dataStartIndex:h,dataEndIndex:p}),G=Z.length,H,W,Q;EW(O.domain,M,w)&&(H=kx(O.domain,null,M),j&&(w==="number"||C!=="auto")&&(Q=Ds(Z,E,"category")));varD=AP(w);if(!H||H.length===0){varP,$=(P=O.domai