@dudousxd/nestjs-agent-dashboard 0.14.1 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/agent-client.d.ts +6 -0
- package/dist/client/agent-client.d.ts.map +1 -1
- package/dist/client/agent-client.js.map +1 -1
- package/dist/react/open-console-button.d.ts +1 -1
- package/dist/react/open-console-button.d.ts.map +1 -1
- package/dist/spa/assets/base-ui-Bj5tb_Ph.js +55 -0
- package/dist/spa/assets/{index-Dr3vAOUw.js → index-Cchd2o0X.js} +2 -2
- package/dist/spa/assets/{index-Cvgm9m_c.js → index-DAU1txqd.js} +1 -1
- package/dist/spa/assets/preview-CYbdGs3V.js +1 -0
- package/dist/spa/assets/{recharts-CPMXF7sD.js → recharts-DPC0gOrj.js} +1 -1
- package/dist/spa/index.html +4 -4
- package/dist/spa/preview.html +4 -4
- package/package.json +24 -14
- package/dist/spa/assets/base-ui-CKhU3I2F.js +0 -55
- package/dist/spa/assets/preview-BdD_YKne.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var C0=Object.defineProperty;var k0=(e,t,r)=>t in e?C0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var di=(e,t,r)=>k0(e,typeof t!="symbol"?t+"":t,r);import{r as v,w as _0,c as O,a as Uv,g as j0,R as T0}from"./base-ui-CKhU3I2F.js";function Hv(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=Hv(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Q(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=Hv(e))&&(n&&(n+=" "),n+=t);return n}var D0=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"];function Hl(e){if(typeof e!="string")return!1;var t=D0;return t.includes(e)}var M0=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],$0=new Set(M0);function Yv(e){return typeof e!="string"?!1:$0.has(e)}function Vv(e){return typeof e=="string"&&e.startsWith("data-")}function Ue(e){if(typeof e!="object"||e===null)return{};var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(Yv(r)||Vv(r))&&(t[r]=e[r]);return t}function Hr(e){if(e==null)return null;if(v.isValidElement(e)&&typeof e.props=="object"&&e.props!==null){var t=e.props;return Ue(t)}return typeof e=="object"&&!Array.isArray(e)?Ue(e):null}function Qe(e){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(Yv(r)||Vv(r)||Hl(r))&&(t[r]=e[r]);return t}function N0(e){return e==null?null:v.isValidElement(e)?Qe(e.props):typeof e=="object"&&!Array.isArray(e)?Qe(e):null}var L0=["children","width","height","viewBox","className","style","title","desc"];function Qo(){return Qo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qo.apply(null,arguments)}function R0(e,t){if(e==null)return{};var r,n,i=z0(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function z0(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var Gv=v.forwardRef((e,t)=>{var r=e.children,n=e.width,i=e.height,a=e.viewBox,o=e.className,l=e.style,u=e.title,c=e.desc,s=R0(e,L0),f=a||{width:n,height:i,x:0,y:0},d=Q("recharts-surface",o);return v.createElement("svg",Qo({},Qe(s),{className:d,width:n,height:i,style:l,viewBox:"".concat(f.x," ").concat(f.y," ").concat(f.width," ").concat(f.height),ref:t}),v.createElement("title",null,u),v.createElement("desc",null,c),r)}),B0=["children","className"];function Jo(){return Jo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Jo.apply(null,arguments)}function W0(e,t){if(e==null)return{};var r,n,i=F0(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function F0(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var ge=v.forwardRef((e,t)=>{var r=e.children,n=e.className,i=W0(e,B0),a=Q("recharts-layer",n);return v.createElement("g",Jo({className:a},Qe(i),{ref:t}),r)});function el(e){return e==="__proto__"}function qv(e){switch(typeof e){case"number":case"symbol":return!1;case"string":return e.includes(".")||e.includes("[")||e.includes("]")}}function Yl(e){var t;return typeof e=="string"||typeof e=="symbol"?e:Object.is((t=e==null?void 0:e.valueOf)==null?void 0:t.call(e),-0)?"-0":String(e)}function Xv(e){if(e==null)return"";if(typeof e=="string")return e;if(Array.isArray(e))return e.map(Xv).join(",");const t=String(e);return t==="0"&&Object.is(Number(e),-0)?"-0":t}function Vl(e){if(Array.isArray(e))return e.map(Yl);if(typeof e=="symbol")return[e];e=Xv(e);const t=[],r=e.length;if(r===0)return t;let n=0,i="",a="",o=!1;for(e.charCodeAt(0)===46&&t.push("");n<r;){const l=e[n];if(a)l==="\\"&&n+1<r?(n++,i+=e[n]):l===a?a="":i+=l;else if(o)l==='"'||l==="'"?a=l:l==="]"?(o=!1,t.push(i),i=""):i+=l;else if(l==="[")o=!0,i&&(t.push(i),i="");else if(l==="."){i&&(t.push(i),i="");const u=e[n+1];(u===void 0||u===".")&&t.push("")}else i+=l;n++}return i&&t.push(i),t}function Et(e,t,r){if(e==null)return r;switch(typeof t){case"string":{if(el(t))return r;const n=e[t];return n===void 0?qv(t)&&!Object.hasOwn(e,t)?Et(e,Vl(t),r):r:n}case"number":case"symbol":{typeof t=="number"&&(t=Yl(t));const n=e[t];return n===void 0?r:n}default:{if(Array.isArray(t))return K0(e,t,r);if(Object.is(t==null?void 0:t.valueOf(),-0)?t="-0":t=String(t),el(t))return r;const n=e[t];return n===void 0?r:n}}}function K0(e,t,r){if(t.length===0)return r;let n=e;for(let i=0;i<t.length;i++){if(n==null||el(t[i]))return r;n=n[t[i]]}return n===void 0?r:n}var U0=4;function Dt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:U0,r=10**t,n=Math.round(e*r)/r;return Object.is(n,-0)?0:n}function ke(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e.reduce((i,a,o)=>{var l=r[o-1];return typeof l=="string"?i+l+a:l!==void 0?i+Dt(l)+a:i+a},"")}var $e=e=>e===0?0:e>0?1:-1,It=e=>typeof e=="number"&&e!=+e,br=e=>typeof e=="string"&&e.length>1&&e.indexOf("%")===e.length-1,D=e=>(typeof e=="number"||e instanceof Number)&&!It(e),Ct=e=>D(e)||typeof e=="string",H0=0,Tn=e=>{var t=++H0;return"".concat(e||"").concat(t)},Xe=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!D(t)&&typeof t!="string")return n;var a;if(br(t)){if(r==null)return n;var o=t.indexOf("%");a=r*parseFloat(t.slice(0,o))/100}else a=+t;return It(a)&&(a=n),i&&r!=null&&a>r&&(a=r),a},Zv=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,r={},n=0;n<t;n++)if(!r[String(e[n])])r[String(e[n])]=!0;else return!0;return!1};function ze(e,t,r){return D(e)&&D(t)?Dt(e+r*(t-e)):t}function Qv(e,t,r){if(!(!e||!e.length))return e.find(n=>n&&(typeof t=="function"?t(n):Et(n,t))===r)}var pe=e=>e===null||typeof e>"u",Gl=e=>pe(e)?e:"".concat(e.charAt(0).toUpperCase()).concat(e.slice(1));function Be(e){return e!=null}function Er(){}function ql(e){if(e)return{x:e.x,y:e.y,upperWidth:"upperWidth"in e?e.upperWidth:e.width,lowerWidth:"lowerWidth"in e?e.lowerWidth:e.width,width:e.width,height:e.height}}function Zc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function gt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Zc(Object(r),!0).forEach(function(n){Y0(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Y0(e,t,r){return(t=V0(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function V0(e){var t=G0(e,"string");return typeof t=="symbol"?t:t+""}function G0(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var q0=e=>{var t=e.viewBox,r=e.position,n=e.offset,i=n===void 0?0:n,a=e.parentViewBox,o=ql(t),l=o.x,u=o.y,c=o.height,s=o.upperWidth,f=o.lowerWidth,d=l,h=l+(s-f)/2,p=(d+h)/2,m=(s+f)/2,y=d+s/2,g=c>=0?1:-1,x=g*i,w=g>0?"end":"start",A=g>0?"start":"end",P=s>=0?1:-1,b=P*i,S=P>0?"end":"start",I=P>0?"start":"end",C=a;if(r==="top"){var k={x:d+s/2,y:u-x,horizontalAnchor:"middle",verticalAnchor:w};return C&&(k.height=Math.max(u-C.y,0),k.width=s),k}if(r==="bottom"){var _={x:h+f/2,y:u+c+x,horizontalAnchor:"middle",verticalAnchor:A};return C&&(_.height=Math.max(C.y+C.height-(u+c),0),_.width=f),_}if(r==="left"){var E={x:p-b,y:u+c/2,horizontalAnchor:S,verticalAnchor:"middle"};return C&&(E.width=Math.max(E.x-C.x,0),E.height=c),E}if(r==="right"){var L={x:p+m+b,y:u+c/2,horizontalAnchor:I,verticalAnchor:"middle"};return C&&(L.width=Math.max(C.x+C.width-L.x,0),L.height=c),L}var T=C?{width:m,height:c}:{};return r==="insideLeft"?gt({x:p+b,y:u+c/2,horizontalAnchor:I,verticalAnchor:"middle"},T):r==="insideRight"?gt({x:p+m-b,y:u+c/2,horizontalAnchor:S,verticalAnchor:"middle"},T):r==="insideTop"?gt({x:d+s/2,y:u+x,horizontalAnchor:"middle",verticalAnchor:A},T):r==="insideBottom"?gt({x:h+f/2,y:u+c-x,horizontalAnchor:"middle",verticalAnchor:w},T):r==="insideTopLeft"?gt({x:d+b,y:u+x,horizontalAnchor:I,verticalAnchor:A},T):r==="insideTopRight"?gt({x:d+s-b,y:u+x,horizontalAnchor:S,verticalAnchor:A},T):r==="insideBottomLeft"?gt({x:h+b,y:u+c-x,horizontalAnchor:I,verticalAnchor:w},T):r==="insideBottomRight"?gt({x:h+f-b,y:u+c-x,horizontalAnchor:S,verticalAnchor:w},T):r&&typeof r=="object"&&(D(r.x)||br(r.x))&&(D(r.y)||br(r.y))?gt({x:l+Xe(r.x,m),y:u+Xe(r.y,c),horizontalAnchor:"end",verticalAnchor:"end"},T):gt({x:y,y:u+c/2,horizontalAnchor:"middle",verticalAnchor:"middle"},T)},X0=["top","left","right","bottom"];function Z0(e){return e==null?!1:typeof e=="object"?!0:X0.includes(e)}var Q0=v.createContext(null);function se(e){return function(){return e}}const tl=Math.PI,rl=2*tl,ur=1e-6,J0=rl-ur;function Jv(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}function eb(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Jv;const r=10**t;return function(n){this._+=n[0];for(let i=1,a=n.length;i<a;++i)this._+=Math.round(arguments[i]*r)/r+n[i]}}class tb{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?Jv:eb(t)}moveTo(t,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,r){this._append`L${this._x1=+t},${this._y1=+r}`}quadraticCurveTo(t,r,n,i){this._append`Q${+t},${+r},${this._x1=+n},${this._y1=+i}`}bezierCurveTo(t,r,n,i,a,o){this._append`C${+t},${+r},${+n},${+i},${this._x1=+a},${this._y1=+o}`}arcTo(t,r,n,i,a){if(t=+t,r=+r,n=+n,i=+i,a=+a,a<0)throw new Error(`negative radius: ${a}`);let o=this._x1,l=this._y1,u=n-t,c=i-r,s=o-t,f=l-r,d=s*s+f*f;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(d>ur)if(!(Math.abs(f*u-c*s)>ur)||!a)this._append`L${this._x1=t},${this._y1=r}`;else{let h=n-o,p=i-l,m=u*u+c*c,y=h*h+p*p,g=Math.sqrt(m),x=Math.sqrt(d),w=a*Math.tan((tl-Math.acos((m+d-y)/(2*g*x)))/2),A=w/x,P=w/g;Math.abs(A-1)>ur&&this._append`L${t+A*s},${r+A*f}`,this._append`A${a},${a},0,0,${+(f*h>s*p)},${this._x1=t+P*u},${this._y1=r+P*c}`}}arc(t,r,n,i,a,o){if(t=+t,r=+r,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let l=n*Math.cos(i),u=n*Math.sin(i),c=t+l,s=r+u,f=1^o,d=o?i-a:a-i;this._x1===null?this._append`M${c},${s}`:(Math.abs(this._x1-c)>ur||Math.abs(this._y1-s)>ur)&&this._append`L${c},${s}`,n&&(d<0&&(d=d%rl+rl),d>J0?this._append`A${n},${n},0,1,${f},${t-l},${r-u}A${n},${n},0,1,${f},${this._x1=c},${this._y1=s}`:d>ur&&this._append`A${n},${n},0,${+(d>=tl)},${f},${this._x1=t+n*Math.cos(a)},${this._y1=r+n*Math.sin(a)}`)}rect(t,r,n,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}}function eh(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);t=n}return e},()=>new tb(t)}function Xl(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function th(e){this._context=e}th.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function Sa(e){return new th(e)}function rh(e){return e[0]}function nh(e){return e[1]}function ih(e,t){var r=se(!0),n=null,i=Sa,a=null,o=eh(l);e=typeof e=="function"?e:e===void 0?rh:se(e),t=typeof t=="function"?t:t===void 0?nh:se(t);function l(u){var c,s=(u=Xl(u)).length,f,d=!1,h;for(n==null&&(a=i(h=o())),c=0;c<=s;++c)!(c<s&&r(f=u[c],c,u))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(f,c,u),+t(f,c,u));if(h)return a=null,h+""||null}return l.x=function(u){return arguments.length?(e=typeof u=="function"?u:se(+u),l):e},l.y=function(u){return arguments.length?(t=typeof u=="function"?u:se(+u),l):t},l.defined=function(u){return arguments.length?(r=typeof u=="function"?u:se(!!u),l):r},l.curve=function(u){return arguments.length?(i=u,n!=null&&(a=i(n)),l):i},l.context=function(u){return arguments.length?(u==null?n=a=null:a=i(n=u),l):n},l}function vi(e,t,r){var n=null,i=se(!0),a=null,o=Sa,l=null,u=eh(c);e=typeof e=="function"?e:e===void 0?rh:se(+e),t=typeof t=="function"?t:se(t===void 0?0:+t),r=typeof r=="function"?r:r===void 0?nh:se(+r);function c(f){var d,h,p,m=(f=Xl(f)).length,y,g=!1,x,w=new Array(m),A=new Array(m);for(a==null&&(l=o(x=u())),d=0;d<=m;++d){if(!(d<m&&i(y=f[d],d,f))===g)if(g=!g)h=d,l.areaStart(),l.lineStart();else{for(l.lineEnd(),l.lineStart(),p=d-1;p>=h;--p)l.point(w[p],A[p]);l.lineEnd(),l.areaEnd()}g&&(w[d]=+e(y,d,f),A[d]=+t(y,d,f),l.point(n?+n(y,d,f):w[d],r?+r(y,d,f):A[d]))}if(x)return l=null,x+""||null}function s(){return ih().defined(i).curve(o).context(a)}return c.x=function(f){return arguments.length?(e=typeof f=="function"?f:se(+f),n=null,c):e},c.x0=function(f){return arguments.length?(e=typeof f=="function"?f:se(+f),c):e},c.x1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:se(+f),c):n},c.y=function(f){return arguments.length?(t=typeof f=="function"?f:se(+f),r=null,c):t},c.y0=function(f){return arguments.length?(t=typeof f=="function"?f:se(+f),c):t},c.y1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:se(+f),c):r},c.lineX0=c.lineY0=function(){return s().x(e).y(t)},c.lineY1=function(){return s().x(e).y(r)},c.lineX1=function(){return s().x(n).y(t)},c.defined=function(f){return arguments.length?(i=typeof f=="function"?f:se(!!f),c):i},c.curve=function(f){return arguments.length?(o=f,a!=null&&(l=o(a)),c):o},c.context=function(f){return arguments.length?(f==null?a=l=null:l=o(a=f),c):a},c}class ah{constructor(t,r){this._context=t,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,r){switch(t=+t,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,r,t,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,t,this._y0,t,r);break}}this._x0=t,this._y0=r}}function rb(e){return new ah(e,!0)}function nb(e){return new ah(e,!1)}function Di(){}function Mi(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function oh(e){this._context=e}oh.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Mi(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Mi(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function ib(e){return new oh(e)}function lh(e){this._context=e}lh.prototype={areaStart:Di,areaEnd:Di,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Mi(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function ab(e){return new lh(e)}function uh(e){this._context=e}uh.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:Mi(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function ob(e){return new uh(e)}function ch(e){this._context=e}ch.prototype={areaStart:Di,areaEnd:Di,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function lb(e){return new ch(e)}function Qc(e){return e<0?-1:1}function Jc(e,t,r){var n=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(n||i<0&&-0),o=(r-e._y1)/(i||n<0&&-0),l=(a*i+o*n)/(n+i);return(Qc(a)+Qc(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(l))||0}function es(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function Eo(e,t,r){var n=e._x0,i=e._y0,a=e._x1,o=e._y1,l=(a-n)/3;e._context.bezierCurveTo(n+l,i+l*t,a-l,o-l*r,a,o)}function $i(e){this._context=e}$i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Eo(this,this._t0,es(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Eo(this,es(this,r=Jc(this,e,t)),r);break;default:Eo(this,this._t0,r=Jc(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function sh(e){this._context=new fh(e)}(sh.prototype=Object.create($i.prototype)).point=function(e,t){$i.prototype.point.call(this,t,e)};function fh(e){this._context=e}fh.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,a){this._context.bezierCurveTo(t,e,n,r,a,i)}};function ub(e){return new $i(e)}function cb(e){return new sh(e)}function dh(e){this._context=e}dh.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),r===2)this._context.lineTo(e[1],t[1]);else for(var n=ts(e),i=ts(t),a=0,o=1;o<r;++a,++o)this._context.bezierCurveTo(n[0][a],i[0][a],n[1][a],i[1][a],e[o],t[o]);(this._line||this._line!==0&&r===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function ts(e){var t,r=e.length-1,n,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,a[r-1]=7,o[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/a[t-1],a[t]-=n,o[t]-=n*o[t-1];for(i[r-1]=o[r-1]/a[r-1],t=r-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function sb(e){return new dh(e)}function Ea(e,t){this._context=e,this._t=t}Ea.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}break}}this._x=e,this._y=t}};function fb(e){return new Ea(e,.5)}function db(e){return new Ea(e,0)}function vb(e){return new Ea(e,1)}function xr(e,t){if((o=e.length)>1)for(var r=1,n,i,a=e[t[0]],o,l=a.length;r<o;++r)for(i=a,a=e[t[r]],n=0;n<l;++n)a[n][1]+=a[n][0]=isNaN(i[n][1])?i[n][0]:i[n][1]}function nl(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function hb(e,t){return e[t]}function pb(e){const t=[];return t.key=e,t}function mb(){var e=se([]),t=nl,r=xr,n=hb;function i(a){var o=Array.from(e.apply(this,arguments),pb),l,u=o.length,c=-1,s;for(const f of a)for(l=0,++c;l<u;++l)(o[l][c]=[0,+n(f,o[l].key,c,a)]).data=f;for(l=0,s=Xl(t(o));l<u;++l)o[s[l]].index=l;return r(o,s),o}return i.keys=function(a){return arguments.length?(e=typeof a=="function"?a:se(Array.from(a)),i):e},i.value=function(a){return arguments.length?(n=typeof a=="function"?a:se(+a),i):n},i.order=function(a){return arguments.length?(t=a==null?nl:typeof a=="function"?a:se(Array.from(a)),i):t},i.offset=function(a){return arguments.length?(r=a??xr,i):r},i}function yb(e,t){if((n=e.length)>0){for(var r,n,i=0,a=e[0].length,o;i<a;++i){for(o=r=0;r<n;++r)o+=e[r][i][1]||0;if(o)for(r=0;r<n;++r)e[r][i][1]/=o}xr(e,t)}}function gb(e,t){if((i=e.length)>0){for(var r=0,n=e[t[0]],i,a=n.length;r<a;++r){for(var o=0,l=0;o<i;++o)l+=e[o][r][1]||0;n[r][1]+=n[r][0]=-l/2}xr(e,t)}}function bb(e,t){if(!(!((o=e.length)>0)||!((a=(i=e[t[0]]).length)>0))){for(var r=0,n=1,i,a,o;n<a;++n){for(var l=0,u=0,c=0;l<o;++l){for(var s=e[t[l]],f=s[n][1]||0,d=s[n-1][1]||0,h=(f-d)/2,p=0;p<l;++p){var m=e[t[p]],y=m[n][1]||0,g=m[n-1][1]||0;h+=y-g}u+=f,c+=h*f}i[n-1][1]+=i[n-1][0]=r,u&&(r-=c/u)}i[n-1][1]+=i[n-1][0]=r,xr(e,t)}}var vh=e=>"radius"in e&&"startAngle"in e&&"endAngle"in e,Zl=(e,t)=>{if(!e||typeof e=="function"||typeof e=="boolean")return null;var r=e;if(v.isValidElement(e)&&(r=e.props),typeof r!="object"&&typeof r!="function")return null;var n={};return Object.keys(r).forEach(i=>{Hl(i)&&typeof r[i]=="function"&&(n[i]=a=>r[i](r,a))}),n},xb=(e,t,r)=>n=>(e(t,r,n),null),hh=(e,t,r)=>{if(e===null||typeof e!="object"&&typeof e!="function")return null;var n=null;return Object.keys(e).forEach(i=>{var a=e[i];Hl(i)&&typeof a=="function"&&(n||(n={}),n[i]=xb(a,t,r))}),n};function rs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function wb(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?rs(Object(r),!0).forEach(function(n){Ab(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rs(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ab(e,t,r){return(t=Pb(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pb(e){var t=Ob(e,"string");return typeof t=="symbol"?t:t+""}function Ob(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function je(e,t){var r=wb({},e),n=t,i=Object.keys(t),a=i.reduce((o,l)=>(o[l]===void 0&&n[l]!==void 0&&(o[l]=n[l]),o),r);return a}function Sb(e,t){const r=new Map;for(let n=0;n<e.length;n++){const i=e[n],a=t(i,n,e);r.has(a)||r.set(a,i)}return Array.from(r.values())}function Eb(e,t){return function(...r){return e.apply(this,r.slice(0,t))}}function ph(e){return e}function Ib(e){return function(t){return Et(t,e)}}function il(e){return e==null||typeof e!="object"&&typeof e!="function"}function Cb(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function al(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function Dn(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const mh="[object RegExp]",Ql="[object String]",Jl="[object Number]",eu="[object Boolean]",yh="[object Arguments]",gh="[object Symbol]",bh="[object Date]",xh="[object Map]",wh="[object Set]",Ah="[object Array]",kb="[object Function]",Ph="[object ArrayBuffer]",Ci="[object Object]",_b="[object Error]",Oh="[object DataView]",Sh="[object Uint8Array]",Eh="[object Uint8ClampedArray]",Ih="[object Uint16Array]",Ch="[object Uint32Array]",jb="[object BigUint64Array]",kh="[object Int8Array]",_h="[object Int16Array]",jh="[object Int32Array]",Tb="[object BigInt64Array]",Th="[object Float32Array]",Dh="[object Float64Array]",ns=typeof globalThis=="object"&&globalThis||typeof window=="object"&&window||typeof self=="object"&&self||typeof global=="object"&&global||function(){return this}();function ol(e){return typeof ns.Buffer<"u"&&ns.Buffer.isBuffer(e)}function Db(e,t){return fr(e,void 0,e,new Map,t)}function fr(e,t,r,n=new Map,i=void 0){const a=i==null?void 0:i(e,t,r,n);if(a!==void 0)return a;if(il(e))return e;if(n.has(e))return n.get(e);if(Array.isArray(e)){const o=new Array(e.length);n.set(e,o);for(let l=0;l<e.length;l++)o[l]=fr(e[l],l,r,n,i);return Object.hasOwn(e,"index")&&(o.index=e.index),Object.hasOwn(e,"input")&&(o.input=e.input),o}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){const o=new RegExp(e.source,e.flags);return o.lastIndex=e.lastIndex,o}if(e instanceof Map){const o=new Map;n.set(e,o);for(const[l,u]of e)o.set(l,fr(u,l,r,n,i));return o}if(e instanceof Set){const o=new Set;n.set(e,o);for(const l of e)o.add(fr(l,void 0,r,n,i));return o}if(ol(e))return e.subarray();if(Cb(e)){const o=new(Object.getPrototypeOf(e)).constructor(e.length);n.set(e,o);for(let l=0;l<e.length;l++)o[l]=fr(e[l],l,r,n,i);return o}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){const o=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return n.set(e,o),ft(o,e,r,n,i),o}if(typeof File<"u"&&e instanceof File){const o=new File([e],e.name,{type:e.type});return n.set(e,o),ft(o,e,r,n,i),o}if(typeof Blob<"u"&&e instanceof Blob){const o=new Blob([e],{type:e.type});return n.set(e,o),ft(o,e,r,n,i),o}if(e instanceof Error){const o=structuredClone(e);return n.set(e,o),o.message=e.message,o.name=e.name,o.stack=e.stack,o.cause=e.cause,o.constructor=e.constructor,ft(o,e,r,n,i),o}if(e instanceof Boolean){const o=new Boolean(e.valueOf());return n.set(e,o),ft(o,e,r,n,i),o}if(e instanceof Number){const o=new Number(e.valueOf());return n.set(e,o),ft(o,e,r,n,i),o}if(e instanceof String){const o=new String(e.valueOf());return n.set(e,o),ft(o,e,r,n,i),o}if(typeof e=="object"&&Mb(e)){const o=Object.create(Object.getPrototypeOf(e));return n.set(e,o),ft(o,e,r,n,i),o}return e}function ft(e,t,r=e,n,i){const a=[...Object.keys(t),...al(t)];for(let o=0;o<a.length;o++){const l=a[o],u=Object.getOwnPropertyDescriptor(e,l);(u==null||u.writable)&&(e[l]=fr(t[l],l,r,n,i))}}function Mb(e){switch(Dn(e)){case yh:case Ah:case Ph:case Oh:case eu:case bh:case Th:case Dh:case kh:case _h:case jh:case xh:case Jl:case Ci:case mh:case wh:case Ql:case gh:case Sh:case Eh:case Ih:case Ch:return!0;default:return!1}}function $b(e){return fr(e,void 0,e,new Map,void 0)}function In(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function Mh(e){return e!==null&&(typeof e=="object"||typeof e=="function")}function $h(e,t,r){return typeof r!="function"?$h(e,t,()=>{}):ll(e,t,function n(i,a,o,l,u,c){const s=r(i,a,o,l,u,c);return s!==void 0?!!s:ll(i,a,n,c,!1)},new Map,!0)}function ll(e,t,r,n,i=!1){if(t===e)return!0;switch(typeof t){case"object":return Nb(e,t,r,n);case"function":return Object.keys(t).length>0?ll(e,{...t},r,n,i):In(e,t);default:return Mh(e)&&i?typeof t=="string"?t==="":!0:In(e,t)}}function Nb(e,t,r,n){if(t==null)return!0;if(Array.isArray(t))return Nh(e,t,r,n);if(t instanceof Map)return Lb(e,t,r,n);if(t instanceof Set)return Rb(e,t,r,n);const i=Object.keys(t);if(e==null||il(e))return i.length===0;if(i.length===0)return!0;if(n!=null&&n.has(t))return n.get(t)===e;n==null||n.set(t,e);try{for(let a=0;a<i.length;a++){const o=i[a];if(!il(e)&&!(o in e)||t[o]===void 0&&e[o]!==void 0||t[o]===null&&e[o]!==null||!r(e[o],t[o],o,e,t,n))return!1}return!0}finally{n==null||n.delete(t)}}function Lb(e,t,r,n){if(t.size===0)return!0;if(!(e instanceof Map))return!1;for(const[i,a]of t.entries())if(r(e.get(i),a,i,e,t,n)===!1)return!1;return!0}function Nh(e,t,r,n){if(t.length===0)return!0;if(!Array.isArray(e))return!1;const i=new Set;for(let a=0;a<t.length;a++){const o=t[a];let l=!1;for(let u=0;u<e.length;u++){if(i.has(u))continue;const c=e[u];let s=!1;if(r(c,o,a,e,t,n)&&(s=!0),s){i.add(u),l=!0;break}}if(!l)return!1}return!0}function Rb(e,t,r,n){return t.size===0?!0:e instanceof Set?Nh([...e],[...t],r,n):!1}function Lh(e,t){return $h(e,t,()=>{})}function zb(e){return e=$b(e),t=>Lh(t,e)}function Bb(e,t){return Db(e,(r,n,i,a)=>{if(typeof e=="object"){if(Dn(e)==="[object Object]"&&typeof e.constructor!="function"){const o={};return a.set(e,o),ft(o,e,i,a),o}switch(Object.prototype.toString.call(e)){case Jl:case Ql:case eu:{const o=new e.constructor(e==null?void 0:e.valueOf());return ft(o,e),o}case yh:{const o={};return ft(o,e),o.length=e.length,o[Symbol.iterator]=e[Symbol.iterator],o}default:return}}})}function Wb(e){return Bb(e)}const Fb=/^(?:0|[1-9]\d*)$/;function Rh(e,t=Number.MAX_SAFE_INTEGER){switch(typeof e){case"number":return Number.isInteger(e)&&e>=0&&e<t;case"symbol":return!1;case"string":return Fb.test(e)}}function Kb(e){return e!==null&&typeof e=="object"&&Dn(e)==="[object Arguments]"}function Ub(e,t){let r;if(Array.isArray(t)?r=t:typeof t=="string"&&qv(t)&&(e==null?void 0:e[t])==null?r=Vl(t):r=[t],r.length===0)return!1;let n=e;for(let i=0;i<r.length;i++){const a=r[i];if((n==null||!Object.hasOwn(n,a))&&!((Array.isArray(n)||Kb(n))&&Rh(a)&&a<n.length))return!1;n=n[a]}return!0}function Hb(e,t){switch(typeof e){case"object":Object.is(e==null?void 0:e.valueOf(),-0)&&(e="-0");break;case"number":e=Yl(e);break}return t=Wb(t),function(r){const n=Et(r,e);return n===void 0?Ub(r,e):t===void 0?n===void 0:Lh(n,t)}}function Yb(e){if(e==null)return ph;switch(typeof e){case"function":return e;case"object":return Array.isArray(e)&&e.length===2?Hb(e[0],e[1]):zb(e);case"string":case"symbol":case"number":return Ib(e)}}function Vb(e){return Number.isSafeInteger(e)&&e>=0}function zh(e){return e!=null&&typeof e!="function"&&Vb(e.length)}function Gb(e){return typeof e=="object"&&e!==null}function qb(e){return Gb(e)&&zh(e)}function is(e,t=ph){return qb(e)?Sb(Array.from(e),Eb(Yb(t),1)):[]}function Xb(e,t,r){return t===!0?is(e,r):typeof t=="function"?is(e,t):e}var tu=v.createContext(null),Zb=e=>e,re=()=>{var e=v.useContext(tu);return e?e.store.dispatch:Zb},ki=()=>{},Qb=()=>ki,Jb=(e,t)=>e===t;function N(e){var t=v.useContext(tu),r=v.useMemo(()=>t?n=>{if(n!=null)return e(n)}:ki,[t,e]);return _0.useSyncExternalStoreWithSelector(t?t.subscription.addNestedSub:Qb,t?t.store.getState:ki,t?t.store.getState:ki,r,Jb)}function ex(e,t=1){const r=[],n=Math.floor(t),i=(a,o)=>{for(let l=0;l<a.length;l++){const u=a[l];Array.isArray(u)&&o<n?i(u,o+1):r.push(u)}};return i(e,0),r}function ul(e,t,r){return Mh(r)&&(typeof t=="number"&&zh(r)&&Rh(t)&&t<r.length||typeof t=="string"&&t in r)?In(r[t],e):!1}function as(e){return typeof e=="symbol"?1:e===null?2:e===void 0?3:e!==e?4:0}const tx=(e,t,r)=>{if(e!==t){const n=as(e),i=as(t);if(n===i&&n===0){if(e<t)return r==="desc"?1:-1;if(e>t)return r==="desc"?-1:1}return r==="desc"?i-n:n-i}return 0};function Bh(e){return typeof e=="symbol"||e instanceof Symbol}const rx=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nx=/^\w*$/;function ix(e,t){return Array.isArray(e)?!1:typeof e=="number"||typeof e=="boolean"||e==null||Bh(e)?!0:typeof e=="string"&&(nx.test(e)||!rx.test(e))||t!=null}function ax(e,t,r,n){if(e==null)return[];r=r,Array.isArray(e)||(e=Object.values(e)),Array.isArray(t)||(t=t==null?[null]:[t]),t.length===0&&(t=[null]),Array.isArray(r)||(r=r==null?[]:[r]),r=r.map(l=>String(l));const i=(l,u)=>{let c=l;for(let s=0;s<u.length&&c!=null;++s)c=c[u[s]];return c},a=(l,u)=>u==null||l==null?u:typeof l=="object"&&"key"in l?Object.hasOwn(u,l.key)?u[l.key]:i(u,l.path):typeof l=="function"?l(u):Array.isArray(l)?i(u,l):typeof u=="object"?u[l]:u,o=t.map(l=>(Array.isArray(l)&&l.length===1&&(l=l[0]),l==null||typeof l=="function"||Array.isArray(l)||ix(l)?l:{key:l,path:Vl(l)}));return e.map(l=>({original:l,criteria:o.map(u=>a(u,l))})).slice().sort((l,u)=>{for(let c=0;c<o.length;c++){const s=tx(l.criteria[c],u.criteria[c],r[c]);if(s!==0)return s}return 0}).map(l=>l.original)}function Ia(e,...t){const r=t.length;return r>1&&ul(e,t[0],t[1])?t=[]:r>2&&ul(t[0],t[1],t[2])&&(t=[t[0]]),ax(e,ex(t),["asc"])}var Wh=e=>e.legend.settings,ox=e=>e.legend.size,lx=e=>e.legend.payload;O([lx,Wh],(e,t)=>{var r=t.itemSorter,n=e.flat(1);return r?Ia(n,r):n});function ux(e,t){return dx(e)||fx(e,t)||sx(e,t)||cx()}function cx(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1
|
+
var C0=Object.defineProperty;var k0=(e,t,r)=>t in e?C0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var di=(e,t,r)=>k0(e,typeof t!="symbol"?t+"":t,r);import{r as v,w as _0,c as O,a as Uv,g as j0,R as T0}from"./base-ui-Bj5tb_Ph.js";function Hv(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=Hv(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Q(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=Hv(e))&&(n&&(n+=" "),n+=t);return n}var D0=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"];function Hl(e){if(typeof e!="string")return!1;var t=D0;return t.includes(e)}var M0=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],$0=new Set(M0);function Yv(e){return typeof e!="string"?!1:$0.has(e)}function Vv(e){return typeof e=="string"&&e.startsWith("data-")}function Ue(e){if(typeof e!="object"||e===null)return{};var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(Yv(r)||Vv(r))&&(t[r]=e[r]);return t}function Hr(e){if(e==null)return null;if(v.isValidElement(e)&&typeof e.props=="object"&&e.props!==null){var t=e.props;return Ue(t)}return typeof e=="object"&&!Array.isArray(e)?Ue(e):null}function Qe(e){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(Yv(r)||Vv(r)||Hl(r))&&(t[r]=e[r]);return t}function N0(e){return e==null?null:v.isValidElement(e)?Qe(e.props):typeof e=="object"&&!Array.isArray(e)?Qe(e):null}var L0=["children","width","height","viewBox","className","style","title","desc"];function Qo(){return Qo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qo.apply(null,arguments)}function R0(e,t){if(e==null)return{};var r,n,i=z0(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function z0(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var Gv=v.forwardRef((e,t)=>{var r=e.children,n=e.width,i=e.height,a=e.viewBox,o=e.className,l=e.style,u=e.title,c=e.desc,s=R0(e,L0),f=a||{width:n,height:i,x:0,y:0},d=Q("recharts-surface",o);return v.createElement("svg",Qo({},Qe(s),{className:d,width:n,height:i,style:l,viewBox:"".concat(f.x," ").concat(f.y," ").concat(f.width," ").concat(f.height),ref:t}),v.createElement("title",null,u),v.createElement("desc",null,c),r)}),B0=["children","className"];function Jo(){return Jo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Jo.apply(null,arguments)}function W0(e,t){if(e==null)return{};var r,n,i=F0(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function F0(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var ge=v.forwardRef((e,t)=>{var r=e.children,n=e.className,i=W0(e,B0),a=Q("recharts-layer",n);return v.createElement("g",Jo({className:a},Qe(i),{ref:t}),r)});function el(e){return e==="__proto__"}function qv(e){switch(typeof e){case"number":case"symbol":return!1;case"string":return e.includes(".")||e.includes("[")||e.includes("]")}}function Yl(e){var t;return typeof e=="string"||typeof e=="symbol"?e:Object.is((t=e==null?void 0:e.valueOf)==null?void 0:t.call(e),-0)?"-0":String(e)}function Xv(e){if(e==null)return"";if(typeof e=="string")return e;if(Array.isArray(e))return e.map(Xv).join(",");const t=String(e);return t==="0"&&Object.is(Number(e),-0)?"-0":t}function Vl(e){if(Array.isArray(e))return e.map(Yl);if(typeof e=="symbol")return[e];e=Xv(e);const t=[],r=e.length;if(r===0)return t;let n=0,i="",a="",o=!1;for(e.charCodeAt(0)===46&&t.push("");n<r;){const l=e[n];if(a)l==="\\"&&n+1<r?(n++,i+=e[n]):l===a?a="":i+=l;else if(o)l==='"'||l==="'"?a=l:l==="]"?(o=!1,t.push(i),i=""):i+=l;else if(l==="[")o=!0,i&&(t.push(i),i="");else if(l==="."){i&&(t.push(i),i="");const u=e[n+1];(u===void 0||u===".")&&t.push("")}else i+=l;n++}return i&&t.push(i),t}function Et(e,t,r){if(e==null)return r;switch(typeof t){case"string":{if(el(t))return r;const n=e[t];return n===void 0?qv(t)&&!Object.hasOwn(e,t)?Et(e,Vl(t),r):r:n}case"number":case"symbol":{typeof t=="number"&&(t=Yl(t));const n=e[t];return n===void 0?r:n}default:{if(Array.isArray(t))return K0(e,t,r);if(Object.is(t==null?void 0:t.valueOf(),-0)?t="-0":t=String(t),el(t))return r;const n=e[t];return n===void 0?r:n}}}function K0(e,t,r){if(t.length===0)return r;let n=e;for(let i=0;i<t.length;i++){if(n==null||el(t[i]))return r;n=n[t[i]]}return n===void 0?r:n}var U0=4;function Dt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:U0,r=10**t,n=Math.round(e*r)/r;return Object.is(n,-0)?0:n}function ke(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e.reduce((i,a,o)=>{var l=r[o-1];return typeof l=="string"?i+l+a:l!==void 0?i+Dt(l)+a:i+a},"")}var $e=e=>e===0?0:e>0?1:-1,It=e=>typeof e=="number"&&e!=+e,br=e=>typeof e=="string"&&e.length>1&&e.indexOf("%")===e.length-1,D=e=>(typeof e=="number"||e instanceof Number)&&!It(e),Ct=e=>D(e)||typeof e=="string",H0=0,Tn=e=>{var t=++H0;return"".concat(e||"").concat(t)},Xe=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!D(t)&&typeof t!="string")return n;var a;if(br(t)){if(r==null)return n;var o=t.indexOf("%");a=r*parseFloat(t.slice(0,o))/100}else a=+t;return It(a)&&(a=n),i&&r!=null&&a>r&&(a=r),a},Zv=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,r={},n=0;n<t;n++)if(!r[String(e[n])])r[String(e[n])]=!0;else return!0;return!1};function ze(e,t,r){return D(e)&&D(t)?Dt(e+r*(t-e)):t}function Qv(e,t,r){if(!(!e||!e.length))return e.find(n=>n&&(typeof t=="function"?t(n):Et(n,t))===r)}var pe=e=>e===null||typeof e>"u",Gl=e=>pe(e)?e:"".concat(e.charAt(0).toUpperCase()).concat(e.slice(1));function Be(e){return e!=null}function Er(){}function ql(e){if(e)return{x:e.x,y:e.y,upperWidth:"upperWidth"in e?e.upperWidth:e.width,lowerWidth:"lowerWidth"in e?e.lowerWidth:e.width,width:e.width,height:e.height}}function Zc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function gt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Zc(Object(r),!0).forEach(function(n){Y0(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Y0(e,t,r){return(t=V0(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function V0(e){var t=G0(e,"string");return typeof t=="symbol"?t:t+""}function G0(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var q0=e=>{var t=e.viewBox,r=e.position,n=e.offset,i=n===void 0?0:n,a=e.parentViewBox,o=ql(t),l=o.x,u=o.y,c=o.height,s=o.upperWidth,f=o.lowerWidth,d=l,h=l+(s-f)/2,p=(d+h)/2,m=(s+f)/2,y=d+s/2,g=c>=0?1:-1,x=g*i,w=g>0?"end":"start",A=g>0?"start":"end",P=s>=0?1:-1,b=P*i,S=P>0?"end":"start",I=P>0?"start":"end",C=a;if(r==="top"){var k={x:d+s/2,y:u-x,horizontalAnchor:"middle",verticalAnchor:w};return C&&(k.height=Math.max(u-C.y,0),k.width=s),k}if(r==="bottom"){var _={x:h+f/2,y:u+c+x,horizontalAnchor:"middle",verticalAnchor:A};return C&&(_.height=Math.max(C.y+C.height-(u+c),0),_.width=f),_}if(r==="left"){var E={x:p-b,y:u+c/2,horizontalAnchor:S,verticalAnchor:"middle"};return C&&(E.width=Math.max(E.x-C.x,0),E.height=c),E}if(r==="right"){var L={x:p+m+b,y:u+c/2,horizontalAnchor:I,verticalAnchor:"middle"};return C&&(L.width=Math.max(C.x+C.width-L.x,0),L.height=c),L}var T=C?{width:m,height:c}:{};return r==="insideLeft"?gt({x:p+b,y:u+c/2,horizontalAnchor:I,verticalAnchor:"middle"},T):r==="insideRight"?gt({x:p+m-b,y:u+c/2,horizontalAnchor:S,verticalAnchor:"middle"},T):r==="insideTop"?gt({x:d+s/2,y:u+x,horizontalAnchor:"middle",verticalAnchor:A},T):r==="insideBottom"?gt({x:h+f/2,y:u+c-x,horizontalAnchor:"middle",verticalAnchor:w},T):r==="insideTopLeft"?gt({x:d+b,y:u+x,horizontalAnchor:I,verticalAnchor:A},T):r==="insideTopRight"?gt({x:d+s-b,y:u+x,horizontalAnchor:S,verticalAnchor:A},T):r==="insideBottomLeft"?gt({x:h+b,y:u+c-x,horizontalAnchor:I,verticalAnchor:w},T):r==="insideBottomRight"?gt({x:h+f-b,y:u+c-x,horizontalAnchor:S,verticalAnchor:w},T):r&&typeof r=="object"&&(D(r.x)||br(r.x))&&(D(r.y)||br(r.y))?gt({x:l+Xe(r.x,m),y:u+Xe(r.y,c),horizontalAnchor:"end",verticalAnchor:"end"},T):gt({x:y,y:u+c/2,horizontalAnchor:"middle",verticalAnchor:"middle"},T)},X0=["top","left","right","bottom"];function Z0(e){return e==null?!1:typeof e=="object"?!0:X0.includes(e)}var Q0=v.createContext(null);function se(e){return function(){return e}}const tl=Math.PI,rl=2*tl,ur=1e-6,J0=rl-ur;function Jv(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}function eb(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Jv;const r=10**t;return function(n){this._+=n[0];for(let i=1,a=n.length;i<a;++i)this._+=Math.round(arguments[i]*r)/r+n[i]}}class tb{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?Jv:eb(t)}moveTo(t,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,r){this._append`L${this._x1=+t},${this._y1=+r}`}quadraticCurveTo(t,r,n,i){this._append`Q${+t},${+r},${this._x1=+n},${this._y1=+i}`}bezierCurveTo(t,r,n,i,a,o){this._append`C${+t},${+r},${+n},${+i},${this._x1=+a},${this._y1=+o}`}arcTo(t,r,n,i,a){if(t=+t,r=+r,n=+n,i=+i,a=+a,a<0)throw new Error(`negative radius: ${a}`);let o=this._x1,l=this._y1,u=n-t,c=i-r,s=o-t,f=l-r,d=s*s+f*f;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(d>ur)if(!(Math.abs(f*u-c*s)>ur)||!a)this._append`L${this._x1=t},${this._y1=r}`;else{let h=n-o,p=i-l,m=u*u+c*c,y=h*h+p*p,g=Math.sqrt(m),x=Math.sqrt(d),w=a*Math.tan((tl-Math.acos((m+d-y)/(2*g*x)))/2),A=w/x,P=w/g;Math.abs(A-1)>ur&&this._append`L${t+A*s},${r+A*f}`,this._append`A${a},${a},0,0,${+(f*h>s*p)},${this._x1=t+P*u},${this._y1=r+P*c}`}}arc(t,r,n,i,a,o){if(t=+t,r=+r,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let l=n*Math.cos(i),u=n*Math.sin(i),c=t+l,s=r+u,f=1^o,d=o?i-a:a-i;this._x1===null?this._append`M${c},${s}`:(Math.abs(this._x1-c)>ur||Math.abs(this._y1-s)>ur)&&this._append`L${c},${s}`,n&&(d<0&&(d=d%rl+rl),d>J0?this._append`A${n},${n},0,1,${f},${t-l},${r-u}A${n},${n},0,1,${f},${this._x1=c},${this._y1=s}`:d>ur&&this._append`A${n},${n},0,${+(d>=tl)},${f},${this._x1=t+n*Math.cos(a)},${this._y1=r+n*Math.sin(a)}`)}rect(t,r,n,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}}function eh(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);t=n}return e},()=>new tb(t)}function Xl(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function th(e){this._context=e}th.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function Sa(e){return new th(e)}function rh(e){return e[0]}function nh(e){return e[1]}function ih(e,t){var r=se(!0),n=null,i=Sa,a=null,o=eh(l);e=typeof e=="function"?e:e===void 0?rh:se(e),t=typeof t=="function"?t:t===void 0?nh:se(t);function l(u){var c,s=(u=Xl(u)).length,f,d=!1,h;for(n==null&&(a=i(h=o())),c=0;c<=s;++c)!(c<s&&r(f=u[c],c,u))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(f,c,u),+t(f,c,u));if(h)return a=null,h+""||null}return l.x=function(u){return arguments.length?(e=typeof u=="function"?u:se(+u),l):e},l.y=function(u){return arguments.length?(t=typeof u=="function"?u:se(+u),l):t},l.defined=function(u){return arguments.length?(r=typeof u=="function"?u:se(!!u),l):r},l.curve=function(u){return arguments.length?(i=u,n!=null&&(a=i(n)),l):i},l.context=function(u){return arguments.length?(u==null?n=a=null:a=i(n=u),l):n},l}function vi(e,t,r){var n=null,i=se(!0),a=null,o=Sa,l=null,u=eh(c);e=typeof e=="function"?e:e===void 0?rh:se(+e),t=typeof t=="function"?t:se(t===void 0?0:+t),r=typeof r=="function"?r:r===void 0?nh:se(+r);function c(f){var d,h,p,m=(f=Xl(f)).length,y,g=!1,x,w=new Array(m),A=new Array(m);for(a==null&&(l=o(x=u())),d=0;d<=m;++d){if(!(d<m&&i(y=f[d],d,f))===g)if(g=!g)h=d,l.areaStart(),l.lineStart();else{for(l.lineEnd(),l.lineStart(),p=d-1;p>=h;--p)l.point(w[p],A[p]);l.lineEnd(),l.areaEnd()}g&&(w[d]=+e(y,d,f),A[d]=+t(y,d,f),l.point(n?+n(y,d,f):w[d],r?+r(y,d,f):A[d]))}if(x)return l=null,x+""||null}function s(){return ih().defined(i).curve(o).context(a)}return c.x=function(f){return arguments.length?(e=typeof f=="function"?f:se(+f),n=null,c):e},c.x0=function(f){return arguments.length?(e=typeof f=="function"?f:se(+f),c):e},c.x1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:se(+f),c):n},c.y=function(f){return arguments.length?(t=typeof f=="function"?f:se(+f),r=null,c):t},c.y0=function(f){return arguments.length?(t=typeof f=="function"?f:se(+f),c):t},c.y1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:se(+f),c):r},c.lineX0=c.lineY0=function(){return s().x(e).y(t)},c.lineY1=function(){return s().x(e).y(r)},c.lineX1=function(){return s().x(n).y(t)},c.defined=function(f){return arguments.length?(i=typeof f=="function"?f:se(!!f),c):i},c.curve=function(f){return arguments.length?(o=f,a!=null&&(l=o(a)),c):o},c.context=function(f){return arguments.length?(f==null?a=l=null:l=o(a=f),c):a},c}class ah{constructor(t,r){this._context=t,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,r){switch(t=+t,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,r,t,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,t,this._y0,t,r);break}}this._x0=t,this._y0=r}}function rb(e){return new ah(e,!0)}function nb(e){return new ah(e,!1)}function Di(){}function Mi(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function oh(e){this._context=e}oh.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Mi(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Mi(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function ib(e){return new oh(e)}function lh(e){this._context=e}lh.prototype={areaStart:Di,areaEnd:Di,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Mi(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function ab(e){return new lh(e)}function uh(e){this._context=e}uh.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:Mi(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function ob(e){return new uh(e)}function ch(e){this._context=e}ch.prototype={areaStart:Di,areaEnd:Di,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function lb(e){return new ch(e)}function Qc(e){return e<0?-1:1}function Jc(e,t,r){var n=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(n||i<0&&-0),o=(r-e._y1)/(i||n<0&&-0),l=(a*i+o*n)/(n+i);return(Qc(a)+Qc(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(l))||0}function es(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function Eo(e,t,r){var n=e._x0,i=e._y0,a=e._x1,o=e._y1,l=(a-n)/3;e._context.bezierCurveTo(n+l,i+l*t,a-l,o-l*r,a,o)}function $i(e){this._context=e}$i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Eo(this,this._t0,es(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Eo(this,es(this,r=Jc(this,e,t)),r);break;default:Eo(this,this._t0,r=Jc(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function sh(e){this._context=new fh(e)}(sh.prototype=Object.create($i.prototype)).point=function(e,t){$i.prototype.point.call(this,t,e)};function fh(e){this._context=e}fh.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,a){this._context.bezierCurveTo(t,e,n,r,a,i)}};function ub(e){return new $i(e)}function cb(e){return new sh(e)}function dh(e){this._context=e}dh.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),r===2)this._context.lineTo(e[1],t[1]);else for(var n=ts(e),i=ts(t),a=0,o=1;o<r;++a,++o)this._context.bezierCurveTo(n[0][a],i[0][a],n[1][a],i[1][a],e[o],t[o]);(this._line||this._line!==0&&r===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function ts(e){var t,r=e.length-1,n,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,a[r-1]=7,o[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/a[t-1],a[t]-=n,o[t]-=n*o[t-1];for(i[r-1]=o[r-1]/a[r-1],t=r-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function sb(e){return new dh(e)}function Ea(e,t){this._context=e,this._t=t}Ea.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}break}}this._x=e,this._y=t}};function fb(e){return new Ea(e,.5)}function db(e){return new Ea(e,0)}function vb(e){return new Ea(e,1)}function xr(e,t){if((o=e.length)>1)for(var r=1,n,i,a=e[t[0]],o,l=a.length;r<o;++r)for(i=a,a=e[t[r]],n=0;n<l;++n)a[n][1]+=a[n][0]=isNaN(i[n][1])?i[n][0]:i[n][1]}function nl(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function hb(e,t){return e[t]}function pb(e){const t=[];return t.key=e,t}function mb(){var e=se([]),t=nl,r=xr,n=hb;function i(a){var o=Array.from(e.apply(this,arguments),pb),l,u=o.length,c=-1,s;for(const f of a)for(l=0,++c;l<u;++l)(o[l][c]=[0,+n(f,o[l].key,c,a)]).data=f;for(l=0,s=Xl(t(o));l<u;++l)o[s[l]].index=l;return r(o,s),o}return i.keys=function(a){return arguments.length?(e=typeof a=="function"?a:se(Array.from(a)),i):e},i.value=function(a){return arguments.length?(n=typeof a=="function"?a:se(+a),i):n},i.order=function(a){return arguments.length?(t=a==null?nl:typeof a=="function"?a:se(Array.from(a)),i):t},i.offset=function(a){return arguments.length?(r=a??xr,i):r},i}function yb(e,t){if((n=e.length)>0){for(var r,n,i=0,a=e[0].length,o;i<a;++i){for(o=r=0;r<n;++r)o+=e[r][i][1]||0;if(o)for(r=0;r<n;++r)e[r][i][1]/=o}xr(e,t)}}function gb(e,t){if((i=e.length)>0){for(var r=0,n=e[t[0]],i,a=n.length;r<a;++r){for(var o=0,l=0;o<i;++o)l+=e[o][r][1]||0;n[r][1]+=n[r][0]=-l/2}xr(e,t)}}function bb(e,t){if(!(!((o=e.length)>0)||!((a=(i=e[t[0]]).length)>0))){for(var r=0,n=1,i,a,o;n<a;++n){for(var l=0,u=0,c=0;l<o;++l){for(var s=e[t[l]],f=s[n][1]||0,d=s[n-1][1]||0,h=(f-d)/2,p=0;p<l;++p){var m=e[t[p]],y=m[n][1]||0,g=m[n-1][1]||0;h+=y-g}u+=f,c+=h*f}i[n-1][1]+=i[n-1][0]=r,u&&(r-=c/u)}i[n-1][1]+=i[n-1][0]=r,xr(e,t)}}var vh=e=>"radius"in e&&"startAngle"in e&&"endAngle"in e,Zl=(e,t)=>{if(!e||typeof e=="function"||typeof e=="boolean")return null;var r=e;if(v.isValidElement(e)&&(r=e.props),typeof r!="object"&&typeof r!="function")return null;var n={};return Object.keys(r).forEach(i=>{Hl(i)&&typeof r[i]=="function"&&(n[i]=a=>r[i](r,a))}),n},xb=(e,t,r)=>n=>(e(t,r,n),null),hh=(e,t,r)=>{if(e===null||typeof e!="object"&&typeof e!="function")return null;var n=null;return Object.keys(e).forEach(i=>{var a=e[i];Hl(i)&&typeof a=="function"&&(n||(n={}),n[i]=xb(a,t,r))}),n};function rs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function wb(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?rs(Object(r),!0).forEach(function(n){Ab(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rs(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ab(e,t,r){return(t=Pb(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pb(e){var t=Ob(e,"string");return typeof t=="symbol"?t:t+""}function Ob(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function je(e,t){var r=wb({},e),n=t,i=Object.keys(t),a=i.reduce((o,l)=>(o[l]===void 0&&n[l]!==void 0&&(o[l]=n[l]),o),r);return a}function Sb(e,t){const r=new Map;for(let n=0;n<e.length;n++){const i=e[n],a=t(i,n,e);r.has(a)||r.set(a,i)}return Array.from(r.values())}function Eb(e,t){return function(...r){return e.apply(this,r.slice(0,t))}}function ph(e){return e}function Ib(e){return function(t){return Et(t,e)}}function il(e){return e==null||typeof e!="object"&&typeof e!="function"}function Cb(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function al(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function Dn(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const mh="[object RegExp]",Ql="[object String]",Jl="[object Number]",eu="[object Boolean]",yh="[object Arguments]",gh="[object Symbol]",bh="[object Date]",xh="[object Map]",wh="[object Set]",Ah="[object Array]",kb="[object Function]",Ph="[object ArrayBuffer]",Ci="[object Object]",_b="[object Error]",Oh="[object DataView]",Sh="[object Uint8Array]",Eh="[object Uint8ClampedArray]",Ih="[object Uint16Array]",Ch="[object Uint32Array]",jb="[object BigUint64Array]",kh="[object Int8Array]",_h="[object Int16Array]",jh="[object Int32Array]",Tb="[object BigInt64Array]",Th="[object Float32Array]",Dh="[object Float64Array]",ns=typeof globalThis=="object"&&globalThis||typeof window=="object"&&window||typeof self=="object"&&self||typeof global=="object"&&global||function(){return this}();function ol(e){return typeof ns.Buffer<"u"&&ns.Buffer.isBuffer(e)}function Db(e,t){return fr(e,void 0,e,new Map,t)}function fr(e,t,r,n=new Map,i=void 0){const a=i==null?void 0:i(e,t,r,n);if(a!==void 0)return a;if(il(e))return e;if(n.has(e))return n.get(e);if(Array.isArray(e)){const o=new Array(e.length);n.set(e,o);for(let l=0;l<e.length;l++)o[l]=fr(e[l],l,r,n,i);return Object.hasOwn(e,"index")&&(o.index=e.index),Object.hasOwn(e,"input")&&(o.input=e.input),o}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){const o=new RegExp(e.source,e.flags);return o.lastIndex=e.lastIndex,o}if(e instanceof Map){const o=new Map;n.set(e,o);for(const[l,u]of e)o.set(l,fr(u,l,r,n,i));return o}if(e instanceof Set){const o=new Set;n.set(e,o);for(const l of e)o.add(fr(l,void 0,r,n,i));return o}if(ol(e))return e.subarray();if(Cb(e)){const o=new(Object.getPrototypeOf(e)).constructor(e.length);n.set(e,o);for(let l=0;l<e.length;l++)o[l]=fr(e[l],l,r,n,i);return o}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){const o=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return n.set(e,o),ft(o,e,r,n,i),o}if(typeof File<"u"&&e instanceof File){const o=new File([e],e.name,{type:e.type});return n.set(e,o),ft(o,e,r,n,i),o}if(typeof Blob<"u"&&e instanceof Blob){const o=new Blob([e],{type:e.type});return n.set(e,o),ft(o,e,r,n,i),o}if(e instanceof Error){const o=structuredClone(e);return n.set(e,o),o.message=e.message,o.name=e.name,o.stack=e.stack,o.cause=e.cause,o.constructor=e.constructor,ft(o,e,r,n,i),o}if(e instanceof Boolean){const o=new Boolean(e.valueOf());return n.set(e,o),ft(o,e,r,n,i),o}if(e instanceof Number){const o=new Number(e.valueOf());return n.set(e,o),ft(o,e,r,n,i),o}if(e instanceof String){const o=new String(e.valueOf());return n.set(e,o),ft(o,e,r,n,i),o}if(typeof e=="object"&&Mb(e)){const o=Object.create(Object.getPrototypeOf(e));return n.set(e,o),ft(o,e,r,n,i),o}return e}function ft(e,t,r=e,n,i){const a=[...Object.keys(t),...al(t)];for(let o=0;o<a.length;o++){const l=a[o],u=Object.getOwnPropertyDescriptor(e,l);(u==null||u.writable)&&(e[l]=fr(t[l],l,r,n,i))}}function Mb(e){switch(Dn(e)){case yh:case Ah:case Ph:case Oh:case eu:case bh:case Th:case Dh:case kh:case _h:case jh:case xh:case Jl:case Ci:case mh:case wh:case Ql:case gh:case Sh:case Eh:case Ih:case Ch:return!0;default:return!1}}function $b(e){return fr(e,void 0,e,new Map,void 0)}function In(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function Mh(e){return e!==null&&(typeof e=="object"||typeof e=="function")}function $h(e,t,r){return typeof r!="function"?$h(e,t,()=>{}):ll(e,t,function n(i,a,o,l,u,c){const s=r(i,a,o,l,u,c);return s!==void 0?!!s:ll(i,a,n,c,!1)},new Map,!0)}function ll(e,t,r,n,i=!1){if(t===e)return!0;switch(typeof t){case"object":return Nb(e,t,r,n);case"function":return Object.keys(t).length>0?ll(e,{...t},r,n,i):In(e,t);default:return Mh(e)&&i?typeof t=="string"?t==="":!0:In(e,t)}}function Nb(e,t,r,n){if(t==null)return!0;if(Array.isArray(t))return Nh(e,t,r,n);if(t instanceof Map)return Lb(e,t,r,n);if(t instanceof Set)return Rb(e,t,r,n);const i=Object.keys(t);if(e==null||il(e))return i.length===0;if(i.length===0)return!0;if(n!=null&&n.has(t))return n.get(t)===e;n==null||n.set(t,e);try{for(let a=0;a<i.length;a++){const o=i[a];if(!il(e)&&!(o in e)||t[o]===void 0&&e[o]!==void 0||t[o]===null&&e[o]!==null||!r(e[o],t[o],o,e,t,n))return!1}return!0}finally{n==null||n.delete(t)}}function Lb(e,t,r,n){if(t.size===0)return!0;if(!(e instanceof Map))return!1;for(const[i,a]of t.entries())if(r(e.get(i),a,i,e,t,n)===!1)return!1;return!0}function Nh(e,t,r,n){if(t.length===0)return!0;if(!Array.isArray(e))return!1;const i=new Set;for(let a=0;a<t.length;a++){const o=t[a];let l=!1;for(let u=0;u<e.length;u++){if(i.has(u))continue;const c=e[u];let s=!1;if(r(c,o,a,e,t,n)&&(s=!0),s){i.add(u),l=!0;break}}if(!l)return!1}return!0}function Rb(e,t,r,n){return t.size===0?!0:e instanceof Set?Nh([...e],[...t],r,n):!1}function Lh(e,t){return $h(e,t,()=>{})}function zb(e){return e=$b(e),t=>Lh(t,e)}function Bb(e,t){return Db(e,(r,n,i,a)=>{if(typeof e=="object"){if(Dn(e)==="[object Object]"&&typeof e.constructor!="function"){const o={};return a.set(e,o),ft(o,e,i,a),o}switch(Object.prototype.toString.call(e)){case Jl:case Ql:case eu:{const o=new e.constructor(e==null?void 0:e.valueOf());return ft(o,e),o}case yh:{const o={};return ft(o,e),o.length=e.length,o[Symbol.iterator]=e[Symbol.iterator],o}default:return}}})}function Wb(e){return Bb(e)}const Fb=/^(?:0|[1-9]\d*)$/;function Rh(e,t=Number.MAX_SAFE_INTEGER){switch(typeof e){case"number":return Number.isInteger(e)&&e>=0&&e<t;case"symbol":return!1;case"string":return Fb.test(e)}}function Kb(e){return e!==null&&typeof e=="object"&&Dn(e)==="[object Arguments]"}function Ub(e,t){let r;if(Array.isArray(t)?r=t:typeof t=="string"&&qv(t)&&(e==null?void 0:e[t])==null?r=Vl(t):r=[t],r.length===0)return!1;let n=e;for(let i=0;i<r.length;i++){const a=r[i];if((n==null||!Object.hasOwn(n,a))&&!((Array.isArray(n)||Kb(n))&&Rh(a)&&a<n.length))return!1;n=n[a]}return!0}function Hb(e,t){switch(typeof e){case"object":Object.is(e==null?void 0:e.valueOf(),-0)&&(e="-0");break;case"number":e=Yl(e);break}return t=Wb(t),function(r){const n=Et(r,e);return n===void 0?Ub(r,e):t===void 0?n===void 0:Lh(n,t)}}function Yb(e){if(e==null)return ph;switch(typeof e){case"function":return e;case"object":return Array.isArray(e)&&e.length===2?Hb(e[0],e[1]):zb(e);case"string":case"symbol":case"number":return Ib(e)}}function Vb(e){return Number.isSafeInteger(e)&&e>=0}function zh(e){return e!=null&&typeof e!="function"&&Vb(e.length)}function Gb(e){return typeof e=="object"&&e!==null}function qb(e){return Gb(e)&&zh(e)}function is(e,t=ph){return qb(e)?Sb(Array.from(e),Eb(Yb(t),1)):[]}function Xb(e,t,r){return t===!0?is(e,r):typeof t=="function"?is(e,t):e}var tu=v.createContext(null),Zb=e=>e,re=()=>{var e=v.useContext(tu);return e?e.store.dispatch:Zb},ki=()=>{},Qb=()=>ki,Jb=(e,t)=>e===t;function N(e){var t=v.useContext(tu),r=v.useMemo(()=>t?n=>{if(n!=null)return e(n)}:ki,[t,e]);return _0.useSyncExternalStoreWithSelector(t?t.subscription.addNestedSub:Qb,t?t.store.getState:ki,t?t.store.getState:ki,r,Jb)}function ex(e,t=1){const r=[],n=Math.floor(t),i=(a,o)=>{for(let l=0;l<a.length;l++){const u=a[l];Array.isArray(u)&&o<n?i(u,o+1):r.push(u)}};return i(e,0),r}function ul(e,t,r){return Mh(r)&&(typeof t=="number"&&zh(r)&&Rh(t)&&t<r.length||typeof t=="string"&&t in r)?In(r[t],e):!1}function as(e){return typeof e=="symbol"?1:e===null?2:e===void 0?3:e!==e?4:0}const tx=(e,t,r)=>{if(e!==t){const n=as(e),i=as(t);if(n===i&&n===0){if(e<t)return r==="desc"?1:-1;if(e>t)return r==="desc"?-1:1}return r==="desc"?i-n:n-i}return 0};function Bh(e){return typeof e=="symbol"||e instanceof Symbol}const rx=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nx=/^\w*$/;function ix(e,t){return Array.isArray(e)?!1:typeof e=="number"||typeof e=="boolean"||e==null||Bh(e)?!0:typeof e=="string"&&(nx.test(e)||!rx.test(e))||t!=null}function ax(e,t,r,n){if(e==null)return[];r=r,Array.isArray(e)||(e=Object.values(e)),Array.isArray(t)||(t=t==null?[null]:[t]),t.length===0&&(t=[null]),Array.isArray(r)||(r=r==null?[]:[r]),r=r.map(l=>String(l));const i=(l,u)=>{let c=l;for(let s=0;s<u.length&&c!=null;++s)c=c[u[s]];return c},a=(l,u)=>u==null||l==null?u:typeof l=="object"&&"key"in l?Object.hasOwn(u,l.key)?u[l.key]:i(u,l.path):typeof l=="function"?l(u):Array.isArray(l)?i(u,l):typeof u=="object"?u[l]:u,o=t.map(l=>(Array.isArray(l)&&l.length===1&&(l=l[0]),l==null||typeof l=="function"||Array.isArray(l)||ix(l)?l:{key:l,path:Vl(l)}));return e.map(l=>({original:l,criteria:o.map(u=>a(u,l))})).slice().sort((l,u)=>{for(let c=0;c<o.length;c++){const s=tx(l.criteria[c],u.criteria[c],r[c]);if(s!==0)return s}return 0}).map(l=>l.original)}function Ia(e,...t){const r=t.length;return r>1&&ul(e,t[0],t[1])?t=[]:r>2&&ul(t[0],t[1],t[2])&&(t=[t[0]]),ax(e,ex(t),["asc"])}var Wh=e=>e.legend.settings,ox=e=>e.legend.size,lx=e=>e.legend.payload;O([lx,Wh],(e,t)=>{var r=t.itemSorter,n=e.flat(1);return r?Ia(n,r):n});function ux(e,t){return dx(e)||fx(e,t)||sx(e,t)||cx()}function cx(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sx(e,t){if(e){if(typeof e=="string")return os(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?os(e,t):void 0}}function os(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function fx(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,o,l=[],u=!0,c=!1;try{if(a=(r=r.call(e)).next,t!==0)for(;!(u=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);u=!0);}catch(s){c=!0,i=s}finally{try{if(!u&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}function dx(e){if(Array.isArray(e))return e}var hi=1;function ls(e,t){return Math.abs(e.height-t.height)>hi||Math.abs(e.left-t.left)>hi||Math.abs(e.top-t.top)>hi||Math.abs(e.width-t.width)>hi}function us(e){var t=e.getBoundingClientRect();return{height:t.height,left:t.left,top:t.top,width:t.width}}function vx(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=v.useState({height:0,left:0,top:0,width:0}),r=ux(t,2),n=r[0],i=r[1],a=v.useRef(null),o=v.useRef(n);o.current=n;var l=v.useCallback(u=>{if(a.current!=null&&(a.current.disconnect(),a.current=null),u!=null){var c=us(u);if(ls(c,o.current)&&i(c),typeof ResizeObserver<"u"){var s=new ResizeObserver(()=>{var f=us(u);ls(f,o.current)&&i(f)});s.observe(u),a.current=s}}},[...e]);return v.useEffect(()=>()=>{var u;(u=a.current)===null||u===void 0||u.disconnect()},[]),[n,l]}function Ce(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var hx=typeof Symbol=="function"&&Symbol.observable||"@@observable",cs=hx,Io=()=>Math.random().toString(36).substring(7).split("").join("."),px={INIT:`@@redux/INIT${Io()}`,REPLACE:`@@redux/REPLACE${Io()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Io()}`},Ni=px;function ru(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Fh(e,t,r){if(typeof e!="function")throw new Error(Ce(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ce(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ce(1));return r(Fh)(e,t)}let n=e,i=t,a=new Map,o=a,l=0,u=!1;function c(){o===a&&(o=new Map,a.forEach((y,g)=>{o.set(g,y)}))}function s(){if(u)throw new Error(Ce(3));return i}function f(y){if(typeof y!="function")throw new Error(Ce(4));if(u)throw new Error(Ce(5));let g=!0;c();const x=l++;return o.set(x,y),function(){if(g){if(u)throw new Error(Ce(6));g=!1,c(),o.delete(x),a=null}}}function d(y){if(!ru(y))throw new Error(Ce(7));if(typeof y.type>"u")throw new Error(Ce(8));if(typeof y.type!="string")throw new Error(Ce(17));if(u)throw new Error(Ce(9));try{u=!0,i=n(i,y)}finally{u=!1}return(a=o).forEach(x=>{x()}),y}function h(y){if(typeof y!="function")throw new Error(Ce(10));n=y,d({type:Ni.REPLACE})}function p(){const y=f;return{subscribe(g){if(typeof g!="object"||g===null)throw new Error(Ce(11));function x(){const A=g;A.next&&A.next(s())}return x(),{unsubscribe:y(x)}},[cs](){return this}}}return d({type:Ni.INIT}),{dispatch:d,subscribe:f,getState:s,replaceReducer:h,[cs]:p}}function mx(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:Ni.INIT})>"u")throw new Error(Ce(12));if(typeof r(void 0,{type:Ni.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ce(13))})}function Kh(e){const t=Object.keys(e),r={};for(let a=0;a<t.length;a++){const o=t[a];typeof e[o]=="function"&&(r[o]=e[o])}const n=Object.keys(r);let i;try{mx(r)}catch(a){i=a}return function(o={},l){if(i)throw i;let u=!1;const c={};for(let s=0;s<n.length;s++){const f=n[s],d=r[f],h=o[f],p=d(h,l);if(typeof p>"u")throw l&&l.type,new Error(Ce(14));c[f]=p,u=u||p!==h}return u=u||n.length!==Object.keys(o).length,u?c:o}}function Li(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function yx(...e){return t=>(r,n)=>{const i=t(r,n);let a=()=>{throw new Error(Ce(15))};const o={getState:i.getState,dispatch:(u,...c)=>a(u,...c)},l=e.map(u=>u(o));return a=Li(...l)(i.dispatch),{...i,dispatch:a}}}function Uh(e){return ru(e)&&"type"in e&&typeof e.type=="string"}var Hh=Symbol.for("immer-nothing"),ss=Symbol.for("immer-draftable"),Ne=Symbol.for("immer-state");function dt(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var qe=Object,Yr=qe.getPrototypeOf,Ri="constructor",Ca="prototype",cl="configurable",zi="enumerable",_i="writable",Mn="value",Rt=e=>!!e&&!!e[Ne];function nt(e){var t;return e?Yh(e)||_a(e)||!!e[ss]||!!((t=e[Ri])!=null&&t[ss])||ja(e)||Ta(e):!1}var gx=qe[Ca][Ri].toString(),fs=new WeakMap;function Yh(e){if(!e||!nu(e))return!1;const t=Yr(e);if(t===null||t===qe[Ca])return!0;const r=qe.hasOwnProperty.call(t,Ri)&&t[Ri];if(r===Object)return!0;if(!Rr(r))return!1;let n=fs.get(r);return n===void 0&&(n=Function.toString.call(r),fs.set(r,n)),n===gx}function ka(e,t,r=!0){Hn(e)===0?(r?Reflect.ownKeys(e):qe.keys(e)).forEach(i=>{t(i,e[i],e)}):e.forEach((n,i)=>t(i,n,e))}function Hn(e){const t=e[Ne];return t?t.type_:_a(e)?1:ja(e)?2:Ta(e)?3:0}var Co=(e,t,r=Hn(e))=>r===2?e.has(t):qe[Ca].hasOwnProperty.call(e,t),sl=(e,t,r=Hn(e))=>r===2?e.get(t):e[t],Bi=(e,t,r,n=Hn(e))=>{n===2?e.set(t,r):n===3?e.add(r):e[t]=r};function bx(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}var _a=Array.isArray,ja=e=>e instanceof Map,Ta=e=>e instanceof Set,nu=e=>typeof e=="object",Rr=e=>typeof e=="function",ko=e=>typeof e=="boolean";function xx(e){const t=+e;return Number.isInteger(t)&&String(t)===e}var jt=e=>e.copy_||e.base_,iu=e=>e.modified_?e.copy_:e.base_;function fl(e,t){if(ja(e))return new Map(e);if(Ta(e))return new Set(e);if(_a(e))return Array[Ca].slice.call(e);const r=Yh(e);if(t===!0||t==="class_only"&&!r){const n=qe.getOwnPropertyDescriptors(e);delete n[Ne];let i=Reflect.ownKeys(n);for(let a=0;a<i.length;a++){const o=i[a],l=n[o];l[_i]===!1&&(l[_i]=!0,l[cl]=!0),(l.get||l.set)&&(n[o]={[cl]:!0,[_i]:!0,[zi]:l[zi],[Mn]:e[o]})}return qe.create(Yr(e),n)}else{const n=Yr(e);if(n!==null&&r)return{...e};const i=qe.create(n);return qe.assign(i,e)}}function au(e,t=!1){return Da(e)||Rt(e)||!nt(e)||(Hn(e)>1&&qe.defineProperties(e,{set:pi,add:pi,clear:pi,delete:pi}),qe.freeze(e),t&&ka(e,(r,n)=>{au(n,!0)},!1)),e}function wx(){dt(2)}var pi={[Mn]:wx};function Da(e){return e===null||!nu(e)?!0:qe.isFrozen(e)}var Wi="MapSet",dl="Patches",ds="ArrayMethods",Vh={};function wr(e){const t=Vh[e];return t||dt(0,e),t}var vs=e=>!!Vh[e],$n,Gh=()=>$n,Ax=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:vs(Wi)?wr(Wi):void 0,arrayMethodsPlugin_:vs(ds)?wr(ds):void 0});function hs(e,t){t&&(e.patchPlugin_=wr(dl),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function vl(e){hl(e),e.drafts_.forEach(Px),e.drafts_=null}function hl(e){e===$n&&($n=e.parent_)}var ps=e=>$n=Ax($n,e);function Px(e){const t=e[Ne];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function ms(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];if(e!==void 0&&e!==r){r[Ne].modified_&&(vl(t),dt(4)),nt(e)&&(e=ys(t,e));const{patchPlugin_:i}=t;i&&i.generateReplacementPatches_(r[Ne].base_,e,t)}else e=ys(t,r);return Ox(t,e,!0),vl(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Hh?e:void 0}function ys(e,t){if(Da(t))return t;const r=t[Ne];if(!r)return Fi(t,e.handledSet_,e);if(!Ma(r,e))return t;if(!r.modified_)return r.base_;if(!r.finalized_){const{callbacks_:n}=r;if(n)for(;n.length>0;)n.pop()(e);Zh(r,e)}return r.copy_}function Ox(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&au(t,r)}function qh(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var Ma=(e,t)=>e.scope_===t,Sx=[];function Xh(e,t,r,n){const i=jt(e),a=e.type_;if(n!==void 0&&sl(i,n,a)===t){Bi(i,n,r,a);return}if(!e.draftLocations_){const l=e.draftLocations_=new Map;ka(i,(u,c)=>{if(Rt(c)){const s=l.get(c)||[];s.push(u),l.set(c,s)}})}const o=e.draftLocations_.get(t)??Sx;for(const l of o)Bi(i,l,r,a)}function Ex(e,t,r){e.callbacks_.push(function(i){var l;const a=t;if(!a||!Ma(a,i))return;(l=i.mapSetPlugin_)==null||l.fixSetContents(a);const o=iu(a);Xh(e,a.draft_??a,o,r),Zh(a,i)})}function Zh(e,t){var n;if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(((n=e.assigned_)==null?void 0:n.size)??0)>0)){const{patchPlugin_:i}=t;if(i){const a=i.getPath(e);a&&i.generatePatches_(e,a,t)}qh(e)}}function Ix(e,t,r){const{scope_:n}=e;if(Rt(r)){const i=r[Ne];Ma(i,n)&&i.callbacks_.push(function(){ji(e);const o=iu(i);Xh(e,r,o,t)})}else nt(r)&&e.callbacks_.push(function(){const a=jt(e);e.type_===3?a.has(r)&&Fi(r,n.handledSet_,n):sl(a,t,e.type_)===r&&n.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&Fi(sl(e.copy_,t,e.type_),n.handledSet_,n)})}function Fi(e,t,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||Rt(e)||t.has(e)||!nt(e)||Da(e)||(t.add(e),ka(e,(n,i)=>{if(Rt(i)){const a=i[Ne];if(Ma(a,r)){const o=iu(a);Bi(e,n,o,e.type_),qh(a)}}else nt(i)&&Fi(i,t,r)})),e}function Cx(e,t){const r=_a(e),n={type_:r?1:0,scope_:t?t.scope_:Gh(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let i=n,a=Ki;r&&(i=[n],a=Nn);const{revoke:o,proxy:l}=Proxy.revocable(i,a);return n.draft_=l,n.revoke_=o,[l,n]}var Ki={get(e,t){if(t===Ne)return e;let r=e.scope_.arrayMethodsPlugin_;const n=e.type_===1&&typeof t=="string";if(n&&r!=null&&r.isArrayOperationMethod(t))return r.createMethodInterceptor(e,t);const i=jt(e);if(!Co(i,t,e.type_))return _x(e,i,t);const a=i[t];if(e.finalized_||!nt(a)||n&&e.operationMethod&&(r!=null&&r.isMutatingArrayMethod(e.operationMethod))&&xx(t))return a;if(a===_o(e.base_,t)||kx(e,t,a)){ji(e);const o=e.type_===1?+t:t,l=ml(e.scope_,a,e,o);return e.copy_[o]=l}return a},has(e,t){return t in jt(e)},ownKeys(e){return Reflect.ownKeys(jt(e))},set(e,t,r){const n=Qh(jt(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=_o(jt(e),t),a=i==null?void 0:i[Ne];if(a&&a.base_===r)return e.copy_[t]=r,e.assigned_.set(t,!1),!0;if(bx(r,i)&&(r!==void 0||Co(e.base_,t,e.type_)))return!0;ji(e),pl(e)}return e.copy_[t]===r&&(r!==void 0||Co(e.copy_,t,e.type_))||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_.set(t,!0),Ix(e,t,r)),!0},deleteProperty(e,t){return ji(e),_o(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),pl(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=jt(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{[_i]:!0,[cl]:e.type_!==1||t!=="length",[zi]:n[zi],[Mn]:r[t]}},defineProperty(){dt(11)},getPrototypeOf(e){return Yr(e.base_)},setPrototypeOf(){dt(12)}},Nn={};for(let e in Ki){let t=Ki[e];Nn[e]=function(){const r=arguments;return r[0]=r[0][0],t.apply(this,r)}}Nn.deleteProperty=function(e,t){return Nn.set.call(this,e,t,void 0)};Nn.set=function(e,t,r){return Ki.set.call(this,e[0],t,r,e[0])};function _o(e,t){const r=e[Ne];return(r?jt(r):e)[t]}function kx(e,t,r){var n;return e.type_!==1||!e.allIndicesReassigned_||(n=e.assigned_)!=null&&n.get(t)||!nt(r)||r[Ne]?!1:e.baseRefs_.has(r)}function _x(e,t,r){var i;const n=Qh(t,r);return n?Mn in n?n[Mn]:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function Qh(e,t){if(!(t in e))return;let r=Yr(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Yr(r)}}function pl(e){e.modified_||(e.modified_=!0,e.parent_&&pl(e.parent_))}function ji(e){e.copy_||(e.assigned_=new Map,e.copy_=fl(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var jx=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,r,n)=>{if(Rr(t)&&!Rr(r)){const a=r;r=t;const o=this;return function(u=a,...c){return o.produce(u,s=>r.call(this,s,...c))}}Rr(r)||dt(6),n!==void 0&&!Rr(n)&&dt(7);let i;if(nt(t)){const a=ps(this),o=ml(a,t,void 0);let l=!0;try{i=r(o),l=!1}finally{l?vl(a):hl(a)}return hs(a,n),ms(i,a)}else if(!t||!nu(t)){if(i=r(t),i===void 0&&(i=t),i===Hh&&(i=void 0),this.autoFreeze_&&au(i,!0),n){const a=[],o=[];wr(dl).generateReplacementPatches_(t,i,{patches_:a,inversePatches_:o}),n(a,o)}return i}else dt(1,t)},this.produceWithPatches=(t,r)=>{if(Rr(t))return(o,...l)=>this.produceWithPatches(o,u=>t(u,...l));let n,i;return[this.produce(t,r,(o,l)=>{n=o,i=l}),n,i]},ko(e==null?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),ko(e==null?void 0:e.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),ko(e==null?void 0:e.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){nt(e)||dt(8),Rt(e)&&(e=tt(e));const t=ps(this),r=ml(t,e,void 0);return r[Ne].isManual_=!0,hl(t),r}finishDraft(e,t){const r=e&&e[Ne];(!r||!r.isManual_)&&dt(9);const{scope_:n}=r;return hs(n,t),ms(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const i=t[r];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}r>-1&&(t=t.slice(r+1));const n=wr(dl).applyPatches_;return Rt(e)?n(e,t):this.produce(e,i=>n(i,t))}};function ml(e,t,r,n){const[i,a]=ja(t)?wr(Wi).proxyMap_(t,r):Ta(t)?wr(Wi).proxySet_(t,r):Cx(t,r);return((r==null?void 0:r.scope_)??Gh()).drafts_.push(i),a.callbacks_=(r==null?void 0:r.callbacks_)??[],a.key_=n,r&&n!==void 0?Ex(r,a,n):a.callbacks_.push(function(u){var s;(s=u.mapSetPlugin_)==null||s.fixSetContents(a);const{patchPlugin_:c}=u;a.modified_&&c&&c.generatePatches_(a,[],u)}),i}function tt(e){return Rt(e)||dt(10,e),Jh(e)}function Jh(e){if(!nt(e)||Da(e))return e;const t=e[Ne];let r,n=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=fl(e,t.scope_.immer_.useStrictShallowCopy_),n=t.scope_.immer_.shouldUseStrictIteration()}else r=fl(e,!0);return ka(r,(i,a)=>{Bi(r,i,Jh(a))},n),t&&(t.finalized_=!1),r}var Tx=new jx,ep=Tx.produce,q=e=>e;function tp(e){return({dispatch:r,getState:n})=>i=>a=>typeof a=="function"?a(r,n,e):i(a)}var Dx=tp(),Mx=tp,$x=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Li:Li.apply(null,arguments)};function Je(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(Ze(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>Uh(n)&&n.type===e,r}var rp=class On extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,On.prototype)}static get[Symbol.species](){return On}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new On(...t[0].concat(this)):new On(...t.concat(this))}};function gs(e){return nt(e)?ep(e,()=>{}):e}function mi(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}function Nx(e){return typeof e=="boolean"}var Lx=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:a=!0}=t??{};let o=new rp;return r&&(Nx(r)?o.push(Dx):o.push(Mx(r.extraArgument))),o},np="RTK_autoBatch",ie=()=>e=>({payload:e,meta:{[np]:!0}}),bs=e=>t=>{setTimeout(t,e)},Rx=(e,t)=>r=>{let n=!1;const i=()=>{n||(n=!0,cancelAnimationFrame(a),clearTimeout(o),r())},a=e(i),o=setTimeout(i,t)},ip=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let i=!0,a=!1,o=!1;const l=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?Rx(window.requestAnimationFrame,100):bs(10):e.type==="callback"?e.queueNotification:bs(e.timeout),c=()=>{o=!1,a&&(a=!1,l.forEach(s=>s()))};return Object.assign({},n,{subscribe(s){const f=()=>i&&s(),d=n.subscribe(f);return l.add(s),()=>{d(),l.delete(s)}},dispatch(s){var f;try{return i=!((f=s==null?void 0:s.meta)!=null&&f[np]),a=!i,a&&(o||(o=!0,u(c))),n.dispatch(s)}finally{i=!0}}})},zx=e=>function(r){const{autoBatch:n=!0}=r??{};let i=new rp(e);return n&&i.push(ip(typeof n=="object"?n:void 0)),i};function Bx(e){const t=Lx(),{reducer:r=void 0,middleware:n,devTools:i=!0,preloadedState:a=void 0,enhancers:o=void 0}=e||{};let l;if(typeof r=="function")l=r;else if(ru(r))l=Kh(r);else throw new Error(Ze(1));let u;typeof n=="function"?u=n(t):u=t();let c=Li;i&&(c=$x({trace:!1,...typeof i=="object"&&i}));const s=yx(...u),f=zx(s);let d=typeof o=="function"?o(f):f();const h=c(...d);return Fh(l,a,h)}function ap(e){const t={},r=[];let n;const i={addCase(a,o){const l=typeof a=="string"?a:a.type;if(!l)throw new Error(Ze(28));if(l in t)throw new Error(Ze(29));return t[l]=o,i},addAsyncThunk(a,o){return o.pending&&(t[a.pending.type]=o.pending),o.rejected&&(t[a.rejected.type]=o.rejected),o.fulfilled&&(t[a.fulfilled.type]=o.fulfilled),o.settled&&r.push({matcher:a.settled,reducer:o.settled}),i},addMatcher(a,o){return r.push({matcher:a,reducer:o}),i},addDefaultCase(a){return n=a,i}};return e(i),[t,r,n]}function Wx(e){return typeof e=="function"}function Fx(e,t){let[r,n,i]=ap(t),a;if(Wx(e))a=()=>gs(e());else{const l=gs(e);a=()=>l}function o(l=a(),u){let c=[r[u.type],...n.filter(({matcher:s})=>s(u)).map(({reducer:s})=>s)];return c.filter(s=>!!s).length===0&&(c=[i]),c.reduce((s,f)=>{if(f)if(Rt(s)){const h=f(s,u);return h===void 0?s:h}else{if(nt(s))return ep(s,d=>f(d,u));{const d=f(s,u);if(d===void 0){if(s===null)return s;throw Error("A case reducer on a non-draftable value must not return undefined")}return d}}return s},l)}return o.getInitialState=a,o}var Kx="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Ux=(e=21)=>{let t="",r=e;for(;r--;)t+=Kx[Math.random()*64|0];return t},Hx=Symbol.for("rtk-slice-createasyncthunk");function Yx(e,t){return`${e}/${t}`}function Vx({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[Hx];return function(i){const{name:a,reducerPath:o=a}=i;if(!a)throw new Error(Ze(11));const l=(typeof i.reducers=="function"?i.reducers(qx()):i.reducers)||{},u=Object.keys(l),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase(A,P){const b=typeof A=="string"?A:A.type;if(!b)throw new Error(Ze(12));if(b in c.sliceCaseReducersByType)throw new Error(Ze(13));return c.sliceCaseReducersByType[b]=P,s},addMatcher(A,P){return c.sliceMatchers.push({matcher:A,reducer:P}),s},exposeAction(A,P){return c.actionCreators[A]=P,s},exposeCaseReducer(A,P){return c.sliceCaseReducersByName[A]=P,s}};u.forEach(A=>{const P=l[A],b={reducerName:A,type:Yx(a,A),createNotation:typeof i.reducers=="function"};Zx(P)?Jx(b,P,s,t):Xx(b,P,s)});function f(){const[A={},P=[],b=void 0]=typeof i.extraReducers=="function"?ap(i.extraReducers):[i.extraReducers],S={...A,...c.sliceCaseReducersByType};return Fx(i.initialState,I=>{for(let C in S)I.addCase(C,S[C]);for(let C of c.sliceMatchers)I.addMatcher(C.matcher,C.reducer);for(let C of P)I.addMatcher(C.matcher,C.reducer);b&&I.addDefaultCase(b)})}const d=A=>A,h=new Map,p=new WeakMap;let m;function y(A,P){return m||(m=f()),m(A,P)}function g(){return m||(m=f()),m.getInitialState()}function x(A,P=!1){function b(I){let C=I[A];return typeof C>"u"&&P&&(C=mi(p,b,g)),C}function S(I=d){const C=mi(h,P,()=>new WeakMap);return mi(C,I,()=>{const k={};for(const[_,E]of Object.entries(i.selectors??{}))k[_]=Gx(E,I,()=>mi(p,I,g),P);return k})}return{reducerPath:A,getSelectors:S,get selectors(){return S(b)},selectSlice:b}}const w={name:a,reducer:y,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:g,...x(o),injectInto(A,{reducerPath:P,...b}={}){const S=P??o;return A.inject({reducerPath:S,reducer:y},b),{...w,...x(S,!0)}}};return w}}function Gx(e,t,r,n){function i(a,...o){let l=t(a);return typeof l>"u"&&n&&(l=r()),e(l,...o)}return i.unwrapped=e,i}var Le=Vx();function qx(){function e(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...r){return t(...r)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}},asyncThunk:e}}function Xx({type:e,reducerName:t,createNotation:r},n,i){let a,o;if("reducer"in n){if(r&&!Qx(n))throw new Error(Ze(17));a=n.reducer,o=n.prepare}else a=n;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,o?Je(e,o):Je(e))}function Zx(e){return e._reducerDefinitionType==="asyncThunk"}function Qx(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Jx({type:e,reducerName:t},r,n,i){if(!i)throw new Error(Ze(18));const{payloadCreator:a,fulfilled:o,pending:l,rejected:u,settled:c,options:s}=r,f=i(e,a,s);n.exposeAction(t,f),o&&n.addCase(f.fulfilled,o),l&&n.addCase(f.pending,l),u&&n.addCase(f.rejected,u),c&&n.addMatcher(f.settled,c),n.exposeCaseReducer(t,{fulfilled:o||yi,pending:l||yi,rejected:u||yi,settled:c||yi})}function yi(){}var ew="task",op="listener",lp="completed",ou="cancelled",tw=`task-${ou}`,rw=`task-${lp}`,yl=`${op}-${ou}`,nw=`${op}-${lp}`,$a=class{constructor(e){di(this,"code");di(this,"name","TaskAbortError");di(this,"message");this.code=e,this.message=`${ew} ${ou} (reason: ${e})`}},lu=(e,t)=>{if(typeof e!="function")throw new TypeError(Ze(32))},Ui=()=>{},up=(e,t=Ui)=>(e.catch(t),e),cp=(e,t)=>(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)),mr=e=>{if(e.aborted)throw new $a(e.reason)};function sp(e,t){let r=Ui;return new Promise((n,i)=>{const a=()=>i(new $a(e.reason));if(e.aborted){a();return}r=cp(e,a),t.finally(()=>r()).then(n,i)}).finally(()=>{r=Ui})}var iw=async(e,t)=>{try{return await Promise.resolve(),{status:"ok",value:await e()}}catch(r){return{status:r instanceof $a?"cancelled":"rejected",error:r}}finally{t==null||t()}},Hi=e=>t=>up(sp(e,t).then(r=>(mr(e),r))),fp=e=>{const t=Hi(e);return r=>t(new Promise(n=>setTimeout(n,r)))},{assign:Wr}=Object,xs={},Na="listenerMiddleware",aw=(e,t)=>{const r=n=>cp(e,()=>n.abort(e.reason));return(n,i)=>{lu(n);const a=new AbortController;r(a);const o=iw(async()=>{mr(e),mr(a.signal);const l=await n({pause:Hi(a.signal),delay:fp(a.signal),signal:a.signal});return mr(a.signal),l},()=>a.abort(rw));return i!=null&&i.autoJoin&&t.push(o.catch(Ui)),{result:Hi(e)(o),cancel(){a.abort(tw)}}}},ow=(e,t)=>{const r=async(n,i)=>{mr(t);let a=()=>{};const l=[new Promise((u,c)=>{let s=e({predicate:n,effect:(f,d)=>{d.unsubscribe(),u([f,d.getState(),d.getOriginalState()])}});a=()=>{s(),c()}})];i!=null&&l.push(new Promise(u=>setTimeout(u,i,null)));try{const u=await sp(t,Promise.race(l));return mr(t),u}finally{a()}};return(n,i)=>up(r(n,i))},dp=e=>{let{type:t,actionCreator:r,matcher:n,predicate:i,effect:a}=e;if(t)i=Je(t).match;else if(r)t=r.type,i=r.match;else if(n)i=n;else if(!i)throw new Error(Ze(21));return lu(a),{predicate:i,type:t,effect:a}},vp=Wr(e=>{const{type:t,predicate:r,effect:n}=dp(e);return{id:Ux(),effect:n,type:t,predicate:r,pending:new Set,unsubscribe:()=>{throw new Error(Ze(22))}}},{withTypes:()=>vp}),ws=(e,t)=>{const{type:r,effect:n,predicate:i}=dp(t);return Array.from(e.values()).find(a=>(typeof r=="string"?a.type===r:a.predicate===i)&&a.effect===n)},gl=e=>{e.pending.forEach(t=>{t.abort(yl)})},lw=(e,t)=>()=>{for(const r of t.keys())gl(r);e.clear()},As=(e,t,r)=>{try{e(t,r)}catch(n){setTimeout(()=>{throw n},0)}},hp=Wr(Je(`${Na}/add`),{withTypes:()=>hp}),uw=Je(`${Na}/removeAll`),pp=Wr(Je(`${Na}/remove`),{withTypes:()=>pp}),cw=(...e)=>{console.error(`${Na}/error`,...e)},Yn=(e={})=>{const t=new Map,r=new Map,n=h=>{const p=r.get(h)??0;r.set(h,p+1)},i=h=>{const p=r.get(h)??1;p===1?r.delete(h):r.set(h,p-1)},{extra:a,onError:o=cw}=e;lu(o);const l=h=>(h.unsubscribe=()=>t.delete(h.id),t.set(h.id,h),p=>{h.unsubscribe(),p!=null&&p.cancelActive&&gl(h)}),u=h=>{const p=ws(t,h)??vp(h);return l(p)};Wr(u,{withTypes:()=>u});const c=h=>{const p=ws(t,h);return p&&(p.unsubscribe(),h.cancelActive&&gl(p)),!!p};Wr(c,{withTypes:()=>c});const s=async(h,p,m,y)=>{const g=new AbortController,x=ow(u,g.signal),w=[];try{h.pending.add(g),n(h),await Promise.resolve(h.effect(p,Wr({},m,{getOriginalState:y,condition:(A,P)=>x(A,P).then(Boolean),take:x,delay:fp(g.signal),pause:Hi(g.signal),extra:a,signal:g.signal,fork:aw(g.signal,w),unsubscribe:h.unsubscribe,subscribe:()=>{t.set(h.id,h)},cancelActiveListeners:()=>{h.pending.forEach((A,P,b)=>{A!==g&&(A.abort(yl),b.delete(A))})},cancel:()=>{g.abort(yl),h.pending.delete(g)},throwIfCancelled:()=>{mr(g.signal)}})))}catch(A){A instanceof $a||As(o,A,{raisedBy:"effect"})}finally{await Promise.all(w),g.abort(nw),i(h),h.pending.delete(g)}},f=lw(t,r);return{middleware:h=>p=>m=>{if(!Uh(m))return p(m);if(hp.match(m))return u(m.payload);if(uw.match(m)){f();return}if(pp.match(m))return c(m.payload);let y=h.getState();const g=()=>{if(y===xs)throw new Error(Ze(23));return y};let x;try{if(x=p(m),t.size>0){const w=h.getState(),A=Array.from(t.values());for(const P of A){let b=!1;try{b=P.predicate(m,w,y)}catch(S){b=!1,As(o,S,{raisedBy:"predicate"})}b&&s(P,m,h,g)}}}finally{y=xs}return x},startListening:u,stopListening:c,clearListeners:f}};function Ze(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var sw={layoutType:"horizontal",width:0,height:0,margin:{top:5,right:5,bottom:5,left:5},scale:1},mp=Le({name:"chartLayout",initialState:sw,reducers:{setLayout(e,t){e.layoutType=t.payload},setChartSize(e,t){e.width=t.payload.width,e.height=t.payload.height},setMargin(e,t){var r,n,i,a;e.margin.top=(r=t.payload.top)!==null&&r!==void 0?r:0,e.margin.right=(n=t.payload.right)!==null&&n!==void 0?n:0,e.margin.bottom=(i=t.payload.bottom)!==null&&i!==void 0?i:0,e.margin.left=(a=t.payload.left)!==null&&a!==void 0?a:0},setScale(e,t){e.scale=t.payload}}}),La=mp.actions,fw=La.setMargin,dw=La.setLayout,vw=La.setChartSize,hw=La.setScale,pw=mp.reducer;function yp(e,t,r){return Array.isArray(e)&&e&&t+r!==0?e.slice(t,r+1):e}function Y(e){return Number.isFinite(e)}function kt(e){return typeof e=="number"&&e>0&&Number.isFinite(e)}function Ps(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Fe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ps(Object(r),!0).forEach(function(n){mw(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ps(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function mw(e,t,r){return(t=yw(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yw(e){var t=gw(e,"string");return typeof t=="symbol"?t:t+""}function gw(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Z(e,t,r){return pe(e)||pe(t)?r:Ct(t)?Et(e,t,r):typeof t=="function"?t(e):r}var bw=(e,t,r)=>{if(t&&r){var n=r.width,i=r.height,a=t.align,o=t.verticalAlign,l=t.layout,u=t.position,c=t.offset,s=c===void 0?0:c;if(u!=null){if(Z0(u)){if(u==="top"&&D(e.top))return Fe(Fe({},e),{},{top:e.top+(i||0)+s});if(u==="bottom"&&D(e.bottom))return Fe(Fe({},e),{},{bottom:e.bottom+(i||0)+s});if(u==="left"&&D(e.left))return Fe(Fe({},e),{},{left:e.left+(n||0)+s});if(u==="right"&&D(e.right))return Fe(Fe({},e),{},{right:e.right+(n||0)+s})}return e}if((l==="vertical"||l==="horizontal"&&o==="middle")&&a!=="center"&&D(e[a]))return Fe(Fe({},e),{},{[a]:e[a]+(n||0)});if((l==="horizontal"||l==="vertical"&&a==="center")&&o!=="middle"&&D(e[o]))return Fe(Fe({},e),{},{[o]:e[o]+(i||0)})}return e},pt=(e,t)=>e==="horizontal"&&t==="xAxis"||e==="vertical"&&t==="yAxis"||e==="centric"&&t==="angleAxis"||e==="radial"&&t==="radiusAxis",gp=(e,t,r,n)=>{if(n)return e.map(l=>l.coordinate);var i,a,o=e.map(l=>(l.coordinate===t&&(i=!0),l.coordinate===r&&(a=!0),l.coordinate));return i||o.push(t),a||o.push(r),o},bp=(e,t,r)=>{if(!e)return null;var n=e.duplicateDomain,i=e.type,a=e.range,o=e.scale,l=e.realScaleType,u=e.isCategorical,c=e.categoricalDomain,s=e.tickCount,f=e.ticks,d=e.niceTicks,h=e.axisType;if(!o)return null;var p=l==="scaleBand"&&o.bandwidth?o.bandwidth()/2:2,m=i==="category"&&o.bandwidth?o.bandwidth()/p:0;if(m=h==="angleAxis"&&a&&a.length>=2?$e(a[0]-a[1])*2*m:m,f||d){var y=(f||d||[]).map((g,x)=>{var w=n?n.indexOf(g):g,A=o.map(w);return Y(A)?{coordinate:A+m,value:g,offset:m,index:x}:null}).filter(Be);return y}return u&&c?c.map((g,x)=>{var w=o.map(g);return Y(w)?{coordinate:w+m,value:g,index:x,offset:m}:null}).filter(Be):o.ticks&&s!=null?o.ticks(s).map((g,x)=>{var w=o.map(g);return Y(w)?{coordinate:w+m,value:g,index:x,offset:m}:null}).filter(Be):o.domain().map((g,x)=>{var w=o.map(g);return Y(w)?{coordinate:w+m,value:n?n[g]:g,index:x,offset:m}:null}).filter(Be)},xw=e=>{var t,r=e.length;if(!(r<=0)){var n=(t=e[0])===null||t===void 0?void 0:t.length;if(!(n==null||n<=0))for(var i=0;i<n;++i)for(var a=0,o=0,l=0;l<r;++l){var u=e[l],c=u==null?void 0:u[i];if(c!=null){var s=c[1],f=c[0],d=It(s)?f:s;d>=0?(c[0]=a,a+=d,c[1]=a):(c[0]=o,o+=d,c[1]=o)}}}},ww=e=>{var t,r=e.length;if(!(r<=0)){var n=(t=e[0])===null||t===void 0?void 0:t.length;if(!(n==null||n<=0))for(var i=0;i<n;++i)for(var a=0,o=0;o<r;++o){var l=e[o],u=l==null?void 0:l[i];if(u!=null){var c=It(u[1])?u[0]:u[1];c>=0?(u[0]=a,a+=c,u[1]=a):(u[0]=0,u[1]=0)}}}},Aw={sign:xw,expand:yb,none:xr,silhouette:gb,wiggle:bb,positive:ww},Pw=(e,t,r)=>{var n,i=(n=Aw[r])!==null&&n!==void 0?n:xr,a=mb().keys(t).value((l,u)=>Number(Z(l,u,0))).order(nl).offset(i),o=a(e);return o.forEach((l,u)=>{l.forEach((c,s)=>{var f=Z(e[s],t[u],0);Array.isArray(f)&&f.length===2&&D(f[0])&&D(f[1])&&(c[0]=f[0],c[1]=f[1])})}),o};function Ow(e){return e==null?void 0:String(e)}function Yi(e){var t=e.axis,r=e.ticks,n=e.bandSize,i=e.entry,a=e.index,o=e.dataKey;if(t.type==="category"){if(!t.allowDuplicatedCategory&&t.dataKey&&!pe(i[t.dataKey])){var l=Qv(r,"value",i[t.dataKey]);if(l)return l.coordinate+n/2}return r!=null&&r[a]?r[a].coordinate+n/2:null}var u=Z(i,pe(o)?t.dataKey:o),c=t.scale.map(u);return D(c)?c:null}var Sw=e=>{var t=e.flat(2).filter(D);return[Math.min(...t),Math.max(...t)]},Ew=e=>[e[0]===1/0?0:e[0],e[1]===-1/0?0:e[1]],Iw=(e,t,r)=>{if(!(e==null||Object.keys(e).length===0))return Ew(Object.keys(e).reduce((n,i)=>{var a=e[i];if(!a)return n;var o=a.stackedData,l=o.reduce((u,c)=>{var s=yp(c,t,r),f=Sw(s);return!Y(f[0])||!Y(f[1])?u:[Math.min(u[0],f[0]),Math.max(u[1],f[1])]},[1/0,-1/0]);return[Math.min(l[0],n[0]),Math.max(l[1],n[1])]},[1/0,-1/0]))},Os=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Ss=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Vr=(e,t,r)=>{if(e&&e.scale&&e.scale.bandwidth){var n=e.scale.bandwidth();if(!r||n>0)return n}if(e&&t&&t.length>=2){for(var i=Ia(t,m=>m.coordinate),a=[],o=0,l=1,u=i.length;l<u;l++){var c,s,f=(((c=i[l])===null||c===void 0?void 0:c.coordinate)||0)-(((s=i[l-1])===null||s===void 0?void 0:s.coordinate)||0);a.push(f),o=Math.max(f,o)}var d=o*1e-4,h=1/0;for(var p of a)p>d&&(h=Math.min(p,h));return h===1/0?0:h}return r?void 0:0};function Es(e){var t=e.tooltipEntrySettings,r=e.dataKey,n=e.payload,i=e.value,a=e.name;return Fe(Fe({},t),{},{dataKey:r,payload:n,value:i,name:a})}function tn(e,t){if(e!=null)return String(e);if(typeof t=="string")return t}var Cw=(e,t)=>{if(t==="horizontal")return e.relativeX;if(t==="vertical")return e.relativeY},kw=(e,t)=>t==="centric"?e.angle:e.radius,Ft=e=>e.layout.width,Kt=e=>e.layout.height,_w=e=>e.layout.scale,xp=e=>e.layout.margin,Ra=O(e=>e.cartesianAxis.xAxis,e=>Object.values(e)),za=O(e=>e.cartesianAxis.yAxis,e=>Object.values(e)),wp="data-recharts-item-index",Ap="data-recharts-item-id",Vn=60,uu=30;function Is(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function gi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Is(Object(r),!0).forEach(function(n){jw(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Is(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function jw(e,t,r){return(t=Tw(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tw(e){var t=Dw(e,"string");return typeof t=="symbol"?t:t+""}function Dw(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Mw=e=>e.brush.height;function $w(e){var t=za(e);return t.reduce((r,n)=>{if(n.orientation==="left"&&!n.mirror&&!n.hide){var i=typeof n.width=="number"?n.width:Vn;return r+i}return r},0)}function Nw(e){var t=za(e);return t.reduce((r,n)=>{if(n.orientation==="right"&&!n.mirror&&!n.hide){var i=typeof n.width=="number"?n.width:Vn;return r+i}return r},0)}function Lw(e){var t=Ra(e);return t.reduce((r,n)=>{if(n.orientation==="top"&&!n.mirror&&!n.hide){var i=typeof n.height=="number"?n.height:uu;return r+i}return r},0)}function Rw(e){var t=Ra(e);return t.reduce((r,n)=>{if(n.orientation==="bottom"&&!n.mirror&&!n.hide){var i=typeof n.height=="number"?n.height:uu;return r+i}return r},0)}var Oe=O([Ft,Kt,xp,Mw,$w,Nw,Lw,Rw,Wh,ox],(e,t,r,n,i,a,o,l,u,c)=>{var s={left:(r.left||0)+i,right:(r.right||0)+a},f={top:(r.top||0)+o,bottom:(r.bottom||0)+l},d=gi(gi({},f),s),h=d.bottom;d.bottom+=n,d=bw(d,u,c);var p=e-d.left-d.right,m=t-d.top-d.bottom;return gi(gi({brushBottom:h},d),{},{width:Math.max(p,0),height:Math.max(m,0)})}),zw=O(Oe,e=>({x:e.left,y:e.top,width:e.width,height:e.height})),Pp=O(Ft,Kt,(e,t)=>({x:0,y:0,width:e,height:t})),Bw=v.createContext(null),Re=()=>v.useContext(Bw)!=null,Ba=e=>e.brush,Wa=O([Ba,Oe,xp],(e,t,r)=>({height:e.height,x:D(e.x)?e.x:t.left,y:D(e.y)?e.y:t.top+t.height+t.brushBottom-((r==null?void 0:r.bottom)||0),width:D(e.width)?e.width:t.width}));function Ww(e,t,{signal:r,edges:n}={}){let i,a=null;const o=n!=null&&n.includes("leading"),l=n==null||n.includes("trailing"),u=()=>{a!==null&&(e.apply(i,a),i=void 0,a=null)},c=()=>{l&&u(),h()};let s=null;const f=()=>{s!=null&&clearTimeout(s),s=setTimeout(()=>{s=null,c()},t)},d=()=>{s!==null&&(clearTimeout(s),s=null)},h=()=>{d(),i=void 0,a=null},p=()=>{u()},m=function(...y){if(r!=null&&r.aborted)return;i=this,a=y;const g=s==null;f(),o&&g&&u()};return m.schedule=f,m.cancel=h,m.flush=p,r==null||r.addEventListener("abort",h,{once:!0}),m}function Fw(e,t=0,r={}){typeof r!="object"&&(r={});const{leading:n=!1,trailing:i=!0,maxWait:a}=r,o=Array(2);n&&(o[0]="leading"),i&&(o[1]="trailing");let l,u=null;const c=Ww(function(...d){l=e.apply(this,d),u=null},t,{edges:o}),s=function(...d){return a!=null&&(u===null&&(u=Date.now()),Date.now()-u>=a)?(l=e.apply(this,d),u=Date.now(),c.cancel(),c.schedule(),l):(c.apply(this,d),l)},f=()=>(c.flush(),l);return s.cancel=c.cancel,s.flush=f,s}function Kw(e,t=0,r={}){const{leading:n=!0,trailing:i=!0}=r;return Fw(e,t,{leading:n,maxWait:t,trailing:i})}var Vi=function(t,r){for(var n=arguments.length,i=new Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];if(typeof console<"u"&&console.warn&&(r===void 0&&console.warn("LogUtils requires an error message argument"),!t))if(r===void 0)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=0;console.warn(r.replace(/%s/g,()=>i[o++]))}},At={width:"100%",height:"100%",debounce:0,minWidth:0,initialDimension:{width:-1,height:-1}},Op=(e,t,r)=>{var n=r.width,i=n===void 0?At.width:n,a=r.height,o=a===void 0?At.height:a,l=r.aspect,u=r.maxHeight,c=br(i)?e:Number(i),s=br(o)?t:Number(o);return l&&l>0&&(c?s=c/l:s&&(c=s*l),u&&s!=null&&s>u&&(s=u)),{calculatedWidth:c,calculatedHeight:s}},Uw={width:0,height:0,overflow:"visible"},Hw={width:0,overflowX:"visible"},Yw={height:0,overflowY:"visible"},Vw={},Gw=e=>{var t=e.width,r=e.height,n=br(t),i=br(r);return n&&i?Uw:n?Hw:i?Yw:Vw};function qw(e){var t=e.width,r=e.height,n=e.aspect,i=t,a=r;return i===void 0&&a===void 0?(i=At.width,a=At.height):i===void 0?i=n&&n>0?void 0:At.width:a===void 0&&(a=n&&n>0?void 0:At.height),{width:i,height:a}}var Xw=["aspect","initialDimension","width","height","minWidth","minHeight","maxHeight","children","debounce","id","className","onResize","style"];function Gi(){return Gi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Gi.apply(null,arguments)}function Cs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function ks(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Cs(Object(r),!0).forEach(function(n){Zw(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Cs(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Zw(e,t,r){return(t=Qw(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qw(e){var t=Jw(e,"string");return typeof t=="symbol"?t:t+""}function Jw(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function eA(e,t){return iA(e)||nA(e,t)||rA(e,t)||tA()}function tA(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
3
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rA(e,t){if(e){if(typeof e=="string")return _s(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_s(e,t):void 0}}function _s(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function nA(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,o,l=[],u=!0,c=!1;try{if(a=(r=r.call(e)).next,t!==0)for(;!(u=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);u=!0);}catch(s){c=!0,i=s}finally{try{if(!u&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}function iA(e){if(Array.isArray(e))return e}function aA(e,t){if(e==null)return{};var r,n,i=oA(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function oA(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var Sp=v.createContext(At.initialDimension);function lA(e){return kt(e.width)&&kt(e.height)}function Ep(e){var t=e.children,r=e.width,n=e.height,i=v.useMemo(()=>({width:r,height:n}),[r,n]);return lA(i)?v.createElement(Sp.Provider,{value:i},t):null}var cu=()=>v.useContext(Sp),uA=v.forwardRef((e,t)=>{var r=e.aspect,n=e.initialDimension,i=n===void 0?At.initialDimension:n,a=e.width,o=e.height,l=e.minWidth,u=l===void 0?At.minWidth:l,c=e.minHeight,s=e.maxHeight,f=e.children,d=e.debounce,h=d===void 0?At.debounce:d,p=e.id,m=e.className,y=e.onResize,g=e.style,x=g===void 0?{}:g,w=aA(e,Xw),A=v.useRef(null),P=v.useRef();P.current=y,v.useImperativeHandle(t,()=>A.current);var b=v.useState({containerWidth:i.width,containerHeight:i.height}),S=eA(b,2),I=S[0],C=S[1],k=v.useCallback((W,F)=>{C(R=>{var G=Math.round(W),U=Math.round(F);return R.containerWidth===G&&R.containerHeight===U?R:{containerWidth:G,containerHeight:U}})},[]);v.useEffect(()=>{if(A.current==null||typeof ResizeObserver>"u")return Er;var W=we=>{var Ie,de=we[0];if(de!=null){var He=de.contentRect,Ye=He.width,ct=He.height;k(Ye,ct),(Ie=P.current)===null||Ie===void 0||Ie.call(P,Ye,ct)}};h>0&&(W=Kw(W,h,{trailing:!0,leading:!1}));var F=new ResizeObserver(W),R=A.current.getBoundingClientRect(),G=R.width,U=R.height;return k(G,U),F.observe(A.current),()=>{F.disconnect()}},[k,h]);var _=I.containerWidth,E=I.containerHeight;Vi(!r||r>0,"The aspect(%s) must be greater than zero.",r);var L=Op(_,E,{width:a,height:o,aspect:r,maxHeight:s}),T=L.calculatedWidth,B=L.calculatedHeight;return Vi(_<0||E<0||T!=null&&T>0||B!=null&&B>0,`The width(%s) and height(%s) of chart should be greater than 0,
|
|
4
4
|
please check the style of container, or the props width(%s) and height(%s),
|
package/dist/spa/index.html
CHANGED
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
rel="stylesheet"
|
|
11
11
|
/>
|
|
12
12
|
<title>ai gateway · governance console</title>
|
|
13
|
-
<script type="module" crossorigin src="/ai-gateway/assets/index-
|
|
14
|
-
<link rel="modulepreload" crossorigin href="/ai-gateway/assets/base-ui-
|
|
15
|
-
<link rel="modulepreload" crossorigin href="/ai-gateway/assets/recharts-
|
|
16
|
-
<link rel="modulepreload" crossorigin href="/ai-gateway/assets/index-
|
|
13
|
+
<script type="module" crossorigin src="/ai-gateway/assets/index-DAU1txqd.js"></script>
|
|
14
|
+
<link rel="modulepreload" crossorigin href="/ai-gateway/assets/base-ui-Bj5tb_Ph.js">
|
|
15
|
+
<link rel="modulepreload" crossorigin href="/ai-gateway/assets/recharts-DPC0gOrj.js">
|
|
16
|
+
<link rel="modulepreload" crossorigin href="/ai-gateway/assets/index-Cchd2o0X.js">
|
|
17
17
|
<link rel="stylesheet" crossorigin href="/ai-gateway/assets/index-CO6XH1b7.css">
|
|
18
18
|
</head>
|
|
19
19
|
<body>
|
package/dist/spa/preview.html
CHANGED
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
rel="stylesheet"
|
|
11
11
|
/>
|
|
12
12
|
<title>ai gateway · preview</title>
|
|
13
|
-
<script type="module" crossorigin src="/ai-gateway/assets/preview-
|
|
14
|
-
<link rel="modulepreload" crossorigin href="/ai-gateway/assets/base-ui-
|
|
15
|
-
<link rel="modulepreload" crossorigin href="/ai-gateway/assets/recharts-
|
|
16
|
-
<link rel="modulepreload" crossorigin href="/ai-gateway/assets/index-
|
|
13
|
+
<script type="module" crossorigin src="/ai-gateway/assets/preview-CYbdGs3V.js"></script>
|
|
14
|
+
<link rel="modulepreload" crossorigin href="/ai-gateway/assets/base-ui-Bj5tb_Ph.js">
|
|
15
|
+
<link rel="modulepreload" crossorigin href="/ai-gateway/assets/recharts-DPC0gOrj.js">
|
|
16
|
+
<link rel="modulepreload" crossorigin href="/ai-gateway/assets/index-Cchd2o0X.js">
|
|
17
17
|
<link rel="stylesheet" crossorigin href="/ai-gateway/assets/index-CO6XH1b7.css">
|
|
18
18
|
</head>
|
|
19
19
|
<body>
|
package/package.json
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dudousxd/nestjs-agent-dashboard",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/DavideCarvalho/nestjs-agent.git",
|
|
7
7
|
"directory": "packages/dashboard"
|
|
8
8
|
},
|
|
9
|
+
"homepage": "https://davidecarvalho.github.io/aviary/docs/agent",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/DavideCarvalho/nestjs-agent/issues"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"nestjs",
|
|
15
|
+
"agent",
|
|
16
|
+
"dashboard"
|
|
17
|
+
],
|
|
9
18
|
"description": "Embedded AI-gateway governance console (spend, models, actors/budgets, runs/tools, live feed) for nestjs-agent — bundled React SPA served by NestJS",
|
|
10
19
|
"license": "MIT",
|
|
11
20
|
"author": "Davide Carvalho",
|
|
@@ -56,44 +65,45 @@
|
|
|
56
65
|
}
|
|
57
66
|
},
|
|
58
67
|
"dependencies": {
|
|
59
|
-
"@dudousxd/nestjs-diagnostics": "0.7.
|
|
68
|
+
"@dudousxd/nestjs-diagnostics": "0.7.1",
|
|
60
69
|
"react-is": "19.2.8",
|
|
61
70
|
"recharts": "3.10.1"
|
|
62
71
|
},
|
|
63
72
|
"devDependencies": {
|
|
64
|
-
"@base-ui
|
|
73
|
+
"@base-ui/react": "1.0.0",
|
|
65
74
|
"@nestjs/common": "12.0.1",
|
|
66
75
|
"@nestjs/core": "12.0.1",
|
|
67
76
|
"@nestjs/platform-express": "12.0.1",
|
|
68
77
|
"@nestjs/testing": "12.0.1",
|
|
69
78
|
"@swc/core": "1.15.41",
|
|
70
79
|
"@tanstack/react-query": "5.62.7",
|
|
71
|
-
"@testing-library/dom": "10.4.
|
|
72
|
-
"@testing-library/react": "16.3.
|
|
73
|
-
"@types/react": "19.2.
|
|
74
|
-
"@types/react-dom": "19.2.
|
|
75
|
-
"@types/supertest": "6.0.
|
|
80
|
+
"@testing-library/dom": "10.4.1",
|
|
81
|
+
"@testing-library/react": "16.3.3",
|
|
82
|
+
"@types/react": "19.2.18",
|
|
83
|
+
"@types/react-dom": "19.2.7",
|
|
84
|
+
"@types/supertest": "6.0.3",
|
|
76
85
|
"@vitejs/plugin-react": "4.3.4",
|
|
77
86
|
"autoprefixer": "10.4.20",
|
|
78
87
|
"class-variance-authority": "0.7.1",
|
|
79
88
|
"clsx": "2.1.1",
|
|
80
89
|
"jsdom": "26.1.0",
|
|
81
|
-
"postcss": "8.5.
|
|
82
|
-
"react": "19.2.
|
|
83
|
-
"react-dom": "19.2.
|
|
90
|
+
"postcss": "8.5.28",
|
|
91
|
+
"react": "19.2.8",
|
|
92
|
+
"react-dom": "19.2.8",
|
|
84
93
|
"reflect-metadata": "0.2.2",
|
|
85
94
|
"rxjs": "7.8.1",
|
|
86
95
|
"supertest": "7.0.0",
|
|
87
96
|
"tailwind-merge": "3.6.0",
|
|
88
|
-
"tailwindcss": "3.4.
|
|
97
|
+
"tailwindcss": "3.4.19",
|
|
89
98
|
"tsup": "8.3.5",
|
|
90
99
|
"typescript": "5.9.3",
|
|
91
100
|
"vite": "5.4.21",
|
|
92
101
|
"vitest": "2.1.9",
|
|
93
|
-
"@dudousxd/nestjs-agent-core": "0.
|
|
102
|
+
"@dudousxd/nestjs-agent-core": "0.15.1"
|
|
94
103
|
},
|
|
95
104
|
"scripts": {
|
|
96
105
|
"build": "vite build && tsup && tsc -p tsconfig.client.json && tsc -p tsconfig.react.json",
|
|
97
|
-
"typecheck": "tsc -p tsconfig.server.json --noEmit && tsc -p tsconfig.server.spec.json --noEmit && tsc -p tsconfig.app.json --noEmit && tsc -p tsconfig.react.spec.json --noEmit"
|
|
106
|
+
"typecheck": "tsc -p tsconfig.server.json --noEmit && tsc -p tsconfig.server.spec.json --noEmit && tsc -p tsconfig.app.json --noEmit && tsc -p tsconfig.react.spec.json --noEmit",
|
|
107
|
+
"typecheck:specs": "tsc -p tsconfig.server.spec.json --noEmit && tsc -p tsconfig.app.json --noEmit && tsc -p tsconfig.react.spec.json --noEmit"
|
|
98
108
|
}
|
|
99
109
|
}
|