764 lines
1.1 MiB
JavaScript
764 lines
1.1 MiB
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 l of i)if(l.type==="childList")for(const c of l.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&r(c)}).observe(document,{childList:!0,subtree:!0});function n(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(i){if(i.ep)return;i.ep=!0;const l=n(i);fetch(i.href,l)}})();var Df=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function it(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Uy={exports:{}},zc={};/**
|
|||
|
|
* @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 wO;function $B(){if(wO)return zc;wO=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,i,l){var c=null;if(l!==void 0&&(c=""+l),i.key!==void 0&&(c=""+i.key),"key"in i){l={};for(var d in i)d!=="key"&&(l[d]=i[d])}else l=i;return i=l.ref,{$$typeof:e,type:r,key:c,ref:i!==void 0?i:null,props:l}}return zc.Fragment=t,zc.jsx=n,zc.jsxs=n,zc}var SO;function BB(){return SO||(SO=1,Uy.exports=$B()),Uy.exports}var s=BB(),Vy={exports:{}},Re={};/**
|
|||
|
|
* @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 NO;function IB(){if(NO)return Re;NO=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"),l=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),x=Symbol.for("react.activity"),y=Symbol.iterator;function j(q){return q===null||typeof q!="object"?null:(q=y&&q[y]||q["@@iterator"],typeof q=="function"?q:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,v={};function A(q,Y,ae){this.props=q,this.context=Y,this.refs=v,this.updater=ae||w}A.prototype.isReactComponent={},A.prototype.setState=function(q,Y){if(typeof q!="object"&&typeof q!="function"&&q!=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,q,Y,"setState")},A.prototype.forceUpdate=function(q){this.updater.enqueueForceUpdate(this,q,"forceUpdate")};function O(){}O.prototype=A.prototype;function _(q,Y,ae){this.props=q,this.context=Y,this.refs=v,this.updater=ae||w}var T=_.prototype=new O;T.constructor=_,S(T,A.prototype),T.isPureReactComponent=!0;var N=Array.isArray;function E(){}var M={H:null,A:null,T:null,S:null},R=Object.prototype.hasOwnProperty;function B(q,Y,ae){var fe=ae.ref;return{$$typeof:e,type:q,key:Y,ref:fe!==void 0?fe:null,props:ae}}function z(q,Y){return B(q.type,Y,q.props)}function D(q){return typeof q=="object"&&q!==null&&q.$$typeof===e}function L(q){var Y={"=":"=0",":":"=2"};return"$"+q.replace(/[=:]/g,function(ae){return Y[ae]})}var $=/\/+/g;function F(q,Y){return typeof q=="object"&&q!==null&&q.key!=null?L(""+q.key):Y.toString(36)}function H(q){switch(q.status){case"fulfilled":return q.value;case"rejected":throw q.reason;default:switch(typeof q.status=="string"?q.then(E,E):(q.status="pending",q.then(function(Y){q.status==="pending"&&(q.status="fulfilled",q.value=Y)},function(Y){q.status==="pending"&&(q.status="rejected",q.reason=Y)})),q.status){case"fulfilled":return q.value;case"rejected":throw q.reason}}throw q}function I(q,Y,ae,fe,ye){var Se=typeof q;(Se==="undefined"||Se==="boolean")&&(q=null);var qe=!1;if(q===null)qe=!0;else switch(Se){case"bigint":case"string":case"number":qe=!0;break;case"object":switch(q.$$typeof){case e:case t:qe=!0;break;case p:return qe=q._init,I(qe(q._payload),Y,ae,fe,ye)}}if(qe)return ye=ye(q),qe=fe===""?"."+F(q,0):fe,N(ye)?(ae="",qe!=null&&(ae=qe.replace($,"$&/")+"/"),I(ye,Y,ae,"",function(Te){return Te})):ye!=null&&(D(ye)&&(ye=z(ye,ae+(ye.key==null||q&&q.key===ye.key?"":(""+ye.key).replace($,"$&/")+"/")+qe)),Y.push(ye)),1;qe=0;var et=fe===""?".":fe+":";if(N(q))for(var de=0;de<q.length;de++)fe=q[de],Se=et+F(fe,de),qe+=I(fe,Y,ae,Se,ye);else if(de=j(q),typeof de=="function")for(q=de.call(q),de=0;!(fe=q.next()).done;)fe=fe.value,Se=et+F(fe,de++),qe+=I(fe,Y,ae,Se,ye);else if(Se==="object"){if(typeof q.then=="function")return I(H(q),Y,ae,fe,ye);throw Y=String(q),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(q).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return qe}function G(q,Y,ae){if(q==null)return q;var fe=[],ye=0;return I(q,fe,"","",function(Se){return Y.call(ae,Se,ye++)}),fe}function Z(q){if(q._status===-1){var Y=q._result;Y=Y(),Y.then(function(ae){(q._status===0||q._status===-1)&&(q._status=1,q._result=ae)},function(ae){(q._status===0||q._status===-1)&&(q._status=2,q._result=ae)}),q._status===-1&&(q._status=0,q._result=Y)}if(q._status===1)return q._result.default;throw q._result}var ie=typeof reportError=="function"?reportError:function(q){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof q=="object"&&q!==null&&typeof q.message=="string"?String(q.message):String(q),
|
|||
|
|
* @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 _O;function qB(){return _O||(_O=1,(function(e){function t(I,G){var Z=I.length;I.push(G);e:for(;0<Z;){var ie=Z-1>>>1,ce=I[ie];if(0<i(ce,G))I[ie]=G,I[Z]=ce,Z=ie;else break e}}function n(I){return I.length===0?null:I[0]}function r(I){if(I.length===0)return null;var G=I[0],Z=I.pop();if(Z!==G){I[0]=Z;e:for(var ie=0,ce=I.length,q=ce>>>1;ie<q;){var Y=2*(ie+1)-1,ae=I[Y],fe=Y+1,ye=I[fe];if(0>i(ae,Z))fe<ce&&0>i(ye,ae)?(I[ie]=ye,I[fe]=Z,ie=fe):(I[ie]=ae,I[Y]=Z,ie=Y);else if(fe<ce&&0>i(ye,Z))I[ie]=ye,I[fe]=Z,ie=fe;else break e}}return G}function i(I,G){var Z=I.sortIndex-G.sortIndex;return Z!==0?Z:I.id-G.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var c=Date,d=c.now();e.unstable_now=function(){return c.now()-d}}var f=[],h=[],p=1,x=null,y=3,j=!1,w=!1,S=!1,v=!1,A=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function T(I){for(var G=n(h);G!==null;){if(G.callback===null)r(h);else if(G.startTime<=I)r(h),G.sortIndex=G.expirationTime,t(f,G);else break;G=n(h)}}function N(I){if(S=!1,T(I),!w)if(n(f)!==null)w=!0,E||(E=!0,L());else{var G=n(h);G!==null&&H(N,G.startTime-I)}}var E=!1,M=-1,R=5,B=-1;function z(){return v?!0:!(e.unstable_now()-B<R)}function D(){if(v=!1,E){var I=e.unstable_now();B=I;var G=!0;try{e:{w=!1,S&&(S=!1,O(M),M=-1),j=!0;var Z=y;try{t:{for(T(I),x=n(f);x!==null&&!(x.expirationTime>I&&z());){var ie=x.callback;if(typeof ie=="function"){x.callback=null,y=x.priorityLevel;var ce=ie(x.expirationTime<=I);if(I=e.unstable_now(),typeof ce=="function"){x.callback=ce,T(I),G=!0;break t}x===n(f)&&r(f),T(I)}else r(f);x=n(f)}if(x!==null)G=!0;else{var q=n(h);q!==null&&H(N,q.startTime-I),G=!1}}break e}finally{x=null,y=Z,j=!1}G=void 0}}finally{G?L():E=!1}}}var L;if(typeof _=="function")L=function(){_(D)};else if(typeof MessageChannel<"u"){var $=new MessageChannel,F=$.port2;$.port1.onmessage=D,L=function(){F.postMessage(null)}}else L=function(){A(D,0)};function H(I,G){M=A(function(){I(e.unstable_now())},G)}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(I){I.callback=null},e.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<I?Math.floor(1e3/I):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_next=function(I){switch(y){case 1:case 2:case 3:var G=3;break;default:G=y}var Z=y;y=G;try{return I()}finally{y=Z}},e.unstable_requestPaint=function(){v=!0},e.unstable_runWithPriority=function(I,G){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var Z=y;y=I;try{return G()}finally{y=Z}},e.unstable_scheduleCallback=function(I,G,Z){var ie=e.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?ie+Z:ie):Z=ie,I){case 1:var ce=-1;break;case 2:ce=250;break;case 5:ce=1073741823;break;case 4:ce=1e4;break;default:ce=5e3}return ce=Z+ce,I={id:p++,callback:G,priorityLevel:I,startTime:Z,expirationTime:ce,sortIndex:-1},Z>ie?(I.sortIndex=Z,t(h,I),n(f)===null&&I===n(h)&&(S?(O(M),M=-1):S=!0,H(N,Z-ie))):(I.sortIndex=ce,t(f,I),w||j||(w=!0,E||(E=!0,L()))),I},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(I){var G=y;return function(){var Z=y;y=G;try{return I.apply(this,arguments)}finally{y=Z}}}})(Gy)),Gy}var OO;function UB(){return OO||(OO=1,Fy.exports=qB()),Fy.exports}var Ky={exports:{}},pn={};/**
|
|||
|
|
* @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 TO;function VB(){if(TO)return pn;TO=1;var e=Nw();function t(f){var h="https://react.dev/errors/"+f;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)h+="&args[]="+encodeURIComponent(arguments[p])}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 l(f,h,p){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:i,key:x==null?null:""+x,children:f,containerInfo:h,implementation:p}}var c=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(f,h){if(f==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return pn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,pn.createPortal=function(f,h){var p=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 l(f,h,null,p)},pn.flushSync=function(f){var h=c.T,p=r.p;try{if(c.T=null,r.p=2,f)return f()}finally{c.T=h,r.p=p,r.d.f()}},pn.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))},pn.prefetchDNS=function(f){typeof f=="string"&&r.d.D(f)},pn.preinit=function(f,h){if(typeof f=="string"&&h&&typeof h.as=="string"){var p=h.as,x=d(p,h.crossOrigin),y=typeof h.integrity=="string"?h.integrity:void 0,j=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;p==="style"?r.d.S(f,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:x,integrity:y,fetchPriority:j}):p==="script"&&r.d.X(f,{crossOrigin:x,integrity:y,fetchPriority:j,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},pn.preinitModule=function(f,h){if(typeof f=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var p=d(h.as,h.crossOrigin);r.d.M(f,{crossOrigin:p,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)},pn.preload=function(f,h){if(typeof f=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var p=h.as,x=d(p,h.crossOrigin);r.d.L(f,p,{crossOrigin:x,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})}},pn.preloadModule=function(f,h){if(typeof f=="string")if(h){var p=d(h.as,h.crossOrigin);r.d.m(f,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else r.d.m(f)},pn.requestFormReset=function(f){r.d.r(f)},pn.unstable_batchedUpdates=function(f,h){return f(h)},pn.useFormState=function(f,h,p){return c.H.useFormState(f,h,p)},pn.useFormStatus=function(){return c.H.useHostTransitionStatus()},pn.version="19.2.7",pn}var EO;function HB(){if(EO)return Ky.exports;EO=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(),Ky.exports=VB(),Ky.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 kO;function FB(){if(kO)return Lc;kO=1;var e=UB(),t=Nw(),n=HB();function r(a){var o="https://react.dev/errors/"+a;if(1<arguments.length){o+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)o+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+a+"; visit "+o+" 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 l(a){var o=a,u=a;if(a.alternate)for(;o.return;)o=o.return;else{a=o;do o=a,(o.flags&4098)!==0&&(u=o.return),a=o.return;while(a)}return o.tag===3?u:null}function c(a){if(a.tag===13){var o=a.memoizedState;if(o===null&&(a=a.alternate,a!==null&&(o=a.memoizedState)),o!==null)return o.dehydrated}return null}function d(a){if(a.tag===31){var o=a.memoizedState;if(o===null&&(a=a.alternate,a!==null&&(o=a.memoizedState)),o!==null)return o.dehydrated}return null}function f(a){if(l(a)!==a)throw Error(r(188))}function h(a){var o=a.alternate;if(!o){if(o=l(a),o===null)throw Error(r(188));return o!==a?null:a}for(var u=a,m=o;;){var g=u.return;if(g===null)break;var b=g.alternate;if(b===null){if(m=g.return,m!==null){u=m;continue}break}if(g.child===b.child){for(b=g.child;b;){if(b===u)return f(g),a;if(b===m)return f(g),o;b=b.sibling}throw Error(r(188))}if(u.return!==m.return)u=g,m=b;else{for(var C=!1,P=g.child;P;){if(P===u){C=!0,u=g,m=b;break}if(P===m){C=!0,m=g,u=b;break}P=P.sibling}if(!C){for(P=b.child;P;){if(P===u){C=!0,u=b,m=g;break}if(P===m){C=!0,m=b,u=g;break}P=P.sibling}if(!C)throw Error(r(189))}}if(u.alternate!==m)throw Error(r(190))}if(u.tag!==3)throw Error(r(188));return u.stateNode.current===u?a:o}function p(a){var o=a.tag;if(o===5||o===26||o===27||o===6)return a;for(a=a.child;a!==null;){if(o=p(a),o!==null)return o;a=a.sibling}return null}var x=Object.assign,y=Symbol.for("react.element"),j=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),_=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),B=Symbol.for("react.activity"),z=Symbol.for("react.memo_cache_sentinel"),D=Symbol.iterator;function L(a){return a===null||typeof a!="object"?null:(a=D&&a[D]||a["@@iterator"],typeof a=="function"?a:null)}var $=Symbol.for("react.client.reference");function F(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===$?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case S:return"Fragment";case A:return"Profiler";case v:return"StrictMode";case N:return"Suspense";case E:return"SuspenseList";case B:return"Activity"}if(typeof a=="object")switch(a.$$typeof){case w:return"Portal";case _:return a.displayName||"Context";case O:return(a._context.displayName||"Context")+".Consumer";case T:var o=a.render;return a=a.displayName,a||(a=o.displayName||o.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case M:return o=a.displayName||null,o!==null?o:F(a.type)||"Memo";case R:o=a._payload,a=a._init;try{return F(a(o))}catch{}}return null}var H=Array.isArray,I=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z={pending:!1,data:null,method:null,action:null},ie=[],ce=-1;function q(a){return{current:a}}function Y(a){0>ce||(a.current=ie[ce],ie[ce]=null,ce--)}function ae(a,o){ce++,ie[ce]=a.current,a.current=o}var fe=q(null),ye=q(null),Se=q(null),qe=q(null);function et(a,o){switch(ae(Se,o),ae(ye,a),ae(fe,null),o.nodeType){case 9:case 11:a=(a=o.documentElement)&&(a=a.namespaceURI)?F_(a):0;break;default:if(a=o.tagName,o=o.namespaceURI)o=F_(o),a=G_(o,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}Y(fe),ae(fe,a)}function de(){Y(fe),Y(ye),Y(Se)}function Te(a){a.memoizedState!==null&&ae(qe,a);var o=fe.current,u=G_(o,a.type);o!==u&&(ae(ye,a),ae(fe,u))}functi
|
|||
|
|
at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|||
|
|
`+ue+a+gt}var Tt=!1;function Et(a,o){if(!a||Tt)return"";Tt=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var m={DetermineComponentFrameRoot:function(){try{if(o){var oe=function(){throw Error()};if(Object.defineProperty(oe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(oe,[])}catch(ee){var J=ee}Reflect.construct(a,[],oe)}else{try{oe.call()}catch(ee){J=ee}a.call(oe.prototype)}}else{try{throw Error()}catch(ee){J=ee}(oe=a())&&typeof oe.catch=="function"&&oe.catch(function(){})}}catch(ee){if(ee&&J&&typeof ee.stack=="string")return[ee.stack,J.stack]}return[null,null]}};m.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var g=Object.getOwnPropertyDescriptor(m.DetermineComponentFrameRoot,"name");g&&g.configurable&&Object.defineProperty(m.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var b=m.DetermineComponentFrameRoot(),C=b[0],P=b[1];if(C&&P){var U=C.split(`
|
|||
|
|
`),Q=P.split(`
|
|||
|
|
`);for(g=m=0;m<U.length&&!U[m].includes("DetermineComponentFrameRoot");)m++;for(;g<Q.length&&!Q[g].includes("DetermineComponentFrameRoot");)g++;if(m===U.length||g===Q.length)for(m=U.length-1,g=Q.length-1;1<=m&&0<=g&&U[m]!==Q[g];)g--;for(;1<=m&&0<=g;m--,g--)if(U[m]!==Q[g]){if(m!==1||g!==1)do if(m--,g--,0>g||U[m]!==Q[g]){var ne=`
|
|||
|
|
`+U[m].replace(" at new "," at ");return a.displayName&&ne.includes("<anonymous>")&&(ne=ne.replace("<anonymous>",a.displayName)),ne}while(1<=m&&0<=g);break}}}finally{Tt=!1,Error.prepareStackTrace=u}return(u=a?a.displayName||a.name:"")?$e(u):""}function hn(a,o){switch(a.tag){case 26:case 27:case 5:return $e(a.type);case 16:return $e("Lazy");case 13:return a.child!==o&&o!==null?$e("Suspense Fallback"):$e("Suspense");case 19:return $e("SuspenseList");case 0:case 15:return Et(a.type,!1);case 11:return Et(a.type.render,!1);case 1:return Et(a.type,!0);case 31:return $e("Activity");default:return""}}function Or(a){try{var o="",u=null;do o+=hn(a,u),u=a,a=a.return;while(a);return o}catch(m){return`
|
|||
|
|
Error generating stack: `+m.message+`
|
|||
|
|
`+m.stack}}var Fr=Object.prototype.hasOwnProperty,Xa=e.unstable_scheduleCallback,Tr=e.unstable_cancelCallback,ca=e.unstable_shouldYield,Vl=e.unstable_requestPaint,mn=e.unstable_now,xd=e.unstable_getCurrentPriorityLevel,SN=e.unstable_ImmediatePriority,NN=e.unstable_UserBlockingPriority,yd=e.unstable_NormalPriority,v8=e.unstable_LowPriority,AN=e.unstable_IdlePriority,b8=e.log,j8=e.unstable_setDisableYieldValue,Hl=null,$n=null;function Wa(a){if(typeof b8=="function"&&j8(a),$n&&typeof $n.setStrictMode=="function")try{$n.setStrictMode(Hl,a)}catch{}}var Bn=Math.clz32?Math.clz32:N8,w8=Math.log,S8=Math.LN2;function N8(a){return a>>>=0,a===0?32:31-(w8(a)/S8|0)|0}var gd=256,vd=262144,bd=4194304;function Ui(a){var o=a&42;if(o!==0)return o;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 jd(a,o,u){var m=a.pendingLanes;if(m===0)return 0;var g=0,b=a.suspendedLanes,C=a.pingedLanes;a=a.warmLanes;var P=m&134217727;return P!==0?(m=P&~b,m!==0?g=Ui(m):(C&=P,C!==0?g=Ui(C):u||(u=P&~a,u!==0&&(g=Ui(u))))):(P=m&~b,P!==0?g=Ui(P):C!==0?g=Ui(C):u||(u=m&~a,u!==0&&(g=Ui(u)))),g===0?0:o!==0&&o!==g&&(o&b)===0&&(b=g&-g,u=o&-o,b>=u||b===32&&(u&4194048)!==0)?o:g}function Fl(a,o){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&o)===0}function A8(a,o){switch(a){case 1:case 2:case 4:case 8:case 64:return o+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 o+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 _N(){var a=bd;return bd<<=1,(bd&62914560)===0&&(bd=4194304),a}function kp(a){for(var o=[],u=0;31>u;u++)o.push(a);return o}function Gl(a,o){a.pendingLanes|=o,o!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function _8(a,o,u,m,g,b){var C=a.pendingLanes;a.pendingLanes=u,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=u,a.entangledLanes&=u,a.errorRecoveryDisabledLanes&=u,a.shellSuspendCounter=0;var P=a.entanglements,U=a.expirationTimes,Q=a.hiddenUpdates;for(u=C&~u;0<u;){var ne=31-Bn(u),oe=1<<ne;P[ne]=0,U[ne]=-1;var J=Q[ne];if(J!==null)for(Q[ne]=null,ne=0;ne<J.length;ne++){var ee=J[ne];ee!==null&&(ee.lane&=-536870913)}u&=~oe}m!==0&&ON(a,m,0),b!==0&&g===0&&a.tag!==0&&(a.suspendedLanes|=b&~(C&~o))}function ON(a,o,u){a.pendingLanes|=o,a.suspendedLanes&=~o;var m=31-Bn(o);a.entangledLanes|=o,a.entanglements[m]=a.entanglements[m]|1073741824|u&261930}function TN(a,o){var u=a.entangledLanes|=o;for(a=a.entanglements;u;){var m=31-Bn(u),g=1<<m;g&o|a[m]&o&&(a[m]|=o),u&=~g}}function EN(a,o){var u=o&-o;return u=(u&42)!==0?1:Cp(u),(u&(a.suspendedLanes|o))!==0?0:u}function Cp(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 Mp(a){return a&=-a,2<a?8<a?(a&134217727)!==0?32:268435456:8:2}function kN(){var a=G.p;return a!==0?a:(a=window.event,a===void 0?32:pO(a.type))}function CN(a,o){var u=G.p;try{return G.p=a,o()}finally{G.p=u}}var Za=Math.random().toString(36).slice(2),rn="__reactFiber$"+Za,Tn="__reactProps$"+Za,Us="__reactContainer$"+Za,Pp="__reactEvents$"+Za,O8="__reactListeners$"+Za,T8="__reactHandles$"+Za,MN="__reactResources$"+Za,Kl="__reactMarke
|
|||
|
|
`).replace(sB,"")}function V_(a,o){return o=U_(o),U_(a)===o}function ot(a,o,u,m,g,b){switch(u){case"children":typeof m=="string"?o==="body"||o==="textarea"&&m===""||Ys(a,m):(typeof m=="number"||typeof m=="bigint")&&o!=="body"&&Ys(a,""+m);break;case"className":Sd(a,"class",m);break;case"tabIndex":Sd(a,"tabindex",m);break;case"dir":case"role":case"viewBox":case"width":case"height":Sd(a,u,m);break;case"style":VN(a,m,b);break;case"data":if(o!=="object"){Sd(a,"data",m);break}case"src":case"href":if(m===""&&(o!=="a"||u!=="href")){a.removeAttribute(u);break}if(m==null||typeof m=="function"||typeof m=="symbol"||typeof m=="boolean"){a.removeAttribute(u);break}m=Ad(""+m),a.setAttribute(u,m);break;case"action":case"formAction":if(typeof m=="function"){a.setAttribute(u,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof b=="function"&&(u==="formAction"?(o!=="input"&&ot(a,o,"name",g.name,g,null),ot(a,o,"formEncType",g.formEncType,g,null),ot(a,o,"formMethod",g.formMethod,g,null),ot(a,o,"formTarget",g.formTarget,g,null)):(ot(a,o,"encType",g.encType,g,null),ot(a,o,"method",g.method,g,null),ot(a,o,"target",g.target,g,null)));if(m==null||typeof m=="symbol"||typeof m=="boolean"){a.removeAttribute(u);break}m=Ad(""+m),a.setAttribute(u,m);break;case"onClick":m!=null&&(a.onclick=da);break;case"onScroll":m!=null&&Ve("scroll",a);break;case"onScrollEnd":m!=null&&Ve("scrollend",a);break;case"dangerouslySetInnerHTML":if(m!=null){if(typeof m!="object"||!("__html"in m))throw Error(r(61));if(u=m.__html,u!=null){if(g.children!=null)throw Error(r(60));a.innerHTML=u}}break;case"multiple":a.multiple=m&&typeof m!="function"&&typeof m!="symbol";break;case"muted":a.muted=m&&typeof m!="function"&&typeof m!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(m==null||typeof m=="function"||typeof m=="boolean"||typeof m=="symbol"){a.removeAttribute("xlink:href");break}u=Ad(""+m),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":m!=null&&typeof m!="function"&&typeof m!="symbol"?a.setAttribute(u,""+m):a.removeAttribute(u);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":m&&typeof m!="function"&&typeof m!="symbol"?a.setAttribute(u,""):a.removeAttribute(u);break;case"capture":case"download":m===!0?a.setAttribute(u,""):m!==!1&&m!=null&&typeof m!="function"&&typeof m!="symbol"?a.setAttribute(u,m):a.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":m!=null&&typeof m!="function"&&typeof m!="symbol"&&!isNaN(m)&&1<=m?a.setAttribute(u,m):a.removeAttribute(u);break;case"rowSpan":case"start":m==null||typeof m=="function"||typeof m=="symbol"||isNaN(m)?a.removeAttribute(u):a.setAttribute(u,m);break;case"popover":Ve("beforetoggle",a),Ve("toggle",a),wd(a,"popover",m);break;case"xlinkActuate":ua(a,"http://www.w3.org/1999/xlink","xlink:actuate",m);break;case"xlinkArcrole":ua(a,"http://www.w3.org/1999/xlink","xlink:arcrole",m);break;case"xlinkRole":ua(a,"http://www.w3.org/1999/xlink","xlink:role",m);break;case"xlinkShow":ua(a,"http://www.w3.org/1999/xlink","xlink:show",m);break;case"xlinkTitle":ua(a,"http://www.w3.org/1999/xlink","xlink:title",m);break;case"xlinkType":ua(a,"http://www.w3.org/1999/xlink","xlink:type",m);break;case"xmlBase":ua(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 Aw=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,NR=/^[\\/]{2}/;function YB(e,t){return t+e.replace(/\\/g,"/")}var MO="popstate";function PO(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function XB(e={}){function t(r,i){var h;let l=(h=i.state)==null?void 0:h.masked,{pathname:c,search:d,hash:f}=l||r.location;return v1("",{pathname:c,search:d,hash:f},i.state&&i.state.usr||null,i.state&&i.state.key||"default",l?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,i){return typeof i=="string"?i:hu(i)}return ZB(t,n,null,e)}function Ot(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function wr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function WB(){return Math.random().toString(36).substring(2,10)}function RO(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 v1(e,t,n=null,r,i){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?_l(t):t,state:n,key:t&&t.key||r||WB(),mask:i}}function hu({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 _l(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 ZB(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:l=!1}=r,c=i.history,d="POP",f=null,h=p();h==null&&(h=0,c.replaceState({...c.state,idx:h},""));function p(){return(c.state||{idx:null}).idx}function x(){d="POP";let v=p(),A=v==null?null:v-h;h=v,f&&f({action:d,location:S.location,delta:A})}function y(v,A){d="PUSH";let O=PO(v)?v:v1(S.location,v,A);h=p()+1;let _=RO(O,h),T=S.createHref(O.mask||O);try{c.pushState(_,"",T)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;i.location.assign(T)}l&&f&&f({action:d,location:S.location,delta:1})}function j(v,A){d="REPLACE";let O=PO(v)?v:v1(S.location,v,A);h=p();let _=RO(O,h),T=S.createHref(O.mask||O);c.replaceState(_,"",T),l&&f&&f({action:d,location:S.location,delta:0})}function w(v){return QB(i,v)}let S={get action(){return d},get location(){return e(i,c)},listen(v){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(MO,x),f=v,()=>{i.removeEventListener(MO,x),f=null}},createHref(v){return t(i,v)},createURL:w,encodeLocation(v){let A=w(v);return{pathname:A.pathname,search:A.search,hash:A.hash}},push:y,replace:j,go(v){return c.go(v)}};return S}function QB(e,t,n=!1){let r="http://localhost";e&&(r=e.location.origin!=="null"?e.location.origin:e.location.href),Ot(r,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:hu(t);return i=i.replace(/ $/,"%20"),!n&&NR.test(i)&&(i=r+i),new URL(i,r)}function AR(e,t,n="/"){return JB(e,t,n,!1)}function JB(e,t,n,r,i){let l=typeof t=="string"?_l(t):t,c=Ba(l.pathname||"/",n);if(c==null)return null;let d=eI(e),f=null,h=dI(c);for(let p=0;f==null&&p<d.length;++p)f=uI(d[p],h,r);return f}function eI(e){let t=_R(e);return tI(t),t}function _R(e,t=[],n=[],r="",i=!1){let l=(c,d,f=i,h)=>{let p={relativePath:h===void 0?c.path||"":h,caseSensitive:c.caseSensitive===!0,childrenIndex:d,route:c};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(r)&&f)return;Ot(p.relativePath.startsWith(r),`Absolute route path "${p.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(r.length)}let x=$r([r,p.relativePath]),y=n.concat(p);c.children&&c.children.length>0&&(Ot(c.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${x}".`),_R(c.children,t,y,x,f)),!(c.path==null&&!c.index)&&t.push({path:x,score:lI(x,c.index),routesMeta:y.map((j,w)=>{let[S,v]=ER(j.relativePath,j.caseSensitive,w===y.length-1);return{...j,matcher:S,compiledPar
|
|||
|
|
|
|||
|
|
Please change the parent <Route path="${A}"> to <Route path="${A==="/"?"*":`${A}/*`}">.`)}let p=On(),x;if(t){let A=typeof t=="string"?_l(t):t;Ot(f==="/"||((v=A.pathname)==null?void 0:v.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.`),x=A}else x=p;let y=x.pathname||"/",j=y;if(f!=="/"){let A=f.replace(/^\//,"").split("/");j="/"+y.replace(/^\//,"").split("/").slice(A.length).join("/")}let w=n&&n.state.matches.length?n.state.matches.map(A=>Object.assign(A,{route:n.manifest[A.route.id]||A.route})):AR(e,{pathname:j});wr(h||w!=null,`No routes matched location "${x.pathname}${x.search}${x.hash}" `),wr(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${x.pathname}${x.search}${x.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 S=BI(w&&w.map(A=>Object.assign({},A,{params:Object.assign({},c,A.params),pathname:$r([f,r.encodeLocation?r.encodeLocation(A.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:A.pathname]),pathnameBase:A.pathnameBase==="/"?f:$r([f,r.encodeLocation?r.encodeLocation(A.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:A.pathnameBase])})),i,n);return t&&S?k.createElement(ed.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...x},navigationType:"POP"}},S):S}function DI(){let e=HI(),t=gI(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},l={padding:"2px 4px",backgroundColor:r},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=k.createElement(k.Fragment,null,k.createElement("p",null,"💿 Hey developer 👋"),k.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",k.createElement("code",{style:l},"ErrorBoundary")," or"," ",k.createElement("code",{style:l},"errorElement")," prop on your route.")),k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),n?k.createElement("pre",{style:i},n):null,c)}var zI=k.createElement(DI,null),IR=class extends k.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=EI(e.digest);n&&(e=n)}let t=e!==void 0?k.createElement(Vr.Provider,{value:this.props.routeContext},k.createElement(Ow.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?k.createElement(LI,{error:e},t):t}};IR.contextType=RR;var Xy=new WeakMap;function LI({children:e,error:t}){let{basename:n}=k.useContext(nr);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=TI(t.digest);if(r){let i=Xy.get(t);if(i)throw i;let l=MR(r.location,n),c=l.absoluteURL||l.to;if(wI(c))throw new Error("Invalid redirect location");if(CR&&!Xy.get(t))if(l.isExternal||r.reloadDocument)window.location.href=c;else{const d=Promise.resolve().then(()=>window.__reactRout
|
|||
|
|
[data-motion-pop-id="${c}"] {
|
|||
|
|
position: absolute !important;
|
|||
|
|
width: ${j}px !important;
|
|||
|
|
height: ${w}px !important;
|
|||
|
|
${N}px !important;
|
|||
|
|
${E}px !important;
|
|||
|
|
}
|
|||
|
|
`),()=>{var B;(B=d.current)==null||B.removeAttribute("data-motion-pop-id"),R.contains(M)&&R.removeChild(M)}},[t]),s.jsx(wV,{isPresent:t,childRef:d,sizeRef:f,pop:l,children:l===!1?e:k.cloneElement(e,{ref:x})})}const NV=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:l,mode:c,anchorX:d,anchorY:f,root:h})=>{const p=Dw(AV),x=k.useId(),y=k.useRef(n),j=k.useRef(r);zw(()=>{y.current=n,j.current=r});let w=!0,S=k.useMemo(()=>(w=!1,{id:x,initial:t,isPresent:n,custom:i,onExitComplete:v=>{p.set(v,!0);for(const A of p.values())if(!A)return;r&&r()},register:v=>(p.set(v,!1),()=>{var A;p.delete(v),!y.current&&!p.size&&((A=j.current)==null||A.call(j))})}),[n,p,r]);return l&&w&&(S={...S}),k.useMemo(()=>{p.forEach((v,A)=>p.set(A,!1))},[n]),k.useEffect(()=>{!n&&!p.size&&r&&r()},[n]),e=s.jsx(SV,{pop:c==="popLayout",isPresent:n,anchorX:d,anchorY:f,root:h,children:e}),s.jsx(Im.Provider,{value:S,children:e})};function AV(){return new Map}function x5(e=!0){const t=k.useContext(Im);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,l=k.useId();k.useEffect(()=>{if(e)return i(l)},[e]);const c=k.useCallback(()=>e&&r&&r(l),[l,r,e]);return!n&&r?[!1,c]:[!0]}const Bf=e=>e.key||"";function VT(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const Qr=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:l="sync",propagate:c=!1,anchorX:d="left",anchorY:f="top",root:h})=>{const[p,x]=x5(c),y=k.useMemo(()=>VT(e),[e]),j=c&&!p?[]:y.map(Bf),w=k.useRef(!0),S=k.useRef(y),v=Dw(()=>new Map),A=k.useRef(new Set),[O,_]=k.useState(y),[T,N]=k.useState(y);zw(()=>{w.current=!1,S.current=y;for(let R=0;R<T.length;R++){const B=Bf(T[R]);j.includes(B)?(v.delete(B),A.current.delete(B)):v.get(B)!==!0&&v.set(B,!1)}},[T,j.length,j.join("-")]);const E=[];if(y!==O){let R=[...y];for(let B=0;B<T.length;B++){const z=T[B],D=Bf(z);j.includes(D)||(R.splice(B,0,z),E.push(z))}return l==="wait"&&E.length&&(R=E),N(VT(R)),_(y),null}const{forceRender:M}=k.useContext(Rw);return s.jsx(s.Fragment,{children:T.map(R=>{const B=Bf(R),z=c&&!p?!1:y===T||j.includes(B),D=()=>{if(A.current.has(B))return;if(v.has(B))A.current.add(B),v.set(B,!0);else return;let L=!0;v.forEach($=>{$||(L=!1)}),L&&(M==null||M(),N(S.current),c&&(x==null||x()),r&&r())};return s.jsx(NV,{isPresent:z,initial:!w.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:l,root:h,onExitComplete:z?void 0:D,anchorX:d,anchorY:f,children:R},B)})})},y5=k.createContext({strict:!1}),HT={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 FT=!1;function _V(){if(FT)return;const e={};for(const t in HT)e[t]={isEnabled:n=>HT[t].some(r=>!!n[r])};KD(e),FT=!0}function g5(){return _V(),uU()}function OV(e){const t=g5();for(const n in e)t[n]={...t[n],...e[n]};KD(t)}const TV=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 Ch(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||TV.has(e)}let v5=e=>!Ch(e);function EV(e){typeof e=="function"&&(v5=t=>t.startsWith("on")?!Ch(t):e(t))}try{EV(require("@emotion/is-prop-valid").default)}catch{}function kV(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||dn(e[i])||(v5(i)||n===!0&&Ch(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 PH=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),k5=(...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 RH={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 DH=k.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:l,iconNode:c,...d},f)=>k.createElement("svg",{ref:f,...RH,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:k5("lucide",i),...d},[...c.map(([h,p])=>k.createElement(h,p)),...Array.isArray(l)?l:[l]]));/**
|
|||
|
|
* @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 le=(e,t)=>{const n=k.forwardRef(({className:r,...i},l)=>k.createElement(DH,{ref:l,iconNode:t,className:k5(`lucide-${PH(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 zH=le("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 LH=le("ArrowDownLeft",[["path",{d:"M17 7 7 17",key:"15tmo1"}],["path",{d:"M17 17H7V7",key:"1org7z"}]]);/**
|
|||
|
|
* @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=le("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 BH=le("ArrowRightLeft",[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]]);/**
|
|||
|
|
* @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 uS=le("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 Y1=le("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 C5=le("Battery",[["rect",{width:"16",height:"10",x:"2",y:"7",rx:"2",ry:"2",key:"1w10f2"}],["line",{x1:"22",x2:"22",y1:"11",y2:"13",key:"4dh1rd"}]]);/**
|
|||
|
|
* @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 X1=le("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 Mh=le("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
|
|||
|
|
* @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 Ti=le("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 rE=le("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]]);/**
|
|||
|
|
* @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 Wo=le("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 Ia=le("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 Zo=le("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 yh=le("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 IH=le("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 qH=le("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
|
|||
|
|
* @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 Fm=le("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 M5=le("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 Io=le("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 Ir=le("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 jr=le("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
|
|||
|
|
* @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 Dn=le("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 Ph=le("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 UH=le("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
|
|||
|
|
* @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 Xt=le("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 VH=le("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 dS=le("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
|
|||
|
|
* @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 P5=le("Crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]]);/**
|
|||
|
|
* @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 fS=le("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 qa=le("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 HH=le("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
|
|||
|
|
* @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=le("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 R5=le("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 D5=le("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/**
|
|||
|
|
* @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 aE=le("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 GH=le("FileSpreadsheet",[["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:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]]);/**
|
|||
|
|
* @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 Sr=le("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 Pl=le("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 KH=le("Flag",[["path",{d:"M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z",key:"i9b6wo"}],["line",{x1:"4",x2:"4",y1:"22",y2:"15",key:"1cm3nv"}]]);/**
|
|||
|
|
* @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 hS=le("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 YH=le("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 gn=le("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 Ns=le("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 iE=le("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
|
|||
|
|
* @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=le("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);/**
|
|||
|
|
* @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=le("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/**
|
|||
|
|
* @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 Uf=le("Inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]]);/**
|
|||
|
|
* @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 z5=le("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/**
|
|||
|
|
* @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=le("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/**
|
|||
|
|
* @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 sE=le("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 mS=le("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 QH=le("Link2Off",[["path",{d:"M9 17H7A5 5 0 0 1 7 7",key:"10o201"}],["path",{d:"M15 7h2a5 5 0 0 1 4 8",key:"1d3206"}],["line",{x1:"8",x2:"12",y1:"12",y2:"12",key:"rvw6j4"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/**
|
|||
|
|
* @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=le("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);/**
|
|||
|
|
* @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 L5=le("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/**
|
|||
|
|
* @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=le("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
|
|||
|
|
* @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 $5=le("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 pS=le("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 hg=le("MailOpen",[["path",{d:"M21.2 8.4c.5.38.8.97.8 1.6v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 .8-1.6l8-6a2 2 0 0 1 2.4 0l8 6Z",key:"1jhwl8"}],["path",{d:"m22 10-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 10",key:"1qfld7"}]]);/**
|
|||
|
|
* @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 An=le("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 W1=le("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
|
|||
|
|
* @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 eF=le("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 B5=le("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 tF=le("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 gh=le("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 nF=le("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 rF=le("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 I5=le("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 aF=le("MousePointer",[["path",{d:"M12.586 12.586 19 19",key:"ea5xo7"}],["path",{d:"M3.688 3.037a.497.497 0 0 0-.651.651l6.5 15.999a.501.501 0 0 0 .947-.062l1.569-6.083a2 2 0 0 1 1.448-1.479l6.124-1.579a.5.5 0 0 0 .063-.947z",key:"277e5u"}]]);/**
|
|||
|
|
* @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 q5=le("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 iF=le("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 sF=le("PanelsTopLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]);/**
|
|||
|
|
* @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 oE=le("Paperclip",[["path",{d:"m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48",key:"1u3ebp"}]]);/**
|
|||
|
|
* @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=le("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 lE=le("PenTool",[["path",{d:"M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z",key:"nt11vn"}],["path",{d:"m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18",key:"15qc1e"}],["path",{d:"m2.3 2.3 7.286 7.286",key:"1wuzzi"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]]);/**
|
|||
|
|
* @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 cE=le("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 Q1=le("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 _n=le("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 Ei=le("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
|
|||
|
|
* @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 oF=le("Reply",[["polyline",{points:"9 17 4 12 9 7",key:"hvgpf2"}],["path",{d:"M20 18v-2a4 4 0 0 0-4-4H4",key:"5vmcpk"}]]);/**
|
|||
|
|
* @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 lF=le("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 uE=le("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]]);/**
|
|||
|
|
* @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=le("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 gu=le("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 Dh=le("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);/**
|
|||
|
|
* @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 U5=le("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 xS=le("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 Da=le("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 cF=le("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 V5=le("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 uF=le("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);/**
|
|||
|
|
* @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 H5=le("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 dF=le("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 F5=le("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 aa=le("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 fn=le("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 fF=le("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);/**
|
|||
|
|
* @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 J1=le("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/**
|
|||
|
|
* @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 dE=le("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 Qo=le("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 qr=le("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 G5=le("Video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);/**
|
|||
|
|
* @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 qo=le("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 Nr=le("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 hF=le("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]);/**
|
|||
|
|
* @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=le("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 K5(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=K5(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Le(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=K5(e))&&(r&&(r+=" "),r+=t);return r}const yS="-",mF=e=>{const t=xF(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:c=>{const d=c.split(yS);return d[0]===""&&d.length!==1&&d.shift(),Y5(d,t)||pF(c)},getConflictingClassGroupIds:(c,d)=>{const f=n[c]||[];return d&&r[c]?[...f,...r[c]]:f}}},Y5=(e,t)=>{var c;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?Y5(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const l=e.join(yS);return(c=t.validators.find(({validator:d})=>d(l)))==null?void 0:c.classGroupId},fE=/^\[(.+)\]$/,pF=e=>{if(fE.test(e)){const t=fE.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},xF=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return gF(Object.entries(e.classGroups),n).forEach(([l,c])=>{ej(c,r,l,t)}),r},ej=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const l=i===""?t:hE(t,i);l.classGroupId=n;return}if(typeof i=="function"){if(yF(i)){ej(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([l,c])=>{ej(c,hE(t,l),n,r)})})},hE=(e,t)=>{let n=e;return t.split(yS).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},yF=e=>e.isThemeGetter,gF=(e,t)=>t?e.map(([n,r])=>{const i=r.map(l=>typeof l=="string"?t+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([c,d])=>[t+c,d])):l);return[n,i]}):e,vF=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(l,c)=>{n.set(l,c),t++,t>e&&(t=0,r=n,n=new Map)};return{get(l){let c=n.get(l);if(c!==void 0)return c;if((c=r.get(l))!==void 0)return i(l,c),c},set(l,c){n.has(l)?n.set(l,c):i(l,c)}}},X5="!",bF=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],l=t.length,c=d=>{const f=[];let h=0,p=0,x;for(let v=0;v<d.length;v++){let A=d[v];if(h===0){if(A===i&&(r||d.slice(v,v+l)===t)){f.push(d.slice(p,v)),p=v+l;continue}if(A==="/"){x=v;continue}}A==="["?h++:A==="]"&&h--}const y=f.length===0?d:d.substring(p),j=y.startsWith(X5),w=j?y.substring(1):y,S=x&&x>p?x-p:void 0;return{modifiers:f,hasImportantModifier:j,baseClassName:w,maybePostfixModifierPosition:S}};return n?d=>n({className:d,parseClassName:c}):c},jF=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},wF=e=>({cache:vF(e.cacheSize),parseClassName:bF(e),...mF(e)}),SF=/\s+/,NF=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,l=[],c=e.trim().split(SF);let d="";for(let f=c.length-1;f>=0;f-=1){const h=c[f],{modifiers:p,hasImportantModifier:x,baseClassName:y,maybePostfixModifierPosition:j}=n(h);let w=!!j,S=r(w?y.substring(0,j):y);if(!S){if(!w){d=h+(d.length>0?" "+d:d);continue}if(S=r(y),!S){d=h+(d.length>0?" "+d:d);continue}w=!1}const v=jF(p).join(":"),A=x?v+X5:v,O=A+S;if(l.includes(O))continue;l.push(O);const _=i(S,w);for(let T=0;T<_.length;++T){const N=_[T];l.push(A+N)}d=h+(d.length>0?" "+d:d)}return d};function AF(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=W5(t))&&(r&&(r+=" "),r+=n);return r}const W5=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=W5(e[r]))&&(n&&(n+=" "),n+=t);return n};function _F(e,...t){let n,r,i,l=c;function c(f){const h=t.reduce((p,x)=>x(p),e());return n=wF(h),r=n.cache.get,i=n.cache.set,l=d,d(f)}function d(f){const h=r(f);if(h)return h;const p=NF(f,n);return i(f,p),p}return function(){return l(AF.apply(null,argu
|
|||
|
|
- Analys av balansräkning och resultaträkning
|
|||
|
|
- MOMS-rapportering och skattefrågor
|
|||
|
|
- Fakturahantering och betalningspåminnelser
|
|||
|
|
- Kassaflödesanalys och prognoser
|
|||
|
|
- Bokslut och årsredovisning
|
|||
|
|
|
|||
|
|
Du har tillgång till företagets finansiella data i realtid.
|
|||
|
|
Svara på svenska eller engelska beroende på användarens språk.
|
|||
|
|
Var professionell, noggrann och hjälpsam.`,kompetenser:["redovisning","finansanalys","skatt","fakturering"],dataTyp:"financial"},sales:{rum:"sales",titel:"Sales AI",systemPrompt:`Du är en expert på försäljning och CRM. Du hjälper användaren med:
|
|||
|
|
- Lead-hantering och kvalificering
|
|||
|
|
- Offertförfrågningar och prissättning
|
|||
|
|
- Säljrapporter och pipeline-analys
|
|||
|
|
- Kundkommunikation och uppföljning
|
|||
|
|
- Säljstrategi och marknadsanalys
|
|||
|
|
|
|||
|
|
Du har tillgång till CRM-data och säljstatistik i realtid.
|
|||
|
|
Svara på svenska eller engelska beroende på användarens språk.`,kompetenser:["försäljning","CRM","leads","offert"],dataTyp:"sales"},hr:{rum:"hr",titel:"HR AI",systemPrompt:`Du är en expert på HR och personalfrågor. Du hjälper användaren med:
|
|||
|
|
- Rekrytering och anställningsprocesser
|
|||
|
|
- Personalhandbok och policyer
|
|||
|
|
- Lönehantering och förmåner
|
|||
|
|
- Semesterplanering och frånvaro
|
|||
|
|
- Medarbetarsamtal och utveckling
|
|||
|
|
|
|||
|
|
Du har tillgång till personaldata och HR-statistik.
|
|||
|
|
Svara på svenska eller engelska beroende på användarens språk.
|
|||
|
|
Var empatisk, professionell och diskret.`,kompetenser:["HR","rekrytering","lön","personal"],dataTyp:"hr"},crm:{rum:"crm",titel:"CRM AI",systemPrompt:`Du är en expert på kundrelationer och CRM. Du hjälper användaren med:
|
|||
|
|
- Kundanalys och segmentering
|
|||
|
|
- Kundresor och touchpoints
|
|||
|
|
- Supportärenden och eskalering
|
|||
|
|
- Kundnöjdhet och NPS
|
|||
|
|
- Kundhistorik och interaktioner
|
|||
|
|
|
|||
|
|
Du har tillgång till CRM-data och kundinteraktioner i realtid.
|
|||
|
|
Svara på svenska eller engelska beroende på användarens språk.`,kompetenser:["CRM","kundservice","support","analys"],dataTyp:"crm"},legal:{rum:"legal",titel:"Legal AI",systemPrompt:`Du är en expert på juridik och compliance. Du hjälper användaren med:
|
|||
|
|
- Avtalsgranskning och tolkning
|
|||
|
|
- GDPR och dataskydd
|
|||
|
|
- Företagsjuridik och bolagsstyrning
|
|||
|
|
- Immaterialrätt och licenser
|
|||
|
|
- Regelverk och efterlevnad
|
|||
|
|
|
|||
|
|
OBS: Du ersätter inte en advokat. Vid komplexa juridiska frågor, hänvisa alltid till jurist.
|
|||
|
|
Svara på svenska eller engelska beroende på användarens språk.
|
|||
|
|
Var noggrann, försiktig och tydlig med begränsningar.`,kompetenser:["juridik","GDPR","avtal","compliance"],dataTyp:"legal"},marketing:{rum:"marketing",titel:"Marketing AI",systemPrompt:`Du är en expert på marknadsföring och kommunikation. Du hjälper användaren med:
|
|||
|
|
- Kampanjplanering och analys
|
|||
|
|
- Sociala medier och content
|
|||
|
|
- SEO och digital marknadsföring
|
|||
|
|
- Marknadsanalys och konkurrenter
|
|||
|
|
- Varumärke och positionering
|
|||
|
|
|
|||
|
|
Du har tillgång till marknadsdata och kampanjstatistik.
|
|||
|
|
Svara på svenska eller engelska beroende på användarens språk.
|
|||
|
|
Var kreativ, strategisk och datadriven.`,kompetenser:["marknadsföring","SEO","sociala medier","analys"],dataTyp:"marketing"},dashboard:{rum:"dashboard",titel:"AMOS Assistant",systemPrompt:`Du är AMOS Assistant - en generell AI-assistent för 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 hela plattformen.
|
|||
|
|
Svara på svenska eller engelska beroende på användarens språk.
|
|||
|
|
Var hjälpsam, kunnig och effektiv.`,kompetenser:["generell","support","teknik","navigering"],dataTyp:"general"}};function tG(e){return xE[e]||xE.dashboard}function nG({rum:e,isOpen:t,onToggle:n}){const r=tG(e),[i,l]=k.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()}]),[c,d]=k.useState(""),[f,h]=k.useState(!1),[p,x]=k.useState(!1),y=k.useRef(null),j=k.useRef(null);k.useEffect(()=>{y.current&&(y.current.scrollTop=y.current.scrollHeight)},[i]);const w=async()=>{if(!c.trim()||f)return;const v={id:`user-${Date.now()}`,roll:"user",innehall:c.trim(),tid:new Date().toISOString()};l(A=>[...A,v]),d(""),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,v].map(O=>({roll:O.roll,innehall:O.innehall}))})});if(A.ok){const O=await A.json();l(_=>[..._,{id:`assistant-${Date.now()}`,roll:"assistant",innehall:O.svar,tid:new Date().toISOString()}])}else{const O=yE(r,c.trim());l(_=>[..._,{id:`assistant-${Date.now()}`,roll:"assistant",innehall:O,tid:new Date().toISOString()}])}}catch{const O=yE(r,c.trim());l(_=>[..._,{id:`assistant-${Date.now()}`,roll:"assistant",innehall:O,tid:new Date().toISOString()}])}h(!1)},S=v=>{v.key==="Enter"&&!v.shiftKey&&(v.preventDefault(),w())};return t?s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"fixed inset-0 bg-black/20 z-40",onClick:n}),s.jsxs(Ge.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 ${p?"w-[500px]":"w-[380px]"}`,children:[s.jsxs("div",{className:"h-14 border-b border-border flex items-center justify-between px-4 bg-primary/5",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("div",{className:"w-8 h-8 rounded-full bg-primary flex items-center justify-center",children:s.jsx(Ti,{size:18,className:"text-white"})}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-sm",children:r.titel}),s.jsx("p",{className:"text-xs text-text-secondary",children:"AI Assistant"})]})]}),s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx("button",{onClick:()=>x(!p),className:"p-2 hover:bg-bg rounded-lg text-text-secondary",children:p?s.jsx(nF,{size:16}):s.jsx(eF,{size:16})}),s.jsx("button",{onClick:n,className:"p-2 hover:bg-bg rounded-lg text-text-secondary",children:s.jsx(Nr,{size:16})})]})]}),s.jsxs("div",{ref:y,className:"flex-1 overflow-y-auto p-4 space-y-4",children:[i.map(v=>s.jsxs("div",{className:`flex gap-3 ${v.roll==="user"?"flex-row-reverse":""}`,children:[s.jsx("div",{className:`w-8 h-8 rounded-full flex items-center justify-center shrink-0 ${v.roll==="assistant"?"bg-primary text-white":"bg-bg text-text-secondary"}`,children:v.roll==="assistant"?s.jsx(Ti,{size:16}):s.jsx(Qo,{size:16})}),s.jsx("div",{className:`max-w-[80%] rounded-2xl px-4 py-2.5 text-sm ${v.roll==="assistant"?"bg-bg text-text-primary rounded-tl-none":"bg-primary text-white rounded-tr-none"}`,children:s.jsx("p",{className:"whitespace-pre-wrap",children:v.innehall})})]},v.id)),f&&s.jsxs("div",{className:"flex gap-3",children:[s.jsx("div",{className:"w-8 h-8 rounded-full bg-primary text-white flex items-center justify-center",children:s.jsx(Ti,{size:16})}),s.jsx("div",{className:"bg-bg rounded-2xl rounded-tl-none px-4 py-3",children:s.jsxs("div",{className:"flex gap-1",children:[s.jsx("div",{className:"w-2 h-2 bg-text-secondary rounded-full animate-bounce"}),s.jsx("div",{className:"w-2 h-2 bg-text-secondary rounded-full animate-bounce delay-100"}),s.jsx("div",{className:"w-2 h-2 bg-text-secondary rounded-full animate-bounce delay-200"})]})})]})]}),s.jsxs("div",{className:"p-4 border-t border-border",children:[s.jsxs("div",{className:"flex gap-2",children:[s.jsx("textarea",{ref:j,value:c,onChange:v=>d(v.target.value),onKeyDown:S,placeholder:"Skriv ett meddelande...",className:"flex-1 min-h
|
|||
|
|
* @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 wk;function sK(){if(wk)return tt;wk=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"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),j=Symbol.for("react.offscreen"),w;w=Symbol.for("react.module.reference");function S(v){if(typeof v=="object"&&v!==null){var A=v.$$typeof;switch(A){case e:switch(v=v.type,v){case n:case i:case r:case h:case p:return v;default:switch(v=v&&v.$$typeof,v){case d:case c:case f:case y:case x:case l:return v;default:return A}}case t:return A}}}return tt.ContextConsumer=c,tt.ContextProvider=l,tt.Element=e,tt.ForwardRef=f,tt.Fragment=n,tt.Lazy=y,tt.Memo=x,tt.Portal=t,tt.Profiler=i,tt.StrictMode=r,tt.Suspense=h,tt.SuspenseList=p,tt.isAsyncMode=function(){return!1},tt.isConcurrentMode=function(){return!1},tt.isContextConsumer=function(v){return S(v)===c},tt.isContextProvider=function(v){return S(v)===l},tt.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===e},tt.isForwardRef=function(v){return S(v)===f},tt.isFragment=function(v){return S(v)===n},tt.isLazy=function(v){return S(v)===y},tt.isMemo=function(v){return S(v)===x},tt.isPortal=function(v){return S(v)===t},tt.isProfiler=function(v){return S(v)===i},tt.isStrictMode=function(v){return S(v)===r},tt.isSuspense=function(v){return S(v)===h},tt.isSuspenseList=function(v){return S(v)===p},tt.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===n||v===i||v===r||v===h||v===p||v===j||typeof v=="object"&&v!==null&&(v.$$typeof===y||v.$$typeof===x||v.$$typeof===l||v.$$typeof===c||v.$$typeof===f||v.$$typeof===w||v.getModuleId!==void 0)},tt.typeOf=S,tt}var Sk;function oK(){return Sk||(Sk=1,xv.exports=sK()),xv.exports}var lK=oK(),yv,Nk;function i6(){if(Nk)return yv;Nk=1;var e=Fa(),t=Ga(),n="[object Number]";function r(i){return typeof i=="number"||t(i)&&e(i)==n}return yv=r,yv}var gv,Ak;function cK(){if(Ak)return gv;Ak=1;var e=i6();function t(n){return e(n)&&n!=+n}return gv=t,gv}var uK=cK();const od=it(uK);var dK=i6();const fK=it(dK);var wn=function(t){return t===0?0:t>0?1:-1},gs=function(t){return Es(t)&&t.indexOf("%")===t.length-1},he=function(t){return fK(t)&&!od(t)},hK=function(t){return De(t)},Wt=function(t){return he(t)||Es(t)},mK=0,Ll=function(t){var n=++mK;return"".concat(t||"").concat(n)},Sn=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(!he(t)&&!Es(t))return r;var l;if(gs(t)){var c=t.indexOf("%");l=n*parseFloat(t.slice(0,c))/100}else l=+t;return od(l)&&(l=r),i&&l>n&&(l=n),l},Ai=function(t){if(!t)return null;var n=Object.keys(t);return n&&n.length?t[n[0]]:null},pK=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},Wn=function(t,n){return he(t)&&he(n)?function(r){return t+r*(n-t)}:function(){return n}};function zh(e,t,n){return!e||!e.length?null:e.find(function(r){return r&&(typeof t=="function"?t(r):Jn(r,t))===n})}var xK=function(t,n){return he(t)&&he(n)?t-n:Es(t)&&Es(n)?t.localeCompare(n):t instanceof Date&&n instanceof Date?t.getTime()-n.getTime():String(t).localeCompare(String(n))};function Ho(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 tj(e){"@babel/helpers - typeof";return tj=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},tj(e)}var yK=["viewBox","children"],gK=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-control
|
|||
|
|
A`).concat(c,",").concat(c,",0,1,1,").concat(2*d,",").concat(l,`
|
|||
|
|
H`).concat(pr,"M").concat(2*d,",").concat(l,`
|
|||
|
|
A`).concat(c,",").concat(c,",0,1,1,").concat(d,",").concat(l),className:"recharts-legend-icon"});if(r.type==="rect")return V.createElement("path",{stroke:"none",fill:f,d:"M0,".concat(pr/8,"h").concat(pr,"v").concat(pr*3/4,"h").concat(-pr,"z"),className:"recharts-legend-icon"});if(V.isValidElement(r.legendIcon)){var h=MY({},r);return delete h.legendIcon,V.cloneElement(r.legendIcon,h)}return V.createElement(kS,{fill:f,cx:l,cy:l,size:pr,sizeType:"diameter",type:r.type})}},{key:"renderItems",value:function(){var r=this,i=this.props,l=i.payload,c=i.iconSize,d=i.layout,f=i.formatter,h=i.inactiveColor,p={x:0,y:0,width:pr,height:pr},x={display:d==="horizontal"?"inline-block":"block",marginRight:10},y={display:"inline-block",verticalAlign:"middle",marginRight:4};return l.map(function(j,w){var S=j.formatter||f,v=Le(bu(bu({"recharts-legend-item":!0},"legend-item-".concat(w),!0),"inactive",j.inactive));if(j.type==="none")return null;var A=ke(j.value)?null:j.value;Ur(!ke(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 O=j.inactive?h:j.color;return V.createElement("li",fj({className:v,style:x,key:"legend-item-".concat(w)},ks(r.props,j,w)),V.createElement(ij,{width:c,height:c,viewBox:p,style:y},r.renderIcon(j)),V.createElement("span",{className:"recharts-legend-item-text",style:{color:O}},S?S(A,j,w):A))})}},{key:"render",value:function(){var r=this.props,i=r.payload,l=r.layout,c=r.align;if(!i||!i.length)return null;var d={padding:0,margin:0,textAlign:l==="horizontal"?c:"left"};return V.createElement("ul",{className:"recharts-default-legend",style:d},this.renderItems())}}])})(k.PureComponent);bu(CS,"displayName","Legend");bu(CS,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var Cv,Yk;function qY(){if(Yk)return Cv;Yk=1;var e=Ym();function t(){this.__data__=new e,this.size=0}return Cv=t,Cv}var Mv,Xk;function UY(){if(Xk)return Mv;Xk=1;function e(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r}return Mv=e,Mv}var Pv,Wk;function VY(){if(Wk)return Pv;Wk=1;function e(t){return this.__data__.get(t)}return Pv=e,Pv}var Rv,Zk;function HY(){if(Zk)return Rv;Zk=1;function e(t){return this.__data__.has(t)}return Rv=e,Rv}var Dv,Qk;function FY(){if(Qk)return Dv;Qk=1;var e=Ym(),t=jS(),n=wS(),r=200;function i(l,c){var d=this.__data__;if(d instanceof e){var f=d.__data__;if(!t||f.length<r-1)return f.push([l,c]),this.size=++d.size,this;d=this.__data__=new n(f)}return d.set(l,c),this.size=d.size,this}return Dv=i,Dv}var zv,Jk;function _6(){if(Jk)return zv;Jk=1;var e=Ym(),t=qY(),n=UY(),r=VY(),i=HY(),l=FY();function c(d){var f=this.__data__=new e(d);this.size=f.size}return c.prototype.clear=t,c.prototype.delete=n,c.prototype.get=r,c.prototype.has=i,c.prototype.set=l,zv=c,zv}var Lv,eC;function GY(){if(eC)return Lv;eC=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return Lv=t,Lv}var $v,tC;function KY(){if(tC)return $v;tC=1;function e(t){return this.__data__.has(t)}return $v=e,$v}var Bv,nC;function O6(){if(nC)return Bv;nC=1;var e=wS(),t=GY(),n=KY();function r(i){var l=-1,c=i==null?0:i.length;for(this.__data__=new e;++l<c;)this.add(i[l])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,Bv=r,Bv}var Iv,rC;function T6(){if(rC)return Iv;rC=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 Iv=e,Iv}var qv,aC;function E6(){if(aC)return qv;aC=1;function e(t,n){return t.has(n)}return qv=e,qv}var Uv,iC;function k6(){if(iC)return Uv;iC=1;var e=O6(),t=T6(),n=E6(),r=1,i=2;function l(c,d,f,h,p,x){var y=f&r,j=c.length,w=d.length;if(j!=w&&!(y&&w>j))return!1;var S=x.get(c),v=x.get(d);if(S&&v)return S==d&&v==c;var A=-1,O=!0,_=f&i?new e:void 0;for(x.set(c,d),x.set(d,c);++A<j;){var T=c[A],N=d[A];if(h)var E=y?h(N,T,A,d,c,x):h(T,N,A,c,d,x);if(E!==void 0){if(E)continue;O=!1;break}if(_){if(!t(d,function(M,R){if(!n(_,R)&&(T===M||p(T,M,f,h,x)))return _.push(R)})){O=!1;break}}else if(!(T===N||p(T,N,f,
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mW(e,t){if(e){if(typeof e=="string")return $M(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 $M(e,t)}}function $M(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 pW(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,l,c,d=[],f=!0,h=!1;try{if(l=(n=n.call(e)).next,t!==0)for(;!(f=(r=l.call(n)).done)&&(d.push(r.value),d.length!==t);f=!0);}catch(p){h=!0,i=p}finally{try{if(!f&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(h)throw i}}return d}}function xW(e){if(Array.isArray(e))return e}function BM(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 p0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?BM(Object(n),!0).forEach(function(r){yW(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):BM(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function yW(e,t,n){return t=gW(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gW(e){var t=vW(e,"string");return ju(t)=="symbol"?t:t+""}function vW(e,t){if(ju(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ju(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bW(e){return Array.isArray(e)&&Wt(e[0])&&Wt(e[1])?e.join(" ~ "):e}var jW=function(t){var n=t.separator,r=n===void 0?" : ":n,i=t.contentStyle,l=i===void 0?{}:i,c=t.itemStyle,d=c===void 0?{}:c,f=t.labelStyle,h=f===void 0?{}:f,p=t.payload,x=t.formatter,y=t.itemSorter,j=t.wrapperClassName,w=t.labelClassName,S=t.label,v=t.labelFormatter,A=t.accessibilityLayer,O=A===void 0?!1:A,_=function(){if(p&&p.length){var L={padding:0,margin:0},$=(y?$S(p,y):p).map(function(F,H){if(F.type==="none")return null;var I=p0({display:"block",paddingTop:4,paddingBottom:4,color:F.color||"#000"},d),G=F.formatter||x||bW,Z=F.value,ie=F.name,ce=Z,q=ie;if(G&&ce!=null&&q!=null){var Y=G(Z,ie,F,H,p);if(Array.isArray(Y)){var ae=fW(Y,2);ce=ae[0],q=ae[1]}else ce=Y}return V.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(H),style:I},Wt(q)?V.createElement("span",{className:"recharts-tooltip-item-name"},q):null,Wt(q)?V.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,V.createElement("span",{className:"recharts-tooltip-item-value"},ce),V.createElement("span",{className:"recharts-tooltip-item-unit"},F.unit||""))});return V.createElement("ul",{className:"recharts-tooltip-item-list",style:L},$)}return null},T=p0({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},l),N=p0({margin:0},h),E=!De(S),M=E?S:"",R=Le("recharts-default-tooltip",j),B=Le("recharts-tooltip-label",w);E&&v&&p!==void 0&&p!==null&&(M=v(S,p));var z=O?{role:"status","aria-live":"assertive"}:{};return V.createElement("div",pj({className:R,style:T},z),V.createElement("p",{className:B,style:N},V.isValidElement(M)?M:"".concat(M)),_())};function wu(e){"@babel/helpers - typeof";return wu=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},wu(e)}function Xf(e,t,n){return t=wW(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wW(e){var t=SW(e,"string");return wu(t)=="symbol"?t:t+""}function SW(e,t){if(wu(e)!="object"||!e)return e;var n=e[Symb
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function iZ(e,t){if(e){if(typeof e=="string")return JM(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 JM(e,t)}}function JM(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 sZ(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,l,c,d=[],f=!0,h=!1;try{if(l=(n=n.call(e)).next,t!==0)for(;!(f=(r=l.call(n)).done)&&(d.push(r.value),d.length!==t);f=!0);}catch(p){h=!0,i=p}finally{try{if(!f&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(h)throw i}}return d}}function oZ(e){if(Array.isArray(e))return e}var vj=k.forwardRef(function(e,t){var n=e.aspect,r=e.initialDimension,i=r===void 0?{width:-1,height:-1}:r,l=e.width,c=l===void 0?"100%":l,d=e.height,f=d===void 0?"100%":d,h=e.minWidth,p=h===void 0?0:h,x=e.minHeight,y=e.maxHeight,j=e.children,w=e.debounce,S=w===void 0?0:w,v=e.id,A=e.className,O=e.onResize,_=e.style,T=_===void 0?{}:_,N=k.useRef(null),E=k.useRef();E.current=O,k.useImperativeHandle(t,function(){return Object.defineProperty(N.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),N.current},configurable:!0})});var M=k.useState({containerWidth:i.width,containerHeight:i.height}),R=rZ(M,2),B=R[0],z=R[1],D=k.useCallback(function($,F){z(function(H){var I=Math.round($),G=Math.round(F);return H.containerWidth===I&&H.containerHeight===G?H:{containerWidth:I,containerHeight:G}})},[]);k.useEffect(function(){var $=function(ie){var ce,q=ie[0].contentRect,Y=q.width,ae=q.height;D(Y,ae),(ce=E.current)===null||ce===void 0||ce.call(E,Y,ae)};S>0&&($=Q6($,S,{trailing:!0,leading:!1}));var F=new ResizeObserver($),H=N.current.getBoundingClientRect(),I=H.width,G=H.height;return D(I,G),F.observe(N.current),function(){F.disconnect()}},[D,S]);var L=k.useMemo(function(){var $=B.containerWidth,F=B.containerHeight;if($<0||F<0)return null;Ur(gs(c)||gs(f),`The width(%s) and height(%s) are both fixed numbers,
|
|||
|
|
maybe you don't need to use a ResponsiveContainer.`,c,f),Ur(!n||n>0,"The aspect(%s) must be greater than zero.",n);var H=gs(c)?$:c,I=gs(f)?F:f;n&&n>0&&(H?I=H/n:I&&(H=I*n),y&&I>y&&(I=y)),Ur(H>0||I>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.`,H,I,c,f,p,x,n);var G=!Array.isArray(j)&&za(j.type).endsWith("Chart");return V.Children.map(j,function(Z){return V.isValidElement(Z)?k.cloneElement(Z,Wf({width:H,height:I},G?{style:Wf({height:"100%",width:"100%",maxHeight:I,maxWidth:H},Z.props.style)}:{})):Z})},[n,j,f,y,x,p,B,c]);return V.createElement("div",{id:v?"".concat(v):void 0,className:Le("recharts-responsive-container",A),style:Wf(Wf({},T),{},{width:c,height:f,minWidth:p,minHeight:x,maxHeight:y}),ref:N},L)}),ap=function(t){return null};ap.displayName="Cell";function Nu(e){"@babel/helpers - typeof";return Nu=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},Nu(e)}function eP(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 bj(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?eP(Object(n),!0).forEach(function(r){lZ(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function lZ(e,t,n){return t=cZ(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cZ(e){var t=uZ(e,"string");return Nu(t)=="symbol"?t:t+""}function uZ(e,t){if(Nu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Nu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Oo={widthCache:{},cacheCount:0},dZ=2e3,fZ={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},tP="recharts_measurement_span";function hZ(e){var t=bj({},e);return Object.keys(t).forEach(function(n){t[n]||delete t[n]}),t}var su=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||$s.isSsr)return{width:0,height:0};var r=hZ(n),i=JSON.stringify({text:t,copyStyle:r});if(Oo.widthCache[i])return Oo.widthCache[i];try{var l=document.getElementById(tP);l||(l=document.createElement("span"),l.setAttribute("id",tP),l.setAttribute("aria-hidden","true"),document.body.appendChild(l));var c=bj(bj({},fZ),r);Object.assign(l.style,c),l.textContent="".concat(t);var d=l.getBoundingClientRect(),f={width:d.width,height:d.height};return Oo.widthCache[i]=f,++Oo.cacheCount>dZ&&(Oo.cacheCount=0,Oo.widthCache={}),f}catch{return{width:0,height:0}}},mZ=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function Au(e){"@babel/helpers - typeof";return Au=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},Au(e)}function Kh(e,t){return gZ(e)||yZ(e,t)||xZ(e,t)||pZ()}function pZ(){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 xZ(e,t){if(e){if(typeof e=="string")return nP(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 nP(e,t)}}function nP(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 yZ(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,l,c,d=[],f=!0,h=!1;try{if(l=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;f=!1}else for(;!(f=(r=l.call(n)).done)&&(d.push(r.value),d.length!==t);f=!0);}catch(p){h=!0,i=p}finally{try{if(!f&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(h)throw i}}return d}}function gZ(e){if(Array.isArray(e))return e}function vZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rP(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,jZ(r.key),r)}}function bZ(e,t,n){return t&&rP(e.prototype,t),n&&rP(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function jZ(e){var t=wZ(e,"string");return Au(t)=="symbol"?t:t+""}function wZ(e,t){if(Au(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Au(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var aP=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,iP=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,SZ=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,NZ=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,J6={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},AZ=Object.keys(J6),Do="NaN";function _Z(e,t){return e*J6[t]}var Zf=(function(){function e(t,n){vZ(this,e),this.num=t,this.unit=n,this.num=t,this.unit=n,Number.isNaN(t)&&(this.unit=""),n!==""&&!SZ.test(n)&&(this.num=NaN,this.unit=""),AZ.includes(n)&&(this.num=_Z(t,n),this.unit="px")}return bZ(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=NZ.exec(n))!==null&&r!==void 0?r:[],l=Kh(i,3),c=l[1],d=l[2];return new e(parseFloat(c),d??"")}}])})();function ez(e){if(e.includes(Do))return Do;for(var t=e;t.includes("*")||t.includes("/");){var n,r=(n=aP.exec(t))!==null&&n!==void 0?n:[],i=Kh(r,4),l=i[1],c=i[2],d=i[3],f=Zf.parse(l??""),h=Zf.parse(d??""),p=c==="*"?f.multiply(h):f.divide(h);if(p.isNaN())return Do;t=t.replace(aP,p.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var x,y=(x=iP.exec(t))!==null&&x!==void 0?x:[],j=Kh(y,4),w=j[1],S=j[2],v=j[3],A=Zf.parse(w??""),O=Zf.parse(v??""),_=S==="+"?A.add(O):A.subtract(O);if(_.isNaN())return Do;t=t.replace(iP,_.toString())}return t}var sP=/\(([^()]*)\)/;function OZ(e){for(var t=e;t.includes("(");){var n=sP.exec(t),r=Kh(n,2),i=r[1];t=t.replace(sP,ez(i))}return t}function TZ(e){var t=e.replace(/\s+/g,"");return t=OZ(t),t=ez(t),t}function EZ(e){try{return TZ(e)}catch{return Do}}function w0(e){var t=EZ(e.slice(5,-1));return t===Do?"":t}var kZ=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],CZ=["dx","dy","angle","className","breakAll"];function jj(){return jj=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 RZ(e,t){if(e){if(typeof e=="string")return cP(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 cP(e,t)}}function cP(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 DZ(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,l,c,d=[],f=!0,h=!1;try{if(l=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;f=!1}else for(;!(f=(r=l.call(n)).done)&&(d.push(r.value),d.length!==t);f=!0);}catch(p){h=!0,i=p}finally{try{if(!f&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(h)throw i}}return d}}function zZ(e){if(Array.isArray(e))return e}var tz=/[ \f\n\r\t\v\u2028\u2029]+/,nz=function(t){var n=t.children,r=t.breakAll,i=t.style;try{var l=[];De(n)||(r?l=n.toString().split(""):l=n.toString().split(tz));var c=l.map(function(f){return{word:f,width:su(f,i).width}}),d=r?0:su(" ",i).width;return{wordsWithComputedWidth:c,spaceWidth:d}}catch{return null}},LZ=function(t,n,r,i,l){var c=t.maxLines,d=t.children,f=t.style,h=t.breakAll,p=he(c),x=d,y=function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return H.reduce(function(I,G){var Z=G.word,ie=G.width,ce=I[I.length-1];if(ce&&(i==null||l||ce.width+ie+r<Number(i)))ce.words.push(Z),ce.width+=ie+r;else{var q={words:[Z],width:ie};I.push(q)}return I},[])},j=y(n),w=function(H){return H.reduce(function(I,G){return I.width>G.width?I:G})};if(!p)return j;for(var S="…",v=function(H){var I=x.slice(0,H),G=nz({breakAll:h,style:f,children:I+S}).wordsWithComputedWidth,Z=y(G),ie=Z.length>c||w(Z).width>Number(i);return[ie,Z]},A=0,O=x.length-1,_=0,T;A<=O&&_<=x.length-1;){var N=Math.floor((A+O)/2),E=N-1,M=v(E),R=lP(M,2),B=R[0],z=R[1],D=v(N),L=lP(D,1),$=L[0];if(!B&&!$&&(A=N+1),B&&$&&(O=N-1),!B&&$){T=z;break}_++}return T||j},uP=function(t){var n=De(t)?[]:t.toString().split(tz);return[{words:n}]},$Z=function(t){var n=t.width,r=t.scaleToFit,i=t.children,l=t.style,c=t.breakAll,d=t.maxLines;if((n||r)&&!$s.isSsr){var f,h,p=nz({breakAll:c,children:i,style:l});if(p){var x=p.wordsWithComputedWidth,y=p.spaceWidth;f=x,h=y}else return uP(i);return LZ({breakAll:c,children:i,maxLines:d,style:l},f,h,n,r)}return uP(i)},dP="#808080",Cs=function(t){var n=t.x,r=n===void 0?0:n,i=t.y,l=i===void 0?0:i,c=t.lineHeight,d=c===void 0?"1em":c,f=t.capHeight,h=f===void 0?"0.71em":f,p=t.scaleToFit,x=p===void 0?!1:p,y=t.textAnchor,j=y===void 0?"start":y,w=t.verticalAnchor,S=w===void 0?"end":w,v=t.fill,A=v===void 0?dP:v,O=oP(t,kZ),_=k.useMemo(function(){return $Z({breakAll:O.breakAll,children:O.children,maxLines:O.maxLines,scaleToFit:x,style:O.style,width:O.width})},[O.breakAll,O.children,O.maxLines,x,O.style,O.width]),T=O.dx,N=O.dy,E=O.angle,M=O.className,R=O.breakAll,B=oP(O,CZ);if(!Wt(r)||!Wt(l))return null;var z=r+(he(T)?T:0),D=l+(he(N)?N:0),L;switch(S){case"start":L=w0("calc(".concat(h,")"));break;case"middle":L=w0("calc(".concat((_.length-1)/2," * -").concat(d," + (").concat(h," / 2))"));break;default:L=w0("calc(".concat(_.length-1," * -").concat(d,")"));break}var $=[];if(x){var F=_[0].width,H=O.width;$.push("scale(".concat((he(H)?H/F:1)/F,")"))}return E&&$.push("rotate(".concat(E,", ").concat(z,", ").concat(D,")")),$.length&&(B.transform=$.join(" ")),V.createElement("text",jj({},we(B,!0),{x:z,y:D,className:Le("recharts-text",M),textAnchor:j,fill:A.includes("url")?dP:A}),_.map(function(I,G){var Z=I.words.join(R?"":" ");return V.createElement("tspan",{x:z,dy:G===0?L:d,key:"".concat(Z,"-").concat(G)},Z)}))};function ki(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function BZ(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function IS(e){let t,n,r;e.length!==2?(t=ki,n=(d,f)=>ki(e(d),f),r=(d,f)=>e(d)-f):(t=e===ki||e===BZ?e:IZ,n=e,r=e);function i(d,f,h=0,p=d.length){if(h<p){if(t(f,f)!==0)return p;do{const x=h+p>>>1;n(d[x],
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Oee(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 Tee(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function Eee(e){if(Array.isArray(e))return Ej(e)}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}var kee=function(t){return t},Uz={},Vz=function(t){return t===Uz},s3=function(t){return function n(){return arguments.length===0||arguments.length===1&&Vz(arguments.length<=0?void 0:arguments[0])?n:t.apply(void 0,arguments)}},Cee=function e(t,n){return t===1?n:s3(function(){for(var r=arguments.length,i=new Array(r),l=0;l<r;l++)i[l]=arguments[l];var c=i.filter(function(d){return d!==Uz}).length;return c>=t?n.apply(void 0,i):e(t-c,s3(function(){for(var d=arguments.length,f=new Array(d),h=0;h<d;h++)f[h]=arguments[h];var p=i.map(function(x){return Vz(x)?f.shift():x});return n.apply(void 0,Aee(p).concat(f))}))})},mp=function(t){return Cee(t.length,t)},kj=function(t,n){for(var r=[],i=t;i<n;++i)r[i-t]=i;return r},Mee=mp(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(n){return t[n]}).map(e)}),Pee=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.length)return kee;var i=n.reverse(),l=i[0],c=i.slice(1);return function(){return c.reduce(function(d,f){return f(d)},l.apply(void 0,arguments))}},Cj=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},Hz=function(t){var n=null,r=null;return function(){for(var i=arguments.length,l=new Array(i),c=0;c<i;c++)l[c]=arguments[c];return n&&l.every(function(d,f){return d===n[f]})||(n=l,r=t.apply(void 0,l)),r}};function Ree(e){var t;return e===0?t=1:t=Math.floor(new ct(e).abs().log(10).toNumber())+1,t}function Dee(e,t,n){for(var r=new ct(e),i=0,l=[];r.lt(t)&&i<1e5;)l.push(r.toNumber()),r=r.add(n),i++;return l}var zee=mp(function(e,t,n){var r=+e,i=+t;return r+n*(i-r)}),Lee=mp(function(e,t,n){var r=t-+e;return r=r||1/0,(n-e)/r}),$ee=mp(function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))});const pp={rangeStep:Dee,getDigitCount:Ree,interpolateNumber:zee,uninterpolateNumber:Lee,uninterpolateTruncation:$ee};function Mj(e){return qee(e)||Iee(e)||Fz(e)||Bee()}function Bee(){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 Iee(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function qee(e){if(Array.isArray(e))return Pj(e)}function Mu(e,t){return Hee(e)||Vee(e,t)||Fz(e,t)||Uee()}function Uee(){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 Fz(e,t){if(e){if(typeof e=="string")return Pj(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 Pj(e,t)}}function Pj(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 Vee(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,l=void 0;try{for(var c=e[Symbol.iterator](),d;!(r=(d=c.next()).done)&&(n.push(d.value),!(t&&n.length===t));r=!0);}catch(f){i=!0,l=f}finally{try{!r&&c.return!=null&&c.return()}finally{if(i)throw l}}return n}}function Hee(e){if(Array.isArray(e))return e}function Gz(e){var t=Mu(e,2),n=t[0],r=t[1],i=n,l=r;return n>r&&(i=r,l=n),[i,l]}function Kz(e,t,n){if(e.lte(0))return new ct(0);var r=pp.getDigitCount(e.toNumber()),i=new ct(10).pow(r),l=e.div(i),c=r!==1?.05:.1,d=new ct(Math.ceil(l.div(c).toNumber())).add(n).mul(c),f=d.mul(i);return t?f:new ct(Math.ceil(f))}function Fee(e,t,n){var r=1,i=new ct(e);if(!i.isint()&&n){var l=Math.abs(e);l<1?(r=new ct(10).pow(pp.getDigitCount(e)-1),i=new ct(Math.floor(i.div(r).toNumber())).mul(r)):l>1&&(i=new ct(Math.floor(e)))}else e===0?i=new ct(Math.floor((t-1)/2)):n||(i=new ct(Math.floor(e)));var c=Math.floor((t-1)/2),d=Pee(Mee(function(f){return i.add(new ct(f-c).mul(r)).toNumber()}),kj);return d(0,t)}function Yz(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 ct(0),tickMin:new ct(0),tickMax:new ct(0)};var l=Kz(new ct(t).sub(e).div(n-1),r,i),c;e<=0&&t>=0?c=new ct(0):(c=new ct(e).add(t).div(2),c=c.sub(new ct(c).mod(l)));var d=Math.ceil(c.sub(e).div(l).toNumber()),f=Math.ceil(new ct(t).sub(c).div(l).toNumber()),h=d+f+1;return h>n?Yz(e,t,n,r,i+1):(h<n&&(f=t>0?f+(n-h):f,d=t>0?d:d+(n-h)),{step:l,tickMin:c.sub(new ct(d).mul(l)),tickMax:c.add(new ct(f).mul(l))})}function Gee(e){var t=Mu(e,2),n=t[0],r=t[1],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,c=Math.max(i,2),d=Gz([n,r]),f=Mu(d,2),h=f[0],p=f[1];if(h===-1/0||p===1/0){var x=p===1/0?[h].concat(Mj(kj(0,i-1).map(function(){return 1/0}))):[].concat(Mj(kj(0,i-1).map(function(){return-1/0})),[p]);return n>r?Cj(x):x}if(h===p)return Fee(h,i,l);var y=Yz(h,p,c,l),j=y.step,w=y.tickMin,S=y.tickMax,v=pp.rangeStep(w,S.add(new ct(.1).mul(j)),j);return n>r?Cj(v):v}function Kee(e,t){var n=Mu(e,2),r=n[0],i=n[1],l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,c=Gz([r,i]),d=Mu(c,2),f=d[0],h=d[1];if(f===-1/0||h===1/0)return[r,i];if(f===h)return[f];var p=Math.max(t,2),x=Kz(new ct(h).sub(f).div(p-1),l,0),y=[].concat(Mj(pp.rangeStep(new ct(f),new ct(h).sub(new ct(.99).mul(x)),x)),[h]);return r>i?Cj(y):y}var Yee=Hz(Gee),Xee=Hz(Kee),Wee="Invariant failed";function Ps(e,t){throw new Error(Wee)}var Zee=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];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 sm(){return sm=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},sm.apply(this,arguments)}function Qee(e,t){return nte(e)||tte(e,t)||ete(e,t)||Jee()}function Jee(){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 ete(e,t){if(e){if(typeof e=="string")return o3(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 o3(e,t)}}function o3(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 tte(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,l,c,d=[],f=!0,h=!1;try{if(l=(n=n.call(e)).next,t!==0)for(;!(f=(r=l.call(n)).done)&&(d.push(r.value),d.length!==t);f=!0);}catch(p){h=!0,i=p}finally{try{if(!f&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(h)throw i}}return d}}function nte(e){if(Array.isArray(e))return e}function rte(e,t){if(e==null)return{};var n=ate(e,t),r,i;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)r=l[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ate(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 ite(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ste(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,Zz(r.key),r)}}function ote(e,t,n){return t&&ste(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function lte(e,t,n){return t=om(t),cte(e,Xz()?Reflect.construct(t,n||[],om(e).constructor):t.apply(e,n))}function cte(e,t){if(t&&(ol(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ute(e)}function ute(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xz(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Xz=function(){return!!e})()}function om(e){return om=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},om(e)}function dte(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&&Rj(e,t)}function Rj(e,t){return Rj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Rj(e,t)}function Wz(e,t,n){return t=Zz(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zz(e){var t=fte(e,"string");return ol(t)=="symbol"?t:t+""}function fte(e,t){if(ol(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ol(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var md=(function(e){function t(){return ite(this,t),lte(this,t,arguments)}return dte(t,e),ote(t,[{key:"render",value:function(){var r=this.props,i=r.offset,l=r.layout,c=r.width,d=r.dataKey,f=r.data,h=r.dataPointFormatter,p=r.xAxis,x=r.yAxis,y=rte(r,Zee),j=we(y,!1);this.props.direction==="x"&&p.type!=="number"&&Ps();var w=f.map(function(S){var v=h(S,d),A=v.x,O=v.y,_=v.value,T=v.errorVal;if(!T)return null;var N=[],E,M;if(Array.isArray(T)){var R=Qee(T,2);E=R[0],M=R[1]}else E=M=T;if(l==="vertical"){var B=p.scale,z=O+i,D=z+c,L=z-c,$=B(_-E),F=B(_+M);N.push({x1:F,y1:D,x2:F,y2:L}),N.push({x1:$,y1:z,x2:F,y2:z}),N.push({x1:$,y1:D,x2:$,y2:L})}else if(l==="horizontal"){var H=x.scale,I=A+i,G=I-c,Z=I+c,ie=H(_-E),ce=H(_+M);N.push({x1:G,y1:ce,x2:Z,y2:ce}),N.push({x1:I,y1:ie,x2:I,y2:ce}),N.push({x1:G,y1:ie,x2:Z,y2:ie})}return V.createElement(Ze,sm({className:"recharts-errorBar",key:"bar-".concat(N.map(function(q){retu
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yte(e,t){if(e){if(typeof e=="string")return Dj(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 Dj(e,t)}}function gte(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function vte(e){if(Array.isArray(e))return Dj(e)}function Dj(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 u3(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 Pt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?u3(Object(n),!0).forEach(function(r){Ko(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ko(e,t,n){return t=bte(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bte(e){var t=jte(e,"string");return Ru(t)=="symbol"?t:t+""}function jte(e,t){if(Ru(e)!="object"||!e)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)}function Yt(e,t,n){return De(e)||De(t)?n:Wt(t)?Jn(e,t,n):ke(t)?t(e):n}function lu(e,t,n,r){var i=vee(e,function(d){return Yt(d,t)});if(n==="number"){var l=i.filter(function(d){return he(d)||parseFloat(d)});return l.length?[hp(l),fp(l)]:[1/0,-1/0]}var c=r?i.filter(function(d){return!De(d)}):i;return c.map(function(d){return Wt(d)||d instanceof Date?d:""})}var wte=function(t){var n,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],i=arguments.length>2?arguments[2]:void 0,l=arguments.length>3?arguments[3]:void 0,c=-1,d=(n=r==null?void 0:r.length)!==null&&n!==void 0?n:0;if(d<=1)return 0;if(l&&l.axisType==="angleAxis"&&Math.abs(Math.abs(l.range[1]-l.range[0])-360)<=1e-6)for(var f=l.range,h=0;h<d;h++){var p=h>0?i[h-1].coordinate:i[d-1].coordinate,x=i[h].coordinate,y=h>=d-1?i[0].coordinate:i[h+1].coordinate,j=void 0;if(wn(x-p)!==wn(y-x)){var w=[];if(wn(y-x)===wn(f[1]-f[0])){j=y;var S=x+f[1]-f[0];w[0]=Math.min(S,(S+p)/2),w[1]=Math.max(S,(S+p)/2)}else{j=p;var v=y+f[1]-f[0];w[0]=Math.min(x,(v+x)/2),w[1]=Math.max(x,(v+x)/2)}var A=[Math.min(x,(j+x)/2),Math.max(x,(j+x)/2)];if(t>A[0]&&t<=A[1]||t>=w[0]&&t<=w[1]){c=i[h].index;break}}else{var O=Math.min(p,y),_=Math.max(p,y);if(t>(O+x)/2&&t<=(_+x)/2){c=i[h].index;break}}}else for(var T=0;T<d;T++)if(T===0&&t<=(r[T].coordinate+r[T+1].coordinate)/2||T>0&&T<d-1&&t>(r[T].coordinate+r[T-1].coordinate)/2&&t<=(r[T].coordinate+r[T+1].coordinate)/2||T===d-1&&t>(r[T].coordinate+r[T-1].coordinate)/2){c=r[T].index;break}return c},uN=function(t){var n,r=t,i=r.type.displayName,l=(n=t.type)!==null&&n!==void 0&&n.defaultProps?Pt(Pt({},t.type.defaultProps),t.props):t.props,c=l.stroke,d=l.fill,f;switch(i){case"Line":f=c;break;case"Area":case"Radar":f=c&&c!=="none"?c:d;break;default:f=d;break}return f},Ste=function(t){var n=t.barSize,r=t.totalSize,i=t.stackGroups,l=i===void 0?{}:i;if(!l)return{};for(var c={},d=Object.keys(l),f=0,h=d.length;f<h;f++)for(var p=l[d[f]].stackGroups,x=Object.keys(p),y=0,j=x.length;y<j;y++){var w=p[x[y]],S=w.items,v=w.cateAxisId,A=S.filter(function(M){return za(M.type).indexOf("Bar")>=0});if(A&&A.length){var O=A[0].type.defaultProps,_=O!==void 0?Pt(Pt({},O),A[0].props):A[0].props,T=_.barSize,N=_[v];c[N]||(c[N]=[]);var E=De(T)?n:T;c[N].push({item:A[0],stackList:A.slice(1),barSize:De(E)?void 0:Sn(E,r,0)})}}return c},Nte=function(t){var n=t.barGap,r=t.barCategoryGap,i=t.bandSize,l=t.sizeList,c=l===void 0?[]:l,d=t.maxBarSize,f=c.length;if(f<1)re
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ute(e,t){if(e){if(typeof e=="string")return g3(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 g3(e,t)}}function g3(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 Vte(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,l,c,d=[],f=!0,h=!1;try{if(l=(n=n.call(e)).next,t!==0)for(;!(f=(r=l.call(n)).done)&&(d.push(r.value),d.length!==t);f=!0);}catch(p){h=!0,i=p}finally{try{if(!f&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(h)throw i}}return d}}function Hte(e){if(Array.isArray(e))return e}var cm=Math.PI/180,Fte=function(t){return t*180/Math.PI},yt=function(t,n,r,i){return{x:t+Math.cos(-cm*i)*r,y:n+Math.sin(-cm*i)*r}},cL=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},Gte=function(t,n,r,i,l){var c=t.width,d=t.height,f=t.startAngle,h=t.endAngle,p=Sn(t.cx,c,c/2),x=Sn(t.cy,d,d/2),y=cL(c,d,r),j=Sn(t.innerRadius,y,0),w=Sn(t.outerRadius,y,y*.8),S=Object.keys(n);return S.reduce(function(v,A){var O=n[A],_=O.domain,T=O.reversed,N;if(De(O.range))i==="angleAxis"?N=[f,h]:i==="radiusAxis"&&(N=[j,w]),T&&(N=[N[1],N[0]]);else{N=O.range;var E=N,M=Ite(E,2);f=M[0],h=M[1]}var R=rL(O,l),B=R.realScaleType,z=R.scale;z.domain(_).range(N),aL(z);var D=iL(z,Ca(Ca({},O),{},{realScaleType:B})),L=Ca(Ca(Ca({},O),D),{},{range:N,radius:w,realScaleType:B,scale:z,cx:p,cy:x,innerRadius:j,outerRadius:w,startAngle:f,endAngle:h});return Ca(Ca({},v),{},lL({},A,L))},{})},Kte=function(t,n){var r=t.x,i=t.y,l=n.x,c=n.y;return Math.sqrt(Math.pow(r-l,2)+Math.pow(i-c,2))},Yte=function(t,n){var r=t.x,i=t.y,l=n.cx,c=n.cy,d=Kte({x:r,y:i},{x:l,y:c});if(d<=0)return{radius:d};var f=(r-l)/d,h=Math.acos(f);return i>c&&(h=2*Math.PI-h),{radius:d,angle:Fte(h),angleInRadian:h}},Xte=function(t){var n=t.startAngle,r=t.endAngle,i=Math.floor(n/360),l=Math.floor(r/360),c=Math.min(i,l);return{startAngle:n-c*360,endAngle:r-c*360}},Wte=function(t,n){var r=n.startAngle,i=n.endAngle,l=Math.floor(r/360),c=Math.floor(i/360),d=Math.min(l,c);return t+d*360},v3=function(t,n){var r=t.x,i=t.y,l=Yte({x:r,y:i},n),c=l.radius,d=l.angle,f=n.innerRadius,h=n.outerRadius;if(c<f||c>h)return!1;if(c===0)return!0;var p=Xte(n),x=p.startAngle,y=p.endAngle,j=d,w;if(x<=y){for(;j>y;)j-=360;for(;j<x;)j+=360;w=j>=x&&j<=y}else{for(;j>x;)j-=360;for(;j<y;)j+=360;w=j>=y&&j<=x}return w?Ca(Ca({},n),{},{radius:c,angle:Wte(j,n)}):null},uL=function(t){return!k.isValidElement(t)&&!ke(t)&&typeof t!="boolean"?t.className:""};function zu(e){"@babel/helpers - typeof";return zu=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},zu(e)}var Zte=["offset"];function Qte(e){return nne(e)||tne(e)||ene(e)||Jte()}function Jte(){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 ene(e,t){if(e){if(typeof e=="string")return Lj(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 Lj(e,t)}}function tne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function nne(e){if(Array.isArray(e))return Lj(e)}function Lj(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,t){if(e==null)return{};var n=ane(e,t),r,i;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)r=l[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ane(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 b3(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 Gt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?b3(Object(n),!0).forEach(function(r){ine(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ine(e,t,n){return t=sne(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sne(e){var t=one(e,"string");return zu(t)=="symbol"?t:t+""}function one(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)}function Lu(){return Lu=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},Lu.apply(this,arguments)}var lne=function(t){var n=t.value,r=t.formatter,i=De(t.children)?n:t.children;return ke(r)?r(i):i},cne=function(t,n){var r=wn(n-t),i=Math.min(Math.abs(n-t),360);return r*i},une=function(t,n,r){var i=t.position,l=t.viewBox,c=t.offset,d=t.className,f=l,h=f.cx,p=f.cy,x=f.innerRadius,y=f.outerRadius,j=f.startAngle,w=f.endAngle,S=f.clockWise,v=(x+y)/2,A=cne(j,w),O=A>=0?1:-1,_,T;i==="insideStart"?(_=j+O*c,T=S):i==="insideEnd"?(_=w-O*c,T=!S):i==="end"&&(_=w+O*c,T=S),T=A<=0?T:!T;var N=yt(h,p,v,_),E=yt(h,p,v,_+(T?1:-1)*359),M="M".concat(N.x,",").concat(N.y,`
|
|||
|
|
A`).concat(v,",").concat(v,",0,1,").concat(T?0:1,`,
|
|||
|
|
`).concat(E.x,",").concat(E.y),R=De(t.id)?Ll("recharts-radial-line-"):t.id;return V.createElement("text",Lu({},r,{dominantBaseline:"central",className:Le("recharts-radial-bar-label",d)}),V.createElement("defs",null,V.createElement("path",{id:R,d:M})),V.createElement("textPath",{xlinkHref:"#".concat(R)},n))},dne=function(t){var n=t.viewBox,r=t.offset,i=t.position,l=n,c=l.cx,d=l.cy,f=l.innerRadius,h=l.outerRadius,p=l.startAngle,x=l.endAngle,y=(p+x)/2;if(i==="outside"){var j=yt(c,d,h+r,y),w=j.x,S=j.y;return{x:w,y:S,textAnchor:w>=c?"start":"end",verticalAnchor:"middle"}}if(i==="center")return{x:c,y:d,textAnchor:"middle",verticalAnchor:"middle"};if(i==="centerTop")return{x:c,y:d,textAnchor:"middle",verticalAnchor:"start"};if(i==="centerBottom")return{x:c,y:d,textAnchor:"middle",verticalAnchor:"end"};var v=(f+h)/2,A=yt(c,d,v,y),O=A.x,_=A.y;return{x:O,y:_,textAnchor:"middle",verticalAnchor:"middle"}},fne=function(t){var n=t.viewBox,r=t.parentViewBox,i=t.offset,l=t.position,c=n,d=c.x,f=c.y,h=c.width,p=c.height,x=p>=0?1:-1,y=x*i,j=x>0?"end":"start",w=x>0?"start":"end",S=h>=0?1:-1,v=S*i,A=S>0?"end":"start",O=S>0?"start":"end";if(l==="top"){var _={x:d+h/2,y:f-x*i,textAnchor:"middle",verticalAnchor:j};return Gt(Gt({},_),r?{height:Math.max(f-r.y,0),width:h}:{})}if(l==="bottom"){var T={x:d+h/2,y:f+p+y,textAnchor:"middle",verticalAnchor:w};return Gt(Gt({},T),r?{height:Math.max(r.y+r.height-(f+p),0),width:h}:{})}if(l==="left"){var N={x:d-v,y:f+p/2,textAnchor:A,verticalAnchor:"middle"};return Gt(Gt({},N),r?{width:Math.max(N.x-r.x,0),height:p}:{})}if(l==="right"){var E={x:d+h+v,y:f+p/2,textAnchor:O,verticalAnchor:"middle"};return Gt(Gt({},E),r?{width:Math.max(r.x+r.width-E.x,0),height:p}:{})}var M=r?{width:h,height:p}:{};return l==="insideLeft"?Gt({x:d+v,y:f+p/2,textAnchor:O,verticalAnchor:"middle"},M):l==="insideRight"?Gt({x:d+h-v,y:f+p/2,textAnchor:A,verticalAnchor:"middle"},M):l==="insideTop"?Gt({x:d+h/2,y:f+y,textAnchor:"middle",verticalAnchor:w},M):l==="insideBottom"?Gt({x:d+h/2,y:f+p-y,textAnchor:"middle",verticalAnchor:j},M):l==="insideTopLeft"?Gt({x:d+v,y:f+y,textAnchor:O,verticalAnchor:w},M):l==="insideTopRight"?Gt({x:d+h-v,y:f+y,textAnchor:A,verticalAnchor:w},M):l==="insideBottomLeft"?Gt({x:d+v,y:f+p-y,textAnchor:O,verticalAnchor:j},M):l==="insideBottomRight"?Gt({x:d+h-v,y:f+p-y,textAnchor:A,verticalAnchor:j},M):zl(l)&&(he(l.x)||gs(l.x))&&(he(l.y)||gs(l.y))?Gt({x:d+Sn(l.x,h),y:f+Sn(l.y,p),textAnchor:"end",verticalAnchor:"end"},M):Gt({x:d+h/2,y:f+p/2,textAnchor:"middle",verticalAnchor:"middle"},M)},hne=function(t){return"cx"in t&&he(t.cx)};function tn(e){var t=e.offset,n=t===void 0?5:t,r=rne(e,Zte),i=Gt({offset:n},r),l=i.viewBox,c=i.position,d=i.value,f=i.children,h=i.content,p=i.className,x=p===void 0?"":p,y=i.textBreakAll;if(!l||De(d)&&De(f)&&!k.isValidElement(h)&&!ke(h))return null;if(k.isValidElement(h))return k.cloneElement(h,i);var j;if(ke(h)){if(j=k.createElement(h,i),k.isValidElement(j))return j}else j=lne(i);var w=hne(l),S=we(i,!0);if(w&&(c==="insideStart"||c==="insideEnd"||c==="end"))return une(i,j,S);var v=w?dne(i):fne(i);return V.createElement(Cs,Lu({className:Le("recharts-label",x)},S,v,{breakAll:y}),j)}tn.displayName="Label";var dL=function(t){var n=t.cx,r=t.cy,i=t.angle,l=t.startAngle,c=t.endAngle,d=t.r,f=t.radius,h=t.innerRadius,p=t.outerRadius,x=t.x,y=t.y,j=t.top,w=t.left,S=t.width,v=t.height,A=t.clockWise,O=t.labelViewBox;if(O)return O;if(he(S)&&he(v)){if(he(x)&&he(y))return{x,y,width:S,height:v};if(he(j)&&he(w))return{x:j,y:w,width:S,height:v}}return he(x)&&he(y)?{x,y,width:0,height:0}:he(n)&&he(r)?{cx:n,cy:r,startAngle:l||i||0,endAngle:c||i||0,innerRadius:h||0,outerRadius:p||f||d||0,clockWise:A}:t.viewBox?t.viewBox:{}},mne=function(t,n){return t?t===!0?V.createElement(tn,{key:"label-implicit",viewBox:n}):Wt(t)?V.createElement(tn,{key:"label-implicit",viewBox:n,value:t}):k.isValidElement(t)?t.type===tn?k.cloneElement(t,{key:"label-implicit",viewBox:n}):V.createElement(tn,{key:"label-implicit",content:t,viewBox:n}):ke(t)?V.createElement(tn,{key:"label-implicit",content:t,viewBox:n}):zl(t)?V.createElement(tn
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Sne(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 Nne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ane(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}function um(){return um=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},um.apply(this,arguments)}function w3(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 S3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?w3(Object(n),!0).forEach(function(r){_ne(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function _ne(e,t,n){return t=One(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function One(e){var t=Tne(e,"string");return $u(t)=="symbol"?t:t+""}function Tne(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 N3(e,t){if(e==null)return{};var n=Ene(e,t),r,i;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)r=l[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ene(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 kne=function(t){return Array.isArray(t.value)?gne(t.value):t.value};function $a(e){var t=e.valueAccessor,n=t===void 0?kne:t,r=N3(e,vne),i=r.data,l=r.dataKey,c=r.clockWise,d=r.id,f=r.textBreakAll,h=N3(r,bne);return!i||!i.length?null:V.createElement(Ze,{className:"recharts-label-list"},i.map(function(p,x){var y=De(l)?n(p,x):Yt(p&&p.payload,l),j=De(d)?{}:{id:"".concat(d,"-").concat(x)};return V.createElement(tn,um({},we(p,!0),h,j,{parentViewBox:p.parentViewBox,value:y,textBreakAll:f,viewBox:tn.parseViewBox(De(c)?p:S3(S3({},p),{},{clockWise:c})),key:"label-".concat(x),index:x}))}))}$a.displayName="LabelList";function Cne(e,t){return e?e===!0?V.createElement($a,{key:"labelList-implicit",data:t}):V.isValidElement(e)||ke(e)?V.createElement($a,{key:"labelList-implicit",data:t,content:e}):zl(e)?V.createElement($a,um({data:t},e,{key:"labelList-implicit"})):null:null}function Mne(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=er(r,$a).map(function(c,d){return k.cloneElement(c,{data:t,key:"labelList-".concat(d)})});if(!n)return i;var l=Cne(e.label,t);return[l].concat(jne(i))}$a.renderCallByParent=Mne;function Bu(e){"@babel/helpers - typeof";return Bu=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},Bu(e)}function Bj(){return Bj=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},Bj.apply(this,arguments)}function A3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(
|
|||
|
|
A `).concat(l,",").concat(l,`,0,
|
|||
|
|
`).concat(+(Math.abs(f)>180),",").concat(+(c>h),`,
|
|||
|
|
`).concat(x.x,",").concat(x.y,`
|
|||
|
|
`);if(i>0){var j=yt(n,r,i,c),w=yt(n,r,i,h);y+="L ".concat(w.x,",").concat(w.y,`
|
|||
|
|
A `).concat(i,",").concat(i,`,0,
|
|||
|
|
`).concat(+(Math.abs(f)>180),",").concat(+(c<=h),`,
|
|||
|
|
`).concat(j.x,",").concat(j.y," Z")}else y+="L ".concat(n,",").concat(r," Z");return y},Lne=function(t){var n=t.cx,r=t.cy,i=t.innerRadius,l=t.outerRadius,c=t.cornerRadius,d=t.forceCornerRadius,f=t.cornerIsExternal,h=t.startAngle,p=t.endAngle,x=wn(p-h),y=nh({cx:n,cy:r,radius:l,angle:h,sign:x,cornerRadius:c,cornerIsExternal:f}),j=y.circleTangency,w=y.lineTangency,S=y.theta,v=nh({cx:n,cy:r,radius:l,angle:p,sign:-x,cornerRadius:c,cornerIsExternal:f}),A=v.circleTangency,O=v.lineTangency,_=v.theta,T=f?Math.abs(h-p):Math.abs(h-p)-S-_;if(T<0)return d?"M ".concat(w.x,",").concat(w.y,`
|
|||
|
|
a`).concat(c,",").concat(c,",0,0,1,").concat(c*2,`,0
|
|||
|
|
a`).concat(c,",").concat(c,",0,0,1,").concat(-c*2,`,0
|
|||
|
|
`):fL({cx:n,cy:r,innerRadius:i,outerRadius:l,startAngle:h,endAngle:p});var N="M ".concat(w.x,",").concat(w.y,`
|
|||
|
|
A`).concat(c,",").concat(c,",0,0,").concat(+(x<0),",").concat(j.x,",").concat(j.y,`
|
|||
|
|
A`).concat(l,",").concat(l,",0,").concat(+(T>180),",").concat(+(x<0),",").concat(A.x,",").concat(A.y,`
|
|||
|
|
A`).concat(c,",").concat(c,",0,0,").concat(+(x<0),",").concat(O.x,",").concat(O.y,`
|
|||
|
|
`);if(i>0){var E=nh({cx:n,cy:r,radius:i,angle:h,sign:x,isExternal:!0,cornerRadius:c,cornerIsExternal:f}),M=E.circleTangency,R=E.lineTangency,B=E.theta,z=nh({cx:n,cy:r,radius:i,angle:p,sign:-x,isExternal:!0,cornerRadius:c,cornerIsExternal:f}),D=z.circleTangency,L=z.lineTangency,$=z.theta,F=f?Math.abs(h-p):Math.abs(h-p)-B-$;if(F<0&&c===0)return"".concat(N,"L").concat(n,",").concat(r,"Z");N+="L".concat(L.x,",").concat(L.y,`
|
|||
|
|
A`).concat(c,",").concat(c,",0,0,").concat(+(x<0),",").concat(D.x,",").concat(D.y,`
|
|||
|
|
A`).concat(i,",").concat(i,",0,").concat(+(F>180),",").concat(+(x>0),",").concat(M.x,",").concat(M.y,`
|
|||
|
|
A`).concat(c,",").concat(c,",0,0,").concat(+(x<0),",").concat(R.x,",").concat(R.y,"Z")}else N+="L".concat(n,",").concat(r,"Z");return N},$ne={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},hL=function(t){var n=_3(_3({},$ne),t),r=n.cx,i=n.cy,l=n.innerRadius,c=n.outerRadius,d=n.cornerRadius,f=n.forceCornerRadius,h=n.cornerIsExternal,p=n.startAngle,x=n.endAngle,y=n.className;if(c<l||p===x)return null;var j=Le("recharts-sector",y),w=c-l,S=Sn(d,w,0,!0),v;return S>0&&Math.abs(p-x)<360?v=Lne({cx:r,cy:i,innerRadius:l,outerRadius:c,cornerRadius:Math.min(S,w/2),forceCornerRadius:f,cornerIsExternal:h,startAngle:p,endAngle:x}):v=fL({cx:r,cy:i,innerRadius:l,outerRadius:c,startAngle:p,endAngle:x}),V.createElement("path",Bj({},we(n,!0),{className:j,d:v,role:"img"}))};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 Ij(){return Ij=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},Ij.apply(this,arguments)}function O3(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 T3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?O3(Object(n),!0).forEach(function(r){Bne(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Bne(e,t,n){return t=Ine(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ine(e){var t=qne(e,"string");return Iu(t)=="symbol"?t:t+""}function qne(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 E3={curveBasisClosed:oY,curveBasisOpen:lY,curveBasis:sY,curveBumpX:GK,curveBumpY:KK,curveLinearClosed:cY,curveLinear:Jm,curveMonotoneX:uY,curveMonotoneY:dY,curveNatural:fY,curveStep:hY,curveStepAfter:pY,curveStepBefore:mY},rh=function(t){return t.x===+t.x&&t.y===+t.y},Yc=function(t){return t.x},Xc=function(t){return t.y},Une=function(t,n){if(ke(t))return t;var r="curve".concat(Zm(t));return(r==="curveMonotone"||r==="curveBump")&&n?E3["".concat(r).concat(n==="vertical"?"Y":"X")]:E3[r]||Jm},Vne=function(t){var n=t.type,r=n===void 0?"linear":n,i=t.points,l=i===void 0?[]:i,c=t.baseLine,d=t.layout,f=t.connectNulls,h=f===void 0?!1:f,p=Une(r,d),x=h?l.filter(function(S){return rh(S)}):l,y;if(Array.isArray(c)){var j=h?c.filter(function(S){return rh(S)}):c,w=x.map(function(S,v){return T3(T3({},S),{},{base:j[v]})});return d==="vertical"?y=Yf().y(Xc).x1(Yc).x0(function(S){return S.base.x}):y=Yf().x(Yc).y1(Xc).y0(function(S){return S.base.y}),y.defined(rh).curve(p),y(w)}return d==="vertical"&&he(c)?y=Yf().y(Xc).x1(Yc).x0(c):he(c)?y=Yf().x(Yc).y1(Xc).y0(c):y=f6().x(Yc).y(Xc),y.defined(rh).curve(p),y(x)},dm=function(t){var n=t.className,r=t.points,i=t.path,l=t.pathRef;if((!r||!r.length)&&!i)return null;var c=r&&r.length?Vne(t):i;return k.createElement("path",Ij({},we(t,!1),Lh(t),{className:Le("recharts-curve",n),d:c,ref:l}))},q0={exports:{}},U0,k3;function Hne(){if(k3)return U0;k3=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return U0=e,U0}var V0,C3;function Fne(){if(C3)return V0;C3=1;var e=Hne();function t(){}function n(){}return n.resetWarningCache=t,V0=function(){function r(c,d,f,h,p,x){if(x!==e){var y=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 zre(e,t){if(e){if(typeof e=="string")return B3(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 B3(e,t)}}function B3(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 Lre(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $re(e){if(Array.isArray(e))return e}function Bre(){var e={},t=function(){return null},n=!1,r=function i(l){if(!n){if(Array.isArray(l)){if(!l.length)return;var c=l,d=Rre(c),f=d[0],h=d.slice(1);if(typeof f=="number"){$3(i.bind(null,h),f);return}i(f),$3(i.bind(null,h));return}qj(l)==="object"&&(e=l,t(e)),typeof l=="function"&&l()}};return{stop:function(){n=!0},start:function(l){n=!1,r(l)},subscribe:function(l){return t=l,function(){t=function(){return null}}}}}function qu(e){"@babel/helpers - typeof";return qu=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},qu(e)}function I3(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 q3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?I3(Object(n),!0).forEach(function(r){pL(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function pL(e,t,n){return t=Ire(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ire(e){var t=qre(e,"string");return qu(t)==="symbol"?t:String(t)}function qre(e,t){if(qu(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(qu(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ure=function(t,n){return[Object.keys(t),Object.keys(n)].reduce(function(r,i){return r.filter(function(l){return i.includes(l)})})},Vre=function(t){return t},Hre=function(t){return t.replace(/([A-Z])/g,function(n){return"-".concat(n.toLowerCase())})},cu=function(t,n){return Object.keys(n).reduce(function(r,i){return q3(q3({},r),{},pL({},i,t(i,n[i])))},{})},U3=function(t,n,r){return t.map(function(i){return"".concat(Hre(i)," ").concat(n,"ms ").concat(r)}).join(",")};function Fre(e,t){return Yre(e)||Kre(e,t)||xL(e,t)||Gre()}function Gre(){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 Kre(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,l,c,d=[],f=!0,h=!1;try{if(l=(n=n.call(e)).next,t!==0)for(;!(f=(r=l.call(n)).done)&&(d.push(r.value),d.length!==t);f=!0);}catch(p){h=!0,i=p}finally{try{if(!f&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(h)throw i}}return d}}function Yre(e){if(Array.isArray(e))return e}function Xre(e){return Qre(e)||Zre(e)||xL(e)||Wre()}function Wre(){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 xL(e,t){if(e){if(typeof e=="string")return Uj(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 Uj(e,t)}}function Zre(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Qre(e){if(Array.isArray(e))return Uj(e)}function Uj(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 hm=1e-4,yL=function(t,n){return[0,3*t,3*n-6*t,3*t-3*n+1]},gL=function(t,n){return t.map(function(r,i){return r*Math.pow(n,i)}).reduce(function(r,i){return r+i})},V3=function(t,n){return function(r){var i=yL(t,n);return gL(i,r)}},Jre=function(t,n){return function(r){var i=yL(t,n),l=[].concat(Xre(i.map(function(c,d){return c*d}).slice(1)),[0]);return gL(l,r)}},H3=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0],l=n[1],c=n[2],d=n[3];if(n.length===1)switch(n[0]){case"linear":i=0,l=0,c=1,d=1;break;case"ease":i=.25,l=.1,c=.25,d=1;break;case"ease-in":i=.42,l=0,c=1,d=1;break;case"ease-out":i=.42,l=0,c=.58,d=1;break;case"ease-in-out":i=0,l=0,c=.58,d=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(v){return parseFloat(v)}),p=Fre(h,4);i=p[0],l=p[1],c=p[2],d=p[3]}}}var x=V3(i,c),y=V3(l,d),j=Jre(i,c),w=function(A){return A>1?1:A<0?0:A},S=function(A){for(var O=A>1?1:A,_=O,T=0;T<8;++T){var N=x(_)-O,E=j(_);if(Math.abs(N-O)<hm||E<hm)return y(_);_=w(_-N/E)}return y(_)};return S.isStepper=!1,S},eae=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.stiff,r=n===void 0?100:n,i=t.damping,l=i===void 0?8:i,c=t.dt,d=c===void 0?17:c,f=function(p,x,y){var j=-(p-x)*r,w=y*l,S=y+(j-w)*d/1e3,v=y*d/1e3+p;return Math.abs(v-x)<hm&&Math.abs(S)<hm?[x,0]:[v,S]};return f.isStepper=!0,f.dt=d,f},tae=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 H3(i);case"spring":return eae();default:if(i.split("(")[0]==="cubic-bezier")return H3(i)}return typeof i=="function"?i:null};function Uu(e){"@babel/helpers - typeof";return Uu=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},Uu(e)}function F3(e){return aae(e)||rae(e)||vL(e)||nae()}function nae(){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 rae(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function aae(e){if(Array.isArray(e))return Hj(e)}function G3(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 cn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?G3(Object(n),!0).forEach(function(r){Vj(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Vj(e,t,n){return t=iae(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iae(e){var t=sae(e,"string");return Uu(t)==="symbol"?t:String(t)}function sae(e,t){if(Uu(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Uu(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function oae(e,t){return uae(e)||cae(e,t)||vL(e,t)||lae()}function lae(){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 vL(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 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}function cae(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,l,c,d=[],f=!0,h=!1;try{if(l=(n=n.call(e)).next,t!==0)for(;!(f=(r=l.call(n)).done)&&(d.push(r.value),d.length!==t);f=!0);}catch(p){h=!0,i=p}finally{try{if(!f&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(h)throw i}}return d}}function uae(e){if(Array.isArray(e))return e}var mm=function(t,n,r){return t+(n-t)*r},Fj=function(t){var n=t.from,r=t.to;return n!==r},dae=function e(t,n,r){var i=cu(function(l,c){if(Fj(c)){var d=t(c.from,c.to,c.velocity),f=oae(d,2),h=f[0],p=f[1];return cn(cn({},c),{},{from:h,velocity:p})}return c},n);return r<1?cu(function(l,c){return Fj(c)?cn(cn({},c),{},{velocity:mm(c.velocity,i[l].velocity,r),from:mm(c.from,i[l].from,r)}):c},n):e(t,i,r-1)};const fae=(function(e,t,n,r,i){var l=Ure(e,t),c=l.reduce(function(v,A){return cn(cn({},v),{},Vj({},A,[e[A],t[A]]))},{}),d=l.reduce(function(v,A){return cn(cn({},v),{},Vj({},A,{from:e[A],velocity:0,to:t[A]}))},{}),f=-1,h,p,x=function(){return null},y=function(){return cu(function(A,O){return O.from},d)},j=function(){return!Object.values(d).filter(Fj).length},w=function(A){h||(h=A);var O=A-h,_=O/n.dt;d=dae(n,d,_),i(cn(cn(cn({},e),t),y())),h=A,j()||(f=requestAnimationFrame(x))},S=function(A){p||(p=A);var O=(A-p)/r,_=cu(function(N,E){return mm.apply(void 0,F3(E).concat([n(O)]))},c);if(i(cn(cn(cn({},e),t),_)),O<1)f=requestAnimationFrame(x);else{var T=cu(function(N,E){return mm.apply(void 0,F3(E).concat([n(1)]))},c);i(cn(cn(cn({},e),t),T))}};return x=n.isStepper?w:S,function(){return requestAnimationFrame(x),function(){cancelAnimationFrame(f)}}});function ll(e){"@babel/helpers - typeof";return ll=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},ll(e)}var hae=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function mae(e,t){if(e==null)return{};var n=pae(e,t),r,i;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)r=l[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function pae(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,l;for(l=0;l<r.length;l++)i=r[l],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function F0(e){return vae(e)||gae(e)||yae(e)||xae()}function xae(){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 yae(e,t){if(e){if(typeof e=="string")return Gj(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 Gj(e,t)}}function gae(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function vae(e){if(Array.isArray(e))return Gj(e)}function Gj(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 K3(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 Pr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?K3(Object(n),!0).forEach(function(r){tu(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function tu(e,t,n){return t=bL(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jae(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,bL(r.key),r)}}function wae(e,t,n){return t&&jae(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function bL(e){var t=Sae(e,"string");return ll(t)==="symbol"?t:String(t)}function Sae(e,t){if(ll(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ll(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Nae(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&&Kj(e,t)}function Kj(e,t){return Kj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Kj(e,t)}function Aae(e){var t=_ae();return function(){var r=pm(e),i;if(t){var l=pm(this).constructor;i=Reflect.construct(r,arguments,l)}else i=r.apply(this,arguments);return Yj(this,i)}}function Yj(e,t){if(t&&(ll(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Xj(e)}function Xj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ae(){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 pm(e){return pm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},pm(e)}var sa=(function(e){Nae(n,e);var t=Aae(n);function n(r,i){var l;bae(this,n),l=t.call(this,r,i);var c=l.props,d=c.isActive,f=c.attributeName,h=c.from,p=c.to,x=c.steps,y=c.children,j=c.duration;if(l.handleStyleChange=l.handleStyleChange.bind(Xj(l)),l.changeStyle=l.changeStyle.bind(Xj(l)),!d||j<=0)return l.state={style:{}},typeof y=="function"&&(l.state={style:p}),Yj(l);if(x&&x.length)l.state={style:x[0].style};else if(h){if(typeof y=="function")return l.state={style:h},Yj(l);l.state={style:f?tu({},f,h):h}}else l.state={style:{}};return l}return wae(n,[{key:"componentDidMount",value:function(){var i=this.props,l=i.isActive,c=i.canBegin;this.mounted=!0,!(!l||!c)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(i){var l=this.props,c=l.isActive,d=l.canBegin,f=l.
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Eae(e,t){if(e){if(typeof e=="string")return Y3(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 Y3(e,t)}}function Y3(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 kae(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,l,c,d=[],f=!0,h=!1;try{if(l=(n=n.call(e)).next,t!==0)for(;!(f=(r=l.call(n)).done)&&(d.push(r.value),d.length!==t);f=!0);}catch(p){h=!0,i=p}finally{try{if(!f&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(h)throw i}}return d}}function Cae(e){if(Array.isArray(e))return e}function X3(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 W3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?X3(Object(n),!0).forEach(function(r){Mae(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Mae(e,t,n){return t=Pae(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pae(e){var t=Rae(e,"string");return Vu(t)=="symbol"?t:t+""}function Rae(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(t==="string"?String:Number)(e)}var Z3=function(t,n,r,i,l){var c=Math.min(Math.abs(r)/2,Math.abs(i)/2),d=i>=0?1:-1,f=r>=0?1:-1,h=i>=0&&r>=0||i<0&&r<0?1:0,p;if(c>0&&l instanceof Array){for(var x=[0,0,0,0],y=0,j=4;y<j;y++)x[y]=l[y]>c?c:l[y];p="M".concat(t,",").concat(n+d*x[0]),x[0]>0&&(p+="A ".concat(x[0],",").concat(x[0],",0,0,").concat(h,",").concat(t+f*x[0],",").concat(n)),p+="L ".concat(t+r-f*x[1],",").concat(n),x[1]>0&&(p+="A ".concat(x[1],",").concat(x[1],",0,0,").concat(h,`,
|
|||
|
|
`).concat(t+r,",").concat(n+d*x[1])),p+="L ".concat(t+r,",").concat(n+i-d*x[2]),x[2]>0&&(p+="A ".concat(x[2],",").concat(x[2],",0,0,").concat(h,`,
|
|||
|
|
`).concat(t+r-f*x[2],",").concat(n+i)),p+="L ".concat(t+f*x[3],",").concat(n+i),x[3]>0&&(p+="A ".concat(x[3],",").concat(x[3],",0,0,").concat(h,`,
|
|||
|
|
`).concat(t,",").concat(n+i-d*x[3])),p+="Z"}else if(c>0&&l===+l&&l>0){var w=Math.min(c,l);p="M ".concat(t,",").concat(n+d*w,`
|
|||
|
|
A `).concat(w,",").concat(w,",0,0,").concat(h,",").concat(t+f*w,",").concat(n,`
|
|||
|
|
L `).concat(t+r-f*w,",").concat(n,`
|
|||
|
|
A `).concat(w,",").concat(w,",0,0,").concat(h,",").concat(t+r,",").concat(n+d*w,`
|
|||
|
|
L `).concat(t+r,",").concat(n+i-d*w,`
|
|||
|
|
A `).concat(w,",").concat(w,",0,0,").concat(h,",").concat(t+r-f*w,",").concat(n+i,`
|
|||
|
|
L `).concat(t+f*w,",").concat(n+i,`
|
|||
|
|
A `).concat(w,",").concat(w,",0,0,").concat(h,",").concat(t,",").concat(n+i-d*w," Z")}else p="M ".concat(t,",").concat(n," h ").concat(r," v ").concat(i," h ").concat(-r," Z");return p},Dae=function(t,n){if(!t||!n)return!1;var r=t.x,i=t.y,l=n.x,c=n.y,d=n.width,f=n.height;if(Math.abs(d)>0&&Math.abs(f)>0){var h=Math.min(l,l+d),p=Math.max(l,l+d),x=Math.min(c,c+f),y=Math.max(c,c+f);return r>=h&&r<=p&&i>=x&&i<=y}return!1},zae={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},dN=function(t){var n=W3(W3({},zae),t),r=k.useRef(),i=k.useState(-1),l=Oae(i,2),c=l[0],d=l[1];k.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var T=r.current.getTotalLength();T&&d(T)}catch{}},[]);var f=n.x,h=n.y,p=n.width,x=n.height,y=n.radius,j=n.className,w=n.animationEasing,S=n.animationDuration,v=n.animationBegin,A=n.isAnimationActive,O=n.isUpdateAnimationActive;if(f!==+f||h!==+h||p!==+p||x!==+x||p===0||x===0)return null;var _=Le("recharts-rectangle",j);return O?V.createElement(sa,{canBegin:c>0,from:{width:p,height:x,x:f,y:h},to:{width:p,height:x,x:f,y:h},duration:S,animationEasing:w,isActive:O},function(T){var N=T.width,E=T.height,M=T.x,R=T.y;return V.createElement(sa,{canBegin:c>0,from:"0px ".concat(c===-1?1:c,"px"),to:"".concat(c,"px 0px"),attributeName:"strokeDasharray",begin:v,duration:S,isActive:A,easing:w},V.createElement("path",xm({},we(n,!0),{className:_,d:Z3(M,R,N,E,y),ref:r})))}):V.createElement("path",xm({},we(n,!0),{className:_,d:Z3(f,h,p,x,y)}))},Lae=["points","className","baseLinePoints","connectNulls"];function zo(){return zo=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},zo.apply(this,arguments)}function $ae(e,t){if(e==null)return{};var n=Bae(e,t),r,i;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)r=l[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Bae(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 Q3(e){return Vae(e)||Uae(e)||qae(e)||Iae()}function Iae(){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 qae(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 Uae(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Vae(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}var J3=function(t){return t&&t.x===+t.x&&t.y===+t.y},Hae=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=[[]];return t.forEach(function(r){J3(r)?n[n.length-1].push(r):n[n.length-1].length>0&&n.push([])}),J3(t[0])&&n[n.length-1].push(t[0]),n[n.length-1].length<=0&&(n=n.slice(0,-1)),n},uu=function(t,n){var r=Hae(t);n&&(r=[r.reduce(function(l,c){return[].concat(Q3(l),Q3(c))},[])]);var i=r.map(function(l){return l.reduce(function(c,d,f){return"".concat(c).concat(f===0?"M":"L").concat(d.x,",").concat(d.y)},"")}).join("");return r.length===1?"".concat(i,"Z"):i},Fae=function(t,n,r){var i=uu(t,r);return"".concat(i.slice(-1)==="Z"?i.slice(0,-1):i,"L").concat(uu(n.reverse(),r).slice(1))},Gae=function(t){var n=t.points,r=t.className,i=t.baseLinePoints,l=t.connectNulls,c=$ae(t,Lae);if(!n||!n.length)return null;var d=Le("recharts-polygon",r);if(i&&i.length){var f=c.stroke&&c.stroke!=="none",h=Fae(n,i,l);return V.createElement("g",{className:d},V.createElement("path",zo({},we(c,!0),{fill:h.slice(-1)==="Z"?c.fill:"none",stroke:"none",d:h})),f?V.createElement("path",zo({},we(c,!0),{fill:"none",d:uu(n,l)})):null,f?V.createElement("path",zo({},we(c,!0),{fill:"none",d:uu(i,l)})):null)}var p=uu(n,l);return V.createElement("path",zo({},we(c,!0),{fill:p.slice(-1)==="Z"?c.fill:"none",className:d,d:p}))};function Zj(){return Zj=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},Zj.apply(this,arguments)}var xp=function(t){var n=t.cx,r=t.cy,i=t.r,l=t.className,c=Le("recharts-dot",l);return n===+n&&r===+r&&i===+i?k.createElement("circle",Zj({},we(t,!1),Lh(t),{className:c,cx:n,cy:r,r:i})):null};function Hu(e){"@babel/helpers - typeof";return Hu=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},Hu(e)}var Kae=["x","y","top","left","width","height","className"];function Qj(){return Qj=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},Qj.apply(this,arguments)}function e4(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 Yae(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?e4(Object(n),!0).forEach(function(r){Xae(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):e4(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Xae(e,t,n){return t=Wae(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wae(e){var t=Zae(e,"string");return Hu(t)=="symbol"?t:t+""}function Zae(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 Qae(e,t){if(e==null)return{};var n=Jae(e,t),r,i;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Die(e,t){if(e){if(typeof e=="string")return f4(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 f4(e,t)}}function f4(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 zie(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,l,c,d=[],f=!0,h=!1;try{if(l=(n=n.call(e)).next,t!==0)for(;!(f=(r=l.call(n)).done)&&(d.push(r.value),d.length!==t);f=!0);}catch(p){h=!0,i=p}finally{try{if(!f&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(h)throw i}}return d}}function Lie(e){if(Array.isArray(e))return e}function h4(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 m4(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?h4(Object(n),!0).forEach(function(r){$ie(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h4(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $ie(e,t,n){return t=Bie(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bie(e){var t=Iie(e,"string");return Fu(t)=="symbol"?t:t+""}function Iie(e,t){if(Fu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Fu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var p4=function(t,n,r,i,l){var c=r-i,d;return d="M ".concat(t,",").concat(n),d+="L ".concat(t+r,",").concat(n),d+="L ".concat(t+r-c/2,",").concat(n+l),d+="L ".concat(t+r-c/2-i,",").concat(n+l),d+="L ".concat(t,",").concat(n," Z"),d},qie={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Uie=function(t){var n=m4(m4({},qie),t),r=k.useRef(),i=k.useState(-1),l=Pie(i,2),c=l[0],d=l[1];k.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var _=r.current.getTotalLength();_&&d(_)}catch{}},[]);var f=n.x,h=n.y,p=n.upperWidth,x=n.lowerWidth,y=n.height,j=n.className,w=n.animationEasing,S=n.animationDuration,v=n.animationBegin,A=n.isUpdateAnimationActive;if(f!==+f||h!==+h||p!==+p||x!==+x||y!==+y||p===0&&x===0||y===0)return null;var O=Le("recharts-trapezoid",j);return A?V.createElement(sa,{canBegin:c>0,from:{upperWidth:0,lowerWidth:0,height:y,x:f,y:h},to:{upperWidth:p,lowerWidth:x,height:y,x:f,y:h},duration:S,animationEasing:w,isActive:A},function(_){var T=_.upperWidth,N=_.lowerWidth,E=_.height,M=_.x,R=_.y;return V.createElement(sa,{canBegin:c>0,from:"0px ".concat(c===-1?1:c,"px"),to:"".concat(c,"px 0px"),attributeName:"strokeDasharray",begin:v,duration:S,easing:w},V.createElement("path",vm({},we(n,!0),{className:O,d:p4(M,R,T,N,E),ref:r})))}):V.createElement("g",null,V.createElement("path",vm({},we(n,!0),{className:O,d:p4(f,h,p,x,y)})))},Vie=["option","shapeType","propTransformer","activeClassName","isActive"];function Gu(e){"@babel/helpers - typeof";return Gu=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},Gu(e)}function Hie(e,t){if(e==null)return{};var n=Fie(e,t),r,i;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)r=l[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Fie(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"):De(h)&&(Ur(!1,`Use "dataKey" to specify the value of pie,
|
|||
|
|
the props "valueKey" will be deprecated in 1.1.0`),A=x);var O=i.filter(function(R){return Yt(R,A,0)!==0}).length,_=(v>=360?O:O-1)*f,T=v-O*j-_,N=i.reduce(function(R,B){var z=Yt(B,A,0);return R+(he(z)?z:0)},0),E;if(N>0){var M;E=i.map(function(R,B){var z=Yt(R,A,0),D=Yt(R,p,B),L=(he(z)?z:0)/N,$;B?$=M.endAngle+wn(S)*f*(z!==0?1:0):$=c;var F=$+wn(S)*((z!==0?j:0)+L*T),H=($+F)/2,I=(w.innerRadius+w.outerRadius)/2,G=[{name:D,value:z,payload:R,dataKey:A,type:y}],Z=yt(w.cx,w.cy,I,H);return M=mt(mt(mt({percent:L,cornerRadius:l,name:D,tooltipPayload:G,midAngle:H,middleRadius:I,tooltipPosition:Z},R),w),{},{value:Yt(R,A),startAngle:$,endAngle:F,payload:R,paddingAngle:wn(S)*f}),M})}return mt(mt({},w),{},{sectors:E,data:i})});var Z0,b4;function fse(){if(b4)return Z0;b4=1;var e=Math.ceil,t=Math.max;function n(r,i,l,c){for(var d=-1,f=t(e((i-r)/(l||1)),0),h=Array(f);f--;)h[c?f:++d]=r,r+=l;return h}return Z0=n,Z0}var Q0,j4;function TL(){if(j4)return Q0;j4=1;var e=Z6(),t=1/0,n=17976931348623157e292;function r(i){if(!i)return i===0?i:0;if(i=e(i),i===t||i===-t){var l=i<0?-1:1;return l*n}return i===i?i:0}return Q0=r,Q0}var J0,w4;function hse(){if(w4)return J0;w4=1;var e=fse(),t=rp(),n=TL();function r(i){return function(l,c,d){return d&&typeof d!="number"&&t(l,c,d)&&(c=d=void 0),l=n(l),c===void 0?(c=l,l=0):c=n(c),d=d===void 0?l<c?1:-1:n(d),e(l,c,d,i)}}return J0=r,J0}var e1,S4;function mse(){if(S4)return e1;S4=1;var e=hse(),t=e();return e1=t,e1}var pse=mse();const wm=it(pse);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 N4(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 A4(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?N4(Object(n),!0).forEach(function(r){EL(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N4(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function EL(e,t,n){return t=xse(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xse(e){var t=yse(e,"string");return Yu(t)=="symbol"?t:t+""}function yse(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 gse=["Webkit","Moz","O","ms"],vse=function(t,n){var r=t.replace(/(\w)/,function(l){return l.toUpperCase()}),i=gse.reduce(function(l,c){return A4(A4({},l),{},EL({},c+r,n))},{});return i[t]=n,i};function fl(e){"@babel/helpers - typeof";return fl=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},fl(e)}function Sm(){return Sm=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},Sm.apply(this,arguments)}function _4(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 t1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_4(Object(n),!0).forEach(function(r){Yn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_4(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function bse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class a
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Roe(e,t){if(e){if(typeof e=="string")return X4(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 X4(e,t)}}function X4(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 Doe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,l,c,d=[],f=!0,h=!1;try{if(l=(n=n.call(e)).next,t!==0)for(;!(f=(r=l.call(n)).done)&&(d.push(r.value),d.length!==t);f=!0);}catch(p){h=!0,i=p}finally{try{if(!f&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(h)throw i}}return d}}function zoe(e){if(Array.isArray(e))return e}function sw(){return sw=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},sw.apply(this,arguments)}var Loe=function(t,n){var r;return V.isValidElement(t)?r=V.cloneElement(t,n):ke(t)?r=t(n):r=V.createElement("line",sw({},n,{className:"recharts-reference-line-line"})),r},$oe=function(t,n,r,i,l,c,d,f,h){var p=l.x,x=l.y,y=l.width,j=l.height;if(r){var w=h.y,S=t.y.apply(w,{position:c});if(na(h,"discard")&&!t.y.isInRange(S))return null;var v=[{x:p+y,y:S},{x:p,y:S}];return f==="left"?v.reverse():v}if(n){var A=h.x,O=t.x.apply(A,{position:c});if(na(h,"discard")&&!t.x.isInRange(O))return null;var _=[{x:O,y:x+j},{x:O,y:x}];return d==="top"?_.reverse():_}if(i){var T=h.segment,N=T.map(function(E){return t.apply(E,{position:c})});return na(h,"discard")&&Cse(N,function(E){return!t.isInRange(E)})?null:N}return null};function Boe(e){var t=e.x,n=e.y,r=e.segment,i=e.xAxisId,l=e.yAxisId,c=e.shape,d=e.className,f=e.alwaysShow,h=voe(),p=FL(i),x=GL(l),y=woe();if(!h||!y)return null;Ur(f===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var j=fN({x:p.scale,y:x.scale}),w=Wt(t),S=Wt(n),v=r&&r.length===2,A=$oe(j,w,S,v,y,e.position,p.orientation,x.orientation,e);if(!A)return null;var O=Moe(A,2),_=O[0],T=_.x,N=_.y,E=O[1],M=E.x,R=E.y,B=na(e,"hidden")?"url(#".concat(h,")"):void 0,z=Y4(Y4({clipPath:B},we(e,!0)),{},{x1:T,y1:N,x2:M,y2:R});return V.createElement(Ze,{className:Le("recharts-reference-line",d)},Loe(c,z),tn.renderCallByParent(e,ooe({x1:T,y1:N,x2:M,y2:R})))}var gN=(function(e){function t(){return Noe(this,t),Ooe(this,t,arguments)}return koe(t,e),_oe(t,[{key:"render",value:function(){return V.createElement(Boe,this.props)}}])})(V.Component);yN(gN,"displayName","ReferenceLine");yN(gN,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function ow(){return ow=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},ow.apply(this,arguments)}function xl(e){"@babel/helpers - typeof";return xl=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},xl(e)}function W4(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 Z4(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?W4(Object(n),!0).forEach(function(r){Np(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W4(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ioe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qoe(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 qle(e,t){if(e){if(typeof e=="string")return hw(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 hw(e,t)}}function Ule(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Vle(e){if(Array.isArray(e))return hw(e)}function hw(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 Hle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oR(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,a8(r.key),r)}}function Fle(e,t,n){return t&&oR(e.prototype,t),n&&oR(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Gle(e,t,n){return t=Mm(t),Kle(e,r8()?Reflect.construct(t,n||[],Mm(e).constructor):t.apply(e,n))}function Kle(e,t){if(t&&(vl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Yle(e)}function Yle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(r8=function(){return!!e})()}function Mm(e){return Mm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Mm(e)}function Xle(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&&mw(e,t)}function mw(e,t){return mw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},mw(e,t)}function zr(e,t,n){return t=a8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a8(e){var t=Wle(e,"string");return vl(t)=="symbol"?t:t+""}function Wle(e,t){if(vl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(vl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var pd=(function(e){function t(){var n;Hle(this,t);for(var r=arguments.length,i=new Array(r),l=0;l<r;l++)i[l]=arguments[l];return n=Gle(this,t,[].concat(i)),zr(n,"state",{isAnimationFinished:!0,totalLength:0}),zr(n,"generateSimpleStrokeDasharray",function(c,d){return"".concat(d,"px ").concat(c-d,"px")}),zr(n,"getStrokeDasharray",function(c,d,f){var h=f.reduce(function(A,O){return A+O});if(!h)return n.generateSimpleStrokeDasharray(d,c);for(var p=Math.floor(c/h),x=c%h,y=d-c,j=[],w=0,S=0;w<f.length;S+=f[w],++w)if(S+f[w]>x){j=[].concat(ko(f.slice(0,w)),[x-S]);break}var v=j.length%2===0?[0,y]:[y];return[].concat(ko(t.repeat(f,p)),ko(j),v).map(function(A){return"".concat(A,"px")}).join(", ")}),zr(n,"id",Ll("recharts-line-")),zr(n,"pathRef",function(c){n.mainCurve=c}),zr(n,"handleAnimationEnd",function(){n.setState({isAnimationFinished:!0}),n.props.onAnimationEnd&&n.props.onAnimationEnd()}),zr(n,"handleAnimationStart",function(){n.setState({isAnimationFinished:!1}),n.props.onAnimationStart&&n.props.onAnimationStart()}),n}return Xle(t,e),Fle(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 xce(e,t){if(e){if(typeof e=="string")return vw(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 vw(e,t)}}function yce(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function gce(e){if(Array.isArray(e))return vw(e)}function vw(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 bw=function(t,n,r,i,l){var c=er(t,gN),d=er(t,Ap),f=[].concat(lR(c),lR(d)),h=er(t,Op),p="".concat(i,"Id"),x=i[0],y=n;if(f.length&&(y=f.reduce(function(S,v){if(v.props[p]===r&&na(v.props,"extendDomain")&&he(v.props[x])){var A=v.props[x];return[Math.min(S[0],A),Math.max(S[1],A)]}return S},y)),h.length){var j="".concat(x,"1"),w="".concat(x,"2");y=h.reduce(function(S,v){if(v.props[p]===r&&na(v.props,"extendDomain")&&he(v.props[j])&&he(v.props[w])){var A=v.props[j],O=v.props[w];return[Math.min(S[0],A,O),Math.max(S[1],A,O)]}return S},y)}return l&&l.length&&(y=l.reduce(function(S,v){return he(v)?[Math.min(S[0],v),Math.max(S[1],v)]:S},y)),y},m1={exports:{}},cR;function vce(){return cR||(cR=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,p){this.fn=f,this.context=h,this.once=p||!1}function l(f,h,p,x,y){if(typeof p!="function")throw new TypeError("The listener must be a function");var j=new i(p,x||f,y),w=n?n+h:h;return f._events[w]?f._events[w].fn?f._events[w]=[f._events[w],j]:f._events[w].push(j):(f._events[w]=j,f._eventsCount++),f}function c(f,h){--f._eventsCount===0?f._events=new r:delete f._events[h]}function d(){this._events=new r,this._eventsCount=0}d.prototype.eventNames=function(){var h=[],p,x;if(this._eventsCount===0)return h;for(x in p=this._events)t.call(p,x)&&h.push(n?x.slice(1):x);return Object.getOwnPropertySymbols?h.concat(Object.getOwnPropertySymbols(p)):h},d.prototype.listeners=function(h){var p=n?n+h:h,x=this._events[p];if(!x)return[];if(x.fn)return[x.fn];for(var y=0,j=x.length,w=new Array(j);y<j;y++)w[y]=x[y].fn;return w},d.prototype.listenerCount=function(h){var p=n?n+h:h,x=this._events[p];return x?x.fn?1:x.length:0},d.prototype.emit=function(h,p,x,y,j,w){var S=n?n+h:h;if(!this._events[S])return!1;var v=this._events[S],A=arguments.length,O,_;if(v.fn){switch(v.once&&this.removeListener(h,v.fn,void 0,!0),A){case 1:return v.fn.call(v.context),!0;case 2:return v.fn.call(v.context,p),!0;case 3:return v.fn.call(v.context,p,x),!0;case 4:return v.fn.call(v.context,p,x,y),!0;case 5:return v.fn.call(v.context,p,x,y,j),!0;case 6:return v.fn.call(v.context,p,x,y,j,w),!0}for(_=1,O=new Array(A-1);_<A;_++)O[_-1]=arguments[_];v.fn.apply(v.context,O)}else{var T=v.length,N;for(_=0;_<T;_++)switch(v[_].once&&this.removeListener(h,v[_].fn,void 0,!0),A){case 1:v[_].fn.call(v[_].context);break;case 2:v[_].fn.call(v[_].context,p);break;case 3:v[_].fn.call(v[_].context,p,x);break;case 4:v[_].fn.call(v[_].context,p,x,y);break;default:if(!O)for(N=1,O=new Array(A-1);N<A;N++)O[N-1]=arguments[N];v[_].fn.apply(v[_].context,O)}}return!0},d.prototype.on=function(h,p,x){return l(this,h,p,x,!1)},d.prototype.once=function(h,p,x){return l(this,h,p,x,!0)},d.prototype.removeListener=function(h,p,x,y){var j=n?n+h:h;if(!this._events[j])return this;if(!p)return c(this,j),this;var w=this._events[j];if(w.fn)w.fn===p&&(!y||w.once)&&(!x||w.context===x)&&c(this,j);else{for(var S=0,v=[],A=w.length;S<A;S++)(w[S].fn!==p||y&&!w[S].once||x&&w[S].context!==x)&&v.push(w[S]);v.length?this._events[j]=v.length===1?v[0]:v:c(this,j)}return this},d.prototype.removeAllListeners=function(h){var p;return h?(p=n?n+h:h,this._events[p]&&c(this,p)):(this._events=new r,this._eventsCount=0),this},d.prototype.off=d.prototype.removeListener,d.prototype.addListener=d.prototype.on,d.prefixed=n,d.EventEmitter=d,e.exports=d})(m1)),m1.e
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lce(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,l,c,d=[],f=!0,h=!1;try{if(l=(n=n.call(e)).next,t!==0)for(;!(f=(r=l.call(n)).done)&&(d.push(r.value),d.length!==t);f=!0);}catch(p){h=!0,i=p}finally{try{if(!f&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(h)throw i}}return d}}function $ce(e){if(Array.isArray(e))return e}function fR(e,t){if(e==null)return{};var n=Bce(e,t),r,i;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)r=l[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Bce(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 Ice(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qce(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,p8(r.key),r)}}function Uce(e,t,n){return t&&qce(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Vce(e,t,n){return t=Dm(t),Hce(e,h8()?Reflect.construct(t,n||[],Dm(e).constructor):t.apply(e,n))}function Hce(e,t){if(t&&(Nl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Fce(e)}function Fce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(h8=function(){return!!e})()}function Dm(e){return Dm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Dm(e)}function Gce(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&&jw(e,t)}function jw(e,t){return jw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},jw(e,t)}function Al(e){return Xce(e)||Yce(e)||m8(e)||Kce()}function Kce(){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 m8(e,t){if(e){if(typeof e=="string")return ww(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 ww(e,t)}}function Yce(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Xce(e){if(Array.isArray(e))return ww(e)}function ww(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 re(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){Ae(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 Ae(e,t,n){return t=p8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p8(e){var t=Wce(e,"string");return Nl(t)=="symbol"?t:t+""}function Wce(e,t){if(Nl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Nl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Zce={xAxis:["bottom","top"],yAxis:["left","right"]},Qce={width:"100%",height:"100%"},x8={x:0,y:0};function sh(e){return e}var Jce=function(t,n){return n==="horizontal"?t.x:n==="vertical"?t.y:n==="centric"?t.angle:t.radius},eue=function(t,n,r,i){var l=n.find(function(p){return p&&p.index===r});if(l){if(t==="horizontal")return{x:l.coordinate,y:i.y};if(t==="vertical")return{x:i.x,y:l.coordinate};if(t==="centric"){var c=l.coordinate,d=i.radius;return re(re(re({},i),yt(i.cx,i.cy,d,c)),{},{angle:c,radius:d})}var f=l.coordinate,h=i.angle;return re(re(re({},i),yt(i.cx,i.cy,f,h)),{},{angle:h,radius:f})}return x8},Tp=function(t,n){var r=n.graphicalItems,i=n.dataStartIndex,l=n.dataEndIndex,c=(r??[]).reduce(function(d,f){var h=f.props.data;return h&&h.length?[].concat(Al(d),Al(h)):d},[]);return c.length>0?c:t&&t.length&&he(i)&&he(l)?t.slice(i,l+1):[]};function y8(e){return e==="number"?[0,"auto"]:void 0}var Sw=function(t,n,r,i){var l=t.graphicalItems,c=t.tooltipAxis,d=Tp(n,t);return r<0||!l||!l.length||r>=d.length?null:l.reduce(function(f,h){var p,x=(p=h.props.data)!==null&&p!==void 0?p:n;x&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(x=x.slice(t.dataStartIndex,t.dataEndIndex+1));var y;if(c.dataKey&&!c.allowDuplicatedCategory){var j=x===void 0?d:x;y=zh(j,c.dataKey,i)}else y=x&&x[r]||d[r];return y?[].concat(Al(f),[oL(h,y)]):f},[])},mR=function(t,n,r,i){var l=i||{x:t.chartX,y:t.chartY},c=Jce(l,r),d=t.orderedTooltipTicks,f=t.tooltipAxis,h=t.tooltipTicks,p=wte(c,d,h,f);if(p>=0&&h){var x=h[p]&&h[p].value,y=Sw(t,n,p,x),j=eue(r,d,p,l);return{activeTooltipIndex:p,activeLabel:x,activePayload:y,activeCoordinate:j}}return null},tue=function(t,n){var r=n.axes,i=n.graphicalItems,l=n.axisType,c=n.axisIdKey,d=n.stackGroups,f=n.dataStartIndex,h=n.dataEndIndex,p=t.layout,x=t.children,y=t.stackOffset,j=tL(p,l);return r.reduce(function(w,S){var v,A=S.type.defaultProps!==void 0?re(re({},S.type.defaultProps),S.props):S.props,O=A.type,_=A.dataKey,T=A.allowDataOverflow,N=A.allowDuplicatedCategory,E=A.scale,M=A.ticks,R=A.includeHidden,B=A[c];if(w[B])return w;var z=Tp(t.data,{graphicalItems:i.filter(function(Y){var ae,fe=c in Y.props?Y.props[c]:(ae=Y.type.defaultProps)===null||ae===void 0?void 0:ae[c];return fe===B}),dataStartIndex:f,dataEndIndex:h}),D=z.length,L,$,F;Oce(A.domain,T,O)&&(L=zj(A.domain,null,T),j&&(O==="number"||E!=="auto")&&(F=lu(z,_,"category")));var H=y8(O);if(!L||L.length===0){v
|
|||
|
|
|
|||
|
|
---
|
|||
|
|
${n.body.substring(0,500)}`:""),[p,x]=k.useState(!1),[y,j]=k.useState(!1),[w,S]=k.useState([]),v=k.useRef(null);if(!e)return null;function A(N){const E=N.match(/<([^>]+)>/);return E?E[1]:N}async function O(){if(!(!i||!c||!f)){x(!0);try{const N=localStorage.getItem("amos_token"),M=await(await fetch("/api/v1/mail/send",{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${N}`},body:JSON.stringify({to:[i],subject:c,body:f,reply_to:n==null?void 0:n.from})})).json();M.ok?(l(""),d(""),h(""),S([]),r==null||r(),t()):alert(M.error||"Failed to send")}catch{alert("Failed to send email")}finally{x(!1)}}}async function _(){if(f.trim()){j(!0);try{const N=localStorage.getItem("amos_token"),M=await(await fetch("/api/v1/mail/ai-assist",{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${N}`},body:JSON.stringify({context:f,tone:"professional",language:"sv"})})).json();M.ok&&M.improved&&h(M.improved)}catch(N){console.error("AI assist failed:",N)}finally{j(!1)}}}function T(N){N.target.files&&S(Array.from(N.target.files))}return s.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50",children:s.jsxs(te,{className:"w-full max-w-2xl max-h-[90vh] flex flex-col",children:[s.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-border",children:[s.jsx("h2",{className:"text-lg font-semibold text-text-primary",children:n?"Svara":"Nytt meddelande"}),s.jsx("button",{onClick:t,className:"p-2 rounded-lg hover:bg-bg text-text-secondary",children:s.jsx(Nr,{size:20})})]}),s.jsxs("div",{className:"flex-1 overflow-y-auto p-4 space-y-4",children:[s.jsxs("div",{children:[s.jsx("label",{className:"block text-sm font-medium text-text-secondary mb-1",children:"Till"}),s.jsx("input",{type:"email",value:i,onChange:N=>l(N.target.value),className:"w-full h-10 px-3 rounded-xl border bg-surface text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-primary/20",placeholder:"email@example.com"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"block text-sm font-medium text-text-secondary mb-1",children:"Ämne"}),s.jsx("input",{type:"text",value:c,onChange:N=>d(N.target.value),className:"w-full h-10 px-3 rounded-xl border bg-surface text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-primary/20",placeholder:"Ämne"})]}),s.jsxs("div",{children:[s.jsx("label",{className:"block text-sm font-medium text-text-secondary mb-1",children:"Meddelande"}),s.jsx("textarea",{value:f,onChange:N=>h(N.target.value),rows:12,className:"w-full px-3 py-2 rounded-xl border bg-surface text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-primary/20 resize-none",placeholder:"Skriv ditt meddelande..."})]}),w.length>0&&s.jsxs("div",{className:"space-y-2",children:[s.jsx("p",{className:"text-sm font-medium text-text-secondary",children:"Bilagor"}),w.map((N,E)=>s.jsxs("div",{className:"flex items-center gap-2 p-2 bg-bg rounded-lg",children:[s.jsx(oE,{size:16,className:"text-text-secondary"}),s.jsx("span",{className:"text-sm text-text-primary",children:N.name}),s.jsxs("span",{className:"text-xs text-text-secondary",children:["(",(N.size/1024).toFixed(0)," KB)"]})]},E))]})]}),s.jsxs("div",{className:"flex items-center justify-between p-4 border-t border-border",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("input",{type:"file",ref:v,onChange:T,multiple:!0,className:"hidden"}),s.jsx(Me,{variant:"secondary",size:"sm",icon:s.jsx(oE,{size:16}),onClick:()=>{var N;return(N=v.current)==null?void 0:N.click()},children:"Bifoga"}),s.jsx(Me,{variant:"secondary",size:"sm",icon:y?s.jsx(Rh,{size:16,className:"animate-spin"}):s.jsx(V5,{size:16}),onClick:_,disabled:y||!f.trim(),children:"AI-hjälp"})]}),s.jsx(Me,{icon:p?s.jsx(Rh,{size:16,className:"animate-spin"}):s.jsx(gu,{size:16}),onClick:O,disabled:p||!i||!c||!f,children:p?"Skickar...":"Skicka"})]})]})})}function Wue(){const[e,t]=k.useState([]),[n,r]=k.useState(!0),[i,l]=k.useState(""),[c,d]=k.useState(null),[f,h]=k.useState(0),[p,x]=k.useState([]),[y,j]=k.useState(
|
|||
|
|
|
|||
|
|
• Analysera data och rapporter
|
|||
|
|
• Skriva och granska avtal
|
|||
|
|
• Besvara frågor om BOC
|
|||
|
|
• Hjälpa med email och kommunikation
|
|||
|
|
• Ge råd om affärsbeslut
|
|||
|
|
|
|||
|
|
Vad kan jag hjälpa dig med idag?`,timestamp:new Date}]),[n,r]=k.useState(""),[i,l]=k.useState(!1),c=k.useRef(null),d=()=>{var p;(p=c.current)==null||p.scrollIntoView({behavior:"smooth"})};k.useEffect(()=>{d()},[e]);const f=async()=>{if(!n.trim())return;const p={id:Date.now().toString(),role:"user",content:n,timestamp:new Date};t(x=>[...x,p]),r(""),l(!0),setTimeout(()=>{const x={id:(Date.now()+1).toString(),role:"assistant",content:h(n),timestamp:new Date};t(y=>[...y,x]),l(!1)},1500)},h=p=>{const x=p.toLowerCase();return x.includes("hej")||x.includes("hallå")?"Hej! Vad kan jag hjälpa dig med?":x.includes("avtal")||x.includes("kontrakt")?"Jag kan hjälpa dig att granska avtal, skapa nya mallar, eller analysera befintliga kontrakt. Vill du att jag tittar på ett specifikt avtal?":x.includes("mail")||x.includes("email")?"Jag kan hjälpa dig att skriva professionella mail, förbättra befintliga utkast, eller analysera inkommande meddelanden. Vad behöver du hjälp med?":x.includes("rapport")||x.includes("analys")?"Jag kan analysera data, skapa rapporter, eller hjälpa dig tolka finansiella siffror. Vilken typ av analys behöver du?":"Jag förstår. Jag kan hjälpa dig med detta. Kan du ge mig mer kontext eller specificera vad du vill ha hjälp med?"};return s.jsxs("div",{className:"flex flex-col h-[calc(100vh-8rem)]",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[s.jsx("div",{className:"w-10 h-10 rounded-xl bg-primary/10 flex items-center justify-center",children:s.jsx(Ti,{size:20,className:"text-primary"})}),s.jsxs("div",{children:[s.jsx("h1",{className:"text-xl font-semibold text-text-primary",children:"Alva"}),s.jsx("p",{className:"text-sm text-text-secondary",children:"Din AI-assistent"})]})]}),s.jsxs("div",{className:"flex-1 overflow-y-auto space-y-4 mb-4 pr-2",children:[e.map(p=>s.jsxs("div",{className:`flex gap-3 ${p.role==="user"?"flex-row-reverse":""}`,children:[s.jsx("div",{className:`w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0 ${p.role==="assistant"?"bg-primary/10 text-primary":"bg-surface text-text-secondary"}`,children:p.role==="assistant"?s.jsx(Ti,{size:16}):s.jsx(Qo,{size:16})}),s.jsx(te,{className:`max-w-[80%] ${p.role==="user"?"bg-primary text-white":""}`,padding:"sm",children:s.jsx("p",{className:"text-sm whitespace-pre-wrap",children:p.content})})]},p.id)),i&&s.jsxs("div",{className:"flex gap-3",children:[s.jsx("div",{className:"w-8 h-8 rounded-lg bg-primary/10 flex items-center justify-center",children:s.jsx(Ti,{size:16,className:"text-primary"})}),s.jsx(te,{className:"max-w-[80%]",padding:"sm",children:s.jsxs("div",{className:"flex items-center gap-2 text-text-secondary",children:[s.jsx(Rh,{size:16,className:"animate-spin"}),s.jsx("span",{className:"text-sm",children:"Tänker..."})]})})]}),s.jsx("div",{ref:c})]}),s.jsxs("div",{className:"flex gap-2 pt-4 border-t border-border",children:[s.jsx(As,{value:n,onChange:p=>r(p.target.value),onKeyDown:p=>p.key==="Enter"&&f(),placeholder:"Skriv ett meddelande...",className:"flex-1"}),s.jsx(Me,{icon:i?s.jsx(Rh,{size:16,className:"animate-spin"}):s.jsx(gu,{size:16}),onClick:f,disabled:i||!n.trim(),children:"Skicka"})]})]})}const SR=[{id:"todo",label:"Att göra",icon:UH,color:"bg-gray-100"},{id:"in_progress",label:"Pågående",icon:Xt,color:"bg-blue-50"},{id:"review",label:"Granskning",icon:KH,color:"bg-yellow-50"},{id:"done",label:"Klart",icon:Dn,color:"bg-green-50"}],ede={low:"bg-gray-100 text-gray-700",medium:"bg-blue-100 text-blue-700",high:"bg-orange-100 text-orange-700",urgent:"bg-red-100 text-red-700"},tde={low:"Låg",medium:"Medium",high:"Hög",urgent:"Akut"};function nde(){const[e,t]=k.useState([]),[n,r]=k.useState(null),[i,l]=k.useState([]),[c,d]=k.useState(!0),[f,h]=k.useState(""),[p,x]=k.useState(!1),[y,j]=k.useState(!1),{token:w}=tr(),[S,v]=k.useState({title:"",description:"",priority:"medium",status:"todo",assignee:"",due_date:"",tags:""}),[A,O]=k.useState({name:"",description:""}),_=async()=>{d(!0);try{const D=await fetch("/api/projects");if(!D.ok)throw new Error("Failed to fetch projects");const L
|