782 lines
977 KiB
JavaScript
782 lines
977 KiB
JavaScript
|
|
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Ed=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function at(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Mv={exports:{}},Oc={};/**
|
|||
|
|
* @license React
|
|||
|
|
* react-jsx-runtime.production.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/var lT;function o8(){if(lT)return Oc;lT=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,i,o){var l=null;if(o!==void 0&&(l=""+o),i.key!==void 0&&(l=""+i.key),"key"in i){o={};for(var u in i)u!=="key"&&(o[u]=i[u])}else o=i;return i=o.ref,{$$typeof:e,type:r,key:l,ref:i!==void 0?i:null,props:o}}return Oc.Fragment=t,Oc.jsx=n,Oc.jsxs=n,Oc}var cT;function l8(){return cT||(cT=1,Mv.exports=o8()),Mv.exports}var d=l8(),Pv={exports:{}},Me={};/**
|
|||
|
|
* @license React
|
|||
|
|
* react.production.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/var uT;function c8(){if(uT)return Me;uT=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=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;function j(z){return z===null||typeof z!="object"?null:(z=g&&z[g]||z["@@iterator"],typeof z=="function"?z:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,b={};function A(z,G,re){this.props=z,this.context=G,this.refs=b,this.updater=re||S}A.prototype.isReactComponent={},A.prototype.setState=function(z,G){if(typeof z!="object"&&typeof z!="function"&&z!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,z,G,"setState")},A.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function _(){}_.prototype=A.prototype;function T(z,G,re){this.props=z,this.context=G,this.refs=b,this.updater=re||S}var C=T.prototype=new _;C.constructor=T,w(C,A.prototype),C.isPureReactComponent=!0;var O=Array.isArray;function E(){}var M={H:null,A:null,T:null,S:null},D=Object.prototype.hasOwnProperty;function k(z,G,re){var fe=re.ref;return{$$typeof:e,type:z,key:G,ref:fe!==void 0?fe:null,props:re}}function B(z,G){return k(z.type,G,z.props)}function q(z){return typeof z=="object"&&z!==null&&z.$$typeof===e}function $(z){var G={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(re){return G[re]})}var F=/\/+/g;function X(z,G){return typeof z=="object"&&z!==null&&z.key!=null?$(""+z.key):G.toString(36)}function Y(z){switch(z.status){case"fulfilled":return z.value;case"rejected":throw z.reason;default:switch(typeof z.status=="string"?z.then(E,E):(z.status="pending",z.then(function(G){z.status==="pending"&&(z.status="fulfilled",z.value=G)},function(G){z.status==="pending"&&(z.status="rejected",z.reason=G)})),z.status){case"fulfilled":return z.value;case"rejected":throw z.reason}}throw z}function L(z,G,re,fe,me){var we=typeof z;(we==="undefined"||we==="boolean")&&(z=null);var ze=!1;if(z===null)ze=!0;else switch(we){case"bigint":case"string":case"number":ze=!0;break;case"object":switch(z.$$typeof){case e:case t:ze=!0;break;case m:return ze=z._init,L(ze(z._payload),G,re,fe,me)}}if(ze)return me=me(z),ze=fe===""?"."+X(z,0):fe,O(me)?(re="",ze!=null&&(re=ze.replace(F,"$&/")+"/"),L(me,G,re,"",function(Ee){return Ee})):me!=null&&(q(me)&&(me=B(me,re+(me.key==null||z&&z.key===me.key?"":(""+me.key).replace(F,"$&/")+"/")+ze)),G.push(me)),1;ze=0;var Ze=fe===""?".":fe+":";if(O(z))for(var ue=0;ue<z.length;ue++)fe=z[ue],we=Ze+X(fe,ue),ze+=L(fe,G,re,we,me);else if(ue=j(z),typeof ue=="function")for(z=ue.call(z),ue=0;!(fe=z.next()).done;)fe=fe.value,we=Ze+X(fe,ue++),ze+=L(fe,G,re,we,me);else if(we==="object"){if(typeof z.then=="function")return L(Y(z),G,re,fe,me);throw G=String(z),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return ze}function H(z,G,re){if(z==null)return z;var fe=[],me=0;return L(z,fe,"","",function(we){return G.call(re,we,me++)}),fe}function Q(z){if(z._status===-1){var G=z._result;G=G(),G.then(function(re){(z._status===0||z._status===-1)&&(z._status=1,z._result=re)},function(re){(z._status===0||z._status===-1)&&(z._status=2,z._result=re)}),z._status===-1&&(z._status=0,z._result=G)}if(z._status===1)return z._result.default;throw z._result}var ae=typeof reportError=="function"?reportError:function(z){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof z=="object"&&z!==null&&typeof z.message=="string"?String(z.message):String(z),
|
|||
|
|
* @license React
|
|||
|
|
* scheduler.production.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/var dT;function u8(){return dT||(dT=1,(function(e){function t(L,H){var Q=L.length;L.push(H);e:for(;0<Q;){var ae=Q-1>>>1,oe=L[ae];if(0<i(oe,H))L[ae]=H,L[Q]=oe,Q=ae;else break e}}function n(L){return L.length===0?null:L[0]}function r(L){if(L.length===0)return null;var H=L[0],Q=L.pop();if(Q!==H){L[0]=Q;e:for(var ae=0,oe=L.length,z=oe>>>1;ae<z;){var G=2*(ae+1)-1,re=L[G],fe=G+1,me=L[fe];if(0>i(re,Q))fe<oe&&0>i(me,re)?(L[ae]=me,L[fe]=Q,ae=fe):(L[ae]=re,L[G]=Q,ae=G);else if(fe<oe&&0>i(me,Q))L[ae]=me,L[fe]=Q,ae=fe;else break e}}return H}function i(L,H){var Q=L.sortIndex-H.sortIndex;return Q!==0?Q:L.id-H.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var f=[],h=[],m=1,y=null,g=3,j=!1,S=!1,w=!1,b=!1,A=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;function C(L){for(var H=n(h);H!==null;){if(H.callback===null)r(h);else if(H.startTime<=L)r(h),H.sortIndex=H.expirationTime,t(f,H);else break;H=n(h)}}function O(L){if(w=!1,C(L),!S)if(n(f)!==null)S=!0,E||(E=!0,$());else{var H=n(h);H!==null&&Y(O,H.startTime-L)}}var E=!1,M=-1,D=5,k=-1;function B(){return b?!0:!(e.unstable_now()-k<D)}function q(){if(b=!1,E){var L=e.unstable_now();k=L;var H=!0;try{e:{S=!1,w&&(w=!1,_(M),M=-1),j=!0;var Q=g;try{t:{for(C(L),y=n(f);y!==null&&!(y.expirationTime>L&&B());){var ae=y.callback;if(typeof ae=="function"){y.callback=null,g=y.priorityLevel;var oe=ae(y.expirationTime<=L);if(L=e.unstable_now(),typeof oe=="function"){y.callback=oe,C(L),H=!0;break t}y===n(f)&&r(f),C(L)}else r(f);y=n(f)}if(y!==null)H=!0;else{var z=n(h);z!==null&&Y(O,z.startTime-L),H=!1}}break e}finally{y=null,g=Q,j=!1}H=void 0}}finally{H?$():E=!1}}}var $;if(typeof T=="function")$=function(){T(q)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,X=F.port2;F.port1.onmessage=q,$=function(){X.postMessage(null)}}else $=function(){A(q,0)};function Y(L,H){M=A(function(){L(e.unstable_now())},H)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(L){L.callback=null},e.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<L?Math.floor(1e3/L):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_next=function(L){switch(g){case 1:case 2:case 3:var H=3;break;default:H=g}var Q=g;g=H;try{return L()}finally{g=Q}},e.unstable_requestPaint=function(){b=!0},e.unstable_runWithPriority=function(L,H){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var Q=g;g=L;try{return H()}finally{g=Q}},e.unstable_scheduleCallback=function(L,H,Q){var ae=e.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?ae+Q:ae):Q=ae,L){case 1:var oe=-1;break;case 2:oe=250;break;case 5:oe=1073741823;break;case 4:oe=1e4;break;default:oe=5e3}return oe=Q+oe,L={id:m++,callback:H,priorityLevel:L,startTime:Q,expirationTime:oe,sortIndex:-1},Q>ae?(L.sortIndex=Q,t(h,L),n(f)===null&&L===n(h)&&(w?(_(M),M=-1):w=!0,Y(O,Q-ae))):(L.sortIndex=oe,t(f,L),S||j||(S=!0,E||(E=!0,$()))),L},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(L){var H=g;return function(){var Q=g;g=H;try{return L.apply(this,arguments)}finally{g=Q}}}})(Dv)),Dv}var hT;function f8(){return hT||(hT=1,kv.exports=u8()),kv.exports}var Lv={exports:{}},hn={};/**
|
|||
|
|
* @license React
|
|||
|
|
* react-dom.production.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/var pT;function d8(){if(pT)return hn;pT=1;var e=cS();function t(f){var h="https://react.dev/errors/"+f;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)h+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+f+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},i=Symbol.for("react.portal");function o(f,h,m){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:i,key:y==null?null:""+y,children:f,containerInfo:h,implementation:m}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(f,h){if(f==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return hn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,hn.createPortal=function(f,h){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(t(299));return o(f,h,null,m)},hn.flushSync=function(f){var h=l.T,m=r.p;try{if(l.T=null,r.p=2,f)return f()}finally{l.T=h,r.p=m,r.d.f()}},hn.preconnect=function(f,h){typeof f=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,r.d.C(f,h))},hn.prefetchDNS=function(f){typeof f=="string"&&r.d.D(f)},hn.preinit=function(f,h){if(typeof f=="string"&&h&&typeof h.as=="string"){var m=h.as,y=u(m,h.crossOrigin),g=typeof h.integrity=="string"?h.integrity:void 0,j=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;m==="style"?r.d.S(f,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:y,integrity:g,fetchPriority:j}):m==="script"&&r.d.X(f,{crossOrigin:y,integrity:g,fetchPriority:j,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},hn.preinitModule=function(f,h){if(typeof f=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var m=u(h.as,h.crossOrigin);r.d.M(f,{crossOrigin:m,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&r.d.M(f)},hn.preload=function(f,h){if(typeof f=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var m=h.as,y=u(m,h.crossOrigin);r.d.L(f,m,{crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},hn.preloadModule=function(f,h){if(typeof f=="string")if(h){var m=u(h.as,h.crossOrigin);r.d.m(f,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:m,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else r.d.m(f)},hn.requestFormReset=function(f){r.d.r(f)},hn.unstable_batchedUpdates=function(f,h){return f(h)},hn.useFormState=function(f,h,m){return l.H.useFormState(f,h,m)},hn.useFormStatus=function(){return l.H.useHostTransitionStatus()},hn.version="19.2.7",hn}var mT;function h8(){if(mT)return Lv.exports;mT=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Lv.exports=d8(),Lv.exports}/**
|
|||
|
|
* @license React
|
|||
|
|
* react-dom-client.production.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/var yT;function p8(){if(yT)return _c;yT=1;var e=f8(),t=cS(),n=h8();function r(a){var s="https://react.dev/errors/"+a;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var c=2;c<arguments.length;c++)s+="&args[]="+encodeURIComponent(arguments[c])}return"Minified React error #"+a+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function o(a){var s=a,c=a;if(a.alternate)for(;s.return;)s=s.return;else{a=s;do s=a,(s.flags&4098)!==0&&(c=s.return),a=s.return;while(a)}return s.tag===3?c:null}function l(a){if(a.tag===13){var s=a.memoizedState;if(s===null&&(a=a.alternate,a!==null&&(s=a.memoizedState)),s!==null)return s.dehydrated}return null}function u(a){if(a.tag===31){var s=a.memoizedState;if(s===null&&(a=a.alternate,a!==null&&(s=a.memoizedState)),s!==null)return s.dehydrated}return null}function f(a){if(o(a)!==a)throw Error(r(188))}function h(a){var s=a.alternate;if(!s){if(s=o(a),s===null)throw Error(r(188));return s!==a?null:a}for(var c=a,p=s;;){var v=c.return;if(v===null)break;var x=v.alternate;if(x===null){if(p=v.return,p!==null){c=p;continue}break}if(v.child===x.child){for(x=v.child;x;){if(x===c)return f(v),a;if(x===p)return f(v),s;x=x.sibling}throw Error(r(188))}if(c.return!==p.return)c=v,p=x;else{for(var N=!1,R=v.child;R;){if(R===c){N=!0,c=v,p=x;break}if(R===p){N=!0,p=v,c=x;break}R=R.sibling}if(!N){for(R=x.child;R;){if(R===c){N=!0,c=x,p=v;break}if(R===p){N=!0,p=x,c=v;break}R=R.sibling}if(!N)throw Error(r(189))}}if(c.alternate!==p)throw Error(r(190))}if(c.tag!==3)throw Error(r(188));return c.stateNode.current===c?a:s}function m(a){var s=a.tag;if(s===5||s===26||s===27||s===6)return a;for(a=a.child;a!==null;){if(s=m(a),s!==null)return s;a=a.sibling}return null}var y=Object.assign,g=Symbol.for("react.element"),j=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),_=Symbol.for("react.consumer"),T=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),B=Symbol.for("react.memo_cache_sentinel"),q=Symbol.iterator;function $(a){return a===null||typeof a!="object"?null:(a=q&&a[q]||a["@@iterator"],typeof a=="function"?a:null)}var F=Symbol.for("react.client.reference");function X(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===F?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case w:return"Fragment";case A:return"Profiler";case b:return"StrictMode";case O:return"Suspense";case E:return"SuspenseList";case k:return"Activity"}if(typeof a=="object")switch(a.$$typeof){case S:return"Portal";case T:return a.displayName||"Context";case _:return(a._context.displayName||"Context")+".Consumer";case C:var s=a.render;return a=a.displayName,a||(a=s.displayName||s.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case M:return s=a.displayName||null,s!==null?s:X(a.type)||"Memo";case D:s=a._payload,a=a._init;try{return X(a(s))}catch{}}return null}var Y=Array.isArray,L=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q={pending:!1,data:null,method:null,action:null},ae=[],oe=-1;function z(a){return{current:a}}function G(a){0>oe||(a.current=ae[oe],ae[oe]=null,oe--)}function re(a,s){oe++,ae[oe]=a.current,a.current=s}var fe=z(null),me=z(null),we=z(null),ze=z(null);function Ze(a,s){switch(re(we,s),re(me,a),re(fe,null),s.nodeType){case 9:case 11:a=(a=s.documentElement)&&(a=a.namespaceURI)?M_(a):0;break;default:if(a=s.tagName,s=s.namespaceURI)s=M_(s),a=P_(s,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}G(fe),re(fe,a)}function ue(){G(fe),G(me),G(we)}function Ee(a){a.memoizedState!==null&&re(ze,a);var s=fe.current,c=P_(s,a.type);s!==c&&(re(me,a),re(fe,c))}functi
|
|||
|
|
at`)?" (<anonymous>)":-1<c.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|||
|
|
`+le+a+yt}var Ot=!1;function _t(a,s){if(!a||Ot)return"";Ot=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var p={DetermineComponentFrameRoot:function(){try{if(s){var se=function(){throw Error()};if(Object.defineProperty(se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(se,[])}catch(ee){var J=ee}Reflect.construct(a,[],se)}else{try{se.call()}catch(ee){J=ee}a.call(se.prototype)}}else{try{throw Error()}catch(ee){J=ee}(se=a())&&typeof se.catch=="function"&&se.catch(function(){})}}catch(ee){if(ee&&J&&typeof ee.stack=="string")return[ee.stack,J.stack]}return[null,null]}};p.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var v=Object.getOwnPropertyDescriptor(p.DetermineComponentFrameRoot,"name");v&&v.configurable&&Object.defineProperty(p.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var x=p.DetermineComponentFrameRoot(),N=x[0],R=x[1];if(N&&R){var U=N.split(`
|
|||
|
|
`),Z=R.split(`
|
|||
|
|
`);for(v=p=0;p<U.length&&!U[p].includes("DetermineComponentFrameRoot");)p++;for(;v<Z.length&&!Z[v].includes("DetermineComponentFrameRoot");)v++;if(p===U.length||v===Z.length)for(p=U.length-1,v=Z.length-1;1<=p&&0<=v&&U[p]!==Z[v];)v--;for(;1<=p&&0<=v;p--,v--)if(U[p]!==Z[v]){if(p!==1||v!==1)do if(p--,v--,0>v||U[p]!==Z[v]){var te=`
|
|||
|
|
`+U[p].replace(" at new "," at ");return a.displayName&&te.includes("<anonymous>")&&(te=te.replace("<anonymous>",a.displayName)),te}while(1<=p&&0<=v);break}}}finally{Ot=!1,Error.prepareStackTrace=c}return(c=a?a.displayName||a.name:"")?ke(c):""}function fn(a,s){switch(a.tag){case 26:case 27:case 5:return ke(a.type);case 16:return ke("Lazy");case 13:return a.child!==s&&s!==null?ke("Suspense Fallback"):ke("Suspense");case 19:return ke("SuspenseList");case 0:case 15:return _t(a.type,!1);case 11:return _t(a.type.render,!1);case 1:return _t(a.type,!0);case 31:return ke("Activity");default:return""}}function gr(a){try{var s="",c=null;do s+=fn(a,c),c=a,a=a.return;while(a);return s}catch(p){return`
|
|||
|
|
Error generating stack: `+p.message+`
|
|||
|
|
`+p.stack}}var $r=Object.prototype.hasOwnProperty,qa=e.unstable_scheduleCallback,xr=e.unstable_cancelCallback,na=e.unstable_shouldYield,Pl=e.unstable_requestPaint,dn=e.unstable_now,uf=e.unstable_getCurrentPriorityLevel,cA=e.unstable_ImmediatePriority,uA=e.unstable_UserBlockingPriority,ff=e.unstable_NormalPriority,U$=e.unstable_LowPriority,fA=e.unstable_IdlePriority,V$=e.log,H$=e.unstable_setDisableYieldValue,Rl=null,kn=null;function Ua(a){if(typeof V$=="function"&&H$(a),kn&&typeof kn.setStrictMode=="function")try{kn.setStrictMode(Rl,a)}catch{}}var Dn=Math.clz32?Math.clz32:K$,G$=Math.log,F$=Math.LN2;function K$(a){return a>>>=0,a===0?32:31-(G$(a)/F$|0)|0}var df=256,hf=262144,pf=4194304;function Li(a){var s=a&42;if(s!==0)return s;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return a&261888;case 262144:case 524288:case 1048576:case 2097152:return a&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function mf(a,s,c){var p=a.pendingLanes;if(p===0)return 0;var v=0,x=a.suspendedLanes,N=a.pingedLanes;a=a.warmLanes;var R=p&134217727;return R!==0?(p=R&~x,p!==0?v=Li(p):(N&=R,N!==0?v=Li(N):c||(c=R&~a,c!==0&&(v=Li(c))))):(R=p&~x,R!==0?v=Li(R):N!==0?v=Li(N):c||(c=p&~a,c!==0&&(v=Li(c)))),v===0?0:s!==0&&s!==v&&(s&x)===0&&(x=v&-v,c=s&-s,x>=c||x===32&&(c&4194048)!==0)?s:v}function kl(a,s){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&s)===0}function Y$(a,s){switch(a){case 1:case 2:case 4:case 8:case 64:return s+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function dA(){var a=pf;return pf<<=1,(pf&62914560)===0&&(pf=4194304),a}function xm(a){for(var s=[],c=0;31>c;c++)s.push(a);return s}function Dl(a,s){a.pendingLanes|=s,s!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function X$(a,s,c,p,v,x){var N=a.pendingLanes;a.pendingLanes=c,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=c,a.entangledLanes&=c,a.errorRecoveryDisabledLanes&=c,a.shellSuspendCounter=0;var R=a.entanglements,U=a.expirationTimes,Z=a.hiddenUpdates;for(c=N&~c;0<c;){var te=31-Dn(c),se=1<<te;R[te]=0,U[te]=-1;var J=Z[te];if(J!==null)for(Z[te]=null,te=0;te<J.length;te++){var ee=J[te];ee!==null&&(ee.lane&=-536870913)}c&=~se}p!==0&&hA(a,p,0),x!==0&&v===0&&a.tag!==0&&(a.suspendedLanes|=x&~(N&~s))}function hA(a,s,c){a.pendingLanes|=s,a.suspendedLanes&=~s;var p=31-Dn(s);a.entangledLanes|=s,a.entanglements[p]=a.entanglements[p]|1073741824|c&261930}function pA(a,s){var c=a.entangledLanes|=s;for(a=a.entanglements;c;){var p=31-Dn(c),v=1<<p;v&s|a[p]&s&&(a[p]|=s),c&=~v}}function mA(a,s){var c=s&-s;return c=(c&42)!==0?1:bm(c),(c&(a.suspendedLanes|s))!==0?0:c}function bm(a){switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:a=128;break;case 268435456:a=134217728;break;default:a=0}return a}function jm(a){return a&=-a,2<a?8<a?(a&134217727)!==0?32:268435456:8:2}function yA(){var a=H.p;return a!==0?a:(a=window.event,a===void 0?32:tT(a.type))}function vA(a,s){var c=H.p;try{return H.p=a,s()}finally{H.p=c}}var Va=Math.random().toString(36).slice(2),tn="__reactFiber$"+Va,wn="__reactProps$"+Va,Ds="__reactContainer$"+Va,Sm="__reactEvents$"+Va,W$="__reactListeners$"+Va,Z$="__reactHandles$"+Va,gA="__reactResources$"+Va,Ll="__reactMarke
|
|||
|
|
`).replace(NB,"")}function N_(a,s){return s=E_(s),E_(a)===s}function st(a,s,c,p,v,x){switch(c){case"children":typeof p=="string"?s==="body"||s==="textarea"&&p===""||qs(a,p):(typeof p=="number"||typeof p=="bigint")&&s!=="body"&&qs(a,""+p);break;case"className":vf(a,"class",p);break;case"tabIndex":vf(a,"tabindex",p);break;case"dir":case"role":case"viewBox":case"width":case"height":vf(a,c,p);break;case"style":NA(a,p,x);break;case"data":if(s!=="object"){vf(a,"data",p);break}case"src":case"href":if(p===""&&(s!=="a"||c!=="href")){a.removeAttribute(c);break}if(p==null||typeof p=="function"||typeof p=="symbol"||typeof p=="boolean"){a.removeAttribute(c);break}p=xf(""+p),a.setAttribute(c,p);break;case"action":case"formAction":if(typeof p=="function"){a.setAttribute(c,"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}else typeof x=="function"&&(c==="formAction"?(s!=="input"&&st(a,s,"name",v.name,v,null),st(a,s,"formEncType",v.formEncType,v,null),st(a,s,"formMethod",v.formMethod,v,null),st(a,s,"formTarget",v.formTarget,v,null)):(st(a,s,"encType",v.encType,v,null),st(a,s,"method",v.method,v,null),st(a,s,"target",v.target,v,null)));if(p==null||typeof p=="symbol"||typeof p=="boolean"){a.removeAttribute(c);break}p=xf(""+p),a.setAttribute(c,p);break;case"onClick":p!=null&&(a.onclick=aa);break;case"onScroll":p!=null&&Be("scroll",a);break;case"onScrollEnd":p!=null&&Be("scrollend",a);break;case"dangerouslySetInnerHTML":if(p!=null){if(typeof p!="object"||!("__html"in p))throw Error(r(61));if(c=p.__html,c!=null){if(v.children!=null)throw Error(r(60));a.innerHTML=c}}break;case"multiple":a.multiple=p&&typeof p!="function"&&typeof p!="symbol";break;case"muted":a.muted=p&&typeof p!="function"&&typeof p!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(p==null||typeof p=="function"||typeof p=="boolean"||typeof p=="symbol"){a.removeAttribute("xlink:href");break}c=xf(""+p),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",c);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":p!=null&&typeof p!="function"&&typeof p!="symbol"?a.setAttribute(c,""+p):a.removeAttribute(c);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&&typeof p!="function"&&typeof p!="symbol"?a.setAttribute(c,""):a.removeAttribute(c);break;case"capture":case"download":p===!0?a.setAttribute(c,""):p!==!1&&p!=null&&typeof p!="function"&&typeof p!="symbol"?a.setAttribute(c,p):a.removeAttribute(c);break;case"cols":case"rows":case"size":case"span":p!=null&&typeof p!="function"&&typeof p!="symbol"&&!isNaN(p)&&1<=p?a.setAttribute(c,p):a.removeAttribute(c);break;case"rowSpan":case"start":p==null||typeof p=="function"||typeof p=="symbol"||isNaN(p)?a.removeAttribute(c):a.setAttribute(c,p);break;case"popover":Be("beforetoggle",a),Be("toggle",a),yf(a,"popover",p);break;case"xlinkActuate":ra(a,"http://www.w3.org/1999/xlink","xlink:actuate",p);break;case"xlinkArcrole":ra(a,"http://www.w3.org/1999/xlink","xlink:arcrole",p);break;case"xlinkRole":ra(a,"http://www.w3.org/1999/xlink","xlink:role",p);break;case"xlinkShow":ra(a,"http://www.w3.org/1999/xlink","xlink:show",p);break;case"xlinkTitle":ra(a,"http://www.w3.org/1999/xlink","xlink:title",p);break;case"xlinkType":ra(a,"http://www.w3.org/1999/xlink","xlink:type",p);break;case"xmlBase":ra(a,"http://www.w3.org/XML/1998/namespace","xml:ba
|
|||
|
|
* react-router v7.18.1
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Remix Software Inc.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE.md file in the root directory of this source tree.
|
|||
|
|
*
|
|||
|
|
* @license MIT
|
|||
|
|
*/var uS=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,a3=/^[\\/]{2}/;function v8(e,t){return t+e.replace(/\\/g,"/")}var gT="popstate";function xT(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function g8(e={}){function t(r,i){var h;let o=(h=i.state)==null?void 0:h.masked,{pathname:l,search:u,hash:f}=o||r.location;return o1("",{pathname:l,search:u,hash:f},i.state&&i.state.usr||null,i.state&&i.state.key||"default",o?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,i){return typeof i=="string"?i:su(i)}return b8(t,n,null,e)}function At(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Rr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function x8(){return Math.random().toString(36).substring(2,10)}function bT(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function o1(e,t,n=null,r,i){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?yl(t):t,state:n,key:t&&t.key||r||x8(),mask:i}}function su({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function yl(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function b8(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:o=!1}=r,l=i.history,u="POP",f=null,h=m();h==null&&(h=0,l.replaceState({...l.state,idx:h},""));function m(){return(l.state||{idx:null}).idx}function y(){u="POP";let b=m(),A=b==null?null:b-h;h=b,f&&f({action:u,location:w.location,delta:A})}function g(b,A){u="PUSH";let _=xT(b)?b:o1(w.location,b,A);h=m()+1;let T=bT(_,h),C=w.createHref(_.mask||_);try{l.pushState(T,"",C)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;i.location.assign(C)}o&&f&&f({action:u,location:w.location,delta:1})}function j(b,A){u="REPLACE";let _=xT(b)?b:o1(w.location,b,A);h=m();let T=bT(_,h),C=w.createHref(_.mask||_);l.replaceState(T,"",C),o&&f&&f({action:u,location:w.location,delta:0})}function S(b){return j8(i,b)}let w={get action(){return u},get location(){return e(i,l)},listen(b){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(gT,y),f=b,()=>{i.removeEventListener(gT,y),f=null}},createHref(b){return t(i,b)},createURL:S,encodeLocation(b){let A=S(b);return{pathname:A.pathname,search:A.search,hash:A.hash}},push:g,replace:j,go(b){return l.go(b)}};return w}function j8(e,t,n=!1){let r="http://localhost";e&&(r=e.location.origin!=="null"?e.location.origin:e.location.href),At(r,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:su(t);return i=i.replace(/ $/,"%20"),!n&&a3.test(i)&&(i=r+i),new URL(i,r)}function i3(e,t,n="/"){return S8(e,t,n,!1)}function S8(e,t,n,r,i){let o=typeof t=="string"?yl(t):t,l=Ca(o.pathname||"/",n);if(l==null)return null;let u=w8(e),f=null,h=k8(l);for(let m=0;f==null&&m<u.length;++m)f=R8(u[m],h,r);return f}function w8(e){let t=s3(e);return A8(t),t}function s3(e,t=[],n=[],r="",i=!1){let o=(l,u,f=i,h)=>{let m={relativePath:h===void 0?l.path||"":h,caseSensitive:l.caseSensitive===!0,childrenIndex:u,route:l};if(m.relativePath.startsWith("/")){if(!m.relativePath.startsWith(r)&&f)return;At(m.relativePath.startsWith(r),`Absolute route path "${m.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),m.relativePath=m.relativePath.slice(r.length)}let y=Nr([r,m.relativePath]),g=n.concat(m);l.children&&l.children.length>0&&(At(l.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),s3(l.children,t,g,y,f)),!(l.path==null&&!l.index)&&t.push({path:y,score:M8(y,l.index),routesMeta:g.map((j,S)=>{let[w,b]=c3(j.relativePath,j.caseSensitive,S===g.length-1);return{...j,matcher:w,compiledPar
|
|||
|
|
|
|||
|
|
Please change the parent <Route path="${A}"> to <Route path="${A==="/"?"*":`${A}/*`}">.`)}let m=Lr(),y;if(t){let A=typeof t=="string"?yl(t):t;At(f==="/"||((b=A.pathname)==null?void 0:b.startsWith(f)),`When overriding the location using \`<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}else y=m;let g=y.pathname||"/",j=g;if(f!=="/"){let A=f.replace(/^\//,"").split("/");j="/"+g.replace(/^\//,"").split("/").slice(A.length).join("/")}let S=n&&n.state.matches.length?n.state.matches.map(A=>Object.assign(A,{route:n.manifest[A.route.id]||A.route})):i3(e,{pathname:j});Rr(h||S!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),Rr(S==null||S[S.length-1].route.element!==void 0||S[S.length-1].route.Component!==void 0||S[S.length-1].route.lazy!==void 0,`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.`);let w=lI(S&&S.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])})),i,n);return t&&w?P.createElement(Fu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...y},navigationType:"POP"}},w):w}function aI(){let e=hI(),t=q8(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r},l=null;return console.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:i},n):null,l)}var iI=P.createElement(aI,null),b3=class extends P.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?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(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=Q8(e.digest);n&&(e=n)}let t=e!==void 0?P.createElement(Dr.Provider,{value:this.props.routeContext},P.createElement(dS.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?P.createElement(sI,{error:e},t):t}};b3.contextType=p3;var $v=new WeakMap;function sI({children:e,error:t}){let{basename:n}=P.useContext(Zn);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=Z8(t.digest);if(r){let i=$v.get(t);if(i)throw i;let o=d3(r.location,n),l=o.absoluteURL||o.to;if(G8(l))throw new Error("Invalid redirect location");if(f3&&!$v.get(t))if(o.isExternal||r.reloadDocument)window.location.href=l;else{const u=Promise.resolve().then(()=>window.__reactRout
|
|||
|
|
[data-motion-pop-id="${l}"] {
|
|||
|
|
position: absolute !important;
|
|||
|
|
width: ${j}px !important;
|
|||
|
|
height: ${S}px !important;
|
|||
|
|
${O}px !important;
|
|||
|
|
${E}px !important;
|
|||
|
|
}
|
|||
|
|
`),()=>{var k;(k=u.current)==null||k.removeAttribute("data-motion-pop-id"),D.contains(M)&&D.removeChild(M)}},[t]),d.jsx(V9,{isPresent:t,childRef:u,sizeRef:f,pop:o,children:o===!1?e:P.cloneElement(e,{ref:y})})}const G9=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:l,anchorX:u,anchorY:f,root:h})=>{const m=bS(F9),y=P.useId(),g=P.useRef(n),j=P.useRef(r);jS(()=>{g.current=n,j.current=r});let S=!0,w=P.useMemo(()=>(S=!1,{id:y,initial:t,isPresent:n,custom:i,onExitComplete:b=>{m.set(b,!0);for(const A of m.values())if(!A)return;r&&r()},register:b=>(m.set(b,!1),()=>{var A;m.delete(b),!g.current&&!m.size&&((A=j.current)==null||A.call(j))})}),[n,m,r]);return o&&S&&(w={...w}),P.useMemo(()=>{m.forEach((b,A)=>m.set(A,!1))},[n]),P.useEffect(()=>{!n&&!m.size&&r&&r()},[n]),e=d.jsx(H9,{pop:l==="popLayout",isPresent:n,anchorX:u,anchorY:f,root:h,children:e}),d.jsx(Mp.Provider,{value:w,children:e})};function F9(){return new Map}function Z4(e=!0){const t=P.useContext(Mp);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,o=P.useId();P.useEffect(()=>{if(e)return i(o)},[e]);const l=P.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,l]:[!0]}const Pd=e=>e.key||"";function NE(e){const t=[];return P.Children.forEach(e,n=>{P.isValidElement(n)&&t.push(n)}),t}const Xc=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:o="sync",propagate:l=!1,anchorX:u="left",anchorY:f="top",root:h})=>{const[m,y]=Z4(l),g=P.useMemo(()=>NE(e),[e]),j=l&&!m?[]:g.map(Pd),S=P.useRef(!0),w=P.useRef(g),b=bS(()=>new Map),A=P.useRef(new Set),[_,T]=P.useState(g),[C,O]=P.useState(g);jS(()=>{S.current=!1,w.current=g;for(let D=0;D<C.length;D++){const k=Pd(C[D]);j.includes(k)?(b.delete(k),A.current.delete(k)):b.get(k)!==!0&&b.set(k,!1)}},[C,j.length,j.join("-")]);const E=[];if(g!==_){let D=[...g];for(let k=0;k<C.length;k++){const B=C[k],q=Pd(B);j.includes(q)||(D.splice(k,0,B),E.push(B))}return o==="wait"&&E.length&&(D=E),O(NE(D)),T(g),null}const{forceRender:M}=P.useContext(xS);return d.jsx(d.Fragment,{children:C.map(D=>{const k=Pd(D),B=l&&!m?!1:g===C||j.includes(k),q=()=>{if(A.current.has(k))return;if(b.has(k))A.current.add(k),b.set(k,!0);else return;let $=!0;b.forEach(F=>{F||($=!1)}),$&&(M==null||M(),O(w.current),l&&(y==null||y()),r&&r())};return d.jsx(G9,{isPresent:B,initial:!S.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:o,root:h,onExitComplete:B?void 0:q,anchorX:u,anchorY:f,children:D},k)})})},Q4=P.createContext({strict:!1}),CE={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let ME=!1;function K9(){if(ME)return;const e={};for(const t in CE)e[t]={isEnabled:n=>CE[t].some(r=>!!n[r])};E4(e),ME=!0}function J4(){return K9(),MV()}function Y9(e){const t=J4();for(const n in e)t[n]={...t[n],...e[n]};E4(t)}const X9=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function jh(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||X9.has(e)}let eL=e=>!jh(e);function W9(e){typeof e=="function"&&(eL=t=>t.startsWith("on")?!jh(t):e(t))}try{W9(require("@emotion/is-prop-valid").default)}catch{}function Z9(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||un(e[i])||(eL(i)||n===!0&&jh(i)||!
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const eH=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),uL=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/var tH={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const nH=P.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:o,iconNode:l,...u},f)=>P.createElement("svg",{ref:f,...tH,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:uL("lucide",i),...u},[...l.map(([h,m])=>P.createElement(h,m)),...Array.isArray(o)?o:[o]]));/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const pe=(e,t)=>{const n=P.forwardRef(({className:r,...i},o)=>P.createElement(nH,{ref:o,iconNode:t,className:uL(`lucide-${eH(e)}`,r),...i}));return n.displayName=`${e}`,n};/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const rH=pe("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const aH=pe("ArrowDownRight",[["path",{d:"m7 7 10 10",key:"1fmybs"}],["path",{d:"M17 7v10H7",key:"6fjiku"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const iH=pe("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const D1=pe("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const L1=pe("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Zc=pe("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Uo=pe("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const WS=pe("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const sH=pe("Calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const oH=pe("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const lH=pe("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const cH=pe("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const uH=pe("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const fH=pe("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const dH=pe("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Lp=pe("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Sl=pe("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const VE=pe("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Vo=pe("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const hH=pe("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Qc=pe("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const HE=pe("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Qr=pe("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const pH=pe("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const fL=pe("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const mH=pe("FileCheck",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const bi=pe("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Ju=pe("Filter",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const yH=pe("FolderKanban",[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M12 10v2",key:"hh53o1"}],["path",{d:"M16 10v6",key:"1d6xys"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const vH=pe("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const sh=pe("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const ZS=pe("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const GE=pe("Key",[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const gH=pe("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const xH=pe("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const bH=pe("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const js=pe("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const jH=pe("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const QS=pe("Megaphone",[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const SH=pe("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const wH=pe("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const AH=pe("Minimize2",[["polyline",{points:"4 14 10 14 10 20",key:"11kfnr"}],["polyline",{points:"20 10 14 10 14 4",key:"rlmsce"}],["line",{x1:"14",x2:"21",y1:"10",y2:"3",key:"o5lafz"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const OH=pe("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const _H=pe("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const TH=pe("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const EH=pe("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const NH=pe("Package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["path",{d:"m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7",key:"yx3hmr"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const FE=pe("Pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const KE=pe("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const YE=pe("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Ma=pe("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const CH=pe("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Ns=pe("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const MH=pe("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const PH=pe("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const RH=pe("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const kH=pe("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const oh=pe("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const DH=pe("ShoppingCart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const JS=pe("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const LH=pe("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const dL=pe("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const ew=pe("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Mr=pe("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const wi=pe("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const z1=pe("UserPlus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Sh=pe("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const Pa=pe("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const tw=pe("Wallet",[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const zH=pe("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
|
|||
|
|
* @license lucide-react v0.460.0 - ISC
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the ISC license.
|
|||
|
|
* See the LICENSE file in the root directory of this source tree.
|
|||
|
|
*/const nw=pe("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);function hL(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=hL(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Pe(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=hL(e))&&(r&&(r+=" "),r+=t);return r}const rw="-",$H=e=>{const t=IH(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{const u=l.split(rw);return u[0]===""&&u.length!==1&&u.shift(),pL(u,t)||BH(l)},getConflictingClassGroupIds:(l,u)=>{const f=n[l]||[];return u&&r[l]?[...f,...r[l]]:f}}},pL=(e,t)=>{var l;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?pL(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(rw);return(l=t.validators.find(({validator:u})=>u(o)))==null?void 0:l.classGroupId},XE=/^\[(.+)\]$/,BH=e=>{if(XE.test(e)){const t=XE.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},IH=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return UH(Object.entries(e.classGroups),n).forEach(([o,l])=>{$1(l,r,o,t)}),r},$1=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:WE(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(qH(i)){$1(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,l])=>{$1(l,WE(t,o),n,r)})})},WE=(e,t)=>{let n=e;return t.split(rw).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},qH=e=>e.isThemeGetter,UH=(e,t)=>t?e.map(([n,r])=>{const i=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,u])=>[t+l,u])):o);return[n,i]}):e,VH=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(o,l)=>{n.set(o,l),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let l=n.get(o);if(l!==void 0)return l;if((l=r.get(o))!==void 0)return i(o,l),l},set(o,l){n.has(o)?n.set(o,l):i(o,l)}}},mL="!",HH=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],o=t.length,l=u=>{const f=[];let h=0,m=0,y;for(let b=0;b<u.length;b++){let A=u[b];if(h===0){if(A===i&&(r||u.slice(b,b+o)===t)){f.push(u.slice(m,b)),m=b+o;continue}if(A==="/"){y=b;continue}}A==="["?h++:A==="]"&&h--}const g=f.length===0?u:u.substring(m),j=g.startsWith(mL),S=j?g.substring(1):g,w=y&&y>m?y-m:void 0;return{modifiers:f,hasImportantModifier:j,baseClassName:S,maybePostfixModifierPosition:w}};return n?u=>n({className:u,parseClassName:l}):l},GH=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},FH=e=>({cache:VH(e.cacheSize),parseClassName:HH(e),...$H(e)}),KH=/\s+/,YH=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],l=e.trim().split(KH);let u="";for(let f=l.length-1;f>=0;f-=1){const h=l[f],{modifiers:m,hasImportantModifier:y,baseClassName:g,maybePostfixModifierPosition:j}=n(h);let S=!!j,w=r(S?g.substring(0,j):g);if(!w){if(!S){u=h+(u.length>0?" "+u:u);continue}if(w=r(g),!w){u=h+(u.length>0?" "+u:u);continue}S=!1}const b=GH(m).join(":"),A=y?b+mL:b,_=A+w;if(o.includes(_))continue;o.push(_);const T=i(w,S);for(let C=0;C<T.length;++C){const O=T[C];o.push(A+O)}u=h+(u.length>0?" "+u:u)}return u};function XH(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=yL(t))&&(r&&(r+=" "),r+=n);return r}const yL=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=yL(e[r]))&&(n&&(n+=" "),n+=t);return n};function WH(e,...t){let n,r,i,o=l;function l(f){const h=t.reduce((m,y)=>y(m),e());return n=FH(h),r=n.cache.get,i=n.cache.set,o=u,u(f)}function u(f){const h=r(f);if(h)return h;const m=YH(f,n);return i(f,m),m}return function(){return o(XH.apply(null,argu
|
|||
|
|
* @license React
|
|||
|
|
* react-is.production.min.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/var nC;function rF(){if(nC)return Qe;nC=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),j=Symbol.for("react.offscreen"),S;S=Symbol.for("react.module.reference");function w(b){if(typeof b=="object"&&b!==null){var A=b.$$typeof;switch(A){case e:switch(b=b.type,b){case n:case i:case r:case h:case m:return b;default:switch(b=b&&b.$$typeof,b){case u:case l:case f:case g:case y:case o:return b;default:return A}}case t:return A}}}return Qe.ContextConsumer=l,Qe.ContextProvider=o,Qe.Element=e,Qe.ForwardRef=f,Qe.Fragment=n,Qe.Lazy=g,Qe.Memo=y,Qe.Portal=t,Qe.Profiler=i,Qe.StrictMode=r,Qe.Suspense=h,Qe.SuspenseList=m,Qe.isAsyncMode=function(){return!1},Qe.isConcurrentMode=function(){return!1},Qe.isContextConsumer=function(b){return w(b)===l},Qe.isContextProvider=function(b){return w(b)===o},Qe.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},Qe.isForwardRef=function(b){return w(b)===f},Qe.isFragment=function(b){return w(b)===n},Qe.isLazy=function(b){return w(b)===g},Qe.isMemo=function(b){return w(b)===y},Qe.isPortal=function(b){return w(b)===t},Qe.isProfiler=function(b){return w(b)===i},Qe.isStrictMode=function(b){return w(b)===r},Qe.isSuspense=function(b){return w(b)===h},Qe.isSuspenseList=function(b){return w(b)===m},Qe.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===i||b===r||b===h||b===m||b===j||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===y||b.$$typeof===o||b.$$typeof===l||b.$$typeof===f||b.$$typeof===S||b.getModuleId!==void 0)},Qe.typeOf=w,Qe}var rC;function aF(){return rC||(rC=1,ax.exports=rF()),ax.exports}var iF=aF(),ix,aC;function OL(){if(aC)return ix;aC=1;var e=za(),t=$a(),n="[object Number]";function r(i){return typeof i=="number"||t(i)&&e(i)==n}return ix=r,ix}var sx,iC;function sF(){if(iC)return sx;iC=1;var e=OL();function t(n){return e(n)&&n!=+n}return sx=t,sx}var oF=sF();const _l=at(oF);var lF=OL();const cF=at(lF);var bn=function(t){return t===0?0:t>0?1:-1},fs=function(t){return Ss(t)&&t.indexOf("%")===t.length-1},ce=function(t){return cF(t)&&!_l(t)},uF=function(t){return Ne(t)},Kt=function(t){return ce(t)||Ss(t)},fF=0,Ms=function(t){var n=++fF;return"".concat(t||"").concat(n)},jn=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!ce(t)&&!Ss(t))return r;var o;if(fs(t)){var l=t.indexOf("%");o=n*parseFloat(t.slice(0,l))/100}else o=+t;return _l(o)&&(o=r),i&&o>n&&(o=n),o},gi=function(t){if(!t)return null;var n=Object.keys(t);return n&&n.length?t[n[0]]:null},dF=function(t){if(!Array.isArray(t))return!1;for(var n=t.length,r={},i=0;i<n;i++)if(!r[t[i]])r[t[i]]=!0;else return!0;return!1},Ft=function(t,n){return ce(t)&&ce(n)?function(r){return t+r*(n-t)}:function(){return n}};function wh(e,t,n){return!e||!e.length?null:e.find(function(r){return r&&(typeof t=="function"?t(r):Xn(r,t))===n})}var hF=function(t,n){return ce(t)&&ce(n)?t-n:Ss(t)&&Ss(n)?t.localeCompare(n):t instanceof Date&&n instanceof Date?t.getTime()-n.getTime():String(t).localeCompare(String(n))};function Lo(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}function I1(e){"@babel/helpers - typeof";return I1=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},I1(e)}var pF=["viewBox","children"],mF=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-control
|
|||
|
|
A`).concat(l,",").concat(l,",0,1,1,").concat(2*u,",").concat(o,`
|
|||
|
|
H`).concat(ur,"M").concat(2*u,",").concat(o,`
|
|||
|
|
A`).concat(l,",").concat(l,",0,1,1,").concat(u,",").concat(o),className:"recharts-legend-icon"});if(r.type==="rect")return I.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(I.isValidElement(r.legendIcon)){var h=EK({},r);return delete h.legendIcon,I.cloneElement(r.legendIcon,h)}return I.createElement(vw,{fill:f,cx:o,cy:o,size:ur,sizeType:"diameter",type:r.type})}},{key:"renderItems",value:function(){var r=this,i=this.props,o=i.payload,l=i.iconSize,u=i.layout,f=i.formatter,h=i.inactiveColor,m={x:0,y:0,width:ur,height:ur},y={display:u==="horizontal"?"inline-block":"block",marginRight:10},g={display:"inline-block",verticalAlign:"middle",marginRight:4};return o.map(function(j,S){var w=j.formatter||f,b=Pe(du(du({"recharts-legend-item":!0},"legend-item-".concat(S),!0),"inactive",j.inactive));if(j.type==="none")return null;var A=Te(j.value)?null:j.value;Pr(!Te(j.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 _=j.inactive?h:j.color;return I.createElement("li",Z1({className:b,style:y,key:"legend-item-".concat(S)},ws(r.props,j,S)),I.createElement(H1,{width:l,height:l,viewBox:m,style:g},r.renderIcon(j)),I.createElement("span",{className:"recharts-legend-item-text",style:{color:_}},w?w(A,j,S):A))})}},{key:"render",value:function(){var r=this.props,i=r.payload,o=r.layout,l=r.align;if(!i||!i.length)return null;var u={padding:0,margin:0,textAlign:o==="horizontal"?l:"left"};return I.createElement("ul",{className:"recharts-default-legend",style:u},this.renderItems())}}])})(P.PureComponent);du(gw,"displayName","Legend");du(gw,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var xx,EC;function zK(){if(EC)return xx;EC=1;var e=Bp();function t(){this.__data__=new e,this.size=0}return xx=t,xx}var bx,NC;function $K(){if(NC)return bx;NC=1;function e(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r}return bx=e,bx}var jx,CC;function BK(){if(CC)return jx;CC=1;function e(t){return this.__data__.get(t)}return jx=e,jx}var Sx,MC;function IK(){if(MC)return Sx;MC=1;function e(t){return this.__data__.has(t)}return Sx=e,Sx}var wx,PC;function qK(){if(PC)return wx;PC=1;var e=Bp(),t=lw(),n=cw(),r=200;function i(o,l){var u=this.__data__;if(u instanceof e){var f=u.__data__;if(!t||f.length<r-1)return f.push([o,l]),this.size=++u.size,this;u=this.__data__=new n(f)}return u.set(o,l),this.size=u.size,this}return wx=i,wx}var Ax,RC;function KL(){if(RC)return Ax;RC=1;var e=Bp(),t=zK(),n=$K(),r=BK(),i=IK(),o=qK();function l(u){var f=this.__data__=new e(u);this.size=f.size}return l.prototype.clear=t,l.prototype.delete=n,l.prototype.get=r,l.prototype.has=i,l.prototype.set=o,Ax=l,Ax}var Ox,kC;function UK(){if(kC)return Ox;kC=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return Ox=t,Ox}var _x,DC;function VK(){if(DC)return _x;DC=1;function e(t){return this.__data__.has(t)}return _x=e,_x}var Tx,LC;function YL(){if(LC)return Tx;LC=1;var e=cw(),t=UK(),n=VK();function r(i){var o=-1,l=i==null?0:i.length;for(this.__data__=new e;++o<l;)this.add(i[o])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,Tx=r,Tx}var Ex,zC;function XL(){if(zC)return Ex;zC=1;function e(t,n){for(var r=-1,i=t==null?0:t.length;++r<i;)if(n(t[r],r,t))return!0;return!1}return Ex=e,Ex}var Nx,$C;function WL(){if($C)return Nx;$C=1;function e(t,n){return t.has(n)}return Nx=e,Nx}var Cx,BC;function ZL(){if(BC)return Cx;BC=1;var e=YL(),t=XL(),n=WL(),r=1,i=2;function o(l,u,f,h,m,y){var g=f&r,j=l.length,S=u.length;if(j!=S&&!(g&&S>j))return!1;var w=y.get(l),b=y.get(u);if(w&&b)return w==u&&b==l;var A=-1,_=!0,T=f&i?new e:void 0;for(y.set(l,u),y.set(u,l);++A<j;){var C=l[A],O=u[A];if(h)var E=g?h(O,C,A,u,l,y):h(C,O,A,l,u,y);if(E!==void 0){if(E)continue;_=!1;break}if(T){if(!t(u,function(M,D){if(!n(T,D)&&(C===M||m(C,M,f,h,y)))return T.push(D)})){_=!1;break}}else if(!(C===O||m(C,O,f,
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function uX(e,t){if(e){if(typeof e=="string")return gP(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 gP(e,t)}}function gP(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 fX(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],f=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(f=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){h=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function dX(e){if(Array.isArray(e))return e}function xP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function r0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?xP(Object(n),!0).forEach(function(r){hX(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function hX(e,t,n){return t=pX(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pX(e){var t=mX(e,"string");return hu(t)=="symbol"?t:t+""}function mX(e,t){if(hu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(hu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function yX(e){return Array.isArray(e)&&Kt(e[0])&&Kt(e[1])?e.join(" ~ "):e}var vX=function(t){var n=t.separator,r=n===void 0?" : ":n,i=t.contentStyle,o=i===void 0?{}:i,l=t.itemStyle,u=l===void 0?{}:l,f=t.labelStyle,h=f===void 0?{}:f,m=t.payload,y=t.formatter,g=t.itemSorter,j=t.wrapperClassName,S=t.labelClassName,w=t.label,b=t.labelFormatter,A=t.accessibilityLayer,_=A===void 0?!1:A,T=function(){if(m&&m.length){var $={padding:0,margin:0},F=(g?Ow(m,g):m).map(function(X,Y){if(X.type==="none")return null;var L=r0({display:"block",paddingTop:4,paddingBottom:4,color:X.color||"#000"},u),H=X.formatter||y||yX,Q=X.value,ae=X.name,oe=Q,z=ae;if(H&&oe!=null&&z!=null){var G=H(Q,ae,X,Y,m);if(Array.isArray(G)){var re=lX(G,2);oe=re[0],z=re[1]}else oe=G}return I.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(Y),style:L},Kt(z)?I.createElement("span",{className:"recharts-tooltip-item-name"},z):null,Kt(z)?I.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,I.createElement("span",{className:"recharts-tooltip-item-value"},oe),I.createElement("span",{className:"recharts-tooltip-item-unit"},X.unit||""))});return I.createElement("ul",{className:"recharts-tooltip-item-list",style:$},F)}return null},C=r0({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},o),O=r0({margin:0},h),E=!Ne(w),M=E?w:"",D=Pe("recharts-default-tooltip",j),k=Pe("recharts-tooltip-label",S);E&&b&&m!==void 0&&m!==null&&(M=b(w,m));var B=_?{role:"status","aria-live":"assertive"}:{};return I.createElement("div",ej({className:D,style:C},B),I.createElement("p",{className:k,style:O},I.isValidElement(M)?M:"".concat(M)),T())};function pu(e){"@babel/helpers - typeof";return pu=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},pu(e)}function zd(e,t,n){return t=gX(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gX(e){var t=xX(e,"string");return pu(t)=="symbol"?t:t+""}function xX(e,t){if(pu(e)!="object"||!e)return e;var n=e[Symb
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tW(e,t){if(e){if(typeof e=="string")return RP(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 RP(e,t)}}function RP(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 nW(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],f=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(f=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){h=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function rW(e){if(Array.isArray(e))return e}var kh=P.forwardRef(function(e,t){var n=e.aspect,r=e.initialDimension,i=r===void 0?{width:-1,height:-1}:r,o=e.width,l=o===void 0?"100%":o,u=e.height,f=u===void 0?"100%":u,h=e.minWidth,m=h===void 0?0:h,y=e.minHeight,g=e.maxHeight,j=e.children,S=e.debounce,w=S===void 0?0:S,b=e.id,A=e.className,_=e.onResize,T=e.style,C=T===void 0?{}:T,O=P.useRef(null),E=P.useRef();E.current=_,P.useImperativeHandle(t,function(){return Object.defineProperty(O.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),O.current},configurable:!0})});var M=P.useState({containerWidth:i.width,containerHeight:i.height}),D=JX(M,2),k=D[0],B=D[1],q=P.useCallback(function(F,X){B(function(Y){var L=Math.round(F),H=Math.round(X);return Y.containerWidth===L&&Y.containerHeight===H?Y:{containerWidth:L,containerHeight:H}})},[]);P.useEffect(function(){var F=function(ae){var oe,z=ae[0].contentRect,G=z.width,re=z.height;q(G,re),(oe=E.current)===null||oe===void 0||oe.call(E,G,re)};w>0&&(F=xz(F,w,{trailing:!0,leading:!1}));var X=new ResizeObserver(F),Y=O.current.getBoundingClientRect(),L=Y.width,H=Y.height;return q(L,H),X.observe(O.current),function(){X.disconnect()}},[q,w]);var $=P.useMemo(function(){var F=k.containerWidth,X=k.containerHeight;if(F<0||X<0)return null;Pr(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),Pr(!n||n>0,"The aspect(%s) must be greater than zero.",n);var Y=fs(l)?F:l,L=fs(f)?X:f;n&&n>0&&(Y?L=Y/n:L&&(Y=L*n),g&&L>g&&(L=g)),Pr(Y>0||L>0,`The width(%s) and height(%s) of chart should be greater than 0,
|
|||
|
|
please check the style of container, or the props width(%s) and height(%s),
|
|||
|
|
or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the
|
|||
|
|
height and width.`,Y,L,l,f,m,y,n);var H=!Array.isArray(j)&&Ea(j.type).endsWith("Chart");return I.Children.map(j,function(Q){return I.isValidElement(Q)?P.cloneElement(Q,$d({width:Y,height:L},H?{style:$d({height:"100%",width:"100%",maxHeight:L,maxWidth:Y},Q.props.style)}:{})):Q})},[n,j,f,g,y,m,k,l]);return I.createElement("div",{id:b?"".concat(b):void 0,className:Pe("recharts-responsive-container",A),style:$d($d({},C),{},{width:l,height:f,minWidth:m,minHeight:y,maxHeight:g}),ref:O},$)}),Xp=function(t){return null};Xp.displayName="Cell";function yu(e){"@babel/helpers - typeof";return yu=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},yu(e)}function kP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function aj(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?kP(Object(n),!0).forEach(function(r){aW(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function aW(e,t,n){return t=iW(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iW(e){var t=sW(e,"string");return yu(t)=="symbol"?t:t+""}function sW(e,t){if(yu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(yu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var bo={widthCache:{},cacheCount:0},oW=2e3,lW={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},DP="recharts_measurement_span";function cW(e){var t=aj({},e);return Object.keys(t).forEach(function(n){t[n]||delete t[n]}),t}var Jc=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||Pi.isSsr)return{width:0,height:0};var r=cW(n),i=JSON.stringify({text:t,copyStyle:r});if(bo.widthCache[i])return bo.widthCache[i];try{var o=document.getElementById(DP);o||(o=document.createElement("span"),o.setAttribute("id",DP),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var l=aj(aj({},lW),r);Object.assign(o.style,l),o.textContent="".concat(t);var u=o.getBoundingClientRect(),f={width:u.width,height:u.height};return bo.widthCache[i]=f,++bo.cacheCount>oW&&(bo.cacheCount=0,bo.widthCache={}),f}catch{return{width:0,height:0}}},uW=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function vu(e){"@babel/helpers - typeof";return vu=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},vu(e)}function Dh(e,t){return pW(e)||hW(e,t)||dW(e,t)||fW()}function fW(){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 dW(e,t){if(e){if(typeof e=="string")return LP(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 LP(e,t)}}function LP(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 hW(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],f=!0,h=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;f=!1}else for(;!(f=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){h=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function pW(e){if(Array.isArray(e))return e}function mW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zP(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,vW(r.key),r)}}function yW(e,t,n){return t&&zP(e.prototype,t),n&&zP(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function vW(e){var t=gW(e,"string");return vu(t)=="symbol"?t:t+""}function gW(e,t){if(vu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(vu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var $P=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,BP=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,xW=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,bW=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,bz={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},jW=Object.keys(bz),Co="NaN";function SW(e,t){return e*bz[t]}var Bd=(function(){function e(t,n){mW(this,e),this.num=t,this.unit=n,this.num=t,this.unit=n,Number.isNaN(t)&&(this.unit=""),n!==""&&!xW.test(n)&&(this.num=NaN,this.unit=""),jW.includes(n)&&(this.num=SW(t,n),this.unit="px")}return yW(e,[{key:"add",value:function(n){return this.unit!==n.unit?new e(NaN,""):new e(this.num+n.num,this.unit)}},{key:"subtract",value:function(n){return this.unit!==n.unit?new e(NaN,""):new e(this.num-n.num,this.unit)}},{key:"multiply",value:function(n){return this.unit!==""&&n.unit!==""&&this.unit!==n.unit?new e(NaN,""):new e(this.num*n.num,this.unit||n.unit)}},{key:"divide",value:function(n){return this.unit!==""&&n.unit!==""&&this.unit!==n.unit?new e(NaN,""):new e(this.num/n.num,this.unit||n.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],[{key:"parse",value:function(n){var r,i=(r=bW.exec(n))!==null&&r!==void 0?r:[],o=Dh(i,3),l=o[1],u=o[2];return new e(parseFloat(l),u??"")}}])})();function jz(e){if(e.includes(Co))return Co;for(var t=e;t.includes("*")||t.includes("/");){var n,r=(n=$P.exec(t))!==null&&n!==void 0?n:[],i=Dh(r,4),o=i[1],l=i[2],u=i[3],f=Bd.parse(o??""),h=Bd.parse(u??""),m=l==="*"?f.multiply(h):f.divide(h);if(m.isNaN())return Co;t=t.replace($P,m.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var y,g=(y=BP.exec(t))!==null&&y!==void 0?y:[],j=Dh(g,4),S=j[1],w=j[2],b=j[3],A=Bd.parse(S??""),_=Bd.parse(b??""),T=w==="+"?A.add(_):A.subtract(_);if(T.isNaN())return Co;t=t.replace(BP,T.toString())}return t}var IP=/\(([^()]*)\)/;function wW(e){for(var t=e;t.includes("(");){var n=IP.exec(t),r=Dh(n,2),i=r[1];t=t.replace(IP,jz(i))}return t}function AW(e){var t=e.replace(/\s+/g,"");return t=wW(t),t=jz(t),t}function OW(e){try{return AW(e)}catch{return Co}}function u0(e){var t=OW(e.slice(5,-1));return t===Co?"":t}var _W=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],TW=["dx","dy","angle","className","breakAll"];function ij(){return ij=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function CW(e,t){if(e){if(typeof e=="string")return VP(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 VP(e,t)}}function VP(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 MW(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],f=!0,h=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;f=!1}else for(;!(f=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){h=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function PW(e){if(Array.isArray(e))return e}var Sz=/[ \f\n\r\t\v\u2028\u2029]+/,wz=function(t){var n=t.children,r=t.breakAll,i=t.style;try{var o=[];Ne(n)||(r?o=n.toString().split(""):o=n.toString().split(Sz));var l=o.map(function(f){return{word:f,width:Jc(f,i).width}}),u=r?0:Jc(" ",i).width;return{wordsWithComputedWidth:l,spaceWidth:u}}catch{return null}},RW=function(t,n,r,i,o){var l=t.maxLines,u=t.children,f=t.style,h=t.breakAll,m=ce(l),y=u,g=function(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Y.reduce(function(L,H){var Q=H.word,ae=H.width,oe=L[L.length-1];if(oe&&(i==null||o||oe.width+ae+r<Number(i)))oe.words.push(Q),oe.width+=ae+r;else{var z={words:[Q],width:ae};L.push(z)}return L},[])},j=g(n),S=function(Y){return Y.reduce(function(L,H){return L.width>H.width?L:H})};if(!m)return j;for(var w="…",b=function(Y){var L=y.slice(0,Y),H=wz({breakAll:h,style:f,children:L+w}).wordsWithComputedWidth,Q=g(H),ae=Q.length>l||S(Q).width>Number(i);return[ae,Q]},A=0,_=y.length-1,T=0,C;A<=_&&T<=y.length-1;){var O=Math.floor((A+_)/2),E=O-1,M=b(E),D=UP(M,2),k=D[0],B=D[1],q=b(O),$=UP(q,1),F=$[0];if(!k&&!F&&(A=O+1),k&&F&&(_=O-1),!k&&F){C=B;break}T++}return C||j},HP=function(t){var n=Ne(t)?[]:t.toString().split(Sz);return[{words:n}]},kW=function(t){var n=t.width,r=t.scaleToFit,i=t.children,o=t.style,l=t.breakAll,u=t.maxLines;if((n||r)&&!Pi.isSsr){var f,h,m=wz({breakAll:l,children:i,style:o});if(m){var y=m.wordsWithComputedWidth,g=m.spaceWidth;f=y,h=g}else return HP(i);return RW({breakAll:l,children:i,maxLines:u,style:o},f,h,n,r)}return HP(i)},GP="#808080",As=function(t){var n=t.x,r=n===void 0?0:n,i=t.y,o=i===void 0?0:i,l=t.lineHeight,u=l===void 0?"1em":l,f=t.capHeight,h=f===void 0?"0.71em":f,m=t.scaleToFit,y=m===void 0?!1:m,g=t.textAnchor,j=g===void 0?"start":g,S=t.verticalAnchor,w=S===void 0?"end":S,b=t.fill,A=b===void 0?GP:b,_=qP(t,_W),T=P.useMemo(function(){return kW({breakAll:_.breakAll,children:_.children,maxLines:_.maxLines,scaleToFit:y,style:_.style,width:_.width})},[_.breakAll,_.children,_.maxLines,y,_.style,_.width]),C=_.dx,O=_.dy,E=_.angle,M=_.className,D=_.breakAll,k=qP(_,TW);if(!Kt(r)||!Kt(o))return null;var B=r+(ce(C)?C:0),q=o+(ce(O)?O:0),$;switch(w){case"start":$=u0("calc(".concat(h,")"));break;case"middle":$=u0("calc(".concat((T.length-1)/2," * -").concat(u," + (").concat(h," / 2))"));break;default:$=u0("calc(".concat(T.length-1," * -").concat(u,")"));break}var F=[];if(y){var X=T[0].width,Y=_.width;F.push("scale(".concat((ce(Y)?Y/X:1)/X,")"))}return E&&F.push("rotate(".concat(E,", ").concat(B,", ").concat(q,")")),F.length&&(k.transform=F.join(" ")),I.createElement("text",ij({},je(k,!0),{x:B,y:q,className:Pe("recharts-text",M),textAnchor:j,fill:A.includes("url")?GP:A}),T.map(function(L,H){var Q=L.words.join(D?"":" ");return I.createElement("tspan",{x:B,dy:H===0?$:u,key:"".concat(Q,"-").concat(H)},Q)}))};function Ai(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function DW(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Tw(e){let t,n,r;e.length!==2?(t=Ai,n=(u,f)=>Ai(e(u),f),r=(u,f)=>e(u)-f):(t=e===Ai||e===DW?e:LW,n=e,r=e);function i(u,f,h=0,m=u.length){if(h<m){if(t(f,f)!==0)return m;do{const y=h+m>>>1;n(u[y],
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wJ(e,t){if(e){if(typeof e=="string")return hj(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 hj(e,t)}}function AJ(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function OJ(e){if(Array.isArray(e))return hj(e)}function hj(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 _J=function(t){return t},c5={},u5=function(t){return t===c5},IR=function(t){return function n(){return arguments.length===0||arguments.length===1&&u5(arguments.length<=0?void 0:arguments[0])?n:t.apply(void 0,arguments)}},TJ=function e(t,n){return t===1?n:IR(function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var l=i.filter(function(u){return u!==c5}).length;return l>=t?n.apply(void 0,i):e(t-l,IR(function(){for(var u=arguments.length,f=new Array(u),h=0;h<u;h++)f[h]=arguments[h];var m=i.map(function(y){return u5(y)?f.shift():y});return n.apply(void 0,jJ(m).concat(f))}))})},am=function(t){return TJ(t.length,t)},pj=function(t,n){for(var r=[],i=t;i<n;++i)r[i-t]=i;return r},EJ=am(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(n){return t[n]}).map(e)}),NJ=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.length)return _J;var i=n.reverse(),o=i[0],l=i.slice(1);return function(){return l.reduce(function(u,f){return f(u)},o.apply(void 0,arguments))}},mj=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},f5=function(t){var n=null,r=null;return function(){for(var i=arguments.length,o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];return n&&o.every(function(u,f){return u===n[f]})||(n=o,r=t.apply(void 0,o)),r}};function CJ(e){var t;return e===0?t=1:t=Math.floor(new lt(e).abs().log(10).toNumber())+1,t}function MJ(e,t,n){for(var r=new lt(e),i=0,o=[];r.lt(t)&&i<1e5;)o.push(r.toNumber()),r=r.add(n),i++;return o}var PJ=am(function(e,t,n){var r=+e,i=+t;return r+n*(i-r)}),RJ=am(function(e,t,n){var r=t-+e;return r=r||1/0,(n-e)/r}),kJ=am(function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))});const im={rangeStep:MJ,getDigitCount:CJ,interpolateNumber:PJ,uninterpolateNumber:RJ,uninterpolateTruncation:kJ};function yj(e){return zJ(e)||LJ(e)||d5(e)||DJ()}function DJ(){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 LJ(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function zJ(e){if(Array.isArray(e))return vj(e)}function Au(e,t){return IJ(e)||BJ(e,t)||d5(e,t)||$J()}function $J(){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 d5(e,t){if(e){if(typeof e=="string")return vj(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 vj(e,t)}}function vj(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 BJ(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,o=void 0;try{for(var l=e[Symbol.iterator](),u;!(r=(u=l.next()).done)&&(n.push(u.value),!(t&&n.length===t));r=!0);}catch(f){i=!0,o=f}finally{try{!r&&l.return!=null&&l.return()}finally{if(i)throw o}}return n}}function IJ(e){if(Array.isArray(e))return e}function h5(e){var t=Au(e,2),n=t[0],r=t[1],i=n,o=r;return n>r&&(i=r,o=n),[i,o]}function p5(e,t,n){if(e.lte(0))return new lt(0);var r=im.getDigitCount(e.toNumber()),i=new lt(10).pow(r),o=e.div(i),l=r!==1?.05:.1,u=new lt(Math.ceil(o.div(l).toNumber())).add(n).mul(l),f=u.mul(i);return t?f:new lt(Math.ceil(f))}function qJ(e,t,n){var r=1,i=new lt(e);if(!i.isint()&&n){var o=Math.abs(e);o<1?(r=new lt(10).pow(im.getDigitCount(e)-1),i=new lt(Math.floor(i.div(r).toNumber())).mul(r)):o>1&&(i=new lt(Math.floor(e)))}else e===0?i=new lt(Math.floor((t-1)/2)):n||(i=new lt(Math.floor(e)));var l=Math.floor((t-1)/2),u=NJ(EJ(function(f){return i.add(new lt(f-l).mul(r)).toNumber()}),pj);return u(0,t)}function m5(e,t,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new lt(0),tickMin:new lt(0),tickMax:new lt(0)};var o=p5(new lt(t).sub(e).div(n-1),r,i),l;e<=0&&t>=0?l=new lt(0):(l=new lt(e).add(t).div(2),l=l.sub(new lt(l).mod(o)));var u=Math.ceil(l.sub(e).div(o).toNumber()),f=Math.ceil(new lt(t).sub(l).div(o).toNumber()),h=u+f+1;return h>n?m5(e,t,n,r,i+1):(h<n&&(f=t>0?f+(n-h):f,u=t>0?u:u+(n-h)),{step:o,tickMin:l.sub(new lt(u).mul(o)),tickMax:l.add(new lt(f).mul(o))})}function UJ(e){var t=Au(e,2),n=t[0],r=t[1],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,l=Math.max(i,2),u=h5([n,r]),f=Au(u,2),h=f[0],m=f[1];if(h===-1/0||m===1/0){var y=m===1/0?[h].concat(yj(pj(0,i-1).map(function(){return 1/0}))):[].concat(yj(pj(0,i-1).map(function(){return-1/0})),[m]);return n>r?mj(y):y}if(h===m)return qJ(h,i,o);var g=m5(h,m,l,o),j=g.step,S=g.tickMin,w=g.tickMax,b=im.rangeStep(S,w.add(new lt(.1).mul(j)),j);return n>r?mj(b):b}function VJ(e,t){var n=Au(e,2),r=n[0],i=n[1],o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,l=h5([r,i]),u=Au(l,2),f=u[0],h=u[1];if(f===-1/0||h===1/0)return[r,i];if(f===h)return[f];var m=Math.max(t,2),y=p5(new lt(h).sub(f).div(m-1),o,0),g=[].concat(yj(im.rangeStep(new lt(f),new lt(h).sub(new lt(.99).mul(y)),y)),[h]);return r>i?mj(g):g}var HJ=f5(UJ),GJ=f5(VJ),FJ="Invariant failed";function Ts(e,t){throw new Error(FJ)}var KJ=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function Qo(e){"@babel/helpers - typeof";return Qo=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},Qo(e)}function Yh(){return Yh=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},Yh.apply(this,arguments)}function YJ(e,t){return QJ(e)||ZJ(e,t)||WJ(e,t)||XJ()}function XJ(){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 WJ(e,t){if(e){if(typeof e=="string")return qR(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 qR(e,t)}}function qR(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 ZJ(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],f=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(f=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){h=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function QJ(e){if(Array.isArray(e))return e}function JJ(e,t){if(e==null)return{};var n=eee(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function eee(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 tee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nee(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,g5(r.key),r)}}function ree(e,t,n){return t&&nee(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function aee(e,t,n){return t=Xh(t),iee(e,y5()?Reflect.construct(t,n||[],Xh(e).constructor):t.apply(e,n))}function iee(e,t){if(t&&(Qo(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return see(e)}function see(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y5(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(y5=function(){return!!e})()}function Xh(e){return Xh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Xh(e)}function oee(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&&gj(e,t)}function gj(e,t){return gj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},gj(e,t)}function v5(e,t,n){return t=g5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g5(e){var t=lee(e,"string");return Qo(t)=="symbol"?t:t+""}function lee(e,t){if(Qo(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Qo(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var of=(function(e){function t(){return tee(this,t),aee(this,t,arguments)}return oee(t,e),ree(t,[{key:"render",value:function(){var r=this.props,i=r.offset,o=r.layout,l=r.width,u=r.dataKey,f=r.data,h=r.dataPointFormatter,m=r.xAxis,y=r.yAxis,g=JJ(r,KJ),j=je(g,!1);this.props.direction==="x"&&m.type!=="number"&&Ts();var S=f.map(function(w){var b=h(w,u),A=b.x,_=b.y,T=b.value,C=b.errorVal;if(!C)return null;var O=[],E,M;if(Array.isArray(C)){var D=YJ(C,2);E=D[0],M=D[1]}else E=M=C;if(o==="vertical"){var k=m.scale,B=_+i,q=B+l,$=B-l,F=k(T-E),X=k(T+M);O.push({x1:X,y1:q,x2:X,y2:$}),O.push({x1:F,y1:B,x2:X,y2:B}),O.push({x1:F,y1:q,x2:F,y2:$})}else if(o==="horizontal"){var Y=y.scale,L=A+i,H=L-l,Q=L+l,ae=Y(T-E),oe=Y(T+M);O.push({x1:H,y1:oe,x2:Q,y2:oe}),O.push({x1:L,y1:ae,x2:L,y2:oe}),O.push({x1:H,y1:ae,x2:Q,y2:ae})}return I.createElement(Ie,Yh({className:"recharts-errorBar",key:"bar-".concat(O.map(function(z){return"".co
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hee(e,t){if(e){if(typeof e=="string")return xj(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 xj(e,t)}}function pee(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mee(e){if(Array.isArray(e))return xj(e)}function xj(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 HR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Mt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?HR(Object(n),!0).forEach(function(r){Bo(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))})}return e}function Bo(e,t,n){return t=yee(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yee(e){var t=vee(e,"string");return _u(t)=="symbol"?t:t+""}function vee(e,t){if(_u(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(_u(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kt(e,t,n){return Ne(e)||Ne(t)?n:Kt(t)?Xn(e,t,n):Te(t)?t(e):n}function tu(e,t,n,r){var i=mJ(e,function(u){return kt(u,t)});if(n==="number"){var o=i.filter(function(u){return ce(u)||parseFloat(u)});return o.length?[rm(o),ji(o)]:[1/0,-1/0]}var l=r?i.filter(function(u){return!Ne(u)}):i;return l.map(function(u){return Kt(u)||u instanceof Date?u:""})}var gee=function(t){var n,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,l=-1,u=(n=r==null?void 0:r.length)!==null&&n!==void 0?n:0;if(u<=1)return 0;if(o&&o.axisType==="angleAxis"&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var f=o.range,h=0;h<u;h++){var m=h>0?i[h-1].coordinate:i[u-1].coordinate,y=i[h].coordinate,g=h>=u-1?i[0].coordinate:i[h+1].coordinate,j=void 0;if(bn(y-m)!==bn(g-y)){var S=[];if(bn(g-y)===bn(f[1]-f[0])){j=g;var w=y+f[1]-f[0];S[0]=Math.min(w,(w+m)/2),S[1]=Math.max(w,(w+m)/2)}else{j=m;var b=g+f[1]-f[0];S[0]=Math.min(y,(b+y)/2),S[1]=Math.max(y,(b+y)/2)}var A=[Math.min(y,(j+y)/2),Math.max(y,(j+y)/2)];if(t>A[0]&&t<=A[1]||t>=S[0]&&t<=S[1]){l=i[h].index;break}}else{var _=Math.min(m,g),T=Math.max(m,g);if(t>(_+y)/2&&t<=(T+y)/2){l=i[h].index;break}}}else for(var C=0;C<u;C++)if(C===0&&t<=(r[C].coordinate+r[C+1].coordinate)/2||C>0&&C<u-1&&t>(r[C].coordinate+r[C-1].coordinate)/2&&t<=(r[C].coordinate+r[C+1].coordinate)/2||C===u-1&&t>(r[C].coordinate+r[C-1].coordinate)/2){l=r[C].index;break}return l},Zw=function(t){var n,r=t,i=r.type.displayName,o=(n=t.type)!==null&&n!==void 0&&n.defaultProps?Mt(Mt({},t.type.defaultProps),t.props):t.props,l=o.stroke,u=o.fill,f;switch(i){case"Line":f=l;break;case"Area":case"Radar":f=l&&l!=="none"?l:u;break;default:f=u;break}return f},xee=function(t){var n=t.barSize,r=t.totalSize,i=t.stackGroups,o=i===void 0?{}:i;if(!o)return{};for(var l={},u=Object.keys(o),f=0,h=u.length;f<h;f++)for(var m=o[u[f]].stackGroups,y=Object.keys(m),g=0,j=y.length;g<j;g++){var S=m[y[g]],w=S.items,b=S.cateAxisId,A=w.filter(function(M){return Ea(M.type).indexOf("Bar")>=0});if(A&&A.length){var _=A[0].type.defaultProps,T=_!==void 0?Mt(Mt({},_),A[0].props):A[0].props,C=T.barSize,O=T[b];l[O]||(l[O]=[]);var E=Ne(C)?n:C;l[O].push({item:A[0],stackList:A.slice(1),barSize:Ne(E)?void 0:jn(E,r,0)})}}return l},bee=function(t){var n=t.barGap,r=t.barCategoryGap,i=t.bandSize,o=t.sizeList,l=o===void 0?[]:o,u=t.maxBarSize,f=l.length;if(f<1)ret
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $ee(e,t){if(e){if(typeof e=="string")return ZR(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 ZR(e,t)}}function ZR(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 Bee(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],f=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(f=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){h=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function Iee(e){if(Array.isArray(e))return e}var Qh=Math.PI/180,qee=function(t){return t*180/Math.PI},mt=function(t,n,r,i){return{x:t+Math.cos(-Qh*i)*r,y:n+Math.sin(-Qh*i)*r}},C5=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(t-(r.left||0)-(r.right||0)),Math.abs(n-(r.top||0)-(r.bottom||0)))/2},Uee=function(t,n,r,i,o){var l=t.width,u=t.height,f=t.startAngle,h=t.endAngle,m=jn(t.cx,l,l/2),y=jn(t.cy,u,u/2),g=C5(l,u,r),j=jn(t.innerRadius,g,0),S=jn(t.outerRadius,g,g*.8),w=Object.keys(n);return w.reduce(function(b,A){var _=n[A],T=_.domain,C=_.reversed,O;if(Ne(_.range))i==="angleAxis"?O=[f,h]:i==="radiusAxis"&&(O=[j,S]),C&&(O=[O[1],O[0]]);else{O=_.range;var E=O,M=Lee(E,2);f=M[0],h=M[1]}var D=A5(_,o),k=D.realScaleType,B=D.scale;B.domain(T).range(O),O5(B);var q=_5(B,Aa(Aa({},_),{},{realScaleType:k})),$=Aa(Aa(Aa({},_),q),{},{range:O,radius:S,realScaleType:k,scale:B,cx:m,cy:y,innerRadius:j,outerRadius:S,startAngle:f,endAngle:h});return Aa(Aa({},b),{},N5({},A,$))},{})},Vee=function(t,n){var r=t.x,i=t.y,o=n.x,l=n.y;return Math.sqrt(Math.pow(r-o,2)+Math.pow(i-l,2))},Hee=function(t,n){var r=t.x,i=t.y,o=n.cx,l=n.cy,u=Vee({x:r,y:i},{x:o,y:l});if(u<=0)return{radius:u};var f=(r-o)/u,h=Math.acos(f);return i>l&&(h=2*Math.PI-h),{radius:u,angle:qee(h),angleInRadian:h}},Gee=function(t){var n=t.startAngle,r=t.endAngle,i=Math.floor(n/360),o=Math.floor(r/360),l=Math.min(i,o);return{startAngle:n-l*360,endAngle:r-l*360}},Fee=function(t,n){var r=n.startAngle,i=n.endAngle,o=Math.floor(r/360),l=Math.floor(i/360),u=Math.min(o,l);return t+u*360},QR=function(t,n){var r=t.x,i=t.y,o=Hee({x:r,y:i},n),l=o.radius,u=o.angle,f=n.innerRadius,h=n.outerRadius;if(l<f||l>h)return!1;if(l===0)return!0;var m=Gee(n),y=m.startAngle,g=m.endAngle,j=u,S;if(y<=g){for(;j>g;)j-=360;for(;j<y;)j+=360;S=j>=y&&j<=g}else{for(;j>y;)j-=360;for(;j<g;)j+=360;S=j>=g&&j<=y}return S?Aa(Aa({},n),{},{radius:l,angle:Fee(j,n)}):null},M5=function(t){return!P.isValidElement(t)&&!Te(t)&&typeof t!="boolean"?t.className:""};function Eu(e){"@babel/helpers - typeof";return Eu=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},Eu(e)}var Kee=["offset"];function Yee(e){return Qee(e)||Zee(e)||Wee(e)||Xee()}function Xee(){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 Wee(e,t){if(e){if(typeof e=="string")return jj(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 jj(e,t)}}function Zee(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Qee(e){if(Array.isArray(e))return jj(e)}function jj(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 Jee(e,t){if(e==null)return{};var n=ete(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ete(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 JR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ht(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?JR(Object(n),!0).forEach(function(r){tte(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JR(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function tte(e,t,n){return t=nte(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nte(e){var t=rte(e,"string");return Eu(t)=="symbol"?t:t+""}function rte(e,t){if(Eu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Eu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Nu(){return Nu=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},Nu.apply(this,arguments)}var ate=function(t){var n=t.value,r=t.formatter,i=Ne(t.children)?n:t.children;return Te(r)?r(i):i},ite=function(t,n){var r=bn(n-t),i=Math.min(Math.abs(n-t),360);return r*i},ste=function(t,n,r){var i=t.position,o=t.viewBox,l=t.offset,u=t.className,f=o,h=f.cx,m=f.cy,y=f.innerRadius,g=f.outerRadius,j=f.startAngle,S=f.endAngle,w=f.clockWise,b=(y+g)/2,A=ite(j,S),_=A>=0?1:-1,T,C;i==="insideStart"?(T=j+_*l,C=w):i==="insideEnd"?(T=S-_*l,C=!w):i==="end"&&(T=S+_*l,C=w),C=A<=0?C:!C;var O=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(b,",").concat(b,",0,1,").concat(C?0:1,`,
|
|||
|
|
`).concat(E.x,",").concat(E.y),D=Ne(t.id)?Ms("recharts-radial-line-"):t.id;return I.createElement("text",Nu({},r,{dominantBaseline:"central",className:Pe("recharts-radial-bar-label",u)}),I.createElement("defs",null,I.createElement("path",{id:D,d:M})),I.createElement("textPath",{xlinkHref:"#".concat(D)},n))},ote=function(t){var n=t.viewBox,r=t.offset,i=t.position,o=n,l=o.cx,u=o.cy,f=o.innerRadius,h=o.outerRadius,m=o.startAngle,y=o.endAngle,g=(m+y)/2;if(i==="outside"){var j=mt(l,u,h+r,g),S=j.x,w=j.y;return{x:S,y:w,textAnchor:S>=l?"start":"end",verticalAnchor:"middle"}}if(i==="center")return{x:l,y:u,textAnchor:"middle",verticalAnchor:"middle"};if(i==="centerTop")return{x:l,y:u,textAnchor:"middle",verticalAnchor:"start"};if(i==="centerBottom")return{x:l,y:u,textAnchor:"middle",verticalAnchor:"end"};var b=(f+h)/2,A=mt(l,u,b,g),_=A.x,T=A.y;return{x:_,y:T,textAnchor:"middle",verticalAnchor:"middle"}},lte=function(t){var n=t.viewBox,r=t.parentViewBox,i=t.offset,o=t.position,l=n,u=l.x,f=l.y,h=l.width,m=l.height,y=m>=0?1:-1,g=y*i,j=y>0?"end":"start",S=y>0?"start":"end",w=h>=0?1:-1,b=w*i,A=w>0?"end":"start",_=w>0?"start":"end";if(o==="top"){var T={x:u+h/2,y:f-y*i,textAnchor:"middle",verticalAnchor:j};return Ht(Ht({},T),r?{height:Math.max(f-r.y,0),width:h}:{})}if(o==="bottom"){var C={x:u+h/2,y:f+m+g,textAnchor:"middle",verticalAnchor:S};return Ht(Ht({},C),r?{height:Math.max(r.y+r.height-(f+m),0),width:h}:{})}if(o==="left"){var O={x:u-b,y:f+m/2,textAnchor:A,verticalAnchor:"middle"};return Ht(Ht({},O),r?{width:Math.max(O.x-r.x,0),height:m}:{})}if(o==="right"){var E={x:u+h+b,y:f+m/2,textAnchor:_,verticalAnchor:"middle"};return Ht(Ht({},E),r?{width:Math.max(r.x+r.width-E.x,0),height:m}:{})}var M=r?{width:h,height:m}:{};return o==="insideLeft"?Ht({x:u+b,y:f+m/2,textAnchor:_,verticalAnchor:"middle"},M):o==="insideRight"?Ht({x:u+h-b,y:f+m/2,textAnchor:A,verticalAnchor:"middle"},M):o==="insideTop"?Ht({x:u+h/2,y:f+g,textAnchor:"middle",verticalAnchor:S},M):o==="insideBottom"?Ht({x:u+h/2,y:f+m-g,textAnchor:"middle",verticalAnchor:j},M):o==="insideTopLeft"?Ht({x:u+b,y:f+g,textAnchor:_,verticalAnchor:S},M):o==="insideTopRight"?Ht({x:u+h-b,y:f+g,textAnchor:A,verticalAnchor:S},M):o==="insideBottomLeft"?Ht({x:u+b,y:f+m-g,textAnchor:_,verticalAnchor:j},M):o==="insideBottomRight"?Ht({x:u+h-b,y:f+m-g,textAnchor:A,verticalAnchor:j},M):Ol(o)&&(ce(o.x)||fs(o.x))&&(ce(o.y)||fs(o.y))?Ht({x:u+jn(o.x,h),y:f+jn(o.y,m),textAnchor:"end",verticalAnchor:"end"},M):Ht({x:u+h/2,y:f+m/2,textAnchor:"middle",verticalAnchor:"middle"},M)},cte=function(t){return"cx"in t&&ce(t.cx)};function Jt(e){var t=e.offset,n=t===void 0?5:t,r=Jee(e,Kee),i=Ht({offset:n},r),o=i.viewBox,l=i.position,u=i.value,f=i.children,h=i.content,m=i.className,y=m===void 0?"":m,g=i.textBreakAll;if(!o||Ne(u)&&Ne(f)&&!P.isValidElement(h)&&!Te(h))return null;if(P.isValidElement(h))return P.cloneElement(h,i);var j;if(Te(h)){if(j=P.createElement(h,i),P.isValidElement(j))return j}else j=ate(i);var S=cte(o),w=je(i,!0);if(S&&(l==="insideStart"||l==="insideEnd"||l==="end"))return ste(i,j,w);var b=S?ote(i):lte(i);return I.createElement(As,Nu({className:Pe("recharts-label",y)},w,b,{breakAll:g}),j)}Jt.displayName="Label";var P5=function(t){var n=t.cx,r=t.cy,i=t.angle,o=t.startAngle,l=t.endAngle,u=t.r,f=t.radius,h=t.innerRadius,m=t.outerRadius,y=t.x,g=t.y,j=t.top,S=t.left,w=t.width,b=t.height,A=t.clockWise,_=t.labelViewBox;if(_)return _;if(ce(w)&&ce(b)){if(ce(y)&&ce(g))return{x:y,y:g,width:w,height:b};if(ce(j)&&ce(S))return{x:j,y:S,width:w,height:b}}return ce(y)&&ce(g)?{x:y,y:g,width:0,height:0}:ce(n)&&ce(r)?{cx:n,cy:r,startAngle:o||i||0,endAngle:l||i||0,innerRadius:h||0,outerRadius:m||f||u||0,clockWise:A}:t.viewBox?t.viewBox:{}},ute=function(t,n){return t?t===!0?I.createElement(Jt,{key:"label-implicit",viewBox:n}):Kt(t)?I.createElement(Jt,{key:"label-implicit",viewBox:n,value:t}):P.isValidElement(t)?t.type===Jt?P.cloneElement(t,{key:"label-implicit",viewBox:n}):I.createElement(Jt,{key:"label-implicit",content:t,viewBox:n}):Te(t)?I.createElement(Jt,{key:"label-implicit",content:t,viewBox:n}):Ol(t)?I.createEl
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xte(e,t){if(e){if(typeof e=="string")return Sj(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 Sj(e,t)}}function bte(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function jte(e){if(Array.isArray(e))return Sj(e)}function Sj(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 Jh(){return Jh=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},Jh.apply(this,arguments)}function tk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function nk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?tk(Object(n),!0).forEach(function(r){Ste(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ste(e,t,n){return t=wte(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wte(e){var t=Ate(e,"string");return Cu(t)=="symbol"?t:t+""}function Ate(e,t){if(Cu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Cu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function rk(e,t){if(e==null)return{};var n=Ote(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ote(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}var _te=function(t){return Array.isArray(t.value)?pte(t.value):t.value};function Xr(e){var t=e.valueAccessor,n=t===void 0?_te:t,r=rk(e,mte),i=r.data,o=r.dataKey,l=r.clockWise,u=r.id,f=r.textBreakAll,h=rk(r,yte);return!i||!i.length?null:I.createElement(Ie,{className:"recharts-label-list"},i.map(function(m,y){var g=Ne(o)?n(m,y):kt(m&&m.payload,o),j=Ne(u)?{}:{id:"".concat(u,"-").concat(y)};return I.createElement(Jt,Jh({},je(m,!0),h,j,{parentViewBox:m.parentViewBox,value:g,textBreakAll:f,viewBox:Jt.parseViewBox(Ne(l)?m:nk(nk({},m),{},{clockWise:l})),key:"label-".concat(y),index:y}))}))}Xr.displayName="LabelList";function Tte(e,t){return e?e===!0?I.createElement(Xr,{key:"labelList-implicit",data:t}):I.isValidElement(e)||Te(e)?I.createElement(Xr,{key:"labelList-implicit",data:t,content:e}):Ol(e)?I.createElement(Xr,Jh({data:t},e,{key:"labelList-implicit"})):null:null}function Ete(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&n&&!e.label)return null;var r=e.children,i=Wn(r,Xr).map(function(l,u){return P.cloneElement(l,{data:t,key:"labelList-".concat(u)})});if(!n)return i;var o=Tte(e.label,t);return[o].concat(vte(i))}Xr.renderCallByParent=Ete;function Mu(e){"@babel/helpers - typeof";return Mu=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},Mu(e)}function wj(){return wj=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},wj.apply(this,arguments)}function ak(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(
|
|||
|
|
A `).concat(o,",").concat(o,`,0,
|
|||
|
|
`).concat(+(Math.abs(f)>180),",").concat(+(l>h),`,
|
|||
|
|
`).concat(y.x,",").concat(y.y,`
|
|||
|
|
`);if(i>0){var j=mt(n,r,i,l),S=mt(n,r,i,h);g+="L ".concat(S.x,",").concat(S.y,`
|
|||
|
|
A `).concat(i,",").concat(i,`,0,
|
|||
|
|
`).concat(+(Math.abs(f)>180),",").concat(+(l<=h),`,
|
|||
|
|
`).concat(j.x,",").concat(j.y," Z")}else g+="L ".concat(n,",").concat(r," Z");return g},Rte=function(t){var n=t.cx,r=t.cy,i=t.innerRadius,o=t.outerRadius,l=t.cornerRadius,u=t.forceCornerRadius,f=t.cornerIsExternal,h=t.startAngle,m=t.endAngle,y=bn(m-h),g=Hd({cx:n,cy:r,radius:o,angle:h,sign:y,cornerRadius:l,cornerIsExternal:f}),j=g.circleTangency,S=g.lineTangency,w=g.theta,b=Hd({cx:n,cy:r,radius:o,angle:m,sign:-y,cornerRadius:l,cornerIsExternal:f}),A=b.circleTangency,_=b.lineTangency,T=b.theta,C=f?Math.abs(h-m):Math.abs(h-m)-w-T;if(C<0)return u?"M ".concat(S.x,",").concat(S.y,`
|
|||
|
|
a`).concat(l,",").concat(l,",0,0,1,").concat(l*2,`,0
|
|||
|
|
a`).concat(l,",").concat(l,",0,0,1,").concat(-l*2,`,0
|
|||
|
|
`):R5({cx:n,cy:r,innerRadius:i,outerRadius:o,startAngle:h,endAngle:m});var O="M ".concat(S.x,",").concat(S.y,`
|
|||
|
|
A`).concat(l,",").concat(l,",0,0,").concat(+(y<0),",").concat(j.x,",").concat(j.y,`
|
|||
|
|
A`).concat(o,",").concat(o,",0,").concat(+(C>180),",").concat(+(y<0),",").concat(A.x,",").concat(A.y,`
|
|||
|
|
A`).concat(l,",").concat(l,",0,0,").concat(+(y<0),",").concat(_.x,",").concat(_.y,`
|
|||
|
|
`);if(i>0){var E=Hd({cx:n,cy:r,radius:i,angle:h,sign:y,isExternal:!0,cornerRadius:l,cornerIsExternal:f}),M=E.circleTangency,D=E.lineTangency,k=E.theta,B=Hd({cx:n,cy:r,radius:i,angle:m,sign:-y,isExternal:!0,cornerRadius:l,cornerIsExternal:f}),q=B.circleTangency,$=B.lineTangency,F=B.theta,X=f?Math.abs(h-m):Math.abs(h-m)-k-F;if(X<0&&l===0)return"".concat(O,"L").concat(n,",").concat(r,"Z");O+="L".concat($.x,",").concat($.y,`
|
|||
|
|
A`).concat(l,",").concat(l,",0,0,").concat(+(y<0),",").concat(q.x,",").concat(q.y,`
|
|||
|
|
A`).concat(i,",").concat(i,",0,").concat(+(X>180),",").concat(+(y>0),",").concat(M.x,",").concat(M.y,`
|
|||
|
|
A`).concat(l,",").concat(l,",0,0,").concat(+(y<0),",").concat(D.x,",").concat(D.y,"Z")}else O+="L".concat(n,",").concat(r,"Z");return O},kte={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},k5=function(t){var n=ik(ik({},kte),t),r=n.cx,i=n.cy,o=n.innerRadius,l=n.outerRadius,u=n.cornerRadius,f=n.forceCornerRadius,h=n.cornerIsExternal,m=n.startAngle,y=n.endAngle,g=n.className;if(l<o||m===y)return null;var j=Pe("recharts-sector",g),S=l-o,w=jn(u,S,0,!0),b;return w>0&&Math.abs(m-y)<360?b=Rte({cx:r,cy:i,innerRadius:o,outerRadius:l,cornerRadius:Math.min(w,S/2),forceCornerRadius:f,cornerIsExternal:h,startAngle:m,endAngle:y}):b=R5({cx:r,cy:i,innerRadius:o,outerRadius:l,startAngle:m,endAngle:y}),I.createElement("path",wj({},je(n,!0),{className:j,d:b,role:"img"}))};function Pu(e){"@babel/helpers - typeof";return Pu=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},Pu(e)}function Aj(){return Aj=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},Aj.apply(this,arguments)}function sk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ok(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?sk(Object(n),!0).forEach(function(r){Dte(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Dte(e,t,n){return t=Lte(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lte(e){var t=zte(e,"string");return Pu(t)=="symbol"?t:t+""}function zte(e,t){if(Pu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Pu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var lk={curveBasisClosed:rK,curveBasisOpen:aK,curveBasis:nK,curveBumpX:UF,curveBumpY:VF,curveLinearClosed:iK,curveLinear:Hp,curveMonotoneX:sK,curveMonotoneY:oK,curveNatural:lK,curveStep:cK,curveStepAfter:fK,curveStepBefore:uK},Gd=function(t){return t.x===+t.x&&t.y===+t.y},Lc=function(t){return t.x},zc=function(t){return t.y},$te=function(t,n){if(Te(t))return t;var r="curve".concat(Up(t));return(r==="curveMonotone"||r==="curveBump")&&n?lk["".concat(r).concat(n==="vertical"?"Y":"X")]:lk[r]||Hp},Bte=function(t){var n=t.type,r=n===void 0?"linear":n,i=t.points,o=i===void 0?[]:i,l=t.baseLine,u=t.layout,f=t.connectNulls,h=f===void 0?!1:f,m=$te(r,u),y=h?o.filter(function(w){return Gd(w)}):o,g;if(Array.isArray(l)){var j=h?l.filter(function(w){return Gd(w)}):l,S=y.map(function(w,b){return ok(ok({},w),{},{base:j[b]})});return u==="vertical"?g=Ld().y(zc).x1(Lc).x0(function(w){return w.base.x}):g=Ld().x(Lc).y1(zc).y0(function(w){return w.base.y}),g.defined(Gd).curve(m),g(S)}return u==="vertical"&&ce(l)?g=Ld().y(zc).x1(Lc).x0(l):ce(l)?g=Ld().x(Lc).y1(zc).y0(l):g=RL().x(Lc).y(zc),g.defined(Gd).curve(m),g(y)},bs=function(t){var n=t.className,r=t.points,i=t.path,o=t.pathRef;if((!r||!r.length)&&!i)return null;var l=r&&r.length?Bte(t):i;return P.createElement("path",Aj({},je(t,!1),Ah(t),{className:Pe("recharts-curve",n),d:l,ref:o}))},N0={exports:{}},C0,ck;function Ite(){if(ck)return C0;ck=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return C0=e,C0}var M0,uk;function qte(){if(uk)return M0;uk=1;var e=Ite();function t(){}function n(){}return n.resetWarningCache=t,M0=function(){function r(l,u,f,h,m,y){if(y!==e){var g=new Error("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 Pne(e,t){if(e){if(typeof e=="string")return gk(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 gk(e,t)}}function gk(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 Rne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function kne(e){if(Array.isArray(e))return e}function Dne(){var e={},t=function(){return null},n=!1,r=function i(o){if(!n){if(Array.isArray(o)){if(!o.length)return;var l=o,u=Cne(l),f=u[0],h=u.slice(1);if(typeof f=="number"){vk(i.bind(null,h),f);return}i(f),vk(i.bind(null,h));return}Oj(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 Ru(e){"@babel/helpers - typeof";return Ru=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},Ru(e)}function xk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function bk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?xk(Object(n),!0).forEach(function(r){L5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function L5(e,t,n){return t=Lne(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lne(e){var t=zne(e,"string");return Ru(t)==="symbol"?t:String(t)}function zne(e,t){if(Ru(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ru(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var $ne=function(t,n){return[Object.keys(t),Object.keys(n)].reduce(function(r,i){return r.filter(function(o){return i.includes(o)})})},Bne=function(t){return t},Ine=function(t){return t.replace(/([A-Z])/g,function(n){return"-".concat(n.toLowerCase())})},nu=function(t,n){return Object.keys(n).reduce(function(r,i){return bk(bk({},r),{},L5({},i,t(i,n[i])))},{})},jk=function(t,n,r){return t.map(function(i){return"".concat(Ine(i)," ").concat(n,"ms ").concat(r)}).join(",")};function qne(e,t){return Hne(e)||Vne(e,t)||z5(e,t)||Une()}function Une(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Vne(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],f=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(f=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){h=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function Hne(e){if(Array.isArray(e))return e}function Gne(e){return Yne(e)||Kne(e)||z5(e)||Fne()}function Fne(){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 z5(e,t){if(e){if(typeof e=="string")return _j(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 _j(e,t)}}function Kne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Yne(e){if(Array.isArray(e))return _j(e)}function _j(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 tp=1e-4,$5=function(t,n){return[0,3*t,3*n-6*t,3*t-3*n+1]},B5=function(t,n){return t.map(function(r,i){return r*Math.pow(n,i)}).reduce(function(r,i){return r+i})},Sk=function(t,n){return function(r){var i=$5(t,n);return B5(i,r)}},Xne=function(t,n){return function(r){var i=$5(t,n),o=[].concat(Gne(i.map(function(l,u){return l*u}).slice(1)),[0]);return B5(o,r)}},wk=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0],o=n[1],l=n[2],u=n[3];if(n.length===1)switch(n[0]){case"linear":i=0,o=0,l=1,u=1;break;case"ease":i=.25,o=.1,l=.25,u=1;break;case"ease-in":i=.42,o=0,l=1,u=1;break;case"ease-out":i=.42,o=0,l=.58,u=1;break;case"ease-in-out":i=0,o=0,l=.58,u=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=qne(h,4);i=m[0],o=m[1],l=m[2],u=m[3]}}}var y=Sk(i,l),g=Sk(o,u),j=Xne(i,l),S=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=j(T);if(Math.abs(O-_)<tp||E<tp)return g(T);T=S(T-O/E)}return g(T)};return w.isStepper=!1,w},Wne=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.stiff,r=n===void 0?100:n,i=t.damping,o=i===void 0?8:i,l=t.dt,u=l===void 0?17:l,f=function(m,y,g){var j=-(m-y)*r,S=g*o,w=g+(j-S)*u/1e3,b=g*u/1e3+m;return Math.abs(b-y)<tp&&Math.abs(w)<tp?[y,0]:[b,w]};return f.isStepper=!0,f.dt=u,f},Zne=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0];if(typeof i=="string")switch(i){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return wk(i);case"spring":return Wne();default:if(i.split("(")[0]==="cubic-bezier")return wk(i)}return typeof i=="function"?i:null};function ku(e){"@babel/helpers - typeof";return ku=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},ku(e)}function Ak(e){return ere(e)||Jne(e)||I5(e)||Qne()}function Qne(){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 Jne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ere(e){if(Array.isArray(e))return Ej(e)}function Ok(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ln(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ok(Object(n),!0).forEach(function(r){Tj(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ok(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Tj(e,t,n){return t=tre(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tre(e){var t=nre(e,"string");return ku(t)==="symbol"?t:String(t)}function nre(e,t){if(ku(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ku(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function rre(e,t){return sre(e)||ire(e,t)||I5(e,t)||are()}function are(){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 I5(e,t){if(e){if(typeof e=="string")return Ej(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 Ej(e,t)}}function Ej(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 ire(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],f=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(f=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){h=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function sre(e){if(Array.isArray(e))return e}var np=function(t,n,r){return t+(n-t)*r},Nj=function(t){var n=t.from,r=t.to;return n!==r},ore=function e(t,n,r){var i=nu(function(o,l){if(Nj(l)){var u=t(l.from,l.to,l.velocity),f=rre(u,2),h=f[0],m=f[1];return ln(ln({},l),{},{from:h,velocity:m})}return l},n);return r<1?nu(function(o,l){return Nj(l)?ln(ln({},l),{},{velocity:np(l.velocity,i[o].velocity,r),from:np(l.from,i[o].from,r)}):l},n):e(t,i,r-1)};const lre=(function(e,t,n,r,i){var o=$ne(e,t),l=o.reduce(function(b,A){return ln(ln({},b),{},Tj({},A,[e[A],t[A]]))},{}),u=o.reduce(function(b,A){return ln(ln({},b),{},Tj({},A,{from:e[A],velocity:0,to:t[A]}))},{}),f=-1,h,m,y=function(){return null},g=function(){return nu(function(A,_){return _.from},u)},j=function(){return!Object.values(u).filter(Nj).length},S=function(A){h||(h=A);var _=A-h,T=_/n.dt;u=ore(n,u,T),i(ln(ln(ln({},e),t),g())),h=A,j()||(f=requestAnimationFrame(y))},w=function(A){m||(m=A);var _=(A-m)/r,T=nu(function(O,E){return np.apply(void 0,Ak(E).concat([n(_)]))},l);if(i(ln(ln(ln({},e),t),T)),_<1)f=requestAnimationFrame(y);else{var C=nu(function(O,E){return np.apply(void 0,Ak(E).concat([n(1)]))},l);i(ln(ln(ln({},e),t),C))}};return y=n.isStepper?S:w,function(){return requestAnimationFrame(y),function(){cancelAnimationFrame(f)}}});function Jo(e){"@babel/helpers - typeof";return Jo=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},Jo(e)}var cre=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function ure(e,t){if(e==null)return{};var n=fre(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function fre(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function R0(e){return mre(e)||pre(e)||hre(e)||dre()}function dre(){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 hre(e,t){if(e){if(typeof e=="string")return Cj(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 Cj(e,t)}}function pre(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mre(e){if(Array.isArray(e))return Cj(e)}function Cj(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 _k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ar(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_k(Object(n),!0).forEach(function(r){Gc(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_k(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Gc(e,t,n){return t=q5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vre(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,q5(r.key),r)}}function gre(e,t,n){return t&&vre(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function q5(e){var t=xre(e,"string");return Jo(t)==="symbol"?t:String(t)}function xre(e,t){if(Jo(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Jo(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bre(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&&Mj(e,t)}function Mj(e,t){return Mj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Mj(e,t)}function jre(e){var t=Sre();return function(){var r=rp(e),i;if(t){var o=rp(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Pj(this,i)}}function Pj(e,t){if(t&&(Jo(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Rj(e)}function Rj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sre(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function rp(e){return rp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},rp(e)}var kr=(function(e){bre(n,e);var t=jre(n);function n(r,i){var o;yre(this,n),o=t.call(this,r,i);var l=o.props,u=l.isActive,f=l.attributeName,h=l.from,m=l.to,y=l.steps,g=l.children,j=l.duration;if(o.handleStyleChange=o.handleStyleChange.bind(Rj(o)),o.changeStyle=o.changeStyle.bind(Rj(o)),!u||j<=0)return o.state={style:{}},typeof g=="function"&&(o.state={style:m}),Pj(o);if(y&&y.length)o.state={style:y[0].style};else if(h){if(typeof g=="function")return o.state={style:h},Pj(o);o.state={style:f?Gc({},f,h):h}}else o.state={style:{}};return o}return gre(n,[{key:"componentDidMount",value:function(){var i=this.props,o=i.isActive,l=i.canBegin;this.mounted=!0,!(!o||!l)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(i){var o=this.props,l=o.isActive,u=o.canBegin,f=o.
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ore(e,t){if(e){if(typeof e=="string")return Tk(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 Tk(e,t)}}function Tk(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 _re(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],f=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(f=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){h=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function Tre(e){if(Array.isArray(e))return e}function Ek(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Nk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ek(Object(n),!0).forEach(function(r){Ere(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ek(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ere(e,t,n){return t=Nre(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nre(e){var t=Cre(e,"string");return Du(t)=="symbol"?t:t+""}function Cre(e,t){if(Du(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Du(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ck=function(t,n,r,i,o){var l=Math.min(Math.abs(r)/2,Math.abs(i)/2),u=i>=0?1:-1,f=r>=0?1:-1,h=i>=0&&r>=0||i<0&&r<0?1:0,m;if(l>0&&o instanceof Array){for(var y=[0,0,0,0],g=0,j=4;g<j;g++)y[g]=o[g]>l?l:o[g];m="M".concat(t,",").concat(n+u*y[0]),y[0]>0&&(m+="A ".concat(y[0],",").concat(y[0],",0,0,").concat(h,",").concat(t+f*y[0],",").concat(n)),m+="L ".concat(t+r-f*y[1],",").concat(n),y[1]>0&&(m+="A ".concat(y[1],",").concat(y[1],",0,0,").concat(h,`,
|
|||
|
|
`).concat(t+r,",").concat(n+u*y[1])),m+="L ".concat(t+r,",").concat(n+i-u*y[2]),y[2]>0&&(m+="A ".concat(y[2],",").concat(y[2],",0,0,").concat(h,`,
|
|||
|
|
`).concat(t+r-f*y[2],",").concat(n+i)),m+="L ".concat(t+f*y[3],",").concat(n+i),y[3]>0&&(m+="A ".concat(y[3],",").concat(y[3],",0,0,").concat(h,`,
|
|||
|
|
`).concat(t,",").concat(n+i-u*y[3])),m+="Z"}else if(l>0&&o===+o&&o>0){var S=Math.min(l,o);m="M ".concat(t,",").concat(n+u*S,`
|
|||
|
|
A `).concat(S,",").concat(S,",0,0,").concat(h,",").concat(t+f*S,",").concat(n,`
|
|||
|
|
L `).concat(t+r-f*S,",").concat(n,`
|
|||
|
|
A `).concat(S,",").concat(S,",0,0,").concat(h,",").concat(t+r,",").concat(n+u*S,`
|
|||
|
|
L `).concat(t+r,",").concat(n+i-u*S,`
|
|||
|
|
A `).concat(S,",").concat(S,",0,0,").concat(h,",").concat(t+r-f*S,",").concat(n+i,`
|
|||
|
|
L `).concat(t+f*S,",").concat(n+i,`
|
|||
|
|
A `).concat(S,",").concat(S,",0,0,").concat(h,",").concat(t,",").concat(n+i-u*S," Z")}else m="M ".concat(t,",").concat(n," h ").concat(r," v ").concat(i," h ").concat(-r," Z");return m},Mre=function(t,n){if(!t||!n)return!1;var r=t.x,i=t.y,o=n.x,l=n.y,u=n.width,f=n.height;if(Math.abs(u)>0&&Math.abs(f)>0){var h=Math.min(o,o+u),m=Math.max(o,o+u),y=Math.min(l,l+f),g=Math.max(l,l+f);return r>=h&&r<=m&&i>=y&&i<=g}return!1},Pre={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Qw=function(t){var n=Nk(Nk({},Pre),t),r=P.useRef(),i=P.useState(-1),o=wre(i,2),l=o[0],u=o[1];P.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var C=r.current.getTotalLength();C&&u(C)}catch{}},[]);var f=n.x,h=n.y,m=n.width,y=n.height,g=n.radius,j=n.className,S=n.animationEasing,w=n.animationDuration,b=n.animationBegin,A=n.isAnimationActive,_=n.isUpdateAnimationActive;if(f!==+f||h!==+h||m!==+m||y!==+y||m===0||y===0)return null;var T=Pe("recharts-rectangle",j);return _?I.createElement(kr,{canBegin:l>0,from:{width:m,height:y,x:f,y:h},to:{width:m,height:y,x:f,y:h},duration:w,animationEasing:S,isActive:_},function(C){var O=C.width,E=C.height,M=C.x,D=C.y;return I.createElement(kr,{canBegin:l>0,from:"0px ".concat(l===-1?1:l,"px"),to:"".concat(l,"px 0px"),attributeName:"strokeDasharray",begin:b,duration:w,isActive:A,easing:S},I.createElement("path",ap({},je(n,!0),{className:T,d:Ck(M,D,O,E,g),ref:r})))}):I.createElement("path",ap({},je(n,!0),{className:T,d:Ck(f,h,m,y,g)}))},Rre=["points","className","baseLinePoints","connectNulls"];function Mo(){return Mo=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},Mo.apply(this,arguments)}function kre(e,t){if(e==null)return{};var n=Dre(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Dre(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 Mk(e){return Bre(e)||$re(e)||zre(e)||Lre()}function Lre(){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 zre(e,t){if(e){if(typeof e=="string")return kj(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 kj(e,t)}}function $re(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Bre(e){if(Array.isArray(e))return kj(e)}function kj(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 Pk=function(t){return t&&t.x===+t.x&&t.y===+t.y},Ire=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=[[]];return t.forEach(function(r){Pk(r)?n[n.length-1].push(r):n[n.length-1].length>0&&n.push([])}),Pk(t[0])&&n[n.length-1].push(t[0]),n[n.length-1].length<=0&&(n=n.slice(0,-1)),n},ru=function(t,n){var r=Ire(t);n&&(r=[r.reduce(function(o,l){return[].concat(Mk(o),Mk(l))},[])]);var i=r.map(function(o){return o.reduce(function(l,u,f){return"".concat(l).concat(f===0?"M":"L").concat(u.x,",").concat(u.y)},"")}).join("");return r.length===1?"".concat(i,"Z"):i},qre=function(t,n,r){var i=ru(t,r);return"".concat(i.slice(-1)==="Z"?i.slice(0,-1):i,"L").concat(ru(n.reverse(),r).slice(1))},Ure=function(t){var n=t.points,r=t.className,i=t.baseLinePoints,o=t.connectNulls,l=kre(t,Rre);if(!n||!n.length)return null;var u=Pe("recharts-polygon",r);if(i&&i.length){var f=l.stroke&&l.stroke!=="none",h=qre(n,i,o);return I.createElement("g",{className:u},I.createElement("path",Mo({},je(l,!0),{fill:h.slice(-1)==="Z"?l.fill:"none",stroke:"none",d:h})),f?I.createElement("path",Mo({},je(l,!0),{fill:"none",d:ru(n,o)})):null,f?I.createElement("path",Mo({},je(l,!0),{fill:"none",d:ru(i,o)})):null)}var m=ru(n,o);return I.createElement("path",Mo({},je(l,!0),{fill:m.slice(-1)==="Z"?l.fill:"none",className:u,d:m}))};function Dj(){return Dj=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},Dj.apply(this,arguments)}var lf=function(t){var n=t.cx,r=t.cy,i=t.r,o=t.className,l=Pe("recharts-dot",o);return n===+n&&r===+r&&i===+i?P.createElement("circle",Dj({},je(t,!1),Ah(t),{className:l,cx:n,cy:r,r:i})):null};function Lu(e){"@babel/helpers - typeof";return Lu=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},Lu(e)}var Vre=["x","y","top","left","width","height","className"];function Lj(){return Lj=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},Lj.apply(this,arguments)}function Rk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Hre(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Rk(Object(n),!0).forEach(function(r){Gre(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Gre(e,t,n){return t=Fre(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fre(e){var t=Kre(e,"string");return Lu(t)=="symbol"?t:t+""}function Kre(e,t){if(Lu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Lu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Yre(e,t){if(e==null)return{};var n=Xre(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Mae(e,t){if(e){if(typeof e=="string")return Gk(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 Gk(e,t)}}function Gk(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 Pae(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],f=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(f=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){h=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function Rae(e){if(Array.isArray(e))return e}function Fk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Kk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Fk(Object(n),!0).forEach(function(r){kae(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function kae(e,t,n){return t=Dae(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dae(e){var t=Lae(e,"string");return zu(t)=="symbol"?t:t+""}function Lae(e,t){if(zu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(zu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Yk=function(t,n,r,i,o){var l=r-i,u;return u="M ".concat(t,",").concat(n),u+="L ".concat(t+r,",").concat(n),u+="L ".concat(t+r-l/2,",").concat(n+o),u+="L ".concat(t+r-l/2-i,",").concat(n+o),u+="L ".concat(t,",").concat(n," Z"),u},zae={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},$ae=function(t){var n=Kk(Kk({},zae),t),r=P.useRef(),i=P.useState(-1),o=Nae(i,2),l=o[0],u=o[1];P.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var T=r.current.getTotalLength();T&&u(T)}catch{}},[]);var f=n.x,h=n.y,m=n.upperWidth,y=n.lowerWidth,g=n.height,j=n.className,S=n.animationEasing,w=n.animationDuration,b=n.animationBegin,A=n.isUpdateAnimationActive;if(f!==+f||h!==+h||m!==+m||y!==+y||g!==+g||m===0&&y===0||g===0)return null;var _=Pe("recharts-trapezoid",j);return A?I.createElement(kr,{canBegin:l>0,from:{upperWidth:0,lowerWidth:0,height:g,x:f,y:h},to:{upperWidth:m,lowerWidth:y,height:g,x:f,y:h},duration:w,animationEasing:S,isActive:A},function(T){var C=T.upperWidth,O=T.lowerWidth,E=T.height,M=T.x,D=T.y;return I.createElement(kr,{canBegin:l>0,from:"0px ".concat(l===-1?1:l,"px"),to:"".concat(l,"px 0px"),attributeName:"strokeDasharray",begin:b,duration:w,easing:S},I.createElement("path",op({},je(n,!0),{className:_,d:Yk(M,D,C,O,E),ref:r})))}):I.createElement("g",null,I.createElement("path",op({},je(n,!0),{className:_,d:Yk(f,h,m,y,g)})))},Bae=["option","shapeType","propTransformer","activeClassName","isActive"];function $u(e){"@babel/helpers - typeof";return $u=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},$u(e)}function Iae(e,t){if(e==null)return{};var n=qae(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function qae(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 X
|
|||
|
|
the props "valueKey" will be deprecated in 1.1.0`),A="value"):Ne(h)&&(Pr(!1,`Use "dataKey" to specify the value of pie,
|
|||
|
|
the props "valueKey" will be deprecated in 1.1.0`),A=y);var _=i.filter(function(D){return kt(D,A,0)!==0}).length,T=(b>=360?_:_-1)*f,C=b-_*j-T,O=i.reduce(function(D,k){var B=kt(k,A,0);return D+(ce(B)?B:0)},0),E;if(O>0){var M;E=i.map(function(D,k){var B=kt(D,A,0),q=kt(D,m,k),$=(ce(B)?B:0)/O,F;k?F=M.endAngle+bn(w)*f*(B!==0?1:0):F=l;var X=F+bn(w)*((B!==0?j:0)+$*C),Y=(F+X)/2,L=(S.innerRadius+S.outerRadius)/2,H=[{name:q,value:B,payload:D,dataKey:A,type:g}],Q=mt(S.cx,S.cy,L,Y);return M=ht(ht(ht({percent:$,cornerRadius:o,name:q,tooltipPayload:H,midAngle:Y,middleRadius:L,tooltipPosition:Q},D),S),{},{value:kt(D,A),startAngle:F,endAngle:X,payload:D,paddingAngle:bn(w)*f}),M})}return ht(ht({},S),{},{sectors:E,data:i})});var B0,Jk;function lie(){if(Jk)return B0;Jk=1;var e=Math.ceil,t=Math.max;function n(r,i,o,l){for(var u=-1,f=t(e((i-r)/(o||1)),0),h=Array(f);f--;)h[l?f:++u]=r,r+=o;return h}return B0=n,B0}var I0,eD;function X5(){if(eD)return I0;eD=1;var e=gz(),t=1/0,n=17976931348623157e292;function r(i){if(!i)return i===0?i:0;if(i=e(i),i===t||i===-t){var o=i<0?-1:1;return o*n}return i===i?i:0}return I0=r,I0}var q0,tD;function cie(){if(tD)return q0;tD=1;var e=lie(),t=Yp(),n=X5();function r(i){return function(o,l,u){return u&&typeof u!="number"&&t(o,l,u)&&(l=u=void 0),o=n(o),l===void 0?(l=o,o=0):l=n(l),u=u===void 0?o<l?1:-1:n(u),e(o,l,u,i)}}return q0=r,q0}var U0,nD;function uie(){if(nD)return U0;nD=1;var e=cie(),t=e();return U0=t,U0}var fie=uie();const up=at(fie);function Iu(e){"@babel/helpers - typeof";return Iu=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},Iu(e)}function rD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function aD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?rD(Object(n),!0).forEach(function(r){W5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function W5(e,t,n){return t=die(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function die(e){var t=hie(e,"string");return Iu(t)=="symbol"?t:t+""}function hie(e,t){if(Iu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Iu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var pie=["Webkit","Moz","O","ms"],mie=function(t,n){var r=t.replace(/(\w)/,function(o){return o.toUpperCase()}),i=pie.reduce(function(o,l){return aD(aD({},o),{},W5({},l+r,n))},{});return i[t]=n,i};function rl(e){"@babel/helpers - typeof";return rl=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},rl(e)}function fp(){return fp=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},fp.apply(this,arguments)}function iD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function V0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?iD(Object(n),!0).forEach(function(r){Hn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function yie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class a
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Cse(e,t){if(e){if(typeof e=="string")return ED(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 ED(e,t)}}function ED(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,i,o,l,u=[],f=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(f=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){h=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function Pse(e){if(Array.isArray(e))return e}function Hj(){return Hj=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},Hj.apply(this,arguments)}var Rse=function(t,n){var r;return I.isValidElement(t)?r=I.cloneElement(t,n):Te(t)?r=t(n):r=I.createElement("line",Hj({},n,{className:"recharts-reference-line-line"})),r},kse=function(t,n,r,i,o,l,u,f,h){var m=o.x,y=o.y,g=o.width,j=o.height;if(r){var S=h.y,w=t.y.apply(S,{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+j},{x:_,y}];return u==="top"?T.reverse():T}if(i){var C=h.segment,O=C.map(function(E){return t.apply(E,{position:l})});return Wr(h,"discard")&&Tie(O,function(E){return!t.isInRange(E)})?null:O}return null};function Dse(e){var t=e.x,n=e.y,r=e.segment,i=e.xAxisId,o=e.yAxisId,l=e.shape,u=e.className,f=e.alwaysShow,h=mse(),m=f$(i),y=d$(o),g=gse();if(!h||!g)return null;Pr(f===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var j=eA({x:m.scale,y:y.scale}),S=Kt(t),w=Kt(n),b=r&&r.length===2,A=kse(j,S,w,b,g,e.position,m.orientation,y.orientation,e);if(!A)return null;var _=Ese(A,2),T=_[0],C=T.x,O=T.y,E=_[1],M=E.x,D=E.y,k=Wr(e,"hidden")?"url(#".concat(h,")"):void 0,B=TD(TD({clipPath:k},je(e,!0)),{},{x1:C,y1:O,x2:M,y2:D});return I.createElement(Ie,{className:Pe("recharts-reference-line",u)},Rse(l,B),Jt.renderCallByParent(e,rse({x1:C,y1:O,x2:M,y2:D})))}var sA=(function(e){function t(){return bse(this,t),wse(this,t,arguments)}return _se(t,e),Sse(t,[{key:"render",value:function(){return I.createElement(Dse,this.props)}}])})(I.Component);iA(sA,"displayName","ReferenceLine");iA(sA,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function Gj(){return Gj=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},Gj.apply(this,arguments)}function ol(e){"@babel/helpers - typeof";return ol=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},ol(e)}function ND(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function CD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ND(Object(n),!0).forEach(function(r){hm(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ND(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Lse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zse(e,t){for(var n=0;n<t.length;n++){
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zoe(e,t){if(e){if(typeof e=="string")return Wj(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 Wj(e,t)}}function $oe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Boe(e){if(Array.isArray(e))return Wj(e)}function Wj(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 Ioe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ID(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,A$(r.key),r)}}function qoe(e,t,n){return t&&ID(e.prototype,t),n&&ID(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Uoe(e,t,n){return t=jp(t),Voe(e,w$()?Reflect.construct(t,n||[],jp(e).constructor):t.apply(e,n))}function Voe(e,t){if(t&&(ul(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Hoe(e)}function Hoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(w$=function(){return!!e})()}function jp(e){return jp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},jp(e)}function Goe(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&&Zj(e,t)}function Zj(e,t){return Zj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Zj(e,t)}function Tr(e,t,n){return t=A$(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function A$(e){var t=Foe(e,"string");return ul(t)=="symbol"?t:t+""}function Foe(e,t){if(ul(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ul(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var cf=(function(e){function t(){var n;Ioe(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=Uoe(this,t,[].concat(i)),Tr(n,"state",{isAnimationFinished:!0,totalLength:0}),Tr(n,"generateSimpleStrokeDasharray",function(l,u){return"".concat(u,"px ").concat(l-u,"px")}),Tr(n,"getStrokeDasharray",function(l,u,f){var h=f.reduce(function(A,_){return A+_});if(!h)return n.generateSimpleStrokeDasharray(u,l);for(var m=Math.floor(l/h),y=l%h,g=u-l,j=[],S=0,w=0;S<f.length;w+=f[S],++S)if(w+f[S]>y){j=[].concat(wo(f.slice(0,S)),[y-w]);break}var b=j.length%2===0?[0,g]:[g];return[].concat(wo(t.repeat(f,m)),wo(j),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}return Goe(t,e),qoe(t,[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();this.setState({totalLength:r})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();r!==this.state.totalLength&&this.setState({totalLength:r})}}},{key:"getTotalLength",value:function(){var r=this.mainCurve;try{return r&&r.getTotalLength&&r.getTotalLength()||0}catch{return 0}}},{key:"renderErrorBar",value:function(r,i){if(this.props.isAnima
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Sle(e,t){if(e){if(typeof e=="string")return rS(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 rS(e,t)}}function wle(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ale(e){if(Array.isArray(e))return rS(e)}function rS(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 aS=function(t,n,r,i,o){var l=Wn(t,sA),u=Wn(t,pm),f=[].concat(VD(l),VD(u)),h=Wn(t,ym),m="".concat(i,"Id"),y=i[0],g=n;if(f.length&&(g=f.reduce(function(w,b){if(b.props[m]===r&&Wr(b.props,"extendDomain")&&ce(b.props[y])){var A=b.props[y];return[Math.min(w[0],A),Math.max(w[1],A)]}return w},g)),h.length){var j="".concat(y,"1"),S="".concat(y,"2");g=h.reduce(function(w,b){if(b.props[m]===r&&Wr(b.props,"extendDomain")&&ce(b.props[j])&&ce(b.props[S])){var A=b.props[j],_=b.props[S];return[Math.min(w[0],A,_),Math.max(w[1],A,_)]}return w},g)}return o&&o.length&&(g=o.reduce(function(w,b){return ce(b)?[Math.min(w[0],b),Math.max(w[1],b)]:w},g)),g},n1={exports:{}},HD;function Ole(){return HD||(HD=1,(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function i(f,h,m){this.fn=f,this.context=h,this.once=m||!1}function o(f,h,m,y,g){if(typeof m!="function")throw new TypeError("The listener must be a function");var j=new i(m,y||f,g),S=n?n+h:h;return f._events[S]?f._events[S].fn?f._events[S]=[f._events[S],j]:f._events[S].push(j):(f._events[S]=j,f._eventsCount++),f}function l(f,h){--f._eventsCount===0?f._events=new r:delete f._events[h]}function u(){this._events=new r,this._eventsCount=0}u.prototype.eventNames=function(){var h=[],m,y;if(this._eventsCount===0)return h;for(y in m=this._events)t.call(m,y)&&h.push(n?y.slice(1):y);return Object.getOwnPropertySymbols?h.concat(Object.getOwnPropertySymbols(m)):h},u.prototype.listeners=function(h){var m=n?n+h:h,y=this._events[m];if(!y)return[];if(y.fn)return[y.fn];for(var g=0,j=y.length,S=new Array(j);g<j;g++)S[g]=y[g].fn;return S},u.prototype.listenerCount=function(h){var m=n?n+h:h,y=this._events[m];return y?y.fn?1:y.length:0},u.prototype.emit=function(h,m,y,g,j,S){var w=n?n+h:h;if(!this._events[w])return!1;var b=this._events[w],A=arguments.length,_,T;if(b.fn){switch(b.once&&this.removeListener(h,b.fn,void 0,!0),A){case 1:return b.fn.call(b.context),!0;case 2:return b.fn.call(b.context,m),!0;case 3:return b.fn.call(b.context,m,y),!0;case 4:return b.fn.call(b.context,m,y,g),!0;case 5:return b.fn.call(b.context,m,y,g,j),!0;case 6:return b.fn.call(b.context,m,y,g,j,S),!0}for(T=1,_=new Array(A-1);T<A;T++)_[T-1]=arguments[T];b.fn.apply(b.context,_)}else{var C=b.length,O;for(T=0;T<C;T++)switch(b[T].once&&this.removeListener(h,b[T].fn,void 0,!0),A){case 1:b[T].fn.call(b[T].context);break;case 2:b[T].fn.call(b[T].context,m);break;case 3:b[T].fn.call(b[T].context,m,y);break;case 4:b[T].fn.call(b[T].context,m,y,g);break;default:if(!_)for(O=1,_=new Array(A-1);O<A;O++)_[O-1]=arguments[O];b[T].fn.apply(b[T].context,_)}}return!0},u.prototype.on=function(h,m,y){return o(this,h,m,y,!1)},u.prototype.once=function(h,m,y){return o(this,h,m,y,!0)},u.prototype.removeListener=function(h,m,y,g){var j=n?n+h:h;if(!this._events[j])return this;if(!m)return l(this,j),this;var S=this._events[j];if(S.fn)S.fn===m&&(!g||S.once)&&(!y||S.context===y)&&l(this,j);else{for(var w=0,b=[],A=S.length;w<A;w++)(S[w].fn!==m||g&&!S[w].once||y&&S[w].context!==y)&&b.push(S[w]);b.length?this._events[j]=b.length===1?b[0]:b:l(this,j)}return this},u.prototype.removeAllListeners=function(h){var m;return h?(m=n?n+h:h,this._events[m]&&l(this,m)):(this._events=new r,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=n,u.EventEmitter=u,e.exports=u})(n1)),n1.e
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Vle(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],f=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(f=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);f=!0);}catch(m){h=!0,i=m}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function Hle(e){if(Array.isArray(e))return e}function KD(e,t){if(e==null)return{};var n=Gle(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Gle(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 Fle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kle(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,B$(r.key),r)}}function Yle(e,t,n){return t&&Kle(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Xle(e,t,n){return t=Op(t),Wle(e,z$()?Reflect.construct(t,n||[],Op(e).constructor):t.apply(e,n))}function Wle(e,t){if(t&&(pl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Zle(e)}function Zle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(z$=function(){return!!e})()}function Op(e){return Op=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Op(e)}function Qle(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&&iS(e,t)}function iS(e,t){return iS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},iS(e,t)}function ml(e){return tce(e)||ece(e)||$$(e)||Jle()}function Jle(){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 $$(e,t){if(e){if(typeof e=="string")return sS(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 sS(e,t)}}function ece(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tce(e){if(Array.isArray(e))return sS(e)}function sS(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 YD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ne(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){Oe(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 Oe(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=nce(e,"string");return pl(t)=="symbol"?t:t+""}function nce(e,t){if(pl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(pl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var rce={xAxis:["bottom","top"],yAxis:["left","right"]},ace={width:"100%",height:"100%"},I$={x:0,y:0};function Yd(e){return e}var ice=function(t,n){return n==="horizontal"?t.x:n==="vertical"?t.y:n==="centric"?t.angle:t.radius},sce=function(t,n,r,i){var o=n.find(function(m){return m&&m.index===r});if(o){if(t==="horizontal")return{x:o.coordinate,y:i.y};if(t==="vertical")return{x:i.x,y:o.coordinate};if(t==="centric"){var l=o.coordinate,u=i.radius;return ne(ne(ne({},i),mt(i.cx,i.cy,u,l)),{},{angle:l,radius:u})}var f=o.coordinate,h=i.angle;return ne(ne(ne({},i),mt(i.cx,i.cy,f,h)),{},{angle:h,radius:f})}return I$},vm=function(t,n){var r=n.graphicalItems,i=n.dataStartIndex,o=n.dataEndIndex,l=(r??[]).reduce(function(u,f){var h=f.props.data;return h&&h.length?[].concat(ml(u),ml(h)):u},[]);return l.length>0?l:t&&t.length&&ce(i)&&ce(o)?t.slice(i,o+1):[]};function q$(e){return e==="number"?[0,"auto"]:void 0}var oS=function(t,n,r,i){var o=t.graphicalItems,l=t.tooltipAxis,u=vm(n,t);return r<0||!o||!o.length||r>=u.length?null:o.reduce(function(f,h){var m,y=(m=h.props.data)!==null&&m!==void 0?m:n;y&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(y=y.slice(t.dataStartIndex,t.dataEndIndex+1));var g;if(l.dataKey&&!l.allowDuplicatedCategory){var j=y===void 0?u:y;g=wh(j,l.dataKey,i)}else g=y&&y[r]||u[r];return g?[].concat(ml(f),[E5(h,g)]):f},[])},XD=function(t,n,r,i){var o=i||{x:t.chartX,y:t.chartY},l=ice(o,r),u=t.orderedTooltipTicks,f=t.tooltipAxis,h=t.tooltipTicks,m=gee(l,u,h,f);if(m>=0&&h){var y=h[m]&&h[m].value,g=oS(t,n,m,y),j=sce(r,u,m,o);return{activeTooltipIndex:m,activeLabel:y,activePayload:g,activeCoordinate:j}}return null},oce=function(t,n){var r=n.axes,i=n.graphicalItems,o=n.axisType,l=n.axisIdKey,u=n.stackGroups,f=n.dataStartIndex,h=n.dataEndIndex,m=t.layout,y=t.children,g=t.stackOffset,j=S5(m,o);return r.reduce(function(S,w){var b,A=w.type.defaultProps!==void 0?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,D=A.includeHidden,k=A[l];if(S[k])return S;var B=vm(t.data,{graphicalItems:i.filter(function(G){var re,fe=l in G.props?G.props[l]:(re=G.type.defaultProps)===null||re===void 0?void 0:re[l];return fe===k}),dataStartIndex:f,dataEndIndex:h}),q=B.length,$,F,X;Rle(A.domain,C,_)&&($=bj(A.domain,null,C),j&&(_==="number"||E!=="auto")&&(X=tu(B,T,"category")));var Y=q$(_);if(!$||$.length===0){v
|
|||
|
|
|
|||
|
|
DINA ANSVARSOMRÅDEN:
|
|||
|
|
• Kunder, leads, contacts, accounts
|
|||
|
|
• Kundhistorik och aktiviteter
|
|||
|
|
• Pipeline-relaterad information
|
|||
|
|
• Uppföljningar och nästa bästa åtgärd
|
|||
|
|
• Kundrisker och churn-analys
|
|||
|
|
• CRM-data hygiene
|
|||
|
|
|
|||
|
|
DU HAR TILLGÅNG TILL:
|
|||
|
|
• /api/v1/crm/customers — kunddatabas
|
|||
|
|
• /api/v1/crm/leads — leads
|
|||
|
|
• /api/v1/crm/pipeline — pipeline
|
|||
|
|
• /api/v1/crm/interactions — kundinteraktioner
|
|||
|
|
|
|||
|
|
REGler:
|
|||
|
|
• Svara alltid på svenska
|
|||
|
|
• Var professionell och datadriven
|
|||
|
|
• Föreslå alltid nästa steg
|
|||
|
|
• Eskalera vid komplexa ärenden
|
|||
|
|
• Dokumentera dina rekommendationer`,kompetenser:["kundhantering","lead-kvalificering","pipeline-analys","kundrisk","uppföljning"],dataTyp:"crm",status:"operational",capabilities:["read","analyze","propose","execute"]},sales:{rum:"sales",titel:"Sales Agent",systemPrompt:`Du är Sales Agent — en specialist på försäljning och affärsutveckling för BOC.
|
|||
|
|
|
|||
|
|
DINA ANSVARSOMRÅDEN:
|
|||
|
|
• Opportunities, deals, pipelines
|
|||
|
|
• Forecasting och conversion
|
|||
|
|
• Sales activities och offerter
|
|||
|
|
• Win/loss-analys
|
|||
|
|
• Pipeline risks och nästa steg
|
|||
|
|
• Försäljningsprognoser
|
|||
|
|
|
|||
|
|
DU HAR TILLGÅNG TILL:
|
|||
|
|
• /api/v1/sales/deals — alla deals
|
|||
|
|
• /api/v1/sales/mrr — månatlig återkommande intäkt
|
|||
|
|
• /api/v1/sales/arr — årlig återkommande intäkt
|
|||
|
|
• /api/v1/sales/products — produkter
|
|||
|
|
|
|||
|
|
REGler:
|
|||
|
|
• Svara alltid på svenska
|
|||
|
|
• Var resultatorienterad och datadriven
|
|||
|
|
• Fokusera på nästa steg och action
|
|||
|
|
• Identifiera alltid risksignaler
|
|||
|
|
• Föreslå konkreta åtgärder`,kompetenser:["försäljning","pipeline","forecasting","offert","win/loss"],dataTyp:"sales",status:"operational",capabilities:["read","analyze","propose","execute"]},marketing:{rum:"marketing",titel:"Marketing Agent",systemPrompt:`Du är Marketing Agent — en specialist på marknadsföring och tillväxt för BOC.
|
|||
|
|
|
|||
|
|
DINA ANSVARSOMRÅDEN:
|
|||
|
|
• Campaigns och acquisition
|
|||
|
|
• Attribution och marketing performance
|
|||
|
|
• Segments och content performance
|
|||
|
|
• Campaign planning och conversion
|
|||
|
|
• CAC-relaterade signaler
|
|||
|
|
• Marketing opportunities
|
|||
|
|
|
|||
|
|
DU HAR TILLGÅNG TILL:
|
|||
|
|
• /api/v1/marketing/campaigns — kampanjer
|
|||
|
|
• /api/v1/marketing/content — innehåll
|
|||
|
|
|
|||
|
|
REGler:
|
|||
|
|
• Svara alltid på svenska
|
|||
|
|
• Var kreativ men datadriven
|
|||
|
|
• Fokusera på ROI och conversion
|
|||
|
|
• Föreslå alltid testbara hypoteser
|
|||
|
|
• Tracka alltid resultat`,kompetenser:["marknadsföring","kampanjer","content","SEO","analys"],dataTyp:"marketing",status:"operational",capabilities:["read","analyze","propose"]},social:{rum:"social",titel:"Social Agent",systemPrompt:`Du är Social Agent — en specialist på sociala medier och community för BOC.
|
|||
|
|
|
|||
|
|
DINA ANSVARSOMRÅDEN:
|
|||
|
|
• Social channels och publicering
|
|||
|
|
• Content calendar och engagement
|
|||
|
|
• Mentions och sentiment/signaler
|
|||
|
|
• Community activity och moderation
|
|||
|
|
• Social performance
|
|||
|
|
• Content opportunities
|
|||
|
|
|
|||
|
|
DU HAR TILLGÅNG TILL:
|
|||
|
|
• Sociala kanaler och publiceringsdata
|
|||
|
|
• Engagement-metrics
|
|||
|
|
• Sentiment-analys
|
|||
|
|
|
|||
|
|
REGler:
|
|||
|
|
• Svara alltid på svenska
|
|||
|
|
• Var engagerande och autentisk
|
|||
|
|
• Fokusera på community-värde
|
|||
|
|
• Övervaka alltid sentiment
|
|||
|
|
• Föreslå content baserat på data`,kompetenser:["sociala medier","content","engagement","community","sentiment"],dataTyp:"social",status:"operational",capabilities:["read","analyze","propose"]},finance:{rum:"finance",titel:"Finance Agent",systemPrompt:`Du är Finance Agent — en specialist på finansiell analys och styrning för BOC.
|
|||
|
|
|
|||
|
|
DINA ANSVARSOMRÅDEN:
|
|||
|
|
• Financial overview och cash position
|
|||
|
|
• Cash flow och forecasts
|
|||
|
|
• Financial risks och budgets
|
|||
|
|
• Financial KPIs och deviations
|
|||
|
|
• Alerts och decision support
|
|||
|
|
|
|||
|
|
DU HAR TILLGÅNG TILL:
|
|||
|
|
• /api/v1/finance/balance — balansräkning
|
|||
|
|
• /api/v1/finance/income — resultaträkning
|
|||
|
|
• /api/v1/finance/moms — MOMS-rapport
|
|||
|
|
• /api/v1/finance/cashflow — kassaflöde
|
|||
|
|
• /api/v1/finance/budget — budget
|
|||
|
|
|
|||
|
|
REGler:
|
|||
|
|
• Svara alltid på svenska
|
|||
|
|
• Var noggrann och precis
|
|||
|
|
• Alla siffror måste stämma
|
|||
|
|
• Flagga alltid avvikelser
|
|||
|
|
• Föreslå alltid nästa steg`,kompetenser:["finansanalys","kassaflöde","budget","prognoser","risk"],dataTyp:"finance",status:"operational",capabilities:["read","analyze","propose","execute"]},accounting:{rum:"accounting",titel:"Accounting Agent",systemPrompt:`Du är Accounting Agent — en specialist på redovisning och bokföring för BOC.
|
|||
|
|
|
|||
|
|
DINA ANSVARSOMRÅDEN:
|
|||
|
|
• Accounting data och transactions
|
|||
|
|
• Reconciliation och avstämning
|
|||
|
|
• Invoices och payments
|
|||
|
|
• Accounts och kontoplan
|
|||
|
|
• Accounting anomalies
|
|||
|
|
• Period closing och bookkeeping workflows
|
|||
|
|
• Audit preparation
|
|||
|
|
|
|||
|
|
DU HAR TILLGÅNG TILL:
|
|||
|
|
• /api/v1/finance/accounts — kontoplan
|
|||
|
|
• /api/v1/finance/transactions — transaktioner
|
|||
|
|
• /api/v1/finance/invoices — fakturor
|
|||
|
|
• /api/v1/journal/entries — journalposter
|
|||
|
|
|
|||
|
|
REGler:
|
|||
|
|
• Svara alltid på svenska
|
|||
|
|
• Var noggrann och följ Bokföringslagen
|
|||
|
|
• Alla belopp måste stämma
|
|||
|
|
• Flagga alltid avvikelser
|
|||
|
|
• Förbered alltid audit trail
|
|||
|
|
• ESKALERA vid komplexa redovisningsfrågor`,kompetenser:["redovisning","bokföring","avstämning","bokslut","audit"],dataTyp:"accounting",status:"operational",capabilities:["read","analyze","propose","escalate"]},hr:{rum:"hr",titel:"HR Agent",systemPrompt:`Du är HR Agent — en specialist på personal och organisation för BOC.
|
|||
|
|
|
|||
|
|
DINA ANSVARSOMRÅDEN:
|
|||
|
|
• Employees och organization
|
|||
|
|
• Onboarding och offboarding
|
|||
|
|
• Skills och staffing
|
|||
|
|
• HR workflows och policies
|
|||
|
|
• People-related operational signals
|
|||
|
|
|
|||
|
|
DU HAR TILLGÅNG TILL:
|
|||
|
|
• /api/v1/hr/employees — anställda
|
|||
|
|
• /api/v1/hr/leaves — ledigheter
|
|||
|
|
• /api/v1/hr/timesheets — tidrapporter
|
|||
|
|
• /api/v1/employees — employee lifecycle
|
|||
|
|
|
|||
|
|
REGler:
|
|||
|
|
• Svara alltid på svenska
|
|||
|
|
• Hantera personuppgifter konfidentiellt
|
|||
|
|
• Följ GDPR och personuppgiftslagen
|
|||
|
|
• Var empatisk men professionell
|
|||
|
|
• ESKALERA vid personalärenden`,kompetenser:["HR","rekrytering","personal","onboarding","kompetens"],dataTyp:"hr",status:"operational",capabilities:["read","analyze","propose","escalate"]},legal:{rum:"legal",titel:"Legal Agent",systemPrompt:`Du är Legal Agent — en specialist på juridik och avtal för BOC.
|
|||
|
|
|
|||
|
|
DINA ANSVARSOMRÅDEN:
|
|||
|
|
• Contracts och legal documents
|
|||
|
|
• Obligations och deadlines
|
|||
|
|
• Clauses och legal workflows
|
|||
|
|
• Document classification
|
|||
|
|
• Contract risks och legal escalations
|
|||
|
|
|
|||
|
|
DU HAR TILLGÅNG TILL:
|
|||
|
|
• /api/v1/legal/contracts — avtal
|
|||
|
|
• /api/v1/legal/templates — mallar
|
|||
|
|
• /api/v1/legal/product-links — produktlänkar
|
|||
|
|
|
|||
|
|
VIKTIGT:
|
|||
|
|
• Du ersätter INTE en advokat
|
|||
|
|
• Vid komplexa juridiska frågor, hänvisa ALLTID till jurist
|
|||
|
|
• Granska men ge inte juridiskt bindande råd
|
|||
|
|
• Flagga alltid risker
|
|||
|
|
• ESKALERA vid tvivel`,kompetenser:["juridik","avtal","GDPR","compliance","risk"],dataTyp:"legal",status:"operational",capabilities:["read","analyze","propose","escalate"]},compliance:{rum:"compliance",titel:"Compliance Agent",systemPrompt:`Du är Compliance Agent — en specialist på regelverk och efterlevnad för BOC.
|
|||
|
|
|
|||
|
|
DINA ANSVARSOMRÅDEN:
|
|||
|
|
• Compliance controls och policies
|
|||
|
|
• Evidence och regulatory workflows
|
|||
|
|
• Control status och deviations
|
|||
|
|
• Risk signals och compliance deadlines
|
|||
|
|
• Audit readiness
|
|||
|
|
|
|||
|
|
DU HAR TILLGÅNG TILL:
|
|||
|
|
• Compliance-kontroller och status
|
|||
|
|
• Policy-dokument
|
|||
|
|
• Audit-evidence
|
|||
|
|
• Regulatoriska deadlines
|
|||
|
|
|
|||
|
|
REGler:
|
|||
|
|
• Svara alltid på svenska
|
|||
|
|
• Var noggrann och dokumenterad
|
|||
|
|
• Alla kontroller måste spåras
|
|||
|
|
• Flagga alltid avvikelser
|
|||
|
|
• Förbered alltid audit trail
|
|||
|
|
• ESKALERA vid regulatoriska risker`,kompetenser:["compliance","regelverk","audit","kontroller","risk"],dataTyp:"compliance",status:"operational",capabilities:["read","analyze","propose","escalate"]},support:{rum:"support",titel:"Support Agent",systemPrompt:`Du är Support Agent — en specialist på kundsupport och ärendehantering för BOC.
|
|||
|
|
|
|||
|
|
DINA ANSVARSOMRÅDEN:
|
|||
|
|
• Support cases och tickets
|
|||
|
|
• Conversations och customer issues
|
|||
|
|
• Triage och prioritization
|
|||
|
|
• SLA och escalation
|
|||
|
|
• Resolution suggestions
|
|||
|
|
• Recurring problems
|
|||
|
|
|
|||
|
|
DU HAR TILLGÅNG TILL:
|
|||
|
|
• /api/v1/support/tickets — supportärenden
|
|||
|
|
• /api/v1/support/csat — kundnöjdhet
|
|||
|
|
|
|||
|
|
REGler:
|
|||
|
|
• Svara alltid på svenska
|
|||
|
|
• Var hjälpsam och effektiv
|
|||
|
|
• Prioritera alltid efter SLA
|
|||
|
|
• Eskalera vid L2/L3-behov
|
|||
|
|
• Dokumentera alla lösningar
|
|||
|
|
• Föreslå alltid förebyggande åtgärder`,kompetenser:["support","triage","SLA","eskalerings","lösningar"],dataTyp:"support",status:"operational",capabilities:["read","analyze","propose","execute"]},projects:{rum:"projects",titel:"Projects Agent",systemPrompt:`Du är Projects Agent — en specialist på projektledning och leverans för BOC.
|
|||
|
|
|
|||
|
|
DINA ANSVARSOMRÅDEN:
|
|||
|
|
• Projects och milestones
|
|||
|
|
• Tasks och dependencies
|
|||
|
|
• Resources och deadlines
|
|||
|
|
• Blockers och project health
|
|||
|
|
• Delivery risks och status reporting
|
|||
|
|
|
|||
|
|
DU HAR TILLGÅNG TILL:
|
|||
|
|
• Projektdata och milstolpar
|
|||
|
|
• Task-hantering
|
|||
|
|
• Resursallokering
|
|||
|
|
• Riskregister
|
|||
|
|
|
|||
|
|
REGler:
|
|||
|
|
• Svara alltid på svenska
|
|||
|
|
• Var strukturerad och tydlig
|
|||
|
|
• Fokusera på leverans och kvalitet
|
|||
|
|
• Identifiera alltid blockers
|
|||
|
|
• Föreslå alltid mitigeringsåtgärder
|
|||
|
|
• Rapportera alltid status tydligt`,kompetenser:["projekt","milestones","tasks","resurser","risk"],dataTyp:"projects",status:"operational",capabilities:["read","analyze","propose"]},automation:{rum:"automation",titel:"Automation Agent",systemPrompt:`Du är Automation Agent — en specialist på automatisering och integrationer för BOC.
|
|||
|
|
|
|||
|
|
DINA ANSVARSOMRÅDEN:
|
|||
|
|
• Workflows och automations
|
|||
|
|
• Triggers och scheduled jobs
|
|||
|
|
• Integrations och failures
|
|||
|
|
• Retries och automation health
|
|||
|
|
• Process optimization
|
|||
|
|
|
|||
|
|
DU HAR TILLGÅNG TILL:
|
|||
|
|
• /api/v1/automation/workflows — workflows
|
|||
|
|
• /api/v1/automation/jobs — schemalagda jobb
|
|||
|
|
• /api/v1/automation/runs — körningshistorik
|
|||
|
|
|
|||
|
|
REGler:
|
|||
|
|
• Svara alltid på svenska
|
|||
|
|
• Var teknisk men tydlig
|
|||
|
|
• Fokusera på pålitlighet
|
|||
|
|
• Övervaka alltid health
|
|||
|
|
• Föreslå alltid förbättringar
|
|||
|
|
• Dokumentera alla ändringar`,kompetenser:["automation","workflows","integrationer","schemaläggning","optimering"],dataTyp:"automation",status:"operational",capabilities:["read","analyze","propose","execute"]},dashboard:{rum:"dashboard",titel:"AMOS Assistant",systemPrompt:`Du är AMOS Assistant — en generell AI-assistent för hela AAMOS-plattformen.
|
|||
|
|
|
|||
|
|
DU HJÄLPER ANVÄNDAREN MED:
|
|||
|
|
• Översikt och navigering i systemet
|
|||
|
|
• Tekniska frågor om AAMOS-produkter
|
|||
|
|
• Integrationer och API:er
|
|||
|
|
• Felsökning och support
|
|||
|
|
• Allmänna frågor om Landvex och quiXzoom
|
|||
|
|
|
|||
|
|
DU HAR BRED KUNSKAP OM:
|
|||
|
|
• CRM, Sales, Marketing
|
|||
|
|
• Finance, Accounting
|
|||
|
|
• HR, Legal, Compliance
|
|||
|
|
• Support, Projects, Automation
|
|||
|
|
• Social Media
|
|||
|
|
|
|||
|
|
REGler:
|
|||
|
|
• Svara på svenska eller engelska beroende på användarens språk
|
|||
|
|
• Var hjälpsam, kunnig och effektiv
|
|||
|
|
• Navigera användaren till rätt modul
|
|||
|
|
• Föreslå alltid nästa steg`,kompetenser:["generell","support","teknik","navigering","översikt"],dataTyp:"general",status:"operational",capabilities:["read","analyze","propose"]}};function Jce(e){return lS[e]||lS.dashboard}function eue(){return Object.values(lS).filter(e=>e.rum!=="dashboard")}function tue({rum:e,isOpen:t,onToggle:n}){const r=Jce(e),[i,o]=P.useState([{id:"welcome",roll:"assistant",innehall:`Hej! Jag är ${r.titel}. Jag kan hjälpa dig med ${r.kompetenser.join(", ")}. Vad kan jag göra för dig?`,tid:new Date().toISOString()}]),[l,u]=P.useState(""),[f,h]=P.useState(!1),[m,y]=P.useState(!1),g=P.useRef(null),j=P.useRef(null);P.useEffect(()=>{g.current&&(g.current.scrollTop=g.current.scrollHeight)},[i]);const S=async()=>{if(!l.trim()||f)return;const b={id:`user-${Date.now()}`,roll:"user",innehall:l.trim(),tid:new Date().toISOString()};o(A=>[...A,b]),u(""),h(!0);try{const A=await fetch("/api/agent/chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({rum:r.rum,systemPrompt:r.systemPrompt,meddelanden:[...i,b].map(_=>({roll:_.roll,innehall:_.innehall}))})});if(A.ok){const _=await A.json();o(T=>[...T,{id:`assistant-${Date.now()}`,roll:"assistant",innehall:_.svar,tid:new Date().toISOString()}])}else{const _=r3(r,l.trim());o(T=>[...T,{id:`assistant-${Date.now()}`,roll:"assistant",innehall:_,tid:new Date().toISOString()}])}}catch{const _=r3(r,l.trim());o(T=>[...T,{id:`assistant-${Date.now()}`,roll:"assistant",innehall:_,tid:new Date().toISOString()}])}h(!1)},w=b=>{b.key==="Enter"&&!b.shiftKey&&(b.preventDefault(),S())};return t?d.jsxs(d.Fragment,{children:[d.jsx("div",{className:"fixed inset-0 bg-black/20 z-40",onClick:n}),d.jsxs(vn.div,{initial:{opacity:0,x:100},animate:{opacity:1,x:0},exit:{opacity:0,x:100},className:`fixed right-0 top-0 h-full bg-surface border-l border-border z-50 flex flex-col shadow-xl ${m?"w-[500px]":"w-[380px]"}`,children:[d.jsxs("div",{className:"h-14 border-b border-border flex items-center justify-between px-4 bg-primary/5",children:[d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx("div",{className:"w-8 h-8 rounded-full bg-primary flex items-center justify-center",children:d.jsx(Zc,{size:18,className:"text-white"})}),d.jsxs("div",{children:[d.jsx("h3",{className:"font-semibold text-sm",children:r.titel}),d.jsx("p",{className:"text-xs text-text-secondary",children:"AI Assistant"})]})]}),d.jsxs("div",{className:"flex items-center gap-1",children:[d.jsx("button",{onClick:()=>y(!m),className:"p-2 hover:bg-bg rounded-lg text-text-secondary",children:m?d.jsx(AH,{size:16}):d.jsx(jH,{size:16})}),d.jsx("button",{onClick:n,className:"p-2 hover:bg-bg rounded-lg text-text-secondary",children:d.jsx(zH,{size:16})})]})]}),d.jsxs("div",{ref:g,className:"flex-1 overflow-y-auto p-4 space-y-4",children:[i.map(b=>d.jsxs("div",{className:`flex gap-3 ${b.roll==="user"?"flex-row-reverse":""}`,children:[d.jsx("div",{className:`w-8 h-8 rounded-full flex items-center justify-center shrink-0 ${b.roll==="assistant"?"bg-primary text-white":"bg-bg text-text-secondary"}`,children:b.roll==="assistant"?d.jsx(Zc,{size:16}):d.jsx(Sh,{size:16})}),d.jsx("div",{className:`max-w-[80%] rounded-2xl px-4 py-2.5 text-sm ${b.roll==="assistant"?"bg-bg text-text-primary rounded-tl-none":"bg-primary text-white rounded-tr-none"}`,children:d.jsx("p",{className:"whitespace-pre-wrap",children:b.innehall})})]},b.id)),f&&d.jsxs("div",{className:"flex gap-3",children:[d.jsx("div",{className:"w-8 h-8 rounded-full bg-primary text-white flex items-center justify-center",children:d.jsx(Zc,{size:16})}),d.jsx("div",{className:"bg-bg rounded-2xl rounded-tl-none px-4 py-3",children:d.jsxs("div",{className:"flex gap-1",children:[d.jsx("div",{className:"w-2 h-2 bg-text-secondary rounded-full animate-bounce"}),d.jsx("div",{className:"w-2 h-2 bg-text-secondary rounded-full animate-bounce delay-100"}),d.jsx("div",{className:"w-2 h-2 bg-text-secondary rounded-full animate-bounce delay-200"})]})})]})]}),d.jsxs("div",{className:"p-4 border-t border-border",children:[d.jsxs("div",{className:"flex gap-2"
|