@syhr/sy-graph 1.0.0 → 1.0.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/README.md +186 -23
- package/lib/sy-graph.cjs +1 -1
- package/lib/{sy-graph.es.js → sy-graph.mjs} +1 -1
- package/lib/sy-graph.umd.js +13 -12
- package/package.json +29 -17
- /package/lib/{style.css → graph.css} +0 -0
package/README.md
CHANGED
|
@@ -7,10 +7,15 @@
|
|
|
7
7
|
- 🎨 基于 Meta2D 的强大图形编辑能力
|
|
8
8
|
- 🔧 支持多种图形类型和图表
|
|
9
9
|
- 📱 响应式设计,支持移动端
|
|
10
|
-
- 🎯 TypeScript 支持
|
|
10
|
+
- 🎯 完整的 TypeScript 支持
|
|
11
11
|
- 📦 多种模块格式支持(ES、UMD、CommonJS)
|
|
12
12
|
- 🔌 Vue 3 插件化架构
|
|
13
|
-
- 🛡️
|
|
13
|
+
- 🛡️ 安全的全局属性处理,避免变量冲突
|
|
14
|
+
- 🔄 实时数据更新和 WebSocket 支持
|
|
15
|
+
- 🎛️ 可定制的错误处理和回调机制
|
|
16
|
+
- 🚀 高性能渲染和批量更新
|
|
17
|
+
- 🎨 多层级显示控制
|
|
18
|
+
- 📡 支持自定义 API 和事件总线注入
|
|
14
19
|
|
|
15
20
|
## 安装
|
|
16
21
|
|
|
@@ -23,7 +28,11 @@ npm install @syhr/sy-graph
|
|
|
23
28
|
确保你的项目已安装以下 peer dependencies:
|
|
24
29
|
|
|
25
30
|
```bash
|
|
26
|
-
|
|
31
|
+
# 必需依赖
|
|
32
|
+
npm install vue@^3.0.0 element-plus@^2.0.0 @meta2d/core@^1.0.0 @meta2d/svg@^1.0.0 @meta2d/utils@^1.0.0 lodash-es@^4.17.0
|
|
33
|
+
|
|
34
|
+
# 可选依赖(根据需要安装)
|
|
35
|
+
npm install pinia@^2.0.0 vue-router@^4.0.0
|
|
27
36
|
```
|
|
28
37
|
|
|
29
38
|
## 使用
|
|
@@ -58,59 +67,115 @@ export default {
|
|
|
58
67
|
```vue
|
|
59
68
|
<template>
|
|
60
69
|
<div>
|
|
61
|
-
<SyGraph
|
|
70
|
+
<SyGraph
|
|
71
|
+
ref="graphRef"
|
|
72
|
+
:url="graphUrl"
|
|
73
|
+
:local="false"
|
|
74
|
+
:show-map="true"
|
|
75
|
+
:config="graphConfig"
|
|
76
|
+
@loaded="handleLoaded"
|
|
77
|
+
@error="handleError"
|
|
78
|
+
@custom-msg="handleCustomMsg"
|
|
79
|
+
@socket-msg="handleSocketMsg"
|
|
80
|
+
/>
|
|
62
81
|
</div>
|
|
63
82
|
</template>
|
|
64
83
|
|
|
65
84
|
<script setup>
|
|
66
85
|
import { ref } from 'vue';
|
|
67
86
|
|
|
87
|
+
const graphRef = ref();
|
|
68
88
|
const graphUrl = ref('path/to/your/graph.json');
|
|
69
89
|
|
|
90
|
+
// 自定义配置
|
|
91
|
+
const graphConfig = ref({
|
|
92
|
+
socketUrl: 'ws://localhost:8080',
|
|
93
|
+
stationIdKey: 'STATION_ID',
|
|
94
|
+
userTokenKey: 'USER_TOKEN',
|
|
95
|
+
messageDelay: 200,
|
|
96
|
+
debounceDelay: 100,
|
|
97
|
+
enableAutoFit: true,
|
|
98
|
+
enableWebSocket: true,
|
|
99
|
+
});
|
|
100
|
+
|
|
70
101
|
const handleLoaded = (stage) => {
|
|
71
102
|
console.log('Graph loaded:', stage);
|
|
103
|
+
// 可以通过 stage 进行图纸操作
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
const handleError = (errorInfo) => {
|
|
107
|
+
console.error('Graph error:', errorInfo);
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
const handleCustomMsg = (msg) => {
|
|
111
|
+
console.log('Custom message:', msg);
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
const handleSocketMsg = (msg) => {
|
|
115
|
+
console.log('Socket message:', msg);
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
// 组件方法调用示例
|
|
119
|
+
const toggleLevel = () => {
|
|
120
|
+
graphRef.value?.changeVisibleByLevel(3, false);
|
|
72
121
|
};
|
|
73
122
|
|
|
74
|
-
const
|
|
75
|
-
|
|
123
|
+
const batchUpdate = (dataList) => {
|
|
124
|
+
graphRef.value?.batchUpdatePen(dataList);
|
|
76
125
|
};
|
|
77
126
|
</script>
|
|
78
127
|
```
|
|
79
128
|
|
|
80
129
|
## Props
|
|
81
130
|
|
|
82
|
-
| 属性
|
|
83
|
-
|
|
|
84
|
-
| url
|
|
85
|
-
|
|
|
86
|
-
|
|
|
87
|
-
|
|
|
88
|
-
|
|
|
89
|
-
|
|
|
131
|
+
| 属性 | 类型 | 默认值 | 说明 |
|
|
132
|
+
| --------------- | ------- | -------------- | -------------------- |
|
|
133
|
+
| url | String | '' | 图纸数据 URL |
|
|
134
|
+
| gid | String | '' | 图纸 ID |
|
|
135
|
+
| data | Object | null | 直接传入的图纸数据 |
|
|
136
|
+
| local | Boolean | false | 是否为本地数据 |
|
|
137
|
+
| config | Object | 默认配置对象 | WebSocket 和其他配置 |
|
|
138
|
+
| showMap | Boolean | false | 是否显示地图 |
|
|
139
|
+
| isFactory | Boolean | false | 是否为工厂模式 |
|
|
140
|
+
| apiInstance | Object | 内置 Api | 自定义 API 实例 |
|
|
141
|
+
| mittInstance | Object | 内置 mitt | 自定义事件总线实例 |
|
|
142
|
+
| customCallbacks | Object | {} | 自定义回调函数集合 |
|
|
143
|
+
| errorHandler | Object | 默认错误处理器 | 错误处理配置 |
|
|
90
144
|
|
|
91
145
|
## Events
|
|
92
146
|
|
|
93
|
-
| 事件名
|
|
94
|
-
|
|
|
95
|
-
|
|
|
96
|
-
|
|
|
147
|
+
| 事件名 | 说明 | 参数 |
|
|
148
|
+
| ---------- | -------------- | ----------------------- |
|
|
149
|
+
| error | 错误事件 | errorInfo: 错误信息对象 |
|
|
150
|
+
| loaded | 图纸加载完成 | stage: Meta2D 实例 |
|
|
151
|
+
| custom-msg | 自定义消息事件 | msg: 消息对象 |
|
|
152
|
+
| socket-msg | WebSocket 消息 | msg: WebSocket 消息 |
|
|
97
153
|
|
|
98
154
|
## 方法
|
|
99
155
|
|
|
100
156
|
通过 ref 获取组件实例后可调用以下方法:
|
|
101
157
|
|
|
102
|
-
- `
|
|
103
|
-
- `batchUpdatePen(dataList)` - 批量更新图元
|
|
104
|
-
- `setValue(pen, render)` - 设置图元属性
|
|
105
|
-
- `getAllPens()` - 获取所有图元
|
|
158
|
+
- `setValue(pen, render = true)` - 设置图元属性
|
|
106
159
|
- `getStage()` - 获取 Meta2D 实例
|
|
160
|
+
- `getAllPens()` - 获取所有图元
|
|
161
|
+
- `batchUpdatePen(dataList)` - 批量更新图元
|
|
162
|
+
- `handleLineCross()` - 处理线条交叉
|
|
163
|
+
- `changeVisibleByLevel(level, isStrict = false)` - 切换显示层级
|
|
107
164
|
|
|
108
165
|
## TypeScript 支持
|
|
109
166
|
|
|
110
167
|
本包提供完整的 TypeScript 类型声明:
|
|
111
168
|
|
|
112
169
|
```typescript
|
|
113
|
-
import
|
|
170
|
+
import { ref } from 'vue';
|
|
171
|
+
import type {
|
|
172
|
+
SyGraphProps,
|
|
173
|
+
SyGraphInstance,
|
|
174
|
+
GraphConfig,
|
|
175
|
+
CustomCallbacks,
|
|
176
|
+
ErrorHandler,
|
|
177
|
+
DataItem,
|
|
178
|
+
} from '@syhr/sy-graph';
|
|
114
179
|
|
|
115
180
|
// 组件 ref 类型
|
|
116
181
|
const graphRef = ref<SyGraphInstance>();
|
|
@@ -119,7 +184,105 @@ const graphRef = ref<SyGraphInstance>();
|
|
|
119
184
|
const props: SyGraphProps = {
|
|
120
185
|
url: 'path/to/graph.json',
|
|
121
186
|
showMap: true,
|
|
187
|
+
config: {
|
|
188
|
+
socketUrl: 'ws://localhost:8080',
|
|
189
|
+
enableAutoFit: true,
|
|
190
|
+
enableWebSocket: true,
|
|
191
|
+
} as GraphConfig,
|
|
192
|
+
customCallbacks: {
|
|
193
|
+
onStageLoaded: (stage) => console.log('Stage loaded:', stage),
|
|
194
|
+
onBatchUpdate: (dataList: DataItem[]) => console.log('Batch update:', dataList),
|
|
195
|
+
} as CustomCallbacks,
|
|
196
|
+
errorHandler: {
|
|
197
|
+
showMessage: true,
|
|
198
|
+
callback: (errorInfo) => console.error('Custom error handler:', errorInfo),
|
|
199
|
+
} as ErrorHandler,
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
// 方法调用示例
|
|
203
|
+
const toggleLevel = (level: number, isStrict: boolean = false) => {
|
|
204
|
+
graphRef.value?.changeVisibleByLevel(level, isStrict);
|
|
122
205
|
};
|
|
206
|
+
|
|
207
|
+
const updateData = (dataList: DataItem[]) => {
|
|
208
|
+
graphRef.value?.batchUpdatePen(dataList);
|
|
209
|
+
};
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
## 配置选项详解
|
|
213
|
+
|
|
214
|
+
### GraphConfig 配置
|
|
215
|
+
|
|
216
|
+
```typescript
|
|
217
|
+
const config = {
|
|
218
|
+
socketUrl: 'ws://localhost:8080', // WebSocket服务器地址
|
|
219
|
+
stationIdKey: 'STATION_ID', // 站点ID存储键名
|
|
220
|
+
userTokenKey: 'USER_TOKEN', // 用户令牌存储键名
|
|
221
|
+
messageDelay: 200, // 消息处理延迟(毫秒)
|
|
222
|
+
debounceDelay: 100, // 防抖延迟(毫秒)
|
|
223
|
+
enableAutoFit: true, // 是否自动适应视图
|
|
224
|
+
enableWebSocket: true, // 是否启用WebSocket
|
|
225
|
+
graphSocket: 'graph:socket', // 图纸Socket事件名
|
|
226
|
+
};
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
### CustomCallbacks 回调
|
|
230
|
+
|
|
231
|
+
```typescript
|
|
232
|
+
const callbacks = {
|
|
233
|
+
onWebSocketMessage: (message) => {
|
|
234
|
+
// 处理WebSocket消息
|
|
235
|
+
},
|
|
236
|
+
onCustomMessage: (msg) => {
|
|
237
|
+
// 处理自定义消息
|
|
238
|
+
},
|
|
239
|
+
onStageLoaded: (stage) => {
|
|
240
|
+
// 图纸加载完成后的处理
|
|
241
|
+
},
|
|
242
|
+
onGraphLoaded: (url) => {
|
|
243
|
+
// 图纸URL加载完成
|
|
244
|
+
},
|
|
245
|
+
onBatchUpdate: (dataList) => {
|
|
246
|
+
// 批量数据更新后的处理
|
|
247
|
+
},
|
|
248
|
+
onLevelChange: (level, isStrict) => {
|
|
249
|
+
// 显示层级变更后的处理
|
|
250
|
+
},
|
|
251
|
+
};
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
## 使用场景
|
|
255
|
+
|
|
256
|
+
### 1. 基础图纸展示
|
|
257
|
+
|
|
258
|
+
```vue
|
|
259
|
+
<SyGraph :url="'/api/graph/123'" />
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
### 2. 本地图纸文件
|
|
263
|
+
|
|
264
|
+
```vue
|
|
265
|
+
<SyGraph :url="'/assets/graph.json'" :local="true" />
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
### 3. 直接传入数据
|
|
269
|
+
|
|
270
|
+
```vue
|
|
271
|
+
<SyGraph :data="graphData" />
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
### 4. 完整配置示例
|
|
275
|
+
|
|
276
|
+
```vue
|
|
277
|
+
<SyGraph
|
|
278
|
+
:gid="graphId"
|
|
279
|
+
:config="graphConfig"
|
|
280
|
+
:custom-callbacks="callbacks"
|
|
281
|
+
:error-handler="errorHandler"
|
|
282
|
+
:show-map="true"
|
|
283
|
+
@loaded="onGraphLoaded"
|
|
284
|
+
@error="onGraphError"
|
|
285
|
+
/>
|
|
123
286
|
```
|
|
124
287
|
|
|
125
288
|
## 浏览器支持
|
package/lib/sy-graph.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var ff=Object.defineProperty,cf=Object.defineProperties;var uf=Object.getOwnPropertyDescriptors;var di=Object.getOwnPropertySymbols;var lf=Object.prototype.hasOwnProperty,hf=Object.prototype.propertyIsEnumerable;var Nt=(t,e)=>(e=Symbol[t])?e:Symbol.for("Symbol."+t),xf=t=>{throw TypeError(t)};var w0=(t,e,r)=>e in t?ff(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,te=(t,e)=>{for(var r in e||(e={}))lf.call(e,r)&&w0(t,r,e[r]);if(di)for(var r of di(e))hf.call(e,r)&&w0(t,r,e[r]);return t},Te=(t,e)=>cf(t,uf(e));var gt=(t,e,r)=>w0(t,typeof e!="symbol"?e+"":e,r);var We=(t,e,r)=>new Promise((n,i)=>{var o=x=>{try{s(r.next(x))}catch(f){i(f)}},a=x=>{try{s(r.throw(x))}catch(f){i(f)}},s=x=>x.done?n(x.value):Promise.resolve(x.value).then(o,a);s((r=r.apply(t,e)).next())}),_t=function(t,e){this[0]=t,this[1]=e},C0=(t,e,r)=>{var n=(a,s,x,f)=>{try{var l=r[a](s),v=(s=l.value)instanceof _t,d=l.done;Promise.resolve(v?s[0]:s).then(g=>v?n(a==="return"?a:"next",s[1]?{done:g.done,value:g.value}:g,x,f):x({value:g,done:d})).catch(g=>n("throw",g,x,f))}catch(g){f(g)}},i=a=>o[a]=s=>new Promise((x,f)=>n(a,s,x,f)),o={};return r=r.apply(t,e),o[Nt("asyncIterator")]=()=>o,i("next"),i("throw"),i("return"),o},b0=t=>{var e=t[Nt("asyncIterator")],r=!1,n,i={};return e==null?(e=t[Nt("iterator")](),n=o=>i[o]=a=>e[o](a)):(e=e.call(t),n=o=>i[o]=a=>{if(r){if(r=!1,o==="throw")throw a;return a}return r=!0,{done:!1,value:new _t(new Promise(s=>{var x=e[o](a);x instanceof Object||xf("Object expected"),s(x)}),1)}}),i[Nt("iterator")]=()=>i,n("next"),"throw"in e?n("throw"):i.throw=o=>{throw o},"return"in e&&n("return"),i},pi=(t,e,r)=>(e=t[Nt("asyncIterator")])?e.call(t):(t=t[Nt("iterator")](),e={},r=(n,i)=>(i=t[n])&&(e[n]=o=>new Promise((a,s,x)=>(o=i.call(t,o),x=o.done,Promise.resolve(o.value).then(f=>a({value:f,done:x}),s)))),r("next"),r("return"),e);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const pe=require("vue"),df=require("lodash-es"),Ze=require("element-plus"),va=require("@meta2d/utils"),Ie=require("@meta2d/core"),pf=require("@meta2d/plugin-mind-core"),vf=require("@meta2d/plugin-mind-collapse"),yf=require("@meta2d/form-diagram"),mf=require("@meta2d/class-diagram"),gf=require("@meta2d/le5le-charts"),vi=require("@meta2d/flow-diagram"),F0=require("@meta2d/fta-diagram"),yi=require("@meta2d/sequence-diagram"),mi=require("@meta2d/activity-diagram");var ce=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Xn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Af(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var Xt=TypeError;const Ef={},Bf=Object.freeze(Object.defineProperty({__proto__:null,default:Ef},Symbol.toStringTag,{value:"Module"})),ya=Af(Bf);var Yn=typeof Map=="function"&&Map.prototype,D0=Object.getOwnPropertyDescriptor&&Yn?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Gr=Yn&&D0&&typeof D0.get=="function"?D0.get:null,gi=Yn&&Map.prototype.forEach,Zn=typeof Set=="function"&&Set.prototype,_0=Object.getOwnPropertyDescriptor&&Zn?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Kr=Zn&&_0&&typeof _0.get=="function"?_0.get:null,Ai=Zn&&Set.prototype.forEach,wf=typeof WeakMap=="function"&&WeakMap.prototype,nr=wf?WeakMap.prototype.has:null,Cf=typeof WeakSet=="function"&&WeakSet.prototype,ir=Cf?WeakSet.prototype.has:null,bf=typeof WeakRef=="function"&&WeakRef.prototype,Ei=bf?WeakRef.prototype.deref:null,Ff=Boolean.prototype.valueOf,Df=Object.prototype.toString,_f=Function.prototype.toString,Sf=String.prototype.match,Qn=String.prototype.slice,Et=String.prototype.replace,Tf=String.prototype.toUpperCase,Bi=String.prototype.toLowerCase,ma=RegExp.prototype.test,wi=Array.prototype.concat,lt=Array.prototype.join,If=Array.prototype.slice,Ci=Math.floor,kn=typeof BigInt=="function"?BigInt.prototype.valueOf:null,S0=Object.getOwnPropertySymbols,Pn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Kt=typeof Symbol=="function"&&typeof Symbol.iterator=="object",or=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Kt||!0)?Symbol.toStringTag:null,ga=Object.prototype.propertyIsEnumerable,bi=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Fi(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||ma.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-Ci(-t):Ci(t);if(n!==t){var i=String(n),o=Qn.call(e,i.length+1);return Et.call(i,r,"$&_")+"."+Et.call(Et.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Et.call(e,r,"$&_")}var Mn=ya,Di=Mn.custom,_i=Ba(Di)?Di:null,Aa={__proto__:null,double:'"',single:"'"},Rf={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},Zr=function t(e,r,n,i){var o=r||{};if(dt(o,"quoteStyle")&&!dt(Aa,o.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(dt(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=dt(o,"customInspect")?o.customInspect:!0;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(dt(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(dt(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=o.numericSeparator;if(typeof e=="undefined")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Ca(e,o);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var x=String(e);return s?Fi(e,x):x}if(typeof e=="bigint"){var f=String(e)+"n";return s?Fi(e,f):f}var l=typeof o.depth=="undefined"?5:o.depth;if(typeof n=="undefined"&&(n=0),n>=l&&l>0&&typeof e=="object")return Ln(e)?"[Array]":"[Object]";var v=Yf(o,n);if(typeof i=="undefined")i=[];else if(wa(i,e)>=0)return"[Circular]";function d(S,N,M){if(N&&(i=If.call(i),i.push(N)),M){var H={depth:o.depth};return dt(o,"quoteStyle")&&(H.quoteStyle=o.quoteStyle),t(S,H,n+1,i)}return t(S,o,n+1,i)}if(typeof e=="function"&&!Si(e)){var g=$f(e),y=Sr(e,d);return"[Function"+(g?": "+g:" (anonymous)")+"]"+(y.length>0?" { "+lt.call(y,", ")+" }":"")}if(Ba(e)){var m=Kt?Et.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Pn.call(e);return typeof e=="object"&&!Kt?er(m):m}if(Vf(e)){for(var A="<"+Bi.call(String(e.nodeName)),D=e.attributes||[],C=0;C<D.length;C++)A+=" "+D[C].name+"="+Ea(Of(D[C].value),"double",o);return A+=">",e.childNodes&&e.childNodes.length&&(A+="..."),A+="</"+Bi.call(String(e.nodeName))+">",A}if(Ln(e)){if(e.length===0)return"[]";var B=Sr(e,d);return v&&!Xf(B)?"["+Un(B,v)+"]":"[ "+lt.call(B,", ")+" ]"}if(Pf(e)){var b=Sr(e,d);return!("cause"in Error.prototype)&&"cause"in e&&!ga.call(e,"cause")?"{ ["+String(e)+"] "+lt.call(wi.call("[cause]: "+d(e.cause),b),", ")+" }":b.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+lt.call(b,", ")+" }"}if(typeof e=="object"&&a){if(_i&&typeof e[_i]=="function"&&Mn)return Mn(e,{depth:l-n});if(a!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(qf(e)){var _=[];return gi&&gi.call(e,function(S,N){_.push(d(N,e,!0)+" => "+d(S,e))}),Ti("Map",Gr.call(e),_,v)}if(Gf(e)){var T=[];return Ai&&Ai.call(e,function(S){T.push(d(S,e))}),Ti("Set",Kr.call(e),T,v)}if(zf(e))return T0("WeakMap");if(Kf(e))return T0("WeakSet");if(Wf(e))return T0("WeakRef");if(Lf(e))return er(d(Number(e)));if(Nf(e))return er(d(kn.call(e)));if(Uf(e))return er(Ff.call(e));if(Mf(e))return er(d(String(e)));if(typeof window!="undefined"&&e===window)return"{ [object Window] }";if(typeof globalThis!="undefined"&&e===globalThis||typeof ce!="undefined"&&e===ce)return"{ [object globalThis] }";if(!kf(e)&&!Si(e)){var k=Sr(e,d),$=bi?bi(e)===Object.prototype:e instanceof Object||e.constructor===Object,X=e instanceof Object?"":"null prototype",I=!$&&or&&Object(e)===e&&or in e?Qn.call(Bt(e),8,-1):X?"Object":"",P=$||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",G=P+(I||X?"["+lt.call(wi.call([],I||[],X||[]),": ")+"] ":"");return k.length===0?G+"{}":v?G+"{"+Un(k,v)+"}":G+"{ "+lt.call(k,", ")+" }"}return String(e)};function Ea(t,e,r){var n=r.quoteStyle||e,i=Aa[n];return i+t+i}function Of(t){return Et.call(String(t),/"/g,""")}function Pt(t){return!or||!(typeof t=="object"&&(or in t||typeof t[or]!="undefined"))}function Ln(t){return Bt(t)==="[object Array]"&&Pt(t)}function kf(t){return Bt(t)==="[object Date]"&&Pt(t)}function Si(t){return Bt(t)==="[object RegExp]"&&Pt(t)}function Pf(t){return Bt(t)==="[object Error]"&&Pt(t)}function Mf(t){return Bt(t)==="[object String]"&&Pt(t)}function Lf(t){return Bt(t)==="[object Number]"&&Pt(t)}function Uf(t){return Bt(t)==="[object Boolean]"&&Pt(t)}function Ba(t){if(Kt)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!Pn)return!1;try{return Pn.call(t),!0}catch(e){}return!1}function Nf(t){if(!t||typeof t!="object"||!kn)return!1;try{return kn.call(t),!0}catch(e){}return!1}var Hf=Object.prototype.hasOwnProperty||function(t){return t in this};function dt(t,e){return Hf.call(t,e)}function Bt(t){return Df.call(t)}function $f(t){if(t.name)return t.name;var e=Sf.call(_f.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function wa(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function qf(t){if(!Gr||!t||typeof t!="object")return!1;try{Gr.call(t);try{Kr.call(t)}catch(e){return!0}return t instanceof Map}catch(e){}return!1}function zf(t){if(!nr||!t||typeof t!="object")return!1;try{nr.call(t,nr);try{ir.call(t,ir)}catch(e){return!0}return t instanceof WeakMap}catch(e){}return!1}function Wf(t){if(!Ei||!t||typeof t!="object")return!1;try{return Ei.call(t),!0}catch(e){}return!1}function Gf(t){if(!Kr||!t||typeof t!="object")return!1;try{Kr.call(t);try{Gr.call(t)}catch(e){return!0}return t instanceof Set}catch(e){}return!1}function Kf(t){if(!ir||!t||typeof t!="object")return!1;try{ir.call(t,ir);try{nr.call(t,nr)}catch(e){return!0}return t instanceof WeakSet}catch(e){}return!1}function Vf(t){return!t||typeof t!="object"?!1:typeof HTMLElement!="undefined"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function Ca(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Ca(Qn.call(t,0,e.maxStringLength),e)+n}var i=Rf[e.quoteStyle||"single"];i.lastIndex=0;var o=Et.call(Et.call(t,i,"\\$1"),/[\x00-\x1f]/g,jf);return Ea(o,"single",e)}function jf(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+Tf.call(e.toString(16))}function er(t){return"Object("+t+")"}function T0(t){return t+" { ? }"}function Ti(t,e,r,n){var i=n?Un(r,n):lt.call(r,", ");return t+" ("+e+") {"+i+"}"}function Xf(t){for(var e=0;e<t.length;e++)if(wa(t[e],`
|
|
1
|
+
"use strict";require('./graph.css');var ff=Object.defineProperty,cf=Object.defineProperties;var uf=Object.getOwnPropertyDescriptors;var di=Object.getOwnPropertySymbols;var lf=Object.prototype.hasOwnProperty,hf=Object.prototype.propertyIsEnumerable;var Nt=(t,e)=>(e=Symbol[t])?e:Symbol.for("Symbol."+t),xf=t=>{throw TypeError(t)};var w0=(t,e,r)=>e in t?ff(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,te=(t,e)=>{for(var r in e||(e={}))lf.call(e,r)&&w0(t,r,e[r]);if(di)for(var r of di(e))hf.call(e,r)&&w0(t,r,e[r]);return t},Te=(t,e)=>cf(t,uf(e));var gt=(t,e,r)=>w0(t,typeof e!="symbol"?e+"":e,r);var We=(t,e,r)=>new Promise((n,i)=>{var o=x=>{try{s(r.next(x))}catch(f){i(f)}},a=x=>{try{s(r.throw(x))}catch(f){i(f)}},s=x=>x.done?n(x.value):Promise.resolve(x.value).then(o,a);s((r=r.apply(t,e)).next())}),_t=function(t,e){this[0]=t,this[1]=e},C0=(t,e,r)=>{var n=(a,s,x,f)=>{try{var l=r[a](s),v=(s=l.value)instanceof _t,d=l.done;Promise.resolve(v?s[0]:s).then(g=>v?n(a==="return"?a:"next",s[1]?{done:g.done,value:g.value}:g,x,f):x({value:g,done:d})).catch(g=>n("throw",g,x,f))}catch(g){f(g)}},i=a=>o[a]=s=>new Promise((x,f)=>n(a,s,x,f)),o={};return r=r.apply(t,e),o[Nt("asyncIterator")]=()=>o,i("next"),i("throw"),i("return"),o},b0=t=>{var e=t[Nt("asyncIterator")],r=!1,n,i={};return e==null?(e=t[Nt("iterator")](),n=o=>i[o]=a=>e[o](a)):(e=e.call(t),n=o=>i[o]=a=>{if(r){if(r=!1,o==="throw")throw a;return a}return r=!0,{done:!1,value:new _t(new Promise(s=>{var x=e[o](a);x instanceof Object||xf("Object expected"),s(x)}),1)}}),i[Nt("iterator")]=()=>i,n("next"),"throw"in e?n("throw"):i.throw=o=>{throw o},"return"in e&&n("return"),i},pi=(t,e,r)=>(e=t[Nt("asyncIterator")])?e.call(t):(t=t[Nt("iterator")](),e={},r=(n,i)=>(i=t[n])&&(e[n]=o=>new Promise((a,s,x)=>(o=i.call(t,o),x=o.done,Promise.resolve(o.value).then(f=>a({value:f,done:x}),s)))),r("next"),r("return"),e);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const pe=require("vue"),df=require("lodash-es"),Ze=require("element-plus"),va=require("@meta2d/utils"),Ie=require("@meta2d/core"),pf=require("@meta2d/plugin-mind-core"),vf=require("@meta2d/plugin-mind-collapse"),yf=require("@meta2d/form-diagram"),mf=require("@meta2d/class-diagram"),gf=require("@meta2d/le5le-charts"),vi=require("@meta2d/flow-diagram"),F0=require("@meta2d/fta-diagram"),yi=require("@meta2d/sequence-diagram"),mi=require("@meta2d/activity-diagram");var ce=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Xn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Af(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var Xt=TypeError;const Ef={},Bf=Object.freeze(Object.defineProperty({__proto__:null,default:Ef},Symbol.toStringTag,{value:"Module"})),ya=Af(Bf);var Yn=typeof Map=="function"&&Map.prototype,D0=Object.getOwnPropertyDescriptor&&Yn?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Gr=Yn&&D0&&typeof D0.get=="function"?D0.get:null,gi=Yn&&Map.prototype.forEach,Zn=typeof Set=="function"&&Set.prototype,_0=Object.getOwnPropertyDescriptor&&Zn?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Kr=Zn&&_0&&typeof _0.get=="function"?_0.get:null,Ai=Zn&&Set.prototype.forEach,wf=typeof WeakMap=="function"&&WeakMap.prototype,nr=wf?WeakMap.prototype.has:null,Cf=typeof WeakSet=="function"&&WeakSet.prototype,ir=Cf?WeakSet.prototype.has:null,bf=typeof WeakRef=="function"&&WeakRef.prototype,Ei=bf?WeakRef.prototype.deref:null,Ff=Boolean.prototype.valueOf,Df=Object.prototype.toString,_f=Function.prototype.toString,Sf=String.prototype.match,Qn=String.prototype.slice,Et=String.prototype.replace,Tf=String.prototype.toUpperCase,Bi=String.prototype.toLowerCase,ma=RegExp.prototype.test,wi=Array.prototype.concat,lt=Array.prototype.join,If=Array.prototype.slice,Ci=Math.floor,kn=typeof BigInt=="function"?BigInt.prototype.valueOf:null,S0=Object.getOwnPropertySymbols,Pn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Kt=typeof Symbol=="function"&&typeof Symbol.iterator=="object",or=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Kt||!0)?Symbol.toStringTag:null,ga=Object.prototype.propertyIsEnumerable,bi=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Fi(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||ma.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-Ci(-t):Ci(t);if(n!==t){var i=String(n),o=Qn.call(e,i.length+1);return Et.call(i,r,"$&_")+"."+Et.call(Et.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Et.call(e,r,"$&_")}var Mn=ya,Di=Mn.custom,_i=Ba(Di)?Di:null,Aa={__proto__:null,double:'"',single:"'"},Rf={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},Zr=function t(e,r,n,i){var o=r||{};if(dt(o,"quoteStyle")&&!dt(Aa,o.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(dt(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=dt(o,"customInspect")?o.customInspect:!0;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(dt(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(dt(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=o.numericSeparator;if(typeof e=="undefined")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Ca(e,o);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var x=String(e);return s?Fi(e,x):x}if(typeof e=="bigint"){var f=String(e)+"n";return s?Fi(e,f):f}var l=typeof o.depth=="undefined"?5:o.depth;if(typeof n=="undefined"&&(n=0),n>=l&&l>0&&typeof e=="object")return Ln(e)?"[Array]":"[Object]";var v=Yf(o,n);if(typeof i=="undefined")i=[];else if(wa(i,e)>=0)return"[Circular]";function d(S,N,M){if(N&&(i=If.call(i),i.push(N)),M){var H={depth:o.depth};return dt(o,"quoteStyle")&&(H.quoteStyle=o.quoteStyle),t(S,H,n+1,i)}return t(S,o,n+1,i)}if(typeof e=="function"&&!Si(e)){var g=$f(e),y=Sr(e,d);return"[Function"+(g?": "+g:" (anonymous)")+"]"+(y.length>0?" { "+lt.call(y,", ")+" }":"")}if(Ba(e)){var m=Kt?Et.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Pn.call(e);return typeof e=="object"&&!Kt?er(m):m}if(Vf(e)){for(var A="<"+Bi.call(String(e.nodeName)),D=e.attributes||[],C=0;C<D.length;C++)A+=" "+D[C].name+"="+Ea(Of(D[C].value),"double",o);return A+=">",e.childNodes&&e.childNodes.length&&(A+="..."),A+="</"+Bi.call(String(e.nodeName))+">",A}if(Ln(e)){if(e.length===0)return"[]";var B=Sr(e,d);return v&&!Xf(B)?"["+Un(B,v)+"]":"[ "+lt.call(B,", ")+" ]"}if(Pf(e)){var b=Sr(e,d);return!("cause"in Error.prototype)&&"cause"in e&&!ga.call(e,"cause")?"{ ["+String(e)+"] "+lt.call(wi.call("[cause]: "+d(e.cause),b),", ")+" }":b.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+lt.call(b,", ")+" }"}if(typeof e=="object"&&a){if(_i&&typeof e[_i]=="function"&&Mn)return Mn(e,{depth:l-n});if(a!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(qf(e)){var _=[];return gi&&gi.call(e,function(S,N){_.push(d(N,e,!0)+" => "+d(S,e))}),Ti("Map",Gr.call(e),_,v)}if(Gf(e)){var T=[];return Ai&&Ai.call(e,function(S){T.push(d(S,e))}),Ti("Set",Kr.call(e),T,v)}if(zf(e))return T0("WeakMap");if(Kf(e))return T0("WeakSet");if(Wf(e))return T0("WeakRef");if(Lf(e))return er(d(Number(e)));if(Nf(e))return er(d(kn.call(e)));if(Uf(e))return er(Ff.call(e));if(Mf(e))return er(d(String(e)));if(typeof window!="undefined"&&e===window)return"{ [object Window] }";if(typeof globalThis!="undefined"&&e===globalThis||typeof ce!="undefined"&&e===ce)return"{ [object globalThis] }";if(!kf(e)&&!Si(e)){var k=Sr(e,d),$=bi?bi(e)===Object.prototype:e instanceof Object||e.constructor===Object,X=e instanceof Object?"":"null prototype",I=!$&&or&&Object(e)===e&&or in e?Qn.call(Bt(e),8,-1):X?"Object":"",P=$||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",G=P+(I||X?"["+lt.call(wi.call([],I||[],X||[]),": ")+"] ":"");return k.length===0?G+"{}":v?G+"{"+Un(k,v)+"}":G+"{ "+lt.call(k,", ")+" }"}return String(e)};function Ea(t,e,r){var n=r.quoteStyle||e,i=Aa[n];return i+t+i}function Of(t){return Et.call(String(t),/"/g,""")}function Pt(t){return!or||!(typeof t=="object"&&(or in t||typeof t[or]!="undefined"))}function Ln(t){return Bt(t)==="[object Array]"&&Pt(t)}function kf(t){return Bt(t)==="[object Date]"&&Pt(t)}function Si(t){return Bt(t)==="[object RegExp]"&&Pt(t)}function Pf(t){return Bt(t)==="[object Error]"&&Pt(t)}function Mf(t){return Bt(t)==="[object String]"&&Pt(t)}function Lf(t){return Bt(t)==="[object Number]"&&Pt(t)}function Uf(t){return Bt(t)==="[object Boolean]"&&Pt(t)}function Ba(t){if(Kt)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!Pn)return!1;try{return Pn.call(t),!0}catch(e){}return!1}function Nf(t){if(!t||typeof t!="object"||!kn)return!1;try{return kn.call(t),!0}catch(e){}return!1}var Hf=Object.prototype.hasOwnProperty||function(t){return t in this};function dt(t,e){return Hf.call(t,e)}function Bt(t){return Df.call(t)}function $f(t){if(t.name)return t.name;var e=Sf.call(_f.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function wa(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function qf(t){if(!Gr||!t||typeof t!="object")return!1;try{Gr.call(t);try{Kr.call(t)}catch(e){return!0}return t instanceof Map}catch(e){}return!1}function zf(t){if(!nr||!t||typeof t!="object")return!1;try{nr.call(t,nr);try{ir.call(t,ir)}catch(e){return!0}return t instanceof WeakMap}catch(e){}return!1}function Wf(t){if(!Ei||!t||typeof t!="object")return!1;try{return Ei.call(t),!0}catch(e){}return!1}function Gf(t){if(!Kr||!t||typeof t!="object")return!1;try{Kr.call(t);try{Gr.call(t)}catch(e){return!0}return t instanceof Set}catch(e){}return!1}function Kf(t){if(!ir||!t||typeof t!="object")return!1;try{ir.call(t,ir);try{nr.call(t,nr)}catch(e){return!0}return t instanceof WeakSet}catch(e){}return!1}function Vf(t){return!t||typeof t!="object"?!1:typeof HTMLElement!="undefined"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function Ca(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Ca(Qn.call(t,0,e.maxStringLength),e)+n}var i=Rf[e.quoteStyle||"single"];i.lastIndex=0;var o=Et.call(Et.call(t,i,"\\$1"),/[\x00-\x1f]/g,jf);return Ea(o,"single",e)}function jf(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+Tf.call(e.toString(16))}function er(t){return"Object("+t+")"}function T0(t){return t+" { ? }"}function Ti(t,e,r,n){var i=n?Un(r,n):lt.call(r,", ");return t+" ("+e+") {"+i+"}"}function Xf(t){for(var e=0;e<t.length;e++)if(wa(t[e],`
|
|
2
2
|
`)>=0)return!1;return!0}function Yf(t,e){var r;if(t.indent===" ")r=" ";else if(typeof t.indent=="number"&&t.indent>0)r=lt.call(Array(t.indent+1)," ");else return null;return{base:r,prev:lt.call(Array(e+1),r)}}function Un(t,e){if(t.length===0)return"";var r=`
|
|
3
3
|
`+e.prev+e.base;return r+lt.call(t,","+r)+`
|
|
4
4
|
`+e.prev}function Sr(t,e){var r=Ln(t),n=[];if(r){n.length=t.length;for(var i=0;i<t.length;i++)n[i]=dt(t,i)?e(t[i],t):""}var o=typeof S0=="function"?S0(t):[],a;if(Kt){a={};for(var s=0;s<o.length;s++)a["$"+o[s]]=o[s]}for(var x in t)dt(t,x)&&(r&&String(Number(x))===x&&x<t.length||Kt&&a["$"+x]instanceof Symbol||(ma.call(/[^\w$]/,x)?n.push(e(x,t)+": "+e(t[x],t)):n.push(x+": "+e(t[x],t))));if(typeof S0=="function")for(var f=0;f<o.length;f++)ga.call(t,o[f])&&n.push("["+e(o[f])+"]: "+e(t[o[f]],t));return n}var Zf=Zr,Qf=Xt,Qr=function(t,e,r){for(var n=t,i;(i=n.next)!=null;n=i)if(i.key===e)return n.next=i.next,r||(i.next=t.next,t.next=i),i},Jf=function(t,e){if(t){var r=Qr(t,e);return r&&r.value}},ec=function(t,e,r){var n=Qr(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}},tc=function(t,e){return t?!!Qr(t,e):!1},rc=function(t,e){if(t)return Qr(t,e,!0)},nc=function(){var e,r={assert:function(n){if(!r.has(n))throw new Qf("Side channel does not contain "+Zf(n))},delete:function(n){var i=e&&e.next,o=rc(e,n);return o&&i&&i===o&&(e=void 0),!!o},get:function(n){return Jf(e,n)},has:function(n){return tc(e,n)},set:function(n,i){e||(e={next:void 0}),ec(e,n,i)}};return r},ba=Object,ic=Error,oc=EvalError,ac=RangeError,sc=ReferenceError,fc=SyntaxError,cc=URIError,uc=Math.abs,lc=Math.floor,hc=Math.max,xc=Math.min,dc=Math.pow,pc=Math.round,vc=Number.isNaN||function(e){return e!==e},yc=vc,mc=function(e){return yc(e)||e===0?e:e<0?-1:1},gc=Object.getOwnPropertyDescriptor,Nr=gc;if(Nr)try{Nr([],"length")}catch(t){Nr=null}var Fa=Nr,Hr=Object.defineProperty||!1;if(Hr)try{Hr({},"a",{value:1})}catch(t){Hr=!1}var Ac=Hr,I0,Ii;function Ec(){return Ii||(Ii=1,I0=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[r]=i;for(var o in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(e,r);if(s.value!==i||s.enumerable!==!0)return!1}return!0}),I0}var R0,Ri;function Bc(){if(Ri)return R0;Ri=1;var t=typeof Symbol!="undefined"&&Symbol,e=Ec();return R0=function(){return typeof t!="function"||typeof Symbol!="function"||typeof t("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},R0}var O0,Oi;function Da(){return Oi||(Oi=1,O0=typeof Reflect!="undefined"&&Reflect.getPrototypeOf||null),O0}var k0,ki;function _a(){if(ki)return k0;ki=1;var t=ba;return k0=t.getPrototypeOf||null,k0}var P0,Pi;function wc(){if(Pi)return P0;Pi=1;var t="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,r=Math.max,n="[object Function]",i=function(x,f){for(var l=[],v=0;v<x.length;v+=1)l[v]=x[v];for(var d=0;d<f.length;d+=1)l[d+x.length]=f[d];return l},o=function(x,f){for(var l=[],v=f,d=0;v<x.length;v+=1,d+=1)l[d]=x[v];return l},a=function(s,x){for(var f="",l=0;l<s.length;l+=1)f+=s[l],l+1<s.length&&(f+=x);return f};return P0=function(x){var f=this;if(typeof f!="function"||e.apply(f)!==n)throw new TypeError(t+f);for(var l=o(arguments,1),v,d=function(){if(this instanceof v){var D=f.apply(this,i(l,arguments));return Object(D)===D?D:this}return f.apply(x,i(l,arguments))},g=r(0,f.length-l.length),y=[],m=0;m<g;m++)y[m]="$"+m;if(v=Function("binder","return function ("+a(y,",")+"){ return binder.apply(this,arguments); }")(d),f.prototype){var A=function(){};A.prototype=f.prototype,v.prototype=new A,A.prototype=null}return v},P0}var M0,Mi;function Jr(){if(Mi)return M0;Mi=1;var t=wc();return M0=Function.prototype.bind||t,M0}var L0,Li;function Jn(){return Li||(Li=1,L0=Function.prototype.call),L0}var U0,Ui;function Sa(){return Ui||(Ui=1,U0=Function.prototype.apply),U0}var Cc=typeof Reflect!="undefined"&&Reflect&&Reflect.apply,bc=Jr(),Fc=Sa(),Dc=Jn(),_c=Cc,Sc=_c||bc.call(Dc,Fc),Tc=Jr(),Ic=Xt,Rc=Jn(),Oc=Sc,Ta=function(e){if(e.length<1||typeof e[0]!="function")throw new Ic("a function is required");return Oc(Tc,Rc,e)},N0,Ni;function kc(){if(Ni)return N0;Ni=1;var t=Ta,e=Fa,r;try{r=[].__proto__===Array.prototype}catch(a){if(!a||typeof a!="object"||!("code"in a)||a.code!=="ERR_PROTO_ACCESS")throw a}var n=!!r&&e&&e(Object.prototype,"__proto__"),i=Object,o=i.getPrototypeOf;return N0=n&&typeof n.get=="function"?t([n.get]):typeof o=="function"?function(s){return o(s==null?s:i(s))}:!1,N0}var H0,Hi;function Pc(){if(Hi)return H0;Hi=1;var t=Da(),e=_a(),r=kc();return H0=t?function(i){return t(i)}:e?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return e(i)}:r?function(i){return r(i)}:null,H0}var $0,$i;function Mc(){if($i)return $0;$i=1;var t=Function.prototype.call,e=Object.prototype.hasOwnProperty,r=Jr();return $0=r.call(t,e),$0}var he,Lc=ba,Uc=ic,Nc=oc,Hc=ac,$c=sc,Vt=fc,Wt=Xt,qc=cc,zc=uc,Wc=lc,Gc=hc,Kc=xc,Vc=dc,jc=pc,Xc=mc,Ia=Function,q0=function(t){try{return Ia('"use strict"; return ('+t+").constructor;")()}catch(e){}},sr=Fa,Yc=Ac,z0=function(){throw new Wt},Zc=sr?function(){try{return arguments.callee,z0}catch(t){try{return sr(arguments,"callee").get}catch(e){return z0}}}():z0,Ht=Bc()(),Ue=Pc(),Qc=_a(),Jc=Da(),Ra=Sa(),lr=Jn(),zt={},eu=typeof Uint8Array=="undefined"||!Ue?he:Ue(Uint8Array),It={__proto__:null,"%AggregateError%":typeof AggregateError=="undefined"?he:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?he:ArrayBuffer,"%ArrayIteratorPrototype%":Ht&&Ue?Ue([][Symbol.iterator]()):he,"%AsyncFromSyncIteratorPrototype%":he,"%AsyncFunction%":zt,"%AsyncGenerator%":zt,"%AsyncGeneratorFunction%":zt,"%AsyncIteratorPrototype%":zt,"%Atomics%":typeof Atomics=="undefined"?he:Atomics,"%BigInt%":typeof BigInt=="undefined"?he:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?he:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?he:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?he:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Uc,"%eval%":eval,"%EvalError%":Nc,"%Float16Array%":typeof Float16Array=="undefined"?he:Float16Array,"%Float32Array%":typeof Float32Array=="undefined"?he:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?he:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?he:FinalizationRegistry,"%Function%":Ia,"%GeneratorFunction%":zt,"%Int8Array%":typeof Int8Array=="undefined"?he:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?he:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?he:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ht&&Ue?Ue(Ue([][Symbol.iterator]())):he,"%JSON%":typeof JSON=="object"?JSON:he,"%Map%":typeof Map=="undefined"?he:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!Ht||!Ue?he:Ue(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Lc,"%Object.getOwnPropertyDescriptor%":sr,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?he:Promise,"%Proxy%":typeof Proxy=="undefined"?he:Proxy,"%RangeError%":Hc,"%ReferenceError%":$c,"%Reflect%":typeof Reflect=="undefined"?he:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?he:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!Ht||!Ue?he:Ue(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?he:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ht&&Ue?Ue(""[Symbol.iterator]()):he,"%Symbol%":Ht?Symbol:he,"%SyntaxError%":Vt,"%ThrowTypeError%":Zc,"%TypedArray%":eu,"%TypeError%":Wt,"%Uint8Array%":typeof Uint8Array=="undefined"?he:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?he:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?he:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?he:Uint32Array,"%URIError%":qc,"%WeakMap%":typeof WeakMap=="undefined"?he:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?he:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?he:WeakSet,"%Function.prototype.call%":lr,"%Function.prototype.apply%":Ra,"%Object.defineProperty%":Yc,"%Object.getPrototypeOf%":Qc,"%Math.abs%":zc,"%Math.floor%":Wc,"%Math.max%":Gc,"%Math.min%":Kc,"%Math.pow%":Vc,"%Math.round%":jc,"%Math.sign%":Xc,"%Reflect.getPrototypeOf%":Jc};if(Ue)try{null.error}catch(t){var tu=Ue(Ue(t));It["%Error.prototype%"]=tu}var ru=function t(e){var r;if(e==="%AsyncFunction%")r=q0("async function () {}");else if(e==="%GeneratorFunction%")r=q0("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=q0("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&Ue&&(r=Ue(i.prototype))}return It[e]=r,r},qi={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},hr=Jr(),Vr=Mc(),nu=hr.call(lr,Array.prototype.concat),iu=hr.call(Ra,Array.prototype.splice),zi=hr.call(lr,String.prototype.replace),jr=hr.call(lr,String.prototype.slice),ou=hr.call(lr,RegExp.prototype.exec),au=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,su=/\\(\\)?/g,fu=function(e){var r=jr(e,0,1),n=jr(e,-1);if(r==="%"&&n!=="%")throw new Vt("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Vt("invalid intrinsic syntax, expected opening `%`");var i=[];return zi(e,au,function(o,a,s,x){i[i.length]=s?zi(x,su,"$1"):a||o}),i},cu=function(e,r){var n=e,i;if(Vr(qi,n)&&(i=qi[n],n="%"+i[0]+"%"),Vr(It,n)){var o=It[n];if(o===zt&&(o=ru(n)),typeof o=="undefined"&&!r)throw new Wt("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:o}}throw new Vt("intrinsic "+e+" does not exist!")},ei=function(e,r){if(typeof e!="string"||e.length===0)throw new Wt("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Wt('"allowMissing" argument must be a boolean');if(ou(/^%?[^%]*%?$/,e)===null)throw new Vt("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=fu(e),i=n.length>0?n[0]:"",o=cu("%"+i+"%",r),a=o.name,s=o.value,x=!1,f=o.alias;f&&(i=f[0],iu(n,nu([0,1],f)));for(var l=1,v=!0;l<n.length;l+=1){var d=n[l],g=jr(d,0,1),y=jr(d,-1);if((g==='"'||g==="'"||g==="`"||y==='"'||y==="'"||y==="`")&&g!==y)throw new Vt("property names with quotes must have matching quotes");if((d==="constructor"||!v)&&(x=!0),i+="."+d,a="%"+i+"%",Vr(It,a))s=It[a];else if(s!=null){if(!(d in s)){if(!r)throw new Wt("base intrinsic for "+e+" exists, but the property is not available.");return}if(sr&&l+1>=n.length){var m=sr(s,d);v=!!m,v&&"get"in m&&!("originalValue"in m.get)?s=m.get:s=s[d]}else v=Vr(s,d),s=s[d];v&&!x&&(It[a]=s)}}return s},Oa=ei,ka=Ta,uu=ka([Oa("%String.prototype.indexOf%")]),Pa=function(e,r){var n=Oa(e,!!r);return typeof n=="function"&&uu(e,".prototype.")>-1?ka([n]):n},lu=ei,xr=Pa,hu=Zr,xu=Xt,Wi=lu("%Map%",!0),du=xr("Map.prototype.get",!0),pu=xr("Map.prototype.set",!0),vu=xr("Map.prototype.has",!0),yu=xr("Map.prototype.delete",!0),mu=xr("Map.prototype.size",!0),Ma=!!Wi&&function(){var e,r={assert:function(n){if(!r.has(n))throw new xu("Side channel does not contain "+hu(n))},delete:function(n){if(e){var i=yu(e,n);return mu(e)===0&&(e=void 0),i}return!1},get:function(n){if(e)return du(e,n)},has:function(n){return e?vu(e,n):!1},set:function(n,i){e||(e=new Wi),pu(e,n,i)}};return r},gu=ei,e0=Pa,Au=Zr,Tr=Ma,Eu=Xt,__$t__=gu("%WeakMap%",!0),Bu=e0("WeakMap.prototype.get",!0),wu=e0("WeakMap.prototype.set",!0),Cu=e0("WeakMap.prototype.has",!0),bu=e0("WeakMap.prototype.delete",!0),Fu=__$t__?function(){var e,r,n={assert:function(i){if(!n.has(i))throw new Eu("Side channel does not contain "+Au(i))},delete:function(i){if(__$t__&&i&&(typeof i=="object"||typeof i=="function")){if(e)return bu(e,i)}else if(Tr&&r)return r.delete(i);return!1},get:function(i){return __$t__&&i&&(typeof i=="object"||typeof i=="function")&&e?Bu(e,i):r&&r.get(i)},has:function(i){return __$t__&&i&&(typeof i=="object"||typeof i=="function")&&e?Cu(e,i):!!r&&r.has(i)},set:function(i,o){__$t__&&i&&(typeof i=="object"||typeof i=="function")?(e||(e=new __$t__),wu(e,i,o)):Tr&&(r||(r=Tr()),r.set(i,o))}};return n}:Tr,Du=Xt,_u=Zr,Su=nc,Tu=Ma,Iu=Fu,Ru=Iu||Tu||Su,Ou=function(){var e,r={assert:function(n){if(!r.has(n))throw new Du("Side channel does not contain "+_u(n))},delete:function(n){return!!e&&e.delete(n)},get:function(n){return e&&e.get(n)},has:function(n){return!!e&&e.has(n)},set:function(n,i){e||(e=Ru()),e.set(n,i)}};return r},ku=String.prototype.replace,Pu=/%20/g,W0={RFC1738:"RFC1738",RFC3986:"RFC3986"},ti={default:W0.RFC3986,formatters:{RFC1738:function(t){return ku.call(t,Pu,"+")},RFC3986:function(t){return String(t)}},RFC1738:W0.RFC1738,RFC3986:W0.RFC3986},Mu=ti,G0=Object.prototype.hasOwnProperty,St=Array.isArray,at=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),Lu=function(e){for(;e.length>1;){var r=e.pop(),n=r.obj[r.prop];if(St(n)){for(var i=[],o=0;o<n.length;++o)typeof n[o]!="undefined"&&i.push(n[o]);r.obj[r.prop]=i}}},La=function(e,r){for(var n=r&&r.plainObjects?{__proto__:null}:{},i=0;i<e.length;++i)typeof e[i]!="undefined"&&(n[i]=e[i]);return n},Uu=function t(e,r,n){if(!r)return e;if(typeof r!="object"&&typeof r!="function"){if(St(e))e.push(r);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!G0.call(Object.prototype,r))&&(e[r]=!0);else return[e,r];return e}if(!e||typeof e!="object")return[e].concat(r);var i=e;return St(e)&&!St(r)&&(i=La(e,n)),St(e)&&St(r)?(r.forEach(function(o,a){if(G0.call(e,a)){var s=e[a];s&&typeof s=="object"&&o&&typeof o=="object"?e[a]=t(s,o,n):e.push(o)}else e[a]=o}),e):Object.keys(r).reduce(function(o,a){var s=r[a];return G0.call(o,a)?o[a]=t(o[a],s,n):o[a]=s,o},i)},Nu=function(e,r){return Object.keys(r).reduce(function(n,i){return n[i]=r[i],n},e)},Hu=function(t,e,r){var n=t.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(i){return n}},K0=1024,$u=function(e,r,n,i,o){if(e.length===0)return e;var a=e;if(typeof e=="symbol"?a=Symbol.prototype.toString.call(e):typeof e!="string"&&(a=String(e)),n==="iso-8859-1")return escape(a).replace(/%u[0-9a-f]{4}/gi,function(g){return"%26%23"+parseInt(g.slice(2),16)+"%3B"});for(var s="",x=0;x<a.length;x+=K0){for(var f=a.length>=K0?a.slice(x,x+K0):a,l=[],v=0;v<f.length;++v){var d=f.charCodeAt(v);if(d===45||d===46||d===95||d===126||d>=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||o===Mu.RFC1738&&(d===40||d===41)){l[l.length]=f.charAt(v);continue}if(d<128){l[l.length]=at[d];continue}if(d<2048){l[l.length]=at[192|d>>6]+at[128|d&63];continue}if(d<55296||d>=57344){l[l.length]=at[224|d>>12]+at[128|d>>6&63]+at[128|d&63];continue}v+=1,d=65536+((d&1023)<<10|f.charCodeAt(v)&1023),l[l.length]=at[240|d>>18]+at[128|d>>12&63]+at[128|d>>6&63]+at[128|d&63]}s+=l.join("")}return s},qu=function(e){for(var r=[{obj:{o:e},prop:"o"}],n=[],i=0;i<r.length;++i)for(var o=r[i],a=o.obj[o.prop],s=Object.keys(a),x=0;x<s.length;++x){var f=s[x],l=a[f];typeof l=="object"&&l!==null&&n.indexOf(l)===-1&&(r.push({obj:a,prop:f}),n.push(l))}return Lu(r),e},zu=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},Wu=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},Gu=function(e,r){return[].concat(e,r)},Ku=function(e,r){if(St(e)){for(var n=[],i=0;i<e.length;i+=1)n.push(r(e[i]));return n}return r(e)},Ua={arrayToObject:La,assign:Nu,combine:Gu,compact:qu,decode:Hu,encode:$u,isBuffer:Wu,isRegExp:zu,maybeMap:Ku,merge:Uu},Na=Ou,$r=Ua,ar=ti,Vu=Object.prototype.hasOwnProperty,Ha={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,r){return e+"["+r+"]"},repeat:function(e){return e}},ut=Array.isArray,ju=Array.prototype.push,$a=function(t,e){ju.apply(t,ut(e)?e:[e])},Xu=Date.prototype.toISOString,Gi=ar.default,Re={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:$r.encode,encodeValuesOnly:!1,filter:void 0,format:Gi,formatter:ar.formatters[Gi],indices:!1,serializeDate:function(e){return Xu.call(e)},skipNulls:!1,strictNullHandling:!1},Yu=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},V0={},Zu=function t(e,r,n,i,o,a,s,x,f,l,v,d,g,y,m,A,D,C){for(var B=e,b=C,_=0,T=!1;(b=b.get(V0))!==void 0&&!T;){var k=b.get(e);if(_+=1,typeof k!="undefined"){if(k===_)throw new RangeError("Cyclic object value");T=!0}typeof b.get(V0)=="undefined"&&(_=0)}if(typeof l=="function"?B=l(r,B):B instanceof Date?B=g(B):n==="comma"&&ut(B)&&(B=$r.maybeMap(B,function(J){return J instanceof Date?g(J):J})),B===null){if(a)return f&&!A?f(r,Re.encoder,D,"key",y):r;B=""}if(Yu(B)||$r.isBuffer(B)){if(f){var $=A?r:f(r,Re.encoder,D,"key",y);return[m($)+"="+m(f(B,Re.encoder,D,"value",y))]}return[m(r)+"="+m(String(B))]}var X=[];if(typeof B=="undefined")return X;var I;if(n==="comma"&&ut(B))A&&f&&(B=$r.maybeMap(B,f)),I=[{value:B.length>0?B.join(",")||null:void 0}];else if(ut(l))I=l;else{var P=Object.keys(B);I=v?P.sort(v):P}var G=x?String(r).replace(/\./g,"%2E"):String(r),S=i&&ut(B)&&B.length===1?G+"[]":G;if(o&&ut(B)&&B.length===0)return S+"[]";for(var N=0;N<I.length;++N){var M=I[N],H=typeof M=="object"&&M&&typeof M.value!="undefined"?M.value:B[M];if(!(s&&H===null)){var Y=d&&x?String(M).replace(/\./g,"%2E"):String(M),W=ut(B)?typeof n=="function"?n(S,Y):S:S+(d?"."+Y:"["+Y+"]");C.set(e,_);var ee=Na();ee.set(V0,C),$a(X,t(H,W,n,i,o,a,s,x,n==="comma"&&A&&ut(B)?null:f,l,v,d,g,y,m,A,D,ee))}}return X},Qu=function(e){if(!e)return Re;if(typeof e.allowEmptyArrays!="undefined"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys!="undefined"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder!="undefined"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=e.charset||Re.charset;if(typeof e.charset!="undefined"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=ar.default;if(typeof e.format!="undefined"){if(!Vu.call(ar.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var i=ar.formatters[n],o=Re.filter;(typeof e.filter=="function"||ut(e.filter))&&(o=e.filter);var a;if(e.arrayFormat in Ha?a=e.arrayFormat:"indices"in e?a=e.indices?"indices":"repeat":a=Re.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var s=typeof e.allowDots=="undefined"?e.encodeDotInKeys===!0?!0:Re.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:Re.addQueryPrefix,allowDots:s,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:Re.allowEmptyArrays,arrayFormat:a,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:Re.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter=="undefined"?Re.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:Re.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:Re.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:Re.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:Re.encodeValuesOnly,filter:o,format:n,formatter:i,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:Re.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:Re.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:Re.strictNullHandling}},Ju=function(t,e){var r=t,n=Qu(e),i,o;typeof n.filter=="function"?(o=n.filter,r=o("",r)):ut(n.filter)&&(o=n.filter,i=o);var a=[];if(typeof r!="object"||r===null)return"";var s=Ha[n.arrayFormat],x=s==="comma"&&n.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var f=Na(),l=0;l<i.length;++l){var v=i[l],d=r[v];n.skipNulls&&d===null||$a(a,Zu(d,v,s,x,n.allowEmptyArrays,n.strictNullHandling,n.skipNulls,n.encodeDotInKeys,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,f))}var g=a.join(n.delimiter),y=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),g.length>0?y+g:""},Ot=Ua,Nn=Object.prototype.hasOwnProperty,Ki=Array.isArray,Fe={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Ot.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},el=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},qa=function(t,e,r){if(t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1)return t.split(",");if(e.throwOnLimitExceeded&&r>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(e.arrayLimit===1?"":"s")+" allowed in an array.");return t},tl="utf8=%26%2310003%3B",rl="utf8=%E2%9C%93",nl=function(e,r){var n={__proto__:null},i=r.ignoreQueryPrefix?e.replace(/^\?/,""):e;i=i.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var o=r.parameterLimit===1/0?void 0:r.parameterLimit,a=i.split(r.delimiter,r.throwOnLimitExceeded?o+1:o);if(r.throwOnLimitExceeded&&a.length>o)throw new RangeError("Parameter limit exceeded. Only "+o+" parameter"+(o===1?"":"s")+" allowed.");var s=-1,x,f=r.charset;if(r.charsetSentinel)for(x=0;x<a.length;++x)a[x].indexOf("utf8=")===0&&(a[x]===rl?f="utf-8":a[x]===tl&&(f="iso-8859-1"),s=x,x=a.length);for(x=0;x<a.length;++x)if(x!==s){var l=a[x],v=l.indexOf("]="),d=v===-1?l.indexOf("="):v+1,g,y;d===-1?(g=r.decoder(l,Fe.decoder,f,"key"),y=r.strictNullHandling?null:""):(g=r.decoder(l.slice(0,d),Fe.decoder,f,"key"),y=Ot.maybeMap(qa(l.slice(d+1),r,Ki(n[g])?n[g].length:0),function(A){return r.decoder(A,Fe.decoder,f,"value")})),y&&r.interpretNumericEntities&&f==="iso-8859-1"&&(y=el(String(y))),l.indexOf("[]=")>-1&&(y=Ki(y)?[y]:y);var m=Nn.call(n,g);m&&r.duplicates==="combine"?n[g]=Ot.combine(n[g],y):(!m||r.duplicates==="last")&&(n[g]=y)}return n},il=function(t,e,r,n){var i=0;if(t.length>0&&t[t.length-1]==="[]"){var o=t.slice(0,-1).join("");i=Array.isArray(e)&&e[o]?e[o].length:0}for(var a=n?e:qa(e,r,i),s=t.length-1;s>=0;--s){var x,f=t[s];if(f==="[]"&&r.parseArrays)x=r.allowEmptyArrays&&(a===""||r.strictNullHandling&&a===null)?[]:Ot.combine([],a);else{x=r.plainObjects?{__proto__:null}:{};var l=f.charAt(0)==="["&&f.charAt(f.length-1)==="]"?f.slice(1,-1):f,v=r.decodeDotInKeys?l.replace(/%2E/g,"."):l,d=parseInt(v,10);!r.parseArrays&&v===""?x={0:a}:!isNaN(d)&&f!==v&&String(d)===v&&d>=0&&r.parseArrays&&d<=r.arrayLimit?(x=[],x[d]=a):v!=="__proto__"&&(x[v]=a)}a=x}return a},ol=function(e,r,n,i){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,x=n.depth>0&&a.exec(o),f=x?o.slice(0,x.index):o,l=[];if(f){if(!n.plainObjects&&Nn.call(Object.prototype,f)&&!n.allowPrototypes)return;l.push(f)}for(var v=0;n.depth>0&&(x=s.exec(o))!==null&&v<n.depth;){if(v+=1,!n.plainObjects&&Nn.call(Object.prototype,x[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(x[1])}if(x){if(n.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");l.push("["+o.slice(x.index)+"]")}return il(l,r,n,i)}},al=function(e){if(!e)return Fe;if(typeof e.allowEmptyArrays!="undefined"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.decodeDotInKeys!="undefined"&&typeof e.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&typeof e.decoder!="undefined"&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset!="undefined"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof e.throwOnLimitExceeded!="undefined"&&typeof e.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var r=typeof e.charset=="undefined"?Fe.charset:e.charset,n=typeof e.duplicates=="undefined"?Fe.duplicates:e.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var i=typeof e.allowDots=="undefined"?e.decodeDotInKeys===!0?!0:Fe.allowDots:!!e.allowDots;return{allowDots:i,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:Fe.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:Fe.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:Fe.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:Fe.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:Fe.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:Fe.comma,decodeDotInKeys:typeof e.decodeDotInKeys=="boolean"?e.decodeDotInKeys:Fe.decodeDotInKeys,decoder:typeof e.decoder=="function"?e.decoder:Fe.decoder,delimiter:typeof e.delimiter=="string"||Ot.isRegExp(e.delimiter)?e.delimiter:Fe.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:Fe.depth,duplicates:n,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:Fe.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:Fe.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:Fe.plainObjects,strictDepth:typeof e.strictDepth=="boolean"?!!e.strictDepth:Fe.strictDepth,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:Fe.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded=="boolean"?e.throwOnLimitExceeded:!1}},sl=function(t,e){var r=al(e);if(t===""||t===null||typeof t=="undefined")return r.plainObjects?{__proto__:null}:{};for(var n=typeof t=="string"?nl(t,r):t,i=r.plainObjects?{__proto__:null}:{},o=Object.keys(n),a=0;a<o.length;++a){var s=o[a],x=ol(s,n[s],r,typeof t=="string");i=Ot.merge(i,x,r)}return r.allowSparse===!0?i:Ot.compact(i)},fl=Ju,cl=sl,ul=ti,ll={formats:ul,parse:cl,stringify:fl};const hl=Xn(ll);function za(t,e){return function(){return t.apply(e,arguments)}}const{toString:xl}=Object.prototype,{getPrototypeOf:ri}=Object,{iterator:t0,toStringTag:Wa}=Symbol,r0=(t=>e=>{const r=xl.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),it=t=>(t=t.toLowerCase(),e=>r0(e)===t),n0=t=>e=>typeof e===t,{isArray:Yt}=Array,fr=n0("undefined");function dr(t){return t!==null&&!fr(t)&&t.constructor!==null&&!fr(t.constructor)&&Ve(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Ga=it("ArrayBuffer");function dl(t){let e;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Ga(t.buffer),e}const pl=n0("string"),Ve=n0("function"),Ka=n0("number"),pr=t=>t!==null&&typeof t=="object",vl=t=>t===!0||t===!1,qr=t=>{if(r0(t)!=="object")return!1;const e=ri(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Wa in t)&&!(t0 in t)},yl=t=>{if(!pr(t)||dr(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch(e){return!1}},ml=it("Date"),gl=it("File"),Al=it("Blob"),El=it("FileList"),Bl=t=>pr(t)&&Ve(t.pipe),wl=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Ve(t.append)&&((e=r0(t))==="formdata"||e==="object"&&Ve(t.toString)&&t.toString()==="[object FormData]"))},Cl=it("URLSearchParams"),[bl,Fl,Dl,_l]=["ReadableStream","Request","Response","Headers"].map(it),Sl=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function vr(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t=="undefined")return;let n,i;if(typeof t!="object"&&(t=[t]),Yt(t))for(n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else{if(dr(t))return;const o=r?Object.getOwnPropertyNames(t):Object.keys(t),a=o.length;let s;for(n=0;n<a;n++)s=o[n],e.call(null,t[s],s,t)}}function Va(t,e){if(dr(t))return null;e=e.toLowerCase();const r=Object.keys(t);let n=r.length,i;for(;n-- >0;)if(i=r[n],e===i.toLowerCase())return i;return null}const Tt=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,ja=t=>!fr(t)&&t!==Tt;function Hn(){const{caseless:t}=ja(this)&&this||{},e={},r=(n,i)=>{const o=t&&Va(e,i)||i;qr(e[o])&&qr(n)?e[o]=Hn(e[o],n):qr(n)?e[o]=Hn({},n):Yt(n)?e[o]=n.slice():e[o]=n};for(let n=0,i=arguments.length;n<i;n++)arguments[n]&&vr(arguments[n],r);return e}const Tl=(t,e,r,{allOwnKeys:n}={})=>(vr(e,(i,o)=>{r&&Ve(i)?t[o]=za(i,r):t[o]=i},{allOwnKeys:n}),t),Il=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Rl=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},Ol=(t,e,r,n)=>{let i,o,a;const s={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),o=i.length;o-- >0;)a=i[o],(!n||n(a,t,e))&&!s[a]&&(e[a]=t[a],s[a]=!0);t=r!==!1&&ri(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kl=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return n!==-1&&n===r},Pl=t=>{if(!t)return null;if(Yt(t))return t;let e=t.length;if(!Ka(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},Ml=(t=>e=>t&&e instanceof t)(typeof Uint8Array!="undefined"&&ri(Uint8Array)),Ll=(t,e)=>{const n=(t&&t[t0]).call(t);let i;for(;(i=n.next())&&!i.done;){const o=i.value;e.call(t,o[0],o[1])}},Ul=(t,e)=>{let r;const n=[];for(;(r=t.exec(e))!==null;)n.push(r);return n},Nl=it("HTMLFormElement"),Hl=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),Vi=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),$l=it("RegExp"),Xa=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};vr(r,(i,o)=>{let a;(a=e(i,o,t))!==!1&&(n[o]=a||i)}),Object.defineProperties(t,n)},ql=t=>{Xa(t,(e,r)=>{if(Ve(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=t[r];if(Ve(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},zl=(t,e)=>{const r={},n=i=>{i.forEach(o=>{r[o]=!0})};return Yt(t)?n(t):n(String(t).split(e)),r},Wl=()=>{},Gl=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function Kl(t){return!!(t&&Ve(t.append)&&t[Wa]==="FormData"&&t[t0])}const Vl=t=>{const e=new Array(10),r=(n,i)=>{if(pr(n)){if(e.indexOf(n)>=0)return;if(dr(n))return n;if(!("toJSON"in n)){e[i]=n;const o=Yt(n)?[]:{};return vr(n,(a,s)=>{const x=r(a,i+1);!fr(x)&&(o[s]=x)}),e[i]=void 0,o}}return n};return r(t,0)},jl=it("AsyncFunction"),Xl=t=>t&&(pr(t)||Ve(t))&&Ve(t.then)&&Ve(t.catch),Ya=((t,e)=>t?setImmediate:e?((r,n)=>(Tt.addEventListener("message",({source:i,data:o})=>{i===Tt&&o===r&&n.length&&n.shift()()},!1),i=>{n.push(i),Tt.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Ve(Tt.postMessage)),Yl=typeof queueMicrotask!="undefined"?queueMicrotask.bind(Tt):typeof process!="undefined"&&process.nextTick||Ya,Zl=t=>t!=null&&Ve(t[t0]),q={isArray:Yt,isArrayBuffer:Ga,isBuffer:dr,isFormData:wl,isArrayBufferView:dl,isString:pl,isNumber:Ka,isBoolean:vl,isObject:pr,isPlainObject:qr,isEmptyObject:yl,isReadableStream:bl,isRequest:Fl,isResponse:Dl,isHeaders:_l,isUndefined:fr,isDate:ml,isFile:gl,isBlob:Al,isRegExp:$l,isFunction:Ve,isStream:Bl,isURLSearchParams:Cl,isTypedArray:Ml,isFileList:El,forEach:vr,merge:Hn,extend:Tl,trim:Sl,stripBOM:Il,inherits:Rl,toFlatObject:Ol,kindOf:r0,kindOfTest:it,endsWith:kl,toArray:Pl,forEachEntry:Ll,matchAll:Ul,isHTMLForm:Nl,hasOwnProperty:Vi,hasOwnProp:Vi,reduceDescriptors:Xa,freezeMethods:ql,toObjectSet:zl,toCamelCase:Hl,noop:Wl,toFiniteNumber:Gl,findKey:Va,global:Tt,isContextDefined:ja,isSpecCompliantForm:Kl,toJSONObject:Vl,isAsyncFn:jl,isThenable:Xl,setImmediate:Ya,asap:Yl,isIterable:Zl};function ue(t,e,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status?i.status:null)}q.inherits(ue,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.status}}});const Za=ue.prototype,Qa={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Qa[t]={value:t}});Object.defineProperties(ue,Qa);Object.defineProperty(Za,"isAxiosError",{value:!0});ue.from=(t,e,r,n,i,o)=>{const a=Object.create(Za);return q.toFlatObject(t,a,function(x){return x!==Error.prototype},s=>s!=="isAxiosError"),ue.call(a,t.message,e,r,n,i),a.cause=t,a.name=t.name,o&&Object.assign(a,o),a};const Ql=null;function $n(t){return q.isPlainObject(t)||q.isArray(t)}function Ja(t){return q.endsWith(t,"[]")?t.slice(0,-2):t}function ji(t,e,r){return t?t.concat(e).map(function(i,o){return i=Ja(i),!r&&o?"["+i+"]":i}).join(r?".":""):e}function Jl(t){return q.isArray(t)&&!t.some($n)}const e1=q.toFlatObject(q,{},null,function(e){return/^is[A-Z]/.test(e)});function i0(t,e,r){if(!q.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=q.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,A){return!q.isUndefined(A[m])});const n=r.metaTokens,i=r.visitor||l,o=r.dots,a=r.indexes,x=(r.Blob||typeof Blob!="undefined"&&Blob)&&q.isSpecCompliantForm(e);if(!q.isFunction(i))throw new TypeError("visitor must be a function");function f(y){if(y===null)return"";if(q.isDate(y))return y.toISOString();if(q.isBoolean(y))return y.toString();if(!x&&q.isBlob(y))throw new ue("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(y)||q.isTypedArray(y)?x&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function l(y,m,A){let D=y;if(y&&!A&&typeof y=="object"){if(q.endsWith(m,"{}"))m=n?m:m.slice(0,-2),y=JSON.stringify(y);else if(q.isArray(y)&&Jl(y)||(q.isFileList(y)||q.endsWith(m,"[]"))&&(D=q.toArray(y)))return m=Ja(m),D.forEach(function(B,b){!(q.isUndefined(B)||B===null)&&e.append(a===!0?ji([m],b,o):a===null?m:m+"[]",f(B))}),!1}return $n(y)?!0:(e.append(ji(A,m,o),f(y)),!1)}const v=[],d=Object.assign(e1,{defaultVisitor:l,convertValue:f,isVisitable:$n});function g(y,m){if(!q.isUndefined(y)){if(v.indexOf(y)!==-1)throw Error("Circular reference detected in "+m.join("."));v.push(y),q.forEach(y,function(D,C){(!(q.isUndefined(D)||D===null)&&i.call(e,D,q.isString(C)?C.trim():C,m,d))===!0&&g(D,m?m.concat(C):[C])}),v.pop()}}if(!q.isObject(t))throw new TypeError("data must be an object");return g(t),e}function Xi(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function ni(t,e){this._pairs=[],t&&i0(t,this,e)}const es=ni.prototype;es.append=function(e,r){this._pairs.push([e,r])};es.toString=function(e){const r=e?function(n){return e.call(this,n,Xi)}:Xi;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function t1(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ts(t,e,r){if(!e)return t;const n=r&&r.encode||t1;q.isFunction(r)&&(r={serialize:r});const i=r&&r.serialize;let o;if(i?o=i(e,r):o=q.isURLSearchParams(e)?e.toString():new ni(e,r).toString(n),o){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class Yi{constructor(){this.handlers=[]}use(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){q.forEach(this.handlers,function(n){n!==null&&e(n)})}}const rs={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},r1=typeof URLSearchParams!="undefined"?URLSearchParams:ni,n1=typeof FormData!="undefined"?FormData:null,i1=typeof Blob!="undefined"?Blob:null,o1={isBrowser:!0,classes:{URLSearchParams:r1,FormData:n1,Blob:i1},protocols:["http","https","file","blob","url","data"]},ii=typeof window!="undefined"&&typeof document!="undefined",qn=typeof navigator=="object"&&navigator||void 0,a1=ii&&(!qn||["ReactNative","NativeScript","NS"].indexOf(qn.product)<0),s1=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",f1=ii&&window.location.href||"http://localhost",c1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ii,hasStandardBrowserEnv:a1,hasStandardBrowserWebWorkerEnv:s1,navigator:qn,origin:f1},Symbol.toStringTag,{value:"Module"})),$e=te(te({},c1),o1);function u1(t,e){return i0(t,new $e.classes.URLSearchParams,te({visitor:function(r,n,i,o){return $e.isNode&&q.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},e))}function l1(t){return q.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function h1(t){const e={},r=Object.keys(t);let n;const i=r.length;let o;for(n=0;n<i;n++)o=r[n],e[o]=t[o];return e}function ns(t){function e(r,n,i,o){let a=r[o++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),x=o>=r.length;return a=!a&&q.isArray(i)?i.length:a,x?(q.hasOwnProp(i,a)?i[a]=[i[a],n]:i[a]=n,!s):((!i[a]||!q.isObject(i[a]))&&(i[a]=[]),e(r,n,i[a],o)&&q.isArray(i[a])&&(i[a]=h1(i[a])),!s)}if(q.isFormData(t)&&q.isFunction(t.entries)){const r={};return q.forEachEntry(t,(n,i)=>{e(l1(n),i,r,0)}),r}return null}function x1(t,e,r){if(q.isString(t))try{return(e||JSON.parse)(t),q.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}const yr={transitional:rs,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,o=q.isObject(e);if(o&&q.isHTMLForm(e)&&(e=new FormData(e)),q.isFormData(e))return i?JSON.stringify(ns(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e)||q.isReadableStream(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return u1(e,this.formSerializer).toString();if((s=q.isFileList(e))||n.indexOf("multipart/form-data")>-1){const x=this.env&&this.env.FormData;return i0(s?{"files[]":e}:e,x&&new x,this.formSerializer)}}return o||i?(r.setContentType("application/json",!1),x1(e)):e}],transformResponse:[function(e){const r=this.transitional||yr.transitional,n=r&&r.forcedJSONParsing,i=this.responseType==="json";if(q.isResponse(e)||q.isReadableStream(e))return e;if(e&&q.isString(e)&&(n&&!this.responseType||i)){const a=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(s){if(a)throw s.name==="SyntaxError"?ue.from(s,ue.ERR_BAD_RESPONSE,this,null,this.response):s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$e.classes.FormData,Blob:$e.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch"],t=>{yr.headers[t]={}});const d1=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),p1=t=>{const e={};let r,n,i;return t&&t.split(`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var xf = Object.defineProperty, pf = Object.defineProperties;
|
|
1
|
+
import './graph.css';var xf = Object.defineProperty, pf = Object.defineProperties;
|
|
2
2
|
var df = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var gi = Object.getOwnPropertySymbols;
|
|
4
4
|
var vf = Object.prototype.hasOwnProperty, yf = Object.prototype.propertyIsEnumerable;
|